conductor-oss 0.20.0 → 0.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/node_modules/@conductor-oss/core/dist/config.d.ts.map +1 -1
  2. package/node_modules/@conductor-oss/core/dist/config.js +3 -1
  3. package/node_modules/@conductor-oss/core/dist/config.js.map +1 -1
  4. package/package.json +5 -5
  5. package/web/.next/standalone/packages/web/.next/BUILD_ID +1 -1
  6. package/web/.next/standalone/packages/web/.next/build-manifest.json +2 -2
  7. package/web/.next/standalone/packages/web/.next/prerender-manifest.json +3 -3
  8. package/web/.next/standalone/packages/web/.next/server/app/_global-error.html +2 -2
  9. package/web/.next/standalone/packages/web/.next/server/app/_global-error.rsc +1 -1
  10. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  11. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  12. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  13. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  14. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/web/.next/standalone/packages/web/.next/server/app/_not-found/page/server-reference-manifest.json +7 -7
  16. package/web/.next/standalone/packages/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  17. package/web/.next/standalone/packages/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/web/.next/standalone/packages/web/.next/server/app/_not-found.html +1 -1
  19. package/web/.next/standalone/packages/web/.next/server/app/_not-found.rsc +3 -3
  20. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
  21. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  22. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
  23. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  24. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  25. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  26. package/web/.next/standalone/packages/web/.next/server/app/page/server-reference-manifest.json +7 -7
  27. package/web/.next/standalone/packages/web/.next/server/app/page.js.nft.json +1 -1
  28. package/web/.next/standalone/packages/web/.next/server/app/page_client-reference-manifest.js +1 -1
  29. package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page/server-reference-manifest.json +7 -7
  30. package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page.js.nft.json +1 -1
  31. package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page_client-reference-manifest.js +1 -1
  32. package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page/server-reference-manifest.json +7 -7
  33. package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page.js.nft.json +1 -1
  34. package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page_client-reference-manifest.js +1 -1
  35. package/web/.next/standalone/packages/web/.next/server/app/unlock/page/server-reference-manifest.json +7 -7
  36. package/web/.next/standalone/packages/web/.next/server/app/unlock/page.js.nft.json +1 -1
  37. package/web/.next/standalone/packages/web/.next/server/app/unlock/page_client-reference-manifest.js +1 -1
  38. package/web/.next/standalone/packages/web/.next/server/chunks/_2c837d66._.js +24 -24
  39. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/{[root-of-the-server]__c79fcfd3._.js → [root-of-the-server]__25555995._.js} +1 -1
  40. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/{[root-of-the-server]__1329224f._.js → [root-of-the-server]__2f682641._.js} +2 -2
  41. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/[root-of-the-server]__53bcdbc9._.js +1 -1
  42. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/[root-of-the-server]__c405048c._.js +1 -1
  43. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/{[root-of-the-server]__1cb74434._.js → [root-of-the-server]__ed31820a._.js} +1 -1
  44. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_0e1412de._.js +1 -1
  45. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_230c0c14._.js +1 -1
  46. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_532f707d._.js +1 -1
  47. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_69e05fca._.js +1 -1
  48. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_80efe193._.js +1 -1
  49. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_c0f0e227._.js +1 -1
  50. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/{_9990bc82._.js → _dd3f8405._.js} +2 -2
  51. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_f36ddaa9._.js +1 -1
  52. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_app-router_c2a45392._.js +3 -0
  53. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/{node_modules_@clerk_nextjs_dist_esm_app-router_e767206a._.js → node_modules_@clerk_nextjs_dist_esm_app-router_e4fbd9e4._.js} +2 -2
  54. package/web/.next/standalone/packages/web/.next/server/pages/404.html +1 -1
  55. package/web/.next/standalone/packages/web/.next/server/pages/500.html +2 -2
  56. package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.js +1 -1
  57. package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.json +8 -8
  58. package/web/.next/{static/chunks/2d65cd3bc1137b3d.js → standalone/packages/web/.next/static/chunks/414abf6a0538296f.js} +1 -1
  59. package/web/.next/standalone/packages/web/.next/static/chunks/{741a641e5fe294ff.js → 54fbc02b98d56f4c.js} +1 -1
  60. package/web/.next/standalone/packages/web/.next/static/chunks/953e23f8cfbdc9bb.js +1 -0
  61. package/web/.next/standalone/packages/web/.next/static/chunks/{a0af599485430d5f.js → f6e6ac9d96cf2151.js} +1 -1
  62. package/web/.next/{standalone/packages/web/.next/static/chunks/2d65cd3bc1137b3d.js → static/chunks/414abf6a0538296f.js} +1 -1
  63. package/web/.next/static/chunks/{741a641e5fe294ff.js → 54fbc02b98d56f4c.js} +1 -1
  64. package/web/.next/static/chunks/953e23f8cfbdc9bb.js +1 -0
  65. package/web/.next/static/chunks/{a0af599485430d5f.js → f6e6ac9d96cf2151.js} +1 -1
  66. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_app-router_a09380f4._.js +0 -3
  67. package/web/.next/standalone/packages/web/.next/static/chunks/50475743a65c6ae5.js +0 -1
  68. package/web/.next/static/chunks/50475743a65c6ae5.js +0 -1
  69. /package/web/.next/standalone/packages/web/.next/static/{E909GLj6potSWpP-i6F73 → 4j_KriaHEW-_LlfrKXaOW}/_buildManifest.js +0 -0
  70. /package/web/.next/standalone/packages/web/.next/static/{E909GLj6potSWpP-i6F73 → 4j_KriaHEW-_LlfrKXaOW}/_clientMiddlewareManifest.json +0 -0
  71. /package/web/.next/standalone/packages/web/.next/static/{E909GLj6potSWpP-i6F73 → 4j_KriaHEW-_LlfrKXaOW}/_ssgManifest.js +0 -0
  72. /package/web/.next/static/{E909GLj6potSWpP-i6F73 → 4j_KriaHEW-_LlfrKXaOW}/_buildManifest.js +0 -0
  73. /package/web/.next/static/{E909GLj6potSWpP-i6F73 → 4j_KriaHEW-_LlfrKXaOW}/_clientMiddlewareManifest.json +0 -0
  74. /package/web/.next/static/{E909GLj6potSWpP-i6F73 → 4j_KriaHEW-_LlfrKXaOW}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
