@clerk/ui 1.0.0-canary.v20260106195108 → 1.0.0-canary.v20260107132806
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ClerkUi.js +2 -2
- package/dist/index.js +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/{ui-common_ui_7c03fb_1.0.0-canary.v20260106195108.js → ui-common_ui_22daf3_1.0.0-canary.v20260107132806.js} +1 -1
- package/dist/{ui-common_ui_da704d_1.0.0-canary.v20260106195108.js → ui-common_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +1 -1
- package/dist/ui.browser.js +3 -3
- package/dist/ui.legacy.browser.js +1 -1
- package/package.json +3 -3
- /package/dist/{207_ui_7c03fb_1.0.0-canary.v20260106195108.js → 207_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{207_ui_da704d_1.0.0-canary.v20260106195108.js → 207_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{217_ui_7c03fb_1.0.0-canary.v20260106195108.js → 217_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{217_ui_da704d_1.0.0-canary.v20260106195108.js → 217_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{360_ui_7c03fb_1.0.0-canary.v20260106195108.js → 360_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{360_ui_da704d_1.0.0-canary.v20260106195108.js → 360_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{444_ui_7c03fb_1.0.0-canary.v20260106195108.js → 444_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{444_ui_da704d_1.0.0-canary.v20260106195108.js → 444_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{573_ui_7c03fb_1.0.0-canary.v20260106195108.js → 573_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{573_ui_da704d_1.0.0-canary.v20260106195108.js → 573_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{970_ui_7c03fb_1.0.0-canary.v20260106195108.js → 970_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{970_ui_da704d_1.0.0-canary.v20260106195108.js → 970_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{apiKeys_ui_7c03fb_1.0.0-canary.v20260106195108.js → apiKeys_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{apiKeys_ui_da704d_1.0.0-canary.v20260106195108.js → apiKeys_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{blankcaptcha_ui_7c03fb_1.0.0-canary.v20260106195108.js → blankcaptcha_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{blankcaptcha_ui_da704d_1.0.0-canary.v20260106195108.js → blankcaptcha_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{checkout_ui_7c03fb_1.0.0-canary.v20260106195108.js → checkout_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{checkout_ui_da704d_1.0.0-canary.v20260106195108.js → checkout_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{copy-api-key-modal_ui_7c03fb_1.0.0-canary.v20260106195108.js → copy-api-key-modal_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{copy-api-key-modal_ui_da704d_1.0.0-canary.v20260106195108.js → copy-api-key-modal_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{createorganization_ui_7c03fb_1.0.0-canary.v20260106195108.js → createorganization_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{createorganization_ui_da704d_1.0.0-canary.v20260106195108.js → createorganization_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_7c03fb_1.0.0-canary.v20260106195108.js → enableOrganizationsPrompt_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_da704d_1.0.0-canary.v20260106195108.js → enableOrganizationsPrompt_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{framework_ui_7c03fb_1.0.0-canary.v20260106195108.js → framework_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{framework_ui_da704d_1.0.0-canary.v20260106195108.js → framework_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{impersonationfab_ui_7c03fb_1.0.0-canary.v20260106195108.js → impersonationfab_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{impersonationfab_ui_da704d_1.0.0-canary.v20260106195108.js → impersonationfab_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{keylessPrompt_ui_7c03fb_1.0.0-canary.v20260106195108.js → keylessPrompt_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{keylessPrompt_ui_da704d_1.0.0-canary.v20260106195108.js → keylessPrompt_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{oauthConsent_ui_7c03fb_1.0.0-canary.v20260106195108.js → oauthConsent_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{oauthConsent_ui_da704d_1.0.0-canary.v20260106195108.js → oauthConsent_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{onetap_ui_7c03fb_1.0.0-canary.v20260106195108.js → onetap_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{onetap_ui_da704d_1.0.0-canary.v20260106195108.js → onetap_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{op-api-keys-page_ui_7c03fb_1.0.0-canary.v20260106195108.js → op-api-keys-page_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{op-api-keys-page_ui_da704d_1.0.0-canary.v20260106195108.js → op-api-keys-page_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{op-billing-page_ui_7c03fb_1.0.0-canary.v20260106195108.js → op-billing-page_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{op-billing-page_ui_da704d_1.0.0-canary.v20260106195108.js → op-billing-page_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{op-plans-page_ui_7c03fb_1.0.0-canary.v20260106195108.js → op-plans-page_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{op-plans-page_ui_da704d_1.0.0-canary.v20260106195108.js → op-plans-page_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{organizationlist_ui_7c03fb_1.0.0-canary.v20260106195108.js → organizationlist_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{organizationlist_ui_da704d_1.0.0-canary.v20260106195108.js → organizationlist_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{organizationprofile_ui_7c03fb_1.0.0-canary.v20260106195108.js → organizationprofile_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{organizationprofile_ui_da704d_1.0.0-canary.v20260106195108.js → organizationprofile_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{organizationswitcher_ui_7c03fb_1.0.0-canary.v20260106195108.js → organizationswitcher_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{organizationswitcher_ui_da704d_1.0.0-canary.v20260106195108.js → organizationswitcher_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{payment-attempt-page_ui_7c03fb_1.0.0-canary.v20260106195108.js → payment-attempt-page_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{payment-attempt-page_ui_da704d_1.0.0-canary.v20260106195108.js → payment-attempt-page_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{planDetails_ui_7c03fb_1.0.0-canary.v20260106195108.js → planDetails_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{planDetails_ui_da704d_1.0.0-canary.v20260106195108.js → planDetails_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_7c03fb_1.0.0-canary.v20260106195108.js → prefetchorganizationlist_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_da704d_1.0.0-canary.v20260106195108.js → prefetchorganizationlist_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{pricingTable_ui_7c03fb_1.0.0-canary.v20260106195108.js → pricingTable_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{pricingTable_ui_da704d_1.0.0-canary.v20260106195108.js → pricingTable_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{revoke-api-key-modal_ui_7c03fb_1.0.0-canary.v20260106195108.js → revoke-api-key-modal_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{revoke-api-key-modal_ui_da704d_1.0.0-canary.v20260106195108.js → revoke-api-key-modal_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{sessionTasks_ui_7c03fb_1.0.0-canary.v20260106195108.js → sessionTasks_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{sessionTasks_ui_da704d_1.0.0-canary.v20260106195108.js → sessionTasks_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{signin_ui_7c03fb_1.0.0-canary.v20260106195108.js → signin_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{signin_ui_da704d_1.0.0-canary.v20260106195108.js → signin_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{signup_ui_7c03fb_1.0.0-canary.v20260106195108.js → signup_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{signup_ui_da704d_1.0.0-canary.v20260106195108.js → signup_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{statement-page_ui_7c03fb_1.0.0-canary.v20260106195108.js → statement-page_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{statement-page_ui_da704d_1.0.0-canary.v20260106195108.js → statement-page_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{subscriptionDetails_ui_7c03fb_1.0.0-canary.v20260106195108.js → subscriptionDetails_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{subscriptionDetails_ui_da704d_1.0.0-canary.v20260106195108.js → subscriptionDetails_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_7c03fb_1.0.0-canary.v20260106195108.js → taskChooseOrganization_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_da704d_1.0.0-canary.v20260106195108.js → taskChooseOrganization_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{taskResetPassword_ui_7c03fb_1.0.0-canary.v20260106195108.js → taskResetPassword_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{taskResetPassword_ui_da704d_1.0.0-canary.v20260106195108.js → taskResetPassword_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{up-api-keys-page_ui_7c03fb_1.0.0-canary.v20260106195108.js → up-api-keys-page_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{up-api-keys-page_ui_da704d_1.0.0-canary.v20260106195108.js → up-api-keys-page_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{up-billing-page_ui_7c03fb_1.0.0-canary.v20260106195108.js → up-billing-page_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{up-billing-page_ui_da704d_1.0.0-canary.v20260106195108.js → up-billing-page_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{up-plans-page_ui_7c03fb_1.0.0-canary.v20260106195108.js → up-plans-page_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{up-plans-page_ui_da704d_1.0.0-canary.v20260106195108.js → up-plans-page_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{useravatar_ui_7c03fb_1.0.0-canary.v20260106195108.js → useravatar_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{useravatar_ui_da704d_1.0.0-canary.v20260106195108.js → useravatar_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{userbutton_ui_7c03fb_1.0.0-canary.v20260106195108.js → userbutton_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{userbutton_ui_da704d_1.0.0-canary.v20260106195108.js → userbutton_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{userprofile_ui_7c03fb_1.0.0-canary.v20260106195108.js → userprofile_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{userprofile_ui_da704d_1.0.0-canary.v20260106195108.js → userprofile_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{userverification_ui_7c03fb_1.0.0-canary.v20260106195108.js → userverification_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{userverification_ui_da704d_1.0.0-canary.v20260106195108.js → userverification_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{vendors_ui_7c03fb_1.0.0-canary.v20260106195108.js → vendors_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{vendors_ui_da704d_1.0.0-canary.v20260106195108.js → vendors_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{waitlist_ui_7c03fb_1.0.0-canary.v20260106195108.js → waitlist_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{waitlist_ui_da704d_1.0.0-canary.v20260106195108.js → waitlist_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{web3-solana-wallet-buttons_ui_7c03fb_1.0.0-canary.v20260106195108.js → web3-solana-wallet-buttons_ui_22daf3_1.0.0-canary.v20260107132806.js} +0 -0
- /package/dist/{web3-solana-wallet-buttons_ui_da704d_1.0.0-canary.v20260106195108.js → web3-solana-wallet-buttons_ui_b9c8c3_1.0.0-canary.v20260107132806.js} +0 -0
package/dist/ClerkUi.js
CHANGED
|
@@ -2,8 +2,8 @@ import { mountComponentRenderer } from "./Components.js";
|
|
|
2
2
|
|
|
3
3
|
//#region src/ClerkUi.ts
|
|
4
4
|
var ClerkUi = class {
|
|
5
|
-
static version = "1.0.0-canary.
|
|
6
|
-
version = "1.0.0-canary.
|
|
5
|
+
static version = "1.0.0-canary.v20260107132806";
|
|
6
|
+
version = "1.0.0-canary.v20260107132806";
|
|
7
7
|
#componentRenderer;
|
|
8
8
|
constructor(getClerk, getEnvironment, options, moduleManager) {
|
|
9
9
|
this.#componentRenderer = mountComponentRenderer(getClerk, getEnvironment, options, moduleManager);
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Default ui object for Clerk UI components
|
|
4
4
|
* Tagged with the internal Appearance type for type-safe appearance prop inference
|
|
5
5
|
*/
|
|
6
|
-
const ui = { version: "1.0.0-canary.
|
|
6
|
+
const ui = { version: "1.0.0-canary.v20260107132806" };
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ui };
|
package/dist/internal/index.js
CHANGED
|
@@ -130,7 +130,7 @@ Clerk Trace ID: ${this.clerkTraceId}`),e}static formatMessage(e,t,r,n){return t}
|
|
|
130
130
|
Consult the documentation of glob-to-regexp here: https://www.npmjs.com/package/glob-to-regexp.
|
|
131
131
|
${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:a,handleComplete:i,redirectUrl:l="",redirectUrlComplete:s="",oidcPrompt:c})=>{if("complete"===e.status)return i&&i();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 i=(0,n.t)();if(e.unverifiedFields?.includes("email_address")&&t)return a(t,{searchParams:i});if(e.unverifiedFields?.includes("phone_number")&&r)return a(r,{searchParams:i});if(o)return a(o,{searchParams:i})}}},1841:function(e,t,r){r.d(t,{B_:()=>o,NW:()=>a,Xu:()=>n,s$:()=>l,ui:()=>i});let n=(e,t)=>!!(e.isSignedIn&&t?.authConfig.singleSessionMode),o=(e,t)=>!t?.commerceSettings.billing.user.enabled,a=(e,t)=>!t?.commerceSettings.billing.organization.enabled,i=(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(2522);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 a=r(1302);r(2779);var i=r(6308),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.#a())}#n(e){return new URLSearchParams(Object.entries(Object.fromEntries(Object.entries(e).map(([e,t])=>[(0,a.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)))}#a(){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.#i(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,a.t)(e)):r[e]=t[(0,a.t)(e)]}),n(this.#i(this.#l(o(r,Boolean))),e=>e.toString())}#l(e){return n(e,e=>(0,i.v)(e,window.location.origin))}#i=e=>o(e,(0,i.l)(this.options?.allowedRedirectOrigins,window.location.origin))}},5580:function(e,t,r){r.d(t,{KA:()=>l,ru:()=>i,tk:()=>a}),r(212),r(4210),r(1302);var n=r(4670);r(2779);var o=r(6308);let a={"choose-organization":"choose-organization","reset-password":"reset-password"},i=e=>`/tasks/${a[e.key]}`;function l(e,{navigate:t,baseUrl:r}){let a=e.currentTask;if(a){var l;let e;return t((l={base:r},e=(0,n.t)(),(0,o.t)({base:l.base,hashPath:i(a),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(2779);var n=r(6308)},8095:function(e,t,r){r.d(t,{Cm:()=>a,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],a=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:
|
|
132
132
|
${e.trim()}
|
|
133
|
-
(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))}},6463:function(e,t,r){r.d(t,{U:()=>i});var n=r(2522),o=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)}},a=class e{#p=void 0;#m=!1;static #d=null;constructor(){}async #h(){if(this.#m)return;this.#m=!0;let e=await r.e("666").then(r.bind(r,4076)).then(e=>e.getWallets());this.#p=e.get(),e.on("register",()=>{this.#p=e.get()}),e.on("unregister",()=>{this.#p=e.get()})}#f(e){return e.chains?.some(e=>e.startsWith("solana:"))??!1}#g(e){return"solana:signMessage"in e.features}static getInstance(){return e.#d||(e.#d=new e),e.#d}get=async e=>{await this.#h();let t=(this.#p||[]).find(t=>t.name===e&&this.#f(t)&&this.#g(t));if(t&&this.#f(t))return t;if("undefined"==typeof window)return;let r=window.solana;if(r&&"function"==typeof r.connect&&"function"==typeof r.signMessage)return r}};function i(e){let t=(0,n.y)({packageName:"@clerk/shared"});async function r(e){let{provider:t,walletName:r}=e,n=await b(t,r);if(!n)return"";if("solana"===t){let e=await n.features["standard:connect"].connect();return e&&e.accounts[0].address||""}let o=await n.request({method:"eth_requestAccounts"});return o&&o[0]||""}let i=async e=>{let{identifier:t,nonce:r,provider:o,walletName:a=""}=e,i=await b(o,a);if(!i)return"";if("solana"===o)try{let e=i.accounts.find(e=>e.address===t);if(!e)return console.warn(`Wallet account with address ${t} not found`),"";let n=await i.features["solana:signMessage"]?.signMessage({account:e,message:new TextEncoder().encode(r)});return n?.[0]?.signature?btoa(String.fromCharCode(...n[0].signature)):""}catch(e){if(e instanceof Error&&e.message.includes("User rejected the request."))throw new n.m("Web3 signature request was rejected by the user.",{code:"web3_signature_request_rejected"});throw new n.m("An error occurred while generating the Solana signature.",{code:"web3_solana_signature_generation_failed",cause:e instanceof Error?e:void 0})}return await i.request({method:"personal_sign",params:[`0x${r.split("").map(e=>e.charCodeAt(0).toString(16).padStart(2,"0")).join("")}`,t]})};async function l(){return await r({provider:"metamask"})}async function s(){return await r({provider:"coinbase_wallet"})}async function c(){return await r({provider:"okx_wallet"})}async function d(){return await r({provider:"base"})}async function u(e){return await r({provider:"solana",walletName:e})}async function p(e){return await i({...e,provider:"metamask"})}async function m(e){return await i({...e,provider:"coinbase_wallet"})}async function h(e){return await i({...e,provider:"okx_wallet"})}async function f(e){return await i({...e,provider:"base"})}async function g(e){return await i({...e,provider:"solana"})}async function b(r,n){if("coinbase_wallet"===r){let t=await e.import("@coinbase/wallet-sdk");return t?t.createCoinbaseWalletSDK({preference:{options:"all"}}).getProvider():null}if("base"===r)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"solana"===r?n&&0!==n.length?await a.getInstance().get(n):void t.throw("Wallet name must be provided to get Solana wallet provider"):o.getInstance().get(r)}return{getWeb3Identifier:r,generateWeb3Signature:i,getMetamaskIdentifier:l,getCoinbaseWalletIdentifier:s,getOKXWalletIdentifier:c,getBaseIdentifier:d,getSolanaIdentifier:u,generateSignatureWithMetamask:p,generateSignatureWithCoinbaseWallet:m,generateSignatureWithOKXWallet:h,generateSignatureWithBase:f,generateSignatureWithSolana:g}}},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:()=>a,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 a(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))}}},2779: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,"/")}},8902: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,a=e[n];if(Array.isArray(a))a.forEach(e=>void 0!==e&&r.append(o,e||""));else{if(void 0===a)return;"object"==typeof a&&null!==a?r.append(o,JSON.stringify(a)):r.append(o,String(a??""))}}),r.toString()}},1210:function(e,t,r){let n,o;r.d(t,{WD:()=>A,Fm:()=>eh,Rs:()=>k,IC:()=>z,D_:()=>X,kH:()=>ep,Z5:()=>Z,UQ:()=>J,ur:()=>C,Lg:()=>I,ho:()=>K,Jd:()=>er,ED:()=>_,Wp:()=>ea,TS:()=>F,cl:()=>eU,Rx:()=>Y,hZ:()=>N,e3:()=>$,rg:()=>ed,Wf:()=>T,Jl:()=>eH,wV:()=>ee,t7:()=>es,pc:()=>P,hl:()=>eg,tr:()=>el,Dc:()=>ef,_x:()=>w,Tn:()=>eO,X$:()=>ec,Oc:()=>en,v$:()=>em});let a="reverification-error",i={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},l=new Set(["first_factor","second_factor","multi_factor"]),s=new Set(["strict_mfa","strict","moderate","lax"]);var c,d,u=r(2522);r(1302);var p=r(1483),m=r(526),h=r(5074),f=r(6651),g=r(1839),b=r(2951),v=r(7447),y=r(5530);function w(e,t){if(!e)throw"string"==typeof t?Error(t):Error(`${t.displayName} not found`)}let $=(e,t)=>{let{assertCtxFn:r=w}=t||{},n=h.createContext(void 0);return n.displayName=e,[n,()=>{let t=h.useContext(n);return r(t,`${e} not found`),t.value},()=>{let e=h.useContext(n);return e?e.value:{}}]};function x({swrConfig:e,children:t}){return h.createElement(f.BE,{value:e},t)}let[_,S]=$("ClerkInstanceContext"),[k,C]=$("UserContext"),[P,A]=$("ClientContext"),[z,I]=$("SessionContext");h.createContext({});let[D,R]=$("CheckoutContext"),Y=({children:e,...t})=>h.createElement(D.Provider,{value:{value:t}},e),[E,T]=$("OrganizationContext"),F=({children:e,organization:t,swrConfig:r})=>h.createElement(x,{swrConfig:r},h.createElement(E.Provider,{value:{value:{organization:t}}},e));function L(e){if(!h.useContext(_)){if("function"==typeof e)return void e();throw Error(`${e} can only be used within the <ClerkProvider /> component.
|
|
133
|
+
(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))}},6463:function(e,t,r){r.d(t,{U:()=>i});var n=r(2522),o=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)}},a=class e{#p=void 0;#m=!1;static #d=null;constructor(){}async #h(){if(this.#m)return;this.#m=!0;let e=await r.e("666").then(r.bind(r,4076)).then(e=>e.getWallets());this.#p=e.get(),e.on("register",()=>{this.#p=e.get()}),e.on("unregister",()=>{this.#p=e.get()})}#f(e){return e.chains?.some(e=>e.startsWith("solana:"))??!1}#g(e){return"solana:signMessage"in e.features}static getInstance(){return e.#d||(e.#d=new e),e.#d}get=async e=>{await this.#h();let t=(this.#p||[]).find(t=>t.name===e&&this.#f(t)&&this.#g(t));if(t&&this.#f(t))return t;if("undefined"==typeof window)return;let r=window.solana;if(r&&"function"==typeof r.connect&&"function"==typeof r.signMessage)return r}};function i(e){let t=(0,n.y)({packageName:"@clerk/shared"});async function r(e){let{provider:t,walletName:r}=e,n=await b(t,r);if(!n)return"";if("solana"===t){let e=await n.features["standard:connect"].connect();return e&&e.accounts[0].address||""}let o=await n.request({method:"eth_requestAccounts"});return o&&o[0]||""}let i=async e=>{let{identifier:t,nonce:r,provider:o,walletName:a=""}=e,i=await b(o,a);if(!i)return"";if("solana"===o)try{let e=i.accounts.find(e=>e.address===t);if(!e)return console.warn(`Wallet account with address ${t} not found`),"";let n=await i.features["solana:signMessage"]?.signMessage({account:e,message:new TextEncoder().encode(r)});return n?.[0]?.signature?btoa(String.fromCharCode(...n[0].signature)):""}catch(e){if(e instanceof Error&&e.message.includes("User rejected the request."))throw new n.m("Web3 signature request was rejected by the user.",{code:"web3_signature_request_rejected"});throw new n.m("An error occurred while generating the Solana signature.",{code:"web3_solana_signature_generation_failed",cause:e instanceof Error?e:void 0})}return await i.request({method:"personal_sign",params:[`0x${r.split("").map(e=>e.charCodeAt(0).toString(16).padStart(2,"0")).join("")}`,t]})};async function l(){return await r({provider:"metamask"})}async function s(){return await r({provider:"coinbase_wallet"})}async function c(){return await r({provider:"okx_wallet"})}async function d(){return await r({provider:"base"})}async function u(e){return await r({provider:"solana",walletName:e})}async function p(e){return await i({...e,provider:"metamask"})}async function m(e){return await i({...e,provider:"coinbase_wallet"})}async function h(e){return await i({...e,provider:"okx_wallet"})}async function f(e){return await i({...e,provider:"base"})}async function g(e){return await i({...e,provider:"solana"})}async function b(r,n){if("coinbase_wallet"===r){let t=await e.import("@coinbase/wallet-sdk");return t?t.createCoinbaseWalletSDK({appName:"undefined"!=typeof window&&window.Clerk?.__internal_environment?.displayConfig?.applicationName||"undefined"!=typeof document&&document.title||"Web3 Application",preference:{options:"all"}}).getProvider():null}if("base"===r)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"solana"===r?n&&0!==n.length?await a.getInstance().get(n):void t.throw("Wallet name must be provided to get Solana wallet provider"):o.getInstance().get(r)}return{getWeb3Identifier:r,generateWeb3Signature:i,getMetamaskIdentifier:l,getCoinbaseWalletIdentifier:s,getOKXWalletIdentifier:c,getBaseIdentifier:d,getSolanaIdentifier:u,generateSignatureWithMetamask:p,generateSignatureWithCoinbaseWallet:m,generateSignatureWithOKXWallet:h,generateSignatureWithBase:f,generateSignatureWithSolana:g}}},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:()=>a,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 a(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))}}},2779: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,"/")}},8902: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,a=e[n];if(Array.isArray(a))a.forEach(e=>void 0!==e&&r.append(o,e||""));else{if(void 0===a)return;"object"==typeof a&&null!==a?r.append(o,JSON.stringify(a)):r.append(o,String(a??""))}}),r.toString()}},1210:function(e,t,r){let n,o;r.d(t,{WD:()=>A,Fm:()=>eh,Rs:()=>k,IC:()=>z,D_:()=>X,kH:()=>ep,Z5:()=>Z,UQ:()=>J,ur:()=>C,Lg:()=>I,ho:()=>K,Jd:()=>er,ED:()=>_,Wp:()=>ea,TS:()=>F,cl:()=>eU,Rx:()=>Y,hZ:()=>N,e3:()=>$,rg:()=>ed,Wf:()=>T,Jl:()=>eH,wV:()=>ee,t7:()=>es,pc:()=>P,hl:()=>eg,tr:()=>el,Dc:()=>ef,_x:()=>w,Tn:()=>eO,X$:()=>ec,Oc:()=>en,v$:()=>em});let a="reverification-error",i={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},l=new Set(["first_factor","second_factor","multi_factor"]),s=new Set(["strict_mfa","strict","moderate","lax"]);var c,d,u=r(2522);r(1302);var p=r(1483),m=r(526),h=r(5074),f=r(6651),g=r(1839),b=r(2951),v=r(7447),y=r(5530);function w(e,t){if(!e)throw"string"==typeof t?Error(t):Error(`${t.displayName} not found`)}let $=(e,t)=>{let{assertCtxFn:r=w}=t||{},n=h.createContext(void 0);return n.displayName=e,[n,()=>{let t=h.useContext(n);return r(t,`${e} not found`),t.value},()=>{let e=h.useContext(n);return e?e.value:{}}]};function x({swrConfig:e,children:t}){return h.createElement(f.BE,{value:e},t)}let[_,S]=$("ClerkInstanceContext"),[k,C]=$("UserContext"),[P,A]=$("ClientContext"),[z,I]=$("SessionContext");h.createContext({});let[D,R]=$("CheckoutContext"),Y=({children:e,...t})=>h.createElement(D.Provider,{value:{value:t}},e),[E,T]=$("OrganizationContext"),F=({children:e,organization:t,swrConfig:r})=>h.createElement(x,{swrConfig:r},h.createElement(E.Provider,{value:{value:{organization:t}}},e));function L(e){if(!h.useContext(_)){if("function"==typeof e)return void e();throw Error(`${e} can only be used within the <ClerkProvider /> component.
|
|
134
134
|
|
|
135
135
|
Possible fixes:
|
|
136
136
|
1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.
|