@clerk/ui 1.2.2-snapshot.v20260311230607 → 1.2.2
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/970_ui_33fca3_1.2.2.js +1 -0
- package/dist/970_ui_3db80f_1.2.2.js +1 -0
- package/dist/970_ui_6e27e5_1.2.2.js +1 -0
- package/dist/ClerkUI.js +2 -2
- package/dist/components/PricingTable/PricingTableDefault.js +1 -1
- package/dist/components/PricingTable/PricingTableDefault.js.map +1 -1
- package/dist/foundations/defaultFoundations.d.ts +153 -153
- package/dist/index.js +1 -1
- package/dist/lazyModules/components.d.ts +20 -20
- package/dist/no-rhc/ClerkUI.js +2 -2
- package/dist/no-rhc/components/PricingTable/PricingTableDefault.js +1 -1
- package/dist/no-rhc/components/PricingTable/PricingTableDefault.js.map +1 -1
- package/dist/no-rhc/index.js +1 -1
- package/dist/server.js +1 -1
- package/dist/{ui-common_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → ui-common_ui_33fca3_1.2.2.js} +4 -4
- package/dist/{ui-common_ui_264148_1.2.2-snapshot.v20260311230607.js → ui-common_ui_3db80f_1.2.2.js} +4 -4
- package/dist/{ui-common_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → ui-common_ui_6e27e5_1.2.2.js} +1 -1
- package/dist/ui.browser.js +2 -2
- package/dist/ui.legacy.browser.js +1 -1
- package/dist/ui.shared.browser.js +1 -1
- package/package.json +3 -3
- package/dist/970_ui_264148_1.2.2-snapshot.v20260311230607.js +0 -1
- package/dist/970_ui_40ba2d_1.2.2-snapshot.v20260311230607.js +0 -1
- package/dist/970_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js +0 -1
- /package/dist/{207_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → 207_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{207_ui_264148_1.2.2-snapshot.v20260311230607.js → 207_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{207_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → 207_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{217_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → 217_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{217_ui_264148_1.2.2-snapshot.v20260311230607.js → 217_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{217_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → 217_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{360_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → 360_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{360_ui_264148_1.2.2-snapshot.v20260311230607.js → 360_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{360_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → 360_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{444_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → 444_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{444_ui_264148_1.2.2-snapshot.v20260311230607.js → 444_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{444_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → 444_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{573_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → 573_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{573_ui_264148_1.2.2-snapshot.v20260311230607.js → 573_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{573_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → 573_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{931_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → 931_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{931_ui_264148_1.2.2-snapshot.v20260311230607.js → 931_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{931_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → 931_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{apiKeys_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → apiKeys_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{apiKeys_ui_264148_1.2.2-snapshot.v20260311230607.js → apiKeys_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{apiKeys_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → apiKeys_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{blankcaptcha_ui_264148_1.2.2-snapshot.v20260311230607.js → blankcaptcha_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{blankcaptcha_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → blankcaptcha_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{blankcaptcha_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → blankcaptcha_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{checkout_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → checkout_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{checkout_ui_264148_1.2.2-snapshot.v20260311230607.js → checkout_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{checkout_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → checkout_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{copy-api-key-modal_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → copy-api-key-modal_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{copy-api-key-modal_ui_264148_1.2.2-snapshot.v20260311230607.js → copy-api-key-modal_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{copy-api-key-modal_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → copy-api-key-modal_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{createorganization_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → createorganization_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{createorganization_ui_264148_1.2.2-snapshot.v20260311230607.js → createorganization_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{createorganization_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → createorganization_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → enableOrganizationsPrompt_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_264148_1.2.2-snapshot.v20260311230607.js → enableOrganizationsPrompt_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → enableOrganizationsPrompt_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{framework_ui_264148_1.2.2-snapshot.v20260311230607.js → framework_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{framework_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → framework_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{impersonationfab_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → impersonationfab_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{impersonationfab_ui_264148_1.2.2-snapshot.v20260311230607.js → impersonationfab_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{impersonationfab_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → impersonationfab_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{keylessPrompt_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → keylessPrompt_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{keylessPrompt_ui_264148_1.2.2-snapshot.v20260311230607.js → keylessPrompt_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{keylessPrompt_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → keylessPrompt_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{oauthConsent_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → oauthConsent_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{oauthConsent_ui_264148_1.2.2-snapshot.v20260311230607.js → oauthConsent_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{oauthConsent_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → oauthConsent_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{onetap_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → onetap_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{onetap_ui_264148_1.2.2-snapshot.v20260311230607.js → onetap_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{onetap_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → onetap_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{op-api-keys-page_ui_264148_1.2.2-snapshot.v20260311230607.js → op-api-keys-page_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{op-api-keys-page_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → op-api-keys-page_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{op-api-keys-page_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → op-api-keys-page_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{op-billing-page_ui_264148_1.2.2-snapshot.v20260311230607.js → op-billing-page_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{op-billing-page_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → op-billing-page_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{op-billing-page_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → op-billing-page_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{op-plans-page_ui_264148_1.2.2-snapshot.v20260311230607.js → op-plans-page_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{op-plans-page_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → op-plans-page_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{op-plans-page_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → op-plans-page_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{organizationlist_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → organizationlist_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{organizationlist_ui_264148_1.2.2-snapshot.v20260311230607.js → organizationlist_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{organizationlist_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → organizationlist_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{organizationprofile_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → organizationprofile_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{organizationprofile_ui_264148_1.2.2-snapshot.v20260311230607.js → organizationprofile_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{organizationprofile_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → organizationprofile_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{organizationswitcher_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → organizationswitcher_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{organizationswitcher_ui_264148_1.2.2-snapshot.v20260311230607.js → organizationswitcher_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{organizationswitcher_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → organizationswitcher_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{payment-attempt-page_ui_264148_1.2.2-snapshot.v20260311230607.js → payment-attempt-page_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{payment-attempt-page_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → payment-attempt-page_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{payment-attempt-page_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → payment-attempt-page_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{planDetails_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → planDetails_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{planDetails_ui_264148_1.2.2-snapshot.v20260311230607.js → planDetails_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{planDetails_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → planDetails_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_264148_1.2.2-snapshot.v20260311230607.js → prefetchorganizationlist_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → prefetchorganizationlist_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → prefetchorganizationlist_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{pricingTable_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → pricingTable_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{pricingTable_ui_264148_1.2.2-snapshot.v20260311230607.js → pricingTable_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{pricingTable_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → pricingTable_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{revoke-api-key-modal_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → revoke-api-key-modal_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{revoke-api-key-modal_ui_264148_1.2.2-snapshot.v20260311230607.js → revoke-api-key-modal_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{revoke-api-key-modal_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → revoke-api-key-modal_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{sessionTasks_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → sessionTasks_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{sessionTasks_ui_264148_1.2.2-snapshot.v20260311230607.js → sessionTasks_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{sessionTasks_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → sessionTasks_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{signin_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → signin_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{signin_ui_264148_1.2.2-snapshot.v20260311230607.js → signin_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{signin_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → signin_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{signup_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → signup_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{signup_ui_264148_1.2.2-snapshot.v20260311230607.js → signup_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{signup_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → signup_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{statement-page_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → statement-page_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{statement-page_ui_264148_1.2.2-snapshot.v20260311230607.js → statement-page_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{statement-page_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → statement-page_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{subscriptionDetails_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → subscriptionDetails_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{subscriptionDetails_ui_264148_1.2.2-snapshot.v20260311230607.js → subscriptionDetails_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{subscriptionDetails_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → subscriptionDetails_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → taskChooseOrganization_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_264148_1.2.2-snapshot.v20260311230607.js → taskChooseOrganization_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → taskChooseOrganization_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{taskResetPassword_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → taskResetPassword_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{taskResetPassword_ui_264148_1.2.2-snapshot.v20260311230607.js → taskResetPassword_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{taskResetPassword_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → taskResetPassword_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{taskSetupMFA_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → taskSetupMFA_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{taskSetupMFA_ui_264148_1.2.2-snapshot.v20260311230607.js → taskSetupMFA_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{taskSetupMFA_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → taskSetupMFA_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{up-api-keys-page_ui_264148_1.2.2-snapshot.v20260311230607.js → up-api-keys-page_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{up-api-keys-page_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → up-api-keys-page_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{up-api-keys-page_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → up-api-keys-page_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{up-billing-page_ui_264148_1.2.2-snapshot.v20260311230607.js → up-billing-page_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{up-billing-page_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → up-billing-page_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{up-billing-page_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → up-billing-page_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{up-plans-page_ui_264148_1.2.2-snapshot.v20260311230607.js → up-plans-page_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{up-plans-page_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → up-plans-page_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{up-plans-page_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → up-plans-page_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{useravatar_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → useravatar_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{useravatar_ui_264148_1.2.2-snapshot.v20260311230607.js → useravatar_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{useravatar_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → useravatar_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{userbutton_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → userbutton_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{userbutton_ui_264148_1.2.2-snapshot.v20260311230607.js → userbutton_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{userbutton_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → userbutton_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{userprofile_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → userprofile_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{userprofile_ui_264148_1.2.2-snapshot.v20260311230607.js → userprofile_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{userprofile_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → userprofile_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{userverification_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → userverification_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{userverification_ui_264148_1.2.2-snapshot.v20260311230607.js → userverification_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{userverification_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → userverification_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{vendors_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → vendors_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{vendors_ui_264148_1.2.2-snapshot.v20260311230607.js → vendors_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{vendors_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → vendors_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{waitlist_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → waitlist_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{waitlist_ui_264148_1.2.2-snapshot.v20260311230607.js → waitlist_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{waitlist_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → waitlist_ui_6e27e5_1.2.2.js} +0 -0
- /package/dist/{web3-solana-wallet-buttons_ui_40ba2d_1.2.2-snapshot.v20260311230607.js → web3-solana-wallet-buttons_ui_33fca3_1.2.2.js} +0 -0
- /package/dist/{web3-solana-wallet-buttons_ui_264148_1.2.2-snapshot.v20260311230607.js → web3-solana-wallet-buttons_ui_3db80f_1.2.2.js} +0 -0
- /package/dist/{web3-solana-wallet-buttons_ui_9bdfaf_1.2.2-snapshot.v20260311230607.js → web3-solana-wallet-buttons_ui_6e27e5_1.2.2.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(globalThis,()=>(()=>{"use strict";var e,t,r,n={21227:function(e,t,r){r.d(t,{AG:()=>s,dY:()=>a,j2:()=>i,jc:()=>o,qJ:()=>u,yz:()=>n});let n="6.0.0",i={ACCOUNT:"account",SECURITY:"security",BILLING:"billing",API_KEYS:"apiKeys"},o={GENERAL:"general",MEMBERS:"members",BILLING:"billing",API_KEYS:"apiKeys"},a={MANAGE_ACCOUNT:"manageAccount",SIGN_OUT:"signOut"},s="clerk-profileCardScrollBox",u="clerk-organizationProfileScrollBox"},13727:function(e,t,r){r.d(t,{x:()=>s}),r(88711);var n=r(66866),i=r(25848),o=r(29823),a=r(35074);let s=()=>{let[e,t]=a.useState({startPath:"",path:"",componentName:"",socialProvider:""}),r=(0,o.F)();a.useLayoutEffect(()=>{r&&t(r)},[]);let s=()=>{t({startPath:"",path:"",componentName:"",socialProvider:""})};return{urlStateParam:{...e,clearUrlStateParam:s},decodedRedirectParams:r,clearUrlStateParam:s,removeQueryParam:()=>(0,i.rw)(n.r)}}},54096:function(e,t,r){r.d(t,{Gb:()=>P,JJ:()=>D,L1:()=>_,M9:()=>a,O3:()=>N,Qj:()=>w,RW:()=>A,Sm:()=>x,Xi:()=>m,am:()=>g,gK:()=>p,jr:()=>U,ju:()=>O,yc:()=>c,yd:()=>l,ym:()=>z}),r(50036);var n=r(35074);let i={SignIn:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("444"),r.e("10")]).then(r.bind(r,35717)),SignUp:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472")]).then(r.bind(r,84753)),UserAvatar:()=>Promise.all([r.e("545"),r.e("666"),r.e("58")]).then(r.bind(r,97714)),UserButton:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("444"),r.e("99")]).then(r.bind(r,66240)),UserProfile:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("217"),r.e("718")]).then(r.bind(r,16801)),CreateOrganization:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("573"),r.e("243")]).then(r.bind(r,4472)),OrganizationProfile:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("573"),r.e("310")]).then(r.bind(r,6568)),OrganizationSwitcher:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("364")]).then(r.bind(r,77498)),OrganizationList:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("573"),r.e("799")]).then(r.bind(r,14013)),ImpersonationFab:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("917")]).then(r.bind(r,37399)),GoogleOneTap:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("721")]).then(r.bind(r,13109)),BlankCaptchaModal:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("328")]).then(r.bind(r,95723)),UserVerification:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("636")]).then(r.bind(r,49066)),Waitlist:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("265")]).then(r.bind(r,81170)),KeylessPrompt:()=>Promise.all([r.e("545"),r.e("666"),r.e("522")]).then(r.bind(r,63884)),PricingTable:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("970"),r.e("30")]).then(r.bind(r,46334)),Checkout:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("217"),r.e("256")]).then(r.bind(r,12677)),SessionTasks:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("4"),r.e("931"),r.e("390")]).then(r.bind(r,61662)),TaskChooseOrganization:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("931"),r.e("723")]).then(r.bind(r,39051)),TaskResetPassword:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("67")]).then(r.bind(r,57959)),TaskSetupMFA:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("4")]).then(r.bind(r,64767)),PlanDetails:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("841")]).then(r.bind(r,61217)),SubscriptionDetails:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("451")]).then(r.bind(r,41461)),APIKeys:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("326")]).then(r.bind(r,54875)),OAuthConsent:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("591")]).then(r.bind(r,39576)),EnableOrganizationsPrompt:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("533")]).then(r.bind(r,27334))},o=(0,n.lazy)(()=>i.SignIn().then(e=>({default:e.SignIn}))),a=(0,n.lazy)(()=>i.SignIn().then(e=>({default:e.SignInModal}))),s=(0,n.lazy)(()=>i.GoogleOneTap().then(e=>({default:e.OneTap}))),u=(0,n.lazy)(()=>i.UserVerification().then(e=>({default:e.UserVerification}))),l=(0,n.lazy)(()=>i.UserVerification().then(e=>({default:e.UserVerificationModal}))),c=(0,n.lazy)(()=>i.EnableOrganizationsPrompt().then(e=>({default:e.EnableOrganizationsPrompt}))),f=(0,n.lazy)(()=>i.SignUp().then(e=>({default:e.SignUp}))),p=(0,n.lazy)(()=>i.SignUp().then(e=>({default:e.SignUpModal}))),h=(0,n.lazy)(()=>i.UserAvatar().then(e=>({default:e.UserAvatar}))),d=(0,n.lazy)(()=>i.UserButton().then(e=>({default:e.UserButton}))),v=(0,n.lazy)(()=>i.UserProfile().then(e=>({default:e.UserProfile}))),g=(0,n.lazy)(()=>i.UserProfile().then(e=>({default:e.UserProfileModal}))),y=(0,n.lazy)(()=>i.CreateOrganization().then(e=>({default:e.CreateOrganization}))),m=(0,n.lazy)(()=>i.CreateOrganization().then(e=>({default:e.CreateOrganizationModal}))),b=(0,n.lazy)(()=>i.OrganizationProfile().then(e=>({default:e.OrganizationProfile}))),w=(0,n.lazy)(()=>i.OrganizationProfile().then(e=>({default:e.OrganizationProfileModal}))),S=(0,n.lazy)(()=>i.OrganizationSwitcher().then(e=>({default:e.OrganizationSwitcher}))),E=(0,n.lazy)(()=>i.OrganizationList().then(e=>({default:e.OrganizationList}))),k=(0,n.lazy)(()=>i.Waitlist().then(e=>({default:e.Waitlist}))),_=(0,n.lazy)(()=>i.Waitlist().then(e=>({default:e.WaitlistModal}))),P=(0,n.lazy)(()=>i.BlankCaptchaModal().then(e=>({default:e.BlankCaptchaModal}))),x=(0,n.lazy)(()=>i.ImpersonationFab().then(e=>({default:e.ImpersonationFab}))),O=(0,n.lazy)(()=>i.KeylessPrompt().then(e=>({default:e.KeylessPrompt}))),R=(0,n.lazy)(()=>i.PricingTable().then(e=>({default:e.PricingTable}))),C=(0,n.lazy)(()=>i.APIKeys().then(e=>({default:e.APIKeys}))),A=(0,n.lazy)(()=>i.Checkout().then(e=>({default:e.Checkout}))),I=(0,n.lazy)(()=>i.TaskChooseOrganization().then(e=>({default:e.TaskChooseOrganization}))),T=(0,n.lazy)(()=>i.TaskResetPassword().then(e=>({default:e.TaskResetPassword}))),M=(0,n.lazy)(()=>i.TaskSetupMFA().then(e=>({default:e.TaskSetupMFA}))),z=(0,n.lazy)(()=>i.PlanDetails().then(e=>({default:e.PlanDetails}))),j=(0,n.lazy)(()=>i.SubscriptionDetails().then(e=>({default:e.SubscriptionDetails}))),L=(0,n.lazy)(()=>i.OAuthConsent().then(e=>({default:e.OAuthConsent}))),D=(0,n.lazy)(()=>i.SessionTasks().then(e=>({default:e.SessionTasks}))),U=async e=>{var t;return null==(t=i[e])?void 0:t.call(i)},N={SignIn:o,SignUp:f,UserAvatar:h,UserButton:d,UserProfile:v,UserVerification:u,EnableOrganizationsPrompt:c,OrganizationSwitcher:S,OrganizationList:E,OrganizationProfile:b,CreateOrganization:y,SignInModal:a,SignUpModal:p,UserProfileModal:g,OrganizationProfileModal:w,CreateOrganizationModal:m,UserVerificationModal:l,GoogleOneTap:s,Waitlist:k,WaitlistModal:_,BlankCaptchaModal:P,PricingTable:R,Checkout:A,PlanDetails:z,APIKeys:C,OAuthConsent:L,SubscriptionDetails:j,TaskChooseOrganization:I,TaskResetPassword:T,TaskSetupMFA:M}},94642:function(e,t,r){r.d(t,{Nx:()=>R,Vv:()=>x,Fj:()=>_,up:()=>k,$h:()=>O,t8:()=>P,dB:()=>C,xg:()=>A}),r(50036);var n=r(14518);r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412),r(88711);var i=r(54653);let o=new Set;var a=r(90231),s=r(35074),u=r(54096);let l=(0,s.lazy)(()=>r.e("666").then(r.bind(r,39987)).then(e=>({default:e.ClerkContextProvider}))),c=(0,s.lazy)(()=>r.e("666").then(r.bind(r,39987)).then(e=>({default:e.EnvironmentProvider}))),f=(0,s.lazy)(()=>r.e("666").then(r.bind(r,39987)).then(e=>({default:e.OptionsProvider}))),p=(0,s.lazy)(()=>r.e("666").then(r.bind(r,39987)).then(e=>({default:e.ModuleManagerProvider}))),h=(0,s.lazy)(()=>Promise.all([r.e("545"),r.e("666")]).then(r.bind(r,18272)).then(e=>({default:e.AppearanceProvider}))),d=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666")]).then(r.bind(r,3394)).then(e=>({default:e.VirtualRouter}))),v=(0,s.lazy)(()=>Promise.all([r.e("545"),r.e("666")]).then(r.bind(r,42245)).then(e=>({default:e.InternalThemeProvider}))),g=(0,s.lazy)(()=>r.e("666").then(r.bind(r,85287)).then(e=>({default:e.StyleCacheProvider}))),y=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("360")]).then(r.bind(r,99661)).then(e=>({default:e.Portal}))),m=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("360")]).then(r.bind(r,99661)).then(e=>({default:e.VirtualBodyRootPortal}))),b=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666")]).then(r.bind(r,63269)).then(e=>({default:e.FlowMetadataProvider}))),w=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666")]).then(r.bind(r,86705)).then(e=>({default:e.Modal}))),S=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666")]).then(r.bind(r,78532)).then(e=>({default:e.Drawer.Root}))),E=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666")]).then(r.bind(r,78532)).then(e=>({default:e.Drawer.Overlay}))),k=(0,s.lazy)(()=>r.e("608").then(r.bind(r,44817)).then(e=>({default:e.OrganizationSwitcherPrefetch}))),_=e=>{var t;return(0,n.Y)(g,{nonce:e.options.nonce,cssLayerName:null==(t=e.options.appearance)?void 0:t.cssLayerName,children:(0,n.Y)(p,{moduleManager:e.moduleManager,children:(0,n.Y)(l,{clerk:e.clerk,children:(0,n.Y)(c,{value:e.environment,children:(0,n.Y)(f,{value:e.options,children:e.children})})})})})},P=e=>{var t,r,s,l;let c,f;return(null==e||null==(t=e.componentProps)?void 0:t.routing)==="virtual"&&(s='routing="virtual"',c=(0,i.r)()||(0,i.n)(),f=null!=l?l:s,o.has(f)||c||(o.add(f),console.warn('Clerk - DEPRECATION WARNING: "'.concat(s,'" is deprecated and will be removed in the next major release.\n').concat('Use routing="hash" instead.')))),(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(a.N$,{getContainer:null==e||null==(r=e.componentProps)?void 0:r.getContainer,children:(0,n.Y)(y,{node:e.node,component:u.O3[e.componentName],props:e.componentProps,componentName:e.componentName})})})},x=e=>(0,n.Y)(s.Suspense,{fallback:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(b,{flow:e.flowName||"",children:(0,n.Y)(v,{children:(0,n.Y)(a.N$,{getContainer:e.getContainer,children:(0,n.Y)(w,{id:e.modalId,style:e.modalStyle,handleClose:e.onClose,containerSx:e.modalContainerSx,contentSx:e.modalContentSx,canCloseModal:e.canCloseModal,children:e.startPath?(0,n.Y)(s.Suspense,{children:(0,n.Y)(d,{startPath:e.startPath,onExternalNavigate:e.onExternalNavigate,children:e.children})}):e.children})})})})})}),O=e=>(0,n.Y)(s.Suspense,{fallback:"",children:(0,n.Y)(d,{startPath:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(b,{flow:e.flowName||"",children:(0,n.Y)(v,{children:(0,n.FD)(S,{open:e.open,onOpenChange:e.onOpenChange,strategy:e.portalId||e.portalRoot?"absolute":"fixed",portalProps:{id:e.portalId?e.portalId:void 0,root:e.portalRoot?e.portalRoot:void 0},children:[(0,n.Y)(E,{}),e.children]})})})})})}),R=e=>(0,n.Y)(s.Suspense,{children:(0,n.Y)(d,{startPath:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:"impersonationFab",children:e.children})})}),C=e=>(0,n.Y)(s.Suspense,{children:(0,n.Y)(d,{startPath:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:"enableOrganizationsPrompt",children:e.children})})}),A=e=>(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:"oneTap",appearance:e.componentAppearance,children:(0,n.Y)(m,{startPath:e.startPath,component:u.O3.GoogleOneTap,props:e.componentProps,componentName:"GoogleOneTap"})})},3115:function(e,t,r){r.d(t,{I:()=>d,T:()=>h}),r(19161),r(22239),r(22501),r(58910),r(88711),r(10676);var n=r(16164);let i=/\.cl-[A-Za-z0-9_-]+/,o=/\[\s*class\s*(\^=|\*=|\$=)\s*["']?[^"'\]]*cl-[^"'\]]*["']?\s*\]/i,a=/:(nth-child|nth-of-type|first-child|last-child|only-child|empty)\b/i,s=/:has\(/i;r(95055),r(30945);let u=/[.#\w\[:]/,l=/\.cl-[A-Za-z0-9_-]+/g,c=/[>+~\s]/;function f(e){return["Clerk: Structural CSS detected that may break on updates.\n\nFound:",e.slice(0,5).map(e=>" - ".concat(e)).join("\n")+(e.length>5?"\n (+".concat(e.length-5," more)"):""),"\nThese selectors depend on the internal DOM structure of Clerk's components, which may change when Clerk deploys component updates.\nTo prevent breaking changes, install @clerk/ui and pass it to ClerkProvider:\n\n import { ui } from '@clerk/ui'\n <ClerkProvider ui={ui}>\n\nLearn more: https://clerk.com/docs/reference/components/versioning\n(code=structural_css_pin_clerk_ui)"].join("\n")}function p(e){let t=[];for(let[r,n]of Object.entries(e))if("string"!=typeof n)for(let e of function e(t){if(!t||"object"!=typeof t)return[];let r=[];for(let[n,o]of Object.entries(t))(function(e){let t,r,n;return!!e.startsWith("&")&&(!!(i.test(e)||a.test(e)||s.test(e))||(t=e.replace(/^&\s*/,""),r=i.test(t),n=u.test(t.replace(l,"")),!!(r||n&&c.test(e))))})(n)&&r.push(n),r.push(...e(o));return r}(n))t.push("elements.".concat(r,' "').concat(e,'"'));return t}function h(e,t){if(t||!(null==e?void 0:e.elements)||0===Object.keys(e.elements).length)return;let r=p(e.elements);r.length>0&&n.v.warnOnce(f(r))}function d(e){var t;if(null==e||null==(t=e.ui)?void 0:t.__brand)return;let r=[],u=null==e?void 0:e.appearance;for(let e of((null==u?void 0:u.elements)&&Object.keys(u.elements).length>0&&r.push(...p(u.elements)),function(){if("undefined"==typeof document)return[];let e=[];for(let t of Array.from(document.styleSheets)){let r=function(e){try{return e.cssRules}catch{return null}}(t);r&&function e(t,r,n){for(let l of Array.from(t)){if(1===l.type&&"selectorText"in l){for(let e of(l.selectorText||"").split(",").map(e=>e.trim()).filter(Boolean)){var u;if(!(i.test(e)||o.test(e)))continue;let{structural:t,reason:c}=function(e){let t=[];return(/\.cl-[A-Za-z0-9_-]+[\s>+~]+[.#\w\[:]/.test(e)||/[.#\w\]:][\s>+~]+\.cl-[A-Za-z0-9_-]+/.test(e))&&(/[>+~]/.test(e)&&t.push("combinator(>+~)"),/\s+/.test(e)&&t.push("descendant(combinator)")),a.test(e)&&t.push("positional-pseudo"),s.test(e)&&t.push(":has()"),(e.match(/\.cl-[A-Za-z0-9_-]+/g)||[]).length>=2&&t.push("multiple-clerk-classes"),/(^|[\s>+~(])([a-z]+)\.cl-[A-Za-z0-9_-]+/i.test(e)&&t.push("tag+cl-class"),{structural:t.includes("combinator(>+~)")||t.includes("descendant(combinator)")||t.includes("positional-pseudo")||t.includes(":has()")||t.includes("multiple-clerk-classes")||t.includes("tag+cl-class"),reason:t}}(e);t&&n.push({stylesheetHref:null!=(u=r.href)?u:null,selector:e,cssText:l.cssText,reason:c})}continue}"cssRules"in l&&l.cssRules&&e(l.cssRules,r,n)}}(r,t,e)}return e}()))r.push('CSS "'.concat(e.selector,'"'));r.length>0&&n.v.warnOnce(f(r))}},71785:function(e,t,r){r.d(t,{A:()=>q}),r(88711),r(22501),r(58910),r(19161),r(41730),r(98114),r(10676),r(22239);var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,o=String.fromCharCode,a=Object.assign;function s(e,t,r){return e.replace(t,r)}function u(e,t){return e.indexOf(t)}function l(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function f(e){return e.length}function p(e,t){return t.push(e),e}var h=1,d=1,v=0,g=0,y=0,m="";function b(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:h,column:d,length:a,return:""}}function w(e,t){return a(b("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return y=g<v?l(m,g++):0,d++,10===y&&(d=1,h++),y}function E(){return l(m,g)}function k(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(e){return h=d=1,v=f(m=e),g=0,[]}function P(e){var t,r;return(t=g-1,r=function e(t){for(;S();)switch(y){case t:return g;case 34:case 39:34!==t&&39!==t&&e(y);break;case 40:41===t&&e(t);break;case 92:S()}return g}(91===e?e+2:40===e?e+1:e),c(m,t,r)).trim()}var x="-ms-",O="-moz-",R="-webkit-",C="comm",A="rule",I="decl",T="@keyframes";function M(e,t){for(var r="",n=e.length,i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function z(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case I:return e.return=e.return||e.value;case C:return"";case T:return e.return=e.value+"{"+M(e.children,n)+"}";case A:e.value=e.props.join(",")}return f(r=M(e.children,n))?e.return=e.value+"{"+r+"}":""}function j(e,t,r,n,o,a,u,l,f,p,h){for(var d=o-1,v=0===o?a:[""],g=v.length,y=0,m=0,w=0;y<n;++y)for(var S=0,E=c(e,d+1,d=i(m=u[y])),k=e;S<g;++S)(k=(m>0?v[S]+" "+E:s(E,/&\f/g,v[S])).trim())&&(f[w++]=k);return b(e,t,r,0===o?A:l,f,p,h)}function L(e,t,r,n){return b(e,t,r,I,c(e,0,n),c(e,n+1,-1),n)}r(65980);var D=function(e,t,r){for(var n=0,i=0;n=i,i=E(),38===n&&12===i&&(t[r]=1),!k(i);)S();return c(m,e,g)},U=function(e,t){var r=-1,n=44;do switch(k(n)){case 0:38===n&&12===E()&&(t[r]=1),e[r]+=D(g-1,t,r);break;case 2:e[r]+=P(n);break;case 4:if(44===n){e[++r]=58===E()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=o(n)}while(n=S());return e},N=function(e,t){var r;return r=U(_(e),t),m="",r},F=new WeakMap,$=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||F.get(r))&&!n){F.set(e,!0);for(var i=[],o=N(t,i),a=r.props,s=0,u=0;s<o.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=i[s]?o[s].replace(/&\f/g,a[l]):a[l]+" "+o[s]}}},W=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},B=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case I:e.return=function e(t,r){switch(45^l(t,0)?(((r<<2^l(t,0))<<2^l(t,1))<<2^l(t,2))<<2^l(t,3):0){case 5103:return R+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return R+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return R+t+O+t+x+t+t;case 6828:case 4268:return R+t+x+t+t;case 6165:return R+t+x+"flex-"+t+t;case 5187:return R+t+s(t,/(\w+).+(:[^]+)/,R+"box-$1$2"+x+"flex-$1$2")+t;case 5443:return R+t+x+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return R+t+x+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return R+t+x+s(t,"shrink","negative")+t;case 5292:return R+t+x+s(t,"basis","preferred-size")+t;case 6060:return R+"box-"+s(t,"-grow","")+R+t+x+s(t,"grow","positive")+t;case 4554:return R+s(t,/([^-])(transform)/g,"$1"+R+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,R+"$1"),/(image-set)/,R+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,R+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,R+"box-pack:$3"+x+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+R+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,R+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-r>6)switch(l(t,r+1)){case 109:if(45!==l(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+R+"$2-$3$1"+O+(108==l(t,r+3)?"$3":"$2-$3"))+t;case 115:return~u(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==l(t,r+1))break;case 6444:switch(l(t,f(t)-3-(~u(t,"!important")&&10))){case 107:return s(t,":",":"+R)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+R+(45===l(t,14)?"inline-":"")+"box$3$1"+R+"$2$3$1"+x+"$2box$3")+t}break;case 5936:switch(l(t,r+11)){case 114:return R+t+x+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return R+t+x+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return R+t+x+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return R+t+x+t+t}return t}(e.value,e.length);break;case T:return M([w(e,{value:s(e.value,"@","@"+R)})],n);case A:if(e.length){var i,o;return i=e.props,o=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return M([w(e,{props:[s(t,/:(read-\w+)/,":"+O+"$1")]})],n);case"::placeholder":return M([w(e,{props:[s(t,/:(plac\w+)/,":"+R+"input-$1")]}),w(e,{props:[s(t,/:(plac\w+)/,":"+O+"$1")]}),w(e,{props:[s(t,/:(plac\w+)/,x+"input-$1")]})],n)}return""},i.map(o).join("")}}}],q=function(e){var t,r,i,a,v,w=e.key;if("css"===w){var x=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(x,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var O=e.stylisPlugins||B,R={},A=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+w+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)R[t[r]]=!0;A.push(e)});var I=(r=(t=[$,W].concat(O,[z,(i=function(e){v.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,n,i,o){for(var a="",s=0;s<r;s++)a+=t[s](e,n,i,o)||"";return a}),T=function(e){var t,r;return M((r=function e(t,r,n,i,a,v,w,_,x){for(var O,R=0,A=0,I=w,T=0,M=0,z=0,D=1,U=1,N=1,F=0,$="",W=a,B=v,q=i,Y=$;U;)switch(z=F,F=S()){case 40:if(108!=z&&58==l(Y,I-1)){-1!=u(Y+=s(P(F),"&","&\f"),"&\f")&&(N=-1);break}case 34:case 39:case 91:Y+=P(F);break;case 9:case 10:case 13:case 32:Y+=function(e){for(;y=E();)if(y<33)S();else break;return k(e)>2||k(y)>3?"":" "}(z);break;case 92:Y+=function(e,t){for(var r;--t&&S()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return r=g+(t<6&&32==E()&&32==S()),c(m,e,r)}(g-1,7);continue;case 47:switch(E()){case 42:case 47:p((O=function(e,t){for(;S();)if(e+y===57)break;else if(e+y===84&&47===E())break;return"/*"+c(m,t,g-1)+"*"+o(47===e?e:S())}(S(),g),b(O,r,n,C,o(y),c(O,2,-2),0)),x);break;default:Y+="/"}break;case 123*D:_[R++]=f(Y)*N;case 125*D:case 59:case 0:switch(F){case 0:case 125:U=0;case 59+A:-1==N&&(Y=s(Y,/\f/g,"")),M>0&&f(Y)-I&&p(M>32?L(Y+";",i,n,I-1):L(s(Y," ","")+";",i,n,I-2),x);break;case 59:Y+=";";default:if(p(q=j(Y,r,n,R,A,a,_,$,W=[],B=[],I),v),123===F)if(0===A)e(Y,r,q,q,W,v,I,_,B);else switch(99===T&&110===l(Y,3)?100:T){case 100:case 108:case 109:case 115:e(t,q,q,i&&p(j(t,q,q,0,0,a,_,$,a,W=[],I),B),a,B,I,_,i?W:B);break;default:e(Y,q,q,q,[""],B,0,_,B)}}R=A=M=0,D=N=1,$=Y="",I=w;break;case 58:I=1+f(Y),M=z;default:if(D<1){if(123==F)--D;else if(125==F&&0==D++&&125==(y=g>0?l(m,--g):0,d--,10===y&&(d=1,h--),y))continue}switch(Y+=o(F),F*D){case 38:N=A>0?1:(Y+="\f",-1);break;case 44:_[R++]=(f(Y)-1)*N,N=1;break;case 64:45===E()&&(Y+=P(S())),T=E(),A=I=f($=Y+=function(e){for(;!k(E());)S();return c(m,e,g)}(g)),F++;break;case 45:45===z&&2==f(Y)&&(D=0)}}return v}("",null,null,null,[""],t=_(t=e),0,[0],t),m="",r),I)},D={key:w,sheet:new n({key:w,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:R,registered:{},insert:function(e,t,r,n){v=r,T(e?e+"{"+t.styles+"}":t.styles),n&&(D.inserted[t.name]=!0)}};return D.sheet.hydrate(A),D}},55418:function(e,t,r){r.d(t,{E:()=>w,h:()=>f,a:()=>g,c:()=>m,C:()=>h}),r(98114),r(22501),r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412),r(88711),r(58910);var n,i=r(35074),o=r(71785);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)}var s=r(65980),u=r(64559),l=r(70399),c=r(97063),f={}.hasOwnProperty,p=i.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null),h=p.Provider,d=i.createContext({}),v=(0,s.A)(function(e){return(0,s.A)(function(t){var r,n;return r=e,"function"==typeof(n=t)?n(r):a({},r,n)})}),g=function(e){var t=i.useContext(d);return e.theme!==t&&(t=v(t)(e.theme)),i.createElement(d.Provider,{value:t},e.children)},y="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(e,t){var r={};for(var n in t)f.call(t,n)&&(r[n]=t[n]);return r[y]=e,r},b=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,u.SF)(t,r,n),(0,c.s)(function(){return(0,u.sk)(t,r,n)}),null},w=(n=function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var o=e[y],a=[n],s="";"string"==typeof e.className?s=(0,u.Rk)(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var c=(0,l.J)(a,void 0,i.useContext(d));s+=t.key+"-"+c.name;var p={};for(var h in e)f.call(e,h)&&"css"!==h&&h!==y&&(p[h]=e[h]);return p.ref=r,p.className=s,i.createElement(i.Fragment,null,i.createElement(b,{cache:t,serialized:c,isStringTag:"string"==typeof o}),i.createElement(o,p))},(0,i.forwardRef)(function(e,t){return n(e,(0,i.useContext)(p),t)}))},14518:function(e,t,r){r.d(t,{FD:()=>s,FK:()=>o,Y:()=>a});var n=r(36842),i=r(55418);r(35074),r(71785),r(65980),r(68863),r(64559),r(70399),r(97063);var o=n.Fragment;function a(e,t,r){return i.h.call(t,"css")?n.jsx(i.E,(0,i.c)(e,t),r):n.jsx(e,t,r)}function s(e,t,r){return i.h.call(t,"css")?n.jsxs(i.E,(0,i.c)(e,t),r):n.jsxs(e,t,r)}},70399:function(e,t,r){r.d(t,{J:()=>v}),r(22501),r(58910),r(98114);var n,i,o,a={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},s=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},f=(n=function(e){return l(e)?e:e.replace(s,"-$&").toLowerCase()},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=n(e)),i[e]}),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(u,function(e,t,r){return o={name:t,styles:r,next:o},t})}return 1===a[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function h(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return o={name:r.name,styles:r.styles,next:o},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)o={name:n.name,styles:n.styles,next:o},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=h(e,t,r[i])+";";else for(var o in r){var a=r[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":c(a)&&(n+=f(o)+":"+p(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)c(a[s])&&(n+=f(o)+":"+p(o,a[s])+";");else{var u=h(e,t,a);switch(o){case"animation":case"animationName":n+=f(o)+":"+u+";";break;default:n+=o+"{"+u+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var i=o,a=r(e);return o=i,h(e,t,a)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var d=/label:\s*([^\s;{]+)\s*(;|$)/g;function v(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n,i=!0,a="";o=void 0;var s=e[0];null==s||void 0===s.raw?(i=!1,a+=h(r,t,s)):a+=s[0];for(var u=1;u<e.length;u++)a+=h(r,t,e[u]),i&&(a+=s[u]);d.lastIndex=0;for(var l="";null!==(n=d.exec(a));)l+="-"+n[1];return{name:function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+l,styles:a,next:o}}},97063:function(e,t,r){r.d(t,{s:()=>a});var n,i=r(35074),o=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,a=o||function(e){return e()};o||i.useLayoutEffect},64559:function(e,t,r){function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r.d(t,{Rk:()=>n,SF:()=>i,sk:()=>o}),r(22501),r(19161),r(41730),r(10676);var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},o=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}}},65980:function(e,t,r){r.d(t,{A:()=>n}),r(88711);var n=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}}},68863:function(e,t,r){var n=r(92243),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(d){var i=h(r);i&&i!==d&&e(t,i,n)}var a=c(r);f&&(a=a.concat(f(r)));for(var s=u(t),v=u(r),g=0;g<a.length;++g){var y=a[g];if(!o[y]&&!(n&&n[y])&&!(v&&v[y])&&!(s&&s[y])){var m=p(r,y);try{l(t,y,m)}catch(e){}}}}return t}},36983:function(e,t){var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,m=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case f:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case g:case v:case u:return e;default:return t}}case i:return t}}}function E(e){return S(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=n,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=v,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return E(e)||S(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return S(e)===p},t.isFragment=function(e){return S(e)===o},t.isLazy=function(e){return S(e)===g},t.isMemo=function(e){return S(e)===v},t.isPortal=function(e){return S(e)===i},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===h||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===m||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=S},92243:function(e,t,r){e.exports=r(36983)},79234:function(e,t,r){var n=r(35074),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,o={},l=null,c=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!u.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:l,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=l,t.jsxs=l},69709:function(e,t,r){r(88711),r(98114),r(22501),r(58910),r(10676);var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.iterator,v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function m(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||v}function b(){}function w(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||v}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=m.prototype;var S=w.prototype=new b;S.constructor=w,g(S,m.prototype),S.isPureReactComponent=!0;var E=Array.isArray,k=Object.prototype.hasOwnProperty,_={current:null},P={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,i)&&!P.hasOwnProperty(i)&&(o[i]=t[i]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(i in u=e.defaultProps)void 0===o[i]&&(o[i]=u[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:_.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var R=/\/+/g;function C(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function A(e,t,r){if(null==e)return e;var o=[],a=0;return!function e(t,r,o,a,s){var u,l,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var p=!1;if(null===t)p=!0;else switch(f){case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case n:case i:p=!0}}if(p)return s=s(p=t),t=""===a?"."+C(p,0):a,E(s)?(o="",null!=t&&(o=t.replace(R,"$&/")+"/"),e(s,r,o,"",function(e){return e})):null!=s&&(O(s)&&(u=s,l=o+(!s.key||p&&p.key===s.key?"":(""+s.key).replace(R,"$&/")+"/")+t,s={$$typeof:n,type:u.type,key:l,ref:u.ref,props:u.props,_owner:u._owner}),r.push(s)),1;if(p=0,a=""===a?".":a+":",E(t))for(var h=0;h<t.length;h++){var v=a+C(f=t[h],h);p+=e(f,r,o,v,s)}else if("function"==typeof(v=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=d&&c[d]||c["@@iterator"])?c:null))for(t=v.call(t),h=0;!(f=t.next()).done;)v=a+C(f=f.value,h++),p+=e(f,r,o,v,s);else if("object"===f)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return p}(e,o,"","",function(e){return t.call(r,e,a++)}),o}function I(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var T={current:null},M={transition:null};function z(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:A,forEach:function(e,t,r){A(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=m,t.Fragment=o,t.Profiler=s,t.PureComponent=w,t.StrictMode=a,t.Suspense=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:M,ReactCurrentOwner:_},t.act=z,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=g({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)k.call(t,l)&&!P.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){u=Array(l);for(var c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=M.transition;M.transition={};try{e()}finally{M.transition=t}},t.unstable_act=z,t.useCallback=function(e,t){return T.current.useCallback(e,t)},t.useContext=function(e){return T.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return T.current.useDeferredValue(e)},t.useEffect=function(e,t){return T.current.useEffect(e,t)},t.useId=function(){return T.current.useId()},t.useImperativeHandle=function(e,t,r){return T.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return T.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return T.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return T.current.useMemo(e,t)},t.useReducer=function(e,t,r){return T.current.useReducer(e,t,r)},t.useRef=function(e){return T.current.useRef(e)},t.useState=function(e){return T.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return T.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return T.current.useTransition()},t.version="18.3.1"},35074:function(e,t,r){e.exports=r(69709)},36842:function(e,t,r){e.exports=r(79234)},49248:function(e,t,r){var n=r(5331),i=r(78849),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a function")}},10638:function(e,t,r){var n=r(53975),i=r(78849),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a constructor")}},67956:function(e,t,r){var n=r(20807),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},59470:function(e,t,r){var n=r(18872).has;e.exports=function(e){return n(e),e}},70031:function(e,t,r){var n=r(53001),i=r(13554),o=r(58131).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},7787:function(e,t,r){var n=r(18793).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},56381:function(e,t,r){var n=r(95863),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},18989:function(e,t,r){var n=r(53744),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not an object")}},68921:function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},73004:function(e,t,r){var n=r(18274),i=r(10928),o=r(19990),a=n.ArrayBuffer,s=n.TypeError;e.exports=a&&i(a.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==o(e))throw new s("ArrayBuffer expected");return e.byteLength}},14580:function(e,t,r){var n=r(18274),i=r(68921),o=r(73004),a=n.DataView;e.exports=function(e){if(!i||0!==o(e))return!1;try{return new a(e),!1}catch(e){return!0}}},51191:function(e,t,r){var n=r(14580),i=TypeError;e.exports=function(e){if(n(e))throw new i("ArrayBuffer is detached");return e}},9482:function(e,t,r){var n=r(18274),i=r(43362),o=r(10928),a=r(57454),s=r(51191),u=r(73004),l=r(18697),c=r(18758),f=n.structuredClone,p=n.ArrayBuffer,h=n.DataView,d=Math.min,v=p.prototype,g=h.prototype,y=i(v.slice),m=o(v,"resizable","get"),b=o(v,"maxByteLength","get"),w=i(g.getInt8),S=i(g.setInt8);e.exports=(c||l)&&function(e,t,r){var n,i=u(e),o=void 0===t?i:a(t),v=!m||!m(e);if(s(e),c&&(e=f(e,{transfer:[e]}),i===o&&(r||v)))return e;if(i>=o&&(!r||v))n=y(e,0,o);else{n=new p(o,r&&!v&&b?{maxByteLength:b(e)}:void 0);for(var g=new h(e),E=new h(n),k=d(o,i),_=0;_<k;_++)S(E,_,w(g,_))}return c||l(e),n}},92326:function(e,t,r){var n,i,o,a=r(68921),s=r(58358),u=r(18274),l=r(5331),c=r(53744),f=r(62083),p=r(51353),h=r(78849),d=r(43877),v=r(46930),g=r(4800),y=r(95863),m=r(63749),b=r(94009),w=r(53001),S=r(22066),E=r(49563),k=E.enforce,_=E.get,P=u.Int8Array,x=P&&P.prototype,O=u.Uint8ClampedArray,R=O&&O.prototype,C=P&&m(P),A=x&&m(x),I=Object.prototype,T=u.TypeError,M=w("toStringTag"),z=S("TYPED_ARRAY_TAG"),j="TypedArrayConstructor",L=a&&!!b&&"Opera"!==p(u.opera),D=!1,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},F=function(e){var t=m(e);if(c(t)){var r=_(t);return r&&f(r,j)?r[j]:F(t)}},$=function(e){if(!c(e))return!1;var t=p(e);return f(U,t)||f(N,t)};for(n in U)(o=(i=u[n])&&i.prototype)?k(o)[j]=i:L=!1;for(n in N)(o=(i=u[n])&&i.prototype)&&(k(o)[j]=i);if((!L||!l(C)||C===Function.prototype)&&(C=function(){throw new T("Incorrect invocation")},L))for(n in U)u[n]&&b(u[n],C);if((!L||!A||A===I)&&(A=C.prototype,L))for(n in U)u[n]&&b(u[n].prototype,A);if(L&&m(R)!==A&&b(R,A),s&&!f(A,M))for(n in D=!0,g(A,M,{configurable:!0,get:function(){return c(this)?this[z]:void 0}}),U)u[n]&&d(u[n],z,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:D&&z,aTypedArray:function(e){if($(e))return e;throw new T("Target is not a typed array")},aTypedArrayConstructor:function(e){if(l(e)&&(!b||y(C,e)))return e;throw new T(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(s){if(r)for(var i in U){var o=u[i];if(o&&f(o.prototype,e))try{delete o.prototype[e]}catch(r){try{o.prototype[e]=t}catch(e){}}}(!A[e]||r)&&v(A,e,r?t:L&&x[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(s){if(b){if(r){for(n in U)if((i=u[n])&&f(i,e))try{delete i[e]}catch(e){}}if(C[e]&&!r)return;try{return v(C,e,r?t:L&&C[e]||t)}catch(e){}}for(n in U)(i=u[n])&&(!i[e]||r)&&v(i,e,t)}},getTypedArrayConstructor:F,isView:function(e){if(!c(e))return!1;var t=p(e);return"DataView"===t||f(U,t)||f(N,t)},isTypedArray:$,TypedArray:C,TypedArrayPrototype:A}},86600:function(e,t,r){var n=r(18274),i=r(43362),o=r(58358),a=r(68921),s=r(13512),u=r(43877),l=r(4800),c=r(56337),f=r(9329),p=r(56381),h=r(16869),d=r(17468),v=r(57454),g=r(31563),y=r(2168),m=r(63749),b=r(94009),w=r(51508),S=r(2554),E=r(96581),k=r(19774),_=r(47309),P=r(49563),x=s.PROPER,O=s.CONFIGURABLE,R="ArrayBuffer",C="DataView",A="prototype",I="Wrong index",T=P.getterFor(R),M=P.getterFor(C),z=P.set,j=n[R],L=j,D=L&&L[A],U=n[C],N=U&&U[A],F=Object.prototype,$=n.Array,W=n.RangeError,B=i(w),q=i([].reverse),Y=y.pack,K=y.unpack,V=function(e){return[255&e]},H=function(e){return[255&e,e>>8&255]},G=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Q=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},J=function(e){return Y(g(e),23,4)},Z=function(e){return Y(e,52,8)},X=function(e,t,r){l(e[A],t,{configurable:!0,get:function(){return r(this)[t]}})},ee=function(e,t,r,n){var i=M(e),o=v(r);if(o+t>i.byteLength)throw new W(I);var a=i.bytes,s=o+i.byteOffset,u=S(a,s,s+t);return n?u:q(u)},et=function(e,t,r,n,i,o){var a=M(e),s=v(r),u=n(+i),l=!!o;if(s+t>a.byteLength)throw new W(I);for(var c=a.bytes,f=s+a.byteOffset,p=0;p<t;p++)c[f+p]=u[l?p:t-p-1]};if(a){var er=x&&j.name!==R;!f(function(){j(1)})||!f(function(){new j(-1)})||f(function(){return new j,new j(1.5),new j(NaN),1!==j.length||er&&!O})?((L=function(e){return p(this,D),E(new j(v(e)),this,L)})[A]=D,D.constructor=L,k(L,j)):er&&O&&u(j,"name",R),b&&m(N)!==F&&b(N,F);var en=new U(new L(2)),ei=i(N.setInt8);en.setInt8(0,0x80000000),en.setInt8(1,0x80000001),(en.getInt8(0)||!en.getInt8(1))&&c(N,{setInt8:function(e,t){ei(this,e,t<<24>>24)},setUint8:function(e,t){ei(this,e,t<<24>>24)}},{unsafe:!0})}else D=(L=function(e){p(this,D);var t=v(e);z(this,{type:R,bytes:B($(t),0),byteLength:t}),o||(this.byteLength=t,this.detached=!1)})[A],N=(U=function(e,t,r){p(this,N),p(e,D);var n=T(e),i=n.byteLength,a=h(t);if(a<0||a>i)throw new W("Wrong offset");if(r=void 0===r?i-a:d(r),a+r>i)throw new W("Wrong length");z(this,{type:C,buffer:e,byteLength:r,byteOffset:a,bytes:n.bytes}),o||(this.buffer=e,this.byteLength=r,this.byteOffset=a)})[A],o&&(X(L,"byteLength",T),X(U,"buffer",M),X(U,"byteLength",M),X(U,"byteOffset",M)),c(N,{getInt8:function(e){return ee(this,1,e)[0]<<24>>24},getUint8:function(e){return ee(this,1,e)[0]},getInt16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return Q(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return Q(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return K(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return K(ee(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){et(this,1,e,V,t)},setUint8:function(e,t){et(this,1,e,V,t)},setInt16:function(e,t){et(this,2,e,H,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){et(this,2,e,H,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){et(this,4,e,G,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){et(this,4,e,G,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){et(this,4,e,J,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){et(this,8,e,Z,t,arguments.length>2&&arguments[2])}});_(L,R),_(U,C),e.exports={ArrayBuffer:L,DataView:U}},51508:function(e,t,r){var n=r(18563),i=r(19272),o=r(14408);e.exports=function(e){for(var t=n(this),r=o(t),a=arguments.length,s=i(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,l=void 0===u?r:i(u,r);l>s;)t[s++]=e;return t}},54728:function(e,t,r){var n=r(14408);e.exports=function(e,t,r){for(var i=0,o=arguments.length>2?r:n(t),a=new e(o);o>i;)a[i]=t[i++];return a}},50182:function(e,t,r){var n=r(94138),i=r(74327),o=r(18563),a=r(68205),s=r(57291),u=r(53975),l=r(14408),c=r(29718),f=r(85759),p=r(881),h=Array;e.exports=function(e){var t,r,d,v,g,y,m=o(e),b=u(this),w=arguments.length,S=w>1?arguments[1]:void 0,E=void 0!==S;E&&(S=n(S,w>2?arguments[2]:void 0));var k=p(m),_=0;if(k&&!(this===h&&s(k)))for(r=b?new this:[],g=(v=f(m,k)).next;!(d=i(g,v)).done;_++)y=E?a(v,S,[d.value,_],!0):d.value,c(r,_,y);else for(t=l(m),r=b?new this(t):h(t);t>_;_++)y=E?S(m[_],_):m[_],c(r,_,y);return r.length=_,r}},70771:function(e,t,r){var n=r(24999),i=r(19272),o=r(14408),a=function(e){return function(t,r,a){var s,u=n(t),l=o(u);if(0===l)return!e&&-1;var c=i(a,l);if(e&&r!=r){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},77373:function(e,t,r){var n=r(94138),i=r(63457),o=r(18563),a=r(14408),s=function(e){var t=1===e;return function(r,s,u){for(var l,c=o(r),f=i(c),p=a(f),h=n(s,u);p-- >0;)if(h(l=f[p],p,c))switch(e){case 0:return l;case 1:return p}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},62747:function(e,t,r){var n=r(94138),i=r(43362),o=r(63457),a=r(18563),s=r(14408),u=r(89007),l=i([].push),c=function(e){var t=1===e,r=2===e,i=3===e,c=4===e,f=6===e,p=7===e,h=5===e||f;return function(d,v,g,y){for(var m,b,w=a(d),S=o(w),E=s(S),k=n(v,g),_=0,P=y||u,x=t?P(d,E):r||p?P(d,0):void 0;E>_;_++)if((h||_ in S)&&(b=k(m=S[_],_,w),e))if(t)x[_]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return _;case 2:l(x,m)}else switch(e){case 4:return!1;case 7:l(x,m)}return f?-1:i||c?c:x}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},35608:function(e,t,r){var n=r(9329);e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}},51228:function(e,t,r){var n=r(49248),i=r(18563),o=r(63457),a=r(14408),s=TypeError,u="Reduce of empty array with no initial value",l=function(e){return function(t,r,l,c){var f=i(t),p=o(f),h=a(f);if(n(r),0===h&&l<2)throw new s(u);var d=e?h-1:0,v=e?-1:1;if(l<2)for(;;){if(d in p){c=p[d],d+=v;break}if(d+=v,e?d<0:h<=d)throw new s(u)}for(;e?d>=0:h>d;d+=v)d in p&&(c=r(c,p[d],d,f));return c}};e.exports={left:l(!1),right:l(!0)}},50033:function(e,t,r){var n=r(58358),i=r(82426),o=TypeError,a=Object.getOwnPropertyDescriptor;e.exports=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(i(e)&&!a(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},2554:function(e,t,r){e.exports=r(43362)([].slice)},99666:function(e,t,r){var n=r(2554),i=Math.floor,o=function(e,t){var r=e.length;if(r<8)for(var a,s,u=1;u<r;){for(s=u,a=e[u];s&&t(e[s-1],a)>0;)e[s]=e[--s];s!==u++&&(e[s]=a)}else for(var l=i(r/2),c=o(n(e,0,l),t),f=o(n(e,l),t),p=c.length,h=f.length,d=0,v=0;d<p||v<h;)e[d+v]=d<p&&v<h?0>=t(c[d],f[v])?c[d++]:f[v++]:d<p?c[d++]:f[v++];return e};e.exports=o},32927:function(e,t,r){var n=r(82426),i=r(53975),o=r(53744),a=r(53001)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(i(t=e.constructor)&&(t===s||n(t.prototype))?t=void 0:o(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?s:t}},89007:function(e,t,r){var n=r(32927);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},59418:function(e,t,r){var n=r(14408);e.exports=function(e,t){for(var r=n(e),i=new t(r),o=0;o<r;o++)i[o]=e[r-o-1];return i}},44394:function(e,t,r){var n=r(14408),i=r(16869),o=RangeError;e.exports=function(e,t,r,a){var s=n(e),u=i(r),l=u<0?s+u:u;if(l>=s||l<0)throw new o("Incorrect index");for(var c=new t(s),f=0;f<s;f++)c[f]=f===l?a:e[f];return c}},68205:function(e,t,r){var n=r(18989),i=r(36441);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},94234:function(e,t,r){var n=r(53001)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(e){}return r}},19990:function(e,t,r){var n=r(43362),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},51353:function(e,t,r){var n=r(44746),i=r(5331),o=r(19990),a=r(53001)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(e){}};e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=l(t=s(e),a))?r:u?o(t):"Object"===(n=o(t))&&i(t.callee)?"Arguments":n}},19774:function(e,t,r){var n=r(62083),i=r(73201),o=r(21993),a=r(58131);e.exports=function(e,t,r){for(var s=i(t),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];n(e,f)||r&&n(r,f)||u(e,f,l(t,f))}}},64665:function(e,t,r){e.exports=!r(9329)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},7991:function(e){e.exports=function(e,t){return{value:e,done:t}}},43877:function(e,t,r){var n=r(58358),i=r(58131),o=r(99685);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},99685:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},29718:function(e,t,r){var n=r(58358),i=r(58131),o=r(99685);e.exports=function(e,t,r){n?i.f(e,t,o(0,r)):e[t]=r}},4800:function(e,t,r){var n=r(83281),i=r(58131);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},46930:function(e,t,r){var n=r(5331),i=r(58131),o=r(83281),a=r(29127);e.exports=function(e,t,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:t;if(n(r)&&o(r,l,s),s.global)u?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},56337:function(e,t,r){var n=r(46930);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},29127:function(e,t,r){var n=r(18274),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},58358:function(e,t,r){e.exports=!r(9329)(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},18697:function(e,t,r){var n,i,o,a,s=r(18274),u=r(26371),l=r(18758),c=s.structuredClone,f=s.ArrayBuffer,p=s.MessageChannel,h=!1;if(l)h=function(e){c(e,{transfer:[e]})};else if(f)try{!p&&(n=u("worker_threads"))&&(p=n.MessageChannel),p&&(i=new p,o=new f(2),a=function(e){i.port1.postMessage(null,[e])},2===o.byteLength&&(a(o),0===o.byteLength&&(h=a)))}catch(e){}e.exports=h},80993:function(e,t,r){var n=r(18274),i=r(53744),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},21179:function(e){var t=TypeError;e.exports=function(e){if(e>0x1fffffffffffff)throw t("Maximum allowed index exceeded");return e}},49580:function(e){e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},55314:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},26102:function(e,t,r){var n=r(80993)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},18589:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},96247:function(e,t,r){var n=r(29117).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},69117:function(e,t,r){var n=r(29117);e.exports=/MSIE|Trident/.test(n)},50519:function(e,t,r){var n=r(29117);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},26826:function(e,t,r){var n=r(29117);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},18159:function(e,t,r){e.exports="NODE"===r(90385)},36742:function(e,t,r){var n=r(29117);e.exports=/web0s(?!.*chrome)/i.test(n)},29117:function(e,t,r){var n=r(18274).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},37429:function(e,t,r){var n,i,o=r(18274),a=r(29117),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},86053:function(e,t,r){var n=r(29117).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},90385:function(e,t,r){var n=r(18274),i=r(29117),o=r(19990),a=function(e){return i.slice(0,e.length)===e};e.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===o(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},14423:function(e,t,r){var n=r(43362),i=Error,o=n("".replace),a=String(new i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);e.exports=function(e,t){if(u&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,s,"");return e}},83177:function(e,t,r){var n=r(43877),i=r(14423),o=r(59541),a=Error.captureStackTrace;e.exports=function(e,t,r,s){o&&(a?a(e,t):n(e,"stack",i(r,s)))}},59541:function(e,t,r){var n=r(9329),i=r(99685);e.exports=!n(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)})},3692:function(e,t,r){var n=r(18274),i=r(21993).f,o=r(43877),a=r(46930),s=r(29127),u=r(19774),l=r(81714);e.exports=function(e,t){var r,c,f,p,h,d=e.target,v=e.global,g=e.stat;if(r=v?n:g?n[d]||s(d,{}):n[d]&&n[d].prototype)for(c in t){if(p=t[c],f=e.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!l(v?c:d+(g?".":"#")+c,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(e.sham||f&&f.sham)&&o(p,"sham",!0),a(r,c,p,e)}}},9329:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},26454:function(e,t,r){r(22501);var n=r(74327),i=r(46930),o=r(69321),a=r(9329),s=r(53001),u=r(43877),l=s("species"),c=RegExp.prototype;e.exports=function(e,t,r,f){var p=s(e),h=!a(function(){var t={};return t[p]=function(){return 7},7!==""[e](t)}),d=h&&!a(function(){var t=!1,r=/a/;if("split"===e){var n={};n[l]=function(){return r},(r={constructor:n,flags:""})[p]=/./[p]}return r.exec=function(){return t=!0,null},r[p](""),!t});if(!h||!d||r){var v=/./[p],g=t(p,""[e],function(e,t,r,i,a){var s=t.exec;return s===o||s===c.exec?h&&!a?{done:!0,value:n(v,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}});i(String.prototype,e,g[0]),i(c,p,g[1])}f&&u(c[p],"sham",!0)}},29251:function(e,t,r){var n=r(21242),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},94138:function(e,t,r){var n=r(23186),i=r(49248),o=r(21242),a=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},21242:function(e,t,r){e.exports=!r(9329)(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},74327:function(e,t,r){var n=r(21242),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},13512:function(e,t,r){var n=r(58358),i=r(62083),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&(!n||n&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:s&&"something"===(function(){}).name,CONFIGURABLE:u}},10928:function(e,t,r){var n=r(43362),i=r(49248);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},23186:function(e,t,r){var n=r(19990),i=r(43362);e.exports=function(e){if("Function"===n(e))return i(e)}},43362:function(e,t,r){var n=r(21242),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);e.exports=n?a:function(e){return function(){return o.apply(e,arguments)}}},26371:function(e,t,r){var n=r(18274),i=r(18159);e.exports=function(e){if(i){try{return n.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},48281:function(e,t,r){var n=r(18274),i=r(5331);e.exports=function(e,t){var r;return arguments.length<2?i(r=n[e])?r:void 0:n[e]&&n[e][t]}},23697:function(e){e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},881:function(e,t,r){var n=r(51353),i=r(88732),o=r(84295),a=r(7599),s=r(53001)("iterator");e.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[n(e)]}},85759:function(e,t,r){var n=r(74327),i=r(49248),o=r(18989),a=r(78849),s=r(881),u=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(i(r))return o(n(r,e));throw new u(a(e)+" is not iterable")}},88732:function(e,t,r){var n=r(49248),i=r(84295);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},51523:function(e,t,r){var n=r(49248),i=r(18989),o=r(74327),a=r(16869),s=r(23697),u="Invalid size",l=RangeError,c=TypeError,f=Math.max,p=function(e,t){this.set=e,this.size=f(t,0),this.has=n(e.has),this.keys=n(e.keys)};p.prototype={getIterator:function(){return s(i(o(this.keys,this.set)))},includes:function(e){return o(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw new c(u);var r=a(t);if(r<0)throw new l(u);return new p(e,r)}},98588:function(e,t,r){var n=r(43362),i=r(18563),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,p){var h=r+e.length,d=n.length,v=c;return void 0!==f&&(f=i(f),v=l),s(p,v,function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,r);case"'":return u(t,h);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>d){var p=o(c/10);if(0===p)return i;if(p<=d)return void 0===n[p-1]?a(s,1):n[p-1]+a(s,1);return i}l=n[c-1]}return void 0===l?"":l})}},18274:function(e,t,r){var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},62083:function(e,t,r){var n=r(43362),i=r(18563),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},75947:function(e){e.exports={}},64531:function(e){e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},68467:function(e,t,r){e.exports=r(48281)("document","documentElement")},11823:function(e,t,r){var n=r(58358),i=r(9329),o=r(80993);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},2168:function(e){var t=Array,r=Math.abs,n=Math.pow,i=Math.floor,o=Math.log,a=Math.LN2;e.exports={pack:function(e,s,u){var l,c,f,p=t(u),h=8*u-s-1,d=(1<<h)-1,v=d>>1,g=23===s?n(2,-24)-n(2,-77):0,y=+(e<0||0===e&&1/e<0),m=0;for((e=r(e))!=e||e===1/0?(c=+(e!=e),l=d):(f=n(2,-(l=i(o(e)/a))),e*f<1&&(l--,f*=2),l+v>=1?e+=g/f:e+=g*n(2,1-v),e*f>=2&&(l++,f/=2),l+v>=d?(c=0,l=d):l+v>=1?(c=(e*f-1)*n(2,s),l+=v):(c=e*n(2,v-1)*n(2,s),l=0));s>=8;)p[m++]=255&c,c/=256,s-=8;for(l=l<<s|c,h+=s;h>0;)p[m++]=255&l,l/=256,h-=8;return p[m-1]|=128*y,p},unpack:function(e,t){var r,i=e.length,o=8*i-t-1,a=(1<<o)-1,s=a>>1,u=o-7,l=i-1,c=e[l--],f=127&c;for(c>>=7;u>0;)f=256*f+e[l--],u-=8;for(r=f&(1<<-u)-1,f>>=-u,u+=t;u>0;)r=256*r+e[l--],u-=8;if(0===f)f=1-s;else{if(f===a)return r?NaN:c?-1/0:1/0;r+=n(2,t),f-=s}return(c?-1:1)*r*n(2,f-t)}}},63457:function(e,t,r){var n=r(43362),i=r(9329),o=r(19990),a=Object,s=n("".split);e.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"===o(e)?s(e,""):a(e)}:a},96581:function(e,t,r){var n=r(5331),i=r(53744),o=r(94009);e.exports=function(e,t,r){var a,s;return o&&n(a=t.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(e,s),e}},7836:function(e,t,r){var n=r(43362),i=r(5331),o=r(97007),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},37034:function(e,t,r){var n=r(53744),i=r(43877);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},49563:function(e,t,r){var n,i,o,a=r(99436),s=r(18274),u=r(53744),l=r(43877),c=r(62083),f=r(97007),p=r(60713),h=r(75947),d="Object already initialized",v=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw new v(d);return t.facade=e,y.set(e,t),t},i=function(e){return y.get(e)||{}},o=function(e){return y.has(e)}}else{var m=p("state");h[m]=!0,n=function(e,t){if(c(e,m))throw new v(d);return t.facade=e,l(e,m,t),t},i=function(e){return c(e,m)?e[m]:{}},o=function(e){return c(e,m)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw new v("Incompatible receiver, "+e+" required");return r}}}},57291:function(e,t,r){var n=r(53001),i=r(7599),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},82426:function(e,t,r){var n=r(19990);e.exports=Array.isArray||function(e){return"Array"===n(e)}},70861:function(e,t,r){var n=r(51353);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},5331:function(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},53975:function(e,t,r){var n=r(43362),i=r(9329),o=r(5331),a=r(51353),s=r(48281),u=r(7836),l=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=n(f.exec),h=!f.test(l),d=function(e){if(!o(e))return!1;try{return c(l,[],e),!0}catch(e){return!1}},v=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(f,u(e))}catch(e){return!0}};v.sham=!0,e.exports=!c||i(function(){var e;return d(d.call)||!d(Object)||!d(function(){e=!0})||e})?v:d},81714:function(e,t,r){var n=r(9329),i=r(5331),o=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r===c||r!==l&&(i(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},75201:function(e,t,r){var n=r(53744),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},84295:function(e){e.exports=function(e){return null==e}},53744:function(e,t,r){var n=r(5331);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},20807:function(e,t,r){var n=r(53744);e.exports=function(e){return n(e)||null===e}},90877:function(e){e.exports=!1},98874:function(e,t,r){var n=r(53744),i=r(19990),o=r(53001)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},75959:function(e,t,r){var n=r(48281),i=r(5331),o=r(95863),a=r(35190),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,s(e))}},53753:function(e,t,r){var n=r(74327);e.exports=function(e,t,r){for(var i,o,a=r?e:e.iterator,s=e.next;!(i=n(s,a)).done;)if(void 0!==(o=t(i.value)))return o}},79994:function(e,t,r){var n=r(94138),i=r(74327),o=r(18989),a=r(78849),s=r(57291),u=r(14408),l=r(95863),c=r(85759),f=r(881),p=r(36441),h=TypeError,d=function(e,t){this.stopped=e,this.result=t},v=d.prototype;e.exports=function(e,t,r){var g,y,m,b,w,S,E,k=r&&r.that,_=!!(r&&r.AS_ENTRIES),P=!!(r&&r.IS_RECORD),x=!!(r&&r.IS_ITERATOR),O=!!(r&&r.INTERRUPTED),R=n(t,k),C=function(e){return g&&p(g,"normal"),new d(!0,e)},A=function(e){return _?(o(e),O?R(e[0],e[1],C):R(e[0],e[1])):O?R(e,C):R(e)};if(P)g=e.iterator;else if(x)g=e;else{if(!(y=f(e)))throw new h(a(e)+" is not iterable");if(s(y)){for(m=0,b=u(e);b>m;m++)if((w=A(e[m]))&&l(v,w))return w;return new d(!1)}g=c(e,y)}for(S=P?e.next:g.next;!(E=i(S,g)).done;){try{w=A(E.value)}catch(e){p(g,"throw",e)}if("object"==typeof w&&w&&l(v,w))return w}return new d(!1)}},98359:function(e,t,r){var n=r(36441);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},36441:function(e,t,r){var n=r(74327),i=r(18989),o=r(88732);e.exports=function(e,t,r){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw r;if(s)throw a;return i(a),r}},63048:function(e,t,r){var n=r(84899).IteratorPrototype,i=r(13554),o=r(99685),a=r(47309),s=r(7599),u=function(){return this};e.exports=function(e,t,r,l){var c=t+" Iterator";return e.prototype=i(n,{next:o(+!l,r)}),a(e,c,!1,!0),s[c]=u,e}},26988:function(e,t,r){var n=r(74327),i=r(13554),o=r(43877),a=r(56337),s=r(53001),u=r(49563),l=r(88732),c=r(84899).IteratorPrototype,f=r(7991),p=r(36441),h=r(98359),d=s("toStringTag"),v="IteratorHelper",g="WrapForValidIterator",y="normal",m="throw",b=u.set,w=function(e){var t=u.getterFor(e?g:v);return a(i(c),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return f(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:f(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var o=l(i,"return");return o?n(o,i):f(void 0,!0)}if(r.inner)try{p(r.inner.iterator,y)}catch(e){return p(i,m,e)}if(r.openIters)try{h(r.openIters,y)}catch(e){return p(i,m,e)}return i&&p(i,y),f(void 0,!0)}})},S=w(!0),E=w(!1);o(E,d,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?g:v,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,b(this,i)};return n.prototype=t?S:E,n}},88374:function(e,t,r){var n=r(3692),i=r(74327),o=r(90877),a=r(13512),s=r(5331),u=r(63048),l=r(63749),c=r(94009),f=r(47309),p=r(43877),h=r(46930),d=r(53001),v=r(7599),g=r(84899),y=a.PROPER,m=a.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,S=d("iterator"),E="keys",k="values",_="entries",P=function(){return this};e.exports=function(e,t,r,a,d,g,x){u(r,t,a);var O,R,C,A=function(e){if(e===d&&j)return j;if(!w&&e&&e in M)return M[e];switch(e){case E:case k:case _:return function(){return new r(this,e)}}return function(){return new r(this)}},I=t+" Iterator",T=!1,M=e.prototype,z=M[S]||M["@@iterator"]||d&&M[d],j=!w&&z||A(d),L="Array"===t&&M.entries||z;if(L&&(O=l(L.call(new e)))!==Object.prototype&&O.next&&(!o&&l(O)!==b&&(c?c(O,b):s(O[S])||h(O,S,P)),f(O,I,!0,!0),o&&(v[I]=P)),y&&d===k&&z&&z.name!==k&&(!o&&m?p(M,"name",k):(T=!0,j=function(){return i(z,this)})),d)if(R={values:A(k),keys:g?j:A(E),entries:A(_)},x)for(C in R)!w&&!T&&C in M||h(M,C,R[C]);else n({target:t,proto:!0,forced:w||T},R);return(!o||x)&&M[S]!==j&&h(M,S,j,{name:d}),v[t]=j,R}},29622:function(e){e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},73035:function(e,t,r){var n=r(18274);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,o=i&&i[e],a=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){a=!0}},-1)}catch(e){e instanceof t||(a=!1)}if(!a)return o}},84899:function(e,t,r){var n,i,o,a=r(9329),s=r(5331),u=r(53744),l=r(13554),c=r(63749),f=r(46930),p=r(53001),h=r(90877),d=p("iterator"),v=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):v=!0),!u(n)||a(function(){var e={};return n[d].call(e)!==e})?n={}:h&&(n=l(n)),s(n[d])||f(n,d,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},7599:function(e){e.exports={}},14408:function(e,t,r){var n=r(17468);e.exports=function(e){return n(e.length)}},83281:function(e,t,r){var n=r(43362),i=r(9329),o=r(5331),a=r(62083),s=r(58358),u=r(13512).CONFIGURABLE,l=r(7836),c=r(49563),f=c.enforce,p=c.get,h=String,d=Object.defineProperty,v=n("".slice),g=n("".replace),y=n([].join),m=s&&!i(function(){return 8!==d(function(){},"length",{value:8}).length}),b=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===v(h(t),0,7)&&(t="["+g(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),m&&r&&a(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return a(n,"source")||(n.source=y(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w(function(){return o(this)&&p(this).source||l(this)},"toString")},67798:function(e,t,r){var n=r(86252),i=r(24184),o=Math.abs;e.exports=function(e,t,r,a){var s=+e,u=o(s),l=n(s);if(u<a)return l*i(u/a/t)*a*t;var c=(1+t/2220446049250313e-31)*u,f=c-(c-u);return f>r||f!=f?1/0*l:l*f}},31563:function(e,t,r){var n=r(67798);e.exports=Math.fround||function(e){return n(e,11920928955078125e-23,34028234663852886e22,11754943508222875e-54)}},24184:function(e){e.exports=function(e){return e+0x10000000000000-0x10000000000000}},86252:function(e){e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},80207:function(e){var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},25473:function(e,t,r){var n,i,o,a,s,u=r(18274),l=r(32291),c=r(94138),f=r(40999).set,p=r(65051),h=r(26826),d=r(50519),v=r(36742),g=r(18159),y=u.MutationObserver||u.WebKitMutationObserver,m=u.document,b=u.process,w=u.Promise,S=l("queueMicrotask");if(!S){var E=new p,k=function(){var e,t;for(g&&(e=b.domain)&&e.exit();t=E.get();)try{t()}catch(e){throw E.head&&n(),e}e&&e.enter()};h||g||v||!y||!m?!d&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=c(a.then,a),n=function(){s(k)}):g?n=function(){b.nextTick(k)}:(f=c(f,u),n=function(){f(k)}):(i=!0,o=m.createTextNode(""),new y(k).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),S=function(e){E.head||n(),E.add(e)}}e.exports=S},79933:function(e,t,r){var n=r(49248),i=TypeError,o=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},15689:function(e,t,r){var n=r(66061);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},52359:function(e,t,r){var n=r(58358),i=r(43362),o=r(74327),a=r(9329),s=r(10850),u=r(69507),l=r(35603),c=r(18563),f=r(63457),p=Object.assign,h=Object.defineProperty,d=i([].concat);e.exports=!p||a(function(){if(n&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(e){t[e]=e}),7!==p({},e)[r]||s(p({},t)).join("")!==i})?function(e,t){for(var r=c(e),i=arguments.length,a=1,p=u.f,h=l.f;i>a;)for(var v,g=f(arguments[a++]),y=p?d(s(g),p(g)):s(g),m=y.length,b=0;m>b;)v=y[b++],(!n||o(h,g,v))&&(r[v]=g[v]);return r}:p},13554:function(e,t,r){var n,i=r(18989),o=r(91391),a=r(18589),s=r(75947),u=r(68467),l=r(80993),c=r(60713),f="prototype",p="script",h=c("IE_PROTO"),d=function(){},v=function(e){return"<"+p+">"+e+"</"+p+">"},g=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=l("iframe");return t.style.display="none",u.appendChild(t),t.src=String("java"+p+":"),(e=t.contentWindow.document).open(),e.write(v("document.F=Object")),e.close(),e.F},m=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}m="undefined"!=typeof document?document.domain&&n?g(n):y():g(n);for(var e=a.length;e--;)delete m[f][a[e]];return m()};s[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(d[f]=i(e),r=new d,d[f]=null,r[h]=e):r=m(),void 0===t?r:o.f(r,t)}},91391:function(e,t,r){var n=r(58358),i=r(80576),o=r(58131),a=r(18989),s=r(24999),u=r(10850);t.f=n&&!i?Object.defineProperties:function(e,t){a(e);for(var r,n=s(t),i=u(t),l=i.length,c=0;l>c;)o.f(e,r=i[c++],n[r]);return e}},58131:function(e,t,r){var n=r(58358),i=r(11823),o=r(80576),a=r(18989),s=r(42863),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";t.f=n?o?function(e,t,r){if(a(e),t=s(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=c(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(a(e),t=s(t),a(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},21993:function(e,t,r){var n=r(58358),i=r(74327),o=r(35603),a=r(99685),s=r(24999),u=r(42863),l=r(62083),c=r(11823),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=u(t),c)try{return f(e,t)}catch(e){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},15694:function(e,t,r){var n=r(8270),i=r(18589).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},69507:function(e,t){t.f=Object.getOwnPropertySymbols},63749:function(e,t,r){var n=r(62083),i=r(5331),o=r(18563),a=r(60713),s=r(64665),u=a("IE_PROTO"),l=Object,c=l.prototype;e.exports=s?l.getPrototypeOf:function(e){var t=o(e);if(n(t,u))return t[u];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?c:null}},95863:function(e,t,r){e.exports=r(43362)({}.isPrototypeOf)},8270:function(e,t,r){var n=r(43362),i=r(62083),o=r(24999),a=r(70771).indexOf,s=r(75947),u=n([].push);e.exports=function(e,t){var r,n=o(e),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;t.length>l;)i(n,r=t[l++])&&(~a(c,r)||u(c,r));return c}},10850:function(e,t,r){var n=r(8270),i=r(18589);e.exports=Object.keys||function(e){return n(e,i)}},35603:function(e,t){var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;t.f=n&&!r.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},94009:function(e,t,r){var n=r(10928),i=r(53744),o=r(85288),a=r(67956);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),a(n),i(r)&&(t?e(r,n):r.__proto__=n),r}}():void 0)},5060:function(e,t,r){var n=r(74327),i=r(5331),o=r(53744),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!o(s=n(r,e))||i(r=e.valueOf)&&!o(s=n(r,e))||"string"!==t&&i(r=e.toString)&&!o(s=n(r,e)))return s;throw new a("Can't convert object to primitive value")}},73201:function(e,t,r){var n=r(48281),i=r(43362),o=r(15694),a=r(69507),s=r(18989),u=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=a.f;return r?u(t,r(e)):t}},30005:function(e,t,r){e.exports=r(18274)},15449:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},2294:function(e,t,r){var n=r(18274),i=r(89448),o=r(5331),a=r(81714),s=r(7836),u=r(53001),l=r(90385),c=r(90877),f=r(37429),p=i&&i.prototype,h=u("species"),d=!1,v=o(n.PromiseRejectionEvent);e.exports={CONSTRUCTOR:a("Promise",function(){var e=s(i),t=e!==String(i);if(!t&&66===f||c&&!(p.catch&&p.finally))return!0;if(!f||f<51||!/native code/.test(e)){var r=new i(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[h]=n,!(d=r.then(function(){})instanceof n))return!0}return!t&&("BROWSER"===l||"DENO"===l)&&!v}),REJECTION_EVENT:v,SUBCLASSING:d}},89448:function(e,t,r){e.exports=r(18274).Promise},25044:function(e,t,r){var n=r(18989),i=r(53744),o=r(79933);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},54583:function(e,t,r){var n=r(89448),i=r(94234);e.exports=r(2294).CONSTRUCTOR||!i(function(e){n.all(e).then(void 0,function(){})})},36294:function(e,t,r){var n=r(58131).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},65051:function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},86852:function(e,t,r){var n=r(74327),i=r(18989),o=r(5331),a=r(19990),s=r(69321),u=TypeError;e.exports=function(e,t){var r=e.exec;if(o(r)){var l=n(r,e,t);return null!==l&&i(l),l}if("RegExp"===a(e))return n(s,e,t);throw new u("RegExp#exec called on incompatible receiver")}},69321:function(e,t,r){var n,i,o=r(74327),a=r(43362),s=r(66061),u=r(92069),l=r(12531),c=r(94831),f=r(13554),p=r(49563).get,h=r(72245),d=r(66072),v=c("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,y=g,m=a("".charAt),b=a("".indexOf),w=a("".replace),S=a("".slice),E=(i=/b*/g,o(g,n=/a/,"a"),o(g,i,"a"),0!==n.lastIndex||0!==i.lastIndex),k=l.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(E||_||k||h||d)&&(y=function(e){var t,r,n,i,a,l,c,h=p(this),d=s(e),P=h.raw;if(P)return P.lastIndex=this.lastIndex,t=o(y,P,d),this.lastIndex=P.lastIndex,t;var x=h.groups,O=k&&this.sticky,R=o(u,this),C=this.source,A=0,I=d;if(O&&(-1===b(R=w(R,"y",""),"g")&&(R+="g"),I=S(d,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==m(d,this.lastIndex-1))&&(C="(?: "+C+")",I=" "+I,A++),r=RegExp("^(?:"+C+")",R)),_&&(r=RegExp("^"+C+"$(?!\\s)",R)),E&&(n=this.lastIndex),i=o(g,O?r:this,I),O?i?(i.input=S(i.input,A),i[0]=S(i[0],A),i.index=this.lastIndex,this.lastIndex+=i[0].length):this.lastIndex=0:E&&i&&(this.lastIndex=this.global?i.index+i[0].length:n),_&&i&&i.length>1&&o(v,i[0],r,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)}),i&&x)for(a=0,i.groups=l=f(null);a<x.length;a++)l[(c=x[a])[0]]=i[c[1]];return i}),e.exports=y},29531:function(e,t,r){var n=r(18274),i=r(9329),o=n.RegExp;e.exports={correct:!i(function(){var e=!0;try{o(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(a.hasIndices="d"),a)i(s,a[s]);return Object.getOwnPropertyDescriptor(o.prototype,"flags").get.call(t)!==n||r!==n})}},92069:function(e,t,r){var n=r(18989);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},16896:function(e,t,r){var n=r(74327),i=r(62083),o=r(95863),a=r(29531),s=r(92069),u=RegExp.prototype;e.exports=a.correct?function(e){return e.flags}:function(e){return!a.correct&&o(u,e)&&!i(e,"flags")?n(s,e):e.flags}},12531:function(e,t,r){var n=r(9329),i=r(18274).RegExp,o=n(function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),a=o||n(function(){return!i("a","y").sticky});e.exports={BROKEN_CARET:o||n(function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}),MISSED_STICKY:a,UNSUPPORTED_Y:o}},72245:function(e,t,r){var n=r(9329),i=r(18274).RegExp;e.exports=n(function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},66072:function(e,t,r){var n=r(9329),i=r(18274).RegExp;e.exports=n(function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},85288:function(e,t,r){var n=r(84295),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},32291:function(e,t,r){var n=r(18274),i=r(58358),o=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=o(n,e);return t&&t.value}},47648:function(e,t,r){var n=r(18872),i=r(31567),o=n.Set,a=n.add;e.exports=function(e){var t=new o;return i(e,function(e){a(t,e)}),t}},4014:function(e,t,r){var n=r(59470),i=r(18872),o=r(47648),a=r(26428),s=r(51523),u=r(31567),l=r(53753),c=i.has,f=i.remove;e.exports=function(e){var t=n(this),r=s(e),i=o(t);return a(t)<=r.size?u(t,function(e){r.includes(e)&&f(i,e)}):l(r.getIterator(),function(e){c(i,e)&&f(i,e)}),i}},18872:function(e,t,r){var n=r(43362),i=Set.prototype;e.exports={Set:Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},91880:function(e,t,r){var n=r(59470),i=r(18872),o=r(26428),a=r(51523),s=r(31567),u=r(53753),l=i.Set,c=i.add,f=i.has;e.exports=function(e){var t=n(this),r=a(e),i=new l;return o(t)>r.size?u(r.getIterator(),function(e){f(t,e)&&c(i,e)}):s(t,function(e){r.includes(e)&&c(i,e)}),i}},40019:function(e,t,r){var n=r(59470),i=r(18872).has,o=r(26428),a=r(51523),s=r(31567),u=r(53753),l=r(36441);e.exports=function(e){var t=n(this),r=a(e);if(o(t)<=r.size)return!1!==s(t,function(e){if(r.includes(e))return!1},!0);var c=r.getIterator();return!1!==u(c,function(e){if(i(t,e))return l(c,"normal",!1)})}},25224:function(e,t,r){var n=r(59470),i=r(26428),o=r(31567),a=r(51523);e.exports=function(e){var t=n(this),r=a(e);return!(i(t)>r.size)&&!1!==o(t,function(e){if(!r.includes(e))return!1},!0)}},21649:function(e,t,r){var n=r(59470),i=r(18872).has,o=r(26428),a=r(51523),s=r(53753),u=r(36441);e.exports=function(e){var t=n(this),r=a(e);if(o(t)<r.size)return!1;var l=r.getIterator();return!1!==s(l,function(e){if(!i(t,e))return u(l,"normal",!1)})}},31567:function(e,t,r){var n=r(43362),i=r(53753),o=r(18872),a=o.Set,s=o.proto,u=n(s.forEach),l=n(s.keys),c=l(new a).next;e.exports=function(e,t,r){return r?i({iterator:l(e),next:c},t):u(e,t)}},96930:function(e,t,r){var n=r(48281),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},o=function(e){return{size:e,has:function(){return!0},keys:function(){throw Error("e")}}};e.exports=function(e,t){var r=n("Set");try{new r()[e](i(0));try{return new r()[e](i(-1)),!1}catch(n){if(!t)return!0;try{return new r()[e](o(-1/0)),!1}catch(n){var a=new r([1,2]);return t(a[e](o(1/0)))}}}catch(e){return!1}}},42661:function(e){e.exports=function(e){try{var t=new Set,r=t[e]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return 1===r.size&&4===r.values().next().value}catch(e){return!1}}},26428:function(e,t,r){e.exports=r(10928)(r(18872).proto,"size","get")||function(e){return e.size}},22187:function(e,t,r){var n=r(48281),i=r(4800),o=r(53001),a=r(58358),s=o("species");e.exports=function(e){var t=n(e);a&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},86500:function(e,t,r){var n=r(59470),i=r(18872),o=r(47648),a=r(51523),s=r(53753),u=i.add,l=i.has,c=i.remove;e.exports=function(e){var t=n(this),r=a(e).getIterator(),i=o(t);return s(r,function(e){l(t,e)?c(i,e):u(i,e)}),i}},47309:function(e,t,r){var n=r(58131).f,i=r(62083),o=r(53001)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},39830:function(e,t,r){var n=r(59470),i=r(18872).add,o=r(47648),a=r(51523),s=r(53753);e.exports=function(e){var t=n(this),r=a(e).getIterator(),u=o(t);return s(r,function(e){i(u,e)}),u}},60713:function(e,t,r){var n=r(94831),i=r(22066),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},97007:function(e,t,r){var n=r(90877),i=r(18274),o=r(29127),a="__core-js_shared__",s=e.exports=i[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.47.0",mode:n?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},94831:function(e,t,r){var n=r(97007);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},38027:function(e,t,r){var n=r(18989),i=r(10638),o=r(84295),a=r(53001)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||o(r=n(s)[a])?t:i(r)}},18793:function(e,t,r){var n=r(43362),i=r(16869),o=r(66061),a=r(85288),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(e){return function(t,r){var n,c,f=o(a(t)),p=i(r),h=f.length;return p<0||p>=h?e?"":void 0:(n=u(f,p))<55296||n>56319||p+1===h||(c=u(f,p+1))<56320||c>57343?e?s(f,p):n:e?l(f,p,p+2):(n-55296<<10)+(c-56320)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},88083:function(e,t,r){var n=r(43362),i=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",s=RangeError,u=n(o.exec),l=Math.floor,c=String.fromCharCode,f=n("".charCodeAt),p=n([].join),h=n([].push),d=n("".replace),v=n("".split),g=n("".toLowerCase),y=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=f(e,r++);if(i>=55296&&i<=56319&&r<n){var o=f(e,r++);(64512&o)==56320?h(t,((1023&i)<<10)+(1023&o)+65536):(h(t,i),r--)}else h(t,i)}return t},m=function(e){return e+22+75*(e<26)},b=function(e,t,r){var n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),n+=36;return l(n+36*e/(e+38))},w=function(e){var t,r,n=[],i=(e=y(e)).length,o=128,u=0,f=72;for(t=0;t<e.length;t++)(r=e[t])<128&&h(n,c(r));var d=n.length,v=d;for(d&&h(n,"-");v<i;){var g=0x7fffffff;for(t=0;t<e.length;t++)(r=e[t])>=o&&r<g&&(g=r);var w=v+1;if(g-o>l((0x7fffffff-u)/w))throw new s(a);for(u+=(g-o)*w,o=g,t=0;t<e.length;t++){if((r=e[t])<o&&++u>0x7fffffff)throw new s(a);if(r===o){for(var S=u,E=36;;){var k=E<=f?1:E>=f+26?26:E-f;if(S<k)break;var _=S-k,P=36-k;h(n,c(m(k+_%P))),S=l(_/P),E+=36}h(n,c(m(S))),f=b(u,w,v===d),u=0,v++}}u++,o++}return p(n,"")};e.exports=function(e){var t,r,n=[],a=v(d(g(e),o,"."),".");for(t=0;t<a.length;t++)h(n,u(i,r=a[t])?"xn--"+w(r):r);return p(n,".")}},18758:function(e,t,r){var n=r(18274),i=r(9329),o=r(37429),a=r(90385),s=n.structuredClone;e.exports=!!s&&!i(function(){if("DENO"===a&&o>92||"NODE"===a&&o>94||"BROWSER"===a&&o>97)return!1;var e=new ArrayBuffer(8),t=s(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})},89621:function(e,t,r){var n=r(37429),i=r(9329),o=r(18274).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},40999:function(e,t,r){var n,i,o,a,s=r(18274),u=r(29251),l=r(94138),c=r(5331),f=r(62083),p=r(9329),h=r(68467),d=r(2554),v=r(80993),g=r(24362),y=r(26826),m=r(18159),b=s.setImmediate,w=s.clearImmediate,S=s.process,E=s.Dispatch,k=s.Function,_=s.MessageChannel,P=s.String,x=0,O={},R="onreadystatechange";p(function(){n=s.location});var C=function(e){if(f(O,e)){var t=O[e];delete O[e],t()}},A=function(e){return function(){C(e)}},I=function(e){C(e.data)},T=function(e){s.postMessage(P(e),n.protocol+"//"+n.host)};b&&w||(b=function(e){g(arguments.length,1);var t=c(e)?e:k(e),r=d(arguments,1);return O[++x]=function(){u(t,void 0,r)},i(x),x},w=function(e){delete O[e]},m?i=function(e){S.nextTick(A(e))}:E&&E.now?i=function(e){E.now(A(e))}:_&&!y?(a=(o=new _).port2,o.port1.onmessage=I,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!p(T)?(i=T,s.addEventListener("message",I,!1)):i=R in v("script")?function(e){h.appendChild(v("script"))[R]=function(){h.removeChild(this),C(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:b,clear:w}},19272:function(e,t,r){var n=r(16869),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},8636:function(e,t,r){var n=r(84699),i=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},57454:function(e,t,r){var n=r(16869),i=r(17468),o=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw new o("Wrong length or index");return r}},24999:function(e,t,r){var n=r(63457),i=r(85288);e.exports=function(e){return n(i(e))}},16869:function(e,t,r){var n=r(80207);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},17468:function(e,t,r){var n=r(16869),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,0x1fffffffffffff):0}},18563:function(e,t,r){var n=r(85288),i=Object;e.exports=function(e){return i(n(e))}},83035:function(e,t,r){var n=r(3036),i=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new i("Wrong offset");return r}},3036:function(e,t,r){var n=r(16869),i=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new i("The argument can't be less than 0");return t}},84699:function(e,t,r){var n=r(74327),i=r(53744),o=r(75959),a=r(88732),s=r(5060),u=r(53001),l=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,u=a(e,c);if(u){if(void 0===t&&(t="default"),!i(r=n(u,e,t))||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},42863:function(e,t,r){var n=r(84699),i=r(75959);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},44746:function(e,t,r){var n=r(53001)("toStringTag"),i={};i[n]="z",e.exports="[object z]"===String(i)},66061:function(e,t,r){var n=r(51353),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},44001:function(e){var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},78849:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},34281:function(e,t,r){var n=r(3692),i=r(18274),o=r(74327),a=r(58358),s=r(46579),u=r(92326),l=r(86600),c=r(56381),f=r(99685),p=r(43877),h=r(75201),d=r(17468),v=r(57454),g=r(83035),y=r(44001),m=r(42863),b=r(62083),w=r(51353),S=r(53744),E=r(75959),k=r(13554),_=r(95863),P=r(94009),x=r(15694).f,O=r(52909),R=r(62747).forEach,C=r(22187),A=r(4800),I=r(58131),T=r(21993),M=r(54728),z=r(49563),j=r(96581),L=z.get,D=z.set,U=z.enforce,N=I.f,F=T.f,$=i.RangeError,W=l.ArrayBuffer,B=W.prototype,q=l.DataView,Y=u.NATIVE_ARRAY_BUFFER_VIEWS,K=u.TYPED_ARRAY_TAG,V=u.TypedArray,H=u.TypedArrayPrototype,G=u.isTypedArray,Q="BYTES_PER_ELEMENT",J="Wrong length",Z=function(e,t){A(e,t,{configurable:!0,get:function(){return L(this)[t]}})},X=function(e){var t;return _(B,e)||"ArrayBuffer"===(t=w(e))||"SharedArrayBuffer"===t},ee=function(e,t){return G(e)&&!E(t)&&t in e&&h(+t)&&t>=0},et=function(e,t){return ee(e,t=m(t))?f(2,e[t]):F(e,t)},er=function(e,t,r){return ee(e,t=m(t))&&S(r)&&b(r,"value")&&!b(r,"get")&&!b(r,"set")&&!r.configurable&&(!b(r,"writable")||r.writable)&&(!b(r,"enumerable")||r.enumerable)?(e[t]=r.value,e):N(e,t,r)};a?(Y||(T.f=et,I.f=er,Z(H,"buffer"),Z(H,"byteOffset"),Z(H,"byteLength"),Z(H,"length")),n({target:"Object",stat:!0,forced:!Y},{getOwnPropertyDescriptor:et,defineProperty:er}),e.exports=function(e,t,r){var a=e.match(/\d+/)[0]/8,u=e+(r?"Clamped":"")+"Array",l="get"+e,f="set"+e,h=i[u],m=h,b=m&&m.prototype,w={},E=function(e,t){var r=L(e);return r.view[l](t*a+r.byteOffset,!0)},_=function(e,t,n){var i=L(e);i.view[f](t*a+i.byteOffset,r?y(n):n,!0)},A=function(e,t){N(e,t,{get:function(){return E(this,t)},set:function(e){return _(this,t,e)},enumerable:!0})};Y?s&&(m=t(function(e,t,r,n){return c(e,b),j(S(t)?X(t)?void 0!==n?new h(t,g(r,a),n):void 0!==r?new h(t,g(r,a)):new h(t):G(t)?M(m,t):o(O,m,t):new h(v(t)),e,m)}),P&&P(m,V),R(x(h),function(e){e in m||p(m,e,h[e])}),m.prototype=b):(m=t(function(e,t,r,n){c(e,b);var i,s,u,l=0,f=0;if(S(t))if(X(t)){i=t,f=g(r,a);var p=t.byteLength;if(void 0===n){if(p%a||(s=p-f)<0)throw new $(J)}else if((s=d(n)*a)+f>p)throw new $(J);u=s/a}else if(G(t))return M(m,t);else return o(O,m,t);else i=new W(s=(u=v(t))*a);for(D(e,{buffer:i,byteOffset:f,byteLength:s,length:u,view:new q(i)});l<u;)A(e,l++)}),P&&P(m,V),b=m.prototype=k(H)),b.constructor!==m&&p(b,"constructor",m),U(b).TypedArrayConstructor=m,K&&p(b,K,u);var I=m!==h;w[u]=m,n({global:!0,constructor:!0,forced:I,sham:!Y},w),Q in m||p(m,Q,a),Q in b||p(b,Q,a),C(u)}):e.exports=function(){}},46579:function(e,t,r){var n=r(18274),i=r(9329),o=r(94234),a=r(92326).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,u=n.Int8Array;e.exports=!a||!i(function(){u(1)})||!i(function(){new u(-1)})||!o(function(e){new u,new u(null),new u(1.5),new u(e)},!0)||i(function(){return 1!==new u(new s(2),1,void 0).length})},52909:function(e,t,r){var n=r(94138),i=r(74327),o=r(10638),a=r(18563),s=r(14408),u=r(85759),l=r(881),c=r(57291),f=r(70861),p=r(92326).aTypedArrayConstructor,h=r(8636);e.exports=function(e){var t,r,d,v,g,y,m,b,w=o(this),S=a(e),E=arguments.length,k=E>1?arguments[1]:void 0,_=void 0!==k,P=l(S);if(P&&!c(P))for(b=(m=u(S,P)).next,S=[];!(y=i(b,m)).done;)S.push(y.value);for(_&&E>2&&(k=n(k,arguments[2])),r=s(S),v=f(d=new(p(w))(r)),t=0;r>t;t++)g=_?k(S[t],t):S[t],d[t]=v?h(g):+g;return d}},22066:function(e,t,r){var n=r(43362),i=0,o=Math.random(),a=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},69954:function(e,t,r){var n=r(9329),i=r(53001),o=r(58358),a=r(90877),s=i("iterator");e.exports=!n(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),r.delete("a",2),r.delete("b",void 0),a&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(a||!o)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})},35190:function(e,t,r){e.exports=r(89621)&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},80576:function(e,t,r){var n=r(58358),i=r(9329);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},24362:function(e){var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},99436:function(e,t,r){var n=r(18274),i=r(5331),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},53001:function(e,t,r){var n=r(18274),i=r(94831),o=r(62083),a=r(22066),s=r(89621),u=r(35190),l=n.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;e.exports=function(e){return o(c,e)||(c[e]=s&&o(l,e)?l[e]:f("Symbol."+e)),c[e]}},71431:function(e,t,r){var n=r(48281),i=r(62083),o=r(43877),a=r(95863),s=r(94009),u=r(19774),l=r(36294),c=r(96581),f=r(15689),p=r(37034),h=r(83177),d=r(58358),v=r(90877);e.exports=function(e,t,r,g){var y="stackTraceLimit",m=g?2:1,b=e.split("."),w=b[b.length-1],S=n.apply(null,b);if(S){var E=S.prototype;if(!v&&i(E,"cause")&&delete E.cause,!r)return S;var k=n("Error"),_=t(function(e,t){var r=f(g?t:e,void 0),n=g?new S(e):new S;return void 0!==r&&o(n,"message",r),h(n,_,n.stack,2),this&&a(E,this)&&c(n,this,_),arguments.length>m&&p(n,arguments[m]),n});if(_.prototype=E,"Error"!==w?s?s(_,k):u(_,k,{name:!0}):d&&y in S&&(l(_,S,y),l(_,S,"prepareStackTrace")),u(_,S),!v)try{E.name!==w&&o(E,"name",w),E.constructor=_}catch(e){}return _}}},65595:function(e,t,r){var n=r(58358),i=r(4800),o=r(14580),a=ArrayBuffer.prototype;!n||"detached"in a||i(a,"detached",{configurable:!0,get:function(){return o(this)}})},4214:function(e,t,r){var n=r(3692),i=r(9482);i&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},16418:function(e,t,r){var n=r(3692),i=r(9482);i&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},30945:function(e,t,r){var n=r(3692),i=r(70771).includes,o=r(9329),a=r(70031);n({target:"Array",proto:!0,forced:o(function(){return![,].includes()})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},78906:function(e,t,r){var n=r(24999),i=r(70031),o=r(7599),a=r(49563),s=r(58131).f,u=r(88374),l=r(7991),c=r(90877),f=r(58358),p="Array Iterator",h=a.set,d=a.getterFor(p);e.exports=u(Array,"Array",function(e,t){h(this,{type:p,target:n(e),index:0,kind:t})},function(){var e=d(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,l(void 0,!0);switch(e.kind){case"keys":return l(r,!1);case"values":return l(t[r],!1)}return l([r,t[r]],!1)},"values");var v=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==v.name)try{s(v,"name",{value:"values"})}catch(e){}},10676:function(e,t,r){var n=r(3692),i=r(18563),o=r(14408),a=r(50033),s=r(21179);n({target:"Array",proto:!0,arity:1,forced:r(9329)(function(){return 0x100000001!==[].push.call({length:0x100000000},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=i(this),r=o(t),n=arguments.length;s(r+n);for(var u=0;u<n;u++)t[r]=arguments[u],r++;return a(t,r),r}})},58814:function(e,t,r){var n=r(3692),i=r(51228).left,o=r(35608),a=r(37429);n({target:"Array",proto:!0,forced:!r(18159)&&a>79&&a<83||!o("reduce")},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},3568:function(e,t,r){r(70031)("flat")},98114:function(e,t,r){var n=r(3692),i=r(18274),o=r(29251),a=r(71431),s="WebAssembly",u=i[s],l=7!==Error("e",{cause:7}).cause,c=function(e,t){var r={};r[e]=a(e,t,l),n({global:!0,constructor:!0,arity:1,forced:l},r)},f=function(e,t){if(u&&u[e]){var r={};r[e]=a(s+"."+e,t,l),n({target:s,stat:!0,constructor:!0,arity:1,forced:l},r)}};c("Error",function(e){return function(t){return o(e,this,arguments)}}),c("EvalError",function(e){return function(t){return o(e,this,arguments)}}),c("RangeError",function(e){return function(t){return o(e,this,arguments)}}),c("ReferenceError",function(e){return function(t){return o(e,this,arguments)}}),c("SyntaxError",function(e){return function(t){return o(e,this,arguments)}}),c("TypeError",function(e){return function(t){return o(e,this,arguments)}}),c("URIError",function(e){return function(t){return o(e,this,arguments)}}),f("CompileError",function(e){return function(t){return o(e,this,arguments)}}),f("LinkError",function(e){return function(t){return o(e,this,arguments)}}),f("RuntimeError",function(e){return function(t){return o(e,this,arguments)}})},19161:function(e,t,r){var n=r(3692),i=r(18274),o=r(56381),a=r(18989),s=r(5331),u=r(63749),l=r(4800),c=r(29718),f=r(9329),p=r(62083),h=r(53001),d=r(84899).IteratorPrototype,v=r(58358),g=r(90877),y="constructor",m="Iterator",b=h("toStringTag"),w=TypeError,S=i[m],E=g||!s(S)||S.prototype!==d||!f(function(){S({})}),k=function(){if(o(this,d),u(this)===d)throw new w("Abstract class Iterator not directly constructable")},_=function(e,t){v?l(d,e,{configurable:!0,get:function(){return t},set:function(t){if(a(this),this===d)throw new w("You can't redefine this property");p(this,e)?this[e]=t:c(this,e,t)}}):d[e]=t};p(d,b)||_(b,m),(E||!p(d,y)||d[y]===Object)&&_(y,k),k.prototype=d,n({global:!0,constructor:!0,forced:E},{Iterator:k})},52678:function(e,t,r){var n=r(3692),i=r(74327),o=r(79994),a=r(49248),s=r(18989),u=r(23697),l=r(36441),c=r(73035)("every",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{every:function(e){s(this);try{a(e)}catch(e){l(this,"throw",e)}if(c)return i(c,this,e);var t=u(this),r=0;return!o(t,function(t,n){if(!e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},95055:function(e,t,r){var n=r(3692),i=r(74327),o=r(49248),a=r(18989),s=r(23697),u=r(26988),l=r(68205),c=r(90877),f=r(36441),p=r(29622),h=r(73035),d=!c&&!p("filter",function(){}),v=!c&&!d&&h("filter",TypeError),g=c||d||v,y=u(function(){for(var e,t,r=this.iterator,n=this.predicate,o=this.next;;){if(e=a(i(o,r)),this.done=!!e.done)return;if(l(r,n,[t=e.value,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:g},{filter:function(e){a(this);try{o(e)}catch(e){f(this,"throw",e)}return v?i(v,this,e):new y(s(this),{predicate:e})}})},85074:function(e,t,r){var n=r(3692),i=r(74327),o=r(79994),a=r(49248),s=r(18989),u=r(23697),l=r(36441),c=r(73035)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{find:function(e){s(this);try{a(e)}catch(e){l(this,"throw",e)}if(c)return i(c,this,e);var t=u(this),r=0;return o(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},41730:function(e,t,r){var n=r(3692),i=r(74327),o=r(79994),a=r(49248),s=r(18989),u=r(23697),l=r(36441),c=r(73035)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{forEach:function(e){s(this);try{a(e)}catch(e){l(this,"throw",e)}if(c)return i(c,this,e);var t=u(this),r=0;o(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},22239:function(e,t,r){var n=r(3692),i=r(74327),o=r(49248),a=r(18989),s=r(23697),u=r(26988),l=r(68205),c=r(36441),f=r(29622),p=r(73035),h=r(90877),d=!h&&!f("map",function(){}),v=!h&&!d&&p("map",TypeError),g=h||d||v,y=u(function(){var e=this.iterator,t=a(i(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(e){a(this);try{o(e)}catch(e){c(this,"throw",e)}return v?i(v,this,e):new y(s(this),{mapper:e})}})},8451:function(e,t,r){var n=r(3692),i=r(79994),o=r(49248),a=r(18989),s=r(23697),u=r(36441),l=r(73035),c=r(29251),f=r(9329),p=TypeError,h=f(function(){[].keys().reduce(function(){},void 0)}),d=!h&&l("reduce",p);n({target:"Iterator",proto:!0,real:!0,forced:h||d},{reduce:function(e){a(this);try{o(e)}catch(e){u(this,"throw",e)}var t=arguments.length<2,r=t?void 0:arguments[1];if(d)return c(d,this,t?[e]:[e,r]);var n=s(this),l=0;if(i(n,function(n){t?(t=!1,r=n):r=e(r,n,l),l++},{IS_RECORD:!0}),t)throw new p("Reduce of empty iterator with no initial value");return r}})},89305:function(e,t,r){var n=r(3692),i=r(74327),o=r(79994),a=r(49248),s=r(18989),u=r(23697),l=r(36441),c=r(73035)("some",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{some:function(e){s(this);try{a(e)}catch(e){l(this,"throw",e)}if(c)return i(c,this,e);var t=u(this),r=0;return o(t,function(t,n){if(e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},96433:function(e,t,r){var n=r(3692),i=r(74327),o=r(49248),a=r(79933),s=r(15449),u=r(79994);n({target:"Promise",stat:!0,forced:r(54583)},{all:function(e){var t=this,r=a.f(t),n=r.resolve,l=r.reject,c=s(function(){var r=o(t.resolve),a=[],s=0,c=1;u(e,function(e){var o=s++,u=!1;c++,i(r,t,e).then(function(e){!u&&(u=!0,a[o]=e,--c||n(a))},l)}),--c||n(a)});return c.error&&l(c.value),r.promise}})},26945:function(e,t,r){var n=r(3692),i=r(90877),o=r(2294).CONSTRUCTOR,a=r(89448),s=r(48281),u=r(5331),l=r(46930),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},76474:function(e,t,r){var n,i,o,a,s=r(3692),u=r(90877),l=r(18159),c=r(18274),f=r(30005),p=r(74327),h=r(46930),d=r(94009),v=r(47309),g=r(22187),y=r(49248),m=r(5331),b=r(53744),w=r(56381),S=r(38027),E=r(40999).set,k=r(25473),_=r(64531),P=r(15449),x=r(65051),O=r(49563),R=r(89448),C=r(2294),A=r(79933),I="Promise",T=C.CONSTRUCTOR,M=C.REJECTION_EVENT,z=C.SUBCLASSING,j=O.getterFor(I),L=O.set,D=R&&R.prototype,U=R,N=D,F=c.TypeError,$=c.document,W=c.process,B=A.f,q=B,Y=!!($&&$.createEvent&&c.dispatchEvent),K="unhandledrejection",V=function(e){var t;return!!(b(e)&&m(t=e.then))&&t},H=function(e,t){var r,n,i,o=t.value,a=1===t.state,s=a?e.ok:e.fail,u=e.resolve,l=e.reject,c=e.domain;try{s?(a||(2===t.rejection&&X(t),t.rejection=1),!0===s?r=o:(c&&c.enter(),r=s(o),c&&(c.exit(),i=!0)),r===e.promise?l(new F("Promise-chain cycle")):(n=V(r))?p(n,r,u,l):u(r)):l(o)}catch(e){c&&!i&&c.exit(),l(e)}},G=function(e,t){e.notified||(e.notified=!0,k(function(){for(var r,n=e.reactions;r=n.get();)H(r,e);e.notified=!1,t&&!e.rejection&&J(e)}))},Q=function(e,t,r){var n,i;Y?((n=$.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!M&&(i=c["on"+e])?i(n):e===K&&_("Unhandled promise rejection",r)},J=function(e){p(E,c,function(){var t,r=e.facade,n=e.value;if(Z(e)&&(t=P(function(){l?W.emit("unhandledRejection",n,r):Q(K,r,n)}),e.rejection=l||Z(e)?2:1,t.error))throw t.value})},Z=function(e){return 1!==e.rejection&&!e.parent},X=function(e){p(E,c,function(){var t=e.facade;l?W.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)})},ee=function(e,t,r){return function(n){e(t,n,r)}},et=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,G(e,!0))},er=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new F("Promise can't be resolved itself");var n=V(t);n?k(function(){var r={done:!1};try{p(n,t,ee(er,r,e),ee(et,r,e))}catch(t){et(r,t,e)}}):(e.value=t,e.state=1,G(e,!1))}catch(t){et({done:!1},t,e)}}};if(T&&(N=(U=function(e){w(this,N),y(e),p(n,this);var t=j(this);try{e(ee(er,t),ee(et,t))}catch(e){et(t,e)}}).prototype,(n=function(e){L(this,{type:I,done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:0,value:null})}).prototype=h(N,"then",function(e,t){var r=j(this),n=B(S(this,U));return r.parent=!0,n.ok=!m(e)||e,n.fail=m(t)&&t,n.domain=l?W.domain:void 0,0===r.state?r.reactions.add(n):k(function(){H(n,r)}),n.promise}),i=function(){var e=new n,t=j(e);this.promise=e,this.resolve=ee(er,t),this.reject=ee(et,t)},A.f=B=function(e){return e===U||e===o?new i(e):q(e)},!u&&m(R)&&D!==Object.prototype)){a=D.then,z||h(D,"then",function(e,t){var r=this;return new U(function(e,t){p(a,r,e,t)}).then(e,t)},{unsafe:!0});try{delete D.constructor}catch(e){}d&&d(D,N)}s({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:U}),o=f.Promise,v(U,I,!1,!0),g(I)},50036:function(e,t,r){r(76474),r(96433),r(26945),r(72409),r(67207),r(59318)},72409:function(e,t,r){var n=r(3692),i=r(74327),o=r(49248),a=r(79933),s=r(15449),u=r(79994);n({target:"Promise",stat:!0,forced:r(54583)},{race:function(e){var t=this,r=a.f(t),n=r.reject,l=s(function(){var a=o(t.resolve);u(e,function(e){i(a,t,e).then(r.resolve,n)})});return l.error&&n(l.value),r.promise}})},67207:function(e,t,r){var n=r(3692),i=r(79933);n({target:"Promise",stat:!0,forced:r(2294).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},59318:function(e,t,r){var n=r(3692),i=r(48281),o=r(90877),a=r(89448),s=r(2294).CONSTRUCTOR,u=r(25044),l=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return u(c&&this===l?a:this,e)}})},43510:function(e,t,r){var n=r(3692),i=r(18274),o=r(47309);n({global:!0},{Reflect:{}}),o(i.Reflect,"Reflect",!0)},25006:function(e,t,r){var n=r(58358),i=r(18274),o=r(43362),a=r(81714),s=r(96581),u=r(43877),l=r(13554),c=r(15694).f,f=r(95863),p=r(98874),h=r(66061),d=r(16896),v=r(12531),g=r(36294),y=r(46930),m=r(9329),b=r(62083),w=r(49563).enforce,S=r(22187),E=r(53001),k=r(72245),_=r(66072),P=E("match"),x=i.RegExp,O=x.prototype,R=i.SyntaxError,C=o(O.exec),A=o("".charAt),I=o("".replace),T=o("".indexOf),M=o("".slice),z=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,j=/a/g,L=/a/g,D=new x(j)!==j,U=v.MISSED_STICKY,N=v.UNSUPPORTED_Y,F=n&&(!D||U||k||_||m(function(){return L[P]=!1,x(j)!==j||x(L)===L||"/a/i"!==String(x(j,"i"))})),$=function(e){for(var t,r=e.length,n=0,i="",o=!1;n<=r;n++){if("\\"===(t=A(e,n))){i+=t+A(e,++n);continue}o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]"}return i},W=function(e){for(var t,r=e.length,n=0,i="",o=[],a=l(null),s=!1,u=!1,c=0,f="";n<=r;n++){if("\\"===(t=A(e,n)))t+=A(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:if(i+=t,"?:"===M(e,n+1,n+3))continue;C(z,M(e,n+1))&&(n+=2,u=!0),c++;continue;case">"===t&&u:if(""===f||b(a,f))throw new R("Invalid capture group name");a[f]=!0,o[o.length]=[f,c],u=!1,f="";continue}u?f+=t:i+=t}return[i,o]};if(a("RegExp",F)){for(var B=function(e,t){var r,n,i,o,a,l,c=f(O,this),v=p(e),g=void 0===t,y=[],m=e;if(!c&&v&&g&&e.constructor===B)return e;if((v||f(O,e))&&(e=e.source,g&&(t=d(m))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),m=e,k&&"dotAll"in j&&(n=!!t&&T(t,"s")>-1)&&(t=I(t,/s/g,"")),r=t,U&&"sticky"in j&&(i=!!t&&T(t,"y")>-1)&&N&&(t=I(t,/y/g,"")),_&&(e=(o=W(e))[0],y=o[1]),a=s(x(e,t),c?this:O,B),(n||i||y.length)&&(l=w(a),n&&(l.dotAll=!0,l.raw=B($(e),r)),i&&(l.sticky=!0),y.length&&(l.groups=y)),e!==m)try{u(a,"source",""===m?"(?:)":m)}catch(e){}return a},q=c(x),Y=0;q.length>Y;)g(B,x,q[Y++]);O.constructor=B,B.prototype=O,y(i,"RegExp",B,{constructor:!0})}S("RegExp")},54067:function(e,t,r){var n=r(58358),i=r(72245),o=r(19990),a=r(4800),s=r(49563).get,u=RegExp.prototype,l=TypeError;n&&i&&a(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===o(this))return!!s(this).dotAll;throw new l("Incompatible receiver, RegExp required")}}})},22501:function(e,t,r){var n=r(3692),i=r(69321);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},32880:function(e,t,r){var n=r(3692),i=r(4014),o=r(9329);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("difference",function(e){return 0===e.size})||o(function(){var e=new Set([1,2,3,4]);return 3!==e.difference({size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var r=t++>1;return e.has(1)&&e.clear(),{done:r,value:2}}}}}).size})},{difference:i})},25902:function(e,t,r){var n=r(3692),i=r(9329),o=r(91880);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||i(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:o})},56359:function(e,t,r){var n=r(3692),i=r(40019);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("isDisjointFrom",function(e){return!e})},{isDisjointFrom:i})},894:function(e,t,r){var n=r(3692),i=r(25224);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("isSubsetOf",function(e){return e})},{isSubsetOf:i})},6373:function(e,t,r){var n=r(3692),i=r(21649);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("isSupersetOf",function(e){return!e})},{isSupersetOf:i})},63418:function(e,t,r){var n=r(3692),i=r(86500),o=r(42661);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("symmetricDifference")||!o("symmetricDifference")},{symmetricDifference:i})},93412:function(e,t,r){var n=r(3692),i=r(39830),o=r(42661);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("union")||!o("union")},{union:i})},71771:function(e,t,r){var n=r(3692),i=r(43362),o=r(19272),a=RangeError,s=String.fromCharCode,u=String.fromCodePoint,l=i([].join);n({target:"String",stat:!0,arity:1,forced:!!u&&1!==u.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(t=+arguments[i++],o(t,1114111)!==t)throw new a(t+" is not a valid code point");r[i]=t<65536?s(t):s(((t-=65536)>>10)+55296,t%1024+56320)}return l(r,"")}})},36338:function(e,t,r){var n=r(18793).charAt,i=r(66061),o=r(49563),a=r(88374),s=r(7991),u="String Iterator",l=o.set,c=o.getterFor(u);a(String,"String",function(e){l(this,{type:u,string:i(e),index:0})},function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?s(void 0,!0):(e=n(r,i),t.index+=e.length,s(e,!1))})},83417:function(e,t,r){var n=r(3692),i=r(74327),o=r(23186),a=r(63048),s=r(7991),u=r(85288),l=r(17468),c=r(66061),f=r(18989),p=r(53744),h=r(19990),d=r(98874),v=r(16896),g=r(88732),y=r(46930),m=r(9329),b=r(53001),w=r(38027),S=r(7787),E=r(86852),k=r(49563),_=r(90877),P=b("matchAll"),x="RegExp String",O=x+" Iterator",R=k.set,C=k.getterFor(O),A=RegExp.prototype,I=TypeError,T=o("".indexOf),M=o("".matchAll),z=!!M&&!m(function(){M("a",/./)}),j=a(function(e,t,r,n){R(this,{type:O,regexp:e,string:t,global:r,unicode:n,done:!1})},x,function(){var e=C(this);if(e.done)return s(void 0,!0);var t=e.regexp,r=e.string,n=E(t,r);return null===n?(e.done=!0,s(void 0,!0)):(e.global?""===c(n[0])&&(t.lastIndex=S(r,l(t.lastIndex),e.unicode)):e.done=!0,s(n,!1))}),L=function(e){var t,r,n,i=f(this),o=c(e),a=w(i,RegExp),s=c(v(i));return t=new a(a===RegExp?i.source:i,s),r=!!~T(s,"g"),n=!!~T(s,"u"),t.lastIndex=l(i.lastIndex),new j(t,o,r,n)};n({target:"String",proto:!0,forced:z},{matchAll:function(e){var t,r,n,o=u(this);if(p(e)){if(d(e)&&!~T(c(u(v(e))),"g"))throw new I("`.matchAll` does not allow non-global regexes");if(z)return M(o,e);if(void 0===(r=g(e,P))&&_&&"RegExp"===h(e)&&(r=L),r)return i(r,e,o)}else if(z)return M(o,e);return t=c(o),n=RegExp(e,"g"),_?i(L,n,t):n[P](t)}}),_||P in A||y(A,P,L)},58910:function(e,t,r){var n=r(29251),i=r(74327),o=r(43362),a=r(26454),s=r(9329),u=r(18989),l=r(5331),c=r(53744),f=r(16869),p=r(17468),h=r(66061),d=r(85288),v=r(7787),g=r(88732),y=r(98588),m=r(16896),b=r(86852),w=r(53001)("replace"),S=Math.max,E=Math.min,k=o([].concat),_=o([].push),P=o("".indexOf),x=o("".slice),O="$0"==="a".replace(/./,"$0"),R=!!/./[w]&&""===/./[w]("a","$0");a("replace",function(e,t,r){var o=R?"$":"$0";return[function(e,r){var n=d(this),o=c(e)?g(e,w):void 0;return o?i(o,e,n,r):i(t,h(n),e,r)},function(e,i){var a=u(this),s=h(e);if("string"==typeof i&&-1===P(i,o)&&-1===P(i,"$<")){var c=r(t,a,s,i);if(c.done)return c.value}var d=l(i);d||(i=h(i));var g=h(m(a)),w=-1!==P(g,"g");w&&(T=-1!==P(g,"u"),a.lastIndex=0);for(var O=[];null!==(z=b(a,s))&&(_(O,z),w);){;""===h(z[0])&&(a.lastIndex=v(s,p(a.lastIndex),T))}for(var R="",C=0,A=0;A<O.length;A++){for(var I,T,M,z=O[A],j=h(z[0]),L=S(E(f(z.index),s.length),0),D=[],U=1;U<z.length;U++)_(D,void 0===(I=z[U])?I:String(I));var N=z.groups;if(d){var F=k([j],D,L,s);void 0!==N&&_(F,N),M=h(n(i,void 0,F))}else M=y(j,s,L,D,N,i);L>=C&&(R+=x(s,C,L)+M,C=L+j.length)}return R+x(s,C)}]},!!s(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!O||R)},65746:function(e,t,r){var n=r(92326),i=r(14408),o=r(16869),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",function(e){var t=a(this),r=i(t),n=o(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]})},54790:function(e,t,r){var n=r(92326),i=r(51508),o=r(8636),a=r(51353),s=r(74327),u=r(43362),l=r(9329),c=n.aTypedArray,f=n.exportTypedArrayMethod,p=u("".slice);f("fill",function(e){var t=arguments.length;return c(this),s(i,this,"Big"===p(a(this),0,3)?o(e):+e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)},l(function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}))},18336:function(e,t,r){var n=r(92326),i=r(77373).findLastIndex,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)})},35469:function(e,t,r){var n=r(92326),i=r(77373).findLast,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)})},68971:function(e,t,r){var n=r(18274),i=r(74327),o=r(92326),a=r(14408),s=r(83035),u=r(18563),l=r(9329),c=n.RangeError,f=n.Int8Array,p=f&&f.prototype,h=p&&p.set,d=o.aTypedArray,v=o.exportTypedArrayMethod,g=!l(function(){var e=new Uint8ClampedArray(2);return i(h,e,{length:1,0:3},1),3!==e[1]}),y=g&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]});v("set",function(e){d(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=u(e);if(g)return i(h,this,r,t);var n=this.length,o=a(r),l=0;if(o+t>n)throw new c("Wrong length");for(;l<o;)this[t+l]=r[l++]},!g||y)},42287:function(e,t,r){var n=r(18274),i=r(23186),o=r(9329),a=r(49248),s=r(99666),u=r(92326),l=r(96247),c=r(69117),f=r(37429),p=r(86053),h=u.aTypedArray,d=u.exportTypedArrayMethod,v=n.Uint16Array,g=v&&i(v.prototype.sort),y=!!g&&!(o(function(){g(new v(2),null)})&&o(function(){g(new v(2),{})})),m=!!g&&!o(function(){if(f)return f<74;if(l)return l<67;if(c)return!0;if(p)return p<602;var e,t,r=new v(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(g(r,function(e,t){return(e/4|0)-(t/4|0)}),e=0;e<516;e++)if(r[e]!==n[e])return!0});d("sort",function(e){return(void 0!==e&&a(e),m)?g(this,e):s(h(this),function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r})},!m||y)},95801:function(e,t,r){var n=r(59418),i=r(92326),o=i.aTypedArray,a=i.exportTypedArrayMethod,s=i.getTypedArrayConstructor;a("toReversed",function(){return n(o(this),s(this))})},93374:function(e,t,r){var n=r(92326),i=r(43362),o=r(49248),a=r(54728),s=n.aTypedArray,u=n.getTypedArrayConstructor,l=n.exportTypedArrayMethod,c=i(n.TypedArrayPrototype.sort);l("toSorted",function(e){void 0!==e&&o(e);var t=s(this);return c(a(u(t),t),e)})},43375:function(e,t,r){r(34281)("Uint8",function(e){return function(t,r,n){return e(this,t,r,n)}})},83443:function(e,t,r){var n=r(44394),i=r(92326),o=r(70861),a=r(16869),s=r(8636),u=i.aTypedArray,l=i.getTypedArrayConstructor,c=i.exportTypedArrayMethod,f=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}(),p=f&&function(){try{new Int8Array(1).with(-.5,1)}catch(e){return!0}}();c("with",{with:function(e,t){var r=u(this),i=a(e),c=o(r)?s(t):+t;return n(r,l(r),i,c)}}.with,!f||p)},88711:function(e,t,r){var n=r(18274),i=r(55314),o=r(26102),a=r(78906),s=r(43877),u=r(47309),l=r(53001)("iterator"),c=a.values,f=function(e,t){if(e){if(e[l]!==c)try{s(e,l,c)}catch(t){e[l]=c}if(u(e,t,!0),i[t]){for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(t){e[r]=a[r]}}}};for(var p in i)f(n[p]&&n[p].prototype,p);f(o,"DOMTokenList")},92977:function(e,t,r){var n=r(3692),i=r(18274),o=r(48281),a=r(99685),s=r(58131).f,u=r(62083),l=r(56381),c=r(96581),f=r(15689),p=r(49580),h=r(14423),d=r(58358),v=r(90877),g="DOMException",y=o("Error"),m=o(g),b=function(){l(this,w);var e=arguments.length,t=f(e<1?void 0:arguments[0]),r=f(e<2?void 0:arguments[1],"Error"),n=new m(t,r),i=new y(t);return i.name=g,s(n,"stack",a(1,h(i.stack,1))),c(n,this,b),n},w=b.prototype=m.prototype,S="stack"in new y(g),E="stack"in new m(1,2),k=m&&d&&Object.getOwnPropertyDescriptor(i,g),_=!!k&&!(k.writable&&k.configurable),P=S&&!_&&!E;n({global:!0,constructor:!0,forced:v||P},{DOMException:P?b:m});var x=o(g),O=x.prototype;if(O.constructor!==x){for(var R in v||s(O,"constructor",a(1,x)),p)if(u(p,R)){var C=p[R],A=C.s;u(x,A)||s(x,A,a(6,C.c))}}},59781:function(e,t,r){var n=r(3692),i=r(18274),o=r(4800),a=r(58358),s=TypeError,u=Object.defineProperty,l=i.self!==i;try{if(a){var c=Object.getOwnPropertyDescriptor(i,"self");!l&&c&&c.get&&c.enumerable||o(i,"self",{get:function(){return i},set:function(e){if(this!==i)throw new s("Illegal invocation");u(i,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:l},{self:i})}catch(e){}},3600:function(e,t,r){r(78906),r(71771);var n=r(3692),i=r(18274),o=r(32291),a=r(48281),s=r(74327),u=r(43362),l=r(58358),c=r(69954),f=r(46930),p=r(4800),h=r(56337),d=r(47309),v=r(63048),g=r(49563),y=r(56381),m=r(5331),b=r(62083),w=r(94138),S=r(51353),E=r(18989),k=r(53744),_=r(66061),P=r(13554),x=r(99685),O=r(85759),R=r(881),C=r(7991),A=r(24362),I=r(53001),T=r(99666),M=I("iterator"),z="URLSearchParams",j=z+"Iterator",L=g.set,D=g.getterFor(z),U=g.getterFor(j),N=o("fetch"),F=o("Request"),$=o("Headers"),W=F&&F.prototype,B=$&&$.prototype,q=i.TypeError,Y=i.encodeURIComponent,K=String.fromCharCode,V=a("String","fromCodePoint"),H=parseInt,G=u("".charAt),Q=u([].join),J=u([].push),Z=u("".replace),X=u([].shift),ee=u([].splice),et=u("".split),er=u("".slice),en=u(/./.exec),ei=/\+/g,eo=/^[0-9a-f]+$/i,ea=function(e,t){var r=er(e,t,t+2);return en(eo,r)?H(r,16):NaN},es=function(e){for(var t=0,r=128;r>0&&(e&r)!=0;r>>=1)t++;return t},eu=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},el=function(e){for(var t=(e=Z(e,ei," ")).length,r="",n=0;n<t;){var i=G(e,n);if("%"===i){if("%"===G(e,n+1)||n+3>t){r+="%",n++;continue}var o=ea(e,n+1);if(o!=o){r+=i,n++;continue}n+=2;var a=es(o);if(0===a)i=K(o);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[o],u=1;u<a&&!(++n+3>t)&&"%"===G(e,n);){var l=ea(e,n+1);if(l!=l){n+=3;break}if(l>191||l<128)break;J(s,l),n+=2,u++}if(s.length!==a){r+="�";continue}var c=eu(s);null===c?r+="�":i=V(c)}}r+=i,n++}return r},ec=/[!'()~]|%20/g,ef={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ep=function(e){return ef[e]},eh=function(e){return Z(Y(e),ec,ep)},ed=v(function(e,t){L(this,{type:j,target:D(e).entries,index:0,kind:t})},z,function(){var e=U(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,C(void 0,!0);var n=t[r];switch(e.kind){case"keys":return C(n.key,!1);case"values":return C(n.value,!1)}return C([n.key,n.value],!1)},!0),ev=function(e){this.entries=[],this.url=null,void 0!==e&&(k(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===G(e,0)?er(e,1):e:_(e)))};ev.prototype={type:z,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,o,a,u,l=this.entries,c=R(e);if(c)for(r=(t=O(e,c)).next;!(n=s(r,t)).done;){if((a=s(o=(i=O(E(n.value))).next,i)).done||(u=s(o,i)).done||!s(o,i).done)throw new q("Expected sequence with length 2");J(l,{key:_(a.value),value:_(u.value)})}else for(var f in e)b(e,f)&&J(l,{key:f,value:_(e[f])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=et(e,"&"),o=0;o<i.length;)(t=i[o++]).length&&J(n,{key:el(X(r=et(t,"="))),value:el(Q(r,"="))})},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)J(r,eh((e=t[n++]).key)+"="+eh(e.value));return Q(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var eg=function(){y(this,ey);var e=arguments.length>0?arguments[0]:void 0,t=L(this,new ev(e));l||(this.size=t.entries.length)},ey=eg.prototype;if(h(ey,{append:function(e,t){var r=D(this);A(arguments.length,2),J(r.entries,{key:_(e),value:_(t)}),!l&&this.size++,r.updateURL()},delete:function(e){for(var t=D(this),r=A(arguments.length,1),n=t.entries,i=_(e),o=r<2?void 0:arguments[1],a=void 0===o?o:_(o),s=0;s<n.length;){var u=n[s];if(u.key===i&&(void 0===a||u.value===a)){if(ee(n,s,1),void 0!==a)break}else s++}l||(this.size=n.length),t.updateURL()},get:function(e){var t=D(this).entries;A(arguments.length,1);for(var r=_(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=D(this).entries;A(arguments.length,1);for(var r=_(e),n=[],i=0;i<t.length;i++)t[i].key===r&&J(n,t[i].value);return n},has:function(e){for(var t=D(this).entries,r=A(arguments.length,1),n=_(e),i=r<2?void 0:arguments[1],o=void 0===i?i:_(i),a=0;a<t.length;){var s=t[a++];if(s.key===n&&(void 0===o||s.value===o))return!0}return!1},set:function(e,t){var r,n=D(this);A(arguments.length,1);for(var i=n.entries,o=!1,a=_(e),s=_(t),u=0;u<i.length;u++)(r=i[u]).key===a&&(o?ee(i,u--,1):(o=!0,r.value=s));o||J(i,{key:a,value:s}),l||(this.size=i.length),n.updateURL()},sort:function(){var e=D(this);T(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=D(this).entries,n=w(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new ed(this,"keys")},values:function(){return new ed(this,"values")},entries:function(){return new ed(this,"entries")}},{enumerable:!0}),f(ey,M,ey.entries,{name:"entries"}),f(ey,"toString",function(){return D(this).serialize()},{enumerable:!0}),l&&p(ey,"size",{get:function(){return D(this).entries.length},configurable:!0,enumerable:!0}),d(eg,z),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:eg}),!c&&m($)){var em=u(B.has),eb=u(B.set),ew=function(e){if(k(e)){var t,r=e.body;if(S(r)===z)return em(t=e.headers?new $(e.headers):new $,"content-type")||eb(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),P(e,{body:x(0,_(r)),headers:x(0,t)})}return e};if(m(N)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return N(e,arguments.length>1?ew(arguments[1]):{})}}),m(F)){var eS=function(e){return y(this,W),new F(e,arguments.length>1?ew(arguments[1]):{})};W.constructor=eS,eS.prototype=W,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:eS})}}e.exports={URLSearchParams:eg,getState:D}},25089:function(e,t,r){var n=r(46930),i=r(43362),o=r(66061),a=r(24362),s=URLSearchParams,u=s.prototype,l=i(u.append),c=i(u.delete),f=i(u.forEach),p=i([].push),h=new s("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&n(u,"delete",function(e){var t,r=arguments.length,n=r<2?void 0:arguments[1];if(r&&void 0===n)return c(this,e);var i=[];f(this,function(e,t){p(i,{key:t,value:e})}),a(r,1);for(var s=o(e),u=o(n),h=0,d=0,v=!1,g=i.length;h<g;)t=i[h++],v||t.key===s?(v=!0,c(this,t.key)):d++;for(;d<g;)((t=i[d++]).key!==s||t.value!==u)&&l(this,t.key,t.value)},{enumerable:!0,unsafe:!0})},61244:function(e,t,r){var n=r(46930),i=r(43362),o=r(66061),a=r(24362),s=URLSearchParams,u=s.prototype,l=i(u.getAll),c=i(u.has),f=new s("a=1");(f.has("a",2)||!f.has("a",void 0))&&n(u,"has",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return c(this,e);var n=l(this,e);a(t,1);for(var i=o(r),s=0;s<n.length;)if(n[s++]===i)return!0;return!1},{enumerable:!0,unsafe:!0})},60486:function(e,t,r){r(3600)},77895:function(e,t,r){var n=r(58358),i=r(43362),o=r(4800),a=URLSearchParams.prototype,s=i(a.forEach);!n||"size"in a||o(a,"size",{get:function(){var e=0;return s(this,function(){e++}),e},configurable:!0,enumerable:!0})},15604:function(e,t,r){r(36338);var n,i=r(3692),o=r(58358),a=r(69954),s=r(18274),u=r(94138),l=r(43362),c=r(46930),f=r(4800),p=r(56381),h=r(62083),d=r(52359),v=r(50182),g=r(2554),y=r(18793).codeAt,m=r(88083),b=r(66061),w=r(47309),S=r(24362),E=r(3600),k=r(49563),_=k.set,P=k.getterFor("URL"),x=E.URLSearchParams,O=E.getState,R=s.URL,C=s.TypeError,A=s.parseInt,I=Math.floor,T=Math.pow,M=l("".charAt),z=l(/./.exec),j=l([].join),L=l(1.1.toString),D=l([].pop),U=l([].push),N=l("".replace),F=l([].shift),$=l("".split),W=l("".slice),B=l("".toLowerCase),q=l([].unshift),Y="Invalid scheme",K="Invalid host",V="Invalid port",H=/[a-z]/i,G=/[\d+-.a-z]/i,Q=/\d/,J=/^0x/i,Z=/^[0-7]+$/,X=/^\d+$/,ee=/^[\da-f]+$/i,et=/[\0\t\n\r #%/:<>?@[\\\]^|]/,er=/[\0\t\n\r #/:<>?@[\\\]^|]/,en=/^[\u0000-\u0020]+/,ei=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,eo=/[\t\n\r]/g,ea=function(e){var t,r,n,i,o,a,s,u=$(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(n=0,r=[];n<t;n++){if(""===(i=u[n]))return e;if(o=10,i.length>1&&"0"===M(i,0)&&(o=z(J,i)?16:8,i=W(i,8===o?1:2)),""===i)a=0;else{if(!z(10===o?X:8===o?Z:ee,i))return e;a=A(i,o)}U(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=T(256,5-t))return null}else if(a>255)return null;for(n=0,s=D(r);n<r.length;n++)s+=r[n]*T(256,3-n);return s},es=function(e){var t,r,n,i,o,a,s,u=[0,0,0,0,0,0,0,0],l=0,c=null,f=0,p=function(){return M(e,f)};if(":"===p()){if(":"!==M(e,1))return;f+=2,c=++l}for(;p();){if(8===l)return;if(":"===p()){if(null!==c)return;f++,c=++l;continue}for(t=r=0;r<4&&z(ee,p());)t=16*t+A(p(),16),f++,r++;if("."===p()){if(0===r||(f-=r,l>6))return;for(n=0;p();){if(i=null,n>0)if("."!==p()||!(n<4))return;else f++;if(!z(Q,p()))return;for(;z(Q,p());){if(o=A(p(),10),null===i)i=o;else{if(0===i)return;i=10*i+o}if(i>255)return;f++}u[l]=256*u[l]+i,(2==++n||4===n)&&l++}if(4!==n)return;break}if(":"===p()){if(f++,!p())return}else if(p())return;u[l++]=t}if(null!==c)for(a=l-c,l=7;0!==l&&a>0;)s=u[l],u[l--]=u[c+a-1],u[c+--a]=s;else if(8!==l)return;return u},eu=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r?n:t},el=function(e){var t,r,n,i;if("number"==typeof e){for(r=0,t=[];r<4;r++)q(t,e%256),e=I(e/256);return j(t,".")}if("object"==typeof e){for(r=0,t="",n=eu(e);r<8;r++)(!i||0!==e[r])&&(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=L(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ec={},ef=d({},ec,{" ":1,'"':1,"<":1,">":1,"`":1}),ep=d({},ef,{"#":1,"?":1,"{":1,"}":1}),eh=d({},ep,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ed=function(e,t){var r=y(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},ev={ftp:21,file:null,http:80,https:443,ws:80,wss:443},eg=function(e,t){var r;return 2===e.length&&z(H,M(e,0))&&(":"===(r=M(e,1))||!t&&"|"===r)},ey=function(e){var t;return e.length>1&&eg(W(e,0,2))&&(2===e.length||"/"===(t=M(e,2))||"\\"===t||"?"===t||"#"===t)},em={},eb={},ew={},eS={},eE={},ek={},e_={},eP={},ex={},eO={},eR={},eC={},eA={},eI={},eT={},eM={},ez={},ej={},eL={},eD={},eU={},eN=function(e,t,r){var n,i,o,a=b(e);if(t){if(i=this.parse(a))throw new C(i);this.searchParams=null}else{if(void 0!==r&&(n=new eN(r,!0)),i=this.parse(a,null,n))throw new C(i);(o=O(new x)).bindURL(this),this.searchParams=o}};eN.prototype={type:"URL",parse:function(e,t,r){var i=t||em,o=0,a="",s=!1,u=!1,l=!1;for(e=b(e),t||(this.scheme="",this.username="",this.password="",this.host=null,this.port=null,this.path=[],this.query=null,this.fragment=null,this.cannotBeABaseURL=!1,e=N(e,en,""),e=N(e,ei,"$1")),c=v(e=N(e,eo,""));o<=c.length;){switch(f=c[o],i){case em:if(f&&z(H,f))a+=B(f),i=eb;else{if(t)return Y;i=ew;continue}break;case eb:if(f&&(z(G,f)||"+"===f||"-"===f||"."===f))a+=B(f);else if(":"===f){if(t&&(this.isSpecial()!==h(ev,a)||"file"===a&&(this.includesCredentials()||null!==this.port)||"file"===this.scheme&&!this.host))return;if(this.scheme=a,t){this.isSpecial()&&ev[this.scheme]===this.port&&(this.port=null);return}a="","file"===this.scheme?i=eI:this.isSpecial()&&r&&r.scheme===this.scheme?i=eS:this.isSpecial()?i=eP:"/"===c[o+1]?(i=eE,o++):(this.cannotBeABaseURL=!0,U(this.path,""),i=eL)}else{if(t)return Y;a="",i=ew,o=0;continue}break;case ew:if(!r||r.cannotBeABaseURL&&"#"!==f)return Y;if(r.cannotBeABaseURL&&"#"===f){this.scheme=r.scheme,this.path=g(r.path),this.query=r.query,this.fragment="",this.cannotBeABaseURL=!0,i=eU;break}i="file"===r.scheme?eI:ek;continue;case eS:if("/"===f&&"/"===c[o+1])i=ex,o++;else{i=ek;continue}break;case eE:if("/"===f){i=eO;break}i=ej;continue;case ek:if(this.scheme=r.scheme,f===n)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=g(r.path),this.query=r.query;else if("/"===f||"\\"===f&&this.isSpecial())i=e_;else if("?"===f)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=g(r.path),this.query="",i=eD;else if("#"===f)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=g(r.path),this.query=r.query,this.fragment="",i=eU;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=g(r.path),this.path.length--,i=ej;continue}break;case e_:if(this.isSpecial()&&("/"===f||"\\"===f))i=ex;else if("/"===f)i=eO;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,i=ej;continue}break;case eP:if(i=ex,"/"!==f||"/"!==M(a,o+1))continue;o++;break;case ex:if("/"!==f&&"\\"!==f){i=eO;continue}break;case eO:if("@"===f){s&&(a="%40"+a),s=!0,p=v(a);for(var c,f,p,d,y,m,w=0;w<p.length;w++){var S=p[w];if(":"===S&&!l){l=!0;continue}var E=ed(S,eh);l?this.password+=E:this.username+=E}a=""}else if(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial()){if(s&&""===a)return"Invalid authority";o-=v(a).length+1,a="",i=eR}else a+=f;break;case eR:case eC:if(t&&"file"===this.scheme){i=eM;continue}if(":"!==f||u)if(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial()){if(this.isSpecial()&&""===a)return K;if(t&&""===a&&(this.includesCredentials()||null!==this.port))return;if(d=this.parseHost(a))return d;if(a="",i=ez,t)return;continue}else"["===f?u=!0:"]"===f&&(u=!1),a+=f;else{if(""===a)return K;if(d=this.parseHost(a))return d;if(a="",i=eA,t===eC)return}break;case eA:if(z(Q,f))a+=f;else{if(!(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial())&&!t)return V;if(""!==a){var k=A(a,10);if(k>65535)return V;this.port=this.isSpecial()&&k===ev[this.scheme]?null:k,a=""}if(t)return;i=ez;continue}break;case eI:if(this.scheme="file","/"===f||"\\"===f)i=eT;else if(r&&"file"===r.scheme)switch(f){case n:this.host=r.host,this.path=g(r.path),this.query=r.query;break;case"?":this.host=r.host,this.path=g(r.path),this.query="",i=eD;break;case"#":this.host=r.host,this.path=g(r.path),this.query=r.query,this.fragment="",i=eU;break;default:ey(j(g(c,o),""))||(this.host=r.host,this.path=g(r.path),this.shortenPath()),i=ej;continue}else{i=ej;continue}break;case eT:if("/"===f||"\\"===f){i=eM;break}r&&"file"===r.scheme&&!ey(j(g(c,o),""))&&(eg(r.path[0],!0)?U(this.path,r.path[0]):this.host=r.host),i=ej;continue;case eM:if(f===n||"/"===f||"\\"===f||"?"===f||"#"===f){if(!t&&eg(a))i=ej;else if(""===a){if(this.host="",t)return;i=ez}else{if(d=this.parseHost(a))return d;if("localhost"===this.host&&(this.host=""),t)return;a="",i=ez}continue}a+=f;break;case ez:if(this.isSpecial()){if(i=ej,"/"!==f&&"\\"!==f)continue}else if(t||"?"!==f)if(t||"#"!==f){if(f!==n&&(i=ej,"/"!==f))continue}else this.fragment="",i=eU;else this.query="",i=eD;break;case ej:if(f===n||"/"===f||"\\"===f&&this.isSpecial()||!t&&("?"===f||"#"===f)){if(".."===(y=B(y=a))||"%2e."===y||".%2e"===y||"%2e%2e"===y?(this.shortenPath(),"/"===f||"\\"===f&&this.isSpecial()||U(this.path,"")):"."===(m=a)||"%2e"===B(m)?"/"===f||"\\"===f&&this.isSpecial()||U(this.path,""):("file"===this.scheme&&!this.path.length&&eg(a)&&(this.host&&(this.host=""),a=M(a,0)+":"),U(this.path,a)),a="","file"===this.scheme&&(f===n||"?"===f||"#"===f))for(;this.path.length>1&&""===this.path[0];)F(this.path);"?"===f?(this.query="",i=eD):"#"===f&&(this.fragment="",i=eU)}else a+=ed(f,ep);break;case eL:"?"===f?(this.query="",i=eD):"#"===f?(this.fragment="",i=eU):f!==n&&(this.path[0]+=ed(f,ec));break;case eD:t||"#"!==f?f!==n&&("'"===f&&this.isSpecial()?this.query+="%27":"#"===f?this.query+="%23":this.query+=ed(f,ec)):(this.fragment="",i=eU);break;case eU:f!==n&&(this.fragment+=ed(f,ef))}o++}},parseHost:function(e){var t,r,n;if("["===M(e,0)){if("]"!==M(e,e.length-1)||!(t=es(W(e,1,-1))))return K;this.host=t}else if(this.isSpecial()){if(z(et,e=m(e))||null===(t=ea(e)))return K;this.host=t}else{if(z(er,e))return K;for(n=0,t="",r=v(e);n<r.length;n++)t+=ed(r[n],ec);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(ev,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;t&&("file"!==this.scheme||1!==t||!eg(e[0],!0))&&e.length--},serialize:function(){var e=this.scheme,t=this.username,r=this.password,n=this.host,i=this.port,o=this.path,a=this.query,s=this.fragment,u=e+":";return null!==n?(u+="//",this.includesCredentials()&&(u+=t+(r?":"+r:"")+"@"),u+=el(n),null!==i&&(u+=":"+i)):"file"===e&&(u+="//"),u+=this.cannotBeABaseURL?o[0]:o.length?"/"+j(o,"/"):"",null!==a&&(u+="?"+a),null!==s&&(u+="#"+s),u},setHref:function(e){var t=this.parse(e);if(t)throw new C(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new eF(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+el(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",em)},getUsername:function(){return this.username},setUsername:function(e){var t=v(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ed(t[r],eh)}},getPassword:function(){return this.password},setPassword:function(e){var t=v(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ed(t[r],eh)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?el(e):el(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,eR)},getHostname:function(){var e=this.host;return null===e?"":el(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,eC)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=b(e))?this.port=null:this.parse(e,eA))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+j(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,ez))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=b(e))?this.query=null:("?"===M(e,0)&&(e=W(e,1)),this.query="",this.parse(e,eD)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){if(""===(e=b(e))){this.fragment=null;return}"#"===M(e,0)&&(e=W(e,1)),this.fragment="",this.parse(e,eU)},update:function(){this.query=this.searchParams.serialize()||null}};var eF=function(e){var t=p(this,e$),r=S(arguments.length,1)>1?arguments[1]:void 0,n=_(t,new eN(e,!1,r));o||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},e$=eF.prototype,eW=function(e,t){return{get:function(){return P(this)[e]()},set:t&&function(e){return P(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(f(e$,"href",eW("serialize","setHref")),f(e$,"origin",eW("getOrigin")),f(e$,"protocol",eW("getProtocol","setProtocol")),f(e$,"username",eW("getUsername","setUsername")),f(e$,"password",eW("getPassword","setPassword")),f(e$,"host",eW("getHost","setHost")),f(e$,"hostname",eW("getHostname","setHostname")),f(e$,"port",eW("getPort","setPort")),f(e$,"pathname",eW("getPathname","setPathname")),f(e$,"search",eW("getSearch","setSearch")),f(e$,"searchParams",eW("getSearchParams")),f(e$,"hash",eW("getHash","setHash"))),c(e$,"toJSON",function(){return P(this).serialize()},{enumerable:!0}),c(e$,"toString",function(){return P(this).serialize()},{enumerable:!0}),R){var eB=R.createObjectURL,eq=R.revokeObjectURL;eB&&c(eF,"createObjectURL",u(eB,R)),eq&&c(eF,"revokeObjectURL",u(eq,R))}w(eF,"URL"),i({global:!0,constructor:!0,forced:!a,sham:!o},{URL:eF})},64178:function(e,t,r){r(15604)},60962:function(e,t,r){var n=r(3692),i=r(74327);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},55945:function(e,t,r){r.d(t,{_:()=>n});function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},97447:function(e,t,r){r.d(t,{j:()=>o}),r(88711),r(25006),r(54067),r(22501),r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412),r(65595),r(16418),r(4214),r(43375),r(65746),r(54790),r(35469),r(18336),r(68971),r(42287),r(95801),r(93374),r(83443);var n=Object.prototype.hasOwnProperty;function i(e,t,r){for(r of e.keys())if(o(r,t))return r}function o(e,t){var r,a,s;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((a=e.length)===t.length)for(;a--&&o(e[a],t[a]););return -1===a}if(r===Set){if(e.size!==t.size)return!1;for(a of e)if((s=a)&&"object"==typeof s&&!(s=i(t,s))||!t.has(s))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(a of e)if((s=a[0])&&"object"==typeof s&&!(s=i(t,s))||!o(a[1],t.get(s)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((a=e.byteLength)===t.byteLength)for(;a--&&e.getInt8(a)===t.getInt8(a););return -1===a}if(ArrayBuffer.isView(e)){if((a=e.byteLength)===t.byteLength)for(;a--&&e[a]===t[a];);return -1===a}if(!r||"object"==typeof e){for(r in a=0,e)if(n.call(e,r)&&++a&&!n.call(t,r)||!(r in t)||!o(e[r],t[r]))return!1;return Object.keys(t).length===a}}return e!=e&&t!=t}},73957:function(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){return function(t){let r=null!=t?t:this;if(!r)throw TypeError("".concat(e.kind||e.name," type guard requires an error object"));if(e.kind&&"object"==typeof r&&null!==r&&"constructor"in r){var n;if((null==(n=r.constructor)?void 0:n.kind)===e.kind)return!0}return r instanceof e}}r.d(t,{a:()=>i,n:()=>l,r:()=>s,t:()=>u}),r(98114),r(25006),r(54067),r(22501),r(58910);var o,a,s=(o=class e extends Error{get name(){return this.constructor.name}toString(){return"[".concat(this.name,"]\nMessage:").concat(this.message)}static formatMessage(e,t,r,n){let i="Clerk:",o=RegExp(i.replace(" ","\\s*"),"i");return t=t.replace(o,""),t="".concat(i," ").concat(t.trim(),'\n\n(code="').concat(r,'")\n\n'),n&&(t+="\n\nDocs: ".concat(n)),t}constructor(t){super(new.target.formatMessage(new.target.kind,t.message,t.code,t.docsUrl),{cause:t.cause}),n(this,"clerkError",!0),n(this,"code",void 0),n(this,"longMessage",void 0),n(this,"docsUrl",void 0),n(this,"cause",void 0),Object.setPrototypeOf(this,e.prototype),this.code=t.code,this.docsUrl=t.docsUrl,this.longMessage=t.longMessage,this.cause=t.cause}},n(o,"kind","ClerkError"),o),u=(a=class e extends s{constructor(t,r){super({...r,message:t}),n(this,"clerkRuntimeError",!0),Object.setPrototypeOf(this,e.prototype)}},n(a,"kind","ClerkRuntimeError"),a);let l=i(u)},63526:function(e,t,r){r.d(t,{p:()=>i,r:()=>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 i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"svg";return"https://img.clerk.com/static/".concat(e,".").concat(t)}},66866:function(e,t,r){r.d(t,{a:()=>a,c:()=>f,d:()=>l,f:()=>c,i:()=>s,l:()=>u,o:()=>o,p:()=>p,r:()=>i,t:()=>h,u:()=>n});let n=["redirect_url","after_sign_in_url","after_sign_up_url","sign_in_force_redirect_url","sign_in_fallback_redirect_url","sign_up_force_redirect_url","sign_up_fallback_redirect_url"],i="__clerk_modal_state",o="__clerk_synced",a="suffixed_cookies",s="__clerk_satellite_url",u={FORM_IDENTIFIER_NOT_FOUND:"form_identifier_not_found",FORM_PASSWORD_INCORRECT:"form_password_incorrect",FORM_PASSWORD_PWNED:"form_password_pwned",INVALID_STRATEGY_FOR_USER:"strategy_for_user_invalid",NOT_ALLOWED_TO_SIGN_UP:"not_allowed_to_sign_up",OAUTH_ACCESS_DENIED:"oauth_access_denied",OAUTH_EMAIL_DOMAIN_RESERVED_BY_SAML:"oauth_email_domain_reserved_by_saml",NOT_ALLOWED_ACCESS:"not_allowed_access",SAML_USER_ATTRIBUTE_MISSING:"saml_user_attribute_missing",USER_LOCKED:"user_locked",EXTERNAL_ACCOUNT_NOT_FOUND:"external_account_not_found",SESSION_EXISTS:"session_exists",SIGN_UP_MODE_RESTRICTED:"sign_up_mode_restricted",SIGN_UP_MODE_RESTRICTED_WAITLIST:"sign_up_restricted_waitlist",ENTERPRISE_SSO_USER_ATTRIBUTE_MISSING:"enterprise_sso_user_attribute_missing",ENTERPRISE_SSO_EMAIL_ADDRESS_DOMAIN_MISMATCH:"enterprise_sso_email_address_domain_mismatch",ENTERPRISE_SSO_HOSTED_DOMAIN_MISMATCH:"enterprise_sso_hosted_domain_mismatch",SAML_EMAIL_ADDRESS_DOMAIN_MISMATCH:"saml_email_address_domain_mismatch",INVITATION_ACCOUNT_NOT_EXISTS:"invitation_account_not_exists",ORGANIZATION_MEMBERSHIP_QUOTA_EXCEEDED_FOR_SSO:"organization_membership_quota_exceeded_for_sso",CAPTCHA_INVALID:"captcha_invalid",FRAUD_DEVICE_BLOCKED:"device_blocked",FRAUD_ACTION_BLOCKED:"action_blocked",SIGNUP_RATE_LIMIT_EXCEEDED:"signup_rate_limit_exceeded",USER_BANNED:"user_banned",USER_DEACTIVATED:"user_deactivated"},l=["email_address","phone_number","username"],c=["email_address","phone_number","username","first_name","last_name"],f=350,p={PUBLIC:"public",RESTRICTED:"restricted",WAITLIST:"waitlist"},h="clerk-captcha"},80996:function(e,t,r){r.d(t,{t:()=>i}),r(50036);var n=r(2105);let i=()=>{let e=n.t,t=n.t;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}}},86429:function(e,t,r){r.d(t,{C:()=>f,a:()=>S,d:()=>g,l:()=>w,m:()=>m,o:()=>v,s:()=>y,u:()=>b,v:()=>d,y:()=>h}),r(19161),r(22239),r(22501),r(83417),r(58910),r(88711),r(98114),r(30945);var n,i,o,a,s=r(73957);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=(n=class{constructor(e){var t,r,n,i,o,a,s;u(this,"code",void 0),u(this,"message",void 0),u(this,"longMessage",void 0),u(this,"meta",void 0);const l={code:e.code,message:e.message,longMessage:e.long_message,meta:{paramName:null==(t=e.meta)?void 0:t.param_name,sessionId:null==(r=e.meta)?void 0:r.session_id,emailAddresses:null==(n=e.meta)?void 0:n.email_addresses,identifiers:null==(i=e.meta)?void 0:i.identifiers,zxcvbn:null==(o=e.meta)?void 0:o.zxcvbn,plan:null==(a=e.meta)?void 0:a.plan,isPlanUpgradePossible:null==(s=e.meta)?void 0:s.is_plan_upgrade_possible}};this.code=l.code,this.message=l.message,this.longMessage=l.longMessage,this.meta=l.meta}},u(n,"kind","ClerkAPIError"),n);(0,s.a)(l);var c=(i=class e extends s.r{toString(){let e="[".concat(this.name,"]\nMessage:").concat(this.message,"\nStatus:").concat(this.status,"\nSerialized errors: ").concat(this.errors.map(e=>JSON.stringify(e)));return this.clerkTraceId&&(e+="\nClerk Trace ID: ".concat(this.clerkTraceId)),e}static formatMessage(e,t,r,n){return t}constructor(t,r){const{data:n,status:i,clerkTraceId:o,retryAfter:a}=r;super({...r,message:t,code:"api_response_error"}),u(this,"status",void 0),u(this,"clerkTraceId",void 0),u(this,"retryAfter",void 0),u(this,"errors",void 0),Object.setPrototypeOf(this,e.prototype),this.status=i,this.clerkTraceId=o,this.retryAfter=a,this.errors=(n||[]).map(e=>new l(e))}},u(i,"kind","ClerkAPIResponseError"),i);let f=(0,s.a)(c);u(o=class e extends c{static is(t){return f(t)&&t.status===e.STATUS&&t.errors.length>0&&t.errors[0].code===e.ERROR_CODE}},"kind","MissingExpiredTokenError"),u(o,"ERROR_CODE","missing_expired_token"),u(o,"STATUS",422),u(a=class e extends s.t{static is(t){return null!=t&&(t instanceof e||(0,s.n)(t)&&t.code===e.ERROR_CODE)}constructor(t){super(t,{code:e.ERROR_CODE}),Object.setPrototypeOf(this,e.prototype)}},"kind","ClerkOfflineError"),u(a,"ERROR_CODE","clerk_offline");let p=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function h(e){let{packageName:t,customMessages:r}=e,n=t;function i(e,t){if(!t)return"".concat(n,": ").concat(e);let r=e;for(let n of e.matchAll(/{{([a-zA-Z0-9-_]+)}}/g)){let e=(t[n[1]]||"").toString();r=r.replace("{{".concat(n[1],"}}"),e)}return"".concat(n,": ").concat(r)}let o={...p,...r};return{setPackageName(e){let{packageName:t}=e;return"string"==typeof t&&(n=t),this},setMessages(e){let{customMessages:t}=e;return Object.assign(o,t||{}),this},throwInvalidPublishableKeyError(e){throw Error(i(o.InvalidPublishableKeyErrorMessage,e))},throwInvalidProxyUrl(e){throw Error(i(o.InvalidProxyUrlErrorMessage,e))},throwMissingPublishableKeyError(){throw Error(i(o.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw Error(i(o.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(e){throw Error(i(o.MissingClerkProvider,e))},throw(e){throw Error(i(e))}}}let d={Expired:"expired",Failed:"failed",ClientMismatch:"client_mismatch"};function v(e){return f(e)||y(e)||(0,s.n)(e)}function g(e){return(0,s.n)(e)&&"reverification_cancelled"===e.code}function y(e){return"code"in e&&[4001,32602,32603].includes(e.code)&&"message"in e}function m(e){var t,r;return f(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="user_locked"}function b(e){var t,r;return f(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="form_password_pwned"}function w(e){var t,r;return f(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="form_password_compromised"}function S(e){return"EmailLinkError"===e.name}},73610:function(e,t,r){r.d(t,{$R:()=>i.C,Au:()=>i.u,Cm:()=>n.n,I3:()=>i.d,_d:()=>i.m,cR:()=>n.t,hl:()=>i.a,kl:()=>i.v,qY:()=>i.l,si:()=>i.s,ux:()=>i.o});var n=r(73957),i=r(86429)},94486:function(e,t,r){r.d(t,{a:()=>i,c:()=>o,n:()=>a,o:()=>c,s:()=>l,t:()=>s,x:()=>u}),r(98114);let n="ClerkJS:";function i(e){throw Error("".concat(n," Missing path option. The ").concat(e,' component was mounted with path routing so you need to specify the path where the component is mounted on e.g. path="/sign-in".'))}function o(e){throw Error("".concat(n," Invalid routing strategy, path cannot be used in tandem with ").concat(e,"."))}function a(){throw Error("".concat(n," Clerk instance not found. Make sure Clerk is initialized before using any Clerk components."))}function s(e){throw Error("".concat(n," ").concat(e," not found. Make sure you wrap your app with <").concat(e,">."))}function u(){throw Error("".concat(n," The target element is empty. Provide a valid DOM element."))}function l(e,t){throw Error("".concat(n," Response: ").concat(e||0," not supported yet.\nFor more information contact us at ").concat(t))}function c(e){throw Error("".concat(n," Unable to retrieve a third party script").concat(e?" ".concat(e):"","."))}},31475:function(e,t,r){r.d(t,{$V:()=>n.x,A8:()=>n.o,SK:()=>n.c,i$:()=>n.t,jB:()=>n.a,wv:()=>n.s});var n=r(94486)},25848:function(e,t,r){r.d(t,{hF:()=>n.t,hI:()=>n.n,rw:()=>n.r}),r(26448),r(19343),r(8020),r(59242);var n=r(35147)},29823:function(e,t,r){r.d(t,{F:()=>o,j:()=>a}),r(92977),r(22501),r(58910),r(88711),r(64178),r(60962),r(60486),r(25089),r(61244),r(77895),r(26448),r(19343),r(8020),r(59242);var n=r(66866),i=r(35147);r(19161),r(22239);let o=()=>{var e;let t=null!=(e=(0,i.n)(n.r))?e:"";return t?JSON.parse(atob(t)):null},a=e=>{let{url:t,startPath:r="/user",currentPath:i="",componentName:o,socialProvider:a=""}=e,s=globalThis.btoa(JSON.stringify({path:i.replace(/CLERK-ROUTER\/VIRTUAL\/.*\//,"")||"",componentName:o,startPath:r,socialProvider:a})),u=new URL(t),l=u.searchParams;return l.set(n.r,s),u.search=l.toString(),u.toString()}},26448:function(e,t,r){r.d(t,{t:()=>n}),r(92977);let n=e=>"undefined"!=typeof atob&&"function"==typeof atob?atob(e):void 0!==globalThis.Buffer?globalThis.Buffer.from(e,"base64").toString():e},19343:function(e,t,r){r(92977)},8020:function(e,t,r){r.d(t,{a:()=>c,n:()=>l,u:()=>s}),r(22501),r(19161),r(89305),r(30945),r(98114),r(88711),r(65595),r(16418),r(4214),r(43375),r(65746),r(54790),r(35469),r(18336),r(68971),r(42287),r(95801),r(93374),r(83443),r(58910),r(50036);var n=r(63526),i=r(26448);r(19343);let o="pk_live_";function a(e){if(!e.endsWith("$"))return!1;let t=e.slice(0,-1);return!t.includes("$")&&t.includes(".")}function s(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e=e||"")||!u(e)){if(r.fatal&&!e)throw Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(r.fatal&&!u(e))throw Error("Publishable key not valid.");return null}let n=e.startsWith(o)?"production":"development";try{t=(0,i.t)(e.split("_")[2])}catch{if(r.fatal)throw Error("Publishable key not valid: Failed to decode key.");return null}if(!a(t)){if(r.fatal)throw Error("Publishable key not valid: Decoded key has invalid format.");return null}let s=t.slice(0,-1);return r.proxyUrl?s=r.proxyUrl:"development"!==n&&r.domain&&r.isSatellite&&(s="clerk.".concat(r.domain)),{instanceType:n,frontendApi:s}}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{if(!(e.startsWith(o)||e.startsWith("pk_test_")))return!1;let t=e.split("_");if(3!==t.length)return!1;let r=t[2];if(!r)return!1;return a((0,i.t)(r))}catch{return!1}}function l(){let e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;let r="string"==typeof t?t:t.hostname,i=e.get(r);return void 0===i&&(i=n.r.some(e=>r.endsWith(e)),e.set(r,i)),i}}}function c(e){return e.startsWith("test_")||e.startsWith("pk_test_")}},14335:function(e,t,r){r.d(t,{t:()=>i}),r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412),r(88711);let n=new Set,i={warnOnce:e=>{n.has(e)||(n.add(e),console.warn(e))},logOnce:e=>{n.has(e)||(console.log(e),n.add(e))}}},16164:function(e,t,r){r.d(t,{v:()=>n.t});var n=r(14335)},59242:function(e,t,r){r.d(t,{t:()=>n}),r(30945),r(88711),r(64178),r(60962),r(60486),r(25089),r(61244),r(77895),r(8020);let n="__clerk_netlify_cache_bust"},2105:function(e,t,r){r.d(t,{t:()=>n});let n=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}},35147:function(e,t,r){r.d(t,{n:()=>a,r:()=>s,t:()=>u}),r(88711),r(64178),r(60962),r(60486),r(25089),r(61244),r(77895),r(22501);var n=r(59242),i=r(66866);let o=["__clerk_status","__clerk_created_session","__clerk_invitation_token","__clerk_ticket","__clerk_modal_state","__clerk_handshake","__clerk_handshake_nonce","__clerk_help",n.t,i.o,i.i,i.a];function a(e){return new URL(window.location.href).searchParams.get(e)||null}function s(e){let t=new URL(window.location.href);t.searchParams.has(e)&&(t.searchParams.delete(e),window.history.replaceState(window.history.state,"",t))}function u(e){let t=new URLSearchParams(window.location.search),r=e||new URLSearchParams;for(let e of o){let n=t.get(e);n&&r.set(e,n)}return r}},90231:function(e,t,r){let n,i,o,a,s,u,l,c,f;r.d(t,{OM:()=>tI,Fm:()=>t0,D_:()=>tM,It:()=>tk,kH:()=>tZ,Mn:()=>tC,Z5:()=>tR,UQ:()=>tz,ho:()=>tP,N$:()=>rP,LS:()=>t_,Jd:()=>t$,ED:()=>tr,Wp:()=>tq,Rx:()=>tf,cl:()=>rw,hZ:()=>tE,e3:()=>tt,Sj:()=>rx,rg:()=>tQ,wV:()=>tL,Jl:()=>rE,kN:()=>tu,Ow:()=>t3,t7:()=>tH,hl:()=>t2,tr:()=>tV,Dc:()=>t1,Oc:()=>tW,Tn:()=>rm,X$:()=>tG,WO:()=>tN,v$:()=>tX}),r(98114),r(88711),r(50036),r(59781),r(30945),r(19161),r(95055),r(22239),r(3568),r(85074),r(58814),r(8451),r(52678),r(22501),r(26448),r(19343),r(8020);let p="reverification-error";r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412),r(58910),r(10676),r(89305);let h={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"}},d=new Set(["first_factor","second_factor","multi_factor"]),v=new Set(["strict_mfa","strict","moderate","lax"]);var g,y,m,b,w,S,E,k,_,P,x,O,R,C,A,I,T,M,z,j,L,D,U,N,F,$,W,B,q,Y,K,V,H,G,Q,J,Z,X=r(73957),ee=r(86429);r(29669);var et=r(52312),er=r(80996),en=r(94486),ei=r(35074);function eo(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function ea(e,t){var r=eo(e,t,"get");return r.get?r.get.call(e):r.value}function es(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}r(41730);var eu={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},el=new(m=new WeakMap,b=new WeakMap,class{setTimeoutProvider(e){var t=this,r=m,n=e,i=eo(t,r,"set");if(i.set)i.set.call(t,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}}setTimeout(e,t){return ea(this,m).setTimeout(e,t)}clearTimeout(e){ea(this,m).clearTimeout(e)}setInterval(e,t){return ea(this,m).setInterval(e,t)}clearInterval(e){ea(this,m).clearInterval(e)}constructor(){es(this,m,{writable:!0,value:eu}),es(this,b,{writable:!0,value:!1})}}),ec=(n=[],i=0,o=e=>{e()},a=e=>{e()},s=function(e){setTimeout(e,0)},{batch:e=>{let t;i++;try{t=e()}finally{let e;--i||(e=n,n=[],e.length&&s(()=>{a(()=>{e.forEach(e=>{o(e)})})}))}return t},batchCalls:e=>function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];u(()=>{e(...r)})},schedule:u=e=>{i?n.push(e):s(()=>{o(e)})},setNotifyFunction:e=>{o=e},setBatchNotifyFunction:e=>{a=e},setScheduler:e=>{s=e}}),ef="undefined"==typeof window||"Deno"in globalThis;function ep(){}function eh(e){return"number"==typeof e&&e>=0&&e!==1/0}function ed(e,t){return"function"==typeof e?e(t):e}function ev(e,t){return"function"==typeof e?e(t):e}var eg=Object.prototype.hasOwnProperty;function ey(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function em(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function eb(e){if(!ew(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!ew(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function ew(e){return"[object Object]"===Object.prototype.toString.call(e)}function eS(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){if(t===r)return t;let n=em(t)&&em(r);if(!n&&!(eb(t)&&eb(r)))return r;let i=(n?t:Object.keys(t)).length,o=n?r:Object.keys(r),a=o.length,s=n?Array(a):{},u=0;for(let l=0;l<a;l++){let a=n?l:o[l],c=t[a],f=r[a];if(c===f){s[a]=c,(n?l<i:eg.call(t,a))&&u++;continue}if(null===c||null===f||"object"!=typeof c||"object"!=typeof f){s[a]=f;continue}let p=e(c,f);s[a]=p,p===c&&u++}return i===a&&u===i?t:s}(e,t):t}function eE(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[...e,t];return r&&n.length>r?n.slice(1):n}function ek(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var e_=Symbol();r(43510);var eP=class{subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}};function ex(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function eO(e,t){var r=ex(e,t,"get");return r.get?r.get.call(e):r.value}function eR(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function eC(e,t,r){var n=ex(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var eA=new(w=new WeakMap,S=new WeakMap,E=new WeakMap,class extends eP{onSubscribe(){eO(this,S)||this.setEventListener(eO(this,E))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=eO(this,S))||e.call(this),eC(this,S,void 0))}setEventListener(e){var t;eC(this,E,e),null==(t=eO(this,S))||t.call(this),eC(this,S,e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){eO(this,w)!==e&&(eC(this,w,e),this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return"boolean"==typeof eO(this,w)?eO(this,w):(null==(e=globalThis.document)?void 0:e.visibilityState)!=="hidden"}constructor(){super(),eR(this,w,{writable:!0,value:void 0}),eR(this,S,{writable:!0,value:void 0}),eR(this,E,{writable:!0,value:void 0}),eC(this,E,e=>{if(!ef&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}});function eI(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function eT(e,t){var r=eI(e,t,"get");return r.get?r.get.call(e):r.value}function eM(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function ez(e,t,r){var n=eI(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var ej=new(k=new WeakMap,_=new WeakMap,P=new WeakMap,class extends eP{onSubscribe(){eT(this,_)||this.setEventListener(eT(this,P))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=eT(this,_))||e.call(this),ez(this,_,void 0))}setEventListener(e){var t;ez(this,P,e),null==(t=eT(this,_))||t.call(this),ez(this,_,e(this.setOnline.bind(this)))}setOnline(e){eT(this,k)!==e&&(ez(this,k,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return eT(this,k)}constructor(){super(),eM(this,k,{writable:!0,value:!0}),eM(this,_,{writable:!0,value:void 0}),eM(this,P,{writable:!0,value:void 0}),ez(this,P,e=>{if(!ef&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}})}});function eL(){let e,t,r=new Promise((r,n)=>{e=r,t=n});function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}x=new WeakMap;function eD(e,t){var r;return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(null!=(r=t.networkMode)?r:"online")!=="online"||ej.isOnline()?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function eU(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function eN(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function eF(e,t){var r=eN(e,t,"get");return r.get?r.get.call(e):r.value}function e$(e,t,r){eU(e,t),t.set(e,r)}function eW(e,t,r){var n=eN(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function eB(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}function eq(e,t){eU(e,t),t.add(e)}O=new WeakMap,R=new WeakMap;var eY=(C=new WeakMap,A=new WeakMap,I=new WeakMap,T=new WeakMap,M=new WeakMap,z=new WeakMap,j=new WeakMap,L=new WeakMap,D=new WeakMap,U=new WeakMap,N=new WeakMap,F=new WeakMap,$=new WeakMap,W=new WeakMap,B=new WeakMap,q=new WeakSet,Y=new WeakSet,K=new WeakSet,V=new WeakSet,H=new WeakSet,G=new WeakSet,Q=new WeakSet,J=new WeakSet,Z=new WeakSet,class extends eP{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(eF(this,A).addObserver(this),eK(eF(this,A),this.options)?eB(this,q,eQ).call(this):this.updateResult(),eB(this,H,e0).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return eV(eF(this,A),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return eV(eF(this,A),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,eB(this,G,e1).call(this),eB(this,Q,e2).call(this),eF(this,A).removeObserver(this)}setOptions(e){let t=this.options,r=eF(this,A);if(this.options=eF(this,C).defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof ev(this.options.enabled,eF(this,A)))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");eB(this,J,e3).call(this),eF(this,A).setOptions(this.options),t._defaulted&&!ey(this.options,t)&&eF(this,C).getQueryCache().notify({type:"observerOptionsUpdated",query:eF(this,A),observer:this});let n=this.hasListeners();n&&eH(eF(this,A),r,this.options,t)&&eB(this,q,eQ).call(this),this.updateResult(),n&&(eF(this,A)!==r||ev(this.options.enabled,eF(this,A))!==ev(t.enabled,eF(this,A))||ed(this.options.staleTime,eF(this,A))!==ed(t.staleTime,eF(this,A)))&&eB(this,Y,eJ).call(this);let i=eB(this,K,eZ).call(this);n&&(eF(this,A)!==r||ev(this.options.enabled,eF(this,A))!==ev(t.enabled,eF(this,A))||i!==eF(this,W))&&eB(this,V,eX).call(this,i)}getOptimisticResult(e){var t,r;let n=eF(this,C).getQueryCache().build(eF(this,C),e),i=this.createResult(n,e);return t=this,r=i,ey(t.getCurrentResult(),r)||(eW(this,T,i),eW(this,z,this.options),eW(this,M,eF(this,A).state)),i}getCurrentResult(){return eF(this,T)}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),null==t||t(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==eF(this,j).status||eF(this,j).reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){eF(this,B).add(e)}getCurrentQuery(){return eF(this,A)}refetch(){let{...e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.fetch({...e})}fetchOptimistic(e){let t=eF(this,C).defaultQueryOptions(e),r=eF(this,C).getQueryCache().build(eF(this,C),t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return eB(this,q,eQ).call(this,{...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),eF(this,T)))}createResult(e,t){let r,n=eF(this,A),i=this.options,o=eF(this,T),a=eF(this,M),s=eF(this,z),u=e!==n?e.state:eF(this,I),{state:l}=e,c={...l},f=!1;if(t._optimisticResults){let r=this.hasListeners(),o=!r&&eK(e,t),a=r&&eH(e,n,t,i);(o||a)&&(c={...c,...eD(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:p,errorUpdatedAt:h,status:d}=c;r=c.data;let v=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===d){let e;if((null==o?void 0:o.isPlaceholderData)&&t.placeholderData===(null==s?void 0:s.placeholderData))e=o.data,v=!0;else{var g;e="function"==typeof t.placeholderData?t.placeholderData(null==(g=eF(this,N))?void 0:g.state.data,eF(this,N)):t.placeholderData}void 0!==e&&(d="success",r=eS(null==o?void 0:o.data,e,t),f=!0)}if(t.select&&void 0!==r&&!v)if(o&&r===(null==a?void 0:a.data)&&t.select===eF(this,D))r=eF(this,U);else try{eW(this,D,t.select),r=t.select(r),r=eS(null==o?void 0:o.data,r,t),eW(this,U,r),eW(this,L,null)}catch(e){eW(this,L,e)}eF(this,L)&&(p=eF(this,L),r=eF(this,U),h=Date.now(),d="error");let y="fetching"===c.fetchStatus,m="pending"===d,b="error"===d,w=m&&y,S=void 0!==r,E={status:d,fetchStatus:c.fetchStatus,isPending:m,isSuccess:"success"===d,isError:b,isInitialLoading:w,isLoading:w,data:r,dataUpdatedAt:c.dataUpdatedAt,error:p,errorUpdatedAt:h,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>u.dataUpdateCount||c.errorUpdateCount>u.errorUpdateCount,isFetching:y,isRefetching:y&&!m,isLoadingError:b&&!S,isPaused:"paused"===c.fetchStatus,isPlaceholderData:f,isRefetchError:b&&S,isStale:eG(e,t),refetch:this.refetch,promise:eF(this,j),isEnabled:!1!==ev(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===E.status?e.reject(E.error):void 0!==E.data&&e.resolve(E.data)},r=()=>{t(eW(this,j,E.promise=eL()))},i=eF(this,j);switch(i.status){case"pending":e.queryHash===n.queryHash&&t(i);break;case"fulfilled":("error"===E.status||E.data!==i.value)&&r();break;case"rejected":("error"!==E.status||E.error!==i.reason)&&r()}}return E}updateResult(){let e=eF(this,T),t=this.createResult(eF(this,A),this.options);if(eW(this,M,eF(this,A).state),eW(this,z,this.options),void 0!==eF(this,M).data&&eW(this,N,eF(this,A)),ey(t,e))return;eW(this,T,t);let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!eF(this,B).size)return!0;let n=new Set(null!=r?r:eF(this,B));return this.options.throwOnError&&n.add("error"),Object.keys(eF(this,T)).some(t=>eF(this,T)[t]!==e[t]&&n.has(t))};eB(this,Z,e6).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&eB(this,H,e0).call(this)}constructor(e,t){super(),eq(this,q),eq(this,Y),eq(this,K),eq(this,V),eq(this,H),eq(this,G),eq(this,Q),eq(this,J),eq(this,Z),e$(this,C,{writable:!0,value:void 0}),e$(this,A,{writable:!0,value:void 0}),e$(this,I,{writable:!0,value:void 0}),e$(this,T,{writable:!0,value:void 0}),e$(this,M,{writable:!0,value:void 0}),e$(this,z,{writable:!0,value:void 0}),e$(this,j,{writable:!0,value:void 0}),e$(this,L,{writable:!0,value:void 0}),e$(this,D,{writable:!0,value:void 0}),e$(this,U,{writable:!0,value:void 0}),e$(this,N,{writable:!0,value:void 0}),e$(this,F,{writable:!0,value:void 0}),e$(this,$,{writable:!0,value:void 0}),e$(this,W,{writable:!0,value:void 0}),e$(this,B,{writable:!0,value:new Set}),this.options=t,eW(this,C,e),eW(this,L,null),eW(this,j,eL()),this.bindMethods(),this.setOptions(t)}});function eK(e,t){return!1!==ev(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&eV(e,t,t.refetchOnMount)}function eV(e,t,r){if(!1!==ev(t.enabled,e)&&"static"!==ed(t.staleTime,e)){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&eG(e,t)}return!1}function eH(e,t,r,n){return(e!==t||!1===ev(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&eG(e,r)}function eG(e,t){return!1!==ev(t.enabled,e)&&e.isStaleByTime(ed(t.staleTime,e))}function eQ(e){eB(this,J,e3).call(this);let t=eF(this,A).fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(ep)),t}function eJ(){var e;eB(this,G,e1).call(this);let t=ed(this.options.staleTime,eF(this,A));if(ef||eF(this,T).isStale||!eh(t))return;let r=(e=eF(this,T).dataUpdatedAt,Math.max(e+(t||0)-Date.now(),0));eW(this,F,el.setTimeout(()=>{eF(this,T).isStale||this.updateResult()},r+1))}function eZ(){var e;return null!=(e="function"==typeof this.options.refetchInterval?this.options.refetchInterval(eF(this,A)):this.options.refetchInterval)&&e}function eX(e){eB(this,Q,e2).call(this),eW(this,W,e),!ef&&!1!==ev(this.options.enabled,eF(this,A))&&eh(eF(this,W))&&0!==eF(this,W)&&eW(this,$,el.setInterval(()=>{(this.options.refetchIntervalInBackground||eA.isFocused())&&eB(this,q,eQ).call(this)},eF(this,W)))}function e0(){eB(this,Y,eJ).call(this),eB(this,V,eX).call(this,eB(this,K,eZ).call(this))}function e1(){eF(this,F)&&(el.clearTimeout(eF(this,F)),eW(this,F,void 0))}function e2(){eF(this,$)&&(el.clearInterval(eF(this,$)),eW(this,$,void 0))}function e3(){let e=eF(this,C).getQueryCache().build(eF(this,C),this.options);if(e===eF(this,A))return;let t=eF(this,A);eW(this,A,e),eW(this,I,e.state),this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}function e6(e){ec.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(eF(this,T))}),eF(this,C).getQueryCache().notify({query:eF(this,A),type:"observerResultsUpdated"})})}function e9(e){return{onFetch:(t,r)=>{var n,i,o,a,s;let u=t.options,l=null==(o=t.fetchOptions)||null==(i=o.meta)||null==(n=i.fetchMore)?void 0:n.direction,c=(null==(a=t.state.data)?void 0:a.pages)||[],f=(null==(s=t.state.data)?void 0:s.pageParams)||[],p={pages:[],pageParams:[]},h=0,d=async()=>{var r,n,i;let o=!1,a=(r=t.options,n=t.fetchOptions,!r.queryFn&&(null==n?void 0:n.initialPromise)?()=>n.initialPromise:r.queryFn&&r.queryFn!==e_?r.queryFn:()=>Promise.reject(Error("Missing queryFn: '".concat(r.queryHash,"'")))),s=async(e,r,n)=>{if(o)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);let i=(()=>{var e,i;let a,s,u={client:t.client,queryKey:t.queryKey,pageParam:r,direction:n?"backward":"forward",meta:t.options.meta};return e=()=>t.signal,i=()=>o=!0,s=!1,Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(null!=a||(a=e()),s||(s=!0,a.aborted?i():a.addEventListener("abort",i,{once:!0})),a)}),u})(),s=await a(i),{maxPages:u}=t.options,l=n?ek:eE;return{pages:l(e.pages,s,u),pageParams:l(e.pageParams,r,u)}};if(l&&c.length){let e="backward"===l,t={pages:c,pageParams:f},r=(e?e5:e4)(u,t);p=await s(t,r,e)}else{let t=null!=e?e:c.length;do{let e=0===h?null!=(i=f[0])?i:u.initialPageParam:e4(u,p);if(h>0&&null==e)break;p=await s(p,e),h++}while(h<t)}return p};t.options.persister?t.fetchFn=()=>{var e,n;return null==(e=(n=t.options).persister)?void 0:e.call(n,d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=d}}}function e4(e,t){let{pages:r,pageParams:n}=t,i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,n[i],n):void 0}function e5(e,t){var r;let{pages:n,pageParams:i}=t;return n.length>0?null==(r=e.getPreviousPageParam)?void 0:r.call(e,n[0],n,i[0],i):void 0}var e8=class extends eY{bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:e9()})}getOptimisticResult(e){return e.behavior=e9(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){var r,n,i,o;let{state:a}=e,s=super.createResult(e,t),{isFetching:u,isRefetching:l,isError:c,isRefetchError:f}=s,p=null==(n=a.fetchMeta)||null==(r=n.fetchMore)?void 0:r.direction,h=c&&"forward"===p,d=u&&"forward"===p,v=c&&"backward"===p,g=u&&"backward"===p;return{...s,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:!!(i=a.data)&&null!=e4(t,i),hasPreviousPage:!!(o=a.data)&&!!t.getPreviousPageParam&&null!=e5(t,o),isFetchNextPageError:h,isFetchingNextPage:d,isFetchPreviousPageError:v,isFetchingPreviousPage:g,isRefetchError:f&&!h&&!v,isRefetching:l&&!d&&!g}}constructor(e,t){super(e,t)}},e7=r(97447);function te(e,t){if(!e)throw"string"==typeof t?Error(t):Error("".concat(t.displayName," not found"))}let tt=(e,t)=>{let{assertCtxFn:r=te}=t||{},n=ei.createContext(void 0);return n.displayName=e,[n,()=>{let t=ei.useContext(n);return r(t,"".concat(e," not found")),t.value},()=>{let e=ei.useContext(n);return e?e.value:{}}]},[tr,tn]=tt("ClerkInstanceContext"),[ti,to]=tt("InitialStateContext");function ta(e){let{children:t,initialState:r}=e,[n]=(0,ei.useState)(r),i=ei.useMemo(()=>({value:n}),[n]);return ei.createElement(ti.Provider,{value:i},t)}function ts(){let e=to();if(e instanceof Promise)if(0)return ei.use(e);else throw Error("initialState cannot be a promise if React version is less than 19");return e}let tu=ei.createContext({}),[tl,tc]=tt("CheckoutContext"),tf=e=>{let{children:t,...r}=e;return ei.createElement(tl.Provider,{value:{value:r}},t)};function tp(e){if(!ei.useContext(tr)){if("function"==typeof e)return void e();throw Error("".concat(e," can only be used within the <ClerkProvider /> component.\n\nPossible fixes:\n1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.\n2. Check for multiple versions of the `@clerk/shared` package in your project. Use a tool like `npm ls @clerk/shared` to identify multiple versions, and update your dependencies to only rely on one.\n\nLearn more: https://clerk.com/docs/components/clerk-provider").trim())}}function th(e){return{queryKey:[e.stablePrefix,e.authenticated,e.tracked,e.untracked],invalidationKey:[e.stablePrefix,e.authenticated,e.tracked],stableKey:e.stablePrefix,authenticated:e.authenticated}}function td(e){if(e)return function(e){return e}}let tv=l=new Proxy(function(){},{get(e,t){if("then"!==t)return"toString"===t?()=>"[".concat("ClerkMockQueryClient","]"):t===Symbol.toPrimitive?()=>0:l},apply:()=>l,construct:()=>l,has:()=>!1,set:()=>!1}),tg=()=>{let e=tn(),t=e.__internal_queryClient,[,r]=(0,ei.useState)("object"==typeof t&&"__tag"in t&&"clerk-rq-client"===t.__tag);(0,ei.useEffect)(()=>{let t=()=>r(!0);return e.on("queryClientStatus",t),()=>{e.off("queryClientStatus",t)}},[e,r]);let n="object"==typeof t&&"__tag"in t&&"clerk-rq-client"===t.__tag;return[(null==t?void 0:t.client)||tv,n]};function ty(e,t){let[r,n]=tg(),i=n?r.defaultQueryOptions(e):e;i._optimisticResults="optimistic";let o=ei.useMemo(()=>new t(r,i),[r]),a=o.getOptimisticResult(i),s=!1!==e.subscribed;return(ei.useSyncExternalStore(ei.useCallback(e=>{let t=s?o.subscribe(ec.batchCalls(e)):ep;return o.updateResult(),t},[o,s]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),ei.useEffect(()=>{o.setOptions(i)},[i,o]),n)?i.notifyOnChangeProps?a:o.trackResult(a):{data:void 0,error:null,isLoading:!1,isFetching:!1,status:"pending"}}function tm(e){return ty(e,eY)}function tb(e){var t;let r,n,{isSignedOut:i,stableKeys:o,authenticated:a=!0,onCleanup:s}=e,u=(0,ei.useRef)(o),[l]=tg(),c=(t=!i,r=(0,ei.useRef)(t),n=(0,ei.useRef)(null),r.current!==t&&(n.current=r.current,r.current=t),n.current);(0,ei.useEffect)(()=>{!0===a&&c&&!0===i&&(l.removeQueries({predicate:e=>{let[t,r]=e.queryKey;return!0===r&&"string"==typeof t&&(Array.isArray(u.current)?u.current.includes(t):u.current===t)}}),null==s||s())},[a,i,c,l])}let tw=(e,t)=>{var r,n,i;let o="boolean"==typeof e&&e,a=(0,ei.useRef)(o?t.initialPage:null!=(r=null==e?void 0:e.initialPage)?r:t.initialPage),s=(0,ei.useRef)(o?t.pageSize:null!=(n=null==e?void 0:e.pageSize)?n:t.pageSize),u={};for(let r of Object.keys(t))u[r]=o?t[r]:null!=(i=null==e?void 0:e[r])?i:t[r];return{...u,initialPage:a.current,pageSize:s.current}},tS=e=>{var t,r,n,i,o,a,s,u,l;let c,{fetcher:f,config:p,keys:h}=e,[d,v]=(0,ei.useState)(null!=(r=p.initialPage)?r:1),g=(0,ei.useRef)(null!=(n=p.initialPage)?n:1),y=(0,ei.useRef)(null!=(i=p.pageSize)?i:10),m=null==(o=p.enabled)||o,b=p.isSignedIn,w=null!=(a=p.infinite)&&a,S="cache"===p.__experimental_mode,E=null!=(s=p.keepPreviousData)&&s,[k]=tg(),_=m&&!!f&&!S&&!1!==b,[P,x]=(0,ei.useState)(0),O=(0,ei.useCallback)(e=>{x(e)},[]),R=(0,ei.useMemo)(()=>{let[e,t,r,n]=h.queryKey;return[e,t,r,{...n,args:{...n.args,initialPage:d,pageSize:y.current}}]},[h.queryKey,d]),C=tm({queryKey:R,queryFn:e=>{let{queryKey:t}=e,{args:r}=t[3];if(f)return f(r)},staleTime:6e4,enabled:_&&!w,placeholderData:td(E)}),A=(0,ei.useMemo)(()=>{let[e,t,r,n]=h.queryKey;return[e+"-inf",t,r,n]},[h.queryKey]),I=ty({queryKey:A,initialPageParam:null!=(u=p.initialPage)?u:1,getNextPageParam:(e,t,r)=>{var n,i;let o=null!=(n=null==e?void 0:e.total_count)?n:0;return(t.length+(p.initialPage?p.initialPage-1:0))*(null!=(i=p.pageSize)?i:10)<o?r+1:void 0},queryFn:e=>{let{pageParam:t,queryKey:r}=e,{args:n}=r[3];if(f)return f({...n,initialPage:t,pageSize:y.current})},staleTime:6e4,enabled:_&&w},e8);tb({isSignedOut:!1===b,authenticated:h.authenticated,stableKeys:[c=h.stableKey,"".concat(c,"-inf")],onCleanup:()=>{v(g.current),Promise.resolve().then(()=>O(e=>e+1))}});let{data:T,count:M,page:z}=(0,ei.useMemo)(()=>{var e,t,r,n,i,o,a,s;if(w){let s=k.getQueryData(A),u=_?null!=(n=null!=(r=null==(e=I.data)?void 0:e.pages)?r:null==s?void 0:s.pages)?n:[]:null!=(i=null==s?void 0:s.pages)?i:[],l=Array.isArray(u)?u.filter(Boolean):[];return{data:null!=(o=l.map(e=>null==e?void 0:e.data).flat().filter(Boolean))?o:[],count:null!=(a=null==(t=l[l.length-1])?void 0:t.total_count)?a:0,page:l.length>0?l.length:g.current}}let u=_&&null!=(s=C.data)?s:k.getQueryData(R);return{data:Array.isArray(null==u?void 0:u.data)?u.data:[],count:"number"==typeof(null==u?void 0:u.total_count)?u.total_count:0,page:d}},[_,P,w,null==(t=I.data)?void 0:t.pages,C.data,k,A,R,d]),j=(0,ei.useCallback)(e=>{if(w){var t,r,n;let i=Math.max(0,"function"==typeof e?e(z):e),o=k.getQueryData(A);i-(null!=(n=null!=(r=null==(t=I.data)?void 0:t.pages)?r:null==o?void 0:o.pages)?n:[]).length>0&&I.fetchNextPage({cancelRefetch:!1});return}return v(e)},[I,z,w,k,A]),L=w?I.isLoading:C.isLoading,D=w?I.isFetching:C.isFetching,U=null!=(l=w?I.error:C.error)?l:null,N=(0,ei.useCallback)(()=>{w?I.fetchNextPage({cancelRefetch:!1}):v(e=>Math.max(0,e+1))},[I,w]),F=(0,ei.useCallback)(()=>{w||v(e=>Math.max(0,e-1))},[w]),$=(g.current-1)*y.current,W=Math.ceil((M-$)/y.current),B=w?!!I.hasNextPage:M-$>z*y.current,q=w?!!I.hasPreviousPage:(z-1)*y.current>$;return{data:T,count:M,error:U,isLoading:L,isFetching:D,isError:!!U,page:z,pageCount:W,fetchPage:j,fetchNext:N,fetchPrevious:F,hasNextPage:B,hasPreviousPage:q,revalidate:async()=>{await k.invalidateQueries({queryKey:h.invalidationKey});let[e,...t]=h.invalidationKey;return k.invalidateQueries({queryKey:[e+"-inf",...t]})},setData:e=>(w?(k.setQueryData(A,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Array.isArray(null==t?void 0:t.pages)?t.pages:[],n="function"==typeof e?e(r):e;return{...t,pages:n}}),O(e=>e+1)):(k.setQueryData(R,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{data:[],total_count:0};return"function"==typeof e?e(t):e}),O(e=>e+1)),Promise.resolve())}};function tE(e){var t,r,n;tp("useAPIKeys");let i=tw(e,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,subject:"",query:"",enabled:!0}),o=tn();null==(t=o.telemetry)||t.record((0,et.a)("useAPIKeys"));let a={initialPage:i.initialPage,pageSize:i.pageSize,...i.subject?{subject:i.subject}:{},...i.query?{query:i.query}:{}},s=(null==(n=i.enabled)||n)&&o.loaded;return tS({fetcher:(null==(r=o.apiKeys)?void 0:r.getAll)?e=>o.apiKeys.getAll({...e,subject:i.subject}):void 0,config:{keepPreviousData:i.keepPreviousData,infinite:i.infinite,enabled:s,isSignedIn:null!==o.user,initialPage:i.initialPage,pageSize:i.pageSize},keys:th({stablePrefix:"apiKeys",authenticated:!0,tracked:{subject:i.subject},untracked:{args:a}})})}function tk(){let e=tn(),t=ts(),r=(0,ei.useCallback)(()=>null==t?void 0:t.organization,[null==t?void 0:t.organization]);return(0,ei.useSyncExternalStore)((0,ei.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,ei.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.organization:r(),[e,r]),r)}function t_(){let e=tn(),t=ts(),r=(0,ei.useCallback)(()=>{var e;let r,n,i,o,a;return t?(r=t.userId,n=t.user,i=t.sessionId,o=t.sessionStatus,a=t.sessionClaims,e={userId:r,user:n,sessionId:i,session:t.session,sessionStatus:o,sessionClaims:a,organization:t.organization,orgId:t.orgId,orgRole:t.orgRole,orgPermissions:t.orgPermissions,orgSlug:t.orgSlug,actor:t.actor,factorVerificationAge:t.factorVerificationAge},void 0===e)?void 0:e.session:void 0},[t]);return(0,ei.useSyncExternalStore)((0,ei.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,ei.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.session:r(),[e,r]),r)}let tP=()=>(tp("useClerk"),tn());function tx(e){let t=tP(),r=(0,ei.useRef)(!1);(0,ei.useEffect)(()=>{var n;r.current||(r.current=!0,null==(n=t.__internal_attemptToEnableEnvironmentSetting)||n.call(t,{for:"organizations",caller:e}))},[t,e])}let tO={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function tR(e){var t,r,n;let{domains:i,membershipRequests:o,memberships:a,invitations:s}=e||{};tp("useOrganization"),tx("useOrganization");let u=tk(),l=t_(),c=tw(i,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,enrollmentMode:void 0}),f=tw(o,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),p=tw(a,{initialPage:1,pageSize:10,role:void 0,keepPreviousData:!1,infinite:!1,query:void 0}),h=tw(s,{initialPage:1,pageSize:10,status:["pending"],keepPreviousData:!1,infinite:!1}),d=tn();null==(t=d.telemetry)||t.record((0,et.a)("useOrganization"));let v=void 0===i?void 0:{initialPage:c.initialPage,pageSize:c.pageSize,enrollmentMode:c.enrollmentMode},g=void 0===o?void 0:{initialPage:f.initialPage,pageSize:f.pageSize,status:f.status},y=void 0===a?void 0:{initialPage:p.initialPage,pageSize:p.pageSize,role:p.role,query:p.query},m=void 0===s?void 0:{initialPage:h.initialPage,pageSize:h.pageSize,status:h.status},b=tS({fetcher:null==u?void 0:u.getDomains,config:{keepPreviousData:c.keepPreviousData,infinite:c.infinite,enabled:!!v,isSignedIn:null!==u,initialPage:c.initialPage,pageSize:c.pageSize},keys:th({stablePrefix:"domains",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:v}})}),w=tS({fetcher:null==u?void 0:u.getMembershipRequests,config:{keepPreviousData:f.keepPreviousData,infinite:f.infinite,enabled:!!g,isSignedIn:null!==u,initialPage:f.initialPage,pageSize:f.pageSize},keys:th({stablePrefix:"membershipRequests",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:g}})}),S=tS({fetcher:null==u?void 0:u.getMemberships,config:{keepPreviousData:p.keepPreviousData,infinite:p.infinite,enabled:!!y,isSignedIn:null!==u,initialPage:p.initialPage,pageSize:p.pageSize},keys:th({stablePrefix:"memberships",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:y}})}),E=tS({fetcher:null==u?void 0:u.getInvitations,config:{keepPreviousData:h.keepPreviousData,infinite:h.infinite,enabled:!!m,isSignedIn:null!==u,initialPage:h.initialPage,pageSize:h.pageSize},keys:th({stablePrefix:"invitations",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:m}})});return void 0===u?{isLoaded:!1,organization:void 0,membership:void 0,domains:tO,membershipRequests:tO,memberships:tO,invitations:tO}:null===u?{isLoaded:!0,organization:null,membership:null,domains:null,membershipRequests:null,memberships:null,invitations:null}:!d.loaded&&u?{isLoaded:!0,organization:u,membership:void 0,domains:tO,membershipRequests:tO,memberships:tO,invitations:tO}:{isLoaded:d.loaded,organization:u,membership:(r=l.user.organizationMemberships,n=u.id,r.find(e=>e.organization.id===n)),domains:b,membershipRequests:w,memberships:S,invitations:E}}function tC(){let e=tn(),t=ts(),r=(0,ei.useCallback)(()=>null==t?void 0:t.user,[null==t?void 0:t.user]);return(0,ei.useSyncExternalStore)((0,ei.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,ei.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.user:r(),[e,r]),r)}let tA="useOrganizationCreationDefaults";function tI(){var e,t,r,n,i,o,a;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tp(tA);let{keepPreviousData:u=!0,enabled:l=!0}=s,c=tn(),f=tC(),p=null!=(i=null==(r=c.__internal_environment)||null==(t=r.organizationSettings)||null==(e=t.organizationCreationDefaults)?void 0:e.enabled)&&i;null==(n=c.telemetry)||n.record((0,et.a)(tA));let{queryKey:h}=function(e){let{userId:t}=e;return(0,ei.useMemo)(()=>th({stablePrefix:"organizationCreationDefaults",authenticated:!!t,tracked:{userId:null!=t?t:null},untracked:{args:{}}}),[t])}({userId:null!=(o=null==f?void 0:f.id)?o:null}),d=!!f&&l&&p&&c.loaded,v=tm({queryKey:h,queryFn:null==f?void 0:f.getOrganizationCreationDefaults,enabled:d,placeholderData:td(u)});return{data:v.data,error:null!=(a=v.error)?a:null,isLoading:v.isLoading,isFetching:v.isFetching}}let tT={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function tM(e){var t;let{userMemberships:r,userInvitations:n,userSuggestions:i}=e||{};tp("useOrganizationList"),tx("useOrganizationList");let o=tw(r,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1}),a=tw(n,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),s=tw(i,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),u=tn(),l=tC();null==(t=u.telemetry)||t.record((0,et.a)("useOrganizationList"));let c=void 0===r?void 0:{initialPage:o.initialPage,pageSize:o.pageSize},f=void 0===n?void 0:{initialPage:a.initialPage,pageSize:a.pageSize,status:a.status},p=void 0===i?void 0:{initialPage:s.initialPage,pageSize:s.pageSize,status:s.status},h=!!(u.loaded&&l),d=tS({fetcher:null==l?void 0:l.getOrganizationMemberships,config:{keepPreviousData:o.keepPreviousData,infinite:o.infinite,enabled:!!c,isSignedIn:null!==l,initialPage:o.initialPage,pageSize:o.pageSize},keys:th({stablePrefix:"userMemberships",authenticated:!0,tracked:{userId:null==l?void 0:l.id},untracked:{args:c}})}),v=tS({fetcher:null==l?void 0:l.getOrganizationInvitations,config:{keepPreviousData:a.keepPreviousData,infinite:a.infinite,enabled:!!f,isSignedIn:null!==l,initialPage:a.initialPage,pageSize:a.pageSize},keys:th({stablePrefix:"userInvitations",authenticated:!0,tracked:{userId:null==l?void 0:l.id},untracked:{args:f}})}),g=tS({fetcher:null==l?void 0:l.getOrganizationSuggestions,config:{keepPreviousData:s.keepPreviousData,infinite:s.infinite,enabled:!!p,isSignedIn:null!==l,initialPage:s.initialPage,pageSize:s.pageSize},keys:th({stablePrefix:"userSuggestions",authenticated:!0,tracked:{userId:null==l?void 0:l.id},untracked:{args:p}})});return h?{isLoaded:h,setActive:u.setActive,createOrganization:u.createOrganization,userMemberships:d,userInvitations:v,userSuggestions:g}:{isLoaded:!1,createOrganization:void 0,setActive:void 0,userMemberships:tT,userInvitations:tT,userSuggestions:tT}}let tz="undefined"!=typeof window?ei.useLayoutEffect:ei.useEffect,tj="useSession",tL=()=>{var e;tp(tj);let t=t_(),r=tn();return(null==(e=r.telemetry)||e.record((0,et.a)(tj)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,session:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,session:null}:{isLoaded:!0,isSignedIn:r.isSignedIn,session:t}},tD,tU=()=>tD;function tN(){let e=tn();return(0,ei.useSyncExternalStore)((0,ei.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,ei.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.client:tD,[e]),tU)}let tF="useUser";function t$(){var e;tp(tF);let t=tC();return(null==(e=tn().telemetry)||e.record((0,et.a)(tF)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,user:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:t}}let tW=(e,t)=>{let r;return ei.useMemo(e,(r=ei.useRef(t),(0,e7.j)(t,r.current)||(r.current=t),ei.useMemo(()=>r.current,[r.current])))};async function tB(e){try{let t=await e;if(t instanceof Response)return t.json();return t}catch(e){if((0,ee.C)(e)&&e.errors.find(e=>{let{code:t}=e;return"session_reverification_required"===t}))return{clerk_error:{type:"forbidden",reason:p,metadata:{reverification:void 0}}};throw e}}let tq=(e,t)=>{let{__internal_openReverification:r,telemetry:n}=tP(),i=(0,ei.useRef)(e),o=(0,ei.useRef)(t);return null==n||n.record((0,et.a)("useReverification",{onNeedsReverification:!!(null==t?void 0:t.onNeedsReverification)})),tz(()=>{i.current=e,o.current=t}),(0,ei.useCallback)(function(){for(var e,t=arguments.length,a=Array(t),s=0;s<t;s++)a[s]=arguments[s];return(e={openUIComponent:r,telemetry:n,...o.current},function(t){return async function(){for(var r,n,i,o,a,s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];let c=await tB(t(...u));if((r=c)&&"object"==typeof r&&"clerk_error"in r&&(null==(n=r.clerk_error)?void 0:n.type)==="forbidden"&&(null==(i=r.clerk_error)?void 0:i.reason)===p){let r=(0,er.t)(),n=(e=>{let t,r;if(!e)return!1;let n="string"==typeof e&&v.has(e),i="object"==typeof e&&(t=e.level,d.has(t))&&"number"==typeof(r=e.afterMinutes)&&r>0;return(!!n||!!i)&&(e=>"string"==typeof e?h[e]:e).bind(null,e)})(null==(o=c.clerk_error.metadata)?void 0:o.reverification),i=n?n().level:void 0,s=()=>{r.reject(new X.t("User cancelled attempted verification",{code:"reverification_cancelled"}))},l=()=>{r.resolve(!0)};void 0===e.onNeedsReverification?null==(a=e.openUIComponent)||a.call(e,{level:i,afterVerification:l,afterVerificationCancelled:s}):e.onNeedsReverification({cancel:s,complete:l,level:i}),await r.promise,c=await tB(t(...u))}return c}})(i.current)(...a)},[r,n])};function tY(e){var t,r;let n=tn(),i=null==(t=null==e?void 0:e.enabled)||t,o=n.__internal_environment,a=tC(),s=tk(),u=null==o?void 0:o.commerceSettings.billing.user.enabled,l=null==o?void 0:o.commerceSettings.billing.organization.enabled,c=(null==e?void 0:e.for)==="organization"?l:(null==e?void 0:e.for)==="user"?u:u||l,f=(null==e?void 0:e.for)==="organization",p=null!=(r=null==e?void 0:e.authenticated)&&!r||(!f||!!(null==s?void 0:s.id))&&!!(null==a?void 0:a.id);return c&&i&&n.loaded&&p}function tK(e){let{hookName:t,resourceType:r,useFetcher:n,options:i}=e;return function(e){var o;let{for:a,enabled:s,...u}=e||{},l=a||"user";tp(t);let c=n(l),f=tw(u,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,__experimental_mode:void 0}),p=tn(),h=tC(),d=tk();null==(o=p.telemetry)||o.record((0,et.a)(t));let v="organization"===l,g=tY({for:l,enabled:s,authenticated:!(null==i?void 0:i.unauthenticated)}),y=void 0===u?void 0:{initialPage:f.initialPage,pageSize:f.pageSize,...(null==i?void 0:i.unauthenticated)?{}:v?{orgId:null==d?void 0:d.id}:{}},m=!!y&&p.loaded&&!!g;return tS({fetcher:c,config:{keepPreviousData:f.keepPreviousData,infinite:f.infinite,enabled:m,...(null==i?void 0:i.unauthenticated)?{}:{isSignedIn:null!==h},__experimental_mode:f.__experimental_mode,initialPage:f.initialPage,pageSize:f.pageSize},keys:th({stablePrefix:r,authenticated:!(null==i?void 0:i.unauthenticated),tracked:(null==i?void 0:i.unauthenticated)?{for:l}:{userId:null==h?void 0:h.id,...v?{orgId:null==d?void 0:d.id}:{}},untracked:{args:y}})})}}let tV=tK({hookName:"useStatements",resourceType:"billing-statements",useFetcher:()=>{let e=tn();if(e.loaded)return e.billing.getStatements}}),tH=tK({hookName:"usePaymentAttempts",resourceType:"billing-payment-attempts",useFetcher:()=>{let e=tn();if(e.loaded)return e.billing.getPaymentAttempts}}),tG=tK({hookName:"usePaymentMethods",resourceType:"billing-payment-methods",useFetcher:e=>{let t=tk(),r=tC();return"organization"===e?null==t?void 0:t.getPaymentMethods:null==r?void 0:r.getPaymentMethods}}),tQ=tK({hookName:"usePlans",resourceType:"billing-plans",useFetcher:e=>{let t=tn();if(t.loaded)return r=>t.billing.getPlans({...r,for:e})},options:{unauthenticated:!0}}),tJ="useSubscription";function tZ(e){var t,r;tp(tJ);let n=tn(),i=tC(),o=tk(),a=tY(e),s=(0,ei.useRef)(!1);(0,ei.useEffect)(()=>{!s.current&&(null==n?void 0:n.telemetry)&&(n.telemetry.record((0,et.a)(tJ)),s.current=!0)},[n]);let u=null!=(t=null==e?void 0:e.keepPreviousData)&&t,[l]=tg(),{queryKey:c,invalidationKey:f,stableKey:p,authenticated:h}=function(e){let{userId:t,orgId:r,for:n}=e;return(0,ei.useMemo)(()=>{let e="organization"===n?r:void 0;return th({stablePrefix:"billing-subscription",authenticated:!0,tracked:{userId:t,orgId:e},untracked:{args:{orgId:e}}})},[t,r,n])}({userId:null==i?void 0:i.id,orgId:null==o?void 0:o.id,for:null==e?void 0:e.for}),d=!!((null==i?void 0:i.id)&&a);tb({isSignedOut:null===i,authenticated:h,stableKeys:p});let v=tm({queryKey:c,queryFn:e=>{let{queryKey:t}=e,r=t[3];return n.billing.getSubscription(r.args)},staleTime:6e4,enabled:d,placeholderData:td(u&&d)}),g=(0,ei.useCallback)(()=>l.invalidateQueries({queryKey:f}),[l,f]);return{data:v.data,error:null!=(r=v.error)?r:void 0,isLoading:v.isLoading,isFetching:v.isFetching,revalidate:g}}let tX=e=>{let t=tc(),{for:r,planId:n,planPeriod:i}=e||t,o=tk(),{isLoaded:a,user:s}=t$(),u=tn();if(null===s&&a)throw Error('Clerk: Ensure that `useCheckout` is inside a component wrapped with `<Show when="signed-in" />`.');if(a&&"organization"===r&&null===o)throw Error("Clerk: Ensure your flow checks for an active organization. Retrieve `orgId` from `useAuth()` and confirm it is defined. For SSR, see: https://clerk.com/docs/reference/backend/types/auth-object#how-to-access-the-auth-object");let l=(0,ei.useCallback)(()=>u.__experimental_checkout({planId:n,planPeriod:i,for:r}),[null==s?void 0:s.id,null==o?void 0:o.id,n,i,r]),c=(0,ei.useCallback)(e=>u.loaded?u.__internal_state.__internal_effect(()=>{l(),e()}):()=>{},[l,u.loaded,u.__internal_state]),f=(0,ei.useCallback)(()=>l(),[l]);return(0,ei.useSyncExternalStore)(c,f,f)};function t0(){var e,t,r;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{statementId:i=null,keepPreviousData:o=!1,for:a="user"}=n,s=tn(),u=tC(),l=tk(),c="organization"===a&&null!=(e=null==l?void 0:l.id)?e:null,{queryKey:f,stableKey:p,authenticated:h}=function(e){let{statementId:t,userId:r,orgId:n,for:i}=e;return(0,ei.useMemo)(()=>th({stablePrefix:"billing-statement",authenticated:!0,tracked:{statementId:t,forType:i,userId:r,orgId:n},untracked:{args:{id:null!=t?t:void 0,orgId:null!=n?n:void 0}}}),[t,i,r,n])}({statementId:i,userId:null!=(t=null==u?void 0:u.id)?t:null,orgId:c,for:a}),d=tY(n);tb({isSignedOut:null===u,authenticated:h,stableKeys:p});let v=tm({queryKey:f,queryFn:()=>{if(!i)throw Error("statementId is required to fetch a statement");return s.billing.getStatement({id:i,orgId:null!=c?c:void 0})},enabled:!!i&&d,placeholderData:td(o),staleTime:6e4});return{data:v.data,error:null!=(r=v.error)?r:null,isLoading:v.isLoading,isFetching:v.isFetching}}function t1(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{planId:n,initialPlan:i=null,keepPreviousData:o=!0}=r,a=tn(),s=null!=(e=null!=n?n:null==i?void 0:i.id)?e:null,{queryKey:u}=function(e){let{planId:t}=e;return(0,ei.useMemo)(()=>th({stablePrefix:"billing-plan",authenticated:!1,tracked:{planId:null!=t?t:null},untracked:{args:{id:null!=t?t:void 0}}}),[t])}({planId:s}),l=tY({authenticated:!1}),c=tm({queryKey:u,queryFn:()=>{if(!s)throw Error("planId is required to fetch plan details");return a.billing.getPlan({id:s})},enabled:!!s&&l,initialData:null!=i?i:void 0,placeholderData:td(o),initialDataUpdatedAt:0});return{data:c.data,error:null!=(t=c.error)?t:null,isLoading:c.isLoading,isFetching:c.isFetching}}function t2(e){var t,r,n;let{paymentAttemptId:i,keepPreviousData:o=!1,for:a="user"}=e,s=tn(),u=tC(),l=tk(),c="organization"===a&&null!=(t=null==l?void 0:l.id)?t:null,{queryKey:f,stableKey:p,authenticated:h}=function(e){let{paymentAttemptId:t,userId:r,orgId:n,for:i}=e;return(0,ei.useMemo)(()=>th({stablePrefix:"billing-payment-attempt",authenticated:!0,tracked:{paymentAttemptId:t,forType:i,userId:r,orgId:n},untracked:{args:{id:null!=t?t:void 0,orgId:null!=n?n:void 0}}}),[t,i,r,n])}({paymentAttemptId:i,userId:null!=(r=null==u?void 0:u.id)?r:null,orgId:c,for:a}),d=tY(e);tb({isSignedOut:null===u,authenticated:h,stableKeys:p});let v=tm({queryKey:f,queryFn:e=>{let{queryKey:t}=e,r=t[3].args;return s.billing.getPaymentAttempt(r)},enabled:!!i&&d,placeholderData:td(o),staleTime:6e4});return{data:v.data,error:null!=(n=v.error)?n:null,isLoading:v.isLoading,isFetching:v.isFetching}}function t3(e){let t=e.clerk;if(t||(0,en.n)(),e.initialState instanceof Promise)throw Error("initialState cannot be a promise if React version is less than 19");let r=ei.useMemo(()=>({value:t}),[e.clerkStatus]);return ei.createElement(ta,{initialState:e.initialState},ei.createElement(tr.Provider,{value:r},ei.createElement(tf,{value:void 0},e.children)))}let t6=e=>{let t=(0,ei.useRef)(e);return(0,ei.useEffect)(()=>{t.current=e},[e]),t.current},t9=(e,t,r)=>{let n=!!r,i=(0,ei.useRef)(r);(0,ei.useEffect)(()=>{i.current=r},[r]),(0,ei.useEffect)(()=>{if(!n||!e)return()=>{};let r=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];i.current&&i.current(...t)};return e.on(t,r),()=>{e.off(t,r)}},[n,t,e,i])},t4=ei.createContext(null);t4.displayName="ElementsContext";let t5=(e,t)=>{if(!e)throw Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},t8=e=>{let{stripe:t,options:r,children:n}=e,i=ei.useMemo(()=>rt(t),[t]),[o,a]=ei.useState(()=>({stripe:"sync"===i.tag?i.stripe:null,elements:"sync"===i.tag?i.stripe.elements(r):null}));ei.useEffect(()=>{let e=!0,t=e=>{a(t=>t.stripe?t:{stripe:e,elements:e.elements(r)})};return"async"!==i.tag||o.stripe?"sync"!==i.tag||o.stripe||t(i.stripe):i.stripePromise.then(r=>{r&&e&&t(r)}),()=>{e=!1}},[i,o,r]);let s=t6(t);ei.useEffect(()=>{null!==s&&s!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[s,t]);let u=t6(r);return ei.useEffect(()=>{if(!o.elements)return;let e=ro(r,u,["clientSecret","fonts"]);e&&o.elements.update(e)},[r,u,o.elements]),ei.createElement(t4.Provider,{value:o},n)},t7="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",re=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t7;if(null===e||ri(e))return e;throw Error(t)},rt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t7;if(rn(e))return{tag:"async",stripePromise:Promise.resolve(e).then(e=>re(e,t))};let r=re(e,t);return null===r?{tag:"empty"}:{tag:"sync",stripe:r}},rr=e=>null!==e&&"object"==typeof e,rn=e=>rr(e)&&"function"==typeof e.then,ri=e=>rr(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment,ro=(e,t,r)=>rr(e)?Object.keys(e).reduce((n,i)=>{let o=!rr(t)||!rs(e[i],t[i]);return r.includes(i)?(o&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),n):o?{...n||{},[i]:e[i]}:n},null):null,ra="[object Object]",rs=(e,t)=>{if(!rr(e)||!rr(t))return e===t;let r=Array.isArray(e);if(r!==Array.isArray(t))return!1;let n=Object.prototype.toString.call(e)===ra;if(n!==(Object.prototype.toString.call(t)===ra))return!1;if(!n&&!r)return e===t;let i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;let a={};for(let e=0;e<i.length;e+=1)a[i[e]]=!0;for(let e=0;e<o.length;e+=1)a[o[e]]=!0;let s=Object.keys(a);return s.length===i.length&&s.every(r=>rs(e[r],t[r]))},ru=e=>t5(ei.useContext(t4),e),rl=(g="payment",y="undefined"==typeof window,c="".concat(g.charAt(0).toUpperCase()+g.slice(1),"Element"),(f=y?e=>{ru("mounts <".concat(c,">"));let{id:t,className:r}=e;return ei.createElement("div",{id:t,className:r})}:e=>{let t,{id:r,className:n,fallback:i,options:o={},onBlur:a,onFocus:s,onReady:u,onChange:l,onEscape:f,onClick:p,onLoadError:h,onLoaderStart:d,onNetworksChange:v,onConfirm:y,onCancel:m,onShippingAddressChange:b,onShippingRateChange:w}=e,S=ru("mounts <".concat(c,">")),E="elements"in S?S.elements:null,[k,_]=ei.useState(null),P=ei.useRef(null),x=ei.useRef(null),[O,R]=(0,ei.useState)(!1);t9(k,"blur",a),t9(k,"focus",s),t9(k,"escape",f),t9(k,"click",p),t9(k,"loaderror",h),t9(k,"loaderstart",d),t9(k,"networkschange",v),t9(k,"confirm",y),t9(k,"cancel",m),t9(k,"shippingaddresschange",b),t9(k,"shippingratechange",w),t9(k,"change",l),u&&(t=()=>{R(!0),u(k)}),t9(k,"ready",t),ei.useLayoutEffect(()=>{if(null===P.current&&null!==x.current&&E){let e=null;E&&(e=E.create(g,o)),P.current=e,_(e),e&&e.mount(x.current)}},[E,o]);let C=t6(o);return ei.useEffect(()=>{if(!P.current)return;let e=ro(o,C,["paymentRequest"]);e&&"update"in P.current&&P.current.update(e)},[o,C]),ei.useLayoutEffect(()=>()=>{if(P.current&&"function"==typeof P.current.destroy)try{P.current.destroy(),P.current=null}catch{}},[]),ei.createElement(ei.Fragment,null,!O&&i,ei.createElement("div",{id:r,style:{height:O?"unset":"0px",visibility:O?"visible":"hidden"},className:n,ref:x}))}).displayName=c,f.__elementType=g,f),rc=function(){var e,t;let r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"user",i=(r=tP(),null!=(t=tm({queryKey:["clerk-stripe-sdk"],queryFn:async()=>({loadStripe:await r.__internal_loadStripeJs()}),staleTime:1/0,refetchOnWindowFocus:!1,placeholderData:td(!0)}).data)?t:null),o=tP().__internal_environment,{initializedPaymentMethod:a,initializePaymentMethod:s}=function(e){var t;let{for:r}=null!=e?e:{},n=tk(),i=tC(),o="organization"===r?n:i,a=tY(e),s="billing-payment-method-initialize",u=(0,ei.useMemo)(()=>[s,!0,{resourceId:null==o?void 0:o.id},{}],[null==o?void 0:o.id]),l=!!(null==o?void 0:o.id)&&a;tb({isSignedOut:null===i,authenticated:!0,stableKeys:s});let c=tm({queryKey:u,queryFn:async()=>{if(o)return o.initializePaymentMethod({gateway:"stripe"})},enabled:l,staleTime:6e4,refetchOnWindowFocus:!1,placeholderData:td(l)}),[f]=tg(),p=(0,ei.useCallback)(async()=>{if(!o)return;let e=await o.initializePaymentMethod({gateway:"stripe"});return f.setQueryData(u,e),e},[f,u,o]);return{initializedPaymentMethod:null!=(t=c.data)?t:void 0,initializePaymentMethod:p}}({for:n}),u=null!=(e=null==o?void 0:o.commerceSettings.billing.stripePublishableKey)?e:void 0;return{stripe:function(e){let{stripeClerkLibs:t,externalGatewayId:r,stripePublishableKey:n}=e,i=(0,ei.useMemo)(()=>["stripe-sdk",{externalGatewayId:r,stripePublishableKey:n}],[r,n]),o=tY({authenticated:!0});return tm({queryKey:i,queryFn:()=>t&&r&&n?t.loadStripe(n,{stripeAccount:r}):null,enabled:!!(t&&r&&n)&&o,staleTime:6e4,refetchOnWindowFocus:!1,placeholderData:td(!0)}).data}({stripeClerkLibs:i,externalGatewayId:null==a?void 0:a.externalGatewayId,stripePublishableKey:u}),initializePaymentMethod:s,externalClientSecret:null==a?void 0:a.externalClientSecret,paymentMethodOrder:null==a?void 0:a.paymentMethodOrder}},[rf,rp]=tt("PaymentElementContext"),[rh,rd]=tt("StripeUtilsContext"),rv=e=>{let{children:t}=e,r=(()=>{let{stripe:e}=ru("calls useStripe()");return e})(),n=(()=>{let{elements:e}=t5(ei.useContext(t4),"calls useElements()");return e})();return ei.createElement(rh.Provider,{value:{value:{stripe:r,elements:n}}},t)},rg=e=>{let{children:t}=e;return ei.createElement(rh.Provider,{value:{value:{}}},t)},ry=e=>{let{children:t,...r}=e,n=rc(r.for),[i,o]=(0,ei.useState)(!1);return ei.createElement(rf.Provider,{value:{value:{...r,...n,setIsPaymentElementReady:o,isPaymentElementReady:i}}},t)},rm=e=>{let{children:t,...r}=e;return ei.createElement(ry,r,ei.createElement(rb,null,t))},rb=e=>{let{stripe:t,externalClientSecret:r,stripeAppearance:n}=rp(),i=(()=>{let e=tP(),t="en";try{var r;t=(null==(r=e.__internal_getOption("localization"))?void 0:r.locale)||"en"}catch{}return t.split("-")[0]})();return t&&r?ei.createElement(t8,{key:r,stripe:t,options:{loader:"never",clientSecret:r,appearance:{variables:n},locale:i}},ei.createElement(rv,null,e.children)):ei.createElement(rg,null,e.children)},rw=e=>{let{fallback:t}=e,{setIsPaymentElementReady:r,paymentMethodOrder:n,checkout:i,stripe:o,externalClientSecret:a,paymentDescription:s,for:u}=rp(),l=tP().__internal_environment,c=(0,ei.useMemo)(()=>{var e;if(i&&i.totals&&i.plan)return{recurringPaymentRequest:{paymentDescription:s||"",managementURL:"organization"===u?(null==l?void 0:l.displayConfig.organizationProfileUrl)||"":(null==l?void 0:l.displayConfig.userProfileUrl)||"",regularBilling:{amount:(null==(e=i.totals.totalDueNow)?void 0:e.amount)||i.totals.grandTotal.amount,label:i.plan.name,recurringPaymentIntervalUnit:"annual"===i.planPeriod?"year":"month"}}}},[i,s,u,l]),f=(0,ei.useMemo)(()=>({layout:{type:"tabs",defaultCollapsed:!1},paymentMethodOrder:n,applePay:c}),[c,n]),p=(0,ei.useCallback)(()=>{r(!0)},[r]);return o&&a?ei.createElement(rl,{fallback:t,onReady:p,options:f}):ei.createElement(ei.Fragment,null,t)},rS=()=>{throw Error("Clerk: Unable to submit, Stripe libraries are not yet loaded. Be sure to check `isFormReady` before calling `submit`.")},rE=()=>{let{isPaymentElementReady:e,initializePaymentMethod:t}=rp(),{stripe:r,elements:n}=rd(),{externalClientSecret:i}=rp(),o=(0,ei.useCallback)(async()=>{if(!r||!n)return rS();let{setupIntent:e,error:t}=await r.confirmSetup({elements:n,confirmParams:{return_url:window.location.href},redirect:"if_required"});return t?{data:null,error:{gateway:"stripe",error:{code:t.code,message:t.message,type:t.type}}}:{data:{gateway:"stripe",paymentToken:e.payment_method},error:null}},[r,n]),a=(0,ei.useCallback)(async()=>{if(!r||!n)return rS();await t()},[r,n,t]),s=!!(r&&i);return s?{submit:o,reset:a,isFormReady:e,provider:{name:"stripe"},isProviderReady:s}:{submit:rS,reset:rS,isFormReady:!1,provider:void 0,isProviderReady:!1}},[rk,,r_]=tt("PortalProvider"),rP=e=>{let{children:t,getContainer:r}=e,n=ei.useMemo(()=>({value:{getContainer:r}}),[r]);return ei.createElement(rk.Provider,{value:n},t)};rP.displayName="UNSAFE_PortalProvider";let rx=()=>{let e=r_();return e&&"getContainer"in e&&e.getContainer?e.getContainer:()=>null}},54653:function(e,t,r){r.d(t,{n:()=>o,r:()=>i,t:()=>n});let n=()=>!1,i=()=>!1,o=()=>{try{return!0}catch{}return!1}},52312:function(e,t,r){var n,i,o,a,s,u,l,c,f,p,h,d,v,g,y;r.d(t,{a:()=>w,o:()=>b}),r(88711),r(92977),r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412),r(10676),r(19161),r(22239),r(95055),r(64178),r(60962),r(60486),r(25089),r(61244),r(77895),r(50036),r(8020),r(29669),n=new WeakMap,i=new WeakMap,o=new WeakSet,a=new WeakMap,s=new WeakSet,u=new WeakMap,l=new WeakMap,c=new WeakMap,f=new WeakMap,p=new WeakMap,h=new WeakMap,d=new WeakMap,v=new WeakSet,g=new WeakSet,y=new WeakSet;let m=new Set(["SignIn","SignUp"]);function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{event:"COMPONENT_MOUNTED",eventSamplingRate:m.has(e)?1:.1,payload:{component:e,...t}}}function w(e,t){return{event:"METHOD_CALLED",eventSamplingRate:.1,payload:{method:e,...t}}}},29669:function(e,t,r){function n(e){let t=e||"";return t.charAt(0).toUpperCase()+t.slice(1)}function i(e){return e?e.replace(/([-_][a-z])/g,e=>e.toUpperCase().replace(/-|_/,"")):""}function o(e){return e?e.replace(/[A-Z]/g,e=>"_".concat(e.toLowerCase())):""}r.d(t,{c:()=>n,o:()=>s,s:()=>i,t:()=>o}),r(22501),r(58910),r(19161),r(22239),r(88711),r(58814),r(8451);let a=e=>{let t=r=>{if(!r)return r;if(Array.isArray(r))return r.map(e=>"object"==typeof e||Array.isArray(e)?t(e):e);let n={...r};for(let r of Object.keys(n)){let i=e(r.toString());i!==r&&(n[i]=n[r],delete n[r]),"object"==typeof n[i]&&(n[i]=t(n[i]))}return n};return t};function s(e){if("boolean"==typeof e)return e;if(null==e)return!1;if("string"==typeof e){if("true"===e.toLowerCase())return!0;if("false"===e.toLowerCase())return!1}let t=parseInt(e,10);return!isNaN(t)&&t>0}a(o),a(i)},34821:function(e,t,r){r.d(t,{n:()=>i}),r(19161),r(22239),r(50036),r(88711),r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412);let n=new Set(["__proto__","constructor","prototype"]),i=(e,t)=>{if(e&&t)for(let r in e)!n.has(r)&&(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),i(e[r],t[r])):Object.prototype.hasOwnProperty.call(e,r)&&void 0!==e[r]&&(t[r]=e[r]))}},14562:function(e,t,r){r.d(t,{aY:()=>a.n,b_:()=>n.t,lQ:()=>i.t,ph:()=>o.t});var n=r(54653),i=r(2105),o=r(80996),a=r(34821)}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,o),r.loaded=!0,r.exports}o.m=n,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);o.r(r);var n={};a=a||[null,s({}),s([]),s(s)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~a.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>{n[t]=()=>e[t]});return n.default=()=>e,o.d(r,n),r},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>""+(({10:"signin",110:"up-plans-page",122:"payment-attempt-page",188:"web3-solana-wallet-buttons",223:"op-api-keys-page",243:"createorganization",256:"checkout",259:"up-billing-page",26:"framework",264:"op-plans-page",265:"waitlist",289:"op-billing-page",30:"pricingTable",310:"organizationprofile",326:"apiKeys",328:"blankcaptcha",364:"organizationswitcher",390:"sessionTasks",394:"copy-api-key-modal",4:"taskSetupMFA",451:"subscriptionDetails",472:"signup",505:"revoke-api-key-modal",522:"keylessPrompt",533:"enableOrganizationsPrompt",545:"vendors",58:"useravatar",591:"oauthConsent",608:"prefetchorganizationlist",627:"statement-page",636:"userverification",666:"ui-common",67:"taskResetPassword",718:"userprofile",721:"onetap",723:"taskChooseOrganization",799:"organizationlist",817:"up-api-keys-page",841:"planDetails",917:"impersonationfab",99:"userbutton"})[e]||e)+"_ui_"+o.h().slice(0,6)+"_1.2.2-snapshot.v20260311230607.js",o.h=()=>"9bdfafebbd7dd306",o.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u={},o.l=function(e,t,r,n){if(u[e])return void u[e].push(t);if(void 0!==r)for(var i,a,s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var c=s[l];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")=="@clerk/ui:"+r){i=c;break}}i||(a=!0,(i=document.createElement("script")).timeout=120,o.nc&&i.setAttribute("nonce",o.nc),i.setAttribute("data-webpack","@clerk/ui:"+r),i.src=e),u[e]=[t];var f=function(t,r){i.onerror=i.onload=null,clearTimeout(p);var n=u[e];if(delete u[e],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(function(e){return e(r)}),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),a&&document.head.appendChild(i)},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.g.importScripts&&(l=o.g.location+"");var a,s,u,l,c=o.g.document;if(!l&&c&&(c.currentScript&&"SCRIPT"===c.currentScript.tagName.toUpperCase()&&(l=c.currentScript.src),!l)){var f=c.getElementsByTagName("script");if(f.length)for(var p=f.length-1;p>-1&&(!l||!/^http(s?):/.test(l));)l=f[p--].src}if(!l)throw Error("Automatic publicPath is not supported in this browser");return o.p=l=l.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={991:0},o.f.j=function(t,r){var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise((r,i)=>n=e[t]=[r,i]);r.push(n[2]=i);var a=o.p+o.u(t),s=Error();o.l(a,function(r){if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,n[1](s)}},"chunk-"+t,t)}},t=(t,r)=>{var n,i,[a,s,u]=r,l=0;if(a.some(t=>0!==e[t])){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);u&&u(o)}for(t&&t(r);l<a.length;l++)i=a[l],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0},(r=globalThis.webpackChunk_clerk_ui=globalThis.webpackChunk_clerk_ui||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),(()=>{o(88711),o(64178),o(60962),o(60486),o(25089),o(61244),o(77895),o(22501),o(58910);try{let e=new URL(document.currentScript.src),t=new URL(e.href.split("/").slice(0,-1).join("/")).href;o.p=(t+=t.endsWith("/")?"":"/").replace(/(^.*\/@clerk\/ui@)(.+?)(\/dist.*)/,"$1".concat("1.2.2-snapshot.v20260311230607","$3"))}catch{}function e(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}o(98114);var t=o(55945),r=o(73610),n=o(16164);function i(e){let t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(!t)return null;let[,r,n,i]=t;return{major:parseInt(r,10),minor:parseInt(n,10),patch:parseInt(i,10)}}o(19161),o(89305),o(50036),o(22239);var a=o(14518),s=o(31475),u=o(14562),l=o(35074),c=o(13727),f=o(54096);let p=(0,l.lazy)(()=>o.e("666").then(o.bind(o,8501)).then(e=>({default:e.MountedCheckoutDrawer}))),h=(0,l.lazy)(()=>o.e("666").then(o.bind(o,94027)).then(e=>({default:e.MountedPlanDetailDrawer}))),d=(0,l.lazy)(()=>Promise.all([o.e("26"),o.e("545"),o.e("666"),o.e("451")]).then(o.bind(o,89949)).then(e=>({default:e.MountedSubscriptionDetailDrawer})));var v=o(94642);let g=e=>{let{base:t,path:r}=e;return r?t+r:t};function y(e,t){if(!e)return{};let r="signin"===t?"signIn":"signUp",n={["".concat(r,"ForceRedirectUrl")]:e.forceRedirectUrl,["".concat(r,"FallbackRedirectUrl")]:e.fallbackRedirectUrl},i={...e,...n};return delete i.forceRedirectUrl,delete i.fallbackRedirectUrl,i}o(41730);var m=o(3115);let b="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,w=0,S={},E=Object.freeze({SignUp:"signUpModal",SignIn:"signInModal",UserProfile:"userProfileModal",OrganizationProfile:"organizationProfileModal",CreateOrganization:"createOrganizationModal",Waitlist:"waitlistModal"}),k=e=>{var t,r;let[n,i]=l.useState({appearance:e.options.appearance,options:e.options,googleOneTapModal:null,signInModal:null,signUpModal:null,userProfileModal:null,userVerificationModal:null,organizationProfileModal:null,createOrganizationModal:null,enableOrganizationsPromptModal:null,organizationSwitcherPrefetch:!1,waitlistModal:null,blankCaptchaModal:null,checkoutDrawer:{open:!1,props:null},planDetailsDrawer:{open:!1,props:null},subscriptionDetailsDrawer:{open:!1,props:null},impersonationFab:!1}),{googleOneTapModal:o,signInModal:u,signUpModal:m,userProfileModal:k,userVerificationModal:_,organizationProfileModal:P,createOrganizationModal:x,waitlistModal:O,blankCaptchaModal:R,checkoutDrawer:C,planDetailsDrawer:A,subscriptionDetailsDrawer:I}=n,T=e.getClerk();(0,l.useSyncExternalStore)((0,l.useCallback)(e=>T.addListener(e,{skipInitialEmit:!0}),[T]),(0,l.useCallback)(()=>T.__internal_lastEmittedResources,[T]),(0,l.useCallback)(()=>T.__internal_lastEmittedResources,[T]));let M=(0,l.useRef)(new Map),{urlStateParam:z,clearUrlStateParam:j,decodedRedirectParams:L}=(0,c.x)();b(()=>{L&&i(e=>({...e,[E[L.componentName]]:!0}));let t=()=>{i(e=>({...e}))};S.mountComponent=e=>{let{node:r,name:n,props:i,appearanceKey:o}=e;r||(0,s.$V)(),M.current.set(r,{key:"p".concat(++w),name:n,props:i,appearanceKey:o}),t()},S.unmountComponent=e=>{let{node:r}=e;M.current.delete(r),t()},S.updateProps=e=>{let{node:r,props:n,...o}=e;if(r&&n&&"object"==typeof n){let e=M.current.get(r);if(e){e.props={...n},t();return}}i(e=>({...e,...o,options:{...e.options,...o.options}}))},S.closeModal=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{notify:r=!0}=t;j(),i(t=>{let n=t["".concat(e,"Modal")];if(n&&"object"==typeof n&&"afterVerificationCancelled"in n&&r){var i;null==(i=n.afterVerificationCancelled)||i.call(n)}return{...t,["".concat(e,"Modal")]:null}})},S.openModal=(e,t)=>{"enableOrganizationsPrompt"===e?i(r=>r.enableOrganizationsPromptModal?r:{...r,["".concat(e,"Modal")]:t}):"afterVerificationCancelled"in t?"afterVerificationCancelled"in t&&i(r=>({...r,["".concat(e,"Modal")]:{...t,afterVerification(){var r;null==(r=t.afterVerification)||r.call(t),S.closeModal(e,{notify:!1})}}})):i(r=>({...r,["".concat(e,"Modal")]:t}))},S.mountImpersonationFab=()=>{i(e=>({...e,impersonationFab:!0}))},S.openDrawer=(e,t)=>{i(r=>({...r,["".concat(e,"Drawer")]:{open:!0,props:t}}))},S.closeDrawer=e=>{i(t=>{var r,n;let i=t["".concat(e,"Drawer")];return null==i||null==(n=i.props)||null==(r=n.onClose)||r.call(n),{...t,["".concat(e,"Drawer")]:{...t["".concat(e,"Drawer")],open:!1}}})},S.prefetch=e=>{i(t=>({...t,["".concat(e,"Prefetch")]:!0}))},e.onComponentsMounted()},[]);let D=(0,a.Y)(v.xg,{componentProps:o,globalAppearance:n.appearance,componentAppearance:null==o?void 0:o.appearance,startPath:g({base:"/one-tap",path:""})}),U=(0,a.FD)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"signIn",componentAppearance:null==u?void 0:u.appearance,flowName:"signIn",onClose:()=>S.closeModal("signIn"),onExternalNavigate:()=>S.closeModal("signIn"),startPath:g({base:"/sign-in",path:null==z?void 0:z.path}),getContainer:null==u?void 0:u.getContainer,componentName:"SignInModal",children:[(0,a.Y)(f.M9,{...u}),(0,a.Y)(f.gK,{...y(u,"signin")}),(0,a.Y)(f.L1,{...O})]}),N=(0,a.FD)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"signUp",componentAppearance:null==m?void 0:m.appearance,flowName:"signUp",onClose:()=>S.closeModal("signUp"),onExternalNavigate:()=>S.closeModal("signUp"),startPath:g({base:"/sign-up",path:null==z?void 0:z.path}),getContainer:null==m?void 0:m.getContainer,componentName:"SignUpModal",children:[(0,a.Y)(f.M9,{...y(m,"signup")}),(0,a.Y)(f.gK,{...m}),(0,a.Y)(f.L1,{...O})]}),F=(0,a.Y)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"userProfile",componentAppearance:null==k?void 0:k.appearance,flowName:"userProfile",onClose:()=>S.closeModal("userProfile"),onExternalNavigate:()=>S.closeModal("userProfile"),startPath:g({base:"/user",path:(null==k?void 0:k.__experimental_startPath)||(null==z?void 0:z.path)}),getContainer:null==k?void 0:k.getContainer,componentName:"UserProfileModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$176,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,a.Y)(f.am,{...k})}),$=(0,a.Y)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"userVerification",componentAppearance:null==_?void 0:_.appearance,flowName:"userVerification",onClose:()=>S.closeModal("userVerification"),onExternalNavigate:()=>S.closeModal("userVerification"),startPath:g({base:"/user-verification",path:null==z?void 0:z.path}),getContainer:null==_?void 0:_.getContainer,componentName:"UserVerificationModal",modalContainerSx:{alignItems:"center"},children:(0,a.Y)(f.yd,{..._})}),W=(0,a.Y)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"organizationProfile",componentAppearance:null==P?void 0:P.appearance,flowName:"organizationProfile",onClose:()=>S.closeModal("organizationProfile"),onExternalNavigate:()=>S.closeModal("organizationProfile"),startPath:g({base:"/organizationProfile",path:(null==P?void 0:P.__experimental_startPath)||(null==z?void 0:z.path)}),getContainer:null==P?void 0:P.getContainer,componentName:"OrganizationProfileModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$176,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,a.Y)(f.Qj,{...P})}),B=(0,a.Y)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"createOrganization",componentAppearance:null==x?void 0:x.appearance,flowName:"createOrganization",onClose:()=>S.closeModal("createOrganization"),onExternalNavigate:()=>S.closeModal("createOrganization"),startPath:g({base:"/createOrganization",path:null==z?void 0:z.path}),getContainer:null==x?void 0:x.getContainer,componentName:"CreateOrganizationModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$120,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,a.Y)(f.Xi,{...x})}),q=(0,a.FD)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"waitlist",componentAppearance:null==O?void 0:O.appearance,flowName:"waitlist",onClose:()=>S.closeModal("waitlist"),onExternalNavigate:()=>S.closeModal("waitlist"),startPath:g({base:"/waitlist",path:null==z?void 0:z.path}),getContainer:null==O?void 0:O.getContainer,componentName:"WaitlistModal",children:[(0,a.Y)(f.L1,{...O}),(0,a.Y)(f.M9,{...O})]}),Y=(0,a.Y)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"blankCaptcha",componentAppearance:{},flowName:"blankCaptcha",onClose:()=>S.closeModal("blankCaptcha"),startPath:g({base:"/blank-captcha",path:null==z?void 0:z.path}),componentName:"BlankCaptchaModal",canCloseModal:!1,modalId:"cl-modal-captcha-wrapper",modalStyle:{visibility:"hidden",pointerEvents:"none"},children:(0,a.Y)(f.Gb,{})});return(0,a.Y)(l.Suspense,{fallback:"",children:(0,a.FD)(v.Fj,{clerk:e.getClerk(),environment:e.getEnvironment(),options:n.options,moduleManager:e.moduleManager,children:[[...M.current].map(e=>{var t;let[r,i]=e;return(0,a.Y)(v.t8,{node:r,globalAppearance:n.appearance,appearanceKey:i.appearanceKey,componentAppearance:null==(t=i.props)?void 0:t.appearance,componentName:i.name,componentProps:i.props},i.key)}),o&&D,u&&U,m&&N,k&&F,_&&$,P&&W,x&&B,O&&q,R&&Y,(0,a.Y)(p,{appearance:n.appearance,checkoutDrawer:C,onOpenChange:()=>S.closeDrawer("checkout")}),(0,a.Y)(h,{appearance:n.appearance,planDetailsDrawer:A,onOpenChange:()=>S.closeDrawer("planDetails")}),(0,a.Y)(d,{appearance:n.appearance,subscriptionDetailsDrawer:I,onOpenChange:()=>S.closeDrawer("subscriptionDetails")}),n.impersonationFab&&(0,a.Y)(v.Nx,{globalAppearance:n.appearance,children:(0,a.Y)(f.Sm,{})}),n.enableOrganizationsPromptModal&&(0,a.Y)(v.dB,{globalAppearance:n.appearance,children:(0,a.Y)(f.yc,{...n.enableOrganizationsPromptModal})}),(null==(t=n.options)?void 0:t.__internal_keyless_claimKeylessApplicationUrl)&&(null==(r=n.options)?void 0:r.__internal_keyless_copyInstanceKeysUrl)&&(0,a.Y)(v.Nx,{globalAppearance:n.appearance,children:(0,a.Y)(f.ju,{claimUrl:n.options.__internal_keyless_claimKeylessApplicationUrl,copyKeysUrl:n.options.__internal_keyless_copyInstanceKeysUrl,onDismiss:n.options.__internal_keyless_dismissPrompt})}),(0,a.Y)(l.Suspense,{children:n.organizationSwitcherPrefetch&&(0,a.Y)(v.up,{})})]})})};var _=o(21227),P=new WeakMap;class x{ensureMounted(t){var r;return(r=e(this,P,"get"),r.get?r.get.call(this):r.value).ensureMounted(t)}constructor(s,l,c,p){(0,t._)(this,"version","1.2.2-snapshot.v20260311230607"),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,P,{writable:!0,value:void 0});const h=s(),d=null==h?void 0:h.version,v=(null==h?void 0:h.instanceType)==="development",g=i(null!=d?d:"");let y=null;if(g&&!function(e,t){if(!e)return!1;let r=i(e),n=i(t);return!!r&&!!n&&(r.major!==n.major?r.major>n.major:r.minor!==n.minor?r.minor>n.minor:r.patch>=n.patch)}(d,_.yz)?y="@clerk/ui@".concat(x.version," requires @clerk/clerk-js@>=").concat(_.yz,", ")+"but found @clerk/clerk-js@".concat(d,". ")+"Please upgrade @clerk/clerk-js (or your framework SDK) to a compatible version.":g||p||(y="@clerk/ui@".concat(x.version," requires @clerk/clerk-js@>=").concat(_.yz,", ")+"but found an incompatible version".concat(d?" (".concat(d,")"):"",". ")+"Please upgrade @clerk/clerk-js (or your framework SDK) to a compatible version."),y)if(v)throw new r.cR(y,{code:"clerk_ui_version_mismatch"});else n.v.warnOnce(y);!function(t,r,n){var i=e(t,r,"set");if(i.set)i.set.call(t,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}}(this,P,((e,t,r,n)=>{let i,s={...r};s.appearance&&(s.appearance=function(e){let t;if(!e||"object"!=typeof e)return e;let r=e.theme;if(!r)return e;if(Array.isArray(r)){r.forEach(e=>{!t&&"object"==typeof e&&e.cssLayerName&&(t=e.cssLayerName)});let n=r.map(e=>{if("string"==typeof e)return e;let{cssLayerName:t,...r}=e;return r}),i=e.cssLayerName||t,o={...e,theme:n};return i&&(o.cssLayerName=i),o}{let t;"object"==typeof r&&r.cssLayerName&&(t=r.cssLayerName);let n="string"==typeof r?r:(()=>{let{cssLayerName:e,...t}=r;return t})(),i=e.cssLayerName||t,o={...e,theme:n};return i&&(o.cssLayerName=i),o}}(s.appearance));let l=document.getElementById("clerk-components");return l||((l=document.createElement("div")).setAttribute("id","clerk-components"),document.body.appendChild(l)),{ensureMounted:r=>{let{preloadHint:c}=r||{};if(c&&(0,f.jr)(c).catch(()=>{}),!i){let r=(0,u.ph)();i=Promise.all([o.e("26"),o.e("545"),o.e("666")]).then(o.bind(o,8434)).then(i=>{let{createRoot:o}=i;return o(l).render((0,a.Y)(k,{getClerk:e,getEnvironment:t,options:s,onComponentsMounted:()=>{"development"===e().instanceType&&("function"==typeof requestIdleCallback?requestIdleCallback:e=>setTimeout(e,0))(()=>(0,m.I)(s)),r.resolve()},moduleManager:n})),r.promise.then(()=>S)})}return i.then(e=>e)}}})(s,l,c,p))}}(0,t._)(x,"version","1.2.2-snapshot.v20260311230607"),window.__internal_ClerkUICtor||(window.__internal_ClerkUICtor=x)})(),{}})());
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(globalThis,()=>(()=>{"use strict";var e,t,r,n={21227:function(e,t,r){r.d(t,{AG:()=>s,dY:()=>a,j2:()=>i,jc:()=>o,qJ:()=>u,yz:()=>n});let n="6.0.0",i={ACCOUNT:"account",SECURITY:"security",BILLING:"billing",API_KEYS:"apiKeys"},o={GENERAL:"general",MEMBERS:"members",BILLING:"billing",API_KEYS:"apiKeys"},a={MANAGE_ACCOUNT:"manageAccount",SIGN_OUT:"signOut"},s="clerk-profileCardScrollBox",u="clerk-organizationProfileScrollBox"},13727:function(e,t,r){r.d(t,{x:()=>s}),r(88711);var n=r(66866),i=r(25848),o=r(29823),a=r(35074);let s=()=>{let[e,t]=a.useState({startPath:"",path:"",componentName:"",socialProvider:""}),r=(0,o.F)();a.useLayoutEffect(()=>{r&&t(r)},[]);let s=()=>{t({startPath:"",path:"",componentName:"",socialProvider:""})};return{urlStateParam:{...e,clearUrlStateParam:s},decodedRedirectParams:r,clearUrlStateParam:s,removeQueryParam:()=>(0,i.rw)(n.r)}}},54096:function(e,t,r){r.d(t,{Gb:()=>P,JJ:()=>D,L1:()=>_,M9:()=>a,O3:()=>N,Qj:()=>w,RW:()=>A,Sm:()=>x,Xi:()=>m,am:()=>g,gK:()=>p,jr:()=>U,ju:()=>O,yc:()=>c,yd:()=>l,ym:()=>z}),r(50036);var n=r(35074);let i={SignIn:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("444"),r.e("10")]).then(r.bind(r,35717)),SignUp:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472")]).then(r.bind(r,84753)),UserAvatar:()=>Promise.all([r.e("545"),r.e("666"),r.e("58")]).then(r.bind(r,97714)),UserButton:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("444"),r.e("99")]).then(r.bind(r,66240)),UserProfile:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("217"),r.e("718")]).then(r.bind(r,16801)),CreateOrganization:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("573"),r.e("243")]).then(r.bind(r,4472)),OrganizationProfile:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("573"),r.e("310")]).then(r.bind(r,6568)),OrganizationSwitcher:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("364")]).then(r.bind(r,77498)),OrganizationList:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("573"),r.e("799")]).then(r.bind(r,14013)),ImpersonationFab:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("917")]).then(r.bind(r,37399)),GoogleOneTap:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("721")]).then(r.bind(r,13109)),BlankCaptchaModal:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("328")]).then(r.bind(r,95723)),UserVerification:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("636")]).then(r.bind(r,49066)),Waitlist:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("265")]).then(r.bind(r,81170)),KeylessPrompt:()=>Promise.all([r.e("545"),r.e("666"),r.e("522")]).then(r.bind(r,63884)),PricingTable:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("970"),r.e("30")]).then(r.bind(r,46334)),Checkout:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("217"),r.e("256")]).then(r.bind(r,12677)),SessionTasks:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("4"),r.e("931"),r.e("390")]).then(r.bind(r,61662)),TaskChooseOrganization:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("931"),r.e("723")]).then(r.bind(r,39051)),TaskResetPassword:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("67")]).then(r.bind(r,57959)),TaskSetupMFA:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("4")]).then(r.bind(r,64767)),PlanDetails:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("841")]).then(r.bind(r,61217)),SubscriptionDetails:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("451")]).then(r.bind(r,41461)),APIKeys:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("326")]).then(r.bind(r,54875)),OAuthConsent:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("591")]).then(r.bind(r,39576)),EnableOrganizationsPrompt:()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("533")]).then(r.bind(r,27334))},o=(0,n.lazy)(()=>i.SignIn().then(e=>({default:e.SignIn}))),a=(0,n.lazy)(()=>i.SignIn().then(e=>({default:e.SignInModal}))),s=(0,n.lazy)(()=>i.GoogleOneTap().then(e=>({default:e.OneTap}))),u=(0,n.lazy)(()=>i.UserVerification().then(e=>({default:e.UserVerification}))),l=(0,n.lazy)(()=>i.UserVerification().then(e=>({default:e.UserVerificationModal}))),c=(0,n.lazy)(()=>i.EnableOrganizationsPrompt().then(e=>({default:e.EnableOrganizationsPrompt}))),f=(0,n.lazy)(()=>i.SignUp().then(e=>({default:e.SignUp}))),p=(0,n.lazy)(()=>i.SignUp().then(e=>({default:e.SignUpModal}))),h=(0,n.lazy)(()=>i.UserAvatar().then(e=>({default:e.UserAvatar}))),d=(0,n.lazy)(()=>i.UserButton().then(e=>({default:e.UserButton}))),v=(0,n.lazy)(()=>i.UserProfile().then(e=>({default:e.UserProfile}))),g=(0,n.lazy)(()=>i.UserProfile().then(e=>({default:e.UserProfileModal}))),y=(0,n.lazy)(()=>i.CreateOrganization().then(e=>({default:e.CreateOrganization}))),m=(0,n.lazy)(()=>i.CreateOrganization().then(e=>({default:e.CreateOrganizationModal}))),b=(0,n.lazy)(()=>i.OrganizationProfile().then(e=>({default:e.OrganizationProfile}))),w=(0,n.lazy)(()=>i.OrganizationProfile().then(e=>({default:e.OrganizationProfileModal}))),S=(0,n.lazy)(()=>i.OrganizationSwitcher().then(e=>({default:e.OrganizationSwitcher}))),E=(0,n.lazy)(()=>i.OrganizationList().then(e=>({default:e.OrganizationList}))),k=(0,n.lazy)(()=>i.Waitlist().then(e=>({default:e.Waitlist}))),_=(0,n.lazy)(()=>i.Waitlist().then(e=>({default:e.WaitlistModal}))),P=(0,n.lazy)(()=>i.BlankCaptchaModal().then(e=>({default:e.BlankCaptchaModal}))),x=(0,n.lazy)(()=>i.ImpersonationFab().then(e=>({default:e.ImpersonationFab}))),O=(0,n.lazy)(()=>i.KeylessPrompt().then(e=>({default:e.KeylessPrompt}))),R=(0,n.lazy)(()=>i.PricingTable().then(e=>({default:e.PricingTable}))),C=(0,n.lazy)(()=>i.APIKeys().then(e=>({default:e.APIKeys}))),A=(0,n.lazy)(()=>i.Checkout().then(e=>({default:e.Checkout}))),I=(0,n.lazy)(()=>i.TaskChooseOrganization().then(e=>({default:e.TaskChooseOrganization}))),T=(0,n.lazy)(()=>i.TaskResetPassword().then(e=>({default:e.TaskResetPassword}))),M=(0,n.lazy)(()=>i.TaskSetupMFA().then(e=>({default:e.TaskSetupMFA}))),z=(0,n.lazy)(()=>i.PlanDetails().then(e=>({default:e.PlanDetails}))),j=(0,n.lazy)(()=>i.SubscriptionDetails().then(e=>({default:e.SubscriptionDetails}))),L=(0,n.lazy)(()=>i.OAuthConsent().then(e=>({default:e.OAuthConsent}))),D=(0,n.lazy)(()=>i.SessionTasks().then(e=>({default:e.SessionTasks}))),U=async e=>{var t;return null==(t=i[e])?void 0:t.call(i)},N={SignIn:o,SignUp:f,UserAvatar:h,UserButton:d,UserProfile:v,UserVerification:u,EnableOrganizationsPrompt:c,OrganizationSwitcher:S,OrganizationList:E,OrganizationProfile:b,CreateOrganization:y,SignInModal:a,SignUpModal:p,UserProfileModal:g,OrganizationProfileModal:w,CreateOrganizationModal:m,UserVerificationModal:l,GoogleOneTap:s,Waitlist:k,WaitlistModal:_,BlankCaptchaModal:P,PricingTable:R,Checkout:A,PlanDetails:z,APIKeys:C,OAuthConsent:L,SubscriptionDetails:j,TaskChooseOrganization:I,TaskResetPassword:T,TaskSetupMFA:M}},94642:function(e,t,r){r.d(t,{Nx:()=>R,Vv:()=>x,Fj:()=>_,up:()=>k,$h:()=>O,t8:()=>P,dB:()=>C,xg:()=>A}),r(50036);var n=r(14518);r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412),r(88711);var i=r(54653);let o=new Set;var a=r(90231),s=r(35074),u=r(54096);let l=(0,s.lazy)(()=>r.e("666").then(r.bind(r,39987)).then(e=>({default:e.ClerkContextProvider}))),c=(0,s.lazy)(()=>r.e("666").then(r.bind(r,39987)).then(e=>({default:e.EnvironmentProvider}))),f=(0,s.lazy)(()=>r.e("666").then(r.bind(r,39987)).then(e=>({default:e.OptionsProvider}))),p=(0,s.lazy)(()=>r.e("666").then(r.bind(r,39987)).then(e=>({default:e.ModuleManagerProvider}))),h=(0,s.lazy)(()=>Promise.all([r.e("545"),r.e("666")]).then(r.bind(r,18272)).then(e=>({default:e.AppearanceProvider}))),d=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666")]).then(r.bind(r,3394)).then(e=>({default:e.VirtualRouter}))),v=(0,s.lazy)(()=>Promise.all([r.e("545"),r.e("666")]).then(r.bind(r,42245)).then(e=>({default:e.InternalThemeProvider}))),g=(0,s.lazy)(()=>r.e("666").then(r.bind(r,85287)).then(e=>({default:e.StyleCacheProvider}))),y=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("360")]).then(r.bind(r,99661)).then(e=>({default:e.Portal}))),m=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666"),r.e("472"),r.e("360")]).then(r.bind(r,99661)).then(e=>({default:e.VirtualBodyRootPortal}))),b=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666")]).then(r.bind(r,63269)).then(e=>({default:e.FlowMetadataProvider}))),w=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666")]).then(r.bind(r,86705)).then(e=>({default:e.Modal}))),S=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666")]).then(r.bind(r,78532)).then(e=>({default:e.Drawer.Root}))),E=(0,s.lazy)(()=>Promise.all([r.e("26"),r.e("545"),r.e("666")]).then(r.bind(r,78532)).then(e=>({default:e.Drawer.Overlay}))),k=(0,s.lazy)(()=>r.e("608").then(r.bind(r,44817)).then(e=>({default:e.OrganizationSwitcherPrefetch}))),_=e=>{var t;return(0,n.Y)(g,{nonce:e.options.nonce,cssLayerName:null==(t=e.options.appearance)?void 0:t.cssLayerName,children:(0,n.Y)(p,{moduleManager:e.moduleManager,children:(0,n.Y)(l,{clerk:e.clerk,children:(0,n.Y)(c,{value:e.environment,children:(0,n.Y)(f,{value:e.options,children:e.children})})})})})},P=e=>{var t,r,s,l;let c,f;return(null==e||null==(t=e.componentProps)?void 0:t.routing)==="virtual"&&(s='routing="virtual"',c=(0,i.r)()||(0,i.n)(),f=null!=l?l:s,o.has(f)||c||(o.add(f),console.warn('Clerk - DEPRECATION WARNING: "'.concat(s,'" is deprecated and will be removed in the next major release.\n').concat('Use routing="hash" instead.')))),(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(a.N$,{getContainer:null==e||null==(r=e.componentProps)?void 0:r.getContainer,children:(0,n.Y)(y,{node:e.node,component:u.O3[e.componentName],props:e.componentProps,componentName:e.componentName})})})},x=e=>(0,n.Y)(s.Suspense,{fallback:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(b,{flow:e.flowName||"",children:(0,n.Y)(v,{children:(0,n.Y)(a.N$,{getContainer:e.getContainer,children:(0,n.Y)(w,{id:e.modalId,style:e.modalStyle,handleClose:e.onClose,containerSx:e.modalContainerSx,contentSx:e.modalContentSx,canCloseModal:e.canCloseModal,children:e.startPath?(0,n.Y)(s.Suspense,{children:(0,n.Y)(d,{startPath:e.startPath,onExternalNavigate:e.onExternalNavigate,children:e.children})}):e.children})})})})})}),O=e=>(0,n.Y)(s.Suspense,{fallback:"",children:(0,n.Y)(d,{startPath:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(b,{flow:e.flowName||"",children:(0,n.Y)(v,{children:(0,n.FD)(S,{open:e.open,onOpenChange:e.onOpenChange,strategy:e.portalId||e.portalRoot?"absolute":"fixed",portalProps:{id:e.portalId?e.portalId:void 0,root:e.portalRoot?e.portalRoot:void 0},children:[(0,n.Y)(E,{}),e.children]})})})})})}),R=e=>(0,n.Y)(s.Suspense,{children:(0,n.Y)(d,{startPath:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:"impersonationFab",children:e.children})})}),C=e=>(0,n.Y)(s.Suspense,{children:(0,n.Y)(d,{startPath:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:"enableOrganizationsPrompt",children:e.children})})}),A=e=>(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:"oneTap",appearance:e.componentAppearance,children:(0,n.Y)(m,{startPath:e.startPath,component:u.O3.GoogleOneTap,props:e.componentProps,componentName:"GoogleOneTap"})})},3115:function(e,t,r){r.d(t,{I:()=>d,T:()=>h}),r(19161),r(22239),r(22501),r(58910),r(88711),r(10676);var n=r(16164);let i=/\.cl-[A-Za-z0-9_-]+/,o=/\[\s*class\s*(\^=|\*=|\$=)\s*["']?[^"'\]]*cl-[^"'\]]*["']?\s*\]/i,a=/:(nth-child|nth-of-type|first-child|last-child|only-child|empty)\b/i,s=/:has\(/i;r(95055),r(30945);let u=/[.#\w\[:]/,l=/\.cl-[A-Za-z0-9_-]+/g,c=/[>+~\s]/;function f(e){return["Clerk: Structural CSS detected that may break on updates.\n\nFound:",e.slice(0,5).map(e=>" - ".concat(e)).join("\n")+(e.length>5?"\n (+".concat(e.length-5," more)"):""),"\nThese selectors depend on the internal DOM structure of Clerk's components, which may change when Clerk deploys component updates.\nTo prevent breaking changes, install @clerk/ui and pass it to ClerkProvider:\n\n import { ui } from '@clerk/ui'\n <ClerkProvider ui={ui}>\n\nLearn more: https://clerk.com/docs/reference/components/versioning\n(code=structural_css_pin_clerk_ui)"].join("\n")}function p(e){let t=[];for(let[r,n]of Object.entries(e))if("string"!=typeof n)for(let e of function e(t){if(!t||"object"!=typeof t)return[];let r=[];for(let[n,o]of Object.entries(t))(function(e){let t,r,n;return!!e.startsWith("&")&&(!!(i.test(e)||a.test(e)||s.test(e))||(t=e.replace(/^&\s*/,""),r=i.test(t),n=u.test(t.replace(l,"")),!!(r||n&&c.test(e))))})(n)&&r.push(n),r.push(...e(o));return r}(n))t.push("elements.".concat(r,' "').concat(e,'"'));return t}function h(e,t){if(t||!(null==e?void 0:e.elements)||0===Object.keys(e.elements).length)return;let r=p(e.elements);r.length>0&&n.v.warnOnce(f(r))}function d(e){var t;if(null==e||null==(t=e.ui)?void 0:t.__brand)return;let r=[],u=null==e?void 0:e.appearance;for(let e of((null==u?void 0:u.elements)&&Object.keys(u.elements).length>0&&r.push(...p(u.elements)),function(){if("undefined"==typeof document)return[];let e=[];for(let t of Array.from(document.styleSheets)){let r=function(e){try{return e.cssRules}catch{return null}}(t);r&&function e(t,r,n){for(let l of Array.from(t)){if(1===l.type&&"selectorText"in l){for(let e of(l.selectorText||"").split(",").map(e=>e.trim()).filter(Boolean)){var u;if(!(i.test(e)||o.test(e)))continue;let{structural:t,reason:c}=function(e){let t=[];return(/\.cl-[A-Za-z0-9_-]+[\s>+~]+[.#\w\[:]/.test(e)||/[.#\w\]:][\s>+~]+\.cl-[A-Za-z0-9_-]+/.test(e))&&(/[>+~]/.test(e)&&t.push("combinator(>+~)"),/\s+/.test(e)&&t.push("descendant(combinator)")),a.test(e)&&t.push("positional-pseudo"),s.test(e)&&t.push(":has()"),(e.match(/\.cl-[A-Za-z0-9_-]+/g)||[]).length>=2&&t.push("multiple-clerk-classes"),/(^|[\s>+~(])([a-z]+)\.cl-[A-Za-z0-9_-]+/i.test(e)&&t.push("tag+cl-class"),{structural:t.includes("combinator(>+~)")||t.includes("descendant(combinator)")||t.includes("positional-pseudo")||t.includes(":has()")||t.includes("multiple-clerk-classes")||t.includes("tag+cl-class"),reason:t}}(e);t&&n.push({stylesheetHref:null!=(u=r.href)?u:null,selector:e,cssText:l.cssText,reason:c})}continue}"cssRules"in l&&l.cssRules&&e(l.cssRules,r,n)}}(r,t,e)}return e}()))r.push('CSS "'.concat(e.selector,'"'));r.length>0&&n.v.warnOnce(f(r))}},71785:function(e,t,r){r.d(t,{A:()=>q}),r(88711),r(22501),r(58910),r(19161),r(41730),r(98114),r(10676),r(22239);var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,o=String.fromCharCode,a=Object.assign;function s(e,t,r){return e.replace(t,r)}function u(e,t){return e.indexOf(t)}function l(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function f(e){return e.length}function p(e,t){return t.push(e),e}var h=1,d=1,v=0,g=0,y=0,m="";function b(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:h,column:d,length:a,return:""}}function w(e,t){return a(b("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return y=g<v?l(m,g++):0,d++,10===y&&(d=1,h++),y}function E(){return l(m,g)}function k(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(e){return h=d=1,v=f(m=e),g=0,[]}function P(e){var t,r;return(t=g-1,r=function e(t){for(;S();)switch(y){case t:return g;case 34:case 39:34!==t&&39!==t&&e(y);break;case 40:41===t&&e(t);break;case 92:S()}return g}(91===e?e+2:40===e?e+1:e),c(m,t,r)).trim()}var x="-ms-",O="-moz-",R="-webkit-",C="comm",A="rule",I="decl",T="@keyframes";function M(e,t){for(var r="",n=e.length,i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function z(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case I:return e.return=e.return||e.value;case C:return"";case T:return e.return=e.value+"{"+M(e.children,n)+"}";case A:e.value=e.props.join(",")}return f(r=M(e.children,n))?e.return=e.value+"{"+r+"}":""}function j(e,t,r,n,o,a,u,l,f,p,h){for(var d=o-1,v=0===o?a:[""],g=v.length,y=0,m=0,w=0;y<n;++y)for(var S=0,E=c(e,d+1,d=i(m=u[y])),k=e;S<g;++S)(k=(m>0?v[S]+" "+E:s(E,/&\f/g,v[S])).trim())&&(f[w++]=k);return b(e,t,r,0===o?A:l,f,p,h)}function L(e,t,r,n){return b(e,t,r,I,c(e,0,n),c(e,n+1,-1),n)}r(65980);var D=function(e,t,r){for(var n=0,i=0;n=i,i=E(),38===n&&12===i&&(t[r]=1),!k(i);)S();return c(m,e,g)},U=function(e,t){var r=-1,n=44;do switch(k(n)){case 0:38===n&&12===E()&&(t[r]=1),e[r]+=D(g-1,t,r);break;case 2:e[r]+=P(n);break;case 4:if(44===n){e[++r]=58===E()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=o(n)}while(n=S());return e},N=function(e,t){var r;return r=U(_(e),t),m="",r},F=new WeakMap,$=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||F.get(r))&&!n){F.set(e,!0);for(var i=[],o=N(t,i),a=r.props,s=0,u=0;s<o.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=i[s]?o[s].replace(/&\f/g,a[l]):a[l]+" "+o[s]}}},W=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},B=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case I:e.return=function e(t,r){switch(45^l(t,0)?(((r<<2^l(t,0))<<2^l(t,1))<<2^l(t,2))<<2^l(t,3):0){case 5103:return R+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return R+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return R+t+O+t+x+t+t;case 6828:case 4268:return R+t+x+t+t;case 6165:return R+t+x+"flex-"+t+t;case 5187:return R+t+s(t,/(\w+).+(:[^]+)/,R+"box-$1$2"+x+"flex-$1$2")+t;case 5443:return R+t+x+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return R+t+x+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return R+t+x+s(t,"shrink","negative")+t;case 5292:return R+t+x+s(t,"basis","preferred-size")+t;case 6060:return R+"box-"+s(t,"-grow","")+R+t+x+s(t,"grow","positive")+t;case 4554:return R+s(t,/([^-])(transform)/g,"$1"+R+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,R+"$1"),/(image-set)/,R+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,R+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,R+"box-pack:$3"+x+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+R+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,R+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-r>6)switch(l(t,r+1)){case 109:if(45!==l(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+R+"$2-$3$1"+O+(108==l(t,r+3)?"$3":"$2-$3"))+t;case 115:return~u(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==l(t,r+1))break;case 6444:switch(l(t,f(t)-3-(~u(t,"!important")&&10))){case 107:return s(t,":",":"+R)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+R+(45===l(t,14)?"inline-":"")+"box$3$1"+R+"$2$3$1"+x+"$2box$3")+t}break;case 5936:switch(l(t,r+11)){case 114:return R+t+x+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return R+t+x+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return R+t+x+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return R+t+x+t+t}return t}(e.value,e.length);break;case T:return M([w(e,{value:s(e.value,"@","@"+R)})],n);case A:if(e.length){var i,o;return i=e.props,o=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return M([w(e,{props:[s(t,/:(read-\w+)/,":"+O+"$1")]})],n);case"::placeholder":return M([w(e,{props:[s(t,/:(plac\w+)/,":"+R+"input-$1")]}),w(e,{props:[s(t,/:(plac\w+)/,":"+O+"$1")]}),w(e,{props:[s(t,/:(plac\w+)/,x+"input-$1")]})],n)}return""},i.map(o).join("")}}}],q=function(e){var t,r,i,a,v,w=e.key;if("css"===w){var x=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(x,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var O=e.stylisPlugins||B,R={},A=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+w+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)R[t[r]]=!0;A.push(e)});var I=(r=(t=[$,W].concat(O,[z,(i=function(e){v.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,n,i,o){for(var a="",s=0;s<r;s++)a+=t[s](e,n,i,o)||"";return a}),T=function(e){var t,r;return M((r=function e(t,r,n,i,a,v,w,_,x){for(var O,R=0,A=0,I=w,T=0,M=0,z=0,D=1,U=1,N=1,F=0,$="",W=a,B=v,q=i,Y=$;U;)switch(z=F,F=S()){case 40:if(108!=z&&58==l(Y,I-1)){-1!=u(Y+=s(P(F),"&","&\f"),"&\f")&&(N=-1);break}case 34:case 39:case 91:Y+=P(F);break;case 9:case 10:case 13:case 32:Y+=function(e){for(;y=E();)if(y<33)S();else break;return k(e)>2||k(y)>3?"":" "}(z);break;case 92:Y+=function(e,t){for(var r;--t&&S()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return r=g+(t<6&&32==E()&&32==S()),c(m,e,r)}(g-1,7);continue;case 47:switch(E()){case 42:case 47:p((O=function(e,t){for(;S();)if(e+y===57)break;else if(e+y===84&&47===E())break;return"/*"+c(m,t,g-1)+"*"+o(47===e?e:S())}(S(),g),b(O,r,n,C,o(y),c(O,2,-2),0)),x);break;default:Y+="/"}break;case 123*D:_[R++]=f(Y)*N;case 125*D:case 59:case 0:switch(F){case 0:case 125:U=0;case 59+A:-1==N&&(Y=s(Y,/\f/g,"")),M>0&&f(Y)-I&&p(M>32?L(Y+";",i,n,I-1):L(s(Y," ","")+";",i,n,I-2),x);break;case 59:Y+=";";default:if(p(q=j(Y,r,n,R,A,a,_,$,W=[],B=[],I),v),123===F)if(0===A)e(Y,r,q,q,W,v,I,_,B);else switch(99===T&&110===l(Y,3)?100:T){case 100:case 108:case 109:case 115:e(t,q,q,i&&p(j(t,q,q,0,0,a,_,$,a,W=[],I),B),a,B,I,_,i?W:B);break;default:e(Y,q,q,q,[""],B,0,_,B)}}R=A=M=0,D=N=1,$=Y="",I=w;break;case 58:I=1+f(Y),M=z;default:if(D<1){if(123==F)--D;else if(125==F&&0==D++&&125==(y=g>0?l(m,--g):0,d--,10===y&&(d=1,h--),y))continue}switch(Y+=o(F),F*D){case 38:N=A>0?1:(Y+="\f",-1);break;case 44:_[R++]=(f(Y)-1)*N,N=1;break;case 64:45===E()&&(Y+=P(S())),T=E(),A=I=f($=Y+=function(e){for(;!k(E());)S();return c(m,e,g)}(g)),F++;break;case 45:45===z&&2==f(Y)&&(D=0)}}return v}("",null,null,null,[""],t=_(t=e),0,[0],t),m="",r),I)},D={key:w,sheet:new n({key:w,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:R,registered:{},insert:function(e,t,r,n){v=r,T(e?e+"{"+t.styles+"}":t.styles),n&&(D.inserted[t.name]=!0)}};return D.sheet.hydrate(A),D}},55418:function(e,t,r){r.d(t,{E:()=>w,h:()=>f,a:()=>g,c:()=>m,C:()=>h}),r(98114),r(22501),r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412),r(88711),r(58910);var n,i=r(35074),o=r(71785);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)}var s=r(65980),u=r(64559),l=r(70399),c=r(97063),f={}.hasOwnProperty,p=i.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null),h=p.Provider,d=i.createContext({}),v=(0,s.A)(function(e){return(0,s.A)(function(t){var r,n;return r=e,"function"==typeof(n=t)?n(r):a({},r,n)})}),g=function(e){var t=i.useContext(d);return e.theme!==t&&(t=v(t)(e.theme)),i.createElement(d.Provider,{value:t},e.children)},y="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(e,t){var r={};for(var n in t)f.call(t,n)&&(r[n]=t[n]);return r[y]=e,r},b=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,u.SF)(t,r,n),(0,c.s)(function(){return(0,u.sk)(t,r,n)}),null},w=(n=function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var o=e[y],a=[n],s="";"string"==typeof e.className?s=(0,u.Rk)(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var c=(0,l.J)(a,void 0,i.useContext(d));s+=t.key+"-"+c.name;var p={};for(var h in e)f.call(e,h)&&"css"!==h&&h!==y&&(p[h]=e[h]);return p.ref=r,p.className=s,i.createElement(i.Fragment,null,i.createElement(b,{cache:t,serialized:c,isStringTag:"string"==typeof o}),i.createElement(o,p))},(0,i.forwardRef)(function(e,t){return n(e,(0,i.useContext)(p),t)}))},14518:function(e,t,r){r.d(t,{FD:()=>s,FK:()=>o,Y:()=>a});var n=r(36842),i=r(55418);r(35074),r(71785),r(65980),r(68863),r(64559),r(70399),r(97063);var o=n.Fragment;function a(e,t,r){return i.h.call(t,"css")?n.jsx(i.E,(0,i.c)(e,t),r):n.jsx(e,t,r)}function s(e,t,r){return i.h.call(t,"css")?n.jsxs(i.E,(0,i.c)(e,t),r):n.jsxs(e,t,r)}},70399:function(e,t,r){r.d(t,{J:()=>v}),r(22501),r(58910),r(98114);var n,i,o,a={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},s=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},f=(n=function(e){return l(e)?e:e.replace(s,"-$&").toLowerCase()},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=n(e)),i[e]}),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(u,function(e,t,r){return o={name:t,styles:r,next:o},t})}return 1===a[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function h(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return o={name:r.name,styles:r.styles,next:o},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)o={name:n.name,styles:n.styles,next:o},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=h(e,t,r[i])+";";else for(var o in r){var a=r[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":c(a)&&(n+=f(o)+":"+p(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)c(a[s])&&(n+=f(o)+":"+p(o,a[s])+";");else{var u=h(e,t,a);switch(o){case"animation":case"animationName":n+=f(o)+":"+u+";";break;default:n+=o+"{"+u+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var i=o,a=r(e);return o=i,h(e,t,a)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var d=/label:\s*([^\s;{]+)\s*(;|$)/g;function v(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n,i=!0,a="";o=void 0;var s=e[0];null==s||void 0===s.raw?(i=!1,a+=h(r,t,s)):a+=s[0];for(var u=1;u<e.length;u++)a+=h(r,t,e[u]),i&&(a+=s[u]);d.lastIndex=0;for(var l="";null!==(n=d.exec(a));)l+="-"+n[1];return{name:function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+l,styles:a,next:o}}},97063:function(e,t,r){r.d(t,{s:()=>a});var n,i=r(35074),o=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,a=o||function(e){return e()};o||i.useLayoutEffect},64559:function(e,t,r){function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r.d(t,{Rk:()=>n,SF:()=>i,sk:()=>o}),r(22501),r(19161),r(41730),r(10676);var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},o=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}}},65980:function(e,t,r){r.d(t,{A:()=>n}),r(88711);var n=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}}},68863:function(e,t,r){var n=r(92243),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(d){var i=h(r);i&&i!==d&&e(t,i,n)}var a=c(r);f&&(a=a.concat(f(r)));for(var s=u(t),v=u(r),g=0;g<a.length;++g){var y=a[g];if(!o[y]&&!(n&&n[y])&&!(v&&v[y])&&!(s&&s[y])){var m=p(r,y);try{l(t,y,m)}catch(e){}}}}return t}},36983:function(e,t){var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,m=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case f:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case g:case v:case u:return e;default:return t}}case i:return t}}}function E(e){return S(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=n,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=v,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return E(e)||S(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return S(e)===p},t.isFragment=function(e){return S(e)===o},t.isLazy=function(e){return S(e)===g},t.isMemo=function(e){return S(e)===v},t.isPortal=function(e){return S(e)===i},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===h||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===m||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=S},92243:function(e,t,r){e.exports=r(36983)},79234:function(e,t,r){var n=r(35074),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,o={},l=null,c=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!u.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:l,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=l,t.jsxs=l},69709:function(e,t,r){r(88711),r(98114),r(22501),r(58910),r(10676);var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.iterator,v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function m(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||v}function b(){}function w(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||v}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=m.prototype;var S=w.prototype=new b;S.constructor=w,g(S,m.prototype),S.isPureReactComponent=!0;var E=Array.isArray,k=Object.prototype.hasOwnProperty,_={current:null},P={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,i)&&!P.hasOwnProperty(i)&&(o[i]=t[i]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(i in u=e.defaultProps)void 0===o[i]&&(o[i]=u[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:_.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var R=/\/+/g;function C(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function A(e,t,r){if(null==e)return e;var o=[],a=0;return!function e(t,r,o,a,s){var u,l,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var p=!1;if(null===t)p=!0;else switch(f){case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case n:case i:p=!0}}if(p)return s=s(p=t),t=""===a?"."+C(p,0):a,E(s)?(o="",null!=t&&(o=t.replace(R,"$&/")+"/"),e(s,r,o,"",function(e){return e})):null!=s&&(O(s)&&(u=s,l=o+(!s.key||p&&p.key===s.key?"":(""+s.key).replace(R,"$&/")+"/")+t,s={$$typeof:n,type:u.type,key:l,ref:u.ref,props:u.props,_owner:u._owner}),r.push(s)),1;if(p=0,a=""===a?".":a+":",E(t))for(var h=0;h<t.length;h++){var v=a+C(f=t[h],h);p+=e(f,r,o,v,s)}else if("function"==typeof(v=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=d&&c[d]||c["@@iterator"])?c:null))for(t=v.call(t),h=0;!(f=t.next()).done;)v=a+C(f=f.value,h++),p+=e(f,r,o,v,s);else if("object"===f)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return p}(e,o,"","",function(e){return t.call(r,e,a++)}),o}function I(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var T={current:null},M={transition:null};function z(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:A,forEach:function(e,t,r){A(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=m,t.Fragment=o,t.Profiler=s,t.PureComponent=w,t.StrictMode=a,t.Suspense=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:M,ReactCurrentOwner:_},t.act=z,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=g({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)k.call(t,l)&&!P.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){u=Array(l);for(var c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=M.transition;M.transition={};try{e()}finally{M.transition=t}},t.unstable_act=z,t.useCallback=function(e,t){return T.current.useCallback(e,t)},t.useContext=function(e){return T.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return T.current.useDeferredValue(e)},t.useEffect=function(e,t){return T.current.useEffect(e,t)},t.useId=function(){return T.current.useId()},t.useImperativeHandle=function(e,t,r){return T.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return T.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return T.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return T.current.useMemo(e,t)},t.useReducer=function(e,t,r){return T.current.useReducer(e,t,r)},t.useRef=function(e){return T.current.useRef(e)},t.useState=function(e){return T.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return T.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return T.current.useTransition()},t.version="18.3.1"},35074:function(e,t,r){e.exports=r(69709)},36842:function(e,t,r){e.exports=r(79234)},49248:function(e,t,r){var n=r(5331),i=r(78849),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a function")}},10638:function(e,t,r){var n=r(53975),i=r(78849),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a constructor")}},67956:function(e,t,r){var n=r(20807),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},59470:function(e,t,r){var n=r(18872).has;e.exports=function(e){return n(e),e}},70031:function(e,t,r){var n=r(53001),i=r(13554),o=r(58131).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},7787:function(e,t,r){var n=r(18793).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},56381:function(e,t,r){var n=r(95863),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},18989:function(e,t,r){var n=r(53744),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not an object")}},68921:function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},73004:function(e,t,r){var n=r(18274),i=r(10928),o=r(19990),a=n.ArrayBuffer,s=n.TypeError;e.exports=a&&i(a.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==o(e))throw new s("ArrayBuffer expected");return e.byteLength}},14580:function(e,t,r){var n=r(18274),i=r(68921),o=r(73004),a=n.DataView;e.exports=function(e){if(!i||0!==o(e))return!1;try{return new a(e),!1}catch(e){return!0}}},51191:function(e,t,r){var n=r(14580),i=TypeError;e.exports=function(e){if(n(e))throw new i("ArrayBuffer is detached");return e}},9482:function(e,t,r){var n=r(18274),i=r(43362),o=r(10928),a=r(57454),s=r(51191),u=r(73004),l=r(18697),c=r(18758),f=n.structuredClone,p=n.ArrayBuffer,h=n.DataView,d=Math.min,v=p.prototype,g=h.prototype,y=i(v.slice),m=o(v,"resizable","get"),b=o(v,"maxByteLength","get"),w=i(g.getInt8),S=i(g.setInt8);e.exports=(c||l)&&function(e,t,r){var n,i=u(e),o=void 0===t?i:a(t),v=!m||!m(e);if(s(e),c&&(e=f(e,{transfer:[e]}),i===o&&(r||v)))return e;if(i>=o&&(!r||v))n=y(e,0,o);else{n=new p(o,r&&!v&&b?{maxByteLength:b(e)}:void 0);for(var g=new h(e),E=new h(n),k=d(o,i),_=0;_<k;_++)S(E,_,w(g,_))}return c||l(e),n}},92326:function(e,t,r){var n,i,o,a=r(68921),s=r(58358),u=r(18274),l=r(5331),c=r(53744),f=r(62083),p=r(51353),h=r(78849),d=r(43877),v=r(46930),g=r(4800),y=r(95863),m=r(63749),b=r(94009),w=r(53001),S=r(22066),E=r(49563),k=E.enforce,_=E.get,P=u.Int8Array,x=P&&P.prototype,O=u.Uint8ClampedArray,R=O&&O.prototype,C=P&&m(P),A=x&&m(x),I=Object.prototype,T=u.TypeError,M=w("toStringTag"),z=S("TYPED_ARRAY_TAG"),j="TypedArrayConstructor",L=a&&!!b&&"Opera"!==p(u.opera),D=!1,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},F=function(e){var t=m(e);if(c(t)){var r=_(t);return r&&f(r,j)?r[j]:F(t)}},$=function(e){if(!c(e))return!1;var t=p(e);return f(U,t)||f(N,t)};for(n in U)(o=(i=u[n])&&i.prototype)?k(o)[j]=i:L=!1;for(n in N)(o=(i=u[n])&&i.prototype)&&(k(o)[j]=i);if((!L||!l(C)||C===Function.prototype)&&(C=function(){throw new T("Incorrect invocation")},L))for(n in U)u[n]&&b(u[n],C);if((!L||!A||A===I)&&(A=C.prototype,L))for(n in U)u[n]&&b(u[n].prototype,A);if(L&&m(R)!==A&&b(R,A),s&&!f(A,M))for(n in D=!0,g(A,M,{configurable:!0,get:function(){return c(this)?this[z]:void 0}}),U)u[n]&&d(u[n],z,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:D&&z,aTypedArray:function(e){if($(e))return e;throw new T("Target is not a typed array")},aTypedArrayConstructor:function(e){if(l(e)&&(!b||y(C,e)))return e;throw new T(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(s){if(r)for(var i in U){var o=u[i];if(o&&f(o.prototype,e))try{delete o.prototype[e]}catch(r){try{o.prototype[e]=t}catch(e){}}}(!A[e]||r)&&v(A,e,r?t:L&&x[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(s){if(b){if(r){for(n in U)if((i=u[n])&&f(i,e))try{delete i[e]}catch(e){}}if(C[e]&&!r)return;try{return v(C,e,r?t:L&&C[e]||t)}catch(e){}}for(n in U)(i=u[n])&&(!i[e]||r)&&v(i,e,t)}},getTypedArrayConstructor:F,isView:function(e){if(!c(e))return!1;var t=p(e);return"DataView"===t||f(U,t)||f(N,t)},isTypedArray:$,TypedArray:C,TypedArrayPrototype:A}},86600:function(e,t,r){var n=r(18274),i=r(43362),o=r(58358),a=r(68921),s=r(13512),u=r(43877),l=r(4800),c=r(56337),f=r(9329),p=r(56381),h=r(16869),d=r(17468),v=r(57454),g=r(31563),y=r(2168),m=r(63749),b=r(94009),w=r(51508),S=r(2554),E=r(96581),k=r(19774),_=r(47309),P=r(49563),x=s.PROPER,O=s.CONFIGURABLE,R="ArrayBuffer",C="DataView",A="prototype",I="Wrong index",T=P.getterFor(R),M=P.getterFor(C),z=P.set,j=n[R],L=j,D=L&&L[A],U=n[C],N=U&&U[A],F=Object.prototype,$=n.Array,W=n.RangeError,B=i(w),q=i([].reverse),Y=y.pack,K=y.unpack,V=function(e){return[255&e]},H=function(e){return[255&e,e>>8&255]},G=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Q=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},J=function(e){return Y(g(e),23,4)},Z=function(e){return Y(e,52,8)},X=function(e,t,r){l(e[A],t,{configurable:!0,get:function(){return r(this)[t]}})},ee=function(e,t,r,n){var i=M(e),o=v(r);if(o+t>i.byteLength)throw new W(I);var a=i.bytes,s=o+i.byteOffset,u=S(a,s,s+t);return n?u:q(u)},et=function(e,t,r,n,i,o){var a=M(e),s=v(r),u=n(+i),l=!!o;if(s+t>a.byteLength)throw new W(I);for(var c=a.bytes,f=s+a.byteOffset,p=0;p<t;p++)c[f+p]=u[l?p:t-p-1]};if(a){var er=x&&j.name!==R;!f(function(){j(1)})||!f(function(){new j(-1)})||f(function(){return new j,new j(1.5),new j(NaN),1!==j.length||er&&!O})?((L=function(e){return p(this,D),E(new j(v(e)),this,L)})[A]=D,D.constructor=L,k(L,j)):er&&O&&u(j,"name",R),b&&m(N)!==F&&b(N,F);var en=new U(new L(2)),ei=i(N.setInt8);en.setInt8(0,0x80000000),en.setInt8(1,0x80000001),(en.getInt8(0)||!en.getInt8(1))&&c(N,{setInt8:function(e,t){ei(this,e,t<<24>>24)},setUint8:function(e,t){ei(this,e,t<<24>>24)}},{unsafe:!0})}else D=(L=function(e){p(this,D);var t=v(e);z(this,{type:R,bytes:B($(t),0),byteLength:t}),o||(this.byteLength=t,this.detached=!1)})[A],N=(U=function(e,t,r){p(this,N),p(e,D);var n=T(e),i=n.byteLength,a=h(t);if(a<0||a>i)throw new W("Wrong offset");if(r=void 0===r?i-a:d(r),a+r>i)throw new W("Wrong length");z(this,{type:C,buffer:e,byteLength:r,byteOffset:a,bytes:n.bytes}),o||(this.buffer=e,this.byteLength=r,this.byteOffset=a)})[A],o&&(X(L,"byteLength",T),X(U,"buffer",M),X(U,"byteLength",M),X(U,"byteOffset",M)),c(N,{getInt8:function(e){return ee(this,1,e)[0]<<24>>24},getUint8:function(e){return ee(this,1,e)[0]},getInt16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return Q(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return Q(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return K(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return K(ee(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){et(this,1,e,V,t)},setUint8:function(e,t){et(this,1,e,V,t)},setInt16:function(e,t){et(this,2,e,H,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){et(this,2,e,H,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){et(this,4,e,G,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){et(this,4,e,G,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){et(this,4,e,J,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){et(this,8,e,Z,t,arguments.length>2&&arguments[2])}});_(L,R),_(U,C),e.exports={ArrayBuffer:L,DataView:U}},51508:function(e,t,r){var n=r(18563),i=r(19272),o=r(14408);e.exports=function(e){for(var t=n(this),r=o(t),a=arguments.length,s=i(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,l=void 0===u?r:i(u,r);l>s;)t[s++]=e;return t}},54728:function(e,t,r){var n=r(14408);e.exports=function(e,t,r){for(var i=0,o=arguments.length>2?r:n(t),a=new e(o);o>i;)a[i]=t[i++];return a}},50182:function(e,t,r){var n=r(94138),i=r(74327),o=r(18563),a=r(68205),s=r(57291),u=r(53975),l=r(14408),c=r(29718),f=r(85759),p=r(881),h=Array;e.exports=function(e){var t,r,d,v,g,y,m=o(e),b=u(this),w=arguments.length,S=w>1?arguments[1]:void 0,E=void 0!==S;E&&(S=n(S,w>2?arguments[2]:void 0));var k=p(m),_=0;if(k&&!(this===h&&s(k)))for(r=b?new this:[],g=(v=f(m,k)).next;!(d=i(g,v)).done;_++)y=E?a(v,S,[d.value,_],!0):d.value,c(r,_,y);else for(t=l(m),r=b?new this(t):h(t);t>_;_++)y=E?S(m[_],_):m[_],c(r,_,y);return r.length=_,r}},70771:function(e,t,r){var n=r(24999),i=r(19272),o=r(14408),a=function(e){return function(t,r,a){var s,u=n(t),l=o(u);if(0===l)return!e&&-1;var c=i(a,l);if(e&&r!=r){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},77373:function(e,t,r){var n=r(94138),i=r(63457),o=r(18563),a=r(14408),s=function(e){var t=1===e;return function(r,s,u){for(var l,c=o(r),f=i(c),p=a(f),h=n(s,u);p-- >0;)if(h(l=f[p],p,c))switch(e){case 0:return l;case 1:return p}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},62747:function(e,t,r){var n=r(94138),i=r(43362),o=r(63457),a=r(18563),s=r(14408),u=r(89007),l=i([].push),c=function(e){var t=1===e,r=2===e,i=3===e,c=4===e,f=6===e,p=7===e,h=5===e||f;return function(d,v,g,y){for(var m,b,w=a(d),S=o(w),E=s(S),k=n(v,g),_=0,P=y||u,x=t?P(d,E):r||p?P(d,0):void 0;E>_;_++)if((h||_ in S)&&(b=k(m=S[_],_,w),e))if(t)x[_]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return _;case 2:l(x,m)}else switch(e){case 4:return!1;case 7:l(x,m)}return f?-1:i||c?c:x}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},35608:function(e,t,r){var n=r(9329);e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}},51228:function(e,t,r){var n=r(49248),i=r(18563),o=r(63457),a=r(14408),s=TypeError,u="Reduce of empty array with no initial value",l=function(e){return function(t,r,l,c){var f=i(t),p=o(f),h=a(f);if(n(r),0===h&&l<2)throw new s(u);var d=e?h-1:0,v=e?-1:1;if(l<2)for(;;){if(d in p){c=p[d],d+=v;break}if(d+=v,e?d<0:h<=d)throw new s(u)}for(;e?d>=0:h>d;d+=v)d in p&&(c=r(c,p[d],d,f));return c}};e.exports={left:l(!1),right:l(!0)}},50033:function(e,t,r){var n=r(58358),i=r(82426),o=TypeError,a=Object.getOwnPropertyDescriptor;e.exports=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(i(e)&&!a(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},2554:function(e,t,r){e.exports=r(43362)([].slice)},99666:function(e,t,r){var n=r(2554),i=Math.floor,o=function(e,t){var r=e.length;if(r<8)for(var a,s,u=1;u<r;){for(s=u,a=e[u];s&&t(e[s-1],a)>0;)e[s]=e[--s];s!==u++&&(e[s]=a)}else for(var l=i(r/2),c=o(n(e,0,l),t),f=o(n(e,l),t),p=c.length,h=f.length,d=0,v=0;d<p||v<h;)e[d+v]=d<p&&v<h?0>=t(c[d],f[v])?c[d++]:f[v++]:d<p?c[d++]:f[v++];return e};e.exports=o},32927:function(e,t,r){var n=r(82426),i=r(53975),o=r(53744),a=r(53001)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(i(t=e.constructor)&&(t===s||n(t.prototype))?t=void 0:o(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?s:t}},89007:function(e,t,r){var n=r(32927);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},59418:function(e,t,r){var n=r(14408);e.exports=function(e,t){for(var r=n(e),i=new t(r),o=0;o<r;o++)i[o]=e[r-o-1];return i}},44394:function(e,t,r){var n=r(14408),i=r(16869),o=RangeError;e.exports=function(e,t,r,a){var s=n(e),u=i(r),l=u<0?s+u:u;if(l>=s||l<0)throw new o("Incorrect index");for(var c=new t(s),f=0;f<s;f++)c[f]=f===l?a:e[f];return c}},68205:function(e,t,r){var n=r(18989),i=r(36441);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},94234:function(e,t,r){var n=r(53001)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(e){}return r}},19990:function(e,t,r){var n=r(43362),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},51353:function(e,t,r){var n=r(44746),i=r(5331),o=r(19990),a=r(53001)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(e){}};e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=l(t=s(e),a))?r:u?o(t):"Object"===(n=o(t))&&i(t.callee)?"Arguments":n}},19774:function(e,t,r){var n=r(62083),i=r(73201),o=r(21993),a=r(58131);e.exports=function(e,t,r){for(var s=i(t),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];n(e,f)||r&&n(r,f)||u(e,f,l(t,f))}}},64665:function(e,t,r){e.exports=!r(9329)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},7991:function(e){e.exports=function(e,t){return{value:e,done:t}}},43877:function(e,t,r){var n=r(58358),i=r(58131),o=r(99685);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},99685:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},29718:function(e,t,r){var n=r(58358),i=r(58131),o=r(99685);e.exports=function(e,t,r){n?i.f(e,t,o(0,r)):e[t]=r}},4800:function(e,t,r){var n=r(83281),i=r(58131);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},46930:function(e,t,r){var n=r(5331),i=r(58131),o=r(83281),a=r(29127);e.exports=function(e,t,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:t;if(n(r)&&o(r,l,s),s.global)u?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},56337:function(e,t,r){var n=r(46930);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},29127:function(e,t,r){var n=r(18274),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},58358:function(e,t,r){e.exports=!r(9329)(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},18697:function(e,t,r){var n,i,o,a,s=r(18274),u=r(26371),l=r(18758),c=s.structuredClone,f=s.ArrayBuffer,p=s.MessageChannel,h=!1;if(l)h=function(e){c(e,{transfer:[e]})};else if(f)try{!p&&(n=u("worker_threads"))&&(p=n.MessageChannel),p&&(i=new p,o=new f(2),a=function(e){i.port1.postMessage(null,[e])},2===o.byteLength&&(a(o),0===o.byteLength&&(h=a)))}catch(e){}e.exports=h},80993:function(e,t,r){var n=r(18274),i=r(53744),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},21179:function(e){var t=TypeError;e.exports=function(e){if(e>0x1fffffffffffff)throw t("Maximum allowed index exceeded");return e}},49580:function(e){e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},55314:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},26102:function(e,t,r){var n=r(80993)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},18589:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},96247:function(e,t,r){var n=r(29117).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},69117:function(e,t,r){var n=r(29117);e.exports=/MSIE|Trident/.test(n)},50519:function(e,t,r){var n=r(29117);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},26826:function(e,t,r){var n=r(29117);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},18159:function(e,t,r){e.exports="NODE"===r(90385)},36742:function(e,t,r){var n=r(29117);e.exports=/web0s(?!.*chrome)/i.test(n)},29117:function(e,t,r){var n=r(18274).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},37429:function(e,t,r){var n,i,o=r(18274),a=r(29117),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},86053:function(e,t,r){var n=r(29117).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},90385:function(e,t,r){var n=r(18274),i=r(29117),o=r(19990),a=function(e){return i.slice(0,e.length)===e};e.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===o(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},14423:function(e,t,r){var n=r(43362),i=Error,o=n("".replace),a=String(new i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);e.exports=function(e,t){if(u&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,s,"");return e}},83177:function(e,t,r){var n=r(43877),i=r(14423),o=r(59541),a=Error.captureStackTrace;e.exports=function(e,t,r,s){o&&(a?a(e,t):n(e,"stack",i(r,s)))}},59541:function(e,t,r){var n=r(9329),i=r(99685);e.exports=!n(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)})},3692:function(e,t,r){var n=r(18274),i=r(21993).f,o=r(43877),a=r(46930),s=r(29127),u=r(19774),l=r(81714);e.exports=function(e,t){var r,c,f,p,h,d=e.target,v=e.global,g=e.stat;if(r=v?n:g?n[d]||s(d,{}):n[d]&&n[d].prototype)for(c in t){if(p=t[c],f=e.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!l(v?c:d+(g?".":"#")+c,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(e.sham||f&&f.sham)&&o(p,"sham",!0),a(r,c,p,e)}}},9329:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},26454:function(e,t,r){r(22501);var n=r(74327),i=r(46930),o=r(69321),a=r(9329),s=r(53001),u=r(43877),l=s("species"),c=RegExp.prototype;e.exports=function(e,t,r,f){var p=s(e),h=!a(function(){var t={};return t[p]=function(){return 7},7!==""[e](t)}),d=h&&!a(function(){var t=!1,r=/a/;if("split"===e){var n={};n[l]=function(){return r},(r={constructor:n,flags:""})[p]=/./[p]}return r.exec=function(){return t=!0,null},r[p](""),!t});if(!h||!d||r){var v=/./[p],g=t(p,""[e],function(e,t,r,i,a){var s=t.exec;return s===o||s===c.exec?h&&!a?{done:!0,value:n(v,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}});i(String.prototype,e,g[0]),i(c,p,g[1])}f&&u(c[p],"sham",!0)}},29251:function(e,t,r){var n=r(21242),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},94138:function(e,t,r){var n=r(23186),i=r(49248),o=r(21242),a=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},21242:function(e,t,r){e.exports=!r(9329)(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},74327:function(e,t,r){var n=r(21242),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},13512:function(e,t,r){var n=r(58358),i=r(62083),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&(!n||n&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:s&&"something"===(function(){}).name,CONFIGURABLE:u}},10928:function(e,t,r){var n=r(43362),i=r(49248);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},23186:function(e,t,r){var n=r(19990),i=r(43362);e.exports=function(e){if("Function"===n(e))return i(e)}},43362:function(e,t,r){var n=r(21242),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);e.exports=n?a:function(e){return function(){return o.apply(e,arguments)}}},26371:function(e,t,r){var n=r(18274),i=r(18159);e.exports=function(e){if(i){try{return n.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},48281:function(e,t,r){var n=r(18274),i=r(5331);e.exports=function(e,t){var r;return arguments.length<2?i(r=n[e])?r:void 0:n[e]&&n[e][t]}},23697:function(e){e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},881:function(e,t,r){var n=r(51353),i=r(88732),o=r(84295),a=r(7599),s=r(53001)("iterator");e.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[n(e)]}},85759:function(e,t,r){var n=r(74327),i=r(49248),o=r(18989),a=r(78849),s=r(881),u=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(i(r))return o(n(r,e));throw new u(a(e)+" is not iterable")}},88732:function(e,t,r){var n=r(49248),i=r(84295);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},51523:function(e,t,r){var n=r(49248),i=r(18989),o=r(74327),a=r(16869),s=r(23697),u="Invalid size",l=RangeError,c=TypeError,f=Math.max,p=function(e,t){this.set=e,this.size=f(t,0),this.has=n(e.has),this.keys=n(e.keys)};p.prototype={getIterator:function(){return s(i(o(this.keys,this.set)))},includes:function(e){return o(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw new c(u);var r=a(t);if(r<0)throw new l(u);return new p(e,r)}},98588:function(e,t,r){var n=r(43362),i=r(18563),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,p){var h=r+e.length,d=n.length,v=c;return void 0!==f&&(f=i(f),v=l),s(p,v,function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,r);case"'":return u(t,h);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>d){var p=o(c/10);if(0===p)return i;if(p<=d)return void 0===n[p-1]?a(s,1):n[p-1]+a(s,1);return i}l=n[c-1]}return void 0===l?"":l})}},18274:function(e,t,r){var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},62083:function(e,t,r){var n=r(43362),i=r(18563),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},75947:function(e){e.exports={}},64531:function(e){e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},68467:function(e,t,r){e.exports=r(48281)("document","documentElement")},11823:function(e,t,r){var n=r(58358),i=r(9329),o=r(80993);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},2168:function(e){var t=Array,r=Math.abs,n=Math.pow,i=Math.floor,o=Math.log,a=Math.LN2;e.exports={pack:function(e,s,u){var l,c,f,p=t(u),h=8*u-s-1,d=(1<<h)-1,v=d>>1,g=23===s?n(2,-24)-n(2,-77):0,y=+(e<0||0===e&&1/e<0),m=0;for((e=r(e))!=e||e===1/0?(c=+(e!=e),l=d):(f=n(2,-(l=i(o(e)/a))),e*f<1&&(l--,f*=2),l+v>=1?e+=g/f:e+=g*n(2,1-v),e*f>=2&&(l++,f/=2),l+v>=d?(c=0,l=d):l+v>=1?(c=(e*f-1)*n(2,s),l+=v):(c=e*n(2,v-1)*n(2,s),l=0));s>=8;)p[m++]=255&c,c/=256,s-=8;for(l=l<<s|c,h+=s;h>0;)p[m++]=255&l,l/=256,h-=8;return p[m-1]|=128*y,p},unpack:function(e,t){var r,i=e.length,o=8*i-t-1,a=(1<<o)-1,s=a>>1,u=o-7,l=i-1,c=e[l--],f=127&c;for(c>>=7;u>0;)f=256*f+e[l--],u-=8;for(r=f&(1<<-u)-1,f>>=-u,u+=t;u>0;)r=256*r+e[l--],u-=8;if(0===f)f=1-s;else{if(f===a)return r?NaN:c?-1/0:1/0;r+=n(2,t),f-=s}return(c?-1:1)*r*n(2,f-t)}}},63457:function(e,t,r){var n=r(43362),i=r(9329),o=r(19990),a=Object,s=n("".split);e.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"===o(e)?s(e,""):a(e)}:a},96581:function(e,t,r){var n=r(5331),i=r(53744),o=r(94009);e.exports=function(e,t,r){var a,s;return o&&n(a=t.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(e,s),e}},7836:function(e,t,r){var n=r(43362),i=r(5331),o=r(97007),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},37034:function(e,t,r){var n=r(53744),i=r(43877);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},49563:function(e,t,r){var n,i,o,a=r(99436),s=r(18274),u=r(53744),l=r(43877),c=r(62083),f=r(97007),p=r(60713),h=r(75947),d="Object already initialized",v=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw new v(d);return t.facade=e,y.set(e,t),t},i=function(e){return y.get(e)||{}},o=function(e){return y.has(e)}}else{var m=p("state");h[m]=!0,n=function(e,t){if(c(e,m))throw new v(d);return t.facade=e,l(e,m,t),t},i=function(e){return c(e,m)?e[m]:{}},o=function(e){return c(e,m)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw new v("Incompatible receiver, "+e+" required");return r}}}},57291:function(e,t,r){var n=r(53001),i=r(7599),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},82426:function(e,t,r){var n=r(19990);e.exports=Array.isArray||function(e){return"Array"===n(e)}},70861:function(e,t,r){var n=r(51353);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},5331:function(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},53975:function(e,t,r){var n=r(43362),i=r(9329),o=r(5331),a=r(51353),s=r(48281),u=r(7836),l=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=n(f.exec),h=!f.test(l),d=function(e){if(!o(e))return!1;try{return c(l,[],e),!0}catch(e){return!1}},v=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(f,u(e))}catch(e){return!0}};v.sham=!0,e.exports=!c||i(function(){var e;return d(d.call)||!d(Object)||!d(function(){e=!0})||e})?v:d},81714:function(e,t,r){var n=r(9329),i=r(5331),o=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r===c||r!==l&&(i(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},75201:function(e,t,r){var n=r(53744),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},84295:function(e){e.exports=function(e){return null==e}},53744:function(e,t,r){var n=r(5331);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},20807:function(e,t,r){var n=r(53744);e.exports=function(e){return n(e)||null===e}},90877:function(e){e.exports=!1},98874:function(e,t,r){var n=r(53744),i=r(19990),o=r(53001)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},75959:function(e,t,r){var n=r(48281),i=r(5331),o=r(95863),a=r(35190),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,s(e))}},53753:function(e,t,r){var n=r(74327);e.exports=function(e,t,r){for(var i,o,a=r?e:e.iterator,s=e.next;!(i=n(s,a)).done;)if(void 0!==(o=t(i.value)))return o}},79994:function(e,t,r){var n=r(94138),i=r(74327),o=r(18989),a=r(78849),s=r(57291),u=r(14408),l=r(95863),c=r(85759),f=r(881),p=r(36441),h=TypeError,d=function(e,t){this.stopped=e,this.result=t},v=d.prototype;e.exports=function(e,t,r){var g,y,m,b,w,S,E,k=r&&r.that,_=!!(r&&r.AS_ENTRIES),P=!!(r&&r.IS_RECORD),x=!!(r&&r.IS_ITERATOR),O=!!(r&&r.INTERRUPTED),R=n(t,k),C=function(e){return g&&p(g,"normal"),new d(!0,e)},A=function(e){return _?(o(e),O?R(e[0],e[1],C):R(e[0],e[1])):O?R(e,C):R(e)};if(P)g=e.iterator;else if(x)g=e;else{if(!(y=f(e)))throw new h(a(e)+" is not iterable");if(s(y)){for(m=0,b=u(e);b>m;m++)if((w=A(e[m]))&&l(v,w))return w;return new d(!1)}g=c(e,y)}for(S=P?e.next:g.next;!(E=i(S,g)).done;){try{w=A(E.value)}catch(e){p(g,"throw",e)}if("object"==typeof w&&w&&l(v,w))return w}return new d(!1)}},98359:function(e,t,r){var n=r(36441);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},36441:function(e,t,r){var n=r(74327),i=r(18989),o=r(88732);e.exports=function(e,t,r){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw r;if(s)throw a;return i(a),r}},63048:function(e,t,r){var n=r(84899).IteratorPrototype,i=r(13554),o=r(99685),a=r(47309),s=r(7599),u=function(){return this};e.exports=function(e,t,r,l){var c=t+" Iterator";return e.prototype=i(n,{next:o(+!l,r)}),a(e,c,!1,!0),s[c]=u,e}},26988:function(e,t,r){var n=r(74327),i=r(13554),o=r(43877),a=r(56337),s=r(53001),u=r(49563),l=r(88732),c=r(84899).IteratorPrototype,f=r(7991),p=r(36441),h=r(98359),d=s("toStringTag"),v="IteratorHelper",g="WrapForValidIterator",y="normal",m="throw",b=u.set,w=function(e){var t=u.getterFor(e?g:v);return a(i(c),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return f(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:f(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var o=l(i,"return");return o?n(o,i):f(void 0,!0)}if(r.inner)try{p(r.inner.iterator,y)}catch(e){return p(i,m,e)}if(r.openIters)try{h(r.openIters,y)}catch(e){return p(i,m,e)}return i&&p(i,y),f(void 0,!0)}})},S=w(!0),E=w(!1);o(E,d,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?g:v,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,b(this,i)};return n.prototype=t?S:E,n}},88374:function(e,t,r){var n=r(3692),i=r(74327),o=r(90877),a=r(13512),s=r(5331),u=r(63048),l=r(63749),c=r(94009),f=r(47309),p=r(43877),h=r(46930),d=r(53001),v=r(7599),g=r(84899),y=a.PROPER,m=a.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,S=d("iterator"),E="keys",k="values",_="entries",P=function(){return this};e.exports=function(e,t,r,a,d,g,x){u(r,t,a);var O,R,C,A=function(e){if(e===d&&j)return j;if(!w&&e&&e in M)return M[e];switch(e){case E:case k:case _:return function(){return new r(this,e)}}return function(){return new r(this)}},I=t+" Iterator",T=!1,M=e.prototype,z=M[S]||M["@@iterator"]||d&&M[d],j=!w&&z||A(d),L="Array"===t&&M.entries||z;if(L&&(O=l(L.call(new e)))!==Object.prototype&&O.next&&(!o&&l(O)!==b&&(c?c(O,b):s(O[S])||h(O,S,P)),f(O,I,!0,!0),o&&(v[I]=P)),y&&d===k&&z&&z.name!==k&&(!o&&m?p(M,"name",k):(T=!0,j=function(){return i(z,this)})),d)if(R={values:A(k),keys:g?j:A(E),entries:A(_)},x)for(C in R)!w&&!T&&C in M||h(M,C,R[C]);else n({target:t,proto:!0,forced:w||T},R);return(!o||x)&&M[S]!==j&&h(M,S,j,{name:d}),v[t]=j,R}},29622:function(e){e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},73035:function(e,t,r){var n=r(18274);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,o=i&&i[e],a=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){a=!0}},-1)}catch(e){e instanceof t||(a=!1)}if(!a)return o}},84899:function(e,t,r){var n,i,o,a=r(9329),s=r(5331),u=r(53744),l=r(13554),c=r(63749),f=r(46930),p=r(53001),h=r(90877),d=p("iterator"),v=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):v=!0),!u(n)||a(function(){var e={};return n[d].call(e)!==e})?n={}:h&&(n=l(n)),s(n[d])||f(n,d,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},7599:function(e){e.exports={}},14408:function(e,t,r){var n=r(17468);e.exports=function(e){return n(e.length)}},83281:function(e,t,r){var n=r(43362),i=r(9329),o=r(5331),a=r(62083),s=r(58358),u=r(13512).CONFIGURABLE,l=r(7836),c=r(49563),f=c.enforce,p=c.get,h=String,d=Object.defineProperty,v=n("".slice),g=n("".replace),y=n([].join),m=s&&!i(function(){return 8!==d(function(){},"length",{value:8}).length}),b=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===v(h(t),0,7)&&(t="["+g(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),m&&r&&a(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return a(n,"source")||(n.source=y(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w(function(){return o(this)&&p(this).source||l(this)},"toString")},67798:function(e,t,r){var n=r(86252),i=r(24184),o=Math.abs;e.exports=function(e,t,r,a){var s=+e,u=o(s),l=n(s);if(u<a)return l*i(u/a/t)*a*t;var c=(1+t/2220446049250313e-31)*u,f=c-(c-u);return f>r||f!=f?1/0*l:l*f}},31563:function(e,t,r){var n=r(67798);e.exports=Math.fround||function(e){return n(e,11920928955078125e-23,34028234663852886e22,11754943508222875e-54)}},24184:function(e){e.exports=function(e){return e+0x10000000000000-0x10000000000000}},86252:function(e){e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},80207:function(e){var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},25473:function(e,t,r){var n,i,o,a,s,u=r(18274),l=r(32291),c=r(94138),f=r(40999).set,p=r(65051),h=r(26826),d=r(50519),v=r(36742),g=r(18159),y=u.MutationObserver||u.WebKitMutationObserver,m=u.document,b=u.process,w=u.Promise,S=l("queueMicrotask");if(!S){var E=new p,k=function(){var e,t;for(g&&(e=b.domain)&&e.exit();t=E.get();)try{t()}catch(e){throw E.head&&n(),e}e&&e.enter()};h||g||v||!y||!m?!d&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=c(a.then,a),n=function(){s(k)}):g?n=function(){b.nextTick(k)}:(f=c(f,u),n=function(){f(k)}):(i=!0,o=m.createTextNode(""),new y(k).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),S=function(e){E.head||n(),E.add(e)}}e.exports=S},79933:function(e,t,r){var n=r(49248),i=TypeError,o=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},15689:function(e,t,r){var n=r(66061);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},52359:function(e,t,r){var n=r(58358),i=r(43362),o=r(74327),a=r(9329),s=r(10850),u=r(69507),l=r(35603),c=r(18563),f=r(63457),p=Object.assign,h=Object.defineProperty,d=i([].concat);e.exports=!p||a(function(){if(n&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(e){t[e]=e}),7!==p({},e)[r]||s(p({},t)).join("")!==i})?function(e,t){for(var r=c(e),i=arguments.length,a=1,p=u.f,h=l.f;i>a;)for(var v,g=f(arguments[a++]),y=p?d(s(g),p(g)):s(g),m=y.length,b=0;m>b;)v=y[b++],(!n||o(h,g,v))&&(r[v]=g[v]);return r}:p},13554:function(e,t,r){var n,i=r(18989),o=r(91391),a=r(18589),s=r(75947),u=r(68467),l=r(80993),c=r(60713),f="prototype",p="script",h=c("IE_PROTO"),d=function(){},v=function(e){return"<"+p+">"+e+"</"+p+">"},g=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=l("iframe");return t.style.display="none",u.appendChild(t),t.src=String("java"+p+":"),(e=t.contentWindow.document).open(),e.write(v("document.F=Object")),e.close(),e.F},m=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}m="undefined"!=typeof document?document.domain&&n?g(n):y():g(n);for(var e=a.length;e--;)delete m[f][a[e]];return m()};s[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(d[f]=i(e),r=new d,d[f]=null,r[h]=e):r=m(),void 0===t?r:o.f(r,t)}},91391:function(e,t,r){var n=r(58358),i=r(80576),o=r(58131),a=r(18989),s=r(24999),u=r(10850);t.f=n&&!i?Object.defineProperties:function(e,t){a(e);for(var r,n=s(t),i=u(t),l=i.length,c=0;l>c;)o.f(e,r=i[c++],n[r]);return e}},58131:function(e,t,r){var n=r(58358),i=r(11823),o=r(80576),a=r(18989),s=r(42863),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";t.f=n?o?function(e,t,r){if(a(e),t=s(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=c(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(a(e),t=s(t),a(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},21993:function(e,t,r){var n=r(58358),i=r(74327),o=r(35603),a=r(99685),s=r(24999),u=r(42863),l=r(62083),c=r(11823),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=u(t),c)try{return f(e,t)}catch(e){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},15694:function(e,t,r){var n=r(8270),i=r(18589).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},69507:function(e,t){t.f=Object.getOwnPropertySymbols},63749:function(e,t,r){var n=r(62083),i=r(5331),o=r(18563),a=r(60713),s=r(64665),u=a("IE_PROTO"),l=Object,c=l.prototype;e.exports=s?l.getPrototypeOf:function(e){var t=o(e);if(n(t,u))return t[u];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?c:null}},95863:function(e,t,r){e.exports=r(43362)({}.isPrototypeOf)},8270:function(e,t,r){var n=r(43362),i=r(62083),o=r(24999),a=r(70771).indexOf,s=r(75947),u=n([].push);e.exports=function(e,t){var r,n=o(e),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;t.length>l;)i(n,r=t[l++])&&(~a(c,r)||u(c,r));return c}},10850:function(e,t,r){var n=r(8270),i=r(18589);e.exports=Object.keys||function(e){return n(e,i)}},35603:function(e,t){var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;t.f=n&&!r.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},94009:function(e,t,r){var n=r(10928),i=r(53744),o=r(85288),a=r(67956);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),a(n),i(r)&&(t?e(r,n):r.__proto__=n),r}}():void 0)},5060:function(e,t,r){var n=r(74327),i=r(5331),o=r(53744),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!o(s=n(r,e))||i(r=e.valueOf)&&!o(s=n(r,e))||"string"!==t&&i(r=e.toString)&&!o(s=n(r,e)))return s;throw new a("Can't convert object to primitive value")}},73201:function(e,t,r){var n=r(48281),i=r(43362),o=r(15694),a=r(69507),s=r(18989),u=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=a.f;return r?u(t,r(e)):t}},30005:function(e,t,r){e.exports=r(18274)},15449:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},2294:function(e,t,r){var n=r(18274),i=r(89448),o=r(5331),a=r(81714),s=r(7836),u=r(53001),l=r(90385),c=r(90877),f=r(37429),p=i&&i.prototype,h=u("species"),d=!1,v=o(n.PromiseRejectionEvent);e.exports={CONSTRUCTOR:a("Promise",function(){var e=s(i),t=e!==String(i);if(!t&&66===f||c&&!(p.catch&&p.finally))return!0;if(!f||f<51||!/native code/.test(e)){var r=new i(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[h]=n,!(d=r.then(function(){})instanceof n))return!0}return!t&&("BROWSER"===l||"DENO"===l)&&!v}),REJECTION_EVENT:v,SUBCLASSING:d}},89448:function(e,t,r){e.exports=r(18274).Promise},25044:function(e,t,r){var n=r(18989),i=r(53744),o=r(79933);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},54583:function(e,t,r){var n=r(89448),i=r(94234);e.exports=r(2294).CONSTRUCTOR||!i(function(e){n.all(e).then(void 0,function(){})})},36294:function(e,t,r){var n=r(58131).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},65051:function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},86852:function(e,t,r){var n=r(74327),i=r(18989),o=r(5331),a=r(19990),s=r(69321),u=TypeError;e.exports=function(e,t){var r=e.exec;if(o(r)){var l=n(r,e,t);return null!==l&&i(l),l}if("RegExp"===a(e))return n(s,e,t);throw new u("RegExp#exec called on incompatible receiver")}},69321:function(e,t,r){var n,i,o=r(74327),a=r(43362),s=r(66061),u=r(92069),l=r(12531),c=r(94831),f=r(13554),p=r(49563).get,h=r(72245),d=r(66072),v=c("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,y=g,m=a("".charAt),b=a("".indexOf),w=a("".replace),S=a("".slice),E=(i=/b*/g,o(g,n=/a/,"a"),o(g,i,"a"),0!==n.lastIndex||0!==i.lastIndex),k=l.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(E||_||k||h||d)&&(y=function(e){var t,r,n,i,a,l,c,h=p(this),d=s(e),P=h.raw;if(P)return P.lastIndex=this.lastIndex,t=o(y,P,d),this.lastIndex=P.lastIndex,t;var x=h.groups,O=k&&this.sticky,R=o(u,this),C=this.source,A=0,I=d;if(O&&(-1===b(R=w(R,"y",""),"g")&&(R+="g"),I=S(d,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==m(d,this.lastIndex-1))&&(C="(?: "+C+")",I=" "+I,A++),r=RegExp("^(?:"+C+")",R)),_&&(r=RegExp("^"+C+"$(?!\\s)",R)),E&&(n=this.lastIndex),i=o(g,O?r:this,I),O?i?(i.input=S(i.input,A),i[0]=S(i[0],A),i.index=this.lastIndex,this.lastIndex+=i[0].length):this.lastIndex=0:E&&i&&(this.lastIndex=this.global?i.index+i[0].length:n),_&&i&&i.length>1&&o(v,i[0],r,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)}),i&&x)for(a=0,i.groups=l=f(null);a<x.length;a++)l[(c=x[a])[0]]=i[c[1]];return i}),e.exports=y},29531:function(e,t,r){var n=r(18274),i=r(9329),o=n.RegExp;e.exports={correct:!i(function(){var e=!0;try{o(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(a.hasIndices="d"),a)i(s,a[s]);return Object.getOwnPropertyDescriptor(o.prototype,"flags").get.call(t)!==n||r!==n})}},92069:function(e,t,r){var n=r(18989);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},16896:function(e,t,r){var n=r(74327),i=r(62083),o=r(95863),a=r(29531),s=r(92069),u=RegExp.prototype;e.exports=a.correct?function(e){return e.flags}:function(e){return!a.correct&&o(u,e)&&!i(e,"flags")?n(s,e):e.flags}},12531:function(e,t,r){var n=r(9329),i=r(18274).RegExp,o=n(function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),a=o||n(function(){return!i("a","y").sticky});e.exports={BROKEN_CARET:o||n(function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}),MISSED_STICKY:a,UNSUPPORTED_Y:o}},72245:function(e,t,r){var n=r(9329),i=r(18274).RegExp;e.exports=n(function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},66072:function(e,t,r){var n=r(9329),i=r(18274).RegExp;e.exports=n(function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},85288:function(e,t,r){var n=r(84295),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},32291:function(e,t,r){var n=r(18274),i=r(58358),o=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=o(n,e);return t&&t.value}},47648:function(e,t,r){var n=r(18872),i=r(31567),o=n.Set,a=n.add;e.exports=function(e){var t=new o;return i(e,function(e){a(t,e)}),t}},4014:function(e,t,r){var n=r(59470),i=r(18872),o=r(47648),a=r(26428),s=r(51523),u=r(31567),l=r(53753),c=i.has,f=i.remove;e.exports=function(e){var t=n(this),r=s(e),i=o(t);return a(t)<=r.size?u(t,function(e){r.includes(e)&&f(i,e)}):l(r.getIterator(),function(e){c(i,e)&&f(i,e)}),i}},18872:function(e,t,r){var n=r(43362),i=Set.prototype;e.exports={Set:Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},91880:function(e,t,r){var n=r(59470),i=r(18872),o=r(26428),a=r(51523),s=r(31567),u=r(53753),l=i.Set,c=i.add,f=i.has;e.exports=function(e){var t=n(this),r=a(e),i=new l;return o(t)>r.size?u(r.getIterator(),function(e){f(t,e)&&c(i,e)}):s(t,function(e){r.includes(e)&&c(i,e)}),i}},40019:function(e,t,r){var n=r(59470),i=r(18872).has,o=r(26428),a=r(51523),s=r(31567),u=r(53753),l=r(36441);e.exports=function(e){var t=n(this),r=a(e);if(o(t)<=r.size)return!1!==s(t,function(e){if(r.includes(e))return!1},!0);var c=r.getIterator();return!1!==u(c,function(e){if(i(t,e))return l(c,"normal",!1)})}},25224:function(e,t,r){var n=r(59470),i=r(26428),o=r(31567),a=r(51523);e.exports=function(e){var t=n(this),r=a(e);return!(i(t)>r.size)&&!1!==o(t,function(e){if(!r.includes(e))return!1},!0)}},21649:function(e,t,r){var n=r(59470),i=r(18872).has,o=r(26428),a=r(51523),s=r(53753),u=r(36441);e.exports=function(e){var t=n(this),r=a(e);if(o(t)<r.size)return!1;var l=r.getIterator();return!1!==s(l,function(e){if(!i(t,e))return u(l,"normal",!1)})}},31567:function(e,t,r){var n=r(43362),i=r(53753),o=r(18872),a=o.Set,s=o.proto,u=n(s.forEach),l=n(s.keys),c=l(new a).next;e.exports=function(e,t,r){return r?i({iterator:l(e),next:c},t):u(e,t)}},96930:function(e,t,r){var n=r(48281),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},o=function(e){return{size:e,has:function(){return!0},keys:function(){throw Error("e")}}};e.exports=function(e,t){var r=n("Set");try{new r()[e](i(0));try{return new r()[e](i(-1)),!1}catch(n){if(!t)return!0;try{return new r()[e](o(-1/0)),!1}catch(n){var a=new r([1,2]);return t(a[e](o(1/0)))}}}catch(e){return!1}}},42661:function(e){e.exports=function(e){try{var t=new Set,r=t[e]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return 1===r.size&&4===r.values().next().value}catch(e){return!1}}},26428:function(e,t,r){e.exports=r(10928)(r(18872).proto,"size","get")||function(e){return e.size}},22187:function(e,t,r){var n=r(48281),i=r(4800),o=r(53001),a=r(58358),s=o("species");e.exports=function(e){var t=n(e);a&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},86500:function(e,t,r){var n=r(59470),i=r(18872),o=r(47648),a=r(51523),s=r(53753),u=i.add,l=i.has,c=i.remove;e.exports=function(e){var t=n(this),r=a(e).getIterator(),i=o(t);return s(r,function(e){l(t,e)?c(i,e):u(i,e)}),i}},47309:function(e,t,r){var n=r(58131).f,i=r(62083),o=r(53001)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},39830:function(e,t,r){var n=r(59470),i=r(18872).add,o=r(47648),a=r(51523),s=r(53753);e.exports=function(e){var t=n(this),r=a(e).getIterator(),u=o(t);return s(r,function(e){i(u,e)}),u}},60713:function(e,t,r){var n=r(94831),i=r(22066),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},97007:function(e,t,r){var n=r(90877),i=r(18274),o=r(29127),a="__core-js_shared__",s=e.exports=i[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.47.0",mode:n?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},94831:function(e,t,r){var n=r(97007);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},38027:function(e,t,r){var n=r(18989),i=r(10638),o=r(84295),a=r(53001)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||o(r=n(s)[a])?t:i(r)}},18793:function(e,t,r){var n=r(43362),i=r(16869),o=r(66061),a=r(85288),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(e){return function(t,r){var n,c,f=o(a(t)),p=i(r),h=f.length;return p<0||p>=h?e?"":void 0:(n=u(f,p))<55296||n>56319||p+1===h||(c=u(f,p+1))<56320||c>57343?e?s(f,p):n:e?l(f,p,p+2):(n-55296<<10)+(c-56320)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},88083:function(e,t,r){var n=r(43362),i=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",s=RangeError,u=n(o.exec),l=Math.floor,c=String.fromCharCode,f=n("".charCodeAt),p=n([].join),h=n([].push),d=n("".replace),v=n("".split),g=n("".toLowerCase),y=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=f(e,r++);if(i>=55296&&i<=56319&&r<n){var o=f(e,r++);(64512&o)==56320?h(t,((1023&i)<<10)+(1023&o)+65536):(h(t,i),r--)}else h(t,i)}return t},m=function(e){return e+22+75*(e<26)},b=function(e,t,r){var n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),n+=36;return l(n+36*e/(e+38))},w=function(e){var t,r,n=[],i=(e=y(e)).length,o=128,u=0,f=72;for(t=0;t<e.length;t++)(r=e[t])<128&&h(n,c(r));var d=n.length,v=d;for(d&&h(n,"-");v<i;){var g=0x7fffffff;for(t=0;t<e.length;t++)(r=e[t])>=o&&r<g&&(g=r);var w=v+1;if(g-o>l((0x7fffffff-u)/w))throw new s(a);for(u+=(g-o)*w,o=g,t=0;t<e.length;t++){if((r=e[t])<o&&++u>0x7fffffff)throw new s(a);if(r===o){for(var S=u,E=36;;){var k=E<=f?1:E>=f+26?26:E-f;if(S<k)break;var _=S-k,P=36-k;h(n,c(m(k+_%P))),S=l(_/P),E+=36}h(n,c(m(S))),f=b(u,w,v===d),u=0,v++}}u++,o++}return p(n,"")};e.exports=function(e){var t,r,n=[],a=v(d(g(e),o,"."),".");for(t=0;t<a.length;t++)h(n,u(i,r=a[t])?"xn--"+w(r):r);return p(n,".")}},18758:function(e,t,r){var n=r(18274),i=r(9329),o=r(37429),a=r(90385),s=n.structuredClone;e.exports=!!s&&!i(function(){if("DENO"===a&&o>92||"NODE"===a&&o>94||"BROWSER"===a&&o>97)return!1;var e=new ArrayBuffer(8),t=s(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})},89621:function(e,t,r){var n=r(37429),i=r(9329),o=r(18274).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},40999:function(e,t,r){var n,i,o,a,s=r(18274),u=r(29251),l=r(94138),c=r(5331),f=r(62083),p=r(9329),h=r(68467),d=r(2554),v=r(80993),g=r(24362),y=r(26826),m=r(18159),b=s.setImmediate,w=s.clearImmediate,S=s.process,E=s.Dispatch,k=s.Function,_=s.MessageChannel,P=s.String,x=0,O={},R="onreadystatechange";p(function(){n=s.location});var C=function(e){if(f(O,e)){var t=O[e];delete O[e],t()}},A=function(e){return function(){C(e)}},I=function(e){C(e.data)},T=function(e){s.postMessage(P(e),n.protocol+"//"+n.host)};b&&w||(b=function(e){g(arguments.length,1);var t=c(e)?e:k(e),r=d(arguments,1);return O[++x]=function(){u(t,void 0,r)},i(x),x},w=function(e){delete O[e]},m?i=function(e){S.nextTick(A(e))}:E&&E.now?i=function(e){E.now(A(e))}:_&&!y?(a=(o=new _).port2,o.port1.onmessage=I,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!p(T)?(i=T,s.addEventListener("message",I,!1)):i=R in v("script")?function(e){h.appendChild(v("script"))[R]=function(){h.removeChild(this),C(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:b,clear:w}},19272:function(e,t,r){var n=r(16869),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},8636:function(e,t,r){var n=r(84699),i=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},57454:function(e,t,r){var n=r(16869),i=r(17468),o=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw new o("Wrong length or index");return r}},24999:function(e,t,r){var n=r(63457),i=r(85288);e.exports=function(e){return n(i(e))}},16869:function(e,t,r){var n=r(80207);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},17468:function(e,t,r){var n=r(16869),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,0x1fffffffffffff):0}},18563:function(e,t,r){var n=r(85288),i=Object;e.exports=function(e){return i(n(e))}},83035:function(e,t,r){var n=r(3036),i=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new i("Wrong offset");return r}},3036:function(e,t,r){var n=r(16869),i=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new i("The argument can't be less than 0");return t}},84699:function(e,t,r){var n=r(74327),i=r(53744),o=r(75959),a=r(88732),s=r(5060),u=r(53001),l=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,u=a(e,c);if(u){if(void 0===t&&(t="default"),!i(r=n(u,e,t))||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},42863:function(e,t,r){var n=r(84699),i=r(75959);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},44746:function(e,t,r){var n=r(53001)("toStringTag"),i={};i[n]="z",e.exports="[object z]"===String(i)},66061:function(e,t,r){var n=r(51353),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},44001:function(e){var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},78849:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},34281:function(e,t,r){var n=r(3692),i=r(18274),o=r(74327),a=r(58358),s=r(46579),u=r(92326),l=r(86600),c=r(56381),f=r(99685),p=r(43877),h=r(75201),d=r(17468),v=r(57454),g=r(83035),y=r(44001),m=r(42863),b=r(62083),w=r(51353),S=r(53744),E=r(75959),k=r(13554),_=r(95863),P=r(94009),x=r(15694).f,O=r(52909),R=r(62747).forEach,C=r(22187),A=r(4800),I=r(58131),T=r(21993),M=r(54728),z=r(49563),j=r(96581),L=z.get,D=z.set,U=z.enforce,N=I.f,F=T.f,$=i.RangeError,W=l.ArrayBuffer,B=W.prototype,q=l.DataView,Y=u.NATIVE_ARRAY_BUFFER_VIEWS,K=u.TYPED_ARRAY_TAG,V=u.TypedArray,H=u.TypedArrayPrototype,G=u.isTypedArray,Q="BYTES_PER_ELEMENT",J="Wrong length",Z=function(e,t){A(e,t,{configurable:!0,get:function(){return L(this)[t]}})},X=function(e){var t;return _(B,e)||"ArrayBuffer"===(t=w(e))||"SharedArrayBuffer"===t},ee=function(e,t){return G(e)&&!E(t)&&t in e&&h(+t)&&t>=0},et=function(e,t){return ee(e,t=m(t))?f(2,e[t]):F(e,t)},er=function(e,t,r){return ee(e,t=m(t))&&S(r)&&b(r,"value")&&!b(r,"get")&&!b(r,"set")&&!r.configurable&&(!b(r,"writable")||r.writable)&&(!b(r,"enumerable")||r.enumerable)?(e[t]=r.value,e):N(e,t,r)};a?(Y||(T.f=et,I.f=er,Z(H,"buffer"),Z(H,"byteOffset"),Z(H,"byteLength"),Z(H,"length")),n({target:"Object",stat:!0,forced:!Y},{getOwnPropertyDescriptor:et,defineProperty:er}),e.exports=function(e,t,r){var a=e.match(/\d+/)[0]/8,u=e+(r?"Clamped":"")+"Array",l="get"+e,f="set"+e,h=i[u],m=h,b=m&&m.prototype,w={},E=function(e,t){var r=L(e);return r.view[l](t*a+r.byteOffset,!0)},_=function(e,t,n){var i=L(e);i.view[f](t*a+i.byteOffset,r?y(n):n,!0)},A=function(e,t){N(e,t,{get:function(){return E(this,t)},set:function(e){return _(this,t,e)},enumerable:!0})};Y?s&&(m=t(function(e,t,r,n){return c(e,b),j(S(t)?X(t)?void 0!==n?new h(t,g(r,a),n):void 0!==r?new h(t,g(r,a)):new h(t):G(t)?M(m,t):o(O,m,t):new h(v(t)),e,m)}),P&&P(m,V),R(x(h),function(e){e in m||p(m,e,h[e])}),m.prototype=b):(m=t(function(e,t,r,n){c(e,b);var i,s,u,l=0,f=0;if(S(t))if(X(t)){i=t,f=g(r,a);var p=t.byteLength;if(void 0===n){if(p%a||(s=p-f)<0)throw new $(J)}else if((s=d(n)*a)+f>p)throw new $(J);u=s/a}else if(G(t))return M(m,t);else return o(O,m,t);else i=new W(s=(u=v(t))*a);for(D(e,{buffer:i,byteOffset:f,byteLength:s,length:u,view:new q(i)});l<u;)A(e,l++)}),P&&P(m,V),b=m.prototype=k(H)),b.constructor!==m&&p(b,"constructor",m),U(b).TypedArrayConstructor=m,K&&p(b,K,u);var I=m!==h;w[u]=m,n({global:!0,constructor:!0,forced:I,sham:!Y},w),Q in m||p(m,Q,a),Q in b||p(b,Q,a),C(u)}):e.exports=function(){}},46579:function(e,t,r){var n=r(18274),i=r(9329),o=r(94234),a=r(92326).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,u=n.Int8Array;e.exports=!a||!i(function(){u(1)})||!i(function(){new u(-1)})||!o(function(e){new u,new u(null),new u(1.5),new u(e)},!0)||i(function(){return 1!==new u(new s(2),1,void 0).length})},52909:function(e,t,r){var n=r(94138),i=r(74327),o=r(10638),a=r(18563),s=r(14408),u=r(85759),l=r(881),c=r(57291),f=r(70861),p=r(92326).aTypedArrayConstructor,h=r(8636);e.exports=function(e){var t,r,d,v,g,y,m,b,w=o(this),S=a(e),E=arguments.length,k=E>1?arguments[1]:void 0,_=void 0!==k,P=l(S);if(P&&!c(P))for(b=(m=u(S,P)).next,S=[];!(y=i(b,m)).done;)S.push(y.value);for(_&&E>2&&(k=n(k,arguments[2])),r=s(S),v=f(d=new(p(w))(r)),t=0;r>t;t++)g=_?k(S[t],t):S[t],d[t]=v?h(g):+g;return d}},22066:function(e,t,r){var n=r(43362),i=0,o=Math.random(),a=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},69954:function(e,t,r){var n=r(9329),i=r(53001),o=r(58358),a=r(90877),s=i("iterator");e.exports=!n(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),r.delete("a",2),r.delete("b",void 0),a&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(a||!o)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})},35190:function(e,t,r){e.exports=r(89621)&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},80576:function(e,t,r){var n=r(58358),i=r(9329);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},24362:function(e){var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},99436:function(e,t,r){var n=r(18274),i=r(5331),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},53001:function(e,t,r){var n=r(18274),i=r(94831),o=r(62083),a=r(22066),s=r(89621),u=r(35190),l=n.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;e.exports=function(e){return o(c,e)||(c[e]=s&&o(l,e)?l[e]:f("Symbol."+e)),c[e]}},71431:function(e,t,r){var n=r(48281),i=r(62083),o=r(43877),a=r(95863),s=r(94009),u=r(19774),l=r(36294),c=r(96581),f=r(15689),p=r(37034),h=r(83177),d=r(58358),v=r(90877);e.exports=function(e,t,r,g){var y="stackTraceLimit",m=g?2:1,b=e.split("."),w=b[b.length-1],S=n.apply(null,b);if(S){var E=S.prototype;if(!v&&i(E,"cause")&&delete E.cause,!r)return S;var k=n("Error"),_=t(function(e,t){var r=f(g?t:e,void 0),n=g?new S(e):new S;return void 0!==r&&o(n,"message",r),h(n,_,n.stack,2),this&&a(E,this)&&c(n,this,_),arguments.length>m&&p(n,arguments[m]),n});if(_.prototype=E,"Error"!==w?s?s(_,k):u(_,k,{name:!0}):d&&y in S&&(l(_,S,y),l(_,S,"prepareStackTrace")),u(_,S),!v)try{E.name!==w&&o(E,"name",w),E.constructor=_}catch(e){}return _}}},65595:function(e,t,r){var n=r(58358),i=r(4800),o=r(14580),a=ArrayBuffer.prototype;!n||"detached"in a||i(a,"detached",{configurable:!0,get:function(){return o(this)}})},4214:function(e,t,r){var n=r(3692),i=r(9482);i&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},16418:function(e,t,r){var n=r(3692),i=r(9482);i&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},30945:function(e,t,r){var n=r(3692),i=r(70771).includes,o=r(9329),a=r(70031);n({target:"Array",proto:!0,forced:o(function(){return![,].includes()})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},78906:function(e,t,r){var n=r(24999),i=r(70031),o=r(7599),a=r(49563),s=r(58131).f,u=r(88374),l=r(7991),c=r(90877),f=r(58358),p="Array Iterator",h=a.set,d=a.getterFor(p);e.exports=u(Array,"Array",function(e,t){h(this,{type:p,target:n(e),index:0,kind:t})},function(){var e=d(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,l(void 0,!0);switch(e.kind){case"keys":return l(r,!1);case"values":return l(t[r],!1)}return l([r,t[r]],!1)},"values");var v=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==v.name)try{s(v,"name",{value:"values"})}catch(e){}},10676:function(e,t,r){var n=r(3692),i=r(18563),o=r(14408),a=r(50033),s=r(21179);n({target:"Array",proto:!0,arity:1,forced:r(9329)(function(){return 0x100000001!==[].push.call({length:0x100000000},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=i(this),r=o(t),n=arguments.length;s(r+n);for(var u=0;u<n;u++)t[r]=arguments[u],r++;return a(t,r),r}})},58814:function(e,t,r){var n=r(3692),i=r(51228).left,o=r(35608),a=r(37429);n({target:"Array",proto:!0,forced:!r(18159)&&a>79&&a<83||!o("reduce")},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},3568:function(e,t,r){r(70031)("flat")},98114:function(e,t,r){var n=r(3692),i=r(18274),o=r(29251),a=r(71431),s="WebAssembly",u=i[s],l=7!==Error("e",{cause:7}).cause,c=function(e,t){var r={};r[e]=a(e,t,l),n({global:!0,constructor:!0,arity:1,forced:l},r)},f=function(e,t){if(u&&u[e]){var r={};r[e]=a(s+"."+e,t,l),n({target:s,stat:!0,constructor:!0,arity:1,forced:l},r)}};c("Error",function(e){return function(t){return o(e,this,arguments)}}),c("EvalError",function(e){return function(t){return o(e,this,arguments)}}),c("RangeError",function(e){return function(t){return o(e,this,arguments)}}),c("ReferenceError",function(e){return function(t){return o(e,this,arguments)}}),c("SyntaxError",function(e){return function(t){return o(e,this,arguments)}}),c("TypeError",function(e){return function(t){return o(e,this,arguments)}}),c("URIError",function(e){return function(t){return o(e,this,arguments)}}),f("CompileError",function(e){return function(t){return o(e,this,arguments)}}),f("LinkError",function(e){return function(t){return o(e,this,arguments)}}),f("RuntimeError",function(e){return function(t){return o(e,this,arguments)}})},19161:function(e,t,r){var n=r(3692),i=r(18274),o=r(56381),a=r(18989),s=r(5331),u=r(63749),l=r(4800),c=r(29718),f=r(9329),p=r(62083),h=r(53001),d=r(84899).IteratorPrototype,v=r(58358),g=r(90877),y="constructor",m="Iterator",b=h("toStringTag"),w=TypeError,S=i[m],E=g||!s(S)||S.prototype!==d||!f(function(){S({})}),k=function(){if(o(this,d),u(this)===d)throw new w("Abstract class Iterator not directly constructable")},_=function(e,t){v?l(d,e,{configurable:!0,get:function(){return t},set:function(t){if(a(this),this===d)throw new w("You can't redefine this property");p(this,e)?this[e]=t:c(this,e,t)}}):d[e]=t};p(d,b)||_(b,m),(E||!p(d,y)||d[y]===Object)&&_(y,k),k.prototype=d,n({global:!0,constructor:!0,forced:E},{Iterator:k})},52678:function(e,t,r){var n=r(3692),i=r(74327),o=r(79994),a=r(49248),s=r(18989),u=r(23697),l=r(36441),c=r(73035)("every",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{every:function(e){s(this);try{a(e)}catch(e){l(this,"throw",e)}if(c)return i(c,this,e);var t=u(this),r=0;return!o(t,function(t,n){if(!e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},95055:function(e,t,r){var n=r(3692),i=r(74327),o=r(49248),a=r(18989),s=r(23697),u=r(26988),l=r(68205),c=r(90877),f=r(36441),p=r(29622),h=r(73035),d=!c&&!p("filter",function(){}),v=!c&&!d&&h("filter",TypeError),g=c||d||v,y=u(function(){for(var e,t,r=this.iterator,n=this.predicate,o=this.next;;){if(e=a(i(o,r)),this.done=!!e.done)return;if(l(r,n,[t=e.value,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:g},{filter:function(e){a(this);try{o(e)}catch(e){f(this,"throw",e)}return v?i(v,this,e):new y(s(this),{predicate:e})}})},85074:function(e,t,r){var n=r(3692),i=r(74327),o=r(79994),a=r(49248),s=r(18989),u=r(23697),l=r(36441),c=r(73035)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{find:function(e){s(this);try{a(e)}catch(e){l(this,"throw",e)}if(c)return i(c,this,e);var t=u(this),r=0;return o(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},41730:function(e,t,r){var n=r(3692),i=r(74327),o=r(79994),a=r(49248),s=r(18989),u=r(23697),l=r(36441),c=r(73035)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{forEach:function(e){s(this);try{a(e)}catch(e){l(this,"throw",e)}if(c)return i(c,this,e);var t=u(this),r=0;o(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},22239:function(e,t,r){var n=r(3692),i=r(74327),o=r(49248),a=r(18989),s=r(23697),u=r(26988),l=r(68205),c=r(36441),f=r(29622),p=r(73035),h=r(90877),d=!h&&!f("map",function(){}),v=!h&&!d&&p("map",TypeError),g=h||d||v,y=u(function(){var e=this.iterator,t=a(i(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(e){a(this);try{o(e)}catch(e){c(this,"throw",e)}return v?i(v,this,e):new y(s(this),{mapper:e})}})},8451:function(e,t,r){var n=r(3692),i=r(79994),o=r(49248),a=r(18989),s=r(23697),u=r(36441),l=r(73035),c=r(29251),f=r(9329),p=TypeError,h=f(function(){[].keys().reduce(function(){},void 0)}),d=!h&&l("reduce",p);n({target:"Iterator",proto:!0,real:!0,forced:h||d},{reduce:function(e){a(this);try{o(e)}catch(e){u(this,"throw",e)}var t=arguments.length<2,r=t?void 0:arguments[1];if(d)return c(d,this,t?[e]:[e,r]);var n=s(this),l=0;if(i(n,function(n){t?(t=!1,r=n):r=e(r,n,l),l++},{IS_RECORD:!0}),t)throw new p("Reduce of empty iterator with no initial value");return r}})},89305:function(e,t,r){var n=r(3692),i=r(74327),o=r(79994),a=r(49248),s=r(18989),u=r(23697),l=r(36441),c=r(73035)("some",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{some:function(e){s(this);try{a(e)}catch(e){l(this,"throw",e)}if(c)return i(c,this,e);var t=u(this),r=0;return o(t,function(t,n){if(e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},96433:function(e,t,r){var n=r(3692),i=r(74327),o=r(49248),a=r(79933),s=r(15449),u=r(79994);n({target:"Promise",stat:!0,forced:r(54583)},{all:function(e){var t=this,r=a.f(t),n=r.resolve,l=r.reject,c=s(function(){var r=o(t.resolve),a=[],s=0,c=1;u(e,function(e){var o=s++,u=!1;c++,i(r,t,e).then(function(e){!u&&(u=!0,a[o]=e,--c||n(a))},l)}),--c||n(a)});return c.error&&l(c.value),r.promise}})},26945:function(e,t,r){var n=r(3692),i=r(90877),o=r(2294).CONSTRUCTOR,a=r(89448),s=r(48281),u=r(5331),l=r(46930),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},76474:function(e,t,r){var n,i,o,a,s=r(3692),u=r(90877),l=r(18159),c=r(18274),f=r(30005),p=r(74327),h=r(46930),d=r(94009),v=r(47309),g=r(22187),y=r(49248),m=r(5331),b=r(53744),w=r(56381),S=r(38027),E=r(40999).set,k=r(25473),_=r(64531),P=r(15449),x=r(65051),O=r(49563),R=r(89448),C=r(2294),A=r(79933),I="Promise",T=C.CONSTRUCTOR,M=C.REJECTION_EVENT,z=C.SUBCLASSING,j=O.getterFor(I),L=O.set,D=R&&R.prototype,U=R,N=D,F=c.TypeError,$=c.document,W=c.process,B=A.f,q=B,Y=!!($&&$.createEvent&&c.dispatchEvent),K="unhandledrejection",V=function(e){var t;return!!(b(e)&&m(t=e.then))&&t},H=function(e,t){var r,n,i,o=t.value,a=1===t.state,s=a?e.ok:e.fail,u=e.resolve,l=e.reject,c=e.domain;try{s?(a||(2===t.rejection&&X(t),t.rejection=1),!0===s?r=o:(c&&c.enter(),r=s(o),c&&(c.exit(),i=!0)),r===e.promise?l(new F("Promise-chain cycle")):(n=V(r))?p(n,r,u,l):u(r)):l(o)}catch(e){c&&!i&&c.exit(),l(e)}},G=function(e,t){e.notified||(e.notified=!0,k(function(){for(var r,n=e.reactions;r=n.get();)H(r,e);e.notified=!1,t&&!e.rejection&&J(e)}))},Q=function(e,t,r){var n,i;Y?((n=$.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!M&&(i=c["on"+e])?i(n):e===K&&_("Unhandled promise rejection",r)},J=function(e){p(E,c,function(){var t,r=e.facade,n=e.value;if(Z(e)&&(t=P(function(){l?W.emit("unhandledRejection",n,r):Q(K,r,n)}),e.rejection=l||Z(e)?2:1,t.error))throw t.value})},Z=function(e){return 1!==e.rejection&&!e.parent},X=function(e){p(E,c,function(){var t=e.facade;l?W.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)})},ee=function(e,t,r){return function(n){e(t,n,r)}},et=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,G(e,!0))},er=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new F("Promise can't be resolved itself");var n=V(t);n?k(function(){var r={done:!1};try{p(n,t,ee(er,r,e),ee(et,r,e))}catch(t){et(r,t,e)}}):(e.value=t,e.state=1,G(e,!1))}catch(t){et({done:!1},t,e)}}};if(T&&(N=(U=function(e){w(this,N),y(e),p(n,this);var t=j(this);try{e(ee(er,t),ee(et,t))}catch(e){et(t,e)}}).prototype,(n=function(e){L(this,{type:I,done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:0,value:null})}).prototype=h(N,"then",function(e,t){var r=j(this),n=B(S(this,U));return r.parent=!0,n.ok=!m(e)||e,n.fail=m(t)&&t,n.domain=l?W.domain:void 0,0===r.state?r.reactions.add(n):k(function(){H(n,r)}),n.promise}),i=function(){var e=new n,t=j(e);this.promise=e,this.resolve=ee(er,t),this.reject=ee(et,t)},A.f=B=function(e){return e===U||e===o?new i(e):q(e)},!u&&m(R)&&D!==Object.prototype)){a=D.then,z||h(D,"then",function(e,t){var r=this;return new U(function(e,t){p(a,r,e,t)}).then(e,t)},{unsafe:!0});try{delete D.constructor}catch(e){}d&&d(D,N)}s({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:U}),o=f.Promise,v(U,I,!1,!0),g(I)},50036:function(e,t,r){r(76474),r(96433),r(26945),r(72409),r(67207),r(59318)},72409:function(e,t,r){var n=r(3692),i=r(74327),o=r(49248),a=r(79933),s=r(15449),u=r(79994);n({target:"Promise",stat:!0,forced:r(54583)},{race:function(e){var t=this,r=a.f(t),n=r.reject,l=s(function(){var a=o(t.resolve);u(e,function(e){i(a,t,e).then(r.resolve,n)})});return l.error&&n(l.value),r.promise}})},67207:function(e,t,r){var n=r(3692),i=r(79933);n({target:"Promise",stat:!0,forced:r(2294).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},59318:function(e,t,r){var n=r(3692),i=r(48281),o=r(90877),a=r(89448),s=r(2294).CONSTRUCTOR,u=r(25044),l=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return u(c&&this===l?a:this,e)}})},43510:function(e,t,r){var n=r(3692),i=r(18274),o=r(47309);n({global:!0},{Reflect:{}}),o(i.Reflect,"Reflect",!0)},25006:function(e,t,r){var n=r(58358),i=r(18274),o=r(43362),a=r(81714),s=r(96581),u=r(43877),l=r(13554),c=r(15694).f,f=r(95863),p=r(98874),h=r(66061),d=r(16896),v=r(12531),g=r(36294),y=r(46930),m=r(9329),b=r(62083),w=r(49563).enforce,S=r(22187),E=r(53001),k=r(72245),_=r(66072),P=E("match"),x=i.RegExp,O=x.prototype,R=i.SyntaxError,C=o(O.exec),A=o("".charAt),I=o("".replace),T=o("".indexOf),M=o("".slice),z=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,j=/a/g,L=/a/g,D=new x(j)!==j,U=v.MISSED_STICKY,N=v.UNSUPPORTED_Y,F=n&&(!D||U||k||_||m(function(){return L[P]=!1,x(j)!==j||x(L)===L||"/a/i"!==String(x(j,"i"))})),$=function(e){for(var t,r=e.length,n=0,i="",o=!1;n<=r;n++){if("\\"===(t=A(e,n))){i+=t+A(e,++n);continue}o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]"}return i},W=function(e){for(var t,r=e.length,n=0,i="",o=[],a=l(null),s=!1,u=!1,c=0,f="";n<=r;n++){if("\\"===(t=A(e,n)))t+=A(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:if(i+=t,"?:"===M(e,n+1,n+3))continue;C(z,M(e,n+1))&&(n+=2,u=!0),c++;continue;case">"===t&&u:if(""===f||b(a,f))throw new R("Invalid capture group name");a[f]=!0,o[o.length]=[f,c],u=!1,f="";continue}u?f+=t:i+=t}return[i,o]};if(a("RegExp",F)){for(var B=function(e,t){var r,n,i,o,a,l,c=f(O,this),v=p(e),g=void 0===t,y=[],m=e;if(!c&&v&&g&&e.constructor===B)return e;if((v||f(O,e))&&(e=e.source,g&&(t=d(m))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),m=e,k&&"dotAll"in j&&(n=!!t&&T(t,"s")>-1)&&(t=I(t,/s/g,"")),r=t,U&&"sticky"in j&&(i=!!t&&T(t,"y")>-1)&&N&&(t=I(t,/y/g,"")),_&&(e=(o=W(e))[0],y=o[1]),a=s(x(e,t),c?this:O,B),(n||i||y.length)&&(l=w(a),n&&(l.dotAll=!0,l.raw=B($(e),r)),i&&(l.sticky=!0),y.length&&(l.groups=y)),e!==m)try{u(a,"source",""===m?"(?:)":m)}catch(e){}return a},q=c(x),Y=0;q.length>Y;)g(B,x,q[Y++]);O.constructor=B,B.prototype=O,y(i,"RegExp",B,{constructor:!0})}S("RegExp")},54067:function(e,t,r){var n=r(58358),i=r(72245),o=r(19990),a=r(4800),s=r(49563).get,u=RegExp.prototype,l=TypeError;n&&i&&a(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===o(this))return!!s(this).dotAll;throw new l("Incompatible receiver, RegExp required")}}})},22501:function(e,t,r){var n=r(3692),i=r(69321);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},32880:function(e,t,r){var n=r(3692),i=r(4014),o=r(9329);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("difference",function(e){return 0===e.size})||o(function(){var e=new Set([1,2,3,4]);return 3!==e.difference({size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var r=t++>1;return e.has(1)&&e.clear(),{done:r,value:2}}}}}).size})},{difference:i})},25902:function(e,t,r){var n=r(3692),i=r(9329),o=r(91880);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||i(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:o})},56359:function(e,t,r){var n=r(3692),i=r(40019);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("isDisjointFrom",function(e){return!e})},{isDisjointFrom:i})},894:function(e,t,r){var n=r(3692),i=r(25224);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("isSubsetOf",function(e){return e})},{isSubsetOf:i})},6373:function(e,t,r){var n=r(3692),i=r(21649);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("isSupersetOf",function(e){return!e})},{isSupersetOf:i})},63418:function(e,t,r){var n=r(3692),i=r(86500),o=r(42661);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("symmetricDifference")||!o("symmetricDifference")},{symmetricDifference:i})},93412:function(e,t,r){var n=r(3692),i=r(39830),o=r(42661);n({target:"Set",proto:!0,real:!0,forced:!r(96930)("union")||!o("union")},{union:i})},71771:function(e,t,r){var n=r(3692),i=r(43362),o=r(19272),a=RangeError,s=String.fromCharCode,u=String.fromCodePoint,l=i([].join);n({target:"String",stat:!0,arity:1,forced:!!u&&1!==u.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(t=+arguments[i++],o(t,1114111)!==t)throw new a(t+" is not a valid code point");r[i]=t<65536?s(t):s(((t-=65536)>>10)+55296,t%1024+56320)}return l(r,"")}})},36338:function(e,t,r){var n=r(18793).charAt,i=r(66061),o=r(49563),a=r(88374),s=r(7991),u="String Iterator",l=o.set,c=o.getterFor(u);a(String,"String",function(e){l(this,{type:u,string:i(e),index:0})},function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?s(void 0,!0):(e=n(r,i),t.index+=e.length,s(e,!1))})},83417:function(e,t,r){var n=r(3692),i=r(74327),o=r(23186),a=r(63048),s=r(7991),u=r(85288),l=r(17468),c=r(66061),f=r(18989),p=r(53744),h=r(19990),d=r(98874),v=r(16896),g=r(88732),y=r(46930),m=r(9329),b=r(53001),w=r(38027),S=r(7787),E=r(86852),k=r(49563),_=r(90877),P=b("matchAll"),x="RegExp String",O=x+" Iterator",R=k.set,C=k.getterFor(O),A=RegExp.prototype,I=TypeError,T=o("".indexOf),M=o("".matchAll),z=!!M&&!m(function(){M("a",/./)}),j=a(function(e,t,r,n){R(this,{type:O,regexp:e,string:t,global:r,unicode:n,done:!1})},x,function(){var e=C(this);if(e.done)return s(void 0,!0);var t=e.regexp,r=e.string,n=E(t,r);return null===n?(e.done=!0,s(void 0,!0)):(e.global?""===c(n[0])&&(t.lastIndex=S(r,l(t.lastIndex),e.unicode)):e.done=!0,s(n,!1))}),L=function(e){var t,r,n,i=f(this),o=c(e),a=w(i,RegExp),s=c(v(i));return t=new a(a===RegExp?i.source:i,s),r=!!~T(s,"g"),n=!!~T(s,"u"),t.lastIndex=l(i.lastIndex),new j(t,o,r,n)};n({target:"String",proto:!0,forced:z},{matchAll:function(e){var t,r,n,o=u(this);if(p(e)){if(d(e)&&!~T(c(u(v(e))),"g"))throw new I("`.matchAll` does not allow non-global regexes");if(z)return M(o,e);if(void 0===(r=g(e,P))&&_&&"RegExp"===h(e)&&(r=L),r)return i(r,e,o)}else if(z)return M(o,e);return t=c(o),n=RegExp(e,"g"),_?i(L,n,t):n[P](t)}}),_||P in A||y(A,P,L)},58910:function(e,t,r){var n=r(29251),i=r(74327),o=r(43362),a=r(26454),s=r(9329),u=r(18989),l=r(5331),c=r(53744),f=r(16869),p=r(17468),h=r(66061),d=r(85288),v=r(7787),g=r(88732),y=r(98588),m=r(16896),b=r(86852),w=r(53001)("replace"),S=Math.max,E=Math.min,k=o([].concat),_=o([].push),P=o("".indexOf),x=o("".slice),O="$0"==="a".replace(/./,"$0"),R=!!/./[w]&&""===/./[w]("a","$0");a("replace",function(e,t,r){var o=R?"$":"$0";return[function(e,r){var n=d(this),o=c(e)?g(e,w):void 0;return o?i(o,e,n,r):i(t,h(n),e,r)},function(e,i){var a=u(this),s=h(e);if("string"==typeof i&&-1===P(i,o)&&-1===P(i,"$<")){var c=r(t,a,s,i);if(c.done)return c.value}var d=l(i);d||(i=h(i));var g=h(m(a)),w=-1!==P(g,"g");w&&(T=-1!==P(g,"u"),a.lastIndex=0);for(var O=[];null!==(z=b(a,s))&&(_(O,z),w);){;""===h(z[0])&&(a.lastIndex=v(s,p(a.lastIndex),T))}for(var R="",C=0,A=0;A<O.length;A++){for(var I,T,M,z=O[A],j=h(z[0]),L=S(E(f(z.index),s.length),0),D=[],U=1;U<z.length;U++)_(D,void 0===(I=z[U])?I:String(I));var N=z.groups;if(d){var F=k([j],D,L,s);void 0!==N&&_(F,N),M=h(n(i,void 0,F))}else M=y(j,s,L,D,N,i);L>=C&&(R+=x(s,C,L)+M,C=L+j.length)}return R+x(s,C)}]},!!s(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!O||R)},65746:function(e,t,r){var n=r(92326),i=r(14408),o=r(16869),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",function(e){var t=a(this),r=i(t),n=o(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]})},54790:function(e,t,r){var n=r(92326),i=r(51508),o=r(8636),a=r(51353),s=r(74327),u=r(43362),l=r(9329),c=n.aTypedArray,f=n.exportTypedArrayMethod,p=u("".slice);f("fill",function(e){var t=arguments.length;return c(this),s(i,this,"Big"===p(a(this),0,3)?o(e):+e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)},l(function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}))},18336:function(e,t,r){var n=r(92326),i=r(77373).findLastIndex,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)})},35469:function(e,t,r){var n=r(92326),i=r(77373).findLast,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)})},68971:function(e,t,r){var n=r(18274),i=r(74327),o=r(92326),a=r(14408),s=r(83035),u=r(18563),l=r(9329),c=n.RangeError,f=n.Int8Array,p=f&&f.prototype,h=p&&p.set,d=o.aTypedArray,v=o.exportTypedArrayMethod,g=!l(function(){var e=new Uint8ClampedArray(2);return i(h,e,{length:1,0:3},1),3!==e[1]}),y=g&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]});v("set",function(e){d(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=u(e);if(g)return i(h,this,r,t);var n=this.length,o=a(r),l=0;if(o+t>n)throw new c("Wrong length");for(;l<o;)this[t+l]=r[l++]},!g||y)},42287:function(e,t,r){var n=r(18274),i=r(23186),o=r(9329),a=r(49248),s=r(99666),u=r(92326),l=r(96247),c=r(69117),f=r(37429),p=r(86053),h=u.aTypedArray,d=u.exportTypedArrayMethod,v=n.Uint16Array,g=v&&i(v.prototype.sort),y=!!g&&!(o(function(){g(new v(2),null)})&&o(function(){g(new v(2),{})})),m=!!g&&!o(function(){if(f)return f<74;if(l)return l<67;if(c)return!0;if(p)return p<602;var e,t,r=new v(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(g(r,function(e,t){return(e/4|0)-(t/4|0)}),e=0;e<516;e++)if(r[e]!==n[e])return!0});d("sort",function(e){return(void 0!==e&&a(e),m)?g(this,e):s(h(this),function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r})},!m||y)},95801:function(e,t,r){var n=r(59418),i=r(92326),o=i.aTypedArray,a=i.exportTypedArrayMethod,s=i.getTypedArrayConstructor;a("toReversed",function(){return n(o(this),s(this))})},93374:function(e,t,r){var n=r(92326),i=r(43362),o=r(49248),a=r(54728),s=n.aTypedArray,u=n.getTypedArrayConstructor,l=n.exportTypedArrayMethod,c=i(n.TypedArrayPrototype.sort);l("toSorted",function(e){void 0!==e&&o(e);var t=s(this);return c(a(u(t),t),e)})},43375:function(e,t,r){r(34281)("Uint8",function(e){return function(t,r,n){return e(this,t,r,n)}})},83443:function(e,t,r){var n=r(44394),i=r(92326),o=r(70861),a=r(16869),s=r(8636),u=i.aTypedArray,l=i.getTypedArrayConstructor,c=i.exportTypedArrayMethod,f=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}(),p=f&&function(){try{new Int8Array(1).with(-.5,1)}catch(e){return!0}}();c("with",{with:function(e,t){var r=u(this),i=a(e),c=o(r)?s(t):+t;return n(r,l(r),i,c)}}.with,!f||p)},88711:function(e,t,r){var n=r(18274),i=r(55314),o=r(26102),a=r(78906),s=r(43877),u=r(47309),l=r(53001)("iterator"),c=a.values,f=function(e,t){if(e){if(e[l]!==c)try{s(e,l,c)}catch(t){e[l]=c}if(u(e,t,!0),i[t]){for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(t){e[r]=a[r]}}}};for(var p in i)f(n[p]&&n[p].prototype,p);f(o,"DOMTokenList")},92977:function(e,t,r){var n=r(3692),i=r(18274),o=r(48281),a=r(99685),s=r(58131).f,u=r(62083),l=r(56381),c=r(96581),f=r(15689),p=r(49580),h=r(14423),d=r(58358),v=r(90877),g="DOMException",y=o("Error"),m=o(g),b=function(){l(this,w);var e=arguments.length,t=f(e<1?void 0:arguments[0]),r=f(e<2?void 0:arguments[1],"Error"),n=new m(t,r),i=new y(t);return i.name=g,s(n,"stack",a(1,h(i.stack,1))),c(n,this,b),n},w=b.prototype=m.prototype,S="stack"in new y(g),E="stack"in new m(1,2),k=m&&d&&Object.getOwnPropertyDescriptor(i,g),_=!!k&&!(k.writable&&k.configurable),P=S&&!_&&!E;n({global:!0,constructor:!0,forced:v||P},{DOMException:P?b:m});var x=o(g),O=x.prototype;if(O.constructor!==x){for(var R in v||s(O,"constructor",a(1,x)),p)if(u(p,R)){var C=p[R],A=C.s;u(x,A)||s(x,A,a(6,C.c))}}},59781:function(e,t,r){var n=r(3692),i=r(18274),o=r(4800),a=r(58358),s=TypeError,u=Object.defineProperty,l=i.self!==i;try{if(a){var c=Object.getOwnPropertyDescriptor(i,"self");!l&&c&&c.get&&c.enumerable||o(i,"self",{get:function(){return i},set:function(e){if(this!==i)throw new s("Illegal invocation");u(i,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:l},{self:i})}catch(e){}},3600:function(e,t,r){r(78906),r(71771);var n=r(3692),i=r(18274),o=r(32291),a=r(48281),s=r(74327),u=r(43362),l=r(58358),c=r(69954),f=r(46930),p=r(4800),h=r(56337),d=r(47309),v=r(63048),g=r(49563),y=r(56381),m=r(5331),b=r(62083),w=r(94138),S=r(51353),E=r(18989),k=r(53744),_=r(66061),P=r(13554),x=r(99685),O=r(85759),R=r(881),C=r(7991),A=r(24362),I=r(53001),T=r(99666),M=I("iterator"),z="URLSearchParams",j=z+"Iterator",L=g.set,D=g.getterFor(z),U=g.getterFor(j),N=o("fetch"),F=o("Request"),$=o("Headers"),W=F&&F.prototype,B=$&&$.prototype,q=i.TypeError,Y=i.encodeURIComponent,K=String.fromCharCode,V=a("String","fromCodePoint"),H=parseInt,G=u("".charAt),Q=u([].join),J=u([].push),Z=u("".replace),X=u([].shift),ee=u([].splice),et=u("".split),er=u("".slice),en=u(/./.exec),ei=/\+/g,eo=/^[0-9a-f]+$/i,ea=function(e,t){var r=er(e,t,t+2);return en(eo,r)?H(r,16):NaN},es=function(e){for(var t=0,r=128;r>0&&(e&r)!=0;r>>=1)t++;return t},eu=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},el=function(e){for(var t=(e=Z(e,ei," ")).length,r="",n=0;n<t;){var i=G(e,n);if("%"===i){if("%"===G(e,n+1)||n+3>t){r+="%",n++;continue}var o=ea(e,n+1);if(o!=o){r+=i,n++;continue}n+=2;var a=es(o);if(0===a)i=K(o);else{if(1===a||a>4){r+="�",n++;continue}for(var s=[o],u=1;u<a&&!(++n+3>t)&&"%"===G(e,n);){var l=ea(e,n+1);if(l!=l){n+=3;break}if(l>191||l<128)break;J(s,l),n+=2,u++}if(s.length!==a){r+="�";continue}var c=eu(s);null===c?r+="�":i=V(c)}}r+=i,n++}return r},ec=/[!'()~]|%20/g,ef={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ep=function(e){return ef[e]},eh=function(e){return Z(Y(e),ec,ep)},ed=v(function(e,t){L(this,{type:j,target:D(e).entries,index:0,kind:t})},z,function(){var e=U(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,C(void 0,!0);var n=t[r];switch(e.kind){case"keys":return C(n.key,!1);case"values":return C(n.value,!1)}return C([n.key,n.value],!1)},!0),ev=function(e){this.entries=[],this.url=null,void 0!==e&&(k(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===G(e,0)?er(e,1):e:_(e)))};ev.prototype={type:z,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,o,a,u,l=this.entries,c=R(e);if(c)for(r=(t=O(e,c)).next;!(n=s(r,t)).done;){if((a=s(o=(i=O(E(n.value))).next,i)).done||(u=s(o,i)).done||!s(o,i).done)throw new q("Expected sequence with length 2");J(l,{key:_(a.value),value:_(u.value)})}else for(var f in e)b(e,f)&&J(l,{key:f,value:_(e[f])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=et(e,"&"),o=0;o<i.length;)(t=i[o++]).length&&J(n,{key:el(X(r=et(t,"="))),value:el(Q(r,"="))})},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)J(r,eh((e=t[n++]).key)+"="+eh(e.value));return Q(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var eg=function(){y(this,ey);var e=arguments.length>0?arguments[0]:void 0,t=L(this,new ev(e));l||(this.size=t.entries.length)},ey=eg.prototype;if(h(ey,{append:function(e,t){var r=D(this);A(arguments.length,2),J(r.entries,{key:_(e),value:_(t)}),!l&&this.size++,r.updateURL()},delete:function(e){for(var t=D(this),r=A(arguments.length,1),n=t.entries,i=_(e),o=r<2?void 0:arguments[1],a=void 0===o?o:_(o),s=0;s<n.length;){var u=n[s];if(u.key===i&&(void 0===a||u.value===a)){if(ee(n,s,1),void 0!==a)break}else s++}l||(this.size=n.length),t.updateURL()},get:function(e){var t=D(this).entries;A(arguments.length,1);for(var r=_(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=D(this).entries;A(arguments.length,1);for(var r=_(e),n=[],i=0;i<t.length;i++)t[i].key===r&&J(n,t[i].value);return n},has:function(e){for(var t=D(this).entries,r=A(arguments.length,1),n=_(e),i=r<2?void 0:arguments[1],o=void 0===i?i:_(i),a=0;a<t.length;){var s=t[a++];if(s.key===n&&(void 0===o||s.value===o))return!0}return!1},set:function(e,t){var r,n=D(this);A(arguments.length,1);for(var i=n.entries,o=!1,a=_(e),s=_(t),u=0;u<i.length;u++)(r=i[u]).key===a&&(o?ee(i,u--,1):(o=!0,r.value=s));o||J(i,{key:a,value:s}),l||(this.size=i.length),n.updateURL()},sort:function(){var e=D(this);T(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=D(this).entries,n=w(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new ed(this,"keys")},values:function(){return new ed(this,"values")},entries:function(){return new ed(this,"entries")}},{enumerable:!0}),f(ey,M,ey.entries,{name:"entries"}),f(ey,"toString",function(){return D(this).serialize()},{enumerable:!0}),l&&p(ey,"size",{get:function(){return D(this).entries.length},configurable:!0,enumerable:!0}),d(eg,z),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:eg}),!c&&m($)){var em=u(B.has),eb=u(B.set),ew=function(e){if(k(e)){var t,r=e.body;if(S(r)===z)return em(t=e.headers?new $(e.headers):new $,"content-type")||eb(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),P(e,{body:x(0,_(r)),headers:x(0,t)})}return e};if(m(N)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return N(e,arguments.length>1?ew(arguments[1]):{})}}),m(F)){var eS=function(e){return y(this,W),new F(e,arguments.length>1?ew(arguments[1]):{})};W.constructor=eS,eS.prototype=W,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:eS})}}e.exports={URLSearchParams:eg,getState:D}},25089:function(e,t,r){var n=r(46930),i=r(43362),o=r(66061),a=r(24362),s=URLSearchParams,u=s.prototype,l=i(u.append),c=i(u.delete),f=i(u.forEach),p=i([].push),h=new s("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&n(u,"delete",function(e){var t,r=arguments.length,n=r<2?void 0:arguments[1];if(r&&void 0===n)return c(this,e);var i=[];f(this,function(e,t){p(i,{key:t,value:e})}),a(r,1);for(var s=o(e),u=o(n),h=0,d=0,v=!1,g=i.length;h<g;)t=i[h++],v||t.key===s?(v=!0,c(this,t.key)):d++;for(;d<g;)((t=i[d++]).key!==s||t.value!==u)&&l(this,t.key,t.value)},{enumerable:!0,unsafe:!0})},61244:function(e,t,r){var n=r(46930),i=r(43362),o=r(66061),a=r(24362),s=URLSearchParams,u=s.prototype,l=i(u.getAll),c=i(u.has),f=new s("a=1");(f.has("a",2)||!f.has("a",void 0))&&n(u,"has",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return c(this,e);var n=l(this,e);a(t,1);for(var i=o(r),s=0;s<n.length;)if(n[s++]===i)return!0;return!1},{enumerable:!0,unsafe:!0})},60486:function(e,t,r){r(3600)},77895:function(e,t,r){var n=r(58358),i=r(43362),o=r(4800),a=URLSearchParams.prototype,s=i(a.forEach);!n||"size"in a||o(a,"size",{get:function(){var e=0;return s(this,function(){e++}),e},configurable:!0,enumerable:!0})},15604:function(e,t,r){r(36338);var n,i=r(3692),o=r(58358),a=r(69954),s=r(18274),u=r(94138),l=r(43362),c=r(46930),f=r(4800),p=r(56381),h=r(62083),d=r(52359),v=r(50182),g=r(2554),y=r(18793).codeAt,m=r(88083),b=r(66061),w=r(47309),S=r(24362),E=r(3600),k=r(49563),_=k.set,P=k.getterFor("URL"),x=E.URLSearchParams,O=E.getState,R=s.URL,C=s.TypeError,A=s.parseInt,I=Math.floor,T=Math.pow,M=l("".charAt),z=l(/./.exec),j=l([].join),L=l(1.1.toString),D=l([].pop),U=l([].push),N=l("".replace),F=l([].shift),$=l("".split),W=l("".slice),B=l("".toLowerCase),q=l([].unshift),Y="Invalid scheme",K="Invalid host",V="Invalid port",H=/[a-z]/i,G=/[\d+-.a-z]/i,Q=/\d/,J=/^0x/i,Z=/^[0-7]+$/,X=/^\d+$/,ee=/^[\da-f]+$/i,et=/[\0\t\n\r #%/:<>?@[\\\]^|]/,er=/[\0\t\n\r #/:<>?@[\\\]^|]/,en=/^[\u0000-\u0020]+/,ei=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,eo=/[\t\n\r]/g,ea=function(e){var t,r,n,i,o,a,s,u=$(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(n=0,r=[];n<t;n++){if(""===(i=u[n]))return e;if(o=10,i.length>1&&"0"===M(i,0)&&(o=z(J,i)?16:8,i=W(i,8===o?1:2)),""===i)a=0;else{if(!z(10===o?X:8===o?Z:ee,i))return e;a=A(i,o)}U(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=T(256,5-t))return null}else if(a>255)return null;for(n=0,s=D(r);n<r.length;n++)s+=r[n]*T(256,3-n);return s},es=function(e){var t,r,n,i,o,a,s,u=[0,0,0,0,0,0,0,0],l=0,c=null,f=0,p=function(){return M(e,f)};if(":"===p()){if(":"!==M(e,1))return;f+=2,c=++l}for(;p();){if(8===l)return;if(":"===p()){if(null!==c)return;f++,c=++l;continue}for(t=r=0;r<4&&z(ee,p());)t=16*t+A(p(),16),f++,r++;if("."===p()){if(0===r||(f-=r,l>6))return;for(n=0;p();){if(i=null,n>0)if("."!==p()||!(n<4))return;else f++;if(!z(Q,p()))return;for(;z(Q,p());){if(o=A(p(),10),null===i)i=o;else{if(0===i)return;i=10*i+o}if(i>255)return;f++}u[l]=256*u[l]+i,(2==++n||4===n)&&l++}if(4!==n)return;break}if(":"===p()){if(f++,!p())return}else if(p())return;u[l++]=t}if(null!==c)for(a=l-c,l=7;0!==l&&a>0;)s=u[l],u[l--]=u[c+a-1],u[c+--a]=s;else if(8!==l)return;return u},eu=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r?n:t},el=function(e){var t,r,n,i;if("number"==typeof e){for(r=0,t=[];r<4;r++)q(t,e%256),e=I(e/256);return j(t,".")}if("object"==typeof e){for(r=0,t="",n=eu(e);r<8;r++)(!i||0!==e[r])&&(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=L(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ec={},ef=d({},ec,{" ":1,'"':1,"<":1,">":1,"`":1}),ep=d({},ef,{"#":1,"?":1,"{":1,"}":1}),eh=d({},ep,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ed=function(e,t){var r=y(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},ev={ftp:21,file:null,http:80,https:443,ws:80,wss:443},eg=function(e,t){var r;return 2===e.length&&z(H,M(e,0))&&(":"===(r=M(e,1))||!t&&"|"===r)},ey=function(e){var t;return e.length>1&&eg(W(e,0,2))&&(2===e.length||"/"===(t=M(e,2))||"\\"===t||"?"===t||"#"===t)},em={},eb={},ew={},eS={},eE={},ek={},e_={},eP={},ex={},eO={},eR={},eC={},eA={},eI={},eT={},eM={},ez={},ej={},eL={},eD={},eU={},eN=function(e,t,r){var n,i,o,a=b(e);if(t){if(i=this.parse(a))throw new C(i);this.searchParams=null}else{if(void 0!==r&&(n=new eN(r,!0)),i=this.parse(a,null,n))throw new C(i);(o=O(new x)).bindURL(this),this.searchParams=o}};eN.prototype={type:"URL",parse:function(e,t,r){var i=t||em,o=0,a="",s=!1,u=!1,l=!1;for(e=b(e),t||(this.scheme="",this.username="",this.password="",this.host=null,this.port=null,this.path=[],this.query=null,this.fragment=null,this.cannotBeABaseURL=!1,e=N(e,en,""),e=N(e,ei,"$1")),c=v(e=N(e,eo,""));o<=c.length;){switch(f=c[o],i){case em:if(f&&z(H,f))a+=B(f),i=eb;else{if(t)return Y;i=ew;continue}break;case eb:if(f&&(z(G,f)||"+"===f||"-"===f||"."===f))a+=B(f);else if(":"===f){if(t&&(this.isSpecial()!==h(ev,a)||"file"===a&&(this.includesCredentials()||null!==this.port)||"file"===this.scheme&&!this.host))return;if(this.scheme=a,t){this.isSpecial()&&ev[this.scheme]===this.port&&(this.port=null);return}a="","file"===this.scheme?i=eI:this.isSpecial()&&r&&r.scheme===this.scheme?i=eS:this.isSpecial()?i=eP:"/"===c[o+1]?(i=eE,o++):(this.cannotBeABaseURL=!0,U(this.path,""),i=eL)}else{if(t)return Y;a="",i=ew,o=0;continue}break;case ew:if(!r||r.cannotBeABaseURL&&"#"!==f)return Y;if(r.cannotBeABaseURL&&"#"===f){this.scheme=r.scheme,this.path=g(r.path),this.query=r.query,this.fragment="",this.cannotBeABaseURL=!0,i=eU;break}i="file"===r.scheme?eI:ek;continue;case eS:if("/"===f&&"/"===c[o+1])i=ex,o++;else{i=ek;continue}break;case eE:if("/"===f){i=eO;break}i=ej;continue;case ek:if(this.scheme=r.scheme,f===n)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=g(r.path),this.query=r.query;else if("/"===f||"\\"===f&&this.isSpecial())i=e_;else if("?"===f)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=g(r.path),this.query="",i=eD;else if("#"===f)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=g(r.path),this.query=r.query,this.fragment="",i=eU;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=g(r.path),this.path.length--,i=ej;continue}break;case e_:if(this.isSpecial()&&("/"===f||"\\"===f))i=ex;else if("/"===f)i=eO;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,i=ej;continue}break;case eP:if(i=ex,"/"!==f||"/"!==M(a,o+1))continue;o++;break;case ex:if("/"!==f&&"\\"!==f){i=eO;continue}break;case eO:if("@"===f){s&&(a="%40"+a),s=!0,p=v(a);for(var c,f,p,d,y,m,w=0;w<p.length;w++){var S=p[w];if(":"===S&&!l){l=!0;continue}var E=ed(S,eh);l?this.password+=E:this.username+=E}a=""}else if(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial()){if(s&&""===a)return"Invalid authority";o-=v(a).length+1,a="",i=eR}else a+=f;break;case eR:case eC:if(t&&"file"===this.scheme){i=eM;continue}if(":"!==f||u)if(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial()){if(this.isSpecial()&&""===a)return K;if(t&&""===a&&(this.includesCredentials()||null!==this.port))return;if(d=this.parseHost(a))return d;if(a="",i=ez,t)return;continue}else"["===f?u=!0:"]"===f&&(u=!1),a+=f;else{if(""===a)return K;if(d=this.parseHost(a))return d;if(a="",i=eA,t===eC)return}break;case eA:if(z(Q,f))a+=f;else{if(!(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial())&&!t)return V;if(""!==a){var k=A(a,10);if(k>65535)return V;this.port=this.isSpecial()&&k===ev[this.scheme]?null:k,a=""}if(t)return;i=ez;continue}break;case eI:if(this.scheme="file","/"===f||"\\"===f)i=eT;else if(r&&"file"===r.scheme)switch(f){case n:this.host=r.host,this.path=g(r.path),this.query=r.query;break;case"?":this.host=r.host,this.path=g(r.path),this.query="",i=eD;break;case"#":this.host=r.host,this.path=g(r.path),this.query=r.query,this.fragment="",i=eU;break;default:ey(j(g(c,o),""))||(this.host=r.host,this.path=g(r.path),this.shortenPath()),i=ej;continue}else{i=ej;continue}break;case eT:if("/"===f||"\\"===f){i=eM;break}r&&"file"===r.scheme&&!ey(j(g(c,o),""))&&(eg(r.path[0],!0)?U(this.path,r.path[0]):this.host=r.host),i=ej;continue;case eM:if(f===n||"/"===f||"\\"===f||"?"===f||"#"===f){if(!t&&eg(a))i=ej;else if(""===a){if(this.host="",t)return;i=ez}else{if(d=this.parseHost(a))return d;if("localhost"===this.host&&(this.host=""),t)return;a="",i=ez}continue}a+=f;break;case ez:if(this.isSpecial()){if(i=ej,"/"!==f&&"\\"!==f)continue}else if(t||"?"!==f)if(t||"#"!==f){if(f!==n&&(i=ej,"/"!==f))continue}else this.fragment="",i=eU;else this.query="",i=eD;break;case ej:if(f===n||"/"===f||"\\"===f&&this.isSpecial()||!t&&("?"===f||"#"===f)){if(".."===(y=B(y=a))||"%2e."===y||".%2e"===y||"%2e%2e"===y?(this.shortenPath(),"/"===f||"\\"===f&&this.isSpecial()||U(this.path,"")):"."===(m=a)||"%2e"===B(m)?"/"===f||"\\"===f&&this.isSpecial()||U(this.path,""):("file"===this.scheme&&!this.path.length&&eg(a)&&(this.host&&(this.host=""),a=M(a,0)+":"),U(this.path,a)),a="","file"===this.scheme&&(f===n||"?"===f||"#"===f))for(;this.path.length>1&&""===this.path[0];)F(this.path);"?"===f?(this.query="",i=eD):"#"===f&&(this.fragment="",i=eU)}else a+=ed(f,ep);break;case eL:"?"===f?(this.query="",i=eD):"#"===f?(this.fragment="",i=eU):f!==n&&(this.path[0]+=ed(f,ec));break;case eD:t||"#"!==f?f!==n&&("'"===f&&this.isSpecial()?this.query+="%27":"#"===f?this.query+="%23":this.query+=ed(f,ec)):(this.fragment="",i=eU);break;case eU:f!==n&&(this.fragment+=ed(f,ef))}o++}},parseHost:function(e){var t,r,n;if("["===M(e,0)){if("]"!==M(e,e.length-1)||!(t=es(W(e,1,-1))))return K;this.host=t}else if(this.isSpecial()){if(z(et,e=m(e))||null===(t=ea(e)))return K;this.host=t}else{if(z(er,e))return K;for(n=0,t="",r=v(e);n<r.length;n++)t+=ed(r[n],ec);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(ev,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;t&&("file"!==this.scheme||1!==t||!eg(e[0],!0))&&e.length--},serialize:function(){var e=this.scheme,t=this.username,r=this.password,n=this.host,i=this.port,o=this.path,a=this.query,s=this.fragment,u=e+":";return null!==n?(u+="//",this.includesCredentials()&&(u+=t+(r?":"+r:"")+"@"),u+=el(n),null!==i&&(u+=":"+i)):"file"===e&&(u+="//"),u+=this.cannotBeABaseURL?o[0]:o.length?"/"+j(o,"/"):"",null!==a&&(u+="?"+a),null!==s&&(u+="#"+s),u},setHref:function(e){var t=this.parse(e);if(t)throw new C(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new eF(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+el(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",em)},getUsername:function(){return this.username},setUsername:function(e){var t=v(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ed(t[r],eh)}},getPassword:function(){return this.password},setPassword:function(e){var t=v(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ed(t[r],eh)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?el(e):el(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,eR)},getHostname:function(){var e=this.host;return null===e?"":el(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,eC)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=b(e))?this.port=null:this.parse(e,eA))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+j(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,ez))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=b(e))?this.query=null:("?"===M(e,0)&&(e=W(e,1)),this.query="",this.parse(e,eD)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){if(""===(e=b(e))){this.fragment=null;return}"#"===M(e,0)&&(e=W(e,1)),this.fragment="",this.parse(e,eU)},update:function(){this.query=this.searchParams.serialize()||null}};var eF=function(e){var t=p(this,e$),r=S(arguments.length,1)>1?arguments[1]:void 0,n=_(t,new eN(e,!1,r));o||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},e$=eF.prototype,eW=function(e,t){return{get:function(){return P(this)[e]()},set:t&&function(e){return P(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(f(e$,"href",eW("serialize","setHref")),f(e$,"origin",eW("getOrigin")),f(e$,"protocol",eW("getProtocol","setProtocol")),f(e$,"username",eW("getUsername","setUsername")),f(e$,"password",eW("getPassword","setPassword")),f(e$,"host",eW("getHost","setHost")),f(e$,"hostname",eW("getHostname","setHostname")),f(e$,"port",eW("getPort","setPort")),f(e$,"pathname",eW("getPathname","setPathname")),f(e$,"search",eW("getSearch","setSearch")),f(e$,"searchParams",eW("getSearchParams")),f(e$,"hash",eW("getHash","setHash"))),c(e$,"toJSON",function(){return P(this).serialize()},{enumerable:!0}),c(e$,"toString",function(){return P(this).serialize()},{enumerable:!0}),R){var eB=R.createObjectURL,eq=R.revokeObjectURL;eB&&c(eF,"createObjectURL",u(eB,R)),eq&&c(eF,"revokeObjectURL",u(eq,R))}w(eF,"URL"),i({global:!0,constructor:!0,forced:!a,sham:!o},{URL:eF})},64178:function(e,t,r){r(15604)},60962:function(e,t,r){var n=r(3692),i=r(74327);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},55945:function(e,t,r){r.d(t,{_:()=>n});function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},97447:function(e,t,r){r.d(t,{j:()=>o}),r(88711),r(25006),r(54067),r(22501),r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412),r(65595),r(16418),r(4214),r(43375),r(65746),r(54790),r(35469),r(18336),r(68971),r(42287),r(95801),r(93374),r(83443);var n=Object.prototype.hasOwnProperty;function i(e,t,r){for(r of e.keys())if(o(r,t))return r}function o(e,t){var r,a,s;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((a=e.length)===t.length)for(;a--&&o(e[a],t[a]););return -1===a}if(r===Set){if(e.size!==t.size)return!1;for(a of e)if((s=a)&&"object"==typeof s&&!(s=i(t,s))||!t.has(s))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(a of e)if((s=a[0])&&"object"==typeof s&&!(s=i(t,s))||!o(a[1],t.get(s)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((a=e.byteLength)===t.byteLength)for(;a--&&e.getInt8(a)===t.getInt8(a););return -1===a}if(ArrayBuffer.isView(e)){if((a=e.byteLength)===t.byteLength)for(;a--&&e[a]===t[a];);return -1===a}if(!r||"object"==typeof e){for(r in a=0,e)if(n.call(e,r)&&++a&&!n.call(t,r)||!(r in t)||!o(e[r],t[r]))return!1;return Object.keys(t).length===a}}return e!=e&&t!=t}},73957:function(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){return function(t){let r=null!=t?t:this;if(!r)throw TypeError("".concat(e.kind||e.name," type guard requires an error object"));if(e.kind&&"object"==typeof r&&null!==r&&"constructor"in r){var n;if((null==(n=r.constructor)?void 0:n.kind)===e.kind)return!0}return r instanceof e}}r.d(t,{a:()=>i,n:()=>l,r:()=>s,t:()=>u}),r(98114),r(25006),r(54067),r(22501),r(58910);var o,a,s=(o=class e extends Error{get name(){return this.constructor.name}toString(){return"[".concat(this.name,"]\nMessage:").concat(this.message)}static formatMessage(e,t,r,n){let i="Clerk:",o=RegExp(i.replace(" ","\\s*"),"i");return t=t.replace(o,""),t="".concat(i," ").concat(t.trim(),'\n\n(code="').concat(r,'")\n\n'),n&&(t+="\n\nDocs: ".concat(n)),t}constructor(t){super(new.target.formatMessage(new.target.kind,t.message,t.code,t.docsUrl),{cause:t.cause}),n(this,"clerkError",!0),n(this,"code",void 0),n(this,"longMessage",void 0),n(this,"docsUrl",void 0),n(this,"cause",void 0),Object.setPrototypeOf(this,e.prototype),this.code=t.code,this.docsUrl=t.docsUrl,this.longMessage=t.longMessage,this.cause=t.cause}},n(o,"kind","ClerkError"),o),u=(a=class e extends s{constructor(t,r){super({...r,message:t}),n(this,"clerkRuntimeError",!0),Object.setPrototypeOf(this,e.prototype)}},n(a,"kind","ClerkRuntimeError"),a);let l=i(u)},63526:function(e,t,r){r.d(t,{p:()=>i,r:()=>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 i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"svg";return"https://img.clerk.com/static/".concat(e,".").concat(t)}},66866:function(e,t,r){r.d(t,{a:()=>a,c:()=>f,d:()=>l,f:()=>c,i:()=>s,l:()=>u,o:()=>o,p:()=>p,r:()=>i,t:()=>h,u:()=>n});let n=["redirect_url","after_sign_in_url","after_sign_up_url","sign_in_force_redirect_url","sign_in_fallback_redirect_url","sign_up_force_redirect_url","sign_up_fallback_redirect_url"],i="__clerk_modal_state",o="__clerk_synced",a="suffixed_cookies",s="__clerk_satellite_url",u={FORM_IDENTIFIER_NOT_FOUND:"form_identifier_not_found",FORM_PASSWORD_INCORRECT:"form_password_incorrect",FORM_PASSWORD_PWNED:"form_password_pwned",INVALID_STRATEGY_FOR_USER:"strategy_for_user_invalid",NOT_ALLOWED_TO_SIGN_UP:"not_allowed_to_sign_up",OAUTH_ACCESS_DENIED:"oauth_access_denied",OAUTH_EMAIL_DOMAIN_RESERVED_BY_SAML:"oauth_email_domain_reserved_by_saml",NOT_ALLOWED_ACCESS:"not_allowed_access",SAML_USER_ATTRIBUTE_MISSING:"saml_user_attribute_missing",USER_LOCKED:"user_locked",EXTERNAL_ACCOUNT_NOT_FOUND:"external_account_not_found",SESSION_EXISTS:"session_exists",SIGN_UP_MODE_RESTRICTED:"sign_up_mode_restricted",SIGN_UP_MODE_RESTRICTED_WAITLIST:"sign_up_restricted_waitlist",ENTERPRISE_SSO_USER_ATTRIBUTE_MISSING:"enterprise_sso_user_attribute_missing",ENTERPRISE_SSO_EMAIL_ADDRESS_DOMAIN_MISMATCH:"enterprise_sso_email_address_domain_mismatch",ENTERPRISE_SSO_HOSTED_DOMAIN_MISMATCH:"enterprise_sso_hosted_domain_mismatch",SAML_EMAIL_ADDRESS_DOMAIN_MISMATCH:"saml_email_address_domain_mismatch",INVITATION_ACCOUNT_NOT_EXISTS:"invitation_account_not_exists",ORGANIZATION_MEMBERSHIP_QUOTA_EXCEEDED_FOR_SSO:"organization_membership_quota_exceeded_for_sso",CAPTCHA_INVALID:"captcha_invalid",FRAUD_DEVICE_BLOCKED:"device_blocked",FRAUD_ACTION_BLOCKED:"action_blocked",SIGNUP_RATE_LIMIT_EXCEEDED:"signup_rate_limit_exceeded",USER_BANNED:"user_banned",USER_DEACTIVATED:"user_deactivated"},l=["email_address","phone_number","username"],c=["email_address","phone_number","username","first_name","last_name"],f=350,p={PUBLIC:"public",RESTRICTED:"restricted",WAITLIST:"waitlist"},h="clerk-captcha"},80996:function(e,t,r){r.d(t,{t:()=>i}),r(50036);var n=r(2105);let i=()=>{let e=n.t,t=n.t;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}}},86429:function(e,t,r){r.d(t,{C:()=>f,a:()=>S,d:()=>g,l:()=>w,m:()=>m,o:()=>v,s:()=>y,u:()=>b,v:()=>d,y:()=>h}),r(19161),r(22239),r(22501),r(83417),r(58910),r(88711),r(98114),r(30945);var n,i,o,a,s=r(73957);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=(n=class{constructor(e){var t,r,n,i,o,a,s;u(this,"code",void 0),u(this,"message",void 0),u(this,"longMessage",void 0),u(this,"meta",void 0);const l={code:e.code,message:e.message,longMessage:e.long_message,meta:{paramName:null==(t=e.meta)?void 0:t.param_name,sessionId:null==(r=e.meta)?void 0:r.session_id,emailAddresses:null==(n=e.meta)?void 0:n.email_addresses,identifiers:null==(i=e.meta)?void 0:i.identifiers,zxcvbn:null==(o=e.meta)?void 0:o.zxcvbn,plan:null==(a=e.meta)?void 0:a.plan,isPlanUpgradePossible:null==(s=e.meta)?void 0:s.is_plan_upgrade_possible}};this.code=l.code,this.message=l.message,this.longMessage=l.longMessage,this.meta=l.meta}},u(n,"kind","ClerkAPIError"),n);(0,s.a)(l);var c=(i=class e extends s.r{toString(){let e="[".concat(this.name,"]\nMessage:").concat(this.message,"\nStatus:").concat(this.status,"\nSerialized errors: ").concat(this.errors.map(e=>JSON.stringify(e)));return this.clerkTraceId&&(e+="\nClerk Trace ID: ".concat(this.clerkTraceId)),e}static formatMessage(e,t,r,n){return t}constructor(t,r){const{data:n,status:i,clerkTraceId:o,retryAfter:a}=r;super({...r,message:t,code:"api_response_error"}),u(this,"status",void 0),u(this,"clerkTraceId",void 0),u(this,"retryAfter",void 0),u(this,"errors",void 0),Object.setPrototypeOf(this,e.prototype),this.status=i,this.clerkTraceId=o,this.retryAfter=a,this.errors=(n||[]).map(e=>new l(e))}},u(i,"kind","ClerkAPIResponseError"),i);let f=(0,s.a)(c);u(o=class e extends c{static is(t){return f(t)&&t.status===e.STATUS&&t.errors.length>0&&t.errors[0].code===e.ERROR_CODE}},"kind","MissingExpiredTokenError"),u(o,"ERROR_CODE","missing_expired_token"),u(o,"STATUS",422),u(a=class e extends s.t{static is(t){return null!=t&&(t instanceof e||(0,s.n)(t)&&t.code===e.ERROR_CODE)}constructor(t){super(t,{code:e.ERROR_CODE}),Object.setPrototypeOf(this,e.prototype)}},"kind","ClerkOfflineError"),u(a,"ERROR_CODE","clerk_offline");let p=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function h(e){let{packageName:t,customMessages:r}=e,n=t;function i(e,t){if(!t)return"".concat(n,": ").concat(e);let r=e;for(let n of e.matchAll(/{{([a-zA-Z0-9-_]+)}}/g)){let e=(t[n[1]]||"").toString();r=r.replace("{{".concat(n[1],"}}"),e)}return"".concat(n,": ").concat(r)}let o={...p,...r};return{setPackageName(e){let{packageName:t}=e;return"string"==typeof t&&(n=t),this},setMessages(e){let{customMessages:t}=e;return Object.assign(o,t||{}),this},throwInvalidPublishableKeyError(e){throw Error(i(o.InvalidPublishableKeyErrorMessage,e))},throwInvalidProxyUrl(e){throw Error(i(o.InvalidProxyUrlErrorMessage,e))},throwMissingPublishableKeyError(){throw Error(i(o.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw Error(i(o.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(e){throw Error(i(o.MissingClerkProvider,e))},throw(e){throw Error(i(e))}}}let d={Expired:"expired",Failed:"failed",ClientMismatch:"client_mismatch"};function v(e){return f(e)||y(e)||(0,s.n)(e)}function g(e){return(0,s.n)(e)&&"reverification_cancelled"===e.code}function y(e){return"code"in e&&[4001,32602,32603].includes(e.code)&&"message"in e}function m(e){var t,r;return f(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="user_locked"}function b(e){var t,r;return f(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="form_password_pwned"}function w(e){var t,r;return f(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="form_password_compromised"}function S(e){return"EmailLinkError"===e.name}},73610:function(e,t,r){r.d(t,{$R:()=>i.C,Au:()=>i.u,Cm:()=>n.n,I3:()=>i.d,_d:()=>i.m,cR:()=>n.t,hl:()=>i.a,kl:()=>i.v,qY:()=>i.l,si:()=>i.s,ux:()=>i.o});var n=r(73957),i=r(86429)},94486:function(e,t,r){r.d(t,{a:()=>i,c:()=>o,n:()=>a,o:()=>c,s:()=>l,t:()=>s,x:()=>u}),r(98114);let n="ClerkJS:";function i(e){throw Error("".concat(n," Missing path option. The ").concat(e,' component was mounted with path routing so you need to specify the path where the component is mounted on e.g. path="/sign-in".'))}function o(e){throw Error("".concat(n," Invalid routing strategy, path cannot be used in tandem with ").concat(e,"."))}function a(){throw Error("".concat(n," Clerk instance not found. Make sure Clerk is initialized before using any Clerk components."))}function s(e){throw Error("".concat(n," ").concat(e," not found. Make sure you wrap your app with <").concat(e,">."))}function u(){throw Error("".concat(n," The target element is empty. Provide a valid DOM element."))}function l(e,t){throw Error("".concat(n," Response: ").concat(e||0," not supported yet.\nFor more information contact us at ").concat(t))}function c(e){throw Error("".concat(n," Unable to retrieve a third party script").concat(e?" ".concat(e):"","."))}},31475:function(e,t,r){r.d(t,{$V:()=>n.x,A8:()=>n.o,SK:()=>n.c,i$:()=>n.t,jB:()=>n.a,wv:()=>n.s});var n=r(94486)},25848:function(e,t,r){r.d(t,{hF:()=>n.t,hI:()=>n.n,rw:()=>n.r}),r(26448),r(19343),r(8020),r(59242);var n=r(35147)},29823:function(e,t,r){r.d(t,{F:()=>o,j:()=>a}),r(92977),r(22501),r(58910),r(88711),r(64178),r(60962),r(60486),r(25089),r(61244),r(77895),r(26448),r(19343),r(8020),r(59242);var n=r(66866),i=r(35147);r(19161),r(22239);let o=()=>{var e;let t=null!=(e=(0,i.n)(n.r))?e:"";return t?JSON.parse(atob(t)):null},a=e=>{let{url:t,startPath:r="/user",currentPath:i="",componentName:o,socialProvider:a=""}=e,s=globalThis.btoa(JSON.stringify({path:i.replace(/CLERK-ROUTER\/VIRTUAL\/.*\//,"")||"",componentName:o,startPath:r,socialProvider:a})),u=new URL(t),l=u.searchParams;return l.set(n.r,s),u.search=l.toString(),u.toString()}},26448:function(e,t,r){r.d(t,{t:()=>n}),r(92977);let n=e=>"undefined"!=typeof atob&&"function"==typeof atob?atob(e):void 0!==globalThis.Buffer?globalThis.Buffer.from(e,"base64").toString():e},19343:function(e,t,r){r(92977)},8020:function(e,t,r){r.d(t,{a:()=>c,n:()=>l,u:()=>s}),r(22501),r(19161),r(89305),r(30945),r(98114),r(88711),r(65595),r(16418),r(4214),r(43375),r(65746),r(54790),r(35469),r(18336),r(68971),r(42287),r(95801),r(93374),r(83443),r(58910),r(50036);var n=r(63526),i=r(26448);r(19343);let o="pk_live_";function a(e){if(!e.endsWith("$"))return!1;let t=e.slice(0,-1);return!t.includes("$")&&t.includes(".")}function s(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e=e||"")||!u(e)){if(r.fatal&&!e)throw Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(r.fatal&&!u(e))throw Error("Publishable key not valid.");return null}let n=e.startsWith(o)?"production":"development";try{t=(0,i.t)(e.split("_")[2])}catch{if(r.fatal)throw Error("Publishable key not valid: Failed to decode key.");return null}if(!a(t)){if(r.fatal)throw Error("Publishable key not valid: Decoded key has invalid format.");return null}let s=t.slice(0,-1);return r.proxyUrl?s=r.proxyUrl:"development"!==n&&r.domain&&r.isSatellite&&(s="clerk.".concat(r.domain)),{instanceType:n,frontendApi:s}}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{if(!(e.startsWith(o)||e.startsWith("pk_test_")))return!1;let t=e.split("_");if(3!==t.length)return!1;let r=t[2];if(!r)return!1;return a((0,i.t)(r))}catch{return!1}}function l(){let e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;let r="string"==typeof t?t:t.hostname,i=e.get(r);return void 0===i&&(i=n.r.some(e=>r.endsWith(e)),e.set(r,i)),i}}}function c(e){return e.startsWith("test_")||e.startsWith("pk_test_")}},14335:function(e,t,r){r.d(t,{t:()=>i}),r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412),r(88711);let n=new Set,i={warnOnce:e=>{n.has(e)||(n.add(e),console.warn(e))},logOnce:e=>{n.has(e)||(console.log(e),n.add(e))}}},16164:function(e,t,r){r.d(t,{v:()=>n.t});var n=r(14335)},59242:function(e,t,r){r.d(t,{t:()=>n}),r(30945),r(88711),r(64178),r(60962),r(60486),r(25089),r(61244),r(77895),r(8020);let n="__clerk_netlify_cache_bust"},2105:function(e,t,r){r.d(t,{t:()=>n});let n=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}},35147:function(e,t,r){r.d(t,{n:()=>a,r:()=>s,t:()=>u}),r(88711),r(64178),r(60962),r(60486),r(25089),r(61244),r(77895),r(22501);var n=r(59242),i=r(66866);let o=["__clerk_status","__clerk_created_session","__clerk_invitation_token","__clerk_ticket","__clerk_modal_state","__clerk_handshake","__clerk_handshake_nonce","__clerk_help",n.t,i.o,i.i,i.a];function a(e){return new URL(window.location.href).searchParams.get(e)||null}function s(e){let t=new URL(window.location.href);t.searchParams.has(e)&&(t.searchParams.delete(e),window.history.replaceState(window.history.state,"",t))}function u(e){let t=new URLSearchParams(window.location.search),r=e||new URLSearchParams;for(let e of o){let n=t.get(e);n&&r.set(e,n)}return r}},90231:function(e,t,r){let n,i,o,a,s,u,l,c,f;r.d(t,{OM:()=>tI,Fm:()=>t0,D_:()=>tM,It:()=>tk,kH:()=>tZ,Mn:()=>tC,Z5:()=>tR,UQ:()=>tz,ho:()=>tP,N$:()=>rP,LS:()=>t_,Jd:()=>t$,ED:()=>tr,Wp:()=>tq,Rx:()=>tf,cl:()=>rw,hZ:()=>tE,e3:()=>tt,Sj:()=>rx,rg:()=>tQ,wV:()=>tL,Jl:()=>rE,kN:()=>tu,Ow:()=>t3,t7:()=>tH,hl:()=>t2,tr:()=>tV,Dc:()=>t1,Oc:()=>tW,Tn:()=>rm,X$:()=>tG,WO:()=>tN,v$:()=>tX}),r(98114),r(88711),r(50036),r(59781),r(30945),r(19161),r(95055),r(22239),r(3568),r(85074),r(58814),r(8451),r(52678),r(22501),r(26448),r(19343),r(8020);let p="reverification-error";r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412),r(58910),r(10676),r(89305);let h={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"}},d=new Set(["first_factor","second_factor","multi_factor"]),v=new Set(["strict_mfa","strict","moderate","lax"]);var g,y,m,b,w,S,E,k,_,P,x,O,R,C,A,I,T,M,z,j,L,D,U,N,F,$,W,B,q,Y,K,V,H,G,Q,J,Z,X=r(73957),ee=r(86429);r(29669);var et=r(52312),er=r(80996),en=r(94486),ei=r(35074);function eo(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function ea(e,t){var r=eo(e,t,"get");return r.get?r.get.call(e):r.value}function es(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}r(41730);var eu={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},el=new(m=new WeakMap,b=new WeakMap,class{setTimeoutProvider(e){var t=this,r=m,n=e,i=eo(t,r,"set");if(i.set)i.set.call(t,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}}setTimeout(e,t){return ea(this,m).setTimeout(e,t)}clearTimeout(e){ea(this,m).clearTimeout(e)}setInterval(e,t){return ea(this,m).setInterval(e,t)}clearInterval(e){ea(this,m).clearInterval(e)}constructor(){es(this,m,{writable:!0,value:eu}),es(this,b,{writable:!0,value:!1})}}),ec=(n=[],i=0,o=e=>{e()},a=e=>{e()},s=function(e){setTimeout(e,0)},{batch:e=>{let t;i++;try{t=e()}finally{let e;--i||(e=n,n=[],e.length&&s(()=>{a(()=>{e.forEach(e=>{o(e)})})}))}return t},batchCalls:e=>function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];u(()=>{e(...r)})},schedule:u=e=>{i?n.push(e):s(()=>{o(e)})},setNotifyFunction:e=>{o=e},setBatchNotifyFunction:e=>{a=e},setScheduler:e=>{s=e}}),ef="undefined"==typeof window||"Deno"in globalThis;function ep(){}function eh(e){return"number"==typeof e&&e>=0&&e!==1/0}function ed(e,t){return"function"==typeof e?e(t):e}function ev(e,t){return"function"==typeof e?e(t):e}var eg=Object.prototype.hasOwnProperty;function ey(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function em(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function eb(e){if(!ew(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!ew(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function ew(e){return"[object Object]"===Object.prototype.toString.call(e)}function eS(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){if(t===r)return t;let n=em(t)&&em(r);if(!n&&!(eb(t)&&eb(r)))return r;let i=(n?t:Object.keys(t)).length,o=n?r:Object.keys(r),a=o.length,s=n?Array(a):{},u=0;for(let l=0;l<a;l++){let a=n?l:o[l],c=t[a],f=r[a];if(c===f){s[a]=c,(n?l<i:eg.call(t,a))&&u++;continue}if(null===c||null===f||"object"!=typeof c||"object"!=typeof f){s[a]=f;continue}let p=e(c,f);s[a]=p,p===c&&u++}return i===a&&u===i?t:s}(e,t):t}function eE(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[...e,t];return r&&n.length>r?n.slice(1):n}function ek(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var e_=Symbol();r(43510);var eP=class{subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}};function ex(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function eO(e,t){var r=ex(e,t,"get");return r.get?r.get.call(e):r.value}function eR(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function eC(e,t,r){var n=ex(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var eA=new(w=new WeakMap,S=new WeakMap,E=new WeakMap,class extends eP{onSubscribe(){eO(this,S)||this.setEventListener(eO(this,E))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=eO(this,S))||e.call(this),eC(this,S,void 0))}setEventListener(e){var t;eC(this,E,e),null==(t=eO(this,S))||t.call(this),eC(this,S,e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){eO(this,w)!==e&&(eC(this,w,e),this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return"boolean"==typeof eO(this,w)?eO(this,w):(null==(e=globalThis.document)?void 0:e.visibilityState)!=="hidden"}constructor(){super(),eR(this,w,{writable:!0,value:void 0}),eR(this,S,{writable:!0,value:void 0}),eR(this,E,{writable:!0,value:void 0}),eC(this,E,e=>{if(!ef&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}});function eI(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function eT(e,t){var r=eI(e,t,"get");return r.get?r.get.call(e):r.value}function eM(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function ez(e,t,r){var n=eI(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var ej=new(k=new WeakMap,_=new WeakMap,P=new WeakMap,class extends eP{onSubscribe(){eT(this,_)||this.setEventListener(eT(this,P))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=eT(this,_))||e.call(this),ez(this,_,void 0))}setEventListener(e){var t;ez(this,P,e),null==(t=eT(this,_))||t.call(this),ez(this,_,e(this.setOnline.bind(this)))}setOnline(e){eT(this,k)!==e&&(ez(this,k,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return eT(this,k)}constructor(){super(),eM(this,k,{writable:!0,value:!0}),eM(this,_,{writable:!0,value:void 0}),eM(this,P,{writable:!0,value:void 0}),ez(this,P,e=>{if(!ef&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}})}});function eL(){let e,t,r=new Promise((r,n)=>{e=r,t=n});function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}x=new WeakMap;function eD(e,t){var r;return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(null!=(r=t.networkMode)?r:"online")!=="online"||ej.isOnline()?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function eU(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function eN(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function eF(e,t){var r=eN(e,t,"get");return r.get?r.get.call(e):r.value}function e$(e,t,r){eU(e,t),t.set(e,r)}function eW(e,t,r){var n=eN(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function eB(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}function eq(e,t){eU(e,t),t.add(e)}O=new WeakMap,R=new WeakMap;var eY=(C=new WeakMap,A=new WeakMap,I=new WeakMap,T=new WeakMap,M=new WeakMap,z=new WeakMap,j=new WeakMap,L=new WeakMap,D=new WeakMap,U=new WeakMap,N=new WeakMap,F=new WeakMap,$=new WeakMap,W=new WeakMap,B=new WeakMap,q=new WeakSet,Y=new WeakSet,K=new WeakSet,V=new WeakSet,H=new WeakSet,G=new WeakSet,Q=new WeakSet,J=new WeakSet,Z=new WeakSet,class extends eP{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(eF(this,A).addObserver(this),eK(eF(this,A),this.options)?eB(this,q,eQ).call(this):this.updateResult(),eB(this,H,e0).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return eV(eF(this,A),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return eV(eF(this,A),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,eB(this,G,e1).call(this),eB(this,Q,e2).call(this),eF(this,A).removeObserver(this)}setOptions(e){let t=this.options,r=eF(this,A);if(this.options=eF(this,C).defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof ev(this.options.enabled,eF(this,A)))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");eB(this,J,e3).call(this),eF(this,A).setOptions(this.options),t._defaulted&&!ey(this.options,t)&&eF(this,C).getQueryCache().notify({type:"observerOptionsUpdated",query:eF(this,A),observer:this});let n=this.hasListeners();n&&eH(eF(this,A),r,this.options,t)&&eB(this,q,eQ).call(this),this.updateResult(),n&&(eF(this,A)!==r||ev(this.options.enabled,eF(this,A))!==ev(t.enabled,eF(this,A))||ed(this.options.staleTime,eF(this,A))!==ed(t.staleTime,eF(this,A)))&&eB(this,Y,eJ).call(this);let i=eB(this,K,eZ).call(this);n&&(eF(this,A)!==r||ev(this.options.enabled,eF(this,A))!==ev(t.enabled,eF(this,A))||i!==eF(this,W))&&eB(this,V,eX).call(this,i)}getOptimisticResult(e){var t,r;let n=eF(this,C).getQueryCache().build(eF(this,C),e),i=this.createResult(n,e);return t=this,r=i,ey(t.getCurrentResult(),r)||(eW(this,T,i),eW(this,z,this.options),eW(this,M,eF(this,A).state)),i}getCurrentResult(){return eF(this,T)}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),null==t||t(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==eF(this,j).status||eF(this,j).reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){eF(this,B).add(e)}getCurrentQuery(){return eF(this,A)}refetch(){let{...e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.fetch({...e})}fetchOptimistic(e){let t=eF(this,C).defaultQueryOptions(e),r=eF(this,C).getQueryCache().build(eF(this,C),t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return eB(this,q,eQ).call(this,{...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),eF(this,T)))}createResult(e,t){let r,n=eF(this,A),i=this.options,o=eF(this,T),a=eF(this,M),s=eF(this,z),u=e!==n?e.state:eF(this,I),{state:l}=e,c={...l},f=!1;if(t._optimisticResults){let r=this.hasListeners(),o=!r&&eK(e,t),a=r&&eH(e,n,t,i);(o||a)&&(c={...c,...eD(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:p,errorUpdatedAt:h,status:d}=c;r=c.data;let v=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===d){let e;if((null==o?void 0:o.isPlaceholderData)&&t.placeholderData===(null==s?void 0:s.placeholderData))e=o.data,v=!0;else{var g;e="function"==typeof t.placeholderData?t.placeholderData(null==(g=eF(this,N))?void 0:g.state.data,eF(this,N)):t.placeholderData}void 0!==e&&(d="success",r=eS(null==o?void 0:o.data,e,t),f=!0)}if(t.select&&void 0!==r&&!v)if(o&&r===(null==a?void 0:a.data)&&t.select===eF(this,D))r=eF(this,U);else try{eW(this,D,t.select),r=t.select(r),r=eS(null==o?void 0:o.data,r,t),eW(this,U,r),eW(this,L,null)}catch(e){eW(this,L,e)}eF(this,L)&&(p=eF(this,L),r=eF(this,U),h=Date.now(),d="error");let y="fetching"===c.fetchStatus,m="pending"===d,b="error"===d,w=m&&y,S=void 0!==r,E={status:d,fetchStatus:c.fetchStatus,isPending:m,isSuccess:"success"===d,isError:b,isInitialLoading:w,isLoading:w,data:r,dataUpdatedAt:c.dataUpdatedAt,error:p,errorUpdatedAt:h,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>u.dataUpdateCount||c.errorUpdateCount>u.errorUpdateCount,isFetching:y,isRefetching:y&&!m,isLoadingError:b&&!S,isPaused:"paused"===c.fetchStatus,isPlaceholderData:f,isRefetchError:b&&S,isStale:eG(e,t),refetch:this.refetch,promise:eF(this,j),isEnabled:!1!==ev(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===E.status?e.reject(E.error):void 0!==E.data&&e.resolve(E.data)},r=()=>{t(eW(this,j,E.promise=eL()))},i=eF(this,j);switch(i.status){case"pending":e.queryHash===n.queryHash&&t(i);break;case"fulfilled":("error"===E.status||E.data!==i.value)&&r();break;case"rejected":("error"!==E.status||E.error!==i.reason)&&r()}}return E}updateResult(){let e=eF(this,T),t=this.createResult(eF(this,A),this.options);if(eW(this,M,eF(this,A).state),eW(this,z,this.options),void 0!==eF(this,M).data&&eW(this,N,eF(this,A)),ey(t,e))return;eW(this,T,t);let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!eF(this,B).size)return!0;let n=new Set(null!=r?r:eF(this,B));return this.options.throwOnError&&n.add("error"),Object.keys(eF(this,T)).some(t=>eF(this,T)[t]!==e[t]&&n.has(t))};eB(this,Z,e6).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&eB(this,H,e0).call(this)}constructor(e,t){super(),eq(this,q),eq(this,Y),eq(this,K),eq(this,V),eq(this,H),eq(this,G),eq(this,Q),eq(this,J),eq(this,Z),e$(this,C,{writable:!0,value:void 0}),e$(this,A,{writable:!0,value:void 0}),e$(this,I,{writable:!0,value:void 0}),e$(this,T,{writable:!0,value:void 0}),e$(this,M,{writable:!0,value:void 0}),e$(this,z,{writable:!0,value:void 0}),e$(this,j,{writable:!0,value:void 0}),e$(this,L,{writable:!0,value:void 0}),e$(this,D,{writable:!0,value:void 0}),e$(this,U,{writable:!0,value:void 0}),e$(this,N,{writable:!0,value:void 0}),e$(this,F,{writable:!0,value:void 0}),e$(this,$,{writable:!0,value:void 0}),e$(this,W,{writable:!0,value:void 0}),e$(this,B,{writable:!0,value:new Set}),this.options=t,eW(this,C,e),eW(this,L,null),eW(this,j,eL()),this.bindMethods(),this.setOptions(t)}});function eK(e,t){return!1!==ev(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&eV(e,t,t.refetchOnMount)}function eV(e,t,r){if(!1!==ev(t.enabled,e)&&"static"!==ed(t.staleTime,e)){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&eG(e,t)}return!1}function eH(e,t,r,n){return(e!==t||!1===ev(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&eG(e,r)}function eG(e,t){return!1!==ev(t.enabled,e)&&e.isStaleByTime(ed(t.staleTime,e))}function eQ(e){eB(this,J,e3).call(this);let t=eF(this,A).fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(ep)),t}function eJ(){var e;eB(this,G,e1).call(this);let t=ed(this.options.staleTime,eF(this,A));if(ef||eF(this,T).isStale||!eh(t))return;let r=(e=eF(this,T).dataUpdatedAt,Math.max(e+(t||0)-Date.now(),0));eW(this,F,el.setTimeout(()=>{eF(this,T).isStale||this.updateResult()},r+1))}function eZ(){var e;return null!=(e="function"==typeof this.options.refetchInterval?this.options.refetchInterval(eF(this,A)):this.options.refetchInterval)&&e}function eX(e){eB(this,Q,e2).call(this),eW(this,W,e),!ef&&!1!==ev(this.options.enabled,eF(this,A))&&eh(eF(this,W))&&0!==eF(this,W)&&eW(this,$,el.setInterval(()=>{(this.options.refetchIntervalInBackground||eA.isFocused())&&eB(this,q,eQ).call(this)},eF(this,W)))}function e0(){eB(this,Y,eJ).call(this),eB(this,V,eX).call(this,eB(this,K,eZ).call(this))}function e1(){eF(this,F)&&(el.clearTimeout(eF(this,F)),eW(this,F,void 0))}function e2(){eF(this,$)&&(el.clearInterval(eF(this,$)),eW(this,$,void 0))}function e3(){let e=eF(this,C).getQueryCache().build(eF(this,C),this.options);if(e===eF(this,A))return;let t=eF(this,A);eW(this,A,e),eW(this,I,e.state),this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}function e6(e){ec.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(eF(this,T))}),eF(this,C).getQueryCache().notify({query:eF(this,A),type:"observerResultsUpdated"})})}function e9(e){return{onFetch:(t,r)=>{var n,i,o,a,s;let u=t.options,l=null==(o=t.fetchOptions)||null==(i=o.meta)||null==(n=i.fetchMore)?void 0:n.direction,c=(null==(a=t.state.data)?void 0:a.pages)||[],f=(null==(s=t.state.data)?void 0:s.pageParams)||[],p={pages:[],pageParams:[]},h=0,d=async()=>{var r,n,i;let o=!1,a=(r=t.options,n=t.fetchOptions,!r.queryFn&&(null==n?void 0:n.initialPromise)?()=>n.initialPromise:r.queryFn&&r.queryFn!==e_?r.queryFn:()=>Promise.reject(Error("Missing queryFn: '".concat(r.queryHash,"'")))),s=async(e,r,n)=>{if(o)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);let i=(()=>{var e,i;let a,s,u={client:t.client,queryKey:t.queryKey,pageParam:r,direction:n?"backward":"forward",meta:t.options.meta};return e=()=>t.signal,i=()=>o=!0,s=!1,Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(null!=a||(a=e()),s||(s=!0,a.aborted?i():a.addEventListener("abort",i,{once:!0})),a)}),u})(),s=await a(i),{maxPages:u}=t.options,l=n?ek:eE;return{pages:l(e.pages,s,u),pageParams:l(e.pageParams,r,u)}};if(l&&c.length){let e="backward"===l,t={pages:c,pageParams:f},r=(e?e5:e4)(u,t);p=await s(t,r,e)}else{let t=null!=e?e:c.length;do{let e=0===h?null!=(i=f[0])?i:u.initialPageParam:e4(u,p);if(h>0&&null==e)break;p=await s(p,e),h++}while(h<t)}return p};t.options.persister?t.fetchFn=()=>{var e,n;return null==(e=(n=t.options).persister)?void 0:e.call(n,d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=d}}}function e4(e,t){let{pages:r,pageParams:n}=t,i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,n[i],n):void 0}function e5(e,t){var r;let{pages:n,pageParams:i}=t;return n.length>0?null==(r=e.getPreviousPageParam)?void 0:r.call(e,n[0],n,i[0],i):void 0}var e8=class extends eY{bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:e9()})}getOptimisticResult(e){return e.behavior=e9(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){var r,n,i,o;let{state:a}=e,s=super.createResult(e,t),{isFetching:u,isRefetching:l,isError:c,isRefetchError:f}=s,p=null==(n=a.fetchMeta)||null==(r=n.fetchMore)?void 0:r.direction,h=c&&"forward"===p,d=u&&"forward"===p,v=c&&"backward"===p,g=u&&"backward"===p;return{...s,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:!!(i=a.data)&&null!=e4(t,i),hasPreviousPage:!!(o=a.data)&&!!t.getPreviousPageParam&&null!=e5(t,o),isFetchNextPageError:h,isFetchingNextPage:d,isFetchPreviousPageError:v,isFetchingPreviousPage:g,isRefetchError:f&&!h&&!v,isRefetching:l&&!d&&!g}}constructor(e,t){super(e,t)}},e7=r(97447);function te(e,t){if(!e)throw"string"==typeof t?Error(t):Error("".concat(t.displayName," not found"))}let tt=(e,t)=>{let{assertCtxFn:r=te}=t||{},n=ei.createContext(void 0);return n.displayName=e,[n,()=>{let t=ei.useContext(n);return r(t,"".concat(e," not found")),t.value},()=>{let e=ei.useContext(n);return e?e.value:{}}]},[tr,tn]=tt("ClerkInstanceContext"),[ti,to]=tt("InitialStateContext");function ta(e){let{children:t,initialState:r}=e,[n]=(0,ei.useState)(r),i=ei.useMemo(()=>({value:n}),[n]);return ei.createElement(ti.Provider,{value:i},t)}function ts(){let e=to();if(e instanceof Promise)if(0)return ei.use(e);else throw Error("initialState cannot be a promise if React version is less than 19");return e}let tu=ei.createContext({}),[tl,tc]=tt("CheckoutContext"),tf=e=>{let{children:t,...r}=e;return ei.createElement(tl.Provider,{value:{value:r}},t)};function tp(e){if(!ei.useContext(tr)){if("function"==typeof e)return void e();throw Error("".concat(e," can only be used within the <ClerkProvider /> component.\n\nPossible fixes:\n1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.\n2. Check for multiple versions of the `@clerk/shared` package in your project. Use a tool like `npm ls @clerk/shared` to identify multiple versions, and update your dependencies to only rely on one.\n\nLearn more: https://clerk.com/docs/components/clerk-provider").trim())}}function th(e){return{queryKey:[e.stablePrefix,e.authenticated,e.tracked,e.untracked],invalidationKey:[e.stablePrefix,e.authenticated,e.tracked],stableKey:e.stablePrefix,authenticated:e.authenticated}}function td(e){if(e)return function(e){return e}}let tv=l=new Proxy(function(){},{get(e,t){if("then"!==t)return"toString"===t?()=>"[".concat("ClerkMockQueryClient","]"):t===Symbol.toPrimitive?()=>0:l},apply:()=>l,construct:()=>l,has:()=>!1,set:()=>!1}),tg=()=>{let e=tn(),t=e.__internal_queryClient,[,r]=(0,ei.useState)("object"==typeof t&&"__tag"in t&&"clerk-rq-client"===t.__tag);(0,ei.useEffect)(()=>{let t=()=>r(!0);return e.on("queryClientStatus",t),()=>{e.off("queryClientStatus",t)}},[e,r]);let n="object"==typeof t&&"__tag"in t&&"clerk-rq-client"===t.__tag;return[(null==t?void 0:t.client)||tv,n]};function ty(e,t){let[r,n]=tg(),i=n?r.defaultQueryOptions(e):e;i._optimisticResults="optimistic";let o=ei.useMemo(()=>new t(r,i),[r]),a=o.getOptimisticResult(i),s=!1!==e.subscribed;return(ei.useSyncExternalStore(ei.useCallback(e=>{let t=s?o.subscribe(ec.batchCalls(e)):ep;return o.updateResult(),t},[o,s]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),ei.useEffect(()=>{o.setOptions(i)},[i,o]),n)?i.notifyOnChangeProps?a:o.trackResult(a):{data:void 0,error:null,isLoading:!1,isFetching:!1,status:"pending"}}function tm(e){return ty(e,eY)}function tb(e){var t;let r,n,{isSignedOut:i,stableKeys:o,authenticated:a=!0,onCleanup:s}=e,u=(0,ei.useRef)(o),[l]=tg(),c=(t=!i,r=(0,ei.useRef)(t),n=(0,ei.useRef)(null),r.current!==t&&(n.current=r.current,r.current=t),n.current);(0,ei.useEffect)(()=>{!0===a&&c&&!0===i&&(l.removeQueries({predicate:e=>{let[t,r]=e.queryKey;return!0===r&&"string"==typeof t&&(Array.isArray(u.current)?u.current.includes(t):u.current===t)}}),null==s||s())},[a,i,c,l])}let tw=(e,t)=>{var r,n,i;let o="boolean"==typeof e&&e,a=(0,ei.useRef)(o?t.initialPage:null!=(r=null==e?void 0:e.initialPage)?r:t.initialPage),s=(0,ei.useRef)(o?t.pageSize:null!=(n=null==e?void 0:e.pageSize)?n:t.pageSize),u={};for(let r of Object.keys(t))u[r]=o?t[r]:null!=(i=null==e?void 0:e[r])?i:t[r];return{...u,initialPage:a.current,pageSize:s.current}},tS=e=>{var t,r,n,i,o,a,s,u,l;let c,{fetcher:f,config:p,keys:h}=e,[d,v]=(0,ei.useState)(null!=(r=p.initialPage)?r:1),g=(0,ei.useRef)(null!=(n=p.initialPage)?n:1),y=(0,ei.useRef)(null!=(i=p.pageSize)?i:10),m=null==(o=p.enabled)||o,b=p.isSignedIn,w=null!=(a=p.infinite)&&a,S="cache"===p.__experimental_mode,E=null!=(s=p.keepPreviousData)&&s,[k]=tg(),_=m&&!!f&&!S&&!1!==b,[P,x]=(0,ei.useState)(0),O=(0,ei.useCallback)(e=>{x(e)},[]),R=(0,ei.useMemo)(()=>{let[e,t,r,n]=h.queryKey;return[e,t,r,{...n,args:{...n.args,initialPage:d,pageSize:y.current}}]},[h.queryKey,d]),C=tm({queryKey:R,queryFn:e=>{let{queryKey:t}=e,{args:r}=t[3];if(f)return f(r)},staleTime:6e4,enabled:_&&!w,placeholderData:td(E)}),A=(0,ei.useMemo)(()=>{let[e,t,r,n]=h.queryKey;return[e+"-inf",t,r,n]},[h.queryKey]),I=ty({queryKey:A,initialPageParam:null!=(u=p.initialPage)?u:1,getNextPageParam:(e,t,r)=>{var n,i;let o=null!=(n=null==e?void 0:e.total_count)?n:0;return(t.length+(p.initialPage?p.initialPage-1:0))*(null!=(i=p.pageSize)?i:10)<o?r+1:void 0},queryFn:e=>{let{pageParam:t,queryKey:r}=e,{args:n}=r[3];if(f)return f({...n,initialPage:t,pageSize:y.current})},staleTime:6e4,enabled:_&&w},e8);tb({isSignedOut:!1===b,authenticated:h.authenticated,stableKeys:[c=h.stableKey,"".concat(c,"-inf")],onCleanup:()=>{v(g.current),Promise.resolve().then(()=>O(e=>e+1))}});let{data:T,count:M,page:z}=(0,ei.useMemo)(()=>{var e,t,r,n,i,o,a,s;if(w){let s=k.getQueryData(A),u=_?null!=(n=null!=(r=null==(e=I.data)?void 0:e.pages)?r:null==s?void 0:s.pages)?n:[]:null!=(i=null==s?void 0:s.pages)?i:[],l=Array.isArray(u)?u.filter(Boolean):[];return{data:null!=(o=l.map(e=>null==e?void 0:e.data).flat().filter(Boolean))?o:[],count:null!=(a=null==(t=l[l.length-1])?void 0:t.total_count)?a:0,page:l.length>0?l.length:g.current}}let u=_&&null!=(s=C.data)?s:k.getQueryData(R);return{data:Array.isArray(null==u?void 0:u.data)?u.data:[],count:"number"==typeof(null==u?void 0:u.total_count)?u.total_count:0,page:d}},[_,P,w,null==(t=I.data)?void 0:t.pages,C.data,k,A,R,d]),j=(0,ei.useCallback)(e=>{if(w){var t,r,n;let i=Math.max(0,"function"==typeof e?e(z):e),o=k.getQueryData(A);i-(null!=(n=null!=(r=null==(t=I.data)?void 0:t.pages)?r:null==o?void 0:o.pages)?n:[]).length>0&&I.fetchNextPage({cancelRefetch:!1});return}return v(e)},[I,z,w,k,A]),L=w?I.isLoading:C.isLoading,D=w?I.isFetching:C.isFetching,U=null!=(l=w?I.error:C.error)?l:null,N=(0,ei.useCallback)(()=>{w?I.fetchNextPage({cancelRefetch:!1}):v(e=>Math.max(0,e+1))},[I,w]),F=(0,ei.useCallback)(()=>{w||v(e=>Math.max(0,e-1))},[w]),$=(g.current-1)*y.current,W=Math.ceil((M-$)/y.current),B=w?!!I.hasNextPage:M-$>z*y.current,q=w?!!I.hasPreviousPage:(z-1)*y.current>$;return{data:T,count:M,error:U,isLoading:L,isFetching:D,isError:!!U,page:z,pageCount:W,fetchPage:j,fetchNext:N,fetchPrevious:F,hasNextPage:B,hasPreviousPage:q,revalidate:async()=>{await k.invalidateQueries({queryKey:h.invalidationKey});let[e,...t]=h.invalidationKey;return k.invalidateQueries({queryKey:[e+"-inf",...t]})},setData:e=>(w?(k.setQueryData(A,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Array.isArray(null==t?void 0:t.pages)?t.pages:[],n="function"==typeof e?e(r):e;return{...t,pages:n}}),O(e=>e+1)):(k.setQueryData(R,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{data:[],total_count:0};return"function"==typeof e?e(t):e}),O(e=>e+1)),Promise.resolve())}};function tE(e){var t,r,n;tp("useAPIKeys");let i=tw(e,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,subject:"",query:"",enabled:!0}),o=tn();null==(t=o.telemetry)||t.record((0,et.a)("useAPIKeys"));let a={initialPage:i.initialPage,pageSize:i.pageSize,...i.subject?{subject:i.subject}:{},...i.query?{query:i.query}:{}},s=(null==(n=i.enabled)||n)&&o.loaded;return tS({fetcher:(null==(r=o.apiKeys)?void 0:r.getAll)?e=>o.apiKeys.getAll({...e,subject:i.subject}):void 0,config:{keepPreviousData:i.keepPreviousData,infinite:i.infinite,enabled:s,isSignedIn:null!==o.user,initialPage:i.initialPage,pageSize:i.pageSize},keys:th({stablePrefix:"apiKeys",authenticated:!0,tracked:{subject:i.subject},untracked:{args:a}})})}function tk(){let e=tn(),t=ts(),r=(0,ei.useCallback)(()=>null==t?void 0:t.organization,[null==t?void 0:t.organization]);return(0,ei.useSyncExternalStore)((0,ei.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,ei.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.organization:r(),[e,r]),r)}function t_(){let e=tn(),t=ts(),r=(0,ei.useCallback)(()=>{var e;let r,n,i,o,a;return t?(r=t.userId,n=t.user,i=t.sessionId,o=t.sessionStatus,a=t.sessionClaims,e={userId:r,user:n,sessionId:i,session:t.session,sessionStatus:o,sessionClaims:a,organization:t.organization,orgId:t.orgId,orgRole:t.orgRole,orgPermissions:t.orgPermissions,orgSlug:t.orgSlug,actor:t.actor,factorVerificationAge:t.factorVerificationAge},void 0===e)?void 0:e.session:void 0},[t]);return(0,ei.useSyncExternalStore)((0,ei.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,ei.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.session:r(),[e,r]),r)}let tP=()=>(tp("useClerk"),tn());function tx(e){let t=tP(),r=(0,ei.useRef)(!1);(0,ei.useEffect)(()=>{var n;r.current||(r.current=!0,null==(n=t.__internal_attemptToEnableEnvironmentSetting)||n.call(t,{for:"organizations",caller:e}))},[t,e])}let tO={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function tR(e){var t,r,n;let{domains:i,membershipRequests:o,memberships:a,invitations:s}=e||{};tp("useOrganization"),tx("useOrganization");let u=tk(),l=t_(),c=tw(i,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,enrollmentMode:void 0}),f=tw(o,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),p=tw(a,{initialPage:1,pageSize:10,role:void 0,keepPreviousData:!1,infinite:!1,query:void 0}),h=tw(s,{initialPage:1,pageSize:10,status:["pending"],keepPreviousData:!1,infinite:!1}),d=tn();null==(t=d.telemetry)||t.record((0,et.a)("useOrganization"));let v=void 0===i?void 0:{initialPage:c.initialPage,pageSize:c.pageSize,enrollmentMode:c.enrollmentMode},g=void 0===o?void 0:{initialPage:f.initialPage,pageSize:f.pageSize,status:f.status},y=void 0===a?void 0:{initialPage:p.initialPage,pageSize:p.pageSize,role:p.role,query:p.query},m=void 0===s?void 0:{initialPage:h.initialPage,pageSize:h.pageSize,status:h.status},b=tS({fetcher:null==u?void 0:u.getDomains,config:{keepPreviousData:c.keepPreviousData,infinite:c.infinite,enabled:!!v,isSignedIn:null!==u,initialPage:c.initialPage,pageSize:c.pageSize},keys:th({stablePrefix:"domains",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:v}})}),w=tS({fetcher:null==u?void 0:u.getMembershipRequests,config:{keepPreviousData:f.keepPreviousData,infinite:f.infinite,enabled:!!g,isSignedIn:null!==u,initialPage:f.initialPage,pageSize:f.pageSize},keys:th({stablePrefix:"membershipRequests",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:g}})}),S=tS({fetcher:null==u?void 0:u.getMemberships,config:{keepPreviousData:p.keepPreviousData,infinite:p.infinite,enabled:!!y,isSignedIn:null!==u,initialPage:p.initialPage,pageSize:p.pageSize},keys:th({stablePrefix:"memberships",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:y}})}),E=tS({fetcher:null==u?void 0:u.getInvitations,config:{keepPreviousData:h.keepPreviousData,infinite:h.infinite,enabled:!!m,isSignedIn:null!==u,initialPage:h.initialPage,pageSize:h.pageSize},keys:th({stablePrefix:"invitations",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:m}})});return void 0===u?{isLoaded:!1,organization:void 0,membership:void 0,domains:tO,membershipRequests:tO,memberships:tO,invitations:tO}:null===u?{isLoaded:!0,organization:null,membership:null,domains:null,membershipRequests:null,memberships:null,invitations:null}:!d.loaded&&u?{isLoaded:!0,organization:u,membership:void 0,domains:tO,membershipRequests:tO,memberships:tO,invitations:tO}:{isLoaded:d.loaded,organization:u,membership:(r=l.user.organizationMemberships,n=u.id,r.find(e=>e.organization.id===n)),domains:b,membershipRequests:w,memberships:S,invitations:E}}function tC(){let e=tn(),t=ts(),r=(0,ei.useCallback)(()=>null==t?void 0:t.user,[null==t?void 0:t.user]);return(0,ei.useSyncExternalStore)((0,ei.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,ei.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.user:r(),[e,r]),r)}let tA="useOrganizationCreationDefaults";function tI(){var e,t,r,n,i,o,a;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tp(tA);let{keepPreviousData:u=!0,enabled:l=!0}=s,c=tn(),f=tC(),p=null!=(i=null==(r=c.__internal_environment)||null==(t=r.organizationSettings)||null==(e=t.organizationCreationDefaults)?void 0:e.enabled)&&i;null==(n=c.telemetry)||n.record((0,et.a)(tA));let{queryKey:h}=function(e){let{userId:t}=e;return(0,ei.useMemo)(()=>th({stablePrefix:"organizationCreationDefaults",authenticated:!!t,tracked:{userId:null!=t?t:null},untracked:{args:{}}}),[t])}({userId:null!=(o=null==f?void 0:f.id)?o:null}),d=!!f&&l&&p&&c.loaded,v=tm({queryKey:h,queryFn:null==f?void 0:f.getOrganizationCreationDefaults,enabled:d,placeholderData:td(u)});return{data:v.data,error:null!=(a=v.error)?a:null,isLoading:v.isLoading,isFetching:v.isFetching}}let tT={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function tM(e){var t;let{userMemberships:r,userInvitations:n,userSuggestions:i}=e||{};tp("useOrganizationList"),tx("useOrganizationList");let o=tw(r,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1}),a=tw(n,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),s=tw(i,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),u=tn(),l=tC();null==(t=u.telemetry)||t.record((0,et.a)("useOrganizationList"));let c=void 0===r?void 0:{initialPage:o.initialPage,pageSize:o.pageSize},f=void 0===n?void 0:{initialPage:a.initialPage,pageSize:a.pageSize,status:a.status},p=void 0===i?void 0:{initialPage:s.initialPage,pageSize:s.pageSize,status:s.status},h=!!(u.loaded&&l),d=tS({fetcher:null==l?void 0:l.getOrganizationMemberships,config:{keepPreviousData:o.keepPreviousData,infinite:o.infinite,enabled:!!c,isSignedIn:null!==l,initialPage:o.initialPage,pageSize:o.pageSize},keys:th({stablePrefix:"userMemberships",authenticated:!0,tracked:{userId:null==l?void 0:l.id},untracked:{args:c}})}),v=tS({fetcher:null==l?void 0:l.getOrganizationInvitations,config:{keepPreviousData:a.keepPreviousData,infinite:a.infinite,enabled:!!f,isSignedIn:null!==l,initialPage:a.initialPage,pageSize:a.pageSize},keys:th({stablePrefix:"userInvitations",authenticated:!0,tracked:{userId:null==l?void 0:l.id},untracked:{args:f}})}),g=tS({fetcher:null==l?void 0:l.getOrganizationSuggestions,config:{keepPreviousData:s.keepPreviousData,infinite:s.infinite,enabled:!!p,isSignedIn:null!==l,initialPage:s.initialPage,pageSize:s.pageSize},keys:th({stablePrefix:"userSuggestions",authenticated:!0,tracked:{userId:null==l?void 0:l.id},untracked:{args:p}})});return h?{isLoaded:h,setActive:u.setActive,createOrganization:u.createOrganization,userMemberships:d,userInvitations:v,userSuggestions:g}:{isLoaded:!1,createOrganization:void 0,setActive:void 0,userMemberships:tT,userInvitations:tT,userSuggestions:tT}}let tz="undefined"!=typeof window?ei.useLayoutEffect:ei.useEffect,tj="useSession",tL=()=>{var e;tp(tj);let t=t_(),r=tn();return(null==(e=r.telemetry)||e.record((0,et.a)(tj)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,session:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,session:null}:{isLoaded:!0,isSignedIn:r.isSignedIn,session:t}},tD,tU=()=>tD;function tN(){let e=tn();return(0,ei.useSyncExternalStore)((0,ei.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,ei.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.client:tD,[e]),tU)}let tF="useUser";function t$(){var e;tp(tF);let t=tC();return(null==(e=tn().telemetry)||e.record((0,et.a)(tF)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,user:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:t}}let tW=(e,t)=>{let r;return ei.useMemo(e,(r=ei.useRef(t),(0,e7.j)(t,r.current)||(r.current=t),ei.useMemo(()=>r.current,[r.current])))};async function tB(e){try{let t=await e;if(t instanceof Response)return t.json();return t}catch(e){if((0,ee.C)(e)&&e.errors.find(e=>{let{code:t}=e;return"session_reverification_required"===t}))return{clerk_error:{type:"forbidden",reason:p,metadata:{reverification:void 0}}};throw e}}let tq=(e,t)=>{let{__internal_openReverification:r,telemetry:n}=tP(),i=(0,ei.useRef)(e),o=(0,ei.useRef)(t);return null==n||n.record((0,et.a)("useReverification",{onNeedsReverification:!!(null==t?void 0:t.onNeedsReverification)})),tz(()=>{i.current=e,o.current=t}),(0,ei.useCallback)(function(){for(var e,t=arguments.length,a=Array(t),s=0;s<t;s++)a[s]=arguments[s];return(e={openUIComponent:r,telemetry:n,...o.current},function(t){return async function(){for(var r,n,i,o,a,s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];let c=await tB(t(...u));if((r=c)&&"object"==typeof r&&"clerk_error"in r&&(null==(n=r.clerk_error)?void 0:n.type)==="forbidden"&&(null==(i=r.clerk_error)?void 0:i.reason)===p){let r=(0,er.t)(),n=(e=>{let t,r;if(!e)return!1;let n="string"==typeof e&&v.has(e),i="object"==typeof e&&(t=e.level,d.has(t))&&"number"==typeof(r=e.afterMinutes)&&r>0;return(!!n||!!i)&&(e=>"string"==typeof e?h[e]:e).bind(null,e)})(null==(o=c.clerk_error.metadata)?void 0:o.reverification),i=n?n().level:void 0,s=()=>{r.reject(new X.t("User cancelled attempted verification",{code:"reverification_cancelled"}))},l=()=>{r.resolve(!0)};void 0===e.onNeedsReverification?null==(a=e.openUIComponent)||a.call(e,{level:i,afterVerification:l,afterVerificationCancelled:s}):e.onNeedsReverification({cancel:s,complete:l,level:i}),await r.promise,c=await tB(t(...u))}return c}})(i.current)(...a)},[r,n])};function tY(e){var t,r;let n=tn(),i=null==(t=null==e?void 0:e.enabled)||t,o=n.__internal_environment,a=tC(),s=tk(),u=null==o?void 0:o.commerceSettings.billing.user.enabled,l=null==o?void 0:o.commerceSettings.billing.organization.enabled,c=(null==e?void 0:e.for)==="organization"?l:(null==e?void 0:e.for)==="user"?u:u||l,f=(null==e?void 0:e.for)==="organization",p=null!=(r=null==e?void 0:e.authenticated)&&!r||(!f||!!(null==s?void 0:s.id))&&!!(null==a?void 0:a.id);return c&&i&&n.loaded&&p}function tK(e){let{hookName:t,resourceType:r,useFetcher:n,options:i}=e;return function(e){var o;let{for:a,enabled:s,...u}=e||{},l=a||"user";tp(t);let c=n(l),f=tw(u,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,__experimental_mode:void 0}),p=tn(),h=tC(),d=tk();null==(o=p.telemetry)||o.record((0,et.a)(t));let v="organization"===l,g=tY({for:l,enabled:s,authenticated:!(null==i?void 0:i.unauthenticated)}),y=void 0===u?void 0:{initialPage:f.initialPage,pageSize:f.pageSize,...(null==i?void 0:i.unauthenticated)?{}:v?{orgId:null==d?void 0:d.id}:{}},m=!!y&&p.loaded&&!!g;return tS({fetcher:c,config:{keepPreviousData:f.keepPreviousData,infinite:f.infinite,enabled:m,...(null==i?void 0:i.unauthenticated)?{}:{isSignedIn:null!==h},__experimental_mode:f.__experimental_mode,initialPage:f.initialPage,pageSize:f.pageSize},keys:th({stablePrefix:r,authenticated:!(null==i?void 0:i.unauthenticated),tracked:(null==i?void 0:i.unauthenticated)?{for:l}:{userId:null==h?void 0:h.id,...v?{orgId:null==d?void 0:d.id}:{}},untracked:{args:y}})})}}let tV=tK({hookName:"useStatements",resourceType:"billing-statements",useFetcher:()=>{let e=tn();if(e.loaded)return e.billing.getStatements}}),tH=tK({hookName:"usePaymentAttempts",resourceType:"billing-payment-attempts",useFetcher:()=>{let e=tn();if(e.loaded)return e.billing.getPaymentAttempts}}),tG=tK({hookName:"usePaymentMethods",resourceType:"billing-payment-methods",useFetcher:e=>{let t=tk(),r=tC();return"organization"===e?null==t?void 0:t.getPaymentMethods:null==r?void 0:r.getPaymentMethods}}),tQ=tK({hookName:"usePlans",resourceType:"billing-plans",useFetcher:e=>{let t=tn();if(t.loaded)return r=>t.billing.getPlans({...r,for:e})},options:{unauthenticated:!0}}),tJ="useSubscription";function tZ(e){var t,r;tp(tJ);let n=tn(),i=tC(),o=tk(),a=tY(e),s=(0,ei.useRef)(!1);(0,ei.useEffect)(()=>{!s.current&&(null==n?void 0:n.telemetry)&&(n.telemetry.record((0,et.a)(tJ)),s.current=!0)},[n]);let u=null!=(t=null==e?void 0:e.keepPreviousData)&&t,[l]=tg(),{queryKey:c,invalidationKey:f,stableKey:p,authenticated:h}=function(e){let{userId:t,orgId:r,for:n}=e;return(0,ei.useMemo)(()=>{let e="organization"===n?r:void 0;return th({stablePrefix:"billing-subscription",authenticated:!0,tracked:{userId:t,orgId:e},untracked:{args:{orgId:e}}})},[t,r,n])}({userId:null==i?void 0:i.id,orgId:null==o?void 0:o.id,for:null==e?void 0:e.for}),d=!!((null==i?void 0:i.id)&&a);tb({isSignedOut:null===i,authenticated:h,stableKeys:p});let v=tm({queryKey:c,queryFn:e=>{let{queryKey:t}=e,r=t[3];return n.billing.getSubscription(r.args)},staleTime:6e4,enabled:d,placeholderData:td(u&&d)}),g=(0,ei.useCallback)(()=>l.invalidateQueries({queryKey:f}),[l,f]);return{data:v.data,error:null!=(r=v.error)?r:void 0,isLoading:v.isLoading,isFetching:v.isFetching,revalidate:g}}let tX=e=>{let t=tc(),{for:r,planId:n,planPeriod:i}=e||t,o=tk(),{isLoaded:a,user:s}=t$(),u=tn();if(null===s&&a)throw Error('Clerk: Ensure that `useCheckout` is inside a component wrapped with `<Show when="signed-in" />`.');if(a&&"organization"===r&&null===o)throw Error("Clerk: Ensure your flow checks for an active organization. Retrieve `orgId` from `useAuth()` and confirm it is defined. For SSR, see: https://clerk.com/docs/reference/backend/types/auth-object#how-to-access-the-auth-object");let l=(0,ei.useCallback)(()=>u.__experimental_checkout({planId:n,planPeriod:i,for:r}),[null==s?void 0:s.id,null==o?void 0:o.id,n,i,r]),c=(0,ei.useCallback)(e=>u.loaded?u.__internal_state.__internal_effect(()=>{l(),e()}):()=>{},[l,u.loaded,u.__internal_state]),f=(0,ei.useCallback)(()=>l(),[l]);return(0,ei.useSyncExternalStore)(c,f,f)};function t0(){var e,t,r;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{statementId:i=null,keepPreviousData:o=!1,for:a="user"}=n,s=tn(),u=tC(),l=tk(),c="organization"===a&&null!=(e=null==l?void 0:l.id)?e:null,{queryKey:f,stableKey:p,authenticated:h}=function(e){let{statementId:t,userId:r,orgId:n,for:i}=e;return(0,ei.useMemo)(()=>th({stablePrefix:"billing-statement",authenticated:!0,tracked:{statementId:t,forType:i,userId:r,orgId:n},untracked:{args:{id:null!=t?t:void 0,orgId:null!=n?n:void 0}}}),[t,i,r,n])}({statementId:i,userId:null!=(t=null==u?void 0:u.id)?t:null,orgId:c,for:a}),d=tY(n);tb({isSignedOut:null===u,authenticated:h,stableKeys:p});let v=tm({queryKey:f,queryFn:()=>{if(!i)throw Error("statementId is required to fetch a statement");return s.billing.getStatement({id:i,orgId:null!=c?c:void 0})},enabled:!!i&&d,placeholderData:td(o),staleTime:6e4});return{data:v.data,error:null!=(r=v.error)?r:null,isLoading:v.isLoading,isFetching:v.isFetching}}function t1(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{planId:n,initialPlan:i=null,keepPreviousData:o=!0}=r,a=tn(),s=null!=(e=null!=n?n:null==i?void 0:i.id)?e:null,{queryKey:u}=function(e){let{planId:t}=e;return(0,ei.useMemo)(()=>th({stablePrefix:"billing-plan",authenticated:!1,tracked:{planId:null!=t?t:null},untracked:{args:{id:null!=t?t:void 0}}}),[t])}({planId:s}),l=tY({authenticated:!1}),c=tm({queryKey:u,queryFn:()=>{if(!s)throw Error("planId is required to fetch plan details");return a.billing.getPlan({id:s})},enabled:!!s&&l,initialData:null!=i?i:void 0,placeholderData:td(o),initialDataUpdatedAt:0});return{data:c.data,error:null!=(t=c.error)?t:null,isLoading:c.isLoading,isFetching:c.isFetching}}function t2(e){var t,r,n;let{paymentAttemptId:i,keepPreviousData:o=!1,for:a="user"}=e,s=tn(),u=tC(),l=tk(),c="organization"===a&&null!=(t=null==l?void 0:l.id)?t:null,{queryKey:f,stableKey:p,authenticated:h}=function(e){let{paymentAttemptId:t,userId:r,orgId:n,for:i}=e;return(0,ei.useMemo)(()=>th({stablePrefix:"billing-payment-attempt",authenticated:!0,tracked:{paymentAttemptId:t,forType:i,userId:r,orgId:n},untracked:{args:{id:null!=t?t:void 0,orgId:null!=n?n:void 0}}}),[t,i,r,n])}({paymentAttemptId:i,userId:null!=(r=null==u?void 0:u.id)?r:null,orgId:c,for:a}),d=tY(e);tb({isSignedOut:null===u,authenticated:h,stableKeys:p});let v=tm({queryKey:f,queryFn:e=>{let{queryKey:t}=e,r=t[3].args;return s.billing.getPaymentAttempt(r)},enabled:!!i&&d,placeholderData:td(o),staleTime:6e4});return{data:v.data,error:null!=(n=v.error)?n:null,isLoading:v.isLoading,isFetching:v.isFetching}}function t3(e){let t=e.clerk;if(t||(0,en.n)(),e.initialState instanceof Promise)throw Error("initialState cannot be a promise if React version is less than 19");let r=ei.useMemo(()=>({value:t}),[e.clerkStatus]);return ei.createElement(ta,{initialState:e.initialState},ei.createElement(tr.Provider,{value:r},ei.createElement(tf,{value:void 0},e.children)))}let t6=e=>{let t=(0,ei.useRef)(e);return(0,ei.useEffect)(()=>{t.current=e},[e]),t.current},t9=(e,t,r)=>{let n=!!r,i=(0,ei.useRef)(r);(0,ei.useEffect)(()=>{i.current=r},[r]),(0,ei.useEffect)(()=>{if(!n||!e)return()=>{};let r=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];i.current&&i.current(...t)};return e.on(t,r),()=>{e.off(t,r)}},[n,t,e,i])},t4=ei.createContext(null);t4.displayName="ElementsContext";let t5=(e,t)=>{if(!e)throw Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},t8=e=>{let{stripe:t,options:r,children:n}=e,i=ei.useMemo(()=>rt(t),[t]),[o,a]=ei.useState(()=>({stripe:"sync"===i.tag?i.stripe:null,elements:"sync"===i.tag?i.stripe.elements(r):null}));ei.useEffect(()=>{let e=!0,t=e=>{a(t=>t.stripe?t:{stripe:e,elements:e.elements(r)})};return"async"!==i.tag||o.stripe?"sync"!==i.tag||o.stripe||t(i.stripe):i.stripePromise.then(r=>{r&&e&&t(r)}),()=>{e=!1}},[i,o,r]);let s=t6(t);ei.useEffect(()=>{null!==s&&s!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[s,t]);let u=t6(r);return ei.useEffect(()=>{if(!o.elements)return;let e=ro(r,u,["clientSecret","fonts"]);e&&o.elements.update(e)},[r,u,o.elements]),ei.createElement(t4.Provider,{value:o},n)},t7="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",re=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t7;if(null===e||ri(e))return e;throw Error(t)},rt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t7;if(rn(e))return{tag:"async",stripePromise:Promise.resolve(e).then(e=>re(e,t))};let r=re(e,t);return null===r?{tag:"empty"}:{tag:"sync",stripe:r}},rr=e=>null!==e&&"object"==typeof e,rn=e=>rr(e)&&"function"==typeof e.then,ri=e=>rr(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment,ro=(e,t,r)=>rr(e)?Object.keys(e).reduce((n,i)=>{let o=!rr(t)||!rs(e[i],t[i]);return r.includes(i)?(o&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),n):o?{...n||{},[i]:e[i]}:n},null):null,ra="[object Object]",rs=(e,t)=>{if(!rr(e)||!rr(t))return e===t;let r=Array.isArray(e);if(r!==Array.isArray(t))return!1;let n=Object.prototype.toString.call(e)===ra;if(n!==(Object.prototype.toString.call(t)===ra))return!1;if(!n&&!r)return e===t;let i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;let a={};for(let e=0;e<i.length;e+=1)a[i[e]]=!0;for(let e=0;e<o.length;e+=1)a[o[e]]=!0;let s=Object.keys(a);return s.length===i.length&&s.every(r=>rs(e[r],t[r]))},ru=e=>t5(ei.useContext(t4),e),rl=(g="payment",y="undefined"==typeof window,c="".concat(g.charAt(0).toUpperCase()+g.slice(1),"Element"),(f=y?e=>{ru("mounts <".concat(c,">"));let{id:t,className:r}=e;return ei.createElement("div",{id:t,className:r})}:e=>{let t,{id:r,className:n,fallback:i,options:o={},onBlur:a,onFocus:s,onReady:u,onChange:l,onEscape:f,onClick:p,onLoadError:h,onLoaderStart:d,onNetworksChange:v,onConfirm:y,onCancel:m,onShippingAddressChange:b,onShippingRateChange:w}=e,S=ru("mounts <".concat(c,">")),E="elements"in S?S.elements:null,[k,_]=ei.useState(null),P=ei.useRef(null),x=ei.useRef(null),[O,R]=(0,ei.useState)(!1);t9(k,"blur",a),t9(k,"focus",s),t9(k,"escape",f),t9(k,"click",p),t9(k,"loaderror",h),t9(k,"loaderstart",d),t9(k,"networkschange",v),t9(k,"confirm",y),t9(k,"cancel",m),t9(k,"shippingaddresschange",b),t9(k,"shippingratechange",w),t9(k,"change",l),u&&(t=()=>{R(!0),u(k)}),t9(k,"ready",t),ei.useLayoutEffect(()=>{if(null===P.current&&null!==x.current&&E){let e=null;E&&(e=E.create(g,o)),P.current=e,_(e),e&&e.mount(x.current)}},[E,o]);let C=t6(o);return ei.useEffect(()=>{if(!P.current)return;let e=ro(o,C,["paymentRequest"]);e&&"update"in P.current&&P.current.update(e)},[o,C]),ei.useLayoutEffect(()=>()=>{if(P.current&&"function"==typeof P.current.destroy)try{P.current.destroy(),P.current=null}catch{}},[]),ei.createElement(ei.Fragment,null,!O&&i,ei.createElement("div",{id:r,style:{height:O?"unset":"0px",visibility:O?"visible":"hidden"},className:n,ref:x}))}).displayName=c,f.__elementType=g,f),rc=function(){var e,t;let r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"user",i=(r=tP(),null!=(t=tm({queryKey:["clerk-stripe-sdk"],queryFn:async()=>({loadStripe:await r.__internal_loadStripeJs()}),staleTime:1/0,refetchOnWindowFocus:!1,placeholderData:td(!0)}).data)?t:null),o=tP().__internal_environment,{initializedPaymentMethod:a,initializePaymentMethod:s}=function(e){var t;let{for:r}=null!=e?e:{},n=tk(),i=tC(),o="organization"===r?n:i,a=tY(e),s="billing-payment-method-initialize",u=(0,ei.useMemo)(()=>[s,!0,{resourceId:null==o?void 0:o.id},{}],[null==o?void 0:o.id]),l=!!(null==o?void 0:o.id)&&a;tb({isSignedOut:null===i,authenticated:!0,stableKeys:s});let c=tm({queryKey:u,queryFn:async()=>{if(o)return o.initializePaymentMethod({gateway:"stripe"})},enabled:l,staleTime:6e4,refetchOnWindowFocus:!1,placeholderData:td(l)}),[f]=tg(),p=(0,ei.useCallback)(async()=>{if(!o)return;let e=await o.initializePaymentMethod({gateway:"stripe"});return f.setQueryData(u,e),e},[f,u,o]);return{initializedPaymentMethod:null!=(t=c.data)?t:void 0,initializePaymentMethod:p}}({for:n}),u=null!=(e=null==o?void 0:o.commerceSettings.billing.stripePublishableKey)?e:void 0;return{stripe:function(e){let{stripeClerkLibs:t,externalGatewayId:r,stripePublishableKey:n}=e,i=(0,ei.useMemo)(()=>["stripe-sdk",{externalGatewayId:r,stripePublishableKey:n}],[r,n]),o=tY({authenticated:!0});return tm({queryKey:i,queryFn:()=>t&&r&&n?t.loadStripe(n,{stripeAccount:r}):null,enabled:!!(t&&r&&n)&&o,staleTime:6e4,refetchOnWindowFocus:!1,placeholderData:td(!0)}).data}({stripeClerkLibs:i,externalGatewayId:null==a?void 0:a.externalGatewayId,stripePublishableKey:u}),initializePaymentMethod:s,externalClientSecret:null==a?void 0:a.externalClientSecret,paymentMethodOrder:null==a?void 0:a.paymentMethodOrder}},[rf,rp]=tt("PaymentElementContext"),[rh,rd]=tt("StripeUtilsContext"),rv=e=>{let{children:t}=e,r=(()=>{let{stripe:e}=ru("calls useStripe()");return e})(),n=(()=>{let{elements:e}=t5(ei.useContext(t4),"calls useElements()");return e})();return ei.createElement(rh.Provider,{value:{value:{stripe:r,elements:n}}},t)},rg=e=>{let{children:t}=e;return ei.createElement(rh.Provider,{value:{value:{}}},t)},ry=e=>{let{children:t,...r}=e,n=rc(r.for),[i,o]=(0,ei.useState)(!1);return ei.createElement(rf.Provider,{value:{value:{...r,...n,setIsPaymentElementReady:o,isPaymentElementReady:i}}},t)},rm=e=>{let{children:t,...r}=e;return ei.createElement(ry,r,ei.createElement(rb,null,t))},rb=e=>{let{stripe:t,externalClientSecret:r,stripeAppearance:n}=rp(),i=(()=>{let e=tP(),t="en";try{var r;t=(null==(r=e.__internal_getOption("localization"))?void 0:r.locale)||"en"}catch{}return t.split("-")[0]})();return t&&r?ei.createElement(t8,{key:r,stripe:t,options:{loader:"never",clientSecret:r,appearance:{variables:n},locale:i}},ei.createElement(rv,null,e.children)):ei.createElement(rg,null,e.children)},rw=e=>{let{fallback:t}=e,{setIsPaymentElementReady:r,paymentMethodOrder:n,checkout:i,stripe:o,externalClientSecret:a,paymentDescription:s,for:u}=rp(),l=tP().__internal_environment,c=(0,ei.useMemo)(()=>{var e;if(i&&i.totals&&i.plan)return{recurringPaymentRequest:{paymentDescription:s||"",managementURL:"organization"===u?(null==l?void 0:l.displayConfig.organizationProfileUrl)||"":(null==l?void 0:l.displayConfig.userProfileUrl)||"",regularBilling:{amount:(null==(e=i.totals.totalDueNow)?void 0:e.amount)||i.totals.grandTotal.amount,label:i.plan.name,recurringPaymentIntervalUnit:"annual"===i.planPeriod?"year":"month"}}}},[i,s,u,l]),f=(0,ei.useMemo)(()=>({layout:{type:"tabs",defaultCollapsed:!1},paymentMethodOrder:n,applePay:c}),[c,n]),p=(0,ei.useCallback)(()=>{r(!0)},[r]);return o&&a?ei.createElement(rl,{fallback:t,onReady:p,options:f}):ei.createElement(ei.Fragment,null,t)},rS=()=>{throw Error("Clerk: Unable to submit, Stripe libraries are not yet loaded. Be sure to check `isFormReady` before calling `submit`.")},rE=()=>{let{isPaymentElementReady:e,initializePaymentMethod:t}=rp(),{stripe:r,elements:n}=rd(),{externalClientSecret:i}=rp(),o=(0,ei.useCallback)(async()=>{if(!r||!n)return rS();let{setupIntent:e,error:t}=await r.confirmSetup({elements:n,confirmParams:{return_url:window.location.href},redirect:"if_required"});return t?{data:null,error:{gateway:"stripe",error:{code:t.code,message:t.message,type:t.type}}}:{data:{gateway:"stripe",paymentToken:e.payment_method},error:null}},[r,n]),a=(0,ei.useCallback)(async()=>{if(!r||!n)return rS();await t()},[r,n,t]),s=!!(r&&i);return s?{submit:o,reset:a,isFormReady:e,provider:{name:"stripe"},isProviderReady:s}:{submit:rS,reset:rS,isFormReady:!1,provider:void 0,isProviderReady:!1}},[rk,,r_]=tt("PortalProvider"),rP=e=>{let{children:t,getContainer:r}=e,n=ei.useMemo(()=>({value:{getContainer:r}}),[r]);return ei.createElement(rk.Provider,{value:n},t)};rP.displayName="UNSAFE_PortalProvider";let rx=()=>{let e=r_();return e&&"getContainer"in e&&e.getContainer?e.getContainer:()=>null}},54653:function(e,t,r){r.d(t,{n:()=>o,r:()=>i,t:()=>n});let n=()=>!1,i=()=>!1,o=()=>{try{return!0}catch{}return!1}},52312:function(e,t,r){var n,i,o,a,s,u,l,c,f,p,h,d,v,g,y;r.d(t,{a:()=>w,o:()=>b}),r(88711),r(92977),r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412),r(10676),r(19161),r(22239),r(95055),r(64178),r(60962),r(60486),r(25089),r(61244),r(77895),r(50036),r(8020),r(29669),n=new WeakMap,i=new WeakMap,o=new WeakSet,a=new WeakMap,s=new WeakSet,u=new WeakMap,l=new WeakMap,c=new WeakMap,f=new WeakMap,p=new WeakMap,h=new WeakMap,d=new WeakMap,v=new WeakSet,g=new WeakSet,y=new WeakSet;let m=new Set(["SignIn","SignUp"]);function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{event:"COMPONENT_MOUNTED",eventSamplingRate:m.has(e)?1:.1,payload:{component:e,...t}}}function w(e,t){return{event:"METHOD_CALLED",eventSamplingRate:.1,payload:{method:e,...t}}}},29669:function(e,t,r){function n(e){let t=e||"";return t.charAt(0).toUpperCase()+t.slice(1)}function i(e){return e?e.replace(/([-_][a-z])/g,e=>e.toUpperCase().replace(/-|_/,"")):""}function o(e){return e?e.replace(/[A-Z]/g,e=>"_".concat(e.toLowerCase())):""}r.d(t,{c:()=>n,o:()=>s,s:()=>i,t:()=>o}),r(22501),r(58910),r(19161),r(22239),r(88711),r(58814),r(8451);let a=e=>{let t=r=>{if(!r)return r;if(Array.isArray(r))return r.map(e=>"object"==typeof e||Array.isArray(e)?t(e):e);let n={...r};for(let r of Object.keys(n)){let i=e(r.toString());i!==r&&(n[i]=n[r],delete n[r]),"object"==typeof n[i]&&(n[i]=t(n[i]))}return n};return t};function s(e){if("boolean"==typeof e)return e;if(null==e)return!1;if("string"==typeof e){if("true"===e.toLowerCase())return!0;if("false"===e.toLowerCase())return!1}let t=parseInt(e,10);return!isNaN(t)&&t>0}a(o),a(i)},34821:function(e,t,r){r.d(t,{n:()=>i}),r(19161),r(22239),r(50036),r(88711),r(32880),r(25902),r(56359),r(894),r(6373),r(63418),r(93412);let n=new Set(["__proto__","constructor","prototype"]),i=(e,t)=>{if(e&&t)for(let r in e)!n.has(r)&&(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),i(e[r],t[r])):Object.prototype.hasOwnProperty.call(e,r)&&void 0!==e[r]&&(t[r]=e[r]))}},14562:function(e,t,r){r.d(t,{aY:()=>a.n,b_:()=>n.t,lQ:()=>i.t,ph:()=>o.t});var n=r(54653),i=r(2105),o=r(80996),a=r(34821)}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,o),r.loaded=!0,r.exports}o.m=n,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);o.r(r);var n={};a=a||[null,s({}),s([]),s(s)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~a.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>{n[t]=()=>e[t]});return n.default=()=>e,o.d(r,n),r},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>""+(({10:"signin",110:"up-plans-page",122:"payment-attempt-page",188:"web3-solana-wallet-buttons",223:"op-api-keys-page",243:"createorganization",256:"checkout",259:"up-billing-page",26:"framework",264:"op-plans-page",265:"waitlist",289:"op-billing-page",30:"pricingTable",310:"organizationprofile",326:"apiKeys",328:"blankcaptcha",364:"organizationswitcher",390:"sessionTasks",394:"copy-api-key-modal",4:"taskSetupMFA",451:"subscriptionDetails",472:"signup",505:"revoke-api-key-modal",522:"keylessPrompt",533:"enableOrganizationsPrompt",545:"vendors",58:"useravatar",591:"oauthConsent",608:"prefetchorganizationlist",627:"statement-page",636:"userverification",666:"ui-common",67:"taskResetPassword",718:"userprofile",721:"onetap",723:"taskChooseOrganization",799:"organizationlist",817:"up-api-keys-page",841:"planDetails",917:"impersonationfab",99:"userbutton"})[e]||e)+"_ui_"+o.h().slice(0,6)+"_1.2.2.js",o.h=()=>"6e27e5527789a420",o.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u={},o.l=function(e,t,r,n){if(u[e])return void u[e].push(t);if(void 0!==r)for(var i,a,s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var c=s[l];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")=="@clerk/ui:"+r){i=c;break}}i||(a=!0,(i=document.createElement("script")).timeout=120,o.nc&&i.setAttribute("nonce",o.nc),i.setAttribute("data-webpack","@clerk/ui:"+r),i.src=e),u[e]=[t];var f=function(t,r){i.onerror=i.onload=null,clearTimeout(p);var n=u[e];if(delete u[e],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(function(e){return e(r)}),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),a&&document.head.appendChild(i)},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.g.importScripts&&(l=o.g.location+"");var a,s,u,l,c=o.g.document;if(!l&&c&&(c.currentScript&&"SCRIPT"===c.currentScript.tagName.toUpperCase()&&(l=c.currentScript.src),!l)){var f=c.getElementsByTagName("script");if(f.length)for(var p=f.length-1;p>-1&&(!l||!/^http(s?):/.test(l));)l=f[p--].src}if(!l)throw Error("Automatic publicPath is not supported in this browser");return o.p=l=l.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={991:0},o.f.j=function(t,r){var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise((r,i)=>n=e[t]=[r,i]);r.push(n[2]=i);var a=o.p+o.u(t),s=Error();o.l(a,function(r){if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,n[1](s)}},"chunk-"+t,t)}},t=(t,r)=>{var n,i,[a,s,u]=r,l=0;if(a.some(t=>0!==e[t])){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);u&&u(o)}for(t&&t(r);l<a.length;l++)i=a[l],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0},(r=globalThis.webpackChunk_clerk_ui=globalThis.webpackChunk_clerk_ui||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),(()=>{o(88711),o(64178),o(60962),o(60486),o(25089),o(61244),o(77895),o(22501),o(58910);try{let e=new URL(document.currentScript.src),t=new URL(e.href.split("/").slice(0,-1).join("/")).href;o.p=(t+=t.endsWith("/")?"":"/").replace(/(^.*\/@clerk\/ui@)(.+?)(\/dist.*)/,"$1".concat("1.2.2","$3"))}catch{}function e(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}o(98114);var t=o(55945),r=o(73610),n=o(16164);function i(e){let t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(!t)return null;let[,r,n,i]=t;return{major:parseInt(r,10),minor:parseInt(n,10),patch:parseInt(i,10)}}o(19161),o(89305),o(50036),o(22239);var a=o(14518),s=o(31475),u=o(14562),l=o(35074),c=o(13727),f=o(54096);let p=(0,l.lazy)(()=>o.e("666").then(o.bind(o,8501)).then(e=>({default:e.MountedCheckoutDrawer}))),h=(0,l.lazy)(()=>o.e("666").then(o.bind(o,94027)).then(e=>({default:e.MountedPlanDetailDrawer}))),d=(0,l.lazy)(()=>Promise.all([o.e("26"),o.e("545"),o.e("666"),o.e("451")]).then(o.bind(o,89949)).then(e=>({default:e.MountedSubscriptionDetailDrawer})));var v=o(94642);let g=e=>{let{base:t,path:r}=e;return r?t+r:t};function y(e,t){if(!e)return{};let r="signin"===t?"signIn":"signUp",n={["".concat(r,"ForceRedirectUrl")]:e.forceRedirectUrl,["".concat(r,"FallbackRedirectUrl")]:e.fallbackRedirectUrl},i={...e,...n};return delete i.forceRedirectUrl,delete i.fallbackRedirectUrl,i}o(41730);var m=o(3115);let b="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,w=0,S={},E=Object.freeze({SignUp:"signUpModal",SignIn:"signInModal",UserProfile:"userProfileModal",OrganizationProfile:"organizationProfileModal",CreateOrganization:"createOrganizationModal",Waitlist:"waitlistModal"}),k=e=>{var t,r;let[n,i]=l.useState({appearance:e.options.appearance,options:e.options,googleOneTapModal:null,signInModal:null,signUpModal:null,userProfileModal:null,userVerificationModal:null,organizationProfileModal:null,createOrganizationModal:null,enableOrganizationsPromptModal:null,organizationSwitcherPrefetch:!1,waitlistModal:null,blankCaptchaModal:null,checkoutDrawer:{open:!1,props:null},planDetailsDrawer:{open:!1,props:null},subscriptionDetailsDrawer:{open:!1,props:null},impersonationFab:!1}),{googleOneTapModal:o,signInModal:u,signUpModal:m,userProfileModal:k,userVerificationModal:_,organizationProfileModal:P,createOrganizationModal:x,waitlistModal:O,blankCaptchaModal:R,checkoutDrawer:C,planDetailsDrawer:A,subscriptionDetailsDrawer:I}=n,T=e.getClerk();(0,l.useSyncExternalStore)((0,l.useCallback)(e=>T.addListener(e,{skipInitialEmit:!0}),[T]),(0,l.useCallback)(()=>T.__internal_lastEmittedResources,[T]),(0,l.useCallback)(()=>T.__internal_lastEmittedResources,[T]));let M=(0,l.useRef)(new Map),{urlStateParam:z,clearUrlStateParam:j,decodedRedirectParams:L}=(0,c.x)();b(()=>{L&&i(e=>({...e,[E[L.componentName]]:!0}));let t=()=>{i(e=>({...e}))};S.mountComponent=e=>{let{node:r,name:n,props:i,appearanceKey:o}=e;r||(0,s.$V)(),M.current.set(r,{key:"p".concat(++w),name:n,props:i,appearanceKey:o}),t()},S.unmountComponent=e=>{let{node:r}=e;M.current.delete(r),t()},S.updateProps=e=>{let{node:r,props:n,...o}=e;if(r&&n&&"object"==typeof n){let e=M.current.get(r);if(e){e.props={...n},t();return}}i(e=>({...e,...o,options:{...e.options,...o.options}}))},S.closeModal=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{notify:r=!0}=t;j(),i(t=>{let n=t["".concat(e,"Modal")];if(n&&"object"==typeof n&&"afterVerificationCancelled"in n&&r){var i;null==(i=n.afterVerificationCancelled)||i.call(n)}return{...t,["".concat(e,"Modal")]:null}})},S.openModal=(e,t)=>{"enableOrganizationsPrompt"===e?i(r=>r.enableOrganizationsPromptModal?r:{...r,["".concat(e,"Modal")]:t}):"afterVerificationCancelled"in t?"afterVerificationCancelled"in t&&i(r=>({...r,["".concat(e,"Modal")]:{...t,afterVerification(){var r;null==(r=t.afterVerification)||r.call(t),S.closeModal(e,{notify:!1})}}})):i(r=>({...r,["".concat(e,"Modal")]:t}))},S.mountImpersonationFab=()=>{i(e=>({...e,impersonationFab:!0}))},S.openDrawer=(e,t)=>{i(r=>({...r,["".concat(e,"Drawer")]:{open:!0,props:t}}))},S.closeDrawer=e=>{i(t=>{var r,n;let i=t["".concat(e,"Drawer")];return null==i||null==(n=i.props)||null==(r=n.onClose)||r.call(n),{...t,["".concat(e,"Drawer")]:{...t["".concat(e,"Drawer")],open:!1}}})},S.prefetch=e=>{i(t=>({...t,["".concat(e,"Prefetch")]:!0}))},e.onComponentsMounted()},[]);let D=(0,a.Y)(v.xg,{componentProps:o,globalAppearance:n.appearance,componentAppearance:null==o?void 0:o.appearance,startPath:g({base:"/one-tap",path:""})}),U=(0,a.FD)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"signIn",componentAppearance:null==u?void 0:u.appearance,flowName:"signIn",onClose:()=>S.closeModal("signIn"),onExternalNavigate:()=>S.closeModal("signIn"),startPath:g({base:"/sign-in",path:null==z?void 0:z.path}),getContainer:null==u?void 0:u.getContainer,componentName:"SignInModal",children:[(0,a.Y)(f.M9,{...u}),(0,a.Y)(f.gK,{...y(u,"signin")}),(0,a.Y)(f.L1,{...O})]}),N=(0,a.FD)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"signUp",componentAppearance:null==m?void 0:m.appearance,flowName:"signUp",onClose:()=>S.closeModal("signUp"),onExternalNavigate:()=>S.closeModal("signUp"),startPath:g({base:"/sign-up",path:null==z?void 0:z.path}),getContainer:null==m?void 0:m.getContainer,componentName:"SignUpModal",children:[(0,a.Y)(f.M9,{...y(m,"signup")}),(0,a.Y)(f.gK,{...m}),(0,a.Y)(f.L1,{...O})]}),F=(0,a.Y)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"userProfile",componentAppearance:null==k?void 0:k.appearance,flowName:"userProfile",onClose:()=>S.closeModal("userProfile"),onExternalNavigate:()=>S.closeModal("userProfile"),startPath:g({base:"/user",path:(null==k?void 0:k.__experimental_startPath)||(null==z?void 0:z.path)}),getContainer:null==k?void 0:k.getContainer,componentName:"UserProfileModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$176,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,a.Y)(f.am,{...k})}),$=(0,a.Y)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"userVerification",componentAppearance:null==_?void 0:_.appearance,flowName:"userVerification",onClose:()=>S.closeModal("userVerification"),onExternalNavigate:()=>S.closeModal("userVerification"),startPath:g({base:"/user-verification",path:null==z?void 0:z.path}),getContainer:null==_?void 0:_.getContainer,componentName:"UserVerificationModal",modalContainerSx:{alignItems:"center"},children:(0,a.Y)(f.yd,{..._})}),W=(0,a.Y)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"organizationProfile",componentAppearance:null==P?void 0:P.appearance,flowName:"organizationProfile",onClose:()=>S.closeModal("organizationProfile"),onExternalNavigate:()=>S.closeModal("organizationProfile"),startPath:g({base:"/organizationProfile",path:(null==P?void 0:P.__experimental_startPath)||(null==z?void 0:z.path)}),getContainer:null==P?void 0:P.getContainer,componentName:"OrganizationProfileModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$176,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,a.Y)(f.Qj,{...P})}),B=(0,a.Y)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"createOrganization",componentAppearance:null==x?void 0:x.appearance,flowName:"createOrganization",onClose:()=>S.closeModal("createOrganization"),onExternalNavigate:()=>S.closeModal("createOrganization"),startPath:g({base:"/createOrganization",path:null==z?void 0:z.path}),getContainer:null==x?void 0:x.getContainer,componentName:"CreateOrganizationModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$120,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,a.Y)(f.Xi,{...x})}),q=(0,a.FD)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"waitlist",componentAppearance:null==O?void 0:O.appearance,flowName:"waitlist",onClose:()=>S.closeModal("waitlist"),onExternalNavigate:()=>S.closeModal("waitlist"),startPath:g({base:"/waitlist",path:null==z?void 0:z.path}),getContainer:null==O?void 0:O.getContainer,componentName:"WaitlistModal",children:[(0,a.Y)(f.L1,{...O}),(0,a.Y)(f.M9,{...O})]}),Y=(0,a.Y)(v.Vv,{globalAppearance:n.appearance,appearanceKey:"blankCaptcha",componentAppearance:{},flowName:"blankCaptcha",onClose:()=>S.closeModal("blankCaptcha"),startPath:g({base:"/blank-captcha",path:null==z?void 0:z.path}),componentName:"BlankCaptchaModal",canCloseModal:!1,modalId:"cl-modal-captcha-wrapper",modalStyle:{visibility:"hidden",pointerEvents:"none"},children:(0,a.Y)(f.Gb,{})});return(0,a.Y)(l.Suspense,{fallback:"",children:(0,a.FD)(v.Fj,{clerk:e.getClerk(),environment:e.getEnvironment(),options:n.options,moduleManager:e.moduleManager,children:[[...M.current].map(e=>{var t;let[r,i]=e;return(0,a.Y)(v.t8,{node:r,globalAppearance:n.appearance,appearanceKey:i.appearanceKey,componentAppearance:null==(t=i.props)?void 0:t.appearance,componentName:i.name,componentProps:i.props},i.key)}),o&&D,u&&U,m&&N,k&&F,_&&$,P&&W,x&&B,O&&q,R&&Y,(0,a.Y)(p,{appearance:n.appearance,checkoutDrawer:C,onOpenChange:()=>S.closeDrawer("checkout")}),(0,a.Y)(h,{appearance:n.appearance,planDetailsDrawer:A,onOpenChange:()=>S.closeDrawer("planDetails")}),(0,a.Y)(d,{appearance:n.appearance,subscriptionDetailsDrawer:I,onOpenChange:()=>S.closeDrawer("subscriptionDetails")}),n.impersonationFab&&(0,a.Y)(v.Nx,{globalAppearance:n.appearance,children:(0,a.Y)(f.Sm,{})}),n.enableOrganizationsPromptModal&&(0,a.Y)(v.dB,{globalAppearance:n.appearance,children:(0,a.Y)(f.yc,{...n.enableOrganizationsPromptModal})}),(null==(t=n.options)?void 0:t.__internal_keyless_claimKeylessApplicationUrl)&&(null==(r=n.options)?void 0:r.__internal_keyless_copyInstanceKeysUrl)&&(0,a.Y)(v.Nx,{globalAppearance:n.appearance,children:(0,a.Y)(f.ju,{claimUrl:n.options.__internal_keyless_claimKeylessApplicationUrl,copyKeysUrl:n.options.__internal_keyless_copyInstanceKeysUrl,onDismiss:n.options.__internal_keyless_dismissPrompt})}),(0,a.Y)(l.Suspense,{children:n.organizationSwitcherPrefetch&&(0,a.Y)(v.up,{})})]})})};var _=o(21227),P=new WeakMap;class x{ensureMounted(t){var r;return(r=e(this,P,"get"),r.get?r.get.call(this):r.value).ensureMounted(t)}constructor(s,l,c,p){(0,t._)(this,"version","1.2.2"),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,P,{writable:!0,value:void 0});const h=s(),d=null==h?void 0:h.version,v=(null==h?void 0:h.instanceType)==="development",g=i(null!=d?d:"");let y=null;if(g&&!function(e,t){if(!e)return!1;let r=i(e),n=i(t);return!!r&&!!n&&(r.major!==n.major?r.major>n.major:r.minor!==n.minor?r.minor>n.minor:r.patch>=n.patch)}(d,_.yz)?y="@clerk/ui@".concat(x.version," requires @clerk/clerk-js@>=").concat(_.yz,", ")+"but found @clerk/clerk-js@".concat(d,". ")+"Please upgrade @clerk/clerk-js (or your framework SDK) to a compatible version.":g||p||(y="@clerk/ui@".concat(x.version," requires @clerk/clerk-js@>=").concat(_.yz,", ")+"but found an incompatible version".concat(d?" (".concat(d,")"):"",". ")+"Please upgrade @clerk/clerk-js (or your framework SDK) to a compatible version."),y)if(v)throw new r.cR(y,{code:"clerk_ui_version_mismatch"});else n.v.warnOnce(y);!function(t,r,n){var i=e(t,r,"set");if(i.set)i.set.call(t,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}}(this,P,((e,t,r,n)=>{let i,s={...r};s.appearance&&(s.appearance=function(e){let t;if(!e||"object"!=typeof e)return e;let r=e.theme;if(!r)return e;if(Array.isArray(r)){r.forEach(e=>{!t&&"object"==typeof e&&e.cssLayerName&&(t=e.cssLayerName)});let n=r.map(e=>{if("string"==typeof e)return e;let{cssLayerName:t,...r}=e;return r}),i=e.cssLayerName||t,o={...e,theme:n};return i&&(o.cssLayerName=i),o}{let t;"object"==typeof r&&r.cssLayerName&&(t=r.cssLayerName);let n="string"==typeof r?r:(()=>{let{cssLayerName:e,...t}=r;return t})(),i=e.cssLayerName||t,o={...e,theme:n};return i&&(o.cssLayerName=i),o}}(s.appearance));let l=document.getElementById("clerk-components");return l||((l=document.createElement("div")).setAttribute("id","clerk-components"),document.body.appendChild(l)),{ensureMounted:r=>{let{preloadHint:c}=r||{};if(c&&(0,f.jr)(c).catch(()=>{}),!i){let r=(0,u.ph)();i=Promise.all([o.e("26"),o.e("545"),o.e("666")]).then(o.bind(o,8434)).then(i=>{let{createRoot:o}=i;return o(l).render((0,a.Y)(k,{getClerk:e,getEnvironment:t,options:s,onComponentsMounted:()=>{"development"===e().instanceType&&("function"==typeof requestIdleCallback?requestIdleCallback:e=>setTimeout(e,0))(()=>(0,m.I)(s)),r.resolve()},moduleManager:n})),r.promise.then(()=>S)})}return i.then(e=>e)}}})(s,l,c,p))}}(0,t._)(x,"version","1.2.2"),window.__internal_ClerkUICtor||(window.__internal_ClerkUICtor=x)})(),{}})());
|