@clerk/ui 1.0.0-snapshot.v20251211120550 → 1.0.0-snapshot.v20251215210631

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/dist/{207_ui_a492c4_1.0.0-snapshot.v20251211120550.js → 207_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  2. package/dist/{217_ui_a492c4_1.0.0-snapshot.v20251211120550.js → 217_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  3. package/dist/{360_ui_a492c4_1.0.0-snapshot.v20251211120550.js → 360_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  4. package/dist/{444_ui_a492c4_1.0.0-snapshot.v20251211120550.js → 444_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  5. package/dist/{573_ui_a492c4_1.0.0-snapshot.v20251211120550.js → 573_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  6. package/dist/{970_ui_a492c4_1.0.0-snapshot.v20251211120550.js → 970_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  7. package/dist/ClerkUi.js +2 -2
  8. package/dist/Components.js +7 -0
  9. package/dist/Components.js.map +1 -1
  10. package/dist/{apiKeys_ui_a492c4_1.0.0-snapshot.v20251211120550.js → apiKeys_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  11. package/dist/{checkout_ui_a492c4_1.0.0-snapshot.v20251211120550.js → checkout_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +2 -2
  12. package/dist/common/EmailLinkVerify.js +1 -1
  13. package/dist/common/Gate.js +1 -1
  14. package/dist/common/RemoveResourceForm.js +1 -1
  15. package/dist/common/SSOCallback.js +1 -1
  16. package/dist/common/withRedirect.js +1 -1
  17. package/dist/components/APIKeys/APIKeys.js +1 -1
  18. package/dist/components/APIKeys/RevokeAPIKeyConfirmationModal.js +1 -1
  19. package/dist/components/Checkout/CheckoutComplete.js +1 -1
  20. package/dist/components/Checkout/CheckoutForm.js +1 -1
  21. package/dist/components/Checkout/CheckoutPage.js +1 -1
  22. package/dist/components/Checkout/parts.js +1 -1
  23. package/dist/components/CreateOrganization/CreateOrganizationForm.js +1 -1
  24. package/dist/components/CreateOrganization/CreateOrganizationPage.js +1 -1
  25. package/dist/components/ImpersonationFab/index.js +1 -1
  26. package/dist/components/OAuthConsent/OAuthConsent.js +1 -1
  27. package/dist/components/OrganizationList/UserInvitationList.js +1 -1
  28. package/dist/components/OrganizationList/UserMembershipList.js +1 -1
  29. package/dist/components/OrganizationList/UserSuggestionList.js +1 -1
  30. package/dist/components/OrganizationProfile/ActionConfirmationPage.js +1 -1
  31. package/dist/components/OrganizationProfile/ActiveMembersList.js +1 -1
  32. package/dist/components/OrganizationProfile/AddDomainForm.js +1 -1
  33. package/dist/components/OrganizationProfile/DomainList.js +1 -1
  34. package/dist/components/OrganizationProfile/InviteMembersForm.js +1 -1
  35. package/dist/components/OrganizationProfile/InviteMembersScreen.js +1 -1
  36. package/dist/components/OrganizationProfile/InvitedMembersList.js +1 -1
  37. package/dist/components/OrganizationProfile/OrganizationAPIKeysPage.js +1 -1
  38. package/dist/components/OrganizationProfile/OrganizationGeneralPage.js +1 -1
  39. package/dist/components/OrganizationProfile/OrganizationMembers.js +1 -1
  40. package/dist/components/OrganizationProfile/OrganizationProfileNavbar.js +1 -1
  41. package/dist/components/OrganizationProfile/ProfileForm.js +1 -1
  42. package/dist/components/OrganizationProfile/RemoveDomainForm.js +1 -1
  43. package/dist/components/OrganizationProfile/RequestToJoinList.js +1 -1
  44. package/dist/components/OrganizationProfile/VerifiedDomainForm.js +1 -1
  45. package/dist/components/OrganizationProfile/VerifyDomainForm.js +1 -1
  46. package/dist/components/OrganizationProfile/index.js +1 -1
  47. package/dist/components/OrganizationSwitcher/OrganizationSwitcherPopover.js +6 -3
  48. package/dist/components/OrganizationSwitcher/OrganizationSwitcherPopover.js.map +1 -1
  49. package/dist/components/OrganizationSwitcher/OrganizationSwitcherTrigger.js +1 -1
  50. package/dist/components/OrganizationSwitcher/UserInvitationSuggestionList.js +1 -1
  51. package/dist/components/OrganizationSwitcher/UserMembershipList.js +1 -1
  52. package/dist/components/PaymentMethods/AddPaymentMethod.js +1 -1
  53. package/dist/components/PaymentMethods/PaymentMethods.js +1 -1
  54. package/dist/components/PricingTable/PricingTable.js +3 -2
  55. package/dist/components/PricingTable/PricingTable.js.map +1 -1
  56. package/dist/components/PricingTable/PricingTableDefault.js +1 -1
  57. package/dist/components/SessionTasks/index.js +1 -1
  58. package/dist/components/SessionTasks/tasks/TaskChooseOrganization/ChooseOrganizationScreen.js +1 -1
  59. package/dist/components/SessionTasks/tasks/TaskChooseOrganization/CreateOrganizationScreen.js +1 -1
  60. package/dist/components/SessionTasks/tasks/TaskChooseOrganization/index.js +1 -1
  61. package/dist/components/SessionTasks/tasks/TaskResetPassword/index.js +1 -1
  62. package/dist/components/SignIn/SignInClientTrust.js +49 -0
  63. package/dist/components/SignIn/SignInClientTrust.js.map +1 -0
  64. package/dist/components/SignIn/SignInFactorOne.js +1 -1
  65. package/dist/components/SignIn/SignInFactorOneAlternativeChannelCodeForm.js +1 -1
  66. package/dist/components/SignIn/SignInFactorOneCodeForm.js +1 -1
  67. package/dist/components/SignIn/SignInFactorOneEmailLinkCard.js +1 -1
  68. package/dist/components/SignIn/SignInFactorOnePasswordCard.js +4 -3
  69. package/dist/components/SignIn/SignInFactorOnePasswordCard.js.map +1 -1
  70. package/dist/components/SignIn/SignInFactorTwo.js +3 -22
  71. package/dist/components/SignIn/SignInFactorTwo.js.map +1 -1
  72. package/dist/components/SignIn/SignInFactorTwoBackupCodeCard.js +1 -1
  73. package/dist/components/SignIn/SignInFactorTwoCodeForm.js +3 -3
  74. package/dist/components/SignIn/SignInFactorTwoCodeForm.js.map +1 -1
  75. package/dist/components/SignIn/SignInFactorTwoEmailLinkCard.js +2 -2
  76. package/dist/components/SignIn/SignInFactorTwoEmailLinkCard.js.map +1 -1
  77. package/dist/components/SignIn/SignInSocialButtons.js +1 -1
  78. package/dist/components/SignIn/SignInStart.js +3 -1
  79. package/dist/components/SignIn/SignInStart.js.map +1 -1
  80. package/dist/components/SignIn/index.js +6 -1
  81. package/dist/components/SignIn/index.js.map +1 -1
  82. package/dist/components/SignIn/shared.js +1 -1
  83. package/dist/components/SignIn/useSecondFactorSelection.js +35 -0
  84. package/dist/components/SignIn/useSecondFactorSelection.js.map +1 -0
  85. package/dist/components/SignUp/SignUpContinue.js +1 -1
  86. package/dist/components/SignUp/SignUpEmailLinkCard.js +1 -1
  87. package/dist/components/SignUp/SignUpRestrictedAccess.js +1 -1
  88. package/dist/components/SignUp/SignUpSocialButtons.js +1 -1
  89. package/dist/components/SignUp/SignUpStart.js +1 -1
  90. package/dist/components/SignUp/SignUpVerificationCodeForm.js +1 -1
  91. package/dist/components/SignUp/index.js +1 -1
  92. package/dist/components/SubscriptionDetails/index.js +1 -1
  93. package/dist/components/UserButton/UserButtonPopover.js +1 -1
  94. package/dist/components/UserButton/UserButtonTopLevelIdentifier.js +1 -1
  95. package/dist/components/UserButton/UserButtonTrigger.js +1 -1
  96. package/dist/components/UserButton/useMultisessionActions.js +7 -2
  97. package/dist/components/UserButton/useMultisessionActions.js.map +1 -1
  98. package/dist/components/UserProfile/APIKeysPage.js +1 -1
  99. package/dist/components/UserProfile/AccountPage.js +1 -1
  100. package/dist/components/UserProfile/ActiveDevicesSection.js +1 -1
  101. package/dist/components/UserProfile/AddAuthenticatorApp.js +1 -1
  102. package/dist/components/UserProfile/ConnectedAccountsMenu.js +1 -1
  103. package/dist/components/UserProfile/ConnectedAccountsSection.js +1 -1
  104. package/dist/components/UserProfile/DeleteUserForm.js +1 -1
  105. package/dist/components/UserProfile/EmailForm.js +1 -1
  106. package/dist/components/UserProfile/EmailsSection.js +1 -1
  107. package/dist/components/UserProfile/EnterpriseAccountsSection.js +1 -1
  108. package/dist/components/UserProfile/MfaBackupCodeCreateForm.js +1 -1
  109. package/dist/components/UserProfile/MfaBackupCodeList.js +1 -1
  110. package/dist/components/UserProfile/MfaForm.js +1 -1
  111. package/dist/components/UserProfile/MfaPhoneCodeScreen.js +1 -1
  112. package/dist/components/UserProfile/MfaSection.js +1 -1
  113. package/dist/components/UserProfile/PasskeySection.js +1 -1
  114. package/dist/components/UserProfile/PasswordForm.js +1 -1
  115. package/dist/components/UserProfile/PasswordSection.js +1 -1
  116. package/dist/components/UserProfile/PhoneForm.js +1 -1
  117. package/dist/components/UserProfile/PhoneSection.js +1 -1
  118. package/dist/components/UserProfile/ProfileForm.js +1 -1
  119. package/dist/components/UserProfile/RemoveResourceForm.js +1 -1
  120. package/dist/components/UserProfile/SecurityPage.js +1 -1
  121. package/dist/components/UserProfile/UserProfileSection.js +1 -1
  122. package/dist/components/UserProfile/UsernameForm.js +1 -1
  123. package/dist/components/UserProfile/UsernameSection.js +1 -1
  124. package/dist/components/UserProfile/VerifyTOTP.js +1 -1
  125. package/dist/components/UserProfile/Web3Form.js +1 -1
  126. package/dist/components/UserProfile/Web3Section.js +1 -1
  127. package/dist/components/UserVerification/UVFactorOneCodeForm.js +1 -1
  128. package/dist/components/UserVerification/UVFactorOnePasskeysCard.js +1 -1
  129. package/dist/components/UserVerification/UVFactorTwoBackupCodeCard.js +1 -1
  130. package/dist/components/UserVerification/UVFactorTwoCodeForm.js +1 -1
  131. package/dist/components/UserVerification/UVFactorTwoPhoneCodeCard.js +1 -1
  132. package/dist/components/UserVerification/UserVerificationFactorOnePassword.js +1 -1
  133. package/dist/components/UserVerification/UserVerificationFactorTwo.js +4 -20
  134. package/dist/components/UserVerification/UserVerificationFactorTwo.js.map +1 -1
  135. package/dist/components/UserVerification/useUserVerificationSession.js +1 -1
  136. package/dist/components/Waitlist/WaitlistForm.js +1 -1
  137. package/dist/components/Waitlist/index.js +1 -1
  138. package/dist/components/devPrompts/EnableOrganizationsPrompt/index.js +1 -1
  139. package/dist/components/devPrompts/KeylessPrompt/index.js +1 -1
  140. package/dist/contexts/CoreClerkContextWrapper.js +1 -1
  141. package/dist/contexts/CoreSessionContext.js +1 -1
  142. package/dist/contexts/CoreUserContext.js +1 -1
  143. package/dist/{createorganization_ui_a492c4_1.0.0-snapshot.v20251211120550.js → createorganization_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  144. package/dist/customizables/AppearanceContext.js +1 -1
  145. package/dist/elements/Action/ActionRoot.js +1 -1
  146. package/dist/elements/CodeControl.js +1 -1
  147. package/dist/elements/Drawer.js +8 -2
  148. package/dist/elements/Drawer.js.map +1 -1
  149. package/dist/elements/Form.js +1 -1
  150. package/dist/elements/Menu.js +3 -2
  151. package/dist/elements/Menu.js.map +1 -1
  152. package/dist/elements/Modal.js +3 -2
  153. package/dist/elements/Modal.js.map +1 -1
  154. package/dist/elements/Navbar.js +1 -1
  155. package/dist/elements/PhoneInput/index.js +1 -1
  156. package/dist/elements/Popover.js +4 -1
  157. package/dist/elements/Popover.js.map +1 -1
  158. package/dist/elements/Select.js +1 -1
  159. package/dist/elements/SocialButtons.js +1 -1
  160. package/dist/elements/Tabs.js +1 -1
  161. package/dist/elements/TimerButton.js +1 -1
  162. package/dist/elements/Tooltip.js +29 -24
  163. package/dist/elements/Tooltip.js.map +1 -1
  164. package/dist/elements/contexts/index.js +1 -1
  165. package/dist/{enableOrganizationsPrompt_ui_a492c4_1.0.0-snapshot.v20251211120550.js → enableOrganizationsPrompt_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  166. package/dist/foundations/defaultFoundations.d.ts +153 -153
  167. package/dist/{impersonationfab_ui_a492c4_1.0.0-snapshot.v20251211120550.js → impersonationfab_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  168. package/dist/index.js +1 -1
  169. package/dist/internal/index.js +1 -1
  170. package/dist/{keylessPrompt_ui_a492c4_1.0.0-snapshot.v20251211120550.js → keylessPrompt_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  171. package/dist/lazyModules/MountedCheckoutDrawer.js +1 -1
  172. package/dist/lazyModules/MountedPlanDetailDrawer.js +1 -1
  173. package/dist/lazyModules/MountedSubscriptionDetailDrawer.js +1 -1
  174. package/dist/lazyModules/providers.js +24 -17
  175. package/dist/lazyModules/providers.js.map +1 -1
  176. package/dist/{oauthConsent_ui_a492c4_1.0.0-snapshot.v20251211120550.js → oauthConsent_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  177. package/dist/{onetap_ui_a492c4_1.0.0-snapshot.v20251211120550.js → onetap_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  178. package/dist/{op-api-keys-page_ui_a492c4_1.0.0-snapshot.v20251211120550.js → op-api-keys-page_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  179. package/dist/{organizationlist_ui_a492c4_1.0.0-snapshot.v20251211120550.js → organizationlist_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  180. package/dist/organizationprofile_ui_01c6bf_1.0.0-snapshot.v20251215210631.js +1 -0
  181. package/dist/organizationswitcher_ui_01c6bf_1.0.0-snapshot.v20251215210631.js +1 -0
  182. package/dist/{payment-attempt-page_ui_a492c4_1.0.0-snapshot.v20251211120550.js → payment-attempt-page_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  183. package/dist/{planDetails_ui_a492c4_1.0.0-snapshot.v20251211120550.js → planDetails_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  184. package/dist/{prefetchorganizationlist_ui_a492c4_1.0.0-snapshot.v20251211120550.js → prefetchorganizationlist_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  185. package/dist/{pricingTable_ui_a492c4_1.0.0-snapshot.v20251211120550.js → pricingTable_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  186. package/dist/primitives/hooks/useFormField.js +1 -1
  187. package/dist/{revoke-api-key-modal_ui_a492c4_1.0.0-snapshot.v20251211120550.js → revoke-api-key-modal_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  188. package/dist/router/BaseRouter.js +1 -1
  189. package/dist/router/PathRouter.js +1 -1
  190. package/dist/router/Route.js +1 -1
  191. package/dist/router/VirtualRouter.js +1 -1
  192. package/dist/{sessionTasks_ui_a492c4_1.0.0-snapshot.v20251211120550.js → sessionTasks_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  193. package/dist/signin_ui_01c6bf_1.0.0-snapshot.v20251215210631.js +1 -0
  194. package/dist/{signup_ui_a492c4_1.0.0-snapshot.v20251211120550.js → signup_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  195. package/dist/{statement-page_ui_a492c4_1.0.0-snapshot.v20251211120550.js → statement-page_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  196. package/dist/{subscriptionDetails_ui_a492c4_1.0.0-snapshot.v20251211120550.js → subscriptionDetails_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  197. package/dist/{taskChooseOrganization_ui_a492c4_1.0.0-snapshot.v20251211120550.js → taskChooseOrganization_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  198. package/dist/{taskResetPassword_ui_a492c4_1.0.0-snapshot.v20251211120550.js → taskResetPassword_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  199. package/dist/ui-common_ui_01c6bf_1.0.0-snapshot.v20251215210631.js +122 -0
  200. package/dist/ui.browser.js +20 -3
  201. package/dist/{up-api-keys-page_ui_a492c4_1.0.0-snapshot.v20251211120550.js → up-api-keys-page_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  202. package/dist/{useravatar_ui_a492c4_1.0.0-snapshot.v20251211120550.js → useravatar_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  203. package/dist/{userbutton_ui_a492c4_1.0.0-snapshot.v20251211120550.js → userbutton_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  204. package/dist/{userprofile_ui_a492c4_1.0.0-snapshot.v20251211120550.js → userprofile_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +2 -2
  205. package/dist/userverification_ui_01c6bf_1.0.0-snapshot.v20251215210631.js +1 -0
  206. package/dist/vendors_ui_01c6bf_1.0.0-snapshot.v20251215210631.js +20 -0
  207. package/dist/{waitlist_ui_a492c4_1.0.0-snapshot.v20251211120550.js → waitlist_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +1 -1
  208. package/package.json +3 -3
  209. package/dist/organizationprofile_ui_a492c4_1.0.0-snapshot.v20251211120550.js +0 -1
  210. package/dist/organizationswitcher_ui_a492c4_1.0.0-snapshot.v20251211120550.js +0 -1
  211. package/dist/signin_ui_a492c4_1.0.0-snapshot.v20251211120550.js +0 -1
  212. package/dist/ui-common_ui_a492c4_1.0.0-snapshot.v20251211120550.js +0 -139
  213. package/dist/userverification_ui_a492c4_1.0.0-snapshot.v20251211120550.js +0 -1
  214. package/dist/vendors_ui_a492c4_1.0.0-snapshot.v20251211120550.js +0 -20
  215. /package/dist/{blankcaptcha_ui_a492c4_1.0.0-snapshot.v20251211120550.js → blankcaptcha_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +0 -0
  216. /package/dist/{copy-api-key-modal_ui_a492c4_1.0.0-snapshot.v20251211120550.js → copy-api-key-modal_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +0 -0
  217. /package/dist/{framework_ui_a492c4_1.0.0-snapshot.v20251211120550.js → framework_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +0 -0
  218. /package/dist/{op-billing-page_ui_a492c4_1.0.0-snapshot.v20251211120550.js → op-billing-page_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +0 -0
  219. /package/dist/{op-plans-page_ui_a492c4_1.0.0-snapshot.v20251211120550.js → op-plans-page_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +0 -0
  220. /package/dist/{up-billing-page_ui_a492c4_1.0.0-snapshot.v20251211120550.js → up-billing-page_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +0 -0
  221. /package/dist/{up-plans-page_ui_a492c4_1.0.0-snapshot.v20251211120550.js → up-plans-page_ui_01c6bf_1.0.0-snapshot.v20251215210631.js} +0 -0
@@ -0,0 +1,122 @@
1
+ "use strict";(globalThis.webpackChunk_clerk_ui=globalThis.webpackChunk_clerk_ui||[]).push([["666"],{6932:function(e,t,r){r.d(t,{A:()=>l});var n,o,i=r(5074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let l=function(e){return i.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 24"},e),n||(n=i.createElement("circle",{cx:18,cy:12,r:11.5,fillOpacity:.1,strokeOpacity:.4,stroke:"currentColor",strokeDasharray:"2 2"})),o||(o=i.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"})))}},2067:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",viewBox:"0 0 20 20"},e),n||(n=o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3.3 10h13.4m-5-5 5 5-5 5"})))}},7078:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=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"})))}},5079:function(e,t,r){r.d(t,{A:()=>l});var n,o,i=r(5074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let l=function(e){return i.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=i.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=i.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,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),n||(n=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"})))}},1051:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),n||(n=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"})))}},2405:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 10"},e),n||(n=o.createElement("path",{d:"m1 6 3 3 5-8",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})))}},7649:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=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"})))}},8023:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=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"})))}},7630:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12"},e),n||(n=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,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 10"},e),n||(n=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"})))}},8813:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=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"})))}},2852:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=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"})))}},4967:function(e,t,r){r.d(t,{A:()=>l});var n,o,i=r(5074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let l=function(e){return i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16"},e),n||(n=i.createElement("path",{d:"M1.5 5a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2h-13Z"})),o||(o=i.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"})))}},8910:function(e,t,r){r.d(t,{A:()=>d});var n,o,i,a,l,s=r(5074);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}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),n||(n=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"})),i||(i=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})),a||(a=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"})))}},892:function(e,t,r){r.d(t,{A:()=>p});var n,o,i,a,l,s,c,d=r(5074);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}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),n||(n=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"})),i||(i=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"})),a||(a=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,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),n||(n=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"})))}},1072:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 14"},e),n||(n=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"})))}},4421:function(e,t,r){r.d(t,{A:()=>l});var n,o,i=r(5074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let l=function(e){return i.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=i.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=i.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"})))}},1603:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=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,r){r.d(t,{A:()=>l});var n,o,i=r(5074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let l=function(e){return i.createElement("svg",a({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=i.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=i.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"})))}},6889:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 48 48"},e),n||(n=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"})))}},5203:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=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"})))}},9068:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),n||(n=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"})))}},8144:function(e,t,r){r.d(t,{A:()=>l});var n,o,i=r(5074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let l=function(e){return i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),n||(n=i.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=i.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"})))}},743:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),n||(n=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"})))}},4380:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),n||(n=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"})))}},4439:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},e),n||(n=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"})))}},6103:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),n||(n=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"})))}},9830:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=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"})))}},4430:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),n||(n=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,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=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"})))}},5976:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 14"},e),n||(n=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"})))}},2181:function(e,t,r){r.d(t,{A:()=>l});var n,o,i=r(5074);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let l=function(e){return i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),n||(n=i.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=i.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"})))}},2305:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16"},e),n||(n=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"})))}},7240:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=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"})))}},8388:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17 16"},e),n||(n=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"})))}},9366:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=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"})))}},7358:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=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"})))}},7068:function(e,t,r){r.d(t,{A:()=>a});var n,o=r(5074);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let a=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=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"})))}},4916:function(e,t,r){r.d(t,{D:()=>i});var n=r(4518),o=r(8272);let i=e=>{let{icon:t,text:r,textSx:i,actionLabel:a,onClick:l}=e;return(0,n.Y)(o.so,{sx:e=>({background:e.colors.$neutralAlpha50,padding:`${e.space.$2x5} ${e.space.$4}`,justifyContent:"space-between",alignItems:"flex-start",borderRadius:e.radii.$md}),children:(0,n.FD)(o.so,{gap:2,children:[(0,n.Y)(o.In,{colorScheme:"neutral",icon:t,sx:e=>({marginTop:e.space.$1})}),(0,n.FD)(o.fv,{gap:4,children:[(0,n.Y)(o.EY,{colorScheme:"secondary",sx:i,localizationKey:r,children:e.children}),a&&(0,n.Y)(o.N_,{colorScheme:"primary",variant:"subtitle",localizationKey:a,onClick:e=>{l?.(e)}})]})]})})}},7420:function(e,t,r){r.d(t,{l:()=>d});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(6088),s=r(3269),c=r(6153);let d=({title:e,subtitle:t,onClick:r,enterpriseConnections:o})=>{let d=(0,s.f0)();return(0,n.FD)(l.Z.Root,{children:[(0,n.FD)(l.Z.Content,{children:[(0,n.FD)(c.Y.Root,{showLogo:!0,children:[(0,n.Y)(c.Y.Title,{localizationKey:e}),(0,n.Y)(c.Y.Subtitle,{localizationKey:t})]}),(0,n.Y)(l.Z.Alert,{children:d.error}),(0,n.Y)(i.xA,{elementDescriptor:a.$z.enterpriseConnectionsRoot,gap:2,children:o?.map(({id:e,name:t})=>(0,n.Y)(u,{id:e,label:t,onClick:r},e))})]}),(0,n.Y)(l.Z.Footer,{})]})},u=e=>{let{label:t,onClick:r,...l}=e,[s,c]=(0,o.useState)(!1);return(0,n.Y)(i.dF,{elementDescriptor:a.$z.enterpriseConnectionButton,variant:"outline",block:!0,isLoading:s,hoverAsFocus:!0,onClick:()=>{c(!0),r(e.id).catch(()=>c(!1))},...l,sx:e=>[{gap:e.space.$4,position:"relative",justifyContent:"flex-start"},l.sx],children:(0,n.FD)(i.so,{justify:"center",align:"center",as:"span",gap:3,sx:{width:"100%",overflow:"hidden"},children:[s&&(0,n.Y)(i.so,{as:"span",center:!0,sx:e=>({flex:`0 0 ${e.space.$4}`}),children:(0,n.Y)(i.y$,{size:"sm",elementDescriptor:a.$z.spinner})}),(0,n.Y)(i.EY,{elementDescriptor:a.$z.enterpriseConnectionButtonText,as:"span",truncate:!0,variant:"buttonLarge",children:t})]})})}},2223:function(e,t,r){r.d(t,{_:()=>s});var n=r(4518),o=r(9361),i=r(7697),a=r(2531),l=r(6932);let s=e=>{let{user:t}=(0,o.Jd)(),{organizationSettings:r}=(0,i.O)(),s=(t?.organizationMemberships??[]).length<r.maxAllowedMemberships;return t?.createOrganizationEnabled&&s?(0,n.Y)(a.rc,{...e,icon:l.A}):null}},540:function(e,t,r){r.d(t,{H:()=>l});var n=r(4518),o=r(8272),i=r(8920),a=r(2293);let l=({mount:e,unmount:t})=>(0,n.Y)(o.fv,{elementDescriptor:i.$z.page,gap:8,children:(0,n.Y)(o.fv,{elementDescriptor:i.$z.profilePage,gap:8,children:(0,n.Y)(a.c,{mount:e,unmount:t})})})},625:function(e,t,r){r.d(t,{W:()=>o});var n=r(9361);let o=({children:e})=>"development"!==(0,n.ho)().instanceType?null:e},5873:function(e,t,r){r.d(t,{Y:()=>b,M:()=>v});var n=r(4518),o=r(3269),i=r(2861),a=r(3610),l=r(1687),s=r(9361),c=r(5074),d=r(6324),u=r(4964),p=r(6735),m=r(4979);let h=e=>{let{redirectUrl:t,redirectUrlComplete:r,verifyEmailPath:o,verifyPhonePath:i,continuePath:h}=e,{handleEmailLinkVerification:f}=(0,s.ho)(),{navigate:g}=(0,u.r)(),b=(0,d.B)(),[v,y]=c.useState("loading"),w=async()=>{try{await (0,p.y)(750),await f({redirectUrlComplete:r,redirectUrl:t},g),y("verified_switch_tab"),await (0,p.y)(750),await (0,l.A)({signUp:b,verifyEmailPath:o,verifyPhonePath:i,continuePath:h,navigate:g})}catch(e){if((0,a.hl)(e)&&(e.code===a.kl.Expired||e.code===a.kl.ClientMismatch))return void y(e.code);y(a.kl.Failed)}};return c.useEffect(()=>{w()},[]),(0,n.Y)(m.$,{title:e.texts[v]?.title||"",subtitle:e.texts[v]?.subtitle||"",status:v})},f={verified:{title:(0,i.G)("signIn.emailLink.verified.title"),subtitle:(0,i.G)("signIn.emailLink.verified.subtitle")},verified_switch_tab:{title:(0,i.G)("signIn.emailLink.verified.title"),subtitle:(0,i.G)("signIn.emailLink.verifiedSwitchTab.subtitle")},loading:{title:(0,i.G)("signIn.emailLink.loading.title"),subtitle:(0,i.G)("signIn.emailLink.loading.subtitle")},failed:{title:(0,i.G)("signIn.emailLink.failed.title"),subtitle:(0,i.G)("signIn.emailLink.failed.subtitle")},expired:{title:(0,i.G)("signIn.emailLink.expired.title"),subtitle:(0,i.G)("signIn.emailLink.expired.subtitle")},client_mismatch:{title:(0,i.G)("signIn.emailLink.clientMismatch.title"),subtitle:(0,i.G)("signIn.emailLink.clientMismatch.subtitle")}},g={...f,verified:{...f.verified,title:(0,i.G)("signUp.emailLink.verified.title")},verified_switch_tab:{...f.verified_switch_tab,title:(0,i.G)("signUp.emailLink.verified.title")},loading:{...f.loading,title:(0,i.G)("signUp.emailLink.loading.title")},client_mismatch:{...f.client_mismatch,subtitle:(0,i.G)("signUp.emailLink.clientMismatch.subtitle")}},b=(0,o.dm)(e=>(0,n.Y)(h,{...e,texts:f})),v=(0,o.dm)(e=>(0,n.Y)(h,{...e,texts:g}))},4979:function(e,t,r){r.d(t,{$:()=>v});var n,o=r(4518),i=r(5074),a=r(4607),l=r(8272),s=r(8920),c=r(2861),d=r(6088),u=r(3269),p=r(6153),m=r(7358);function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var f=r(1603),g=r(4374);let b={verified:m.A,verified_switch_tab:function(e){return i.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 18 20"},e),n||(n=i.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},v=e=>{let t=(0,u.f0)();return(0,o.Y)(a.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:`${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:`${g.W.dropdownSlideInScaleAndFade} 500ms ease`}),children:(0,o.Y)(l.In,{elementDescriptor:s.$z.verificationLinkStatusIcon,icon:b[t],sx:e=>({height:e.sizes.$6,width:e.sizes.$5})})})}},7477:function(e,t,r){r.d(t,{EH:()=>s,Fd:()=>l,cb:()=>c});var n=r(4518),o=r(9361),i=r(5074),a=r(4964);let l=e=>{let{session:t}=(0,o.wV)();return!!t?.id&&("function"==typeof e?e(t.checkAuthorization):t.checkAuthorization(e))},s=e=>{let{children:t,fallback:r,redirectTo:o,...s}=e,c=l("function"==typeof s.condition?s.condition:s),{navigate:d}=(0,a.r)();return((0,i.useEffect)(()=>{!c&&o&&d(o)},[c,o]),!c&&r)?(0,n.Y)(n.FK,{children:r}):c?(0,n.Y)(n.FK,{children:t}):null};function c(e,t){let r=e.displayName||e.name||"Component",o=r=>(0,n.Y)(s,{...t,children:(0,n.Y)(e,{...r})});return o.displayName=`withProtect(${r})`,o}},2157:function(e,t,r){r.d(t,{U:()=>l});var n=r(4518),o=r(5074),i=r(8272),a=r(8920);let l=(0,o.forwardRef)((e,t)=>(0,n.Y)(i.az,{ref:t,sx:e=>({width:"100%",height:e.space.$12,position:"relative"}),children:(0,n.Y)(i.az,{sx:{margin:"auto",position:"absolute",left:"50%",top:"50%",transform:"translateY(-50%) translateX(-50%)"},children:(0,n.Y)(i.y$,{size:"sm",colorScheme:"primary",elementDescriptor:a.$z.spinner})})}))},1703:function(e,t,r){r.d(t,{a:()=>d});var n=r(4518),o=r(1089),i=r(78),a=r(2861),l=r(8272),s=r(359),c=r(4374);let d=e=>{let{notificationCount:t,containerSx:r,shouldAnimate:d=!0,...u}=e,p=(0,s.j)(),{t:m}=(0,i._)(),h=m((0,a.G)("locale")),f=(0,o.L1)(t,h);return(0,n.Y)(l.so,{justify:"center",align:"center",as:"span",sx:[e=>({marginLeft:e.space.$1x5}),r],children:(0,n.Y)(l.vd,{sx:e=>({animation:d&&!p?`${c.W.notificationAnimation} ${e.transitionDuration.$textField} ${e.transitionTiming.$slowBezier} 0s 1 normal forwards`:"none"}),...u,children:f})})}},9126:function(e,t,r){r.d(t,{L:()=>a,h:()=>i});var n=r(4518),o=r(5074);let i=()=>{let e=[];return{print:()=>e.forEach(e=>e()),printableProps:{onPrint:t=>e.push(t)}}},a=e=>{let{children:t,onPrint:r}=e,i=o.useRef(null);return r(()=>{l(i)}),(0,n.Y)("div",{ref:i,style:{position:"fixed",left:"-9999px",top:0,display:"none"},children:t})},l=e=>{let t=e.current;if(!t)return;let r=document.createElement("iframe");r.style.position="fixed",r.style.right="-2000px",r.style.bottom="-2000px",r.onload=()=>{((e,t="[data-emotion=cl-internal]")=>{if(!e.contentDocument)return;let r=[...document.head.querySelectorAll(t)].map(e=>e.innerHTML).join("\n"),n=e.contentDocument.createElement("style");n.innerHTML=r,e.contentDocument.head.prepend(n)})(r),r.contentDocument&&(r.contentDocument.body.style.fontFamily="Arial",r.contentDocument.body.style.cssText=`* {
2
+ -webkit-print-color-adjust: exact !important;
3
+ color-adjust: exact !important;
4
+ print-color-adjust: exact !important;
5
+ }`),r.contentDocument&&r.contentWindow&&(r.contentDocument.body.innerHTML=t.innerHTML,r.contentWindow.print())},window.document.body.appendChild(r)}},2660:function(e,t,r){r.d(t,{T:()=>l});var n=r(4518),o=r(8272),i=r(8920),a=r(1464);let l=e=>{let{value:t,id:r,...l}=e;return(0,n.Y)(o.az,{as:"span",elementDescriptor:[i.$z.providerIcon,i.$z.socialButtonsProviderInitialIcon],elementId:i.$z.socialButtonsProviderInitialIcon.setId(r),sx:e=>({...a.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,n.Y)(o.EY,{as:"span",variant:"buttonSmall",sx:{...a.s.centeredFlex("inline-flex"),width:"100%"},children:t[0].toUpperCase()})})}},2094:function(e,t,r){r.d(t,{r:()=>l});var n=r(4518),o=r(5059),i=r(8272),a=r(8920);let l=e=>{let{size:t=200,url:r,...l}=e;return(0,n.Y)(i.so,{elementDescriptor:a.$z.qrCodeRow,...l,children:(0,n.Y)(i.so,{elementDescriptor:a.$z.qrCodeContainer,sx:e=>({backgroundColor:"white",padding:e.space.$2x5}),children:(0,n.Y)(o.h,{value:r||"",size:t})})})}},8046:function(e,t,r){r.d(t,{P:()=>p});var n=r(4518),o=r(9361),i=r(8272),a=r(2861),l=r(3269),s=r(2454),c=r(1475),d=r(3549),u=r(4468);let p=(0,l.dm)(e=>{let{title:t,messageLine1:r,messageLine2:p,deleteResource:m,onSuccess:h,onReset:f}=e,g=(0,l.f0)(),b=(0,o.Wp)(m),v=async()=>{try{await b().then(h)}catch(e){(0,u.H4)(e,[],g.setError)}};return(0,n.Y)(d.M,{headerTitle:t,headerSubtitle:r,children:(0,n.FD)(s.l.Root,{onSubmit:v,children:[p?(0,n.Y)(i.EY,{colorScheme:"secondary",localizationKey:p}):null,(0,n.Y)(c.G,{submitLabel:(0,a.G)("userProfile.formButtonPrimary__remove"),colorScheme:"danger",onReset:f})]})})})},6126:function(e,t,r){r.d(t,{F:()=>m});var n=r(4518),o=r(9361),i=r(5074),a=r(4607),l=r(6142),s=r(6088),c=r(3269),d=r(6980),u=r(4964),p=r(4468);let m=(0,c.dm)(e=>(0,n.Y)(a.n.Part,{part:"ssoCallback",children:(0,n.Y)(h,{...e})})),h=e=>{let{handleRedirectCallback:t,__internal_setActiveInProgress:r}=(0,o.ho)(),{navigate:m}=(0,u.r)(),h=(0,c.f0)();return i.useEffect(()=>{let n;if(!0!==r){let r=new URLSearchParams(window.location.search).get("intent");t({...e,reloadResource:"signIn"===r||"signUp"===r?r:void 0},m).catch(e=>{(0,p.H4)(e,[],h.setError),n=setTimeout(()=>void m("../"),4e3)})}return()=>clearTimeout(n)},[p.H4,t]),(0,n.Y)(a.n.Part,{part:"ssoCallback",children:(0,n.FD)(s.Z.Root,{children:[(0,n.FD)(s.Z.Content,{children:[(0,n.Y)(s.Z.Alert,{children:h.error}),(0,n.Y)(d.W,{}),(0,n.Y)(l.j,{})]}),(0,n.Y)(s.Z.Footer,{})]})})}},6245:function(e,t,r){r.d(t,{X:()=>a,s:()=>l});var n=r(4518),o=r(5074),i=r(579);let a=(e={})=>{let{defaultStep:t=0,onNextStep:r}=e,[n,i]=o.useState(t),a=o.useCallback(()=>{r?.(),i(e=>e+1)},[]);return{nextStep:a,prevStep:o.useCallback(()=>i(e=>e-1),[]),goToStep:o.useCallback(e=>i(e),[]),props:{step:n}}},l=e=>{let{step:t,children:r}=e;return(0,n.Y)(i.k,{children:o.Children.toArray(r)[t]})}},1959:function(e,t,r){r.d(t,{E9:()=>i,ZN:()=>a,_o:()=>l});var n=r(2861);let o=Object.freeze({email_address_username:{label:(0,n.G)("formFieldLabel__emailAddress_username"),placeholder:(0,n.G)("formFieldInputPlaceholder__emailAddress_username"),type:"text",action:(0,n.G)("signIn.start.actionLink__use_email_username"),validLastAuthenticationStrategies:new Set(["email_code","email_link","email_address","username","password"])},email_address:{label:(0,n.G)("formFieldLabel__emailAddress"),placeholder:(0,n.G)("formFieldInputPlaceholder__emailAddress"),type:"email",action:(0,n.G)("signIn.start.actionLink__use_email"),validLastAuthenticationStrategies:new Set(["email_code","email_link","email_address","password"])},phone_number:{label:(0,n.G)("formFieldLabel__phoneNumber"),placeholder:(0,n.G)("formFieldInputPlaceholder__phoneNumber"),type:"tel",action:(0,n.G)("signIn.start.actionLink__use_phone"),validLastAuthenticationStrategies:new Set(["phone_code","password"])},username:{label:(0,n.G)("formFieldLabel__username"),placeholder:(0,n.G)("formFieldInputPlaceholder__username"),type:"text",action:(0,n.G)("signIn.start.actionLink__use_username"),validLastAuthenticationStrategies:new Set(["username","password"])},default:{label:"",placeholder:"",type:"text",action:"",validLastAuthenticationStrategies:new Set}}),i=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},a=(e,t)=>{let r=e.indexOf(t);return -1===r?{currentIdentifier:{...o.default},nextIdentifier:void 0}:{currentIdentifier:{...o[t]},nextIdentifier:e.length>1?{...o[e[(r+1)%e.length]]}:void 0}},l=Object.freeze({Password:"password",OTP:"otp"})},72:function(e,t,r){r.d(t,{D3:()=>g,JF:()=>f,SH:()=>b,Vc:()=>m,os:()=>u,zJ:()=>h});var n=r(4518),o=r(5074),i=r(9001),a=r(750),l=r(8272),s=r(8920),c=r(9366),d=r(1464);let u=({elementDescriptor:e,children:t})=>(0,n.Y)(l.fv,{elementDescriptor:e,sx:e=>({maxHeight:`calc(8 * ${e.sizes.$12})`,overflowY:"auto",borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100,...d.s.unstyledScrollbar(e)}),children:t}),p=e=>({padding:`${e.space.$4} ${e.space.$5}`}),m=e=>({color:e.colors.$colorForeground,":hover":{color:e.colors.$colorForeground}}),h=({children:e,elementId:t,elementDescriptor:r,organizationData:o})=>(0,n.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:r,children:[(0,n.Y)(i.Q,{elementId:t,mainIdentifierSx:m,organization:o}),e]}),f=(0,o.forwardRef)((e,t)=>(0,n.Y)(l.az,{ref:t,sx:e=>({width:"100%",height:e.space.$12,position:"relative"}),children:(0,n.Y)(l.az,{sx:{margin:"auto",position:"absolute",left:"50%",top:"50%",transform:"translateY(-50%) translateX(-50%)"},children:(0,n.Y)(l.y$,{size:"sm",colorScheme:"primary",elementDescriptor:s.$z.spinner})})})),g=e=>(0,n.Y)(l.$n,{textVariant:"buttonSmall",variant:"outline",size:"xs",...e}),b=e=>(0,n.Y)(a.P,{sx:[p],icon:c.A,...e})},8051:function(e,t,r){r.d(t,{Vu:()=>i,aB:()=>o,aQ:()=>s,lA:()=>a,uP:()=>l});var n=r(4173);let o="/sso-callback",i="/verify";function a({ctx:e,baseUrl:t="",intent:r="sign-in"}){let{routing:n,authQueryString:o,path:a}=e;return s({routing:n,baseUrl:t,authQueryString:o,path:a,endpoint:"isCombinedFlow"in e&&e.isCombinedFlow&&"sign-up"===r?`/create${i}`:i})}function l(e,t=""){let{routing:r,authQueryString:n,path:i}=e;return e.ssoCallbackUrl&&e.isCombinedFlow&&"virtual"!==r?e.ssoCallbackUrl:s({routing:r,baseUrl:t,authQueryString:n,path:i,endpoint:o})}let s=({routing:e,authQueryString:t,baseUrl:r,path:n,endpoint:o})=>e&&"hash"!==e?"path"===e?d(n||"",t,o):u(r||"",t,o):c(t,o),c=(e,t)=>{let r=t+(e?`?${e}`:"");return(0,n.kZ)({hash:r},{stringify:!0})},d=(e,t,r)=>(0,n.kZ)({pathname:e+r,...t?{search:"?"+t}:{}},{stringify:!0}),u=(e,t,r)=>{let o=r+(t?`?${t}`:"");return(0,n.kZ)({base:e,hash:o},{stringify:!0})}},656:function(e,t,r){r.d(t,{Ai:()=>g,RE:()=>h,RL:()=>b,SY:()=>f,p:()=>v});var n=r(4518),o=r(1841),i=r(2049),a=r(2311),l=r(9361),s=r(5074),c=r(7697),d=r(2366),u=r(4),p=r(5350),m=r(4964);function h(e,t,r,o){let i=e.displayName||e.name||"Component";e.displayName=i;let u=i=>{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,a.a)(p.publishableKey)&&console.info(o),u(r({clerk:p,environment:h,options:f})))},[]),g)?null:(0,n.Y)(e,{...i})};return u.displayName=`withRedirect(${i})`,u}let f=e=>{let t=e.displayName||e.name||"Component";e.displayName=t;let r=t=>{let r=(0,u.r)();return h(e,o.Xu,({clerk:e})=>r.afterSignInUrl||e.buildAfterSignInUrl(),i.A.cannotRenderSignInComponentWhenSessionExists)(t)};return r.displayName=`withRedirectToAfterSignIn(${t})`,r},g=e=>{let t=e.displayName||e.name||"Component";e.displayName=t;let r=t=>{let r=(0,p.X)();return h(e,o.Xu,({clerk:e})=>r.afterSignUpUrl||e.buildAfterSignUpUrl(),i.A.cannotRenderSignUpComponentWhenSessionExists)(t)};return r.displayName=`withRedirectToAfterSignUp(${t})`,r},b=e=>{let t=e.displayName||e.name||"Component";e.displayName=t;let r=t=>{let r=(0,u.r)();return h(e,(e,t)=>!!t?.authConfig.singleSessionMode&&!!(e.session?.currentTask&&r?.taskUrl),()=>r.taskUrl,void 0)(t)};return r.displayName=`withRedirectToSignInTask(${t})`,r},v=e=>{let t=e.displayName||e.name||"Component";e.displayName=t;let r=t=>{let r=(0,p.X)();return h(e,(e,t)=>!!t?.authConfig.singleSessionMode&&!!(e.session?.currentTask&&r?.taskUrl),()=>r.taskUrl,void 0)(t)};return r.displayName=`withRedirectToSignUpTask(${t})`,r}},1227:function(e,t,r){r.d(t,{AG:()=>a,dY:()=>i,j2:()=>n,jc:()=>o,qJ:()=>l});let n={ACCOUNT:"account",SECURITY:"security",BILLING:"billing",API_KEYS:"apiKeys"},o={GENERAL:"general",MEMBERS:"members",BILLING:"billing",API_KEYS:"apiKeys"},i={MANAGE_ACCOUNT:"manageAccount",SIGN_OUT:"signOut"},a="clerk-profileCardScrollBox",l="clerk-organizationProfileScrollBox"},2467:function(e,t,r){r.d(t,{b:()=>l,h:()=>a});var n=r(4518),o=r(5074);let i=(0,o.createContext)({acceptedInvitations:[],setAcceptedInvitations:()=>{}});function a({children:e}){let[t,r]=(0,o.useState)([]);return(0,n.Y)(i.Provider,{value:{acceptedInvitations:t,setAcceptedInvitations:r},children:e})}function l(){return(0,o.useContext)(i)}},6324:function(e,t,r){r.d(t,{B:()=>i,n:()=>o});var n=r(9361);function o(){let e=(0,n.WD)();return(0,n._x)(e,n.pc),e.signIn}function i(){let e=(0,n.WD)();return(0,n._x)(e,n.pc),e.signUp}},5577:function(e,t,r){r.d(t,{Z:()=>i});var n=r(4518),o=r(9361);function i(e){let t=t=>void 0===(0,o.Lg)()?null:(0,n.Y)(e,{...t}),r=e.displayName||e.name||"Component";return e.displayName=r,t.displayName=r,t}r(5074)},3264:function(e,t,r){r.d(t,{G:()=>i});var n=r(4518),o=r(9361);function i(e){let t=t=>(0,o.ur)()?(0,n.Y)(e,{...t}):null,r=e.displayName||e.name||"Component";return e.displayName=r,t.displayName=r,t}r(5074)},7697:function(e,t,r){r.d(t,{O:()=>s,v:()=>l});var n=r(4518),o=r(5074),i=r(2117);let a=o.createContext(null);function l({children:e,value:t}){return(0,n.Y)(a.Provider,{value:t,children:e})}function s(){let e=o.useContext(a);return(0,i._x)(e,"EnvironmentProvider"),e}},5243:function(e,t,r){r.d(t,{R:()=>l,j:()=>a});var n=r(4518),o=r(5074);let i=o.createContext(void 0),a=({children:e,moduleManager:t})=>(0,n.Y)(i.Provider,{value:t,children:e}),l=()=>{let e=o.useContext(i);if(!e)throw Error("useModuleManager must be used within a ModuleManagerProvider");return e}},2366:function(e,t,r){r.d(t,{G2:()=>a,II:()=>l});var n=r(4518),o=r(5074);let i=o.createContext({});function a({children:e,value:t}){return(0,n.Y)(i.Provider,{value:t,children:e})}function l(){let e=o.useContext(i);if(void 0===e)throw Error("useOptions must be used within an OptionsContext");return e}},9367:function(e,t,r){r.d(t,{ModuleManagerProvider:()=>d.j,CoreClerkContextWrapper:()=>c,EnvironmentProvider:()=>n.v,OptionsProvider:()=>o.G2});var n=r(7697),o=r(2366),i=r(4518),a=r(9361),l=r(5074),s=r(2117);function c(e){let t=e.clerk;(0,s.rV)(t);let[r,n]=l.useState({client:t.client,session:t.session,user:t.user,organization:t.organization});l.useEffect(()=>t.addListener(e=>n({...e})),[]);let{client:o,session:c,user:d,organization:u}=r,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,i.Y)(a.ED.Provider,{value:p,children:(0,i.Y)(a.pc.Provider,{value:m,children:(0,i.Y)(a.IC.Provider,{value:h,children:(0,i.Y)(a.TS,{...g.value,swrConfig:e.swrConfig,children:(0,i.Y)(a.Rs.Provider,{value:f,children:(0,i.Y)(a.Rx,{value:void 0,children:e.children})})})})})})}var d=r(5243)},2117:function(e,t,r){r.d(t,{tf:()=>l,tR:()=>s,_x:()=>a,rV:()=>i});var n=r(2950),o=r(1044);function i(e){e||(0,n.n)()}function a(e,t){e||(0,n.t)(t)}function l(e,t){let r={};return new URLSearchParams(e).forEach((e,n)=>{t.includes(n)&&"string"==typeof e&&(r[(0,o.sF)(n)]=e)}),r}let s=(({regex:e})=>({urlWithParam:t,entity:r})=>{let n=e.exec(t);if(n){let e=n[1];if(e in r){let o=r[e];return t.replace(n[0],o)}}return t})({regex:/:(\w+)/})},6580:function(e,t,r){r.d(t,{Q:()=>e_,K:()=>ex});var n=r(4518),o=r(9361);r(5074);var i=r(4498);let a="0px 0px 0px 1px",l=e=>`${a} ${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=>`${a} ${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:`${e.shadows.$cardContentShadow}, ${a} ${e.colors.$borderAlpha50}`}),d=(e,t)=>{let r=[`0px 0px 0px 1px ${t.idle1}`,e.shadows.$input.replace("{{color}}",t.idle2)].toString(),n=[`0px 0px 0px 1px ${t.hover1}`,e.shadows.$input.replace("{{color}}",t.hover2)].toString();return{boxShadow:r,"&:hover":{boxShadow:n},'&:focus-within,&[data-focus-within="true"]':{boxShadow:[n,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:({theme:e})=>{var t;let r,n;return{button:{'&[data-variant="solid"]':{borderWidth:"0px","&:after":{position:"absolute",content:'""',borderRadius:"inherit",zIndex:-1,inset:0,opacity:1,transitionProperty:e.transitionProperty.$common,transitionDuration:e.transitionDuration.$controls,background:`linear-gradient(180deg, ${e.colors.$whiteAlpha150} 0%, ${e.colors.$transparent} 100%)`},"&:hover::after":{opacity:0},"&:active::after":{opacity:1},'&[data-color="primary"]':{boxShadow:l(e.colors.$primary500),"&:focus":{boxShadow:[l(e.colors.$primary500),e.shadows.$focusRing.replace("{{color}}",e.colors.$colorRing)].toString()}},'&[data-color="danger"]':{boxShadow:l(e.colors.$danger500),"&:focus":{boxShadow:[l(e.colors.$danger500),e.shadows.$focusRing.replace("{{color}}",e.colors.$dangerAlpha200)].toString()}}},'&[data-variant="outline"]':{borderWidth:0,boxShadow:s(e.colors.$borderAlpha100),"&:focus":{boxShadow:[s(e.colors.$borderAlpha100),e.shadows.$focusRing.replace("{{color}}",e.colors.$colorRing)].toString()}},'&[data-variant="bordered"]':{borderWidth:0,boxShadow:s(e.colors.$borderAlpha100),"&:focus":{boxShadow:[s(e.colors.$borderAlpha100),e.shadows.$focusRing.replace("{{color}}",e.colors.$colorRing)].toString()}}},badge:{borderWidth:0,margin:"1px",'&[data-color="primary"]':{boxShadow:`${a} ${e.colors.$borderAlpha100}, ${e.shadows.$badge}`},'&[data-color="danger"]':{boxShadow:`${a} ${e.colors.$dangerAlpha300}, ${e.shadows.$badge}`},'&[data-color="success"]':{boxShadow:`${a} ${e.colors.$successAlpha300}, ${e.shadows.$badge}`},'&[data-color="warning"]':{boxShadow:`${a} ${e.colors.$warningAlpha300}, ${e.shadows.$badge}`}},input:{'&[data-variant="default"]':{...u(e)}},checkbox:{...(t={idle1:e.colors.$neutralAlpha150,idle2:e.colors.$neutralAlpha100,hover1:e.colors.$neutralAlpha300,hover2:e.colors.$neutralAlpha150,focus:e.colors.$neutralAlpha150},r=[`0px 0px 0px 1px ${t.idle1}`,e.shadows.$input.replace("{{color}}",t.idle2)].toString(),{boxShadow:r,"&:hover":{boxShadow:n=[`0px 0px 0px 1px ${t.hover1}`,e.shadows.$input.replace("{{color}}",t.hover2)].toString()},"&:focus-visible":{boxShadow:[n,e.shadows.$focusRing.replace("{{color}}",t.focus)].toString()}}),padding:e.space.$1,width:e.sizes.$3x5,height:e.sizes.$3x5,appearance:"none",borderRadius:e.radii.$sm,border:"none",backgroundSize:`${e.sizes.$2} ${e.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='${e.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:e.colors.$transparent,backgroundColor:e.colors.$primary500}},tagInputContainer:{...u(e)},tagPillContainer:{borderWidth:0,boxShadow:`${a} ${e.colors.$borderAlpha100}, ${e.shadows.$badge}`},phoneInputBox:{...u(e)},formInputGroup:{...u(e)},selectSearchInput__countryCode:{boxShadow:"none","&:focus":{boxShadow:"none"}},cardBox:{borderWidth:0,boxShadow:`${e.shadows.$cardBoxShadow}, ${a} ${e.colors.$borderAlpha100}`},drawerContent:{borderWidth:0,boxShadow:`${e.shadows.$cardBoxShadow}, ${a} ${e.colors.$borderAlpha100}`},popoverBox:{borderWidth:0,boxShadow:`${e.shadows.$cardBoxShadow}, ${a} ${e.colors.$borderAlpha100}`},card:{...c(e)},pricingTableCard:{'&[data-variant="default"]':{borderWidth:0,boxShadow:`${e.shadows.$cardBoxShadow}, ${a} ${e.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 ${e.colors.$borderAlpha100}`}},scrollBox:{...c(e)},userButtonPopoverMain:{...c(e)},organizationSwitcherPopoverMain:{...c(e)},menuList:{borderWidth:0,boxShadow:`${e.shadows.$menuShadow}, ${a} ${e.colors.$borderAlpha100}`},actionCard:{borderWidth:0,boxShadow:`${e.shadows.$actionCardShadow}, ${a} ${e.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 ${e.colors.$borderAlpha100}`}}}},m={simpleStyles:!0,elements:{}},h=e=>{let t={};for(let r in e)for(let n in t[r]={},e[r])t[r]["$"+n]=e[r][n];return Object.freeze(t)},f=Object.freeze({solid:"solid",dashed:"dashed"}),g=Object.freeze({normal:"1px",heavy:"2px"});var b=r(4620),v=r(4803),y=r(2464),w=r(2),$=r(5576);function x(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&&y.X2.some(t=>e[t])&&!e["500"])throw Error("You need to provide at least the 500 shade");return null}function _(e,t){return t?{...e,...t}:e}function S(e,t){var r=function(e){let t={};for(let[r,n]of Object.entries(e))n&&void 0!==n&&(t[r]=n);return t}(e);let n={};for(let[e,o]of Object.entries(r))void 0!==o&&(n[t+e]=o);return n}let C=(e,t)=>{if(e)return S(function(e){let t,r,n,o,i=x(e);if(!i)return(0,$.H5)();let{baseColor:a,userScale:l}=i;return _(v.a.modernColor()?(t=(0,$.H5)(),y.Tj.forEach(e=>{t[e]=(0,$.Nw)(a,e)}),t):(r=(0,$.H5)(),n=w.T.toHslaColor(a),o=w.T.setHslaAlpha(n,0),y.Tj.forEach((e,t)=>{let n=y.Yo[t]??1,i=w.T.setHslaAlpha(o,n);r[e]=w.T.toHslaString(i)}),r),l)}(e),t)},k=(e,t)=>{if(e)return S(function(e){let t,r,n,o,i,a=x(e);if(!a)return(0,$.H5)();let{baseColor:l,userScale:s}=a;return _(v.a.modernColor()?(t=(0,$.H5)(),y.Tj.forEach(e=>{t[e]=(0,$.lD)(l,e)}),t):(r=(0,$.H5)(),n=w.T.toHslaColor(l),r["500"]=w.T.toHslaString(n),o=(y.Pg.TARGET_LIGHT-n.l)/y.cC.length,i=(n.l-y.Pg.TARGET_DARK)/y.wH.length,y.cC.forEach((e,t)=>{let i=w.T.changeHslaLightness(n,(t+1)*o);r[e]=w.T.toHslaString(i)}),y.wH.forEach((e,t)=>{let o=w.T.changeHslaLightness(n,-((t+1)*i*1));r[e]=w.T.toHslaString(o)}),r),s)}(e),t)};var A=r(8930);let I=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)"}),z=(0,A.AY)("color-neutral","#000000"),P=k((0,A.AY)("color-danger","#EF4444"),"danger"),D=k((0,A.AY)("color-primary","#2F3037"),"primary"),Y=k((0,A.AY)("color-success","#22C543"),"success"),R=k((0,A.AY)("color-warning","#F36B16"),"warning"),T=C((0,A.AY)("color-danger","#EF4444"),"dangerAlpha"),F=C(z,"neutralAlpha"),E=C((0,A.AY)("color-primary","#2F3037"),"primaryAlpha"),L=C((0,A.AY)("color-success","#22C543"),"successAlpha"),B=C((0,A.AY)("color-warning","#F36B16"),"warningAlpha"),M=C((0,A.AY)("color-border",z),"borderAlpha"),O=(0,A.AY)("color-foreground","#212126"),j=(0,A.AY)("color-muted-foreground",b.T.makeTransparent(O,.35)||"#747686"),U=Object.freeze({avatarBorder:F.neutralAlpha200,avatarBackground:F.neutralAlpha400,colorModalBackdrop:(0,A.AY)("color-modal-backdrop",b.T.makeTransparent(z,.27)||F.neutralAlpha700),colorBackground:(0,A.AY)("color-background","white"),colorInput:(0,A.AY)("color-input","white"),colorForeground:O,colorMutedForeground:j,colorMuted:void 0,colorRing:(0,A.AY)("color-ring",b.T.makeTransparent(z,.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,...I,...D,primaryHover:b.T.adjustForLightness(D.primary500),...E,...P,...T,...R,...B,...Y,...L,...M}),W=Object.freeze({sm:"24%",disabled:"50%",inactive:"62%"}),H=e=>(t,r)=>v.a.modernColor()?e(t,r):`rgba(0, 0, 0, ${r})`,N=(e="#000000",t=H((e,t)=>(0,$.D3)((0,A.AY)("color-shadow",e),100*t)))=>({menuShadow:`0px 5px 15px 0px ${t(e,.08)}, 0px 15px 35px -5px ${t(e,.2)}`,fabShadow:`0px 12px 24px ${t(e,.32)}`,buttonShadow:`0px 1px 1px 0px ${t("#FFFFFF",.07)} inset, 0px 2px 3px 0px ${t(e,.2)}, 0px 1px 1px 0px ${t(e,.24)}`,cardBoxShadow:`0px 5px 15px 0px ${t(e,.08)}, 0px 15px 35px -5px ${t(e,.2)}`,cardContentShadow:`0px 0px 2px 0px ${t(e,.08)}, 0px 1px 2px 0px ${t(e,.06)}`,actionCardShadow:`0px 1px 4px 0px ${t(e,.12)}, 0px 4px 8px 0px ${t(e,.12)}`,outlineButtonShadow:`0px 2px 3px -1px ${t(e,.08)}, 0px 1px 0px 0px ${t(e,.02)}`,input:"0px 0px 1px 0px {{color}}",focusRing:"0px 0px 0px 4px {{color}}",badge:`0px 2px 0px -1px ${t(e,.04)}`,tableBodyShadow:`0px 0px 2px 0px ${t(e,.08)}, 0px 1px 2px 0px ${t(e,.12)}, 0px 0px 0px 1px ${t(e,.06)}`,segmentedControl:`0px 1px 2px 0px ${t(e,.08)}`,switchControl:`0px 2px 2px -1px ${t(e,.06)}, 0px 0px 0px 1px ${t(e,.06)}, 0px 4px 4px -2px ${t(e,.06)}`}),K=Object.freeze(N()),V=Object.freeze({none:"0",xxs:"0.5px",px:"1px"}),G=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}}),Z=(0,A.AY)("spacing","1rem"),q=Object.freeze({"0x25":G["0x25"].rem,"0x5":G["0x5"].rem,1:G["1"].rem,"1x5":G["1x5"].rem,2:G["2"].rem,"2x5":G["2x5"].rem,3:G["3"].rem,"3x25":G["3x25"].rem,"3x5":G["3x5"].rem,4:G["4"].rem,"4x25":G["4x25"].rem,"4x5":G["4x5"].rem,5:G["5"].rem,"5x5":G["5x5"].rem,6:G["6"].rem,7:G["7"].rem,"7x5":G["7x5"].rem,8:G["8"].rem,"8x5":G["8x5"].rem,"8x75":G["8x75"].rem,9:G["9"].rem,10:G["10"].rem,12:G["12"].rem,13:G["13"].rem,16:G["16"].rem,17:G["17"].rem,20:G["20"].rem,24:G["24"].rem,28:G["28"].rem,32:G["32"].rem,36:G["36"].rem,40:G["40"].rem,44:G["44"].rem,48:G["48"].rem,52:G["52"].rem,56:G["56"].rem,57:G["57"].rem,60:G["60"].rem,66:G["66"].rem,94:G["94"].rem,100:G["100"].rem,108:G["108"].rem,120:G["120"].rem,140:G["140"].rem,160:G["160"].rem,176:G["176"].rem,220:G["220"].rem}),X=Object.freeze(Object.fromEntries(Object.entries(G).map(([e,{multiplier:t}])=>[e,4===t?Z:`calc(${Z} * ${.25*t})`]))),J=Object.freeze({...V,...X}),Q=Object.freeze({...V,...q}),ee=Object.freeze({sm:"2 / 3",md:"1",lg:"4 / 3",xl:"2"}),et=(0,A.AY)("border-radius","0.375rem"),er=Object.freeze({none:"0px",circle:"50%",avatar:(0,A.AY)("border-radius-avatar",et),sm:(0,A.AY)("border-radius-sm",`calc(${et} * ${ee.sm})`),md:(0,A.AY)("border-radius-md",et),lg:(0,A.AY)("border-radius-lg",`calc(${et} * ${ee.lg})`),xl:(0,A.AY)("border-radius-xl",`calc(${et} * ${ee.xl})`),halfHeight:"99999px"}),en=Object.keys(G);var eo=r(4091);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")}),ea=Object.freeze({normal:"normal",extraSmall:"calc(16 / 12)",small:"calc(18 / 13)",medium:"calc(24 / 17)",large:"calc(16 / 11)"}),el=Object.freeze({normal:"normal"}),es=Object.freeze({xs:"11 / 13",sm:"12 / 13",md:"1",lg:"17 / 13",xl:"24 / 13"}),ec=(0,A.AY)("font-size","0.8125rem"),ed=Object.freeze({xs:(0,A.AY)("font-size-xs",`calc(${ec} * ${es.xs})`),sm:(0,A.AY)("font-size-sm",`calc(${ec} * ${es.sm})`),md:(0,A.AY)("font-size-md",ec),lg:(0,A.AY)("font-size-lg",`calc(${ec} * ${es.lg})`),xl:(0,A.AY)("font-size-xl",`calc(${ec} * ${es.xl})`)}),eu=Object.freeze({normal:"normal"}),ep=Object.freeze({main:(0,A.AY)("font-family","inherit"),buttons:(0,A.AY)("font-family-buttons",(0,A.AY)("font-family","inherit"))}),em=Object.freeze({card:"10",navbar:"100",fab:"9000",modal:"10000",dropdown:"11000"}),eh=h(Object.freeze({colors:U,fonts:ep,fontStyles:eu,fontSizes:ed,fontWeights:ei,letterSpacings:el,lineHeights:ea,radii:er,sizes:Q,space:J,shadows:K,transitionProperty:eo.Rx,transitionTiming:eo._8,transitionDuration:eo.KP,transitionDurationValues:eo.wz,opacity:W,borderStyles:f,borderWidths:g,zIndices:em}));var ef=r(1020);let eg=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},ev={theme:"auto",size:"normal",language:""},ey=(e,t)=>{if(!e)return;let r=e.theme;void 0!==r&&(Array.isArray(r)?r:[r]).forEach(e=>{"string"==typeof e?ey(((e="clerk")=>"simple"===e?m:p)(e),t):ey(e,t)}),t.push(e)},ew=e=>{let t,r,n,o,i,a,l,s,c,d,u,p;if(!e)return{};let m={...(p=e.variables||{},r=k((t=v.a.modernColor()?p:Object.fromEntries(Object.entries(p).filter(([e,t])=>{if("string"==typeof t){let r=!t.startsWith("var(");return r||console.warn(`Invalid color value: ${t} for key: ${e}, using default value instead. Using CSS variables is not supported in this browser.`),r}return"object"==typeof t&&Object.entries(t).every(([e,t])=>{if("string"!=typeof t)return!0;let r=!t.startsWith("var(");return r||console.warn(`Invalid color value: ${t} for key: ${e}, using default value instead. Using CSS variables is not supported in this browser.`),r})}))).colorDanger,"danger"),n=k(t.colorPrimary,"primary"),o=k(t.colorSuccess,"success"),i=k(t.colorWarning,"warning"),a=C(r?.danger500,"dangerAlpha"),l=C(t.colorNeutral,"neutralAlpha"),s=C(n?.primary500,"primaryAlpha"),c=C(o?.success500,"successAlpha"),d=C(i?.warning500,"warningAlpha"),u=C(t.colorBorder||t.colorNeutral,"borderAlpha"),eg({...r,...n,...o,...i,...a,...l,...s,...c,...d,...u,primaryHover:b.T.adjustForLightness(n?.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:l?.neutralAlpha400?b.T.toHslaString(l.neutralAlpha400):void 0,avatarBorder:l?.neutralAlpha200?b.T.toHslaString(l.neutralAlpha200):void 0}))},f={...(e=>{let{borderRadius:t}=e.variables||{};if(void 0===t)return;let r="none"===t?"0":t;return{sm:`calc(${r} * ${ee.sm})`,md:r,lg:`calc(${r} * ${ee.lg})`,xl:`calc(${r} * ${ee.xl})`}})(e)},g={...(e=>{let{spacing:t}=e.variables||{};if(void 0!==t)return(0,ef.P)(en.map(e=>{let r=Number.parseFloat(e.replace("x","."));return[e,`calc(${t} * ${r/.5*.125})`]}))})(e)},y={...(e=>{let{fontSize:t}=e.variables||{};if(void 0!==t)return"object"==typeof t?eg(Object.fromEntries(Object.entries(es).map(([e,r])=>[e,t[e]??void 0]))):Object.fromEntries(Object.entries(es).map(([e,r])=>[e,"1"===r?t:`calc(${t} * ${r})`]))})(e)},w={...(e=>{let{fontWeight:t}=e.variables||{};return eg({...t})})(e)};return h({colors:m,radii:f,space:g,fontSizes:y,fontWeights:w,fonts:{...(e=>{let{fontFamily:t,fontFamilyButtons:r}=e.variables||{};return eg({main:t,buttons:r})})(e)},shadows:{...(e=>{let{colorShadow:t}=e.variables||{};if(!t)return;let r=b.T.toHslaString(t);if(r)return N(r,H((e,t)=>(0,$.D3)(e,100*t)))})(e)}})},[e$,ex]=(0,o.e3)("AppearanceContext"),e_=e=>{let t=(0,o.Oc)(()=>({value:(e=>{var t;let r,n,o,{globalAppearance:a,appearance:l,appearanceKey:s}=e,c=[];[a,a?.[s],l].forEach(e=>ey(e,c));let d=(t=c,r={},(0,i.n)({...eh},r),t.forEach(e=>{(0,i.n)(ew(e),r)}),r),u=(n=c,{...eb,...n.reduce((e,t)=>({...e,...t.options}),{})}),m=(o=c,{...ev,...o.reduce((e,t)=>{if(t.captcha){let{theme:r,size:n,language:o}=t.captcha;return{...e,...r&&{theme:r},...n&&{size:n},...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=>({...e?.elements})),parsedInternalTheme:d,parsedOptions:u,parsedCaptcha:m}})(e)}),[e.appearance,e.globalAppearance,e.appearanceKey]);return(0,n.Y)(e$.Provider,{value:t,children:e.children})}},4607:function(e,t,r){r.d(t,{n:()=>p});var n=r(4518),o=r(5074),i=r(3269),a=r(7436);let l=o.memo(e=>{let[t,r]=o.useState(!0),i=o.useRef(null);return o.useEffect(()=>{let n=i.current;n&&(t&&r(!1),n.setAttribute("class",e.className),"isFlowReady"in e&&n.setAttribute("data-component-status",e.isFlowReady?"ready":"awaiting-data"))},[e.className,e.isFlowReady]),(0,n.FD)(n.FK,{children:[e.children,t&&(0,n.Y)("span",{ref:e=>i.current=e?e.parentElement:i.current,"aria-hidden":!0,style:{display:"none"}})]})}),s=(0,a.H)(l,{defaultStyles:e=>({boxSizing:"border-box",width:"fit-content",fontFamily:e.fonts.$main,fontStyle:e.fontStyles.$normal})});var c=r(9406),d=r(7298),u=r(8920);let p={Root:e=>(0,n.Y)(i.FlowMetadataProvider,{flow:e.flow,children:(0,n.Y)(c.S,{children:(0,n.Y)(s,{elementDescriptor:u.$z.rootBox,className:(0,d.DV)(e),...e})})}),Part:e=>{let{flow:t}=(0,i.PB)();return(0,n.Y)(i.FlowMetadataProvider,{flow:t,part:e.part,children:(0,n.Y)(c.S,{children:e.children})})}}},7298:function(e,t,r){r.d(t,{DV:()=>b,Pl:()=>a,sL:()=>u,y9:()=>v});var n=r(8920);let o=Object.freeze({loading:` ${n.kh}loading`,error:` ${n.kh}error`,open:` ${n.kh}open`,active:` ${n.kh}active`}),i=Object.freeze({loading:2,error:2,open:2,active:2}),a=(e,t,r,n)=>{let o=h(n),i="",a=[];return i=m(i=d(i=c(i=s(i=l(i,t),t,r),o),n),e,t,r,o),p(a,e,t,r,o),{className:i,css:a}},l=(e,t)=>{for(let r=t.length-1;r>=0;r--)e+=t[r].targettableClassname+" ";return e.trimEnd()},s=(e,t,r)=>{if(!r)return e;for(let n=t.length-1;n>=0;n--)e=e+" "+t[n].getTargettableIdClassname(r);return e},c=(e,t)=>t?e+o[t]:e,d=(e,t)=>t&&t.isRequired?e+` ${n.kh}required`:e,u=(e,t)=>e+(t?" "+t:"")+" \uD83D\uDD12️",p=(e,t,r,n,o)=>{for(let i=0;i<r.length;i++)for(let a=0;a<t.length;a++)w(e,t[a],r[i],n,o)},m=(e,t,r,n,o)=>{for(let i=0;i<r.length;i++)for(let a=0;a<t.length;a++)e=y(e,t[a],r[i],n,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=(e,t,r=0)=>{r?t&&"object"==typeof t&&e.push({["&".repeat(r)]:t}):t&&"object"==typeof t&&e.push(t)},b=e=>n.kh+e.flow+"-root",v=e=>e.part?n.kh+e.flow+"-"+e.part:"",y=(e,t,r,n,o)=>(t&&(e=f(e,t[r.objectKey]),n&&(e=f(e,t[r.getObjectKeyWithId(n)])),o&&(e=f(e,t[r.getObjectKeyWithState(o)])),n&&o&&(e=f(e,t[r.getObjectKeyWithIdAndState(n,o)]))),e),w=(e,t,r,n,o)=>{t&&(g(e,t[r.objectKey]),n&&g(e,t[r.getObjectKeyWithId(n)]),o&&g(e,t[r.getObjectKeyWithState(o)],i[o]),n&&o&&g(e,t[r.getObjectKeyWithIdAndState(n,o)],i[o]))}},8920:function(e,t,r){r.d(t,{kh:()=>o,$z:()=>l});var n=r(1020);let o="cl-",i=["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"].map(e=>e.replace(/-./g,e=>e[1].toUpperCase())),a=e=>e.replace(/([-][a-z])/,e=>e[1].toUpperCase()),l=((e=i)=>{let t=e.map(e=>{var t;let r;return[a(e),{objectKey:r=a(t=e),targettableClassname:o+t,getTargettableIdClassname:e=>o+t+"__"+e.id,getObjectKeyWithState:e=>r+"__"+e,getObjectKeyWithId:e=>r+"__"+e.id,getObjectKeyWithIdAndState:(e,t)=>r+"__"+e.id+"__"+t,setId:e=>e?{id:e,__type:"id"}:void 0}]});return(0,n.P)(t)})()},8272:function(e,t,r){let n,o;r.d(t,{Fc:()=>eK,Dt:()=>ta,dF:()=>ej,_0:()=>eV,L9:()=>tl,XI:()=>e8,wF:()=>eQ,$G:()=>eZ,NN:()=>te,_V:()=>eN,Ex:()=>e7,$n:()=>eO,xA:()=>eM,AT:()=>eX,EY:()=>eH,Th:()=>tr,Tr:()=>tt,AppearanceProvider:()=>eF.Q,fv:()=>eB,vd:()=>e3,so:()=>eL,lV:()=>e5,N_:()=>eW,d8:()=>e9,cN:()=>e2,Dd:()=>ti,DZ:()=>eU,sE:()=>e1,pd:()=>eG,Oc:()=>eq,In:()=>e4,Dl:()=>to,TP:()=>e0,y$:()=>e6,az:()=>eE,Td:()=>tn,lR:()=>eJ});var i,a,l,s=r(78),c=r(7736),d=r(6488),u=r(4518),p=r(5074),m=r(1914);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 b=r(8920);let v=function(e){return p.createElement("svg",e,i||(i=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=r(2637),w=r(1464),$=r(1908);let x=(0,y.T)("accent","accentHover","accentContrast","alpha","border"),{applyVariants:_,filterProps:S}=(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:`${e.space.$1} ${e.space.$3}`},sm:{padding:`${e.space.$1x5} ${e.space.$3}`},md:{padding:`${e.space.$2x5} ${e.space.$5}`}},colorScheme:{primary:{[x.accent]:e.colors.$primary500,[x.accentHover]:e.colors.$primaryHover,[x.border]:e.colors.$primary500,[x.accentContrast]:e.colors.$colorPrimaryForeground,[x.alpha]:e.colors.$neutralAlpha50},secondary:{[x.accent]:e.colors.$colorBackground,[x.accentHover]:`color-mix(in srgb, ${x.accent}, ${e.colors.$neutralAlpha50})`,[x.border]:e.colors.$primary500,[x.accentContrast]:e.colors.$colorForeground,[x.alpha]:e.colors.$neutralAlpha50},neutral:{[x.accent]:e.colors.$neutralAlpha600,[x.accentHover]:e.colors.$neutralAlpha700,[x.border]:e.colors.$neutralAlpha200,[x.accentContrast]:e.colors.$white,[x.alpha]:e.colors.$neutralAlpha50},danger:{[x.accent]:e.colors.$danger500,[x.accentHover]:e.colors.$danger600,[x.accentContrast]:e.colors.$white,[x.border]:e.colors.$danger500,[x.alpha]:e.colors.$dangerAlpha50}},variant:{solid:{backgroundColor:x.accent,color:x.accentContrast,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:x.accent,"&:hover":{backgroundColor:x.accentHover},"&:focus":t.hoverAsFocus?{backgroundColor:x.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:x.accentContrast,backgroundColor:x.accent,"&:hover":{backgroundColor:x.accentHover},"&:focus":t.hoverAsFocus?{backgroundColor:x.accentHover,borderColor:e.colors.$borderAlpha300}:void 0},ghost:{color:x.accent,"&:hover":{backgroundColor:x.alpha,color:x.accentHover},"&:focus":t.hoverAsFocus?{backgroundColor:x.alpha,color:x.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}})),C=({children:e})=>(0,u.FD)(d.s,{align:"center",as:"span",children:[e,(0,u.Y)(e4,{elementDescriptor:b.$z.buttonArrowIcon,icon:v,sx:e=>({marginLeft:e.space.$2,width:e.sizes.$2x5,height:e.sizes.$2x5,opacity:e.opacity.$inactive})})]}),k=p.forwardRef((e,t)=>{let r={...e,isDisabled:e.isDisabled||e.isLoading},{isLoading:n,isDisabled:o,hoverAsFocus:i,loadingText:a,children:l,hasArrow:s,onClick:c,...p}=S(r);return(0,u.FD)("button",{...(0,$.k)(p),type:void 0,onClick:e=>("submit"!==p.type&&e.preventDefault(),c?.(e)),disabled:o,"data-variant":e.variant||"solid","data-color":e.colorScheme||"primary",css:_(r),ref:t,children:[n&&(0,u.FD)(d.s,{as:"span",gap:2,center:!0,css:{position:"relative"},children:[(0,u.Y)(e6,{"aria-label":a||"Loading",elementDescriptor:b.$z.spinner,sx:{position:a?void 0:"absolute"}}),a||(0,u.Y)("span",{style:{display:"inline-flex",visibility:"hidden"},children:l})]}),!n&&(s?(0,u.Y)(C,{children:l}):l)]})}),A=p.forwardRef((e,t)=>{let r={...e,isDisabled:e.isDisabled||e.isLoading},{loadingText:n,isDisabled:o,hoverAsFocus:i,children:a,onClick:l,...s}=S(r);return(0,u.Y)("button",{...(0,$.k)(s),type:void 0,onClick:e=>("submit"!==s.type&&e.preventDefault(),l?.(e)),css:_(r),disabled:o,"data-variant":e.variant||"solid","data-color":e.colorScheme||"primary",ref:t,children:a})}),{applyVariants:I,filterProps:z}=(0,m.v)(e=>({base:{boxSizing:"border-box",color:`${e.colors.$colorForeground}`,margin:0},variants:{textVariant:{...w.s.textVariants(e)}},defaultVariants:{as:"h1",textVariant:"h1"}}));var P=r(3707);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:r="p",...n}=e;return(0,u.Y)(r,{...(0,$.k)(Y(n)),css:D(e),ref:t})}),T=p.forwardRef((e,t)=>(0,u.Y)("img",{crossOrigin:"anonymous",...(0,$.k)(e),ref:t}));var F=r(2349),E=r(1603),L=r(9068);let{applyVariants:B,filterProps:M}=(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=r(2204),j=r(593);let{applyVariants:U}=(0,m.v)(e=>({base:{color:e.colors.$colorForeground,...w.s.textVariants(e).subtitle,...w.s.disabled(e)},variants:{}}));function W(){return(W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let H=function(e){return p.createElement("svg",W({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},e),a||(a=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=r(4374);let{applyVariants:K}=(0,m.v)(e=>({base:{marginTop:e.sizes.$1x5,animation:`${N.W.textInSmall} ${e.transitionDuration.$fast}`,display:"flex",gap:e.sizes.$1,position:"absolute",top:"0",textAlign:"left"},variants:{}})),V=(0,p.forwardRef)((e,t)=>{let{hasError:r}=(0,j.Wd)()||{};if(!r&&!e.children)return null;let{children:n,...o}=e;return(0,u.FD)(R,{ref:t,colorScheme:"danger",...o,css:K(e),children:[(0,u.Y)(e4,{colorScheme:"danger",icon:H}),n]})});function G(){return(G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}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:`${N.W.textInSmall} ${e.transitionDuration.$fast}`,display:"flex",gap:e.sizes.$1,position:"absolute",top:"0",textAlign:"left"},variants:{}})),X=(0,p.forwardRef)((e,t)=>{let{children:r,...n}=e;return(0,u.FD)(R,{ref:t,colorScheme:"secondary",...n,css:q(e),children:[(0,u.Y)(e4,{colorScheme:"success",icon:Z}),r]})}),J=(0,p.forwardRef)((e,t)=>{let{children:r,...n}=e;return(0,u.FD)(R,{ref:t,colorScheme:"secondary",...n,css:q(e),children:[(0,u.Y)(e4,{colorScheme:"warning",icon:H}),r]})}),Q=(0,p.forwardRef)((e,t)=>{let{hasError:r}=(0,j.Wd)()||{};return r||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:er}=(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 en=r(7852);let eo=(0,y.T)("accent","bg","borderColor"),{applyVariants:ei,filterProps:ea}=(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:`${e.space.$0x25} ${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:`${e.space.$0x5} ${e.space.$1}`,display:"inline-flex"},variants:{textVariant:{...w.s.textVariants(e)},colorScheme:{primary:{[el.accent]:e.colors.$colorPrimaryForeground,[el.bg]:`linear-gradient(180deg, ${e.colors.$whiteAlpha300} 0%, ${e.colors.$transparent} 100%), ${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=r(4620);let{applyVariants:eb,filterProps:ev}=(0,m.v)(e=>({base:{textAlign:"left",fontSize:e.fontSizes.$sm,fontWeight:e.fontWeights.$normal,color:eg.T.setAlpha(e.colors.$colorForeground,.62),padding:`${e.space.$2} ${e.space.$4}`},variants:{}})),ey=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"th",...ev(e),css:eb(e),ref:t})),{applyVariants:ew,filterProps:e$}=(0,m.v)(e=>({base:{fontSize:e.fontSizes.$xs,fontWeight:e.fontWeights.$normal,color:e.colors.$colorForeground},variants:{}})),ex=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"td",...e$(e),css:ew(e),ref:t})),e_=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"dl",css:{margin:0},...e,ref:t})),eS=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"dd",css:{margin:0},...e,ref:t})),eC=p.forwardRef((e,t)=>(0,u.Y)(c.a,{as:"dt",css:{margin:0},...e,ref:t})),ek=p.forwardRef((e,t)=>(0,u.Y)("span",{...e,ref:t})),{applyVariants:eA,filterProps:eI}=(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",...eI(e),css:eA(e),ref:t}));var eP=r(7436),eD=r(4173);let eY=["https://img.clerk.com/","https://img.clerkstage.dev/","https://img.lclclerk.com/"],eR=({src:e,width:t})=>{if(!(0,eD.AY)(e)||(0,eD.V0)(e)||"string"!=typeof e)return e;let r=new URL(e);return t&&r.searchParams.append("width",t?.toString()),r.href},eT=e=>p.forwardRef((t,r)=>{let{elementId:n,elementDescriptor:o,localizationKey:i,...a}=t;return(0,u.Y)(e,{...a,ref:r})});var eF=r(6580);let eE=(0,eP.H)(eT(c.a)),eL=(0,eP.H)(eT(d.s)),eB=(0,eP.H)(eT(d.f)),eM=(0,eP.H)(eT(g)),eO=(0,eP.H)((0,s.d)(eT(k)),{defaultDescriptor:b.$z.button}),ej=(0,eP.H)((0,s.d)(eT(A)),{defaultDescriptor:b.$z.button}),eU=(0,eP.H)((0,s.d)(eT(e=>{let{as:t="h1",...r}=e;return(0,u.Y)(t,{...z(r),css:I(e)})}))),eW=(0,eP.H)((0,s.d)(eT(P.N))),eH=(0,eP.H)((0,s.d)(eT(R))),eN=(0,eP.H)(eT((n=p.forwardRef((e,t)=>{let r,{src:n,size:o=80,xDescriptors:i=[1,2],...a}=e,l=(r=n,!!eY.some(e=>r?.includes(e)));return(0,u.Y)(T,{srcSet:l?(({src:e,width:t,xDescriptors:r})=>e?r.map(r=>`${eR({src:e,width:t*r})} ${r}x`).toString():"")({src:n,width:o,xDescriptors:i}):void 0,src:l?eR({src:n,width:2*o}):n,...a,ref:t})}),o=T.displayName||T.name||"Component",n.displayName=`Responsive${o}`.replace("_",""),n))),eK=(0,eP.H)(eT(F.F)),eV=(0,eP.H)(eT(e=>{let{variant:t,...r}=e,n={warning:E.A,danger:E.A,primary:L.A,info:L.A}[t];return(0,u.Y)(n,{...M(r),css:B(e)})})),eG=(0,eP.H)(eT(O.pd),{defaultDescriptor:b.$z.input}),eZ=(0,eP.H)(eT(O.EP),{defaultDescriptor:b.$z.input}),eq=(0,eP.H)(eT(O.Oc),{defaultDescriptor:b.$z.checkbox}),eX=(0,eP.H)(eT(O.AT),{defaultDescriptor:b.$z.radio}),eJ=(0,eP.H)((0,s.d)(eT(e=>{let{id:t}=(0,j.Wd)(),{isRequired:r,htmlFor:n,...o}=e;return(0,u.Y)("label",{...(0,$.k)(o),htmlFor:n??t,css:U(e),children:e.children})}))),eQ=(0,eP.H)((0,s.d)(eT(V))),e0=(0,eP.H)((0,s.d)(eT(X))),e1=(0,eP.H)((0,s.d)(eT(J))),e2=(0,eP.H)((0,s.d)(eT(Q))),e5=(0,eP.H)(eT(ee)),e4=(0,eP.H)(eT(e=>{let{icon:t,...r}=e;return(0,u.Y)(t,{...er(r),css:et(e)})})),e6=(0,eP.H)(eT(en.y)),e7=(0,eP.H)((0,s.d)(eT(e=>(0,u.Y)(d.s,{...ea(e),center:!0,as:"span",css:ei(e),"data-color":e.colorScheme||"primary"}))),{defaultDescriptor:b.$z.badge}),e3=(0,eP.H)((0,s.d)(eT(e=>(0,u.Y)(d.s,{...ec(e),center:!0,as:"span",css:[es(e),{lineHeight:0}]}))),{defaultDescriptor:b.$z.notificationBadge}),e8=(0,eP.H)(eT(ep),{defaultDescriptor:b.$z.table}),e9=(0,eP.H)(eT(em),{defaultDescriptor:b.$z.tableHead}),te=(0,eP.H)(eT(eh),{defaultDescriptor:b.$z.tableBody}),tt=(0,eP.H)(eT(ef),{defaultDescriptor:b.$z.tableRow}),tr=(0,eP.H)((0,s.d)(eT(ey)),{defaultDescriptor:b.$z.tableHeaderCell}),tn=(0,eP.H)((0,s.d)(eT(ex)),{defaultDescriptor:b.$z.tableBodyCell}),to=(0,eP.H)((0,s.d)(eT(e_))),ti=(0,eP.H)((0,s.d)(eT(eS))),ta=(0,eP.H)((0,s.d)(eT(eC))),tl=(0,eP.H)((0,s.d)(eT(ek)));(0,eP.H)(eT(ez))},7436:function(e,t,r){r.d(t,{H:()=>l});var n=r(4518),o=r(5074),i=r(6580),a=r(7298);let l=(e,t)=>{let{defaultStyles:r,defaultDescriptor:l}=t||{},s=o.forwardRef((t,o)=>{let{elementDescriptor:s,elementId:c,sx:d,className:u,...p}=t,{parsedElements:m}=(0,i.K)(),h=[l,...Array.isArray(s)?s:[s]].filter(e=>e);if(!h.length)return(0,n.Y)(e,{css:d,...p,className:u,ref:o});let f=(0,a.Pl)(m,h,c,t),g=(0,a.sL)(f.className,u);return f.css.unshift(r,d),(0,n.Y)(e,{elementId:c,css:f.css,className:g,...p,ref:o})}),c=e.displayName||e.name||"Component";return s.displayName=`Customizable${c}`.replace("_",""),s}},2513:function(e,t,r){r.d(t,{D5:()=>s,jG:()=>d});var n=r(4518),o=r(9361),i=r(5074),a=r(579);let[l,s,c]=(0,o.e3)("ActionContext"),d=e=>{let{animate:t=!0,children:r,value:o,onChange:s}=e,[c,d]=(0,i.useState)(null),u=(0,i.useCallback)(()=>{s?s(null):d(null)},[s]),p=(0,i.useCallback)(e=>{s?s(e):d(e)},[s]),m=(0,n.Y)(l.Provider,{value:{value:{active:void 0!==o?o:c,open:p,close:u}},children:r});return t?(0,n.Y)(a.k,{children:m}):m}},3453:function(e,t,r){r.d(t,{r:()=>c});var n=r(4518),o=r(8272),i=r(8920),a=r(2513),l=r(5074);let s=l.forwardRef((e,t)=>(0,n.Y)("div",{ref:t,...e})),c={Root:a.jG,Card:e=>{let{children:t,sx:r,variant:a="neutral",...l}=e;return(0,n.Y)(o.fv,{elementDescriptor:i.$z.actionCard,sx:[e=>({gap:e.space.$4,borderRadius:e.radii.$lg,padding:`${e.space.$4} ${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}}[a]}),r],...l,children:t})},Trigger:e=>{let{children:t,value:r,hideOnActive:n=!0}=e,{active:o,open:i}=(0,a.D5)(),s=l.Children.only(t);if(!(0,l.isValidElement)(s))throw Error("Children of ActionTrigger must be a valid element");return n&&o===r?null:(0,l.cloneElement)(s,{onClick:async()=>{await s.props.onClick?.(),i(r)}})},Open:({children:e,value:t})=>{let{active:r}=(0,a.D5)(),o=(0,l.useRef)(null);return((0,l.useEffect)(()=>{let e=o.current,n=new MutationObserver(()=>{n.disconnect(),e&&setTimeout(()=>{e.scrollIntoView({behavior:"smooth",block:"center"})},300)});return r===t&&e&&n.observe(e,{childList:!0,subtree:!0,attributes:!0}),()=>n.disconnect()},[r,t]),r!==t)?null:(0,n.Y)(s,{ref:o,children:e})},Closed:e=>{let{children:t,value:r}=e,n=Array.isArray(r)?r:[r],{active:o}=(0,a.D5)();return o&&n.includes(o)?null:t}}},2531:function(e,t,r){r.d(t,{En:()=>c,K5:()=>u,Rh:()=>d,rc:()=>p});var n=r(4518);r(5074);var o=r(8272),i=r(78),a=r(8920),l=r(3269),s=r(4901);let c=e=>{let{sx:t,...r}=e;return(0,n.Y)(o.fv,{sx:[e=>({"> button,div":{border:`0 solid ${e.colors.$borderAlpha100}`},">:not([hidden],:empty)~:not([hidden],:empty)":{borderTopWidth:"1px",borderBottomWidth:"0"}}),t],...r})},d=e=>(0,n.Y)(o.fv,{...e}),u=e=>{let{sx:t,iconBoxSx:r,iconSx:o,...i}=e;return(0,n.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:`${e.space.$1} ${e.space.$1x5}`}),t],iconSx:[e=>({width:e.sizes.$4,height:e.sizes.$4}),o],iconBoxSx:[{flex:"unset"},r],...i})},p=e=>{let t=(0,l.f0)(),r=(0,s.m)(),{t:c}=(0,i._)(),{icon:d,label:u,onClick:p,iconElementDescriptor:m,sx:h,iconElementId:f,iconSx:g,iconBoxElementDescriptor:b,iconBoxElementId:v,iconBoxSx:y,trailing:w,spinnerSize:$,...x}=e,_=async e=>{t.setLoading(),r.setLoading();try{await p?.(e)}finally{t.setIdle(),r.setIdle()}};return(0,n.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:_,role:"menuitem",...x,children:[(0,n.Y)(o.so,{elementDescriptor:b,elementId:v,justify:"center",as:"span",sx:[e=>({flex:`0 0 ${e.sizes.$9}`,gap:e.space.$2,alignItems:"center"}),y],children:r.isLoading?(0,n.Y)(o.y$,{size:$||"xs",elementDescriptor:a.$z.spinner,sx:e=>({marginRight:e.space.$1})}):(0,n.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]})}},8036:function(e,t,r){r.d(t,{F:()=>a});var n=r(4518),o=r(8272),i=r(8920);let a=e=>{let{children:t,title:r,subtitle:a,variant:l="warning",...s}=e;return t||r||a?(0,n.FD)(o.Fc,{elementDescriptor:i.$z.alert,elementId:i.$z.alert.setId(l),colorScheme:l,align:"start",...s,sx:[s.sx],children:[(0,n.Y)(o._0,{elementId:i.$z.alert.setId(l),elementDescriptor:i.$z.alertIcon,variant:l,colorScheme:l,sx:{flexShrink:"0"}}),(0,n.FD)(o.fv,{elementDescriptor:i.$z.alertTextContainer,elementId:i.$z.alertTextContainer.setId(l),gap:1,children:[(0,n.Y)(o.EY,{elementDescriptor:i.$z.alertText,elementId:i.$z.alert.setId(l),colorScheme:"danger"===l?"danger":"warning"===l?"warning":"secondary",variant:"body",localizationKey:r,sx:{textAlign:"left"},children:t}),a&&(0,n.Y)(o.EY,{elementDescriptor:i.$z.alertText,elementId:i.$z.alert.setId(l),colorScheme:"danger"===l?"danger":"secondary",variant:"body",localizationKey:a})]})]}):null}},579:function(e,t,r){r.d(t,{k:()=>l});var n=r(4518),o=r(1035),i=r(5074),a=r(6580);let l=e=>{let{children:t,asChild:r}=e,{animations:l}=(0,a.K)().parsedOptions,[s]=(0,o.Q)();return r?(0,i.cloneElement)(t,{ref:l?s:null}):(0,n.Y)("div",{ref:l?s:null,children:t})}},2037:function(e,t,r){r.d(t,{G:()=>u});var n=r(4518),o=r(5074),i=r(7697),a=r(6580),l=r(8272),s=r(8920),c=r(3707),d=r(4387);let u=e=>{let{src:t,alt:r,href:u,isExternal:p,sx:m,...h}=e,f=o.useRef(null),[g,b]=o.useState(!1),{logoImageUrl:v,applicationName:y,homeUrl:w}=(0,i.O)().displayConfig,{parsedOptions:$}=(0,a.K)(),x=t||$.logoImageUrl||v,_=u||$.logoLinkUrl||w;if(!x)return null;let S=(0,n.Y)(l._V,{ref:f,elementDescriptor:s.$z.logoImage,alt:r||y,src:x,size:200,onLoad:()=>b(!0),sx:{display:g?"inline-block":"none",height:"100%",width:"100%",objectFit:"contain"}});return(0,n.Y)(l.so,{elementDescriptor:s.$z.logoBox,...h,sx:[e=>({height:((e,t)=>{if(!e.current)return`calc(${t} * 2)`;let r=e.current.naturalWidth/e.current.naturalHeight;return r<=1?`calc(${t} * 2)`:r>1&&r<=2?`calc((${t} * 2) / ${r})`:t})(f,e.sizes.$6),justifyContent:"center"}),m],children:_?p?(0,n.Y)(c.N,{focusRing:!0,href:_,isExternal:!0,children:S}):(0,n.Y)(d.W,{focusRing:!0,to:_,children:S}):S})}},8738:function(e,t,r){r.d(t,{X:()=>l});var n=r(4518),o=r(5074),i=r(8272),a=r(2067);let l=o.forwardRef((e,t)=>{let{rightIcon:r=a.A,rightIconSx:l,leftIcon:s,leftIconSx:c,leftIconElementId:d,leftIconElementDescriptor:u,isLoading:p,children:m,textElementDescriptor:h,textElementId:f,spinnerElementDescriptor:g,spinnerElementId:b,arrowElementDescriptor:v,arrowElementId:y,textLocalizationKey:w,childrenSx:$,badge:x,textVariant:_="buttonSmall",...S}=e,C=(0,o.isValidElement)(s);return(0,n.FD)(i.dF,{variant:"outline",block:!0,isLoading:p,...S,ref:t,sx:t=>[{gap:t.space.$2,position:"relative",justifyContent:"center",borderColor:t.colors.$neutralAlpha100,alignItems:"center",padding:`${t.space.$1x5} ${t.space.$3} ${t.space.$1x5} ${t.space.$2x5}`,"--arrow-opacity":"0","--arrow-transform":`translateX(-${t.space.$2});`,"&:hover,&:focus ":{"--arrow-opacity":"0.5","--arrow-transform":"translateX(0px);"}},e.sx],children:[(p||s)&&(0,n.Y)(i.so,{as:"span",sx:e=>({width:e.space.$4,height:e.space.$4,flex:"none",alignItems:"center"}),children:p?(0,n.Y)(i.y$,{elementDescriptor:g,elementId:b,size:"md"}):!C&&s?(0,n.Y)(i.In,{elementDescriptor:u,elementId:d,icon:s,sx:[e=>({width:e.sizes.$4,transform:"translateZ(0)"}),c]}):s}),(0,n.FD)(i.so,{gap:2,as:"span",sx:[{overflow:"hidden"},$],children:[(0,n.Y)(i.EY,{elementDescriptor:h,elementId:f,as:"span",truncate:!0,variant:_,localizationKey:w,children:m}),x]}),r&&(0,n.Y)(i.In,{elementDescriptor:v,elementId:y,icon:r,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]})]})})},6195:function(e,t,r){r.d(t,{e:()=>s});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(1464);let s=e=>{let{size:t=()=>26,title:r,initials:l,imageUrl:s,rounded:d=!0,imageFetchSize:u=80,sx:p,boxElementDescriptor:m,imageElementDescriptor:h}=e,[f,g]=o.useState(!1),b=l&&(!s||f)?(0,n.Y)(c,{initials:l}):(0,n.Y)(i._V,{elementDescriptor:[h,a.$z.avatarImage],title:r,alt:`${r}'s logo`,src:s||"",sx:{objectFit:"cover",width:"100%",height:"100%"},onError:()=>g(!0),size:u});return(0,n.FD)(i.so,{as:"span",elementDescriptor:[m,a.$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:[b,(0,n.Y)(i.az,{as:"span",sx:e=>({overflow:"hidden",background:e.colors.$colorShimmer,position:"absolute",width:"25%",height:"100%",transition:`all ${e.transitionDuration.$slow} ${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 ${e.transitionDuration.$slow} ${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,n.Y)(i.EY,{as:"span",sx:e=>({...l.s.centeredFlex("inline-flex"),width:"100%",color:e.colors.$colorForeground}),children:t})}},3817:function(e,t,r){r.d(t,{k:()=>p});var n=r(4518),o=r(5074),i=r(78),a=r(2861),l=r(8272),s=r(8920),c=r(4468),d=r(3269);let u=Object.freeze(["image/png","image/jpeg","image/gif","image/webp"]),p=e=>{let{t}=(0,i._)(),[r,p]=o.useState(!1),[m,h]=o.useState(),f=(0,d.f0)(),g=o.useRef(null),b=()=>g.current?.click(),{onAvatarChange:v,onAvatarRemove:y,title:w,avatarPreview:$,avatarPreviewPlaceholder:x,..._}=e,S=e=>null===e?h(""):(new Promise((t,r)=>{let n=new FileReader;n.readAsDataURL(e),n.onload=()=>t(n.result),n.onerror=e=>r(e)}).then(h),f.setLoading(),v(e).then(()=>{p(!r),f.setIdle()}).catch(e=>(0,c.H4)(e,[],f.setError))),C=async()=>(f.setLoading(),await S(null),y?.()),k=async e=>{if(e){if(!u.includes(e.type))return void f.setError(t((0,a.G)("unstable__errors.avatar_file_type_invalid")));if(!(e.size<=1e7))return void f.setError(t((0,a.G)("unstable__errors.avatar_file_size_exceeded")));await S(e)}},A=m?o.cloneElement($,{imageUrl:m}):x?o.cloneElement(x,{onClick:b}):$;return(0,n.FD)(l.fv,{gap:4,children:[(0,n.Y)("input",{type:"file",accept:u.join(","),style:{display:"none"},ref:g,onChange:e=>k(e.currentTarget.files?.[0])}),(0,n.FD)(l.so,{gap:4,align:"center",..._,children:[A,(0,n.FD)(l.fv,{gap:1,children:[(0,n.FD)(l.so,{elementDescriptor:s.$z.avatarImageActions,gap:2,children:[(0,n.Y)(l.dF,{elementDescriptor:s.$z.avatarImageActionsUpload,localizationKey:(0,a.G)("userProfile.profilePage.imageFormSubtitle"),isDisabled:f.isLoading,variant:"outline",size:"xs",onClick:b}),!!y&&!r&&(0,n.Y)(l.$n,{elementDescriptor:s.$z.avatarImageActionsRemove,localizationKey:(0,a.G)("userProfile.profilePage.imageFormDestructiveActionSubtitle"),isDisabled:f.isLoading,sx:e=>({color:e.colors.$danger500}),variant:"ghost",colorScheme:"danger",onClick:C,size:"xs"})]}),(0,n.Y)(l.EY,{colorScheme:"secondary",sx:e=>({fontSize:e.fontSizes.$sm}),localizationKey:(0,a.G)("userProfile.profilePage.fileDropAreaHint")})]})]})]})}},29:function(e,t,r){r.d(t,{E:()=>l});var n=r(4518),o=r(8272),i=r(2861),a=r(4387);let l=e=>{let{boxElementDescriptor:t,linkElementDescriptor:r,...l}=e;return(0,n.Y)(o.so,{elementDescriptor:t,sx:e=>({margin:`${e.space.$none} auto`}),children:(0,n.Y)(a.W,{...l,children:(0,n.Y)(o.EY,{localizationKey:(0,i.G)("backButton"),elementDescriptor:r,variant:"body"})})})}},8975:function(e,t,r){r.d(t,{j:()=>s});var n=r(4518),o=r(8272),i=r(8920),a=r(2861),l=r(1464);let s=({sx:e,overlay:t,...r})=>(0,n.Y)(o.L9,{...r,elementDescriptor:i.$z.lastAuthenticationStrategyBadge,localizationKey:(0,a.G)("lastAuthenticationStrategy"),sx:[e=>({...l.s.textVariants(e).caption,background:`linear-gradient(${e.colors.$borderAlpha25}, transparent), ${e.colors.$colorBackground}`,border:`${e.space.$px} solid ${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 ${e.colors.$colorBackground}`,...t&&{position:"absolute",right:-1,top:-1,transform:`translate(${e.space.$2x5}, calc(-50% - ${e.space.$0x5}))`,pointerEvents:"none"}}),e]})},6142:function(e,t,r){r.d(t,{j:()=>c});var n=r(4518),o=r(2166),i=r(5074),a=r(6580),l=r(78),s=r(8272);let c=()=>{let e=(0,i.useRef)(null),t=(0,i.useRef)("0"),r=(0,i.useRef)("unset"),c=(0,i.useRef)("unset"),{parsedCaptcha:d}=(0,a.K)(),{locale:u}=(0,l._)(),p=d?.theme,m=d?.size,h=d?.language||u?.toLowerCase();return(0,i.useEffect)(()=>{if(!e.current)return;let n=new MutationObserver(n=>{n.forEach(n=>{let o=n.target;"attributes"===n.type&&"style"===n.attributeName&&e.current&&(t.current=o.style.maxHeight||"0",r.current=o.style.minHeight||"unset",c.current=o.style.marginBottom||"unset")})});return n.observe(e.current,{attributes:!0,attributeFilter:["style"]}),()=>n.disconnect()},[]),(0,n.Y)(s.az,{ref:e,id:o.t,style:{display:"block",alignSelf:"center",maxHeight:t.current,minHeight:r.current,marginBottom:c.current},"data-cl-theme":p,"data-cl-size":m,"data-cl-language":h})}},4523:function(e,t,r){r.d(t,{v:()=>l});var n=r(4518),o=r(5074),i=r(4374),a=r(8036);let l=o.memo(e=>(0,n.Y)(a.F,{variant:"danger",sx:e=>({animation:`${i.W.textInBig} ${e.transitionDuration.$slow}`}),...e}))},6088:function(e,t,r){r.d(t,{Z:()=>F});var n,o,i,a,l=r(4518),s=r(5074),c=r(8272),d=r(8920),u=r(4387),p=r(4523),m=r(7697),h=r(180);function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}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),n||(n=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"})),i||(i=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"})),a||(a=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 b=r(846);let v=s.memo(s.forwardRef((e,t)=>{let{sx:r,outerSx:n,withFooterPages:o=!1,withDevOverlay:i=!1,devModeNoticeSx:a,...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"},n],children:[i&&(0,l.Y)(b.$,{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%"},r],...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)(F.FooterLinks,{})]}),(0,l.Y)(b.t,{sx:a})]})]}):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=r(78),$=r(7298),x=r(2861),_=r(5057),S=r(3269),C=r(155),k=r(6705);let A=s.forwardRef((e,t)=>{let{children:r,sx:n,...o}=e,i=(0,S.PB)(),{toggle:a}=(0,k.Y)(),{maintenanceMode:s}=(0,m.O)(),u=(0,S.f0)(),{t:h}=(0,w._)();return(0,l.FD)(c.so,{direction:"col",className:(0,$.y9)(i),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:`${e.space.$8} ${e.space.$10}`,justifyContent:"center",alignContent:"center",marginBlockStart:"-1px",marginInline:"-1px"}),n],gap:8,ref:t,...o,children:[a&&(0,l.Y)(C.K,{elementDescriptor:d.$z.modalCloseButton,variant:"ghost","aria-label":"Close modal",onClick:a,icon:(0,l.Y)(c.In,{icon:_.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,x.G)("maintenanceMode"))}),r]})});var I=r(6580),z=r(1464),P=r(7591);let D=s.forwardRef((e,t)=>{let{children:r,isProfileFooter:n=!1,sx:o,...i}=e,{displayConfig:a}=(0,m.O)(),{branded:s}=a,{showDevModeNotice:u}=(0,h.Q)(),{helpPageUrl:p,privacyPageUrl:f,termsPageUrl:g}=(0,I.K)().parsedOptions,b=n?s:!!(s||p||f||g);return r||b||u?(0,l.FD)(c.so,{direction:"col",align:"center",justify:"center",elementDescriptor:d.$z.footer,sx:[e=>({marginTop:`calc(${e.space.$2} * -1)`,paddingTop:e.space.$2,background:z.s.mutedBackground(e),"&:empty":{padding:0,marginTop:0}}),!n&&(e=>({">:first-of-type":{padding:`${e.space.$4} ${e.space.$8} ${e.space.$4} ${e.space.$8}`},">:not(:first-of-type)":{padding:`${e.space.$4} ${e.space.$8}`,borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100}})),o],...i,ref:t,children:[r,(0,l.Y)(F.ClerkAndPagesTag,{withFooterPages:b&&!n,devModeNoticeSx:e=>({padding:e.space.$none}),outerSx:n?e=>({padding:`${e.space.$4} ${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:r}=(0,I.K)().parsedOptions;return e||t||r?(0,l.FD)(c.so,{elementDescriptor:d.$z.footerPages,justify:"between",sx:e=>({gap:e.space.$3,[P.g.sm]:{gap:e.space.$2}}),children:[e&&(0,l.Y)(Y,{localizationKey:(0,x.G)("footerPageLink__help"),elementId:d.$z.footerPagesLink.setId("help"),isExternal:!0,href:e}),t&&(0,l.Y)(Y,{localizationKey:(0,x.G)("footerPageLink__privacy"),elementId:d.$z.footerPagesLink.setId("privacy"),isExternal:!0,href:t}),r&&(0,l.Y)(Y,{localizationKey:(0,x.G)("footerPageLink__terms"),elementId:d.$z.footerPagesLink.setId("terms"),isExternal:!0,href:r})]}):null});var T=r(2037);let F={Root:s.forwardRef((e,t)=>{let{sx:r,children:n,...o}=e,i=(0,I.K)(),a=(0,S.PB)();return(0,l.FD)(l.FK,{children:["outside"===i.parsedOptions.logoPlacement&&(0,l.Y)(T.G,{sx:e=>({position:"relative",[P.g.sm]:{margin:`0 0 ${e.space.$7} 0`}})}),(0,l.Y)(c.fv,{elementDescriptor:[d.$z.cardBox,e.elementDescriptor],className:(0,$.y9)(a),ref:t,sx:[e=>({isolation:"isolate",maxWidth:`calc(100vw - ${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"}),r],...o,children:n})]})}),Content:A,Footer:D,Alert:p.v,Action:e=>{let{elementId:t,sx:r,...n}=e;return(0,l.Y)(c.so,{elementDescriptor:d.$z.footerAction,elementId:d.$z.footerAction.setId(t),...n,gap:1,sx:[e=>({margin:`${e.space.$none} auto`}),r]})},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:v}},5559:function(e,t,r){r.d(t,{r:()=>m});var n,o,i=r(4518),a=r(8272),l=r(8920),s=r(7782),c=r(5074);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}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),n||(n=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=r(7358);let m=e=>{let{id:t,value:r,copyIcon:n=u,copiedIcon:o=p.A,sx:c,...d}=e,{onCopy:m,hasCopied:h}=(0,s.i)(r);return(0,i.FD)(a.so,{direction:"col",justify:"center",sx:[{position:"relative"},c],children:[(0,i.Y)(a.pd,{...d,value:r,isDisabled:!0,sx:e=>({paddingRight:e.space.$8})}),(0,i.Y)(a.$n,{elementDescriptor:l.$z.formFieldInputCopyToClipboardButton,variant:"ghost",onClick:m,sx:{position:"absolute",right:0},children:(0,i.Y)(a.In,{elementDescriptor:l.$z.formFieldInputCopyToClipboardIcon,icon:h?o:n,size:"sm"})})]})}},3356:function(e,t,r){r.d(t,{Ro:()=>x,iG:()=>_,oA:()=>$,xM:()=>b});var n=r(4518),o=r(9361),i=r(8878),a=r(5074),l=r(8920),s=r(8272),c=r(3269),d=r(4901),u=r(1464),p=r(7591),m=r(4468),h=r(6735),f=r(8640),g=r(1829);let b=e=>{let t=(0,c.f0)(),{id:r="code",onCodeEntryFinished:n,onResendCodeClicked:o,onResolve:i}=e,l=(0,f.tJ)(r,""),s=v(l),u=(0,d.m)(),p=async e=>{l.setSuccess("success"),await (0,h.y)(750),await i?.(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(),n(e,p,g)});let b=(0,a.useCallback)(e=>{s.reset(),o?.(e)},[s,o]);return{isLoading:u.isLoading,otpControl:s,onResendCode:o?b:void 0,onFakeContinue:()=>{l.clearFeedback(),n("",p,g)}}},v=(e,t)=>{let r=a.useRef(),n=e.value,{feedback:o,feedbackType:i,onChange:l,clearFeedback:s}=e,{length:c=6}=t||{},[d,u]=a.useState(()=>n?n.split("").slice(0,c):Array.from({length:c},()=>"")),p=a.useCallback(()=>{u(Array.from({length:c},()=>""))},[c]);return a.useEffect(()=>{if(d.filter(e=>e).length===c){let e=d.map(e=>e||" ").join("");r.current?.(e)}else{let e=d.join("");l?.({target:{value:e}})}},[d.toString()]),{otpInputProps:{length:c,values:d,setValues:u,feedback:o,feedbackType:i,clearFeedback:s},onCodeEntryFinished:e=>{r.current=e},reset:p}},[y,w]=(0,o.e3)("OTPInputContext"),$=({children:e,...t})=>(0,n.Y)(y.Provider,{value:{value:t},children:e}),x=()=>{let{resendButton:e,onResendCode:t,isLoading:r,otpControl:o}=w();return t?(0,n.Y)(g.M,{elementDescriptor:l.$z.formResendCodeLink,onClick:t,startDisabled:!0,isDisabled:"success"===o.otpInputProps.feedbackType||r,showCounter:"success"!==o.otpInputProps.feedbackType,localizationKey:e}):null},_=()=>{let[e,t]=a.useState(!1),{otpControl:r,isLoading:o,isDisabled:c}=w(),{feedback:d,values:u,setValues:p,feedbackType:m,length:h}=r.otpInputProps;return a.useEffect(()=>{d&&t(!0)},[d]),(0,n.Y)(s.az,{elementDescriptor:l.$z.otpCodeFieldInputContainer,sx:{position:"relative"},children:(0,n.Y)(i.wE,{autoFocus:!0,"aria-label":"Enter verification code","aria-required":!0,maxLength:h,inputMode:"numeric",pattern:i.UO,textAlign:"center",value:u.join(""),onChange:e=>{p(e.split(""))},render:({slots:t})=>(0,n.Y)(s.so,{align:"center",elementDescriptor:l.$z.otpCodeFieldInputs,gap:2,hasError:"error"===m,isLoading:o,role:"group",children:t.map((t,r)=>(0,n.Y)(S,{elementDescriptor:l.$z.otpCodeFieldInput,isDisabled:c||o||e||"success"===m,hasError:"error"===m,isSuccessfullyFilled:"success"===m,...t},r))})})})};function S(e){let{isSuccessfullyFilled:t,...r}=e,{char:o,hasFakeCaret:i,isActive:a,placeholderChar:l,...c}=r;return(0,n.FD)(s.$G,{"data-testid":"otp-input-segment",...c,focusRing:a,variant:"default",sx:r=>({textAlign:"center",...u.s.textVariants(r).h2,padding:`${r.space.$0x5} 0`,boxSizing:"border-box",display:"flex",position:"relative",alignItems:"center",justifyContent:"center",height:r.space.$10,width:r.space.$10,color:r.colors.$colorInputForeground,borderWidth:r.borderWidths.$normal,borderRadius:r.radii.$md,...t?{borderColor:r.colors.$success500}:u.s.borderColor(r,e),backgroundColor:"unset",[p.g.sm]:{height:r.space.$8,width:r.space.$8}}),children:[null!==o&&(0,n.Y)("div",{children:o}),i&&(0,n.Y)(C,{})]})}function C(){return(0,n.FD)(n.FK,{children:[(0,n.Y)("style",{children:`
6
+ @keyframes caret-blink-animation {
7
+ 0%, 50% {
8
+ opacity: 1;
9
+ }
10
+ 51%, 100% {
11
+ opacity: 0;
12
+ }
13
+ }
14
+ `}),(0,n.Y)(s.so,{align:"center",justify:"center",sx:()=>({animation:"caret-blink-animation 1s infinite",pointerEvents:"none",position:"absolute",inset:0}),children:(0,n.Y)(s.az,{sx:e=>({height:e.space.$4,width:e.space.$px,backgroundColor:e.colors.$colorInputForeground})})})]})}},374:function(e,t,r){r.d(t,{J2:()=>c,bQ:()=>l});var n=r(4518);r(5074);var o=r(8272),i=r(8920),a=r(8819);let l=e=>{let{headers:t,page:r,onPageChange:l,rows:c,isLoading:d,itemCount:u,itemsPerPage:p,pageCount:m,emptyStateLocalizationKey:h}=e,f=u>0?Math.max(0,(r-1)*p)+1:0,g=Math.min(r*p,u);return(0,n.FD)(o.fv,{gap:4,sx:{width:"100%"},children:[(0,n.Y)(o.so,{sx:e=>({overflowX:"auto",padding:e.space.$1}),children:(0,n.FD)(o.XI,{sx:{tableLayout:"fixed"},children:[(0,n.Y)(o.d8,{children:(0,n.Y)(o.Tr,{children:t.map((e,t)=>(0,n.Y)(o.Th,{elementDescriptor:i.$z.tableHead,localizationKey:e,sx:{width:0===t?"auto":"25%"}},t))})}),(0,n.Y)(o.NN,{children:d?(0,n.Y)(o.Tr,{children:(0,n.Y)(o.Td,{colSpan:4,children:(0,n.Y)(o.y$,{colorScheme:"primary",sx:{margin:"auto",display:"block"},elementDescriptor:i.$z.spinner})})}):c.length?c:(0,n.Y)(s,{localizationKey:h},"empty")})]})}),m>1&&(0,n.Y)(a.d,{count:m,page:r,onChange:l,siblingCount:1,rowInfo:{allRowsCount:u,startingRow:f,endingRow:g}})]})},s=e=>(0,n.Y)(o.Tr,{children:(0,n.Y)(o.Td,{colSpan:4,children:(0,n.Y)(o.EY,{localizationKey:e.localizationKey,sx:{margin:"auto",display:"block",width:"fit-content"}})})}),c=e=>(0,n.Y)(o.Tr,{...e,sx:e=>({":hover":{backgroundColor:e.colors.$neutralAlpha50}})})},846:function(e,t,r){r.d(t,{$:()=>a,t:()=>l});var n=r(4518),o=r(8272),i=r(180);let a=e=>{let{gradient:t=60}=e,{showDevModeNotice:r}=(0,i.Q)();return r?(0,n.Y)(o.az,{sx:e=>({userSelect:"none",pointerEvents:"none",inset:0,position:"absolute",background:`repeating-linear-gradient(-45deg,${e.colors.$warningAlpha100},${e.colors.$warningAlpha100} 6px,${e.colors.$warningAlpha150} 6px,${e.colors.$warningAlpha150} 12px)`,maskImage:`linear-gradient(transparent ${t}%, black)`})}):null},l=e=>{let{sx:t}=e,{showDevModeNotice:r}=(0,i.Q)();return r?(0,n.Y)(o.EY,{sx:[e=>({color:e.colors.$warning500,fontWeight:e.fontWeights.$semibold,padding:e.space.$1x5}),t],children:"Development mode"}):null}},6505:function(e,t,r){r.d(t,{G:()=>s,c:()=>l});var n=r(4518),o=r(8272),i=r(8920),a=r(2861);let l=e=>{let{dividerText:t,...r}=e;return(0,n.FD)(o.so,{center:!0,elementDescriptor:i.$z.dividerRow,...r,children:[(0,n.Y)(c,{}),(0,n.Y)(o.EY,{localizationKey:t||(0,a.G)("dividerText"),elementDescriptor:i.$z.dividerText,variant:"body",colorScheme:"secondary",sx:e=>({margin:`0 ${e.space.$4}`})}),(0,n.Y)(c,{})]})},s=e=>{let{sx:t,...r}=e;return(0,n.Y)(o.so,{center:!0,direction:"col",elementDescriptor:i.$z.dividerColumn,sx:[e=>({height:e.space.$6}),t],...r,children:(0,n.Y)(c,{vertical:!0})})},c=e=>{let t=e?.vertical?{width:"1px"}:{height:"1px"};return(0,n.Y)(o.so,{elementDescriptor:i.$z.dividerLine,sx:e=>({flex:"1",backgroundColor:e.colors.$borderAlpha100,...t})})}},8532:function(e,t,r){r.d(t,{g:()=>v,Drawer:()=>A});var n=r(4518),o=r(9361),i=r(2119),a=r(5074),l=r(8272),s=r(8920),c=r(6580),d=r(4091),u=r(8792),p=r(359),m=r(5057),h=r(1464),f=r(4620),g=r(155);let b=a.createContext(null),v=()=>{let e=a.useContext(b);if(!e)throw Error("Drawer components must be wrapped in <Drawer.Root>");return e},y=a.forwardRef(function(e,t){let{strategy:r}=v(),{disableScrollLock:i,enableScrollLock:a}=(0,u.K)();return(0,o.UQ)(()=>{if("fixed"===r)return a(),()=>{i()}},[r,i,a]),(0,n.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=a.forwardRef((e,t)=>{let{strategy:r,context:o}=v(),{isMounted:a,styles:l}=(0,i.DL)(o,{initial:{opacity:0},open:{opacity:1},close:{opacity:0},common:{position:r,inset:0,transitionProperty:"opacity",transitionTimingFunction:d._8.bezier},duration:d.wz.drawer});return a?(0,n.Y)(y,{ref:t,style:{...l}}):null});w.displayName="Drawer.Overlay";let $=a.forwardRef(({children:e},t)=>{let r=(0,p.j)(),{animations:o}=(0,c.K)().parsedOptions,{strategy:a,refs:u,context:m,getFloatingProps:h,direction:f}=v(),g=(0,i.SV)([t,u.setFloating]),{isMounted:b,styles:y}=(0,i.DL)(m,{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:r||!0!==o?0:d.wz.drawer});return b?(0,n.Y)(i.s3,{context:m,modal:!0,outsideElementsInert:!0,initialFocus:u.floating,children:(0,n.Y)(l.az,{ref:g,...h(),sx:e=>({position:a,insetBlock:0,insetInline:0,pointerEvents:"none",isolation:"isolate",zIndex:"absolute"===a?e.zIndices.$modal:void 0}),elementDescriptor:s.$z.drawerRoot,children:(0,n.Y)(l.so,{elementDescriptor:s.$z.drawerContent,style:y,direction:"col",sx:e=>({"--transform-offset":"fixed"===a?`calc((100% + ${e.space.$3} + ${e.space.$8x75}) * ${"rtl"===f?-1:1})`:`calc((100% + ${e.space.$8x75}) * ${"rtl"===f?-1:1})`,willChange:"transform",position:a,insetBlock:"fixed"===a?e.space.$3:0,insetInlineEnd:"fixed"===a?e.space.$3:0,outline:0,width:e.sizes.$100,maxWidth:"fixed"===a?`calc(100% - ${e.space.$6})`:"100%",backgroundColor:e.colors.$colorBackground,borderStartStartRadius:e.radii.$lg,borderEndStartRadius:e.radii.$lg,borderEndEndRadius:"fixed"===a?e.radii.$lg:0,borderStartEndRadius:"fixed"===a?e.radii.$lg:0,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha150,overflow:"hidden",pointerEvents:"auto"}),children:e})})}):null});$.displayName="Drawer.Content";let x=a.forwardRef(({title:e,children:t,sx:r},o)=>(0,n.Y)(l.az,{ref:o,elementDescriptor:s.$z.drawerHeader,as:"header",sx:[t=>({display:"flex",background:h.s.mergedColorsBackground(f.T.setAlpha(t.colors.$colorBackground,1),t.colors.$neutralAlpha50),borderBlockEndWidth:t.borderWidths.$normal,borderBlockEndStyle:t.borderStyles.$solid,borderBlockEndColor:t.colors.$borderAlpha150,borderStartStartRadius:t.radii.$lg,borderStartEndRadius:t.radii.$lg,paddingBlock:e?t.space.$3:void 0,paddingInline:e?t.space.$4:void 0}),r],children:e?(0,n.FD)(n.FK,{children:[(0,n.Y)(l.DZ,{localizationKey:e,as:"h2",elementDescriptor:s.$z.drawerTitle,textVariant:"h2",sx:{alignSelf:"center"}}),(0,n.Y)(C,{})]}):t})),_=a.forwardRef(({children:e,...t},r)=>(0,n.Y)(l.az,{ref:r,elementDescriptor:s.$z.drawerBody,sx:[()=>({display:"flex",flexDirection:"column",flex:1,overflowY:"auto",overflowX:"hidden"}),t.sx],...t,children:e})),S=a.forwardRef(({children:e,sx:t,...r},o)=>(0,n.Y)(l.az,{ref:o,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}),t],...r,children:e})),C=a.forwardRef((e,t)=>{let{setIsOpen:r}=v();return(0,n.Y)(g.K,{ref:t,elementDescriptor:s.$z.drawerClose,variant:"ghost","aria-label":"Close drawer",onClick:()=>r(!1),icon:(0,n.Y)(l.In,{icon:m.A,size:"sm"}),sx:e=>({color:e.colors.$colorMutedForeground,padding:e.space.$3,marginInlineStart:"auto"})})});C.displayName="Drawer.Close";let k=a.forwardRef(({open:e,onOpenChange:t,children:r,actionsSlot:o,roleProps:a},u)=>{let m=(0,p.j)(),{animations:g}=(0,c.K)().parsedOptions,{refs:b,context:v}=(0,i.we)({open:e,onOpenChange:t,transform:!1,strategy:"absolute"}),{getFloatingProps:y}=(0,i.bv)([(0,i.kp)(v),(0,i.s9)(v),(0,i.It)(v,{role:"alertdialog",...a})]),w=(0,i.SV)([u,b.setFloating]),{styles:$}=(0,i.DL)(v,{initial:{opacity:0},open:{opacity:1},close:{opacity:0},common:{transitionProperty:"opacity",transitionTimingFunction:d._8.bezier},duration:d.wz.drawer}),{isMounted:x,styles:_}=(0,i.DL)(v,{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:m||!0!==g?0:d.wz.drawer});return x?(0,n.FD)(n.FK,{children:[(0,n.Y)(l.L9,{elementDescriptor:s.$z.drawerConfirmationBackdrop,style:$,sx:e=>({position:"absolute",inset:0,backgroundImage:`linear-gradient(to bottom, ${f.T.setAlpha(e.colors.$colorBackground,.28)}, ${e.colors.$colorBackground})`})}),(0,n.Y)(i.s3,{context:v,modal:!0,outsideElementsInert:!0,initialFocus:b.floating,children:(0,n.FD)(l.az,{ref:w,elementDescriptor:s.$z.drawerConfirmationRoot,style:_,...y(),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 ${e.colors.$borderAlpha100}`}),children:[r,(0,n.Y)(l.so,{elementDescriptor:s.$z.drawerConfirmationActions,gap:3,justify:"end",children:o})]})})]}):null});k.displayName="Drawer.Confirmation";let A={Root:function({children:e,open:t,onOpenChange:r,strategy:a="fixed",floatingProps:l,portalProps:s,dismissProps:c}){var d;let u,p="undefined"==typeof window?"ltr":"rtl"===(u=(d=document.documentElement).dir)?"rtl":"ltr"===u?"ltr":"auto"!==u&&u||"rtl"!==window.getComputedStyle(d).direction?"ltr":"rtl",m=(0,o.Sj)(),h=s?.root??m?.()??void 0,{refs:f,context:g}=(0,i.we)({open:t,onOpenChange:r,transform:!1,strategy:a,placement:"ltr"===p?"right":"left",...l}),{getFloatingProps:v}=(0,i.bv)([(0,i.kp)(g),(0,i.s9)(g,c),(0,i.It)(g)]);return(0,n.Y)(b.Provider,{value:{isOpen:t,setIsOpen:r,strategy:a,portalProps:{...s,root:h},refs:f,context:g,getFloatingProps:v,direction:p},children:(0,n.Y)(i.XF,{...s,root:h,children:e})})},Overlay:w,Content:$,Header:x,Body:_,Footer:S,Confirmation:k,Close:C}},5170:function(e,t,r){r.d(t,{J:()=>m});var n=r(4518);r(5074);var o=r(4607),i=r(8272),a=r(8920),l=r(2861),s=r(9426),c=r(4964),d=r(6088),u=r(3269),p=r(6153);let m=e=>{let{shouldNavigateBack:t=!0}=e,r=(0,u.f0)(),{navigate:m}=(0,c.r)(),h=(0,s.p)();return(0,n.Y)(o.n.Part,{part:"havingTrouble",children:(0,n.FD)(d.Z.Root,{children:[(0,n.FD)(d.Z.Content,{children:[(0,n.FD)(p.Y.Root,{showLogo:!0,children:[(0,n.Y)(p.Y.Title,{localizationKey:e.cardTitle||"Error"}),e.cardSubtitle&&(0,n.Y)(p.Y.Subtitle,{localizationKey:e.cardSubtitle})]}),(0,n.Y)(d.Z.Alert,{children:r.error}),(0,n.FD)(i.so,{direction:"col",elementDescriptor:a.$z.main,gap:4,children:[e.message&&(0,n.Y)(i.EY,{colorScheme:"secondary",localizationKey:e.message}),(0,n.Y)(i.$n,{localizationKey:(0,l.G)("signIn.alternativeMethods.getHelp.blockButton__emailSupport"),onClick:()=>{window.location.href=`mailto:${h}`},hasArrow:!0}),t?(0,n.Y)(d.Z.Action,{elementId:"alternativeMethods",children:(0,n.Y)(d.Z.ActionLink,{localizationKey:(0,l.G)("backButton"),onClick:r=>{if(e.onBackLinkClick)return e.onBackLinkClick(r);t&&m("../")}})}):null]})]}),(0,n.Y)(d.Z.Footer,{})]})})}},5507:function(e,t,r){r.d(t,{D:()=>V});var n,o,i=r(4518),a=r(5074),l=r(8272),s=r(8920),c=r(2861),d=r(78),u=r(593),p=r(3356),m=r(3269),h=r(1044),f=r(6580),g=r(359),b=r(4374),v=r(1464);let y=({feedback:e})=>{let[t,r]=(0,a.useState)(0);return{height:t,calculateHeight:(0,a.useCallback)(e=>{e&&r(e.scrollHeight+2*e.offsetTop)},[e])}},w=e=>{let{id:t,elementDescriptors:r,sx:n,feedback:o,feedbackType:c="info",center:d=!1}=e,u=(0,a.useRef)({a:void 0,b:void 0}),{getFormTextAnimation:p}=function(){let e=(0,g.j)(),{animations:t}=(0,f.K)().parsedOptions;return{getFormTextAnimation:(0,a.useCallback)((r,n)=>{if(e||!t)return{animation:"none"};let o=n?.inDelay?b.W.inDelayAnimation:b.W.inAnimation;return e=>({animation:`${r?o:b.W.outAnimation} ${e.transitionDuration.$textField} ${e.transitionTiming.$common}`,transitionProperty:"height",transitionDuration:e.transitionDuration.$slow,transitionTimingFunction:e.transitionTiming.$common})},[e,t])}}(),m={error:s.$z.formFieldErrorText,warning:s.$z.formFieldWarningText,info:s.$z.formFieldInfoText,success:s.$z.formFieldSuccessText},w=(0,a.useMemo)(()=>{let e,t=u.current;return u.current=e=t.a?.shouldEnter?{a:{...t.a,shouldEnter:!1},b:{feedback:o,feedbackType:c,shouldEnter:!0}}:{a:{feedback:o,feedbackType:c,shouldEnter:!0},b:{...t.b,shouldEnter:!1}},e},[o,c]),{calculateHeight:$,height:x}=y({feedback:w.a?.feedback||""}),{calculateHeight:_,height:S}=y({feedback:w.b?.feedback||""}),C=(0,a.useRef)(Math.max(x,S)),k=(0,a.useMemo)(()=>{let e=Math.max(x,S,C.current);return C.current=e,e},[x,S]),A=e=>{if(!e)return{};let n=r?.[e]||m[e];return{elementDescriptor:n,elementId:t?n?.setId?.(t):void 0,id:"error"===e?`error-${t}`:`${t}-${e}-feedback`}},I={error:l.wF,info:l.cN,success:l.TP,warning:l.sE},z=I[w.a?.feedbackType||"info"],P=I[w.b?.feedbackType||"info"];return(0,i.FD)(i.FK,{children:[(0,i.Y)(l.L9,{"aria-live":"polite","aria-atomic":"true",sx:{...v.s.visuallyHidden()},children:o?(0,h.Ns)(o):""}),(0,i.FD)(l.so,{style:{height:o?k:0,position:"relative"},center:d,sx:[p(!!o),n],children:[(0,i.Y)(z,{...A(w.a?.feedbackType),...w.a?.feedbackType&&{"data-testid":`form-feedback-${w.a.feedbackType}`},ref:$,sx:[()=>({visibility:w.a?.shouldEnter?"visible":"hidden"}),p(!!w.a?.shouldEnter,{inDelay:!0})],localizationKey:(0,h.Ns)(w.a?.feedback)}),(0,i.Y)(P,{...A(w.b?.feedbackType),...w.b?.feedbackType&&{"data-testid":`form-feedback-${w.b.feedbackType}`},ref:_,sx:[()=>({visibility:w.b?.shouldEnter?"visible":"hidden"}),p(!!w.b?.shouldEnter,{inDelay:!0})],localizationKey:(0,h.Ns)(w.b?.feedback)})]})]})},$=(0,a.forwardRef)((e,t)=>{let{sx:r,groupPrefix:n,groupSuffix:o,...a}=e,c=n?{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,i.FD)(l.so,{elementDescriptor:s.$z.formInputGroup,direction:"row",hasError:a.hasError,sx:e=>({position:"relative",zIndex:1,...v.s.borderVariants(e).normal,':focus-within,&[data-focus-within="true"]':{...v.s.borderVariants(e,{focusRing:!0}).normal["&:focus"]}}),children:[n&&(0,i.Y)(l.EY,{colorScheme:"secondary",sx:d,children:n}),(0,i.Y)(l.pd,{maxLength:25,sx:[{...c},r],variant:"unstyled",ref:t,...a}),o&&(0,i.Y)(l.EY,{colorScheme:"secondary",sx:d,children:o})]})});var x=r(2166),_=r(7697),S=r(8282),C=r(6294);function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let A=function(e){return a.createElement("svg",k({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=a.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=a.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"})))},I=(...e)=>t=>{for(let r of e)r&&(r.current=t)};var z=r(155);let P=(0,a.forwardRef)((e,t)=>{let[r,n]=a.useState(!0),{id:o,onChange:u,validatePassword:p=!1,setInfo:m,setSuccess:h,setWarning:f,setError:g,setHasPassedComplexity:b,tabIndex:v,...y}=e,w=(0,a.useRef)(null),[$,k]=(0,a.useState)(null),{userSettings:{passwordSettings:P}}=(0,_.O)(),{t:D}=(0,d._)(),{validatePassword:Y}=(0,S.T)({...P,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=>b(e)});return(0,i.FD)(l.so,{elementDescriptor:s.$z.formFieldInputGroup,direction:"col",justify:"center",sx:{position:"relative"},children:[(0,i.Y)(l.pd,{...y,tabIndex:v,onChange:e=>($&&clearTimeout($),k(setTimeout(()=>{Y(e.target.value)},x.s)),u?.(e)),onBlur:e=>{y.onBlur?.(e),Y(e.target.value)},onFocus:e=>{y.onFocus?.(e),Y(e.target.value)},ref:I(t,w),type:r?"password":"text",sx:e=>({paddingRight:e.space.$10})}),(0,i.Y)(z.K,{elementDescriptor:s.$z.formFieldInputShowPasswordButton,iconElementDescriptor:s.$z.formFieldInputShowPasswordIcon,"aria-label":`${r?"Show":"Hide"} password`,variant:"ghost",size:"xs",tabIndex:v,onClick:()=>n(e=>!e),sx:e=>({position:"absolute",right:0,marginRight:e.space.$1,color:e.colors.$neutralAlpha400}),icon:r?C.A:A})]})});var D=r(9361),Y=r(8023),R=r(2405),T=r(1586),F=r(1820),E=r(7651);let L=[...F.nU.values()].map(e=>({searchTerm:`${e.iso} ${e.name} ${e.code}`,value:`${e.iso} ${e.name} ${e.code}`,country:e})),B=(0,a.forwardRef)((e,t)=>{let{onChange:r,value:n,locationBasedCountryIso:o,feedbackType:c,sx:d,...u}=e,p=(0,a.useRef)(null),m=(0,a.useRef)(null),{setNumber:h,setIso:f,setNumberAndIso:g,numberWithCode:b,iso:y,formattedNumber:w}=(e=>{let[t,r]=a.useState(()=>{let{number:t}=(0,E.Xd)(e.initPhoneWithCode||"");return t}),[n,o]=a.useState((0,E.Xd)(e.initPhoneWithCode||"").number?(0,E.Xd)(e.initPhoneWithCode||"").iso:e.locationBasedCountryIso||"us");a.useEffect(()=>{r((0,E.sH)(t))},[n,t]);let i=a.useMemo(()=>{if(!t)return"";let e=F.nU.get(n)?.code||"1";return"+"+(0,E.sH)(`${e}${t}`)},[n,t]),l=a.useMemo(()=>((e,t)=>{if(!e)return"";let r=F.nU.get(t);return(0,E.n4)(e,r?.pattern,r?.code)})(t,n),[n,t]),s=a.useCallback(e=>{let{iso:t,number:n}=(0,E.Xd)(e);r(n),o(t)},[n,t]);return{setNumber:r,setIso:o,setNumberAndIso:s,iso:n,number:t,numberWithCode:i,formattedNumber:l}})({initPhoneWithCode:n,locationBasedCountryIso:o}),$=(0,a.useMemo)(()=>L.find(e=>e.country.iso===y)||L[0],[y]);return(0,a.useEffect)(()=>{r?.({target:{value:b}})},[b]),(0,i.FD)(l.so,{elementDescriptor:s.$z.phoneInputBox,direction:"row",hasError:u.hasError,"data-feedback":c,ref:m,sx:e=>({...v.s.borderVariants(e,{hasError:u.hasError}).normal,position:"relative",borderRadius:e.radii.$md,zIndex:1,'&:focus-within,&[data-focus-within="true"]':{...v.s.borderVariants(e,{hasError:u.hasError}).normal["&:focus"]}}),children:[(0,i.FD)(T.l6,{elementId:"countryCode",value:$.value,options:L,portal:!0,referenceElement:m,renderOption:(e,t,r)=>(0,i.Y)(M,{sx:e=>({"&:hover":{backgroundColor:e.colors.$neutralAlpha100},'&[data-focused="true"]':{backgroundColor:e.colors.$neutralAlpha150}}),isSelected:r,country:e.country}),onChange:e=>{f(e.country.iso),p.current?.focus()},noResultsMessage:"No countries found",searchPlaceholder:"Search country or code",comparator:(e,t)=>t.searchTerm.toLowerCase().includes(e.toLowerCase()),children:[(0,i.Y)(T.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,i.Y)(l.EY,{colorScheme:"body",as:"span",sx:{textTransform:"uppercase"},children:y})}),(0,i.Y)(T.UL,{sx:{padding:"0 0"},containerSx:e=>({gap:0,padding:`${e.space.$0x5} 0`})})]}),(0,i.FD)(l.so,{sx:{position:"relative",width:"100%"},children:[(0,i.FD)(l.EY,{sx:t=>({display:"flex",alignItems:"center",pointerEvents:"none",paddingLeft:t.space.$0x5,opacity:e.isDisabled?t.opacity.$disabled:1}),children:["+",$.country.code]}),(0,i.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:I(p,t),...u})]})]})}),M=(0,a.memo)(e=>{let{country:t,isSelected:r,sx:n,...o}=e;return(0,i.FD)(l.so,{center:!0,sx:[e=>({width:"100%",gap:e.space.$2,padding:`${e.space.$1x5} ${e.space.$4}`,color:e.colors.$colorForeground}),n],...o,children:[(0,i.Y)(l.In,{icon:R.A,size:"sm",sx:{visibility:r?"visible":"hidden"}}),(0,i.Y)(l.EY,{as:"div",sx:{width:"100%",textAlign:"left"},children:t.name}),(0,i.FD)(l.EY,{colorScheme:"secondary",children:["+",t.code]})]})}),O=(0,a.forwardRef)((e,t)=>{let{__internal_country:r}=(0,D.ho)();return(0,i.Y)(B,{...e,locationBasedCountryIso:r,ref:t})}),j=(0,a.forwardRef)((e,t)=>{let r=(0,u.Wd)(),{value:n,placeholder:o,...a}=(0,u.Uj)(r);return(0,i.Y)(l.AT,{ref:t,...a,elementDescriptor:s.$z.formFieldRadioInput,id:e.id,focusRing:!1,sx:e=>({width:"fit-content",marginTop:e.space.$0x5}),value:e.value,checked:e.value===n})}),U=e=>(0,i.FD)(l.lR,{elementDescriptor:s.$z.formFieldRadioLabel,htmlFor:e.id,sx:e=>({padding:`${e.space.$none} ${e.space.$2}`,display:"flex",flexDirection:"column"}),children:[(0,i.Y)(l.EY,{elementDescriptor:s.$z.formFieldRadioLabelTitle,variant:"subtitle",localizationKey:e.label}),e.description&&(0,i.Y)(l.EY,{elementDescriptor:s.$z.formFieldRadioLabelDescription,colorScheme:"secondary",localizationKey:e.description})]}),W=(0,a.forwardRef)((e,t)=>{let r=(0,a.useId)();return(0,i.FD)(l.so,{elementDescriptor:s.$z.formFieldRadioGroupItem,align:"start",children:[(0,i.Y)(j,{id:r,ref:t,value:e.value}),(0,i.Y)(U,{id:r,label:e.label,description:e.description})]})}),H=(0,a.forwardRef)((e,t)=>{let{t:r}=(0,d._)(),n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n);return(0,i.Y)(O,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(n.fieldId),...a,feedbackType:n.feedbackType,placeholder:r(o)})}),N=(0,a.forwardRef)((e,t)=>{let{t:r}=(0,d._)(),n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n,["validatePassword","setError","setWarning","setSuccess","setInfo","setHasPassedComplexity"]);return(0,i.Y)(P,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(n.fieldId),...a,placeholder:r(o)})}),K=(0,a.forwardRef)(({elementDescriptor:e,elementId:t},r)=>{let n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n);return(0,i.Y)(l.Oc,{ref:r,...a,elementDescriptor:e||s.$z.formFieldInput,elementId:t||s.$z.formFieldInput.setId(n.fieldId),focusRing:!1,sx:e=>({width:"fit-content",flexShrink:0,marginTop:e.space.$0x5})})}),V={Root:e=>{let t=(0,m.f0)(),{children:r,isDisabled:n,...o}=e,a=n||t.isLoading,l={...o,isDisabled:a};return(0,i.Y)(u.BQ,{...l,children:r})},Label:e=>{let{isRequired:t,id:r,label:n,isDisabled:o,hasError:a}=(0,u.Wd)();return e.localizationKey||n||e.children?(0,i.Y)(l.lR,{localizationKey:e.localizationKey||n,elementDescriptor:s.$z.formFieldLabel,elementId:s.$z.formFieldLabel.setId(r),hasError:!!a,isDisabled:o,isRequired:t,sx:{display:"flex",alignItems:"center"},children:e.children}):null},LabelRow:e=>{let{fieldId:t}=(0,u.Wd)();return(0,i.Y)(l.so,{justify:"between",align:"center",elementDescriptor:s.$z.formFieldLabelRow,elementId:s.$z.formFieldLabelRow.setId(t),children:e.children})},Input:(0,a.forwardRef)((e,t)=>{let{t:r}=(0,d._)(),n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n);return(0,i.Y)(l.pd,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(n.fieldId),...a,placeholder:r(o)})}),PasswordInput:N,PhoneInput:H,InputGroup:(0,a.forwardRef)((e,t)=>{let{t:r}=(0,d._)(),n=(0,u.Wd)(),{placeholder:o,...a}=(0,u.Uj)(n);return(0,i.Y)($,{ref:t,elementDescriptor:s.$z.formFieldInput,elementId:s.$z.formFieldInput.setId(n.fieldId),...a,groupPrefix:e.groupPrefix,groupSuffix:e.groupSuffix,placeholder:r(o)})}),RadioItem:W,CheckboxIndicator:K,CheckboxLabel:e=>{let{label:t,id:r}=(0,u.Wd)();return t?(0,i.Y)(U,{label:t,id:r,description:e.description}):null},Action:e=>{let{fieldId:t,isDisabled:r}=(0,u.Wd)();return e.localizationKey||e.children?(0,i.Y)(l.N_,{localizationKey:e.localizationKey,elementDescriptor:s.$z.formFieldAction,elementId:s.$z.formFieldLabel.setId(t),isDisabled:r,colorScheme:"primary",variant:"buttonSmall",onClick:t=>{t.preventDefault(),e.onClick?.(t)},children:e.children}):null},AsOptional:()=>{let{fieldId:e,isDisabled:t}=(0,u.Wd)();return(0,i.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,i.Y)(l.so,{as:"span",title:t((0,c.G)("formFieldHintText__slug")),sx:{marginRight:"auto"},children:(0,i.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:r}=(0,u.Wd)();return(0,i.Y)(w,{center:e.center,...r,elementDescriptors:e.elementDescriptors,id:t})},OTPRoot:p.oA,OTPCodeControl:p.iG,OTPResendButton:p.Ro}},2454:function(e,t,r){r.d(t,{l:()=>b});var n=r(4518),o=r(9361),i=r(5074),a=r(8272),l=r(8920),s=r(2861),c=r(4901),d=r(8975),u=r(3269),p=r(5507);let[m,h]=(0,o.e3)("FormState"),f=e=>{let{isOptional:t,isLastAuthenticationStrategy:r,icon:o,actionLabel:i,children:s,onActionClicked:c,...d}=e;return(0,n.Y)(p.D.Root,{...d,children:(0,n.FD)(a.fv,{elementDescriptor:l.$z.formField,elementId:l.$z.formField.setId(d.id),sx:{position:"relative",flex:"1 1 auto"},children:[(0,n.FD)(a.so,{direction:"col",sx:e=>({gap:e.space.$2}),children:[(0,n.FD)(p.D.LabelRow,{children:[(0,n.Y)(p.D.Label,{}),(0,n.Y)(p.D.LabelIcon,{icon:o}),!i&&t&&(0,n.Y)(p.D.AsOptional,{}),i&&(0,n.Y)(p.D.Action,{localizationKey:i,onClick:c}),r&&!i&&!t&&(0,n.Y)(g,{}),(0,n.Y)(p.D.Action,{})]}),s]}),(0,n.Y)(p.D.Feedback,{})]})})},g=e=>{let{isLoading:t,isDisabled:r}=h();return(0,n.Y)(d.j,{...e,sx:e=>({opacity:r||t?e.opacity.$disabled:1})})},b={Root:e=>{let t=(0,u.f0)(),r=(0,c.m)(),[o,s]=(0,i.useState)(!1),d=async n=>{if(n.preventDefault(),n.stopPropagation(),e.onSubmit)try{t.setLoading(),r.setLoading(),s(!0),await e.onSubmit(n)}finally{t.setIdle(),r.setIdle()}},p=i.useMemo(()=>({value:{isLoading:r.isLoading,isDisabled:t.isLoading||r.isLoading,submittedWithEnter:o}}),[t.isLoading,r.isLoading,o]);return(0,n.Y)(m.Provider,{value:p,children:(0,n.FD)(a.lV,{elementDescriptor:l.$z.form,gap:6,...e,onSubmit:d,children:[(0,n.Y)("button",{type:"submit","aria-hidden":!0,style:{visibility:"hidden",position:"absolute"}}),e.children]})})},ControlRow:e=>{let{elementId:t,...r}=e;return(0,n.Y)(a.so,{elementDescriptor:l.$z.formFieldRow,elementId:l.$z.formFieldRow.setId(t),justify:"between",gap:4,...r})},PlainInput:e=>(0,n.Y)(f,{...e,children:(0,n.Y)(p.D.Input,{})}),PasswordInput:(0,i.forwardRef)((e,t)=>(0,n.Y)(f,{...e,children:(0,n.Y)(p.D.PasswordInput,{ref:t})})),PhoneInput:e=>(0,n.Y)(f,{...e,children:(0,n.Y)(p.D.PhoneInput,{})}),OTPInput:e=>{let{centerAlign:t=!0}=e;return(0,n.Y)(p.D.Root,{...e.otpControl.otpInputProps,children:(0,n.Y)(p.D.OTPRoot,{...e,children:(0,n.FD)(a.fv,{elementDescriptor:l.$z.form,gap:2,align:t?"center":"start",children:[(0,n.FD)(a.so,{elementDescriptor:l.$z.otpCodeField,isLoading:e.isLoading,hasError:"error"===e.otpControl.otpInputProps.feedbackType,direction:"col",children:[(0,n.Y)(p.D.OTPCodeControl,{}),(0,n.Y)(p.D.Feedback,{center:!0,elementDescriptors:{error:l.$z.otpCodeFieldErrorText,success:l.$z.otpCodeFieldSuccessText}})]}),(0,n.Y)(p.D.OTPResendButton,{})]})})})},InputGroup:e=>{let{groupSuffix:t,groupPrefix:r,...o}=e;return(0,n.Y)(f,{...o,children:(0,n.Y)(p.D.InputGroup,{groupSuffix:t,groupPrefix:r})})},RadioGroup:e=>{let{radioOptions:t,...r}=e;return(0,n.FD)(p.D.Root,{...r,children:[(0,n.Y)(a.fv,{elementDescriptor:l.$z.formFieldRadioGroup,gap:3,children:t?.map(({value:e,description:t,label:r})=>(0,n.Y)(a.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,n.Y)(p.D.RadioItem,{value:e,label:r,description:t})},e))}),(0,n.Y)(p.D.Feedback,{})]})},Checkbox:e=>(0,n.Y)(p.D.Root,{...e,children:(0,n.FD)(a.so,{align:"start",children:[(0,n.Y)(p.D.CheckboxIndicator,{}),(0,n.Y)(p.D.CheckboxLabel,{description:e.description})]})}),SubmitButton:e=>{let{isLoading:t,isDisabled:r}=h();return(0,n.Y)(a.$n,{elementDescriptor:l.$z.formButtonPrimary,block:!0,textVariant:"buttonLarge",isLoading:t,isDisabled:r,type:"submit",...e,localizationKey:e.localizationKey||(0,s.G)("formButtonPrimary")})},ResetButton:e=>{let{isLoading:t,isDisabled:r}=h();return(0,n.Y)(a.$n,{elementDescriptor:l.$z.formButtonReset,block:!0,variant:"ghost",type:"reset",isDisabled:t||r,...e})},CommonInputWrapper:f}},1475:function(e,t,r){r.d(t,{G:()=>s,c:()=>c});var n=r(4518),o=r(8272),i=r(1550),a=r(2861),l=r(2454);let s=e=>{let{isDisabled:t,onReset:r,submitLabel:o,resetLabel:s,hideReset:d,...u}=e,{navigateToFlowStart:p}=(0,i.C)();return(0,n.FD)(c,{children:[(0,n.Y)(l.l.SubmitButton,{block:!1,isDisabled:t,localizationKey:o||(0,a.G)("userProfile.formButtonPrimary__save"),...u}),!d&&(0,n.Y)(l.l.ResetButton,{localizationKey:s||(0,a.G)("userProfile.formButtonReset"),block:!1,onClick:r||p})]})},c=e=>(0,n.Y)(o.so,{direction:"rowReverse",gap:2,...e,children:e.children})},3549:function(e,t,r){r.d(t,{M:()=>c});var n=r(4518),o=r(8272),i=r(8920),a=r(6088),l=r(3269),s=r(6153);let c=e=>{let{headerTitle:t,headerTitleTextVariant:r="h3",headerSubtitle:c,headerSubtitleTextVariant:d="body",children:u,sx:p,...m}=e,h=(0,l.f0)();return(0,n.FD)(o.fv,{elementDescriptor:i.$z.formContainer,gap:4,...m,sx:[p],children:[(t||c)&&(0,n.FD)(s.Y.Root,{children:[t&&(0,n.Y)(s.Y.Title,{textVariant:r,..."string"==typeof t?{children:t}:{localizationKey:t}}),c&&(0,n.Y)(s.Y.Subtitle,{variant:d,..."string"==typeof c?{children:c}:{localizationKey:c}})]}),(0,n.Y)(a.Z.Alert,{children:h.error}),(0,n.Y)(o.fv,{gap:8,children:u})]})}},1323:function(e,t,r){r.d(t,{R:()=>l});var n=r(4518),o=r(8272),i=r(8920),a=r(7651);let l=e=>{let t=(0,a.Om)(e.value);return(0,n.Y)(o.EY,{as:"span",elementDescriptor:i.$z.formattedPhoneNumberText,children:t})}},2611:function(e,t,r){r.d(t,{K:()=>a});var n=r(4518),o=r(8272),i=r(8920);let a=()=>(0,n.Y)(o.so,{center:!0,sx:{height:"100%"},children:(0,n.Y)(o.y$,{colorScheme:"primary",size:"lg",elementDescriptor:i.$z.spinner})})},6153:function(e,t,r){r.d(t,{Y:()=>f});var n,o=r(4518),i=r(5074),a=r(6580),l=r(8272),s=r(8920);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let d=function(e){return i.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},e),n||(n=i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 12H4m6 6-6-6 6-6"})))};var u=r(2037),p=r(6505);let m=i.memo(i.forwardRef((e,t)=>{let{sx:r,children:n,contentSx:i,gap:c=6,showLogo:d=!1,showDivider:m=!1,...h}=e,f="inside"===(0,a.K)().parsedOptions.logoPlacement&&d,g=m&&f;return(0,o.FD)(l.fv,{ref:t,elementDescriptor:s.$z.header,gap:c,sx:r,...h,children:[f&&(0,o.Y)(u.G,{}),g&&(0,o.Y)(p.G,{}),(0,o.Y)(l.fv,{gap:1,sx:i,...h,children:n})]})})),h=i.memo(e=>{let{sx:t,textVariant:r="h2",...n}=e;return(0,o.Y)(l.DZ,{elementDescriptor:s.$z.headerTitle,textVariant:r,sx:t,...n})}),f={Root:m,Title:h,Subtitle:i.memo(e=>{let{sx:t,...r}=e;return(0,o.Y)(l.EY,{elementDescriptor:s.$z.headerSubtitle,variant:"body",colorScheme:"secondary",sx:[{wordWrap:"break-word"},t],...r})}),BackLink:i.memo(e=>{let{sx:t,children:r,...n}=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],...n,children:[(0,o.Y)(l.In,{icon:d,sx:e=>({color:e.colors.$colorForeground})}),r]})})}},155:function(e,t,r){r.d(t,{K:()=>l});var n=r(4518),o=r(5074),i=r(78),a=r(8272);let l=e=>{let{children:t,icon:r,localizationKey:l,iconElementDescriptor:s,...c}=e,{t:d}=(0,i._)(),u=d(l),p=(0,o.isValidElement)(r)?(0,o.cloneElement)(r,{"aria-hidden":!0,focusable:!1}):(0,n.Y)(a.In,{elementDescriptor:s,icon:r,size:"md"});return(0,n.Y)(a.$n,{...c,children:(0,n.FD)(n.FK,{children:[p,u||t]})})}},6384:function(e,t,r){r.d(t,{A:()=>i});var n=r(4518),o=r(8272);let i=e=>{let{icon:t,boxElementDescriptor:r,iconElementDescriptor:i,sx:a,...l}=e;return(0,n.Y)(o.so,{center:!0,elementDescriptor:r,sx:[e=>({backgroundColor:e.colors.$neutralAlpha50,width:e.sizes.$16,height:e.sizes.$16,borderRadius:e.radii.$circle}),a],...l,children:(0,n.Y)(o.In,{elementDescriptor:i,icon:t,size:"lg",sx:e=>({color:e.colors.$neutralAlpha600})})})}},196:function(e,t,r){r.d(t,{$:()=>m});var n,o=r(4518),i=r(6435),a=r(5074),l=r(8272),s=r(8920);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let d=function(e){return a.createElement("svg",c({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17 16"},e),n||(n=a.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=r(9835),p=r(7651);let m=e=>{let{avatarUrl:t=(0,i.l)("avatar_placeholder","jpeg"),identifier:r,onClick:n,...c}=e,m=a.useRef({avatarUrl:t,identifier:(0,u.u)(r)}),h=n&&(0,o.Y)(l.$n,{elementDescriptor:s.$z.identityPreviewEditButton,variant:"link",textVariant:"buttonSmall",onClick:n,"aria-label":"Edit",children:(0,o.Y)(l.In,{elementDescriptor:s.$z.identityPreviewEditButtonIcon,icon:d})});if(!m.current.identifier)return(0,o.Y)(b,{...c,children:h});if((0,u.R)(m.current.identifier)||!m.current.identifier.startsWith("+"))return(0,o.FD)(b,{...c,children:[(0,o.Y)(f,{...m.current}),h]});let v=(0,p.Xd)(m.current.identifier||""),y=(0,p.eL)(v.iso);return(0,o.FD)(b,{...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})]}),b=e=>(0,o.Y)(l.so,{elementDescriptor:s.$z.identityPreview,align:"center",gap:2,sx:{justifyContent:"center"},...e})},2421:function(e,t,r){r.d(t,{k:()=>a});var n=r(4518),o=r(8272),i=r(9068);function a(e){return(0,n.FD)(o.so,{sx:e=>({gap:e.space.$2,padding:`${e.space.$3} ${e.space.$4}`,backgroundColor:e.colors.$neutralAlpha50,borderRadius:e.radii.$md}),children:[(0,n.Y)(o.In,{icon:i.A,sx:e=>({opacity:e.opacity.$disabled})}),(0,n.Y)(o.EY,{localizationKey:e.message,sx:e=>({color:e.colors.$colorMutedForeground})})]})}},5013:function(e,t,r){r.d(t,{e:()=>a});var n=r(4518),o=r(5074),i=r(8272);let a=o.forwardRef((e,t)=>{let{leftIcon:r,sx:o,...a}=e;return(0,n.FD)(i.so,{center:!0,sx:{width:"100%",position:"relative"},children:[r?(0,n.Y)(i.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:r}):null,(0,n.Y)(i.pd,{...a,sx:[e=>({width:"100%",paddingLeft:e.space.$10}),o],ref:t})]})})},2689:function(e,t,r){r.d(t,{d:()=>g});var n=r(4518),o=r(7697),i=r(78),a=r(2861),l=r(8272),s=r(8920),c=r(6580),d=r(593),u=r(5507),p=r(5074);let m=/\[([^\]]+)\]\(([^)]+)\)/g,h=(0,p.memo)(({text:e,...t})=>{let r=(0,p.useMemo)(()=>t,[t]);return(0,p.useMemo)(()=>{let t=[],o=0;return e.replace(m,(i,a,s,c)=>(c>o&&t.push(e.slice(o,c)),t.push((0,n.Y)(l.N_,{href:s,...r,children:a},c)),o=c+i.length,i)),o<e.length&&t.push(e.slice(o)),t},[e,r])}),f=e=>{let t,{termsUrl:r,privacyPolicyUrl:o}=e,{t:c}=(0,i._)(),u=(0,d.Wd)(),{placeholder:p,...m}=(0,d.Uj)(u);return r&&o?t=(0,a.G)("signUp.legalConsent.checkbox.label__termsOfServiceAndPrivacyPolicy",{termsOfServiceLink:r,privacyPolicyLink:o}):r?t=(0,a.G)("signUp.legalConsent.checkbox.label__onlyTermsOfService",{termsOfServiceLink:r}):o&&(t=(0,a.G)("signUp.legalConsent.checkbox.label__onlyPrivacyPolicy",{privacyPolicyLink:o})),(0,n.Y)(l.lR,{elementDescriptor:s.$z.formFieldCheckboxLabel,htmlFor:m.id,isDisabled:m.isDisabled,sx:e=>({paddingLeft:e.space.$1x5,textAlign:"left"}),children:(0,n.Y)(l.EY,{variant:"body",as:"span",children:(0,n.Y)(h,{text:c(t),isExternal:!0,sx:e=>({textDecoration:"underline",textUnderlineOffset:e.space.$1})})})})},g=e=>{let{displayConfig:t}=(0,o.O)(),{parsedOptions:r}=(0,c.K)(),i=r.termsPageUrl||t.termsUrl,a=r.privacyPageUrl||t.privacyPolicyUrl;return(0,n.Y)(u.D.Root,{...e,children:(0,n.FD)(l.so,{justify:"center",children:[(0,n.Y)(u.D.CheckboxIndicator,{elementDescriptor:s.$z.formFieldCheckboxInput,elementId:s.$z.formFieldInput.setId("legalAccepted")}),(0,n.Y)(f,{termsUrl:i,privacyPolicyUrl:a})]})})}},9436:function(e,t,r){r.d(t,{p:()=>f});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(7782),s=r(2405),c=r(2852),d=r(1464),u=r(9606);let p=o.createContext(void 0);function m({text:e}){let{onCopy:t}=(0,l.i)(e);return(0,n.Y)(i.L9,{elementDescriptor:a.$z.lineItemsDescriptionText,sx:e=>({...d.s.textVariants(e).body,display:"flex",minWidth:"0"}),onCopy:async e=>{e.preventDefault(),await t()},children:(0,u.W)(e,15)})}function h({text:e,copyLabel:t="Copy"}){let{onCopy:r,hasCopied:o}=(0,l.i)(e);return(0,n.Y)(i.$n,{variant:"unstyled",onClick:r,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":o?"Copied":t,children:(0,n.Y)(i.In,{size:"sm",icon:o?s.A:c.A,"aria-hidden":!0})})}let f={Root:function({children:e}){return(0,n.Y)(i.Dl,{elementDescriptor:a.$z.lineItemsRoot,sx:e=>({display:"grid",gridRowGap:e.space.$2}),children:e})},Group:function({children:e,borderTop:t=!1,variant:r="primary"}){return(0,n.Y)(p.Provider,{value:{variant:r},children:(0,n.Y)(i.az,{elementDescriptor:a.$z.lineItemsGroup,elementId:a.$z.lineItemsGroup.setId(r),sx:e=>({display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",...t?{borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100,paddingTop:e.space.$2}:{}}),children:e})})},Title:o.forwardRef(({title:e,description:t,icon:r,badge:l=null},s)=>{let c=o.useContext(p);if(!c)throw Error("LineItems.Title must be used within LineItems.Group");let{variant:u}=c,m="primary"===u?"subtitle":"caption";return(0,n.FD)(i.Dt,{ref:s,elementDescriptor:a.$z.lineItemsTitle,elementId:a.$z.lineItemsTitle.setId(u),sx:e=>({display:"grid",color:"primary"===u?e.colors.$colorForeground:e.colors.$colorMutedForeground,...d.s.textVariants(e)[m]}),children:[e?(0,n.FD)(i.L9,{sx:e=>({display:"inline-flex",alignItems:"center",gap:e.space.$1}),children:[r?(0,n.Y)(i.In,{size:"md",icon:r,"aria-hidden":!0}):null,(0,n.Y)(i.L9,{localizationKey:e}),l]}):null,t?(0,n.Y)(i.L9,{localizationKey:t,elementDescriptor:a.$z.lineItemsTitleDescription,sx:e=>({fontSize:e.fontSizes.$sm,color:e.colors.$colorMutedForeground})}):null]})}),Description:function({text:e,prefix:t,suffix:r,truncateText:l=!1,copyText:s=!1,copyLabel:c}){let u=o.useContext(p);if(!u)throw Error("LineItems.Description must be used within LineItems.Group");let{variant:f}=u;return(0,n.FD)(i.Dd,{elementDescriptor:a.$z.lineItemsDescription,elementId:a.$z.lineItemsDescription.setId(f),sx:e=>({display:"grid",justifyContent:"end",color:"tertiary"===f?e.colors.$colorMutedForeground:e.colors.$colorForeground}),children:[(0,n.FD)(i.L9,{elementDescriptor:a.$z.lineItemsDescriptionInner,sx:e=>({display:"inline-flex",justifyContent:"flex-end",alignItems:"center",gap:e.space.$1,minWidth:"0"}),children:[t?(0,n.Y)(i.L9,{localizationKey:t,elementDescriptor:a.$z.lineItemsDescriptionPrefix,sx:e=>({color:e.colors.$colorMutedForeground,...d.s.textVariants(e).caption})}):null,"string"==typeof e&&l?(0,n.Y)(m,{text:e}):(0,n.Y)(i.L9,{localizationKey:e,elementDescriptor:a.$z.lineItemsDescriptionText,sx:e=>({...d.s.textVariants(e).body,minWidth:"0",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})}),"string"==typeof e&&s?(0,n.Y)(h,{text:e,copyLabel:c}):null]}),r?(0,n.Y)(i.L9,{localizationKey:r,elementDescriptor:a.$z.lineItemsDescriptionSuffix,sx:e=>({color:e.colors.$colorMutedForeground,...d.s.textVariants(e).caption,justifySelf:"flex-end"})}):null]})}}},6980:function(e,t,r){r.d(t,{B:()=>d,W:()=>c});var n=r(4518),o=r(8272),i=r(8920),a=r(6142),l=r(6088),s=r(3269);let c=({children:e})=>(0,n.FD)(o.so,{direction:"col",center:!0,elementDescriptor:i.$z.main,gap:8,sx:e=>({marginTop:e.space.$16,marginBottom:e.space.$13}),children:[(0,n.Y)(o.y$,{size:"xl",colorScheme:"primary",elementDescriptor:i.$z.spinner}),e]}),d=(0,s.dm)(()=>{let e=(0,s.f0)();return(0,n.FD)(l.Z.Root,{children:[(0,n.FD)(l.Z.Content,{children:[(0,n.Y)(l.Z.Alert,{children:e.error}),(0,n.Y)(c,{}),(0,n.Y)(a.j,{})]}),(0,n.Y)(l.Z.Footer,{})]})})},4365:function(e,t,r){r.d(t,{Dr:()=>y,W1:()=>f,cO:()=>v,cQ:()=>g});var n=r(4518),o=r(9361),i=r(5074),a=r(8920),l=r(8272),s=r(1577),c=r(4374),d=r(4620),u=r(3269),p=r(4373);let[m,h]=(0,o.e3)("MenuState"),f=(0,u.P4)(e=>{let{popoverPlacement:t="bottom-end",elementId:r,...o}=e,a=(0,s.f)({placement:t,offset:8,shoudFlip:!0}),l=i.useMemo(()=>({value:{popoverCtx:a,elementId:r}}),[{...a},r]);return(0,n.Y)(m.Provider,{value:l,...o})}),g=e=>{let{children:t,arialLabel:r}=e,{popoverCtx:n,elementId:o}=h(),{reference:l,toggle:s,isOpen:c}=n,d="function"==typeof r?r(c):r;return(0,i.isValidElement)(t)?(0,i.cloneElement)(t,{ref:l,elementDescriptor:t.props.elementDescriptor||a.$z.menuButton,elementId:t.props.elementId||a.$z.menuButton.setId(o),"aria-label":d,"aria-expanded":c,onClick:e=>{t.props?.onClick?.(e),s()}}):null},b=(e,t,r)=>{let n=r?.countSelf?e.tagName:"",o=e;for(;o&&"BUTTON"!==n.toUpperCase();)o=o["prev"===t?"previousElementSibling":"nextElementSibling"],n=o?.tagName??"";return o},v=e=>{let{sx:t,asPortal:r,...o}=e,{popoverCtx:s,elementId:u}=h(),{floating:m,styles:f,isOpen:g,context:v,nodeId:y}=s,w=(0,i.useRef)(null);return(0,i.useLayoutEffect)(()=>{m(w.current)},[g]),(0,n.Y)(p.A,{context:v,nodeId:y,isOpen:g,portal:r,children:(0,n.Y)(l.fv,{elementDescriptor:a.$z.menuList,elementId:a.$z.menuList.setId(u),ref:w,role:"menu",onKeyDown:e=>{let t=w.current;if(t&&t===document.activeElement&&"ArrowDown"===e.key)return e.preventDefault(),b(t.children[0],"next",{countSelf:!0})?.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% + ${e.space.$2})`,animation:`${c.W.dropdownSlideInScaleAndFade} ${e.transitionDuration.$slower} ${e.transitionTiming.$slowBezier}`,transformOrigin:"top center",zIndex:e.zIndices.$dropdown,gap:e.space.$0x5}),t],style:f,...o})})},y=e=>{let{sx:t,onClick:r,destructive:o,closeAfterClick:s=!0,...c}=e,{popoverCtx:d,elementId:u}=h(),{toggle:p}=d,m=(0,i.useRef)(null);return(0,n.Y)(l.dF,{ref:m,elementDescriptor:a.$z.menuItem,elementId:a.$z.menuItem.setId(u),hoverAsFocus:!0,variant:"ghost",colorScheme:o?"danger":"neutral",role:"menuitem",onKeyDown:e=>{let t=m.current;if(!t)return;let r=e.key;if("ArrowUp"!==r&&"ArrowDown"!==r)return;e.preventDefault();let n=b(t,"ArrowUp"===r?"prev":"next");n?.focus()},focusRing:!1,onClick:e=>{r?.(e),s&&p()},sx:[e=>({justifyContent:"start",borderRadius:e.radii.$sm,padding:`${e.space.$1} ${e.space.$3}`,whiteSpace:"nowrap"}),t],...c})}},6705:function(e,t,r){r.d(t,{Modal:()=>b,Y:()=>g});var n=r(4518),o=r(9361),i=r(5074),a=r(8272),l=r(8920),s=r(1577),c=r(8792),d=r(4374),u=r(7591),p=r(3269),m=r(4373);let[h,f,g]=(0,o.e3)("ModalContext"),b=(0,p.P4)(e=>{let{disableScrollLock:t,enableScrollLock:r}=(0,c.K)(),{handleClose:p,handleOpen:f,contentSx:g,containerSx:b,canCloseModal:v,id:y,style:w,portalRoot:$,initialFocusRef:x}=e,_=(0,o.Sj)(),S=(0,i.useRef)(null),{floating:C,isOpen:k,context:A,nodeId:I,toggle:z}=(0,s.f)({defaultOpen:!0,autoUpdate:!1,outsidePress:e=>e.target===S.current,canCloseModal:v});i.useEffect(()=>{k?f?.():p?.()},[k]);let P=i.useMemo(()=>({value:!1===v?{}:{toggle:z}}),[z,v]);(0,o.UQ)(()=>(r(),()=>{t()}),[]);let D=$??_?.()??void 0;return(0,n.Y)(m.A,{nodeId:I,context:A,isOpen:k,outsideElementsInert:!0,root:D,initialFocus:x,children:(0,n.Y)(h.Provider,{value:P,children:(0,n.Y)(a.so,{id:y,ref:S,elementDescriptor:l.$z.modalBackdrop,style:w,sx:[e=>({animation:`${d.W.fadeIn} 150ms ${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}),b],children:(0,n.Y)(a.so,{elementDescriptor:l.$z.modalContent,ref:C,"aria-modal":"true",role:"dialog",sx:[e=>({position:"relative",outline:0,animation:`${d.W.modalSlideAndFade} 180ms ${e.transitionTiming.$easeOut}`,margin:`${e.space.$16} 0`,[u.g.sm]:{margin:`${e.space.$10} 0`}}),g],children:e.children})})})})})},9764:function(e,t,r){r.d(t,{oT:()=>D,jq:()=>A,n8:()=>C,XM:()=>k});var n,o=r(4518),i=r(9361),a=r(5074),l=r(8272),s=r(8920),c=r(78),d=r(1550),u=r(1577);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let m=function(e){return a.createElement("svg",p({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=a.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=r(4964),f=r(7591),g=r(1464),b=r(4374),v=r(4620),y=r(6088),w=r(3269),$=r(846),x=r(4373);let[_,S,C]=(0,i.e3)("NavbarContext"),k=({children:e,contentRef:t})=>{let[r,n]=a.useState(!1),i=a.useCallback(()=>n(!0),[]),l=a.useCallback(()=>n(!1),[]),s=a.useMemo(()=>({value:{isOpen:r,open:i,close:l,contentRef:t}}),[r]);return(0,o.Y)(_.Provider,{value:s,children:e})},A=e=>{let{contentRef:t,title:r,description:n,routes:i,header:c}=e,{close:u}=S(),{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))},b=(0,a.useCallback)(e=>{if(e.external)return!1;let t=f.currentPath===f.fullPath&&"/"===e.path,r=f.matches(e.path);return t||r},[f.currentPath]),v=(0,o.Y)(l.fv,{elementDescriptor:s.$z.navbarButtons,sx:e=>({gap:e.space.$0x5}),children:i.map(e=>(0,o.Y)(P,{elementDescriptor:s.$z.navbarButton,elementId:s.$z.navbarButton.setId(e.id),iconElementDescriptor:s.$z.navbarButtonIcon,iconElementId:s.$z.navbarButtonIcon.setId(e.id),onClick:e?.external?()=>p(e.path):()=>g(e),icon:e.icon,isActive:b(e),sx:e=>({padding:`${e.space.$1x5} ${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)(I,{title:r,description:n,children:[c,v]}),(0,o.FD)(z,{children:[c,v]})]})},I=e=>{let{title:t,description:r}=e;return(0,o.FD)(l.fv,{elementDescriptor:s.$z.navbar,sx:e=>({[f.g.md]:{display:"none"},flex:`0 0 ${e.space.$57}`,width:e.sizes.$57,position:"relative",maxWidth:e.space.$57,background:g.s.mutedBackground(e),padding:`${e.space.$6} ${e.space.$5} ${e.space.$4} ${e.space.$3}`,marginRight:`calc(${e.space.$2} * -1)`,color:e.colors.$colorForeground,justifyContent:"space-between"}),children:[(0,o.Y)($.$,{}),(0,o.FD)(l.fv,{sx:e=>({gap:e.space.$6,flex:`0 0 ${e.space.$60}`}),children:[(0,o.FD)(l.fv,{sx:e=>({gap:e.space.$0x5,padding:`${e.space.$none} ${e.space.$3}`}),children:[(0,o.Y)(l.DZ,{as:"h1",localizationKey:t}),(0,o.Y)(l.EY,{colorScheme:"secondary",localizationKey:r})]}),e.children]}),(0,o.Y)(y.Z.ClerkAndPagesTag,{sx:{width:"fit-content"}})]})},z=(0,w.P4)(e=>{let t=S(),{floating:r,isOpen:n,open:i,close:c,nodeId:d,context:p}=(0,u.f)({defaultOpen:!1,autoUpdate:!1});return a.useEffect(()=>{t.isOpen?i():c()},[t.isOpen]),a.useEffect(()=>{n||t.close()},[n]),(0,o.Y)(x.A,{nodeId:d,context:p,isOpen:n,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:r,elementDescriptor:s.$z.navbar,tabIndex:0,sx:e=>({outline:0,position:"absolute",top:0,bottom:0,width:e.space.$60,backgroundColor:v.T.makeSolid(e.colors.$colorBackground),borderTopRightRadius:e.radii.$lg,borderBottomRightRadius:e.radii.$lg,padding:`${e.space.$10} ${e.space.$6}`,animation:`${b.W.navbarSlideIn} ${e.transitionDuration.$slower} ${e.transitionTiming.$slowBezier}`,borderRightWidth:e.borderWidths.$normal,borderRightStyle:e.borderStyles.$solid,borderRightColor:e.colors.$borderAlpha150,boxShadow:e.shadows.$cardContentShadow}),children:e.children})})})}),P=e=>{let{icon:t,children:r,isActive:n,iconElementDescriptor:i,iconElementId:a,sx:s,...c}=e;return(0,o.FD)(l.$n,{variant:"unstyled",colorScheme:n?"primary":"neutral",textVariant:"buttonLarge",size:"md",isActive:n,focusRing:!1,...c,sx:[e=>({gap:e.space.$3,justifyContent:"flex-start",backgroundColor:n?e.colors.$neutralAlpha100:void 0,color:n?e.colors.$primary500:e.colors.$colorMutedForeground,"&:hover":{backgroundColor:n?void 0:e.colors.$neutralAlpha25},"&:focus":{backgroundColor:n?void 0:e.colors.$neutralAlpha50}}),s],children:[(0,o.Y)(l.In,{elementDescriptor:i,elementId:a,icon:t,sx:{opacity:n?1:.7,transform:"translateZ(0)"}}),r]})},D=({navbarTitleLocalizationKey:e,...t})=>{let{open:r}=C(),{t:n}=(0,c._)();return r?(0,o.Y)(l.so,{elementDescriptor:s.$z.navbarMobileMenuRow,sx:e=>({display:"none",background:g.s.mutedBackground(e),padding:`${e.space.$2} ${e.space.$3} ${e.space.$4} ${e.space.$3}`,marginBottom:`calc(${e.space.$2} * -1)`,[f.g.md]:{display:"flex"}}),children:(0,o.FD)(l.$n,{elementDescriptor:s.$z.navbarMobileMenuButton,...t,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"}),n(e)]})}):null}},6890:function(e,t,r){r.d(t,{h:()=>i});var n=r(4518),o=r(6195);let i=e=>{let{name:t="",imageUrl:r,...i}=e;return(0,n.Y)(o.e,{title:t,initials:(t||" ")[0],imageUrl:r,rounded:!1,...i})}},9001:function(e,t,r){r.d(t,{Q:()=>s});var n=r(4518);r(5074);var o=r(8272),i=r(8920),a=r(3486),l=r(6890);let s=e=>{let{organization:t,size:r="md",icon:s,rounded:c=!1,badge:d,sx:u,user:p,avatarSx:m,mainIdentifierSx:h,mainIdentifierVariant:f,elementId:g,...b}=e,{localizeCustomRole:v}=(0,a.l)(),y=p?.organizationMemberships.find(e=>e.organization.id===t.id),w=y?.roleName,$=v(y?.role)||w;return(0,n.FD)(o.so,{elementDescriptor:i.$z.organizationPreview,elementId:i.$z.organizationPreview.setId(g),gap:3,align:"center",as:"span",sx:[{minWidth:"0"},u],...b,children:[(0,n.FD)(o.so,{elementDescriptor:i.$z.organizationPreviewAvatarContainer,elementId:i.$z.organizationPreviewAvatarContainer.setId(g),justify:"center",as:"span",sx:{position:"relative"},children:[(0,n.Y)(l.h,{boxElementDescriptor:i.$z.organizationPreviewAvatarBox,imageElementDescriptor:i.$z.organizationPreviewAvatarImage,...t,size:e=>({xs:e.sizes.$5,sm:e.sizes.$8,md:e.sizes.$9,lg:e.sizes.$12})[r],sx:m,rounded:c}),s&&(0,n.Y)(o.so,{sx:{position:"absolute",left:0,bottom:0},children:s})]}),(0,n.FD)(o.so,{elementDescriptor:i.$z.organizationPreviewTextContainer,elementId:i.$z.organizationPreviewTextContainer.setId(g),direction:"col",justify:"center",as:"span",sx:{minWidth:"0px",textAlign:"left"},children:[(0,n.FD)(o.EY,{elementDescriptor:i.$z.organizationPreviewMainIdentifier,elementId:i.$z.organizationPreviewMainIdentifier.setId(g),variant:f||({xs:"subtitle",sm:"caption",md:"subtitle",lg:"h1"})[r],as:"span",truncate:!0,sx:h,title:t.name,children:[t.name," ",d]}),$&&(0,n.Y)(o.EY,{elementDescriptor:i.$z.organizationPreviewSecondaryIdentifier,elementId:i.$z.organizationPreviewSecondaryIdentifier.setId(g),as:"span",localizationKey:$,truncate:!0})]})]})}},8819:function(e,t,r){r.d(t,{d:()=>y});var n,o,i=r(4518),a=r(8272),l=r(8920),s=r(2861),c=r(78),d=r(5074);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}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),n||(n=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 r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}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=r(7591);let g=e=>{let{sx:t,isActive:r,icon:n,children:o,...s}=e;return(0,i.FD)(a.$n,{size:"xs",variant:"outline",sx:e=>[{color:e.colors.$colorForeground,opacity:r?1:e.opacity.$inactive,padding:`${e.space.$0x5} ${e.space.$0x5}`},t],elementDescriptor:l.$z.paginationButton,...s,children:[n&&(0,i.Y)(a.In,{size:"md",elementDescriptor:l.$z.paginationButtonIcon,icon:e.icon}),o]})},b=e=>{let{rowInfo:{startingRow:t,endingRow:r,allRowsCount:n}}=e;return(0,i.FD)(a.EY,{children:[(0,i.Y)(a.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:l.$z.paginationRowText?.setId("displaying"),sx:e=>({opacity:e.opacity.$inactive}),localizationKey:(0,s.G)("paginationRowText__displaying"),colorScheme:"secondary"})," ",(0,i.Y)(a.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:l.$z.paginationRowText?.setId("rowsCount"),sx:e=>({fontWeight:e.fontWeights.$medium}),children:t===r&&[0,1].includes(t)?t:`${t} – ${r}`})," ",(0,i.Y)(a.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:l.$z.paginationRowText?.setId("displaying"),sx:e=>({opacity:e.opacity.$inactive}),localizationKey:(0,s.G)("paginationRowText__of")})," ",(0,i.Y)(a.EY,{as:"span",elementDescriptor:l.$z.paginationRowText,elementId:l.$z.paginationRowText?.setId("allRowsCount"),children:n})]})},v=()=>(0,i.Y)(a.so,{center:!0,children:(0,i.Y)(a.EY,{colorScheme:"secondary",children:"..."})}),y=e=>{let{page:t,count:r,rowInfo:n,siblingCount:o=1,onChange:l}=e,{t:d}=(0,c._)();return(0,i.FD)(a.so,{justify:n?"between":"center",align:"center",sx:e=>({fontSize:e.fontSizes.$sm,"*":{fontSize:"inherit"},[f.g.sm]:{flexDirection:"column",gap:e.space.$2}}),children:[n&&(0,i.Y)(b,{rowInfo:n}),(0,i.FD)(a.so,{gap:2,align:"center",sx:{display:"inline-flex"},children:[(0,i.Y)(g,{isDisabled:t<=1,icon:p,"aria-label":d((0,s.G)("paginationButton__previous")),onClick:()=>{l?.(t-1)}}),Array.from({length:r-1+1},(e,t)=>1+t).map(e=>Math.abs(t-e)<=o||e===r||1===e?(0,i.Y)(g,{isActive:e===t,variant:"ghost",onClick:()=>{l?.(e)},children:e},e):Math.abs(t-e)===o+1?(0,i.Y)(v,{},e):null),(0,i.Y)(g,{isDisabled:t>=r||t<1,icon:h,"aria-label":d((0,s.G)("paginationButton__next")),onClick:()=>{l?.(t+1)}})]})]})}},781:function(e,t,r){r.d(t,{i:()=>i});var n=r(4518),o=r(9345);let i=e=>(0,n.Y)(o.c,{elementId:"personalWorkspace",rounded:!1,...e})},1820:function(e,t,r){r.d(t,{mK:()=>o,nU:()=>a,zh:()=>l});let n=[["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"])},i=([e,t,r,n="",o=0])=>({name:e,iso:t,code:r,pattern:n,priority:o}),a=n.reduce((e,t)=>e.set(t[1],i(t)),new Map),l=n.reduce((e,t)=>{let r=t[2],n=i(t);return e.has(r)?e.get(r)?.push(n):e.set(r,[n]),e},new Map)},4373:function(e,t,r){r.d(t,{A:()=>a});var n=r(4518),o=r(9361),i=r(2119);r(5074);let a=e=>{let{context:t,initialFocus:r,outsideElementsInert:a=!1,order:l=["reference","content"],nodeId:s,isOpen:c,portal:d=!0,root:u,children:p}=e,m=(0,o.Sj)(),h=u??m?.()??void 0;return d?(0,n.Y)(i.$c,{id:s,children:(0,n.Y)(i.XF,{root:h,children:c&&(0,n.Y)(i.s3,{context:t,initialFocus:r,outsideElementsInert:a,order:l,children:(0,n.Y)(n.FK,{children:p})})})}):(0,n.Y)(i.$c,{id:s,children:c&&(0,n.Y)(i.s3,{context:t,initialFocus:r,order:l,children:(0,n.Y)(n.FK,{children:p})})})}},9972:function(e,t,r){r.d(t,{Y:()=>h});var n=r(4518),o=r(5074),i=r(7697),a=r(4607),l=r(8920),s=r(8272),c=r(6580),d=r(4374),u=r(1464),p=r(4620),m=r(6088);let h={Root:o.forwardRef((e,t)=>{let{elementDescriptor:r,shouldEntryAnimate:o=!0,...i}=e;return(0,n.Y)(a.n.Part,{part:"popover",children:(0,n.Y)(m.Z.Root,{elementDescriptor:[l.$z.popoverBox,r],...i,ref:t,sx:[e=>({width:e.sizes.$94,maxWidth:`calc(100vw - ${e.sizes.$8})`,zIndex:e.zIndices.$modal,borderRadius:e.radii.$xl,outline:"none"}),e=>({animation:o?`${d.W.dropdownSlideInScaleAndFade} ${e.transitionDuration.$fast}`:void 0})],children:e.children})})}),Content:e=>{let{sx:t,...r}=e;return(0,n.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],...r,children:e.children})},Footer:e=>{let{sx:t,children:r,...o}=e,{branded:a}=(0,i.O)().displayConfig,{privacyPageUrl:l,termsPageUrl:d,helpPageUrl:h}=(0,c.K)().parsedOptions;return(0,n.FD)(s.fv,{justify:"between",sx:[e=>({background:u.s.mergedColorsBackground(p.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50),marginTop:`calc(${e.space.$2} * -1)`,paddingTop:e.space.$2,"&:empty":{padding:0,marginTop:0},">:not(:first-of-type)":{padding:`${e.space.$4} ${e.space.$8}`,borderTopWidth:e.borderWidths.$normal,borderTopStyle:e.borderStyles.$solid,borderTopColor:e.colors.$borderAlpha100}}),t],...o,children:[r,(0,n.Y)(m.Z.ClerkAndPagesTag,{outerSx:e=>({padding:`${e.space.$4} ${e.space.$8}`}),withFooterPages:!!(a||l||d||h),devModeNoticeSx:e=>({padding:e.space.$none}),withDevOverlay:!0})]})}}},1986:function(e,t,r){r.d(t,{Z:()=>i});var n=r(5074),o=r(5323);let i=e=>{let t=n.useRef(document.createElement("div"));return n.useEffect(()=>(document.body.appendChild(t.current),()=>{document.body.removeChild(t.current)}),[]),(0,o.createPortal)(e.children,t.current)}},750:function(e,t,r){r.d(t,{P:()=>a});var n=r(4518),o=r(8272),i=r(3269);let a=e=>{let{sx:t,children:r,icon:a,iconProps:l,showIconOnHover:s=!0,...c}=e,d=(0,i.f0)(),{sx:u,...p}=l||{};return(0,n.FD)(o.$n,{variant:"ghost",colorScheme:"neutral",focusRing:!1,block:!0,hoverAsFocus:!0,isDisabled:d.isLoading,sx:[e=>({justifyContent:"space-between",padding:`${e.space.$4} ${e.space.$5}`,borderRadius:0,...s?{":hover > svg":{visibility:"initial"}}:{}}),t],...c,children:[r,a&&(0,n.Y)(o.In,{icon:a,sx:[e=>({color:e.colors.$colorMutedForeground,marginLeft:e.space.$2,visibility:s?"hidden":"initial"}),u],...p})]})}},5396:function(e,t,r){r.d(t,{a:()=>h});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(4964),s=r(7591),c=r(1464),d=r(5057),u=r(6088),p=r(155),m=r(6705);let h={Root:o.forwardRef((e,t)=>{let{sx:r,children:o,...l}=e,{toggle:c}=(0,m.Y)();return(0,n.FD)(u.Z.Root,{ref:t,sx:[e=>({width:e.sizes.$220,maxWidth:`calc(100vw - ${e.sizes.$8})`,display:"flex",flexDirection:"row",[s.g.md]:{display:"flex",flexDirection:"column"},overflow:"hidden",height:e.sizes.$176,position:"relative"}),r],...l,children:[c&&(0,n.Y)(i.az,{sx:e=>({[s.g.md]:{padding:`${e.space.$1x5} ${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,n.Y)(p.K,{elementDescriptor:a.$z.modalCloseButton,variant:"ghost","aria-label":"Close modal",onClick:c,icon:(0,n.Y)(i.In,{icon:d.A,size:"sm"}),sx:e=>({color:e.colors.$colorMutedForeground,padding:e.space.$3})})}),o,(0,n.Y)(u.Z.Footer,{isProfileFooter:!0,sx:{display:"none",[s.g.md]:{display:"flex"}}})]})}),Content:e=>{let{contentRef:t,children:r,scrollBoxId:d}=e,u=(0,l.r)(),p=o.useRef(0);return o.useEffect(()=>{let e=e=>{let t=e.target;t.scrollTop&&(p.current=t.scrollTop)};return t?.current?.addEventListener("scroll",e),()=>t?.current?.removeEventListener("scroll",e)},[]),o.useLayoutEffect(()=>{p.current&&t?.current&&(t.current.scrollTop=p.current)},[u.currentPath]),(0,n.Y)(i.fv,{elementDescriptor:a.$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,n.Y)(i.fv,{elementDescriptor:a.$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:`${e.space.$8} ${e.space.$5}`},...c.s.maxHeightScroller(e)}),ref:t,children:r})})}}},6760:function(e,t,r){r.d(t,{U:()=>l});var n=r(4518),o=r(5074),i=r(6580),a=r(6505);let l=e=>{let t=(0,i.K)(),r=c(o.Children.toArray(e.children),e=>(0,n.Y)(a.c,{},`divider${e}`));return(0,n.Y)(s,{reverse:"bottom"===t.parsedOptions.socialButtonsPlacement,...e,children:r})},s=e=>{let{children:t,reverse:r}=e;return(0,n.Y)(n.FK,{children:r?o.Children.toArray(t).reverse():t})},c=(e,t)=>e.reduce((r,n,o)=>o===e.length-1?[...r,n]:[...r,n,t(o)],[])},1005:function(e,t,r){r.d(t,{M:()=>i});var n=r(4518),o=r(8272);let i=e=>(0,n.Y)(o.fv,{...e,sx:e=>({boxSizing:"border-box",width:"fit-content",color:e.colors.$colorForeground,fontFamily:e.fonts.$main,fontStyle:e.fontStyles.$normal})})},4387:function(e,t,r){r.d(t,{W:()=>a});var n=r(4518),o=r(8272),i=r(4964);let a=e=>{let{to:t,onClick:r,...a}=e,l=(0,i.r)(),s=l.resolve(t||l.indexPath);return(0,n.Y)(o.N_,{...a,onClick:e=>(e.preventDefault(),r&&!t)?r(e):l.navigate(s.href),href:s.href})}},4003:function(e,t,r){r.d(t,{rd:()=>m});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(9679),s=r(7591),c=r(579),d=r(8738),u=r(4365);let p=(0,o.forwardRef)((e,t)=>{let{children:r,leftIcon:o=l.A,id:i,sx:s,localizationKey:c,...u}=e;return(0,n.Y)(d.X,{elementDescriptor:a.$z.profileSectionPrimaryButton,elementId:a.$z.profileSectionPrimaryButton.setId(i),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:r})}),m={Root:e=>{let{title:t,centered:r=!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,n.FD)(i.so,{elementDescriptor:a.$z.profileSection,elementId:a.$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,n.Y)(i.fv,{elementDescriptor:a.$z.profileSectionContent,elementId:a.$z.profileSectionContent.setId(c),gap:2,ref:p,sx:{minWidth:0,width:"100%","+ *":{"--clerk-height":`${m}px`}},children:l}),(0,n.Y)(i.fv,{elementDescriptor:a.$z.profileSectionHeader,elementId:a.$z.profileSectionHeader.setId(c),sx:e=>({padding:r?void 0:`${e.space.$1x5} 0`,gap:e.space.$1,width:e.space.$66,alignSelf:m?"self-start":r?"center":void 0,marginTop:r?"calc(var(--clerk-height)/2)":void 0,transform:m&&r?"translateY(-50%)":void 0,[s.g.lg]:{alignSelf:"self-start",marginTop:"unset",transform:"none",padding:0}}),children:(0,n.Y)(h,{localizationKey:t,elementDescriptor:a.$z.profileSectionTitle,elementId:a.$z.profileSectionTitle.setId(c),textElementDescriptor:a.$z.profileSectionTitleText,textElementId:a.$z.profileSectionTitleText.setId(c)})})]})},ItemList:e=>{let{children:t,id:r,disableAnimation:o=!1,...l}=e,s=(0,n.Y)(i.fv,{elementDescriptor:a.$z.profileSectionItemList,elementId:a.$z.profileSectionItemList.setId(r),sx:e=>({gap:e.space.$0x5}),...l,children:t});return o?s:(0,n.Y)(c.k,{asChild:!0,children:s})},Item:e=>{let{children:t,id:r,sx:o,hoverable:l,...s}=e;return(0,n.Y)(i.so,{elementDescriptor:a.$z.profileSectionItem,elementId:a.$z.profileSectionItem.setId(r),sx:[e=>({justifyContent:"space-between",width:"100%",alignItems:"center",padding:`${e.space.$1} ${e.space.$1} ${e.space.$1} ${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:r,sx:o,...l}=e;return(0,n.Y)(i.$n,{elementDescriptor:a.$z.profileSectionPrimaryButton,elementId:a.$z.profileSectionPrimaryButton.setId(r),variant:"ghost",sx:[e=>({whiteSpace:"nowrap",justifyContent:"start",gap:e.space.$2,padding:`${e.space.$1x5} ${e.space.$3} ${e.space.$1x5} ${e.space.$2x5}`}),o],...l,children:t})},ArrowButton:p,ButtonGroup:e=>{let{children:t,id:r,...o}=e;return(0,n.Y)(i.so,{elementDescriptor:a.$z.profileSectionButtonGroup,elementId:a.$z.profileSectionButtonGroup.setId(r),justify:"between",gap:2,...o,children:t})},ActionMenu:e=>{let{children:t,triggerLocalizationKey:r,id:o,triggerSx:a,onClick:s}=e;return(0,n.Y)(i.so,{sx:{position:"relative"},children:(0,n.FD)(u.W1,{elementId:o,children:[(0,n.Y)(u.cQ,{children:(0,n.Y)(p,{id:o,textLocalizationKey:r,sx:[e=>({justifyContent:"start",height:e.sizes.$8}),a],leftIcon:l.A,leftIconSx:e=>({width:e.sizes.$4,height:e.sizes.$4}),onClick:s})}),(0,n.Y)(u.cO,{asPortal:!1,sx:e=>({width:"100%",padding:e.space.$1}),children:t})]})})},ActionMenuItem:e=>{let{children:t,isLoading:r,localizationKey:l,sx:s,leftIcon:c,leftIconSx:d,...p}=e,m=(0,o.isValidElement)(c);return(0,n.FD)(u.Dr,{sx:[e=>({padding:`${e.space.$1x5} ${e.space.$2}`}),s],isLoading:r,...p,children:[(r||c)&&(0,n.Y)(i.so,{as:"span",sx:e=>({flex:`0 0 ${e.space.$4}`}),children:r?(0,n.Y)(i.y$,{elementDescriptor:a.$z.spinner,size:"sm"}):!m&&c?(0,n.Y)(i.In,{icon:c,sx:[e=>({color:e.colors.$neutralAlpha600,width:e.sizes.$5}),d]}):c}),(0,n.Y)(i.EY,{localizationKey:l})]})}},h=e=>{let{textElementDescriptor:t,textElementId:r,localizationKey:o,...a}=e;return(0,n.Y)(i.so,{...a,children:(0,n.Y)(i.EY,{localizationKey:o,variant:"subtitle",elementDescriptor:t,elementId:r})})}},6839:function(e,t,r){r.d(t,{I:()=>u});var n=r(4518),o=r(2119),i=r(5074),a=r(8272),l=r(8920);let s=(0,i.createContext)(null),c=i.forwardRef(({children:e,value:t,defaultValue:r,onChange:c,"aria-label":d,"aria-labelledby":u,size:p="md",fullWidth:m=!1,sx:h},f)=>{let[g,b]=(0,i.useState)(r),v=void 0!==t;return(0,n.Y)(s.Provider,{value:{currentValue:v?t:g,onValueChange:e=>{v||b(e),c?.(e)},size:p,fullWidth:m},children:(0,n.Y)(o.eC,{orientation:"horizontal",role:"radiogroup",loop:!1,render:(0,n.Y)(a.so,{ref:f,elementDescriptor:l.$z.segmentedControlRoot,"aria-label":d,"aria-labelledby":u,sx:[e=>({backgroundColor:e.colors.$neutralAlpha50,borderRadius:e.radii.$md,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:e.colors.$borderAlpha100,isolation:"isolate"}),h]}),children:e})})});c.displayName="SegmentedControl.Root";let d=i.forwardRef(({text:e,value:t},r)=>{let{currentValue:c,onValueChange:d,size:u,fullWidth:p}=function(){let e=(0,i.useContext)(s);if(!e)throw Error("SegmentedControl.Button must be used within SegmentedControl.Root");return e}(),m=t===c;return(0,n.Y)(o.lb,{render:o=>(0,n.Y)(a.dF,{ref:r,...o,localizationKey:e,elementDescriptor:l.$z.segmentedControlButton,variant:"unstyled",role:"radio","aria-checked":m,onClick:()=>d(t),isActive:m,sx:e=>({position:"relative",width:p?"100%":"auto",backgroundColor:m?e.colors.$colorBackground:"transparent",color:m?e.colors.$colorForeground:e.colors.$colorMutedForeground,fontSize:"lg"===u?e.fontSizes.$md:e.fontSizes.$xs,minHeight:e.sizes.$6,boxShadow:m?e.shadows.$segmentedControl:"none",borderRadius:`calc(${e.radii.$md} - ${e.borderWidths.$normal})`,zIndex:1,":focus-visible":{zIndex:2}})})})});d.displayName="SegmentedControl.Button";let u={Root:c,Button:d}},1586:function(e,t,r){r.d(t,{JC:()=>S,l6:()=>y,UL:()=>_});var n=r(4518),o=r(9361),i=r(5074),a=r(8272),l=r(8920),s=r(1577),c=r(7649),d=r(1464),u=r(4374),p=r(4620),m=r(3269),h=r(4373);let[f,g]=(0,o.e3)("SelectState"),b=(e,t)=>(0,n.Y)(a.so,{sx:e=>({position:"relative",width:"100%",padding:`${e.space.$2} ${e.space.$4}`,margin:`0 ${e.space.$1}`,borderRadius:e.radii.$md,'&:hover, &[data-focused="true"]':{background:d.s.mutedBackground(e)},"&::before":{content:'""',position:"absolute",inset:`calc(${e.space.$0x5} * -1) calc(${e.space.$1} * -1)`}}),children:(0,n.Y)(a.EY,{truncate:!0,children:e.label||e.value})}),v=e=>e.label||e.value,y=(0,m.P4)(e=>{let{value:t,options:r,onChange:o,renderOption:a,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}),$=w.toggle,x=i.useRef(null),C=(e=>{let{items:t,comparator:r,searchTermForItem:n}=e,[o,a]=i.useState(""),l=i.useMemo(()=>t.reduce((e,t)=>(e.set(t,n?.(t)),e),new Map),[t]),s=i.useMemo(()=>o?t.filter(e=>r(o,e,l.get(e))):t,[t,o]);return{searchInputProps:{onChange:e=>a(e.target.value||""),value:o},filteredItems:s}})({items:r,comparator:c||(()=>!0)}),k=i.useCallback(e=>{o?.(e),$()},[$,o]),A=(0,n.FD)(n.FK,{children:[(0,n.Y)(_,{}),(0,n.Y)(S,{})]});return(0,n.Y)(f.Provider,{value:{value:{popoverCtx:w,searchInputCtx:C,selectedOption:r.find(e=>e.value===t)||null,noResultsMessage:l,focusedItemRef:x,value:t,renderOption:a||b,buttonRenderOption:a||v,placeholder:d,searchPlaceholder:u,comparator:c,select:k,onTriggerClick:$,elementId:p,portal:h}},...y,children:i.Children.count(m)?m:A})}),w=i.memo(i.forwardRef((e,t)=>{let{option:r,renderOption:o,isSelected:s,index:c,handleSelect:d,isFocused:u,elementId:p}=e;return(0,n.Y)(a.so,{ref:t,sx:{userSelect:"none",cursor:"pointer"},onClick:()=>{d(r)},children:i.cloneElement(o(r,c,s),{elementDescriptor:l.$z.selectOption,elementId:l.$z.selectOption.setId(p),"data-selected":s,"data-focused":u})})})),$=e=>{let{sx:t,...r}=e;i.useEffect(()=>()=>e.onChange({target:{value:""}}),[]);let{elementId:o}=g();return(0,n.Y)(a.so,{sx:e=>({padding:e.space.$0x5}),children:(0,n.Y)(a.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],...r})})},x=e=>{let{sx:t,...r}=e;return(0,n.Y)(a.EY,{as:"div",sx:[e=>({width:"100%",padding:`${e.space.$1} ${e.space.$2} ${e.space.$2} ${e.space.$2}`}),t],...r})},_=e=>{let{containerSx:t,sx:r,...o}=e,{popoverCtx:s,searchInputCtx:c,value:d,renderOption:m,searchPlaceholder:f,comparator:b,focusedItemRef:v,noResultsMessage:y,select:_,onTriggerClick:S,elementId:C,portal:k}=g(),{filteredItems:A,searchInputProps:I}=c,[z,P]=(0,i.useState)(0),{isOpen:D,floating:Y,styles:R,nodeId:T,context:F}=s,E=i.useRef(null);return i.useEffect(()=>{D?v.current?.scrollIntoView?.({block:"nearest"}):P(-1)},[z,D]),i.useEffect(()=>P(0),[A.length]),i.useEffect(()=>{if(b||E?.current?.focus(),D){P(A.findIndex(e=>e.value===d)),v.current?.scrollIntoView?.({block:"nearest"});return}},[D]),(0,n.Y)(h.A,{nodeId:T,context:F,isOpen:D,portal:k||!1,order:["content"],children:(0,n.FD)(a.so,{elementDescriptor:l.$z.selectOptionsContainer,elementId:l.$z.selectOptionsContainer.setId(C),ref:Y,onKeyDown:e=>"ArrowUp"===e.key?(e.preventDefault(),D)?P((e=0)=>0===e?A.length-1:e-1):S():"ArrowDown"===e.key?(e.preventDefault(),D)?P((e=0)=>e===A.length-1?0:e+1):S():"Enter"===e.key&&z>=0?(e.preventDefault(),_(A[z])):void 0,direction:"col",justify:"start",sx:[e=>({backgroundColor:p.T.makeSolid(e.colors.$colorBackground),borderRadius:e.radii.$lg,overflow:"hidden",animation:`${u.W.dropdownSlideInScaleAndFade} ${e.transitionDuration.$slower} ${e.transitionTiming.$slowBezier}`,transformOrigin:"top center",boxShadow:e.shadows.$menuShadow,zIndex:e.zIndices.$dropdown}),r],style:{...R,left:R.left-1},children:[b&&(0,n.Y)($,{placeholder:f,...I}),(0,n.FD)(a.so,{ref:E,direction:"col",tabIndex:b?void 0:0,sx:[e=>({gap:e.space.$0x5,outline:"none",overflowY:"auto",maxHeight:"18vh",padding:`${e.space.$0x5} ${e.space.$0x5}`}),t],...o,children:[A.map((e,t)=>{let r=t===z,o=d===e.value;return(0,n.Y)(w,{index:t,ref:r?v:void 0,option:e,renderOption:m,isSelected:o,isFocused:r,handleSelect:_,elementId:C},e.value)}),y&&0===A.length&&(0,n.Y)(x,{children:y})]})]})})},S=e=>{let{sx:t,children:r,icon:o,iconSx:i,...s}=e,{popoverCtx:d,onTriggerClick:u,buttonRenderOption:p,selectedOption:m,placeholder:h,elementId:f}=g(),{reference:b}=d,v=r;return r||(v=m?p(m):(0,n.Y)(a.EY,{as:"span",sx:e=>({opacity:e.opacity.$inactive}),children:h})),(0,n.FD)(a.$n,{elementDescriptor:l.$z.selectButton,elementId:l.$z.selectButton.setId(f),ref:b,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:[v,(0,n.Y)(a.In,{elementDescriptor:l.$z.selectButtonIcon,elementId:l.$z.selectButtonIcon.setId(f),size:"md",icon:o||c.A,sx:i})]})}},5715:function(e,t,r){r.d(t,{V:()=>v});var n=r(4518),o=r(1652),i=r(9361),a=r(5074),l=r(2660),s=r(6580),c=r(8272),d=r(8920),u=r(2861),p=r(2216),m=r(2229),h=r(7591),f=r(6735),g=r(8975),b=r(3269);let v=a.memo(e=>{let{oauthCallback:t,web3Callback:r,alternativePhoneCodeCallback:a,enableOAuthProviders:g=!0,enableWeb3Providers:v=!0,enableAlternativePhoneCodeProviders:$=!0,idleAfterDelay:x=!0,showLastAuthenticationStrategy:_=!1}=e,{web3Strategies:S,authenticatableOauthStrategies:C,strategyToDisplayData:k,alternativePhoneCodeChannels:A}=(0,p.k)(),I=(0,m.F)(),z=(0,b.f0)(),P=(0,i.ho)(),{socialButtonsVariant:D}=(0,s.K)().parsedOptions,Y=[...g?C:[],...v?S:[],...$?A:[]];if(!Y.length)return null;let R=_?P.client?.lastAuthenticationStrategy:null,T=R?.startsWith("saml_")?R.replace("saml_","oauth_"):R,F=T&&Y.includes(T)?T:null,{strategyRows:E,lastAuthenticationStrategyPresent:L}=function e(t,r,n){if(n&&t.includes(n)){let o=t.filter(e=>e!==n);return 0===o.length?{strategyRows:[[n]],lastAuthenticationStrategyPresent:!0}:{strategyRows:[[n],...e(o,r,null).strategyRows],lastAuthenticationStrategyPresent:!0}}if(t.length<=r)return{strategyRows:[t],lastAuthenticationStrategyPresent:!1};let o=Math.ceil(t.length/r),i=Math.ceil(t.length/o),a=Array.from({length:o},()=>[]),l=0;for(let e of t)a[l].push(e),a[l].length===i&&l++;return{strategyRows:a,lastAuthenticationStrategyPresent:!1}}([...Y],5,F),B=E.at(+!!L)?.length??0,M=L?Y.length-1:Y.length,O=!L&&2===Y.length,j="blockButton"===D||"iconButton"!==D&&Y.length<=2,U=async e=>{z.setLoading(e);try{e.startsWith("web3_")?await r(e):await t(e)}catch{await (0,f.y)(1e3),z.setIdle()}x&&(await (0,f.y)(5e3),z.setIdle())},W=j?w:y;return(0,n.Y)(c.so,{direction:"col",gap:2,elementDescriptor:d.$z.socialButtonsRoot,children:E.map((e,t)=>(0,n.Y)(c.xA,{elementDescriptor:d.$z.socialButtons,gap:2,sx:r=>({justifyContent:"center",[h.g.sm]:{gridTemplateColumns:O?"repeat(1, minmax(0, 1fr))":void 0},gridTemplateColumns:Y.length<1?"repeat(1, minmax(0, 1fr))":`repeat(${e.length}, ${0===t?"minmax(0, 1fr)":`minmax(0, calc((100% - (${B} - 1) * ${r.sizes.$2}) / ${B}))`})`}),children:e.map(t=>{let r=1===M||t===F&&1===e.length,i=r?`Continue with ${k[t].name}`:k[t].name,s=r?(0,u.G)("socialButtonsBlockButton",{provider:k[t].name}):(0,u.G)("socialButtonsBlockButtonManyInView",{provider:k[t].name}),p=k[t].iconUrl?(0,n.Y)(c._V,{elementDescriptor:[d.$z.providerIcon,d.$z.socialButtonsProviderIcon],elementId:d.$z.socialButtonsProviderIcon.setId(k[t].id),isLoading:z.loadingMetadata===t,isDisabled:z.isLoading,src:k[t].iconUrl,alt:`Sign in with ${k[t].name}`,sx:e=>({width:e.sizes.$4,height:"auto",maxWidth:"100%"})}):(0,n.Y)(l.T,{id:k[t].id,value:k[t].name,isLoading:z.loadingMetadata===t,isDisabled:z.isLoading});return(0,n.Y)(W,{id:k[t].id,onClick:async()=>{(0,o.y)(t)?a(t):await U(t)},isLoading:z.loadingMetadata===t,isDisabled:z.isLoading,label:i,textLocalizationKey:s,icon:p,lastAuthenticationStrategy:t===F&&I>1},t)})},e.join("-")))})}),y=(0,a.forwardRef)((e,t)=>{let{icon:r,label:o,id:i,textLocalizationKey:a,lastAuthenticationStrategy:l,...s}=e;return l?(0,n.Y)(w,{...e,ref:t}):(0,n.Y)(c.$n,{ref:t,elementDescriptor:d.$z.socialButtonsIconButton,elementId:d.$z.socialButtonsIconButton.setId(i),textVariant:"buttonLarge",variant:"outline",colorScheme:"neutral",hoverAsFocus:!0,sx:e=>({minHeight:e.sizes.$8,width:"100%"}),...s,children:r})}),w=(0,a.forwardRef)((e,t)=>{let{id:r,icon:o,isLoading:i,label:l,textLocalizationKey:s,lastAuthenticationStrategy:u,...p}=e,m=(0,a.isValidElement)(o);return(0,n.FD)(c.dF,{elementDescriptor:d.$z.socialButtonsBlockButton,elementId:d.$z.socialButtonsBlockButton.setId(r),variant:"outline",block:!0,isLoading:i,hoverAsFocus:!0,ref:t,...p,sx:t=>[{gap:t.space.$4,position:"relative",justifyContent:"flex-start"},e.sx],children:[u&&(0,n.Y)(g.j,{overlay:!0}),(0,n.FD)(c.so,{justify:"center",align:"center",as:"span",gap:3,sx:{width:"100%",overflow:"hidden"},children:[(i||o)&&(0,n.Y)(c.so,{as:"span",center:!0,sx:e=>({flex:`0 0 ${e.space.$4}`}),children:i?(0,n.Y)(c.y$,{size:"sm",elementDescriptor:d.$z.spinner}):!m&&o?(0,n.Y)(c.In,{icon:o,sx:[e=>({color:e.colors.$neutralAlpha600,width:e.sizes.$4,position:"absolute"})]}):o}),(0,n.Y)(c.EY,{elementDescriptor:d.$z.socialButtonsBlockButtonText,elementId:d.$z.socialButtonsBlockButtonText.setId(r),as:"span",truncate:!0,variant:"buttonLarge",localizationKey:s,children:l})]})]})})},6370:function(e,t,r){r.d(t,{B:()=>d});var n=r(4518);r(5074);var o=r(8272),i=r(8920),a=r(1550),l=r(2861),s=r(1475),c=r(6153);let d=e=>{let{text:t,title:r,finishLabel:d,onFinish:u,contents:p,...m}=e,{navigateToFlowStart:h}=(0,a.C)();return(0,n.FD)(o.fv,{...m,gap:4,children:[(0,n.Y)(c.Y.Root,{children:(0,n.Y)(c.Y.Title,{localizationKey:r,textVariant:"subtitle"})}),(0,n.Y)(o.fv,{gap:4,children:Array.isArray(t)?t.map(e=>(0,n.Y)(o.EY,{localizationKey:e,colorScheme:"secondary",sx:e=>({display:"inline",":not(:last-of-type)":{marginRight:e.sizes.$1}})},e.key)):(0,n.Y)(o.EY,{localizationKey:t,colorScheme:"secondary"})}),p,(0,n.Y)(s.c,{children:(0,n.Y)(o.$n,{autoFocus:!0,localizationKey:d||(0,l.G)("userProfile.formButtonPrimary__finish"),elementDescriptor:i.$z.formButtonPrimary,onClick:u||h})})]})}},8511:function(e,t,r){r.d(t,{d:()=>s});var n=r(4518),o=r(5074),i=r(8272),a=r(8920),l=r(1464);let s=(0,o.forwardRef)(({isChecked:e,defaultChecked:t,onChange:r,isDisabled:s=!1,label:c},d)=>{let[u,p]=(0,o.useState)(!!t),m=void 0!==e,h=m?e:u;return(0,n.FD)(i.so,{ref:d,elementDescriptor:a.$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,n.Y)("input",{type:"checkbox",role:"switch",disabled:s,defaultChecked:t,checked:h,onChange:e=>{s||(m||p(e.target.checked),r?.(e.target.checked))},style:{...l.s.visuallyHidden()}}),(0,n.Y)(i.so,{elementDescriptor:a.$z.switchIndicator,as:"span","data-checked":h,sx:e=>({width:e.sizes.$6,height:e.sizes.$4,alignItems:"center",position:"relative",backgroundColor:h?e.colors.$primary500:e.colors.$neutralAlpha150,borderRadius:999,transition:"background-color 0.2s",opacity:s?.6:1,cursor:s?"not-allowed":"pointer",outline:"none",boxSizing:"border-box",boxShadow:"0px 0px 0px 1px rgba(0, 0, 0, 0.06) inset"}),children:(0,n.Y)(i.so,{as:"span",elementDescriptor:a.$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(${h?e.sizes.$2:0})`,transition:"transform 0.2s",zIndex:1})})}),(0,n.Y)(i.EY,{as:"span",variant:"caption",colorScheme:"secondary",localizationKey:c,sx:e=>({paddingInlineStart:e.sizes.$2,cursor:s?"not-allowed":"pointer",userSelect:"none"})})]})});s.displayName="Switch"},5073:function(e,t,r){r.d(t,{T2:()=>g,Kp:()=>b,j7:()=>h,oz:()=>f,tU:()=>m});var n=r(4518),o=r(9361),i=r(5074),a=r(8272),l=r(8920),s=r(78);function c(e){return i.Children.toArray(e).filter(e=>i.isValidElement(e))}let[d,u]=(0,o.e3)("TabsContext"),p=e=>{let t=i.useMemo(()=>({value:e.value}),[e.value.selectedIndex,e.value.setFocusedIndex]);return(0,n.Y)(d.Provider,{value:t,children:e.children})},m=e=>{let{value:t,onChange:r,defaultIndex:o=0,children:a}=e,[l,s]=i.useState(o),[c,d]=i.useState(-1),u=i.useCallback(e=>{r?r(e):s(e)},[r]);return(0,n.Y)(p,{value:{selectedIndex:void 0!==t?t:l,setSelectedIndex:u,focusedIndex:c,setFocusedIndex:d},children:a})},h=e=>{let{children:t,sx:r,...o}=e,{setSelectedIndex:s,selectedIndex:d,setFocusedIndex:p}=u(),m=0,h=c(t).map(e=>{let t=i.cloneElement(e,{tabIndex:e.type===f?m:void 0});return m++,t});return(0,n.Y)(a.so,{elementDescriptor:l.$z.tabListContainer,onKeyDown:e=>{let t=h.filter(e=>!e.props?.isDisabled&&e.type===f).map(e=>e.props.tabIndex),r=t.length,n=t.indexOf(d);if("ArrowLeft"===e.key){let e=0===n?t[r-1]:t[n-1];return p(e),s(e)}if("ArrowRight"===e.key){let e=r-1===n?t[0]:t[n+1];return p(e),s(e)}},role:"tablist",sx:[e=>({borderBottomStyle:e.borderStyles.$solid,borderBottomWidth:e.borderWidths.$normal,borderColor:e.colors.$borderAlpha100}),r],...o,children:h})},f=e=>{let{t}=(0,s._)(),{children:r,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:b}=u(),v=i.useRef(null),y=c===f,w=c===g;return i.useEffect(()=>{d&&0===c&&h(c+1)},[]),i.useEffect(()=>{v.current&&w&&v.current.focus()},[w]),(0,n.FD)(a.$n,{elementDescriptor:l.$z.tabButton,onClick:()=>{h(c),b(-1)},isDisabled:d,tabIndex:y?0:-1,variant:"ghost","aria-selected":y,id:`cl-tab-${c}`,"aria-controls":`cl-tabpanel-${c}`,role:"tab",ref:v,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:`${e.space.$2x5} ${e.space.$0x25}`,width:"fit-content","&:hover, :focus":{backgroundColor:e.colors.$transparent,boxShadow:"none"}}),o],...m,children:[t(p),r]})},g=e=>{let{children:t}=e,r=c(t).map((e,t)=>i.cloneElement(e,{tabIndex:t}));return(0,n.Y)(n.FK,{children:r})},b=e=>{let{tabIndex:t,sx:r,children:o,...i}=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,n.Y)(a.so,{elementDescriptor:l.$z.tabPanel,id:`cl-tabpanel-${t}`,role:"tabpanel",tabIndex:0,"aria-labelledby":`cl-tab-${t}`,sx:[{outline:0},r],...i,children:o})}},6212:function(e,t,r){r.d(t,{F:()=>u});var n=r(4518),o=r(5074),i=r(78),a=r(8272),l=r(8920),s=r(9679),c=r(1464);let d=e=>e.trim(),u=e=>{let{t}=(0,i._)(),{sx:r,placeholder:s,validate:u=()=>!0,value:m,onChange:h,autoFocus:f,validateUnsubmittedEmail:g=()=>null,...b}=e,v=m.split(",").map(d).filter(Boolean),y=new Set(v),w=o.useRef(!0),$=o.useRef(null),[x,_]=o.useState(""),S=e=>{h({target:{value:e.join(",")}}),k(),g("")},C=e=>{let t=(Array.isArray(e)?[...e]:[e]).map(d).filter(Boolean).filter(u).filter(e=>!y.has(e));t.length&&(S([...v,...t]),_(""),k())},k=()=>{$.current?.focus()};return(0,n.FD)(a.so,{elementDescriptor:l.$z.tagInputContainer,align:"start",gap:2,wrap:"wrap",onClick:k,onFocus:k,sx:[e=>({maxWidth:"100%",padding:`${e.space.$1x5} ${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}),r],...b,children:[v.map(e=>(0,n.Y)(p,{onRemoveClick:()=>{S(v.filter(t=>t!==e))},children:e},e)),(0,n.Y)(a.pd,{ref:$,value:x,type:"email","data-testid":"tag-input",placeholder:v.length?void 0:t(s),onKeyDown:e=>{let{key:t}=e;(","===t||" "===t||"Enter"===t)&&x.length?(e.preventDefault(),C(x)):"Backspace"===t&&!x.length&&v.length&&w.current&&(e.preventDefault(),S(v.slice(0,-1))),w.current=!1},onKeyUp:()=>{w.current=!0},onChange:e=>{_(e.target.value),g(e.target.value)},onPaste:e=>{e.preventDefault(),C((e.clipboardData.getData("text")||"").split(/,| |\n|\t/).filter(Boolean).map(e=>e.trim()))},onBlur:e=>{e.preventDefault(),C(x)},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:r,...o}=e;return(0,n.FD)(a.so,{elementDescriptor:l.$z.tagPillContainer,onClick:t,gap:1,center:!0,...o,sx:e=>({padding:`${e.space.$0x5} ${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,n.Y)(a.EY,{truncate:!0,variant:"buttonSmall",children:r}),(0,n.Y)(a.In,{elementDescriptor:l.$z.tagPillIcon,size:"md",icon:s.A,sx:e=>({color:e.colors.$colorMutedForeground,transform:"translateY(0px) rotate(45deg)"})})]})}},8080:function(e,t,r){r.d(t,{o:()=>u});var n,o=r(4518),i=r(8272),a=r(8920),l=r(5074);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}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),n||(n=l.createElement("g",{stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"},l.createElement("path",{d:"M10.01 10H10M4.01 10H4M16.01 10H16"}))))};var d=r(4365);let u=e=>{let{actions:t,elementId:r,variant:n}=e,l="bordered"===n;return(0,o.FD)(d.W1,{elementId:r,children:[(0,o.Y)(d.cQ,{arialLabel:e=>`${e?"Close":"Open"} menu`,children:(0,o.Y)(i.$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:[a.$z.menuButton,l?a.$z.menuButtonEllipsisBordered:a.$z.menuButtonEllipsis],children:(0,o.Y)(i.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))})]})}},1829:function(e,t,r){r.d(t,{M:()=>s});var n=r(4518),o=r(9361),i=r(5074),a=r(78),l=r(8272);let s=e=>{let{t}=(0,a._)(),{onClick:r,throttleTimeInSec:s=30,startDisabled:c,children:d,localizationKey:u,showCounter:p=!0,...m}=e,[h,f]=i.useState(0),g=i.useRef(void 0);(0,o.UQ)(()=>{c&&b()},[]),(0,i.useEffect)(()=>()=>clearInterval(g.current),[]);let b=()=>{f(s),g.current=window.setInterval(()=>{f(e=>(1===e&&clearInterval(g.current),e-1))},1e3)};return(0,n.FD)(l.$n,{variant:"link",...m,textVariant:"buttonSmall",isDisabled:h>0||e.isDisabled,onClick:e=>{h||(r?.(e),b())},children:[t(u)||d,h&&p?` (${h})`:""]})}},6455:function(e,t,r){r.d(t,{m_:()=>f});var n=r(4518),o=r(2119),i=r(6836),a=r(4166),l=r(5074),s=r(9361),c=r(6580),d=r(8272),u=r(8920),p=r(359);let m=l.createContext(null),h=()=>{let e=l.useContext(m);if(null==e)throw Error("Tooltip components must be wrapped in <Tooltip />");return e},f={Root:function({children:e,...t}){let r=function({initialOpen:e=!1,placement:t="top",open:r,onOpenChange:n}={}){let[s,d]=l.useState(e),u=r??s,m=n??d,h=(0,p.j)(),{animations:f}=(0,c.K)().parsedOptions,g=(0,o.we)({placement:t,open:u,onOpenChange:m,whileElementsMounted:i.ll,middleware:[(0,a.cY)(6),(0,a.UU)({crossAxis:t.includes("-"),fallbackAxisSideDirection:"start",padding:6}),(0,a.BN)({padding:6})]}),b=g.context,v=(0,o.Mk)(b,{move:!1,enabled:null==r}),y=(0,o.iQ)(b,{enabled:null==r}),w=(0,o.s9)(b),$=(0,o.It)(b,{role:"tooltip"}),{isMounted:x,styles:_}=(0,o.DL)(b,{duration:200*!!(!h&&!0===f),initial:({side:e})=>({opacity:0,transform:"top"===e?"translateY(4px)":"translateY(-4px)"}),open:{opacity:1,transform:"translate(0)"},close:({side:e})=>({opacity:0,transform:"top"===e?"translateY(4px)":"translateY(-4px)"})}),S=(0,o.bv)([v,y,w,$]);return l.useMemo(()=>({open:u,setOpen:m,isMounted:x,...S,...g,transitionStyles:_}),[u,m,S,g,x,_])}(t);return(0,n.Y)(m.Provider,{value:r,children:e})},Trigger:l.forwardRef(function({children:e,sx:t,...r},i){let a=h(),s=e.ref,c=(0,o.SV)([a.refs.setReference,i,s]);return l.isValidElement(e)?e.props.isDisabled||e.props.disabled?(0,n.Y)(d.L9,{ref:c,...a.getReferenceProps({...r}),"data-state":a.open?"open":"closed",sx:[{width:"fit-content",display:"inline-block",cursor:"not-allowed",outline:"none"},t],tabIndex:0,children:e}):l.cloneElement(e,a.getReferenceProps({ref:c,...r,...e.props,"data-state":a.open?"open":"closed"})):null}),Content:l.forwardRef(function({style:e,text:t,sx:r,...i},a){let l=h(),c=(0,o.SV)([l.refs.setFloating,a]),p=(0,s.Sj)(),m=p?.()??void 0;return l.isMounted?(0,n.Y)(o.XF,{root:m,children:(0,n.Y)(d.az,{ref:c,elementDescriptor:u.$z.tooltip,style:{...l.floatingStyles,...e},...l.getFloatingProps(i),children:(0,n.Y)(d.az,{elementDescriptor:u.$z.tooltipContent,style:l.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}),r],children:(0,n.Y)(d.EY,{elementDescriptor:u.$z.tooltipText,localizationKey:t,variant:"body",colorScheme:"inherit"})})})}):null})}},9538:function(e,t,r){r.d(t,{H:()=>a});var n=r(4518),o=r(8095),i=r(6195);let a=e=>{let{name:t,firstName:r,lastName:a,avatarUrl:l,imageUrl:s,...c}=e,d=(0,o.dS)({name:t,firstName:r,lastName:a}),u=(0,o.IM)({name:t,firstName:r,lastName:a});return(0,n.Y)(i.e,{title:d,initials:u,imageUrl:l||s,...c})}},9345:function(e,t,r){r.d(t,{c:()=>c});var n=r(4518),o=r(8095);r(5074);var i=r(78),a=r(8272),l=r(8920),s=r(9538);let c=e=>{let{user:t,externalAccount:r,enterpriseAccount:c,size:d="md",showAvatar:u=!0,icon:p,iconSx:m,rounded:h=!0,imageUrl:f,badge:g,elementId:b,sx:v,title:y,subtitle:w,avatarSx:$,mainIdentifierSx:x,mainIdentifierVariant:_,subtitleProps:S,...C}=e,{t:k}=(0,i._)(),A=(0,o.dS)({...t})||(0,o.dS)({...r})||(0,o.dS)({...c}),I=(0,o.Cm)({...t})||r?.accountIdentifier?.()||c?.emailAddress,z=k(y),P=f||t?.imageUrl||r?.imageUrl,D=e=>({xs:e.sizes.$5,sm:e.sizes.$8,md:e.sizes.$9,lg:e.sizes.$12})[d],Y=z||A||I;return(0,n.FD)(a.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:P&&!u?D(e):void 0}),v],...C,children:[P&&u?(0,n.FD)(a.so,{elementDescriptor:l.$z.userPreviewAvatarContainer,elementId:l.$z.userPreviewAvatarContainer.setId(b),justify:"center",as:"span",sx:{position:"relative"},children:[(0,n.Y)(s.H,{boxElementDescriptor:l.$z.userPreviewAvatarBox,imageElementDescriptor:l.$z.userPreviewAvatarImage,...t,...r,...c,name:A,avatarUrl:P,size:D,sx:$,rounded:h}),p&&(0,n.Y)(a.so,{elementDescriptor:l.$z.userPreviewAvatarIcon,sx:[{position:"absolute",left:0,bottom:0},m],as:"span",children:p})]}):null,(0,n.FD)(a.so,{elementDescriptor:l.$z.userPreviewTextContainer,elementId:l.$z.userPreviewTextContainer.setId(b),direction:"col",justify:"center",as:"span",sx:{minWidth:"0px",textAlign:"left"},children:[(0,n.FD)(a.EY,{elementDescriptor:l.$z.userPreviewMainIdentifier,elementId:l.$z.userPreviewMainIdentifier.setId(b),variant:_||({xs:"subtitle",sm:"caption",md:"subtitle",lg:"h1"})[d],as:"span",sx:[e=>({display:"flex",gap:e.sizes.$1,alignItems:"center"}),x],children:[Y&&(0,n.Y)(a.EY,{elementDescriptor:l.$z.userPreviewMainIdentifierText,elementId:l.$z.userPreviewMainIdentifierText.setId(b),as:"span",truncate:!0,sx:{fontWeight:"inherit"},children:Y}),g]}),(w||A&&I)&&(0,n.Y)(a.EY,{elementDescriptor:l.$z.userPreviewSecondaryIdentifier,elementId:l.$z.userPreviewSecondaryIdentifier.setId(b),truncate:!0,as:"span",localizationKey:w||I,colorScheme:"secondary",...S})]})]})}},7912:function(e,t,r){r.d(t,{j:()=>m});var n=r(4518);r(5074);var o=r(8272),i=r(8920),a=r(2861),l=r(6088),s=r(3356),c=r(3269),d=r(2454),u=r(6153),p=r(196);let m=e=>{let{showAlternativeMethods:t=!0,cardNotice:r,children:m}=e,h=(0,c.f0)(),f=(0,s.xM)({onCodeEntryFinished:(t,r,n)=>{e.onCodeEntryFinishedAction(t,r,n)},onResendCodeClicked:e.onResendCodeClicked});return(0,n.FD)(l.Z.Root,{children:[(0,n.FD)(l.Z.Content,{children:[(0,n.FD)(u.Y.Root,{children:[(0,n.Y)(u.Y.Title,{localizationKey:e.cardTitle}),(0,n.Y)(u.Y.Subtitle,{localizationKey:e.cardSubtitle}),(0,n.Y)(p.$,{identifier:e.safeIdentifier,avatarUrl:e.profileImageUrl,onClick:e.onBackLinkClicked?void 0:e.onIdentityPreviewEditClicked})]}),(0,n.Y)(l.Z.Alert,{children:h.error}),m,(0,n.FD)(o.fv,{elementDescriptor:i.$z.main,gap:8,children:[(0,n.Y)(d.l.OTPInput,{...f,label:e.inputLabel,resendButton:e.resendButton}),r&&(0,n.Y)(o.Fc,{colorScheme:"warning",children:(0,n.Y)(o.EY,{colorScheme:"warning",localizationKey:r,variant:"caption"})}),(0,n.FD)(o.fv,{gap:3,children:[(0,n.Y)(o.$n,{elementDescriptor:i.$z.formButtonPrimary,block:!0,hasArrow:!0,isLoading:f.isLoading,localizationKey:(0,a.G)("formButtonPrimary"),onClick:f.onFakeContinue}),t&&e.onShowAlternativeMethodsClicked&&(0,n.Y)(l.Z.Action,{elementId:"alternativeMethods",children:(0,n.Y)(l.Z.ActionLink,{localizationKey:e.alternativeMethodsLabel??(0,a.G)("footerActionLink__useAnotherMethod"),onClick:e.onShowAlternativeMethodsClicked})})]})]})]}),(0,n.Y)(l.Z.Footer,{})]})}},2027:function(e,t,r){r.d(t,{_:()=>h,i:()=>f});var n=r(4518);r(5074);var o=r(4607),i=r(8272),a=r(2861),l=r(8920),s=r(4964),c=r(6088),d=r(3269),u=r(6153),p=r(196),m=r(1829);let h=e=>{let{navigate:t}=(0,s.r)(),r=(0,d.f0)();return(0,n.Y)(o.n.Part,{part:"emailLinkVerify",children:(0,n.FD)(c.Z.Root,{children:[(0,n.FD)(c.Z.Content,{children:[(0,n.FD)(u.Y.Root,{showLogo:!0,children:[(0,n.Y)(u.Y.Title,{localizationKey:e.cardTitle}),(0,n.FD)(f,{formSubtitle:e.formSubtitle,resendButton:e.resendButton,onResendCodeClicked:e.onResendCodeClicked,children:[" ",(0,n.Y)(p.$,{identifier:e.safeIdentifier,avatarUrl:e.profileImageUrl,onClick:()=>t("../")})]})]}),(0,n.Y)(c.Z.Alert,{children:r.error}),e.cardNotice&&(0,n.Y)(i.Fc,{colorScheme:"warning",children:(0,n.Y)(i.EY,{colorScheme:"warning",localizationKey:e.cardNotice,variant:"caption"})}),(0,n.Y)(c.Z.Action,{elementId:"alternativeMethods",children:e.onShowAlternativeMethodsClicked&&(0,n.Y)(c.Z.ActionLink,{localizationKey:(0,a.G)("footerActionLink__useAnotherMethod"),onClick:e.onShowAlternativeMethodsClicked})})]}),(0,n.Y)(c.Z.Footer,{})]})})},f=e=>{let t=(0,d.f0)();return(0,n.FD)(i.fv,{elementDescriptor:l.$z.form,gap:1,children:[(0,n.FD)(i.fv,{elementDescriptor:l.$z.formHeader,gap:1,children:[!!e.formSubtitle&&(0,n.Y)(i.EY,{localizationKey:e.formSubtitle,elementDescriptor:l.$z.formHeaderSubtitle,colorScheme:"secondary"}),e.children]}),(0,n.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%"})})]})}},3269:function(e,t,r){r.d(t,{FlowMetadataProvider:()=>g,P4:()=>b,PB:()=>f,dm:()=>m,f0:()=>p});var n=r(4518),o=r(9361),i=r(2119),a=r(5074),l=r(4964),s=r(78);let[c,d]=(0,o.e3)("CardState"),u=e=>{let{translateError:t}=(0,s._)(),r=(0,l.r)(),[o,i]=a.useState(()=>({status:"idle",metadata:void 0,error:t(window?.Clerk?.__internal_last_error||void 0)}));a.useEffect(()=>{let e=window?.Clerk?.__internal_last_error;e&&i(r=>({...r,error:t(e)}))},[t,i,r.currentPath]);let d=a.useMemo(()=>({value:{state:o,setState:i}}),[o,i]);return(0,n.Y)(c.Provider,{value:d,children:e.children})},p=()=>{let{state:e,setState:t}=d(),{translateError:r}=(0,s._)(),n=e=>t(t=>({...t,status:"idle",metadata:e})),o=e=>t(t=>({...t,status:"loading",metadata:e})),i=async(e,t)=>(o(t),("function"==typeof e?e():e).then(e=>e).finally(()=>n(t)));return{setIdle:n,setError:e=>t(t=>({...t,error:r(e)})),setLoading:o,runAsync:i,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,n.Y)(u,{children:(0,n.Y)(e,{...t})}),[h,f]=(0,o.e3)("FlowMetadata"),g=e=>{let{flow:t,part:r}=e,o=a.useMemo(()=>({value:e}),[t,r]);return(0,n.Y)(h.Provider,{value:o,children:e.children})},b=e=>t=>null==(0,i.R1)()?(0,n.Y)(i.P6,{children:(0,n.Y)(e,{...t})}):(0,n.Y)(e,{...t})},1778:function(e,t,r){r.d(t,{H:()=>a});var n=r(4518),o=r(5074),i=r(6580);let a=e=>(0,o.forwardRef)((t,r)=>{let{parsedOptions:o}=(0,i.K)();return(0,n.Y)(e,{...t,ref:r,sx:[o.shimmer?{":hover":{"--cl-shimmer-hover-transform":"skew(-45deg) translateX(600%)","--cl-shimmer-hover-after-transform":"skewX(45deg) translateX(-150%)"}}:{},t.sx]})})},4091:function(e,t,r){r.d(t,{KP:()=>o,Rx:()=>i,_8:()=>a,wz:()=>n});let n=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(n).map(([e,t])=>[e,`${t}ms`]))),i=Object.freeze({common:"background-color,background,border-color,color,fill,stroke,opacity,box-shadow,transform"}),a=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)"})},3474:function(e,t,r){r.d(t,{y:()=>l});var n=r(2620),o=r(5763),i=r(8289),a=r(2216);function l({filterOutFactor:e,supportedFirstFactors:t}){let{strategies:r}=(0,a.k)(),l=t||[],s=l.filter(t=>t.strategy!==e?.strategy&&!(0,o.Kw)(t.strategy)).length+r.length>0,c=l.filter(t=>!t.strategy.startsWith("oauth_")&&t.strategy!==e?.strategy).filter(e=>(0,o.Cm)(e)).filter(e=>"passkey"!==e.strategy||(0,n.Bz)()).sort(i.aR);return{hasAnyStrategy:s,hasFirstParty:!!c,firstPartyFactors:c}}},7782:function(e,t,r){r.d(t,{i:()=>a});var n=r(5606),o=r.n(n),i=r(5074);function a(e,t={}){let[r,n]=(0,i.useState)(!1),{timeout:l=1500,...s}="number"==typeof t?{timeout:t}:t,c=(0,i.useCallback)(()=>{n(o()(e,s))},[e,s]);return(0,i.useEffect)(()=>{let e=null;return r&&(e=window.setTimeout(()=>{n(!1)},l)),()=>{e&&window.clearTimeout(e)}},[l,r]),{value:e,onCopy:c,hasCopied:r}}},4317:function(e,t,r){r.d(t,{d:()=>o});var n=r(5074);function o(e,t){let[r,o]=(0,n.useState)(e),[i,a]=(0,n.useState)(void 0);return(0,n.useEffect)(()=>(i&&(clearTimeout(i),a(void 0)),a(setTimeout(()=>{o(e),a(void 0)},t||500)),()=>{i&&(clearTimeout(i),a(void 0))}),[JSON.stringify(e),t]),r}},180:function(e,t,r){r.d(t,{Q:()=>a});var n=r(5074),o=r(7697),i=r(6580);function a(){let{displayConfig:e,isDevelopmentOrStaging:t}=(0,o.O)(),r=t(),{unsafe_disableDevelopmentModeWarnings:a=!1}=(0,i.K)().parsedOptions,l=r&&a;return{showDevModeNotice:(0,n.useMemo)(()=>!l&&e.showDevModeWarning,[l,e])}}},2992:function(e,t,r){r.d(t,{u:()=>o});var n=r(5074);function o(e){let{startEmailLinkFlow:t,cancelEmailLinkFlow:r}=n.useMemo(()=>e.createEmailLinkFlow(),[e]);return n.useEffect(()=>r,[]),{startEmailLinkFlow:t,cancelEmailLinkFlow:r}}},2216:function(e,t,r){r.d(t,{k:()=>h});var n=r(1652),o=r(6435);let i=[{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"}],a=[{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"}];var l=r(7697),s=r(1020);let c=i.map(e=>e.strategy),d=a.map(e=>e.strategy),u=n.c.map(e=>e.channel),p=(0,s.P)([...[...i,...a].map(e=>[e.provider,{strategy:e.strategy,name:e.name,iconUrl:(0,o.l)(e.provider)}]),...[...n.c].map(e=>[e.channel,{strategy:e.channel,name:e.name,iconUrl:(0,o.l)(e.channel)}])]),m=(0,s.P)([...[...i,...a].map(e=>[e.strategy,{id:e.provider,name:e.name,iconUrl:(0,o.l)(e.provider)}]),...[...n.c].map(e=>[e.channel,{id:e.channel,name:e.name,iconUrl:(0,o.l)(e.channel)}])]),h=()=>{let{socialProviderStrategies:e,web3FirstFactors:t,authenticatableSocialStrategies:r,social:n,alternativePhoneCodeChannels:o}=(0,l.O)().userSettings,i=e.filter(e=>c.includes(e)),a=e.filter(e=>!c.includes(e)&&e.startsWith("oauth_custom_")),s=r.filter(e=>c.includes(e)),h=r.filter(e=>!c.includes(e)&&e.startsWith("oauth_custom_")),f=Object.keys(n).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:n[e].name,iconUrl:n[e].logo_url||""}}),g.forEach(e=>{let t=e.replace("oauth_","");m[e]={id:t,iconUrl:n[e].logo_url||"",name:n[e].name}});let b=[...s,...h];b.sort((e,t)=>{let r=e.replace(/^oauth_custom_|^oauth_/,""),n=t.replace(/^oauth_custom_|^oauth_/,"");return r.localeCompare(n)});let v=t.filter(e=>d.includes(e)),y=o.filter(e=>u.includes(e));return{strategies:[...i,...v,...a,...y],web3Strategies:v,alternativePhoneCodeChannels:y,authenticatableOauthStrategies:b,strategyToDisplayData:m,providerToDisplayData:p}}},8586:function(e,t,r){r.d(t,{q:()=>o});var n=r(5074);function o(e){let{startEnterpriseSSOLinkFlow:t,cancelEnterpriseSSOLinkFlow:r}=n.useMemo(()=>e.createEnterpriseSSOLinkFlow(),[e]);return n.useEffect(()=>r,[]),{startEnterpriseSSOLinkFlow:t,cancelEnterpriseSSOLinkFlow:r}}},7896:function(e,t,r){r.d(t,{s:()=>s});var n=r(5074);let o=new Map,i=new Set,a=e=>"string"==typeof e?e:JSON.stringify(e),l=(e,t=a)=>{let r=t(e),l=(0,n.useCallback)(()=>o.get(r),[r]),s=(0,n.useCallback)(e=>{o.set(r,"function"==typeof e?e(l()):e),i.forEach(e=>e())},[r]),c=(0,n.useCallback)(()=>{s({isLoading:!1,isValidating:!1,data:null,error:null,cachedAt:void 0})},[s]);return{getCache:l,setCache:s,subscribeCache:(0,n.useCallback)(e=>(i.add(e),()=>i.delete(e)),[]),clearCache:c}},s=(e,t,r,o)=>{let i={resourceId:o,params:t},{subscribeCache:s,getCache:c,setCache:d,clearCache:u}=l(i),{subscribeCache:p,getCache:m,setCache:h}=l({...i,rv:!0}),f=r?.staleTime??12e4,g=r?.throttleTime||0,b=(0,n.useRef)(e);if(g<0)throw Error("ClerkJS: A negative value for `throttleTime` is not allowed ");let v=(0,n.useSyncExternalStore)(s,c),y=(0,n.useSyncExternalStore)(p,m),w=(0,n.useCallback)(()=>{d(e=>({...e,cachedAt:0})),h(e=>({isLoading:!1,isValidating:!1,error:null,data:(e?.data||0)+1}))},[d,h]);return(0,n.useEffect)(()=>{b.current=e;let n=!b.current,o=void 0===c()?.cachedAt||Date.now()-(c()?.cachedAt||0)>=f,i=c()?.isValidating??!1;if(n||!o||i)return;let a=performance.now();d({data:c()?.data??null,isLoading:!c()?.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(()=>{d({data:t,isLoading:!1,isValidating:!1,error:null,cachedAt:Date.now()}),r?.onSuccess?.(t)},g-(performance.now()-a))}}).catch(e=>{d({data:c()?.data??null,isLoading:!1,isValidating:!1,error:e,cachedAt:Date.now()}),e&&r?.onError?.(e)})},[a(t),d,c,y]),{...v,setCache:d,invalidate:u,revalidate:w}}},3486:function(e,t,r){r.d(t,{l:()=>u,x:()=>d});var n=r(9361),o=r(7477),i=r(78),a=r(2861);let l={basic_member:(0,a.G)("membershipRole__basicMember"),guest_member:(0,a.G)("membershipRole__guestMember"),admin:(0,a.G)("membershipRole__admin")};var s=r(7896);let c={pageSize:20},d=(e=!0)=>{let{organization:t}=(0,n.Z5)(),r=(0,o.Fd)({permission:"org:sys_memberships:manage"}),i=(0,o.Fd)({permission:"org:sys_memberships:read"}),a=e&&!!t?.id&&(r||i),{data:l,isLoading:d}=(0,s.s)(a?({pageSize:e,initialPage:r})=>t.getRoles({pageSize:e,initialPage:r}):void 0,{...c,orgId:t?.id});return{isLoading:d,options:l?.data?.map(e=>({value:e.key,label:e.name}))}},u=()=>{let{t:e}=(0,i._)();return{localizeCustomRole:t=>e((e=>{if(e)return(0,a.G)(`roles.${e}`)})(t))||e((e=>{if(e)return l[e]})(t))}}},2364:function(e,t,r){r.d(t,{W:()=>o});var n=r(5074);let o=e=>{let[t,r]=(0,n.useState)(!1),o=(0,n.useRef)(null),i=Array.isArray(e.threshold)?e.threshold:[e.threshold||0],a=(0,n.useRef)();return a.current=e.onChange,{inView:t,ref:(0,n.useCallback)(t=>{if(!t){o.current&&o.current.disconnect();return}o.current=new IntersectionObserver(e=>{e.forEach(e=>{let t=e.isIntersecting&&i.some(t=>e.intersectionRatio>=t);r(t),a.current&&a.current(t,e)})},{root:e.root,rootMargin:e.rootMargin,threshold:i}),o.current.observe(t)},[])}}},4901:function(e,t,r){r.d(t,{m:()=>o});var n=r(5074);let o=e=>{let[t,r]=function(e){let[t,r]=n.useState(e),o=n.useRef(!0);return n.useEffect(()=>()=>{o.current=!1},[]),[t,n.useCallback(e=>{o.current&&r(e)},[])]}({status:"idle",metadata:void 0,...e});return{status:t.status,setIdle:e=>r({status:"idle",metadata:e}),setError:e=>r({status:"error",metadata:e}),setLoading:e=>r({status:"loading",metadata:e}),loadingMetadata:"loading"===t.status?t.metadata:void 0,isLoading:"loading"===t.status,isIdle:"idle"===t.status}}},8691:function(e,t,r){r.d(t,{z:()=>o});var n=r(9361);let o=e=>{let t=(0,n.ho)().client.signedInSessions;return{signedInSessions:t,otherSessions:t.filter(t=>t.user?.id!==e.user?.id)}}},1550:function(e,t,r){r.d(t,{C:()=>o});var n=r(4964);let o=()=>{let e=(0,n.r)();return{navigateToFlowStart:async()=>{let t=e.indexPath;return t!==e.currentPath?e.navigate(t):e.urlStateParam?.path?e.navigate("/"+e.basePath+e.urlStateParam?.startPath):void 0}}}},2227:function(e,t,r){r.d(t,{f:()=>a});var n=r(9361),o=r(3689),i=r(2364);let a=()=>{let{userMemberships:e,userInvitations:t,userSuggestions:r}=(0,n.D_)(o.mu),{ref:a}=(0,i.W)({threshold:0,onChange:n=>{n&&(e.hasNextPage?e.fetchNext?.():t.hasNextPage?t.fetchNext?.():r.fetchNext?.())}});return{userMemberships:e,userInvitations:t,userSuggestions:r,ref:a}}},8282:function(e,t,r){r.d(t,{T:()=>d,Z:()=>u});var n=r(8693),o=r(5074),i=r(5243),a=r(78),l=r(2861),s=r(3990);let c={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"},d=(e,t)=>{let{t:r,locale:d}=(0,a._)(),u=(0,i.R)(),{onValidationError:p=n.t,onValidationSuccess:m=n.t,onValidationWarning:h=n.t,onValidationInfo:f=n.t,onValidationComplexity:g}=t||{},b=(0,o.useCallback)(t=>{if(Object.values(t?.complexity||{}).length>0){let n=(({config:e,failedValidations:t,locale:r,t:n})=>{if(!t||0===Object.keys(t).length)return"";let o=t?.min_length||!1,i=Object.entries(t).filter(e=>!o||"min_length"===e[0]).filter(([,e])=>!!e).map(([t])=>{let r=c[t];if(Array.isArray(r)){let[o,i]=r;return n((0,l.G)(o,{[i]:e[t]}))}return n((0,l.G)(r))}),a=(0,s.kS)(i,r);return(0,s.zJ)(`${n((0,l.G)("unstable__errors.passwordComplexity.sentencePrefix"))} ${a}`)})({config:e,t:r,failedValidations:t.complexity,locale:d});return t.complexity?.min_length?f(n):p(n)}return t?.strength?.state==="fail"?p(t.strength.keys.map(e=>r((0,l.G)(e))).join(" ")):t?.strength?.state==="pass"?h(t.strength.keys.map(e=>r((0,l.G)(e))).join(" ")):m()},[t,r,d]);return{validatePassword:(0,o.useMemo)(()=>{let{loadZxcvbn:t}={loadZxcvbn:()=>Promise.all([u.import("@zxcvbn-ts/core"),u.import("@zxcvbn-ts/language-common")]).then(([e,t])=>{if(!e||!t)throw Error("Failed to load zxcvbn modules");let{zxcvbnOptions:r,zxcvbn:n}=e,{dictionary:o,adjacencyGraphs:i}=t;return r.setOptions({dictionary:{...o},graphs:i}),n})};return((e,t,r)=>{let{onValidation:o=n.t,onValidationComplexity:i=n.t}=r||{},{show_zxcvbn:a,validatePassword:l}=t,s=e=>((e,t)=>{let{max_length:r,min_length:n,require_special_char:o,require_lowercase:i,require_numbers:a,require_uppercase:l}=t,s=(e=>{let t;if(e.allowed_special_characters){let r=e.allowed_special_characters.replace("[","\\[");r=r.replace("]","\\]"),t=RegExp(`[${r}]`)}else t=/[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/;return(e,{minLength:r,maxLength:n})=>({max_length:e.length<n,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:r,min_length:n,require_special_char:o,require_lowercase:i,require_numbers:a,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=(({min_zxcvbn_strength:e,onResult:t})=>r=>n=>{let o=r(n);return(t?.(o),o.score>=e&&o.score<3)?{state:"pass",keys:["unstable__errors.zxcvbn.couldBeStronger"],result:o}:o.score>=e?{state:"excellent",result:o}:{state:"fail",keys:["unstable__errors.zxcvbn.notEnough",...o.feedback.suggestions.map(e=>`unstable__errors.zxcvbn.suggestions.${e}`)],result:o}})(t),d={};return(t,r)=>{let{onValidation:n=o,onValidationComplexity:u=i}=r||{};if(!l)return;let p=s(t);u(0===Object.keys(p).length),d={...d,complexity:p},a&&e().then(e=>{let r=c(e)(t);n({...d={...d,strength:r},strength:r})}),d.complexity&&0===Object.keys(d.complexity).length&&a||n(d)}})(t,e,{onValidation:b,onValidationComplexity:g})},[b,e,u])}},u=({passwordField:e,confirmPasswordField:t})=>{let{t:r}=(0,a._)(),n=(0,o.useCallback)(t=>e.value===t,[e.value]),i=(0,o.useMemo)(()=>n(t.value),[n,t.value]);return{setConfirmPasswordFeedback:(0,o.useCallback)(e=>{n(e)?t.setSuccess(r((0,l.G)("formFieldError__matchingPasswords"))):t.setError(r((0,l.G)("formFieldError__notMatchingPasswords")))},[t.setError,t.setSuccess,r,n]),isPasswordMatch:i}}},1577:function(e,t,r){r.d(t,{f:()=>l});var n=r(2119),o=r(6836),i=r(4166),a=r(5074);let l=(e={})=>{let{bubbles:t=!1,shoudFlip:r=!0,outsidePress:l,adjustToReferenceWidth:s=!1,referenceElement:c,canCloseModal:d}=e,[u,p]=a.useState(e.defaultOpen||!1),m=(0,n.fI)(),{update:h,refs:f,strategy:g,x:b,y:v,context:y}=(0,n.we)({open:u,onOpenChange:p,elements:{reference:c?.current},nodeId:m,whileElementsMounted:!1===e.autoUpdate?void 0:o.ll,placement:e.placement||"bottom-start",middleware:[(0,i.cY)(e.offset||6),r&&(0,i.UU)(),(0,i.BN)(),(0,i.Ej)({apply({elements:e}){if(s){let t=e.reference;e.floating.style.width=t?`${t?.offsetWidth}px`:""}}})]});(0,n.s9)(y,{enabled:!1!==d,bubbles:t,outsidePress:l}),(0,a.useEffect)(()=>{e.defaultOpen&&h()},[]);let w=a.useCallback(()=>p(e=>!e),[p]),$=a.useCallback(()=>p(!0),[p]),x=a.useCallback(()=>p(!1),[p]);return{reference:f.setReference,floating:f.setFloating,toggle:w,open:$,nodeId:m,close:x,isOpen:u,styles:{position:g,top:v??0,left:b??0},context:y}}},359:function(e,t,r){r.d(t,{j:()=>a});var n=r(5074);let o="(prefers-reduced-motion: no-preference)",i=()=>"undefined"==typeof window||!window.matchMedia(o).matches;function a(){let[e,t]=(0,n.useState)(i);return(0,n.useEffect)(()=>{let e=window.matchMedia(o);t(!window.matchMedia(o).matches);let r=e=>{t(!e.matches)};return"addEventListener"in e?e.addEventListener("change",r):e.addListener(r),()=>"addEventListener"in e?e.removeEventListener("change",r):e.removeListener(r)},[]),e}},7607:function(e,t,r){r.d(t,{Z:()=>i});var n=r(7697),o=r(7896);function i(){let{organizationSettings:e}=(0,n.O)(),t=e.forceOrganizationSelection;(0,o.s)(t?()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("723"),r.e("390")]).then(r.bind(r,1662)):void 0,"preloadComponent",{staleTime:1/0})}},8792:function(e,t,r){r.d(t,{K:()=>i});let n=0,o=()=>{};function i(){return{enableScrollLock:()=>{1==++n&&(o=function(){let e,t=/iP(hone|ad|od)|iOS/.test((e=navigator.userAgentData,e?.platform?e.platform:navigator.platform)),r=document.body.style,n=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",o=window.innerWidth-document.documentElement.clientWidth,i=r.left?parseFloat(r.left):window.scrollX,a=r.top?parseFloat(r.top):window.scrollY;if(r.overflow="hidden",o&&(r[n]=`${o}px`),t){let e=window.visualViewport?.offsetLeft||0,t=window.visualViewport?.offsetTop||0;Object.assign(r,{position:"fixed",top:`${-(a-Math.floor(t))}px`,left:`${-(i-Math.floor(e))}px`,right:"0"})}return()=>{Object.assign(r,{overflow:"",[n]:""}),t&&(Object.assign(r,{position:"",top:"",left:"",right:""}),window.scrollTo(i,a))}}())},disableScrollLock:()=>{0==--n&&o()}}}},9107:function(e,t,r){r.d(t,{h:()=>l});var n=r(9361),o=r(5074),i=r(4),a=r(4964);let l=(e=2e3)=>{let{queryString:t}=(0,a.r)(),{setActive:r}=(0,n.ho)(),{afterSignInUrl:l}=(0,i.r)();(0,o.useEffect)(()=>{let n,o=new URLSearchParams(t).get("createdSessionId");return o&&(n=setTimeout(()=>{r({session:o,redirectUrl:l})},e)),()=>{n&&clearTimeout(n)}},[r,l,t])}},9426:function(e,t,r){r.d(t,{p:()=>l});var n=r(9361),o=r(5074),i=r(2366),a=r(7697);function l(){let e=(0,n.ho)(),{supportEmail:t}=(0,i.II)(),{displayConfig:r}=(0,a.O)(),{supportEmail:l}=r;return o.useMemo(()=>t||l||function({localPart:e,frontendApi:t}){return`${e}@${t?t.replace("clerk.",""):"clerk.com"}`}({localPart:"support",frontendApi:e.frontendApi}),[e.frontendApi,t,l])}},5914:function(e,t,r){r.d(t,{i:()=>i});var n=r(5074),o=r(4964);let i=(e,t=0)=>{let r=(0,o.r)(),i=()=>{let n=r.queryParams.tab,o=Object.entries(e).find(([e,t])=>t===n)?.[0];return o?parseInt(o,10):t},[a,l]=(0,n.useState)(i());return(0,n.useEffect)(()=>{let e=i();e!==a&&l(e)},[r.queryParams.tab]),{selectedTab:a,handleTabChange:t=>{l(t);let n=r.currentPath;r.navigate(n,{searchParams:new URLSearchParams({tab:e[t]||""})})}}}},2229:function(e,t,r){r.d(t,{F:()=>i});var n=r(7697),o=r(2216);let i=()=>{let{userSettings:e}=(0,n.O)(),{authenticatableOauthStrategies:t,web3Strategies:r,alternativePhoneCodeChannels:i}=(0,o.k)();return e.enabledFirstFactorIdentifiers.filter(e=>"passkey"!==e).length+t.length+r.length+i.length}},8501:function(e,t,r){r.d(t,{MountedCheckoutDrawer:()=>l});var n=r(4518),o=r(9361),i=r(4096),a=r(4642);function l({appearance:e,checkoutDrawer:t,onOpenChange:r}){let{user:l}=(0,o.Jd)();return t.props?(0,n.Y)(a.$h,{globalAppearance:e,appearanceKey:"checkout",componentAppearance:t.props.appearance||{},flowName:"checkout",open:t.open,onOpenChange:r,componentName:"Checkout",portalId:t.props?.portalId,portalRoot:t.props?.portalRoot,children:t.props&&(0,n.Y)(i.RW,{planId:t.props.planId,planPeriod:t.props.planPeriod,for:t.props.for,onSubscriptionComplete:t.props.onSubscriptionComplete,portalRoot:t.props.portalRoot,appearance:t.props.appearance,newSubscriptionRedirectUrl:t.props.newSubscriptionRedirectUrl})},l?.id):null}},4027:function(e,t,r){r.d(t,{MountedPlanDetailDrawer:()=>l});var n=r(4518),o=r(9361),i=r(4096),a=r(4642);function l({appearance:e,planDetailsDrawer:t,onOpenChange:r}){let{user:l}=(0,o.Jd)();return t.props?(0,n.Y)(a.$h,{globalAppearance:e,appearanceKey:"planDetails",componentAppearance:t.props.appearance||{},flowName:"planDetails",open:t.open,onOpenChange:r,componentName:"PlanDetails",portalId:t.props.portalId,portalRoot:t.props.portalRoot,children:(0,n.Y)(i.ym,{...t.props})},l?.id):null}},9949:function(e,t,r){r.d(t,{MountedSubscriptionDetailDrawer:()=>l});var n=r(4518),o=r(9361),i=r(1461),a=r(4642);function l({appearance:e,subscriptionDetailsDrawer:t,onOpenChange:r}){let{user:l}=(0,o.Jd)();return t.props?(0,n.Y)(a.$h,{globalAppearance:e,appearanceKey:"subscriptionDetails",componentAppearance:t.props.appearance||{},flowName:"subscriptionDetails",open:t.open,onOpenChange:r,componentName:"SubscriptionDetails",portalId:t.props.portalId,portalRoot:t.props.portalRoot,children:(0,n.Y)(i.SubscriptionDetails,{...t.props})},l?.id):null}},6053:function(e,t,r){r.d(t,{createRoot:()=>n.createRoot});var n=r(4292)},2861:function(e,t,r){r.d(t,{G:()=>n});let n=(e,...t)=>({key:e,params:t[0]})},78:function(e,t,r){let n,o;r.d(t,{d:()=>$,_:()=>x});var i=r(4518),a=r(3610),l=r(5074),s=r(2366),c=r(9361),d=r(7697),u=r(6988);let p={titleize:r(1044).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,r)=>{try{return new Intl.DateTimeFormat(t||"en-US",{weekday:r||"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)=>`[${t}](${e})`,shortDate:(e,t)=>{let r=(0,u.OG)(e);try{return new Intl.DateTimeFormat(t||"en-US",{month:"short",day:"numeric",...r.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=()=>{let{applicationName:e}=(0,d.O)().displayConfig,{client:t,user:r}=(0,c.ho)(),{signIn:n}=t||{};return{applicationName:e,"signIn.identifier":n?.identifier||"","user.username":r?.username||"","user.firstName":r?.firstName||"","user.lastName":r?.lastName||"","user.primaryEmailAddress":r?.primaryEmailAddress?.emailAddress||"","user.primaryPhoneNumber":r?.primaryPhoneNumber?.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,...r]=t;return{modifierName:e,params:r.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"}},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"}},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"},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.",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"}},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!"}}};var b=r(2861),v=r(4498),y=r(7447);let w=()=>{let{localization:e}=(0,s.II)();var t=e||{};if(!n||o&&o!==t&&!(0,y.j)(t,o)){o=t;let e={};(0,v.n)(g,e),(0,v.n)(t,e),n=e}return n},$=e=>{let t=l.forwardRef((t,r)=>{let n=w(),{localizationKey:o,...a}=t,l=m();return o?"string"==typeof o?(0,i.Y)(e,{...a,ref:r,children:o}):(0,i.Y)(e,{...a,ref:r,"data-localization-key":_(o),children:S(o,n,l)||a.children}):(0,i.Y)(e,{...a,ref:r})}),r=e.displayName||e.name||"Component";return t.displayName=`Localizable${r}`.replace("_",""),t},x=()=>{let{localization:e}=(0,s.II)(),t=w(),r=m(),n=e=>e&&"string"!=typeof e?S(e,t,r):e||"";return{t:n,translateError:e=>{if(!e||"string"==typeof e)return n(e);if((0,a.Cm)(e))return n((0,b.G)(`unstable__errors.${e.code}`))||e.message;let{code:t,message:r,longMessage:o,meta:i}=e||{},{paramName:l=""}=i||{};return t?n((0,b.G)(`unstable__errors.${t}__${l}`))||n((0,b.G)(`unstable__errors.${t}`))||o||r:""},locale:e?.locale||g.locale}},_=e=>e.key,S=(e,t,r)=>{let n=((e,t)=>{let r=(t||"").split("."),n=e;for(let e=0;e<r.length;e++)if(void 0===(n=n[r[e]]))return;return n})(t,e.key),o=e.params;return((e,t)=>{var r,n;let o,i,a,l,s;if(!e)return"";let{normalisedString:c,expressions:d}=(r=e,n=t,o=(r.match(/{{.+?}}/g)||[]).map(e=>e.replace(/[{}]/g,"")).map(e=>e.split("|").map(e=>e.trim())).filter(e=>e[0]in n).map(([e,...t])=>({token:e,modifiers:t.map(e=>f(e)).filter(e=>h(e.modifierName))})),i=r,o.forEach(({token:e})=>{i=i.replace(/{{.+?}}/,`_++${e}++_`)}),{expressions:o,normalisedString:i});return a=c,l=d,s=t,l.forEach(({token:e,modifiers:t})=>{let r=t.reduce((e,t)=>{try{return p[t.modifierName](e,...t.params)}catch(e){return console.warn(e),""}},s[e]);a=a.replace(`_++${e}++_`,r)}),a})(n||"",{...r,...o})}},9661:function(e,t,r){r.d(t,{VirtualBodyRootPortal:()=>F,Portal:()=>T});var n=r(4518),o=r(2166),i=r(2950),a=r(5074),l=r(5323),s=r(4),c=r(5350),d=r(5240),u=r(9078),p=r(3620),m=r(9233),h=r(2826),f=r(9953),g=r(5892),b=r(1),v=r(7032),y=r(451),w=r(6256),$=r(164),x=r(8188),_=r(2121),S=r(1616);function C({componentName:e,props:t,children:r}){switch(e){case"SignIn":return(0,n.Y)(s.Q.Provider,{value:{componentName:e,...t},children:r});case"SignUp":return(0,n.Y)(c.g.Provider,{value:{componentName:e,...t},children:r});case"UserProfile":return(0,n.Y)(d.M.Provider,{value:{componentName:e,...t},children:r});case"UserVerification":return(0,n.Y)(u._.Provider,{value:{componentName:e,...t},children:r});case"UserAvatar":return(0,n.Y)(p.E.Provider,{value:{componentName:e,...t},children:r});case"UserButton":return(0,n.Y)(m.P.Provider,{value:{componentName:e,...t},children:r});case"OrganizationSwitcher":return(0,n.Y)(h.U.Provider,{value:{componentName:e,...t},children:r});case"OrganizationList":return(0,n.Y)(f.f.Provider,{value:{componentName:e,...t},children:r});case"OrganizationProfile":return(0,n.Y)(g.o.Provider,{value:{componentName:e,...t},children:r});case"CreateOrganization":return(0,n.Y)(b.$.Provider,{value:{componentName:e,...t},children:r});case"GoogleOneTap":return(0,n.Y)(v.Q.Provider,{value:{componentName:e,...t},children:r});case"Waitlist":return(0,n.Y)(y.r.Provider,{value:{componentName:e,...t},children:r});case"PricingTable":return(0,n.Y)(w.m$.Provider,{value:t.for||"user",children:(0,n.Y)($.a.Provider,{value:{componentName:e,...t},children:r})});case"APIKeys":return(0,n.Y)(x.w.Provider,{value:{componentName:e,...t},children:r});case"OAuthConsent":return(0,n.Y)(_.n.Provider,{value:{componentName:e,...t},children:r});case"TaskChooseOrganization":return(0,n.Y)(S.lY.Provider,{value:{componentName:"TaskChooseOrganization",...t},children:(0,n.Y)(S.qx.Provider,{value:{...t},children:r})});case"TaskResetPassword":return(0,n.Y)(S.pq.Provider,{value:{componentName:"TaskResetPassword",...t},children:(0,n.Y)(S.qx.Provider,{value:{...t},children:r})});default:throw Error(`Unknown component context: ${e}`)}}var k=r(4173),A=r(9361),I=r(4777);let z=({basePath:e,preservedParams:t,children:r})=>{let{navigate:o}=(0,A.ho)(),[i,l]=a.useState(!1);if(!o)throw Error("Clerk: Missing navigate option.");let s=(e,t)=>{if(e)return o((0,k.FV)(e),t)};return(a.useEffect(()=>{(async()=>{if((0,k.tL)(window.location.hash)){let e=(0,k.yR)(new URL(window.location.href));await s(e.href,{replace:!0}),l(!0)}})()},[l,o,window.location.hash]),(0,k.tL)(window.location.hash)&&!i)?null:(0,n.Y)(I.F,{basePath:e.substring(1),startPath:"",getPath:()=>window.location.pathname,getQueryString:()=>window.location.search,internalNavigate:s,refreshEvents:["popstate"],preservedParams:t,children:r})},P="CLERK-ROUTER/HASH",D=({preservedParams:e,children:t})=>{let r=async e=>{if(e)return window.location.hash=(0,k.FV)(e).substring(1+P.length),Promise.resolve()},o=()=>new URL((0,k.tL)(window.location.hash)?window.location.origin+window.location.hash.substring(1):window.location.origin);return(0,n.Y)(I.F,{getPath:()=>"/"===o().pathname?"/"+P:"/"+P+o().pathname,basePath:P,startPath:"",getQueryString:()=>o().search,internalNavigate:r,refreshEvents:["popstate","hashchange"],preservedParams:e,children:t})};var Y=r(4132),R=r(4692);function T({props:e,component:t,componentName:r,node:s}){let c={...e,...(0,R.C)({routing:e?.routing,path:e?.path})},d=(0,n.Y)(C,{componentName:r,props:c,children:(0,n.Y)(a.Suspense,{fallback:"",children:a.createElement(t,c)})});return c?.routing==="path"?(c?.path||(0,i.a)(r),l.createPortal((0,n.Y)(z,{preservedParams:o.l,basePath:c.path,children:d}),s)):l.createPortal((0,n.Y)(D,{preservedParams:o.l,children:d}),s)}class F extends a.PureComponent{elRef=document.createElement("div");componentDidMount(){document.body.appendChild(this.elRef)}componentWillUnmount(){document.body.removeChild(this.elRef)}render(){let{props:e,startPath:t,component:r,componentName:o}=this.props;return l.createPortal((0,n.Y)(Y.x,{startPath:t,children:(0,n.Y)(C,{componentName:o,props:e??{},children:(0,n.Y)(a.Suspense,{fallback:"",children:a.createElement(r,e)})})}),this.elRef)}}},2349:function(e,t,r){r.d(t,{F:()=>c});var n=r(4518),o=r(1914),i=r(1464),a=r(6488);let{applyVariants:l,filterProps:s}=(0,o.v)(e=>({base:{padding:`${e.space.$3} ${e.space.$4}`,backgroundColor:e.colors.$neutralAlpha50,...i.s.borderVariants(e,{hoverStyles:!1}).normal},variants:{colorScheme:{danger:{color:e.colors.$danger500,backgroundColor:e.colors.$dangerAlpha50,...i.s.borderVariants(e,{hasError:!0}).normal},info:{color:e.colors.$neutralAlpha150,background:e.colors.$neutralAlpha50},warning:{backgroundColor:e.colors.$warningAlpha100,...i.s.borderVariants(e,{hasWarning:!0,hoverStyles:!1}).normal}}},defaultVariants:{colorScheme:"warning"}})),c=e=>(0,n.Y)(a.s,{align:"center",justify:"start",...s(e),css:l(e),children:e.children})},7736:function(e,t,r){r.d(t,{a:()=>s});var n=r(4518),o=r(5074),i=r(1914),a=r(1908);let{applyVariants:l}=(0,i.v)(()=>({base:{boxSizing:"border-box"},variants:{}})),s=o.forwardRef((e,t)=>{let{as:r="div",...o}=e;return(0,n.Y)(r,{...(0,a.k)(o),css:l(e),ref:t})})},6488:function(e,t,r){r.d(t,{f:()=>u,s:()=>d});var n=r(4518),o=r(5074),i=r(1914),a=r(7736);let l=(e,t)=>navigator?.userAgent?.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,i.v)((e,t)=>{let r="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,r),2:l(e.space.$2,r),3:l(e.space.$3,r),4:l(e.space.$4,r),5:l(e.space.$5,r),6:l(e.space.$6,r),7:l(e.space.$7,r),8:l(e.space.$8,r),9:l(e.space.$9,r)},center:{true:{justifyContent:"center",alignItems:"center"}}},defaultVariants:{direction:"row",align:"stretch",justify:"start",wrap:"noWrap"}}}),d=o.forwardRef((e,t)=>(0,n.Y)(a.a,{...c(e),css:s(e),ref:t})),u=o.forwardRef((e,t)=>(0,n.Y)(d,{...e,direction:"col",ref:t}))},2204:function(e,t,r){r.d(t,{AT:()=>g,Oc:()=>f,pd:()=>m,TM:()=>b,EP:()=>h});var n=r(4518),o=r(5074),i=r(78),a=r(2861),l=r(1914),s=r(1464),c=r(7591),d=r(593);let{applyVariants:u,filterProps:p}=(0,l.v)((e,t)=>({base:{boxSizing:"border-box",margin:0,padding:`${e.space.$1x5} ${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 r;let l=(0,d.Wd)()||{},{t:s}=(0,i._)(),{feedbackMessageId:c,ignorePasswordManager:m,feedbackType:h,...f}=(0,d.Uj)(l,["feedbackMessageId","ignorePasswordManager","feedbackType"]),g=p({...e,hasError:e.hasError||f.hasError}),{onChange:b}=(r=g.onChange,{onChange:function(e){e.persist(),"function"==typeof r&&r(e)},ref:o.useRef(null)}),{isDisabled:v,hasError:y,focusRing:w,isRequired:$,type:x,..._}=g,S=v||f.isDisabled,C=$||f.isRequired,k=y||f.hasError,A="email"===x?{type:"text",pattern:"^.*@[a-zA-Z0-9\\-]+\\.[a-zA-Z0-9\\-\\.]+$",inputMode:"email",title:s((0,a.G)("formFieldInput__emailAddress_format"))}:{type:x||"text"};return(0,n.Y)("input",{..._,...A,...m?{"data-1p-ignore":!0}:void 0,ref:t,onChange:b,disabled:v,required:C,id:e.id||f.id,"aria-invalid":k,"aria-describedby":c||void 0,"aria-required":C,"aria-disabled":S,"data-feedback":h,"data-variant":e.variant||"default",css:u(e)})}),h=o.forwardRef((e,t)=>{let r=(0,d.Wd)()||{},{feedbackType:o}=(0,d.Uj)(r,["feedbackType","data-active"]),{isDisabled:i,hasError:a,focusRing:l,isRequired:s,...c}=p({...e,hasError:e.hasError});return(0,n.Y)("div",{...c,ref:t,id:e.id,"aria-invalid":a,"data-feedback":o,"data-variant":e.variant||"default","data-focus-within":l,css:u(e)})}),f=o.forwardRef((e,t)=>(0,n.Y)(m,{...e,type:"checkbox",ref:t})),g=o.forwardRef((e,t)=>(0,n.Y)(m,{...e,type:"radio",ref:t})),b=o.forwardRef((e,t)=>{let{isDisabled:r,hasError:o,focusRing:i,isRequired:a,...l}=e,s=r||e.isDisabled,c=a||e.isRequired,d=o||e.hasError;return(0,n.Y)("textarea",{...l,ref:t,disabled:s,required:c,"aria-invalid":d,"aria-required":c,css:u(e)})})},3707:function(e,t,r){r.d(t,{N:()=>d});var n=r(4518),o=r(4173);r(5074);var i=r(1914),a=r(1464),l=r(1908);let{applyVariants:s,filterProps:c}=(0,i.v)(e=>({base:{boxSizing:"border-box",display:"inline-flex",alignItems:"center",margin:0,cursor:"pointer",...a.s.disabled(e),textDecoration:"none","&:hover":{textDecoration:"underline"}},variants:{variant:a.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",...a.s.focusRing(e)}}}},defaultVariants:{colorScheme:"primary",variant:"body",focusRing:!1}})),d=e=>{let{isExternal:t,children:r,href:i,onClick:a,...d}=e,u=(0,o.d3)(i),p=a?e=>{u||e.preventDefault(),a(e)}:void 0;return(0,n.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:r})}},7852:function(e,t,r){r.d(t,{y:()=>p});var n=r(4518),o=r(2637),i=r(1914),a=r(4374);let{size:l,thickness:s,speed:c}=(0,o.T)("speed","size","thickness"),{applyVariants:d,filterProps:u}=(0,i.v)(e=>({base:{display:"inline-block",borderRadius:"99999px",borderTop:`${s} solid currentColor`,borderRight:`${s} solid currentColor`,borderBottomWidth:s,borderLeftWidth:s,borderBottomStyle:"solid",borderLeftStyle:"solid",borderBottomColor:e.colors.$transparent,borderLeftColor:e.colors.$transparent,opacity:1,animation:`${a.W.spinning} ${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,n.Y)("span",{...u(e),css:d(e),"aria-busy":!0,"aria-live":"polite"})},1908:function(e,t,r){r.d(t,{k:()=>n});let n=e=>{let{hasError:t,isDisabled:r,isLoading:n,isOpen:o,isActive:i,...a}=e;return{"data-error":t||void 0,"data-disabled":r||void 0,"data-loading":n||void 0,"data-open":o||void 0,"data-active":i||void 0,...a}}},593:function(e,t,r){r.d(t,{BQ:()=>c,Uj:()=>d,Wd:()=>s});var n=r(4518),o=r(9361),i=r(5074),a=r(8640);let[l,,s]=(0,o.e3)("FormFieldContext"),c=e=>{let{id:t,isRequired:r=!1,isDisabled:o=!1,setError:s,setSuccess:c,setWarning:d,setHasPassedComplexity:u,setInfo:p,clearFeedback:m,children:h,feedbackType:f,feedback:g,isFocused:b,...v}=e,y=`${t}-field`,{debounced:w}=(0,a.eW)({feedback:g,feedbackType:f,isFocused:b}),$="error"===w.feedbackType,x=w.feedback?"error"===w.feedbackType?`error-${t}`:`${t}-${w.feedbackType}-feedback`:"",_=i.useMemo(()=>({isRequired:r,isDisabled:o,hasError:$,id:y,fieldId:t,feedbackMessageId:x,setError:s,setSuccess:c,setWarning:d,setInfo:p,clearFeedback:m,setHasPassedComplexity:u,feedbackType:f,feedback:g,isFocused:b}),[r,$,y,t,x,o,s,c,d,p,m,u,f,g,b]);return(0,n.Y)(l.Provider,{value:{value:{..._,...v,debouncedFeedback:w}},children:e.children})},d=(e,t)=>{let{radioOptions:r,validatePassword:n,hasPassedComplexity:o,isFocused:i,feedback:a,feedbackType:l,setHasPassedComplexity:s,setWarning:c,setSuccess:d,setError:u,setInfo:p,feedbackMessageId:m,fieldId:h,label:f,clearFeedback:g,infoText:b,debouncedFeedback:v,ignorePasswordManager:y,transformer:w,...$}=e;return t?.forEach(t=>{$[t]=e[t]}),$}},4777:function(e,t,r){r.d(t,{F:()=>p});var n=r(4518),o=r(7127),i=r(4173),a=r(9361),l=r(5074),s=r(734),c=r(8595),d=r(2265),u=r(4964);let p=({basePath:e,startPath:t,getPath:r,getQueryString:p,internalNavigate:m,refreshEvents:h,preservedParams:f,urlStateParam:g,children:b})=>{let{navigate:v}=(0,a.ho)(),[y,w]=l.useState({path:r(),queryString:p()}),$=y.path,x=y.queryString,_=(0,o.t)(y.queryString),S=(e,t)=>{let[r,n]=(0,s.N)("","",e,t),o=(0,i.Kj)($),a=e&&(0,c.YW)(n+"/:foo*")(o)||t&&(0,c.YW)(r)(o)||t&&(0,c.YW)(n)(o)||!1;return!1!==a&&a.params},C=l.useCallback(()=>{let e=r(),t=p();(e!==$||t!==x)&&w({path:e,queryString:t})},[$,x,r,p]);l.useEffect(()=>{let e=[h].flat().filter(e=>!!e);if(e.length)return e.forEach(e=>window.addEventListener(e,C)),()=>{e.forEach(e=>window.removeEventListener(e,C))}},[h,C]);let k=async t=>{if(!t)return;let r=t.origin!==window.location.origin;if(!t.pathname.startsWith("/"+e)||r){let e=await v(t.href);return C(),e}if(f){let e=(0,o.t)(t.search);f.forEach(t=>{!e[t]&&_[t]&&(e[t]=_[t])}),t.search=(0,o.n)(e)}let n=await m(t,{metadata:{navigationType:"internal"}});return w({path:t.pathname,queryString:t.search}),n};return(0,n.Y)(u.P.Provider,{value:{basePath:e,startPath:t,flowStartPath:t,fullPath:"",indexPath:"",currentPath:$,queryString:x,queryParams:_,getMatchData:S.bind(void 0),matches:((e,t)=>!!S(e,t)).bind(void 0),baseNavigate:k.bind(void 0),navigate:async()=>{},resolve:(e=>new URL(e,window.location.origin)).bind(void 0),refresh:C.bind(void 0),params:{},urlStateParam:g},children:(0,n.Y)(d.q,{path:e,children:b})})}},2265:function(e,t,r){r.d(t,{q:()=>p});var n=r(4518),o=r(4173),i=r(9361),a=r(5074),l=r(1550),s=r(734),c=r(8595),d=r(4964);let u=({canActivate:e,children:t})=>{let{navigateToFlowStart:r}=(0,l.C)(),o=(0,i.ho)();return(a.useEffect(()=>{e(o)||r()}),e(o))?(0,n.Y)(n.FK,{children:t}):null};function p(e){let t=(0,d.r)();if(!e.children)return null;if(!e.index&&!e.path)return(0,n.Y)(n.FK,{children:e.children});if(!t.matches(e.path,e.index))return null;let[r,i]=(0,s.N)(t.indexPath,t.fullPath,e.path,e.index),a=(e,{searchParams:t}={})=>{let r=new URL(e,window.location.origin+i+"/");return t&&(r.search=t.toString()),r.pathname=(0,o.Kj)(r.pathname),r},l=(e,n)=>{let[a,l]=(0,s.N)(r,i,e,n),d=(0,o.Kj)(t.currentPath),u=e&&(0,c.YW)(l+"/:foo*")(d)||n&&(0,c.YW)(a)(d)||n&&(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,n.Y)(d.P.Provider,{value:{basePath:t.basePath,startPath:t.startPath,flowStartPath:h,indexPath:r,fullPath:i,currentPath:t.currentPath,queryParams:t.queryParams,queryString:t.queryString,baseNavigate:t.baseNavigate,getMatchData:l,matches:(e,t)=>!!l(e,t),resolve:a,navigate:(e,{searchParams:r}={})=>{let n=a(e,{searchParams:r});return t.baseNavigate(n)},refresh:t.refresh,params:m,urlStateParam:t.urlStateParam},children:e.canActivate?(0,n.Y)(u,{canActivate:e.canActivate,children:e.children}):e.children})}},4964:function(e,t,r){r.d(t,{P:()=>o,r:()=>i});var n=r(5074);let o=n.createContext(null);o.displayName="RouteContext";let i=()=>{let e=n.useContext(o);if(!e)throw Error("useRouter called while Router is null");return e}},7831:function(e,t,r){r.d(t,{d:()=>l});var n=r(4518),o=r(5074),i=r(2265),a=r(4964);function l({children:e}){let t=(0,a.r)(),r=null;return o.Children.forEach(e,e=>{if(r||!(e&&o.isValidElement(e)&&"object"==typeof e&&e.type===i.q))return;let{index:n,path:a}=e.props;(!n&&!a||t.matches(a,n))&&(r=e)}),(0,n.Y)(n.FK,{children:r})}},4132:function(e,t,r){r.d(t,{I:()=>s,x:()=>c});var n=r(4518),o=r(9361),i=r(5074),a=r(3727),l=r(4777);let s="CLERK-ROUTER/VIRTUAL",c=({startPath:e,preservedParams:t,onExternalNavigate:r,children:c})=>{let{__internal_addNavigationListener:d}=(0,o.ho)(),[u,p]=i.useState(new URL("/"+s+e,window.location.origin)),{urlStateParam:m,removeQueryParam:h}=(0,a.x)();return(0,i.useEffect)(()=>{let e=()=>{};return r&&(e=d(r)),()=>{e()}},[]),m.componentName&&h(),(0,n.Y)(l.F,{getPath:()=>u.pathname,basePath:s,startPath:e,getQueryString:()=>u.search,internalNavigate:e=>{e&&p(e)},preservedParams:t,urlStateParam:m,children:c})}},3394:function(e,t,r){r.d(t,{VirtualRouter:()=>n.x});var n=r(4132)},734:function(e,t,r){r.d(t,{N:()=>n});let n=(e,t,r,n)=>{let o=e;r&&(o=t,n||(o+="/"+r)),o.startsWith("//")&&(o=o.substr(1));let i=t+(r?"/"+r:"");return i.startsWith("//")&&(i=i.substr(1)),[o,i]}},8595:function(e,t,r){function n(e,t){let r=[];return function(e,t,r={}){let{decode:n=e=>e}=r;return function(r){let o=e.exec(r);if(!o)return!1;let{0:i,index:a}=o,l=Object.create(null);for(let e=1;e<o.length;e++){if(void 0===o[e])continue;let r=t[e-1];"*"===r.modifier||"+"===r.modifier?l[r.name]=o[e].split(r.prefix+r.suffix).map(e=>n(e,r)):l[r.name]=n(o[e],r)}return{path:i,index:a,params:l}}}(function e(t,r,n){if(t instanceof RegExp){if(!r)return t;let e=t.source.match(/\((?!\?)/g);if(e)for(let t=0;t<e.length;t++)r.push({name:t,prefix:"",suffix:"",modifier:"",pattern:""});return t}if(Array.isArray(t)){let o;return o=t.map(t=>e(t,r,n).source),RegExp(`(?:${o.join("|")})`,i(n))}return function(e,t,r={}){let{strict:n=!1,start:a=!0,end:l=!0,encode:s=e=>e}=r,c=`[${o(r.endsWith||"")}]|$`,d=`[${o(r.delimiter||"/#?")}]`,u=a?"^":"";for(let r of e)if("string"==typeof r)u+=o(s(r));else{let e=o(s(r.prefix)),n=o(s(r.suffix));if(r.pattern)if(t&&t.push(r),e||n)if("+"===r.modifier||"*"===r.modifier){let t="*"===r.modifier?"?":"";u+=`(?:${e}((?:${r.pattern})(?:${n}${e}(?:${r.pattern}))*)${n})${t}`}else u+=`(?:${e}(${r.pattern})${n})${r.modifier}`;else u+=`(${r.pattern})${r.modifier}`;else u+=`(?:${e}${n})${r.modifier}`}if(l)n||(u+=`${d}?`),u+=r.endsWith?`(?=${c})`:"$";else{let t=e[e.length-1],r="string"==typeof t?d.indexOf(t[t.length-1])>-1:void 0===t;n||(u+=`(?:${d}(?=${c}))?`),r||(u+=`(?=${d}|${c})`)}return new RegExp(u,i(r))}(function(e,t={}){let r=function(e){let t=[],r=0;for(;r<e.length;){let n=e[r];if("*"===n||"+"===n||"?"===n){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===n){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===n){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===n){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===n){let n="",o=r+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){n+=e[o++];continue}break}if(!n)throw TypeError(`Missing parameter name at ${r}`);t.push({type:"NAME",index:r,value:n}),r=o;continue}if("("===n){let n=1,o="",i=r+1;if("?"===e[i])throw TypeError(`Pattern cannot start with "?" at ${i}`);for(;i<e.length;){if("\\"===e[i]){o+=e[i++]+e[i++];continue}if(")"===e[i]){if(0==--n){i++;break}}else if("("===e[i]&&(n++,"?"!==e[i+1]))throw TypeError(`Capturing groups are not allowed at ${i}`);o+=e[i++]}if(n)throw TypeError(`Unbalanced pattern at ${r}`);if(!o)throw TypeError(`Missing pattern at ${r}`);t.push({type:"PATTERN",index:r,value:o}),r=i;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),{prefixes:n="./"}=t,i=`[^${o(t.delimiter||"/#?")}]+?`,a=[],l=0,s=0,c="",d=e=>{if(s<r.length&&r[s].type===e)return r[s++].value},u=e=>{let t=d(e);if(void 0!==t)return t;let{type:n,index:o}=r[s];throw TypeError(`Unexpected ${n} at ${o}, expected ${e}`)},p=()=>{let e,t="";for(;e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t};for(;s<r.length;){let e=d("CHAR"),t=d("NAME"),r=d("PATTERN");if(t||r){let o=e||"";-1===n.indexOf(o)&&(c+=o,o=""),c&&(a.push(c),c=""),a.push({name:t||l++,prefix:o,suffix:"",pattern:r||i,modifier:d("MODIFIER")||""});continue}let o=e||d("ESCAPED_CHAR");if(o){c+=o;continue}if(c&&(a.push(c),c=""),d("OPEN")){let e=p(),t=d("NAME")||"",r=d("PATTERN")||"",n=p();u("CLOSE"),a.push({name:t||(r?l++:""),pattern:t&&!r?i:r,prefix:e,suffix:n,modifier:d("MODIFIER")||""});continue}u("END")}return a}(t,n),r,n)}(e,r,t),r,t)}function o(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}r.d(t,{YW:()=>n})},9406:function(e,t,r){r.d(t,{S:()=>a});var n=r(4518),o=r(6668);r(5074);var i=r(6580);let a=e=>{let{parsedInternalTheme:t}=(0,i.K)();return(0,n.Y)(o.a,{theme:t,children:e.children})}},5287:function(e,t,r){r.d(t,{StyleCacheProvider:()=>s});var n=r(4518),o=r(1785),i=r(6668),a=r(5074);let l=document.querySelector("style#cl-style-insertion-point"),s=e=>{let t=(0,a.useMemo)(()=>{let t=(0,o.A)({key:"cl-internal",prepend:!e.cssLayerName&&!l,insertionPoint:l||void 0,nonce:e.nonce});if(e.cssLayerName){let r=t.insert.bind(t);t.insert=(t,n,o,i)=>{if(n&&"string"==typeof n.styles&&!n.styles.startsWith("@layer")){let a={...n};return a.styles=`@layer ${e.cssLayerName} {${n.styles}}`,r(t,a,o,i)}return r(t,n,o,i)}}return t},[e.nonce,e.cssLayerName]);return(0,n.Y)(i.C,{value:t,children:e.children})}},4374:function(e,t,r){r.d(t,{W:()=>f});var n=r(8802);let o=(0,n.i7)`
15
+ 0% { transform: rotate(0deg); }
16
+ 100% { transform: rotate(360deg); }`,i=(0,n.i7)`
17
+ 0% {
18
+ opacity: 0;
19
+ transform: scaleY(1) translateY(-6px);
20
+ }
21
+ 100% {
22
+ opacity: 1;
23
+ transform: scaleY(1) translateY(0px);
24
+ }
25
+ `,a=(0,n.i7)`
26
+ 0% {
27
+ opacity: 0;
28
+ transform: translateY(0.5rem);
29
+ }
30
+ 100% {
31
+ opacity: 1;
32
+ transform: translateY(0);
33
+ }
34
+ `,l=(0,n.i7)`
35
+ 0% { opacity: 0; }
36
+ 100% { opacity: 1; }
37
+ `,s=(0,n.i7)`
38
+ 0% { opacity: 1; }
39
+ 100% { opacity: 0; }
40
+ `,c=(0,n.i7)`
41
+ 0% {
42
+ opacity: 0;
43
+ transform: translateY(-5px);
44
+ max-height: 0;
45
+ }
46
+ 100% {
47
+ opacity: 1;
48
+ transform: translateY(0px);
49
+ max-height: 6rem;
50
+ }
51
+ `,d=(0,n.i7)`
52
+ 0% {
53
+ opacity: 0;
54
+ transform: translateY(-5px);
55
+ max-height: 0;
56
+ }
57
+ 50% {
58
+ opacity: 0;
59
+ transform: translateY(-5px);
60
+ max-height: 0;
61
+ }
62
+ 100% {
63
+ opacity: 1;
64
+ transform: translateY(0px);
65
+ max-height: 6rem;
66
+ }
67
+ `,u=(0,n.i7)`
68
+ 0% {
69
+ opacity: 0;
70
+ transform: translateY(5px) scale(.5);
71
+ }
72
+
73
+ 50% {
74
+ opacity: 1;
75
+ transform: translateY(0px) scale(1.2);
76
+ }
77
+
78
+ 100% {
79
+ opacity: 1;
80
+ transform: translateY(0px) scale(1);
81
+ }
82
+ `,p=(0,n.i7)`
83
+ 0% {
84
+ opacity:1;
85
+ transform: translateY(0px);
86
+ max-height: 6rem;
87
+ visibility: visible;
88
+ }
89
+ 100% {
90
+ opacity: 0;
91
+ transform: translateY(5px);
92
+ max-height: 0;
93
+ visibility: visible;
94
+ }
95
+ `,m=(0,n.i7)`
96
+ 0% {opacity: 0;max-height: 0;}
97
+ 100% {opacity: 1;max-height: 3rem;}
98
+ `,h=(0,n.i7)`
99
+ 0% {opacity: 0;max-height: 0;}
100
+ 100% {opacity: 1;max-height: 8rem;}
101
+ `,f={spinning:o,dropdownSlideInScaleAndFade:i,modalSlideAndFade:a,fadeIn:l,fadeOut:s,textInSmall:m,textInBig:h,blockBigIn:(0,n.i7)`
102
+ 0% {opacity: 0;max-height: 0;}
103
+ 99% {opacity: 1;max-height: 10rem;}
104
+ 100% {opacity: 1;max-height: unset;}
105
+ `,expandIn:e=>(0,n.i7)`
106
+ 0% {opacity: 0;max-height: 0;}
107
+ 99% {opacity: 1;max-height: ${e};}
108
+ 100% {opacity: 1;max-height: unset;}
109
+ `,navbarSlideIn:(0,n.i7)`
110
+ 0% {opacity: 0; transform: translateX(-100%);}
111
+ 100% {opacity: 1; transform: translateX(0);}
112
+ `,inAnimation:c,inDelayAnimation:d,outAnimation:p,notificationAnimation:u}},7591:function(e,t,r){r.d(t,{g:()=>i});var n=r(1020);let o=Object.freeze({xs:"21em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),i={ios:"@supports (-webkit-touch-callout: none)",...(0,n.P)(Object.entries(o).map(([e,t])=>[e,`@media (max-width: ${t})`]))}},1464:function(e,t,r){r.d(t,{s:()=>s});var n=r(4620),o=r(8930);let i=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}),a=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(${t},${t}), linear-gradient(${e}, ${e})`,s={textVariants:e=>{let t={fontFamily:"inherit",letterSpacing:e.letterSpacings.$normal},r={...t,fontWeight:e.fontWeights.$semibold,fontSize:e.fontSizes.$xl,lineHeight:e.lineHeights.$extraSmall},n={...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},i={...t,fontWeight:e.fontWeights.$medium,fontSize:e.fontSizes.$md,lineHeight:e.lineHeights.$small},a={...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:r,h2:n,h3:o,subtitle:i,body:a,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 r=t?.hasError?e.colors.$dangerAlpha500:e.colors.$borderAlpha300,n=e.shadows.$input.replace("{{color}}",t?.hasError?e.colors.$dangerAlpha200:e.colors.$borderAlpha150),o=t?.hoverStyles===!1?{}:{"&:hover":{WebkitTapHighlightColor:"transparent",borderColor:r,boxShadow:n}},i=t?.focusRing===!1?{}:{"&:focus":{borderColor:r,WebkitTapHighlightColor:"transparent",boxShadow:[n,e.shadows.$focusRing.replace("{{color}}",!t?.hasError?e.colors.$borderAlpha150:e.colors.$dangerAlpha200)].toString()}},a=t?.hasError?e.colors.$dangerAlpha500:t?.hasWarning?e.colors.$warningAlpha300:e.colors.$borderAlpha150,l=t?.hasError?e.colors.$borderAlpha150:t?.hasWarning?e.colors.$warningAlpha50:e.colors.$borderAlpha100;return{normal:{borderRadius:e.radii.$md,borderWidth:e.borderWidths.$normal,borderStyle:e.borderStyles.$solid,borderColor:a,boxShadow:e.shadows.$input.replace("{{color}}",l),transitionProperty:e.transitionProperty.$common,transitionTimingFunction:e.transitionTiming.$common,transitionDuration:e.transitionDuration.$focusRing,...o,...i}}},focusRingStyles:i,focusRing:e=>({"&:focus":{...i(e)}}),disabled:e=>({"&:disabled,&[data-disabled]":{cursor:"not-allowed",pointerEvents:"none",opacity:e.opacity.$disabled}}),borderColor:(e,t)=>({borderColor:t?.hasError?e.colors.$dangerAlpha500:e.colors.$borderAlpha150}),centeredFlex:(e="flex")=>({display:e,justifyContent:"center",alignItems:"center"}),maxHeightScroller:e=>({height:"100%",overflowY:"auto",...a(e)}),mutedBackground:e=>{let t=e.colors.$colorMuted||l(n.T.setAlpha(e.colors.$colorBackground,1),e.colors.$neutralAlpha50);return(0,o.AY)("color-muted",t)},unstyledScrollbar:a,mergedColorsBackground:l,visuallyHidden:()=>({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"})}},2637:function(e,t,r){r.d(t,{T:()=>o});var n=r(1020);let o=(...e)=>(0,n.P)(e.map(e=>[e,`var(--${e})`]))},1914:function(e,t,r){r.d(t,{v:()=>o});var n=r(4498);let o=e=>{let t,r=t=new Proxy({},{get:(e,r)=>r===Symbol.toPrimitive?()=>"":r in Object.getPrototypeOf("")?e=>Object.getPrototypeOf("")[r].call("",e):r===Symbol.toPrimitive?()=>"":t}),n=Object.keys(e(r,r).variants||{});return{applyVariants:(t={})=>r=>{let{base:n,variants:o={},compoundVariants:i=[],defaultVariants:u={}}=e(r,t),p=d(o,t,u),m={};return a(m,n),l(m,p,o),s(m,p,i),c(m),m},filterProps:e=>i(e,n)}},i=(e,t)=>{let r={...e};for(let e of t)delete r[e];return r},a=(e,t)=>{t&&"object"==typeof t&&Object.assign(e,t)},l=(e,t,r)=>{for(let o in t)(0,n.n)(r[o][t[o]],e)},s=(e,t,r)=>{for(let o of r)u(o,t)&&(0,n.n)(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,r)=>{let n={};for(let o in e)o in t?n[o]=t[o]:o in r&&(n[o]=r[o]);return n},u=({condition:e},t)=>{for(let r in e)if(e[r]!==t[r])return!1;return!0}},2245:function(e,t,r){r.d(t,{InternalThemeProvider:()=>n.S});var n=r(9406)},2293:function(e,t,r){r.d(t,{c:()=>i});var n=r(4518),o=r(5074);let i=({mount:e,unmount:t,...r})=>{let i=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let r;return i.current&&(r=i.current,e(i.current)),()=>{t(r)}},[i.current]),(0,n.Y)("div",{ref:i,...r})}},2464:function(e,t,r){r.d(t,{NO:()=>s,Pg:()=>l,Tj:()=>n,X2:()=>a,XW:()=>u,Yo:()=>c,cC:()=>o,q5:()=>d,rm:()=>m,uU:()=>p,wH:()=>i});let n=[25,50,100,150,200,300,400,500,600,700,750,800,850,900,950],o=["400","300","200","150","100","50","25"],i=["600","700","750","800","850","900","950"],a=[...o,"500",...i],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}},4620:function(e,t,r){r.d(t,{T:()=>l});var n=r(4803),o=r(2),i=r(2464),a=r(5576);let l={changeHslaLightness:o.T.changeHslaLightness,setHslaAlpha:o.T.setHslaAlpha,toHslaColor:e=>{if(e)return n.a.modernColor()?e:o.T.toHslaColor(e)},toHslaString:e=>{if(e)return n.a.modernColor()&&"string"==typeof e?e:o.T.toHslaString(e)},lighten:(e,t=0)=>n.a.modernColor()?((e,t=0)=>{if(e){if(n.a.relativeColorSyntax())return(0,a.LL)(e,"h","s",`calc(l + ${100*t}%)`);if(n.a.colorMix()){let r=Math.min(100*t,i.rm.MAX_LIGHTNESS_MIX);return(0,a.nm)(e,"white",r)}return e}})(e,t):o.T.lighten(e,t),makeTransparent:(e,t=0)=>n.a.modernColor()?((e,t=0)=>{if(e&&""!==e.toString()){if(n.a.colorMix()){let r=Math.max((1-t)*100,i.rm.MIN_ALPHA_PERCENTAGE);return(0,a.D3)(e,r)}return e}})(e,t):o.T.makeTransparent(e,t),makeSolid:e=>n.a.modernColor()?(e=>{if(e)return n.a.relativeColorSyntax()?(0,a.LL)(e,"h","s","l","1"):n.a.colorMix()?`color-mix(in srgb, ${e}, ${e} 100%)`:e})(e):o.T.makeSolid(e),setAlpha:(e,t)=>n.a.modernColor()?((e,t)=>{let r=Math.min(Math.max(t,i.uU.alpha.min),i.uU.alpha.max);if(n.a.relativeColorSyntax())return(0,a.LL)(e,"h","s","l",r.toString());if(n.a.colorMix()){let t=100*r;return(0,a.D3)(e,t)}return e})(e,t):o.T.setAlpha(e,t),adjustForLightness:(e,t=5)=>n.a.modernColor()?((e,t=5)=>{if(e){if(n.a.colorMix()){let r=Math.min(t*i.rm.MIX_MULTIPLIER,i.rm.MAX_LIGHTNESS_ADJUSTMENT);return(0,a.nm)(e,"white",r)}return e}})(e,t):o.T.adjustForLightness(e,t)}},2:function(e,t,r){r.d(t,{T:()=>w});var n=r(8930);let o=/^#([a-f0-9]{3,4})$/i,i=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,a=/^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,r)=>Math.min(Math.max(t,e),r),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=>{let t,r=e[0]/255,n=e[1]/255,o=e[2]/255,i=e[3]??1,a=Math.min(r,n,o),l=Math.max(r,n,o),s=l-a;l===a?t=0:r===l?t=(n-o)/s:n===l?t=2+(o-r)/s:o===l&&(t=4+(r-n)/s),(t=Math.min(60*t,360))<0&&(t+=360);let c=(a+l)/2;return{h:Math.floor(t),s:Math.floor(100*(l===a?0:c<=.5?s/(l+a):s/(2-l-a))),l:Math.floor(100*c),a:i}},f=({h:e,s:t,l:r,a:n})=>`hsla(${e}, ${t}%, ${r}%, ${n??1})`,g=e=>{let{model:t,value:r}=(e=>{let t,r=(0,n.cQ)(e)||e,c=r.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})(r)}:"hwb"===c?{model:"hwb",value:p(r)}:{model:"rgb",value:(e=>{let t,r,n;if(!e)return null;let s=[0,0,0,1];if(t=e.match(i)){for(r=0,n=t[2],t=t[1];r<3;r++){let e=2*r;s[r]=parseInt(t.slice(e,e+2),16)}n&&(s[3]=parseInt(n,16)/255)}else if(t=e.match(o)){for(r=0,n=(t=t[1])[3];r<3;r++)s[r]=parseInt(t[r]+t[r],16);n&&(s[3]=parseInt(n+n,16)/255)}else if(t=e.match(a)){for(r=0;r<3;r++)s[r]=parseInt(t[r+1],0);t[4]&&(t[5]?s[3]=.01*parseFloat(t[4]):s[3]=parseFloat(t[4]))}else if(t=e.match(l)){for(r=0;r<3;r++)s[r]=Math.round(2.55*parseFloat(t[r+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(r=0;r<3;r++)s[r]=u(s[r],0,255);return s[3]=u(s[3],0,1),s})(r)})||!t.value)throw Error(`Clerk: "${r}" cannot be used as a color within 'variables'. You can pass one of:
113
+ - any valid hsl or hsla color
114
+ - any valid rgb or rgba color
115
+ - any valid hex color
116
+ - any valid hwb color
117
+ - ${Object.keys(d).join(", ")}
118
+ `);return t})(e);switch(t){case"hsl":return{h:r[0],s:r[1],l:r[2],a:r[3]??1};case"hwb":return h((e=>{let t,r,n,o,i=e[0]/360,a=e[1]/100,l=e[2]/100,s=e[3]??1,c=a+l;c>1&&(a/=c,l/=c);let d=Math.floor(6*i),u=1-l;t=6*i-d,(1&d)!=0&&(t=1-t);let p=a+t*(u-a);switch(d){default:case 6:case 0:r=u,n=p,o=a;break;case 1:r=p,n=u,o=a;break;case 2:r=a,n=u,o=p;break;case 3:r=a,n=p,o=u;break;case 4:r=p,n=a,o=u;break;case 5:r=u,n=a,o=p}return[255*r,255*n,255*o,s]})(r));case"rgb":return h(r)}},b=e=>"string"==typeof e?f(g(e)):f(e),v=(e,t)=>({...e,l:e.l+t}),y=(e,t)=>({...e,a:t}),w={toHslaColor:g,toHslaString:b,adjustForLightness:(e,t=5)=>{if(!e)return;let r=w.toHslaColor(e);return r?(100===r.l?r.l=95:r.l=Math.min(r.l+2*t,100),w.toHslaString(r)):e},changeHslaLightness:v,setHslaAlpha:y,lighten:(e,t=0)=>{if(!e)return;let r=g(e);return b(v(r,r.l*t))},makeTransparent:(e,t=0)=>{let r;if(!e||""===e.toString())return;let n=g(e);return b((r=(n.a??1)*t,{...n,a:n.a?n.a-r:void 0}))},makeSolid:e=>{if(e)return b({...g(e),a:1})},setAlpha:(e,t)=>e.toString()?b(y(g(e),t)):e}},5576:function(e,t,r){r.d(t,{D3:()=>c,H5:()=>a,LL:()=>s,Nw:()=>d,lD:()=>u,nm:()=>l});var n=r(4803),o=r(2464);let i=Object.freeze(o.X2.reduce((e,t)=>(e[t]=void 0,e),{})),a=()=>({...i});function l(e,t,r){return`color-mix(in srgb, ${e}, ${t} ${r}%)`}function s(e,t,r,n,o){return`hsl(from ${e} ${t} ${r} ${n}${o?` / ${o}`:""})`}function c(e,t){return`color-mix(in srgb, transparent, ${e} ${t}%)`}function d(e,t){return c(e,o.NO[t])}function u(e,t){if(500===t)return e;if(n.a.relativeColorSyntax())return function(e,t){if(500===t)return e;let r=o.XW[t];if(!r)return e;let{TARGET_LIGHT:n,TARGET_DARK:i,LIGHT_STEPS:a,DARK_STEPS:l}=o.Pg;return t<500?s(e,"h","s",`calc(l + (${r} * ((${n} - l) / ${a})))`):s(e,"h","s",`calc(l - (${r} * ((l - ${i}) / ${l})))`)}(e,t);if(n.a.colorMix()){if(500===t)return e;let r=o.q5[t];return r.mixColor?l(e,r.mixColor,r.percentage):e}return e}},856:function(e,t,r){r.d(t,{K:()=>u});var n=r(4518),o=r(1227),i=r(8813),a=r(7240),l=r(2861),s=r(2293),c=r(3907),d=r(5845);let u=(e,t)=>p({customMenuItems:e,getDefaultMenuItems:h},t),p=({customMenuItems:e,getDefaultMenuItems:t},r)=>{let{INITIAL_MENU_ITEMS:n,validReorderItemLabels:o}=t(),i=e.filter(e=>!!f(e,o)||((0,c.w)(r)&&console.error("Clerk: Invalid custom menu item:",e),!1));(0,c.w)(r)&&(w(e,o),$(i));let{menuItems:a}=m({customMenuItems:i,defaultMenuItems:n});return a},m=({customMenuItems:e,defaultMenuItems:t})=>{let r=t.map(e=>e),i=[...e.map((e,o)=>{if(v(e))return{name:e.label,id:`custom-menutItem-${o}`,icon:t=>(0,n.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-${o}`,icon:t=>(0,n.Y)(s.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),onClick:e?.onClick};if(b(e))return{name:e.label,id:`custom-menutItem-${o}`,icon:t=>(0,n.Y)(s.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),open:e.open};let i=t.find(t=>t.id===e.label);return r=r.filter(t=>t.id!==e.label),{...i}}),...r];return e.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:i.A},{name:(0,l.G)("userButton.action__signOut"),id:o.dY.SIGN_OUT,icon:a.A}],t=e.map(e=>e.id);return{INITIAL_MENU_ITEMS:e,validReorderItemLabels:t}},f=(e,t)=>(v(e)||g(e)||b(e)||y(e,t))&&"string"==typeof e.label,g=e=>!!e.label&&!!e.onClick&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,b=e=>!!e.label&&!!e.open&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,v=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 "${t.label}" item is used more than once when reordering pages. This may cause unexpected behavior.`),[...e,t.label]),[])},$=e=>{let t=e.map(e=>e.label),r=t.filter((e,r)=>t.indexOf(e)!==r);r.length>0&&console.warn(`Clerk: Duplicate custom menu item labels found: ${r.join(", ")}`)}},3121:function(e,t,r){r.d(t,{q:()=>k,M:()=>C});var n,o,i,a,l=r(4518),s=r(1841),c=r(4173),d=r(1227),u=r(5074);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}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),n||(n=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=r(7358),f=r(4967);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let b=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 v=r(9830);function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}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),i||(i=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"})),a||(a=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 $=r(2861),x=r(2293),_=r(3907),S=r(5845);let C=(e,t,r,n)=>A({customPages:e,getDefaultRoutes:M,setFirstPathToRoot:z,excludedPathsFromDuplicateWarning:[]},t,r,n),k=(e,t,r,n)=>A({customPages:e,getDefaultRoutes:O,setFirstPathToRoot:P,excludedPathsFromDuplicateWarning:[]},t,r,n,!0),A=({customPages:e,getDefaultRoutes:t,setFirstPathToRoot:r,excludedPathsFromDuplicateWarning:n},o,i,a,l)=>{let{INITIAL_ROUTES:c,pageToRootNavbarRouteMap:d,validReorderItemLabels:u}=t({commerce:l?!(0,s.NW)(o,a)&&i:!(0,s.B_)(o,a)&&i,apiKeys:l?!(0,s.s$)(o,a):!(0,s.ui)(o,a)});(0,_.w)(o)&&D(e,u);let{allRoutes:p,contents:m}=I({customPages:e.filter(e=>!!R(e,u)||((0,_.w)(o)&&console.error("Clerk: Invalid custom page data: ",e),!1)),defaultRoutes:c});B(p);let h=r(p);return(0,_.w)(o)&&Y(h,n),{routes:h,contents:m,pageToRootNavbarRouteMap:d}},I=({customPages:e,defaultRoutes:t})=>{let r=t.map(e=>e),n=[],o=e.map((e,o)=>{if(F(e))return{name:e.label,id:`custom-page-${o}`,icon:t=>(0,l.Y)(x.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),path:(0,S.K)(e.url),external:!0};if(T(e)){let t=L(e.url);return n.push({url:t,mount:e.mount,unmount:e.unmount}),{name:e.label,id:`custom-page-${o}`,icon:t=>(0,l.Y)(x.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),path:t}}let i=t.find(t=>t.id===e.label);return r=r.filter(({id:t})=>t!==e.label),{...i}});return{allRoutes:[...r,...o],contents:n}},z=e=>e.map((e,t)=>0===t?{...e,path:"/"}:e),P=e=>e.map((e,t)=>0===t?{...e,path:"/"}:e),D=(e,t)=>{e.filter(e=>E(e,t)).reduce((e,t)=>(e.includes(t.label)&&console.error(`Clerk: The "${t.label}" item is used more than once when reordering pages. This may cause unexpected behavior.`),[...e,t.label]),[])},Y=(e,t)=>{let r=e.filter(({external:e,path:r})=>!e&&t.every(e=>e!==r)).map(({path:e})=>e);r.filter((e,t)=>r.indexOf(e)!==t).forEach(e=>{console.error(`Clerk: Duplicate path "${e}" found in custom pages. This may cause unexpected behavior.`)})},R=(e,t)=>T(e)||F(e)||E(e,t),T=e=>!!e.url&&!!e.label&&!!e.mount&&!!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,F=e=>!!e.url&&!!e.label&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,E=(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},B=e=>{if(e[0].external)throw Error("Clerk: The first route cannot be a custom external link component")},M=({commerce:e,apiKeys:t})=>{let r=[{name:(0,$.G)("userProfile.navbar.account"),id:d.j2.ACCOUNT,icon:m,path:"account"},{name:(0,$.G)("userProfile.navbar.security"),id:d.j2.SECURITY,icon:h.A,path:"security"}];e&&r.push({name:(0,$.G)("userProfile.navbar.billing"),id:d.j2.BILLING,icon:f.A,path:"billing"}),t&&r.push({name:(0,$.G)("userProfile.navbar.apiKeys"),id:d.j2.API_KEYS,icon:b,path:"api-keys"});let n={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)},o=r.map(e=>e.id);return{INITIAL_ROUTES:r,pageToRootNavbarRouteMap:n,validReorderItemLabels:o}},O=({commerce:e,apiKeys:t})=>{let r=[{name:(0,$.G)("organizationProfile.navbar.general"),id:d.jc.GENERAL,icon:v.A,path:"organization-general"},{name:(0,$.G)("organizationProfile.navbar.members"),id:d.jc.MEMBERS,icon:w,path:"organization-members"}];e&&r.push({name:(0,$.G)("organizationProfile.navbar.billing"),id:d.j2.BILLING,icon:f.A,path:"organization-billing"}),t&&r.push({name:(0,$.G)("organizationProfile.navbar.apiKeys"),id:d.jc.API_KEYS,icon:b,path:"organization-api-keys"});let n={"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)},o=r.map(e=>e.id);return{INITIAL_ROUTES:r,pageToRootNavbarRouteMap:n,validReorderItemLabels:o}}},5485:function(e,t,r){r.d(t,{e:()=>n});let n=e=>e.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-")},4803:function(e,t,r){let n,o,i;r.d(t,{a:()=>a});let a={relativeColorSyntax:()=>{if(void 0!==n)return n;try{n=CSS.supports("color: hsl(from white h s l)")}catch{n=!1}return n},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!==i)return i;try{i=this.relativeColorSyntax()||this.colorMix()}catch{i=!1}return i}}},8930:function(e,t,r){function n(e){if(!e||"string"!=typeof e)return!1;let t=e.trim();if(!t.startsWith("var(")||!t.endsWith(")"))return!1;let r=t.slice(4,-1).trim();if(!r.startsWith("--"))return!1;let n=r.indexOf(","),o=-1===n?r:r.slice(0,n).trim();return/^--[a-zA-Z0-9-_]+$/.test(o)}function o(e,t,r){let n=document.createElement("div");n.style.setProperty(t,r),e.appendChild(n);let o=window.getComputedStyle(n).getPropertyValue(t);return e.removeChild(n),o.trim()}function i(e,t,r="white"){let n=o(e,"color",t),a=o(e,"color",r),l=document.createElement("canvas");l.width=1,l.height=1;let s=l.getContext("2d");if(!s)return n;s.fillStyle=a,s.fillRect(0,0,1,1),s.fillStyle=n,s.fillRect(0,0,1,1);let{data:c}=s.getImageData(0,0,1,1);return`#${c[0].toString(16).padStart(2,"0")}${c[1].toString(16).padStart(2,"0")}${c[2].toString(16).padStart(2,"0")}`}r.d(t,{AY:()=>a,G3:()=>i,cQ:()=>function e(t,r){let o;if(!n(t))return null;let i=t.trim().slice(4,-1).trim(),a=i.indexOf(","),l=null;-1===a?o=i:(o=i.slice(0,a).trim(),l=i.slice(a+1).trim());let s=function(e,t){let r,n;if("undefined"==typeof window||"undefined"==typeof getComputedStyle)return null;r=e.startsWith("var(")&&e.endsWith(")")?e.slice(4,-1).trim():e.startsWith("--")?e:`--${e}`;try{if(t)n=t;else{if("undefined"==typeof document||!document.documentElement)return null;n=document.documentElement}}catch{return null}try{return getComputedStyle(n).getPropertyValue(r).trim()||null}catch{return null}}(o,r);return s?s:l?n(l)?e(l,r):l:null},yJ:()=>o});let a=(e,t)=>`var(--clerk-${e}, ${t})`},4468:function(e,t,r){r.d(t,{H4:()=>l,hG:()=>s});var n=r(3610),o=r(1044);let i=e=>e[0];function a(e){return(e||[]).reduce((e,t)=>(t.meta?.paramName?e.fieldErrors.push(t):e.globalErrors.push(t),e),{fieldErrors:[],globalErrors:[]})}let l=(e,t,r)=>{if(!(0,n.ux)(e))throw e;return(0,n.si)(e)?c(e,t,r):(0,n.$R)(e)?d(e,t,r):(!(0,n.Cm)(e)||"reverification_cancelled"!==e.code)&&(0,n.Cm)(e)?u(e,t,r):void 0};function s(e){if(!(0,n.$R)(e))return;let{fieldErrors:t}=a(e.errors);if(t.length)return t[0]}let c=(e,t,r)=>r?.(e.message),d=(e,t,r)=>{if(!(0,n.$R)(e))return;let{fieldErrors:l,globalErrors:s}=a(e.errors);if(l&&!(l.length<1)&&t.forEach(e=>{let t=e?.buildErrorMessage;t||(t=i);let r=l.filter(t=>t.meta?.paramName===e.id||(0,o.sF)(t.meta?.paramName)===e.id),n=t(r);r.length&&n?e.setError(n):e.clearFeedback()}),r){r(void 0);let e=s[0];e&&r(e)}},u=(e,t,r)=>{(0,n.Cm)(e)&&r&&(r(void 0),e&&r(e))}},8289:function(e,t,r){r.d(t,{Ih:()=>d,Kn:()=>c,Wy:()=>u,aR:()=>p});let n=e=>e.reduce((e,t,r)=>(e[t]=r,e),{}),o=n(["passkey","password","email_link","email_code","phone_code"]),i=n(["email_link","email_code","phone_code","passkey","password"]),a=n(["email_link","email_code","phone_code","passkey","password"]),l=n(["totp","phone_code","backup_code"]),s=e=>(t,r)=>{let n=e[t.strategy],o=e[r.strategy];return void 0===n||void 0===o?0:n-o},c=s(o),d=s(i),u=s(l),p=s(a)},137:function(e,t,r){r.d(t,{Y:()=>n});function n(e,t="long",r="en-US"){let o={month:"short"===t?"short":"long",..."monthyear"!==t&&{day:"numeric"},..."short"!==t&&{year:"numeric"}};return new Intl.DateTimeFormat(r,o).format(e)}},9835:function(e,t,r){r.d(t,{R:()=>o,u:()=>i});var n=r(7651);let o=e=>e&&e.includes("**"),i=e=>!e||e.includes("@")||o(e)||e.match(/[a-zA-Z]/)?e:(0,n.Om)(e)},1020:function(e,t,r){r.d(t,{P:()=>n});let n=e=>[...e].reduce((e,[t,r])=>(e[t]=r,e),{})},5424:function(e,t,r){r.d(t,{J:()=>n});function n(e,t){if(t&&"mounted"!==e)return t?.target?.closest("[data-clerk-profile-scroll-box-root]")}},7806:function(e,t,r){r.d(t,{T:()=>i});var n=r(6988),o=r(2861);let i=e=>{let t=(0,n.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})}}},8225:function(e,t,r){r.d(t,{p:()=>n});let n=e=>{if((e||"").includes("gravatar")||(e||"").includes("avatar_placeholder"))return!0;try{var t;let r=(t=new URL(e).pathname.replace("/",""),"undefined"!=typeof atob&&"function"==typeof atob?atob(t):"undefined"!=typeof global&&global.Buffer?new global.Buffer(t,"base64").toString():t),n=JSON.parse(r);return"default"===n.type}catch{return!1}}},1089:function(e,t,r){function n(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()}r.d(t,{L1:()=>o,bI:()=>n})},958:function(e,t,r){r.d(t,{X:()=>o});let n=/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||n.test(navigator.userAgent)||"ontouchstart"in document.documentElement&&navigator.userAgent.match(/Mobi/))},4692:function(e,t,r){r.d(t,{C:()=>o});var n=r(2950);let o=({routing:e,path:t})=>t&&!e?{routing:"path",path:t}:"path"!==e&&t?(0,n.c)(e):{routing:e,path:t}},3202:function(e,t,r){r.d(t,{u:()=>c});var n=r(2950);let o={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},i=async e=>new Promise(t=>setTimeout(t,e)),a=(e,t)=>t?e*(1+Math.random()):e,l=async(e,t={})=>{var r;let n,l=0,{shouldRetry:s,initialDelay:c,maxDelayBetweenRetries:d,factor:u,retryImmediately:p,jitter:m,onBeforeRetry:h}={...o,...t},f=(r={initialDelay:c,maxDelayBetweenRetries:d,factor:u,jitter:m},n=0,async()=>{let e;await i((e=a(e=r.initialDelay*Math.pow(r.factor,n),r.jitter),Math.min(r.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 i(a(100,m)):await f()}};async function s(e="",t){let{async:r,defer:n,beforeLoad:o,crossOrigin:i,nonce:a}=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");i&&s.setAttribute("crossorigin",i),s.async=r||!1,s.defer=n||!1,s.addEventListener("load",()=>{s.remove(),t(s)}),s.addEventListener("error",t=>{s.remove(),l(t.error??Error(`failed to load script: ${e}`))}),s.src=e,s.nonce=a,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,n.o)("Google Identity Services")}return window.google}},44:function(e,t,r){r.d(t,{C:()=>o});let n=[".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}}()||n.some(e=>window.location.origin.endsWith(e))}},3990:function(e,t,r){r.d(t,{C5:()=>i,kS:()=>l,zJ:()=>a});var n=r(2861),o=r(1089);let i=(e,t)=>{if(!t)return e[0].longMessage;let{t:r,locale:o,passwordSettings:i}=t;if(e?.[0]?.code==="form_password_size_in_bytes_exceeded"||e?.[0]?.code==="form_password_pwned"||e?.[0]?.code==="form_new_password_matches_current")return`${r((0,n.G)(`unstable__errors.${e?.[0]?.code}`))||e?.[0]?.message}`;if(e?.[0]?.code==="form_password_not_strong_enough"){let t=e[0].meta?.zxcvbn?.suggestions?.map(e=>r((0,n.G)(`unstable__errors.zxcvbn.suggestions.${e.code}`))).join(" ");return`${r((0,n.G)("unstable__errors.zxcvbn.notEnough"))} ${t}`}let s=e.filter(e=>"form_password_length_too_short"===e.code),c=l((s.length?s:e).map(e=>{let t={form_password_length_too_long:["unstable__errors.passwordComplexity.maximumLength","length",i.max_length],form_password_length_too_short:["unstable__errors.passwordComplexity.minimumLength","length",i.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,o,i]=t;return r((0,n.G)(e,{[o]:i}))}return r((0,n.G)(t))}),o);return a(`${r((0,n.G)("unstable__errors.passwordComplexity.sentencePrefix"))} ${c}`)},a=e=>e?e.endsWith(".")?e:`${e}.`:"",l=(e,t)=>(0,o.bI)(t)?new Intl.ListFormat(t,{style:"long",type:"conjunction"}).format(e):e.join(", ")},7651:function(e,t,r){r.d(t,{Mz:()=>p,Om:()=>d,TV:()=>m,Xd:()=>c,eL:()=>i,n4:()=>a,sH:()=>l});var n=r(1820);let o={};function i(e,t="us"){if(o[e=e||t])return o[e];let r=String.fromCodePoint(...[...e.toUpperCase()].map(e=>e.codePointAt(0)+127397));return o[e]=r,r}function a(e,t,r){var n;if(!e||!t)return e;let o=[...l(e)].slice(0,15-((n=(n=r)||"1").includes("+")?n:"+"+n).length);if(o.length<=3)return o.join("");let i="";for(let e=0;o.length>0;e++)e>t.length-1?i+=o.shift():i+="."===t[e]?o.shift():t[e];return i}function l(e){return(e||"").replace(/[^\d]/g,"")}function s(e,t){if(!e||!n.nU.get(e)||!t)return!1;let r=t[0],o=t.substring(1,4);return r===n.nU.get(e)?.code&&t.length-1===((n.nU.get(e)?.pattern||"").match(/\./g)||[]).length&&n.mK[e].has(o)}function c(e){let t=l(e),r=function(e,t="us"){let r=l(e);return!r||r.length<4?t:r.startsWith("1")&&s("us",r)?"us":r.startsWith("1")&&s("ca",r)?"ca":p(r).country.iso}(t),o=n.nU.get(r)?.pattern||"",i=n.nU.get(r)?.code||"",c=t.slice(i.length),d=`+${i} ${a(c,o,i)}`;return{iso:r,pattern:o,code:i,number:c,formattedNumberWithCode:d}}function d(e){let t=c(e);return`+${t.code} ${a(t.number,t.pattern,t.code)}`}let u=(e,t)=>t.priority-e.priority;function p(e){let t=l(e),r=[];for(let e of[4,3,2,1]){let o=t.substring(0,e),i=n.zh.get(o)||[];i.length&&r.push(...i)}let o=n.nU.get("us"),i=r.sort(u)[0]||o;return{number:t.slice(i?.code.length||0),country:i}}function m(e,t){if(!t)return null;let{country:r}=p(e);return t[r.iso.toUpperCase()]||null}},3907:function(e,t,r){r.d(t,{w:()=>o});var n=r(4653);let o=e=>(0,n.t)()||e.sdkMetadata?.environment==="development"},5845:function(e,t,r){r.d(t,{K:()=>o});var n=r(4173);let o=e=>{if(!e)throw Error("Clerk: URL is required for custom links");return(0,n.AY)(e)||"/"===e.charAt(0)?e:`/${e}`}},6735:function(e,t,r){r.d(t,{y:()=>n});let n=e=>new Promise(t=>setTimeout(t,e))},7198:function(e,t,r){r.d(t,{f:()=>o});var n=r(2861);function o(e){let t=new Date,r=new Date(e);if(isNaN(r.getTime()))return"";let o=Math.floor((t.getTime()-r.getTime())/1e3);if(o<60)return(0,n.G)("apiKeys.lastUsed__seconds",{seconds:o});let i=Math.floor(o/60);if(i<60)return(0,n.G)("apiKeys.lastUsed__minutes",{minutes:i});let a=Math.floor(i/60);if(a<24)return(0,n.G)("apiKeys.lastUsed__hours",{hours:a});let l=Math.floor(a/24);if(l<30)return(0,n.G)("apiKeys.lastUsed__days",{days:l});let s=Math.floor(l/30);if(s<12)return(0,n.G)("apiKeys.lastUsed__months",{months:s});let c=Math.floor(s/12);return(0,n.G)("apiKeys.lastUsed__years",{years:c})}},9606:function(e,t,r){r.d(t,{W:()=>n});function n(e,t=20,r=5){if(!e||e.length<=t)return e;if(t<=r+3)return"..."+e.slice(-r);let o=Array.from(e);return o.length<=t?e:o.slice(0,t-r-3).join("")+"..."+o.slice(-r).join("")}},8640:function(e,t,r){r.d(t,{eW:()=>d,mK:()=>c,tJ:()=>s});var n=r(5074),o=r(4317),i=r(78);let a=e=>e.trim(),l=(e,t)=>{let r=e;for(let e=0;e<t.length;e++)r=t[e](r);return r},s=(e,t,r)=>{let o=r||{type:"text",label:"",isRequired:!1,placeholder:"",options:[],defaultChecked:!1},s=[];o.transformer&&s.push(o.transformer),"email"===o.type&&s.push(a);let{translateError:c,t:d}=(0,i._)(),[u,p]=(0,n.useState)(l(t,s)),[m,h]=(0,n.useState)(!1),[f,g]=(0,n.useState)(o?.defaultChecked||!1),[b,v]=(0,n.useState)(!1),[y,w]=(0,n.useState)({message:"",type:"info"}),$=e=>{w({message:c(e),type:"error"})},{defaultChecked:x,validatePassword:_,buildErrorMessage:S,...C}=o,k={id:e,name:e,value:u,checked:f,setSuccess:e=>{w({message:e,type:"success"})},setError:$,onChange:e=>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:b,setHasPassedComplexity:v,validatePassword:"password"===o.type?o.validatePassword:void 0,isFocused:m,...C};return{props:k,...k,buildErrorMessage:S,setError:$,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:r=100,feedbackType:n="info",isFocused:i=!1}=e||{},a=!i&&["info","warning"].includes(n);return{debounced:(0,o.d)({feedback:a?"":t,feedbackType:a?"info":n},r)}}},4557:function(e,t,r){r.d(t,{Z:()=>a});var n=r(2861);let o="form_username_invalid_length",i="form_username_needs_non_number_char",a=(e,t)=>{let{t:r,usernameSettings:a}=t,l=e[0];return t?l?.code===o?r((0,n.G)(`unstable__errors.${o}`,{min_length:a.min_length,max_length:a.max_length})):l?.code===i?r((0,n.G)(`unstable__errors.${i}`)):l:l}},9236:function(e,t,r){r.d(t,{f:()=>i});var n=r(3610),o=r(4468);let i=(e,t)=>{if((0,n.$R)(e)&&e.errors[0].meta?.paramName==="identifier"&&"form_param_nil"===e.errors[0].code){let e=new n.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)}},1652:function(e,t,r){r.d(t,{c:()=>n,y:()=>o});let n=[{channel:"whatsapp",name:"WhatsApp"}],o=e=>e&&n.find(t=>t.channel===e)||null},6435:function(e,t,r){r.d(t,{l:()=>o,n:()=>n});let n=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"];function o(e,t="svg"){return`https://img.clerk.com/static/${e}.${t}`}},6988:function(e,t,r){function n(e){try{return new Date(e||new Date)}catch{return new Date}}function o(e){let{date:t,relativeTo:r}=e;if(!t||!r)return null;let o=n(t),i=function(e,t,{absolute:r=!0}={}){if(!e||!t)return 0;let n=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),o=Math.floor((Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())-n)/864e5);return r?Math.abs(o):o}(n(r),o,{absolute:!1});return i<-6?{relativeDateCase:"other",date:o}:i<-1?{relativeDateCase:"previous6Days",date:o}:-1===i?{relativeDateCase:"lastDay",date:o}:0===i?{relativeDateCase:"sameDay",date:o}:1===i?{relativeDateCase:"nextDay",date:o}:i<7?{relativeDateCase:"next6Days",date:o}:{relativeDateCase:"other",date:o}}r.d(t,{OG:()=>n,om:()=>o})},3610:function(e,t,r){r.d(t,{$R:()=>n.i,Au:()=>n.d,Cm:()=>n.a,I3:()=>n.f,_d:()=>n.m,cR:()=>n.g,hl:()=>n.o,kl:()=>n.y,qY:()=>n.u,si:()=>n.c,ux:()=>n.s});var n=r(5273)},212:function(e,t,r){r.d(t,{t:()=>o});var n=r(1006);let o={toRegexp:e=>{try{return n(e)}catch(t){throw Error(`Invalid pattern: ${e}.
119
+ Consult the documentation of glob-to-regexp here: https://www.npmjs.com/package/glob-to-regexp.
120
+ ${t.message}`)}}}},1687:function(e,t,r){r.d(t,{A:()=>o});var n=r(4670);let o=({signUp:e,verifyEmailPath:t,verifyPhonePath:r,continuePath:o,navigate:i,handleComplete:a,redirectUrl:l="",redirectUrlComplete:s="",oidcPrompt:c})=>{if("complete"===e.status)return a&&a();if("missing_requirements"===e.status){if(e.missingFields.some(e=>"enterprise_sso"===e))return e.authenticateWithRedirect({strategy:"enterprise_sso",redirectUrl:l,redirectUrlComplete:s,continueSignUp:!0,oidcPrompt:c});let a=(0,n.t)();if(e.unverifiedFields?.includes("email_address")&&t)return i(t,{searchParams:a});if(e.unverifiedFields?.includes("phone_number")&&r)return i(r,{searchParams:a});if(o)return i(o,{searchParams:a})}}},1841:function(e,t,r){r.d(t,{B_:()=>o,NW:()=>i,Xu:()=>n,s$:()=>l,ui:()=>a});let n=(e,t)=>!!(e.isSignedIn&&t?.authConfig.singleSessionMode),o=(e,t)=>!t?.commerceSettings.billing.user.enabled,i=(e,t)=>!t?.commerceSettings.billing.organization.enabled,a=(e,t)=>!t?.apiKeysSettings?.user_api_keys_enabled,l=(e,t)=>!t?.apiKeysSettings?.orgs_api_keys_enabled},6739:function(e,t,r){r.d(t,{n:()=>n});function n(e){return"string"==typeof e&&e.startsWith("org_")}},5653:function(e,t,r){r.d(t,{sv:()=>o}),r(5273);var n=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,"/")),r=t.length,n=new Uint8Array(r);for(let e=0;e<r;e++)n[e]=t.charCodeAt(e);return n.buffer}};let o=new class{controller;__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}};n.encode.bind(n),n.decode.bind(n)},8380:function(e,t,r){r.d(t,{n:()=>l}),r(212),r(4210);let n=(e,t)=>{let r={};for(let n in e)r[n]=t(e[n],n);return r},o=(e,t)=>{let r={};for(let n in e)e[n]&&t(e[n])&&(r[n]=e[n]);return r};var i=r(1302);r(8951);var a=r(680),l=class e{static keys=["signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","redirectUrl"];static preserved=["redirectUrl"];options;fromOptions;fromProps;fromSearchParams;mode;constructor(e,t={},r={},n){this.options=e,this.fromOptions=this.#e(e||{}),this.fromProps=this.#e(t||{}),this.fromSearchParams=this.#t(r||{}),this.mode=n}getAfterSignInUrl(){return this.#r("signIn")}getAfterSignUpUrl(){return this.#r("signUp")}getPreservedSearchParams(){return this.#n(this.#o())}toSearchParams(){return this.#n(this.#i())}#n(e){return new URLSearchParams(Object.entries(Object.fromEntries(Object.entries(e).map(([e,t])=>[(0,i.t)(e),t]))).reduce((e,[t,r])=>(null!=r&&(e[t]=r),e),{}))}#o(){return Object.fromEntries(Object.entries({...this.fromSearchParams}).filter(([t])=>e.preserved.includes(t)))}#i(){let e=this.fromSearchParams.signUpForceRedirectUrl||this.fromProps.signUpForceRedirectUrl||this.fromOptions.signUpForceRedirectUrl,t=this.fromSearchParams.signUpFallbackRedirectUrl||this.fromProps.signUpFallbackRedirectUrl||this.fromOptions.signUpFallbackRedirectUrl,r=this.fromSearchParams.signInForceRedirectUrl||this.fromProps.signInForceRedirectUrl||this.fromOptions.signInForceRedirectUrl,n={signUpForceRedirectUrl:e,signUpFallbackRedirectUrl:t,signInFallbackRedirectUrl:this.fromSearchParams.signInFallbackRedirectUrl||this.fromProps.signInFallbackRedirectUrl||this.fromOptions.signInFallbackRedirectUrl,signInForceRedirectUrl:r,redirectUrl:this.fromSearchParams.redirectUrl};return e&&delete n.signUpFallbackRedirectUrl,r&&delete n.signInFallbackRedirectUrl,n}#r(e){let t,r=`${e}ForceRedirectUrl`,n=`${e}FallbackRedirectUrl`;return(t=this.fromSearchParams[r]||this.fromProps[r]||this.fromOptions[r],t||=this.fromSearchParams.redirectUrl,(t||=this.fromSearchParams[n]||this.fromProps[n]||this.fromOptions[n])||"modal"!==this.mode)?t||"/":window.location.href}#e(t){let r={};return e.keys.forEach(e=>{r[e]=t[e]}),n(this.#a(this.#l(o(r,Boolean))),e=>e.toString())}#t(t){let r={};return e.keys.forEach(e=>{t instanceof URLSearchParams?r[e]=t.get((0,i.t)(e)):r[e]=t[(0,i.t)(e)]}),n(this.#a(this.#l(o(r,Boolean))),e=>e.toString())}#l(e){return n(e,e=>(0,a.v)(e,window.location.origin))}#a=e=>o(e,(0,a.l)(this.options?.allowedRedirectOrigins,window.location.origin))}},5580:function(e,t,r){r.d(t,{KA:()=>l,ru:()=>a,tk:()=>i}),r(212),r(4210),r(1302);var n=r(4670);r(8951);var o=r(680);let i={"choose-organization":"choose-organization","reset-password":"reset-password"},a=e=>`/tasks/${i[e.key]}`;function l(e,{navigate:t,baseUrl:r}){let i=e.currentTask;if(i){var l;let e;return t((l={base:r},e=(0,n.t)(),(0,o.t)({base:l.base,hashPath:a(i),searchParams:e},{stringify:!0})))}}},4173:function(e,t,r){r.d(t,{AY:()=>n.h,FV:()=>n.x,Kj:()=>n.w,V0:()=>n.u,d3:()=>n.b,kZ:()=>n.t,tL:()=>n.c,vU:()=>n.l,yR:()=>n.g,yY:()=>n._}),r(212),r(4210),r(1302),r(8951);var n=r(680)},8095:function(e,t,r){r.d(t,{Cm:()=>i,IM:()=>o,dS:()=>n});let n=({firstName:e,lastName:t,name:r})=>r||[e,t].join(" ").trim()||"",o=({firstName:e,lastName:t,name:r})=>[(e||"")[0],(t||"")[0]].join("").trim()||(r||"")[0],i=e=>e.username?e.username:e.primaryEmailAddress?e.primaryEmailAddress.emailAddress:e.primaryPhoneNumber?e.primaryPhoneNumber.phoneNumber:e.primaryWeb3Wallet?e.primaryWeb3Wallet.web3Wallet:""},2049:function(e,t,r){r.d(t,{A:()=>o});let n=e=>`🔒 Clerk:
121
+ ${e.trim()}
122
+ (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=>n(`The <${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=>n(`The <${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]=n(t))}},8099:function(e,t,r){r.d(t,{U:()=>o});var n=class e{#s=[];#c={metamask:"MetaMask",okx_wallet:"OKX Wallet"};static #d=null;constructor(){if("undefined"==typeof window)return;window.addEventListener("eip6963:announceProvider",this.#u),window.dispatchEvent(new Event("eip6963:requestProvider"))}static getInstance(){return e.#d||(e.#d=new e),e.#d}get=e=>{let t=this.#s.find(t=>t.info.name===this.#c[e])?.provider;return void 0!==t?t:window.ethereum};#u=e=>{this.#s.some(t=>t.info.uuid===e.detail.info.uuid)||this.#s.push(e.detail)}};function o(e){async function t(e){let{provider:t}=e,r=await p(t);if(!r)return"";let n=await r.request({method:"eth_requestAccounts"});return n&&n[0]||""}async function r(e){let{identifier:t,nonce:r,provider:n}=e,o=await p(n);return o?await o.request({method:"personal_sign",params:[`0x${r.split("").map(e=>e.charCodeAt(0).toString(16).padStart(2,"0")).join("")}`,t]}):""}async function o(){return await t({provider:"metamask"})}async function i(){return await t({provider:"coinbase_wallet"})}async function a(){return await t({provider:"okx_wallet"})}async function l(){return await t({provider:"base"})}async function s(e){return await r({...e,provider:"metamask"})}async function c(e){return await r({...e,provider:"coinbase_wallet"})}async function d(e){return await r({...e,provider:"okx_wallet"})}async function u(e){return await r({...e,provider:"base"})}async function p(t){if("coinbase_wallet"===t){let t=await e.import("@coinbase/wallet-sdk");return t?t.createCoinbaseWalletSDK({preference:{options:"all"}}).getProvider():null}if("base"===t)try{let t=await e.import("@base-org/account");if(!t)return null;return t.createBaseAccountSDK({appName:"undefined"!=typeof window&&window.Clerk?.__internal_environment?.displayConfig?.applicationName||"undefined"!=typeof document&&document.title||"Web3 Application"}).getProvider()}catch{return null}return n.getInstance().get(t)}return{getWeb3Identifier:t,generateWeb3Signature:r,getMetamaskIdentifier:o,getCoinbaseWalletIdentifier:i,getOKXWalletIdentifier:a,getBaseIdentifier:l,generateSignatureWithMetamask:s,generateSignatureWithCoinbaseWallet:c,generateSignatureWithOKXWallet:d,generateSignatureWithBase:u}}},5483:function(e,t,r){r.d(t,{y7:()=>n});function n(e){let t=new URL(e,window.location.href);window.dispatchEvent(new CustomEvent("clerk:beforeunload")),window.location.href=t.href}},2311:function(e,t,r){r.d(t,{a:()=>i,n:()=>o});var n=r(6435);function o(){let e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;let r="string"==typeof t?t:t.hostname,o=e.get(r);return void 0===o&&(o=n.n.some(e=>r.endsWith(e)),e.set(r,o)),o}}}function i(e){return e.startsWith("test_")||e.startsWith("pk_test_")}},4210:function(e,t,r){r.d(t,{t:()=>o});let n=new Set,o={warnOnce:e=>{n.has(e)||(n.add(e),console.warn(e))},logOnce:e=>{n.has(e)||(console.log(e),n.add(e))}}},8951:function(e,t,r){r.d(t,{t:()=>o});let n=RegExp("/{1,}","g");function o(e,t){return[e,t].filter(e=>e).join("/").replace(n,"/")}},7127:function(e,t,r){r.d(t,{n:()=>o,t:()=>n});let n=e=>{let t={};return new URLSearchParams(e).forEach((e,r)=>{if(r in t){let n=t[r];Array.isArray(n)?n.push(e):t[r]=[n,e]}else t[r]=e}),t},o=(e,t={})=>{if(null==e||!e||"object"!=typeof e)return"";let r=new URLSearchParams;return Object.keys(e).forEach(n=>{let o=t.keyEncoder?t.keyEncoder(n):n,i=e[n];if(Array.isArray(i))i.forEach(e=>void 0!==e&&r.append(o,e||""));else{if(void 0===i)return;"object"==typeof i&&null!==i?r.append(o,JSON.stringify(i)):r.append(o,String(i??""))}}),r.toString()}},4525:function(e,t,r){r.d(t,{we:()=>n.o}),r(1302);var n=r(1483)},1044:function(e,t,r){r.d(t,{C8:()=>n.t,Ns:()=>n.c,sF:()=>n.s});var n=r(1302)},680:function(e,t,r){r.d(t,{_:()=>_,b:()=>w,c:()=>$,g:()=>x,h:()=>g,l:()=>S,t:()=>m,u:()=>y,v:()=>b,w:()=>f,x:()=>h});var n=r(2311),o=r(212),i=r(4210),a=r(1302),l=r(8951),s=r(7127);let c="http://clerk-dummy",d=["javascript:"],u=["javascript:","data:","vbscript:","blob:"],{isDevOrStagingUrl:p}=(0,n.n)();function m(e,t={}){let{base:r,hashPath:n,hashSearch:o,searchParams:i,hashSearchParams:d,...u}=e,p=new URL(r||"","undefined"!=typeof window&&window.location?window.location.href:"http://react-native-fake-base-url");if(i instanceof URLSearchParams&&i.forEach((e,t)=>{null!=e&&p.searchParams.set((0,a.t)(t),e)}),Object.assign(p,u),n||o||d){let e=new URL(c+p.hash.substring(1));for(let[t,r]of(e.pathname=(0,l.t)(e.pathname,n||""),Object.entries((0,s.t)(o||""))))e.searchParams.append(t,r);if(d)for(let t of Array.isArray(d)?d:[d])(t instanceof URLSearchParams||"object"==typeof t)&&new URLSearchParams(t).forEach((t,r)=>{null!=t&&e.searchParams.set((0,a.t)(r),t)});let t=e.href.replace(c,"");"/"!==t&&(p.hash=t)}let{stringify:h,skipOrigin:f}=t;return h?f?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 b(e,t){try{return new URL(e)}catch{return new URL(e,t)}}let v=[/\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 $=e=>new URL(e,c).hash.startsWith("#/"),x=e=>{let t=new URL(e);if(!$(t))return t;let r=new URL(t.hash.replace("#/","/"),t.href),n=new URL([t.pathname,r.pathname].map(e=>e.split("/")).flat().filter(Boolean).join("/"),t.origin);return t.searchParams.forEach((e,t)=>{n.searchParams.set(t,e)}),r.searchParams.forEach((e,t)=>{n.searchParams.set(t,e)}),n},_=e=>e.replace(/CLERK-ROUTER\/(.*?)\//,""),S=(e,t)=>r=>{let n=r;if("string"==typeof n&&(n=b(n,t)),!e)return!0;let a=t===n.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 v)if(t.test(e.pathname))return!0;return!1}(n)&&(a||e.map(e=>"string"==typeof e?o.t.toRegexp(f(e)):e).some(e=>e.test(f(n.origin))));return l||i.t.warnOnce(`Clerk: Redirect URL ${n} is not on one of the allowedRedirectOrigins, falling back to the default redirect URL.`),l}},5993:function(e,t,r){r.d(t,{s:()=>o});let n=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>n.test(e)},4498:function(e,t,r){r.d(t,{n:()=>n});let n=(e,t)=>{if(e&&t)for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&null!==e[r]&&"object"==typeof e[r]?(void 0===t[r]&&(t[r]=new(Object.getPrototypeOf(e[r])).constructor),n(e[r],t[r])):Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}},2620:function(e,t,r){r.d(t,{Bz:()=>o,nn:()=>i});let n=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;let t;return!!(t="undefined"!=typeof window?window?.navigator:null)&&!((e=t?.userAgent)&&n.test(e))&&!t?.webdriver&&"function"==typeof window.PublicKeyCredential}async function i(){try{return o()&&await window.PublicKeyCredential.isConditionalMediationAvailable()}catch{return!1}}}}]);