PageSourceSearch

https://www.daily.place/_next/static/chunks/690.5966d062a0872b93.js

js daily.place collected 2026-10-04 22:01:43 UTC 4,325 bytes, 7 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[690,522],{6522:function(e,t,r){r.r(t),r.d(t,{createOrReadKeyless:function(){return createOrReadKeyless},removeKeyless:function(){return removeKeyless},safeParseClerkFile:function(){return safeParseClerkFile}});var n=r(897),o=r(7307),s=r(4970),l=r(3454);async function collectKeylessMetadata(){var e,t,r,n,o,a;let u=await (0,s.headers)();return{nodeVersion:l.version,nextVersion:function(){var e;try{return null!=(e=l.title)?e:"unknown-process-title"}catch{return}}(),npmConfigUserAgent:l.env.npm_config_user_agent,userAgent:null!=(e=u.get("User-Agent"))?e:"unknown user-agent",port:l.env.PORT,host:null!=(t=u.get("host"))?t:"unknown host",xPort:null!=(r=u.get("x-forwarded-port"))?r:"unknown x-forwarded-port",xHost:null!=(n=u.get("x-forwarded-host"))?n:"unknown x-forwarded-host",xProtocol:null!=(o=u.get("x-forwarded-proto"))?o:"unknown x-forwarded-proto",xClerkAuthStatus:null!=(a=u.get("x-clerk-auth-status"))?a:"unknown x-clerk-auth-status",isCI:function(){let e=new Set(["","false","0","no"]);return i.some(t=>{let r=l.env[t];if(void 0===r)return!1;let n=r.trim().toLowerCase();return!e.has(n)})}()}}let i=["CI","CONTINUOUS_INTEGRATION","BUILD_NUMBER","BUILD_ID","BUILDKITE","CIRCLECI","GITHUB_ACTIONS","GITLAB_CI","JENKINS_URL","TRAVIS","APPVEYOR","WERCKER","DRONE","CODESHIP","SEMAPHORE","SHIPPABLE","TEAMCITY_VERSION","BAMBOO_BUILDKEY","GO_PIPELINE_NAME","TF_BUILD","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","BITBUCKET_BUILD_NUMBER","HEROKU_TEST_RUN_ID","VERCEL","NETLIFY"];function formatMetadataHeaders(e){let t=new Headers;return e.nodeVersion&&t.set("Clerk-Node-Version",e.nodeVersion),e.nextVersion&&t.set("Clerk-Next-Version",e.nextVersion),e.npmConfigUserAgent&&t.set("Clerk-NPM-Config-User-Agent",e.npmConfigUserAgent),e.userAgent&&t.set("Clerk-Client-User-Agent",e.userAgent),e.port&&t.set("Clerk-Node-Port",e.port),e.host&&t.set("Clerk-Client-Host",e.host),e.xPort&&t.set("Clerk-X-Port",e.xPort),e.xHost&&t.set("Clerk-X-Host",e.xHost),e.xProtocol&&t.set("Clerk-X-Protocol",e.xProtocol),e.xClerkAuthStatus&&t.set("Clerk-Auth-Status",e.xClerkAuthStatus),e.isCI&&t.set("Clerk-Is-CI","true"),t}let a=".clerk",u="clerk.lock",generatePath=(...e)=>{let t=(0,o.t$)(),r=(0,o.t0)();return t.join(r(),a,...e)},c=".tmp",getKeylessConfigurationPath=()=>generatePath(c,"keyless.json"),getKeylessReadMePath=()=>generatePath(c,"README.md"),d=!1;function safeParseClerkFile(){let{readFileSync:e}=(0,o.ur)();try{let t;let r=getKeylessConfigurationPath();try{t=e(r,{encoding:"utf-8"})||"{}"}catch{t="{}"}return JSON.parse(t)}catch{return}}let lockFileWriting=()=>{let{writeFileSync:e}=(0,o.ur)();d=!0,e(u,"This file can be deleted. Please delete this file and refresh your application",{encoding:"utf8",mode:"0777",flag:"w"})},unlockFileWriting=()=>{let{rmSync:e}=(0,o.ur)();try{e(u,{force:!0,recursive:!0})}catch{}d=!1},isFileWritingLocked=()=>{let{existsSync:e}=(0,o.ur)();return d||e(u)};async function createOrReadKeyless(){let{writeFileSync:e,mkdirSync:t}=(0,o.ur)();if(isFileWritingLocked())return null;lockFileWriting();let r=getKeylessConfigurationPath(),s=getKeylessReadMePath();t(generatePath(c),{recursive:!0}),function(){let{existsSync:e,writeFileSync:t,readFileSync:r,appendFileSync:n}=(0,o.ur)(),s=(0,o.t$)(),l=(0,o.t0)(),i=s.join(l(),".gitignore");e(i)||t(i,"");let u=r(i,"utf-8");u.includes(a+"/")||n(i,`
2# clerk configuration (can include secrets)
3/${a}/
4`)}();let l=safeParseClerkFile();if((null==l?void 0:l.publishableKey)&&(null==l?void 0:l.secretKey))return unlockFileWriting(),l;let i=(0,n.f)({}),u=await collectKeylessMetadata().then(formatMetadataHeaders).catch(()=>new Headers),d=await i.__experimental_accountlessApplications.createAccountlessApplication({requestHeaders:u}).catch(()=>null);if(d){e(r,JSON.stringify(d),{encoding:"utf8",mode:"0777",flag:"w"});let t=`
5## DO NOT COMMIT
6This directory is auto-generated from \`@clerk/nextjs\` because you are running in Keyless mode. Avoid committing the \`.clerk/\` directory as it includes the secret key of the unclaimed instance.
7  `;e(s,t,{encoding:"utf8",mode:"0777",flag:"w"})}return unlockFileWriting(),d}function removeKeyless(){let{rmSync:e}=(0,o.ur)();if(!isFileWritingLocked()){lockFileWriting();try{e(generatePath(),{force:!0,recursive:!0})}catch{}unlockFileWriting()}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.