1
  module.exports=[71541,a=>{"use strict";let b,c,d;var e=a.i(87924),f=a.i(26006),g=a.i(72131),h=a.i(70121),i=Symbol.for("react.lazy"),j=g[" use ".trim().toString()];function k(a){var b;return null!=a&&"object"==typeof a&&"$$typeof"in a&&a.$$typeof===i&&"_payload"in a&&"object"==typeof(b=a._payload)&&null!==b&&"then"in b}var l=((d=g.forwardRef((a,b)=>{let{children:c,...d}=a;if(k(c)&&"function"==typeof j&&(c=j(c._payload)),g.isValidElement(c)){var e;let a,f,i=(e=c,(f=(a=Object.getOwnPropertyDescriptor(e.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?e.ref:(f=(a=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?e.props.ref:e.props.ref||e.ref),j=function(a,b){let c={...b};for(let d in b){let e=a[d],f=b[d];/^on[A-Z]/.test(d)?e&&f?c[d]=(...a)=>{let b=f(...a);return e(...a),b}:e&&(c[d]=e):"style"===d?c[d]={...e,...f}:"className"===d&&(c[d]=[e,f].filter(Boolean).join(" "))}return{...a,...c}}(d,c.props);return c.type!==g.Fragment&&(j.ref=b?(0,h.composeRefs)(b,i):i),g.cloneElement(c,j)}return g.Children.count(c)>1?g.Children.only(null):null})).displayName="Slot.SlotClone",b=d,(c=g.forwardRef((a,c)=>{let{children:d,...f}=a;k(d)&&"function"==typeof j&&(d=j(d._payload));let h=g.Children.toArray(d),i=h.find(n);if(i){let a=i.props.children,d=h.map(b=>b!==i?b:g.Children.count(a)>1?g.Children.only(null):g.isValidElement(a)?a.props.children:null);return(0,e.jsx)(b,{...f,ref:c,children:g.isValidElement(a)?g.cloneElement(a,void 0,d):null})}return(0,e.jsx)(b,{...f,ref:c,children:d})})).displayName="Slot.Slot",c),m=Symbol("radix.slottable");function n(a){return g.isValidElement(a)&&"function"==typeof a.type&&"__radixId"in a.type&&a.type.__radixId===m}let o={default:"border-[var(--vk-border)] bg-[var(--vk-bg-panel)] text-[var(--vk-text-normal)] hover:bg-[var(--vk-bg-hover)]",primary:"border-[var(--vk-border)] bg-[var(--vk-bg-active)] text-[var(--vk-text-normal)] hover:bg-[var(--vk-bg-hover)]",ghost:"border-transparent bg-transparent text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] hover:text-[var(--vk-text-normal)]",danger:"border-[var(--vk-red)]/40 bg-[color:color-mix(in_srgb,var(--vk-red)_18%,transparent)] text-[var(--vk-red)] hover:bg-[color:color-mix(in_srgb,var(--vk-red)_24%,transparent)]",outline:"border-[var(--vk-border)] bg-transparent text-[var(--vk-text-normal)] hover:bg-[var(--vk-bg-hover)]"},p={sm:"h-7 px-2.5 text-[12px] gap-1",md:"h-8 px-3 text-[13px] gap-1.5",lg:"h-9 px-3.5 text-[14px] gap-2",icon:"h-8 w-8 p-0"},q=(0,g.forwardRef)(({variant:a="default",size:b="md",asChild:c,className:d,children:g,...h},i)=>(0,e.jsx)(c?l:"button",{ref:i,className:(0,f.cn)("inline-flex items-center justify-center rounded-[var(--radius-sm)] border font-medium","transition-colors duration-150","focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--vk-orange)]","disabled:pointer-events-none disabled:opacity-45",o[a],p[b],d),...h,children:g}));q.displayName="Button",a.s(["Button",0,q],71541)},70106,a=>{"use strict";var b=a.i(72131);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],70106)},96221,a=>{"use strict";let b=(0,a.i(70106).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],96221)},33508,a=>{"use strict";let b=(0,a.i(70106).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);a.s(["X",()=>b],33508)},44494,48677,a=>{"use strict";var b=a.i(70106);let c=(0,b.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);a.s(["Globe",()=>c],44494);let d=(0,b.default)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]]);a.s(["default",()=>d],48677)},48079,a=>{"use strict";var b=a.i(87924),c=a.i(26006);let d=(0,a.i(72131).forwardRef)(({className:a,...d},e)=>(0,b.jsx)("div",{ref:e,className:(0,c.cn)("surface-card rounded-[var(--radius-md)] border",a),...d}));function e({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("flex items-center gap-2 border-b border-[var(--vk-border)] px-3 py-2",a),...d})}function f({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("px-3 py-2",a),...d})}d.displayName="Card",a.s(["Card",0,d,"CardContent",()=>f,"CardHeader",()=>e])},10948,a=>{"use strict";let b=(0,a.i(70106).default)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);a.s(["GitBranch",()=>b],10948)},69630,a=>{"use strict";function b(a){return"merged"===a.status||"archived"===a.status||"killed"===a.status||"errored"===a.status||"cleanup"===a.status||"done"===a.status||"terminated"===a.status||a.pr&&("merged"===a.pr.state||"closed"===a.pr.state)?"done":"mergeable"===a.status||"approved"===a.status||a.pr?.mergeability.mergeable?"merge":"waiting_input"===a.activity||"blocked"===a.activity||"needs_input"===a.status||"stuck"===a.status?"respond":"queued"===a.status?"pending":"exited"===a.activity?"respond":"ci_failed"===a.status||"changes_requested"===a.status||a.pr&&("failing"===a.pr.ciStatus||"changes_requested"===a.pr.reviewDecision||!a.pr.mergeability.noConflicts)?"review":"review_pending"===a.status||a.pr&&!a.pr.isDraft&&("pending"===a.pr.reviewDecision||"none"===a.pr.reviewDecision)?"pending":"working"}a.s(["getAttentionLevel",()=>b])},52495,a=>{"use strict";let b=(0,a.i(70106).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);a.s(["ExternalLink",()=>b],52495)},69520,a=>{"use strict";let b=(0,a.i(70106).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",()=>b],69520)},7827,a=>{"use strict";var b=a.i(72131);a.i(87924);var c=b.createContext(void 0);function d(a){let d=b.useContext(c);return a||d||"ltr"}a.s(["useDirection",()=>d])},50522,92596,34959,a=>{"use strict";var b=a.i(70106);let c=(0,b.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);a.s(["ChevronRight",()=>c],50522);let d=(0,b.default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);a.s(["Folder",()=>d],92596);var e=a.i(72131);function f(a){return!a||"object"!=typeof a||Array.isArray(a)?{}:{...a}}function g(){let[a,b]=(0,e.useState)(null),[c,d]=(0,e.useState)(!0),[g,h]=(0,e.useState)(null),i=(0,e.useRef)(!1),j=(0,e.useCallback)(async()=>{try{var a;let c,d,e,g=await fetch("/api/preferences"),i=await g.json().catch(()=>null);if(!g.ok)throw Error(i?.error??`Failed to load preferences: ${g.status}`);b((a=i?.preferences,c=f(a),e=(d=f(c.notifications)).soundFile,{onboardingAcknowledged:!0===c.onboardingAcknowledged,codingAgent:"string"==typeof c.codingAgent&&c.codingAgent.trim().length>0?c.codingAgent.trim():"claude-code",ide:"string"==typeof c.ide&&c.ide.trim().length>0?c.ide.trim():"vscode",markdownEditor:"string"==typeof c.markdownEditor&&c.markdownEditor.trim().length>0?c.markdownEditor.trim():"obsidian",markdownEditorPath:"string"==typeof c.markdownEditorPath?c.markdownEditorPath.trim():"",notifications:{soundEnabled:!1!==d.soundEnabled,soundFile:null===e?null:"string"==typeof e&&e.trim().length>0?e.trim():"abstract-sound-4"}})),h(null)}catch(a){b(null),h(a instanceof Error?a.message:"Failed to load preferences")}finally{d(!1)}},[]);return(0,e.useEffect)(()=>{i.current||(i.current=!0,j())},[j]),{preferences:a,loading:c,error:g,refresh:j}}a.s(["usePreferences",()=>g],34959)},52806,a=>{"use strict";var b=a.i(87924),c=a.i(72131);let d=new Map;for(let[a,b]of Object.entries({amp:["amp","amp-code","amp-cli","ampcode","agent-amp"],claude:["claude","claude-code","claude-cli","claudecode","ccr","claude-code-router","claude-mcp","claude-mcp-cli","claude-mcp-agent","agent-claude-code"],codex:["codex","openai-codex","codex-cli","codexcli","openai","agent-codex"],copilot:["copilot","github-copilot","githubcopilot","copilot-cli","agent-github-copilot"],cursor:["cursor","cursor-cli","cursor-agent","cursoragent","agent-cursor-cli"],droid:["droid","factory-droid","factory_droid","agent-droid"],gemini:["gemini","gemini-cli","google-gemini","googlegemini","agent-gemini"],opencode:["opencode","open-code","open_code","open-code-cli","agent-opencode"],qwen:["qwen","qwen-code","qwen_code","qwen-code-cli","agent-qwen-code"]}))for(let c of b)d.set(e(c),a);function e(a){return a.trim().toLowerCase().replace(/[^a-z0-9_-]+/g,"-").replace(/_+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"")}function f(a){let b=e(a);if(!b)return null;let c=d.get(b);if(c)return c;for(let a of b.split("-")){let b=d.get(a);if(b)return b}for(let[a,c]of d.entries())if(b===a||b.startsWith(`${a}-`)||b.endsWith(`-${a}`)||b.includes(`-${a}-`))return c;return null}function g(a){try{let b=new URL(a),c=f(b.hostname.replace(/^www\./,"").replace(/\./g,"-"));if(c)return c;return f(b.pathname.replace(/\//g,"-"))}catch{return f(a)}}function h({label:a,className:c}){let d=a.split(/[^a-z0-9]/iu).filter(Boolean).slice(0,2).map(a=>a[0]?.toUpperCase()).join("");return(0,b.jsx)("span",{"aria-hidden":"true",className:`inline-flex shrink-0 items-center justify-center rounded-[0.2rem] text-[9px] font-semibold text-white ${c}`,style:{backgroundColor:function(a){let b=["#14b8a6","#06b6d4","#0ea5e9","#8b5cf6","#ec4899","#f97316","#f59e0b","#ef4444","#22c55e","#84cc16"],c=0;for(let d=0;d<a.length;d+=1)c=(31*c+a.charCodeAt(d))%b.length;return b[Math.abs(c)%b.length]??"#6b7280"}(`${a}:${a.length}`)},children:d||"AI"})}function i({seed:a,className:d="h-6 w-6"}){let[e,i]=(0,c.useState)(0),j=a?.label?.trim()??"",k=(0,c.useMemo)(()=>{var b;if(!j)return[];let c=f((b={label:j,iconUrl:a?.iconUrl,homepage:a?.homepage}).label)??(b.homepage?g(b.homepage):null)??(b.iconUrl?g(b.iconUrl):null),d="string"==typeof a?.iconUrl&&a.iconUrl.trim().length>0?a.iconUrl.trim():null,e=[];return c&&(e.push(`/agents/${c}-dark.svg`),e.push(`/agents/${c}-light.svg`)),d&&e.push(d),e},[j,a?.homepage,a?.iconUrl]);if((0,c.useEffect)(()=>{i(0)},[j,k]),!j)return(0,b.jsx)(h,{label:"AI",className:d});let l=k[e]??null;return l?(0,b.jsx)("img",{src:l,alt:`${j} icon`,loading:"lazy",className:`${d} shrink-0 rounded-[0.2rem] object-contain scale-125`,onError:()=>i(a=>a+1)}):(0,b.jsx)(h,{label:j,className:d})}a.s(["AgentTileIcon",()=>i])},87532,a=>{"use strict";let b=(0,a.i(70106).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);a.s(["Search",()=>b],87532)},15618,a=>{"use strict";let b=(0,a.i(70106).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);a.s(["Plus",()=>b],15618)},65385,a=>{"use strict";let b=(0,a.i(70106).default)("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);a.s(["Settings2",()=>b],65385)},5151,a=>{"use strict";let b=(0,a.i(70106).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);a.s(["Copy",()=>b],5151)},33441,5784,96101,a=>{"use strict";var b=a.i(70106);let c=(0,b.default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);a.s(["Check",()=>c],33441);let d=(0,b.default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);a.s(["ChevronDown",()=>d],5784);let e=(0,b.default)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);a.s(["FolderOpen",()=>e],96101)},28790,a=>{"use strict";let b=(0,a.i(70106).default)("refresh-ccw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]);a.s(["RefreshCcw",()=>b],28790)},30775,a=>{"use strict";let b="abstract-sound-4",c={"abstract-sound-1":{steps:[{frequency:784,durationMs:90,gain:.24},{frequency:988,durationMs:90,gain:.22},{frequency:1175,durationMs:120,gain:.2}]},"abstract-sound-2":{steps:[{frequency:659,durationMs:120,gain:.22},{frequency:523,durationMs:140,gain:.2},{frequency:659,durationMs:120,gain:.18}]},"abstract-sound-3":{steps:[{frequency:440,durationMs:80,gain:.22},{frequency:554,durationMs:80,gain:.22},{frequency:659,durationMs:90,gain:.2},{frequency:880,durationMs:120,gain:.18}]},"abstract-sound-4":{steps:[{frequency:523,durationMs:130,gain:.22},{frequency:659,durationMs:130,gain:.2},{frequency:784,durationMs:150,gain:.18}]},"cow-mooing":{steps:[{frequency:220,durationMs:220,type:"triangle",gain:.24},{frequency:174,durationMs:260,type:"triangle",gain:.2}]},"phone-vibration":{vibrate:[120,60,120,60,180],steps:[{frequency:180,durationMs:140,gain:.16},{frequency:220,durationMs:140,gain:.14}]},rooster:{steps:[{frequency:784,durationMs:70,type:"square",gain:.24},{frequency:1046,durationMs:70,type:"square",gain:.22},{frequency:1318,durationMs:90,type:"square",gain:.2},{frequency:1568,durationMs:120,type:"square",gain:.18}]}};function d(a){let d=a?.trim();return d&&d in c?d:b}function e(a){return d(a)}async function f(a,b){let e=d(a),f=c[e];return!!("phone-vibration"===e&&f.vibrate&&"u">typeof navigator)&&"function"==typeof navigator.vibrate&&navigator.vibrate(f.vibrate)}a.s(["playNotificationSound",()=>f,"resolveNotificationSoundId",()=>e])},41377,a=>{"use strict";let b=(0,a.i(70106).default)("panel-left-open",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);a.s(["PanelLeftOpen",()=>b],41377)},61693,9341,87975,a=>{"use strict";var b=a.i(72131);let c=new Set,d=new Set,e=null,f=null,g=null,h=null;function i(){return c.size>0||d.size>0}function j(){return"u"<typeof document||"visible"===document.visibilityState}function k(){e&&(e.close(),e=null)}function l(a){if(Array.isArray(a))return{type:"snapshot",sessions:a};if(!a||"object"!=typeof a)return null;let b=a.type;return"snapshot"!==b&&"snapshot_delta"!==b?null:Array.isArray(a.sessions)?a:null}function m(a){return a&&"object"==typeof a&&"boolean"==typeof a.enabled?a:null}function n(a){for(let b of c)b(a);let b=m(a.appUpdate);if(b)for(let a of d)a(b)}async function o(){if("function"!=typeof fetch)return;let a=(async()=>{try{let a=await fetch("/api/sessions");if(!a.ok)return;let b=await a.json().catch(()=>null),c=l(b);if(!c)return;n(c)}catch{}try{let b=await fetch("/api/app-update");if(!b.ok)return;let c=await b.json().catch(()=>null);var a=m(c);for(let b of d)b(a)}catch{}})();f=a.finally(()=>{f===a&&(f=null)}),await a}function p(){if(!i()){k(),g&&(window.removeEventListener("focus",g),g=null),h&&(document.removeEventListener("visibilitychange",h),h=null);return}j()?!e&&"u">typeof EventSource&&i()&&j()&&((e=new EventSource("/api/events")).onmessage=a=>{try{let b=l(JSON.parse(a.data));if(!b)return;n(b)}catch{}},e.addEventListener("refresh",()=>{f||o()}),e.onerror=()=>{i()&&j()||k()}):k()}function q(a){return c.add(a),p(),()=>{c.delete(a),p()}}function r(a){return d.add(a),p(),()=>{d.delete(a),p()}}a.s(["subscribeToAppUpdateEvents",()=>r,"subscribeToSnapshotEvents",()=>q],9341);let s={sessionsById:new Map,orderedIds:[],version:0,loading:!0,error:null,listInitialized:!1,refreshPromise:null,unsubscribeSnapshots:null,activeConsumers:0,pollTimer:null,focusHandler:null,visibilityHandler:null},t=new Set;function u(){for(let a of t)a()}function v(a){return[...a.values()].sort((a,b)=>b.createdAt.localeCompare(a.createdAt)).map(a=>a.id)}function w(a,b){s.sessionsById=a,s.orderedIds=b,s.version+=1}function x(a){return{id:a.id,projectId:a.projectId,status:a.status,activity:a.activity,branch:a.branch,issueId:a.issueId,summary:a.summary??null,createdAt:a.createdAt,lastActivityAt:a.lastActivityAt,pr:a.pr??null,metadata:a.metadata}}async function y(){if(s.refreshPromise)return void await s.refreshPromise;let a=(async()=>{try{var a;let b=await fetch("/api/sessions",{cache:"no-store"});if(!b.ok)throw Error(`Failed to fetch sessions: ${b.status}`);let c=(a=await b.json().catch(()=>null),Array.isArray(a)?a:Array.isArray(a?.sessions)?a.sessions:[]),d=new Map(c.map(a=>[a.id,a]));w(d,v(d)),s.error=null}catch(a){s.error=a instanceof Error?a.message:"Failed to fetch sessions"}finally{s.loading=!1,u()}})();s.refreshPromise=a.finally(()=>{s.refreshPromise===a&&(s.refreshPromise=null)}),await a}function z(){return"visible"===document.visibilityState}function A(){null!==s.pollTimer&&(window.clearTimeout(s.pollTimer),s.pollTimer=null)}function B(){A(),0!==s.activeConsumers&&z()&&(s.pollTimer=window.setTimeout(async()=>{0!==s.activeConsumers&&z()&&(await y(),B())},15e3))}function C(){s.activeConsumers+=1,s.activeConsumers>1||(s.unsubscribeSnapshots||(s.unsubscribeSnapshots=q(a=>{if("snapshot"===a.type)w(new Map(a.sessions.map(a=>{let b=x(a);return[b.id,b]})),a.sessions.map(a=>a.id));else{let b=new Map(s.sessionsById);for(let c of a.sessions){let a=x(c);b.set(a.id,a)}for(let c of a.removedSessionIds??[])b.delete(c);w(b,v(b))}s.loading=!1,s.error=null,u()})),s.listInitialized||(s.listInitialized=!0),function(){if(s.focusHandler||s.visibilityHandler)return;let a=()=>{0!==s.activeConsumers&&(y(),B())},b=()=>{0!==s.activeConsumers&&("visible"===document.visibilityState&&y(),A(),B())};s.focusHandler=a,s.visibilityHandler=b,window.addEventListener("focus",a),document.addEventListener("visibilitychange",b)}(),z()&&y(),B())}function D(){s.activeConsumers=Math.max(0,s.activeConsumers-1),s.activeConsumers>0||(A(),s.focusHandler&&(window.removeEventListener("focus",s.focusHandler),s.focusHandler=null),s.visibilityHandler&&(document.removeEventListener("visibilitychange",s.visibilityHandler),s.visibilityHandler=null),s.unsubscribeSnapshots?.(),s.unsubscribeSnapshots=null)}function E(a){return t.add(a),()=>{t.delete(a)}}async function F(a){try{let b=await fetch(`/api/sessions/${encodeURIComponent(a)}`,{cache:"no-store"});if(404===b.status){let b=new Map(s.sessionsById);return b.delete(a),w(b,v(b)),s.error=null,u(),null}if(!b.ok)throw Error(`Failed to fetch session: ${b.status}`);let c=await b.json(),d=new Map(s.sessionsById);return d.set(c.id,c),w(d,v(d)),s.error=null,c}catch(a){throw s.error=a instanceof Error?a.message:"Failed to fetch session",a}finally{s.loading=!1,u()}}function G(a,c){let d=c?.enabled??!0,[,e]=(0,b.useReducer)(a=>a+1,0),[f,g]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{if(g(!0),!d)return;C();let a=E(()=>e());return()=>{a(),D()}},[d]),{sessions:(0,b.useMemo)(()=>{let b;return d&&f?(b=a?.trim(),s.orderedIds.map(a=>s.sessionsById.get(a)).filter(a=>!!a).filter(a=>!b||a.projectId===b)):[]},[d,f,a,s.version]),loading:!!d&&(!f||s.loading),error:d?s.error:null,refresh:y}}function H(a,c=null,d){let e=d?.enabled??!0,[,f]=(0,b.useReducer)(a=>a+1,0),g="string"==typeof a&&a.trim().length>0?a.trim():null,[h,i]=(0,b.useState)(!1),[j,k]=(0,b.useState)(c),[l,m]=(0,b.useState)(null),[n,o]=(0,b.useState)(e&&null!==g&&null===c);return(0,b.useEffect)(()=>{i(!0),function(a){if(!a)return;let b=s.sessionsById.get(a.id);if(b&&JSON.stringify(b)===JSON.stringify(a))return;let c=new Map(s.sessionsById);c.set(a.id,a),w(c,v(c)),s.loading=!1,u()}(c),k(c),m(null)},[c]),(0,b.useEffect)(()=>{if(e&&null!==g)return E(()=>f())},[e,g]),(0,b.useEffect)(()=>{if(e&&null!==g)return C(),()=>{D()}},[e,g]),(0,b.useEffect)(()=>{if(!e||null===g){k(null),m(null),o(!1);return}if(c||s.sessionsById.has(g)){k(a=>s.sessionsById.get(g)??a??c),m(null),o(!1);return}let a=!1;return o(!0),m(null),F(g).then(b=>{a||(k(b),m(null))}).catch(b=>{a||(k(null),m(b instanceof Error?b.message:"Failed to fetch session"))}).finally(()=>{a||o(!1)}),()=>{a=!0}},[e,g,c]),{session:g?h?s.sessionsById.get(g)??j??c??null:c??null:null,loading:n,error:e&&g?l??s.error:null}}function I(a,b=null,c){return H(a,b,c)}a.s(["useSharedSession",()=>H,"useSharedSessions",()=>G],87975),a.s(["useSession",()=>I],61693)},9323,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(50944),e=a.i(17402),f=a.i(48171),g=a.i(62586),h=a.i(5913),i=a.i(37483);a.i(28257);var j=a.i(35757),k=a.i(84384),l=a.i(34959),m=a.i(61693),n=a.i(72865);function o(){let a=(0,d.useParams)(),o=(0,d.useRouter)(),p=(0,d.useSearchParams)(),{projects:q}=(0,j.useConfig)(),{session:r}=(0,m.useSession)(a.id),{preferences:s,loading:t}=(0,l.usePreferences)(),{mobileSidebarOpen:u,desktopSidebarOpen:v,toggleSidebar:w,closeSidebarOnMobile:x}=(0,e.useResponsiveSidebarStateWithOptions)({initialDesktopOpen:!1}),y=u||v,{sessions:z,refresh:A}=(0,n.useSessions)(void 0,{enabled:y}),[B,C]=(0,c.useState)(null),[D,E]=(0,c.useState)(!1),F=(0,c.useMemo)(()=>{let a=p.get("tab");return"overview"!==a&&"preview"!==a&&"diff"!==a},[p])&&D,G=r?.projectId??null;(0,k.useNotificationAlerts)({enabled:!t&&null!==G,projectId:G,preferences:s?.notifications??null});let H=(0,c.useMemo)(()=>r?[r.projectId,r.branch].filter(Boolean).join(" · "):B||"Session",[r,B]);async function I(b){let c=await fetch(`/api/sessions/${encodeURIComponent(b)}/archive`,{method:"POST"}),d=await c.json().catch(()=>null);if(404===c.status&&(c=await fetch(`/api/sessions/${encodeURIComponent(b)}/actions`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"archive"})}),d=await c.json().catch(()=>null)),!c.ok)throw Error(d?.error??`Failed to archive session: ${c.status}`);b===a.id?o.push("/"):await A()}return((0,c.useEffect)(()=>{r?.projectId?C(r.projectId):!B&&q.length>0&&C(q[0]?.id??null)},[r?.projectId,q,B]),(0,c.useEffect)(()=>{},[]),a.id)?(0,b.jsxs)(f.AppShell,{mobileSidebarOpen:u,desktopSidebarOpen:v,onToggleSidebar:w,hideMobileSidebarToggle:F,sidebar:y?(0,b.jsx)(h.WorkspaceSidebarPanel,{projects:q,selectedProjectId:B,onSelectProject:a=>{null===a?o.push("/"):C(a)},sessions:z,selectedSessionId:a.id,onSelectSession:(a,b)=>{let c=new URLSearchParams;b?.tab&&c.set("tab",b.tab);let d=c.toString();o.push(d.length>0?`/sessions/${encodeURIComponent(a)}?${d}`:`/sessions/${encodeURIComponent(a)}`),x()},onArchiveSession:I,onCreateWorkspace:()=>{o.push("/")}}):null,children:[F?null:(0,b.jsx)(g.TopBar,{title:H}),(0,b.jsx)("div",{className:`flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden ${F?"bg-[#060404]":""}`,children:(0,b.jsx)(i.SessionDetail,{sessionId:a.id,initialSession:r,immersiveMobileMode:F,onOpenSidebar:w},a.id)})]}):(0,b.jsx)("div",{className:"flex h-dvh min-h-[100dvh] items-center justify-center",children:(0,b.jsx)("span",{className:"text-[13px] text-[var(--text-muted)]",children:"No session ID provided"})})}a.s(["default",()=>o])},86936,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[externals]_shiki_1e31ec87._.js"].map(b=>a.l(b))).then(()=>b(5104)))},81469,a=>{a.v(b=>Promise.all(["server/chunks/ssr/_b9330c69._.js"].map(b=>a.l(b))).then(()=>b(76686)))},40376,a=>{a.v(b=>Promise.all(["server/chunks/ssr/_be5674e6._.js","server/chunks/ssr/packages_web_src_components_sessions_SessionPreview_tsx_ec32db81._.js"].map(b=>a.l(b))).then(()=>b(64600)))}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__c79fcfd3._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__25555995._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[347,a=>{a.v({name:"next",version:"16.1.6",description:"The React Framework",main:"./dist/server/next.js",license:"MIT",repository:"vercel/next.js",bugs:"https://github.com/vercel/next.js/issues",homepage:"https://nextjs.org",types:"index.d.ts",files:["dist","app.js","app.d.ts","babel.js","babel.d.ts","client.js","client.d.ts","compat","cache.js","cache.d.ts","constants.js","constants.d.ts","document.js","document.d.ts","dynamic.js","dynamic.d.ts","error.js","error.d.ts","future","legacy","script.js","script.d.ts","server.js","server.d.ts","head.js","head.d.ts","image.js","image.d.ts","link.js","link.d.ts","form.js","form.d.ts","router.js","router.d.ts","jest.js","jest.d.ts","og.js","og.d.ts","root-params.js","root-params.d.ts","types.d.ts","types.js","index.d.ts","types/global.d.ts","types/compiled.d.ts","image-types/global.d.ts","navigation-types/navigation.d.ts","navigation-types/compat/navigation.d.ts","font","navigation.js","navigation.d.ts","headers.js","headers.d.ts","navigation-types","web-vitals.js","web-vitals.d.ts","experimental/testing/server.js","experimental/testing/server.d.ts","experimental/testmode/playwright.js","experimental/testmode/playwright.d.ts","experimental/testmode/playwright/msw.js","experimental/testmode/playwright/msw.d.ts","experimental/testmode/proxy.js","experimental/testmode/proxy.d.ts"],bin:{next:"./dist/bin/next"},scripts:{dev:"cross-env NEXT_SERVER_NO_MANGLE=1 taskr",build:"taskr release",prepublishOnly:"cd ../../ && turbo run build",types:"tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --stripInternal --declarationDir dist",typescript:"tsec --noEmit","ncc-compiled":"taskr ncc",storybook:"BROWSER=none storybook dev -p 6006","build-storybook":"storybook build","test-storybook":"test-storybook"},taskr:{requires:["./taskfile-webpack.js","./taskfile-ncc.js","./taskfile-swc.js","./taskfile-watch.js"]},dependencies:{"@next/env":"16.1.6","@swc/helpers":"0.5.15","baseline-browser-mapping":"^2.8.3","caniuse-lite":"^1.0.30001579",postcss:"8.4.31","styled-jsx":"5.1.6"},peerDependencies:{"@opentelemetry/api":"^1.1.0","@playwright/test":"^1.51.1","babel-plugin-react-compiler":"*",react:"^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0","react-dom":"^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",sass:"^1.3.0"},peerDependenciesMeta:{"babel-plugin-react-compiler":{optional:!0},sass:{optional:!0},"@opentelemetry/api":{optional:!0},"@playwright/test":{optional:!0}},optionalDependencies:{sharp:"^0.34.4","@next/swc-darwin-arm64":"16.1.6","@next/swc-darwin-x64":"16.1.6","@next/swc-linux-arm64-gnu":"16.1.6","@next/swc-linux-arm64-musl":"16.1.6","@next/swc-linux-x64-gnu":"16.1.6","@next/swc-linux-x64-musl":"16.1.6","@next/swc-win32-arm64-msvc":"16.1.6","@next/swc-win32-x64-msvc":"16.1.6"},devDependencies:{"@babel/code-frame":"7.26.2","@babel/core":"7.26.10","@babel/eslint-parser":"7.24.6","@babel/generator":"7.27.0","@babel/plugin-syntax-bigint":"7.8.3","@babel/plugin-syntax-dynamic-import":"7.8.3","@babel/plugin-syntax-import-attributes":"7.26.0","@babel/plugin-syntax-jsx":"7.25.9","@babel/plugin-syntax-typescript":"7.25.4","@babel/plugin-transform-class-properties":"7.25.9","@babel/plugin-transform-export-namespace-from":"7.25.9","@babel/plugin-transform-modules-commonjs":"7.26.3","@babel/plugin-transform-numeric-separator":"7.25.9","@babel/plugin-transform-object-rest-spread":"7.25.9","@babel/plugin-transform-runtime":"7.26.10","@babel/preset-env":"7.26.9","@babel/preset-react":"7.26.3","@babel/preset-typescript":"7.27.0","@babel/runtime":"7.27.0","@babel/traverse":"7.27.0","@babel/types":"7.27.0","@base-ui-components/react":"1.0.0-beta.2","@capsizecss/metrics":"3.4.0","@edge-runtime/cookies":"6.0.0","@edge-runtime/ponyfill":"4.0.0","@edge-runtime/primitives":"6.0.0","@hapi/accept":"5.0.2","@jest/transform":"29.5.0","@jest/types":"29.5.0","@modelcontextprotocol/sdk":"1.18.1","@mswjs/interceptors":"0.23.0","@napi-rs/triples":"1.2.0","@next/font":"16.1.6","@next/polyfill-module":"16.1.6","@next/polyfill-nomodule":"16.1.6","@next/react-refresh-utils":"16.1.6","@next/swc":"16.1.6","@opentelemetry/api":"1.6.0","@playwright/test":"1.51.1","@rspack/core":"1.6.7","@storybook/addon-a11y":"8.6.0","@storybook/addon-essentials":"8.6.0","@storybook/addon-interactions":"8.6.0","@storybook/addon-webpack5-compiler-swc":"3.0.0","@storybook/blocks":"8.6.0","@storybook/react":"8.6.0","@storybook/react-webpack5":"8.6.0","@storybook/test":"8.6.0","@storybook/test-runner":"0.21.0","@swc/core":"1.11.24","@swc/types":"0.1.7","@taskr/clear":"1.1.0","@taskr/esnext":"1.1.0","@types/babel__code-frame":"7.0.6","@types/babel__core":"7.20.5","@types/babel__generator":"7.27.0","@types/babel__template":"7.4.4","@types/babel__traverse":"7.20.7","@types/bytes":"3.1.1","@types/ci-info":"2.0.0","@types/compression":"0.0.36","@types/content-disposition":"0.5.4","@types/content-type":"1.1.3","@types/cookie":"0.3.3","@types/cross-spawn":"6.0.0","@types/debug":"4.1.5","@types/express-serve-static-core":"4.17.33","@types/fresh":"0.5.0","@types/glob":"7.1.1","@types/jsonwebtoken":"9.0.0","@types/lodash":"4.14.198","@types/lodash.curry":"4.1.6","@types/path-to-regexp":"1.7.0","@types/picomatch":"2.3.3","@types/platform":"1.3.4","@types/react":"19.0.8","@types/react-dom":"19.0.3","@types/react-is":"18.2.4","@types/semver":"7.3.1","@types/send":"0.14.4","@types/serve-handler":"6.1.4","@types/shell-quote":"1.7.1","@types/tar":"6.1.5","@types/text-table":"0.2.1","@types/ua-parser-js":"0.7.36","@types/webpack-sources1":"npm:@types/webpack-sources@0.1.5","@types/ws":"8.2.0","@vercel/ncc":"0.34.0","@vercel/nft":"0.27.1","@vercel/routing-utils":"5.2.0","@vercel/turbopack-ecmascript-runtime":"*",acorn:"8.14.0",anser:"1.4.9",arg:"4.1.0",assert:"2.0.0","async-retry":"1.2.3","async-sema":"3.0.0","axe-playwright":"2.0.3","babel-loader":"10.0.0","babel-plugin-react-compiler":"0.0.0-experimental-3fde738-20250918","babel-plugin-transform-define":"2.0.0","babel-plugin-transform-react-remove-prop-types":"0.4.24","browserify-zlib":"0.2.0",browserslist:"4.28.0",buffer:"5.6.0",busboy:"1.6.0",bytes:"3.1.1","ci-info":"watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540","cli-select":"1.1.2","client-only":"0.0.1",commander:"12.1.0","comment-json":"3.0.3",compression:"1.7.4",conf:"5.0.0","constants-browserify":"1.0.0","content-disposition":"0.5.3","content-type":"1.0.4",cookie:"0.4.1","cross-env":"6.0.3","cross-spawn":"7.0.3","crypto-browserify":"3.12.0","css-loader":"7.1.2","css.escape":"1.5.1","cssnano-preset-default":"7.0.6","data-uri-to-buffer":"3.0.1",debug:"4.1.1",devalue:"2.0.1","domain-browser":"4.19.0","edge-runtime":"4.0.1",events:"3.3.0","find-up":"4.1.0",fresh:"0.5.2",glob:"7.1.7","gzip-size":"5.1.1","http-proxy":"1.18.1","http-proxy-agent":"5.0.0","https-browserify":"1.0.0","https-proxy-agent":"5.0.1","icss-utils":"5.1.0","ignore-loader":"0.1.2","image-size":"1.2.1","ipaddr.js":"2.2.0","is-docker":"2.0.0","is-wsl":"2.2.0","jest-worker":"27.5.1",json5:"2.2.3",jsonwebtoken:"9.0.0","loader-runner":"4.3.0","loader-utils2":"npm:loader-utils@2.0.4","loader-utils3":"npm:loader-utils@3.1.3","lodash.curry":"4.1.1","mini-css-extract-plugin":"2.4.4",msw:"2.3.0",nanoid:"3.1.32","native-url":"0.3.4","neo-async":"2.6.1","node-html-parser":"5.3.3",ora:"4.0.4","os-browserify":"0.3.0","p-limit":"3.1.0","p-queue":"6.6.2","path-browserify":"1.0.1","path-to-regexp":"6.3.0",picomatch:"4.0.1","postcss-flexbugs-fixes":"5.0.2","postcss-modules-extract-imports":"3.0.0","postcss-modules-local-by-default":"4.2.0","postcss-modules-scope":"3.0.0","postcss-modules-values":"4.0.0","postcss-preset-env":"7.4.3","postcss-safe-parser":"6.0.0","postcss-scss":"4.0.3","postcss-value-parser":"4.2.0",process:"0.11.10",punycode:"2.1.1","querystring-es3":"0.2.1","raw-body":"2.4.1","react-refresh":"0.12.0",recast:"0.23.11","regenerator-runtime":"0.13.4","safe-stable-stringify":"2.5.0","sass-loader":"16.0.5","schema-utils2":"npm:schema-utils@2.7.1","schema-utils3":"npm:schema-utils@3.0.0",semver:"7.3.2",send:"0.18.0","serve-handler":"6.1.6","server-only":"0.0.1",setimmediate:"1.0.5","shell-quote":"1.7.3","source-map":"0.6.1","source-map-loader":"5.0.0","source-map08":"npm:source-map@0.8.0-beta.0","stacktrace-parser":"0.1.10",storybook:"8.6.0","stream-browserify":"3.0.0","stream-http":"3.1.1","strict-event-emitter":"0.5.0","string-hash":"1.1.3",string_decoder:"1.3.0","strip-ansi":"6.0.0","style-loader":"4.0.0",superstruct:"1.0.3",tar:"6.1.15",taskr:"1.1.0",terser:"5.27.0","terser-webpack-plugin":"5.3.9","text-table":"0.2.0","timers-browserify":"2.0.12","tty-browserify":"0.0.1",typescript:"5.9.2","ua-parser-js":"1.0.35",unistore:"3.4.1",util:"0.12.4","vm-browserify":"1.1.2",watchpack:"2.4.0","web-vitals":"4.2.1",webpack:"5.98.0","webpack-sources1":"npm:webpack-sources@1.4.3","webpack-sources3":"npm:webpack-sources@3.2.3",ws:"8.2.3",zod:"3.25.76","zod-validation-error":"3.4.0"},keywords:["react","framework","nextjs","web","server","node","front-end","backend","cli","vercel"],engines:{node:">=20.9.0"}})},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},9270,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.AppRouterContext},36313,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.HooksClientContext},18341,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.ServerInsertedHtml},42602,(a,b,c)=>{"use strict";b.exports=a.r(18622)},72131,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].React},87924,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactJsxRuntime},35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},38783,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactServerDOMTurbopackClient},88347,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e={ACTION_HMR_REFRESH:function(){return k},ACTION_NAVIGATE:function(){return h},ACTION_REFRESH:function(){return g},ACTION_RESTORE:function(){return i},ACTION_SERVER_ACTION:function(){return l},ACTION_SERVER_PATCH:function(){return j},PrefetchKind:function(){return m}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});let g="refresh",h="navigate",i="restore",j="server-patch",k="hmr-refresh",l="server-action";var m=((d={}).AUTO="auto",d.FULL="full",d);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},67009,(a,b,c)=>{"use strict";function d(a){return null!==a&&"object"==typeof a&&"then"in a&&"function"==typeof a.then}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isThenable",{enumerable:!0,get:function(){return d}})},90841,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={dispatchAppRouterAction:function(){return i},useActionQueue:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(46058)._(a.r(72131)),g=a.r(67009),h=null;function i(a){if(null===h)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});h(a)}function j(a){let[b,c]=f.default.useState(a.state);h=b=>a.dispatch(b,c);let d=(0,f.useMemo)(()=>b,[b]);return(0,g.isThenable)(d)?(0,f.use)(d):d}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},20611,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"callServer",{enumerable:!0,get:function(){return g}});let d=a.r(72131),e=a.r(88347),f=a.r(90841);async function g(a,b){return new Promise((c,g)=>{(0,d.startTransition)(()=>{(0,f.dispatchAppRouterAction)({type:e.ACTION_SERVER_ACTION,actionId:a,actionArgs:b,resolve:c,reject:g})})})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},1722,(a,b,c)=>{"use strict";let d;Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"findSourceMapURL",{enumerable:!0,get:function(){return d}});("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},5050,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={callServer:function(){return f.callServer},createServerReference:function(){return h.createServerReference},findSourceMapURL:function(){return g.findSourceMapURL}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20611),g=a.r(1722),h=a.r(38783)},14167,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("00d6aa07ef5202e6469da301e53f7418b051855954",b.callServer,void 0,b.findSourceMapURL,"detectKeylessEnvDriftAction");a.s(["detectKeylessEnvDriftAction",()=>c])},33015,42358,79302,46678,70852,a=>{"use strict";let b=[".lcl.dev",".lclstage.dev",".lclclerk.com"],c=[".accounts.dev",".accountsstage.dev",".accounts.lclclerk.com"],d=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],e=[".lcl.dev","lclstage.dev",".lclclerk.com",".accounts.lclclerk.com"],f=[".accountsstage.dev"];a.s(["CURRENT_DEV_INSTANCE_SUFFIXES",()=>c,"DEV_OR_STAGING_SUFFIXES",()=>d,"LEGACY_DEV_INSTANCE_SUFFIXES",()=>b,"LOCAL_API_URL",()=>"https://api.lclclerk.com","LOCAL_ENV_SUFFIXES",()=>e,"PROD_API_URL",()=>"https://api.clerk.com","STAGING_API_URL",()=>"https://api.clerkstage.dev","STAGING_ENV_SUFFIXES",()=>f],33015);let g=b=>"u">typeof atob&&"function"==typeof atob?atob(b):a.g.Buffer?new a.g.Buffer(b,"base64").toString():b;a.s(["isomorphicAtob",()=>g],42358);let h=b=>"u">typeof btoa&&"function"==typeof btoa?btoa(b):a.g.Buffer?new a.g.Buffer(b).toString("base64"):b;a.s(["isomorphicBtoa",()=>h],79302);let i="pk_live_",j="pk_test_",k=/^(([a-z]+)-){2}([0-9]{1,2})\.clerk\.accounts([a-z.]*)(dev|com)$/i;function l(a){return`${k.test(a)||a.startsWith("clerk.")&&b.some(b=>a.endsWith(b))?j:i}${h(`${a}$`)}`}function m(a){if(!a.endsWith("$"))return!1;let b=a.slice(0,-1);return!b.includes("$")&&b.includes(".")}function n(a,b={}){let c;if(!(a=a||"")||!o(a)){if(b.fatal&&!a)throw Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(b.fatal&&!o(a))throw Error("Publishable key not valid.");return null}let d=a.startsWith(i)?"production":"development";try{c=g(a.split("_")[2])}catch{if(b.fatal)throw Error("Publishable key not valid: Failed to decode key.");return null}if(!m(c)){if(b.fatal)throw Error("Publishable key not valid: Decoded key has invalid format.");return null}let e=c.slice(0,-1);return b.proxyUrl?e=b.proxyUrl:"development"!==d&&b.domain&&b.isSatellite&&(e=`clerk.${b.domain}`),{instanceType:d,frontendApi:e}}function o(a=""){try{if(!(a.startsWith(i)||a.startsWith(j)))return!1;let b=a.split("_");if(3!==b.length)return!1;let c=b[2];if(!c)return!1;return m(g(c))}catch{return!1}}function p(){let a=new Map;return{isDevOrStagingUrl:b=>{if(!b)return!1;let c="string"==typeof b?b:b.hostname,e=a.get(c);return void 0===e&&(e=d.some(a=>c.endsWith(a)),a.set(c,e)),e}}}function q(a){return a.startsWith("test_")||a.startsWith("pk_test_")}function r(a){return a.startsWith("live_")||a.startsWith("pk_live_")}function s(a){return a.startsWith("test_")||a.startsWith("sk_test_")}function t(a){return a.startsWith("live_")||a.startsWith("sk_live_")}async function u(a,b=globalThis.crypto.subtle){let c=new TextEncoder().encode(a);return h(String.fromCharCode(...new Uint8Array(await b.digest("sha-1",c)))).replace(/\+/gi,"-").replace(/\//gi,"_").substring(0,8)}let v=(a,b)=>`${a}_${b}`;a.s(["buildPublishableKey",()=>l,"createDevOrStagingUrlCache",()=>p,"getCookieSuffix",()=>u,"getSuffixedCookieName",()=>v,"isDevelopmentFromPublishableKey",()=>q,"isDevelopmentFromSecretKey",()=>s,"isProductionFromPublishableKey",()=>r,"isProductionFromSecretKey",()=>t,"isPublishableKey",()=>o,"parsePublishableKey",()=>n],46678);let w=a=>{if(0==a.length)return"";if(1==a.length)return a[0];let b=a.slice(0,-1).join(", ");return b+`, or ${a.slice(-1)}`},x=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/;function y(a){return x.test(a||"")}function z(a){let b=a||"";return b.charAt(0).toUpperCase()+b.slice(1)}function A(a){return a?a.replace(/([-_][a-z])/g,a=>a.toUpperCase().replace(/-|_/,"")):""}function B(a){return a?a.replace(/[A-Z]/g,a=>`_${a.toLowerCase()}`):""}let C=a=>{let b=c=>{if(!c)return c;if(Array.isArray(c))return c.map(a=>"object"==typeof a||Array.isArray(a)?b(a):a);let d={...c};for(let c of Object.keys(d)){let e=a(c.toString());e!==c&&(d[e]=d[c],delete d[c]),"object"==typeof d[e]&&(d[e]=b(d[e]))}return d};return b},D=C(B),E=C(A);function F(a){if("boolean"==typeof a)return a;if(null==a)return!1;if("string"==typeof a){if("true"===a.toLowerCase())return!0;if("false"===a.toLowerCase())return!1}let b=parseInt(a,10);return!isNaN(b)&&b>0}function G(a){return Object.entries(a).reduce((a,[b,c])=>(void 0!==c&&(a[b]=c),a),{})}a.s(["camelToSnake",()=>B,"deepCamelToSnake",()=>D,"deepSnakeToCamel",()=>E,"getNonUndefinedValues",()=>G,"isIPV4Address",()=>y,"isTruthy",()=>F,"snakeToCamel",()=>A,"titleize",()=>z,"toSentence",()=>w],70852)},90620,88239,a=>{"use strict";let b=(...a)=>{};a.s(["noop",()=>b],90620);let c=()=>{let a=b,c=b;return{promise:new Promise((b,d)=>{a=b,c=d}),resolve:a,reject:c}};a.s(["createDeferredPromise",()=>c],88239)},44002,65061,a=>{"use strict";let b=()=>!1,c=()=>!1,d=()=>{try{return!0}catch{}return!1};function e(a,b,c){return"function"==typeof a?a(b):void 0!==a?a:void 0!==c?c:void 0}a.s(["isDevelopmentEnvironment",()=>b,"isProductionEnvironment",()=>d,"isTestEnvironment",()=>c],44002),a.s(["handleValueOrFn",()=>e],65061)},94087,27339,81721,a=>{"use strict";var b=a.i(44002);function c(a){return Promise.all(Array.from(a).map(a=>a.then(a=>({status:"fulfilled",value:a}),a=>({status:"rejected",reason:a}))))}a.i(65061),a.i(90620),a.i(88239);let d=a=>{(0,b.isDevelopmentEnvironment)()&&console.error(`Clerk: ${a}`)},e=new Set(["__proto__","constructor","prototype"]),f=(a,b)=>{if(a&&b)for(let c in a)!e.has(c)&&(Object.prototype.hasOwnProperty.call(a,c)&&null!==a[c]&&"object"==typeof a[c]?(void 0===b[c]&&(b[c]=new(Object.getPrototypeOf(a[c])).constructor),f(a[c],b[c])):Object.prototype.hasOwnProperty.call(a,c)&&void 0!==a[c]&&(b[c]=a[c]))},g=(a,b)=>{if(a&&b)for(let c in a)!e.has(c)&&(Object.prototype.hasOwnProperty.call(a,c)&&null!==a[c]&&"object"==typeof a[c]?(void 0===b[c]&&(b[c]=new(Object.getPrototypeOf(a[c])).constructor),g(a[c],b[c])):Object.prototype.hasOwnProperty.call(a,c)&&void 0===b[c]&&(b[c]=a[c]))};function h(a){return a.endsWith(".lclstage.dev")||a.endsWith(".stgstage.dev")||a.endsWith(".clerkstage.dev")||a.endsWith(".accountsstage.dev")}a.s(["allSettled",()=>c,"fastDeepMergeAndKeep",()=>g,"fastDeepMergeAndReplace",()=>f,"logErrorInDevMode",()=>d],27339),a.s(["isStaging",()=>h],81721),a.s([],94087)},29742,82135,15272,76208,a=>{"use strict";let b;a.i(94087);var c,d,e,f,g,h,i,j,k=a.i(44002),l=a.i(33015);a.i(42358),a.i(79302);var m=a.i(46678),n=a.i(70852);a.s([],82135),process.env.NEXT_PUBLIC_CLERK_JS_VERSION,process.env.NEXT_PUBLIC_CLERK_JS_URL,process.env.CLERK_API_VERSION,process.env.CLERK_SECRET_KEY,process.env.CLERK_MACHINE_SECRET_KEY;let o=process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY||"";process.env.CLERK_ENCRYPTION_KEY,process.env.CLERK_API_URL||(b=(0,m.parsePublishableKey)(o)?.frontendApi,b?.startsWith("clerk.")&&l.LEGACY_DEV_INSTANCE_SUFFIXES.some(a=>b?.endsWith(a))?l.PROD_API_URL:l.LOCAL_ENV_SUFFIXES.some(a=>b?.endsWith(a))?l.LOCAL_API_URL:l.STAGING_ENV_SUFFIXES.some(a=>b?.endsWith(a))?l.STAGING_API_URL:l.PROD_API_URL),process.env.NEXT_PUBLIC_CLERK_DOMAIN,process.env.NEXT_PUBLIC_CLERK_PROXY_URL,(0,n.isTruthy)(process.env.NEXT_PUBLIC_CLERK_IS_SATELLITE),process.env.NEXT_PUBLIC_CLERK_SIGN_IN_URL,process.env.NEXT_PUBLIC_CLERK_SIGN_UP_URL;let p={name:"@clerk/nextjs",version:"6.39.0",environment:"production"};(0,n.isTruthy)(process.env.NEXT_PUBLIC_CLERK_TELEMETRY_DISABLED),(0,n.isTruthy)(process.env.NEXT_PUBLIC_CLERK_TELEMETRY_DEBUG);let q=(0,n.isTruthy)(process.env.NEXT_PUBLIC_CLERK_KEYLESS_DISABLED)||!1;a.s(["KEYLESS_DISABLED",()=>q,"SDK_METADATA",()=>p],15272);var r=a.i(347);let s=null!=(g=null==(f=null==(e=r.default)?void 0:e.version)?void 0:f.startsWith("13."))&&g||null!=(j=null==(i=null==(h=r.default)?void 0:h.version)?void 0:i.startsWith("14.0"))&&j;c=0,(null==(d=r.default)?void 0:d.version)&&isNaN(parseInt(r.default.version.split(".")[0],10)),a.s(["isNextWithUnstableServerActions",()=>s],76208);let t=!s&&(0,k.isDevelopmentEnvironment)()&&!q;a.s(["canUseKeyless",()=>t],29742)},37334,a=>{"use strict";var b=a.i(50944),c=a.i(72131),d=a.i(29742);function e(e){var f;let g=(null==(f=(0,b.useSelectedLayoutSegments)()[0])?void 0:f.startsWith("/_not-found"))||!1;return(0,c.useEffect)(()=>{d.canUseKeyless&&!g&&a.A(97477).then(a=>a.syncKeylessConfigAction({...e,returnUrl:window.location.href}))},[g]),e.children}a.s(["KeylessCookieSync",()=>e])},11080,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_app-router_e767206a._.js"].map(b=>a.l(b))).then(()=>b(88985)))},97477,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_app-router_a09380f4._.js"].map(b=>a.l(b))).then(()=>b(37247)))}];
1
+ module.exports=[347,a=>{a.v({name:"next",version:"16.1.6",description:"The React Framework",main:"./dist/server/next.js",license:"MIT",repository:"vercel/next.js",bugs:"https://github.com/vercel/next.js/issues",homepage:"https://nextjs.org",types:"index.d.ts",files:["dist","app.js","app.d.ts","babel.js","babel.d.ts","client.js","client.d.ts","compat","cache.js","cache.d.ts","constants.js","constants.d.ts","document.js","document.d.ts","dynamic.js","dynamic.d.ts","error.js","error.d.ts","future","legacy","script.js","script.d.ts","server.js","server.d.ts","head.js","head.d.ts","image.js","image.d.ts","link.js","link.d.ts","form.js","form.d.ts","router.js","router.d.ts","jest.js","jest.d.ts","og.js","og.d.ts","root-params.js","root-params.d.ts","types.d.ts","types.js","index.d.ts","types/global.d.ts","types/compiled.d.ts","image-types/global.d.ts","navigation-types/navigation.d.ts","navigation-types/compat/navigation.d.ts","font","navigation.js","navigation.d.ts","headers.js","headers.d.ts","navigation-types","web-vitals.js","web-vitals.d.ts","experimental/testing/server.js","experimental/testing/server.d.ts","experimental/testmode/playwright.js","experimental/testmode/playwright.d.ts","experimental/testmode/playwright/msw.js","experimental/testmode/playwright/msw.d.ts","experimental/testmode/proxy.js","experimental/testmode/proxy.d.ts"],bin:{next:"./dist/bin/next"},scripts:{dev:"cross-env NEXT_SERVER_NO_MANGLE=1 taskr",build:"taskr release",prepublishOnly:"cd ../../ && turbo run build",types:"tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --stripInternal --declarationDir dist",typescript:"tsec --noEmit","ncc-compiled":"taskr ncc",storybook:"BROWSER=none storybook dev -p 6006","build-storybook":"storybook build","test-storybook":"test-storybook"},taskr:{requires:["./taskfile-webpack.js","./taskfile-ncc.js","./taskfile-swc.js","./taskfile-watch.js"]},dependencies:{"@next/env":"16.1.6","@swc/helpers":"0.5.15","baseline-browser-mapping":"^2.8.3","caniuse-lite":"^1.0.30001579",postcss:"8.4.31","styled-jsx":"5.1.6"},peerDependencies:{"@opentelemetry/api":"^1.1.0","@playwright/test":"^1.51.1","babel-plugin-react-compiler":"*",react:"^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0","react-dom":"^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",sass:"^1.3.0"},peerDependenciesMeta:{"babel-plugin-react-compiler":{optional:!0},sass:{optional:!0},"@opentelemetry/api":{optional:!0},"@playwright/test":{optional:!0}},optionalDependencies:{sharp:"^0.34.4","@next/swc-darwin-arm64":"16.1.6","@next/swc-darwin-x64":"16.1.6","@next/swc-linux-arm64-gnu":"16.1.6","@next/swc-linux-arm64-musl":"16.1.6","@next/swc-linux-x64-gnu":"16.1.6","@next/swc-linux-x64-musl":"16.1.6","@next/swc-win32-arm64-msvc":"16.1.6","@next/swc-win32-x64-msvc":"16.1.6"},devDependencies:{"@babel/code-frame":"7.26.2","@babel/core":"7.26.10","@babel/eslint-parser":"7.24.6","@babel/generator":"7.27.0","@babel/plugin-syntax-bigint":"7.8.3","@babel/plugin-syntax-dynamic-import":"7.8.3","@babel/plugin-syntax-import-attributes":"7.26.0","@babel/plugin-syntax-jsx":"7.25.9","@babel/plugin-syntax-typescript":"7.25.4","@babel/plugin-transform-class-properties":"7.25.9","@babel/plugin-transform-export-namespace-from":"7.25.9","@babel/plugin-transform-modules-commonjs":"7.26.3","@babel/plugin-transform-numeric-separator":"7.25.9","@babel/plugin-transform-object-rest-spread":"7.25.9","@babel/plugin-transform-runtime":"7.26.10","@babel/preset-env":"7.26.9","@babel/preset-react":"7.26.3","@babel/preset-typescript":"7.27.0","@babel/runtime":"7.27.0","@babel/traverse":"7.27.0","@babel/types":"7.27.0","@base-ui-components/react":"1.0.0-beta.2","@capsizecss/metrics":"3.4.0","@edge-runtime/cookies":"6.0.0","@edge-runtime/ponyfill":"4.0.0","@edge-runtime/primitives":"6.0.0","@hapi/accept":"5.0.2","@jest/transform":"29.5.0","@jest/types":"29.5.0","@modelcontextprotocol/sdk":"1.18.1","@mswjs/interceptors":"0.23.0","@napi-rs/triples":"1.2.0","@next/font":"16.1.6","@next/polyfill-module":"16.1.6","@next/polyfill-nomodule":"16.1.6","@next/react-refresh-utils":"16.1.6","@next/swc":"16.1.6","@opentelemetry/api":"1.6.0","@playwright/test":"1.51.1","@rspack/core":"1.6.7","@storybook/addon-a11y":"8.6.0","@storybook/addon-essentials":"8.6.0","@storybook/addon-interactions":"8.6.0","@storybook/addon-webpack5-compiler-swc":"3.0.0","@storybook/blocks":"8.6.0","@storybook/react":"8.6.0","@storybook/react-webpack5":"8.6.0","@storybook/test":"8.6.0","@storybook/test-runner":"0.21.0","@swc/core":"1.11.24","@swc/types":"0.1.7","@taskr/clear":"1.1.0","@taskr/esnext":"1.1.0","@types/babel__code-frame":"7.0.6","@types/babel__core":"7.20.5","@types/babel__generator":"7.27.0","@types/babel__template":"7.4.4","@types/babel__traverse":"7.20.7","@types/bytes":"3.1.1","@types/ci-info":"2.0.0","@types/compression":"0.0.36","@types/content-disposition":"0.5.4","@types/content-type":"1.1.3","@types/cookie":"0.3.3","@types/cross-spawn":"6.0.0","@types/debug":"4.1.5","@types/express-serve-static-core":"4.17.33","@types/fresh":"0.5.0","@types/glob":"7.1.1","@types/jsonwebtoken":"9.0.0","@types/lodash":"4.14.198","@types/lodash.curry":"4.1.6","@types/path-to-regexp":"1.7.0","@types/picomatch":"2.3.3","@types/platform":"1.3.4","@types/react":"19.0.8","@types/react-dom":"19.0.3","@types/react-is":"18.2.4","@types/semver":"7.3.1","@types/send":"0.14.4","@types/serve-handler":"6.1.4","@types/shell-quote":"1.7.1","@types/tar":"6.1.5","@types/text-table":"0.2.1","@types/ua-parser-js":"0.7.36","@types/webpack-sources1":"npm:@types/webpack-sources@0.1.5","@types/ws":"8.2.0","@vercel/ncc":"0.34.0","@vercel/nft":"0.27.1","@vercel/routing-utils":"5.2.0","@vercel/turbopack-ecmascript-runtime":"*",acorn:"8.14.0",anser:"1.4.9",arg:"4.1.0",assert:"2.0.0","async-retry":"1.2.3","async-sema":"3.0.0","axe-playwright":"2.0.3","babel-loader":"10.0.0","babel-plugin-react-compiler":"0.0.0-experimental-3fde738-20250918","babel-plugin-transform-define":"2.0.0","babel-plugin-transform-react-remove-prop-types":"0.4.24","browserify-zlib":"0.2.0",browserslist:"4.28.0",buffer:"5.6.0",busboy:"1.6.0",bytes:"3.1.1","ci-info":"watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540","cli-select":"1.1.2","client-only":"0.0.1",commander:"12.1.0","comment-json":"3.0.3",compression:"1.7.4",conf:"5.0.0","constants-browserify":"1.0.0","content-disposition":"0.5.3","content-type":"1.0.4",cookie:"0.4.1","cross-env":"6.0.3","cross-spawn":"7.0.3","crypto-browserify":"3.12.0","css-loader":"7.1.2","css.escape":"1.5.1","cssnano-preset-default":"7.0.6","data-uri-to-buffer":"3.0.1",debug:"4.1.1",devalue:"2.0.1","domain-browser":"4.19.0","edge-runtime":"4.0.1",events:"3.3.0","find-up":"4.1.0",fresh:"0.5.2",glob:"7.1.7","gzip-size":"5.1.1","http-proxy":"1.18.1","http-proxy-agent":"5.0.0","https-browserify":"1.0.0","https-proxy-agent":"5.0.1","icss-utils":"5.1.0","ignore-loader":"0.1.2","image-size":"1.2.1","ipaddr.js":"2.2.0","is-docker":"2.0.0","is-wsl":"2.2.0","jest-worker":"27.5.1",json5:"2.2.3",jsonwebtoken:"9.0.0","loader-runner":"4.3.0","loader-utils2":"npm:loader-utils@2.0.4","loader-utils3":"npm:loader-utils@3.1.3","lodash.curry":"4.1.1","mini-css-extract-plugin":"2.4.4",msw:"2.3.0",nanoid:"3.1.32","native-url":"0.3.4","neo-async":"2.6.1","node-html-parser":"5.3.3",ora:"4.0.4","os-browserify":"0.3.0","p-limit":"3.1.0","p-queue":"6.6.2","path-browserify":"1.0.1","path-to-regexp":"6.3.0",picomatch:"4.0.1","postcss-flexbugs-fixes":"5.0.2","postcss-modules-extract-imports":"3.0.0","postcss-modules-local-by-default":"4.2.0","postcss-modules-scope":"3.0.0","postcss-modules-values":"4.0.0","postcss-preset-env":"7.4.3","postcss-safe-parser":"6.0.0","postcss-scss":"4.0.3","postcss-value-parser":"4.2.0",process:"0.11.10",punycode:"2.1.1","querystring-es3":"0.2.1","raw-body":"2.4.1","react-refresh":"0.12.0",recast:"0.23.11","regenerator-runtime":"0.13.4","safe-stable-stringify":"2.5.0","sass-loader":"16.0.5","schema-utils2":"npm:schema-utils@2.7.1","schema-utils3":"npm:schema-utils@3.0.0",semver:"7.3.2",send:"0.18.0","serve-handler":"6.1.6","server-only":"0.0.1",setimmediate:"1.0.5","shell-quote":"1.7.3","source-map":"0.6.1","source-map-loader":"5.0.0","source-map08":"npm:source-map@0.8.0-beta.0","stacktrace-parser":"0.1.10",storybook:"8.6.0","stream-browserify":"3.0.0","stream-http":"3.1.1","strict-event-emitter":"0.5.0","string-hash":"1.1.3",string_decoder:"1.3.0","strip-ansi":"6.0.0","style-loader":"4.0.0",superstruct:"1.0.3",tar:"6.1.15",taskr:"1.1.0",terser:"5.27.0","terser-webpack-plugin":"5.3.9","text-table":"0.2.0","timers-browserify":"2.0.12","tty-browserify":"0.0.1",typescript:"5.9.2","ua-parser-js":"1.0.35",unistore:"3.4.1",util:"0.12.4","vm-browserify":"1.1.2",watchpack:"2.4.0","web-vitals":"4.2.1",webpack:"5.98.0","webpack-sources1":"npm:webpack-sources@1.4.3","webpack-sources3":"npm:webpack-sources@3.2.3",ws:"8.2.3",zod:"3.25.76","zod-validation-error":"3.4.0"},keywords:["react","framework","nextjs","web","server","node","front-end","backend","cli","vercel"],engines:{node:">=20.9.0"}})},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},9270,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.AppRouterContext},36313,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.HooksClientContext},18341,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.ServerInsertedHtml},42602,(a,b,c)=>{"use strict";b.exports=a.r(18622)},72131,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].React},87924,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactJsxRuntime},35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},38783,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactServerDOMTurbopackClient},88347,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e={ACTION_HMR_REFRESH:function(){return k},ACTION_NAVIGATE:function(){return h},ACTION_REFRESH:function(){return g},ACTION_RESTORE:function(){return i},ACTION_SERVER_ACTION:function(){return l},ACTION_SERVER_PATCH:function(){return j},PrefetchKind:function(){return m}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});let g="refresh",h="navigate",i="restore",j="server-patch",k="hmr-refresh",l="server-action";var m=((d={}).AUTO="auto",d.FULL="full",d);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},67009,(a,b,c)=>{"use strict";function d(a){return null!==a&&"object"==typeof a&&"then"in a&&"function"==typeof a.then}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isThenable",{enumerable:!0,get:function(){return d}})},90841,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={dispatchAppRouterAction:function(){return i},useActionQueue:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(46058)._(a.r(72131)),g=a.r(67009),h=null;function i(a){if(null===h)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});h(a)}function j(a){let[b,c]=f.default.useState(a.state);h=b=>a.dispatch(b,c);let d=(0,f.useMemo)(()=>b,[b]);return(0,g.isThenable)(d)?(0,f.use)(d):d}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},20611,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"callServer",{enumerable:!0,get:function(){return g}});let d=a.r(72131),e=a.r(88347),f=a.r(90841);async function g(a,b){return new Promise((c,g)=>{(0,d.startTransition)(()=>{(0,f.dispatchAppRouterAction)({type:e.ACTION_SERVER_ACTION,actionId:a,actionArgs:b,resolve:c,reject:g})})})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},1722,(a,b,c)=>{"use strict";let d;Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"findSourceMapURL",{enumerable:!0,get:function(){return d}});("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},5050,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={callServer:function(){return f.callServer},createServerReference:function(){return h.createServerReference},findSourceMapURL:function(){return g.findSourceMapURL}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20611),g=a.r(1722),h=a.r(38783)},23299,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("00f20ca33d6723974130dc896e20fd035b8ca3fc87",b.callServer,void 0,b.findSourceMapURL,"detectKeylessEnvDriftAction");a.s(["detectKeylessEnvDriftAction",()=>c])},33015,42358,79302,46678,70852,a=>{"use strict";let b=[".lcl.dev",".lclstage.dev",".lclclerk.com"],c=[".accounts.dev",".accountsstage.dev",".accounts.lclclerk.com"],d=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],e=[".lcl.dev","lclstage.dev",".lclclerk.com",".accounts.lclclerk.com"],f=[".accountsstage.dev"];a.s(["CURRENT_DEV_INSTANCE_SUFFIXES",()=>c,"DEV_OR_STAGING_SUFFIXES",()=>d,"LEGACY_DEV_INSTANCE_SUFFIXES",()=>b,"LOCAL_API_URL",()=>"https://api.lclclerk.com","LOCAL_ENV_SUFFIXES",()=>e,"PROD_API_URL",()=>"https://api.clerk.com","STAGING_API_URL",()=>"https://api.clerkstage.dev","STAGING_ENV_SUFFIXES",()=>f],33015);let g=b=>"u">typeof atob&&"function"==typeof atob?atob(b):a.g.Buffer?new a.g.Buffer(b,"base64").toString():b;a.s(["isomorphicAtob",()=>g],42358);let h=b=>"u">typeof btoa&&"function"==typeof btoa?btoa(b):a.g.Buffer?new a.g.Buffer(b).toString("base64"):b;a.s(["isomorphicBtoa",()=>h],79302);let i="pk_live_",j="pk_test_",k=/^(([a-z]+)-){2}([0-9]{1,2})\.clerk\.accounts([a-z.]*)(dev|com)$/i;function l(a){return`${k.test(a)||a.startsWith("clerk.")&&b.some(b=>a.endsWith(b))?j:i}${h(`${a}$`)}`}function m(a){if(!a.endsWith("$"))return!1;let b=a.slice(0,-1);return!b.includes("$")&&b.includes(".")}function n(a,b={}){let c;if(!(a=a||"")||!o(a)){if(b.fatal&&!a)throw Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(b.fatal&&!o(a))throw Error("Publishable key not valid.");return null}let d=a.startsWith(i)?"production":"development";try{c=g(a.split("_")[2])}catch{if(b.fatal)throw Error("Publishable key not valid: Failed to decode key.");return null}if(!m(c)){if(b.fatal)throw Error("Publishable key not valid: Decoded key has invalid format.");return null}let e=c.slice(0,-1);return b.proxyUrl?e=b.proxyUrl:"development"!==d&&b.domain&&b.isSatellite&&(e=`clerk.${b.domain}`),{instanceType:d,frontendApi:e}}function o(a=""){try{if(!(a.startsWith(i)||a.startsWith(j)))return!1;let b=a.split("_");if(3!==b.length)return!1;let c=b[2];if(!c)return!1;return m(g(c))}catch{return!1}}function p(){let a=new Map;return{isDevOrStagingUrl:b=>{if(!b)return!1;let c="string"==typeof b?b:b.hostname,e=a.get(c);return void 0===e&&(e=d.some(a=>c.endsWith(a)),a.set(c,e)),e}}}function q(a){return a.startsWith("test_")||a.startsWith("pk_test_")}function r(a){return a.startsWith("live_")||a.startsWith("pk_live_")}function s(a){return a.startsWith("test_")||a.startsWith("sk_test_")}function t(a){return a.startsWith("live_")||a.startsWith("sk_live_")}async function u(a,b=globalThis.crypto.subtle){let c=new TextEncoder().encode(a);return h(String.fromCharCode(...new Uint8Array(await b.digest("sha-1",c)))).replace(/\+/gi,"-").replace(/\//gi,"_").substring(0,8)}let v=(a,b)=>`${a}_${b}`;a.s(["buildPublishableKey",()=>l,"createDevOrStagingUrlCache",()=>p,"getCookieSuffix",()=>u,"getSuffixedCookieName",()=>v,"isDevelopmentFromPublishableKey",()=>q,"isDevelopmentFromSecretKey",()=>s,"isProductionFromPublishableKey",()=>r,"isProductionFromSecretKey",()=>t,"isPublishableKey",()=>o,"parsePublishableKey",()=>n],46678);let w=a=>{if(0==a.length)return"";if(1==a.length)return a[0];let b=a.slice(0,-1).join(", ");return b+`, or ${a.slice(-1)}`},x=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/;function y(a){return x.test(a||"")}function z(a){let b=a||"";return b.charAt(0).toUpperCase()+b.slice(1)}function A(a){return a?a.replace(/([-_][a-z])/g,a=>a.toUpperCase().replace(/-|_/,"")):""}function B(a){return a?a.replace(/[A-Z]/g,a=>`_${a.toLowerCase()}`):""}let C=a=>{let b=c=>{if(!c)return c;if(Array.isArray(c))return c.map(a=>"object"==typeof a||Array.isArray(a)?b(a):a);let d={...c};for(let c of Object.keys(d)){let e=a(c.toString());e!==c&&(d[e]=d[c],delete d[c]),"object"==typeof d[e]&&(d[e]=b(d[e]))}return d};return b},D=C(B),E=C(A);function F(a){if("boolean"==typeof a)return a;if(null==a)return!1;if("string"==typeof a){if("true"===a.toLowerCase())return!0;if("false"===a.toLowerCase())return!1}let b=parseInt(a,10);return!isNaN(b)&&b>0}function G(a){return Object.entries(a).reduce((a,[b,c])=>(void 0!==c&&(a[b]=c),a),{})}a.s(["camelToSnake",()=>B,"deepCamelToSnake",()=>D,"deepSnakeToCamel",()=>E,"getNonUndefinedValues",()=>G,"isIPV4Address",()=>y,"isTruthy",()=>F,"snakeToCamel",()=>A,"titleize",()=>z,"toSentence",()=>w],70852)},90620,88239,a=>{"use strict";let b=(...a)=>{};a.s(["noop",()=>b],90620);let c=()=>{let a=b,c=b;return{promise:new Promise((b,d)=>{a=b,c=d}),resolve:a,reject:c}};a.s(["createDeferredPromise",()=>c],88239)},44002,65061,a=>{"use strict";let b=()=>!1,c=()=>!1,d=()=>{try{return!0}catch{}return!1};function e(a,b,c){return"function"==typeof a?a(b):void 0!==a?a:void 0!==c?c:void 0}a.s(["isDevelopmentEnvironment",()=>b,"isProductionEnvironment",()=>d,"isTestEnvironment",()=>c],44002),a.s(["handleValueOrFn",()=>e],65061)},94087,27339,81721,a=>{"use strict";var b=a.i(44002);function c(a){return Promise.all(Array.from(a).map(a=>a.then(a=>({status:"fulfilled",value:a}),a=>({status:"rejected",reason:a}))))}a.i(65061),a.i(90620),a.i(88239);let d=a=>{(0,b.isDevelopmentEnvironment)()&&console.error(`Clerk: ${a}`)},e=new Set(["__proto__","constructor","prototype"]),f=(a,b)=>{if(a&&b)for(let c in a)!e.has(c)&&(Object.prototype.hasOwnProperty.call(a,c)&&null!==a[c]&&"object"==typeof a[c]?(void 0===b[c]&&(b[c]=new(Object.getPrototypeOf(a[c])).constructor),f(a[c],b[c])):Object.prototype.hasOwnProperty.call(a,c)&&void 0!==a[c]&&(b[c]=a[c]))},g=(a,b)=>{if(a&&b)for(let c in a)!e.has(c)&&(Object.prototype.hasOwnProperty.call(a,c)&&null!==a[c]&&"object"==typeof a[c]?(void 0===b[c]&&(b[c]=new(Object.getPrototypeOf(a[c])).constructor),g(a[c],b[c])):Object.prototype.hasOwnProperty.call(a,c)&&void 0===b[c]&&(b[c]=a[c]))};function h(a){return a.endsWith(".lclstage.dev")||a.endsWith(".stgstage.dev")||a.endsWith(".clerkstage.dev")||a.endsWith(".accountsstage.dev")}a.s(["allSettled",()=>c,"fastDeepMergeAndKeep",()=>g,"fastDeepMergeAndReplace",()=>f,"logErrorInDevMode",()=>d],27339),a.s(["isStaging",()=>h],81721),a.s([],94087)},29742,82135,15272,76208,a=>{"use strict";let b;a.i(94087);var c,d,e,f,g,h,i,j,k=a.i(44002),l=a.i(33015);a.i(42358),a.i(79302);var m=a.i(46678),n=a.i(70852);a.s([],82135),process.env.NEXT_PUBLIC_CLERK_JS_VERSION,process.env.NEXT_PUBLIC_CLERK_JS_URL,process.env.CLERK_API_VERSION,process.env.CLERK_SECRET_KEY,process.env.CLERK_MACHINE_SECRET_KEY;let o=process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY||"";process.env.CLERK_ENCRYPTION_KEY,process.env.CLERK_API_URL||(b=(0,m.parsePublishableKey)(o)?.frontendApi,b?.startsWith("clerk.")&&l.LEGACY_DEV_INSTANCE_SUFFIXES.some(a=>b?.endsWith(a))?l.PROD_API_URL:l.LOCAL_ENV_SUFFIXES.some(a=>b?.endsWith(a))?l.LOCAL_API_URL:l.STAGING_ENV_SUFFIXES.some(a=>b?.endsWith(a))?l.STAGING_API_URL:l.PROD_API_URL),process.env.NEXT_PUBLIC_CLERK_DOMAIN,process.env.NEXT_PUBLIC_CLERK_PROXY_URL,(0,n.isTruthy)(process.env.NEXT_PUBLIC_CLERK_IS_SATELLITE),process.env.NEXT_PUBLIC_CLERK_SIGN_IN_URL,process.env.NEXT_PUBLIC_CLERK_SIGN_UP_URL;let p={name:"@clerk/nextjs",version:"6.39.0",environment:"production"};(0,n.isTruthy)(process.env.NEXT_PUBLIC_CLERK_TELEMETRY_DISABLED),(0,n.isTruthy)(process.env.NEXT_PUBLIC_CLERK_TELEMETRY_DEBUG);let q=(0,n.isTruthy)(process.env.NEXT_PUBLIC_CLERK_KEYLESS_DISABLED)||!1;a.s(["KEYLESS_DISABLED",()=>q,"SDK_METADATA",()=>p],15272);var r=a.i(347);let s=null!=(g=null==(f=null==(e=r.default)?void 0:e.version)?void 0:f.startsWith("13."))&&g||null!=(j=null==(i=null==(h=r.default)?void 0:h.version)?void 0:i.startsWith("14.0"))&&j;c=0,(null==(d=r.default)?void 0:d.version)&&isNaN(parseInt(r.default.version.split(".")[0],10)),a.s(["isNextWithUnstableServerActions",()=>s],76208);let t=!s&&(0,k.isDevelopmentEnvironment)()&&!q;a.s(["canUseKeyless",()=>t],29742)},37334,a=>{"use strict";var b=a.i(50944),c=a.i(72131),d=a.i(29742);function e(e){var f;let g=(null==(f=(0,b.useSelectedLayoutSegments)()[0])?void 0:f.startsWith("/_not-found"))||!1;return(0,c.useEffect)(()=>{d.canUseKeyless&&!g&&a.A(97477).then(a=>a.syncKeylessConfigAction({...e,returnUrl:window.location.href}))},[g]),e.children}a.s(["KeylessCookieSync",()=>e])},11080,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_app-router_e4fbd9e4._.js"].map(b=>a.l(b))).then(()=>b(88985)))},97477,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_app-router_c2a45392._.js"].map(b=>a.l(b))).then(()=>b(37247)))}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__1329224f._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__2f682641._.js.map
@@ -1,4 +1,4 @@
1
1
  module.exports=[66680,(a,b,c)=>{b.exports=a.x("node:crypto",()=>require("node:crypto"))},37936,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(11857)},13095,(a,b,c)=>{"use strict";function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
2
- Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},85978,a=>{"use strict";var b=a.i(37936),c=a.i(5246),d=a.i(13095);async function e(){var a,b,d,e,g,h;let i,j=await (0,c.headers)();return{nodeVersion:process.version,nextVersion:function(){var a;try{return null!=(a=process.title)?a:"unknown-process-title"}catch{return}}(),npmConfigUserAgent:process.env.npm_config_user_agent,userAgent:null!=(a=j.get("User-Agent"))?a:"unknown user-agent",port:process.env.PORT,host:null!=(b=j.get("host"))?b:"unknown host",xPort:null!=(d=j.get("x-forwarded-port"))?d:"unknown x-forwarded-port",xHost:null!=(e=j.get("x-forwarded-host"))?e:"unknown x-forwarded-host",xProtocol:null!=(g=j.get("x-forwarded-proto"))?g:"unknown x-forwarded-proto",xClerkAuthStatus:null!=(h=j.get("x-clerk-auth-status"))?h:"unknown x-clerk-auth-status",isCI:(i=new Set(["","false","0","no"]),f.some(a=>{let b=process.env[a];if(void 0===b)return!1;let c=b.trim().toLowerCase();return!i.has(c)}))}}let f=["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"];async function g(a){let b=new Headers;return a.nodeVersion&&b.set("Clerk-Node-Version",a.nodeVersion),a.nextVersion&&b.set("Clerk-Next-Version",a.nextVersion),a.npmConfigUserAgent&&b.set("Clerk-NPM-Config-User-Agent",a.npmConfigUserAgent),a.userAgent&&b.set("Clerk-Client-User-Agent",a.userAgent),a.port&&b.set("Clerk-Node-Port",a.port),a.host&&b.set("Clerk-Client-Host",a.host),a.xPort&&b.set("Clerk-X-Port",a.xPort),a.xHost&&b.set("Clerk-X-Host",a.xHost),a.xProtocol&&b.set("Clerk-X-Protocol",a.xProtocol),a.xClerkAuthStatus&&b.set("Clerk-Auth-Status",a.xClerkAuthStatus),a.isCI&&b.set("Clerk-Is-CI","true"),b}(0,d.ensureServerEntryExports)([e,g]),(0,b.registerServerReference)(e,"004a6aacd4a5c6be55be098d56702d5e52ad75ac50",null),(0,b.registerServerReference)(g,"405d3bb32b2549660d793145b882768b07612455d3",null),a.s(["collectKeylessMetadata",()=>e,"formatMetadataHeaders",()=>g])},26022,a=>{"use strict";var b=a.i(37936),c=a.i(5246);a.i(70396);var d=a.i(73727),e=a.i(83693),f=a.i(63365),g=a.i(24088),h=a.i(43197),i=a.i(13095);let j={secure:!1,httpOnly:!1,sameSite:"lax"};async function k(a){let{claimUrl:b,publishableKey:e,secretKey:h,returnUrl:i}=a,k=await (0,c.cookies)(),l=new Request("https://placeholder.com",{headers:await (0,c.headers)()}),m=await (0,g.getKeylessCookieValue)(a=>{var b;return null==(b=k.get(a))?void 0:b.value}),n=(null==m?void 0:m.publishableKey)===e,o=(null==m?void 0:m.secretKey)===h;if((!n||!o)&&(k.set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:b,publishableKey:e,secretKey:h}),j),(0,f.detectClerkMiddleware)(l)))return void(0,d.redirect)(`/clerk-sync-keyless?returnUrl=${i}`,d.RedirectType.replace)}async function l(){if(!h.canUseKeyless)return null;let b=await a.A(72721).then(a=>a.createOrReadKeyless()).catch(()=>null);if(!b)return e.errorThrower.throwMissingPublishableKeyError(),null;let{clerkDevelopmentCache:d,createKeylessModeMessage:f}=await a.A(21215);null==d||d.log({cacheKey:b.publishableKey,msg:f(b)});let{claimUrl:i,publishableKey:k,secretKey:l,apiKeysUrl:m}=b;return(await (0,c.cookies)()).set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:i,publishableKey:k,secretKey:l}),j),{claimUrl:i,publishableKey:k,apiKeysUrl:m}}async function m(){h.canUseKeyless&&await a.A(72721).then(a=>a.removeKeyless()).catch(()=>{})}async function n(){if(h.canUseKeyless)try{let{detectKeylessEnvDrift:b}=await a.A(67338);await b()}catch{}}(0,i.ensureServerEntryExports)([k,l,m,n]),(0,b.registerServerReference)(k,"403754a271da3b1024bbc80f6b339d37844bb3b448",null),(0,b.registerServerReference)(l,"000ccec5b3eb99edc3041a8bdb0b79bceb2ff1b127",null),(0,b.registerServerReference)(m,"00cc4cc5d17316a47e814d93e4b6aee4d6f6d4317c",null),(0,b.registerServerReference)(n,"00d6aa07ef5202e6469da301e53f7418b051855954",null),a.s(["createOrReadKeylessAction",()=>l,"deleteKeylessAction",()=>m,"detectKeylessEnvDriftAction",()=>n,"syncKeylessConfigAction",()=>k])},75582,57110,76010,a=>{"use strict";var b=a.i(59292);function c(a){return async(...b)=>{let{data:c,errors:d}=await a(...b);if(d)throw d[0];return c}}function d(a){return(...b)=>{let{data:c,errors:d}=a(...b);if(d)throw d[0];return c}}a.i(79378),a.s(["withLegacyReturn",()=>c,"withLegacySyncReturn",()=>d],57110),a.i(75400),a.i(61675),a.i(16765),a.i(28249),a.i(49326),a.i(71327);var e=a.i(3598),f=a.i(36482),g=class{#a;#b=864e5;constructor(a){this.#a=a}isEventThrottled(a){let b=Date.now(),c=this.#c(a),d=this.#a.getItem(c);return!!d&&!(b-d>this.#b)||(this.#a.setItem(c,b),!1)}#c(a){let{sk:b,pk:c,payload:d,...e}=a,f={...d,...e};return JSON.stringify(Object.keys({...d,...e}).sort().map(a=>f[a]))}},h=class{#d="clerk_telemetry_throttler";getItem(a){return this.#e()[a]}setItem(a,b){try{let c=this.#e();c[a]=b,localStorage.setItem(this.#d,JSON.stringify(c))}catch(a){a instanceof DOMException&&("QuotaExceededError"===a.name||"NS_ERROR_DOM_QUOTA_REACHED"===a.name)&&localStorage.length>0&&localStorage.removeItem(this.#d)}}removeItem(a){try{let b=this.#e();delete b[a],localStorage.setItem(this.#d,JSON.stringify(b))}catch{}}#e(){try{let a=localStorage.getItem(this.#d);if(!a)return{};return JSON.parse(a)}catch{return{}}}static isSupported(){return!1}},i=class{#a=new Map;#f=1e4;getItem(a){return this.#a.size>this.#f?void this.#a.clear():this.#a.get(a)}setItem(a,b){this.#a.set(a,b)}removeItem(a){this.#a.delete(a)}};let j=new Set(["error","warn","info","debug","trace"]);var k=class{#g;#h;#i={};#j=[];#k=null;constructor(a){this.#g={maxBufferSize:a.maxBufferSize??5,samplingRate:a.samplingRate??1,perEventSampling:a.perEventSampling??!0,disabled:a.disabled??!1,debug:a.debug??!1,endpoint:"https://clerk-telemetry.com"},a.clerkVersion?this.#i.clerkVersion=a.clerkVersion??"":this.#i.clerkVersion="",this.#i.sdk=a.sdk,this.#i.sdkVersion=a.sdkVersion,this.#i.publishableKey=a.publishableKey??"";const b=(0,e.parsePublishableKey)(a.publishableKey);b&&(this.#i.instanceType=b.instanceType),a.secretKey&&(this.#i.secretKey=a.secretKey.substring(0,16)),this.#h=new g(h.isSupported()?new h:new i)}get isEnabled(){return!("development"!==this.#i.instanceType||this.#g.disabled||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DISABLED))}get isDebug(){return this.#g.debug||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DEBUG)}record(a){try{let b=this.#l(a.event,a.payload);if(this.#m(b.event,b),!this.#n(b,a.eventSamplingRate))return;this.#j.push({kind:"event",value:b}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry event",a)}}recordLog(a){try{if(!this.#p(a))return;let b="string"==typeof a?.level&&j.has(a.level),c="string"==typeof a?.message&&a.message.trim().length>0,d=null,e=a?.timestamp;if("number"==typeof e||"string"==typeof e){let a=new Date(e);Number.isNaN(a.getTime())||(d=a)}if(!b||!c||null===d){this.isDebug&&"u">typeof console&&console.warn("[clerk/telemetry] Dropping invalid telemetry log entry",{levelIsValid:b,messageIsValid:c,timestampIsValid:null!==d});return}let f=this.#q(),g={sdk:f.name,sdkv:f.version,cv:this.#i.clerkVersion??"",lvl:a.level,msg:a.message,ts:d.toISOString(),pk:this.#i.publishableKey||null,payload:this.#r(a.context)};this.#j.push({kind:"log",value:g}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry log entry",a)}}#n(a,b){return this.isEnabled&&!this.isDebug&&this.#s(a,b)}#p(a){return!0}#s(a,b){let c=Math.random();return!!(c<=this.#g.samplingRate&&(!1===this.#g.perEventSampling||void 0===b||c<=b))&&!this.#h.isEventThrottled(a)}#o(){this.#t()}#t(){let a=[...this.#j];if(this.#j=[],this.#k=null,0===a.length)return;let b=a.filter(a=>"event"===a.kind).map(a=>a.value),c=a.filter(a=>"log"===a.kind).map(a=>a.value);b.length>0&&fetch(new URL("/v1/event",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({events:b})}).catch(()=>void 0),c.length>0&&fetch(new URL("/v1/logs",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({logs:c})}).catch(()=>void 0)}#m(a,b){this.isDebug&&(void 0!==console.groupCollapsed?(console.groupCollapsed("[clerk/telemetry]",a),console.log(b),console.groupEnd()):console.log("[clerk/telemetry]",a,b))}#q(){return{name:this.#i.sdk,version:this.#i.sdkVersion}}#l(a,b){let c=this.#q();return{event:a,cv:this.#i.clerkVersion??"",it:this.#i.instanceType??"",sdk:c.name,sdkv:c.version,...this.#i.publishableKey?{pk:this.#i.publishableKey}:{},...this.#i.secretKey?{sk:this.#i.secretKey}:{},payload:b}}#r(a){if(null==a||"object"!=typeof a)return null;try{let b=JSON.parse(JSON.stringify(a));if(b&&"object"==typeof b&&!Array.isArray(b))return b;return null}catch{return null}}},l=c(b.verifyToken);function m(a){let c={...a},d=(0,b.createBackendApiClient)(c),e=(0,b.createAuthenticateRequest)({options:c,apiClient:d}),f=new k({publishableKey:c.publishableKey,secretKey:c.secretKey,samplingRate:.1,...c.sdkMetadata?{sdk:c.sdkMetadata.name,sdkVersion:c.sdkMetadata.version}:{},...c.telemetry||{}});return{...d,...e,telemetry:f}}a.s(["createClerkClient",()=>m,"verifyToken",()=>l],76010);var n=a.i(82849);let o={secretKey:n.SECRET_KEY,publishableKey:n.PUBLISHABLE_KEY,apiUrl:n.API_URL,apiVersion:n.API_VERSION,userAgent:"@clerk/nextjs@6.39.0",proxyUrl:n.PROXY_URL,domain:n.DOMAIN,isSatellite:n.IS_SATELLITE,machineSecretKey:n.MACHINE_SECRET_KEY,sdkMetadata:n.SDK_METADATA,telemetry:{disabled:n.TELEMETRY_DISABLED,debug:n.TELEMETRY_DEBUG}},p=a=>m({...o,...a});a.s(["createClerkClientWithOptions",()=>p],75582)},58658,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","Waitlist")},80832,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","Waitlist")},40163,a=>{"use strict";a.i(58658);var b=a.i(80832);a.n(b)},72721,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f8f50c0b._.js"].map(b=>a.l(b))).then(()=>b(488)))},21215,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_server_keyless-log-cache_52006def.js"].map(b=>a.l(b))).then(()=>b(78829)))},67338,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__9f45b36b._.js"].map(b=>a.l(b))).then(()=>b(71227)))},67257,a=>{a.v(b=>Promise.all(["server/chunks/ssr/d4b1c_modules_@clerk_nextjs_dist_esm_app-router_client_keyless-cookie-sync_f823d0f8.js"].map(b=>a.l(b))).then(()=>b(6223)))},23804,a=>{a.v(a=>Promise.resolve().then(()=>a(5246)))},77710,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__10a850c6._.js"].map(b=>a.l(b))).then(()=>b(15866)))}];
2
+ Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},85978,a=>{"use strict";var b=a.i(37936),c=a.i(5246),d=a.i(13095);async function e(){var a,b,d,e,g,h;let i,j=await (0,c.headers)();return{nodeVersion:process.version,nextVersion:function(){var a;try{return null!=(a=process.title)?a:"unknown-process-title"}catch{return}}(),npmConfigUserAgent:process.env.npm_config_user_agent,userAgent:null!=(a=j.get("User-Agent"))?a:"unknown user-agent",port:process.env.PORT,host:null!=(b=j.get("host"))?b:"unknown host",xPort:null!=(d=j.get("x-forwarded-port"))?d:"unknown x-forwarded-port",xHost:null!=(e=j.get("x-forwarded-host"))?e:"unknown x-forwarded-host",xProtocol:null!=(g=j.get("x-forwarded-proto"))?g:"unknown x-forwarded-proto",xClerkAuthStatus:null!=(h=j.get("x-clerk-auth-status"))?h:"unknown x-clerk-auth-status",isCI:(i=new Set(["","false","0","no"]),f.some(a=>{let b=process.env[a];if(void 0===b)return!1;let c=b.trim().toLowerCase();return!i.has(c)}))}}let f=["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"];async function g(a){let b=new Headers;return a.nodeVersion&&b.set("Clerk-Node-Version",a.nodeVersion),a.nextVersion&&b.set("Clerk-Next-Version",a.nextVersion),a.npmConfigUserAgent&&b.set("Clerk-NPM-Config-User-Agent",a.npmConfigUserAgent),a.userAgent&&b.set("Clerk-Client-User-Agent",a.userAgent),a.port&&b.set("Clerk-Node-Port",a.port),a.host&&b.set("Clerk-Client-Host",a.host),a.xPort&&b.set("Clerk-X-Port",a.xPort),a.xHost&&b.set("Clerk-X-Host",a.xHost),a.xProtocol&&b.set("Clerk-X-Protocol",a.xProtocol),a.xClerkAuthStatus&&b.set("Clerk-Auth-Status",a.xClerkAuthStatus),a.isCI&&b.set("Clerk-Is-CI","true"),b}(0,d.ensureServerEntryExports)([e,g]),(0,b.registerServerReference)(e,"002fad6291a173d3e2aab3cc75056d19fb8c6560f0",null),(0,b.registerServerReference)(g,"403c63c36c8fd9f283c92b5a1aa14d4194f4688e4c",null),a.s(["collectKeylessMetadata",()=>e,"formatMetadataHeaders",()=>g])},26022,a=>{"use strict";var b=a.i(37936),c=a.i(5246);a.i(70396);var d=a.i(73727),e=a.i(83693),f=a.i(63365),g=a.i(24088),h=a.i(43197),i=a.i(13095);let j={secure:!1,httpOnly:!1,sameSite:"lax"};async function k(a){let{claimUrl:b,publishableKey:e,secretKey:h,returnUrl:i}=a,k=await (0,c.cookies)(),l=new Request("https://placeholder.com",{headers:await (0,c.headers)()}),m=await (0,g.getKeylessCookieValue)(a=>{var b;return null==(b=k.get(a))?void 0:b.value}),n=(null==m?void 0:m.publishableKey)===e,o=(null==m?void 0:m.secretKey)===h;if((!n||!o)&&(k.set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:b,publishableKey:e,secretKey:h}),j),(0,f.detectClerkMiddleware)(l)))return void(0,d.redirect)(`/clerk-sync-keyless?returnUrl=${i}`,d.RedirectType.replace)}async function l(){if(!h.canUseKeyless)return null;let b=await a.A(72721).then(a=>a.createOrReadKeyless()).catch(()=>null);if(!b)return e.errorThrower.throwMissingPublishableKeyError(),null;let{clerkDevelopmentCache:d,createKeylessModeMessage:f}=await a.A(21215);null==d||d.log({cacheKey:b.publishableKey,msg:f(b)});let{claimUrl:i,publishableKey:k,secretKey:l,apiKeysUrl:m}=b;return(await (0,c.cookies)()).set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:i,publishableKey:k,secretKey:l}),j),{claimUrl:i,publishableKey:k,apiKeysUrl:m}}async function m(){h.canUseKeyless&&await a.A(72721).then(a=>a.removeKeyless()).catch(()=>{})}async function n(){if(h.canUseKeyless)try{let{detectKeylessEnvDrift:b}=await a.A(67338);await b()}catch{}}(0,i.ensureServerEntryExports)([k,l,m,n]),(0,b.registerServerReference)(k,"400560849ebfd34994a55c30d8679aef02071df1ed",null),(0,b.registerServerReference)(l,"0026bca433dc1dbb125257ec8a8dc771205803c02d",null),(0,b.registerServerReference)(m,"009c7815c0df85d8d336bd83f6987925e9fc5f1aa3",null),(0,b.registerServerReference)(n,"00f20ca33d6723974130dc896e20fd035b8ca3fc87",null),a.s(["createOrReadKeylessAction",()=>l,"deleteKeylessAction",()=>m,"detectKeylessEnvDriftAction",()=>n,"syncKeylessConfigAction",()=>k])},75582,57110,76010,a=>{"use strict";var b=a.i(59292);function c(a){return async(...b)=>{let{data:c,errors:d}=await a(...b);if(d)throw d[0];return c}}function d(a){return(...b)=>{let{data:c,errors:d}=a(...b);if(d)throw d[0];return c}}a.i(79378),a.s(["withLegacyReturn",()=>c,"withLegacySyncReturn",()=>d],57110),a.i(75400),a.i(61675),a.i(16765),a.i(28249),a.i(49326),a.i(71327);var e=a.i(3598),f=a.i(36482),g=class{#a;#b=864e5;constructor(a){this.#a=a}isEventThrottled(a){let b=Date.now(),c=this.#c(a),d=this.#a.getItem(c);return!!d&&!(b-d>this.#b)||(this.#a.setItem(c,b),!1)}#c(a){let{sk:b,pk:c,payload:d,...e}=a,f={...d,...e};return JSON.stringify(Object.keys({...d,...e}).sort().map(a=>f[a]))}},h=class{#d="clerk_telemetry_throttler";getItem(a){return this.#e()[a]}setItem(a,b){try{let c=this.#e();c[a]=b,localStorage.setItem(this.#d,JSON.stringify(c))}catch(a){a instanceof DOMException&&("QuotaExceededError"===a.name||"NS_ERROR_DOM_QUOTA_REACHED"===a.name)&&localStorage.length>0&&localStorage.removeItem(this.#d)}}removeItem(a){try{let b=this.#e();delete b[a],localStorage.setItem(this.#d,JSON.stringify(b))}catch{}}#e(){try{let a=localStorage.getItem(this.#d);if(!a)return{};return JSON.parse(a)}catch{return{}}}static isSupported(){return!1}},i=class{#a=new Map;#f=1e4;getItem(a){return this.#a.size>this.#f?void this.#a.clear():this.#a.get(a)}setItem(a,b){this.#a.set(a,b)}removeItem(a){this.#a.delete(a)}};let j=new Set(["error","warn","info","debug","trace"]);var k=class{#g;#h;#i={};#j=[];#k=null;constructor(a){this.#g={maxBufferSize:a.maxBufferSize??5,samplingRate:a.samplingRate??1,perEventSampling:a.perEventSampling??!0,disabled:a.disabled??!1,debug:a.debug??!1,endpoint:"https://clerk-telemetry.com"},a.clerkVersion?this.#i.clerkVersion=a.clerkVersion??"":this.#i.clerkVersion="",this.#i.sdk=a.sdk,this.#i.sdkVersion=a.sdkVersion,this.#i.publishableKey=a.publishableKey??"";const b=(0,e.parsePublishableKey)(a.publishableKey);b&&(this.#i.instanceType=b.instanceType),a.secretKey&&(this.#i.secretKey=a.secretKey.substring(0,16)),this.#h=new g(h.isSupported()?new h:new i)}get isEnabled(){return!("development"!==this.#i.instanceType||this.#g.disabled||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DISABLED))}get isDebug(){return this.#g.debug||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DEBUG)}record(a){try{let b=this.#l(a.event,a.payload);if(this.#m(b.event,b),!this.#n(b,a.eventSamplingRate))return;this.#j.push({kind:"event",value:b}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry event",a)}}recordLog(a){try{if(!this.#p(a))return;let b="string"==typeof a?.level&&j.has(a.level),c="string"==typeof a?.message&&a.message.trim().length>0,d=null,e=a?.timestamp;if("number"==typeof e||"string"==typeof e){let a=new Date(e);Number.isNaN(a.getTime())||(d=a)}if(!b||!c||null===d){this.isDebug&&"u">typeof console&&console.warn("[clerk/telemetry] Dropping invalid telemetry log entry",{levelIsValid:b,messageIsValid:c,timestampIsValid:null!==d});return}let f=this.#q(),g={sdk:f.name,sdkv:f.version,cv:this.#i.clerkVersion??"",lvl:a.level,msg:a.message,ts:d.toISOString(),pk:this.#i.publishableKey||null,payload:this.#r(a.context)};this.#j.push({kind:"log",value:g}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry log entry",a)}}#n(a,b){return this.isEnabled&&!this.isDebug&&this.#s(a,b)}#p(a){return!0}#s(a,b){let c=Math.random();return!!(c<=this.#g.samplingRate&&(!1===this.#g.perEventSampling||void 0===b||c<=b))&&!this.#h.isEventThrottled(a)}#o(){this.#t()}#t(){let a=[...this.#j];if(this.#j=[],this.#k=null,0===a.length)return;let b=a.filter(a=>"event"===a.kind).map(a=>a.value),c=a.filter(a=>"log"===a.kind).map(a=>a.value);b.length>0&&fetch(new URL("/v1/event",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({events:b})}).catch(()=>void 0),c.length>0&&fetch(new URL("/v1/logs",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({logs:c})}).catch(()=>void 0)}#m(a,b){this.isDebug&&(void 0!==console.groupCollapsed?(console.groupCollapsed("[clerk/telemetry]",a),console.log(b),console.groupEnd()):console.log("[clerk/telemetry]",a,b))}#q(){return{name:this.#i.sdk,version:this.#i.sdkVersion}}#l(a,b){let c=this.#q();return{event:a,cv:this.#i.clerkVersion??"",it:this.#i.instanceType??"",sdk:c.name,sdkv:c.version,...this.#i.publishableKey?{pk:this.#i.publishableKey}:{},...this.#i.secretKey?{sk:this.#i.secretKey}:{},payload:b}}#r(a){if(null==a||"object"!=typeof a)return null;try{let b=JSON.parse(JSON.stringify(a));if(b&&"object"==typeof b&&!Array.isArray(b))return b;return null}catch{return null}}},l=c(b.verifyToken);function m(a){let c={...a},d=(0,b.createBackendApiClient)(c),e=(0,b.createAuthenticateRequest)({options:c,apiClient:d}),f=new k({publishableKey:c.publishableKey,secretKey:c.secretKey,samplingRate:.1,...c.sdkMetadata?{sdk:c.sdkMetadata.name,sdkVersion:c.sdkMetadata.version}:{},...c.telemetry||{}});return{...d,...e,telemetry:f}}a.s(["createClerkClient",()=>m,"verifyToken",()=>l],76010);var n=a.i(82849);let o={secretKey:n.SECRET_KEY,publishableKey:n.PUBLISHABLE_KEY,apiUrl:n.API_URL,apiVersion:n.API_VERSION,userAgent:"@clerk/nextjs@6.39.0",proxyUrl:n.PROXY_URL,domain:n.DOMAIN,isSatellite:n.IS_SATELLITE,machineSecretKey:n.MACHINE_SECRET_KEY,sdkMetadata:n.SDK_METADATA,telemetry:{disabled:n.TELEMETRY_DISABLED,debug:n.TELEMETRY_DEBUG}},p=a=>m({...o,...a});a.s(["createClerkClientWithOptions",()=>p],75582)},58658,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","Waitlist")},80832,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","Waitlist")},40163,a=>{"use strict";a.i(58658);var b=a.i(80832);a.n(b)},72721,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f8f50c0b._.js"].map(b=>a.l(b))).then(()=>b(488)))},21215,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_server_keyless-log-cache_52006def.js"].map(b=>a.l(b))).then(()=>b(78829)))},67338,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__9f45b36b._.js"].map(b=>a.l(b))).then(()=>b(71227)))},67257,a=>{a.v(b=>Promise.all(["server/chunks/ssr/d4b1c_modules_@clerk_nextjs_dist_esm_app-router_client_keyless-cookie-sync_f823d0f8.js"].map(b=>a.l(b))).then(()=>b(6223)))},23804,a=>{a.v(a=>Promise.resolve().then(()=>a(5246)))},77710,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__10a850c6._.js"].map(b=>a.l(b))).then(()=>b(15866)))}];
3
3
 
4
4
  //# sourceMappingURL=%5Broot-of-the-server%5D__53bcdbc9._.js.map
@@ -1,4 +1,4 @@
1
1
  module.exports=[66680,(a,b,c)=>{b.exports=a.x("node:crypto",()=>require("node:crypto"))},37936,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(11857)},13095,(a,b,c)=>{"use strict";function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
2
- Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},85978,a=>{"use strict";var b=a.i(37936),c=a.i(5246),d=a.i(13095);async function e(){var a,b,d,e,g,h;let i,j=await (0,c.headers)();return{nodeVersion:process.version,nextVersion:function(){var a;try{return null!=(a=process.title)?a:"unknown-process-title"}catch{return}}(),npmConfigUserAgent:process.env.npm_config_user_agent,userAgent:null!=(a=j.get("User-Agent"))?a:"unknown user-agent",port:process.env.PORT,host:null!=(b=j.get("host"))?b:"unknown host",xPort:null!=(d=j.get("x-forwarded-port"))?d:"unknown x-forwarded-port",xHost:null!=(e=j.get("x-forwarded-host"))?e:"unknown x-forwarded-host",xProtocol:null!=(g=j.get("x-forwarded-proto"))?g:"unknown x-forwarded-proto",xClerkAuthStatus:null!=(h=j.get("x-clerk-auth-status"))?h:"unknown x-clerk-auth-status",isCI:(i=new Set(["","false","0","no"]),f.some(a=>{let b=process.env[a];if(void 0===b)return!1;let c=b.trim().toLowerCase();return!i.has(c)}))}}let f=["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"];async function g(a){let b=new Headers;return a.nodeVersion&&b.set("Clerk-Node-Version",a.nodeVersion),a.nextVersion&&b.set("Clerk-Next-Version",a.nextVersion),a.npmConfigUserAgent&&b.set("Clerk-NPM-Config-User-Agent",a.npmConfigUserAgent),a.userAgent&&b.set("Clerk-Client-User-Agent",a.userAgent),a.port&&b.set("Clerk-Node-Port",a.port),a.host&&b.set("Clerk-Client-Host",a.host),a.xPort&&b.set("Clerk-X-Port",a.xPort),a.xHost&&b.set("Clerk-X-Host",a.xHost),a.xProtocol&&b.set("Clerk-X-Protocol",a.xProtocol),a.xClerkAuthStatus&&b.set("Clerk-Auth-Status",a.xClerkAuthStatus),a.isCI&&b.set("Clerk-Is-CI","true"),b}(0,d.ensureServerEntryExports)([e,g]),(0,b.registerServerReference)(e,"004a6aacd4a5c6be55be098d56702d5e52ad75ac50",null),(0,b.registerServerReference)(g,"405d3bb32b2549660d793145b882768b07612455d3",null),a.s(["collectKeylessMetadata",()=>e,"formatMetadataHeaders",()=>g])},26022,a=>{"use strict";var b=a.i(37936),c=a.i(5246);a.i(70396);var d=a.i(73727),e=a.i(83693),f=a.i(63365),g=a.i(24088),h=a.i(43197),i=a.i(13095);let j={secure:!1,httpOnly:!1,sameSite:"lax"};async function k(a){let{claimUrl:b,publishableKey:e,secretKey:h,returnUrl:i}=a,k=await (0,c.cookies)(),l=new Request("https://placeholder.com",{headers:await (0,c.headers)()}),m=await (0,g.getKeylessCookieValue)(a=>{var b;return null==(b=k.get(a))?void 0:b.value}),n=(null==m?void 0:m.publishableKey)===e,o=(null==m?void 0:m.secretKey)===h;if((!n||!o)&&(k.set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:b,publishableKey:e,secretKey:h}),j),(0,f.detectClerkMiddleware)(l)))return void(0,d.redirect)(`/clerk-sync-keyless?returnUrl=${i}`,d.RedirectType.replace)}async function l(){if(!h.canUseKeyless)return null;let b=await a.A(72721).then(a=>a.createOrReadKeyless()).catch(()=>null);if(!b)return e.errorThrower.throwMissingPublishableKeyError(),null;let{clerkDevelopmentCache:d,createKeylessModeMessage:f}=await a.A(21215);null==d||d.log({cacheKey:b.publishableKey,msg:f(b)});let{claimUrl:i,publishableKey:k,secretKey:l,apiKeysUrl:m}=b;return(await (0,c.cookies)()).set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:i,publishableKey:k,secretKey:l}),j),{claimUrl:i,publishableKey:k,apiKeysUrl:m}}async function m(){h.canUseKeyless&&await a.A(72721).then(a=>a.removeKeyless()).catch(()=>{})}async function n(){if(h.canUseKeyless)try{let{detectKeylessEnvDrift:b}=await a.A(67338);await b()}catch{}}(0,i.ensureServerEntryExports)([k,l,m,n]),(0,b.registerServerReference)(k,"403754a271da3b1024bbc80f6b339d37844bb3b448",null),(0,b.registerServerReference)(l,"000ccec5b3eb99edc3041a8bdb0b79bceb2ff1b127",null),(0,b.registerServerReference)(m,"00cc4cc5d17316a47e814d93e4b6aee4d6f6d4317c",null),(0,b.registerServerReference)(n,"00d6aa07ef5202e6469da301e53f7418b051855954",null),a.s(["createOrReadKeylessAction",()=>l,"deleteKeylessAction",()=>m,"detectKeylessEnvDriftAction",()=>n,"syncKeylessConfigAction",()=>k])},75582,57110,76010,a=>{"use strict";var b=a.i(59292);function c(a){return async(...b)=>{let{data:c,errors:d}=await a(...b);if(d)throw d[0];return c}}function d(a){return(...b)=>{let{data:c,errors:d}=a(...b);if(d)throw d[0];return c}}a.i(79378),a.s(["withLegacyReturn",()=>c,"withLegacySyncReturn",()=>d],57110),a.i(75400),a.i(61675),a.i(16765),a.i(28249),a.i(49326),a.i(71327);var e=a.i(3598),f=a.i(36482),g=class{#a;#b=864e5;constructor(a){this.#a=a}isEventThrottled(a){let b=Date.now(),c=this.#c(a),d=this.#a.getItem(c);return!!d&&!(b-d>this.#b)||(this.#a.setItem(c,b),!1)}#c(a){let{sk:b,pk:c,payload:d,...e}=a,f={...d,...e};return JSON.stringify(Object.keys({...d,...e}).sort().map(a=>f[a]))}},h=class{#d="clerk_telemetry_throttler";getItem(a){return this.#e()[a]}setItem(a,b){try{let c=this.#e();c[a]=b,localStorage.setItem(this.#d,JSON.stringify(c))}catch(a){a instanceof DOMException&&("QuotaExceededError"===a.name||"NS_ERROR_DOM_QUOTA_REACHED"===a.name)&&localStorage.length>0&&localStorage.removeItem(this.#d)}}removeItem(a){try{let b=this.#e();delete b[a],localStorage.setItem(this.#d,JSON.stringify(b))}catch{}}#e(){try{let a=localStorage.getItem(this.#d);if(!a)return{};return JSON.parse(a)}catch{return{}}}static isSupported(){return!1}},i=class{#a=new Map;#f=1e4;getItem(a){return this.#a.size>this.#f?void this.#a.clear():this.#a.get(a)}setItem(a,b){this.#a.set(a,b)}removeItem(a){this.#a.delete(a)}};let j=new Set(["error","warn","info","debug","trace"]);var k=class{#g;#h;#i={};#j=[];#k=null;constructor(a){this.#g={maxBufferSize:a.maxBufferSize??5,samplingRate:a.samplingRate??1,perEventSampling:a.perEventSampling??!0,disabled:a.disabled??!1,debug:a.debug??!1,endpoint:"https://clerk-telemetry.com"},a.clerkVersion?this.#i.clerkVersion=a.clerkVersion??"":this.#i.clerkVersion="",this.#i.sdk=a.sdk,this.#i.sdkVersion=a.sdkVersion,this.#i.publishableKey=a.publishableKey??"";const b=(0,e.parsePublishableKey)(a.publishableKey);b&&(this.#i.instanceType=b.instanceType),a.secretKey&&(this.#i.secretKey=a.secretKey.substring(0,16)),this.#h=new g(h.isSupported()?new h:new i)}get isEnabled(){return!("development"!==this.#i.instanceType||this.#g.disabled||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DISABLED))}get isDebug(){return this.#g.debug||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DEBUG)}record(a){try{let b=this.#l(a.event,a.payload);if(this.#m(b.event,b),!this.#n(b,a.eventSamplingRate))return;this.#j.push({kind:"event",value:b}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry event",a)}}recordLog(a){try{if(!this.#p(a))return;let b="string"==typeof a?.level&&j.has(a.level),c="string"==typeof a?.message&&a.message.trim().length>0,d=null,e=a?.timestamp;if("number"==typeof e||"string"==typeof e){let a=new Date(e);Number.isNaN(a.getTime())||(d=a)}if(!b||!c||null===d){this.isDebug&&"u">typeof console&&console.warn("[clerk/telemetry] Dropping invalid telemetry log entry",{levelIsValid:b,messageIsValid:c,timestampIsValid:null!==d});return}let f=this.#q(),g={sdk:f.name,sdkv:f.version,cv:this.#i.clerkVersion??"",lvl:a.level,msg:a.message,ts:d.toISOString(),pk:this.#i.publishableKey||null,payload:this.#r(a.context)};this.#j.push({kind:"log",value:g}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry log entry",a)}}#n(a,b){return this.isEnabled&&!this.isDebug&&this.#s(a,b)}#p(a){return!0}#s(a,b){let c=Math.random();return!!(c<=this.#g.samplingRate&&(!1===this.#g.perEventSampling||void 0===b||c<=b))&&!this.#h.isEventThrottled(a)}#o(){this.#t()}#t(){let a=[...this.#j];if(this.#j=[],this.#k=null,0===a.length)return;let b=a.filter(a=>"event"===a.kind).map(a=>a.value),c=a.filter(a=>"log"===a.kind).map(a=>a.value);b.length>0&&fetch(new URL("/v1/event",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({events:b})}).catch(()=>void 0),c.length>0&&fetch(new URL("/v1/logs",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({logs:c})}).catch(()=>void 0)}#m(a,b){this.isDebug&&(void 0!==console.groupCollapsed?(console.groupCollapsed("[clerk/telemetry]",a),console.log(b),console.groupEnd()):console.log("[clerk/telemetry]",a,b))}#q(){return{name:this.#i.sdk,version:this.#i.sdkVersion}}#l(a,b){let c=this.#q();return{event:a,cv:this.#i.clerkVersion??"",it:this.#i.instanceType??"",sdk:c.name,sdkv:c.version,...this.#i.publishableKey?{pk:this.#i.publishableKey}:{},...this.#i.secretKey?{sk:this.#i.secretKey}:{},payload:b}}#r(a){if(null==a||"object"!=typeof a)return null;try{let b=JSON.parse(JSON.stringify(a));if(b&&"object"==typeof b&&!Array.isArray(b))return b;return null}catch{return null}}},l=c(b.verifyToken);function m(a){let c={...a},d=(0,b.createBackendApiClient)(c),e=(0,b.createAuthenticateRequest)({options:c,apiClient:d}),f=new k({publishableKey:c.publishableKey,secretKey:c.secretKey,samplingRate:.1,...c.sdkMetadata?{sdk:c.sdkMetadata.name,sdkVersion:c.sdkMetadata.version}:{},...c.telemetry||{}});return{...d,...e,telemetry:f}}a.s(["createClerkClient",()=>m,"verifyToken",()=>l],76010);var n=a.i(82849);let o={secretKey:n.SECRET_KEY,publishableKey:n.PUBLISHABLE_KEY,apiUrl:n.API_URL,apiVersion:n.API_VERSION,userAgent:"@clerk/nextjs@6.39.0",proxyUrl:n.PROXY_URL,domain:n.DOMAIN,isSatellite:n.IS_SATELLITE,machineSecretKey:n.MACHINE_SECRET_KEY,sdkMetadata:n.SDK_METADATA,telemetry:{disabled:n.TELEMETRY_DISABLED,debug:n.TELEMETRY_DEBUG}},p=a=>m({...o,...a});a.s(["createClerkClientWithOptions",()=>p],75582)},58658,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","Waitlist")},80832,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","Waitlist")},40163,a=>{"use strict";a.i(58658);var b=a.i(80832);a.n(b)},72721,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f8f50c0b._.js"].map(b=>a.l(b))).then(()=>b(488)))},21215,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_server_keyless-log-cache_52006def.js"].map(b=>a.l(b))).then(()=>b(78829)))},67338,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__9f45b36b._.js"].map(b=>a.l(b))).then(()=>b(71227)))},67257,a=>{a.v(b=>Promise.all(["server/chunks/ssr/d4b1c_modules_@clerk_nextjs_dist_esm_app-router_client_keyless-cookie-sync_f823d0f8.js"].map(b=>a.l(b))).then(()=>b(6223)))},23804,a=>{a.v(a=>Promise.resolve().then(()=>a(5246)))},77710,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__10a850c6._.js"].map(b=>a.l(b))).then(()=>b(15866)))}];
2
+ Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},85978,a=>{"use strict";var b=a.i(37936),c=a.i(5246),d=a.i(13095);async function e(){var a,b,d,e,g,h;let i,j=await (0,c.headers)();return{nodeVersion:process.version,nextVersion:function(){var a;try{return null!=(a=process.title)?a:"unknown-process-title"}catch{return}}(),npmConfigUserAgent:process.env.npm_config_user_agent,userAgent:null!=(a=j.get("User-Agent"))?a:"unknown user-agent",port:process.env.PORT,host:null!=(b=j.get("host"))?b:"unknown host",xPort:null!=(d=j.get("x-forwarded-port"))?d:"unknown x-forwarded-port",xHost:null!=(e=j.get("x-forwarded-host"))?e:"unknown x-forwarded-host",xProtocol:null!=(g=j.get("x-forwarded-proto"))?g:"unknown x-forwarded-proto",xClerkAuthStatus:null!=(h=j.get("x-clerk-auth-status"))?h:"unknown x-clerk-auth-status",isCI:(i=new Set(["","false","0","no"]),f.some(a=>{let b=process.env[a];if(void 0===b)return!1;let c=b.trim().toLowerCase();return!i.has(c)}))}}let f=["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"];async function g(a){let b=new Headers;return a.nodeVersion&&b.set("Clerk-Node-Version",a.nodeVersion),a.nextVersion&&b.set("Clerk-Next-Version",a.nextVersion),a.npmConfigUserAgent&&b.set("Clerk-NPM-Config-User-Agent",a.npmConfigUserAgent),a.userAgent&&b.set("Clerk-Client-User-Agent",a.userAgent),a.port&&b.set("Clerk-Node-Port",a.port),a.host&&b.set("Clerk-Client-Host",a.host),a.xPort&&b.set("Clerk-X-Port",a.xPort),a.xHost&&b.set("Clerk-X-Host",a.xHost),a.xProtocol&&b.set("Clerk-X-Protocol",a.xProtocol),a.xClerkAuthStatus&&b.set("Clerk-Auth-Status",a.xClerkAuthStatus),a.isCI&&b.set("Clerk-Is-CI","true"),b}(0,d.ensureServerEntryExports)([e,g]),(0,b.registerServerReference)(e,"002fad6291a173d3e2aab3cc75056d19fb8c6560f0",null),(0,b.registerServerReference)(g,"403c63c36c8fd9f283c92b5a1aa14d4194f4688e4c",null),a.s(["collectKeylessMetadata",()=>e,"formatMetadataHeaders",()=>g])},26022,a=>{"use strict";var b=a.i(37936),c=a.i(5246);a.i(70396);var d=a.i(73727),e=a.i(83693),f=a.i(63365),g=a.i(24088),h=a.i(43197),i=a.i(13095);let j={secure:!1,httpOnly:!1,sameSite:"lax"};async function k(a){let{claimUrl:b,publishableKey:e,secretKey:h,returnUrl:i}=a,k=await (0,c.cookies)(),l=new Request("https://placeholder.com",{headers:await (0,c.headers)()}),m=await (0,g.getKeylessCookieValue)(a=>{var b;return null==(b=k.get(a))?void 0:b.value}),n=(null==m?void 0:m.publishableKey)===e,o=(null==m?void 0:m.secretKey)===h;if((!n||!o)&&(k.set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:b,publishableKey:e,secretKey:h}),j),(0,f.detectClerkMiddleware)(l)))return void(0,d.redirect)(`/clerk-sync-keyless?returnUrl=${i}`,d.RedirectType.replace)}async function l(){if(!h.canUseKeyless)return null;let b=await a.A(72721).then(a=>a.createOrReadKeyless()).catch(()=>null);if(!b)return e.errorThrower.throwMissingPublishableKeyError(),null;let{clerkDevelopmentCache:d,createKeylessModeMessage:f}=await a.A(21215);null==d||d.log({cacheKey:b.publishableKey,msg:f(b)});let{claimUrl:i,publishableKey:k,secretKey:l,apiKeysUrl:m}=b;return(await (0,c.cookies)()).set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:i,publishableKey:k,secretKey:l}),j),{claimUrl:i,publishableKey:k,apiKeysUrl:m}}async function m(){h.canUseKeyless&&await a.A(72721).then(a=>a.removeKeyless()).catch(()=>{})}async function n(){if(h.canUseKeyless)try{let{detectKeylessEnvDrift:b}=await a.A(67338);await b()}catch{}}(0,i.ensureServerEntryExports)([k,l,m,n]),(0,b.registerServerReference)(k,"400560849ebfd34994a55c30d8679aef02071df1ed",null),(0,b.registerServerReference)(l,"0026bca433dc1dbb125257ec8a8dc771205803c02d",null),(0,b.registerServerReference)(m,"009c7815c0df85d8d336bd83f6987925e9fc5f1aa3",null),(0,b.registerServerReference)(n,"00f20ca33d6723974130dc896e20fd035b8ca3fc87",null),a.s(["createOrReadKeylessAction",()=>l,"deleteKeylessAction",()=>m,"detectKeylessEnvDriftAction",()=>n,"syncKeylessConfigAction",()=>k])},75582,57110,76010,a=>{"use strict";var b=a.i(59292);function c(a){return async(...b)=>{let{data:c,errors:d}=await a(...b);if(d)throw d[0];return c}}function d(a){return(...b)=>{let{data:c,errors:d}=a(...b);if(d)throw d[0];return c}}a.i(79378),a.s(["withLegacyReturn",()=>c,"withLegacySyncReturn",()=>d],57110),a.i(75400),a.i(61675),a.i(16765),a.i(28249),a.i(49326),a.i(71327);var e=a.i(3598),f=a.i(36482),g=class{#a;#b=864e5;constructor(a){this.#a=a}isEventThrottled(a){let b=Date.now(),c=this.#c(a),d=this.#a.getItem(c);return!!d&&!(b-d>this.#b)||(this.#a.setItem(c,b),!1)}#c(a){let{sk:b,pk:c,payload:d,...e}=a,f={...d,...e};return JSON.stringify(Object.keys({...d,...e}).sort().map(a=>f[a]))}},h=class{#d="clerk_telemetry_throttler";getItem(a){return this.#e()[a]}setItem(a,b){try{let c=this.#e();c[a]=b,localStorage.setItem(this.#d,JSON.stringify(c))}catch(a){a instanceof DOMException&&("QuotaExceededError"===a.name||"NS_ERROR_DOM_QUOTA_REACHED"===a.name)&&localStorage.length>0&&localStorage.removeItem(this.#d)}}removeItem(a){try{let b=this.#e();delete b[a],localStorage.setItem(this.#d,JSON.stringify(b))}catch{}}#e(){try{let a=localStorage.getItem(this.#d);if(!a)return{};return JSON.parse(a)}catch{return{}}}static isSupported(){return!1}},i=class{#a=new Map;#f=1e4;getItem(a){return this.#a.size>this.#f?void this.#a.clear():this.#a.get(a)}setItem(a,b){this.#a.set(a,b)}removeItem(a){this.#a.delete(a)}};let j=new Set(["error","warn","info","debug","trace"]);var k=class{#g;#h;#i={};#j=[];#k=null;constructor(a){this.#g={maxBufferSize:a.maxBufferSize??5,samplingRate:a.samplingRate??1,perEventSampling:a.perEventSampling??!0,disabled:a.disabled??!1,debug:a.debug??!1,endpoint:"https://clerk-telemetry.com"},a.clerkVersion?this.#i.clerkVersion=a.clerkVersion??"":this.#i.clerkVersion="",this.#i.sdk=a.sdk,this.#i.sdkVersion=a.sdkVersion,this.#i.publishableKey=a.publishableKey??"";const b=(0,e.parsePublishableKey)(a.publishableKey);b&&(this.#i.instanceType=b.instanceType),a.secretKey&&(this.#i.secretKey=a.secretKey.substring(0,16)),this.#h=new g(h.isSupported()?new h:new i)}get isEnabled(){return!("development"!==this.#i.instanceType||this.#g.disabled||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DISABLED))}get isDebug(){return this.#g.debug||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DEBUG)}record(a){try{let b=this.#l(a.event,a.payload);if(this.#m(b.event,b),!this.#n(b,a.eventSamplingRate))return;this.#j.push({kind:"event",value:b}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry event",a)}}recordLog(a){try{if(!this.#p(a))return;let b="string"==typeof a?.level&&j.has(a.level),c="string"==typeof a?.message&&a.message.trim().length>0,d=null,e=a?.timestamp;if("number"==typeof e||"string"==typeof e){let a=new Date(e);Number.isNaN(a.getTime())||(d=a)}if(!b||!c||null===d){this.isDebug&&"u">typeof console&&console.warn("[clerk/telemetry] Dropping invalid telemetry log entry",{levelIsValid:b,messageIsValid:c,timestampIsValid:null!==d});return}let f=this.#q(),g={sdk:f.name,sdkv:f.version,cv:this.#i.clerkVersion??"",lvl:a.level,msg:a.message,ts:d.toISOString(),pk:this.#i.publishableKey||null,payload:this.#r(a.context)};this.#j.push({kind:"log",value:g}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry log entry",a)}}#n(a,b){return this.isEnabled&&!this.isDebug&&this.#s(a,b)}#p(a){return!0}#s(a,b){let c=Math.random();return!!(c<=this.#g.samplingRate&&(!1===this.#g.perEventSampling||void 0===b||c<=b))&&!this.#h.isEventThrottled(a)}#o(){this.#t()}#t(){let a=[...this.#j];if(this.#j=[],this.#k=null,0===a.length)return;let b=a.filter(a=>"event"===a.kind).map(a=>a.value),c=a.filter(a=>"log"===a.kind).map(a=>a.value);b.length>0&&fetch(new URL("/v1/event",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({events:b})}).catch(()=>void 0),c.length>0&&fetch(new URL("/v1/logs",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({logs:c})}).catch(()=>void 0)}#m(a,b){this.isDebug&&(void 0!==console.groupCollapsed?(console.groupCollapsed("[clerk/telemetry]",a),console.log(b),console.groupEnd()):console.log("[clerk/telemetry]",a,b))}#q(){return{name:this.#i.sdk,version:this.#i.sdkVersion}}#l(a,b){let c=this.#q();return{event:a,cv:this.#i.clerkVersion??"",it:this.#i.instanceType??"",sdk:c.name,sdkv:c.version,...this.#i.publishableKey?{pk:this.#i.publishableKey}:{},...this.#i.secretKey?{sk:this.#i.secretKey}:{},payload:b}}#r(a){if(null==a||"object"!=typeof a)return null;try{let b=JSON.parse(JSON.stringify(a));if(b&&"object"==typeof b&&!Array.isArray(b))return b;return null}catch{return null}}},l=c(b.verifyToken);function m(a){let c={...a},d=(0,b.createBackendApiClient)(c),e=(0,b.createAuthenticateRequest)({options:c,apiClient:d}),f=new k({publishableKey:c.publishableKey,secretKey:c.secretKey,samplingRate:.1,...c.sdkMetadata?{sdk:c.sdkMetadata.name,sdkVersion:c.sdkMetadata.version}:{},...c.telemetry||{}});return{...d,...e,telemetry:f}}a.s(["createClerkClient",()=>m,"verifyToken",()=>l],76010);var n=a.i(82849);let o={secretKey:n.SECRET_KEY,publishableKey:n.PUBLISHABLE_KEY,apiUrl:n.API_URL,apiVersion:n.API_VERSION,userAgent:"@clerk/nextjs@6.39.0",proxyUrl:n.PROXY_URL,domain:n.DOMAIN,isSatellite:n.IS_SATELLITE,machineSecretKey:n.MACHINE_SECRET_KEY,sdkMetadata:n.SDK_METADATA,telemetry:{disabled:n.TELEMETRY_DISABLED,debug:n.TELEMETRY_DEBUG}},p=a=>m({...o,...a});a.s(["createClerkClientWithOptions",()=>p],75582)},58658,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","Waitlist")},80832,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","Waitlist")},40163,a=>{"use strict";a.i(58658);var b=a.i(80832);a.n(b)},72721,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f8f50c0b._.js"].map(b=>a.l(b))).then(()=>b(488)))},21215,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_server_keyless-log-cache_52006def.js"].map(b=>a.l(b))).then(()=>b(78829)))},67338,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__9f45b36b._.js"].map(b=>a.l(b))).then(()=>b(71227)))},67257,a=>{a.v(b=>Promise.all(["server/chunks/ssr/d4b1c_modules_@clerk_nextjs_dist_esm_app-router_client_keyless-cookie-sync_f823d0f8.js"].map(b=>a.l(b))).then(()=>b(6223)))},23804,a=>{a.v(a=>Promise.resolve().then(()=>a(5246)))},77710,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__10a850c6._.js"].map(b=>a.l(b))).then(()=>b(15866)))}];
3
3
 
4
4
  //# sourceMappingURL=%5Broot-of-the-server%5D__c405048c._.js.map
@@ -1,3 +1,3 @@
1
1
  module.exports=[44494,48677,a=>{"use strict";var b=a.i(70106);let c=(0,b.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);a.s(["Globe",()=>c],44494);let d=(0,b.default)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]]);a.s(["default",()=>d],48677)},48079,a=>{"use strict";var b=a.i(87924),c=a.i(26006);let d=(0,a.i(72131).forwardRef)(({className:a,...d},e)=>(0,b.jsx)("div",{ref:e,className:(0,c.cn)("surface-card rounded-[var(--radius-md)] border",a),...d}));function e({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("flex items-center gap-2 border-b border-[var(--vk-border)] px-3 py-2",a),...d})}function f({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("px-3 py-2",a),...d})}d.displayName="Card",a.s(["Card",0,d,"CardContent",()=>f,"CardHeader",()=>e])},10948,a=>{"use strict";let b=(0,a.i(70106).default)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);a.s(["GitBranch",()=>b],10948)},87532,a=>{"use strict";let b=(0,a.i(70106).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);a.s(["Search",()=>b],87532)},69520,a=>{"use strict";let b=(0,a.i(70106).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",()=>b],69520)},52495,a=>{"use strict";let b=(0,a.i(70106).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);a.s(["ExternalLink",()=>b],52495)},50522,92596,34959,a=>{"use strict";var b=a.i(70106);let c=(0,b.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);a.s(["ChevronRight",()=>c],50522);let d=(0,b.default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);a.s(["Folder",()=>d],92596);var e=a.i(72131);function f(a){return!a||"object"!=typeof a||Array.isArray(a)?{}:{...a}}function g(){let[a,b]=(0,e.useState)(null),[c,d]=(0,e.useState)(!0),[g,h]=(0,e.useState)(null),i=(0,e.useRef)(!1),j=(0,e.useCallback)(async()=>{try{var a;let c,d,e,g=await fetch("/api/preferences"),i=await g.json().catch(()=>null);if(!g.ok)throw Error(i?.error??`Failed to load preferences: ${g.status}`);b((a=i?.preferences,c=f(a),e=(d=f(c.notifications)).soundFile,{onboardingAcknowledged:!0===c.onboardingAcknowledged,codingAgent:"string"==typeof c.codingAgent&&c.codingAgent.trim().length>0?c.codingAgent.trim():"claude-code",ide:"string"==typeof c.ide&&c.ide.trim().length>0?c.ide.trim():"vscode",markdownEditor:"string"==typeof c.markdownEditor&&c.markdownEditor.trim().length>0?c.markdownEditor.trim():"obsidian",markdownEditorPath:"string"==typeof c.markdownEditorPath?c.markdownEditorPath.trim():"",notifications:{soundEnabled:!1!==d.soundEnabled,soundFile:null===e?null:"string"==typeof e&&e.trim().length>0?e.trim():"abstract-sound-4"}})),h(null)}catch(a){b(null),h(a instanceof Error?a.message:"Failed to load preferences")}finally{d(!1)}},[]);return(0,e.useEffect)(()=>{i.current||(i.current=!0,j())},[j]),{preferences:a,loading:c,error:g,refresh:j}}a.s(["usePreferences",()=>g],34959)},926,a=>{a.n(a.i(37483))},86936,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[externals]_shiki_1e31ec87._.js"].map(b=>a.l(b))).then(()=>b(5104)))},81469,a=>{a.v(b=>Promise.all(["server/chunks/ssr/_903c3fe3._.js"].map(b=>a.l(b))).then(()=>b(76686)))},40376,a=>{a.v(b=>Promise.all(["server/chunks/ssr/_ec15f798._.js","server/chunks/ssr/packages_web_src_components_sessions_SessionPreview_tsx_ec32db81._.js"].map(b=>a.l(b))).then(()=>b(64600)))}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__1cb74434._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__ed31820a._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[27607,a=>{"use strict";var b=a.i(37936),c=a.i(5246);async function d(){(await (0,c.cookies)()).delete(`__clerk_invalidate_cache_cookie_${Date.now()}`)}(0,a.i(13095).ensureServerEntryExports)([d]),(0,b.registerServerReference)(d,"00c435b51b74ff80906c1cfb866e46d26505da54d5",null),a.s(["invalidateCacheAction",()=>d])},27831,a=>{"use strict";var b=a.i(26022),c=a.i(27607),d=a.i(85978);a.s([],72011),a.i(72011),a.s(["000ccec5b3eb99edc3041a8bdb0b79bceb2ff1b127",()=>b.createOrReadKeylessAction,"004a6aacd4a5c6be55be098d56702d5e52ad75ac50",()=>d.collectKeylessMetadata,"00c435b51b74ff80906c1cfb866e46d26505da54d5",()=>c.invalidateCacheAction,"00cc4cc5d17316a47e814d93e4b6aee4d6f6d4317c",()=>b.deleteKeylessAction,"00d6aa07ef5202e6469da301e53f7418b051855954",()=>b.detectKeylessEnvDriftAction,"403754a271da3b1024bbc80f6b339d37844bb3b448",()=>b.syncKeylessConfigAction,"405d3bb32b2549660d793145b882768b07612455d3",()=>d.formatMetadataHeaders],27831)}];
