@clerk/ui 1.0.0-snapshot.v20251218183643 → 1.0.0-snapshot.v20260105214115
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.
- package/dist/207_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/217_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/360_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/444_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/573_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/970_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/ClerkUi.js +2 -2
- package/dist/apiKeys_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/blankcaptcha_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/{checkout_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → checkout_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +1 -1
- package/dist/checkout_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/components/Checkout/CheckoutPage.js +1 -1
- package/dist/components/Checkout/CheckoutPage.js.map +1 -1
- package/dist/components/Checkout/parts.js +1 -1
- package/dist/components/Checkout/parts.js.map +1 -1
- package/dist/components/OrganizationList/UserMembershipList.js +1 -1
- package/dist/components/OrganizationList/UserMembershipList.js.map +1 -1
- package/dist/components/OrganizationSwitcher/OrganizationSwitcherPopover.js +1 -1
- package/dist/components/OrganizationSwitcher/OrganizationSwitcherPopover.js.map +1 -1
- package/dist/components/OrganizationSwitcher/OrganizationSwitcherTrigger.js +1 -1
- package/dist/components/OrganizationSwitcher/OrganizationSwitcherTrigger.js.map +1 -1
- package/dist/components/OrganizationSwitcher/UserMembershipList.js +1 -1
- package/dist/components/OrganizationSwitcher/UserMembershipList.js.map +1 -1
- package/dist/components/SignIn/index.js +1 -1
- package/dist/components/SignIn/index.js.map +1 -1
- package/dist/components/SignUp/index.js +1 -1
- package/dist/components/SignUp/index.js.map +1 -1
- package/dist/components/UserProfile/Web3Form.js +32 -45
- package/dist/components/UserProfile/Web3Form.js.map +1 -1
- package/dist/components/UserProfile/Web3Section.js +6 -3
- package/dist/components/UserProfile/Web3Section.js.map +1 -1
- package/dist/copy-api-key-modal_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/createorganization_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/enableOrganizationsPrompt_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/framework_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/impersonationfab_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/index.js +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/keylessPrompt_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/oauthConsent_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/onetap_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/op-api-keys-page_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/op-billing-page_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/op-plans-page_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/organizationlist_ui_bd1c40_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/organizationlist_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/organizationprofile_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/organizationswitcher_ui_bd1c40_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/organizationswitcher_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/payment-attempt-page_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/planDetails_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/prefetchorganizationlist_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/pricingTable_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/revoke-api-key-modal_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/sessionTasks_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/{signin_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → signin_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +1 -1
- package/dist/signin_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/{signup_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → signup_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +1 -1
- package/dist/signup_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/statement-page_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/subscriptionDetails_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/taskChooseOrganization_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/taskResetPassword_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/{ui-common_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → ui-common_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +7 -7
- package/dist/ui-common_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/ui.browser.js +1 -1
- package/dist/ui.legacy.browser.js +1 -0
- package/dist/up-api-keys-page_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/up-billing-page_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/up-plans-page_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/useravatar_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/userbutton_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/{userprofile_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → userprofile_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +2 -2
- package/dist/userprofile_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/userverification_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/utils/errorHandler.js +1 -7
- package/dist/utils/errorHandler.js.map +1 -1
- package/dist/{vendors_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → vendors_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +1 -1
- package/dist/vendors_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/waitlist_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/dist/{web3-solana-wallet-buttons_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → web3-solana-wallet-buttons_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +3 -3
- package/dist/web3-solana-wallet-buttons_ui_dd6371_1.0.0-snapshot.v20260105214115.js +1 -0
- package/package.json +8 -5
- package/dist/organizationlist_ui_b31bc8_1.0.0-snapshot.v20251218183643.js +0 -1
- package/dist/organizationswitcher_ui_b31bc8_1.0.0-snapshot.v20251218183643.js +0 -1
- /package/dist/{207_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → 207_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{217_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → 217_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{360_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → 360_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{444_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → 444_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{573_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → 573_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{970_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → 970_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{apiKeys_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → apiKeys_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{blankcaptcha_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → blankcaptcha_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{copy-api-key-modal_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → copy-api-key-modal_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{createorganization_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → createorganization_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → enableOrganizationsPrompt_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{framework_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → framework_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{impersonationfab_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → impersonationfab_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{keylessPrompt_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → keylessPrompt_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{oauthConsent_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → oauthConsent_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{onetap_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → onetap_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{op-api-keys-page_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → op-api-keys-page_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{op-billing-page_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → op-billing-page_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{op-plans-page_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → op-plans-page_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{organizationprofile_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → organizationprofile_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{payment-attempt-page_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → payment-attempt-page_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{planDetails_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → planDetails_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → prefetchorganizationlist_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{pricingTable_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → pricingTable_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{revoke-api-key-modal_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → revoke-api-key-modal_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{sessionTasks_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → sessionTasks_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{statement-page_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → statement-page_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{subscriptionDetails_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → subscriptionDetails_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → taskChooseOrganization_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{taskResetPassword_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → taskResetPassword_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{up-api-keys-page_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → up-api-keys-page_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{up-billing-page_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → up-billing-page_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{up-plans-page_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → up-plans-page_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{useravatar_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → useravatar_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{userbutton_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → userbutton_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{userverification_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → userverification_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
- /package/dist/{waitlist_ui_b31bc8_1.0.0-snapshot.v20251218183643.js → waitlist_ui_bd1c40_1.0.0-snapshot.v20260105214115.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_clerk_ui=globalThis.webpackChunk_clerk_ui||[]).push([["666"],{26932:function(e,t,n){n.d(t,{A:()=>l});var r,o,a=n(35074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let l=function(e){return a.createElement("svg",i({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 24"},e),r||(r=a.createElement("circle",{cx:18,cy:12,r:11.5,fillOpacity:.1,strokeOpacity:.4,stroke:"currentColor",strokeDasharray:"2 2"})),o||(o=a.createElement("path",{d:"M18.75 7.75a.75.75 0 1 0-1.5 0v3.5h-3.5a.75.75 0 1 0 0 1.5h3.5v3.5a.75.75 0 1 0 1.5 0v-3.5h3.5a.75.75 0 1 0 0-1.5h-3.5v-3.5Z"})))}},92067:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",viewBox:"0 0 20 20"},e),r||(r=o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3.3 10h13.4m-5-5 5 5-5 5"})))}},77078:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),r||(r=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 7.5 7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5"})))}},15079:function(e,t,n){n.d(t,{A:()=>l});var r,o,a=n(35074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let l=function(e){return a.createElement("svg",i({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=a.createElement("path",{d:"M7 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"})),o||(o=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 2c-1.105 0-2 .895-2 2v8c0 1.105.895 2 2 2h8c1.105 0 2-.895 2-2V4c0-1.105-.895-2-2-2H4Zm3 9a3.002 3.002 0 0 0 2.906-2.25H12a.75.75 0 0 0 0-1.5H9.906A3.002 3.002 0 0 0 4 8c0 .941.438 1.785 1.117 2.336A2.985 2.985 0 0 0 7 11Z"})))}},2782:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),r||(r=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.996 16.178A13.439 13.439 0 0 0 10.5 24c0 7.456 6.044 13.5 13.5 13.5 2.916 0 5.615-.924 7.822-2.496L12.996 16.178Zm3.182-3.182 18.826 18.826A13.439 13.439 0 0 0 37.5 24c0-7.456-6.044-13.5-13.5-13.5-2.916 0-5.615.924-7.822 2.496Zm20.55 23.731A17.944 17.944 0 0 0 42 24c0-9.941-8.059-18-18-18S6 14.059 6 24s8.059 18 18 18c4.97 0 9.468-2.014 12.725-5.27l.003-.002v-.001Z",fill:"currentColor"})))}},11051:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.4 4v6.4a1.6 1.6 0 0 1-1.6 1.6h-4l-4 3.2V12H3.2a1.6 1.6 0 0 1-1.6-1.6V4a1.6 1.6 0 0 1 1.6-1.6h9.6A1.6 1.6 0 0 1 14.4 4ZM5.6 6.4H4V8h1.6V6.4Zm1.6 0h1.6V8H7.2V6.4Zm4.8 0h-1.6V8H12V6.4Z",clipRule:"evenodd"})))}},92405:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 10"},e),r||(r=o.createElement("path",{d:"m1 6 3 3 5-8",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})))}},67649:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.24 6.2a.75.75 0 0 1 1.06.04l2.698 2.906 2.45-2.655a.744.744 0 0 1 .022-.021l.25-.25a.75.75 0 1 1 1.06 1.06l-.24.24-2.989 3.239a.75.75 0 0 1-1.1.001L4.2 7.26A.75.75 0 0 1 4.24 6.2Z"})))}},98023:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{d:"M5.53 9.22a.75.75 0 0 0-1.06 1.06l3 3a.75.75 0 0 0 1.06 0l3-3a.75.75 0 1 0-1.06-1.06L8 11.69 5.53 9.22ZM5.53 6.78a.75.75 0 0 1-1.06-1.06l3-3a.75.75 0 0 1 1.06 0l3 3a.75.75 0 0 1-1.06 1.06L8 4.31 5.53 6.78Z"})))}},17630:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12"},e),r||(r=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.129.33A.75.75 0 0 1 3.75 0h4.5a.75.75 0 0 1 .707.5h.293A2.75 2.75 0 0 1 12 3.25v6A2.75 2.75 0 0 1 9.25 12h-6.5A2.75 2.75 0 0 1 0 9.25v-6A2.75 2.75 0 0 1 2.75.5h.293a.75.75 0 0 1 .086-.17ZM3.442 2H2.75c-.69 0-1.25.56-1.25 1.25v6c0 .69.56 1.25 1.25 1.25h6.5c.69 0 1.25-.56 1.25-1.25v-6C10.5 2.56 9.94 2 9.25 2h-.692l-.147.368a2.596 2.596 0 0 1-4.822 0L3.442 2Zm3.7-.5H4.858l.124.31a1.096 1.096 0 0 0 2.036 0l.124-.31Z",fill:"currentColor"})))}},5057:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 10"},e),r||(r=o.createElement("path",{d:"M1.791.722a.756.756 0 0 0-1.07 1.07L3.932 5 .72 8.209a.756.756 0 1 0 1.07 1.07L5 6.068l3.209 3.21a.756.756 0 0 0 1.07-1.07L6.068 5l3.21-3.209a.756.756 0 1 0-1.07-1.07L5 3.932 1.791.72Z",fill:"currentColor"})))}},58813:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.559 2.536A.667.667 0 0 1 7.212 2h1.574a.667.667 0 0 1 .653.536l.22 1.101c.466.178.9.429 1.287.744l1.065-.36a.667.667 0 0 1 .79.298l.787 1.362a.666.666 0 0 1-.136.834l-.845.742c.079.492.079.994 0 1.486l.845.742a.666.666 0 0 1 .137.833l-.787 1.363a.667.667 0 0 1-.791.298l-1.065-.36c-.386.315-.82.566-1.286.744l-.22 1.101a.666.666 0 0 1-.654.536H7.212a.666.666 0 0 1-.653-.536l-.22-1.101a4.664 4.664 0 0 1-1.287-.744l-1.065.36a.666.666 0 0 1-.79-.298L2.41 10.32a.667.667 0 0 1 .136-.834l.845-.743a4.7 4.7 0 0 1 0-1.485l-.845-.742a.667.667 0 0 1-.137-.833l.787-1.363a.667.667 0 0 1 .791-.298l1.065.36c.387-.315.821-.566 1.287-.744l.22-1.101ZM7.999 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"})))}},42852:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=o.createElement("path",{d:"M7.94 10.23v2.078a.687.687 0 0 1-.682.692h-5.91a.676.676 0 0 1-.482-.203.698.698 0 0 1-.2-.49V4.463c0-.383.306-.693.682-.693h1.137c.304 0 .609.026.909.077m4.545 6.385h2.046c.376 0 .682-.31.682-.693v-3c0-2.744-1.966-5.022-4.546-5.462A5.41 5.41 0 0 0 5.212 1H4.076a.687.687 0 0 0-.682.692v2.154m4.545 6.385H4.076a.677.677 0 0 1-.482-.203.698.698 0 0 1-.2-.49V3.846m7.273 4.077V6.77c0-.55-.216-1.079-.6-1.468a2.03 2.03 0 0 0-1.446-.609h-.909a.677.677 0 0 1-.482-.202.698.698 0 0 1-.2-.49v-.923a2.105 2.105 0 0 0-.599-1.469A2.043 2.043 0 0 0 4.985 1h-.682",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})))}},14967:function(e,t,n){n.d(t,{A:()=>l});var r,o,a=n(35074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let l=function(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),r||(r=a.createElement("path",{d:"M1.5 5a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2h-13Z"})),o||(o=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6.5h13V11a2 2 0 0 1-2 2h-9a2 2 0 0 1-2-2V6.5ZM3.7 9a.2.2 0 0 0-.2.2v1.6c0 .11.09.2.2.2h2.6a.2.2 0 0 0 .2-.2V9.2a.2.2 0 0 0-.2-.2H3.7Z"})))}},36529:function(e,t,n){n.d(t,{A:()=>d});var r,o,a,i,l,s=n(35074);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let d=function(e){return s.createElement("svg",c({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),r||(r=s.createElement("path",{d:"M2.91 1.452c0-.58.077-.83.23-1.079C3.33.166 3.6 0 4.212 0h23.617c.536 0 .765.124.957.332.191.207.268.498.268 1.12v17.013c0 .58-.077.83-.192.996a1.06 1.06 0 0 1-.37.338.968.968 0 0 1-.472.118H3.905c-.306 0-.612-.125-.765-.415-.153-.166-.23-.415-.23-1.037V1.452Z",fill:"#000"})),o||(o=s.createElement("path",{d:"M3.445 19.334h25.072c.115 0 .23-.083.306-.166.077-.083.077-.207.077-.58V1.45c0-.498-.038-.83-.23-.995-.191-.208-.383-.29-.842-.29H4.211c-.498 0-.766.124-.957.331-.153.166-.192.415-.192.954v17.137c0 .374 0 .498.077.581.077.083.191.166.306.166Z",fill:"#575757"})),a||(a=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.999.912a.109.109 0 0 0 .117.006.119.119 0 0 0 .045-.046.132.132 0 0 0 0-.128.119.119 0 0 0-.045-.046.108.108 0 0 0-.117.006.109.109 0 0 0-.118-.006.12.12 0 0 0-.044.046.132.132 0 0 0 0 .128.12.12 0 0 0 .044.046.108.108 0 0 0 .118-.006Z",fill:"#000",stroke:"#000",strokeWidth:.3})),i||(i=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 19.5v-.207h32v.207s-.727.25-1.531.332c-.536.042-1.416.166-3.407.166H5.091c-1.723 0-3.177-.124-3.828-.207C.613 19.708 0 19.5 0 19.5Z",fill:"#444"})),l||(l=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.941 1.328h24.115v16.349H3.941V1.328Z",fill:"#000"})))}},50892:function(e,t,n){n.d(t,{A:()=>p});var r,o,a,i,l,s,c,d=n(35074);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let p=function(e){return d.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"670.6 72.3 84 76"},e),r||(r=d.createElement("path",{fill:"var(--cl-chassis-screen, #6D6D6D)",fillRule:"evenodd",d:"M712.5 107.2v-.6h.1l.2.1v7.2a.1.1 0 0 1-.2.2l-.1-.3v-6.6Z",clipRule:"evenodd"})),o||(o=d.createElement("path",{fill:"var(--cl-chassis-back, #6D6D6D)",fillRule:"evenodd",d:"M697.4 100v-.7h-.2a.1.1 0 0 0-.1.2v4.4s0 .2.2.2V100Z",clipRule:"evenodd"})),a||(a=d.createElement("path",{fill:"var(--cl-chassis-screen, #6D6D6D)",fillRule:"evenodd",d:"M697.4 94v-.7h-.2a.1.1 0 0 0-.1.2v4.4s0 .2.2.2V94Z",clipRule:"evenodd"})),i||(i=d.createElement("path",{fill:"var(--cl-chassis-back, #363636)",d:"M722.7 78.6c3.6 0 5.5 2.1 5.5 5.7v52.4c0 3.4-2.3 5.3-5.8 5.3H703c-3.8 0-5.8-2.4-5.7-5.4V84.3c0-3.6 2-5.7 5.6-5.7h19.8Z"})),l||(l=d.createElement("path",{fill:"var(--cl-chassis-screen, #363636)",stroke:"var(--cl-chassis-bottom, black)",strokeWidth:.5,d:"M722.3 79.2c3.7 0 5.4 1.8 5.4 5.4v52c0 3.2-2.2 5-5.5 5h-19c-3.2 0-5.4-2-5.4-5v-52c0-3.6 1.8-5.4 5.5-5.4h19Z"})),s||(s=d.createElement("path",{fill:"var(--cl-screen, black)",fillRule:"evenodd",d:"M704.9 80.3c.2 0 .3.1.3.4v.2c0 .9.8 1.7 1.6 1.7h11.8c1 0 1.7-.8 1.7-1.7v-.2c0-.3.1-.4.3-.4h3c1.6 0 3 1.7 3 3.3V137c0 1.7-1.5 3.3-3.4 3.3h-21c-2.1 0-3.3-1.3-3.3-3.2V83.6c0-1.6 1.3-3.3 2.9-3.3h3Z",clipRule:"evenodd"})),c||(c=d.createElement("path",{fillRule:"evenodd",d:"M715.3 81.2a.3.3 0 0 0-.2-.4.3.3 0 1 0-.2.6.3.3 0 0 0 .4-.2Zm-5.1-.2c0 .2 0 .3.2.3h2.9a.3.3 0 0 0 .2-.3.3.3 0 0 0-.2-.2h-2.9a.3.3 0 0 0-.2.2Z",clipRule:"evenodd"})))}},2534:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16ZM5 7H3v2h2V7Zm8 0h-2v2h2V7ZM7 7h2v2H7V7Z",clipRule:"evenodd"})))}},48691:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 14"},e),r||(r=o.createElement("path",{d:"M1 10v1.5A1.5 1.5 0 0 0 2.5 13h9a1.5 1.5 0 0 0 1.5-1.5V10m-3-3-3 3m0 0L4 7m3 3V1",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})))}},74421:function(e,t,n){n.d(t,{A:()=>l});var r,o,a=n(35074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let l=function(e){return a.createElement("svg",i({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=a.createElement("path",{d:"M2.75 2.75A1.75 1.75 0 0 0 1 4.5v1.016l6.51 3.693a1.094 1.094 0 0 0 .98 0L15 5.517V4.5a1.75 1.75 0 0 0-1.75-1.75H2.75Z",fill:"#42434D"})),o||(o=a.createElement("path",{d:"m15 6.984-5.924 3.4a2.406 2.406 0 0 1-2.152 0L1 6.983V11.5a1.75 1.75 0 0 0 1.75 1.75h10.5A1.75 1.75 0 0 0 15 11.5V6.984Z",fill:"#42434D"})))}},61603:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.866 3.012a.988.988 0 0 0-1.732 0L2.13 12.004c-.372.67.106 1.496.866 1.496h10.01c.76 0 1.238-.827.866-1.496L8.866 3.012Zm-1.66 5.74a.798.798 0 0 0 1.593 0l.14-2.254a.94.94 0 1 0-1.875 0l.141 2.253Zm.046 2.498a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"})))}},6294:function(e,t,n){n.d(t,{A:()=>l});var r,o,a=n(35074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let l=function(e){return a.createElement("svg",i({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=a.createElement("path",{d:"M8 9.607c.421 0 .825-.17 1.123-.47a1.617 1.617 0 0 0 0-2.273 1.578 1.578 0 0 0-2.246 0 1.617 1.617 0 0 0 0 2.272c.298.302.702.471 1.123.471Z"})),o||(o=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.07 8.38a1.073 1.073 0 0 1 0-.763 6.42 6.42 0 0 1 2.334-2.99A6.302 6.302 0 0 1 8 3.5c2.704 0 5.014 1.71 5.93 4.12.094.246.093.518 0 .763a6.418 6.418 0 0 1-2.334 2.99A6.301 6.301 0 0 1 8 12.5c-2.704 0-5.013-1.71-5.93-4.12ZM10.54 8c0 .682-.267 1.336-.743 1.818A2.526 2.526 0 0 1 8 10.571c-.674 0-1.32-.27-1.796-.753A2.587 2.587 0 0 1 5.459 8c0-.682.268-1.336.745-1.818A2.525 2.525 0 0 1 8 5.429c.674 0 1.32.27 1.797.753.476.482.744 1.136.744 1.818Z"})))}},16889:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 48 48"},e),r||(r=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3.6,d:"M11.127 39.944c.442-.987.847-1.989 1.218-3.01M30.3 43.801c.723-1.89 1.197-4.02 1.725-5.962M16.165 5.997a20.528 20.528 0 0 1 9.432-1.77 20.308 20.308 0 0 1 9.176 2.687c2.764 1.602 5.042 3.83 6.622 6.472C42.974 16.03 43.802 19 43.8 22.022c0 3.94-.335 7.807-.98 11.58l-2.02 10.2M4.2 30.985a35.346 35.346 0 0 0 1.15-8.963c0-3.875 1.336-7.463 3.605-10.386m15.62 10.383c.008 7.484-1.62 14.893-4.775 21.782m-5.056-17.4c.144-1.442.218-2.902.218-4.38 0-2.362 1.013-4.628 2.815-6.299 1.803-1.67 4.248-2.609 6.797-2.609 2.55 0 4.995.939 6.797 2.61 1.803 1.67 2.816 3.936 2.816 6.298 0 1.084-.028 2.161-.087 3.232l-.687 4.186"})))}},65203:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.204 3.01A2 2 0 0 1 14 5v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.796-1.99L4 3h8l.204.01ZM4 7a.5.5 0 0 0-.5.5V8h1.396c.672 0 1.28.396 1.552 1.009.598 1.344 2.506 1.344 3.104 0A1.699 1.699 0 0 1 11.104 8H12.5v-.5A.5.5 0 0 0 12 7H4Zm0-2.5a.5.5 0 0 0-.5.5v.564c.096-.024.195-.043.296-.053L4 5.5h8l.204.01c.101.011.2.03.296.054V5a.5.5 0 0 0-.5-.5H4Z",fill:"currentColor"})))}},89068:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.4 8A6.4 6.4 0 1 1 1.6 8a6.4 6.4 0 0 1 12.8 0ZM8.8 4.8a.8.8 0 1 1-1.6 0 .8.8 0 0 1 1.6 0ZM7.2 7.2a.8.8 0 1 0 0 1.6v2.4a.8.8 0 0 0 .8.8h.8a.8.8 0 0 0 0-1.6V8a.8.8 0 0 0-.8-.8h-.8Z",clipRule:"evenodd"})))}},85763:function(e,t,n){n.d(t,{A:()=>l});var r,o,a=n(35074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let l=function(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),r||(r=a.createElement("path",{fill:"currentColor",d:"M10.068 3.668a1.6 1.6 0 0 1 2.263 2.263l-2.4 2.4a1.6 1.6 0 0 1-2.263 0 .8.8 0 1 0-1.131 1.131 3.2 3.2 0 0 0 4.525 0l2.4-2.4a3.2 3.2 0 1 0-4.525-4.525l-1.2 1.2a.8.8 0 1 0 1.131 1.131l1.2-1.2Z"})),o||(o=a.createElement("path",{fill:"currentColor",d:"M6.068 7.668a1.6 1.6 0 0 1 2.263 0 .8.8 0 1 0 1.131-1.131 3.2 3.2 0 0 0-4.525 0l-2.4 2.4a3.2 3.2 0 0 0 4.525 4.525l1.2-1.2a.8.8 0 0 0-1.131-1.131l-1.2 1.2a1.6 1.6 0 0 1-2.263-2.263l2.4-2.4Z"})))}},30743:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 7.2V5.6a4 4 0 1 1 8 0v1.6a1.6 1.6 0 0 1 1.6 1.6v4a1.6 1.6 0 0 1-1.6 1.6H4a1.6 1.6 0 0 1-1.6-1.6v-4A1.6 1.6 0 0 1 4 7.2Zm6.4-1.6v1.6H5.6V5.6a2.4 2.4 0 0 1 4.8 0Z",clipRule:"evenodd"})))}},94380:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 3.5c-.2 0-.398.013-.59.038a.75.75 0 0 1-.196-1.487 6.05 6.05 0 0 1 1.572 0 .75.75 0 0 1-.195 1.487A4.55 4.55 0 0 0 8 3.5Zm-2.385-.238a.75.75 0 0 1-.186 1.044c-.287.2-.55.434-.783.694a.75.75 0 1 1-1.118-1 6.03 6.03 0 0 1 1.043-.924.75.75 0 0 1 1.044.186Zm4.77 0a.75.75 0 0 1 1.044-.186c.383.267.733.577 1.043.924a.75.75 0 1 1-1.118 1 4.528 4.528 0 0 0-.783-.694.75.75 0 0 1-.186-1.044ZM8 6.5a1 1 0 0 0-1 1V8h2v-.5a1 1 0 0 0-1-1ZM10.5 8v-.5a2.5 2.5 0 0 0-5 0V8h-.75a.75.75 0 0 0-.75.75v3.5c0 .966.783 1.75 1.75 1.75h4.5A1.75 1.75 0 0 0 12 12.25v-3.5a.75.75 0 0 0-.75-.75h-.75Zm0 1.5h-5v2.75c0 .138.112.25.25.25h4.5a.25.25 0 0 0 .25-.25V9.5ZM3.181 5.781a.75.75 0 0 1 .505.933 4.477 4.477 0 0 0-.166.857.75.75 0 1 1-1.493-.142c.037-.393.112-.775.222-1.143a.75.75 0 0 1 .932-.505Zm9.638 0a.75.75 0 0 1 .932.505c.11.368.185.75.222 1.143a.75.75 0 0 1-1.493.142 4.478 4.478 0 0 0-.166-.857.75.75 0 0 1 .505-.933Z",clipRule:"evenodd"})))}},34439:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},e),r||(r=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.4 2.2a3.2 3.2 0 1 0 0 6.4 3.2 3.2 0 0 0 0-6.4ZM.6 5.4a4.8 4.8 0 1 1 8.7 2.8l3.9 3.8a.8.8 0 0 1-1.2 1.2L8.2 9.3A4.8 4.8 0 0 1 .6 5.4Z",clipRule:"evenodd"})))}},16103:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.6 1.6A1.6 1.6 0 0 0 4 3.2v9.6a1.6 1.6 0 0 0 1.6 1.6h4.8a1.6 1.6 0 0 0 1.6-1.6V3.2a1.6 1.6 0 0 0-1.6-1.6H5.6ZM8 12.8a.8.8 0 1 0 0-1.6.8.8 0 0 0 0 1.6Z",clipRule:"evenodd"})))}},89830:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.875 13.688V2.312h-.219a.656.656 0 1 1 0-1.312h10.688a.656.656 0 0 1 0 1.313h-.219v11.374h.219a.656.656 0 1 1 0 1.313h-2.942a.656.656 0 0 1-.656-.656v-2.188a.656.656 0 0 0-.656-.656H6.902a.656.656 0 0 0-.656.656v2.188A.656.656 0 0 1 5.59 15H2.656a.656.656 0 1 1 0-1.313h.219Zm2.496-9.626a.438.438 0 0 1 .438-.437h.875a.437.437 0 0 1 .437.438v.875a.437.437 0 0 1-.437.437h-.875a.437.437 0 0 1-.438-.438v-.875Zm.438 3.063a.437.437 0 0 0-.438.438v.875a.438.438 0 0 0 .438.437h.875a.437.437 0 0 0 .437-.438v-.874a.437.437 0 0 0-.437-.438h-.875ZM8.87 4.062a.438.438 0 0 1 .438-.437h.875a.438.438 0 0 1 .437.438v.875a.438.438 0 0 1-.437.437h-.875a.437.437 0 0 1-.438-.438v-.875Zm.438 3.063a.437.437 0 0 0-.438.438v.875a.438.438 0 0 0 .438.437h.875a.438.438 0 0 0 .437-.438v-.874a.438.438 0 0 0-.437-.438h-.875Z"})))}},12049:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 3.75C2 2.784 2.784 2 3.75 2h5.5c.698 0 1.3.409 1.582 1h1.418c.966 0 1.75.784 1.75 1.75v6.5A1.75 1.75 0 0 1 12.25 13h-1.418c-.281.591-.884 1-1.582 1h-5.5A1.75 1.75 0 0 1 2 12.25v-8.5Zm9 7.75h1.25a.25.25 0 0 0 .25-.25v-6.5a.25.25 0 0 0-.25-.25H11v7Zm-7.25-8a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h5.5a.25.25 0 0 0 .25-.25v-8.5a.25.25 0 0 0-.25-.25h-5.5ZM5 7.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5A.75.75 0 0 1 5 7.25Zm0 3a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75Z",fill:"currentColor"})))}},9679:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{d:"M8.75 3.75a.75.75 0 0 0-1.5 0v3.5h-3.5a.75.75 0 1 0 0 1.5h3.5v3.5a.75.75 0 0 0 1.5 0v-3.5h3.5a.75.75 0 0 0 0-1.5h-3.5v-3.5Z"})))}},75976:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 14"},e),r||(r=o.createElement("path",{d:"M3.107 8.126c-.147.018-.294.038-.44.059m.44-.06c2.142-.27 4.31-.27 6.453 0m-6.453 0-.233 2.567M9.56 8.126c.147.018.293.038.44.059m-.44-.06.232 2.567.14 1.553a.697.697 0 0 1-.407.696.684.684 0 0 1-.277.059H3.419a.69.69 0 0 1-.684-.755l.14-1.553m0 0h-.667a1.37 1.37 0 0 1-.972-.405 1.39 1.39 0 0 1-.403-.98V5.435c0-.665.47-1.24 1.123-1.338.389-.059.778-.11 1.169-.152m6.666 6.748h.667a1.367 1.367 0 0 0 .972-.405 1.386 1.386 0 0 0 .403-.98V5.435c0-.665-.469-1.24-1.122-1.338-.389-.059-.779-.11-1.17-.152m0 0a29.456 29.456 0 0 0-6.416 0m6.417 0V1.692A.69.69 0 0 0 8.854 1H3.813a.69.69 0 0 0-.688.692v2.252M10 6.077h.005v.005H10v-.005Zm-1.833 0h.005v.005h-.005v-.005Z",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})))}},92181:function(e,t,n){n.d(t,{A:()=>l});var r,o,a=n(35074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let l=function(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),r||(r=a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 7.6v-.8a2 2 0 0 1 4 0v.8a.8.8 0 0 1 .8.8v2a.8.8 0 0 1-.8.8H6a.8.8 0 0 1-.8-.8v-2a.8.8 0 0 1 .8-.8Zm3.2-.8v.8H6.8v-.8a1.2 1.2 0 0 1 2.4 0Z",clipRule:"evenodd"})),o||(o=a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.07 2.9a7.2 7.2 0 1 0 .02 10.19s.42-.47 0-.89-.88 0-.88 0a5.95 5.95 0 1 1-.02-8.42l-1.04 1.04c-.25.24-.16.44.18.44h2.5c.63 0 .63 0 .63-.63v-2.5c0-.34-.2-.43-.44-.18l-.95.94Z",clipRule:"evenodd"})))}},82305:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 3.5a4.502 4.502 0 0 0-4.418 3.642.75.75 0 1 1-1.473-.284A6.002 6.002 0 0 1 8 2c1.72 0 3.204.956 4.2 1.81.105.09.205.178.3.266V2.75a.75.75 0 0 1 1.5 0v3.259a.75.75 0 0 1-.75.75H9.991a.75.75 0 1 1 0-1.5h1.577a9.62 9.62 0 0 0-.344-.31C10.32 4.173 9.18 3.5 8 3.5Zm5.392 4.764a.75.75 0 0 1 .594.878A6.002 6.002 0 0 1 8.096 14c-1.72 0-3.205-.956-4.201-1.81-.104-.09-.204-.178-.3-.266v1.326a.75.75 0 0 1-1.5 0V9.991a.75.75 0 0 1 .75-.75h3.259a.75.75 0 0 1 0 1.5H4.527c.108.103.223.207.344.31.904.776 2.044 1.449 3.224 1.449a4.502 4.502 0 0 0 4.419-3.642.75.75 0 0 1 .878-.594Z",fill:"currentColor"})))}},87240:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M2.6 2.604A2.045 2.045 0 0 1 4.052 2h3.417c.544 0 1.066.217 1.45.604.385.387.601.911.601 1.458v.69c0 .413-.334.75-.746.75a.748.748 0 0 1-.745-.75v-.69a.564.564 0 0 0-.56-.562H4.051a.558.558 0 0 0-.56.563v7.875a.564.564 0 0 0 .56.562h3.417a.558.558 0 0 0 .56-.563v-.671c0-.415.333-.75.745-.75s.746.335.746.75v.671c0 .548-.216 1.072-.6 1.459a2.045 2.045 0 0 1-1.45.604H4.05a2.045 2.045 0 0 1-1.45-.604A2.068 2.068 0 0 1 2 11.937V4.064c0-.548.216-1.072.6-1.459Zm8.386 3.116a.743.743 0 0 1 1.055 0l1.74 1.75a.753.753 0 0 1 0 1.06l-1.74 1.75a.743.743 0 0 1-1.055 0 .753.753 0 0 1 0-1.06l.467-.47H5.858A.748.748 0 0 1 5.112 8c0-.414.334-.75.746-.75h5.595l-.467-.47a.753.753 0 0 1 0-1.06Z"})))}},98388:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17 16"},e),r||(r=o.createElement("path",{d:"M12.25 11.66h0M8.5 13.25h0M3.25 8h0M4.75 4.33h0M4.75 11.66h0M8.5 2.75v0M13.75 8h0M12.25 4.33h0M13.75 8c0-2.9-2.35-5.25-5.25-5.25",stroke:"#747686",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))}},29366:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{d:"M9.53 4.47a.75.75 0 0 0-1.06 1.06l1.72 1.72H4a.75.75 0 0 0 0 1.5h6.19l-1.72 1.72a.75.75 0 1 0 1.06 1.06l3-3a.75.75 0 0 0 0-1.06l-3-3Z"})))}},67358:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.748 2.91a.48.48 0 0 1 .124.083c.088.082.14.193.126.31v4.054a7.58 7.58 0 0 1-1.227 4.147c-.99 1.52-3.778 3.038-4.563 3.445a.45.45 0 0 1-.416 0c-.785-.407-3.576-1.925-4.565-3.445A7.61 7.61 0 0 1 2 7.357V3.303a.43.43 0 0 1 .14-.31.484.484 0 0 1 .334-.13h.027c2.162 0 4.132-.655 5.148-1.714A.485.485 0 0 1 8.004 1c.137 0 .266.054.355.149 1.016 1.056 2.99 1.714 5.148 1.714h.027c.076 0 .149.016.214.046Zm-2.695 3.097a.75.75 0 0 0-1.106-1.014c-.9.983-1.363 1.624-2.013 2.787-.218.39-.442.876-.626 1.305l-1.242-1.43a.75.75 0 0 0-1.132.982l2.042 2.354a.75.75 0 0 0 1.269-.227v-.003l.005-.011.018-.046a22.354 22.354 0 0 1 .305-.762c.199-.474.447-1.03.67-1.43.594-1.062.988-1.608 1.81-2.505Z"})))}},67068:function(e,t,n){n.d(t,{A:()=>i});var r,o=n(35074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let i=function(e){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),r||(r=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-7-5-5m0 0L7 8m5-5v12"})))}},84916:function(e,t,n){n.d(t,{D:()=>a});var r=n(14518),o=n(18272);let a=e=>{let{icon:t,text:n,textSx:a,actionLabel:i,onClick:l}=e;return(0,r.Y)(o.so,{sx:e=>({background:e.colors.$neutralAlpha50,padding:"".concat(e.space.$2x5," ").concat(e.space.$4),justifyContent:"space-between",alignItems:"flex-start",borderRadius:e.radii.$md}),children:(0,r.FD)(o.so,{gap:2,children:[(0,r.Y)(o.In,{colorScheme:"neutral",icon:t,sx:e=>({marginTop:e.space.$1})}),(0,r.FD)(o.fv,{gap:4,children:[(0,r.Y)(o.EY,{colorScheme:"secondary",sx:a,localizationKey:n,children:e.children}),i&&(0,r.Y)(o.N_,{colorScheme:"primary",variant:"subtitle",localizationKey:i,onClick:e=>{null==l||l(e)}})]})]})})}},77420:function(e,t,n){n.d(t,{l:()=>d}),n(19161),n(22239),n(88711);var r=n(14518),o=n(35074),a=n(18272),i=n(58920),l=n(23707),s=n(63269),c=n(76153);let d=e=>{let{title:t,subtitle:n,onClick:o,enterpriseConnections:d}=e,p=(0,s.f0)();return(0,r.FD)(l.Z.Root,{children:[(0,r.FD)(l.Z.Content,{children:[(0,r.FD)(c.Y.Root,{showLogo:!0,children:[(0,r.Y)(c.Y.Title,{localizationKey:t}),(0,r.Y)(c.Y.Subtitle,{localizationKey:n})]}),(0,r.Y)(l.Z.Alert,{children:p.error}),(0,r.Y)(a.xA,{elementDescriptor:i.$z.enterpriseConnectionsRoot,gap:2,children:null==d?void 0:d.map(e=>{let{id:t,name:n}=e;return(0,r.Y)(u,{id:t,label:n,onClick:o},t)})})]}),(0,r.Y)(l.Z.Footer,{})]})},u=e=>{let{label:t,onClick:n,...l}=e,[s,c]=(0,o.useState)(!1);return(0,r.Y)(a.dF,{elementDescriptor:i.$z.enterpriseConnectionButton,variant:"outline",block:!0,isLoading:s,hoverAsFocus:!0,onClick:()=>{c(!0),n(e.id).catch(()=>c(!1))},...l,sx:e=>[{gap:e.space.$4,position:"relative",justifyContent:"flex-start"},l.sx],children:(0,r.FD)(a.so,{justify:"center",align:"center",as:"span",gap:3,sx:{width:"100%",overflow:"hidden"},children:[s&&(0,r.Y)(a.so,{as:"span",center:!0,sx:e=>({flex:"0 0 ".concat(e.space.$4)}),children:(0,r.Y)(a.y$,{size:"sm",elementDescriptor:i.$z.spinner})}),(0,r.Y)(a.EY,{elementDescriptor:i.$z.enterpriseConnectionButtonText,as:"span",truncate:!0,variant:"buttonLarge",children:t})]})})}},82223:function(e,t,n){n.d(t,{_:()=>s});var r=n(14518),o=n(21210),a=n(97697),i=n(62531),l=n(26932);let s=e=>{var t;let{user:n}=(0,o.Jd)(),{organizationSettings:s}=(0,a.O)(),c=(null!=(t=null==n?void 0:n.organizationMemberships)?t:[]).length<s.maxAllowedMemberships;return(null==n?void 0:n.createOrganizationEnabled)&&c?(0,r.Y)(i.rc,{...e,icon:l.A}):null}},50540:function(e,t,n){n.d(t,{H:()=>l});var r=n(14518),o=n(18272),a=n(58920),i=n(22293);let l=e=>{let{mount:t,unmount:n}=e;return(0,r.Y)(o.fv,{elementDescriptor:a.$z.page,gap:8,children:(0,r.Y)(o.fv,{elementDescriptor:a.$z.profilePage,gap:8,children:(0,r.Y)(i.c,{mount:t,unmount:n})})})}},90625:function(e,t,n){n.d(t,{W:()=>o});var r=n(21210);let o=e=>{let{children:t}=e;return"development"!==(0,r.ho)().instanceType?null:t}},55873:function(e,t,n){n.d(t,{Y:()=>v,M:()=>b});var r=n(14518),o=n(63269),a=n(22861);n(88711);var i=n(73610),l=n(1687),s=n(21210),c=n(35074),d=n(56324),u=n(4964),p=n(6735),m=n(14979);let h=e=>{var t,n;let{redirectUrl:o,redirectUrlComplete:a,verifyEmailPath:h,verifyPhonePath:f,continuePath:g}=e,{handleEmailLinkVerification:v}=(0,s.ho)(),{navigate:b}=(0,u.r)(),y=(0,d.B)(),[w,x]=c.useState("loading"),_=async()=>{try{await (0,p.y)(750),await v({redirectUrlComplete:a,redirectUrl:o},b),x("verified_switch_tab"),await (0,p.y)(750),await (0,l.A)({signUp:y,verifyEmailPath:h,verifyPhonePath:f,continuePath:g,navigate:b})}catch(e){if((0,i.hl)(e)&&(e.code===i.kl.Expired||e.code===i.kl.ClientMismatch))return void x(e.code);x(i.kl.Failed)}};return c.useEffect(()=>{_()},[]),(0,r.Y)(m.$,{title:(null==(t=e.texts[w])?void 0:t.title)||"",subtitle:(null==(n=e.texts[w])?void 0:n.subtitle)||"",status:w})},f={verified:{title:(0,a.G)("signIn.emailLink.verified.title"),subtitle:(0,a.G)("signIn.emailLink.verified.subtitle")},verified_switch_tab:{title:(0,a.G)("signIn.emailLink.verified.title"),subtitle:(0,a.G)("signIn.emailLink.verifiedSwitchTab.subtitle")},loading:{title:(0,a.G)("signIn.emailLink.loading.title"),subtitle:(0,a.G)("signIn.emailLink.loading.subtitle")},failed:{title:(0,a.G)("signIn.emailLink.failed.title"),subtitle:(0,a.G)("signIn.emailLink.failed.subtitle")},expired:{title:(0,a.G)("signIn.emailLink.expired.title"),subtitle:(0,a.G)("signIn.emailLink.expired.subtitle")},client_mismatch:{title:(0,a.G)("signIn.emailLink.clientMismatch.title"),subtitle:(0,a.G)("signIn.emailLink.clientMismatch.subtitle")}},g={...f,verified:{...f.verified,title:(0,a.G)("signUp.emailLink.verified.title")},verified_switch_tab:{...f.verified_switch_tab,title:(0,a.G)("signUp.emailLink.verified.title")},loading:{...f.loading,title:(0,a.G)("signUp.emailLink.loading.title")},client_mismatch:{...f.client_mismatch,subtitle:(0,a.G)("signUp.emailLink.clientMismatch.subtitle")}},v=(0,o.dm)(e=>(0,r.Y)(h,{...e,texts:f})),b=(0,o.dm)(e=>(0,r.Y)(h,{...e,texts:g}))},14979:function(e,t,n){n.d(t,{$:()=>b});var r,o=n(14518),a=n(35074),i=n(44607),l=n(18272),s=n(58920),c=n(22861),d=n(23707),u=n(63269),p=n(76153),m=n(67358);function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var f=n(61603),g=n(44374);let v={verified:m.A,verified_switch_tab:function(e){return a.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 18 20"},e),r||(r=a.createElement("path",{d:"M6.6 4a1.2 1.2 0 0 0 0 2.4h6.7l-1.55 1.55a1.2 1.2 0 0 0 1.7 1.7l3.6-3.6a1.2 1.2 0 0 0 0-1.7l-3.6-3.6a1.2 1.2 0 1 0-1.7 1.7L13.3 4H6.6Zm4.8 12a1.2 1.2 0 1 0 0-2.4H4.7l1.55-1.55a1.2 1.2 0 1 0-1.7-1.7l-3.6 3.6a1.2 1.2 0 0 0 0 1.7l3.6 3.6a1.2 1.2 0 1 0 1.7-1.7L4.7 16h6.7Z"})))},expired:f.A,failed:f.A,client_mismatch:f.A},b=e=>{let t=(0,u.f0)();return(0,o.Y)(i.n.Part,{part:"emailLinkStatus",children:(0,o.FD)(d.Z.Root,{children:[(0,o.FD)(d.Z.Content,{children:[(0,o.FD)(p.Y.Root,{children:[(0,o.Y)(p.Y.Title,{localizationKey:e.title}),(0,o.Y)(p.Y.Subtitle,{localizationKey:e.subtitle})]}),(0,o.Y)(d.Z.Alert,{children:t.error}),(0,o.Y)(l.fv,{elementDescriptor:s.$z.main,children:(0,o.Y)(y,{status:e.status})})]}),(0,o.Y)(d.Z.Footer,{})]})})},y=e=>(0,o.Y)(l.so,{elementDescriptor:s.$z.verificationLinkStatusBox,center:!0,direction:"col",gap:8,children:"loading"===e.status?(0,o.Y)(l.y$,{size:"xl",colorScheme:"primary",sx:e=>({margin:"".concat(e.space.$12," 0")}),elementDescriptor:s.$z.spinner}):(0,o.FD)(o.FK,{children:[(0,o.Y)(w,{status:e.status}),(0,o.Y)(l.EY,{elementDescriptor:s.$z.verificationLinkStatusText,colorScheme:"secondary",localizationKey:(0,c.G)("signIn.emailLink.unusedTab.title")})]})}),w=e=>{let{status:t}=e;return(0,o.Y)(l.so,{elementDescriptor:s.$z.verificationLinkStatusIconBox,center:!0,sx:e=>({width:e.sizes.$24,height:e.sizes.$24,borderRadius:e.radii.$circle,backgroundColor:e.colors.$neutralAlpha100,color:({verified:e.colors.$success500,verified_switch_tab:e.colors.$primary500,expired:e.colors.$warning500,failed:e.colors.$danger500,client_mismatch:e.colors.$warning500})[t],animation:"".concat(g.W.dropdownSlideInScaleAndFade," 500ms ease")}),children:(0,o.Y)(l.In,{elementDescriptor:s.$z.verificationLinkStatusIcon,icon:v[t],sx:e=>({height:e.sizes.$6,width:e.sizes.$5})})})}},57477:function(e,t,n){n.d(t,{EH:()=>s,Fd:()=>l,cb:()=>c});var r=n(14518),o=n(21210),a=n(35074),i=n(4964);let l=e=>{let{session:t}=(0,o.wV)();return!!(null==t?void 0:t.id)&&("function"==typeof e?e(t.checkAuthorization):t.checkAuthorization(e))},s=e=>{let{children:t,fallback:n,redirectTo:o,...s}=e,c=l("function"==typeof s.condition?s.condition:s),{navigate:d}=(0,i.r)();return((0,a.useEffect)(()=>{!c&&o&&d(o)},[c,o]),!c&&n)?(0,r.Y)(r.FK,{children:n}):c?(0,r.Y)(r.FK,{children:t}):null};function c(e,t){let n=e.displayName||e.name||"Component",o=n=>(0,r.Y)(s,{...t,children:(0,r.Y)(e,{...n})});return o.displayName="withProtect(".concat(n,")"),o}},52157:function(e,t,n){n.d(t,{U:()=>l});var r=n(14518),o=n(35074),a=n(18272),i=n(58920);let l=(0,o.forwardRef)((e,t)=>(0,r.Y)(a.az,{ref:t,sx:e=>({width:"100%",height:e.space.$12,position:"relative"}),children:(0,r.Y)(a.az,{sx:{margin:"auto",position:"absolute",left:"50%",top:"50%",transform:"translateY(-50%) translateX(-50%)"},children:(0,r.Y)(a.y$,{size:"sm",colorScheme:"primary",elementDescriptor:i.$z.spinner})})}))},41703:function(e,t,n){n.d(t,{a:()=>d});var r=n(14518),o=n(31089),a=n(10078),i=n(22861),l=n(18272),s=n(60359),c=n(44374);let d=e=>{let{notificationCount:t,containerSx:n,shouldAnimate:d=!0,...u}=e,p=(0,s.j)(),{t:m}=(0,a._)(),h=m((0,i.G)("locale")),f=(0,o.L1)(t,h);return(0,r.Y)(l.so,{justify:"center",align:"center",as:"span",sx:[e=>({marginLeft:e.space.$1x5}),n],children:(0,r.Y)(l.vd,{sx:e=>({animation:d&&!p?"".concat(c.W.notificationAnimation," ").concat(e.transitionDuration.$textField," ").concat(e.transitionTiming.$slowBezier," 0s 1 normal forwards"):"none"}),...u,children:f})})}},99126:function(e,t,n){n.d(t,{L:()=>i,h:()=>a}),n(10676),n(19161),n(41730),n(88711),n(22239);var r=n(14518),o=n(35074);let a=()=>{let e=[];return{print:()=>e.forEach(e=>e()),printableProps:{onPrint:t=>e.push(t)}}},i=e=>{let{children:t,onPrint:n}=e,a=o.useRef(null);return n(()=>{s(a)}),(0,r.Y)("div",{ref:a,style:{position:"fixed",left:"-9999px",top:0,display:"none"},children:t})},l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"[data-emotion=cl-internal]";if(!e.contentDocument)return;let n=[...document.head.querySelectorAll(t)].map(e=>e.innerHTML).join("\n"),r=e.contentDocument.createElement("style");r.innerHTML=n,e.contentDocument.head.prepend(r)},s=e=>{let t=e.current;if(!t)return;let n=document.createElement("iframe");n.style.position="fixed",n.style.right="-2000px",n.style.bottom="-2000px",n.onload=()=>{l(n),n.contentDocument&&(n.contentDocument.body.style.fontFamily="Arial",n.contentDocument.body.style.cssText="* {\n-webkit-print-color-adjust: exact !important;\ncolor-adjust: exact !important;\nprint-color-adjust: exact !important;\n}"),n.contentDocument&&n.contentWindow&&(n.contentDocument.body.innerHTML=t.innerHTML,n.contentWindow.print())},window.document.body.appendChild(n)}},62660:function(e,t,n){n.d(t,{T:()=>l});var r=n(14518),o=n(18272),a=n(58920),i=n(41464);let l=e=>{let{value:t,id:n,...l}=e;return(0,r.Y)(o.az,{as:"span",elementDescriptor:[a.$z.providerIcon,a.$z.socialButtonsProviderInitialIcon],elementId:a.$z.socialButtonsProviderInitialIcon.setId(n),sx:e=>({...i.s.centeredFlex("inline-flex"),width:e.space.$4,height:e.space.$4,borderRadius:e.radii.$sm,color:e.colors.$colorPrimaryForeground,backgroundColor:e.colors.$primary500}),...l,children:(0,r.Y)(o.EY,{as:"span",variant:"buttonSmall",sx:{...i.s.centeredFlex("inline-flex"),width:"100%"},children:t[0].toUpperCase()})})}},2094:function(e,t,n){n.d(t,{r:()=>l});var r=n(14518),o=n(15059),a=n(18272),i=n(58920);let l=e=>{let{size:t=200,url:n,...l}=e;return(0,r.Y)(a.so,{elementDescriptor:i.$z.qrCodeRow,...l,children:(0,r.Y)(a.so,{elementDescriptor:i.$z.qrCodeContainer,sx:e=>({backgroundColor:"white",padding:e.space.$2x5}),children:(0,r.Y)(o.h,{value:n||"",size:t})})})}},88046:function(e,t,n){n.d(t,{P:()=>p});var r=n(14518),o=n(21210),a=n(18272),i=n(22861),l=n(63269),s=n(52454),c=n(11475),d=n(23549),u=n(4468);let p=(0,l.dm)(e=>{let{title:t,messageLine1:n,messageLine2:p,deleteResource:m,onSuccess:h,onReset:f}=e,g=(0,l.f0)(),v=(0,o.Wp)(m),b=async()=>{try{await v().then(h)}catch(e){(0,u.H4)(e,[],g.setError)}};return(0,r.Y)(d.M,{headerTitle:t,headerSubtitle:n,children:(0,r.FD)(s.l.Root,{onSubmit:b,children:[p?(0,r.Y)(a.EY,{colorScheme:"secondary",localizationKey:p}):null,(0,r.Y)(c.G,{submitLabel:(0,i.G)("userProfile.formButtonPrimary__remove"),colorScheme:"danger",onReset:f})]})})})},16126:function(e,t,n){n.d(t,{F:()=>m}),n(88711),n(60486),n(25089),n(61244),n(77895),n(22501);var r=n(14518),o=n(21210),a=n(35074),i=n(44607),l=n(6142),s=n(23707),c=n(63269),d=n(56980),u=n(4964),p=n(4468);let m=(0,c.dm)(e=>(0,r.Y)(i.n.Part,{part:"ssoCallback",children:(0,r.Y)(h,{...e})})),h=e=>{let{handleRedirectCallback:t,__internal_setActiveInProgress:n}=(0,o.ho)(),{navigate:m}=(0,u.r)(),h=(0,c.f0)();return a.useEffect(()=>{let r;if(!0!==n){let n=new URLSearchParams(window.location.search).get("intent");t({...e,reloadResource:"signIn"===n||"signUp"===n?n:void 0},m).catch(e=>{(0,p.H4)(e,[],h.setError),r=setTimeout(()=>void m("../"),4e3)})}return()=>clearTimeout(r)},[p.H4,t]),(0,r.Y)(i.n.Part,{part:"ssoCallback",children:(0,r.FD)(s.Z.Root,{children:[(0,r.FD)(s.Z.Content,{children:[(0,r.Y)(s.Z.Alert,{children:h.error}),(0,r.Y)(d.W,{}),(0,r.Y)(l.j,{})]}),(0,r.Y)(s.Z.Footer,{})]})})}},46245:function(e,t,n){n.d(t,{X:()=>i,s:()=>l}),n(88711),n(19161),n(6560),n(50036);var r=n(14518),o=n(35074),a=n(30579);let i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{defaultStep:t=0,onNextStep:n}=e,[r,a]=o.useState(t),i=o.useCallback(()=>{null==n||n(),a(e=>e+1)},[]);return{nextStep:i,prevStep:o.useCallback(()=>a(e=>e-1),[]),goToStep:o.useCallback(e=>a(e),[]),props:{step:r}}},l=e=>{let{step:t,children:n}=e;return(0,r.Y)(a.k,{children:o.Children.toArray(n)[t]})}},1959:function(e,t,n){n.d(t,{E9:()=>a,ZN:()=>i,_o:()=>l}),n(32880),n(25902),n(56359),n(894),n(6373),n(63418),n(93412),n(88711),n(19161),n(95055),n(52678),n(30945),n(65999);var r=n(22861);let o=Object.freeze({email_address_username:{label:(0,r.G)("formFieldLabel__emailAddress_username"),placeholder:(0,r.G)("formFieldInputPlaceholder__emailAddress_username"),type:"text",action:(0,r.G)("signIn.start.actionLink__use_email_username"),validLastAuthenticationStrategies:new Set(["email_code","email_link","email_address","username","password"])},email_address:{label:(0,r.G)("formFieldLabel__emailAddress"),placeholder:(0,r.G)("formFieldInputPlaceholder__emailAddress"),type:"email",action:(0,r.G)("signIn.start.actionLink__use_email"),validLastAuthenticationStrategies:new Set(["email_code","email_link","email_address","password"])},phone_number:{label:(0,r.G)("formFieldLabel__phoneNumber"),placeholder:(0,r.G)("formFieldInputPlaceholder__phoneNumber"),type:"tel",action:(0,r.G)("signIn.start.actionLink__use_phone"),validLastAuthenticationStrategies:new Set(["phone_code","password"])},username:{label:(0,r.G)("formFieldLabel__username"),placeholder:(0,r.G)("formFieldInputPlaceholder__username"),type:"text",action:(0,r.G)("signIn.start.actionLink__use_username"),validLastAuthenticationStrategies:new Set(["username","password"])},default:{label:"",placeholder:"",type:"text",action:"",validLastAuthenticationStrategies:new Set}}),a=e=>{let t=[...e.filter(e=>"passkey"!==e)];return["email_address","username"].every(e=>t.includes(e))&&(t=t.filter(e=>!["email_address","username"].includes(e))).unshift("email_address_username"),t},i=(e,t)=>{let n=e.indexOf(t);return -1===n?{currentIdentifier:{...o.default},nextIdentifier:void 0}:{currentIdentifier:{...o[t]},nextIdentifier:e.length>1?{...o[e[(n+1)%e.length]]}:void 0}},l=Object.freeze({Password:"password",OTP:"otp"})},60072:function(e,t,n){n.d(t,{D3:()=>g,JF:()=>f,SH:()=>v,Vc:()=>m,os:()=>u,zJ:()=>h});var r=n(14518),o=n(35074),a=n(89001),i=n(80750),l=n(18272),s=n(58920),c=n(29366),d=n(41464);let u=e=>{let{elementDescriptor:t,children:n}=e;return(0,r.Y)(l.fv,{elementDescriptor:t,sx:e=>({maxHeight:"calc(8 * ".concat(e.sizes.$12,")"),overflowY:"auto",borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100,...d.s.unstyledScrollbar(e)}),children:n})},p=e=>({padding:"".concat(e.space.$4," ").concat(e.space.$5)}),m=e=>({color:e.colors.$colorForeground,":hover":{color:e.colors.$colorForeground}}),h=e=>{let{children:t,elementId:n,elementDescriptor:o,organizationData:i}=e;return(0,r.FD)(l.so,{align:"center",gap:2,sx:[e=>({minHeight:"unset",justifyContent:"space-between",borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100}),p],elementDescriptor:o,children:[(0,r.Y)(a.Q,{elementId:n,mainIdentifierSx:m,organization:i}),t]})},f=(0,o.forwardRef)((e,t)=>(0,r.Y)(l.az,{ref:t,sx:e=>({width:"100%",height:e.space.$12,position:"relative"}),children:(0,r.Y)(l.az,{sx:{margin:"auto",position:"absolute",left:"50%",top:"50%",transform:"translateY(-50%) translateX(-50%)"},children:(0,r.Y)(l.y$,{size:"sm",colorScheme:"primary",elementDescriptor:s.$z.spinner})})})),g=e=>(0,r.Y)(l.$n,{textVariant:"buttonSmall",variant:"outline",size:"xs",...e}),v=e=>(0,r.Y)(i.P,{sx:[p],icon:c.A,...e})},78051:function(e,t,n){n.d(t,{Vu:()=>a,aB:()=>o,aQ:()=>s,lA:()=>i,uP:()=>l});var r=n(14173);let o="/sso-callback",a="/verify";function i(e){let{ctx:t,baseUrl:n="",intent:r="sign-in"}=e,{routing:o,authQueryString:i,path:l}=t;return s({routing:o,baseUrl:n,authQueryString:i,path:l,endpoint:"isCombinedFlow"in t&&t.isCombinedFlow&&"sign-up"===r?"/create".concat(a):a})}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{routing:n,authQueryString:r,path:a}=e;return e.ssoCallbackUrl&&e.isCombinedFlow&&"virtual"!==n?e.ssoCallbackUrl:s({routing:n,baseUrl:t,authQueryString:r,path:a,endpoint:o})}let s=e=>{let{routing:t,authQueryString:n,baseUrl:r,path:o,endpoint:a}=e;return t&&"hash"!==t?"path"===t?d(o||"",n,a):u(r||"",n,a):c(n,a)},c=(e,t)=>(0,r.kZ)({hash:t+(e?"?".concat(e):"")},{stringify:!0}),d=(e,t,n)=>(0,r.kZ)({pathname:e+n,...t?{search:"?"+t}:{}},{stringify:!0}),u=(e,t,n)=>(0,r.kZ)({base:e,hash:n+(t?"?".concat(t):"")},{stringify:!0})},9075:function(e,t,n){n.d(t,{p:()=>b,Ai:()=>g,RL:()=>v,RE:()=>h,SY:()=>f});var r=n(14518),o=n(61841),a=n(52049);n(68909),n(60265);var i=n(82311),l=n(21210),s=n(35074),c=n(97697),d=n(62366),u=n(80004),p=n(75350),m=n(4964);function h(e,t,n,o){let a=e.displayName||e.name||"Component";e.displayName=a;let u=a=>{let{navigate:u}=(0,m.r)(),p=(0,l.ho)(),h=(0,c.O)(),f=(0,d.II)(),g=t(p,h,f);return(s.useEffect(()=>{g&&(o&&(0,i.a)(p.publishableKey)&&console.info(o),u(n({clerk:p,environment:h,options:f})))},[]),g)?null:(0,r.Y)(e,{...a})};return u.displayName="withRedirect(".concat(a,")"),u}let f=e=>{let t=e.displayName||e.name||"Component";e.displayName=t;let n=t=>{let n=(0,u.r)();return h(e,o.Xu,e=>{let{clerk:t}=e;return n.afterSignInUrl||t.buildAfterSignInUrl()},a.A.cannotRenderSignInComponentWhenSessionExists)(t)};return n.displayName="withRedirectToAfterSignIn(".concat(t,")"),n},g=e=>{let t=e.displayName||e.name||"Component";e.displayName=t;let n=t=>{let n=(0,p.X)();return h(e,o.Xu,e=>{let{clerk:t}=e;return n.afterSignUpUrl||t.buildAfterSignUpUrl()},a.A.cannotRenderSignUpComponentWhenSessionExists)(t)};return n.displayName="withRedirectToAfterSignUp(".concat(t,")"),n},v=e=>{let t=e.displayName||e.name||"Component";e.displayName=t;let n=t=>{let n=(0,u.r)();return h(e,(e,t)=>{var r;return!!(null==t?void 0:t.authConfig.singleSessionMode)&&!!((null==(r=e.session)?void 0:r.currentTask)&&(null==n?void 0:n.taskUrl))},()=>n.taskUrl,void 0)(t)};return n.displayName="withRedirectToSignInTask(".concat(t,")"),n},b=e=>{let t=e.displayName||e.name||"Component";e.displayName=t;let n=t=>{let n=(0,p.X)();return h(e,(e,t)=>{var r;return!!(null==t?void 0:t.authConfig.singleSessionMode)&&!!((null==(r=e.session)?void 0:r.currentTask)&&(null==n?void 0:n.taskUrl))},()=>n.taskUrl,void 0)(t)};return n.displayName="withRedirectToSignUpTask(".concat(t,")"),n}},21227:function(e,t,n){n.d(t,{AG:()=>i,dY:()=>a,j2:()=>r,jc:()=>o,qJ:()=>l});let r={ACCOUNT:"account",SECURITY:"security",BILLING:"billing",API_KEYS:"apiKeys"},o={GENERAL:"general",MEMBERS:"members",BILLING:"billing",API_KEYS:"apiKeys"},a={MANAGE_ACCOUNT:"manageAccount",SIGN_OUT:"signOut"},i="clerk-profileCardScrollBox",l="clerk-organizationProfileScrollBox"},32467:function(e,t,n){n.d(t,{b:()=>l,h:()=>i}),n(88711);var r=n(14518),o=n(35074);let a=(0,o.createContext)({acceptedInvitations:[],setAcceptedInvitations:()=>{}});function i(e){let{children:t}=e,[n,i]=(0,o.useState)([]);return(0,r.Y)(a.Provider,{value:{acceptedInvitations:n,setAcceptedInvitations:i},children:t})}function l(){return(0,o.useContext)(a)}},56324:function(e,t,n){n.d(t,{B:()=>a,n:()=>o});var r=n(21210);function o(){let e=(0,r.WD)();return(0,r._x)(e,r.pc),e.signIn}function a(){let e=(0,r.WD)();return(0,r._x)(e,r.pc),e.signUp}},85577:function(e,t,n){n.d(t,{Z:()=>a});var r=n(14518),o=n(21210);function a(e){let t=t=>void 0===(0,o.Lg)()?null:(0,r.Y)(e,{...t}),n=e.displayName||e.name||"Component";return e.displayName=n,t.displayName=n,t}n(35074)},43264:function(e,t,n){n.d(t,{G:()=>a});var r=n(14518),o=n(21210);function a(e){let t=t=>(0,o.ur)()?(0,r.Y)(e,{...t}):null,n=e.displayName||e.name||"Component";return e.displayName=n,t.displayName=n,t}n(35074)},97697:function(e,t,n){n.d(t,{O:()=>s,v:()=>l});var r=n(14518),o=n(35074),a=n(42117);let i=o.createContext(null);function l(e){let{children:t,value:n}=e;return(0,r.Y)(i.Provider,{value:n,children:t})}function s(){let e=o.useContext(i);return(0,a._x)(e,"EnvironmentProvider"),e}},25243:function(e,t,n){n.d(t,{R:()=>l,j:()=>i}),n(98114);var r=n(14518),o=n(35074);let a=o.createContext(void 0),i=e=>{let{children:t,moduleManager:n}=e;return(0,r.Y)(a.Provider,{value:n,children:t})},l=()=>{let e=o.useContext(a);if(!e)throw Error("useModuleManager must be used within a ModuleManagerProvider");return e}},62366:function(e,t,n){n.d(t,{G2:()=>i,II:()=>l}),n(98114);var r=n(14518),o=n(35074);let a=o.createContext({});function i(e){let{children:t,value:n}=e;return(0,r.Y)(a.Provider,{value:n,children:t})}function l(){let e=o.useContext(a);if(void 0===e)throw Error("useOptions must be used within an OptionsContext");return e}},49367:function(e,t,n){n.d(t,{ModuleManagerProvider:()=>d.j,CoreClerkContextWrapper:()=>c,EnvironmentProvider:()=>r.v,OptionsProvider:()=>o.G2});var r=n(97697),o=n(62366);n(88711);var a=n(14518),i=n(21210),l=n(35074),s=n(42117);function c(e){let t=e.clerk;(0,s.rV)(t);let[n,r]=l.useState({client:t.client,session:t.session,user:t.user,organization:t.organization});l.useEffect(()=>t.addListener(e=>r({...e})),[]);let{client:o,session:c,user:d,organization:u}=n,p=l.useMemo(()=>({value:t}),[]),m=l.useMemo(()=>({value:o}),[o]),h=l.useMemo(()=>({value:c}),[c]),f=l.useMemo(()=>({value:d}),[d]),g=l.useMemo(()=>({value:{organization:u}}),[u]);return(0,a.Y)(i.ED.Provider,{value:p,children:(0,a.Y)(i.pc.Provider,{value:m,children:(0,a.Y)(i.IC.Provider,{value:h,children:(0,a.Y)(i.TS,{...g.value,swrConfig:e.swrConfig,children:(0,a.Y)(i.Rs.Provider,{value:f,children:(0,a.Y)(i.Rx,{value:void 0,children:e.children})})})})})})}var d=n(25243)},42117:function(e,t,n){n.d(t,{tf:()=>l,tR:()=>s,_x:()=>i,rV:()=>a}),n(88711),n(60486),n(25089),n(61244),n(77895),n(19161),n(41730),n(30945);var r=n(31475),o=n(21044);function a(e){e||(0,r.kX)()}function i(e,t){e||(0,r.i$)(t)}function l(e,t){let n={};return new URLSearchParams(e).forEach((e,r)=>{t.includes(r)&&"string"==typeof e&&(n[(0,o.sF)(r)]=e)}),n}n(22501),n(58910);let s=(e=>{let{regex:t}=e;return e=>{let{urlWithParam:n,entity:r}=e,o=t.exec(n);if(o){let e=o[1];if(e in r){let t=r[e];return n.replace(o[0],t)}}return n}})({regex:/:(\w+)/})},16580:function(e,t,n){n.d(t,{Q:()=>ek,K:()=>eS}),n(88711);var r=n(14518),o=n(21210);n(35074),n(19161),n(41730),n(85074),n(65999),n(22239),n(10676),n(58814),n(8451);var a=n(14562);n(22501),n(58910);let i="0px 0px 0px 1px",l=e=>"".concat(i," ").concat(e,", 0px 1px 1px 0px rgba(255, 255, 255, 0.07) inset, 0px 2px 3px 0px rgba(34, 42, 53, 0.20), 0px 1px 1px 0px rgba(0, 0, 0, 0.24)"),s=e=>"".concat(i," ").concat(e,", 0px 2px 3px -1px rgba(0, 0, 0, 0.08), 0px 1px 0px 0px rgba(0, 0, 0, 0.02)"),c=e=>({borderWidth:0,boxShadow:"".concat(e.shadows.$cardContentShadow,", ").concat(i," ").concat(e.colors.$borderAlpha50)}),d=(e,t)=>{let n=["0px 0px 0px 1px ".concat(t.idle1),e.shadows.$input.replace("{{color}}",t.idle2)].toString(),r=["0px 0px 0px 1px ".concat(t.hover1),e.shadows.$input.replace("{{color}}",t.hover2)].toString();return{boxShadow:n,"&:hover":{boxShadow:r},'&:focus-within,&[data-focus-within="true"]':{boxShadow:[r,e.shadows.$focusRing.replace("{{color}}",t.focus)].toString()}}},u=e=>({borderWidth:0,...d(e,{idle1:e.colors.$borderAlpha150,idle2:e.colors.$borderAlpha100,hover1:e.colors.$borderAlpha300,hover2:e.colors.$borderAlpha150,focus:e.colors.$colorRing}),'&[data-feedback="error"]':d(e,{idle1:e.colors.$dangerAlpha400,idle2:e.colors.$dangerAlpha200,hover1:e.colors.$dangerAlpha500,hover2:e.colors.$dangerAlpha200,focus:e.colors.$dangerAlpha200}),'&[data-feedback="warning"]':d(e,{idle1:e.colors.$warningAlpha400,idle2:e.colors.$warningAlpha200,hover1:e.colors.$warningAlpha500,hover2:e.colors.$warningAlpha200,focus:e.colors.$warningAlpha200}),'&[data-feedback="success"]':d(e,{idle1:e.colors.$successAlpha400,idle2:e.colors.$successAlpha200,hover1:e.colors.$successAlpha500,hover2:e.colors.$successAlpha200,focus:e.colors.$successAlpha200})}),p={elements:e=>{var t;let n,r,{theme:o}=e;return{button:{'&[data-variant="solid"]':{borderWidth:"0px","&:after":{position:"absolute",content:'""',borderRadius:"inherit",zIndex:-1,inset:0,opacity:1,transitionProperty:o.transitionProperty.$common,transitionDuration:o.transitionDuration.$controls,background:"linear-gradient(180deg, ".concat(o.colors.$whiteAlpha150," 0%, ").concat(o.colors.$transparent," 100%)")},"&:hover::after":{opacity:0},"&:active::after":{opacity:1},'&[data-color="primary"]':{boxShadow:l(o.colors.$primary500),"&:focus":{boxShadow:[l(o.colors.$primary500),o.shadows.$focusRing.replace("{{color}}",o.colors.$colorRing)].toString()}},'&[data-color="danger"]':{boxShadow:l(o.colors.$danger500),"&:focus":{boxShadow:[l(o.colors.$danger500),o.shadows.$focusRing.replace("{{color}}",o.colors.$dangerAlpha200)].toString()}}},'&[data-variant="outline"]':{borderWidth:0,boxShadow:s(o.colors.$borderAlpha100),"&:focus":{boxShadow:[s(o.colors.$borderAlpha100),o.shadows.$focusRing.replace("{{color}}",o.colors.$colorRing)].toString()}},'&[data-variant="bordered"]':{borderWidth:0,boxShadow:s(o.colors.$borderAlpha100),"&:focus":{boxShadow:[s(o.colors.$borderAlpha100),o.shadows.$focusRing.replace("{{color}}",o.colors.$colorRing)].toString()}}},badge:{borderWidth:0,margin:"1px",'&[data-color="primary"]':{boxShadow:"".concat(i," ").concat(o.colors.$borderAlpha100,", ").concat(o.shadows.$badge)},'&[data-color="danger"]':{boxShadow:"".concat(i," ").concat(o.colors.$dangerAlpha300,", ").concat(o.shadows.$badge)},'&[data-color="success"]':{boxShadow:"".concat(i," ").concat(o.colors.$successAlpha300,", ").concat(o.shadows.$badge)},'&[data-color="warning"]':{boxShadow:"".concat(i," ").concat(o.colors.$warningAlpha300,", ").concat(o.shadows.$badge)}},input:{'&[data-variant="default"]':{...u(o)}},checkbox:{...(t={idle1:o.colors.$neutralAlpha150,idle2:o.colors.$neutralAlpha100,hover1:o.colors.$neutralAlpha300,hover2:o.colors.$neutralAlpha150,focus:o.colors.$neutralAlpha150},n=["0px 0px 0px 1px ".concat(t.idle1),o.shadows.$input.replace("{{color}}",t.idle2)].toString(),{boxShadow:n,"&:hover":{boxShadow:r=["0px 0px 0px 1px ".concat(t.hover1),o.shadows.$input.replace("{{color}}",t.hover2)].toString()},"&:focus-visible":{boxShadow:[r,o.shadows.$focusRing.replace("{{color}}",t.focus)].toString()}}),padding:o.space.$1,width:o.sizes.$3x5,height:o.sizes.$3x5,appearance:"none",borderRadius:o.radii.$sm,border:"none",backgroundSize:"".concat(o.sizes.$2," ").concat(o.sizes.$2),backgroundPosition:"center",backgroundRepeat:"no-repeat","&:checked":{backgroundImage:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 8 8'%3E%3Cpath fill='".concat(o.colors.$white,"' fill-rule='evenodd' d='M7.712.233a.889.889 0 0 1 .055 1.256C6.742 2.61 6.249 3.291 5.508 4.615c-.279.5-.589 1.194-.835 1.784a36.761 36.761 0 0 0-.382.95l-.021.057-.006.014-.001.003a.89.89 0 0 1-1.504.27L.218 4.765A.889.889 0 1 1 1.56 3.6l1.591 1.834c.235-.548.524-1.181.806-1.685.807-1.445 1.38-2.239 2.499-3.46A.889.889 0 0 1 7.712.234Z' clip-rule='evenodd'/%3E%3C/svg%3E\")"),borderColor:o.colors.$transparent,backgroundColor:o.colors.$primary500}},tagInputContainer:{...u(o)},tagPillContainer:{borderWidth:0,boxShadow:"".concat(i," ").concat(o.colors.$borderAlpha100,", ").concat(o.shadows.$badge)},phoneInputBox:{...u(o)},formInputGroup:{...u(o)},selectSearchInput__countryCode:{boxShadow:"none","&:focus":{boxShadow:"none"}},cardBox:{borderWidth:0,boxShadow:"".concat(o.shadows.$cardBoxShadow,", ").concat(i," ").concat(o.colors.$borderAlpha100)},drawerContent:{borderWidth:0,boxShadow:"".concat(o.shadows.$cardBoxShadow,", ").concat(i," ").concat(o.colors.$borderAlpha100)},popoverBox:{borderWidth:0,boxShadow:"".concat(o.shadows.$cardBoxShadow,", ").concat(i," ").concat(o.colors.$borderAlpha100)},card:{...c(o)},pricingTableCard:{'&[data-variant="default"]':{borderWidth:0,boxShadow:"".concat(o.shadows.$cardBoxShadow,", ").concat(i," ").concat(o.colors.$borderAlpha100)},'&[data-variant="compact"]':{borderWidth:0,boxShadow:"0px 0px 2px 0px rgba(0, 0, 0, 0.08), 0px 1px 2px 0px rgba(25, 28, 33, 0.12), 0px 0px 0px 1px ".concat(o.colors.$borderAlpha100)}},scrollBox:{...c(o)},userButtonPopoverMain:{...c(o)},organizationSwitcherPopoverMain:{...c(o)},menuList:{borderWidth:0,boxShadow:"".concat(o.shadows.$menuShadow,", ").concat(i," ").concat(o.colors.$borderAlpha100)},actionCard:{borderWidth:0,boxShadow:"".concat(o.shadows.$actionCardShadow,", ").concat(i," ").concat(o.colors.$borderAlpha100)},table:{borderWidth:0,boxShadow:"0px 0px 2px 0px rgba(0, 0, 0, 0.08), 0px 1px 2px 0px rgba(25, 28, 33, 0.12), 0px 0px 0px 1px ".concat(o.colors.$borderAlpha100)}}}},m={simpleStyles:!0,elements:{}},h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"clerk";return"simple"===e?m:p},f=e=>{let t={};for(let n in e)for(let r in t[n]={},e[n])t[n]["$"+r]=e[n][r];return Object.freeze(t)},g=Object.freeze({solid:"solid",dashed:"dashed"}),v=Object.freeze({normal:"1px",heavy:"2px"});var b=n(14620);n(89305),n(98114);var y=n(74803),w=n(82464),x=n(30002),_=n(35576);function S(e){if(!e)return null;if("string"==typeof e)return{baseColor:e};if(e["500"])return{baseColor:e["500"],userScale:e};if("object"==typeof e&&w.X2.some(t=>e[t])&&!e["500"])throw Error("You need to provide at least the 500 shade");return null}function k(e,t){return t?{...e,...t}:e}function $(e,t){var n=function(e){let t={};for(let[n,r]of Object.entries(e))r&&void 0!==r&&(t[n]=r);return t}(e);let r={};for(let[e,o]of Object.entries(n))void 0!==o&&(r[t+e]=o);return r}let C=(e,t)=>{if(e)return $(function(e){let t,n,r,o,a=S(e);if(!a)return(0,_.H5)();let{baseColor:i,userScale:l}=a;return k(y.a.modernColor()?(t=(0,_.H5)(),w.Tj.forEach(e=>{t[e]=(0,_.Nw)(i,e)}),t):(n=(0,_.H5)(),r=x.T.toHslaColor(i),o=x.T.setHslaAlpha(r,0),w.Tj.forEach((e,t)=>{var r;let a=null!=(r=w.Yo[t])?r:1,i=x.T.setHslaAlpha(o,a);n[e]=x.T.toHslaString(i)}),n),l)}(e),t)},P=(e,t)=>{if(e)return $(function(e){let t,n,r,o,a,i=S(e);if(!i)return(0,_.H5)();let{baseColor:l,userScale:s}=i;return k(y.a.modernColor()?(t=(0,_.H5)(),w.Tj.forEach(e=>{t[e]=(0,_.lD)(l,e)}),t):(n=(0,_.H5)(),r=x.T.toHslaColor(l),n["500"]=x.T.toHslaString(r),o=(w.Pg.TARGET_LIGHT-r.l)/w.cC.length,a=(r.l-w.Pg.TARGET_DARK)/w.wH.length,w.cC.forEach((e,t)=>{let a=x.T.changeHslaLightness(r,(t+1)*o);n[e]=x.T.toHslaString(a)}),w.wH.forEach((e,t)=>{let o=x.T.changeHslaLightness(r,-((t+1)*a*1));n[e]=x.T.toHslaString(o)}),n),s)}(e),t)};var A=n(38930);let z=Object.freeze({whiteAlpha25:"hsla(0, 0%, 100%, 0.02)",whiteAlpha50:"hsla(0, 0%, 100%, 0.03)",whiteAlpha100:"hsla(0, 0%, 100%, 0.07)",whiteAlpha150:"hsla(0, 0%, 100%, 0.11)",whiteAlpha200:"hsla(0, 0%, 100%, 0.15)",whiteAlpha300:"hsla(0, 0%, 100%, 0.28)",whiteAlpha400:"hsla(0, 0%, 100%, 0.41)",whiteAlpha500:"hsla(0, 0%, 100%, 0.53)",whiteAlpha600:"hsla(0, 0%, 100%, 0.62)",whiteAlpha700:"hsla(0, 0%, 100%, 0.73)",whiteAlpha750:"hsla(0, 0%, 100%, 0.78)",whiteAlpha800:"hsla(0, 0%, 100%, 0.81)",whiteAlpha850:"hsla(0, 0%, 100%, 0.84)",whiteAlpha900:"hsla(0, 0%, 100%, 0.87)",whiteAlpha950:"hsla(0, 0%, 100%, 0.92)"}),I=(0,A.AY)("color-neutral","#000000"),D=P((0,A.AY)("color-danger","#EF4444"),"danger"),Y=P((0,A.AY)("color-primary","#2F3037"),"primary"),R=P((0,A.AY)("color-success","#22C543"),"success"),E=P((0,A.AY)("color-warning","#F36B16"),"warning"),T=C((0,A.AY)("color-danger","#EF4444"),"dangerAlpha"),F=C(I,"neutralAlpha"),L=C((0,A.AY)("color-primary","#2F3037"),"primaryAlpha"),M=C((0,A.AY)("color-success","#22C543"),"successAlpha"),B=C((0,A.AY)("color-warning","#F36B16"),"warningAlpha"),O=C((0,A.AY)("color-border",I),"borderAlpha"),j=(0,A.AY)("color-foreground","#212126"),W=(0,A.AY)("color-muted-foreground",b.T.makeTransparent(j,.35)||"#747686"),U=Object.freeze({avatarBorder:F.neutralAlpha200,avatarBackground:F.neutralAlpha400,colorModalBackdrop:(0,A.AY)("color-modal-backdrop",b.T.makeTransparent(I,.27)||F.neutralAlpha700),colorBackground:(0,A.AY)("color-background","white"),colorInput:(0,A.AY)("color-input","white"),colorForeground:j,colorMutedForeground:W,colorMuted:void 0,colorRing:(0,A.AY)("color-ring",b.T.makeTransparent(I,.85)||F.neutralAlpha200),colorInputForeground:(0,A.AY)("color-input-foreground","#131316"),colorPrimaryForeground:(0,A.AY)("color-primary-foreground","white"),colorShimmer:(0,A.AY)("color-shimmer","rgba(255, 255, 255, 0.36)"),transparent:"transparent",white:"white",black:"black",...F,...z,...Y,primaryHover:b.T.adjustForLightness(Y.primary500),...L,...D,...T,...E,...B,...R,...M,...O}),H=Object.freeze({sm:"24%",disabled:"50%",inactive:"62%"}),N=e=>(t,n)=>y.a.modernColor()?e(t,n):"rgba(0, 0, 0, ".concat(n,")"),K=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#000000",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N((e,t)=>(0,_.D3)((0,A.AY)("color-shadow",e),100*t));return{menuShadow:"0px 5px 15px 0px ".concat(t(e,.08),", 0px 15px 35px -5px ").concat(t(e,.2)),fabShadow:"0px 12px 24px ".concat(t(e,.32)),buttonShadow:"0px 1px 1px 0px ".concat(t("#FFFFFF",.07)," inset, 0px 2px 3px 0px ").concat(t(e,.2),", 0px 1px 1px 0px ").concat(t(e,.24)),cardBoxShadow:"0px 5px 15px 0px ".concat(t(e,.08),", 0px 15px 35px -5px ").concat(t(e,.2)),cardContentShadow:"0px 0px 2px 0px ".concat(t(e,.08),", 0px 1px 2px 0px ").concat(t(e,.06)),actionCardShadow:"0px 1px 4px 0px ".concat(t(e,.12),", 0px 4px 8px 0px ").concat(t(e,.12)),outlineButtonShadow:"0px 2px 3px -1px ".concat(t(e,.08),", 0px 1px 0px 0px ").concat(t(e,.02)),input:"0px 0px 1px 0px {{color}}",focusRing:"0px 0px 0px 4px {{color}}",badge:"0px 2px 0px -1px ".concat(t(e,.04)),tableBodyShadow:"0px 0px 2px 0px ".concat(t(e,.08),", 0px 1px 2px 0px ").concat(t(e,.12),", 0px 0px 0px 1px ").concat(t(e,.06)),segmentedControl:"0px 1px 2px 0px ".concat(t(e,.08)),switchControl:"0px 2px 2px -1px ".concat(t(e,.06),", 0px 0px 0px 1px ").concat(t(e,.06),", 0px 4px 4px -2px ").concat(t(e,.06))}},V=Object.freeze(K()),G=Object.freeze({none:"0",xxs:"0.5px",px:"1px"}),Z=Object.freeze({"0x25":{rem:"0.0625rem",multiplier:.25},"0x5":{rem:"0.125rem",multiplier:.5},1:{rem:"0.25rem",multiplier:1},"1x5":{rem:"0.375rem",multiplier:1.5},2:{rem:"0.5rem",multiplier:2},"2x5":{rem:"0.625rem",multiplier:2.5},3:{rem:"0.75rem",multiplier:3},"3x25":{rem:"0.8125rem",multiplier:3.25},"3x5":{rem:"0.875rem",multiplier:3.5},4:{rem:"1rem",multiplier:4},"4x25":{rem:"1.0625rem",multiplier:4.25},"4x5":{rem:"1.125rem",multiplier:4.5},5:{rem:"1.25rem",multiplier:5},"5x5":{rem:"1.375rem",multiplier:5.5},6:{rem:"1.5rem",multiplier:6},7:{rem:"1.75rem",multiplier:7},"7x5":{rem:"1.875rem",multiplier:7.5},8:{rem:"2rem",multiplier:8},"8x5":{rem:"2.125rem",multiplier:8.5},"8x75":{rem:"2.1875rem",multiplier:8.75},9:{rem:"2.25rem",multiplier:9},10:{rem:"2.5rem",multiplier:10},12:{rem:"3rem",multiplier:12},13:{rem:"3.5rem",multiplier:13},16:{rem:"4rem",multiplier:16},17:{rem:"4.25rem",multiplier:17},20:{rem:"5rem",multiplier:20},24:{rem:"6rem",multiplier:24},28:{rem:"7rem",multiplier:28},32:{rem:"8rem",multiplier:32},36:{rem:"9rem",multiplier:36},40:{rem:"10rem",multiplier:40},44:{rem:"11rem",multiplier:44},48:{rem:"12rem",multiplier:48},52:{rem:"13rem",multiplier:52},56:{rem:"14rem",multiplier:56},57:{rem:"14.25rem",multiplier:57},60:{rem:"15rem",multiplier:60},66:{rem:"16.5rem",multiplier:66},94:{rem:"23.5rem",multiplier:94},100:{rem:"25rem",multiplier:100},108:{rem:"27rem",multiplier:108},120:{rem:"30rem",multiplier:120},140:{rem:"35rem",multiplier:140},160:{rem:"40rem",multiplier:160},176:{rem:"44rem",multiplier:176},220:{rem:"55rem",multiplier:220}}),q=(0,A.AY)("spacing","1rem"),X=Object.freeze({"0x25":Z["0x25"].rem,"0x5":Z["0x5"].rem,1:Z["1"].rem,"1x5":Z["1x5"].rem,2:Z["2"].rem,"2x5":Z["2x5"].rem,3:Z["3"].rem,"3x25":Z["3x25"].rem,"3x5":Z["3x5"].rem,4:Z["4"].rem,"4x25":Z["4x25"].rem,"4x5":Z["4x5"].rem,5:Z["5"].rem,"5x5":Z["5x5"].rem,6:Z["6"].rem,7:Z["7"].rem,"7x5":Z["7x5"].rem,8:Z["8"].rem,"8x5":Z["8x5"].rem,"8x75":Z["8x75"].rem,9:Z["9"].rem,10:Z["10"].rem,12:Z["12"].rem,13:Z["13"].rem,16:Z["16"].rem,17:Z["17"].rem,20:Z["20"].rem,24:Z["24"].rem,28:Z["28"].rem,32:Z["32"].rem,36:Z["36"].rem,40:Z["40"].rem,44:Z["44"].rem,48:Z["48"].rem,52:Z["52"].rem,56:Z["56"].rem,57:Z["57"].rem,60:Z["60"].rem,66:Z["66"].rem,94:Z["94"].rem,100:Z["100"].rem,108:Z["108"].rem,120:Z["120"].rem,140:Z["140"].rem,160:Z["160"].rem,176:Z["176"].rem,220:Z["220"].rem}),J=Object.freeze(Object.fromEntries(Object.entries(Z).map(e=>{let[t,{multiplier:n}]=e;return[t,4===n?q:"calc(".concat(q," * ").concat(.25*n,")")]}))),Q=Object.freeze({...G,...J}),ee=Object.freeze({...G,...X}),et=Object.freeze({sm:"2 / 3",md:"1",lg:"4 / 3",xl:"2"}),en=(0,A.AY)("border-radius","0.375rem"),er=Object.freeze({none:"0px",circle:"50%",avatar:(0,A.AY)("border-radius-avatar",en),sm:(0,A.AY)("border-radius-sm","calc(".concat(en," * ").concat(et.sm,")")),md:(0,A.AY)("border-radius-md",en),lg:(0,A.AY)("border-radius-lg","calc(".concat(en," * ").concat(et.lg,")")),xl:(0,A.AY)("border-radius-xl","calc(".concat(en," * ").concat(et.xl,")")),halfHeight:"99999px"}),eo=Object.keys(Z);var ea=n(84091);let ei=Object.freeze({normal:(0,A.AY)("font-weight-normal",(0,A.AY)("font-weight","400")),medium:(0,A.AY)("font-weight-medium","500"),semibold:(0,A.AY)("font-weight-semibold","600"),bold:(0,A.AY)("font-weight-bold","700")}),el=Object.freeze({normal:"normal",extraSmall:"calc(16 / 12)",small:"calc(18 / 13)",medium:"calc(24 / 17)",large:"calc(16 / 11)"}),es=Object.freeze({normal:"normal"}),ec=Object.freeze({xs:"11 / 13",sm:"12 / 13",md:"1",lg:"17 / 13",xl:"24 / 13"}),ed=(0,A.AY)("font-size","0.8125rem"),eu=Object.freeze({xs:(0,A.AY)("font-size-xs","calc(".concat(ed," * ").concat(ec.xs,")")),sm:(0,A.AY)("font-size-sm","calc(".concat(ed," * ").concat(ec.sm,")")),md:(0,A.AY)("font-size-md",ed),lg:(0,A.AY)("font-size-lg","calc(".concat(ed," * ").concat(ec.lg,")")),xl:(0,A.AY)("font-size-xl","calc(".concat(ed," * ").concat(ec.xl,")"))}),ep=Object.freeze({normal:"normal"}),em=Object.freeze({main:(0,A.AY)("font-family","inherit"),buttons:(0,A.AY)("font-family-buttons",(0,A.AY)("font-family","inherit"))}),eh=Object.freeze({card:"10",navbar:"100",fab:"9000",modal:"10000",dropdown:"11000"}),ef=f(Object.freeze({colors:U,fonts:em,fontStyles:ep,fontSizes:eu,fontWeights:ei,letterSpacings:es,lineHeights:el,radii:er,sizes:ee,space:Q,shadows:V,transitionProperty:ea.Rx,transitionTiming:ea._8,transitionDuration:ea.KP,transitionDurationValues:ea.wz,opacity:H,borderStyles:g,borderWidths:v,zIndices:eh}));n(95055),n(52678);var eg=n(31020);let ev=e=>(Object.keys(e).forEach(t=>void 0===e[t]&&delete e[t]),e),eb={logoPlacement:"inside",socialButtonsPlacement:"top",socialButtonsVariant:"auto",logoImageUrl:"",logoLinkUrl:"",showOptionalFields:!1,helpPageUrl:"",privacyPageUrl:"",termsPageUrl:"",shimmer:!0,animations:!0,unsafe_disableDevelopmentModeWarnings:!1},ey={theme:"auto",size:"normal",language:""},ew=(e,t)=>{if(!e)return;let n=e.theme;void 0!==n&&(Array.isArray(n)?n:[n]).forEach(e=>{"string"==typeof e?ew(h(e),t):ew(e,t)}),t.push(e)},ex=e=>{let t,n,r,o,a,i,l,s,c,d,u,p;if(!e)return{};let m={...(p=e.variables||{},n=P((t=y.a.modernColor()?p:Object.fromEntries(Object.entries(p).filter(e=>{let[t,n]=e;if("string"==typeof n){let e=!n.startsWith("var(");return e||console.warn("Invalid color value: ".concat(n," for key: ").concat(t,", using default value instead. Using CSS variables is not supported in this browser.")),e}return"object"==typeof n&&Object.entries(n).every(e=>{let[t,n]=e;if("string"!=typeof n)return!0;let r=!n.startsWith("var(");return r||console.warn("Invalid color value: ".concat(n," for key: ").concat(t,", using default value instead. Using CSS variables is not supported in this browser.")),r})}))).colorDanger,"danger"),r=P(t.colorPrimary,"primary"),o=P(t.colorSuccess,"success"),a=P(t.colorWarning,"warning"),i=C(null==n?void 0:n.danger500,"dangerAlpha"),l=C(t.colorNeutral,"neutralAlpha"),s=C(null==r?void 0:r.primary500,"primaryAlpha"),c=C(null==o?void 0:o.success500,"successAlpha"),d=C(null==a?void 0:a.warning500,"warningAlpha"),u=C(t.colorBorder||t.colorNeutral,"borderAlpha"),ev({...n,...r,...o,...a,...i,...l,...s,...c,...d,...u,primaryHover:b.T.adjustForLightness(null==r?void 0:r.primary500),colorPrimaryForeground:t.colorPrimaryForeground?b.T.toHslaString(t.colorPrimaryForeground):void 0,colorForeground:b.T.toHslaString(t.colorForeground),colorMutedForeground:t.colorMutedForeground?b.T.toHslaString(t.colorMutedForeground):b.T.makeTransparent(t.colorForeground,.35),colorInputForeground:b.T.toHslaString(t.colorInputForeground),colorBackground:b.T.toHslaString(t.colorBackground),colorInput:b.T.toHslaString(t.colorInput),colorShimmer:b.T.toHslaString(t.colorShimmer),colorMuted:t.colorMuted?b.T.toHslaString(t.colorMuted):void 0,colorRing:t.colorRing?b.T.toHslaString(t.colorRing):void 0,colorShadow:t.colorShadow?b.T.toHslaString(t.colorShadow):void 0,colorModalBackdrop:t.colorModalBackdrop?b.T.toHslaString(t.colorModalBackdrop):void 0,avatarBackground:(null==l?void 0:l.neutralAlpha400)?b.T.toHslaString(l.neutralAlpha400):void 0,avatarBorder:(null==l?void 0:l.neutralAlpha200)?b.T.toHslaString(l.neutralAlpha200):void 0}))},h={...(e=>{let{borderRadius:t}=e.variables||{};if(void 0===t)return;let n="none"===t?"0":t;return{sm:"calc(".concat(n," * ").concat(et.sm,")"),md:n,lg:"calc(".concat(n," * ").concat(et.lg,")"),xl:"calc(".concat(n," * ").concat(et.xl,")")}})(e)},g={...(e=>{let{spacing:t}=e.variables||{};if(void 0!==t)return(0,eg.P)(eo.map(e=>{let n=Number.parseFloat(e.replace("x","."));return[e,"calc(".concat(t," * ").concat(n/.5*.125,")")]}))})(e)},v={...(e=>{let{fontSize:t}=e.variables||{};if(void 0!==t)return"object"==typeof t?ev(Object.fromEntries(Object.entries(ec).map(e=>{var n;let[r,o]=e;return[r,null!=(n=t[r])?n:void 0]}))):Object.fromEntries(Object.entries(ec).map(e=>{let[n,r]=e;return[n,"1"===r?t:"calc(".concat(t," * ").concat(r,")")]}))})(e)},w={...(e=>{let{fontWeight:t}=e.variables||{};return ev({...t})})(e)};return f({colors:m,radii:h,space:g,fontSizes:v,fontWeights:w,fonts:{...(e=>{let{fontFamily:t,fontFamilyButtons:n}=e.variables||{};return ev({main:t,buttons:n})})(e)},shadows:{...(e=>{let{colorShadow:t}=e.variables||{};if(!t)return;let n=b.T.toHslaString(t);if(n)return K(n,N((e,t)=>(0,_.D3)(e,100*t)))})(e)}})},[e_,eS]=(0,o.e3)("AppearanceContext"),ek=e=>{let t=(0,o.Oc)(()=>({value:(e=>{var t;let n,r,o,{globalAppearance:i,appearance:l,appearanceKey:s}=e,c=[];[i,null==i?void 0:i[s],l].forEach(e=>ew(e,c));let d=(t=c,n={},(0,a.aY)({...ef},n),t.forEach(e=>{(0,a.aY)(ex(e),n)}),n),u=(r=c,{...eb,...r.reduce((e,t)=>({...e,...t.options}),{})}),m=(o=c,{...ey,...o.reduce((e,t)=>{if(t.captcha){let{theme:n,size:r,language:o}=t.captcha;return{...e,...n&&{theme:n},...r&&{size:r},...o&&{language:o}}}return e},{})});return c.find(e=>!!e.simpleStyles)||c.unshift(p),{parsedElements:c.map(e=>{if(!e.elements||"function"!=typeof e.elements)return e;let t={...e};return t.elements=e.elements({theme:d}),t}).map(e=>({...null==e?void 0:e.elements})),parsedInternalTheme:d,parsedOptions:u,parsedCaptcha:m}})(e)}),[e.appearance,e.globalAppearance,e.appearanceKey]);return(0,r.Y)(e_.Provider,{value:t,children:e.children})}},44607:function(e,t,n){n.d(t,{n:()=>p});var r=n(14518),o=n(35074),a=n(63269);n(88711);var i=n(17436);let l=o.memo(e=>{let[t,n]=o.useState(!0),a=o.useRef(null);return o.useEffect(()=>{let r=a.current;r&&(t&&n(!1),r.setAttribute("class",e.className),"isFlowReady"in e&&r.setAttribute("data-component-status",e.isFlowReady?"ready":"awaiting-data"))},[e.className,e.isFlowReady]),(0,r.FD)(r.FK,{children:[e.children,t&&(0,r.Y)("span",{ref:e=>a.current=e?e.parentElement:a.current,"aria-hidden":!0,style:{display:"none"}})]})}),s=(0,i.H)(l,{defaultStyles:e=>({boxSizing:"border-box",width:"fit-content",fontFamily:e.fonts.$main,fontStyle:e.fontStyles.$normal})});var c=n(29406),d=n(57298),u=n(58920);let p={Root:e=>(0,r.Y)(a.FlowMetadataProvider,{flow:e.flow,children:(0,r.Y)(c.S,{children:(0,r.Y)(s,{elementDescriptor:u.$z.rootBox,className:(0,d.DV)(e),...e})})}),Part:e=>{let{flow:t}=(0,a.PB)();return(0,r.Y)(a.FlowMetadataProvider,{flow:t,part:e.part,children:(0,r.Y)(c.S,{children:e.children})})}}},57298:function(e,t,n){n.d(t,{DV:()=>v,Pl:()=>i,sL:()=>u,y9:()=>b}),n(10676);var r=n(58920);let o=Object.freeze({loading:" ".concat(r.kh,"loading"),error:" ".concat(r.kh,"error"),open:" ".concat(r.kh,"open"),active:" ".concat(r.kh,"active")}),a=Object.freeze({loading:2,error:2,open:2,active:2}),i=(e,t,n,r)=>{let o=h(r),a="",i=[];return a=m(a=d(a=c(a=s(a=l(a,t),t,n),o),r),e,t,n,o),p(i,e,t,n,o),{className:a,css:i}},l=(e,t)=>{for(let n=t.length-1;n>=0;n--)e+=t[n].targettableClassname+" ";return e.trimEnd()},s=(e,t,n)=>{if(!n)return e;for(let r=t.length-1;r>=0;r--)e=e+" "+t[r].getTargettableIdClassname(n);return e},c=(e,t)=>t?e+o[t]:e,d=(e,t)=>t&&t.isRequired?e+" ".concat(r.kh,"required"):e,u=(e,t)=>e+(t?" "+t:"")+" \uD83D\uDD12️",p=(e,t,n,r,o)=>{for(let a=0;a<n.length;a++)for(let i=0;i<t.length;i++)w(e,t[i],n[a],r,o)},m=(e,t,n,r,o)=>{for(let a=0;a<n.length;a++)for(let i=0;i<t.length;i++)e=y(e,t[i],n[a],r,o);return e},h=e=>{if(e){if(e.isLoading)return"loading";if(e.hasError)return"error";if(e.isOpen)return"open";if(e.isActive)return"active"}},f=(e,t)=>"string"==typeof t?e+" "+t:e,g=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n?t&&"object"==typeof t&&e.push({["&".repeat(n)]:t}):t&&"object"==typeof t&&e.push(t)},v=e=>r.kh+e.flow+"-root",b=e=>e.part?r.kh+e.flow+"-"+e.part:"",y=(e,t,n,r,o)=>(t&&(e=f(e,t[n.objectKey]),r&&(e=f(e,t[n.getObjectKeyWithId(r)])),o&&(e=f(e,t[n.getObjectKeyWithState(o)])),r&&o&&(e=f(e,t[n.getObjectKeyWithIdAndState(r,o)]))),e),w=(e,t,n,r,o)=>{t&&(g(e,t[n.objectKey]),r&&g(e,t[n.getObjectKeyWithId(r)]),o&&g(e,t[n.getObjectKeyWithState(o)],a[o]),r&&o&&g(e,t[n.getObjectKeyWithIdAndState(r,o)],a[o]))}},58920:function(e,t,n){n.d(t,{kh:()=>o,$z:()=>l}),n(22501),n(58910),n(19161),n(22239);var r=n(31020);let o="cl-",a=["button","input","checkbox","radio","table","rootBox","cardBox","card","footerItem","popoverBox","disclosureRoot","disclosureTrigger","disclosureContentRoot","disclosureContentInner","disclosureContent","lineItemsRoot","lineItemsDivider","lineItemsGroup","lineItemsTitle","lineItemsTitleDescription","lineItemsDescription","lineItemsDescriptionInner","lineItemsDescriptionSuffix","lineItemsDescriptionPrefix","lineItemsDescriptionText","lineItemsCopyButton","lineItemsDowngradeNotice","actionCard","logoBox","logoImage","header","headerTitle","headerSubtitle","headerBackLink","main","footer","footerAction","footerActionText","footerActionLink","footerPages","footerPagesLink","backRow","backLink","socialButtonsRoot","socialButtons","socialButtonsIconButton","socialButtonsBlockButton","socialButtonsBlockButtonText","socialButtonsProviderIcon","socialButtonsProviderInitialIcon","lastAuthenticationStrategyBadge","enterpriseButtonsProviderIcon","providerIcon","providerInitialIcon","alternativeMethods","alternativeMethodsBlockButton","alternativeMethodsBlockButtonText","alternativeMethodsBlockButtonArrow","checkoutFormLineItemsRoot","checkoutFormElementsRoot","checkoutSuccessRoot","checkoutSuccessRings","checkoutSuccessBadge","checkoutSuccessTitle","checkoutSuccessDescription","otpCodeField","otpCodeFieldInputs","otpCodeFieldInput","otpCodeFieldInputContainer","otpCodeFieldErrorText","otpCodeFieldSuccessText","formResendCodeLink","dividerRow","dividerColumn","dividerText","dividerLine","drawerBackdrop","drawerRoot","drawerContent","drawerHeader","drawerTitle","drawerBody","drawerFooter","drawerFooterTitle","drawerFooterDescription","drawerClose","drawerConfirmationBackdrop","drawerConfirmationRoot","drawerConfirmationTitle","drawerConfirmationDescription","drawerConfirmationActions","formHeader","formHeaderTitle","formHeaderSubtitle","verificationLinkStatusBox","verificationLinkStatusIconBox","verificationLinkStatusIcon","verificationLinkStatusText","form","formContainer","formFieldRow","formField","formFieldLabelRow","formFieldLabel","formFieldRadioGroup","formFieldRadioGroupItem","formFieldRadioInput","formFieldRadioLabel","formFieldRadioLabelTitle","formFieldRadioLabelDescription","formFieldCheckboxInput","formFieldCheckboxLabel","formFieldAction","formFieldInput","formFieldErrorText","formFieldWarningText","formFieldSuccessText","formFieldInfoText","formFieldHintText","formButtonPrimary","formButtonReset","formFieldInputGroup","formFieldInputShowPasswordButton","formFieldInputShowPasswordIcon","formFieldInputCopyToClipboardButton","formFieldInputCopyToClipboardIcon","phoneInputBox","formInputGroup","avatarBox","avatarImage","avatarImageActions","avatarImageActionsUpload","avatarImageActionsRemove","userButtonBox","userButtonOuterIdentifier","userButtonTrigger","userButtonAvatarBox","userButtonAvatarImage","userButtonPopoverRootBox","userButtonPopoverCard","userButtonPopoverMain","userButtonPopoverActions","userButtonPopoverActionButton","userButtonPopoverActionButtonIconBox","userButtonPopoverActionButtonIcon","userButtonPopoverCustomItemButton","userButtonPopoverCustomItemButtonIconBox","userButtonPopoverActionItemButtonIcon","userButtonPopoverFooter","userButtonPopoverFooterPagesLink","organizationSwitcherTrigger","organizationSwitcherTriggerIcon","organizationSwitcherPopoverRootBox","organizationSwitcherPopoverCard","organizationSwitcherPopoverMain","organizationSwitcherPopoverActions","organizationSwitcherPopoverInvitationActions","organizationSwitcherPopoverInvitationActionsBox","organizationSwitcherPopoverActionButton","organizationSwitcherPreviewButton","organizationSwitcherInvitationAcceptButton","organizationSwitcherPopoverActionButtonIconBox","organizationSwitcherPopoverActionButtonIcon","organizationSwitcherPopoverFooter","organizationProfileMembersSearchInputIcon","organizationProfileMembersSearchInput","organizationListPreviewItems","organizationListPreviewItem","organizationListPreviewButton","organizationListPreviewItemActionButton","organizationListCreateOrganizationActionButton","taskChooseOrganizationPreviewItem","taskChooseOrganizationPreviewItems","taskChooseOrganizationCreateOrganizationActionButton","taskChooseOrganizationPreviewButton","userAvatarBox","userAvatarImage","userPreview","userPreviewAvatarContainer","userPreviewAvatarBox","userPreviewAvatarImage","userPreviewAvatarIcon","userPreviewTextContainer","userPreviewMainIdentifier","userPreviewMainIdentifierText","userPreviewSecondaryIdentifier","organizationPreview","organizationPreviewAvatarContainer","organizationPreviewAvatarBox","organizationPreviewAvatarImage","organizationPreviewTextContainer","organizationPreviewMainIdentifier","organizationPreviewSecondaryIdentifier","organizationAvatarUploaderContainer","membersPageInviteButton","identityPreview","identityPreviewText","identityPreviewEditButton","identityPreviewEditButtonIcon","passkeyIcon","accountSwitcherActionButton","accountSwitcherActionButtonIconBox","accountSwitcherActionButtonIcon","pricingTable","pricingTableCard","pricingTableCardHeader","pricingTableCardTitleContainer","pricingTableCardTitle","pricingTableCardDescription","pricingTableCardBody","pricingTableCardStatusRow","pricingTableCardStatus","pricingTableCardFeatures","pricingTableCardFeaturesList","pricingTableCardFeaturesListItem","pricingTableCardFeaturesListItemContent","pricingTableCardFeaturesListItemTitle","pricingTableCardPeriodToggle","pricingTableCardFeeContainer","pricingTableCardFee","pricingTableCardFeePeriod","pricingTableCardFeePeriodNotice","pricingTableCardFooter","pricingTableCardFooterButton","pricingTableCardFooterNotice","pricingTableMatrix","pricingTableMatrixTable","pricingTableMatrixRowGroup","pricingTableMatrixRowGroupHeader","pricingTableMatrixRowGroupBody","pricingTableMatrixRow","pricingTableMatrixRowHeader","pricingTableMatrixRowBody","pricingTableMatrixColumnHeader","pricingTableMatrixCell","pricingTableMatrixCellFooter","pricingTableMatrixAvatar","pricingTableMatrixBadge","pricingTableMatrixPlanName","pricingTableMatrixFee","pricingTableMatrixFeePeriod","pricingTableMatrixFeePeriodNotice","pricingTableMatrixFeePeriodNoticeInner","pricingTableMatrixFeePeriodNoticeLabel","pricingTableMatrixFooter","planDetailHeader","planDetailAvatar","planDetailBadgeAvatarTitleDescriptionContainer","planDetailBadgeContainer","planDetailBadge","planDetailTitle","planDetailTitleDescriptionContainer","planDetailDescription","planDetailAction","planDetailFeeContainer","planDetailFee","planDetailFeePeriod","planDetailFeePeriodNotice","planDetailFeePeriodNoticeInner","planDetailFeePeriodNoticeLabel","planDetailCaption","planDetailFeatures","planDetailFeaturesList","planDetailFeaturesListItem","planDetailFeaturesListItemContent","planDetailFeaturesListItemTitle","planDetailFeaturesListItemDescription","planDetailPeriodToggle","segmentedControlRoot","segmentedControlButton","switchRoot","switchIndicator","switchThumb","switchLabel","alert","alertIcon","alertText","alertTextContainer","tagInputContainer","tagPillIcon","tagPillContainer","tabPanel","tabButton","tabListContainer","tableHead","tableBody","tableRow","tableHeaderCell","tableBodyCell","paginationButton","paginationButtonIcon","paginationRowText","selectButton","selectSearchInput","selectButtonIcon","selectOptionsContainer","selectOption","paymentMethodRow","paymentMethodRowIcon","paymentMethodRowText","paymentMethodRowType","paymentMethodRowValue","paymentMethodRowBadge","statementRoot","statementHeader","statementHeaderTitleContainer","statementHeaderTitle","statementHeaderBadge","statementBody","statementSection","statementSectionHeader","statementSectionHeaderTitle","statementSectionContent","statementSectionContentItem","statementSectionContentDetailsList","statementSectionContentDetailsListItem","statementSectionContentDetailsListItemLabelContainer","statementSectionContentDetailsListItemLabel","statementSectionContentDetailsListItemValue","statementSectionContentDetailsHeader","statementSectionContentDetailsHeaderItem","statementSectionContentDetailsHeaderItemIcon","statementSectionContentDetailsHeaderTitle","statementSectionContentDetailsHeaderDescription","statementSectionContentDetailsHeaderSecondaryTitle","statementSectionContentDetailsHeaderSecondaryDescription","statementFooter","statementFooterLabel","statementFooterValueContainer","statementFooterCurrency","statementFooterValue","statementCopyButton","menuButton","menuButtonEllipsis","menuButtonEllipsisBordered","menuList","menuItem","paymentAttemptRoot","paymentAttemptHeader","paymentAttemptHeaderTitleContainer","paymentAttemptHeaderTitle","paymentAttemptHeaderBadge","paymentAttemptBody","paymentAttemptFooter","paymentAttemptFooterLabel","paymentAttemptFooterValueContainer","paymentAttemptFooterCurrency","paymentAttemptFooterValue","paymentAttemptCopyButton","modalBackdrop","modalContent","modalCloseButton","profileSection","profileSectionItemList","profileSectionItem","profileSectionHeader","profileSectionTitle","profileSectionTitleText","profileSectionSubtitle","profileSectionSubtitleText","profileSectionContent","profileSectionPrimaryButton","profileSectionButtonGroup","profilePage","formattedPhoneNumber","formattedPhoneNumberFlag","formattedPhoneNumberText","formattedDate","scrollBox","navbar","navbarButtons","navbarButton","navbarButtonIcon","navbarButtonText","navbarMobileMenuRow","navbarMobileMenuButton","navbarMobileMenuButtonIcon","pageScrollBox","page","activeDevice","activeDeviceListItem","activeDeviceIcon","impersonationFab","impersonationFabIcon","impersonationFabIconContainer","impersonationFabTitle","impersonationFabActionLink","invitationsSentIconBox","invitationsSentIcon","qrCodeRow","qrCodeContainer","tooltip","tooltipContent","tooltipText","badge","notificationBadge","buttonArrowIcon","spinner","apiKeys","apiKeysHeader","apiKeysSearchBox","apiKeysSearchInput","apiKeysAddButton","apiKeysTable","apiKeysCopyButton","apiKeysRevealButton","apiKeysCreateForm","apiKeysCreateFormNameInput","apiKeysCreateFormDescriptionInput","apiKeysCreateFormExpirationInput","apiKeysCreateFormSubmitButton","apiKeysCreateFormExpirationCaption","apiKeysRevokeModal","apiKeysRevokeModalInput","apiKeysRevokeModalSubmitButton","apiKeysCopyModal","apiKeysCopyModalInput","apiKeysCopyModalSubmitButton","subscriptionDetailsCard","subscriptionDetailsCardHeader","subscriptionDetailsCardBadge","subscriptionDetailsCardTitle","subscriptionDetailsCardBody","subscriptionDetailsCardFooter","subscriptionDetailsCardActions","subscriptionDetailsActionButton","subscriptionDetailsCancelButton","subscriptionDetailsDetailRow","subscriptionDetailsDetailRowLabel","subscriptionDetailsDetailRowValue","enterpriseConnectionsRoot","enterpriseConnectionButton","enterpriseConnectionButtonText","web3SolanaWalletButtonsRoot","web3SolanaWalletButtons","web3SolanaWalletButtonsIconButton","web3SolanaWalletButtonsBlockButton","web3SolanaWalletButtonsBlockButtonText","web3SolanaWalletButtonsWalletIcon","web3SolanaWalletButtonsWalletInitialIcon","walletIcon","walletInitialIcon"].map(e=>e.replace(/-./g,e=>e[1].toUpperCase())),i=e=>e.replace(/([-][a-z])/,e=>e[1].toUpperCase()),l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=e.map(e=>{var t;let n;return[i(e),{objectKey:n=i(t=e),targettableClassname:o+t,getTargettableIdClassname:e=>o+t+"__"+e.id,getObjectKeyWithState:e=>n+"__"+e,getObjectKeyWithId:e=>n+"__"+e.id,getObjectKeyWithIdAndState:(e,t)=>n+"__"+e.id+"__"+t,setId:e=>e?{id:e,__type:"id"}:void 0}]});return(0,r.P)(t)}()},18272:function(e,t,n){let r,o;n.d(t,{Fc:()=>eK,Dt:()=>ti,dF:()=>ej,_0:()=>eV,L9:()=>tl,XI:()=>e7,wF:()=>eQ,$G:()=>eZ,NN:()=>te,_V:()=>eN,Ex:()=>e3,$n:()=>eO,xA:()=>eB,AT:()=>eX,EY:()=>eH,Th:()=>tn,Tr:()=>tt,AppearanceProvider:()=>eT.Q,fv:()=>eM,vd:()=>e8,so:()=>eL,lV:()=>e5,N_:()=>eU,d8:()=>e9,cN:()=>e2,Dd:()=>ta,DZ:()=>eW,sE:()=>e1,pd:()=>eG,Oc:()=>eq,In:()=>e4,Dl:()=>to,TP:()=>e0,y$:()=>e6,az:()=>eF,Td:()=>tr,lR:()=>eJ});var a,i,l,s=n(10078),c=n(37736),d=n(56488),u=n(14518),p=n(35074),m=n(41914);let{applyVariants:h,filterProps:f}=(0,m.v)(e=>({base:{display:"grid"},variants:{align:{start:{alignItems:"flex-start"},center:{alignItems:"center"},end:{alignItems:"flex-end"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},justify:{start:{justifyContent:"flex-start"},center:{justifyContent:"center"},end:{justifyContent:"flex-end"},between:{justifyContent:"space-between"},around:{justifyContent:"space-around"},stretch:{justifyContent:"stretch"}},columns:{1:{gridTemplateColumns:"1fr"},2:{gridTemplateColumns:"repeat(2, 1fr)"},3:{gridTemplateColumns:"repeat(3, 1fr)"},4:{gridTemplateColumns:"repeat(4, 1fr)"},6:{gridTemplateColumns:"repeat(6, 1fr)"}},gap:{1:{gap:e.space.$1},2:{gap:e.space.$2},3:{gap:e.space.$3},4:{gap:e.space.$4},5:{gap:e.space.$5},6:{gap:e.space.$6},7:{gap:e.space.$7},8:{gap:e.space.$8},9:{gap:e.space.$9}}},defaultVariants:{align:"stretch",justify:"stretch",wrap:"noWrap"}})),g=p.forwardRef((e,t)=>(0,u.Y)(c.a,{...f(e),css:h(e),ref:t}));var v=n(58920);let b=function(e){return p.createElement("svg",e,a||(a=p.createElement("path",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m7.25 5-3.5-2.25v4.5L7.25 5Z"})))};var y=n(22637),w=n(41464),x=n(21908);let _=(0,y.T)("accent","accentHover","accentContrast","alpha","border"),{applyVariants:S,filterProps:k}=(0,m.v)((e,t)=>({base:{margin:0,padding:0,borderWidth:0,outline:0,userSelect:"none",cursor:"pointer",backgroundColor:"unset",color:"currentColor",borderRadius:e.radii.$md,position:"relative",isolation:"isolate",...w.s.centeredFlex("inline-flex"),...w.s.disabled(e),transitionProperty:e.transitionProperty.$common,transitionDuration:e.transitionDuration.$controls},variants:{textVariant:w.s.textVariants(e),size:{iconLg:{width:e.sizes.$13},xs:{padding:"".concat(e.space.$1," ").concat(e.space.$3)},sm:{padding:"".concat(e.space.$1x5," ").concat(e.space.$3)},md:{padding:"".concat(e.space.$2x5," ").concat(e.space.$5)}},colorScheme:{primary:{[_.accent]:e.colors.$primary500,[_.accentHover]:e.colors.$primaryHover,[_.border]:e.colors.$primary500,[_.accentContrast]:e.colors.$colorPrimaryForeground,[_.alpha]:e.colors.$neutralAlpha50},secondary:{[_.accent]:e.colors.$colorBackground,[_.accentHover]:"color-mix(in srgb, ".concat(_.accent,", ").concat(e.colors.$neutralAlpha50,")"),[_.border]:e.colors.$primary500,[_.accentContrast]:e.colors.$colorForeground,[_.alpha]:e.colors.$neutralAlpha50},neutral:{[_.accent]:e.colors.$neutralAlpha600,[_.accentHover]:e.colors.$neutralAlpha700,[_.border]:e.colors.$neutralAlpha200,[_.accentContrast]:e.colors.$white,[_.alpha]:e.colors.$neutralAlpha50},danger:{[_.accent]:e.colors.$danger500,[_.accentHover]:e.colors.$danger600,[_.accentContrast]:e.colors.$white,[_.border]:e.colors.$danger500,[_.alpha]:e.colors.$dangerAlpha50}},variant:{solid:{backgroundColor:_.accent,color:_.accentContrast,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:_.accent,"&:hover":{backgroundColor:_.accentHover},"&:focus":t.hoverAsFocus?{backgroundColor:_.accentHover}:void 0},outline:{borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,color:e.colors.$neutralAlpha600,"&:hover":{backgroundColor:e.colors.$neutralAlpha50},"&:focus":t.hoverAsFocus?{backgroundColor:e.colors.$neutralAlpha50,borderColor:e.colors.$borderAlpha300}:void 0},bordered:{borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,color:_.accentContrast,backgroundColor:_.accent,"&:hover":{backgroundColor:_.accentHover},"&:focus":t.hoverAsFocus?{backgroundColor:_.accentHover,borderColor:e.colors.$borderAlpha300}:void 0},ghost:{color:_.accent,"&:hover":{backgroundColor:_.alpha,color:_.accentHover},"&:focus":t.hoverAsFocus?{backgroundColor:_.alpha,color:_.accentHover}:void 0},link:{minHeight:"fit-content",height:"fit-content",width:"fit-content",textTransform:"none",padding:0,color:e.colors.$primary500,"&:hover":{textDecoration:"underline"},"&:focus":t.hoverAsFocus?{textDecoration:"underline"}:void 0},linkDanger:{minHeight:"fit-content",height:"fit-content",width:"fit-content",textTransform:"none",padding:0,color:e.colors.$danger500,"&:hover":{textDecoration:"underline"},"&:focus":t.hoverAsFocus?{textDecoration:"underline"}:void 0},unstyled:{},roundWrapper:{padding:0,margin:0,height:"unset",width:"unset",minHeight:"unset"}},block:{true:{width:"100%"}},focusRing:{true:{...w.s.focusRing(e)}}},defaultVariants:{textVariant:"buttonLarge",variant:"solid",colorScheme:"primary",size:"sm",focusRing:!0}})),$=e=>{let{children:t}=e;return(0,u.FD)(d.s,{align:"center",as:"span",children:[t,(0,u.Y)(e4,{elementDescriptor:v.$z.buttonArrowIcon,icon:b,sx:e=>({marginLeft:e.space.$2,width:e.sizes.$2x5,height:e.sizes.$2x5,opacity:e.opacity.$inactive})})]})},C=p.forwardRef((e,t)=>{let n={...e,isDisabled:e.isDisabled||e.isLoading},{isLoading:r,isDisabled:o,hoverAsFocus:a,loadingText:i,children:l,hasArrow:s,onClick:c,...p}=k(n);return(0,u.FD)("button",{...(0,x.k)(p),type:void 0,onClick:e=>("submit"!==p.type&&e.preventDefault(),null==c?void 0:c(e)),disabled:o,"data-variant":e.variant||"solid","data-color":e.colorScheme||"primary",css:S(n),ref:t,children:[r&&(0,u.FD)(d.s,{as:"span",gap:2,center:!0,css:{position:"relative"},children:[(0,u.Y)(e6,{"aria-label":i||"Loading",elementDescriptor:v.$z.spinner,sx:{position:i?void 0:"absolute"}}),i||(0,u.Y)("span",{style:{display:"inline-flex",visibility:"hidden"},children:l})]}),!r&&(s?(0,u.Y)($,{children:l}):l)]})}),P=p.forwardRef((e,t)=>{let n={...e,isDisabled:e.isDisabled||e.isLoading},{loadingText:r,isDisabled:o,hoverAsFocus:a,children:i,onClick:l,...s}=k(n);return(0,u.Y)("button",{...(0,x.k)(s),type:void 0,onClick:e=>("submit"!==s.type&&e.preventDefault(),null==l?void 0:l(e)),css:S(n),disabled:o,"data-variant":e.variant||"solid","data-color":e.colorScheme||"primary",ref:t,children:i})}),{applyVariants:A,filterProps:z}=(0,m.v)(e=>({base:{boxSizing:"border-box",color:"".concat(e.colors.$colorForeground),margin:0},variants:{textVariant:{...w.s.textVariants(e)}},defaultVariants:{as:"h1",textVariant:"h1"}}));var I=n(63707);let{applyVariants:D,filterProps:Y}=(0,m.v)(e=>({base:{boxSizing:"border-box",margin:0,fontSize:"inherit",...w.s.disabled(e)},variants:{variant:w.s.textVariants(e),colorScheme:{body:{color:e.colors.$colorForeground},onPrimaryBg:{color:e.colors.$colorPrimaryForeground},danger:{color:e.colors.$danger500},success:{color:e.colors.$success500},warning:{color:e.colors.$warning500},secondary:{color:e.colors.$colorMutedForeground},inherit:{color:"inherit"}},truncate:{true:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}},defaultVariants:{variant:"body",colorScheme:"inherit"}})),R=p.forwardRef((e,t)=>{let{as:n="p",...r}=e;return(0,u.Y)(n,{...(0,x.k)(Y(r)),css:D(e),ref:t})}),E=p.forwardRef((e,t)=>(0,u.Y)("img",{crossOrigin:"anonymous",...(0,x.k)(e),ref:t}));var T=n(92349),F=n(61603),L=n(89068);let{applyVariants:M,filterProps:B}=(0,m.v)(e=>({base:{marginRight:e.space.$2x5,width:e.sizes.$4,height:e.sizes.$4},variants:{colorScheme:{danger:{color:e.colors.$danger500},warning:{color:e.colors.$warning500},success:{color:e.colors.$success500},primary:{color:e.colors.$primary500},info:{color:e.colors.$colorMutedForeground}}}}));var O=n(2204),j=n(90593);let{applyVariants:W}=(0,m.v)(e=>({base:{color:e.colors.$colorForeground,...w.s.textVariants(e).subtitle,...w.s.disabled(e)},variants:{}}));function U(){return(U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let H=function(e){return p.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},e),i||(i=p.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.4 7A6.4 6.4 0 1 1 .6 7a6.4 6.4 0 0 1 12.8 0Zm-5.6 3.2a.8.8 0 1 1-1.6 0 .8.8 0 0 1 1.6 0ZM7 3a.8.8 0 0 0-.8.8V7a.8.8 0 0 0 1.6 0V3.8A.8.8 0 0 0 7 3Z",clipRule:"evenodd"})))};var N=n(44374);let{applyVariants:K}=(0,m.v)(e=>({base:{marginTop:e.sizes.$1x5,animation:"".concat(N.W.textInSmall," ").concat(e.transitionDuration.$fast),display:"flex",gap:e.sizes.$1,position:"absolute",top:"0",textAlign:"left"},variants:{}})),V=(0,p.forwardRef)((e,t)=>{let{hasError:n}=(0,j.Wd)()||{};if(!n&&!e.children)return null;let{children:r,...o}=e;return(0,u.FD)(R,{ref:t,colorScheme:"danger",...o,css:K(e),children:[(0,u.Y)(e4,{colorScheme:"danger",icon:H}),r]})});function G(){return(G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let Z=function(e){return p.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"},e),l||(l=p.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.7-9.3a1 1 0 0 0-1.4-1.4L9 10.58l-1.3-1.3a1 1 0 0 0-1.4 1.42l2 2a1 1 0 0 0 1.4 0l4-4Z",clipRule:"evenodd"})))},{applyVariants:q}=(0,m.v)(e=>({base:{marginTop:e.sizes.$1x5,animation:"".concat(N.W.textInSmall," ").concat(e.transitionDuration.$fast),display:"flex",gap:e.sizes.$1,position:"absolute",top:"0",textAlign:"left"},variants:{}})),X=(0,p.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,u.FD)(R,{ref:t,colorScheme:"secondary",...r,css:q(e),children:[(0,u.Y)(e4,{colorScheme:"success",icon:Z}),n]})}),J=(0,p.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,u.FD)(R,{ref:t,colorScheme:"secondary",...r,css:q(e),children:[(0,u.Y)(e4,{colorScheme:"warning",icon:H}),n]})}),Q=(0,p.forwardRef)((e,t)=>{let{hasError:n}=(0,j.Wd)()||{};return n||e.children?(0,u.Y)(R,{ref:t,colorScheme:"secondary",...e,css:q(e)}):null}),ee=p.forwardRef((e,t)=>(0,u.Y)(d.s,{direction:"col",as:"form",...e,ref:t})),{applyVariants:et,filterProps:en}=(0,m.v)(e=>({base:{flexShrink:0},variants:{size:{xs:{width:e.sizes.$2x5,height:e.sizes.$2x5},sm:{width:e.sizes.$3,height:e.sizes.$3},md:{width:e.sizes.$4,height:e.sizes.$4},lg:{width:e.sizes.$5,height:e.sizes.$5}},colorScheme:{success:{color:e.colors.$success500},danger:{color:e.colors.$danger500},warning:{color:e.colors.$warning500},neutral:{color:e.colors.$neutralAlpha400}}},defaultVariants:{size:"md"}}));var er=n(37852);let eo=(0,y.T)("accent","bg","borderColor"),{applyVariants:ea,filterProps:ei}=(0,m.v)(e=>({base:{color:eo.accent,flexShrink:0,backgroundColor:eo.bg,boxShadow:e.shadows.$badge,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:eo.borderColor,borderRadius:e.radii.$sm,padding:"".concat(e.space.$0x25," ").concat(e.space.$1x5),display:"inline-flex",marginRight:"1px"},variants:{textVariant:{...w.s.textVariants(e)},colorScheme:{primary:{[eo.accent]:e.colors.$borderAlpha600,[eo.bg]:e.colors.$borderAlpha50,[eo.borderColor]:e.colors.$borderAlpha150},secondary:{[eo.accent]:e.colors.$colorPrimaryForeground,[eo.bg]:e.colors.$primary500,[eo.borderColor]:e.colors.$primary500},danger:{[eo.accent]:e.colors.$danger500,[eo.bg]:e.colors.$dangerAlpha50,[eo.borderColor]:e.colors.$dangerAlpha300},success:{[eo.accent]:e.colors.$success500,[eo.bg]:e.colors.$successAlpha50,[eo.borderColor]:e.colors.$successAlpha300},warning:{[eo.accent]:e.colors.$warning500,[eo.bg]:e.colors.$warningAlpha50,[eo.borderColor]:e.colors.$warningAlpha300}}},defaultVariants:{colorScheme:"primary",textVariant:"caption"}})),el=(0,y.T)("accent","bg","borderColor"),{applyVariants:es,filterProps:ec}=(0,m.v)(e=>({base:{color:el.accent,background:el.bg,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderRadius:e.radii.$lg,borderColor:el.borderColor,height:e.space.$4,minWidth:e.space.$5,padding:"".concat(e.space.$0x5," ").concat(e.space.$1),display:"inline-flex"},variants:{textVariant:{...w.s.textVariants(e)},colorScheme:{primary:{[el.accent]:e.colors.$colorPrimaryForeground,[el.bg]:"linear-gradient(180deg, ".concat(e.colors.$whiteAlpha300," 0%, ").concat(e.colors.$transparent," 100%), ").concat(e.colors.$primary500),borderWidth:0},outline:{[el.accent]:e.colors.$neutralAlpha600,[el.bg]:"transparent",[el.borderColor]:e.colors.$borderAlpha150}}},defaultVariants:{colorScheme:"primary",textVariant:"caption"}})),{applyVariants:ed,filterProps:eu}=(0,m.v)(e=>({base:{borderSpacing:"0",borderCollapse:"separate",borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,borderRadius:e.radii.$lg,width:"100%",">:not([hidden])~:not([hidden])":{borderBottomWidth:"0px",borderTopWidth:"1px",borderStyle:"solid",borderLeftWidth:"0px",borderRightWidth:"0px",borderColor:e.colors.$borderAlpha150},"td:not(:first-of-type)":{paddingLeft:e.space.$2},"th:not(:first-of-type)":{paddingLeft:e.space.$2},"tr > td":{borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha150,paddingBottom:e.space.$2,paddingTop:e.space.$2,paddingLeft:e.space.$4,paddingRight:e.space.$4},"tbody > :not([hidden])~:not([hidden])":{borderBottomWidth:"0px",borderTopWidth:"1px",borderStyle:"solid",borderLeftWidth:"0px",borderRightWidth:"0px",borderColor:e.colors.$borderAlpha150},"tr:hover td:first-of-type":{borderBottomLeftRadius:e.radii.$lg},"tr:hover td:last-of-type":{borderBottomRightRadius:e.radii.$lg},"tr > th:first-of-type":{paddingLeft:e.space.$5},"thead::after":{content:'""',display:"block"}},variants:{tableHeadVisuallyHidden:{true:{thead:{...w.s.visuallyHidden()},"tr:first-of-type td":{borderTop:"none"}}}}})),ep=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"table",...eu(e),css:ed(e),ref:t})),em=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"thead",...e,ref:t})),eh=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"tbody",...e,ref:t})),ef=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"tr",...e,ref:t}));var eg=n(14620);let{applyVariants:ev,filterProps:eb}=(0,m.v)(e=>({base:{textAlign:"left",fontSize:e.fontSizes.$sm,fontWeight:e.fontWeights.$normal,color:eg.T.setAlpha(e.colors.$colorForeground,.62),padding:"".concat(e.space.$2," ").concat(e.space.$4)},variants:{}})),ey=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"th",...eb(e),css:ev(e),ref:t})),{applyVariants:ew,filterProps:ex}=(0,m.v)(e=>({base:{fontSize:e.fontSizes.$xs,fontWeight:e.fontWeights.$normal,color:e.colors.$colorForeground},variants:{}})),e_=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"td",...ex(e),css:ew(e),ref:t})),eS=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"dl",css:{margin:0},...e,ref:t})),ek=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"dd",css:{margin:0},...e,ref:t})),e$=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"dt",css:{margin:0},...e,ref:t})),eC=p.forwardRef((e,t)=>(0,u.Y)("span",{...e,ref:t})),{applyVariants:eP,filterProps:eA}=(0,m.v)(e=>({base:{border:"none",height:e.space.$px,backgroundColor:e.colors.$neutralAlpha100},variants:{}})),ez=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"hr",...eA(e),css:eP(e),ref:t}));var eI=n(17436);n(22501),n(58910),n(19161),n(89305),n(30945),n(22239),n(88711),n(64178),n(60962),n(60486),n(25089),n(61244),n(77895);var eD=n(14173);let eY=["https://img.clerk.com/","https://img.clerkstage.dev/","https://img.lclclerk.com/"],eR=e=>{let{src:t,width:n}=e;if(!(0,eD.AY)(t)||(0,eD.V0)(t)||"string"!=typeof t)return t;let r=new URL(t);return n&&r.searchParams.append("width",null==n?void 0:n.toString()),r.href},eE=e=>p.forwardRef((t,n)=>{let{elementId:r,elementDescriptor:o,localizationKey:a,...i}=t;return(0,u.Y)(e,{...i,ref:n})});var eT=n(16580);let eF=(0,eI.H)(eE(c.a)),eL=(0,eI.H)(eE(d.s)),eM=(0,eI.H)(eE(d.f)),eB=(0,eI.H)(eE(g)),eO=(0,eI.H)((0,s.d)(eE(C)),{defaultDescriptor:v.$z.button}),ej=(0,eI.H)((0,s.d)(eE(P)),{defaultDescriptor:v.$z.button}),eW=(0,eI.H)((0,s.d)(eE(e=>{let{as:t="h1",...n}=e;return(0,u.Y)(t,{...z(n),css:A(e)})}))),eU=(0,eI.H)((0,s.d)(eE(I.N))),eH=(0,eI.H)((0,s.d)(eE(R))),eN=(0,eI.H)(eE((r=p.forwardRef((e,t)=>{let n,{src:r,size:o=80,xDescriptors:a=[1,2],...i}=e,l=(n=r,!!eY.some(e=>null==n?void 0:n.includes(e)));return(0,u.Y)(E,{srcSet:l?(e=>{let{src:t,width:n,xDescriptors:r}=e;return t?r.map(e=>"".concat(eR({src:t,width:n*e})," ").concat(e,"x")).toString():""})({src:r,width:o,xDescriptors:a}):void 0,src:l?eR({src:r,width:2*o}):r,...i,ref:t})}),o=E.displayName||E.name||"Component",r.displayName="Responsive".concat(o).replace("_",""),r))),eK=(0,eI.H)(eE(T.F)),eV=(0,eI.H)(eE(e=>{let{variant:t,...n}=e,r={warning:F.A,danger:F.A,primary:L.A,info:L.A}[t];return(0,u.Y)(r,{...B(n),css:M(e)})})),eG=(0,eI.H)(eE(O.pd),{defaultDescriptor:v.$z.input}),eZ=(0,eI.H)(eE(O.EP),{defaultDescriptor:v.$z.input}),eq=(0,eI.H)(eE(O.Oc),{defaultDescriptor:v.$z.checkbox}),eX=(0,eI.H)(eE(O.AT),{defaultDescriptor:v.$z.radio}),eJ=(0,eI.H)((0,s.d)(eE(e=>{let{id:t}=(0,j.Wd)(),{isRequired:n,htmlFor:r,...o}=e;return(0,u.Y)("label",{...(0,x.k)(o),htmlFor:null!=r?r:t,css:W(e),children:e.children})}))),eQ=(0,eI.H)((0,s.d)(eE(V))),e0=(0,eI.H)((0,s.d)(eE(X))),e1=(0,eI.H)((0,s.d)(eE(J))),e2=(0,eI.H)((0,s.d)(eE(Q))),e5=(0,eI.H)(eE(ee)),e4=(0,eI.H)(eE(e=>{let{icon:t,...n}=e;return(0,u.Y)(t,{...en(n),css:et(e)})})),e6=(0,eI.H)(eE(er.y)),e3=(0,eI.H)((0,s.d)(eE(e=>(0,u.Y)(d.s,{...ei(e),center:!0,as:"span",css:ea(e),"data-color":e.colorScheme||"primary"}))),{defaultDescriptor:v.$z.badge}),e8=(0,eI.H)((0,s.d)(eE(e=>(0,u.Y)(d.s,{...ec(e),center:!0,as:"span",css:[es(e),{lineHeight:0}]}))),{defaultDescriptor:v.$z.notificationBadge}),e7=(0,eI.H)(eE(ep),{defaultDescriptor:v.$z.table}),e9=(0,eI.H)(eE(em),{defaultDescriptor:v.$z.tableHead}),te=(0,eI.H)(eE(eh),{defaultDescriptor:v.$z.tableBody}),tt=(0,eI.H)(eE(ef),{defaultDescriptor:v.$z.tableRow}),tn=(0,eI.H)((0,s.d)(eE(ey)),{defaultDescriptor:v.$z.tableHeaderCell}),tr=(0,eI.H)((0,s.d)(eE(e_)),{defaultDescriptor:v.$z.tableBodyCell}),to=(0,eI.H)((0,s.d)(eE(eS))),ta=(0,eI.H)((0,s.d)(eE(ek))),ti=(0,eI.H)((0,s.d)(eE(e$))),tl=(0,eI.H)((0,s.d)(eE(eC)));(0,eI.H)(eE(ez))},17436:function(e,t,n){n.d(t,{H:()=>l}),n(88711),n(19161),n(95055),n(65999),n(22501),n(58910);var r=n(14518),o=n(35074),a=n(16580),i=n(57298);let l=(e,t)=>{let{defaultStyles:n,defaultDescriptor:l}=t||{},s=o.forwardRef((t,o)=>{let{elementDescriptor:s,elementId:c,sx:d,className:u,...p}=t,{parsedElements:m}=(0,a.K)(),h=[l,...Array.isArray(s)?s:[s]].filter(e=>e);if(!h.length)return(0,r.Y)(e,{css:d,...p,className:u,ref:o});let f=(0,i.Pl)(m,h,c,t),g=(0,i.sL)(f.className,u);return f.css.unshift(n,d),(0,r.Y)(e,{elementId:c,css:f.css,className:g,...p,ref:o})}),c=e.displayName||e.name||"Component";return s.displayName="Customizable".concat(c).replace("_",""),s}},92513:function(e,t,n){n.d(t,{D5:()=>s,jG:()=>d}),n(88711);var r=n(14518),o=n(21210),a=n(35074),i=n(30579);let[l,s,c]=(0,o.e3)("ActionContext"),d=e=>{let{animate:t=!0,children:n,value:o,onChange:s}=e,[c,d]=(0,a.useState)(null),u=(0,a.useCallback)(()=>{s?s(null):d(null)},[s]),p=(0,a.useCallback)(e=>{s?s(e):d(e)},[s]),m=(0,r.Y)(l.Provider,{value:{value:{active:void 0!==o?o:c,open:p,close:u}},children:n});return t?(0,r.Y)(i.k,{children:m}):m}},93453:function(e,t,n){n.d(t,{r:()=>c});var r=n(14518),o=n(18272),a=n(58920);n(30945);var i=n(92513),l=n(35074);let s=l.forwardRef((e,t)=>(0,r.Y)("div",{ref:t,...e}));n(98114);let c={Root:i.jG,Card:e=>{let{children:t,sx:n,variant:i="neutral",...l}=e;return(0,r.Y)(o.fv,{elementDescriptor:a.$z.actionCard,sx:[e=>({gap:e.space.$4,borderRadius:e.radii.$lg,padding:"".concat(e.space.$4," ").concat(e.space.$5),borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,...{neutral:{backgroundColor:e.colors.$colorBackground},destructive:{backgroundColor:e.colors.$neutralAlpha50}}[i]}),n],...l,children:t})},Trigger:e=>{let{children:t,value:n,hideOnActive:r=!0}=e,{active:o,open:a}=(0,i.D5)(),s=l.Children.only(t);if(!(0,l.isValidElement)(s))throw Error("Children of ActionTrigger must be a valid element");return r&&o===n?null:(0,l.cloneElement)(s,{onClick:async()=>{var e,t;await (null==(e=(t=s.props).onClick)?void 0:e.call(t)),a(n)}})},Open:e=>{let{children:t,value:n}=e,{active:o}=(0,i.D5)(),a=(0,l.useRef)(null);return((0,l.useEffect)(()=>{let e=a.current,t=new MutationObserver(()=>{t.disconnect(),e&&setTimeout(()=>{e.scrollIntoView({behavior:"smooth",block:"center"})},300)});return o===n&&e&&t.observe(e,{childList:!0,subtree:!0,attributes:!0}),()=>t.disconnect()},[o,n]),o!==n)?null:(0,r.Y)(s,{ref:a,children:t})},Closed:e=>{let{children:t,value:n}=e,r=Array.isArray(n)?n:[n],{active:o}=(0,i.D5)();return o&&r.includes(o)?null:t}}},62531:function(e,t,n){n.d(t,{En:()=>c,K5:()=>u,Rh:()=>d,rc:()=>p});var r=n(14518);n(35074);var o=n(18272),a=n(10078),i=n(58920),l=n(63269),s=n(84901);let c=e=>{let{sx:t,...n}=e;return(0,r.Y)(o.fv,{sx:[e=>({"> button,div":{border:"0 solid ".concat(e.colors.$borderAlpha100)},">:not([hidden],:empty)~:not([hidden],:empty)":{borderTopWidth:"1px",borderBottomWidth:"0"}}),t],...n})},d=e=>(0,r.Y)(o.fv,{...e}),u=e=>{let{sx:t,iconBoxSx:n,iconSx:o,...a}=e;return(0,r.Y)(p,{size:"xs",variant:"outline",textVariant:"buttonSmall",sx:[e=>({borderRadius:e.radii.$lg,gap:e.space.$0x5,justifyContent:"center",flex:"1 1 0",padding:"".concat(e.space.$1," ").concat(e.space.$1x5)}),t],iconSx:[e=>({width:e.sizes.$4,height:e.sizes.$4}),o],iconBoxSx:[{flex:"unset"},n],...a})},p=e=>{let t=(0,l.f0)(),n=(0,s.m)(),{t:c}=(0,a._)(),{icon:d,label:u,onClick:p,iconElementDescriptor:m,sx:h,iconElementId:f,iconSx:g,iconBoxElementDescriptor:v,iconBoxElementId:b,iconBoxSx:y,trailing:w,spinnerSize:x,..._}=e,S=async e=>{t.setLoading(),n.setLoading();try{await (null==p?void 0:p(e))}finally{t.setIdle(),n.setIdle()}};return(0,r.FD)(o.$n,{size:"md",variant:"ghost",colorScheme:"neutral",textVariant:"buttonLarge",hoverAsFocus:!0,focusRing:!1,sx:[e=>({flex:"1",borderRadius:0,gap:e.space.$4,justifyContent:"flex-start"}),h],isDisabled:t.isLoading,onClick:S,role:"menuitem",..._,children:[(0,r.Y)(o.so,{elementDescriptor:v,elementId:b,justify:"center",as:"span",sx:[e=>({flex:"0 0 ".concat(e.sizes.$9),gap:e.space.$2,alignItems:"center"}),y],children:n.isLoading?(0,r.Y)(o.y$,{size:x||"xs",elementDescriptor:i.$z.spinner,sx:e=>({marginRight:e.space.$1})}):(0,r.Y)(o.In,{elementDescriptor:m,elementId:f,icon:d,sx:[e=>({width:e.sizes.$4,height:"auto",maxWidth:"100%"}),g]})}),u?c(u):null,w]})}},78036:function(e,t,n){n.d(t,{F:()=>i});var r=n(14518),o=n(18272),a=n(58920);let i=e=>{let{children:t,title:n,subtitle:i,variant:l="warning",...s}=e;return t||n||i?(0,r.FD)(o.Fc,{elementDescriptor:a.$z.alert,elementId:a.$z.alert.setId(l),colorScheme:l,align:"start",...s,sx:[s.sx],children:[(0,r.Y)(o._0,{elementId:a.$z.alert.setId(l),elementDescriptor:a.$z.alertIcon,variant:l,colorScheme:l,sx:{flexShrink:"0"}}),(0,r.FD)(o.fv,{elementDescriptor:a.$z.alertTextContainer,elementId:a.$z.alertTextContainer.setId(l),gap:1,children:[(0,r.Y)(o.EY,{elementDescriptor:a.$z.alertText,elementId:a.$z.alert.setId(l),colorScheme:"danger"===l?"danger":"warning"===l?"warning":"secondary",variant:"body",localizationKey:n,sx:{textAlign:"left"},children:t}),i&&(0,r.Y)(o.EY,{elementDescriptor:a.$z.alertText,elementId:a.$z.alert.setId(l),colorScheme:"danger"===l?"danger":"secondary",variant:"body",localizationKey:i})]})]}):null}},30579:function(e,t,n){n.d(t,{k:()=>l}),n(88711);var r=n(14518),o=n(21035),a=n(35074),i=n(16580);let l=e=>{let{children:t,asChild:n}=e,{animations:l}=(0,i.K)().parsedOptions,[s]=(0,o.Q)();return n?(0,a.cloneElement)(t,{ref:l?s:null}):(0,r.Y)("div",{ref:l?s:null,children:t})}},22037:function(e,t,n){n.d(t,{G:()=>u}),n(88711);var r=n(14518),o=n(35074),a=n(97697),i=n(16580),l=n(18272),s=n(58920),c=n(63707),d=n(44387);let u=e=>{let{src:t,alt:n,href:u,isExternal:p,sx:m,...h}=e,f=o.useRef(null),[g,v]=o.useState(!1),{logoImageUrl:b,applicationName:y,homeUrl:w}=(0,a.O)().displayConfig,{parsedOptions:x}=(0,i.K)(),_=t||x.logoImageUrl||b,S=u||x.logoLinkUrl||w;if(!_)return null;let k=(0,r.Y)(l._V,{ref:f,elementDescriptor:s.$z.logoImage,alt:n||y,src:_,size:200,onLoad:()=>v(!0),sx:{display:g?"inline-block":"none",height:"100%",width:"100%",objectFit:"contain"}});return(0,r.Y)(l.so,{elementDescriptor:s.$z.logoBox,...h,sx:[e=>({height:((e,t)=>{if(!e.current)return"calc(".concat(t," * 2)");let n=e.current.naturalWidth/e.current.naturalHeight;return n<=1?"calc(".concat(t," * 2)"):n>1&&n<=2?"calc((".concat(t," * 2) / ").concat(n,")"):t})(f,e.sizes.$6),justifyContent:"center"}),m],children:S?p?(0,r.Y)(c.N,{focusRing:!0,href:S,isExternal:!0,children:k}):(0,r.Y)(d.W,{focusRing:!0,to:S,children:k}):k})}},38738:function(e,t,n){n.d(t,{X:()=>l});var r=n(14518),o=n(35074),a=n(18272),i=n(92067);let l=o.forwardRef((e,t)=>{let{rightIcon:n=i.A,rightIconSx:l,leftIcon:s,leftIconSx:c,leftIconElementId:d,leftIconElementDescriptor:u,isLoading:p,children:m,textElementDescriptor:h,textElementId:f,spinnerElementDescriptor:g,spinnerElementId:v,arrowElementDescriptor:b,arrowElementId:y,textLocalizationKey:w,childrenSx:x,badge:_,textVariant:S="buttonSmall",...k}=e,$=(0,o.isValidElement)(s);return(0,r.FD)(a.dF,{variant:"outline",block:!0,isLoading:p,...k,ref:t,sx:t=>[{gap:t.space.$2,position:"relative",justifyContent:"center",borderColor:t.colors.$neutralAlpha100,alignItems:"center",padding:"".concat(t.space.$1x5," ").concat(t.space.$3," ").concat(t.space.$1x5," ").concat(t.space.$2x5),"--arrow-opacity":"0","--arrow-transform":"translateX(-".concat(t.space.$2,");"),"&:hover,&:focus ":{"--arrow-opacity":"0.5","--arrow-transform":"translateX(0px);"}},e.sx],children:[(p||s)&&(0,r.Y)(a.so,{as:"span",sx:e=>({width:e.space.$4,height:e.space.$4,flex:"none",alignItems:"center"}),children:p?(0,r.Y)(a.y$,{elementDescriptor:g,elementId:v,size:"md"}):!$&&s?(0,r.Y)(a.In,{elementDescriptor:u,elementId:d,icon:s,sx:[e=>({width:e.sizes.$4,transform:"translateZ(0)"}),c]}):s}),(0,r.FD)(a.so,{gap:2,as:"span",sx:[{overflow:"hidden"},x],children:[(0,r.Y)(a.EY,{elementDescriptor:h,elementId:f,as:"span",truncate:!0,variant:S,localizationKey:w,children:m}),_]}),n&&(0,r.Y)(a.In,{elementDescriptor:b,elementId:y,icon:n,sx:[e=>({transition:"all 100ms ease",minWidth:e.sizes.$4,minHeight:e.sizes.$4,width:"1em",height:"1em",opacity:"var(--arrow-opacity)",transform:"var(--arrow-transform)"}),l]})]})})},66195:function(e,t,n){n.d(t,{e:()=>s}),n(88711);var r=n(14518),o=n(35074),a=n(18272),i=n(58920),l=n(41464);let s=e=>{let{size:t=()=>26,title:n,initials:l,imageUrl:s,rounded:d=!0,imageFetchSize:u=80,sx:p,boxElementDescriptor:m,imageElementDescriptor:h}=e,[f,g]=o.useState(!1),v=l&&(!s||f)?(0,r.Y)(c,{initials:l}):(0,r.Y)(a._V,{elementDescriptor:[h,i.$z.avatarImage],title:n,alt:"".concat(n,"'s logo"),src:s||"",sx:{objectFit:"cover",width:"100%",height:"100%"},onError:()=>g(!0),size:u});return(0,r.FD)(a.so,{as:"span",elementDescriptor:[m,i.$z.avatarBox],sx:[e=>({flexShrink:0,borderRadius:d?e.radii.$circle:e.radii.$avatar,overflow:"hidden",width:t(e),height:t(e),backgroundColor:e.colors.$avatarBackground,backgroundClip:"padding-box",position:"relative"}),p],children:[v,(0,r.Y)(a.az,{as:"span",sx:e=>({overflow:"hidden",background:e.colors.$colorShimmer,position:"absolute",width:"25%",height:"100%",transition:"all ".concat(e.transitionDuration.$slow," ").concat(e.transitionTiming.$easeOut),transform:"var(--cl-shimmer-hover-transform, skewX(-45deg) translateX(-300%))",":after":{display:"block",boxSizing:"border-box",content:"''",position:"absolute",width:"400%",height:"100%",transform:"var(--cl-shimmer-hover-after-transform, skewX(45deg) translateX(75%))",transition:"all ".concat(e.transitionDuration.$slow," ").concat(e.transitionTiming.$easeOut),borderWidth:e.borderWidths.$heavy,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$colorShimmer,borderRadius:d?e.radii.$circle:e.radii.$avatar}})})]})},c=e=>{let t=e.initials;return(0,r.Y)(a.EY,{as:"span",sx:e=>({...l.s.centeredFlex("inline-flex"),width:"100%",color:e.colors.$colorForeground}),children:t})}},63817:function(e,t,n){n.d(t,{k:()=>p}),n(50036),n(30945),n(88711);var r=n(14518),o=n(35074),a=n(10078),i=n(22861),l=n(18272),s=n(58920),c=n(4468),d=n(63269);let u=Object.freeze(["image/png","image/jpeg","image/gif","image/webp"]),p=e=>{let{t}=(0,a._)(),[n,p]=o.useState(!1),[m,h]=o.useState(),f=(0,d.f0)(),g=o.useRef(null),v=()=>{var e;return null==(e=g.current)?void 0:e.click()},{onAvatarChange:b,onAvatarRemove:y,title:w,avatarPreview:x,avatarPreviewPlaceholder:_,...S}=e,k=e=>null===e?h(""):(new Promise((t,n)=>{let r=new FileReader;r.readAsDataURL(e),r.onload=()=>t(r.result),r.onerror=e=>n(e)}).then(h),f.setLoading(),b(e).then(()=>{p(!n),f.setIdle()}).catch(e=>(0,c.H4)(e,[],f.setError))),$=async()=>(f.setLoading(),await k(null),null==y?void 0:y()),C=async e=>{if(e){if(!u.includes(e.type))return void f.setError(t((0,i.G)("unstable__errors.avatar_file_type_invalid")));if(!(e.size<=1e7))return void f.setError(t((0,i.G)("unstable__errors.avatar_file_size_exceeded")));await k(e)}},P=m?o.cloneElement(x,{imageUrl:m}):_?o.cloneElement(_,{onClick:v}):x;return(0,r.FD)(l.fv,{gap:4,children:[(0,r.Y)("input",{type:"file",accept:u.join(","),style:{display:"none"},ref:g,onChange:e=>{var t;return C(null==(t=e.currentTarget.files)?void 0:t[0])}}),(0,r.FD)(l.so,{gap:4,align:"center",...S,children:[P,(0,r.FD)(l.fv,{gap:1,children:[(0,r.FD)(l.so,{elementDescriptor:s.$z.avatarImageActions,gap:2,children:[(0,r.Y)(l.dF,{elementDescriptor:s.$z.avatarImageActionsUpload,localizationKey:(0,i.G)("userProfile.profilePage.imageFormSubtitle"),isDisabled:f.isLoading,variant:"outline",size:"xs",onClick:v}),!!y&&!n&&(0,r.Y)(l.$n,{elementDescriptor:s.$z.avatarImageActionsRemove,localizationKey:(0,i.G)("userProfile.profilePage.imageFormDestructiveActionSubtitle"),isDisabled:f.isLoading,sx:e=>({color:e.colors.$danger500}),variant:"ghost",colorScheme:"danger",onClick:$,size:"xs"})]}),(0,r.Y)(l.EY,{colorScheme:"secondary",sx:e=>({fontSize:e.fontSizes.$sm}),localizationKey:(0,i.G)("userProfile.profilePage.fileDropAreaHint")})]})]})]})}},29:function(e,t,n){n.d(t,{E:()=>l});var r=n(14518),o=n(18272),a=n(22861),i=n(44387);let l=e=>{let{boxElementDescriptor:t,linkElementDescriptor:n,...l}=e;return(0,r.Y)(o.so,{elementDescriptor:t,sx:e=>({margin:"".concat(e.space.$none," auto")}),children:(0,r.Y)(i.W,{...l,children:(0,r.Y)(o.EY,{localizationKey:(0,a.G)("backButton"),elementDescriptor:n,variant:"body"})})})}},98975:function(e,t,n){n.d(t,{j:()=>s});var r=n(14518),o=n(18272),a=n(58920),i=n(22861),l=n(41464);let s=e=>{let{sx:t,overlay:n,...s}=e;return(0,r.Y)(o.L9,{...s,elementDescriptor:a.$z.lastAuthenticationStrategyBadge,localizationKey:(0,i.G)("lastAuthenticationStrategy"),sx:[e=>({...l.s.textVariants(e).caption,background:"linear-gradient(".concat(e.colors.$borderAlpha25,", transparent), ").concat(e.colors.$colorBackground),border:"".concat(e.space.$px," solid ").concat(e.colors.$borderAlpha150),borderRadius:e.radii.$lg,color:e.colors.$colorMutedForeground,height:e.space.$4x5,paddingInline:e.space.$1x5,whiteSpace:"nowrap",boxShadow:"0 0 0 1px ".concat(e.colors.$colorBackground),...n&&{position:"absolute",right:-1,top:-1,transform:"translate(".concat(e.space.$2x5,", calc(-50% - ").concat(e.space.$0x5,"))"),pointerEvents:"none"}}),t]})}},6142:function(e,t,n){n.d(t,{j:()=>c}),n(19161),n(41730);var r=n(14518),o=n(22166),a=n(35074),i=n(16580),l=n(10078),s=n(18272);let c=()=>{let e=(0,a.useRef)(null),t=(0,a.useRef)("0"),n=(0,a.useRef)("unset"),c=(0,a.useRef)("unset"),{parsedCaptcha:d}=(0,i.K)(),{locale:u}=(0,l._)(),p=null==d?void 0:d.theme,m=null==d?void 0:d.size,h=(null==d?void 0:d.language)||(null==u?void 0:u.toLowerCase());return(0,a.useEffect)(()=>{if(!e.current)return;let r=new MutationObserver(r=>{r.forEach(r=>{let o=r.target;"attributes"===r.type&&"style"===r.attributeName&&e.current&&(t.current=o.style.maxHeight||"0",n.current=o.style.minHeight||"unset",c.current=o.style.marginBottom||"unset")})});return r.observe(e.current,{attributes:!0,attributeFilter:["style"]}),()=>r.disconnect()},[]),(0,r.Y)(s.az,{ref:e,id:o.t,style:{display:"block",alignSelf:"center",maxHeight:t.current,minHeight:n.current,marginBottom:c.current},"data-cl-theme":p,"data-cl-size":m,"data-cl-language":h})}},54523:function(e,t,n){n.d(t,{v:()=>l});var r=n(14518),o=n(35074),a=n(44374),i=n(78036);let l=o.memo(e=>(0,r.Y)(i.F,{variant:"danger",sx:e=>({animation:"".concat(a.W.textInBig," ").concat(e.transitionDuration.$slow)}),...e}))},23707:function(e,t,n){n.d(t,{Z:()=>T});var r,o,a,i,l=n(14518),s=n(35074),c=n(18272),d=n(58920),u=n(44387),p=n(54523),m=n(97697),h=n(180);function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let g=function(e){return s.createElement("svg",f({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 14"},e),r||(r=s.createElement("ellipse",{cx:7.889,cy:7,rx:2.187,ry:2.188,fill:"currentColor"})),o||(o=s.createElement("path",{d:"M11.83 12.18a.415.415 0 0 1-.05.64A6.967 6.967 0 0 1 7.888 14a6.967 6.967 0 0 1-3.891-1.18.415.415 0 0 1-.051-.64l1.598-1.6a.473.473 0 0 1 .55-.074 3.92 3.92 0 0 0 1.794.431 3.92 3.92 0 0 0 1.792-.43.473.473 0 0 1 .551.074l1.599 1.598Z",fill:"currentColor"})),a||(a=s.createElement("path",{opacity:.5,d:"M11.78 1.18a.415.415 0 0 1 .05.64l-1.598 1.6a.473.473 0 0 1-.55.073 3.937 3.937 0 0 0-5.3 5.3.473.473 0 0 1-.074.55L2.71 10.942a.415.415 0 0 1-.641-.051 7 7 0 0 1 9.71-9.71Z",fill:"currentColor"})),i||(i=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.748 1.422c0-.06.05-.11.11-.11h1.64c.06 0 .11.05.11.11v11.156a.11.11 0 0 1-.11.11h-1.64a.11.11 0 0 1-.11-.11V1.422Zm-2.315 8.9a.112.112 0 0 0-.15.004 2.88 2.88 0 0 1-.884.569c-.36.148-.747.222-1.137.219-.33.01-.658-.047-.965-.166a2.422 2.422 0 0 1-.817-.527c-.424-.432-.668-1.05-.668-1.785 0-1.473.98-2.48 2.45-2.48.394-.005.785.074 1.144.234.325.144.617.35.86.607.04.044.11.049.155.01l1.108-.959a.107.107 0 0 0 .01-.152c-.832-.93-2.138-1.412-3.379-1.412-2.499 0-4.27 1.686-4.27 4.166 0 1.227.44 2.26 1.182 2.99.743.728 1.801 1.157 3.022 1.157 1.53 0 2.763-.587 3.485-1.34a.107.107 0 0 0-.009-.155l-1.137-.98Zm13.212-1.14a.108.108 0 0 1-.107.096H28.79a.106.106 0 0 0-.104.132c.286 1.06 1.138 1.701 2.302 1.701a2.59 2.59 0 0 0 1.136-.236 2.55 2.55 0 0 0 .862-.645.08.08 0 0 1 .112-.01l1.155 1.006c.044.039.05.105.013.15-.698.823-1.828 1.42-3.38 1.42-2.386 0-4.185-1.651-4.185-4.162 0-1.232.424-2.264 1.13-2.994.373-.375.82-.67 1.314-.87a3.968 3.968 0 0 1 1.557-.285c2.419 0 3.983 1.701 3.983 4.05a6.737 6.737 0 0 1-.04.647Zm-5.924-1.524a.104.104 0 0 0 .103.133h3.821c.07 0 .123-.066.103-.134-.26-.901-.921-1.503-1.947-1.503a2.13 2.13 0 0 0-.88.16 2.1 2.1 0 0 0-.733.507 2.242 2.242 0 0 0-.467.837Zm11.651-3.172c.061-.001.11.048.11.109v1.837a.11.11 0 0 1-.117.109 7.17 7.17 0 0 0-.455-.024c-1.43 0-2.27 1.007-2.27 2.329v3.732a.11.11 0 0 1-.11.11h-1.64a.11.11 0 0 1-.11-.11v-7.87c0-.06.049-.109.11-.109h1.64c.06 0 .11.05.11.11v1.104a.011.011 0 0 0 .02.007c.64-.857 1.587-1.333 2.587-1.333l.125-.001Zm4.444 4.81a.035.035 0 0 1 .056.006l2.075 3.334a.11.11 0 0 0 .093.052h1.865a.11.11 0 0 0 .093-.168L46.152 7.93a.11.11 0 0 1 .012-.131l2.742-3.026a.11.11 0 0 0-.081-.183h-1.946a.11.11 0 0 0-.08.036l-3.173 3.458a.11.11 0 0 1-.19-.074V1.422a.11.11 0 0 0-.11-.11h-1.64a.11.11 0 0 0-.11.11v11.156c0 .06.05.11.11.11h1.64a.11.11 0 0 0 .11-.11v-1.755a.11.11 0 0 1 .03-.075l1.35-1.452Z",fill:"currentColor"})))};var v=n(90846);let b=s.memo(s.forwardRef((e,t)=>{let{sx:n,outerSx:r,withFooterPages:o=!1,withDevOverlay:a=!1,devModeNoticeSx:i,...s}=e,{displayConfig:d}=(0,m.O)(),{showDevModeNotice:u}=(0,h.Q)();return d.branded||o||u?(0,l.FD)(c.az,{sx:[{width:"100%",position:"relative",isolation:"isolate"},r],children:[a&&(0,l.Y)(v.$,{gradient:0}),(0,l.FD)(c.fv,{sx:e=>({gap:d.branded||o?e.space.$2:0,marginLeft:"auto",marginRight:"auto",width:"100%",justifyContent:"center",alignItems:"center",zIndex:1,position:"relative"}),children:[(d.branded||o)&&(0,l.FD)(c.so,{sx:[{":has(div:only-child)":{justifyContent:"center"},justifyContent:"space-between",width:"100%"},n],...s,ref:t,children:[d.branded&&(0,l.Y)(c.so,{gap:1,align:"center",justify:"center",sx:e=>({color:e.colors.$colorMutedForeground}),children:(0,l.FD)(l.FK,{children:[(0,l.Y)(c.EY,{variant:"buttonSmall",children:"Secured by"}),(0,l.Y)(y,{})]})}),o&&(0,l.Y)(T.FooterLinks,{})]}),(0,l.Y)(v.t,{sx:i})]})]}):null})),y=()=>(0,l.Y)(c.N_,{href:"https://go.clerk.com/components",colorScheme:"inherit",isExternal:!0,"aria-label":"Clerk logo",children:(0,l.Y)(c.In,{icon:g,sx:e=>({width:e.sizes.$12,height:e.sizes.$3x5})})});var w=n(10078),x=n(57298),_=n(22861),S=n(5057),k=n(63269),$=n(50155),C=n(86705);let P=s.forwardRef((e,t)=>{let{children:n,sx:r,...o}=e,a=(0,k.PB)(),{toggle:i}=(0,C.Y)(),{maintenanceMode:s}=(0,m.O)(),u=(0,k.f0)(),{t:h}=(0,w._)();return(0,l.FD)(c.so,{direction:"col",className:(0,x.y9)(a),elementDescriptor:d.$z.card,sx:[e=>({backgroundColor:e.colors.$colorBackground,transitionProperty:e.transitionProperty.$common,transitionDuration:"200ms",textAlign:"center",zIndex:e.zIndices.$card,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,borderRadius:e.radii.$lg,position:"relative",padding:"".concat(e.space.$8," ").concat(e.space.$10),justifyContent:"center",alignContent:"center",marginBlockStart:"-1px",marginInline:"-1px"}),r],gap:8,ref:t,...o,children:[i&&(0,l.Y)($.K,{elementDescriptor:d.$z.modalCloseButton,variant:"ghost","aria-label":"Close modal",onClick:i,icon:(0,l.Y)(c.In,{icon:S.A,size:"xs"}),sx:e=>({color:e.colors.$colorMutedForeground,zIndex:e.zIndices.$modal,position:"absolute",top:e.space.$2,right:e.space.$2,padding:e.space.$3})}),s&&!u.error&&(0,l.Y)(p.v,{variant:"warning",children:h((0,_.G)("maintenanceMode"))}),n]})});var A=n(16580),z=n(41464),I=n(37591);let D=s.forwardRef((e,t)=>{let{children:n,isProfileFooter:r=!1,sx:o,...a}=e,{displayConfig:i}=(0,m.O)(),{branded:s}=i,{showDevModeNotice:u}=(0,h.Q)(),{helpPageUrl:p,privacyPageUrl:f,termsPageUrl:g}=(0,A.K)().parsedOptions,v=r?s:!!(s||p||f||g);return n||v||u?(0,l.FD)(c.so,{direction:"col",align:"center",justify:"center",elementDescriptor:d.$z.footer,sx:[e=>({marginTop:"calc(".concat(e.space.$2," * -1)"),paddingTop:e.space.$2,background:z.s.mutedBackground(e),"&:empty":{padding:0,marginTop:0}}),!r&&(e=>({">:first-of-type":{padding:"".concat(e.space.$4," ").concat(e.space.$8," ").concat(e.space.$4," ").concat(e.space.$8)},">:not(:first-of-type)":{padding:"".concat(e.space.$4," ").concat(e.space.$8),borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100}})),o],...a,ref:t,children:[n,(0,l.Y)(T.ClerkAndPagesTag,{withFooterPages:v&&!r,devModeNoticeSx:e=>({padding:e.space.$none}),outerSx:r?e=>({padding:"".concat(e.space.$4," ").concat(e.space.$8)}):void 0,withDevOverlay:!0})]}):null}),Y=e=>(0,l.Y)(c.N_,{elementDescriptor:d.$z.footerPagesLink,...e,colorScheme:"neutral",variant:"buttonSmall"}),R=s.memo(()=>{let{helpPageUrl:e,privacyPageUrl:t,termsPageUrl:n}=(0,A.K)().parsedOptions;return e||t||n?(0,l.FD)(c.so,{elementDescriptor:d.$z.footerPages,justify:"between",sx:e=>({gap:e.space.$3,[I.g.sm]:{gap:e.space.$2}}),children:[e&&(0,l.Y)(Y,{localizationKey:(0,_.G)("footerPageLink__help"),elementId:d.$z.footerPagesLink.setId("help"),isExternal:!0,href:e}),t&&(0,l.Y)(Y,{localizationKey:(0,_.G)("footerPageLink__privacy"),elementId:d.$z.footerPagesLink.setId("privacy"),isExternal:!0,href:t}),n&&(0,l.Y)(Y,{localizationKey:(0,_.G)("footerPageLink__terms"),elementId:d.$z.footerPagesLink.setId("terms"),isExternal:!0,href:n})]}):null});var E=n(22037);let T={Root:s.forwardRef((e,t)=>{let{sx:n,children:r,...o}=e,a=(0,A.K)(),i=(0,k.PB)();return(0,l.FD)(l.FK,{children:["outside"===a.parsedOptions.logoPlacement&&(0,l.Y)(E.G,{sx:e=>({position:"relative",[I.g.sm]:{margin:"0 0 ".concat(e.space.$7," 0")}})}),(0,l.Y)(c.fv,{elementDescriptor:[d.$z.cardBox,e.elementDescriptor],className:(0,x.y9)(i),ref:t,sx:[e=>({isolation:"isolate",maxWidth:"calc(100vw - ".concat(e.sizes.$10,")"),width:e.sizes.$100,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,borderRadius:e.radii.$xl,color:e.colors.$colorForeground,position:"relative",overflow:"hidden"}),n],...o,children:r})]})}),Content:P,Footer:D,Alert:p.v,Action:e=>{let{elementId:t,sx:n,...r}=e;return(0,l.Y)(c.so,{elementDescriptor:d.$z.footerAction,elementId:d.$z.footerAction.setId(t),...r,gap:1,sx:[e=>({margin:"".concat(e.space.$none," auto")}),n]})},ActionLink:e=>(0,l.Y)(u.W,{elementDescriptor:d.$z.footerActionLink,...e,colorScheme:"primary",variant:"buttonLarge"}),ActionText:e=>(0,l.Y)(c.EY,{elementDescriptor:d.$z.footerActionText,...e,as:"span",variant:"body",colorScheme:"secondary"}),FooterLinks:R,ClerkAndPagesTag:b}},95559:function(e,t,n){n.d(t,{r:()=>m});var r,o,a=n(14518),i=n(18272),l=n(58920),s=n(27782),c=n(35074);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let u=function(e){return c.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 16"},e),r||(r=c.createElement("path",{fill:"currentColor",d:"M4 1c0-.6.4-1 1-1h2a1 1 0 0 1 0 2H5a1 1 0 0 1-1-1Z"})),o||(o=c.createElement("path",{fill:"currentColor",d:"M2 1a2 2 0 0 0-2 2v11c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2 3 3 0 0 1-3 3H5a3 3 0 0 1-3-3Z"})))};var p=n(67358);let m=e=>{let{id:t,value:n,copyIcon:r=u,copiedIcon:o=p.A,sx:c,...d}=e,{onCopy:m,hasCopied:h}=(0,s.i)(n);return(0,a.FD)(i.so,{direction:"col",justify:"center",sx:[{position:"relative"},c],children:[(0,a.Y)(i.pd,{...d,value:n,isDisabled:!0,sx:e=>({paddingRight:e.space.$8})}),(0,a.Y)(i.$n,{elementDescriptor:l.$z.formFieldInputCopyToClipboardButton,variant:"ghost",onClick:m,sx:{position:"absolute",right:0},children:(0,a.Y)(i.In,{elementDescriptor:l.$z.formFieldInputCopyToClipboardIcon,icon:h?o:r,size:"sm"})})]})}},63356:function(e,t,n){n.d(t,{Ro:()=>_,iG:()=>S,oA:()=>x,xM:()=>v}),n(88711),n(22501),n(19161),n(95055),n(22239);var r=n(14518),o=n(21210),a=n(88878),i=n(35074),l=n(58920),s=n(18272),c=n(63269),d=n(84901),u=n(41464),p=n(37591),m=n(4468),h=n(6735),f=n(8640),g=n(81829);let v=e=>{let t=(0,c.f0)(),{id:n="code",onCodeEntryFinished:r,onResendCodeClicked:o,onResolve:a}=e,l=(0,f.tJ)(n,""),s=b(l),u=(0,d.m)(),p=async e=>{l.setSuccess("success"),await (0,h.y)(750),await (null==a?void 0:a(e))},g=async e=>{(0,m.H4)(e,[l],t.setError),u.setIdle(),await (0,h.y)(750),s.reset()};s.onCodeEntryFinished(e=>{u.setLoading(),l.clearFeedback(),r(e,p,g)});let v=(0,i.useCallback)(e=>{s.reset(),null==o||o(e)},[s,o]);return{isLoading:u.isLoading,otpControl:s,onResendCode:o?v:void 0,onFakeContinue:()=>{l.clearFeedback(),r("",p,g)}}},b=(e,t)=>{let n=i.useRef(),r=e.value,{feedback:o,feedbackType:a,onChange:l,clearFeedback:s}=e,{length:c=6}=t||{},[d,u]=i.useState(()=>r?r.split("").slice(0,c):Array.from({length:c},()=>"")),p=i.useCallback(()=>{u(Array.from({length:c},()=>""))},[c]);return i.useEffect(()=>{if(d.filter(e=>e).length===c){var e;let t=d.map(e=>e||" ").join("");null==(e=n.current)||e.call(n,t)}else{let e=d.join("");null==l||l({target:{value:e}})}},[d.toString()]),{otpInputProps:{length:c,values:d,setValues:u,feedback:o,feedbackType:a,clearFeedback:s},onCodeEntryFinished:e=>{n.current=e},reset:p}},[y,w]=(0,o.e3)("OTPInputContext"),x=e=>{let{children:t,...n}=e;return(0,r.Y)(y.Provider,{value:{value:n},children:t})},_=()=>{let{resendButton:e,onResendCode:t,isLoading:n,otpControl:o}=w();return t?(0,r.Y)(g.M,{elementDescriptor:l.$z.formResendCodeLink,onClick:t,startDisabled:!0,isDisabled:"success"===o.otpInputProps.feedbackType||n,showCounter:"success"!==o.otpInputProps.feedbackType,localizationKey:e}):null},S=()=>{let[e,t]=i.useState(!1),{otpControl:n,isLoading:o,isDisabled:c}=w(),{feedback:d,values:u,setValues:p,feedbackType:m,length:h}=n.otpInputProps;return i.useEffect(()=>{d&&t(!0)},[d]),(0,r.Y)(s.az,{elementDescriptor:l.$z.otpCodeFieldInputContainer,sx:{position:"relative"},children:(0,r.Y)(a.wE,{autoFocus:!0,"aria-label":"Enter verification code","aria-required":!0,maxLength:h,inputMode:"numeric",pattern:a.UO,textAlign:"center",value:u.join(""),onChange:e=>{p(e.split(""))},render:t=>{let{slots:n}=t;return(0,r.Y)(s.so,{align:"center",elementDescriptor:l.$z.otpCodeFieldInputs,gap:2,hasError:"error"===m,isLoading:o,role:"group",children:n.map((t,n)=>(0,r.Y)(k,{elementDescriptor:l.$z.otpCodeFieldInput,isDisabled:c||o||e||"success"===m,hasError:"error"===m,isSuccessfullyFilled:"success"===m,...t},n))})}})})};function k(e){let{isSuccessfullyFilled:t,...n}=e,{char:o,hasFakeCaret:a,isActive:i,placeholderChar:l,...c}=n;return(0,r.FD)(s.$G,{"data-testid":"otp-input-segment",...c,focusRing:i,variant:"default",sx:n=>({textAlign:"center",...u.s.textVariants(n).h2,padding:"".concat(n.space.$0x5," 0"),boxSizing:"border-box",display:"flex",position:"relative",alignItems:"center",justifyContent:"center",height:n.space.$10,width:n.space.$10,color:n.colors.$colorInputForeground,borderWidth:n.borderWidths.$normal,borderRadius:n.radii.$md,...t?{borderColor:n.colors.$success500}:u.s.borderColor(n,e),backgroundColor:"unset",[p.g.sm]:{height:n.space.$8,width:n.space.$8}}),children:[null!==o&&(0,r.Y)("div",{children:o}),a&&(0,r.Y)($,{})]})}function $(){return(0,r.FD)(r.FK,{children:[(0,r.Y)("style",{children:"\n @keyframes caret-blink-animation {\n 0%, 50% {\n opacity: 1;\n }\n 51%, 100% {\n opacity: 0;\n }\n }\n "}),(0,r.Y)(s.so,{align:"center",justify:"center",sx:()=>({animation:"caret-blink-animation 1s infinite",pointerEvents:"none",position:"absolute",inset:0}),children:(0,r.Y)(s.az,{sx:e=>({height:e.space.$4,width:e.space.$px,backgroundColor:e.colors.$colorInputForeground})})})]})}},70374:function(e,t,n){n.d(t,{J2:()=>c,bQ:()=>l}),n(19161),n(22239);var r=n(14518);n(35074);var o=n(18272),a=n(58920),i=n(18819);let l=e=>{let{headers:t,page:n,onPageChange:l,rows:c,isLoading:d,itemCount:u,itemsPerPage:p,pageCount:m,emptyStateLocalizationKey:h}=e,f=u>0?Math.max(0,(n-1)*p)+1:0,g=Math.min(n*p,u);return(0,r.FD)(o.fv,{gap:4,sx:{width:"100%"},children:[(0,r.Y)(o.so,{sx:e=>({overflowX:"auto",padding:e.space.$1}),children:(0,r.FD)(o.XI,{sx:{tableLayout:"fixed"},children:[(0,r.Y)(o.d8,{children:(0,r.Y)(o.Tr,{children:t.map((e,t)=>(0,r.Y)(o.Th,{elementDescriptor:a.$z.tableHead,localizationKey:e,sx:{width:0===t?"auto":"25%"}},t))})}),(0,r.Y)(o.NN,{children:d?(0,r.Y)(o.Tr,{children:(0,r.Y)(o.Td,{colSpan:4,children:(0,r.Y)(o.y$,{colorScheme:"primary",sx:{margin:"auto",display:"block"},elementDescriptor:a.$z.spinner})})}):c.length?c:(0,r.Y)(s,{localizationKey:h},"empty")})]})}),m>1&&(0,r.Y)(i.d,{count:m,page:n,onChange:l,siblingCount:1,rowInfo:{allRowsCount:u,startingRow:f,endingRow:g}})]})},s=e=>(0,r.Y)(o.Tr,{children:(0,r.Y)(o.Td,{colSpan:4,children:(0,r.Y)(o.EY,{localizationKey:e.localizationKey,sx:{margin:"auto",display:"block",width:"fit-content"}})})}),c=e=>(0,r.Y)(o.Tr,{...e,sx:e=>({":hover":{backgroundColor:e.colors.$neutralAlpha50}})})},90846:function(e,t,n){n.d(t,{$:()=>i,t:()=>l});var r=n(14518),o=n(18272),a=n(180);let i=e=>{let{gradient:t=60}=e,{showDevModeNotice:n}=(0,a.Q)();return n?(0,r.Y)(o.az,{sx:e=>({userSelect:"none",pointerEvents:"none",inset:0,position:"absolute",background:"repeating-linear-gradient(-45deg,".concat(e.colors.$warningAlpha100,",").concat(e.colors.$warningAlpha100," 6px,").concat(e.colors.$warningAlpha150," 6px,").concat(e.colors.$warningAlpha150," 12px)"),maskImage:"linear-gradient(transparent ".concat(t,"%, black)")})}):null},l=e=>{let{sx:t}=e,{showDevModeNotice:n}=(0,a.Q)();return n?(0,r.Y)(o.EY,{sx:[e=>({color:e.colors.$warning500,fontWeight:e.fontWeights.$semibold,padding:e.space.$1x5}),t],children:"Development mode"}):null}},66505:function(e,t,n){n.d(t,{G:()=>s,c:()=>l});var r=n(14518),o=n(18272),a=n(58920),i=n(22861);let l=e=>{let{dividerText:t,...n}=e;return(0,r.FD)(o.so,{center:!0,elementDescriptor:a.$z.dividerRow,...n,children:[(0,r.Y)(c,{}),(0,r.Y)(o.EY,{localizationKey:t||(0,i.G)("dividerText"),elementDescriptor:a.$z.dividerText,variant:"body",colorScheme:"secondary",sx:e=>({margin:"0 ".concat(e.space.$4)})}),(0,r.Y)(c,{})]})},s=e=>{let{sx:t,...n}=e;return(0,r.Y)(o.so,{center:!0,direction:"col",elementDescriptor:a.$z.dividerColumn,sx:[e=>({height:e.space.$6}),t],...n,children:(0,r.Y)(c,{vertical:!0})})},c=e=>{let t=(null==e?void 0:e.vertical)?{width:"1px"}:{height:"1px"};return(0,r.Y)(o.so,{elementDescriptor:a.$z.dividerLine,sx:e=>({flex:"1",backgroundColor:e.colors.$borderAlpha100,...t})})}},78532:function(e,t,n){n.d(t,{g:()=>b,Drawer:()=>P}),n(98114);var r=n(14518),o=n(21210),a=n(42119),i=n(35074),l=n(18272),s=n(58920),c=n(16580),d=n(84091),u=n(88792),p=n(60359),m=n(5057),h=n(41464),f=n(14620),g=n(50155);let v=i.createContext(null),b=()=>{let e=i.useContext(v);if(!e)throw Error("Drawer components must be wrapped in <Drawer.Root>");return e},y=i.forwardRef(function(e,t){let{strategy:n}=b(),{disableScrollLock:a,enableScrollLock:i}=(0,u.K)();return(0,o.UQ)(()=>{if("fixed"===n)return i(),()=>{a()}},[n,a,i]),(0,r.Y)(l.az,{ref:t,...e,elementDescriptor:s.$z.drawerBackdrop,sx:[e=>({inset:0,backgroundColor:f.T.setAlpha(e.colors.$colorBackground,.28)}),e.sx]})}),w=i.forwardRef((e,t)=>{let{strategy:n,context:o}=b(),{isMounted:i,styles:l}=(0,a.DL)(o,{initial:{opacity:0},open:{opacity:1},close:{opacity:0},common:{position:n,inset:0,transitionProperty:"opacity",transitionTimingFunction:d._8.bezier},duration:d.wz.drawer});return i?(0,r.Y)(y,{ref:t,style:{...l}}):null});w.displayName="Drawer.Overlay";let x=i.forwardRef((e,t)=>{let{children:n}=e,o=(0,p.j)(),{animations:i}=(0,c.K)().parsedOptions,{strategy:u,refs:m,context:h,getFloatingProps:f,direction:g}=b(),v=(0,a.SV)([t,m.setFloating]),{isMounted:y,styles:w}=(0,a.DL)(h,{initial:{transform:"translate3d(var(--transform-offset), 0, 0)"},open:{transform:"translate3d(0, 0, 0)"},close:{transform:"translate3d(var(--transform-offset), 0, 0)"},common:{transitionProperty:"transform",transitionTimingFunction:d._8.bezier},duration:o||!0!==i?0:d.wz.drawer});return y?(0,r.Y)(a.s3,{context:h,modal:!0,outsideElementsInert:!0,initialFocus:m.floating,children:(0,r.Y)(l.az,{ref:v,...f(),sx:e=>({position:u,insetBlock:0,insetInline:0,pointerEvents:"none",isolation:"isolate",zIndex:"absolute"===u?e.zIndices.$modal:void 0}),elementDescriptor:s.$z.drawerRoot,children:(0,r.Y)(l.so,{elementDescriptor:s.$z.drawerContent,style:w,direction:"col",sx:e=>({"--transform-offset":"fixed"===u?"calc((100% + ".concat(e.space.$3," + ").concat(e.space.$8x75,") * ").concat("rtl"===g?-1:1,")"):"calc((100% + ".concat(e.space.$8x75,") * ").concat("rtl"===g?-1:1,")"),willChange:"transform",position:u,insetBlock:"fixed"===u?e.space.$3:0,insetInlineEnd:"fixed"===u?e.space.$3:0,outline:0,width:e.sizes.$100,maxWidth:"fixed"===u?"calc(100% - ".concat(e.space.$6,")"):"100%",backgroundColor:e.colors.$colorBackground,borderStartStartRadius:e.radii.$lg,borderEndStartRadius:e.radii.$lg,borderEndEndRadius:"fixed"===u?e.radii.$lg:0,borderStartEndRadius:"fixed"===u?e.radii.$lg:0,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,overflow:"hidden",pointerEvents:"auto"}),children:n})})}):null});x.displayName="Drawer.Content";let _=i.forwardRef((e,t)=>{let{title:n,children:o,sx:a}=e;return(0,r.Y)(l.az,{ref:t,elementDescriptor:s.$z.drawerHeader,as:"header",sx:[e=>({display:"flex",background:h.s.mergedColorsBackground(f.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50),borderBlockEndWidth:e.borderWidths.$normal,borderBlockEndStyle:e.borderStyles.$solid,borderBlockEndColor:e.colors.$borderAlpha150,borderStartStartRadius:e.radii.$lg,borderStartEndRadius:e.radii.$lg,paddingBlock:n?e.space.$3:void 0,paddingInline:n?e.space.$4:void 0}),a],children:n?(0,r.FD)(r.FK,{children:[(0,r.Y)(l.DZ,{localizationKey:n,as:"h2",elementDescriptor:s.$z.drawerTitle,textVariant:"h2",sx:{alignSelf:"center"}}),(0,r.Y)($,{})]}):o})}),S=i.forwardRef((e,t)=>{let{children:n,...o}=e;return(0,r.Y)(l.az,{ref:t,elementDescriptor:s.$z.drawerBody,sx:[()=>({display:"flex",flexDirection:"column",flex:1,overflowY:"auto",overflowX:"hidden"}),o.sx],...o,children:n})}),k=i.forwardRef((e,t)=>{let{children:n,sx:o,...a}=e;return(0,r.Y)(l.az,{ref:t,elementDescriptor:s.$z.drawerFooter,sx:[e=>({display:"flex",flexDirection:"column",background:h.s.mergedColorsBackground(f.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50),borderBlockStartWidth:e.borderWidths.$normal,borderBlockStartStyle:e.borderStyles.$solid,borderBlockStartColor:e.colors.$borderAlpha100,borderEndStartRadius:e.radii.$xl,borderEndEndRadius:e.radii.$xl,paddingBlock:e.space.$3,paddingInline:e.space.$4}),o],...a,children:n})}),$=i.forwardRef((e,t)=>{let{setIsOpen:n}=b();return(0,r.Y)(g.K,{ref:t,elementDescriptor:s.$z.drawerClose,variant:"ghost","aria-label":"Close drawer",onClick:()=>n(!1),icon:(0,r.Y)(l.In,{icon:m.A,size:"sm"}),sx:e=>({color:e.colors.$colorMutedForeground,padding:e.space.$3,marginInlineStart:"auto"})})});$.displayName="Drawer.Close";let C=i.forwardRef((e,t)=>{let{open:n,onOpenChange:o,children:i,actionsSlot:u,roleProps:m}=e,g=(0,p.j)(),{animations:v}=(0,c.K)().parsedOptions,{refs:b,context:y}=(0,a.we)({open:n,onOpenChange:o,transform:!1,strategy:"absolute"}),{getFloatingProps:w}=(0,a.bv)([(0,a.kp)(y),(0,a.s9)(y),(0,a.It)(y,{role:"alertdialog",...m})]),x=(0,a.SV)([t,b.setFloating]),{styles:_}=(0,a.DL)(y,{initial:{opacity:0},open:{opacity:1},close:{opacity:0},common:{transitionProperty:"opacity",transitionTimingFunction:d._8.bezier},duration:d.wz.drawer}),{isMounted:S,styles:k}=(0,a.DL)(y,{initial:{transform:"translate3D(0, 100%, 0)"},open:{transform:"translate3D(0, 0, 0)"},close:{transform:"translate3D(0, 100%, 0)"},common:{transitionProperty:"transform",transitionTimingFunction:d._8.bezier},duration:g||!0!==v?0:d.wz.drawer});return S?(0,r.FD)(r.FK,{children:[(0,r.Y)(l.L9,{elementDescriptor:s.$z.drawerConfirmationBackdrop,style:_,sx:e=>({position:"absolute",inset:0,backgroundImage:"linear-gradient(to bottom, ".concat(f.T.setAlpha(e.colors.$colorBackground,.28),", ").concat(e.colors.$colorBackground,")")})}),(0,r.Y)(a.s3,{context:y,modal:!0,outsideElementsInert:!0,initialFocus:b.floating,children:(0,r.FD)(l.az,{ref:x,elementDescriptor:s.$z.drawerConfirmationRoot,style:k,...w(),sx:e=>({display:"flex",flexDirection:"column",rowGap:e.space.$6,outline:"none",willChange:"transform",position:"absolute",bottom:0,left:0,right:0,background:h.s.mergedColorsBackground(f.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50),padding:e.space.$4,borderStartStartRadius:e.radii.$md,borderStartEndRadius:e.radii.$md,boxShadow:"0 0 0 1px ".concat(e.colors.$borderAlpha100)}),children:[i,(0,r.Y)(l.so,{elementDescriptor:s.$z.drawerConfirmationActions,gap:3,justify:"end",children:u})]})})]}):null});C.displayName="Drawer.Confirmation";let P={Root:function(e){var t;let n,{children:o,open:i,onOpenChange:l,strategy:s="fixed",floatingProps:c,portalProps:d,dismissProps:u}=e,p="undefined"==typeof window?"ltr":"rtl"===(n=(t=document.documentElement).dir)?"rtl":"ltr"===n?"ltr":"auto"!==n&&n||"rtl"!==window.getComputedStyle(t).direction?"ltr":"rtl",{refs:m,context:h}=(0,a.we)({open:i,onOpenChange:l,transform:!1,strategy:s,placement:"ltr"===p?"right":"left",...c}),{getFloatingProps:f}=(0,a.bv)([(0,a.kp)(h),(0,a.s9)(h,u),(0,a.It)(h)]);return(0,r.Y)(v.Provider,{value:{isOpen:i,setIsOpen:l,strategy:s,portalProps:d||{},refs:m,context:h,getFloatingProps:f,direction:p},children:(0,r.Y)(a.XF,{...d,children:o})})},Overlay:w,Content:x,Header:_,Body:S,Footer:k,Confirmation:C,Close:$}},45170:function(e,t,n){n.d(t,{J:()=>m});var r=n(14518);n(35074);var o=n(44607),a=n(18272),i=n(58920),l=n(22861),s=n(19426),c=n(4964),d=n(23707),u=n(63269),p=n(76153);let m=e=>{let{shouldNavigateBack:t=!0}=e,n=(0,u.f0)(),{navigate:m}=(0,c.r)(),h=(0,s.p)();return(0,r.Y)(o.n.Part,{part:"havingTrouble",children:(0,r.FD)(d.Z.Root,{children:[(0,r.FD)(d.Z.Content,{children:[(0,r.FD)(p.Y.Root,{showLogo:!0,children:[(0,r.Y)(p.Y.Title,{localizationKey:e.cardTitle||"Error"}),e.cardSubtitle&&(0,r.Y)(p.Y.Subtitle,{localizationKey:e.cardSubtitle})]}),(0,r.Y)(d.Z.Alert,{children:n.error}),(0,r.FD)(a.so,{direction:"col",elementDescriptor:i.$z.main,gap:4,children:[e.message&&(0,r.Y)(a.EY,{colorScheme:"secondary",localizationKey:e.message}),(0,r.Y)(a.$n,{localizationKey:(0,l.G)("signIn.alternativeMethods.getHelp.blockButton__emailSupport"),onClick:()=>{window.location.href="mailto:".concat(h)},hasArrow:!0}),t?(0,r.Y)(d.Z.Action,{elementId:"alternativeMethods",children:(0,r.Y)(d.Z.ActionLink,{localizationKey:(0,l.G)("backButton"),onClick:n=>{if(e.onBackLinkClick)return e.onBackLinkClick(n);t&&m("../")}})}):null]})]}),(0,r.Y)(d.Z.Footer,{})]})})}},75507:function(e,t,n){n.d(t,{D:()=>V});var r,o,a=n(14518),i=n(35074),l=n(18272),s=n(58920),c=n(22861),d=n(10078),u=n(90593),p=n(63356),m=n(63269);n(88711);var h=n(21044),f=n(16580),g=n(60359),v=n(44374),b=n(41464);let y=e=>{let{feedback:t}=e,[n,r]=(0,i.useState)(0);return{height:n,calculateHeight:(0,i.useCallback)(e=>{e&&r(e.scrollHeight+2*e.offsetTop)},[t])}},w=e=>{var t,n,r,o,c,d,u,p,m,w,x,_;let{id:S,elementDescriptors:k,sx:$,feedback:C,feedbackType:P="info",center:A=!1}=e,z=(0,i.useRef)({a:void 0,b:void 0}),{getFormTextAnimation:I}=function(){let e=(0,g.j)(),{animations:t}=(0,f.K)().parsedOptions;return{getFormTextAnimation:(0,i.useCallback)((n,r)=>{if(e||!t)return{animation:"none"};let o=(null==r?void 0:r.inDelay)?v.W.inDelayAnimation:v.W.inAnimation;return e=>({animation:"".concat(n?o:v.W.outAnimation," ").concat(e.transitionDuration.$textField," ").concat(e.transitionTiming.$common),transitionProperty:"height",transitionDuration:e.transitionDuration.$slow,transitionTimingFunction:e.transitionTiming.$common})},[e,t])}}(),D={error:s.$z.formFieldErrorText,warning:s.$z.formFieldWarningText,info:s.$z.formFieldInfoText,success:s.$z.formFieldSuccessText},Y=(0,i.useMemo)(()=>{var e;let t,n=z.current;return z.current=t=(null==(e=n.a)?void 0:e.shouldEnter)?{a:{...n.a,shouldEnter:!1},b:{feedback:C,feedbackType:P,shouldEnter:!0}}:{a:{feedback:C,feedbackType:P,shouldEnter:!0},b:{...n.b,shouldEnter:!1}},t},[C,P]),{calculateHeight:R,height:E}=y({feedback:(null==(t=Y.a)?void 0:t.feedback)||""}),{calculateHeight:T,height:F}=y({feedback:(null==(n=Y.b)?void 0:n.feedback)||""}),L=(0,i.useRef)(Math.max(E,F)),M=(0,i.useMemo)(()=>{let e=Math.max(E,F,L.current);return L.current=e,e},[E,F]),B=e=>{var t;if(!e)return{};let n=(null==k?void 0:k[e])||D[e];return{elementDescriptor:n,elementId:S?null==n||null==(t=n.setId)?void 0:t.call(n,S):void 0,id:"error"===e?"error-".concat(S):"".concat(S,"-").concat(e,"-feedback")}},O={error:l.wF,info:l.cN,success:l.TP,warning:l.sE},j=O[(null==(r=Y.a)?void 0:r.feedbackType)||"info"],W=O[(null==(o=Y.b)?void 0:o.feedbackType)||"info"];return(0,a.FD)(a.FK,{children:[(0,a.Y)(l.L9,{"aria-live":"polite","aria-atomic":"true",sx:{...b.s.visuallyHidden()},children:C?(0,h.Ns)(C):""}),(0,a.FD)(l.so,{style:{height:C?M:0,position:"relative"},center:A,sx:[I(!!C),$],children:[(0,a.Y)(j,{...B(null==(c=Y.a)?void 0:c.feedbackType),...(null==(d=Y.a)?void 0:d.feedbackType)&&{"data-testid":"form-feedback-".concat(Y.a.feedbackType)},ref:R,sx:[()=>{var e;return{visibility:(null==(e=Y.a)?void 0:e.shouldEnter)?"visible":"hidden"}},I(!!(null==(u=Y.a)?void 0:u.shouldEnter),{inDelay:!0})],localizationKey:(0,h.Ns)(null==(p=Y.a)?void 0:p.feedback)}),(0,a.Y)(W,{...B(null==(m=Y.b)?void 0:m.feedbackType),...(null==(w=Y.b)?void 0:w.feedbackType)&&{"data-testid":"form-feedback-".concat(Y.b.feedbackType)},ref:T,sx:[()=>{var e;return{visibility:(null==(e=Y.b)?void 0:e.shouldEnter)?"visible":"hidden"}},I(!!(null==(x=Y.b)?void 0:x.shouldEnter),{inDelay:!0})],localizationKey:(0,h.Ns)(null==(_=Y.b)?void 0:_.feedback)})]})]})},x=(0,i.forwardRef)((e,t)=>{let{sx:n,groupPrefix:r,groupSuffix:o,...i}=e,c=r?{borderTopLeftRadius:"0",borderBottomLeftRadius:"0"}:{borderTopRightRadius:"0",borderBottomRightRadius:"0"},d=e=>({paddingInline:e.space.$2,borderTopRightRadius:"0",borderBottomRightRadius:"0",width:"fit-content",display:"flex",alignItems:"center"});return(0,a.FD)(l.so,{elementDescriptor:s.$z.formInputGroup,direction:"row",hasError:i.hasError,sx:e=>({position:"relative",zIndex:1,...b.s.borderVariants(e).normal,':focus-within,&[data-focus-within="true"]':{...b.s.borderVariants(e,{focusRing:!0}).normal["&:focus"]}}),children:[r&&(0,a.Y)(l.EY,{colorScheme:"secondary",sx:d,children:r}),(0,a.Y)(l.pd,{maxLength:25,sx:[{...c},n],variant:"unstyled",ref:t,...i}),o&&(0,a.Y)(l.EY,{colorScheme:"secondary",sx:d,children:o})]})});var _=n(22166),S=n(97697),k=n(23468),$=n(6294);function C(){return(C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let P=function(e){return i.createElement("svg",C({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.732 3.126a.48.48 0 0 0-.662.011.465.465 0 0 0-.012.651l9.211 9.063a.477.477 0 0 0 .527.115.479.479 0 0 0 .263-.26.46.46 0 0 0-.117-.518l-1.108-1.09A6.278 6.278 0 0 0 13.93 8.36a1.016 1.016 0 0 0 0-.74 6.27 6.27 0 0 0-2.333-2.909A6.428 6.428 0 0 0 8 3.613a6.407 6.407 0 0 0-3.014.747L3.732 3.126Zm2.84 2.794.694.682a1.61 1.61 0 0 1 1.858.28A1.54 1.54 0 0 1 9.41 8.71l.693.683a2.47 2.47 0 0 0-.304-3.174 2.573 2.573 0 0 0-3.226-.3Z"})),o||(o=i.createElement("path",{d:"m8.476 10.445 1.602 1.576a6.437 6.437 0 0 1-2.077.342c-2.705 0-5.014-1.662-5.931-4.006a1.016 1.016 0 0 1 0-.741c.31-.79.78-1.51 1.382-2.115l2.052 2.02c-.078.4-.054.813.067 1.203.122.39.34.744.632 1.033a2.58 2.58 0 0 0 2.272.688Z"})))},A=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{for(let n of t)n&&(n.current=e)}};var z=n(50155);let I=(0,i.forwardRef)((e,t)=>{let[n,r]=i.useState(!0),{id:o,onChange:u,validatePassword:p=!1,setInfo:m,setSuccess:h,setWarning:f,setError:g,setHasPassedComplexity:v,tabIndex:b,...y}=e,w=(0,i.useRef)(null),[x,C]=(0,i.useState)(null),{userSettings:{passwordSettings:I}}=(0,S.O)(),{t:D}=(0,d._)(),{validatePassword:Y}=(0,k.T)({...I,validatePassword:p},{onValidationSuccess:()=>h(D((0,c.G)("unstable__errors.zxcvbn.goodPassword"))),onValidationError:e=>g(e),onValidationWarning:e=>f(e),onValidationInfo:e=>{w.current&&(w.current===document.activeElement?m(e):g(e))},onValidationComplexity:e=>v(e)});return(0,a.FD)(l.so,{elementDescriptor:s.$z.formFieldInputGroup,direction:"col",justify:"center",sx:{position:"relative"},children:[(0,a.Y)(l.pd,{...y,tabIndex:b,onChange:e=>(x&&clearTimeout(x),C(setTimeout(()=>{Y(e.target.value)},_.s)),null==u?void 0:u(e)),onBlur:e=>{var t;null==(t=y.onBlur)||t.call(y,e),Y(e.target.value)},onFocus:e=>{var t;null==(t=y.onFocus)||t.call(y,e),Y(e.target.value)},ref:A(t,w),type:n?"password":"text",sx:e=>({paddingRight:e.space.$10})}),(0,a.Y)(z.K,{elementDescriptor:s.$z.formFieldInputShowPasswordButton,iconElementDescriptor:s.$z.formFieldInputShowPasswordIcon,"aria-label":"".concat(n?"Show":"Hide"," password"),variant:"ghost",size:"xs",tabIndex:b,onClick:()=>r(e=>!e),sx:e=>({position:"absolute",right:0,marginRight:e.space.$1,color:e.colors.$neutralAlpha400}),icon:n?$.A:P})]})});n(19161),n(22239),n(85074),n(30945);var D=n(21210),Y=n(98023),R=n(92405),E=n(41586),T=n(51820),F=n(87651);let L=[...T.nU.values()].map(e=>({searchTerm:"".concat(e.iso," ").concat(e.name," ").concat(e.code),value:"".concat(e.iso," ").concat(e.name," ").concat(e.code),country:e})),M=(0,i.forwardRef)((e,t)=>{let{onChange:n,value:r,locationBasedCountryIso:o,feedbackType:c,sx:d,...u}=e,p=(0,i.useRef)(null),m=(0,i.useRef)(null),{setNumber:h,setIso:f,setNumberAndIso:g,numberWithCode:v,iso:y,formattedNumber:w}=(e=>{let[t,n]=i.useState(()=>{let{number:t}=(0,F.Xd)(e.initPhoneWithCode||"");return t}),[r,o]=i.useState((0,F.Xd)(e.initPhoneWithCode||"").number?(0,F.Xd)(e.initPhoneWithCode||"").iso:e.locationBasedCountryIso||"us");i.useEffect(()=>{n((0,F.sH)(t))},[r,t]);let a=i.useMemo(()=>{var e;if(!t)return"";let n=(null==(e=T.nU.get(r))?void 0:e.code)||"1";return"+"+(0,F.sH)("".concat(n).concat(t))},[r,t]),l=i.useMemo(()=>((e,t)=>{if(!e)return"";let n=T.nU.get(t);return(0,F.n4)(e,null==n?void 0:n.pattern,null==n?void 0:n.code)})(t,r),[r,t]),s=i.useCallback(e=>{let{iso:t,number:r}=(0,F.Xd)(e);n(r),o(t)},[r,t]);return{setNumber:n,setIso:o,setNumberAndIso:s,iso:r,number:t,numberWithCode:a,formattedNumber:l}})({initPhoneWithCode:r,locationBasedCountryIso:o}),x=(0,i.useMemo)(()=>L.find(e=>e.country.iso===y)||L[0],[y]);return(0,i.useEffect)(()=>{null==n||n({target:{value:v}})},[v]),(0,a.FD)(l.so,{elementDescriptor:s.$z.phoneInputBox,direction:"row",hasError:u.hasError,"data-feedback":c,ref:m,sx:e=>({...b.s.borderVariants(e,{hasError:u.hasError}).normal,position:"relative",borderRadius:e.radii.$md,zIndex:1,'&:focus-within,&[data-focus-within="true"]':{...b.s.borderVariants(e,{hasError:u.hasError}).normal["&:focus"]}}),children:[(0,a.FD)(E.l6,{elementId:"countryCode",value:x.value,options:L,portal:!0,referenceElement:m,renderOption:(e,t,n)=>(0,a.Y)(B,{sx:e=>({"&:hover":{backgroundColor:e.colors.$neutralAlpha100},'&[data-focused="true"]':{backgroundColor:e.colors.$neutralAlpha150}}),isSelected:n,country:e.country}),onChange:e=>{var t;f(e.country.iso),null==(t=p.current)||t.focus()},noResultsMessage:"No countries found",searchPlaceholder:"Search country or code",comparator:(e,t)=>t.searchTerm.toLowerCase().includes(e.toLowerCase()),children:[(0,a.Y)(E.JC,{variant:"ghost",sx:e=>({borderWidth:"0",borderRadius:e.radii.$md,borderBottomRightRadius:"0",borderTopRightRadius:"0",paddingRight:e.space.$2,":focus":{zIndex:2,boxShadow:"none"},":active":{zIndex:2}}),hoverAsFocus:!0,isDisabled:u.isDisabled,icon:Y.A,iconSx:e=>({color:u.isDisabled?e.colors.$neutralAlpha300:e.colors.$neutralAlpha500}),children:(0,a.Y)(l.EY,{colorScheme:"body",as:"span",sx:{textTransform:"uppercase"},children:y})}),(0,a.Y)(E.UL,{sx:{padding:"0 0"},containerSx:e=>({gap:0,padding:"".concat(e.space.$0x5," 0")})})]}),(0,a.FD)(l.so,{sx:{position:"relative",width:"100%"},children:[(0,a.FD)(l.EY,{sx:t=>({display:"flex",alignItems:"center",pointerEvents:"none",paddingLeft:t.space.$0x5,opacity:e.isDisabled?t.opacity.$disabled:1}),children:["+",x.country.code]}),(0,a.Y)(l.pd,{value:w,variant:"unstyled",onPaste:e=>{e.preventDefault();let t=e.clipboardData.getData("text");t.includes("+")?g(t):h(t)},onChange:e=>{let t=e.target.value;t.includes("+")?g(t):h(t)},maxLength:25,type:"tel",sx:[e=>({boxShadow:"none",height:"100%",transitionProperty:e.transitionProperty.$common,transitionTimingFunction:e.transitionTiming.$common,transitionDuration:e.transitionDuration.$focusRing,"&[type=tel]":{borderRadius:e.radii.$md,borderWidth:0,borderTopLeftRadius:0,borderBottomLeftRadius:0,paddingLeft:e.space.$1,"&:focus":{borderColor:"unset",boxShadow:"unset"}}}),d],ref:A(p,t),...u})]})]})}),B=(0,i.memo)(e=>{let{country:t,isSelected:n,sx:r,...o}=e;return(0,a.FD)(l.so,{center:!0,sx:[e=>({width:"100%",gap:e.space.$2,padding:"".concat(e.space.$1x5," ").concat(e.space.$4),color:e.colors.$colorForeground}),r],...o,children:[(0,a.Y)(l.In,{icon:R.A,size:"sm",sx:{visibility:n?"visible":"hidden"}}),(0,a.Y)(l.EY,{as:"div",sx:{width:"100%",textAlign:"left"},children:t.name}),(0,a.FD)(l.EY,{colorScheme:"secondary",children:["+",t.code]})]})}),O=(0,i.forwardRef)((e,t)=>{let{__internal_country:n}=(0,D.ho)();return(0,a.Y)(M,{...e,locationBasedCountryIso:n,ref:t})}),j=(0,i.forwardRef)((e,t)=>{let n=(0,u.Wd)(),{value:r,placeholder:o,...i}=(0,u.Uj)(n);return(0,a.Y)(l.AT,{ref:t,...i,elementDescriptor:s.$z.formFieldRadioInput,id:e.id,focusRing:!1,sx:e=>({width:"fit-content",marginTop:e.space.$0x5}),value:e.value,checked:e.value===r})}),W=e=>(0,a.FD)(l.lR,{elementDescriptor:s.$z.formFieldRadioLabel,htmlFor:e.id,sx:e=>({padding:"".concat(e.space.$none," ").concat(e.space.$2),display:"flex",flexDirection:"column"}),children:[(0,a.Y)(l.EY,{elementDescriptor:s.$z.formFieldRadioLabelTitle,variant:"subtitle",localizationKey:e.label}),e.description&&(0,a.Y)(l.EY,{elementDescriptor:s.$z.formFieldRadioLabelDescription,colorScheme:"secondary",localizationKey:e.description})]}),U=(0,i.forwardRef)((e,t)=>{let n=(0,i.useId)();return(0,a.FD)(l.so,{elementDescriptor:s.$z.formFieldRadioGroupItem,align:"start",children:[(0,a.Y)(j,{id:n,ref:t,value:e.value}),(0,a.Y)(W,{id:n,label:e.label,description:e.description})]})}),H=(0,i.forwardRef)((e,t)=>{let{t:n}=(0,d._)(),r=(0,u.Wd)(),{placeholder:o,...i}=(0,u.Uj)(r);return(0,a.Y)(O,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(r.fieldId),...i,feedbackType:r.feedbackType,placeholder:n(o)})}),N=(0,i.forwardRef)((e,t)=>{let{t:n}=(0,d._)(),r=(0,u.Wd)(),{placeholder:o,...i}=(0,u.Uj)(r,["validatePassword","setError","setWarning","setSuccess","setInfo","setHasPassedComplexity"]);return(0,a.Y)(I,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(r.fieldId),...i,placeholder:n(o)})}),K=(0,i.forwardRef)((e,t)=>{let{elementDescriptor:n,elementId:r}=e,o=(0,u.Wd)(),{placeholder:i,...c}=(0,u.Uj)(o);return(0,a.Y)(l.Oc,{ref:t,...c,elementDescriptor:n||s.$z.formFieldInput,elementId:r||s.$z.formFieldInput.setId(o.fieldId),focusRing:!1,sx:e=>({width:"fit-content",flexShrink:0,marginTop:e.space.$0x5})})}),V={Root:e=>{let t=(0,m.f0)(),{children:n,isDisabled:r,...o}=e,i=r||t.isLoading,l={...o,isDisabled:i};return(0,a.Y)(u.BQ,{...l,children:n})},Label:e=>{let{isRequired:t,id:n,label:r,isDisabled:o,hasError:i}=(0,u.Wd)();return e.localizationKey||r||e.children?(0,a.Y)(l.lR,{localizationKey:e.localizationKey||r,elementDescriptor:s.$z.formFieldLabel,elementId:s.$z.formFieldLabel.setId(n),hasError:!!i,isDisabled:o,isRequired:t,sx:{display:"flex",alignItems:"center"},children:e.children}):null},LabelRow:e=>{let{fieldId:t}=(0,u.Wd)();return(0,a.Y)(l.so,{justify:"between",align:"center",elementDescriptor:s.$z.formFieldLabelRow,elementId:s.$z.formFieldLabelRow.setId(t),children:e.children})},Input:(0,i.forwardRef)((e,t)=>{let{t:n}=(0,d._)(),r=(0,u.Wd)(),{placeholder:o,...i}=(0,u.Uj)(r);return(0,a.Y)(l.pd,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(r.fieldId),...i,placeholder:n(o)})}),PasswordInput:N,PhoneInput:H,InputGroup:(0,i.forwardRef)((e,t)=>{let{t:n}=(0,d._)(),r=(0,u.Wd)(),{placeholder:o,...i}=(0,u.Uj)(r);return(0,a.Y)(x,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(r.fieldId),...i,groupPrefix:e.groupPrefix,groupSuffix:e.groupSuffix,placeholder:n(o)})}),RadioItem:U,CheckboxIndicator:K,CheckboxLabel:e=>{let{label:t,id:n}=(0,u.Wd)();return t?(0,a.Y)(W,{label:t,id:n,description:e.description}):null},Action:e=>{let{fieldId:t,isDisabled:n}=(0,u.Wd)();return e.localizationKey||e.children?(0,a.Y)(l.N_,{localizationKey:e.localizationKey,elementDescriptor:s.$z.formFieldAction,elementId:s.$z.formFieldLabel.setId(t),isDisabled:n,colorScheme:"primary",variant:"buttonSmall",onClick:t=>{var n;t.preventDefault(),null==(n=e.onClick)||n.call(e,t)},children:e.children}):null},AsOptional:()=>{let{fieldId:e,isDisabled:t}=(0,u.Wd)();return(0,a.Y)(l.EY,{localizationKey:(0,c.G)("formFieldHintText__optional"),elementDescriptor:s.$z.formFieldHintText,elementId:s.$z.formFieldHintText.setId(e),as:"span",variant:"caption",colorScheme:"secondary",isDisabled:t})},LabelIcon:e=>{let{t}=(0,d._)();return e.icon?(0,a.Y)(l.so,{as:"span",title:t((0,c.G)("formFieldHintText__slug")),sx:{marginRight:"auto"},children:(0,a.Y)(l.In,{icon:e.icon,sx:e=>({marginLeft:e.space.$0x5,color:e.colors.$neutralAlpha400,width:e.sizes.$4,height:e.sizes.$4})})}):null},Feedback:e=>{let{fieldId:t,debouncedFeedback:n}=(0,u.Wd)();return(0,a.Y)(w,{center:e.center,...n,elementDescriptors:e.elementDescriptors,id:t})},OTPRoot:p.oA,OTPCodeControl:p.iG,OTPResendButton:p.Ro}},52454:function(e,t,n){n.d(t,{l:()=>v}),n(88711),n(19161),n(22239);var r=n(14518),o=n(21210),a=n(35074),i=n(18272),l=n(58920),s=n(22861),c=n(84901),d=n(98975),u=n(63269),p=n(75507);let[m,h]=(0,o.e3)("FormState"),f=e=>{let{isOptional:t,isLastAuthenticationStrategy:n,icon:o,actionLabel:a,children:s,onActionClicked:c,...d}=e;return(0,r.Y)(p.D.Root,{...d,children:(0,r.FD)(i.fv,{elementDescriptor:l.$z.formField,elementId:l.$z.formField.setId(d.id),sx:{position:"relative",flex:"1 1 auto"},children:[(0,r.FD)(i.so,{direction:"col",sx:e=>({gap:e.space.$2}),children:[(0,r.FD)(p.D.LabelRow,{children:[(0,r.Y)(p.D.Label,{}),(0,r.Y)(p.D.LabelIcon,{icon:o}),!a&&t&&(0,r.Y)(p.D.AsOptional,{}),a&&(0,r.Y)(p.D.Action,{localizationKey:a,onClick:c}),n&&!a&&!t&&(0,r.Y)(g,{}),(0,r.Y)(p.D.Action,{})]}),s]}),(0,r.Y)(p.D.Feedback,{})]})})},g=e=>{let{isLoading:t,isDisabled:n}=h();return(0,r.Y)(d.j,{...e,sx:e=>({opacity:n||t?e.opacity.$disabled:1})})},v={Root:e=>{let t=(0,u.f0)(),n=(0,c.m)(),[o,s]=(0,a.useState)(!1),d=async r=>{if(r.preventDefault(),r.stopPropagation(),e.onSubmit)try{t.setLoading(),n.setLoading(),s(!0),await e.onSubmit(r)}finally{t.setIdle(),n.setIdle()}},p=a.useMemo(()=>({value:{isLoading:n.isLoading,isDisabled:t.isLoading||n.isLoading,submittedWithEnter:o}}),[t.isLoading,n.isLoading,o]);return(0,r.Y)(m.Provider,{value:p,children:(0,r.FD)(i.lV,{elementDescriptor:l.$z.form,gap:6,...e,onSubmit:d,children:[(0,r.Y)("button",{type:"submit","aria-hidden":!0,style:{visibility:"hidden",position:"absolute"}}),e.children]})})},ControlRow:e=>{let{elementId:t,...n}=e;return(0,r.Y)(i.so,{elementDescriptor:l.$z.formFieldRow,elementId:l.$z.formFieldRow.setId(t),justify:"between",gap:4,...n})},PlainInput:e=>(0,r.Y)(f,{...e,children:(0,r.Y)(p.D.Input,{})}),PasswordInput:(0,a.forwardRef)((e,t)=>(0,r.Y)(f,{...e,children:(0,r.Y)(p.D.PasswordInput,{ref:t})})),PhoneInput:e=>(0,r.Y)(f,{...e,children:(0,r.Y)(p.D.PhoneInput,{})}),OTPInput:e=>{let{centerAlign:t=!0}=e;return(0,r.Y)(p.D.Root,{...e.otpControl.otpInputProps,children:(0,r.Y)(p.D.OTPRoot,{...e,children:(0,r.FD)(i.fv,{elementDescriptor:l.$z.form,gap:2,align:t?"center":"start",children:[(0,r.FD)(i.so,{elementDescriptor:l.$z.otpCodeField,isLoading:e.isLoading,hasError:"error"===e.otpControl.otpInputProps.feedbackType,direction:"col",children:[(0,r.Y)(p.D.OTPCodeControl,{}),(0,r.Y)(p.D.Feedback,{center:!0,elementDescriptors:{error:l.$z.otpCodeFieldErrorText,success:l.$z.otpCodeFieldSuccessText}})]}),(0,r.Y)(p.D.OTPResendButton,{})]})})})},InputGroup:e=>{let{groupSuffix:t,groupPrefix:n,...o}=e;return(0,r.Y)(f,{...o,children:(0,r.Y)(p.D.InputGroup,{groupSuffix:t,groupPrefix:n})})},RadioGroup:e=>{let{radioOptions:t,...n}=e;return(0,r.FD)(p.D.Root,{...n,children:[(0,r.Y)(i.fv,{elementDescriptor:l.$z.formFieldRadioGroup,gap:3,children:null==t?void 0:t.map(e=>{let{value:t,description:n,label:o}=e;return(0,r.Y)(i.so,{sx:e=>({borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha100,borderRadius:e.radii.$md,padding:e.space.$2}),children:(0,r.Y)(p.D.RadioItem,{value:t,label:o,description:n})},t)})}),(0,r.Y)(p.D.Feedback,{})]})},Checkbox:e=>(0,r.Y)(p.D.Root,{...e,children:(0,r.FD)(i.so,{align:"start",children:[(0,r.Y)(p.D.CheckboxIndicator,{}),(0,r.Y)(p.D.CheckboxLabel,{description:e.description})]})}),SubmitButton:e=>{let{isLoading:t,isDisabled:n}=h();return(0,r.Y)(i.$n,{elementDescriptor:l.$z.formButtonPrimary,block:!0,textVariant:"buttonLarge",isLoading:t,isDisabled:n,type:"submit",...e,localizationKey:e.localizationKey||(0,s.G)("formButtonPrimary")})},ResetButton:e=>{let{isLoading:t,isDisabled:n}=h();return(0,r.Y)(i.$n,{elementDescriptor:l.$z.formButtonReset,block:!0,variant:"ghost",type:"reset",isDisabled:t||n,...e})},CommonInputWrapper:f}},11475:function(e,t,n){n.d(t,{G:()=>s,c:()=>c});var r=n(14518),o=n(18272),a=n(11550),i=n(22861),l=n(52454);let s=e=>{let{isDisabled:t,onReset:n,submitLabel:o,resetLabel:s,hideReset:d,...u}=e,{navigateToFlowStart:p}=(0,a.C)();return(0,r.FD)(c,{children:[(0,r.Y)(l.l.SubmitButton,{block:!1,isDisabled:t,localizationKey:o||(0,i.G)("userProfile.formButtonPrimary__save"),...u}),!d&&(0,r.Y)(l.l.ResetButton,{localizationKey:s||(0,i.G)("userProfile.formButtonReset"),block:!1,onClick:n||p})]})},c=e=>(0,r.Y)(o.so,{direction:"rowReverse",gap:2,...e,children:e.children})},23549:function(e,t,n){n.d(t,{M:()=>c});var r=n(14518),o=n(18272),a=n(58920),i=n(23707),l=n(63269),s=n(76153);let c=e=>{let{headerTitle:t,headerTitleTextVariant:n="h3",headerSubtitle:c,headerSubtitleTextVariant:d="body",children:u,sx:p,...m}=e,h=(0,l.f0)();return(0,r.FD)(o.fv,{elementDescriptor:a.$z.formContainer,gap:4,...m,sx:[p],children:[(t||c)&&(0,r.FD)(s.Y.Root,{children:[t&&(0,r.Y)(s.Y.Title,{textVariant:n,..."string"==typeof t?{children:t}:{localizationKey:t}}),c&&(0,r.Y)(s.Y.Subtitle,{variant:d,..."string"==typeof c?{children:c}:{localizationKey:c}})]}),(0,r.Y)(i.Z.Alert,{children:h.error}),(0,r.Y)(o.fv,{gap:8,children:u})]})}},11323:function(e,t,n){n.d(t,{R:()=>l});var r=n(14518),o=n(18272),a=n(58920),i=n(87651);let l=e=>{let t=(0,i.Om)(e.value);return(0,r.Y)(o.EY,{as:"span",elementDescriptor:a.$z.formattedPhoneNumberText,children:t})}},12611:function(e,t,n){n.d(t,{K:()=>i});var r=n(14518),o=n(18272),a=n(58920);let i=()=>(0,r.Y)(o.so,{center:!0,sx:{height:"100%"},children:(0,r.Y)(o.y$,{colorScheme:"primary",size:"lg",elementDescriptor:a.$z.spinner})})},76153:function(e,t,n){n.d(t,{Y:()=>f});var r,o=n(14518),a=n(35074),i=n(16580),l=n(18272),s=n(58920);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let d=function(e){return a.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},e),r||(r=a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 12H4m6 6-6-6 6-6"})))};var u=n(22037),p=n(66505);let m=a.memo(a.forwardRef((e,t)=>{let{sx:n,children:r,contentSx:a,gap:c=6,showLogo:d=!1,showDivider:m=!1,...h}=e,f="inside"===(0,i.K)().parsedOptions.logoPlacement&&d,g=m&&f;return(0,o.FD)(l.fv,{ref:t,elementDescriptor:s.$z.header,gap:c,sx:n,...h,children:[f&&(0,o.Y)(u.G,{}),g&&(0,o.Y)(p.G,{}),(0,o.Y)(l.fv,{gap:1,sx:a,...h,children:r})]})})),h=a.memo(e=>{let{sx:t,textVariant:n="h2",...r}=e;return(0,o.Y)(l.DZ,{elementDescriptor:s.$z.headerTitle,textVariant:n,sx:t,...r})}),f={Root:m,Title:h,Subtitle:a.memo(e=>{let{sx:t,...n}=e;return(0,o.Y)(l.EY,{elementDescriptor:s.$z.headerSubtitle,variant:"body",colorScheme:"secondary",sx:[{wordWrap:"break-word"},t],...n})}),BackLink:a.memo(e=>{let{sx:t,children:n,...r}=e;return(0,o.FD)(l.N_,{elementDescriptor:s.$z.headerBackLink,sx:e=>[{display:"inline-flex",alignItems:"center",gap:e.space.$2,width:"fit-content","&:hover":{textDecoration:"none"}},t],...r,children:[(0,o.Y)(l.In,{icon:d,sx:e=>({color:e.colors.$colorForeground})}),n]})})}},50155:function(e,t,n){n.d(t,{K:()=>l});var r=n(14518),o=n(35074),a=n(10078),i=n(18272);let l=e=>{let{children:t,icon:n,localizationKey:l,iconElementDescriptor:s,...c}=e,{t:d}=(0,a._)(),u=d(l),p=(0,o.isValidElement)(n)?(0,o.cloneElement)(n,{"aria-hidden":!0,focusable:!1}):(0,r.Y)(i.In,{elementDescriptor:s,icon:n,size:"md"});return(0,r.Y)(i.$n,{...c,children:(0,r.FD)(r.FK,{children:[p,u||t]})})}},54003:function(e,t,n){n.d(t,{A:()=>a});var r=n(14518),o=n(18272);let a=e=>{let{icon:t,boxElementDescriptor:n,iconElementDescriptor:a,sx:i,...l}=e;return(0,r.Y)(o.so,{center:!0,elementDescriptor:n,sx:[e=>({backgroundColor:e.colors.$neutralAlpha50,width:e.sizes.$16,height:e.sizes.$16,borderRadius:e.radii.$circle}),i],...l,children:(0,r.Y)(o.In,{elementDescriptor:a,icon:t,size:"lg",sx:e=>({color:e.colors.$neutralAlpha600})})})}},196:function(e,t,n){n.d(t,{$:()=>m});var r,o=n(14518),a=n(36435),i=n(35074),l=n(18272),s=n(58920);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let d=function(e){return i.createElement("svg",c({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17 16"},e),r||(r=i.createElement("path",{d:"M13.598 5.108c-.418.419-.628.628-.847.669-.22.04-.364-.104-.652-.392l-.984-.984c-.288-.288-.432-.432-.392-.652.04-.22.25-.428.669-.847l.226-.227c.419-.418.628-.628.848-.668.22-.04.364.103.652.392l.983.983c.289.288.433.432.392.652-.04.22-.25.429-.668.848l-.227.226ZM4.66 13.688l-1.206.223c-.5.092-.75.138-.876.011-.127-.126-.08-.376.011-.876l.223-1.206c.04-.217.06-.325.118-.43.058-.105.15-.196.33-.377l5.554-5.554c.419-.418.628-.628.848-.668.22-.04.364.103.652.392l.983.983c.289.288.433.432.392.652-.04.22-.25.429-.668.848l-5.554 5.553c-.181.182-.272.273-.377.331-.105.058-.213.078-.43.118ZM9.25 12.5a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5Z",fill:"currentColor"})))};var u=n(99835),p=n(87651);let m=e=>{let{avatarUrl:t=(0,a.l)("avatar_placeholder","jpeg"),identifier:n,onClick:r,...c}=e,m=i.useRef({avatarUrl:t,identifier:(0,u.u)(n)}),h=r&&(0,o.Y)(l.$n,{elementDescriptor:s.$z.identityPreviewEditButton,variant:"link",textVariant:"buttonSmall",onClick:r,"aria-label":"Edit",children:(0,o.Y)(l.In,{elementDescriptor:s.$z.identityPreviewEditButtonIcon,icon:d})});if(!m.current.identifier)return(0,o.Y)(v,{...c,children:h});if((0,u.R)(m.current.identifier)||!m.current.identifier.startsWith("+"))return(0,o.FD)(v,{...c,children:[(0,o.Y)(f,{...m.current}),h]});let b=(0,p.Xd)(m.current.identifier||""),y=(0,p.eL)(b.iso);return(0,o.FD)(v,{...c,children:[(0,o.Y)(g,{identifier:m.current.identifier,flag:y}),h]})},h=e=>(0,o.Y)(l.EY,{elementDescriptor:s.$z.identityPreviewText,colorScheme:"secondary",truncate:!0,...e}),f=e=>(0,o.Y)(h,{children:e.identifier}),g=e=>(0,o.FD)(o.FK,{children:[(0,o.Y)(l.EY,{sx:e=>({fontSize:e.fontSizes.$sm}),children:e.flag}),(0,o.Y)(h,{children:e.identifier})]}),v=e=>(0,o.Y)(l.so,{elementDescriptor:s.$z.identityPreview,align:"center",gap:2,sx:{justifyContent:"center"},...e})},62421:function(e,t,n){n.d(t,{k:()=>i});var r=n(14518),o=n(18272),a=n(89068);function i(e){return(0,r.FD)(o.so,{sx:e=>({gap:e.space.$2,padding:"".concat(e.space.$3," ").concat(e.space.$4),backgroundColor:e.colors.$neutralAlpha50,borderRadius:e.radii.$md}),children:[(0,r.Y)(o.In,{icon:a.A,sx:e=>({opacity:e.opacity.$disabled})}),(0,r.Y)(o.EY,{localizationKey:e.message,sx:e=>({color:e.colors.$colorMutedForeground})})]})}},15013:function(e,t,n){n.d(t,{e:()=>i});var r=n(14518),o=n(35074),a=n(18272);let i=o.forwardRef((e,t)=>{let{leftIcon:n,sx:o,...i}=e;return(0,r.FD)(a.so,{center:!0,sx:{width:"100%",position:"relative"},children:[n?(0,r.Y)(a.az,{sx:e=>[{position:"absolute",left:e.space.$3x5,width:e.sizes.$3x5,height:e.sizes.$3x5,pointerEvents:"none",display:"grid",placeContent:"center","& svg":{position:"absolute",width:"100%",height:"100%"}}],children:n}):null,(0,r.Y)(a.pd,{...i,sx:[e=>({width:"100%",paddingLeft:e.space.$10}),o],ref:t})]})})},33832:function(e,t,n){n.d(t,{d:()=>h});var r=n(14518),o=n(97697),a=n(10078),i=n(22861),l=n(18272),s=n(58920),c=n(16580),d=n(90593),u=n(75507),p=n(6997);let m=e=>{let t,{termsUrl:n,privacyPolicyUrl:o}=e,{t:c}=(0,a._)(),u=(0,d.Wd)(),{placeholder:m,...h}=(0,d.Uj)(u);return n&&o?t=(0,i.G)("signUp.legalConsent.checkbox.label__termsOfServiceAndPrivacyPolicy",{termsOfServiceLink:n,privacyPolicyLink:o}):n?t=(0,i.G)("signUp.legalConsent.checkbox.label__onlyTermsOfService",{termsOfServiceLink:n}):o&&(t=(0,i.G)("signUp.legalConsent.checkbox.label__onlyPrivacyPolicy",{privacyPolicyLink:o})),(0,r.Y)(l.lR,{elementDescriptor:s.$z.formFieldCheckboxLabel,htmlFor:h.id,isDisabled:h.isDisabled,sx:e=>({paddingLeft:e.space.$1x5,textAlign:"left"}),children:(0,r.Y)(l.EY,{variant:"body",as:"span",children:(0,r.Y)(p._,{text:c(t),isExternal:!0,sx:e=>({textDecoration:"underline",textUnderlineOffset:e.space.$1})})})})},h=e=>{let{displayConfig:t}=(0,o.O)(),{parsedOptions:n}=(0,c.K)(),a=n.termsPageUrl||t.termsUrl,i=n.privacyPageUrl||t.privacyPolicyUrl;return(0,r.Y)(u.D.Root,{...e,children:(0,r.FD)(l.so,{justify:"center",children:[(0,r.Y)(u.D.CheckboxIndicator,{elementDescriptor:s.$z.formFieldCheckboxInput,elementId:s.$z.formFieldInput.setId("legalAccepted")}),(0,r.Y)(m,{termsUrl:a,privacyPolicyUrl:i})]})})}},29436:function(e,t,n){n.d(t,{p:()=>f}),n(98114);var r=n(14518),o=n(35074),a=n(18272),i=n(58920),l=n(27782),s=n(92405),c=n(42852),d=n(41464),u=n(89606);let p=o.createContext(void 0);function m(e){let{text:t}=e,{onCopy:n}=(0,l.i)(t);return(0,r.Y)(a.L9,{elementDescriptor:i.$z.lineItemsDescriptionText,sx:e=>({...d.s.textVariants(e).body,display:"flex",minWidth:"0"}),onCopy:async e=>{e.preventDefault(),await n()},children:(0,u.W)(t,15)})}function h(e){let{text:t,copyLabel:n="Copy"}=e,{onCopy:o,hasCopied:i}=(0,l.i)(t);return(0,r.Y)(a.$n,{variant:"unstyled",onClick:o,sx:e=>({color:"inherit",width:e.sizes.$4,height:e.sizes.$4,padding:0,borderRadius:e.radii.$sm,"&:focus-visible":{outline:"2px solid",outlineColor:e.colors.$colorRing}}),focusRing:!1,"aria-label":i?"Copied":n,children:(0,r.Y)(a.In,{size:"sm",icon:i?s.A:c.A,"aria-hidden":!0})})}let f={Root:function(e){let{children:t}=e;return(0,r.Y)(a.Dl,{elementDescriptor:i.$z.lineItemsRoot,sx:e=>({display:"grid",gridRowGap:e.space.$2}),children:t})},Group:function(e){let{children:t,borderTop:n=!1,variant:o="primary"}=e;return(0,r.Y)(p.Provider,{value:{variant:o},children:(0,r.Y)(a.az,{elementDescriptor:i.$z.lineItemsGroup,elementId:i.$z.lineItemsGroup.setId(o),sx:e=>({display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",...n?{borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100,paddingTop:e.space.$2}:{}}),children:t})})},Title:o.forwardRef((e,t)=>{let{title:n,description:l,icon:s,badge:c=null}=e,u=o.useContext(p);if(!u)throw Error("LineItems.Title must be used within LineItems.Group");let{variant:m}=u,h="primary"===m?"subtitle":"caption";return(0,r.FD)(a.Dt,{ref:t,elementDescriptor:i.$z.lineItemsTitle,elementId:i.$z.lineItemsTitle.setId(m),sx:e=>({display:"grid",color:"primary"===m?e.colors.$colorForeground:e.colors.$colorMutedForeground,...d.s.textVariants(e)[h]}),children:[n?(0,r.FD)(a.L9,{sx:e=>({display:"inline-flex",alignItems:"center",gap:e.space.$1}),children:[s?(0,r.Y)(a.In,{size:"md",icon:s,"aria-hidden":!0}):null,(0,r.Y)(a.L9,{localizationKey:n}),c]}):null,l?(0,r.Y)(a.L9,{localizationKey:l,elementDescriptor:i.$z.lineItemsTitleDescription,sx:e=>({fontSize:e.fontSizes.$sm,color:e.colors.$colorMutedForeground})}):null]})}),Description:function(e){let{text:t,prefix:n,suffix:l,truncateText:s=!1,copyText:c=!1,copyLabel:u}=e,f=o.useContext(p);if(!f)throw Error("LineItems.Description must be used within LineItems.Group");let{variant:g}=f;return(0,r.FD)(a.Dd,{elementDescriptor:i.$z.lineItemsDescription,elementId:i.$z.lineItemsDescription.setId(g),sx:e=>({display:"grid",justifyContent:"end",color:"tertiary"===g?e.colors.$colorMutedForeground:e.colors.$colorForeground}),children:[(0,r.FD)(a.L9,{elementDescriptor:i.$z.lineItemsDescriptionInner,sx:e=>({display:"inline-flex",justifyContent:"flex-end",alignItems:"center",gap:e.space.$1,minWidth:"0"}),children:[n?(0,r.Y)(a.L9,{localizationKey:n,elementDescriptor:i.$z.lineItemsDescriptionPrefix,sx:e=>({color:e.colors.$colorMutedForeground,...d.s.textVariants(e).caption})}):null,"string"==typeof t&&s?(0,r.Y)(m,{text:t}):(0,r.Y)(a.L9,{localizationKey:t,elementDescriptor:i.$z.lineItemsDescriptionText,sx:e=>({...d.s.textVariants(e).body,minWidth:"0",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})}),"string"==typeof t&&c?(0,r.Y)(h,{text:t,copyLabel:u}):null]}),l?(0,r.Y)(a.L9,{localizationKey:l,elementDescriptor:i.$z.lineItemsDescriptionSuffix,sx:e=>({color:e.colors.$colorMutedForeground,...d.s.textVariants(e).caption,justifySelf:"flex-end"})}):null]})}}},6997:function(e,t,n){n.d(t,{_:()=>l}),n(22501),n(58910),n(10676);var r=n(14518),o=n(35074),a=n(18272);let i=/\[([^\]]+)\]\(([^)]+)\)/g,l=(0,o.memo)(e=>{let{text:t,...n}=e,l=(0,o.useMemo)(()=>n,[n]);return(0,o.useMemo)(()=>{let e=[],n=0;return t.replace(i,(o,i,s,c)=>(c>n&&e.push(t.slice(n,c)),e.push((0,r.Y)(a.N_,{href:s,...l,children:i},c)),n=c+o.length,o)),n<t.length&&e.push(t.slice(n)),e},[t,l])})},56980:function(e,t,n){n.d(t,{B:()=>d,W:()=>c});var r=n(14518),o=n(18272),a=n(58920),i=n(6142),l=n(23707),s=n(63269);let c=e=>{let{children:t}=e;return(0,r.FD)(o.so,{direction:"col",center:!0,elementDescriptor:a.$z.main,gap:8,sx:e=>({marginTop:e.space.$16,marginBottom:e.space.$13}),children:[(0,r.Y)(o.y$,{size:"xl",colorScheme:"primary",elementDescriptor:a.$z.spinner}),t]})},d=(0,s.dm)(()=>{let e=(0,s.f0)();return(0,r.FD)(l.Z.Root,{children:[(0,r.FD)(l.Z.Content,{children:[(0,r.Y)(l.Z.Alert,{children:e.error}),(0,r.Y)(c,{}),(0,r.Y)(i.j,{})]}),(0,r.Y)(l.Z.Footer,{})]})})},74365:function(e,t,n){n.d(t,{Dr:()=>y,W1:()=>f,cO:()=>b,cQ:()=>g}),n(88711);var r=n(14518),o=n(21210),a=n(35074),i=n(58920),l=n(18272),s=n(11577),c=n(44374),d=n(14620),u=n(63269),p=n(74373);let[m,h]=(0,o.e3)("MenuState"),f=(0,u.P4)(e=>{let{popoverPlacement:t="bottom-end",elementId:n,...o}=e,i=(0,s.f)({placement:t,offset:8,shoudFlip:!0}),l=a.useMemo(()=>({value:{popoverCtx:i,elementId:n}}),[{...i},n]);return(0,r.Y)(m.Provider,{value:l,...o})}),g=e=>{let{children:t,arialLabel:n}=e,{popoverCtx:r,elementId:o}=h(),{reference:l,toggle:s,isOpen:c}=r,d="function"==typeof n?n(c):n;return(0,a.isValidElement)(t)?(0,a.cloneElement)(t,{ref:l,elementDescriptor:t.props.elementDescriptor||i.$z.menuButton,elementId:t.props.elementId||i.$z.menuButton.setId(o),"aria-label":d,"aria-expanded":c,onClick:e=>{var n,r;null==(r=t.props)||null==(n=r.onClick)||n.call(r,e),s()}}):null},v=(e,t,n)=>{let r=(null==n?void 0:n.countSelf)?e.tagName:"",o=e;for(;o&&"BUTTON"!==r.toUpperCase();){var a;r=null!=(a=null==(o=o["prev"===t?"previousElementSibling":"nextElementSibling"])?void 0:o.tagName)?a:""}return o},b=e=>{let{sx:t,asPortal:n,...o}=e,{popoverCtx:s,elementId:u}=h(),{floating:m,styles:f,isOpen:g,context:b,nodeId:y}=s,w=(0,a.useRef)(null);return(0,a.useLayoutEffect)(()=>{m(w.current)},[g]),(0,r.Y)(p.A,{context:b,nodeId:y,isOpen:g,portal:n,children:(0,r.Y)(l.fv,{elementDescriptor:i.$z.menuList,elementId:i.$z.menuList.setId(u),ref:w,role:"menu",onKeyDown:e=>{let t=w.current;if(t&&t===document.activeElement&&"ArrowDown"===e.key){var n;return e.preventDefault(),null==(n=v(t.children[0],"next",{countSelf:!0}))?void 0:n.focus()}},sx:[e=>({backgroundColor:d.T.makeSolid(e.colors.$colorBackground),borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,outline:"none",borderRadius:e.radii.$md,padding:e.space.$0x5,overflow:"hidden",top:"calc(100% + ".concat(e.space.$2,")"),animation:"".concat(c.W.dropdownSlideInScaleAndFade," ").concat(e.transitionDuration.$slower," ").concat(e.transitionTiming.$slowBezier),transformOrigin:"top center",zIndex:e.zIndices.$dropdown,gap:e.space.$0x5}),t],style:f,...o})})},y=e=>{let{sx:t,onClick:n,destructive:o,closeAfterClick:s=!0,...c}=e,{popoverCtx:d,elementId:u}=h(),{toggle:p}=d,m=(0,a.useRef)(null);return(0,r.Y)(l.dF,{ref:m,elementDescriptor:i.$z.menuItem,elementId:i.$z.menuItem.setId(u),hoverAsFocus:!0,variant:"ghost",colorScheme:o?"danger":"neutral",role:"menuitem",onKeyDown:e=>{let t=m.current;if(!t)return;let n=e.key;if("ArrowUp"!==n&&"ArrowDown"!==n)return;e.preventDefault();let r=v(t,"ArrowUp"===n?"prev":"next");null==r||r.focus()},focusRing:!1,onClick:e=>{null==n||n(e),s&&p()},sx:[e=>({justifyContent:"start",borderRadius:e.radii.$sm,padding:"".concat(e.space.$1," ").concat(e.space.$3)}),t],...c})}},86705:function(e,t,n){n.d(t,{Modal:()=>v,Y:()=>g}),n(88711);var r=n(14518),o=n(21210),a=n(35074),i=n(18272),l=n(58920),s=n(11577),c=n(88792),d=n(44374),u=n(37591),p=n(63269),m=n(74373);let[h,f,g]=(0,o.e3)("ModalContext"),v=(0,p.P4)(e=>{let{disableScrollLock:t,enableScrollLock:n}=(0,c.K)(),{handleClose:p,handleOpen:f,contentSx:g,containerSx:v,canCloseModal:b,id:y,style:w,portalRoot:x,initialFocusRef:_}=e,S=(0,a.useRef)(null),{floating:k,isOpen:$,context:C,nodeId:P,toggle:A}=(0,s.f)({defaultOpen:!0,autoUpdate:!1,outsidePress:e=>e.target===S.current,canCloseModal:b});a.useEffect(()=>{$?null==f||f():null==p||p()},[$]);let z=a.useMemo(()=>({value:!1===b?{}:{toggle:A}}),[A,b]);return(0,o.UQ)(()=>(n(),()=>{t()}),[]),(0,r.Y)(m.A,{nodeId:P,context:C,isOpen:$,outsideElementsInert:!0,root:x,initialFocus:_,children:(0,r.Y)(h.Provider,{value:z,children:(0,r.Y)(i.so,{id:y,ref:S,elementDescriptor:l.$z.modalBackdrop,style:w,sx:[e=>({animation:"".concat(d.W.fadeIn," 150ms ").concat(e.transitionTiming.$common),zIndex:e.zIndices.$modal,backgroundColor:e.colors.$colorModalBackdrop,alignItems:"flex-start",justifyContent:"center",overflow:"auto",width:"100vw",height:["100vh","-webkit-fill-available"],position:"fixed",left:0,top:0}),v],children:(0,r.Y)(i.so,{elementDescriptor:l.$z.modalContent,ref:k,"aria-modal":"true",role:"dialog",sx:[e=>({position:"relative",outline:0,animation:"".concat(d.W.modalSlideAndFade," 180ms ").concat(e.transitionTiming.$easeOut),margin:"".concat(e.space.$16," 0"),[u.g.sm]:{margin:"".concat(e.space.$10," 0")}}),g],children:e.children})})})})})},9764:function(e,t,n){n.d(t,{oT:()=>D,jq:()=>P,n8:()=>$,XM:()=>C}),n(88711),n(19161),n(22239);var r,o=n(14518),a=n(21210),i=n(35074),l=n(18272),s=n(58920),c=n(10078),d=n(11550),u=n(11577);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let m=function(e){return i.createElement("svg",p({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 1 1 0 1.5H2.75A.75.75 0 0 1 2 3.75ZM2 8a.75.75 0 0 1 .75-.75h10.5a.75.75 0 1 1 0 1.5H2.75A.75.75 0 0 1 2 8Zm0 4.25a.75.75 0 0 1 .75-.75h10.5a.75.75 0 1 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Z"})))};var h=n(4964),f=n(37591),g=n(41464),v=n(44374),b=n(14620),y=n(23707),w=n(63269),x=n(90846),_=n(74373);let[S,k,$]=(0,a.e3)("NavbarContext"),C=e=>{let{children:t,contentRef:n}=e,[r,a]=i.useState(!1),l=i.useCallback(()=>a(!0),[]),s=i.useCallback(()=>a(!1),[]),c=i.useMemo(()=>({value:{isOpen:r,open:l,close:s,contentRef:n}}),[r]);return(0,o.Y)(S.Provider,{value:c,children:t})},P=e=>{let{contentRef:t,title:n,description:r,routes:a,header:c}=e,{close:u}=k(),{navigate:p}=(0,h.r)(),{navigateToFlowStart:m}=(0,d.C)(),f=(0,h.r)(),g=async e=>{t.current&&(u(),"/"===e.path?await m():await p(e.path))},v=(0,i.useCallback)(e=>{if(e.external)return!1;let t=f.currentPath===f.fullPath&&"/"===e.path,n=f.matches(e.path);return t||n},[f.currentPath]),b=(0,o.Y)(l.fv,{elementDescriptor:s.$z.navbarButtons,sx:e=>({gap:e.space.$0x5}),children:a.map(e=>(0,o.Y)(I,{elementDescriptor:s.$z.navbarButton,elementId:s.$z.navbarButton.setId(e.id),iconElementDescriptor:s.$z.navbarButtonIcon,iconElementId:s.$z.navbarButtonIcon.setId(e.id),onClick:(null==e?void 0:e.external)?()=>p(e.path):()=>g(e),icon:e.icon,isActive:v(e),sx:e=>({padding:"".concat(e.space.$1x5," ").concat(e.space.$3),minHeight:e.space.$8}),children:(0,o.Y)(l.L9,{elementDescriptor:s.$z.navbarButtonText,elementId:s.$z.navbarButtonText.setId(e.id),localizationKey:e.name})},e.id))});return(0,o.FD)(o.FK,{children:[(0,o.FD)(A,{title:n,description:r,children:[c,b]}),(0,o.FD)(z,{children:[c,b]})]})},A=e=>{let{title:t,description:n}=e;return(0,o.FD)(l.fv,{elementDescriptor:s.$z.navbar,sx:e=>({[f.g.md]:{display:"none"},flex:"0 0 ".concat(e.space.$57),width:e.sizes.$57,position:"relative",maxWidth:e.space.$57,background:g.s.mutedBackground(e),padding:"".concat(e.space.$6," ").concat(e.space.$5," ").concat(e.space.$4," ").concat(e.space.$3),marginRight:"calc(".concat(e.space.$2," * -1)"),color:e.colors.$colorForeground,justifyContent:"space-between"}),children:[(0,o.Y)(x.$,{}),(0,o.FD)(l.fv,{sx:e=>({gap:e.space.$6,flex:"0 0 ".concat(e.space.$60)}),children:[(0,o.FD)(l.fv,{sx:e=>({gap:e.space.$0x5,padding:"".concat(e.space.$none," ").concat(e.space.$3)}),children:[(0,o.Y)(l.DZ,{as:"h1",localizationKey:t}),(0,o.Y)(l.EY,{colorScheme:"secondary",localizationKey:n})]}),e.children]}),(0,o.Y)(y.Z.ClerkAndPagesTag,{sx:{width:"fit-content"}})]})},z=(0,w.P4)(e=>{let t=k(),{floating:n,isOpen:r,open:a,close:c,nodeId:d,context:p}=(0,u.f)({defaultOpen:!1,autoUpdate:!1});return i.useEffect(()=>{t.isOpen?a():c()},[t.isOpen]),i.useEffect(()=>{r||t.close()},[r]),(0,o.Y)(_.A,{nodeId:d,context:p,isOpen:r,portal:!1,children:(0,o.Y)(l.fv,{sx:e=>({position:"absolute",top:0,bottom:0,width:"100%",zIndex:e.zIndices.$navbar,overflow:"hidden",color:e.colors.$colorForeground}),children:(0,o.Y)(l.fv,{ref:n,elementDescriptor:s.$z.navbar,tabIndex:0,sx:e=>({outline:0,position:"absolute",top:0,bottom:0,width:e.space.$60,backgroundColor:b.T.makeSolid(e.colors.$colorBackground),borderTopRightRadius:e.radii.$lg,borderBottomRightRadius:e.radii.$lg,padding:"".concat(e.space.$10," ").concat(e.space.$6),animation:"".concat(v.W.navbarSlideIn," ").concat(e.transitionDuration.$slower," ").concat(e.transitionTiming.$slowBezier),borderRightWidth:e.borderWidths.$normal,borderRightStyle:e.borderStyles.$solid,borderRightColor:e.colors.$borderAlpha150,boxShadow:e.shadows.$cardContentShadow}),children:e.children})})})}),I=e=>{let{icon:t,children:n,isActive:r,iconElementDescriptor:a,iconElementId:i,sx:s,...c}=e;return(0,o.FD)(l.$n,{variant:"unstyled",colorScheme:r?"primary":"neutral",textVariant:"buttonLarge",size:"md",isActive:r,focusRing:!1,...c,sx:[e=>({gap:e.space.$3,justifyContent:"flex-start",backgroundColor:r?e.colors.$neutralAlpha100:void 0,color:r?e.colors.$primary500:e.colors.$colorMutedForeground,"&:hover":{backgroundColor:r?void 0:e.colors.$neutralAlpha25},"&:focus":{backgroundColor:r?void 0:e.colors.$neutralAlpha50}}),s],children:[(0,o.Y)(l.In,{elementDescriptor:a,elementId:i,icon:t,sx:{opacity:r?1:.7,transform:"translateZ(0)"}}),n]})},D=e=>{let{navbarTitleLocalizationKey:t,...n}=e,{open:r}=$(),{t:a}=(0,c._)();return r?(0,o.Y)(l.so,{elementDescriptor:s.$z.navbarMobileMenuRow,sx:e=>({display:"none",background:g.s.mutedBackground(e),padding:"".concat(e.space.$2," ").concat(e.space.$3," ").concat(e.space.$4," ").concat(e.space.$3),marginBottom:"calc(".concat(e.space.$2," * -1)"),[f.g.md]:{display:"flex"}}),children:(0,o.FD)(l.$n,{elementDescriptor:s.$z.navbarMobileMenuButton,...n,onClick:r,size:"xs",textVariant:"h2",variant:"ghost",sx:e=>({color:e.colors.$colorForeground,gap:e.space.$2x5,width:"fit-content",alignItems:"center",justifyContent:"center"}),children:[(0,o.Y)(l.In,{elementDescriptor:s.$z.navbarMobileMenuButtonIcon,icon:m,size:"md"}),a(t)]})}):null}},36890:function(e,t,n){n.d(t,{h:()=>a});var r=n(14518),o=n(66195);let a=e=>{let{name:t="",imageUrl:n,...a}=e;return(0,r.Y)(o.e,{title:t,initials:(t||" ")[0],imageUrl:n,rounded:!1,...a})}},89001:function(e,t,n){n.d(t,{Q:()=>s}),n(19161),n(85074);var r=n(14518);n(35074);var o=n(18272),a=n(58920),i=n(33486),l=n(36890);let s=e=>{let{organization:t,size:n="md",icon:s,rounded:c=!1,badge:d,sx:u,user:p,avatarSx:m,mainIdentifierSx:h,mainIdentifierVariant:f,elementId:g,...v}=e,{localizeCustomRole:b}=(0,i.l)(),y=null==p?void 0:p.organizationMemberships.find(e=>e.organization.id===t.id),w=null==y?void 0:y.roleName,x=b(null==y?void 0:y.role)||w;return(0,r.FD)(o.so,{elementDescriptor:a.$z.organizationPreview,elementId:a.$z.organizationPreview.setId(g),gap:3,align:"center",as:"span",sx:[{minWidth:"0"},u],...v,children:[(0,r.FD)(o.so,{elementDescriptor:a.$z.organizationPreviewAvatarContainer,elementId:a.$z.organizationPreviewAvatarContainer.setId(g),justify:"center",as:"span",sx:{position:"relative"},children:[(0,r.Y)(l.h,{boxElementDescriptor:a.$z.organizationPreviewAvatarBox,imageElementDescriptor:a.$z.organizationPreviewAvatarImage,...t,size:e=>({xs:e.sizes.$5,sm:e.sizes.$8,md:e.sizes.$9,lg:e.sizes.$12})[n],sx:m,rounded:c}),s&&(0,r.Y)(o.so,{sx:{position:"absolute",left:0,bottom:0},children:s})]}),(0,r.FD)(o.so,{elementDescriptor:a.$z.organizationPreviewTextContainer,elementId:a.$z.organizationPreviewTextContainer.setId(g),direction:"col",justify:"center",as:"span",sx:{minWidth:"0px",textAlign:"left"},children:[(0,r.FD)(o.EY,{elementDescriptor:a.$z.organizationPreviewMainIdentifier,elementId:a.$z.organizationPreviewMainIdentifier.setId(g),variant:f||({xs:"subtitle",sm:"caption",md:"subtitle",lg:"h1"})[n],as:"span",truncate:!0,sx:h,title:t.name,children:[t.name," ",d]}),x&&(0,r.Y)(o.EY,{elementDescriptor:a.$z.organizationPreviewSecondaryIdentifier,elementId:a.$z.organizationPreviewSecondaryIdentifier.setId(g),as:"span",localizationKey:x,truncate:!0})]})]})}},18819:function(e,t,n){n.d(t,{d:()=>y}),n(30945),n(19161),n(22239);var r,o,a=n(14518),i=n(18272),l=n(58920),s=n(22861),c=n(10078),d=n(35074);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let p=function(e){return d.createElement("svg",u({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),r||(r=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.55 4.24a.75.75 0 0 1-.04 1.06L6.604 7.998l2.655 2.45a.744.744 0 0 1 .021.022l.25.25a.75.75 0 1 1-1.06 1.06l-.24-.24-3.239-2.989a.75.75 0 0 1-.001-1.1l3.5-3.25a.75.75 0 0 1 1.06.039Z"})))};function m(){return(m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let h=function(e){return d.createElement("svg",m({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),o||(o=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.45 11.76a.75.75 0 0 1 .04-1.06l2.906-2.698-2.655-2.45a.756.756 0 0 1-.021-.022l-.25-.25a.75.75 0 0 1 1.06-1.06l.24.24 3.239 2.989a.75.75 0 0 1 .001 1.1l-3.5 3.25a.75.75 0 0 1-1.06-.039Z"})))};var f=n(37591);let g=e=>{let{sx:t,isActive:n,icon:r,children:o,...s}=e;return(0,a.FD)(i.$n,{size:"xs",variant:"outline",sx:e=>[{color:e.colors.$colorForeground,opacity:n?1:e.opacity.$inactive,padding:"".concat(e.space.$0x5," ").concat(e.space.$0x5)},t],elementDescriptor:l.$z.paginationButton,...s,children:[r&&(0,a.Y)(i.In,{size:"md",elementDescriptor:l.$z.paginationButtonIcon,icon:e.icon}),o]})},v=e=>{var t,n,r,o;let{rowInfo:{startingRow:c,endingRow:d,allRowsCount:u}}=e;return(0,a.FD)(i.EY,{children:[(0,a.Y)(i.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:null==(t=l.$z.paginationRowText)?void 0:t.setId("displaying"),sx:e=>({opacity:e.opacity.$inactive}),localizationKey:(0,s.G)("paginationRowText__displaying"),colorScheme:"secondary"})," ",(0,a.Y)(i.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:null==(n=l.$z.paginationRowText)?void 0:n.setId("rowsCount"),sx:e=>({fontWeight:e.fontWeights.$medium}),children:c===d&&[0,1].includes(c)?c:"".concat(c," – ").concat(d)})," ",(0,a.Y)(i.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:null==(r=l.$z.paginationRowText)?void 0:r.setId("displaying"),sx:e=>({opacity:e.opacity.$inactive}),localizationKey:(0,s.G)("paginationRowText__of")})," ",(0,a.Y)(i.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:null==(o=l.$z.paginationRowText)?void 0:o.setId("allRowsCount"),children:u})]})},b=()=>(0,a.Y)(i.so,{center:!0,children:(0,a.Y)(i.EY,{colorScheme:"secondary",children:"..."})}),y=e=>{let{page:t,count:n,rowInfo:r,siblingCount:o=1,onChange:l}=e,{t:d}=(0,c._)();return(0,a.FD)(i.so,{justify:r?"between":"center",align:"center",sx:e=>({fontSize:e.fontSizes.$sm,"*":{fontSize:"inherit"},[f.g.sm]:{flexDirection:"column",gap:e.space.$2}}),children:[r&&(0,a.Y)(v,{rowInfo:r}),(0,a.FD)(i.so,{gap:2,align:"center",sx:{display:"inline-flex"},children:[(0,a.Y)(g,{isDisabled:t<=1,icon:p,"aria-label":d((0,s.G)("paginationButton__previous")),onClick:()=>{null==l||l(t-1)}}),Array.from({length:n-1+1},(e,t)=>1+t).map(e=>Math.abs(t-e)<=o||e===n||1===e?(0,a.Y)(g,{isActive:e===t,variant:"ghost",onClick:()=>{null==l||l(e)},children:e},e):Math.abs(t-e)===o+1?(0,a.Y)(b,{},e):null),(0,a.Y)(g,{isDisabled:t>=n||t<1,icon:h,"aria-label":d((0,s.G)("paginationButton__next")),onClick:()=>{null==l||l(t+1)}})]})]})}},80781:function(e,t,n){n.d(t,{i:()=>a});var r=n(14518),o=n(29345);let a=e=>(0,r.Y)(o.c,{elementId:"personalWorkspace",rounded:!1,...e})},51820:function(e,t,n){n.d(t,{mK:()=>o,nU:()=>i,zh:()=>l}),n(32880),n(25902),n(56359),n(894),n(6373),n(63418),n(93412),n(88711),n(58814),n(19161),n(8451),n(10676);let r=[["United States","us","1","(...) ...-....",100],["United Kingdom","gb","44",".... ......",100],["India","in","91",".....-.....",100],["Canada","ca","1","(...) ...-....",100],["Germany","de","49","... .......",100],["France","fr","33",". .. .. .. ..",100],["Russia","ru","7","... ...-..-..",100],["Afghanistan","af","93"],["\xc5land Islands","ax","358"],["Albania","al","355"],["Algeria","dz","213"],["American Samoa","as","1684"],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1264"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54"],["Armenia","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61","... ... ..."],["Austria","at","43"],["Azerbaijan","az","994"],["Bahamas","bs","1242"],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1246"],["Belarus","by","375"],["Belgium","be","32","... .. .. .."],["Belize","bz","501"],["Benin","bj","229"],["Bermuda","bm","1441"],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1284"],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599"],["Cayman Islands","ky","1345"],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86","...-....-...."],["Colombia","co","57"],["Comoros","km","269"],["Democratic Republic of the Congo","cd","243"],["Republic of the Congo","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506","....-...."],["C\xf4te d’Ivoire","ci","225"],["Croatia","hr","385"],["Cuba","cu","53"],["Cura\xe7ao","cw","599"],["Cyprus","cy","357"],["Czech Republic","cz","420"],["Denmark","dk","45",".. .. .. .."],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic","do","1"],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503","....-...."],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372"],["Ethiopia","et","251"],["Falkland Islands","fk","500"],["Faroe Islands","fo","298"],["Fiji","fj","679"],["Finland","fi","358",".. ... .. .."],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Ghana","gh","233"],["Gibraltar","gi","350"],["Greece","gr","30","... ......."],["Greenland","gl","299"],["Grenada","gd","1473"],["Guadeloupe","gp","590"],["Guam","gu","1671"],["Guatemala","gt","502","....-...."],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509","....-...."],["Honduras","hn","504"],["Hong Kong","hk","852",".... ...."],["Hungary","hu","36"],["Iceland","is","354","... ...."],["Indonesia","id","62"],["Iran","ir","98"],["Iraq","iq","964"],["Ireland","ie","353",".. ......."],["Israel","il","972"],["Italy","it","39","... ......"],["Jamaica","jm","1876"],["Japan","jp","81","... .. ...."],["Jordan","jo","962"],["Kazakhstan","kz","7","... ...-..-.."],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996"],["Laos","la","856"],["Latvia","lv","371"],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60","..-....-...."],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mayotte","yt","262"],["Mexico","mx","52"],["Micronesia","fm","691"],["Moldova","md","373"],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Montserrat","ms","1664"],["Morocco","ma","212"],["Mozambique","mz","258"],["Myanmar","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31",".. ........"],["New Caledonia","nc","687"],["New Zealand","nz","64","...-...-...."],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea","kp","850"],["North Macedonia","mk","389"],["Northern Mariana Islands","mp","1670"],["Norway","no","47","... .. ..."],["Oman","om","968"],["Pakistan","pk","92","...-......."],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63","... ...."],["Poland","pl","48","...-...-..."],["Portugal","pt","351"],["Puerto Rico","pr","1"],["Qatar","qa","974"],["R\xe9union","re","262"],["Romania","ro","40"],["Rwanda","rw","250"],["Saint Barth\xe9lemy","bl","590"],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Martin","mf","590"],["Saint Pierre and Miquelon","pm","508"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["S\xe3o Tom\xe9 and Pr\xedncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65","....-...."],["Sint Maarten","sx","1721"],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82"],["South Sudan","ss","211"],["Spain","es","34","... ... ..."],["Sri Lanka","lk","94"],["Sudan","sd","249"],["Suriname","sr","597"],["Eswatini","sz","268"],["Sweden","se","46",".. ... .. .."],["Switzerland","ch","41",".. ... .. .."],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia","tn","216"],["Turkey","tr","90","... ... .. .."],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1649"],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1340"],["Uganda","ug","256"],["Ukraine","ua","380"],["United Arab Emirates","ae","971"],["Uruguay","uy","598"],["Uzbekistan","uz","998"],["Vanuatu","vu","678"],["Vatican City","va","39",".. .... ...."],["Venezuela","ve","58"],["Vietnam","vn","84"],["Wallis and Futuna","wf","681"],["Western Sahara","eh","212"],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"]],o={us:new Set(["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]),ca:new Set(["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"])},a=e=>{let[t,n,r,o="",a=0]=e;return{name:t,iso:n,code:r,pattern:o,priority:a}},i=r.reduce((e,t)=>e.set(t[1],a(t)),new Map),l=r.reduce((e,t)=>{let n=t[2],r=a(t);if(e.has(n)){var o;null==(o=e.get(n))||o.push(r)}else e.set(n,[r]);return e},new Map)},74373:function(e,t,n){n.d(t,{A:()=>a});var r=n(14518),o=n(42119);n(35074);let a=e=>{let{context:t,initialFocus:n,outsideElementsInert:a=!1,order:i=["reference","content"],nodeId:l,isOpen:s,portal:c=!0,root:d,children:u}=e;return c?(0,r.Y)(o.$c,{id:l,children:(0,r.Y)(o.XF,{root:d,children:s&&(0,r.Y)(o.s3,{context:t,initialFocus:n,outsideElementsInert:a,order:i,children:(0,r.Y)(r.FK,{children:u})})})}):(0,r.Y)(o.$c,{id:l,children:s&&(0,r.Y)(o.s3,{context:t,initialFocus:n,order:i,children:(0,r.Y)(r.FK,{children:u})})})}},67591:function(e,t,n){n.d(t,{Y:()=>h});var r=n(14518),o=n(35074),a=n(97697),i=n(44607),l=n(58920),s=n(18272),c=n(16580),d=n(44374),u=n(41464),p=n(14620),m=n(23707);let h={Root:o.forwardRef((e,t)=>{let{elementDescriptor:n,shouldEntryAnimate:o=!0,...a}=e;return(0,r.Y)(i.n.Part,{part:"popover",children:(0,r.Y)(m.Z.Root,{elementDescriptor:[l.$z.popoverBox,n],...a,ref:t,sx:[e=>({width:e.sizes.$94,maxWidth:"calc(100vw - ".concat(e.sizes.$8,")"),zIndex:e.zIndices.$modal,borderRadius:e.radii.$xl,outline:"none"}),e=>({animation:o?"".concat(d.W.dropdownSlideInScaleAndFade," ").concat(e.transitionDuration.$fast):void 0})],children:e.children})})}),Content:e=>{let{sx:t,...n}=e;return(0,r.Y)(s.so,{direction:"col",sx:[e=>({backgroundColor:e.colors.$colorBackground,overflow:"hidden",borderRadius:e.radii.$lg,zIndex:e.zIndices.$card,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,marginInline:"-1px",marginBlockStart:"-1px"}),t],...n,children:e.children})},Footer:e=>{let{sx:t,children:n,...o}=e,{branded:i}=(0,a.O)().displayConfig,{privacyPageUrl:l,termsPageUrl:d,helpPageUrl:h}=(0,c.K)().parsedOptions;return(0,r.FD)(s.fv,{justify:"between",sx:[e=>({background:u.s.mergedColorsBackground(p.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50),marginTop:"calc(".concat(e.space.$2," * -1)"),paddingTop:e.space.$2,"&:empty":{padding:0,marginTop:0},">:not(:first-of-type)":{padding:"".concat(e.space.$4," ").concat(e.space.$8),borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100}}),t],...o,children:[n,(0,r.Y)(m.Z.ClerkAndPagesTag,{outerSx:e=>({padding:"".concat(e.space.$4," ").concat(e.space.$8)}),withFooterPages:!!(i||l||d||h),devModeNoticeSx:e=>({padding:e.space.$none}),withDevOverlay:!0})]})}}},81986:function(e,t,n){n.d(t,{Z:()=>a});var r=n(35074),o=n(5323);let a=e=>{let t=r.useRef(document.createElement("div"));return r.useEffect(()=>(document.body.appendChild(t.current),()=>{document.body.removeChild(t.current)}),[]),(0,o.createPortal)(e.children,t.current)}},80750:function(e,t,n){n.d(t,{P:()=>i});var r=n(14518),o=n(18272),a=n(63269);let i=e=>{let{sx:t,children:n,icon:i,iconProps:l,showIconOnHover:s=!0,...c}=e,d=(0,a.f0)(),{sx:u,...p}=l||{};return(0,r.FD)(o.$n,{variant:"ghost",colorScheme:"neutral",focusRing:!1,block:!0,hoverAsFocus:!0,isDisabled:d.isLoading,sx:[e=>({justifyContent:"space-between",padding:"".concat(e.space.$4," ").concat(e.space.$5),borderRadius:0,...s?{":hover > svg":{visibility:"initial"}}:{}}),t],...c,children:[n,i&&(0,r.Y)(o.In,{icon:i,sx:[e=>({color:e.colors.$colorMutedForeground,marginLeft:e.space.$2,visibility:s?"hidden":"initial"}),u],...p})]})}},65396:function(e,t,n){n.d(t,{a:()=>h});var r=n(14518),o=n(35074),a=n(18272),i=n(58920),l=n(4964),s=n(37591),c=n(41464),d=n(5057),u=n(23707),p=n(50155),m=n(86705);let h={Root:o.forwardRef((e,t)=>{let{sx:n,children:o,...l}=e,{toggle:c}=(0,m.Y)();return(0,r.FD)(u.Z.Root,{ref:t,sx:[e=>({width:e.sizes.$220,maxWidth:"calc(100vw - ".concat(e.sizes.$8,")"),display:"flex",flexDirection:"row",[s.g.md]:{display:"flex",flexDirection:"column"},overflow:"hidden",height:e.sizes.$176,position:"relative"}),n],...l,children:[c&&(0,r.Y)(a.az,{sx:e=>({[s.g.md]:{padding:"".concat(e.space.$1x5," ").concat(e.space.$2),top:e.space.$none,right:e.space.$none},zIndex:e.zIndices.$modal,position:"absolute",top:e.space.$2,right:e.space.$2}),children:(0,r.Y)(p.K,{elementDescriptor:i.$z.modalCloseButton,variant:"ghost","aria-label":"Close modal",onClick:c,icon:(0,r.Y)(a.In,{icon:d.A,size:"sm"}),sx:e=>({color:e.colors.$colorMutedForeground,padding:e.space.$3})})}),o,(0,r.Y)(u.Z.Footer,{isProfileFooter:!0,sx:{display:"none",[s.g.md]:{display:"flex"}}})]})}),Content:e=>{let{contentRef:t,children:n,scrollBoxId:d}=e,u=(0,l.r)(),p=o.useRef(0);return o.useEffect(()=>{var e;let n=e=>{let t=e.target;t.scrollTop&&(p.current=t.scrollTop)};return null==t||null==(e=t.current)||e.addEventListener("scroll",n),()=>{var e;return null==t||null==(e=t.current)?void 0:e.removeEventListener("scroll",n)}},[]),o.useLayoutEffect(()=>{p.current&&(null==t?void 0:t.current)&&(t.current.scrollTop=p.current)},[u.currentPath]),(0,r.Y)(a.fv,{elementDescriptor:i.$z.scrollBox,sx:e=>({backgroundColor:e.colors.$colorBackground,position:"relative",borderRadius:e.radii.$lg,width:"100%",overflow:"hidden",borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,marginBlock:"-1px",marginInlineEnd:"-1px",flex:1}),"data-clerk-profile-scroll-box-root":d,children:(0,r.Y)(a.fv,{elementDescriptor:i.$z.pageScrollBox,sx:e=>({flex:"1",scrollbarGutter:"stable",paddingTop:e.space.$7,paddingBottom:e.space.$7,paddingLeft:e.space.$8,paddingRight:e.space.$6,[s.g.sm]:{padding:"".concat(e.space.$8," ").concat(e.space.$5)},...c.s.maxHeightScroller(e)}),ref:t,children:n})})}}},26760:function(e,t,n){n.d(t,{U:()=>l}),n(19161),n(6560),n(50036),n(58814),n(8451),n(88711);var r=n(14518),o=n(35074),a=n(16580),i=n(66505);let l=e=>{let t=(0,a.K)(),n=c(o.Children.toArray(e.children),e=>(0,r.Y)(i.c,{},"divider".concat(e)));return(0,r.Y)(s,{reverse:"bottom"===t.parsedOptions.socialButtonsPlacement,...e,children:n})},s=e=>{let{children:t,reverse:n}=e;return(0,r.Y)(r.FK,{children:n?o.Children.toArray(t).reverse():t})},c=(e,t)=>e.reduce((n,r,o)=>o===e.length-1?[...n,r]:[...n,r,t(o)],[])},31005:function(e,t,n){n.d(t,{M:()=>a});var r=n(14518),o=n(18272);let a=e=>(0,r.Y)(o.fv,{...e,sx:e=>({boxSizing:"border-box",width:"fit-content",color:e.colors.$colorForeground,fontFamily:e.fonts.$main,fontStyle:e.fontStyles.$normal})})},44387:function(e,t,n){n.d(t,{W:()=>i});var r=n(14518),o=n(18272),a=n(4964);let i=e=>{let{to:t,onClick:n,...i}=e,l=(0,a.r)(),s=l.resolve(t||l.indexPath);return(0,r.Y)(o.N_,{...i,onClick:e=>(e.preventDefault(),n&&!t)?n(e):l.navigate(s.href),href:s.href})}},44003:function(e,t,n){n.d(t,{rd:()=>m}),n(88711);var r=n(14518),o=n(35074),a=n(18272),i=n(58920),l=n(9679),s=n(37591),c=n(30579),d=n(38738),u=n(74365);let p=(0,o.forwardRef)((e,t)=>{let{children:n,leftIcon:o=l.A,id:a,sx:s,localizationKey:c,...u}=e;return(0,r.Y)(d.X,{elementDescriptor:i.$z.profileSectionPrimaryButton,elementId:i.$z.profileSectionPrimaryButton.setId(a),variant:"ghost",sx:[e=>({textWrap:"nowrap",justifyContent:"start",height:e.sizes.$8}),s],textLocalizationKey:c,leftIcon:o,leftIconSx:e=>({width:e.sizes.$4,height:e.sizes.$4}),ref:t,...u,children:n})}),m={Root:e=>{let{title:t,centered:n=!0,children:l,id:c,sx:d,...u}=e,p=(0,o.useRef)(null),[m,f]=(0,o.useState)(0);return(0,o.useLayoutEffect)(()=>{let e=p.current;e&&f(e.clientHeight+e.clientTop||0)},[]),(0,r.FD)(a.so,{elementDescriptor:i.$z.profileSection,elementId:i.$z.profileSection.setId(c),sx:[e=>({flexDirection:"row-reverse",borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100,paddingTop:e.space.$4,paddingBottom:e.space.$4,gap:e.space.$6,[s.g.lg]:{flexDirection:"column-reverse",gap:e.space.$2}}),d],...u,children:[(0,r.Y)(a.fv,{elementDescriptor:i.$z.profileSectionContent,elementId:i.$z.profileSectionContent.setId(c),gap:2,ref:p,sx:{minWidth:0,width:"100%","+ *":{"--clerk-height":"".concat(m,"px")}},children:l}),(0,r.Y)(a.fv,{elementDescriptor:i.$z.profileSectionHeader,elementId:i.$z.profileSectionHeader.setId(c),sx:e=>({padding:n?void 0:"".concat(e.space.$1x5," 0"),gap:e.space.$1,width:e.space.$66,alignSelf:m?"self-start":n?"center":void 0,marginTop:n?"calc(var(--clerk-height)/2)":void 0,transform:m&&n?"translateY(-50%)":void 0,[s.g.lg]:{alignSelf:"self-start",marginTop:"unset",transform:"none",padding:0}}),children:(0,r.Y)(h,{localizationKey:t,elementDescriptor:i.$z.profileSectionTitle,elementId:i.$z.profileSectionTitle.setId(c),textElementDescriptor:i.$z.profileSectionTitleText,textElementId:i.$z.profileSectionTitleText.setId(c)})})]})},ItemList:e=>{let{children:t,id:n,disableAnimation:o=!1,...l}=e,s=(0,r.Y)(a.fv,{elementDescriptor:i.$z.profileSectionItemList,elementId:i.$z.profileSectionItemList.setId(n),sx:e=>({gap:e.space.$0x5}),...l,children:t});return o?s:(0,r.Y)(c.k,{asChild:!0,children:s})},Item:e=>{let{children:t,id:n,sx:o,hoverable:l,...s}=e;return(0,r.Y)(a.so,{elementDescriptor:i.$z.profileSectionItem,elementId:i.$z.profileSectionItem.setId(n),sx:[e=>({justifyContent:"space-between",width:"100%",alignItems:"center",padding:"".concat(e.space.$1," ").concat(e.space.$1," ").concat(e.space.$1," ").concat(e.space.$2x5),gap:e.space.$2,...l&&{borderRadius:e.radii.$lg,":hover":{backgroundColor:e.colors.$neutralAlpha50}}}),o],...s,children:t})},Button:e=>{let{children:t,id:n,sx:o,...l}=e;return(0,r.Y)(a.$n,{elementDescriptor:i.$z.profileSectionPrimaryButton,elementId:i.$z.profileSectionPrimaryButton.setId(n),variant:"ghost",sx:[e=>({whiteSpace:"nowrap",justifyContent:"start",gap:e.space.$2,padding:"".concat(e.space.$1x5," ").concat(e.space.$3," ").concat(e.space.$1x5," ").concat(e.space.$2x5)}),o],...l,children:t})},ArrowButton:p,ButtonGroup:e=>{let{children:t,id:n,...o}=e;return(0,r.Y)(a.so,{elementDescriptor:i.$z.profileSectionButtonGroup,elementId:i.$z.profileSectionButtonGroup.setId(n),justify:"between",gap:2,...o,children:t})},ActionMenu:e=>{let{children:t,triggerLocalizationKey:n,id:o,triggerSx:i,onClick:s}=e;return(0,r.Y)(a.so,{sx:{position:"relative"},children:(0,r.FD)(u.W1,{elementId:o,children:[(0,r.Y)(u.cQ,{children:(0,r.Y)(p,{id:o,textLocalizationKey:n,sx:[e=>({justifyContent:"start",height:e.sizes.$8}),i],leftIcon:l.A,leftIconSx:e=>({width:e.sizes.$4,height:e.sizes.$4}),onClick:s})}),(0,r.Y)(u.cO,{asPortal:!1,sx:e=>({width:"100%",padding:e.space.$1}),children:t})]})})},ActionMenuItem:e=>{let{children:t,isLoading:n,localizationKey:l,sx:s,leftIcon:c,leftIconSx:d,...p}=e,m=(0,o.isValidElement)(c);return(0,r.FD)(u.Dr,{sx:[e=>({padding:"".concat(e.space.$1x5," ").concat(e.space.$2)}),s],isLoading:n,...p,children:[(n||c)&&(0,r.Y)(a.so,{as:"span",sx:e=>({flex:"0 0 ".concat(e.space.$4)}),children:n?(0,r.Y)(a.y$,{elementDescriptor:i.$z.spinner,size:"sm"}):!m&&c?(0,r.Y)(a.In,{icon:c,sx:[e=>({color:e.colors.$neutralAlpha600,width:e.sizes.$5}),d]}):c}),(0,r.Y)(a.EY,{localizationKey:l})]})}},h=e=>{let{textElementDescriptor:t,textElementId:n,localizationKey:o,...i}=e;return(0,r.Y)(a.so,{...i,children:(0,r.Y)(a.EY,{localizationKey:o,variant:"subtitle",elementDescriptor:t,elementId:n})})}},76839:function(e,t,n){n.d(t,{I:()=>u}),n(98114),n(88711);var r=n(14518),o=n(42119),a=n(35074),i=n(18272),l=n(58920);let s=(0,a.createContext)(null),c=a.forwardRef((e,t)=>{let{children:n,value:c,defaultValue:d,onChange:u,"aria-label":p,"aria-labelledby":m,size:h="md",fullWidth:f=!1,sx:g}=e,[v,b]=(0,a.useState)(d),y=void 0!==c;return(0,r.Y)(s.Provider,{value:{currentValue:y?c:v,onValueChange:e=>{y||b(e),null==u||u(e)},size:h,fullWidth:f},children:(0,r.Y)(o.eC,{orientation:"horizontal",role:"radiogroup",loop:!1,render:(0,r.Y)(i.so,{ref:t,elementDescriptor:l.$z.segmentedControlRoot,"aria-label":p,"aria-labelledby":m,sx:[e=>({backgroundColor:e.colors.$neutralAlpha50,borderRadius:e.radii.$md,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha100,isolation:"isolate"}),g]}),children:n})})});c.displayName="SegmentedControl.Root";let d=a.forwardRef((e,t)=>{let{text:n,value:c}=e,{currentValue:d,onValueChange:u,size:p,fullWidth:m}=function(){let e=(0,a.useContext)(s);if(!e)throw Error("SegmentedControl.Button must be used within SegmentedControl.Root");return e}(),h=c===d;return(0,r.Y)(o.lb,{render:e=>(0,r.Y)(i.dF,{ref:t,...e,localizationKey:n,elementDescriptor:l.$z.segmentedControlButton,variant:"unstyled",role:"radio","aria-checked":h,onClick:()=>u(c),isActive:h,sx:e=>({position:"relative",width:m?"100%":"auto",backgroundColor:h?e.colors.$colorBackground:"transparent",color:h?e.colors.$colorForeground:e.colors.$colorMutedForeground,fontSize:"lg"===p?e.fontSizes.$md:e.fontSizes.$xs,minHeight:e.sizes.$6,boxShadow:h?e.shadows.$segmentedControl:"none",borderRadius:"calc(".concat(e.radii.$md," - ").concat(e.borderWidths.$normal,")"),zIndex:1,":focus-visible":{zIndex:2}})})})});d.displayName="SegmentedControl.Button";let u={Root:c,Button:d}},41586:function(e,t,n){n.d(t,{JC:()=>k,l6:()=>y,UL:()=>S}),n(88711),n(19161),n(85074),n(22239);var r=n(14518),o=n(21210),a=n(35074),i=n(18272),l=n(58920),s=n(11577);n(58814),n(8451),n(95055);var c=n(67649),d=n(41464),u=n(44374),p=n(14620),m=n(63269),h=n(74373);let[f,g]=(0,o.e3)("SelectState"),v=(e,t)=>(0,r.Y)(i.so,{sx:e=>({position:"relative",width:"100%",padding:"".concat(e.space.$2," ").concat(e.space.$4),margin:"0 ".concat(e.space.$1),borderRadius:e.radii.$md,'&:hover, &[data-focused="true"]':{background:d.s.mutedBackground(e)},"&::before":{content:'""',position:"absolute",inset:"calc(".concat(e.space.$0x5," * -1) calc(").concat(e.space.$1," * -1)")}}),children:(0,r.Y)(i.EY,{truncate:!0,children:e.label||e.value})}),b=e=>e.label||e.value,y=(0,m.P4)(e=>{let{value:t,options:n,onChange:o,renderOption:i,noResultsMessage:l,comparator:c,placeholder:d="Select an option",searchPlaceholder:u,elementId:p,children:m,portal:h=!1,referenceElement:g=null,...y}=e,w=(0,s.f)({autoUpdate:!0,adjustToReferenceWidth:!!g,referenceElement:g}),x=w.toggle,_=a.useRef(null),$=(e=>{let{items:t,comparator:n,searchTermForItem:r}=e,[o,i]=a.useState(""),l=a.useMemo(()=>t.reduce((e,t)=>(e.set(t,null==r?void 0:r(t)),e),new Map),[t]),s=a.useMemo(()=>o?t.filter(e=>n(o,e,l.get(e))):t,[t,o]);return{searchInputProps:{onChange:e=>i(e.target.value||""),value:o},filteredItems:s}})({items:n,comparator:c||(()=>!0)}),C=a.useCallback(e=>{null==o||o(e),x()},[x,o]),P=(0,r.FD)(r.FK,{children:[(0,r.Y)(S,{}),(0,r.Y)(k,{})]});return(0,r.Y)(f.Provider,{value:{value:{popoverCtx:w,searchInputCtx:$,selectedOption:n.find(e=>e.value===t)||null,noResultsMessage:l,focusedItemRef:_,value:t,renderOption:i||v,buttonRenderOption:i||b,placeholder:d,searchPlaceholder:u,comparator:c,select:C,onTriggerClick:x,elementId:p,portal:h}},...y,children:a.Children.count(m)?m:P})}),w=a.memo(a.forwardRef((e,t)=>{let{option:n,renderOption:o,isSelected:s,index:c,handleSelect:d,isFocused:u,elementId:p}=e;return(0,r.Y)(i.so,{ref:t,sx:{userSelect:"none",cursor:"pointer"},onClick:()=>{d(n)},children:a.cloneElement(o(n,c,s),{elementDescriptor:l.$z.selectOption,elementId:l.$z.selectOption.setId(p),"data-selected":s,"data-focused":u})})})),x=e=>{let{sx:t,...n}=e;a.useEffect(()=>()=>e.onChange({target:{value:""}}),[]);let{elementId:o}=g();return(0,r.Y)(i.so,{sx:e=>({padding:e.space.$0x5}),children:(0,r.Y)(i.pd,{elementDescriptor:l.$z.selectSearchInput,elementId:l.$z.selectSearchInput.setId(o),focusRing:!1,variant:"unstyled",sx:[e=>({borderRadius:e.radii.$md,backgroundColor:e.colors.$neutralAlpha100,padding:e.space.$2}),t],...n})})},_=e=>{let{sx:t,...n}=e;return(0,r.Y)(i.EY,{as:"div",sx:[e=>({width:"100%",padding:"".concat(e.space.$1," ").concat(e.space.$2," ").concat(e.space.$2," ").concat(e.space.$2)}),t],...n})},S=e=>{let{containerSx:t,sx:n,...o}=e,{popoverCtx:s,searchInputCtx:c,value:d,renderOption:m,searchPlaceholder:f,comparator:v,focusedItemRef:b,noResultsMessage:y,select:S,onTriggerClick:k,elementId:$,portal:C}=g(),{filteredItems:P,searchInputProps:A}=c,[z,I]=(0,a.useState)(0),{isOpen:D,floating:Y,styles:R,nodeId:E,context:T}=s,F=a.useRef(null);return a.useEffect(()=>{var e,t;D?null==(t=b.current)||null==(e=t.scrollIntoView)||e.call(t,{block:"nearest"}):I(-1)},[z,D]),a.useEffect(()=>I(0),[P.length]),a.useEffect(()=>{var e,t,n;if(v||null==F||null==(e=F.current)||e.focus(),D){I(P.findIndex(e=>e.value===d)),null==(n=b.current)||null==(t=n.scrollIntoView)||t.call(n,{block:"nearest"});return}},[D]),(0,r.Y)(h.A,{nodeId:E,context:T,isOpen:D,portal:C||!1,order:["content"],children:(0,r.FD)(i.so,{elementDescriptor:l.$z.selectOptionsContainer,elementId:l.$z.selectOptionsContainer.setId($),ref:Y,onKeyDown:e=>"ArrowUp"===e.key?(e.preventDefault(),D)?I(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return 0===e?P.length-1:e-1}):k():"ArrowDown"===e.key?(e.preventDefault(),D)?I(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e===P.length-1?0:e+1}):k():"Enter"===e.key&&z>=0?(e.preventDefault(),S(P[z])):void 0,direction:"col",justify:"start",sx:[e=>({backgroundColor:p.T.makeSolid(e.colors.$colorBackground),borderRadius:e.radii.$lg,overflow:"hidden",animation:"".concat(u.W.dropdownSlideInScaleAndFade," ").concat(e.transitionDuration.$slower," ").concat(e.transitionTiming.$slowBezier),transformOrigin:"top center",boxShadow:e.shadows.$menuShadow,zIndex:e.zIndices.$dropdown}),n],style:{...R,left:R.left-1},children:[v&&(0,r.Y)(x,{placeholder:f,...A}),(0,r.FD)(i.so,{ref:F,direction:"col",tabIndex:v?void 0:0,sx:[e=>({gap:e.space.$0x5,outline:"none",overflowY:"auto",maxHeight:"18vh",padding:"".concat(e.space.$0x5," ").concat(e.space.$0x5)}),t],...o,children:[P.map((e,t)=>{let n=t===z,o=d===e.value;return(0,r.Y)(w,{index:t,ref:n?b:void 0,option:e,renderOption:m,isSelected:o,isFocused:n,handleSelect:S,elementId:$},e.value)}),y&&0===P.length&&(0,r.Y)(_,{children:y})]})]})})},k=e=>{let{sx:t,children:n,icon:o,iconSx:a,...s}=e,{popoverCtx:d,onTriggerClick:u,buttonRenderOption:p,selectedOption:m,placeholder:h,elementId:f}=g(),{reference:v}=d,b=n;return n||(b=m?p(m):(0,r.Y)(i.EY,{as:"span",sx:e=>({opacity:e.opacity.$inactive}),children:h})),(0,r.FD)(i.$n,{elementDescriptor:l.$z.selectButton,elementId:l.$z.selectButton.setId(f),ref:v,variant:"outline",textVariant:"buttonLarge",onClick:u,sx:[e=>({gap:e.space.$2,paddingLeft:e.space.$3x5,paddingRight:e.space.$3x5,alignItems:"center","> *":{pointerEvents:"none"}}),t],...s,children:[b,(0,r.Y)(i.In,{elementDescriptor:l.$z.selectButtonIcon,elementId:l.$z.selectButtonIcon.setId(f),size:"md",icon:o||c.A,sx:a})]})}},33226:function(e,t,n){n.d(t,{V:()=>y}),n(88711),n(30945),n(22501),n(58910),n(73985),n(39267),n(19161),n(22239);var r=n(14518),o=n(81652),a=n(21210),i=n(35074),l=n(62660),s=n(16580),c=n(18272),d=n(58920),u=n(22861),p=n(19835),m=n(42229),h=n(37591),f=n(6735),g=n(98975),v=n(63269),b=n(2523);let y=i.memo(e=>{var t,n,i;let{oauthCallback:g,web3Callback:y,alternativePhoneCodeCallback:_,enableOAuthProviders:S=!0,enableWeb3Providers:k=!0,enableAlternativePhoneCodeProviders:$=!0,idleAfterDelay:C=!0,showLastAuthenticationStrategy:P=!1}=e,{web3Strategies:A,authenticatableOauthStrategies:z,strategyToDisplayData:I,alternativePhoneCodeChannels:D}=(0,p.k)(),Y=(0,m.F)(),R=(0,v.f0)(),E=(0,a.ho)(),{socialButtonsVariant:T}=(0,s.K)().parsedOptions,F=[...S?z:[],...k?A:[],...$?D:[]];if(!F.length)return null;let L=P?null==(t=E.client)?void 0:t.lastAuthenticationStrategy:null,M=(null==L?void 0:L.startsWith("saml_"))?L.replace("saml_","oauth_"):L,B=M&&F.includes(M)?M:null,{strategyRows:O,lastAuthenticationStrategyPresent:j}=(0,b.a)([...F],5,B),W=null!=(i=null==(n=O.at(+!!j))?void 0:n.length)?i:0,U=j?F.length-1:F.length,H=!j&&2===F.length,N="blockButton"===T||"iconButton"!==T&&F.length<=2,K=async e=>{R.setLoading(e);try{e.startsWith("web3_")?await y(e):await g(e)}catch{await (0,f.y)(1e3),R.setIdle()}C&&(await (0,f.y)(5e3),R.setIdle())},V=N?x:w;return(0,r.Y)(c.so,{direction:"col",gap:2,elementDescriptor:d.$z.socialButtonsRoot,children:O.map((e,t)=>(0,r.Y)(c.xA,{elementDescriptor:d.$z.socialButtons,gap:2,sx:n=>({justifyContent:"center",[h.g.sm]:{gridTemplateColumns:H?"repeat(1, minmax(0, 1fr))":void 0},gridTemplateColumns:F.length<1?"repeat(1, minmax(0, 1fr))":"repeat(".concat(e.length,", ").concat(0===t?"minmax(0, 1fr)":"minmax(0, calc((100% - (".concat(W," - 1) * ").concat(n.sizes.$2,") / ").concat(W,"))"),")")}),children:e.map(t=>{let n=1===U||t===B&&1===e.length,a=n?"Continue with ".concat(I[t].name):I[t].name,i=n?(0,u.G)("socialButtonsBlockButton",{provider:I[t].name}):(0,u.G)("socialButtonsBlockButtonManyInView",{provider:I[t].name}),s=I[t].iconUrl?(0,r.Y)(c._V,{elementDescriptor:[d.$z.providerIcon,d.$z.socialButtonsProviderIcon],elementId:d.$z.socialButtonsProviderIcon.setId(I[t].id),isLoading:R.loadingMetadata===t,isDisabled:R.isLoading,src:I[t].iconUrl,alt:"Sign in with ".concat(I[t].name),sx:e=>({width:e.sizes.$4,height:"auto",maxWidth:"100%"})}):(0,r.Y)(l.T,{id:I[t].id,value:I[t].name,isLoading:R.loadingMetadata===t,isDisabled:R.isLoading});return(0,r.Y)(V,{id:I[t].id,onClick:async()=>{(0,o.y)(t)?_(t):await K(t)},isLoading:R.loadingMetadata===t,isDisabled:R.isLoading,label:a,textLocalizationKey:i,icon:s,lastAuthenticationStrategy:t===B&&Y>1},t)})},e.join("-")))})}),w=(0,i.forwardRef)((e,t)=>{let{icon:n,label:o,id:a,textLocalizationKey:i,lastAuthenticationStrategy:l,...s}=e;return l?(0,r.Y)(x,{...e,ref:t}):(0,r.Y)(c.$n,{ref:t,elementDescriptor:d.$z.socialButtonsIconButton,elementId:d.$z.socialButtonsIconButton.setId(a),textVariant:"buttonLarge",variant:"outline",colorScheme:"neutral",hoverAsFocus:!0,sx:e=>({minHeight:e.sizes.$8,width:"100%"}),...s,children:n})}),x=(0,i.forwardRef)((e,t)=>{let{id:n,icon:o,isLoading:a,label:l,textLocalizationKey:s,lastAuthenticationStrategy:u,...p}=e,m=(0,i.isValidElement)(o);return(0,r.FD)(c.dF,{elementDescriptor:d.$z.socialButtonsBlockButton,elementId:d.$z.socialButtonsBlockButton.setId(n),variant:"outline",block:!0,isLoading:a,hoverAsFocus:!0,ref:t,...p,sx:t=>[{gap:t.space.$4,position:"relative",justifyContent:"flex-start"},e.sx],children:[u&&(0,r.Y)(g.j,{overlay:!0}),(0,r.FD)(c.so,{justify:"center",align:"center",as:"span",gap:3,sx:{width:"100%",overflow:"hidden"},children:[(a||o)&&(0,r.Y)(c.so,{as:"span",center:!0,sx:e=>({flex:"0 0 ".concat(e.space.$4)}),children:a?(0,r.Y)(c.y$,{size:"sm",elementDescriptor:d.$z.spinner}):!m&&o?(0,r.Y)(c.In,{icon:o,sx:[e=>({color:e.colors.$neutralAlpha600,width:e.sizes.$4,position:"absolute"})]}):o}),(0,r.Y)(c.EY,{elementDescriptor:d.$z.socialButtonsBlockButtonText,elementId:d.$z.socialButtonsBlockButtonText.setId(n),as:"span",truncate:!0,variant:"buttonLarge",localizationKey:s,children:l})]})]})})},26370:function(e,t,n){n.d(t,{B:()=>d}),n(19161),n(22239);var r=n(14518);n(35074);var o=n(18272),a=n(58920),i=n(11550),l=n(22861),s=n(11475),c=n(76153);let d=e=>{let{text:t,title:n,finishLabel:d,onFinish:u,contents:p,...m}=e,{navigateToFlowStart:h}=(0,i.C)();return(0,r.FD)(o.fv,{...m,gap:4,children:[(0,r.Y)(c.Y.Root,{children:(0,r.Y)(c.Y.Title,{localizationKey:n,textVariant:"subtitle"})}),(0,r.Y)(o.fv,{gap:4,children:Array.isArray(t)?t.map(e=>(0,r.Y)(o.EY,{localizationKey:e,colorScheme:"secondary",sx:e=>({display:"inline",":not(:last-of-type)":{marginRight:e.sizes.$1}})},e.key)):(0,r.Y)(o.EY,{localizationKey:t,colorScheme:"secondary"})}),p,(0,r.Y)(s.c,{children:(0,r.Y)(o.$n,{autoFocus:!0,localizationKey:d||(0,l.G)("userProfile.formButtonPrimary__finish"),elementDescriptor:a.$z.formButtonPrimary,onClick:u||h})})]})}},28511:function(e,t,n){n.d(t,{d:()=>s}),n(88711);var r=n(14518),o=n(35074),a=n(18272),i=n(58920),l=n(41464);let s=(0,o.forwardRef)((e,t)=>{let{isChecked:n,defaultChecked:s,onChange:c,isDisabled:d=!1,label:u}=e,[p,m]=(0,o.useState)(!!s),h=void 0!==n,f=h?n:p;return(0,r.FD)(a.so,{ref:t,elementDescriptor:i.$z.switchRoot,direction:"row",align:"center",as:"label",sx:e=>({isolation:"isolate",width:"fit-content","&:has(input:focus-visible) > input + span":{...l.s.focusRingStyles(e)}}),children:[(0,r.Y)("input",{type:"checkbox",role:"switch",disabled:d,defaultChecked:s,checked:f,onChange:e=>{d||(h||m(e.target.checked),null==c||c(e.target.checked))},style:{...l.s.visuallyHidden()}}),(0,r.Y)(a.so,{elementDescriptor:i.$z.switchIndicator,as:"span","data-checked":f,sx:e=>({width:e.sizes.$6,height:e.sizes.$4,alignItems:"center",position:"relative",backgroundColor:f?e.colors.$primary500:e.colors.$neutralAlpha150,borderRadius:999,transition:"background-color 0.2s",opacity:d?.6:1,cursor:d?"not-allowed":"pointer",outline:"none",boxSizing:"border-box",boxShadow:"0px 0px 0px 1px rgba(0, 0, 0, 0.06) inset"}),children:(0,r.Y)(a.so,{as:"span",elementDescriptor:i.$z.switchThumb,sx:e=>({position:"absolute",left:e.sizes.$0x5,width:e.sizes.$3,height:e.sizes.$3,borderRadius:"50%",backgroundColor:e.colors.$colorBackground,boxShadow:e.shadows.$switchControl,transform:"translateX(".concat(f?e.sizes.$2:0,")"),transition:"transform 0.2s",zIndex:1})})}),(0,r.Y)(a.EY,{as:"span",variant:"caption",colorScheme:"secondary",localizationKey:u,sx:e=>({paddingInlineStart:e.sizes.$2,cursor:d?"not-allowed":"pointer",userSelect:"none"})})]})});s.displayName="Switch"},69835:function(e,t,n){n.d(t,{T2:()=>g,Kp:()=>v,j7:()=>h,oz:()=>f,tU:()=>m}),n(88711),n(19161),n(22239),n(95055),n(98114);var r=n(14518),o=n(21210),a=n(35074),i=n(18272),l=n(58920),s=n(10078);function c(e){return a.Children.toArray(e).filter(e=>a.isValidElement(e))}n(6560),n(50036);let[d,u]=(0,o.e3)("TabsContext"),p=e=>{let t=a.useMemo(()=>({value:e.value}),[e.value.selectedIndex,e.value.setFocusedIndex]);return(0,r.Y)(d.Provider,{value:t,children:e.children})},m=e=>{let{value:t,onChange:n,defaultIndex:o=0,children:i}=e,[l,s]=a.useState(o),[c,d]=a.useState(-1),u=a.useCallback(e=>{n?n(e):s(e)},[n]);return(0,r.Y)(p,{value:{selectedIndex:void 0!==t?t:l,setSelectedIndex:u,focusedIndex:c,setFocusedIndex:d},children:i})},h=e=>{let{children:t,sx:n,...o}=e,{setSelectedIndex:s,selectedIndex:d,setFocusedIndex:p}=u(),m=0,h=c(t).map(e=>{let t=a.cloneElement(e,{tabIndex:e.type===f?m:void 0});return m++,t});return(0,r.Y)(i.so,{elementDescriptor:l.$z.tabListContainer,onKeyDown:e=>{let t=h.filter(e=>{var t;return!(null==(t=e.props)?void 0:t.isDisabled)&&e.type===f}).map(e=>e.props.tabIndex),n=t.length,r=t.indexOf(d);if("ArrowLeft"===e.key){let e=0===r?t[n-1]:t[r-1];return p(e),s(e)}if("ArrowRight"===e.key){let e=n-1===r?t[0]:t[r+1];return p(e),s(e)}},role:"tablist",sx:[e=>({borderBottomStyle:e.borderStyles.$solid,borderBottomWidth:e.borderWidths.$normal,borderColor:e.colors.$borderAlpha100}),n],...o,children:h})},f=e=>{let{t}=(0,s._)(),{children:n,sx:o,tabIndex:c,isDisabled:d,localizationKey:p,...m}=e;if(void 0===c)throw Error("Tab component must be a direct child of TabList.");let{setSelectedIndex:h,selectedIndex:f,focusedIndex:g,setFocusedIndex:v}=u(),b=a.useRef(null),y=c===f,w=c===g;return a.useEffect(()=>{d&&0===c&&h(c+1)},[]),a.useEffect(()=>{b.current&&w&&b.current.focus()},[w]),(0,r.FD)(i.$n,{elementDescriptor:l.$z.tabButton,onClick:()=>{h(c),v(-1)},isDisabled:d,tabIndex:y?0:-1,variant:"ghost","aria-selected":y,id:"cl-tab-".concat(c),"aria-controls":"cl-tabpanel-".concat(c),role:"tab",ref:b,sx:[e=>({background:e.colors.$transparent,color:y?e.colors.$primary500:e.colors.$neutralAlpha700,gap:e.space.$1x5,fontWeight:e.fontWeights.$medium,borderBottomWidth:y?e.borderWidths.$normal:0,borderBottomStyle:e.borderStyles.$solid,borderBottomColor:e.colors.$primary500,marginBottom:y?"-1px":0,borderRadius:0,padding:"".concat(e.space.$2x5," ").concat(e.space.$0x25),width:"fit-content","&:hover, :focus":{backgroundColor:e.colors.$transparent,boxShadow:"none"}}),o],...m,children:[t(p),n]})},g=e=>{let{children:t}=e,n=c(t).map((e,t)=>a.cloneElement(e,{tabIndex:t}));return(0,r.Y)(r.FK,{children:n})},v=e=>{let{tabIndex:t,sx:n,children:o,...a}=e;if(void 0===t)throw Error("TabPanel component must be a direct child of TabPanels.");let{selectedIndex:s}=u();return t!==s?null:(0,r.Y)(i.so,{elementDescriptor:l.$z.tabPanel,id:"cl-tabpanel-".concat(t),role:"tabpanel",tabIndex:0,"aria-labelledby":"cl-tab-".concat(t),sx:[{outline:0},n],...a,children:o})}},86212:function(e,t,n){n.d(t,{F:()=>u}),n(22501),n(19161),n(22239),n(95055),n(32880),n(25902),n(56359),n(894),n(6373),n(63418),n(93412),n(88711);var r=n(14518),o=n(35074),a=n(10078),i=n(18272),l=n(58920),s=n(9679),c=n(41464);let d=e=>e.trim(),u=e=>{let{t}=(0,a._)(),{sx:n,placeholder:s,validate:u=()=>!0,value:m,onChange:h,autoFocus:f,validateUnsubmittedEmail:g=()=>null,...v}=e,b=m.split(",").map(d).filter(Boolean),y=new Set(b),w=o.useRef(!0),x=o.useRef(null),[_,S]=o.useState(""),k=e=>{h({target:{value:e.join(",")}}),C(),g("")},$=e=>{let t=(Array.isArray(e)?[...e]:[e]).map(d).filter(Boolean).filter(u).filter(e=>!y.has(e));t.length&&(k([...b,...t]),S(""),C())},C=()=>{var e;null==(e=x.current)||e.focus()};return(0,r.FD)(i.so,{elementDescriptor:l.$z.tagInputContainer,align:"start",gap:2,wrap:"wrap",onClick:C,onFocus:C,sx:[e=>({maxWidth:"100%",padding:"".concat(e.space.$1x5," ").concat(e.space.$2),backgroundColor:e.colors.$colorInput,color:e.colors.$colorInputForeground,minHeight:e.sizes.$20,maxHeight:e.sizes.$60,overflowY:"auto",cursor:"text",justifyItems:"center",...c.s.borderVariants(e,{hoverStyles:!0}).normal}),n],...v,children:[b.map(e=>(0,r.Y)(p,{onRemoveClick:()=>{k(b.filter(t=>t!==e))},children:e},e)),(0,r.Y)(i.pd,{ref:x,value:_,type:"email","data-testid":"tag-input",placeholder:b.length?void 0:t(s),onKeyDown:e=>{let{key:t}=e;(","===t||" "===t||"Enter"===t)&&_.length?(e.preventDefault(),$(_)):"Backspace"===t&&!_.length&&b.length&&w.current&&(e.preventDefault(),k(b.slice(0,-1))),w.current=!1},onKeyUp:()=>{w.current=!0},onChange:e=>{S(e.target.value),g(e.target.value)},onPaste:e=>{e.preventDefault(),$((e.clipboardData.getData("text")||"").split(/,| |\n|\t/).filter(Boolean).map(e=>e.trim()))},onBlur:e=>{e.preventDefault(),$(_)},focusRing:!1,autoFocus:f,variant:"unstyled",sx:e=>({flexGrow:1,borderWidth:0,width:"initial",padding:0,lineHeight:e.space.$5,paddingLeft:e.space.$1,"::placeholder":{color:e.colors.$colorMutedForeground},boxShadow:"none",":hover":{boxShadow:"none"}})})]})},p=e=>{let{onRemoveClick:t,children:n,...o}=e;return(0,r.FD)(i.so,{elementDescriptor:l.$z.tagPillContainer,onClick:t,gap:1,center:!0,...o,sx:e=>({padding:"".concat(e.space.$0x5," ").concat(e.space.$1x5),borderRadius:e.radii.$sm,color:e.colors.$primary500,backgroundColor:e.colors.$neutralAlpha50,boxShadow:e.shadows.$badge,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha100,display:"inline-flex",marginRight:"1px",cursor:"pointer",":hover":{backgroundColor:e.colors.$neutralAlpha100},":hover svg":{color:e.colors.$danger500},overflow:"hidden"}),children:[(0,r.Y)(i.EY,{truncate:!0,variant:"buttonSmall",children:n}),(0,r.Y)(i.In,{elementDescriptor:l.$z.tagPillIcon,size:"md",icon:s.A,sx:e=>({color:e.colors.$colorMutedForeground,transform:"translateY(0px) rotate(45deg)"})})]})}},48080:function(e,t,n){n.d(t,{o:()=>u}),n(19161),n(22239);var r,o=n(14518),a=n(18272),i=n(58920),l=n(35074);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let c=function(e){return l.createElement("svg",s({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),r||(r=l.createElement("g",{stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"},l.createElement("path",{d:"M10.01 10H10M4.01 10H4M16.01 10H16"}))))};var d=n(74365);let u=e=>{let{actions:t,elementId:n,variant:r}=e,l="bordered"===r;return(0,o.FD)(d.W1,{elementId:n,children:[(0,o.Y)(d.cQ,{arialLabel:e=>"".concat(e?"Close":"Open"," menu"),children:(0,o.Y)(a.$n,{sx:e=>l?{width:e.sizes.$6,height:e.sizes.$6}:{padding:e.space.$0x5,boxSizing:"content-box",opacity:e.opacity.$inactive,":hover,:focus-visible":{opacity:1}},variant:l?"bordered":"ghost",colorScheme:l?"secondary":"neutral",elementDescriptor:[i.$z.menuButton,l?i.$z.menuButtonEllipsisBordered:i.$z.menuButtonEllipsis],children:(0,o.Y)(a.In,{icon:c,sx:e=>l?{width:e.sizes.$4,height:e.sizes.$4,opacity:e.opacity.$inactive}:{width:"auto",height:e.sizes.$5}})})}),(0,o.Y)(d.cO,{children:t.map((e,t)=>(0,o.Y)(d.Dr,{destructive:e.isDestructive,onClick:e.onClick,isDisabled:e.isDisabled,localizationKey:e.label},t))})]})}},81829:function(e,t,n){n.d(t,{M:()=>s}),n(88711);var r=n(14518),o=n(21210),a=n(35074),i=n(10078),l=n(18272);let s=e=>{let{t}=(0,i._)(),{onClick:n,throttleTimeInSec:s=30,startDisabled:c,children:d,localizationKey:u,showCounter:p=!0,...m}=e,[h,f]=a.useState(0),g=a.useRef(void 0);(0,o.UQ)(()=>{c&&v()},[]),(0,a.useEffect)(()=>()=>clearInterval(g.current),[]);let v=()=>{f(s),g.current=window.setInterval(()=>{f(e=>(1===e&&clearInterval(g.current),e-1))},1e3)};return(0,r.FD)(l.$n,{variant:"link",...m,textVariant:"buttonSmall",isDisabled:h>0||e.isDisabled,onClick:e=>{h||(null==n||n(e),v())},children:[t(u)||d,h&&p?" (".concat(h,")"):""]})}},96455:function(e,t,n){n.d(t,{m_:()=>h}),n(88711),n(30945),n(98114);var r=n(14518),o=n(42119),a=n(36836),i=n(94166),l=n(35074),s=n(16580),c=n(18272),d=n(58920),u=n(60359);let p=l.createContext(null),m=()=>{let e=l.useContext(p);if(null==e)throw Error("Tooltip components must be wrapped in <Tooltip />");return e},h={Root:function(e){let{children:t,...n}=e,c=function(){let{initialOpen:e=!1,placement:t="top",open:n,onOpenChange:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[c,d]=l.useState(e),p=null!=n?n:c,m=null!=r?r:d,h=(0,u.j)(),{animations:f}=(0,s.K)().parsedOptions,g=(0,o.we)({placement:t,open:p,onOpenChange:m,whileElementsMounted:a.ll,middleware:[(0,i.cY)(6),(0,i.UU)({crossAxis:t.includes("-"),fallbackAxisSideDirection:"start",padding:6}),(0,i.BN)({padding:6})]}),v=g.context,b=(0,o.Mk)(v,{move:!1,enabled:null==n}),y=(0,o.iQ)(v,{enabled:null==n}),w=(0,o.s9)(v),x=(0,o.It)(v,{role:"tooltip"}),{isMounted:_,styles:S}=(0,o.DL)(v,{duration:200*!!(!h&&!0===f),initial:e=>{let{side:t}=e;return{opacity:0,transform:"top"===t?"translateY(4px)":"translateY(-4px)"}},open:{opacity:1,transform:"translate(0)"},close:e=>{let{side:t}=e;return{opacity:0,transform:"top"===t?"translateY(4px)":"translateY(-4px)"}}}),k=(0,o.bv)([b,y,w,x]);return l.useMemo(()=>({open:p,setOpen:m,isMounted:_,...k,...g,transitionStyles:S}),[p,m,k,g,_,S])}(n);return(0,r.Y)(p.Provider,{value:c,children:t})},Trigger:l.forwardRef(function(e,t){let{children:n,sx:a,...i}=e,s=m(),d=n.ref,u=(0,o.SV)([s.refs.setReference,t,d]);return l.isValidElement(n)?n.props.isDisabled||n.props.disabled?(0,r.Y)(c.L9,{ref:u,...s.getReferenceProps({...i}),"data-state":s.open?"open":"closed",sx:[{width:"fit-content",display:"inline-block",cursor:"not-allowed",outline:"none"},a],tabIndex:0,children:n}):l.cloneElement(n,s.getReferenceProps({ref:u,...i,...n.props,"data-state":s.open?"open":"closed"})):null}),Content:l.forwardRef(function(e,t){let{style:n,text:a,sx:i,...l}=e,s=m(),u=(0,o.SV)([s.refs.setFloating,t]);return s.isMounted?(0,r.Y)(o.XF,{children:(0,r.Y)(c.az,{ref:u,elementDescriptor:d.$z.tooltip,style:{...s.floatingStyles,...n},...s.getFloatingProps(l),children:(0,r.Y)(c.az,{elementDescriptor:d.$z.tooltipContent,style:s.transitionStyles,sx:[e=>({paddingBlock:e.space.$1,paddingInline:e.space.$1x5,borderRadius:e.radii.$md,backgroundColor:e.colors.$black,color:e.colors.$white,maxWidth:e.sizes.$60}),i],children:(0,r.Y)(c.EY,{elementDescriptor:d.$z.tooltipText,localizationKey:a,variant:"body",colorScheme:"inherit"})})})}):null})}},99538:function(e,t,n){n.d(t,{H:()=>i});var r=n(14518),o=n(8095),a=n(66195);let i=e=>{let{name:t,firstName:n,lastName:i,avatarUrl:l,imageUrl:s,...c}=e,d=(0,o.dS)({name:t,firstName:n,lastName:i}),u=(0,o.IM)({name:t,firstName:n,lastName:i});return(0,r.Y)(a.e,{title:d,initials:u,imageUrl:l||s,...c})}},29345:function(e,t,n){n.d(t,{c:()=>c});var r=n(14518),o=n(8095);n(35074);var a=n(10078),i=n(18272),l=n(58920),s=n(99538);let c=e=>{var t;let{user:n,externalAccount:c,enterpriseAccount:d,size:u="md",showAvatar:p=!0,icon:m,iconSx:h,rounded:f=!0,imageUrl:g,badge:v,elementId:b,sx:y,title:w,subtitle:x,avatarSx:_,mainIdentifierSx:S,mainIdentifierVariant:k,subtitleProps:$,...C}=e,{t:P}=(0,a._)(),A=(0,o.dS)({...n})||(0,o.dS)({...c})||(0,o.dS)({...d}),z=(0,o.Cm)({...n})||(null==c||null==(t=c.accountIdentifier)?void 0:t.call(c))||(null==d?void 0:d.emailAddress),I=P(w),D=g||(null==n?void 0:n.imageUrl)||(null==c?void 0:c.imageUrl),Y=e=>({xs:e.sizes.$5,sm:e.sizes.$8,md:e.sizes.$9,lg:e.sizes.$12})[u],R=I||A||z;return(0,r.FD)(i.so,{elementDescriptor:l.$z.userPreview,elementId:l.$z.userPreview.setId(b),align:"center",as:"span",sx:[e=>({minWidth:"0px",width:"fit-content",gap:e.space.$4,minHeight:D&&!p?Y(e):void 0}),y],...C,children:[D&&p?(0,r.FD)(i.so,{elementDescriptor:l.$z.userPreviewAvatarContainer,elementId:l.$z.userPreviewAvatarContainer.setId(b),justify:"center",as:"span",sx:{position:"relative"},children:[(0,r.Y)(s.H,{boxElementDescriptor:l.$z.userPreviewAvatarBox,imageElementDescriptor:l.$z.userPreviewAvatarImage,...n,...c,...d,name:A,avatarUrl:D,size:Y,sx:_,rounded:f}),m&&(0,r.Y)(i.so,{elementDescriptor:l.$z.userPreviewAvatarIcon,sx:[{position:"absolute",left:0,bottom:0},h],as:"span",children:m})]}):null,(0,r.FD)(i.so,{elementDescriptor:l.$z.userPreviewTextContainer,elementId:l.$z.userPreviewTextContainer.setId(b),direction:"col",justify:"center",as:"span",sx:{minWidth:"0px",textAlign:"left"},children:[(0,r.FD)(i.EY,{elementDescriptor:l.$z.userPreviewMainIdentifier,elementId:l.$z.userPreviewMainIdentifier.setId(b),variant:k||({xs:"subtitle",sm:"caption",md:"subtitle",lg:"h1"})[u],as:"span",sx:[e=>({display:"flex",gap:e.sizes.$1,alignItems:"center"}),S],children:[R&&(0,r.Y)(i.EY,{elementDescriptor:l.$z.userPreviewMainIdentifierText,elementId:l.$z.userPreviewMainIdentifierText.setId(b),as:"span",truncate:!0,sx:{fontWeight:"inherit"},children:R}),v]}),(x||A&&z)&&(0,r.Y)(i.EY,{elementDescriptor:l.$z.userPreviewSecondaryIdentifier,elementId:l.$z.userPreviewSecondaryIdentifier.setId(b),truncate:!0,as:"span",localizationKey:x||z,colorScheme:"secondary",...$})]})]})}},27912:function(e,t,n){n.d(t,{j:()=>m});var r=n(14518);n(35074);var o=n(18272),a=n(58920),i=n(22861),l=n(23707),s=n(63356),c=n(63269),d=n(52454),u=n(76153),p=n(196);let m=e=>{var t;let{showAlternativeMethods:n=!0,cardNotice:m,children:h}=e,f=(0,c.f0)(),g=(0,s.xM)({onCodeEntryFinished:(t,n,r)=>{e.onCodeEntryFinishedAction(t,n,r)},onResendCodeClicked:e.onResendCodeClicked});return(0,r.FD)(l.Z.Root,{children:[(0,r.FD)(l.Z.Content,{children:[(0,r.FD)(u.Y.Root,{children:[(0,r.Y)(u.Y.Title,{localizationKey:e.cardTitle}),(0,r.Y)(u.Y.Subtitle,{localizationKey:e.cardSubtitle}),(0,r.Y)(p.$,{identifier:e.safeIdentifier,avatarUrl:e.profileImageUrl,onClick:e.onBackLinkClicked?void 0:e.onIdentityPreviewEditClicked})]}),(0,r.Y)(l.Z.Alert,{children:f.error}),h,(0,r.FD)(o.fv,{elementDescriptor:a.$z.main,gap:8,children:[(0,r.Y)(d.l.OTPInput,{...g,label:e.inputLabel,resendButton:e.resendButton}),m&&(0,r.Y)(o.Fc,{colorScheme:"warning",children:(0,r.Y)(o.EY,{colorScheme:"warning",localizationKey:m,variant:"caption"})}),(0,r.FD)(o.fv,{gap:3,children:[(0,r.Y)(o.$n,{elementDescriptor:a.$z.formButtonPrimary,block:!0,hasArrow:!0,isLoading:g.isLoading,localizationKey:(0,i.G)("formButtonPrimary"),onClick:g.onFakeContinue}),n&&e.onShowAlternativeMethodsClicked&&(0,r.Y)(l.Z.Action,{elementId:"alternativeMethods",children:(0,r.Y)(l.Z.ActionLink,{localizationKey:null!=(t=e.alternativeMethodsLabel)?t:(0,i.G)("footerActionLink__useAnotherMethod"),onClick:e.onShowAlternativeMethodsClicked})})]})]})]}),(0,r.Y)(l.Z.Footer,{})]})}},72027:function(e,t,n){n.d(t,{_:()=>h,i:()=>f});var r=n(14518);n(35074);var o=n(44607),a=n(18272),i=n(22861),l=n(58920),s=n(4964),c=n(23707),d=n(63269),u=n(76153),p=n(196),m=n(81829);let h=e=>{let{navigate:t}=(0,s.r)(),n=(0,d.f0)();return(0,r.Y)(o.n.Part,{part:"emailLinkVerify",children:(0,r.FD)(c.Z.Root,{children:[(0,r.FD)(c.Z.Content,{children:[(0,r.FD)(u.Y.Root,{showLogo:!0,children:[(0,r.Y)(u.Y.Title,{localizationKey:e.cardTitle}),(0,r.FD)(f,{formSubtitle:e.formSubtitle,resendButton:e.resendButton,onResendCodeClicked:e.onResendCodeClicked,children:[" ",(0,r.Y)(p.$,{identifier:e.safeIdentifier,avatarUrl:e.profileImageUrl,onClick:()=>t("../")})]})]}),(0,r.Y)(c.Z.Alert,{children:n.error}),e.cardNotice&&(0,r.Y)(a.Fc,{colorScheme:"warning",children:(0,r.Y)(a.EY,{colorScheme:"warning",localizationKey:e.cardNotice,variant:"caption"})}),(0,r.Y)(c.Z.Action,{elementId:"alternativeMethods",children:e.onShowAlternativeMethodsClicked&&(0,r.Y)(c.Z.ActionLink,{localizationKey:(0,i.G)("footerActionLink__useAnotherMethod"),onClick:e.onShowAlternativeMethodsClicked})})]}),(0,r.Y)(c.Z.Footer,{})]})})},f=e=>{let t=(0,d.f0)();return(0,r.FD)(a.fv,{elementDescriptor:l.$z.form,gap:1,children:[(0,r.FD)(a.fv,{elementDescriptor:l.$z.formHeader,gap:1,children:[!!e.formSubtitle&&(0,r.Y)(a.EY,{localizationKey:e.formSubtitle,elementDescriptor:l.$z.formHeaderSubtitle,colorScheme:"secondary"}),e.children]}),(0,r.Y)(m.M,{localizationKey:e.resendButton,elementDescriptor:l.$z.formResendCodeLink,onClick:e.onResendCodeClicked,startDisabled:!0,isDisabled:t.isLoading,throttleTimeInSec:60,sx:e=>({marginTop:e.space.$4,width:"100%"})})]})}},66464:function(e,t,n){n.d(t,{Web3SolanaWalletButtons:()=>$}),n(19161),n(95055),n(22239),n(73985),n(39267);var r=n(14518),o=n(26198),a=n(23515),i=n(43480),l=n(15681),s=n(26137),c=n(35074),d=n(18272),u=n(58920),p=n(41464);let m=e=>{var t;let{value:n,id:o,...a}=e;return(0,r.Y)(d.az,{as:"span",elementDescriptor:[u.$z.walletIcon,u.$z.web3SolanaWalletButtonsWalletInitialIcon],elementId:u.$z.web3SolanaWalletButtonsWalletInitialIcon.setId(o),sx:e=>({...p.s.centeredFlex("inline-flex"),width:e.space.$4,height:e.space.$4,borderRadius:e.radii.$sm,color:e.colors.$colorPrimaryForeground,backgroundColor:e.colors.$primary500}),...a,children:(0,r.Y)(d.EY,{as:"span",variant:"buttonSmall",sx:{...p.s.centeredFlex("inline-flex"),width:"100%"},children:null!=(t=n[0].toUpperCase())?t:""})})};var h=n(10078),f=n(22861),g=n(23707),v=n(63269),b=n(6997),y=n(2523),w=n(37591),x=n(6735);let _=e=>{var t,n;let{web3AuthCallback:i}=e,l=(0,v.f0)(),{wallets:s}=(0,a.v)(),{t:p}=(0,h._)(),_=c.useMemo(()=>s.filter(e=>e.readyState===o.Ok.Installed).map(e=>({name:e.adapter.name,icon:e.adapter.icon})),[s]),{strategyRows:$}=(0,y.a)(_,5,void 0),C=null!=(n=null==(t=$.at(0))?void 0:t.length)?n:0,P=2===_.length,A=_.length<=2?k:S;return 0===_.length?(0,r.Y)(g.Z.Alert,{children:(0,r.Y)(b._,{text:p((0,f.G)("web3SolanaWalletButtons.noneAvailable",{solanaWalletsLink:"https://solana.com/solana-wallets"})),isExternal:!0,sx:e=>({textDecoration:"underline",textUnderlineOffset:e.space.$1,color:"inherit"})})}):(0,r.Y)(d.so,{direction:"col",gap:2,elementDescriptor:u.$z.web3SolanaWalletButtonsRoot,children:$.map((e,t)=>(0,r.Y)(d.xA,{elementDescriptor:u.$z.web3SolanaWalletButtons,gap:2,sx:n=>({justifyContent:"center",[w.g.sm]:{gridTemplateColumns:P?"repeat(1, minmax(0, 1fr))":void 0},gridTemplateColumns:s.length<1?"repeat(1, minmax(0, 1fr))":"repeat(".concat(e.length,", ").concat(0===t?"minmax(0, 1fr)":"minmax(0, calc((100% - (".concat(C," - 1) * ").concat(n.sizes.$2,") / ").concat(C,"))"),")")}),children:e.map(e=>{let t,n=1===_.length?(0,f.G)("web3SolanaWalletButtons.continue",{walletName:e.name}):e.name,o=e.icon?(0,r.Y)(d._V,{elementDescriptor:[u.$z.walletIcon,u.$z.web3SolanaWalletButtonsWalletInitialIcon],isDisabled:l.isLoading,isLoading:l.loadingMetadata===e.name,src:e.icon,alt:p((0,f.G)("web3SolanaWalletButtons.connect",{walletName:e.name})),sx:e=>({width:e.sizes.$4,height:"auto",maxWidth:"100%"})}):(0,r.Y)(m,{value:e.name,isDisabled:l.isLoading,id:e.name});return(0,r.Y)(A,{id:e.name,onClick:(t=e.name,async()=>{l.setLoading(t);try{await i({walletName:t})}catch{await (0,x.y)(1e3)}finally{l.setIdle()}}),isLoading:l.loadingMetadata===e.name,isDisabled:l.isLoading,label:p(n),icon:o},e.name)})},e.map(e=>e.name).join("-")))})},S=(0,c.forwardRef)((e,t)=>{let{icon:n,label:o,id:a,...i}=e;return(0,r.Y)(d.$n,{ref:t,"aria-label":o,textVariant:"buttonLarge",variant:"outline",colorScheme:"neutral",hoverAsFocus:!0,sx:e=>({minHeight:e.sizes.$8,width:"100%"}),...i,children:n})}),k=(0,c.forwardRef)((e,t)=>{let{id:n,icon:o,isLoading:a,label:i,...l}=e,s=(0,c.isValidElement)(o);return(0,r.Y)(d.dF,{variant:"outline",block:!0,isLoading:a,hoverAsFocus:!0,ref:t,...l,sx:t=>[{gap:t.space.$4,position:"relative",justifyContent:"flex-start"},e.sx],children:(0,r.FD)(d.so,{justify:"center",align:"center",as:"span",gap:3,sx:{width:"100%",overflow:"hidden"},children:[(a||o)&&(0,r.Y)(d.so,{as:"span",center:!0,sx:e=>({flex:"0 0 ".concat(e.space.$4)}),children:a?(0,r.Y)(d.y$,{size:"sm",elementDescriptor:u.$z.spinner}):!s&&o?(0,r.Y)(d.In,{icon:o,sx:[e=>({color:e.colors.$neutralAlpha600,width:e.sizes.$4,position:"absolute"})]}):o}),(0,r.Y)(d.EY,{as:"span",truncate:!0,variant:"buttonLarge",children:i})]})})}),$=e=>{let t=s.RU,n=(0,c.useMemo)(()=>[],[t]);return(0,r.Y)(i.S,{endpoint:t,children:(0,r.Y)(l.r,{wallets:n,onError:e=>{console.error(e)},children:(0,r.Y)(_,{web3AuthCallback:e.web3AuthCallback})})})}},63269:function(e,t,n){n.d(t,{FlowMetadataProvider:()=>g,P4:()=>v,PB:()=>f,dm:()=>m,f0:()=>p}),n(88711),n(50036),n(1589);var r=n(14518),o=n(21210),a=n(42119),i=n(35074),l=n(4964),s=n(10078);let[c,d]=(0,o.e3)("CardState"),u=e=>{let{translateError:t}=(0,s._)(),n=(0,l.r)(),[o,a]=i.useState(()=>{var e,n;return{status:"idle",metadata:void 0,error:t((null==(n=window)||null==(e=n.Clerk)?void 0:e.__internal_last_error)||void 0)}});i.useEffect(()=>{var e,n;let r=null==(n=window)||null==(e=n.Clerk)?void 0:e.__internal_last_error;r&&a(e=>({...e,error:t(r)}))},[t,a,n.currentPath]);let d=i.useMemo(()=>({value:{state:o,setState:a}}),[o,a]);return(0,r.Y)(c.Provider,{value:d,children:e.children})},p=()=>{let{state:e,setState:t}=d(),{translateError:n}=(0,s._)(),r=e=>t(t=>({...t,status:"idle",metadata:e})),o=e=>t(t=>({...t,status:"loading",metadata:e})),a=async(e,t)=>(o(t),("function"==typeof e?e():e).then(e=>e).finally(()=>r(t)));return{setIdle:r,setError:e=>t(t=>({...t,error:n(e)})),setLoading:o,runAsync:a,loadingMetadata:"loading"===e.status?e.metadata:void 0,error:e.error?e.error:void 0,isLoading:"loading"===e.status,isIdle:"idle"===e.status,state:e}},m=e=>t=>(0,r.Y)(u,{children:(0,r.Y)(e,{...t})}),[h,f]=(0,o.e3)("FlowMetadata"),g=e=>{let{flow:t,part:n}=e,o=i.useMemo(()=>({value:e}),[t,n]);return(0,r.Y)(h.Provider,{value:o,children:e.children})},v=e=>t=>null==(0,a.R1)()?(0,r.Y)(a.P6,{children:(0,r.Y)(e,{...t})}):(0,r.Y)(e,{...t})},2523:function(e,t,n){n.d(t,{a:()=>function e(t,n,r){if(r&&t.includes(r)){let o=t.filter(e=>e!==r);return 0===o.length?{strategyRows:[[r]],lastAuthenticationStrategyPresent:!0}:{strategyRows:[[r],...e(o,n,null).strategyRows],lastAuthenticationStrategyPresent:!0}}if(t.length<=n)return{strategyRows:[t],lastAuthenticationStrategyPresent:!1};let o=Math.ceil(t.length/n),a=Math.ceil(t.length/o),i=Array.from({length:o},()=>[]),l=0;for(let e of t)i[l].push(e),i[l].length===a&&l++;return{strategyRows:i,lastAuthenticationStrategyPresent:!1}}}),n(30945),n(19161),n(95055),n(88711),n(10676)},31778:function(e,t,n){n.d(t,{H:()=>i});var r=n(14518),o=n(35074),a=n(16580);let i=e=>(0,o.forwardRef)((t,n)=>{let{parsedOptions:o}=(0,a.K)();return(0,r.Y)(e,{...t,ref:n,sx:[o.shimmer?{":hover":{"--cl-shimmer-hover-transform":"skew(-45deg) translateX(600%)","--cl-shimmer-hover-after-transform":"skewX(45deg) translateX(-150%)"}}:{},t.sx]})})},84091:function(e,t,n){n.d(t,{KP:()=>o,Rx:()=>a,_8:()=>i,wz:()=>r}),n(19161),n(22239),n(88711);let r=Object.freeze({slowest:600,slower:280,slow:200,fast:120,focusRing:200,controls:100,textField:450,drawer:500}),o=Object.freeze(Object.fromEntries(Object.entries(r).map(e=>{let[t,n]=e;return[t,"".concat(n,"ms")]}))),a=Object.freeze({common:"background-color,background,border-color,color,fill,stroke,opacity,box-shadow,transform"}),i=Object.freeze({common:"ease",easeOut:"ease-out",bezier:"cubic-bezier(0.32, 0.72, 0, 1)",slowBezier:"cubic-bezier(0.16, 1, 0.3, 1)"})},83474:function(e,t,n){n.d(t,{y:()=>l}),n(19161),n(95055);var r=n(62620),o=n(55763),a=n(68289),i=n(19835);function l(e){let{filterOutFactor:t,supportedFirstFactors:n}=e,{strategies:l}=(0,i.k)(),s=n||[],c=s.filter(e=>e.strategy!==(null==t?void 0:t.strategy)&&!(0,o.Kw)(e.strategy)).length+l.length>0,d=s.filter(e=>!e.strategy.startsWith("oauth_")&&e.strategy!==(null==t?void 0:t.strategy)).filter(e=>(0,o.Cm)(e)).filter(e=>"passkey"!==e.strategy||(0,r.Bz)()).sort(a.aR);return{hasAnyStrategy:c,hasFirstParty:!!d,firstPartyFactors:d}}},27782:function(e,t,n){n.d(t,{i:()=>i}),n(88711);var r=n(45606),o=n.n(r),a=n(35074);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[n,r]=(0,a.useState)(!1),{timeout:i=1500,...l}="number"==typeof t?{timeout:t}:t,s=(0,a.useCallback)(()=>{r(o()(e,l))},[e,l]);return(0,a.useEffect)(()=>{let e=null;return n&&(e=window.setTimeout(()=>{r(!1)},i)),()=>{e&&window.clearTimeout(e)}},[i,n]),{value:e,onCopy:s,hasCopied:n}}},34317:function(e,t,n){n.d(t,{d:()=>o}),n(88711);var r=n(35074);function o(e,t){let[n,o]=(0,r.useState)(e),[a,i]=(0,r.useState)(void 0);return(0,r.useEffect)(()=>(a&&(clearTimeout(a),i(void 0)),i(setTimeout(()=>{o(e),i(void 0)},t||500)),()=>{a&&(clearTimeout(a),i(void 0))}),[JSON.stringify(e),t]),n}},180:function(e,t,n){n.d(t,{Q:()=>i});var r=n(35074),o=n(97697),a=n(16580);function i(){let{displayConfig:e,isDevelopmentOrStaging:t}=(0,o.O)(),n=t(),{unsafe_disableDevelopmentModeWarnings:i=!1}=(0,a.K)().parsedOptions,l=n&&i;return{showDevModeNotice:(0,r.useMemo)(()=>!l&&e.showDevModeWarning,[l,e])}}},12992:function(e,t,n){n.d(t,{u:()=>o});var r=n(35074);function o(e){let{startEmailLinkFlow:t,cancelEmailLinkFlow:n}=r.useMemo(()=>e.createEmailLinkFlow(),[e]);return r.useEffect(()=>n,[]),{startEmailLinkFlow:t,cancelEmailLinkFlow:n}}},19835:function(e,t,n){n.d(t,{k:()=>h}),n(19161),n(22239),n(88711),n(95055),n(30945),n(41730),n(22501),n(58910);var r=n(81652),o=n(36435);n(85074);let a=[{provider:"google",strategy:"oauth_google",name:"Google",docsUrl:"https://clerk.com/docs/authentication/social-connections/google"},{provider:"discord",strategy:"oauth_discord",name:"Discord",docsUrl:"https://clerk.com/docs/authentication/social-connections/discord"},{provider:"facebook",strategy:"oauth_facebook",name:"Facebook",docsUrl:"https://clerk.com/docs/authentication/social-connections/facebook"},{provider:"twitch",strategy:"oauth_twitch",name:"Twitch",docsUrl:"https://clerk.com/docs/authentication/social-connections/twitch"},{provider:"twitter",strategy:"oauth_twitter",name:"Twitter",docsUrl:"https://clerk.com/docs/authentication/social-connections/twitter"},{provider:"microsoft",strategy:"oauth_microsoft",name:"Microsoft",docsUrl:"https://clerk.com/docs/authentication/social-connections/microsoft"},{provider:"tiktok",strategy:"oauth_tiktok",name:"TikTok",docsUrl:"https://clerk.com/docs/authentication/social-connections/tiktok"},{provider:"linkedin",strategy:"oauth_linkedin",name:"LinkedIn",docsUrl:"https://clerk.com/docs/authentication/social-connections/linkedin"},{provider:"linkedin_oidc",strategy:"oauth_linkedin_oidc",name:"LinkedIn",docsUrl:"https://clerk.com/docs/authentication/social-connections/linkedin-oidc"},{provider:"github",strategy:"oauth_github",name:"GitHub",docsUrl:"https://clerk.com/docs/authentication/social-connections/github"},{provider:"gitlab",strategy:"oauth_gitlab",name:"GitLab",docsUrl:"https://clerk.com/docs/authentication/social-connections/gitlab"},{provider:"dropbox",strategy:"oauth_dropbox",name:"Dropbox",docsUrl:"https://clerk.com/docs/authentication/social-connections/dropbox"},{provider:"atlassian",strategy:"oauth_atlassian",name:"Atlassian",docsUrl:"https://clerk.com/docs/authentication/social-connections/atlassian"},{provider:"bitbucket",strategy:"oauth_bitbucket",name:"Bitbucket",docsUrl:"https://clerk.com/docs/authentication/social-connections/bitbucket"},{provider:"hubspot",strategy:"oauth_hubspot",name:"HubSpot",docsUrl:"https://clerk.com/docs/authentication/social-connections/hubspot"},{provider:"notion",strategy:"oauth_notion",name:"Notion",docsUrl:"https://clerk.com/docs/authentication/social-connections/notion"},{provider:"apple",strategy:"oauth_apple",name:"Apple",docsUrl:"https://clerk.com/docs/authentication/social-connections/apple"},{provider:"line",strategy:"oauth_line",name:"LINE",docsUrl:"https://clerk.com/docs/authentication/social-connections/line"},{provider:"instagram",strategy:"oauth_instagram",name:"Instagram",docsUrl:"https://clerk.com/docs/authentication/social-connections/instagram"},{provider:"coinbase",strategy:"oauth_coinbase",name:"Coinbase",docsUrl:"https://clerk.com/docs/authentication/social-connections/coinbase"},{provider:"spotify",strategy:"oauth_spotify",name:"Spotify",docsUrl:"https://clerk.com/docs/authentication/social-connections/spotify"},{provider:"xero",strategy:"oauth_xero",name:"Xero",docsUrl:"https://clerk.com/docs/authentication/social-connections/xero"},{provider:"box",strategy:"oauth_box",name:"Box",docsUrl:"https://clerk.com/docs/authentication/social-connections/box"},{provider:"slack",strategy:"oauth_slack",name:"Slack",docsUrl:"https://clerk.com/docs/authentication/social-connections/slack"},{provider:"linear",strategy:"oauth_linear",name:"Linear",docsUrl:"https://clerk.com/docs/authentication/social-connections/linear"},{provider:"x",strategy:"oauth_x",name:"X / Twitter",docsUrl:"https://clerk.com/docs/authentication/social-connections/x-twitter-v2"},{provider:"enstall",strategy:"oauth_enstall",name:"Enstall",docsUrl:"https://clerk.com/docs/authentication/social-connections/enstall"},{provider:"huggingface",strategy:"oauth_huggingface",name:"Hugging Face",docsUrl:"https://clerk.com/docs/authentication/social-connections/huggingface"},{provider:"vercel",strategy:"oauth_vercel",name:"Vercel",docsUrl:"https://clerk.com/docs/authentication/social-connections/vercel"}],i=[{provider:"metamask",strategy:"web3_metamask_signature",name:"MetaMask"},{provider:"base",strategy:"web3_base_signature",name:"Base"},{provider:"coinbase_wallet",strategy:"web3_coinbase_wallet_signature",name:"Coinbase Wallet"},{provider:"okx_wallet",strategy:"web3_okx_wallet_signature",name:"OKX Wallet"},{provider:"solana",strategy:"web3_solana_signature",name:"Solana"}];var l=n(97697),s=n(31020);let c=a.map(e=>e.strategy),d=i.map(e=>e.strategy),u=r.c.map(e=>e.channel),p=(0,s.P)([...[...a,...i].map(e=>[e.provider,{strategy:e.strategy,name:e.name,iconUrl:(0,o.l)(e.provider)}]),...[...r.c].map(e=>[e.channel,{strategy:e.channel,name:e.name,iconUrl:(0,o.l)(e.channel)}])]),m=(0,s.P)([...[...a,...i].map(e=>[e.strategy,{id:e.provider,name:e.name,iconUrl:(0,o.l)(e.provider)}]),...[...r.c].map(e=>[e.channel,{id:e.channel,name:e.name,iconUrl:(0,o.l)(e.channel)}])]),h=()=>{let{socialProviderStrategies:e,web3FirstFactors:t,authenticatableSocialStrategies:n,social:r,alternativePhoneCodeChannels:o}=(0,l.O)().userSettings,a=e.filter(e=>c.includes(e)),i=e.filter(e=>!c.includes(e)&&e.startsWith("oauth_custom_")),s=n.filter(e=>c.includes(e)),h=n.filter(e=>!c.includes(e)&&e.startsWith("oauth_custom_")),f=Object.keys(r).filter(e=>e.startsWith("oauth_custom_")),g=e.filter(e=>!c.includes(e)||e.startsWith("oauth_custom_"));f.forEach(e=>{p[e.replace("oauth_","")]={strategy:e,name:r[e].name,iconUrl:r[e].logo_url||""}}),g.forEach(e=>{let t=e.replace("oauth_","");m[e]={id:t,iconUrl:r[e].logo_url||"",name:r[e].name}});let v=[...s,...h];v.sort((e,t)=>{let n=e.replace(/^oauth_custom_|^oauth_/,""),r=t.replace(/^oauth_custom_|^oauth_/,"");return n.localeCompare(r)});let b=t.filter(e=>d.includes(e)),y=o.filter(e=>u.includes(e));return{strategies:[...a,...b,...i,...y],web3Strategies:b,alternativePhoneCodeChannels:y,authenticatableOauthStrategies:v,strategyToDisplayData:m,providerToDisplayData:p}}},38586:function(e,t,n){n.d(t,{q:()=>o});var r=n(35074);function o(e){let{startEnterpriseSSOLinkFlow:t,cancelEnterpriseSSOLinkFlow:n}=r.useMemo(()=>e.createEnterpriseSSOLinkFlow(),[e]);return r.useEffect(()=>n,[]),{startEnterpriseSSOLinkFlow:t,cancelEnterpriseSSOLinkFlow:n}}},67896:function(e,t,n){n.d(t,{s:()=>s}),n(88711),n(32880),n(25902),n(56359),n(894),n(6373),n(63418),n(93412),n(19161),n(41730),n(98114);var r=n(35074);let o=new Map,a=new Set,i=e=>"string"==typeof e?e:JSON.stringify(e),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,n=t(e),l=(0,r.useCallback)(()=>o.get(n),[n]),s=(0,r.useCallback)(e=>{o.set(n,"function"==typeof e?e(l()):e),a.forEach(e=>e())},[n]),c=(0,r.useCallback)(()=>{s({isLoading:!1,isValidating:!1,data:null,error:null,cachedAt:void 0})},[s]);return{getCache:l,setCache:s,subscribeCache:(0,r.useCallback)(e=>(a.add(e),()=>a.delete(e)),[]),clearCache:c}},s=(e,t,n,o)=>{var a;let s={resourceId:o,params:t},{subscribeCache:c,getCache:d,setCache:u,clearCache:p}=l(s),{subscribeCache:m,getCache:h,setCache:f}=l({...s,rv:!0}),g=null!=(a=null==n?void 0:n.staleTime)?a:12e4,v=(null==n?void 0:n.throttleTime)||0,b=(0,r.useRef)(e);if(v<0)throw Error("ClerkJS: A negative value for `throttleTime` is not allowed ");let y=(0,r.useSyncExternalStore)(c,d),w=(0,r.useSyncExternalStore)(m,h),x=(0,r.useCallback)(()=>{u(e=>({...e,cachedAt:0})),f(e=>({isLoading:!1,isValidating:!1,error:null,data:((null==e?void 0:e.data)||0)+1}))},[u,f]);return(0,r.useEffect)(()=>{var r,o,a,i,l,s,c;b.current=e;let p=!b.current,m=void 0===(null==(r=d())?void 0:r.cachedAt)||Date.now()-((null==(o=d())?void 0:o.cachedAt)||0)>=g,h=null!=(s=null==(a=d())?void 0:a.isValidating)&&s;if(p||!m||h)return;let f=performance.now();u({data:null!=(c=null==(i=d())?void 0:i.data)?c:null,isLoading:!(null==(l=d())?void 0:l.data),isValidating:!0,error:null}),b.current(t).then(e=>{if(void 0!==e){let t=Array.isArray(e)?e:"object"==typeof e?{...e}:e;setTimeout(()=>{var e;u({data:t,isLoading:!1,isValidating:!1,error:null,cachedAt:Date.now()}),null==n||null==(e=n.onSuccess)||e.call(n,t)},v-(performance.now()-f))}}).catch(e=>{var t,r,o;u({data:null!=(r=null==(t=d())?void 0:t.data)?r:null,isLoading:!1,isValidating:!1,error:e,cachedAt:Date.now()}),e&&(null==n||null==(o=n.onError)||o.call(n,e))})},[i(t),u,d,w]),{...y,setCache:u,invalidate:p,revalidate:x}}},33486:function(e,t,n){n.d(t,{l:()=>u,x:()=>d}),n(19161),n(22239);var r=n(21210),o=n(57477),a=n(10078),i=n(22861);let l={basic_member:(0,i.G)("membershipRole__basicMember"),guest_member:(0,i.G)("membershipRole__guestMember"),admin:(0,i.G)("membershipRole__admin")};var s=n(67896);let c={pageSize:20},d=function(){var e;let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],{organization:n}=(0,r.Z5)(),a=(0,o.Fd)({permission:"org:sys_memberships:manage"}),i=(0,o.Fd)({permission:"org:sys_memberships:read"}),l=t&&!!(null==n?void 0:n.id)&&(a||i),{data:d,isLoading:u}=(0,s.s)(l?e=>{let{pageSize:t,initialPage:r}=e;return n.getRoles({pageSize:t,initialPage:r})}:void 0,{...c,orgId:null==n?void 0:n.id});return{isLoading:u,options:null==d||null==(e=d.data)?void 0:e.map(e=>({value:e.key,label:e.name}))}},u=()=>{let{t:e}=(0,a._)();return{localizeCustomRole:t=>e((e=>{if(e)return(0,i.G)("roles.".concat(e))})(t))||e((e=>{if(e)return l[e]})(t))}}},82364:function(e,t,n){n.d(t,{W:()=>o}),n(88711),n(19161),n(41730),n(89305);var r=n(35074);let o=e=>{let[t,n]=(0,r.useState)(!1),o=(0,r.useRef)(null),a=Array.isArray(e.threshold)?e.threshold:[e.threshold||0],i=(0,r.useRef)();return i.current=e.onChange,{inView:t,ref:(0,r.useCallback)(t=>{if(!t){o.current&&o.current.disconnect();return}o.current=new IntersectionObserver(e=>{e.forEach(e=>{let t=e.isIntersecting&&a.some(t=>e.intersectionRatio>=t);n(t),i.current&&i.current(t,e)})},{root:e.root,rootMargin:e.rootMargin,threshold:a}),o.current.observe(t)},[])}}},84901:function(e,t,n){n.d(t,{m:()=>o}),n(88711);var r=n(35074);let o=e=>{let[t,n]=function(e){let[t,n]=r.useState(e),o=r.useRef(!0);return r.useEffect(()=>()=>{o.current=!1},[]),[t,r.useCallback(e=>{o.current&&n(e)},[])]}({status:"idle",metadata:void 0,...e});return{status:t.status,setIdle:e=>n({status:"idle",metadata:e}),setError:e=>n({status:"error",metadata:e}),setLoading:e=>n({status:"loading",metadata:e}),loadingMetadata:"loading"===t.status?t.metadata:void 0,isLoading:"loading"===t.status,isIdle:"idle"===t.status}}},38691:function(e,t,n){n.d(t,{z:()=>o}),n(19161),n(95055);var r=n(21210);let o=e=>{let t=(0,r.ho)().client.signedInSessions;return{signedInSessions:t,otherSessions:t.filter(t=>{var n,r;return(null==(n=t.user)?void 0:n.id)!==(null==(r=e.user)?void 0:r.id)})}}},11550:function(e,t,n){n.d(t,{C:()=>o});var r=n(4964);let o=()=>{let e=(0,r.r)();return{navigateToFlowStart:async()=>{var t,n;let r=e.indexPath;return r!==e.currentPath?e.navigate(r):(null==(t=e.urlStateParam)?void 0:t.path)?e.navigate("/"+e.basePath+(null==(n=e.urlStateParam)?void 0:n.startPath)):void 0}}}},2227:function(e,t,n){n.d(t,{f:()=>i});var r=n(21210),o=n(23689),a=n(82364);let i=()=>{let{userMemberships:e,userInvitations:t,userSuggestions:n}=(0,r.D_)(o.mu),{ref:i}=(0,a.W)({threshold:0,onChange:r=>{var o,a,i;r&&(e.hasNextPage?null==(o=e.fetchNext)||o.call(e):t.hasNextPage?null==(a=t.fetchNext)||a.call(t):null==(i=n.fetchNext)||i.call(n))}});return{userMemberships:e,userInvitations:t,userSuggestions:n,ref:i}}},23468:function(e,t,n){n.d(t,{T:()=>u,Z:()=>p}),n(88711),n(19161),n(22239),n(50036),n(98114);var r=n(78693);n(40526),n(49869),n(22501),n(58910),n(25006),n(54067);var o=n(14562),a=n(35074),i=n(25243),l=n(10078),s=n(22861);n(95055);var c=n(23990);let d={max_length:["unstable__errors.passwordComplexity.maximumLength","length"],min_length:["unstable__errors.passwordComplexity.minimumLength","length"],require_numbers:"unstable__errors.passwordComplexity.requireNumbers",require_lowercase:"unstable__errors.passwordComplexity.requireLowercase",require_uppercase:"unstable__errors.passwordComplexity.requireUppercase",require_special_char:"unstable__errors.passwordComplexity.requireSpecialCharacter"},u=(e,t)=>{let{t:n,locale:u}=(0,l._)(),p=(0,i.R)(),{onValidationError:m=o.lQ,onValidationSuccess:h=o.lQ,onValidationWarning:f=o.lQ,onValidationInfo:g=o.lQ,onValidationComplexity:v}=t||{},b=(0,a.useCallback)(t=>{var r,o,a;if(Object.values((null==t?void 0:t.complexity)||{}).length>0){let r=(e=>{let{config:t,failedValidations:n,locale:r,t:o}=e;if(!n||0===Object.keys(n).length)return"";let a=(null==n?void 0:n.min_length)||!1,i=Object.entries(n).filter(e=>!a||"min_length"===e[0]).filter(e=>{let[,t]=e;return!!t}).map(e=>{let[n]=e,r=d[n];if(Array.isArray(r)){let[e,a]=r;return o((0,s.G)(e,{[a]:t[n]}))}return o((0,s.G)(r))}),l=(0,c.kS)(i,r);return(0,c.zJ)("".concat(o((0,s.G)("unstable__errors.passwordComplexity.sentencePrefix"))," ").concat(l))})({config:e,t:n,failedValidations:t.complexity,locale:u});return(null==(a=t.complexity)?void 0:a.min_length)?g(r):m(r)}return(null==t||null==(r=t.strength)?void 0:r.state)==="fail"?m(t.strength.keys.map(e=>n((0,s.G)(e))).join(" ")):(null==t||null==(o=t.strength)?void 0:o.state)==="pass"?f(t.strength.keys.map(e=>n((0,s.G)(e))).join(" ")):h()},[t,n,u]);return{validatePassword:(0,a.useMemo)(()=>{let{loadZxcvbn:t}={loadZxcvbn:()=>Promise.all([p.import("@zxcvbn-ts/core"),p.import("@zxcvbn-ts/language-common")]).then(e=>{let[t,n]=e;if(!t||!n)throw Error("Failed to load zxcvbn modules");let{zxcvbnOptions:r,zxcvbn:o}=t,{dictionary:a,adjacencyGraphs:i}=n;return r.setOptions({dictionary:{...a},graphs:i}),o})};return((e,t,n)=>{let{onValidation:o=r.t,onValidationComplexity:a=r.t}=n||{},{show_zxcvbn:i,validatePassword:l}=t,s=e=>((e,t)=>{let{max_length:n,min_length:r,require_special_char:o,require_lowercase:a,require_numbers:i,require_uppercase:l}=t,s=(e=>{let t;if(e.allowed_special_characters){let n=e.allowed_special_characters.replace("[","\\[");n=n.replace("]","\\]"),t=new RegExp("[".concat(n,"]"))}else t=/[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/;return(e,n)=>{let{minLength:r,maxLength:o}=n;return{max_length:e.length<o,min_length:e.length>=r,require_numbers:/\d/.test(e),require_lowercase:/[a-z]/.test(e),require_uppercase:/[A-Z]/.test(e),require_special_char:t.test(e)}}})(t)(e,{maxLength:t.max_length,minLength:t.min_length}),c={max_length:n,min_length:r,require_special_char:o,require_lowercase:a,require_numbers:i,require_uppercase:l},d=new Map;for(let e in c)c[e]&&!s[e]&&d.set(e,!0);return Object.freeze(Object.fromEntries(d))})(e,t),c=(e=>{let{min_zxcvbn_strength:t,onResult:n}=e;return e=>r=>{let o=e(r);return(null==n||n(o),o.score>=t&&o.score<3)?{state:"pass",keys:["unstable__errors.zxcvbn.couldBeStronger"],result:o}:o.score>=t?{state:"excellent",result:o}:{state:"fail",keys:["unstable__errors.zxcvbn.notEnough",...o.feedback.suggestions.map(e=>"unstable__errors.zxcvbn.suggestions.".concat(e))],result:o}}})(t),d={};return(t,n)=>{let{onValidation:r=o,onValidationComplexity:u=a}=n||{};if(!l)return;let p=s(t);u(0===Object.keys(p).length),d={...d,complexity:p},i&&e().then(e=>{let n=c(e)(t);r({...d={...d,strength:n},strength:n})}),d.complexity&&0===Object.keys(d.complexity).length&&i||r(d)}})(t,e,{onValidation:b,onValidationComplexity:v})},[b,e,p])}},p=e=>{let{passwordField:t,confirmPasswordField:n}=e,{t:r}=(0,l._)(),o=(0,a.useCallback)(e=>t.value===e,[t.value]),i=(0,a.useMemo)(()=>o(n.value),[o,n.value]);return{setConfirmPasswordFeedback:(0,a.useCallback)(e=>{o(e)?n.setSuccess(r((0,s.G)("formFieldError__matchingPasswords"))):n.setError(r((0,s.G)("formFieldError__notMatchingPasswords")))},[n.setError,n.setSuccess,r,o]),isPasswordMatch:i}}},11577:function(e,t,n){n.d(t,{f:()=>l}),n(88711);var r=n(42119),o=n(36836),a=n(94166),i=n(35074);let l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{bubbles:t=!1,shoudFlip:n=!0,outsidePress:l,adjustToReferenceWidth:s=!1,referenceElement:c,canCloseModal:d}=e,[u,p]=i.useState(e.defaultOpen||!1),m=(0,r.fI)(),{update:h,refs:f,strategy:g,x:v,y:b,context:y}=(0,r.we)({open:u,onOpenChange:p,elements:{reference:null==c?void 0:c.current},nodeId:m,whileElementsMounted:!1===e.autoUpdate?void 0:o.ll,placement:e.placement||"bottom-start",middleware:[(0,a.cY)(e.offset||6),n&&(0,a.UU)(),(0,a.BN)(),(0,a.Ej)({apply(e){let{elements:t}=e;if(s){let e=t.reference;t.floating.style.width=e?"".concat(null==e?void 0:e.offsetWidth,"px"):""}}})]});(0,r.s9)(y,{enabled:!1!==d,bubbles:t,outsidePress:l}),(0,i.useEffect)(()=>{e.defaultOpen&&h()},[]);let w=i.useCallback(()=>p(e=>!e),[p]),x=i.useCallback(()=>p(!0),[p]),_=i.useCallback(()=>p(!1),[p]);return{reference:f.setReference,floating:f.setFloating,toggle:w,open:x,nodeId:m,close:_,isOpen:u,styles:{position:g,top:null!=b?b:0,left:null!=v?v:0},context:y}}},60359:function(e,t,n){n.d(t,{j:()=>i}),n(88711);var r=n(35074);let o="(prefers-reduced-motion: no-preference)",a=()=>"undefined"==typeof window||!window.matchMedia(o).matches;function i(){let[e,t]=(0,r.useState)(a);return(0,r.useEffect)(()=>{let e=window.matchMedia(o);t(!window.matchMedia(o).matches);let n=e=>{t(!e.matches)};return"addEventListener"in e?e.addEventListener("change",n):e.addListener(n),()=>"addEventListener"in e?e.removeEventListener("change",n):e.removeListener(n)},[]),e}},17607:function(e,t,n){n.d(t,{Z:()=>a}),n(50036);var r=n(97697),o=n(67896);function a(){let{organizationSettings:e}=(0,r.O)(),t=e.forceOrganizationSelection;(0,o.s)(t?()=>Promise.all([n.e("26"),n.e("545"),n.e("666"),n.e("472"),n.e("723"),n.e("390")]).then(n.bind(n,61662)):void 0,"preloadComponent",{staleTime:1/0})}},88792:function(e,t,n){n.d(t,{K:()=>a}),n(22501);let r=0,o=()=>{};function a(){return{enableScrollLock:()=>{1==++r&&(o=function(){let e,t=/iP(hone|ad|od)|iOS/.test((null==(e=navigator.userAgentData)?void 0:e.platform)?e.platform:navigator.platform),n=document.body.style,r=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",o=window.innerWidth-document.documentElement.clientWidth,a=n.left?parseFloat(n.left):window.scrollX,i=n.top?parseFloat(n.top):window.scrollY;if(n.overflow="hidden",o&&(n[r]="".concat(o,"px")),t){var l,s;let e=(null==(l=window.visualViewport)?void 0:l.offsetLeft)||0,t=(null==(s=window.visualViewport)?void 0:s.offsetTop)||0;Object.assign(n,{position:"fixed",top:"".concat(-(i-Math.floor(t)),"px"),left:"".concat(-(a-Math.floor(e)),"px"),right:"0"})}return()=>{Object.assign(n,{overflow:"",[r]:""}),t&&(Object.assign(n,{position:"",top:"",left:"",right:""}),window.scrollTo(a,i))}}())},disableScrollLock:()=>{0==--r&&o()}}}},9107:function(e,t,n){n.d(t,{h:()=>l}),n(88711),n(60486),n(25089),n(61244),n(77895);var r=n(21210),o=n(35074),a=n(80004),i=n(4964);let l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2e3,{queryString:t}=(0,i.r)(),{setActive:n}=(0,r.ho)(),{afterSignInUrl:l}=(0,a.r)();(0,o.useEffect)(()=>{let r,o=new URLSearchParams(t).get("createdSessionId");return o&&(r=setTimeout(()=>{n({session:o,redirectUrl:l})},e)),()=>{r&&clearTimeout(r)}},[n,l,t])}},19426:function(e,t,n){n.d(t,{p:()=>l}),n(22501),n(58910);var r=n(21210),o=n(35074),a=n(62366),i=n(97697);function l(){let e=(0,r.ho)(),{supportEmail:t}=(0,a.II)(),{displayConfig:n}=(0,i.O)(),{supportEmail:l}=n;return o.useMemo(()=>t||l||function(e){let{localPart:t,frontendApi:n}=e;return"".concat(t,"@").concat(n?n.replace("clerk.",""):"clerk.com")}({localPart:"support",frontendApi:e.frontendApi}),[e.frontendApi,t,l])}},75914:function(e,t,n){n.d(t,{i:()=>a}),n(19161),n(85074),n(88711),n(60486),n(25089),n(61244),n(77895);var r=n(35074),o=n(4964);let a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(0,o.r)(),a=()=>{var r;let o=n.queryParams.tab,a=null==(r=Object.entries(e).find(e=>{let[t,n]=e;return n===o}))?void 0:r[0];return a?parseInt(a,10):t},[i,l]=(0,r.useState)(a());return(0,r.useEffect)(()=>{let e=a();e!==i&&l(e)},[n.queryParams.tab]),{selectedTab:i,handleTabChange:t=>{l(t);let r=n.currentPath;n.navigate(r,{searchParams:new URLSearchParams({tab:e[t]||""})})}}}},42229:function(e,t,n){n.d(t,{F:()=>a}),n(19161),n(95055);var r=n(97697),o=n(19835);let a=()=>{let{userSettings:e}=(0,r.O)(),{authenticatableOauthStrategies:t,web3Strategies:n,alternativePhoneCodeChannels:a}=(0,o.k)();return e.enabledFirstFactorIdentifiers.filter(e=>"passkey"!==e).length+t.length+n.length+a.length}},8501:function(e,t,n){n.d(t,{MountedCheckoutDrawer:()=>l});var r=n(14518),o=n(21210),a=n(54096),i=n(94642);function l(e){var t,n;let{appearance:l,checkoutDrawer:s,onOpenChange:c}=e,{user:d}=(0,o.Jd)();return s.props?(0,r.Y)(i.$h,{globalAppearance:l,appearanceKey:"checkout",componentAppearance:s.props.appearance||{},flowName:"checkout",open:s.open,onOpenChange:c,componentName:"Checkout",portalId:null==(t=s.props)?void 0:t.portalId,portalRoot:null==(n=s.props)?void 0:n.portalRoot,children:s.props&&(0,r.Y)(a.RW,{planId:s.props.planId,planPeriod:s.props.planPeriod,for:s.props.for,onSubscriptionComplete:s.props.onSubscriptionComplete,portalRoot:s.props.portalRoot,appearance:s.props.appearance,newSubscriptionRedirectUrl:s.props.newSubscriptionRedirectUrl})},null==d?void 0:d.id):null}},94027:function(e,t,n){n.d(t,{MountedPlanDetailDrawer:()=>l});var r=n(14518),o=n(21210),a=n(54096),i=n(94642);function l(e){let{appearance:t,planDetailsDrawer:n,onOpenChange:l}=e,{user:s}=(0,o.Jd)();return n.props?(0,r.Y)(i.$h,{globalAppearance:t,appearanceKey:"planDetails",componentAppearance:n.props.appearance||{},flowName:"planDetails",open:n.open,onOpenChange:l,componentName:"PlanDetails",portalId:n.props.portalId,portalRoot:n.props.portalRoot,children:(0,r.Y)(a.ym,{...n.props})},null==s?void 0:s.id):null}},89949:function(e,t,n){n.d(t,{MountedSubscriptionDetailDrawer:()=>l});var r=n(14518),o=n(21210),a=n(41461),i=n(94642);function l(e){let{appearance:t,subscriptionDetailsDrawer:n,onOpenChange:l}=e,{user:s}=(0,o.Jd)();return n.props?(0,r.Y)(i.$h,{globalAppearance:t,appearanceKey:"subscriptionDetails",componentAppearance:n.props.appearance||{},flowName:"subscriptionDetails",open:n.open,onOpenChange:l,componentName:"SubscriptionDetails",portalId:n.props.portalId,portalRoot:n.props.portalRoot,children:(0,r.Y)(a.SubscriptionDetails,{...n.props})},null==s?void 0:s.id):null}},8434:function(e,t,n){n.d(t,{createRoot:()=>r.createRoot});var r=n(64292)},22861:function(e,t,n){n.d(t,{G:()=>r});let r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{key:e,params:n[0]}}},10078:function(e,t,n){let r,o;n.d(t,{d:()=>x,_:()=>_}),n(22501),n(58910);var a=n(14518),i=n(73610),l=n(35074),s=n(62366);n(19161),n(22239),n(95055),n(88711),n(41730),n(58814),n(8451);var c=n(21210),d=n(97697),u=n(96988);let p={titleize:n(21044).Ns,timeString:(e,t)=>{try{return new Intl.DateTimeFormat(t||"en-US",{timeStyle:"short"}).format((0,u.OG)(e))}catch(e){return console.warn(e),""}},weekday:(e,t,n)=>{try{return new Intl.DateTimeFormat(t||"en-US",{weekday:n||"long"}).format((0,u.OG)(e))}catch(e){return console.warn(e),""}},numeric:(e,t)=>{try{return new Intl.DateTimeFormat(t||"en-US").format((0,u.OG)(e))}catch(e){return console.warn(e),""}},link:(e,t)=>"[".concat(t,"](").concat(e,")"),shortDate:(e,t)=>{let n=(0,u.OG)(e);try{return new Intl.DateTimeFormat(t||"en-US",{month:"short",day:"numeric",...n.getFullYear()!==new Date().getFullYear()?{year:"numeric"}:{}}).format((0,u.OG)(e))}catch(e){return console.warn(e),""}},longDate:(e,t)=>{try{return new Intl.DateTimeFormat(t||"en-US",{month:"long",day:"numeric",year:"numeric"}).format((0,u.OG)(e))}catch(e){return console.warn(e),""}}},m=()=>{var e,t;let{applicationName:n}=(0,d.O)().displayConfig,{client:r,user:o}=(0,c.ho)(),{signIn:a}=r||{};return{applicationName:n,"signIn.identifier":(null==a?void 0:a.identifier)||"","user.username":(null==o?void 0:o.username)||"","user.firstName":(null==o?void 0:o.firstName)||"","user.lastName":(null==o?void 0:o.lastName)||"","user.primaryEmailAddress":(null==o||null==(e=o.primaryEmailAddress)?void 0:e.emailAddress)||"","user.primaryPhoneNumber":(null==o||null==(t=o.primaryPhoneNumber)?void 0:t.phoneNumber)||""}},h=e=>Object.prototype.hasOwnProperty.call(p,e),f=e=>{let t=e.split(/[(,)]/g).map(e=>e.trim()).filter(e=>!!e);if(1===t.length){let[e]=t;return{modifierName:e,params:[]}}{let[e,...n]=t;return{modifierName:e,params:n.map(e=>e.replace(/['"]+/g,""))}}},g={locale:"en-US",apiKeys:{action__add:"Add new key",action__search:"Search keys",copySecret:{formButtonPrimary__copyAndClose:"Copy & Close",formHint:"For security reasons, we won't allow you to view it again later.",formTitle:'Copy your "{{name}}" API Key now'},createdAndExpirationStatus__expiresOn:"Created {{ createdDate | shortDate('en-US') }} • Expires {{ expiresDate | longDate('en-US') }}",createdAndExpirationStatus__never:"Created {{ createdDate | shortDate('en-US') }} • Never expires",detailsTitle__emptyRow:"No API keys found",formButtonPrimary__add:"Create key",formFieldCaption__expiration__expiresOn:"Expiring {{ date }}",formFieldCaption__expiration__never:"This key will never expire",formFieldOption__expiration__180d:"180 Days",formFieldOption__expiration__1d:"1 Day",formFieldOption__expiration__1y:"1 Year",formFieldOption__expiration__30d:"30 Days",formFieldOption__expiration__60d:"60 Days",formFieldOption__expiration__7d:"7 Days",formFieldOption__expiration__90d:"90 Days",formFieldOption__expiration__never:"Never",formHint:"Provide a name to generate a new key. You’ll be able to revoke it anytime.",formTitle:"Add new API key",lastUsed__days:"{{days}}d ago",lastUsed__hours:"{{hours}}h ago",lastUsed__minutes:"{{minutes}}m ago",lastUsed__months:"{{months}}mo ago",lastUsed__seconds:"{{seconds}}s ago",lastUsed__years:"{{years}}y ago",menuAction__revoke:"Revoke key",revokeConfirmation:{confirmationText:"Revoke",formButtonPrimary__revoke:"Revoke key",formHint:"Are you sure you want to delete this Secret key?",formTitle:'Revoke "{{apiKeyName}}" secret key?'}},backButton:"Back",badge__activePlan:"Active",badge__canceledEndsAt:"Canceled • Ends {{ date | shortDate('en-US') }}",badge__currentPlan:"Current plan",badge__default:"Default",badge__endsAt:"Ends {{ date | shortDate('en-US') }}",badge__expired:"Expired",badge__freeTrial:"Free trial",badge__otherImpersonatorDevice:"Other impersonator device",badge__pastDueAt:"Past due {{ date | shortDate('en-US') }}",badge__pastDuePlan:"Past due",badge__primary:"Primary",badge__renewsAt:"Renews {{ date | shortDate('en-US') }}",badge__requiresAction:"Requires action",badge__startsAt:"Starts {{ date | shortDate('en-US') }}",badge__thisDevice:"This device",badge__trialEndsAt:"Trial ends {{ date | shortDate('en-US') }}",badge__unverified:"Unverified",badge__upcomingPlan:"Upcoming",badge__userDevice:"User device",badge__you:"You",billing:{addPaymentMethod__label:"Add payment method",alwaysFree:"Always free",annually:"Annually",availableFeatures:"Available features",billedAnnually:"Billed annually",billedMonthlyOnly:"Only billed monthly",cancelFreeTrial:"Cancel free trial",cancelFreeTrialAccessUntil:"Your trial will stay active until {{ date | longDate('en-US') }}. After that, you'll lose access to trial features. You won't be charged.",cancelFreeTrialTitle:"Cancel free trial for {{plan}} plan?",cancelSubscription:"Cancel subscription",cancelSubscriptionAccessUntil:"You can keep using '{{plan}}' features until {{ date | longDate('en-US') }}, after which you will no longer have access.",cancelSubscriptionNoCharge:"You will not be charged for this subscription.",cancelSubscriptionPastDue:"Your subscription will end immediately and you will lose access to all plan features. You will be asked to pay the past due amount on your next subscription.",cancelSubscriptionTitle:"Cancel {{plan}} Subscription?",cannotSubscribeMonthly:"You cannot subscribe to this plan by paying monthly. To subscribe to this plan, you need to choose to pay annually.",cannotSubscribeUnrecoverable:"You cannot subscribe to this plan. Your existing subscription is more expensive than this plan.",checkout:{description__paymentSuccessful:"Your payment was successful.",description__subscriptionSuccessful:"Your new subscription is all set.",downgradeNotice:"You will keep your current subscription and its features until the end of the billing cycle, then you will be switched to this subscription.",emailForm:{subtitle:"Before you can complete your purchase you must add an email address where receipts will be sent.",title:"Add an email address"},lineItems:{title__freeTrialEndsAt:"Trial ends on",title__paymentMethod:"Payment method",title__statementId:"Statement ID",title__subscriptionBegins:"Subscription begins",title__totalPaid:"Total paid"},pastDueNotice:"Your previous subscription was past due, with no payment.",perMonth:"per month",title:"Checkout",title__paymentSuccessful:"Payment was successful!",title__subscriptionSuccessful:"Success!",title__trialSuccess:"Trial successfully started!",totalDueAfterTrial:"Total Due after trial ends in {{days}} days"},credit:"Credit",creditRemainder:"Credit for the remainder of your current subscription.",defaultFreePlanActive:"You're currently on the Free plan",free:"Free",getStarted:"Get started",keepFreeTrial:"Keep free trial",keepSubscription:"Keep subscription",manage:"Manage",manageSubscription:"Manage subscription",month:"Month",monthly:"Monthly",pastDue:"Past due",pay:"Pay {{amount}}",paymentMethod:{applePayDescription:{annual:"Annual payment",monthly:"Monthly payment"},dev:{anyNumbers:"Any numbers",cardNumber:"Card number",cvcZip:"CVC, ZIP",developmentMode:"Development mode",expirationDate:"Expiration date",testCardInfo:"Test card information"}},paymentMethods__label:"Payment Methods",popular:"Popular",pricingTable:{billingCycle:"Billing cycle",included:"Included"},reSubscribe:"Resubscribe",seeAllFeatures:"See all features",startFreeTrial:"Start free trial",startFreeTrial__days:"Start {{days}}-day free trial",subscribe:"Subscribe",subscriptionDetails:{beginsOn:"Begins on",currentBillingCycle:"Current billing cycle",endsOn:"Ends on",firstPaymentAmount:"First payment amount",firstPaymentOn:"First payment on",nextPaymentAmount:"Next payment amount",nextPaymentOn:"Next payment on",pastDueAt:"Past due on",renewsAt:"Renews at",subscribedOn:"Subscribed on",title:"Subscription",trialEndsOn:"Trial ends on",trialStartedOn:"Trial started on"},subtotal:"Subtotal",switchPlan:"Switch to this plan",switchToAnnual:"Switch to annual",switchToAnnualWithAnnualPrice:"Switch to annual {{currency}}{{price}} / year",switchToMonthly:"Switch to monthly",switchToMonthlyWithPrice:"Switch to monthly {{currency}}{{price}} / month",totalDue:"Total due",totalDueToday:"Total Due Today",viewFeatures:"View features",viewPayment:"View payment",year:"Year"},createOrganization:{formButtonSubmit:"Create organization",invitePage:{formButtonReset:"Skip"},title:"Create organization"},dates:{lastDay:"Yesterday at {{ date | timeString('en-US') }}",next6Days:"{{ date | weekday('en-US','long') }} at {{ date | timeString('en-US') }}",nextDay:"Tomorrow at {{ date | timeString('en-US') }}",numeric:"{{ date | numeric('en-US') }}",previous6Days:"Last {{ date | weekday('en-US','long') }} at {{ date | timeString('en-US') }}",sameDay:"Today at {{ date | timeString('en-US') }}"},dividerText:"or",footerActionLink__alternativePhoneCodeProvider:"Send code via SMS instead",footerActionLink__useAnotherMethod:"Use another method",footerPageLink__help:"Help",footerPageLink__privacy:"Privacy",footerPageLink__terms:"Terms",formButtonPrimary:"Continue",formButtonPrimary__verify:"Verify",formFieldAction__forgotPassword:"Forgot password?",formFieldError__matchingPasswords:"Passwords match.",formFieldError__notMatchingPasswords:"Passwords don't match.",formFieldError__verificationLinkExpired:"The verification link expired. Please request a new link.",formFieldHintText__optional:"Optional",formFieldHintText__slug:"A slug is a human-readable ID that must be unique. It’s often used in URLs.",formFieldInputPlaceholder__apiKeyDescription:"Explain why you’re generating this key",formFieldInputPlaceholder__apiKeyExpirationDate:"Select date",formFieldInputPlaceholder__apiKeyName:"Enter your secret key name",formFieldInputPlaceholder__backupCode:"Enter backup code",formFieldInputPlaceholder__confirmDeletionUserAccount:"Delete account",formFieldInputPlaceholder__emailAddress:"Enter your email address",formFieldInputPlaceholder__emailAddress_username:"Enter email or username",formFieldInputPlaceholder__emailAddresses:"example@email.com, example2@email.com",formFieldInputPlaceholder__firstName:"First name",formFieldInputPlaceholder__lastName:"Last name",formFieldInputPlaceholder__organizationDomain:"example.com",formFieldInputPlaceholder__organizationDomainEmailAddress:"you@example.com",formFieldInputPlaceholder__organizationName:"Organization name",formFieldInputPlaceholder__organizationSlug:"my-org",formFieldInputPlaceholder__password:"Enter your password",formFieldInputPlaceholder__phoneNumber:"Enter your phone number",formFieldInputPlaceholder__username:void 0,formFieldInput__emailAddress_format:"Example format: name@example.com",formFieldLabel__apiKey:"API key",formFieldLabel__apiKeyDescription:"Description",formFieldLabel__apiKeyExpiration:"Expiration",formFieldLabel__apiKeyName:"Secret key name",formFieldLabel__automaticInvitations:"Enable automatic invitations for this domain",formFieldLabel__backupCode:"Backup code",formFieldLabel__confirmDeletion:"Confirmation",formFieldLabel__confirmPassword:"Confirm password",formFieldLabel__currentPassword:"Current password",formFieldLabel__emailAddress:"Email address",formFieldLabel__emailAddress_username:"Email address or username",formFieldLabel__emailAddresses:"Email addresses",formFieldLabel__firstName:"First name",formFieldLabel__lastName:"Last name",formFieldLabel__newPassword:"New password",formFieldLabel__organizationDomain:"Domain",formFieldLabel__organizationDomainDeletePending:"Delete pending invitations and suggestions",formFieldLabel__organizationDomainEmailAddress:"Verification email address",formFieldLabel__organizationDomainEmailAddressDescription:"Enter an email address under this domain to receive a code and verify this domain.",formFieldLabel__organizationName:"Name",formFieldLabel__organizationSlug:"Slug",formFieldLabel__passkeyName:"Name of passkey",formFieldLabel__password:"Password",formFieldLabel__phoneNumber:"Phone number",formFieldLabel__role:"Role",formFieldLabel__signOutOfOtherSessions:"Sign out of all other devices",formFieldLabel__username:"Username",impersonationFab:{action__signOut:"Sign out",title:"Signed in as {{identifier}}"},lastAuthenticationStrategy:"Last used",maintenanceMode:"We are currently undergoing maintenance, but don't worry, it shouldn't take more than a few minutes.",membershipRole__admin:"Admin",membershipRole__basicMember:"Member",membershipRole__guestMember:"Guest",organizationList:{action__createOrganization:"Create organization",action__invitationAccept:"Join",action__suggestionsAccept:"Request to join",createOrganization:"Create Organization",invitationAcceptedLabel:"Joined",subtitle:"to continue to {{applicationName}}",suggestionsAcceptedLabel:"Pending approval",title:"Choose an account",titleWithoutPersonal:"Choose an organization"},organizationProfile:{apiKeysPage:{title:"API keys"},badge__automaticInvitation:"Automatic invitations",badge__automaticSuggestion:"Automatic suggestions",badge__manualInvitation:"No automatic enrollment",badge__unverified:"Unverified",billingPage:{paymentHistorySection:{empty:"No payment history",notFound:"Payment attempt not found",tableHeader__amount:"Amount",tableHeader__date:"Date",tableHeader__status:"Status"},paymentMethodsSection:{actionLabel__default:"Make default",actionLabel__remove:"Remove",add:"Add new payment method",addSubtitle:"Add a new payment method to your account.",cancelButton:"Cancel",formButtonPrimary__add:"Add Payment Method",formButtonPrimary__pay:"Pay {{amount}}",payWithTestCardButton:"Pay with test card",removeMethod:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to use this payment method and any recurring subscriptions dependent on it will no longer work.",successMessage:"{{paymentMethod}} has been removed from your account.",title:"Remove payment method"},title:"Payment methods"},start:{headerTitle__payments:"Payments",headerTitle__plans:"Plans",headerTitle__statements:"Statements",headerTitle__subscriptions:"Subscription"},statementsSection:{empty:"No statements to display",itemCaption__paidForPlan:"Paid for {{plan}} {{period}} plan",itemCaption__proratedCredit:"Prorated credit for partial usage of previous subscription",itemCaption__subscribedAndPaidForPlan:"Subscribed and paid for {{plan}} {{period}} plan",notFound:"Statement not found",tableHeader__amount:"Amount",tableHeader__date:"Date",title:"Statements",totalPaid:"Total paid"},subscriptionsListSection:{actionLabel__manageSubscription:"Manage",actionLabel__newSubscription:"Subscribe to a plan",actionLabel__switchPlan:"Switch plans",tableHeader__edit:"Edit",tableHeader__plan:"Plan",tableHeader__startDate:"Start date",title:"Subscription"},subscriptionsSection:{actionLabel__default:"Manage"},switchPlansSection:{title:"Switch plans"},title:"Billing"},createDomainPage:{subtitle:"Add the domain to verify. Users with email addresses at this domain can join the organization automatically or request to join.",title:"Add domain"},invitePage:{detailsTitle__inviteFailed:"The invitations could not be sent. There are already pending invitations for the following email addresses: {{email_addresses}}.",formButtonPrimary__continue:"Send invitations",selectDropdown__role:"Select role",subtitle:"Enter or paste one or more email addresses, separated by spaces or commas.",successMessage:"Invitations successfully sent",title:"Invite new members"},membersPage:{action__invite:"Invite",action__search:"Search",activeMembersTab:{menuAction__remove:"Remove member",tableHeader__actions:"Actions",tableHeader__joined:"Joined",tableHeader__role:"Role",tableHeader__user:"User"},detailsTitle__emptyRow:"No members to display",invitationsTab:{autoInvitations:{headerSubtitle:"Invite users by connecting an email domain with your organization. Anyone who signs up with a matching email domain will be able to join the organization anytime.",headerTitle:"Automatic invitations",primaryButton:"Manage verified domains"},table__emptyRow:"No invitations to display"},invitedMembersTab:{menuAction__revoke:"Revoke invitation",tableHeader__invited:"Invited"},requestsTab:{autoSuggestions:{headerSubtitle:"Users who sign up with a matching email domain, will be able to see a suggestion to request to join your organization.",headerTitle:"Automatic suggestions",primaryButton:"Manage verified domains"},menuAction__approve:"Approve",menuAction__reject:"Reject",tableHeader__requested:"Requested access",table__emptyRow:"No requests to display"},start:{headerTitle__invitations:"Invitations",headerTitle__members:"Members",headerTitle__requests:"Requests"}},navbar:{apiKeys:"API keys",billing:"Billing",description:"Manage your organization.",general:"General",members:"Members",title:"Organization"},plansPage:{alerts:{noPermissionsToManageBilling:"You do not have permissions to manage billing for this organization."},title:"Plans"},profilePage:{dangerSection:{deleteOrganization:{actionDescription:'Type "{{organizationName}}" below to continue.',messageLine1:"Are you sure you want to delete this organization?",messageLine2:"This action is permanent and irreversible.",successMessage:"You have deleted the organization.",title:"Delete organization"},leaveOrganization:{actionDescription:'Type "{{organizationName}}" below to continue.',messageLine1:"Are you sure you want to leave this organization? You will lose access to this organization and its applications.",messageLine2:"This action is permanent and irreversible.",successMessage:"You have left the organization.",title:"Leave organization"},title:"Danger"},domainSection:{menuAction__manage:"Manage",menuAction__remove:"Delete",menuAction__verify:"Verify",primaryButton:"Add domain",subtitle:"Allow users to join the organization automatically or request to join based on a verified email domain.",title:"Verified domains"},successMessage:"The organization has been updated.",title:"Update profile"},removeDomainPage:{messageLine1:"The email domain {{domain}} will be removed.",messageLine2:"Users won’t be able to join the organization automatically after this.",successMessage:"{{domain}} has been removed.",title:"Remove domain"},start:{headerTitle__general:"General",headerTitle__members:"Members",profileSection:{primaryButton:"Update profile",title:"Organization Profile",uploadAction__title:"Logo"}},verifiedDomainPage:{dangerTab:{calloutInfoLabel:"Removing this domain will affect invited users.",removeDomainActionLabel__remove:"Remove domain",removeDomainSubtitle:"Remove this domain from your verified domains",removeDomainTitle:"Remove domain"},enrollmentTab:{automaticInvitationOption__description:"Users are automatically invited to join the organization when they sign-up and can join anytime.",automaticInvitationOption__label:"Automatic invitations",automaticSuggestionOption__description:"Users receive a suggestion to request to join, but must be approved by an admin before they are able to join the organization.",automaticSuggestionOption__label:"Automatic suggestions",calloutInfoLabel:"Changing the enrollment mode will only affect new users.",calloutInvitationCountLabel:"Pending invitations sent to users: {{count}}",calloutSuggestionCountLabel:"Pending suggestions sent to users: {{count}}",manualInvitationOption__description:"Users can only be invited manually to the organization.",manualInvitationOption__label:"No automatic enrollment",subtitle:"Choose how users from this domain can join the organization."},start:{headerTitle__danger:"Danger",headerTitle__enrollment:"Enrollment options"},subtitle:"The domain {{domain}} is now verified. Continue by selecting enrollment mode.",title:"Update {{domain}}"},verifyDomainPage:{formSubtitle:"Enter the verification code sent to your email address",formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"The domain {{domainName}} needs to be verified via email.",subtitleVerificationCodeScreen:"A verification code was sent to {{emailAddress}}. Enter the code to continue.",title:"Verify domain"}},organizationSwitcher:{action__closeOrganizationSwitcher:"Close organization switcher",action__createOrganization:"Create organization",action__invitationAccept:"Join",action__manageOrganization:"Manage",action__openOrganizationSwitcher:"Open organization switcher",action__suggestionsAccept:"Request to join",notSelected:"No organization selected",personalWorkspace:"Personal account",suggestionsAcceptedLabel:"Pending approval"},paginationButton__next:"Next",paginationButton__previous:"Previous",paginationRowText__displaying:"Displaying",paginationRowText__of:"of",reverification:{alternativeMethods:{actionLink:"Get help",actionText:"Don’t have any of these?",blockButton__backupCode:"Use a backup code",blockButton__emailCode:"Email code to {{identifier}}",blockButton__passkey:"Use your passkey",blockButton__password:"Continue with your password",blockButton__phoneCode:"Send SMS code to {{identifier}}",blockButton__totp:"Use your authenticator app",getHelp:{blockButton__emailSupport:"Email support",content:"If you have trouble verifying your account, email us and we will work with you to restore access as soon as possible.",title:"Get help"},subtitle:"Facing issues? You can use any of these methods for verification.",title:"Use another method"},backupCodeMfa:{subtitle:"Enter the backup code you received when setting up two-step authentication",title:"Enter a backup code"},emailCode:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the code sent to your email to continue",title:"Verification required"},noAvailableMethods:{message:"Cannot proceed with verification. No suitable authentication factor is configured",subtitle:"An error occurred",title:"Cannot verify your account"},passkey:{blockButton__passkey:"Use your passkey",subtitle:"Using your passkey confirms your identity. Your device may ask for your fingerprint, face, or screen lock.",title:"Use your passkey"},password:{actionLink:"Use another method",subtitle:"Enter your current password to continue",title:"Verification required"},phoneCode:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the code sent to your phone to continue",title:"Verification required"},phoneCodeMfa:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the code sent to your phone to continue",title:"Verification required"},totpMfa:{formTitle:"Verification code",subtitle:"Enter the code generated by your authenticator app to continue",title:"Verification required"}},signIn:{accountSwitcher:{action__addAccount:"Add account",action__signOutAll:"Sign out of all accounts",subtitle:"Select the account with which you wish to continue.",title:"Choose an account"},alternativeMethods:{actionLink:"Get help",actionText:"Don’t have any of these?",blockButton__backupCode:"Use a backup code",blockButton__emailCode:"Email code to {{identifier}}",blockButton__emailLink:"Email link to {{identifier}}",blockButton__passkey:"Sign in with your passkey",blockButton__password:"Sign in with your password",blockButton__phoneCode:"Send SMS code to {{identifier}}",blockButton__totp:"Use your authenticator app",getHelp:{blockButton__emailSupport:"Email support",content:"If you have trouble signing into your account, email us and we will work with you to restore access as soon as possible.",title:"Get help"},subtitle:"Facing issues? You can use any of these methods to sign in.",title:"Use another method"},alternativePhoneCodeProvider:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your {{provider}}"},backupCodeMfa:{subtitle:"Your backup code is the one you got when setting up two-step authentication.",title:"Enter a backup code"},emailCode:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your email"},emailCodeMfa:{formTitle:"Check your email",resendButton:"Didn't receive a code? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your email"},emailLink:{clientMismatch:{subtitle:"To continue, open the verification link on the device and browser from which you initiated the sign-in",title:"Verification link is invalid for this device"},expired:{subtitle:"Return to the original tab to continue.",title:"This verification link has expired"},failed:{subtitle:"Return to the original tab to continue.",title:"This verification link is invalid"},formSubtitle:"Use the verification link sent to your email",formTitle:"Verification link",loading:{subtitle:"You will be redirected soon",title:"Signing in..."},resendButton:"Didn't receive a link? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your email",unusedTab:{title:"You may close this tab"},verified:{subtitle:"You will be redirected soon",title:"Successfully signed in"},verifiedSwitchTab:{subtitle:"Return to original tab to continue",subtitleNewTab:"Return to the newly opened tab to continue",titleNewTab:"Signed in on other tab"}},emailLinkMfa:{formSubtitle:"Use the verification link sent to your email",resendButton:"Didn't receive a link? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your email"},enterpriseConnections:{subtitle:"Select the enterprise account with which you wish to continue.",title:"Choose your enterprise account"},forgotPassword:{formTitle:"Reset password code",resendButton:"Didn't receive a code? Resend",subtitle:"to reset your password",subtitle_email:"First, enter the code sent to your email address",subtitle_phone:"First, enter the code sent to your phone",title:"Reset password"},forgotPasswordAlternativeMethods:{blockButton__resetPassword:"Reset your password",label__alternativeMethods:"Or, sign in with another method",title:"Forgot Password?"},newDeviceVerificationNotice:"You're signing in from a new device. We're asking for verification to keep your account secure.",noAvailableMethods:{message:"Cannot proceed with sign in. There's no available authentication factor.",subtitle:"An error occurred",title:"Cannot sign in"},passkey:{subtitle:"Using your passkey confirms it's you. Your device may ask for your fingerprint, face or screen lock.",title:"Use your passkey"},password:{actionLink:"Use another method",subtitle:"Enter the password associated with your account",title:"Enter your password"},passwordCompromised:{title:"Password compromised"},passwordPwned:{title:"Password compromised"},passwordUntrusted:{title:"Password untrusted"},phoneCode:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"to continue to {{applicationName}}",title:"Check your phone"},phoneCodeMfa:{formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"To continue, please enter the verification code sent to your phone",title:"Check your phone"},resetPassword:{formButtonPrimary:"Reset Password",requiredMessage:"For security reasons, it is required to reset your password.",successMessage:"Your password was successfully changed. Signing you in, please wait a moment.",title:"Set new password"},resetPasswordMfa:{detailsLabel:"We need to verify your identity before resetting your password."},start:{actionLink:"Sign up",actionLink__join_waitlist:"Join waitlist",actionLink__use_email:"Use email",actionLink__use_email_username:"Use email or username",actionLink__use_passkey:"Use passkey instead",actionLink__use_phone:"Use phone",actionLink__use_username:"Use username",actionText:"Don’t have an account?",actionText__join_waitlist:"Want early access?",alternativePhoneCodeProvider:{actionLink:"Use another method",label:"{{provider}} phone number",subtitle:"Enter your phone number to get a verification code on {{provider}}.",title:"Sign in to {{applicationName}} with {{provider}}"},subtitle:"Welcome back! Please sign in to continue",subtitleCombined:void 0,title:"Sign in to {{applicationName}}",titleCombined:"Continue to {{applicationName}}"},totpMfa:{formTitle:"Verification code",subtitle:"To continue, please enter the verification code generated by your authenticator app",title:"Two-step verification"},web3Solana:{subtitle:"Select a wallet below to sign in",title:"Sign in with Solana"}},signInEnterPasswordTitle:"Enter your password",signUp:{alternativePhoneCodeProvider:{resendButton:"Didn't receive a code? Resend",subtitle:"Enter the verification code sent to your {{provider}}",title:"Verify your {{provider}}"},continue:{actionLink:"Sign in",actionText:"Already have an account?",subtitle:"Please fill in the remaining details to continue.",title:"Fill in missing fields"},emailCode:{formSubtitle:"Enter the verification code sent to your email address",formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the verification code sent to your email",title:"Verify your email"},emailLink:{clientMismatch:{subtitle:"To continue, open the verification link on the device and browser from which you initiated the sign-up",title:"Verification link is invalid for this device"},formSubtitle:"Use the verification link sent to your email address",formTitle:"Verification link",loading:{title:"Signing up..."},resendButton:"Didn't receive a link? Resend",subtitle:"to continue to {{applicationName}}",title:"Verify your email",verified:{title:"Successfully signed up"},verifiedSwitchTab:{subtitle:"Return to the newly opened tab to continue",subtitleNewTab:"Return to previous tab to continue",title:"Successfully verified email"}},enterpriseConnections:{subtitle:"Select the enterprise account with which you wish to continue.",title:"Choose your enterprise account"},legalConsent:{checkbox:{label__onlyPrivacyPolicy:'I agree to the {{ privacyPolicyLink || link("Privacy Policy") }}',label__onlyTermsOfService:'I agree to the {{ termsOfServiceLink || link("Terms of Service") }}',label__termsOfServiceAndPrivacyPolicy:'I agree to the {{ termsOfServiceLink || link("Terms of Service") }} and {{ privacyPolicyLink || link("Privacy Policy") }}'},continue:{subtitle:"Please read and accept the terms to continue",title:"Legal consent"}},phoneCode:{formSubtitle:"Enter the verification code sent to your phone number",formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",subtitle:"Enter the verification code sent to your phone",title:"Verify your phone"},restrictedAccess:{actionLink:"Sign in",actionText:"Already have an account?",blockButton__emailSupport:"Email support",blockButton__joinWaitlist:"Join waitlist",subtitle:"Sign ups are currently disabled. If you believe you should have access, please contact support.",subtitleWaitlist:"Sign ups are currently disabled. To be the first to know when we launch, join the waitlist.",title:"Access restricted"},start:{actionLink:"Sign in",actionLink__use_email:"Use email instead",actionLink__use_phone:"Use phone instead",actionText:"Already have an account?",alternativePhoneCodeProvider:{actionLink:"Use another method",label:"{{provider}} phone number",subtitle:"Enter your phone number to get a verification code on {{provider}}.",title:"Sign up to {{applicationName}} with {{provider}}"},subtitle:"Welcome! Please fill in the details to get started.",subtitleCombined:"Welcome! Please fill in the details to get started.",title:"Create your account",titleCombined:"Create your account"},web3Solana:{subtitle:"Select a wallet below to sign up",title:"Sign up with Solana"}},socialButtonsBlockButton:"Continue with {{provider|titleize}}",socialButtonsBlockButtonManyInView:"{{provider|titleize}}",taskChooseOrganization:{chooseOrganization:{action__createOrganization:"Create new organization",action__invitationAccept:"Join",action__suggestionsAccept:"Request to join",subtitle:"Join an existing organization or create a new one",suggestionsAcceptedLabel:"Pending approval",title:"Choose an organization"},createOrganization:{formButtonReset:"Cancel",formButtonSubmit:"Continue",formFieldInputPlaceholder__name:"My Organization",formFieldInputPlaceholder__slug:"my-organization",formFieldLabel__name:"Name",formFieldLabel__slug:"Slug",subtitle:"Enter your organization details to continue",title:"Setup your organization"},organizationCreationDisabled:{title:"You must belong to an organization",subtitle:"Contact your organization admin for an invitation."},signOut:{actionLink:"Sign out",actionText:"Signed in as {{identifier}}"}},taskResetPassword:{formButtonPrimary:"Reset Password",signOut:{actionLink:"Sign out",actionText:"Signed in as {{identifier}}"},subtitle:"Your account requires a new password before you can continue",title:"Reset your password"},unstable__errors:{already_a_member_in_organization:"{{email}} is already a member of the organization.",avatar_file_size_exceeded:"File size exceeds the maximum limit of 10MB. Please choose a smaller file.",avatar_file_type_invalid:"File type not supported. Please upload a JPG, PNG, GIF, or WEBP image.",captcha_invalid:void 0,captcha_unavailable:"Sign up unsuccessful due to failed bot validation. Please refresh the page to try again or reach out to support for more assistance.",form_code_incorrect:void 0,form_email_address_blocked:void 0,form_identifier_exists__email_address:void 0,form_identifier_exists__phone_number:void 0,form_identifier_exists__username:void 0,form_identifier_not_found:void 0,form_new_password_matches_current:"New password cannot be the same as the current password.",form_param_format_invalid:void 0,form_param_format_invalid__email_address:void 0,form_param_format_invalid__phone_number:void 0,form_param_max_length_exceeded__first_name:void 0,form_param_max_length_exceeded__last_name:void 0,form_param_max_length_exceeded__name:void 0,form_param_nil:void 0,form_param_type_invalid:void 0,form_param_type_invalid__email_address:void 0,form_param_type_invalid__phone_number:void 0,form_param_value_invalid:void 0,form_password_incorrect:void 0,form_password_or_identifier_incorrect:void 0,form_password_length_too_short:"Your password is too short. It must be at least 8 characters long.",form_password_not_strong_enough:"Your password is not strong enough.",form_password_pwned:"This password has been found as part of a breach and can not be used, please try another password instead.",form_password_pwned__sign_in:"This password has been found as part of a breach and can not be used, please reset your password.",form_password_size_in_bytes_exceeded:void 0,form_password_compromised__sign_in:void 0,form_password_untrusted__sign_in:"Your password may be compromised. To protect your account, please continue with an alternative sign-in method. You will be required to reset your password after signing in.",form_password_validation_failed:void 0,form_username_invalid_character:void 0,form_username_invalid_length:"Your username must be between {{min_length}} and {{max_length}} characters long.",form_username_needs_non_number_char:"Your username must contain at least one non-numeric character.",identification_deletion_failed:void 0,not_allowed_access:void 0,organization_domain_blocked:void 0,organization_domain_common:void 0,organization_domain_exists_for_enterprise_connection:void 0,organization_membership_quota_exceeded:void 0,organization_minimum_permissions_needed:void 0,organization_not_found_or_unauthorized:"You are no longer a member of this organization. Please choose or create another one.",organization_not_found_or_unauthorized_with_create_organization_disabled:"You are no longer a member of this organization. Please choose another one.",passkey_already_exists:"A passkey is already registered with this device.",passkey_not_supported:"Passkeys are not supported on this device.",passkey_pa_not_supported:"Registration requires a platform authenticator but the device does not support it.",passkey_registration_cancelled:"Passkey registration was cancelled or timed out.",passkey_retrieval_cancelled:"Passkey verification was cancelled or timed out.",passwordComplexity:{maximumLength:"less than {{length}} characters",minimumLength:"{{length}} or more characters",requireLowercase:"a lowercase letter",requireNumbers:"a number",requireSpecialCharacter:"a special character",requireUppercase:"an uppercase letter",sentencePrefix:"Your password must contain"},phone_number_exists:void 0,session_exists:void 0,web3_missing_identifier:"A Web3 Wallet extension cannot be found. Please install one to continue.",web3_signature_request_rejected:"You have rejected the signature request. Please try again to continue.",web3_solana_signature_generation_failed:"An error occurred while generating the signature. Please try again to continue.",zxcvbn:{couldBeStronger:"Your password works, but could be stronger. Try adding more characters.",goodPassword:"Your password meets all the necessary requirements.",notEnough:"Your password is not strong enough.",suggestions:{allUppercase:"Capitalize some, but not all letters.",anotherWord:"Add more words that are less common.",associatedYears:"Avoid years that are associated with you.",capitalization:"Capitalize more than the first letter.",dates:"Avoid dates and years that are associated with you.",l33t:"Avoid predictable letter substitutions like '@' for 'a'.",longerKeyboardPattern:"Use longer keyboard patterns and change typing direction multiple times.",noNeed:"You can create strong passwords without using symbols, numbers, or uppercase letters.",pwned:"If you use this password elsewhere, you should change it.",recentYears:"Avoid recent years.",repeated:"Avoid repeated words and characters.",reverseWords:"Avoid reversed spellings of common words.",sequences:"Avoid common character sequences.",useWords:"Use multiple words, but avoid common phrases."},warnings:{common:"This is a commonly used password.",commonNames:"Common names and surnames are easy to guess.",dates:"Dates are easy to guess.",extendedRepeat:'Repeated character patterns like "abcabcabc" are easy to guess.',keyPattern:"Short keyboard patterns are easy to guess.",namesByThemselves:"Single names or surnames are easy to guess.",pwned:"Your password was exposed by a data breach on the Internet.",recentYears:"Recent years are easy to guess.",sequences:'Common character sequences like "abc" are easy to guess.',similarToCommon:"This is similar to a commonly used password.",simpleRepeat:'Repeated characters like "aaa" are easy to guess.',straightRow:"Straight rows of keys on your keyboard are easy to guess.",topHundred:"This is a frequently used password.",topTen:"This is a heavily used password.",userInputs:"There should not be any personal or page related data.",wordByItself:"Single words are easy to guess."}}},userButton:{action__addAccount:"Add account",action__closeUserMenu:"Close user menu",action__manageAccount:"Manage account",action__openUserMenu:"Open user menu",action__signOut:"Sign out",action__signOutAll:"Sign out of all accounts"},userProfile:{apiKeysPage:{title:"API keys"},backupCodePage:{actionLabel__copied:"Copied!",actionLabel__copy:"Copy all",actionLabel__download:"Download .txt",actionLabel__print:"Print",infoText1:"Backup codes will be enabled for this account.",infoText2:"Keep the backup codes secret and store them securely. You may regenerate backup codes if you suspect they have been compromised.",subtitle__codelist:"Store them securely and keep them secret.",successMessage:"Backup codes are now enabled. You can use one of these to sign in to your account, if you lose access to your authentication device. Each code can only be used once.",successSubtitle:"You can use one of these to sign in to your account, if you lose access to your authentication device.",title:"Add backup code verification",title__codelist:"Backup codes"},billingPage:{paymentHistorySection:{empty:"No payment history",notFound:"Payment attempt not found",tableHeader__amount:"Amount",tableHeader__date:"Date",tableHeader__status:"Status"},paymentMethodsSection:{actionLabel__default:"Make default",actionLabel__remove:"Remove",add:"Add new payment method",addSubtitle:"Add a new payment method to your account.",cancelButton:"Cancel",formButtonPrimary__add:"Add Payment Method",formButtonPrimary__pay:"Pay {{amount}}",payWithTestCardButton:"Pay with test card",removeMethod:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to use this payment source and any recurring subscriptions dependent on it will no longer work.",successMessage:"{{paymentMethod}} has been removed from your account.",title:"Remove payment method"},title:"Payment methods"},start:{headerTitle__payments:"Payments",headerTitle__plans:"Plans",headerTitle__statements:"Statements",headerTitle__subscriptions:"Subscription"},statementsSection:{empty:"No statements to display",itemCaption__paidForPlan:"Paid for {{plan}} {{period}} plan",itemCaption__proratedCredit:"Prorated credit for partial usage of previous subscription",itemCaption__subscribedAndPaidForPlan:"Subscribed and paid for {{plan}} {{period}} plan",notFound:"Statement not found",tableHeader__amount:"Amount",tableHeader__date:"Date",title:"Statements",totalPaid:"Total paid"},subscriptionsListSection:{actionLabel__manageSubscription:"Manage",actionLabel__newSubscription:"Subscribe to a plan",actionLabel__switchPlan:"Switch plans",tableHeader__edit:"Edit",tableHeader__plan:"Plan",tableHeader__startDate:"Start date",title:"Subscription"},subscriptionsSection:{actionLabel__default:"Manage"},switchPlansSection:{title:"Switch plans"},title:"Billing"},connectedAccountPage:{formHint:"Select a provider to connect your account.",formHint__noAccounts:"There are no available external account providers.",removeResource:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to use this connected account and any dependent features will no longer work.",successMessage:"{{connectedAccount}} has been removed from your account.",title:"Remove connected account"},socialButtonsBlockButton:"{{provider|titleize}}",successMessage:"The provider has been added to your account",title:"Add connected account"},deletePage:{actionDescription:'Type "Delete account" below to continue.',confirm:"Delete account",messageLine1:"Are you sure you want to delete your account? Some associated data may be retained. To request full data deletion, please contact support.",messageLine2:"This action is permanent and irreversible.",title:"Delete account"},emailAddressPage:{emailCode:{formHint:"An email containing a verification code will be sent to this email address.",formSubtitle:"Enter the verification code sent to {{identifier}}",formTitle:"Verification code",resendButton:"Didn't receive a code? Resend",successMessage:"The email {{identifier}} has been added to your account."},emailLink:{formHint:"An email containing a verification link will be sent to this email address.",formSubtitle:"Click on the verification link in the email sent to {{identifier}}",formTitle:"Verification link",resendButton:"Didn't receive a link? Resend",successMessage:"The email {{identifier}} has been added to your account."},enterpriseSSOLink:{formButton:"Click to sign-in",formSubtitle:"Complete the sign-in with {{identifier}}"},formHint:"You'll need to verify this email address before it can be added to your account.",removeResource:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to sign in using this email address.",successMessage:"{{emailAddress}} has been removed from your account.",title:"Remove email address"},title:"Add email address",verifyTitle:"Verify email address"},formButtonPrimary__add:"Add",formButtonPrimary__continue:"Continue",formButtonPrimary__finish:"Finish",formButtonPrimary__remove:"Remove",formButtonPrimary__save:"Save",formButtonReset:"Cancel",mfaPage:{formHint:"Select a method to add.",title:"Add two-step verification"},mfaPhoneCodePage:{backButton:"Use existing number",primaryButton__addPhoneNumber:"Add phone number",removeResource:{messageLine1:"{{identifier}} will be no longer receiving verification codes when signing in.",messageLine2:"Your account may not be as secure. Are you sure you want to continue?",successMessage:"SMS code two-step verification has been removed for {{mfaPhoneCode}}",title:"Remove two-step verification"},subtitle__availablePhoneNumbers:"Select an existing phone number to register for SMS code two-step verification or add a new one.",subtitle__unavailablePhoneNumbers:"There are no available phone numbers to register for SMS code two-step verification, please add a new one.",successMessage1:"When signing in, you will need to enter a verification code sent to this phone number as an additional step.",successMessage2:"Save these backup codes and store them somewhere safe. If you lose access to your authentication device, you can use backup codes to sign in.",successTitle:"SMS code verification enabled",title:"Add SMS code verification"},mfaTOTPPage:{authenticatorApp:{buttonAbleToScan__nonPrimary:"Scan QR code instead",buttonUnableToScan__nonPrimary:"Can’t scan QR code?",infoText__ableToScan:"Set up a new sign-in method in your authenticator app and scan the following QR code to link it to your account.",infoText__unableToScan:"Set up a new sign-in method in your authenticator and enter the Key provided below.",inputLabel__unableToScan1:"Make sure Time-based or One-time passwords is enabled, then finish linking your account.",inputLabel__unableToScan2:"Alternatively, if your authenticator supports TOTP URIs, you can also copy the full URI."},removeResource:{messageLine1:"Verification codes from this authenticator will no longer be required when signing in.",messageLine2:"Your account may not be as secure. Are you sure you want to continue?",successMessage:"Two-step verification via authenticator application has been removed.",title:"Remove two-step verification"},successMessage:"Two-step verification is now enabled. When signing in, you will need to enter a verification code from this authenticator as an additional step.",title:"Add authenticator application",verifySubtitle:"Enter verification code generated by your authenticator",verifyTitle:"Verification code"},mobileButton__menu:"Menu",navbar:{account:"Profile",apiKeys:"API keys",billing:"Billing",description:"Manage your account info.",security:"Security",title:"Account"},passkeyScreen:{removeResource:{messageLine1:"{{name}} will be removed from this account.",title:"Remove passkey"},subtitle__rename:"You can change the passkey name to make it easier to find.",title__rename:"Rename Passkey"},passwordPage:{checkboxInfoText__signOutOfOtherSessions:"It is recommended to sign out of all other devices which may have used your old password.",readonly:"Your password can currently not be edited because you can sign in only via the enterprise connection.",successMessage__set:"Your password has been set.",successMessage__signOutOfOtherSessions:"All other devices have been signed out.",successMessage__update:"Your password has been updated.",title__set:"Set password",title__update:"Update password"},phoneNumberPage:{infoText:"A text message containing a verification code will be sent to this phone number. Message and data rates may apply.",removeResource:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to sign in using this phone number.",successMessage:"{{phoneNumber}} has been removed from your account.",title:"Remove phone number"},successMessage:"{{identifier}} has been added to your account.",title:"Add phone number",verifySubtitle:"Enter the verification code sent to {{identifier}}",verifyTitle:"Verify phone number"},plansPage:{title:"Plans"},profilePage:{fileDropAreaHint:"Recommended size 1:1, up to 10MB.",imageFormDestructiveActionSubtitle:"Remove",imageFormSubtitle:"Upload",imageFormTitle:"Profile image",readonly:"Your profile information has been provided by the enterprise connection and cannot be edited.",successMessage:"Your profile has been updated.",title:"Update profile"},start:{activeDevicesSection:{destructiveAction:"Sign out of device",title:"Active devices"},connectedAccountsSection:{actionLabel__connectionFailed:"Reconnect",actionLabel__reauthorize:"Authorize now",destructiveActionTitle:"Remove",primaryButton:"Connect account",subtitle__disconnected:"This account has been disconnected.",subtitle__reauthorize:"The required scopes have been updated, and you may be experiencing limited functionality. Please re-authorize this application to avoid any issues",title:"Connected accounts"},dangerSection:{deleteAccountButton:"Delete account",title:"Delete account"},emailAddressesSection:{destructiveAction:"Remove email",detailsAction__nonPrimary:"Set as primary",detailsAction__primary:"Complete verification",detailsAction__unverified:"Verify",primaryButton:"Add email address",title:"Email addresses"},enterpriseAccountsSection:{title:"Enterprise accounts"},headerTitle__account:"Profile details",headerTitle__security:"Security",mfaSection:{backupCodes:{actionLabel__regenerate:"Regenerate",headerTitle:"Backup codes",subtitle__regenerate:"Get a fresh set of secure backup codes. Prior backup codes will be deleted and cannot be used.",title__regenerate:"Regenerate backup codes"},phoneCode:{actionLabel__setDefault:"Set as default",destructiveActionLabel:"Remove"},primaryButton:"Add two-step verification",title:"Two-step verification",totp:{destructiveActionTitle:"Remove",headerTitle:"Authenticator application"}},passkeysSection:{menuAction__destructive:"Remove",menuAction__rename:"Rename",primaryButton:"Add a passkey",title:"Passkeys"},passwordSection:{primaryButton__setPassword:"Set password",primaryButton__updatePassword:"Update password",title:"Password"},phoneNumbersSection:{destructiveAction:"Remove phone number",detailsAction__nonPrimary:"Set as primary",detailsAction__primary:"Complete verification",detailsAction__unverified:"Verify phone number",primaryButton:"Add phone number",title:"Phone numbers"},profileSection:{primaryButton:"Update profile",title:"Profile"},usernameSection:{primaryButton__setUsername:"Set username",primaryButton__updateUsername:"Update username",title:"Username"},web3WalletsSection:{destructiveAction:"Remove wallet",detailsAction__nonPrimary:"Set as primary",primaryButton:"Connect wallet",title:"Web3 wallets",web3SelectSolanaWalletScreen:{subtitle:"Select a Solana wallet to connect to your account.",title:"Add a Solana wallet"}}},usernamePage:{successMessage:"Your username has been updated.",title__set:"Set username",title__update:"Update username"},web3WalletPage:{removeResource:{messageLine1:"{{identifier}} will be removed from this account.",messageLine2:"You will no longer be able to sign in using this web3 wallet.",successMessage:"{{web3Wallet}} has been removed from your account.",title:"Remove web3 wallet"},subtitle__availableWallets:"Select a web3 wallet to connect to your account.",subtitle__unavailableWallets:"There are no available web3 wallets.",successMessage:"The wallet has been added to your account.",title:"Add web3 wallet",web3WalletButtonsBlockButton:"{{provider|titleize}}"}},waitlist:{start:{actionLink:"Sign in",actionText:"Already have access?",formButton:"Join the waitlist",subtitle:"Enter your email address and we’ll let you know when your spot is ready",title:"Join the waitlist"},success:{message:"You will be redirected soon...",subtitle:"We’ll be in touch when your spot is ready",title:"Thanks for joining the waitlist!"}},web3SolanaWalletButtons:{connect:"Connect with {{walletName}}",continue:"Continue with {{walletName}}",noneAvailable:'No Solana Web3 wallets detected. Please install a Web3 supported {{ solanaWalletsLink || link("wallet extension") }}.'}};var v=n(22861),b=n(14562),y=n(97447);let w=()=>{let{localization:e}=(0,s.II)();var t=e||{};if(!r||o&&o!==t&&!(0,y.j)(t,o)){o=t;let e={};(0,b.aY)(g,e),(0,b.aY)(t,e),r=e}return r},x=e=>{let t=l.forwardRef((t,n)=>{let r=w(),{localizationKey:o,...i}=t,l=m();return o?"string"==typeof o?(0,a.Y)(e,{...i,ref:n,children:o}):(0,a.Y)(e,{...i,ref:n,"data-localization-key":S(o),children:k(o,r,l)||i.children}):(0,a.Y)(e,{...i,ref:n})}),n=e.displayName||e.name||"Component";return t.displayName="Localizable".concat(n).replace("_",""),t},_=()=>{let{localization:e}=(0,s.II)(),t=w(),n=m(),r=e=>e&&"string"!=typeof e?k(e,t,n):e||"";return{t:r,translateError:e=>{if(!e||"string"==typeof e)return r(e);if((0,i.Cm)(e))return r((0,v.G)("unstable__errors.".concat(e.code)))||e.message;let{code:t,message:n,longMessage:o,meta:a}=e||{},{paramName:l=""}=a||{};return t?r((0,v.G)("unstable__errors.".concat(t,"__").concat(l)))||r((0,v.G)("unstable__errors.".concat(t)))||o||n:""},locale:(null==e?void 0:e.locale)||g.locale}},S=e=>e.key,k=(e,t,n)=>{let r=((e,t)=>{let n=(t||"").split("."),r=e;for(let e=0;e<n.length;e++)if(void 0===(r=r[n[e]]))return;return r})(t,e.key),o=e.params;return((e,t)=>{var n,r;let o,a,i,l,s;if(!e)return"";let{normalisedString:c,expressions:d}=(n=e,r=t,o=(n.match(/{{.+?}}/g)||[]).map(e=>e.replace(/[{}]/g,"")).map(e=>e.split("|").map(e=>e.trim())).filter(e=>e[0]in r).map(e=>{let[t,...n]=e;return{token:t,modifiers:n.map(e=>f(e)).filter(e=>h(e.modifierName))}}),a=n,o.forEach(e=>{let{token:t}=e;a=a.replace(/{{.+?}}/,"_++".concat(t,"++_"))}),{expressions:o,normalisedString:a});return i=c,l=d,s=t,l.forEach(e=>{let{token:t,modifiers:n}=e,r=n.reduce((e,t)=>{try{return p[t.modifierName](e,...t.params)}catch(e){return console.warn(e),""}},s[t]);i=i.replace("_++".concat(t,"++_"),r)}),i})(r||"",{...n,...o})}},99661:function(e,t,n){n.d(t,{VirtualBodyRootPortal:()=>F,Portal:()=>T});var r=n(55945);n(88711);var o=n(14518),a=n(22166),i=n(31475),l=n(35074),s=n(5323);n(98114);var c=n(80004),d=n(75350),u=n(85240),p=n(9078),m=n(93620),h=n(39233),f=n(2826),g=n(59953),v=n(15892),b=n(40001),y=n(17032),w=n(90451),x=n(46256),_=n(70164),S=n(78188),k=n(72121),$=n(81616);function C(e){let{componentName:t,props:n,children:r}=e;switch(t){case"SignIn":return(0,o.Y)(c.Q.Provider,{value:{componentName:t,...n},children:r});case"SignUp":return(0,o.Y)(d.g.Provider,{value:{componentName:t,...n},children:r});case"UserProfile":return(0,o.Y)(u.M.Provider,{value:{componentName:t,...n},children:r});case"UserVerification":return(0,o.Y)(p._.Provider,{value:{componentName:t,...n},children:r});case"UserAvatar":return(0,o.Y)(m.E.Provider,{value:{componentName:t,...n},children:r});case"UserButton":return(0,o.Y)(h.P.Provider,{value:{componentName:t,...n},children:r});case"OrganizationSwitcher":return(0,o.Y)(f.U.Provider,{value:{componentName:t,...n},children:r});case"OrganizationList":return(0,o.Y)(g.f.Provider,{value:{componentName:t,...n},children:r});case"OrganizationProfile":return(0,o.Y)(v.o.Provider,{value:{componentName:t,...n},children:r});case"CreateOrganization":return(0,o.Y)(b.$.Provider,{value:{componentName:t,...n},children:r});case"GoogleOneTap":return(0,o.Y)(y.Q.Provider,{value:{componentName:t,...n},children:r});case"Waitlist":return(0,o.Y)(w.r.Provider,{value:{componentName:t,...n},children:r});case"PricingTable":return(0,o.Y)(x.m$.Provider,{value:n.for||"user",children:(0,o.Y)(_.a.Provider,{value:{componentName:t,...n},children:r})});case"APIKeys":return(0,o.Y)(S.w.Provider,{value:{componentName:t,...n},children:r});case"OAuthConsent":return(0,o.Y)(k.n.Provider,{value:{componentName:t,...n},children:r});case"TaskChooseOrganization":return(0,o.Y)($.lY.Provider,{value:{componentName:"TaskChooseOrganization",...n},children:(0,o.Y)($.qx.Provider,{value:{...n},children:r})});case"TaskResetPassword":return(0,o.Y)($.pq.Provider,{value:{componentName:"TaskResetPassword",...n},children:(0,o.Y)($.qx.Provider,{value:{...n},children:r})});default:throw Error("Unknown component context: ".concat(t))}}n(22501),n(64178),n(60962),n(60486),n(25089),n(61244),n(77895);var P=n(14173),A=n(21210),z=n(793);let I=e=>{let{basePath:t,preservedParams:n,children:r}=e,{navigate:a}=(0,A.ho)(),[i,s]=l.useState(!1);if(!a)throw Error("Clerk: Missing navigate option.");let c=(e,t)=>{if(e)return a((0,P.FV)(e),t)};return(l.useEffect(()=>{(async()=>{if((0,P.tL)(window.location.hash)){let e=(0,P.yR)(new URL(window.location.href));await c(e.href,{replace:!0}),s(!0)}})()},[s,a,window.location.hash]),(0,P.tL)(window.location.hash)&&!i)?null:(0,o.Y)(z.F,{basePath:t.substring(1),startPath:"",getPath:()=>window.location.pathname,getQueryString:()=>window.location.search,internalNavigate:c,refreshEvents:["popstate"],preservedParams:n,children:r})};n(50036);let D="CLERK-ROUTER/HASH",Y=e=>{let{preservedParams:t,children:n}=e,r=async e=>{if(e)return window.location.hash=(0,P.FV)(e).substring(1+D.length),Promise.resolve()},a=()=>new URL((0,P.tL)(window.location.hash)?window.location.origin+window.location.hash.substring(1):window.location.origin);return(0,o.Y)(z.F,{getPath:()=>"/"===a().pathname?"/"+D:"/"+D+a().pathname,basePath:D,startPath:"",getQueryString:()=>a().search,internalNavigate:r,refreshEvents:["popstate","hashchange"],preservedParams:t,children:n})};var R=n(54132),E=n(42311);function T(e){let{props:t,component:n,componentName:r,node:c}=e,d={...t,...(0,E.C)({routing:null==t?void 0:t.routing,path:null==t?void 0:t.path})},u=(0,o.Y)(C,{componentName:r,props:d,children:(0,o.Y)(l.Suspense,{fallback:"",children:l.createElement(n,d)})});return(null==d?void 0:d.routing)==="path"?((null==d?void 0:d.path)||(0,i.jB)(r),s.createPortal((0,o.Y)(I,{preservedParams:a.l,basePath:d.path,children:u}),c)):s.createPortal((0,o.Y)(Y,{preservedParams:a.l,children:u}),c)}class F extends l.PureComponent{componentDidMount(){document.body.appendChild(this.elRef)}componentWillUnmount(){document.body.removeChild(this.elRef)}render(){let{props:e,startPath:t,component:n,componentName:r}=this.props;return s.createPortal((0,o.Y)(R.x,{startPath:t,children:(0,o.Y)(C,{componentName:r,props:null!=e?e:{},children:(0,o.Y)(l.Suspense,{fallback:"",children:l.createElement(n,e)})})}),this.elRef)}constructor(...e){super(...e),(0,r._)(this,"elRef",document.createElement("div"))}}},92349:function(e,t,n){n.d(t,{F:()=>c});var r=n(14518),o=n(41914),a=n(41464),i=n(56488);let{applyVariants:l,filterProps:s}=(0,o.v)(e=>({base:{padding:"".concat(e.space.$3," ").concat(e.space.$4),backgroundColor:e.colors.$neutralAlpha50,...a.s.borderVariants(e,{hoverStyles:!1}).normal},variants:{colorScheme:{danger:{color:e.colors.$danger500,backgroundColor:e.colors.$dangerAlpha50,...a.s.borderVariants(e,{hasError:!0}).normal},info:{color:e.colors.$neutralAlpha150,background:e.colors.$neutralAlpha50},warning:{backgroundColor:e.colors.$warningAlpha100,...a.s.borderVariants(e,{hasWarning:!0,hoverStyles:!1}).normal}}},defaultVariants:{colorScheme:"warning"}})),c=e=>(0,r.Y)(i.s,{align:"center",justify:"start",...s(e),css:l(e),children:e.children})},37736:function(e,t,n){n.d(t,{a:()=>s});var r=n(14518),o=n(35074),a=n(41914),i=n(21908);let{applyVariants:l}=(0,a.v)(()=>({base:{boxSizing:"border-box"},variants:{}})),s=o.forwardRef((e,t)=>{let{as:n="div",...o}=e;return(0,r.Y)(n,{...(0,i.k)(o),css:l(e),ref:t})})},56488:function(e,t,n){n.d(t,{f:()=>u,s:()=>d});var r=n(14518),o=n(35074),a=n(41914),i=n(37736);n(22501);let l=(e,t)=>{var n,r;return(null==(r=navigator)||null==(n=r.userAgent)?void 0:n.match(/(iphone|ipad).+(os).*(\s13_).+safari/i))?{'& > *:not([hidden]):not([style*="visibility: hidden"]) + *:not([hidden]):not([style*="visibility: hidden"])':{marginLeft:"row"===t?e:void 0,marginTop:"col"===t?e:void 0}}:{gap:e}},{applyVariants:s,filterProps:c}=(0,a.v)((e,t)=>{let n="col"===t.flexDirection||"colReverse"===t.flexDirection||"col"===t.direction||"colReverse"===t.direction?"col":"row";return{base:{display:"flex"},variants:{direction:{row:{flexDirection:"row"},col:{flexDirection:"column"},rowReverse:{flexDirection:"row-reverse"},columnReverse:{flexDirection:"column-reverse"}},align:{start:{alignItems:"flex-start"},center:{alignItems:"center"},end:{alignItems:"flex-end"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},justify:{start:{justifyContent:"flex-start"},center:{justifyContent:"center"},end:{justifyContent:"flex-end"},between:{justifyContent:"space-between"}},wrap:{noWrap:{flexWrap:"nowrap"},wrap:{flexWrap:"wrap"},wrapReverse:{flexWrap:"wrap-reverse"}},gap:{1:l(e.space.$1,n),2:l(e.space.$2,n),3:l(e.space.$3,n),4:l(e.space.$4,n),5:l(e.space.$5,n),6:l(e.space.$6,n),7:l(e.space.$7,n),8:l(e.space.$8,n),9:l(e.space.$9,n)},center:{true:{justifyContent:"center",alignItems:"center"}}},defaultVariants:{direction:"row",align:"stretch",justify:"start",wrap:"noWrap"}}}),d=o.forwardRef((e,t)=>(0,r.Y)(i.a,{...c(e),css:s(e),ref:t})),u=o.forwardRef((e,t)=>(0,r.Y)(d,{...e,direction:"col",ref:t}))},2204:function(e,t,n){n.d(t,{AT:()=>g,Oc:()=>f,pd:()=>m,TM:()=>v,EP:()=>h});var r=n(14518),o=n(35074),a=n(10078),i=n(22861),l=n(41914),s=n(41464),c=n(37591),d=n(90593);let{applyVariants:u,filterProps:p}=(0,l.v)((e,t)=>({base:{boxSizing:"border-box",margin:0,padding:"".concat(e.space.$1x5," ").concat(e.space.$3),backgroundColor:e.colors.$colorInput,color:e.colors.$colorInputForeground,outline:"transparent solid 2px",outlineOffset:"2px",maxHeight:e.sizes.$9,width:"checkbox"===t.type?e.sizes.$4:"100%",aspectRatio:"checkbox"===t.type?"1/1":"unset",accentColor:e.colors.$primary500,...s.s.textVariants(e).body,...s.s.disabled(e),[c.g.ios]:{fontSize:e.fontSizes.$lg,'&:not([type="checkbox"]):not([type="radio"])':{WebkitAppearance:"none"}},":autofill":{animationName:"onAutoFillStart"},"::placeholder":{color:e.colors.$colorMutedForeground}},variants:{variant:{default:{...s.s.borderVariants(e,t).normal},unstyled:{borderWidth:0,boxShadow:"unset",backgroundColor:"transparent"}}},defaultVariants:{variant:"default"}})),m=o.forwardRef((e,t)=>{var n;let l=(0,d.Wd)()||{},{t:s}=(0,a._)(),{feedbackMessageId:c,ignorePasswordManager:m,feedbackType:h,...f}=(0,d.Uj)(l,["feedbackMessageId","ignorePasswordManager","feedbackType"]),g=p({...e,hasError:e.hasError||f.hasError}),{onChange:v}=(n=g.onChange,{onChange:function(e){e.persist(),"function"==typeof n&&n(e)},ref:o.useRef(null)}),{isDisabled:b,hasError:y,focusRing:w,isRequired:x,type:_,...S}=g,k=b||f.isDisabled,$=x||f.isRequired,C=y||f.hasError,P="email"===_?{type:"text",pattern:"^.*@[a-zA-Z0-9\\-]+\\.[a-zA-Z0-9\\-\\.]+$",inputMode:"email",title:s((0,i.G)("formFieldInput__emailAddress_format"))}:{type:_||"text"};return(0,r.Y)("input",{...S,...P,...m?{"data-1p-ignore":!0}:void 0,ref:t,onChange:v,disabled:b,required:$,id:e.id||f.id,"aria-invalid":C,"aria-describedby":c||void 0,"aria-required":$,"aria-disabled":k,"data-feedback":h,"data-variant":e.variant||"default",css:u(e)})}),h=o.forwardRef((e,t)=>{let n=(0,d.Wd)()||{},{feedbackType:o}=(0,d.Uj)(n,["feedbackType","data-active"]),{isDisabled:a,hasError:i,focusRing:l,isRequired:s,...c}=p({...e,hasError:e.hasError});return(0,r.Y)("div",{...c,ref:t,id:e.id,"aria-invalid":i,"data-feedback":o,"data-variant":e.variant||"default","data-focus-within":l,css:u(e)})}),f=o.forwardRef((e,t)=>(0,r.Y)(m,{...e,type:"checkbox",ref:t})),g=o.forwardRef((e,t)=>(0,r.Y)(m,{...e,type:"radio",ref:t})),v=o.forwardRef((e,t)=>{let{isDisabled:n,hasError:o,focusRing:a,isRequired:i,...l}=e,s=n||e.isDisabled,c=i||e.isRequired,d=o||e.hasError;return(0,r.Y)("textarea",{...l,ref:t,disabled:s,required:c,"aria-invalid":d,"aria-required":c,css:u(e)})})},63707:function(e,t,n){n.d(t,{N:()=>d});var r=n(14518),o=n(14173);n(35074);var a=n(41914),i=n(41464),l=n(21908);let{applyVariants:s,filterProps:c}=(0,a.v)(e=>({base:{boxSizing:"border-box",display:"inline-flex",alignItems:"center",margin:0,cursor:"pointer",...i.s.disabled(e),textDecoration:"none","&:hover":{textDecoration:"underline"}},variants:{variant:i.s.textVariants(e),colorScheme:{primary:{color:e.colors.$primary500,"&:hover":{color:e.colors.$primary400},"&:active":{color:e.colors.$primary600}},danger:{color:e.colors.$danger500,"&:hover":{color:e.colors.$danger400},"&:active":{color:e.colors.$danger600}},neutral:{color:e.colors.$colorMutedForeground},inherit:{color:"inherit"}},focusRing:{true:{"&:focus":{outline:"none",...i.s.focusRing(e)}}}},defaultVariants:{colorScheme:"primary",variant:"body",focusRing:!1}})),d=e=>{let{isExternal:t,children:n,href:a,onClick:i,...d}=e,u=(0,o.d3)(a),p=i?e=>{u||e.preventDefault(),i(e)}:void 0;return(0,r.Y)("a",{...(0,l.k)(c(d)),onClick:p,href:u||"",target:u&&t?"_blank":void 0,rel:u&&t?"noopener noreferrer":void 0,css:s(e),children:n})}},37852:function(e,t,n){n.d(t,{y:()=>p});var r=n(14518),o=n(22637),a=n(41914),i=n(44374);let{size:l,thickness:s,speed:c}=(0,o.T)("speed","size","thickness"),{applyVariants:d,filterProps:u}=(0,a.v)(e=>({base:{display:"inline-block",borderRadius:"99999px",borderTop:"".concat(s," solid currentColor"),borderRight:"".concat(s," solid currentColor"),borderBottomWidth:s,borderLeftWidth:s,borderBottomStyle:"solid",borderLeftStyle:"solid",borderBottomColor:e.colors.$transparent,borderLeftColor:e.colors.$transparent,opacity:1,animation:"".concat(i.W.spinning," ").concat(c," linear 0s infinite normal none running"),width:[l],height:[l],minWidth:[l],minHeight:[l]},variants:{colorScheme:{primary:{borderTopColor:e.colors.$primary500,borderRightColor:e.colors.$primary500,opacity:1},neutral:{borderTopColor:e.colors.$borderAlpha700,borderRightColor:e.colors.$borderAlpha700,opacity:1}},thickness:{sm:{[s]:e.sizes.$0x5},md:{[s]:e.sizes.$1}},size:{xs:{[l]:e.sizes.$3},sm:{[l]:e.sizes.$4},md:{[l]:e.sizes.$5},lg:{[l]:e.sizes.$6},xl:{[l]:e.sizes.$8}},speed:{slow:{[c]:"600ms"},normal:{[c]:"400ms"}}},defaultVariants:{speed:"normal",thickness:"sm",size:"sm"}})),p=e=>(0,r.Y)("span",{...u(e),css:d(e),"aria-busy":!0,"aria-live":"polite"})},21908:function(e,t,n){n.d(t,{k:()=>r});let r=e=>{let{hasError:t,isDisabled:n,isLoading:r,isOpen:o,isActive:a,...i}=e;return{"data-error":t||void 0,"data-disabled":n||void 0,"data-loading":r||void 0,"data-open":o||void 0,"data-active":a||void 0,...i}}},90593:function(e,t,n){n.d(t,{BQ:()=>c,Uj:()=>d,Wd:()=>s}),n(88711),n(19161),n(41730);var r=n(14518),o=n(21210),a=n(35074),i=n(8640);let[l,,s]=(0,o.e3)("FormFieldContext"),c=e=>{let{id:t,isRequired:n=!1,isDisabled:o=!1,setError:s,setSuccess:c,setWarning:d,setHasPassedComplexity:u,setInfo:p,clearFeedback:m,children:h,feedbackType:f,feedback:g,isFocused:v,...b}=e,y="".concat(t,"-field"),{debounced:w}=(0,i.eW)({feedback:g,feedbackType:f,isFocused:v}),x="error"===w.feedbackType,_=w.feedback?"error"===w.feedbackType?"error-".concat(t):"".concat(t,"-").concat(w.feedbackType,"-feedback"):"",S=a.useMemo(()=>({isRequired:n,isDisabled:o,hasError:x,id:y,fieldId:t,feedbackMessageId:_,setError:s,setSuccess:c,setWarning:d,setInfo:p,clearFeedback:m,setHasPassedComplexity:u,feedbackType:f,feedback:g,isFocused:v}),[n,x,y,t,_,o,s,c,d,p,m,u,f,g,v]);return(0,r.Y)(l.Provider,{value:{value:{...S,...b,debouncedFeedback:w}},children:e.children})},d=(e,t)=>{let{radioOptions:n,validatePassword:r,hasPassedComplexity:o,isFocused:a,feedback:i,feedbackType:l,setHasPassedComplexity:s,setWarning:c,setSuccess:d,setError:u,setInfo:p,feedbackMessageId:m,fieldId:h,label:f,clearFeedback:g,infoText:v,debouncedFeedback:b,ignorePasswordManager:y,transformer:w,...x}=e;return null==t||t.forEach(t=>{x[t]=e[t]}),x}},793:function(e,t,n){n.d(t,{F:()=>p}),n(88711),n(64178),n(60962),n(60486),n(25089),n(61244),n(77895),n(22501),n(19161),n(41730);var r=n(14518),o=n(58902),a=n(14173),i=n(21210),l=n(35074);n(3568),n(95055);var s=n(50734),c=n(28595),d=n(42265),u=n(4964);let p=e=>{let{basePath:t,startPath:n,getPath:p,getQueryString:m,internalNavigate:h,refreshEvents:f,preservedParams:g,urlStateParam:v,children:b}=e,{navigate:y}=(0,i.ho)(),[w,x]=l.useState({path:p(),queryString:m()}),_=w.path,S=w.queryString,k=(0,o.t)(w.queryString),$=(e,t)=>{let[n,r]=(0,s.N)("","",e,t),o=(0,a.Kj)(_),i=e&&(0,c.YW)(r+"/:foo*")(o)||t&&(0,c.YW)(n)(o)||t&&(0,c.YW)(r)(o)||!1;return!1!==i&&i.params},C=l.useCallback(()=>{let e=p(),t=m();(e!==_||t!==S)&&x({path:e,queryString:t})},[_,S,p,m]);l.useEffect(()=>{let e=[f].flat().filter(e=>!!e);if(e.length)return e.forEach(e=>window.addEventListener(e,C)),()=>{e.forEach(e=>window.removeEventListener(e,C))}},[f,C]);let P=async e=>{if(!e)return;let n=e.origin!==window.location.origin;if(!e.pathname.startsWith("/"+t)||n){let t=await y(e.href);return C(),t}if(g){let t=(0,o.t)(e.search);g.forEach(e=>{!t[e]&&k[e]&&(t[e]=k[e])}),e.search=(0,o.n)(t)}let r=await h(e,{metadata:{navigationType:"internal"}});return x({path:e.pathname,queryString:e.search}),r};return(0,r.Y)(u.P.Provider,{value:{basePath:t,startPath:n,flowStartPath:n,fullPath:"",indexPath:"",currentPath:_,queryString:S,queryParams:k,getMatchData:$.bind(void 0),matches:((e,t)=>!!$(e,t)).bind(void 0),baseNavigate:P.bind(void 0),navigate:async()=>{},resolve:(e=>new URL(e,window.location.origin)).bind(void 0),refresh:C.bind(void 0),params:{},urlStateParam:v},children:(0,r.Y)(d.q,{path:t,children:b})})}},42265:function(e,t,n){n.d(t,{q:()=>p}),n(88711),n(64178),n(60962),n(60486),n(25089),n(61244),n(77895),n(22501),n(58910);var r=n(14518),o=n(14173),a=n(21210),i=n(35074),l=n(11550),s=n(50734),c=n(28595),d=n(4964);let u=e=>{let{canActivate:t,children:n}=e,{navigateToFlowStart:o}=(0,l.C)(),s=(0,a.ho)();return(i.useEffect(()=>{t(s)||o()}),t(s))?(0,r.Y)(r.FK,{children:n}):null};function p(e){let t=(0,d.r)();if(!e.children)return null;if(!e.index&&!e.path)return(0,r.Y)(r.FK,{children:e.children});if(!t.matches(e.path,e.index))return null;let[n,a]=(0,s.N)(t.indexPath,t.fullPath,e.path,e.index),i=function(e){let{searchParams:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new URL(e,window.location.origin+a+"/");return t&&(n.search=t.toString()),n.pathname=(0,o.Kj)(n.pathname),n},l=(e,r)=>{let[i,l]=(0,s.N)(n,a,e,r),d=(0,o.Kj)(t.currentPath),u=e&&(0,c.YW)(l+"/:foo*")(d)||r&&(0,c.YW)(i)(d)||r&&(0,c.YW)(l)(d)||!1;return!1!==u&&u.params},p=t.getMatchData(e.path,e.index)||{},m={};for(let[e,t]of Object.entries(p))m[e]=t;let h=(e.flowStart?(0,o.yY)(t.fullPath).replace("/"+t.basePath,""):t.flowStartPath)||t.startPath;return(0,r.Y)(d.P.Provider,{value:{basePath:t.basePath,startPath:t.startPath,flowStartPath:h,indexPath:n,fullPath:a,currentPath:t.currentPath,queryParams:t.queryParams,queryString:t.queryString,baseNavigate:t.baseNavigate,getMatchData:l,matches:(e,t)=>!!l(e,t),resolve:i,navigate:function(e){let{searchParams:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i(e,{searchParams:n});return t.baseNavigate(r)},refresh:t.refresh,params:m,urlStateParam:t.urlStateParam},children:e.canActivate?(0,r.Y)(u,{canActivate:e.canActivate,children:e.children}):e.children})}},4964:function(e,t,n){n.d(t,{P:()=>o,r:()=>a}),n(98114);var r=n(35074);let o=r.createContext(null);o.displayName="RouteContext";let a=()=>{let e=r.useContext(o);if(!e)throw Error("useRouter called while Router is null");return e}},80212:function(e,t,n){n.d(t,{d:()=>l}),n(19161),n(41730);var r=n(14518),o=n(35074),a=n(42265),i=n(4964);function l(e){let{children:t}=e,n=(0,i.r)(),l=null;return o.Children.forEach(t,e=>{if(l||!(e&&o.isValidElement(e)&&"object"==typeof e&&e.type===a.q))return;let{index:t,path:r}=e.props;(!t&&!r||n.matches(r,t))&&(l=e)}),(0,r.Y)(r.FK,{children:l})}},54132:function(e,t,n){n.d(t,{I:()=>s,x:()=>c}),n(88711),n(64178),n(60962),n(60486),n(25089),n(61244),n(77895),n(22501);var r=n(14518),o=n(21210),a=n(35074),i=n(13727),l=n(793);let s="CLERK-ROUTER/VIRTUAL",c=e=>{let{startPath:t,preservedParams:n,onExternalNavigate:c,children:d}=e,{__internal_addNavigationListener:u}=(0,o.ho)(),[p,m]=a.useState(new URL("/"+s+t,window.location.origin)),{urlStateParam:h,removeQueryParam:f}=(0,i.x)();return(0,a.useEffect)(()=>{let e=()=>{};return c&&(e=u(c)),()=>{e()}},[]),h.componentName&&f(),(0,r.Y)(l.F,{getPath:()=>p.pathname,basePath:s,startPath:t,getQueryString:()=>p.search,internalNavigate:e=>{e&&m(e)},preservedParams:n,urlStateParam:h,children:d})}},3394:function(e,t,n){n.d(t,{VirtualRouter:()=>r.x});var r=n(54132)},50734:function(e,t,n){n.d(t,{N:()=>r});let r=(e,t,n,r)=>{let o=e;n&&(o=t,r||(o+="/"+n)),o.startsWith("//")&&(o=o.substr(1));let a=t+(n?"/"+n:"");return a.startsWith("//")&&(a=a.substr(1)),[o,a]}},28595:function(e,t,n){function r(e,t){let n=[];return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{decode:r=e=>e}=n;return function(n){let o=e.exec(n);if(!o)return!1;let{0:a,index:i}=o,l=Object.create(null);for(let e=1;e<o.length;e++){if(void 0===o[e])continue;let n=t[e-1];"*"===n.modifier||"+"===n.modifier?l[n.name]=o[e].split(n.prefix+n.suffix).map(e=>r(e,n)):l[n.name]=r(o[e],n)}return{path:a,index:i,params:l}}}(function e(t,n,r){if(t instanceof RegExp){if(!n)return t;let e=t.source.match(/\((?!\?)/g);if(e)for(let t=0;t<e.length;t++)n.push({name:t,prefix:"",suffix:"",modifier:"",pattern:""});return t}if(Array.isArray(t)){let o;return o=t.map(t=>e(t,n,r).source),new RegExp("(?:".concat(o.join("|"),")"),a(r))}return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{strict:r=!1,start:i=!0,end:l=!0,encode:s=e=>e}=n,c="[".concat(o(n.endsWith||""),"]|$"),d="[".concat(o(n.delimiter||"/#?"),"]"),u=i?"^":"";for(let n of e)if("string"==typeof n)u+=o(s(n));else{let e=o(s(n.prefix)),r=o(s(n.suffix));if(n.pattern)if(t&&t.push(n),e||r)if("+"===n.modifier||"*"===n.modifier){let t="*"===n.modifier?"?":"";u+="(?:".concat(e,"((?:").concat(n.pattern,")(?:").concat(r).concat(e,"(?:").concat(n.pattern,"))*)").concat(r,")").concat(t)}else u+="(?:".concat(e,"(").concat(n.pattern,")").concat(r,")").concat(n.modifier);else u+="(".concat(n.pattern,")").concat(n.modifier);else u+="(?:".concat(e).concat(r,")").concat(n.modifier)}if(l)r||(u+="".concat(d,"?")),u+=n.endsWith?"(?=".concat(c,")"):"$";else{let t=e[e.length-1],n="string"==typeof t?d.indexOf(t[t.length-1])>-1:void 0===t;r||(u+="(?:".concat(d,"(?=").concat(c,"))?")),n||(u+="(?=".concat(d,"|").concat(c,")"))}return new RegExp(u,a(n))}(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if("*"===r||"+"===r||"?"===r){t.push({type:"MODIFIER",index:n,value:e[n++]});continue}if("\\"===r){t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});continue}if("{"===r){t.push({type:"OPEN",index:n,value:e[n++]});continue}if("}"===r){t.push({type:"CLOSE",index:n,value:e[n++]});continue}if(":"===r){let r="",o=n+1;for(;o<e.length;){let t=e.charCodeAt(o);if(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||95===t){r+=e[o++];continue}break}if(!r)throw TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:r}),n=o;continue}if("("===r){let r=1,o="",a=n+1;if("?"===e[a])throw TypeError('Pattern cannot start with "?" at '.concat(a));for(;a<e.length;){if("\\"===e[a]){o+=e[a++]+e[a++];continue}if(")"===e[a]){if(0==--r){a++;break}}else if("("===e[a]&&(r++,"?"!==e[a+1]))throw TypeError("Capturing groups are not allowed at ".concat(a));o+=e[a++]}if(r)throw TypeError("Unbalanced pattern at ".concat(n));if(!o)throw TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:o}),n=a;continue}t.push({type:"CHAR",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),{prefixes:r="./"}=t,a="[^".concat(o(t.delimiter||"/#?"),"]+?"),i=[],l=0,s=0,c="",d=e=>{if(s<n.length&&n[s].type===e)return n[s++].value},u=e=>{let t=d(e);if(void 0!==t)return t;let{type:r,index:o}=n[s];throw TypeError("Unexpected ".concat(r," at ").concat(o,", expected ").concat(e))},p=()=>{let e,t="";for(;e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t};for(;s<n.length;){let e=d("CHAR"),t=d("NAME"),n=d("PATTERN");if(t||n){let o=e||"";-1===r.indexOf(o)&&(c+=o,o=""),c&&(i.push(c),c=""),i.push({name:t||l++,prefix:o,suffix:"",pattern:n||a,modifier:d("MODIFIER")||""});continue}let o=e||d("ESCAPED_CHAR");if(o){c+=o;continue}if(c&&(i.push(c),c=""),d("OPEN")){let e=p(),t=d("NAME")||"",n=d("PATTERN")||"",r=p();u("CLOSE"),i.push({name:t||(n?l++:""),pattern:t&&!n?a:n,prefix:e,suffix:r,modifier:d("MODIFIER")||""});continue}u("END")}return i}(t,r),n,r)}(e,n,t),n,t)}function o(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function a(e){return e&&e.sensitive?"":"i"}n.d(t,{YW:()=>r}),n(10676),n(98114),n(19161),n(22239),n(25006),n(54067),n(22501),n(58910),n(88711)},29406:function(e,t,n){n.d(t,{S:()=>i});var r=n(14518),o=n(55418);n(35074);var a=n(16580);let i=e=>{let{parsedInternalTheme:t}=(0,a.K)();return(0,r.Y)(o.a,{theme:t,children:e.children})}},85287:function(e,t,n){n.d(t,{StyleCacheProvider:()=>s});var r=n(14518),o=n(71785),a=n(55418),i=n(35074);let l=document.querySelector("style#cl-style-insertion-point"),s=e=>{let t=(0,i.useMemo)(()=>{let t=(0,o.A)({key:"cl-internal",prepend:!e.cssLayerName&&!l,insertionPoint:l||void 0,nonce:e.nonce});if(e.cssLayerName){let n=t.insert.bind(t);t.insert=(t,r,o,a)=>{if(r&&"string"==typeof r.styles&&!r.styles.startsWith("@layer")){let i={...r};return i.styles="@layer ".concat(e.cssLayerName," {").concat(r.styles,"}"),n(t,i,o,a)}return n(t,r,o,a)}}return t},[e.nonce,e.cssLayerName]);return(0,r.Y)(a.C,{value:t,children:e.children})}},44374:function(e,t,n){n.d(t,{W:()=>I});var r=n(91923),o=n(18802);function a(){let e=(0,r._)(["\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }"]);return a=function(){return e},e}function i(){let e=(0,r._)(["\n 0% {\n opacity: 0;\n transform: scaleY(1) translateY(-6px);\n }\n 100% {\n opacity: 1;\n transform: scaleY(1) translateY(0px);\n }\n"]);return i=function(){return e},e}function l(){let e=(0,r._)(["\n 0% {\n opacity: 0;\n transform: translateY(0.5rem);\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n"]);return l=function(){return e},e}function s(){let e=(0,r._)(["\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n"]);return s=function(){return e},e}function c(){let e=(0,r._)(["\n 0% { opacity: 1; }\n 100% { opacity: 0; }\n"]);return c=function(){return e},e}function d(){let e=(0,r._)(["\n 0% {\n opacity: 0;\n transform: translateY(-5px);\n max-height: 0;\n }\n 100% {\n opacity: 1;\n transform: translateY(0px);\n max-height: 6rem;\n }\n"]);return d=function(){return e},e}function u(){let e=(0,r._)(["\n 0% {\n opacity: 0;\n transform: translateY(-5px);\n max-height: 0;\n }\n 50% {\n opacity: 0;\n transform: translateY(-5px);\n max-height: 0;\n }\n 100% {\n opacity: 1;\n transform: translateY(0px);\n max-height: 6rem;\n }\n"]);return u=function(){return e},e}function p(){let e=(0,r._)(["\n 0% {\n opacity: 0;\n transform: translateY(5px) scale(.5);\n }\n\n 50% {\n opacity: 1;\n transform: translateY(0px) scale(1.2);\n }\n\n 100% {\n opacity: 1;\n transform: translateY(0px) scale(1);\n }\n"]);return p=function(){return e},e}function m(){let e=(0,r._)(["\n 0% {\n opacity:1;\n transform: translateY(0px);\n max-height: 6rem;\n visibility: visible;\n }\n 100% {\n opacity: 0;\n transform: translateY(5px);\n max-height: 0;\n visibility: visible;\n }\n"]);return m=function(){return e},e}function h(){let e=(0,r._)(["\n 0% {opacity: 0;max-height: 0;}\n 100% {opacity: 1;max-height: 3rem;}\n"]);return h=function(){return e},e}function f(){let e=(0,r._)(["\n 0% {opacity: 0;max-height: 0;}\n 100% {opacity: 1;max-height: 8rem;}\n"]);return f=function(){return e},e}function g(){let e=(0,r._)(["\n 0% {opacity: 0;max-height: 0;}\n 99% {opacity: 1;max-height: 10rem;}\n 100% {opacity: 1;max-height: unset;}\n"]);return g=function(){return e},e}function v(){let e=(0,r._)(["\n 0% {opacity: 0;max-height: 0;}\n 99% {opacity: 1;max-height: ",";}\n 100% {opacity: 1;max-height: unset;}\n"]);return v=function(){return e},e}function b(){let e=(0,r._)(["\n 0% {opacity: 0; transform: translateX(-100%);}\n 100% {opacity: 1; transform: translateX(0);}\n"]);return b=function(){return e},e}let y=(0,o.i7)(a()),w=(0,o.i7)(i()),x=(0,o.i7)(l()),_=(0,o.i7)(s()),S=(0,o.i7)(c()),k=(0,o.i7)(d()),$=(0,o.i7)(u()),C=(0,o.i7)(p()),P=(0,o.i7)(m()),A=(0,o.i7)(h()),z=(0,o.i7)(f()),I={spinning:y,dropdownSlideInScaleAndFade:w,modalSlideAndFade:x,fadeIn:_,fadeOut:S,textInSmall:A,textInBig:z,blockBigIn:(0,o.i7)(g()),expandIn:e=>(0,o.i7)(v(),e),navbarSlideIn:(0,o.i7)(b()),inAnimation:k,inDelayAnimation:$,outAnimation:P,notificationAnimation:C}},37591:function(e,t,n){n.d(t,{g:()=>a}),n(19161),n(22239),n(88711);var r=n(31020);let o=Object.freeze({xs:"21em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),a={ios:"@supports (-webkit-touch-callout: none)",...(0,r.P)(Object.entries(o).map(e=>{let[t,n]=e;return[t,"@media (max-width: ".concat(n,")")]}))}},41464:function(e,t,n){n.d(t,{s:()=>s}),n(22501),n(58910);var r=n(14620),o=n(38930);let a=e=>({"&::-moz-focus-inner":{border:"0"},WebkitTapHighlightColor:"transparent",boxShadow:e.shadows.$focusRing.replace("{{color}}",e.colors.$colorRing),transitionProperty:e.transitionProperty.$common,transitionTimingFunction:e.transitionTiming.$common,transitionDuration:e.transitionDuration.$focusRing}),i=e=>({"::-webkit-scrollbar":{background:"transparent",width:"8px",height:"8px"},"::-webkit-scrollbar-thumb":{background:e.colors.$neutralAlpha500},"::-webkit-scrollbar-track":{background:"transparent"}}),l=(e,t)=>"linear-gradient(".concat(t,",").concat(t,"), linear-gradient(").concat(e,", ").concat(e,")"),s={textVariants:e=>{let t={fontFamily:"inherit",letterSpacing:e.letterSpacings.$normal},n={...t,fontWeight:e.fontWeights.$semibold,fontSize:e.fontSizes.$xl,lineHeight:e.lineHeights.$extraSmall},r={...t,fontWeight:e.fontWeights.$bold,fontSize:e.fontSizes.$lg,lineHeight:e.lineHeights.$medium},o={...t,fontWeight:e.fontWeights.$bold,fontSize:e.fontSizes.$md,lineHeight:e.lineHeights.$small},a={...t,fontWeight:e.fontWeights.$medium,fontSize:e.fontSizes.$md,lineHeight:e.lineHeights.$small},i={...t,fontWeight:e.fontWeights.$normal,fontSize:e.fontSizes.$md,lineHeight:e.lineHeights.$small},l={...t,fontWeight:e.fontWeights.$medium,fontSize:e.fontSizes.$xs,lineHeight:e.lineHeights.$large};return{h1:n,h2:r,h3:o,subtitle:a,body:i,caption:l,buttonLarge:{...t,fontWeight:e.fontWeights.$medium,fontSize:e.fontSizes.$md,lineHeight:e.lineHeights.$small,fontFamily:e.fonts.$buttons},buttonSmall:{...t,fontWeight:e.fontWeights.$medium,fontSize:e.fontSizes.$sm,lineHeight:e.lineHeights.$extraSmall,fontFamily:e.fonts.$buttons}}},borderVariants:(e,t)=>{let n=(null==t?void 0:t.hasError)?e.colors.$dangerAlpha500:e.colors.$borderAlpha300,r=e.shadows.$input.replace("{{color}}",(null==t?void 0:t.hasError)?e.colors.$dangerAlpha200:e.colors.$borderAlpha150),o=(null==t?void 0:t.hoverStyles)===!1?{}:{"&:hover":{WebkitTapHighlightColor:"transparent",borderColor:n,boxShadow:r}},a=(null==t?void 0:t.focusRing)===!1?{}:{"&:focus":{borderColor:n,WebkitTapHighlightColor:"transparent",boxShadow:[r,e.shadows.$focusRing.replace("{{color}}",!(null==t?void 0:t.hasError)?e.colors.$borderAlpha150:e.colors.$dangerAlpha200)].toString()}},i=(null==t?void 0:t.hasError)?e.colors.$dangerAlpha500:(null==t?void 0:t.hasWarning)?e.colors.$warningAlpha300:e.colors.$borderAlpha150,l=(null==t?void 0:t.hasError)?e.colors.$borderAlpha150:(null==t?void 0:t.hasWarning)?e.colors.$warningAlpha50:e.colors.$borderAlpha100;return{normal:{borderRadius:e.radii.$md,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:i,boxShadow:e.shadows.$input.replace("{{color}}",l),transitionProperty:e.transitionProperty.$common,transitionTimingFunction:e.transitionTiming.$common,transitionDuration:e.transitionDuration.$focusRing,...o,...a}}},focusRingStyles:a,focusRing:e=>({"&:focus":{...a(e)}}),disabled:e=>({"&:disabled,&[data-disabled]":{cursor:"not-allowed",pointerEvents:"none",opacity:e.opacity.$disabled}}),borderColor:(e,t)=>({borderColor:(null==t?void 0:t.hasError)?e.colors.$dangerAlpha500:e.colors.$borderAlpha150}),centeredFlex:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"flex";return{display:e,justifyContent:"center",alignItems:"center"}},maxHeightScroller:e=>({height:"100%",overflowY:"auto",...i(e)}),mutedBackground:e=>{let t=e.colors.$colorMuted||l(r.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50);return(0,o.AY)("color-muted",t)},unstyledScrollbar:i,mergedColorsBackground:l,visuallyHidden:()=>({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"})}},22637:function(e,t,n){n.d(t,{T:()=>o}),n(19161),n(22239);var r=n(31020);let o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.P)(t.map(e=>[e,"var(--".concat(e,")")]))}},41914:function(e,t,n){n.d(t,{v:()=>o}),n(88711);var r=n(14562);let o=e=>{let t,n=t=new Proxy({},{get:(e,n)=>n===Symbol.toPrimitive?()=>"":n in Object.getPrototypeOf("")?e=>Object.getPrototypeOf("")[n].call("",e):n===Symbol.toPrimitive?()=>"":t}),r=Object.keys(e(n,n).variants||{});return{applyVariants:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n=>{let{base:r,variants:o={},compoundVariants:a=[],defaultVariants:u={}}=e(n,t),p=d(o,t,u),m={};return i(m,r),l(m,p,o),s(m,p,a),c(m),m}},filterProps:e=>a(e,r)}},a=(e,t)=>{let n={...e};for(let e of t)delete n[e];return n},i=(e,t)=>{t&&"object"==typeof t&&Object.assign(e,t)},l=(e,t,n)=>{for(let o in t)(0,r.aY)(n[o][t[o]],e)},s=(e,t,n)=>{for(let o of n)u(o,t)&&(0,r.aY)(o.styles,e)},c=e=>{for(let t in e)t.startsWith("var(")&&(e[t.slice(4,-1)]=e[t],delete e[t])},d=(e,t,n)=>{let r={};for(let o in e)o in t?r[o]=t[o]:o in n&&(r[o]=n[o]);return r},u=(e,t)=>{let{condition:n}=e;for(let e in n)if(n[e]!==t[e])return!1;return!0}},42245:function(e,t,n){n.d(t,{InternalThemeProvider:()=>r.S});var r=n(29406)},22293:function(e,t,n){n.d(t,{c:()=>a});var r=n(14518),o=n(35074);let a=e=>{let{mount:t,unmount:n,...a}=e,i=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let e;return i.current&&(e=i.current,t(i.current)),()=>{n(e)}},[i.current]),(0,r.Y)("div",{ref:i,...a})}},82464:function(e,t,n){n.d(t,{NO:()=>s,Pg:()=>l,Tj:()=>r,X2:()=>i,XW:()=>u,Yo:()=>c,cC:()=>o,q5:()=>d,rm:()=>m,uU:()=>p,wH:()=>a}),n(88711),n(19161),n(22239);let r=[25,50,100,150,200,300,400,500,600,700,750,800,850,900,950],o=["400","300","200","150","100","50","25"],a=["600","700","750","800","850","900","950"],i=[...o,"500",...a],l={TARGET_LIGHT:97,TARGET_DARK:12,LIGHT_STEPS:7,DARK_STEPS:7},s={25:2,50:3,100:7,150:11,200:15,300:28,400:41,500:53,600:62,700:73,750:78,800:81,850:84,900:87,950:92},c=Object.values(s).map(e=>e/100).sort(),d={25:{mixColor:"white",percentage:85},50:{mixColor:"white",percentage:80},100:{mixColor:"white",percentage:68},150:{mixColor:"white",percentage:55},200:{mixColor:"white",percentage:40},300:{mixColor:"white",percentage:26},400:{mixColor:"white",percentage:16},500:{mixColor:null,percentage:0},600:{mixColor:"black",percentage:12},700:{mixColor:"black",percentage:22},750:{mixColor:"black",percentage:30},800:{mixColor:"black",percentage:44},850:{mixColor:"black",percentage:55},900:{mixColor:"black",percentage:65},950:{mixColor:"black",percentage:75}},u={400:1,300:2,200:3,150:4,100:5,50:6,25:7,600:1,700:2,750:3,800:4,850:5,900:6,950:7},p={rgb:{min:0,max:255},alpha:{min:0,max:1},hue:{min:0,max:360},percentage:{min:0,max:100}},m={MAX_LIGHTNESS_MIX:95,MIN_ALPHA_PERCENTAGE:5,MAX_LIGHTNESS_ADJUSTMENT:30,MIN_LIGHTNESS_FLOOR:95,LIGHTNESS_MULTIPLIER:2,MIX_MULTIPLIER:4}},14620:function(e,t,n){n.d(t,{T:()=>d});var r=n(74803),o=n(30002),a=n(82464),i=n(35576);let l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(e){if(r.a.relativeColorSyntax())return(0,i.LL)(e,"h","s","calc(l + ".concat(100*t,"%)"));if(r.a.colorMix()){let n=Math.min(100*t,a.rm.MAX_LIGHTNESS_MIX);return(0,i.nm)(e,"white",n)}return e}},s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(e&&""!==e.toString()){if(r.a.colorMix()){let n=Math.max((1-t)*100,a.rm.MIN_ALPHA_PERCENTAGE);return(0,i.D3)(e,n)}return e}},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(e){if(r.a.colorMix()){let n=Math.min(t*a.rm.MIX_MULTIPLIER,a.rm.MAX_LIGHTNESS_ADJUSTMENT);return(0,i.nm)(e,"white",n)}return e}},d={changeHslaLightness:o.T.changeHslaLightness,setHslaAlpha:o.T.setHslaAlpha,toHslaColor:e=>{if(e)return r.a.modernColor()?e:o.T.toHslaColor(e)},toHslaString:e=>{if(e)return r.a.modernColor()&&"string"==typeof e?e:o.T.toHslaString(e)},lighten:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return r.a.modernColor()?l(e,t):o.T.lighten(e,t)},makeTransparent:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return r.a.modernColor()?s(e,t):o.T.makeTransparent(e,t)},makeSolid:e=>r.a.modernColor()?(e=>{if(e)return r.a.relativeColorSyntax()?(0,i.LL)(e,"h","s","l","1"):r.a.colorMix()?"color-mix(in srgb, ".concat(e,", ").concat(e," 100%)"):e})(e):o.T.makeSolid(e),setAlpha:(e,t)=>r.a.modernColor()?((e,t)=>{let n=Math.min(Math.max(t,a.uU.alpha.min),a.uU.alpha.max);if(r.a.relativeColorSyntax())return(0,i.LL)(e,"h","s","l",n.toString());if(r.a.colorMix()){let t=100*n;return(0,i.D3)(e,t)}return e})(e,t):o.T.setAlpha(e,t),adjustForLightness:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return r.a.modernColor()?c(e,t):o.T.adjustForLightness(e,t)}}},30002:function(e,t,n){n.d(t,{T:()=>w}),n(22501),n(98114);var r=n(38930);let o=/^#([a-f0-9]{3,4})$/i,a=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,i=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,l=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,s=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,c=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,d={black:[0,0,0,1],blue:[0,0,255,1],red:[255,0,0,1],green:[0,128,0,1],grey:[128,128,128,1],gray:[128,128,128,1],white:[255,255,255,1],yellow:[255,255,0,1],transparent:[0,0,0,0]},u=(e,t,n)=>Math.min(Math.max(t,e),n),p=function(e){if(!e)return null;let t=e.match(c);return t?m(t):null},m=e=>{let t=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(t)?1:t,0,1)]},h=e=>{var t;let n,r=e[0]/255,o=e[1]/255,a=e[2]/255,i=null!=(t=e[3])?t:1,l=Math.min(r,o,a),s=Math.max(r,o,a),c=s-l;s===l?n=0:r===s?n=(o-a)/c:o===s?n=2+(a-r)/c:a===s&&(n=4+(r-o)/c),(n=Math.min(60*n,360))<0&&(n+=360);let d=(l+s)/2;return{h:Math.floor(n),s:Math.floor(100*(s===l?0:d<=.5?c/(s+l):c/(2-s-l))),l:Math.floor(100*d),a:i}},f=e=>{let{h:t,s:n,l:r,a:o}=e;return"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(null!=o?o:1,")")},g=e=>{let{model:t,value:n}=(e=>{let t,n=(0,r.cQ)(e)||e,c=n.substr(0,3).toLowerCase();if(!(t="hsl"===c?{model:"hsl",value:(e=>{if(!e)return null;let t=e.match(s);return t?m(t):null})(n)}:"hwb"===c?{model:"hwb",value:p(n)}:{model:"rgb",value:(e=>{let t,n,r;if(!e)return null;let s=[0,0,0,1];if(t=e.match(a)){for(n=0,r=t[2],t=t[1];n<3;n++){let e=2*n;s[n]=parseInt(t.slice(e,e+2),16)}r&&(s[3]=parseInt(r,16)/255)}else if(t=e.match(o)){for(n=0,r=(t=t[1])[3];n<3;n++)s[n]=parseInt(t[n]+t[n],16);r&&(s[3]=parseInt(r+r,16)/255)}else if(t=e.match(i)){for(n=0;n<3;n++)s[n]=parseInt(t[n+1],0);t[4]&&(t[5]?s[3]=.01*parseFloat(t[4]):s[3]=parseFloat(t[4]))}else if(t=e.match(l)){for(n=0;n<3;n++)s[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?s[3]=.01*parseFloat(t[4]):s[3]=parseFloat(t[4]))}else if(e in d)return d[e];else return null;for(n=0;n<3;n++)s[n]=u(s[n],0,255);return s[3]=u(s[3],0,1),s})(n)})||!t.value)throw Error('Clerk: "'.concat(n,"\" cannot be used as a color within 'variables'. You can pass one of:\n- any valid hsl or hsla color\n- any valid rgb or rgba color\n- any valid hex color\n- any valid hwb color\n- ").concat(Object.keys(d).join(", "),"\n"));return t})(e);switch(t){case"hsl":var c;return{h:n[0],s:n[1],l:n[2],a:null!=(c=n[3])?c:1};case"hwb":return h((e=>{var t;let n,r,o,a,i=e[0]/360,l=e[1]/100,s=e[2]/100,c=null!=(t=e[3])?t:1,d=l+s;d>1&&(l/=d,s/=d);let u=Math.floor(6*i),p=1-s;n=6*i-u,(1&u)!=0&&(n=1-n);let m=l+n*(p-l);switch(u){default:case 6:case 0:r=p,o=m,a=l;break;case 1:r=m,o=p,a=l;break;case 2:r=l,o=p,a=m;break;case 3:r=l,o=m,a=p;break;case 4:r=m,o=l,a=p;break;case 5:r=p,o=l,a=m}return[255*r,255*o,255*a,c]})(n));case"rgb":return h(n)}},v=e=>"string"==typeof e?f(g(e)):f(e),b=(e,t)=>({...e,l:e.l+t}),y=(e,t)=>({...e,a:t}),w={toHslaColor:g,toHslaString:v,adjustForLightness:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!e)return;let n=w.toHslaColor(e);return n?(100===n.l?n.l=95:n.l=Math.min(n.l+2*t,100),w.toHslaString(n)):e},changeHslaLightness:b,setHslaAlpha:y,lighten:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!e)return;let n=g(e);return v(b(n,n.l*t))},makeTransparent:function(e){var t;let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!e||""===e.toString())return;let o=g(e);return v((n=(null!=(t=o.a)?t:1)*r,{...o,a:o.a?o.a-n:void 0}))},makeSolid:e=>{if(e)return v({...g(e),a:1})},setAlpha:(e,t)=>e.toString()?v(y(g(e),t)):e}},35576:function(e,t,n){n.d(t,{D3:()=>c,H5:()=>i,LL:()=>s,Nw:()=>d,lD:()=>u,nm:()=>l}),n(58814),n(19161),n(8451);var r=n(74803),o=n(82464);let a=Object.freeze(o.X2.reduce((e,t)=>(e[t]=void 0,e),{})),i=()=>({...a});function l(e,t,n){return"color-mix(in srgb, ".concat(e,", ").concat(t," ").concat(n,"%)")}function s(e,t,n,r,o){return"hsl(from ".concat(e," ").concat(t," ").concat(n," ").concat(r).concat(o?" / ".concat(o):"",")")}function c(e,t){return"color-mix(in srgb, transparent, ".concat(e," ").concat(t,"%)")}function d(e,t){return c(e,o.NO[t])}function u(e,t){if(500===t)return e;if(r.a.relativeColorSyntax())return function(e,t){if(500===t)return e;let n=o.XW[t];if(!n)return e;let{TARGET_LIGHT:r,TARGET_DARK:a,LIGHT_STEPS:i,DARK_STEPS:l}=o.Pg;return t<500?s(e,"h","s","calc(l + (".concat(n," * ((").concat(r," - l) / ").concat(i,")))")):s(e,"h","s","calc(l - (".concat(n," * ((l - ").concat(a,") / ").concat(l,")))"))}(e,t);if(r.a.colorMix()){if(500===t)return e;let n=o.q5[t];return n.mixColor?l(e,n.mixColor,n.percentage):e}return e}},30856:function(e,t,n){n.d(t,{K:()=>u}),n(19161),n(95055),n(22239),n(85074),n(88711),n(89305),n(58814),n(8451),n(30945);var r=n(14518),o=n(21227),a=n(58813),i=n(87240),l=n(22861),s=n(22293),c=n(23907),d=n(55845);let u=(e,t)=>p({customMenuItems:e,getDefaultMenuItems:h},t),p=(e,t)=>{let{customMenuItems:n,getDefaultMenuItems:r}=e,{INITIAL_MENU_ITEMS:o,validReorderItemLabels:a}=r(),i=n.filter(e=>!!f(e,a)||((0,c.w)(t)&&console.error("Clerk: Invalid custom menu item:",e),!1));(0,c.w)(t)&&(w(n,a),x(i));let{menuItems:l}=m({customMenuItems:i,defaultMenuItems:o});return l},m=e=>{let{customMenuItems:t,defaultMenuItems:n}=e,a=n.map(e=>e),i=[...t.map((e,t)=>{if(b(e))return{name:e.label,id:"custom-menutItem-".concat(t),icon:t=>(0,r.Y)(s.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),path:(0,d.K)(e.href)};if(g(e))return{name:e.label,id:"custom-menutItem-".concat(t),icon:t=>(0,r.Y)(s.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),onClick:null==e?void 0:e.onClick};if(v(e))return{name:e.label,id:"custom-menutItem-".concat(t),icon:t=>(0,r.Y)(s.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),open:e.open};let o=n.find(t=>t.id===e.label);return a=a.filter(t=>t.id!==e.label),{...o}}),...a];return t.some(e=>e.label===o.dY.MANAGE_ACCOUNT)||i.sort(e=>e.id===o.dY.MANAGE_ACCOUNT?-1:0),{menuItems:i}},h=()=>{let e=[{name:(0,l.G)("userButton.action__manageAccount"),id:o.dY.MANAGE_ACCOUNT,icon:a.A},{name:(0,l.G)("userButton.action__signOut"),id:o.dY.SIGN_OUT,icon:i.A}],t=e.map(e=>e.id);return{INITIAL_MENU_ITEMS:e,validReorderItemLabels:t}},f=(e,t)=>(b(e)||g(e)||v(e)||y(e,t))&&"string"==typeof e.label,g=e=>!!e.label&&!!e.onClick&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,v=e=>!!e.label&&!!e.open&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,b=e=>!!e.href&&!!e.label&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,y=(e,t)=>!e.mount&&!e.unmount&&!e.mountIcon&&!e.unmountIcon&&t.some(t=>t===e.label),w=(e,t)=>{e.filter(e=>y(e,t)).reduce((e,t)=>(e.includes(t.label)&&console.error('Clerk: The "'.concat(t.label,'" item is used more than once when reordering pages. This may cause unexpected behavior.')),[...e,t.label]),[])},x=e=>{let t=e.map(e=>e.label),n=t.filter((e,n)=>t.indexOf(e)!==n);n.length>0&&console.warn("Clerk: Duplicate custom menu item labels found: ".concat(n.join(", ")))}},93121:function(e,t,n){n.d(t,{q:()=>C,M:()=>$}),n(19161),n(95055),n(22239),n(10676),n(85074),n(88711),n(58814),n(8451),n(30945),n(52678),n(41730),n(89305),n(98114);var r,o,a,i,l=n(14518),s=n(61841),c=n(14173),d=n(21227),u=n(35074);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let m=function(e){return u.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),r||(r=u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm-2.585 2.894c.154.25.107.568-.083.792A5.675 5.675 0 0 1 8 13.688a5.675 5.675 0 0 1-4.332-2.002c-.19-.224-.237-.543-.083-.792.087-.14.189-.271.306-.392.46-.469 1.087-.986 1.703-1.102.514-.097.899.056 1.298.214.331.132.673.267 1.108.267.435 0 .777-.135 1.108-.267.4-.158.784-.31 1.298-.214.616.116 1.243.633 1.703 1.102.117.12.22.252.306.392ZM8 8.919c1.329 0 2.406-1.559 2.406-2.888a2.406 2.406 0 1 0-4.812 0C5.594 7.361 6.67 8.92 8 8.92Z"})))};var h=n(67358),f=n(14967);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let v=function(e){return u.createElement("svg",g({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 8"},e),o||(o=u.createElement("path",{d:"M7.22 6.47a.75.75 0 0 0 1.06 1.06l3-3a.75.75 0 0 0 0-1.06l-3-3a.75.75 0 0 0-1.06 1.06L9.69 4 7.22 6.47ZM4.78 6.47a.75.75 0 0 1-1.06 1.06l-3-3a.75.75 0 0 1 0-1.06l3-3a.75.75 0 0 1 1.06 1.06L2.31 4l2.47 2.47Z",fill:"currentColor"})))};var b=n(89830);function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let w=function(e){return u.createElement("svg",y({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),a||(a=u.createElement("path",{d:"M9.167 5.035c0 1.503-1.22 3.266-2.723 3.266S3.722 6.538 3.722 5.035a2.722 2.722 0 0 1 5.445 0ZM1 12.736c0-.797.12-1.804.796-2.643.562-.698 1.23-1.116 1.926-1.247 1.066-.2 1.638.544 2.722.544 1.085 0 1.657-.745 2.723-.544.697.13 1.364.55 1.926 1.247.676.84.796 1.846.796 2.643a.95.95 0 0 1-.95.951H1.95A.95.95 0 0 1 1 12.736Z"})),i||(i=u.createElement("path",{d:"M8.982 7.712c-.088.111-.182.22-.282.324a2.698 2.698 0 0 1 1.21.232c1.336-.247 2.368-1.85 2.368-3.233a2.722 2.722 0 0 0-3.5-2.61 3.491 3.491 0 0 1 1.166 2.61c0 .945-.375 1.927-.962 2.677ZM12.382 13.688c.18-.274.285-.6.285-.952 0-.942-.152-2.21-1.019-3.187-.21-.239-.377-.371-.598-.555.37-.138.75-.238 1.228-.148.697.13 1.364.55 1.926 1.247.676.84.796 1.846.796 2.643a.95.95 0 0 1-.95.951h-1.668Z"})))};var x=n(22861),_=n(22293),S=n(23907),k=n(55845);let $=(e,t,n,r)=>P({customPages:e,getDefaultRoutes:B,setFirstPathToRoot:z,excludedPathsFromDuplicateWarning:[]},t,n,r),C=(e,t,n,r)=>P({customPages:e,getDefaultRoutes:O,setFirstPathToRoot:I,excludedPathsFromDuplicateWarning:[]},t,n,r,!0),P=(e,t,n,r,o)=>{let{customPages:a,getDefaultRoutes:i,setFirstPathToRoot:l,excludedPathsFromDuplicateWarning:c}=e,{INITIAL_ROUTES:d,pageToRootNavbarRouteMap:u,validReorderItemLabels:p}=i({commerce:o?!(0,s.NW)(t,r)&&n:!(0,s.B_)(t,r)&&n,apiKeys:o?!(0,s.s$)(t,r):!(0,s.ui)(t,r)});(0,S.w)(t)&&D(a,p);let{allRoutes:m,contents:h}=A({customPages:a.filter(e=>!!R(e,p)||((0,S.w)(t)&&console.error("Clerk: Invalid custom page data: ",e),!1)),defaultRoutes:d});M(m);let f=l(m);return(0,S.w)(t)&&Y(f,c),{routes:f,contents:h,pageToRootNavbarRouteMap:u}},A=e=>{let{customPages:t,defaultRoutes:n}=e,r=n.map(e=>e),o=[],a=t.map((e,t)=>{if(T(e))return{name:e.label,id:"custom-page-".concat(t),icon:t=>(0,l.Y)(_.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),path:(0,k.K)(e.url),external:!0};if(E(e)){let n=L(e.url);return o.push({url:n,mount:e.mount,unmount:e.unmount}),{name:e.label,id:"custom-page-".concat(t),icon:t=>(0,l.Y)(_.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),path:n}}let a=n.find(t=>t.id===e.label);return r=r.filter(t=>{let{id:n}=t;return n!==e.label}),{...a}});return{allRoutes:[...r,...a],contents:o}},z=e=>e.map((e,t)=>0===t?{...e,path:"/"}:e),I=e=>e.map((e,t)=>0===t?{...e,path:"/"}:e),D=(e,t)=>{e.filter(e=>F(e,t)).reduce((e,t)=>(e.includes(t.label)&&console.error('Clerk: The "'.concat(t.label,'" item is used more than once when reordering pages. This may cause unexpected behavior.')),[...e,t.label]),[])},Y=(e,t)=>{let n=e.filter(e=>{let{external:n,path:r}=e;return!n&&t.every(e=>e!==r)}).map(e=>{let{path:t}=e;return t});n.filter((e,t)=>n.indexOf(e)!==t).forEach(e=>{console.error('Clerk: Duplicate path "'.concat(e,'" found in custom pages. This may cause unexpected behavior.'))})},R=(e,t)=>E(e)||T(e)||F(e,t),E=e=>!!e.url&&!!e.label&&!!e.mount&&!!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,T=e=>!!e.url&&!!e.label&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,F=(e,t)=>!e.url&&!e.mount&&!e.unmount&&!e.mountIcon&&!e.unmountIcon&&t.some(t=>t===e.label),L=e=>{if(!e)throw Error("Clerk: URL is required for custom pages");if((0,c.AY)(e))throw Error("Clerk: Absolute URLs are not supported for custom pages");return"/"===e.charAt(0)&&e.length>1?e.substring(1):e},M=e=>{if(e[0].external)throw Error("Clerk: The first route cannot be a custom external link component")},B=e=>{let{commerce:t,apiKeys:n}=e,r=[{name:(0,x.G)("userProfile.navbar.account"),id:d.j2.ACCOUNT,icon:m,path:"account"},{name:(0,x.G)("userProfile.navbar.security"),id:d.j2.SECURITY,icon:h.A,path:"security"}];t&&r.push({name:(0,x.G)("userProfile.navbar.billing"),id:d.j2.BILLING,icon:f.A,path:"billing"}),n&&r.push({name:(0,x.G)("userProfile.navbar.apiKeys"),id:d.j2.API_KEYS,icon:v,path:"api-keys"});let o={profile:r.find(e=>e.id===d.j2.ACCOUNT),"email-address":r.find(e=>e.id===d.j2.ACCOUNT),"phone-number":r.find(e=>e.id===d.j2.ACCOUNT),"connected-account":r.find(e=>e.id===d.j2.ACCOUNT),"web3-wallet":r.find(e=>e.id===d.j2.ACCOUNT),username:r.find(e=>e.id===d.j2.ACCOUNT),"multi-factor":r.find(e=>e.id===d.j2.SECURITY),password:r.find(e=>e.id===d.j2.SECURITY)},a=r.map(e=>e.id);return{INITIAL_ROUTES:r,pageToRootNavbarRouteMap:o,validReorderItemLabels:a}},O=e=>{let{commerce:t,apiKeys:n}=e,r=[{name:(0,x.G)("organizationProfile.navbar.general"),id:d.jc.GENERAL,icon:b.A,path:"organization-general"},{name:(0,x.G)("organizationProfile.navbar.members"),id:d.jc.MEMBERS,icon:w,path:"organization-members"}];t&&r.push({name:(0,x.G)("organizationProfile.navbar.billing"),id:d.j2.BILLING,icon:f.A,path:"organization-billing"}),n&&r.push({name:(0,x.G)("organizationProfile.navbar.apiKeys"),id:d.jc.API_KEYS,icon:v,path:"organization-api-keys"});let o={"invite-members":r.find(e=>e.id===d.jc.MEMBERS),domain:r.find(e=>e.id===d.jc.GENERAL),profile:r.find(e=>e.id===d.jc.GENERAL),leave:r.find(e=>e.id===d.jc.GENERAL),delete:r.find(e=>e.id===d.jc.GENERAL)},a=r.map(e=>e.id);return{INITIAL_ROUTES:r,pageToRootNavbarRouteMap:o,validReorderItemLabels:a}}},25485:function(e,t,n){n.d(t,{e:()=>r}),n(22501),n(58910);let r=e=>e.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-")},74803:function(e,t,n){let r,o,a;n.d(t,{a:()=>i});let i={relativeColorSyntax:()=>{if(void 0!==r)return r;try{r=CSS.supports("color: hsl(from white h s l)")}catch{r=!1}return r},colorMix:()=>{if(void 0!==o)return o;try{o=CSS.supports("color: color-mix(in srgb, white, black)")}catch{o=!1}return o},modernColor(){if(void 0!==a)return a;try{a=this.relativeColorSyntax()||this.colorMix()}catch{a=!1}return a}}},38930:function(e,t,n){function r(e){if(!e||"string"!=typeof e)return!1;let t=e.trim();if(!t.startsWith("var(")||!t.endsWith(")"))return!1;let n=t.slice(4,-1).trim();if(!n.startsWith("--"))return!1;let r=n.indexOf(","),o=-1===r?n:n.slice(0,r).trim();return/^--[a-zA-Z0-9-_]+$/.test(o)}function o(e,t,n){let r=document.createElement("div");r.style.setProperty(t,n),e.appendChild(r);let o=window.getComputedStyle(r).getPropertyValue(t);return e.removeChild(r),o.trim()}function a(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"white",r=o(e,"color",t),a=o(e,"color",n),i=document.createElement("canvas");i.width=1,i.height=1;let l=i.getContext("2d");if(!l)return r;l.fillStyle=a,l.fillRect(0,0,1,1),l.fillStyle=r,l.fillRect(0,0,1,1);let{data:s}=l.getImageData(0,0,1,1);return"#".concat(s[0].toString(16).padStart(2,"0")).concat(s[1].toString(16).padStart(2,"0")).concat(s[2].toString(16).padStart(2,"0"))}n.d(t,{AY:()=>i,G3:()=>a,cQ:()=>function e(t,n){let o;if(!r(t))return null;let a=t.trim().slice(4,-1).trim(),i=a.indexOf(","),l=null;-1===i?o=a:(o=a.slice(0,i).trim(),l=a.slice(i+1).trim());let s=function(e,t){let n,r;if("undefined"==typeof window||"undefined"==typeof getComputedStyle)return null;n=e.startsWith("var(")&&e.endsWith(")")?e.slice(4,-1).trim():e.startsWith("--")?e:"--".concat(e);try{if(t)r=t;else{if("undefined"==typeof document||!document.documentElement)return null;r=document.documentElement}}catch{return null}try{return getComputedStyle(r).getPropertyValue(n).trim()||null}catch{return null}}(o,n);return s?s:l?r(l)?e(l,n):l:null},yJ:()=>o}),n(58814),n(19161),n(8451),n(22501);let i=(e,t)=>"var(--clerk-".concat(e,", ").concat(t,")")},4468:function(e,t,n){n.d(t,{H4:()=>i}),n(19161),n(41730),n(95055),n(58814),n(8451),n(10676);var r=n(73610),o=n(21044);let a=e=>e[0],i=(e,t,n)=>{if(!(0,r.ux)(e))throw e;return(0,r.si)(e)?l(e,t,n):(0,r.$R)(e)?s(e,t,n):(!(0,r.Cm)(e)||"reverification_cancelled"!==e.code)&&(0,r.Cm)(e)?c(e,t,n):void 0},l=(e,t,n)=>null==n?void 0:n(e.message),s=(e,t,n)=>{if(!(0,r.$R)(e))return;let{fieldErrors:i,globalErrors:l}=(e.errors||[]).reduce((e,t)=>{var n;return(null==(n=t.meta)?void 0:n.paramName)?e.fieldErrors.push(t):e.globalErrors.push(t),e},{fieldErrors:[],globalErrors:[]});if(i&&!(i.length<1)&&t.forEach(e=>{let t=null==e?void 0:e.buildErrorMessage;t||(t=a);let n=i.filter(t=>{var n,r;return(null==(n=t.meta)?void 0:n.paramName)===e.id||(0,o.sF)(null==(r=t.meta)?void 0:r.paramName)===e.id}),r=t(n);n.length&&r?e.setError(r):e.clearFeedback()}),n){n(void 0);let e=l[0];e&&n(e)}},c=(e,t,n)=>{(0,r.Cm)(e)&&n&&(n(void 0),e&&n(e))}},68289:function(e,t,n){n.d(t,{Ih:()=>d,Kn:()=>c,Wy:()=>u,aR:()=>p}),n(58814),n(19161),n(8451);let r=e=>e.reduce((e,t,n)=>(e[t]=n,e),{}),o=r(["passkey","password","email_link","email_code","phone_code"]),a=r(["email_link","email_code","phone_code","passkey","password"]),i=r(["email_link","email_code","phone_code","passkey","password"]),l=r(["totp","phone_code","backup_code"]),s=e=>(t,n)=>{let r=e[t.strategy],o=e[n.strategy];return void 0===r||void 0===o?0:r-o},c=s(o),d=s(a),u=s(l),p=s(i)},80137:function(e,t,n){n.d(t,{Y:()=>r});function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"long",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en-US",r={month:"short"===t?"short":"long",..."monthyear"!==t&&{day:"numeric"},..."short"!==t&&{year:"numeric"}};return new Intl.DateTimeFormat(n,r).format(e)}},99835:function(e,t,n){n.d(t,{R:()=>o,u:()=>a}),n(30945),n(22501);var r=n(87651);let o=e=>e&&e.includes("**"),a=e=>!e||e.includes("@")||o(e)||e.match(/[a-zA-Z]/)?e:(0,r.Om)(e)},31020:function(e,t,n){n.d(t,{P:()=>r}),n(88711),n(58814),n(19161),n(8451);let r=e=>[...e].reduce((e,t)=>{let[n,r]=t;return e[n]=r,e},{})},65424:function(e,t,n){n.d(t,{J:()=>r});function r(e,t){var n;if(t&&"mounted"!==e)return null==t||null==(n=t.target)?void 0:n.closest("[data-clerk-profile-scroll-box-root]")}},97806:function(e,t,n){n.d(t,{T:()=>a});var r=n(96988),o=n(22861);let a=e=>{let t=(0,r.om)({date:e||new Date,relativeTo:new Date});if(!t)return"";switch(t.relativeDateCase){case"previous6Days":return(0,o.G)("dates.previous6Days",{date:t.date});case"lastDay":return(0,o.G)("dates.lastDay",{date:t.date});case"sameDay":return(0,o.G)("dates.sameDay",{date:t.date});case"nextDay":return(0,o.G)("dates.nextDay",{date:t.date});case"next6Days":return(0,o.G)("dates.next6Days",{date:t.date});default:return(0,o.G)("dates.numeric",{date:t.date})}}},80396:function(e,t,n){n.d(t,{p:()=>o}),n(30945),n(88711),n(64178),n(60962),n(60486),n(25089),n(61244),n(77895),n(22501),n(58910);var r=n(68909);let o=e=>{if((e||"").includes("gravatar")||(e||"").includes("avatar_placeholder"))return!0;try{let t=new URL(e).pathname.replace("/",""),n=(0,r.t)(t),o=JSON.parse(n);return"default"===o.type}catch{return!1}}},31089:function(e,t,n){function r(e){return"ListFormat"in Intl&&function(e){if(!e)return!1;let t=Array.isArray(e)?e:[e];return Intl.ListFormat.supportedLocalesOf(t).length===t.length}(e)}function o(e,t){return"NumberFormat"in Intl&&function(e){if(!e)return!1;try{return Intl.NumberFormat.supportedLocalesOf(e).length>0}catch{return!1}}(t)?new Intl.NumberFormat(t,{notation:"compact"}).format(e):e.toString()}n.d(t,{L1:()=>o,bI:()=>r})},30958:function(e,t,n){n.d(t,{X:()=>o}),n(22501);let r=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i,o=()=>"undefined"!=typeof window&&void 0!==window.document&&!!(window.matchMedia("only screen and (max-width: 760px)").matches||r.test(navigator.userAgent)||"ontouchstart"in document.documentElement&&navigator.userAgent.match(/Mobi/))},42311:function(e,t,n){n.d(t,{C:()=>o});var r=n(31475);let o=e=>{let{routing:t,path:n}=e;return n&&!t?{routing:"path",path:n}:"path"!==t&&n?(0,r.SK)(t):{routing:t,path:n}}},85571:function(e,t,n){n.d(t,{u:()=>c}),n(50036);var r=n(31475);let o={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},a=async e=>new Promise(t=>setTimeout(t,e)),i=(e,t)=>t?e*(1+Math.random()):e,l=async function(e){var t;let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=0,{shouldRetry:s,initialDelay:c,maxDelayBetweenRetries:d,factor:u,retryImmediately:p,jitter:m,onBeforeRetry:h}={...o,...r},f=(t={initialDelay:c,maxDelayBetweenRetries:d,factor:u,jitter:m},n=0,async()=>{let e;await a((e=i(e=t.initialDelay*Math.pow(t.factor,n),t.jitter),Math.min(t.maxDelayBetweenRetries||e,e))),n++});for(;;)try{return await e()}catch(e){if(!s(e,++l))throw e;h&&await h(l),p&&1===l?await a(i(100,m)):await f()}};async function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,{async:n,defer:r,beforeLoad:o,crossOrigin:a,nonce:i}=t||{};return l(()=>new Promise((t,l)=>{e||l(Error("loadScript cannot be called without a src")),document&&document.body||l(Error("loadScript cannot be called when document does not exist"));let s=document.createElement("script");a&&s.setAttribute("crossorigin",a),s.async=n||!1,s.defer=r||!1,s.addEventListener("load",()=>{s.remove(),t(s)}),s.addEventListener("error",t=>{var n;s.remove(),l(null!=(n=t.error)?n:Error("failed to load script: ".concat(e)))}),s.src=e,s.nonce=i,null==o||o(s),document.body.appendChild(s)}),{shouldRetry:(e,t)=>t<=5})}async function c(){if(!window.google)try{await s("https://accounts.google.com/gsi/client",{defer:!0})}catch{(0,r.A8)("Google Identity Services")}return window.google}n(98114)},60044:function(e,t,n){n.d(t,{C:()=>o}),n(19161),n(89305),n(59781);let r=[".lovable.app",".lovableproject.com",".webcontainer-api.io",".vusercontent.net",".v0.dev",".v0.app",".lp.dev"];function o(){return function(){if(void 0===globalThis.document)return!1;try{return window.self!==window.top}catch{return!0}}()||r.some(e=>window.location.origin.endsWith(e))}},23990:function(e,t,n){n.d(t,{C5:()=>a,kS:()=>l,zJ:()=>i}),n(19161),n(22239),n(95055),n(88711);var r=n(22861),o=n(31089);let a=(e,t)=>{var n,o,a,s,c,d,u,p,m;if(!t)return e[0].longMessage;let{t:h,locale:f,passwordSettings:g}=t;if((null==e||null==(n=e[0])?void 0:n.code)==="form_password_size_in_bytes_exceeded"||(null==e||null==(o=e[0])?void 0:o.code)==="form_password_pwned"||(null==e||null==(a=e[0])?void 0:a.code)==="form_new_password_matches_current")return"".concat(h((0,r.G)("unstable__errors.".concat(null==e||null==(c=e[0])?void 0:c.code)))||(null==e||null==(d=e[0])?void 0:d.message));if((null==e||null==(s=e[0])?void 0:s.code)==="form_password_not_strong_enough"){let t=null==(m=e[0].meta)||null==(p=m.zxcvbn)||null==(u=p.suggestions)?void 0:u.map(e=>h((0,r.G)("unstable__errors.zxcvbn.suggestions.".concat(e.code)))).join(" ");return"".concat(h((0,r.G)("unstable__errors.zxcvbn.notEnough"))," ").concat(t)}let v=e.filter(e=>"form_password_length_too_short"===e.code),b=l((v.length?v:e).map(e=>{let t={form_password_length_too_long:["unstable__errors.passwordComplexity.maximumLength","length",g.max_length],form_password_length_too_short:["unstable__errors.passwordComplexity.minimumLength","length",g.min_length],form_password_no_uppercase:"unstable__errors.passwordComplexity.requireUppercase",form_password_no_lowercase:"unstable__errors.passwordComplexity.requireLowercase",form_password_no_number:"unstable__errors.passwordComplexity.requireNumbers",form_password_no_special_char:"unstable__errors.passwordComplexity.requireSpecialCharacter"}[e.code];if(Array.isArray(t)){let[e,n,o]=t;return h((0,r.G)(e,{[n]:o}))}return h((0,r.G)(t))}),f);return i("".concat(h((0,r.G)("unstable__errors.passwordComplexity.sentencePrefix"))," ").concat(b))},i=e=>e?e.endsWith(".")?e:"".concat(e,"."):"",l=(e,t)=>(0,o.bI)(t)?new Intl.ListFormat(t,{style:"long",type:"conjunction"}).format(e):e.join(", ")},87651:function(e,t,n){n.d(t,{Mz:()=>p,Om:()=>d,TV:()=>m,Xd:()=>c,eL:()=>a,n4:()=>i,sH:()=>l}),n(88711),n(19161),n(22239),n(22501),n(58910),n(30945),n(10676);var r=n(51820);let o={};function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"us";if(o[e=e||t])return o[e];let n=String.fromCodePoint(...[...e.toUpperCase()].map(e=>e.codePointAt(0)+127397));return o[e]=n,n}function i(e,t,n){var r;if(!e||!t)return e;let o=[...l(e)].slice(0,15-((r=(r=n)||"1").includes("+")?r:"+"+r).length);if(o.length<=3)return o.join("");let a="";for(let e=0;o.length>0;e++)e>t.length-1?a+=o.shift():a+="."===t[e]?o.shift():t[e];return a}function l(e){return(e||"").replace(/[^\d]/g,"")}function s(e,t){var n,o;if(!e||!r.nU.get(e)||!t)return!1;let a=t[0],i=t.substring(1,4);return a===(null==(n=r.nU.get(e))?void 0:n.code)&&t.length-1===(((null==(o=r.nU.get(e))?void 0:o.pattern)||"").match(/\./g)||[]).length&&r.mK[e].has(i)}function c(e){var t,n;let o=l(e),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"us",n=l(e);return!n||n.length<4?t:n.startsWith("1")&&s("us",n)?"us":n.startsWith("1")&&s("ca",n)?"ca":p(n).country.iso}(o),c=(null==(t=r.nU.get(a))?void 0:t.pattern)||"",d=(null==(n=r.nU.get(a))?void 0:n.code)||"",u=o.slice(d.length),m="+".concat(d," ").concat(i(u,c,d));return{iso:a,pattern:c,code:d,number:u,formattedNumberWithCode:m}}function d(e){let t=c(e);return"+".concat(t.code," ").concat(i(t.number,t.pattern,t.code))}let u=(e,t)=>t.priority-e.priority;function p(e){let t=l(e),n=[];for(let e of[4,3,2,1]){let o=t.substring(0,e),a=r.zh.get(o)||[];a.length&&n.push(...a)}let o=r.nU.get("us"),a=n.sort(u)[0]||o;return{number:t.slice((null==a?void 0:a.code.length)||0),country:a}}function m(e,t){if(!t)return null;let{country:n}=p(e);return t[n.iso.toUpperCase()]||null}},23907:function(e,t,n){n.d(t,{w:()=>o});var r=n(14562);let o=e=>{var t;return(0,r.b_)()||(null==(t=e.sdkMetadata)?void 0:t.environment)==="development"}},55845:function(e,t,n){n.d(t,{K:()=>o}),n(98114);var r=n(14173);let o=e=>{if(!e)throw Error("Clerk: URL is required for custom links");return(0,r.AY)(e)||"/"===e.charAt(0)?e:"/".concat(e)}},6735:function(e,t,n){n.d(t,{y:()=>r}),n(50036);let r=e=>new Promise(t=>setTimeout(t,e))},17198:function(e,t,n){n.d(t,{f:()=>o});var r=n(22861);function o(e){let t=new Date,n=new Date(e);if(isNaN(n.getTime()))return"";let o=Math.floor((t.getTime()-n.getTime())/1e3);if(o<60)return(0,r.G)("apiKeys.lastUsed__seconds",{seconds:o});let a=Math.floor(o/60);if(a<60)return(0,r.G)("apiKeys.lastUsed__minutes",{minutes:a});let i=Math.floor(a/60);if(i<24)return(0,r.G)("apiKeys.lastUsed__hours",{hours:i});let l=Math.floor(i/24);if(l<30)return(0,r.G)("apiKeys.lastUsed__days",{days:l});let s=Math.floor(l/30);if(s<12)return(0,r.G)("apiKeys.lastUsed__months",{months:s});let c=Math.floor(s/12);return(0,r.G)("apiKeys.lastUsed__years",{years:c})}},89606:function(e,t,n){n.d(t,{W:()=>r});function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;if(!e||e.length<=t)return e;if(t<=n+3)return"..."+e.slice(-n);let r=Array.from(e);return r.length<=t?e:r.slice(0,t-n-3).join("")+"..."+r.slice(-n).join("")}},8640:function(e,t,n){n.d(t,{eW:()=>d,mK:()=>c,tJ:()=>s}),n(10676),n(88711),n(19161),n(41730),n(30945);var r=n(35074),o=n(34317),a=n(10078);let i=e=>e.trim(),l=(e,t)=>{let n=e;for(let e=0;e<t.length;e++)n=t[e](n);return n},s=(e,t,n)=>{let o=n||{type:"text",label:"",isRequired:!1,placeholder:"",options:[],defaultChecked:!1},s=[];o.transformer&&s.push(o.transformer),"email"===o.type&&s.push(i);let{translateError:c,t:d}=(0,a._)(),[u,p]=(0,r.useState)(l(t,s)),[m,h]=(0,r.useState)(!1),[f,g]=(0,r.useState)((null==o?void 0:o.defaultChecked)||!1),[v,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)({message:"",type:"info"}),x=e=>{w({message:c(e),type:"error"})},{defaultChecked:_,validatePassword:S,buildErrorMessage:k,...$}=o,C={id:e,name:e,value:u,checked:f,setSuccess:e=>{w({message:e,type:"success"})},setError:x,onChange:e=>(null==o?void 0:o.type)==="checkbox"?g(e.target.checked):p(l(e.target.value||"",s)),onBlur:()=>{h(!1)},onFocus:()=>{h(!0)},setWarning:e=>{w({message:c(e),type:"warning"})},feedback:y.message||d(o.infoText),feedbackType:y.type,setInfo:e=>{w({message:e,type:"info"})},clearFeedback:()=>{w({message:"",type:"info"})},hasPassedComplexity:v,setHasPassedComplexity:b,validatePassword:"password"===o.type?o.validatePassword:void 0,isFocused:m,...$};return{props:C,...C,buildErrorMessage:k,setError:x,setValue:e=>p(e||""),setChecked:e=>g(e)}},c=e=>{let t={};return e.forEach(e=>{t[e.id]="checkbox"!==e.type?e.value:e.checked}),t},d=e=>{let{feedback:t="",delayInMs:n=100,feedbackType:r="info",isFocused:a=!1}=e||{},i=!a&&["info","warning"].includes(r);return{debounced:(0,o.d)({feedback:i?"":t,feedbackType:i?"info":r},n)}}},94557:function(e,t,n){n.d(t,{Z:()=>i});var r=n(22861);let o="form_username_invalid_length",a="form_username_needs_non_number_char",i=(e,t)=>{let{t:n,usernameSettings:i}=t,l=e[0];return t?(null==l?void 0:l.code)===o?n((0,r.G)("unstable__errors.".concat(o),{min_length:i.min_length,max_length:i.max_length})):(null==l?void 0:l.code)===a?n((0,r.G)("unstable__errors.".concat(a))):l:l}},49236:function(e,t,n){n.d(t,{f:()=>a});var r=n(73610),o=n(4468);let a=(e,t)=>{var n,a,i,l,s;if((0,r.$R)(e)&&(null==(i=e.errors)||null==(a=i[0])||null==(n=a.meta)?void 0:n.paramName)==="identifier"&&(null==(s=e.errors)||null==(l=s[0])?void 0:l.code)==="form_param_nil"){let e=new r.cR("A Web3 Wallet extension cannot be found. Please install one to continue.",{code:"web3_missing_identifier"});return(0,o.H4)(e,[],t)}return(0,o.H4)(e,[],t)}},81652:function(e,t,n){n.d(t,{c:()=>r,y:()=>o}),n(19161),n(85074);let r=[{channel:"whatsapp",name:"WhatsApp"}],o=e=>e&&r.find(t=>t.channel===e)||null},96988:function(e,t,n){function r(e){try{return new Date(e||new Date)}catch{return new Date}}function o(e){let{date:t,relativeTo:n}=e;if(!t||!n)return null;let o=r(t),a=function(e,t){let{absolute:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||!t)return 0;let r=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),o=Math.floor((Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())-r)/864e5);return n?Math.abs(o):o}(r(n),o,{absolute:!1});return a<-6?{relativeDateCase:"other",date:o}:a<-1?{relativeDateCase:"previous6Days",date:o}:-1===a?{relativeDateCase:"lastDay",date:o}:0===a?{relativeDateCase:"sameDay",date:o}:1===a?{relativeDateCase:"nextDay",date:o}:a<7?{relativeDateCase:"next6Days",date:o}:{relativeDateCase:"other",date:o}}n.d(t,{OG:()=>r,om:()=>o})},92522:function(e,t,n){function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return function(t){let n=null!=t?t:this;if(!n)throw TypeError("".concat(e.kind||e.name," type guard requires an error object"));if(e.kind&&"object"==typeof n&&null!==n&&"constructor"in n){var r;if((null==(r=n.constructor)?void 0:r.kind)===e.kind)return!0}return n instanceof e}}n.d(t,{S:()=>m,a:()=>y,c:()=>k,f:()=>_,h:()=>b,i:()=>$,l:()=>S,m:()=>v,o:()=>x,u:()=>w,v:()=>g,y:()=>f}),n(98114),n(19161),n(22239),n(25006),n(54067),n(22501),n(58910),n(83417),n(88711),n(30945);var a,i,l,s,c,d=(a=class{constructor(e){var t,n,o,a,i,l,s;r(this,"code",void 0),r(this,"message",void 0),r(this,"longMessage",void 0),r(this,"meta",void 0);const c={code:e.code,message:e.message,longMessage:e.long_message,meta:{paramName:null==(t=e.meta)?void 0:t.param_name,sessionId:null==(n=e.meta)?void 0:n.session_id,emailAddresses:null==(o=e.meta)?void 0:o.email_addresses,identifiers:null==(a=e.meta)?void 0:a.identifiers,zxcvbn:null==(i=e.meta)?void 0:i.zxcvbn,plan:null==(l=e.meta)?void 0:l.plan,isPlanUpgradePossible:null==(s=e.meta)?void 0:s.is_plan_upgrade_possible}};this.code=c.code,this.message=c.message,this.longMessage=c.longMessage,this.meta=c.meta}},r(a,"kind","ClerkAPIError"),a);o(d);var u=(i=class e extends Error{get name(){return this.constructor.name}toString(){return"[".concat(this.name,"]\nMessage:").concat(this.message)}static formatMessage(e,t,n,r){let o="Clerk:",a=RegExp(o.replace(" ","\\s*"),"i");return t=t.replace(a,""),t="".concat(o," ").concat(t.trim(),'\n\n(code="').concat(n,'")\n\n'),r&&(t+="\n\nDocs: ".concat(r)),t}constructor(t){super(new.target.formatMessage(new.target.kind,t.message,t.code,t.docsUrl),{cause:t.cause}),r(this,"clerkError",!0),r(this,"code",void 0),r(this,"longMessage",void 0),r(this,"docsUrl",void 0),r(this,"cause",void 0),Object.setPrototypeOf(this,e.prototype),this.code=t.code,this.docsUrl=t.docsUrl,this.longMessage=t.longMessage,this.cause=t.cause}},r(i,"kind","ClerkError"),i),p=(l=class e extends u{toString(){let e="[".concat(this.name,"]\nMessage:").concat(this.message,"\nStatus:").concat(this.status,"\nSerialized errors: ").concat(this.errors.map(e=>JSON.stringify(e)));return this.clerkTraceId&&(e+="\nClerk Trace ID: ".concat(this.clerkTraceId)),e}static formatMessage(e,t,n,r){return t}constructor(t,n){const{data:o,status:a,clerkTraceId:i,retryAfter:l}=n;super({...n,message:t,code:"api_response_error"}),r(this,"status",void 0),r(this,"clerkTraceId",void 0),r(this,"retryAfter",void 0),r(this,"errors",void 0),Object.setPrototypeOf(this,e.prototype),this.status=a,this.clerkTraceId=i,this.retryAfter=l,this.errors=(o||[]).map(e=>new d(e))}},r(l,"kind","ClerkAPIResponseError"),l);let m=o(p);r(s=class e extends p{static is(t){return m(t)&&t.status===e.STATUS&&t.errors.length>0&&t.errors[0].code===e.ERROR_CODE}},"kind","MissingExpiredTokenError"),r(s,"ERROR_CODE","missing_expired_token"),r(s,"STATUS",422);let h=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function f(e){let{packageName:t,customMessages:n}=e,r=t;function o(e,t){if(!t)return"".concat(r,": ").concat(e);let n=e;for(let r of e.matchAll(/{{([a-zA-Z0-9-_]+)}}/g)){let e=(t[r[1]]||"").toString();n=n.replace("{{".concat(r[1],"}}"),e)}return"".concat(r,": ").concat(n)}let a={...h,...n};return{setPackageName(e){let{packageName:t}=e;return"string"==typeof t&&(r=t),this},setMessages(e){let{customMessages:t}=e;return Object.assign(a,t||{}),this},throwInvalidPublishableKeyError(e){throw Error(o(a.InvalidPublishableKeyErrorMessage,e))},throwInvalidProxyUrl(e){throw Error(o(a.InvalidProxyUrlErrorMessage,e))},throwMissingPublishableKeyError(){throw Error(o(a.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw Error(o(a.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(e){throw Error(o(a.MissingClerkProvider,e))},throw(e){throw Error(o(e))}}}let g={Expired:"expired",Failed:"failed",ClientMismatch:"client_mismatch"};var v=(c=class e extends u{constructor(t,n){super({...n,message:t}),r(this,"clerkRuntimeError",!0),Object.setPrototypeOf(this,e.prototype)}},r(c,"kind","ClerkRuntimeError"),c);let b=o(v);function y(e){return m(e)||x(e)||b(e)}function w(e){return b(e)&&"reverification_cancelled"===e.code}function x(e){return"code"in e&&[4001,32602,32603].includes(e.code)&&"message"in e}function _(e){var t,n;return m(e)&&(null==(n=e.errors)||null==(t=n[0])?void 0:t.code)==="user_locked"}function S(e){var t,n;return m(e)&&(null==(n=e.errors)||null==(t=n[0])?void 0:t.code)==="form_password_pwned"}function k(e){var t,n;return m(e)&&(null==(n=e.errors)||null==(t=n[0])?void 0:t.code)==="form_password_compromised"}function $(e){return"EmailLinkError"===e.name}},73610:function(e,t,n){n.d(t,{$R:()=>r.S,Au:()=>r.l,Cm:()=>r.h,I3:()=>r.u,_d:()=>r.f,cR:()=>r.m,hl:()=>r.i,kl:()=>r.v,qY:()=>r.c,si:()=>r.o,ux:()=>r.a});var r=n(92522)},24076:function(e,t,n){let r,o;n.d(t,{getWallets:()=>d}),n(98114),n(32880),n(25902),n(56359),n(894),n(6373),n(63418),n(93412),n(88711),n(19161),n(95055),n(41730),n(10676);var a,i=function(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)},l=function(e,t,n,r,o){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!o)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n};let s=new Set,c={};function d(){if(o||(o=Object.freeze({register:u,get:p,on:m}),"undefined"==typeof window))return o;let e=Object.freeze({register:u});try{window.addEventListener("wallet-standard:register-wallet",t=>{let{detail:n}=t;return n(e)})}catch(e){console.error("wallet-standard:register-wallet event listener could not be added\n",e)}try{window.dispatchEvent(new f(e))}catch(e){console.error("wallet-standard:app-ready event could not be dispatched\n",e)}return o}function u(){for(var e,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return(n=n.filter(e=>!s.has(e))).length?(n.forEach(e=>{r=void 0,s.add(e)}),null==(e=c.register)||e.forEach(e=>h(()=>e(...n))),function(){var e;n.forEach(e=>{r=void 0,s.delete(e)}),null==(e=c.unregister)||e.forEach(e=>h(()=>e(...n)))}):()=>{}}function p(){return r||(r=[...s]),r}function m(e,t){var n;return(null==(n=c[e])?void 0:n.push(t))||(c[e]=[t]),function(){var n;c[e]=null==(n=c[e])?void 0:n.filter(e=>t!==e)}}function h(e){try{e()}catch(e){console.error(e)}}var f=class extends Event{get detail(){return i(this,a,"f")}get type(){return"wallet-standard:app-ready"}preventDefault(){throw Error("preventDefault cannot be called")}stopImmediatePropagation(){throw Error("stopImmediatePropagation cannot be called")}stopPropagation(){throw Error("stopPropagation cannot be called")}constructor(e){super("wallet-standard:app-ready",{bubbles:!1,cancelable:!1,composed:!1}),a.set(this,void 0),l(this,a,e,"f")}};a=new WeakMap},60212:function(e,t,n){n.d(t,{t:()=>o}),n(98114);var r=n(71006);let o={toRegexp:e=>{try{return r(e)}catch(t){throw Error("Invalid pattern: ".concat(e,".\nConsult the documentation of glob-to-regexp here: https://www.npmjs.com/package/glob-to-regexp.\n").concat(t.message))}}}},1687:function(e,t,n){n.d(t,{A:()=>o}),n(19161),n(89305),n(30945),n(68909),n(60265),n(82311),n(15318);var r=n(59017);let o=e=>{let{signUp:t,verifyEmailPath:n,verifyPhonePath:o,continuePath:a,navigate:i,handleComplete:l,redirectUrl:s="",redirectUrlComplete:c="",oidcPrompt:d}=e;if("complete"===t.status)return l&&l();if("missing_requirements"===t.status){var u,p;if(t.missingFields.some(e=>"enterprise_sso"===e))return t.authenticateWithRedirect({strategy:"enterprise_sso",redirectUrl:s,redirectUrlComplete:c,continueSignUp:!0,oidcPrompt:d});let e=(0,r.t)();if((null==(u=t.unverifiedFields)?void 0:u.includes("email_address"))&&n)return i(n,{searchParams:e});if((null==(p=t.unverifiedFields)?void 0:p.includes("phone_number"))&&o)return i(o,{searchParams:e});if(a)return i(a,{searchParams:e})}}},61841:function(e,t,n){n.d(t,{B_:()=>o,NW:()=>a,Xu:()=>r,s$:()=>l,ui:()=>i});let r=(e,t)=>!!(e.isSignedIn&&(null==t?void 0:t.authConfig.singleSessionMode)),o=(e,t)=>!(null==t?void 0:t.commerceSettings.billing.user.enabled),a=(e,t)=>!(null==t?void 0:t.commerceSettings.billing.organization.enabled),i=(e,t)=>{var n;return!(null==t||null==(n=t.apiKeysSettings)?void 0:n.user_api_keys_enabled)},l=(e,t)=>{var n;return!(null==t||null==(n=t.apiKeysSettings)?void 0:n.orgs_api_keys_enabled)}},56739:function(e,t,n){n.d(t,{n:()=>r});function r(e){return"string"==typeof e&&e.startsWith("org_")}},35653:function(e,t,n){n.d(t,{sv:()=>o}),n(92977),n(65595),n(16418),n(4214),n(43375),n(65746),n(54790),n(35469),n(18336),n(68971),n(42287),n(95801),n(93374),n(83443),n(88711),n(22501),n(58910),n(50036),n(98114),n(19161),n(22239),n(92522);var r=class{static encode(e){return btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}static decode(e){let t=atob(e.replace(/-/g,"+").replace(/_/g,"/")),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer}};let o=new class{__abort(){if(!this.controller)return;let e=Error();e.name="AbortError",this.controller.abort(e)}createAbortSignal(){this.__abort();let e=new AbortController;return this.controller=e,e.signal}abort(){this.__abort(),this.controller=void 0}constructor(){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"controller",void 0)}};r.encode.bind(r),r.decode.bind(r)},48380:function(e,t,n){n.d(t,{n:()=>x}),n(88711),n(19161),n(22239),n(60486),n(25089),n(61244),n(77895),n(95055),n(30945),n(41730),n(68909),n(60265),n(82311),n(60212),n(35993),n(84210),n(58814),n(8451);let r=(e,t)=>{let n={};for(let r in e)n[r]=t(e[r],r);return n},o=(e,t)=>{let n={};for(let r in e)e[r]&&t(e[r])&&(n[r]=e[r]);return n};var a,i,l,s,c,d,u,p,m,h=n(61302);n(82779),n(58902);var f=n(6308);function g(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function v(e,t){var n=function(e,t,n){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return t.get(e)}(e,t,0);return n.get?n.get.call(e):n.value}function b(e,t,n){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return n}function y(e,t){g(e,t),t.add(e)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=(a=new WeakSet,i=new WeakSet,l=new WeakSet,s=new WeakSet,c=new WeakSet,d=new WeakSet,u=new WeakSet,p=new WeakMap,m=class{getAfterSignInUrl(){return b(this,s,$).call(this,"signIn")}getAfterSignUpUrl(){return b(this,s,$).call(this,"signUp")}getPreservedSearchParams(){return b(this,a,_).call(this,b(this,i,S).call(this))}toSearchParams(){return b(this,a,_).call(this,b(this,l,k).call(this))}constructor(e,t={},n={},r){y(this,a),y(this,i),y(this,l),y(this,s),y(this,c),y(this,d),y(this,u),w(this,"options",void 0),w(this,"fromOptions",void 0),w(this,"fromProps",void 0),w(this,"fromSearchParams",void 0),w(this,"mode",void 0),function(e,t,n){g(e,t),t.set(e,n)}(this,p,{writable:!0,value:e=>{var t;return o(e,(0,f.l)(null==(t=this.options)?void 0:t.allowedRedirectOrigins,window.location.origin))}}),this.options=e,this.fromOptions=b(this,c,C).call(this,e||{}),this.fromProps=b(this,c,C).call(this,t||{}),this.fromSearchParams=b(this,d,P).call(this,n||{}),this.mode=r}},w(m,"keys",["signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","redirectUrl"]),w(m,"preserved",["redirectUrl"]),m);function _(e){return new URLSearchParams(Object.entries(Object.fromEntries(Object.entries(e).map(e=>{let[t,n]=e;return[(0,h.t)(t),n]}))).reduce((e,t)=>{let[n,r]=t;return null!=r&&(e[n]=r),e},{}))}function S(){return Object.fromEntries(Object.entries({...this.fromSearchParams}).filter(e=>{let[t]=e;return m.preserved.includes(t)}))}function k(){let e=this.fromSearchParams.signUpForceRedirectUrl||this.fromProps.signUpForceRedirectUrl||this.fromOptions.signUpForceRedirectUrl,t=this.fromSearchParams.signUpFallbackRedirectUrl||this.fromProps.signUpFallbackRedirectUrl||this.fromOptions.signUpFallbackRedirectUrl,n=this.fromSearchParams.signInForceRedirectUrl||this.fromProps.signInForceRedirectUrl||this.fromOptions.signInForceRedirectUrl,r={signUpForceRedirectUrl:e,signUpFallbackRedirectUrl:t,signInFallbackRedirectUrl:this.fromSearchParams.signInFallbackRedirectUrl||this.fromProps.signInFallbackRedirectUrl||this.fromOptions.signInFallbackRedirectUrl,signInForceRedirectUrl:n,redirectUrl:this.fromSearchParams.redirectUrl};return e&&delete r.signUpFallbackRedirectUrl,n&&delete r.signInFallbackRedirectUrl,r}function $(e){let t,n="".concat(e,"ForceRedirectUrl"),r="".concat(e,"FallbackRedirectUrl");return((t=this.fromSearchParams[n]||this.fromProps[n]||this.fromOptions[n])||(t=this.fromSearchParams.redirectUrl),t||(t=this.fromSearchParams[r]||this.fromProps[r]||this.fromOptions[r]),t||"modal"!==this.mode)?t||"/":window.location.href}function C(e){let t={};return m.keys.forEach(n=>{t[n]=e[n]}),r(v(this,p).call(this,b(this,u,A).call(this,o(t,Boolean))),e=>e.toString())}function P(e){let t={};return m.keys.forEach(n=>{e instanceof URLSearchParams?t[n]=e.get((0,h.t)(n)):t[n]=e[(0,h.t)(n)]}),r(v(this,p).call(this,b(this,u,A).call(this,o(t,Boolean))),e=>e.toString())}function A(e){return r(e,e=>(0,f.v)(e,window.location.origin))}},5580:function(e,t,n){n.d(t,{KA:()=>l,ru:()=>i,tk:()=>a}),n(19161),n(89305),n(30945),n(68909),n(60265),n(82311),n(60212),n(35993),n(84210),n(15318),n(61302);var r=n(59017);n(82779),n(58902);var o=n(6308);let a={"choose-organization":"choose-organization","reset-password":"reset-password"},i=e=>"/tasks/".concat(a[e.key]);function l(e,t){let{navigate:n,baseUrl:a}=t,l=e.currentTask;if(l){var s;let e;return n((s={base:a},e=(0,r.t)(),(0,o.t)({base:s.base,hashPath:i(l),searchParams:e},{stringify:!0})))}}},14173:function(e,t,n){n.d(t,{AY:()=>r.h,FV:()=>r.x,Kj:()=>r.w,V0:()=>r.u,d3:()=>r.b,kZ:()=>r.t,tL:()=>r.c,vU:()=>r.l,yR:()=>r.g,yY:()=>r._}),n(68909),n(60265),n(82311),n(60212),n(35993),n(84210),n(61302),n(82779),n(58902);var r=n(6308)},8095:function(e,t,n){n.d(t,{Cm:()=>a,IM:()=>o,dS:()=>r});let r=e=>{let{firstName:t,lastName:n,name:r}=e;return r||[t,n].join(" ").trim()||""},o=e=>{let{firstName:t,lastName:n,name:r}=e;return[(t||"")[0],(n||"")[0]].join("").trim()||(r||"")[0]},a=e=>e.username?e.username:e.primaryEmailAddress?e.primaryEmailAddress.emailAddress:e.primaryPhoneNumber?e.primaryPhoneNumber.phoneNumber:e.primaryWeb3Wallet?e.primaryWeb3Wallet.web3Wallet:""},52049:function(e,t,n){n.d(t,{A:()=>o}),n(88711);let r=e=>"\uD83D\uDD12 Clerk:\n".concat(e.trim(),"\n(This notice only appears in development)"),o={cannotRenderComponentWhenSessionExists:"The <SignUp/> and <SignIn/> components cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the Home URL instead.",cannotRenderSignUpComponentWhenSessionExists:"The <SignUp/> component cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the value set in `afterSignUp` URL instead.",cannotRenderSignUpComponentWhenTaskExists:"The <SignUp/> component cannot render when a user has a pending task, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the task instead.",cannotRenderComponentWhenTaskDoesNotExist:"<TaskChooseOrganization/> cannot render unless a session task is pending. Clerk is redirecting to the value set in `redirectUrlComplete` instead.",cannotRenderSignInComponentWhenSessionExists:"The <SignIn/> component cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the `afterSignIn` URL instead.",cannotRenderSignInComponentWhenTaskExists:"The <SignIn/> component cannot render when a user has a pending task, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the task instead.",cannotRenderComponentWhenUserDoesNotExist:"<UserProfile/> cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotRenderComponentWhenOrgDoesNotExist:"<OrganizationProfile/> cannot render unless an organization is active. Since no organization is currently active, this is no-op.",cannotRenderAnyOrganizationComponent:e=>r("The <".concat(e,"/> cannot be rendered when the feature is turned off. Visit 'dashboard.clerk.com' to enable the feature. Since the feature is turned off, this is no-op.")),cannotRenderAnyBillingComponent:e=>r("The <".concat(e,"/> component cannot be rendered when billing is disabled. Visit 'https://dashboard.clerk.com/last-active?path=billing/settings' to follow the necessary steps to enable billing. Since billing is disabled, this is no-op.")),cannotOpenUserProfile:"The UserProfile modal cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotOpenCheckout:"The Checkout drawer cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotOpenSignInOrSignUp:"The SignIn or SignUp modals do not render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, this is no-op.",cannotRenderAPIKeysComponent:"The <APIKeys/> component cannot be rendered when API keys is disabled. Since API keys is disabled, this is no-op.",cannotRenderAPIKeysComponentForOrgWhenUnauthorized:"The <APIKeys/> component cannot be rendered for an organization unless a user has the required permissions. Since the user does not have the necessary permissions, this is no-op.",cannotRenderAPIKeysComponentForUserWhenDisabled:"The <APIKeys/> component cannot be rendered when user API keys are disabled. Since user API keys are disabled, this is no-op.",cannotRenderAPIKeysComponentForOrgWhenDisabled:"The <APIKeys/> component cannot be rendered when organization API keys are disabled. Since organization API keys are disabled, this is no-op."};for(let e of Object.keys(o)){let t=o[e];"function"!=typeof t&&(o[e]=r(t))}},66463:function(e,t,n){n.d(t,{U:()=>B}),n(50036),n(19161),n(85074),n(92977),n(88711),n(98114),n(30945);var r,o,a,i,l,s,c,d,u,p,m,h,f=n(92522);function g(e,t){return t.get?t.get.call(e):t.value}function v(e,t){if(void 0===e)throw TypeError("attempted to "+t+" private static field before its declaration")}function b(e,t){var n=function(e,t,n){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return t.get(e)}(e,t,0);return g(e,n)}function y(e,t,n){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,n)}function w(e,t,n){return x(e,t),v(n,"get"),g(e,n)}function x(e,t){if(e!==t)throw TypeError("Private static access of wrong provenance")}n(62950),n(22501),n(22239),n(89305),n(10676);var _=(r=new WeakMap,o=new WeakMap,a=new WeakMap,i=class e{static getInstance(){return w(e,i,l)||function(e,t,n,r){x(e,t),v(n,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}}(e,i,l,new e),w(e,i,l)}constructor(){if(y(this,r,{writable:!0,value:[]}),y(this,o,{writable:!0,value:{metamask:"MetaMask",okx_wallet:"OKX Wallet"}}),!function(e,t,n){"get"in e?Object.defineProperty(e,"get",{value:n,enumerable:!0,configurable:!0,writable:!0}):e.get=n}(this,0,e=>{var t;let n=null==(t=b(this,r).find(t=>t.info.name===b(this,o)[e]))?void 0:t.provider;return void 0!==n?n:window.ethereum}),y(this,a,{writable:!0,value:e=>{b(this,r).some(t=>t.info.uuid===e.detail.info.uuid)||b(this,r).push(e.detail)}}),"undefined"==typeof window)return;window.addEventListener("eip6963:announceProvider",b(this,a)),window.dispatchEvent(new Event("eip6963:requestProvider"))}},l={writable:!0,value:null},i);function S(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function k(e,t){return t.get?t.get.call(e):t.value}function $(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}function C(e,t){if(void 0===e)throw TypeError("attempted to "+t+" private static field before its declaration")}function P(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function A(e,t){var n=P(e,t,"get");return k(e,n)}function z(e,t,n){S(e,t),t.set(e,n)}function I(e,t,n){var r=P(e,t,"set");return $(e,r,n),n}function D(e,t,n){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return n}function Y(e,t){S(e,t),t.add(e)}function R(e,t,n){return E(e,t),C(n,"get"),k(e,n)}function E(e,t){if(e!==t)throw TypeError("Private static access of wrong provenance")}var T=(s=new WeakMap,c=new WeakMap,d=new WeakSet,u=new WeakSet,p=new WeakSet,m=class e{static getInstance(){var t,n,r;return R(e,m,h)||(t=m,n=h,r=new e,E(e,t),C(n,"set"),$(e,n,r)),R(e,m,h)}constructor(){Y(this,d),Y(this,u),Y(this,p),z(this,s,{writable:!0,value:void 0}),z(this,c,{writable:!0,value:!1}),function(e,t,n){"get"in e?Object.defineProperty(e,"get",{value:n,enumerable:!0,configurable:!0,writable:!0}):e.get=n}(this,0,async e=>{await D(this,d,F).call(this);let t=(A(this,s)||[]).find(t=>t.name===e&&D(this,u,L).call(this,t)&&D(this,p,M).call(this,t));if(t&&D(this,u,L).call(this,t))return t;if("undefined"==typeof window)return;let n=window.solana;if(n&&"function"==typeof n.connect&&"function"==typeof n.signMessage)return n})}},h={writable:!0,value:null},m);async function F(){if(A(this,c))return;I(this,c,!0);let e=await n.e("666").then(n.bind(n,24076)).then(e=>e.getWallets());I(this,s,e.get()),e.on("register",()=>{I(this,s,e.get())}),e.on("unregister",()=>{I(this,s,e.get())})}function L(e){var t,n;return null!=(n=null==(t=e.chains)?void 0:t.some(e=>e.startsWith("solana:")))&&n}function M(e){return"solana:signMessage"in e.features}function B(e){let t=(0,f.y)({packageName:"@clerk/shared"});async function n(e){let{provider:t,walletName:n}=e,r=await h(t,n);if(!r)return"";if("solana"===t){let e=await r.features["standard:connect"].connect();return e&&e.accounts[0].address||""}let o=await r.request({method:"eth_requestAccounts"});return o&&o[0]||""}let r=async e=>{let{identifier:t,nonce:n,provider:r,walletName:o=""}=e,a=await h(r,o);if(!a)return"";if("solana"===r)try{var i,l;let e=a.accounts.find(e=>e.address===t);if(!e)return console.warn("Wallet account with address ".concat(t," not found")),"";let r=await (null==(i=a.features["solana:signMessage"])?void 0:i.signMessage({account:e,message:new TextEncoder().encode(n)}));return(null==r||null==(l=r[0])?void 0:l.signature)?btoa(String.fromCharCode(...r[0].signature)):""}catch(e){if(e instanceof Error&&e.message.includes("User rejected the request."))throw new f.m("Web3 signature request was rejected by the user.",{code:"web3_signature_request_rejected"});throw new f.m("An error occurred while generating the Solana signature.",{code:"web3_solana_signature_generation_failed",cause:e instanceof Error?e:void 0})}return await a.request({method:"personal_sign",params:["0x".concat(n.split("").map(e=>e.charCodeAt(0).toString(16).padStart(2,"0")).join("")),t]})};async function o(){return await n({provider:"metamask"})}async function a(){return await n({provider:"coinbase_wallet"})}async function i(){return await n({provider:"okx_wallet"})}async function l(){return await n({provider:"base"})}async function s(e){return await n({provider:"solana",walletName:e})}async function c(e){return await r({...e,provider:"metamask"})}async function d(e){return await r({...e,provider:"coinbase_wallet"})}async function u(e){return await r({...e,provider:"okx_wallet"})}async function p(e){return await r({...e,provider:"base"})}async function m(e){return await r({...e,provider:"solana"})}async function h(n,r){if("coinbase_wallet"===n){let t=await e.import("@coinbase/wallet-sdk");return t?t.createCoinbaseWalletSDK({preference:{options:"all"}}).getProvider():null}if("base"===n)try{var o,a,i;let t=await e.import("@base-org/account");if(!t)return null;return t.createBaseAccountSDK({appName:"undefined"!=typeof window&&(null==(i=window.Clerk)||null==(a=i.__internal_environment)||null==(o=a.displayConfig)?void 0:o.applicationName)||"undefined"!=typeof document&&document.title||"Web3 Application"}).getProvider()}catch{return null}return"solana"===n?r&&0!==r.length?await T.getInstance().get(r):void t.throw("Wallet name must be provided to get Solana wallet provider"):_.getInstance().get(n)}return{getWeb3Identifier:n,generateWeb3Signature:r,getMetamaskIdentifier:o,getCoinbaseWalletIdentifier:a,getOKXWalletIdentifier:i,getBaseIdentifier:l,getSolanaIdentifier:s,generateSignatureWithMetamask:c,generateSignatureWithCoinbaseWallet:d,generateSignatureWithOKXWallet:u,generateSignatureWithBase:p,generateSignatureWithSolana:m}}},85483:function(e,t,n){n.d(t,{y7:()=>r}),n(88711),n(64178),n(60962),n(60486),n(25089),n(61244),n(77895);function r(e){let t=new URL(e,window.location.href);window.dispatchEvent(new CustomEvent("clerk:beforeunload")),window.location.href=t.href}},84210:function(e,t,n){n.d(t,{t:()=>o}),n(32880),n(25902),n(56359),n(894),n(6373),n(63418),n(93412),n(88711);let r=new Set,o={warnOnce:e=>{r.has(e)||(r.add(e),console.warn(e))},logOnce:e=>{r.has(e)||(console.log(e),r.add(e))}}},82779:function(e,t,n){n.d(t,{t:()=>o}),n(25006),n(54067),n(22501),n(19161),n(95055),n(58910);let r=RegExp("/{1,}","g");function o(e,t){return[e,t].filter(e=>e).join("/").replace(r,"/")}},58902:function(e,t,n){n.d(t,{n:()=>o,t:()=>r}),n(88711),n(60486),n(25089),n(61244),n(77895),n(19161),n(41730),n(10676);let r=e=>{let t={};return new URLSearchParams(e).forEach((e,n)=>{if(n in t){let r=t[n];Array.isArray(r)?r.push(e):t[n]=[r,e]}else t[n]=e}),t},o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||!e||"object"!=typeof e)return"";let n=new URLSearchParams;return Object.keys(e).forEach(r=>{let o=t.keyEncoder?t.keyEncoder(r):r,a=e[r];if(Array.isArray(a))a.forEach(e=>void 0!==e&&n.append(o,e||""));else{if(void 0===a)return;"object"==typeof a&&null!==a?n.append(o,JSON.stringify(a)):n.append(o,String(null!=a?a:""))}}),n.toString()}},21210:function(e,t,n){let r,o;n.d(t,{WD:()=>A,Fm:()=>eh,Rs:()=>$,IC:()=>z,D_:()=>X,kH:()=>ep,Z5:()=>Z,UQ:()=>J,ur:()=>C,Lg:()=>I,ho:()=>K,Jd:()=>en,ED:()=>S,Wp:()=>ea,TS:()=>F,cl:()=>eU,Rx:()=>R,hZ:()=>N,e3:()=>x,rg:()=>ed,Wf:()=>T,Jl:()=>eN,wV:()=>ee,t7:()=>es,pc:()=>P,hl:()=>eg,tr:()=>el,Dc:()=>ef,_x:()=>w,Tn:()=>ej,X$:()=>ec,Oc:()=>er,v$:()=>em}),n(98114),n(88711),n(32880),n(25902),n(56359),n(894),n(6373),n(63418),n(93412),n(19161),n(22239),n(3568),n(85074),n(50036),n(58814),n(8451),n(30945),n(52678),n(22501),n(68909),n(60265),n(82311);let a="reverification-error";n(58910),n(95055),n(89305);let i={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},l=new Set(["first_factor","second_factor","multi_factor"]),s=new Set(["strict_mfa","strict","moderate","lax"]);var c,d,u=n(92522);n(61302);var p=n(1483),m=n(40526),h=n(35074),f=n(86651),g=n(1839),v=n(82951),b=n(97447),y=n(85530);function w(e,t){if(!e)throw"string"==typeof t?Error(t):Error("".concat(t.displayName," not found"))}let x=(e,t)=>{let{assertCtxFn:n=w}=t||{},r=h.createContext(void 0);return r.displayName=e,[r,()=>{let t=h.useContext(r);return n(t,"".concat(e," not found")),t.value},()=>{let e=h.useContext(r);return e?e.value:{}}]};function _(e){let{swrConfig:t,children:n}=e;return h.createElement(f.BE,{value:t},n)}let[S,k]=x("ClerkInstanceContext"),[$,C]=x("UserContext"),[P,A]=x("ClientContext"),[z,I]=x("SessionContext");h.createContext({});let[D,Y]=x("CheckoutContext"),R=e=>{let{children:t,...n}=e;return h.createElement(D.Provider,{value:{value:n}},t)},[E,T]=x("OrganizationContext"),F=e=>{let{children:t,organization:n,swrConfig:r}=e;return h.createElement(_,{swrConfig:r},h.createElement(E.Provider,{value:{value:{organization:n}}},t))};function L(e){if(!h.useContext(S)){if("function"==typeof e)return void e();throw Error("".concat(e," can only be used within the <ClerkProvider /> component.\n\nPossible fixes:\n1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.\n2. Check for multiple versions of the `@clerk/shared` package in your project. Use a tool like `npm ls @clerk/shared` to identify multiple versions, and update your dependencies to only rely on one.\n\nLearn more: https://clerk.com/docs/components/clerk-provider").trim())}}function M(e){return{queryKey:[e.stablePrefix,e.authenticated,e.tracked,e.untracked],invalidationKey:[e.stablePrefix,e.authenticated,e.tracked],stableKey:e.stablePrefix,authenticated:e.authenticated}}function B(e){let{queryKey:t}=e;return{type:t[0],...t[2],...t[3].args}}let O=(e,t)=>{var n,r,o;let a="boolean"==typeof e&&e,i=(0,h.useRef)(a?t.initialPage:null!=(n=null==e?void 0:e.initialPage)?n:t.initialPage),l=(0,h.useRef)(a?t.pageSize:null!=(r=null==e?void 0:e.pageSize)?r:t.pageSize),s={};for(let n of Object.keys(t))s[n]=a?t[n]:null!=(o=null==e?void 0:e[n])?o:t[n];return{...s,initialPage:i.current,pageSize:l.current}};function j(e,t){let n=new Set(Object.keys(t)),r={};for(let t of Object.keys(e))n.has(t)||(r[t]=e[t]);return r}let W={dedupingInterval:6e4,focusThrottleInterval:12e4},U={...W,revalidateFirstPage:!1},H=e=>{var t,n,r,o,a,i,l;let s,c,{fetcher:d,config:u,keys:p}=e,[m,g]=(0,h.useState)(null!=(t=u.initialPage)?t:1),b=(0,h.useRef)(null!=(n=u.initialPage)?n:1),y=(0,h.useRef)(null!=(r=u.pageSize)?r:10),w=null==(o=u.enabled)||o,x="cache"===u.__experimental_mode,_=null!=(a=u.infinite)&&a,S=null!=(i=u.keepPreviousData)&&i,k=u.isSignedIn,$={...B(p),initialPage:m,pageSize:y.current},C=(s=(0,h.useRef)(k),c=(0,h.useRef)(null),s.current!==k&&(c.current=s.current,s.current=k),c.current),P=!_&&w&&(!!x||!!d),{data:A,isValidating:z,isLoading:I,error:D,mutate:Y}=(0,f.Ay)("boolean"==typeof k?!0===C&&!1===k||k&&P?$:null:P?$:null,!x&&d?e=>!1===k||!1===P?null:d(j(e,{type:p.queryKey[0],...p.queryKey[2]})):null,{keepPreviousData:S,...W}),{data:R,isLoading:E,isValidating:T,error:F,size:L,setSize:M,mutate:O}=(0,v.Ay)(e=>_&&w&&!1!==k?{...B(p),initialPage:b.current+e,pageSize:y.current}:null,e=>{let t=j(e,{type:p.queryKey[0],...p.queryKey[2]});return null==d?void 0:d(t)},U),H=(0,h.useMemo)(()=>_?L:m,[_,L,m]),N=(0,h.useCallback)(e=>_?void M(e):g(e),[M,_]),K=(0,h.useMemo)(()=>{var e,t;return _?null!=(e=null==R?void 0:R.map(e=>null==e?void 0:e.data).flat())?e:[]:null!=(t=null==A?void 0:A.data)?t:[]},[_,A,R]),V=(0,h.useMemo)(()=>{var e,t;return _?(null==R||null==(e=R[(null==R?void 0:R.length)-1])?void 0:e.total_count)||0:null!=(t=null==A?void 0:A.total_count)?t:0},[_,A,R]),G=_?E:I,Z=_?T:z,q=null!=(l=_?F:D)?l:null,X=(0,h.useCallback)(()=>{N(e=>Math.max(0,e+1))},[N]),J=(0,h.useCallback)(()=>{N(e=>Math.max(0,e-1))},[N]),Q=(b.current-1)*y.current;return{data:K,count:V,error:q,isLoading:G,isFetching:Z,isError:!!q,page:H,pageCount:Math.ceil((V-Q)/y.current),fetchPage:N,fetchNext:X,fetchPrevious:J,hasNextPage:V-Q*y.current>H*y.current,hasPreviousPage:(H-1)*y.current>Q*y.current,revalidate:_?()=>O():()=>Y(),setData:_?e=>O(e,{revalidate:!1}):e=>Y(e,{revalidate:!1})}};function N(e){var t,n,r;L("useAPIKeys");let o=O(e,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,subject:"",query:"",enabled:!0}),a=k();null==(t=a.telemetry)||t.record((0,p.a)("useAPIKeys"));let i={initialPage:o.initialPage,pageSize:o.pageSize,...o.subject?{subject:o.subject}:{},...o.query?{query:o.query}:{}},l=(null==(r=o.enabled)||r)&&a.loaded,s=H({fetcher:(null==(n=a.apiKeys)?void 0:n.getAll)?e=>a.apiKeys.getAll({...e,subject:o.subject}):void 0,config:{keepPreviousData:o.keepPreviousData,infinite:o.infinite,enabled:l,isSignedIn:!!a.user,initialPage:o.initialPage,pageSize:o.pageSize},keys:M({stablePrefix:"apiKeys",authenticated:!!a.user,tracked:{subject:o.subject},untracked:{args:i}})}),{mutate:c}=(0,g.iX)(),d=(0,h.useCallback)(()=>c(e=>!!e&&"object"==typeof e&&"type"in e&&"apiKeys"===e.type&&"subject"in e&&e.subject===o.subject),[c,o.subject]);return{...s,revalidate:d}}let K=()=>(L("useClerk"),k());function V(e){let t=K(),n=(0,h.useRef)(!1);(0,h.useEffect)(()=>{var r;n.current||(n.current=!0,null==(r=t.__internal_attemptToEnableEnvironmentSetting)||r.call(t,{for:"organizations",caller:e}))},[t,e])}let G={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function Z(e){var t,n,r;let{domains:o,membershipRequests:a,memberships:i,invitations:l}=e||{};L("useOrganization"),V("useOrganization");let{organization:s}=T(),c=I(),d=O(o,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,enrollmentMode:void 0}),u=O(a,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),m=O(i,{initialPage:1,pageSize:10,role:void 0,keepPreviousData:!1,infinite:!1,query:void 0}),h=O(l,{initialPage:1,pageSize:10,status:["pending"],keepPreviousData:!1,infinite:!1}),f=k();null==(t=f.telemetry)||t.record((0,p.a)("useOrganization"));let g=void 0===o?void 0:{initialPage:d.initialPage,pageSize:d.pageSize,enrollmentMode:d.enrollmentMode},v=void 0===a?void 0:{initialPage:u.initialPage,pageSize:u.pageSize,status:u.status},b=void 0===i?void 0:{initialPage:m.initialPage,pageSize:m.pageSize,role:m.role,query:m.query},y=void 0===l?void 0:{initialPage:h.initialPage,pageSize:h.pageSize,status:h.status},w=H({fetcher:null==s?void 0:s.getDomains,config:{keepPreviousData:d.keepPreviousData,infinite:d.infinite,enabled:!!g,isSignedIn:!!s,initialPage:d.initialPage,pageSize:d.pageSize},keys:M({stablePrefix:"domains",authenticated:!!s,tracked:{organizationId:null==s?void 0:s.id},untracked:{args:g}})}),x=H({fetcher:null==s?void 0:s.getMembershipRequests,config:{keepPreviousData:u.keepPreviousData,infinite:u.infinite,enabled:!!v,isSignedIn:!!s,initialPage:u.initialPage,pageSize:u.pageSize},keys:M({stablePrefix:"membershipRequests",authenticated:!!s,tracked:{organizationId:null==s?void 0:s.id},untracked:{args:v}})}),_=H({fetcher:null==s?void 0:s.getMemberships,config:{keepPreviousData:m.keepPreviousData,infinite:m.infinite,enabled:!!b,isSignedIn:!!s,initialPage:m.initialPage,pageSize:m.pageSize},keys:M({stablePrefix:"memberships",authenticated:!!s,tracked:{organizationId:null==s?void 0:s.id},untracked:{args:b}})}),S=H({fetcher:null==s?void 0:s.getInvitations,config:{keepPreviousData:h.keepPreviousData,infinite:h.infinite,enabled:!!y,isSignedIn:!!s,initialPage:h.initialPage,pageSize:h.pageSize},keys:M({stablePrefix:"invitations",authenticated:!!s,tracked:{organizationId:null==s?void 0:s.id},untracked:{args:y}})});return void 0===s?{isLoaded:!1,organization:void 0,membership:void 0,domains:G,membershipRequests:G,memberships:G,invitations:G}:null===s?{isLoaded:!0,organization:null,membership:null,domains:null,membershipRequests:null,memberships:null,invitations:null}:!f.loaded&&s?{isLoaded:!0,organization:s,membership:void 0,domains:G,membershipRequests:G,memberships:G,invitations:G}:{isLoaded:f.loaded,organization:s,membership:(n=c.user.organizationMemberships,r=s.id,n.find(e=>e.organization.id===r)),domains:w,membershipRequests:x,memberships:_,invitations:S}}let q={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function X(e){var t;let{userMemberships:n,userInvitations:r,userSuggestions:o}=e||{};L("useOrganizationList"),V("useOrganizationList");let a=O(n,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1}),i=O(r,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),l=O(o,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),s=k(),c=C();null==(t=s.telemetry)||t.record((0,p.a)("useOrganizationList"));let d=void 0===n?void 0:{initialPage:a.initialPage,pageSize:a.pageSize},u=void 0===r?void 0:{initialPage:i.initialPage,pageSize:i.pageSize,status:i.status},m=void 0===o?void 0:{initialPage:l.initialPage,pageSize:l.pageSize,status:l.status},h=!!(s.loaded&&c),f=H({fetcher:null==c?void 0:c.getOrganizationMemberships,config:{keepPreviousData:a.keepPreviousData,infinite:a.infinite,enabled:!!d,isSignedIn:!!c,initialPage:a.initialPage,pageSize:a.pageSize},keys:M({stablePrefix:"userMemberships",authenticated:!!c,tracked:{userId:null==c?void 0:c.id},untracked:{args:d}})}),g=H({fetcher:null==c?void 0:c.getOrganizationInvitations,config:{keepPreviousData:i.keepPreviousData,infinite:i.infinite,enabled:!!u,isSignedIn:!!c,initialPage:i.initialPage,pageSize:i.pageSize},keys:M({stablePrefix:"userInvitations",authenticated:!!c,tracked:{userId:null==c?void 0:c.id},untracked:{args:u}})}),v=H({fetcher:null==c?void 0:c.getOrganizationSuggestions,config:{keepPreviousData:l.keepPreviousData,infinite:l.infinite,enabled:!!m,isSignedIn:!!c,initialPage:l.initialPage,pageSize:l.pageSize},keys:M({stablePrefix:"userSuggestions",authenticated:!!c,tracked:{userId:null==c?void 0:c.id},untracked:{args:m}})});return h?{isLoaded:h,setActive:s.setActive,createOrganization:s.createOrganization,userMemberships:f,userInvitations:g,userSuggestions:v}:{isLoaded:!1,createOrganization:void 0,setActive:void 0,userMemberships:q,userInvitations:q,userSuggestions:q}}let J="undefined"!=typeof window?h.useLayoutEffect:h.useEffect,Q="useSession",ee=()=>{var e;L(Q);let t=I(),n=k();return(null==(e=n.telemetry)||e.record((0,p.a)(Q)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,session:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,session:null}:{isLoaded:!0,isSignedIn:n.isSignedIn,session:t}},et="useUser";function en(){var e;L(et);let t=C();return(null==(e=k().telemetry)||e.record((0,p.a)(et)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,user:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:t}}let er=(e,t)=>{let n;return h.useMemo(e,(n=h.useRef(t),(0,b.j)(t,n.current)||(n.current=t),h.useMemo(()=>n.current,[n.current])))};async function eo(e){try{let t=await e;if(t instanceof Response)return t.json();return t}catch(e){if((0,u.S)(e)&&e.errors.find(e=>{let{code:t}=e;return"session_reverification_required"===t}))return{clerk_error:{type:"forbidden",reason:a,metadata:{reverification:void 0}}};throw e}}let ea=(e,t)=>{let{__internal_openReverification:n,telemetry:r}=K(),o=(0,h.useRef)(e),c=(0,h.useRef)(t);return null==r||r.record((0,p.a)("useReverification",{onNeedsReverification:!!(null==t?void 0:t.onNeedsReverification)})),J(()=>{o.current=e,c.current=t}),(0,h.useCallback)(function(){for(var e,t=arguments.length,d=Array(t),p=0;p<t;p++)d[p]=arguments[p];return(e={openUIComponent:n,telemetry:r,...c.current},function(t){return async function(){for(var n,r,o,c,d,p=arguments.length,h=Array(p),f=0;f<p;f++)h[f]=arguments[f];let g=await eo(t(...h));if((n=g)&&"object"==typeof n&&"clerk_error"in n&&(null==(r=n.clerk_error)?void 0:r.type)==="forbidden"&&(null==(o=n.clerk_error)?void 0:o.reason)===a){let n=(0,m.t)(),r=(e=>{let t,n;if(!e)return!1;let r="string"==typeof e&&s.has(e),o="object"==typeof e&&(t=e.level,l.has(t))&&"number"==typeof(n=e.afterMinutes)&&n>0;return(!!r||!!o)&&(e=>"string"==typeof e?i[e]:e).bind(null,e)})(null==(c=g.clerk_error.metadata)?void 0:c.reverification),o=r?r().level:void 0,a=()=>{n.reject(new u.m("User cancelled attempted verification",{code:"reverification_cancelled"}))},p=()=>{n.resolve(!0)};void 0===e.onNeedsReverification?null==(d=e.openUIComponent)||d.call(e,{level:o,afterVerification:p,afterVerificationCancelled:a}):e.onNeedsReverification({cancel:a,complete:p,level:o}),await n.promise,g=await eo(t(...h))}return g}})(o.current)(...d)},[n,r])};function ei(e){let{hookName:t,resourceType:n,useFetcher:r,options:o}=e;return function(e){var a;let{for:i,enabled:l,...s}=e||{},c=i||"user";L(t);let d=r(c),u=O(s,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,__experimental_mode:void 0}),m=k(),h=C(),{organization:f}=T();null==(a=m.telemetry)||a.record((0,p.a)(t));let g="organization"===c,v=function(e){var t,n;let r=k(),o=null==(t=null==e?void 0:e.enabled)||t,a=r.__internal_environment,i=C(),{organization:l}=T(),s=(null==e?void 0:e.for)==="organization",c=s?null==a?void 0:a.commerceSettings.billing.organization.enabled:null==a?void 0:a.commerceSettings.billing.user.enabled,d=null!=(n=null==e?void 0:e.authenticated)&&!n||(!s||!!(null==l?void 0:l.id))&&!!(null==i?void 0:i.id);return c&&o&&r.loaded&&d}({for:c,enabled:l,authenticated:!(null==o?void 0:o.unauthenticated)}),b=void 0===s?void 0:{initialPage:u.initialPage,pageSize:u.pageSize,...(null==o?void 0:o.unauthenticated)?{}:g?{orgId:null==f?void 0:f.id}:{}},y=!!b&&m.loaded&&!!v;return H({fetcher:d,config:{keepPreviousData:u.keepPreviousData,infinite:u.infinite,enabled:y,...(null==o?void 0:o.unauthenticated)?{}:{isSignedIn:null!==h},__experimental_mode:u.__experimental_mode,initialPage:u.initialPage,pageSize:u.pageSize},keys:M({stablePrefix:n,authenticated:!(null==o?void 0:o.unauthenticated),tracked:(null==o?void 0:o.unauthenticated)?{for:c}:{userId:null==h?void 0:h.id,...g?{_orgId:null==f?void 0:f.id}:{}},untracked:{args:b}})})}}let el=ei({hookName:"useStatements",resourceType:"billing-statements",useFetcher:()=>{let e=k();if(e.loaded)return e.billing.getStatements}}),es=ei({hookName:"usePaymentAttempts",resourceType:"billing-payment-attempts",useFetcher:()=>{let e=k();if(e.loaded)return e.billing.getPaymentAttempts}}),ec=ei({hookName:"usePaymentMethods",resourceType:"billing-payment-methods",useFetcher:e=>{let{organization:t}=T(),n=C();return"organization"===e?null==t?void 0:t.getPaymentMethods:null==n?void 0:n.getPaymentMethods}}),ed=ei({hookName:"usePlans",resourceType:"billing-plans",useFetcher:e=>{let t=k();if(t.loaded)return n=>t.billing.getPlans({...n,for:e})},options:{unauthenticated:!0}}),eu="useSubscription";function ep(e){var t,n;L(eu);let r=k(),o=C(),{organization:a}=T(),i=r.__internal_environment;null==(t=r.telemetry)||t.record((0,p.a)(eu));let l=(null==e?void 0:e.for)==="organization"?null==i?void 0:i.commerceSettings.billing.organization.enabled:null==i?void 0:i.commerceSettings.billing.user.enabled,s=(null==(n=null==e?void 0:e.enabled)||n)&&l,{queryKey:c}=function(e){let{userId:t,orgId:n,for:r}=e;return(0,h.useMemo)(()=>{let e="organization"===r?n:void 0;return M({stablePrefix:"billing-subscription",authenticated:!0,tracked:{userId:t,orgId:e},untracked:{args:{orgId:e}}})},[t,n,r])}({userId:null==o?void 0:o.id,orgId:null==a?void 0:a.id,for:null==e?void 0:e.for}),d=(0,f.Ay)(s?{queryKey:c}:null,e=>{let{queryKey:t}=e,n=t[3].args;return t[2].userId?r.billing.getSubscription(n):null},{dedupingInterval:6e4,keepPreviousData:null==e?void 0:e.keepPreviousData}),u=(0,h.useCallback)(()=>{d.mutate()},[d]);return{data:d.data,error:d.error,isLoading:d.isLoading,isFetching:d.isValidating,revalidate:u}}let em=e=>{let t=Y(),{for:n,planId:r,planPeriod:o}=e||t,{organization:a}=T(),{isLoaded:i,user:l}=en(),s=k();if(null===l&&i)throw Error('Clerk: Ensure that `useCheckout` is inside a component wrapped with `<Show when="signed-in" />`.');if(i&&"organization"===n&&null===a)throw Error("Clerk: Ensure your flow checks for an active organization. Retrieve `orgId` from `useAuth()` and confirm it is defined. For SSR, see: https://clerk.com/docs/reference/backend/types/auth-object#how-to-access-the-auth-object");let c=(0,h.useCallback)(()=>s.__experimental_checkout({planId:r,planPeriod:o,for:n}),[null==l?void 0:l.id,null==a?void 0:a.id,r,o,n]),d=(0,h.useCallback)(e=>s.loaded?s.__internal_state.__internal_effect(()=>{c(),e()}):()=>{},[c,s.loaded,s.__internal_state]),u=(0,h.useCallback)(()=>c(),[c]);return(0,h.useSyncExternalStore)(d,u,u)};function eh(){var e,t,n;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{statementId:o=null,enabled:a=!0,keepPreviousData:i=!1,for:l="user"}=r,s=k(),c=C(),{organization:d}=T(),u="organization"===l&&null!=(e=null==d?void 0:d.id)?e:null,{queryKey:p}=function(e){let{statementId:t,userId:n,orgId:r,for:o}=e;return(0,h.useMemo)(()=>M({stablePrefix:"billing-statement",authenticated:!0,tracked:{statementId:t,forType:o,userId:n,orgId:r},untracked:{args:{id:null!=t?t:void 0,orgId:null!=r?r:void 0}}}),[t,o,n,r])}({statementId:o,userId:null!=(t=null==c?void 0:c.id)?t:null,orgId:u,for:l}),m=(0,f.Ay)(o&&a&&("organization"!==l||u)?p:null,()=>{if(!o)throw Error("statementId is required to fetch a statement");return s.billing.getStatement({id:o,orgId:null!=u?u:void 0})},{dedupingInterval:6e4,keepPreviousData:i});return{data:m.data,error:null!=(n=m.error)?n:null,isLoading:m.isLoading,isFetching:m.isValidating}}function ef(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{planId:r,initialPlan:o=null,enabled:a=!0,keepPreviousData:i=!0}=n,l=k(),s=null!=(e=null!=r?r:null==o?void 0:o.id)?e:null,{queryKey:c}=function(e){let{planId:t}=e;return(0,h.useMemo)(()=>M({stablePrefix:"billing-plan",authenticated:!1,tracked:{planId:null!=t?t:null},untracked:{args:{id:null!=t?t:void 0}}}),[t])}({planId:s}),d=(0,f.Ay)(s&&a?c:null,()=>{if(!s)throw Error("planId is required to fetch plan details");return l.billing.getPlan({id:s})},{dedupingInterval:6e4,keepPreviousData:i,fallbackData:null!=o?o:void 0});return{data:d.data,error:null!=(t=d.error)?t:null,isLoading:d.isLoading,isFetching:d.isValidating}}function eg(e){var t,n,r;let{paymentAttemptId:o,enabled:a=!0,keepPreviousData:i=!1,for:l="user"}=e,s=k(),c=C(),{organization:d}=T(),u="organization"===l&&null!=(t=null==d?void 0:d.id)?t:null,{queryKey:p}=function(e){let{paymentAttemptId:t,userId:n,orgId:r,for:o}=e;return(0,h.useMemo)(()=>M({stablePrefix:"billing-payment-attempt",authenticated:!0,tracked:{paymentAttemptId:t,forType:o,userId:n,orgId:r},untracked:{args:{id:null!=t?t:void 0,orgId:null!=r?r:void 0}}}),[t,o,n,r])}({paymentAttemptId:o,userId:null!=(n=null==c?void 0:c.id)?n:null,orgId:u,for:l}),m=(0,f.Ay)(o&&a&&("organization"!==l||u)?{queryKey:p}:null,e=>{let{queryKey:t}=e,n=t[3].args;return s.billing.getPaymentAttempt(n)},{dedupingInterval:6e4,keepPreviousData:i});return{data:m.data,error:null!=(r=m.error)?r:null,isLoading:m.isLoading,isFetching:m.isValidating}}let ev=e=>{let t=(0,h.useRef)(e);return(0,h.useEffect)(()=>{t.current=e},[e]),t.current},eb=(e,t,n)=>{let r=!!n,o=(0,h.useRef)(n);(0,h.useEffect)(()=>{o.current=n},[n]),(0,h.useEffect)(()=>{if(!r||!e)return()=>{};let n=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];o.current&&o.current(...t)};return e.on(t,n),()=>{e.off(t,n)}},[r,t,e,o])},ey=h.createContext(null);ey.displayName="ElementsContext";let ew=(e,t)=>{if(!e)throw Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},ex=e=>{let{stripe:t,options:n,children:r}=e,o=h.useMemo(()=>ek(t),[t]),[a,i]=h.useState(()=>({stripe:"sync"===o.tag?o.stripe:null,elements:"sync"===o.tag?o.stripe.elements(n):null}));h.useEffect(()=>{let e=!0,t=e=>{i(t=>t.stripe?t:{stripe:e,elements:e.elements(n)})};return"async"!==o.tag||a.stripe?"sync"!==o.tag||a.stripe||t(o.stripe):o.stripePromise.then(n=>{n&&e&&t(n)}),()=>{e=!1}},[o,a,n]);let l=ev(t);h.useEffect(()=>{null!==l&&l!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[l,t]);let s=ev(n);return h.useEffect(()=>{if(!a.elements)return;let e=eA(n,s,["clientSecret","fonts"]);e&&a.elements.update(e)},[n,s,a.elements]),h.createElement(ey.Provider,{value:a},r)},e_="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",eS=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e_;if(null===e||eP(e))return e;throw Error(t)},ek=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e_;if(eC(e))return{tag:"async",stripePromise:Promise.resolve(e).then(e=>eS(e,t))};let n=eS(e,t);return null===n?{tag:"empty"}:{tag:"sync",stripe:n}},e$=e=>null!==e&&"object"==typeof e,eC=e=>e$(e)&&"function"==typeof e.then,eP=e=>e$(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment,eA=(e,t,n)=>e$(e)?Object.keys(e).reduce((r,o)=>{let a=!e$(t)||!eI(e[o],t[o]);return n.includes(o)?(a&&console.warn("Unsupported prop change: options.".concat(o," is not a mutable property.")),r):a?{...r||{},[o]:e[o]}:r},null):null,ez="[object Object]",eI=(e,t)=>{if(!e$(e)||!e$(t))return e===t;let n=Array.isArray(e);if(n!==Array.isArray(t))return!1;let r=Object.prototype.toString.call(e)===ez;if(r!==(Object.prototype.toString.call(t)===ez))return!1;if(!r&&!n)return e===t;let o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;let i={};for(let e=0;e<o.length;e+=1)i[o[e]]=!0;for(let e=0;e<a.length;e+=1)i[a[e]]=!0;let l=Object.keys(i);return l.length===o.length&&l.every(n=>eI(e[n],t[n]))},eD=e=>ew(h.useContext(ey),e),eY=(c="payment",d="undefined"==typeof window,r="".concat(c.charAt(0).toUpperCase()+c.slice(1),"Element"),(o=d?e=>{eD("mounts <".concat(r,">"));let{id:t,className:n}=e;return h.createElement("div",{id:t,className:n})}:e=>{let t,{id:n,className:o,fallback:a,options:i={},onBlur:l,onFocus:s,onReady:d,onChange:u,onEscape:p,onClick:m,onLoadError:f,onLoaderStart:g,onNetworksChange:v,onConfirm:b,onCancel:y,onShippingAddressChange:w,onShippingRateChange:x}=e,_=eD("mounts <".concat(r,">")),S="elements"in _?_.elements:null,[k,$]=h.useState(null),C=h.useRef(null),P=h.useRef(null),[A,z]=(0,h.useState)(!1);eb(k,"blur",l),eb(k,"focus",s),eb(k,"escape",p),eb(k,"click",m),eb(k,"loaderror",f),eb(k,"loaderstart",g),eb(k,"networkschange",v),eb(k,"confirm",b),eb(k,"cancel",y),eb(k,"shippingaddresschange",w),eb(k,"shippingratechange",x),eb(k,"change",u),d&&(t=()=>{z(!0),d(k)}),eb(k,"ready",t),h.useLayoutEffect(()=>{if(null===C.current&&null!==P.current&&S){let e=null;S&&(e=S.create(c,i)),C.current=e,$(e),e&&e.mount(P.current)}},[S,i]);let I=ev(i);return h.useEffect(()=>{if(!C.current)return;let e=eA(i,I,["paymentRequest"]);e&&"update"in C.current&&C.current.update(e)},[i,I]),h.useLayoutEffect(()=>()=>{if(C.current&&"function"==typeof C.current.destroy)try{C.current.destroy(),C.current=null}catch{}},[]),h.createElement(h.Fragment,null,!A&&a,h.createElement("div",{id:n,style:{height:A?"unset":"0px",visibility:A?"visible":"hidden"},className:o,ref:P}))}).displayName=r,o.__elementType=c,o),eR=function(){var e,t;let n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"user",o=(n=K(),null!=(t=(0,f.Ay)("clerk-stripe-sdk",async()=>({loadStripe:await n.__internal_loadStripeJs()}),{keepPreviousData:!0,revalidateOnFocus:!1,dedupingInterval:1/0}).data)?t:null),a=K().__internal_environment,{initializedPaymentMethod:i,initializePaymentMethod:l}=function(e){let{for:t="user"}=null!=e?e:{},{organization:n}=T(),r=C(),o="organization"===t?n:r,{data:a,trigger:i}=(0,y.A)((null==o?void 0:o.id)?{key:"billing-payment-method-initialize",resourceId:o.id,for:t}:null,()=>null==o?void 0:o.initializePaymentMethod({gateway:"stripe"}));return(0,h.useEffect)(()=>{(null==o?void 0:o.id)&&i().catch(()=>{})},[null==o?void 0:o.id,i]),{initializedPaymentMethod:a,initializePaymentMethod:i}}({for:r}),s=null!=(e=null==a?void 0:a.commerceSettings.billing.stripePublishableKey)?e:void 0;return{stripe:function(e){let{stripeClerkLibs:t,externalGatewayId:n,stripePublishableKey:r}=e;return(0,f.Ay)(t&&n&&r?{key:"stripe-sdk",externalGatewayId:n,stripePublishableKey:r}:null,e=>{let{stripePublishableKey:n,externalGatewayId:r}=e;return null==t?void 0:t.loadStripe(n,{stripeAccount:r})},{keepPreviousData:!0,revalidateOnFocus:!1,dedupingInterval:6e4}).data}({stripeClerkLibs:o,externalGatewayId:null==i?void 0:i.externalGatewayId,stripePublishableKey:s}),initializePaymentMethod:l,externalClientSecret:null==i?void 0:i.externalClientSecret,paymentMethodOrder:null==i?void 0:i.paymentMethodOrder}},[eE,eT]=x("PaymentElementContext"),[eF,eL]=x("StripeUtilsContext"),eM=e=>{let{children:t}=e,n=(()=>{let{stripe:e}=eD("calls useStripe()");return e})(),r=(()=>{let{elements:e}=ew(h.useContext(ey),"calls useElements()");return e})();return h.createElement(eF.Provider,{value:{value:{stripe:n,elements:r}}},t)},eB=e=>{let{children:t}=e;return h.createElement(eF.Provider,{value:{value:{}}},t)},eO=e=>{let{children:t,...n}=e,r=eR(n.for),[o,a]=(0,h.useState)(!1);return h.createElement(eE.Provider,{value:{value:{...n,...r,setIsPaymentElementReady:a,isPaymentElementReady:o}}},t)},ej=e=>{let{children:t,...n}=e;return h.createElement(eO,n,h.createElement(eW,null,t))},eW=e=>{let{stripe:t,externalClientSecret:n,stripeAppearance:r}=eT(),o=(()=>{let e=K(),t="en";try{var n;t=(null==(n=e.__internal_getOption("localization"))?void 0:n.locale)||"en"}catch{}return t.split("-")[0]})();return t&&n?h.createElement(ex,{key:n,stripe:t,options:{loader:"never",clientSecret:n,appearance:{variables:r},locale:o}},h.createElement(eM,null,e.children)):h.createElement(eB,null,e.children)},eU=e=>{let{fallback:t}=e,{setIsPaymentElementReady:n,paymentMethodOrder:r,checkout:o,stripe:a,externalClientSecret:i,paymentDescription:l,for:s}=eT(),c=K().__internal_environment,d=(0,h.useMemo)(()=>{var e;if(o&&o.totals&&o.plan)return{recurringPaymentRequest:{paymentDescription:l||"",managementURL:"organization"===s?(null==c?void 0:c.displayConfig.organizationProfileUrl)||"":(null==c?void 0:c.displayConfig.userProfileUrl)||"",regularBilling:{amount:(null==(e=o.totals.totalDueNow)?void 0:e.amount)||o.totals.grandTotal.amount,label:o.plan.name,recurringPaymentIntervalUnit:"annual"===o.planPeriod?"year":"month"}}}},[o,l,s,c]),u=(0,h.useMemo)(()=>({layout:{type:"tabs",defaultCollapsed:!1},paymentMethodOrder:r,applePay:d}),[d,r]),p=(0,h.useCallback)(()=>{n(!0)},[n]);return a&&i?h.createElement(eY,{fallback:t,onReady:p,options:u}):h.createElement(h.Fragment,null,t)},eH=()=>{throw Error("Clerk: Unable to submit, Stripe libraries are not yet loaded. Be sure to check `isFormReady` before calling `submit`.")},eN=()=>{let{isPaymentElementReady:e,initializePaymentMethod:t}=eT(),{stripe:n,elements:r}=eL(),{externalClientSecret:o}=eT(),a=(0,h.useCallback)(async()=>{if(!n||!r)return eH();let{setupIntent:e,error:t}=await n.confirmSetup({elements:r,confirmParams:{return_url:window.location.href},redirect:"if_required"});return t?{data:null,error:{gateway:"stripe",error:{code:t.code,message:t.message,type:t.type}}}:{data:{gateway:"stripe",paymentToken:e.payment_method},error:null}},[n,r]),i=(0,h.useCallback)(async()=>{if(!n||!r)return eH();await t()},[n,r,t]),l=!!(n&&o);return l?{submit:a,reset:i,isFormReady:e,provider:{name:"stripe"},isProviderReady:l}:{submit:eH,reset:eH,isFormReady:!1,provider:void 0,isProviderReady:!1}}},1483:function(e,t,n){var r,o,a,i,l,s,c,d,u,p,m,h,f,g,v;n.d(t,{a:()=>w,o:()=>y}),n(88711),n(92977),n(32880),n(25902),n(56359),n(894),n(6373),n(63418),n(93412),n(10676),n(19161),n(22239),n(95055),n(64178),n(60962),n(60486),n(25089),n(61244),n(77895),n(50036),n(82311),n(61302),r=new WeakMap,o=new WeakMap,a=new WeakSet,i=new WeakMap,l=new WeakSet,s=new WeakMap,c=new WeakMap,d=new WeakMap,u=new WeakMap,p=new WeakMap,m=new WeakMap,h=new WeakMap,f=new WeakSet,g=new WeakSet,v=new WeakSet;let b=new Set(["SignIn","SignUp"]);function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{event:"COMPONENT_MOUNTED",eventSamplingRate:b.has(e)?1:.1,payload:{component:e,...t}}}function w(e,t){return{event:"METHOD_CALLED",eventSamplingRate:.1,payload:{method:e,...t}}}},34525:function(e,t,n){n.d(t,{we:()=>r.o}),n(68909),n(60265),n(82311),n(61302);var r=n(1483)},61302:function(e,t,n){function r(e){let t=e||"";return t.charAt(0).toUpperCase()+t.slice(1)}function o(e){return e?e.replace(/([-_][a-z])/g,e=>e.toUpperCase().replace(/-|_/,"")):""}function a(e){return e?e.replace(/[A-Z]/g,e=>"_".concat(e.toLowerCase())):""}n.d(t,{c:()=>r,o:()=>l,s:()=>o,t:()=>a}),n(22501),n(58910),n(19161),n(22239),n(88711),n(58814),n(8451);let i=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 l(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}i(a),i(o)},21044:function(e,t,n){n.d(t,{C8:()=>r.t,Ns:()=>r.c,sF:()=>r.s});var r=n(61302)},6308:function(e,t,n){n.d(t,{_:()=>S,b:()=>w,c:()=>x,g:()=>_,h:()=>g,l:()=>k,t:()=>m,u:()=>y,v:()=>v,w:()=>f,x:()=>h}),n(88711),n(22501),n(58910),n(64178),n(60962),n(60486),n(25089),n(61244),n(77895),n(19161),n(41730),n(89305),n(30945),n(22239),n(3568),n(95055),n(10676);var r=n(82311),o=n(60212);n(35993);var a=n(84210),i=n(61302),l=n(82779),s=n(58902);let c="http://clerk-dummy",d=["javascript:"],u=["javascript:","data:","vbscript:","blob:"],{isDevOrStagingUrl:p}=(0,r.n)();function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{base:n,hashPath:r,hashSearch:o,searchParams:a,hashSearchParams:d,...u}=e,p=new URL(n||"","undefined"!=typeof window&&window.location?window.location.href:"http://react-native-fake-base-url");if(a instanceof URLSearchParams&&a.forEach((e,t)=>{null!=e&&p.searchParams.set((0,i.t)(t),e)}),Object.assign(p,u),r||o||d){let e=new URL(c+p.hash.substring(1));for(let[t,n]of(e.pathname=(0,l.t)(e.pathname,r||""),Object.entries((0,s.t)(o||""))))e.searchParams.append(t,n);if(d)for(let t of Array.isArray(d)?d:[d])(t instanceof URLSearchParams||"object"==typeof t)&&new URLSearchParams(t).forEach((t,n)=>{null!=t&&e.searchParams.set((0,i.t)(n),t)});let t=e.href.replace(c,"");"/"!==t&&(p.hash=t)}let{stringify:m,skipOrigin:h}=t;return m?h?p.href.replace(p.origin,""):p.href:p}function h(e){return void 0===window.location&&"string"==typeof e?e:(e=new URL(e.toString(),window.location.origin)).href.replace(e.origin,"")}let f=e=>(e||"").replace(/\/+$/,"");function g(e){if(!e)return!1;try{return new URL(e),!0}catch{return!1}}function v(e,t){try{return new URL(e)}catch{return new URL(e,t)}}let b=[/\0/,/^\/\//,/[\x00-\x1F]/];function y(e){return!!e&&!!g(e)&&"data:"===new URL(e).protocol}function w(e){if(!e||""===e.trim())return null;if(e.startsWith("/")||e.startsWith("#")||e.startsWith("?")||!e.includes(":"))return e;try{if(function(e){if(!g(e))return!1;let t=new URL(e).protocol;return u.some(e=>e===t)}(new URL(e)))return null;return e}catch{return e}}let x=e=>new URL(e,c).hash.startsWith("#/"),_=e=>{let t=new URL(e);if(!x(t))return t;let n=new URL(t.hash.replace("#/","/"),t.href),r=new URL([t.pathname,n.pathname].map(e=>e.split("/")).flat().filter(Boolean).join("/"),t.origin);return t.searchParams.forEach((e,t)=>{r.searchParams.set(t,e)}),n.searchParams.forEach((e,t)=>{r.searchParams.set(t,e)}),r},S=e=>e.replace(/CLERK-ROUTER\/(.*?)\//,""),k=(e,t)=>n=>{let r=n;if("string"==typeof r&&(r=v(r,t)),!e)return!0;let i=t===r.origin,l=!function(e){if(function(e){if(!g(e))return!1;let t=new URL(e).protocol;return d.some(e=>e===t)}(e))return!0;for(let t of b)if(t.test(e.pathname))return!0;return!1}(r)&&(i||e.map(e=>"string"==typeof e?o.t.toRegexp(f(e)):e).some(e=>e.test(f(r.origin))));return l||a.t.warnOnce("Clerk: Redirect URL ".concat(r," is not on one of the allowedRedirectOrigins, falling back to the default redirect URL.")),l}},35993:function(e,t,n){n.d(t,{s:()=>o}),n(88711),n(60486),n(25089),n(61244),n(77895),n(22501),n(58910),n(19161),n(89305),n(22239),n(95055);let r=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>r.test(e)},62543:function(e,t,n){n.d(t,{vh:()=>r.s});var r=n(35993)},62620:function(e,t,n){n.d(t,{Bz:()=>o,nn:()=>a}),n(50036),n(25006),n(54067),n(22501);let r=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");function o(){var e,t;let n;return!!(n="undefined"!=typeof window?null==(e=window)?void 0:e.navigator:null)&&!((t=null==n?void 0:n.userAgent)&&r.test(t))&&!(null==n?void 0:n.webdriver)&&"function"==typeof window.PublicKeyCredential}async function a(){try{return o()&&await window.PublicKeyCredential.isConditionalMediationAvailable()}catch{return!1}}}}]);
|