PageSourceSearch

https://znanytrener.ai/_next/static/chunks/e695da6b7cfc83ae.js?dpl=dpl_2B3uQ88YtvcRnJdXUPngM16eQvL8

js znanytrener.ai collected 2026-10-05 16:07:48 UTC 31,383 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7a1f338d-4192-5b1d-ab29-cf0fe721d3ec")}catch(e){}}();
3(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,755838,(e,t,n)=>{"use strict";var r=e.r(271645),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=r.useState,i=r.useEffect,a=r.useLayoutEffect,s=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=l({inst:{value:n,getSnapshot:t}}),o=r[0].inst,d=r[1];return a(function(){o.value=n,o.getSnapshot=t,u(o)&&d({inst:o})},[e,n,t]),i(function(){return u(o)&&d({inst:o}),e(function(){u(o)&&d({inst:o})})},[e]),s(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},802239,(e,t,n)=>{"use strict";t.exports=e.r(755838)},893375,96248,704816,28069,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],893375);let i=t=>"undefined"!=typeof atob&&"function"==typeof atob?atob(t):e.g.Buffer?new e.g.Buffer(t,"base64").toString():t;e.s(["isomorphicAtob",()=>i],96248);let a=t=>"undefined"!=typeof btoa&&"function"==typeof btoa?btoa(t):e.g.Buffer?new e.g.Buffer(t).toString("base64"):t;e.s(["isomorphicBtoa",()=>a],704816);let s="pk_live_",u="pk_test_",d=/^(([a-z]+)-){2}([0-9]{1,2})\.clerk\.accounts([a-z.]*)(dev|com)$/i;function p(e){return`${d.test(e)||e.startsWith("clerk.")&&t.some(t=>e.endsWith(t))?u:s}${a(`${e}$`)}`}function c(e){if(!e.endsWith("$"))return!1;let t=e.slice(0,-1);return!t.includes("$")&&t.includes(".")}function m(e,t={}){let n;if(!(e=e||"")||!f(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&&!f(e))throw Error("Publishable key not valid.");return null}let r=e.startsWith(s)?"production":"development";try{n=i(e.split("_")[2])}catch{if(t.fatal)throw Error("Publishable key not valid: Failed to decode key.");return null}if(!c(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 f(e=""){try{if(!(e.startsWith(s)||e.startsWith(u)))return!1;let t=e.split("_");if(3!==t.length)return!1;let n=t[2];if(!n)return!1;return c(i(n))}catch{return!1}}function h(){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 g(e){return e.startsWith("test_")||e.startsWith("pk_test_")}function v(e){return e.startsWith("live_")||e.startsWith("pk_live_")}function P(e){return e.startsWith("test_")||e.startsWith("sk_test_")}function y(e){return e.startsWith("live_")||e.startsWith("sk_live_")}async function b(e,t=globalThis.crypto.subtle){let n=new TextEncoder().encode(e);return a(String.fromCharCode(...new Uint8Array(await t.digest("sha-1",n)))).replace(/\+/gi,"-").replace(/\//gi,"_").substring(0,8)}let _=(e,t)=>
3`${e}_${t}`;e.s(["buildPublishableKey",()=>p,"createDevOrStagingUrlCache",()=>h,"getCookieSuffix",()=>b,"getSuffixedCookieName",()=>_,"isDevelopmentFromPublishableKey",()=>g,"isDevelopmentFromSecretKey",()=>P,"isProductionFromPublishableKey",()=>v,"isProductionFromSecretKey",()=>y,"isPublishableKey",()=>f,"parsePublishableKey",()=>m],28069)},215331,e=>{"use strict";let t=e=>{if(0==e.length)return"";if(1==e.length)return e[0];let t=e.slice(0,-1).join(", ");return t+`, or ${e.slice(-1)}`},n=/^(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 r(e){return n.test(e||"")}function o(e){let t=e||"";return t.charAt(0).toUpperCase()+t.slice(1)}function l(e){return e?e.replace(/([-_][a-z])/g,e=>e.toUpperCase().replace(/-|_/,"")):""}function i(e){return e?e.replace(/[A-Z]/g,e=>`_${e.toLowerCase()}`):""}let a=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},s=a(i),u=a(l);function d(e){if("boolean"==typeof e)return e;if(null==e)return!1;if("string"==typeof e){if("true"===e.toLowerCase())return!0;if("false"===e.toLowerCase())return!1}let t=parseInt(e,10);return!isNaN(t)&&t>0}function p(e){return Object.entries(e).reduce((e,[t,n])=>(void 0!==n&&(e[t]=n),e),{})}e.s(["camelToSnake",()=>i,"deepCamelToSnake",()=>s,"deepSnakeToCamel",()=>u,"getNonUndefinedValues",()=>p,"isIPV4Address",()=>r,"isTruthy",()=>d,"snakeToCamel",()=>l,"titleize",()=>o,"toSentence",()=>t])},949542,111432,e=>{"use strict";let t=(...e)=>{};e.s(["noop",()=>t],949542);let n=()=>{let e=t,n=t;return{promise:new Promise((t,r)=>{e=t,n=r}),resolve:e,reject:n}};e.s(["createDeferredPromise",()=>n],111432)},2193,441383,678754,609580,903949,e=>{"use strict";e.i(247167);let t=()=>!1,n=()=>!1,r=()=>{try{return!0}catch{}return!1};function o(e,t,n){return"function"==typeof e?e(t):void 0!==e?e:void 0!==n?n:void 0}function l(e){return Promise.all(Array.from(e).map(e=>e.then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e}))))}e.s(["isDevelopmentEnvironment",()=>t,"isProductionEnvironment",()=>r,"isTestEnvironment",()=>n],441383),e.s(["handleValueOrFn",()=>o],678754),e.i(949542),e.i(111432);let i=e=>{t()&&console.error(`Clerk: ${e}`)},a=new Set(["__proto__","constructor","prototype"]),s=(e,t)=>{if(e&&t)for(let n in e)!a.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)!a.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){return e.endsWith(".lclstage.dev")||e.endsWith(".stgstage.dev")||e.endsWith(".clerkstage.dev")||e.endsWith(".accountsstage.dev")}e.s(["allSettled",()=>l,"fastDeepMergeAndKeep",()=>u,"fastDeepMergeAndReplace",()=>s,"logErrorInDevMode",()=>i],609580),e.s(["isStaging",()=>d],903949),e.s([],2193)},134880,780240,875372,945368,e=>{"use strict";let t;var n,r=e.i(713039);e.s([],780240);var o=e.i(968929);e.i(893375),e.i(96248),e.i(704816),e.i(28069),e.i(215331);var l=e.i(624440);e.s([],875372);var i=e.i(271645),a=e.i(827085),s=(0,r.buildErrorThrower)({packageName:"@clerk/clerk-react"});function u(e){s.setMessages(e).setPackageName(e)}var[d,p]=(0,a.createContextAndHook)("AuthContext"),c=a.ClerkInstanceContext,m=a.useClerkInstanceContext,f=e=>`You've passed multiple children components to <${e}/>. You can only pass a single child component or text.`,h="<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",g="<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",v="<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",P="<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",y=e=>`<${e} /> can only accept <${e}.Page /> and <${e}.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.`,b=e=>`Missing props. <${e}.Page /> component requires the following props: url, label, labelIcon, alongside with children to be rendered inside the page.`,_=e=>`Missing props. <${e}.Link /> component requires the following props: url, label and labelIcon.`,E=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'} />`,k=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.c
3om/docs`,C="<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.",w="<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.",I="<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`.",S="<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`.",U="<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`.",A="Missing props. <UserButton.Link /> component requires the following props: href, label and labelIcon.",O="Missing props. <UserButton.Action /> component requires the following props: label.",L=e=>{(0,a.useAssertWrappedByClerkProvider)(()=>{s.throwMissingClerkProviderError({source:e})})},M=e=>new Promise(t=>{let n=r=>{["ready","degraded"].includes(r)&&(t(),e.off("status",n))};e.on("status",n,{notify:!0})}),W=(e={})=>{var t;L("useAuth");let{treatPendingAsSignedOut:n,...r}=null!=e?e:{},o=p();void 0===o.sessionId&&void 0===o.userId&&(o=null!=r?r:{});let a=m(),s=(0,i.useCallback)(async e=>(await M(a),a.session)?a.session.getToken(e):null,[a]),u=(0,i.useCallback)(async(...e)=>(await M(a),a.signOut(...e)),[a]);return null==(t=a.telemetry)||t.record((0,l.eventMethodCalled)("useAuth",{treatPendingAsSignedOut:n})),F({...o,getToken:s,signOut:u},{treatPendingAsSignedOut:n})};function F(e,{treatPendingAsSignedOut:t=!0}={}){let{userId:n,orgId:r,orgRole:l,has:a,signOut:u,getToken:d,orgPermissions:p,factorVerificationAge:c,sessionClaims:m}=null!=e?e:{},f=(0,i.useCallback)(e=>a?a(e):(0,o.createCheckAuthorization)({userId:n,orgId:r,orgRole:l,orgPermissions:p,factorVerificationAge:c,features:(null==m?void 0:m.fea)||"",plans:(null==m?void 0:m.pla)||""})(e),[a,n,r,l,p,c,m]),h=(0,o.resolveAuthState)({authObject:{...e,getToken:d,signOut:u,has:f},options:{treatPendingAsSignedOut:t}});return h||s.throw("Invalid state. Feel free to submit a bug or reach out to support here: https://clerk.com/support")}function T(e){let{startEmailLinkFlow:t,cancelEmailLinkFlow:n}=i.default.useMemo(()=>e.createEmailLinkFlow(),[e]);return i.default.useEffect(()=>n,[]),{startEmailLinkFlow:t,cancelEmailLinkFlow:n}}var x=()=>{var e;L("useSignIn");let t=m(),n=(0,a.useClientContext)();return(null==(e=t.telemetry)||e.record((0,l.eventMethodCalled)("useSignIn")),n)?{isLoaded:!0,signIn:n.signIn,setActive:t.setActive}:{isLoaded:!1,signIn:void 0,setActive:void 0}},B=()=>{var e;L("useSignUp");let t=m(),n=(0,a.useClientContext)();return(null==(e=t.telemetry)||e.record((0,l.eventMethodCalled)("useSignUp")),n)?{isLoaded:!0,signUp:n.signUp,setActive:t.setActive}:{isLoaded:!1,signUp:void 0,setActive:void 0}},D=(e,t)=>{let n=("string"==typeof t?t:null==t?void 0:t.component)||e.displayName||e.name||"Component";e.displayName=n;let r="string"==typeof t?void 0:t,o=t=>{L(n||"withClerk");let o=m();return o.loaded||(null==r?void 0:r.renderWhileLoading)?i.default.createElement(e,{...t,component:n,clerk:o}):null};return o.displayName=`withClerk(${n})`,o};e.s(["AuthContext",()=>d,"IsomorphicClerkContext",()=>c,"customLinkWrongProps",()=>_,"customMenuItemsIgnoredComponent",()=>w,"customPageWrongProps",()=>b,"customPagesIgnoredComponent",()=>y,"errorThrower",()=>s,"incompatibleRoutingWithPathProvidedError",()=>k,"multipleChildrenInButtonComponent",()=>f,"multipleClerkProvidersError",()=>"You've added multiple <ClerkProvider> components in your React component tree. Wrap your components in a single <ClerkProvider>.","noPathProvidedError",()=>E,"organizationProfileLinkRenderedError",()=>P,"organizationProfilePageRenderedError",()=>v,"setErrorThrowerOptions",()=>u,"unsupportedNonBrowserDomainOrProxyUrlFunction",()=>"Unsupported usage of isSatellite, domain or proxyUrl. The usage of isSatellite, domain or proxyUrl as function is not supported in non-browser environments.","useAssertWrappedByClerkProvider",()=>L,"useAuth",()=>W,"useDerivedAuth",()=>F,"useEmailLink",()=>T,"useIsomorphicClerkContext",()=>m,"useSignIn",()=>x,"useSignUp",()=>B,"userButtonIgnoredComponent",()=>C,"userButtonMenuActionRenderedError",()=>S,"userButtonMenuItemLinkWrongProps",()=>A,"userButtonMenuItemsActionWrongsProps",()=>O,"userButtonMenuItemsRenderedError",()=>I,"userButtonMenuLinkRenderedError",()=>U,"userProfileLinkRenderedError",()=>g,"userProfilePageRenderedError",()=>h,"withClerk",()=>D],945368),e.i(2193);var z=e.i(609580),R=i,$=e.i(174080);let N=(e,...t)=>{let n={...e};for(let e of t)delete n[e];return n};var j=e=>t=>{try{return R.default.Children.only(e)}catch{return s.throw(f(t))}},K=(e,t)=>(e||(e=t),"string"==typeof e&&(e=R.default.createElement("button",null,e)),e),G=e=>(...t)=>{if(e&&"function"==typeof e)return e(...t)};function V(e){return"function"==typeof e}var q=new Map;
3function X(e,t,n){let r=e.displayName||e.name||t||"Component",o=r=>(!function(e,t,n=1){R.default.useEffect(()=>{let r=q.get(e)||0;return r==n?s.throw(t):(q.set(e,r+1),()=>{q.set(e,(q.get(e)||1)-1)})},[])}(t,n),R.default.createElement(e,{...r}));return o.displayName=`withMaxAllowedInstancesGuard(${r})`,o}var Y=e=>{let[t,n]=(0,R.useState)(new Map);return e.map(e=>({id:e.id,mount:t=>n(n=>new Map(n).set(String(e.id),t)),unmount:()=>n(t=>{let n=new Map(t);return n.set(String(e.id),null),n}),portal:()=>{let n=t.get(String(e.id));return n?(0,$.createPortal)(e.component,n):null}}))},H=(e,t)=>!!e&&R.default.isValidElement(e)&&(null==e?void 0:e.type)===t,Z=(e,t)=>ee({children:e,reorderItemsLabels:["account","security","billing","apiKeys"],LinkComponent:eh,PageComponent:ef,MenuItemsComponent:eP,componentName:"UserProfile"},t),J=(e,t)=>ee({children:e,reorderItemsLabels:["general","members","billing","apiKeys"],LinkComponent:ek,PageComponent:eE,componentName:"OrganizationProfile"},t),Q=e=>{let t=[],n=[ek,eE,eP,ef,eh];return R.default.Children.forEach(e,e=>{n.some(t=>H(e,t))||t.push(e)}),t},ee=(e,t)=>{let{children:n,LinkComponent:r,PageComponent:o,MenuItemsComponent:l,reorderItemsLabels:i,componentName:a}=e,{allowForAnyChildren:s=!1}=t||{},u=[];R.default.Children.forEach(n,e=>{if(!H(e,o)&&!H(e,r)&&!H(e,l)){e&&!s&&(0,z.logErrorInDevMode)(y(a));return}let{props:t}=e,{children:n,label:d,url:p,labelIcon:c}=t;if(H(e,o))if(et(t,i))u.push({label:d});else{if(!en(t))return void(0,z.logErrorInDevMode)(b(a));u.push({label:d,labelIcon:c,children:n,url:p})}if(H(e,r))if(!er(t))return void(0,z.logErrorInDevMode)(_(a));else u.push({label:d,labelIcon:c,url:p})});let d=[],p=[],c=[];u.forEach((e,t)=>{if(en(e)){d.push({component:e.children,id:t}),p.push({component:e.labelIcon,id:t});return}er(e)&&c.push({component:e.labelIcon,id:t})});let m=Y(d),f=Y(p),h=Y(c),g=[],v=[];return u.forEach((e,t)=>{if(et(e,i))return void g.push({label:e.label});if(en(e)){let{portal:n,mount:r,unmount:o}=m.find(e=>e.id===t),{portal:l,mount:i,unmount:a}=f.find(e=>e.id===t);g.push({label:e.label,url:e.url,mount:r,unmount:o,mountIcon:i,unmountIcon:a}),v.push(n),v.push(l);return}if(er(e)){let{portal:n,mount:r,unmount:o}=h.find(e=>e.id===t);g.push({label:e.label,url:e.url,mountIcon:r,unmountIcon:o}),v.push(n);return}}),{customPages:g,customPagesPortals:v}},et=(e,t)=>{let{children:n,label:r,url:o,labelIcon:l}=e;return!n&&!o&&!l&&t.some(e=>e===r)},en=e=>{let{children:t,label:n,url:r,labelIcon:o}=e;return!!t&&!!r&&!!o&&!!n},er=e=>{let{children:t,label:n,url:r,labelIcon:o}=e;return!t&&!!r&&!!o&&!!n},eo=(e,t)=>{let{children:n,label:r,onClick:o,labelIcon:l}=e;return!n&&!o&&!l&&t.some(e=>e===r)},el=e=>{let{label:t,labelIcon:n,onClick:r,open:o}=e;return!!n&&!!t&&("function"==typeof r||"string"==typeof o)},ei=e=>{let{label:t,href:n,labelIcon:r}=e;return!!n&&!!r&&!!t},ea=(t=(n={childList:!0,subtree:!0,isReady:(e,t)=>{var n;return!!(null==e?void 0:e.childElementCount)&&(null==(n=null==e?void 0:e.matches)?void 0:n.call(e,t))&&e.childElementCount>0}}).isReady,e=>new Promise((r,o)=>{let{root:l=null==document?void 0:document.body,selector:i,timeout:a=0}=e;if(!l)return void o(Error("No root element provided"));let s=l;if(i&&(s=null==l?void 0:l.querySelector(i)),t(s,i))return void r();let u=new MutationObserver(e=>{for(let o of e)if(!s&&i&&(s=null==l?void 0:l.querySelector(i)),(n.childList&&"childList"===o.type||n.attributes&&"attributes"===o.type)&&t(s,i)){u.disconnect(),r();return}});u.observe(l,n),a>0&&setTimeout(()=>{u.disconnect(),o(Error(`Timeout waiting for ${i}`))},a)}));function es(e,t){let n=(0,R.useRef)(),[r,o]=(0,R.useState)("rendering");return(0,R.useEffect)(()=>{if(!e)throw Error("Clerk: no component name provided, unable to detect mount.");if("undefined"!=typeof window&&!n.current){let r=`[data-clerk-component="${e}"]`,l=null==t?void 0:t.selector;n.current=ea({selector:l?r+l:r}).then(()=>{o("rendered")}).catch(()=>{o("error")})}},[e,null==t?void 0:t.selector]),r}var eu=e=>null==e?void 0:e.map(({mountIcon:e,unmountIcon:t,...n})=>n),ed=class extends R.default.PureComponent{constructor(){super(...arguments),this.rootRef=R.default.createRef()}componentDidUpdate(e){var t,n,r,o;
3if(!("mount"in e)||!("mount"in this.props))return;let l=N(e.props,"customPages","customMenuItems","children"),i=N(this.props.props,"customPages","customMenuItems","children"),s=(null==(t=l.customPages)?void 0:t.length)!==(null==(n=i.customPages)?void 0:n.length),u=(null==(r=l.customMenuItems)?void 0:r.length)!==(null==(o=i.customMenuItems)?void 0:o.length),d=eu(e.props.customMenuItems),p=eu(this.props.props.customMenuItems);(!(0,a.isDeeplyEqual)(l,i)||!(0,a.isDeeplyEqual)(d,p)||s||u)&&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 R.default.createElement(R.default.Fragment,null,!e&&R.default.createElement("div",{...t}),this.props.children)}},ep=e=>{var t,n;return R.default.createElement(R.default.Fragment,null,null==(t=null==e?void 0:e.customPagesPortals)?void 0:t.map((e,t)=>(0,R.createElement)(e,{key:t})),null==(n=null==e?void 0:e.customMenuItemsPortals)?void 0:n.map((e,t)=>(0,R.createElement)(e,{key:t}
3)))},ec=D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{component:t,mount:e.mountSignIn,unmount:e.unmountSignIn,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"SignIn",renderWhileLoading:!0}),em=D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{component:t,mount:e.mountSignUp,unmount:e.unmountSignUp,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"SignUp",renderWhileLoading:!0});function ef({children:e}){return(0,z.logErrorInDevMode)(h),R.default.createElement(R.default.Fragment,null,e)}function eh({children:e}){return(0,z.logErrorInDevMode)(g),R.default.createElement(R.default.Fragment,null,e)}var eg=Object.assign(D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}},{customPages:i,customPagesPortals:a}=Z(r.children);return R.default.createElement(R.default.Fragment,null,o&&n,R.default.createElement(ed,{component:t,mount:e.mountUserProfile,unmount:e.unmountUserProfile,updateProps:e.__unstable__updateProps,props:{...r,customPages:i},rootProps:l},R.default.createElement(ep,{customPagesPortals:a})))},{component:"UserProfile",renderWhileLoading:!0}),{Page:ef,Link:eh}),ev=(0,R.createContext)({mount:()=>{},unmount:()=>{},updateProps:()=>{}});function eP({children:e}){return(0,z.logErrorInDevMode)(I),R.default.createElement(R.default.Fragment,null,e)}function ey({children:e}){return(0,z.logErrorInDevMode)(S),R.default.createElement(R.default.Fragment,null,e)}function eb({children:e}){return(0,z.logErrorInDevMode)(U),R.default.createElement(R.default.Fragment,null,e)}var e_=Object.assign(D(({clerk:e,component:t,fallback:n,...r})=>{var o;let l="rendering"===es(t)||!e.loaded,i={...l&&n&&{style:{display:"none"}}},{customPages:a,customPagesPortals:s}=Z(r.children,{allowForAnyChildren:!!r.__experimental_asProvider}),u={...r.userProfileProps,customPages:a},{customMenuItems:d,customMenuItemsPortals:p}=(({children:e,MenuItemsComponent:t,MenuActionComponent:n,MenuLinkComponent:r,UserProfileLinkComponent:o,UserProfilePageComponent:l,reorderItemsLabels:i,allowForAnyChildren:a=!1})=>{let s=[],u=[],d=[];R.default.Children.forEach(e,e=>{if(!H(e,t)&&!H(e,o)&&!H(e,l)){e&&!a&&(0,z.logErrorInDevMode)(C);return}if(H(e,o)||H(e,l))return;let{props:u}=e;R.default.Children.forEach(u.children,e=>{if(!H(e,n)&&!H(e,r)){e&&(0,z.logErrorInDevMode)(w);return}let{props:t}=e,{label:o,labelIcon:l,href:a,onClick:u,open:d}=t;if(H(e,n))if(eo(t,i))s.push({label:o});else{if(!el(t))return void(0,z.logErrorInDevMode)(O);let e={label:o,labelIcon:l};if(void 0!==u)s.push({...e,onClick:u});else{if(void 0===d)return void(0,z.logErrorInDevMode)("Custom menu item must have either onClick or open property");s.push({...e,open:d.startsWith("/")?d:`/${d}`})}}if(H(e,r))if(!ei(t))return void(0,z.logErrorInDevMode)(A);else s.push({label:o,labelIcon:l,href:a})})});let p=[],c=[];s.forEach((e,t)=>{el(e)&&p.push({component:e.labelIcon,id:t}),ei(e)&&c.push({component:e.labelIcon,id:t})});let m=Y(p),f=Y(c);return s.forEach((e,t)=>{if(eo(e,i)&&u.push({label:e.label}),el(e)){let{portal:n,mount:r,unmount:o}=m.find(e=>e.id===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),d.push(n)}if(ei(e)){let{portal:n,mount:r,unmount:o}=f.find(e=>e.id===t);u.push({label:e.label,href:e.href,mountIcon:r,unmountIcon:o}),d.push(n)}}),{customMenuItems:u,customMenuItemsPortals:d}})({children:r.children,reorderItemsLabels:["manageAccount","signOut"],MenuItemsComponent:eP,MenuActionComponent:ey,MenuLinkComponent:eb,
3UserProfileLinkComponent:eh,UserProfilePageComponent:ef,allowForAnyChildren:null!=(o=({allowForAnyChildren:!!r.__experimental_asProvider}).allowForAnyChildren)&&o}),c=Q(r.children),m={mount:e.mountUserButton,unmount:e.unmountUserButton,updateProps:e.__unstable__updateProps,props:{...r,userProfileProps:u,customMenuItems:d}};return R.default.createElement(ev.Provider,{value:m},l&&n,e.loaded&&R.default.createElement(ed,{component:t,...m,hideRootHtmlElement:!!r.__experimental_asProvider,rootProps:i},r.__experimental_asProvider?c:null,R.default.createElement(ep,{customPagesPortals:s,customMenuItemsPortals:p})))},{component:"UserButton",renderWhileLoading:!0}),{UserProfilePage:ef,UserProfileLink:eh,MenuItems:eP,Action:ey,Link:eb,__experimental_Outlet:function(e){let t=(0,R.useContext)(ev),n={...t,props:{...t.props,...e}};return R.default.createElement(ed,{...n})}});function eE({children:e}){return(0,z.logErrorInDevMode)(v),R.default.createElement(R.default.Fragment,null,e)}function ek({children:e}){return(0,z.logErrorInDevMode)(P),R.default.createElement(R.default.Fragment,null,e)}var eC=Object.assign(D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}},{customPages:i,customPagesPortals:a}=J(r.children);return R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{component:t,mount:e.mountOrganizationProfile,unmount:e.unmountOrganizationProfile,updateProps:e.__unstable__updateProps,props:{...r,customPages:i},rootProps:l},R.default.createElement(ep,{customPagesPortals:a})))},{component:"OrganizationProfile",renderWhileLoading:!0}),{Page:eE,Link:ek}),ew=D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{component:t,mount:e.mountCreateOrganization,unmount:e.unmountCreateOrganization,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"CreateOrganization",renderWhileLoading:!0}),eI=(0,R.createContext)({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),eS=Object.assign(D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}},{customPages:i,customPagesPortals:a}=J(r.children,{allowForAnyChildren:!!r.__experimental_asProvider}),s={...r.organizationProfileProps,customPages:i},u=Q(r.children),d={mount:e.mountOrganizationSwitcher,unmount:e.unmountOrganizationSwitcher,updateProps:e.__unstable__updateProps,props:{...r,organizationProfileProps:s},rootProps:l,component:t};return e.__experimental_prefetchOrganizationSwitcher(),R.default.createElement(eI.Provider,{value:d},R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{...d,hideRootHtmlElement:!!r.__experimental_asProvider},r.__experimental_asProvider?u:null,R.default.createElement(ep,{customPagesPortals:a}))))},{component:"OrganizationSwitcher",renderWhileLoading:!0}),{OrganizationProfilePage:eE,OrganizationProfileLink:ek,__experimental_Outlet:function(e){let t=(0,R.useContext)(eI),n={...t,props:{...t.props,...e}};return R.default.createElement(ed,{...n})}}),eU=D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{component:t,mount:e.mountOrganizationList,unmount:e.unmountOrganizationList,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"OrganizationList",renderWhileLoading:!0}),eA=D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{component:t,open:e.openGoogleOneTap,close:e.closeGoogleOneTap,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"GoogleOneTap",renderWhileLoading:!0}),eO=D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{component:t,mount:e.mountWaitlist,unmount:e.unmountWaitlist,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"Waitlist",renderWhileLoading:!0}),eL=D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t,{selector:'[data-component-status="ready"]'})||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{component:t,mount:e.mountPricingTable,unmount:e.unmountPricingTable,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"PricingTable",renderWhileLoading:!0}),eM=D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{component:t,mount:e.mountAPIKeys,unmount:e.unmountAPIKeys,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"ApiKeys",renderWhileLoading:!0}),eW=D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{component:t,mount:e.mountUserAvatar,unmount:e.unmountUserAvatar,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"UserAvatar",renderWhileLoading:!0}),eF=D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{component:t,mount:e.mountTaskChooseOrganization,unmount:e.unmountTaskChooseOrganization,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"TaskChooseOrganization",renderWhileLoading:!0}),eT=D(({clerk:e,component:t,fallback:n,...r})=>{let o="rendering"===es(t)||!e.loaded,l={...o&&n&&{style:{display:"none"}}};return R.default.createElement(R.default.Fragment,null,o&&n,e.loaded&&R.default.createElement(ed,{component:t,mount:e.mountTaskResetPassword,unmount:e.unmountTaskResetPassword,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"TaskResetPassword",renderWhileLoading:!0});e.s(["APIKeys",()=>eM,"CreateOrganization",()=>ew,"GoogleOneTap",()=>eA,"OrganizationList",()=>eU,"OrganizationProfile",()=>eC,"OrganizationSwitcher",()=>eS,"PricingTable",()=>eL,"SignIn",()=>ec,"SignUp",()=>em,"TaskChooseOrganization",()=>eF,"TaskResetPassword",()=>eT,"UserAvatar",()=>eW,"UserButton",()=>e_,"UserProfile",()=>eg,"Waitlist",()=>eO,"assertSingleChild",()=>j,"isConstructor",()=>V,"normalizeWithDefaultValue",()=>K,"safeExecute",()=>G,"withMaxAllowedInstancesGuard",()=>X],134880)}]);
4
5//# sourceMappingURL=2e33a9bfd9289d62.js.map
6//# debugId=7a1f338d-4192-5b1d-ab29-cf0fe721d3ec

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.