1
+ module.exports=[27607,a=>{"use strict";var b=a.i(37936),c=a.i(5246);async function d(){(await (0,c.cookies)()).delete(`__clerk_invalidate_cache_cookie_${Date.now()}`)}(0,a.i(13095).ensureServerEntryExports)([d]),(0,b.registerServerReference)(d,"00b268e5d794eeda40aabc777f34940046001199c5",null),a.s(["invalidateCacheAction",()=>d])},27831,a=>{"use strict";var b=a.i(26022),c=a.i(27607),d=a.i(85978);a.s([],72011),a.i(72011),a.s(["0026bca433dc1dbb125257ec8a8dc771205803c02d",()=>b.createOrReadKeylessAction,"002fad6291a173d3e2aab3cc75056d19fb8c6560f0",()=>d.collectKeylessMetadata,"009c7815c0df85d8d336bd83f6987925e9fc5f1aa3",()=>b.deleteKeylessAction,"00b268e5d794eeda40aabc777f34940046001199c5",()=>c.invalidateCacheAction,"00f20ca33d6723974130dc896e20fd035b8ca3fc87",()=>b.detectKeylessEnvDriftAction,"400560849ebfd34994a55c30d8679aef02071df1ed",()=>b.syncKeylessConfigAction,"403c63c36c8fd9f283c92b5a1aa14d4194f4688e4c",()=>d.formatMetadataHeaders],27831)}];
2
2
 
3
3
  //# sourceMappingURL=_0e1412de._.js.map