@volter/twin-stripe 2.0.38 → 3.0.1
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/README.md +112 -207
- package/dist/generated/pack-facts.json +94 -0
- package/dist/journeys/coverage.json +596 -0
- package/dist/journeys/customer-life.json +6108 -0
- package/dist/journeys/customer-life.outline.md +371 -0
- package/dist/journeys/decisions.json +677 -0
- package/dist/journeys/demand.json +706 -0
- package/dist/journeys/score.json +853 -0
- package/dist/journeys/unreachable.json +102 -0
- package/dist/journeys/vendor-examples.json +8010 -0
- package/dist/spec/SOURCE.md +18 -0
- package/dist/spec/doc-examples.json +445 -0
- package/dist/spec/fixtures3.json.gz +0 -0
- package/dist/spec/openapi.json.gz +0 -0
- package/dist/spec/patches.json +34 -0
- package/dist/spec/sources.json +306 -0
- package/dist/src/cli.d.ts +0 -1
- package/dist/src/cli.js +11 -31
- package/dist/src/engine/after-payment.d.ts +8 -0
- package/dist/src/engine/after-payment.js +27 -0
- package/dist/src/engine/apps-secrets.d.ts +1 -0
- package/dist/src/engine/apps-secrets.js +3 -0
- package/dist/src/engine/balance.d.ts +5 -0
- package/dist/src/engine/balance.js +15 -0
- package/dist/src/engine/checkout.d.ts +24 -0
- package/dist/src/engine/checkout.js +30 -0
- package/dist/src/engine/common.d.ts +19 -0
- package/dist/src/engine/common.js +34 -0
- package/dist/src/engine/connect.d.ts +45 -0
- package/dist/src/engine/connect.js +108 -0
- package/dist/src/engine/customers.d.ts +4 -0
- package/dist/src/engine/customers.js +8 -0
- package/dist/src/engine/display.d.ts +11 -0
- package/dist/src/engine/display.js +13 -0
- package/dist/src/engine/files.d.ts +11 -0
- package/dist/src/engine/files.js +23 -0
- package/dist/src/engine/invoices.d.ts +21 -0
- package/dist/src/engine/invoices.js +84 -0
- package/dist/src/engine/issuing.d.ts +33 -0
- package/dist/src/engine/issuing.js +54 -0
- package/dist/src/engine/ledger.d.ts +8 -0
- package/dist/src/engine/ledger.js +8 -0
- package/dist/src/engine/oauth.d.ts +4 -0
- package/dist/src/engine/oauth.js +24 -0
- package/dist/src/engine/onboarding.d.ts +13 -0
- package/dist/src/engine/onboarding.js +42 -0
- package/dist/src/{stripe-params.d.ts → engine/params.d.ts} +20 -3
- package/dist/src/{stripe-params.js → engine/params.js} +7 -60
- package/dist/src/engine/payment-intents.d.ts +10 -0
- package/dist/src/engine/payment-intents.js +27 -0
- package/dist/src/engine/payment-methods.d.ts +16 -0
- package/dist/src/engine/payment-methods.js +22 -0
- package/dist/src/engine/radar.d.ts +2 -0
- package/dist/src/engine/radar.js +5 -0
- package/dist/src/engine/refunds.d.ts +1 -0
- package/dist/src/engine/refunds.js +3 -0
- package/dist/src/engine/renewals.d.ts +36 -0
- package/dist/src/engine/renewals.js +65 -0
- package/dist/src/{stripe-twin.d.ts → engine/stripe.d.ts} +12 -45
- package/dist/src/{stripe-twin.js → engine/stripe.js} +53 -387
- package/dist/src/engine/subscriptions.d.ts +11 -0
- package/dist/src/engine/subscriptions.js +30 -0
- package/dist/src/engine/transfers.d.ts +2 -0
- package/dist/src/engine/transfers.js +1 -0
- package/dist/src/{stripe-version.d.ts → engine/version.d.ts} +0 -2
- package/dist/src/{stripe-version.js → engine/version.js} +21 -9
- package/dist/src/engine/webhook-endpoints.d.ts +1 -0
- package/dist/src/engine/webhook-endpoints.js +12 -0
- package/dist/src/engine/webhooks.d.ts +31 -0
- package/dist/src/engine/webhooks.js +68 -0
- package/dist/src/fetch.d.ts +2 -0
- package/dist/src/fetch.js +26 -0
- package/dist/src/generated/surface.gen.json +1 -1
- package/dist/src/generated/ui.gen.json +1 -1
- package/dist/src/index.d.ts +5 -14
- package/dist/src/index.js +10 -75
- package/dist/src/manifest.js +478 -876
- package/dist/src/screens/billing-portal.d.ts +3 -0
- package/dist/src/screens/{portal.js → billing-portal.js} +32 -58
- package/dist/src/screens/checkout-js.d.ts +2 -0
- package/dist/src/screens/checkout-js.js +84 -0
- package/dist/src/screens/checkout.d.ts +2 -31
- package/dist/src/screens/checkout.js +32 -121
- package/dist/src/screens/connect-onboarding.d.ts +3 -0
- package/dist/src/screens/{onboarding.js → connect-onboarding.js} +38 -104
- package/dist/src/screens/dashboard.d.ts +3 -0
- package/dist/src/screens/dashboard.js +116 -0
- package/dist/src/screens/shared.d.ts +27 -0
- package/dist/src/screens/shared.js +87 -0
- package/dist/src/screens/stripe-js.d.ts +3 -0
- package/dist/src/screens/stripe-js.js +95 -0
- package/dist/src/semantics/account.d.ts +2 -0
- package/dist/src/semantics/account.js +8 -0
- package/dist/src/semantics/account_links.d.ts +2 -0
- package/dist/src/semantics/account_links.js +22 -0
- package/dist/src/semantics/accounts.d.ts +4 -0
- package/dist/src/semantics/accounts.js +40 -0
- package/dist/src/semantics/apps.d.ts +4 -0
- package/dist/src/semantics/{apps-secrets.js → apps.js} +14 -26
- package/dist/src/semantics/around.d.ts +2 -0
- package/dist/src/semantics/around.js +13 -0
- package/dist/src/semantics/balance.d.ts +2 -11
- package/dist/src/semantics/balance.js +3 -194
- package/dist/src/semantics/balance_transactions.d.ts +2 -0
- package/dist/src/semantics/balance_transactions.js +15 -0
- package/dist/src/semantics/billing_portal.d.ts +4 -0
- package/dist/src/semantics/billing_portal.js +36 -0
- package/dist/src/semantics/charges.d.ts +3 -28
- package/dist/src/semantics/charges.js +5 -202
- package/dist/src/semantics/checkout.d.ts +3 -20
- package/dist/src/semantics/checkout.js +21 -271
- package/dist/src/semantics/clock.d.ts +2 -0
- package/dist/src/semantics/clock.js +15 -0
- package/dist/src/semantics/coupons.d.ts +2 -6
- package/dist/src/semantics/coupons.js +2 -60
- package/dist/src/semantics/customers.d.ts +5 -6
- package/dist/src/semantics/customers.js +47 -413
- package/dist/src/semantics/doors.d.ts +23 -0
- package/dist/src/semantics/doors.js +73 -0
- package/dist/src/semantics/entitlements.d.ts +0 -2
- package/dist/src/semantics/entitlements.js +4 -95
- package/dist/src/semantics/events.d.ts +11 -0
- package/dist/src/semantics/events.js +31 -0
- package/dist/src/semantics/index.d.ts +2 -0
- package/dist/src/semantics/index.js +85 -0
- package/dist/src/semantics/invoice_payments.d.ts +2 -0
- package/dist/src/semantics/invoice_payments.js +12 -0
- package/dist/src/semantics/invoices.d.ts +11 -18
- package/dist/src/semantics/invoices.js +121 -440
- package/dist/src/semantics/issuing.d.ts +6 -13
- package/dist/src/semantics/issuing.js +58 -556
- package/dist/src/semantics/payment_intents.d.ts +3 -0
- package/dist/src/semantics/payment_intents.js +71 -0
- package/dist/src/semantics/payment_methods.d.ts +3 -0
- package/dist/src/semantics/payment_methods.js +15 -0
- package/dist/src/semantics/payouts.d.ts +3 -0
- package/dist/src/semantics/payouts.js +28 -0
- package/dist/src/semantics/prices.d.ts +4 -0
- package/dist/src/semantics/prices.js +37 -0
- package/dist/src/semantics/products.d.ts +4 -2
- package/dist/src/semantics/products.js +12 -138
- package/dist/src/semantics/promotion_codes.d.ts +3 -0
- package/dist/src/semantics/promotion_codes.js +35 -0
- package/dist/src/semantics/radar.d.ts +2 -2
- package/dist/src/semantics/radar.js +5 -74
- package/dist/src/semantics/refunds.d.ts +2 -9
- package/dist/src/semantics/refunds.js +3 -193
- package/dist/src/semantics/shared.d.ts +558 -55
- package/dist/src/semantics/shared.js +2070 -114
- package/dist/src/semantics/states.d.ts +462 -0
- package/dist/src/semantics/states.js +634 -0
- package/dist/src/semantics/subscriptions.d.ts +6 -11
- package/dist/src/semantics/subscriptions.js +37 -530
- package/dist/src/semantics/test_helpers.d.ts +3 -0
- package/dist/src/semantics/test_helpers.js +125 -0
- package/dist/src/semantics/transfers.d.ts +2 -2
- package/dist/src/semantics/transfers.js +6 -101
- package/dist/src/semantics/webhook_endpoints.d.ts +2 -0
- package/dist/src/semantics/webhook_endpoints.js +26 -0
- package/dist/src/server.d.ts +7 -0
- package/dist/src/server.js +7 -0
- package/generated/pack-facts.json +94 -0
- package/journeys/coverage.json +596 -0
- package/journeys/customer-life.json +6108 -0
- package/journeys/customer-life.outline.md +371 -0
- package/journeys/decisions.json +677 -0
- package/journeys/demand.json +706 -0
- package/journeys/score.json +853 -0
- package/journeys/unreachable.json +102 -0
- package/journeys/vendor-examples.json +8010 -0
- package/package.json +11 -20
- package/spec/SOURCE.md +18 -0
- package/spec/doc-examples.json +445 -0
- package/spec/fixtures3.json.gz +0 -0
- package/spec/openapi.json.gz +0 -0
- package/spec/patches.json +34 -0
- package/spec/sources.json +306 -0
- package/src/cli.ts +11 -28
- package/src/engine/after-payment.ts +29 -0
- package/src/engine/apps-secrets.ts +4 -0
- package/src/engine/balance.ts +32 -0
- package/src/engine/checkout.ts +39 -0
- package/src/engine/common.ts +49 -0
- package/src/engine/connect.ts +106 -0
- package/src/engine/customers.ts +10 -0
- package/src/engine/display.ts +18 -0
- package/src/engine/files.ts +28 -0
- package/src/engine/invoices.ts +102 -0
- package/src/engine/issuing.ts +66 -0
- package/src/engine/ledger.ts +48 -0
- package/src/engine/oauth.ts +18 -0
- package/src/engine/onboarding.ts +53 -0
- package/src/{stripe-params.ts → engine/params.ts} +7 -56
- package/src/engine/payment-intents.ts +32 -0
- package/src/engine/payment-methods.ts +24 -0
- package/src/engine/radar.ts +6 -0
- package/src/engine/refunds.ts +3 -0
- package/src/engine/renewals.ts +72 -0
- package/src/{stripe-twin.ts → engine/stripe.ts} +57 -400
- package/src/engine/subscriptions.ts +37 -0
- package/src/engine/transfers.ts +22 -0
- package/src/{stripe-version.ts → engine/version.ts} +19 -10
- package/src/engine/webhook-endpoints.ts +14 -0
- package/src/engine/webhooks.ts +70 -0
- package/src/fetch.ts +27 -0
- package/src/generated/surface.gen.json +1 -1
- package/src/generated/ui.gen.json +1 -1
- package/src/index.ts +10 -116
- package/src/manifest.ts +480 -904
- package/src/screens/{portal.tsx → billing-portal.tsx} +35 -42
- package/src/screens/checkout-js.ts +80 -0
- package/src/screens/checkout.tsx +32 -96
- package/src/screens/{onboarding.tsx → connect-onboarding.tsx} +39 -85
- package/src/screens/dashboard.tsx +178 -0
- package/src/screens/shared.tsx +84 -0
- package/src/screens/stripe-js.ts +102 -0
- package/src/semantics/account.ts +10 -0
- package/src/semantics/account_links.ts +20 -0
- package/src/semantics/accounts.ts +44 -0
- package/src/semantics/{apps-secrets.ts → apps.ts} +17 -33
- package/src/semantics/around.ts +17 -0
- package/src/semantics/balance.ts +6 -208
- package/src/semantics/balance_transactions.ts +18 -0
- package/src/semantics/billing_portal.ts +45 -0
- package/src/semantics/charges.ts +8 -212
- package/src/semantics/checkout.ts +25 -276
- package/src/semantics/clock.ts +19 -0
- package/src/semantics/coupons.ts +5 -68
- package/src/semantics/customers.ts +48 -414
- package/src/semantics/doors.ts +79 -0
- package/src/semantics/entitlements.ts +3 -94
- package/src/semantics/events.ts +37 -0
- package/src/semantics/index.ts +89 -0
- package/src/semantics/invoice_payments.ts +16 -0
- package/src/semantics/invoices.ts +112 -441
- package/src/semantics/issuing.ts +57 -573
- package/src/semantics/payment_intents.ts +76 -0
- package/src/semantics/payment_methods.ts +20 -0
- package/src/semantics/payouts.ts +29 -0
- package/src/semantics/prices.ts +41 -0
- package/src/semantics/products.ts +12 -146
- package/src/semantics/promotion_codes.ts +38 -0
- package/src/semantics/radar.ts +8 -79
- package/src/semantics/refunds.ts +4 -216
- package/src/semantics/shared.ts +2089 -135
- package/src/semantics/states.ts +662 -0
- package/src/semantics/subscriptions.ts +39 -542
- package/src/semantics/test_helpers.ts +119 -0
- package/src/semantics/transfers.ts +10 -132
- package/src/semantics/webhook_endpoints.ts +27 -0
- package/src/server.ts +7 -0
- package/client/dashboard-api.ts +0 -286
- package/client/stripe-mirror.css +0 -277
- package/client/stripe-mirror.tsx +0 -1559
- package/dist/client/dashboard-api.d.ts +0 -107
- package/dist/client/dashboard-api.js +0 -238
- package/dist/client/dashboard-api.ts +0 -286
- package/dist/client/stripe-mirror.bundle.js +0 -236
- package/dist/client/stripe-mirror.css +0 -277
- package/dist/client/stripe-mirror.d.ts +0 -134
- package/dist/client/stripe-mirror.js +0 -859
- package/dist/client/stripe-mirror.tsx +0 -1559
- package/dist/src/screens/connect-oauth.d.ts +0 -27
- package/dist/src/screens/connect-oauth.js +0 -414
- package/dist/src/screens/connect-settings.d.ts +0 -22
- package/dist/src/screens/connect-settings.js +0 -103
- package/dist/src/screens/consent-skin.d.ts +0 -4
- package/dist/src/screens/consent-skin.js +0 -18
- package/dist/src/screens/financial-connections.d.ts +0 -5
- package/dist/src/screens/financial-connections.js +0 -90
- package/dist/src/screens/identity.d.ts +0 -5
- package/dist/src/screens/identity.js +0 -86
- package/dist/src/screens/onboarding.d.ts +0 -13
- package/dist/src/screens/portal.d.ts +0 -5
- package/dist/src/screens/public-details.d.ts +0 -5
- package/dist/src/screens/public-details.js +0 -90
- package/dist/src/semantics/after-payment.d.ts +0 -22
- package/dist/src/semantics/after-payment.js +0 -99
- package/dist/src/semantics/apps-secrets.d.ts +0 -2
- package/dist/src/semantics/billing.d.ts +0 -2
- package/dist/src/semantics/billing.js +0 -220
- package/dist/src/semantics/connect.d.ts +0 -5
- package/dist/src/semantics/connect.js +0 -493
- package/dist/src/semantics/credit-notes.d.ts +0 -2
- package/dist/src/semantics/credit-notes.js +0 -172
- package/dist/src/semantics/disputes.d.ts +0 -2
- package/dist/src/semantics/disputes.js +0 -51
- package/dist/src/semantics/ephemeral-keys.d.ts +0 -2
- package/dist/src/semantics/ephemeral-keys.js +0 -34
- package/dist/src/semantics/files.d.ts +0 -2
- package/dist/src/semantics/files.js +0 -125
- package/dist/src/semantics/ledger.d.ts +0 -59
- package/dist/src/semantics/ledger.js +0 -200
- package/dist/src/semantics/payment-intents.d.ts +0 -18
- package/dist/src/semantics/payment-intents.js +0 -452
- package/dist/src/semantics/payment-links.d.ts +0 -2
- package/dist/src/semantics/payment-links.js +0 -133
- package/dist/src/semantics/payment-methods.d.ts +0 -20
- package/dist/src/semantics/payment-methods.js +0 -140
- package/dist/src/semantics/plans.d.ts +0 -5
- package/dist/src/semantics/plans.js +0 -121
- package/dist/src/semantics/platform.d.ts +0 -9
- package/dist/src/semantics/platform.js +0 -206
- package/dist/src/semantics/renewals.d.ts +0 -47
- package/dist/src/semantics/renewals.js +0 -281
- package/dist/src/semantics/setup-intents.d.ts +0 -2
- package/dist/src/semantics/setup-intents.js +0 -84
- package/dist/src/semantics/subscription-schedules.d.ts +0 -2
- package/dist/src/semantics/subscription-schedules.js +0 -119
- package/dist/src/semantics/tax.d.ts +0 -2
- package/dist/src/semantics/tax.js +0 -197
- package/dist/src/semantics/terminal.d.ts +0 -5
- package/dist/src/semantics/terminal.js +0 -182
- package/dist/src/semantics/test-clocks.d.ts +0 -6
- package/dist/src/semantics/test-clocks.js +0 -73
- package/dist/src/semantics/tokens.d.ts +0 -4
- package/dist/src/semantics/tokens.js +0 -44
- package/dist/src/semantics/treasury.d.ts +0 -2
- package/dist/src/semantics/treasury.js +0 -377
- package/dist/src/semantics/webhook-endpoints.d.ts +0 -3
- package/dist/src/semantics/webhook-endpoints.js +0 -85
- package/dist/src/stripe-budget.d.ts +0 -55
- package/dist/src/stripe-budget.js +0 -155
- package/dist/src/stripe-capabilities.d.ts +0 -3
- package/dist/src/stripe-capabilities.js +0 -5836
- package/dist/src/stripe-conformance.d.ts +0 -43
- package/dist/src/stripe-conformance.js +0 -105
- package/dist/src/stripe-connector.d.ts +0 -161
- package/dist/src/stripe-connector.js +0 -414
- package/dist/src/stripe-emit.d.ts +0 -2
- package/dist/src/stripe-emit.js +0 -145
- package/dist/src/stripe-events.d.ts +0 -93
- package/dist/src/stripe-events.js +0 -392
- package/dist/src/stripe-js.d.ts +0 -4
- package/dist/src/stripe-js.js +0 -70
- package/dist/src/stripe-mirror-ui.d.ts +0 -15
- package/dist/src/stripe-mirror-ui.js +0 -87
- package/dist/src/stripe-perform-harness.d.ts +0 -9
- package/dist/src/stripe-perform-harness.js +0 -26
- package/dist/src/stripe-server.d.ts +0 -33
- package/dist/src/stripe-server.js +0 -429
- package/dist/src/stripe-shared.d.ts +0 -109
- package/dist/src/stripe-shared.js +0 -276
- package/dist/src/stripe-ui-conformance.d.ts +0 -5
- package/dist/src/stripe-ui-conformance.js +0 -79
- package/dist/src/stripe-ui-structure.d.ts +0 -3
- package/dist/src/stripe-ui-structure.js +0 -168
- package/dist/test-fixtures/stripe-known-deviations.json +0 -110
- package/dist/test-fixtures/stripe-openapi-operations.SOURCE.md +0 -14
- package/dist/test-fixtures/stripe-openapi-operations.json +0 -4717
- package/dist/test-fixtures/stripe-schemas.SOURCE.md +0 -35
- package/dist/test-fixtures/stripe-schemas.json +0 -3813
- package/src/screens/connect-oauth.tsx +0 -400
- package/src/screens/connect-settings.tsx +0 -121
- package/src/screens/consent-skin.ts +0 -20
- package/src/screens/financial-connections.tsx +0 -101
- package/src/screens/identity.tsx +0 -96
- package/src/screens/public-details.tsx +0 -105
- package/src/semantics/after-payment.ts +0 -118
- package/src/semantics/billing.ts +0 -216
- package/src/semantics/connect.ts +0 -487
- package/src/semantics/credit-notes.ts +0 -168
- package/src/semantics/disputes.ts +0 -62
- package/src/semantics/ephemeral-keys.ts +0 -34
- package/src/semantics/files.ts +0 -143
- package/src/semantics/ledger.ts +0 -253
- package/src/semantics/payment-intents.ts +0 -463
- package/src/semantics/payment-links.ts +0 -148
- package/src/semantics/payment-methods.ts +0 -145
- package/src/semantics/plans.ts +0 -131
- package/src/semantics/platform.ts +0 -220
- package/src/semantics/renewals.ts +0 -279
- package/src/semantics/setup-intents.ts +0 -87
- package/src/semantics/subscription-schedules.ts +0 -129
- package/src/semantics/tax.ts +0 -220
- package/src/semantics/terminal.ts +0 -195
- package/src/semantics/test-clocks.ts +0 -77
- package/src/semantics/tokens.ts +0 -52
- package/src/semantics/treasury.ts +0 -383
- package/src/semantics/webhook-endpoints.ts +0 -87
- package/src/stripe-budget.ts +0 -181
- package/src/stripe-capabilities.ts +0 -5651
- package/src/stripe-conformance.ts +0 -124
- package/src/stripe-connector.ts +0 -462
- package/src/stripe-emit.ts +0 -157
- package/src/stripe-events.ts +0 -434
- package/src/stripe-js.ts +0 -70
- package/src/stripe-mirror-ui.ts +0 -90
- package/src/stripe-perform-harness.ts +0 -29
- package/src/stripe-server.ts +0 -393
- package/src/stripe-shared.ts +0 -297
- package/src/stripe-ui-conformance.ts +0 -88
- package/src/stripe-ui-structure.ts +0 -182
- package/test-fixtures/stripe-known-deviations.json +0 -110
- package/test-fixtures/stripe-openapi-operations.json +0 -4717
- package/test-fixtures/stripe-schemas.json +0 -3813
- /package/dist/src/{screens → engine}/industries.d.ts +0 -0
- /package/dist/src/{screens → engine}/industries.js +0 -0
- /package/dist/src/{semantics → engine}/test-cards.d.ts +0 -0
- /package/dist/src/{semantics → engine}/test-cards.js +0 -0
- /package/src/{screens → engine}/industries.ts +0 -0
- /package/src/{semantics → engine}/test-cards.ts +0 -0
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
var __=Object.create;var{getPrototypeOf:O_,defineProperty:rW,getOwnPropertyNames:L_}=Object;var F_=Object.prototype.hasOwnProperty;function N_(U){return this[U]}var w_,A_,z6=(U,q,R)=>{var K=U!=null&&typeof U==="object";if(K){var F=q?w_??=new WeakMap:A_??=new WeakMap,_=F.get(U);if(_)return _}R=U!=null?__(O_(U)):{};let A=q||!U||!U.__esModule?rW(R,"default",{value:U,enumerable:!0}):R;for(let O of L_(U))if(!F_.call(A,O))rW(A,O,{get:N_.bind(U,O),enumerable:!0});if(K)F.set(U,A);return A};var r8=(U,q)=>()=>(q||U((q={exports:{}}).exports,q),q.exports);var uZ=r8((T_,UG)=>{(function(){function U(M,S){Object.defineProperty(K.prototype,M,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",S[0],S[1])}})}function q(M){if(M===null||typeof M!=="object")return null;return M=cZ&&M[cZ]||M["@@iterator"],typeof M==="function"?M:null}function R(M,S){M=(M=M.constructor)&&(M.displayName||M.name)||"ReactClass";var E=M+"."+S;s[E]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",S,M),s[E]=!0)}function K(M,S,E){this.props=M,this.context=S,this.refs=R7,this.updater=E||X9}function F(){}function _(M,S,E){this.props=M,this.context=S,this.refs=R7,this.updater=E||X9}function A(){}function O(M){return""+M}function j(M){try{O(M);var S=!1}catch(a){S=!0}if(S){S=console;var E=S.error,u=typeof Symbol==="function"&&Symbol.toStringTag&&M[Symbol.toStringTag]||M.constructor.name||"Object";return E.call(S,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",u),O(M)}}function V(M){if(M==null)return null;if(typeof M==="function")return M.$$typeof===UX?null:M.displayName||M.name||null;if(typeof M==="string")return M;switch(M){case j2:return"Fragment";case z2:return"Profiler";case x:return"StrictMode";case B6:return"Suspense";case z4:return"SuspenseList";case d6:return"Activity"}if(typeof M==="object")switch(typeof M.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),M.$$typeof){case f2:return"Portal";case x2:return M.displayName||"Context";case V2:return(M._context.displayName||"Context")+".Consumer";case h2:var S=M.render;return M=M.displayName,M||(M=S.displayName||S.name||"",M=M!==""?"ForwardRef("+M+")":"ForwardRef"),M;case q5:return S=M.displayName||null,S!==null?S:V(M.type)||"Memo";case y5:S=M._payload,M=M._init;try{return V(M(S))}catch(E){}}return null}function f(M){if(M===j2)return"<>";if(typeof M==="object"&&M!==null&&M.$$typeof===y5)return"<...>";try{var S=V(M);return S?"<"+S+">":"<...>"}catch(E){return"<...>"}}function C(){var M=B2.A;return M===null?null:M.getOwner()}function k(){return Error("react-stack-top-frame")}function h(M){if(Z9.call(M,"key")){var S=Object.getOwnPropertyDescriptor(M,"key").get;if(S&&S.isReactWarning)return!1}return M.key!==void 0}function k2(M,S){function E(){sZ||(sZ=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",S))}E.isReactWarning=!0,Object.defineProperty(M,"key",{get:E,configurable:!0})}function i2(){var M=V(this.type);return Q8[M]||(Q8[M]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),M=this.props.ref,M!==void 0?M:null}function n2(M,S,E,u,a,J2){var Q2=E.ref;return M={$$typeof:t,type:M,key:S,props:E,_owner:u},(Q2!==void 0?Q2:null)!==null?Object.defineProperty(M,"ref",{enumerable:!1,get:i2}):Object.defineProperty(M,"ref",{enumerable:!1,value:null}),M._store={},Object.defineProperty(M._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(M,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(M,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.defineProperty(M,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:J2}),Object.freeze&&(Object.freeze(M.props),Object.freeze(M)),M}function W5(M,S){return S=n2(M.type,S,M.props,M._owner,M._debugStack,M._debugTask),M._store&&(S._store.validated=M._store.validated),S}function M5(M){f4(M)?M._store&&(M._store.validated=1):typeof M==="object"&&M!==null&&M.$$typeof===y5&&(M._payload.status==="fulfilled"?f4(M._payload.value)&&M._payload.value._store&&(M._payload.value._store.validated=1):M._store&&(M._store.validated=1))}function f4(M){return typeof M==="object"&&M!==null&&M.$$typeof===t}function Q6(M){var S={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(E){return S[E]})}function U6(M,S){return typeof M==="object"&&M!==null&&M.key!=null?(j(M.key),Q6(""+M.key)):S.toString(36)}function u6(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status==="string"?M.then(A,A):(M.status="pending",M.then(function(S){M.status==="pending"&&(M.status="fulfilled",M.value=S)},function(S){M.status==="pending"&&(M.status="rejected",M.reason=S)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function N4(M,S,E,u,a){var J2=typeof M;if(J2==="undefined"||J2==="boolean")M=null;var Q2=!1;if(M===null)Q2=!0;else switch(J2){case"bigint":case"string":case"number":Q2=!0;break;case"object":switch(M.$$typeof){case t:case f2:Q2=!0;break;case y5:return Q2=M._init,N4(Q2(M._payload),S,E,u,a)}}if(Q2){Q2=M,a=a(Q2);var P2=u===""?"."+U6(Q2,0):u;return m2(a)?(E="",P2!=null&&(E=P2.replace($9,"$&/")+"/"),N4(a,S,E,"",function(m4){return m4})):a!=null&&(f4(a)&&(a.key!=null&&(Q2&&Q2.key===a.key||j(a.key)),E=W5(a,E+(a.key==null||Q2&&Q2.key===a.key?"":(""+a.key).replace($9,"$&/")+"/")+P2),u!==""&&Q2!=null&&f4(Q2)&&Q2.key==null&&Q2._store&&!Q2._store.validated&&(E._store.validated=2),a=E),S.push(a)),1}if(Q2=0,P2=u===""?".":u+":",m2(M))for(var o=0;o<M.length;o++)u=M[o],J2=P2+U6(u,o),Q2+=N4(u,S,E,J2,a);else if(o=q(M),typeof o==="function")for(o===M.entries&&(G9||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),G9=!0),M=o.call(M),o=0;!(u=M.next()).done;)u=u.value,J2=P2+U6(u,o++),Q2+=N4(u,S,E,J2,a);else if(J2==="object"){if(typeof M.then==="function")return N4(u6(M),S,E,u,a);throw S=String(M),Error("Objects are not valid as a React child (found: "+(S==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":S)+"). If you meant to render a collection of children, use an array instead.")}return Q2}function w2(M,S,E){if(M==null)return M;var u=[],a=0;return N4(M,u,"","",function(J2){return S.call(E,J2,a++)}),u}function b5(M){if(M._status===-1){var S=M._ioInfo;S!=null&&(S.start=S.end=performance.now()),S=M._result;var E=S();if(E.then(function(a){if(M._status===0||M._status===-1){M._status=1,M._result=a;var J2=M._ioInfo;J2!=null&&(J2.end=performance.now()),E.status===void 0&&(E.status="fulfilled",E.value=a)}},function(a){if(M._status===0||M._status===-1){M._status=2,M._result=a;var J2=M._ioInfo;J2!=null&&(J2.end=performance.now()),E.status===void 0&&(E.status="rejected",E.reason=a)}}),S=M._ioInfo,S!=null){S.value=E;var u=E.displayName;typeof u==="string"&&(S.name=u)}M._status===-1&&(M._status=0,M._result=E)}if(M._status===1)return S=M._result,S===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
-
|
|
3
|
-
Your code should look like:
|
|
4
|
-
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
-
|
|
6
|
-
Did you accidentally put curly braces around the import?`,S),"default"in S||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
-
|
|
8
|
-
Your code should look like:
|
|
9
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,S),S.default;throw M._result}function p(){var M=B2.H;return M===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
-
2. You might be breaking the Rules of Hooks
|
|
12
|
-
3. You might have more than one copy of React in the same app
|
|
13
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),M}function M4(){B2.asyncTransitions--}function v2(M){if(B8===null)try{var S=("require"+Math.random()).slice(0,7);B8=(UG&&UG[S]).call(UG,"timers").setImmediate}catch(E){B8=function(u){aZ===!1&&(aZ=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var a=new MessageChannel;a.port1.onmessage=u,a.port2.postMessage(void 0)}}return B8(M)}function F2(M){return 1<M.length&&typeof AggregateError==="function"?AggregateError(M):M[0]}function j4(M,S){S!==H8-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),H8=S}function l(M,S,E){var u=B2.actQueue;if(u!==null)if(u.length!==0)try{X2(u),v2(function(){return l(M,S,E)});return}catch(a){B2.thrownErrors.push(a)}else B2.actQueue=null;0<B2.thrownErrors.length?(u=F2(B2.thrownErrors),B2.thrownErrors.length=0,E(u)):S(M)}function X2(M){if(!M8){M8=!0;var S=0;try{for(;S<M.length;S++){var E=M[S];do{B2.didUsePromise=!1;var u=E(!1);if(u!==null){if(B2.didUsePromise){M[S]=E,M.splice(0,S);return}E=u}else break}while(1)}M.length=0}catch(a){M.splice(0,S+1),B2.thrownErrors.push(a)}finally{M8=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=Symbol.for("react.transitional.element"),f2=Symbol.for("react.portal"),j2=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),z2=Symbol.for("react.profiler"),V2=Symbol.for("react.consumer"),x2=Symbol.for("react.context"),h2=Symbol.for("react.forward_ref"),B6=Symbol.for("react.suspense"),z4=Symbol.for("react.suspense_list"),q5=Symbol.for("react.memo"),y5=Symbol.for("react.lazy"),d6=Symbol.for("react.activity"),cZ=Symbol.iterator,s={},X9={isMounted:function(){return!1},enqueueForceUpdate:function(M){R(M,"forceUpdate")},enqueueReplaceState:function(M){R(M,"replaceState")},enqueueSetState:function(M){R(M,"setState")}},J8=Object.assign,R7={};Object.freeze(R7),K.prototype.isReactComponent={},K.prototype.setState=function(M,S){if(typeof M!=="object"&&typeof M!=="function"&&M!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,S,"setState")},K.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};var C4={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(O7 in C4)C4.hasOwnProperty(O7)&&U(O7,C4[O7]);F.prototype=K.prototype,C4=_.prototype=new F,C4.constructor=_,J8(C4,K.prototype),C4.isPureReactComponent=!0;var m2=Array.isArray,UX=Symbol.for("react.client.reference"),B2={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Z9=Object.prototype.hasOwnProperty,p2=console.createTask?console.createTask:function(){return null};C4={react_stack_bottom_frame:function(M){return M()}};var sZ,H6,Q8={},U8=C4.react_stack_bottom_frame.bind(C4,k)(),_G=p2(f(k)),G9=!1,$9=/\/+/g,_7=typeof reportError==="function"?reportError:function(M){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var S=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M==="object"&&M!==null&&typeof M.message==="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(S))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",M);return}console.error(M)},aZ=!1,B8=null,H8=0,W8=!1,M8=!1,BX=typeof queueMicrotask==="function"?function(M){queueMicrotask(function(){return queueMicrotask(M)})}:v2;C4=Object.freeze({__proto__:null,c:function(M){return p().useMemoCache(M)}});var O7={map:w2,forEach:function(M,S,E){w2(M,function(){S.apply(this,arguments)},E)},count:function(M){var S=0;return w2(M,function(){S++}),S},toArray:function(M){return w2(M,function(S){return S})||[]},only:function(M){if(!f4(M))throw Error("React.Children.only expected to receive a single React element child.");return M}};T_.Activity=d6,T_.Children=O7,T_.Component=K,T_.Fragment=j2,T_.Profiler=z2,T_.PureComponent=_,T_.StrictMode=x,T_.Suspense=B6,T_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B2,T_.__COMPILER_RUNTIME=C4,T_.act=function(M){var S=B2.actQueue,E=H8;H8++;var u=B2.actQueue=S!==null?S:[],a=!1;try{var J2=M()}catch(o){B2.thrownErrors.push(o)}if(0<B2.thrownErrors.length)throw j4(S,E),M=F2(B2.thrownErrors),B2.thrownErrors.length=0,M;if(J2!==null&&typeof J2==="object"&&typeof J2.then==="function"){var Q2=J2;return BX(function(){a||W8||(W8=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(o,m4){a=!0,Q2.then(function(K5){if(j4(S,E),E===0){try{X2(u),v2(function(){return l(K5,o,m4)})}catch(HX){B2.thrownErrors.push(HX)}if(0<B2.thrownErrors.length){var L7=F2(B2.thrownErrors);B2.thrownErrors.length=0,m4(L7)}}else o(K5)},function(K5){j4(S,E),0<B2.thrownErrors.length?(K5=F2(B2.thrownErrors),B2.thrownErrors.length=0,m4(K5)):m4(K5)})}}}var P2=J2;if(j4(S,E),E===0&&(X2(u),u.length!==0&&BX(function(){a||W8||(W8=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),B2.actQueue=null),0<B2.thrownErrors.length)throw M=F2(B2.thrownErrors),B2.thrownErrors.length=0,M;return{then:function(o,m4){a=!0,E===0?(B2.actQueue=u,v2(function(){return l(P2,o,m4)})):o(P2)}}},T_.cache=function(M){return function(){return M.apply(null,arguments)}},T_.cacheSignal=function(){return null},T_.captureOwnerStack=function(){var M=B2.getCurrentStack;return M===null?null:M()},T_.cloneElement=function(M,S,E){if(M===null||M===void 0)throw Error("The argument must be a React element, but you passed "+M+".");var u=J8({},M.props),a=M.key,J2=M._owner;if(S!=null){var Q2;X:{if(Z9.call(S,"ref")&&(Q2=Object.getOwnPropertyDescriptor(S,"ref").get)&&Q2.isReactWarning){Q2=!1;break X}Q2=S.ref!==void 0}Q2&&(J2=C()),h(S)&&(j(S.key),a=""+S.key);for(P2 in S)!Z9.call(S,P2)||P2==="key"||P2==="__self"||P2==="__source"||P2==="ref"&&S.ref===void 0||(u[P2]=S[P2])}var P2=arguments.length-2;if(P2===1)u.children=E;else if(1<P2){Q2=Array(P2);for(var o=0;o<P2;o++)Q2[o]=arguments[o+2];u.children=Q2}u=n2(M.type,a,u,J2,M._debugStack,M._debugTask);for(a=2;a<arguments.length;a++)M5(arguments[a]);return u},T_.createContext=function(M){return M={$$typeof:x2,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:V2,_context:M},M._currentRenderer=null,M._currentRenderer2=null,M},T_.createElement=function(M,S,E){for(var u=2;u<arguments.length;u++)M5(arguments[u]);u={};var a=null;if(S!=null)for(o in H6||!("__self"in S)||"key"in S||(H6=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),h(S)&&(j(S.key),a=""+S.key),S)Z9.call(S,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(u[o]=S[o]);var J2=arguments.length-2;if(J2===1)u.children=E;else if(1<J2){for(var Q2=Array(J2),P2=0;P2<J2;P2++)Q2[P2]=arguments[P2+2];Object.freeze&&Object.freeze(Q2),u.children=Q2}if(M&&M.defaultProps)for(o in J2=M.defaultProps,J2)u[o]===void 0&&(u[o]=J2[o]);a&&k2(u,typeof M==="function"?M.displayName||M.name||"Unknown":M);var o=1e4>B2.recentlyCreatedOwnerStacks++;return n2(M,a,u,C(),o?Error("react-stack-top-frame"):U8,o?p2(f(M)):_G)},T_.createRef=function(){var M={current:null};return Object.seal(M),M},T_.forwardRef=function(M){M!=null&&M.$$typeof===q5?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof M!=="function"?console.error("forwardRef requires a render function but was given %s.",M===null?"null":typeof M):M.length!==0&&M.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",M.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),M!=null&&M.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var S={$$typeof:h2,render:M},E;return Object.defineProperty(S,"displayName",{enumerable:!1,configurable:!0,get:function(){return E},set:function(u){E=u,M.name||M.displayName||(Object.defineProperty(M,"name",{value:u}),M.displayName=u)}}),S},T_.isValidElement=f4,T_.lazy=function(M){M={_status:-1,_result:M};var S={$$typeof:y5,_payload:M,_init:b5},E={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return M._ioInfo=E,S._debugInfo=[{awaited:E}],S},T_.memo=function(M,S){M==null&&console.error("memo: The first argument must be a component. Instead received: %s",M===null?"null":typeof M),S={$$typeof:q5,type:M,compare:S===void 0?null:S};var E;return Object.defineProperty(S,"displayName",{enumerable:!1,configurable:!0,get:function(){return E},set:function(u){E=u,M.name||M.displayName||(Object.defineProperty(M,"name",{value:u}),M.displayName=u)}}),S},T_.startTransition=function(M){var S=B2.T,E={};E._updatedFibers=new Set,B2.T=E;try{var u=M(),a=B2.S;a!==null&&a(E,u),typeof u==="object"&&u!==null&&typeof u.then==="function"&&(B2.asyncTransitions++,u.then(M4,M4),u.then(A,_7))}catch(J2){_7(J2)}finally{S===null&&E._updatedFibers&&(M=E._updatedFibers.size,E._updatedFibers.clear(),10<M&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),S!==null&&E.types!==null&&(S.types!==null&&S.types!==E.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),S.types=E.types),B2.T=S}},T_.unstable_useCacheRefresh=function(){return p().useCacheRefresh()},T_.use=function(M){return p().use(M)},T_.useActionState=function(M,S,E){return p().useActionState(M,S,E)},T_.useCallback=function(M,S){return p().useCallback(M,S)},T_.useContext=function(M){var S=p();return M.$$typeof===V2&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),S.useContext(M)},T_.useDebugValue=function(M,S){return p().useDebugValue(M,S)},T_.useDeferredValue=function(M,S){return p().useDeferredValue(M,S)},T_.useEffect=function(M,S){return M==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useEffect(M,S)},T_.useEffectEvent=function(M){return p().useEffectEvent(M)},T_.useId=function(){return p().useId()},T_.useImperativeHandle=function(M,S,E){return p().useImperativeHandle(M,S,E)},T_.useInsertionEffect=function(M,S){return M==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useInsertionEffect(M,S)},T_.useLayoutEffect=function(M,S){return M==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useLayoutEffect(M,S)},T_.useMemo=function(M,S){return p().useMemo(M,S)},T_.useOptimistic=function(M,S){return p().useOptimistic(M,S)},T_.useReducer=function(M,S,E){return p().useReducer(M,S,E)},T_.useRef=function(M){return p().useRef(M)},T_.useState=function(M){return p().useState(M)},T_.useSyncExternalStore=function(M,S,E){return p().useSyncExternalStore(M,S,E)},T_.useTransition=function(){return p().useTransition()},T_.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var tW=r8((I_)=>{(function(){function U(){if(Q6=!1,w2){var l=I_.unstable_now();M4=l;var X2=!0;try{X:{M5=!1,f4&&(f4=!1,u6(b5),b5=-1),W5=!0;var t=n2;try{Z:{_(l);for(i2=R(k);i2!==null&&!(i2.expirationTime>l&&O());){var f2=i2.callback;if(typeof f2==="function"){i2.callback=null,n2=i2.priorityLevel;var j2=f2(i2.expirationTime<=l);if(l=I_.unstable_now(),typeof j2==="function"){i2.callback=j2,_(l),X2=!0;break Z}i2===R(k)&&K(k),_(l)}else K(k);i2=R(k)}if(i2!==null)X2=!0;else{var x=R(h);x!==null&&j(A,x.startTime-l),X2=!1}}break X}finally{i2=null,n2=t,W5=!1}X2=void 0}}finally{X2?v2():w2=!1}}}function q(l,X2){var t=l.length;l.push(X2);X:for(;0<t;){var f2=t-1>>>1,j2=l[f2];if(0<F(j2,X2))l[f2]=X2,l[t]=j2,t=f2;else break X}}function R(l){return l.length===0?null:l[0]}function K(l){if(l.length===0)return null;var X2=l[0],t=l.pop();if(t!==X2){l[0]=t;X:for(var f2=0,j2=l.length,x=j2>>>1;f2<x;){var z2=2*(f2+1)-1,V2=l[z2],x2=z2+1,h2=l[x2];if(0>F(V2,t))x2<j2&&0>F(h2,V2)?(l[f2]=h2,l[x2]=t,f2=x2):(l[f2]=V2,l[z2]=t,f2=z2);else if(x2<j2&&0>F(h2,t))l[f2]=h2,l[x2]=t,f2=x2;else break X}}return X2}function F(l,X2){var t=l.sortIndex-X2.sortIndex;return t!==0?t:l.id-X2.id}function _(l){for(var X2=R(h);X2!==null;){if(X2.callback===null)K(h);else if(X2.startTime<=l)K(h),X2.sortIndex=X2.expirationTime,q(k,X2);else break;X2=R(h)}}function A(l){if(f4=!1,_(l),!M5)if(R(k)!==null)M5=!0,w2||(w2=!0,v2());else{var X2=R(h);X2!==null&&j(A,X2.startTime-l)}}function O(){return Q6?!0:I_.unstable_now()-M4<p?!1:!0}function j(l,X2){b5=U6(function(){l(I_.unstable_now())},X2)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),I_.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var V=performance;I_.unstable_now=function(){return V.now()}}else{var f=Date,C=f.now();I_.unstable_now=function(){return f.now()-C}}var k=[],h=[],k2=1,i2=null,n2=3,W5=!1,M5=!1,f4=!1,Q6=!1,U6=typeof setTimeout==="function"?setTimeout:null,u6=typeof clearTimeout==="function"?clearTimeout:null,N4=typeof setImmediate<"u"?setImmediate:null,w2=!1,b5=-1,p=5,M4=-1;if(typeof N4==="function")var v2=function(){N4(U)};else if(typeof MessageChannel<"u"){var F2=new MessageChannel,j4=F2.port2;F2.port1.onmessage=U,v2=function(){j4.postMessage(null)}}else v2=function(){U6(U,0)};I_.unstable_IdlePriority=5,I_.unstable_ImmediatePriority=1,I_.unstable_LowPriority=4,I_.unstable_NormalPriority=3,I_.unstable_Profiling=null,I_.unstable_UserBlockingPriority=2,I_.unstable_cancelCallback=function(l){l.callback=null},I_.unstable_forceFrameRate=function(l){0>l||125<l?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):p=0<l?Math.floor(1000/l):5},I_.unstable_getCurrentPriorityLevel=function(){return n2},I_.unstable_next=function(l){switch(n2){case 1:case 2:case 3:var X2=3;break;default:X2=n2}var t=n2;n2=X2;try{return l()}finally{n2=t}},I_.unstable_requestPaint=function(){Q6=!0},I_.unstable_runWithPriority=function(l,X2){switch(l){case 1:case 2:case 3:case 4:case 5:break;default:l=3}var t=n2;n2=l;try{return X2()}finally{n2=t}},I_.unstable_scheduleCallback=function(l,X2,t){var f2=I_.unstable_now();switch(typeof t==="object"&&t!==null?(t=t.delay,t=typeof t==="number"&&0<t?f2+t:f2):t=f2,l){case 1:var j2=-1;break;case 2:j2=250;break;case 5:j2=1073741823;break;case 4:j2=1e4;break;default:j2=5000}return j2=t+j2,l={id:k2++,callback:X2,priorityLevel:l,startTime:t,expirationTime:j2,sortIndex:-1},t>f2?(l.sortIndex=t,q(h,l),R(k)===null&&l===R(h)&&(f4?(u6(b5),b5=-1):f4=!0,j(A,t-f2))):(l.sortIndex=j2,q(k,l),M5||W5||(M5=!0,w2||(w2=!0,v2()))),l},I_.unstable_shouldYield=O,I_.unstable_wrapCallback=function(l){var X2=n2;return function(){var t=n2;n2=X2;try{return l.apply(this,arguments)}finally{n2=t}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var eW=r8((P_)=>{var oY=z6(uZ());(function(){function U(){}function q(f){return""+f}function R(f,C,k){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{q(h);var k2=!1}catch(i2){k2=!0}return k2&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&h[Symbol.toStringTag]||h.constructor.name||"Object"),q(h)),{$$typeof:j,key:h==null?null:""+h,children:f,containerInfo:C,implementation:k}}function K(f,C){if(f==="font")return"";if(typeof C==="string")return C==="use-credentials"?C:""}function F(f){return f===null?"`null`":f===void 0?"`undefined`":f===""?"an empty string":'something with type "'+typeof f+'"'}function _(f){return f===null?"`null`":f===void 0?"`undefined`":f===""?"an empty string":typeof f==="string"?JSON.stringify(f):typeof f==="number"?"`"+f+"`":'something with type "'+typeof f+'"'}function A(){var f=V.H;return f===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
14
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
|
-
2. You might be breaking the Rules of Hooks
|
|
16
|
-
3. You might have more than one copy of React in the same app
|
|
17
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),f}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var O={d:{f:U,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:U,C:U,L:U,m:U,X:U,S:U,M:U},p:0,findDOMNode:null},j=Symbol.for("react.portal"),V=oY.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),P_.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,P_.createPortal=function(f,C){var k=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!C||C.nodeType!==1&&C.nodeType!==9&&C.nodeType!==11)throw Error("Target container is not a DOM element.");return R(f,C,null,k)},P_.flushSync=function(f){var C=V.T,k=O.p;try{if(V.T=null,O.p=2,f)return f()}finally{V.T=C,O.p=k,O.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},P_.preconnect=function(f,C){typeof f==="string"&&f?C!=null&&typeof C!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",_(C)):C!=null&&typeof C.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",F(C.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",F(f)),typeof f==="string"&&(C?(C=C.crossOrigin,C=typeof C==="string"?C==="use-credentials"?C:"":void 0):C=null,O.d.C(f,C))},P_.prefetchDNS=function(f){if(typeof f!=="string"||!f)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",F(f));else if(1<arguments.length){var C=arguments[1];typeof C==="object"&&C.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",_(C)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",_(C))}typeof f==="string"&&O.d.D(f)},P_.preinit=function(f,C){if(typeof f==="string"&&f?C==null||typeof C!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",_(C)):C.as!=="style"&&C.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',_(C.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",F(f)),typeof f==="string"&&C&&typeof C.as==="string"){var k=C.as,h=K(k,C.crossOrigin),k2=typeof C.integrity==="string"?C.integrity:void 0,i2=typeof C.fetchPriority==="string"?C.fetchPriority:void 0;k==="style"?O.d.S(f,typeof C.precedence==="string"?C.precedence:void 0,{crossOrigin:h,integrity:k2,fetchPriority:i2}):k==="script"&&O.d.X(f,{crossOrigin:h,integrity:k2,fetchPriority:i2,nonce:typeof C.nonce==="string"?C.nonce:void 0})}},P_.preinitModule=function(f,C){var k="";if(typeof f==="string"&&f||(k+=" The `href` argument encountered was "+F(f)+"."),C!==void 0&&typeof C!=="object"?k+=" The `options` argument encountered was "+F(C)+".":C&&("as"in C)&&C.as!=="script"&&(k+=" The `as` option encountered was "+_(C.as)+"."),k)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",k);else switch(k=C&&typeof C.as==="string"?C.as:"script",k){case"script":break;default:k=_(k),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',k,f)}if(typeof f==="string")if(typeof C==="object"&&C!==null){if(C.as==null||C.as==="script")k=K(C.as,C.crossOrigin),O.d.M(f,{crossOrigin:k,integrity:typeof C.integrity==="string"?C.integrity:void 0,nonce:typeof C.nonce==="string"?C.nonce:void 0})}else C==null&&O.d.M(f)},P_.preload=function(f,C){var k="";if(typeof f==="string"&&f||(k+=" The `href` argument encountered was "+F(f)+"."),C==null||typeof C!=="object"?k+=" The `options` argument encountered was "+F(C)+".":typeof C.as==="string"&&C.as||(k+=" The `as` option encountered was "+F(C.as)+"."),k&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',k),typeof f==="string"&&typeof C==="object"&&C!==null&&typeof C.as==="string"){k=C.as;var h=K(k,C.crossOrigin);O.d.L(f,k,{crossOrigin:h,integrity:typeof C.integrity==="string"?C.integrity:void 0,nonce:typeof C.nonce==="string"?C.nonce:void 0,type:typeof C.type==="string"?C.type:void 0,fetchPriority:typeof C.fetchPriority==="string"?C.fetchPriority:void 0,referrerPolicy:typeof C.referrerPolicy==="string"?C.referrerPolicy:void 0,imageSrcSet:typeof C.imageSrcSet==="string"?C.imageSrcSet:void 0,imageSizes:typeof C.imageSizes==="string"?C.imageSizes:void 0,media:typeof C.media==="string"?C.media:void 0})}},P_.preloadModule=function(f,C){var k="";typeof f==="string"&&f||(k+=" The `href` argument encountered was "+F(f)+"."),C!==void 0&&typeof C!=="object"?k+=" The `options` argument encountered was "+F(C)+".":C&&("as"in C)&&typeof C.as!=="string"&&(k+=" The `as` option encountered was "+F(C.as)+"."),k&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',k),typeof f==="string"&&(C?(k=K(C.as,C.crossOrigin),O.d.m(f,{as:typeof C.as==="string"&&C.as!=="script"?C.as:void 0,crossOrigin:k,integrity:typeof C.integrity==="string"?C.integrity:void 0})):O.d.m(f))},P_.requestFormReset=function(f){O.d.r(f)},P_.unstable_batchedUpdates=function(f,C){return f(C)},P_.useFormState=function(f,C,k){return A().useFormState(f,C,k)},P_.useFormStatus=function(){return A().useHostTransitionStatus()},P_.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var ZM=r8((rL,XM)=>{var C_=z6(eW());XM.exports=C_});var GM=r8((S_)=>{var C2=z6(tW()),zX=z6(uZ()),rY=z6(ZM());(function(){function U(X,Z){for(X=X.memoizedState;X!==null&&0<Z;)X=X.next,Z--;return X}function q(X,Z,G,$){if(G>=Z.length)return $;var Y=Z[G],z=w4(X)?X.slice():R2({},X);return z[Y]=q(X[Y],Z,G+1,$),z}function R(X,Z,G){if(Z.length!==G.length)console.warn("copyWithRename() expects paths of the same length");else{for(var $=0;$<G.length-1;$++)if(Z[$]!==G[$]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return K(X,Z,G,0)}}function K(X,Z,G,$){var Y=Z[$],z=w4(X)?X.slice():R2({},X);return $+1===Z.length?(z[G[$]]=z[Y],w4(z)?z.splice(Y,1):delete z[Y]):z[Y]=K(X[Y],Z,G,$+1),z}function F(X,Z,G){var $=Z[G],Y=w4(X)?X.slice():R2({},X);if(G+1===Z.length)return w4(Y)?Y.splice($,1):delete Y[$],Y;return Y[$]=F(X[$],Z,G+1),Y}function _(){return!1}function A(){return null}function O(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function j(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function V(){}function f(){}function C(X){var Z=[];return X.forEach(function(G){Z.push(G)}),Z.sort().join(", ")}function k(X,Z,G,$){return new zq(X,Z,G,$)}function h(X,Z){X.context===E7&&(_$(X.current,2,Z,X,null,null),_9())}function k2(X,Z){if(E5!==null){var G=Z.staleFamilies;Z=Z.updatedFamilies,xX(),$J(X.current,Z,G),_9()}}function i2(X){E5=X}function n2(X){return!(!X||X.nodeType!==1&&X.nodeType!==9&&X.nodeType!==11)}function W5(X){var Z=X,G=X;if(X.alternate)for(;Z.return;)Z=Z.return;else{X=Z;do Z=X,(Z.flags&4098)!==0&&(G=Z.return),X=Z.return;while(X)}return Z.tag===3?G:null}function M5(X){if(X.tag===13){var Z=X.memoizedState;if(Z===null&&(X=X.alternate,X!==null&&(Z=X.memoizedState)),Z!==null)return Z.dehydrated}return null}function f4(X){if(X.tag===31){var Z=X.memoizedState;if(Z===null&&(X=X.alternate,X!==null&&(Z=X.memoizedState)),Z!==null)return Z.dehydrated}return null}function Q6(X){if(W5(X)!==X)throw Error("Unable to find node on an unmounted component.")}function U6(X){var Z=X.alternate;if(!Z){if(Z=W5(X),Z===null)throw Error("Unable to find node on an unmounted component.");return Z!==X?null:X}for(var G=X,$=Z;;){var Y=G.return;if(Y===null)break;var z=Y.alternate;if(z===null){if($=Y.return,$!==null){G=$;continue}break}if(Y.child===z.child){for(z=Y.child;z;){if(z===G)return Q6(Y),X;if(z===$)return Q6(Y),Z;z=z.sibling}throw Error("Unable to find node on an unmounted component.")}if(G.return!==$.return)G=Y,$=z;else{for(var J=!1,B=Y.child;B;){if(B===G){J=!0,G=Y,$=z;break}if(B===$){J=!0,$=Y,G=z;break}B=B.sibling}if(!J){for(B=z.child;B;){if(B===G){J=!0,G=z,$=Y;break}if(B===$){J=!0,$=z,G=Y;break}B=B.sibling}if(!J)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(G.alternate!==$)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(G.tag!==3)throw Error("Unable to find node on an unmounted component.");return G.stateNode.current===G?X:Z}function u6(X){var Z=X.tag;if(Z===5||Z===26||Z===27||Z===6)return X;for(X=X.child;X!==null;){if(Z=u6(X),Z!==null)return Z;X=X.sibling}return null}function N4(X){if(X===null||typeof X!=="object")return null;return X=HB&&X[HB]||X["@@iterator"],typeof X==="function"?X:null}function w2(X){if(X==null)return null;if(typeof X==="function")return X.$$typeof===CK?null:X.displayName||X.name||null;if(typeof X==="string")return X;switch(X){case T9:return"Fragment";case A$:return"Profiler";case G1:return"StrictMode";case I$:return"Suspense";case P$:return"SuspenseList";case C$:return"Activity"}if(typeof X==="object")switch(typeof X.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),X.$$typeof){case A9:return"Portal";case v6:return X.displayName||"Context";case T$:return(X._context.displayName||"Context")+".Consumer";case sX:var Z=X.render;return X=X.displayName,X||(X=Z.displayName||Z.name||"",X=X!==""?"ForwardRef("+X+")":"ForwardRef"),X;case $1:return Z=X.displayName||null,Z!==null?Z:w2(X.type)||"Memo";case T5:Z=X._payload,X=X._init;try{return w2(X(Z))}catch(G){}}return null}function b5(X){return typeof X.tag==="number"?p(X):typeof X.name==="string"?X.name:null}function p(X){var Z=X.type;switch(X.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(Z._context.displayName||"Context")+".Consumer";case 10:return Z.displayName||"Context";case 18:return"DehydratedFragment";case 11:return X=Z.render,X=X.displayName||X.name||"",Z.displayName||(X!==""?"ForwardRef("+X+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return Z;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return w2(Z);case 8:return Z===G1?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof Z==="function")return Z.displayName||Z.name||null;if(typeof Z==="string")return Z;break;case 29:if(Z=X._debugInfo,Z!=null){for(var G=Z.length-1;0<=G;G--)if(typeof Z[G].name==="string")return Z[G].name}if(X.return!==null)return p(X.return)}return null}function M4(X){return{current:X}}function v2(X,Z){0>t6?console.error("Unexpected pop."):(Z!==v$[t6]&&console.error("Unexpected Fiber popped."),X.current=S$[t6],S$[t6]=null,v$[t6]=null,t6--)}function F2(X,Z,G){t6++,S$[t6]=X.current,v$[t6]=G,X.current=Z}function j4(X){return X===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),X}function l(X,Z){F2(y7,Z,X),F2(aX,X,X),F2(b7,null,X);var G=Z.nodeType;switch(G){case 9:case 11:G=G===9?"#document":"#fragment",Z=(Z=Z.documentElement)?(Z=Z.namespaceURI)?jU(Z):M7:M7;break;default:if(G=Z.tagName,Z=Z.namespaceURI)Z=jU(Z),Z=VU(Z,G);else switch(G){case"svg":Z=$X;break;case"math":Z=ZG;break;default:Z=M7}}G=G.toLowerCase(),G=vz(null,G),G={context:Z,ancestorInfo:G},v2(b7,X),F2(b7,G,X)}function X2(X){v2(b7,X),v2(aX,X),v2(y7,X)}function t(){return j4(b7.current)}function f2(X){X.memoizedState!==null&&F2(Y1,X,X);var Z=j4(b7.current),G=X.type,$=VU(Z.context,G);G=vz(Z.ancestorInfo,G),$={context:$,ancestorInfo:G},Z!==$&&(F2(aX,X,X),F2(b7,$,X))}function j2(X){aX.current===X&&(v2(b7,X),v2(aX,X)),Y1.current===X&&(v2(Y1,X),EZ._currentValue=o8)}function x(){}function z2(){if(iX===0){WB=console.log,MB=console.info,qB=console.warn,KB=console.error,RB=console.group,_B=console.groupCollapsed,OB=console.groupEnd;var X={configurable:!0,enumerable:!0,value:x,writable:!0};Object.defineProperties(console,{info:X,log:X,warn:X,error:X,group:X,groupCollapsed:X,groupEnd:X})}iX++}function V2(){if(iX--,iX===0){var X={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R2({},X,{value:WB}),info:R2({},X,{value:MB}),warn:R2({},X,{value:qB}),error:R2({},X,{value:KB}),group:R2({},X,{value:RB}),groupCollapsed:R2({},X,{value:_B}),groupEnd:R2({},X,{value:OB})})}0>iX&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function x2(X){var Z=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,X=X.stack,Error.prepareStackTrace=Z,X.startsWith(`Error: react-stack-top-frame
|
|
18
|
-
`)&&(X=X.slice(29)),Z=X.indexOf(`
|
|
19
|
-
`),Z!==-1&&(X=X.slice(Z+1)),Z=X.indexOf("react_stack_bottom_frame"),Z!==-1&&(Z=X.lastIndexOf(`
|
|
20
|
-
`,Z)),Z!==-1)X=X.slice(0,Z);else return"";return X}function h2(X){if(k$===void 0)try{throw Error()}catch(G){var Z=G.stack.trim().match(/\n( *(at )?)/);k$=Z&&Z[1]||"",LB=-1<G.stack.indexOf(`
|
|
21
|
-
at`)?" (<anonymous>)":-1<G.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
22
|
-
`+k$+X+LB}function B6(X,Z){if(!X||g$)return"";var G=b$.get(X);if(G!==void 0)return G;g$=!0,G=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var $=null;$=b.H,b.H=null,z2();try{var Y={DetermineComponentFrameRoot:function(){try{if(Z){var N=function(){throw Error()};if(Object.defineProperty(N.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(N,[])}catch(m){var v=m}Reflect.construct(X,[],N)}else{try{N.call()}catch(m){v=m}X.call(N.prototype)}}else{try{throw Error()}catch(m){v=m}(N=X())&&typeof N.catch==="function"&&N.catch(function(){})}}catch(m){if(m&&v&&typeof m.stack==="string")return[m.stack,v.stack]}return[null,null]}};Y.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var z=Object.getOwnPropertyDescriptor(Y.DetermineComponentFrameRoot,"name");z&&z.configurable&&Object.defineProperty(Y.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var J=Y.DetermineComponentFrameRoot(),B=J[0],H=J[1];if(B&&H){var W=B.split(`
|
|
23
|
-
`),I=H.split(`
|
|
24
|
-
`);for(J=z=0;z<W.length&&!W[z].includes("DetermineComponentFrameRoot");)z++;for(;J<I.length&&!I[J].includes("DetermineComponentFrameRoot");)J++;if(z===W.length||J===I.length)for(z=W.length-1,J=I.length-1;1<=z&&0<=J&&W[z]!==I[J];)J--;for(;1<=z&&0<=J;z--,J--)if(W[z]!==I[J]){if(z!==1||J!==1)do if(z--,J--,0>J||W[z]!==I[J]){var P=`
|
|
25
|
-
`+W[z].replace(" at new "," at ");return X.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",X.displayName)),typeof X==="function"&&b$.set(X,P),P}while(1<=z&&0<=J);break}}}finally{g$=!1,b.H=$,V2(),Error.prepareStackTrace=G}return W=(W=X?X.displayName||X.name:"")?h2(W):"",typeof X==="function"&&b$.set(X,W),W}function z4(X,Z){switch(X.tag){case 26:case 27:case 5:return h2(X.type);case 16:return h2("Lazy");case 13:return X.child!==Z&&Z!==null?h2("Suspense Fallback"):h2("Suspense");case 19:return h2("SuspenseList");case 0:case 15:return B6(X.type,!1);case 11:return B6(X.type.render,!1);case 1:return B6(X.type,!0);case 31:return h2("Activity");default:return""}}function q5(X){try{var Z="",G=null;do{Z+=z4(X,G);var $=X._debugInfo;if($)for(var Y=$.length-1;0<=Y;Y--){var z=$[Y];if(typeof z.name==="string"){var J=Z;X:{var{name:B,env:H,debugLocation:W}=z;if(W!=null){var I=x2(W),P=I.lastIndexOf(`
|
|
26
|
-
`),N=P===-1?I:I.slice(P+1);if(N.indexOf(B)!==-1){var v=`
|
|
27
|
-
`+N;break X}}v=h2(B+(H?" ["+H+"]":""))}Z=J+v}}G=X,X=X.return}while(X);return Z}catch(m){return`
|
|
28
|
-
Error generating stack: `+m.message+`
|
|
29
|
-
`+m.stack}}function y5(X){return(X=X?X.displayName||X.name:"")?h2(X):""}function d6(){if(I5===null)return null;var X=I5._debugOwner;return X!=null?b5(X):null}function cZ(){if(I5===null)return"";var X=I5;try{var Z="";switch(X.tag===6&&(X=X.return),X.tag){case 26:case 27:case 5:Z+=h2(X.type);break;case 13:Z+=h2("Suspense");break;case 19:Z+=h2("SuspenseList");break;case 31:Z+=h2("Activity");break;case 30:case 0:case 15:case 1:X._debugOwner||Z!==""||(Z+=y5(X.type));break;case 11:X._debugOwner||Z!==""||(Z+=y5(X.type.render))}for(;X;)if(typeof X.tag==="number"){var G=X;X=G._debugOwner;var $=G._debugStack;if(X&&$){var Y=x2($);Y!==""&&(Z+=`
|
|
30
|
-
`+Y)}}else if(X.debugStack!=null){var z=X.debugStack;(X=X.owner)&&z&&(Z+=`
|
|
31
|
-
`+x2(z))}else break;var J=Z}catch(B){J=`
|
|
32
|
-
Error generating stack: `+B.message+`
|
|
33
|
-
`+B.stack}return J}function s(X,Z,G,$,Y,z,J){var B=I5;X9(X);try{return X!==null&&X._debugTask?X._debugTask.run(Z.bind(null,G,$,Y,z,J)):Z(G,$,Y,z,J)}finally{X9(B)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function X9(X){b.getCurrentStack=X===null?null:cZ,k6=!1,I5=X}function J8(X){return typeof Symbol==="function"&&Symbol.toStringTag&&X[Symbol.toStringTag]||X.constructor.name||"Object"}function R7(X){try{return C4(X),!1}catch(Z){return!0}}function C4(X){return""+X}function m2(X,Z){if(R7(X))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",Z,J8(X)),C4(X)}function UX(X,Z){if(R7(X))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",Z,J8(X)),C4(X)}function B2(X){if(R7(X))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",J8(X)),C4(X)}function Z9(X){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var Z=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(Z.isDisabled)return!0;if(!Z.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{P9=Z.inject(X),d4=Z}catch(G){console.error("React instrumentation encountered an error: %o.",G)}return Z.checkDCE?!0:!1}function p2(X){if(typeof fK==="function"&&jK(X),d4&&typeof d4.setStrictMode==="function")try{d4.setStrictMode(P9,X)}catch(Z){g6||(g6=!0,console.error("React instrumentation encountered an error: %o",Z))}}function sZ(X){return X>>>=0,X===0?32:31-(VK(X)/xK|0)|0}function H6(X){var Z=X&42;if(Z!==0)return Z;switch(X&-X){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return X&261888;case 262144:case 524288:case 1048576:case 2097152:return X&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return X&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),X}}function Q8(X,Z,G){var $=X.pendingLanes;if($===0)return 0;var Y=0,z=X.suspendedLanes,J=X.pingedLanes;X=X.warmLanes;var B=$&134217727;return B!==0?($=B&~z,$!==0?Y=H6($):(J&=B,J!==0?Y=H6(J):G||(G=B&~X,G!==0&&(Y=H6(G))))):(B=$&~z,B!==0?Y=H6(B):J!==0?Y=H6(J):G||(G=$&~X,G!==0&&(Y=H6(G)))),Y===0?0:Z!==0&&Z!==Y&&(Z&z)===0&&(z=Y&-Y,G=Z&-Z,z>=G||z===32&&(G&4194048)!==0)?Z:Y}function U8(X,Z){return(X.pendingLanes&~(X.suspendedLanes&~X.pingedLanes)&Z)===0}function _G(X,Z){switch(X){case 1:case 2:case 4:case 8:case 64:return Z+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return Z+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function G9(){var X=Q1;return Q1<<=1,(Q1&62914560)===0&&(Q1=4194304),X}function $9(X){for(var Z=[],G=0;31>G;G++)Z.push(X);return Z}function _7(X,Z){X.pendingLanes|=Z,Z!==268435456&&(X.suspendedLanes=0,X.pingedLanes=0,X.warmLanes=0)}function aZ(X,Z,G,$,Y,z){var J=X.pendingLanes;X.pendingLanes=G,X.suspendedLanes=0,X.pingedLanes=0,X.warmLanes=0,X.expiredLanes&=G,X.entangledLanes&=G,X.errorRecoveryDisabledLanes&=G,X.shellSuspendCounter=0;var{entanglements:B,expirationTimes:H,hiddenUpdates:W}=X;for(G=J&~G;0<G;){var I=31-a4(G),P=1<<I;B[I]=0,H[I]=-1;var N=W[I];if(N!==null)for(W[I]=null,I=0;I<N.length;I++){var v=N[I];v!==null&&(v.lane&=-536870913)}G&=~P}$!==0&&B8(X,$,0),z!==0&&Y===0&&X.tag!==0&&(X.suspendedLanes|=z&~(J&~Z))}function B8(X,Z,G){X.pendingLanes|=Z,X.suspendedLanes&=~Z;var $=31-a4(Z);X.entangledLanes|=Z,X.entanglements[$]=X.entanglements[$]|1073741824|G&261930}function H8(X,Z){var G=X.entangledLanes|=Z;for(X=X.entanglements;G;){var $=31-a4(G),Y=1<<$;Y&Z|X[$]&Z&&(X[$]|=Z),G&=~Y}}function W8(X,Z){var G=Z&-Z;return G=(G&42)!==0?1:M8(G),(G&(X.suspendedLanes|Z))!==0?0:G}function M8(X){switch(X){case 2:X=1;break;case 8:X=4;break;case 32:X=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:X=128;break;case 268435456:X=134217728;break;default:X=0}return X}function BX(X,Z,G){if(b6)for(X=X.pendingUpdatersLaneMap;0<G;){var $=31-a4(G),Y=1<<$;X[$].add(Z),G&=~Y}}function O7(X,Z){if(b6)for(var{pendingUpdatersLaneMap:G,memoizedUpdaters:$}=X;0<Z;){var Y=31-a4(Z);X=1<<Y,Y=G[Y],0<Y.size&&(Y.forEach(function(z){var J=z.alternate;J!==null&&$.has(J)||$.add(z)}),Y.clear()),Z&=~X}}function M(X){return X&=-X,P5!==0&&P5<X?t5!==0&&t5<X?(X&134217727)!==0?y6:U1:t5:P5}function S(){var X=b2.p;if(X!==0)return X;return X=window.event,X===void 0?y6:$B(X.type)}function E(X,Z){var G=b2.p;try{return b2.p=X,Z()}finally{b2.p=G}}function u(X){delete X[E4],delete X[i4],delete X[x$],delete X[DK],delete X[EK]}function a(X){var Z=X[E4];if(Z)return Z;for(var G=X.parentNode;G;){if(Z=G[j7]||G[E4]){if(G=Z.alternate,Z.child!==null||G!==null&&G.child!==null)for(X=lU(X);X!==null;){if(G=X[E4])return G;X=lU(X)}return Z}X=G,G=X.parentNode}return null}function J2(X){if(X=X[E4]||X[j7]){var Z=X.tag;if(Z===5||Z===6||Z===13||Z===31||Z===26||Z===27||Z===3)return X}return null}function Q2(X){var Z=X.tag;if(Z===5||Z===26||Z===27||Z===6)return X.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function P2(X){var Z=X[FB];return Z||(Z=X[FB]={hoistableStyles:new Map,hoistableScripts:new Map}),Z}function o(X){X[nX]=!0}function m4(X,Z){K5(X,Z),K5(X+"Capture",Z)}function K5(X,Z){v8[X]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",X),v8[X]=Z;var G=X.toLowerCase();D$[G]=X,X==="onDoubleClick"&&(D$.ondblclick=X);for(X=0;X<Z.length;X++)NB.add(Z[X])}function L7(X,Z){hK[Z.type]||Z.onChange||Z.onInput||Z.readOnly||Z.disabled||Z.value==null||(X==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),Z.onChange||Z.readOnly||Z.disabled||Z.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function HX(X){if(r5.call(AB,X))return!0;if(r5.call(wB,X))return!1;if(mK.test(X))return AB[X]=!0;return wB[X]=!0,console.error("Invalid attribute name: `%s`",X),!1}function qz(X,Z,G){if(HX(Z)){if(!X.hasAttribute(Z)){switch(typeof G){case"symbol":case"object":return G;case"function":return G;case"boolean":if(G===!1)return G}return G===void 0?void 0:null}if(X=X.getAttribute(Z),X===""&&G===!0)return!0;return m2(G,Z),X===""+G?G:X}}function iZ(X,Z,G){if(HX(Z))if(G===null)X.removeAttribute(Z);else{switch(typeof G){case"undefined":case"function":case"symbol":X.removeAttribute(Z);return;case"boolean":var $=Z.toLowerCase().slice(0,5);if($!=="data-"&&$!=="aria-"){X.removeAttribute(Z);return}}m2(G,Z),X.setAttribute(Z,""+G)}}function nZ(X,Z,G){if(G===null)X.removeAttribute(Z);else{switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":X.removeAttribute(Z);return}m2(G,Z),X.setAttribute(Z,""+G)}}function l6(X,Z,G,$){if($===null)X.removeAttribute(G);else{switch(typeof $){case"undefined":case"function":case"symbol":case"boolean":X.removeAttribute(G);return}m2($,G),X.setAttributeNS(Z,G,""+$)}}function f5(X){switch(typeof X){case"bigint":case"boolean":case"number":case"string":case"undefined":return X;case"object":return B2(X),X;default:return""}}function Kz(X){var Z=X.type;return(X=X.nodeName)&&X.toLowerCase()==="input"&&(Z==="checkbox"||Z==="radio")}function xM(X,Z,G){var $=Object.getOwnPropertyDescriptor(X.constructor.prototype,Z);if(!X.hasOwnProperty(Z)&&typeof $<"u"&&typeof $.get==="function"&&typeof $.set==="function"){var{get:Y,set:z}=$;return Object.defineProperty(X,Z,{configurable:!0,get:function(){return Y.call(this)},set:function(J){B2(J),G=""+J,z.call(this,J)}}),Object.defineProperty(X,Z,{enumerable:$.enumerable}),{getValue:function(){return G},setValue:function(J){B2(J),G=""+J},stopTracking:function(){X._valueTracker=null,delete X[Z]}}}}function OG(X){if(!X._valueTracker){var Z=Kz(X)?"checked":"value";X._valueTracker=xM(X,Z,""+X[Z])}}function Rz(X){if(!X)return!1;var Z=X._valueTracker;if(!Z)return!0;var G=Z.getValue(),$="";return X&&($=Kz(X)?X.checked?"true":"false":X.value),X=$,X!==G?(Z.setValue(X),!0):!1}function oZ(X){if(X=X||(typeof document<"u"?document:void 0),typeof X>"u")return null;try{return X.activeElement||X.body}catch(Z){return X.body}}function j5(X){return X.replace(uK,function(Z){return"\\"+Z.charCodeAt(0).toString(16)+" "})}function _z(X,Z){Z.checked===void 0||Z.defaultChecked===void 0||IB||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",d6()||"A component",Z.type),IB=!0),Z.value===void 0||Z.defaultValue===void 0||TB||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",d6()||"A component",Z.type),TB=!0)}function LG(X,Z,G,$,Y,z,J,B){if(X.name="",J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&typeof J!=="boolean"?(m2(J,"type"),X.type=J):X.removeAttribute("type"),Z!=null)if(J==="number"){if(Z===0&&X.value===""||X.value!=Z)X.value=""+f5(Z)}else X.value!==""+f5(Z)&&(X.value=""+f5(Z));else J!=="submit"&&J!=="reset"||X.removeAttribute("value");Z!=null?FG(X,J,f5(Z)):G!=null?FG(X,J,f5(G)):$!=null&&X.removeAttribute("value"),Y==null&&z!=null&&(X.defaultChecked=!!z),Y!=null&&(X.checked=Y&&typeof Y!=="function"&&typeof Y!=="symbol"),B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"?(m2(B,"name"),X.name=""+f5(B)):X.removeAttribute("name")}function Oz(X,Z,G,$,Y,z,J,B){if(z!=null&&typeof z!=="function"&&typeof z!=="symbol"&&typeof z!=="boolean"&&(m2(z,"type"),X.type=z),Z!=null||G!=null){if(!(z!=="submit"&&z!=="reset"||Z!==void 0&&Z!==null)){OG(X);return}G=G!=null?""+f5(G):"",Z=Z!=null?""+f5(Z):G,B||Z===X.value||(X.value=Z),X.defaultValue=Z}$=$!=null?$:Y,$=typeof $!=="function"&&typeof $!=="symbol"&&!!$,X.checked=B?X.checked:!!$,X.defaultChecked=!!$,J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&typeof J!=="boolean"&&(m2(J,"name"),X.name=J),OG(X)}function FG(X,Z,G){Z==="number"&&oZ(X.ownerDocument)===X||X.defaultValue===""+G||(X.defaultValue=""+G)}function Lz(X,Z){Z.value==null&&(typeof Z.children==="object"&&Z.children!==null?zX.Children.forEach(Z.children,function(G){G==null||typeof G==="string"||typeof G==="number"||typeof G==="bigint"||CB||(CB=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):Z.dangerouslySetInnerHTML==null||SB||(SB=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Z.selected==null||PB||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),PB=!0)}function Fz(){var X=d6();return X?`
|
|
34
|
-
|
|
35
|
-
Check the render method of \``+X+"`.":""}function Y9(X,Z,G,$){if(X=X.options,Z){Z={};for(var Y=0;Y<G.length;Y++)Z["$"+G[Y]]=!0;for(G=0;G<X.length;G++)Y=Z.hasOwnProperty("$"+X[G].value),X[G].selected!==Y&&(X[G].selected=Y),Y&&$&&(X[G].defaultSelected=!0)}else{G=""+f5(G),Z=null;for(Y=0;Y<X.length;Y++){if(X[Y].value===G){X[Y].selected=!0,$&&(X[Y].defaultSelected=!0);return}Z!==null||X[Y].disabled||(Z=X[Y])}Z!==null&&(Z.selected=!0)}}function Nz(X,Z){for(X=0;X<kB.length;X++){var G=kB[X];if(Z[G]!=null){var $=w4(Z[G]);Z.multiple&&!$?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",G,Fz()):!Z.multiple&&$&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",G,Fz())}}Z.value===void 0||Z.defaultValue===void 0||vB||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),vB=!0)}function wz(X,Z){Z.value===void 0||Z.defaultValue===void 0||gB||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",d6()||"A component"),gB=!0),Z.children!=null&&Z.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Az(X,Z,G){if(Z!=null&&(Z=""+f5(Z),Z!==X.value&&(X.value=Z),G==null)){X.defaultValue!==Z&&(X.defaultValue=Z);return}X.defaultValue=G!=null?""+f5(G):""}function Tz(X,Z,G,$){if(Z==null){if($!=null){if(G!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(w4($)){if(1<$.length)throw Error("<textarea> can only have at most one child.");$=$[0]}G=$}G==null&&(G=""),Z=G}G=f5(Z),X.defaultValue=G,$=X.textContent,$===G&&$!==""&&$!==null&&(X.value=$),OG(X)}function Iz(X,Z){return X.serverProps===void 0&&X.serverTail.length===0&&X.children.length===1&&3<X.distanceFromLeaf&&X.distanceFromLeaf>15-Z?Iz(X.children[0],Z):X}function R5(X){return" "+" ".repeat(X)}function z9(X){return"+ "+" ".repeat(X)}function q8(X){return"- "+" ".repeat(X)}function Pz(X){switch(X.tag){case 26:case 27:case 5:return X.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return X=X.type,X.displayName||X.name||null;case 11:return X=X.type.render,X.displayName||X.name||null;case 1:return X=X.type,X.displayName||X.name||null;default:return null}}function WX(X,Z){return bB.test(X)?(X=JSON.stringify(X),X.length>Z-2?8>Z?'{"..."}':"{"+X.slice(0,Z-7)+'..."}':"{"+X+"}"):X.length>Z?5>Z?'{"..."}':X.slice(0,Z-3)+"...":X}function rZ(X,Z,G){var $=120-2*G;if(Z===null)return z9(G)+WX(X,$)+`
|
|
36
|
-
`;if(typeof Z==="string"){for(var Y=0;Y<Z.length&&Y<X.length&&Z.charCodeAt(Y)===X.charCodeAt(Y);Y++);return Y>$-8&&10<Y&&(X="..."+X.slice(Y-8),Z="..."+Z.slice(Y-8)),z9(G)+WX(X,$)+`
|
|
37
|
-
`+q8(G)+WX(Z,$)+`
|
|
38
|
-
`}return R5(G)+WX(X,$)+`
|
|
39
|
-
`}function NG(X){return Object.prototype.toString.call(X).replace(/^\[object (.*)\]$/,function(Z,G){return G})}function MX(X,Z){switch(typeof X){case"string":return X=JSON.stringify(X),X.length>Z?5>Z?'"..."':X.slice(0,Z-4)+'..."':X;case"object":if(X===null)return"null";if(w4(X))return"[...]";if(X.$$typeof===S6)return(Z=w2(X.type))?"<"+Z+">":"<...>";var G=NG(X);if(G==="Object"){G="",Z-=2;for(var $ in X)if(X.hasOwnProperty($)){var Y=JSON.stringify($);if(Y!=='"'+$+'"'&&($=Y),Z-=$.length-2,Y=MX(X[$],15>Z?Z:15),Z-=Y.length,0>Z){G+=G===""?"...":", ...";break}G+=(G===""?"":",")+$+":"+Y}return"{"+G+"}"}return G;case"function":return(Z=X.displayName||X.name)?"function "+Z:"function";default:return String(X)}}function J9(X,Z){return typeof X!=="string"||bB.test(X)?"{"+MX(X,Z-2)+"}":X.length>Z-2?5>Z?'"..."':'"'+X.slice(0,Z-5)+'..."':'"'+X+'"'}function wG(X,Z,G){var $=120-G.length-X.length,Y=[],z;for(z in Z)if(Z.hasOwnProperty(z)&&z!=="children"){var J=J9(Z[z],120-G.length-z.length-1);$-=z.length+J.length+2,Y.push(z+"="+J)}return Y.length===0?G+"<"+X+`>
|
|
40
|
-
`:0<$?G+"<"+X+" "+Y.join(" ")+`>
|
|
41
|
-
`:G+"<"+X+`
|
|
42
|
-
`+G+" "+Y.join(`
|
|
43
|
-
`+G+" ")+`
|
|
44
|
-
`+G+`>
|
|
45
|
-
`}function DM(X,Z,G){var $="",Y=R2({},Z),z;for(z in X)if(X.hasOwnProperty(z)){delete Y[z];var J=120-2*G-z.length-2,B=MX(X[z],J);Z.hasOwnProperty(z)?(J=MX(Z[z],J),$+=z9(G)+z+": "+B+`
|
|
46
|
-
`,$+=q8(G)+z+": "+J+`
|
|
47
|
-
`):$+=z9(G)+z+": "+B+`
|
|
48
|
-
`}for(var H in Y)Y.hasOwnProperty(H)&&(X=MX(Y[H],120-2*G-H.length-2),$+=q8(G)+H+": "+X+`
|
|
49
|
-
`);return $}function EM(X,Z,G,$){var Y="",z=new Map;for(W in G)G.hasOwnProperty(W)&&z.set(W.toLowerCase(),W);if(z.size===1&&z.has("children"))Y+=wG(X,Z,R5($));else{for(var J in Z)if(Z.hasOwnProperty(J)&&J!=="children"){var B=120-2*($+1)-J.length-1,H=z.get(J.toLowerCase());if(H!==void 0){z.delete(J.toLowerCase());var W=Z[J];H=G[H];var I=J9(W,B);B=J9(H,B),typeof W==="object"&&W!==null&&typeof H==="object"&&H!==null&&NG(W)==="Object"&&NG(H)==="Object"&&(2<Object.keys(W).length||2<Object.keys(H).length||-1<I.indexOf("...")||-1<B.indexOf("..."))?Y+=R5($+1)+J+`={{
|
|
50
|
-
`+DM(W,H,$+2)+R5($+1)+`}}
|
|
51
|
-
`:(Y+=z9($+1)+J+"="+I+`
|
|
52
|
-
`,Y+=q8($+1)+J+"="+B+`
|
|
53
|
-
`)}else Y+=R5($+1)+J+"="+J9(Z[J],B)+`
|
|
54
|
-
`}z.forEach(function(P){if(P!=="children"){var N=120-2*($+1)-P.length-1;Y+=q8($+1)+P+"="+J9(G[P],N)+`
|
|
55
|
-
`}}),Y=Y===""?R5($)+"<"+X+`>
|
|
56
|
-
`:R5($)+"<"+X+`
|
|
57
|
-
`+Y+R5($)+`>
|
|
58
|
-
`}if(X=G.children,Z=Z.children,typeof X==="string"||typeof X==="number"||typeof X==="bigint"){if(z="",typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint")z=""+Z;Y+=rZ(z,""+X,$+1)}else if(typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint")Y=X==null?Y+rZ(""+Z,null,$+1):Y+rZ(""+Z,void 0,$+1);return Y}function Cz(X,Z){var G=Pz(X);if(G===null){G="";for(X=X.child;X;)G+=Cz(X,Z),X=X.sibling;return G}return R5(Z)+"<"+G+`>
|
|
59
|
-
`}function AG(X,Z){var G=Iz(X,Z);if(G!==X&&(X.children.length!==1||X.children[0]!==G))return R5(Z)+`...
|
|
60
|
-
`+AG(G,Z+1);G="";var $=X.fiber._debugInfo;if($)for(var Y=0;Y<$.length;Y++){var z=$[Y].name;typeof z==="string"&&(G+=R5(Z)+"<"+z+`>
|
|
61
|
-
`,Z++)}if($="",Y=X.fiber.pendingProps,X.fiber.tag===6)$=rZ(Y,X.serverProps,Z),Z++;else if(z=Pz(X.fiber),z!==null)if(X.serverProps===void 0){$=Z;var J=120-2*$-z.length-2,B="";for(W in Y)if(Y.hasOwnProperty(W)&&W!=="children"){var H=J9(Y[W],15);if(J-=W.length+H.length+2,0>J){B+=" ...";break}B+=" "+W+"="+H}$=R5($)+"<"+z+B+`>
|
|
62
|
-
`,Z++}else X.serverProps===null?($=wG(z,Y,z9(Z)),Z++):typeof X.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):($=EM(z,Y,X.serverProps,Z),Z++);var W="";Y=X.fiber.child;for(z=0;Y&&z<X.children.length;)J=X.children[z],J.fiber===Y?(W+=AG(J,Z),z++):W+=Cz(Y,Z),Y=Y.sibling;Y&&0<X.children.length&&(W+=R5(Z)+`...
|
|
63
|
-
`),Y=X.serverTail,X.serverProps===null&&Z--;for(X=0;X<Y.length;X++)z=Y[X],W=typeof z==="string"?W+(q8(Z)+WX(z,120-2*Z)+`
|
|
64
|
-
`):W+wG(z.type,z.props,q8(Z));return G+$+W}function TG(X){try{return`
|
|
65
|
-
|
|
66
|
-
`+AG(X,0)}catch(Z){return""}}function Sz(X,Z,G){for(var $=Z,Y=null,z=0;$;)$===X&&(z=0),Y={fiber:$,children:Y!==null?[Y]:[],serverProps:$===Z?G:$===X?null:void 0,serverTail:[],distanceFromLeaf:z},z++,$=$.return;return Y!==null?TG(Y).replaceAll(/^[+-]/gm,">"):""}function vz(X,Z){var G=R2({},X||fB),$={tag:Z};if(yB.indexOf(Z)!==-1&&(G.aTagInScope=null,G.buttonTagInScope=null,G.nobrTagInScope=null),lK.indexOf(Z)!==-1&&(G.pTagInButtonScope=null),dK.indexOf(Z)!==-1&&Z!=="address"&&Z!=="div"&&Z!=="p"&&(G.listItemTagAutoclosing=null,G.dlItemTagAutoclosing=null),G.current=$,Z==="form"&&(G.formTag=$),Z==="a"&&(G.aTagInScope=$),Z==="button"&&(G.buttonTagInScope=$),Z==="nobr"&&(G.nobrTagInScope=$),Z==="p"&&(G.pTagInButtonScope=$),Z==="li"&&(G.listItemTagAutoclosing=$),Z==="dd"||Z==="dt")G.dlItemTagAutoclosing=$;return Z==="#document"||Z==="html"?G.containerTagInScope=null:G.containerTagInScope||(G.containerTagInScope=$),X!==null||Z!=="#document"&&Z!=="html"&&Z!=="body"?G.implicitRootScope===!0&&(G.implicitRootScope=!1):G.implicitRootScope=!0,G}function kz(X,Z,G){switch(Z){case"select":return X==="hr"||X==="option"||X==="optgroup"||X==="script"||X==="template"||X==="#text";case"optgroup":return X==="option"||X==="#text";case"option":return X==="#text";case"tr":return X==="th"||X==="td"||X==="style"||X==="script"||X==="template";case"tbody":case"thead":case"tfoot":return X==="tr"||X==="style"||X==="script"||X==="template";case"colgroup":return X==="col"||X==="template";case"table":return X==="caption"||X==="colgroup"||X==="tbody"||X==="tfoot"||X==="thead"||X==="style"||X==="script"||X==="template";case"head":return X==="base"||X==="basefont"||X==="bgsound"||X==="link"||X==="meta"||X==="title"||X==="noscript"||X==="noframes"||X==="style"||X==="script"||X==="template";case"html":if(G)break;return X==="head"||X==="body"||X==="frameset";case"frameset":return X==="frame";case"#document":if(!G)return X==="html"}switch(X){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return Z!=="h1"&&Z!=="h2"&&Z!=="h3"&&Z!=="h4"&&Z!=="h5"&&Z!=="h6";case"rp":case"rt":return pK.indexOf(Z)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return Z==null;case"head":return G||Z===null;case"html":return G&&Z==="#document"||Z===null;case"body":return G&&(Z==="#document"||Z==="html")||Z===null}return!0}function hM(X,Z){switch(X){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return Z.pTagInButtonScope;case"form":return Z.formTag||Z.pTagInButtonScope;case"li":return Z.listItemTagAutoclosing;case"dd":case"dt":return Z.dlItemTagAutoclosing;case"button":return Z.buttonTagInScope;case"a":return Z.aTagInScope;case"nobr":return Z.nobrTagInScope}return null}function gz(X,Z){for(;X;){switch(X.tag){case 5:case 26:case 27:if(X.type===Z)return X}X=X.return}return null}function IG(X,Z){Z=Z||fB;var G=Z.current;if(Z=(G=kz(X,G&&G.tag,Z.implicitRootScope)?null:G)?null:hM(X,Z),Z=G||Z,!Z)return!0;var $=Z.tag;if(Z=String(!!G)+"|"+X+"|"+$,B1[Z])return!1;B1[Z]=!0;var Y=(Z=I5)?gz(Z.return,$):null,z=Z!==null&&Y!==null?Sz(Y,Z,null):"",J="<"+X+">";return G?(G="",$==="table"&&X==="tr"&&(G+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
67
|
-
This will cause a hydration error.%s`,J,$,G,z)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
-
This will cause a hydration error.%s`,J,$,z),Z&&(X=Z.return,Y===null||X===null||Y===X&&X._debugOwner===Z._debugOwner||s(Y,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
-
See this log for the ancestor stack trace.`,$,J)})),!1}function tZ(X,Z,G){if(G||kz("#text",Z,!1))return!0;if(G="#text|"+Z,B1[G])return!1;B1[G]=!0;var $=(G=I5)?gz(G,Z):null;return G=G!==null&&$!==null?Sz($,G,G.tag!==6?{children:null}:null):"",/\S/.test(X)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
|
-
This will cause a hydration error.%s`,Z,G):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
71
|
-
This will cause a hydration error.%s`,Z,G),!1}function qX(X,Z){if(Z){var G=X.firstChild;if(G&&G===X.lastChild&&G.nodeType===3){G.nodeValue=Z;return}}X.textContent=Z}function mM(X){return X.replace(aK,function(Z,G){return G.toUpperCase()})}function bz(X,Z,G){var $=Z.indexOf("--")===0;$||(-1<Z.indexOf("-")?C9.hasOwnProperty(Z)&&C9[Z]||(C9[Z]=!0,console.error("Unsupported style property %s. Did you mean %s?",Z,mM(Z.replace(sK,"ms-")))):cK.test(Z)?C9.hasOwnProperty(Z)&&C9[Z]||(C9[Z]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",Z,Z.charAt(0).toUpperCase()+Z.slice(1))):!xB.test(G)||h$.hasOwnProperty(G)&&h$[G]||(h$[G]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,Z,G.replace(xB,""))),typeof G==="number"&&(isNaN(G)?DB||(DB=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",Z)):isFinite(G)||EB||(EB=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",Z)))),G==null||typeof G==="boolean"||G===""?$?X.setProperty(Z,""):Z==="float"?X.cssFloat="":X[Z]="":$?X.setProperty(Z,G):typeof G!=="number"||G===0||hB.has(Z)?Z==="float"?X.cssFloat=G:(UX(G,Z),X[Z]=(""+G).trim()):X[Z]=G+"px"}function yz(X,Z,G){if(Z!=null&&typeof Z!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(Z&&Object.freeze(Z),X=X.style,G!=null){if(Z){var $={};if(G){for(var Y in G)if(G.hasOwnProperty(Y)&&!Z.hasOwnProperty(Y))for(var z=E$[Y]||[Y],J=0;J<z.length;J++)$[z[J]]=Y}for(var B in Z)if(Z.hasOwnProperty(B)&&(!G||G[B]!==Z[B]))for(Y=E$[B]||[B],z=0;z<Y.length;z++)$[Y[z]]=B;B={};for(var H in Z)for(Y=E$[H]||[H],z=0;z<Y.length;z++)B[Y[z]]=H;H={};for(var W in $)if(Y=$[W],(z=B[W])&&Y!==z&&(J=Y+","+z,!H[J])){H[J]=!0,J=console;var I=Z[Y];J.error.call(J,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",I==null||typeof I==="boolean"||I===""?"Removing":"Updating",Y,z)}}for(var P in G)!G.hasOwnProperty(P)||Z!=null&&Z.hasOwnProperty(P)||(P.indexOf("--")===0?X.setProperty(P,""):P==="float"?X.cssFloat="":X[P]="");for(var N in Z)W=Z[N],Z.hasOwnProperty(N)&&G[N]!==W&&bz(X,N,W)}else for($ in Z)Z.hasOwnProperty($)&&bz(X,$,Z[$])}function KX(X){if(X.indexOf("-")===-1)return!1;switch(X){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function fz(X){return iK.get(X)||X}function uM(X,Z){if(r5.call(v9,Z)&&v9[Z])return!0;if(oK.test(Z)){if(X="aria-"+Z.slice(4).toLowerCase(),X=mB.hasOwnProperty(X)?X:null,X==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",Z),v9[Z]=!0;if(Z!==X)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",Z,X),v9[Z]=!0}if(nK.test(Z)){if(X=Z.toLowerCase(),X=mB.hasOwnProperty(X)?X:null,X==null)return v9[Z]=!0,!1;Z!==X&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",Z,X),v9[Z]=!0)}return!0}function dM(X,Z){var G=[],$;for($ in Z)uM(X,$)||G.push($);Z=G.map(function(Y){return"`"+Y+"`"}).join(", "),G.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,X):1<G.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,X)}function lM(X,Z,G,$){if(r5.call(n4,Z)&&n4[Z])return!0;var Y=Z.toLowerCase();if(Y==="onfocusin"||Y==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),n4[Z]=!0;if(typeof G==="function"&&(X==="form"&&Z==="action"||X==="input"&&Z==="formAction"||X==="button"&&Z==="formAction"))return!0;if($!=null){if(X=$.possibleRegistrationNames,$.registrationNameDependencies.hasOwnProperty(Z))return!0;if($=X.hasOwnProperty(Y)?X[Y]:null,$!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",Z,$),n4[Z]=!0;if(dB.test(Z))return console.error("Unknown event handler property `%s`. It will be ignored.",Z),n4[Z]=!0}else if(dB.test(Z))return rK.test(Z)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",Z),n4[Z]=!0;if(tK.test(Z)||eK.test(Z))return!0;if(Y==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),n4[Z]=!0;if(Y==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),n4[Z]=!0;if(Y==="is"&&G!==null&&G!==void 0&&typeof G!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof G),n4[Z]=!0;if(typeof G==="number"&&isNaN(G))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",Z),n4[Z]=!0;if(W1.hasOwnProperty(Y)){if(Y=W1[Y],Y!==Z)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",Z,Y),n4[Z]=!0}else if(Z!==Y)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",Z,Y),n4[Z]=!0;switch(Z){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof G){case"boolean":switch(Z){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(Y=Z.toLowerCase().slice(0,5),Y==="data-"||Y==="aria-")return!0;return G?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',G,Z,Z,G,Z):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',G,Z,Z,G,Z,Z,Z),n4[Z]=!0}case"function":case"symbol":return n4[Z]=!0,!1;case"string":if(G==="false"||G==="true"){switch(Z){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",G,Z,G==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',Z,G),n4[Z]=!0}}return!0}function pM(X,Z,G){var $=[],Y;for(Y in Z)lM(X,Y,Z[Y],G)||$.push(Y);Z=$.map(function(z){return"`"+z+"`"}).join(", "),$.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",Z,X):1<$.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",Z,X)}function RX(X){return XR.test(""+X)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":X}function p6(){}function PG(X){return X=X.target||X.srcElement||window,X.correspondingUseElement&&(X=X.correspondingUseElement),X.nodeType===3?X.parentNode:X}function jz(X){var Z=J2(X);if(Z&&(X=Z.stateNode)){var G=X[i4]||null;X:switch(X=Z.stateNode,Z.type){case"input":if(LG(X,G.value,G.defaultValue,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name),Z=G.name,G.type==="radio"&&Z!=null){for(G=X;G.parentNode;)G=G.parentNode;m2(Z,"name"),G=G.querySelectorAll('input[name="'+j5(""+Z)+'"][type="radio"]');for(Z=0;Z<G.length;Z++){var $=G[Z];if($!==X&&$.form===X.form){var Y=$[i4]||null;if(!Y)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");LG($,Y.value,Y.defaultValue,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name)}}for(Z=0;Z<G.length;Z++)$=G[Z],$.form===X.form&&Rz($)}break X;case"textarea":Az(X,G.value,G.defaultValue);break X;case"select":Z=G.value,Z!=null&&Y9(X,!!G.multiple,Z,!1)}}}function Vz(X,Z,G){if(m$)return X(Z,G);m$=!0;try{var $=X(Z);return $}finally{if(m$=!1,k9!==null||g9!==null){if(_9(),k9&&(Z=k9,X=g9,g9=k9=null,jz(Z),X))for(Z=0;Z<X.length;Z++)jz(X[Z])}}}function _X(X,Z){var G=X.stateNode;if(G===null)return null;var $=G[i4]||null;if($===null)return null;G=$[Z];X:switch(Z){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":($=!$.disabled)||(X=X.type,$=!(X==="button"||X==="input"||X==="select"||X==="textarea")),X=!$;break X;default:X=!1}if(X)return null;if(G&&typeof G!=="function")throw Error("Expected `"+Z+"` listener to be a function, instead got a value of `"+typeof G+"` type.");return G}function xz(){if(M1)return M1;var X,Z=d$,G=Z.length,$,Y="value"in V7?V7.value:V7.textContent,z=Y.length;for(X=0;X<G&&Z[X]===Y[X];X++);var J=G-X;for($=1;$<=J&&Z[G-$]===Y[z-$];$++);return M1=Y.slice(X,1<$?1-$:void 0)}function eZ(X){var Z=X.keyCode;return"charCode"in X?(X=X.charCode,X===0&&Z===13&&(X=13)):X=Z,X===10&&(X=13),32<=X||X===13?X:0}function X0(){return!0}function Dz(){return!1}function Z5(X){function Z(G,$,Y,z,J){this._reactName=G,this._targetInst=Y,this.type=$,this.nativeEvent=z,this.target=J,this.currentTarget=null;for(var B in X)X.hasOwnProperty(B)&&(G=X[B],this[B]=G?G(z):z[B]);return this.isDefaultPrevented=(z.defaultPrevented!=null?z.defaultPrevented:z.returnValue===!1)?X0:Dz,this.isPropagationStopped=Dz,this}return R2(Z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var G=this.nativeEvent;G&&(G.preventDefault?G.preventDefault():typeof G.returnValue!=="unknown"&&(G.returnValue=!1),this.isDefaultPrevented=X0)},stopPropagation:function(){var G=this.nativeEvent;G&&(G.stopPropagation?G.stopPropagation():typeof G.cancelBubble!=="unknown"&&(G.cancelBubble=!0),this.isPropagationStopped=X0)},persist:function(){},isPersistent:X0}),Z}function cM(X){var Z=this.nativeEvent;return Z.getModifierState?Z.getModifierState(X):(X=qR[X])?!!Z[X]:!1}function CG(){return cM}function Ez(X,Z){switch(X){case"keyup":return PR.indexOf(Z.keyCode)!==-1;case"keydown":return Z.keyCode!==sB;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hz(X){return X=X.detail,typeof X==="object"&&"data"in X?X.data:null}function sM(X,Z){switch(X){case"compositionend":return hz(Z);case"keypress":if(Z.which!==iB)return null;return oB=!0,nB;case"textInput":return X=Z.data,X===nB&&oB?null:X;default:return null}}function aM(X,Z){if(b9)return X==="compositionend"||!s$&&Ez(X,Z)?(X=xz(),M1=d$=V7=null,b9=!1,X):null;switch(X){case"paste":return null;case"keypress":if(!(Z.ctrlKey||Z.altKey||Z.metaKey)||Z.ctrlKey&&Z.altKey){if(Z.char&&1<Z.char.length)return Z.char;if(Z.which)return String.fromCharCode(Z.which)}return null;case"compositionend":return aB&&Z.locale!=="ko"?null:Z.data;default:return null}}function mz(X){var Z=X&&X.nodeName&&X.nodeName.toLowerCase();return Z==="input"?!!SR[X.type]:Z==="textarea"?!0:!1}function iM(X){if(!f6)return!1;X="on"+X;var Z=X in document;return Z||(Z=document.createElement("div"),Z.setAttribute(X,"return;"),Z=typeof Z[X]==="function"),Z}function uz(X,Z,G,$){k9?g9?g9.push($):g9=[$]:k9=$,Z=s0(Z,"onChange"),0<Z.length&&(G=new q1("onChange","change",null,G,$),X.push({event:G,listeners:Z}))}function nM(X){TU(X,0)}function Z0(X){var Z=Q2(X);if(Rz(Z))return X}function dz(X,Z){if(X==="change")return Z}function lz(){ZZ&&(ZZ.detachEvent("onpropertychange",pz),GZ=ZZ=null)}function pz(X){if(X.propertyName==="value"&&Z0(GZ)){var Z=[];uz(Z,GZ,X,PG(X)),Vz(nM,Z)}}function oM(X,Z,G){X==="focusin"?(lz(),ZZ=Z,GZ=G,ZZ.attachEvent("onpropertychange",pz)):X==="focusout"&&lz()}function rM(X){if(X==="selectionchange"||X==="keyup"||X==="keydown")return Z0(GZ)}function tM(X,Z){if(X==="click")return Z0(Z)}function eM(X,Z){if(X==="input"||X==="change")return Z0(Z)}function Xq(X,Z){return X===Z&&(X!==0||1/X===1/Z)||X!==X&&Z!==Z}function OX(X,Z){if(o4(X,Z))return!0;if(typeof X!=="object"||X===null||typeof Z!=="object"||Z===null)return!1;var G=Object.keys(X),$=Object.keys(Z);if(G.length!==$.length)return!1;for($=0;$<G.length;$++){var Y=G[$];if(!r5.call(Z,Y)||!o4(X[Y],Z[Y]))return!1}return!0}function cz(X){for(;X&&X.firstChild;)X=X.firstChild;return X}function sz(X,Z){var G=cz(X);X=0;for(var $;G;){if(G.nodeType===3){if($=X+G.textContent.length,X<=Z&&$>=Z)return{node:G,offset:Z-X};X=$}X:{for(;G;){if(G.nextSibling){G=G.nextSibling;break X}G=G.parentNode}G=void 0}G=cz(G)}}function az(X,Z){return X&&Z?X===Z?!0:X&&X.nodeType===3?!1:Z&&Z.nodeType===3?az(X,Z.parentNode):("contains"in X)?X.contains(Z):X.compareDocumentPosition?!!(X.compareDocumentPosition(Z)&16):!1:!1}function iz(X){X=X!=null&&X.ownerDocument!=null&&X.ownerDocument.defaultView!=null?X.ownerDocument.defaultView:window;for(var Z=oZ(X.document);Z instanceof X.HTMLIFrameElement;){try{var G=typeof Z.contentWindow.location.href==="string"}catch($){G=!1}if(G)X=Z.contentWindow;else break;Z=oZ(X.document)}return Z}function SG(X){var Z=X&&X.nodeName&&X.nodeName.toLowerCase();return Z&&(Z==="input"&&(X.type==="text"||X.type==="search"||X.type==="tel"||X.type==="url"||X.type==="password")||Z==="textarea"||X.contentEditable==="true")}function nz(X,Z,G){var $=G.window===G?G.document:G.nodeType===9?G:G.ownerDocument;i$||y9==null||y9!==oZ($)||($=y9,("selectionStart"in $)&&SG($)?$={start:$.selectionStart,end:$.selectionEnd}:($=($.ownerDocument&&$.ownerDocument.defaultView||window).getSelection(),$={anchorNode:$.anchorNode,anchorOffset:$.anchorOffset,focusNode:$.focusNode,focusOffset:$.focusOffset}),$Z&&OX($Z,$)||($Z=$,$=s0(a$,"onSelect"),0<$.length&&(Z=new q1("onSelect","select",null,Z,G),X.push({event:Z,listeners:$}),Z.target=y9)))}function K8(X,Z){var G={};return G[X.toLowerCase()]=Z.toLowerCase(),G["Webkit"+X]="webkit"+Z,G["Moz"+X]="moz"+Z,G}function R8(X){if(n$[X])return n$[X];if(!f9[X])return X;var Z=f9[X],G;for(G in Z)if(Z.hasOwnProperty(G)&&G in tB)return n$[X]=Z[G];return X}function i5(X,Z){$H.set(X,Z),m4(Z,[X])}function Zq(X){for(var Z=R1,G=0;G<X.length;G++){var $=X[G];if(typeof $==="object"&&$!==null)if(w4($)&&$.length===2&&typeof $[0]==="string"){if(Z!==R1&&Z!==XY)return t$;Z=XY}else return t$;else{if(typeof $==="function"||typeof $==="string"&&50<$.length||Z!==R1&&Z!==e$)return t$;Z=e$}}return Z}function vG(X,Z,G,$){for(var Y in X)r5.call(X,Y)&&Y[0]!=="_"&&W6(Y,X[Y],Z,G,$)}function W6(X,Z,G,$,Y){switch(typeof Z){case"object":if(Z===null){Z="null";break}else{if(Z.$$typeof===S6){var z=w2(Z.type)||"…",J=Z.key;Z=Z.props;var B=Object.keys(Z),H=B.length;if(J==null&&H===0){Z="<"+z+" />";break}if(3>$||H===1&&B[0]==="children"&&J==null){Z="<"+z+" … />";break}G.push([Y+" ".repeat($)+X,"<"+z]),J!==null&&W6("key",J,G,$+1,Y),X=!1;for(var W in Z)W==="children"?Z.children!=null&&(!w4(Z.children)||0<Z.children.length)&&(X=!0):r5.call(Z,W)&&W[0]!=="_"&&W6(W,Z[W],G,$+1,Y);G.push(["",X?">…</"+z+">":"/>"]);return}if(z=Object.prototype.toString.call(Z),z=z.slice(8,z.length-1),z==="Array"){if(W=Zq(Z),W===e$||W===R1){Z=JSON.stringify(Z);break}else if(W===XY){G.push([Y+" ".repeat($)+X,""]);for(X=0;X<Z.length;X++)z=Z[X],W6(z[0],z[1],G,$+1,Y);return}}if(z==="Promise"){if(Z.status==="fulfilled"){if(z=G.length,W6(X,Z.value,G,$,Y),G.length>z){G=G[z],G[1]="Promise<"+(G[1]||"Object")+">";return}}else if(Z.status==="rejected"&&(z=G.length,W6(X,Z.reason,G,$,Y),G.length>z)){G=G[z],G[1]="Rejected Promise<"+G[1]+">";return}G.push([" ".repeat($)+X,"Promise"]);return}z==="Object"&&(W=Object.getPrototypeOf(Z))&&typeof W.constructor==="function"&&(z=W.constructor.name),G.push([Y+" ".repeat($)+X,z==="Object"?3>$?"":"…":z]),3>$&&vG(Z,G,$+1,Y);return}case"function":Z=Z.name===""?"() => {}":Z.name+"() {}";break;case"string":Z=Z===jR?"…":JSON.stringify(Z);break;case"undefined":Z="undefined";break;case"boolean":Z=Z?"true":"false";break;default:Z=String(Z)}G.push([Y+" ".repeat($)+X,Z])}function oz(X,Z,G,$){var Y=!0;for(J in X)J in Z||(G.push([_1+" ".repeat($)+J,"…"]),Y=!1);for(var z in Z)if(z in X){var J=X[z],B=Z[z];if(J!==B){if($===0&&z==="children")Y=" ".repeat($)+z,G.push([_1+Y,"…"],[O1+Y,"…"]);else{if(!(3<=$)){if(typeof J==="object"&&typeof B==="object"&&J!==null&&B!==null&&J.$$typeof===B.$$typeof)if(B.$$typeof===S6){if(J.type===B.type&&J.key===B.key){J=w2(B.type)||"…",Y=" ".repeat($)+z,J="<"+J+" … />",G.push([_1+Y,J],[O1+Y,J]),Y=!1;continue}}else{var H=Object.prototype.toString.call(J),W=Object.prototype.toString.call(B);if(H===W&&(W==="[object Object]"||W==="[object Array]")){H=[JH+" ".repeat($)+z,W==="[object Array]"?"Array":""],G.push(H),W=G.length,oz(J,B,G,$+1)?W===G.length&&(H[1]="Referentially unequal but deeply equal objects. Consider memoization."):Y=!1;continue}}else if(typeof J==="function"&&typeof B==="function"&&J.name===B.name&&J.length===B.length&&(H=Function.prototype.toString.call(J),W=Function.prototype.toString.call(B),H===W)){J=B.name===""?"() => {}":B.name+"() {}",G.push([JH+" ".repeat($)+z,J+" Referentially unequal function closure. Consider memoization."]);continue}}W6(z,J,G,$,_1),W6(z,B,G,$,O1)}Y=!1}}else G.push([O1+" ".repeat($)+z,"…"]),Y=!1;return Y}function _5(X){L2=X&63?"Blocking":X&64?"Gesture":X&4194176?"Transition":X&62914560?"Suspense":X&2080374784?"Idle":"Other"}function M6(X,Z,G,$){o2&&(D7.start=Z,D7.end=G,e6.color="warning",e6.tooltipText=$,e6.properties=null,(X=X._debugTask)?X.run(performance.measure.bind(performance,$,D7)):performance.measure($,D7))}function G0(X,Z,G){M6(X,Z,G,"Reconnect")}function $0(X,Z,G,$,Y){var z=p(X);if(z!==null&&o2){var{alternate:J,actualDuration:B}=X;if(J===null||J.child!==X.child)for(var H=X.child;H!==null;H=H.sibling)B-=H.actualDuration;$=0.5>B?$?"tertiary-light":"primary-light":10>B?$?"tertiary":"primary":100>B?$?"tertiary-dark":"primary-dark":"error";var W=X.memoizedProps;B=X._debugTask,W!==null&&J!==null&&J.memoizedProps!==W?(H=[VR],W=oz(J.memoizedProps,W,H,0),1<H.length&&(W&&!x7&&(J.lanes&Y)===0&&100<X.actualDuration?(x7=!0,H[0]=xR,e6.color="warning",e6.tooltipText=QH):(e6.color=$,e6.tooltipText=z),e6.properties=H,D7.start=Z,D7.end=G,B!=null?B.run(performance.measure.bind(performance,""+z,D7)):performance.measure(""+z,D7))):B!=null?B.run(console.timeStamp.bind(console,z,Z,G,x5,void 0,$)):console.timeStamp(z,Z,G,x5,void 0,$)}}function kG(X,Z,G,$){if(o2){var Y=p(X);if(Y!==null){for(var z=null,J=[],B=0;B<$.length;B++){var H=$[B];z==null&&H.source!==null&&(z=H.source._debugTask),H=H.value,J.push(["Error",typeof H==="object"&&H!==null&&typeof H.message==="string"?String(H.message):String(H)])}X.key!==null&&W6("key",X.key,J,0,""),X.memoizedProps!==null&&vG(X.memoizedProps,J,0,""),z==null&&(z=X._debugTask),X={start:Z,end:G,detail:{devtools:{color:"error",track:x5,tooltipText:X.tag===13?"Hydration failed":"Error boundary caught an error",properties:J}}},z?z.run(performance.measure.bind(performance,""+Y,X)):performance.measure(""+Y,X)}}}function q6(X,Z,G,$,Y){if(Y!==null){if(o2){var z=p(X);if(z!==null){$=[];for(var J=0;J<Y.length;J++){var B=Y[J].value;$.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}X.key!==null&&W6("key",X.key,$,0,""),X.memoizedProps!==null&&vG(X.memoizedProps,$,0,""),Z={start:Z,end:G,detail:{devtools:{color:"error",track:x5,tooltipText:"A lifecycle or effect errored",properties:$}}},(X=X._debugTask)?X.run(performance.measure.bind(performance,""+z,Z)):performance.measure(""+z,Z)}}}else z=p(X),z!==null&&o2&&(Y=1>$?"secondary-light":100>$?"secondary":500>$?"secondary-dark":"error",(X=X._debugTask)?X.run(console.timeStamp.bind(console,z,Z,G,x5,void 0,Y)):console.timeStamp(z,Z,G,x5,void 0,Y))}function Gq(X,Z,G,$){if(o2&&!(Z<=X)){var Y=(G&738197653)===G?"tertiary-dark":"primary-dark";G=(G&536870912)===G?"Prepared":(G&201326741)===G?"Hydrated":"Render",$?$.run(console.timeStamp.bind(console,G,X,Z,L2,_2,Y)):console.timeStamp(G,X,Z,L2,_2,Y)}}function rz(X,Z,G,$){!o2||Z<=X||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",$?$.run(console.timeStamp.bind(console,"Prewarm",X,Z,L2,_2,G)):console.timeStamp("Prewarm",X,Z,L2,_2,G))}function tz(X,Z,G,$){!o2||Z<=X||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",$?$.run(console.timeStamp.bind(console,"Suspended",X,Z,L2,_2,G)):console.timeStamp("Suspended",X,Z,L2,_2,G))}function $q(X,Z,G,$,Y,z){if(o2&&!(Z<=X)){G=[];for(var J=0;J<$.length;J++){var B=$[J].value;G.push(["Recoverable Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}X={start:X,end:Z,detail:{devtools:{color:"primary-dark",track:L2,trackGroup:_2,tooltipText:Y?"Hydration Failed":"Recovered after Error",properties:G}}},z?z.run(performance.measure.bind(performance,"Recovered",X)):performance.measure("Recovered",X)}}function gG(X,Z,G,$){!o2||Z<=X||($?$.run(console.timeStamp.bind(console,"Errored",X,Z,L2,_2,"error")):console.timeStamp("Errored",X,Z,L2,_2,"error"))}function Yq(X,Z,G,$){!o2||Z<=X||($?$.run(console.timeStamp.bind(console,G,X,Z,L2,_2,"secondary-light")):console.timeStamp(G,X,Z,L2,_2,"secondary-light"))}function ez(X,Z,G,$,Y){if(o2&&!(Z<=X)){for(var z=[],J=0;J<G.length;J++){var B=G[J].value;z.push(["Error",typeof B==="object"&&B!==null&&typeof B.message==="string"?String(B.message):String(B)])}X={start:X,end:Z,detail:{devtools:{color:"error",track:L2,trackGroup:_2,tooltipText:$?"Remaining Effects Errored":"Commit Errored",properties:z}}},Y?Y.run(performance.measure.bind(performance,"Errored",X)):performance.measure("Errored",X)}}function LX(X,Z,G){!o2||Z<=X||(G?G.run(console.timeStamp.bind(console,"Animating",X,Z,L2,_2,"secondary-dark")):console.timeStamp("Animating",X,Z,L2,_2,"secondary-dark"))}function Y0(){for(var X=j9,Z=ZY=j9=0;Z<X;){var G=D5[Z];D5[Z++]=null;var $=D5[Z];D5[Z++]=null;var Y=D5[Z];D5[Z++]=null;var z=D5[Z];if(D5[Z++]=null,$!==null&&Y!==null){var J=$.pending;J===null?Y.next=Y:(Y.next=J.next,J.next=Y),$.pending=Y}z!==0&&XJ(G,Y,z)}}function z0(X,Z,G,$){D5[j9++]=X,D5[j9++]=Z,D5[j9++]=G,D5[j9++]=$,ZY|=$,X.lanes|=$,X=X.alternate,X!==null&&(X.lanes|=$)}function bG(X,Z,G,$){return z0(X,Z,G,$),J0(X)}function u4(X,Z){return z0(X,null,null,Z),J0(X)}function XJ(X,Z,G){X.lanes|=G;var $=X.alternate;$!==null&&($.lanes|=G);for(var Y=!1,z=X.return;z!==null;)z.childLanes|=G,$=z.alternate,$!==null&&($.childLanes|=G),z.tag===22&&(X=z.stateNode,X===null||X._visibility&YZ||(Y=!0)),X=z,z=z.return;return X.tag===3?(z=X.stateNode,Y&&Z!==null&&(Y=31-a4(G),X=z.hiddenUpdates,$=X[Y],$===null?X[Y]=[Z]:$.push(Z),Z.lane=G|536870912),z):null}function J0(X){if(bZ>rR)throw p8=bZ=0,yZ=jY=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");p8>tR&&(p8=0,yZ=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),X.alternate===null&&(X.flags&4098)!==0&&_U(X);for(var Z=X,G=Z.return;G!==null;)Z.alternate===null&&(Z.flags&4098)!==0&&_U(X),Z=G,G=Z.return;return Z.tag===3?Z.stateNode:null}function _8(X){if(E5===null)return X;var Z=E5(X);return Z===void 0?X:Z.current}function yG(X){if(E5===null)return X;var Z=E5(X);return Z===void 0?X!==null&&X!==void 0&&typeof X.render==="function"&&(Z=_8(X.render),X.render!==Z)?(Z={$$typeof:sX,render:Z},X.displayName!==void 0&&(Z.displayName=X.displayName),Z):X:Z.current}function ZJ(X,Z){if(E5===null)return!1;var G=X.elementType;Z=Z.type;var $=!1,Y=typeof Z==="object"&&Z!==null?Z.$$typeof:null;switch(X.tag){case 1:typeof Z==="function"&&($=!0);break;case 0:typeof Z==="function"?$=!0:Y===T5&&($=!0);break;case 11:Y===sX?$=!0:Y===T5&&($=!0);break;case 14:case 15:Y===$1?$=!0:Y===T5&&($=!0);break;default:return!1}return $&&(X=E5(G),X!==void 0&&X===E5(Z))?!0:!1}function GJ(X){E5!==null&&typeof WeakSet==="function"&&(V9===null&&(V9=new WeakSet),V9.add(X))}function $J(X,Z,G){do{var $=X,Y=$.alternate,z=$.child,J=$.sibling,B=$.tag;$=$.type;var H=null;switch(B){case 0:case 15:case 1:H=$;break;case 11:H=$.render}if(E5===null)throw Error("Expected resolveFamily to be set during hot reload.");var W=!1;if($=!1,H!==null&&(H=E5(H),H!==void 0&&(G.has(H)?$=!0:Z.has(H)&&(B===1?$=!0:W=!0))),V9!==null&&(V9.has(X)||Y!==null&&V9.has(Y))&&($=!0),$&&(X._debugNeedsRemount=!0),$||W)Y=u4(X,2),Y!==null&&J4(Y,X,2);if(z===null||$||$J(z,Z,G),J===null)break;X=J}while(1)}function zq(X,Z,G,$){this.tag=X,this.key=G,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=Z,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=$,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,UH||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function fG(X){return X=X.prototype,!(!X||!X.isReactComponent)}function c6(X,Z){var G=X.alternate;switch(G===null?(G=k(X.tag,Z,X.key,X.mode),G.elementType=X.elementType,G.type=X.type,G.stateNode=X.stateNode,G._debugOwner=X._debugOwner,G._debugStack=X._debugStack,G._debugTask=X._debugTask,G._debugHookTypes=X._debugHookTypes,G.alternate=X,X.alternate=G):(G.pendingProps=Z,G.type=X.type,G.flags=0,G.subtreeFlags=0,G.deletions=null,G.actualDuration=-0,G.actualStartTime=-1.1),G.flags=X.flags&65011712,G.childLanes=X.childLanes,G.lanes=X.lanes,G.child=X.child,G.memoizedProps=X.memoizedProps,G.memoizedState=X.memoizedState,G.updateQueue=X.updateQueue,Z=X.dependencies,G.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},G.sibling=X.sibling,G.index=X.index,G.ref=X.ref,G.refCleanup=X.refCleanup,G.selfBaseDuration=X.selfBaseDuration,G.treeBaseDuration=X.treeBaseDuration,G._debugInfo=X._debugInfo,G._debugNeedsRemount=X._debugNeedsRemount,G.tag){case 0:case 15:G.type=_8(X.type);break;case 1:G.type=_8(X.type);break;case 11:G.type=yG(X.type)}return G}function YJ(X,Z){X.flags&=65011714;var G=X.alternate;return G===null?(X.childLanes=0,X.lanes=Z,X.child=null,X.subtreeFlags=0,X.memoizedProps=null,X.memoizedState=null,X.updateQueue=null,X.dependencies=null,X.stateNode=null,X.selfBaseDuration=0,X.treeBaseDuration=0):(X.childLanes=G.childLanes,X.lanes=G.lanes,X.child=G.child,X.subtreeFlags=0,X.deletions=null,X.memoizedProps=G.memoizedProps,X.memoizedState=G.memoizedState,X.updateQueue=G.updateQueue,X.type=G.type,Z=G.dependencies,X.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},X.selfBaseDuration=G.selfBaseDuration,X.treeBaseDuration=G.treeBaseDuration),X}function jG(X,Z,G,$,Y,z){var J=0,B=X;if(typeof X==="function")fG(X)&&(J=1),B=_8(B);else if(typeof X==="string")J=t(),J=KK(X,G,J)?26:X==="html"||X==="head"||X==="body"?27:5;else X:switch(X){case C$:return Z=k(31,G,Z,Y),Z.elementType=C$,Z.lanes=z,Z;case T9:return O8(G.children,Y,z,Z);case G1:J=8,Y|=l4,Y|=e5;break;case A$:return X=G,$=Y,typeof X.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof X.id),Z=k(12,X,Z,$|H2),Z.elementType=A$,Z.lanes=z,Z.stateNode={effectDuration:0,passiveEffectDuration:0},Z;case I$:return Z=k(13,G,Z,Y),Z.elementType=I$,Z.lanes=z,Z;case P$:return Z=k(19,G,Z,Y),Z.elementType=P$,Z.lanes=z,Z;default:if(typeof X==="object"&&X!==null)switch(X.$$typeof){case v6:J=10;break X;case T$:J=9;break X;case sX:J=11,B=yG(B);break X;case $1:J=14;break X;case T5:J=16,B=null;break X}if(B="",X===void 0||typeof X==="object"&&X!==null&&Object.keys(X).length===0)B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";X===null?G="null":w4(X)?G="array":X!==void 0&&X.$$typeof===S6?(G="<"+(w2(X.type)||"Unknown")+" />",B=" Did you accidentally export a JSX literal instead of a component?"):G=typeof X,(J=$?b5($):null)&&(B+=`
|
|
72
|
-
|
|
73
|
-
Check the render method of \``+J+"`."),J=29,G=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(G+"."+B)),B=null}return Z=k(J,G,Z,Y),Z.elementType=X,Z.type=B,Z.lanes=z,Z._debugOwner=$,Z}function Q0(X,Z,G){return Z=jG(X.type,X.key,X.props,X._owner,Z,G),Z._debugOwner=X._owner,Z._debugStack=X._debugStack,Z._debugTask=X._debugTask,Z}function O8(X,Z,G,$){return X=k(7,X,$,Z),X.lanes=G,X}function VG(X,Z,G){return X=k(6,X,null,Z),X.lanes=G,X}function zJ(X){var Z=k(18,null,null,Z2);return Z.stateNode=X,Z}function xG(X,Z,G){return Z=k(4,X.children!==null?X.children:[],X.key,Z),Z.lanes=G,Z.stateNode={containerInfo:X.containerInfo,pendingChildren:null,implementation:X.implementation},Z}function O5(X,Z){if(typeof X==="object"&&X!==null){var G=GY.get(X);if(G!==void 0)return G;return Z={value:X,source:Z,stack:q5(Z)},GY.set(X,Z),Z}return{value:X,source:Z,stack:q5(Z)}}function s6(X,Z){F7(),x9[D9++]=zZ,x9[D9++]=L1,L1=X,zZ=Z}function JJ(X,Z,G){F7(),h5[m5++]=Z7,h5[m5++]=G7,h5[m5++]=g8,g8=X;var $=Z7;X=G7;var Y=32-a4($)-1;$&=~(1<<Y),G+=1;var z=32-a4(Z)+Y;if(30<z){var J=Y-Y%5;z=($&(1<<J)-1).toString(32),$>>=J,Y-=J,Z7=1<<32-a4(Z)+Y|G<<Y|$,G7=z+X}else Z7=1<<z|G<<Y|$,G7=X}function DG(X){F7(),X.return!==null&&(s6(X,1),JJ(X,1,0))}function EG(X){for(;X===L1;)L1=x9[--D9],x9[D9]=null,zZ=x9[--D9],x9[D9]=null;for(;X===g8;)g8=h5[--m5],h5[m5]=null,G7=h5[--m5],h5[m5]=null,Z7=h5[--m5],h5[m5]=null}function QJ(){return F7(),g8!==null?{id:Z7,overflow:G7}:null}function UJ(X,Z){F7(),h5[m5++]=Z7,h5[m5++]=G7,h5[m5++]=g8,Z7=Z.id,G7=Z.overflow,g8=X}function F7(){N2||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function L8(X,Z){if(X.return===null){if(C5===null)C5={fiber:X,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z};else{if(C5.fiber!==X)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");C5.distanceFromLeaf>Z&&(C5.distanceFromLeaf=Z)}return C5}var G=L8(X.return,Z+1).children;if(0<G.length&&G[G.length-1].fiber===X)return G=G[G.length-1],G.distanceFromLeaf>Z&&(G.distanceFromLeaf=Z),G;return Z={fiber:X,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z},G.push(Z),Z}function BJ(){N2&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function U0(X,Z){j6||(X=L8(X,0),X.serverProps=null,Z!==null&&(Z=uU(Z),X.serverTail.push(Z)))}function N7(X){var Z=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,G="",$=C5;throw $!==null&&(C5=null,G=TG($)),FX(O5(Error("Hydration failed because the server rendered "+(Z?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
74
|
-
|
|
75
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
76
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
77
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
78
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
79
|
-
- Invalid HTML tag nesting.
|
|
80
|
-
|
|
81
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
82
|
-
|
|
83
|
-
https://react.dev/link/hydration-mismatch`+G),X)),$Y}function HJ(X){var{stateNode:Z,type:G,memoizedProps:$}=X;switch(Z[E4]=X,Z[i4]=$,Y$(G,$),G){case"dialog":A2("cancel",Z),A2("close",Z);break;case"iframe":case"object":case"embed":A2("load",Z);break;case"video":case"audio":for(G=0;G<fZ.length;G++)A2(fZ[G],Z);break;case"source":A2("error",Z);break;case"img":case"image":case"link":A2("error",Z),A2("load",Z);break;case"details":A2("toggle",Z);break;case"input":L7("input",$),A2("invalid",Z),_z(Z,$),Oz(Z,$.value,$.defaultValue,$.checked,$.defaultChecked,$.type,$.name,!0);break;case"option":Lz(Z,$);break;case"select":L7("select",$),A2("invalid",Z),Nz(Z,$);break;case"textarea":L7("textarea",$),A2("invalid",Z),wz(Z,$),Tz(Z,$.value,$.defaultValue,$.children)}G=$.children,typeof G!=="string"&&typeof G!=="number"&&typeof G!=="bigint"||Z.textContent===""+G||$.suppressHydrationWarning===!0||SU(Z.textContent,G)?($.popover!=null&&(A2("beforetoggle",Z),A2("toggle",Z)),$.onScroll!=null&&A2("scroll",Z),$.onScrollEnd!=null&&A2("scrollend",Z),$.onClick!=null&&(Z.onclick=p6),Z=!0):Z=!1,Z||N7(X,!0)}function WJ(X){for(h4=X.return;h4;)switch(h4.tag){case 5:case 31:case 13:u5=!1;return;case 27:case 3:u5=!0;return;default:h4=h4.return}}function Q9(X){if(X!==h4)return!1;if(!N2)return WJ(X),N2=!0,!1;var Z=X.tag,G;if(G=Z!==3&&Z!==27){if(G=Z===5)G=X.type,G=!(G!=="form"&&G!=="button")||B$(X.type,X.memoizedProps);G=!G}if(G&&r2){for(G=r2;G;){var $=L8(X,0),Y=uU(G);$.serverTail.push(Y),G=Y.type==="Suspense"?q$(G):A5(G.nextSibling)}N7(X)}if(WJ(X),Z===13){if(X=X.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");r2=q$(X)}else if(Z===31){if(X=X.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");r2=q$(X)}else Z===27?(Z=r2,g7(X.type)?(X=sY,sY=null,r2=X):r2=Z):r2=h4?A5(X.stateNode.nextSibling):null;return!0}function F8(){r2=h4=null,j6=N2=!1}function hG(){var X=h7;return X!==null&&(X5===null?X5=X:X5.push.apply(X5,X),h7=null),X}function FX(X){h7===null?h7=[X]:h7.push(X)}function mG(){var X=C5;if(X!==null){C5=null;for(var Z=TG(X);0<X.children.length;)X=X.children[0];s(X.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
84
|
-
|
|
85
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
86
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
87
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
88
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
89
|
-
- Invalid HTML tag nesting.
|
|
90
|
-
|
|
91
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
92
|
-
|
|
93
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",Z)})}}function B0(){E9=F1=null,h9=!1}function w7(X,Z,G){F2(YY,Z._currentValue,X),Z._currentValue=G,F2(zY,Z._currentRenderer,X),Z._currentRenderer!==void 0&&Z._currentRenderer!==null&&Z._currentRenderer!==HH&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),Z._currentRenderer=HH}function a6(X,Z){X._currentValue=YY.current;var G=zY.current;v2(zY,Z),X._currentRenderer=G,v2(YY,Z)}function uG(X,Z,G){for(;X!==null;){var $=X.alternate;if((X.childLanes&Z)!==Z?(X.childLanes|=Z,$!==null&&($.childLanes|=Z)):$!==null&&($.childLanes&Z)!==Z&&($.childLanes|=Z),X===G)break;X=X.return}X!==G&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function dG(X,Z,G,$){var Y=X.child;Y!==null&&(Y.return=X);for(;Y!==null;){var z=Y.dependencies;if(z!==null){var J=Y.child;z=z.firstContext;X:for(;z!==null;){var B=z;z=Y;for(var H=0;H<Z.length;H++)if(B.context===Z[H]){z.lanes|=G,B=z.alternate,B!==null&&(B.lanes|=G),uG(z.return,G,X),$||(J=null);break X}z=B.next}}else if(Y.tag===18){if(J=Y.return,J===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");J.lanes|=G,z=J.alternate,z!==null&&(z.lanes|=G),uG(J,G,X),J=null}else J=Y.child;if(J!==null)J.return=Y;else for(J=Y;J!==null;){if(J===X){J=null;break}if(Y=J.sibling,Y!==null){Y.return=J.return,J=Y;break}J=J.return}Y=J}}function U9(X,Z,G,$){X=null;for(var Y=Z,z=!1;Y!==null;){if(!z){if((Y.flags&524288)!==0)z=!0;else if((Y.flags&262144)!==0)break}if(Y.tag===10){var J=Y.alternate;if(J===null)throw Error("Should have a current fiber. This is a bug in React.");if(J=J.memoizedProps,J!==null){var B=Y.type;o4(Y.pendingProps.value,J.value)||(X!==null?X.push(B):X=[B])}}else if(Y===Y1.current){if(J=Y.alternate,J===null)throw Error("Should have a current fiber. This is a bug in React.");J.memoizedState.memoizedState!==Y.memoizedState.memoizedState&&(X!==null?X.push(EZ):X=[EZ])}Y=Y.return}X!==null&&dG(Z,X,G,$),Z.flags|=262144}function H0(X){for(X=X.firstContext;X!==null;){if(!o4(X.context._currentValue,X.memoizedValue))return!0;X=X.next}return!1}function N8(X){F1=X,E9=null,X=X.dependencies,X!==null&&(X.firstContext=null)}function e2(X){return h9&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),MJ(F1,X)}function W0(X,Z){return F1===null&&N8(X),MJ(X,Z)}function MJ(X,Z){var G=Z._currentValue;if(Z={context:Z,memoizedValue:G,next:null},E9===null){if(X===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");E9=Z,X.dependencies={lanes:0,firstContext:Z,_debugThenableState:null},X.flags|=524288}else E9=E9.next=Z;return G}function lG(){return{controller:new hR,data:new Map,refCount:0}}function w8(X){X.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),X.refCount++}function NX(X){X.refCount--,0>X.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),X.refCount===0&&mR(uR,function(){X.controller.abort()})}function K6(X,Z,G){if((X&127)!==0)0>V6&&(V6=K4(),QZ=N1(Z),JY=Z,G!=null&&(QY=p(G)),(I2&(T4|k5))!==b4&&(Q4=!0,d7=JZ),X=uX(),Z=mX(),X!==m9||Z!==UZ?m9=-1.1:Z!==null&&(d7=JZ),y8=X,UZ=Z);else if((X&4194048)!==0&&0>d5&&(d5=K4(),BZ=N1(Z),WH=Z,G!=null&&(MH=p(G)),0>z7)){if(X=uX(),Z=mX(),X!==p7||Z!==f8)p7=-1.1;l7=X,f8=Z}}function Jq(X){if(0>V6){V6=K4(),QZ=X._debugTask!=null?X._debugTask:null,(I2&(T4|k5))!==b4&&(d7=JZ);var Z=uX(),G=mX();Z!==m9||G!==UZ?m9=-1.1:G!==null&&(d7=JZ),y8=Z,UZ=G}if(0>d5&&(d5=K4(),BZ=X._debugTask!=null?X._debugTask:null,0>z7)){if(X=uX(),Z=mX(),X!==p7||Z!==f8)p7=-1.1;l7=X,f8=Z}}function i6(){var X=b8;return b8=0,X}function M0(X){var Z=b8;return b8=X,Z}function wX(X){var Z=b8;return b8+=X,Z}function q0(){e=r=-1.1}function L5(){var X=r;return r=-1.1,X}function F5(X){0<=X&&(r=X)}function R6(){var X=Z4;return Z4=-0,X}function _6(X){0<=X&&(Z4=X)}function O6(){var X=X4;return X4=null,X}function L6(){var X=Q4;return Q4=!1,X}function pG(X){r4=K4(),0>X.actualStartTime&&(X.actualStartTime=r4)}function cG(X){if(0<=r4){var Z=K4()-r4;X.actualDuration+=Z,X.selfBaseDuration=Z,r4=-1}}function qJ(X){if(0<=r4){var Z=K4()-r4;X.actualDuration+=Z,r4=-1}}function F6(){if(0<=r4){var X=K4(),Z=X-r4;r4=-1,b8+=Z,Z4+=Z,e=X}}function KJ(X){X4===null&&(X4=[]),X4.push(X),Y7===null&&(Y7=[]),Y7.push(X)}function N6(){r4=K4(),0>r&&(r=r4)}function AX(X){for(var Z=X.child;Z;)X.actualDuration+=Z.actualDuration,Z=Z.sibling}function Qq(X,Z){if(WZ===null){var G=WZ=[];BY=0,j8=X$(),u9={status:"pending",value:void 0,then:function($){G.push($)}}}return BY++,Z.then(RJ,RJ),Z}function RJ(){if(--BY===0&&(-1<d5||(z7=-1.1),WZ!==null)){u9!==null&&(u9.status="fulfilled");var X=WZ;WZ=null,j8=0,u9=null;for(var Z=0;Z<X.length;Z++)(0,X[Z])()}}function Uq(X,Z){var G=[],$={status:"pending",value:null,reason:null,then:function(Y){G.push(Y)}};return X.then(function(){$.status="fulfilled",$.value=Z;for(var Y=0;Y<G.length;Y++)(0,G[Y])(Z)},function(Y){$.status="rejected",$.reason=Y;for(Y=0;Y<G.length;Y++)(0,G[Y])(void 0)}),$}function sG(){var X=V8.current;return X!==null?X:l2.pooledCache}function K0(X,Z){Z===null?F2(V8,V8.current,X):F2(V8,Z.pool,X)}function _J(){var X=sG();return X===null?null:{parent:q4._currentValue,pool:X}}function OJ(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function LJ(X){return X=X.status,X==="fulfilled"||X==="rejected"}function FJ(X,Z,G){b.actQueue!==null&&(b.didUsePromise=!0);var $=X.thenables;if(G=$[G],G===void 0?$.push(Z):G!==Z&&(X.didWarnAboutUncachedPromise||(X.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),Z.then(p6,p6),Z=G),Z._debugInfo===void 0){X=performance.now(),$=Z.displayName;var Y={name:typeof $==="string"?$:"Promise",start:X,end:X,value:Z};Z._debugInfo=[{awaited:Y}],Z.status!=="fulfilled"&&Z.status!=="rejected"&&(X=function(){Y.end=performance.now()},Z.then(X,X))}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw X=Z.reason,wJ(X),X;default:if(typeof Z.status==="string")Z.then(p6,p6);else{if(X=l2,X!==null&&100<X.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");X=Z,X.status="pending",X.then(function(z){if(Z.status==="pending"){var J=Z;J.status="fulfilled",J.value=z}},function(z){if(Z.status==="pending"){var J=Z;J.status="rejected",J.reason=z}})}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw X=Z.reason,wJ(X),X}throw D8=Z,LZ=!0,d9}}function A7(X){try{return cR(X)}catch(Z){if(Z!==null&&typeof Z==="object"&&typeof Z.then==="function")throw D8=Z,LZ=!0,d9;throw Z}}function NJ(){if(D8===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var X=D8;return D8=null,LZ=!1,X}function wJ(X){if(X===d9||X===v1)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function V4(X){var Z=W2;return X!=null&&(W2=Z===null?X:Z.concat(X)),Z}function aG(){var X=W2;if(X!=null){for(var Z=X.length-1;0<=Z;Z--)if(X[Z].name!=null){var G=X[Z].debugTask;if(G!=null)return G}}return null}function R0(X,Z,G){for(var $=Object.keys(X.props),Y=0;Y<$.length;Y++){var z=$[Y];if(z!=="children"&&z!=="key"){Z===null&&(Z=Q0(X,G.mode,0),Z._debugInfo=W2,Z.return=G),s(Z,function(J){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",J)},z);break}}}function _0(X){var Z=FZ;return FZ+=1,l9===null&&(l9=OJ()),FJ(l9,X,Z)}function TX(X,Z){Z=Z.props.ref,X.ref=Z!==void 0?Z:null}function AJ(X,Z){if(Z.$$typeof===IK)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
94
|
-
- Multiple copies of the "react" package is used.
|
|
95
|
-
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
96
|
-
- A compiler tries to "inline" JSX instead of using the runtime.`);throw X=Object.prototype.toString.call(Z),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}function O0(X,Z){var G=aG();G!==null?G.run(AJ.bind(null,X,Z)):AJ(X,Z)}function TJ(X,Z){var G=p(X)||"Component";yH[G]||(yH[G]=!0,Z=Z.displayName||Z.name||"Component",X.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
97
|
-
root.render(%s)`,Z,Z,Z):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
98
|
-
<%s>{%s}</%s>`,Z,Z,G,Z,G))}function L0(X,Z){var G=aG();G!==null?G.run(TJ.bind(null,X,Z)):TJ(X,Z)}function IJ(X,Z){var G=p(X)||"Component";fH[G]||(fH[G]=!0,Z=String(Z),X.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
|
-
root.render(%s)`,Z):console.error(`Symbols are not valid as a React child.
|
|
100
|
-
<%s>%s</%s>`,G,Z,G))}function F0(X,Z){var G=aG();G!==null?G.run(IJ.bind(null,X,Z)):IJ(X,Z)}function PJ(X){function Z(L,w){if(X){var T=L.deletions;T===null?(L.deletions=[w],L.flags|=16):T.push(w)}}function G(L,w){if(!X)return null;for(;w!==null;)Z(L,w),w=w.sibling;return null}function $(L){for(var w=new Map;L!==null;)L.key!==null?w.set(L.key,L):w.set(L.index,L),L=L.sibling;return w}function Y(L,w){return L=c6(L,w),L.index=0,L.sibling=null,L}function z(L,w,T){if(L.index=T,!X)return L.flags|=1048576,w;if(T=L.alternate,T!==null)return T=T.index,T<w?(L.flags|=67108866,w):T;return L.flags|=67108866,w}function J(L){return X&&L.alternate===null&&(L.flags|=67108866),L}function B(L,w,T,y){if(w===null||w.tag!==6)return w=VG(T,L.mode,y),w.return=L,w._debugOwner=L,w._debugTask=L._debugTask,w._debugInfo=W2,w;return w=Y(w,T),w.return=L,w._debugInfo=W2,w}function H(L,w,T,y){var d=T.type;if(d===T9)return w=I(L,w,T.props.children,y,T.key),R0(T,w,L),w;if(w!==null&&(w.elementType===d||ZJ(w,T)||typeof d==="object"&&d!==null&&d.$$typeof===T5&&A7(d)===w.type))return w=Y(w,T.props),TX(w,T),w.return=L,w._debugOwner=T._owner,w._debugInfo=W2,w;return w=Q0(T,L.mode,y),TX(w,T),w.return=L,w._debugInfo=W2,w}function W(L,w,T,y){if(w===null||w.tag!==4||w.stateNode.containerInfo!==T.containerInfo||w.stateNode.implementation!==T.implementation)return w=xG(T,L.mode,y),w.return=L,w._debugInfo=W2,w;return w=Y(w,T.children||[]),w.return=L,w._debugInfo=W2,w}function I(L,w,T,y,d){if(w===null||w.tag!==7)return w=O8(T,L.mode,y,d),w.return=L,w._debugOwner=L,w._debugTask=L._debugTask,w._debugInfo=W2,w;return w=Y(w,T),w.return=L,w._debugInfo=W2,w}function P(L,w,T){if(typeof w==="string"&&w!==""||typeof w==="number"||typeof w==="bigint")return w=VG(""+w,L.mode,T),w.return=L,w._debugOwner=L,w._debugTask=L._debugTask,w._debugInfo=W2,w;if(typeof w==="object"&&w!==null){switch(w.$$typeof){case S6:return T=Q0(w,L.mode,T),TX(T,w),T.return=L,L=V4(w._debugInfo),T._debugInfo=W2,W2=L,T;case A9:return w=xG(w,L.mode,T),w.return=L,w._debugInfo=W2,w;case T5:var y=V4(w._debugInfo);return w=A7(w),L=P(L,w,T),W2=y,L}if(w4(w)||N4(w))return T=O8(w,L.mode,T,null),T.return=L,T._debugOwner=L,T._debugTask=L._debugTask,L=V4(w._debugInfo),T._debugInfo=W2,W2=L,T;if(typeof w.then==="function")return y=V4(w._debugInfo),L=P(L,_0(w),T),W2=y,L;if(w.$$typeof===v6)return P(L,W0(L,w),T);O0(L,w)}return typeof w==="function"&&L0(L,w),typeof w==="symbol"&&F0(L,w),null}function N(L,w,T,y){var d=w!==null?w.key:null;if(typeof T==="string"&&T!==""||typeof T==="number"||typeof T==="bigint")return d!==null?null:B(L,w,""+T,y);if(typeof T==="object"&&T!==null){switch(T.$$typeof){case S6:return T.key===d?(d=V4(T._debugInfo),L=H(L,w,T,y),W2=d,L):null;case A9:return T.key===d?W(L,w,T,y):null;case T5:return d=V4(T._debugInfo),T=A7(T),L=N(L,w,T,y),W2=d,L}if(w4(T)||N4(T)){if(d!==null)return null;return d=V4(T._debugInfo),L=I(L,w,T,y,null),W2=d,L}if(typeof T.then==="function")return d=V4(T._debugInfo),L=N(L,w,_0(T),y),W2=d,L;if(T.$$typeof===v6)return N(L,w,W0(L,T),y);O0(L,T)}return typeof T==="function"&&L0(L,T),typeof T==="symbol"&&F0(L,T),null}function v(L,w,T,y,d){if(typeof y==="string"&&y!==""||typeof y==="number"||typeof y==="bigint")return L=L.get(T)||null,B(w,L,""+y,d);if(typeof y==="object"&&y!==null){switch(y.$$typeof){case S6:return T=L.get(y.key===null?T:y.key)||null,L=V4(y._debugInfo),w=H(w,T,y,d),W2=L,w;case A9:return L=L.get(y.key===null?T:y.key)||null,W(w,L,y,d);case T5:var $2=V4(y._debugInfo);return y=A7(y),w=v(L,w,T,y,d),W2=$2,w}if(w4(y)||N4(y))return T=L.get(T)||null,L=V4(y._debugInfo),w=I(w,T,y,d,null),W2=L,w;if(typeof y.then==="function")return $2=V4(y._debugInfo),w=v(L,w,T,_0(y),d),W2=$2,w;if(y.$$typeof===v6)return v(L,w,T,W0(w,y),d);O0(w,y)}return typeof y==="function"&&L0(w,y),typeof y==="symbol"&&F0(w,y),null}function m(L,w,T,y){if(typeof T!=="object"||T===null)return y;switch(T.$$typeof){case S6:case A9:f(L,w,T);var d=T.key;if(typeof d!=="string")break;if(y===null){y=new Set,y.add(d);break}if(!y.has(d)){y.add(d);break}s(w,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",d)});break;case T5:T=A7(T),m(L,w,T,y)}return y}function c(L,w,T,y){for(var d=null,$2=null,n=null,i=w,U2=w=0,t2=null;i!==null&&U2<T.length;U2++){i.index>U2?(t2=i,i=null):t2=i.sibling;var W4=N(L,i,T[U2],y);if(W4===null){i===null&&(i=t2);break}d=m(L,W4,T[U2],d),X&&i&&W4.alternate===null&&Z(L,i),w=z(W4,w,U2),n===null?$2=W4:n.sibling=W4,n=W4,i=t2}if(U2===T.length)return G(L,i),N2&&s6(L,U2),$2;if(i===null){for(;U2<T.length;U2++)i=P(L,T[U2],y),i!==null&&(d=m(L,i,T[U2],d),w=z(i,w,U2),n===null?$2=i:n.sibling=i,n=i);return N2&&s6(L,U2),$2}for(i=$(i);U2<T.length;U2++)t2=v(i,L,U2,T[U2],y),t2!==null&&(d=m(L,t2,T[U2],d),X&&t2.alternate!==null&&i.delete(t2.key===null?U2:t2.key),w=z(t2,w,U2),n===null?$2=t2:n.sibling=t2,n=t2);return X&&i.forEach(function(K7){return Z(L,K7)}),N2&&s6(L,U2),$2}function s2(L,w,T,y){if(T==null)throw Error("An iterable object provided no iterator.");for(var d=null,$2=null,n=w,i=w=0,U2=null,t2=null,W4=T.next();n!==null&&!W4.done;i++,W4=T.next()){n.index>i?(U2=n,n=null):U2=n.sibling;var K7=N(L,n,W4.value,y);if(K7===null){n===null&&(n=U2);break}t2=m(L,K7,W4.value,t2),X&&n&&K7.alternate===null&&Z(L,n),w=z(K7,w,i),$2===null?d=K7:$2.sibling=K7,$2=K7,n=U2}if(W4.done)return G(L,n),N2&&s6(L,i),d;if(n===null){for(;!W4.done;i++,W4=T.next())n=P(L,W4.value,y),n!==null&&(t2=m(L,n,W4.value,t2),w=z(n,w,i),$2===null?d=n:$2.sibling=n,$2=n);return N2&&s6(L,i),d}for(n=$(n);!W4.done;i++,W4=T.next())U2=v(n,L,i,W4.value,y),U2!==null&&(t2=m(L,U2,W4.value,t2),X&&U2.alternate!==null&&n.delete(U2.key===null?i:U2.key),w=z(U2,w,i),$2===null?d=U2:$2.sibling=U2,$2=U2);return X&&n.forEach(function(R_){return Z(L,R_)}),N2&&s6(L,i),d}function T2(L,w,T,y){if(typeof T==="object"&&T!==null&&T.type===T9&&T.key===null&&(R0(T,null,L),T=T.props.children),typeof T==="object"&&T!==null){switch(T.$$typeof){case S6:var d=V4(T._debugInfo);X:{for(var $2=T.key;w!==null;){if(w.key===$2){if($2=T.type,$2===T9){if(w.tag===7){G(L,w.sibling),y=Y(w,T.props.children),y.return=L,y._debugOwner=T._owner,y._debugInfo=W2,R0(T,y,L),L=y;break X}}else if(w.elementType===$2||ZJ(w,T)||typeof $2==="object"&&$2!==null&&$2.$$typeof===T5&&A7($2)===w.type){G(L,w.sibling),y=Y(w,T.props),TX(y,T),y.return=L,y._debugOwner=T._owner,y._debugInfo=W2,L=y;break X}G(L,w);break}else Z(L,w);w=w.sibling}T.type===T9?(y=O8(T.props.children,L.mode,y,T.key),y.return=L,y._debugOwner=L,y._debugTask=L._debugTask,y._debugInfo=W2,R0(T,y,L),L=y):(y=Q0(T,L.mode,y),TX(y,T),y.return=L,y._debugInfo=W2,L=y)}return L=J(L),W2=d,L;case A9:X:{d=T;for(T=d.key;w!==null;){if(w.key===T)if(w.tag===4&&w.stateNode.containerInfo===d.containerInfo&&w.stateNode.implementation===d.implementation){G(L,w.sibling),y=Y(w,d.children||[]),y.return=L,L=y;break X}else{G(L,w);break}else Z(L,w);w=w.sibling}y=xG(d,L.mode,y),y.return=L,L=y}return J(L);case T5:return d=V4(T._debugInfo),T=A7(T),L=T2(L,w,T,y),W2=d,L}if(w4(T))return d=V4(T._debugInfo),L=c(L,w,T,y),W2=d,L;if(N4(T)){if(d=V4(T._debugInfo),$2=N4(T),typeof $2!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var n=$2.call(T);if(n===T){if(L.tag!==0||Object.prototype.toString.call(L.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(n)!=="[object Generator]")gH||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),gH=!0}else T.entries!==$2||qY||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),qY=!0);return L=s2(L,w,n,y),W2=d,L}if(typeof T.then==="function")return d=V4(T._debugInfo),L=T2(L,w,_0(T),y),W2=d,L;if(T.$$typeof===v6)return T2(L,w,W0(L,T),y);O0(L,T)}if(typeof T==="string"&&T!==""||typeof T==="number"||typeof T==="bigint")return d=""+T,w!==null&&w.tag===6?(G(L,w.sibling),y=Y(w,d),y.return=L,L=y):(G(L,w),y=VG(d,L.mode,y),y.return=L,y._debugOwner=L,y._debugTask=L._debugTask,y._debugInfo=W2,L=y),J(L);return typeof T==="function"&&L0(L,T),typeof T==="symbol"&&F0(L,T),G(L,w)}return function(L,w,T,y){var d=W2;W2=null;try{FZ=0;var $2=T2(L,w,T,y);return l9=null,$2}catch(t2){if(t2===d9||t2===v1)throw t2;var n=k(29,t2,null,L.mode);n.lanes=y,n.return=L;var i=n._debugInfo=W2;if(n._debugOwner=L._debugOwner,n._debugTask=L._debugTask,i!=null){for(var U2=i.length-1;0<=U2;U2--)if(typeof i[U2].stack==="string"){n._debugOwner=i[U2],n._debugTask=i[U2].debugTask;break}}return n}finally{W2=d}}}function CJ(X,Z){var G=w4(X);return X=!G&&typeof N4(X)==="function",G||X?(G=G?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",G,Z,G),!1):!0}function iG(X){X.updateQueue={baseState:X.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function nG(X,Z){X=X.updateQueue,Z.updateQueue===X&&(Z.updateQueue={baseState:X.baseState,firstBaseUpdate:X.firstBaseUpdate,lastBaseUpdate:X.lastBaseUpdate,shared:X.shared,callbacks:null})}function T7(X){return{lane:X,tag:VH,payload:null,callback:null,next:null}}function I7(X,Z,G){var $=X.updateQueue;if($===null)return null;if($=$.shared,RY===$&&!EH){var Y=p(X);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
101
|
-
|
|
102
|
-
Please update the following component: %s`,Y),EH=!0}if((I2&T4)!==b4)return Y=$.pending,Y===null?Z.next=Z:(Z.next=Y.next,Y.next=Z),$.pending=Z,Z=J0(X),XJ(X,null,G),Z;return z0(X,$,Z,G),J0(X)}function IX(X,Z,G){if(Z=Z.updateQueue,Z!==null&&(Z=Z.shared,(G&4194048)!==0)){var $=Z.lanes;$&=X.pendingLanes,G|=$,Z.lanes=G,H8(X,G)}}function N0(X,Z){var{updateQueue:G,alternate:$}=X;if($!==null&&($=$.updateQueue,G===$)){var Y=null,z=null;if(G=G.firstBaseUpdate,G!==null){do{var J={lane:G.lane,tag:G.tag,payload:G.payload,callback:null,next:null};z===null?Y=z=J:z=z.next=J,G=G.next}while(G!==null);z===null?Y=z=Z:z=z.next=Z}else Y=z=Z;G={baseState:$.baseState,firstBaseUpdate:Y,lastBaseUpdate:z,shared:$.shared,callbacks:$.callbacks},X.updateQueue=G;return}X=G.lastBaseUpdate,X===null?G.firstBaseUpdate=Z:X.next=Z,G.lastBaseUpdate=Z}function PX(){if(_Y){var X=u9;if(X!==null)throw X}}function CX(X,Z,G,$){_Y=!1;var Y=X.updateQueue;c7=!1,RY=Y.shared;var{firstBaseUpdate:z,lastBaseUpdate:J}=Y,B=Y.shared.pending;if(B!==null){Y.shared.pending=null;var H=B,W=H.next;H.next=null,J===null?z=W:J.next=W,J=H;var I=X.alternate;I!==null&&(I=I.updateQueue,B=I.lastBaseUpdate,B!==J&&(B===null?I.firstBaseUpdate=W:B.next=W,I.lastBaseUpdate=H))}if(z!==null){var P=Y.baseState;J=0,I=W=H=null,B=z;do{var N=B.lane&-536870913,v=N!==B.lane;if(v?(M2&N)===N:($&N)===N){N!==0&&N===j8&&(_Y=!0),I!==null&&(I=I.next={lane:0,tag:B.tag,payload:B.payload,callback:null,next:null});X:{N=X;var m=B,c=Z,s2=G;switch(m.tag){case xH:if(m=m.payload,typeof m==="function"){h9=!0;var T2=m.call(s2,P,c);if(N.mode&l4){p2(!0);try{m.call(s2,P,c)}finally{p2(!1)}}h9=!1,P=T2;break X}P=m;break X;case KY:N.flags=N.flags&-65537|128;case VH:if(T2=m.payload,typeof T2==="function"){if(h9=!0,m=T2.call(s2,P,c),N.mode&l4){p2(!0);try{T2.call(s2,P,c)}finally{p2(!1)}}h9=!1}else m=T2;if(m===null||m===void 0)break X;P=R2({},P,m);break X;case DH:c7=!0}}N=B.callback,N!==null&&(X.flags|=64,v&&(X.flags|=8192),v=Y.callbacks,v===null?Y.callbacks=[N]:v.push(N))}else v={lane:N,tag:B.tag,payload:B.payload,callback:B.callback,next:null},I===null?(W=I=v,H=P):I=I.next=v,J|=N;if(B=B.next,B===null)if(B=Y.shared.pending,B===null)break;else v=B,B=v.next,v.next=null,Y.lastBaseUpdate=v,Y.shared.pending=null}while(1);I===null&&(H=P),Y.baseState=H,Y.firstBaseUpdate=W,Y.lastBaseUpdate=I,z===null&&(Y.shared.lanes=0),i7|=J,X.lanes=J,X.memoizedState=P}RY=null}function SJ(X,Z){if(typeof X!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+X);X.call(Z)}function Bq(X,Z){var G=X.shared.hiddenCallbacks;if(G!==null)for(X.shared.hiddenCallbacks=null,X=0;X<G.length;X++)SJ(G[X],Z)}function vJ(X,Z){var G=X.callbacks;if(G!==null)for(X.callbacks=null,X=0;X<G.length;X++)SJ(G[X],Z)}function kJ(X,Z){var G=E6;F2(g1,G,X),F2(p9,Z,X),E6=G|Z.baseLanes}function oG(X){F2(g1,E6,X),F2(p9,p9.current,X)}function rG(X){E6=g1.current,v2(p9,X),v2(g1,X)}function P7(X){var Z=X.alternate;F2(H4,H4.current&c9,X),F2(S5,X,X),l5===null&&(Z===null||p9.current!==null?l5=X:Z.memoizedState!==null&&(l5=X))}function tG(X){F2(H4,H4.current,X),F2(S5,X,X),l5===null&&(l5=X)}function gJ(X){X.tag===22?(F2(H4,H4.current,X),F2(S5,X,X),l5===null&&(l5=X)):C7(X)}function C7(X){F2(H4,H4.current,X),F2(S5,S5.current,X)}function N5(X){v2(S5,X),l5===X&&(l5=null),v2(H4,X)}function w0(X){for(var Z=X;Z!==null;){if(Z.tag===13){var G=Z.memoizedState;if(G!==null&&(G=G.dehydrated,G===null||W$(G)||M$(G)))return Z}else if(Z.tag===19&&(Z.memoizedProps.revealOrder==="forwards"||Z.memoizedProps.revealOrder==="backwards"||Z.memoizedProps.revealOrder==="unstable_legacy-backwards"||Z.memoizedProps.revealOrder==="together")){if((Z.flags&128)!==0)return Z}else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===X)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)return null;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}return null}function K2(){var X=g;c5===null?c5=[X]:c5.push(X)}function D(){var X=g;if(c5!==null&&(B7++,c5[B7]!==X)){var Z=p(G2);if(!hH.has(Z)&&(hH.add(Z),c5!==null)){for(var G="",$=0;$<=B7;$++){var Y=c5[$],z=$===B7?X:Y;for(Y=$+1+". "+Y;30>Y.length;)Y+=" ";Y+=z+`
|
|
103
|
-
`,G+=Y}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
104
|
-
|
|
105
|
-
Previous render Next render
|
|
106
|
-
------------------------------------------------------
|
|
107
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
108
|
-
`,Z,G)}}}function B9(X){X===void 0||X===null||w4(X)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",g,typeof X)}function A0(){var X=p(G2);uH.has(X)||(uH.add(X),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",X))}function U4(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
109
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
110
|
-
2. You might be breaking the Rules of Hooks
|
|
111
|
-
3. You might have more than one copy of React in the same app
|
|
112
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function eG(X,Z){if(AZ)return!1;if(Z===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",g),!1;X.length!==Z.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
113
|
-
|
|
114
|
-
Previous: %s
|
|
115
|
-
Incoming: %s`,g,"["+Z.join(", ")+"]","["+X.join(", ")+"]");for(var G=0;G<Z.length&&G<X.length;G++)if(!o4(X[G],Z[G]))return!1;return!0}function X3(X,Z,G,$,Y,z){if(Q7=z,G2=Z,c5=X!==null?X._debugHookTypes:null,B7=-1,AZ=X!==null&&X.type!==Z.type,Object.prototype.toString.call(G)==="[object AsyncFunction]"||Object.prototype.toString.call(G)==="[object AsyncGeneratorFunction]")z=p(G2),OY.has(z)||(OY.add(z),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",z===null?"An unknown Component":"<"+z+">"));Z.memoizedState=null,Z.updateQueue=null,Z.lanes=0,b.H=X!==null&&X.memoizedState!==null?FY:c5!==null?dH:LY,h8=z=(Z.mode&l4)!==Z2;var J=HY(G,$,Y);if(h8=!1,a9&&(J=Z3(Z,G,$,Y)),z){p2(!0);try{J=Z3(Z,G,$,Y)}finally{p2(!1)}}return bJ(X,Z),J}function bJ(X,Z){Z._debugHookTypes=c5,Z.dependencies===null?U7!==null&&(Z.dependencies={lanes:0,firstContext:null,_debugThenableState:U7}):Z.dependencies._debugThenableState=U7,b.H=TZ;var G=d2!==null&&d2.next!==null;if(Q7=0,c5=g=R4=d2=G2=null,B7=-1,X!==null&&(X.flags&65011712)!==(Z.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),y1=!1,wZ=0,U7=null,G)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");X===null||_4||(X=X.dependencies,X!==null&&H0(X)&&(_4=!0)),LZ?(LZ=!1,X=!0):X=!1,X&&(Z=p(Z)||"Unknown",mH.has(Z)||OY.has(Z)||(mH.add(Z),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Z3(X,Z,G,$){G2=X;var Y=0;do{if(a9&&(U7=null),wZ=0,a9=!1,Y>=aR)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(Y+=1,AZ=!1,R4=d2=null,X.updateQueue!=null){var z=X.updateQueue;z.lastEffect=null,z.events=null,z.stores=null,z.memoCache!=null&&(z.memoCache.index=0)}B7=-1,b.H=lH,z=HY(Z,G,$)}while(a9);return z}function Hq(){var X=b.H,Z=X.useState()[0];return Z=typeof Z.then==="function"?SX(Z):Z,X=X.useState()[0],(d2!==null?d2.memoizedState:null)!==X&&(G2.flags|=1024),Z}function G3(){var X=f1!==0;return f1=0,X}function $3(X,Z,G){Z.updateQueue=X.updateQueue,Z.flags=(Z.mode&e5)!==Z2?Z.flags&-402655237:Z.flags&-2053,X.lanes&=~G}function Y3(X){if(y1){for(X=X.memoizedState;X!==null;){var Z=X.queue;Z!==null&&(Z.pending=null),X=X.next}y1=!1}Q7=0,c5=R4=d2=G2=null,B7=-1,g=null,a9=!1,wZ=f1=0,U7=null}function s4(){var X={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return R4===null?G2.memoizedState=R4=X:R4=R4.next=X,R4}function D2(){if(d2===null){var X=G2.alternate;X=X!==null?X.memoizedState:null}else X=d2.next;var Z=R4===null?G2.memoizedState:R4.next;if(Z!==null)R4=Z,d2=X;else{if(X===null){if(G2.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}d2=X,X={memoizedState:d2.memoizedState,baseState:d2.baseState,baseQueue:d2.baseQueue,queue:d2.queue,next:null},R4===null?G2.memoizedState=R4=X:R4=R4.next=X}return R4}function T0(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function SX(X){var Z=wZ;return wZ+=1,U7===null&&(U7=OJ()),X=FJ(U7,X,Z),Z=G2,(R4===null?Z.memoizedState:R4.next)===null&&(Z=Z.alternate,b.H=Z!==null&&Z.memoizedState!==null?FY:LY),X}function S7(X){if(X!==null&&typeof X==="object"){if(typeof X.then==="function")return SX(X);if(X.$$typeof===v6)return e2(X)}throw Error("An unsupported type was passed to use(): "+String(X))}function A8(X){var Z=null,G=G2.updateQueue;if(G!==null&&(Z=G.memoCache),Z==null){var $=G2.alternate;$!==null&&($=$.updateQueue,$!==null&&($=$.memoCache,$!=null&&(Z={data:$.data.map(function(Y){return Y.slice()}),index:0})))}if(Z==null&&(Z={data:[],index:0}),G===null&&(G=T0(),G2.updateQueue=G),G.memoCache=Z,G=Z.data[Z.index],G===void 0||AZ)for(G=Z.data[Z.index]=Array(X),$=0;$<X;$++)G[$]=PK;else G.length!==X&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",G.length,X);return Z.index++,G}function n5(X,Z){return typeof Z==="function"?Z(X):Z}function z3(X,Z,G){var $=s4();if(G!==void 0){var Y=G(Z);if(h8){p2(!0);try{G(Z)}finally{p2(!1)}}}else Y=Z;return $.memoizedState=$.baseState=Y,X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:X,lastRenderedState:Y},$.queue=X,X=X.dispatch=Rq.bind(null,G2,X),[$.memoizedState,X]}function H9(X){var Z=D2();return J3(Z,d2,X)}function J3(X,Z,G){var $=X.queue;if($===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");$.lastRenderedReducer=G;var Y=X.baseQueue,z=$.pending;if(z!==null){if(Y!==null){var J=Y.next;Y.next=z.next,z.next=J}Z.baseQueue!==Y&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),Z.baseQueue=Y=z,$.pending=null}if(z=X.baseState,Y===null)X.memoizedState=z;else{Z=Y.next;var B=J=null,H=null,W=Z,I=!1;do{var P=W.lane&-536870913;if(P!==W.lane?(M2&P)===P:(Q7&P)===P){var N=W.revertLane;if(N===0)H!==null&&(H=H.next={lane:0,revertLane:0,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),P===j8&&(I=!0);else if((Q7&N)===N){W=W.next,N===j8&&(I=!0);continue}else P={lane:0,revertLane:W.revertLane,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},H===null?(B=H=P,J=z):H=H.next=P,G2.lanes|=N,i7|=N;P=W.action,h8&&G(z,P),z=W.hasEagerState?W.eagerState:G(z,P)}else N={lane:P,revertLane:W.revertLane,gesture:W.gesture,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},H===null?(B=H=N,J=z):H=H.next=N,G2.lanes|=P,i7|=P;W=W.next}while(W!==null&&W!==Z);if(H===null?J=z:H.next=B,!o4(z,X.memoizedState)&&(_4=!0,I&&(G=u9,G!==null)))throw G;X.memoizedState=z,X.baseState=J,X.baseQueue=H,$.lastRenderedState=z}return Y===null&&($.lanes=0),[X.memoizedState,$.dispatch]}function vX(X){var Z=D2(),G=Z.queue;if(G===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");G.lastRenderedReducer=X;var{dispatch:$,pending:Y}=G,z=Z.memoizedState;if(Y!==null){G.pending=null;var J=Y=Y.next;do z=X(z,J.action),J=J.next;while(J!==Y);o4(z,Z.memoizedState)||(_4=!0),Z.memoizedState=z,Z.baseQueue===null&&(Z.baseState=z),G.lastRenderedState=z}return[z,$]}function Q3(X,Z,G){var $=G2,Y=s4();if(N2){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var z=G();s9||z===G()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),s9=!0)}else{if(z=Z(),s9||(G=Z(),o4(z,G)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),s9=!0)),l2===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(M2&127)!==0||yJ($,Z,z)}return Y.memoizedState=z,G={value:z,getSnapshot:Z},Y.queue=G,S0(jJ.bind(null,$,G,X),[X]),$.flags|=2048,M9(p5|e4,{destroy:void 0},fJ.bind(null,$,G,z,Z),null),z}function I0(X,Z,G){var $=G2,Y=D2(),z=N2;if(z){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");G=G()}else if(G=Z(),!s9){var J=Z();o4(G,J)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),s9=!0)}if(J=!o4((d2||Y).memoizedState,G))Y.memoizedState=G,_4=!0;Y=Y.queue;var B=jJ.bind(null,$,Y,X);if(G5(2048,e4,B,[X]),Y.getSnapshot!==Z||J||R4!==null&&R4.memoizedState.tag&p5){if($.flags|=2048,M9(p5|e4,{destroy:void 0},fJ.bind(null,$,Y,G,Z),null),l2===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");z||(Q7&127)!==0||yJ($,Z,G)}return G}function yJ(X,Z,G){X.flags|=16384,X={getSnapshot:Z,value:G},Z=G2.updateQueue,Z===null?(Z=T0(),G2.updateQueue=Z,Z.stores=[X]):(G=Z.stores,G===null?Z.stores=[X]:G.push(X))}function fJ(X,Z,G,$){Z.value=G,Z.getSnapshot=$,VJ(Z)&&xJ(X)}function jJ(X,Z,G){return G(function(){VJ(Z)&&(K6(2,"updateSyncExternalStore()",X),xJ(X))})}function VJ(X){var Z=X.getSnapshot;X=X.value;try{var G=Z();return!o4(X,G)}catch($){return!0}}function xJ(X){var Z=u4(X,2);Z!==null&&J4(Z,X,2)}function U3(X){var Z=s4();if(typeof X==="function"){var G=X;if(X=G(),h8){p2(!0);try{G()}finally{p2(!1)}}}return Z.memoizedState=Z.baseState=X,Z.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n5,lastRenderedState:X},Z}function B3(X){X=U3(X);var Z=X.queue,G=ZQ.bind(null,G2,Z);return Z.dispatch=G,[X.memoizedState,G]}function H3(X){var Z=s4();Z.memoizedState=Z.baseState=X;var G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return Z.queue=G,Z=I3.bind(null,G2,!0,G),G.dispatch=Z,[X,Z]}function DJ(X,Z){var G=D2();return EJ(G,d2,X,Z)}function EJ(X,Z,G,$){return X.baseState=G,J3(X,d2,typeof $==="function"?$:n5)}function hJ(X,Z){var G=D2();if(d2!==null)return EJ(G,d2,X,Z);return G.baseState=X,[X,G.queue.dispatch]}function Wq(X,Z,G,$,Y){if(f0(X))throw Error("Cannot update form state while rendering.");if(X=Z.action,X!==null){var z={payload:Y,action:X,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(J){z.listeners.push(J)}};b.T!==null?G(!0):z.isTransition=!1,$(z),G=Z.pending,G===null?(z.next=Z.pending=z,mJ(Z,z)):(z.next=G.next,Z.pending=G.next=z)}}function mJ(X,Z){var{action:G,payload:$}=Z,Y=X.state;if(Z.isTransition){var z=b.T,J={};J._updatedFibers=new Set,b.T=J;try{var B=G(Y,$),H=b.S;H!==null&&H(J,B),uJ(X,Z,B)}catch(W){W3(X,Z,W)}finally{z!==null&&J.types!==null&&(z.types!==null&&z.types!==J.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),z.types=J.types),b.T=z,z===null&&J._updatedFibers&&(X=J._updatedFibers.size,J._updatedFibers.clear(),10<X&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{J=G(Y,$),uJ(X,Z,J)}catch(W){W3(X,Z,W)}}function uJ(X,Z,G){G!==null&&typeof G==="object"&&typeof G.then==="function"?(b.asyncTransitions++,G.then(y0,y0),G.then(function($){dJ(X,Z,$)},function($){return W3(X,Z,$)}),Z.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):dJ(X,Z,G)}function dJ(X,Z,G){Z.status="fulfilled",Z.value=G,lJ(Z),X.state=G,Z=X.pending,Z!==null&&(G=Z.next,G===Z?X.pending=null:(G=G.next,Z.next=G,mJ(X,G)))}function W3(X,Z,G){var $=X.pending;if(X.pending=null,$!==null){$=$.next;do Z.status="rejected",Z.reason=G,lJ(Z),Z=Z.next;while(Z!==$)}X.action=null}function lJ(X){X=X.listeners;for(var Z=0;Z<X.length;Z++)(0,X[Z])()}function pJ(X,Z){return Z}function W9(X,Z){if(N2){var G=l2.formState;if(G!==null){X:{var $=G2;if(N2){if(r2){Z:{var Y=r2;for(var z=u5;Y.nodeType!==8;){if(!z){Y=null;break Z}if(Y=A5(Y.nextSibling),Y===null){Y=null;break Z}}z=Y.data,Y=z===dY||z===vW?Y:null}if(Y){r2=A5(Y.nextSibling),$=Y.data===dY;break X}}N7($)}$=!1}$&&(Z=G[0])}}return G=s4(),G.memoizedState=G.baseState=Z,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pJ,lastRenderedState:Z},G.queue=$,G=ZQ.bind(null,G2,$),$.dispatch=G,$=U3(!1),z=I3.bind(null,G2,!1,$.queue),$=s4(),Y={state:Z,dispatch:null,action:X,pending:null},$.queue=Y,G=Wq.bind(null,G2,Y,z,G),Y.dispatch=G,$.memoizedState=X,[Z,G,!1]}function P0(X){var Z=D2();return cJ(Z,d2,X)}function cJ(X,Z,G){if(Z=J3(X,Z,pJ)[0],X=H9(n5)[0],typeof Z==="object"&&Z!==null&&typeof Z.then==="function")try{var $=SX(Z)}catch(J){if(J===d9)throw v1;throw J}else $=Z;Z=D2();var Y=Z.queue,z=Y.dispatch;return G!==Z.memoizedState&&(G2.flags|=2048,M9(p5|e4,{destroy:void 0},Mq.bind(null,Y,G),null)),[$,z,X]}function Mq(X,Z){X.action=Z}function C0(X){var Z=D2(),G=d2;if(G!==null)return cJ(Z,G,X);D2(),Z=Z.memoizedState,G=D2();var $=G.queue.dispatch;return G.memoizedState=X,[Z,$,!1]}function M9(X,Z,G,$){return X={tag:X,create:G,deps:$,inst:Z,next:null},Z=G2.updateQueue,Z===null&&(Z=T0(),G2.updateQueue=Z),G=Z.lastEffect,G===null?Z.lastEffect=X.next=X:($=G.next,G.next=X,X.next=$,Z.lastEffect=X),X}function M3(X){var Z=s4();return X={current:X},Z.memoizedState=X}function T8(X,Z,G,$){var Y=s4();G2.flags|=X,Y.memoizedState=M9(p5|Z,{destroy:void 0},G,$===void 0?null:$)}function G5(X,Z,G,$){var Y=D2();$=$===void 0?null:$;var z=Y.memoizedState.inst;d2!==null&&$!==null&&eG($,d2.memoizedState.deps)?Y.memoizedState=M9(Z,z,G,$):(G2.flags|=X,Y.memoizedState=M9(p5|Z,z,G,$))}function S0(X,Z){(G2.mode&e5)!==Z2?T8(276826112,e4,X,Z):T8(8390656,e4,X,Z)}function qq(X){G2.flags|=4;var Z=G2.updateQueue;if(Z===null)Z=T0(),G2.updateQueue=Z,Z.events=[X];else{var G=Z.events;G===null?Z.events=[X]:G.push(X)}}function q3(X){var Z=s4(),G={impl:X};return Z.memoizedState=G,function(){if((I2&T4)!==b4)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return G.impl.apply(void 0,arguments)}}function v0(X){var Z=D2().memoizedState;return qq({ref:Z,nextImpl:X}),function(){if((I2&T4)!==b4)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Z.impl.apply(void 0,arguments)}}function K3(X,Z){var G=4194308;return(G2.mode&e5)!==Z2&&(G|=134217728),T8(G,v5,X,Z)}function sJ(X,Z){if(typeof Z==="function"){X=X();var G=Z(X);return function(){typeof G==="function"?G():Z(null)}}if(Z!==null&&Z!==void 0)return Z.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(Z).join(", ")+"}"),X=X(),Z.current=X,function(){Z.current=null}}function R3(X,Z,G){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),G=G!==null&&G!==void 0?G.concat([X]):null;var $=4194308;(G2.mode&e5)!==Z2&&($|=134217728),T8($,v5,sJ.bind(null,Z,X),G)}function k0(X,Z,G){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),G=G!==null&&G!==void 0?G.concat([X]):null,G5(4,v5,sJ.bind(null,Z,X),G)}function _3(X,Z){return s4().memoizedState=[X,Z===void 0?null:Z],X}function g0(X,Z){var G=D2();Z=Z===void 0?null:Z;var $=G.memoizedState;if(Z!==null&&eG(Z,$[1]))return $[0];return G.memoizedState=[X,Z],X}function O3(X,Z){var G=s4();Z=Z===void 0?null:Z;var $=X();if(h8){p2(!0);try{X()}finally{p2(!1)}}return G.memoizedState=[$,Z],$}function b0(X,Z){var G=D2();Z=Z===void 0?null:Z;var $=G.memoizedState;if(Z!==null&&eG(Z,$[1]))return $[0];if($=X(),h8){p2(!0);try{X()}finally{p2(!1)}}return G.memoizedState=[$,Z],$}function L3(X,Z){var G=s4();return F3(G,X,Z)}function aJ(X,Z){var G=D2();return nJ(G,d2.memoizedState,X,Z)}function iJ(X,Z){var G=D2();return d2===null?F3(G,X,Z):nJ(G,d2.memoizedState,X,Z)}function F3(X,Z,G){if(G===void 0||(Q7&1073741824)!==0&&(M2&261930)===0)return X.memoizedState=Z;return X.memoizedState=G,X=oQ(),G2.lanes|=X,i7|=X,G}function nJ(X,Z,G,$){if(o4(G,Z))return G;if(p9.current!==null)return X=F3(X,G,$),o4(X,Z)||(_4=!0),X;if((Q7&42)===0||(Q7&1073741824)!==0&&(M2&261930)===0)return _4=!0,X.memoizedState=G;return X=oQ(),G2.lanes|=X,i7|=X,Z}function y0(){b.asyncTransitions--}function oJ(X,Z,G,$,Y){var z=b2.p;b2.p=z!==0&&z<t5?z:t5;var J=b.T,B={};B._updatedFibers=new Set,b.T=B,I3(X,!1,Z,G);try{var H=Y(),W=b.S;if(W!==null&&W(B,H),H!==null&&typeof H==="object"&&typeof H.then==="function"){b.asyncTransitions++,H.then(y0,y0);var I=Uq(H,$);kX(X,Z,I,w5(X))}else kX(X,Z,$,w5(X))}catch(P){kX(X,Z,{then:function(){},status:"rejected",reason:P},w5(X))}finally{b2.p=z,J!==null&&B.types!==null&&(J.types!==null&&J.types!==B.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),J.types=B.types),b.T=J,J===null&&B._updatedFibers&&(X=B._updatedFibers.size,B._updatedFibers.clear(),10<X&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function N3(X,Z,G,$){if(X.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var Y=rJ(X).queue;Jq(X),oJ(X,Y,Z,o8,G===null?V:function(){return tJ(X),G($)})}function rJ(X){var Z=X.memoizedState;if(Z!==null)return Z;Z={memoizedState:o8,baseState:o8,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:n5,lastRenderedState:o8},next:null};var G={};return Z.next={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:n5,lastRenderedState:G},next:null},X.memoizedState=Z,X=X.alternate,X!==null&&(X.memoizedState=Z),Z}function tJ(X){b.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var Z=rJ(X);Z.next===null&&(Z=X.alternate.memoizedState),kX(X,Z.next.queue,{},w5(X))}function w3(){var X=U3(!1);return X=oJ.bind(null,G2,X.queue,!0,!1),s4().memoizedState=X,[!1,X]}function eJ(){var X=H9(n5)[0],Z=D2().memoizedState;return[typeof X==="boolean"?X:SX(X),Z]}function XQ(){var X=vX(n5)[0],Z=D2().memoizedState;return[typeof X==="boolean"?X:SX(X),Z]}function I8(){return e2(EZ)}function A3(){var X=s4(),Z=l2.identifierPrefix;if(N2){var G=G7,$=Z7;G=($&~(1<<32-a4($)-1)).toString(32)+G,Z="_"+Z+"R_"+G,G=f1++,0<G&&(Z+="H"+G.toString(32)),Z+="_"}else G=sR++,Z="_"+Z+"r_"+G.toString(32)+"_";return X.memoizedState=Z}function T3(){return s4().memoizedState=Kq.bind(null,G2)}function Kq(X,Z){for(var G=X.return;G!==null;){switch(G.tag){case 24:case 3:var $=w5(G),Y=T7($),z=I7(G,Y,$);z!==null&&(K6($,"refresh()",X),J4(z,G,$),IX(z,G,$)),X=lG(),Z!==null&&Z!==void 0&&z!==null&&console.error("The seed argument is not enabled outside experimental channels."),Y.payload={cache:X};return}G=G.return}}function Rq(X,Z,G){var $=arguments;typeof $[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),$=w5(X);var Y={lane:$,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};f0(X)?GQ(Z,Y):(Y=bG(X,Z,Y,$),Y!==null&&(K6($,"dispatch()",X),J4(Y,X,$),$Q(Y,Z,$)))}function ZQ(X,Z,G){var $=arguments;typeof $[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),$=w5(X),kX(X,Z,G,$)&&K6($,"setState()",X)}function kX(X,Z,G,$){var Y={lane:$,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};if(f0(X))GQ(Z,Y);else{var z=X.alternate;if(X.lanes===0&&(z===null||z.lanes===0)&&(z=Z.lastRenderedReducer,z!==null)){var J=b.H;b.H=Z6;try{var B=Z.lastRenderedState,H=z(B,G);if(Y.hasEagerState=!0,Y.eagerState=H,o4(H,B))return z0(X,Z,Y,0),l2===null&&Y0(),!1}catch(W){}finally{b.H=J}}if(G=bG(X,Z,Y,$),G!==null)return J4(G,X,$),$Q(G,Z,$),!0}return!1}function I3(X,Z,G,$){if(b.T===null&&j8===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),$={lane:2,revertLane:X$(),gesture:null,action:$,hasEagerState:!1,eagerState:null,next:null},f0(X)){if(Z)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else Z=bG(X,G,$,2),Z!==null&&(K6(2,"setOptimistic()",X),J4(Z,X,2))}function f0(X){var Z=X.alternate;return X===G2||Z!==null&&Z===G2}function GQ(X,Z){a9=y1=!0;var G=X.pending;G===null?Z.next=Z:(Z.next=G.next,G.next=Z),X.pending=Z}function $Q(X,Z,G){if((G&4194048)!==0){var $=Z.lanes;$&=X.pendingLanes,G|=$,Z.lanes=G,H8(X,G)}}function P3(X){if(X!==null&&typeof X!=="function"){var Z=String(X);XW.has(Z)||(XW.add(Z),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",X))}}function C3(X,Z,G,$){var Y=X.memoizedState,z=G($,Y);if(X.mode&l4){p2(!0);try{z=G($,Y)}finally{p2(!1)}}z===void 0&&(Z=w2(Z)||"Component",oH.has(Z)||(oH.add(Z),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Z))),Y=z===null||z===void 0?Y:R2({},Y,z),X.memoizedState=Y,X.lanes===0&&(X.updateQueue.baseState=Y)}function YQ(X,Z,G,$,Y,z,J){var B=X.stateNode;if(typeof B.shouldComponentUpdate==="function"){if(G=B.shouldComponentUpdate($,z,J),X.mode&l4){p2(!0);try{G=B.shouldComponentUpdate($,z,J)}finally{p2(!1)}}return G===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",w2(Z)||"Component"),G}return Z.prototype&&Z.prototype.isPureReactComponent?!OX(G,$)||!OX(Y,z):!0}function zQ(X,Z,G,$){var Y=Z.state;typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps(G,$),typeof Z.UNSAFE_componentWillReceiveProps==="function"&&Z.UNSAFE_componentWillReceiveProps(G,$),Z.state!==Y&&(X=p(X)||"Component",cH.has(X)||(cH.add(X),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",X)),NY.enqueueReplaceState(Z,Z.state,null))}function P8(X,Z){var G=Z;if("ref"in Z){G={};for(var $ in Z)$!=="ref"&&(G[$]=Z[$])}if(X=X.defaultProps){G===Z&&(G=R2({},G));for(var Y in X)G[Y]===void 0&&(G[Y]=X[Y])}return G}function JQ(X){r$(X),console.warn(`%s
|
|
116
|
-
|
|
117
|
-
%s
|
|
118
|
-
`,i9?"An error occurred in the <"+i9+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
119
|
-
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function QQ(X){var Z=i9?"The above error occurred in the <"+i9+"> component.":"The above error occurred in one of your React components.",G="React will try to recreate this component tree from scratch using the error boundary you provided, "+((wY||"Anonymous")+".");if(typeof X==="object"&&X!==null&&typeof X.environmentName==="string"){var $=X.environmentName;X=[`%o
|
|
120
|
-
|
|
121
|
-
%s
|
|
122
|
-
|
|
123
|
-
%s
|
|
124
|
-
`,X,Z,G].slice(0),typeof X[0]==="string"?X.splice(0,1,xW+" "+X[0],DW,YG+$+YG,EW):X.splice(0,0,xW,DW,YG+$+YG,EW),X.unshift(console),$=q_.apply(console.error,X),$()}else console.error(`%o
|
|
125
|
-
|
|
126
|
-
%s
|
|
127
|
-
|
|
128
|
-
%s
|
|
129
|
-
`,X,Z,G)}function UQ(X){r$(X)}function j0(X,Z){try{i9=Z.source?p(Z.source):null,wY=null;var G=Z.value;if(b.actQueue!==null)b.thrownErrors.push(G);else{var $=X.onUncaughtError;$(G,{componentStack:Z.stack})}}catch(Y){setTimeout(function(){throw Y})}}function BQ(X,Z,G){try{i9=G.source?p(G.source):null,wY=p(Z);var $=X.onCaughtError;$(G.value,{componentStack:G.stack,errorBoundary:Z.tag===1?Z.stateNode:null})}catch(Y){setTimeout(function(){throw Y})}}function S3(X,Z,G){return G=T7(G),G.tag=KY,G.payload={element:null},G.callback=function(){s(Z.source,j0,X,Z)},G}function v3(X){return X=T7(X),X.tag=KY,X}function k3(X,Z,G,$){var Y=G.type.getDerivedStateFromError;if(typeof Y==="function"){var z=$.value;X.payload=function(){return Y(z)},X.callback=function(){GJ(G),s($.source,BQ,Z,G,$)}}var J=G.stateNode;J!==null&&typeof J.componentDidCatch==="function"&&(X.callback=function(){GJ(G),s($.source,BQ,Z,G,$),typeof Y!=="function"&&(o7===null?o7=new Set([this]):o7.add(this)),dR(this,$),typeof Y==="function"||(G.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",p(G)||"Unknown")})}function _q(X,Z,G,$,Y){if(G.flags|=32768,b6&&DX(X,Y),$!==null&&typeof $==="object"&&typeof $.then==="function"){if(Z=G.alternate,Z!==null&&U9(Z,G,Y,!0),N2&&(j6=!0),G=S5.current,G!==null){switch(G.tag){case 31:case 13:return l5===null?l0():G.alternate===null&&G4===W7&&(G4=x1),G.flags&=-257,G.flags|=65536,G.lanes=Y,$===k1?G.flags|=16384:(Z=G.updateQueue,Z===null?G.updateQueue=new Set([$]):Z.add($),o3(X,$,Y)),!1;case 22:return G.flags|=65536,$===k1?G.flags|=16384:(Z=G.updateQueue,Z===null?(Z={transitions:null,markerInstances:null,retryQueue:new Set([$])},G.updateQueue=Z):(G=Z.retryQueue,G===null?Z.retryQueue=new Set([$]):G.add($)),o3(X,$,Y)),!1}throw Error("Unexpected Suspense handler tag ("+G.tag+"). This is a bug in React.")}return o3(X,$,Y),l0(),!1}if(N2)return j6=!0,Z=S5.current,Z!==null?((Z.flags&65536)===0&&(Z.flags|=256),Z.flags|=65536,Z.lanes=Y,$!==$Y&&FX(O5(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:$}),G))):($!==$Y&&FX(O5(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:$}),G)),X=X.current.alternate,X.flags|=65536,Y&=-Y,X.lanes|=Y,$=O5($,G),Y=S3(X.stateNode,$,Y),N0(X,Y),G4!==s7&&(G4=m8)),!1;var z=O5(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:$}),G);if(kZ===null?kZ=[z]:kZ.push(z),G4!==s7&&(G4=m8),Z===null)return!0;$=O5($,G),G=Z;do{switch(G.tag){case 3:return G.flags|=65536,X=Y&-Y,G.lanes|=X,X=S3(G.stateNode,$,X),N0(G,X),!1;case 1:if(Z=G.type,z=G.stateNode,(G.flags&128)===0&&(typeof Z.getDerivedStateFromError==="function"||z!==null&&typeof z.componentDidCatch==="function"&&(o7===null||!o7.has(z))))return G.flags|=65536,Y&=-Y,G.lanes|=Y,Y=v3(Y),k3(Y,X,G,$),N0(G,Y),!1}G=G.return}while(G!==null);return!1}function x4(X,Z,G,$){Z.child=X===null?jH(Z,null,G,$):E8(Z,X.child,G,$)}function HQ(X,Z,G,$,Y){G=G.render;var z=Z.ref;if("ref"in $){var J={};for(var B in $)B!=="ref"&&(J[B]=$[B])}else J=$;if(N8(Z),$=X3(X,Z,G,J,z,Y),B=G3(),X!==null&&!_4)return $3(X,Z,Y),n6(X,Z,Y);return N2&&B&&DG(Z),Z.flags|=1,x4(X,Z,$,Y),Z.child}function WQ(X,Z,G,$,Y){if(X===null){var z=G.type;if(typeof z==="function"&&!fG(z)&&z.defaultProps===void 0&&G.compare===null)return G=_8(z),Z.tag=15,Z.type=G,b3(Z,z),MQ(X,Z,G,$,Y);return X=jG(G.type,null,$,Z,Z.mode,Y),X.ref=Z.ref,X.return=Z,Z.child=X}if(z=X.child,!D3(X,Y)){var J=z.memoizedProps;if(G=G.compare,G=G!==null?G:OX,G(J,$)&&X.ref===Z.ref)return n6(X,Z,Y)}return Z.flags|=1,X=c6(z,$),X.ref=Z.ref,X.return=Z,Z.child=X}function MQ(X,Z,G,$,Y){if(X!==null){var z=X.memoizedProps;if(OX(z,$)&&X.ref===Z.ref&&Z.type===X.type)if(_4=!1,Z.pendingProps=$=z,D3(X,Y))(X.flags&131072)!==0&&(_4=!0);else return Z.lanes=X.lanes,n6(X,Z,Y)}return g3(X,Z,G,$,Y)}function qQ(X,Z,G,$){var Y=$.children,z=X!==null?X.memoizedState:null;if(X===null&&Z.stateNode===null&&(Z.stateNode={_visibility:YZ,_pendingMarkers:null,_retryCache:null,_transitions:null}),$.mode==="hidden"){if((Z.flags&128)!==0){if(z=z!==null?z.baseLanes|G:G,X!==null){$=Z.child=X.child;for(Y=0;$!==null;)Y=Y|$.lanes|$.childLanes,$=$.sibling;$=Y&~z}else $=0,Z.child=null;return KQ(X,Z,z,G,$)}if((G&536870912)!==0)Z.memoizedState={baseLanes:0,cachePool:null},X!==null&&K0(Z,z!==null?z.cachePool:null),z!==null?kJ(Z,z):oG(Z),gJ(Z);else return $=Z.lanes=536870912,KQ(X,Z,z!==null?z.baseLanes|G:G,G,$)}else z!==null?(K0(Z,z.cachePool),kJ(Z,z),C7(Z),Z.memoizedState=null):(X!==null&&K0(Z,null),oG(Z),C7(Z));return x4(X,Z,Y,G),Z.child}function gX(X,Z){return X!==null&&X.tag===22||Z.stateNode!==null||(Z.stateNode={_visibility:YZ,_pendingMarkers:null,_retryCache:null,_transitions:null}),Z.sibling}function KQ(X,Z,G,$,Y){var z=sG();return z=z===null?null:{parent:q4._currentValue,pool:z},Z.memoizedState={baseLanes:G,cachePool:z},X!==null&&K0(Z,null),oG(Z),gJ(Z),X!==null&&U9(X,Z,$,!0),Z.childLanes=Y,null}function V0(X,Z){var G=Z.hidden;return G!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
130
|
-
- <Activity %s>
|
|
131
|
-
+ <Activity %s>`,G===!0?"hidden":G===!1?"hidden={false}":"hidden={...}",G?'mode="hidden"':'mode="visible"'),Z=D0({mode:Z.mode,children:Z.children},X.mode),Z.ref=X.ref,X.child=Z,Z.return=X,Z}function RQ(X,Z,G){return E8(Z,X.child,null,G),X=V0(Z,Z.pendingProps),X.flags|=2,N5(Z),Z.memoizedState=null,X}function Oq(X,Z,G){var $=Z.pendingProps,Y=(Z.flags&128)!==0;if(Z.flags&=-129,X===null){if(N2){if($.mode==="hidden")return X=V0(Z,$),Z.lanes=536870912,gX(null,X);if(tG(Z),(X=r2)?(G=mU(X,u5),G=G!==null&&G.data===s8?G:null,G!==null&&($={dehydrated:G,treeContext:QJ(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=$,$=zJ(G),$.return=Z,Z.child=$,h4=Z,r2=null)):G=null,G===null)throw U0(Z,X),N7(Z);return Z.lanes=536870912,null}return V0(Z,$)}var z=X.memoizedState;if(z!==null){var J=z.dehydrated;if(tG(Z),Y)if(Z.flags&256)Z.flags&=-257,Z=RQ(X,Z,G);else if(Z.memoizedState!==null)Z.child=X.child,Z.flags|=128,Z=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(BJ(),(G&536870912)!==0&&d0(Z),_4||U9(X,Z,G,!1),Y=(G&X.childLanes)!==0,_4||Y){if($=l2,$!==null&&(J=W8($,G),J!==0&&J!==z.retryLane))throw z.retryLane=J,u4(X,J),J4($,X,J),AY;l0(),Z=RQ(X,Z,G)}else X=z.treeContext,r2=A5(J.nextSibling),h4=Z,N2=!0,h7=null,j6=!1,C5=null,u5=!1,X!==null&&UJ(Z,X),Z=V0(Z,$),Z.flags|=4096;return Z}return z=X.child,$={mode:$.mode,children:$.children},(G&536870912)!==0&&(G&X.lanes)!==0&&d0(Z),X=c6(z,$),X.ref=Z.ref,Z.child=X,X.return=Z,X}function x0(X,Z){var G=Z.ref;if(G===null)X!==null&&X.ref!==null&&(Z.flags|=4194816);else{if(typeof G!=="function"&&typeof G!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(X===null||X.ref!==G)Z.flags|=4194816}}function g3(X,Z,G,$,Y){if(G.prototype&&typeof G.prototype.render==="function"){var z=w2(G)||"Unknown";ZW[z]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",z,z),ZW[z]=!0)}if(Z.mode&l4&&X6.recordLegacyContextWarning(Z,null),X===null&&(b3(Z,Z.type),G.contextTypes&&(z=w2(G)||"Unknown",$W[z]||($W[z]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",z)))),N8(Z),G=X3(X,Z,G,$,void 0,Y),$=G3(),X!==null&&!_4)return $3(X,Z,Y),n6(X,Z,Y);return N2&&$&&DG(Z),Z.flags|=1,x4(X,Z,G,Y),Z.child}function _Q(X,Z,G,$,Y,z){if(N8(Z),B7=-1,AZ=X!==null&&X.type!==Z.type,Z.updateQueue=null,G=Z3(Z,$,G,Y),bJ(X,Z),$=G3(),X!==null&&!_4)return $3(X,Z,z),n6(X,Z,z);return N2&&$&&DG(Z),Z.flags|=1,x4(X,Z,G,z),Z.child}function OQ(X,Z,G,$,Y){switch(A(Z)){case!1:var z=Z.stateNode,J=new Z.type(Z.memoizedProps,z.context).state;z.updater.enqueueSetState(z,J,null);break;case!0:Z.flags|=128,Z.flags|=65536,z=Error("Simulated error coming from DevTools");var B=Y&-Y;if(Z.lanes|=B,J=l2,J===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B=v3(B),k3(B,J,Z,O5(z,Z)),N0(Z,B)}if(N8(Z),Z.stateNode===null){if(J=E7,z=G.contextType,"contextType"in G&&z!==null&&(z===void 0||z.$$typeof!==v6)&&!eH.has(G)&&(eH.add(G),B=z===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof z!=="object"?" However, it is set to a "+typeof z+".":z.$$typeof===T$?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(z).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",w2(G)||"Component",B)),typeof z==="object"&&z!==null&&(J=e2(z)),z=new G($,J),Z.mode&l4){p2(!0);try{z=new G($,J)}finally{p2(!1)}}if(J=Z.memoizedState=z.state!==null&&z.state!==void 0?z.state:null,z.updater=NY,Z.stateNode=z,z._reactInternals=Z,z._reactInternalInstance=pH,typeof G.getDerivedStateFromProps==="function"&&J===null&&(J=w2(G)||"Component",sH.has(J)||(sH.add(J),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",J,z.state===null?"null":"undefined",J))),typeof G.getDerivedStateFromProps==="function"||typeof z.getSnapshotBeforeUpdate==="function"){var H=B=J=null;if(typeof z.componentWillMount==="function"&&z.componentWillMount.__suppressDeprecationWarning!==!0?J="componentWillMount":typeof z.UNSAFE_componentWillMount==="function"&&(J="UNSAFE_componentWillMount"),typeof z.componentWillReceiveProps==="function"&&z.componentWillReceiveProps.__suppressDeprecationWarning!==!0?B="componentWillReceiveProps":typeof z.UNSAFE_componentWillReceiveProps==="function"&&(B="UNSAFE_componentWillReceiveProps"),typeof z.componentWillUpdate==="function"&&z.componentWillUpdate.__suppressDeprecationWarning!==!0?H="componentWillUpdate":typeof z.UNSAFE_componentWillUpdate==="function"&&(H="UNSAFE_componentWillUpdate"),J!==null||B!==null||H!==null){z=w2(G)||"Component";var W=typeof G.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";iH.has(z)||(iH.add(z),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
132
|
-
|
|
133
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
134
|
-
|
|
135
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
136
|
-
https://react.dev/link/unsafe-component-lifecycles`,z,W,J!==null?`
|
|
137
|
-
`+J:"",B!==null?`
|
|
138
|
-
`+B:"",H!==null?`
|
|
139
|
-
`+H:""))}}z=Z.stateNode,J=w2(G)||"Component",z.render||(G.prototype&&typeof G.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",J):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",J)),!z.getInitialState||z.getInitialState.isReactClassApproved||z.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",J),z.getDefaultProps&&!z.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",J),z.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",J),G.childContextTypes&&!tH.has(G)&&(tH.add(G),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",J)),G.contextTypes&&!rH.has(G)&&(rH.add(G),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",J)),typeof z.componentShouldUpdate==="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",J),G.prototype&&G.prototype.isPureReactComponent&&typeof z.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",w2(G)||"A pure component"),typeof z.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",J),typeof z.componentDidReceiveProps==="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",J),typeof z.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",J),typeof z.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",J),B=z.props!==$,z.props!==void 0&&B&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",J),z.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",J,J),typeof z.getSnapshotBeforeUpdate!=="function"||typeof z.componentDidUpdate==="function"||aH.has(G)||(aH.add(G),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",w2(G))),typeof z.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",J),typeof z.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",J),typeof G.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",J),(B=z.state)&&(typeof B!=="object"||w4(B))&&console.error("%s.state: must be set to an object or null",J),typeof z.getChildContext==="function"&&typeof G.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",J),z=Z.stateNode,z.props=$,z.state=Z.memoizedState,z.refs={},iG(Z),J=G.contextType,z.context=typeof J==="object"&&J!==null?e2(J):E7,z.state===$&&(J=w2(G)||"Component",nH.has(J)||(nH.add(J),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",J))),Z.mode&l4&&X6.recordLegacyContextWarning(Z,z),X6.recordUnsafeLifecycleWarnings(Z,z),z.state=Z.memoizedState,J=G.getDerivedStateFromProps,typeof J==="function"&&(C3(Z,G,J,$),z.state=Z.memoizedState),typeof G.getDerivedStateFromProps==="function"||typeof z.getSnapshotBeforeUpdate==="function"||typeof z.UNSAFE_componentWillMount!=="function"&&typeof z.componentWillMount!=="function"||(J=z.state,typeof z.componentWillMount==="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount==="function"&&z.UNSAFE_componentWillMount(),J!==z.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",p(Z)||"Component"),NY.enqueueReplaceState(z,z.state,null)),CX(Z,$,z,Y),PX(),z.state=Z.memoizedState),typeof z.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&e5)!==Z2&&(Z.flags|=134217728),z=!0}else if(X===null){z=Z.stateNode;var I=Z.memoizedProps;B=P8(G,I),z.props=B;var P=z.context;H=G.contextType,J=E7,typeof H==="object"&&H!==null&&(J=e2(H)),W=G.getDerivedStateFromProps,H=typeof W==="function"||typeof z.getSnapshotBeforeUpdate==="function",I=Z.pendingProps!==I,H||typeof z.UNSAFE_componentWillReceiveProps!=="function"&&typeof z.componentWillReceiveProps!=="function"||(I||P!==J)&&zQ(Z,z,$,J),c7=!1;var N=Z.memoizedState;z.state=N,CX(Z,$,z,Y),PX(),P=Z.memoizedState,I||N!==P||c7?(typeof W==="function"&&(C3(Z,G,W,$),P=Z.memoizedState),(B=c7||YQ(Z,G,B,$,N,P,J))?(H||typeof z.UNSAFE_componentWillMount!=="function"&&typeof z.componentWillMount!=="function"||(typeof z.componentWillMount==="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount==="function"&&z.UNSAFE_componentWillMount()),typeof z.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&e5)!==Z2&&(Z.flags|=134217728)):(typeof z.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&e5)!==Z2&&(Z.flags|=134217728),Z.memoizedProps=$,Z.memoizedState=P),z.props=$,z.state=P,z.context=J,z=B):(typeof z.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&e5)!==Z2&&(Z.flags|=134217728),z=!1)}else{z=Z.stateNode,nG(X,Z),J=Z.memoizedProps,H=P8(G,J),z.props=H,W=Z.pendingProps,N=z.context,P=G.contextType,B=E7,typeof P==="object"&&P!==null&&(B=e2(P)),I=G.getDerivedStateFromProps,(P=typeof I==="function"||typeof z.getSnapshotBeforeUpdate==="function")||typeof z.UNSAFE_componentWillReceiveProps!=="function"&&typeof z.componentWillReceiveProps!=="function"||(J!==W||N!==B)&&zQ(Z,z,$,B),c7=!1,N=Z.memoizedState,z.state=N,CX(Z,$,z,Y),PX();var v=Z.memoizedState;J!==W||N!==v||c7||X!==null&&X.dependencies!==null&&H0(X.dependencies)?(typeof I==="function"&&(C3(Z,G,I,$),v=Z.memoizedState),(H=c7||YQ(Z,G,H,$,N,v,B)||X!==null&&X.dependencies!==null&&H0(X.dependencies))?(P||typeof z.UNSAFE_componentWillUpdate!=="function"&&typeof z.componentWillUpdate!=="function"||(typeof z.componentWillUpdate==="function"&&z.componentWillUpdate($,v,B),typeof z.UNSAFE_componentWillUpdate==="function"&&z.UNSAFE_componentWillUpdate($,v,B)),typeof z.componentDidUpdate==="function"&&(Z.flags|=4),typeof z.getSnapshotBeforeUpdate==="function"&&(Z.flags|=1024)):(typeof z.componentDidUpdate!=="function"||J===X.memoizedProps&&N===X.memoizedState||(Z.flags|=4),typeof z.getSnapshotBeforeUpdate!=="function"||J===X.memoizedProps&&N===X.memoizedState||(Z.flags|=1024),Z.memoizedProps=$,Z.memoizedState=v),z.props=$,z.state=v,z.context=B,z=H):(typeof z.componentDidUpdate!=="function"||J===X.memoizedProps&&N===X.memoizedState||(Z.flags|=4),typeof z.getSnapshotBeforeUpdate!=="function"||J===X.memoizedProps&&N===X.memoizedState||(Z.flags|=1024),z=!1)}if(B=z,x0(X,Z),J=(Z.flags&128)!==0,B||J){if(B=Z.stateNode,X9(Z),J&&typeof G.getDerivedStateFromError!=="function")G=null,r4=-1;else if(G=NH(B),Z.mode&l4){p2(!0);try{NH(B)}finally{p2(!1)}}Z.flags|=1,X!==null&&J?(Z.child=E8(Z,X.child,null,Y),Z.child=E8(Z,null,G,Y)):x4(X,Z,G,Y),Z.memoizedState=B.state,X=Z.child}else X=n6(X,Z,Y);return Y=Z.stateNode,z&&Y.props!==$&&(n9||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",p(Z)||"a component"),n9=!0),X}function LQ(X,Z,G,$){return F8(),Z.flags|=256,x4(X,Z,G,$),Z.child}function b3(X,Z){Z&&Z.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
140
|
-
%s.childContextTypes = ...`,Z.displayName||Z.name||"Component"),typeof Z.getDerivedStateFromProps==="function"&&(X=w2(Z)||"Unknown",YW[X]||(console.error("%s: Function components do not support getDerivedStateFromProps.",X),YW[X]=!0)),typeof Z.contextType==="object"&&Z.contextType!==null&&(Z=w2(Z)||"Unknown",GW[Z]||(console.error("%s: Function components do not support contextType.",Z),GW[Z]=!0))}function y3(X){return{baseLanes:X,cachePool:_J()}}function f3(X,Z,G){return X=X!==null?X.childLanes&~G:0,Z&&(X|=Q5),X}function FQ(X,Z,G){var $,Y=Z.pendingProps;_(Z)&&(Z.flags|=128);var z=!1,J=(Z.flags&128)!==0;if(($=J)||($=X!==null&&X.memoizedState===null?!1:(H4.current&NZ)!==0),$&&(z=!0,Z.flags&=-129),$=(Z.flags&32)!==0,Z.flags&=-33,X===null){if(N2){if(z?P7(Z):C7(Z),(X=r2)?(G=mU(X,u5),G=G!==null&&G.data!==s8?G:null,G!==null&&($={dehydrated:G,treeContext:QJ(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=$,$=zJ(G),$.return=Z,Z.child=$,h4=Z,r2=null)):G=null,G===null)throw U0(Z,X),N7(Z);return M$(G)?Z.lanes=32:Z.lanes=536870912,null}var B=Y.children;if(Y=Y.fallback,z){C7(Z);var H=Z.mode;return B=D0({mode:"hidden",children:B},H),Y=O8(Y,H,G,null),B.return=Z,Y.return=Z,B.sibling=Y,Z.child=B,Y=Z.child,Y.memoizedState=y3(G),Y.childLanes=f3(X,$,G),Z.memoizedState=TY,gX(null,Y)}return P7(Z),j3(Z,B)}var W=X.memoizedState;if(W!==null){var I=W.dehydrated;if(I!==null){if(J)Z.flags&256?(P7(Z),Z.flags&=-257,Z=V3(X,Z,G)):Z.memoizedState!==null?(C7(Z),Z.child=X.child,Z.flags|=128,Z=null):(C7(Z),B=Y.fallback,H=Z.mode,Y=D0({mode:"visible",children:Y.children},H),B=O8(B,H,G,null),B.flags|=2,Y.return=Z,B.return=Z,Y.sibling=B,Z.child=Y,E8(Z,X.child,null,G),Y=Z.child,Y.memoizedState=y3(G),Y.childLanes=f3(X,$,G),Z.memoizedState=TY,Z=gX(null,Y));else if(P7(Z),BJ(),(G&536870912)!==0&&d0(Z),M$(I)){if($=I.nextSibling&&I.nextSibling.dataset,$){B=$.dgst;var P=$.msg;H=$.stck;var N=$.cstck}z=P,$=B,Y=H,I=N,B=z,H=I,B=B?Error(B):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),B.stack=Y||"",B.digest=$,$=H===void 0?null:H,Y={value:B,source:null,stack:$},typeof $==="string"&&GY.set(B,Y),FX(Y),Z=V3(X,Z,G)}else if(_4||U9(X,Z,G,!1),$=(G&X.childLanes)!==0,_4||$){if($=l2,$!==null&&(Y=W8($,G),Y!==0&&Y!==W.retryLane))throw W.retryLane=Y,u4(X,Y),J4($,X,Y),AY;W$(I)||l0(),Z=V3(X,Z,G)}else W$(I)?(Z.flags|=192,Z.child=X.child,Z=null):(X=W.treeContext,r2=A5(I.nextSibling),h4=Z,N2=!0,h7=null,j6=!1,C5=null,u5=!1,X!==null&&UJ(Z,X),Z=j3(Z,Y.children),Z.flags|=4096);return Z}}if(z)return C7(Z),B=Y.fallback,H=Z.mode,N=X.child,I=N.sibling,Y=c6(N,{mode:"hidden",children:Y.children}),Y.subtreeFlags=N.subtreeFlags&65011712,I!==null?B=c6(I,B):(B=O8(B,H,G,null),B.flags|=2),B.return=Z,Y.return=Z,Y.sibling=B,Z.child=Y,gX(null,Y),Y=Z.child,B=X.child.memoizedState,B===null?B=y3(G):(H=B.cachePool,H!==null?(N=q4._currentValue,H=H.parent!==N?{parent:N,pool:N}:H):H=_J(),B={baseLanes:B.baseLanes|G,cachePool:H}),Y.memoizedState=B,Y.childLanes=f3(X,$,G),Z.memoizedState=TY,gX(X.child,Y);return W!==null&&(G&62914560)===G&&(G&X.lanes)!==0&&d0(Z),P7(Z),G=X.child,X=G.sibling,G=c6(G,{mode:"visible",children:Y.children}),G.return=Z,G.sibling=null,X!==null&&($=Z.deletions,$===null?(Z.deletions=[X],Z.flags|=16):$.push(X)),Z.child=G,Z.memoizedState=null,G}function j3(X,Z){return Z=D0({mode:"visible",children:Z},X.mode),Z.return=X,X.child=Z}function D0(X,Z){return X=k(22,X,null,Z),X.lanes=0,X}function V3(X,Z,G){return E8(Z,X.child,null,G),X=j3(Z,Z.pendingProps.children),X.flags|=2,Z.memoizedState=null,X}function NQ(X,Z,G){X.lanes|=Z;var $=X.alternate;$!==null&&($.lanes|=Z),uG(X.return,Z,G)}function x3(X,Z,G,$,Y,z){var J=X.memoizedState;J===null?X.memoizedState={isBackwards:Z,rendering:null,renderingStartTime:0,last:$,tail:G,tailMode:Y,treeForkCount:z}:(J.isBackwards=Z,J.rendering=null,J.renderingStartTime=0,J.last=$,J.tail=G,J.tailMode=Y,J.treeForkCount=z)}function wQ(X,Z,G){var $=Z.pendingProps,Y=$.revealOrder,z=$.tail,J=$.children,B=H4.current;if(($=(B&NZ)!==0)?(B=B&c9|NZ,Z.flags|=128):B&=c9,F2(H4,B,Z),B=Y==null?"null":Y,Y!=="forwards"&&Y!=="unstable_legacy-backwards"&&Y!=="together"&&Y!=="independent"&&!zW[B])if(zW[B]=!0,Y==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(Y==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof Y==="string")switch(Y.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',Y,Y.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',Y,Y.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',Y)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',Y);if(B=z==null?"null":z,!V1[B])if(z==null){if(Y==="forwards"||Y==="backwards"||Y==="unstable_legacy-backwards")V1[B]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else z!=="visible"&&z!=="collapsed"&&z!=="hidden"?(V1[B]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',z)):Y!=="forwards"&&Y!=="backwards"&&Y!=="unstable_legacy-backwards"&&(V1[B]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',z));X:if((Y==="forwards"||Y==="backwards"||Y==="unstable_legacy-backwards")&&J!==void 0&&J!==null&&J!==!1)if(w4(J)){for(B=0;B<J.length;B++)if(!CJ(J[B],B))break X}else if(B=N4(J),typeof B==="function"){if(B=B.call(J))for(var H=B.next(),W=0;!H.done;H=B.next()){if(!CJ(H.value,W))break X;W++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',Y);if(x4(X,Z,J,G),N2?(F7(),J=zZ):J=0,!$&&X!==null&&(X.flags&128)!==0)X:for(X=Z.child;X!==null;){if(X.tag===13)X.memoizedState!==null&&NQ(X,G,Z);else if(X.tag===19)NQ(X,G,Z);else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)break X;for(;X.sibling===null;){if(X.return===null||X.return===Z)break X;X=X.return}X.sibling.return=X.return,X=X.sibling}switch(Y){case"forwards":G=Z.child;for(Y=null;G!==null;)X=G.alternate,X!==null&&w0(X)===null&&(Y=G),G=G.sibling;G=Y,G===null?(Y=Z.child,Z.child=null):(Y=G.sibling,G.sibling=null),x3(Z,!1,Y,G,z,J);break;case"backwards":case"unstable_legacy-backwards":G=null,Y=Z.child;for(Z.child=null;Y!==null;){if(X=Y.alternate,X!==null&&w0(X)===null){Z.child=Y;break}X=Y.sibling,Y.sibling=G,G=Y,Y=X}x3(Z,!0,G,null,z,J);break;case"together":x3(Z,!1,null,null,void 0,J);break;default:Z.memoizedState=null}return Z.child}function n6(X,Z,G){if(X!==null&&(Z.dependencies=X.dependencies),r4=-1,i7|=Z.lanes,(G&Z.childLanes)===0)if(X!==null){if(U9(X,Z,G,!1),(G&Z.childLanes)===0)return null}else return null;if(X!==null&&Z.child!==X.child)throw Error("Resuming work not yet implemented.");if(Z.child!==null){X=Z.child,G=c6(X,X.pendingProps),Z.child=G;for(G.return=Z;X.sibling!==null;)X=X.sibling,G=G.sibling=c6(X,X.pendingProps),G.return=Z;G.sibling=null}return Z.child}function D3(X,Z){if((X.lanes&Z)!==0)return!0;return X=X.dependencies,X!==null&&H0(X)?!0:!1}function Lq(X,Z,G){switch(Z.tag){case 3:l(Z,Z.stateNode.containerInfo),w7(Z,q4,X.memoizedState.cache),F8();break;case 27:case 5:f2(Z);break;case 4:l(Z,Z.stateNode.containerInfo);break;case 10:w7(Z,Z.type,Z.memoizedProps.value);break;case 12:(G&Z.childLanes)!==0&&(Z.flags|=4),Z.flags|=2048;var $=Z.stateNode;$.effectDuration=-0,$.passiveEffectDuration=-0;break;case 31:if(Z.memoizedState!==null)return Z.flags|=128,tG(Z),null;break;case 13:if($=Z.memoizedState,$!==null){if($.dehydrated!==null)return P7(Z),Z.flags|=128,null;if((G&Z.child.childLanes)!==0)return FQ(X,Z,G);return P7(Z),X=n6(X,Z,G),X!==null?X.sibling:null}P7(Z);break;case 19:var Y=(X.flags&128)!==0;if($=(G&Z.childLanes)!==0,$||(U9(X,Z,G,!1),$=(G&Z.childLanes)!==0),Y){if($)return wQ(X,Z,G);Z.flags|=128}if(Y=Z.memoizedState,Y!==null&&(Y.rendering=null,Y.tail=null,Y.lastEffect=null),F2(H4,H4.current,Z),$)break;else return null;case 22:return Z.lanes=0,qQ(X,Z,G,Z.pendingProps);case 24:w7(Z,q4,X.memoizedState.cache)}return n6(X,Z,G)}function E3(X,Z,G){if(Z._debugNeedsRemount&&X!==null){G=jG(Z.type,Z.key,Z.pendingProps,Z._debugOwner||null,Z.mode,Z.lanes),G._debugStack=Z._debugStack,G._debugTask=Z._debugTask;var $=Z.return;if($===null)throw Error("Cannot swap the root fiber.");if(X.alternate=null,Z.alternate=null,G.index=Z.index,G.sibling=Z.sibling,G.return=Z.return,G.ref=Z.ref,G._debugInfo=Z._debugInfo,Z===$.child)$.child=G;else{var Y=$.child;if(Y===null)throw Error("Expected parent to have a child.");for(;Y.sibling!==Z;)if(Y=Y.sibling,Y===null)throw Error("Expected to find the previous sibling.");Y.sibling=G}return Z=$.deletions,Z===null?($.deletions=[X],$.flags|=16):Z.push(X),G.flags|=2,G}if(X!==null)if(X.memoizedProps!==Z.pendingProps||Z.type!==X.type)_4=!0;else{if(!D3(X,G)&&(Z.flags&128)===0)return _4=!1,Lq(X,Z,G);_4=(X.flags&131072)!==0?!0:!1}else{if(_4=!1,$=N2)F7(),$=(Z.flags&1048576)!==0;$&&($=Z.index,F7(),JJ(Z,zZ,$))}switch(Z.lanes=0,Z.tag){case 16:X:if($=Z.pendingProps,X=A7(Z.elementType),Z.type=X,typeof X==="function")fG(X)?($=P8(X,$),Z.tag=1,Z.type=X=_8(X),Z=OQ(null,Z,X,$,G)):(Z.tag=0,b3(Z,X),Z.type=X=_8(X),Z=g3(null,Z,X,$,G));else{if(X!==void 0&&X!==null){if(Y=X.$$typeof,Y===sX){Z.tag=11,Z.type=X=yG(X),Z=HQ(null,Z,X,$,G);break X}else if(Y===$1){Z.tag=14,Z=WQ(null,Z,X,$,G);break X}}throw Z="",X!==null&&typeof X==="object"&&X.$$typeof===T5&&(Z=" Did you wrap a component in React.lazy() more than once?"),G=w2(X)||X,Error("Element type is invalid. Received a promise that resolves to: "+G+". Lazy element type must resolve to a class or function."+Z)}return Z;case 0:return g3(X,Z,Z.type,Z.pendingProps,G);case 1:return $=Z.type,Y=P8($,Z.pendingProps),OQ(X,Z,$,Y,G);case 3:X:{if(l(Z,Z.stateNode.containerInfo),X===null)throw Error("Should have a current fiber. This is a bug in React.");$=Z.pendingProps;var z=Z.memoizedState;Y=z.element,nG(X,Z),CX(Z,$,null,G);var J=Z.memoizedState;if($=J.cache,w7(Z,q4,$),$!==z.cache&&dG(Z,[q4],G,!0),PX(),$=J.element,z.isDehydrated)if(z={element:$,isDehydrated:!1,cache:J.cache},Z.updateQueue.baseState=z,Z.memoizedState=z,Z.flags&256){Z=LQ(X,Z,$,G);break X}else if($!==Y){Y=O5(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),Z),FX(Y),Z=LQ(X,Z,$,G);break X}else{switch(X=Z.stateNode.containerInfo,X.nodeType){case 9:X=X.body;break;default:X=X.nodeName==="HTML"?X.ownerDocument.body:X}r2=A5(X.firstChild),h4=Z,N2=!0,h7=null,j6=!1,C5=null,u5=!0,G=jH(Z,null,$,G);for(Z.child=G;G;)G.flags=G.flags&-3|4096,G=G.sibling}else{if(F8(),$===Y){Z=n6(X,Z,G);break X}x4(X,Z,$,G)}Z=Z.child}return Z;case 26:return x0(X,Z),X===null?(G=sU(Z.type,null,Z.pendingProps,null))?Z.memoizedState=G:N2||(G=Z.type,X=Z.pendingProps,$=j4(y7.current),$=a0($).createElement(G),$[E4]=Z,$[i4]=X,D4($,G,X),o($),Z.stateNode=$):Z.memoizedState=sU(Z.type,X.memoizedProps,Z.pendingProps,X.memoizedState),null;case 27:return f2(Z),X===null&&N2&&($=j4(y7.current),Y=t(),$=Z.stateNode=pU(Z.type,Z.pendingProps,$,Y,!1),j6||(Y=yU($,Z.type,Z.pendingProps,Y),Y!==null&&(L8(Z,0).serverProps=Y)),h4=Z,u5=!0,Y=r2,g7(Z.type)?(sY=Y,r2=A5($.firstChild)):r2=Y),x4(X,Z,Z.pendingProps.children,G),x0(X,Z),X===null&&(Z.flags|=4194304),Z.child;case 5:return X===null&&N2&&(z=t(),$=IG(Z.type,z.ancestorInfo),Y=r2,(J=!Y)||(J=JK(Y,Z.type,Z.pendingProps,u5),J!==null?(Z.stateNode=J,j6||(z=yU(J,Z.type,Z.pendingProps,z),z!==null&&(L8(Z,0).serverProps=z)),h4=Z,r2=A5(J.firstChild),u5=!1,z=!0):z=!1,J=!z),J&&($&&U0(Z,Y),N7(Z))),f2(Z),Y=Z.type,z=Z.pendingProps,J=X!==null?X.memoizedProps:null,$=z.children,B$(Y,z)?$=null:J!==null&&B$(Y,J)&&(Z.flags|=32),Z.memoizedState!==null&&(Y=X3(X,Z,Hq,null,null,G),EZ._currentValue=Y),x0(X,Z),x4(X,Z,$,G),Z.child;case 6:return X===null&&N2&&(G=Z.pendingProps,X=t(),$=X.ancestorInfo.current,G=$!=null?tZ(G,$.tag,X.ancestorInfo.implicitRootScope):!0,X=r2,($=!X)||($=QK(X,Z.pendingProps,u5),$!==null?(Z.stateNode=$,h4=Z,r2=null,$=!0):$=!1,$=!$),$&&(G&&U0(Z,X),N7(Z))),null;case 13:return FQ(X,Z,G);case 4:return l(Z,Z.stateNode.containerInfo),$=Z.pendingProps,X===null?Z.child=E8(Z,null,$,G):x4(X,Z,$,G),Z.child;case 11:return HQ(X,Z,Z.type,Z.pendingProps,G);case 7:return x4(X,Z,Z.pendingProps,G),Z.child;case 8:return x4(X,Z,Z.pendingProps.children,G),Z.child;case 12:return Z.flags|=4,Z.flags|=2048,$=Z.stateNode,$.effectDuration=-0,$.passiveEffectDuration=-0,x4(X,Z,Z.pendingProps.children,G),Z.child;case 10:return $=Z.type,Y=Z.pendingProps,z=Y.value,"value"in Y||JW||(JW=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),w7(Z,$,z),x4(X,Z,Y.children,G),Z.child;case 9:return Y=Z.type._context,$=Z.pendingProps.children,typeof $!=="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),N8(Z),Y=e2(Y),$=HY($,Y,void 0),Z.flags|=1,x4(X,Z,$,G),Z.child;case 14:return WQ(X,Z,Z.type,Z.pendingProps,G);case 15:return MQ(X,Z,Z.type,Z.pendingProps,G);case 19:return wQ(X,Z,G);case 31:return Oq(X,Z,G);case 22:return qQ(X,Z,G,Z.pendingProps);case 24:return N8(Z),$=e2(q4),X===null?(Y=sG(),Y===null&&(Y=l2,z=lG(),Y.pooledCache=z,w8(z),z!==null&&(Y.pooledCacheLanes|=G),Y=z),Z.memoizedState={parent:$,cache:Y},iG(Z),w7(Z,q4,Y)):((X.lanes&G)!==0&&(nG(X,Z),CX(Z,null,null,G),PX()),Y=X.memoizedState,z=Z.memoizedState,Y.parent!==$?(Y={parent:$,cache:$},Z.memoizedState=Y,Z.lanes===0&&(Z.memoizedState=Z.updateQueue.baseState=Y),w7(Z,q4,$)):($=z.cache,w7(Z,q4,$),$!==Y.cache&&dG(Z,[q4],G,!0))),x4(X,Z,Z.pendingProps.children,G),Z.child;case 29:throw Z.pendingProps}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function o6(X){X.flags|=4}function h3(X,Z,G,$,Y){if(Z=(X.mode&ER)!==Z2)Z=!1;if(Z){if(X.flags|=16777216,(Y&335544128)===Y)if(X.stateNode.complete)X.flags|=8192;else if(XU())X.flags|=8192;else throw D8=k1,MY}else X.flags&=-16777217}function AQ(X,Z){if(Z.type!=="stylesheet"||(Z.state.loading&s5)!==n8)X.flags&=-16777217;else if(X.flags|=16777216,!rU(Z))if(XU())X.flags|=8192;else throw D8=k1,MY}function E0(X,Z){Z!==null&&(X.flags|=4),X.flags&16384&&(Z=X.tag!==22?G9():536870912,X.lanes|=Z,l8|=Z)}function bX(X,Z){if(!N2)switch(X.tailMode){case"hidden":Z=X.tail;for(var G=null;Z!==null;)Z.alternate!==null&&(G=Z),Z=Z.sibling;G===null?X.tail=null:G.sibling=null;break;case"collapsed":G=X.tail;for(var $=null;G!==null;)G.alternate!==null&&($=G),G=G.sibling;$===null?Z||X.tail===null?X.tail=null:X.tail.sibling=null:$.sibling=null}}function c2(X){var Z=X.alternate!==null&&X.alternate.child===X.child,G=0,$=0;if(Z)if((X.mode&H2)!==Z2){for(var{selfBaseDuration:Y,child:z}=X;z!==null;)G|=z.lanes|z.childLanes,$|=z.subtreeFlags&65011712,$|=z.flags&65011712,Y+=z.treeBaseDuration,z=z.sibling;X.treeBaseDuration=Y}else for(Y=X.child;Y!==null;)G|=Y.lanes|Y.childLanes,$|=Y.subtreeFlags&65011712,$|=Y.flags&65011712,Y.return=X,Y=Y.sibling;else if((X.mode&H2)!==Z2){Y=X.actualDuration,z=X.selfBaseDuration;for(var J=X.child;J!==null;)G|=J.lanes|J.childLanes,$|=J.subtreeFlags,$|=J.flags,Y+=J.actualDuration,z+=J.treeBaseDuration,J=J.sibling;X.actualDuration=Y,X.treeBaseDuration=z}else for(Y=X.child;Y!==null;)G|=Y.lanes|Y.childLanes,$|=Y.subtreeFlags,$|=Y.flags,Y.return=X,Y=Y.sibling;return X.subtreeFlags|=$,X.childLanes=G,Z}function Fq(X,Z,G){var $=Z.pendingProps;switch(EG(Z),Z.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return c2(Z),null;case 1:return c2(Z),null;case 3:if(G=Z.stateNode,$=null,X!==null&&($=X.memoizedState.cache),Z.memoizedState.cache!==$&&(Z.flags|=2048),a6(q4,Z),X2(Z),G.pendingContext&&(G.context=G.pendingContext,G.pendingContext=null),X===null||X.child===null)Q9(Z)?(mG(),o6(Z)):X===null||X.memoizedState.isDehydrated&&(Z.flags&256)===0||(Z.flags|=1024,hG());return c2(Z),null;case 26:var{type:Y,memoizedState:z}=Z;return X===null?(o6(Z),z!==null?(c2(Z),AQ(Z,z)):(c2(Z),h3(Z,Y,null,$,G))):z?z!==X.memoizedState?(o6(Z),c2(Z),AQ(Z,z)):(c2(Z),Z.flags&=-16777217):(X=X.memoizedProps,X!==$&&o6(Z),c2(Z),h3(Z,Y,X,$,G)),null;case 27:if(j2(Z),G=j4(y7.current),Y=Z.type,X!==null&&Z.stateNode!=null)X.memoizedProps!==$&&o6(Z);else{if(!$){if(Z.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return c2(Z),null}X=t(),Q9(Z)?HJ(Z,X):(X=pU(Y,$,G,X,!0),Z.stateNode=X,o6(Z))}return c2(Z),null;case 5:if(j2(Z),Y=Z.type,X!==null&&Z.stateNode!=null)X.memoizedProps!==$&&o6(Z);else{if(!$){if(Z.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return c2(Z),null}var J=t();if(Q9(Z))HJ(Z,J);else{switch(z=j4(y7.current),IG(Y,J.ancestorInfo),J=J.context,z=a0(z),J){case $X:z=z.createElementNS(S9,Y);break;case ZG:z=z.createElementNS(H1,Y);break;default:switch(Y){case"svg":z=z.createElementNS(S9,Y);break;case"math":z=z.createElementNS(H1,Y);break;case"script":z=z.createElement("div"),z.innerHTML="<script></script>",z=z.removeChild(z.firstChild);break;case"select":z=typeof $.is==="string"?z.createElement("select",{is:$.is}):z.createElement("select"),$.multiple?z.multiple=!0:$.size&&(z.size=$.size);break;default:z=typeof $.is==="string"?z.createElement(Y,{is:$.is}):z.createElement(Y),Y.indexOf("-")===-1&&(Y!==Y.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",Y),Object.prototype.toString.call(z)!=="[object HTMLUnknownElement]"||r5.call(gW,Y)||(gW[Y]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",Y)))}}z[E4]=Z,z[i4]=$;X:for(J=Z.child;J!==null;){if(J.tag===5||J.tag===6)z.appendChild(J.stateNode);else if(J.tag!==4&&J.tag!==27&&J.child!==null){J.child.return=J,J=J.child;continue}if(J===Z)break X;for(;J.sibling===null;){if(J.return===null||J.return===Z)break X;J=J.return}J.sibling.return=J.return,J=J.sibling}Z.stateNode=z;X:switch(D4(z,Y,$),Y){case"button":case"input":case"select":case"textarea":$=!!$.autoFocus;break X;case"img":$=!0;break X;default:$=!1}$&&o6(Z)}}return c2(Z),h3(Z,Z.type,X===null?null:X.memoizedProps,Z.pendingProps,G),null;case 6:if(X&&Z.stateNode!=null)X.memoizedProps!==$&&o6(Z);else{if(typeof $!=="string"&&Z.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(X=j4(y7.current),G=t(),Q9(Z)){if(X=Z.stateNode,G=Z.memoizedProps,Y=!j6,$=null,z=h4,z!==null)switch(z.tag){case 3:Y&&(Y=dU(X,G,$),Y!==null&&(L8(Z,0).serverProps=Y));break;case 27:case 5:$=z.memoizedProps,Y&&(Y=dU(X,G,$),Y!==null&&(L8(Z,0).serverProps=Y))}X[E4]=Z,X=X.nodeValue===G||$!==null&&$.suppressHydrationWarning===!0||SU(X.nodeValue,G)?!0:!1,X||N7(Z,!0)}else Y=G.ancestorInfo.current,Y!=null&&tZ($,Y.tag,G.ancestorInfo.implicitRootScope),X=a0(X).createTextNode($),X[E4]=Z,Z.stateNode=X}return c2(Z),null;case 31:if(G=Z.memoizedState,X===null||X.memoizedState!==null){if($=Q9(Z),G!==null){if(X===null){if(!$)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(X=Z.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");X[E4]=Z,c2(Z),(Z.mode&H2)!==Z2&&G!==null&&(X=Z.child,X!==null&&(Z.treeBaseDuration-=X.treeBaseDuration))}else mG(),F8(),(Z.flags&128)===0&&(G=Z.memoizedState=null),Z.flags|=4,c2(Z),(Z.mode&H2)!==Z2&&G!==null&&(X=Z.child,X!==null&&(Z.treeBaseDuration-=X.treeBaseDuration));X=!1}else G=hG(),X!==null&&X.memoizedState!==null&&(X.memoizedState.hydrationErrors=G),X=!0;if(!X){if(Z.flags&256)return N5(Z),Z;return N5(Z),null}if((Z.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return c2(Z),null;case 13:if($=Z.memoizedState,X===null||X.memoizedState!==null&&X.memoizedState.dehydrated!==null){if(Y=$,z=Q9(Z),Y!==null&&Y.dehydrated!==null){if(X===null){if(!z)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(z=Z.memoizedState,z=z!==null?z.dehydrated:null,!z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");z[E4]=Z,c2(Z),(Z.mode&H2)!==Z2&&Y!==null&&(Y=Z.child,Y!==null&&(Z.treeBaseDuration-=Y.treeBaseDuration))}else mG(),F8(),(Z.flags&128)===0&&(Y=Z.memoizedState=null),Z.flags|=4,c2(Z),(Z.mode&H2)!==Z2&&Y!==null&&(Y=Z.child,Y!==null&&(Z.treeBaseDuration-=Y.treeBaseDuration));Y=!1}else Y=hG(),X!==null&&X.memoizedState!==null&&(X.memoizedState.hydrationErrors=Y),Y=!0;if(!Y){if(Z.flags&256)return N5(Z),Z;return N5(Z),null}}if(N5(Z),(Z.flags&128)!==0)return Z.lanes=G,(Z.mode&H2)!==Z2&&AX(Z),Z;return G=$!==null,X=X!==null&&X.memoizedState!==null,G&&($=Z.child,Y=null,$.alternate!==null&&$.alternate.memoizedState!==null&&$.alternate.memoizedState.cachePool!==null&&(Y=$.alternate.memoizedState.cachePool.pool),z=null,$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(z=$.memoizedState.cachePool.pool),z!==Y&&($.flags|=2048)),G!==X&&G&&(Z.child.flags|=8192),E0(Z,Z.updateQueue),c2(Z),(Z.mode&H2)!==Z2&&G&&(X=Z.child,X!==null&&(Z.treeBaseDuration-=X.treeBaseDuration)),null;case 4:return X2(Z),X===null&&G$(Z.stateNode.containerInfo),c2(Z),null;case 10:return a6(Z.type,Z),c2(Z),null;case 19:if(v2(H4,Z),$=Z.memoizedState,$===null)return c2(Z),null;if(Y=(Z.flags&128)!==0,z=$.rendering,z===null)if(Y)bX($,!1);else{if(G4!==W7||X!==null&&(X.flags&128)!==0)for(X=Z.child;X!==null;){if(z=w0(X),z!==null){Z.flags|=128,bX($,!1),X=z.updateQueue,Z.updateQueue=X,E0(Z,X),Z.subtreeFlags=0,X=G;for(G=Z.child;G!==null;)YJ(G,X),G=G.sibling;return F2(H4,H4.current&c9|NZ,Z),N2&&s6(Z,$.treeForkCount),Z.child}X=X.sibling}$.tail!==null&&v4()>d1&&(Z.flags|=128,Y=!0,bX($,!1),Z.lanes=4194304)}else{if(!Y)if(X=w0(z),X!==null){if(Z.flags|=128,Y=!0,X=X.updateQueue,Z.updateQueue=X,E0(Z,X),bX($,!0),$.tail===null&&$.tailMode==="hidden"&&!z.alternate&&!N2)return c2(Z),null}else 2*v4()-$.renderingStartTime>d1&&G!==536870912&&(Z.flags|=128,Y=!0,bX($,!1),Z.lanes=4194304);$.isBackwards?(z.sibling=Z.child,Z.child=z):(X=$.last,X!==null?X.sibling=z:Z.child=z,$.last=z)}if($.tail!==null)return X=$.tail,$.rendering=X,$.tail=X.sibling,$.renderingStartTime=v4(),X.sibling=null,G=H4.current,G=Y?G&c9|NZ:G&c9,F2(H4,G,Z),N2&&s6(Z,$.treeForkCount),X;return c2(Z),null;case 22:case 23:return N5(Z),rG(Z),$=Z.memoizedState!==null,X!==null?X.memoizedState!==null!==$&&(Z.flags|=8192):$&&(Z.flags|=8192),$?(G&536870912)!==0&&(Z.flags&128)===0&&(c2(Z),Z.subtreeFlags&6&&(Z.flags|=8192)):c2(Z),G=Z.updateQueue,G!==null&&E0(Z,G.retryQueue),G=null,X!==null&&X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(G=X.memoizedState.cachePool.pool),$=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&($=Z.memoizedState.cachePool.pool),$!==G&&(Z.flags|=2048),X!==null&&v2(V8,Z),null;case 24:return G=null,X!==null&&(G=X.memoizedState.cache),Z.memoizedState.cache!==G&&(Z.flags|=2048),a6(q4,Z),c2(Z),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Nq(X,Z){switch(EG(Z),Z.tag){case 1:return X=Z.flags,X&65536?(Z.flags=X&-65537|128,(Z.mode&H2)!==Z2&&AX(Z),Z):null;case 3:return a6(q4,Z),X2(Z),X=Z.flags,(X&65536)!==0&&(X&128)===0?(Z.flags=X&-65537|128,Z):null;case 26:case 27:case 5:return j2(Z),null;case 31:if(Z.memoizedState!==null){if(N5(Z),Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");F8()}return X=Z.flags,X&65536?(Z.flags=X&-65537|128,(Z.mode&H2)!==Z2&&AX(Z),Z):null;case 13:if(N5(Z),X=Z.memoizedState,X!==null&&X.dehydrated!==null){if(Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");F8()}return X=Z.flags,X&65536?(Z.flags=X&-65537|128,(Z.mode&H2)!==Z2&&AX(Z),Z):null;case 19:return v2(H4,Z),null;case 4:return X2(Z),null;case 10:return a6(Z.type,Z),null;case 22:case 23:return N5(Z),rG(Z),X!==null&&v2(V8,Z),X=Z.flags,X&65536?(Z.flags=X&-65537|128,(Z.mode&H2)!==Z2&&AX(Z),Z):null;case 24:return a6(q4,Z),null;case 25:return null;default:return null}}function TQ(X,Z){switch(EG(Z),Z.tag){case 3:a6(q4,Z),X2(Z);break;case 26:case 27:case 5:j2(Z);break;case 4:X2(Z);break;case 31:Z.memoizedState!==null&&N5(Z);break;case 13:N5(Z);break;case 19:v2(H4,Z);break;case 10:a6(Z.type,Z);break;case 22:case 23:N5(Z),rG(Z),X!==null&&v2(V8,Z);break;case 24:a6(q4,Z)}}function w6(X){return(X.mode&H2)!==Z2}function IQ(X,Z){w6(X)?(N6(),yX(Z,X),F6()):yX(Z,X)}function m3(X,Z,G){w6(X)?(N6(),q9(G,X,Z),F6()):q9(G,X,Z)}function yX(X,Z){try{var G=Z.updateQueue,$=G!==null?G.lastEffect:null;if($!==null){var Y=$.next;G=Y;do{if((G.tag&X)===X&&($=void 0,(X&t4)!==b1&&(XX=!0),$=s(Z,lR,G),(X&t4)!==b1&&(XX=!1),$!==void 0&&typeof $!=="function")){var z=void 0;z=(G.tag&v5)!==0?"useLayoutEffect":(G.tag&t4)!==0?"useInsertionEffect":"useEffect";var J=void 0;J=$===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof $.then==="function"?`
|
|
141
|
-
|
|
142
|
-
It looks like you wrote `+z+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
143
|
-
|
|
144
|
-
`+z+`(() => {
|
|
145
|
-
async function fetchData() {
|
|
146
|
-
// You can await here
|
|
147
|
-
const response = await MyAPI.getData(someId);
|
|
148
|
-
// ...
|
|
149
|
-
}
|
|
150
|
-
fetchData();
|
|
151
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
152
|
-
|
|
153
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+$,s(Z,function(B,H){console.error("%s must not return anything besides a function, which is used for clean-up.%s",B,H)},z,J)}G=G.next}while(G!==Y)}}catch(B){g2(Z,Z.return,B)}}function q9(X,Z,G){try{var $=Z.updateQueue,Y=$!==null?$.lastEffect:null;if(Y!==null){var z=Y.next;$=z;do{if(($.tag&X)===X){var J=$.inst,B=J.destroy;B!==void 0&&(J.destroy=void 0,(X&t4)!==b1&&(XX=!0),Y=Z,s(Y,pR,Y,G,B),(X&t4)!==b1&&(XX=!1))}$=$.next}while($!==z)}}catch(H){g2(Z,Z.return,H)}}function PQ(X,Z){w6(X)?(N6(),yX(Z,X),F6()):yX(Z,X)}function u3(X,Z,G){w6(X)?(N6(),q9(G,X,Z),F6()):q9(G,X,Z)}function CQ(X){var Z=X.updateQueue;if(Z!==null){var G=X.stateNode;X.type.defaultProps||"ref"in X.memoizedProps||n9||(G.props!==X.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",p(X)||"instance"),G.state!==X.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",p(X)||"instance"));try{s(X,vJ,Z,G)}catch($){g2(X,X.return,$)}}}function wq(X,Z,G){return X.getSnapshotBeforeUpdate(Z,G)}function Aq(X,Z){var{memoizedProps:G,memoizedState:$}=Z;Z=X.stateNode,X.type.defaultProps||"ref"in X.memoizedProps||n9||(Z.props!==X.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",p(X)||"instance"),Z.state!==X.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",p(X)||"instance"));try{var Y=P8(X.type,G),z=s(X,wq,Z,Y,$);G=QW,z!==void 0||G.has(X.type)||(G.add(X.type),s(X,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",p(X))})),Z.__reactInternalSnapshotBeforeUpdate=z}catch(J){g2(X,X.return,J)}}function SQ(X,Z,G){G.props=P8(X.type,X.memoizedProps),G.state=X.memoizedState,w6(X)?(N6(),s(X,CH,X,Z,G),F6()):s(X,CH,X,Z,G)}function Tq(X){var Z=X.ref;if(Z!==null){switch(X.tag){case 26:case 27:case 5:var G=X.stateNode;break;case 30:G=X.stateNode;break;default:G=X.stateNode}if(typeof Z==="function")if(w6(X))try{N6(),X.refCleanup=Z(G)}finally{F6()}else X.refCleanup=Z(G);else typeof Z==="string"?console.error("String refs are no longer supported."):Z.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",p(X)),Z.current=G}}function fX(X,Z){try{s(X,Tq,X)}catch(G){g2(X,Z,G)}}function A6(X,Z){var{ref:G,refCleanup:$}=X;if(G!==null)if(typeof $==="function")try{if(w6(X))try{N6(),s(X,$)}finally{F6(X)}else s(X,$)}catch(Y){g2(X,Z,Y)}finally{X.refCleanup=null,X=X.alternate,X!=null&&(X.refCleanup=null)}else if(typeof G==="function")try{if(w6(X))try{N6(),s(X,G,null)}finally{F6(X)}else s(X,G,null)}catch(Y){g2(X,Z,Y)}else G.current=null}function vQ(X,Z,G,$){var Y=X.memoizedProps,z=Y.id,J=Y.onCommit;Y=Y.onRender,Z=Z===null?"mount":"update",P1&&(Z="nested-update"),typeof Y==="function"&&Y(z,Z,X.actualDuration,X.treeBaseDuration,X.actualStartTime,G),typeof J==="function"&&J(z,Z,$,G)}function Iq(X,Z,G,$){var Y=X.memoizedProps;X=Y.id,Y=Y.onPostCommit,Z=Z===null?"mount":"update",P1&&(Z="nested-update"),typeof Y==="function"&&Y(X,Z,$,G)}function kQ(X){var{type:Z,memoizedProps:G,stateNode:$}=X;try{s(X,iq,$,Z,G,X)}catch(Y){g2(X,X.return,Y)}}function d3(X,Z,G){try{s(X,oq,X.stateNode,X.type,G,Z,X)}catch($){g2(X,X.return,$)}}function gQ(X){return X.tag===5||X.tag===3||X.tag===26||X.tag===27&&g7(X.type)||X.tag===4}function l3(X){X:for(;;){for(;X.sibling===null;){if(X.return===null||gQ(X.return))return null;X=X.return}X.sibling.return=X.return;for(X=X.sibling;X.tag!==5&&X.tag!==6&&X.tag!==18;){if(X.tag===27&&g7(X.type))continue X;if(X.flags&2)continue X;if(X.child===null||X.tag===4)continue X;else X.child.return=X,X=X.child}if(!(X.flags&2))return X.stateNode}}function p3(X,Z,G){var $=X.tag;if($===5||$===6)X=X.stateNode,Z?(DU(G),(G.nodeType===9?G.body:G.nodeName==="HTML"?G.ownerDocument.body:G).insertBefore(X,Z)):(DU(G),Z=G.nodeType===9?G.body:G.nodeName==="HTML"?G.ownerDocument.body:G,Z.appendChild(X),G=G._reactRootContainer,G!==null&&G!==void 0||Z.onclick!==null||(Z.onclick=p6));else if($!==4&&($===27&&g7(X.type)&&(G=X.stateNode,Z=null),X=X.child,X!==null))for(p3(X,Z,G),X=X.sibling;X!==null;)p3(X,Z,G),X=X.sibling}function h0(X,Z,G){var $=X.tag;if($===5||$===6)X=X.stateNode,Z?G.insertBefore(X,Z):G.appendChild(X);else if($!==4&&($===27&&g7(X.type)&&(G=X.stateNode),X=X.child,X!==null))for(h0(X,Z,G),X=X.sibling;X!==null;)h0(X,Z,G),X=X.sibling}function Pq(X){for(var Z,G=X.return;G!==null;){if(gQ(G)){Z=G;break}G=G.return}if(Z==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(Z.tag){case 27:Z=Z.stateNode,G=l3(X),h0(X,G,Z);break;case 5:G=Z.stateNode,Z.flags&32&&(xU(G),Z.flags&=-33),Z=l3(X),h0(X,Z,G);break;case 3:case 4:Z=Z.stateNode.containerInfo,G=l3(X),p3(X,G,Z);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function bQ(X){var{stateNode:Z,memoizedProps:G}=X;try{s(X,MK,X.type,G,Z,X)}catch($){g2(X,X.return,$)}}function yQ(X,Z){return Z.tag===31?(Z=Z.memoizedState,X.memoizedState!==null&&Z===null):Z.tag===13?(X=X.memoizedState,Z=Z.memoizedState,X!==null&&X.dehydrated!==null&&(Z===null||Z.dehydrated===null)):Z.tag===3?X.memoizedState.isDehydrated&&(Z.flags&256)===0:!1}function Cq(X,Z){if(X=X.containerInfo,lY=zG,X=iz(X),SG(X)){if("selectionStart"in X)var G={start:X.selectionStart,end:X.selectionEnd};else X:{G=(G=X.ownerDocument)&&G.defaultView||window;var $=G.getSelection&&G.getSelection();if($&&$.rangeCount!==0){G=$.anchorNode;var{anchorOffset:Y,focusNode:z}=$;$=$.focusOffset;try{G.nodeType,z.nodeType}catch(m){G=null;break X}var J=0,B=-1,H=-1,W=0,I=0,P=X,N=null;Z:for(;;){for(var v;;){if(P!==G||Y!==0&&P.nodeType!==3||(B=J+Y),P!==z||$!==0&&P.nodeType!==3||(H=J+$),P.nodeType===3&&(J+=P.nodeValue.length),(v=P.firstChild)===null)break;N=P,P=v}for(;;){if(P===X)break Z;if(N===G&&++W===Y&&(B=J),N===z&&++I===$&&(H=J),(v=P.nextSibling)!==null)break;P=N,N=P.parentNode}P=v}G=B===-1||H===-1?null:{start:B,end:H}}else G=null}G=G||{start:0,end:0}}else G=null;pY={focusedElem:X,selectionRange:G},zG=!1;for(g4=Z;g4!==null;)if(Z=g4,X=Z.child,(Z.subtreeFlags&1028)!==0&&X!==null)X.return=Z,g4=X;else for(;g4!==null;){switch(X=Z=g4,G=X.alternate,Y=X.flags,X.tag){case 0:if((Y&4)!==0&&(X=X.updateQueue,X=X!==null?X.events:null,X!==null))for(G=0;G<X.length;G++)Y=X[G],Y.ref.impl=Y.nextImpl;break;case 11:case 15:break;case 1:(Y&1024)!==0&&G!==null&&Aq(X,G);break;case 3:if((Y&1024)!==0){if(X=X.stateNode.containerInfo,G=X.nodeType,G===9)H$(X);else if(G===1)switch(X.nodeName){case"HEAD":case"HTML":case"BODY":H$(X);break;default:X.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((Y&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(X=Z.sibling,X!==null){X.return=Z.return,g4=X;break}g4=Z.return}}function fQ(X,Z,G){var $=L5(),Y=R6(),z=O6(),J=L6(),B=G.flags;switch(G.tag){case 0:case 11:case 15:T6(X,G),B&4&&IQ(G,v5|p5);break;case 1:if(T6(X,G),B&4)if(X=G.stateNode,Z===null)G.type.defaultProps||"ref"in G.memoizedProps||n9||(X.props!==G.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",p(G)||"instance"),X.state!==G.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",p(G)||"instance")),w6(G)?(N6(),s(G,WY,G,X),F6()):s(G,WY,G,X);else{var H=P8(G.type,Z.memoizedProps);Z=Z.memoizedState,G.type.defaultProps||"ref"in G.memoizedProps||n9||(X.props!==G.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",p(G)||"instance"),X.state!==G.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",p(G)||"instance")),w6(G)?(N6(),s(G,TH,G,X,H,Z,X.__reactInternalSnapshotBeforeUpdate),F6()):s(G,TH,G,X,H,Z,X.__reactInternalSnapshotBeforeUpdate)}B&64&&CQ(G),B&512&&fX(G,G.return);break;case 3:if(Z=i6(),T6(X,G),B&64&&(B=G.updateQueue,B!==null)){if(H=null,G.child!==null)switch(G.child.tag){case 27:case 5:H=G.child.stateNode;break;case 1:H=G.child.stateNode}try{s(G,vJ,B,H)}catch(I){g2(G,G.return,I)}}X.effectDuration+=M0(Z);break;case 27:Z===null&&B&4&&bQ(G);case 26:case 5:if(T6(X,G),Z===null){if(B&4)kQ(G);else if(B&64){X=G.type,Z=G.memoizedProps,H=G.stateNode;try{s(G,nq,H,X,Z,G)}catch(I){g2(G,G.return,I)}}}B&512&&fX(G,G.return);break;case 12:if(B&4){B=i6(),T6(X,G),X=G.stateNode,X.effectDuration+=wX(B);try{s(G,vQ,G,Z,m7,X.effectDuration)}catch(I){g2(G,G.return,I)}}else T6(X,G);break;case 31:T6(X,G),B&4&&xQ(X,G);break;case 13:T6(X,G),B&4&&DQ(X,G),B&64&&(X=G.memoizedState,X!==null&&(X=X.dehydrated,X!==null&&(B=Vq.bind(null,G),UK(X,B))));break;case 22:if(B=G.memoizedState!==null||H7,!B){Z=Z!==null&&Z.memoizedState!==null||O4,H=H7;var W=O4;H7=B,(O4=Z)&&!W?(I6(X,G,(G.subtreeFlags&8772)!==0),(G.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&G0(G,r,e)):T6(X,G),H7=H,O4=W}break;case 30:break;default:T6(X,G)}(G.mode&H2)!==Z2&&0<=r&&0<=e&&((Q4||0.05<Z4)&&q6(G,r,e,Z4,X4),G.alternate===null&&G.return!==null&&G.return.alternate!==null&&0.05<e-r&&(yQ(G.return.alternate,G.return)||M6(G,r,e,"Mount"))),F5($),_6(Y),X4=z,Q4=J}function jQ(X){var Z=X.alternate;Z!==null&&(X.alternate=null,jQ(Z)),X.child=null,X.deletions=null,X.sibling=null,X.tag===5&&(Z=X.stateNode,Z!==null&&u(Z)),X.stateNode=null,X._debugOwner=null,X.return=null,X.dependencies=null,X.memoizedProps=null,X.memoizedState=null,X.pendingProps=null,X.stateNode=null,X.updateQueue=null}function r6(X,Z,G){for(G=G.child;G!==null;)VQ(X,Z,G),G=G.sibling}function VQ(X,Z,G){if(d4&&typeof d4.onCommitFiberUnmount==="function")try{d4.onCommitFiberUnmount(P9,G)}catch(W){g6||(g6=!0,console.error("React instrumentation encountered an error: %o",W))}var $=L5(),Y=R6(),z=O6(),J=L6();switch(G.tag){case 26:O4||A6(G,Z),r6(X,Z,G),G.memoizedState?G.memoizedState.count--:G.stateNode&&(X=G.stateNode,X.parentNode.removeChild(X));break;case 27:O4||A6(G,Z);var B=L4,H=z5;g7(G.type)&&(L4=G.stateNode,z5=!1),r6(X,Z,G),s(G,dX,G.stateNode),L4=B,z5=H;break;case 5:O4||A6(G,Z);case 6:if(B=L4,H=z5,L4=null,r6(X,Z,G),L4=B,z5=H,L4!==null)if(z5)try{s(G,eq,L4,G.stateNode)}catch(W){g2(G,Z,W)}else try{s(G,tq,L4,G.stateNode)}catch(W){g2(G,Z,W)}break;case 18:L4!==null&&(z5?(X=L4,EU(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X,G.stateNode),w9(X)):EU(L4,G.stateNode));break;case 4:B=L4,H=z5,L4=G.stateNode.containerInfo,z5=!0,r6(X,Z,G),L4=B,z5=H;break;case 0:case 11:case 14:case 15:q9(t4,G,Z),O4||m3(G,Z,v5),r6(X,Z,G);break;case 1:O4||(A6(G,Z),B=G.stateNode,typeof B.componentWillUnmount==="function"&&SQ(G,Z,B)),r6(X,Z,G);break;case 21:r6(X,Z,G);break;case 22:O4=(B=O4)||G.memoizedState!==null,r6(X,Z,G),O4=B;break;default:r6(X,Z,G)}(G.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6(G,r,e,Z4,X4),F5($),_6(Y),X4=z,Q4=J}function xQ(X,Z){if(Z.memoizedState===null&&(X=Z.alternate,X!==null&&(X=X.memoizedState,X!==null))){X=X.dehydrated;try{s(Z,HK,X)}catch(G){g2(Z,Z.return,G)}}}function DQ(X,Z){if(Z.memoizedState===null&&(X=Z.alternate,X!==null&&(X=X.memoizedState,X!==null&&(X=X.dehydrated,X!==null))))try{s(Z,WK,X)}catch(G){g2(Z,Z.return,G)}}function Sq(X){switch(X.tag){case 31:case 13:case 19:var Z=X.stateNode;return Z===null&&(Z=X.stateNode=new UW),Z;case 22:return X=X.stateNode,Z=X._retryCache,Z===null&&(Z=X._retryCache=new UW),Z;default:throw Error("Unexpected Suspense handler tag ("+X.tag+"). This is a bug in React.")}}function m0(X,Z){var G=Sq(X);Z.forEach(function($){if(!G.has($)){if(G.add($),b6)if(o9!==null&&r9!==null)DX(r9,o9);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var Y=xq.bind(null,X,$);$.then(Y,Y)}})}function $5(X,Z){var G=Z.deletions;if(G!==null)for(var $=0;$<G.length;$++){var Y=X,z=Z,J=G[$],B=L5(),H=z;X:for(;H!==null;){switch(H.tag){case 27:if(g7(H.type)){L4=H.stateNode,z5=!1;break X}break;case 5:L4=H.stateNode,z5=!1;break X;case 3:case 4:L4=H.stateNode.containerInfo,z5=!0;break X}H=H.return}if(L4===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");VQ(Y,z,J),L4=null,z5=!1,(J.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&M6(J,r,e,"Unmount"),F5(B),Y=J,z=Y.alternate,z!==null&&(z.return=null),Y.return=null}if(Z.subtreeFlags&13886)for(Z=Z.child;Z!==null;)EQ(Z,X),Z=Z.sibling}function EQ(X,Z){var G=L5(),$=R6(),Y=O6(),z=L6(),J=X.alternate,B=X.flags;switch(X.tag){case 0:case 11:case 14:case 15:$5(Z,X),Y5(X),B&4&&(q9(t4|p5,X,X.return),yX(t4|p5,X),m3(X,X.return,v5|p5));break;case 1:if($5(Z,X),Y5(X),B&512&&(O4||J===null||A6(J,J.return)),B&64&&H7&&(B=X.updateQueue,B!==null&&(J=B.callbacks,J!==null))){var H=B.shared.hiddenCallbacks;B.shared.hiddenCallbacks=H===null?J:H.concat(J)}break;case 26:if(H=G6,$5(Z,X),Y5(X),B&512&&(O4||J===null||A6(J,J.return)),B&4){var W=J!==null?J.memoizedState:null;if(B=X.memoizedState,J===null)if(B===null)if(X.stateNode===null){X:{B=X.type,J=X.memoizedProps,H=H.ownerDocument||H;Z:switch(B){case"title":if(W=H.getElementsByTagName("title")[0],!W||W[nX]||W[E4]||W.namespaceURI===S9||W.hasAttribute("itemprop"))W=H.createElement(B),H.head.insertBefore(W,H.querySelector("head > title"));D4(W,B,J),W[E4]=X,o(W),B=W;break X;case"link":var I=nU("link","href",H).get(B+(J.href||""));if(I){for(var P=0;P<I.length;P++)if(W=I[P],W.getAttribute("href")===(J.href==null||J.href===""?null:J.href)&&W.getAttribute("rel")===(J.rel==null?null:J.rel)&&W.getAttribute("title")===(J.title==null?null:J.title)&&W.getAttribute("crossorigin")===(J.crossOrigin==null?null:J.crossOrigin)){I.splice(P,1);break Z}}W=H.createElement(B),D4(W,B,J),H.head.appendChild(W);break;case"meta":if(I=nU("meta","content",H).get(B+(J.content||""))){for(P=0;P<I.length;P++)if(W=I[P],m2(J.content,"content"),W.getAttribute("content")===(J.content==null?null:""+J.content)&&W.getAttribute("name")===(J.name==null?null:J.name)&&W.getAttribute("property")===(J.property==null?null:J.property)&&W.getAttribute("http-equiv")===(J.httpEquiv==null?null:J.httpEquiv)&&W.getAttribute("charset")===(J.charSet==null?null:J.charSet)){I.splice(P,1);break Z}}W=H.createElement(B),D4(W,B,J),H.head.appendChild(W);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+B+'". This is a bug in React.')}W[E4]=X,o(W),B=W}X.stateNode=B}else oU(H,X.type,X.stateNode);else X.stateNode=iU(H,B,X.memoizedProps);else W!==B?(W===null?J.stateNode!==null&&(J=J.stateNode,J.parentNode.removeChild(J)):W.count--,B===null?oU(H,X.type,X.stateNode):iU(H,B,X.memoizedProps)):B===null&&X.stateNode!==null&&d3(X,X.memoizedProps,J.memoizedProps)}break;case 27:$5(Z,X),Y5(X),B&512&&(O4||J===null||A6(J,J.return)),J!==null&&B&4&&d3(X,X.memoizedProps,J.memoizedProps);break;case 5:if($5(Z,X),Y5(X),B&512&&(O4||J===null||A6(J,J.return)),X.flags&32){H=X.stateNode;try{s(X,xU,H)}catch(c){g2(X,X.return,c)}}B&4&&X.stateNode!=null&&(H=X.memoizedProps,d3(X,H,J!==null?J.memoizedProps:H)),B&1024&&(IY=!0,X.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if($5(Z,X),Y5(X),B&4){if(X.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");B=X.memoizedProps,J=J!==null?J.memoizedProps:B,H=X.stateNode;try{s(X,rq,H,J,B)}catch(c){g2(X,X.return,c)}}break;case 3:if(H=i6(),GG=null,W=G6,G6=i0(Z.containerInfo),$5(Z,X),G6=W,Y5(X),B&4&&J!==null&&J.memoizedState.isDehydrated)try{s(X,BK,Z.containerInfo)}catch(c){g2(X,X.return,c)}IY&&(IY=!1,hQ(X)),Z.effectDuration+=M0(H);break;case 4:B=G6,G6=i0(X.stateNode.containerInfo),$5(Z,X),Y5(X),G6=B;break;case 12:B=i6(),$5(Z,X),Y5(X),X.stateNode.effectDuration+=wX(B);break;case 31:$5(Z,X),Y5(X),B&4&&(B=X.updateQueue,B!==null&&(X.updateQueue=null,m0(X,B)));break;case 13:$5(Z,X),Y5(X),X.child.flags&8192&&X.memoizedState!==null!==(J!==null&&J.memoizedState!==null)&&(u1=v4()),B&4&&(B=X.updateQueue,B!==null&&(X.updateQueue=null,m0(X,B)));break;case 22:H=X.memoizedState!==null;var N=J!==null&&J.memoizedState!==null,v=H7,m=O4;if(H7=v||H,O4=m||N,$5(Z,X),O4=m,H7=v,N&&!H&&!v&&!m&&(X.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&G0(X,r,e),Y5(X),B&8192)X:for(Z=X.stateNode,Z._visibility=H?Z._visibility&~YZ:Z._visibility|YZ,!H||J===null||N||H7||O4||(C8(X),(X.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&M6(X,r,e,"Disconnect")),J=null,Z=X;;){if(Z.tag===5||Z.tag===26){if(J===null){N=J=Z;try{W=N.stateNode,H?s(N,ZK,W):s(N,YK,N.stateNode,N.memoizedProps)}catch(c){g2(N,N.return,c)}}}else if(Z.tag===6){if(J===null){N=Z;try{I=N.stateNode,H?s(N,GK,I):s(N,zK,I,N.memoizedProps)}catch(c){g2(N,N.return,c)}}}else if(Z.tag===18){if(J===null){N=Z;try{P=N.stateNode,H?s(N,XK,P):s(N,$K,N.stateNode)}catch(c){g2(N,N.return,c)}}}else if((Z.tag!==22&&Z.tag!==23||Z.memoizedState===null||Z===X)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===X)break X;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)break X;J===Z&&(J=null),Z=Z.return}J===Z&&(J=null),Z.sibling.return=Z.return,Z=Z.sibling}B&4&&(B=X.updateQueue,B!==null&&(J=B.retryQueue,J!==null&&(B.retryQueue=null,m0(X,J))));break;case 19:$5(Z,X),Y5(X),B&4&&(B=X.updateQueue,B!==null&&(X.updateQueue=null,m0(X,B)));break;case 30:break;case 21:break;default:$5(Z,X),Y5(X)}(X.mode&H2)!==Z2&&0<=r&&0<=e&&((Q4||0.05<Z4)&&q6(X,r,e,Z4,X4),X.alternate===null&&X.return!==null&&X.return.alternate!==null&&0.05<e-r&&(yQ(X.return.alternate,X.return)||M6(X,r,e,"Mount"))),F5(G),_6($),X4=Y,Q4=z}function Y5(X){var Z=X.flags;if(Z&2){try{s(X,Pq,X)}catch(G){g2(X,X.return,G)}X.flags&=-3}Z&4096&&(X.flags&=-4097)}function hQ(X){if(X.subtreeFlags&1024)for(X=X.child;X!==null;){var Z=X;hQ(Z),Z.tag===5&&Z.flags&1024&&Z.stateNode.reset(),X=X.sibling}}function T6(X,Z){if(Z.subtreeFlags&8772)for(Z=Z.child;Z!==null;)fQ(X,Z.alternate,Z),Z=Z.sibling}function mQ(X){var Z=L5(),G=R6(),$=O6(),Y=L6();switch(X.tag){case 0:case 11:case 14:case 15:m3(X,X.return,v5),C8(X);break;case 1:A6(X,X.return);var z=X.stateNode;typeof z.componentWillUnmount==="function"&&SQ(X,X.return,z),C8(X);break;case 27:s(X,dX,X.stateNode);case 26:case 5:A6(X,X.return),C8(X);break;case 22:X.memoizedState===null&&C8(X);break;case 30:C8(X);break;default:C8(X)}(X.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6(X,r,e,Z4,X4),F5(Z),_6(G),X4=$,Q4=Y}function C8(X){for(X=X.child;X!==null;)mQ(X),X=X.sibling}function uQ(X,Z,G,$){var Y=L5(),z=R6(),J=O6(),B=L6(),H=G.flags;switch(G.tag){case 0:case 11:case 15:I6(X,G,$),IQ(G,v5);break;case 1:if(I6(X,G,$),Z=G.stateNode,typeof Z.componentDidMount==="function"&&s(G,WY,G,Z),Z=G.updateQueue,Z!==null){X=G.stateNode;try{s(G,Bq,Z,X)}catch(W){g2(G,G.return,W)}}$&&H&64&&CQ(G),fX(G,G.return);break;case 27:bQ(G);case 26:case 5:I6(X,G,$),$&&Z===null&&H&4&&kQ(G),fX(G,G.return);break;case 12:if($&&H&4){H=i6(),I6(X,G,$),$=G.stateNode,$.effectDuration+=wX(H);try{s(G,vQ,G,Z,m7,$.effectDuration)}catch(W){g2(G,G.return,W)}}else I6(X,G,$);break;case 31:I6(X,G,$),$&&H&4&&xQ(X,G);break;case 13:I6(X,G,$),$&&H&4&&DQ(X,G);break;case 22:G.memoizedState===null&&I6(X,G,$),fX(G,G.return);break;case 30:break;default:I6(X,G,$)}(G.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6(G,r,e,Z4,X4),F5(Y),_6(z),X4=J,Q4=B}function I6(X,Z,G){G=G&&(Z.subtreeFlags&8772)!==0;for(Z=Z.child;Z!==null;)uQ(X,Z.alternate,Z,G),Z=Z.sibling}function c3(X,Z){var G=null;X!==null&&X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(G=X.memoizedState.cachePool.pool),X=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(X=Z.memoizedState.cachePool.pool),X!==G&&(X!=null&&w8(X),G!=null&&NX(G))}function s3(X,Z){X=null,Z.alternate!==null&&(X=Z.alternate.memoizedState.cache),Z=Z.memoizedState.cache,Z!==X&&(w8(Z),X!=null&&NX(X))}function o5(X,Z,G,$,Y){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(Z=Z.child;Z!==null;){var z=Z.sibling;dQ(X,Z,G,$,z!==null?z.actualStartTime:Y),Z=z}}function dQ(X,Z,G,$,Y){var z=L5(),J=R6(),B=O6(),H=L6(),W=x7,I=Z.flags;switch(Z.tag){case 0:case 11:case 15:(Z.mode&H2)!==Z2&&0<Z.actualStartTime&&(Z.flags&1)!==0&&$0(Z,Z.actualStartTime,Y,A4,G),o5(X,Z,G,$,Y),I&2048&&PQ(Z,e4|p5);break;case 1:(Z.mode&H2)!==Z2&&0<Z.actualStartTime&&((Z.flags&128)!==0?kG(Z,Z.actualStartTime,Y,[]):(Z.flags&1)!==0&&$0(Z,Z.actualStartTime,Y,A4,G)),o5(X,Z,G,$,Y);break;case 3:var P=i6(),N=A4;A4=Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)===0,o5(X,Z,G,$,Y),A4=N,I&2048&&(G=null,Z.alternate!==null&&(G=Z.alternate.memoizedState.cache),$=Z.memoizedState.cache,$!==G&&(w8($),G!=null&&NX(G))),X.passiveEffectDuration+=M0(P);break;case 12:if(I&2048){I=i6(),o5(X,Z,G,$,Y),X=Z.stateNode,X.passiveEffectDuration+=wX(I);try{s(Z,Iq,Z,Z.alternate,m7,X.passiveEffectDuration)}catch(v){g2(Z,Z.return,v)}}else o5(X,Z,G,$,Y);break;case 31:I=A4,P=Z.alternate!==null?Z.alternate.memoizedState:null,N=Z.memoizedState,P!==null&&N===null?(N=Z.deletions,N!==null&&0<N.length&&N[0].tag===18?(A4=!1,P=P.hydrationErrors,P!==null&&kG(Z,Z.actualStartTime,Y,P)):A4=!0):A4=!1,o5(X,Z,G,$,Y),A4=I;break;case 13:I=A4,P=Z.alternate!==null?Z.alternate.memoizedState:null,N=Z.memoizedState,P===null||P.dehydrated===null||N!==null&&N.dehydrated!==null?A4=!1:(N=Z.deletions,N!==null&&0<N.length&&N[0].tag===18?(A4=!1,P=P.hydrationErrors,P!==null&&kG(Z,Z.actualStartTime,Y,P)):A4=!0),o5(X,Z,G,$,Y),A4=I;break;case 23:break;case 22:N=Z.stateNode,P=Z.alternate,Z.memoizedState!==null?N._visibility&X7?o5(X,Z,G,$,Y):jX(X,Z,G,$,Y):N._visibility&X7?o5(X,Z,G,$,Y):(N._visibility|=X7,K9(X,Z,G,$,(Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child),Y),(Z.mode&H2)===Z2||A4||(X=Z.actualStartTime,0<=X&&0.05<Y-X&&G0(Z,X,Y),0<=r&&0<=e&&0.05<e-r&&G0(Z,r,e))),I&2048&&c3(P,Z);break;case 24:o5(X,Z,G,$,Y),I&2048&&s3(Z.alternate,Z);break;default:o5(X,Z,G,$,Y)}if((Z.mode&H2)!==Z2){if(X=!A4&&Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null)G=Z.actualStartTime,0<=G&&0.05<Y-G&&M6(Z,G,Y,"Mount");0<=r&&0<=e&&((Q4||0.05<Z4)&&q6(Z,r,e,Z4,X4),X&&0.05<e-r&&M6(Z,r,e,"Mount"))}F5(z),_6(J),X4=B,Q4=H,x7=W}function K9(X,Z,G,$,Y,z){Y=Y&&((Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child));for(Z=Z.child;Z!==null;){var J=Z.sibling;lQ(X,Z,G,$,Y,J!==null?J.actualStartTime:z),Z=J}}function lQ(X,Z,G,$,Y,z){var J=L5(),B=R6(),H=O6(),W=L6(),I=x7;Y&&(Z.mode&H2)!==Z2&&0<Z.actualStartTime&&(Z.flags&1)!==0&&$0(Z,Z.actualStartTime,z,A4,G);var P=Z.flags;switch(Z.tag){case 0:case 11:case 15:K9(X,Z,G,$,Y,z),PQ(Z,e4);break;case 23:break;case 22:var N=Z.stateNode;Z.memoizedState!==null?N._visibility&X7?K9(X,Z,G,$,Y,z):jX(X,Z,G,$,z):(N._visibility|=X7,K9(X,Z,G,$,Y,z)),Y&&P&2048&&c3(Z.alternate,Z);break;case 24:K9(X,Z,G,$,Y,z),Y&&P&2048&&s3(Z.alternate,Z);break;default:K9(X,Z,G,$,Y,z)}(Z.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6(Z,r,e,Z4,X4),F5(J),_6(B),X4=H,Q4=W,x7=I}function jX(X,Z,G,$,Y){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(var z=Z.child;z!==null;){Z=z.sibling;var J=X,B=G,H=$,W=Z!==null?Z.actualStartTime:Y,I=x7;(z.mode&H2)!==Z2&&0<z.actualStartTime&&(z.flags&1)!==0&&$0(z,z.actualStartTime,W,A4,B);var P=z.flags;switch(z.tag){case 22:jX(J,z,B,H,W),P&2048&&c3(z.alternate,z);break;case 24:jX(J,z,B,H,W),P&2048&&s3(z.alternate,z);break;default:jX(J,z,B,H,W)}x7=I,z=Z}}function R9(X,Z,G){if(X.subtreeFlags&IZ)for(X=X.child;X!==null;)pQ(X,Z,G),X=X.sibling}function pQ(X,Z,G){switch(X.tag){case 26:R9(X,Z,G),X.flags&IZ&&X.memoizedState!==null&&RK(G,G6,X.memoizedState,X.memoizedProps);break;case 5:R9(X,Z,G);break;case 3:case 4:var $=G6;G6=i0(X.stateNode.containerInfo),R9(X,Z,G),G6=$;break;case 22:X.memoizedState===null&&($=X.alternate,$!==null&&$.memoizedState!==null?($=IZ,IZ=16777216,R9(X,Z,G),IZ=$):R9(X,Z,G));break;default:R9(X,Z,G)}}function cQ(X){var Z=X.alternate;if(Z!==null&&(X=Z.child,X!==null)){Z.child=null;do Z=X.sibling,X.sibling=null,X=Z;while(X!==null)}}function VX(X){var Z=X.deletions;if((X.flags&16)!==0){if(Z!==null)for(var G=0;G<Z.length;G++){var $=Z[G],Y=L5();g4=$,iQ($,X),($.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&M6($,r,e,"Unmount"),F5(Y)}cQ(X)}if(X.subtreeFlags&10256)for(X=X.child;X!==null;)sQ(X),X=X.sibling}function sQ(X){var Z=L5(),G=R6(),$=O6(),Y=L6();switch(X.tag){case 0:case 11:case 15:VX(X),X.flags&2048&&u3(X,X.return,e4|p5);break;case 3:var z=i6();VX(X),X.stateNode.passiveEffectDuration+=M0(z);break;case 12:z=i6(),VX(X),X.stateNode.passiveEffectDuration+=wX(z);break;case 22:z=X.stateNode,X.memoizedState!==null&&z._visibility&X7&&(X.return===null||X.return.tag!==13)?(z._visibility&=~X7,u0(X),(X.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&M6(X,r,e,"Disconnect")):VX(X);break;default:VX(X)}(X.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6(X,r,e,Z4,X4),F5(Z),_6(G),Q4=Y,X4=$}function u0(X){var Z=X.deletions;if((X.flags&16)!==0){if(Z!==null)for(var G=0;G<Z.length;G++){var $=Z[G],Y=L5();g4=$,iQ($,X),($.mode&H2)!==Z2&&0<=r&&0<=e&&0.05<e-r&&M6($,r,e,"Unmount"),F5(Y)}cQ(X)}for(X=X.child;X!==null;)aQ(X),X=X.sibling}function aQ(X){var Z=L5(),G=R6(),$=O6(),Y=L6();switch(X.tag){case 0:case 11:case 15:u3(X,X.return,e4),u0(X);break;case 22:var z=X.stateNode;z._visibility&X7&&(z._visibility&=~X7,u0(X));break;default:u0(X)}(X.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6(X,r,e,Z4,X4),F5(Z),_6(G),Q4=Y,X4=$}function iQ(X,Z){for(;g4!==null;){var G=g4,$=G,Y=Z,z=L5(),J=R6(),B=O6(),H=L6();switch($.tag){case 0:case 11:case 15:u3($,Y,e4);break;case 23:case 22:$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(Y=$.memoizedState.cachePool.pool,Y!=null&&w8(Y));break;case 24:NX($.memoizedState.cache)}if(($.mode&H2)!==Z2&&0<=r&&0<=e&&(Q4||0.05<Z4)&&q6($,r,e,Z4,X4),F5(z),_6(J),Q4=H,X4=B,$=G.child,$!==null)$.return=G,g4=$;else X:for(G=X;g4!==null;){if($=g4,z=$.sibling,J=$.return,jQ($),$===G){g4=null;break X}if(z!==null){z.return=J,g4=z;break X}g4=J}}}function vq(){nR.forEach(function(X){return X()})}function nQ(){var X=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return X||b.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),X}function w5(X){if((I2&T4)!==b4&&M2!==0)return M2&-M2;var Z=b.T;return Z!==null?(Z._updatedFibers||(Z._updatedFibers=new Set),Z._updatedFibers.add(X),X$()):S()}function oQ(){if(Q5===0)if((M2&536870912)===0||N2){var X=J1;J1<<=1,(J1&3932160)===0&&(J1=262144),Q5=X}else Q5=536870912;return X=S5.current,X!==null&&(X.flags|=32),Q5}function J4(X,Z,G){if(XX&&console.error("useInsertionEffect must not schedule updates."),VY&&(c1=!0),X===l2&&(E2===u8||E2===d8)||X.cancelPendingCommit!==null)O9(X,0),v7(X,M2,Q5,!1);if(_7(X,G),(I2&T4)!==b4&&X===l2){if(k6)switch(Z.tag){case 0:case 11:case 15:X=q2&&p(q2)||"Unknown",TW.has(X)||(TW.add(X),Z=p(Z)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",Z,X,X));break;case 1:AW||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),AW=!0)}}else b6&&BX(X,Z,G),Eq(Z),X===l2&&((I2&T4)===b4&&(n7|=G),G4===s7&&v7(X,M2,Q5,!1)),P6(X)}function rQ(X,Z,G){if((I2&(T4|k5))!==b4)throw Error("Should not already be working.");if(M2!==0&&q2!==null){var $=q2,Y=v4();switch(RH){case SZ:case u8:var z=HZ;o2&&(($=$._debugTask)?$.run(console.timeStamp.bind(console,"Suspended",z,Y,x5,void 0,"primary-light")):console.timeStamp("Suspended",z,Y,x5,void 0,"primary-light"));break;case d8:z=HZ,o2&&(($=$._debugTask)?$.run(console.timeStamp.bind(console,"Action",z,Y,x5,void 0,"primary-light")):console.timeStamp("Action",z,Y,x5,void 0,"primary-light"));break;default:o2&&($=Y-HZ,3>$||console.timeStamp("Blocked",HZ,Y,x5,void 0,5>$?"primary-light":10>$?"primary":100>$?"primary-dark":"error"))}}z=(G=!G&&(Z&127)===0&&(Z&X.expiredLanes)===0||U8(X,Z))?gq(X,Z):i3(X,Z,!0);var J=G;do{if(z===W7){t9&&!G&&v7(X,Z,0,!1),Z=E2,HZ=K4(),RH=Z;break}else{if($=v4(),Y=X.current.alternate,J&&!kq(Y)){_5(Z),Y=k4,z=$,!o2||z<=Y||(B4?B4.run(console.timeStamp.bind(console,"Teared Render",Y,z,L2,_2,"error")):console.timeStamp("Teared Render",Y,z,L2,_2,"error")),S8(Z,$),z=i3(X,Z,!1),J=!1;continue}if(z===m8){if(J=Z,X.errorRecoveryDisabledLanes&J)var B=0;else B=X.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){_5(Z),gG(k4,$,Z,B4),S8(Z,$),Z=B;X:{$=X,z=J,J=kZ;var H=$.current.memoizedState.isDehydrated;if(H&&(O9($,B).flags|=256),B=i3($,B,!1),B!==m8){if(SY&&!H){$.errorRecoveryDisabledLanes|=z,n7|=z,z=s7;break X}$=X5,X5=J,$!==null&&(X5===null?X5=$:X5.push.apply(X5,$))}z=B}if(J=!1,z!==m8)continue;else $=v4()}}if(z===CZ){_5(Z),gG(k4,$,Z,B4),S8(Z,$),O9(X,0),v7(X,Z,0,!0);break}X:{switch(G=X,z){case W7:case CZ:throw Error("Root did not complete. This is a bug in React.");case s7:if((Z&4194048)!==Z)break;case D1:_5(Z),rz(k4,$,Z,B4),S8(Z,$),Y=Z,(Y&127)!==0?A1=$:(Y&4194048)!==0&&(T1=$),v7(G,Z,Q5,!a7);break X;case m8:X5=null;break;case x1:case BW:break;default:throw Error("Unknown root exit status.")}if(b.actQueue!==null)n3(G,Y,Z,X5,gZ,m1,Q5,n7,l8,z,null,null,k4,$);else{if((Z&62914560)===Z&&(J=u1+MW-v4(),10<J)){if(v7(G,Z,Q5,!a7),Q8(G,0,!0)!==0)break X;$6=Z,G.timeoutHandle=bW(tQ.bind(null,G,Y,X5,gZ,m1,Z,Q5,n7,l8,a7,z,"Throttled",k4,$),J);break X}tQ(G,Y,X5,gZ,m1,Z,Q5,n7,l8,a7,z,null,k4,$)}}}break}while(1);P6(X)}function tQ(X,Z,G,$,Y,z,J,B,H,W,I,P,N,v){X.timeoutHandle=i8;var m=Z.subtreeFlags,c=null;if(m&8192||(m&16785408)===16785408){if(c={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:p6},pQ(Z,z,c),m=(z&62914560)===z?u1-v4():(z&4194048)===z?WW-v4():0,m=_K(c,m),m!==null){$6=z,X.cancelPendingCommit=m(n3.bind(null,X,Z,z,G,$,Y,J,B,H,I,c,c.waitingForViewTransition?"Waiting for the previous Animation":0<c.count?0<c.imgCount?"Suspended on CSS and Images":"Suspended on CSS":c.imgCount===1?"Suspended on an Image":0<c.imgCount?"Suspended on Images":null,N,v)),v7(X,z,J,!W);return}}n3(X,Z,z,G,$,Y,J,B,H,I,c,P,N,v)}function kq(X){for(var Z=X;;){var G=Z.tag;if((G===0||G===11||G===15)&&Z.flags&16384&&(G=Z.updateQueue,G!==null&&(G=G.stores,G!==null)))for(var $=0;$<G.length;$++){var Y=G[$],z=Y.getSnapshot;Y=Y.value;try{if(!o4(z(),Y))return!1}catch(J){return!1}}if(G=Z.child,Z.subtreeFlags&16384&&G!==null)G.return=Z,Z=G;else{if(Z===X)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===X)return!0;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}return!0}function v7(X,Z,G,$){Z&=~vY,Z&=~n7,X.suspendedLanes|=Z,X.pingedLanes&=~Z,$&&(X.warmLanes|=Z),$=X.expirationTimes;for(var Y=Z;0<Y;){var z=31-a4(Y),J=1<<z;$[z]=-1,Y&=~J}G!==0&&B8(X,G,Z)}function _9(){return(I2&(T4|k5))===b4?(EX(0,!1),!1):!0}function a3(){if(q2!==null){if(E2===J5)var X=q2.return;else X=q2,B0(),Y3(X),l9=null,FZ=0,X=q2;for(;X!==null;)TQ(X.alternate,X),X=X.return;q2=null}}function S8(X,Z){(X&127)!==0&&(u7=Z),(X&4194048)!==0&&(x6=Z),(X&62914560)!==0&&(qH=Z),(X&2080374784)!==0&&(KH=Z)}function O9(X,Z){o2&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",_2,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",_2,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",_2,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",_2,"primary-light"));var G=k4;if(k4=K4(),M2!==0&&0<G){if(_5(M2),G4===x1||G4===s7)rz(G,k4,Z,B4);else{var $=k4,Y=B4;if(o2&&!($<=G)){var z=(Z&738197653)===Z?"tertiary-dark":"primary-dark",J=(Z&536870912)===Z?"Prewarm":(Z&201326741)===Z?"Interrupted Hydration":"Interrupted Render";Y?Y.run(console.timeStamp.bind(console,J,G,$,L2,_2,z)):console.timeStamp(J,G,$,L2,_2,z)}}S8(M2,k4)}if(G=B4,B4=null,(Z&127)!==0){B4=QZ,Y=0<=V6&&V6<u7?u7:V6,$=0<=y8&&y8<u7?u7:y8,z=0<=$?$:0<=Y?Y:k4,0<=A1?(_5(2),tz(A1,z,Z,G)):(I1&127)!==0&&(_5(2),LX(u7,z,J7)),G=Y;var B=$,H=UZ,W=0<m9,I=d7===JZ,P=d7===w1;if(Y=k4,$=QZ,z=JY,J=QY,o2){if(L2="Blocking",0<G?G>Y&&(G=Y):G=Y,0<B?B>G&&(B=G):B=G,H!==null&&G>B){var N=W?"secondary-light":"warning";$?$.run(console.timeStamp.bind(console,W?"Consecutive":"Event: "+H,B,G,L2,_2,N)):console.timeStamp(W?"Consecutive":"Event: "+H,B,G,L2,_2,N)}Y>G&&(B=I?"error":(Z&738197653)===Z?"tertiary-light":"primary-light",I=P?"Promise Resolved":I?"Cascading Update":5<Y-G?"Update Blocked":"Update",P=[],J!=null&&P.push(["Component name",J]),z!=null&&P.push(["Method name",z]),G={start:G,end:Y,detail:{devtools:{properties:P,track:L2,trackGroup:_2,color:B}}},$?$.run(performance.measure.bind(performance,I,G)):performance.measure(I,G))}V6=-1.1,d7=0,QY=JY=null,A1=-1.1,m9=y8,y8=-1.1,u7=K4()}if((Z&4194048)!==0&&(B4=BZ,Y=0<=z7&&z7<x6?x6:z7,G=0<=d5&&d5<x6?x6:d5,$=0<=l7&&l7<x6?x6:l7,z=0<=$?$:0<=G?G:k4,0<=T1?(_5(256),tz(T1,z,Z,B4)):(I1&4194048)!==0&&(_5(256),LX(x6,z,J7)),P=$,B=f8,H=0<p7,W=UY===w1,z=k4,$=BZ,J=WH,I=MH,o2&&(L2="Transition",0<G?G>z&&(G=z):G=z,0<Y?Y>G&&(Y=G):Y=G,0<P?P>Y&&(P=Y):P=Y,Y>P&&B!==null&&(N=H?"secondary-light":"warning",$?$.run(console.timeStamp.bind(console,H?"Consecutive":"Event: "+B,P,Y,L2,_2,N)):console.timeStamp(H?"Consecutive":"Event: "+B,P,Y,L2,_2,N)),G>Y&&($?$.run(console.timeStamp.bind(console,"Action",Y,G,L2,_2,"primary-dark")):console.timeStamp("Action",Y,G,L2,_2,"primary-dark")),z>G&&(Y=W?"Promise Resolved":5<z-G?"Update Blocked":"Update",P=[],I!=null&&P.push(["Component name",I]),J!=null&&P.push(["Method name",J]),G={start:G,end:z,detail:{devtools:{properties:P,track:L2,trackGroup:_2,color:"primary-light"}}},$?$.run(performance.measure.bind(performance,Y,G)):performance.measure(Y,G))),d5=z7=-1.1,UY=0,T1=-1.1,p7=l7,l7=-1.1,x6=K4()),(Z&62914560)!==0&&(I1&62914560)!==0&&(_5(4194304),LX(qH,k4,J7)),(Z&2080374784)!==0&&(I1&2080374784)!==0&&(_5(268435456),LX(KH,k4,J7)),G=X.timeoutHandle,G!==i8&&(X.timeoutHandle=i8,U_(G)),G=X.cancelPendingCommit,G!==null&&(X.cancelPendingCommit=null,G()),$6=0,a3(),l2=X,q2=G=c6(X.current,null),M2=Z,E2=J5,g5=null,a7=!1,t9=U8(X,Z),SY=!1,G4=W7,l8=Q5=vY=n7=i7=0,X5=kZ=null,m1=!1,(Z&8)!==0&&(Z|=Z&32),$=X.entangledLanes,$!==0)for(X=X.entanglements,$&=Z;0<$;)Y=31-a4($),z=1<<Y,Z|=X[Y],$&=~z;return E6=Z,Y0(),X=zH(),1000<X-YH&&(b.recentlyCreatedOwnerStacks=0,YH=X),X6.discardPendingWarnings(),G}function eQ(X,Z){G2=null,b.H=TZ,b.getCurrentStack=null,k6=!1,I5=null,Z===d9||Z===v1?(Z=NJ(),E2=SZ):Z===MY?(Z=NJ(),E2=HW):E2=Z===AY?CY:Z!==null&&typeof Z==="object"&&typeof Z.then==="function"?vZ:E1,g5=Z;var G=q2;G===null?(G4=CZ,j0(X,O5(Z,X.current))):G.mode&H2&&cG(G)}function XU(){var X=S5.current;return X===null?!0:(M2&4194048)===M2?l5===null?!0:!1:(M2&62914560)===M2||(M2&536870912)!==0?X===l5:!1}function ZU(){var X=b.H;return b.H=TZ,X===null?TZ:X}function GU(){var X=b.A;return b.A=iR,X}function d0(X){B4===null&&(B4=X._debugTask==null?null:X._debugTask)}function l0(){G4=s7,a7||(M2&4194048)!==M2&&S5.current!==null||(t9=!0),(i7&134217727)===0&&(n7&134217727)===0||l2===null||v7(l2,M2,Q5,!1)}function i3(X,Z,G){var $=I2;I2|=T4;var Y=ZU(),z=GU();if(l2!==X||M2!==Z){if(b6){var J=X.memoizedUpdaters;0<J.size&&(DX(X,M2),J.clear()),O7(X,Z)}gZ=null,O9(X,Z)}Z=!1,J=G4;X:do try{if(E2!==J5&&q2!==null){var B=q2,H=g5;switch(E2){case CY:a3(),J=D1;break X;case SZ:case u8:case d8:case vZ:S5.current===null&&(Z=!0);var W=E2;if(E2=J5,g5=null,L9(X,B,H,W),G&&t9){J=W7;break X}break;default:W=E2,E2=J5,g5=null,L9(X,B,H,W)}}$U(),J=G4;break}catch(I){eQ(X,I)}while(1);return Z&&X.shellSuspendCounter++,B0(),I2=$,b.H=Y,b.A=z,q2===null&&(l2=null,M2=0,Y0()),J}function $U(){for(;q2!==null;)YU(q2)}function gq(X,Z){var G=I2;I2|=T4;var $=ZU(),Y=GU();if(l2!==X||M2!==Z){if(b6){var z=X.memoizedUpdaters;0<z.size&&(DX(X,M2),z.clear()),O7(X,Z)}gZ=null,d1=v4()+qW,O9(X,Z)}else t9=U8(X,Z);X:do try{if(E2!==J5&&q2!==null)Z:switch(Z=q2,z=g5,E2){case E1:E2=J5,g5=null,L9(X,Z,z,E1);break;case u8:case d8:if(LJ(z)){E2=J5,g5=null,zU(Z);break}Z=function(){E2!==u8&&E2!==d8||l2!==X||(E2=h1),P6(X)},z.then(Z,Z);break X;case SZ:E2=h1;break X;case HW:E2=PY;break X;case h1:LJ(z)?(E2=J5,g5=null,zU(Z)):(E2=J5,g5=null,L9(X,Z,z,h1));break;case PY:var J=null;switch(q2.tag){case 26:J=q2.memoizedState;case 5:case 27:var B=q2;if(J?rU(J):B.stateNode.complete){E2=J5,g5=null;var H=B.sibling;if(H!==null)q2=H;else{var W=B.return;W!==null?(q2=W,p0(W)):q2=null}break Z}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}E2=J5,g5=null,L9(X,Z,z,PY);break;case vZ:E2=J5,g5=null,L9(X,Z,z,vZ);break;case CY:a3(),G4=D1;break X;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}b.actQueue!==null?$U():bq();break}catch(I){eQ(X,I)}while(1);if(B0(),b.H=$,b.A=Y,I2=G,q2!==null)return W7;return l2=null,M2=0,Y0(),G4}function bq(){for(;q2!==null&&!kK();)YU(q2)}function YU(X){var Z=X.alternate;(X.mode&H2)!==Z2?(pG(X),Z=s(X,E3,Z,X,E6),cG(X)):Z=s(X,E3,Z,X,E6),X.memoizedProps=X.pendingProps,Z===null?p0(X):q2=Z}function zU(X){var Z=s(X,yq,X);X.memoizedProps=X.pendingProps,Z===null?p0(X):q2=Z}function yq(X){var Z=X.alternate,G=(X.mode&H2)!==Z2;switch(G&&pG(X),X.tag){case 15:case 0:Z=_Q(Z,X,X.pendingProps,X.type,void 0,M2);break;case 11:Z=_Q(Z,X,X.pendingProps,X.type.render,X.ref,M2);break;case 5:Y3(X);default:TQ(Z,X),X=q2=YJ(X,E6),Z=E3(Z,X,E6)}return G&&cG(X),Z}function L9(X,Z,G,$){B0(),Y3(Z),l9=null,FZ=0;var Y=Z.return;try{if(_q(X,Y,Z,G,M2)){G4=CZ,j0(X,O5(G,X.current)),q2=null;return}}catch(z){if(Y!==null)throw q2=Y,z;G4=CZ,j0(X,O5(G,X.current)),q2=null;return}if(Z.flags&32768){if(N2||$===E1)X=!0;else if(t9||(M2&536870912)!==0)X=!1;else if(a7=X=!0,$===u8||$===d8||$===SZ||$===vZ)$=S5.current,$!==null&&$.tag===13&&($.flags|=16384);JU(Z,X)}else p0(Z)}function p0(X){var Z=X;do{if((Z.flags&32768)!==0){JU(Z,a7);return}var G=Z.alternate;if(X=Z.return,pG(Z),G=s(Z,Fq,G,Z,E6),(Z.mode&H2)!==Z2&&qJ(Z),G!==null){q2=G;return}if(Z=Z.sibling,Z!==null){q2=Z;return}q2=Z=X}while(Z!==null);G4===W7&&(G4=BW)}function JU(X,Z){do{var G=Nq(X.alternate,X);if(G!==null){G.flags&=32767,q2=G;return}if((X.mode&H2)!==Z2){qJ(X),G=X.actualDuration;for(var $=X.child;$!==null;)G+=$.actualDuration,$=$.sibling;X.actualDuration=G}if(G=X.return,G!==null&&(G.flags|=32768,G.subtreeFlags=0,G.deletions=null),!Z&&(X=X.sibling,X!==null)){q2=X;return}q2=X=G}while(X!==null);G4=D1,q2=null}function n3(X,Z,G,$,Y,z,J,B,H,W,I,P,N,v){X.cancelPendingCommit=null;do xX();while(F4!==r7);if(X6.flushLegacyContextWarning(),X6.flushPendingUnsafeLifecycleWarnings(),(I2&(T4|k5))!==b4)throw Error("Should not already be working.");if(_5(G),W===m8?gG(N,v,G,B4):$!==null?$q(N,v,G,$,Z!==null&&Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)!==0,B4):Gq(N,v,G,B4),Z!==null){if(G===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),Z===X.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(z=Z.lanes|Z.childLanes,z|=ZY,aZ(X,G,z,J,B,H),X===l2&&(q2=l2=null,M2=0),e9=Z,t7=X,$6=G,bY=z,fY=Y,FW=$,yY=v,NW=P,Y6=l1,wW=null,Z.actualDuration!==0||(Z.subtreeFlags&10256)!==0||(Z.flags&10256)!==0?(X.callbackNode=null,X.callbackPriority=0,Dq(I9,function(){return xZ=window.event,Y6===l1&&(Y6=gY),WU(),null})):(X.callbackNode=null,X.callbackPriority=0),Y7=null,m7=K4(),P!==null&&Yq(v,m7,P,B4),$=(Z.flags&13878)!==0,(Z.subtreeFlags&13878)!==0||$){$=b.T,b.T=null,Y=b2.p,b2.p=P5,J=I2,I2|=k5;try{Cq(X,Z,G)}finally{I2=J,b2.p=Y,b.T=$}}F4=RW,QU(),UU(),BU()}}function QU(){if(F4===RW){F4=r7;var X=t7,Z=e9,G=$6,$=(Z.flags&13878)!==0;if((Z.subtreeFlags&13878)!==0||$){$=b.T,b.T=null;var Y=b2.p;b2.p=P5;var z=I2;I2|=k5;try{o9=G,r9=X,q0(),EQ(Z,X),r9=o9=null,G=pY;var J=iz(X.containerInfo),B=G.focusedElem,H=G.selectionRange;if(J!==B&&B&&B.ownerDocument&&az(B.ownerDocument.documentElement,B)){if(H!==null&&SG(B)){var{start:W,end:I}=H;if(I===void 0&&(I=W),"selectionStart"in B)B.selectionStart=W,B.selectionEnd=Math.min(I,B.value.length);else{var P=B.ownerDocument||document,N=P&&P.defaultView||window;if(N.getSelection){var v=N.getSelection(),m=B.textContent.length,c=Math.min(H.start,m),s2=H.end===void 0?c:Math.min(H.end,m);!v.extend&&c>s2&&(J=s2,s2=c,c=J);var T2=sz(B,c),L=sz(B,s2);if(T2&&L&&(v.rangeCount!==1||v.anchorNode!==T2.node||v.anchorOffset!==T2.offset||v.focusNode!==L.node||v.focusOffset!==L.offset)){var w=P.createRange();w.setStart(T2.node,T2.offset),v.removeAllRanges(),c>s2?(v.addRange(w),v.extend(L.node,L.offset)):(w.setEnd(L.node,L.offset),v.addRange(w))}}}}P=[];for(v=B;v=v.parentNode;)v.nodeType===1&&P.push({element:v,left:v.scrollLeft,top:v.scrollTop});typeof B.focus==="function"&&B.focus();for(B=0;B<P.length;B++){var T=P[B];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}zG=!!lY,pY=lY=null}finally{I2=z,b2.p=Y,b.T=$}}X.current=Z,F4=_W}}function UU(){if(F4===_W){F4=r7;var X=wW;if(X!==null){m7=K4();var Z=$7,G=m7;!o2||G<=Z||(J7?J7.run(console.timeStamp.bind(console,X,Z,G,L2,_2,"secondary-light")):console.timeStamp(X,Z,G,L2,_2,"secondary-light"))}X=t7,Z=e9,G=$6;var $=(Z.flags&8772)!==0;if((Z.subtreeFlags&8772)!==0||$){$=b.T,b.T=null;var Y=b2.p;b2.p=P5;var z=I2;I2|=k5;try{o9=G,r9=X,q0(),fQ(X,Z.alternate,Z),r9=o9=null}finally{I2=z,b2.p=Y,b.T=$}}X=yY,Z=NW,$7=K4(),X=Z===null?X:m7,Z=$7,G=Y6===kY,$=B4,Y7!==null?ez(X,Z,Y7,!1,$):!o2||Z<=X||($?$.run(console.timeStamp.bind(console,G?"Commit Interrupted View Transition":"Commit",X,Z,L2,_2,G?"error":"secondary-dark")):console.timeStamp(G?"Commit Interrupted View Transition":"Commit",X,Z,L2,_2,G?"error":"secondary-dark")),F4=OW}}function BU(){if(F4===LW||F4===OW){if(F4===LW){var X=$7;$7=K4();var Z=$7,G=Y6===kY;!o2||Z<=X||(J7?J7.run(console.timeStamp.bind(console,G?"Interrupted View Transition":"Starting Animation",X,Z,L2,_2,G?"error":"secondary-light")):console.timeStamp(G?"Interrupted View Transition":"Starting Animation",X,Z,L2,_2,G?" error":"secondary-light")),Y6!==kY&&(Y6=KW)}F4=r7,gK(),X=t7;var $=e9;Z=$6,G=FW;var Y=$.actualDuration!==0||($.subtreeFlags&10256)!==0||($.flags&10256)!==0;Y?F4=p1:(F4=r7,e9=t7=null,HU(X,X.pendingLanes),p8=0,yZ=null);var z=X.pendingLanes;if(z===0&&(o7=null),Y||RU(X),z=M(Z),$=$.stateNode,d4&&typeof d4.onCommitFiberRoot==="function")try{var J=($.current.flags&128)===128;switch(z){case P5:var B=f$;break;case t5:B=j$;break;case y6:B=I9;break;case U1:B=V$;break;default:B=I9}d4.onCommitFiberRoot(P9,$,B,J)}catch(P){g6||(g6=!0,console.error("React instrumentation encountered an error: %o",P))}if(b6&&X.memoizedUpdaters.clear(),vq(),G!==null){J=b.T,B=b2.p,b2.p=P5,b.T=null;try{var H=X.onRecoverableError;for($=0;$<G.length;$++){var W=G[$],I=fq(W.stack);s(W.source,H,W.value,I)}}finally{b.T=J,b2.p=B}}($6&3)!==0&&xX(),P6(X),z=X.pendingLanes,(Z&261930)!==0&&(z&42)!==0?(C1=!0,X===jY?bZ++:(bZ=0,jY=X)):bZ=0,Y||S8(Z,$7),EX(0,!1)}}function fq(X){return X={componentStack:X},Object.defineProperty(X,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),X}function HU(X,Z){(X.pooledCacheLanes&=Z)===0&&(Z=X.pooledCache,Z!=null&&(X.pooledCache=null,NX(Z)))}function xX(){return QU(),UU(),BU(),WU()}function WU(){if(F4!==p1)return!1;var X=t7,Z=bY;bY=0;var G=M($6),$=y6===0||y6>G?y6:G;G=b.T;var Y=b2.p;try{b2.p=$,b.T=null;var z=fY;fY=null,$=t7;var J=$6;if(F4=r7,e9=t7=null,$6=0,(I2&(T4|k5))!==b4)throw Error("Cannot flush passive effects while already rendering.");_5(J),VY=!0,c1=!1;var B=0;if(Y7=null,B=v4(),Y6===KW)LX($7,B,J7);else{var H=$7,W=B,I=Y6===gY;!o2||W<=H||(B4?B4.run(console.timeStamp.bind(console,I?"Waiting for Paint":"Waiting",H,W,L2,_2,"secondary-light")):console.timeStamp(I?"Waiting for Paint":"Waiting",H,W,L2,_2,"secondary-light"))}H=I2,I2|=k5;var P=$.current;q0(),sQ(P);var N=$.current;P=yY,q0(),dQ($,N,J,z,P),RU($),I2=H;var v=v4();if(N=B,P=B4,Y7!==null?ez(N,v,Y7,!0,P):!o2||v<=N||(P?P.run(console.timeStamp.bind(console,"Remaining Effects",N,v,L2,_2,"secondary-dark")):console.timeStamp("Remaining Effects",N,v,L2,_2,"secondary-dark")),S8(J,v),EX(0,!1),c1?$===yZ?p8++:(p8=0,yZ=$):p8=0,c1=VY=!1,d4&&typeof d4.onPostCommitFiberRoot==="function")try{d4.onPostCommitFiberRoot(P9,$)}catch(c){g6||(g6=!0,console.error("React instrumentation encountered an error: %o",c))}var m=$.current.stateNode;return m.effectDuration=0,m.passiveEffectDuration=0,!0}finally{b2.p=Y,b.T=G,HU(X,Z)}}function MU(X,Z,G){Z=O5(G,Z),KJ(Z),Z=S3(X.stateNode,Z,2),X=I7(X,Z,2),X!==null&&(_7(X,2),P6(X))}function g2(X,Z,G){if(XX=!1,X.tag===3)MU(X,X,G);else{for(;Z!==null;){if(Z.tag===3){MU(Z,X,G);return}if(Z.tag===1){var $=Z.stateNode;if(typeof Z.type.getDerivedStateFromError==="function"||typeof $.componentDidCatch==="function"&&(o7===null||!o7.has($))){X=O5(G,X),KJ(X),G=v3(2),$=I7(Z,G,2),$!==null&&(k3(G,$,Z,X),_7($,2),P6($));return}}Z=Z.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
154
|
-
|
|
155
|
-
Error message:
|
|
156
|
-
|
|
157
|
-
%s`,G)}}function o3(X,Z,G){var $=X.pingCache;if($===null){$=X.pingCache=new oR;var Y=new Set;$.set(Z,Y)}else Y=$.get(Z),Y===void 0&&(Y=new Set,$.set(Z,Y));Y.has(G)||(SY=!0,Y.add(G),$=jq.bind(null,X,Z,G),b6&&DX(X,G),Z.then($,$))}function jq(X,Z,G){var $=X.pingCache;$!==null&&$.delete(Z),X.pingedLanes|=X.suspendedLanes&G,X.warmLanes&=~G,(G&127)!==0?0>V6&&(u7=V6=K4(),QZ=N1("Promise Resolved"),d7=w1):(G&4194048)!==0&&0>d5&&(x6=d5=K4(),BZ=N1("Promise Resolved"),UY=w1),nQ()&&b.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
158
|
-
|
|
159
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
160
|
-
|
|
161
|
-
act(() => {
|
|
162
|
-
/* finish loading suspended data */
|
|
163
|
-
});
|
|
164
|
-
/* assert on the output */
|
|
165
|
-
|
|
166
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),l2===X&&(M2&G)===G&&(G4===s7||G4===x1&&(M2&62914560)===M2&&v4()-u1<MW?(I2&T4)===b4&&O9(X,0):vY|=G,l8===M2&&(l8=0)),P6(X)}function qU(X,Z){Z===0&&(Z=G9()),X=u4(X,Z),X!==null&&(_7(X,Z),P6(X))}function Vq(X){var Z=X.memoizedState,G=0;Z!==null&&(G=Z.retryLane),qU(X,G)}function xq(X,Z){var G=0;switch(X.tag){case 31:case 13:var{stateNode:$,memoizedState:Y}=X;Y!==null&&(G=Y.retryLane);break;case 19:$=X.stateNode;break;case 22:$=X.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}$!==null&&$.delete(Z),qU(X,G)}function r3(X,Z,G){if((Z.subtreeFlags&67117056)!==0)for(Z=Z.child;Z!==null;){var $=X,Y=Z,z=Y.type===G1;z=G||z,Y.tag!==22?Y.flags&67108864?z&&s(Y,KU,$,Y):r3($,Y,z):Y.memoizedState===null&&(z&&Y.flags&8192?s(Y,KU,$,Y):Y.subtreeFlags&67108864&&s(Y,r3,$,Y,z)),Z=Z.sibling}}function KU(X,Z){p2(!0);try{mQ(Z),aQ(Z),uQ(X,Z.alternate,Z,!1),lQ(X,Z,0,null,!1,0)}finally{p2(!1)}}function RU(X){var Z=!0;X.current.mode&(l4|e5)||(Z=!1),r3(X,X.current,Z)}function _U(X){if((I2&T4)===b4){var Z=X.tag;if(Z===3||Z===1||Z===0||Z===11||Z===14||Z===15){if(Z=p(X)||"ReactComponent",s1!==null){if(s1.has(Z))return;s1.add(Z)}else s1=new Set([Z]);s(X,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function DX(X,Z){b6&&X.memoizedUpdaters.forEach(function(G){BX(X,G,Z)})}function Dq(X,Z){var G=b.actQueue;return G!==null?(G.push(Z),eR):y$(X,Z)}function Eq(X){nQ()&&b.actQueue===null&&s(X,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
167
|
-
|
|
168
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
169
|
-
|
|
170
|
-
act(() => {
|
|
171
|
-
/* fire events that update state */
|
|
172
|
-
});
|
|
173
|
-
/* assert on the output */
|
|
174
|
-
|
|
175
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,p(X))})}function P6(X){X!==ZX&&X.next===null&&(ZX===null?a1=ZX=X:ZX=ZX.next=X),i1=!0,b.actQueue!==null?DY||(DY=!0,NU()):xY||(xY=!0,NU())}function EX(X,Z){if(!EY&&i1){EY=!0;do{var G=!1;for(var $=a1;$!==null;){if(!Z)if(X!==0){var Y=$.pendingLanes;if(Y===0)var z=0;else{var{suspendedLanes:J,pingedLanes:B}=$;z=(1<<31-a4(42|X)+1)-1,z&=Y&~(J&~B),z=z&201326741?z&201326741|1:z?z|2:0}z!==0&&(G=!0,FU($,z))}else z=M2,z=Q8($,$===l2?z:0,$.cancelPendingCommit!==null||$.timeoutHandle!==i8),(z&3)===0||U8($,z)||(G=!0,FU($,z));$=$.next}}while(G);EY=!1}}function hq(){xZ=window.event,t3()}function t3(){i1=DY=xY=!1;var X=0;e7!==0&&sq()&&(X=e7);for(var Z=v4(),G=null,$=a1;$!==null;){var Y=$.next,z=OU($,Z);if(z===0)$.next=null,G===null?a1=Y:G.next=Y,Y===null&&(ZX=G);else if(G=$,X!==0||(z&3)!==0)i1=!0;$=Y}F4!==r7&&F4!==p1||EX(X,!1),e7!==0&&(e7=0)}function OU(X,Z){for(var{suspendedLanes:G,pingedLanes:$,expirationTimes:Y}=X,z=X.pendingLanes&-62914561;0<z;){var J=31-a4(z),B=1<<J,H=Y[J];if(H===-1){if((B&G)===0||(B&$)!==0)Y[J]=_G(B,Z)}else H<=Z&&(X.expiredLanes|=B);z&=~B}if(Z=l2,G=M2,G=Q8(X,X===Z?G:0,X.cancelPendingCommit!==null||X.timeoutHandle!==i8),$=X.callbackNode,G===0||X===Z&&(E2===u8||E2===d8)||X.cancelPendingCommit!==null)return $!==null&&e3($),X.callbackNode=null,X.callbackPriority=0;if((G&3)===0||U8(X,G)){if(Z=G&-G,Z!==X.callbackPriority||b.actQueue!==null&&$!==hY)e3($);else return Z;switch(M(G)){case P5:case t5:G=j$;break;case y6:G=I9;break;case U1:G=V$;break;default:G=I9}return $=LU.bind(null,X),b.actQueue!==null?(b.actQueue.push($),G=hY):G=y$(G,$),X.callbackPriority=Z,X.callbackNode=G,Z}return $!==null&&e3($),X.callbackPriority=2,X.callbackNode=null,2}function LU(X,Z){if(C1=P1=!1,xZ=window.event,F4!==r7&&F4!==p1)return X.callbackNode=null,X.callbackPriority=0,null;var G=X.callbackNode;if(Y6===l1&&(Y6=gY),xX()&&X.callbackNode!==G)return null;var $=M2;if($=Q8(X,X===l2?$:0,X.cancelPendingCommit!==null||X.timeoutHandle!==i8),$===0)return null;return rQ(X,$,Z),OU(X,v4()),X.callbackNode!=null&&X.callbackNode===G?LU.bind(null,X):null}function FU(X,Z){if(xX())return null;P1=C1,C1=!1,rQ(X,Z,!0)}function e3(X){X!==hY&&X!==null&&vK(X)}function NU(){b.actQueue!==null&&b.actQueue.push(function(){return t3(),null}),B_(function(){(I2&(T4|k5))!==b4?y$(f$,hq):t3()})}function X$(){if(e7===0){var X=j8;X===0&&(X=z1,z1<<=1,(z1&261888)===0&&(z1=256)),e7=X}return e7}function wU(X){if(X==null||typeof X==="symbol"||typeof X==="boolean")return null;if(typeof X==="function")return X;return m2(X,"action"),RX(""+X)}function AU(X,Z){var G=Z.ownerDocument.createElement("input");return G.name=Z.name,G.value=Z.value,X.id&&G.setAttribute("form",X.id),Z.parentNode.insertBefore(G,Z),X=new FormData(X),G.parentNode.removeChild(G),X}function mq(X,Z,G,$,Y){if(Z==="submit"&&G&&G.stateNode===Y){var z=wU((Y[i4]||null).action),J=$.submitter;J&&(Z=(Z=J[i4]||null)?wU(Z.formAction):J.getAttribute("formAction"),Z!==null&&(z=Z,J=null));var B=new q1("action","action",null,$,Y);X.push({event:B,listeners:[{instance:null,listener:function(){if($.defaultPrevented){if(e7!==0){var H=J?AU(Y,J):new FormData(Y),W={pending:!0,data:H,method:Y.method,action:z};Object.freeze(W),N3(G,W,null,H)}}else typeof z==="function"&&(B.preventDefault(),H=J?AU(Y,J):new FormData(Y),W={pending:!0,data:H,method:Y.method,action:z},Object.freeze(W),N3(G,W,z,H))},currentTarget:Y}]})}}function c0(X,Z,G){X.currentTarget=G;try{Z(X)}catch($){r$($)}X.currentTarget=null}function TU(X,Z){Z=(Z&4)!==0;for(var G=0;G<X.length;G++){var $=X[G];X:{var Y=void 0,z=$.event;if($=$.listeners,Z)for(var J=$.length-1;0<=J;J--){var B=$[J],H=B.instance,W=B.currentTarget;if(B=B.listener,H!==Y&&z.isPropagationStopped())break X;H!==null?s(H,c0,z,B,W):c0(z,B,W),Y=H}else for(J=0;J<$.length;J++){if(B=$[J],H=B.instance,W=B.currentTarget,B=B.listener,H!==Y&&z.isPropagationStopped())break X;H!==null?s(H,c0,z,B,W):c0(z,B,W),Y=H}}}}function A2(X,Z){mY.has(X)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',X);var G=Z[x$];G===void 0&&(G=Z[x$]=new Set);var $=X+"__bubble";G.has($)||(IU(Z,X,2,!1),G.add($))}function Z$(X,Z,G){mY.has(X)&&!Z&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',X);var $=0;Z&&($|=4),IU(G,X,$,Z)}function G$(X){if(!X[n1]){X[n1]=!0,NB.forEach(function(G){G!=="selectionchange"&&(mY.has(G)||Z$(G,!1,X),Z$(G,!0,X))});var Z=X.nodeType===9?X:X.ownerDocument;Z===null||Z[n1]||(Z[n1]=!0,Z$("selectionchange",!1,Z))}}function IU(X,Z,G,$){switch($B(Z)){case P5:var Y=NK;break;case t5:Y=wK;break;default:Y=L$}G=Y.bind(null,Z,G,X),Y=void 0,!u$||Z!=="touchstart"&&Z!=="touchmove"&&Z!=="wheel"||(Y=!0),$?Y!==void 0?X.addEventListener(Z,G,{capture:!0,passive:Y}):X.addEventListener(Z,G,!0):Y!==void 0?X.addEventListener(Z,G,{passive:Y}):X.addEventListener(Z,G,!1)}function $$(X,Z,G,$,Y){var z=$;if((Z&1)===0&&(Z&2)===0&&$!==null)X:for(;;){if($===null)return;var J=$.tag;if(J===3||J===4){var B=$.stateNode.containerInfo;if(B===Y)break;if(J===4)for(J=$.return;J!==null;){var H=J.tag;if((H===3||H===4)&&J.stateNode.containerInfo===Y)return;J=J.return}for(;B!==null;){if(J=a(B),J===null)return;if(H=J.tag,H===5||H===6||H===26||H===27){$=z=J;continue X}B=B.parentNode}}$=$.return}Vz(function(){var W=z,I=PG(G),P=[];X:{var N=$H.get(X);if(N!==void 0){var v=q1,m=X;switch(X){case"keypress":if(eZ(G)===0)break X;case"keydown":case"keyup":v=RR;break;case"focusin":m="focus",v=c$;break;case"focusout":m="blur",v=c$;break;case"beforeblur":case"afterblur":v=c$;break;case"click":if(G.button===2)break X;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=lB;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=$R;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=LR;break;case eB:case XH:case ZH:v=JR;break;case GH:v=NR;break;case"scroll":case"scrollend":v=ZR;break;case"wheel":v=AR;break;case"copy":case"cut":case"paste":v=UR;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=cB;break;case"toggle":case"beforetoggle":v=IR}var c=(Z&4)!==0,s2=!c&&(X==="scroll"||X==="scrollend"),T2=c?N!==null?N+"Capture":null:N;c=[];for(var L=W,w;L!==null;){var T=L;if(w=T.stateNode,T=T.tag,T!==5&&T!==26&&T!==27||w===null||T2===null||(T=_X(L,T2),T!=null&&c.push(hX(L,T,w))),s2)break;L=L.return}0<c.length&&(N=new v(N,m,null,G,I),P.push({event:N,listeners:c}))}}if((Z&7)===0){X:{if(N=X==="mouseover"||X==="pointerover",v=X==="mouseout"||X==="pointerout",N&&G!==oX&&(m=G.relatedTarget||G.fromElement)&&(a(m)||m[j7]))break X;if(v||N){if(N=I.window===I?I:(N=I.ownerDocument)?N.defaultView||N.parentWindow:window,v){if(m=G.relatedTarget||G.toElement,v=W,m=m?a(m):null,m!==null&&(s2=W5(m),c=m.tag,m!==s2||c!==5&&c!==27&&c!==6))m=null}else v=null,m=W;if(v!==m){if(c=lB,T="onMouseLeave",T2="onMouseEnter",L="mouse",X==="pointerout"||X==="pointerover")c=cB,T="onPointerLeave",T2="onPointerEnter",L="pointer";if(s2=v==null?N:Q2(v),w=m==null?N:Q2(m),N=new c(T,L+"leave",v,G,I),N.target=s2,N.relatedTarget=w,T=null,a(I)===W&&(c=new c(T2,L+"enter",m,G,I),c.target=w,c.relatedTarget=s2,T=c),s2=T,v&&m)Z:{c=uq,T2=v,L=m,w=0;for(T=T2;T;T=c(T))w++;T=0;for(var y=L;y;y=c(y))T++;for(;0<w-T;)T2=c(T2),w--;for(;0<T-w;)L=c(L),T--;for(;w--;){if(T2===L||L!==null&&T2===L.alternate){c=T2;break Z}T2=c(T2),L=c(L)}c=null}else c=null;v!==null&&PU(P,N,v,c,!1),m!==null&&s2!==null&&PU(P,s2,m,c,!0)}}}X:{if(N=W?Q2(W):window,v=N.nodeName&&N.nodeName.toLowerCase(),v==="select"||v==="input"&&N.type==="file")var d=dz;else if(mz(N))if(rB)d=eM;else{d=rM;var $2=oM}else v=N.nodeName,!v||v.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?W&&KX(W.elementType)&&(d=dz):d=tM;if(d&&(d=d(X,W))){uz(P,d,G,I);break X}$2&&$2(X,N,W),X==="focusout"&&W&&N.type==="number"&&W.memoizedProps.value!=null&&FG(N,"number",N.value)}switch($2=W?Q2(W):window,X){case"focusin":if(mz($2)||$2.contentEditable==="true")y9=$2,a$=W,$Z=null;break;case"focusout":$Z=a$=y9=null;break;case"mousedown":i$=!0;break;case"contextmenu":case"mouseup":case"dragend":i$=!1,nz(P,G,I);break;case"selectionchange":if(vR)break;case"keydown":case"keyup":nz(P,G,I)}var n;if(s$)X:{switch(X){case"compositionstart":var i="onCompositionStart";break X;case"compositionend":i="onCompositionEnd";break X;case"compositionupdate":i="onCompositionUpdate";break X}i=void 0}else b9?Ez(X,G)&&(i="onCompositionEnd"):X==="keydown"&&G.keyCode===sB&&(i="onCompositionStart");if(i&&(aB&&G.locale!=="ko"&&(b9||i!=="onCompositionStart"?i==="onCompositionEnd"&&b9&&(n=xz()):(V7=I,d$=("value"in V7)?V7.value:V7.textContent,b9=!0)),$2=s0(W,i),0<$2.length&&(i=new pB(i,X,null,G,I),P.push({event:i,listeners:$2}),n?i.data=n:(n=hz(G),n!==null&&(i.data=n)))),n=CR?sM(X,G):aM(X,G))i=s0(W,"onBeforeInput"),0<i.length&&($2=new HR("onBeforeInput","beforeinput",null,G,I),P.push({event:$2,listeners:i}),$2.data=n);mq(P,X,W,G,I)}TU(P,Z)})}function hX(X,Z,G){return{instance:X,listener:Z,currentTarget:G}}function s0(X,Z){for(var G=Z+"Capture",$=[];X!==null;){var Y=X,z=Y.stateNode;if(Y=Y.tag,Y!==5&&Y!==26&&Y!==27||z===null||(Y=_X(X,G),Y!=null&&$.unshift(hX(X,Y,z)),Y=_X(X,Z),Y!=null&&$.push(hX(X,Y,z))),X.tag===3)return $;X=X.return}return[]}function uq(X){if(X===null)return null;do X=X.return;while(X&&X.tag!==5&&X.tag!==27);return X?X:null}function PU(X,Z,G,$,Y){for(var z=Z._reactName,J=[];G!==null&&G!==$;){var B=G,H=B.alternate,W=B.stateNode;if(B=B.tag,H!==null&&H===$)break;B!==5&&B!==26&&B!==27||W===null||(H=W,Y?(W=_X(G,z),W!=null&&J.unshift(hX(G,W,H))):Y||(W=_X(G,z),W!=null&&J.push(hX(G,W,H)))),G=G.return}J.length!==0&&X.push({event:Z,listeners:J})}function Y$(X,Z){dM(X,Z),X!=="input"&&X!=="textarea"&&X!=="select"||Z==null||Z.value!==null||uB||(uB=!0,X==="select"&&Z.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",X):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",X));var G={registrationNameDependencies:v8,possibleRegistrationNames:D$};KX(X)||typeof Z.is==="string"||pM(X,Z,G),Z.contentEditable&&!Z.suppressContentEditableWarning&&Z.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function S4(X,Z,G,$){Z!==G&&(G=k7(G),k7(Z)!==G&&($[X]=Z))}function dq(X,Z,G){Z.forEach(function($){G[vU($)]=$==="style"?J$(X):X.getAttribute($)})}function C6(X,Z){Z===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",X,X,X):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",X,typeof Z)}function CU(X,Z){return X=X.namespaceURI===H1||X.namespaceURI===S9?X.ownerDocument.createElementNS(X.namespaceURI,X.tagName):X.ownerDocument.createElement(X.tagName),X.innerHTML=Z,X.innerHTML}function k7(X){return R7(X)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",J8(X)),C4(X)),(typeof X==="string"?X:""+X).replace(X_,`
|
|
176
|
-
`).replace(Z_,"")}function SU(X,Z){return Z=k7(Z),k7(X)===Z?!0:!1}function u2(X,Z,G,$,Y,z){switch(G){case"children":if(typeof $==="string")tZ($,Z,!1),Z==="body"||Z==="textarea"&&$===""||qX(X,$);else if(typeof $==="number"||typeof $==="bigint")tZ(""+$,Z,!1),Z!=="body"&&qX(X,""+$);break;case"className":nZ(X,"class",$);break;case"tabIndex":nZ(X,"tabindex",$);break;case"dir":case"role":case"viewBox":case"width":case"height":nZ(X,G,$);break;case"style":yz(X,$,z);break;case"data":if(Z!=="object"){nZ(X,"data",$);break}case"src":case"href":if($===""&&(Z!=="a"||G!=="href")){G==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',G,G):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',G,G),X.removeAttribute(G);break}if($==null||typeof $==="function"||typeof $==="symbol"||typeof $==="boolean"){X.removeAttribute(G);break}m2($,G),$=RX(""+$),X.setAttribute(G,$);break;case"action":case"formAction":if($!=null&&(Z==="form"?G==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof $==="function"&&(Y.encType==null&&Y.method==null||t1||(t1=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),Y.target==null||r1||(r1=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):Z==="input"||Z==="button"?G==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):Z!=="input"||Y.type==="submit"||Y.type==="image"||o1?Z!=="button"||Y.type==null||Y.type==="submit"||o1?typeof $==="function"&&(Y.name==null||CW||(CW=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),Y.formEncType==null&&Y.formMethod==null||t1||(t1=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),Y.formTarget==null||r1||(r1=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(o1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(o1=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):G==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof $==="function"){X.setAttribute(G,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof z==="function"&&(G==="formAction"?(Z!=="input"&&u2(X,Z,"name",Y.name,Y,null),u2(X,Z,"formEncType",Y.formEncType,Y,null),u2(X,Z,"formMethod",Y.formMethod,Y,null),u2(X,Z,"formTarget",Y.formTarget,Y,null)):(u2(X,Z,"encType",Y.encType,Y,null),u2(X,Z,"method",Y.method,Y,null),u2(X,Z,"target",Y.target,Y,null)));if($==null||typeof $==="symbol"||typeof $==="boolean"){X.removeAttribute(G);break}m2($,G),$=RX(""+$),X.setAttribute(G,$);break;case"onClick":$!=null&&(typeof $!=="function"&&C6(G,$),X.onclick=p6);break;case"onScroll":$!=null&&(typeof $!=="function"&&C6(G,$),A2("scroll",X));break;case"onScrollEnd":$!=null&&(typeof $!=="function"&&C6(G,$),A2("scrollend",X));break;case"dangerouslySetInnerHTML":if($!=null){if(typeof $!=="object"||!("__html"in $))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(G=$.__html,G!=null){if(Y.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");X.innerHTML=G}}break;case"multiple":X.multiple=$&&typeof $!=="function"&&typeof $!=="symbol";break;case"muted":X.muted=$&&typeof $!=="function"&&typeof $!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if($==null||typeof $==="function"||typeof $==="boolean"||typeof $==="symbol"){X.removeAttribute("xlink:href");break}m2($,G),G=RX(""+$),X.setAttributeNS(c8,"xlink:href",G);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":$!=null&&typeof $!=="function"&&typeof $!=="symbol"?(m2($,G),X.setAttribute(G,""+$)):X.removeAttribute(G);break;case"inert":$!==""||e1[G]||(e1[G]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",G));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":$&&typeof $!=="function"&&typeof $!=="symbol"?X.setAttribute(G,""):X.removeAttribute(G);break;case"capture":case"download":$===!0?X.setAttribute(G,""):$!==!1&&$!=null&&typeof $!=="function"&&typeof $!=="symbol"?(m2($,G),X.setAttribute(G,$)):X.removeAttribute(G);break;case"cols":case"rows":case"size":case"span":$!=null&&typeof $!=="function"&&typeof $!=="symbol"&&!isNaN($)&&1<=$?(m2($,G),X.setAttribute(G,$)):X.removeAttribute(G);break;case"rowSpan":case"start":$==null||typeof $==="function"||typeof $==="symbol"||isNaN($)?X.removeAttribute(G):(m2($,G),X.setAttribute(G,$));break;case"popover":A2("beforetoggle",X),A2("toggle",X),iZ(X,"popover",$);break;case"xlinkActuate":l6(X,c8,"xlink:actuate",$);break;case"xlinkArcrole":l6(X,c8,"xlink:arcrole",$);break;case"xlinkRole":l6(X,c8,"xlink:role",$);break;case"xlinkShow":l6(X,c8,"xlink:show",$);break;case"xlinkTitle":l6(X,c8,"xlink:title",$);break;case"xlinkType":l6(X,c8,"xlink:type",$);break;case"xmlBase":l6(X,uY,"xml:base",$);break;case"xmlLang":l6(X,uY,"xml:lang",$);break;case"xmlSpace":l6(X,uY,"xml:space",$);break;case"is":z!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),iZ(X,"is",$);break;case"innerText":case"textContent":break;case"popoverTarget":SW||$==null||typeof $!=="object"||(SW=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",$));default:!(2<G.length)||G[0]!=="o"&&G[0]!=="O"||G[1]!=="n"&&G[1]!=="N"?(G=fz(G),iZ(X,G,$)):v8.hasOwnProperty(G)&&$!=null&&typeof $!=="function"&&C6(G,$)}}function z$(X,Z,G,$,Y,z){switch(G){case"style":yz(X,$,z);break;case"dangerouslySetInnerHTML":if($!=null){if(typeof $!=="object"||!("__html"in $))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(G=$.__html,G!=null){if(Y.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");X.innerHTML=G}}break;case"children":typeof $==="string"?qX(X,$):(typeof $==="number"||typeof $==="bigint")&&qX(X,""+$);break;case"onScroll":$!=null&&(typeof $!=="function"&&C6(G,$),A2("scroll",X));break;case"onScrollEnd":$!=null&&(typeof $!=="function"&&C6(G,$),A2("scrollend",X));break;case"onClick":$!=null&&(typeof $!=="function"&&C6(G,$),X.onclick=p6);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(v8.hasOwnProperty(G))$!=null&&typeof $!=="function"&&C6(G,$);else X:{if(G[0]==="o"&&G[1]==="n"&&(Y=G.endsWith("Capture"),Z=G.slice(2,Y?G.length-7:void 0),z=X[i4]||null,z=z!=null?z[G]:null,typeof z==="function"&&X.removeEventListener(Z,z,Y),typeof $==="function")){typeof z!=="function"&&z!==null&&(G in X?X[G]=null:X.hasAttribute(G)&&X.removeAttribute(G)),X.addEventListener(Z,$,Y);break X}G in X?X[G]=$:$===!0?X.setAttribute(G,""):iZ(X,G,$)}}}function D4(X,Z,G){switch(Y$(Z,G),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":A2("error",X),A2("load",X);var $=!1,Y=!1,z;for(z in G)if(G.hasOwnProperty(z)){var J=G[z];if(J!=null)switch(z){case"src":$=!0;break;case"srcSet":Y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:u2(X,Z,z,J,G,null)}}Y&&u2(X,Z,"srcSet",G.srcSet,G,null),$&&u2(X,Z,"src",G.src,G,null);return;case"input":L7("input",G),A2("invalid",X);var B=z=J=Y=null,H=null,W=null;for($ in G)if(G.hasOwnProperty($)){var I=G[$];if(I!=null)switch($){case"name":Y=I;break;case"type":J=I;break;case"checked":H=I;break;case"defaultChecked":W=I;break;case"value":z=I;break;case"defaultValue":B=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:u2(X,Z,$,I,G,null)}}_z(X,G),Oz(X,z,B,H,W,J,Y,!1);return;case"select":L7("select",G),A2("invalid",X),$=J=z=null;for(Y in G)if(G.hasOwnProperty(Y)&&(B=G[Y],B!=null))switch(Y){case"value":z=B;break;case"defaultValue":J=B;break;case"multiple":$=B;default:u2(X,Z,Y,B,G,null)}Nz(X,G),Z=z,G=J,X.multiple=!!$,Z!=null?Y9(X,!!$,Z,!1):G!=null&&Y9(X,!!$,G,!0);return;case"textarea":L7("textarea",G),A2("invalid",X),z=Y=$=null;for(J in G)if(G.hasOwnProperty(J)&&(B=G[J],B!=null))switch(J){case"value":$=B;break;case"defaultValue":Y=B;break;case"children":z=B;break;case"dangerouslySetInnerHTML":if(B!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:u2(X,Z,J,B,G,null)}wz(X,G),Tz(X,$,Y,z);return;case"option":Lz(X,G);for(H in G)if(G.hasOwnProperty(H)&&($=G[H],$!=null))switch(H){case"selected":X.selected=$&&typeof $!=="function"&&typeof $!=="symbol";break;default:u2(X,Z,H,$,G,null)}return;case"dialog":A2("beforetoggle",X),A2("toggle",X),A2("cancel",X),A2("close",X);break;case"iframe":case"object":A2("load",X);break;case"video":case"audio":for($=0;$<fZ.length;$++)A2(fZ[$],X);break;case"image":A2("error",X),A2("load",X);break;case"details":A2("toggle",X);break;case"embed":case"source":case"link":A2("error",X),A2("load",X);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(W in G)if(G.hasOwnProperty(W)&&($=G[W],$!=null))switch(W){case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:u2(X,Z,W,$,G,null)}return;default:if(KX(Z)){for(I in G)G.hasOwnProperty(I)&&($=G[I],$!==void 0&&z$(X,Z,I,$,G,void 0));return}}for(B in G)G.hasOwnProperty(B)&&($=G[B],$!=null&&u2(X,Z,B,$,G,null))}function lq(X,Z,G,$){switch(Y$(Z,$),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var Y=null,z=null,J=null,B=null,H=null,W=null,I=null;for(v in G){var P=G[v];if(G.hasOwnProperty(v)&&P!=null)switch(v){case"checked":break;case"value":break;case"defaultValue":H=P;default:$.hasOwnProperty(v)||u2(X,Z,v,null,$,P)}}for(var N in $){var v=$[N];if(P=G[N],$.hasOwnProperty(N)&&(v!=null||P!=null))switch(N){case"type":z=v;break;case"name":Y=v;break;case"checked":W=v;break;case"defaultChecked":I=v;break;case"value":J=v;break;case"defaultValue":B=v;break;case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:v!==P&&u2(X,Z,N,v,$,P)}}Z=G.type==="checkbox"||G.type==="radio"?G.checked!=null:G.value!=null,$=$.type==="checkbox"||$.type==="radio"?$.checked!=null:$.value!=null,Z||!$||PW||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),PW=!0),!Z||$||IW||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),IW=!0),LG(X,J,B,H,W,I,z,Y);return;case"select":v=J=B=N=null;for(z in G)if(H=G[z],G.hasOwnProperty(z)&&H!=null)switch(z){case"value":break;case"multiple":v=H;default:$.hasOwnProperty(z)||u2(X,Z,z,null,$,H)}for(Y in $)if(z=$[Y],H=G[Y],$.hasOwnProperty(Y)&&(z!=null||H!=null))switch(Y){case"value":N=z;break;case"defaultValue":B=z;break;case"multiple":J=z;default:z!==H&&u2(X,Z,Y,z,$,H)}$=B,Z=J,G=v,N!=null?Y9(X,!!Z,N,!1):!!G!==!!Z&&($!=null?Y9(X,!!Z,$,!0):Y9(X,!!Z,Z?[]:"",!1));return;case"textarea":v=N=null;for(B in G)if(Y=G[B],G.hasOwnProperty(B)&&Y!=null&&!$.hasOwnProperty(B))switch(B){case"value":break;case"children":break;default:u2(X,Z,B,null,$,Y)}for(J in $)if(Y=$[J],z=G[J],$.hasOwnProperty(J)&&(Y!=null||z!=null))switch(J){case"value":N=Y;break;case"defaultValue":v=Y;break;case"children":break;case"dangerouslySetInnerHTML":if(Y!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Y!==z&&u2(X,Z,J,Y,$,z)}Az(X,N,v);return;case"option":for(var m in G)if(N=G[m],G.hasOwnProperty(m)&&N!=null&&!$.hasOwnProperty(m))switch(m){case"selected":X.selected=!1;break;default:u2(X,Z,m,null,$,N)}for(H in $)if(N=$[H],v=G[H],$.hasOwnProperty(H)&&N!==v&&(N!=null||v!=null))switch(H){case"selected":X.selected=N&&typeof N!=="function"&&typeof N!=="symbol";break;default:u2(X,Z,H,N,$,v)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var c in G)N=G[c],G.hasOwnProperty(c)&&N!=null&&!$.hasOwnProperty(c)&&u2(X,Z,c,null,$,N);for(W in $)if(N=$[W],v=G[W],$.hasOwnProperty(W)&&N!==v&&(N!=null||v!=null))switch(W){case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:u2(X,Z,W,N,$,v)}return;default:if(KX(Z)){for(var s2 in G)N=G[s2],G.hasOwnProperty(s2)&&N!==void 0&&!$.hasOwnProperty(s2)&&z$(X,Z,s2,void 0,$,N);for(I in $)N=$[I],v=G[I],!$.hasOwnProperty(I)||N===v||N===void 0&&v===void 0||z$(X,Z,I,N,$,v);return}}for(var T2 in G)N=G[T2],G.hasOwnProperty(T2)&&N!=null&&!$.hasOwnProperty(T2)&&u2(X,Z,T2,null,$,N);for(P in $)N=$[P],v=G[P],!$.hasOwnProperty(P)||N===v||N==null&&v==null||u2(X,Z,P,N,$,v)}function vU(X){switch(X){case"class":return"className";case"for":return"htmlFor";default:return X}}function J$(X){var Z={};X=X.style;for(var G=0;G<X.length;G++){var $=X[G];Z[$]=X.getPropertyValue($)}return Z}function kU(X,Z,G){if(Z!=null&&typeof Z!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var $,Y=$="",z;for(z in Z)if(Z.hasOwnProperty(z)){var J=Z[z];J!=null&&typeof J!=="boolean"&&J!==""&&(z.indexOf("--")===0?(UX(J,z),$+=Y+z+":"+(""+J).trim()):typeof J!=="number"||J===0||hB.has(z)?(UX(J,z),$+=Y+z.replace(jB,"-$1").toLowerCase().replace(VB,"-ms-")+":"+(""+J).trim()):$+=Y+z.replace(jB,"-$1").toLowerCase().replace(VB,"-ms-")+":"+J+"px",Y=";")}$=$||null,Z=X.getAttribute("style"),Z!==$&&($=k7($),k7(Z)!==$&&(G.style=J$(X)))}}function V5(X,Z,G,$,Y,z){if(Y.delete(G),X=X.getAttribute(G),X===null)switch(typeof $){case"undefined":case"function":case"symbol":case"boolean":return}else if($!=null)switch(typeof $){case"function":case"symbol":case"boolean":break;default:if(m2($,Z),X===""+$)return}S4(Z,X,$,z)}function gU(X,Z,G,$,Y,z){if(Y.delete(G),X=X.getAttribute(G),X===null){switch(typeof $){case"function":case"symbol":return}if(!$)return}else switch(typeof $){case"function":case"symbol":break;default:if($)return}S4(Z,X,$,z)}function Q$(X,Z,G,$,Y,z){if(Y.delete(G),X=X.getAttribute(G),X===null)switch(typeof $){case"undefined":case"function":case"symbol":return}else if($!=null)switch(typeof $){case"function":case"symbol":break;default:if(m2($,G),X===""+$)return}S4(Z,X,$,z)}function bU(X,Z,G,$,Y,z){if(Y.delete(G),X=X.getAttribute(G),X===null)switch(typeof $){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN($))return}else if($!=null)switch(typeof $){case"function":case"symbol":case"boolean":break;default:if(!isNaN($)&&(m2($,Z),X===""+$))return}S4(Z,X,$,z)}function U$(X,Z,G,$,Y,z){if(Y.delete(G),X=X.getAttribute(G),X===null)switch(typeof $){case"undefined":case"function":case"symbol":case"boolean":return}else if($!=null)switch(typeof $){case"function":case"symbol":case"boolean":break;default:if(m2($,Z),G=RX(""+$),X===G)return}S4(Z,X,$,z)}function yU(X,Z,G,$){for(var Y={},z=new Set,J=X.attributes,B=0;B<J.length;B++)switch(J[B].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:z.add(J[B].name)}if(KX(Z)){for(var H in G)if(G.hasOwnProperty(H)){var W=G[H];if(W!=null){if(v8.hasOwnProperty(H))typeof W!=="function"&&C6(H,W);else if(G.suppressHydrationWarning!==!0)switch(H){case"children":typeof W!=="string"&&typeof W!=="number"||S4("children",X.textContent,W,Y);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":J=X.innerHTML,W=W?W.__html:void 0,W!=null&&(W=CU(X,W),S4(H,J,W,Y));continue;case"style":z.delete(H),kU(X,W,Y);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":z.delete(H.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",H);continue;case"className":z.delete("class"),J=qz(X,"class",W),S4("className",J,W,Y);continue;default:$.context===M7&&Z!=="svg"&&Z!=="math"?z.delete(H.toLowerCase()):z.delete(H),J=qz(X,H,W),S4(H,J,W,Y)}}}}else for(W in G)if(G.hasOwnProperty(W)&&(H=G[W],H!=null)){if(v8.hasOwnProperty(W))typeof H!=="function"&&C6(W,H);else if(G.suppressHydrationWarning!==!0)switch(W){case"children":typeof H!=="string"&&typeof H!=="number"||S4("children",X.textContent,H,Y);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":J=X.innerHTML,H=H?H.__html:void 0,H!=null&&(H=CU(X,H),J!==H&&(Y[W]={__html:J}));continue;case"className":V5(X,W,"class",H,z,Y);continue;case"tabIndex":V5(X,W,"tabindex",H,z,Y);continue;case"style":z.delete(W),kU(X,H,Y);continue;case"multiple":z.delete(W),S4(W,X.multiple,H,Y);continue;case"muted":z.delete(W),S4(W,X.muted,H,Y);continue;case"autoFocus":z.delete("autofocus"),S4(W,X.autofocus,H,Y);continue;case"data":if(Z!=="object"){z.delete(W),J=X.getAttribute("data"),S4(W,J,H,Y);continue}case"src":case"href":if(!(H!==""||Z==="a"&&W==="href"||Z==="object"&&W==="data")){W==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',W,W):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',W,W);continue}U$(X,W,W,H,z,Y);continue;case"action":case"formAction":if(J=X.getAttribute(W),typeof H==="function"){z.delete(W.toLowerCase()),W==="formAction"?(z.delete("name"),z.delete("formenctype"),z.delete("formmethod"),z.delete("formtarget")):(z.delete("enctype"),z.delete("method"),z.delete("target"));continue}else if(J===G_){z.delete(W.toLowerCase()),S4(W,"function",H,Y);continue}U$(X,W,W.toLowerCase(),H,z,Y);continue;case"xlinkHref":U$(X,W,"xlink:href",H,z,Y);continue;case"contentEditable":Q$(X,W,"contenteditable",H,z,Y);continue;case"spellCheck":Q$(X,W,"spellcheck",H,z,Y);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Q$(X,W,W,H,z,Y);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":gU(X,W,W.toLowerCase(),H,z,Y);continue;case"capture":case"download":X:{B=X;var I=J=W,P=Y;if(z.delete(I),B=B.getAttribute(I),B===null)switch(typeof H){case"undefined":case"function":case"symbol":break X;default:if(H===!1)break X}else if(H!=null)switch(typeof H){case"function":case"symbol":break;case"boolean":if(H===!0&&B==="")break X;break;default:if(m2(H,J),B===""+H)break X}S4(J,B,H,P)}continue;case"cols":case"rows":case"size":case"span":X:{if(B=X,I=J=W,P=Y,z.delete(I),B=B.getAttribute(I),B===null)switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":break X;default:if(isNaN(H)||1>H)break X}else if(H!=null)switch(typeof H){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(H)||1>H)&&(m2(H,J),B===""+H))break X}S4(J,B,H,P)}continue;case"rowSpan":bU(X,W,"rowspan",H,z,Y);continue;case"start":bU(X,W,W,H,z,Y);continue;case"xHeight":V5(X,W,"x-height",H,z,Y);continue;case"xlinkActuate":V5(X,W,"xlink:actuate",H,z,Y);continue;case"xlinkArcrole":V5(X,W,"xlink:arcrole",H,z,Y);continue;case"xlinkRole":V5(X,W,"xlink:role",H,z,Y);continue;case"xlinkShow":V5(X,W,"xlink:show",H,z,Y);continue;case"xlinkTitle":V5(X,W,"xlink:title",H,z,Y);continue;case"xlinkType":V5(X,W,"xlink:type",H,z,Y);continue;case"xmlBase":V5(X,W,"xml:base",H,z,Y);continue;case"xmlLang":V5(X,W,"xml:lang",H,z,Y);continue;case"xmlSpace":V5(X,W,"xml:space",H,z,Y);continue;case"inert":H!==""||e1[W]||(e1[W]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",W)),gU(X,W,W,H,z,Y);continue;default:if(!(2<W.length)||W[0]!=="o"&&W[0]!=="O"||W[1]!=="n"&&W[1]!=="N"){B=fz(W),J=!1,$.context===M7&&Z!=="svg"&&Z!=="math"?z.delete(B.toLowerCase()):(I=W.toLowerCase(),I=W1.hasOwnProperty(I)?W1[I]||null:null,I!==null&&I!==W&&(J=!0,z.delete(I)),z.delete(B));X:if(I=X,P=B,B=H,HX(P))if(I.hasAttribute(P))I=I.getAttribute(P),m2(B,P),B=I===""+B?B:I;else{switch(typeof B){case"function":case"symbol":break X;case"boolean":if(I=P.toLowerCase().slice(0,5),I!=="data-"&&I!=="aria-")break X}B=B===void 0?void 0:null}else B=void 0;J||S4(W,B,H,Y)}}}return 0<z.size&&G.suppressHydrationWarning!==!0&&dq(X,z,Y),Object.keys(Y).length===0?null:Y}function pq(X,Z){switch(X.length){case 0:return"";case 1:return X[0];case 2:return X[0]+" "+Z+" "+X[1];default:return X.slice(0,-1).join(", ")+", "+Z+" "+X[X.length-1]}}function fU(X){switch(X){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function cq(){if(typeof performance.getEntriesByType==="function"){for(var X=0,Z=0,G=performance.getEntriesByType("resource"),$=0;$<G.length;$++){var Y=G[$],z=Y.transferSize,J=Y.initiatorType,B=Y.duration;if(z&&B&&fU(J)){J=0,B=Y.responseEnd;for($+=1;$<G.length;$++){var H=G[$],W=H.startTime;if(W>B)break;var{transferSize:I,initiatorType:P}=H;I&&fU(P)&&(H=H.responseEnd,J+=I*(H<B?1:(B-W)/(H-W)))}if(--$,Z+=8*(z+J)/(Y.duration/1000),X++,10<X)break}}if(0<X)return Z/X/1e6}return navigator.connection&&(X=navigator.connection.downlink,typeof X==="number")?X:5}function a0(X){return X.nodeType===9?X:X.ownerDocument}function jU(X){switch(X){case S9:return $X;case H1:return ZG;default:return M7}}function VU(X,Z){if(X===M7)switch(Z){case"svg":return $X;case"math":return ZG;default:return M7}return X===$X&&Z==="foreignObject"?M7:X}function B$(X,Z){return X==="textarea"||X==="noscript"||typeof Z.children==="string"||typeof Z.children==="number"||typeof Z.children==="bigint"||typeof Z.dangerouslySetInnerHTML==="object"&&Z.dangerouslySetInnerHTML!==null&&Z.dangerouslySetInnerHTML.__html!=null}function sq(){var X=window.event;if(X&&X.type==="popstate"){if(X===cY)return!1;return cY=X,!0}return cY=null,!1}function mX(){var X=window.event;return X&&X!==xZ?X.type:null}function uX(){var X=window.event;return X&&X!==xZ?X.timeStamp:-1.1}function aq(X){setTimeout(function(){throw X})}function iq(X,Z,G){switch(Z){case"button":case"input":case"select":case"textarea":G.autoFocus&&X.focus();break;case"img":G.src?X.src=G.src:G.srcSet&&(X.srcset=G.srcSet)}}function nq(){}function oq(X,Z,G,$){lq(X,Z,G,$),X[i4]=$}function xU(X){qX(X,"")}function rq(X,Z,G){X.nodeValue=G}function DU(X){if(!X.__reactWarnedAboutChildrenConflict){var Z=X[i4]||null;if(Z!==null){var G=J2(X);G!==null&&(typeof Z.children==="string"||typeof Z.children==="number"?(X.__reactWarnedAboutChildrenConflict=!0,s(G,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):Z.dangerouslySetInnerHTML!=null&&(X.__reactWarnedAboutChildrenConflict=!0,s(G,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function g7(X){return X==="head"}function tq(X,Z){X.removeChild(Z)}function eq(X,Z){(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X).removeChild(Z)}function EU(X,Z){var G=Z,$=0;do{var Y=G.nextSibling;if(X.removeChild(G),Y&&Y.nodeType===8)if(G=Y.data,G===VZ||G===XG){if($===0){X.removeChild(Y),w9(Z);return}$--}else if(G===jZ||G===X8||G===a8||G===GX||G===s8)$++;else if(G===Y_)dX(X.ownerDocument.documentElement);else if(G===J_){G=X.ownerDocument.head,dX(G);for(var z=G.firstChild;z;){var{nextSibling:J,nodeName:B}=z;z[nX]||B==="SCRIPT"||B==="STYLE"||B==="LINK"&&z.rel.toLowerCase()==="stylesheet"||G.removeChild(z),z=J}}else G===z_&&dX(X.ownerDocument.body);G=Y}while(G);w9(Z)}function hU(X,Z){var G=X;X=0;do{var $=G.nextSibling;if(G.nodeType===1?Z?(G._stashedDisplay=G.style.display,G.style.display="none"):(G.style.display=G._stashedDisplay||"",G.getAttribute("style")===""&&G.removeAttribute("style")):G.nodeType===3&&(Z?(G._stashedText=G.nodeValue,G.nodeValue=""):G.nodeValue=G._stashedText||""),$&&$.nodeType===8)if(G=$.data,G===VZ)if(X===0)break;else X--;else G!==jZ&&G!==X8&&G!==a8&&G!==GX||X++;G=$}while(G)}function XK(X){hU(X,!0)}function ZK(X){X=X.style,typeof X.setProperty==="function"?X.setProperty("display","none","important"):X.display="none"}function GK(X){X.nodeValue=""}function $K(X){hU(X,!1)}function YK(X,Z){Z=Z[Q_],Z=Z!==void 0&&Z!==null&&Z.hasOwnProperty("display")?Z.display:null,X.style.display=Z==null||typeof Z==="boolean"?"":(""+Z).trim()}function zK(X,Z){X.nodeValue=Z}function H$(X){var Z=X.firstChild;Z&&Z.nodeType===10&&(Z=Z.nextSibling);for(;Z;){var G=Z;switch(Z=Z.nextSibling,G.nodeName){case"HTML":case"HEAD":case"BODY":H$(G),u(G);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(G.rel.toLowerCase()==="stylesheet")continue}X.removeChild(G)}}function JK(X,Z,G,$){for(;X.nodeType===1;){var Y=G;if(X.nodeName.toLowerCase()!==Z.toLowerCase()){if(!$&&(X.nodeName!=="INPUT"||X.type!=="hidden"))break}else if(!$)if(Z==="input"&&X.type==="hidden"){m2(Y.name,"name");var z=Y.name==null?null:""+Y.name;if(Y.type==="hidden"&&X.getAttribute("name")===z)return X}else return X;else if(!X[nX])switch(Z){case"meta":if(!X.hasAttribute("itemprop"))break;return X;case"link":if(z=X.getAttribute("rel"),z==="stylesheet"&&X.hasAttribute("data-precedence"))break;else if(z!==Y.rel||X.getAttribute("href")!==(Y.href==null||Y.href===""?null:Y.href)||X.getAttribute("crossorigin")!==(Y.crossOrigin==null?null:Y.crossOrigin)||X.getAttribute("title")!==(Y.title==null?null:Y.title))break;return X;case"style":if(X.hasAttribute("data-precedence"))break;return X;case"script":if(z=X.getAttribute("src"),(z!==(Y.src==null?null:Y.src)||X.getAttribute("type")!==(Y.type==null?null:Y.type)||X.getAttribute("crossorigin")!==(Y.crossOrigin==null?null:Y.crossOrigin))&&z&&X.hasAttribute("async")&&!X.hasAttribute("itemprop"))break;return X;default:return X}if(X=A5(X.nextSibling),X===null)break}return null}function QK(X,Z,G){if(Z==="")return null;for(;X.nodeType!==3;){if((X.nodeType!==1||X.nodeName!=="INPUT"||X.type!=="hidden")&&!G)return null;if(X=A5(X.nextSibling),X===null)return null}return X}function mU(X,Z){for(;X.nodeType!==8;){if((X.nodeType!==1||X.nodeName!=="INPUT"||X.type!=="hidden")&&!Z)return null;if(X=A5(X.nextSibling),X===null)return null}return X}function W$(X){return X.data===X8||X.data===a8}function M$(X){return X.data===GX||X.data===X8&&X.ownerDocument.readyState!==kW}function UK(X,Z){var G=X.ownerDocument;if(X.data===a8)X._reactRetry=Z;else if(X.data!==X8||G.readyState!==kW)Z();else{var $=function(){Z(),G.removeEventListener("DOMContentLoaded",$)};G.addEventListener("DOMContentLoaded",$),X._reactRetry=$}}function A5(X){for(;X!=null;X=X.nextSibling){var Z=X.nodeType;if(Z===1||Z===3)break;if(Z===8){if(Z=X.data,Z===jZ||Z===GX||Z===X8||Z===a8||Z===s8||Z===dY||Z===vW)break;if(Z===VZ||Z===XG)return null}}return X}function uU(X){if(X.nodeType===1){for(var Z=X.nodeName.toLowerCase(),G={},$=X.attributes,Y=0;Y<$.length;Y++){var z=$[Y];G[vU(z.name)]=z.name.toLowerCase()==="style"?J$(X):z.value}return{type:Z,props:G}}return X.nodeType===8?X.data===s8?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:X.nodeValue}function dU(X,Z,G){return G===null||G[$_]!==!0?(X.nodeValue===Z?X=null:(Z=k7(Z),X=k7(X.nodeValue)===Z?null:X.nodeValue),X):null}function q$(X){X=X.nextSibling;for(var Z=0;X;){if(X.nodeType===8){var G=X.data;if(G===VZ||G===XG){if(Z===0)return A5(X.nextSibling);Z--}else G!==jZ&&G!==GX&&G!==X8&&G!==a8&&G!==s8||Z++}X=X.nextSibling}return null}function lU(X){X=X.previousSibling;for(var Z=0;X;){if(X.nodeType===8){var G=X.data;if(G===jZ||G===GX||G===X8||G===a8||G===s8){if(Z===0)return X;Z--}else G!==VZ&&G!==XG||Z++}X=X.previousSibling}return null}function BK(X){w9(X)}function HK(X){w9(X)}function WK(X){w9(X)}function pU(X,Z,G,$,Y){switch(Y&&IG(X,$.ancestorInfo),Z=a0(G),X){case"html":if(X=Z.documentElement,!X)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return X;case"head":if(X=Z.head,!X)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return X;case"body":if(X=Z.body,!X)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return X;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function MK(X,Z,G,$){if(!G[j7]&&J2(G)){var Y=G.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",Y,Y,Y)}switch(X){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(Y=G.attributes;Y.length;)G.removeAttributeNode(Y[0]);D4(G,X,Z),G[E4]=$,G[i4]=Z}function dX(X){for(var Z=X.attributes;Z.length;)X.removeAttributeNode(Z[0]);u(X)}function i0(X){return typeof X.getRootNode==="function"?X.getRootNode():X.nodeType===9?X:X.ownerDocument}function cU(X,Z,G){var $=YX;if($&&typeof Z==="string"&&Z){var Y=j5(Z);Y='link[rel="'+X+'"][href="'+Y+'"]',typeof G==="string"&&(Y+='[crossorigin="'+G+'"]'),VW.has(Y)||(VW.add(Y),X={rel:X,crossOrigin:G,href:Z},$.querySelector(Y)===null&&(Z=$.createElement("link"),D4(Z,"link",X),o(Z),$.head.appendChild(Z)))}}function sU(X,Z,G,$){var Y=(Y=y7.current)?i0(Y):null;if(!Y)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(X){case"meta":case"title":return null;case"style":return typeof G.precedence==="string"&&typeof G.href==="string"?(G=F9(G.href),Z=P2(Y).hoistableStyles,$=Z.get(G),$||($={type:"style",instance:null,count:0,state:null},Z.set(G,$)),$):{type:"void",instance:null,count:0,state:null};case"link":if(G.rel==="stylesheet"&&typeof G.href==="string"&&typeof G.precedence==="string"){X=F9(G.href);var z=P2(Y).hoistableStyles,J=z.get(X);if(!J&&(Y=Y.ownerDocument||Y,J={type:"stylesheet",instance:null,count:0,state:{loading:n8,preload:null}},z.set(X,J),(z=Y.querySelector(lX(X)))&&!z._p&&(J.instance=z,J.state.loading=DZ|s5),!a5.has(X))){var B={rel:"preload",as:"style",href:G.href,crossOrigin:G.crossOrigin,integrity:G.integrity,media:G.media,hrefLang:G.hrefLang,referrerPolicy:G.referrerPolicy};a5.set(X,B),z||qK(Y,X,B,J.state)}if(Z&&$===null)throw G=`
|
|
177
|
-
|
|
178
|
-
- `+n0(Z)+`
|
|
179
|
-
+ `+n0(G),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+G);return J}if(Z&&$!==null)throw G=`
|
|
180
|
-
|
|
181
|
-
- `+n0(Z)+`
|
|
182
|
-
+ `+n0(G),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+G);return null;case"script":return Z=G.async,G=G.src,typeof G==="string"&&Z&&typeof Z!=="function"&&typeof Z!=="symbol"?(G=N9(G),Z=P2(Y).hoistableScripts,$=Z.get(G),$||($={type:"script",instance:null,count:0,state:null},Z.set(G,$)),$):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+X+'". this is a bug in React.')}}function n0(X){var Z=0,G="<link";return typeof X.rel==="string"?(Z++,G+=' rel="'+X.rel+'"'):r5.call(X,"rel")&&(Z++,G+=' rel="'+(X.rel===null?"null":"invalid type "+typeof X.rel)+'"'),typeof X.href==="string"?(Z++,G+=' href="'+X.href+'"'):r5.call(X,"href")&&(Z++,G+=' href="'+(X.href===null?"null":"invalid type "+typeof X.href)+'"'),typeof X.precedence==="string"?(Z++,G+=' precedence="'+X.precedence+'"'):r5.call(X,"precedence")&&(Z++,G+=" precedence={"+(X.precedence===null?"null":"invalid type "+typeof X.precedence)+"}"),Object.getOwnPropertyNames(X).length>Z&&(G+=" ..."),G+" />"}function F9(X){return'href="'+j5(X)+'"'}function lX(X){return'link[rel="stylesheet"]['+X+"]"}function aU(X){return R2({},X,{"data-precedence":X.precedence,precedence:null})}function qK(X,Z,G,$){X.querySelector('link[rel="preload"][as="style"]['+Z+"]")?$.loading=DZ:(Z=X.createElement("link"),$.preload=Z,Z.addEventListener("load",function(){return $.loading|=DZ}),Z.addEventListener("error",function(){return $.loading|=fW}),D4(Z,"link",G),o(Z),X.head.appendChild(Z))}function N9(X){return'[src="'+j5(X)+'"]'}function pX(X){return"script[async]"+X}function iU(X,Z,G){if(Z.count++,Z.instance===null)switch(Z.type){case"style":var $=X.querySelector('style[data-href~="'+j5(G.href)+'"]');if($)return Z.instance=$,o($),$;var Y=R2({},G,{"data-href":G.href,"data-precedence":G.precedence,href:null,precedence:null});return $=(X.ownerDocument||X).createElement("style"),o($),D4($,"style",Y),o0($,G.precedence,X),Z.instance=$;case"stylesheet":Y=F9(G.href);var z=X.querySelector(lX(Y));if(z)return Z.state.loading|=s5,Z.instance=z,o(z),z;$=aU(G),(Y=a5.get(Y))&&K$($,Y),z=(X.ownerDocument||X).createElement("link"),o(z);var J=z;return J._p=new Promise(function(B,H){J.onload=B,J.onerror=H}),D4(z,"link",$),Z.state.loading|=s5,o0(z,G.precedence,X),Z.instance=z;case"script":if(z=N9(G.src),Y=X.querySelector(pX(z)))return Z.instance=Y,o(Y),Y;if($=G,Y=a5.get(z))$=R2({},G),R$($,Y);return X=X.ownerDocument||X,Y=X.createElement("script"),o(Y),D4(Y,"link",$),X.head.appendChild(Y),Z.instance=Y;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+Z.type+'". this is a bug in React.')}else Z.type==="stylesheet"&&(Z.state.loading&s5)===n8&&($=Z.instance,Z.state.loading|=s5,o0($,G.precedence,X));return Z.instance}function o0(X,Z,G){for(var $=G.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),Y=$.length?$[$.length-1]:null,z=Y,J=0;J<$.length;J++){var B=$[J];if(B.dataset.precedence===Z)z=B;else if(z!==Y)break}z?z.parentNode.insertBefore(X,z.nextSibling):(Z=G.nodeType===9?G.head:G,Z.insertBefore(X,Z.firstChild))}function K$(X,Z){X.crossOrigin==null&&(X.crossOrigin=Z.crossOrigin),X.referrerPolicy==null&&(X.referrerPolicy=Z.referrerPolicy),X.title==null&&(X.title=Z.title)}function R$(X,Z){X.crossOrigin==null&&(X.crossOrigin=Z.crossOrigin),X.referrerPolicy==null&&(X.referrerPolicy=Z.referrerPolicy),X.integrity==null&&(X.integrity=Z.integrity)}function nU(X,Z,G){if(GG===null){var $=new Map,Y=GG=new Map;Y.set(G,$)}else Y=GG,$=Y.get(G),$||($=new Map,Y.set(G,$));if($.has(X))return $;$.set(X,null),G=G.getElementsByTagName(X);for(Y=0;Y<G.length;Y++){var z=G[Y];if(!(z[nX]||z[E4]||X==="link"&&z.getAttribute("rel")==="stylesheet")&&z.namespaceURI!==S9){var J=z.getAttribute(Z)||"";J=X+J;var B=$.get(J);B?B.push(z):$.set(J,[z])}}return $}function oU(X,Z,G){X=X.ownerDocument||X,X.head.insertBefore(G,Z==="title"?X.querySelector("head > title"):null)}function KK(X,Z,G){var $=!G.ancestorInfo.containerTagInScope;if(G.context===$X||Z.itemProp!=null)return!$||Z.itemProp==null||X!=="meta"&&X!=="title"&&X!=="style"&&X!=="link"&&X!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",X,X),!1;switch(X){case"meta":case"title":return!0;case"style":if(typeof Z.precedence!=="string"||typeof Z.href!=="string"||Z.href===""){$&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof Z.rel!=="string"||typeof Z.href!=="string"||Z.href===""||Z.onLoad||Z.onError){if(Z.rel==="stylesheet"&&typeof Z.precedence==="string"){X=Z.href;var{onError:Y,disabled:z}=Z;G=[],Z.onLoad&&G.push("`onLoad`"),Y&&G.push("`onError`"),z!=null&&G.push("`disabled`"),Y=pq(G,"and"),Y+=G.length===1?" prop":" props",z=G.length===1?"an "+Y:"the "+Y,G.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',X,z,Y)}$&&(typeof Z.rel!=="string"||typeof Z.href!=="string"||Z.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(Z.onError||Z.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(Z.rel){case"stylesheet":return X=Z.precedence,Z=Z.disabled,typeof X!=="string"&&$&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof X==="string"&&Z==null;default:return!0}case"script":if(X=Z.async&&typeof Z.async!=="function"&&typeof Z.async!=="symbol",!X||Z.onLoad||Z.onError||!Z.src||typeof Z.src!=="string"){$&&(X?Z.onLoad||Z.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":$&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",X)}return!1}function rU(X){return X.type==="stylesheet"&&(X.state.loading&jW)===n8?!1:!0}function RK(X,Z,G,$){if(G.type==="stylesheet"&&(typeof $.media!=="string"||matchMedia($.media).matches!==!1)&&(G.state.loading&s5)===n8){if(G.instance===null){var Y=F9($.href),z=Z.querySelector(lX(Y));if(z){Z=z._p,Z!==null&&typeof Z==="object"&&typeof Z.then==="function"&&(X.count++,X=r0.bind(X),Z.then(X,X)),G.state.loading|=s5,G.instance=z,o(z);return}z=Z.ownerDocument||Z,$=aU($),(Y=a5.get(Y))&&K$($,Y),z=z.createElement("link"),o(z);var J=z;J._p=new Promise(function(B,H){J.onload=B,J.onerror=H}),D4(z,"link",$),G.instance=z}X.stylesheets===null&&(X.stylesheets=new Map),X.stylesheets.set(G,Z),(Z=G.state.preload)&&(G.state.loading&jW)===n8&&(X.count++,G=r0.bind(X),Z.addEventListener("load",G),Z.addEventListener("error",G))}}function _K(X,Z){return X.stylesheets&&X.count===0&&t0(X,X.stylesheets),0<X.count||0<X.imgCount?function(G){var $=setTimeout(function(){if(X.stylesheets&&t0(X,X.stylesheets),X.unsuspend){var z=X.unsuspend;X.unsuspend=null,z()}},H_+Z);0<X.imgBytes&&aY===0&&(aY=125*cq()*M_);var Y=setTimeout(function(){if(X.waitingForImages=!1,X.count===0&&(X.stylesheets&&t0(X,X.stylesheets),X.unsuspend)){var z=X.unsuspend;X.unsuspend=null,z()}},(X.imgBytes>aY?50:W_)+Z);return X.unsuspend=G,function(){X.unsuspend=null,clearTimeout($),clearTimeout(Y)}}:null}function r0(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)t0(this,this.stylesheets);else if(this.unsuspend){var X=this.unsuspend;this.unsuspend=null,X()}}}function t0(X,Z){X.stylesheets=null,X.unsuspend!==null&&(X.count++,$G=new Map,Z.forEach(OK,X),$G=null,r0.call(X))}function OK(X,Z){if(!(Z.state.loading&s5)){var G=$G.get(X);if(G)var $=G.get(iY);else{G=new Map,$G.set(X,G);for(var Y=X.querySelectorAll("link[data-precedence],style[data-precedence]"),z=0;z<Y.length;z++){var J=Y[z];if(J.nodeName==="LINK"||J.getAttribute("media")!=="not all")G.set(J.dataset.precedence,J),$=J}$&&G.set(iY,$)}Y=Z.instance,J=Y.getAttribute("data-precedence"),z=G.get(J)||$,z===$&&G.set(iY,Y),G.set(J,Y),this.count++,$=r0.bind(this),Y.addEventListener("load",$),Y.addEventListener("error",$),z?z.parentNode.insertBefore(Y,z.nextSibling):(X=X.nodeType===9?X.head:X,X.insertBefore(Y,X.firstChild)),Z.state.loading|=s5}}function LK(X,Z,G,$,Y,z,J,B,H){this.tag=1,this.containerInfo=X,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=i8,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=$9(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$9(0),this.hiddenUpdates=$9(null),this.identifierPrefix=$,this.onUncaughtError=Y,this.onCaughtError=z,this.onRecoverableError=J,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=H,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,X=this.pendingUpdatersLaneMap=[];for(Z=0;31>Z;Z++)X.push(new Set);this._debugRootType=G?"hydrateRoot()":"createRoot()"}function tU(X,Z,G,$,Y,z,J,B,H,W,I,P){return X=new LK(X,Z,G,J,H,W,I,P,B),Z=DR,z===!0&&(Z|=l4|e5),Z|=H2,z=k(3,null,null,Z),X.current=z,z.stateNode=X,Z=lG(),w8(Z),X.pooledCache=Z,w8(Z),z.memoizedState={element:$,isDehydrated:G,cache:Z},iG(z),X}function eU(X){if(!X)return E7;return X=E7,X}function _$(X,Z,G,$,Y,z){if(d4&&typeof d4.onScheduleFiberRoot==="function")try{d4.onScheduleFiberRoot(P9,$,G)}catch(J){g6||(g6=!0,console.error("React instrumentation encountered an error: %o",J))}Y=eU(Y),$.context===null?$.context=Y:$.pendingContext=Y,k6&&I5!==null&&!hW&&(hW=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
183
|
-
|
|
184
|
-
Check the render method of %s.`,p(I5)||"Unknown")),$=T7(Z),$.payload={element:G},z=z===void 0?null:z,z!==null&&(typeof z!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",z),$.callback=z),G=I7(X,$,Z),G!==null&&(K6(Z,"root.render()",null),J4(G,X,Z),IX(G,X,Z))}function XB(X,Z){if(X=X.memoizedState,X!==null&&X.dehydrated!==null){var G=X.retryLane;X.retryLane=G!==0&&G<Z?G:Z}}function O$(X,Z){XB(X,Z),(X=X.alternate)&&XB(X,Z)}function ZB(X){if(X.tag===13||X.tag===31){var Z=u4(X,67108864);Z!==null&&J4(Z,X,67108864),O$(X,67108864)}}function GB(X){if(X.tag===13||X.tag===31){var Z=w5(X);Z=M8(Z);var G=u4(X,Z);G!==null&&J4(G,X,Z),O$(X,Z)}}function FK(){return I5}function NK(X,Z,G,$){var Y=b.T;b.T=null;var z=b2.p;try{b2.p=P5,L$(X,Z,G,$)}finally{b2.p=z,b.T=Y}}function wK(X,Z,G,$){var Y=b.T;b.T=null;var z=b2.p;try{b2.p=t5,L$(X,Z,G,$)}finally{b2.p=z,b.T=Y}}function L$(X,Z,G,$){if(zG){var Y=F$($);if(Y===null)$$(X,Z,$,JG,G),YB(X,$);else if(AK(Y,X,Z,G,$))$.stopPropagation();else if(YB(X,$),Z&4&&-1<K_.indexOf(X)){for(;Y!==null;){var z=J2(Y);if(z!==null)switch(z.tag){case 3:if(z=z.stateNode,z.current.memoizedState.isDehydrated){var J=H6(z.pendingLanes);if(J!==0){var B=z;B.pendingLanes|=2;for(B.entangledLanes|=2;J;){var H=1<<31-a4(J);B.entanglements[1]|=H,J&=~H}P6(z),(I2&(T4|k5))===b4&&(d1=v4()+qW,EX(0,!1))}}break;case 31:case 13:B=u4(z,2),B!==null&&J4(B,z,2),_9(),O$(z,2)}if(z=F$($),z===null&&$$(X,Z,$,JG,G),z===Y)break;Y=z}Y!==null&&$.stopPropagation()}else $$(X,Z,$,null,G)}}function F$(X){return X=PG(X),N$(X)}function N$(X){if(JG=null,X=a(X),X!==null){var Z=W5(X);if(Z===null)X=null;else{var G=Z.tag;if(G===13){if(X=M5(Z),X!==null)return X;X=null}else if(G===31){if(X=f4(Z),X!==null)return X;X=null}else if(G===3){if(Z.stateNode.current.memoizedState.isDehydrated)return Z.tag===3?Z.stateNode.containerInfo:null;X=null}else Z!==X&&(X=null)}}return JG=X,null}function $B(X){switch(X){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return P5;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return t5;case"message":switch(bK()){case f$:return P5;case j$:return t5;case I9:case yK:return y6;case V$:return U1;default:return y6}default:return y6}}function YB(X,Z){switch(X){case"focusin":case"focusout":Z8=null;break;case"dragenter":case"dragleave":G8=null;break;case"mouseover":case"mouseout":$8=null;break;case"pointerover":case"pointerout":hZ.delete(Z.pointerId);break;case"gotpointercapture":case"lostpointercapture":mZ.delete(Z.pointerId)}}function cX(X,Z,G,$,Y,z){if(X===null||X.nativeEvent!==z)return X={blockedOn:Z,domEventName:G,eventSystemFlags:$,nativeEvent:z,targetContainers:[Y]},Z!==null&&(Z=J2(Z),Z!==null&&ZB(Z)),X;return X.eventSystemFlags|=$,Z=X.targetContainers,Y!==null&&Z.indexOf(Y)===-1&&Z.push(Y),X}function AK(X,Z,G,$,Y){switch(Z){case"focusin":return Z8=cX(Z8,X,Z,G,$,Y),!0;case"dragenter":return G8=cX(G8,X,Z,G,$,Y),!0;case"mouseover":return $8=cX($8,X,Z,G,$,Y),!0;case"pointerover":var z=Y.pointerId;return hZ.set(z,cX(hZ.get(z)||null,X,Z,G,$,Y)),!0;case"gotpointercapture":return z=Y.pointerId,mZ.set(z,cX(mZ.get(z)||null,X,Z,G,$,Y)),!0}return!1}function zB(X){var Z=a(X.target);if(Z!==null){var G=W5(Z);if(G!==null){if(Z=G.tag,Z===13){if(Z=M5(G),Z!==null){X.blockedOn=Z,E(X.priority,function(){GB(G)});return}}else if(Z===31){if(Z=f4(G),Z!==null){X.blockedOn=Z,E(X.priority,function(){GB(G)});return}}else if(Z===3&&G.stateNode.current.memoizedState.isDehydrated){X.blockedOn=G.tag===3?G.stateNode.containerInfo:null;return}}}X.blockedOn=null}function e0(X){if(X.blockedOn!==null)return!1;for(var Z=X.targetContainers;0<Z.length;){var G=F$(X.nativeEvent);if(G===null){G=X.nativeEvent;var $=new G.constructor(G.type,G),Y=$;oX!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),oX=Y,G.target.dispatchEvent($),oX===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),oX=null}else return Z=J2(G),Z!==null&&ZB(Z),X.blockedOn=G,!1;Z.shift()}return!0}function JB(X,Z,G){e0(X)&&G.delete(Z)}function TK(){nY=!1,Z8!==null&&e0(Z8)&&(Z8=null),G8!==null&&e0(G8)&&(G8=null),$8!==null&&e0($8)&&($8=null),hZ.forEach(JB),mZ.forEach(JB)}function X1(X,Z){X.blockedOn===Z&&(X.blockedOn=null,nY||(nY=!0,C2.unstable_scheduleCallback(C2.unstable_NormalPriority,TK)))}function QB(X){QG!==X&&(QG=X,C2.unstable_scheduleCallback(C2.unstable_NormalPriority,function(){QG===X&&(QG=null);for(var Z=0;Z<X.length;Z+=3){var G=X[Z],$=X[Z+1],Y=X[Z+2];if(typeof $!=="function")if(N$($||G)===null)continue;else break;var z=J2(G);z!==null&&(X.splice(Z,3),Z-=3,G={pending:!0,data:Y,method:G.method,action:$},Object.freeze(G),N3(z,G,$,Y))}}))}function w9(X){function Z(H){return X1(H,X)}Z8!==null&&X1(Z8,X),G8!==null&&X1(G8,X),$8!==null&&X1($8,X),hZ.forEach(Z),mZ.forEach(Z);for(var G=0;G<Y8.length;G++){var $=Y8[G];$.blockedOn===X&&($.blockedOn=null)}for(;0<Y8.length&&(G=Y8[0],G.blockedOn===null);)zB(G),G.blockedOn===null&&Y8.shift();if(G=(X.ownerDocument||X).$$reactFormReplay,G!=null)for($=0;$<G.length;$+=3){var Y=G[$],z=G[$+1],J=Y[i4]||null;if(typeof z==="function")J||QB(G);else if(J){var B=null;if(z&&z.hasAttribute("formAction")){if(Y=z,J=z[i4]||null)B=J.formAction;else if(N$(Y)!==null)continue}else B=J.action;typeof B==="function"?G[$+1]=B:(G.splice($,3),$-=3),QB(G)}}}function UB(){function X(z){z.canIntercept&&z.info==="react-transition"&&z.intercept({handler:function(){return new Promise(function(J){return Y=J})},focusReset:"manual",scroll:"manual"})}function Z(){Y!==null&&(Y(),Y=null),$||setTimeout(G,20)}function G(){if(!$&&!navigation.transition){var z=navigation.currentEntry;z&&z.url!=null&&navigation.navigate(z.url,{state:z.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var $=!1,Y=null;return navigation.addEventListener("navigate",X),navigation.addEventListener("navigatesuccess",Z),navigation.addEventListener("navigateerror",Z),setTimeout(G,100),function(){$=!0,navigation.removeEventListener("navigate",X),navigation.removeEventListener("navigatesuccess",Z),navigation.removeEventListener("navigateerror",Z),Y!==null&&(Y(),Y=null)}}}function w$(X){this._internalRoot=X}function Z1(X){this._internalRoot=X}function BB(X){X[j7]&&(X._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var R2=Object.assign,IK=Symbol.for("react.element"),S6=Symbol.for("react.transitional.element"),A9=Symbol.for("react.portal"),T9=Symbol.for("react.fragment"),G1=Symbol.for("react.strict_mode"),A$=Symbol.for("react.profiler"),T$=Symbol.for("react.consumer"),v6=Symbol.for("react.context"),sX=Symbol.for("react.forward_ref"),I$=Symbol.for("react.suspense"),P$=Symbol.for("react.suspense_list"),$1=Symbol.for("react.memo"),T5=Symbol.for("react.lazy"),C$=Symbol.for("react.activity"),PK=Symbol.for("react.memo_cache_sentinel"),HB=Symbol.iterator,CK=Symbol.for("react.client.reference"),w4=Array.isArray,b=zX.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,b2=rY.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,SK=Object.freeze({pending:!1,data:null,method:null,action:null}),S$=[],v$=[],t6=-1,b7=M4(null),aX=M4(null),y7=M4(null),Y1=M4(null),iX=0,WB,MB,qB,KB,RB,_B,OB;x.__reactDisabledLog=!0;var k$,LB,g$=!1,b$=new(typeof WeakMap==="function"?WeakMap:Map),I5=null,k6=!1,r5=Object.prototype.hasOwnProperty,y$=C2.unstable_scheduleCallback,vK=C2.unstable_cancelCallback,kK=C2.unstable_shouldYield,gK=C2.unstable_requestPaint,v4=C2.unstable_now,bK=C2.unstable_getCurrentPriorityLevel,f$=C2.unstable_ImmediatePriority,j$=C2.unstable_UserBlockingPriority,I9=C2.unstable_NormalPriority,yK=C2.unstable_LowPriority,V$=C2.unstable_IdlePriority,fK=C2.log,jK=C2.unstable_setDisableYieldValue,P9=null,d4=null,g6=!1,b6=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",a4=Math.clz32?Math.clz32:sZ,VK=Math.log,xK=Math.LN2,z1=256,J1=262144,Q1=4194304,P5=2,t5=8,y6=32,U1=268435456,f7=Math.random().toString(36).slice(2),E4="__reactFiber$"+f7,i4="__reactProps$"+f7,j7="__reactContainer$"+f7,x$="__reactEvents$"+f7,DK="__reactListeners$"+f7,EK="__reactHandles$"+f7,FB="__reactResources$"+f7,nX="__reactMarker$"+f7,NB=new Set,v8={},D$={},hK={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},mK=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),wB={},AB={},uK=/[\n"\\]/g,TB=!1,IB=!1,PB=!1,CB=!1,SB=!1,vB=!1,kB=["value","defaultValue"],gB=!1,bB=/["'&<>\n\t]|^\s|\s$/,dK="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),yB="applet caption html table td th marquee object template foreignObject desc title".split(" "),lK=yB.concat(["button"]),pK="dd dt li option optgroup p rp rt".split(" "),fB={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},B1={},E$={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},jB=/([A-Z])/g,VB=/^ms-/,cK=/^(?:webkit|moz|o)[A-Z]/,sK=/^-ms-/,aK=/-(.)/g,xB=/;\s*$/,C9={},h$={},DB=!1,EB=!1,hB=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),H1="http://www.w3.org/1998/Math/MathML",S9="http://www.w3.org/2000/svg",iK=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),W1={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},mB={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},v9={},nK=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),oK=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),uB=!1,n4={},dB=/^on./,rK=/^on[^A-Z]/,tK=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),eK=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),XR=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,oX=null,k9=null,g9=null,m$=!1,f6=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u$=!1;if(f6)try{var rX={};Object.defineProperty(rX,"passive",{get:function(){u$=!0}}),window.addEventListener("test",rX,rX),window.removeEventListener("test",rX,rX)}catch(X){u$=!1}var V7=null,d$=null,M1=null,k8={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(X){return X.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},q1=Z5(k8),tX=R2({},k8,{view:0,detail:0}),ZR=Z5(tX),l$,p$,eX,K1=R2({},tX,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:CG,button:0,buttons:0,relatedTarget:function(X){return X.relatedTarget===void 0?X.fromElement===X.srcElement?X.toElement:X.fromElement:X.relatedTarget},movementX:function(X){if("movementX"in X)return X.movementX;return X!==eX&&(eX&&X.type==="mousemove"?(l$=X.screenX-eX.screenX,p$=X.screenY-eX.screenY):p$=l$=0,eX=X),l$},movementY:function(X){return"movementY"in X?X.movementY:p$}}),lB=Z5(K1),GR=R2({},K1,{dataTransfer:0}),$R=Z5(GR),YR=R2({},tX,{relatedTarget:0}),c$=Z5(YR),zR=R2({},k8,{animationName:0,elapsedTime:0,pseudoElement:0}),JR=Z5(zR),QR=R2({},k8,{clipboardData:function(X){return"clipboardData"in X?X.clipboardData:window.clipboardData}}),UR=Z5(QR),BR=R2({},k8,{data:0}),pB=Z5(BR),HR=pB,WR={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},MR={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},qR={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},KR=R2({},tX,{key:function(X){if(X.key){var Z=WR[X.key]||X.key;if(Z!=="Unidentified")return Z}return X.type==="keypress"?(X=eZ(X),X===13?"Enter":String.fromCharCode(X)):X.type==="keydown"||X.type==="keyup"?MR[X.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:CG,charCode:function(X){return X.type==="keypress"?eZ(X):0},keyCode:function(X){return X.type==="keydown"||X.type==="keyup"?X.keyCode:0},which:function(X){return X.type==="keypress"?eZ(X):X.type==="keydown"||X.type==="keyup"?X.keyCode:0}}),RR=Z5(KR),_R=R2({},K1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),cB=Z5(_R),OR=R2({},tX,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:CG}),LR=Z5(OR),FR=R2({},k8,{propertyName:0,elapsedTime:0,pseudoElement:0}),NR=Z5(FR),wR=R2({},K1,{deltaX:function(X){return"deltaX"in X?X.deltaX:("wheelDeltaX"in X)?-X.wheelDeltaX:0},deltaY:function(X){return"deltaY"in X?X.deltaY:("wheelDeltaY"in X)?-X.wheelDeltaY:("wheelDelta"in X)?-X.wheelDelta:0},deltaZ:0,deltaMode:0}),AR=Z5(wR),TR=R2({},k8,{newState:0,oldState:0}),IR=Z5(TR),PR=[9,13,27,32],sB=229,s$=f6&&"CompositionEvent"in window,XZ=null;f6&&"documentMode"in document&&(XZ=document.documentMode);var CR=f6&&"TextEvent"in window&&!XZ,aB=f6&&(!s$||XZ&&8<XZ&&11>=XZ),iB=32,nB=String.fromCharCode(iB),oB=!1,b9=!1,SR={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},ZZ=null,GZ=null,rB=!1;f6&&(rB=iM("input")&&(!document.documentMode||9<document.documentMode));var o4=typeof Object.is==="function"?Object.is:Xq,vR=f6&&"documentMode"in document&&11>=document.documentMode,y9=null,a$=null,$Z=null,i$=!1,f9={animationend:K8("Animation","AnimationEnd"),animationiteration:K8("Animation","AnimationIteration"),animationstart:K8("Animation","AnimationStart"),transitionrun:K8("Transition","TransitionRun"),transitionstart:K8("Transition","TransitionStart"),transitioncancel:K8("Transition","TransitionCancel"),transitionend:K8("Transition","TransitionEnd")},n$={},tB={};f6&&(tB=document.createElement("div").style,("AnimationEvent"in window)||(delete f9.animationend.animation,delete f9.animationiteration.animation,delete f9.animationstart.animation),("TransitionEvent"in window)||delete f9.transitionend.transition);var eB=R8("animationend"),XH=R8("animationiteration"),ZH=R8("animationstart"),kR=R8("transitionrun"),gR=R8("transitionstart"),bR=R8("transitioncancel"),GH=R8("transitionend"),$H=new Map,o$="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");o$.push("scrollEnd");var YH=0;if(typeof performance==="object"&&typeof performance.now==="function")var yR=performance,zH=function(){return yR.now()};else{var fR=Date;zH=function(){return fR.now()}}var r$=typeof reportError==="function"?reportError:function(X){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof X==="object"&&X!==null&&typeof X.message==="string"?String(X.message):String(X),error:X});if(!window.dispatchEvent(Z))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",X);return}console.error(X)},jR="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",R1=0,t$=1,e$=2,XY=3,_1="– ",O1="+ ",JH=" ",o2=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",x5="Components ⚛",_2="Scheduler ⚛",L2="Blocking",x7=!1,e6={color:"primary",properties:null,tooltipText:"",track:x5},D7={start:-0,end:-0,detail:{devtools:e6}},VR=["Changed Props",""],QH="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",xR=["Changed Props",QH],YZ=1,X7=2,D5=[],j9=0,ZY=0,E7={};Object.freeze(E7);var E5=null,V9=null,Z2=0,DR=1,H2=2,l4=8,e5=16,ER=32,UH=!1;try{var BH=Object.preventExtensions({})}catch(X){UH=!0}var GY=new WeakMap,x9=[],D9=0,L1=null,zZ=0,h5=[],m5=0,g8=null,Z7=1,G7="",h4=null,r2=null,N2=!1,j6=!1,C5=null,h7=null,u5=!1,$Y=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),YY=M4(null),zY=M4(null),HH={},F1=null,E9=null,h9=!1,hR=typeof AbortController<"u"?AbortController:function(){var X=[],Z=this.signal={aborted:!1,addEventListener:function(G,$){X.push($)}};this.abort=function(){Z.aborted=!0,X.forEach(function(G){return G()})}},mR=C2.unstable_scheduleCallback,uR=C2.unstable_NormalPriority,q4={$$typeof:v6,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},K4=C2.unstable_now,N1=console.createTask?console.createTask:function(){return null},JZ=1,w1=2,k4=-0,m7=-0,$7=-0,Y7=null,r4=-1.1,b8=-0,Z4=-0,r=-1.1,e=-1.1,X4=null,Q4=!1,u7=-0,V6=-1.1,QZ=null,d7=0,JY=null,QY=null,y8=-1.1,UZ=null,m9=-1.1,A1=-1.1,x6=-0,z7=-1.1,d5=-1.1,UY=0,BZ=null,WH=null,MH=null,l7=-1.1,f8=null,p7=-1.1,T1=-1.1,qH=-0,KH=-0,I1=0,J7=null,RH=0,HZ=-1.1,P1=!1,C1=!1,WZ=null,BY=0,j8=0,u9=null,_H=b.S;b.S=function(X,Z){if(WW=v4(),typeof Z==="object"&&Z!==null&&typeof Z.then==="function"){if(0>z7&&0>d5){z7=K4();var G=uX(),$=mX();if(G!==p7||$!==f8)p7=-1.1;l7=G,f8=$}Qq(X,Z)}_H!==null&&_H(X,Z)};var V8=M4(null),X6={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},MZ=[],qZ=[],KZ=[],RZ=[],_Z=[],OZ=[],x8=new Set;X6.recordUnsafeLifecycleWarnings=function(X,Z){x8.has(X.type)||(typeof Z.componentWillMount==="function"&&Z.componentWillMount.__suppressDeprecationWarning!==!0&&MZ.push(X),X.mode&l4&&typeof Z.UNSAFE_componentWillMount==="function"&&qZ.push(X),typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&KZ.push(X),X.mode&l4&&typeof Z.UNSAFE_componentWillReceiveProps==="function"&&RZ.push(X),typeof Z.componentWillUpdate==="function"&&Z.componentWillUpdate.__suppressDeprecationWarning!==!0&&_Z.push(X),X.mode&l4&&typeof Z.UNSAFE_componentWillUpdate==="function"&&OZ.push(X))},X6.flushPendingUnsafeLifecycleWarnings=function(){var X=new Set;0<MZ.length&&(MZ.forEach(function(B){X.add(p(B)||"Component"),x8.add(B.type)}),MZ=[]);var Z=new Set;0<qZ.length&&(qZ.forEach(function(B){Z.add(p(B)||"Component"),x8.add(B.type)}),qZ=[]);var G=new Set;0<KZ.length&&(KZ.forEach(function(B){G.add(p(B)||"Component"),x8.add(B.type)}),KZ=[]);var $=new Set;0<RZ.length&&(RZ.forEach(function(B){$.add(p(B)||"Component"),x8.add(B.type)}),RZ=[]);var Y=new Set;0<_Z.length&&(_Z.forEach(function(B){Y.add(p(B)||"Component"),x8.add(B.type)}),_Z=[]);var z=new Set;if(0<OZ.length&&(OZ.forEach(function(B){z.add(p(B)||"Component"),x8.add(B.type)}),OZ=[]),0<Z.size){var J=C(Z);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
185
|
-
|
|
186
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
187
|
-
|
|
188
|
-
Please update the following components: %s`,J)}0<$.size&&(J=C($),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
189
|
-
|
|
190
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
191
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
192
|
-
|
|
193
|
-
Please update the following components: %s`,J)),0<z.size&&(J=C(z),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
194
|
-
|
|
195
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
-
|
|
197
|
-
Please update the following components: %s`,J)),0<X.size&&(J=C(X),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
198
|
-
|
|
199
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
200
|
-
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
201
|
-
|
|
202
|
-
Please update the following components: %s`,J)),0<G.size&&(J=C(G),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
-
|
|
204
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
205
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
206
|
-
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
207
|
-
|
|
208
|
-
Please update the following components: %s`,J)),0<Y.size&&(J=C(Y),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
209
|
-
|
|
210
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
211
|
-
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
212
|
-
|
|
213
|
-
Please update the following components: %s`,J))};var S1=new Map,OH=new Set;X6.recordLegacyContextWarning=function(X,Z){var G=null;for(var $=X;$!==null;)$.mode&l4&&(G=$),$=$.return;G===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!OH.has(X.type)&&($=S1.get(G),X.type.contextTypes!=null||X.type.childContextTypes!=null||Z!==null&&typeof Z.getChildContext==="function")&&($===void 0&&($=[],S1.set(G,$)),$.push(X))},X6.flushLegacyContextWarning=function(){S1.forEach(function(X){if(X.length!==0){var Z=X[0],G=new Set;X.forEach(function(Y){G.add(p(Y)||"Component"),OH.add(Y.type)});var $=C(G);s(Z,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
214
|
-
|
|
215
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
216
|
-
|
|
217
|
-
Please update the following components: %s
|
|
218
|
-
|
|
219
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,$)})}})},X6.discardPendingWarnings=function(){MZ=[],qZ=[],KZ=[],RZ=[],_Z=[],OZ=[],S1=new Map};var LH={react_stack_bottom_frame:function(X,Z,G){var $=k6;k6=!0;try{return X(Z,G)}finally{k6=$}}},HY=LH.react_stack_bottom_frame.bind(LH),FH={react_stack_bottom_frame:function(X){var Z=k6;k6=!0;try{return X.render()}finally{k6=Z}}},NH=FH.react_stack_bottom_frame.bind(FH),wH={react_stack_bottom_frame:function(X,Z){try{Z.componentDidMount()}catch(G){g2(X,X.return,G)}}},WY=wH.react_stack_bottom_frame.bind(wH),AH={react_stack_bottom_frame:function(X,Z,G,$,Y){try{Z.componentDidUpdate(G,$,Y)}catch(z){g2(X,X.return,z)}}},TH=AH.react_stack_bottom_frame.bind(AH),IH={react_stack_bottom_frame:function(X,Z){var G=Z.stack;X.componentDidCatch(Z.value,{componentStack:G!==null?G:""})}},dR=IH.react_stack_bottom_frame.bind(IH),PH={react_stack_bottom_frame:function(X,Z,G){try{G.componentWillUnmount()}catch($){g2(X,Z,$)}}},CH=PH.react_stack_bottom_frame.bind(PH),SH={react_stack_bottom_frame:function(X){var Z=X.create;return X=X.inst,Z=Z(),X.destroy=Z}},lR=SH.react_stack_bottom_frame.bind(SH),vH={react_stack_bottom_frame:function(X,Z,G){try{G()}catch($){g2(X,Z,$)}}},pR=vH.react_stack_bottom_frame.bind(vH),kH={react_stack_bottom_frame:function(X){var Z=X._init;return Z(X._payload)}},cR=kH.react_stack_bottom_frame.bind(kH),d9=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),MY=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),v1=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),k1={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},D8=null,LZ=!1,l9=null,FZ=0,W2=null,qY,gH=qY=!1,bH={},yH={},fH={};f=function(X,Z,G){if(G!==null&&typeof G==="object"&&G._store&&(!G._store.validated&&G.key==null||G._store.validated===2)){if(typeof G._store!=="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");G._store.validated=1;var $=p(X),Y=$||"null";if(!bH[Y]){bH[Y]=!0,G=G._owner,X=X._debugOwner;var z="";X&&typeof X.tag==="number"&&(Y=p(X))&&(z=`
|
|
220
|
-
|
|
221
|
-
Check the render method of \``+Y+"`."),z||$&&(z=`
|
|
222
|
-
|
|
223
|
-
Check the top-level render call using <`+$+">.");var J="";G!=null&&X!==G&&($=null,typeof G.tag==="number"?$=p(G):typeof G.name==="string"&&($=G.name),$&&(J=" It was passed a child from "+$+".")),s(Z,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',z,J)})}}};var E8=PJ(!0),jH=PJ(!1),VH=0,xH=1,DH=2,KY=3,c7=!1,EH=!1,RY=null,_Y=!1,p9=M4(null),g1=M4(0),S5=M4(null),l5=null,c9=1,NZ=2,H4=M4(0),b1=0,p5=1,t4=2,v5=4,e4=8,s9,hH=new Set,mH=new Set,OY=new Set,uH=new Set,Q7=0,G2=null,d2=null,R4=null,y1=!1,a9=!1,h8=!1,f1=0,wZ=0,U7=null,sR=0,aR=25,g=null,c5=null,B7=-1,AZ=!1,TZ={readContext:e2,use:S7,useCallback:U4,useContext:U4,useEffect:U4,useImperativeHandle:U4,useLayoutEffect:U4,useInsertionEffect:U4,useMemo:U4,useReducer:U4,useRef:U4,useState:U4,useDebugValue:U4,useDeferredValue:U4,useTransition:U4,useSyncExternalStore:U4,useId:U4,useHostTransitionStatus:U4,useFormState:U4,useActionState:U4,useOptimistic:U4,useMemoCache:U4,useCacheRefresh:U4};TZ.useEffectEvent=U4;var LY=null,dH=null,FY=null,lH=null,D6=null,Z6=null,j1=null;LY={readContext:function(X){return e2(X)},use:S7,useCallback:function(X,Z){return g="useCallback",K2(),B9(Z),_3(X,Z)},useContext:function(X){return g="useContext",K2(),e2(X)},useEffect:function(X,Z){return g="useEffect",K2(),B9(Z),S0(X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",K2(),B9(G),R3(X,Z,G)},useInsertionEffect:function(X,Z){g="useInsertionEffect",K2(),B9(Z),T8(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",K2(),B9(Z),K3(X,Z)},useMemo:function(X,Z){g="useMemo",K2(),B9(Z);var G=b.H;b.H=D6;try{return O3(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",K2();var $=b.H;b.H=D6;try{return z3(X,Z,G)}finally{b.H=$}},useRef:function(X){return g="useRef",K2(),M3(X)},useState:function(X){g="useState",K2();var Z=b.H;b.H=D6;try{return B3(X)}finally{b.H=Z}},useDebugValue:function(){g="useDebugValue",K2()},useDeferredValue:function(X,Z){return g="useDeferredValue",K2(),L3(X,Z)},useTransition:function(){return g="useTransition",K2(),w3()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",K2(),Q3(X,Z,G)},useId:function(){return g="useId",K2(),A3()},useFormState:function(X,Z){return g="useFormState",K2(),A0(),W9(X,Z)},useActionState:function(X,Z){return g="useActionState",K2(),W9(X,Z)},useOptimistic:function(X){return g="useOptimistic",K2(),H3(X)},useHostTransitionStatus:I8,useMemoCache:A8,useCacheRefresh:function(){return g="useCacheRefresh",K2(),T3()},useEffectEvent:function(X){return g="useEffectEvent",K2(),q3(X)}},dH={readContext:function(X){return e2(X)},use:S7,useCallback:function(X,Z){return g="useCallback",D(),_3(X,Z)},useContext:function(X){return g="useContext",D(),e2(X)},useEffect:function(X,Z){return g="useEffect",D(),S0(X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",D(),R3(X,Z,G)},useInsertionEffect:function(X,Z){g="useInsertionEffect",D(),T8(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",D(),K3(X,Z)},useMemo:function(X,Z){g="useMemo",D();var G=b.H;b.H=D6;try{return O3(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",D();var $=b.H;b.H=D6;try{return z3(X,Z,G)}finally{b.H=$}},useRef:function(X){return g="useRef",D(),M3(X)},useState:function(X){g="useState",D();var Z=b.H;b.H=D6;try{return B3(X)}finally{b.H=Z}},useDebugValue:function(){g="useDebugValue",D()},useDeferredValue:function(X,Z){return g="useDeferredValue",D(),L3(X,Z)},useTransition:function(){return g="useTransition",D(),w3()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",D(),Q3(X,Z,G)},useId:function(){return g="useId",D(),A3()},useActionState:function(X,Z){return g="useActionState",D(),W9(X,Z)},useFormState:function(X,Z){return g="useFormState",D(),A0(),W9(X,Z)},useOptimistic:function(X){return g="useOptimistic",D(),H3(X)},useHostTransitionStatus:I8,useMemoCache:A8,useCacheRefresh:function(){return g="useCacheRefresh",D(),T3()},useEffectEvent:function(X){return g="useEffectEvent",D(),q3(X)}},FY={readContext:function(X){return e2(X)},use:S7,useCallback:function(X,Z){return g="useCallback",D(),g0(X,Z)},useContext:function(X){return g="useContext",D(),e2(X)},useEffect:function(X,Z){g="useEffect",D(),G5(2048,e4,X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",D(),k0(X,Z,G)},useInsertionEffect:function(X,Z){return g="useInsertionEffect",D(),G5(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",D(),G5(4,v5,X,Z)},useMemo:function(X,Z){g="useMemo",D();var G=b.H;b.H=Z6;try{return b0(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",D();var $=b.H;b.H=Z6;try{return H9(X,Z,G)}finally{b.H=$}},useRef:function(){return g="useRef",D(),D2().memoizedState},useState:function(){g="useState",D();var X=b.H;b.H=Z6;try{return H9(n5)}finally{b.H=X}},useDebugValue:function(){g="useDebugValue",D()},useDeferredValue:function(X,Z){return g="useDeferredValue",D(),aJ(X,Z)},useTransition:function(){return g="useTransition",D(),eJ()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",D(),I0(X,Z,G)},useId:function(){return g="useId",D(),D2().memoizedState},useFormState:function(X){return g="useFormState",D(),A0(),P0(X)},useActionState:function(X){return g="useActionState",D(),P0(X)},useOptimistic:function(X,Z){return g="useOptimistic",D(),DJ(X,Z)},useHostTransitionStatus:I8,useMemoCache:A8,useCacheRefresh:function(){return g="useCacheRefresh",D(),D2().memoizedState},useEffectEvent:function(X){return g="useEffectEvent",D(),v0(X)}},lH={readContext:function(X){return e2(X)},use:S7,useCallback:function(X,Z){return g="useCallback",D(),g0(X,Z)},useContext:function(X){return g="useContext",D(),e2(X)},useEffect:function(X,Z){g="useEffect",D(),G5(2048,e4,X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",D(),k0(X,Z,G)},useInsertionEffect:function(X,Z){return g="useInsertionEffect",D(),G5(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",D(),G5(4,v5,X,Z)},useMemo:function(X,Z){g="useMemo",D();var G=b.H;b.H=j1;try{return b0(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",D();var $=b.H;b.H=j1;try{return vX(X,Z,G)}finally{b.H=$}},useRef:function(){return g="useRef",D(),D2().memoizedState},useState:function(){g="useState",D();var X=b.H;b.H=j1;try{return vX(n5)}finally{b.H=X}},useDebugValue:function(){g="useDebugValue",D()},useDeferredValue:function(X,Z){return g="useDeferredValue",D(),iJ(X,Z)},useTransition:function(){return g="useTransition",D(),XQ()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",D(),I0(X,Z,G)},useId:function(){return g="useId",D(),D2().memoizedState},useFormState:function(X){return g="useFormState",D(),A0(),C0(X)},useActionState:function(X){return g="useActionState",D(),C0(X)},useOptimistic:function(X,Z){return g="useOptimistic",D(),hJ(X,Z)},useHostTransitionStatus:I8,useMemoCache:A8,useCacheRefresh:function(){return g="useCacheRefresh",D(),D2().memoizedState},useEffectEvent:function(X){return g="useEffectEvent",D(),v0(X)}},D6={readContext:function(X){return j(),e2(X)},use:function(X){return O(),S7(X)},useCallback:function(X,Z){return g="useCallback",O(),K2(),_3(X,Z)},useContext:function(X){return g="useContext",O(),K2(),e2(X)},useEffect:function(X,Z){return g="useEffect",O(),K2(),S0(X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",O(),K2(),R3(X,Z,G)},useInsertionEffect:function(X,Z){g="useInsertionEffect",O(),K2(),T8(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",O(),K2(),K3(X,Z)},useMemo:function(X,Z){g="useMemo",O(),K2();var G=b.H;b.H=D6;try{return O3(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",O(),K2();var $=b.H;b.H=D6;try{return z3(X,Z,G)}finally{b.H=$}},useRef:function(X){return g="useRef",O(),K2(),M3(X)},useState:function(X){g="useState",O(),K2();var Z=b.H;b.H=D6;try{return B3(X)}finally{b.H=Z}},useDebugValue:function(){g="useDebugValue",O(),K2()},useDeferredValue:function(X,Z){return g="useDeferredValue",O(),K2(),L3(X,Z)},useTransition:function(){return g="useTransition",O(),K2(),w3()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",O(),K2(),Q3(X,Z,G)},useId:function(){return g="useId",O(),K2(),A3()},useFormState:function(X,Z){return g="useFormState",O(),K2(),W9(X,Z)},useActionState:function(X,Z){return g="useActionState",O(),K2(),W9(X,Z)},useOptimistic:function(X){return g="useOptimistic",O(),K2(),H3(X)},useMemoCache:function(X){return O(),A8(X)},useHostTransitionStatus:I8,useCacheRefresh:function(){return g="useCacheRefresh",K2(),T3()},useEffectEvent:function(X){return g="useEffectEvent",O(),K2(),q3(X)}},Z6={readContext:function(X){return j(),e2(X)},use:function(X){return O(),S7(X)},useCallback:function(X,Z){return g="useCallback",O(),D(),g0(X,Z)},useContext:function(X){return g="useContext",O(),D(),e2(X)},useEffect:function(X,Z){g="useEffect",O(),D(),G5(2048,e4,X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",O(),D(),k0(X,Z,G)},useInsertionEffect:function(X,Z){return g="useInsertionEffect",O(),D(),G5(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",O(),D(),G5(4,v5,X,Z)},useMemo:function(X,Z){g="useMemo",O(),D();var G=b.H;b.H=Z6;try{return b0(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",O(),D();var $=b.H;b.H=Z6;try{return H9(X,Z,G)}finally{b.H=$}},useRef:function(){return g="useRef",O(),D(),D2().memoizedState},useState:function(){g="useState",O(),D();var X=b.H;b.H=Z6;try{return H9(n5)}finally{b.H=X}},useDebugValue:function(){g="useDebugValue",O(),D()},useDeferredValue:function(X,Z){return g="useDeferredValue",O(),D(),aJ(X,Z)},useTransition:function(){return g="useTransition",O(),D(),eJ()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",O(),D(),I0(X,Z,G)},useId:function(){return g="useId",O(),D(),D2().memoizedState},useFormState:function(X){return g="useFormState",O(),D(),P0(X)},useActionState:function(X){return g="useActionState",O(),D(),P0(X)},useOptimistic:function(X,Z){return g="useOptimistic",O(),D(),DJ(X,Z)},useMemoCache:function(X){return O(),A8(X)},useHostTransitionStatus:I8,useCacheRefresh:function(){return g="useCacheRefresh",D(),D2().memoizedState},useEffectEvent:function(X){return g="useEffectEvent",O(),D(),v0(X)}},j1={readContext:function(X){return j(),e2(X)},use:function(X){return O(),S7(X)},useCallback:function(X,Z){return g="useCallback",O(),D(),g0(X,Z)},useContext:function(X){return g="useContext",O(),D(),e2(X)},useEffect:function(X,Z){g="useEffect",O(),D(),G5(2048,e4,X,Z)},useImperativeHandle:function(X,Z,G){return g="useImperativeHandle",O(),D(),k0(X,Z,G)},useInsertionEffect:function(X,Z){return g="useInsertionEffect",O(),D(),G5(4,t4,X,Z)},useLayoutEffect:function(X,Z){return g="useLayoutEffect",O(),D(),G5(4,v5,X,Z)},useMemo:function(X,Z){g="useMemo",O(),D();var G=b.H;b.H=Z6;try{return b0(X,Z)}finally{b.H=G}},useReducer:function(X,Z,G){g="useReducer",O(),D();var $=b.H;b.H=Z6;try{return vX(X,Z,G)}finally{b.H=$}},useRef:function(){return g="useRef",O(),D(),D2().memoizedState},useState:function(){g="useState",O(),D();var X=b.H;b.H=Z6;try{return vX(n5)}finally{b.H=X}},useDebugValue:function(){g="useDebugValue",O(),D()},useDeferredValue:function(X,Z){return g="useDeferredValue",O(),D(),iJ(X,Z)},useTransition:function(){return g="useTransition",O(),D(),XQ()},useSyncExternalStore:function(X,Z,G){return g="useSyncExternalStore",O(),D(),I0(X,Z,G)},useId:function(){return g="useId",O(),D(),D2().memoizedState},useFormState:function(X){return g="useFormState",O(),D(),C0(X)},useActionState:function(X){return g="useActionState",O(),D(),C0(X)},useOptimistic:function(X,Z){return g="useOptimistic",O(),D(),hJ(X,Z)},useMemoCache:function(X){return O(),A8(X)},useHostTransitionStatus:I8,useCacheRefresh:function(){return g="useCacheRefresh",D(),D2().memoizedState},useEffectEvent:function(X){return g="useEffectEvent",O(),D(),v0(X)}};var pH={},cH=new Set,sH=new Set,aH=new Set,iH=new Set,nH=new Set,oH=new Set,rH=new Set,tH=new Set,eH=new Set,XW=new Set;Object.freeze(pH);var NY={enqueueSetState:function(X,Z,G){X=X._reactInternals;var $=w5(X),Y=T7($);Y.payload=Z,G!==void 0&&G!==null&&(P3(G),Y.callback=G),Z=I7(X,Y,$),Z!==null&&(K6($,"this.setState()",X),J4(Z,X,$),IX(Z,X,$))},enqueueReplaceState:function(X,Z,G){X=X._reactInternals;var $=w5(X),Y=T7($);Y.tag=xH,Y.payload=Z,G!==void 0&&G!==null&&(P3(G),Y.callback=G),Z=I7(X,Y,$),Z!==null&&(K6($,"this.replaceState()",X),J4(Z,X,$),IX(Z,X,$))},enqueueForceUpdate:function(X,Z){X=X._reactInternals;var G=w5(X),$=T7(G);$.tag=DH,Z!==void 0&&Z!==null&&(P3(Z),$.callback=Z),Z=I7(X,$,G),Z!==null&&(K6(G,"this.forceUpdate()",X),J4(Z,X,G),IX(Z,X,G))}},i9=null,wY=null,AY=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),_4=!1,ZW={},GW={},$W={},YW={},n9=!1,zW={},V1={},TY={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},JW=!1,QW=null;QW=new Set;var H7=!1,O4=!1,IY=!1,UW=typeof WeakSet==="function"?WeakSet:Set,g4=null,o9=null,r9=null,L4=null,z5=!1,G6=null,A4=!1,IZ=8192,iR={getCacheForType:function(X){var Z=e2(q4),G=Z.data.get(X);return G===void 0&&(G=X(),Z.data.set(X,G)),G},cacheSignal:function(){return e2(q4).controller.signal},getOwner:function(){return I5}};if(typeof Symbol==="function"&&Symbol.for){var PZ=Symbol.for;PZ("selector.component"),PZ("selector.has_pseudo_class"),PZ("selector.role"),PZ("selector.test_id"),PZ("selector.text")}var nR=[],oR=typeof WeakMap==="function"?WeakMap:Map,b4=0,T4=2,k5=4,W7=0,CZ=1,m8=2,x1=3,s7=4,D1=6,BW=5,I2=b4,l2=null,q2=null,M2=0,J5=0,E1=1,u8=2,SZ=3,HW=4,PY=5,vZ=6,h1=7,CY=8,d8=9,E2=J5,g5=null,a7=!1,t9=!1,SY=!1,E6=0,G4=W7,i7=0,n7=0,vY=0,Q5=0,l8=0,kZ=null,X5=null,m1=!1,u1=0,WW=0,MW=300,d1=1/0,qW=500,gZ=null,B4=null,o7=null,l1=0,kY=1,gY=2,KW=3,r7=0,RW=1,_W=2,OW=3,LW=4,p1=5,F4=0,t7=null,e9=null,$6=0,bY=0,yY=-0,fY=null,FW=null,NW=null,Y6=l1,wW=null,rR=50,bZ=0,jY=null,VY=!1,c1=!1,tR=50,p8=0,yZ=null,XX=!1,s1=null,AW=!1,TW=new Set,eR={},a1=null,ZX=null,xY=!1,DY=!1,i1=!1,EY=!1,e7=0,hY={};(function(){for(var X=0;X<o$.length;X++){var Z=o$[X],G=Z.toLowerCase();Z=Z[0].toUpperCase()+Z.slice(1),i5(G,"on"+Z)}i5(eB,"onAnimationEnd"),i5(XH,"onAnimationIteration"),i5(ZH,"onAnimationStart"),i5("dblclick","onDoubleClick"),i5("focusin","onFocus"),i5("focusout","onBlur"),i5(kR,"onTransitionRun"),i5(gR,"onTransitionStart"),i5(bR,"onTransitionCancel"),i5(GH,"onTransitionEnd")})(),K5("onMouseEnter",["mouseout","mouseover"]),K5("onMouseLeave",["mouseout","mouseover"]),K5("onPointerEnter",["pointerout","pointerover"]),K5("onPointerLeave",["pointerout","pointerover"]),m4("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),m4("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),m4("onBeforeInput",["compositionend","keypress","textInput","paste"]),m4("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),m4("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),m4("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fZ="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mY=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(fZ)),n1="_reactListening"+Math.random().toString(36).slice(2),IW=!1,PW=!1,o1=!1,CW=!1,r1=!1,t1=!1,SW=!1,e1={},X_=/\r\n?/g,Z_=/\u0000|\uFFFD/g,c8="http://www.w3.org/1999/xlink",uY="http://www.w3.org/XML/1998/namespace",G_="javascript:throw new Error('React form unexpectedly submitted.')",$_="suppressHydrationWarning",s8="&",XG="/&",jZ="$",VZ="/$",X8="$?",a8="$~",GX="$!",Y_="html",z_="body",J_="head",dY="F!",vW="F",kW="loading",Q_="style",M7=0,$X=1,ZG=2,lY=null,pY=null,gW={dialog:!0,webview:!0},cY=null,xZ=void 0,bW=typeof setTimeout==="function"?setTimeout:void 0,U_=typeof clearTimeout==="function"?clearTimeout:void 0,i8=-1,yW=typeof Promise==="function"?Promise:void 0,B_=typeof queueMicrotask==="function"?queueMicrotask:typeof yW<"u"?function(X){return yW.resolve(null).then(X).catch(aq)}:bW,sY=null,n8=0,DZ=1,fW=2,jW=3,s5=4,a5=new Map,VW=new Set,q7=b2.d;b2.d={f:function(){var X=q7.f(),Z=_9();return X||Z},r:function(X){var Z=J2(X);Z!==null&&Z.tag===5&&Z.type==="form"?tJ(Z):q7.r(X)},D:function(X){q7.D(X),cU("dns-prefetch",X,null)},C:function(X,Z){q7.C(X,Z),cU("preconnect",X,Z)},L:function(X,Z,G){q7.L(X,Z,G);var $=YX;if($&&X&&Z){var Y='link[rel="preload"][as="'+j5(Z)+'"]';Z==="image"?G&&G.imageSrcSet?(Y+='[imagesrcset="'+j5(G.imageSrcSet)+'"]',typeof G.imageSizes==="string"&&(Y+='[imagesizes="'+j5(G.imageSizes)+'"]')):Y+='[href="'+j5(X)+'"]':Y+='[href="'+j5(X)+'"]';var z=Y;switch(Z){case"style":z=F9(X);break;case"script":z=N9(X)}a5.has(z)||(X=R2({rel:"preload",href:Z==="image"&&G&&G.imageSrcSet?void 0:X,as:Z},G),a5.set(z,X),$.querySelector(Y)!==null||Z==="style"&&$.querySelector(lX(z))||Z==="script"&&$.querySelector(pX(z))||(Z=$.createElement("link"),D4(Z,"link",X),o(Z),$.head.appendChild(Z)))}},m:function(X,Z){q7.m(X,Z);var G=YX;if(G&&X){var $=Z&&typeof Z.as==="string"?Z.as:"script",Y='link[rel="modulepreload"][as="'+j5($)+'"][href="'+j5(X)+'"]',z=Y;switch($){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":z=N9(X)}if(!a5.has(z)&&(X=R2({rel:"modulepreload",href:X},Z),a5.set(z,X),G.querySelector(Y)===null)){switch($){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(G.querySelector(pX(z)))return}$=G.createElement("link"),D4($,"link",X),o($),G.head.appendChild($)}}},X:function(X,Z){q7.X(X,Z);var G=YX;if(G&&X){var $=P2(G).hoistableScripts,Y=N9(X),z=$.get(Y);z||(z=G.querySelector(pX(Y)),z||(X=R2({src:X,async:!0},Z),(Z=a5.get(Y))&&R$(X,Z),z=G.createElement("script"),o(z),D4(z,"link",X),G.head.appendChild(z)),z={type:"script",instance:z,count:1,state:null},$.set(Y,z))}},S:function(X,Z,G){q7.S(X,Z,G);var $=YX;if($&&X){var Y=P2($).hoistableStyles,z=F9(X);Z=Z||"default";var J=Y.get(z);if(!J){var B={loading:n8,preload:null};if(J=$.querySelector(lX(z)))B.loading=DZ|s5;else{X=R2({rel:"stylesheet",href:X,"data-precedence":Z},G),(G=a5.get(z))&&K$(X,G);var H=J=$.createElement("link");o(H),D4(H,"link",X),H._p=new Promise(function(W,I){H.onload=W,H.onerror=I}),H.addEventListener("load",function(){B.loading|=DZ}),H.addEventListener("error",function(){B.loading|=fW}),B.loading|=s5,o0(J,Z,$)}J={type:"stylesheet",instance:J,count:1,state:B},Y.set(z,J)}}},M:function(X,Z){q7.M(X,Z);var G=YX;if(G&&X){var $=P2(G).hoistableScripts,Y=N9(X),z=$.get(Y);z||(z=G.querySelector(pX(Y)),z||(X=R2({src:X,async:!0,type:"module"},Z),(Z=a5.get(Y))&&R$(X,Z),z=G.createElement("script"),o(z),D4(z,"link",X),G.head.appendChild(z)),z={type:"script",instance:z,count:1,state:null},$.set(Y,z))}}};var YX=typeof document>"u"?null:document,GG=null,H_=60000,W_=800,M_=500,aY=0,iY=null,$G=null,o8=SK,EZ={$$typeof:v6,Provider:null,Consumer:null,_currentValue:o8,_currentValue2:o8,_threadCount:0},xW="%c%s%c",DW="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",EW="",YG=" ",q_=Function.prototype.bind,hW=!1,mW=null,uW=null,dW=null,lW=null,pW=null,cW=null,sW=null,aW=null,iW=null,nW=null;mW=function(X,Z,G,$){Z=U(X,Z),Z!==null&&(G=q(Z.memoizedState,G,0,$),Z.memoizedState=G,Z.baseState=G,X.memoizedProps=R2({},X.memoizedProps),G=u4(X,2),G!==null&&J4(G,X,2))},uW=function(X,Z,G){Z=U(X,Z),Z!==null&&(G=F(Z.memoizedState,G,0),Z.memoizedState=G,Z.baseState=G,X.memoizedProps=R2({},X.memoizedProps),G=u4(X,2),G!==null&&J4(G,X,2))},dW=function(X,Z,G,$){Z=U(X,Z),Z!==null&&(G=R(Z.memoizedState,G,$),Z.memoizedState=G,Z.baseState=G,X.memoizedProps=R2({},X.memoizedProps),G=u4(X,2),G!==null&&J4(G,X,2))},lW=function(X,Z,G){X.pendingProps=q(X.memoizedProps,Z,0,G),X.alternate&&(X.alternate.pendingProps=X.pendingProps),Z=u4(X,2),Z!==null&&J4(Z,X,2)},pW=function(X,Z){X.pendingProps=F(X.memoizedProps,Z,0),X.alternate&&(X.alternate.pendingProps=X.pendingProps),Z=u4(X,2),Z!==null&&J4(Z,X,2)},cW=function(X,Z,G){X.pendingProps=R(X.memoizedProps,Z,G),X.alternate&&(X.alternate.pendingProps=X.pendingProps),Z=u4(X,2),Z!==null&&J4(Z,X,2)},sW=function(X){var Z=u4(X,2);Z!==null&&J4(Z,X,2)},aW=function(X){var Z=G9(),G=u4(X,Z);G!==null&&J4(G,X,Z)},iW=function(X){A=X},nW=function(X){_=X};var zG=!0,JG=null,nY=!1,Z8=null,G8=null,$8=null,hZ=new Map,mZ=new Map,Y8=[],K_="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),QG=null;if(Z1.prototype.render=w$.prototype.render=function(X){var Z=this._internalRoot;if(Z===null)throw Error("Cannot update an unmounted root.");var G=arguments;typeof G[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):n2(G[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof G[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),G=X;var $=Z.current,Y=w5($);_$($,Y,G,Z,null,null)},Z1.prototype.unmount=w$.prototype.unmount=function(){var X=arguments;if(typeof X[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),X=this._internalRoot,X!==null){this._internalRoot=null;var Z=X.containerInfo;(I2&(T4|k5))!==b4&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),_$(X.current,2,null,X,null,null),_9(),Z[j7]=null}},Z1.prototype.unstable_scheduleHydration=function(X){if(X){var Z=S();X={blockedOn:null,target:X,priority:Z};for(var G=0;G<Y8.length&&Z!==0&&Z<Y8[G].priority;G++);Y8.splice(G,0,X),G===0&&zB(X)}},function(){var X=zX.version;if(X!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
224
|
-
- react: `+(X+`
|
|
225
|
-
- react-dom: 19.2.7
|
|
226
|
-
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),b2.findDOMNode=function(X){var Z=X._reactInternals;if(Z===void 0){if(typeof X.render==="function")throw Error("Unable to find node on an unmounted component.");throw X=Object.keys(X).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+X)}return X=U6(Z),X=X!==null?u6(X):null,X=X===null?null:X.stateNode,X},!function(){var X={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:b,reconcilerVersion:"19.2.7"};return X.overrideHookState=mW,X.overrideHookStateDeletePath=uW,X.overrideHookStateRenamePath=dW,X.overrideProps=lW,X.overridePropsDeletePath=pW,X.overridePropsRenamePath=cW,X.scheduleUpdate=sW,X.scheduleRetry=aW,X.setErrorHandler=iW,X.setSuspenseHandler=nW,X.scheduleRefresh=k2,X.scheduleRoot=h,X.setRefreshHandler=i2,X.getCurrentFiber=FK,Z9(X)}()&&f6&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var oW=window.location.protocol;/^(https?|file):$/.test(oW)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(oW==="file:"?`
|
|
227
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}S_.createRoot=function(X,Z){if(!n2(X))throw Error("Target container is not a DOM element.");BB(X);var G=!1,$="",Y=JQ,z=QQ,J=UQ;return Z!==null&&Z!==void 0&&(Z.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof Z==="object"&&Z!==null&&Z.$$typeof===S6&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
228
|
-
|
|
229
|
-
let root = createRoot(domContainer);
|
|
230
|
-
root.render(<App />);`),Z.unstable_strictMode===!0&&(G=!0),Z.identifierPrefix!==void 0&&($=Z.identifierPrefix),Z.onUncaughtError!==void 0&&(Y=Z.onUncaughtError),Z.onCaughtError!==void 0&&(z=Z.onCaughtError),Z.onRecoverableError!==void 0&&(J=Z.onRecoverableError)),Z=tU(X,1,!1,null,null,G,$,null,Y,z,J,UB),X[j7]=Z.current,G$(X),new w$(Z)},S_.hydrateRoot=function(X,Z,G){if(!n2(X))throw Error("Target container is not a DOM element.");BB(X),Z===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var $=!1,Y="",z=JQ,J=QQ,B=UQ,H=null;return G!==null&&G!==void 0&&(G.unstable_strictMode===!0&&($=!0),G.identifierPrefix!==void 0&&(Y=G.identifierPrefix),G.onUncaughtError!==void 0&&(z=G.onUncaughtError),G.onCaughtError!==void 0&&(J=G.onCaughtError),G.onRecoverableError!==void 0&&(B=G.onRecoverableError),G.formState!==void 0&&(H=G.formState)),Z=tU(X,1,!0,Z,G!=null?G:null,$,Y,H,z,J,B,UB),Z.context=eU(null),G=Z.current,$=w5(G),$=M8($),Y=T7($),Y.callback=null,I7(G,Y,$),K6($,"hydrateRoot()",null),G=$,Z.current.lanes=G,_7(Z,G),P6(Z),X[j7]=Z.current,G$(X),new Z1(Z)},S_.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var YM=r8((zF,$M)=>{var v_=z6(GM());$M.exports=v_});var Gz=r8((V_)=>{var e8=z6(uZ());(function(){function U(x){if(x==null)return null;if(typeof x==="function")return x.$$typeof===p?null:x.displayName||x.name||null;if(typeof x==="string")return x;switch(x){case i2:return"Fragment";case W5:return"Profiler";case n2:return"StrictMode";case U6:return"Suspense";case u6:return"SuspenseList";case b5:return"Activity"}if(typeof x==="object")switch(typeof x.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case k2:return"Portal";case f4:return x.displayName||"Context";case M5:return(x._context.displayName||"Context")+".Consumer";case Q6:var z2=x.render;return x=x.displayName,x||(x=z2.displayName||z2.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case N4:return z2=x.displayName||null,z2!==null?z2:U(x.type)||"Memo";case w2:z2=x._payload,x=x._init;try{return U(x(z2))}catch(V2){}}return null}function q(x){return""+x}function R(x){try{q(x);var z2=!1}catch(h2){z2=!0}if(z2){z2=console;var V2=z2.error,x2=typeof Symbol==="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return V2.call(z2,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",x2),q(x)}}function K(x){if(x===i2)return"<>";if(typeof x==="object"&&x!==null&&x.$$typeof===w2)return"<...>";try{var z2=U(x);return z2?"<"+z2+">":"<...>"}catch(V2){return"<...>"}}function F(){var x=M4.A;return x===null?null:x.getOwner()}function _(){return Error("react-stack-top-frame")}function A(x){if(v2.call(x,"key")){var z2=Object.getOwnPropertyDescriptor(x,"key").get;if(z2&&z2.isReactWarning)return!1}return x.key!==void 0}function O(x,z2){function V2(){l||(l=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",z2))}V2.isReactWarning=!0,Object.defineProperty(x,"key",{get:V2,configurable:!0})}function j(){var x=U(this.type);return X2[x]||(X2[x]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),x=this.props.ref,x!==void 0?x:null}function V(x,z2,V2,x2,h2,B6){var z4=V2.ref;return x={$$typeof:h,type:x,key:z2,props:V2,_owner:x2},(z4!==void 0?z4:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:j}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:h2}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:B6}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function f(x,z2,V2,x2,h2,B6){var z4=z2.children;if(z4!==void 0)if(x2)if(F2(z4)){for(x2=0;x2<z4.length;x2++)C(z4[x2]);Object.freeze&&Object.freeze(z4)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else C(z4);if(v2.call(z2,"key")){z4=U(x);var q5=Object.keys(z2).filter(function(d6){return d6!=="key"});x2=0<q5.length?"{key: someKey, "+q5.join(": ..., ")+": ...}":"{key: someKey}",j2[z4+x2]||(q5=0<q5.length?"{"+q5.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
231
|
-
let props = %s;
|
|
232
|
-
<%s {...props} />
|
|
233
|
-
React keys must be passed directly to JSX without using spread:
|
|
234
|
-
let props = %s;
|
|
235
|
-
<%s key={someKey} {...props} />`,x2,z4,q5,z4),j2[z4+x2]=!0)}if(z4=null,V2!==void 0&&(R(V2),z4=""+V2),A(z2)&&(R(z2.key),z4=""+z2.key),"key"in z2){V2={};for(var y5 in z2)y5!=="key"&&(V2[y5]=z2[y5])}else V2=z2;return z4&&O(V2,typeof x==="function"?x.displayName||x.name||"Unknown":x),V(x,z4,V2,F(),h2,B6)}function C(x){k(x)?x._store&&(x._store.validated=1):typeof x==="object"&&x!==null&&x.$$typeof===w2&&(x._payload.status==="fulfilled"?k(x._payload.value)&&x._payload.value._store&&(x._payload.value._store.validated=1):x._store&&(x._store.validated=1))}function k(x){return typeof x==="object"&&x!==null&&x.$$typeof===h}var h=Symbol.for("react.transitional.element"),k2=Symbol.for("react.portal"),i2=Symbol.for("react.fragment"),n2=Symbol.for("react.strict_mode"),W5=Symbol.for("react.profiler"),M5=Symbol.for("react.consumer"),f4=Symbol.for("react.context"),Q6=Symbol.for("react.forward_ref"),U6=Symbol.for("react.suspense"),u6=Symbol.for("react.suspense_list"),N4=Symbol.for("react.memo"),w2=Symbol.for("react.lazy"),b5=Symbol.for("react.activity"),p=Symbol.for("react.client.reference"),M4=e8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,v2=Object.prototype.hasOwnProperty,F2=Array.isArray,j4=console.createTask?console.createTask:function(){return null};e8={react_stack_bottom_frame:function(x){return x()}};var l,X2={},t=e8.react_stack_bottom_frame.bind(e8,_)(),f2=j4(K(_)),j2={};V_.Fragment=i2,V_.jsxDEV=function(x,z2,V2,x2){var h2=1e4>M4.recentlyCreatedOwnerStacks++;return f(x,z2,V2,x2,h2?Error("react-stack-top-frame"):t,h2?j4(K(x)):f2)}})()});var Y2=z6(uZ(),1),kM=z6(YM(),1);var zM="Twin Inc.";function JM(U){let q=(R)=>typeof R==="string"&&R.trim()?R:void 0;return q(U?.business_profile?.name)??q(U?.settings?.dashboard?.display_name)??"Twin Inc."}var k_=new Set(["bif","clp","djf","gnf","jpy","kmf","krw","mga","pyg","rwf","ugx","vnd","vuv","xaf","xof","xpf"]);function I4(U,q){if(typeof U!=="number"||!Number.isFinite(U))return"—";let R=String(q??"usd").toLowerCase(),K=k_.has(R),F=K?U:U/100;try{return new Intl.NumberFormat("en-US",{style:"currency",currency:R.toUpperCase(),minimumFractionDigits:K?0:2,maximumFractionDigits:K?0:2}).format(F)}catch{return`${K?F:F.toFixed(2)} ${R.toUpperCase()}`}}function tY(U){if(!U||typeof U!=="object")return"";let q=U,R=typeof q.interval==="string"?q.interval:"";if(!R)return"";let K=Number(q.interval_count);return K>1?`every ${K} ${R}s`:`every ${R}`}function eY(U){if(!U||typeof U!=="object")return"—";let q=U,R=q.card&&typeof q.card==="object"?q.card:void 0;if(R&&(R.brand||R.last4)){let K=R.brand?String(R.brand).replace(/\b\w/g,(F)=>F.toUpperCase()):"Card";return R.last4?`${K} •••• ${R.last4}`:K}return typeof q.type==="string"&&q.type?q.type:q.id??"—"}function QM(U){if(!U||typeof U!=="object")return"";let q=U,R=typeof q.code==="string"?q.code:"",K=typeof q.decline_code==="string"?q.decline_code:"",F=typeof q.message==="string"?q.message:"",_=R?K?`${R} (${K})`:R:K;if(_&&F)return`${_}: ${F}`;return _||F}function UM(U){if(!U||typeof U!=="object")return[];let q=U,R=(F)=>{if(!Array.isArray(F)||F.length===0)return I4(0,"usd");return F.map((_)=>I4(_?.amount,_?.currency)).join(", ")},K=[];if(Array.isArray(q.available))K.push({bucket:"available",text:R(q.available)});if(Array.isArray(q.pending))K.push({bucket:"pending",text:R(q.pending)});return K}function BM(U){if(!U||typeof U!=="object")return[];let q=U;return[{key:"charges_enabled",label:"Charges",enabled:q.charges_enabled===!0},{key:"payouts_enabled",label:"Payouts",enabled:q.payouts_enabled===!0},{key:"details_submitted",label:"Details submitted",enabled:q.details_submitted===!0}]}function HM(U){if(!U||typeof U!=="object")return[];let q=U.requirements;if(!q||typeof q!=="object")return[];let R=q.currently_due;return Array.isArray(R)?R.filter((K)=>typeof K==="string"):[]}var g_={customer:"customers",product:"products",price:"prices",subscription:"subscriptions",latest_invoice:"invoices",invoice:"invoices",payment_intent:"payment_intents",latest_charge:"charges",charge:"charges",payment_method:"payment_methods",default_payment_method:"payment_methods",dispute:"disputes",payout:"payouts",balance_transaction:"balance_transactions",source_transaction:"charges",setup_intent:"setup_intents",account:"accounts",destination:"accounts",credit_note:"credit_notes"},JF=new Set(Object.keys(g_));function b_(U,q){return U?new URL(".",q).pathname.replace(/\/$/,""):""}var BG=typeof document>"u"?"":b_(document.querySelector("base[href]")!==null,document.baseURI);class WM extends Error{code;constructor(U,q){super(U);this.code=q}}async function JX(U,q,R){let K={method:U,headers:{accept:"application/json"}};if(R){let A=Object.entries(R).filter(([,O])=>O!==void 0&&O!=="").map(([O,j])=>`${encodeURIComponent(O)}=${encodeURIComponent(String(j))}`).join("&");K.body=A,K.headers["content-type"]="application/x-www-form-urlencoded"}let F=await fetch(`${BG}${q}`,K),_=await F.json().catch(()=>({error:{message:`${F.status} ${F.statusText}`}}));if(_&&_.error)throw new WM(String(_.error.message??"Request failed"),_.error.code);return _}var p4=(U)=>JX("GET",U);async function S2(U){let q=U.includes("?")?"&":"?",R=await JX("GET",`${U}${q}limit=100`);return Array.isArray(R?.data)?R.data:[]}var $4=(U,q)=>U.catch(()=>q);function y_(U,q){if(q?.disputed)return"disputed";if(q?.refunded)return"refunded";if(q&&Number(q.amount_refunded)>0)return"partially_refunded";if(q?.status==="failed")return"failed";if(U){if(U.status==="succeeded")return"succeeded";if(U.status==="canceled")return"canceled";if(U.status==="requires_capture")return"uncaptured";if(U.status==="processing")return"processing";if(U.last_payment_error)return"failed";return"incomplete"}return q?.status==="succeeded"?"succeeded":q?.status==="pending"?"processing":"failed"}var f_={generic_decline:"Generic decline",insufficient_funds:"Insufficient funds",lost_card:"Lost card",stolen_card:"Stolen card",expired_card:"Expired card",incorrect_cvc:"Incorrect CVC",processing_error:"Processing error",card_declined:"Card declined"},j_=(U)=>U?f_[U]??U.replace(/_/g," "):void 0;async function HG(U){let q=[...new Set([...U].filter((K)=>typeof K==="string"&&K.startsWith("pm_")))],R=await Promise.all(q.map((K)=>$4(p4(`/v1/payment_methods/${K}`),void 0)));return new Map(R.filter((K)=>Boolean(K?.id)).map((K)=>[K.id,K]))}function Xz(U,q,R,K){let F=U??q,_=typeof F.customer==="string"?F.customer:F.customer?.id,A=typeof F.payment_method==="string"?F.payment_method:q?.payment_method,O=U?.last_payment_error,j=R.filter((V)=>U&&V.payment_intent===U.id||q&&V.charge===q.id);return{id:String(F.id),amount:Number(F.amount)||0,currency:String(F.currency??"usd"),status:y_(U,q),description:F.description??q?.description??void 0,created:Number(F.created)||0,customer:_?K.customers.get(_)??{id:_}:void 0,charge:q,intent:U,paymentMethod:A?K.paymentMethods.get(A):void 0,amountRefunded:Number(q?.amount_refunded)||j.reduce((V,f)=>V+(f.status==="failed"?0:Number(f.amount)||0),0),refundedAt:j.length?Math.max(...j.map((V)=>Number(V.created)||0)):void 0,declineReason:j_(O?.decline_code??O?.code??q?.failure_code),declineMessage:O?.message??q?.failure_message??void 0}}async function WG(){let[U,q,R,K]=await Promise.all([S2("/v1/payment_intents"),S2("/v1/charges"),$4(S2("/v1/refunds"),[]),S2("/v1/customers")]),F=new Map(q.map((j)=>[j.id,j])),_=[...U.map((j)=>j.payment_method),...q.map((j)=>j.payment_method)],A={customers:new Map(K.map((j)=>[j.id,j])),paymentMethods:await HG(_)},O=U.map((j)=>{let V=(typeof j.latest_charge==="string"?F.get(j.latest_charge):j.latest_charge)??q.find((f)=>f.payment_intent===j.id);return Xz(j,V,R,A)});for(let j of q)if(!j.payment_intent)O.push(Xz(void 0,j,R,A));return O.sort((j,V)=>V.created-j.created)}async function MM(U){let q,R;if(U.startsWith("ch_")||U.startsWith("py_")){if(R=await p4(`/v1/charges/${U}`),typeof R.payment_intent==="string")q=await $4(p4(`/v1/payment_intents/${R.payment_intent}`),void 0)}else{q=await p4(`/v1/payment_intents/${U}`);let k2=typeof q.latest_charge==="string"?q.latest_charge:q.latest_charge?.id;if(k2)R=await $4(p4(`/v1/charges/${k2}`),void 0)}let K=q??R,F=typeof K.customer==="string"?K.customer:void 0,_=typeof K.payment_method==="string"?K.payment_method:R?.payment_method,A=q?`/v1/refunds?payment_intent=${q.id}`:`/v1/refunds?charge=${R.id}`,[O,j,V,f,C]=await Promise.all([F?$4(p4(`/v1/customers/${F}`),{id:F}):Promise.resolve(void 0),HG(_?[_]:[]),$4(S2(A),[]),$4(S2("/v1/events"),[]),typeof K.invoice==="string"?$4(p4(`/v1/invoices/${K.invoice}`),void 0):Promise.resolve(void 0)]),k={customers:new Map(O?[[O.id,O]]:[]),paymentMethods:j},h=new Set([K.id,R?.id,q?.id,...V.map((k2)=>k2.id)].filter(Boolean));return{...Xz(q,R,V,k),refunds:V,events:f.filter((k2)=>h.has(k2?.data?.object?.id)).sort((k2,i2)=>i2.created-k2.created),invoice:C}}async function qM(){let[U,q,R]=await Promise.all([S2("/v1/customers"),S2("/v1/charges"),S2("/v1/payment_intents")]),K=U.map((_)=>_.invoice_settings?.default_payment_method).filter((_)=>typeof _==="string"),F=await HG(K);return U.map((_)=>{let A=q.filter((j)=>j.customer===_.id&&j.status==="succeeded"),O=_.invoice_settings?.default_payment_method;return{..._,defaultCard:typeof O==="string"?F.get(O):void 0,totalSpend:A.reduce((j,V)=>j+(Number(V.amount_captured??V.amount)||0)-(Number(V.amount_refunded)||0),0),payments:R.filter((j)=>j.customer===_.id&&j.status==="succeeded").length||A.length,refunds:A.reduce((j,V)=>j+(Number(V.amount_refunded)||0),0),currency:String(A[0]?.currency??_.currency??"usd")}})}async function KM(U){let q=await p4(`/v1/customers/${U}`),[R,K,F,_,A,O]=await Promise.all([$4(S2(`/v1/customers/${U}/payment_methods`),[]),$4(S2(`/v1/subscriptions?customer=${U}&status=all`),[]),$4(S2(`/v1/invoices?customer=${U}`),[]),WG().then((V)=>V.filter((f)=>f.customer?.id===U)),$4(S2("/v1/products"),[]),$4(S2("/v1/events"),[])]),j=new Set([U,...K.map((V)=>V.id),...F.map((V)=>V.id),..._.map((V)=>V.id)]);return{customer:q,paymentMethods:R,subscriptions:K,invoices:F,payments:_,products:new Map(A.map((V)=>[V.id,V])),events:O.filter((V)=>j.has(V?.data?.object?.id)).sort((V,f)=>f.created-V.created)}}async function RM(){let[U,q,R]=await Promise.all([S2("/v1/subscriptions?status=all"),S2("/v1/customers"),S2("/v1/products")]);return{subscriptions:U,customers:new Map(q.map((K)=>[K.id,K])),products:new Map(R.map((K)=>[K.id,K]))}}async function _M(U){let q=await p4(`/v1/subscriptions/${U}`),R=typeof q.customer==="string"?q.customer:q.customer?.id,[K,F,_,A]=await Promise.all([R?$4(p4(`/v1/customers/${R}`),void 0):Promise.resolve(void 0),$4(S2(`/v1/invoices?subscription=${U}`),[]),$4(S2("/v1/products"),[]),$4(S2("/v1/events"),[])]),O=q.default_payment_method??K?.invoice_settings?.default_payment_method,j=await HG(typeof O==="string"?[O]:[]);return{subscription:q,customer:K,invoices:F,products:new Map(_.map((V)=>[V.id,V])),events:A.filter((V)=>V?.data?.object?.id===U).sort((V,f)=>f.created-V.created),paymentMethod:typeof O==="string"?j.get(O):void 0}}async function OM(){let[U,q]=await Promise.all([S2("/v1/invoices"),S2("/v1/customers")]);return{invoices:U,customers:new Map(q.map((R)=>[R.id,R]))}}async function LM(){let[U,q]=await Promise.all([S2("/v1/products"),S2("/v1/prices")]);return{products:U,prices:q}}async function FM(){let[U,q,R,K,F]=await Promise.all([p4("/v1/balance"),WG(),S2("/v1/customers"),$4(S2("/v1/subscriptions?status=all"),[]),$4(S2("/v1/invoices"),[])]);return{balance:U,payments:q,customers:R,subscriptions:K,invoices:F}}async function NM(){let[U,q,R]=await Promise.all([p4("/v1/balance"),$4(S2("/v1/balance_transactions"),[]),$4(S2("/v1/payouts"),[])]);return{balance:U,transactions:q,payouts:R}}async function Zz(){let[U,q,R]=await Promise.all([$4(S2("/v1/events"),[]),$4(S2("/v1/webhook_endpoints"),[]),$4(p4("/v1/account"),void 0)]);return{events:U,webhooks:q,account:R}}function wM(U,q,R){let K=U.intent?{payment_intent:String(U.intent.id)}:{charge:String(U.charge?.id)};return JX("POST","/v1/refunds",{...K,amount:q,reason:R})}function AM(U,q){return q==="now"?JX("DELETE",`/v1/subscriptions/${U}`):JX("POST",`/v1/subscriptions/${U}`,{cancel_at_period_end:!0})}var TM=(U,q)=>JX("POST",`/v1/${U}`,q);var Q=z6(Gz(),1),Yz=BG;function x_(U){let R=(U.startsWith(Yz)?U.slice(Yz.length):U).split("/").filter(Boolean);return R[0]==="test"?R.slice(1):R}var z8=(U)=>`${Yz}/test/${U.replace(/^\/+/,"")}`,D_=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O2(U,q=!0){let R=Number(U);if(!Number.isFinite(R)||R<=0)return"—";let K=new Date(R*1000),F=`${D_[K.getMonth()]} ${K.getDate()}`,_=K.getFullYear()===new Date().getFullYear();if(!q)return`${F}, ${K.getFullYear()}`;let O=`${K.getHours()%12||12}:${String(K.getMinutes()).padStart(2,"0")} ${K.getHours()<12?"AM":"PM"}`;return _?`${F}, ${O}`:`${F}, ${K.getFullYear()}, ${O}`}var y2=(U,q)=>I4(Number(U)||0,q),c4=(U)=>String(U??"usd").toUpperCase(),P4=(U)=>U.replace(/_/g," ").replace(/^\w/,(q)=>q.toUpperCase()),zz=(U)=>U?U.name||U.email||U.id:"—",E_={home:"M8 1.5 1.5 7v7.5h4.5v-4.5h4v4.5h4.5V7L8 1.5z",balance:"M2 4h12v9H2zM2 7h12M5 10.5h3",transactions:"M2 5h10M9 2l3 3-3 3M14 11H4M7 8l-3 3 3 3",customers:"M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM2.5 14.5c.6-2.8 2.8-4.5 5.5-4.5s4.9 1.7 5.5 4.5",catalog:"M2 4.5 8 1.5l6 3v7L8 14.5l-6-3v-7zM2 4.5l6 3 6-3M8 7.5v7",connect:"M5.5 10.5 10.5 5.5M7 3.5l1.5-1.5a3 3 0 0 1 4.5 4.5L11.5 8M9 12.5 7.5 14a3 3 0 0 1-4.5-4.5L4.5 8",payments:"M1.5 3.5h13v9h-13zM1.5 6.5h13M4 10h2.5",billing:"M3 1.5h10v13l-2-1.3-2 1.3-2-1.3-2 1.3-2-1.3zM5.5 5h5M5.5 8h5",reporting:"M2 14h12M4 11V7M8 11V3M12 11V8",more:"M3 8h.01M8 8h.01M13 8h.01",developers:"M5 4 1.5 8 5 12M11 4l3.5 4-3.5 4",search:"M7 12.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM11 11l3.5 3.5",bell:"M4 11V7a4 4 0 0 1 8 0v4l1.5 1.5h-11L4 11zM6.5 14h3",gear:"M8 10.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM8 1v2M8 13v2M1 8h2M13 8h2M3 3l1.4 1.4M11.6 11.6 13 13M3 13l1.4-1.4M11.6 4.4 13 3",help:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zM6 6a2 2 0 1 1 2.5 2c-.4.1-.5.4-.5.8V10M8 12v.01",plus:"M8 2v12M2 8h12",check:"M3 8.5 6.5 12 13 4.5",x:"M4 4l8 8M12 4l-8 8",refund:"M4 6h6.5a3 3 0 0 1 0 6H6M6.5 3.5 4 6l2.5 2.5",clock:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zM8 4v4l2.5 1.5",chevronDown:"M4 6l4 4 4-4",chevronRight:"M6 4l4 4-4 4",dispute:"M8 1.5 15 14H1L8 1.5zM8 6v3.5M8 11.5v.01",arrowRight:"M2 8h11M9 4l4 4-4 4",card:"M1.5 3.5h13v9h-13zM1.5 6.5h13",download:"M8 2v8M4.5 6.5 8 10l3.5-3.5M2.5 13.5h11",person:"M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM2.5 14.5c.6-2.8 2.8-4.5 5.5-4.5s4.9 1.7 5.5 4.5"};function a2({name:U,size:q=16,className:R}){return Q.jsxDEV("svg",{className:`icon ${R??""}`,width:q,height:q,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:Q.jsxDEV("path",{d:E_[U]??""},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function h_({brand:U}){let q=String(U??"").toLowerCase();if(q==="mastercard")return Q.jsxDEV("span",{className:"brand brand-mastercard",title:"Mastercard",children:Q.jsxDEV("svg",{width:"20",height:"12",viewBox:"0 0 20 12","aria-hidden":"true",children:[Q.jsxDEV("circle",{cx:"7",cy:"6",r:"5",fill:"#EB001B"},void 0,!1,void 0,this),Q.jsxDEV("circle",{cx:"13",cy:"6",r:"5",fill:"#F79E1B",fillOpacity:"0.9"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this);if(q==="amex")return Q.jsxDEV("span",{className:"brand brand-amex",title:"American Express",children:"AMEX"},void 0,!1,void 0,this);if(q==="visa")return Q.jsxDEV("span",{className:"brand brand-visa",title:"Visa",children:"VISA"},void 0,!1,void 0,this);return Q.jsxDEV("span",{className:"brand brand-generic",title:U??"Card",children:Q.jsxDEV(a2,{name:"card",size:12},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function pZ({pm:U}){let q=U?.card;if(!q)return Q.jsxDEV("span",{className:"muted",children:U?eY(U):"—"},void 0,!1,void 0,this);return Q.jsxDEV("span",{className:"card-label",children:[Q.jsxDEV(h_,{brand:q.brand},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"dots",children:"••••"},void 0,!1,void 0,this)," ",q.last4]},void 0,!0,void 0,this)}var KG={succeeded:{label:"Succeeded",tone:"green",icon:"check"},refunded:{label:"Refunded",tone:"grey",icon:"refund"},partially_refunded:{label:"Partial refund",tone:"grey",icon:"refund"},failed:{label:"Failed",tone:"red",icon:"x"},incomplete:{label:"Incomplete",tone:"grey",icon:"clock"},uncaptured:{label:"Uncaptured",tone:"blue",icon:"clock"},canceled:{label:"Canceled",tone:"grey",icon:"x"},disputed:{label:"Disputed",tone:"orange",icon:"dispute"},processing:{label:"Pending",tone:"grey",icon:"clock"},active:{label:"Active",tone:"green"},trialing:{label:"Trialing",tone:"blue"},past_due:{label:"Past due",tone:"red"},unpaid:{label:"Unpaid",tone:"red"},incomplete_expired:{label:"Expired",tone:"grey"},paused:{label:"Paused",tone:"grey"},paid:{label:"Paid",tone:"green"},open:{label:"Open",tone:"blue"},draft:{label:"Draft",tone:"grey"},void:{label:"Void",tone:"grey"},uncollectible:{label:"Uncollectible",tone:"red"},pending:{label:"Pending",tone:"grey"},enabled:{label:"Enabled",tone:"green"},disabled:{label:"Disabled",tone:"grey"},true:{label:"Active",tone:"green"},false:{label:"Archived",tone:"grey"}};function J6({value:U,suffix:q}){let R=String(U??""),K=KG[R]??{label:P4(R||"—"),tone:"grey"};return Q.jsxDEV("span",{className:`pill pill-${K.tone}`,"data-status":R,children:[K.label,q??"",K.icon?Q.jsxDEV(a2,{name:K.icon,size:12},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function m_({error:U}){let q=QM(U);if(!q)return null;let R=typeof U?.message==="string"?U.message:q;return Q.jsxDEV("div",{className:"pay-error",role:"alert",children:[Q.jsxDEV(a2,{name:"dispute"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:[Q.jsxDEV("div",{className:"pay-error-label",children:"Payment error"},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"pay-error-text",children:[R," ",Q.jsxDEV("span",{className:"mono muted",children:q.split(":")[0]},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function u_({row:U}){let q=UM(U);if(q.length===0)return null;let R=(K)=>K==="pending"?"Incoming":"Available";return Q.jsxDEV("div",{className:"balance-summary",children:[...q].reverse().map((K)=>Q.jsxDEV("div",{className:`balance-bucket ${K.bucket}`,children:[Q.jsxDEV("span",{className:"balance-bucket-label",children:R(K.bucket)},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"balance-bucket-amount",children:K.text},void 0,!1,void 0,this)]},K.bucket,!0,void 0,this))},void 0,!1,void 0,this)}function d_({row:U}){let q=BM(U),R=HM(U);if(q.length===0)return null;return Q.jsxDEV("div",{className:"connect-panel",children:[Q.jsxDEV("div",{className:"connect-flags",children:q.map((K)=>Q.jsxDEV("div",{className:`connect-flag ${K.enabled?"ok":"warn"}`,children:[Q.jsxDEV("span",{className:"connect-flag-label",children:K.label},void 0,!1,void 0,this),Q.jsxDEV(J6,{value:K.enabled?"enabled":"disabled"},void 0,!1,void 0,this)]},K.key,!0,void 0,this))},void 0,!1,void 0,this),R.length>0&&Q.jsxDEV("div",{className:"connect-requirements",role:"status",children:[Q.jsxDEV("span",{className:"connect-req-label",children:"Requirements currently due"},void 0,!1,void 0,this),Q.jsxDEV("ul",{className:"connect-req-list",children:R.map((K)=>Q.jsxDEV("li",{className:"connect-req-item mono",children:K},K,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var l_=(U)=>O2(U.created),MG=[{key:"customers",label:"Customers",path:"customers",title:(U)=>U.name||U.email||U.id,subtitle:(U)=>U.email||U.id},{key:"payment_intents",label:"Payments",path:"payments",title:(U)=>I4(U.amount,U.currency),subtitle:(U)=>U.description||U.id},{key:"subscriptions",label:"Subscriptions",path:"subscriptions",title:(U)=>U.id,subtitle:(U)=>U.customer??""},{key:"invoices",label:"Invoices",path:"invoices",title:(U)=>I4(U.total??U.amount_due,U.currency),subtitle:(U)=>U.number||U.id},{key:"products",label:"Products",path:"products",title:(U)=>U.name||U.id,subtitle:(U)=>U.description||U.id},{key:"prices",label:"Prices",path:"prices",title:(U)=>`${I4(U.unit_amount,U.currency)}${tY(U.recurring)?` ${tY(U.recurring)}`:""}`,subtitle:(U)=>U.product??U.id},{key:"charges",label:"Charges",path:"charges",title:(U)=>I4(U.amount,U.currency),subtitle:(U)=>U.description||U.id},{key:"refunds",label:"Refunds",path:"refunds",title:(U)=>I4(U.amount,U.currency),subtitle:(U)=>U.charge??U.id},{key:"payment_methods",label:"Payment Methods",path:"payment-methods",title:(U)=>eY(U),subtitle:(U)=>U.customer??U.id},{key:"setup_intents",label:"Setup Intents",path:"setup-intents",title:(U)=>U.id,subtitle:(U)=>U.usage??""},{key:"invoiceitems",label:"Invoice Items",path:"invoice-items",title:(U)=>I4(U.amount,U.currency),subtitle:(U)=>U.description||U.customer||U.id},{key:"credit_notes",label:"Credit Notes",path:"credit-notes",title:(U)=>I4(U.amount,U.currency),subtitle:(U)=>U.invoice??U.id},{key:"tax_ids",label:"Tax IDs",path:"tax-ids",title:(U)=>`${U.value??U.id}`,subtitle:(U)=>`${U.type??""}`},{key:"balance",label:"Balance",path:"balance",title:(U)=>U.id,subtitle:()=>""},{key:"disputes",label:"Disputes",path:"disputes",title:(U)=>I4(U.amount,U.currency),subtitle:(U)=>`${P4(String(U.reason??""))} · ${U.charge??""}`,page:!0,columns:["Amount","Reason"]},{key:"payouts",label:"Payouts",path:"payouts",title:(U)=>I4(U.amount,U.currency),subtitle:(U)=>`Arrives ${O2(U.arrival_date,!1)}`,page:!0,columns:["Amount","Arrival"]},{key:"balance_transactions",label:"Balance Transactions",path:"balance-transactions",title:(U)=>I4(U.amount,U.currency),subtitle:(U)=>`${P4(String(U.type??""))} · ${U.source??U.id}`,page:!0,columns:["Amount","Type"]},{key:"payment_links",label:"Payment Links",path:"payment-links",title:(U)=>U.url||U.id,subtitle:(U)=>U.active?"Active":"Inactive",page:!0},{key:"coupons",label:"Coupons",path:"coupons",title:(U)=>U.name||(U.percent_off!=null?`${U.percent_off}% off`:`${I4(U.amount_off,U.currency)} off`),subtitle:(U)=>P4(String(U.duration??"")),page:!0,columns:["Coupon","Duration"]},{key:"promotion_codes",label:"Promotion Codes",path:"promotion-codes",title:(U)=>U.code||U.id,subtitle:(U)=>(typeof U.coupon==="object"?U.coupon?.id:U.coupon)??"",page:!0},{key:"quotes",label:"Quotes",path:"quotes",title:(U)=>I4(U.amount_total,U.currency),subtitle:(U)=>U.customer??U.id,page:!0,columns:["Amount","Customer"]},{key:"accounts",label:"Connected Accounts",path:"connect/accounts",title:(U)=>U.business_profile?.name||U.email||U.id,subtitle:(U)=>`${P4(String(U.type??"account"))} · ${U.country??""}`,page:!0},{key:"transfers",label:"Transfers",path:"connect/transfers",title:(U)=>I4(U.amount,U.currency),subtitle:(U)=>`To ${U.destination??"—"}`,page:!0,columns:["Amount","Destination"]},{key:"tax_rates",label:"Tax Rates",path:"tax/rates",title:(U)=>`${U.display_name??"Tax"} · ${U.percentage??0}%`,subtitle:(U)=>`${U.inclusive?"Inclusive":"Exclusive"} · ${U.jurisdiction??""}`,page:!0,columns:["Tax rate","Type"]},{key:"reviews",label:"Radar Reviews",path:"radar/reviews",title:(U)=>U.charge||U.payment_intent||U.id,subtitle:(U)=>U.open?"Open":P4(String(U.closed_reason??"closed")),page:!0},{key:"radar/value_lists",label:"Radar Value Lists",path:"radar/lists",title:(U)=>U.name||U.alias||U.id,subtitle:(U)=>`${U.item_type??""} · ${U.alias??""}`,page:!0},{key:"terminal/readers",label:"Terminal Readers",path:"terminal/readers",title:(U)=>U.label||U.id,subtitle:(U)=>`${P4(String(U.device_type??""))} · ${U.status??""}`,page:!0},{key:"terminal/locations",label:"Terminal Locations",path:"terminal/locations",title:(U)=>U.display_name||U.id,subtitle:(U)=>U.address?.city??"",page:!0},{key:"issuing/cards",label:"Issuing Cards",path:"issuing/cards",title:(U)=>`•••• ${U.last4??""}`,subtitle:(U)=>`${P4(String(U.type??""))} · ${typeof U.cardholder==="object"?U.cardholder?.name??"":U.cardholder??""}`,page:!0},{key:"issuing/cardholders",label:"Issuing Cardholders",path:"issuing/cardholders",title:(U)=>U.name||U.id,subtitle:(U)=>U.email||P4(String(U.type??"")),page:!0},{key:"reporting/report_runs",label:"Reports",path:"reports",title:(U)=>U.report_type||U.id,subtitle:(U)=>P4(String(U.status??"")),page:!0},{key:"events",label:"Events",path:"events",title:(U)=>U.type||U.id,subtitle:(U)=>U.data?.object?.id??U.id,page:!0,columns:["Event","Object"]},{key:"webhook_endpoints",label:"Webhook Endpoints",path:"webhooks",title:(U)=>U.url||U.id,subtitle:(U)=>`${(U.enabled_events??[]).length} events`,page:!0}],qG=new Map(MG.filter((U)=>U.page).map((U)=>[U.path,U])),IM=(U)=>U.status!==void 0?U.status:U.active!==void 0?String(U.active):void 0;function Jz({section:U,rows:q,query:R,currentId:K,onSelect:F}){return Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:U.columns?.[0]??U.label.replace(/^(Radar|Terminal|Issuing|Tax) /,"")},void 0,!1,void 0,this),Q.jsxDEV("th",{children:U.columns?.[1]??"Details"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Status"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"ID"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Created"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[q.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:5,children:Q.jsxDEV(m6,{title:R?"No results":`No ${U.label.toLowerCase()}`},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),q.map((_,A)=>Q.jsxDEV("tr",{className:`list-row ${K===_.id?"current":""}`,onClick:()=>F(_.id),children:[Q.jsxDEV("td",{className:"strong",children:U.title(_)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"muted",children:U.subtitle(_)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:IM(_)!==void 0?Q.jsxDEV(J6,{value:IM(_)},void 0,!1,void 0,this):null},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono muted",children:_.id},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted nowrap",children:l_(_)},void 0,!1,void 0,this)]},_.id??A,!0,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function p_(U,q,R=12){let K=q.trim().toLowerCase();if(!K)return[];let F=[],_=(A,O,j,V,f,C)=>{for(let k of A??[]){if(F.length>=R)return;if(C(k).some((h)=>String(h??"").toLowerCase().includes(K)))F.push({to:`${j}/${k.id}`,kind:O,label:V(k),sub:f(k)})}};return _(U.customers,"Customers","customers",(A)=>A.name||A.email||A.id,(A)=>A.email||A.id,(A)=>[A.id,A.name,A.email,A.description]),_(U.payment_intents,"Payments","payments",(A)=>`${I4(A.amount,A.currency)} ${c4(A.currency)}`,(A)=>A.description||A.id,(A)=>[A.id,A.description,A.latest_charge,(Number(A.amount)/100).toFixed(2)]),_(U.subscriptions,"Subscriptions","subscriptions",(A)=>A.id,(A)=>P4(String(A.status??"")),(A)=>[A.id]),_(U.invoices,"Invoices","invoices",(A)=>A.number||A.id,(A)=>`${I4(A.total,A.currency)} · ${P4(String(A.status??""))}`,(A)=>[A.id,A.number,A.customer_email]),_(U.products,"Products","products",(A)=>A.name||A.id,(A)=>A.description||A.id,(A)=>[A.id,A.name,A.description]),F}function c_({go:U}){let[q,R]=Y2.useState(""),[K,F]=Y2.useState(!1),[_,A]=Y2.useState({}),O=Y2.useRef(null),j=Y2.useCallback(async()=>{let C=["customers","payment_intents","subscriptions","invoices","products"],k=await Promise.all(C.map((h)=>S2(`/v1/${h}${h==="subscriptions"?"?status=all":""}`).catch(()=>[])));A(Object.fromEntries(C.map((h,k2)=>[h,k[k2]])))},[]);Y2.useEffect(()=>{let C=(k)=>{if(!k.target?.closest?.("input,textarea,select")&&(k.key==="/"||(k.metaKey||k.ctrlKey)&&k.key.toLowerCase()==="k"))k.preventDefault(),O.current?.focus();if(k.key==="Escape")F(!1),O.current?.blur()};return window.addEventListener("keydown",C),()=>window.removeEventListener("keydown",C)},[]);let V=Y2.useMemo(()=>p_(_,q),[_,q]),f=(C)=>{U(C.to),F(!1),R(""),O.current?.blur()};return Q.jsxDEV("div",{className:"search",children:[Q.jsxDEV(a2,{name:"search",className:"search-icon"},void 0,!1,void 0,this),Q.jsxDEV("input",{ref:O,className:"search-input cmdk-input",placeholder:"Search",value:q,onFocus:()=>{F(!0),j()},onBlur:()=>window.setTimeout(()=>F(!1),150),onChange:(C)=>{R(C.target.value),F(!0)},onKeyDown:(C)=>{if(C.key==="Enter"&&V[0])f(V[0])}},void 0,!1,void 0,this),K&&q?Q.jsxDEV("div",{className:"cmdk",role:"listbox","aria-label":"Search results",children:[V.length===0&&Q.jsxDEV("div",{className:"cmdk-empty",children:["No results for “",q,"”"]},void 0,!0,void 0,this),V.map((C,k)=>Q.jsxDEV(Y2.default.Fragment,{children:[k===0||V[k-1].kind!==C.kind?Q.jsxDEV("div",{className:"cmdk-group",children:C.kind},void 0,!1,void 0,this):null,Q.jsxDEV("button",{className:"cmdk-hit",role:"option",onMouseDown:(h)=>h.preventDefault(),onClick:()=>f(C),children:[Q.jsxDEV("span",{className:"cmdk-hit-label",children:C.label},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"cmdk-hit-sub",children:C.sub},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},C.to,!0,void 0,this))]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)}var s_=[{to:"dashboard",label:"Home",icon:"home"},{to:"balance/overview",label:"Balances",icon:"balance",match:["balance","payouts","balance-transactions"]},{to:"payments",label:"Transactions",icon:"transactions",match:["payments","disputes"]},{to:"customers",label:"Customers",icon:"customers"},{to:"products",label:"Product catalog",icon:"catalog",match:["products","coupons","promotion-codes"]}],a_=[{label:"Connect",icon:"connect",items:[{to:"connect/accounts",label:"Connected accounts"},{to:"connect/transfers",label:"Transfers"}]},{label:"Payments",icon:"payments",items:[{to:"disputes",label:"Disputes"},{to:"radar/reviews",label:"Radar"},{to:"payment-links",label:"Payment Links"},{to:"terminal/readers",label:"Terminal"}]},{label:"Billing",icon:"billing",items:[{to:"subscriptions",label:"Subscriptions"},{to:"invoices",label:"Invoices"},{to:"quotes",label:"Quotes"}]},{label:"Reporting",icon:"reporting",items:[{to:"reports",label:"Reports"}]},{label:"More",icon:"more",items:[{to:"tax/rates",label:"Tax"},{to:"issuing/cards",label:"Issuing"}]}],PM=(U,q)=>{let R=U.join("/");return[q.to,...q.match??[]].some((K)=>R===K||R.startsWith(`${K}/`)||U[0]===K)};function i_({route:U,go:q}){let[R,K]=Y2.useState({Billing:!0}),F=(_,A=!1)=>Q.jsxDEV("a",{href:z8(_.to),className:`nav-item ${A?"nav-sub":""} ${PM(U,_)?"active":""}`,onClick:(O)=>{O.preventDefault(),q(_.to)},children:[_.icon?Q.jsxDEV(a2,{name:_.icon},void 0,!1,void 0,this):null,Q.jsxDEV("span",{children:_.label},void 0,!1,void 0,this)]},_.to,!0,void 0,this);return Q.jsxDEV("nav",{className:"side","aria-label":"Main",children:[Q.jsxDEV("button",{className:"account-switcher",onClick:()=>q("settings"),children:[Q.jsxDEV("span",{className:"account-mark",children:"T"},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"account-name",children:"Twin Inc."},void 0,!1,void 0,this),Q.jsxDEV(a2,{name:"chevronDown",size:12},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"nav-group",children:s_.map((_)=>F(_))},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"nav-heading",children:"Products"},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"nav-group",children:a_.map((_)=>{let A=R[_.label]||_.items.some((O)=>PM(U,O));return Q.jsxDEV("div",{className:"nav-folder",children:[Q.jsxDEV("button",{className:`nav-item ${A?"expanded":""}`,"aria-expanded":A,onClick:()=>K((O)=>({...O,[_.label]:!A})),children:[Q.jsxDEV(a2,{name:_.icon},void 0,!1,void 0,this),Q.jsxDEV("span",{children:_.label},void 0,!1,void 0,this),Q.jsxDEV(a2,{name:A?"chevronDown":"chevronRight",size:12,className:"nav-caret"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),A?_.items.map((O)=>F(O,!0)):null]},_.label,!0,void 0,this)})},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"nav-foot",children:F({to:"developers",label:"Developers",icon:"developers",match:["developers","events","webhooks"]})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function n_({go:U}){return Q.jsxDEV("header",{className:"topbar",children:[Q.jsxDEV(c_,{go:U},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"topbar-actions",children:[Q.jsxDEV("button",{className:"icon-btn",title:"Help","aria-label":"Help",children:Q.jsxDEV(a2,{name:"help"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"icon-btn",title:"Notifications","aria-label":"Notifications",children:Q.jsxDEV(a2,{name:"bell"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"icon-btn",title:"Settings","aria-label":"Settings",onClick:()=>U("settings"),children:Q.jsxDEV(a2,{name:"gear"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"icon-btn create",title:"Create","aria-label":"Create",onClick:()=>U("customers?create=1"),children:Q.jsxDEV(a2,{name:"plus"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function o_(){return Q.jsxDEV("div",{className:"test-band",role:"note",children:[Q.jsxDEV("span",{className:"test-band-tag",children:"Test mode"},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"test-band-text",children:"You’re using test data. Changes you make here don’t affect your live account."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function U5(U,q){let[R,K]=Y2.useState({}),[F,_]=Y2.useState(0);return Y2.useEffect(()=>{let A=!0,O=()=>U().then((V)=>{if(A)K({data:V})},(V)=>{if(A)K((f)=>({...f,error:String(V?.message??V)}))});O();let j=window.setInterval(O,4000);return()=>{A=!1,window.clearInterval(j)}},[...q,F]),{...R,reload:()=>_((A)=>A+1)}}function m6({title:U,body:q}){return Q.jsxDEV("div",{className:"empty",children:[Q.jsxDEV("div",{className:"empty-title",children:U},void 0,!1,void 0,this),q?Q.jsxDEV("div",{className:"empty-body",children:q},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function B5({error:U}){return U?Q.jsxDEV("div",{className:"page-error",role:"alert",children:U},void 0,!1,void 0,this):Q.jsxDEV("div",{className:"loading",children:"Loading…"},void 0,!1,void 0,this)}function H5({title:U,actions:q,kicker:R,children:K}){return Q.jsxDEV("div",{className:"page-head",children:[R?Q.jsxDEV("div",{className:"kicker",children:R},void 0,!1,void 0,this):null,Q.jsxDEV("div",{className:"page-head-row",children:[Q.jsxDEV("h1",{children:U},void 0,!1,void 0,this),q?Q.jsxDEV("div",{className:"page-actions",children:q},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),K]},void 0,!0,void 0,this)}function RG({options:U,value:q,onChange:R}){return Q.jsxDEV("div",{className:"filter-cards",role:"tablist",children:U.map((K)=>Q.jsxDEV("button",{role:"tab","aria-selected":q===K.key,className:`filter-card ${q===K.key?"selected":""}`,onClick:()=>R(K.key),children:[Q.jsxDEV("span",{className:"filter-card-label",children:K.label},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"filter-card-count",children:K.count},void 0,!1,void 0,this)]},K.key,!0,void 0,this))},void 0,!1,void 0,this)}function dZ({label:U,value:q,options:R,onChange:K}){let[F,_]=Y2.useState(!1),A=R.find((O)=>O.key===q);return Q.jsxDEV("div",{className:"chip-wrap",children:[Q.jsxDEV("button",{className:`chip ${A?"chip-set":""}`,"aria-expanded":F,onClick:()=>_((O)=>!O),children:[Q.jsxDEV("span",{className:"chip-plus",onClick:(O)=>{if(A)O.stopPropagation(),K(void 0),_(!1)},children:Q.jsxDEV(a2,{name:A?"x":"plus",size:10},void 0,!1,void 0,this)},void 0,!1,void 0,this),U,A?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("span",{className:"chip-sep",children:"|"},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"chip-value",children:A.label},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),F?Q.jsxDEV("div",{className:"popover",role:"menu","aria-label":`Filter by ${U}`,children:[Q.jsxDEV("div",{className:"popover-title",children:["Filter by ",U.toLowerCase()]},void 0,!0,void 0,this),R.map((O)=>Q.jsxDEV("button",{role:"menuitemradio","aria-checked":O.key===q,className:`popover-item ${O.key===q?"checked":""}`,onClick:()=>{K(O.key),_(!1)},children:[Q.jsxDEV("span",{className:"popover-radio"},void 0,!1,void 0,this),O.label]},O.key,!0,void 0,this))]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)}function gM(U,q,R){let K=(A)=>`"${String(A).replace(/"/g,'""')}"`,F=[q,...R].map((A)=>A.map(K).join(",")).join(`
|
|
236
|
-
`),_=document.createElement("a");_.href=URL.createObjectURL(new Blob([F],{type:"text/csv"})),_.download=`${U}.csv`,_.click(),URL.revokeObjectURL(_.href)}function QX({n:U}){return Q.jsxDEV("div",{className:"table-foot",children:[Q.jsxDEV("span",{children:[U," ",U===1?"result":"results"]},void 0,!0,void 0,this),Q.jsxDEV("span",{className:"pager",children:[Q.jsxDEV("button",{className:"btn",disabled:!0,children:"Previous"},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"btn",disabled:!0,children:"Next"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Y4({title:U,actions:q,children:R,className:K}){return Q.jsxDEV("section",{className:`section ${K??""}`,children:[Q.jsxDEV("div",{className:"section-head",children:[Q.jsxDEV("h2",{children:U},void 0,!1,void 0,this),q]},void 0,!0,void 0,this),R]},void 0,!0,void 0,this)}function h6({rows:U}){return Q.jsxDEV("dl",{className:"props",children:U.map(([q,R])=>Q.jsxDEV("div",{className:"prop",children:[Q.jsxDEV("dt",{children:q},void 0,!1,void 0,this),Q.jsxDEV("dd",{children:R??"—"},void 0,!1,void 0,this)]},q,!0,void 0,this))},void 0,!1,void 0,this)}function lZ({amount:U,currency:q}){return Q.jsxDEV("span",{className:"amount",children:[Q.jsxDEV("span",{className:"amount-value",children:y2(U,q)},void 0,!1,void 0,this)," ",Q.jsxDEV("span",{className:"amount-ccy",children:c4(q)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function y4({to:U,go:q,children:R,className:K}){return Q.jsxDEV("a",{href:z8(U),className:`link ${K??""}`,onClick:(F)=>{F.preventDefault(),F.stopPropagation(),q(U)},children:R},void 0,!1,void 0,this)}function r_(U){let q=U.payments.filter((O)=>["succeeded","refunded","partially_refunded","disputed"].includes(O.status)),R=q[0]?.currency??"usd",K=q.reduce((O,j)=>O+j.amount,0),F=q.reduce((O,j)=>O+j.amountRefunded,0),_=U.balance?(U.balance.available??[]).find((O)=>O.currency===R)?.amount??0:0,A=U.balance?(U.balance.pending??[]).find((O)=>O.currency===R)?.amount??0:0;return{currency:R,grossVolume:K,netVolume:K-F,available:Number(_)||0,pending:Number(A)||0,succeededPayments:U.payments.filter((O)=>O.status==="succeeded").length,failedPayments:U.payments.filter((O)=>O.status==="failed").length,customers:U.customers.length,activeSubscriptions:U.subscriptions.filter((O)=>O.status==="active"||O.status==="trialing").length,openInvoices:U.invoices.filter((O)=>O.status==="open").length}}function t_({points:U,of:q=U.length}){let F=Math.max(1,...U),_=U.map((A,O)=>`${O/Math.max(1,q-1)*280},${60-A/F*52}`);return Q.jsxDEV("svg",{className:"spark",viewBox:"0 0 280 64",preserveAspectRatio:"none","aria-hidden":"true",children:[Q.jsxDEV("polyline",{points:_.join(" "),fill:"none",stroke:"#635BFF",strokeWidth:"2",vectorEffect:"non-scaling-stroke"},void 0,!1,void 0,this),Q.jsxDEV("line",{x1:"0",x2:280,y1:63,y2:63,stroke:"#EBEEF1"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function e_(U){let q=Array(24).fill(0);for(let R of U)if(R.status!=="failed"&&R.status!=="incomplete")q[new Date(R.created*1000).getHours()]+=R.amount;for(let R=1;R<24;R++)q[R]+=q[R-1];return q.slice(0,new Date().getHours()+1)}function XO({go:U}){let{data:q,error:R}=U5(FM,[]);if(!q)return Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this);let K=r_(q),F=e_(q.payments),_=[{key:"gross",label:"Gross volume",value:y2(K.grossVolume,K.currency)},{key:"net",label:"Net volume",value:y2(K.netVolume,K.currency)},{key:"payments",label:"Successful payments",value:String(K.succeededPayments)},{key:"failed",label:"Failed payments",value:String(K.failedPayments)},{key:"customers",label:"New customers",value:String(K.customers)},{key:"subs",label:"Active subscribers",value:String(K.activeSubscriptions)}];return Q.jsxDEV("div",{className:"home-screen",children:[Q.jsxDEV(H5,{title:"Today"},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"today",children:[Q.jsxDEV("div",{className:"today-chart",children:[Q.jsxDEV("div",{className:"today-label",children:["Gross volume ",Q.jsxDEV(a2,{name:"chevronDown",size:12},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"today-value",children:y2(K.grossVolume,K.currency)},void 0,!1,void 0,this),Q.jsxDEV(t_,{points:F,of:24},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"today-axis",children:[Q.jsxDEV("span",{children:"12:00 AM"},void 0,!1,void 0,this),Q.jsxDEV("span",{children:"11:59 PM"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"today-side",children:[Q.jsxDEV("div",{className:"today-side-block",children:[Q.jsxDEV("div",{className:"today-label",children:[c4(K.currency)," balance"]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"today-side-value",children:y2(K.available+K.pending,K.currency)},void 0,!1,void 0,this),Q.jsxDEV(y4,{to:"balance/overview",go:U,children:"View"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"today-side-block",children:[Q.jsxDEV("div",{className:"today-label",children:"Payouts"},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"today-side-value",children:y2(0,K.currency)},void 0,!1,void 0,this),Q.jsxDEV(y4,{to:"payouts",go:U,children:"View"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("h2",{className:"overview-title",children:"Your overview"},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"home-metrics",children:_.map((A)=>Q.jsxDEV("div",{className:"metric-card","data-metric":A.key,children:[Q.jsxDEV("span",{className:"metric-label",children:A.label},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"metric-value",children:A.value},void 0,!1,void 0,this)]},A.key,!0,void 0,this))},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Recent payments",actions:Q.jsxDEV(y4,{to:"payments",go:U,children:"View all"},void 0,!1,void 0,this),children:Q.jsxDEV(Qz,{payments:q.payments.slice(0,5),go:U,compact:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var CM=(U,q)=>q==="all"||(q==="refunded"?U.status==="refunded"||U.status==="partially_refunded":U.status===q);function Qz({payments:U,go:q,compact:R,noCustomer:K}){let F=(R?6:8)-(K?1:0);return Q.jsxDEV("table",{className:"table payments-table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Amount"},void 0,!1,void 0,this),Q.jsxDEV("th",{},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Payment method"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Description"},void 0,!1,void 0,this),K?null:Q.jsxDEV("th",{children:"Customer"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Date"},void 0,!1,void 0,this),R?null:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("th",{children:"Refunded date"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Decline reason"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[U.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:F,children:Q.jsxDEV(m6,{title:"No payments",body:R?void 0:"Payments you create through the API show up here."},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),U.map((_)=>Q.jsxDEV("tr",{className:"list-row",onClick:()=>q(`payments/${_.id}`),children:[Q.jsxDEV("td",{className:"nowrap",children:Q.jsxDEV(lZ,{amount:_.amount,currency:_.currency},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:Q.jsxDEV(J6,{value:_.status},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"nowrap",children:Q.jsxDEV(pZ,{pm:_.paymentMethod},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"truncate",children:_.description??Q.jsxDEV("span",{className:"muted",children:_.id},void 0,!1,void 0,this)},void 0,!1,void 0,this),K?null:Q.jsxDEV("td",{className:"truncate",children:_.customer?_.customer.email||_.customer.name||_.customer.id:Q.jsxDEV("span",{className:"muted",children:"—"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"nowrap muted",children:O2(_.created)},void 0,!1,void 0,this),R?null:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("td",{className:"nowrap muted",children:_.refundedAt?O2(_.refundedAt):"—"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"nowrap muted",children:_.declineReason??"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},_.id,!0,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var bM=86400,yM=[{key:"today",label:"Today"},{key:"7d",label:"Last 7 days"},{key:"4w",label:"Last 4 weeks"},{key:"12m",label:"Last 12 months"}];function fM(U,q){if(!q)return!0;let R=Date.now()/1000;if(q==="today"){let K=new Date;return K.setHours(0,0,0,0),U>=K.getTime()/1000}return U>=R-({"7d":7,"4w":28,"12m":365}[q]??0)*bM}function ZO({go:U}){let{data:q,error:R}=U5(WG,[]),[K,F]=Y2.useState("all"),[_,A]=Y2.useState({}),O=q??[],j=O.filter((k)=>fM(k.created,_.date)&&(!_.currency||k.currency===_.currency)&&(!_.status||k.status===_.status)&&(!_.method||(k.paymentMethod?.card?.brand??k.paymentMethod?.type)===_.method)),V=(k)=>j.filter((h)=>CM(h,k)).length,f=j.filter((k)=>CM(k,K)),C=(k)=>[...new Set(k.filter((h)=>Boolean(h)))];return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Transactions",children:Q.jsxDEV("div",{className:"tabs",children:[Q.jsxDEV(y4,{to:"payments",go:U,className:"tab active",children:"Payments"},void 0,!1,void 0,this),Q.jsxDEV(y4,{to:"disputes",go:U,className:"tab",children:"Disputes"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(RG,{value:K,onChange:F,options:[{key:"all",label:"All",count:j.length},{key:"succeeded",label:"Succeeded",count:V("succeeded")},{key:"refunded",label:"Refunded",count:V("refunded")},{key:"disputed",label:"Disputed",count:V("disputed")},{key:"failed",label:"Failed",count:V("failed")},{key:"uncaptured",label:"Uncaptured",count:V("uncaptured")}]},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"toolbar",children:[Q.jsxDEV(dZ,{label:"Date and time",value:_.date,options:yM,onChange:(k)=>A((h)=>({...h,date:k}))},void 0,!1,void 0,this),Q.jsxDEV(dZ,{label:"Currency",value:_.currency,options:C(O.map((k)=>k.currency)).map((k)=>({key:k,label:c4(k)})),onChange:(k)=>A((h)=>({...h,currency:k}))},void 0,!1,void 0,this),Q.jsxDEV(dZ,{label:"Status",value:_.status,options:C(O.map((k)=>k.status)).map((k)=>({key:k,label:KG[k]?.label??k})),onChange:(k)=>A((h)=>({...h,status:k}))},void 0,!1,void 0,this),Q.jsxDEV(dZ,{label:"Payment method",value:_.method,options:C(O.map((k)=>k.paymentMethod?.card?.brand??k.paymentMethod?.type)).map((k)=>({key:k,label:k==="amex"?"American Express":P4(k)})),onChange:(k)=>A((h)=>({...h,method:k}))},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"toolbar-right",children:Q.jsxDEV("button",{className:"btn",onClick:()=>gM("payments",["id","Amount","Currency","Status","Description","Customer Email","Created"],f.map((k)=>[k.id,(k.amount/100).toFixed(2),k.currency,k.status,k.description??"",k.customer?.email??"",new Date(k.created*1000).toISOString()])),children:[Q.jsxDEV(a2,{name:"download",size:14},void 0,!1,void 0,this)," Export"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(Qz,{payments:f,go:U},void 0,!1,void 0,this),Q.jsxDEV(QX,{n:f.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var GO={"payment_intent.created":"Payment started","payment_intent.succeeded":"Payment succeeded","payment_intent.payment_failed":"Payment failed","payment_intent.canceled":"Payment canceled","payment_intent.amount_capturable_updated":"Payment authorized","payment_intent.requires_action":"Payment requires authentication","charge.succeeded":"Payment succeeded","charge.failed":"Payment failed","charge.captured":"Payment captured","charge.dispute.created":"Payment disputed","refund.created":"Refund initiated","refund.updated":"Refund updated","customer.created":"Customer created","customer.updated":"Customer updated","customer.subscription.created":"Subscription created","customer.subscription.updated":"Subscription updated","customer.subscription.deleted":"Subscription canceled","invoice.created":"Invoice created","invoice.finalized":"Invoice finalized","invoice.paid":"Invoice paid","invoice.payment_failed":"Invoice payment failed"};function jM(U){let q=U.data?.object??{};if(U.type==="charge.refunded")return`${y2(q.amount_refunded,q.currency)} ${c4(q.currency)} refunded`;if(U.type==="refund.created")return`Refund of ${y2(q.amount,q.currency)} ${c4(q.currency)} initiated`;if(U.type==="payment_intent.payment_failed")return`Payment failed${q.last_payment_error?.message?`: ${q.last_payment_error.message}`:""}`;return GO[U.type]??U.type}var $O=(U)=>/failed|dispute/.test(U)?"red":/succeeded|paid|captured/.test(U)?"green":/refund/.test(U)?"grey":"blue";function Uz({events:U}){if(U.length===0)return Q.jsxDEV(m6,{title:"No events"},void 0,!1,void 0,this);return Q.jsxDEV("ol",{className:"timeline",children:U.map((q)=>Q.jsxDEV("li",{className:"timeline-item",children:[Q.jsxDEV("span",{className:`timeline-dot dot-${$O(q.type)}`},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"timeline-body",children:[Q.jsxDEV("div",{className:"timeline-text",children:jM(q)},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"timeline-time",children:O2(q.created)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},q.id,!0,void 0,this))},void 0,!1,void 0,this)}function YO({id:U,go:q}){let{data:R,error:K,reload:F}=U5(()=>MM(U),[U]),[_,A]=Y2.useState(!1);if(!R)return Q.jsxDEV(B5,{error:K},void 0,!1,void 0,this);return Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(zO,{p:R,go:q,onRefund:()=>A(!0)},void 0,!1,void 0,this),_?Q.jsxDEV(UO,{payment:R,onClose:()=>A(!1),onDone:()=>{A(!1),F()}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function zO({p:U,go:q,onRefund:R}){let K=Boolean(U.charge)&&(U.status==="succeeded"||U.status==="partially_refunded")&&U.amount-U.amountRefunded>0,F=U.paymentMethod?.card,_=U.amount-U.amountRefunded;return Q.jsxDEV("div",{className:"page detail-page",children:[Q.jsxDEV(H5,{kicker:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(a2,{name:"payments",size:12},void 0,!1,void 0,this)," Payment"]},void 0,!0,void 0,this),title:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(lZ,{amount:U.amount,currency:U.currency},void 0,!1,void 0,this)," ",Q.jsxDEV(J6,{value:U.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),actions:K?Q.jsxDEV("button",{className:"btn",onClick:R,children:[Q.jsxDEV(a2,{name:"refund",size:14},void 0,!1,void 0,this)," Refund"]},void 0,!0,void 0,this):null,children:Q.jsxDEV("div",{className:"summary",children:[Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Last update"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:O2(U.events[0]?.created??U.created)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Customer"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:U.customer?Q.jsxDEV(y4,{to:`customers/${U.customer.id}`,go:q,children:U.customer.email||zz(U.customer)},void 0,!1,void 0,this):"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Payment method"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:Q.jsxDEV(pZ,{pm:U.paymentMethod},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),U.declineReason?Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Decline reason"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:U.declineReason},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),U.intent?.last_payment_error?Q.jsxDEV(m_,{error:U.intent.last_payment_error},void 0,!1,void 0,this):null,Q.jsxDEV("div",{className:"detail-columns",children:[Q.jsxDEV("div",{className:"detail-main",children:[Q.jsxDEV(Y4,{title:"Timeline",children:Q.jsxDEV(Uz,{events:U.events},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Payment breakdown",children:Q.jsxDEV("dl",{className:"breakdown",children:[Q.jsxDEV("div",{children:[Q.jsxDEV("dt",{children:"Payment amount"},void 0,!1,void 0,this),Q.jsxDEV("dd",{children:[y2(U.amount,U.currency)," ",c4(U.currency)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),U.amountRefunded>0?Q.jsxDEV("div",{children:[Q.jsxDEV("dt",{children:"Refunded"},void 0,!1,void 0,this),Q.jsxDEV("dd",{children:["−",y2(U.amountRefunded,U.currency)," ",c4(U.currency)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):null,Q.jsxDEV("div",{className:"total",children:[Q.jsxDEV("dt",{children:"Net amount"},void 0,!1,void 0,this),Q.jsxDEV("dd",{children:[y2(U.status==="failed"||U.status==="incomplete"?0:_,U.currency)," ",c4(U.currency)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),U.refunds.length>0?Q.jsxDEV(Y4,{title:"Refunds",children:Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Amount"},void 0,!1,void 0,this),Q.jsxDEV("th",{},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Reason"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"ID"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Date"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:U.refunds.map((A)=>Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:Q.jsxDEV(lZ,{amount:Number(A.amount)||0,currency:A.currency},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:Q.jsxDEV(J6,{value:A.status},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:A.reason?P4(A.reason):"—"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono muted",children:A.id},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted nowrap",children:O2(A.created)},void 0,!1,void 0,this)]},A.id,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),Q.jsxDEV("aside",{className:"detail-side",children:[Q.jsxDEV(Y4,{title:"Payment details",children:Q.jsxDEV(h6,{rows:[["Statement descriptor",U.charge?.calculated_statement_descriptor??U.intent?.statement_descriptor??"—"],["Description",U.description??"—"],...U.invoice?[["Invoice",Q.jsxDEV(y4,{to:`invoices/${U.invoice.id}`,go:q,children:U.invoice.number||U.invoice.id},void 0,!1,void 0,this)]]:[],["Payment ID",Q.jsxDEV("span",{className:"mono",children:U.intent?.id??U.id},void 0,!1,void 0,this)],...U.charge?[["Charge ID",Q.jsxDEV("span",{className:"mono",children:U.charge.id},void 0,!1,void 0,this)]]:[]]},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Payment method",children:U.paymentMethod?Q.jsxDEV(h6,{rows:[["ID",Q.jsxDEV("span",{className:"mono",children:U.paymentMethod.id},void 0,!1,void 0,this)],["Number",F?Q.jsxDEV("span",{className:"card-label",children:[Q.jsxDEV("span",{className:"dots",children:"•••• •••• ••••"},void 0,!1,void 0,this)," ",F.last4]},void 0,!0,void 0,this):"—"],["Expires",F?`${String(F.exp_month).padStart(2,"0")} / ${F.exp_year}`:"—"],["Type",F?`${JO[F.brand]??P4(String(F.brand))} ${F.funding??""} card`:P4(String(U.paymentMethod.type))],["Owner",U.paymentMethod.billing_details?.name??U.customer?.name??"—"],["Owner email",U.paymentMethod.billing_details?.email??U.customer?.email??"—"],["Origin",F?.country?QO[F.country]??F.country:"—"],["CVC check",F?.checks?.cvc_check?F.checks.cvc_check==="pass"?Q.jsxDEV("span",{className:"check-pass",children:[Q.jsxDEV(a2,{name:"check",size:12},void 0,!1,void 0,this)," Passed"]},void 0,!0,void 0,this):P4(F.checks.cvc_check):"—"]]},void 0,!1,void 0,this):Q.jsxDEV(m6,{title:"No payment method"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Metadata",children:Object.keys(U.intent?.metadata??U.charge?.metadata??{}).length?Q.jsxDEV(h6,{rows:Object.entries(U.intent?.metadata??U.charge?.metadata??{}).map(([A,O])=>[A,String(O)])},void 0,!1,void 0,this):Q.jsxDEV("div",{className:"muted small",children:"No metadata"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var JO={visa:"Visa",mastercard:"Mastercard",amex:"American Express",discover:"Discover",diners:"Diners Club",jcb:"JCB",unionpay:"UnionPay"},QO={US:"United States",GB:"United Kingdom",CA:"Canada",DE:"Germany",FR:"France",AU:"Australia",JP:"Japan",IE:"Ireland",NL:"Netherlands",SG:"Singapore"};function Bz({title:U,onClose:q,children:R,footer:K,label:F}){return Q.jsxDEV("div",{className:"overlay",onMouseDown:q,children:Q.jsxDEV("div",{className:"dialog create-modal",role:"dialog","aria-modal":"true","aria-label":F??U,onMouseDown:(_)=>_.stopPropagation(),children:[Q.jsxDEV("div",{className:"dialog-head",children:[Q.jsxDEV("h2",{children:U},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"icon-btn","aria-label":"Close",onClick:q,children:Q.jsxDEV(a2,{name:"x"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"dialog-body",children:R},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"dialog-foot",children:K},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function UO({payment:U,onClose:q,onDone:R}){let K=U.amount-U.amountRefunded,[F,_]=Y2.useState((K/100).toFixed(2)),[A,O]=Y2.useState(""),[j,V]=Y2.useState(!1),[f,C]=Y2.useState(null),k=Math.round(Number(F)*100);return Q.jsxDEV(Bz,{title:"Refund payment",onClose:q,footer:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("button",{className:"btn",onClick:q,children:"Cancel"},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"btn btn-primary create-submit",disabled:j,onClick:async()=>{if(!Number.isFinite(k)||k<=0){C("Enter an amount greater than 0.");return}if(k>K){C(`Refund cannot be more than ${y2(K,U.currency)}.`);return}V(!0),C(null);try{await wM(U,k===K&&U.amountRefunded===0?void 0:k,A&&A!=="other"?A:void 0),R()}catch(k2){C(String(k2.message??k2))}finally{V(!1)}},children:j?"Refunding…":"Refund"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:[Q.jsxDEV("p",{className:"dialog-note",children:"Refunds take 5–10 days to appear on a customer’s statement. Stripe’s fees for the original payment won’t be returned, but there are no additional fees for the refund."},void 0,!1,void 0,this),Q.jsxDEV("label",{className:"field create-field",children:[Q.jsxDEV("span",{className:"field-label",children:"Refund"},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"money-input",children:[Q.jsxDEV("span",{className:"money-prefix",children:"$"},void 0,!1,void 0,this),Q.jsxDEV("input",{"aria-label":"Refund amount",inputMode:"decimal",value:F,onChange:(k2)=>_(k2.target.value)},void 0,!1,void 0,this),Q.jsxDEV("span",{className:"money-suffix",children:c4(U.currency)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),U.amountRefunded>0?Q.jsxDEV("span",{className:"field-hint",children:[y2(U.amountRefunded,U.currency)," already refunded"]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),Q.jsxDEV("label",{className:"field create-field",children:[Q.jsxDEV("span",{className:"field-label",children:"Reason"},void 0,!1,void 0,this),Q.jsxDEV("select",{"aria-label":"Reason",value:A,onChange:(k2)=>O(k2.target.value),children:[Q.jsxDEV("option",{value:"",children:"Select a reason"},void 0,!1,void 0,this),Q.jsxDEV("option",{value:"duplicate",children:"Duplicate"},void 0,!1,void 0,this),Q.jsxDEV("option",{value:"fraudulent",children:"Fraudulent"},void 0,!1,void 0,this),Q.jsxDEV("option",{value:"requested_by_customer",children:"Requested by customer"},void 0,!1,void 0,this),Q.jsxDEV("option",{value:"other",children:"Other"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),f?Q.jsxDEV("div",{className:"form-error",role:"alert",children:f},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function BO({subscription:U,onClose:q,onDone:R}){let[K,F]=Y2.useState("now"),[_,A]=Y2.useState(!1),[O,j]=Y2.useState(null);return Q.jsxDEV(Bz,{title:"Cancel subscription",onClose:q,footer:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("button",{className:"btn",onClick:q,children:"Don’t cancel"},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"btn btn-danger create-submit",disabled:_,onClick:async()=>{A(!0),j(null);try{await AM(String(U.id),K),R()}catch(f){j(String(f.message??f))}finally{A(!1)}},children:_?"Canceling…":"Cancel subscription"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:[Q.jsxDEV("fieldset",{className:"radio-group",children:[Q.jsxDEV("legend",{className:"field-label",children:"Cancel"},void 0,!1,void 0,this),Q.jsxDEV("label",{className:"radio",children:[Q.jsxDEV("input",{type:"radio",name:"when",checked:K==="now",onChange:()=>F("now")},void 0,!1,void 0,this),Q.jsxDEV("span",{children:["Immediately",Q.jsxDEV("span",{className:"radio-hint",children:"The subscription ends now and no further invoices are created."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("label",{className:"radio",children:[Q.jsxDEV("input",{type:"radio",name:"when",checked:K==="period_end",onChange:()=>F("period_end")},void 0,!1,void 0,this),Q.jsxDEV("span",{children:["End of the current period",Q.jsxDEV("span",{className:"radio-hint",children:O2(U.current_period_end,!1)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),O?Q.jsxDEV("div",{className:"form-error",role:"alert",children:O},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var HO={customers:{title:"Create customer",submit:"Add customer",fields:[{name:"name",label:"Name"},{name:"email",label:"Email",type:"email"},{name:"description",label:"Description"},{name:"phone",label:"Phone"}]},products:{title:"Add a product",submit:"Add product",fields:[{name:"name",label:"Name",required:!0},{name:"description",label:"Description"}]}};function VM({collection:U,onClose:q,onCreated:R}){let K=HO[U],[F,_]=Y2.useState({}),[A,O]=Y2.useState(!1),[j,V]=Y2.useState(null),f=async()=>{O(!0),V(null);try{R(await TM(U,F))}catch(C){V(String(C.message??C))}finally{O(!1)}};return Q.jsxDEV(Bz,{title:K.title,onClose:q,footer:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("button",{className:"btn",onClick:q,children:"Cancel"},void 0,!1,void 0,this),Q.jsxDEV("button",{className:"btn btn-primary create-submit",disabled:A,onClick:f,children:A?"Saving…":K.submit},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:[U==="customers"?Q.jsxDEV("div",{className:"dialog-subhead",children:"Account information"},void 0,!1,void 0,this):null,K.fields.map((C)=>Q.jsxDEV("label",{className:"field create-field",children:[Q.jsxDEV("span",{className:"field-label",children:[C.label,C.required?"":Q.jsxDEV("span",{className:"optional",children:" (optional)"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("input",{"aria-label":C.label,type:C.type??"text",placeholder:C.placeholder??"",value:F[C.name]??"",onChange:(k)=>_((h)=>({...h,[C.name]:k.target.value}))},void 0,!1,void 0,this)]},C.name,!0,void 0,this)),j?Q.jsxDEV("div",{className:"form-error",role:"alert",children:j},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var SM=[{key:"all",label:"All customers",test:()=>!0},{key:"first_time",label:"First-time customers",test:(U)=>U.payments===1},{key:"repeat",label:"Repeat customers",test:(U)=>U.payments>1},{key:"recent",label:"Recent customers",test:(U)=>Number(U.created)>=Date.now()/1000-30*bM},{key:"refunds",label:"High refunds",test:(U)=>U.refunds>0}];function WO({go:U,create:q}){let{data:R,error:K,reload:F}=U5(qM,[]),[_,A]=Y2.useState(q),[O,j]=Y2.useState("all"),[V,f]=Y2.useState();Y2.useEffect(()=>{if(q)A(!0)},[q]);let C=(R??[]).filter((h)=>fM(Number(h.created),V)),k=C.filter(SM.find((h)=>h.key===O).test);return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Customers",actions:Q.jsxDEV("button",{className:"btn btn-primary",onClick:()=>A(!0),children:[Q.jsxDEV(a2,{name:"plus",size:14},void 0,!1,void 0,this)," Create customer"]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(RG,{value:O,onChange:j,options:SM.map((h)=>({key:h.key,label:h.label,count:C.filter(h.test).length}))},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"toolbar",children:[Q.jsxDEV(dZ,{label:"Created",value:V,options:yM,onChange:f},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"toolbar-right",children:Q.jsxDEV("button",{className:"btn",onClick:()=>gM("customers",["id","Name","Email","Created","Total Spend","Payment Count","Refunded Volume"],k.map((h)=>[h.id,h.name??"",h.email??"",new Date(Number(h.created)*1000).toISOString(),(h.totalSpend/100).toFixed(2),h.payments,(h.refunds/100).toFixed(2)])),children:[Q.jsxDEV(a2,{name:"download",size:14},void 0,!1,void 0,this)," Export"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),R?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Name"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Email"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Default payment method"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Created"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Total spend"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Payments"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Refunds"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[k.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:7,children:Q.jsxDEV(m6,{title:"No customers",body:"Customers you create show up here."},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),k.map((h)=>Q.jsxDEV("tr",{className:"list-row",onClick:()=>U(`customers/${h.id}`),children:[Q.jsxDEV("td",{className:"strong",children:h.name||Q.jsxDEV("span",{className:"muted",children:"—"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:h.email||Q.jsxDEV("span",{className:"muted",children:"—"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:Q.jsxDEV(pZ,{pm:h.defaultCard},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"muted nowrap",children:O2(h.created)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right nowrap",children:y2(h.totalSpend,h.currency)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:h.payments},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right nowrap",children:y2(h.refunds,h.currency)},void 0,!1,void 0,this)]},h.id,!0,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(QX,{n:k.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Q.jsxDEV(B5,{error:K},void 0,!1,void 0,this),_?Q.jsxDEV(VM,{collection:"customers",onClose:()=>{if(A(!1),q)U("customers")},onCreated:(h)=>{A(!1),F(),U(`customers/${h.id}`)}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function Hz(U,q){let K=(U.items?.data??[]).map((F)=>{let _=typeof F.price?.product==="string"?F.price.product:F.price?.product?.id,A=q.get(_)?.name??F.price?.nickname??_??"Product";return Number(F.quantity)>1?`${A} × ${F.quantity}`:A});return K.length>1?`${K[0]} and ${K.length-1} more`:K[0]??"—"}function Wz(U){let q=U.items?.data??[],R=q.reduce((F,_)=>F+(Number(_.price?.unit_amount)||0)*(Number(_.quantity)||1),0),K=q[0]?.price?.recurring?.interval??"month";return{amount:R,currency:String(q[0]?.price?.currency??U.currency??"usd"),interval:K}}function Mz({invoices:U,customers:q,go:R,noCustomer:K}){return Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Amount"},void 0,!1,void 0,this),Q.jsxDEV("th",{},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Invoice number"},void 0,!1,void 0,this),K?null:Q.jsxDEV("th",{children:"Customer"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Due"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Created"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[U.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:6,children:Q.jsxDEV(m6,{title:"No invoices"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),U.map((F)=>{let _=q?.get(F.customer);return Q.jsxDEV("tr",{className:"list-row",onClick:()=>R(`invoices/${F.id}`),children:[Q.jsxDEV("td",{className:"nowrap",children:Q.jsxDEV(lZ,{amount:Number(F.total??F.amount_due)||0,currency:F.currency},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:Q.jsxDEV(J6,{value:F.status},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono",children:F.number||F.id},void 0,!1,void 0,this),K?null:Q.jsxDEV("td",{className:"truncate",children:F.customer_email||_?.email||_?.name||F.customer},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"muted nowrap",children:F.due_date?O2(F.due_date,!1):"—"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted nowrap",children:O2(F.created)},void 0,!1,void 0,this)]},F.id,!0,void 0,this)})]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function MO({id:U,go:q}){let{data:R,error:K}=U5(()=>KM(U),[U]);return R?Q.jsxDEV(qO,{data:R,go:q},void 0,!1,void 0,this):Q.jsxDEV(B5,{error:K},void 0,!1,void 0,this)}function qO({data:U,go:q}){let R=U.customer,K=R.invoice_settings?.default_payment_method,F=U.payments.filter((_)=>_.status!=="failed"&&_.status!=="incomplete").reduce((_,A)=>_+A.amount-A.amountRefunded,0);return Q.jsxDEV("div",{className:"page detail-page",children:[Q.jsxDEV(H5,{kicker:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(a2,{name:"person",size:12},void 0,!1,void 0,this)," Customer"]},void 0,!0,void 0,this),title:R.name||R.email||R.id,children:[Q.jsxDEV("div",{className:"subtitle",children:R.email??""},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"summary",children:[Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Customer since"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:O2(R.created,!1)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Total spend"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:y2(F,U.payments[0]?.currency??"usd")},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Payments"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:U.payments.filter((_)=>_.status!=="failed"&&_.status!=="incomplete").length},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"detail-columns",children:[Q.jsxDEV("div",{className:"detail-main",children:[Q.jsxDEV(Y4,{title:"Subscriptions",children:U.subscriptions.length===0?Q.jsxDEV("div",{className:"muted small",children:"No subscriptions"},void 0,!1,void 0,this):Q.jsxDEV("div",{className:"sub-list",children:U.subscriptions.map((_)=>{let A=Wz(_);return Q.jsxDEV("a",{href:z8(`subscriptions/${_.id}`),className:"sub-card list-row",onClick:(O)=>{O.preventDefault(),q(`subscriptions/${_.id}`)},children:[Q.jsxDEV("div",{className:"sub-card-main",children:[Q.jsxDEV("span",{className:"strong",children:Hz(_,U.products)},void 0,!1,void 0,this)," ",Q.jsxDEV(J6,{value:_.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"muted small",children:[y2(A.amount,A.currency)," / ",A.interval," · ",_.status==="canceled"?`Canceled ${O2(_.canceled_at??_.ended_at,!1)}`:_.status==="trialing"?`Trial ends ${O2(_.trial_end,!1)}`:_.cancel_at_period_end?`Cancels ${O2(_.current_period_end,!1)}`:`Next invoice on ${O2(_.current_period_end,!1)}`]},void 0,!0,void 0,this)]},_.id,!0,void 0,this)})},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Payments",className:"customer-payments",children:Q.jsxDEV(Qz,{payments:U.payments,go:q,compact:!0,noCustomer:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Payment methods",children:U.paymentMethods.length===0?Q.jsxDEV("div",{className:"muted small",children:"No payment methods"},void 0,!1,void 0,this):Q.jsxDEV("table",{className:"table",children:Q.jsxDEV("tbody",{children:U.paymentMethods.map((_)=>Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:[Q.jsxDEV(pZ,{pm:_},void 0,!1,void 0,this)," ",_.id===K?Q.jsxDEV("span",{className:"pill pill-grey",children:"Default"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),Q.jsxDEV("td",{className:"muted",children:_.card?`Expires ${String(_.card.exp_month).padStart(2,"0")} / ${_.card.exp_year}`:""},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono muted right",children:_.id},void 0,!1,void 0,this)]},_.id,!0,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Invoices",children:Q.jsxDEV(Mz,{invoices:U.invoices,go:q,noCustomer:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Events",children:Q.jsxDEV(Uz,{events:U.events.slice(0,10)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("aside",{className:"detail-side",children:[Q.jsxDEV(Y4,{title:"Details",children:Q.jsxDEV(h6,{rows:[["Customer ID",Q.jsxDEV("span",{className:"mono",children:R.id},void 0,!1,void 0,this)],["Customer since",O2(R.created,!1)],["Email",R.email??"—"],["Description",R.description||"—"],["Phone",R.phone||"—"],["Billing details",R.address?.line1?`${R.address.line1}, ${R.address.city??""}`:"No billing address"],["Currency",R.currency?c4(R.currency):"—"]]},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Metadata",children:Object.keys(R.metadata??{}).length?Q.jsxDEV(h6,{rows:Object.entries(R.metadata).map(([_,A])=>[_,String(A)])},void 0,!1,void 0,this):Q.jsxDEV("div",{className:"muted small",children:"No metadata"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function KO({go:U}){let{data:q,error:R}=U5(RM,[]),[K,F]=Y2.useState("all"),_=q?.subscriptions??[],A=_.filter((O)=>K==="all"||O.status===K);return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Subscriptions"},void 0,!1,void 0,this),Q.jsxDEV(RG,{value:K,onChange:F,options:["all","active","trialing","past_due","canceled"].map((O)=>({key:O,label:O==="all"?"All":KG[O].label,count:O==="all"?_.length:_.filter((j)=>j.status===O).length}))},void 0,!1,void 0,this),q?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Customer"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Status"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Billing"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Product"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Amount"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Created"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[A.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:6,children:Q.jsxDEV(m6,{title:"No subscriptions"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),A.map((O)=>{let j=q.customers.get(O.customer),V=Wz(O);return Q.jsxDEV("tr",{className:"list-row",onClick:()=>U(`subscriptions/${O.id}`),children:[Q.jsxDEV("td",{children:[Q.jsxDEV("div",{className:"strong",children:j?.name||j?.email||O.customer},void 0,!1,void 0,this),j?.name&&j?.email?Q.jsxDEV("div",{className:"muted small",children:j.email},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),Q.jsxDEV("td",{children:[Q.jsxDEV(J6,{value:O.status},void 0,!1,void 0,this),O.cancel_at_period_end&&O.status!=="canceled"?Q.jsxDEV("span",{className:"muted small",children:[" Cancels ",O2(O.current_period_end,!1)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),Q.jsxDEV("td",{children:O.collection_method==="send_invoice"?"Send invoice":"Auto"},void 0,!1,void 0,this),Q.jsxDEV("td",{children:Hz(O,q.products)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right nowrap",children:[y2(V.amount,V.currency)," / ",V.interval]},void 0,!0,void 0,this),Q.jsxDEV("td",{className:"right muted nowrap",children:O2(O.created)},void 0,!1,void 0,this)]},O.id,!0,void 0,this)})]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(QX,{n:A.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function RO({id:U,go:q}){let{data:R,error:K,reload:F}=U5(()=>_M(U),[U]),[_,A]=Y2.useState(!1);if(!R)return Q.jsxDEV(B5,{error:K},void 0,!1,void 0,this);return Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(_O,{data:R,go:q,onCancel:()=>A(!0)},void 0,!1,void 0,this),_?Q.jsxDEV(BO,{subscription:R.subscription,onClose:()=>A(!1),onDone:()=>{A(!1),F()}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function _O({data:U,go:q,onCancel:R}){let{subscription:K,customer:F}=U,_=Wz(K),A=Hz(K,U.products),O=K.status!=="canceled"&&K.status!=="incomplete_expired",j=K.status==="canceled"?`Canceled on ${O2(K.canceled_at??K.ended_at,!1)}`:K.cancel_at_period_end?`Cancels on ${O2(K.current_period_end,!1)}`:K.status==="trialing"?`Trial ends ${O2(K.trial_end,!1)} · First invoice for ${y2(_.amount,_.currency)}`:`Next invoice on ${O2(K.current_period_end,!1)} for ${y2(_.amount,_.currency)}`;return Q.jsxDEV("div",{className:"page detail-page",children:[Q.jsxDEV(H5,{kicker:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(a2,{name:"billing",size:12},void 0,!1,void 0,this)," Subscription"]},void 0,!0,void 0,this),title:Q.jsxDEV(Q.Fragment,{children:[zz(F)," on ",A," ",Q.jsxDEV(J6,{value:K.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),actions:O&&!K.cancel_at_period_end?Q.jsxDEV("button",{className:"btn",onClick:R,children:"Cancel subscription"},void 0,!1,void 0,this):null,children:[Q.jsxDEV("div",{className:"subtitle",children:["Billing ",_.interval,"ly · ",j]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary",children:[Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Started"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:O2(K.start_date??K.created,!1)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:K.status==="canceled"?"Ended":K.cancel_at_period_end?"Cancels":"Next invoice"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:K.status==="canceled"?O2(K.ended_at??K.canceled_at,!1):K.cancel_at_period_end?O2(K.current_period_end,!1):`${y2(_.amount,_.currency)} on ${O2(K.current_period_end,!1)}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Customer"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:F?Q.jsxDEV(y4,{to:`customers/${F.id}`,go:q,children:F.email||F.name},void 0,!1,void 0,this):K.customer},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(Y4,{title:"Subscription details",children:Q.jsxDEV(h6,{rows:[["Customer",F?Q.jsxDEV(y4,{to:`customers/${F.id}`,go:q,children:zz(F)},void 0,!1,void 0,this):K.customer],["Created",O2(K.created)],["Current period",`${O2(K.current_period_start,!1).replace(/, \d{4}$/,"")} to ${O2(K.current_period_end,!1)}`],...K.trial_end?[["Trial",`${O2(K.trial_start,!1)} to ${O2(K.trial_end,!1)}`]]:[],["ID",Q.jsxDEV("span",{className:"mono",children:K.id},void 0,!1,void 0,this)],["Billing method",K.collection_method==="send_invoice"?"Email invoice to the customer":"Charge default payment method"],["Payment method",Q.jsxDEV(pZ,{pm:U.paymentMethod},void 0,!1,void 0,this)],["Discounts",(K.discounts??[]).length?`${K.discounts.length}`:"—"]]},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Pricing",children:Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Product"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Quantity"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Unit price"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Total"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:(K.items?.data??[]).map((V)=>{let f=typeof V.price?.product==="string"?V.price.product:V.price?.product?.id,C=Number(V.price?.unit_amount)||0,k=Number(V.quantity)||1;return Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:[Q.jsxDEV("div",{className:"strong",children:U.products.get(f)?.name??f},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"muted small",children:[y2(C,V.price?.currency)," / ",V.price?.recurring?.interval??"month"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("td",{className:"right",children:k},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:y2(C,V.price?.currency)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:[y2(C*k,V.price?.currency)," ",c4(V.price?.currency)]},void 0,!0,void 0,this)]},V.id,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Invoices",children:Q.jsxDEV(Mz,{invoices:U.invoices,go:q,noCustomer:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Events",children:Q.jsxDEV(Uz,{events:U.events},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function OO({go:U}){let{data:q,error:R}=U5(OM,[]),[K,F]=Y2.useState("all"),_=q?.invoices??[],A=_.filter((O)=>K==="all"||O.status===K);return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Invoices"},void 0,!1,void 0,this),Q.jsxDEV(RG,{value:K,onChange:F,options:["all","draft","open","paid","void","uncollectible"].map((O)=>({key:O,label:O==="all"?"All invoices":KG[O].label,count:O==="all"?_.length:_.filter((j)=>j.status===O).length}))},void 0,!1,void 0,this),q?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(Mz,{invoices:A,customers:q.customers,go:U},void 0,!1,void 0,this),Q.jsxDEV(QX,{n:A.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function LO({id:U,go:q}){let{data:R,error:K}=U5(async()=>{let A=await p4(`/v1/invoices/${U}`),O=typeof A.customer==="string"?await p4(`/v1/customers/${A.customer}`).catch(()=>{return}):void 0;return{invoice:A,customer:O}},[U]);if(!R)return Q.jsxDEV(B5,{error:K},void 0,!1,void 0,this);let F=R.invoice,_=F.lines?.data??[];return Q.jsxDEV("div",{className:"page detail-page",children:[Q.jsxDEV(H5,{kicker:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(a2,{name:"billing",size:12},void 0,!1,void 0,this)," Invoice"]},void 0,!0,void 0,this),title:Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(lZ,{amount:Number(F.total??F.amount_due)||0,currency:F.currency},void 0,!1,void 0,this)," ",Q.jsxDEV(J6,{value:F.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:Q.jsxDEV("div",{className:"summary",children:[Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Invoice number"},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"mono",children:F.number||F.id},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:"Customer"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:R.customer?Q.jsxDEV(y4,{to:`customers/${R.customer.id}`,go:q,children:R.customer.email||R.customer.name},void 0,!1,void 0,this):F.customer},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("div",{className:"summary-item",children:[Q.jsxDEV("div",{className:"summary-label",children:F.status==="paid"?"Paid":"Due"},void 0,!1,void 0,this),Q.jsxDEV("div",{children:F.status==="paid"?O2(F.status_transitions?.paid_at):F.due_date?O2(F.due_date,!1):"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Summary",children:Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Description"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Qty"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Amount"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[_.map((A)=>Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:A.description||(A.price?.product?`Subscription (${O2(A.period?.start,!1)} – ${O2(A.period?.end,!1)})`:"—")},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:A.quantity??1},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:y2(A.amount,A.currency)},void 0,!1,void 0,this)]},A.id,!0,void 0,this)),Q.jsxDEV("tr",{className:"table-total",children:[Q.jsxDEV("td",{children:"Total"},void 0,!1,void 0,this),Q.jsxDEV("td",{},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right strong",children:y2(F.total,F.currency)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("tr",{className:"table-total",children:[Q.jsxDEV("td",{children:"Amount due"},void 0,!1,void 0,this),Q.jsxDEV("td",{},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right strong",children:y2(F.amount_remaining??F.amount_due,F.currency)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Details",children:Q.jsxDEV(h6,{rows:[["ID",Q.jsxDEV("span",{className:"mono",children:F.id},void 0,!1,void 0,this)],["Billing",F.collection_method==="send_invoice"?"Send invoice":"Charge automatically"],...F.subscription?[["Subscription",Q.jsxDEV(y4,{to:`subscriptions/${F.subscription}`,go:q,children:F.subscription},void 0,!1,void 0,this)]]:[],...F.payment_intent?[["Payment",Q.jsxDEV(y4,{to:`payments/${F.payment_intent}`,go:q,children:F.payment_intent},void 0,!1,void 0,this)]]:[],["Created",O2(F.created)]]},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function FO({go:U}){let{data:q,error:R,reload:K}=U5(LM,[]),[F,_]=Y2.useState(!1);return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Product catalog",actions:Q.jsxDEV("button",{className:"btn btn-primary",onClick:()=>_(!0),children:[Q.jsxDEV(a2,{name:"plus",size:14},void 0,!1,void 0,this)," Create product"]},void 0,!0,void 0,this),children:Q.jsxDEV("div",{className:"tabs",children:[Q.jsxDEV(y4,{to:"products",go:U,className:"tab active",children:"Products"},void 0,!1,void 0,this),Q.jsxDEV(y4,{to:"coupons",go:U,className:"tab",children:"Coupons"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),q?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Name"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Pricing"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Created"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Updated"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[q.products.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:4,children:Q.jsxDEV(m6,{title:"No products"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),q.products.map((A)=>{let O=q.prices.filter((V)=>V.product===A.id),j=O[O.length-1];return Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:Q.jsxDEV("div",{className:"product-cell",children:[Q.jsxDEV("span",{className:"product-thumb",children:A.images?.[0]?Q.jsxDEV("img",{src:A.images[0],alt:""},void 0,!1,void 0,this):Q.jsxDEV(a2,{name:"catalog"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("div",{children:[Q.jsxDEV("div",{className:"strong",children:A.name},void 0,!1,void 0,this),A.description?Q.jsxDEV("div",{className:"muted small",children:A.description},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{children:j?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV("span",{children:[y2(j.unit_amount,j.currency)," ",c4(j.currency),j.recurring?` / ${j.recurring.interval}`:""]},void 0,!0,void 0,this),O.length>1?Q.jsxDEV("div",{className:"muted small",children:[O.length," prices"]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this):Q.jsxDEV("span",{className:"muted",children:"No prices"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"muted nowrap",children:O2(A.created,!1)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted nowrap",children:O2(A.updated??A.created,!1)},void 0,!1,void 0,this)]},A.id,!0,void 0,this)})]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(QX,{n:q.products.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this),F?Q.jsxDEV(VM,{collection:"products",onClose:()=>_(!1),onCreated:()=>{_(!1),K()}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function NO({go:U}){let{data:q,error:R}=U5(NM,[]);if(!q)return Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this);let K=(_)=>q.balance[_]??[],F=[...new Set([...K("available"),...K("pending")].map((_)=>_.currency))];return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Balances"},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Balance summary",children:[Q.jsxDEV(u_,{row:q.balance},void 0,!1,void 0,this),Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Payments"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Amount"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:F.map((_)=>{let A=K("pending").find((j)=>j.currency===_)?.amount??0,O=K("available").find((j)=>j.currency===_)?.amount??0;return Q.jsxDEV(Y2.default.Fragment,{children:[Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:"Incoming"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:[y2(A,_)," ",c4(_)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:"Available to pay out"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right",children:[y2(O,_)," ",c4(_)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("tr",{className:"table-total",children:[Q.jsxDEV("td",{children:"Total"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right strong",children:[y2(A+O,_)," ",c4(_)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},_,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(Y4,{title:"Recent activity",actions:Q.jsxDEV(y4,{to:"balance-transactions",go:U,children:"View all"},void 0,!1,void 0,this),children:Q.jsxDEV(Jz,{section:MG.find((_)=>_.key==="balance_transactions"),rows:q.transactions.slice(0,10),onSelect:()=>{}},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(Y4,{title:"Payouts",actions:Q.jsxDEV(y4,{to:"payouts",go:U,children:"View all"},void 0,!1,void 0,this),children:Q.jsxDEV(Jz,{section:MG.find((_)=>_.key==="payouts"),rows:q.payouts.slice(0,10),onSelect:()=>{}},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function wO(U){let q=U?.settings?.payouts?.schedule;if(!q||typeof q!=="object")return"Daily";let R=String(q.interval??"daily");if(R==="weekly"&&q.weekly_anchor)return`Weekly on ${P4(String(q.weekly_anchor))}`;if(R==="monthly"&&q.monthly_anchor!=null)return`Monthly on day ${q.monthly_anchor}`;return P4(R)}function AO({go:U}){let{data:q,error:R}=U5(Zz,[]);if(!q)return Q.jsxDEV(B5,{error:R},void 0,!1,void 0,this);return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Developers"},void 0,!1,void 0,this),Q.jsxDEV("section",{className:"section settings-block","data-settings":"api-keys",children:[Q.jsxDEV("div",{className:"section-head",children:Q.jsxDEV("h2",{children:"API keys"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Name"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Token"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Created"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{className:"strong",children:"Publishable key"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono",children:"pk_test_twin"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted",children:"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{className:"strong",children:"Secret key"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono",children:"sk_test_••••twin"},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted",children:"—"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("section",{className:"section settings-block","data-settings":"webhooks",children:[Q.jsxDEV("div",{className:"section-head",children:Q.jsxDEV("h2",{children:"Webhooks"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Endpoint"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Status"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Listening to"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:[q.webhooks.length===0&&Q.jsxDEV("tr",{className:"empty-row",children:Q.jsxDEV("td",{colSpan:3,children:Q.jsxDEV(m6,{title:"No webhook endpoints"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),q.webhooks.map((K)=>Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{className:"mono",children:K.url??K.id},void 0,!1,void 0,this),Q.jsxDEV("td",{children:Q.jsxDEV(J6,{value:K.status??"enabled"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted",children:[(K.enabled_events??[]).length," events"]},void 0,!0,void 0,this)]},K.id,!0,void 0,this))]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(Y4,{title:"Events",actions:Q.jsxDEV(y4,{to:"events",go:U,children:"View all"},void 0,!1,void 0,this),children:Q.jsxDEV("table",{className:"table",children:[Q.jsxDEV("thead",{children:Q.jsxDEV("tr",{children:[Q.jsxDEV("th",{children:"Event"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Type"},void 0,!1,void 0,this),Q.jsxDEV("th",{children:"Object"},void 0,!1,void 0,this),Q.jsxDEV("th",{className:"right",children:"Date"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV("tbody",{children:q.events.slice(0,15).map((K)=>Q.jsxDEV("tr",{children:[Q.jsxDEV("td",{children:jM(K)},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono muted",children:K.type},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"mono muted",children:K.data?.object?.id},void 0,!1,void 0,this),Q.jsxDEV("td",{className:"right muted nowrap",children:O2(K.created)},void 0,!1,void 0,this)]},K.id,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function TO(){let{data:U,error:q}=U5(Zz,[]);if(!U)return Q.jsxDEV(B5,{error:q},void 0,!1,void 0,this);let R=U.account;return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:"Settings"},void 0,!1,void 0,this),Q.jsxDEV("section",{className:"section settings-block","data-settings":"account",children:[Q.jsxDEV("div",{className:"section-head",children:Q.jsxDEV("h2",{children:"Business details"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(h6,{rows:[["Account ID",Q.jsxDEV("span",{className:"mono",children:R?.id??"—"},void 0,!1,void 0,this)],["Account name",R?.settings?.dashboard?.display_name??zM],["Country",R?.country??"—"],["Default currency",String(R?.default_currency??"usd").toUpperCase()]]},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("section",{className:"section settings-block","data-settings":"public-details",children:[Q.jsxDEV("div",{className:"section-head",children:[Q.jsxDEV("h2",{children:"Public details"},void 0,!1,void 0,this),Q.jsxDEV("a",{className:"btn",href:`${BG}/settings/public`,children:"Edit"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV(h6,{rows:[["Business name",Q.jsxDEV("span",{className:"settings-public-name",children:JM(R)},void 0,!1,void 0,this)]]},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Q.jsxDEV("section",{className:"section settings-block","data-settings":"payouts",children:[Q.jsxDEV("div",{className:"section-head",children:Q.jsxDEV("h2",{children:"Payouts"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Q.jsxDEV(h6,{rows:[["Payout schedule",Q.jsxDEV("span",{className:"settings-payout-schedule",children:wO(R)},void 0,!1,void 0,this)]]},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function IO({section:U,go:q}){let{data:R,error:K}=U5(()=>S2(`/v1/${U.key}`),[U.key]),F=U.key==="accounts"?R?.[0]:void 0,_=U.path.startsWith("radar/")?["radar/reviews","radar/lists"]:U.path.startsWith("terminal/")?["terminal/readers","terminal/locations"]:U.path.startsWith("issuing/")?["issuing/cards","issuing/cardholders"]:U.path.startsWith("connect/")?["connect/accounts","connect/transfers"]:U.key==="payouts"||U.key==="balance_transactions"?["payouts","balance-transactions"]:[],A=U.path.startsWith("radar/")?"Radar":U.path.startsWith("terminal/")?"Terminal":U.path.startsWith("issuing/")?"Issuing":U.path.startsWith("connect/")?"Connect":U.key==="tax_rates"?"Tax":U.label;return Q.jsxDEV("div",{className:"page",children:[Q.jsxDEV(H5,{title:A,children:_.length?Q.jsxDEV("div",{className:"tabs",children:_.map((O)=>Q.jsxDEV(y4,{to:O,go:q,className:`tab ${O===U.path?"active":""}`,children:qG.get(O).label.replace(/^(Radar|Terminal|Issuing) /,"")},O,!1,void 0,this))},void 0,!1,void 0,this):null},void 0,!1,void 0,this),F?Q.jsxDEV(d_,{row:F},void 0,!1,void 0,this):null,R?Q.jsxDEV(Q.Fragment,{children:[Q.jsxDEV(Jz,{section:U,rows:R,onSelect:()=>{}},void 0,!1,void 0,this),Q.jsxDEV(QX,{n:R.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Q.jsxDEV(B5,{error:K},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function PO({route:U,search:q,go:R}){let[K,F]=U,_=U.join("/");if(!K||K==="dashboard")return Q.jsxDEV(XO,{go:R},void 0,!1,void 0,this);if(K==="payments")return F?Q.jsxDEV(YO,{id:F,go:R},void 0,!1,void 0,this):Q.jsxDEV(ZO,{go:R},void 0,!1,void 0,this);if(K==="customers")return F?Q.jsxDEV(MO,{id:F,go:R},void 0,!1,void 0,this):Q.jsxDEV(WO,{go:R,create:new URLSearchParams(q).has("create")},void 0,!1,void 0,this);if(K==="subscriptions")return F?Q.jsxDEV(RO,{id:F,go:R},void 0,!1,void 0,this):Q.jsxDEV(KO,{go:R},void 0,!1,void 0,this);if(K==="invoices")return F?Q.jsxDEV(LO,{id:F,go:R},void 0,!1,void 0,this):Q.jsxDEV(OO,{go:R},void 0,!1,void 0,this);if(K==="products")return Q.jsxDEV(FO,{go:R},void 0,!1,void 0,this);if(K==="balance")return Q.jsxDEV(NO,{go:R},void 0,!1,void 0,this);if(K==="developers")return Q.jsxDEV(AO,{go:R},void 0,!1,void 0,this);if(K==="settings")return Q.jsxDEV(TO,{},void 0,!1,void 0,this);let A=qG.get(_)??qG.get(K);if(A)return Q.jsxDEV(IO,{section:A,go:R},A.key,!1,void 0,this);return Q.jsxDEV("div",{className:"page",children:Q.jsxDEV(m6,{title:"Page not found",body:"This page doesn’t exist in the Dashboard."},void 0,!1,void 0,this)},void 0,!1,void 0,this)}var vM={customer:(U)=>`customers/${U}`,payment_intent:(U)=>`payments/${U}`,charge:(U)=>`payments/${U}`,subscription:(U)=>`subscriptions/${U}`,invoice:(U)=>`invoices/${U}`},$z={product:{path:"products",label:"Products"},...Object.fromEntries(MG.filter((U)=>U.page&&U.key!=="accounts").map((U)=>[U.key.replace(/s$/,"").replace(/\//g,"."),{path:U.path,label:U.label}]))};function CO(U){let q=new URLSearchParams(U).get("show");if(!q)return null;let R=q.indexOf(":"),K=q.slice(0,R),F=q.slice(R+1);if(R<=0||!F)return null;let _=K.replace(/[._]/g," ");if(vM[K])return{to:z8(vM[K](F))};if($z[K])return{to:z8($z[K].path),note:`These screens have no page for one ${_} yet; ${$z[K].label.toLowerCase()} are listed here. Look for ${F}.`};return{to:z8("dashboard"),note:`These screens have no page for ${_} records yet, so ${F} can't be shown here.`}}function SO(){let[U]=Y2.useState(()=>CO(window.location.search)),[q,R]=Y2.useState(U?.note??""),[K,F]=Y2.useState(()=>{if(U){window.history.replaceState(null,"",U.to);let O=new URL(U.to,window.location.origin);return{path:O.pathname,search:O.search}}return{path:window.location.pathname,search:window.location.search}});Y2.useEffect(()=>{let O=()=>F({path:window.location.pathname,search:window.location.search});return window.addEventListener("popstate",O),()=>window.removeEventListener("popstate",O)},[]);let _=Y2.useCallback((O)=>{R("");let j=z8(O);window.history.pushState(null,"",j);let V=new URL(j,window.location.origin);F({path:V.pathname,search:V.search}),window.scrollTo(0,0)},[]),A=x_(K.path);return Y2.useEffect(()=>{if(A.length===0)window.history.replaceState(null,"",z8("dashboard"));let[O,j]=A,V={dashboard:"Home",payments:"Payments",customers:"Customers",subscriptions:"Subscriptions",invoices:"Invoices",products:"Product catalog",balance:"Balances",developers:"Developers",settings:"Settings"};document.title=`${j?`${j} – `:""}${V[O??"dashboard"]??qG.get(A.join("/"))?.label??"Dashboard"} – Stripe`},[K.path]),Q.jsxDEV("div",{className:"dash",children:[Q.jsxDEV(o_,{},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"frame",children:[Q.jsxDEV(i_,{route:A,go:_},void 0,!1,void 0,this),Q.jsxDEV("div",{className:"main",children:[Q.jsxDEV(n_,{go:_},void 0,!1,void 0,this),Q.jsxDEV("main",{className:"content",children:[q?Q.jsxDEV("div",{className:"show-note",role:"status",children:[Q.jsxDEV("span",{children:q},void 0,!1,void 0,this),Q.jsxDEV("button",{type:"button","aria-label":"Dismiss",onClick:()=>R(""),children:Q.jsxDEV(a2,{name:"x",size:12},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,Q.jsxDEV(PO,{route:A,search:K.search,go:_},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}if(typeof document<"u"&&document.getElementById("root"))kM.createRoot(document.getElementById("root")).render(Q.jsxDEV(SO,{},void 0,!1,void 0,this));export{x_ as routeOf,wO as payoutScheduleText,p_ as globalSearch,O2 as formatDate,r_ as computeHomeMetrics,o_ as TestModeBand,_O as SubscriptionDetailView,J6 as StatusPill,i_ as SideNav,MG as SECTIONS,Qz as PaymentsTable,m_ as PaymentErrorBanner,zO as PaymentDetailView,PO as Page,Jz as ListPane,Mz as InvoicesTable,a2 as Icon,XO as HomeScreen,qO as CustomerDetailView,d_ as ConnectAccountPanel,pZ as CardLabel,h_ as CardBrand,HO as CREATE_FORMS,u_ as BalanceSummary,SO as App};
|