PageSourceSearch

https://www.mapaapp.io/_next/static/chunks/f8431f5e35e4fa50.js?dpl=dpl_A4JQMaz3LF5esFAR8AnRg9aUd1Vu

js mapaapp.io collected 2026-10-02 01:57:51 UTC 32,158 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,838297,943227,e=>{"use strict";let t=[".lcl.dev",".lclstage.dev",".lclclerk.com"],n=[".accounts.dev",".accountsstage.dev",".accounts.lclclerk.com"],r=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],o=[".lcl.dev","lclstage.dev",".lclclerk.com",".accounts.lclclerk.com"],l=[".accountsstage.dev"];e.s(["CURRENT_DEV_INSTANCE_SUFFIXES",()=>n,"DEV_OR_STAGING_SUFFIXES",()=>r,"LEGACY_DEV_INSTANCE_SUFFIXES",()=>t,"LOCAL_API_URL",()=>"https://api.lclclerk.com","LOCAL_ENV_SUFFIXES",()=>o,"PROD_API_URL",()=>"https://api.clerk.com","STAGING_API_URL",()=>"https://api.clerkstage.dev","STAGING_ENV_SUFFIXES",()=>l],943227);let a=e=>"u">typeof atob&&"function"==typeof atob?atob(e):void 0!==globalThis.Buffer?globalThis.Buffer.from(e,"base64").toString():e,i="pk_live_",s="pk_test_",u=/^(([a-z]+)-){2}([0-9]{1,2})\.clerk\.accounts([a-z.]*)(dev|com)$/i;function d(e,n){var r,o,l;if(n&&((l=n).startsWith("test_")||l.startsWith("pk_test_")))return n;let a=e.toLowerCase().replace(/:\d+$/,"");if(!a)throw Error("Host must not be empty.");return r=`clerk.${a}`,`${u.test(r)||r.startsWith("clerk.")&&t.some(e=>r.endsWith(e))?s:i}${(o=`${r}$`,"u">typeof btoa&&"function"==typeof btoa?btoa(o):void 0!==globalThis.Buffer?globalThis.Buffer.from(o).toString("base64"):o).replace(/=+$/,"")}`}function p(e){if(!e.endsWith("$"))return!1;let t=e.slice(0,-1);return!t.includes("$")&&t.includes(".")}function c(e,t={}){let n;if(!(e=e||"")||!m(e)){if(t.fatal&&!e)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(t.fatal&&!m(e))throw Error("Publishable key not valid.");return null}let r=e.startsWith(i)?"production":"development";try{n=a(e.split("_")[2])}catch{if(t.fatal)throw Error("Publishable key not valid: Failed to decode key.");return null}if(!p(n)){if(t.fatal)throw Error("Publishable key not valid: Decoded key has invalid format.");return null}let o=n.slice(0,-1);return t.proxyUrl?o=t.proxyUrl:"development"!==r&&t.domain&&t.isSatellite&&(o=`clerk.${t.domain}`),{instanceType:r,frontendApi:o}}function m(e=""){try{if(!(e.startsWith(i)||e.startsWith(s)))return!1;let t=e.split("_");if(3!==t.length)return!1;let n=t[2];if(!n)return!1;return p(a(n))}catch{return!1}}function f(){let e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;let n="string"==typeof t?t:t.hostname,o=e.get(n);return void 0===o&&(o=r.some(e=>n.endsWith(e)),e.set(n,o)),o}}}function h(e){return e.startsWith("live_")||e.startsWith("pk_live_")}e.s(["createDevOrStagingUrlCache",()=>f,"isProductionFromPublishableKey",()=>h,"parsePublishableKey",()=>c,"publishableKeyFromHost",()=>d],838297)},581720,40903,e=>{"use strict";var t=e.i(247167);let n={get url(){return`file://${e.P("node_modules/@clerk/shared/dist/getEnvVariable.mjs")}`}},r=(e,r)=>{if(void 0!==t.default&&t.default.env&&"string"==typeof t.default.env[e])return t.default.env[e];if(n.env&&"string"==typeof n.env[e])return n.env[e];if(r?.cloudflare?.env)return r.cloudflare.env[e]||"";if(r?.env)return r.env[e]||"";if(r&&"string"==typeof r[e])return r[e];try{return globalThis[e]}catch{}return""};e.s(["getEnvVariable",()=>r],40903);let o=["CI","CONTINUOUS_INTEGRATION","GITHUB_ACTIONS","GITLAB_CI","CIRCLECI","TRAVIS","BUILDKITE","BITBUCKET_BUILD_NUMBER","APPVEYOR","CODEBUILD_BUILD_ID","TF_BUILD","TEAMCITY_VERSION","JENKINS_URL","HUDSON_URL","BAMBOO_BUILDKEY","CF_PAGES"],l=()=>!1,a=()=>!1,i=()=>{try{return!0}catch{}return!1},s=()=>o.some(e=>{var t;return"string"==typeof(t=r(e))&&!!t&&!["0","false","off","no"].includes(t.toLowerCase())});e.s(["a",()=>a,"i",()=>i,"n",()=>s,"r",()=>l,"t",()=>o],581720)},862366,e=>{"use strict";let t=e=>{let t=n=>{if(!n)return n;if(Array.isArray(n))return n.map(e=>"object"==typeof e||Array.isArray(e)?t(e):e);let r={...n};for(let n of Object.keys(r)){let o=e(n.toString());o!==n&&(r[o]=r[n],delete r[n]),"object"==typeof r[o]&&(r[o]=t(r[o]))}return r};return t};function n(e){if("boolean"==typeof e)return e;if(null==e)return!1;if("string"==typeof e){if("true"===e.toLowerCase())return!0;
1if("false"===e.toLowerCase())return!1}let t=parseInt(e,10);return!isNaN(t)&&t>0}t(function(e){return e?e.replace(/[A-Z]/g,e=>`_${e.toLowerCase()}`):""}),t(function(e){return e?e.replace(/([-_][a-z])/g,e=>e.toUpperCase().replace(/-|_/,"")):""}),e.s(["isTruthy",()=>n])},273370,451260,e=>{"use strict";let t=(...e)=>{};e.s(["t",()=>t],451260);let n=()=>{let e=t,n=t;return{promise:new Promise((t,r)=>{e=t,n=r}),resolve:e,reject:n}};e.s(["t",()=>n],273370)},466090,389406,528684,624606,e=>{"use strict";var t=e.i(581720);function n(e,t,n){return"function"==typeof e?e(t):void 0!==e?e:void 0!==n?n:void 0}function r(e){return e.endsWith(".lclstage.dev")||e.endsWith(".stgstage.dev")||e.endsWith(".clerkstage.dev")||e.endsWith(".accountsstage.dev")}function o(e){return Promise.all(Array.from(e).map(e=>e.then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e}))))}e.s(["t",()=>n],389406),e.s(["t",()=>r],528684),e.i(451260),e.i(273370);let l=e=>{(0,t.r)()&&console.error(`Clerk: ${e}`)};function a(e){return"function"==typeof e?e():e}let i=new Set(["__proto__","constructor","prototype"]),s=(e,t)=>{if(e&&t)for(let n in e)!i.has(n)&&(Object.prototype.hasOwnProperty.call(e,n)&&null!==e[n]&&"object"==typeof e[n]?(void 0===t[n]&&(t[n]=new(Object.getPrototypeOf(e[n])).constructor),s(e[n],t[n])):Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n]&&(t[n]=e[n]))},u=(e,t)=>{if(e&&t)for(let n in e)!i.has(n)&&(Object.prototype.hasOwnProperty.call(e,n)&&null!==e[n]&&"object"==typeof e[n]?(void 0===t[n]&&(t[n]=new(Object.getPrototypeOf(e[n])).constructor),u(e[n],t[n])):Object.prototype.hasOwnProperty.call(e,n)&&void 0===t[n]&&(t[n]=e[n]))};function d(e,t,n){let r,o=new Promise((e,o)=>{r=setTimeout(()=>{let e=Error(`Timed out after ${t}ms`);n?.abort(),o(e)},t),r.unref?.()});return Promise.race([Promise.resolve(e),o]).finally(()=>{clearTimeout(r)})}e.s(["a",()=>l,"i",()=>a,"n",()=>u,"o",()=>o,"r",()=>s,"t",()=>d],624606),e.s([],466090)},252367,689514,391297,439789,530032,959312,e=>{"use strict";let t;var n,r=e.i(124955),o=e.i(596672);e.s([],689514);var l=e.i(280204);let a=(0,o.y)({packageName:"@clerk/react"});function i(e){a.setMessages(e).setPackageName(e)}let s=l.useClerkInstanceContext,u=e=>{(0,l.useAssertWrappedByClerkProvider)(()=>{a.throwMissingClerkProviderError({source:e})})};e.s(["i",()=>i,"n",()=>s,"r",()=>a,"t",()=>u],391297);var d=e.i(271645),p=e.i(174080),c=r;e.s(["ClerkRuntimeError",()=>c.t],439789);var c=r;e.i(466090);var m=e.i(624606),m=m,f=e.i(40903);let h=(e,...t)=>{let n={...e};for(let e of t)delete n[e];return n};
1var g=e.i(556027),_=e.i(284975);e.s([],530032);var y=e.i(111059);function P(){return"u">typeof window}RegExp("bot|spider|crawl|APIs-Google|AdsBot|Googlebot|mediapartners|Google Favicon|FeedFetcher|Google-Read-Aloud|DuplexWeb-Google|googleweblight|bing|yandex|baidu|duckduck|yahoo|ecosia|ia_archiver|facebook|instagram|pinterest|reddit|slack|twitter|whatsapp|youtube|semrush","i"),e.s(["inBrowser",()=>P],959312);let b=e=>`The <${e}/> component uses path-based routing by default unless a different routing strategy is provided using the \`routing\` prop. When path-based routing is used, you need to provide the path where the component is mounted on by using the \`path\` prop. Example: <${e} path={'/my-path'} />`,v=e=>`The \`path\` prop will only be respected when the Clerk component uses path-based routing. To resolve this error, pass \`routing='path'\` to the <${e}/> component, or drop the \`path\` prop to switch to hash-based routing. For more details please refer to our docs: https://clerk.com/docs`,E=e=>t=>{try{return d.default.Children.only(e)}catch{let n=d.default.Children.toArray(e);if(1===n.length&&d.default.isValidElement(n[0]))return n[0];return a.throw(`You've passed multiple children components to <${t}/>. You can only pass a single child component or text.`)}},k=(e,t)=>(e||(e=t),"string"==typeof e&&(e=d.default.createElement("button",null,e)),e),I=e=>(...t)=>{if(e&&"function"==typeof e)return e(...t)},w=e=>{let t=((e,t)=>void 0!==e?e:(0,f.getEnvVariable)(`VITE_${t}`)||(0,f.getEnvVariable)(t)||void 0)(e.publishableKey,"CLERK_PUBLISHABLE_KEY");return{...e,...void 0!==t&&{publishableKey:t}}};function C(e){return"function"==typeof e}let U=new Map;function S(e,t,n){let r=e.displayName||e.name||t||"Component",o=r=>(!function(e,t,n=1){d.default.useEffect(()=>{let r=U.get(e)||0;return r==n?a.throw(t):(U.set(e,r+1),()=>{U.set(e,(U.get(e)||1)-1)})},[])}(t,n),d.default.createElement(e,r));return o.displayName=`withMaxAllowedInstancesGuard(${r})`,o}let A=e=>{let[t,n]=(0,d.useState)(new Map),r=(0,d.useRef)(t),o=(0,d.useRef)(new Map),l=(0,d.useRef)(new Map);r.current=t,o.current=new Map(e.map(e=>[e.id,e.component]));let a=new Set(e.map(e=>e.id));return l.current.forEach((e,t)=>{a.has(t)||l.current.delete(t)}),e.map(e=>{let t=e.id,a=l.current.get(t);if(a)return a;let i={id:e.id,mount:e=>n(n=>new Map(n).set(t,e)),unmount:()=>n(e=>{let n=new Map(e);return n.set(t,null),n}),portal:()=>{let e=r.current.get(t),n=o.current.get(t);return e?(0,p.createPortal)(n,e):null}};return l.current.set(t,i),i})},L=(e,t)=>!!e&&d.default.isValidElement(e)&&e?.type===t,O=(e,t)=>$({children:e,reorderItemsLabels:["account","security","billing","apiKeys"],LinkComponent:Z,PageComponent:J,MenuItemsComponent:et,componentName:"UserProfile"},t),T=(e,t)=>$({children:e,reorderItemsLabels:["general","members","billing","apiKeys"],LinkComponent:ea,PageComponent:el,componentName:"OrganizationProfile"},t),F=e=>{let t=[],n=[ea,el,et,J,Z];return d.default.Children.forEach(e,e=>{n.some(t=>L(e,t))||t.push(e)}),t},$=(e,t)=>{let{children:n,LinkComponent:r,PageComponent:o,MenuItemsComponent:l,reorderItemsLabels:a,componentName:i}=e,{allowForAnyChildren:s=!1}=t||{},u=[],p=new Map;d.default.Children.forEach(n,e=>{if(!L(e,o)&&!L(e,r)&&!L(e,l)){e&&!s&&(0,m.a)(`<${i} /> can only accept <${i}.Page /> and <${i}.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.`);return}let{props:t}=e,{children:n,label:d,url:c,labelIcon:f}=t,h=e.key;if(L(e,o))if(B(t,a))u.push({label:d});else if(M(t))u.push({label:d,labelIcon:f,children:n,url:c,portalId:R("page",t,h,p)});else return void(0,m.a)(`Missing props. <${i}.Page /> component requires the following props: url, label, labelIcon, alongside with children to be rendered inside the page.`);if(L(e,r))if(W(t))u.push({label:d,labelIcon:f,url:c,portalId:R("link",t,h,p)});else return void(0,m.a)(`Missing props. <${i}.Link /> component requires the following props: url, label and labelIcon.`)});let c=[],f=[],h=[];u.forEach((e,t)=>{if(M(e)){c.push({component:e.children,id:e.portalId||t}),f.push({component:e.labelIcon,id:e.portalId||t});return}W(e)&&h.push({component:e.labelIcon,id:e.portalId||t})});let g=A(c),_=A(f),y=A(h),P=[],b=[];return u.forEach((e,t)=>{if(B(e,a))return void P.push({label:e.label});if(M(e)){let{portal:n,mount:r,unmount:o}=g.find(n=>n.id===(e.portalId||t)),{portal:l,mount:a,unmount:i}=_.find(n=>n.id===(e.portalId||t));
1P.push({label:e.label,url:e.url,mount:r,unmount:o,mountIcon:a,unmountIcon:i}),b.push({key:`content:${e.portalId||t}`,portal:n}),b.push({key:`label:${e.portalId||t}`,portal:l});return}if(W(e)){let{portal:n,mount:r,unmount:o}=y.find(n=>n.id===(e.portalId||t));P.push({label:e.label,url:e.url,mountIcon:r,unmountIcon:o}),b.push({key:`label:${e.portalId||t}`,portal:n});return}}),{customPages:P,customPagesPortals:b}},R=(e,t,n,r)=>{if(null!=n)return`${e}:key:${n}`;let o=`${e}:${t.label}:${t.url}`,l=r.get(o)??0;return r.set(o,l+1),`${o}:${l}`},B=(e,t)=>{let{children:n,label:r,url:o,labelIcon:l}=e;return!n&&!o&&!l&&t.some(e=>e===r)},M=e=>{let{children:t,label:n,url:r,labelIcon:o}=e;return!!t&&!!r&&!!o&&!!n},W=e=>{let{children:t,label:n,url:r,labelIcon:o}=e;return!t&&!!r&&!!o&&!!n},N=(e,t,n,r)=>{if(null!=n)return`${e}:key:${n}`;let o=t.href||t.open||"",l=`${e}:${t.label}:${o}`,a=r.get(l)??0;return r.set(l,a+1),`${l}:${a}`},x=(e,t)=>{let{children:n,label:r,onClick:o,labelIcon:l}=e;return!n&&!o&&!l&&t.some(e=>e===r)},z=e=>{let{label:t,labelIcon:n,onClick:r,open:o}=e;return!!n&&!!t&&("function"==typeof r||"string"==typeof o)},D=e=>{let{label:t,href:n,labelIcon:r}=e;return!!n&&!!r&&!!t},j=(n={childList:!0,subtree:!0,isReady:(e,t)=>!!e?.childElementCount&&e?.matches?.(t)&&e.childElementCount>0},t=n?.isReady,e=>new Promise((r,o)=>{let{root:l=document?.body,selector:a,timeout:i=0}=e;if(!l)return void o(Error("No root element provided"));let s=l;if(a&&(s=l?.querySelector(a)),t(s,a))return void r();let u=new MutationObserver(e=>{for(let o of e)if(!s&&a&&(s=l?.querySelector(a)),(n.childList&&"childList"===o.type||n.attributes&&"attributes"===o.type)&&t(s,a)){u.disconnect(),r();return}});u.observe(l,n),i>0&&setTimeout(()=>{u.disconnect(),o(Error(`Timeout waiting for ${a}`))},i)}));function V(e,t){let n=(0,d.useRef)(),[r,o]=(0,d.useState)("rendering");return(0,d.useEffect)(()=>{if(!e)throw Error("Clerk: no component name provided, unable to detect mount.");if("u">typeof window&&!n.current){let r=`[data-clerk-component="${e}"]`,l=t?.selector;n.current=j({selector:l?r+l:r}).then(()=>{o("rendered")}).catch(()=>{o("error")})}},[e,t?.selector]),r}let G=e=>e?.map(({mountIcon:e,unmountIcon:t,...n})=>n);var K=class extends d.default.PureComponent{constructor(...e){super(...e),this.rootRef=d.default.createRef()}componentDidUpdate(e){if(!("mount"in e)||!("mount"in this.props))return;let t=h(e.props||{},"customPages","customMenuItems","children"),n=h(this.props.props||{},"customPages","customMenuItems","children"),r=e.props?.customPages?.length!==this.props.props?.customPages?.length,o=e.props?.customMenuItems?.length!==this.props.props?.customMenuItems?.length,a=G(e.props?.customMenuItems),i=G(this.props.props?.customMenuItems);(!(0,l.isDeeplyEqual)(t,n)||!(0,l.isDeeplyEqual)(a,i)||r||o)&&this.rootRef.current&&this.props.updateProps({node:this.rootRef.current,props:this.props.props})}componentDidMount(){this.rootRef.current&&("mount"in this.props&&this.props.mount(this.rootRef.current,this.props.props),"open"in this.props&&this.props.open(this.props.props))}componentWillUnmount(){this.rootRef.current&&("mount"in this.props&&this.props.unmount(this.rootRef.current),"open"in this.props&&this.props.close())}render(){let{hideRootHtmlElement:e=!1}=this.props,t={ref:this.rootRef,...this.props.rootProps,...this.props.component&&{"data-clerk-component":this.props.component}};return d.default.createElement(d.default.Fragment,null,!e&&d.default.createElement("div",t),this.props.children)}};let q=(e,t)=>{let n=("string"==typeof t?t:t?.component)||e.displayName||e.name||"Component";e.displayName=n;let r="string"==typeof t?void 0:t,o=t=>{u(n||"withClerk");let o=s(),a=(0,l.usePortalRoot)();return o.loaded||r?.renderWhileLoading?d.default.createElement(e,{getContainer:a,...t,component:n,clerk:o}):null};return o.displayName=`withClerk(${n})`,o},Y=e=>d.default.createElement(d.default.Fragment,null,e?.customPagesPortals?.map(({key:e,portal:t})=>(0,d.createElement)(t,{key:e})),e?.customMenuItemsPortals?.map(({key:e,portal:t})=>(0,d.createElement)(t,{key:e}))),H=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.mountSign
1In,unmount:e.unmountSignIn,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"SignIn",renderWhileLoading:!0}),X=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.mountSignUp,unmount:e.unmountSignUp,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"SignUp",renderWhileLoading:!0});function J({children:e}){return(0,m.a)("<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`."),d.default.createElement(d.default.Fragment,null,e)}function Z({children:e}){return(0,m.a)("<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`."),d.default.createElement(d.default.Fragment,null,e)}let Q=Object.assign(q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}},{customPages:a,customPagesPortals:i}=O(r.children);return d.default.createElement(d.default.Fragment,null,o&&n,d.default.createElement(K,{component:t,mount:e.mountUserProfile,unmount:e.unmountUserProfile,updateProps:e.__internal_updateProps,props:{...r,customPages:a},rootProps:l},d.default.createElement(Y,{customPagesPortals:i})))},{component:"UserProfile",renderWhileLoading:!0}),{Page:J,Link:Z}),ee=(0,d.createContext)({mount:()=>{},unmount:()=>{},updateProps:()=>{}});function et({children:e}){return(0,m.a)("<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`."),d.default.createElement(d.default.Fragment,null,e)}function en({children:e}){return(0,m.a)("<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`."),d.default.createElement(d.default.Fragment,null,e)}function er({children:e}){return(0,m.a)("<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`."),d.default.createElement(d.default.Fragment,null,e)}let eo=Object.assign(q(({clerk:e,component:t,fallback:n,...r})=>{let o,l,a="rendering"===V(t)||!e.loaded,i={...a&&n&&{style:{display:"none"}}},{customPages:s,customPagesPortals:u}=O(r.children,{allowForAnyChildren:!!r.__experimental_asProvider}),p={...r.userProfileProps,customPages:s},{customMenuItems:c,customMenuItemsPortals:f}=(o=r.children,l={allowForAnyChildren:!!r.__experimental_asProvider},(({children:e,MenuItemsComponent:t,MenuActionComponent:n,MenuLinkComponent:r,UserProfileLinkComponent:o,UserProfilePageComponent:l,reorderItemsLabels:a,allowForAnyChildren:i=!1})=>{let s=[],u=[],p=[],c=new Map;d.default.Children.forEach(e,e=>{if(!L(e,t)&&!L(e,o)&&!L(e,l)){e&&!i&&(0,m.a)("<UserButton /> can only accept <UserButton.UserProfilePage />, <UserButton.UserProfileLink /> and <UserButton.MenuItems /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.");return}if(L(e,o)||L(e,l))return;let{props:u}=e;d.default.Children.forEach(u.children,e=>{if(!L(e,n)&&!L(e,r)){e&&(0,m.a)("<UserButton.MenuItems /> component can only accept <UserButton.Action /> and <UserButton.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.");return}let{props:t}=e,o=e.key,{label:l,labelIcon:i,href:u,onClick:d,open:p}=t;if(L(e,n))if(x(t,a))s.push({label:l});else{if(!z(t))return void(0,m.a)("Missing props. <UserButton.Action /> component requires the following props: label.");let e={label:l,labelIcon:i};if(void 0!==d)s.push({...e,onClick:d,portalId:N("action",t,o,c)});else{if(void 0===p)return void(0,m.a)("Custom menu item must have either onClick or open property");s.push({...e,open:p.startsWith("/")?p:`/${p}`,portalId:N("action",t,o,c)})}}if(L(e,r))if(!D(t))return void(0,m.a)("Missing props. <UserButton.Link /> component requires the following props: href, label and labelIcon.");else s.push({label:l,labelIcon:i,href:u,portalId:N("link",t,o,c)})})});let f=[],h=[];
1s.forEach((e,t)=>{z(e)&&f.push({component:e.labelIcon,id:e.portalId||t}),D(e)&&h.push({component:e.labelIcon,id:e.portalId||t})});let g=A(f),_=A(h);return s.forEach((e,t)=>{if(x(e,a)&&u.push({label:e.label}),z(e)){let{portal:n,mount:r,unmount:o}=g.find(n=>n.id===(e.portalId||t)),l={label:e.label,mountIcon:r,unmountIcon:o};"onClick"in e?l.onClick=e.onClick:"open"in e&&(l.open=e.open),u.push(l),p.push({key:`icon:${e.portalId||t}`,portal:n})}if(D(e)){let{portal:n,mount:r,unmount:o}=_.find(n=>n.id===(e.portalId||t));u.push({label:e.label,href:e.href,mountIcon:r,unmountIcon:o}),p.push({key:`icon:${e.portalId||t}`,portal:n})}}),{customMenuItems:u,customMenuItemsPortals:p}})({children:o,reorderItemsLabels:["manageAccount","signOut"],MenuItemsComponent:et,MenuActionComponent:en,MenuLinkComponent:er,UserProfileLinkComponent:Z,UserProfilePageComponent:J,allowForAnyChildren:l?.allowForAnyChildren??!1})),h=F(r.children),g={mount:e.mountUserButton,unmount:e.unmountUserButton,updateProps:e.__internal_updateProps,props:{...r,userProfileProps:p,customMenuItems:c}};return d.default.createElement(ee.Provider,{value:g},a&&n,e.loaded&&d.default.createElement(K,{component:t,...g,hideRootHtmlElement:!!r.__experimental_asProvider,rootProps:i},r.__experimental_asProvider?h:null,d.default.createElement(Y,{customPagesPortals:u,customMenuItemsPortals:f})))},{component:"UserButton",renderWhileLoading:!0}),{UserProfilePage:J,UserProfileLink:Z,MenuItems:et,Action:en,Link:er,__experimental_Outlet:function(e){let t=(0,d.useContext)(ee),n={...t,props:{...t.props,...e}};return d.default.createElement(K,n)}});function el({children:e}){return(0,m.a)("<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`."),d.default.createElement(d.default.Fragment,null,e)}function ea({children:e}){return(0,m.a)("<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`."),d.default.createElement(d.default.Fragment,null,e)}let ei=Object.assign(q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}},{customPages:a,customPagesPortals:i}=T(r.children);return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.mountOrganizationProfile,unmount:e.unmountOrganizationProfile,updateProps:e.__internal_updateProps,props:{...r,customPages:a},rootProps:l},d.default.createElement(Y,{customPagesPortals:i})))},{component:"OrganizationProfile",renderWhileLoading:!0}),{Page:el,Link:ea}),es=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.mountCreateOrganization,unmount:e.unmountCreateOrganization,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"CreateOrganization",renderWhileLoading:!0}),eu=(0,d.createContext)({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),ed=Object.assign(q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}},{customPages:a,customPagesPortals:i}=T(r.children,{allowForAnyChildren:!!r.__experimental_asProvider}),s={...r.organizationProfileProps,customPages:a},u=F(r.children),p={mount:e.mountOrganizationSwitcher,unmount:e.unmountOrganizationSwitcher,updateProps:e.__internal_updateProps,props:{...r,organizationProfileProps:s},rootProps:l,component:t};return e.__experimental_prefetchOrganizationSwitcher(),d.default.createElement(eu.Provider,{value:p},d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{...p,hideRootHtmlElement:!!r.__experimental_asProvider},r.__experimental_asProvider?u:null,d.default.createElement(Y,{customPagesPortals:i}))))},{component:"OrganizationSwitcher",renderWhileLoading:!0}),{OrganizationProfilePage:el,OrganizationProfileLink:ea,__experimental_Outlet:function(e){let t=(0,d.useContext)(eu),n={...t,props:{...t.props,...e}};return d.default.createElement(K,n)}}),ep=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.mountOrganizationList,unmount:e.unmountOrganizationList,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"OrganizationList",renderWhileLoading:!0}),ec=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,open:e.openGoogleOneTap,close:e.closeGoogleOneTap,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"GoogleOneTap",renderWhileLoading:!0}),em=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.mountWaitlist,unmount:e.unmountWaitlist,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"Waitlist",renderWhileLoading:!0}),ef=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t,{selector:'[data-component-status="ready"]'})||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.mountPricingTable,unmount:e.unmountPricingTable,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"PricingTable",renderWhileLoading:!0}),eh=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.mountAPIKeys,unmount:e.unmountAPIKeys,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"ApiKeys",renderWhileLoading:!0}),eg=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.__internal_mountOAuthConsent,unmount:e.__internal_unmountOAuthConsent,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"OAuthConsent",renderWhileLoading:!0}),e_=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.mountUserAvatar,unmount:e.unmountUserAvatar,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"UserAvatar",renderWhileLoading:!0}),ey=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.mountTaskChooseOrganization,unmount:e.unmountTaskChooseOrganization,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"TaskChooseOrganization",renderWhileLoading:!0}),eP=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.mountTaskResetPassword,unmount:e.unmountTaskResetPassword,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"TaskResetPassword",renderWhileLoading:!0}),eb=q(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===V(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return d.default.createElement(d.default.Fragment,null,o&&n,e.loaded&&d.default.createElement(K,{component:t,mount:e.mountTaskSetupMFA,unmount:e.unmountTaskSetupMFA,updateProps:e.__internal_updateProps,props:r,rootProps:l}))},{component:"TaskSetupMFA",renderWhileLoading:!0}),ev={actor:void 0,factorVerificationAge:null,orgId:void 0,orgPermissions:void 0,orgRole:void 0,orgSlug:void 0,sessionClaims:void 0,sessionId:void 0,sessionStatus:void 0,userId:void 0},eE=e=>new Promise(t=>{let n=r=>{["ready","degraded"].includes(r)&&(t(),e.off("status",n))};e.on("status",n,{notify:!0})}),ek=(e={})=>{let t,n,r,o;u("useAuth");let{treatPendingAsSignedOut:a}=e??{},i=(t=(0,l.useClerkInstanceContext)(),n=(0,l.useInitialStateContext)(),r=(0,d.useCallback)(()=>n,[n]),o=(0,d.useSyncExternalStore)((0,d.useCallback)(e=>t.addListener(e,{skipInitialEmit:!0}),[t]),(0,d.useCallback)(()=>t.loaded&&t.__internal_lastEmittedResources?t.__internal_lastEmittedResources:r(),[t,r]),r),(0,d.useMemo)(()=>{var e;return o?{sessionId:(e=!("client"in o)?(0,y.deriveState)(!1,{},o):(0,y.deriveState)(!0,o,void 0)).sessionId,sessionStatus:e.sessionStatus,sessionClaims:e.sessionClaims,userId:e.userId,actor:e.actor,orgId:e.orgId,orgRole:e.orgRole,orgSlug:e.orgSlug,orgPermissions:e.orgPermissions,factorVerificationAge:e.factorVerificationAge}:ev},[o])),p=s(),m=(0,d.useCallback)(async e=>{if(!P())throw new c.t("useAuth().getToken() can only be used in browser environments. To access auth data server-side, see the Auth object reference doc: https://clerk.c
1om/docs/reference/backend/types/auth-object",{code:"clerk_runtime_not_browser"});return(await eE(p),p.session)?p.session.getToken(e):null},[p]),f=(0,d.useCallback)(async(...e)=>(await eE(p),p.signOut(...e)),[p]);return p.telemetry?.record((0,_.a)("useAuth",{treatPendingAsSignedOut:a})),eI({...i,getToken:m,signOut:f},{treatPendingAsSignedOut:a})};function eI(e,{treatPendingAsSignedOut:t=!0}={}){let{userId:n,orgId:r,orgRole:o,has:l,signOut:i,getToken:s,orgPermissions:u,factorVerificationAge:p,sessionClaims:c}=e??{},m=(0,d.useCallback)(e=>l?l(e):(0,g.createCheckAuthorization)({userId:n,orgId:r,orgRole:o,orgPermissions:u,factorVerificationAge:p,features:c?.fea||"",plans:c?.pla||""})(e),[l,n,r,o,u,p,c]),f=(0,g.resolveAuthState)({authObject:{...e,getToken:s,signOut:i,has:m},options:{treatPendingAsSignedOut:t}});return f||a.throw("Invalid state. Feel free to submit a bug or reach out to support here: https://clerk.com/contact/support")}function ew(e){let{startEmailLinkFlow:t,cancelEmailLinkFlow:n}=d.default.useMemo(()=>e.createEmailLinkFlow(),[e]);return d.default.useEffect(()=>n,[]),{startEmailLinkFlow:t,cancelEmailLinkFlow:n}}function eC(e){u("useClerkSignal");let t=s();switch(e){case"signIn":t.telemetry?.record((0,_.a)("useSignIn",{apiVersion:"2025-11"}));break;case"signUp":t.telemetry?.record((0,_.a)("useSignUp",{apiVersion:"2025-11"}));break;case"waitlist":t.telemetry?.record((0,_.a)("useWaitlist",{apiVersion:"2025-11"}))}let n=(0,d.useCallback)(n=>t.loaded?t.__internal_state.__internal_effect(()=>{switch(e){case"signIn":t.__internal_state.signInSignal();break;case"signUp":t.__internal_state.signUpSignal();break;case"waitlist":t.__internal_state.waitlistSignal();break;default:throw Error(`Unknown signal: ${e}`)}n()}):()=>{},[t,t.loaded,t.__internal_state]),r=(0,d.useCallback)(()=>{switch(e){case"signIn":return t.__internal_state.signInSignal();case"signUp":return t.__internal_state.signUpSignal();case"waitlist":return t.__internal_state.waitlistSignal();default:throw Error(`Unknown signal: ${e}`)}},[t.__internal_state]);return(0,d.useSyncExternalStore)(n,r,r)}let eU=()=>eC("signIn"),eS=()=>eC("signUp");function eA(){return eC("waitlist")}e.s(["A",()=>H,"B",()=>S,"C",()=>es,"D",()=>ei,"E",()=>ep,"F",()=>e_,"G",()=>I,"H",()=>w,"I",()=>eo,"J",()=>b,"K",()=>v,"L",()=>Q,"M",()=>ey,"N",()=>eP,"O",()=>ed,"P",()=>eb,"R",()=>em,"S",()=>eh,"T",()=>eg,"U",()=>E,"V",()=>C,"W",()=>k,"Y",()=>"Unsupported usage of isSatellite, domain or proxyUrl. The usage of isSatellite, domain or proxyUrl as function is not supported in non-browser environments.","_",()=>eS,"b",()=>ek,"g",()=>eU,"j",()=>X,"k",()=>ef,"q",()=>"You've added multiple <ClerkProvider> components in your React component tree. Wrap your components in a single <ClerkProvider>.","v",()=>eA,"w",()=>ec,"x",()=>eI,"y",()=>ew,"z",()=>q],252367)}]);

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