tapimo 0.0.0 → 0.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/LICENSE +21 -0
- package/README.md +118 -0
- package/dist/ApiKey.d.ts +65 -0
- package/dist/ApiKey.d.ts.map +1 -0
- package/dist/ApiKey.js +105 -0
- package/dist/ApiKey.js.map +1 -0
- package/dist/ApiKeySource.d.ts +166 -0
- package/dist/ApiKeySource.d.ts.map +1 -0
- package/dist/ApiKeySource.js +234 -0
- package/dist/ApiKeySource.js.map +1 -0
- package/dist/App.d.ts +19317 -0
- package/dist/App.d.ts.map +1 -0
- package/dist/App.js +612 -0
- package/dist/App.js.map +1 -0
- package/dist/Assets.d.ts +44 -0
- package/dist/Assets.d.ts.map +1 -0
- package/dist/Assets.js +23 -0
- package/dist/Assets.js.map +1 -0
- package/dist/Auth.d.ts +2 -0
- package/dist/Auth.d.ts.map +1 -0
- package/dist/Auth.js +2 -0
- package/dist/Auth.js.map +1 -0
- package/dist/Cli.d.ts +21 -0
- package/dist/Cli.d.ts.map +1 -0
- package/dist/Cli.js +13 -0
- package/dist/Cli.js.map +1 -0
- package/dist/Client.d.ts +20 -0
- package/dist/Client.d.ts.map +1 -0
- package/dist/Client.js +24 -0
- package/dist/Client.js.map +1 -0
- package/dist/Metrics.d.ts +70 -0
- package/dist/Metrics.d.ts.map +1 -0
- package/dist/Metrics.js +91 -0
- package/dist/Metrics.js.map +1 -0
- package/dist/Scope.d.ts +35 -0
- package/dist/Scope.d.ts.map +1 -0
- package/dist/Scope.js +38 -0
- package/dist/Scope.js.map +1 -0
- package/dist/Webhooks.d.ts +79 -0
- package/dist/Webhooks.d.ts.map +1 -0
- package/dist/Webhooks.js +107 -0
- package/dist/Webhooks.js.map +1 -0
- package/dist/admin/Access.d.ts +41 -0
- package/dist/admin/Access.d.ts.map +1 -0
- package/dist/admin/Access.js +75 -0
- package/dist/admin/Access.js.map +1 -0
- package/dist/admin/App.d.ts +1221 -0
- package/dist/admin/App.d.ts.map +1 -0
- package/dist/admin/App.js +113 -0
- package/dist/admin/App.js.map +1 -0
- package/dist/admin/apps/api-keys.d.ts +209 -0
- package/dist/admin/apps/api-keys.d.ts.map +1 -0
- package/dist/admin/apps/api-keys.js +129 -0
- package/dist/admin/apps/api-keys.js.map +1 -0
- package/dist/admin/apps/scopes.d.ts +46 -0
- package/dist/admin/apps/scopes.d.ts.map +1 -0
- package/dist/admin/apps/scopes.js +41 -0
- package/dist/admin/apps/scopes.js.map +1 -0
- package/dist/admin/apps/verified-tokens.d.ts +1206 -0
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -0
- package/dist/admin/apps/verified-tokens.js +485 -0
- package/dist/admin/apps/verified-tokens.js.map +1 -0
- package/dist/admin/index.d.ts +3 -0
- package/dist/admin/index.d.ts.map +1 -0
- package/dist/admin/index.js +3 -0
- package/dist/admin/index.js.map +1 -0
- package/dist/admin/ui.generated.d.ts +11 -0
- package/dist/admin/ui.generated.d.ts.map +1 -0
- package/dist/admin/ui.generated.js +43 -0
- package/dist/admin/ui.generated.js.map +1 -0
- package/dist/apps/activities.d.ts +18725 -0
- package/dist/apps/activities.d.ts.map +1 -0
- package/dist/apps/activities.js +3138 -0
- package/dist/apps/activities.js.map +1 -0
- package/dist/apps/addresses.d.ts +3662 -0
- package/dist/apps/addresses.d.ts.map +1 -0
- package/dist/apps/addresses.js +22 -0
- package/dist/apps/addresses.js.map +1 -0
- package/dist/apps/balances.d.ts +342 -0
- package/dist/apps/balances.d.ts.map +1 -0
- package/dist/apps/balances.js +393 -0
- package/dist/apps/balances.js.map +1 -0
- package/dist/apps/blocks.d.ts +931 -0
- package/dist/apps/blocks.d.ts.map +1 -0
- package/dist/apps/blocks.js +689 -0
- package/dist/apps/blocks.js.map +1 -0
- package/dist/apps/coingecko.d.ts +1053 -0
- package/dist/apps/coingecko.d.ts.map +1 -0
- package/dist/apps/coingecko.js +1015 -0
- package/dist/apps/coingecko.js.map +1 -0
- package/dist/apps/exchanges.d.ts +3000 -0
- package/dist/apps/exchanges.d.ts.map +1 -0
- package/dist/apps/exchanges.js +3570 -0
- package/dist/apps/exchanges.js.map +1 -0
- package/dist/apps/fee-amm.d.ts +640 -0
- package/dist/apps/fee-amm.d.ts.map +1 -0
- package/dist/apps/fee-amm.js +815 -0
- package/dist/apps/fee-amm.js.map +1 -0
- package/dist/apps/indexer.d.ts +116 -0
- package/dist/apps/indexer.d.ts.map +1 -0
- package/dist/apps/indexer.js +270 -0
- package/dist/apps/indexer.js.map +1 -0
- package/dist/apps/receipts.d.ts +1438 -0
- package/dist/apps/receipts.d.ts.map +1 -0
- package/dist/apps/receipts.js +874 -0
- package/dist/apps/receipts.js.map +1 -0
- package/dist/apps/rpc.d.ts +173 -0
- package/dist/apps/rpc.d.ts.map +1 -0
- package/dist/apps/rpc.js +191 -0
- package/dist/apps/rpc.js.map +1 -0
- package/dist/apps/tokenlist.d.ts +192 -0
- package/dist/apps/tokenlist.d.ts.map +1 -0
- package/dist/apps/tokenlist.js +153 -0
- package/dist/apps/tokenlist.js.map +1 -0
- package/dist/apps/tokens.d.ts +2246 -0
- package/dist/apps/tokens.d.ts.map +1 -0
- package/dist/apps/tokens.js +1789 -0
- package/dist/apps/tokens.js.map +1 -0
- package/dist/apps/transactions.d.ts +2327 -0
- package/dist/apps/transactions.d.ts.map +1 -0
- package/dist/apps/transactions.js +975 -0
- package/dist/apps/transactions.js.map +1 -0
- package/dist/apps/transfers.d.ts +589 -0
- package/dist/apps/transfers.d.ts.map +1 -0
- package/dist/apps/transfers.js +769 -0
- package/dist/apps/transfers.js.map +1 -0
- package/dist/apps/verified-tokens.d.ts +544 -0
- package/dist/apps/verified-tokens.d.ts.map +1 -0
- package/dist/apps/verified-tokens.js +234 -0
- package/dist/apps/verified-tokens.js.map +1 -0
- package/dist/apps/webhooks.d.ts +7684 -0
- package/dist/apps/webhooks.d.ts.map +1 -0
- package/dist/apps/webhooks.js +2112 -0
- package/dist/apps/webhooks.js.map +1 -0
- package/dist/cloudflare.d.ts +32 -0
- package/dist/cloudflare.d.ts.map +1 -0
- package/dist/cloudflare.js +45 -0
- package/dist/cloudflare.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/Auth.d.ts +298 -0
- package/dist/internal/Auth.d.ts.map +1 -0
- package/dist/internal/Auth.js +613 -0
- package/dist/internal/Auth.js.map +1 -0
- package/dist/internal/Cache.d.ts +74 -0
- package/dist/internal/Cache.d.ts.map +1 -0
- package/dist/internal/Cache.js +215 -0
- package/dist/internal/Cache.js.map +1 -0
- package/dist/internal/Cursor.d.ts +79 -0
- package/dist/internal/Cursor.d.ts.map +1 -0
- package/dist/internal/Cursor.js +116 -0
- package/dist/internal/Cursor.js.map +1 -0
- package/dist/internal/EdgeCache.d.ts +59 -0
- package/dist/internal/EdgeCache.d.ts.map +1 -0
- package/dist/internal/EdgeCache.js +174 -0
- package/dist/internal/EdgeCache.js.map +1 -0
- package/dist/internal/Log.d.ts +104 -0
- package/dist/internal/Log.d.ts.map +1 -0
- package/dist/internal/Log.js +118 -0
- package/dist/internal/Log.js.map +1 -0
- package/dist/internal/MetricSink.d.ts +65 -0
- package/dist/internal/MetricSink.d.ts.map +1 -0
- package/dist/internal/MetricSink.js +146 -0
- package/dist/internal/MetricSink.js.map +1 -0
- package/dist/internal/Mpp.d.ts +71 -0
- package/dist/internal/Mpp.d.ts.map +1 -0
- package/dist/internal/Mpp.js +105 -0
- package/dist/internal/Mpp.js.map +1 -0
- package/dist/internal/OpenApi.d.ts +313 -0
- package/dist/internal/OpenApi.d.ts.map +1 -0
- package/dist/internal/OpenApi.fonts.d.ts +2 -0
- package/dist/internal/OpenApi.fonts.d.ts.map +1 -0
- package/dist/internal/OpenApi.fonts.js +39 -0
- package/dist/internal/OpenApi.fonts.js.map +1 -0
- package/dist/internal/OpenApi.js +335 -0
- package/dist/internal/OpenApi.js.map +1 -0
- package/dist/internal/OpenApi.logo.d.ts +6 -0
- package/dist/internal/OpenApi.logo.d.ts.map +1 -0
- package/dist/internal/OpenApi.logo.js +19 -0
- package/dist/internal/OpenApi.logo.js.map +1 -0
- package/dist/internal/Path.d.ts +5 -0
- package/dist/internal/Path.d.ts.map +1 -0
- package/dist/internal/Path.js +16 -0
- package/dist/internal/Path.js.map +1 -0
- package/dist/internal/RateLimit.d.ts +60 -0
- package/dist/internal/RateLimit.d.ts.map +1 -0
- package/dist/internal/RateLimit.js +48 -0
- package/dist/internal/RateLimit.js.map +1 -0
- package/dist/internal/Response.d.ts +132 -0
- package/dist/internal/Response.d.ts.map +1 -0
- package/dist/internal/Response.js +72 -0
- package/dist/internal/Response.js.map +1 -0
- package/dist/internal/Schema.d.ts +257 -0
- package/dist/internal/Schema.d.ts.map +1 -0
- package/dist/internal/Schema.js +360 -0
- package/dist/internal/Schema.js.map +1 -0
- package/dist/internal/Store.d.ts +204 -0
- package/dist/internal/Store.d.ts.map +1 -0
- package/dist/internal/Store.js +274 -0
- package/dist/internal/Store.js.map +1 -0
- package/dist/internal/Tidx.d.ts +120 -0
- package/dist/internal/Tidx.d.ts.map +1 -0
- package/dist/internal/Tidx.js +156 -0
- package/dist/internal/Tidx.js.map +1 -0
- package/dist/internal/Timing.d.ts +22 -0
- package/dist/internal/Timing.d.ts.map +1 -0
- package/dist/internal/Timing.js +32 -0
- package/dist/internal/Timing.js.map +1 -0
- package/dist/internal/Ttl.d.ts +25 -0
- package/dist/internal/Ttl.d.ts.map +1 -0
- package/dist/internal/Ttl.js +49 -0
- package/dist/internal/Ttl.js.map +1 -0
- package/dist/internal/Value.d.ts +47 -0
- package/dist/internal/Value.d.ts.map +1 -0
- package/dist/internal/Value.js +122 -0
- package/dist/internal/Value.js.map +1 -0
- package/dist/internal/VerifiedTokens.d.ts +228 -0
- package/dist/internal/VerifiedTokens.d.ts.map +1 -0
- package/dist/internal/VerifiedTokens.js +450 -0
- package/dist/internal/VerifiedTokens.js.map +1 -0
- package/dist/internal/Viem.d.ts +2008 -0
- package/dist/internal/Viem.d.ts.map +1 -0
- package/dist/internal/Viem.js +63 -0
- package/dist/internal/Viem.js.map +1 -0
- package/dist/internal/WebhookDestination.d.ts +198 -0
- package/dist/internal/WebhookDestination.d.ts.map +1 -0
- package/dist/internal/WebhookDestination.js +170 -0
- package/dist/internal/WebhookDestination.js.map +1 -0
- package/dist/internal/Webhooks.d.ts +433 -0
- package/dist/internal/Webhooks.d.ts.map +1 -0
- package/dist/internal/Webhooks.js +489 -0
- package/dist/internal/Webhooks.js.map +1 -0
- package/dist/internal/webhookDestinations/betterStack.d.ts +26 -0
- package/dist/internal/webhookDestinations/betterStack.d.ts.map +1 -0
- package/dist/internal/webhookDestinations/betterStack.js +76 -0
- package/dist/internal/webhookDestinations/betterStack.js.map +1 -0
- package/dist/internal/webhookDestinations/slack.d.ts +59 -0
- package/dist/internal/webhookDestinations/slack.d.ts.map +1 -0
- package/dist/internal/webhookDestinations/slack.js +422 -0
- package/dist/internal/webhookDestinations/slack.js.map +1 -0
- package/dist/internal/webhookDestinations/url.d.ts +17 -0
- package/dist/internal/webhookDestinations/url.d.ts.map +1 -0
- package/dist/internal/webhookDestinations/url.js +130 -0
- package/dist/internal/webhookDestinations/url.js.map +1 -0
- package/dist/openrpc.json +5302 -0
- package/package.json +46 -4
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000000.svg +1 -0
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000001.svg +1 -0
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000002.svg +1 -0
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000003.svg +1 -0
- package/seeds/31318/verified-tokens.json +30 -0
- package/seeds/4217/icons/0x20c0000000000000000000000000000000000000.svg +25 -0
- package/seeds/4217/icons/0x20c000000000000000000000048c8f36df1c9a4a.svg +1 -0
- package/seeds/4217/icons/0x20c0000000000000000000000520792dcccccccc.svg +1 -0
- package/seeds/4217/icons/0x20c0000000000000000000000a6da882d075a4c3.svg +4 -0
- package/seeds/4217/icons/0x20c000000000000000000000111111111e910f0f.svg +30 -0
- package/seeds/4217/icons/0x20c00000000000000000000014f22ca97301eb73.svg +1 -0
- package/seeds/4217/icons/0x20c0000000000000000000001621e21f71cf12fb.svg +1 -0
- package/seeds/4217/icons/0x20c0000000000000000000002f52d5cc21a3207b.svg +1 -0
- package/seeds/4217/icons/0x20c0000000000000000000003158081efd85bfc2.svg +11 -0
- package/seeds/4217/icons/0x20c0000000000000000000003554d28269e0f3c2.svg +1 -0
- package/seeds/4217/icons/0x20c000000000000000000000383a23bacb546ab9.svg +1 -0
- package/seeds/4217/icons/0x20c00000000000000000000042109aef2f8b28e1.png +0 -0
- package/seeds/4217/icons/0x20c0000000000000000000005c0bac7cef389a11.svg +1 -0
- package/seeds/4217/icons/0x20c0000000000000000000006fd9a167923ba194.png +0 -0
- package/seeds/4217/icons/0x20c0000000000000000000007f7ba549dd0251b9.svg +1 -0
- package/seeds/4217/icons/0x20c0000000000000000000008191667423f70e67.svg +5 -0
- package/seeds/4217/icons/0x20c0000000000000000000008ee4fcff88888888.svg +1 -0
- package/seeds/4217/icons/0x20c0000000000000000000009a4a4b17e0dc6651.svg +1 -0
- package/seeds/4217/icons/0x20c000000000000000000000ab02d39df30bd17e.svg +1 -0
- package/seeds/4217/icons/0x20c000000000000000000000ae247a1130450f09.svg +1 -0
- package/seeds/4217/icons/0x20c000000000000000000000aeed2ec36a54d0e5.svg +1 -0
- package/seeds/4217/icons/0x20c000000000000000000000b9537d11c60e8b50.svg +1 -0
- package/seeds/4217/icons/0x20c000000000000000000000bd95bfb69fbe6ce3.svg +1 -0
- package/seeds/4217/icons/0x20c000000000000000000000c412ec89d0c08be5.svg +1 -0
- package/seeds/4217/icons/0x20c000000000000000000000f047dd7018e50367.png +0 -0
- package/seeds/4217/verified-tokens.json +177 -0
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000000.svg +25 -0
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000001.svg +1 -0
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000002.svg +1 -0
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000003.svg +1 -0
- package/seeds/42431/icons/0x20c0000000000000000000009e8d7eb59b783726.svg +1 -0
- package/seeds/42431/icons/0x20c000000000000000000000d72572838bbee59c.svg +1 -0
- package/seeds/42431/verified-tokens.json +44 -0
- package/seeds/openrpc/README.md +27 -0
- package/seeds/openrpc/execution-apis.json +8989 -0
- package/src/ApiKey.test.ts +91 -0
- package/src/ApiKey.ts +122 -0
- package/src/ApiKeySource.test-d.ts +11 -0
- package/src/ApiKeySource.test.ts +295 -0
- package/src/ApiKeySource.ts +303 -0
- package/src/App.test-d.ts +38 -0
- package/src/App.test.ts +65927 -0
- package/src/App.ts +855 -0
- package/src/Assets.ts +58 -0
- package/src/Auth.ts +1 -0
- package/src/Cli.test.ts +81 -0
- package/src/Cli.ts +38 -0
- package/src/Client.test-d.ts +1438 -0
- package/src/Client.test.ts +134 -0
- package/src/Client.ts +45 -0
- package/src/Metrics.ts +154 -0
- package/src/Scope.ts +50 -0
- package/src/Webhooks.test.ts +49 -0
- package/src/Webhooks.ts +172 -0
- package/src/admin/Access.test.ts +130 -0
- package/src/admin/Access.ts +87 -0
- package/src/admin/App.test.ts +225 -0
- package/src/admin/App.ts +216 -0
- package/src/admin/apps/api-keys.test.ts +156 -0
- package/src/admin/apps/api-keys.ts +157 -0
- package/src/admin/apps/scopes.test.ts +52 -0
- package/src/admin/apps/scopes.ts +47 -0
- package/src/admin/apps/verified-tokens.test.ts +415 -0
- package/src/admin/apps/verified-tokens.ts +566 -0
- package/src/admin/index.ts +2 -0
- package/src/admin/ui/plugin.ts +135 -0
- package/src/admin/ui/src/components/Checkbox.tsx +22 -0
- package/src/admin/ui/src/components/Dialog.tsx +32 -0
- package/src/admin/ui/src/components/MobileProfile.tsx +31 -0
- package/src/admin/ui/src/components/Page.tsx +53 -0
- package/src/admin/ui/src/components/TempoLogo.tsx +37 -0
- package/src/admin/ui/src/fonts/Pilat-Demi.woff2 +0 -0
- package/src/admin/ui/src/fonts/Pilat-Regular.woff2 +0 -0
- package/src/admin/ui/src/lib/api-keys.ts +63 -0
- package/src/admin/ui/src/lib/client.ts +15 -0
- package/src/admin/ui/src/lib/config.ts +57 -0
- package/src/admin/ui/src/lib/query-client.ts +26 -0
- package/src/admin/ui/src/lib/scopes.ts +25 -0
- package/src/admin/ui/src/lib/verified-tokens.ts +89 -0
- package/src/admin/ui/src/lib/wagmi.ts +18 -0
- package/src/admin/ui/src/routeTree.gen.ts +104 -0
- package/src/admin/ui/src/router.tsx +25 -0
- package/src/admin/ui/src/routes/__root.tsx +219 -0
- package/src/admin/ui/src/routes/api-keys.tsx +329 -0
- package/src/admin/ui/src/routes/index.tsx +7 -0
- package/src/admin/ui/src/routes/verified-tokens.tsx +331 -0
- package/src/admin/ui/src/styles.css +20 -0
- package/src/admin/ui/tsconfig.json +16 -0
- package/src/admin/ui/vite.config.ts +29 -0
- package/src/admin/ui.generated.ts +60 -0
- package/src/apps/activities.test.ts +1020 -0
- package/src/apps/activities.ts +3934 -0
- package/src/apps/addresses.ts +24 -0
- package/src/apps/balances.test.ts +274 -0
- package/src/apps/balances.ts +533 -0
- package/src/apps/blocks.test.ts +385 -0
- package/src/apps/blocks.ts +896 -0
- package/src/apps/coingecko.test.ts +218 -0
- package/src/apps/coingecko.ts +1383 -0
- package/src/apps/exchanges.test.ts +958 -0
- package/src/apps/exchanges.ts +4773 -0
- package/src/apps/fee-amm.test.ts +321 -0
- package/src/apps/fee-amm.ts +1121 -0
- package/src/apps/indexer.test.ts +153 -0
- package/src/apps/indexer.ts +330 -0
- package/src/apps/receipts.test.ts +285 -0
- package/src/apps/receipts.ts +1193 -0
- package/src/apps/rpc.test.ts +302 -0
- package/src/apps/rpc.ts +222 -0
- package/src/apps/tokenlist.test.ts +80 -0
- package/src/apps/tokenlist.ts +207 -0
- package/src/apps/tokens.test.ts +1062 -0
- package/src/apps/tokens.ts +2292 -0
- package/src/apps/transactions.test.ts +408 -0
- package/src/apps/transactions.ts +1363 -0
- package/src/apps/transfers.test.ts +371 -0
- package/src/apps/transfers.ts +1116 -0
- package/src/apps/verified-tokens.test.ts +114 -0
- package/src/apps/verified-tokens.ts +295 -0
- package/src/apps/webhooks.test.ts +1937 -0
- package/src/apps/webhooks.ts +2926 -0
- package/src/cloudflare.ts +55 -0
- package/src/index.ts +15 -0
- package/src/internal/Auth.test.ts +922 -0
- package/src/internal/Auth.ts +1007 -0
- package/src/internal/Cache.test.ts +240 -0
- package/src/internal/Cache.ts +262 -0
- package/src/internal/Cursor.test.ts +100 -0
- package/src/internal/Cursor.ts +149 -0
- package/src/internal/EdgeCache.test.ts +234 -0
- package/src/internal/EdgeCache.ts +224 -0
- package/src/internal/Errors.ts +14 -0
- package/src/internal/Log.test.ts +244 -0
- package/src/internal/Log.ts +216 -0
- package/src/internal/MetricSink.ts +220 -0
- package/src/internal/Mpp.test.ts +64 -0
- package/src/internal/Mpp.ts +141 -0
- package/src/internal/OpenApi.fonts.ts +38 -0
- package/src/internal/OpenApi.logo.ts +18 -0
- package/src/internal/OpenApi.ts +488 -0
- package/src/internal/Path.test.ts +14 -0
- package/src/internal/Path.ts +15 -0
- package/src/internal/RateLimit.test.ts +93 -0
- package/src/internal/RateLimit.ts +93 -0
- package/src/internal/Response.ts +131 -0
- package/src/internal/Schema.test.ts +34 -0
- package/src/internal/Schema.ts +523 -0
- package/src/internal/Store.test.ts +461 -0
- package/src/internal/Store.ts +507 -0
- package/src/internal/Tidx.local.test.ts +33 -0
- package/src/internal/Tidx.test.ts +294 -0
- package/src/internal/Tidx.ts +238 -0
- package/src/internal/Timing.test.ts +22 -0
- package/src/internal/Timing.ts +62 -0
- package/src/internal/Ttl.test.ts +18 -0
- package/src/internal/Ttl.ts +59 -0
- package/src/internal/Value.ts +114 -0
- package/src/internal/VerifiedTokens.test.ts +333 -0
- package/src/internal/VerifiedTokens.ts +645 -0
- package/src/internal/Viem.test.ts +115 -0
- package/src/internal/Viem.ts +164 -0
- package/src/internal/WebhookDestination.test.ts +648 -0
- package/src/internal/WebhookDestination.ts +331 -0
- package/src/internal/Webhooks.test.ts +668 -0
- package/src/internal/Webhooks.ts +940 -0
- package/src/internal/webhookDestinations/betterStack.ts +91 -0
- package/src/internal/webhookDestinations/slack.ts +496 -0
- package/src/internal/webhookDestinations/url.ts +128 -0
- package/src/openrpc.json +5302 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// Generated by src/admin/ui/plugin.ts — do not edit by hand.
|
|
2
|
+
// Run `pnpm build:ui` to regenerate from the TanStack Start SPA build.
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
/** A single built UI file: text inline as UTF-8, binary as base64. */
|
|
6
|
+
export type Asset = {
|
|
7
|
+
content: string
|
|
8
|
+
contentType: string
|
|
9
|
+
encoding?: 'base64'
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** The prerendered SPA shell HTML (assets normalized to relative URLs). */
|
|
13
|
+
export const shell =
|
|
14
|
+
'<!DOCTYPE html><html lang="en" data-theme="dark" data-regen-radius="none"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1" name="viewport"/><link rel="stylesheet" href="./assets/styles-QLNcBtmR.css" data-precedence="default"/><title>Tempo API Admin</title><link rel="modulepreload" href="./assets/index-9tf01JPF.js"/><link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20269%20269%22%3E%3Crect%20width%3D%22269%22%20height%3D%22269%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M123.273%20190.794H93.445L121.09%20105.318H85.7334L93.445%2080.2642H191.95L184.238%20105.318H150.773L123.273%20190.794Z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E"/></head><body><div id="root"></div><script class="$tsr" id="$tsr-stream-barrier">(self.$R=self.$R||{})["tsr"]=[];self.$_TSR={h(){this.hydrated=!0,this.c()},e(){this.streamEnded=!0,this.c()},c(){this.hydrated&&this.streamEnded&&(delete self.$_TSR,delete self.$R.tsr)},p(e){this.initialized?e():this.buffer.push(e)},buffer:[]};$_TSR.router=($R=>$R[0]={manifest:$R[1]={routes:$R[2]={__root__:$R[3]={preloads:$R[4]=["./assets/index-9tf01JPF.js"],scripts:$R[5]=[$R[6]={attrs:$R[7]={type:"module",async:!0,src:"./assets/index-9tf01JPF.js"}}]}}},matches:$R[8]=[$R[9]={i:"__root__\u0000",u:1782867871047,s:"success",ssr:!0}],lastMatchId:"__root__\u0000"})($R["tsr"]);$_TSR.e();document.currentScript.remove()</script><script type="module" async="" src="./assets/index-9tf01JPF.js"></script></body></html>'
|
|
15
|
+
|
|
16
|
+
/** Content-hashed UI assets, keyed by their path under the mount (e.g. `assets/index-*.js`). */
|
|
17
|
+
export const assets: Record<string, Asset> = {
|
|
18
|
+
'assets/api-keys-Dz07_CYL.js': {
|
|
19
|
+
content:
|
|
20
|
+
'import{c as he,i as l,H as e,O as E,P as nn,Q as tn,S as rn,I as J,T as sn,U as an}from"./index-9tf01JPF.js";import{d as fe,e as me,f as Le,g as De,h as on,i as dn,j as ln,k as cn,l as un,m as pn,n as ke,o as xn,p as fn,q as mn,r as hn,E as vn,s as Fe,t as Ce,v as gn,w as bn,x as yn,y as jn,z as wn,A as Nn,B as kn,b as Be,D as O,P as Cn,S as Pn,a as En,u as Sn,C as Me,c as In,N as ue,F as Ln,I as Pe,T as Dn}from"./Dialog-DvOtj1aC.js";const Fn=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Bn=he("chevron-down",Fn);const Mn=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Re=he("chevron-right",Mn);const Rn=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Tn=he("x",Rn),Vn=l.createContext({disabled:!1});function zn(){return l.useContext(Vn)}function Kn(n,t,r,s=!0,d){const[u,a]=l.useState(),i=fe(d?`${d}-label`:void 0),p=n??t??u;return me(()=>{const x=n||t||!s?void 0:qn(r.current,i);u!==x&&a(x)}),p}function qn(n,t){const r=Gn(n);if(r)return!r.id&&t&&(r.id=t),r.id||void 0}function Gn(n){if(!n)return;const t=n.parentElement;if(t&&t.tagName==="LABEL")return t;const r=n.id;if(r){const d=n.nextElementSibling;if(d&&d.htmlFor===r)return d}const s=n.labels;return s&&s[0]}const se=l.createContext(void 0);function b(n){const{children:t,className:r,dividers:s,variant:d="pane",...u}=n,a=s??b.defaultDividers[d];return e.jsx(se.Provider,{value:{dividers:a,variant:d},children:e.jsx("div",{className:E(b.className[d],b.dividersClassName[d][a],r),...u,children:t})})}(n=>{function t(a){const{children:i,className:p,...x}=a,f=l.useContext(se)?.variant??"pane";return e.jsx("div",{className:E(t.className[f],p),...x,children:i})}n.Group=t,(a=>{a.className={pane:"relative [--rows-pane-content-padding-left:20px] [--rows-row-padding-left:20px] before:pointer-events-none before:absolute before:inset-y-0 before:left-[10px] before:z-10 before:w-[2px] before:bg-border [&_[data-rows-divider]]:left-[var(--rows-group-divider-left)]",surface:"relative [--rows-pane-content-padding-left:48px] [--rows-row-padding-left:48px] before:pointer-events-none before:absolute before:inset-y-0 before:left-[28px] before:z-10 before:w-[2px] before:bg-border [&_[data-rows-divider]]:left-[var(--rows-group-divider-left)]"}})(t=n.Group||(n.Group={}));function r(a){const{children:i,className:p,...x}=a,f=l.useContext(se)?.variant??"pane";return e.jsx("div",{className:E(r.className[f],p),...x,children:i})}n.Panel=r,(a=>{a.className={pane:"overflow-hidden border-t border-border-pane bg-pane",surface:"overflow-hidden border-t border-border bg-pane"}})(r=n.Panel||(n.Panel={})),n.className={pane:"overflow-hidden rounded-body bg-pane px-[14px] [--rows-divider:var(--border-color-border-pane)] [--rows-pane-content-padding-left:0px] [&_[data-rows-divider]]:bg-[var(--rows-divider)]",surface:"overflow-hidden bg-surface [--rows-divider:var(--border-color-border)] [&_[data-rows-divider]]:bg-[var(--rows-divider)]"},n.dividersClassName={pane:{full:"[--rows-group-divider-left:0px]",inset:"[--rows-group-divider-left:0px]"},surface:{full:"[--rows-group-divider-left:0px]",inset:"[--rows-group-divider-left:20px]"}},n.defaultDividers={pane:"inset",surface:"full"};function s(a){const{action:i={type:"none"},children:p,className:x,disabled:f,height:N,label:k,onClick:y,render:c,spacing:v="both",style:Y,...C}=a,S=l.useContext(se),j=S?.variant??(k===void 0?"surface":"pane"),I=S?.dividers??n.defaultDividers[j],P=i.type,V=P==="details"?i.content:void 0,$=P==="expand"?i.expanded:P==="details"?V!==void 0&&V!==!1:!1,A=V===!0?e.jsx(n.PanelLoader,{}):V,H=$n({children:p,expanded:$,label:k,type:P,variant:j}),L=!!(y||c),U={height:N??s.height[j],...Y},Z=E(s.baseClassName[j],L&&s.interactiveClassName[j],L&&"select-none",j==="pane"&&(L?s.buttonSpacingClassName[v]:s.spacingClassName[v]),f&&"pointer-events-none opacity-50",x),W=j==="surface"?E(s.dividerClassName,s.surfaceDividerClassName[I]):E(s.dividerClassName,s.paneDividerClassName[I][L?v:"static"]),z={...C,"aria-disabled":f&&L?!0:void 0,"aria-expanded":P==="expand"?i.expanded:P==="details"?$:void 0,className:Z,"data-disabled":f?"":void 0,...y?{onClick:y}:{},style:U},ee=c&&l.isValidElement(c)?l.cloneElement(c,nn(c.props,z),e.jsxs(e.Fragment,{children:[e.jsx(pe,{className:W}),H]})):y?e.jsxs("button",{...z,disabled:f,type:"button",children:[e.jsx(pe,{className:W}),H]}):e.jsxs("div",{...z,children:[e.jsx(pe,{className:W}),H]});return P!=="details"?ee:e.jsxs(e.Fragment,{children:[ee,$&&A!==void 0&&A!==!1&&e.jsx(n.Panel,{children:A})]})}n.Row=s,(a=>{a.baseClassName={pane:"group/rows-row relative flex items-center gap-[12px] label-13",surface:"group/rows-row relative flex w-full min-w-0 items-center gap-[14px] pl-[var(--rows-row-padding-left,20px)] pr-[var(--rows-row-padding-right,20px)] text-left text-foreground"},a.dividerClassName="pointer-events-none absolute -top-px left-[var(--rows-row-divider-left)] right-[var(--rows-row-divider-right)] h-px",a.paneDividerClassName={full:{both:"[--rows-row-divider-left:0px] [--rows-row-divider-right:0px]",end:"[--rows-row-divider-left:0px] [--rows-row-divider-right:-14px]",none:"[--rows-row-divider-left:0px] [--rows-row-divider-right:0px]",start:"[--rows-row-divider-left:-14px] [--rows-row-divider-right:0px]",static:"[--rows-row-divider-left:-14px] [--rows-row-divider-right:-14px]"},inset:{both:"[--rows-row-divider-left:14px] [--rows-row-divider-right:14px]",end:"[--rows-row-divider-left:14px] [--rows-row-divider-right:0px]",none:"[--rows-row-divider-left:14px] [--rows-row-divider-right:14px]",start:"[--rows-row-divider-left:0px] [--rows-row-divider-right:14px]",static:"[--rows-row-divider-left:0px] [--rows-row-divider-right:0px]"}},a.surfaceDividerClassName={full:"[--rows-row-divider-left:0px] [--rows-row-divider-right:0px]",inset:"[--rows-row-divider-left:20px] [--rows-row-divider-right:20px]"},a.height={pane:40,surface:56},a.interactiveClassName={pane:"cursor-pointer hover:bg-secondary-hover active:bg-secondary-active focus-visible:outline focus-visible:outline-[2px] focus-visible:outline-offset-[-2px] focus-visible:outline-focus",surface:"cursor-pointer hover:bg-surface-hover active:bg-surface-active focus-visible:outline focus-visible:outline-[2px] focus-visible:outline-offset-[-2px] focus-visible:outline-focus"},a.spacingClassName={both:"",end:"ml-[-14px]",none:"mx-[-14px]",start:"mr-[-14px]"},a.buttonSpacingClassName={both:"mx-[-14px] w-[calc(100%+28px)] px-[14px]",end:"ml-[-14px] w-[calc(100%+14px)]",none:"mx-[-14px] w-[calc(100%+28px)]",start:"mr-[-14px] w-[calc(100%+14px)]"}})(s=n.Row||(n.Row={}));function d(){return e.jsxs("div",{className:"grid gap-[8px] px-[20px] py-[12px] label-13",children:[e.jsxs("div",{className:"relative flex items-center justify-between gap-[16px]",children:[e.jsx("span",{"aria-hidden":!0,className:"invisible",children:"Label"}),e.jsx("span",{"aria-hidden":!0,className:"invisible",children:"Value"}),e.jsx("div",{className:"absolute h-[14px] w-[72px] animate-pulse rounded-body bg-skeleton"}),e.jsx("div",{className:"absolute right-0 h-[14px] w-[96px] animate-pulse rounded-body bg-skeleton"})]}),e.jsxs("div",{className:"relative flex items-center justify-between gap-[16px]",children:[e.jsx("span",{"aria-hidden":!0,className:"invisible",children:"Label"}),e.jsx("span",{"aria-hidden":!0,className:"invisible",children:"Value"}),e.jsx("div",{className:"absolute h-[14px] w-[64px] animate-pulse rounded-body bg-skeleton"}),e.jsx("div",{className:"absolute right-0 h-[14px] w-[72px] animate-pulse rounded-body bg-skeleton"})]})]})}n.PanelLoader=d;function u(){return e.jsxs(e.Fragment,{children:[e.jsxs(n.Row,{children:[e.jsx("span",{"aria-hidden":!0,className:"size-6 shrink-0 animate-pulse rounded-button bg-skeleton"}),e.jsxs("div",{className:"grid min-w-0 flex-1 gap-[6px]",children:[e.jsx("span",{"aria-hidden":!0,className:"h-[14px] w-[128px] rounded-body bg-skeleton"}),e.jsx("span",{"aria-hidden":!0,className:"h-[13px] w-[96px] rounded-body bg-skeleton"})]}),e.jsx("span",{"aria-hidden":!0,className:"h-[13px] w-[36px] shrink-0 rounded-body bg-skeleton"})]}),e.jsxs(n.Row,{children:[e.jsx("span",{"aria-hidden":!0,className:"size-6 shrink-0 animate-pulse rounded-button bg-skeleton"}),e.jsxs("div",{className:"grid min-w-0 flex-1 gap-[6px]",children:[e.jsx("span",{"aria-hidden":!0,className:"h-[14px] w-[112px] rounded-body bg-skeleton"}),e.jsx("span",{"aria-hidden":!0,className:"h-[13px] w-[88px] rounded-body bg-skeleton"})]}),e.jsx("span",{"aria-hidden":!0,className:"h-[13px] w-[28px] shrink-0 rounded-body bg-skeleton"})]})]})}n.RowGroupLoader=u})(b||(b={}));function Ee(n){return e.jsx(b.Row,{...n})}(n=>{n.spacingClassName=b.Row.spacingClassName,n.buttonSpacingClassName=b.Row.buttonSpacingClassName})(Ee||(Ee={}));function _n(n){const{expanded:t}=n;return e.jsx(Bn,{"aria-hidden":!0,className:"size-[16px] shrink-0 text-foreground-secondary opacity-70 data-[open]:rotate-180","data-open":t?"":void 0})}function pe(n){return e.jsx("span",{"aria-hidden":!0,className:n.className,"data-rows-divider":""})}function On(){return e.jsx(Re,{"aria-hidden":!0,className:"size-[16px] shrink-0 text-foreground-secondary opacity-70"})}function $n(n){const{children:t,expanded:r,label:s,type:d,variant:u}=n;return s!==void 0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:E("grid min-w-0 flex-1 grid-cols-[minmax(0,max-content)_minmax(0,1fr)] items-center gap-[12px]",u==="pane"&&"pl-[var(--rows-pane-content-padding-left)]"),children:[e.jsx("div",{className:"min-w-0 text-left text-foreground-secondary",children:s}),e.jsx("div",{className:"flex min-w-0 items-center justify-end text-right",children:t})]}),e.jsx(xe,{expanded:r,type:d})]}):u==="pane"?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"min-w-0 flex-1 pl-[var(--rows-pane-content-padding-left)]",children:t}),e.jsx(xe,{expanded:r,type:d})]}):e.jsxs(e.Fragment,{children:[t,e.jsx(xe,{expanded:r,type:d})]})}function xe(n){const{expanded:t,type:r}=n;return r==="details"||r==="expand"?e.jsx(_n,{expanded:t}):r==="navigation"?e.jsx(On,{}):null}function An(n){if(!n)return null;for(const t of n.elements){const r=t.tagName;if(r==="BUTTON"||r==="INPUT"){const s=t;if(s.type==="submit")return s}}return null}let Se=(function(n){return n.checked="data-checked",n.unchecked="data-unchecked",n.indeterminate="data-indeterminate",n.disabled="data-disabled",n.readonly="data-readonly",n.required="data-required",n.valid="data-valid",n.invalid="data-invalid",n.touched="data-touched",n.dirty="data-dirty",n.filled="data-filled",n.focused="data-focused",n})({});function Te(n){return l.useMemo(()=>({checked(t){return n.indeterminate?{}:t?{[Se.checked]:""}:{[Se.unchecked]:""}},...Le}),[n.indeterminate])}const Hn=l.createContext(void 0);function Un(n=!0){const t=l.useContext(Hn);if(t===void 0&&!n)throw new Error(De(3));return t}const Ve=l.createContext(void 0);function Wn(){const n=l.useContext(Ve);if(n===void 0)throw new Error(De(14));return n}const Qn="data-parent",Xn=l.forwardRef(function(t,r){const{checked:s,className:d,defaultChecked:u=!1,"aria-labelledby":a,disabled:i=!1,form:p,id:x,indeterminate:f=!1,inputRef:N,name:k,onCheckedChange:y,parent:c=!1,readOnly:v=!1,render:Y,required:C=!1,uncheckedValue:S,value:j,nativeButton:I=!1,style:P,...V}=t,{clearErrors:$}=on(),{disabled:A,name:H,setDirty:L,setFilled:U,setFocused:Z,setTouched:W,state:z,validationMode:ee,validityData:ze,shouldValidateOnChange:Ke,validation:qe}=dn(),Ge=zn(),{labelId:_e,controlId:Oe,registerControlId:K,getDescriptionProps:ve}=ln(),m=Un(),Q=m?.parent,X=Q&&m.allValues,D=A||Ge.disabled||m?.disabled||i,q=H??k,h=j??q,ge=fe(),$e=fe();let F=Oe;X?F=c?$e:`${Q.id}-${h}`:x&&(F=x);let ae={};X&&(c?ae=m.parent.getParentProps():h&&(ae=m.parent.getChildProps(h)));const{checked:be=s,indeterminate:ne=f,onCheckedChange:Ae,...He}=ae,G=m?.value,ye=m?.setValue,je=m?.defaultValue,ie=l.useRef(null),te=cn(()=>Symbol("checkbox-control")),oe=l.useRef(!1),{getButtonProps:Ue,buttonRef:We}=un({disabled:D,native:I}),B=m?.validation??qe,[g,Qe]=pn({controlled:h&&G&&!c?G.includes(h):be,default:h&&je&&!c?je.includes(h):u,name:"Checkbox",state:"checked"});me(()=>{K!==ke&&(oe.current=!0,K(te.current,F))},[F,K,te]),l.useEffect(()=>{const o=te.current;return()=>{!oe.current||K===ke||(oe.current=!1,K(o,void 0))}},[K,te]),xn(ie,ge,g,void 0,!m);const M=l.useRef(null),Xe=fn(N,M,B.inputRef),Je=Kn(a,_e,M,!I,F??void 0);me(()=>{M.current&&(M.current.indeterminate=ne,g&&U(!0))},[g,ne,U]),mn(g,()=>{m&&!c||($(q),U(g),L(g!==ze.initialValue),Ke()?B.commit(g):B.commit(g,!0))});const Ye=hn({checked:g,disabled:D,form:p,name:c?void 0:q,id:I?void 0:F??void 0,required:C,ref:Xe,style:q?gn:bn,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(o){if(o.nativeEvent.defaultPrevented)return;if(v){o.preventDefault();return}const w=o.currentTarget.checked,_=yn(jn,o.nativeEvent);if(Ae?.(w,_),y?.(w,_),!_.isCanceled&&(Qe(w),h&&G&&ye&&!c&&!X)){const R=w?[...G,h]:G.filter(re=>re!==h);ye(R,_)}},onFocus(){ie.current?.focus()}},j!==void 0?{value:(m?g&&j:j)||""}:vn,ve,m?B.getValidationProps:B.getInputValidationProps),we=X?!!be:g,Ne=X&&ne||f;l.useEffect(()=>{if(!Q||!h)return;const o=Q.disabledStatesRef.current;return o.set(h,D),()=>{o.delete(h)}},[Q,D,h]);const de=l.useMemo(()=>({...z,checked:we,disabled:D,readOnly:v,required:C,indeterminate:Ne}),[z,we,D,v,C,Ne]),Ze=Te(de),en=Fe("span",t,{state:de,ref:[We,ie,r,m?.registerControlRef],props:[{id:I?F??void 0:ge,role:"checkbox","aria-checked":ne?"mixed":g,"aria-readonly":v||void 0,"aria-required":C||void 0,"aria-labelledby":Je,[Qn]:c?"":void 0,onFocus(){Z(!0)},onBlur(){const o=M.current;o&&(W(!0),Z(!1),ee==="onBlur"&&B.commit(m?G:o.checked))},onKeyDown(o){if(o.key!=="Enter"||(o.preventBaseUIHandler(),o.defaultPrevented))return;const w=M.current?.form??null,_=o.currentTarget,R=o.nativeEvent,re=o.preventDefault,le=R.preventDefault;let ce=!1;o.preventDefault=()=>{ce=!0,re.call(o)},R.preventDefault=()=>{ce=!0,le.call(R)},le.call(R),Ce(_).queueMicrotask(()=>{o.preventDefault=re,R.preventDefault=le,ce||An(w)?.click()})},onClick(o){if(v||D)return;o.preventDefault();const w=M.current;w&&w.dispatchEvent(new(Ce(w)).PointerEvent("click",{bubbles:!0,shiftKey:o.shiftKey,ctrlKey:o.ctrlKey,altKey:o.altKey,metaKey:o.metaKey}))}},ve,B.getValidationProps,V,He,Ue],stateAttributesMapping:Ze});return e.jsxs(Ve.Provider,{value:de,children:[en,!g&&!m&&q&&!c&&S!==void 0&&e.jsx("input",{type:"hidden",form:p,name:q,value:S}),e.jsx("input",{...Ye,suppressHydrationWarning:!0})]})}),Jn=l.forwardRef(function(t,r){const{render:s,className:d,style:u,keepMounted:a=!1,...i}=t,p=Wn(),x=p.checked||p.indeterminate,{mounted:f,transitionStatus:N,setMounted:k}=wn(x),y=l.useRef(null),c={...p,transitionStatus:N};Nn({open:x,ref:y,onComplete(){x||k(!1)}});const Y={...Te(p),...kn,...Le},C=a||f,S=Fe("span",t,{ref:[r,y],state:c,stateAttributesMapping:Y,props:i});return C?S:null});function Yn({className:n,...t}){return e.jsx(Xn,{className:r=>E("flex size-[18px] shrink-0 items-center justify-center rounded-button border-[2px] border-border bg-secondary text-on-invert outline-none transition-colors hover:bg-secondary-hover focus-visible:border-focus data-[checked]:border-[var(--background-color-invert)] data-[checked]:bg-invert",typeof n=="function"?n(r):n),...t,children:e.jsx(Jn,{className:"flex data-[unchecked]:hidden",children:e.jsx(Be,{className:"size-3"})})})}function at(){const[n,t]=l.useState(!1),[r,s]=l.useState("production"),d=tn.useQuery(),u=rn.useMutation();function a(i){const p=c=>{const v=i.get(c);return typeof v=="string"?v.trim():""},x=p("name"),f=p("rateLimit"),N=f?Number(f):void 0,k=p("environment")==="sandbox"?"sandbox":"production",y=i.getAll("scopes").filter(c=>typeof c=="string");if(y.length===0){alert("Select at least one scope.");return}u.mutate({environment:k,scopes:y,...x?{name:x}:{},...N===void 0?{}:{rateLimits:{"*":{perMinute:N}}}},{onError:c=>alert(c.message),onSuccess:()=>t(!1)})}return e.jsx(O.Root,{onOpenChange:t,open:n,children:e.jsxs(Cn,{title:"API Keys",description:"Manage keys that authenticate requests to the API",action:e.jsxs(e.Fragment,{children:[e.jsx(Pn,{"aria-label":"Filter keys by environment",items:[{label:"Production",value:"production"},{label:"Sandbox",value:"sandbox"}],onChange:i=>s(i),value:r}),e.jsx(O.Trigger,{render:e.jsxs(J,{variant:"primary",children:[e.jsx(En,{className:"size-4"}),"Provision a key"]})})]}),children:[u.data?e.jsx(Zn,{onDismiss:()=>u.reset(),token:u.data.token}):null,e.jsx(nt,{environment:r,error:d.error,keys:(d.data?.data??[]).filter(i=>(i.environment??"production")===r),loading:d.isPending}),e.jsx(O.Popup,{children:e.jsx(et,{onSubmit:a,pending:u.isPending})})]})})}function Zn(n){const{copy:t,notifying:r}=Sn();return e.jsxs(Me,{className:"flex flex-col gap-3 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("span",{className:"text-label-14 text-foreground",children:"Key provisioned"}),e.jsx("span",{className:"text-label-12 text-foreground-secondary",children:"Copy this token now, it won\'t be shown again."})]}),e.jsx(J.Icon,{className:"-mt-2 -mr-2",onClick:n.onDismiss,size:"lg",title:"Dismiss",variant:"plain",children:e.jsx(Tn,{})})]}),e.jsxs("button",{"aria-label":`Copy ${n.token}`,className:"group flex w-full cursor-pointer items-center gap-3 border border-border bg-secondary px-3 py-2.5 text-left transition-colors hover:bg-secondary-hover",onClick:()=>t(n.token),type:"button",children:[e.jsx("code",{className:"min-w-0 flex-1 truncate text-copy-14 text-foreground",children:n.token}),e.jsx("span",{className:"text-foreground-secondary group-hover:text-foreground",children:r?e.jsx(Be,{className:"size-4"}):e.jsx(In,{className:"size-4"})})]})]})}function et(n){const t=sn.useQuery();return e.jsxs(e.Fragment,{children:[e.jsx(O.Title,{children:"Provision a Key"}),e.jsx(O.Description,{children:"Create a key that authenticates requests to the API"}),e.jsxs("form",{className:"mt-6 flex flex-col gap-8",onSubmit:r=>{r.preventDefault(),n.onSubmit(new FormData(r.currentTarget))},children:[e.jsxs(Ln,{className:"gap-6",variant:"default",children:[e.jsx(Pe,{label:"Name",name:"name",placeholder:"e.g. production-api"}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("span",{className:"label-13 text-foreground-secondary",children:"Environment"}),e.jsxs("select",{className:"flex h-[40px] w-full items-center gap-[10px] rounded-body border-[2px] border-transparent bg-secondary px-[12px] copy-14 text-foreground outline-none hover:bg-secondary-hover active:bg-secondary-active focus-visible:border-focus focus-visible:bg-secondary-hover",defaultValue:"production",name:"environment",children:[e.jsx("option",{value:"production",children:"Production"}),e.jsx("option",{value:"sandbox",children:"Sandbox"})]})]}),e.jsx(Pe,{defaultValue:"100",label:"Rate limit",min:0,name:"rateLimit",placeholder:"Requests per minute",suffix:"req/min",type:"number"}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("span",{className:"label-13 text-foreground-secondary",children:"Scopes"}),t.isPending?e.jsx("span",{className:"text-label-13 text-foreground-secondary",children:"Loading scopes…"}):t.error?e.jsx("span",{className:"text-label-13 text-negative",children:t.error.message}):e.jsx(b,{className:"border border-border",variant:"surface",children:(t.data?.data??[]).map(r=>e.jsxs(b.Row,{className:"min-h-[56px] py-3",render:e.jsx("label",{className:"cursor-pointer"}),style:{height:"auto"},children:[e.jsx(Yn,{defaultChecked:r.scope==="data:read",name:"scopes",value:r.scope}),e.jsxs("span",{className:"flex min-w-0 flex-col gap-0.5",children:[e.jsx("span",{className:"text-label-13 text-foreground",children:r.scope}),e.jsx("span",{className:"text-label-12 text-foreground-secondary",children:r.description})]})]},r.scope))})]})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx(O.Close,{render:e.jsx(J,{type:"button",children:"Cancel"})}),e.jsx(J,{loading:n.pending,type:"submit",variant:"primary",children:"Provision key"})]})]})]})}function nt(n){return e.jsx(Me,{children:n.loading?e.jsx(ue,{children:"Loading keys…"}):n.error?e.jsx(ue,{children:n.error.message}):n.keys.length===0?e.jsxs(ue,{children:["No ",n.environment," keys yet."]}):e.jsx(b,{variant:"surface",children:n.keys.map(t=>e.jsx(tt,{record:t},t.id))})})}function tt(n){const{record:t}=n,[r,s]=l.useState(!1),d=an.useMutation(),u=t.rateLimits?.["*"]?.perMinute;function a(){confirm(`Revoke key ${t.name??t.id}? This can\'t be undone.`)&&d.mutate(t.id,{onError:i=>alert(i.message)})}return e.jsxs(e.Fragment,{children:[e.jsxs(b.Row,{className:"min-h-[44px] py-2",onClick:()=>s(i=>!i),style:{height:"auto"},children:[e.jsxs("span",{className:"flex min-w-0 flex-1 items-baseline gap-2",children:[e.jsx("span",{className:"truncate text-label-14 text-foreground",children:t.name??"Unnamed key"}),t.environment==="sandbox"?e.jsx("span",{className:"shrink-0 rounded-none bg-warning-subtle px-2 py-0.5 text-label-12 font-normal text-warning",children:"sandbox"}):null]}),e.jsx("span",{className:"shrink-0 text-label-12 text-foreground-secondary",children:Ie(t.createdAt)}),e.jsx(Re,{"aria-hidden":!0,className:"size-4 shrink-0 text-foreground-secondary opacity-70 transition-transform data-[open]:rotate-90","data-open":r?"":void 0})]}),r?e.jsxs(b.Panel,{children:[e.jsxs("dl",{className:"flex flex-wrap gap-x-10 gap-y-4 px-5 py-4",children:[e.jsx(T,{label:"Key ID",children:t.id}),e.jsx(T,{label:"Environment",children:t.environment??"production"}),e.jsx(T,{label:"Rate limit",children:u===void 0?"Inherited":`${u} req/min`}),e.jsxs(T,{label:"Token",children:["···",t.tokenLast4]}),e.jsx(T,{label:"Provisioned by",children:t.createdBy??"—"}),t.expiresAt?e.jsx(T,{label:"Expires",children:Ie(t.expiresAt)}):null,e.jsx(T,{className:"w-full",label:"Scopes",children:t.scopes.length===0?"—":e.jsx("span",{className:"flex flex-wrap gap-x-3 gap-y-1",children:t.scopes.map(i=>e.jsx("span",{className:"text-label-13 text-foreground",children:i},i))})})]}),e.jsx("div",{className:"flex justify-end border-t border-border px-5 py-3",children:e.jsxs(J,{loading:d.isPending,onClick:a,size:"small",variant:"negative",children:[e.jsx(Dn,{className:"size-4"}),"Revoke key"]})})]}):null]})}function T(n){return e.jsxs("div",{className:`flex min-w-0 flex-col gap-1 ${n.className??""}`,children:[e.jsx("dt",{className:"text-label-12 text-foreground-secondary",children:n.label}),e.jsx("dd",{className:"min-w-0 text-label-13 text-foreground",children:n.children})]})}function Ie(n){return new Date(n).toLocaleDateString(void 0,{day:"numeric",month:"short",year:"numeric"})}export{at as component};\n',
|
|
21
|
+
contentType: 'text/javascript; charset=utf-8',
|
|
22
|
+
},
|
|
23
|
+
'assets/ccip-ffLBoZHD.js': {
|
|
24
|
+
content:
|
|
25
|
+
'import{$ as R,a0 as L,a1 as M,a2 as C,a3 as O,a4 as N,a5 as A,a6 as H,a7 as y,a8 as j,a9 as k,aa as v,ab as B,ac as w,ad as U,B as b,ae as P,af as S,ag as _,ah as q,ai as J,aj as W,ak as g,al as $,am as x,an as z}from"./index-9tf01JPF.js";function K(e){const{abi:r,data:t}=e,s=R(t,0,4),a=r.find(n=>n.type==="function"&&s===L(M(n)));if(!a)throw new C(s,{docsPath:"/docs/contract/decodeFunctionData"});return{functionName:a.name,args:"inputs"in a&&a.inputs&&a.inputs.length>0?O(a.inputs,R(t,4)):void 0}}const p="/docs/contract/encodeErrorResult";function F(e){const{abi:r,errorName:t,args:s}=e;let a=r[0];if(t){const u=N({abi:r,args:s,name:t});if(!u)throw new A(t,{docsPath:p});a=u}if(a.type!=="error")throw new A(void 0,{docsPath:p});const n=M(a),o=L(n);let c="0x";if(s&&s.length>0){if(!a.inputs)throw new H(a.name,{docsPath:p});c=y(a.inputs,s)}return j([o,c])}const m="/docs/contract/encodeFunctionResult";function Q(e){const{abi:r,functionName:t,result:s}=e;let a=r[0];if(t){const o=N({abi:r,name:t});if(!o)throw new k(t,{docsPath:m});a=o}if(a.type!=="function")throw new k(void 0,{docsPath:m});if(!a.outputs)throw new v(a.name,{docsPath:m});const n=(()=>{if(a.outputs.length===0)return[];if(a.outputs.length===1)return[s];if(Array.isArray(s))return s;throw new B(s)})();return y(a.outputs,n)}const D="x-batch-gateway:true";async function G(e){const{data:r,ccipRequest:t}=e,{args:[s]}=K({abi:w,data:r}),a=[],n=[];return await Promise.all(s.map(async(o,c)=>{try{n[c]=o.urls.includes(D)?await G({data:o.data,ccipRequest:t}):await t(o),a[c]=!1}catch(u){a[c]=!0,n[c]=V(u)}})),Q({abi:w,functionName:"query",result:[a,n]})}function V(e){return e.name==="HttpRequestError"&&e.status?F({abi:w,errorName:"HttpError",args:[e.status,e.shortMessage]}):F({abi:[U],errorName:"Error",args:["shortMessage"in e?e.shortMessage:e.message]})}class X extends b{constructor({callbackSelector:r,cause:t,data:s,extraData:a,sender:n,urls:o}){super(t.shortMessage||"An error occurred while fetching for an offchain result.",{cause:t,metaMessages:[...t.metaMessages||[],t.metaMessages?.length?"":[],"Offchain Gateway Call:",o&&[" Gateway URL(s):",...o.map(c=>` ${P(c)}`)],` Sender: ${n}`,` Data: ${s}`,` Callback selector: ${r}`,` Extra data: ${a}`].flat(),name:"OffchainLookupError"})}}class Y extends b{constructor({result:r,url:t}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${P(t)}`,`Response: ${S(r)}`],name:"OffchainLookupResponseMalformedError"})}}class Z extends b{constructor({sender:r,to:t}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${t}`,`OffchainLookup sender address: ${r}`],name:"OffchainLookupSenderMismatchError"})}}const ra="0x556f1830",aa={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function sa(e,{blockNumber:r,blockTag:t,data:s,requestOptions:a,to:n}){const{args:o}=_({data:s,abi:[aa]}),[c,u,l,i,d]=o,{ccipRead:h}=e,E=h&&typeof h?.request=="function"?h.request:ta;try{if(!q(n,c))throw new Z({sender:c,to:n});const f=u.includes(D)?await G({data:l,ccipRequest:T=>E({...T,requestOptions:a})}):await E({data:l,requestOptions:a,sender:c,urls:u}),{data:I}=await J(e,{blockNumber:r,blockTag:t,data:W([i,y([{type:"bytes"},{type:"bytes"}],[f,d])]),requestOptions:a,to:n});return I}catch(f){throw a?.signal?.aborted?g(a.signal):$(f)?f:new X({callbackSelector:i,cause:f,data:s,extraData:d,sender:c,urls:u})}}async function ta({data:e,requestOptions:r,sender:t,urls:s}){let a=new Error("An unknown error occurred.");for(let n=0;n<s.length;n++){if(r?.signal?.aborted)throw g(r.signal);const o=s[n],c=o.includes("{data}")?"GET":"POST",u=c==="POST"?{data:e,sender:t}:void 0,l=c==="POST"?{"Content-Type":"application/json"}:{};try{const i=await fetch(o.replace("{sender}",t.toLowerCase()).replace("{data}",e),{body:JSON.stringify(u),headers:l,method:c,...r?.signal?{signal:r.signal}:{}});let d;if(i.headers.get("Content-Type")?.startsWith("application/json")?d=(await i.json()).data:d=await i.text(),!i.ok){a=new x({body:u,details:d?.error?S(d.error):i.statusText,headers:i.headers,status:i.status,url:o});continue}if(!z(d)){a=new Y({result:d,url:o});continue}return d}catch(i){if(r?.signal?.aborted)throw g(r.signal);if($(i))throw i;a=new x({body:u,details:i.message,url:o})}}throw a}export{ta as ccipRequest,sa as offchainLookup,aa as offchainLookupAbiItem,ra as offchainLookupSignature};\n',
|
|
26
|
+
contentType: 'text/javascript; charset=utf-8',
|
|
27
|
+
},
|
|
28
|
+
'assets/Dialog-DvOtj1aC.js': {
|
|
29
|
+
content:
|
|
30
|
+
'import{c as Fn,H as M,O as $t,i as l,I as Lo,V as si,X as Ln,Y as ii,Z as ci,_ as li}from"./index-9tf01JPF.js";const ai=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],lf=Fn("check",ai);const ui=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],af=Fn("copy",ui);const fi=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],uf=Fn("plus",fi);const di=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],ff=Fn("trash-2",di);function En(e){const{children:t,className:n,variant:r="stacked",...o}=e;return M.jsx(En.Context.Provider,{value:{variant:r},children:M.jsx("div",{className:$t("grid gap-2",n),...o,children:t})})}(e=>{e.Context=l.createContext(void 0);function t(n){const{children:r,className:o,...s}=n;return M.jsx("div",{className:$t("grid w-full min-w-0 auto-cols-fr grid-flow-col gap-2",o),...s,children:r})}e.Inline=t})(En||(En={}));function ct(e){const t=l.useContext(En.Context),{className:n,disabled:r,error:o,label:s,prefix:i,size:c,suffix:p,variant:u,...a}=e,f=u??t?.variant??"default",g=l.useId(),d=a.id??(s?g:void 0),h=M.jsxs("div",{className:$t(ct.fieldClassName[f],p?ct.fieldWithSuffixClassName[f]:void 0),children:[i&&M.jsx("div",{className:ct.prefixClassName[f],children:i}),M.jsx("input",{...a,className:ct.inputClassName[f],disabled:r,id:d}),p&&M.jsx("div",{className:ct.suffixClassName[f],children:p})]});return M.jsxs("div",{className:ct.rootClassName[f],children:[f==="default"&&s&&M.jsx("label",{className:"label-13 text-foreground-secondary",htmlFor:d,children:s}),M.jsx(Lo.Icon.Context.Provider,{value:ct.iconButtonContextValue,children:M.jsxs("div",{className:$t(ct.className(f),n),"data-disabled":r?"":void 0,"data-error":o?"":void 0,children:[f==="stacked"&&s&&M.jsx("label",{className:ct.stackedLabelClassName,htmlFor:d,children:s}),h]})}),typeof o=="string"&&M.jsx("p",{className:"label-13 text-negative",children:o})]})}(e=>{function t(r="default"){return e.baseClassName[r]}e.className=t,e.rootClassName={default:"flex min-w-0 flex-col gap-[8px]",stacked:"flex min-w-0 flex-col gap-[6px]"},e.iconButtonContextValue={variant:"surface"},e.baseClassName={default:"inline-flex h-[40px] w-full items-center gap-[10px] rounded-body border-[2px] border-transparent bg-secondary px-[12px] copy-14 text-foreground [&:not([data-error])]:hover:bg-secondary-hover focus-within:border-focus focus-within:bg-secondary-hover data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[error]:border-negative data-[error]:focus-within:border-focus",stacked:"relative flex w-full flex-col gap-1 rounded-body border-[2px] border-transparent bg-secondary px-3 pt-1.5 pb-1.5 text-foreground [&:not([data-error])]:hover:bg-secondary-hover focus-within:border-focus focus-within:bg-secondary-hover data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[error]:border-negative data-[error]:focus-within:border-focus"},e.fieldClassName={default:"contents",stacked:"flex min-w-0 items-center gap-2 copy-14 leading-tight"},e.fieldWithSuffixClassName={default:void 0,stacked:"pr-12"},e.inputClassName={default:"min-w-0 flex-1 bg-transparent outline-none placeholder:text-foreground-secondary/50 disabled:cursor-not-allowed",stacked:"min-w-0 flex-1 bg-transparent outline-none placeholder:text-foreground-secondary/50 disabled:cursor-not-allowed"},e.prefixClassName={default:"shrink-0 select-none border-r border-border pr-[10px] text-foreground-secondary",stacked:"shrink-0 select-none text-foreground-secondary"},e.suffixClassName={default:"shrink-0 select-none border-l border-border pl-[10px] text-foreground-secondary",stacked:"absolute inset-y-0 right-3 flex shrink-0 select-none items-center text-foreground-secondary"},e.stackedLabelClassName="font-mono text-[10px] leading-none uppercase tracking-[0.06em] text-foreground-secondary";function n(r){const{className:o,error:s,onChange:i,onMax:c,prefix:p,suffix:u,value:a,...f}=r,g=l.useId(),d=Xr(a),h=l.useRef(null),b=!!s,x=typeof s=="string"&&s?s:void 0,y=l.useRef(null),R=[f["aria-describedby"],x?g:void 0].filter(Boolean).join(" "),w=x?M.jsx("p",{className:"label-12 text-negative",id:g,children:x}):b||!c?null:M.jsx(Lo.Text,{onClick:S=>{S.stopPropagation(),c()},size:"small",type:"button",children:"Max"});l.useLayoutEffect(()=>{const S=h.current,T=y.current;!S||T===null||(y.current=null,S.setSelectionRange(T,T))});const m=M.jsxs("div",{className:"inline-flex min-w-0 max-w-full items-baseline justify-center gap-[4px]",children:[p&&M.jsx("div",{className:"shrink-0 heading-20 text-foreground-secondary",children:p}),M.jsxs("div",{className:"relative inline-block min-w-0 max-w-full",children:[d&&M.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 flex items-center justify-center whitespace-pre heading-20",children:Array.from(d).map((S,T)=>S===","?M.jsx("span",{className:"text-foreground-secondary",children:","},`comma-${T}`):M.jsx("span",{className:S==="."?"text-foreground-secondary":"text-foreground",children:S},`ch-${T}`))}),M.jsx("input",{...f,"aria-describedby":R||void 0,"aria-label":f["aria-label"]??"Amount","aria-invalid":b?!0:f["aria-invalid"],autoComplete:f.autoComplete??"off",className:$t("relative min-w-0 max-w-full bg-transparent text-center heading-20 text-transparent outline-none field-sizing-content caret-[var(--text-color-foreground)] placeholder:text-foreground-secondary/50",o),inputMode:f.inputMode??"decimal",name:f.name??"value",onChange:S=>{const T=S.target.value,E=S.target.selectionStart??T.length,k=pi(T,E),D=T.replace(/,/g,"");y.current=gi(Xr(D),k),i(D)},placeholder:f.placeholder??"0.00",ref:h,spellCheck:f.spellCheck??!1,value:d})]}),u&&M.jsx("div",{className:"shrink-0 heading-20 text-foreground-secondary",children:u})]});return w?M.jsxs("div",{className:"inline-flex min-w-0 max-w-full flex-col items-center gap-[2px]",children:[m,w]}):m}e.Amount=n})(ct||(ct={}));function Xr(e){if(!e)return"";const[t,n]=e.split("."),r=t.replace(/\\B(?=(\\d{3})+(?!\\d))/g,",");return n!==void 0?`${r}.${n}`:r}function pi(e,t){let n=0;for(let r=0;r<t;r++)e[r]!==","&&n++;return n}function gi(e,t){let n=0;for(let r=0;r<e.length;r++){if(n===t)return r;e[r]!==","&&n++}return e.length}const Zr={};function lt(e,t){const n=l.useRef(Zr);return n.current===Zr&&(n.current=e(t)),n}function Ut(e,t,n,r){const o=lt(Vo).current;return mi(o,e,t,n,r)&&jo(o,[e,t,n,r]),o.callback}function hi(e){const t=lt(Vo).current;return yi(t,e)&&jo(t,e),t.callback}function Vo(){return{callback:null,cleanup:null,refs:[]}}function mi(e,t,n,r,o){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==o}function yi(e,t){return e.refs.length!==t.length||e.refs.some((n,r)=>n!==t[r])}function jo(e,t){if(e.refs=t,t.every(n=>n==null)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),n!=null){const r=Array(t.length).fill(null);for(let o=0;o<t.length;o+=1){const s=t[o];if(s!=null)switch(typeof s){case"function":{const i=s(n);typeof i=="function"&&(r[o]=i);break}case"object":{s.current=n;break}}}e.cleanup=()=>{for(let o=0;o<t.length;o+=1){const s=t[o];if(s!=null)switch(typeof s){case"function":{const i=r[o];typeof i=="function"?i():s(null);break}case"object":{s.current=null;break}}}}}}}const bi=()=>{},K=typeof document<"u"?l.useLayoutEffect:bi,vr={...si},Qn=vr.useInsertionEffect,xi=Qn&&Qn!==vr.useLayoutEffect?Qn:e=>e();function oe(e){const t=lt(wi).current;return t.next=e,xi(t.effect),t.trampoline}function wi(){const e={next:void 0,callback:Ri,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function Ri(){}const Bo={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},Ho={...Bo,position:"fixed",top:0,left:0},Si={...Bo,position:"absolute"};function _e(){}const Jr=Object.freeze([]),Fe=Object.freeze({});function Vn(){return typeof window<"u"}function We(e){return Tr(e)?(e.nodeName||"").toLowerCase():"#document"}function ke(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ht(e){var t;return(t=(Tr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Tr(e){return Vn()?e instanceof Node||e instanceof ke(e).Node:!1}function Ae(e){return Vn()?e instanceof Element||e instanceof ke(e).Element:!1}function Pe(e){return Vn()?e instanceof HTMLElement||e instanceof ke(e).HTMLElement:!1}function Yt(e){return!Vn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ke(e).ShadowRoot}function Pt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=qe(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function Ci(e){return/^(table|td|th)$/.test(We(e))}function jn(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Ei=/transform|translate|scale|rotate|perspective|filter/,vi=/paint|layout|strict|content/,Dt=e=>!!e&&e!=="none";let er;function Or(e){const t=Ae(e)?qe(e):e;return Dt(t.transform)||Dt(t.translate)||Dt(t.scale)||Dt(t.rotate)||Dt(t.perspective)||!Bn()&&(Dt(t.backdropFilter)||Dt(t.filter))||Ei.test(t.willChange||"")||vi.test(t.contain||"")}function Ti(e){let t=Rt(e);for(;Pe(t)&&!xt(t);){if(Or(t))return t;if(jn(t))return null;t=Rt(t)}return null}function Bn(){return er==null&&(er=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),er}function xt(e){return/^(html|body|#document)$/.test(We(e))}function qe(e){return ke(e).getComputedStyle(e)}function Hn(e){return Ae(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rt(e){if(We(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yt(e)&&e.host||ht(e);return Yt(t)?t.host:t}function _o(e){const t=Rt(e);return xt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Pe(t)&&Pt(t)?t:_o(t)}function ln(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=_o(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=ke(o);if(s){const c=gr(i);return t.concat(i,i.visualViewport||[],Pt(o)?o:[],c&&n?ln(c):[])}else return t.concat(o,ln(o,[],n))}function gr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ee(e){return e?.ownerDocument||document}const Pr="none",Wo="trigger-press",Oi="trigger-hover",Ir="outside-press",tr="item-press",Pi="close-press",_n="focus-out",Ii="escape-key",Qr="list-navigation",Ai="cancel-open",Mi="imperative-action",ki="window-resize";function Le(e,t,n,r){let o=!1,s=!1;const i=Fe;return{reason:e,event:t??new Event("base-ui"),cancel(){o=!0},allowPropagation(){s=!0},get isCanceled(){return o},get isPropagationAllowed(){return s},trigger:n,...i}}let an=(function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e})({});const Di={[an.startingStyle]:""},Ni={[an.endingStyle]:""},Ar={transitionStatus(e){return e==="starting"?Di:e==="ending"?Ni:null}};let eo=(function(e){return e.disabled="data-disabled",e.valid="data-valid",e.invalid="data-invalid",e.touched="data-touched",e.dirty="data-dirty",e.filled="data-filled",e.focused="data-focused",e})({});const Fi={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},en={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},Li={disabled:!1,...en},Vi={valid(e){return e===null?null:e?{[eo.valid]:""}:{[eo.invalid]:""}}};let to=0;function ji(e,t="mui"){const[n,r]=l.useState(e),o=e||n;return l.useEffect(()=>{n==null&&(to+=1,r(`${t}-${to}`))},[n,t]),o}const no=vr.useId;function Wn(e,t){if(no!==void 0){const n=no();return e??(t?`${t}-${n}`:n)}return ji(e,t)}function $n(e){return Wn(e,"base-ui")}function Bi(e,t){return function(r,...o){const s=new URL(e);return s.searchParams.set("code",r.toString()),o.forEach(i=>s.searchParams.append("args[]",i)),`${t} error #${r}; visit ${s} for the full message.`}}const at=Bi("https://base-ui.com/production-error","Base UI"),Hi=parseInt(l.version,10);function Mr(e){return Hi>=e}function ro(e){if(!l.isValidElement(e))return null;const t=e,n=t.props;return(Mr(19)?n?.ref:t.ref)??null}function hr(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function _i(e,t){const n={};for(const r in e){const o=e[r];if(t?.hasOwnProperty(r)){const s=t[r](o);s!=null&&Object.assign(n,s);continue}o===!0?n[`data-${r.toLowerCase()}`]="":o&&(n[`data-${r.toLowerCase()}`]=o.toString())}return n}function Wi(e,t){return typeof e=="function"?e(t):e}function $i(e,t){return typeof e=="function"?e(t):e}const kr={};function Lt(e,t,n,r,o){if(!n&&!r&&!o&&!e)return vn(t);let s=vn(e);return t&&(s=tn(s,t)),n&&(s=tn(s,n)),r&&(s=tn(s,r)),o&&(s=tn(s,o)),s}function Ui(e){if(e.length===0)return kr;if(e.length===1)return vn(e[0]);let t=vn(e[0]);for(let n=1;n<e.length;n+=1)t=tn(t,e[n]);return t}function vn(e){return Dr(e)?{...Uo(e,kr)}:Yi(e)}function tn(e,t){return Dr(t)?Uo(t,e):zi(e,t)}function Yi(e){const t={...e};for(const n in t){const r=t[n];$o(n,r)&&(t[n]=Yo(r))}return t}function zi(e,t){if(!t)return e;for(const n in t){const r=t[n];switch(n){case"style":{e[n]=hr(e.style,r);break}case"className":{e[n]=zo(e.className,r);break}default:$o(n,r)?e[n]=Ki(e[n],r):e[n]=r}}return e}function $o(e,t){const n=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2);return n===111&&r===110&&o>=65&&o<=90&&(typeof t=="function"||typeof t>"u")}function Dr(e){return typeof e=="function"}function Uo(e,t){return Dr(e)?e(t):e??kr}function Ki(e,t){return t?e?(...n)=>{const r=n[0];if(Ko(r)){const s=r;Tn(s);const i=t(...n);return s.baseUIHandlerPrevented||e?.(...n),i}const o=t(...n);return e?.(...n),o}:Yo(t):e}function Yo(e){return e&&((...t)=>{const n=t[0];return Ko(n)&&Tn(n),e(...t)})}function Tn(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function zo(e,t){return t?e?t+" "+e:t:e}function Ko(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}function Xe(e,t,n={}){const r=t.render,o=Gi(t,n);if(n.enabled===!1)return null;const s=n.state??Fe;return Zi(e,r,o,s)}function Gi(e,t={}){const{className:n,style:r,render:o}=e,{state:s=Fe,ref:i,props:c,stateAttributesMapping:p,enabled:u=!0}=t,a=u?Wi(n,s):void 0,f=u?$i(r,s):void 0,g=u?_i(s,p):Fe,d=u&&c?qi(c):void 0,h=u?hr(g,d)??{}:Fe;return typeof document<"u"&&(u?Array.isArray(i)?h.ref=hi([h.ref,ro(o),...i]):h.ref=Ut(h.ref,ro(o),i):Ut(null,null)),u?(a!==void 0&&(h.className=zo(h.className,a)),f!==void 0&&(h.style=hr(h.style,f)),h):Fe}function qi(e){return Array.isArray(e)?Ui(e):Lt(void 0,e)}const Xi=Symbol.for("react.lazy");function Zi(e,t,n,r){if(t){if(typeof t=="function")return t(n,r);const o=Lt(n,t.props);o.ref=n.ref;let s=t;return s?.$$typeof===Xi&&(s=l.Children.toArray(t)[0]),l.cloneElement(s,o)}if(e&&typeof e=="string")return Ji(e,n);throw new Error(at(8))}function Ji(e,t){return e==="button"?l.createElement("button",{type:"button",...t,key:t.key}):e==="img"?l.createElement("img",{alt:"",...t,key:t.key}):l.createElement(e,t)}const Qi=l.createContext(void 0);function ec(e=!1){const t=l.useContext(Qi);if(t===void 0&&!e)throw new Error(at(16));return t}function tc(e){const{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:o=0,isNativeButton:s}=e,i=r&&t!==!1,c=r&&t===!1;return{props:l.useMemo(()=>{const u={onKeyDown(a){n&&t&&a.key!=="Tab"&&a.preventDefault()}};return r||(u.tabIndex=o,!s&&n&&(u.tabIndex=t?o:-1)),(s&&(t||i)||!s&&n)&&(u["aria-disabled"]=n),s&&(!t||c)&&(u.disabled=n),u},[r,n,t,i,c,s,o])}}function Un(e={}){const{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:o=!0,composite:s}=e,i=l.useRef(null),c=ec(!0),p=s??c!==void 0,{props:u}=tc({focusableWhenDisabled:n,disabled:t,composite:p,tabIndex:r,isNativeButton:o}),a=l.useCallback(()=>{const d=i.current;nr(d)&&p&&t&&u.disabled===void 0&&d.disabled&&(d.disabled=!1)},[t,u.disabled,p]);K(a,[a]);const f=l.useCallback((d={})=>{const{onClick:h,onMouseDown:b,onKeyUp:x,onKeyDown:y,onPointerDown:R,...w}=d;return Lt({onClick(m){if(t){m.preventDefault();return}h?.(m)},onMouseDown(m){t||b?.(m)},onKeyDown(m){if(t||(Tn(m),y?.(m),m.baseUIHandlerPrevented))return;const S=m.target===m.currentTarget,T=m.currentTarget,E=nr(T),k=!o&&nc(T),D=S&&(o?E:!k),P=m.key==="Enter",H=m.key===" ",I=T.getAttribute("role"),O=I?.startsWith("menuitem")||I==="option"||I==="gridcell";if(S&&p&&H){if(m.defaultPrevented&&O)return;m.preventDefault(),k||o&&E?(T.click(),m.preventBaseUIHandler()):D&&(h?.(m),m.preventBaseUIHandler());return}D&&(!o&&(H||P)&&m.preventDefault(),!o&&P&&h?.(m))},onKeyUp(m){if(!t){if(Tn(m),x?.(m),m.target===m.currentTarget&&o&&p&&nr(m.currentTarget)&&m.key===" "){m.preventDefault();return}m.baseUIHandlerPrevented||m.target===m.currentTarget&&!o&&!p&&m.key===" "&&h?.(m)}},onPointerDown(m){if(t){m.preventDefault();return}R?.(m)}},o?{type:"button"}:{role:"button"},u,w)},[t,u,p,o]),g=oe(d=>{i.current=d,a()});return{getButtonProps:f,buttonRef:g}}function nr(e){return Pe(e)&&e.tagName==="BUTTON"}function nc(e){return!!(e?.tagName==="A"&&e?.href)}const Go=l.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function rc(){return l.useContext(Go)}let qo=(function(e){return e[e.None=0]="None",e[e.GuessFromOrder=1]="GuessFromOrder",e})({});function oc(e={}){const{label:t,metadata:n,textRef:r,indexGuessBehavior:o,index:s}=e,{register:i,unregister:c,subscribeMapChange:p,elementsRef:u,labelsRef:a,nextIndexRef:f}=rc(),g=l.useRef(-1),[d,h]=l.useState(s??(o===qo.GuessFromOrder?()=>{if(g.current===-1){const y=f.current;f.current+=1,g.current=y}return g.current}:-1)),b=l.useRef(null),x=l.useCallback(y=>{if(b.current=y,d!==-1&&y!==null&&(u.current[d]=y,a)){const R=t!==void 0;a.current[d]=R?t:r?.current?.textContent??y.textContent}},[d,u,a,t,r]);return K(()=>{if(s!=null)return;const y=b.current;if(y)return i(y,n),()=>{c(y)}},[s,i,c,n]),K(()=>{if(s==null)return p(y=>{const R=b.current?y.get(b.current)?.index:null;R!=null&&h(R)})},[s,p,h]),l.useMemo(()=>({ref:x,index:d}),[d,x])}const sc={invalid:void 0,name:void 0,validityData:{state:Fi,errors:[],error:"",value:"",initialValue:null},setValidityData:_e,disabled:void 0,touched:en.touched,setTouched:_e,dirty:en.dirty,setDirty:_e,filled:en.filled,setFilled:_e,focused:en.focused,setFocused:_e,validate:()=>null,validationMode:"onSubmit",validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:Li,markedDirtyRef:{current:!1},registerFieldControl:_e,validation:{getValidationProps:(e=Fe)=>e,getInputValidationProps:(e=Fe)=>e,inputRef:{current:null},commit:async()=>{}}},ic=l.createContext(sc);function Nr(e=!0){const t=l.useContext(ic);if(t.setValidityData===_e&&!e)throw new Error(at(28));return t}const cc=l.createContext({controlId:void 0,registerControlId:_e,labelId:void 0,setLabelId:_e,messageIds:[],setMessageIds:_e,getDescriptionProps:e=>e});function Xo(){return l.useContext(cc)}function Zo(e={}){const{id:t,implicit:n=!1,controlRef:r}=e,{controlId:o,registerControlId:s}=Xo(),i=$n(t),c=n?o:void 0,p=lt(()=>Symbol("labelable-control")),u=l.useRef(!1),a=l.useRef(t!=null),f=oe(()=>{!u.current||s===_e||(u.current=!1,s(p.current,void 0))});return K(()=>{if(s===_e)return;let g;if(n){const d=r?.current;Ae(d)&&d.closest("label")!=null?g=t??null:g=c??i}else if(t!=null)a.current=!0,g=t;else if(a.current)g=i;else{f();return}if(g===void 0){f();return}u.current=!0,s(p.current,g)},[t,r,c,s,n,i,p,f]),l.useEffect(()=>f,[f]),o??i}function mr(e){if(e==null)return"";if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return String(e)}}const lc=[];function Jo(e){l.useEffect(e,lc)}const pn=null;class ac{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=t=>{this.isScheduled=!1;const n=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let o=0;o<n.length;o+=1)n[o]?.(t)};request(t){const n=this.nextId;return this.nextId+=1,this.callbacks.push(t),this.callbacksCount+=1,!this.isScheduled&&(requestAnimationFrame(this.tick),this.isScheduled=!0),n}cancel(t){const n=t-this.startId;n<0||n>=this.callbacks.length||(this.callbacks[n]=null,this.callbacksCount-=1)}}const gn=new ac;class dt{static create(){return new dt}static request(t){return gn.request(t)}static cancel(t){return gn.cancel(t)}currentId=pn;request(t){this.cancel(),this.currentId=gn.request(()=>{this.currentId=pn,t()})}cancel=()=>{this.currentId!==pn&&(gn.cancel(this.currentId),this.currentId=pn)};disposeEffect=()=>this.cancel}function zt(){const e=lt(dt.create).current;return Jo(e.disposeEffect),e}function yt(e){return e==null?e:"current"in e?e.current:e}function uc(e,t=!1,n=!0){const r=zt();return oe((o,s=null)=>{r.cancel();const i=yt(e);if(i==null)return;const c=i,p=()=>{Ln.flushSync(o)};if(typeof c.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED){o();return}function u(){Promise.all(c.getAnimations().map(a=>a.finished)).then(()=>{s?.aborted||p()}).catch(()=>{if(n){s?.aborted||p();return}const a=c.getAnimations();!s?.aborted&&a.length>0&&a.some(f=>f.pending||f.playState!=="finished")&&u()})}if(t){const a=an.startingStyle;if(!c.hasAttribute(a)){r.request(u);return}const f=new MutationObserver(()=>{c.hasAttribute(a)||(f.disconnect(),u())});f.observe(c,{attributes:!0,attributeFilter:[a]}),s?.addEventListener("abort",()=>f.disconnect(),{once:!0});return}r.request(u)})}function Yn(e){const{enabled:t=!0,open:n,ref:r,onComplete:o}=e,s=oe(o),i=uc(r,n,!1);l.useEffect(()=>{if(!t)return;const c=new AbortController;return i(s,c.signal),()=>{c.abort()}},[t,n,s,i])}function Qo(e,t=!1,n=!1){const[r,o]=l.useState(e&&t?"idle":void 0),[s,i]=l.useState(e);return e&&!s&&(i(!0),o("starting")),!e&&s&&r!=="ending"&&!n&&o("ending"),!e&&!s&&r==="ending"&&o(void 0),K(()=>{if(!e&&s&&r!=="ending"&&n){const c=dt.request(()=>{o("ending")});return()=>{dt.cancel(c)}}},[e,s,r,n]),K(()=>{if(!e||t)return;const c=dt.request(()=>{o(void 0)});return()=>{dt.cancel(c)}},[t,e]),K(()=>{if(!e||!t)return;e&&s&&r!=="idle"&&o("starting");const c=dt.request(()=>{o("idle")});return()=>{dt.cancel(c)}},[t,e,s,r]),{mounted:s,setMounted:i,transitionStatus:r}}function oo({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=l.useRef(e!==void 0),[s,i]=l.useState(t),c=o?e:s,p=l.useCallback(u=>{o||i(u)},[]);return[c,p]}const qt=typeof navigator<"u",rr=pc(),es=hc(),ts=gc(),Fr=typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter:none"),ns=rr.platform==="MacIntel"&&rr.maxTouchPoints>1?!0:/iP(hone|ad|od)|iOS/.test(rr.platform),fc=qt&&/apple/i.test(navigator.vendor),yr=qt&&/android/i.test(es)||/android/i.test(ts);qt&&es.toLowerCase().startsWith("mac")&&navigator.maxTouchPoints;const dc=ts.includes("jsdom/");function pc(){if(!qt)return{platform:"",maxTouchPoints:-1};const e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}function gc(){if(!qt)return"";const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:t,version:n})=>`${t}/${n}`).join(" "):navigator.userAgent}function hc(){if(!qt)return"";const e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}const br="data-base-ui-focusable",mc="input:not([type=\'hidden\']):not([disabled]),[contenteditable]:not([contenteditable=\'false\']),textarea:not([disabled])",Tt="ArrowLeft",Ot="ArrowRight",Lr="ArrowUp",dn="ArrowDown";function rt(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function ye(e,t){if(!e||!t)return!1;const n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&Yt(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function pt(e){return"composedPath"in e?e.composedPath()[0]:e.target}function or(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function yc(e){return e.matches("html,body")}function Vr(e){return Pe(e)&&e.matches(mc)}function xr(e){return e?e.getAttribute("role")==="combobox"&&Vr(e):!1}function On(e){return e?e.hasAttribute(br)?e:e.querySelector(`[${br}]`)||e:null}function un(e,t,n=!0){return e.filter(o=>o.parentId===t).flatMap(o=>[...!n||o.context?.open?[o]:[],...un(e,o.id,n)])}function so(e,t){let n=[],r=e.find(o=>o.id===t)?.parentId;for(;r;){const o=e.find(s=>s.id===r);r=o?.parentId,o&&(n=n.concat(o))}return n}function et(e){e.preventDefault(),e.stopPropagation()}function bc(e){return"nativeEvent"in e}function jr(e){return e.pointerType===""&&e.isTrusted?!0:yr&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function rs(e){return dc?!1:!yr&&e.width===0&&e.height===0||yr&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function io(e,t){return["mouse","pen"].includes(e)}function xc(e){const t=e.type;return t==="click"||t==="mousedown"||t==="keydown"||t==="keyup"}const wc=["top","right","bottom","left"],Kt=Math.min,tt=Math.max,Pn=Math.round,Nt=Math.floor,gt=e=>({x:e,y:e}),Rc={left:"right",right:"left",bottom:"top",top:"bottom"};function wr(e,t,n){return tt(e,Kt(t,n))}function St(e,t){return typeof e=="function"?e(t):e}function nt(e){return e.split("-")[0]}function It(e){return e.split("-")[1]}function Br(e){return e==="x"?"y":"x"}function Hr(e){return e==="y"?"height":"width"}function ot(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function _r(e){return Br(ot(e))}function Sc(e,t,n){n===void 0&&(n=!1);const r=It(e),o=_r(e),s=Hr(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=In(i)),[i,In(i)]}function Cc(e){const t=In(e);return[Rr(e),t,Rr(t)]}function Rr(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const co=["left","right"],lo=["right","left"],Ec=["top","bottom"],vc=["bottom","top"];function Tc(e,t,n){switch(e){case"top":case"bottom":return n?t?lo:co:t?co:lo;case"left":case"right":return t?Ec:vc;default:return[]}}function Oc(e,t,n,r){const o=It(e);let s=Tc(nt(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Rr)))),s}function In(e){const t=nt(e);return Rc[t]+e.slice(t.length)}function Pc(e){return{top:0,right:0,bottom:0,left:0,...e}}function os(e){return typeof e!="number"?Pc(e):{top:e,right:e,bottom:e,left:e}}function fn(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function hn(e,t,n){return Math.floor(e/t)!==n}function An(e,t){return t<0||t>=e.length}function sr(e,t){return Ue(e.current,{disabledIndices:t})}function ao(e,t){return Ue(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Ue(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:o=1}={}){let s=t;do s+=n?-o:o;while(s>=0&&s<=e.length-1&&Ht(e,s,r));return s}function Ic(e,{event:t,orientation:n,loopFocus:r,onLoop:o,rtl:s,cols:i,disabledIndices:c,minIndex:p,maxIndex:u,prevIndex:a,stopEvent:f=!1}){let g=a,d;if(t.key===Lr?d="up":t.key===dn&&(d="down"),d){const h=[],b=[];let x=!1,y=0;{let D=null,P=-1;e.forEach((H,I)=>{if(H==null)return;y+=1;const O=H.closest(\'[role="row"]\');O&&(x=!0),(O!==D||P===-1)&&(D=O,P+=1,h[P]=[]),h[P].push(I),b[I]=P})}let R=!1,w=0;if(x)for(const D of h){const P=D.length;P>w&&(w=P),P!==i&&(R=!0)}const m=R&&y<e.length,S=w||i,T=D=>{if(!R||a===-1)return;const P=b[a];if(P==null)return;const H=h[P].indexOf(a),I=D==="up"?-1:1;for(let O=P+I,B=0;B<h.length;B+=1,O+=I){if(O<0||O>=h.length){if(!r||m)return;if(O=O<0?h.length-1:0,o){const J=Math.min(H,h[O].length-1),A=h[O][J]??h[O][0],F=o(t,a,A);O=b[F]??O}}const _=h[O];for(let J=Math.min(H,_.length-1);J>=0;J-=1){const A=_[J];if(!Ht(e,A,c))return A}}},E=D=>{if(!m||a===-1)return;const P=a%S,H=D==="up"?-S:S,I=u-u%S,O=Nt(u/S)+1;for(let B=a-P+H,_=0;_<O;_+=1,B+=H){if(B<0||B>u){if(!r)return;B=B<0?I:0}const J=Math.min(B+S-1,u);for(let A=Math.min(B+P,J);A>=B;A-=1)if(!Ht(e,A,c))return A}};f&&et(t);const k=T(d)??E(d);if(k!==void 0)g=k;else if(a===-1)g=d==="up"?u:p;else if(g=Ue(e,{startingIndex:a,amount:S,decrement:d==="up",disabledIndices:c}),r){if(d==="up"&&(a-S<p||g<0)){const D=a%S,P=u%S,H=u-(P-D);P===D?g=u:g=P>D?H:H-S,o&&(g=o(t,a,g))}d==="down"&&a+S>u&&(g=Ue(e,{startingIndex:a%S-S,amount:S,disabledIndices:c}),o&&(g=o(t,a,g)))}An(e,g)&&(g=a)}if(n==="both"){const h=Nt(a/i);t.key===(s?Tt:Ot)&&(f&&et(t),a%i!==i-1?(g=Ue(e,{startingIndex:a,disabledIndices:c}),r&&hn(g,i,h)&&(g=Ue(e,{startingIndex:a-a%i-1,disabledIndices:c}),o&&(g=o(t,a,g)))):r&&(g=Ue(e,{startingIndex:a-a%i-1,disabledIndices:c}),o&&(g=o(t,a,g))),hn(g,i,h)&&(g=a)),t.key===(s?Ot:Tt)&&(f&&et(t),a%i!==0?(g=Ue(e,{startingIndex:a,decrement:!0,disabledIndices:c}),r&&hn(g,i,h)&&(g=Ue(e,{startingIndex:a+(i-a%i),decrement:!0,disabledIndices:c}),o&&(g=o(t,a,g)))):r&&(g=Ue(e,{startingIndex:a+(i-a%i),decrement:!0,disabledIndices:c}),o&&(g=o(t,a,g))),hn(g,i,h)&&(g=a));const b=Nt(u/i)===h;An(e,g)&&(r&&b?(g=t.key===(s?Ot:Tt)?u:Ue(e,{startingIndex:a-a%i-1,disabledIndices:c}),o&&(g=o(t,a,g))):g=a)}return g}function Ac(e,t,n){const r=[];let o=0;return e.forEach(({width:s,height:i},c)=>{let p=!1;for(;!p;){const u=[];for(let a=0;a<s;a+=1)for(let f=0;f<i;f+=1)u.push(o+a+f*t);o%t+s<=t&&u.every(a=>r[a]==null)?(u.forEach(a=>{r[a]=c}),p=!0):o+=1}}),[...r]}function Mc(e,t,n,r,o){if(e===-1)return-1;const s=n.indexOf(e),i=t[e];switch(o){case"tl":return s;case"tr":return i?s+i.width-1:s;case"bl":return i?s+(i.height-1)*r:s;case"br":return n.lastIndexOf(e);default:return-1}}function kc(e,t){return t.flatMap((n,r)=>e.includes(n)?[r]:[])}function Ht(e,t,n){if(typeof n=="function"?n(t):n?.includes(t)??!1)return!0;const o=e[t];return o?zn(o)?!n&&(o.hasAttribute("disabled")||o.getAttribute("aria-disabled")==="true"):!0:!1}function Dc(e){return e.visibility==="hidden"||e.visibility==="collapse"}function zn(e,t=e?qe(e):null){return!e||!e.isConnected||!t||Dc(t)?!1:typeof e.checkVisibility=="function"?e.checkVisibility():t.display!=="none"&&t.display!=="contents"}const Nc=\'a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]\';function Fc(e){const t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;const n=e.getRootNode();return Yt(n)?n.host:null}function Sr(e){for(const t of Array.from(e.children))if(We(t)==="summary")return t;return null}function Lc(e,t){const n=Sr(t);return!!n&&(e===n||ye(n,e))}function ss(e){const t=e?We(e):"";return e!=null&&e.matches(Nc)&&(t!=="summary"||e.parentElement!=null&&We(e.parentElement)==="details"&&Sr(e.parentElement)===e)&&(t!=="details"||Sr(e)==null)&&(t!=="input"||e.type!=="hidden")}function is(e){if(!ss(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=Fc(t)){const n=t!==e,r=We(t)==="slot";if(t.hasAttribute("inert")||n&&We(t)==="details"&&!t.open&&!Lc(e,t)||t.hasAttribute("hidden")||!r&&!Vc(t,n))return!1}return!0}function Vc(e,t){const n=qe(e);return t?n.display!=="none":zn(e,n)}function cs(e){const t=e.tabIndex;if(t<0){const n=We(e);if(n==="details"||n==="audio"||n==="video"||Pe(e)&&e.isContentEditable)return 0}return t}function ir(e){if(We(e)!=="input")return null;const t=e;return t.type==="radio"&&t.name!==""?t:null}function jc(e,t){const n=ir(e);if(!n)return!0;const r=t.find(o=>{const s=ir(o);return s?.name===n.name&&s.form===n.form&&s.checked});return r?r===n:t.find(o=>{const s=ir(o);return s?.name===n.name&&s.form===n.form})===n}function ls(e){if(Pe(e)&&We(e)==="slot"){const t=e.assignedElements({flatten:!0});if(t.length>0)return t}return Pe(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function as(e,t){ls(e).forEach(n=>{ss(n)&&t.push(n),as(n,t)})}function us(e,t,n){ls(e).forEach(r=>{Pe(r)&&r.matches(t)&&n.push(r),us(r,t,n)})}function Wr(e){return is(e)&&cs(e)>=0}function fs(e){const t=[];return as(e,t),t.filter(is)}function Kn(e){const t=fs(e);return t.filter(n=>cs(n)>=0&&jc(n,t))}function ds(e,t){const n=Kn(e),r=n.length;if(r===0)return;const o=rt(Ee(e)),s=n.indexOf(o),i=s===-1?t===1?0:r-1:s+t;return n[i]}function ps(e){return ds(Ee(e).body,1)||e}function gs(e){return ds(Ee(e).body,-1)||e}function on(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!ye(n,r)}function Bc(e){Kn(e).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function uo(e){const t=[];us(e,"[data-tabindex]",t),t.forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}const Hc="ArrowUp",_c="ArrowDown",Wc="ArrowLeft",$c="ArrowRight",Uc="Home",Yc="End",zc=new Set([Wc,$c]),Kc=new Set([Hc,_c]),Gc=new Set([...zc,...Kc]),hs=new Set([...Gc,Uc,Yc]);function qc(e){const{children:t,elementsRef:n,labelsRef:r,onMapChange:o}=e,s=oe(o),i=l.useRef(0),c=lt(Zc).current,p=lt(Xc).current,[u,a]=l.useState(0),f=l.useRef(u),g=oe((y,R)=>{p.set(y,R??null),f.current+=1,a(f.current)}),d=oe(y=>{p.delete(y),f.current+=1,a(f.current)}),h=l.useMemo(()=>{const y=new Map;return Array.from(p.keys()).filter(w=>w.isConnected).sort(Jc).forEach((w,m)=>{const S=p.get(w)??{};y.set(w,{...S,index:m})}),y},[p,u]);K(()=>{if(typeof MutationObserver!="function"||h.size===0)return;const y=new MutationObserver(R=>{const w=new Set,m=S=>w.has(S)?w.delete(S):w.add(S);R.forEach(S=>{S.removedNodes.forEach(m),S.addedNodes.forEach(m)}),w.size===0&&(f.current+=1,a(f.current))});return h.forEach((R,w)=>{w.parentElement&&y.observe(w.parentElement,{childList:!0})}),()=>{y.disconnect()}},[h]),K(()=>{f.current===u&&(n.current.length!==h.size&&(n.current.length=h.size),r&&r.current.length!==h.size&&(r.current.length=h.size),i.current=h.size),s(h)},[s,h,n,r,u]),K(()=>()=>{n.current=[]},[n]),K(()=>()=>{r&&(r.current=[])},[r]);const b=oe(y=>(c.add(y),()=>{c.delete(y)}));K(()=>{c.forEach(y=>y(h))},[c,h]);const x=l.useMemo(()=>({register:g,unregister:d,subscribeMapChange:b,elementsRef:n,labelsRef:r,nextIndexRef:i}),[g,d,b,n,r,i]);return M.jsx(Go.Provider,{value:x,children:t})}function Xc(){return new Map}function Zc(){return new Set}function Jc(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const Qc=l.createContext(void 0);function ms(){return l.useContext(Qc)?.direction??"ltr"}function el(e,t,n,r,o=!0){const{registerFieldControl:s}=Nr(),i=l.useRef(null);i.current||(i.current=Symbol()),K(()=>{const c=i.current;return!c||!o?void 0:(s(c,{controlRef:e,getValue:r,id:t,value:n}),()=>{s(c,void 0)})},[e,o,r,t,s,n])}const tl=l.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:_e,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});function nl(){return l.useContext(tl)}function ys(e,t){const n=l.useRef(e),r=oe(t);K(()=>{n.current!==e&&r(n.current)},[e,r]),K(()=>{n.current=e},[e])}function df(e={}){const{timeout:t=800}=e,[n,r]=l.useState(!1),o=l.useRef(null);return{copy:l.useCallback(async i=>{o.current&&clearTimeout(o.current);try{if(!navigator.clipboard)throw new Error("Clipboard API not supported");return await navigator.clipboard.writeText(i),r(!0),o.current=setTimeout(()=>r(!1),t),!0}catch(c){return console.error("useCopy: Failed to copy text:",c),!1}},[t]),notifying:n}}function Ge(e){const t=lt(rl,e).current;return t.next=e,K(t.effect),t}function rl(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}function bs(e){const t=l.useRef(!0);t.current&&(t.current=!1,e())}function ol(e){const[t,n]=l.useState({current:e,previous:null});return e!==t.current&&n({current:e,previous:t.current}),t.previous}const U=(e,t,n,r,o,s,...i)=>{if(i.length>0)throw new Error(at(1));let c;if(e)c=e;else throw new Error("Missing arguments");return c};var sl=ii();const il=Mr(19),cl=il?al:ul;function se(e,t,n,r,o){return cl(e,t,n,r,o)}function ll(e,t,n,r,o){const s=l.useCallback(()=>t(e.getSnapshot(),n,r,o),[e,t,n,r,o]);return sl.useSyncExternalStore(e.subscribe,s,s)}function al(e,t,n,r,o){return ll(e,t,n,r,o)}function ul(e,t,n,r,o){return ci.useSyncExternalStoreWithSelector(e.subscribe,e.getSnapshot,e.getSnapshot,s=>t(s,n,r,o))}class xs{constructor(t){this.state=t,this.listeners=new Set,this.updateTick=0}subscribe=t=>(this.listeners.add(t),()=>{this.listeners.delete(t)});getSnapshot=()=>this.state;setState(t){if(this.state===t)return;this.state=t,this.updateTick+=1;const n=this.updateTick;for(const r of this.listeners){if(n!==this.updateTick)return;r(t)}}update(t){for(const n in t)if(!Object.is(this.state[n],t[n])){this.setState({...this.state,...t});return}}set(t,n){Object.is(this.state[t],n)||this.setState({...this.state,[t]:n})}notifyAll(){const t={...this.state};this.setState(t)}use(t,n,r,o){return se(this,t,n,r,o)}}class ws extends xs{constructor(t,n={},r){super(t),this.context=n,this.selectors=r}useSyncedValue(t,n){l.useDebugValue(t);const r=this;K(()=>{r.state[t]!==n&&r.set(t,n)},[r,t,n])}useSyncedValueWithCleanup(t,n){const r=this;K(()=>(r.state[t]!==n&&r.set(t,n),()=>{r.set(t,void 0)}),[r,t,n])}useSyncedValues(t){const n=this,r=Object.values(t);K(()=>{n.update(t)},[n,...r])}useControlledProp(t,n){l.useDebugValue(t);const r=this,o=n!==void 0;K(()=>{o&&!Object.is(r.state[t],n)&&r.setState({...r.state,[t]:n})},[r,t,n,o])}select(t,n,r,o){const s=this.selectors[t];return s(this.state,n,r,o)}useState(t,n,r,o){return l.useDebugValue(t),se(this,this.selectors[t],n,r,o)}useContextCallback(t,n){l.useDebugValue(t);const r=oe(n??_e);this.context[t]=r}useStateSetter(t){const n=l.useRef(void 0);return n.current===void 0&&(n.current=r=>{this.set(t,r)}),n.current}observe(t,n){let r;typeof t=="function"?r=t:r=this.selectors[t];let o=r(this.state);return n(o,o,this),this.subscribe(s=>{const i=r(s);if(!Object.is(o,i)){const c=o;o=i,n(i,c,this)}})}}function _t(...e){return()=>{for(let t=0;t<e.length;t+=1){const n=e[t];n&&n()}}}function Ce(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}const Jt=0;class Vt{static create(){return new Vt}currentId=Jt;start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=Jt,n()},t)}isStarted(){return this.currentId!==Jt}clear=()=>{this.currentId!==Jt&&(clearTimeout(this.currentId),this.currentId=Jt)};disposeEffect=()=>this.clear}function wt(){const e=lt(Vt.create).current;return Jo(e.disposeEffect),e}const Mn=l.forwardRef(function(t,n){const[r,o]=l.useState();K(()=>{fc&&o("button")},[]);const s={tabIndex:0,role:r};return M.jsx("span",{...t,ref:n,style:Ho,"aria-hidden":r?void 0:!0,...s,"data-base-ui-focus-guard":""})});function kn(e){return`data-base-ui-${e}`}let mn=0;function Sn(e,t={}){const{preventScroll:n=!1,sync:r=!1,shouldFocus:o}=t;cancelAnimationFrame(mn);function s(){o&&!o()||e?.focus({preventScroll:n})}if(r)return s(),_e;const i=requestAnimationFrame(s);return mn=i,()=>{mn===i&&(cancelAnimationFrame(i),mn=0)}}const cr={inert:new WeakMap,"aria-hidden":new WeakMap},fo="data-base-ui-inert",Cr={inert:new WeakSet,"aria-hidden":new WeakSet};let Qt=new WeakMap,lr=0;function fl(e){return Cr[e]}function Rs(e){return e?Yt(e)?e.host:Rs(e.parentNode):null}const ar=(e,t)=>t.map(n=>{if(e.contains(n))return n;const r=Rs(n);return e.contains(r)?r:null}).filter(n=>n!=null),po=e=>{const t=new Set;return e.forEach(n=>{let r=n;for(;r&&!t.has(r);)t.add(r),r=r.parentNode}),t},go=(e,t,n)=>{const r=[],o=s=>{!s||n.has(s)||Array.from(s.children).forEach(i=>{We(i)!=="script"&&(t.has(i)?o(i):r.push(i))})};return o(e),r};function dl(e,t,n,r,{mark:o=!0,markerIgnoreElements:s=[]}){const i=r?"inert":n?"aria-hidden":null;let c=null,p=null;const u=ar(t,e),a=o?ar(t,s):[],f=new Set(a),g=o?go(t,po(u),new Set(u)).filter(b=>!f.has(b)):[],d=[],h=[];if(i){const b=cr[i],x=fl(i);p=x,c=b;const y=ar(t,Array.from(t.querySelectorAll("[aria-live]"))),R=u.concat(y);go(t,po(R),new Set(R)).forEach(m=>{const S=m.getAttribute(i),T=S!==null&&S!=="false",E=(b.get(m)||0)+1;b.set(m,E),d.push(m),E===1&&T&&x.add(m),T||m.setAttribute(i,i==="inert"?"":"true")})}return o&&g.forEach(b=>{const x=(Qt.get(b)||0)+1;Qt.set(b,x),h.push(b),x===1&&b.setAttribute(fo,"")}),lr+=1,()=>{c&&d.forEach(b=>{const y=(c.get(b)||0)-1;c.set(b,y),y||(!p?.has(b)&&i&&b.removeAttribute(i),p?.delete(b))}),o&&h.forEach(b=>{const x=(Qt.get(b)||0)-1;Qt.set(b,x),x||b.removeAttribute(fo)}),lr-=1,lr||(cr.inert=new WeakMap,cr["aria-hidden"]=new WeakMap,Cr.inert=new WeakSet,Cr["aria-hidden"]=new WeakSet,Qt=new WeakMap)}}function ho(e,t={}){const{ariaHidden:n=!1,inert:r=!1,mark:o=!0,markerIgnoreElements:s=[]}=t,i=Ee(e[0]).body;return dl(e,i,n,r,{mark:o,markerIgnoreElements:s})}const pl={style:{transition:"none"}},Ss="data-base-ui-click-trigger",gl={fallbackAxisSide:"none"},hl={clipPath:"inset(50%)",position:"fixed",top:0,left:0},Cs=l.createContext(null),Es=()=>l.useContext(Cs),ml=kn("portal");function yl(e={}){const{ref:t,container:n,componentProps:r=Fe,elementProps:o}=e,s=Wn(),c=Es()?.portalNode,[p,u]=l.useState(null),[a,f]=l.useState(null),g=oe(x=>{x!==null&&f(x)}),d=l.useRef(null);K(()=>{if(n===null){d.current&&(d.current=null,f(null),u(null));return}if(s==null)return;const x=(n&&(Tr(n)?n:n.current))??c??document.body;if(x==null){d.current&&(d.current=null,f(null),u(null));return}d.current!==x&&(d.current=x,f(null),u(x))},[n,c,s]);const h=Xe("div",r,{ref:[t,g],props:[{id:s,[ml]:""},o]});return{portalNode:a,portalSubtree:p&&h?Ln.createPortal(h,p):null}}const vs=l.forwardRef(function(t,n){const{render:r,className:o,style:s,children:i,container:c,renderGuards:p,...u}=t,{portalNode:a,portalSubtree:f}=yl({container:c,ref:n,componentProps:t,elementProps:u}),g=l.useRef(null),d=l.useRef(null),h=l.useRef(null),b=l.useRef(null),[x,y]=l.useState(null),R=l.useRef(!1),w=x?.modal,m=x?.open,S=typeof p=="boolean"?p:!!x&&!x.modal&&x.open&&!!a;l.useEffect(()=>{if(!a||w)return;function E(k){a&&k.relatedTarget&&on(k)&&(k.type==="focusin"?R.current&&(uo(a),R.current=!1):(Bc(a),R.current=!0))}return _t(Ce(a,"focusin",E,!0),Ce(a,"focusout",E,!0))},[a,w]),l.useEffect(()=>{!a||m!==!1||(uo(a),R.current=!1)},[m,a]);const T=l.useMemo(()=>({beforeOutsideRef:g,afterOutsideRef:d,beforeInsideRef:h,afterInsideRef:b,portalNode:a,setFocusManagerState:y}),[a]);return M.jsxs(l.Fragment,{children:[f,M.jsxs(Cs.Provider,{value:T,children:[S&&a&&M.jsx(Mn,{"data-type":"outside",ref:g,onFocus:E=>{if(on(E,a))h.current?.focus();else{const k=x?x.domReference:null;gs(k)?.focus()}}}),S&&a&&M.jsx("span",{"aria-owns":a.id,style:hl}),a&&Ln.createPortal(i,a),S&&a&&M.jsx(Mn,{"data-type":"outside",ref:d,onFocus:E=>{if(on(E,a))b.current?.focus();else{const k=x?x.domReference:null;ps(k)?.focus(),x?.closeOnFocusOut&&x?.onOpenChange(!1,Le(_n,E.nativeEvent))}}})]})]})});function bl(){const e=new Map;return{emit(t,n){e.get(t)?.forEach(r=>r(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}const xl=l.createContext(null),wl=l.createContext(null),$r=()=>l.useContext(xl)?.id||null,Gn=e=>{const t=l.useContext(wl);return e??t};function Rl(e,t){const n=ke(pt(e));return e instanceof n.KeyboardEvent?"keyboard":e instanceof n.FocusEvent?t||"keyboard":"pointerType"in e?e.pointerType||"keyboard":"touches"in e?"touch":e instanceof n.MouseEvent?t||(e.detail===0?"keyboard":"mouse"):""}const mo=20;let vt=[];function Ur(){vt=vt.filter(e=>e.deref()?.isConnected)}function Sl(e){Ur(),e&&We(e)!=="body"&&(vt.push(new WeakRef(e)),vt.length>mo&&(vt=vt.slice(-mo)))}function ur(){return Ur(),vt[vt.length-1]?.deref()}function Cl(e){return e?Wr(e)?e:Kn(e)[0]||e:null}function yo(e,t){if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!t.current.includes("floating")&&!e.getAttribute("role")?.includes("dialog"))return;const r=fs(e).filter(s=>{const i=s.getAttribute("data-tabindex")||"";return Wr(s)||s.hasAttribute("data-tabindex")&&!i.startsWith("-")}),o=e.getAttribute("tabindex");t.current.includes("floating")||r.length===0?o!=="0"&&e.setAttribute("tabindex","0"):(o!=="-1"||e.hasAttribute("data-tabindex")&&e.getAttribute("data-tabindex")!=="-1")&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function Ts(e){const{context:t,children:n,disabled:r=!1,initialFocus:o=!0,returnFocus:s=!0,restoreFocus:i=!1,modal:c=!0,closeOnFocusOut:p=!0,openInteractionType:u="",nextFocusableElement:a,previousFocusableElement:f,beforeContentFocusGuardRef:g,externalTree:d,getInsideElements:h}=e,b="rootStore"in t?t.rootStore:t,x=b.useState("open"),y=b.useState("domReferenceElement"),R=b.useState("floatingElement"),{events:w,dataRef:m}=b.context,S=oe(()=>m.current.floatingContext?.nodeId),T=o===!1,E=xr(y)&&T,k=l.useRef(["content"]),D=Ge(o),P=Ge(s),H=Ge(u),I=Gn(d),O=Es(),B=l.useRef(!1),_=l.useRef(!1),J=l.useRef(!1),A=l.useRef(null),F=l.useRef(""),ie=l.useRef(""),j=l.useRef(null),le=l.useRef(null),be=Ut(j,g,O?.beforeInsideRef),v=Ut(le,O?.afterInsideRef),V=wt(),G=wt(),he=zt(),pe=O!=null,z=On(R),ae=oe((q=z)=>q?Kn(q):[]),ve=oe(()=>h?.().filter(q=>q!=null)??[]);l.useEffect(()=>{if(r||!c)return;function q(te){te.key==="Tab"&&ye(z,rt(Ee(z)))&&ae().length===0&&!E&&et(te)}const X=Ee(z);return Ce(X,"keydown",q)},[r,z,c,E,ae]),l.useEffect(()=>{if(r||!x)return;const q=Ee(z);function X(){J.current=!1}function te(ee){const $=pt(ee),Q=ve(),Y=ye(R,$)||ye(y,$)||ye(O?.portalNode,$)||Q.some(fe=>fe===$||ye(fe,$));J.current=!Y,ie.current=ee.pointerType||"keyboard",$?.closest(`[${Ss}]`)&&(_.current=!0)}function ce(){ie.current="keyboard"}return _t(Ce(q,"pointerdown",te,!0),Ce(q,"pointerup",X,!0),Ce(q,"pointercancel",X,!0),Ce(q,"keydown",ce,!0))},[r,R,y,z,x,O,ve]),l.useEffect(()=>{if(r||!p)return;const q=Ee(z);function X(){_.current=!0,G.start(0,()=>{_.current=!1})}function te(Q){const Y=pt(Q);Wr(Y)&&(A.current=Y)}function ce(Q){const Y=Q.relatedTarget,fe=Q.currentTarget,de=pt(Q);queueMicrotask(()=>{const ue=S(),re=b.context.triggerElements,W=ve(),C=Y?.hasAttribute(kn("focus-guard"))&&[j.current,le.current,O?.beforeInsideRef.current,O?.afterInsideRef.current,O?.beforeOutsideRef.current,O?.afterOutsideRef.current,yt(f),yt(a)].includes(Y),N=!(ye(y,Y)||ye(R,Y)||ye(Y,R)||ye(O?.portalNode,Y)||W.some(L=>L===Y||ye(L,Y))||Y!=null&&re.hasElement(Y)||re.hasMatchingElement(L=>ye(L,Y))||C||I&&(un(I.nodesRef.current,ue).find(L=>ye(L.context?.elements.floating,Y)||ye(L.context?.elements.domReference,Y))||so(I.nodesRef.current,ue).find(L=>[L.context?.elements.floating,On(L.context?.elements.floating)].includes(Y)||L.context?.elements.domReference===Y)));if(fe===y&&z&&yo(z,k),i&&fe!==y&&!zn(de)&&rt(q)===q.body){if(Pe(z)&&(z.focus(),i==="popup")){he.request(()=>{z.focus()});return}const L=ae(),Z=A.current,xe=(Z&&L.includes(Z)?Z:null)||L[L.length-1]||z;Pe(xe)&&xe.focus()}if(m.current.insideReactTree){m.current.insideReactTree=!1;return}(E||!c)&&Y&&N&&!_.current&&(E||Y!==ur())&&(B.current=!0,b.setOpen(!1,Le(_n,Q)))})}function ee(){J.current||(m.current.insideReactTree=!0,V.start(0,()=>{m.current.insideReactTree=!1}))}const $=Pe(y)?y:null;if(!(!R&&!$))return _t($&&Ce($,"focusout",ce),$&&Ce($,"pointerdown",X),R&&Ce(R,"focusin",te),R&&Ce(R,"focusout",ce),R&&O&&Ce(R,"focusout",ee,!0))},[r,y,R,z,c,I,O,b,p,i,ae,E,S,k,m,V,G,he,a,f,ve]),l.useEffect(()=>{if(r||!R||!x)return;const q=Array.from(O?.portalNode?.querySelectorAll(`[${kn("portal")}]`)||[]),te=(I?so(I.nodesRef.current,S()):[]).find(fe=>xr(fe.context?.elements.domReference||null))?.context?.elements.domReference,ee=[...[R,...q,j.current,le.current,O?.beforeOutsideRef.current,O?.afterOutsideRef.current,...ve()],te,yt(f),yt(a),E?y:null].filter(fe=>fe!=null),$=ho(ee,{ariaHidden:c||E,mark:!1}),Q=[R,...q].filter(fe=>fe!=null),Y=ho(Q);return()=>{Y(),$()}},[x,r,y,R,c,O,E,I,S,a,f,ve]),K(()=>{if(!x||r||!Pe(z))return;const q=Ee(z),X=rt(q);queueMicrotask(()=>{const te=D.current,ce=typeof te=="function"?te(H.current||""):te;if(ce===void 0||ce===!1||ye(z,X))return;let $=null;const Q=()=>($==null&&($=ae(z)),$[0]||z);let Y;ce===!0||ce===null?Y=Q():Y=yt(ce),Y=Y||Q();const fe=ye(z,rt(q));Sn(Y,{preventScroll:Y===z,shouldFocus(){if(fe)return!0;const de=rt(q);return!(de!==Y&&ye(z,de))}})})},[r,x,z,ae,D,H]),K(()=>{if(r||!z)return;const q=Ee(z),X=rt(q);Sl(X);function te(ee){if(ee.open||(F.current=Rl(ee.nativeEvent,ie.current)),ee.reason===Oi&&ee.nativeEvent.type==="mouseleave"&&(B.current=!0),ee.reason===Ir)if(ee.nested)B.current=!1;else if(jr(ee.nativeEvent)||rs(ee.nativeEvent))B.current=!1;else{let $=!1;Ee(z).createElement("div").focus({get preventScroll(){return $=!0,!1}}),$?B.current=!1:B.current=!0}}w.on("openchange",te);function ce(){const ee=P.current;let $=typeof ee=="function"?ee(F.current):ee;if($===void 0||$===!1)return null;if($===null&&($=!0),typeof $=="boolean")return y?.isConnected?y:ur()||null;const Q=y?.isConnected?y:ur();return yt($)||Q||null}return()=>{w.off("openchange",te);const ee=rt(q),$=ve(),Q=ye(R,ee)||$.some(de=>de===ee||ye(de,ee))||I&&un(I.nodesRef.current,S(),!1).some(de=>ye(de.context?.elements.floating,ee)),Y=P.current,fe=ce();queueMicrotask(()=>{const de=Cl(fe),ue=typeof Y!="boolean";Y&&!B.current&&Pe(de)&&(!(!ue&&de!==ee&&ee!==q.body)||Q)&&de.focus({preventScroll:!0}),B.current=!1})}},[r,R,z,P,w,I,y,S,ve]),K(()=>{if(!Fr||x||!R)return;const q=rt(Ee(R));!Pe(q)||!Vr(q)||ye(R,q)&&q.blur()},[x,R]),K(()=>{if(!(r||!O))return O.setFocusManagerState({modal:c,closeOnFocusOut:p,open:x,onOpenChange:b.setOpen,domReference:y}),()=>{O.setFocusManagerState(null)}},[r,O,c,x,b,p,y]),K(()=>{if(!(r||!z))return yo(z,k),()=>{queueMicrotask(Ur)}},[r,z,k]);const Ve=!r&&(c?!E:!0)&&(pe||c);return M.jsxs(l.Fragment,{children:[Ve&&M.jsx(Mn,{"data-type":"inside",ref:be,onFocus:q=>{if(c){const X=ae();Sn(X[X.length-1])}else O?.portalNode&&(B.current=!1,on(q,O.portalNode)?ps(y)?.focus():yt(f??O.beforeOutsideRef)?.focus())}}),n,Ve&&M.jsx(Mn,{"data-type":"inside",ref:v,onFocus:q=>{c?Sn(ae()[0]):O?.portalNode&&(p&&(B.current=!0),on(q,O.portalNode)?gs(y)?.focus():yt(a??O.afterOutsideRef)?.focus())}})]})}function Os(e,t={}){const{enabled:n=!0,event:r="click",toggle:o=!0,ignoreMouse:s=!1,stickIfOpen:i=!0,touchOpenDelay:c=0,reason:p=Wo}=t,u="rootStore"in e?e.rootStore:e,a=u.context.dataRef,f=l.useRef(void 0),g=zt(),d=wt(),h=l.useMemo(()=>{function b(y,R,w,m){const S=Le(p,R,w);y&&m==="touch"&&c>0?d.start(c,()=>{u.setOpen(!0,S)}):u.setOpen(y,S)}function x(y,R,w){const m=a.current.openEvent,S=u.select("domReferenceElement")!==R;return y&&S||!y||!o?!0:m&&i?!w(m.type):!1}return{onPointerDown(y){f.current=y.pointerType},onMouseDown(y){const R=f.current,w=y.nativeEvent,m=u.select("open");if(y.button!==0||r==="click"||io(R)&&s)return;const S=x(m,y.currentTarget,k=>k==="click"||k==="mousedown"),T=pt(w);if(Vr(T)){b(S,w,T,R);return}const E=y.currentTarget;g.request(()=>{b(S,w,E,R)})},onClick(y){if(r==="mousedown-only")return;const R=f.current;if(r==="mousedown"&&R){f.current=void 0;return}if(io(R)&&s)return;const w=u.select("open"),m=x(w,y.currentTarget,S=>S==="click"||S==="mousedown"||S==="keydown"||S==="keyup");b(m,y.nativeEvent,y.currentTarget,R)},onKeyDown(){f.current=void 0}}},[a,r,s,p,u,i,o,g,d,c]);return l.useMemo(()=>n?{reference:h}:Fe,[n,h])}const El={intentional:"onClick",sloppy:"onPointerDown"};function vl(){return!1}function Tl(e){return{escapeKey:typeof e=="boolean"?e:e?.escapeKey??!1,outsidePress:typeof e=="boolean"?e:e?.outsidePress??!0}}function Ps(e,t={}){const{enabled:n=!0,escapeKey:r=!0,outsidePress:o=!0,outsidePressEvent:s="sloppy",referencePress:i=vl,referencePressEvent:c="sloppy",bubbles:p,externalTree:u}=t,a="rootStore"in e?e.rootStore:e,f=a.useState("open"),g=a.useState("floatingElement"),{dataRef:d}=a.context,h=Gn(u),b=oe(typeof o=="function"?o:()=>!1),x=typeof o=="function"?b:o,y=x!==!1,R=oe(()=>s),{escapeKey:w,outsidePress:m}=Tl(p),S=l.useRef(!1),T=l.useRef(!1),E=l.useRef(!1),k=l.useRef(!1),D=l.useRef(""),P=l.useRef(null),H=wt(),I=wt(),O=oe(()=>{I.clear(),d.current.insideReactTree=!1}),B=oe(v=>{const V=d.current.floatingContext?.nodeId;return(h?un(h.nodesRef.current,V):[]).some(he=>he.context?.open&&!he.context.dataRef.current[v])}),_=oe(v=>or(v,a.select("floatingElement"))||or(v,a.select("domReferenceElement"))),J=oe(v=>{i()&&a.setOpen(!1,Le(Wo,v.nativeEvent))}),A=oe(v=>{if(!f||!n||!r||v.key!=="Escape"||k.current||!w&&B("__escapeKeyBubbles"))return;const V=bc(v)?v.nativeEvent:v,G=Le(Ii,V);a.setOpen(!1,G),G.isCanceled||v.preventDefault(),!w&&!G.isPropagationAllowed&&v.stopPropagation()}),F=oe(()=>{d.current.insideReactTree=!0,I.start(0,O)}),ie=oe(v=>{if(!f||!n||v.button!==0)return;const V=pt(v.nativeEvent);ye(a.select("floatingElement"),V)&&(S.current||(S.current=!0,T.current=!1))}),j=oe(v=>{!f||!n||(v.defaultPrevented||v.nativeEvent.defaultPrevented)&&S.current&&(T.current=!0)});l.useEffect(()=>{if(!f||!n)return;d.current.__escapeKeyBubbles=w,d.current.__outsidePressBubbles=m;const v=new Vt,V=new Vt;function G(){v.clear(),k.current=!0}function he(){v.start(Bn()?5:0,()=>{k.current=!1})}function pe(){E.current=!0,V.start(0,()=>{E.current=!1})}function z(){S.current=!1,T.current=!1}function ae(){const C=D.current,N=C==="pen"||!C?"mouse":C,L=R(),Z=typeof L=="function"?L():L;return typeof Z=="string"?Z:Z[N]}function ve(C){const N=ae();return N==="intentional"&&C.type!=="click"||N==="sloppy"&&C.type==="click"}function Ve(C){const N=d.current.floatingContext?.nodeId,L=h&&un(h.nodesRef.current,N).some(Z=>or(C,Z.context?.elements.floating));return _(C)||L}function q(C){if(ve(C)){C.type!=="click"&&!_(C)&&(V.clear(),E.current=!1),O();return}if(d.current.insideReactTree){O();return}const N=pt(C),L=`[${kn("inert")}]`,Z=Ae(N)?N.getRootNode():null,xe=Array.from((Yt(Z)?Z:Ee(a.select("floatingElement"))).querySelectorAll(L)),je=a.context.triggerElements;if(N&&(je.hasElement(N)||je.hasMatchingElement(we=>ye(we,N))))return;let De=Ae(N)?N:null;for(;De&&!xt(De);){const we=Rt(De);if(xt(we)||!Ae(we))break;De=we}if(!(xe.length&&Ae(N)&&!yc(N)&&!ye(N,a.select("floatingElement"))&&xe.every(we=>!ye(De,we)))){if(Pe(N)&&!("touches"in C)){const we=xt(N),Se=qe(N),Te=/auto|scroll/,Me=we||Te.test(Se.overflowX),Ze=we||Te.test(Se.overflowY),ut=Me&&N.clientWidth>0&&N.scrollWidth>N.clientWidth,He=Ze&&N.clientHeight>0&&N.scrollHeight>N.clientHeight,me=Se.direction==="rtl",Ie=He&&(me?C.offsetX<=N.offsetWidth-N.clientWidth:C.offsetX>N.clientWidth),Be=ut&&C.offsetY>N.clientHeight;if(Ie||Be)return}if(!Ve(C)){if(ae()==="intentional"&&E.current){V.clear(),E.current=!1;return}typeof x=="function"&&!x(C)||B("__outsidePressBubbles")||(a.setOpen(!1,Le(Ir,C)),O())}}}function X(C){ae()!=="sloppy"||C.pointerType==="touch"||!a.select("open")||!n||_(C)||q(C)}function te(C){if(ae()!=="sloppy"||!a.select("open")||!n||_(C))return;const N=C.touches[0];N&&(P.current={startTime:Date.now(),startX:N.clientX,startY:N.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},H.start(1e3,()=>{P.current&&(P.current.dismissOnTouchEnd=!1,P.current.dismissOnMouseDown=!1)}))}function ce(C,N){const L=pt(C);if(!L)return;const Z=Ce(L,C.type,()=>{N(C),Z()})}function ee(C){D.current="touch",ce(C,te)}function $(C){H.clear(),C.type==="pointerdown"&&(D.current=C.pointerType),!(C.type==="mousedown"&&P.current&&!P.current.dismissOnMouseDown)&&ce(C,N=>{N.type==="pointerdown"?X(N):q(N)})}function Q(C){if(!S.current)return;const N=T.current;if(z(),ae()==="intentional"){if(C.type==="pointercancel"){N&&pe();return}if(!Ve(C)){if(N){pe();return}typeof x=="function"&&!x(C)||(V.clear(),E.current=!0,O())}}}function Y(C){if(ae()!=="sloppy"||!P.current||_(C))return;const N=C.touches[0];if(!N)return;const L=Math.abs(N.clientX-P.current.startX),Z=Math.abs(N.clientY-P.current.startY),xe=Math.sqrt(L*L+Z*Z);xe>5&&(P.current.dismissOnTouchEnd=!0),xe>10&&(q(C),H.clear(),P.current=null)}function fe(C){ce(C,Y)}function de(C){ae()!=="sloppy"||!P.current||_(C)||(P.current.dismissOnTouchEnd&&q(C),H.clear(),P.current=null)}function ue(C){ce(C,de)}const re=Ee(g),W=_t(r&&_t(Ce(re,"keydown",A),Ce(re,"compositionstart",G),Ce(re,"compositionend",he)),y&&_t(Ce(re,"click",$,!0),Ce(re,"pointerdown",$,!0),Ce(re,"pointerup",Q,!0),Ce(re,"pointercancel",Q,!0),Ce(re,"mousedown",$,!0),Ce(re,"mouseup",Q,!0),Ce(re,"touchstart",ee,!0),Ce(re,"touchmove",fe,!0),Ce(re,"touchend",ue,!0)));return()=>{W(),v.clear(),V.clear(),z(),E.current=!1}},[d,g,r,y,x,f,n,w,m,A,O,R,B,_,h,a,H]),l.useEffect(O,[x,O]);const le=l.useMemo(()=>({onKeyDown:A,[El[c]]:J,...c!=="intentional"&&{onClick:J}}),[A,J,c]),be=l.useMemo(()=>({onKeyDown:A,onPointerDown:j,onMouseDown:j,onClickCapture:F,onMouseDownCapture(v){F(),ie(v)},onPointerDownCapture(v){F(),ie(v)},onMouseUpCapture:F,onTouchEndCapture:F,onTouchMoveCapture:F}),[A,F,ie,j]);return l.useMemo(()=>n?{reference:le,floating:be,trigger:le}:{},[n,le,be])}function bo(e,t,n){let{reference:r,floating:o}=e;const s=ot(t),i=_r(t),c=Hr(i),p=nt(t),u=s==="y",a=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,g=r[c]/2-o[c]/2;let d;switch(p){case"top":d={x:a,y:r.y-o.height};break;case"bottom":d={x:a,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-o.width,y:f};break;default:d={x:r.x,y:r.y}}switch(It(t)){case"start":d[i]-=g*(n&&u?-1:1);break;case"end":d[i]+=g*(n&&u?-1:1);break}return d}async function Ol(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:c,strategy:p}=e,{boundary:u="clippingAncestors",rootBoundary:a="viewport",elementContext:f="floating",altBoundary:g=!1,padding:d=0}=St(t,e),h=os(d),x=c[g?f==="floating"?"reference":"floating":f],y=fn(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(x)))==null||n?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:a,strategy:p})),R=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),m=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},S=fn(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:R,offsetParent:w,strategy:p}):R);return{top:(y.top-S.top+h.top)/m.y,bottom:(S.bottom-y.bottom+h.bottom)/m.y,left:(y.left-S.left+h.left)/m.x,right:(S.right-y.right+h.right)/m.x}}const Pl=50,Il=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,c=i.detectOverflow?i:{...i,detectOverflow:Ol},p=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:a,y:f}=bo(u,r,p),g=r,d=0;const h={};for(let b=0;b<s.length;b++){const x=s[b];if(!x)continue;const{name:y,fn:R}=x,{x:w,y:m,data:S,reset:T}=await R({x:a,y:f,initialPlacement:r,placement:g,strategy:o,middlewareData:h,rects:u,platform:c,elements:{reference:e,floating:t}});a=w??a,f=m??f,h[y]={...h[y],...S},T&&d<Pl&&(d++,typeof T=="object"&&(T.placement&&(g=T.placement),T.rects&&(u=T.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:a,y:f}=bo(u,g,p)),b=-1)}return{x:a,y:f,placement:g,strategy:o,middlewareData:h}},Al=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:c,platform:p,elements:u}=t,{mainAxis:a=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:b=!0,...x}=St(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=nt(o),R=ot(c),w=nt(c)===c,m=await(p.isRTL==null?void 0:p.isRTL(u.floating)),S=g||(w||!b?[In(c)]:Cc(c)),T=h!=="none";!g&&T&&S.push(...Oc(c,b,h,m));const E=[c,...S],k=await p.detectOverflow(t,x),D=[];let P=((r=s.flip)==null?void 0:r.overflows)||[];if(a&&D.push(k[y]),f){const B=Sc(o,i,m);D.push(k[B[0]],k[B[1]])}if(P=[...P,{placement:o,overflows:D}],!D.every(B=>B<=0)){var H,I;const B=(((H=s.flip)==null?void 0:H.index)||0)+1,_=E[B];if(_&&(!(f==="alignment"?R!==ot(_):!1)||P.every(F=>ot(F.placement)===R?F.overflows[0]>0:!0)))return{data:{index:B,overflows:P},reset:{placement:_}};let J=(I=P.filter(A=>A.overflows[0]<=0).sort((A,F)=>A.overflows[1]-F.overflows[1])[0])==null?void 0:I.placement;if(!J)switch(d){case"bestFit":{var O;const A=(O=P.filter(F=>{if(T){const ie=ot(F.placement);return ie===R||ie==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(ie=>ie>0).reduce((ie,j)=>ie+j,0)]).sort((F,ie)=>F[1]-ie[1])[0])==null?void 0:O[0];A&&(J=A);break}case"initialPlacement":J=c;break}if(o!==J)return{reset:{placement:J}}}return{}}}};function xo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function wo(e){return wc.some(t=>e[t]>=0)}const Ml=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...s}=St(e,t);switch(o){case"referenceHidden":{const i=await r.detectOverflow(t,{...s,elementContext:"reference"}),c=xo(i,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:wo(c)}}}case"escaped":{const i=await r.detectOverflow(t,{...s,altBoundary:!0}),c=xo(i,n.floating);return{data:{escapedOffsets:c,escaped:wo(c)}}}default:return{}}}}},Is=new Set(["left","top"]);async function kl(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=nt(n),c=It(n),p=ot(n)==="y",u=Is.has(i)?-1:1,a=s&&p?-1:1,f=St(t,e);let{mainAxis:g,crossAxis:d,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof h=="number"&&(d=c==="end"?h*-1:h),p?{x:d*a,y:g*u}:{x:g*u,y:d*a}}const Dl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:c}=t,p=await kl(t,e);return i===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:o+p.x,y:s+p.y,data:{...p,placement:i}}}}},Nl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:s}=t,{mainAxis:i=!0,crossAxis:c=!1,limiter:p={fn:y=>{let{x:R,y:w}=y;return{x:R,y:w}}},...u}=St(e,t),a={x:n,y:r},f=await s.detectOverflow(t,u),g=ot(nt(o)),d=Br(g);let h=a[d],b=a[g];if(i){const y=d==="y"?"top":"left",R=d==="y"?"bottom":"right",w=h+f[y],m=h-f[R];h=wr(w,h,m)}if(c){const y=g==="y"?"top":"left",R=g==="y"?"bottom":"right",w=b+f[y],m=b-f[R];b=wr(w,b,m)}const x=p.fn({...t,[d]:h,[g]:b});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[d]:i,[g]:c}}}}}},Fl=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:c=0,mainAxis:p=!0,crossAxis:u=!0}=St(e,t),a={x:n,y:r},f=ot(o),g=Br(f);let d=a[g],h=a[f];const b=St(c,t),x=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(p){const w=g==="y"?"height":"width",m=s.reference[g]-s.floating[w]+x.mainAxis,S=s.reference[g]+s.reference[w]-x.mainAxis;d<m?d=m:d>S&&(d=S)}if(u){var y,R;const w=g==="y"?"width":"height",m=Is.has(nt(o)),S=s.reference[f]-s.floating[w]+(m&&((y=i.offset)==null?void 0:y[f])||0)+(m?0:x.crossAxis),T=s.reference[f]+s.reference[w]+(m?0:((R=i.offset)==null?void 0:R[f])||0)-(m?x.crossAxis:0);h<S?h=S:h>T&&(h=T)}return{[g]:d,[f]:h}}}},Ll=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:c}=t,{apply:p=()=>{},...u}=St(e,t),a=await i.detectOverflow(t,u),f=nt(o),g=It(o),d=ot(o)==="y",{width:h,height:b}=s.floating;let x,y;f==="top"||f==="bottom"?(x=f,y=g===(await(i.isRTL==null?void 0:i.isRTL(c.floating))?"start":"end")?"left":"right"):(y=f,x=g==="end"?"top":"bottom");const R=b-a.top-a.bottom,w=h-a.left-a.right,m=Kt(b-a[x],R),S=Kt(h-a[y],w),T=!t.middlewareData.shift;let E=m,k=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=R),T&&!g){const P=tt(a.left,0),H=tt(a.right,0),I=tt(a.top,0),O=tt(a.bottom,0);d?k=h-2*(P!==0||H!==0?P+H:tt(a.left,a.right)):E=b-2*(I!==0||O!==0?I+O:tt(a.top,a.bottom))}await p({...t,availableWidth:k,availableHeight:E});const D=await i.getDimensions(c.floating);return h!==D.width||b!==D.height?{reset:{rects:!0}}:{}}}};function As(e){const t=qe(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Pe(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,c=Pn(n)!==s||Pn(r)!==i;return c&&(n=s,r=i),{width:n,height:r,$:c}}function Yr(e){return Ae(e)?e:e.contextElement}function Wt(e){const t=Yr(e);if(!Pe(t))return gt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=As(t);let i=(s?Pn(n.width):n.width)/r,c=(s?Pn(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!c||!Number.isFinite(c))&&(c=1),{x:i,y:c}}const Vl=gt(0);function Ms(e){const t=ke(e);return!Bn()||!t.visualViewport?Vl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function jl(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ke(e)?!1:t}function jt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Yr(e);let i=gt(1);t&&(r?Ae(r)&&(i=Wt(r)):i=Wt(e));const c=jl(s,n,r)?Ms(s):gt(0);let p=(o.left+c.x)/i.x,u=(o.top+c.y)/i.y,a=o.width/i.x,f=o.height/i.y;if(s){const g=ke(s),d=r&&Ae(r)?ke(r):r;let h=g,b=gr(h);for(;b&&r&&d!==h;){const x=Wt(b),y=b.getBoundingClientRect(),R=qe(b),w=y.left+(b.clientLeft+parseFloat(R.paddingLeft))*x.x,m=y.top+(b.clientTop+parseFloat(R.paddingTop))*x.y;p*=x.x,u*=x.y,a*=x.x,f*=x.y,p+=w,u+=m,h=ke(b),b=gr(h)}}return fn({width:a,height:f,x:p,y:u})}function qn(e,t){const n=Hn(e).scrollLeft;return t?t.left+n:jt(ht(e)).left+n}function ks(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-qn(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Bl(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=ht(r),c=t?jn(t.floating):!1;if(r===i||c&&s)return n;let p={scrollLeft:0,scrollTop:0},u=gt(1);const a=gt(0),f=Pe(r);if((f||!f&&!s)&&((We(r)!=="body"||Pt(i))&&(p=Hn(r)),f)){const d=jt(r);u=Wt(r),a.x=d.x+r.clientLeft,a.y=d.y+r.clientTop}const g=i&&!f&&!s?ks(i,p):gt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-p.scrollLeft*u.x+a.x+g.x,y:n.y*u.y-p.scrollTop*u.y+a.y+g.y}}function Hl(e){return Array.from(e.getClientRects())}function _l(e){const t=ht(e),n=Hn(e),r=e.ownerDocument.body,o=tt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=tt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+qn(e);const c=-n.scrollTop;return qe(r).direction==="rtl"&&(i+=tt(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:c}}const Ro=25;function Wl(e,t){const n=ke(e),r=ht(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,c=0,p=0;if(o){s=o.width,i=o.height;const a=Bn();(!a||a&&t==="fixed")&&(c=o.offsetLeft,p=o.offsetTop)}const u=qn(r);if(u<=0){const a=r.ownerDocument,f=a.body,g=getComputedStyle(f),d=a.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,h=Math.abs(r.clientWidth-f.clientWidth-d);h<=Ro&&(s-=h)}else u<=Ro&&(s+=u);return{width:s,height:i,x:c,y:p}}function $l(e,t){const n=jt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Pe(e)?Wt(e):gt(1),i=e.clientWidth*s.x,c=e.clientHeight*s.y,p=o*s.x,u=r*s.y;return{width:i,height:c,x:p,y:u}}function So(e,t,n){let r;if(t==="viewport")r=Wl(e,n);else if(t==="document")r=_l(ht(e));else if(Ae(t))r=$l(t,n);else{const o=Ms(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return fn(r)}function Ds(e,t){const n=Rt(e);return n===t||!Ae(n)||xt(n)?!1:qe(n).position==="fixed"||Ds(n,t)}function Ul(e,t){const n=t.get(e);if(n)return n;let r=ln(e,[],!1).filter(c=>Ae(c)&&We(c)!=="body"),o=null;const s=qe(e).position==="fixed";let i=s?Rt(e):e;for(;Ae(i)&&!xt(i);){const c=qe(i),p=Or(i);!p&&c.position==="fixed"&&(o=null),(s?!p&&!o:!p&&c.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||Pt(i)&&!p&&Ds(e,i))?r=r.filter(a=>a!==i):o=c,i=Rt(i)}return t.set(e,r),r}function Yl(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?jn(t)?[]:Ul(t,this._c):[].concat(n),r],c=So(t,i[0],o);let p=c.top,u=c.right,a=c.bottom,f=c.left;for(let g=1;g<i.length;g++){const d=So(t,i[g],o);p=tt(d.top,p),u=Kt(d.right,u),a=Kt(d.bottom,a),f=tt(d.left,f)}return{width:u-f,height:a-p,x:f,y:p}}function zl(e){const{width:t,height:n}=As(e);return{width:t,height:n}}function Kl(e,t,n){const r=Pe(t),o=ht(t),s=n==="fixed",i=jt(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const p=gt(0);function u(){p.x=qn(o)}if(r||!r&&!s)if((We(t)!=="body"||Pt(o))&&(c=Hn(t)),r){const d=jt(t,!0,s,t);p.x=d.x+t.clientLeft,p.y=d.y+t.clientTop}else o&&u();s&&!r&&o&&u();const a=o&&!r&&!s?ks(o,c):gt(0),f=i.left+c.scrollLeft-p.x-a.x,g=i.top+c.scrollTop-p.y-a.y;return{x:f,y:g,width:i.width,height:i.height}}function fr(e){return qe(e).position==="static"}function Co(e,t){if(!Pe(e)||qe(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ht(e)===n&&(n=n.ownerDocument.body),n}function Ns(e,t){const n=ke(e);if(jn(e))return n;if(!Pe(e)){let o=Rt(e);for(;o&&!xt(o);){if(Ae(o)&&!fr(o))return o;o=Rt(o)}return n}let r=Co(e,t);for(;r&&Ci(r)&&fr(r);)r=Co(r,t);return r&&xt(r)&&fr(r)&&!Or(r)?n:r||Ti(e)||n}const Gl=async function(e){const t=this.getOffsetParent||Ns,n=this.getDimensions,r=await n(e.floating);return{reference:Kl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ql(e){return qe(e).direction==="rtl"}const Fs={convertOffsetParentRelativeRectToViewportRelativeRect:Bl,getDocumentElement:ht,getClippingRect:Yl,getOffsetParent:Ns,getElementRects:Gl,getClientRects:Hl,getDimensions:zl,getScale:Wt,isElement:Ae,isRTL:ql};function Ls(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Xl(e,t){let n=null,r;const o=ht(e);function s(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function i(c,p){c===void 0&&(c=!1),p===void 0&&(p=1),s();const u=e.getBoundingClientRect(),{left:a,top:f,width:g,height:d}=u;if(c||t(),!g||!d)return;const h=Nt(f),b=Nt(o.clientWidth-(a+g)),x=Nt(o.clientHeight-(f+d)),y=Nt(a),w={rootMargin:-h+"px "+-b+"px "+-x+"px "+-y+"px",threshold:tt(0,Kt(1,p))||1};let m=!0;function S(T){const E=T[0].intersectionRatio;if(E!==p){if(!m)return i();E?i(!1,E):r=setTimeout(()=>{i(!1,1e-7)},1e3)}E===1&&!Ls(u,e.getBoundingClientRect())&&i(),m=!1}try{n=new IntersectionObserver(S,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,w)}n.observe(e)}return i(!0),s}function Eo(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:p=!1}=r,u=Yr(e),a=o||s?[...u?ln(u):[],...t?ln(t):[]]:[];a.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const f=u&&c?Xl(u,n):null;let g=-1,d=null;i&&(d=new ResizeObserver(y=>{let[R]=y;R&&R.target===u&&d&&t&&(d.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var w;(w=d)==null||w.observe(t)})),n()}),u&&!p&&d.observe(u),t&&d.observe(t));let h,b=p?jt(e):null;p&&x();function x(){const y=jt(e);b&&!Ls(b,y)&&n(),b=y,h=requestAnimationFrame(x)}return n(),()=>{var y;a.forEach(R=>{o&&R.removeEventListener("scroll",n),s&&R.removeEventListener("resize",n)}),f?.(),(y=d)==null||y.disconnect(),d=null,p&&cancelAnimationFrame(h)}}const Zl=Dl,Jl=Nl,Ql=Al,ea=Ll,ta=Ml,na=Fl,ra=(e,t,n)=>{const r=new Map,o={platform:Fs,...n},s={...o.platform,_c:r};return Il(e,t,{...o,platform:s})};var oa=typeof document<"u",sa=function(){},Cn=oa?l.useLayoutEffect:sa;function Dn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Dn(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Dn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Vs(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vo(e,t){const n=Vs(e);return Math.round(t*n)/n}function dr(e){const t=l.useRef(e);return Cn(()=>{t.current=e}),t}function ia(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:c=!0,whileElementsMounted:p,open:u}=e,[a,f]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,d]=l.useState(r);Dn(g,r)||d(r);const[h,b]=l.useState(null),[x,y]=l.useState(null),R=l.useCallback(F=>{F!==T.current&&(T.current=F,b(F))},[]),w=l.useCallback(F=>{F!==E.current&&(E.current=F,y(F))},[]),m=s||h,S=i||x,T=l.useRef(null),E=l.useRef(null),k=l.useRef(a),D=p!=null,P=dr(p),H=dr(o),I=dr(u),O=l.useCallback(()=>{if(!T.current||!E.current)return;const F={placement:t,strategy:n,middleware:g};H.current&&(F.platform=H.current),ra(T.current,E.current,F).then(ie=>{const j={...ie,isPositioned:I.current!==!1};B.current&&!Dn(k.current,j)&&(k.current=j,Ln.flushSync(()=>{f(j)}))})},[g,t,n,H,I]);Cn(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,f(F=>({...F,isPositioned:!1})))},[u]);const B=l.useRef(!1);Cn(()=>(B.current=!0,()=>{B.current=!1}),[]),Cn(()=>{if(m&&(T.current=m),S&&(E.current=S),m&&S){if(P.current)return P.current(m,S,O);O()}},[m,S,O,P,D]);const _=l.useMemo(()=>({reference:T,floating:E,setReference:R,setFloating:w}),[R,w]),J=l.useMemo(()=>({reference:m,floating:S}),[m,S]),A=l.useMemo(()=>{const F={position:n,left:0,top:0};if(!J.floating)return F;const ie=vo(J.floating,a.x),j=vo(J.floating,a.y);return c?{...F,transform:"translate("+ie+"px, "+j+"px)",...Vs(J.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ie,top:j}},[n,c,J.floating,a.x,a.y]);return l.useMemo(()=>({...a,update:O,refs:_,elements:J,floatingStyles:A}),[a,O,_,J,A])}const ca=(e,t)=>{const n=Zl(e);return{name:n.name,fn:n.fn,options:[e,t]}},la=(e,t)=>{const n=Jl(e);return{name:n.name,fn:n.fn,options:[e,t]}},aa=(e,t)=>({fn:na(e).fn,options:[e,t]}),ua=(e,t)=>{const n=Ql(e);return{name:n.name,fn:n.fn,options:[e,t]}},fa=(e,t)=>{const n=ea(e);return{name:n.name,fn:n.fn,options:[e,t]}},da=(e,t)=>{const n=ta(e);return{name:n.name,fn:n.fn,options:[e,t]}},pa={open:U(e=>e.open),transitionStatus:U(e=>e.transitionStatus),domReferenceElement:U(e=>e.domReferenceElement),referenceElement:U(e=>e.positionReference??e.referenceElement),floatingElement:U(e=>e.floatingElement),floatingId:U(e=>e.floatingId)};class Xn extends ws{constructor(t){const{syncOnly:n,nested:r,onOpenChange:o,triggerElements:s,...i}=t;super({...i,positionReference:i.referenceElement,domReferenceElement:i.referenceElement},{onOpenChange:o,dataRef:{current:{}},events:bl(),nested:r,triggerElements:s},pa),this.syncOnly=n}syncOpenEvent=(t,n)=>{(!t||!this.state.open||n!=null&&xc(n))&&(this.context.dataRef.current.openEvent=t?n:void 0)};dispatchOpenChange=(t,n)=>{this.syncOpenEvent(t,n.event);const r={open:t,reason:n.reason,nativeEvent:n.event,nested:this.context.nested,triggerElement:n.trigger};this.context.events.emit("openchange",r)};setOpen=(t,n)=>{if(this.syncOnly){this.context.onOpenChange?.(t,n);return}this.dispatchOpenChange(t,n),this.context.onOpenChange?.(t,n)}}function ga(e){const{popupStore:t,treatPopupAsFloatingElement:n=!1,floatingRootContext:r,floatingId:o,nested:s,onOpenChange:i}=e,c=t.useState("open"),p=t.useState("activeTriggerElement"),u=t.useState(n?"popupElement":"positionerElement"),a=t.context.triggerElements,f=i,g=l.useRef(null);r===void 0&&g.current===null&&(g.current=new Xn({open:c,transitionStatus:void 0,referenceElement:p,floatingElement:u,triggerElements:a,onOpenChange:f,floatingId:o,syncOnly:!0,nested:s}));const d=r??g.current;return t.useSyncedValue("floatingId",o),K(()=>{const h={open:c,floatingId:o,referenceElement:p,floatingElement:u};Ae(p)&&(h.domReferenceElement=p),d.state.positionReference===d.state.referenceElement&&(h.positionReference=p),d.update(h)},[c,o,p,u,d]),d.context.onOpenChange=f,d.context.nested=s,d}const zr={tabIndex:-1,[br]:""};function ha(e,t,n=!1){const r=Wn(),o=$r()!=null,s=l.useRef(null);e===void 0&&s.current===null&&(s.current=t(r,o));const i=e??s.current;return ga({popupStore:i,treatPopupAsFloatingElement:n,floatingRootContext:i.state.floatingRootContext,floatingId:r,nested:o,onOpenChange:i.setOpen}),{store:i,internalStore:s.current}}function ma(e,t){const n=l.useRef(null),r=l.useRef(null);return l.useCallback(o=>{if(e===void 0)return;let s=!1;if(n.current!==null){const i=n.current,c=r.current,p=t.context.triggerElements.getById(i);c&&p===c&&(t.context.triggerElements.delete(i),s=!0),n.current=null,r.current=null}if(o!==null&&(n.current=e,r.current=o,t.context.triggerElements.add(e,o),s=!0),s){const i=t.context.triggerElements.size;t.select("open")&&t.state.triggerCount!==i&&t.set("triggerCount",i)}},[t,e])}function ya(e,t,n){const r=n?.id??null;(r||t)&&(e.activeTriggerId=r,e.activeTriggerElement=n??null)}function ba(e,t,n,r){const o=n.useState("isMountedByTrigger",e),s=ma(e,n),i=oe(c=>{if(s(c),!c)return;const p=n.select("open"),u=n.select("activeTriggerId");if(u===e){n.update({activeTriggerElement:c,...p?r:null});return}u==null&&p&&n.update({activeTriggerId:e,activeTriggerElement:c,...r})});return K(()=>{o&&n.update({activeTriggerElement:t.current,...r})},[o,n,t,...Object.values(r)]),{registerTrigger:i,isMountedByThisTrigger:o}}function xa(e){const t=e.useState("open"),n=e.useState("triggerCount");K(()=>{if(!t){e.state.triggerCount!==0&&e.set("triggerCount",0);return}const r=e.context.triggerElements.size,o={};if(e.state.triggerCount!==r&&(o.triggerCount=r),!e.select("activeTriggerId")&&r===1){const s=e.context.triggerElements.entries().next();if(!s.done){const[i,c]=s.value;o.activeTriggerId=i,o.activeTriggerElement=c}}(o.triggerCount!==void 0||o.activeTriggerId!==void 0)&&e.update(o)},[t,e,n])}function wa(e,t,n){const{mounted:r,setMounted:o,transitionStatus:s}=Qo(e);t.useSyncedValues({mounted:r,transitionStatus:s});const i=oe(()=>{o(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),t.context.onOpenChangeComplete?.(!1)}),c=t.useState("preventUnmountingOnClose");return Yn({enabled:r&&!e&&!c,open:e,ref:t.context.popupRef,onComplete(){e||i()}}),{forceUnmount:i,transitionStatus:s}}function Ra(e,t){e.useSyncedValues(t),K(()=>()=>{e.update({activeTriggerProps:Fe,inactiveTriggerProps:Fe,popupProps:Fe})},[e])}function Sa(e,t){K(()=>{!t&&e.state.openMethod!==null&&e.set("openMethod",null)},[t,e]),K(()=>()=>{e.state.openMethod!==null&&e.set("openMethod",null)},[e])}class Kr{constructor(){this.elementsSet=new Set,this.idMap=new Map}add(t,n){const r=this.idMap.get(t);r!==n&&(r!==void 0&&this.elementsSet.delete(r),this.elementsSet.add(n),this.idMap.set(t,n))}delete(t){const n=this.idMap.get(t);n&&(this.elementsSet.delete(n),this.idMap.delete(t))}hasElement(t){return this.elementsSet.has(t)}hasMatchingElement(t){for(const n of this.elementsSet)if(t(n))return!0;return!1}getById(t){return this.idMap.get(t)}entries(){return this.idMap.entries()}elements(){return this.elementsSet.values()}get size(){return this.idMap.size}}function Ca(){return new Xn({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new Kr,floatingId:void 0,syncOnly:!1,nested:!1,onOpenChange:void 0})}function Ea(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:Ca(),floatingId:void 0,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:Fe,inactiveTriggerProps:Fe,popupProps:Fe}}function va(e,t,n=!1){return new Xn({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0})}const sn=U(e=>e.triggerIdProp??e.activeTriggerId),Gr=U(e=>e.openProp??e.open),To=U(e=>(e.popupElement?.id??e.floatingId)||void 0);function js(e,t){return t!==void 0&&Gr(e)&&sn(e)===t}function Ta(e,t){return js(e,t)?!0:t!==void 0&&Gr(e)&&sn(e)==null&&e.triggerCount===1}const Oa={open:Gr,mounted:U(e=>e.mounted),transitionStatus:U(e=>e.transitionStatus),floatingRootContext:U(e=>e.floatingRootContext),triggerCount:U(e=>e.triggerCount),preventUnmountingOnClose:U(e=>e.preventUnmountingOnClose),payload:U(e=>e.payload),activeTriggerId:sn,activeTriggerElement:U(e=>e.mounted?e.activeTriggerElement:null),popupId:To,isTriggerActive:U((e,t)=>t!==void 0&&sn(e)===t),isOpenedByTrigger:U((e,t)=>js(e,t)),isMountedByTrigger:U((e,t)=>t!==void 0&&sn(e)===t&&e.mounted),triggerProps:U((e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps),triggerPopupId:U((e,t)=>Ta(e,t)?To(e):void 0),popupProps:U(e=>e.popupProps),popupElement:U(e=>e.popupElement),positionerElement:U(e=>e.positionerElement)};function Bs(e){const{open:t=!1,onOpenChange:n,elements:r={}}=e,o=Wn(),s=$r()!=null,i=lt(()=>new Xn({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new Kr,floatingId:o,syncOnly:!1,nested:s})).current;return K(()=>{const c={open:t,floatingId:o};r.reference!==void 0&&(c.referenceElement=r.reference,c.domReferenceElement=Ae(r.reference)?r.reference:null),r.floating!==void 0&&(c.floatingElement=r.floating),i.update(c)},[t,o,r.reference,r.floating,i]),i.context.onOpenChange=n,i.context.nested=s,i}function Pa(e={}){const{nodeId:t,externalTree:n}=e,r=Bs(e),o=e.rootContext||r,s=o.useState("referenceElement"),i=o.useState("floatingElement"),c=o.useState("domReferenceElement"),p=o.useState("open"),u=o.useState("floatingId"),[a,f]=l.useState(null),[g,d]=l.useState(void 0),[h,b]=l.useState(void 0),x=l.useRef(null),y=Gn(n),R=l.useMemo(()=>({reference:s,floating:i,domReference:c}),[s,i,c]),w=ia({...e,elements:{...R,...a&&{reference:a}}}),m=Ae(g)?g:null,S=h===void 0?o.state.floatingElement:h;o.useSyncedValue("referenceElement",g??null),o.useSyncedValue("domReferenceElement",g===void 0?c:m),o.useSyncedValue("floatingElement",S);const T=l.useCallback(I=>{const O=Ae(I)?{getBoundingClientRect:()=>I.getBoundingClientRect(),getClientRects:()=>I.getClientRects(),contextElement:I}:I;f(O),w.refs.setReference(O)},[w.refs]),E=l.useCallback(I=>{(Ae(I)||I===null)&&(x.current=I,d(I)),(Ae(w.refs.reference.current)||w.refs.reference.current===null||I!==null&&!Ae(I))&&w.refs.setReference(I)},[w.refs,d]),k=l.useCallback(I=>{b(I),w.refs.setFloating(I)},[w.refs]),D=l.useMemo(()=>({...w.refs,setReference:E,setFloating:k,setPositionReference:T,domReference:x}),[w.refs,E,k,T]),P=l.useMemo(()=>({...w.elements,domReference:c}),[w.elements,c]),H=l.useMemo(()=>({...w,dataRef:o.context.dataRef,open:p,onOpenChange:o.setOpen,events:o.context.events,floatingId:u,refs:D,elements:P,nodeId:t,rootStore:o}),[w,D,P,t,o,p,u]);return K(()=>{c&&(x.current=c)},[c]),K(()=>{o.context.dataRef.current.floatingContext=H;const I=y?.nodesRef.current.find(O=>O.id===t);I&&(I.context=H)}),l.useMemo(()=>({...w,context:H,refs:D,elements:P,rootStore:o}),[w,D,P,H,o])}const Ia="Escape";function Zn(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function yn(e,t){return Zn(t,e===Lr||e===dn,e===Tt||e===Ot)}function pr(e,t,n){return Zn(t,e===dn,n?e===Tt:e===Ot)||e==="Enter"||e===" "||e===""}function Aa(e,t,n){return Zn(t,n?e===Tt:e===Ot,e===dn)}function Ma(e,t,n,r){const o=n?e===Ot:e===Tt,s=e===Lr;return t==="both"||t==="horizontal"&&r&&r>1?e===Ia:Zn(t,o,s)}function ka(e,t){const{listRef:n,activeIndex:r,onNavigate:o=()=>{},enabled:s=!0,selectedIndex:i=null,allowEscape:c=!1,loopFocus:p=!1,nested:u=!1,rtl:a=!1,virtual:f=!1,focusItemOnOpen:g="auto",focusItemOnHover:d=!0,openOnArrowKeyDown:h=!0,disabledIndices:b=void 0,orientation:x="vertical",parentOrientation:y,cols:R=1,id:w,resetOnPointerLeave:m=!0,externalTree:S}=t,T="rootStore"in e?e.rootStore:e,E=T.useState("open"),k=T.useState("floatingElement"),D=T.useState("domReferenceElement"),P=T.context.dataRef,H=On(k),I=xr(D),O=Ge(H),B=$r(),_=Gn(S),J=l.useRef(g),A=l.useRef(i??-1),F=l.useRef(null),ie=l.useRef(!0),j=oe(W=>{o(A.current===-1?null:A.current,W)}),le=l.useRef(j),be=l.useRef(!!k),v=l.useRef(E),V=l.useRef(!1),G=l.useRef(!1),he=l.useRef(null),pe=Ge(b),z=Ge(E),ae=Ge(i),ve=Ge(m),Ve=zt(),q=zt(),X=oe(()=>{function W(Z){f?_?.events.emit("virtualfocus",Z):he.current=Sn(Z,{sync:V.current,preventScroll:!0})}const C=n.current[A.current],N=G.current;C&&W(C),(V.current?Z=>Z():Z=>Ve.request(Z))(()=>{const Z=n.current[A.current]||C;if(!Z)return;C||W(Z),Y&&(N||!ie.current)&&Z.scrollIntoView?.({block:"nearest",inline:"nearest"})})});K(()=>{P.current.orientation=x},[P,x]),K(()=>{s&&(E&&k?(A.current=i??-1,J.current&&i!=null&&(G.current=!0,j())):be.current&&(A.current=-1,le.current()))},[s,E,k,i,j]),K(()=>{if(s){if(!E){V.current=!1;return}if(k)if(r==null){if(V.current=!1,ae.current!=null)return;if(be.current&&(A.current=-1,X()),(!v.current||!be.current)&&J.current&&(F.current!=null||J.current===!0&&F.current==null)){let W=0;const C=()=>{n.current[0]==null?(W<2&&(W?L=>q.request(L):queueMicrotask)(C),W+=1):(A.current=F.current==null||pr(F.current,x,a)||u?sr(n):ao(n),F.current=null,j())};C()}}else An(n.current,r)||(A.current=r,X(),G.current=!1)}},[s,E,k,r,ae,u,n,x,a,j,X,q]),K(()=>{if(!s||k||!_||f||!be.current)return;const W=_.nodesRef.current,C=W.find(Z=>Z.id===B)?.context?.elements.floating,N=rt(Ee(k)),L=W.some(Z=>Z.context&&ye(Z.context.elements.floating,N));C&&!L&&ie.current&&C.focus({preventScroll:!0})},[s,k,_,B,f]),K(()=>{le.current=j,v.current=E,be.current=!!k}),K(()=>{E||(F.current=null,J.current=g)},[E,g]);const te=r!=null,ce=oe(W=>{if(!z.current)return;const C=n.current.indexOf(W.currentTarget);C!==-1&&(A.current!==C||r!==C)&&(A.current=C,j(W))}),ee=oe(()=>y??_?.nodesRef.current.find(W=>W.id===B)?.context?.dataRef?.current.orientation),$=oe(()=>sr(n,pe.current)),Q=oe(W=>{if(ie.current=!1,V.current=!0,W.which===229||!z.current&&W.currentTarget===O.current)return;if(u&&Ma(W.key,x,a,R)){yn(W.key,ee())||et(W),T.setOpen(!1,Le(Qr,W.nativeEvent)),Pe(D)&&(f?_?.events.emit("virtualfocus",D):D.focus());return}const C=A.current,N=sr(n,b),L=ao(n,b);if(I||(W.key==="Home"&&(et(W),A.current=N,j(W)),W.key==="End"&&(et(W),A.current=L,j(W))),R>1){const Z=Array.from({length:n.current.length},()=>({width:1,height:1})),xe=Ac(Z,R),je=xe.findIndex(Se=>Se!=null&&!Ht(n.current,Se,b)),De=xe.reduce((Se,Te,Me)=>Te!=null&&!Ht(n.current,Te,b)?Me:Se,-1),we=xe[Ic(xe.map(Se=>Se!=null?n.current[Se]:null),{event:W,orientation:x,loopFocus:p,rtl:a,cols:R,disabledIndices:kc([...(typeof b!="function"?b:null)||n.current.map((Se,Te)=>Ht(n.current,Te,b)?Te:void 0),void 0],xe),minIndex:je,maxIndex:De,prevIndex:Mc(A.current>L?N:A.current,Z,xe,R,W.key===dn?"bl":W.key===(a?Tt:Ot)?"tr":"tl"),stopEvent:!0})];if(we!=null&&(A.current=we,j(W)),x==="both")return}if(yn(W.key,x)){if(et(W),E&&!f&&rt(W.currentTarget.ownerDocument)===W.currentTarget){A.current=pr(W.key,x,a)?N:L,j(W);return}pr(W.key,x,a)?p?C>=L?c&&C!==n.current.length?A.current=-1:(V.current=!1,A.current=N):A.current=Ue(n.current,{startingIndex:C,disabledIndices:b}):A.current=Math.min(L,Ue(n.current,{startingIndex:C,disabledIndices:b})):p?C<=N?c&&C!==-1?A.current=n.current.length:(V.current=!1,A.current=L):A.current=Ue(n.current,{startingIndex:C,decrement:!0,disabledIndices:b}):A.current=Math.max(N,Ue(n.current,{startingIndex:C,decrement:!0,disabledIndices:b})),An(n.current,A.current)&&(A.current=-1),j(W)}}),Y=l.useMemo(()=>({onFocus(C){V.current=!0,ce(C)},onClick:({currentTarget:C})=>C.focus({preventScroll:!0}),onMouseMove(C){V.current=!0,G.current=!1,d&&ce(C)},onPointerLeave(C){if(!z.current||!ie.current||C.pointerType==="touch")return;V.current=!0;const N=C.relatedTarget;if(!(!d||n.current.includes(N))&&ve.current&&(he.current?.(),he.current=null,A.current=-1,j(C),!f)){const L=O.current,Z=rt(Ee(L));L&&ye(L,Z)&&L.focus({preventScroll:!0})}}}),[ce,z,O,d,n,j,ve,f]),fe=l.useMemo(()=>f&&E&&te&&{"aria-activedescendant":`${w}-${r}`},[f,E,te,w,r]),de=l.useMemo(()=>({"aria-orientation":x==="both"?void 0:x,...I?{}:fe,onKeyDown(W){if(W.key==="Tab"&&W.shiftKey&&E&&!f){const C=pt(W.nativeEvent);if(C&&!ye(O.current,C))return;et(W),T.setOpen(!1,Le(_n,W.nativeEvent)),Pe(D)&&D.focus();return}Q(W)},onPointerMove(){ie.current=!0}}),[fe,Q,O,x,I,T,E,f,D]),ue=l.useMemo(()=>{function W(L){T.setOpen(!0,Le(Qr,L.nativeEvent,L.currentTarget))}function C(L){g==="auto"&&jr(L.nativeEvent)&&(J.current=!f)}function N(L){J.current=g,g==="auto"&&rs(L.nativeEvent)&&(J.current=!0)}return{onKeyDown(L){const Z=T.select("open");ie.current=!1;const xe=L.key.startsWith("Arrow"),je=Aa(L.key,ee(),a),De=yn(L.key,x),we=(u?je:De)||L.key==="Enter"||L.key.trim()==="";if(f&&Z)return Q(L);if(!(!Z&&!h&&xe)){if(we){const Se=yn(L.key,ee());F.current=u&&Se?null:L.key}if(u){je&&(et(L),Z?(A.current=$(),j(L)):W(L));return}De&&(ae.current!=null&&(A.current=ae.current),et(L),!Z&&h?W(L):Q(L),Z&&j(L))}},onFocus(L){T.select("open")&&!f&&(A.current=-1,j(L))},onPointerDown:N,onPointerEnter:N,onMouseDown:C,onClick:C}},[Q,g,$,u,j,T,h,x,ee,a,ae,f]),re=l.useMemo(()=>({...fe,...ue}),[fe,ue]);return l.useMemo(()=>s?{reference:re,floating:de,item:Y,trigger:ue}:{},[s,re,de,ue,Y])}function Da(e,t){const{listRef:n,elementsRef:r,activeIndex:o,onMatch:s,onTyping:i,enabled:c=!0,resetMs:p=750,selectedIndex:u=null}=t,a="rootStore"in e?e.rootStore:e,f=a.useState("open"),g=wt(),d=l.useRef(""),h=l.useRef(u??o??-1),b=l.useRef(null),x=oe(w=>{function m(I){const O=r?.current[I];return!O||zn(O)}function S(I,O,B=0){if(I.length===0)return-1;const _=(B%I.length+I.length)%I.length,J=O.toLocaleLowerCase();for(let A=0;A<I.length;A+=1){const F=(_+A)%I.length;if(!(!I[F]?.toLocaleLowerCase().startsWith(J)||!m(F)))return F}return-1}const T=n.current;if(d.current.length>0&&w.key===" "&&(et(w),i?.(!0)),d.current.length>0&&d.current[0]!==" "&&S(T,d.current)===-1&&w.key!==" "&&i?.(!1),T==null||w.key.length!==1||w.ctrlKey||w.metaKey||w.altKey)return;f&&w.key!==" "&&(et(w),i?.(!0));const E=d.current==="";E&&(h.current=u??o??-1),T.every(I=>I?I[0]?.toLocaleLowerCase()!==I[1]?.toLocaleLowerCase():!0)&&d.current===w.key&&(d.current="",h.current=b.current),d.current+=w.key,g.start(p,()=>{d.current="",h.current=b.current,i?.(!1)});const P=((E?u??o??-1:h.current)??0)+1,H=S(T,d.current,P);H!==-1?(s?.(H),b.current=H):w.key!==" "&&(d.current="",i?.(!1))}),y=oe(w=>{const m=w.relatedTarget,S=a.select("domReferenceElement"),T=a.select("floatingElement");ye(S,m)||ye(T,m)||(g.clear(),d.current="",h.current=b.current,i?.(!1))});K(()=>{!f&&u!==null||(g.clear(),b.current=null,d.current!==""&&(d.current=""))},[f,u,g]),K(()=>{f&&d.current===""&&(h.current=u??o??-1)},[f,u,o]);const R=l.useMemo(()=>({onKeyDown:x,onBlur:y}),[x,y]);return l.useMemo(()=>c?{reference:R,floating:R}:{},[c,R])}const Hs=l.createContext(null),_s=l.createContext(null);function At(){const e=l.useContext(Hs);if(e===null)throw new Error(at(60));return e}function Ws(){const e=l.useContext(_s);if(e===null)throw new Error(at(61));return e}const Na=(e,t)=>Object.is(e,t);function Gt(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function Fa(e,t,n){return!e||e.length===0?!1:e.some(r=>r===void 0?!1:Gt(t,r,n))}function cn(e,t,n){return!e||e.length===0?-1:e.findIndex(r=>r===void 0?!1:Gt(r,t,n))}function La(e,t,n){return e.filter(r=>!Gt(t,r,n))}function $s(e){return e!=null&&e.length>0&&typeof e[0]=="object"&&e[0]!=null&&"items"in e[0]}function Va(e){if(!Array.isArray(e))return e!=null&&"null"in e;const t=e;if($s(t)){for(const n of t)for(const r of n.items)if(r&&r.value==null&&r.label!=null)return!0;return!1}for(const n of t)if(n&&n.value==null&&n.label!=null)return!0;return!1}function Us(e,t){if(t&&e!=null)return t(e)??"";if(e&&typeof e=="object"){if("label"in e&&e.label!=null)return String(e.label);if("value"in e)return String(e.value)}return mr(e)}function Bt(e,t){return t&&e!=null?t(e)??"":e&&typeof e=="object"&&"value"in e&&"label"in e?mr(e.value):mr(e)}function Ys(e,t,n){function r(){return Us(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e=="object"&&"label"in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return t[e]??r();if(Array.isArray(t)){const o=t,s=$s(o)?o.flatMap(i=>i.items):o;if(e==null||typeof e!="object"){const i=s.find(c=>c.value===e);return i&&i.label!=null?i.label:r()}if("value"in e){const i=s.find(c=>c&&c.value===e.value);if(i&&i.label!=null)return i.label}}return r()}function ja(e,t,n){return e.reduce((r,o,s)=>(s>0&&r.push(", "),r.push(M.jsx(l.Fragment,{children:Ys(o,t,n)},s)),r),[])}const ne={id:U(e=>e.id),labelId:U(e=>e.labelId),modal:U(e=>e.modal),multiple:U(e=>e.multiple),items:U(e=>e.items),itemToStringLabel:U(e=>e.itemToStringLabel),itemToStringValue:U(e=>e.itemToStringValue),isItemEqualToValue:U(e=>e.isItemEqualToValue),value:U(e=>e.value),hasSelectedValue:U(e=>{const{value:t,multiple:n,itemToStringValue:r}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:Bt(t,r)!==""}),hasNullItemLabel:U((e,t)=>t?Va(e.items):!1),open:U(e=>e.open),mounted:U(e=>e.mounted),forceMount:U(e=>e.forceMount),transitionStatus:U(e=>e.transitionStatus),openMethod:U(e=>e.openMethod),activeIndex:U(e=>e.activeIndex),selectedIndex:U(e=>e.selectedIndex),isActive:U((e,t)=>e.activeIndex===t),isSelected:U((e,t,n)=>{const r=e.isItemEqualToValue,o=e.value;return e.multiple?Array.isArray(o)&&o.some(s=>Gt(n,s,r)):e.selectedIndex===t&&e.selectedIndex!==null?!0:Gt(n,o,r)}),isSelectedByFocus:U((e,t)=>e.selectedIndex===t),popupProps:U(e=>e.popupProps),triggerProps:U(e=>e.triggerProps),triggerElement:U(e=>e.triggerElement),positionerElement:U(e=>e.positionerElement),listElement:U(e=>e.listElement),popupSide:U(e=>e.popupSide),scrollUpArrowVisible:U(e=>e.scrollUpArrowVisible),scrollDownArrowVisible:U(e=>e.scrollDownArrowVisible),hasScrollArrows:U(e=>e.hasScrollArrows)};function Ba(e){const t=l.useRef(""),n=l.useCallback(o=>{o.defaultPrevented||(t.current=o.pointerType,e(o,o.pointerType))},[e]);return{onClick:l.useCallback(o=>{if(o.detail===0){e(o,"keyboard");return}"pointerType"in o?e(o,o.pointerType):e(o,t.current),t.current=""},[e]),onPointerDown:n}}function zs(e,t){const n=oe((s,i)=>{(typeof e=="function"?e():e)||t(i||(ns?"touch":""))}),{onClick:r,onPointerDown:o}=Ba(n);return l.useMemo(()=>({onClick:r,onPointerDown:o}),[r,o])}function Ha(e){const[t,n]=l.useState(null),r=zs(e,n);return ys(e,o=>{o&&!e&&n(null)}),l.useMemo(()=>({openMethod:t,triggerProps:r}),[t,r])}function nn(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const bt=1;function Ks(e,t){return Math.max(0,e-t)}function _a(e,t){if(t<=0)return 0;const n=nn(e,0,t),r=n,o=t-n,s=r<=bt,i=o<=bt;return s&&i?r<=o?0:t:s?0:i?t:n}function Wa(e){const{id:t,value:n,defaultValue:r=null,onValueChange:o,open:s,defaultOpen:i=!1,onOpenChange:c,name:p,form:u,autoComplete:a,disabled:f=!1,readOnly:g=!1,required:d=!1,modal:h=!0,actionsRef:b,inputRef:x,onOpenChangeComplete:y,items:R,multiple:w=!1,itemToStringLabel:m,itemToStringValue:S,isItemEqualToValue:T=Na,highlightItemOnHover:E=!0,children:k}=e,{clearErrors:D}=nl(),{setDirty:P,setTouched:H,setFocused:I,shouldValidateOnChange:O,validityData:B,setFilled:_,name:J,disabled:A,validation:F,validationMode:ie}=Nr(),j=Zo({id:t}),le=A||f,be=J??p,[v,V]=oo({controlled:n,default:w?r??Jr:r,name:"Select",state:"value"}),[G,he]=oo({controlled:s,default:i,name:"Select",state:"open"}),pe=l.useRef([]),z=l.useRef([]),ae=l.useRef(null),ve=l.useRef(null),Ve=l.useRef(0),q=l.useRef(null),X=l.useRef([]),te=l.useRef(!1),ce=l.useRef(!1),ee=l.useRef(null),$=l.useRef(null),Q=l.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),Y=l.useRef(!1),{mounted:fe,setMounted:de,transitionStatus:ue}=Qo(G),{openMethod:re,triggerProps:W}=Ha(G),C=lt(()=>new xs({id:j,labelId:void 0,modal:h,multiple:w,itemToStringLabel:m,itemToStringValue:S,isItemEqualToValue:T,value:v,open:G,mounted:fe,transitionStatus:ue,items:R,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:{},triggerProps:{},triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1})).current,N=se(C,ne.activeIndex),L=se(C,ne.selectedIndex),Z=se(C,ne.triggerElement),xe=se(C,ne.positionerElement),je=ol(re),De=re??je,we=l.useMemo(()=>w&&Array.isArray(v)&&v.length===0?"":Bt(v,S),[w,v,S]),Se=l.useMemo(()=>w&&Array.isArray(v)?v.map(ge=>Bt(ge,S)):Bt(v,S),[w,v,S]),Te=Ge(C.state.triggerElement),Me=oe(()=>Se);el(Te,j,v,Me);const Ze=l.useRef(v),ut=w?Array.isArray(v)&&v.length>0:v!=null;K(()=>{v!==Ze.current&&C.set("forceMount",!0)},[C,v]),K(()=>{_(ut)},[ut,_]),K(function(){const Oe=X.current;let Ke;if(w){const Qe=Array.isArray(v)?v:[];if(Qe.length===0)Ke=null;else{const it=Qe[Qe.length-1],Zt=cn(Oe,it,T);Ke=Zt===-1?null:Zt}}else{const Qe=cn(Oe,v,T);Ke=Qe===-1?null:Qe}Ke===null&&($.current=null),!G&&C.set("selectedIndex",Ke)},[ut,w,G,v,X,T,C,$]),ys(v,()=>{D(be),P(v!==B.initialValue),O()?F.commit(v):F.commit(v,!0)});const He=oe((ge,Oe)=>{if(c?.(ge,Oe),!Oe.isCanceled&&(he(ge),!ge&&(Oe.reason===_n||Oe.reason===Ir)&&(H(!0),I(!1),ie==="onBlur"&&F.commit(v)),!ge&&C.state.activeIndex!==null)){const Ke=pe.current[C.state.activeIndex];queueMicrotask(()=>{Ke?.setAttribute("tabindex","-1")})}}),me=oe(()=>{de(!1),C.update({activeIndex:null,openMethod:null}),y?.(!1)});Yn({enabled:!b,open:G,ref:ae,onComplete(){G||me()}}),l.useImperativeHandle(b,()=>({unmount:me}),[me]);const Ie=oe((ge,Oe)=>{o?.(ge,Oe),!Oe.isCanceled&&V(ge)}),Be=oe(()=>{const ge=C.state.listElement||ae.current;if(!ge)return;const Oe=Ks(ge.scrollHeight,ge.clientHeight),Ke=_a(ge.scrollTop,Oe),Qe=Ke>0,it=Ke<Oe;C.state.scrollUpArrowVisible!==Qe&&C.set("scrollUpArrowVisible",Qe),C.state.scrollDownArrowVisible!==it&&C.set("scrollDownArrowVisible",it)}),Re=Bs({open:G,onOpenChange:He,elements:{reference:Z,floating:xe}}),Ye=Os(Re,{enabled:!g&&!le,event:"mousedown"}),Ne=Ps(Re),$e=ka(Re,{enabled:!g&&!le,listRef:pe,activeIndex:N,selectedIndex:L,disabledIndices:Jr,onNavigate(ge){ge===null&&!G||C.set("activeIndex",ge)},focusItemOnHover:E}),ze=Da(Re,{enabled:!g&&!le&&(G||!w),listRef:z,activeIndex:N,selectedIndex:L,onMatch(ge){G?C.set("activeIndex",ge):Ie(X.current[ge],Le("none"))},onTyping(ge){te.current=ge}}),st=l.useMemo(()=>{const ge=Lt(ze.reference,$e.reference,Ne.reference,Ye.reference,W);return j&&(ge.id=j),ge},[Ye.reference,ze.reference,$e.reference,Ne.reference,W,j]),mt=l.useMemo(()=>Lt(zr,ze.floating,$e.floating,Ne.floating),[ze.floating,$e.floating,Ne.floating]),Ct=$e.item??Fe;bs(()=>{C.update({popupProps:mt,triggerProps:st})}),K(()=>{C.update({id:j,modal:h,multiple:w,value:v,open:G,mounted:fe,transitionStatus:ue,popupProps:mt,triggerProps:st,items:R,itemToStringLabel:m,itemToStringValue:S,isItemEqualToValue:T,openMethod:De})},[C,j,h,w,v,G,fe,ue,mt,st,R,m,S,T,De]);const kt=l.useMemo(()=>({store:C,name:be,required:d,disabled:le,readOnly:g,multiple:w,highlightItemOnHover:E,setValue:Ie,setOpen:He,listRef:pe,popupRef:ae,scrollHandlerRef:ve,handleScrollArrowVisibility:Be,scrollArrowsMountedCountRef:Ve,itemProps:Ct,events:Re.context.events,valueRef:q,valuesRef:X,labelsRef:z,typingRef:te,selectionRef:Q,firstItemTextRef:ee,selectedItemTextRef:$,validation:F,onOpenChangeComplete:y,keyboardActiveRef:ce,alignItemWithTriggerActiveRef:Y,initialValueRef:Ze}),[C,be,d,le,g,w,E,Ie,He,Ct,Re.context.events,F,y,Be]),Je=Ut(x,F.inputRef),ft=w&&Array.isArray(v)&&v.length>0,Et=w?void 0:be,Xt=l.useMemo(()=>!w||!Array.isArray(v)||!be?null:v.map(ge=>{const Oe=Bt(ge,S);return M.jsx("input",{type:"hidden",form:u,name:be,value:Oe},Oe)}),[w,v,u,be,S]);return M.jsx(Hs.Provider,{value:kt,children:M.jsxs(_s.Provider,{value:Re,children:[k,M.jsx("input",{...F.getInputValidationProps({onFocus(){C.state.triggerElement?.focus({focusVisible:!0})},onChange(ge){if(ge.nativeEvent.defaultPrevented||le||g){ge.preventBaseUIHandler?.();return}const Oe=ge.currentTarget.value,Ke=Le(Pr,ge.nativeEvent);function Qe(){if(w)return;const it=X.current.find(Zt=>Bt(Zt,S).toLowerCase()===Oe.toLowerCase()||Us(Zt,m).toLowerCase()===Oe.toLowerCase());it!=null&&(P(it!==B.initialValue),Ie(it,Ke),O()&&F.commit(it))}C.set("forceMount",!0),queueMicrotask(Qe)}}),id:j&&Et==null?`${j}-hidden-input`:void 0,form:u,name:Et,autoComplete:a,value:we,disabled:le,required:d&&!ft,readOnly:g,ref:Je,style:be?Si:Ho,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Xt]})})}function $a(e,t){return e??t}let Ft=(function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=an.startingStyle]="startingStyle",e[e.endingStyle=an.endingStyle]="endingStyle",e.anchorHidden="data-anchor-hidden",e.side="data-side",e.align="data-align",e})({}),Er=(function(e){return e.popupOpen="data-popup-open",e.pressed="data-pressed",e})({});const Ua={[Er.popupOpen]:""},Ya={[Er.popupOpen]:"",[Er.pressed]:""},za={[Ft.open]:""},Ka={[Ft.closed]:""},Ga={[Ft.anchorHidden]:""},Gs={open(e){return e?Ua:null}},qa={open(e){return e?Ya:null}},Jn={open(e){return e?za:Ka},anchorHidden(e){return e?Ga:null}};function Xa(e){const t=e.getBoundingClientRect(),n=ke(e),r=n.getComputedStyle(e,"::before"),o=n.getComputedStyle(e,"::after");if(!(r.content!=="none"||o.content!=="none"))return t;const i=parseFloat(r.width)||0,c=parseFloat(r.height)||0,p=parseFloat(o.width)||0,u=parseFloat(o.height)||0,a=Math.max(t.width,i,p),f=Math.max(t.height,c,u),g=a-t.width,d=f-t.height;return{left:t.left-g/2,right:t.right+g/2,top:t.top-d/2,bottom:t.bottom+d/2}}const bn=2,Za=400,Ja={...qa,...Vi,popupSide:e=>e?{"data-popup-side":e}:null,value:()=>null},Qa=l.forwardRef(function(t,n){const{render:r,className:o,id:s,disabled:i=!1,nativeButton:c=!0,style:p,...u}=t,{setTouched:a,setFocused:f,validationMode:g,state:d,disabled:h}=Nr(),{labelId:b}=Xo(),{store:x,setOpen:y,selectionRef:R,validation:w,readOnly:m,required:S,alignItemWithTriggerActiveRef:T,disabled:E,keyboardActiveRef:k}=At(),D=h||E||i,P=se(x,ne.open),H=se(x,ne.mounted),I=se(x,ne.value),O=se(x,ne.triggerProps),B=se(x,ne.positionerElement),_=se(x,ne.listElement),J=se(x,ne.popupSide),A=se(x,ne.id),F=se(x,ne.labelId),ie=se(x,ne.hasSelectedValue),j=H&&B?J:null,le=s??A,be=$a(b,F);Zo({id:le});const v=Ge(B),V=l.useRef(null),{getButtonProps:G,buttonRef:he}=Un({disabled:D,native:c}),pe=oe(te=>{x.set("triggerElement",te)}),z=Ut(n,V,he,pe),ae=wt(),ve=wt(),Ve=wt();l.useEffect(()=>{if(P)return Ve.start(Za,()=>{R.current.allowUnselectedMouseUp=!0,R.current.allowSelectedMouseUp=!0}),()=>{Ve.clear()};R.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},ve.clear()},[P,R,ve,Ve]);const q=Lt(O,{id:le,role:"combobox","aria-expanded":P?"true":"false","aria-haspopup":"listbox","aria-controls":P?_?.id??On(B)?.id:void 0,"aria-labelledby":be,"aria-readonly":m||void 0,"aria-required":S||void 0,tabIndex:D?-1:0,ref:z,onFocus(te){f(!0),P&&T.current&&y(!1,Le(Pr,te.nativeEvent)),ae.start(0,()=>{x.set("forceMount",!0)})},onBlur(te){ye(B,te.relatedTarget)||(a(!0),f(!1),g==="onBlur"&&w.commit(I))},onPointerMove(){k.current=!1},onKeyDown(){k.current=!0},onMouseDown(te){if(P)return;const ce=Ee(te.currentTarget);function ee($){if(!V.current)return;const Q=$.target;if(ye(V.current,Q)||ye(v.current,Q)||Q===V.current)return;const Y=Xa(V.current);$.clientX>=Y.left-bn&&$.clientX<=Y.right+bn&&$.clientY>=Y.top-bn&&$.clientY<=Y.bottom+bn||y(!1,Le(Ai,$))}ve.start(0,()=>{ce.addEventListener("mouseup",ee,{once:!0})})}},w.getValidationProps,u,G);q.role="combobox";const X={...d,open:P,disabled:D,value:I,readOnly:m,popupSide:j,placeholder:!ie};return Xe("button",t,{ref:[n,V],state:X,stateAttributesMapping:Ja,props:q})}),eu={value:()=>null},tu=l.forwardRef(function(t,n){const{className:r,render:o,children:s,placeholder:i,style:c,...p}=t,{store:u,valueRef:a}=At(),f=se(u,ne.value),g=se(u,ne.items),d=se(u,ne.itemToStringLabel),h=se(u,ne.hasSelectedValue),b=!h&&i!=null&&s==null,x=se(u,ne.hasNullItemLabel,b),y={value:f,placeholder:!h};let R=null;return typeof s=="function"?R=s(f):s!=null?R=s:!h&&i!=null&&!x?R=i:Array.isArray(f)?R=ja(f,g,d):R=Ys(f,g,d),Xe("span",t,{state:y,ref:[n,a],props:[{children:R},p],stateAttributesMapping:eu})}),nu=l.forwardRef(function(t,n){const{render:r,className:o,style:s,...i}=t,{store:c}=At(),u={open:se(c,ne.open)};return Xe("span",t,{state:u,ref:n,props:[{"aria-hidden":!0,children:"▼"},i],stateAttributesMapping:Gs})}),ru=l.createContext(void 0),ou=l.forwardRef(function(t,n){const{store:r}=At(),o=se(r,ne.mounted),s=se(r,ne.forceMount);return o||s?M.jsx(ru.Provider,{value:!0,children:M.jsx(vs,{ref:n,...t})}):null});function qs(e){return Mr(19)?e:e?"true":void 0}const su=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:c,middlewareData:p}=t,{element:u,padding:a=0,offsetParent:f="real"}=St(e,t)||{};if(u==null)return{};const g=os(a),d={x:n,y:r},h=_r(o),b=Hr(h),x=await i.getDimensions(u),y=h==="y",R=y?"top":"left",w=y?"bottom":"right",m=y?"clientHeight":"clientWidth",S=s.reference[b]+s.reference[h]-d[h]-s.floating[b],T=d[h]-s.reference[h],E=f==="real"?await i.getOffsetParent?.(u):c.floating;let k=c.floating[m]||s.floating[b];(!k||!await i.isElement?.(E))&&(k=c.floating[m]||s.floating[b]);const D=S/2-T/2,P=k/2-x[b]/2-1,H=Math.min(g[R],P),I=Math.min(g[w],P),O=H,B=k-x[b]-I,_=k/2-x[b]/2+D,J=wr(O,_,B),A=!p.arrow&&It(o)!=null&&_!==J&&s.reference[b]/2-(_<O?H:I)-x[b]/2<0,F=A?_<O?_-O:_-B:0;return{[h]:d[h]+F,data:{[h]:J,centerOffset:_-J-F,...A&&{alignmentOffset:F}},reset:A}}}),iu=(e,t)=>({...su(e),options:[e,t]}),cu={name:"hide",async fn(e){const{width:t,height:n,x:r,y:o}=e.rects.reference,s=t===0&&n===0&&r===0&&o===0;return{data:{referenceHidden:(await da().fn(e)).data?.referenceHidden||s}}}},lu={sideX:"left",sideY:"top"};function Xs(e,t,n){const r=e==="inline-start"||e==="inline-end";return{top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"}[t]}function Oo(e,t,n){const{rects:r,placement:o}=e;return{side:Xs(t,nt(o),n),align:It(o)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function au(e){const{anchor:t,positionMethod:n="absolute",side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,collisionBoundary:c,collisionPadding:p=5,sticky:u=!1,arrowPadding:a=5,disableAnchorTracking:f=!1,inline:g,keepMounted:d=!1,floatingRootContext:h,mounted:b,collisionAvoidance:x,shiftCrossAxis:y=!1,nodeId:R,adaptiveOrigin:w,lazyFlip:m=!1,externalTree:S}=e,[T,E]=l.useState(null);!b&&T!==null&&E(null);const k=x.side||"flip",D=x.align||"flip",P=x.fallbackAxisSide||"end",H=typeof t=="function"?t:void 0,I=oe(H),O=H?I:t,B=Ge(t),_=Ge(b),A=ms()==="rtl",F=T||{top:"top",right:"right",bottom:"bottom",left:"left","inline-end":A?"left":"right","inline-start":A?"right":"left"}[r],ie=s==="center"?F:`${F}-${s}`;let j=p;const le=1,be=r==="bottom"?le:0,v=r==="top"?le:0,V=r==="right"?le:0,G=r==="left"?le:0;typeof j=="number"?j={top:j+be,right:j+G,bottom:j+v,left:j+V}:j&&(j={top:(j.top||0)+be,right:(j.right||0)+G,bottom:(j.bottom||0)+v,left:(j.left||0)+V});const he={boundary:c==="clipping-ancestors"?"clippingAncestors":c,padding:j},pe=l.useRef(null),z=Ge(o),ae=Ge(i),ve=typeof o!="function"?o:0,Ve=typeof i!="function"?i:0,q=[];g&&q.push(g),q.push(ca(me=>{const Ie=Oo(me,r,A),Be=typeof z.current=="function"?z.current(Ie):z.current,Re=typeof ae.current=="function"?ae.current(Ie):ae.current;return{mainAxis:Be,crossAxis:Re,alignmentAxis:Re}},[ve,Ve,A,r]));const X=D==="none"&&k!=="shift",te=!X&&(u||y||k==="shift"),ce=k==="none"?null:ua({...he,padding:{top:j.top+le,right:j.right+le,bottom:j.bottom+le,left:j.left+le},mainAxis:!y&&k==="flip",crossAxis:D==="flip"?"alignment":!1,fallbackAxisSideDirection:P}),ee=X?null:la(me=>{const Ie=Ee(me.elements.floating).documentElement;return{...he,rootBoundary:y?{x:0,y:0,width:Ie.clientWidth,height:Ie.clientHeight}:void 0,mainAxis:D!=="none",crossAxis:te,limiter:u||y?void 0:aa(Be=>{if(!pe.current)return{};const{width:Re,height:Ye}=pe.current.getBoundingClientRect(),Ne=ot(nt(Be.placement)),$e=Ne==="y"?Re:Ye,ze=Ne==="y"?j.left+j.right:j.top+j.bottom;return{offset:$e/2+ze/2}})}},[he,u,y,j,D]);k==="shift"||D==="shift"||s==="center"?q.push(ee,ce):q.push(ce,ee),q.push(fa({...he,apply({elements:{floating:me},availableWidth:Ie,availableHeight:Be,rects:Re}){if(!_.current)return;const Ye=me.style;Ye.setProperty("--available-width",`${Ie}px`),Ye.setProperty("--available-height",`${Be}px`);const Ne=ke(me).devicePixelRatio||1,{x:$e,y:ze,width:st,height:mt}=Re.reference,Ct=(Math.round(($e+st)*Ne)-Math.round($e*Ne))/Ne,kt=(Math.round((ze+mt)*Ne)-Math.round(ze*Ne))/Ne;Ye.setProperty("--anchor-width",`${Ct}px`),Ye.setProperty("--anchor-height",`${kt}px`)}}),iu(me=>({element:pe.current||Ee(me.elements.floating).createElement("div"),padding:a,offsetParent:"floating"}),[a]),{name:"transformOrigin",fn(me){const{elements:Ie,middlewareData:Be,placement:Re,rects:Ye,y:Ne}=me,$e=nt(Re),ze=ot($e),st=pe.current,mt=Be.arrow?.x||0,Ct=Be.arrow?.y||0,kt=st?.clientWidth||0,Je=st?.clientHeight||0,ft=mt+kt/2,Et=Ct+Je/2,Xt=Math.abs(Be.shift?.y||0),ge=Ye.reference.height/2,Oe=typeof o=="function"?o(Oo(me,r,A)):o,Ke=Xt>Oe,Qe={top:`${ft}px calc(100% + ${Oe}px)`,bottom:`${ft}px ${-Oe}px`,left:`calc(100% + ${Oe}px) ${Et}px`,right:`${-Oe}px ${Et}px`}[$e],it=`${ft}px ${Ye.reference.y+ge-Ne}px`;return Ie.floating.style.setProperty("--transform-origin",te&&ze==="y"&&Ke?it:Qe),{}}},cu,w),K(()=>{!b&&h&&h.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[b,h]);const $=l.useMemo(()=>({elementResize:!f&&typeof ResizeObserver<"u",layoutShift:!f&&typeof IntersectionObserver<"u"}),[f]),{refs:Q,elements:Y,x:fe,y:de,middlewareData:ue,update:re,placement:W,context:C,isPositioned:N,floatingStyles:L}=Pa({rootContext:h,open:d?b:void 0,placement:ie,middleware:q,strategy:n,whileElementsMounted:d?void 0:(...me)=>Eo(...me,$),nodeId:R,externalTree:S}),{sideX:Z,sideY:xe}=ue.adaptiveOrigin||lu,je=N?n:"fixed",De=l.useMemo(()=>{const me=w?{position:je,[Z]:fe,[xe]:de}:{position:je,...L};return N||(me.opacity=0),me},[w,je,Z,fe,xe,de,L,N]),we=l.useRef(null);K(()=>{if(!b)return;const me=B.current,Ie=typeof me=="function"?me():me,Re=(Po(Ie)?Ie.current:Ie)||null||null;Re!==we.current&&(Q.setPositionReference(Re),we.current=Re)},[b,Q,O,B]),l.useEffect(()=>{if(!b)return;const me=B.current;typeof me!="function"&&Po(me)&&me.current!==we.current&&(Q.setPositionReference(me.current),we.current=me.current)},[b,Q,O,B]),l.useEffect(()=>{if(d&&b&&Y.domReference&&Y.floating)return Eo(Y.domReference,Y.floating,re,$)},[d,b,Y,re,$]);const Se=nt(W),Te=Xs(r,Se,A),Me=It(W)||"center",Ze=!!ue.hide?.referenceHidden;K(()=>{m&&b&&N&&E(Se)},[m,b,N,Se]);const ut=l.useMemo(()=>({position:"absolute",top:ue.arrow?.y,left:ue.arrow?.x}),[ue.arrow]),He=ue.arrow?.centerOffset!==0;return l.useMemo(()=>({positionerStyles:De,arrowStyles:ut,arrowRef:pe,arrowUncentered:He,side:Te,align:Me,physicalSide:Se,anchorHidden:Ze,refs:Q,context:C,isPositioned:N,update:re}),[De,ut,pe,He,Te,Me,Se,Ze,Q,C,N,re])}function Po(e){return e!=null&&"current"in e}const Zs=l.createContext(void 0);function uu(){const e=l.useContext(Zs);if(!e)throw new Error(at(59));return e}const Js=l.forwardRef(function(t,n){const{cutout:r,...o}=t;let s;if(r){const i=r.getBoundingClientRect();s=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${i.left}px ${i.top}px,${i.left}px ${i.bottom}px,${i.right}px ${i.bottom}px,${i.right}px ${i.top}px,${i.left}px ${i.top}px)`}return M.jsx("div",{ref:n,role:"presentation","data-base-ui-inert":"",...o,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:s}})});function Nn(e,t){e&&Object.assign(e.style,t)}const fu={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"};function Qs(e){return e==="starting"?pl:Fe}function du(e,t,{styles:n,transitionStatus:r,props:o,refs:s,hidden:i,inert:c=!1}){const p={...n};return c&&(p.pointerEvents="none"),Xe("div",e,{state:t,ref:s,props:[{role:"presentation",hidden:i,style:p},Qs(r),o],stateAttributesMapping:Jn})}let Io={},Ao={},Mo="";function pu(e){if(typeof document>"u")return!1;const t=Ee(e);return ke(t).innerWidth-t.documentElement.clientWidth>0}function gu(e){if(!(typeof CSS<"u"&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||typeof document>"u")return!1;const n=Ee(e),r=n.documentElement,o=n.body,s=Pt(r)?r:o,i=s.style.overflowY,c=r.style.scrollbarGutter;r.style.scrollbarGutter="stable",s.style.overflowY="scroll";const p=s.offsetWidth;s.style.overflowY="hidden";const u=s.offsetWidth;return s.style.overflowY=i,r.style.scrollbarGutter=c,p===u}function hu(e){const t=Ee(e),n=t.documentElement,r=t.body,o=Pt(n)?n:r,s={overflowY:o.style.overflowY,overflowX:o.style.overflowX};return Object.assign(o.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(o.style,s)}}function mu(e){const t=Ee(e),n=t.documentElement,r=t.body,o=ke(n);let s=0,i=0,c=!1;const p=dt.create();if(Fr&&(o.visualViewport?.scale??1)!==1)return()=>{};function u(){const d=o.getComputedStyle(n),h=o.getComputedStyle(r),y=(d.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";s=n.scrollTop,i=n.scrollLeft,Io={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},Mo=n.style.scrollBehavior,Ao={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};const R=n.scrollHeight>n.clientHeight,w=n.scrollWidth>n.clientWidth,m=d.overflowY==="scroll"||h.overflowY==="scroll",S=d.overflowX==="scroll"||h.overflowX==="scroll",T=Math.max(0,o.innerWidth-r.clientWidth),E=Math.max(0,o.innerHeight-r.clientHeight),k=parseFloat(h.marginTop)+parseFloat(h.marginBottom),D=parseFloat(h.marginLeft)+parseFloat(h.marginRight),P=Pt(n)?n:r;if(c=gu(e),c){n.style.scrollbarGutter=y,P.style.overflowY="hidden",P.style.overflowX="hidden";return}Object.assign(n.style,{scrollbarGutter:y,overflowY:"hidden",overflowX:"hidden"}),(R||m)&&(n.style.overflowY="scroll"),(w||S)&&(n.style.overflowX="scroll"),Object.assign(r.style,{position:"relative",height:k||E?`calc(100dvh - ${k+E}px)`:"100dvh",width:D||T?`calc(100vw - ${D+T}px)`:"100vw",boxSizing:"border-box",overflow:"hidden",scrollBehavior:"unset"}),r.scrollTop=s,r.scrollLeft=i,n.setAttribute("data-base-ui-scroll-locked",""),n.style.scrollBehavior="unset"}function a(){Object.assign(n.style,Io),Object.assign(r.style,Ao),c||(n.scrollTop=s,n.scrollLeft=i,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=Mo)}function f(){a(),p.request(u)}u();const g=Ce(o,"resize",f);return()=>{p.cancel(),a(),typeof o.removeEventListener=="function"&&g()}}class yu{lockCount=0;restore=null;timeoutLock=Vt.create();timeoutUnlock=Vt.create();acquire(t){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(t)),this.release}release=()=>{this.lockCount-=1,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(t){if(this.lockCount===0||this.restore!==null)return;const r=Ee(t).documentElement,o=ke(r).getComputedStyle(r).overflowY;if(o==="hidden"||o==="clip"){this.restore=_e;return}const s=ns||!pu(t);this.restore=s?hu(t):mu(t)}}const bu=new yu;function ei(e=!0,t=null){K(()=>{if(e)return bu.acquire(t)},[e,t])}const xu=20;function wu(e,t,n,r){const[o,s]=l.useState(!1);K(()=>{if(!e||!t||n==null){s(!1);return}const i=Ee(n).documentElement.clientWidth,c=n.offsetWidth;s(i>0&&c>0&&c>=i-xu)},[e,t,n]),ei(e&&(!t||o),r)}const Ru={position:"fixed"},Su=l.forwardRef(function(t,n){const{anchor:r,positionMethod:o="absolute",className:s,render:i,side:c="bottom",align:p="center",sideOffset:u=0,alignOffset:a=0,collisionBoundary:f="clipping-ancestors",collisionPadding:g,arrowPadding:d=5,sticky:h=!1,disableAnchorTracking:b,alignItemWithTrigger:x=!0,collisionAvoidance:y=gl,style:R,...w}=t,{store:m,listRef:S,labelsRef:T,alignItemWithTriggerActiveRef:E,selectedItemTextRef:k,valuesRef:D,initialValueRef:P,popupRef:H,setValue:I}=At(),O=Ws(),B=se(m,ne.open),_=se(m,ne.mounted),J=se(m,ne.modal),A=se(m,ne.value),F=se(m,ne.openMethod),ie=se(m,ne.positionerElement),j=se(m,ne.triggerElement),le=se(m,ne.isItemEqualToValue),be=se(m,ne.transitionStatus),v=l.useRef(null),V=l.useRef(null),[G,he]=l.useState(x),pe=_&&G&&F!=="touch";!_&&G!==x&&he(x),K(()=>{_||(ne.scrollUpArrowVisible(m.state)&&m.set("scrollUpArrowVisible",!1),ne.scrollDownArrowVisible(m.state)&&m.set("scrollDownArrowVisible",!1))},[m,_]),l.useImperativeHandle(E,()=>pe),wu((pe||J)&&B,F==="touch",ie,j);const z=au({anchor:r,floatingRootContext:O,positionMethod:o,mounted:_,side:c,sideOffset:u,align:p,alignOffset:a,arrowPadding:d,collisionBoundary:f,collisionPadding:g,sticky:h,disableAnchorTracking:b??pe,collisionAvoidance:y,keepMounted:!0}),ae=pe?"none":z.side,ve=pe?Ru:z.positionerStyles,Ve={open:B,side:ae,align:z.align,anchorHidden:z.anchorHidden};K(()=>{m.set("popupSide",z.side)},[m,z.side]);const q=oe($=>{m.set("positionerElement",$)}),X=du(t,Ve,{styles:ve,transitionStatus:be,props:w,refs:[n,q],hidden:!_,inert:!B}),te=l.useRef(0),ce=oe($=>{if($.size===0&&te.current===0||D.current.length===0)return;const Q=te.current;if(te.current=$.size,$.size===Q)return;const Y=Le(Pr);if(Q!==0&&!m.state.multiple&&A!==null&&cn(D.current,A,le)===-1){const de=P.current,re=de!=null&&cn(D.current,de,le)!==-1?de:null;I(re,Y),re===null&&(m.set("selectedIndex",null),k.current=null)}if(Q!==0&&m.state.multiple&&Array.isArray(A)){const fe=ue=>cn(D.current,ue,le)!==-1,de=A.filter(ue=>fe(ue));(de.length!==A.length||de.some(ue=>!Fa(A,ue,le)))&&(I(de,Y),de.length===0&&(m.set("selectedIndex",null),k.current=null))}if(B&&pe){m.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});const fe={height:""};Nn(ie,fe),Nn(H.current,fe)}}),ee=l.useMemo(()=>({...z,side:ae,alignItemWithTriggerActive:pe,setControlledAlignItemWithTrigger:he,scrollUpArrowRef:v,scrollDownArrowRef:V}),[z,ae,pe,he]);return M.jsx(qc,{elementsRef:S,labelsRef:T,onMapChange:ce,children:M.jsxs(Zs.Provider,{value:ee,children:[_&&J&&M.jsx(Js,{inert:qs(!B),cutout:j}),X]})})}),xn="base-ui-disable-scrollbar",ko={className:xn,getElement(e){return M.jsx("style",{nonce:e,href:xn,precedence:"base-ui:low",children:`.${xn}{scrollbar-width:none}.${xn}::-webkit-scrollbar{display:none}`})}},Cu=l.createContext(void 0);function Eu(e){return l.useContext(Cu)}const vu=l.createContext(void 0),Tu={disableStyleElements:!1};function Ou(){return l.useContext(vu)??Tu}const Pu={...Jn,...Ar},Iu=l.forwardRef(function(t,n){const{render:r,className:o,style:s,finalFocus:i,...c}=t,{store:p,popupRef:u,onOpenChangeComplete:a,setOpen:f,valueRef:g,firstItemTextRef:d,selectedItemTextRef:h,keyboardActiveRef:b,multiple:x,handleScrollArrowVisibility:y,scrollHandlerRef:R,listRef:w,highlightItemOnHover:m}=At(),{side:S,align:T,alignItemWithTriggerActive:E,isPositioned:k,setControlledAlignItemWithTrigger:D,scrollDownArrowRef:P,scrollUpArrowRef:H}=uu(),I=Eu()!=null,O=Ws(),B=ms(),{nonce:_,disableStyleElements:J}=Ou(),A=se(p,ne.id),F=se(p,ne.open),ie=se(p,ne.mounted),j=se(p,ne.popupProps),le=se(p,ne.transitionStatus),be=se(p,ne.triggerElement),v=se(p,ne.positionerElement),V=se(p,ne.listElement),G=l.useRef(!1),he=l.useRef(!1),pe=l.useRef({}),z=zt(),ae=oe(X=>{if(!v||!u.current||!he.current)return;if(G.current||!E){y();return}const te=v.style.top==="0px",ce=v.style.bottom==="0px";if(!te&&!ce){y();return}const ee=No(v),$=rn(v.getBoundingClientRect().height,"y",ee),Q=Ee(v),Y=getComputedStyle(v),fe=parseFloat(Y.marginTop),de=parseFloat(Y.marginBottom),ue=Do(getComputedStyle(u.current)),re=Math.min(Q.documentElement.clientHeight-fe-de,ue),W=X.scrollTop,C=wn(X);let N=0,L=null,Z=!1,xe=!1;const je=Te=>{v.style.height=`${Te}px`},De=(Te,Me)=>{const Ze=nn(Te,0,re-$);Ze>0&&je($+Ze),X.scrollTop=Me,re-($+Ze)<=bt&&(G.current=!0),y()},we=te?C-W:W,Se=Math.min($+we,re);if(N=Se,we<=bt){De(we,te?C:0);return}if(re-Se>bt)te?xe=!0:L=0;else if(Z=!0,ce&&W<C){const Te=$+we-re;L=W-(we-Te)}if(N=Math.ceil(N),N!==0&&je(N),xe||L!=null){const Te=wn(X),Me=xe?Te:nn(L,0,Te);Math.abs(X.scrollTop-Me)>bt&&(X.scrollTop=Me)}(Z||N>=re-bt)&&(G.current=!0),y()});l.useImperativeHandle(R,()=>ae,[ae]),Yn({open:F,ref:u,onComplete(){F&&a?.(!0)}});const ve={open:F,transitionStatus:le,side:S,align:T};K(()=>{!v||!u.current||Object.keys(pe.current).length||(pe.current={top:v.style.top||"0",left:v.style.left||"0",right:v.style.right,height:v.style.height,bottom:v.style.bottom,minHeight:v.style.minHeight,maxHeight:v.style.maxHeight,marginTop:v.style.marginTop,marginBottom:v.style.marginBottom})},[u,v]),K(()=>{F||E||(he.current=!1,G.current=!1,Nn(v,pe.current))},[F,E,v,u]),K(()=>{const X=u.current;if(!F||!be||!v||!X||E&&!k||p.state.transitionStatus==="ending")return;if(!E){he.current=!0,z.request(y),X.style.removeProperty("--transform-origin");return}const te=Au(X);X.style.removeProperty("--transform-origin");try{let ce=h.current;ce?.isConnected||(ce=!ne.hasSelectedValue(p.state)&&d.current?.isConnected?d.current:null);const ee=g.current,$=getComputedStyle(v),Q=getComputedStyle(X),Y=Ee(be),fe=ke(v),de=No(be),ue=Rn(be.getBoundingClientRect(),de),re=Rn(v.getBoundingClientRect(),de),W=ue.height,C=V||X,N=C.scrollHeight,L=parseFloat(Q.borderBottomWidth),Z=parseFloat($.marginTop)||10,xe=parseFloat($.marginBottom)||10,je=parseFloat($.minHeight)||100,De=Do(Q),we=5,Se=5,Te=20,Me=Y.documentElement.clientHeight-Z-xe,Ze=Y.documentElement.clientWidth,ut=Me-ue.bottom+W;let He,me=B==="rtl"?ue.right-re.width:ue.left,Ie=0;if(ce&&ee){const Je=Rn(ee.getBoundingClientRect(),de);He=Rn(ce.getBoundingClientRect(),de),me=re.left+(B==="rtl"?Je.right-He.right:Je.left-He.left);const ft=Je.top-ue.top+Je.height/2;Ie=He.top-re.top+He.height/2-ft}const Be=ut+Ie+xe+L;let Re=Math.min(Me,Be);const Ye=Me-Z-xe,Ne=Be-Re,$e=Ze-Se;v.style.left=`${nn(me,we,$e-re.width)}px`,v.style.height=`${Re}px`,v.style.maxHeight="auto",v.style.marginTop=`${Z}px`,v.style.marginBottom=`${xe}px`,X.style.height="100%";const ze=wn(C),st=Ne>=ze-bt;st&&(Re=Math.min(Me,re.height)-(Ne-ze));const mt=ue.top<Te||ue.bottom>Me-Te||Math.ceil(Re)+bt<Math.min(N,je),Ct=(fe.visualViewport?.scale??1)!==1&&Fr;if(mt||Ct){he.current=!0,Nn(v,pe.current),D(!1);return}const kt=Math.max(je,Re);if(st){const Je=Math.max(0,Me-Be);v.style.top=re.height>=Ye?"0":`${Je}px`,v.style.height=`${Re}px`,C.scrollTop=wn(C)}else v.style.bottom="0",C.scrollTop=Ne;if(He){const Je=re.top,ft=re.height,Et=He.top+He.height/2,Xt=ft>0?(Et-Je)/ft*100:50,ge=nn(Xt,0,100);X.style.setProperty("--transform-origin",`50% ${ge}%`)}(kt===Me||Re>=De)&&(G.current=!0),y(),m&&p.state.selectedIndex===null&&p.state.activeIndex===null&&w.current[0]!=null&&p.set("activeIndex",0),he.current=!0}finally{te()}},[p,F,v,be,g,d,h,u,y,E,D,z,P,H,V,w,m,B,k]),l.useEffect(()=>{if(!E||!v||!F)return;const X=ke(v);function te(ce){f(!1,Le(ki,ce))}return Ce(X,"resize",te)},[f,E,v,F]);const Ve={...V?{role:"presentation","aria-orientation":void 0}:{role:"listbox","aria-multiselectable":x||void 0,id:`${A}-list`},onKeyDown(X){b.current=!0,I&&hs.has(X.key)&&X.stopPropagation()},onMouseMove(){b.current=!1},onScroll(X){V||ae(X.currentTarget)},...E&&{style:V?{height:"100%"}:fu}},q=Xe("div",t,{ref:[n,u],state:ve,stateAttributesMapping:Pu,props:[j,Ve,Qs(le),{className:!V&&E?ko.className:void 0},c]});return M.jsxs(l.Fragment,{children:[!J&&ko.getElement(_),M.jsx(Ts,{context:O,modal:!1,disabled:!ie,returnFocus:i,restoreFocus:!0,children:q})]})});function Do(e){const t=e.maxHeight||"";return t.endsWith("px")&&parseFloat(t)||1/0}function wn(e){return Ks(e.scrollHeight,e.clientHeight)}function No(e){return Fs.getScale(e)}function rn(e,t,n){return e/n[t]}function Rn(e,t){return fn({x:rn(e.x,"x",t),y:rn(e.y,"y",t),width:rn(e.width,"x",t),height:rn(e.height,"y",t)})}const Fo=[["transform","none"],["scale","1"],["translate","0 0"]];function Au(e){const{style:t}=e,n={};for(const[r,o]of Fo)n[r]=t.getPropertyValue(r),t.setProperty(r,o,"important");return()=>{for(const[r]of Fo){const o=n[r];o?t.setProperty(r,o):t.removeProperty(r)}}}const ti=l.createContext(void 0);function Mu(){const e=l.useContext(ti);if(!e)throw new Error(at(57));return e}const ku=l.memo(l.forwardRef(function(t,n){const{render:r,className:o,style:s,value:i=null,label:c,disabled:p=!1,nativeButton:u=!1,...a}=t,f=l.useRef(null),g=oc({label:c,textRef:f,indexGuessBehavior:qo.GuessFromOrder}),{store:d,itemProps:h,setOpen:b,setValue:x,selectionRef:y,typingRef:R,valuesRef:w,multiple:m,selectedItemTextRef:S}=At(),T=se(d,ne.isActive,g.index),E=se(d,ne.isSelected,g.index,i),k=se(d,ne.isSelectedByFocus,g.index),D=se(d,ne.isItemEqualToValue),P=g.index,H=P!==-1,I=l.useRef(null);K(()=>{if(!H)return;const V=w.current;return V[P]=i,()=>{delete V[P]}},[H,P,i,w]),K(()=>{if(!H)return;const V=d.state.value;let G=V;m&&Array.isArray(V)&&V.length>0&&(G=V[V.length-1]),G!==void 0&&Gt(i,G,D)&&(d.set("selectedIndex",P),f.current&&(S.current=f.current))},[H,P,m,D,d,i,S]);const O=l.useRef(null),B=l.useRef("mouse"),_=l.useRef(!1),{getButtonProps:J,buttonRef:A}=Un({disabled:p,focusableWhenDisabled:!0,native:u,composite:!0}),F={disabled:p,selected:E,highlighted:T};function ie(V){const G=d.state.value;if(m){const he=Array.isArray(G)?G:[],pe=E?La(he,i,D):[...he,i];x(pe,Le(tr,V))}else x(i,Le(tr,V)),b(!1,Le(tr,V))}function j(){y.current.dragY=0}const le={role:"option","aria-selected":E,tabIndex:T?0:-1,onKeyDown(V){O.current=V.key,d.set("activeIndex",P),V.key===" "&&R.current&&V.preventDefault()},onClick(V){const G=V.type==="click"&&B.current!=="touch",he=V.nativeEvent.pointerType,pe=G&&jr(V.nativeEvent)&&(he!==void 0||T),z=G&&!pe&&!_.current;_.current=!1,!(V.type==="keydown"&&O.current===null)&&(p||V.type==="keydown"&&O.current===" "&&R.current||z||(O.current=null,ie(V.nativeEvent)))},onPointerEnter(V){B.current=V.pointerType},onPointerMove(V){if(V.pointerType==="mouse"&&V.buttons===1){const G=y.current;G.dragY+=V.movementY,G.dragY**2>=64&&(G.allowUnselectedMouseUp=!0)}},onPointerDown(V){B.current=V.pointerType,_.current=!0,j()},onMouseUp(){if(j(),p||B.current==="touch"||_.current)return;const V=!y.current.allowSelectedMouseUp&&E,G=!y.current.allowUnselectedMouseUp&&!E;V||G||(_.current=!0,I.current?.click(),_.current=!1)}},be=Xe("div",t,{ref:[A,n,g.ref,I],state:F,props:[h,le,a,J]}),v=l.useMemo(()=>({selected:E,index:P,textRef:f,selectedByFocus:k,hasRegistered:H}),[E,P,f,k,H]);return M.jsx(ti.Provider,{value:v,children:be})})),Du=l.memo(l.forwardRef(function(t,n){const{index:r,textRef:o,selectedByFocus:s,hasRegistered:i}=Mu(),{firstItemTextRef:c,selectedItemTextRef:p}=At(),{render:u,className:a,style:f,...g}=t,d=l.useCallback(b=>{b&&(i&&r===0&&(c.current=b),i&&s&&(p.current=b))},[c,p,r,s,i]);return Xe("div",t,{ref:[d,n,o],props:g})}));function pf(e){const{className:t,disabled:n,error:r,items:o,onChange:s,placeholder:i="Select an option",value:c,...p}=e,u=o.find(a=>a.value===c);return M.jsxs(Wa,{disabled:n,onValueChange:a=>{typeof a=="string"&&s(a)},value:c,children:[M.jsxs(Qa,{className:$t("flex h-[40px] w-full items-center gap-[10px] rounded-body border-[2px] border-transparent bg-secondary px-[12px] copy-14 text-foreground outline-none hover:bg-secondary-hover active:bg-secondary-active focus-visible:border-focus focus-visible:bg-secondary-hover data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[error]:border-negative data-[error]:focus-visible:border-negative",t),"data-error":r?"":void 0,...p,children:[M.jsx(tu,{className:"min-w-0 flex-1 truncate",placeholder:M.jsx("span",{className:"text-foreground-secondary",children:i}),children:u?M.jsx(Fu,{item:u}):void 0}),M.jsx(nu,{className:"ml-auto shrink-0 text-foreground-secondary",children:M.jsx(Lu,{})})]}),M.jsx(ou,{children:M.jsx(Su,{alignItemWithTrigger:!1,className:"z-50 outline-none",sideOffset:4,children:M.jsx(Iu,{className:"max-h-[288px] min-w-[var(--anchor-width)] overflow-auto rounded-body border border-border bg-surface py-[4px] shadow-lg",children:o.map(a=>M.jsx(ku,{className:"flex cursor-pointer items-center gap-[10px] px-[12px] py-[8px] label-14 text-foreground outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[highlighted]:bg-secondary-hover data-[selected]:font-medium",disabled:a.disabled,label:a.textValue,value:a.value,children:M.jsx(Nu,{item:a})},a.value))})})})]})}function Nu(e){const{item:t}=e;return M.jsxs(M.Fragment,{children:[t.prefix,M.jsx(Du,{children:t.label}),t.suffix&&M.jsx("span",{className:"ml-auto text-foreground-secondary",children:t.suffix})]})}function Fu(e){const{item:t}=e;return M.jsxs("span",{className:"flex min-w-0 items-center gap-[10px]",children:[t.prefix,M.jsx("span",{className:"min-w-0 truncate",children:t.label})]})}function Lu(){return M.jsx("svg",{"aria-hidden":!0,className:"size-[16px]",fill:"none",viewBox:"0 0 24 24",children:M.jsx("path",{d:"m6 9 6 6 6-6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})})}function gf(e){return M.jsxs("section",{className:"flex flex-col gap-6",children:[M.jsxs("div",{className:"flex flex-col gap-4 md:flex-row md:items-center md:justify-between md:gap-4",children:[M.jsxs("div",{className:"flex min-w-0 flex-1 items-start gap-4",children:[M.jsxs("div",{className:"min-w-0 flex-1",children:[M.jsx("h1",{className:"text-heading-24 text-foreground",children:e.title}),e.description?M.jsx("p",{className:"mt-1 text-copy-15 text-foreground-secondary",children:e.description}):null]}),M.jsx("div",{className:"shrink-0 md:hidden",children:M.jsx(li,{})})]}),e.action?M.jsx("div",{className:"flex items-center gap-2 max-sm:w-full [&>*]:max-sm:flex-1",children:e.action}):null]}),e.children]})}function hf(e){return M.jsx("div",{className:`border border-border bg-surface ${e.className??""}`,children:e.children})}function mf(e){return M.jsx("div",{className:"flex items-center justify-center px-6 py-12 text-copy-14 text-foreground-secondary",children:e.children})}const ni=l.createContext(!1),ri=l.createContext(void 0);function Mt(e){const t=l.useContext(ri);if(e===!1&&t===void 0)throw new Error(at(27));return t}const Vu={...Jn,...Ar},ju=l.forwardRef(function(t,n){const{render:r,className:o,style:s,forceRender:i=!1,...c}=t,{store:p}=Mt(),u=p.useState("open"),a=p.useState("nested"),f=p.useState("mounted"),g=p.useState("transitionStatus");return Xe("div",t,{state:{open:u,transitionStatus:g},ref:[p.context.backdropRef,n],stateAttributesMapping:Vu,props:[{role:"presentation",hidden:!f,style:{userSelect:"none",WebkitUserSelect:"none"}},c],enabled:i||!a})}),Bu=l.forwardRef(function(t,n){const{render:r,className:o,style:s,disabled:i=!1,nativeButton:c=!0,...p}=t,{store:u}=Mt(),a=u.useState("open"),{getButtonProps:f,buttonRef:g}=Un({disabled:i,native:c}),d={disabled:i};function h(b){a&&u.setOpen(!1,Le(Pi,b.nativeEvent))}return Xe("button",t,{state:d,ref:[n,g],props:[{onClick:h},p,f]})}),Hu=l.forwardRef(function(t,n){const{render:r,className:o,style:s,id:i,...c}=t,{store:p}=Mt(),u=$n(i);return p.useSyncedValueWithCleanup("descriptionElementId",u),Xe("p",t,{ref:n,props:[{id:u},c]})});let _u=(function(e){return e.nestedDialogs="--nested-dialogs",e})({}),Wu=(function(e){return e[e.open=Ft.open]="open",e[e.closed=Ft.closed]="closed",e[e.startingStyle=Ft.startingStyle]="startingStyle",e[e.endingStyle=Ft.endingStyle]="endingStyle",e.nested="data-nested",e.nestedDialogOpen="data-nested-dialog-open",e})({});const oi=l.createContext(void 0);function $u(){const e=l.useContext(oi);if(e===void 0)throw new Error(at(26));return e}const Uu={...Jn,...Ar,nestedDialogOpen(e){return e?{[Wu.nestedDialogOpen]:""}:null}},Yu=l.forwardRef(function(t,n){const{render:r,className:o,style:s,finalFocus:i,initialFocus:c,...p}=t,{store:u}=Mt(),a=u.useState("descriptionElementId"),f=u.useState("disablePointerDismissal"),g=u.useState("floatingRootContext"),d=u.useState("popupProps"),h=u.useState("modal"),b=u.useState("mounted"),x=u.useState("nested"),y=u.useState("nestedOpenDialogCount"),R=u.useState("open"),w=u.useState("openMethod"),m=u.useState("titleElementId"),S=u.useState("transitionStatus"),T=u.useState("role"),E=g.useState("floatingId"),k=p.id??E;$u(),Yn({open:R,ref:u.context.popupRef,onComplete(){R&&u.context.onOpenChangeComplete?.(!0)}});function D(_){return _==="touch"?u.context.popupRef.current:!0}const P=c===void 0?D:c,H=y>0,I=u.useStateSetter("popupElement"),B=Xe("div",t,{state:{open:R,nested:x,transitionStatus:S,nestedDialogOpen:H},props:[d,{id:k,"aria-labelledby":m??void 0,"aria-describedby":a??void 0,role:T,...zr,hidden:!b,onKeyDown(_){hs.has(_.key)&&_.stopPropagation()},style:{[_u.nestedDialogs]:y}},p],ref:[n,u.context.popupRef,I],stateAttributesMapping:Uu});return M.jsx(Ts,{context:g,openInteractionType:w,disabled:!b,closeOnFocusOut:!f,initialFocus:P,returnFocus:i,modal:h!==!1,restoreFocus:"popup",children:B})}),zu=l.forwardRef(function(t,n){const{keepMounted:r=!1,...o}=t,{store:s}=Mt(),i=s.useState("mounted"),c=s.useState("modal"),p=s.useState("open");return i||r?M.jsx(oi.Provider,{value:r,children:M.jsxs(vs,{ref:n,...o,children:[i&&c===!0&&M.jsx(Js,{ref:s.context.internalBackdropRef,inert:qs(!p)}),t.children]})}):null});function Ku(e){const{store:t,parentContext:n,actionsRef:r,isDrawer:o}=e,s=t.useState("open");Sa(t,s),xa(t);const{forceUnmount:i}=wa(s,t),c=l.useCallback(()=>{t.setOpen(!1,Le(Mi))},[t]);return l.useImperativeHandle(r,()=>({unmount:i,close:c}),[i,c]),{parentContext:n,isDrawer:o}}function Gu({store:e,dialogRoot:t}){const{parentContext:n,isDrawer:r}=t,o=e.useState("open"),s=e.useState("disablePointerDismissal"),i=e.useState("modal"),c=e.useState("popupElement"),p=e.useState("floatingRootContext"),[u,a]=l.useState(0),[f,g]=l.useState(0),d=u===0,h=Ps(p,{outsidePressEvent(){return e.context.internalBackdropRef.current||e.context.backdropRef.current?"intentional":{mouse:i==="trap-focus"?"sloppy":"intentional",touch:"sloppy"}},outsidePress(R){if(!e.context.outsidePressEnabledRef.current||"button"in R&&R.button!==0||"touches"in R&&R.touches.length!==1)return!1;const w=pt(R);if(d&&!s){const m=w;return i&&(e.context.internalBackdropRef.current||e.context.backdropRef.current)?e.context.internalBackdropRef.current===m||e.context.backdropRef.current===m||ye(m,c)&&!m?.hasAttribute("data-base-ui-portal"):!0}return!1},escapeKey:d});ei(o&&i===!0,c),e.useContextCallback("onNestedDialogOpen",(R,w)=>{a(R),g(w)}),e.useContextCallback("onNestedDialogClose",()=>{a(0),g(0)}),l.useEffect(()=>(n?.onNestedDialogOpen&&o&&n.onNestedDialogOpen(u+1,f+(r?1:0)),n?.onNestedDialogClose&&!o&&n.onNestedDialogClose(),()=>{n?.onNestedDialogClose&&o&&n.onNestedDialogClose()}),[r,o,u,f,n]);const b=h.reference??Fe,x=h.trigger??Fe,y=l.useMemo(()=>Lt(zr,h.floating),[h.floating]);return Ra(e,{activeTriggerProps:b,inactiveTriggerProps:x,popupProps:y,nestedOpenDialogCount:u,nestedOpenDrawerCount:f}),null}const qu={...Oa,modal:U(e=>e.modal),nested:U(e=>e.nested),nestedOpenDialogCount:U(e=>e.nestedOpenDialogCount),nestedOpenDrawerCount:U(e=>e.nestedOpenDrawerCount),disablePointerDismissal:U(e=>e.disablePointerDismissal),openMethod:U(e=>e.openMethod),descriptionElementId:U(e=>e.descriptionElementId),titleElementId:U(e=>e.titleElementId),viewportElement:U(e=>e.viewportElement),role:U(e=>e.role)};class qr extends ws{constructor(t,n,r=!1){const o=new Kr,s=Xu(t);s.floatingRootContext=va(o,n,r),super(s,{popupRef:l.createRef(),backdropRef:l.createRef(),internalBackdropRef:l.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:o,onOpenChange:void 0,onOpenChangeComplete:void 0},qu)}setOpen=(t,n)=>{if(n.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},!t&&n.trigger==null&&this.state.activeTriggerId!=null&&(n.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(t,n),n.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(t,n);const r={open:t};ya(r,t,n.trigger),this.update(r)};static useStore(t,n){return ha(t,(o,s)=>new qr(n,o,s),!0).store}}function Xu(e={}){return{...Ea(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:"dialog",...e}}function Zu(e,t="dialog"){const{children:n,open:r,defaultOpen:o=!1,onOpenChange:s,onOpenChangeComplete:i,disablePointerDismissal:c=!1,modal:p=!0,actionsRef:u,handle:a,triggerId:f,defaultTriggerId:g=null}=e,d=t==="drawer",h=t==="alert-dialog",b=h?!0:p,x=h||c,y=h?"alertdialog":"dialog",R=Mt(!0),m={modal:b,disablePointerDismissal:x,nested:!!R,role:y},S=qr.useStore(a?.store,{open:o,openProp:r,activeTriggerId:g,triggerIdProp:f,...m});bs(()=>{const I=r===void 0&&S.state.open===!1&&o===!0?{open:!0,activeTriggerId:g}:null;h?S.update(I?{...m,...I}:m):I&&S.update(I)}),S.useControlledProp("openProp",r),S.useControlledProp("triggerIdProp",f),S.useSyncedValues(m),S.useContextCallback("onOpenChange",s),S.useContextCallback("onOpenChangeComplete",i);const T=S.useState("open"),E=S.useState("mounted"),k=S.useState("payload"),D=Ku({store:S,actionsRef:u,parentContext:R?.store.context,isDrawer:d}),P=T||E,H=l.useMemo(()=>({store:S}),[S]);return M.jsx(ni.Provider,{value:!1,children:M.jsxs(ri.Provider,{value:H,children:[P&&M.jsx(Gu,{store:S,dialogRoot:D}),typeof n=="function"?n({payload:k}):n]})})}function Ju(e){const t=l.useContext(ni)?"drawer":"dialog";return Zu(e,t)}const Qu=l.forwardRef(function(t,n){const{render:r,className:o,style:s,id:i,...c}=t,{store:p}=Mt(),u=$n(i);return p.useSyncedValueWithCleanup("titleElementId",u),Xe("h2",t,{ref:n,props:[{id:u},c]})}),ef=l.forwardRef(function(t,n){const{render:r,className:o,style:s,disabled:i=!1,nativeButton:c=!0,id:p,payload:u,handle:a,...f}=t,g=Mt(!0),d=a?.store??g?.store;if(!d)throw new Error(at(79));const h=$n(p),b=d.useState("floatingRootContext"),x=d.useState("isOpenedByTrigger",h),y=d.useState("triggerPopupId",h),R=l.useRef(null),{registerTrigger:w,isMountedByThisTrigger:m}=ba(h,R,d,{payload:u}),{getButtonProps:S,buttonRef:T}=Un({disabled:i,native:c}),E=Os(b,{enabled:b!=null}),k=zs(()=>d.select("open"),H=>{d.set("openMethod",H)}),D={disabled:i,open:x},P=d.useState("triggerProps",m);return Xe("button",t,{state:D,ref:[T,n,w,R],props:[E.reference,P,k,{[Ss]:"",id:h,"aria-haspopup":"dialog","aria-expanded":x,"aria-controls":y},f,S],stateAttributesMapping:Gs})});function tf(e){return M.jsxs(zu,{children:[M.jsx(ju,{className:"fixed inset-0 z-40 bg-black/60 transition-opacity duration-150 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0"}),M.jsx(Yu,{className:"fixed left-1/2 top-1/2 z-50 w-[calc(100vw-2rem)] max-w-md -translate-x-1/2 -translate-y-1/2 border border-border bg-surface p-6 shadow-lg outline-none transition-opacity duration-150 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0",children:e.children})]})}function nf(e){return M.jsx(Qu,{className:"text-heading-20 text-foreground",...e})}function rf(e){return M.jsx(Hu,{className:"mt-1 text-copy-14 text-foreground-secondary",...e})}const yf={Close:Bu,Description:rf,Popup:tf,Root:Ju,Title:nf,Trigger:ef};export{Yn as A,Ar as B,hf as C,yf as D,Fe as E,En as F,ct as I,mf as N,gf as P,pf as S,ff as T,uf as a,lf as b,af as c,$n as d,K as e,Vi as f,at as g,nl as h,Nr as i,Xo as j,lt as k,Un as l,oo as m,_e as n,el as o,Ut as p,ys as q,Lt as r,Xe as s,ke as t,df as u,Si as v,Ho as w,Le as x,Pr as y,Qo as z};\n',
|
|
31
|
+
contentType: 'text/javascript; charset=utf-8',
|
|
32
|
+
},
|
|
33
|
+
'assets/index-9tf01JPF.js': {
|
|
34
|
+
content:
|
|
35
|
+
'const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./verified-tokens-DbUWm_5D.js","./Dialog-DvOtj1aC.js","./api-keys-Dz07_CYL.js"])))=>i.map(i=>d[i]);\nfunction Q4(e,t){for(var n=0;n<t.length;n++){const a=t[n];if(typeof a!="string"&&!Array.isArray(a)){for(const o in a)if(o!=="default"&&!(o in e)){const u=Object.getOwnPropertyDescriptor(a,o);u&&Object.defineProperty(e,o,u.get?u:{enumerable:!0,get:()=>a[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function t5(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lh={exports:{}},Do={};var Rv;function Y4(){if(Rv)return Do;Rv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(a,o,u){var l=null;if(u!==void 0&&(l=""+u),o.key!==void 0&&(l=""+o.key),"key"in o){u={};for(var f in o)f!=="key"&&(u[f]=o[f])}else u=o;return o=u.ref,{$$typeof:e,type:a,key:l,ref:o!==void 0?o:null,props:u}}return Do.Fragment=t,Do.jsx=n,Do.jsxs=n,Do}var _v;function Z4(){return _v||(_v=1,lh.exports=Y4()),lh.exports}var V=Z4(),fh={exports:{}},ve={};var Cv;function X4(){if(Cv)return ve;Cv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),l=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),g=Symbol.iterator;function v(N){return N===null||typeof N!="object"?null:(N=g&&N[g]||N["@@iterator"],typeof N=="function"?N:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,E={};function R(N,Y,se){this.props=N,this.context=Y,this.refs=E,this.updater=se||x}R.prototype.isReactComponent={},R.prototype.setState=function(N,Y){if(typeof N!="object"&&typeof N!="function"&&N!=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,N,Y,"setState")},R.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function z(){}z.prototype=R.prototype;function M(N,Y,se){this.props=N,this.context=Y,this.refs=E,this.updater=se||x}var O=M.prototype=new z;O.constructor=M,S(O,R.prototype),O.isPureReactComponent=!0;var _=Array.isArray;function B(){}var C={H:null,A:null,T:null,S:null},I=Object.prototype.hasOwnProperty;function j(N,Y,se){var ae=se.ref;return{$$typeof:e,type:N,key:Y,ref:ae!==void 0?ae:null,props:se}}function D(N,Y){return j(N.type,Y,N.props)}function Q(N){return typeof N=="object"&&N!==null&&N.$$typeof===e}function X(N){var Y={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(se){return Y[se]})}var ne=/\\/+/g;function oe(N,Y){return typeof N=="object"&&N!==null&&N.key!=null?X(""+N.key):Y.toString(36)}function ee(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(B,B):(N.status="pending",N.then(function(Y){N.status==="pending"&&(N.status="fulfilled",N.value=Y)},function(Y){N.status==="pending"&&(N.status="rejected",N.reason=Y)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function $(N,Y,se,ae,le){var ge=typeof N;(ge==="undefined"||ge==="boolean")&&(N=null);var we=!1;if(N===null)we=!0;else switch(ge){case"bigint":case"string":case"number":we=!0;break;case"object":switch(N.$$typeof){case e:case t:we=!0;break;case m:return we=N._init,$(we(N._payload),Y,se,ae,le)}}if(we)return le=le(N),we=ae===""?"."+oe(N,0):ae,_(le)?(se="",we!=null&&(se=we.replace(ne,"$&/")+"/"),$(le,Y,se,"",function(At){return At})):le!=null&&(Q(le)&&(le=D(le,se+(le.key==null||N&&N.key===le.key?"":(""+le.key).replace(ne,"$&/")+"/")+we)),Y.push(le)),1;we=0;var He=ae===""?".":ae+":";if(_(N))for(var _e=0;_e<N.length;_e++)ae=N[_e],ge=He+oe(ae,_e),we+=$(ae,Y,se,ge,le);else if(_e=v(N),typeof _e=="function")for(N=_e.call(N),_e=0;!(ae=N.next()).done;)ae=ae.value,ge=He+oe(ae,_e++),we+=$(ae,Y,se,ge,le);else if(ge==="object"){if(typeof N.then=="function")return $(ee(N),Y,se,ae,le);throw Y=String(N),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return we}function G(N,Y,se){if(N==null)return N;var ae=[],le=0;return $(N,ae,"","",function(ge){return Y.call(se,ge,le++)}),ae}function te(N){if(N._status===-1){var Y=N._result;Y=Y(),Y.then(function(se){(N._status===0||N._status===-1)&&(N._status=1,N._result=se)},function(se){(N._status===0||N._status===-1)&&(N._status=2,N._result=se)}),N._status===-1&&(N._status=0,N._result=Y)}if(N._status===1)return N._result.default;throw N._result}var ce=typeof reportError=="function"?reportError:function(N){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof N=="object"&&N!==null&&typeof N.message=="string"?String(N.message):String(N),error:N});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",N);return}console.error(N)},fe={map:G,forEach:function(N,Y,se){G(N,function(){Y.apply(this,arguments)},se)},count:function(N){var Y=0;return G(N,function(){Y++}),Y},toArray:function(N){return G(N,function(Y){return Y})||[]},only:function(N){if(!Q(N))throw Error("React.Children.only expected to receive a single React element child.");return N}};return ve.Activity=b,ve.Children=fe,ve.Component=R,ve.Fragment=n,ve.Profiler=o,ve.PureComponent=M,ve.StrictMode=a,ve.Suspense=d,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,ve.__COMPILER_RUNTIME={__proto__:null,c:function(N){return C.H.useMemoCache(N)}},ve.cache=function(N){return function(){return N.apply(null,arguments)}},ve.cacheSignal=function(){return null},ve.cloneElement=function(N,Y,se){if(N==null)throw Error("The argument must be a React element, but you passed "+N+".");var ae=S({},N.props),le=N.key;if(Y!=null)for(ge in Y.key!==void 0&&(le=""+Y.key),Y)!I.call(Y,ge)||ge==="key"||ge==="__self"||ge==="__source"||ge==="ref"&&Y.ref===void 0||(ae[ge]=Y[ge]);var ge=arguments.length-2;if(ge===1)ae.children=se;else if(1<ge){for(var we=Array(ge),He=0;He<ge;He++)we[He]=arguments[He+2];ae.children=we}return j(N.type,le,ae)},ve.createContext=function(N){return N={$$typeof:l,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null},N.Provider=N,N.Consumer={$$typeof:u,_context:N},N},ve.createElement=function(N,Y,se){var ae,le={},ge=null;if(Y!=null)for(ae in Y.key!==void 0&&(ge=""+Y.key),Y)I.call(Y,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(le[ae]=Y[ae]);var we=arguments.length-2;if(we===1)le.children=se;else if(1<we){for(var He=Array(we),_e=0;_e<we;_e++)He[_e]=arguments[_e+2];le.children=He}if(N&&N.defaultProps)for(ae in we=N.defaultProps,we)le[ae]===void 0&&(le[ae]=we[ae]);return j(N,ge,le)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(N){return{$$typeof:f,render:N}},ve.isValidElement=Q,ve.lazy=function(N){return{$$typeof:m,_payload:{_status:-1,_result:N},_init:te}},ve.memo=function(N,Y){return{$$typeof:p,type:N,compare:Y===void 0?null:Y}},ve.startTransition=function(N){var Y=C.T,se={};C.T=se;try{var ae=N(),le=C.S;le!==null&&le(se,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then(B,ce)}catch(ge){ce(ge)}finally{Y!==null&&se.types!==null&&(Y.types=se.types),C.T=Y}},ve.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},ve.use=function(N){return C.H.use(N)},ve.useActionState=function(N,Y,se){return C.H.useActionState(N,Y,se)},ve.useCallback=function(N,Y){return C.H.useCallback(N,Y)},ve.useContext=function(N){return C.H.useContext(N)},ve.useDebugValue=function(){},ve.useDeferredValue=function(N,Y){return C.H.useDeferredValue(N,Y)},ve.useEffect=function(N,Y){return C.H.useEffect(N,Y)},ve.useEffectEvent=function(N){return C.H.useEffectEvent(N)},ve.useId=function(){return C.H.useId()},ve.useImperativeHandle=function(N,Y,se){return C.H.useImperativeHandle(N,Y,se)},ve.useInsertionEffect=function(N,Y){return C.H.useInsertionEffect(N,Y)},ve.useLayoutEffect=function(N,Y){return C.H.useLayoutEffect(N,Y)},ve.useMemo=function(N,Y){return C.H.useMemo(N,Y)},ve.useOptimistic=function(N,Y){return C.H.useOptimistic(N,Y)},ve.useReducer=function(N,Y,se){return C.H.useReducer(N,Y,se)},ve.useRef=function(N){return C.H.useRef(N)},ve.useState=function(N){return C.H.useState(N)},ve.useSyncExternalStore=function(N,Y,se){return C.H.useSyncExternalStore(N,Y,se)},ve.useTransition=function(){return C.H.useTransition()},ve.version="19.2.7",ve}var Ov;function Gu(){return Ov||(Ov=1,fh.exports=X4()),fh.exports}var re=Gu();const _s=t5(re),R$=Q4({__proto__:null,default:_s},[re]);var dh={exports:{}},Ho={},hh={exports:{}},ph={};var Pv;function J4(){return Pv||(Pv=1,(function(e){function t($,G){var te=$.length;$.push(G);e:for(;0<te;){var ce=te-1>>>1,fe=$[ce];if(0<o(fe,G))$[ce]=G,$[te]=fe,te=ce;else break e}}function n($){return $.length===0?null:$[0]}function a($){if($.length===0)return null;var G=$[0],te=$.pop();if(te!==G){$[0]=te;e:for(var ce=0,fe=$.length,N=fe>>>1;ce<N;){var Y=2*(ce+1)-1,se=$[Y],ae=Y+1,le=$[ae];if(0>o(se,te))ae<fe&&0>o(le,se)?($[ce]=le,$[ae]=te,ce=ae):($[ce]=se,$[Y]=te,ce=Y);else if(ae<fe&&0>o(le,te))$[ce]=le,$[ae]=te,ce=ae;else break e}}return G}function o($,G){var te=$.sortIndex-G.sortIndex;return te!==0?te:$.id-G.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var l=Date,f=l.now();e.unstable_now=function(){return l.now()-f}}var d=[],p=[],m=1,b=null,g=3,v=!1,x=!1,S=!1,E=!1,R=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function O($){for(var G=n(p);G!==null;){if(G.callback===null)a(p);else if(G.startTime<=$)a(p),G.sortIndex=G.expirationTime,t(d,G);else break;G=n(p)}}function _($){if(S=!1,O($),!x)if(n(d)!==null)x=!0,B||(B=!0,X());else{var G=n(p);G!==null&&ee(_,G.startTime-$)}}var B=!1,C=-1,I=5,j=-1;function D(){return E?!0:!(e.unstable_now()-j<I)}function Q(){if(E=!1,B){var $=e.unstable_now();j=$;var G=!0;try{e:{x=!1,S&&(S=!1,z(C),C=-1),v=!0;var te=g;try{t:{for(O($),b=n(d);b!==null&&!(b.expirationTime>$&&D());){var ce=b.callback;if(typeof ce=="function"){b.callback=null,g=b.priorityLevel;var fe=ce(b.expirationTime<=$);if($=e.unstable_now(),typeof fe=="function"){b.callback=fe,O($),G=!0;break t}b===n(d)&&a(d),O($)}else a(d);b=n(d)}if(b!==null)G=!0;else{var N=n(p);N!==null&&ee(_,N.startTime-$),G=!1}}break e}finally{b=null,g=te,v=!1}G=void 0}}finally{G?X():B=!1}}}var X;if(typeof M=="function")X=function(){M(Q)};else if(typeof MessageChannel<"u"){var ne=new MessageChannel,oe=ne.port2;ne.port1.onmessage=Q,X=function(){oe.postMessage(null)}}else X=function(){R(Q,0)};function ee($,G){C=R(function(){$(e.unstable_now())},G)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function($){switch(g){case 1:case 2:case 3:var G=3;break;default:G=g}var te=g;g=G;try{return $()}finally{g=te}},e.unstable_requestPaint=function(){E=!0},e.unstable_runWithPriority=function($,G){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var te=g;g=$;try{return G()}finally{g=te}},e.unstable_scheduleCallback=function($,G,te){var ce=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?ce+te:ce):te=ce,$){case 1:var fe=-1;break;case 2:fe=250;break;case 5:fe=1073741823;break;case 4:fe=1e4;break;default:fe=5e3}return fe=te+fe,$={id:m++,callback:G,priorityLevel:$,startTime:te,expirationTime:fe,sortIndex:-1},te>ce?($.sortIndex=te,t(p,$),n(d)===null&&$===n(p)&&(S?(z(C),C=-1):S=!0,ee(_,te-ce))):($.sortIndex=fe,t(d,$),x||v||(x=!0,B||(B=!0,X()))),$},e.unstable_shouldYield=D,e.unstable_wrapCallback=function($){var G=g;return function(){var te=g;g=G;try{return $.apply(this,arguments)}finally{g=te}}}})(ph)),ph}var zv;function W4(){return zv||(zv=1,hh.exports=J4()),hh.exports}var yh={exports:{}},Rt={};var Bv;function eE(){if(Bv)return Rt;Bv=1;var e=Gu();function t(d){var p="https://react.dev/errors/"+d;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)p+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+d+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var a={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},o=Symbol.for("react.portal");function u(d,p,m){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:b==null?null:""+b,children:d,containerInfo:p,implementation:m}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(d,p){if(d==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Rt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Rt.createPortal=function(d,p){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(t(299));return u(d,p,null,m)},Rt.flushSync=function(d){var p=l.T,m=a.p;try{if(l.T=null,a.p=2,d)return d()}finally{l.T=p,a.p=m,a.d.f()}},Rt.preconnect=function(d,p){typeof d=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,a.d.C(d,p))},Rt.prefetchDNS=function(d){typeof d=="string"&&a.d.D(d)},Rt.preinit=function(d,p){if(typeof d=="string"&&p&&typeof p.as=="string"){var m=p.as,b=f(m,p.crossOrigin),g=typeof p.integrity=="string"?p.integrity:void 0,v=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;m==="style"?a.d.S(d,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:b,integrity:g,fetchPriority:v}):m==="script"&&a.d.X(d,{crossOrigin:b,integrity:g,fetchPriority:v,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Rt.preinitModule=function(d,p){if(typeof d=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var m=f(p.as,p.crossOrigin);a.d.M(d,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&a.d.M(d)},Rt.preload=function(d,p){if(typeof d=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var m=p.as,b=f(m,p.crossOrigin);a.d.L(d,m,{crossOrigin:b,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Rt.preloadModule=function(d,p){if(typeof d=="string")if(p){var m=f(p.as,p.crossOrigin);a.d.m(d,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else a.d.m(d)},Rt.requestFormReset=function(d){a.d.r(d)},Rt.unstable_batchedUpdates=function(d,p){return d(p)},Rt.useFormState=function(d,p,m){return l.H.useFormState(d,p,m)},Rt.useFormStatus=function(){return l.H.useHostTransitionStatus()},Rt.version="19.2.7",Rt}var Iv;function n5(){if(Iv)return yh.exports;Iv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),yh.exports=eE(),yh.exports}var Nv;function tE(){if(Nv)return Ho;Nv=1;var e=W4(),t=Gu(),n=n5();function a(r){var i="https://react.dev/errors/"+r;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+r+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function u(r){var i=r,s=r;if(r.alternate)for(;i.return;)i=i.return;else{r=i;do i=r,(i.flags&4098)!==0&&(s=i.return),r=i.return;while(r)}return i.tag===3?s:null}function l(r){if(r.tag===13){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function f(r){if(r.tag===31){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function d(r){if(u(r)!==r)throw Error(a(188))}function p(r){var i=r.alternate;if(!i){if(i=u(r),i===null)throw Error(a(188));return i!==r?null:r}for(var s=r,c=i;;){var h=s.return;if(h===null)break;var y=h.alternate;if(y===null){if(c=h.return,c!==null){s=c;continue}break}if(h.child===y.child){for(y=h.child;y;){if(y===s)return d(h),r;if(y===c)return d(h),i;y=y.sibling}throw Error(a(188))}if(s.return!==c.return)s=h,c=y;else{for(var w=!1,A=h.child;A;){if(A===s){w=!0,s=h,c=y;break}if(A===c){w=!0,c=h,s=y;break}A=A.sibling}if(!w){for(A=y.child;A;){if(A===s){w=!0,s=y,c=h;break}if(A===c){w=!0,c=y,s=h;break}A=A.sibling}if(!w)throw Error(a(189))}}if(s.alternate!==c)throw Error(a(190))}if(s.tag!==3)throw Error(a(188));return s.stateNode.current===s?r:i}function m(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r;for(r=r.child;r!==null;){if(i=m(r),i!==null)return i;r=r.sibling}return null}var b=Object.assign,g=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),z=Symbol.for("react.consumer"),M=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),j=Symbol.for("react.activity"),D=Symbol.for("react.memo_cache_sentinel"),Q=Symbol.iterator;function X(r){return r===null||typeof r!="object"?null:(r=Q&&r[Q]||r["@@iterator"],typeof r=="function"?r:null)}var ne=Symbol.for("react.client.reference");function oe(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===ne?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case S:return"Fragment";case R:return"Profiler";case E:return"StrictMode";case _:return"Suspense";case B:return"SuspenseList";case j:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case x:return"Portal";case M:return r.displayName||"Context";case z:return(r._context.displayName||"Context")+".Consumer";case O:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case C:return i=r.displayName||null,i!==null?i:oe(r.type)||"Memo";case I:i=r._payload,r=r._init;try{return oe(r(i))}catch{}}return null}var ee=Array.isArray,$=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},ce=[],fe=-1;function N(r){return{current:r}}function Y(r){0>fe||(r.current=ce[fe],ce[fe]=null,fe--)}function se(r,i){fe++,ce[fe]=r.current,r.current=i}var ae=N(null),le=N(null),ge=N(null),we=N(null);function He(r,i){switch(se(ge,i),se(le,r),se(ae,null),i.nodeType){case 9:case 11:r=(r=i.documentElement)&&(r=r.namespaceURI)?Zg(r):0;break;default:if(r=i.tagName,i=i.namespaceURI)i=Zg(i),r=Xg(i,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}Y(ae),se(ae,r)}function _e(){Y(ae),Y(le),Y(ge)}function At(r){r.memoizedState!==null&&se(we,r);var i=ae.current,s=Xg(i,r.type);i!==s&&(se(le,r),se(ae,s))}function en(r){le.current===r&&(Y(ae),Y(le)),we.current===r&&(Y(we),$o._currentValue=te)}var jt,tn;function Tt(r){if(jt===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\\n( *(at )?)/);jt=i&&i[1]||"",tn=-1<s.stack.indexOf(`\n at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`\n`+jt+r+tn}var hn=!1;function Vn(r,i){if(!r||hn)return"";hn=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(i){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(K){var q=K}Reflect.construct(r,[],W)}else{try{W.call()}catch(K){q=K}r.call(W.prototype)}}else{try{throw Error()}catch(K){q=K}(W=r())&&typeof W.catch=="function"&&W.catch(function(){})}}catch(K){if(K&&q&&typeof K.stack=="string")return[K.stack,q.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var h=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");h&&h.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var y=c.DetermineComponentFrameRoot(),w=y[0],A=y[1];if(w&&A){var L=w.split(`\n`),F=A.split(`\n`);for(h=c=0;c<L.length&&!L[c].includes("DetermineComponentFrameRoot");)c++;for(;h<F.length&&!F[h].includes("DetermineComponentFrameRoot");)h++;if(c===L.length||h===F.length)for(c=L.length-1,h=F.length-1;1<=c&&0<=h&&L[c]!==F[h];)h--;for(;1<=c&&0<=h;c--,h--)if(L[c]!==F[h]){if(c!==1||h!==1)do if(c--,h--,0>h||L[c]!==F[h]){var Z=`\n`+L[c].replace(" at new "," at ");return r.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",r.displayName)),Z}while(1<=c&&0<=h);break}}}finally{hn=!1,Error.prepareStackTrace=s}return(s=r?r.displayName||r.name:"")?Tt(s):""}function rc(r,i){switch(r.tag){case 26:case 27:case 5:return Tt(r.type);case 16:return Tt("Lazy");case 13:return r.child!==i&&i!==null?Tt("Suspense Fallback"):Tt("Suspense");case 19:return Tt("SuspenseList");case 0:case 15:return Vn(r.type,!1);case 11:return Vn(r.type.render,!1);case 1:return Vn(r.type,!0);case 31:return Tt("Activity");default:return""}}function Kn(r){try{var i="",s=null;do i+=rc(r,s),s=r,r=r.return;while(r);return i}catch(c){return`\nError generating stack: `+c.message+`\n`+c.stack}}var Oi=Object.prototype.hasOwnProperty,_n=e.unstable_scheduleCallback,Ks=e.unstable_cancelCallback,ic=e.unstable_shouldYield,Xf=e.unstable_requestPaint,Mt=e.unstable_now,De=e.unstable_getCurrentPriorityLevel,bt=e.unstable_ImmediatePriority,Ln=e.unstable_UserBlockingPriority,Sa=e.unstable_NormalPriority,CS=e.unstable_LowPriority,Om=e.unstable_IdlePriority,OS=e.log,PS=e.unstable_setDisableYieldValue,Qs=null,nn=null;function Nr(r){if(typeof OS=="function"&&PS(r),nn&&typeof nn.setStrictMode=="function")try{nn.setStrictMode(Qs,r)}catch{}}var rn=Math.clz32?Math.clz32:IS,zS=Math.log,BS=Math.LN2;function IS(r){return r>>>=0,r===0?32:31-(zS(r)/BS|0)|0}var ac=256,sc=262144,oc=4194304;function Pi(r){var i=r&42;if(i!==0)return i;switch(r&-r){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 r&261888;case 262144:case 524288:case 1048576:case 2097152:return r&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function uc(r,i,s){var c=r.pendingLanes;if(c===0)return 0;var h=0,y=r.suspendedLanes,w=r.pingedLanes;r=r.warmLanes;var A=c&134217727;return A!==0?(c=A&~y,c!==0?h=Pi(c):(w&=A,w!==0?h=Pi(w):s||(s=A&~r,s!==0&&(h=Pi(s))))):(A=c&~y,A!==0?h=Pi(A):w!==0?h=Pi(w):s||(s=c&~r,s!==0&&(h=Pi(s)))),h===0?0:i!==0&&i!==h&&(i&y)===0&&(y=h&-h,s=i&-i,y>=s||y===32&&(s&4194048)!==0)?i:h}function Ys(r,i){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&i)===0}function NS(r,i){switch(r){case 1:case 2:case 4:case 8:case 64:return i+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 i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pm(){var r=oc;return oc<<=1,(oc&62914560)===0&&(oc=4194304),r}function Jf(r){for(var i=[],s=0;31>s;s++)i.push(r);return i}function Zs(r,i){r.pendingLanes|=i,i!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function LS(r,i,s,c,h,y){var w=r.pendingLanes;r.pendingLanes=s,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=s,r.entangledLanes&=s,r.errorRecoveryDisabledLanes&=s,r.shellSuspendCounter=0;var A=r.entanglements,L=r.expirationTimes,F=r.hiddenUpdates;for(s=w&~s;0<s;){var Z=31-rn(s),W=1<<Z;A[Z]=0,L[Z]=-1;var q=F[Z];if(q!==null)for(F[Z]=null,Z=0;Z<q.length;Z++){var K=q[Z];K!==null&&(K.lane&=-536870913)}s&=~W}c!==0&&zm(r,c,0),y!==0&&h===0&&r.tag!==0&&(r.suspendedLanes|=y&~(w&~i))}function zm(r,i,s){r.pendingLanes|=i,r.suspendedLanes&=~i;var c=31-rn(i);r.entangledLanes|=i,r.entanglements[c]=r.entanglements[c]|1073741824|s&261930}function Bm(r,i){var s=r.entangledLanes|=i;for(r=r.entanglements;s;){var c=31-rn(s),h=1<<c;h&i|r[c]&i&&(r[c]|=i),s&=~h}}function Im(r,i){var s=i&-i;return s=(s&42)!==0?1:Wf(s),(s&(r.suspendedLanes|i))!==0?0:s}function Wf(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=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:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function ed(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function Nm(){var r=G.p;return r!==0?r:(r=window.event,r===void 0?32:wv(r.type))}function Lm(r,i){var s=G.p;try{return G.p=r,i()}finally{G.p=s}}var Lr=Math.random().toString(36).slice(2),gt="__reactFiber$"+Lr,kt="__reactProps$"+Lr,Ea="__reactContainer$"+Lr,td="__reactEvents$"+Lr,$S="__reactListeners$"+Lr,US="__reactHandles$"+Lr,$m="__reactResources$"+Lr,Xs="__reactMarker$"+Lr;function nd(r){delete r[gt],delete r[kt],delete r[td],delete r[$S],delete r[US]}function Aa(r){var i=r[gt];if(i)return i;for(var s=r.parentNode;s;){if(i=s[Ea]||s[gt]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(r=iv(r);r!==null;){if(s=r[gt])return s;r=iv(r)}return i}r=s,s=r.parentNode}return null}function Ta(r){if(r=r[gt]||r[Ea]){var i=r.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return r}return null}function Js(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r.stateNode;throw Error(a(33))}function Ma(r){var i=r[$m];return i||(i=r[$m]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function ht(r){r[Xs]=!0}var Um=new Set,jm={};function zi(r,i){Ra(r,i),Ra(r+"Capture",i)}function Ra(r,i){for(jm[r]=i,r=0;r<i.length;r++)Um.add(i[r])}var jS=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]*$"),km={},Dm={};function kS(r){return Oi.call(Dm,r)?!0:Oi.call(km,r)?!1:jS.test(r)?Dm[r]=!0:(km[r]=!0,!1)}function cc(r,i,s){if(kS(i))if(s===null)r.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":r.removeAttribute(i);return;case"boolean":var c=i.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){r.removeAttribute(i);return}}r.setAttribute(i,""+s)}}function lc(r,i,s){if(s===null)r.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(i);return}r.setAttribute(i,""+s)}}function Qn(r,i,s,c){if(c===null)r.removeAttribute(s);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(s);return}r.setAttributeNS(i,s,""+c)}}function pn(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Hm(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function DS(r,i,s){var c=Object.getOwnPropertyDescriptor(r.constructor.prototype,i);if(!r.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var h=c.get,y=c.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return h.call(this)},set:function(w){s=""+w,y.call(this,w)}}),Object.defineProperty(r,i,{enumerable:c.enumerable}),{getValue:function(){return s},setValue:function(w){s=""+w},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function rd(r){if(!r._valueTracker){var i=Hm(r)?"checked":"value";r._valueTracker=DS(r,i,""+r[i])}}function Fm(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var s=i.getValue(),c="";return r&&(c=Hm(r)?r.checked?"true":"false":r.value),r=c,r!==s?(i.setValue(r),!0):!1}function fc(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var HS=/[\\n"\\\\]/g;function yn(r){return r.replace(HS,function(i){return"\\\\"+i.charCodeAt(0).toString(16)+" "})}function id(r,i,s,c,h,y,w,A){r.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?r.type=w:r.removeAttribute("type"),i!=null?w==="number"?(i===0&&r.value===""||r.value!=i)&&(r.value=""+pn(i)):r.value!==""+pn(i)&&(r.value=""+pn(i)):w!=="submit"&&w!=="reset"||r.removeAttribute("value"),i!=null?ad(r,w,pn(i)):s!=null?ad(r,w,pn(s)):c!=null&&r.removeAttribute("value"),h==null&&y!=null&&(r.defaultChecked=!!y),h!=null&&(r.checked=h&&typeof h!="function"&&typeof h!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?r.name=""+pn(A):r.removeAttribute("name")}function qm(r,i,s,c,h,y,w,A){if(y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(r.type=y),i!=null||s!=null){if(!(y!=="submit"&&y!=="reset"||i!=null)){rd(r);return}s=s!=null?""+pn(s):"",i=i!=null?""+pn(i):s,A||i===r.value||(r.value=i),r.defaultValue=i}c=c??h,c=typeof c!="function"&&typeof c!="symbol"&&!!c,r.checked=A?r.checked:!!c,r.defaultChecked=!!c,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(r.name=w),rd(r)}function ad(r,i,s){i==="number"&&fc(r.ownerDocument)===r||r.defaultValue===""+s||(r.defaultValue=""+s)}function _a(r,i,s,c){if(r=r.options,i){i={};for(var h=0;h<s.length;h++)i["$"+s[h]]=!0;for(s=0;s<r.length;s++)h=i.hasOwnProperty("$"+r[s].value),r[s].selected!==h&&(r[s].selected=h),h&&c&&(r[s].defaultSelected=!0)}else{for(s=""+pn(s),i=null,h=0;h<r.length;h++){if(r[h].value===s){r[h].selected=!0,c&&(r[h].defaultSelected=!0);return}i!==null||r[h].disabled||(i=r[h])}i!==null&&(i.selected=!0)}}function Gm(r,i,s){if(i!=null&&(i=""+pn(i),i!==r.value&&(r.value=i),s==null)){r.defaultValue!==i&&(r.defaultValue=i);return}r.defaultValue=s!=null?""+pn(s):""}function Vm(r,i,s,c){if(i==null){if(c!=null){if(s!=null)throw Error(a(92));if(ee(c)){if(1<c.length)throw Error(a(93));c=c[0]}s=c}s==null&&(s=""),i=s}s=pn(i),r.defaultValue=s,c=r.textContent,c===s&&c!==""&&c!==null&&(r.value=c),rd(r)}function Ca(r,i){if(i){var s=r.firstChild;if(s&&s===r.lastChild&&s.nodeType===3){s.nodeValue=i;return}}r.textContent=i}var FS=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(" "));function Km(r,i,s){var c=i.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?c?r.setProperty(i,""):i==="float"?r.cssFloat="":r[i]="":c?r.setProperty(i,s):typeof s!="number"||s===0||FS.has(i)?i==="float"?r.cssFloat=s:r[i]=(""+s).trim():r[i]=s+"px"}function Qm(r,i,s){if(i!=null&&typeof i!="object")throw Error(a(62));if(r=r.style,s!=null){for(var c in s)!s.hasOwnProperty(c)||i!=null&&i.hasOwnProperty(c)||(c.indexOf("--")===0?r.setProperty(c,""):c==="float"?r.cssFloat="":r[c]="");for(var h in i)c=i[h],i.hasOwnProperty(h)&&s[h]!==c&&Km(r,h,c)}else for(var y in i)i.hasOwnProperty(y)&&Km(r,y,i[y])}function sd(r){if(r.indexOf("-")===-1)return!1;switch(r){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}}var qS=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"]]),GS=/^[\\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;function dc(r){return GS.test(""+r)?"javascript:throw new Error(\'React has blocked a javascript: URL as a security precaution.\')":r}function Yn(){}var od=null;function ud(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Oa=null,Pa=null;function Ym(r){var i=Ta(r);if(i&&(r=i.stateNode)){var s=r[kt]||null;e:switch(r=i.stateNode,i.type){case"input":if(id(r,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),i=s.name,s.type==="radio"&&i!=null){for(s=r;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll(\'input[name="\'+yn(""+i)+\'"][type="radio"]\'),i=0;i<s.length;i++){var c=s[i];if(c!==r&&c.form===r.form){var h=c[kt]||null;if(!h)throw Error(a(90));id(c,h.value,h.defaultValue,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name)}}for(i=0;i<s.length;i++)c=s[i],c.form===r.form&&Fm(c)}break e;case"textarea":Gm(r,s.value,s.defaultValue);break e;case"select":i=s.value,i!=null&&_a(r,!!s.multiple,i,!1)}}}var cd=!1;function Zm(r,i,s){if(cd)return r(i,s);cd=!0;try{var c=r(i);return c}finally{if(cd=!1,(Oa!==null||Pa!==null)&&(Wc(),Oa&&(i=Oa,r=Pa,Pa=Oa=null,Ym(i),r)))for(i=0;i<r.length;i++)Ym(r[i])}}function Ws(r,i){var s=r.stateNode;if(s===null)return null;var c=s[kt]||null;if(c===null)return null;s=c[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(r=r.type,c=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!c;break e;default:r=!1}if(r)return null;if(s&&typeof s!="function")throw Error(a(231,i,typeof s));return s}var Zn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ld=!1;if(Zn)try{var eo={};Object.defineProperty(eo,"passive",{get:function(){ld=!0}}),window.addEventListener("test",eo,eo),window.removeEventListener("test",eo,eo)}catch{ld=!1}var $r=null,fd=null,hc=null;function Xm(){if(hc)return hc;var r,i=fd,s=i.length,c,h="value"in $r?$r.value:$r.textContent,y=h.length;for(r=0;r<s&&i[r]===h[r];r++);var w=s-r;for(c=1;c<=w&&i[s-c]===h[y-c];c++);return hc=h.slice(r,1<c?1-c:void 0)}function pc(r){var i=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&i===13&&(r=13)):r=i,r===10&&(r=13),32<=r||r===13?r:0}function yc(){return!0}function Jm(){return!1}function Dt(r){function i(s,c,h,y,w){this._reactName=s,this._targetInst=h,this.type=c,this.nativeEvent=y,this.target=w,this.currentTarget=null;for(var A in r)r.hasOwnProperty(A)&&(s=r[A],this[A]=s?s(y):y[A]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?yc:Jm,this.isPropagationStopped=Jm,this}return b(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=yc)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=yc)},persist:function(){},isPersistent:yc}),i}var Bi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mc=Dt(Bi),to=b({},Bi,{view:0,detail:0}),VS=Dt(to),dd,hd,no,bc=b({},to,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yd,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==no&&(no&&r.type==="mousemove"?(dd=r.screenX-no.screenX,hd=r.screenY-no.screenY):hd=dd=0,no=r),dd)},movementY:function(r){return"movementY"in r?r.movementY:hd}}),Wm=Dt(bc),KS=b({},bc,{dataTransfer:0}),QS=Dt(KS),YS=b({},to,{relatedTarget:0}),pd=Dt(YS),ZS=b({},Bi,{animationName:0,elapsedTime:0,pseudoElement:0}),XS=Dt(ZS),JS=b({},Bi,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),WS=Dt(JS),e8=b({},Bi,{data:0}),eb=Dt(e8),t8={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},n8={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"},r8={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function i8(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=r8[r])?!!i[r]:!1}function yd(){return i8}var a8=b({},to,{key:function(r){if(r.key){var i=t8[r.key]||r.key;if(i!=="Unidentified")return i}return r.type==="keypress"?(r=pc(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?n8[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yd,charCode:function(r){return r.type==="keypress"?pc(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?pc(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),s8=Dt(a8),o8=b({},bc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tb=Dt(o8),u8=b({},to,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yd}),c8=Dt(u8),l8=b({},Bi,{propertyName:0,elapsedTime:0,pseudoElement:0}),f8=Dt(l8),d8=b({},bc,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),h8=Dt(d8),p8=b({},Bi,{newState:0,oldState:0}),y8=Dt(p8),m8=[9,13,27,32],md=Zn&&"CompositionEvent"in window,ro=null;Zn&&"documentMode"in document&&(ro=document.documentMode);var b8=Zn&&"TextEvent"in window&&!ro,nb=Zn&&(!md||ro&&8<ro&&11>=ro),rb=" ",ib=!1;function ab(r,i){switch(r){case"keyup":return m8.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sb(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var za=!1;function g8(r,i){switch(r){case"compositionend":return sb(i);case"keypress":return i.which!==32?null:(ib=!0,rb);case"textInput":return r=i.data,r===rb&&ib?null:r;default:return null}}function v8(r,i){if(za)return r==="compositionend"||!md&&ab(r,i)?(r=Xm(),hc=fd=$r=null,za=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return nb&&i.locale!=="ko"?null:i.data;default:return null}}var w8={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};function ob(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!w8[r.type]:i==="textarea"}function ub(r,i,s,c){Oa?Pa?Pa.push(c):Pa=[c]:Oa=c,i=sl(i,"onChange"),0<i.length&&(s=new mc("onChange","change",null,s,c),r.push({event:s,listeners:i}))}var io=null,ao=null;function x8(r){qg(r,0)}function gc(r){var i=Js(r);if(Fm(i))return r}function cb(r,i){if(r==="change")return i}var lb=!1;if(Zn){var bd;if(Zn){var gd="oninput"in document;if(!gd){var fb=document.createElement("div");fb.setAttribute("oninput","return;"),gd=typeof fb.oninput=="function"}bd=gd}else bd=!1;lb=bd&&(!document.documentMode||9<document.documentMode)}function db(){io&&(io.detachEvent("onpropertychange",hb),ao=io=null)}function hb(r){if(r.propertyName==="value"&&gc(ao)){var i=[];ub(i,ao,r,ud(r)),Zm(x8,i)}}function S8(r,i,s){r==="focusin"?(db(),io=i,ao=s,io.attachEvent("onpropertychange",hb)):r==="focusout"&&db()}function E8(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return gc(ao)}function A8(r,i){if(r==="click")return gc(i)}function T8(r,i){if(r==="input"||r==="change")return gc(i)}function M8(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var an=typeof Object.is=="function"?Object.is:M8;function so(r,i){if(an(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var s=Object.keys(r),c=Object.keys(i);if(s.length!==c.length)return!1;for(c=0;c<s.length;c++){var h=s[c];if(!Oi.call(i,h)||!an(r[h],i[h]))return!1}return!0}function pb(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function yb(r,i){var s=pb(r);r=0;for(var c;s;){if(s.nodeType===3){if(c=r+s.textContent.length,r<=i&&c>=i)return{node:s,offset:i-r};r=c}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=pb(s)}}function mb(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?mb(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function bb(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var i=fc(r.document);i instanceof r.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)r=i.contentWindow;else break;i=fc(r.document)}return i}function vd(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}var R8=Zn&&"documentMode"in document&&11>=document.documentMode,Ba=null,wd=null,oo=null,xd=!1;function gb(r,i,s){var c=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;xd||Ba==null||Ba!==fc(c)||(c=Ba,"selectionStart"in c&&vd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),oo&&so(oo,c)||(oo=c,c=sl(wd,"onSelect"),0<c.length&&(i=new mc("onSelect","select",null,i,s),r.push({event:i,listeners:c}),i.target=Ba)))}function Ii(r,i){var s={};return s[r.toLowerCase()]=i.toLowerCase(),s["Webkit"+r]="webkit"+i,s["Moz"+r]="moz"+i,s}var Ia={animationend:Ii("Animation","AnimationEnd"),animationiteration:Ii("Animation","AnimationIteration"),animationstart:Ii("Animation","AnimationStart"),transitionrun:Ii("Transition","TransitionRun"),transitionstart:Ii("Transition","TransitionStart"),transitioncancel:Ii("Transition","TransitionCancel"),transitionend:Ii("Transition","TransitionEnd")},Sd={},vb={};Zn&&(vb=document.createElement("div").style,"AnimationEvent"in window||(delete Ia.animationend.animation,delete Ia.animationiteration.animation,delete Ia.animationstart.animation),"TransitionEvent"in window||delete Ia.transitionend.transition);function Ni(r){if(Sd[r])return Sd[r];if(!Ia[r])return r;var i=Ia[r],s;for(s in i)if(i.hasOwnProperty(s)&&s in vb)return Sd[r]=i[s];return r}var wb=Ni("animationend"),xb=Ni("animationiteration"),Sb=Ni("animationstart"),_8=Ni("transitionrun"),C8=Ni("transitionstart"),O8=Ni("transitioncancel"),Eb=Ni("transitionend"),Ab=new Map,Ed="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(" ");Ed.push("scrollEnd");function Cn(r,i){Ab.set(r,i),zi(i,[r])}var vc=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},mn=[],Na=0,Ad=0;function wc(){for(var r=Na,i=Ad=Na=0;i<r;){var s=mn[i];mn[i++]=null;var c=mn[i];mn[i++]=null;var h=mn[i];mn[i++]=null;var y=mn[i];if(mn[i++]=null,c!==null&&h!==null){var w=c.pending;w===null?h.next=h:(h.next=w.next,w.next=h),c.pending=h}y!==0&&Tb(s,h,y)}}function xc(r,i,s,c){mn[Na++]=r,mn[Na++]=i,mn[Na++]=s,mn[Na++]=c,Ad|=c,r.lanes|=c,r=r.alternate,r!==null&&(r.lanes|=c)}function Td(r,i,s,c){return xc(r,i,s,c),Sc(r)}function Li(r,i){return xc(r,null,null,i),Sc(r)}function Tb(r,i,s){r.lanes|=s;var c=r.alternate;c!==null&&(c.lanes|=s);for(var h=!1,y=r.return;y!==null;)y.childLanes|=s,c=y.alternate,c!==null&&(c.childLanes|=s),y.tag===22&&(r=y.stateNode,r===null||r._visibility&1||(h=!0)),r=y,y=y.return;return r.tag===3?(y=r.stateNode,h&&i!==null&&(h=31-rn(s),r=y.hiddenUpdates,c=r[h],c===null?r[h]=[i]:c.push(i),i.lane=s|536870912),y):null}function Sc(r){if(50<Oo)throw Oo=0,I0=null,Error(a(185));for(var i=r.return;i!==null;)r=i,i=r.return;return r.tag===3?r.stateNode:null}var La={};function P8(r,i,s,c){this.tag=r,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function sn(r,i,s,c){return new P8(r,i,s,c)}function Md(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Xn(r,i){var s=r.alternate;return s===null?(s=sn(r.tag,i,r.key,r.mode),s.elementType=r.elementType,s.type=r.type,s.stateNode=r.stateNode,s.alternate=r,r.alternate=s):(s.pendingProps=i,s.type=r.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=r.flags&65011712,s.childLanes=r.childLanes,s.lanes=r.lanes,s.child=r.child,s.memoizedProps=r.memoizedProps,s.memoizedState=r.memoizedState,s.updateQueue=r.updateQueue,i=r.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=r.sibling,s.index=r.index,s.ref=r.ref,s.refCleanup=r.refCleanup,s}function Mb(r,i){r.flags&=65011714;var s=r.alternate;return s===null?(r.childLanes=0,r.lanes=i,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=s.childLanes,r.lanes=s.lanes,r.child=s.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=s.memoizedProps,r.memoizedState=s.memoizedState,r.updateQueue=s.updateQueue,r.type=s.type,i=s.dependencies,r.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),r}function Ec(r,i,s,c,h,y){var w=0;if(c=r,typeof r=="function")Md(r)&&(w=1);else if(typeof r=="string")w=L4(r,s,ae.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case j:return r=sn(31,s,i,h),r.elementType=j,r.lanes=y,r;case S:return $i(s.children,h,y,i);case E:w=8,h|=24;break;case R:return r=sn(12,s,i,h|2),r.elementType=R,r.lanes=y,r;case _:return r=sn(13,s,i,h),r.elementType=_,r.lanes=y,r;case B:return r=sn(19,s,i,h),r.elementType=B,r.lanes=y,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case M:w=10;break e;case z:w=9;break e;case O:w=11;break e;case C:w=14;break e;case I:w=16,c=null;break e}w=29,s=Error(a(130,r===null?"null":typeof r,"")),c=null}return i=sn(w,s,i,h),i.elementType=r,i.type=c,i.lanes=y,i}function $i(r,i,s,c){return r=sn(7,r,c,i),r.lanes=s,r}function Rd(r,i,s){return r=sn(6,r,null,i),r.lanes=s,r}function Rb(r){var i=sn(18,null,null,0);return i.stateNode=r,i}function _d(r,i,s){return i=sn(4,r.children!==null?r.children:[],r.key,i),i.lanes=s,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}var _b=new WeakMap;function bn(r,i){if(typeof r=="object"&&r!==null){var s=_b.get(r);return s!==void 0?s:(i={value:r,source:i,stack:Kn(i)},_b.set(r,i),i)}return{value:r,source:i,stack:Kn(i)}}var $a=[],Ua=0,Ac=null,uo=0,gn=[],vn=0,Ur=null,$n=1,Un="";function Jn(r,i){$a[Ua++]=uo,$a[Ua++]=Ac,Ac=r,uo=i}function Cb(r,i,s){gn[vn++]=$n,gn[vn++]=Un,gn[vn++]=Ur,Ur=r;var c=$n;r=Un;var h=32-rn(c)-1;c&=~(1<<h),s+=1;var y=32-rn(i)+h;if(30<y){var w=h-h%5;y=(c&(1<<w)-1).toString(32),c>>=w,h-=w,$n=1<<32-rn(i)+h|s<<h|c,Un=y+r}else $n=1<<y|s<<h|c,Un=r}function Cd(r){r.return!==null&&(Jn(r,1),Cb(r,1,0))}function Od(r){for(;r===Ac;)Ac=$a[--Ua],$a[Ua]=null,uo=$a[--Ua],$a[Ua]=null;for(;r===Ur;)Ur=gn[--vn],gn[vn]=null,Un=gn[--vn],gn[vn]=null,$n=gn[--vn],gn[vn]=null}function Ob(r,i){gn[vn++]=$n,gn[vn++]=Un,gn[vn++]=Ur,$n=i.id,Un=i.overflow,Ur=r}var vt=null,Fe=null,Ce=!1,jr=null,wn=!1,Pd=Error(a(519));function kr(r){var i=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw co(bn(i,r)),Pd}function Pb(r){var i=r.stateNode,s=r.type,c=r.memoizedProps;switch(i[gt]=r,i[kt]=c,s){case"dialog":Te("cancel",i),Te("close",i);break;case"iframe":case"object":case"embed":Te("load",i);break;case"video":case"audio":for(s=0;s<zo.length;s++)Te(zo[s],i);break;case"source":Te("error",i);break;case"img":case"image":case"link":Te("error",i),Te("load",i);break;case"details":Te("toggle",i);break;case"input":Te("invalid",i),qm(i,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":Te("invalid",i);break;case"textarea":Te("invalid",i),Vm(i,c.value,c.defaultValue,c.children)}s=c.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||i.textContent===""+s||c.suppressHydrationWarning===!0||Qg(i.textContent,s)?(c.popover!=null&&(Te("beforetoggle",i),Te("toggle",i)),c.onScroll!=null&&Te("scroll",i),c.onScrollEnd!=null&&Te("scrollend",i),c.onClick!=null&&(i.onclick=Yn),i=!0):i=!1,i||kr(r,!0)}function zb(r){for(vt=r.return;vt;)switch(vt.tag){case 5:case 31:case 13:wn=!1;return;case 27:case 3:wn=!0;return;default:vt=vt.return}}function ja(r){if(r!==vt)return!1;if(!Ce)return zb(r),Ce=!0,!1;var i=r.tag,s;if((s=i!==3&&i!==27)&&((s=i===5)&&(s=r.type,s=!(s!=="form"&&s!=="button")||Y0(r.type,r.memoizedProps)),s=!s),s&&Fe&&kr(r),zb(r),i===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));Fe=rv(r)}else if(i===31){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));Fe=rv(r)}else i===27?(i=Fe,ei(r.type)?(r=eh,eh=null,Fe=r):Fe=i):Fe=vt?Sn(r.stateNode.nextSibling):null;return!0}function Ui(){Fe=vt=null,Ce=!1}function zd(){var r=jr;return r!==null&&(Gt===null?Gt=r:Gt.push.apply(Gt,r),jr=null),r}function co(r){jr===null?jr=[r]:jr.push(r)}var Bd=N(null),ji=null,Wn=null;function Dr(r,i,s){se(Bd,i._currentValue),i._currentValue=s}function er(r){r._currentValue=Bd.current,Y(Bd)}function Id(r,i,s){for(;r!==null;){var c=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),r===s)break;r=r.return}}function Nd(r,i,s,c){var h=r.child;for(h!==null&&(h.return=r);h!==null;){var y=h.dependencies;if(y!==null){var w=h.child;y=y.firstContext;e:for(;y!==null;){var A=y;y=h;for(var L=0;L<i.length;L++)if(A.context===i[L]){y.lanes|=s,A=y.alternate,A!==null&&(A.lanes|=s),Id(y.return,s,r),c||(w=null);break e}y=A.next}}else if(h.tag===18){if(w=h.return,w===null)throw Error(a(341));w.lanes|=s,y=w.alternate,y!==null&&(y.lanes|=s),Id(w,s,r),w=null}else w=h.child;if(w!==null)w.return=h;else for(w=h;w!==null;){if(w===r){w=null;break}if(h=w.sibling,h!==null){h.return=w.return,w=h;break}w=w.return}h=w}}function ka(r,i,s,c){r=null;for(var h=i,y=!1;h!==null;){if(!y){if((h.flags&524288)!==0)y=!0;else if((h.flags&262144)!==0)break}if(h.tag===10){var w=h.alternate;if(w===null)throw Error(a(387));if(w=w.memoizedProps,w!==null){var A=h.type;an(h.pendingProps.value,w.value)||(r!==null?r.push(A):r=[A])}}else if(h===we.current){if(w=h.alternate,w===null)throw Error(a(387));w.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(r!==null?r.push($o):r=[$o])}h=h.return}r!==null&&Nd(i,r,s,c),i.flags|=262144}function Tc(r){for(r=r.firstContext;r!==null;){if(!an(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function ki(r){ji=r,Wn=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function wt(r){return Bb(ji,r)}function Mc(r,i){return ji===null&&ki(r),Bb(r,i)}function Bb(r,i){var s=i._currentValue;if(i={context:i,memoizedValue:s,next:null},Wn===null){if(r===null)throw Error(a(308));Wn=i,r.dependencies={lanes:0,firstContext:i},r.flags|=524288}else Wn=Wn.next=i;return s}var z8=typeof AbortController<"u"?AbortController:function(){var r=[],i=this.signal={aborted:!1,addEventListener:function(s,c){r.push(c)}};this.abort=function(){i.aborted=!0,r.forEach(function(s){return s()})}},B8=e.unstable_scheduleCallback,I8=e.unstable_NormalPriority,nt={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ld(){return{controller:new z8,data:new Map,refCount:0}}function lo(r){r.refCount--,r.refCount===0&&B8(I8,function(){r.controller.abort()})}var fo=null,$d=0,Da=0,Ha=null;function N8(r,i){if(fo===null){var s=fo=[];$d=0,Da=k0(),Ha={status:"pending",value:void 0,then:function(c){s.push(c)}}}return $d++,i.then(Ib,Ib),i}function Ib(){if(--$d===0&&fo!==null){Ha!==null&&(Ha.status="fulfilled");var r=fo;fo=null,Da=0,Ha=null;for(var i=0;i<r.length;i++)(0,r[i])()}}function L8(r,i){var s=[],c={status:"pending",value:null,reason:null,then:function(h){s.push(h)}};return r.then(function(){c.status="fulfilled",c.value=i;for(var h=0;h<s.length;h++)(0,s[h])(i)},function(h){for(c.status="rejected",c.reason=h,h=0;h<s.length;h++)(0,s[h])(void 0)}),c}var Nb=$.S;$.S=function(r,i){gg=Mt(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&N8(r,i),Nb!==null&&Nb(r,i)};var Di=N(null);function Ud(){var r=Di.current;return r!==null?r:je.pooledCache}function Rc(r,i){i===null?se(Di,Di.current):se(Di,i.pool)}function Lb(){var r=Ud();return r===null?null:{parent:nt._currentValue,pool:r}}var Fa=Error(a(460)),jd=Error(a(474)),_c=Error(a(542)),Cc={then:function(){}};function $b(r){return r=r.status,r==="fulfilled"||r==="rejected"}function Ub(r,i,s){switch(s=r[s],s===void 0?r.push(i):s!==i&&(i.then(Yn,Yn),i=s),i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,kb(r),r;default:if(typeof i.status=="string")i.then(Yn,Yn);else{if(r=je,r!==null&&100<r.shellSuspendCounter)throw Error(a(482));r=i,r.status="pending",r.then(function(c){if(i.status==="pending"){var h=i;h.status="fulfilled",h.value=c}},function(c){if(i.status==="pending"){var h=i;h.status="rejected",h.reason=c}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,kb(r),r}throw Fi=i,Fa}}function Hi(r){try{var i=r._init;return i(r._payload)}catch(s){throw s!==null&&typeof s=="object"&&typeof s.then=="function"?(Fi=s,Fa):s}}var Fi=null;function jb(){if(Fi===null)throw Error(a(459));var r=Fi;return Fi=null,r}function kb(r){if(r===Fa||r===_c)throw Error(a(483))}var qa=null,ho=0;function Oc(r){var i=ho;return ho+=1,qa===null&&(qa=[]),Ub(qa,r,i)}function po(r,i){i=i.props.ref,r.ref=i!==void 0?i:null}function Pc(r,i){throw i.$$typeof===g?Error(a(525)):(r=Object.prototype.toString.call(i),Error(a(31,r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":r)))}function Db(r){function i(k,U){if(r){var H=k.deletions;H===null?(k.deletions=[U],k.flags|=16):H.push(U)}}function s(k,U){if(!r)return null;for(;U!==null;)i(k,U),U=U.sibling;return null}function c(k){for(var U=new Map;k!==null;)k.key!==null?U.set(k.key,k):U.set(k.index,k),k=k.sibling;return U}function h(k,U){return k=Xn(k,U),k.index=0,k.sibling=null,k}function y(k,U,H){return k.index=H,r?(H=k.alternate,H!==null?(H=H.index,H<U?(k.flags|=67108866,U):H):(k.flags|=67108866,U)):(k.flags|=1048576,U)}function w(k){return r&&k.alternate===null&&(k.flags|=67108866),k}function A(k,U,H,J){return U===null||U.tag!==6?(U=Rd(H,k.mode,J),U.return=k,U):(U=h(U,H),U.return=k,U)}function L(k,U,H,J){var me=H.type;return me===S?Z(k,U,H.props.children,J,H.key):U!==null&&(U.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===I&&Hi(me)===U.type)?(U=h(U,H.props),po(U,H),U.return=k,U):(U=Ec(H.type,H.key,H.props,null,k.mode,J),po(U,H),U.return=k,U)}function F(k,U,H,J){return U===null||U.tag!==4||U.stateNode.containerInfo!==H.containerInfo||U.stateNode.implementation!==H.implementation?(U=_d(H,k.mode,J),U.return=k,U):(U=h(U,H.children||[]),U.return=k,U)}function Z(k,U,H,J,me){return U===null||U.tag!==7?(U=$i(H,k.mode,J,me),U.return=k,U):(U=h(U,H),U.return=k,U)}function W(k,U,H){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return U=Rd(""+U,k.mode,H),U.return=k,U;if(typeof U=="object"&&U!==null){switch(U.$$typeof){case v:return H=Ec(U.type,U.key,U.props,null,k.mode,H),po(H,U),H.return=k,H;case x:return U=_d(U,k.mode,H),U.return=k,U;case I:return U=Hi(U),W(k,U,H)}if(ee(U)||X(U))return U=$i(U,k.mode,H,null),U.return=k,U;if(typeof U.then=="function")return W(k,Oc(U),H);if(U.$$typeof===M)return W(k,Mc(k,U),H);Pc(k,U)}return null}function q(k,U,H,J){var me=U!==null?U.key:null;if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return me!==null?null:A(k,U,""+H,J);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case v:return H.key===me?L(k,U,H,J):null;case x:return H.key===me?F(k,U,H,J):null;case I:return H=Hi(H),q(k,U,H,J)}if(ee(H)||X(H))return me!==null?null:Z(k,U,H,J,null);if(typeof H.then=="function")return q(k,U,Oc(H),J);if(H.$$typeof===M)return q(k,U,Mc(k,H),J);Pc(k,H)}return null}function K(k,U,H,J,me){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return k=k.get(H)||null,A(U,k,""+J,me);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case v:return k=k.get(J.key===null?H:J.key)||null,L(U,k,J,me);case x:return k=k.get(J.key===null?H:J.key)||null,F(U,k,J,me);case I:return J=Hi(J),K(k,U,H,J,me)}if(ee(J)||X(J))return k=k.get(H)||null,Z(U,k,J,me,null);if(typeof J.then=="function")return K(k,U,H,Oc(J),me);if(J.$$typeof===M)return K(k,U,H,Mc(U,J),me);Pc(U,J)}return null}function de(k,U,H,J){for(var me=null,Oe=null,pe=U,Se=U=0,Re=null;pe!==null&&Se<H.length;Se++){pe.index>Se?(Re=pe,pe=null):Re=pe.sibling;var Pe=q(k,pe,H[Se],J);if(Pe===null){pe===null&&(pe=Re);break}r&&pe&&Pe.alternate===null&&i(k,pe),U=y(Pe,U,Se),Oe===null?me=Pe:Oe.sibling=Pe,Oe=Pe,pe=Re}if(Se===H.length)return s(k,pe),Ce&&Jn(k,Se),me;if(pe===null){for(;Se<H.length;Se++)pe=W(k,H[Se],J),pe!==null&&(U=y(pe,U,Se),Oe===null?me=pe:Oe.sibling=pe,Oe=pe);return Ce&&Jn(k,Se),me}for(pe=c(pe);Se<H.length;Se++)Re=K(pe,k,Se,H[Se],J),Re!==null&&(r&&Re.alternate!==null&&pe.delete(Re.key===null?Se:Re.key),U=y(Re,U,Se),Oe===null?me=Re:Oe.sibling=Re,Oe=Re);return r&&pe.forEach(function(ai){return i(k,ai)}),Ce&&Jn(k,Se),me}function be(k,U,H,J){if(H==null)throw Error(a(151));for(var me=null,Oe=null,pe=U,Se=U=0,Re=null,Pe=H.next();pe!==null&&!Pe.done;Se++,Pe=H.next()){pe.index>Se?(Re=pe,pe=null):Re=pe.sibling;var ai=q(k,pe,Pe.value,J);if(ai===null){pe===null&&(pe=Re);break}r&&pe&&ai.alternate===null&&i(k,pe),U=y(ai,U,Se),Oe===null?me=ai:Oe.sibling=ai,Oe=ai,pe=Re}if(Pe.done)return s(k,pe),Ce&&Jn(k,Se),me;if(pe===null){for(;!Pe.done;Se++,Pe=H.next())Pe=W(k,Pe.value,J),Pe!==null&&(U=y(Pe,U,Se),Oe===null?me=Pe:Oe.sibling=Pe,Oe=Pe);return Ce&&Jn(k,Se),me}for(pe=c(pe);!Pe.done;Se++,Pe=H.next())Pe=K(pe,k,Se,Pe.value,J),Pe!==null&&(r&&Pe.alternate!==null&&pe.delete(Pe.key===null?Se:Pe.key),U=y(Pe,U,Se),Oe===null?me=Pe:Oe.sibling=Pe,Oe=Pe);return r&&pe.forEach(function(K4){return i(k,K4)}),Ce&&Jn(k,Se),me}function Ue(k,U,H,J){if(typeof H=="object"&&H!==null&&H.type===S&&H.key===null&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case v:e:{for(var me=H.key;U!==null;){if(U.key===me){if(me=H.type,me===S){if(U.tag===7){s(k,U.sibling),J=h(U,H.props.children),J.return=k,k=J;break e}}else if(U.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===I&&Hi(me)===U.type){s(k,U.sibling),J=h(U,H.props),po(J,H),J.return=k,k=J;break e}s(k,U);break}else i(k,U);U=U.sibling}H.type===S?(J=$i(H.props.children,k.mode,J,H.key),J.return=k,k=J):(J=Ec(H.type,H.key,H.props,null,k.mode,J),po(J,H),J.return=k,k=J)}return w(k);case x:e:{for(me=H.key;U!==null;){if(U.key===me)if(U.tag===4&&U.stateNode.containerInfo===H.containerInfo&&U.stateNode.implementation===H.implementation){s(k,U.sibling),J=h(U,H.children||[]),J.return=k,k=J;break e}else{s(k,U);break}else i(k,U);U=U.sibling}J=_d(H,k.mode,J),J.return=k,k=J}return w(k);case I:return H=Hi(H),Ue(k,U,H,J)}if(ee(H))return de(k,U,H,J);if(X(H)){if(me=X(H),typeof me!="function")throw Error(a(150));return H=me.call(H),be(k,U,H,J)}if(typeof H.then=="function")return Ue(k,U,Oc(H),J);if(H.$$typeof===M)return Ue(k,U,Mc(k,H),J);Pc(k,H)}return typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint"?(H=""+H,U!==null&&U.tag===6?(s(k,U.sibling),J=h(U,H),J.return=k,k=J):(s(k,U),J=Rd(H,k.mode,J),J.return=k,k=J),w(k)):s(k,U)}return function(k,U,H,J){try{ho=0;var me=Ue(k,U,H,J);return qa=null,me}catch(pe){if(pe===Fa||pe===_c)throw pe;var Oe=sn(29,pe,null,k.mode);return Oe.lanes=J,Oe.return=k,Oe}}}var qi=Db(!0),Hb=Db(!1),Hr=!1;function kd(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Dd(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function Fr(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function qr(r,i,s){var c=r.updateQueue;if(c===null)return null;if(c=c.shared,(Be&2)!==0){var h=c.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),c.pending=i,i=Sc(r),Tb(r,null,s),i}return xc(r,c,i,s),Sc(r)}function yo(r,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194048)!==0)){var c=i.lanes;c&=r.pendingLanes,s|=c,i.lanes=s,Bm(r,s)}}function Hd(r,i){var s=r.updateQueue,c=r.alternate;if(c!==null&&(c=c.updateQueue,s===c)){var h=null,y=null;if(s=s.firstBaseUpdate,s!==null){do{var w={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};y===null?h=y=w:y=y.next=w,s=s.next}while(s!==null);y===null?h=y=i:y=y.next=i}else h=y=i;s={baseState:c.baseState,firstBaseUpdate:h,lastBaseUpdate:y,shared:c.shared,callbacks:c.callbacks},r.updateQueue=s;return}r=s.lastBaseUpdate,r===null?s.firstBaseUpdate=i:r.next=i,s.lastBaseUpdate=i}var Fd=!1;function mo(){if(Fd){var r=Ha;if(r!==null)throw r}}function bo(r,i,s,c){Fd=!1;var h=r.updateQueue;Hr=!1;var y=h.firstBaseUpdate,w=h.lastBaseUpdate,A=h.shared.pending;if(A!==null){h.shared.pending=null;var L=A,F=L.next;L.next=null,w===null?y=F:w.next=F,w=L;var Z=r.alternate;Z!==null&&(Z=Z.updateQueue,A=Z.lastBaseUpdate,A!==w&&(A===null?Z.firstBaseUpdate=F:A.next=F,Z.lastBaseUpdate=L))}if(y!==null){var W=h.baseState;w=0,Z=F=L=null,A=y;do{var q=A.lane&-536870913,K=q!==A.lane;if(K?(Me&q)===q:(c&q)===q){q!==0&&q===Da&&(Fd=!0),Z!==null&&(Z=Z.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var de=r,be=A;q=i;var Ue=s;switch(be.tag){case 1:if(de=be.payload,typeof de=="function"){W=de.call(Ue,W,q);break e}W=de;break e;case 3:de.flags=de.flags&-65537|128;case 0:if(de=be.payload,q=typeof de=="function"?de.call(Ue,W,q):de,q==null)break e;W=b({},W,q);break e;case 2:Hr=!0}}q=A.callback,q!==null&&(r.flags|=64,K&&(r.flags|=8192),K=h.callbacks,K===null?h.callbacks=[q]:K.push(q))}else K={lane:q,tag:A.tag,payload:A.payload,callback:A.callback,next:null},Z===null?(F=Z=K,L=W):Z=Z.next=K,w|=q;if(A=A.next,A===null){if(A=h.shared.pending,A===null)break;K=A,A=K.next,K.next=null,h.lastBaseUpdate=K,h.shared.pending=null}}while(!0);Z===null&&(L=W),h.baseState=L,h.firstBaseUpdate=F,h.lastBaseUpdate=Z,y===null&&(h.shared.lanes=0),Yr|=w,r.lanes=w,r.memoizedState=W}}function Fb(r,i){if(typeof r!="function")throw Error(a(191,r));r.call(i)}function qb(r,i){var s=r.callbacks;if(s!==null)for(r.callbacks=null,r=0;r<s.length;r++)Fb(s[r],i)}var Ga=N(null),zc=N(0);function Gb(r,i){r=cr,se(zc,r),se(Ga,i),cr=r|i.baseLanes}function qd(){se(zc,cr),se(Ga,Ga.current)}function Gd(){cr=zc.current,Y(Ga),Y(zc)}var on=N(null),xn=null;function Gr(r){var i=r.alternate;se(Je,Je.current&1),se(on,r),xn===null&&(i===null||Ga.current!==null||i.memoizedState!==null)&&(xn=r)}function Vd(r){se(Je,Je.current),se(on,r),xn===null&&(xn=r)}function Vb(r){r.tag===22?(se(Je,Je.current),se(on,r),xn===null&&(xn=r)):Vr()}function Vr(){se(Je,Je.current),se(on,on.current)}function un(r){Y(on),xn===r&&(xn=null),Y(Je)}var Je=N(0);function Bc(r){for(var i=r;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||J0(s)||W0(s)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var tr=0,xe=null,Le=null,rt=null,Ic=!1,Va=!1,Gi=!1,Nc=0,go=0,Ka=null,$8=0;function Ye(){throw Error(a(321))}function Kd(r,i){if(i===null)return!1;for(var s=0;s<i.length&&s<r.length;s++)if(!an(r[s],i[s]))return!1;return!0}function Qd(r,i,s,c,h,y){return tr=y,xe=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,$.H=r===null||r.memoizedState===null?C1:c0,Gi=!1,y=s(c,h),Gi=!1,Va&&(y=Qb(i,s,c,h)),Kb(r),y}function Kb(r){$.H=xo;var i=Le!==null&&Le.next!==null;if(tr=0,rt=Le=xe=null,Ic=!1,go=0,Ka=null,i)throw Error(a(300));r===null||it||(r=r.dependencies,r!==null&&Tc(r)&&(it=!0))}function Qb(r,i,s,c){xe=r;var h=0;do{if(Va&&(Ka=null),go=0,Va=!1,25<=h)throw Error(a(301));if(h+=1,rt=Le=null,r.updateQueue!=null){var y=r.updateQueue;y.lastEffect=null,y.events=null,y.stores=null,y.memoCache!=null&&(y.memoCache.index=0)}$.H=O1,y=i(s,c)}while(Va);return y}function U8(){var r=$.H,i=r.useState()[0];return i=typeof i.then=="function"?vo(i):i,r=r.useState()[0],(Le!==null?Le.memoizedState:null)!==r&&(xe.flags|=1024),i}function Yd(){var r=Nc!==0;return Nc=0,r}function Zd(r,i,s){i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~s}function Xd(r){if(Ic){for(r=r.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Ic=!1}tr=0,rt=Le=xe=null,Va=!1,go=Nc=0,Ka=null}function Pt(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rt===null?xe.memoizedState=rt=r:rt=rt.next=r,rt}function We(){if(Le===null){var r=xe.alternate;r=r!==null?r.memoizedState:null}else r=Le.next;var i=rt===null?xe.memoizedState:rt.next;if(i!==null)rt=i,Le=r;else{if(r===null)throw xe.alternate===null?Error(a(467)):Error(a(310));Le=r,r={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},rt===null?xe.memoizedState=rt=r:rt=rt.next=r}return rt}function Lc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function vo(r){var i=go;return go+=1,Ka===null&&(Ka=[]),r=Ub(Ka,r,i),i=xe,(rt===null?i.memoizedState:rt.next)===null&&(i=i.alternate,$.H=i===null||i.memoizedState===null?C1:c0),r}function $c(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return vo(r);if(r.$$typeof===M)return wt(r)}throw Error(a(438,String(r)))}function Jd(r){var i=null,s=xe.updateQueue;if(s!==null&&(i=s.memoCache),i==null){var c=xe.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(i={data:c.data.map(function(h){return h.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),s===null&&(s=Lc(),xe.updateQueue=s),s.memoCache=i,s=i.data[i.index],s===void 0)for(s=i.data[i.index]=Array(r),c=0;c<r;c++)s[c]=D;return i.index++,s}function nr(r,i){return typeof i=="function"?i(r):i}function Uc(r){var i=We();return Wd(i,Le,r)}function Wd(r,i,s){var c=r.queue;if(c===null)throw Error(a(311));c.lastRenderedReducer=s;var h=r.baseQueue,y=c.pending;if(y!==null){if(h!==null){var w=h.next;h.next=y.next,y.next=w}i.baseQueue=h=y,c.pending=null}if(y=r.baseState,h===null)r.memoizedState=y;else{i=h.next;var A=w=null,L=null,F=i,Z=!1;do{var W=F.lane&-536870913;if(W!==F.lane?(Me&W)===W:(tr&W)===W){var q=F.revertLane;if(q===0)L!==null&&(L=L.next={lane:0,revertLane:0,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),W===Da&&(Z=!0);else if((tr&q)===q){F=F.next,q===Da&&(Z=!0);continue}else W={lane:0,revertLane:F.revertLane,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},L===null?(A=L=W,w=y):L=L.next=W,xe.lanes|=q,Yr|=q;W=F.action,Gi&&s(y,W),y=F.hasEagerState?F.eagerState:s(y,W)}else q={lane:W,revertLane:F.revertLane,gesture:F.gesture,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},L===null?(A=L=q,w=y):L=L.next=q,xe.lanes|=W,Yr|=W;F=F.next}while(F!==null&&F!==i);if(L===null?w=y:L.next=A,!an(y,r.memoizedState)&&(it=!0,Z&&(s=Ha,s!==null)))throw s;r.memoizedState=y,r.baseState=w,r.baseQueue=L,c.lastRenderedState=y}return h===null&&(c.lanes=0),[r.memoizedState,c.dispatch]}function e0(r){var i=We(),s=i.queue;if(s===null)throw Error(a(311));s.lastRenderedReducer=r;var c=s.dispatch,h=s.pending,y=i.memoizedState;if(h!==null){s.pending=null;var w=h=h.next;do y=r(y,w.action),w=w.next;while(w!==h);an(y,i.memoizedState)||(it=!0),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),s.lastRenderedState=y}return[y,c]}function Yb(r,i,s){var c=xe,h=We(),y=Ce;if(y){if(s===void 0)throw Error(a(407));s=s()}else s=i();var w=!an((Le||h).memoizedState,s);if(w&&(h.memoizedState=s,it=!0),h=h.queue,r0(Jb.bind(null,c,h,r),[r]),h.getSnapshot!==i||w||rt!==null&&rt.memoizedState.tag&1){if(c.flags|=2048,Qa(9,{destroy:void 0},Xb.bind(null,c,h,s,i),null),je===null)throw Error(a(349));y||(tr&127)!==0||Zb(c,i,s)}return s}function Zb(r,i,s){r.flags|=16384,r={getSnapshot:i,value:s},i=xe.updateQueue,i===null?(i=Lc(),xe.updateQueue=i,i.stores=[r]):(s=i.stores,s===null?i.stores=[r]:s.push(r))}function Xb(r,i,s,c){i.value=s,i.getSnapshot=c,Wb(i)&&e1(r)}function Jb(r,i,s){return s(function(){Wb(i)&&e1(r)})}function Wb(r){var i=r.getSnapshot;r=r.value;try{var s=i();return!an(r,s)}catch{return!0}}function e1(r){var i=Li(r,2);i!==null&&Vt(i,r,2)}function t0(r){var i=Pt();if(typeof r=="function"){var s=r;if(r=s(),Gi){Nr(!0);try{s()}finally{Nr(!1)}}}return i.memoizedState=i.baseState=r,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:nr,lastRenderedState:r},i}function t1(r,i,s,c){return r.baseState=s,Wd(r,Le,typeof c=="function"?c:nr)}function j8(r,i,s,c,h){if(Dc(r))throw Error(a(485));if(r=i.action,r!==null){var y={payload:h,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){y.listeners.push(w)}};$.T!==null?s(!0):y.isTransition=!1,c(y),s=i.pending,s===null?(y.next=i.pending=y,n1(i,y)):(y.next=s.next,i.pending=s.next=y)}}function n1(r,i){var s=i.action,c=i.payload,h=r.state;if(i.isTransition){var y=$.T,w={};$.T=w;try{var A=s(h,c),L=$.S;L!==null&&L(w,A),r1(r,i,A)}catch(F){n0(r,i,F)}finally{y!==null&&w.types!==null&&(y.types=w.types),$.T=y}}else try{y=s(h,c),r1(r,i,y)}catch(F){n0(r,i,F)}}function r1(r,i,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(c){i1(r,i,c)},function(c){return n0(r,i,c)}):i1(r,i,s)}function i1(r,i,s){i.status="fulfilled",i.value=s,a1(i),r.state=s,i=r.pending,i!==null&&(s=i.next,s===i?r.pending=null:(s=s.next,i.next=s,n1(r,s)))}function n0(r,i,s){var c=r.pending;if(r.pending=null,c!==null){c=c.next;do i.status="rejected",i.reason=s,a1(i),i=i.next;while(i!==c)}r.action=null}function a1(r){r=r.listeners;for(var i=0;i<r.length;i++)(0,r[i])()}function s1(r,i){return i}function o1(r,i){if(Ce){var s=je.formState;if(s!==null){e:{var c=xe;if(Ce){if(Fe){t:{for(var h=Fe,y=wn;h.nodeType!==8;){if(!y){h=null;break t}if(h=Sn(h.nextSibling),h===null){h=null;break t}}y=h.data,h=y==="F!"||y==="F"?h:null}if(h){Fe=Sn(h.nextSibling),c=h.data==="F!";break e}}kr(c)}c=!1}c&&(i=s[0])}}return s=Pt(),s.memoizedState=s.baseState=i,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:s1,lastRenderedState:i},s.queue=c,s=M1.bind(null,xe,c),c.dispatch=s,c=t0(!1),y=u0.bind(null,xe,!1,c.queue),c=Pt(),h={state:i,dispatch:null,action:r,pending:null},c.queue=h,s=j8.bind(null,xe,h,y,s),h.dispatch=s,c.memoizedState=r,[i,s,!1]}function u1(r){var i=We();return c1(i,Le,r)}function c1(r,i,s){if(i=Wd(r,i,s1)[0],r=Uc(nr)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var c=vo(i)}catch(w){throw w===Fa?_c:w}else c=i;i=We();var h=i.queue,y=h.dispatch;return s!==i.memoizedState&&(xe.flags|=2048,Qa(9,{destroy:void 0},k8.bind(null,h,s),null)),[c,y,r]}function k8(r,i){r.action=i}function l1(r){var i=We(),s=Le;if(s!==null)return c1(i,s,r);We(),i=i.memoizedState,s=We();var c=s.queue.dispatch;return s.memoizedState=r,[i,c,!1]}function Qa(r,i,s,c){return r={tag:r,create:s,deps:c,inst:i,next:null},i=xe.updateQueue,i===null&&(i=Lc(),xe.updateQueue=i),s=i.lastEffect,s===null?i.lastEffect=r.next=r:(c=s.next,s.next=r,r.next=c,i.lastEffect=r),r}function f1(){return We().memoizedState}function jc(r,i,s,c){var h=Pt();xe.flags|=r,h.memoizedState=Qa(1|i,{destroy:void 0},s,c===void 0?null:c)}function kc(r,i,s,c){var h=We();c=c===void 0?null:c;var y=h.memoizedState.inst;Le!==null&&c!==null&&Kd(c,Le.memoizedState.deps)?h.memoizedState=Qa(i,y,s,c):(xe.flags|=r,h.memoizedState=Qa(1|i,y,s,c))}function d1(r,i){jc(8390656,8,r,i)}function r0(r,i){kc(2048,8,r,i)}function D8(r){xe.flags|=4;var i=xe.updateQueue;if(i===null)i=Lc(),xe.updateQueue=i,i.events=[r];else{var s=i.events;s===null?i.events=[r]:s.push(r)}}function h1(r){var i=We().memoizedState;return D8({ref:i,nextImpl:r}),function(){if((Be&2)!==0)throw Error(a(440));return i.impl.apply(void 0,arguments)}}function p1(r,i){return kc(4,2,r,i)}function y1(r,i){return kc(4,4,r,i)}function m1(r,i){if(typeof i=="function"){r=r();var s=i(r);return function(){typeof s=="function"?s():i(null)}}if(i!=null)return r=r(),i.current=r,function(){i.current=null}}function b1(r,i,s){s=s!=null?s.concat([r]):null,kc(4,4,m1.bind(null,i,r),s)}function i0(){}function g1(r,i){var s=We();i=i===void 0?null:i;var c=s.memoizedState;return i!==null&&Kd(i,c[1])?c[0]:(s.memoizedState=[r,i],r)}function v1(r,i){var s=We();i=i===void 0?null:i;var c=s.memoizedState;if(i!==null&&Kd(i,c[1]))return c[0];if(c=r(),Gi){Nr(!0);try{r()}finally{Nr(!1)}}return s.memoizedState=[c,i],c}function a0(r,i,s){return s===void 0||(tr&1073741824)!==0&&(Me&261930)===0?r.memoizedState=i:(r.memoizedState=s,r=wg(),xe.lanes|=r,Yr|=r,s)}function w1(r,i,s,c){return an(s,i)?s:Ga.current!==null?(r=a0(r,s,c),an(r,i)||(it=!0),r):(tr&42)===0||(tr&1073741824)!==0&&(Me&261930)===0?(it=!0,r.memoizedState=s):(r=wg(),xe.lanes|=r,Yr|=r,i)}function x1(r,i,s,c,h){var y=G.p;G.p=y!==0&&8>y?y:8;var w=$.T,A={};$.T=A,u0(r,!1,i,s);try{var L=h(),F=$.S;if(F!==null&&F(A,L),L!==null&&typeof L=="object"&&typeof L.then=="function"){var Z=L8(L,c);wo(r,i,Z,fn(r))}else wo(r,i,c,fn(r))}catch(W){wo(r,i,{then:function(){},status:"rejected",reason:W},fn())}finally{G.p=y,w!==null&&A.types!==null&&(w.types=A.types),$.T=w}}function H8(){}function s0(r,i,s,c){if(r.tag!==5)throw Error(a(476));var h=S1(r).queue;x1(r,h,i,te,s===null?H8:function(){return E1(r),s(c)})}function S1(r){var i=r.memoizedState;if(i!==null)return i;i={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nr,lastRenderedState:te},next:null};var s={};return i.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nr,lastRenderedState:s},next:null},r.memoizedState=i,r=r.alternate,r!==null&&(r.memoizedState=i),i}function E1(r){var i=S1(r);i.next===null&&(i=r.alternate.memoizedState),wo(r,i.next.queue,{},fn())}function o0(){return wt($o)}function A1(){return We().memoizedState}function T1(){return We().memoizedState}function F8(r){for(var i=r.return;i!==null;){switch(i.tag){case 24:case 3:var s=fn();r=Fr(s);var c=qr(i,r,s);c!==null&&(Vt(c,i,s),yo(c,i,s)),i={cache:Ld()},r.payload=i;return}i=i.return}}function q8(r,i,s){var c=fn();s={lane:c,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Dc(r)?R1(i,s):(s=Td(r,i,s,c),s!==null&&(Vt(s,r,c),_1(s,i,c)))}function M1(r,i,s){var c=fn();wo(r,i,s,c)}function wo(r,i,s,c){var h={lane:c,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(Dc(r))R1(i,h);else{var y=r.alternate;if(r.lanes===0&&(y===null||y.lanes===0)&&(y=i.lastRenderedReducer,y!==null))try{var w=i.lastRenderedState,A=y(w,s);if(h.hasEagerState=!0,h.eagerState=A,an(A,w))return xc(r,i,h,0),je===null&&wc(),!1}catch{}if(s=Td(r,i,h,c),s!==null)return Vt(s,r,c),_1(s,i,c),!0}return!1}function u0(r,i,s,c){if(c={lane:2,revertLane:k0(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Dc(r)){if(i)throw Error(a(479))}else i=Td(r,s,c,2),i!==null&&Vt(i,r,2)}function Dc(r){var i=r.alternate;return r===xe||i!==null&&i===xe}function R1(r,i){Va=Ic=!0;var s=r.pending;s===null?i.next=i:(i.next=s.next,s.next=i),r.pending=i}function _1(r,i,s){if((s&4194048)!==0){var c=i.lanes;c&=r.pendingLanes,s|=c,i.lanes=s,Bm(r,s)}}var xo={readContext:wt,use:$c,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useLayoutEffect:Ye,useInsertionEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useSyncExternalStore:Ye,useId:Ye,useHostTransitionStatus:Ye,useFormState:Ye,useActionState:Ye,useOptimistic:Ye,useMemoCache:Ye,useCacheRefresh:Ye};xo.useEffectEvent=Ye;var C1={readContext:wt,use:$c,useCallback:function(r,i){return Pt().memoizedState=[r,i===void 0?null:i],r},useContext:wt,useEffect:d1,useImperativeHandle:function(r,i,s){s=s!=null?s.concat([r]):null,jc(4194308,4,m1.bind(null,i,r),s)},useLayoutEffect:function(r,i){return jc(4194308,4,r,i)},useInsertionEffect:function(r,i){jc(4,2,r,i)},useMemo:function(r,i){var s=Pt();i=i===void 0?null:i;var c=r();if(Gi){Nr(!0);try{r()}finally{Nr(!1)}}return s.memoizedState=[c,i],c},useReducer:function(r,i,s){var c=Pt();if(s!==void 0){var h=s(i);if(Gi){Nr(!0);try{s(i)}finally{Nr(!1)}}}else h=i;return c.memoizedState=c.baseState=h,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:h},c.queue=r,r=r.dispatch=q8.bind(null,xe,r),[c.memoizedState,r]},useRef:function(r){var i=Pt();return r={current:r},i.memoizedState=r},useState:function(r){r=t0(r);var i=r.queue,s=M1.bind(null,xe,i);return i.dispatch=s,[r.memoizedState,s]},useDebugValue:i0,useDeferredValue:function(r,i){var s=Pt();return a0(s,r,i)},useTransition:function(){var r=t0(!1);return r=x1.bind(null,xe,r.queue,!0,!1),Pt().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,i,s){var c=xe,h=Pt();if(Ce){if(s===void 0)throw Error(a(407));s=s()}else{if(s=i(),je===null)throw Error(a(349));(Me&127)!==0||Zb(c,i,s)}h.memoizedState=s;var y={value:s,getSnapshot:i};return h.queue=y,d1(Jb.bind(null,c,y,r),[r]),c.flags|=2048,Qa(9,{destroy:void 0},Xb.bind(null,c,y,s,i),null),s},useId:function(){var r=Pt(),i=je.identifierPrefix;if(Ce){var s=Un,c=$n;s=(c&~(1<<32-rn(c)-1)).toString(32)+s,i="_"+i+"R_"+s,s=Nc++,0<s&&(i+="H"+s.toString(32)),i+="_"}else s=$8++,i="_"+i+"r_"+s.toString(32)+"_";return r.memoizedState=i},useHostTransitionStatus:o0,useFormState:o1,useActionState:o1,useOptimistic:function(r){var i=Pt();i.memoizedState=i.baseState=r;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=s,i=u0.bind(null,xe,!0,s),s.dispatch=i,[r,i]},useMemoCache:Jd,useCacheRefresh:function(){return Pt().memoizedState=F8.bind(null,xe)},useEffectEvent:function(r){var i=Pt(),s={impl:r};return i.memoizedState=s,function(){if((Be&2)!==0)throw Error(a(440));return s.impl.apply(void 0,arguments)}}},c0={readContext:wt,use:$c,useCallback:g1,useContext:wt,useEffect:r0,useImperativeHandle:b1,useInsertionEffect:p1,useLayoutEffect:y1,useMemo:v1,useReducer:Uc,useRef:f1,useState:function(){return Uc(nr)},useDebugValue:i0,useDeferredValue:function(r,i){var s=We();return w1(s,Le.memoizedState,r,i)},useTransition:function(){var r=Uc(nr)[0],i=We().memoizedState;return[typeof r=="boolean"?r:vo(r),i]},useSyncExternalStore:Yb,useId:A1,useHostTransitionStatus:o0,useFormState:u1,useActionState:u1,useOptimistic:function(r,i){var s=We();return t1(s,Le,r,i)},useMemoCache:Jd,useCacheRefresh:T1};c0.useEffectEvent=h1;var O1={readContext:wt,use:$c,useCallback:g1,useContext:wt,useEffect:r0,useImperativeHandle:b1,useInsertionEffect:p1,useLayoutEffect:y1,useMemo:v1,useReducer:e0,useRef:f1,useState:function(){return e0(nr)},useDebugValue:i0,useDeferredValue:function(r,i){var s=We();return Le===null?a0(s,r,i):w1(s,Le.memoizedState,r,i)},useTransition:function(){var r=e0(nr)[0],i=We().memoizedState;return[typeof r=="boolean"?r:vo(r),i]},useSyncExternalStore:Yb,useId:A1,useHostTransitionStatus:o0,useFormState:l1,useActionState:l1,useOptimistic:function(r,i){var s=We();return Le!==null?t1(s,Le,r,i):(s.baseState=r,[r,s.queue.dispatch])},useMemoCache:Jd,useCacheRefresh:T1};O1.useEffectEvent=h1;function l0(r,i,s,c){i=r.memoizedState,s=s(c,i),s=s==null?i:b({},i,s),r.memoizedState=s,r.lanes===0&&(r.updateQueue.baseState=s)}var f0={enqueueSetState:function(r,i,s){r=r._reactInternals;var c=fn(),h=Fr(c);h.payload=i,s!=null&&(h.callback=s),i=qr(r,h,c),i!==null&&(Vt(i,r,c),yo(i,r,c))},enqueueReplaceState:function(r,i,s){r=r._reactInternals;var c=fn(),h=Fr(c);h.tag=1,h.payload=i,s!=null&&(h.callback=s),i=qr(r,h,c),i!==null&&(Vt(i,r,c),yo(i,r,c))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var s=fn(),c=Fr(s);c.tag=2,i!=null&&(c.callback=i),i=qr(r,c,s),i!==null&&(Vt(i,r,s),yo(i,r,s))}};function P1(r,i,s,c,h,y,w){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(c,y,w):i.prototype&&i.prototype.isPureReactComponent?!so(s,c)||!so(h,y):!0}function z1(r,i,s,c){r=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,c),i.state!==r&&f0.enqueueReplaceState(i,i.state,null)}function Vi(r,i){var s=i;if("ref"in i){s={};for(var c in i)c!=="ref"&&(s[c]=i[c])}if(r=r.defaultProps){s===i&&(s=b({},s));for(var h in r)s[h]===void 0&&(s[h]=r[h])}return s}function B1(r){vc(r)}function I1(r){console.error(r)}function N1(r){vc(r)}function Hc(r,i){try{var s=r.onUncaughtError;s(i.value,{componentStack:i.stack})}catch(c){setTimeout(function(){throw c})}}function L1(r,i,s){try{var c=r.onCaughtError;c(s.value,{componentStack:s.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function d0(r,i,s){return s=Fr(s),s.tag=3,s.payload={element:null},s.callback=function(){Hc(r,i)},s}function $1(r){return r=Fr(r),r.tag=3,r}function U1(r,i,s,c){var h=s.type.getDerivedStateFromError;if(typeof h=="function"){var y=c.value;r.payload=function(){return h(y)},r.callback=function(){L1(i,s,c)}}var w=s.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(r.callback=function(){L1(i,s,c),typeof h!="function"&&(Zr===null?Zr=new Set([this]):Zr.add(this));var A=c.stack;this.componentDidCatch(c.value,{componentStack:A!==null?A:""})})}function G8(r,i,s,c,h){if(s.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(i=s.alternate,i!==null&&ka(i,s,h,!0),s=on.current,s!==null){switch(s.tag){case 31:case 13:return xn===null?el():s.alternate===null&&Ze===0&&(Ze=3),s.flags&=-257,s.flags|=65536,s.lanes=h,c===Cc?s.flags|=16384:(i=s.updateQueue,i===null?s.updateQueue=new Set([c]):i.add(c),$0(r,c,h)),!1;case 22:return s.flags|=65536,c===Cc?s.flags|=16384:(i=s.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([c])},s.updateQueue=i):(s=i.retryQueue,s===null?i.retryQueue=new Set([c]):s.add(c)),$0(r,c,h)),!1}throw Error(a(435,s.tag))}return $0(r,c,h),el(),!1}if(Ce)return i=on.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=h,c!==Pd&&(r=Error(a(422),{cause:c}),co(bn(r,s)))):(c!==Pd&&(i=Error(a(423),{cause:c}),co(bn(i,s))),r=r.current.alternate,r.flags|=65536,h&=-h,r.lanes|=h,c=bn(c,s),h=d0(r.stateNode,c,h),Hd(r,h),Ze!==4&&(Ze=2)),!1;var y=Error(a(520),{cause:c});if(y=bn(y,s),Co===null?Co=[y]:Co.push(y),Ze!==4&&(Ze=2),i===null)return!0;c=bn(c,s),s=i;do{switch(s.tag){case 3:return s.flags|=65536,r=h&-h,s.lanes|=r,r=d0(s.stateNode,c,r),Hd(s,r),!1;case 1:if(i=s.type,y=s.stateNode,(s.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Zr===null||!Zr.has(y))))return s.flags|=65536,h&=-h,s.lanes|=h,h=$1(h),U1(h,r,s,c),Hd(s,h),!1}s=s.return}while(s!==null);return!1}var h0=Error(a(461)),it=!1;function xt(r,i,s,c){i.child=r===null?Hb(i,null,s,c):qi(i,r.child,s,c)}function j1(r,i,s,c,h){s=s.render;var y=i.ref;if("ref"in c){var w={};for(var A in c)A!=="ref"&&(w[A]=c[A])}else w=c;return ki(i),c=Qd(r,i,s,w,y,h),A=Yd(),r!==null&&!it?(Zd(r,i,h),rr(r,i,h)):(Ce&&A&&Cd(i),i.flags|=1,xt(r,i,c,h),i.child)}function k1(r,i,s,c,h){if(r===null){var y=s.type;return typeof y=="function"&&!Md(y)&&y.defaultProps===void 0&&s.compare===null?(i.tag=15,i.type=y,D1(r,i,y,c,h)):(r=Ec(s.type,null,c,i,i.mode,h),r.ref=i.ref,r.return=i,i.child=r)}if(y=r.child,!x0(r,h)){var w=y.memoizedProps;if(s=s.compare,s=s!==null?s:so,s(w,c)&&r.ref===i.ref)return rr(r,i,h)}return i.flags|=1,r=Xn(y,c),r.ref=i.ref,r.return=i,i.child=r}function D1(r,i,s,c,h){if(r!==null){var y=r.memoizedProps;if(so(y,c)&&r.ref===i.ref)if(it=!1,i.pendingProps=c=y,x0(r,h))(r.flags&131072)!==0&&(it=!0);else return i.lanes=r.lanes,rr(r,i,h)}return p0(r,i,s,c,h)}function H1(r,i,s,c){var h=c.children,y=r!==null?r.memoizedState:null;if(r===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((i.flags&128)!==0){if(y=y!==null?y.baseLanes|s:s,r!==null){for(c=i.child=r.child,h=0;c!==null;)h=h|c.lanes|c.childLanes,c=c.sibling;c=h&~y}else c=0,i.child=null;return F1(r,i,y,s,c)}if((s&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},r!==null&&Rc(i,y!==null?y.cachePool:null),y!==null?Gb(i,y):qd(),Vb(i);else return c=i.lanes=536870912,F1(r,i,y!==null?y.baseLanes|s:s,s,c)}else y!==null?(Rc(i,y.cachePool),Gb(i,y),Vr(),i.memoizedState=null):(r!==null&&Rc(i,null),qd(),Vr());return xt(r,i,h,s),i.child}function So(r,i){return r!==null&&r.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function F1(r,i,s,c,h){var y=Ud();return y=y===null?null:{parent:nt._currentValue,pool:y},i.memoizedState={baseLanes:s,cachePool:y},r!==null&&Rc(i,null),qd(),Vb(i),r!==null&&ka(r,i,c,!0),i.childLanes=h,null}function Fc(r,i){return i=Gc({mode:i.mode,children:i.children},r.mode),i.ref=r.ref,r.child=i,i.return=r,i}function q1(r,i,s){return qi(i,r.child,null,s),r=Fc(i,i.pendingProps),r.flags|=2,un(i),i.memoizedState=null,r}function V8(r,i,s){var c=i.pendingProps,h=(i.flags&128)!==0;if(i.flags&=-129,r===null){if(Ce){if(c.mode==="hidden")return r=Fc(i,c),i.lanes=536870912,So(null,r);if(Vd(i),(r=Fe)?(r=nv(r,wn),r=r!==null&&r.data==="&"?r:null,r!==null&&(i.memoizedState={dehydrated:r,treeContext:Ur!==null?{id:$n,overflow:Un}:null,retryLane:536870912,hydrationErrors:null},s=Rb(r),s.return=i,i.child=s,vt=i,Fe=null)):r=null,r===null)throw kr(i);return i.lanes=536870912,null}return Fc(i,c)}var y=r.memoizedState;if(y!==null){var w=y.dehydrated;if(Vd(i),h)if(i.flags&256)i.flags&=-257,i=q1(r,i,s);else if(i.memoizedState!==null)i.child=r.child,i.flags|=128,i=null;else throw Error(a(558));else if(it||ka(r,i,s,!1),h=(s&r.childLanes)!==0,it||h){if(c=je,c!==null&&(w=Im(c,s),w!==0&&w!==y.retryLane))throw y.retryLane=w,Li(r,w),Vt(c,r,w),h0;el(),i=q1(r,i,s)}else r=y.treeContext,Fe=Sn(w.nextSibling),vt=i,Ce=!0,jr=null,wn=!1,r!==null&&Ob(i,r),i=Fc(i,c),i.flags|=4096;return i}return r=Xn(r.child,{mode:c.mode,children:c.children}),r.ref=i.ref,i.child=r,r.return=i,r}function qc(r,i){var s=i.ref;if(s===null)r!==null&&r.ref!==null&&(i.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(a(284));(r===null||r.ref!==s)&&(i.flags|=4194816)}}function p0(r,i,s,c,h){return ki(i),s=Qd(r,i,s,c,void 0,h),c=Yd(),r!==null&&!it?(Zd(r,i,h),rr(r,i,h)):(Ce&&c&&Cd(i),i.flags|=1,xt(r,i,s,h),i.child)}function G1(r,i,s,c,h,y){return ki(i),i.updateQueue=null,s=Qb(i,c,s,h),Kb(r),c=Yd(),r!==null&&!it?(Zd(r,i,y),rr(r,i,y)):(Ce&&c&&Cd(i),i.flags|=1,xt(r,i,s,y),i.child)}function V1(r,i,s,c,h){if(ki(i),i.stateNode===null){var y=La,w=s.contextType;typeof w=="object"&&w!==null&&(y=wt(w)),y=new s(c,y),i.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,y.updater=f0,i.stateNode=y,y._reactInternals=i,y=i.stateNode,y.props=c,y.state=i.memoizedState,y.refs={},kd(i),w=s.contextType,y.context=typeof w=="object"&&w!==null?wt(w):La,y.state=i.memoizedState,w=s.getDerivedStateFromProps,typeof w=="function"&&(l0(i,s,w,c),y.state=i.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(w=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),w!==y.state&&f0.enqueueReplaceState(y,y.state,null),bo(i,c,y,h),mo(),y.state=i.memoizedState),typeof y.componentDidMount=="function"&&(i.flags|=4194308),c=!0}else if(r===null){y=i.stateNode;var A=i.memoizedProps,L=Vi(s,A);y.props=L;var F=y.context,Z=s.contextType;w=La,typeof Z=="object"&&Z!==null&&(w=wt(Z));var W=s.getDerivedStateFromProps;Z=typeof W=="function"||typeof y.getSnapshotBeforeUpdate=="function",A=i.pendingProps!==A,Z||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(A||F!==w)&&z1(i,y,c,w),Hr=!1;var q=i.memoizedState;y.state=q,bo(i,c,y,h),mo(),F=i.memoizedState,A||q!==F||Hr?(typeof W=="function"&&(l0(i,s,W,c),F=i.memoizedState),(L=Hr||P1(i,s,L,c,q,F,w))?(Z||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(i.flags|=4194308)):(typeof y.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=F),y.props=c,y.state=F,y.context=w,c=L):(typeof y.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{y=i.stateNode,Dd(r,i),w=i.memoizedProps,Z=Vi(s,w),y.props=Z,W=i.pendingProps,q=y.context,F=s.contextType,L=La,typeof F=="object"&&F!==null&&(L=wt(F)),A=s.getDerivedStateFromProps,(F=typeof A=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(w!==W||q!==L)&&z1(i,y,c,L),Hr=!1,q=i.memoizedState,y.state=q,bo(i,c,y,h),mo();var K=i.memoizedState;w!==W||q!==K||Hr||r!==null&&r.dependencies!==null&&Tc(r.dependencies)?(typeof A=="function"&&(l0(i,s,A,c),K=i.memoizedState),(Z=Hr||P1(i,s,Z,c,q,K,L)||r!==null&&r.dependencies!==null&&Tc(r.dependencies))?(F||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(c,K,L),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(c,K,L)),typeof y.componentDidUpdate=="function"&&(i.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof y.componentDidUpdate!="function"||w===r.memoizedProps&&q===r.memoizedState||(i.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===r.memoizedProps&&q===r.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=K),y.props=c,y.state=K,y.context=L,c=Z):(typeof y.componentDidUpdate!="function"||w===r.memoizedProps&&q===r.memoizedState||(i.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===r.memoizedProps&&q===r.memoizedState||(i.flags|=1024),c=!1)}return y=c,qc(r,i),c=(i.flags&128)!==0,y||c?(y=i.stateNode,s=c&&typeof s.getDerivedStateFromError!="function"?null:y.render(),i.flags|=1,r!==null&&c?(i.child=qi(i,r.child,null,h),i.child=qi(i,null,s,h)):xt(r,i,s,h),i.memoizedState=y.state,r=i.child):r=rr(r,i,h),r}function K1(r,i,s,c){return Ui(),i.flags|=256,xt(r,i,s,c),i.child}var y0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function m0(r){return{baseLanes:r,cachePool:Lb()}}function b0(r,i,s){return r=r!==null?r.childLanes&~s:0,i&&(r|=ln),r}function Q1(r,i,s){var c=i.pendingProps,h=!1,y=(i.flags&128)!==0,w;if((w=y)||(w=r!==null&&r.memoizedState===null?!1:(Je.current&2)!==0),w&&(h=!0,i.flags&=-129),w=(i.flags&32)!==0,i.flags&=-33,r===null){if(Ce){if(h?Gr(i):Vr(),(r=Fe)?(r=nv(r,wn),r=r!==null&&r.data!=="&"?r:null,r!==null&&(i.memoizedState={dehydrated:r,treeContext:Ur!==null?{id:$n,overflow:Un}:null,retryLane:536870912,hydrationErrors:null},s=Rb(r),s.return=i,i.child=s,vt=i,Fe=null)):r=null,r===null)throw kr(i);return W0(r)?i.lanes=32:i.lanes=536870912,null}var A=c.children;return c=c.fallback,h?(Vr(),h=i.mode,A=Gc({mode:"hidden",children:A},h),c=$i(c,h,s,null),A.return=i,c.return=i,A.sibling=c,i.child=A,c=i.child,c.memoizedState=m0(s),c.childLanes=b0(r,w,s),i.memoizedState=y0,So(null,c)):(Gr(i),g0(i,A))}var L=r.memoizedState;if(L!==null&&(A=L.dehydrated,A!==null)){if(y)i.flags&256?(Gr(i),i.flags&=-257,i=v0(r,i,s)):i.memoizedState!==null?(Vr(),i.child=r.child,i.flags|=128,i=null):(Vr(),A=c.fallback,h=i.mode,c=Gc({mode:"visible",children:c.children},h),A=$i(A,h,s,null),A.flags|=2,c.return=i,A.return=i,c.sibling=A,i.child=c,qi(i,r.child,null,s),c=i.child,c.memoizedState=m0(s),c.childLanes=b0(r,w,s),i.memoizedState=y0,i=So(null,c));else if(Gr(i),W0(A)){if(w=A.nextSibling&&A.nextSibling.dataset,w)var F=w.dgst;w=F,c=Error(a(419)),c.stack="",c.digest=w,co({value:c,source:null,stack:null}),i=v0(r,i,s)}else if(it||ka(r,i,s,!1),w=(s&r.childLanes)!==0,it||w){if(w=je,w!==null&&(c=Im(w,s),c!==0&&c!==L.retryLane))throw L.retryLane=c,Li(r,c),Vt(w,r,c),h0;J0(A)||el(),i=v0(r,i,s)}else J0(A)?(i.flags|=192,i.child=r.child,i=null):(r=L.treeContext,Fe=Sn(A.nextSibling),vt=i,Ce=!0,jr=null,wn=!1,r!==null&&Ob(i,r),i=g0(i,c.children),i.flags|=4096);return i}return h?(Vr(),A=c.fallback,h=i.mode,L=r.child,F=L.sibling,c=Xn(L,{mode:"hidden",children:c.children}),c.subtreeFlags=L.subtreeFlags&65011712,F!==null?A=Xn(F,A):(A=$i(A,h,s,null),A.flags|=2),A.return=i,c.return=i,c.sibling=A,i.child=c,So(null,c),c=i.child,A=r.child.memoizedState,A===null?A=m0(s):(h=A.cachePool,h!==null?(L=nt._currentValue,h=h.parent!==L?{parent:L,pool:L}:h):h=Lb(),A={baseLanes:A.baseLanes|s,cachePool:h}),c.memoizedState=A,c.childLanes=b0(r,w,s),i.memoizedState=y0,So(r.child,c)):(Gr(i),s=r.child,r=s.sibling,s=Xn(s,{mode:"visible",children:c.children}),s.return=i,s.sibling=null,r!==null&&(w=i.deletions,w===null?(i.deletions=[r],i.flags|=16):w.push(r)),i.child=s,i.memoizedState=null,s)}function g0(r,i){return i=Gc({mode:"visible",children:i},r.mode),i.return=r,r.child=i}function Gc(r,i){return r=sn(22,r,null,i),r.lanes=0,r}function v0(r,i,s){return qi(i,r.child,null,s),r=g0(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function Y1(r,i,s){r.lanes|=i;var c=r.alternate;c!==null&&(c.lanes|=i),Id(r.return,i,s)}function w0(r,i,s,c,h,y){var w=r.memoizedState;w===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:h,treeForkCount:y}:(w.isBackwards=i,w.rendering=null,w.renderingStartTime=0,w.last=c,w.tail=s,w.tailMode=h,w.treeForkCount=y)}function Z1(r,i,s){var c=i.pendingProps,h=c.revealOrder,y=c.tail;c=c.children;var w=Je.current,A=(w&2)!==0;if(A?(w=w&1|2,i.flags|=128):w&=1,se(Je,w),xt(r,i,c,s),c=Ce?uo:0,!A&&r!==null&&(r.flags&128)!==0)e:for(r=i.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Y1(r,s,i);else if(r.tag===19)Y1(r,s,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}switch(h){case"forwards":for(s=i.child,h=null;s!==null;)r=s.alternate,r!==null&&Bc(r)===null&&(h=s),s=s.sibling;s=h,s===null?(h=i.child,i.child=null):(h=s.sibling,s.sibling=null),w0(i,!1,h,s,y,c);break;case"backwards":case"unstable_legacy-backwards":for(s=null,h=i.child,i.child=null;h!==null;){if(r=h.alternate,r!==null&&Bc(r)===null){i.child=h;break}r=h.sibling,h.sibling=s,s=h,h=r}w0(i,!0,s,null,y,c);break;case"together":w0(i,!1,null,null,void 0,c);break;default:i.memoizedState=null}return i.child}function rr(r,i,s){if(r!==null&&(i.dependencies=r.dependencies),Yr|=i.lanes,(s&i.childLanes)===0)if(r!==null){if(ka(r,i,s,!1),(s&i.childLanes)===0)return null}else return null;if(r!==null&&i.child!==r.child)throw Error(a(153));if(i.child!==null){for(r=i.child,s=Xn(r,r.pendingProps),i.child=s,s.return=i;r.sibling!==null;)r=r.sibling,s=s.sibling=Xn(r,r.pendingProps),s.return=i;s.sibling=null}return i.child}function x0(r,i){return(r.lanes&i)!==0?!0:(r=r.dependencies,!!(r!==null&&Tc(r)))}function K8(r,i,s){switch(i.tag){case 3:He(i,i.stateNode.containerInfo),Dr(i,nt,r.memoizedState.cache),Ui();break;case 27:case 5:At(i);break;case 4:He(i,i.stateNode.containerInfo);break;case 10:Dr(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,Vd(i),null;break;case 13:var c=i.memoizedState;if(c!==null)return c.dehydrated!==null?(Gr(i),i.flags|=128,null):(s&i.child.childLanes)!==0?Q1(r,i,s):(Gr(i),r=rr(r,i,s),r!==null?r.sibling:null);Gr(i);break;case 19:var h=(r.flags&128)!==0;if(c=(s&i.childLanes)!==0,c||(ka(r,i,s,!1),c=(s&i.childLanes)!==0),h){if(c)return Z1(r,i,s);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),se(Je,Je.current),c)break;return null;case 22:return i.lanes=0,H1(r,i,s,i.pendingProps);case 24:Dr(i,nt,r.memoizedState.cache)}return rr(r,i,s)}function X1(r,i,s){if(r!==null)if(r.memoizedProps!==i.pendingProps)it=!0;else{if(!x0(r,s)&&(i.flags&128)===0)return it=!1,K8(r,i,s);it=(r.flags&131072)!==0}else it=!1,Ce&&(i.flags&1048576)!==0&&Cb(i,uo,i.index);switch(i.lanes=0,i.tag){case 16:e:{var c=i.pendingProps;if(r=Hi(i.elementType),i.type=r,typeof r=="function")Md(r)?(c=Vi(r,c),i.tag=1,i=V1(null,i,r,c,s)):(i.tag=0,i=p0(null,i,r,c,s));else{if(r!=null){var h=r.$$typeof;if(h===O){i.tag=11,i=j1(null,i,r,c,s);break e}else if(h===C){i.tag=14,i=k1(null,i,r,c,s);break e}}throw i=oe(r)||r,Error(a(306,i,""))}}return i;case 0:return p0(r,i,i.type,i.pendingProps,s);case 1:return c=i.type,h=Vi(c,i.pendingProps),V1(r,i,c,h,s);case 3:e:{if(He(i,i.stateNode.containerInfo),r===null)throw Error(a(387));c=i.pendingProps;var y=i.memoizedState;h=y.element,Dd(r,i),bo(i,c,null,s);var w=i.memoizedState;if(c=w.cache,Dr(i,nt,c),c!==y.cache&&Nd(i,[nt],s,!0),mo(),c=w.element,y.isDehydrated)if(y={element:c,isDehydrated:!1,cache:w.cache},i.updateQueue.baseState=y,i.memoizedState=y,i.flags&256){i=K1(r,i,c,s);break e}else if(c!==h){h=bn(Error(a(424)),i),co(h),i=K1(r,i,c,s);break e}else for(r=i.stateNode.containerInfo,r.nodeType===9?r=r.body:r=r.nodeName==="HTML"?r.ownerDocument.body:r,Fe=Sn(r.firstChild),vt=i,Ce=!0,jr=null,wn=!0,s=Hb(i,null,c,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Ui(),c===h){i=rr(r,i,s);break e}xt(r,i,c,s)}i=i.child}return i;case 26:return qc(r,i),r===null?(s=uv(i.type,null,i.pendingProps,null))?i.memoizedState=s:Ce||(s=i.type,r=i.pendingProps,c=ol(ge.current).createElement(s),c[gt]=i,c[kt]=r,St(c,s,r),ht(c),i.stateNode=c):i.memoizedState=uv(i.type,r.memoizedProps,i.pendingProps,r.memoizedState),null;case 27:return At(i),r===null&&Ce&&(c=i.stateNode=av(i.type,i.pendingProps,ge.current),vt=i,wn=!0,h=Fe,ei(i.type)?(eh=h,Fe=Sn(c.firstChild)):Fe=h),xt(r,i,i.pendingProps.children,s),qc(r,i),r===null&&(i.flags|=4194304),i.child;case 5:return r===null&&Ce&&((h=c=Fe)&&(c=E4(c,i.type,i.pendingProps,wn),c!==null?(i.stateNode=c,vt=i,Fe=Sn(c.firstChild),wn=!1,h=!0):h=!1),h||kr(i)),At(i),h=i.type,y=i.pendingProps,w=r!==null?r.memoizedProps:null,c=y.children,Y0(h,y)?c=null:w!==null&&Y0(h,w)&&(i.flags|=32),i.memoizedState!==null&&(h=Qd(r,i,U8,null,null,s),$o._currentValue=h),qc(r,i),xt(r,i,c,s),i.child;case 6:return r===null&&Ce&&((r=s=Fe)&&(s=A4(s,i.pendingProps,wn),s!==null?(i.stateNode=s,vt=i,Fe=null,r=!0):r=!1),r||kr(i)),null;case 13:return Q1(r,i,s);case 4:return He(i,i.stateNode.containerInfo),c=i.pendingProps,r===null?i.child=qi(i,null,c,s):xt(r,i,c,s),i.child;case 11:return j1(r,i,i.type,i.pendingProps,s);case 7:return xt(r,i,i.pendingProps,s),i.child;case 8:return xt(r,i,i.pendingProps.children,s),i.child;case 12:return xt(r,i,i.pendingProps.children,s),i.child;case 10:return c=i.pendingProps,Dr(i,i.type,c.value),xt(r,i,c.children,s),i.child;case 9:return h=i.type._context,c=i.pendingProps.children,ki(i),h=wt(h),c=c(h),i.flags|=1,xt(r,i,c,s),i.child;case 14:return k1(r,i,i.type,i.pendingProps,s);case 15:return D1(r,i,i.type,i.pendingProps,s);case 19:return Z1(r,i,s);case 31:return V8(r,i,s);case 22:return H1(r,i,s,i.pendingProps);case 24:return ki(i),c=wt(nt),r===null?(h=Ud(),h===null&&(h=je,y=Ld(),h.pooledCache=y,y.refCount++,y!==null&&(h.pooledCacheLanes|=s),h=y),i.memoizedState={parent:c,cache:h},kd(i),Dr(i,nt,h)):((r.lanes&s)!==0&&(Dd(r,i),bo(i,null,null,s),mo()),h=r.memoizedState,y=i.memoizedState,h.parent!==c?(h={parent:c,cache:c},i.memoizedState=h,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=h),Dr(i,nt,c)):(c=y.cache,Dr(i,nt,c),c!==h.cache&&Nd(i,[nt],s,!0))),xt(r,i,i.pendingProps.children,s),i.child;case 29:throw i.pendingProps}throw Error(a(156,i.tag))}function ir(r){r.flags|=4}function S0(r,i,s,c,h){if((i=(r.mode&32)!==0)&&(i=!1),i){if(r.flags|=16777216,(h&335544128)===h)if(r.stateNode.complete)r.flags|=8192;else if(Ag())r.flags|=8192;else throw Fi=Cc,jd}else r.flags&=-16777217}function J1(r,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!hv(i))if(Ag())r.flags|=8192;else throw Fi=Cc,jd}function Vc(r,i){i!==null&&(r.flags|=4),r.flags&16384&&(i=r.tag!==22?Pm():536870912,r.lanes|=i,Ja|=i)}function Eo(r,i){if(!Ce)switch(r.tailMode){case"hidden":i=r.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?r.tail=null:s.sibling=null;break;case"collapsed":s=r.tail;for(var c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?i||r.tail===null?r.tail=null:r.tail.sibling=null:c.sibling=null}}function qe(r){var i=r.alternate!==null&&r.alternate.child===r.child,s=0,c=0;if(i)for(var h=r.child;h!==null;)s|=h.lanes|h.childLanes,c|=h.subtreeFlags&65011712,c|=h.flags&65011712,h.return=r,h=h.sibling;else for(h=r.child;h!==null;)s|=h.lanes|h.childLanes,c|=h.subtreeFlags,c|=h.flags,h.return=r,h=h.sibling;return r.subtreeFlags|=c,r.childLanes=s,i}function Q8(r,i,s){var c=i.pendingProps;switch(Od(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qe(i),null;case 1:return qe(i),null;case 3:return s=i.stateNode,c=null,r!==null&&(c=r.memoizedState.cache),i.memoizedState.cache!==c&&(i.flags|=2048),er(nt),_e(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(r===null||r.child===null)&&(ja(i)?ir(i):r===null||r.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,zd())),qe(i),null;case 26:var h=i.type,y=i.memoizedState;return r===null?(ir(i),y!==null?(qe(i),J1(i,y)):(qe(i),S0(i,h,null,c,s))):y?y!==r.memoizedState?(ir(i),qe(i),J1(i,y)):(qe(i),i.flags&=-16777217):(r=r.memoizedProps,r!==c&&ir(i),qe(i),S0(i,h,r,c,s)),null;case 27:if(en(i),s=ge.current,h=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==c&&ir(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return qe(i),null}r=ae.current,ja(i)?Pb(i):(r=av(h,c,s),i.stateNode=r,ir(i))}return qe(i),null;case 5:if(en(i),h=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==c&&ir(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return qe(i),null}if(y=ae.current,ja(i))Pb(i);else{var w=ol(ge.current);switch(y){case 1:y=w.createElementNS("http://www.w3.org/2000/svg",h);break;case 2:y=w.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;default:switch(h){case"svg":y=w.createElementNS("http://www.w3.org/2000/svg",h);break;case"math":y=w.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;case"script":y=w.createElement("div"),y.innerHTML="<script><\\/script>",y=y.removeChild(y.firstChild);break;case"select":y=typeof c.is=="string"?w.createElement("select",{is:c.is}):w.createElement("select"),c.multiple?y.multiple=!0:c.size&&(y.size=c.size);break;default:y=typeof c.is=="string"?w.createElement(h,{is:c.is}):w.createElement(h)}}y[gt]=i,y[kt]=c;e:for(w=i.child;w!==null;){if(w.tag===5||w.tag===6)y.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===i)break e;for(;w.sibling===null;){if(w.return===null||w.return===i)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}i.stateNode=y;e:switch(St(y,h,c),h){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&ir(i)}}return qe(i),S0(i,i.type,r===null?null:r.memoizedProps,i.pendingProps,s),null;case 6:if(r&&i.stateNode!=null)r.memoizedProps!==c&&ir(i);else{if(typeof c!="string"&&i.stateNode===null)throw Error(a(166));if(r=ge.current,ja(i)){if(r=i.stateNode,s=i.memoizedProps,c=null,h=vt,h!==null)switch(h.tag){case 27:case 5:c=h.memoizedProps}r[gt]=i,r=!!(r.nodeValue===s||c!==null&&c.suppressHydrationWarning===!0||Qg(r.nodeValue,s)),r||kr(i,!0)}else r=ol(r).createTextNode(c),r[gt]=i,i.stateNode=r}return qe(i),null;case 31:if(s=i.memoizedState,r===null||r.memoizedState!==null){if(c=ja(i),s!==null){if(r===null){if(!c)throw Error(a(318));if(r=i.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(557));r[gt]=i}else Ui(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;qe(i),r=!1}else s=zd(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=s),r=!0;if(!r)return i.flags&256?(un(i),i):(un(i),null);if((i.flags&128)!==0)throw Error(a(558))}return qe(i),null;case 13:if(c=i.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(h=ja(i),c!==null&&c.dehydrated!==null){if(r===null){if(!h)throw Error(a(318));if(h=i.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(a(317));h[gt]=i}else Ui(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;qe(i),h=!1}else h=zd(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=h),h=!0;if(!h)return i.flags&256?(un(i),i):(un(i),null)}return un(i),(i.flags&128)!==0?(i.lanes=s,i):(s=c!==null,r=r!==null&&r.memoizedState!==null,s&&(c=i.child,h=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(h=c.alternate.memoizedState.cachePool.pool),y=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(y=c.memoizedState.cachePool.pool),y!==h&&(c.flags|=2048)),s!==r&&s&&(i.child.flags|=8192),Vc(i,i.updateQueue),qe(i),null);case 4:return _e(),r===null&&q0(i.stateNode.containerInfo),qe(i),null;case 10:return er(i.type),qe(i),null;case 19:if(Y(Je),c=i.memoizedState,c===null)return qe(i),null;if(h=(i.flags&128)!==0,y=c.rendering,y===null)if(h)Eo(c,!1);else{if(Ze!==0||r!==null&&(r.flags&128)!==0)for(r=i.child;r!==null;){if(y=Bc(r),y!==null){for(i.flags|=128,Eo(c,!1),r=y.updateQueue,i.updateQueue=r,Vc(i,r),i.subtreeFlags=0,r=s,s=i.child;s!==null;)Mb(s,r),s=s.sibling;return se(Je,Je.current&1|2),Ce&&Jn(i,c.treeForkCount),i.child}r=r.sibling}c.tail!==null&&Mt()>Xc&&(i.flags|=128,h=!0,Eo(c,!1),i.lanes=4194304)}else{if(!h)if(r=Bc(y),r!==null){if(i.flags|=128,h=!0,r=r.updateQueue,i.updateQueue=r,Vc(i,r),Eo(c,!0),c.tail===null&&c.tailMode==="hidden"&&!y.alternate&&!Ce)return qe(i),null}else 2*Mt()-c.renderingStartTime>Xc&&s!==536870912&&(i.flags|=128,h=!0,Eo(c,!1),i.lanes=4194304);c.isBackwards?(y.sibling=i.child,i.child=y):(r=c.last,r!==null?r.sibling=y:i.child=y,c.last=y)}return c.tail!==null?(r=c.tail,c.rendering=r,c.tail=r.sibling,c.renderingStartTime=Mt(),r.sibling=null,s=Je.current,se(Je,h?s&1|2:s&1),Ce&&Jn(i,c.treeForkCount),r):(qe(i),null);case 22:case 23:return un(i),Gd(),c=i.memoizedState!==null,r!==null?r.memoizedState!==null!==c&&(i.flags|=8192):c&&(i.flags|=8192),c?(s&536870912)!==0&&(i.flags&128)===0&&(qe(i),i.subtreeFlags&6&&(i.flags|=8192)):qe(i),s=i.updateQueue,s!==null&&Vc(i,s.retryQueue),s=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(s=r.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==s&&(i.flags|=2048),r!==null&&Y(Di),null;case 24:return s=null,r!==null&&(s=r.memoizedState.cache),i.memoizedState.cache!==s&&(i.flags|=2048),er(nt),qe(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function Y8(r,i){switch(Od(i),i.tag){case 1:return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return er(nt),_e(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 26:case 27:case 5:return en(i),null;case 31:if(i.memoizedState!==null){if(un(i),i.alternate===null)throw Error(a(340));Ui()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 13:if(un(i),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(a(340));Ui()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return Y(Je),null;case 4:return _e(),null;case 10:return er(i.type),null;case 22:case 23:return un(i),Gd(),r!==null&&Y(Di),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 24:return er(nt),null;case 25:return null;default:return null}}function W1(r,i){switch(Od(i),i.tag){case 3:er(nt),_e();break;case 26:case 27:case 5:en(i);break;case 4:_e();break;case 31:i.memoizedState!==null&&un(i);break;case 13:un(i);break;case 19:Y(Je);break;case 10:er(i.type);break;case 22:case 23:un(i),Gd(),r!==null&&Y(Di);break;case 24:er(nt)}}function Ao(r,i){try{var s=i.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var h=c.next;s=h;do{if((s.tag&r)===r){c=void 0;var y=s.create,w=s.inst;c=y(),w.destroy=c}s=s.next}while(s!==h)}}catch(A){Ne(i,i.return,A)}}function Kr(r,i,s){try{var c=i.updateQueue,h=c!==null?c.lastEffect:null;if(h!==null){var y=h.next;c=y;do{if((c.tag&r)===r){var w=c.inst,A=w.destroy;if(A!==void 0){w.destroy=void 0,h=i;var L=s,F=A;try{F()}catch(Z){Ne(h,L,Z)}}}c=c.next}while(c!==y)}}catch(Z){Ne(i,i.return,Z)}}function eg(r){var i=r.updateQueue;if(i!==null){var s=r.stateNode;try{qb(i,s)}catch(c){Ne(r,r.return,c)}}}function tg(r,i,s){s.props=Vi(r.type,r.memoizedProps),s.state=r.memoizedState;try{s.componentWillUnmount()}catch(c){Ne(r,i,c)}}function To(r,i){try{var s=r.ref;if(s!==null){switch(r.tag){case 26:case 27:case 5:var c=r.stateNode;break;case 30:c=r.stateNode;break;default:c=r.stateNode}typeof s=="function"?r.refCleanup=s(c):s.current=c}}catch(h){Ne(r,i,h)}}function jn(r,i){var s=r.ref,c=r.refCleanup;if(s!==null)if(typeof c=="function")try{c()}catch(h){Ne(r,i,h)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(h){Ne(r,i,h)}else s.current=null}function ng(r){var i=r.type,s=r.memoizedProps,c=r.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":s.autoFocus&&c.focus();break e;case"img":s.src?c.src=s.src:s.srcSet&&(c.srcset=s.srcSet)}}catch(h){Ne(r,r.return,h)}}function E0(r,i,s){try{var c=r.stateNode;b4(c,r.type,s,i),c[kt]=i}catch(h){Ne(r,r.return,h)}}function rg(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&ei(r.type)||r.tag===4}function A0(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||rg(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&ei(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function T0(r,i,s){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(r,i):(i=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,i.appendChild(r),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=Yn));else if(c!==4&&(c===27&&ei(r.type)&&(s=r.stateNode,i=null),r=r.child,r!==null))for(T0(r,i,s),r=r.sibling;r!==null;)T0(r,i,s),r=r.sibling}function Kc(r,i,s){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?s.insertBefore(r,i):s.appendChild(r);else if(c!==4&&(c===27&&ei(r.type)&&(s=r.stateNode),r=r.child,r!==null))for(Kc(r,i,s),r=r.sibling;r!==null;)Kc(r,i,s),r=r.sibling}function ig(r){var i=r.stateNode,s=r.memoizedProps;try{for(var c=r.type,h=i.attributes;h.length;)i.removeAttributeNode(h[0]);St(i,c,s),i[gt]=r,i[kt]=s}catch(y){Ne(r,r.return,y)}}var ar=!1,at=!1,M0=!1,ag=typeof WeakSet=="function"?WeakSet:Set,pt=null;function Z8(r,i){if(r=r.containerInfo,K0=pl,r=bb(r),vd(r)){if("selectionStart"in r)var s={start:r.selectionStart,end:r.selectionEnd};else e:{s=(s=r.ownerDocument)&&s.defaultView||window;var c=s.getSelection&&s.getSelection();if(c&&c.rangeCount!==0){s=c.anchorNode;var h=c.anchorOffset,y=c.focusNode;c=c.focusOffset;try{s.nodeType,y.nodeType}catch{s=null;break e}var w=0,A=-1,L=-1,F=0,Z=0,W=r,q=null;t:for(;;){for(var K;W!==s||h!==0&&W.nodeType!==3||(A=w+h),W!==y||c!==0&&W.nodeType!==3||(L=w+c),W.nodeType===3&&(w+=W.nodeValue.length),(K=W.firstChild)!==null;)q=W,W=K;for(;;){if(W===r)break t;if(q===s&&++F===h&&(A=w),q===y&&++Z===c&&(L=w),(K=W.nextSibling)!==null)break;W=q,q=W.parentNode}W=K}s=A===-1||L===-1?null:{start:A,end:L}}else s=null}s=s||{start:0,end:0}}else s=null;for(Q0={focusedElem:r,selectionRange:s},pl=!1,pt=i;pt!==null;)if(i=pt,r=i.child,(i.subtreeFlags&1028)!==0&&r!==null)r.return=i,pt=r;else for(;pt!==null;){switch(i=pt,y=i.alternate,r=i.flags,i.tag){case 0:if((r&4)!==0&&(r=i.updateQueue,r=r!==null?r.events:null,r!==null))for(s=0;s<r.length;s++)h=r[s],h.ref.impl=h.nextImpl;break;case 11:case 15:break;case 1:if((r&1024)!==0&&y!==null){r=void 0,s=i,h=y.memoizedProps,y=y.memoizedState,c=s.stateNode;try{var de=Vi(s.type,h);r=c.getSnapshotBeforeUpdate(de,y),c.__reactInternalSnapshotBeforeUpdate=r}catch(be){Ne(s,s.return,be)}}break;case 3:if((r&1024)!==0){if(r=i.stateNode.containerInfo,s=r.nodeType,s===9)X0(r);else if(s===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":X0(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(a(163))}if(r=i.sibling,r!==null){r.return=i.return,pt=r;break}pt=i.return}}function sg(r,i,s){var c=s.flags;switch(s.tag){case 0:case 11:case 15:or(r,s),c&4&&Ao(5,s);break;case 1:if(or(r,s),c&4)if(r=s.stateNode,i===null)try{r.componentDidMount()}catch(w){Ne(s,s.return,w)}else{var h=Vi(s.type,i.memoizedProps);i=i.memoizedState;try{r.componentDidUpdate(h,i,r.__reactInternalSnapshotBeforeUpdate)}catch(w){Ne(s,s.return,w)}}c&64&&eg(s),c&512&&To(s,s.return);break;case 3:if(or(r,s),c&64&&(r=s.updateQueue,r!==null)){if(i=null,s.child!==null)switch(s.child.tag){case 27:case 5:i=s.child.stateNode;break;case 1:i=s.child.stateNode}try{qb(r,i)}catch(w){Ne(s,s.return,w)}}break;case 27:i===null&&c&4&&ig(s);case 26:case 5:or(r,s),i===null&&c&4&&ng(s),c&512&&To(s,s.return);break;case 12:or(r,s);break;case 31:or(r,s),c&4&&cg(r,s);break;case 13:or(r,s),c&4&&lg(r,s),c&64&&(r=s.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(s=a4.bind(null,s),T4(r,s))));break;case 22:if(c=s.memoizedState!==null||ar,!c){i=i!==null&&i.memoizedState!==null||at,h=ar;var y=at;ar=c,(at=i)&&!y?ur(r,s,(s.subtreeFlags&8772)!==0):or(r,s),ar=h,at=y}break;case 30:break;default:or(r,s)}}function og(r){var i=r.alternate;i!==null&&(r.alternate=null,og(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&nd(i)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var Ge=null,Ht=!1;function sr(r,i,s){for(s=s.child;s!==null;)ug(r,i,s),s=s.sibling}function ug(r,i,s){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(Qs,s)}catch{}switch(s.tag){case 26:at||jn(s,i),sr(r,i,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:at||jn(s,i);var c=Ge,h=Ht;ei(s.type)&&(Ge=s.stateNode,Ht=!1),sr(r,i,s),Io(s.stateNode),Ge=c,Ht=h;break;case 5:at||jn(s,i);case 6:if(c=Ge,h=Ht,Ge=null,sr(r,i,s),Ge=c,Ht=h,Ge!==null)if(Ht)try{(Ge.nodeType===9?Ge.body:Ge.nodeName==="HTML"?Ge.ownerDocument.body:Ge).removeChild(s.stateNode)}catch(y){Ne(s,i,y)}else try{Ge.removeChild(s.stateNode)}catch(y){Ne(s,i,y)}break;case 18:Ge!==null&&(Ht?(r=Ge,ev(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,s.stateNode),ss(r)):ev(Ge,s.stateNode));break;case 4:c=Ge,h=Ht,Ge=s.stateNode.containerInfo,Ht=!0,sr(r,i,s),Ge=c,Ht=h;break;case 0:case 11:case 14:case 15:Kr(2,s,i),at||Kr(4,s,i),sr(r,i,s);break;case 1:at||(jn(s,i),c=s.stateNode,typeof c.componentWillUnmount=="function"&&tg(s,i,c)),sr(r,i,s);break;case 21:sr(r,i,s);break;case 22:at=(c=at)||s.memoizedState!==null,sr(r,i,s),at=c;break;default:sr(r,i,s)}}function cg(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null))){r=r.dehydrated;try{ss(r)}catch(s){Ne(i,i.return,s)}}}function lg(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{ss(r)}catch(s){Ne(i,i.return,s)}}function X8(r){switch(r.tag){case 31:case 13:case 19:var i=r.stateNode;return i===null&&(i=r.stateNode=new ag),i;case 22:return r=r.stateNode,i=r._retryCache,i===null&&(i=r._retryCache=new ag),i;default:throw Error(a(435,r.tag))}}function Qc(r,i){var s=X8(r);i.forEach(function(c){if(!s.has(c)){s.add(c);var h=s4.bind(null,r,c);c.then(h,h)}})}function Ft(r,i){var s=i.deletions;if(s!==null)for(var c=0;c<s.length;c++){var h=s[c],y=r,w=i,A=w;e:for(;A!==null;){switch(A.tag){case 27:if(ei(A.type)){Ge=A.stateNode,Ht=!1;break e}break;case 5:Ge=A.stateNode,Ht=!1;break e;case 3:case 4:Ge=A.stateNode.containerInfo,Ht=!0;break e}A=A.return}if(Ge===null)throw Error(a(160));ug(y,w,h),Ge=null,Ht=!1,y=h.alternate,y!==null&&(y.return=null),h.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)fg(i,r),i=i.sibling}var On=null;function fg(r,i){var s=r.alternate,c=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:Ft(i,r),qt(r),c&4&&(Kr(3,r,r.return),Ao(3,r),Kr(5,r,r.return));break;case 1:Ft(i,r),qt(r),c&512&&(at||s===null||jn(s,s.return)),c&64&&ar&&(r=r.updateQueue,r!==null&&(c=r.callbacks,c!==null&&(s=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=s===null?c:s.concat(c))));break;case 26:var h=On;if(Ft(i,r),qt(r),c&512&&(at||s===null||jn(s,s.return)),c&4){var y=s!==null?s.memoizedState:null;if(c=r.memoizedState,s===null)if(c===null)if(r.stateNode===null){e:{c=r.type,s=r.memoizedProps,h=h.ownerDocument||h;t:switch(c){case"title":y=h.getElementsByTagName("title")[0],(!y||y[Xs]||y[gt]||y.namespaceURI==="http://www.w3.org/2000/svg"||y.hasAttribute("itemprop"))&&(y=h.createElement(c),h.head.insertBefore(y,h.querySelector("head > title"))),St(y,c,s),y[gt]=r,ht(y),c=y;break e;case"link":var w=fv("link","href",h).get(c+(s.href||""));if(w){for(var A=0;A<w.length;A++)if(y=w[A],y.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&y.getAttribute("rel")===(s.rel==null?null:s.rel)&&y.getAttribute("title")===(s.title==null?null:s.title)&&y.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){w.splice(A,1);break t}}y=h.createElement(c),St(y,c,s),h.head.appendChild(y);break;case"meta":if(w=fv("meta","content",h).get(c+(s.content||""))){for(A=0;A<w.length;A++)if(y=w[A],y.getAttribute("content")===(s.content==null?null:""+s.content)&&y.getAttribute("name")===(s.name==null?null:s.name)&&y.getAttribute("property")===(s.property==null?null:s.property)&&y.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&y.getAttribute("charset")===(s.charSet==null?null:s.charSet)){w.splice(A,1);break t}}y=h.createElement(c),St(y,c,s),h.head.appendChild(y);break;default:throw Error(a(468,c))}y[gt]=r,ht(y),c=y}r.stateNode=c}else dv(h,r.type,r.stateNode);else r.stateNode=lv(h,c,r.memoizedProps);else y!==c?(y===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):y.count--,c===null?dv(h,r.type,r.stateNode):lv(h,c,r.memoizedProps)):c===null&&r.stateNode!==null&&E0(r,r.memoizedProps,s.memoizedProps)}break;case 27:Ft(i,r),qt(r),c&512&&(at||s===null||jn(s,s.return)),s!==null&&c&4&&E0(r,r.memoizedProps,s.memoizedProps);break;case 5:if(Ft(i,r),qt(r),c&512&&(at||s===null||jn(s,s.return)),r.flags&32){h=r.stateNode;try{Ca(h,"")}catch(de){Ne(r,r.return,de)}}c&4&&r.stateNode!=null&&(h=r.memoizedProps,E0(r,h,s!==null?s.memoizedProps:h)),c&1024&&(M0=!0);break;case 6:if(Ft(i,r),qt(r),c&4){if(r.stateNode===null)throw Error(a(162));c=r.memoizedProps,s=r.stateNode;try{s.nodeValue=c}catch(de){Ne(r,r.return,de)}}break;case 3:if(ll=null,h=On,On=ul(i.containerInfo),Ft(i,r),On=h,qt(r),c&4&&s!==null&&s.memoizedState.isDehydrated)try{ss(i.containerInfo)}catch(de){Ne(r,r.return,de)}M0&&(M0=!1,dg(r));break;case 4:c=On,On=ul(r.stateNode.containerInfo),Ft(i,r),qt(r),On=c;break;case 12:Ft(i,r),qt(r);break;case 31:Ft(i,r),qt(r),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Qc(r,c)));break;case 13:Ft(i,r),qt(r),r.child.flags&8192&&r.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(Zc=Mt()),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Qc(r,c)));break;case 22:h=r.memoizedState!==null;var L=s!==null&&s.memoizedState!==null,F=ar,Z=at;if(ar=F||h,at=Z||L,Ft(i,r),at=Z,ar=F,qt(r),c&8192)e:for(i=r.stateNode,i._visibility=h?i._visibility&-2:i._visibility|1,h&&(s===null||L||ar||at||Ki(r)),s=null,i=r;;){if(i.tag===5||i.tag===26){if(s===null){L=s=i;try{if(y=L.stateNode,h)w=y.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{A=L.stateNode;var W=L.memoizedProps.style,q=W!=null&&W.hasOwnProperty("display")?W.display:null;A.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(de){Ne(L,L.return,de)}}}else if(i.tag===6){if(s===null){L=i;try{L.stateNode.nodeValue=h?"":L.memoizedProps}catch(de){Ne(L,L.return,de)}}}else if(i.tag===18){if(s===null){L=i;try{var K=L.stateNode;h?tv(K,!0):tv(L.stateNode,!1)}catch(de){Ne(L,L.return,de)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===r)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break e;for(;i.sibling===null;){if(i.return===null||i.return===r)break e;s===i&&(s=null),i=i.return}s===i&&(s=null),i.sibling.return=i.return,i=i.sibling}c&4&&(c=r.updateQueue,c!==null&&(s=c.retryQueue,s!==null&&(c.retryQueue=null,Qc(r,s))));break;case 19:Ft(i,r),qt(r),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Qc(r,c)));break;case 30:break;case 21:break;default:Ft(i,r),qt(r)}}function qt(r){var i=r.flags;if(i&2){try{for(var s,c=r.return;c!==null;){if(rg(c)){s=c;break}c=c.return}if(s==null)throw Error(a(160));switch(s.tag){case 27:var h=s.stateNode,y=A0(r);Kc(r,y,h);break;case 5:var w=s.stateNode;s.flags&32&&(Ca(w,""),s.flags&=-33);var A=A0(r);Kc(r,A,w);break;case 3:case 4:var L=s.stateNode.containerInfo,F=A0(r);T0(r,F,L);break;default:throw Error(a(161))}}catch(Z){Ne(r,r.return,Z)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function dg(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var i=r;dg(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),r=r.sibling}}function or(r,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)sg(r,i.alternate,i),i=i.sibling}function Ki(r){for(r=r.child;r!==null;){var i=r;switch(i.tag){case 0:case 11:case 14:case 15:Kr(4,i,i.return),Ki(i);break;case 1:jn(i,i.return);var s=i.stateNode;typeof s.componentWillUnmount=="function"&&tg(i,i.return,s),Ki(i);break;case 27:Io(i.stateNode);case 26:case 5:jn(i,i.return),Ki(i);break;case 22:i.memoizedState===null&&Ki(i);break;case 30:Ki(i);break;default:Ki(i)}r=r.sibling}}function ur(r,i,s){for(s=s&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var c=i.alternate,h=r,y=i,w=y.flags;switch(y.tag){case 0:case 11:case 15:ur(h,y,s),Ao(4,y);break;case 1:if(ur(h,y,s),c=y,h=c.stateNode,typeof h.componentDidMount=="function")try{h.componentDidMount()}catch(F){Ne(c,c.return,F)}if(c=y,h=c.updateQueue,h!==null){var A=c.stateNode;try{var L=h.shared.hiddenCallbacks;if(L!==null)for(h.shared.hiddenCallbacks=null,h=0;h<L.length;h++)Fb(L[h],A)}catch(F){Ne(c,c.return,F)}}s&&w&64&&eg(y),To(y,y.return);break;case 27:ig(y);case 26:case 5:ur(h,y,s),s&&c===null&&w&4&&ng(y),To(y,y.return);break;case 12:ur(h,y,s);break;case 31:ur(h,y,s),s&&w&4&&cg(h,y);break;case 13:ur(h,y,s),s&&w&4&&lg(h,y);break;case 22:y.memoizedState===null&&ur(h,y,s),To(y,y.return);break;case 30:break;default:ur(h,y,s)}i=i.sibling}}function R0(r,i){var s=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(s=r.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==s&&(r!=null&&r.refCount++,s!=null&&lo(s))}function _0(r,i){r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&lo(r))}function Pn(r,i,s,c){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)hg(r,i,s,c),i=i.sibling}function hg(r,i,s,c){var h=i.flags;switch(i.tag){case 0:case 11:case 15:Pn(r,i,s,c),h&2048&&Ao(9,i);break;case 1:Pn(r,i,s,c);break;case 3:Pn(r,i,s,c),h&2048&&(r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&lo(r)));break;case 12:if(h&2048){Pn(r,i,s,c),r=i.stateNode;try{var y=i.memoizedProps,w=y.id,A=y.onPostCommit;typeof A=="function"&&A(w,i.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(L){Ne(i,i.return,L)}}else Pn(r,i,s,c);break;case 31:Pn(r,i,s,c);break;case 13:Pn(r,i,s,c);break;case 23:break;case 22:y=i.stateNode,w=i.alternate,i.memoizedState!==null?y._visibility&2?Pn(r,i,s,c):Mo(r,i):y._visibility&2?Pn(r,i,s,c):(y._visibility|=2,Ya(r,i,s,c,(i.subtreeFlags&10256)!==0||!1)),h&2048&&R0(w,i);break;case 24:Pn(r,i,s,c),h&2048&&_0(i.alternate,i);break;default:Pn(r,i,s,c)}}function Ya(r,i,s,c,h){for(h=h&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var y=r,w=i,A=s,L=c,F=w.flags;switch(w.tag){case 0:case 11:case 15:Ya(y,w,A,L,h),Ao(8,w);break;case 23:break;case 22:var Z=w.stateNode;w.memoizedState!==null?Z._visibility&2?Ya(y,w,A,L,h):Mo(y,w):(Z._visibility|=2,Ya(y,w,A,L,h)),h&&F&2048&&R0(w.alternate,w);break;case 24:Ya(y,w,A,L,h),h&&F&2048&&_0(w.alternate,w);break;default:Ya(y,w,A,L,h)}i=i.sibling}}function Mo(r,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var s=r,c=i,h=c.flags;switch(c.tag){case 22:Mo(s,c),h&2048&&R0(c.alternate,c);break;case 24:Mo(s,c),h&2048&&_0(c.alternate,c);break;default:Mo(s,c)}i=i.sibling}}var Ro=8192;function Za(r,i,s){if(r.subtreeFlags&Ro)for(r=r.child;r!==null;)pg(r,i,s),r=r.sibling}function pg(r,i,s){switch(r.tag){case 26:Za(r,i,s),r.flags&Ro&&r.memoizedState!==null&&$4(s,On,r.memoizedState,r.memoizedProps);break;case 5:Za(r,i,s);break;case 3:case 4:var c=On;On=ul(r.stateNode.containerInfo),Za(r,i,s),On=c;break;case 22:r.memoizedState===null&&(c=r.alternate,c!==null&&c.memoizedState!==null?(c=Ro,Ro=16777216,Za(r,i,s),Ro=c):Za(r,i,s));break;default:Za(r,i,s)}}function yg(r){var i=r.alternate;if(i!==null&&(r=i.child,r!==null)){i.child=null;do i=r.sibling,r.sibling=null,r=i;while(r!==null)}}function _o(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var s=0;s<i.length;s++){var c=i[s];pt=c,bg(c,r)}yg(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)mg(r),r=r.sibling}function mg(r){switch(r.tag){case 0:case 11:case 15:_o(r),r.flags&2048&&Kr(9,r,r.return);break;case 3:_o(r);break;case 12:_o(r);break;case 22:var i=r.stateNode;r.memoizedState!==null&&i._visibility&2&&(r.return===null||r.return.tag!==13)?(i._visibility&=-3,Yc(r)):_o(r);break;default:_o(r)}}function Yc(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var s=0;s<i.length;s++){var c=i[s];pt=c,bg(c,r)}yg(r)}for(r=r.child;r!==null;){switch(i=r,i.tag){case 0:case 11:case 15:Kr(8,i,i.return),Yc(i);break;case 22:s=i.stateNode,s._visibility&2&&(s._visibility&=-3,Yc(i));break;default:Yc(i)}r=r.sibling}}function bg(r,i){for(;pt!==null;){var s=pt;switch(s.tag){case 0:case 11:case 15:Kr(8,s,i);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var c=s.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:lo(s.memoizedState.cache)}if(c=s.child,c!==null)c.return=s,pt=c;else e:for(s=r;pt!==null;){c=pt;var h=c.sibling,y=c.return;if(og(c),c===s){pt=null;break e}if(h!==null){h.return=y,pt=h;break e}pt=y}}}var J8={getCacheForType:function(r){var i=wt(nt),s=i.data.get(r);return s===void 0&&(s=r(),i.data.set(r,s)),s},cacheSignal:function(){return wt(nt).controller.signal}},W8=typeof WeakMap=="function"?WeakMap:Map,Be=0,je=null,Ae=null,Me=0,Ie=0,cn=null,Qr=!1,Xa=!1,C0=!1,cr=0,Ze=0,Yr=0,Qi=0,O0=0,ln=0,Ja=0,Co=null,Gt=null,P0=!1,Zc=0,gg=0,Xc=1/0,Jc=null,Zr=null,ot=0,Xr=null,Wa=null,lr=0,z0=0,B0=null,vg=null,Oo=0,I0=null;function fn(){return(Be&2)!==0&&Me!==0?Me&-Me:$.T!==null?k0():Nm()}function wg(){if(ln===0)if((Me&536870912)===0||Ce){var r=sc;sc<<=1,(sc&3932160)===0&&(sc=262144),ln=r}else ln=536870912;return r=on.current,r!==null&&(r.flags|=32),ln}function Vt(r,i,s){(r===je&&(Ie===2||Ie===9)||r.cancelPendingCommit!==null)&&(es(r,0),Jr(r,Me,ln,!1)),Zs(r,s),((Be&2)===0||r!==je)&&(r===je&&((Be&2)===0&&(Qi|=s),Ze===4&&Jr(r,Me,ln,!1)),kn(r))}function xg(r,i,s){if((Be&6)!==0)throw Error(a(327));var c=!s&&(i&127)===0&&(i&r.expiredLanes)===0||Ys(r,i),h=c?n4(r,i):L0(r,i,!0),y=c;do{if(h===0){Xa&&!c&&Jr(r,i,0,!1);break}else{if(s=r.current.alternate,y&&!e4(s)){h=L0(r,i,!1),y=!1;continue}if(h===2){if(y=i,r.errorRecoveryDisabledLanes&y)var w=0;else w=r.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){i=w;e:{var A=r;h=Co;var L=A.current.memoizedState.isDehydrated;if(L&&(es(A,w).flags|=256),w=L0(A,w,!1),w!==2){if(C0&&!L){A.errorRecoveryDisabledLanes|=y,Qi|=y,h=4;break e}y=Gt,Gt=h,y!==null&&(Gt===null?Gt=y:Gt.push.apply(Gt,y))}h=w}if(y=!1,h!==2)continue}}if(h===1){es(r,0),Jr(r,i,0,!0);break}e:{switch(c=r,y=h,y){case 0:case 1:throw Error(a(345));case 4:if((i&4194048)!==i)break;case 6:Jr(c,i,ln,!Qr);break e;case 2:Gt=null;break;case 3:case 5:break;default:throw Error(a(329))}if((i&62914560)===i&&(h=Zc+300-Mt(),10<h)){if(Jr(c,i,ln,!Qr),uc(c,0,!0)!==0)break e;lr=i,c.timeoutHandle=Jg(Sg.bind(null,c,s,Gt,Jc,P0,i,ln,Qi,Ja,Qr,y,"Throttled",-0,0),h);break e}Sg(c,s,Gt,Jc,P0,i,ln,Qi,Ja,Qr,y,null,-0,0)}}break}while(!0);kn(r)}function Sg(r,i,s,c,h,y,w,A,L,F,Z,W,q,K){if(r.timeoutHandle=-1,W=i.subtreeFlags,W&8192||(W&16785408)===16785408){W={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Yn},pg(i,y,W);var de=(y&62914560)===y?Zc-Mt():(y&4194048)===y?gg-Mt():0;if(de=U4(W,de),de!==null){lr=y,r.cancelPendingCommit=de(Og.bind(null,r,i,y,s,c,h,w,A,L,Z,W,null,q,K)),Jr(r,y,w,!F);return}}Og(r,i,y,s,c,h,w,A,L)}function e4(r){for(var i=r;;){var s=i.tag;if((s===0||s===11||s===15)&&i.flags&16384&&(s=i.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var c=0;c<s.length;c++){var h=s[c],y=h.getSnapshot;h=h.value;try{if(!an(y(),h))return!1}catch{return!1}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Jr(r,i,s,c){i&=~O0,i&=~Qi,r.suspendedLanes|=i,r.pingedLanes&=~i,c&&(r.warmLanes|=i),c=r.expirationTimes;for(var h=i;0<h;){var y=31-rn(h),w=1<<y;c[y]=-1,h&=~w}s!==0&&zm(r,s,i)}function Wc(){return(Be&6)===0?(Po(0),!1):!0}function N0(){if(Ae!==null){if(Ie===0)var r=Ae.return;else r=Ae,Wn=ji=null,Xd(r),qa=null,ho=0,r=Ae;for(;r!==null;)W1(r.alternate,r),r=r.return;Ae=null}}function es(r,i){var s=r.timeoutHandle;s!==-1&&(r.timeoutHandle=-1,w4(s)),s=r.cancelPendingCommit,s!==null&&(r.cancelPendingCommit=null,s()),lr=0,N0(),je=r,Ae=s=Xn(r.current,null),Me=i,Ie=0,cn=null,Qr=!1,Xa=Ys(r,i),C0=!1,Ja=ln=O0=Qi=Yr=Ze=0,Gt=Co=null,P0=!1,(i&8)!==0&&(i|=i&32);var c=r.entangledLanes;if(c!==0)for(r=r.entanglements,c&=i;0<c;){var h=31-rn(c),y=1<<h;i|=r[h],c&=~y}return cr=i,wc(),s}function Eg(r,i){xe=null,$.H=xo,i===Fa||i===_c?(i=jb(),Ie=3):i===jd?(i=jb(),Ie=4):Ie=i===h0?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,cn=i,Ae===null&&(Ze=1,Hc(r,bn(i,r.current)))}function Ag(){var r=on.current;return r===null?!0:(Me&4194048)===Me?xn===null:(Me&62914560)===Me||(Me&536870912)!==0?r===xn:!1}function Tg(){var r=$.H;return $.H=xo,r===null?xo:r}function Mg(){var r=$.A;return $.A=J8,r}function el(){Ze=4,Qr||(Me&4194048)!==Me&&on.current!==null||(Xa=!0),(Yr&134217727)===0&&(Qi&134217727)===0||je===null||Jr(je,Me,ln,!1)}function L0(r,i,s){var c=Be;Be|=2;var h=Tg(),y=Mg();(je!==r||Me!==i)&&(Jc=null,es(r,i)),i=!1;var w=Ze;e:do try{if(Ie!==0&&Ae!==null){var A=Ae,L=cn;switch(Ie){case 8:N0(),w=6;break e;case 3:case 2:case 9:case 6:on.current===null&&(i=!0);var F=Ie;if(Ie=0,cn=null,ts(r,A,L,F),s&&Xa){w=0;break e}break;default:F=Ie,Ie=0,cn=null,ts(r,A,L,F)}}t4(),w=Ze;break}catch(Z){Eg(r,Z)}while(!0);return i&&r.shellSuspendCounter++,Wn=ji=null,Be=c,$.H=h,$.A=y,Ae===null&&(je=null,Me=0,wc()),w}function t4(){for(;Ae!==null;)Rg(Ae)}function n4(r,i){var s=Be;Be|=2;var c=Tg(),h=Mg();je!==r||Me!==i?(Jc=null,Xc=Mt()+500,es(r,i)):Xa=Ys(r,i);e:do try{if(Ie!==0&&Ae!==null){i=Ae;var y=cn;t:switch(Ie){case 1:Ie=0,cn=null,ts(r,i,y,1);break;case 2:case 9:if($b(y)){Ie=0,cn=null,_g(i);break}i=function(){Ie!==2&&Ie!==9||je!==r||(Ie=7),kn(r)},y.then(i,i);break e;case 3:Ie=7;break e;case 4:Ie=5;break e;case 7:$b(y)?(Ie=0,cn=null,_g(i)):(Ie=0,cn=null,ts(r,i,y,7));break;case 5:var w=null;switch(Ae.tag){case 26:w=Ae.memoizedState;case 5:case 27:var A=Ae;if(w?hv(w):A.stateNode.complete){Ie=0,cn=null;var L=A.sibling;if(L!==null)Ae=L;else{var F=A.return;F!==null?(Ae=F,tl(F)):Ae=null}break t}}Ie=0,cn=null,ts(r,i,y,5);break;case 6:Ie=0,cn=null,ts(r,i,y,6);break;case 8:N0(),Ze=6;break e;default:throw Error(a(462))}}r4();break}catch(Z){Eg(r,Z)}while(!0);return Wn=ji=null,$.H=c,$.A=h,Be=s,Ae!==null?0:(je=null,Me=0,wc(),Ze)}function r4(){for(;Ae!==null&&!ic();)Rg(Ae)}function Rg(r){var i=X1(r.alternate,r,cr);r.memoizedProps=r.pendingProps,i===null?tl(r):Ae=i}function _g(r){var i=r,s=i.alternate;switch(i.tag){case 15:case 0:i=G1(s,i,i.pendingProps,i.type,void 0,Me);break;case 11:i=G1(s,i,i.pendingProps,i.type.render,i.ref,Me);break;case 5:Xd(i);default:W1(s,i),i=Ae=Mb(i,cr),i=X1(s,i,cr)}r.memoizedProps=r.pendingProps,i===null?tl(r):Ae=i}function ts(r,i,s,c){Wn=ji=null,Xd(i),qa=null,ho=0;var h=i.return;try{if(G8(r,h,i,s,Me)){Ze=1,Hc(r,bn(s,r.current)),Ae=null;return}}catch(y){if(h!==null)throw Ae=h,y;Ze=1,Hc(r,bn(s,r.current)),Ae=null;return}i.flags&32768?(Ce||c===1?r=!0:Xa||(Me&536870912)!==0?r=!1:(Qr=r=!0,(c===2||c===9||c===3||c===6)&&(c=on.current,c!==null&&c.tag===13&&(c.flags|=16384))),Cg(i,r)):tl(i)}function tl(r){var i=r;do{if((i.flags&32768)!==0){Cg(i,Qr);return}r=i.return;var s=Q8(i.alternate,i,cr);if(s!==null){Ae=s;return}if(i=i.sibling,i!==null){Ae=i;return}Ae=i=r}while(i!==null);Ze===0&&(Ze=5)}function Cg(r,i){do{var s=Y8(r.alternate,r);if(s!==null){s.flags&=32767,Ae=s;return}if(s=r.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!i&&(r=r.sibling,r!==null)){Ae=r;return}Ae=r=s}while(r!==null);Ze=6,Ae=null}function Og(r,i,s,c,h,y,w,A,L){r.cancelPendingCommit=null;do nl();while(ot!==0);if((Be&6)!==0)throw Error(a(327));if(i!==null){if(i===r.current)throw Error(a(177));if(y=i.lanes|i.childLanes,y|=Ad,LS(r,s,y,w,A,L),r===je&&(Ae=je=null,Me=0),Wa=i,Xr=r,lr=s,z0=y,B0=h,vg=c,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,o4(Sa,function(){return Ng(),null})):(r.callbackNode=null,r.callbackPriority=0),c=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||c){c=$.T,$.T=null,h=G.p,G.p=2,w=Be,Be|=4;try{Z8(r,i,s)}finally{Be=w,G.p=h,$.T=c}}ot=1,Pg(),zg(),Bg()}}function Pg(){if(ot===1){ot=0;var r=Xr,i=Wa,s=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||s){s=$.T,$.T=null;var c=G.p;G.p=2;var h=Be;Be|=4;try{fg(i,r);var y=Q0,w=bb(r.containerInfo),A=y.focusedElem,L=y.selectionRange;if(w!==A&&A&&A.ownerDocument&&mb(A.ownerDocument.documentElement,A)){if(L!==null&&vd(A)){var F=L.start,Z=L.end;if(Z===void 0&&(Z=F),"selectionStart"in A)A.selectionStart=F,A.selectionEnd=Math.min(Z,A.value.length);else{var W=A.ownerDocument||document,q=W&&W.defaultView||window;if(q.getSelection){var K=q.getSelection(),de=A.textContent.length,be=Math.min(L.start,de),Ue=L.end===void 0?be:Math.min(L.end,de);!K.extend&&be>Ue&&(w=Ue,Ue=be,be=w);var k=yb(A,be),U=yb(A,Ue);if(k&&U&&(K.rangeCount!==1||K.anchorNode!==k.node||K.anchorOffset!==k.offset||K.focusNode!==U.node||K.focusOffset!==U.offset)){var H=W.createRange();H.setStart(k.node,k.offset),K.removeAllRanges(),be>Ue?(K.addRange(H),K.extend(U.node,U.offset)):(H.setEnd(U.node,U.offset),K.addRange(H))}}}}for(W=[],K=A;K=K.parentNode;)K.nodeType===1&&W.push({element:K,left:K.scrollLeft,top:K.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;A<W.length;A++){var J=W[A];J.element.scrollLeft=J.left,J.element.scrollTop=J.top}}pl=!!K0,Q0=K0=null}finally{Be=h,G.p=c,$.T=s}}r.current=i,ot=2}}function zg(){if(ot===2){ot=0;var r=Xr,i=Wa,s=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||s){s=$.T,$.T=null;var c=G.p;G.p=2;var h=Be;Be|=4;try{sg(r,i.alternate,i)}finally{Be=h,G.p=c,$.T=s}}ot=3}}function Bg(){if(ot===4||ot===3){ot=0,Xf();var r=Xr,i=Wa,s=lr,c=vg;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?ot=5:(ot=0,Wa=Xr=null,Ig(r,r.pendingLanes));var h=r.pendingLanes;if(h===0&&(Zr=null),ed(s),i=i.stateNode,nn&&typeof nn.onCommitFiberRoot=="function")try{nn.onCommitFiberRoot(Qs,i,void 0,(i.current.flags&128)===128)}catch{}if(c!==null){i=$.T,h=G.p,G.p=2,$.T=null;try{for(var y=r.onRecoverableError,w=0;w<c.length;w++){var A=c[w];y(A.value,{componentStack:A.stack})}}finally{$.T=i,G.p=h}}(lr&3)!==0&&nl(),kn(r),h=r.pendingLanes,(s&261930)!==0&&(h&42)!==0?r===I0?Oo++:(Oo=0,I0=r):Oo=0,Po(0)}}function Ig(r,i){(r.pooledCacheLanes&=i)===0&&(i=r.pooledCache,i!=null&&(r.pooledCache=null,lo(i)))}function nl(){return Pg(),zg(),Bg(),Ng()}function Ng(){if(ot!==5)return!1;var r=Xr,i=z0;z0=0;var s=ed(lr),c=$.T,h=G.p;try{G.p=32>s?32:s,$.T=null,s=B0,B0=null;var y=Xr,w=lr;if(ot=0,Wa=Xr=null,lr=0,(Be&6)!==0)throw Error(a(331));var A=Be;if(Be|=4,mg(y.current),hg(y,y.current,w,s),Be=A,Po(0,!1),nn&&typeof nn.onPostCommitFiberRoot=="function")try{nn.onPostCommitFiberRoot(Qs,y)}catch{}return!0}finally{G.p=h,$.T=c,Ig(r,i)}}function Lg(r,i,s){i=bn(s,i),i=d0(r.stateNode,i,2),r=qr(r,i,2),r!==null&&(Zs(r,2),kn(r))}function Ne(r,i,s){if(r.tag===3)Lg(r,r,s);else for(;i!==null;){if(i.tag===3){Lg(i,r,s);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Zr===null||!Zr.has(c))){r=bn(s,r),s=$1(2),c=qr(i,s,2),c!==null&&(U1(s,c,i,r),Zs(c,2),kn(c));break}}i=i.return}}function $0(r,i,s){var c=r.pingCache;if(c===null){c=r.pingCache=new W8;var h=new Set;c.set(i,h)}else h=c.get(i),h===void 0&&(h=new Set,c.set(i,h));h.has(s)||(C0=!0,h.add(s),r=i4.bind(null,r,i,s),i.then(r,r))}function i4(r,i,s){var c=r.pingCache;c!==null&&c.delete(i),r.pingedLanes|=r.suspendedLanes&s,r.warmLanes&=~s,je===r&&(Me&s)===s&&(Ze===4||Ze===3&&(Me&62914560)===Me&&300>Mt()-Zc?(Be&2)===0&&es(r,0):O0|=s,Ja===Me&&(Ja=0)),kn(r)}function $g(r,i){i===0&&(i=Pm()),r=Li(r,i),r!==null&&(Zs(r,i),kn(r))}function a4(r){var i=r.memoizedState,s=0;i!==null&&(s=i.retryLane),$g(r,s)}function s4(r,i){var s=0;switch(r.tag){case 31:case 13:var c=r.stateNode,h=r.memoizedState;h!==null&&(s=h.retryLane);break;case 19:c=r.stateNode;break;case 22:c=r.stateNode._retryCache;break;default:throw Error(a(314))}c!==null&&c.delete(i),$g(r,s)}function o4(r,i){return _n(r,i)}var rl=null,ns=null,U0=!1,il=!1,j0=!1,Wr=0;function kn(r){r!==ns&&r.next===null&&(ns===null?rl=ns=r:ns=ns.next=r),il=!0,U0||(U0=!0,c4())}function Po(r,i){if(!j0&&il){j0=!0;do for(var s=!1,c=rl;c!==null;){if(r!==0){var h=c.pendingLanes;if(h===0)var y=0;else{var w=c.suspendedLanes,A=c.pingedLanes;y=(1<<31-rn(42|r)+1)-1,y&=h&~(w&~A),y=y&201326741?y&201326741|1:y?y|2:0}y!==0&&(s=!0,Dg(c,y))}else y=Me,y=uc(c,c===je?y:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(y&3)===0||Ys(c,y)||(s=!0,Dg(c,y));c=c.next}while(s);j0=!1}}function u4(){Ug()}function Ug(){il=U0=!1;var r=0;Wr!==0&&v4()&&(r=Wr);for(var i=Mt(),s=null,c=rl;c!==null;){var h=c.next,y=jg(c,i);y===0?(c.next=null,s===null?rl=h:s.next=h,h===null&&(ns=s)):(s=c,(r!==0||(y&3)!==0)&&(il=!0)),c=h}ot!==0&&ot!==5||Po(r),Wr!==0&&(Wr=0)}function jg(r,i){for(var s=r.suspendedLanes,c=r.pingedLanes,h=r.expirationTimes,y=r.pendingLanes&-62914561;0<y;){var w=31-rn(y),A=1<<w,L=h[w];L===-1?((A&s)===0||(A&c)!==0)&&(h[w]=NS(A,i)):L<=i&&(r.expiredLanes|=A),y&=~A}if(i=je,s=Me,s=uc(r,r===i?s:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c=r.callbackNode,s===0||r===i&&(Ie===2||Ie===9)||r.cancelPendingCommit!==null)return c!==null&&c!==null&&Ks(c),r.callbackNode=null,r.callbackPriority=0;if((s&3)===0||Ys(r,s)){if(i=s&-s,i===r.callbackPriority)return i;switch(c!==null&&Ks(c),ed(s)){case 2:case 8:s=Ln;break;case 32:s=Sa;break;case 268435456:s=Om;break;default:s=Sa}return c=kg.bind(null,r),s=_n(s,c),r.callbackPriority=i,r.callbackNode=s,i}return c!==null&&c!==null&&Ks(c),r.callbackPriority=2,r.callbackNode=null,2}function kg(r,i){if(ot!==0&&ot!==5)return r.callbackNode=null,r.callbackPriority=0,null;var s=r.callbackNode;if(nl()&&r.callbackNode!==s)return null;var c=Me;return c=uc(r,r===je?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c===0?null:(xg(r,c,i),jg(r,Mt()),r.callbackNode!=null&&r.callbackNode===s?kg.bind(null,r):null)}function Dg(r,i){if(nl())return null;xg(r,i,!0)}function c4(){x4(function(){(Be&6)!==0?_n(bt,u4):Ug()})}function k0(){if(Wr===0){var r=Da;r===0&&(r=ac,ac<<=1,(ac&261888)===0&&(ac=256)),Wr=r}return Wr}function Hg(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:dc(""+r)}function Fg(r,i){var s=i.ownerDocument.createElement("input");return s.name=i.name,s.value=i.value,r.id&&s.setAttribute("form",r.id),i.parentNode.insertBefore(s,i),r=new FormData(r),s.parentNode.removeChild(s),r}function l4(r,i,s,c,h){if(i==="submit"&&s&&s.stateNode===h){var y=Hg((h[kt]||null).action),w=c.submitter;w&&(i=(i=w[kt]||null)?Hg(i.formAction):w.getAttribute("formAction"),i!==null&&(y=i,w=null));var A=new mc("action","action",null,c,h);r.push({event:A,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Wr!==0){var L=w?Fg(h,w):new FormData(h);s0(s,{pending:!0,data:L,method:h.method,action:y},null,L)}}else typeof y=="function"&&(A.preventDefault(),L=w?Fg(h,w):new FormData(h),s0(s,{pending:!0,data:L,method:h.method,action:y},y,L))},currentTarget:h}]})}}for(var D0=0;D0<Ed.length;D0++){var H0=Ed[D0],f4=H0.toLowerCase(),d4=H0[0].toUpperCase()+H0.slice(1);Cn(f4,"on"+d4)}Cn(wb,"onAnimationEnd"),Cn(xb,"onAnimationIteration"),Cn(Sb,"onAnimationStart"),Cn("dblclick","onDoubleClick"),Cn("focusin","onFocus"),Cn("focusout","onBlur"),Cn(_8,"onTransitionRun"),Cn(C8,"onTransitionStart"),Cn(O8,"onTransitionCancel"),Cn(Eb,"onTransitionEnd"),Ra("onMouseEnter",["mouseout","mouseover"]),Ra("onMouseLeave",["mouseout","mouseover"]),Ra("onPointerEnter",["pointerout","pointerover"]),Ra("onPointerLeave",["pointerout","pointerover"]),zi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),zi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),zi("onBeforeInput",["compositionend","keypress","textInput","paste"]),zi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),zi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),zi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zo="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(" "),h4=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zo));function qg(r,i){i=(i&4)!==0;for(var s=0;s<r.length;s++){var c=r[s],h=c.event;c=c.listeners;e:{var y=void 0;if(i)for(var w=c.length-1;0<=w;w--){var A=c[w],L=A.instance,F=A.currentTarget;if(A=A.listener,L!==y&&h.isPropagationStopped())break e;y=A,h.currentTarget=F;try{y(h)}catch(Z){vc(Z)}h.currentTarget=null,y=L}else for(w=0;w<c.length;w++){if(A=c[w],L=A.instance,F=A.currentTarget,A=A.listener,L!==y&&h.isPropagationStopped())break e;y=A,h.currentTarget=F;try{y(h)}catch(Z){vc(Z)}h.currentTarget=null,y=L}}}}function Te(r,i){var s=i[td];s===void 0&&(s=i[td]=new Set);var c=r+"__bubble";s.has(c)||(Gg(i,r,2,!1),s.add(c))}function F0(r,i,s){var c=0;i&&(c|=4),Gg(s,r,c,i)}var al="_reactListening"+Math.random().toString(36).slice(2);function q0(r){if(!r[al]){r[al]=!0,Um.forEach(function(s){s!=="selectionchange"&&(h4.has(s)||F0(s,!1,r),F0(s,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[al]||(i[al]=!0,F0("selectionchange",!1,i))}}function Gg(r,i,s,c){switch(wv(i)){case 2:var h=D4;break;case 8:h=H4;break;default:h=ah}s=h.bind(null,i,s,r),h=void 0,!ld||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),c?h!==void 0?r.addEventListener(i,s,{capture:!0,passive:h}):r.addEventListener(i,s,!0):h!==void 0?r.addEventListener(i,s,{passive:h}):r.addEventListener(i,s,!1)}function G0(r,i,s,c,h){var y=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var w=c.tag;if(w===3||w===4){var A=c.stateNode.containerInfo;if(A===h)break;if(w===4)for(w=c.return;w!==null;){var L=w.tag;if((L===3||L===4)&&w.stateNode.containerInfo===h)return;w=w.return}for(;A!==null;){if(w=Aa(A),w===null)return;if(L=w.tag,L===5||L===6||L===26||L===27){c=y=w;continue e}A=A.parentNode}}c=c.return}Zm(function(){var F=y,Z=ud(s),W=[];e:{var q=Ab.get(r);if(q!==void 0){var K=mc,de=r;switch(r){case"keypress":if(pc(s)===0)break e;case"keydown":case"keyup":K=s8;break;case"focusin":de="focus",K=pd;break;case"focusout":de="blur",K=pd;break;case"beforeblur":case"afterblur":K=pd;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":K=Wm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=QS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=c8;break;case wb:case xb:case Sb:K=XS;break;case Eb:K=f8;break;case"scroll":case"scrollend":K=VS;break;case"wheel":K=h8;break;case"copy":case"cut":case"paste":K=WS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=tb;break;case"toggle":case"beforetoggle":K=y8}var be=(i&4)!==0,Ue=!be&&(r==="scroll"||r==="scrollend"),k=be?q!==null?q+"Capture":null:q;be=[];for(var U=F,H;U!==null;){var J=U;if(H=J.stateNode,J=J.tag,J!==5&&J!==26&&J!==27||H===null||k===null||(J=Ws(U,k),J!=null&&be.push(Bo(U,J,H))),Ue)break;U=U.return}0<be.length&&(q=new K(q,de,null,s,Z),W.push({event:q,listeners:be}))}}if((i&7)===0){e:{if(q=r==="mouseover"||r==="pointerover",K=r==="mouseout"||r==="pointerout",q&&s!==od&&(de=s.relatedTarget||s.fromElement)&&(Aa(de)||de[Ea]))break e;if((K||q)&&(q=Z.window===Z?Z:(q=Z.ownerDocument)?q.defaultView||q.parentWindow:window,K?(de=s.relatedTarget||s.toElement,K=F,de=de?Aa(de):null,de!==null&&(Ue=u(de),be=de.tag,de!==Ue||be!==5&&be!==27&&be!==6)&&(de=null)):(K=null,de=F),K!==de)){if(be=Wm,J="onMouseLeave",k="onMouseEnter",U="mouse",(r==="pointerout"||r==="pointerover")&&(be=tb,J="onPointerLeave",k="onPointerEnter",U="pointer"),Ue=K==null?q:Js(K),H=de==null?q:Js(de),q=new be(J,U+"leave",K,s,Z),q.target=Ue,q.relatedTarget=H,J=null,Aa(Z)===F&&(be=new be(k,U+"enter",de,s,Z),be.target=H,be.relatedTarget=Ue,J=be),Ue=J,K&&de)t:{for(be=p4,k=K,U=de,H=0,J=k;J;J=be(J))H++;J=0;for(var me=U;me;me=be(me))J++;for(;0<H-J;)k=be(k),H--;for(;0<J-H;)U=be(U),J--;for(;H--;){if(k===U||U!==null&&k===U.alternate){be=k;break t}k=be(k),U=be(U)}be=null}else be=null;K!==null&&Vg(W,q,K,be,!1),de!==null&&Ue!==null&&Vg(W,Ue,de,be,!0)}}e:{if(q=F?Js(F):window,K=q.nodeName&&q.nodeName.toLowerCase(),K==="select"||K==="input"&&q.type==="file")var Oe=cb;else if(ob(q))if(lb)Oe=T8;else{Oe=E8;var pe=S8}else K=q.nodeName,!K||K.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?F&&sd(F.elementType)&&(Oe=cb):Oe=A8;if(Oe&&(Oe=Oe(r,F))){ub(W,Oe,s,Z);break e}pe&&pe(r,q,F),r==="focusout"&&F&&q.type==="number"&&F.memoizedProps.value!=null&&ad(q,"number",q.value)}switch(pe=F?Js(F):window,r){case"focusin":(ob(pe)||pe.contentEditable==="true")&&(Ba=pe,wd=F,oo=null);break;case"focusout":oo=wd=Ba=null;break;case"mousedown":xd=!0;break;case"contextmenu":case"mouseup":case"dragend":xd=!1,gb(W,s,Z);break;case"selectionchange":if(R8)break;case"keydown":case"keyup":gb(W,s,Z)}var Se;if(md)e:{switch(r){case"compositionstart":var Re="onCompositionStart";break e;case"compositionend":Re="onCompositionEnd";break e;case"compositionupdate":Re="onCompositionUpdate";break e}Re=void 0}else za?ab(r,s)&&(Re="onCompositionEnd"):r==="keydown"&&s.keyCode===229&&(Re="onCompositionStart");Re&&(nb&&s.locale!=="ko"&&(za||Re!=="onCompositionStart"?Re==="onCompositionEnd"&&za&&(Se=Xm()):($r=Z,fd="value"in $r?$r.value:$r.textContent,za=!0)),pe=sl(F,Re),0<pe.length&&(Re=new eb(Re,r,null,s,Z),W.push({event:Re,listeners:pe}),Se?Re.data=Se:(Se=sb(s),Se!==null&&(Re.data=Se)))),(Se=b8?g8(r,s):v8(r,s))&&(Re=sl(F,"onBeforeInput"),0<Re.length&&(pe=new eb("onBeforeInput","beforeinput",null,s,Z),W.push({event:pe,listeners:Re}),pe.data=Se)),l4(W,r,F,s,Z)}qg(W,i)})}function Bo(r,i,s){return{instance:r,listener:i,currentTarget:s}}function sl(r,i){for(var s=i+"Capture",c=[];r!==null;){var h=r,y=h.stateNode;if(h=h.tag,h!==5&&h!==26&&h!==27||y===null||(h=Ws(r,s),h!=null&&c.unshift(Bo(r,h,y)),h=Ws(r,i),h!=null&&c.push(Bo(r,h,y))),r.tag===3)return c;r=r.return}return[]}function p4(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function Vg(r,i,s,c,h){for(var y=i._reactName,w=[];s!==null&&s!==c;){var A=s,L=A.alternate,F=A.stateNode;if(A=A.tag,L!==null&&L===c)break;A!==5&&A!==26&&A!==27||F===null||(L=F,h?(F=Ws(s,y),F!=null&&w.unshift(Bo(s,F,L))):h||(F=Ws(s,y),F!=null&&w.push(Bo(s,F,L)))),s=s.return}w.length!==0&&r.push({event:i,listeners:w})}var y4=/\\r\\n?/g,m4=/\\u0000|\\uFFFD/g;function Kg(r){return(typeof r=="string"?r:""+r).replace(y4,`\n`).replace(m4,"")}function Qg(r,i){return i=Kg(i),Kg(r)===i}function $e(r,i,s,c,h,y){switch(s){case"children":typeof c=="string"?i==="body"||i==="textarea"&&c===""||Ca(r,c):(typeof c=="number"||typeof c=="bigint")&&i!=="body"&&Ca(r,""+c);break;case"className":lc(r,"class",c);break;case"tabIndex":lc(r,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":lc(r,s,c);break;case"style":Qm(r,c,y);break;case"data":if(i!=="object"){lc(r,"data",c);break}case"src":case"href":if(c===""&&(i!=="a"||s!=="href")){r.removeAttribute(s);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(s);break}c=dc(""+c),r.setAttribute(s,c);break;case"action":case"formAction":if(typeof c=="function"){r.setAttribute(s,"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 y=="function"&&(s==="formAction"?(i!=="input"&&$e(r,i,"name",h.name,h,null),$e(r,i,"formEncType",h.formEncType,h,null),$e(r,i,"formMethod",h.formMethod,h,null),$e(r,i,"formTarget",h.formTarget,h,null)):($e(r,i,"encType",h.encType,h,null),$e(r,i,"method",h.method,h,null),$e(r,i,"target",h.target,h,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(s);break}c=dc(""+c),r.setAttribute(s,c);break;case"onClick":c!=null&&(r.onclick=Yn);break;case"onScroll":c!=null&&Te("scroll",r);break;case"onScrollEnd":c!=null&&Te("scrollend",r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(s=c.__html,s!=null){if(h.children!=null)throw Error(a(60));r.innerHTML=s}}break;case"multiple":r.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":r.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){r.removeAttribute("xlink:href");break}s=dc(""+c),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(s,""+c):r.removeAttribute(s);break;case"inert":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":c&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(s,""):r.removeAttribute(s);break;case"capture":case"download":c===!0?r.setAttribute(s,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(s,c):r.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?r.setAttribute(s,c):r.removeAttribute(s);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?r.removeAttribute(s):r.setAttribute(s,c);break;case"popover":Te("beforetoggle",r),Te("toggle",r),cc(r,"popover",c);break;case"xlinkActuate":Qn(r,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Qn(r,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Qn(r,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Qn(r,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Qn(r,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Qn(r,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Qn(r,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Qn(r,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Qn(r,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":cc(r,"is",c);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=qS.get(s)||s,cc(r,s,c))}}function V0(r,i,s,c,h,y){switch(s){case"style":Qm(r,c,y);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(s=c.__html,s!=null){if(h.children!=null)throw Error(a(60));r.innerHTML=s}}break;case"children":typeof c=="string"?Ca(r,c):(typeof c=="number"||typeof c=="bigint")&&Ca(r,""+c);break;case"onScroll":c!=null&&Te("scroll",r);break;case"onScrollEnd":c!=null&&Te("scrollend",r);break;case"onClick":c!=null&&(r.onclick=Yn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!jm.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(h=s.endsWith("Capture"),i=s.slice(2,h?s.length-7:void 0),y=r[kt]||null,y=y!=null?y[s]:null,typeof y=="function"&&r.removeEventListener(i,y,h),typeof c=="function")){typeof y!="function"&&y!==null&&(s in r?r[s]=null:r.hasAttribute(s)&&r.removeAttribute(s)),r.addEventListener(i,c,h);break e}s in r?r[s]=c:c===!0?r.setAttribute(s,""):cc(r,s,c)}}}function St(r,i,s){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",r),Te("load",r);var c=!1,h=!1,y;for(y in s)if(s.hasOwnProperty(y)){var w=s[y];if(w!=null)switch(y){case"src":c=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:$e(r,i,y,w,s,null)}}h&&$e(r,i,"srcSet",s.srcSet,s,null),c&&$e(r,i,"src",s.src,s,null);return;case"input":Te("invalid",r);var A=y=w=h=null,L=null,F=null;for(c in s)if(s.hasOwnProperty(c)){var Z=s[c];if(Z!=null)switch(c){case"name":h=Z;break;case"type":w=Z;break;case"checked":L=Z;break;case"defaultChecked":F=Z;break;case"value":y=Z;break;case"defaultValue":A=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(a(137,i));break;default:$e(r,i,c,Z,s,null)}}qm(r,y,A,L,F,w,h,!1);return;case"select":Te("invalid",r),c=w=y=null;for(h in s)if(s.hasOwnProperty(h)&&(A=s[h],A!=null))switch(h){case"value":y=A;break;case"defaultValue":w=A;break;case"multiple":c=A;default:$e(r,i,h,A,s,null)}i=y,s=w,r.multiple=!!c,i!=null?_a(r,!!c,i,!1):s!=null&&_a(r,!!c,s,!0);return;case"textarea":Te("invalid",r),y=h=c=null;for(w in s)if(s.hasOwnProperty(w)&&(A=s[w],A!=null))switch(w){case"value":c=A;break;case"defaultValue":h=A;break;case"children":y=A;break;case"dangerouslySetInnerHTML":if(A!=null)throw Error(a(91));break;default:$e(r,i,w,A,s,null)}Vm(r,c,h,y);return;case"option":for(L in s)s.hasOwnProperty(L)&&(c=s[L],c!=null)&&(L==="selected"?r.selected=c&&typeof c!="function"&&typeof c!="symbol":$e(r,i,L,c,s,null));return;case"dialog":Te("beforetoggle",r),Te("toggle",r),Te("cancel",r),Te("close",r);break;case"iframe":case"object":Te("load",r);break;case"video":case"audio":for(c=0;c<zo.length;c++)Te(zo[c],r);break;case"image":Te("error",r),Te("load",r);break;case"details":Te("toggle",r);break;case"embed":case"source":case"link":Te("error",r),Te("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(F in s)if(s.hasOwnProperty(F)&&(c=s[F],c!=null))switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:$e(r,i,F,c,s,null)}return;default:if(sd(i)){for(Z in s)s.hasOwnProperty(Z)&&(c=s[Z],c!==void 0&&V0(r,i,Z,c,s,void 0));return}}for(A in s)s.hasOwnProperty(A)&&(c=s[A],c!=null&&$e(r,i,A,c,s,null))}function b4(r,i,s,c){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,y=null,w=null,A=null,L=null,F=null,Z=null;for(K in s){var W=s[K];if(s.hasOwnProperty(K)&&W!=null)switch(K){case"checked":break;case"value":break;case"defaultValue":L=W;default:c.hasOwnProperty(K)||$e(r,i,K,null,c,W)}}for(var q in c){var K=c[q];if(W=s[q],c.hasOwnProperty(q)&&(K!=null||W!=null))switch(q){case"type":y=K;break;case"name":h=K;break;case"checked":F=K;break;case"defaultChecked":Z=K;break;case"value":w=K;break;case"defaultValue":A=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(a(137,i));break;default:K!==W&&$e(r,i,q,K,c,W)}}id(r,w,A,L,F,Z,y,h);return;case"select":K=w=A=q=null;for(y in s)if(L=s[y],s.hasOwnProperty(y)&&L!=null)switch(y){case"value":break;case"multiple":K=L;default:c.hasOwnProperty(y)||$e(r,i,y,null,c,L)}for(h in c)if(y=c[h],L=s[h],c.hasOwnProperty(h)&&(y!=null||L!=null))switch(h){case"value":q=y;break;case"defaultValue":A=y;break;case"multiple":w=y;default:y!==L&&$e(r,i,h,y,c,L)}i=A,s=w,c=K,q!=null?_a(r,!!s,q,!1):!!c!=!!s&&(i!=null?_a(r,!!s,i,!0):_a(r,!!s,s?[]:"",!1));return;case"textarea":K=q=null;for(A in s)if(h=s[A],s.hasOwnProperty(A)&&h!=null&&!c.hasOwnProperty(A))switch(A){case"value":break;case"children":break;default:$e(r,i,A,null,c,h)}for(w in c)if(h=c[w],y=s[w],c.hasOwnProperty(w)&&(h!=null||y!=null))switch(w){case"value":q=h;break;case"defaultValue":K=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(a(91));break;default:h!==y&&$e(r,i,w,h,c,y)}Gm(r,q,K);return;case"option":for(var de in s)q=s[de],s.hasOwnProperty(de)&&q!=null&&!c.hasOwnProperty(de)&&(de==="selected"?r.selected=!1:$e(r,i,de,null,c,q));for(L in c)q=c[L],K=s[L],c.hasOwnProperty(L)&&q!==K&&(q!=null||K!=null)&&(L==="selected"?r.selected=q&&typeof q!="function"&&typeof q!="symbol":$e(r,i,L,q,c,K));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 be in s)q=s[be],s.hasOwnProperty(be)&&q!=null&&!c.hasOwnProperty(be)&&$e(r,i,be,null,c,q);for(F in c)if(q=c[F],K=s[F],c.hasOwnProperty(F)&&q!==K&&(q!=null||K!=null))switch(F){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(a(137,i));break;default:$e(r,i,F,q,c,K)}return;default:if(sd(i)){for(var Ue in s)q=s[Ue],s.hasOwnProperty(Ue)&&q!==void 0&&!c.hasOwnProperty(Ue)&&V0(r,i,Ue,void 0,c,q);for(Z in c)q=c[Z],K=s[Z],!c.hasOwnProperty(Z)||q===K||q===void 0&&K===void 0||V0(r,i,Z,q,c,K);return}}for(var k in s)q=s[k],s.hasOwnProperty(k)&&q!=null&&!c.hasOwnProperty(k)&&$e(r,i,k,null,c,q);for(W in c)q=c[W],K=s[W],!c.hasOwnProperty(W)||q===K||q==null&&K==null||$e(r,i,W,q,c,K)}function Yg(r){switch(r){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function g4(){if(typeof performance.getEntriesByType=="function"){for(var r=0,i=0,s=performance.getEntriesByType("resource"),c=0;c<s.length;c++){var h=s[c],y=h.transferSize,w=h.initiatorType,A=h.duration;if(y&&A&&Yg(w)){for(w=0,A=h.responseEnd,c+=1;c<s.length;c++){var L=s[c],F=L.startTime;if(F>A)break;var Z=L.transferSize,W=L.initiatorType;Z&&Yg(W)&&(L=L.responseEnd,w+=Z*(L<A?1:(A-F)/(L-F)))}if(--c,i+=8*(y+w)/(h.duration/1e3),r++,10<r)break}}if(0<r)return i/r/1e6}return navigator.connection&&(r=navigator.connection.downlink,typeof r=="number")?r:5}var K0=null,Q0=null;function ol(r){return r.nodeType===9?r:r.ownerDocument}function Zg(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Xg(r,i){if(r===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&i==="foreignObject"?0:r}function Y0(r,i){return r==="textarea"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Z0=null;function v4(){var r=window.event;return r&&r.type==="popstate"?r===Z0?!1:(Z0=r,!0):(Z0=null,!1)}var Jg=typeof setTimeout=="function"?setTimeout:void 0,w4=typeof clearTimeout=="function"?clearTimeout:void 0,Wg=typeof Promise=="function"?Promise:void 0,x4=typeof queueMicrotask=="function"?queueMicrotask:typeof Wg<"u"?function(r){return Wg.resolve(null).then(r).catch(S4)}:Jg;function S4(r){setTimeout(function(){throw r})}function ei(r){return r==="head"}function ev(r,i){var s=i,c=0;do{var h=s.nextSibling;if(r.removeChild(s),h&&h.nodeType===8)if(s=h.data,s==="/$"||s==="/&"){if(c===0){r.removeChild(h),ss(i);return}c--}else if(s==="$"||s==="$?"||s==="$~"||s==="$!"||s==="&")c++;else if(s==="html")Io(r.ownerDocument.documentElement);else if(s==="head"){s=r.ownerDocument.head,Io(s);for(var y=s.firstChild;y;){var w=y.nextSibling,A=y.nodeName;y[Xs]||A==="SCRIPT"||A==="STYLE"||A==="LINK"&&y.rel.toLowerCase()==="stylesheet"||s.removeChild(y),y=w}}else s==="body"&&Io(r.ownerDocument.body);s=h}while(s);ss(i)}function tv(r,i){var s=r;r=0;do{var c=s.nextSibling;if(s.nodeType===1?i?(s._stashedDisplay=s.style.display,s.style.display="none"):(s.style.display=s._stashedDisplay||"",s.getAttribute("style")===""&&s.removeAttribute("style")):s.nodeType===3&&(i?(s._stashedText=s.nodeValue,s.nodeValue=""):s.nodeValue=s._stashedText||""),c&&c.nodeType===8)if(s=c.data,s==="/$"){if(r===0)break;r--}else s!=="$"&&s!=="$?"&&s!=="$~"&&s!=="$!"||r++;s=c}while(s)}function X0(r){var i=r.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var s=i;switch(i=i.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":X0(s),nd(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}r.removeChild(s)}}function E4(r,i,s,c){for(;r.nodeType===1;){var h=s;if(r.nodeName.toLowerCase()!==i.toLowerCase()){if(!c&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(c){if(!r[Xs])switch(i){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(y=r.getAttribute("rel"),y==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(y!==h.rel||r.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||r.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||r.getAttribute("title")!==(h.title==null?null:h.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(y=r.getAttribute("src"),(y!==(h.src==null?null:h.src)||r.getAttribute("type")!==(h.type==null?null:h.type)||r.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&y&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(i==="input"&&r.type==="hidden"){var y=h.name==null?null:""+h.name;if(h.type==="hidden"&&r.getAttribute("name")===y)return r}else return r;if(r=Sn(r.nextSibling),r===null)break}return null}function A4(r,i,s){if(i==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!s||(r=Sn(r.nextSibling),r===null))return null;return r}function nv(r,i){for(;r.nodeType!==8;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!i||(r=Sn(r.nextSibling),r===null))return null;return r}function J0(r){return r.data==="$?"||r.data==="$~"}function W0(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState!=="loading"}function T4(r,i){var s=r.ownerDocument;if(r.data==="$~")r._reactRetry=i;else if(r.data!=="$?"||s.readyState!=="loading")i();else{var c=function(){i(),s.removeEventListener("DOMContentLoaded",c)};s.addEventListener("DOMContentLoaded",c),r._reactRetry=c}}function Sn(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===1||i===3)break;if(i===8){if(i=r.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return r}var eh=null;function rv(r){r=r.nextSibling;for(var i=0;r;){if(r.nodeType===8){var s=r.data;if(s==="/$"||s==="/&"){if(i===0)return Sn(r.nextSibling);i--}else s!=="$"&&s!=="$!"&&s!=="$?"&&s!=="$~"&&s!=="&"||i++}r=r.nextSibling}return null}function iv(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var s=r.data;if(s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"){if(i===0)return r;i--}else s!=="/$"&&s!=="/&"||i++}r=r.previousSibling}return null}function av(r,i,s){switch(i=ol(s),r){case"html":if(r=i.documentElement,!r)throw Error(a(452));return r;case"head":if(r=i.head,!r)throw Error(a(453));return r;case"body":if(r=i.body,!r)throw Error(a(454));return r;default:throw Error(a(451))}}function Io(r){for(var i=r.attributes;i.length;)r.removeAttributeNode(i[0]);nd(r)}var En=new Map,sv=new Set;function ul(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var fr=G.d;G.d={f:M4,r:R4,D:_4,C:C4,L:O4,m:P4,X:B4,S:z4,M:I4};function M4(){var r=fr.f(),i=Wc();return r||i}function R4(r){var i=Ta(r);i!==null&&i.tag===5&&i.type==="form"?E1(i):fr.r(r)}var rs=typeof document>"u"?null:document;function ov(r,i,s){var c=rs;if(c&&typeof i=="string"&&i){var h=yn(i);h=\'link[rel="\'+r+\'"][href="\'+h+\'"]\',typeof s=="string"&&(h+=\'[crossorigin="\'+s+\'"]\'),sv.has(h)||(sv.add(h),r={rel:r,crossOrigin:s,href:i},c.querySelector(h)===null&&(i=c.createElement("link"),St(i,"link",r),ht(i),c.head.appendChild(i)))}}function _4(r){fr.D(r),ov("dns-prefetch",r,null)}function C4(r,i){fr.C(r,i),ov("preconnect",r,i)}function O4(r,i,s){fr.L(r,i,s);var c=rs;if(c&&r&&i){var h=\'link[rel="preload"][as="\'+yn(i)+\'"]\';i==="image"&&s&&s.imageSrcSet?(h+=\'[imagesrcset="\'+yn(s.imageSrcSet)+\'"]\',typeof s.imageSizes=="string"&&(h+=\'[imagesizes="\'+yn(s.imageSizes)+\'"]\')):h+=\'[href="\'+yn(r)+\'"]\';var y=h;switch(i){case"style":y=is(r);break;case"script":y=as(r)}En.has(y)||(r=b({rel:"preload",href:i==="image"&&s&&s.imageSrcSet?void 0:r,as:i},s),En.set(y,r),c.querySelector(h)!==null||i==="style"&&c.querySelector(No(y))||i==="script"&&c.querySelector(Lo(y))||(i=c.createElement("link"),St(i,"link",r),ht(i),c.head.appendChild(i)))}}function P4(r,i){fr.m(r,i);var s=rs;if(s&&r){var c=i&&typeof i.as=="string"?i.as:"script",h=\'link[rel="modulepreload"][as="\'+yn(c)+\'"][href="\'+yn(r)+\'"]\',y=h;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":y=as(r)}if(!En.has(y)&&(r=b({rel:"modulepreload",href:r},i),En.set(y,r),s.querySelector(h)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(Lo(y)))return}c=s.createElement("link"),St(c,"link",r),ht(c),s.head.appendChild(c)}}}function z4(r,i,s){fr.S(r,i,s);var c=rs;if(c&&r){var h=Ma(c).hoistableStyles,y=is(r);i=i||"default";var w=h.get(y);if(!w){var A={loading:0,preload:null};if(w=c.querySelector(No(y)))A.loading=5;else{r=b({rel:"stylesheet",href:r,"data-precedence":i},s),(s=En.get(y))&&th(r,s);var L=w=c.createElement("link");ht(L),St(L,"link",r),L._p=new Promise(function(F,Z){L.onload=F,L.onerror=Z}),L.addEventListener("load",function(){A.loading|=1}),L.addEventListener("error",function(){A.loading|=2}),A.loading|=4,cl(w,i,c)}w={type:"stylesheet",instance:w,count:1,state:A},h.set(y,w)}}}function B4(r,i){fr.X(r,i);var s=rs;if(s&&r){var c=Ma(s).hoistableScripts,h=as(r),y=c.get(h);y||(y=s.querySelector(Lo(h)),y||(r=b({src:r,async:!0},i),(i=En.get(h))&&nh(r,i),y=s.createElement("script"),ht(y),St(y,"link",r),s.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},c.set(h,y))}}function I4(r,i){fr.M(r,i);var s=rs;if(s&&r){var c=Ma(s).hoistableScripts,h=as(r),y=c.get(h);y||(y=s.querySelector(Lo(h)),y||(r=b({src:r,async:!0,type:"module"},i),(i=En.get(h))&&nh(r,i),y=s.createElement("script"),ht(y),St(y,"link",r),s.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},c.set(h,y))}}function uv(r,i,s,c){var h=(h=ge.current)?ul(h):null;if(!h)throw Error(a(446));switch(r){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(i=is(s.href),s=Ma(h).hoistableStyles,c=s.get(i),c||(c={type:"style",instance:null,count:0,state:null},s.set(i,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){r=is(s.href);var y=Ma(h).hoistableStyles,w=y.get(r);if(w||(h=h.ownerDocument||h,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},y.set(r,w),(y=h.querySelector(No(r)))&&!y._p&&(w.instance=y,w.state.loading=5),En.has(r)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},En.set(r,s),y||N4(h,r,s,w.state))),i&&c===null)throw Error(a(528,""));return w}if(i&&c!==null)throw Error(a(529,""));return null;case"script":return i=s.async,s=s.src,typeof s=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=as(s),s=Ma(h).hoistableScripts,c=s.get(i),c||(c={type:"script",instance:null,count:0,state:null},s.set(i,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,r))}}function is(r){return\'href="\'+yn(r)+\'"\'}function No(r){return\'link[rel="stylesheet"][\'+r+"]"}function cv(r){return b({},r,{"data-precedence":r.precedence,precedence:null})}function N4(r,i,s,c){r.querySelector(\'link[rel="preload"][as="style"][\'+i+"]")?c.loading=1:(i=r.createElement("link"),c.preload=i,i.addEventListener("load",function(){return c.loading|=1}),i.addEventListener("error",function(){return c.loading|=2}),St(i,"link",s),ht(i),r.head.appendChild(i))}function as(r){return\'[src="\'+yn(r)+\'"]\'}function Lo(r){return"script[async]"+r}function lv(r,i,s){if(i.count++,i.instance===null)switch(i.type){case"style":var c=r.querySelector(\'style[data-href~="\'+yn(s.href)+\'"]\');if(c)return i.instance=c,ht(c),c;var h=b({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return c=(r.ownerDocument||r).createElement("style"),ht(c),St(c,"style",h),cl(c,s.precedence,r),i.instance=c;case"stylesheet":h=is(s.href);var y=r.querySelector(No(h));if(y)return i.state.loading|=4,i.instance=y,ht(y),y;c=cv(s),(h=En.get(h))&&th(c,h),y=(r.ownerDocument||r).createElement("link"),ht(y);var w=y;return w._p=new Promise(function(A,L){w.onload=A,w.onerror=L}),St(y,"link",c),i.state.loading|=4,cl(y,s.precedence,r),i.instance=y;case"script":return y=as(s.src),(h=r.querySelector(Lo(y)))?(i.instance=h,ht(h),h):(c=s,(h=En.get(y))&&(c=b({},s),nh(c,h)),r=r.ownerDocument||r,h=r.createElement("script"),ht(h),St(h,"link",c),r.head.appendChild(h),i.instance=h);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(c=i.instance,i.state.loading|=4,cl(c,s.precedence,r));return i.instance}function cl(r,i,s){for(var c=s.querySelectorAll(\'link[rel="stylesheet"][data-precedence],style[data-precedence]\'),h=c.length?c[c.length-1]:null,y=h,w=0;w<c.length;w++){var A=c[w];if(A.dataset.precedence===i)y=A;else if(y!==h)break}y?y.parentNode.insertBefore(r,y.nextSibling):(i=s.nodeType===9?s.head:s,i.insertBefore(r,i.firstChild))}function th(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.title==null&&(r.title=i.title)}function nh(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.integrity==null&&(r.integrity=i.integrity)}var ll=null;function fv(r,i,s){if(ll===null){var c=new Map,h=ll=new Map;h.set(s,c)}else h=ll,c=h.get(s),c||(c=new Map,h.set(s,c));if(c.has(r))return c;for(c.set(r,null),s=s.getElementsByTagName(r),h=0;h<s.length;h++){var y=s[h];if(!(y[Xs]||y[gt]||r==="link"&&y.getAttribute("rel")==="stylesheet")&&y.namespaceURI!=="http://www.w3.org/2000/svg"){var w=y.getAttribute(i)||"";w=r+w;var A=c.get(w);A?A.push(y):c.set(w,[y])}}return c}function dv(r,i,s){r=r.ownerDocument||r,r.head.insertBefore(s,i==="title"?r.querySelector("head > title"):null)}function L4(r,i,s){if(s===1||i.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;return i.rel==="stylesheet"?(r=i.disabled,typeof i.precedence=="string"&&r==null):!0;case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function hv(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}function $4(r,i,s,c){if(s.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var h=is(c.href),y=i.querySelector(No(h));if(y){i=y._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(r.count++,r=fl.bind(r),i.then(r,r)),s.state.loading|=4,s.instance=y,ht(y);return}y=i.ownerDocument||i,c=cv(c),(h=En.get(h))&&th(c,h),y=y.createElement("link"),ht(y);var w=y;w._p=new Promise(function(A,L){w.onload=A,w.onerror=L}),St(y,"link",c),s.instance=y}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(s,i),(i=s.state.preload)&&(s.state.loading&3)===0&&(r.count++,s=fl.bind(r),i.addEventListener("load",s),i.addEventListener("error",s))}}var rh=0;function U4(r,i){return r.stylesheets&&r.count===0&&hl(r,r.stylesheets),0<r.count||0<r.imgCount?function(s){var c=setTimeout(function(){if(r.stylesheets&&hl(r,r.stylesheets),r.unsuspend){var y=r.unsuspend;r.unsuspend=null,y()}},6e4+i);0<r.imgBytes&&rh===0&&(rh=62500*g4());var h=setTimeout(function(){if(r.waitingForImages=!1,r.count===0&&(r.stylesheets&&hl(r,r.stylesheets),r.unsuspend)){var y=r.unsuspend;r.unsuspend=null,y()}},(r.imgBytes>rh?50:800)+i);return r.unsuspend=s,function(){r.unsuspend=null,clearTimeout(c),clearTimeout(h)}}:null}function fl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)hl(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var dl=null;function hl(r,i){r.stylesheets=null,r.unsuspend!==null&&(r.count++,dl=new Map,i.forEach(j4,r),dl=null,fl.call(r))}function j4(r,i){if(!(i.state.loading&4)){var s=dl.get(r);if(s)var c=s.get(null);else{s=new Map,dl.set(r,s);for(var h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),y=0;y<h.length;y++){var w=h[y];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(s.set(w.dataset.precedence,w),c=w)}c&&s.set(null,c)}h=i.instance,w=h.getAttribute("data-precedence"),y=s.get(w)||c,y===c&&s.set(null,h),s.set(w,h),this.count++,c=fl.bind(this),h.addEventListener("load",c),h.addEventListener("error",c),y?y.parentNode.insertBefore(h,y.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(h,r.firstChild)),i.state.loading|=4}}var $o={$$typeof:M,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function k4(r,i,s,c,h,y,w,A,L){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Jf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jf(0),this.hiddenUpdates=Jf(null),this.identifierPrefix=c,this.onUncaughtError=h,this.onCaughtError=y,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=L,this.incompleteTransitions=new Map}function pv(r,i,s,c,h,y,w,A,L,F,Z,W){return r=new k4(r,i,s,w,L,F,Z,W,A),i=1,y===!0&&(i|=24),y=sn(3,null,null,i),r.current=y,y.stateNode=r,i=Ld(),i.refCount++,r.pooledCache=i,i.refCount++,y.memoizedState={element:c,isDehydrated:s,cache:i},kd(y),r}function yv(r){return r?(r=La,r):La}function mv(r,i,s,c,h,y){h=yv(h),c.context===null?c.context=h:c.pendingContext=h,c=Fr(i),c.payload={element:s},y=y===void 0?null:y,y!==null&&(c.callback=y),s=qr(r,c,i),s!==null&&(Vt(s,r,i),yo(s,r,i))}function bv(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var s=r.retryLane;r.retryLane=s!==0&&s<i?s:i}}function ih(r,i){bv(r,i),(r=r.alternate)&&bv(r,i)}function gv(r){if(r.tag===13||r.tag===31){var i=Li(r,67108864);i!==null&&Vt(i,r,67108864),ih(r,67108864)}}function vv(r){if(r.tag===13||r.tag===31){var i=fn();i=Wf(i);var s=Li(r,i);s!==null&&Vt(s,r,i),ih(r,i)}}var pl=!0;function D4(r,i,s,c){var h=$.T;$.T=null;var y=G.p;try{G.p=2,ah(r,i,s,c)}finally{G.p=y,$.T=h}}function H4(r,i,s,c){var h=$.T;$.T=null;var y=G.p;try{G.p=8,ah(r,i,s,c)}finally{G.p=y,$.T=h}}function ah(r,i,s,c){if(pl){var h=sh(c);if(h===null)G0(r,i,c,yl,s),xv(r,c);else if(q4(h,r,i,s,c))c.stopPropagation();else if(xv(r,c),i&4&&-1<F4.indexOf(r)){for(;h!==null;){var y=Ta(h);if(y!==null)switch(y.tag){case 3:if(y=y.stateNode,y.current.memoizedState.isDehydrated){var w=Pi(y.pendingLanes);if(w!==0){var A=y;for(A.pendingLanes|=2,A.entangledLanes|=2;w;){var L=1<<31-rn(w);A.entanglements[1]|=L,w&=~L}kn(y),(Be&6)===0&&(Xc=Mt()+500,Po(0))}}break;case 31:case 13:A=Li(y,2),A!==null&&Vt(A,y,2),Wc(),ih(y,2)}if(y=sh(c),y===null&&G0(r,i,c,yl,s),y===h)break;h=y}h!==null&&c.stopPropagation()}else G0(r,i,c,null,s)}}function sh(r){return r=ud(r),oh(r)}var yl=null;function oh(r){if(yl=null,r=Aa(r),r!==null){var i=u(r);if(i===null)r=null;else{var s=i.tag;if(s===13){if(r=l(i),r!==null)return r;r=null}else if(s===31){if(r=f(i),r!==null)return r;r=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return yl=r,null}function wv(r){switch(r){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 2;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 8;case"message":switch(De()){case bt:return 2;case Ln:return 8;case Sa:case CS:return 32;case Om:return 268435456;default:return 32}default:return 32}}var uh=!1,ti=null,ni=null,ri=null,Uo=new Map,jo=new Map,ii=[],F4="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(" ");function xv(r,i){switch(r){case"focusin":case"focusout":ti=null;break;case"dragenter":case"dragleave":ni=null;break;case"mouseover":case"mouseout":ri=null;break;case"pointerover":case"pointerout":Uo.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":jo.delete(i.pointerId)}}function ko(r,i,s,c,h,y){return r===null||r.nativeEvent!==y?(r={blockedOn:i,domEventName:s,eventSystemFlags:c,nativeEvent:y,targetContainers:[h]},i!==null&&(i=Ta(i),i!==null&&gv(i)),r):(r.eventSystemFlags|=c,i=r.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),r)}function q4(r,i,s,c,h){switch(i){case"focusin":return ti=ko(ti,r,i,s,c,h),!0;case"dragenter":return ni=ko(ni,r,i,s,c,h),!0;case"mouseover":return ri=ko(ri,r,i,s,c,h),!0;case"pointerover":var y=h.pointerId;return Uo.set(y,ko(Uo.get(y)||null,r,i,s,c,h)),!0;case"gotpointercapture":return y=h.pointerId,jo.set(y,ko(jo.get(y)||null,r,i,s,c,h)),!0}return!1}function Sv(r){var i=Aa(r.target);if(i!==null){var s=u(i);if(s!==null){if(i=s.tag,i===13){if(i=l(s),i!==null){r.blockedOn=i,Lm(r.priority,function(){vv(s)});return}}else if(i===31){if(i=f(s),i!==null){r.blockedOn=i,Lm(r.priority,function(){vv(s)});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){r.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}r.blockedOn=null}function ml(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var s=sh(r.nativeEvent);if(s===null){s=r.nativeEvent;var c=new s.constructor(s.type,s);od=c,s.target.dispatchEvent(c),od=null}else return i=Ta(s),i!==null&&gv(i),r.blockedOn=s,!1;i.shift()}return!0}function Ev(r,i,s){ml(r)&&s.delete(i)}function G4(){uh=!1,ti!==null&&ml(ti)&&(ti=null),ni!==null&&ml(ni)&&(ni=null),ri!==null&&ml(ri)&&(ri=null),Uo.forEach(Ev),jo.forEach(Ev)}function bl(r,i){r.blockedOn===i&&(r.blockedOn=null,uh||(uh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,G4)))}var gl=null;function Av(r){gl!==r&&(gl=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){gl===r&&(gl=null);for(var i=0;i<r.length;i+=3){var s=r[i],c=r[i+1],h=r[i+2];if(typeof c!="function"){if(oh(c||s)===null)continue;break}var y=Ta(s);y!==null&&(r.splice(i,3),i-=3,s0(y,{pending:!0,data:h,method:s.method,action:c},c,h))}}))}function ss(r){function i(L){return bl(L,r)}ti!==null&&bl(ti,r),ni!==null&&bl(ni,r),ri!==null&&bl(ri,r),Uo.forEach(i),jo.forEach(i);for(var s=0;s<ii.length;s++){var c=ii[s];c.blockedOn===r&&(c.blockedOn=null)}for(;0<ii.length&&(s=ii[0],s.blockedOn===null);)Sv(s),s.blockedOn===null&&ii.shift();if(s=(r.ownerDocument||r).$$reactFormReplay,s!=null)for(c=0;c<s.length;c+=3){var h=s[c],y=s[c+1],w=h[kt]||null;if(typeof y=="function")w||Av(s);else if(w){var A=null;if(y&&y.hasAttribute("formAction")){if(h=y,w=y[kt]||null)A=w.formAction;else if(oh(h)!==null)continue}else A=w.action;typeof A=="function"?s[c+1]=A:(s.splice(c,3),c-=3),Av(s)}}}function Tv(){function r(y){y.canIntercept&&y.info==="react-transition"&&y.intercept({handler:function(){return new Promise(function(w){return h=w})},focusReset:"manual",scroll:"manual"})}function i(){h!==null&&(h(),h=null),c||setTimeout(s,20)}function s(){if(!c&&!navigation.transition){var y=navigation.currentEntry;y&&y.url!=null&&navigation.navigate(y.url,{state:y.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,h=null;return navigation.addEventListener("navigate",r),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(s,100),function(){c=!0,navigation.removeEventListener("navigate",r),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),h!==null&&(h(),h=null)}}}function ch(r){this._internalRoot=r}vl.prototype.render=ch.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(a(409));var s=i.current,c=fn();mv(s,c,r,i,null,null)},vl.prototype.unmount=ch.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;mv(r.current,2,null,r,null,null),Wc(),i[Ea]=null}};function vl(r){this._internalRoot=r}vl.prototype.unstable_scheduleHydration=function(r){if(r){var i=Nm();r={blockedOn:null,target:r,priority:i};for(var s=0;s<ii.length&&i!==0&&i<ii[s].priority;s++);ii.splice(s,0,r),s===0&&Sv(r)}};var Mv=t.version;if(Mv!=="19.2.7")throw Error(a(527,Mv,"19.2.7"));G.findDOMNode=function(r){var i=r._reactInternals;if(i===void 0)throw typeof r.render=="function"?Error(a(188)):(r=Object.keys(r).join(","),Error(a(268,r)));return r=p(i),r=r!==null?m(r):null,r=r===null?null:r.stateNode,r};var V4={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:$,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var wl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!wl.isDisabled&&wl.supportsFiber)try{Qs=wl.inject(V4),nn=wl}catch{}}return Ho.createRoot=function(r,i){if(!o(r))throw Error(a(299));var s=!1,c="",h=B1,y=I1,w=N1;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(y=i.onCaughtError),i.onRecoverableError!==void 0&&(w=i.onRecoverableError)),i=pv(r,1,!1,null,null,s,c,null,h,y,w,Tv),r[Ea]=i.current,q0(r),new ch(i)},Ho.hydrateRoot=function(r,i,s){if(!o(r))throw Error(a(299));var c=!1,h="",y=B1,w=I1,A=N1,L=null;return s!=null&&(s.unstable_strictMode===!0&&(c=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onUncaughtError!==void 0&&(y=s.onUncaughtError),s.onCaughtError!==void 0&&(w=s.onCaughtError),s.onRecoverableError!==void 0&&(A=s.onRecoverableError),s.formState!==void 0&&(L=s.formState)),i=pv(r,1,!0,i,s??null,c,h,L,y,w,A,Tv),i.context=yv(null),s=i.current,c=fn(),c=Wf(c),h=Fr(c),h.callback=null,qr(s,h,c),s=c,i.current.lanes=s,Zs(i,s),kn(i),r[Ea]=i.current,q0(r),new vl(i)},Ho.version="19.2.7",Ho}var Lv;function nE(){if(Lv)return dh.exports;Lv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),dh.exports=tE(),dh.exports}var rE=nE(),iE="__TSS_CONTEXT",np=Symbol.for("TSS_SERVER_FUNCTION"),aE="application/x-tss-framed",dr={JSON:0,CHUNK:1,END:2,ERROR:3},sE=/;\\s*v=(\\d+)/;function oE(e){const t=e.match(sE);return t?parseInt(t[1],10):void 0}function uE(e){const t=oE(e);if(t!==void 0&&t!==1)throw new Error(`Incompatible framed protocol version: server=${t}, client=1. Please ensure client and server are using compatible versions.`)}var r5=()=>window.__TSS_START_OPTIONS__;const i5=!1;function eu(e){return e[e.length-1]}function cE(e){return typeof e=="function"}function Zi(e,t){return cE(e)?e(t):e}const a5=Object.prototype.hasOwnProperty,$v=Object.prototype.propertyIsEnumerable;function s5(e){for(const t in e)if(a5.call(e,t))return!0;return!1}const lE=()=>Object.create(null),Yi=(e,t)=>Xi(e,t,lE);function Xi(e,t,n=()=>({}),a=0){if(e===t)return e;if(a>500)return t;const o=t,u=kv(e)&&kv(o);if(!u&&!(Yl(e)&&Yl(o)))return o;const l=u?e:Uv(e);if(!l)return o;const f=u?o:Uv(o);if(!f)return o;const d=l.length,p=f.length,m=u?new Array(p):n();let b=0;for(let g=0;g<p;g++){const v=u?g:f[g],x=e[v],S=o[v];if(x===S){m[v]=x,(u?g<d:a5.call(e,v))&&b++;continue}if(x===null||S===null||typeof x!="object"||typeof S!="object"){m[v]=S;continue}const E=Xi(x,S,n,a+1);m[v]=E,E===x&&b++}return d===p&&b===d?e:m}function Uv(e){const t=Object.getOwnPropertyNames(e);for(const o of t)if(!$v.call(e,o))return!1;const n=Object.getOwnPropertySymbols(e);if(n.length===0)return t;const a=t;for(const o of n){if(!$v.call(e,o))return!1;a.push(o)}return a}function Yl(e){if(!jv(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!jv(n)||!n.hasOwnProperty("isPrototypeOf"))}function jv(e){return Object.prototype.toString.call(e)==="[object Object]"}function kv(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Bt(e,t,n){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let a=0,o=e.length;a<o;a++)if(!Bt(e[a],t[a],n))return!1;return!0}if(Yl(e)&&Yl(t)){const a=n?.ignoreUndefined??!0;if(n?.partial){for(const l in t)if((!a||t[l]!==void 0)&&!Bt(e[l],t[l],n))return!1;return!0}let o=0;if(!a)o=Object.keys(e).length;else for(const l in e)e[l]!==void 0&&o++;let u=0;for(const l in t)if((!a||t[l]!==void 0)&&(u++,u>o||!Bt(e[l],t[l],n)))return!1;return o===u}return!1}function sa(e){let t,n;const a=new Promise((o,u)=>{t=o,n=u});return a.status="pending",a.resolve=o=>{a.status="resolved",a.value=o,t(o),e?.(o)},a.reject=o=>{a.status="rejected",n(o)},a}function fE(e){return typeof e?.message!="string"?!1:e.message.startsWith("Failed to fetch dynamically imported module")||e.message.startsWith("error loading dynamically imported module")||e.message.startsWith("Importing a module script failed")}function tu(e){return!!(e&&typeof e=="object"&&typeof e.then=="function")}function dE(e){return e.replace(/[\\x00-\\x1f\\x7f]/g,"")}function Dv(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,n=>{try{return decodeURI(n)}catch{return n}})}return dE(t)}const hE=["http:","https:","mailto:","tel:"];function Zl(e,t){if(!e)return!1;try{const n=new URL(e);return!t.has(n.protocol)}catch{return!1}}const pE={"&":"\\\\u0026",">":"\\\\u003e","<":"\\\\u003c","\\u2028":"\\\\u2028","\\u2029":"\\\\u2029"},yE=/[&><\\u2028\\u2029]/g;function mE(e){return e.replace(yE,t=>pE[t])}function Fo(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\\\\x00-\\x1f\\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};const t=/%25|%5C/gi;let n=0,a="",o;for(;(o=t.exec(e))!==null;)a+=Dv(e.slice(n,o.index))+o[0],n=t.lastIndex;a=a+Dv(n?e.slice(n):e);let u=!1;return a.startsWith("//")&&(u=!0,a="/"+a.replace(/^\\/+/,"")),{path:a,handledProtocolRelativeURL:u}}function bE(e){return/\\s|[^\\u0000-\\u007F]/.test(e)?e.replace(/\\s|[^\\u0000-\\u007F]/gu,encodeURIComponent):e}function gE(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function Zt(){throw new Error("Invariant failed")}function nu(e){const t=new Map;let n,a;const o=u=>{u.next&&(u.prev?(u.prev.next=u.next,u.next.prev=u.prev,u.next=void 0,a&&(a.next=u,u.prev=a)):(u.next.prev=void 0,n=u.next,u.next=void 0,a&&(u.prev=a,a.next=u)),a=u)};return{get(u){const l=t.get(u);if(l)return o(l),l.value},set(u,l){if(t.size>=e&&n){const d=n;t.delete(d.key),d.next&&(n=d.next,d.next.prev=void 0),d===a&&(a=void 0)}const f=t.get(u);if(f)f.value=l,o(f);else{const d={key:u,value:l,prev:a};a&&(a.next=d),a=d,n||(n=d),t.set(u,d)}},clear(){t.clear(),n=void 0,a=void 0}}}const pi=4,o5=5;function vE(e){const t=e.indexOf("{");if(t===-1)return null;const n=e.indexOf("}",t);return n===-1||t+1>=e.length?null:[t,n]}function u5(e,t,n=new Uint16Array(6)){const a=e.indexOf("/",t),o=a===-1?e.length:a,u=e.substring(t,o);if(!u||!u.includes("$"))return n[0]=0,n[1]=t,n[2]=t,n[3]=o,n[4]=o,n[5]=o,n;if(u==="$"){const f=e.length;return n[0]=2,n[1]=t,n[2]=t,n[3]=f,n[4]=f,n[5]=f,n}if(u.charCodeAt(0)===36)return n[0]=1,n[1]=t,n[2]=t+1,n[3]=o,n[4]=o,n[5]=o,n;const l=vE(u);if(l){const[f,d]=l,p=u.charCodeAt(f+1);if(p===45){if(f+2<u.length&&u.charCodeAt(f+2)===36){const m=f+3,b=d;if(m<b)return n[0]=3,n[1]=t+f,n[2]=t+m,n[3]=t+b,n[4]=t+d+1,n[5]=o,n}}else if(p===36){const m=f+1,b=f+2;return b===d?(n[0]=2,n[1]=t+f,n[2]=t+m,n[3]=t+b,n[4]=t+d+1,n[5]=e.length,n):(n[0]=1,n[1]=t+f,n[2]=t+b,n[3]=t+d,n[4]=t+d+1,n[5]=o,n)}}return n[0]=0,n[1]=t,n[2]=t,n[3]=o,n[4]=o,n[5]=o,n}function pf(e,t,n,a,o,u,l){l?.(n);let f=a;{const d=n.fullPath??n.from,p=d.length,m=n.options?.caseSensitive??e,b=n.options?.params?.parse??n.options?.parseParams;for(;f<p;){const v=u5(d,f,t);let x;const S=f,E=v[5];switch(f=E+1,u++,v[0]){case 0:{const R=d.substring(v[2],v[3]);if(m){const z=o.static?.get(R);if(z)x=z;else{o.static??=new Map;const M=Ji(n.fullPath??n.from);M.parent=o,M.depth=u,x=M,o.static.set(R,M)}}else{const z=R.toLowerCase(),M=o.staticInsensitive?.get(z);if(M)x=M;else{o.staticInsensitive??=new Map;const O=Ji(n.fullPath??n.from);O.parent=o,O.depth=u,x=O,o.staticInsensitive.set(z,O)}}break}case 1:{const R=d.substring(S,v[1]),z=d.substring(v[4],E),M=m&&!!(R||z),O=R?M?R:R.toLowerCase():void 0,_=z?M?z:z.toLowerCase():void 0,B=!b&&o.dynamic?.find(C=>!C.parse&&C.caseSensitive===M&&C.prefix===O&&C.suffix===_);if(B)x=B;else{const C=bh(1,n.fullPath??n.from,M,O,_);x=C,C.depth=u,C.parent=o,o.dynamic??=[],o.dynamic.push(C)}break}case 3:{const R=d.substring(S,v[1]),z=d.substring(v[4],E),M=m&&!!(R||z),O=R?M?R:R.toLowerCase():void 0,_=z?M?z:z.toLowerCase():void 0,B=!b&&o.optional?.find(C=>!C.parse&&C.caseSensitive===M&&C.prefix===O&&C.suffix===_);if(B)x=B;else{const C=bh(3,n.fullPath??n.from,M,O,_);x=C,C.parent=o,C.depth=u,o.optional??=[],o.optional.push(C)}break}case 2:{const R=d.substring(S,v[1]),z=d.substring(v[4],E),M=m&&!!(R||z),O=R?M?R:R.toLowerCase():void 0,_=z?M?z:z.toLowerCase():void 0,B=bh(2,n.fullPath??n.from,M,O,_);x=B,B.parent=o,B.depth=u,o.wildcard??=[],o.wildcard.push(B)}}o=x}if(b&&n.children&&!n.isRoot&&n.id&&n.id.charCodeAt(n.id.lastIndexOf("/")+1)===95){const v=Ji(n.fullPath??n.from);v.kind=o5,v.parent=o,u++,v.depth=u,o.pathless??=[],o.pathless.push(v),o=v}const g=(n.path||!n.children)&&!n.isRoot;if(g&&d.endsWith("/")){const v=Ji(n.fullPath??n.from);v.kind=pi,v.parent=o,u++,v.depth=u,o.index=v,o=v}o.parse=b??null,o.priority=n.options?.params?.priority??0,g&&!o.route&&(o.route=n,o.fullPath=n.fullPath??n.from)}if(n.children)for(const d of n.children)pf(e,t,d,f,o,u,l)}function mh(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function li(e){if(e.pathless)for(const t of e.pathless)li(t);if(e.static)for(const t of e.static.values())li(t);if(e.staticInsensitive)for(const t of e.staticInsensitive.values())li(t);if(e.dynamic?.length){e.dynamic.sort(mh);for(const t of e.dynamic)li(t)}if(e.optional?.length){e.optional.sort(mh);for(const t of e.optional)li(t)}if(e.wildcard?.length){e.wildcard.sort(mh);for(const t of e.wildcard)li(t)}}function Ji(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function bh(e,t,n,a,o){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0,caseSensitive:n,prefix:a,suffix:o}}function wE(e,t){const n=Ji("/"),a=new Uint16Array(6);for(const o of e)pf(!1,a,o,1,n,0);li(n),t.masksTree=n,t.flatCache=nu(1e3)}function xE(e,t){e||="/";const n=t.flatCache.get(e);if(n)return n;const a=hy(e,t.masksTree);return t.flatCache.set(e,a),a}function SE(e,t,n,a,o){e||="/",a||="/";const u=t?`case\\0${e}`:e;let l=o.singleCache.get(u);return l||(l=Ji("/"),pf(t,new Uint16Array(6),{from:e},1,l,0),o.singleCache.set(u,l)),hy(a,l,n)}function EE(e,t,n=!1){const a=n?e:`nofuzz\\0${e}`,o=t.matchCache.get(a);if(o!==void 0)return o;e||="/";let u;try{u=hy(e,t.segmentTree,n)}catch(l){if(l instanceof URIError)u=null;else throw l}return u&&(u.branch=l5(u.route)),t.matchCache.set(a,u),u}function AE(e){return e==="/"?e:e.replace(/\\/{1,}$/,"")}function TE(e,t=!1,n){const a=Ji(e.fullPath),o=new Uint16Array(6),u={},l={};let f=0;return pf(t,o,e,1,a,0,d=>{if(n?.(d,f),d.id in u&&Zt(),u[d.id]=d,f!==0&&d.path){const p=AE(d.fullPath);(!l[p]||d.fullPath.endsWith("/"))&&(l[p]=d)}f++}),li(a),{processedTree:{segmentTree:a,singleCache:nu(1e3),matchCache:nu(1e3),flatCache:null,masksTree:null},routesById:u,routesByPath:l}}function hy(e,t,n=!1){const a=e.split("/"),o=RE(e,a,t,n);if(!o)return null;const[u]=c5(e,a,o);return{route:o.node.route,rawParams:u}}function c5(e,t,n){const a=ME(n.node);let o=null;const u=Object.create(null);let l=n.extract?.part??0,f=n.extract?.node??0,d=n.extract?.path??0,p=n.extract?.segment??0;for(;f<a.length;l++,f++,d++,p++){const m=a[f];if(m.kind===pi)break;if(m.kind===o5){p--,l--,d--;continue}const b=t[l],g=d;if(b&&(d+=b.length),m.kind===1){o??=n.node.fullPath.split("/");const v=o[p],x=m.prefix?.length??0;if(v.charCodeAt(x)===123){const S=m.suffix?.length??0,E=v.substring(x+2,v.length-S-1),R=b.substring(x,b.length-S);u[E]=decodeURIComponent(R)}else{const S=v.substring(1);u[S]=decodeURIComponent(b)}}else if(m.kind===3){if(n.skipped&1<<f){l--,d=g-1;continue}o??=n.node.fullPath.split("/");const v=o[p],x=m.prefix?.length??0,S=m.suffix?.length??0,E=v.substring(x+3,v.length-S-1),R=m.suffix||m.prefix?b.substring(x,b.length-S):b;R&&(u[E]=decodeURIComponent(R))}else if(m.kind===2){const v=m,x=e.substring(g+(v.prefix?.length??0),e.length-(v.suffix?.length??0)),S=decodeURIComponent(x);u["*"]=S,u._splat=S;break}}return n.rawParams&&Object.assign(u,n.rawParams),[u,{part:l,node:f,path:d,segment:p}]}function l5(e){const t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function ME(e){const t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function RE(e,t,n,a){if(e==="/"&&n.index)return{node:n.index,skipped:0};const o=!eu(t),u=o&&e!=="/",l=t.length-(o?1:0),f=[{node:n,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let d=null,p=null;for(;f.length;){const m=f.pop(),{node:b,index:g,skipped:v,depth:x,statics:S,dynamics:E,optionals:R}=m;let{extract:z,rawParams:M}=m;if(b.kind===2&&b.route&&!Sl(p,m))continue;if(b.parse){if(!Hv(e,t,m))continue;M=m.rawParams,z=m.extract}a&&b.route&&b.kind!==pi&&Sl(d,m)&&(d=m);const O=g===l;if(O&&(b.route&&(!u||b.kind===pi||b.kind===2)&&Sl(p,m)&&(p=m),!b.optional&&!b.wildcard&&!b.index&&!b.pathless))continue;const _=O?void 0:t[g];let B;if(O&&b.index){const C={node:b.index,index:g,skipped:v,depth:x+1,statics:S,dynamics:E,optionals:R,extract:z,rawParams:M};let I=!0;if(b.index.parse&&(Hv(e,t,C)||(I=!1)),I){if(!E&&!R&&!v&&_E(S,l))return C;Sl(p,C)&&(p=C)}}if(b.wildcard)for(let C=b.wildcard.length-1;C>=0;C--){const I=b.wildcard[C],{prefix:j,suffix:D}=I;if(!(j&&(O||!(I.caseSensitive?_:B??=_.toLowerCase()).startsWith(j)))){if(D){if(O)continue;const Q=t.slice(g).join("/").slice(-D.length);if((I.caseSensitive?Q:Q.toLowerCase())!==D)continue}f.push({node:I,index:l,skipped:v,depth:x+1,statics:S,dynamics:E,optionals:R,extract:z,rawParams:M})}}if(b.optional){const C=v|1<<x,I=x+1;for(let j=b.optional.length-1;j>=0;j--){const D=b.optional[j];f.push({node:D,index:g,skipped:C,depth:I,statics:S,dynamics:E,optionals:R,extract:z,rawParams:M})}if(!O)for(let j=b.optional.length-1;j>=0;j--){const D=b.optional[j],{prefix:Q,suffix:X}=D;if(Q||X){const ne=D.caseSensitive?_:B??=_.toLowerCase();if(Q&&!ne.startsWith(Q)||X&&!ne.endsWith(X))continue}f.push({node:D,index:g+1,skipped:v,depth:I,statics:S,dynamics:E,optionals:R+xl(l,g),extract:z,rawParams:M})}}if(!O&&b.dynamic&&_)for(let C=b.dynamic.length-1;C>=0;C--){const I=b.dynamic[C],{prefix:j,suffix:D}=I;if(j||D){const Q=I.caseSensitive?_:B??=_.toLowerCase();if(j&&!Q.startsWith(j)||D&&!Q.endsWith(D))continue}f.push({node:I,index:g+1,skipped:v,depth:x+1,statics:S,dynamics:E+xl(l,g),optionals:R,extract:z,rawParams:M})}if(!O&&b.staticInsensitive){const C=b.staticInsensitive.get(B??=_.toLowerCase());C&&f.push({node:C,index:g+1,skipped:v,depth:x+1,statics:S+xl(l,g),dynamics:E,optionals:R,extract:z,rawParams:M})}if(!O&&b.static){const C=b.static.get(_);C&&f.push({node:C,index:g+1,skipped:v,depth:x+1,statics:S+xl(l,g),dynamics:E,optionals:R,extract:z,rawParams:M})}if(b.pathless){const C=x+1;for(let I=b.pathless.length-1;I>=0;I--){const j=b.pathless[I];f.push({node:j,index:g,skipped:v,depth:C,statics:S,dynamics:E,optionals:R,extract:z,rawParams:M})}}}if(p)return p;if(a&&d){let m=d.index;for(let g=0;g<d.index;g++)m+=t[g].length;const b=m===e.length?"/":e.slice(m);return d.rawParams??=Object.create(null),d.rawParams["**"]=decodeURIComponent(b),d}return null}function xl(e,t){return 2**(e-t-1)}function _E(e,t){return e===2**(t-1)-1}function Hv(e,t,n){let a,o;try{[a,o]=c5(e,t,n)}catch{return null}if(n.rawParams=a,n.extract=o,!n.node.parse)return!0;try{if(n.node.parse(a)===!1)return null}catch{}return!0}function Sl(e,t){return e?t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===pi)>(e.node.kind===pi)||t.node.kind===pi==(e.node.kind===pi)&&t.depth>e.depth))):!0}function Dl(e){return py(e.filter(t=>t!==void 0).join("/"))}function py(e){return e.replace(/\\/{2,}/g,"/")}function f5(e){return e==="/"?e:e.replace(/^\\/{1,}/,"")}function wr(e){const t=e.length;return t>1&&e[t-1]==="/"?e.replace(/\\/{1,}$/,""):e}function d5(e){return wr(f5(e))}function Xl(e,t){return e?.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function CE(e,t,n){return Xl(e,n)===Xl(t,n)}function OE({base:e,to:t,trailingSlash:n="never",cache:a}){const o=t.startsWith("/"),u=!o&&t===".";let l;if(a){l=o?t:u?e:e+"\\0"+t;const p=a.get(l);if(p)return p}let f;if(u)f=e.split("/");else if(o)f=t.split("/");else{for(f=e.split("/");f.length>1&&eu(f)==="";)f.pop();const p=t.split("/");for(let m=0,b=p.length;m<b;m++){const g=p[m];g===""?m?m===b-1&&f.push(g):f=[g]:g===".."?f.pop():g==="."||f.push(g)}}f.length>1&&(eu(f)===""?n==="never"&&f.pop():n==="always"&&f.push(""));const d=py(f.join("/"))||"/";return l&&a&&a.set(l,d),d}function PE(e){const t=new Map(e.map(o=>[encodeURIComponent(o),o])),n=Array.from(t.keys()).map(o=>o.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&")).join("|"),a=new RegExp(n,"g");return o=>o.replace(a,u=>t.get(u)??u)}function gh(e,t,n){const a=t[e];return typeof a!="string"?a:e==="_splat"?/^[a-zA-Z0-9\\-._~!/]*$/.test(a)?a:a.split("/").map(o=>qv(o,n)).join("/"):qv(a,n)}function Fv({path:e,params:t,decoder:n,...a}){let o=!1;const u=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:u,isMissingParams:o};if(!e.includes("$"))return{interpolatedPath:e,usedParams:u,isMissingParams:o};const l=e.length;let f=0,d,p="";for(;f<l;){const m=f;d=u5(e,m,d);const b=d[5];if(f=b+1,m===b)continue;const g=d[0];if(g===0){p+="/"+e.substring(m,b);continue}if(g===2){const v=t._splat;u._splat=v,u["*"]=v;const x=e.substring(m,d[1]),S=e.substring(d[4],b);if(!v){o=!0,(x||S)&&(p+="/"+x+S);continue}const E=gh("_splat",t,n);p+="/"+x+E+S;continue}if(g===1){const v=e.substring(d[2],d[3]);!o&&!(v in t)&&(o=!0),u[v]=t[v];const x=e.substring(m,d[1]),S=e.substring(d[4],b),E=gh(v,t,n)??"undefined";p+="/"+x+E+S;continue}if(g===3){const v=e.substring(d[2],d[3]),x=t[v];if(x==null)continue;u[v]=x;const S=e.substring(m,d[1]),E=e.substring(d[4],b),R=gh(v,t,n)??"";p+="/"+S+R+E;continue}}return e.endsWith("/")&&(p+="/"),{usedParams:u,interpolatedPath:p||"/",isMissingParams:o}}function qv(e,t){const n=encodeURIComponent(e);return t?.(n)??n}function mt(e){return e?.isNotFound===!0}function h5(e,t=String){const n=new URLSearchParams;for(const a in e){const o=e[a];o!==void 0&&n.set(a,t(o))}return n.toString()}function vh(e){return e?e==="false"?!1:e==="true"?!0:+e*0===0&&+e+""===e?+e:e:""}function zE(e){const t=new URLSearchParams(e),n=Object.create(null);for(const[a,o]of t.entries()){const u=n[a];u==null?n[a]=vh(o):Array.isArray(u)?u.push(vh(o)):n[a]=[u,vh(o)]}return n}const BE=NE(JSON.parse),IE=LE(JSON.stringify,JSON.parse);function NE(e){return t=>{t[0]==="?"&&(t=t.substring(1));const n=zE(t);for(const a in n){const o=n[a];if(typeof o=="string")try{n[a]=e(o)}catch{}}return n}}function LE(e,t){const n=typeof t=="function";function a(o){if(typeof o=="object"&&o!==null)try{return e(o)}catch{}else if(n&&typeof o=="string")try{return t(o),e(o)}catch{}return o}return o=>{const u=h5(o,a);return u?`?${u}`:""}}const ra="__root__";function yy(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href=="string")try{new URL(e.href),e.reloadDocument=!0}catch{}const t=new Headers(e.headers);e.href&&t.get("Location")===null&&t.set("Location",e.href);const n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function Qt(e){return e instanceof Response&&!!e.options}function $E(e){if(e!==null&&typeof e=="object"&&e.isSerializedRedirect)return yy(e)}const rp=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},UE=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),yf=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),ia=(e,t,n=!0)=>{const a={...e.router.options.context??{}},o=n?t:t-1;for(let u=0;u<=o;u++){const l=e.matches[u];if(!l)continue;const f=e.router.getMatch(l.id);f&&Object.assign(a,f.__routeContext,f.__beforeLoadContext)}return a},Gv=(e,t)=>{if(!e.matches.length)return;const n=t.routeId,a=e.matches.findIndex(l=>l.routeId===e.router.routeTree.id),o=a>=0?a:0;let u=n?e.matches.findIndex(l=>l.routeId===n):e.firstBadMatchIndex??e.matches.length-1;u<0&&(u=o);for(let l=u;l>=0;l--){const f=e.matches[l];if(e.router.looseRoutesById[f.routeId].options.notFoundComponent)return l}return n?u:o},yi=(e,t,n)=>{if(!(!Qt(n)&&!mt(n)))throw Qt(n)&&n.redirectHandled&&!n.options.reloadDocument||(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,a=>({...a,status:Qt(n)?"redirected":mt(n)?"notFound":a.status==="pending"?"success":a.status,context:ia(e,t.index),isFetching:!1,error:n})),mt(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),Qt(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n))),n},p5=(e,t)=>{const n=e.router.getMatch(t);return!!(!n||n._nonReactive.dehydrated)},Vv=(e,t,n)=>{const a=ia(e,n);e.updateMatch(t,o=>({...o,context:a}))},qo=(e,t,n)=>{const{id:a,routeId:o}=e.matches[t],u=e.router.looseRoutesById[o];if(n instanceof Promise)throw n;e.firstBadMatchIndex??=t,yi(e,e.router.getMatch(a),n);try{u.options.onError?.(n)}catch(l){n=l,yi(e,e.router.getMatch(a),n)}e.updateMatch(a,l=>(l._nonReactive.beforeLoadPromise?.resolve(),l._nonReactive.beforeLoadPromise=void 0,l._nonReactive.loadPromise?.resolve(),{...l,error:n,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!Qt(n)&&!mt(n)&&(e.serialError??=n)},y5=(e,t,n,a)=>{if(a._nonReactive.pendingTimeout!==void 0)return;const o=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!yf(e,t)&&(n.options.loader||n.options.beforeLoad||b5(n))&&typeof o=="number"&&o!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){const u=setTimeout(()=>{rp(e)},o);a._nonReactive.pendingTimeout=u}},jE=(e,t,n)=>{const a=e.router.getMatch(t);if(!a._nonReactive.beforeLoadPromise&&!a._nonReactive.loaderPromise)return;y5(e,t,n,a);const o=()=>{const u=e.router.getMatch(t);u.preload&&(u.status==="redirected"||u.status==="notFound")&&yi(e,u,u.error)};return a._nonReactive.beforeLoadPromise?a._nonReactive.beforeLoadPromise.then(o):o()},kE=(e,t,n,a)=>{const o=e.router.getMatch(t);let u=o._nonReactive.loadPromise;o._nonReactive.loadPromise=sa(()=>{u?.resolve(),u=void 0});const{paramsError:l,searchError:f}=o;l&&qo(e,n,l),f&&qo(e,n,f),y5(e,t,a,o);const d=new AbortController;let p=!1;const m=()=>{p||(p=!0,e.updateMatch(t,O=>({...O,isFetching:"beforeLoad",fetchCount:O.fetchCount+1,abortController:d})))},b=()=>{o._nonReactive.beforeLoadPromise?.resolve(),o._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,O=>({...O,isFetching:!1}))};if(!a.options.beforeLoad){e.router.batch(()=>{m(),b()});return}o._nonReactive.beforeLoadPromise=sa();const g={...ia(e,n,!1),...o.__routeContext},{search:v,params:x,cause:S}=o,E=yf(e,t),R={search:v,abortController:d,params:x,preload:E,context:g,location:e.location,navigate:O=>e.router.navigate({...O,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:E?"preload":S,matches:e.matches,routeId:a.id,...e.router.options.additionalContext},z=O=>{if(O===void 0){e.router.batch(()=>{m(),b()});return}(Qt(O)||mt(O))&&(m(),qo(e,n,O)),e.router.batch(()=>{m(),e.updateMatch(t,_=>({..._,__beforeLoadContext:O})),b()})};let M;try{if(M=a.options.beforeLoad(R),tu(M))return m(),M.catch(O=>{qo(e,n,O)}).then(z)}catch(O){m(),qo(e,n,O)}z(M)},DE=(e,t)=>{const{id:n,routeId:a}=e.matches[t],o=e.router.looseRoutesById[a],u=()=>f(),l=()=>kE(e,n,t,o),f=()=>{if(p5(e,n))return;const d=jE(e,n,o);return tu(d)?d.then(l):l()};return u()},HE=(e,t,n)=>{const a=e.router.getMatch(t);if(!a||!n.options.head&&!n.options.scripts&&!n.options.headers)return;const o={ssr:e.router.options.ssr,matches:e.matches,match:a,params:a.params,loaderData:a.loaderData};return Promise.all([n.options.head?.(o),n.options.scripts?.(o),n.options.headers?.(o)]).then(([u,l,f])=>({meta:u?.meta,links:u?.links,headScripts:u?.scripts,headers:f,scripts:l,styles:u?.styles}))},m5=(e,t,n,a,o)=>{const u=t[a-1],{params:l,loaderDeps:f,abortController:d,cause:p}=e.router.getMatch(n),m=ia(e,a),b=yf(e,n);return{params:l,deps:f,preload:!!b,parentMatchPromise:u,abortController:d,context:m,location:e.location,navigate:g=>e.router.navigate({...g,_fromLocation:e.location}),cause:b?"preload":p,route:o,...e.router.options.additionalContext}},Kv=async(e,t,n,a,o)=>{try{const u=e.router.getMatch(n);try{(!(i5??e.router.isServer)||u.ssr===!0)&&ru(o);const l=o.options.loader,f=typeof l=="function"?l:l?.handler,d=f?.(m5(e,t,n,a,o)),p=!!f&&tu(d);if((p||o._lazyPromise||o._componentsPromise||o.options.head||o.options.scripts||o.options.headers||u._nonReactive.minPendingPromise)&&e.updateMatch(n,b=>({...b,isFetching:"loader"})),f){const b=p?await d:d;yi(e,e.router.getMatch(n),b),b!==void 0&&e.updateMatch(n,g=>({...g,loaderData:b}))}o._lazyPromise&&await o._lazyPromise;const m=u._nonReactive.minPendingPromise;m&&await m,o._componentsPromise&&await o._componentsPromise,e.updateMatch(n,b=>({...b,error:void 0,context:ia(e,a),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(l){let f=l;if(f?.name==="AbortError"){if(u.abortController.signal.aborted){u._nonReactive.loaderPromise?.resolve(),u._nonReactive.loaderPromise=void 0;return}e.updateMatch(n,p=>({...p,status:p.status==="pending"?"success":p.status,isFetching:!1,context:ia(e,a)}));return}const d=u._nonReactive.minPendingPromise;d&&await d,mt(l)&&await o.options.notFoundComponent?.preload?.(),yi(e,e.router.getMatch(n),l);try{o.options.onError?.(l)}catch(p){f=p,yi(e,e.router.getMatch(n),p)}!Qt(f)&&!mt(f)&&await ru(o,["errorComponent"]),e.updateMatch(n,p=>({...p,error:f,context:ia(e,a),status:"error",isFetching:!1}))}}catch(u){const l=e.router.getMatch(n);l&&(l._nonReactive.loaderPromise=void 0),yi(e,l,u)}},FE=async(e,t,n)=>{async function a(v,x,S,E,R){const z=Date.now()-x.updatedAt,M=v?R.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:R.options.staleTime??e.router.options.defaultStaleTime??0,O=R.options.shouldReload,_=typeof O=="function"?O(m5(e,t,o,n,R)):O,{status:B,invalid:C}=E,I=z>=M&&(!!e.forceStaleReload||E.cause==="enter"||S!==void 0&&S!==E.id);l=B==="success"&&(C||(_??I)),v&&R.options.preload===!1||(l&&!e.sync&&m?(f=!0,(async()=>{try{await Kv(e,t,o,n,R);const j=e.router.getMatch(o);j._nonReactive.loaderPromise?.resolve(),j._nonReactive.loadPromise?.resolve(),j._nonReactive.loaderPromise=void 0,j._nonReactive.loadPromise=void 0}catch(j){Qt(j)&&await e.router.navigate(j.options)}})()):B!=="success"||l?await Kv(e,t,o,n,R):Vv(e,o,n))}const{id:o,routeId:u}=e.matches[n];let l=!1,f=!1;const d=e.router.looseRoutesById[u],p=d.options.loader,m=((typeof p=="function"?void 0:p?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(p5(e,o)){if(!e.router.getMatch(o))return e.matches[n];Vv(e,o,n)}else{const v=e.router.getMatch(o),x=e.router.stores.matchesId.get()[n],S=(x&&e.router.stores.matchStores.get(x)||null)?.routeId===u?x:e.router.stores.matches.get().find(R=>R.routeId===u)?.id,E=yf(e,o);if(v._nonReactive.loaderPromise){if(v.status==="success"&&!e.sync&&!v.preload&&m)return v;await v._nonReactive.loaderPromise;const R=e.router.getMatch(o),z=R._nonReactive.error||R.error;z&&yi(e,R,z),R.status==="pending"&&await a(E,v,S,R,d)}else{const R=E&&!e.router.stores.matchStores.has(o),z=e.router.getMatch(o);z._nonReactive.loaderPromise=sa(),R!==z.preload&&e.updateMatch(o,M=>({...M,preload:R})),await a(E,v,S,z,d)}}const b=e.router.getMatch(o);f||(b._nonReactive.loaderPromise?.resolve(),b._nonReactive.loadPromise?.resolve(),b._nonReactive.loadPromise=void 0),clearTimeout(b._nonReactive.pendingTimeout),b._nonReactive.pendingTimeout=void 0,f||(b._nonReactive.loaderPromise=void 0),b._nonReactive.dehydrated=void 0;const g=f?b.isFetching:!1;return g!==b.isFetching||b.invalid!==!1?(e.updateMatch(o,v=>({...v,isFetching:g,invalid:!1})),e.router.getMatch(o)):b};async function Qv(e){const t=e,n=[];UE(t.router)&&rp(t);let a;for(let g=0;g<t.matches.length;g++){try{const v=DE(t,g);tu(v)&&await v}catch(v){if(Qt(v))throw v;if(mt(v))a=v;else if(!t.preload)throw v;break}if(t.serialError||t.firstBadMatchIndex!=null)break}const o=t.firstBadMatchIndex??t.matches.length,u=a&&!t.preload?Gv(t,a):void 0,l=a&&t.preload?0:u!==void 0?Math.min(u+1,o):o;let f,d;for(let g=0;g<l;g++)n.push(FE(t,n,g));try{await Promise.all(n)}catch{const g=await Promise.allSettled(n);for(const v of g){if(v.status!=="rejected")continue;const x=v.reason;if(Qt(x))throw x;mt(x)?f??=x:d??=x}if(d!==void 0)throw d}const p=f??(a&&!t.preload?a:void 0);let m=t.firstBadMatchIndex!==void 0?t.firstBadMatchIndex:t.matches.length-1;if(!p&&a&&t.preload)return t.matches;if(p){const g=Gv(t,p);g===void 0&&Zt();const v=t.matches[g],x=t.router.looseRoutesById[v.routeId],S=t.router.options?.defaultNotFoundComponent;!x.options.notFoundComponent&&S&&(x.options.notFoundComponent=S),p.routeId=v.routeId;const E=v.routeId===t.router.routeTree.id;t.updateMatch(v.id,R=>({...R,...E?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:p},isFetching:!1})),m=g,await ru(x,["notFoundComponent"])}else if(!t.preload){const g=t.matches[0];g.globalNotFound||t.router.getMatch(g.id)?.globalNotFound&&t.updateMatch(g.id,v=>({...v,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){const g=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await ru(g,["errorComponent"])}for(let g=0;g<=m;g++){const{id:v,routeId:x}=t.matches[g],S=t.router.looseRoutesById[x];try{const E=HE(t,v,S);if(E){const R=await E;t.updateMatch(v,z=>({...z,...R}))}}catch(E){console.error(`Error executing head for route ${x}:`,E)}}const b=rp(t);if(tu(b)&&await b,p)throw p;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function Yv(e,t){const n=t.map(a=>e.options[a]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function ru(e,t=Hl){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(a=>{const{id:o,...u}=a.options;Object.assign(e.options,u),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);const n=()=>e._componentsLoaded?void 0:t===Hl?(()=>{if(e._componentsPromise===void 0){const a=Yv(e,Hl);a?e._componentsPromise=a.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():Yv(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function b5(e){for(const t of Hl)if(e.options[t]?.preload)return!0;return!1}const Hl=["component","errorComponent","pendingComponent","notFoundComponent"];function qE(e){return{input:({url:t})=>{for(const n of e)t=ip(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=g5(e[n],t);return t}}}function GE(e){const t=d5(e.basepath),n=`/${t}`,a=e.caseSensitive?n:n.toLowerCase(),o=`${a}/`;return{input:({url:u})=>{const l=e.caseSensitive?u.pathname:u.pathname.toLowerCase();return l===a?u.pathname="/":l.startsWith(o)&&(u.pathname=u.pathname.slice(n.length)),u},output:({url:u})=>(u.pathname=Dl(["/",t,u.pathname]),u)}}function ip(e,t){const n=e?.input?.({url:t});if(n){if(typeof n=="string")return new URL(n);if(n instanceof URL)return n}return t}function g5(e,t){const n=e?.output?.({url:t});if(n){if(typeof n=="string")return new URL(n);if(n instanceof URL)return n}return t}function VE(e,t){const{createMutableStore:n,createReadonlyStore:a,batch:o,init:u}=t,l=new Map,f=new Map,d=new Map,p=n(e.status),m=n(e.loadedAt),b=n(e.isLoading),g=n(e.isTransitioning),v=n(e.location),x=n(e.resolvedLocation),S=n(e.statusCode),E=n(e.redirect),R=n([]),z=n([]),M=n([]),O=a(()=>wh(l,R.get())),_=a(()=>wh(f,z.get())),B=a(()=>wh(d,M.get())),C=a(()=>R.get()[0]),I=a(()=>R.get().some(G=>l.get(G)?.get().status==="pending")),j=a(()=>({locationHref:v.get().href,resolvedLocationHref:x.get()?.href,status:p.get()})),D=a(()=>({status:p.get(),loadedAt:m.get(),isLoading:b.get(),isTransitioning:g.get(),matches:O.get(),location:v.get(),resolvedLocation:x.get(),statusCode:S.get(),redirect:E.get()})),Q=nu(64);function X(G){let te=Q.get(G);return te||(te=a(()=>{const ce=R.get();for(const fe of ce){const N=l.get(fe);if(N&&N.routeId===G)return N.get()}}),Q.set(G,te)),te}const ne={status:p,loadedAt:m,isLoading:b,isTransitioning:g,location:v,resolvedLocation:x,statusCode:S,redirect:E,matchesId:R,pendingIds:z,cachedIds:M,matches:O,pendingMatches:_,cachedMatches:B,firstId:C,hasPending:I,matchRouteDeps:j,matchStores:l,pendingMatchStores:f,cachedMatchStores:d,__store:D,getRouteMatchStore:X,setMatches:oe,setPending:ee,setCached:$};oe(e.matches),u?.(ne);function oe(G){xh(G,l,R,n,o)}function ee(G){xh(G,f,z,n,o)}function $(G){xh(G,d,M,n,o)}return ne}function wh(e,t){const n=[];for(const a of t){const o=e.get(a);o&&n.push(o.get())}return n}function xh(e,t,n,a,o){const u=e.map(f=>f.id),l=new Set(u);o(()=>{for(const f of t.keys())l.has(f)||t.delete(f);for(const f of e){const d=t.get(f.id);if(!d){const p=a(f);p.routeId=f.routeId,t.set(f.id,p);continue}d.routeId=f.routeId,d.get()!==f&&d.set(f)}gE(n.get(),u)||n.set(u)})}var mi="__TSR_index",Zv="popstate",Xv="beforeunload";function KE(e){let t=e.getLocation();const n=new Set,a=l=>{t=e.getLocation(),n.forEach(f=>f({location:t,action:l}))},o=l=>{e.notifyOnIndexChange??!0?a(l):t=e.getLocation()},u=async({task:l,navigateOpts:f,...d})=>{if(f?.ignoreBlocker??!1){l();return}const p=e.getBlockers?.()??[],m=d.type==="PUSH"||d.type==="REPLACE";if(typeof document<"u"&&p.length&&m)for(const b of p){const g=Jl(d.path,d.state);if(await b.blockerFn({currentLocation:t,nextLocation:g,action:d.type})){e.onBlocked?.();return}}l()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:l=>(n.add(l),()=>{n.delete(l)}),push:(l,f,d)=>{const p=t.state[mi];f=Jv(p+1,f),u({task:()=>{e.pushState(l,f),a({type:"PUSH"})},navigateOpts:d,type:"PUSH",path:l,state:f})},replace:(l,f,d)=>{const p=t.state[mi];f=Jv(p,f),u({task:()=>{e.replaceState(l,f),a({type:"REPLACE"})},navigateOpts:d,type:"REPLACE",path:l,state:f})},go:(l,f)=>{u({task:()=>{e.go(l),o({type:"GO",index:l})},navigateOpts:f,type:"GO"})},back:l=>{u({task:()=>{e.back(l?.ignoreBlocker??!1),o({type:"BACK"})},navigateOpts:l,type:"BACK"})},forward:l=>{u({task:()=>{e.forward(l?.ignoreBlocker??!1),o({type:"FORWARD"})},navigateOpts:l,type:"FORWARD"})},canGoBack:()=>t.state[mi]!==0,createHref:l=>e.createHref(l),block:l=>{if(!e.setBlockers)return()=>{};const f=e.getBlockers?.()??[];return e.setBlockers([...f,l]),()=>{const d=e.getBlockers?.()??[];e.setBlockers?.(d.filter(p=>p!==l))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:a}}function Jv(e,t){t||(t={});const n=my();return{...t,key:n,__TSR_key:n,[mi]:e}}function QE(e){const t=typeof document<"u"?window:void 0,n=t.history.pushState,a=t.history.replaceState;let o=[];const u=()=>o,l=I=>o=I,f=(I=>I),d=(()=>Jl(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){const I=my();t.history.replaceState({[mi]:0,key:I,__TSR_key:I},"")}let p=d(),m,b=!1,g=!1,v=!1,x=!1;const S=()=>p;let E,R;const z=()=>{E&&(C._ignoreSubscribers=!0,(E.isPush?t.history.pushState:t.history.replaceState)(E.state,"",E.href),C._ignoreSubscribers=!1,E=void 0,R=void 0,m=void 0)},M=(I,j,D)=>{const Q=f(j);R||(m=p),p=Jl(j,D),E={href:Q,state:D,isPush:E?.isPush||I==="push"},R||(R=Promise.resolve().then(()=>z()))},O=I=>{p=d(),C.notify({type:I})},_=async()=>{if(g){g=!1;return}const I=d(),j=I.state[mi]-p.state[mi],D=j===1,Q=j===-1,X=!D&&!Q||b;b=!1;const ne=X?"GO":Q?"BACK":"FORWARD",oe=X?{type:"GO",index:j}:{type:Q?"BACK":"FORWARD"};if(v)v=!1;else{const ee=u();if(typeof document<"u"&&ee.length){for(const $ of ee)if(await $.blockerFn({currentLocation:p,nextLocation:I,action:ne})){g=!0,t.history.go(1),C.notify(oe);return}}}p=d(),C.notify(oe)},B=I=>{if(x){x=!1;return}let j=!1;const D=u();if(typeof document<"u"&&D.length)for(const Q of D){const X=Q.enableBeforeUnload??!0;if(X===!0){j=!0;break}if(typeof X=="function"&&X()===!0){j=!0;break}}if(j)return I.preventDefault(),I.returnValue=""},C=KE({getLocation:S,getLength:()=>t.history.length,pushState:(I,j)=>M("push",I,j),replaceState:(I,j)=>M("replace",I,j),back:I=>(I&&(v=!0),x=!0,t.history.back()),forward:I=>{I&&(v=!0),x=!0,t.history.forward()},go:I=>{b=!0,t.history.go(I)},createHref:I=>f(I),flush:z,destroy:()=>{t.history.pushState=n,t.history.replaceState=a,t.removeEventListener(Xv,B,{capture:!0}),t.removeEventListener(Zv,_)},onBlocked:()=>{m&&p!==m&&(p=m)},getBlockers:u,setBlockers:l,notifyOnIndexChange:!1});return t.addEventListener(Xv,B,{capture:!0}),t.addEventListener(Zv,_),t.history.pushState=function(...I){const j=n.apply(t.history,I);return C._ignoreSubscribers||O("PUSH"),j},t.history.replaceState=function(...I){const j=a.apply(t.history,I);return C._ignoreSubscribers||O("REPLACE"),j},C}function YE(e){let t=e.replace(/[\\x00-\\x1f\\x7f]/g,"");return t.startsWith("//")&&(t="/"+t.replace(/^\\/+/,"")),t}function Jl(e,t){const n=YE(e),a=n.indexOf("#"),o=n.indexOf("?"),u=my();return{href:n,pathname:n.substring(0,a>0?o>0?Math.min(a,o):a:o>0?o:n.length),hash:a>-1?n.substring(a):"",search:o>-1?n.slice(o,a===-1?void 0:a):"",state:t||{[mi]:0,key:u,__TSR_key:u}}}function my(){return(Math.random()+1).toString(36).substring(7)}function ZE(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function xs(e,t){const n=t,a=e;return{fromLocation:n,toLocation:a,pathChanged:n?.pathname!==a.pathname,hrefChanged:n?.href!==a.href,hashChanged:n?.hash!==a.hash}}const ap=new WeakMap;var XE=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.routeBranchCache=new WeakMap,this.startTransition=n=>n(),this.update=n=>{const a=this.options,o=this.basepath??a?.basepath??"/",u=this.basepath===void 0,l=a?.rewrite;if(this.options={...a,...n},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=PE(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=QE()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let m;this.resolvePathCache=nu(1e3),m=this.buildRouteTree(),this.setRoutes(m)}if(!this.stores&&this.latestLocation){const m=this.getStoreConfig(this);this.batch=m.batch,this.stores=VE(WE(this.latestLocation),m),lA(this)}let f=!1;const d=this.options.basepath??"/",p=this.options.rewrite;if(u||o!==d||l!==p){this.basepath=d;const m=[],b=d5(d);b&&b!=="/"&&m.push(GE({basepath:d})),p&&m.push(p),this.rewrite=m.length===0?void 0:m.length===1?m[0]:qE(m),this.history&&this.updateLatestLocation(),f=!0}f&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const n=TE(this.routeTree,this.options.caseSensitive,(a,o)=>{a.init({originalIndex:o})});return this.options.routeMasks&&wE(this.options.routeMasks,n.processedTree),n},this.subscribe=(n,a)=>{const o={eventType:n,fn:a};return this.subscribers.add(o),()=>{this.subscribers.delete(o)}},this.emit=n=>{this.subscribers.forEach(a=>{a.eventType===n.type&&a.fn(n)})},this.parseLocation=(n,a)=>{const o=({pathname:d,search:p,hash:m,href:b,state:g})=>{if(!this.rewrite&&!/[ \\x00-\\x1f\\x7f\\u0080-\\uffff]/.test(d)){const R=this.options.parseSearch(p),z=this.options.stringifySearch(R);return{href:d+z+m,publicHref:d+z+m,pathname:Fo(d).path,external:!1,searchStr:z,search:Yi(a?.search,R),hash:Fo(m.slice(1)).path,state:Xi(a?.state,g)}}const v=new URL(b,this.origin),x=ip(this.rewrite,v),S=this.options.parseSearch(x.search),E=this.options.stringifySearch(S);return x.search=E,{href:x.href.replace(x.origin,""),publicHref:b,pathname:Fo(x.pathname).path,external:!!this.rewrite&&x.origin!==this.origin,searchStr:E,search:Yi(a?.search,S),hash:Fo(x.hash.slice(1)).path,state:Xi(a?.state,g)}},u=o(n),{__tempLocation:l,__tempKey:f}=u.state;if(l&&(!f||f===this.tempLocationKey)){const d=o(l);return d.state.key=u.state.key,d.state.__TSR_key=u.state.__TSR_key,delete d.state.__tempLocation,{...d,maskedLocation:u}}return u},this.resolvePathWithBase=(n,a)=>OE({base:n,to:a.includes("//")?py(a):a,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(n,a,o)=>typeof n=="string"?this.matchRoutesInternal({pathname:n,search:a},o):this.matchRoutesInternal(n,a),this.getMatchedRoutes=n=>eA({pathname:n,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=n=>{const a=this.getMatch(n);a&&(a.abortController.abort(),clearTimeout(a._nonReactive.pendingTimeout),a._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(n=>{this.cancelMatch(n)}),this.stores.matchesId.get().forEach(n=>{if(this.stores.pendingMatchStores.has(n))return;const a=this.stores.matchStores.get(n)?.get();a&&(a.status==="pending"||a.isFetching==="loader")&&this.cancelMatch(n)})},this.buildLocation=n=>{const a=(u={})=>{const l=u._fromLocation||this.pendingBuiltLocation||this.latestLocation,f=this.matchRoutesLightweight(l);u.from;const d=u.unsafeRelative==="path"?l.pathname:u.from??f.fullPath,p=u.to?`${u.to}`:void 0,m=f.search,b=Object.assign(Object.create(null),f.params),g=p?.charCodeAt(0)===47?"/":this.resolvePathWithBase(d,"."),v=p?this.resolvePathWithBase(g,p):g,x=u.params===!1||u.params===null?Object.create(null):(u.params??!0)===!0?b:Object.assign(b,Zi(u.params,b)),S=this.routesByPath[wr(v)];let E;if(S)E=this.getRouteBranch(S);else if(v.includes("$"))E=[];else{const Q=this.getMatchedRoutes(v);E=Q.matchedRoutes,this.options.notFoundRoute&&(!Q.foundRoute||Q.foundRoute.path!=="/"&&Q.routeParams["**"])&&(E=[...E,this.options.notFoundRoute])}if(E.length&&s5(x))for(const Q of E){const X=Q.options.params?.stringify??Q.options.stringifyParams;if(X)try{Object.assign(x,X(x))}catch{}}const R=n.leaveParams?v:Fo(Fv({path:v,params:x,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let z=m;if(n._includeValidateSearch&&this.options.search?.strict){const Q={};E.forEach(X=>{if(X.options.validateSearch)try{Object.assign(Q,Fl(X.options.validateSearch,{...Q,...z}))}catch{}}),z=Q}z=tA({search:z,dest:u,destRoutes:E,_includeValidateSearch:n._includeValidateSearch}),z=Yi(m,z);const M=this.options.stringifySearch(z),O=u.hash===!0?l.hash:u.hash?Zi(u.hash,l.hash):void 0,_=O?`#${O}`:"";let B=u.state===!0?l.state:u.state?Zi(u.state,l.state):{};B=Xi(l.state,B);const C=`${R}${M}${_}`;let I,j,D=!1;if(this.rewrite){const Q=new URL(C,this.origin),X=g5(this.rewrite,Q);I=Q.href.replace(Q.origin,""),X.origin!==this.origin?(j=X.href,D=!0):j=X.pathname+X.search+X.hash}else I=bE(C),j=I;return{publicHref:j,href:I,pathname:R,search:z,searchStr:M,state:B,hash:O??"",external:D,unmaskOnReload:u.unmaskOnReload}},o=(u={},l)=>{const f=a(u);let d=l?a(l):void 0;if(!d){const p=Object.create(null);if(this.options.routeMasks){const m=xE(f.pathname,this.processedTree);if(m){Object.assign(p,m.rawParams);const{from:b,params:g,...v}=m.route,x=g===!1||g===null?Object.create(null):(g??!0)===!0?p:Object.assign(p,Zi(g,p));l={from:n.from,...v,params:x},d=a(l)}}}return d&&(f.maskedLocation=d),f};return n.mask?o(n,{from:n.from,...n.mask}):o(n)},this.commitLocation=async({viewTransition:n,ignoreBlocker:a,...o})=>{let u;const l=()=>{const p=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];p.forEach(b=>{o.state[b]=this.latestLocation.state[b]});const m=Bt(o.state,this.latestLocation.state);return p.forEach(b=>{delete o.state[b]}),m},f=wr(this.latestLocation.href)===wr(o.href);let d=this.commitLocationPromise;if(this.commitLocationPromise=sa(()=>{d?.resolve(),d=void 0}),f&&l())this.load();else{let{maskedLocation:p,hashScrollIntoView:m,...b}=o;p&&(b={...p,state:{...p.state,__tempKey:void 0,__tempLocation:{...b,search:b.searchStr,state:{...b.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(b.unmaskOnReload??this.options.unmaskOnReload??!1)&&(b.state.__tempKey=this.tempLocationKey)),b.state.__hashScrollIntoViewOptions=m??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=n,u=o.replace?"REPLACE":"PUSH",this.history[u==="REPLACE"?"replace":"push"](b.publicHref,b.state,{ignoreBlocker:a})}return this._scroll.next=o.resetScroll??!0,this.history.subscribers.size||this.load(u?{action:{type:u}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:n,resetScroll:a,hashScrollIntoView:o,viewTransition:u,ignoreBlocker:l,href:f,...d}={})=>{if(f){const b=this.history.location.state.__TSR_index,g=Jl(f,{__TSR_index:n?b:b+1}),v=new URL(g.pathname,this.origin);d.to=ip(this.rewrite,v).pathname,d.search=this.options.parseSearch(g.search),d.hash=g.hash.slice(1)}const p=this.buildLocation({...d,_includeValidateSearch:!0});this.pendingBuiltLocation=p;const m=this.commitLocation({...p,viewTransition:u,replace:n,resetScroll:a,hashScrollIntoView:o,ignoreBlocker:l});return Promise.resolve().then(()=>{this.pendingBuiltLocation===p&&(this.pendingBuiltLocation=void 0)}),m},this.navigate=async({to:n,reloadDocument:a,href:o,publicHref:u,...l})=>{let f=!1;if(o)try{new URL(`${o}`),f=!0}catch{}if(f&&!a&&(a=!0),a){if(n!==void 0||!o){const p=this.buildLocation({to:n,...l});o=o??p.publicHref,u=u??p.publicHref}const d=!f&&u?u:o;if(Zl(d,this.protocolAllowlist))return Promise.resolve();if(!l.ignoreBlocker){const p=this.history.getBlockers?.()??[];for(const m of p)if(m?.blockerFn&&await m.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return l.replace?window.location.replace(d):window.location.href=d,Promise.resolve()}return this.buildAndCommitLocation({...l,href:o,to:n,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const n=this.matchRoutes(this.latestLocation),a=this.stores.cachedMatches.get().filter(o=>!n.some(u=>u.id===o.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(n),this.stores.setCached(a)})},this.load=async n=>{const a=n?.action?.type;let o,u,l;const f=this.stores.resolvedLocation.get()??this.stores.location.get();for(l=new Promise(p=>{this.startTransition(async()=>{try{this.beforeLoad(),a?ap.set(this.latestLocation,a):ap.delete(this.latestLocation);const m=this.latestLocation,b=xs(m,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...b}),this.emit({type:"onBeforeLoad",...b}),await Qv({router:this,sync:n?.sync,forceStaleReload:f.href===m.href,matches:this.stores.pendingMatches.get(),location:m,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let g=null,v=null,x=null,S=null;this.batch(()=>{const E=this.stores.pendingMatches.get(),R=E.length,z=this.stores.matches.get();g=R?z.filter(_=>!this.stores.pendingMatchStores.has(_.id)):null;const M=new Set;for(const _ of this.stores.pendingMatchStores.values())_.routeId&&M.add(_.routeId);const O=new Set;for(const _ of this.stores.matchStores.values())_.routeId&&O.add(_.routeId);v=R?z.filter(_=>!M.has(_.routeId)):null,x=R?E.filter(_=>!O.has(_.routeId)):null,S=R?E.filter(_=>O.has(_.routeId)):z,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),R&&(this.stores.setMatches(E),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...g.filter(_=>_.status!=="error"&&_.status!=="notFound"&&_.status!=="redirected")]),this.clearExpiredCache())});for(const[E,R]of[[v,"onLeave"],[x,"onEnter"],[S,"onStay"]])if(E)for(const z of E)this.looseRoutesById[z.routeId].options[R]?.(z)})})}})}catch(m){Qt(m)?(o=m,this.navigate({...o.options,replace:!0,ignoreBlocker:!0})):mt(m)&&(u=m);const b=o?o.status:u?404:this.stores.matches.get().some(g=>g.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(b),this.stores.redirect.set(o)})}this.latestLoadPromise===l&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),p()})}),this.latestLoadPromise=l,await l;this.latestLoadPromise&&l!==this.latestLoadPromise;)await this.latestLoadPromise;let d;this.hasNotFoundMatch()?d=404:this.stores.matches.get().some(p=>p.status==="error")&&(d=500),d!==void 0&&this.stores.statusCode.set(d)},this.startViewTransition=n=>{const a=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,a&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let o;if(typeof a=="object"&&this.isViewTransitionTypesSupported){const u=this.latestLocation,l=this.stores.resolvedLocation.get(),f=typeof a.types=="function"?a.types(xs(u,l)):a.types;if(f===!1){n();return}o={update:n,types:f}}else o=n;document.startViewTransition(o)}else n()},this.updateMatch=(n,a)=>{this.startTransition(()=>{const o=this.stores.pendingMatchStores.get(n);if(o){o.set(a);return}const u=this.stores.matchStores.get(n);if(u){u.set(a);return}const l=this.stores.cachedMatchStores.get(n);if(l){const f=a(l.get());f.status==="redirected"?this.stores.cachedMatchStores.delete(n)&&this.stores.cachedIds.set(d=>d.filter(p=>p!==n)):l.set(f)}})},this.getMatch=n=>this.stores.cachedMatchStores.get(n)?.get()??this.stores.pendingMatchStores.get(n)?.get()??this.stores.matchStores.get(n)?.get(),this.invalidate=n=>{const a=o=>n?.filter?.(o)??!0?{...o,invalid:!0,...n?.forcePending||o.status==="error"||o.status==="notFound"?{status:"pending",error:void 0}:void 0}:o;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(a)),this.stores.setCached(this.stores.cachedMatches.get().map(a)),this.stores.setPending(this.stores.pendingMatches.get().map(a))}),this.shouldViewTransition=!1,this.load({sync:n?.sync})},this.getParsedLocationHref=n=>n.publicHref||"/",this.resolveRedirect=n=>{const a=n.headers.get("Location");if(!n.options.href||n.options._builtLocation){const o=n.options._builtLocation??this.buildLocation(n.options),u=this.getParsedLocationHref(o);n.options.href=u,n.headers.set("Location",u)}else if(a)try{const o=new URL(a);if(this.origin&&o.origin===this.origin){const u=o.pathname+o.search+o.hash;n.options.href=u,n.headers.set("Location",u)}}catch{}if(n.options.href&&!n.options._builtLocation&&Zl(n.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return n.headers.get("Location")||n.headers.set("Location",n.options.href),n},this.clearCache=n=>{const a=n?.filter;a!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(o=>!a(o))):this.stores.setCached([])},this.clearExpiredCache=()=>{const n=Date.now(),a=o=>{const u=this.looseRoutesById[o.routeId];if(!u.options.loader)return!0;const l=(o.preload?u.options.preloadGcTime??this.options.defaultPreloadGcTime:u.options.gcTime??this.options.defaultGcTime)??300*1e3;return o.status==="error"?!0:n-o.updatedAt>=l};this.clearCache({filter:a})},this.loadRouteChunk=ru,this.preloadRoute=async n=>{const a=n._builtLocation??this.buildLocation(n);let o=this.matchRoutes(a,{throwOnError:!0,preload:!0,dest:n});const u=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),l=new Set([...u,...this.stores.cachedIds.get()]),f=o.filter(d=>!l.has(d.id));if(f.length){const d=this.stores.cachedMatches.get();this.stores.setCached([...d,...f])}try{return o=await Qv({router:this,matches:o,location:a,preload:!0,updateMatch:(d,p)=>{u.has(d)?o=o.map(m=>m.id===d?p(m):m):this.updateMatch(d,p)}}),o}catch(d){if(Qt(d))return d.options.reloadDocument?void 0:await this.preloadRoute({...d.options,_fromLocation:a});mt(d)||console.error(d);return}},this.matchRoute=(n,a)=>{const o={...n,to:n.to?this.resolvePathWithBase(n.from||"",n.to):void 0,params:n.params||{},leaveParams:!0},u=this.buildLocation(o);if(a?.pending&&this.stores.status.get()!=="pending")return!1;const l=(a?.pending===void 0?!this.stores.isLoading.get():a.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),f=SE(u.pathname,a?.caseSensitive??!1,a?.fuzzy??!1,l.pathname,this.processedTree);return!f||n.params&&!Bt(f.rawParams,n.params,{partial:!0})?!1:a?.includeSearch??!0?Bt(l.search,u.search,{partial:!0})?f.rawParams:!1:f.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(n=>n.status==="notFound"||n.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??IE,parseSearch:e.parseSearch??BE,protocolAllowlist:e.protocolAllowlist??hE}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;const a=this.options.notFoundRoute;a&&(a.init({originalIndex:99999999999}),this.routesById[a.id]=a)}getRouteBranch(e){let t=this.routeBranchCache.get(e);return t||(t=l5(e),this.routeBranchCache.set(e,t)),t}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){const n=this.getMatchedRoutes(e.pathname),{foundRoute:a,routeParams:o}=n;let{matchedRoutes:u}=n,l=!1;(a?a.path!=="/"&&o["**"]:wr(e.pathname))&&(this.options.notFoundRoute?u=[...u,this.options.notFoundRoute]:l=!0);const f=l?rA(this.options.notFoundMode,u):void 0,d=new Array(u.length),p=new Map;for(const m of this.stores.matchStores.values())m.routeId&&p.set(m.routeId,m.get());for(let m=0;m<u.length;m++){const b=u[m],g=d[m-1];let v,x,S;{const X=g?.search??e.search,ne=g?._strictSearch??void 0;try{const oe=Fl(b.options.validateSearch,{...X})??void 0;v={...X,...oe},x={...ne,...oe},S=void 0}catch(oe){let ee=oe;if(oe instanceof Wl||(ee=new Wl(oe.message,{cause:oe})),t?.throwOnError)throw ee;v=X,x={},S=ee}}const E=b.options.loaderDeps?.({search:v})??"",R=E?JSON.stringify(E):"",{interpolatedPath:z,usedParams:M}=Fv({path:b.fullPath,params:o,decoder:this.pathParamsDecoder,server:this.isServer}),O=b.id+z+R,_=this.getMatch(O),B=p.get(b.id),C=_?._strictParams??M;let I;if(!_)try{Wv(b,C)}catch(X){if(mt(X)||Qt(X)?I=X:I=new JE(X.message,{cause:X}),t?.throwOnError)throw I}Object.assign(o,C);const j=B?"stay":"enter";let D;if(_)D={..._,cause:j,params:B?.params??o,_strictParams:C,search:Yi(B?B.search:_.search,v),_strictSearch:x};else{const X=b.options.loader||b.options.beforeLoad||b.lazyFn||b5(b)?"pending":"success";D={id:O,ssr:b.options.ssr,index:m,routeId:b.id,params:B?.params??o,_strictParams:C,pathname:z,updatedAt:Date.now(),search:B?Yi(B.search,v):v,_strictSearch:x,searchError:void 0,status:X,isFetching:!1,error:void 0,paramsError:I,__routeContext:void 0,_nonReactive:{loadPromise:sa()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:j,loaderDeps:B?Xi(B.loaderDeps,E):E,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:b.options.staticData||{},fullPath:b.fullPath}}t?.preload||(D.globalNotFound=f===b.id),D.searchError=S;const Q=this.getParentContext(g);D.context={...Q,...D.__routeContext,...D.__beforeLoadContext},d[m]=D}for(let m=0;m<d.length;m++){const b=d[m],g=this.looseRoutesById[b.routeId],v=this.getMatch(b.id),x=p.get(b.routeId);if(b.params=x?Yi(x.params,o):o,!v){const S=d[m-1],E=this.getParentContext(S);if(g.options.context){const R={deps:b.loaderDeps,params:b.params,context:E??{},location:e,navigate:z=>this.navigate({...z,_fromLocation:e}),buildLocation:this.buildLocation,cause:b.cause,abortController:b.abortController,preload:!!b.preload,matches:d,routeId:g.id};b.__routeContext=g.options.context(R)??void 0}b.context={...E,...b.__routeContext,...b.__beforeLoadContext}}}return d}matchRoutesLightweight(e){const{matchedRoutes:t,routeParams:n}=this.getMatchedRoutes(e.pathname),a=eu(t),o={...e.search};for(const p of t)try{Object.assign(o,Fl(p.options.validateSearch,o))}catch{}const u=eu(this.stores.matchesId.get()),l=u&&this.stores.matchStores.get(u)?.get(),f=l&&l.routeId===a.id&&l.pathname===e.pathname;let d;if(f)d=l.params;else{const p=Object.assign(Object.create(null),n);for(const m of t)try{Wv(m,p)}catch{}d=p}return{matchedRoutes:t,fullPath:a.fullPath,search:o,params:d}}},Wl=class extends Error{},JE=class extends Error{};function WE(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Fl(e,t){if(e==null)return{};if("~standard"in e){const n=e["~standard"].validate(t);if(n instanceof Promise)throw new Wl("Async validation not supported");if(n.issues)throw new Wl(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return"parse"in e?e.parse(t):typeof e=="function"?e(t):{}}function eA({pathname:e,routesById:t,processedTree:n}){const a=Object.create(null),o=wr(e);let u;const l=EE(o,n,!0);return l&&(u=l.route,Object.assign(a,l.rawParams)),{matchedRoutes:l?.branch||[t.__root__],routeParams:a,foundRoute:u}}function tA({search:e,dest:t,destRoutes:n,_includeValidateSearch:a}){return nA(n)(e,t,a??!1)}function nA(e){let t,n;const a=[];for(const u of e){const l=u.options;if("search"in l)l.search?.middlewares&&a.push(...l.search.middlewares);else if(l.preSearchFilters||l.postSearchFilters){const d=({search:p,next:m})=>{const b=m(l.preSearchFilters?l.preSearchFilters.reduce((g,v)=>v(g),p):p);return l.postSearchFilters?l.postSearchFilters.reduce((g,v)=>v(g),b):b};a.push(d)}const f=l.validateSearch;if(f){const d=({search:p,next:m,meta:b})=>{const g=m(p);if(n)try{const v=Fl(f,g);if(b&&v)for(const x in v)x in g||(b.defaulted||=new Map).set(x,v[x]);return{...g,...v}}catch{}return g};a.push(d)}}const o=(u,l,f)=>{if(u>=a.length){if(!t.search)return{};if(t.search===!0)return l;const p=Zi(t.search,l);return f&&(f.explicit=p),p}const d=(p,m)=>{if(m){const b=f||{};return{search:o(u+1,p,b),meta:b}}return o(u+1,p,f)};return a[u]({search:l,next:d,meta:f})};return function(l,f,d){return t=f,n=d,o(0,l)}}function rA(e,t){if(e!=="root")for(let n=t.length-1;n>=0;n--){const a=t[n];if(a.children)return a.id}return ra}function Wv(e,t){const n=e.options.params?.parse??e.options.parseParams;if(n){const a=n(t);if(a===!1)throw new Error("Route params.parse returned false for a matched route");Object.assign(t,a)}}function iA(){try{return sessionStorage}catch{return}}const aA="tsr-scroll-restoration-v1_3",v5=iA();function sA(){try{return JSON.parse(v5?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function oA(){try{v5?.setItem(aA,JSON.stringify(hs))}catch{}}const hs=sA(),e6="data-scroll-restoration-id",uA=e=>e.state.__TSR_key||e.href;function cA(e){const t=e.getAttribute(e6);if(t)return`[${e6}="${t}"]`;let n="",a=e,o;for(;o=a.parentNode;){let u=1,l=a;for(;l=l.previousElementSibling;)u++;const f=`${a.localName}:nth-child(${u})`;n=n?`${f} > ${n}`:f,a=o}return n}let El=!1;const ps="window";function sp(e){try{return typeof e=="function"?e():document.querySelector(e)}catch{}}function t6(e){const t=[];for(const n of e){if(n===ps)continue;const a=sp(n);a&&t.push(a)}return t}function lA(e,t){const n=e.options.scrollRestoration,a=e._scroll;n&&(a.restoring=!0);const o=e.options.getScrollRestorationKey||uA,u=new Map,l=(p,m,b)=>{const g=u.get(p)||{};g.scrollX=m,g.scrollY=b,u.set(p,g)},f=p=>{if(!(El||!a.restoring))if(p.target===document)l(ps,scrollX,scrollY);else{const m=p.target;l(m,m.scrollLeft,m.scrollTop)}},d=p=>{if(!a.restoring)return;const m=hs[p]||={};for(const[b,g]of u)b===ps?m[ps]=g:b.isConnected&&(m[cA(b)]=g)};n&&!a.restoration&&(a.restoration=!0,El=!1,history.scrollRestoration="manual",document.addEventListener("scroll",f,!0),e.subscribe("onBeforeLoad",p=>{p.fromLocation&&d(o(p.fromLocation)),u.clear()}),addEventListener("pagehide",()=>{d(o(e.stores.resolvedLocation.get()??e.stores.location.get())),oA()})),!a.reset&&(a.reset=!0,e.subscribe("onRendered",p=>{const m=e.options.scrollRestorationBehavior,b=e.options.scrollToTopSelectors,g=a.next;let v;if(u.clear(),g||(a.next=!0),typeof e.options.scrollRestoration=="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;const x=o(p.toLocation),S=p.fromLocation&&o(p.fromLocation);if(a.restoring&&S&&S!==x){const E=hs[S];if(E){let R=hs[x];for(const z in E){if(z===ps){if(g)continue}else{const M=sp(z);if(!M||g&&b&&(v??=t6(b),v.includes(M)))continue}R||(R=hs[x]={}),R[z]??=E[z]}}}El=!0;try{const E=p.toLocation.hash,R=p.toLocation.state.__hashScrollIntoViewOptions??!0;let z=!1;if(g){const M=ap.get(p.toLocation),O=E&&R&&(M==="PUSH"||M==="REPLACE"),_=a.restoring?hs[x]:void 0;if(_)for(const B in _){const{scrollX:C,scrollY:I}=_[B];if(B===ps){if(O)continue;scrollTo({top:I,left:C,behavior:m}),z=!0}else{const j=sp(B);j&&(j.scrollLeft=C,j.scrollTop=I)}}if(!z&&!E){const B={top:0,left:0,behavior:m};if(scrollTo(B),b){v??=t6(b);for(const C of v)C.scrollTo(B)}}}!z&&E&&R&&document.getElementById(E)?.scrollIntoView(R)}finally{El=!1}}))}const Fn=Symbol.for("TSR_DEFERRED_PROMISE");function fA(e,t){const n=e;return n[Fn]||(n[Fn]={status:"pending"},n.then(a=>{n[Fn].status="success",n[Fn].data=a}).catch(a=>{n[Fn].status="error",n[Fn].error={data:ZE(a),__isServerError:!0}})),n}const dA="Error preloading route! ☝️";function w5(e,t){if(e)return typeof e=="string"?e:e[t]}function hA(e){return e?.scriptFormat??"module"}function pA(e,t,n){const a=yA(t),o=w5(n,"script")??a.crossOrigin;return{...hA(e)==="iife"?{rel:"preload",as:"script"}:{rel:"modulepreload"},href:a.href,...o?{crossOrigin:o}:{}}}function yA(e){return typeof e=="string"?{href:e,crossOrigin:void 0}:e}function Al(e,t){if(t.length===0)return;if(t.length===1){e.push(t[0]);return}const n=new Set;for(const a of t){const o=JSON.stringify(a);n.has(o)||(n.add(o),e.push(a))}}function mA(e){return typeof e=="string"?{href:e,crossOrigin:void 0}:e}var x5=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=t=>{this.originalIndex=t.originalIndex;const n=this.options,a=!n?.path&&!n?.id;this.parentRoute=this.options.getParentRoute?.(),a?this._path=ra:this.parentRoute||Zt();let o=a?ra:n?.path;o&&o!=="/"&&(o=f5(o));const u=n?.id||o;let l=a?ra:Dl([this.parentRoute.id==="__root__"?"":this.parentRoute.id,u]);o==="__root__"&&(o="/"),l!=="__root__"&&(l=Dl(["/",l]));const f=l==="__root__"?"/":Dl([this.parentRoute.fullPath,o]);this._path=o,this._id=l,this._fullPath=f,this._to=wr(f)},this.addChildren=t=>this._addFileChildren(t),this._addFileChildren=t=>(Array.isArray(t)&&(this.children=t),typeof t=="object"&&t!==null&&(this.children=Object.values(t)),this),this._addFileTypes=()=>this,this.updateLoader=t=>(Object.assign(this.options,t),this),this.update=t=>(Object.assign(this.options,t),this),this.lazy=t=>(this.lazyFn=t,this),this.redirect=t=>yy({from:this.fullPath,...t}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw new Error("Route cannot have both an \'id\' and a \'path\' option.")}},bA=class extends x5{constructor(e){super(e)}},gA=(e=>(e[e.AggregateError=1]="AggregateError",e[e.ArrowFunction=2]="ArrowFunction",e[e.ErrorPrototypeStack=4]="ErrorPrototypeStack",e[e.ObjectAssign=8]="ObjectAssign",e[e.BigIntTypedArray=16]="BigIntTypedArray",e[e.RegExp=32]="RegExp",e))(gA||{}),Tr=Symbol.asyncIterator,S5=Symbol.hasInstance,Ss=Symbol.isConcatSpreadable,Mr=Symbol.iterator,E5=Symbol.match,A5=Symbol.matchAll,T5=Symbol.replace,M5=Symbol.search,R5=Symbol.species,_5=Symbol.split,C5=Symbol.toPrimitive,Es=Symbol.toStringTag,O5=Symbol.unscopables,P5={[Tr]:0,[S5]:1,[Ss]:2,[Mr]:3,[E5]:4,[A5]:5,[T5]:6,[M5]:7,[R5]:8,[_5]:9,[C5]:10,[Es]:11,[O5]:12},vA={0:Tr,1:S5,2:Ss,3:Mr,4:E5,5:A5,6:T5,7:M5,8:R5,9:_5,10:C5,11:Es,12:O5},P=void 0,wA={2:!0,3:!1,1:P,0:null,4:-0,5:Number.POSITIVE_INFINITY,6:Number.NEGATIVE_INFINITY,7:Number.NaN},xA={0:"Error",1:"EvalError",2:"RangeError",3:"ReferenceError",4:"SyntaxError",5:"TypeError",6:"URIError"},SA={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function ze(e,t,n,a,o,u,l,f,d,p,m,b){return{t:e,i:t,s:n,c:a,m:o,p:u,e:l,a:f,f:d,b:p,o:m,l:b}}function Mi(e){return ze(2,P,e,P,P,P,P,P,P,P,P,P)}var z5=Mi(2),B5=Mi(3),EA=Mi(1),AA=Mi(0),TA=Mi(4),MA=Mi(5),RA=Mi(6),_A=Mi(7);function CA(e){switch(e){case\'"\':return\'\\\\"\';case"\\\\":return"\\\\\\\\";case`\n`:return"\\\\n";case"\\r":return"\\\\r";case"\\b":return"\\\\b";case"\t":return"\\\\t";case"\\f":return"\\\\f";case"<":return"\\\\x3C";case"\\u2028":return"\\\\u2028";case"\\u2029":return"\\\\u2029";default:return P}}function Ri(e){let t="",n=0,a;for(let o=0,u=e.length;o<u;o++)a=CA(e[o]),a&&(t+=e.slice(n,o)+a,n=o+1);return n===0?t=e:t+=e.slice(n),t}function OA(e){switch(e){case"\\\\\\\\":return"\\\\";case\'\\\\"\':return\'"\';case"\\\\n":return`\n`;case"\\\\r":return"\\r";case"\\\\b":return"\\b";case"\\\\t":return"\t";case"\\\\f":return"\\f";case"\\\\x3C":return"<";case"\\\\u2028":return"\\u2028";case"\\\\u2029":return"\\u2029";default:return e}}function _i(e){return e.replace(/(\\\\\\\\|\\\\"|\\\\n|\\\\r|\\\\b|\\\\t|\\\\f|\\\\u2028|\\\\u2029|\\\\x3C)/g,OA)}var Tl="__SEROVAL_REFS__",I5=new Map,bs=new Map;function N5(e){return I5.has(e)}function PA(e){return bs.has(e)}function zA(e){if(N5(e))return I5.get(e);throw new c9(e)}function BA(e){if(PA(e))return bs.get(e);throw new l9(e)}typeof globalThis<"u"?Object.defineProperty(globalThis,Tl,{value:bs,configurable:!0,writable:!1,enumerable:!1}):typeof window<"u"?Object.defineProperty(window,Tl,{value:bs,configurable:!0,writable:!1,enumerable:!1}):typeof self<"u"?Object.defineProperty(self,Tl,{value:bs,configurable:!0,writable:!1,enumerable:!1}):typeof global<"u"&&Object.defineProperty(global,Tl,{value:bs,configurable:!0,writable:!1,enumerable:!1});function by(e){return e instanceof EvalError?1:e instanceof RangeError?2:e instanceof ReferenceError?3:e instanceof SyntaxError?4:e instanceof TypeError?5:e instanceof URIError?6:0}function IA(e){let t=xA[by(e)];return e.name!==t?{name:e.name}:e.constructor.name!==t?{name:e.constructor.name}:{}}function L5(e,t){let n=IA(e),a=Object.getOwnPropertyNames(e);for(let o=0,u=a.length,l;o<u;o++)l=a[o],l!=="name"&&l!=="message"&&(l==="stack"?t&4&&(n=n||{},n[l]=e[l]):(n=n||{},n[l]=e[l]));return n}function $5(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:Object.isExtensible(e)?0:1}function NA(e){switch(e){case Number.POSITIVE_INFINITY:return MA;case Number.NEGATIVE_INFINITY:return RA}return e!==e?_A:Object.is(e,-0)?TA:ze(0,P,e,P,P,P,P,P,P,P,P,P)}function U5(e){return ze(1,P,Ri(e),P,P,P,P,P,P,P,P,P)}function LA(e){return ze(3,P,""+e,P,P,P,P,P,P,P,P,P)}function $A(e){return ze(4,e,P,P,P,P,P,P,P,P,P,P)}function UA(e,t){let n=t.valueOf();return ze(5,e,n!==n?"":t.toISOString(),P,P,P,P,P,P,P,P,P)}function jA(e,t){return ze(6,e,P,Ri(t.source),t.flags,P,P,P,P,P,P,P)}function kA(e,t){return ze(17,e,P5[t],P,P,P,P,P,P,P,P,P)}function DA(e,t){return ze(18,e,Ri(zA(t)),P,P,P,P,P,P,P,P,P)}function HA(e,t,n){return ze(25,e,n,Ri(t),P,P,P,P,P,P,P,P)}function FA(e,t,n){return ze(9,e,P,P,P,P,P,n,P,P,$5(t),P)}function qA(e,t){return ze(21,e,P,P,P,P,P,P,t,P,P,P)}function GA(e,t,n){return ze(15,e,P,t.constructor.name,P,P,P,P,n,t.byteOffset,P,t.length)}function VA(e,t,n){return ze(16,e,P,t.constructor.name,P,P,P,P,n,t.byteOffset,P,t.byteLength)}function KA(e,t,n){return ze(20,e,P,P,P,P,P,P,n,t.byteOffset,P,t.byteLength)}function QA(e,t,n){return ze(13,e,by(t),P,Ri(t.message),n,P,P,P,P,P,P)}function YA(e,t,n){return ze(14,e,by(t),P,Ri(t.message),n,P,P,P,P,P,P)}function ZA(e,t){return ze(7,e,P,P,P,P,P,t,P,P,P,P)}function XA(e,t){return ze(28,P,P,P,P,P,P,[e,t],P,P,P,P)}function JA(e,t){return ze(30,P,P,P,P,P,P,[e,t],P,P,P,P)}function WA(e,t,n){return ze(31,e,P,P,P,P,P,n,t,P,P,P)}function e9(e,t){return ze(32,e,P,P,P,P,P,P,t,P,P,P)}function t9(e,t){return ze(33,e,P,P,P,P,P,P,t,P,P,P)}function n9(e,t){return ze(34,e,P,P,P,P,P,P,t,P,P,P)}function r9(e,t,n,a){return ze(35,e,n,P,P,P,P,t,P,P,P,a)}var i9={parsing:1,serialization:2,deserialization:3};function a9(e){return`Seroval Error (step: ${i9[e]})`}var s9=(e,t)=>a9(e),j5=class extends Error{constructor(e,t){super(s9(e)),this.cause=t}},n6=class extends j5{constructor(e){super("parsing",e)}},o9=class extends j5{constructor(e){super("deserialization",e)}};function Cr(e){return`Seroval Error (specific: ${e})`}var mf=class extends Error{constructor(t){super(Cr(1)),this.value=t}},k5=class extends Error{constructor(e){super(Cr(2))}},u9=class extends Error{constructor(e){super(Cr(3))}},Vu=class extends Error{constructor(e){super(Cr(4))}},c9=class extends Error{constructor(e){super(Cr(5)),this.value=e}},l9=class extends Error{constructor(e){super(Cr(6))}},f9=class extends Error{constructor(e){super(Cr(7))}},Or=class extends Error{constructor(e){super(Cr(8))}},d9=class extends Error{constructor(e){super(Cr(9))}},h9=class{constructor(e,t){this.value=e,this.replacement=t}},bf=()=>{let e={p:0,s:0,f:0};return e.p=new Promise((t,n)=>{e.s=t,e.f=n}),e},p9=(e,t)=>{e.s(t),e.p.s=1,e.p.v=t},y9=(e,t)=>{e.f(t),e.p.s=2,e.p.v=t};bf.toString();p9.toString();y9.toString();var m9=()=>{let e=[],t=[],n=!0,a=!1,o=0,u=(d,p,m)=>{for(m=0;m<o;m++)t[m]&&t[m][p](d)},l=(d,p,m,b)=>{for(p=0,m=e.length;p<m;p++)b=e[p],!n&&p===m-1?d[a?"return":"throw"](b):d.next(b)},f=(d,p)=>(n&&(p=o++,t[p]=d),l(d),()=>{n&&(t[p]=t[o],t[o--]=void 0)});return{__SEROVAL_STREAM__:!0,on:d=>f(d),next:d=>{n&&(e.push(d),u(d,"next"))},throw:d=>{n&&(e.push(d),u(d,"throw"),n=!1,a=!1,t.length=0)},return:d=>{n&&(e.push(d),u(d,"return"),n=!1,a=!0,t.length=0)}}},b9=e=>t=>()=>{let n=0,a={[e]:()=>a,next:()=>{if(n>t.d)return{done:!0,value:void 0};let o=n++,u=t.v[o];if(o===t.t)throw u;return{done:o===t.d,value:u}}};return a},g9=(e,t)=>n=>()=>{let a=0,o=-1,u=!1,l=[],f=[],d=(m=0,b=f.length)=>{for(;m<b;m++)f[m].s({done:!0,value:void 0})};n.on({next:m=>{let b=f.shift();b&&b.s({done:!1,value:m}),l.push(m)},throw:m=>{let b=f.shift();b&&b.f(m),d(),o=l.length,u=!0,l.push(m)},return:m=>{let b=f.shift();b&&b.s({done:!0,value:m}),d(),o=l.length,l.push(m)}});let p={[e]:()=>p,next:()=>{if(o===-1){let g=a++;if(g>=l.length){let v=t();return f.push(v),v.p}return{done:!1,value:l[g]}}if(a>o)return{done:!0,value:void 0};let m=a++,b=l[m];if(m!==o)return{done:!1,value:b};if(u)throw b;return{done:!0,value:b}}};return p},D5=e=>{let t=atob(e),n=t.length,a=new Uint8Array(n);for(let o=0;o<n;o++)a[o]=t.charCodeAt(o);return a.buffer};D5.toString();function v9(e){return"__SEROVAL_SEQUENCE__"in e}function H5(e,t,n){return{__SEROVAL_SEQUENCE__:!0,v:e,t,d:n}}function w9(e){let t=[],n=-1,a=-1,o=e[Mr]();for(;;)try{let u=o.next();if(t.push(u.value),u.done){a=t.length-1;break}}catch(u){n=t.length,t.push(u)}return H5(t,n,a)}var x9=b9(Mr);function S9(e){return x9(e)}var E9={},A9={},T9={0:{},1:{},2:{},3:{},4:{},5:{}};function M9(e){return"__SEROVAL_STREAM__"in e}function wa(){return m9()}function R9(e){let t=wa(),n=e[Tr]();async function a(){try{let o=await n.next();o.done?t.return(o.value):(t.next(o.value),await a())}catch(o){t.throw(o)}}return a().catch(()=>{}),t}var _9=g9(Tr,bf);function C9(e){return _9(e)}async function O9(e){try{return[1,await e]}catch(t){return[0,t]}}function P9(e,t){return{plugins:t.plugins,mode:e,marked:new Set,features:63^(t.disabledFeatures||0),refs:t.refs||new Map,depthLimit:t.depthLimit||1e3}}function ql(e,t){e.marked.add(t)}function z9(e,t){let n=e.refs.size;return e.refs.set(t,n),n}function gf(e,t){let n=e.refs.get(t);return n!=null?(ql(e,n),{type:1,value:$A(n)}):{type:0,value:z9(e,t)}}function gy(e,t){let n=gf(e,t);return n.type===1?n:N5(t)?{type:2,value:DA(n.value,t)}:n}function Wi(e,t){let n=gy(e,t);if(n.type!==0)return n.value;if(t in P5)return kA(n.value,t);throw new mf(t)}function vf(e,t){let n=gf(e,T9[t]);return n.type===1?n.value:ze(26,n.value,t,P,P,P,P,P,P,P,P,P)}function B9(e){let t=gf(e,E9);return t.type===1?t.value:ze(27,t.value,P,P,P,P,P,P,Wi(e,Mr),P,P,P)}function I9(e){let t=gf(e,A9);return t.type===1?t.value:ze(29,t.value,P,P,P,P,P,[vf(e,1),Wi(e,Tr)],P,P,P,P)}function N9(e,t,n,a){return ze(n?11:10,e,P,P,P,a,P,P,P,P,$5(t),P)}function L9(e,t,n,a){return ze(8,t,P,P,P,P,{k:n,v:a},P,vf(e,0),P,P,P)}function $9(e,t,n){let a=new Uint8Array(n),o="";for(let u=0,l=a.length;u<l;u++)o+=String.fromCharCode(a[u]);return ze(19,t,Ri(btoa(o)),P,P,P,P,P,vf(e,5),P,P,P)}function U9(e,t){return{base:P9(e,t),child:void 0}}var j9=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return lt(this._p,this.depth,e)}};async function k9(e,t,n){let a=[];for(let o=0,u=n.length;o<u;o++)o in n?a[o]=await lt(e,t,n[o]):a[o]=0;return a}async function D9(e,t,n,a){return FA(n,a,await k9(e,t,a))}async function vy(e,t,n){let a=Object.entries(n),o=[],u=[];for(let l=0,f=a.length;l<f;l++)o.push(Ri(a[l][0])),u.push(await lt(e,t,a[l][1]));return Mr in n&&(o.push(Wi(e.base,Mr)),u.push(XA(B9(e.base),await lt(e,t,w9(n))))),Tr in n&&(o.push(Wi(e.base,Tr)),u.push(JA(I9(e.base),await lt(e,t,R9(n))))),Es in n&&(o.push(Wi(e.base,Es)),u.push(U5(n[Es]))),Ss in n&&(o.push(Wi(e.base,Ss)),u.push(n[Ss]?z5:B5)),{k:o,v:u}}async function Sh(e,t,n,a,o){return N9(n,a,o,await vy(e,t,a))}async function H9(e,t,n,a){return qA(n,await lt(e,t,a.valueOf()))}async function F9(e,t,n,a){return GA(n,a,await lt(e,t,a.buffer))}async function q9(e,t,n,a){return VA(n,a,await lt(e,t,a.buffer))}async function G9(e,t,n,a){return KA(n,a,await lt(e,t,a.buffer))}async function r6(e,t,n,a){let o=L5(a,e.base.features);return QA(n,a,o?await vy(e,t,o):P)}async function V9(e,t,n,a){let o=L5(a,e.base.features);return YA(n,a,o?await vy(e,t,o):P)}async function K9(e,t,n,a){let o=[],u=[];for(let[l,f]of a.entries())o.push(await lt(e,t,l)),u.push(await lt(e,t,f));return L9(e.base,n,o,u)}async function Q9(e,t,n,a){let o=[];for(let u of a.keys())o.push(await lt(e,t,u));return ZA(n,o)}async function F5(e,t,n,a){let o=e.base.plugins;if(o)for(let u=0,l=o.length;u<l;u++){let f=o[u];if(f.parse.async&&f.test(a))return HA(n,f.tag,await f.parse.async(a,new j9(e,t),{id:n}))}return P}async function Y9(e,t,n,a){let[o,u]=await O9(a);return ze(12,n,o,P,P,P,P,P,await lt(e,t,u),P,P,P)}function Z9(e,t,n,a,o){let u=[],l=n.on({next:f=>{ql(this.base,t),lt(this,e,f).then(d=>{u.push(e9(t,d))},d=>{o(d),l()})},throw:f=>{ql(this.base,t),lt(this,e,f).then(d=>{u.push(t9(t,d)),a(u),l()},d=>{o(d),l()})},return:f=>{ql(this.base,t),lt(this,e,f).then(d=>{u.push(n9(t,d)),a(u),l()},d=>{o(d),l()})}})}async function X9(e,t,n,a){return WA(n,vf(e.base,4),await new Promise(Z9.bind(e,t,n,a)))}async function J9(e,t,n,a){let o=[];for(let u=0,l=a.v.length;u<l;u++)o[u]=await lt(e,t,a.v[u]);return r9(n,o,a.t,a.d)}async function W9(e,t,n,a){if(Array.isArray(a))return D9(e,t,n,a);if(M9(a))return X9(e,t,n,a);if(v9(a))return J9(e,t,n,a);let o=a.constructor;if(o===h9)return lt(e,t,a.replacement);let u=await F5(e,t,n,a);if(u)return u;switch(o){case Object:return Sh(e,t,n,a,!1);case P:return Sh(e,t,n,a,!0);case Date:return UA(n,a);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return r6(e,t,n,a);case Number:case Boolean:case String:case BigInt:return H9(e,t,n,a);case ArrayBuffer:return $9(e.base,n,a);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return F9(e,t,n,a);case DataView:return G9(e,t,n,a);case Map:return K9(e,t,n,a);case Set:return Q9(e,t,n,a)}if(o===Promise||a instanceof Promise)return Y9(e,t,n,a);let l=e.base.features;if(l&32&&o===RegExp)return jA(n,a);if(l&16)switch(o){case BigInt64Array:case BigUint64Array:return q9(e,t,n,a)}if(l&1&&typeof AggregateError<"u"&&(o===AggregateError||a instanceof AggregateError))return V9(e,t,n,a);if(a instanceof Error)return r6(e,t,n,a);if(Mr in a||Tr in a)return Sh(e,t,n,a,!!o);throw new mf(a)}async function eT(e,t,n){let a=gy(e.base,n);if(a.type!==0)return a.value;let o=await F5(e,t,a.value,n);if(o)return o;throw new mf(n)}async function lt(e,t,n){switch(typeof n){case"boolean":return n?z5:B5;case"undefined":return EA;case"string":return U5(n);case"number":return NA(n);case"bigint":return LA(n);case"object":{if(n){let a=gy(e.base,n);return a.type===0?await W9(e,t+1,a.value,n):a.value}return AA}case"symbol":return Wi(e.base,n);case"function":return eT(e,t,n);default:throw new mf(n)}}async function tT(e,t){try{return await lt(e,0,t)}catch(n){throw n instanceof n6?n:new n6(n)}}var nT=(e=>(e[e.Vanilla=1]="Vanilla",e[e.Cross=2]="Cross",e))(nT||{});function q5(e,t){for(let n=0,a=t.length;n<a;n++){let o=t[n];e.has(o)||(e.add(o),o.extends&&q5(e,o.extends))}}function G5(e){if(e){let t=new Set;return q5(t,e),[...t]}}function rT(e){switch(e){case"Int8Array":return Int8Array;case"Int16Array":return Int16Array;case"Int32Array":return Int32Array;case"Uint8Array":return Uint8Array;case"Uint16Array":return Uint16Array;case"Uint32Array":return Uint32Array;case"Uint8ClampedArray":return Uint8ClampedArray;case"Float32Array":return Float32Array;case"Float64Array":return Float64Array;case"BigInt64Array":return BigInt64Array;case"BigUint64Array":return BigUint64Array;default:throw new f9(e)}}var iT=1e6,aT=1e4,sT=2e4;function V5(e,t){switch(t){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}var oT=1e3;function uT(e,t){var n;let a=t.refs||new Map;return"types"in a||Object.assign(a,{types:new Map}),{mode:e,plugins:t.plugins,refs:a,features:(n=t.features)!=null?n:63^(t.disabledFeatures||0),depthLimit:t.depthLimit||oT}}function cT(e){return{mode:2,base:uT(2,e),child:P}}var lT=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return ke(this._p,this.depth,e)}};function K5(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new Or({t:4,i:t});if(e.refs.has(t))throw new Error("Conflicted ref id: "+t)}function fT(e,t,n){return K5(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,n),n}function dT(e,t,n){return K5(e.base,t),e.base.refs.set(t,n),n}function ft(e,t,n){return e.mode===1?fT(e,t,n):dT(e,t,n)}function op(e,t,n){if(Object.hasOwn(t,n))return t[n];throw new Or(e)}function hT(e,t){return ft(e,t.i,BA(_i(t.s)))}function pT(e,t,n){let a=n.a,o=a.length,u=ft(e,n.i,new Array(o));for(let l=0,f;l<o;l++)f=a[l],f&&(u[l]=ke(e,t,f));return V5(u,n.o),u}function yT(e){switch(e){case"constructor":case"__proto__":case"prototype":case"__defineGetter__":case"__defineSetter__":case"__lookupGetter__":case"__lookupSetter__":return!1;default:return!0}}function mT(e){switch(e){case Tr:case Ss:case Es:case Mr:return!0;default:return!1}}function i6(e,t,n){yT(t)?e[t]=n:Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!0,writable:!0})}function bT(e,t,n,a,o){if(typeof a=="string")i6(n,_i(a),ke(e,t,o));else{let u=ke(e,t,a);switch(typeof u){case"string":i6(n,u,ke(e,t,o));break;case"symbol":mT(u)&&(n[u]=ke(e,t,o));break;default:throw new Or(a)}}}function Q5(e,t,n){e.base.refs.types.set(t,n)}function Ku(e,t,n,a){if(e.base.refs.types.get(n)!==a)throw new Or(t)}function Y5(e,t,n,a){let o=n.k;if(o.length>0)for(let u=0,l=n.v,f=o.length;u<f;u++)bT(e,t,a,o[u],l[u]);return a}function gT(e,t,n){let a=ft(e,n.i,n.t===10?{}:Object.create(null));return Y5(e,t,n.p,a),V5(a,n.o),a}function vT(e,t){return ft(e,t.i,new Date(t.s))}function wT(e,t){if(e.base.features&32){let n=_i(t.c);if(n.length>sT)throw new Or(t);return ft(e,t.i,new RegExp(n,t.m))}throw new k5(t)}function xT(e,t,n){let a=ft(e,n.i,new Set);for(let o=0,u=n.a,l=u.length;o<l;o++)a.add(ke(e,t,u[o]));return a}function ST(e,t,n){let a=ft(e,n.i,new Map);for(let o=0,u=n.e.k,l=n.e.v,f=u.length;o<f;o++)a.set(ke(e,t,u[o]),ke(e,t,l[o]));return a}function ET(e,t){if(t.s.length>iT)throw new Or(t);return ft(e,t.i,D5(_i(t.s)))}function AT(e,t,n){var a;let o=rT(n.c),u=ke(e,t,n.f),l=(a=n.b)!=null?a:0;if(l<0||l>u.byteLength)throw new Or(n);return ft(e,n.i,new o(u,l,n.l))}function TT(e,t,n){var a;let o=ke(e,t,n.f),u=(a=n.b)!=null?a:0;if(u<0||u>o.byteLength)throw new Or(n);return ft(e,n.i,new DataView(o,u,n.l))}function Z5(e,t,n,a){if(n.p){let o=Y5(e,t,n.p,{});Object.defineProperties(a,Object.getOwnPropertyDescriptors(o))}return a}function MT(e,t,n){let a=ft(e,n.i,new AggregateError([],_i(n.m)));return Z5(e,t,n,a)}function RT(e,t,n){let a=op(n,SA,n.s),o=ft(e,n.i,new a(_i(n.m)));return Z5(e,t,n,o)}function _T(e,t,n){let a=bf(),o=ft(e,n.i,a.p),u=ke(e,t,n.f);return n.s?a.s(u):a.f(u),o}function CT(e,t,n){return ft(e,n.i,Object(ke(e,t,n.f)))}function OT(e,t,n){let a=e.base.plugins;if(a){let o=_i(n.c);for(let u=0,l=a.length;u<l;u++){let f=a[u];if(f.tag===o)return ft(e,n.i,f.deserialize(n.s,new lT(e,t),{id:n.i}))}}throw new u9(n.c)}function PT(e,t){let n=ft(e,t.i,ft(e,t.s,bf()).p);return Q5(e,t.s,22),n}function zT(e,t,n){let a=e.base.refs.get(n.i);if(a)return Ku(e,n,n.i,22),a.s(ke(e,t,n.a[1])),P;throw new Vu("Promise")}function BT(e,t,n){let a=e.base.refs.get(n.i);if(a)return Ku(e,n,n.i,22),a.f(ke(e,t,n.a[1])),P;throw new Vu("Promise")}function IT(e,t,n){ke(e,t,n.a[0]);let a=ke(e,t,n.a[1]);return S9(a)}function NT(e,t,n){ke(e,t,n.a[0]);let a=ke(e,t,n.a[1]);return C9(a)}function LT(e,t,n){let a=ft(e,n.i,wa());Q5(e,n.i,31);let o=n.a,u=o.length;if(u)for(let l=0;l<u;l++)ke(e,t,o[l]);return a}function $T(e,t,n){let a=e.base.refs.get(n.i);if(a)return Ku(e,n,n.i,31),a.next(ke(e,t,n.f)),P;throw new Vu("Stream")}function UT(e,t,n){let a=e.base.refs.get(n.i);if(a)return Ku(e,n,n.i,31),a.throw(ke(e,t,n.f)),P;throw new Vu("Stream")}function jT(e,t,n){let a=e.base.refs.get(n.i);if(a)return Ku(e,n,n.i,31),a.return(ke(e,t,n.f)),P;throw new Vu("Stream")}function kT(e,t,n){return ke(e,t,n.f),P}function DT(e,t,n){return ke(e,t,n.a[1]),P}function HT(e,t,n){let a=ft(e,n.i,H5([],n.s,n.l));for(let o=0,u=n.a.length;o<u;o++)a.v[o]=ke(e,t,n.a[o]);return a}function ke(e,t,n){if(t>e.base.depthLimit)throw new d9(e.base.depthLimit);switch(t+=1,n.t){case 2:return op(n,wA,n.s);case 0:return Number(n.s);case 1:return _i(String(n.s));case 3:if(String(n.s).length>aT)throw new Or(n);return BigInt(n.s);case 4:return e.base.refs.get(n.i);case 18:return hT(e,n);case 9:return pT(e,t,n);case 10:case 11:return gT(e,t,n);case 5:return vT(e,n);case 6:return wT(e,n);case 7:return xT(e,t,n);case 8:return ST(e,t,n);case 19:return ET(e,n);case 16:case 15:return AT(e,t,n);case 20:return TT(e,t,n);case 14:return MT(e,t,n);case 13:return RT(e,t,n);case 12:return _T(e,t,n);case 17:return op(n,vA,n.s);case 21:return CT(e,t,n);case 25:return OT(e,t,n);case 22:return PT(e,n);case 23:return zT(e,t,n);case 24:return BT(e,t,n);case 28:return IT(e,t,n);case 30:return NT(e,t,n);case 31:return LT(e,t,n);case 32:return $T(e,t,n);case 33:return UT(e,t,n);case 34:return jT(e,t,n);case 27:return kT(e,t,n);case 29:return DT(e,t,n);case 35:return HT(e,t,n);default:throw new k5(n)}}function FT(e,t){try{return ke(e,0,t)}catch(n){throw new o9(n)}}var qT=()=>T;qT.toString();function a6(e,t){let n=G5(t.plugins),a=cT({plugins:n,refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit});return FT(a,e)}async function GT(e,t={}){let n=G5(t.plugins),a=U9(1,{plugins:n,disabledFeatures:t.disabledFeatures});return{t:await tT(a,e),f:a.base.features,m:Array.from(a.base.marked)}}function VT(e){return{tag:"$TSR/t/"+e.key,test:e.test,parse:{sync(t,n,a){return{v:n.parse(e.toSerializable(t))}},async async(t,n,a){return{v:await n.parse(e.toSerializable(t))}},stream(t,n,a){return{v:n.parse(e.toSerializable(t))}}},serialize:void 0,deserialize(t,n,a){return e.fromSerializable(n.deserialize(t.v))}}}var KT=class{constructor(e,t){this.stream=e,this.hint=t?.hint??"binary"}};const ef=globalThis.Buffer,X5=!!ef&&typeof ef.from=="function";function J5(e){if(e.length===0)return"";if(X5)return ef.from(e).toString("base64");const t=32768,n=[];for(let a=0;a<e.length;a+=t){const o=e.subarray(a,a+t);n.push(String.fromCharCode.apply(null,o))}return btoa(n.join(""))}function W5(e){if(e.length===0)return new Uint8Array(0);if(X5){const a=ef.from(e,"base64");return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)}const t=atob(e),n=new Uint8Array(t.length);for(let a=0;a<t.length;a++)n[a]=t.charCodeAt(a);return n}const Go=Object.create(null),Vo=Object.create(null),QT=e=>new ReadableStream({start(t){e.on({next(n){try{t.enqueue(W5(n))}catch{}},throw(n){t.error(n)},return(){try{t.close()}catch{}}})}}),YT=new TextEncoder,ZT=e=>new ReadableStream({start(t){e.on({next(n){try{typeof n=="string"?t.enqueue(YT.encode(n)):t.enqueue(W5(n.$b64))}catch{}},throw(n){t.error(n)},return(){try{t.close()}catch{}}})}}),XT="(s=>new ReadableStream({start(c){s.on({next(b){try{const d=atob(b),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}catch(_){}},throw(e){c.error(e)},return(){try{c.close()}catch(_){}}})}}))",JT="(s=>{const e=new TextEncoder();return new ReadableStream({start(c){s.on({next(v){try{if(typeof v===\'string\'){c.enqueue(e.encode(v))}else{const d=atob(v.$b64),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}}catch(_){}},throw(x){c.error(x)},return(){try{c.close()}catch(_){}}})}})})";function s6(e){const t=wa(),n=e.getReader();return(async()=>{try{for(;;){const{done:a,value:o}=await n.read();if(a){t.return(void 0);break}t.next(J5(o))}}catch(a){t.throw(a)}finally{n.releaseLock()}})(),t}function o6(e){const t=wa(),n=e.getReader(),a=new TextDecoder("utf-8",{fatal:!0});return(async()=>{try{for(;;){const{done:o,value:u}=await n.read();if(o){try{const l=a.decode();l.length>0&&t.next(l)}catch{}t.return(void 0);break}try{const l=a.decode(u,{stream:!0});l.length>0&&t.next(l)}catch{t.next({$b64:J5(u)})}}}catch(o){t.throw(o)}finally{n.releaseLock()}})(),t}const WT={tag:"tss/RawStream",extends:[{tag:"tss/RawStreamFactory",test(e){return e===Go},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return XT},deserialize(e,t,n){return Go}},{tag:"tss/RawStreamFactoryText",test(e){return e===Vo},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return JT},deserialize(e,t,n){return Vo}}],test(e){return e instanceof KT},parse:{sync(e,t,n){const a=e.hint==="text"?Vo:Go;return{hint:t.parse(e.hint),factory:t.parse(a),stream:t.parse(wa())}},async async(e,t,n){const a=e.hint==="text"?Vo:Go,o=e.hint==="text"?o6(e.stream):s6(e.stream);return{hint:await t.parse(e.hint),factory:await t.parse(a),stream:await t.parse(o)}},stream(e,t,n){const a=e.hint==="text"?Vo:Go,o=e.hint==="text"?o6(e.stream):s6(e.stream);return{hint:t.parse(e.hint),factory:t.parse(a),stream:t.parse(o)}}},serialize(e,t,n){return"("+t.serialize(e.factory)+")("+t.serialize(e.stream)+")"},deserialize(e,t,n){const a=t.deserialize(e.stream);return t.deserialize(e.hint)==="text"?ZT(a):QT(a)}};function eM(e){return{tag:"tss/RawStream",test:()=>!1,parse:{},serialize(){throw new Error("RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.")},deserialize(t,n,a){return e(typeof n?.deserialize=="function"?n.deserialize(t.streamId):t.streamId)}}}const tM={tag:"$TSR/Error",test(e){return e instanceof Error},parse:{sync(e,t){return{message:t.parse(e.message)}},async async(e,t){return{message:await t.parse(e.message)}},stream(e,t){return{message:t.parse(e.message)}}},serialize(e,t){return"new Error("+t.serialize(e.message)+")"},deserialize(e,t){return new Error(t.deserialize(e.message))}};var fi={},ew=e=>new ReadableStream({start:t=>{e.on({next:n=>{try{t.enqueue(n)}catch{}},throw:n=>{t.error(n)},return:()=>{try{t.close()}catch{}}})}}),nM={tag:"seroval-plugins/web/ReadableStreamFactory",test(e){return e===fi},parse:{sync(){return fi},async async(){return await Promise.resolve(fi)},stream(){return fi}},serialize(){return ew.toString()},deserialize(){return fi}};function u6(e){let t=wa(),n=e.getReader();async function a(){try{let o=await n.read();o.done?t.return(o.value):(t.next(o.value),await a())}catch(o){t.throw(o)}}return a().catch(()=>{}),t}var rM={tag:"seroval/plugins/web/ReadableStream",extends:[nM],test(e){return typeof ReadableStream>"u"?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(fi),stream:t.parse(wa())}},async async(e,t){return{factory:await t.parse(fi),stream:await t.parse(u6(e))}},stream(e,t){return{factory:t.parse(fi),stream:t.parse(u6(e))}}},serialize(e,t){return"("+t.serialize(e.factory)+")("+t.serialize(e.stream)+")"},deserialize(e,t){let n=t.deserialize(e.stream);return ew(n)}},iM=rM;const aM=[tM,WT,iM];function sM(){return[...r5()?.serializationAdapters?.map(VT)??[],...aM]}var c6=new TextDecoder,oM=new Uint8Array(0),l6=16*1024*1024,f6=32*1024*1024,d6=1024,h6=1e5;function uM(e){const t=new Map,n=new Map,a=new Set;let o=!1,u=null,l=0,f;const d=new ReadableStream({start(b){f=b},cancel(){o=!0;try{u?.cancel()}catch{}t.forEach(b=>{try{b.error(new Error("Framed response cancelled"))}catch{}}),t.clear(),n.clear(),a.clear()}});function p(b){const g=n.get(b);if(g)return g;if(a.has(b))return new ReadableStream({start(x){x.close()}});if(n.size>=d6)throw new Error(`Too many raw streams in framed response (max ${d6})`);const v=new ReadableStream({start(x){t.set(b,x)},cancel(){a.add(b),t.delete(b),n.delete(b)}});return n.set(b,v),v}function m(b){return p(b),t.get(b)}return(async()=>{const b=e.getReader();u=b;const g=[];let v=0;function x(){if(v<9)return null;const E=g[0];if(E.length>=9)return{type:E[0],streamId:(E[1]<<24|E[2]<<16|E[3]<<8|E[4])>>>0,length:(E[5]<<24|E[6]<<16|E[7]<<8|E[8])>>>0};const R=new Uint8Array(9);let z=0,M=9;for(let O=0;O<g.length&&M>0;O++){const _=g[O],B=Math.min(_.length,M);R.set(_.subarray(0,B),z),z+=B,M-=B}return{type:R[0],streamId:(R[1]<<24|R[2]<<16|R[3]<<8|R[4])>>>0,length:(R[5]<<24|R[6]<<16|R[7]<<8|R[8])>>>0}}function S(E){if(E===0)return oM;const R=new Uint8Array(E);let z=0,M=E;for(;M>0&&g.length>0;){const O=g[0];if(!O)break;const _=Math.min(O.length,M);R.set(O.subarray(0,_),z),z+=_,M-=_,_===O.length?g.shift():g[0]=O.subarray(_)}return v-=E,R}try{for(;;){const{done:E,value:R}=await b.read();if(o||E)break;if(R){if(v+R.length>f6)throw new Error(`Framed response buffer exceeded ${f6} bytes`);for(g.push(R),v+=R.length;;){const z=x();if(!z)break;const{type:M,streamId:O,length:_}=z;if(M!==dr.JSON&&M!==dr.CHUNK&&M!==dr.END&&M!==dr.ERROR)throw new Error(`Unknown frame type: ${M}`);if(M===dr.JSON){if(O!==0)throw new Error("Invalid JSON frame streamId (expected 0)")}else if(O===0)throw new Error("Invalid raw frame streamId (expected non-zero)");if(_>l6)throw new Error(`Frame payload too large: ${_} bytes (max ${l6})`);const B=9+_;if(v<B)break;if(++l>h6)throw new Error(`Too many frames in framed response (max ${h6})`);S(9);const C=S(_);switch(M){case dr.JSON:try{f.enqueue(c6.decode(C))}catch{}break;case dr.CHUNK:{const I=m(O);I&&I.enqueue(C);break}case dr.END:{const I=m(O);if(a.add(O),I){try{I.close()}catch{}t.delete(O)}break}case dr.ERROR:{const I=m(O);if(a.add(O),I){const j=c6.decode(C);I.error(new Error(j)),t.delete(O)}break}}}}}if(v!==0)throw new Error("Incomplete frame at end of framed response");try{f.close()}catch{}t.forEach(E=>{try{E.close()}catch{}}),t.clear()}catch(E){try{f.error(E)}catch{}t.forEach(R=>{try{R.error(E)}catch{}}),t.clear()}finally{try{b.releaseLock()}catch{}u=null}})(),{getOrCreateStream:p,jsonChunks:d}}var iu=null;async function up(e){e.length>0&&await Promise.allSettled(e)}var cM=Object.prototype.hasOwnProperty;function tw(e){for(const t in e)if(cM.call(e,t))return!0;return!1}async function lM(e,t,n){iu||(iu=sM());const a=t[0],o=a.fetch??n,u=a.data instanceof FormData?"formData":"payload",l=a.headers?new Headers(a.headers):new Headers;if(l.set("x-tsr-serverFn","true"),u==="payload"&&l.set("accept",`${aE}, application/x-ndjson, application/json`),a.method==="GET"){if(u==="formData")throw new Error("FormData is not supported with GET requests");const d=await nw(a);if(d!==void 0){const p=h5({payload:d});e.includes("?")?e+=`&${p}`:e+=`?${p}`}}let f;if(a.method==="POST"){const d=await fM(a);d?.contentType&&l.set("content-type",d.contentType),f=d?.body}return await dM(async()=>o(e,{method:a.method,headers:l,signal:a.signal,body:f}))}async function nw(e){let t=!1;const n={};if(e.data!==void 0&&(t=!0,n.data=e.data),e.context&&tw(e.context)&&(t=!0,n.context=e.context),t)return rw(n)}async function rw(e){return JSON.stringify(await Promise.resolve(GT(e,{plugins:iu})))}async function fM(e){if(e.data instanceof FormData){let n;return e.context&&tw(e.context)&&(n=await rw(e.context)),n!==void 0&&e.data.set(iE,n),{body:e.data}}const t=await nw(e);if(t)return{body:t,contentType:"application/json"}}async function dM(e){let t;try{t=await e()}catch(a){if(a instanceof Response)t=a;else throw console.log(a),a}if(t.headers.get("x-tss-raw")==="true")return t;const n=t.headers.get("content-type");if(n||Zt(),t.headers.get("x-tss-serialized")){let a;if(n.includes("application/x-tss-framed")){if(uE(n),!t.body)throw new Error("No response body for framed response");const{getOrCreateStream:o,jsonChunks:u}=uM(t.body),l=[eM(o),...iu||[]],f=new Map;a=await hM({jsonStream:u,onMessage:d=>a6(d,{refs:f,plugins:l}),onError(d,p){console.error(d,p)}})}else if(n.includes("application/json")){const o=await t.json(),u=[];a=a6(o,{plugins:iu}),await up(u)}if(a||Zt(),a instanceof Error)throw a;return a}if(n.includes("application/json")){const a=await t.json(),o=$E(a);if(o)throw o;if(mt(a))throw a;return a}if(!t.ok)throw new Error(await t.text());return t}async function hM({jsonStream:e,onMessage:t,onError:n}){const a=e.getReader(),{value:o,done:u}=await a.read();if(u||!o)throw new Error("Stream ended before first object");const l=JSON.parse(o);let f=!1;const d=(async()=>{try{for(;;){const{value:b,done:g}=await a.read();if(g)break;if(b)try{const v=[];try{t(JSON.parse(b))}finally{}await up(v)}catch(v){n?.(`Invalid JSON: ${b}`,v)}}}catch(b){f||n?.("Stream processing error:",b)}})();let p;const m=[];try{p=t(l)}catch(b){throw f=!0,a.cancel().catch(()=>{}),b}return await up(m),Promise.resolve(p).catch(()=>{f=!0,a.cancel().catch(()=>{})}),d.finally(()=>{try{a.releaseLock()}catch{}}),p}function pM(e){const t="/./_serverFn/"+e;return Object.assign((...o)=>{const u=r5()?.serverFns?.fetch;return lM(t,o,u??fetch)},{url:t,serverFnMeta:{id:e},[np]:!0})}var yM={key:"$TSS/serverfn",test:e=>typeof e!="function"||!(np in e)?!1:!!e[np],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>pM(e)};function p6(e){return e.replaceAll("\\0","/").replaceAll("�","/")}function mM(e,t){e.id=t.i,e.__beforeLoadContext=t.b,e.loaderData=t.l,e.status=t.s,e.ssr=t.ssr,e.updatedAt=t.u,e.error=t.e,t.g!==void 0&&(e.globalNotFound=t.g)}async function bM(e){window.$_TSR||Zt();const t=e.options.serializationAdapters;if(t?.length){const E=new Map;t.forEach(R=>{E.set(R.key,R.fromSerializable)}),window.$_TSR.t=E,window.$_TSR.buffer.forEach(R=>R())}window.$_TSR.initialized=!0,window.$_TSR.router||Zt();const n=window.$_TSR.router;n.matches.forEach(E=>{E.i=p6(E.i)}),n.lastMatchId&&(n.lastMatchId=p6(n.lastMatchId));const{manifest:a,dehydratedData:o,lastMatchId:u}=n;e.ssr={manifest:a};const l=document.querySelector(\'meta[property="csp-nonce"]\')?.content;e.options.ssr={nonce:l},await e.options.hydrate?.(o);const f=e.matchRoutes(e.stores.location.get()),d=Promise.all(f.map(E=>e.loadRouteChunk(e.looseRoutesById[E.routeId])));function p(E){const R=e.looseRoutesById[E.routeId].options.pendingMinMs??e.options.defaultPendingMinMs;if(R){const z=sa();E._nonReactive.minPendingPromise=z,E._forcePending=!0,setTimeout(()=>{z.resolve(),e.updateMatch(E.id,M=>(M._nonReactive.minPendingPromise=void 0,{...M,_forcePending:void 0}))},R)}}function m(E){const R=e.looseRoutesById[E.routeId];R&&(R.options.ssr=E.ssr)}let b;f.forEach(E=>{const R=n.matches.find(z=>z.i===E.id);if(!R){E._nonReactive.dehydrated=!1,E.ssr=!1,m(E);return}mM(E,R),m(E),E._nonReactive.dehydrated=E.ssr!==!1,(E.ssr==="data-only"||E.ssr===!1)&&b===void 0&&(b=E.index,p(E))}),e.stores.setMatches(f);const g=e.stores.matches.get(),v=e.stores.location.get();await Promise.all(g.map(async E=>{try{const R=e.looseRoutesById[E.routeId],z=g[E.index-1]?.context??e.options.context;if(R.options.context){const B={deps:E.loaderDeps,params:E.params,context:z??{},location:v,navigate:C=>e.navigate({...C,_fromLocation:v}),buildLocation:e.buildLocation,cause:E.cause,abortController:E.abortController,preload:!1,matches:f,routeId:R.id};E.__routeContext=R.options.context(B)??void 0}E.context={...z,...E.__routeContext,...E.__beforeLoadContext};const M={ssr:e.options.ssr,matches:g,match:E,params:E.params,loaderData:E.loaderData},O=await R.options.head?.(M),_=await R.options.scripts?.(M);E.meta=O?.meta,E.links=O?.links,E.headScripts=O?.scripts,E.styles=O?.styles,E.scripts=_}catch(R){if(mt(R))E.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${E.routeId}`,R);else throw E.error=R,console.error(`Error during hydration for route ${E.routeId}:`,R),R}}));const x=f[f.length-1].id!==u;if(!f.some(E=>E.ssr===!1)&&!x)return f.forEach(E=>{E._nonReactive.dehydrated=void 0}),e.stores.resolvedLocation.set(e.stores.location.get()),d;const S=Promise.resolve().then(()=>e.load()).catch(E=>{console.error("Error during router hydration:",E)});if(x){const E=f[1];E||Zt(),p(E),E._displayPending=!0,E._nonReactive.displayPendingPromise=S,S.then(()=>{e.batch(()=>{e.stores.status.get()==="pending"&&(e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())),e.updateMatch(E.id,R=>({...R,_displayPending:void 0,displayPendingPromise:void 0}))})})}return d}var tf=re.use,Zo=typeof window<"u"?re.useLayoutEffect:re.useEffect;function Eh(e){const t=re.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function gM(e,t,n={},a={}){re.useEffect(()=>{if(!e.current||a.disabled||typeof IntersectionObserver!="function")return;const o=new IntersectionObserver(([u])=>{t(u)},n);return o.observe(e.current),()=>{o.disconnect()}},[t,n,a.disabled,e])}function vM(e){const t=re.useRef(null);return re.useImperativeHandle(e,()=>t.current,[]),t}function wM({promise:e}){if(tf)return tf(e);const t=fA(e);if(t[Fn].status==="pending")throw t;if(t[Fn].status==="error")throw t[Fn].error;return t[Fn].data}function xM(e){const t=V.jsx(SM,{...e});return e.fallback?V.jsx(re.Suspense,{fallback:e.fallback,children:t}):t}function SM(e){const t=wM(e);return e.children(t)}function wy(e){const t=e.errorComponent??xy;return V.jsx(EM,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:a})=>n?re.createElement(t,{error:n,reset:a}):e.children})}var EM=class extends re.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){const n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function xy({error:e}){const[t,n]=re.useState(!1);return V.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[V.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[V.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),V.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>n(a=>!a),children:t?"Hide Error":"Show Error"})]}),V.jsx("div",{style:{height:".25rem"}}),t?V.jsx("div",{children:V.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?V.jsx("code",{children:e.message}):null})}):null]})}function AM({children:e,fallback:t=null}){return Sy()?V.jsx(_s.Fragment,{children:e}):V.jsx(_s.Fragment,{children:t})}function Sy(){return _s.useSyncExternalStore(TM,()=>!0,()=>!1)}function TM(){return()=>{}}var iw=re.createContext(null);function Et(e){return re.useContext(iw)}var wf=re.createContext(void 0),MM=re.createContext(void 0),Ve=(e=>(e[e.None=0]="None",e[e.Mutable=1]="Mutable",e[e.Watching=2]="Watching",e[e.RecursedCheck=4]="RecursedCheck",e[e.Recursed=8]="Recursed",e[e.Dirty=16]="Dirty",e[e.Pending=32]="Pending",e))(Ve||{});function RM({update:e,notify:t,unwatched:n}){return{link:a,unlink:o,propagate:u,checkDirty:l,shallowPropagate:f};function a(p,m,b){const g=m.depsTail;if(g!==void 0&&g.dep===p)return;const v=g!==void 0?g.nextDep:m.deps;if(v!==void 0&&v.dep===p){v.version=b,m.depsTail=v;return}const x=p.subsTail;if(x!==void 0&&x.version===b&&x.sub===m)return;const S=m.depsTail=p.subsTail={version:b,dep:p,sub:m,prevDep:g,nextDep:v,prevSub:x,nextSub:void 0};v!==void 0&&(v.prevDep=S),g!==void 0?g.nextDep=S:m.deps=S,x!==void 0?x.nextSub=S:p.subs=S}function o(p,m=p.sub){const b=p.dep,g=p.prevDep,v=p.nextDep,x=p.nextSub,S=p.prevSub;return v!==void 0?v.prevDep=g:m.depsTail=g,g!==void 0?g.nextDep=v:m.deps=v,x!==void 0?x.prevSub=S:b.subsTail=S,S!==void 0?S.nextSub=x:(b.subs=x)===void 0&&n(b),v}function u(p){let m=p.nextSub,b;e:do{const g=p.sub;let v=g.flags;if(v&60?v&12?v&4?!(v&48)&&d(p,g)?(g.flags=v|40,v&=1):v=0:g.flags=v&-9|32:v=0:g.flags=v|32,v&2&&t(g),v&1){const x=g.subs;if(x!==void 0){const S=(p=x).nextSub;S!==void 0&&(b={value:m,prev:b},m=S);continue}}if((p=m)!==void 0){m=p.nextSub;continue}for(;b!==void 0;)if(p=b.value,b=b.prev,p!==void 0){m=p.nextSub;continue e}break}while(!0)}function l(p,m){let b,g=0,v=!1;e:do{const x=p.dep,S=x.flags;if(m.flags&16)v=!0;else if((S&17)===17){if(e(x)){const E=x.subs;E.nextSub!==void 0&&f(E),v=!0}}else if((S&33)===33){(p.nextSub!==void 0||p.prevSub!==void 0)&&(b={value:p,prev:b}),p=x.deps,m=x,++g;continue}if(!v){const E=p.nextDep;if(E!==void 0){p=E;continue}}for(;g--;){const E=m.subs,R=E.nextSub!==void 0;if(R?(p=b.value,b=b.prev):p=E,v){if(e(m)){R&&f(E),m=p.sub;continue}v=!1}else m.flags&=-33;m=p.sub;const z=p.nextDep;if(z!==void 0){p=z;continue e}}return v}while(!0)}function f(p){do{const m=p.sub,b=m.flags;(b&48)===32&&(m.flags=b|16,(b&6)===2&&t(m))}while((p=p.nextSub)!==void 0)}function d(p,m){let b=m.depsTail;for(;b!==void 0;){if(b===p)return!0;b=b.prevDep}return!1}}function _M(e,t,n){const a=typeof e=="object",o=a?e:void 0;return{next:(a?e.next:e)?.bind(o),error:(a?e.error:t)?.bind(o),complete:(a?e.complete:n)?.bind(o)}}const cp=[];let Gl=0;const{link:y6,unlink:CM,propagate:OM,checkDirty:aw,shallowPropagate:m6}=RM({update(e){return e._update()},notify(e){cp[lp++]=e,e.flags&=~Ve.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=Ve.Mutable|Ve.Dirty,nf(e))}});let Ml=0,lp=0,Hn,fp=0;function sw(e){try{++fp,e()}finally{--fp||ow()}}function nf(e){const t=e.depsTail;let n=t!==void 0?t.nextDep:e.deps;for(;n!==void 0;)n=CM(n,e)}function ow(){if(!(fp>0)){for(;Ml<lp;){const e=cp[Ml];cp[Ml++]=void 0,e.notify()}Ml=0,lp=0}}function b6(e,t){const n=typeof e=="function",a=e,o={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?Ve.None:Ve.Mutable,get(){return Hn!==void 0&&y6(o,Hn,Gl),o._snapshot},subscribe(u){const l=_M(u),f={current:!1},d=PM(()=>{o.get(),f.current?l.next?.(o._snapshot):f.current=!0});return{unsubscribe:()=>{d.stop()}}},_update(u){const l=Hn,f=t?.compare??Object.is;if(n)Hn=o,++Gl,o.depsTail=void 0;else if(u===void 0)return!1;n&&(o.flags=Ve.Mutable|Ve.RecursedCheck);try{const d=o._snapshot,p=typeof u=="function"?u(d):u===void 0&&n?a(d):u;return d===void 0||!f(d,p)?(o._snapshot=p,!0):!1}finally{Hn=l,n&&(o.flags&=~Ve.RecursedCheck),nf(o)}}};return n?(o.flags=Ve.Mutable|Ve.Dirty,o.get=function(){const u=o.flags;if(u&Ve.Dirty||u&Ve.Pending&&aw(o.deps,o)){if(o._update()){const l=o.subs;l!==void 0&&m6(l)}}else u&Ve.Pending&&(o.flags=u&~Ve.Pending);return Hn!==void 0&&y6(o,Hn,Gl),o._snapshot}):o.set=function(u){if(o._update(u)){const l=o.subs;l!==void 0&&(OM(l),m6(l),ow())}},o}function PM(e){const t=()=>{const a=Hn;Hn=n,++Gl,n.depsTail=void 0,n.flags=Ve.Watching|Ve.RecursedCheck;try{return e()}finally{Hn=a,n.flags&=~Ve.RecursedCheck,nf(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Ve.Watching|Ve.RecursedCheck,notify(){const a=this.flags;a&Ve.Dirty||a&Ve.Pending&&aw(this.deps,this)?t():this.flags=Ve.Watching},stop(){this.flags=Ve.None,this.depsTail=void 0,nf(this)}};return t(),n}var Ah={exports:{}},Th={},Mh={exports:{}},Rh={};var g6;function zM(){if(g6)return Rh;g6=1;var e=Gu();function t(b,g){return b===g&&(b!==0||1/b===1/g)||b!==b&&g!==g}var n=typeof Object.is=="function"?Object.is:t,a=e.useState,o=e.useEffect,u=e.useLayoutEffect,l=e.useDebugValue;function f(b,g){var v=g(),x=a({inst:{value:v,getSnapshot:g}}),S=x[0].inst,E=x[1];return u(function(){S.value=v,S.getSnapshot=g,d(S)&&E({inst:S})},[b,v,g]),o(function(){return d(S)&&E({inst:S}),b(function(){d(S)&&E({inst:S})})},[b]),l(v),v}function d(b){var g=b.getSnapshot;b=b.value;try{var v=g();return!n(b,v)}catch{return!0}}function p(b,g){return g()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:f;return Rh.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,Rh}var v6;function BM(){return v6||(v6=1,Mh.exports=zM()),Mh.exports}var w6;function IM(){if(w6)return Th;w6=1;var e=Gu(),t=BM();function n(p,m){return p===m&&(p!==0||1/p===1/m)||p!==p&&m!==m}var a=typeof Object.is=="function"?Object.is:n,o=t.useSyncExternalStore,u=e.useRef,l=e.useEffect,f=e.useMemo,d=e.useDebugValue;return Th.useSyncExternalStoreWithSelector=function(p,m,b,g,v){var x=u(null);if(x.current===null){var S={hasValue:!1,value:null};x.current=S}else S=x.current;x=f(function(){function R(B){if(!z){if(z=!0,M=B,B=g(B),v!==void 0&&S.hasValue){var C=S.value;if(v(C,B))return O=C}return O=B}if(C=O,a(M,B))return C;var I=g(B);return v!==void 0&&v(C,I)?(M=B,C):(M=B,O=I)}var z=!1,M,O,_=b===void 0?null:b;return[function(){return R(m())},_===null?void 0:function(){return R(_())}]},[m,b,g,v]);var E=o(p,x[0],x[1]);return l(function(){S.hasValue=!0,S.value=E},[E]),d(E),E},Th}var x6;function NM(){return x6||(x6=1,Ah.exports=IM()),Ah.exports}var LM=NM();function $M(e,t){return e===t}function Xe(e,t,n=$M){const a=re.useCallback(l=>{if(!e)return()=>{};const{unsubscribe:f}=e.subscribe(l);return f},[e]),o=re.useCallback(()=>e?.get(),[e]);return LM.useSyncExternalStoreWithSelector(a,o,o,t,n)}var UM={get:()=>{},subscribe:()=>({unsubscribe:()=>{}})};function xa(e){const t=Et(),n=re.useContext(e.from?MM:wf),a=e.from??n,o=a?e.from?t.stores.getRouteMatchStore(a):t.stores.matchStores.get(a):void 0,u=re.useRef(void 0);return Xe(o??UM,l=>{if((e.shouldThrow??!0)&&!l&&Zt(),l===void 0)return;const f=e.select?e.select(l):l;if(e.structuralSharing??t.options.defaultStructuralSharing){const d=Xi(u.current,f);return u.current=d,d}return f})}function uw(e){return xa({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function cw(e){const{select:t,...n}=e;return xa({...n,select:a=>t?t(a.loaderDeps):a.loaderDeps})}function lw(e){return xa({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{const n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function fw(e){return xa({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function dw(e){const t=Et();return re.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function hw(e){return xa({...e,select:t=>e.select?e.select(t.context):t.context})}var jM=n5();function kM(e,t){const n=Et(),a=vM(t),{activeProps:o,inactiveProps:u,activeOptions:l,to:f,preload:d,preloadDelay:p,preloadIntentProximity:m,hashScrollIntoView:b,replace:g,startTransition:v,resetScroll:x,viewTransition:S,children:E,target:R,disabled:z,style:M,className:O,onClick:_,onBlur:B,onFocus:C,onMouseEnter:I,onMouseLeave:j,onTouchStart:D,ignoreBlocker:Q,params:X,search:ne,hash:oe,state:ee,mask:$,reloadDocument:G,unsafeRelative:te,from:ce,_fromLocation:fe,...N}=e,Y=Sy(),se=re.useMemo(()=>e,[n,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),ae=Xe(n.stores.location,De=>De,(De,bt)=>De.href===bt.href),le=re.useMemo(()=>{const De={_fromLocation:ae,...se};return n.buildLocation(De)},[n,ae,se]),ge=le.maskedLocation?le.maskedLocation.publicHref:le.publicHref,we=le.maskedLocation?le.maskedLocation.external:le.external,He=re.useMemo(()=>VM(ge,we,n.history,z),[z,we,ge,n.history]),_e=re.useMemo(()=>{if(He?.external)return Zl(He.href,n.protocolAllowlist)?void 0:He.href;if(!KM(f)&&!(typeof f!="string"||f.indexOf(":")===-1))try{return new URL(f),Zl(f,n.protocolAllowlist)?void 0:f}catch{}},[f,He,n.protocolAllowlist]),At=re.useMemo(()=>{if(_e)return!1;if(l?.exact){if(!CE(ae.pathname,le.pathname,n.basepath))return!1}else{const De=Xl(ae.pathname,n.basepath),bt=Xl(le.pathname,n.basepath);if(!(De.startsWith(bt)&&(De.length===bt.length||De[bt.length]==="/")))return!1}return(l?.includeSearch??!0)&&!Bt(ae.search,le.search,{partial:!l?.exact,ignoreUndefined:!l?.explicitUndefined})?!1:l?.includeHash?Y&&ae.hash===le.hash:!0},[l?.exact,l?.explicitUndefined,l?.includeHash,l?.includeSearch,ae,_e,Y,le.hash,le.pathname,le.search,n.basepath]),en=At?Zi(o,{})??DM:_h,jt=At?_h:Zi(u,{})??_h,tn=[O,en.className,jt.className].filter(Boolean).join(" "),Tt=(M||en.style||jt.style)&&{...M,...en.style,...jt.style},[hn,Vn]=re.useState(!1),rc=re.useRef(!1),Kn=e.reloadDocument||_e?!1:d??n.options.defaultPreload,Oi=p??n.options.defaultPreloadDelay??0,_n=re.useCallback(()=>{n.preloadRoute({...se,_builtLocation:le}).catch(De=>{console.warn(De),console.warn(dA)})},[n,se,le]);gM(a,re.useCallback(De=>{De?.isIntersecting&&_n()},[_n]),GM,{disabled:!!z||Kn!=="viewport"}),re.useEffect(()=>{rc.current||!z&&Kn==="render"&&(_n(),rc.current=!0)},[z,_n,Kn]);const Ks=De=>{const bt=De.currentTarget.getAttribute("target"),Ln=R!==void 0?R:bt;if(!z&&!QM(De)&&!De.defaultPrevented&&(!Ln||Ln==="_self")&&De.button===0){De.preventDefault(),jM.flushSync(()=>{Vn(!0)});const Sa=n.subscribe("onResolved",()=>{Sa(),Vn(!1)});n.navigate({...se,replace:g,resetScroll:x,hashScrollIntoView:b,startTransition:v,viewTransition:S,ignoreBlocker:Q})}};if(_e)return{...N,ref:a,href:_e,...E&&{children:E},...R&&{target:R},...z&&{disabled:z},...M&&{style:M},...O&&{className:O},..._&&{onClick:_},...B&&{onBlur:B},...C&&{onFocus:C},...I&&{onMouseEnter:I},...j&&{onMouseLeave:j},...D&&{onTouchStart:D}};const ic=De=>{if(z||Kn!=="intent")return;if(!Oi){_n();return}const bt=De.currentTarget;if(Ko.has(bt))return;const Ln=setTimeout(()=>{Ko.delete(bt),_n()},Oi);Ko.set(bt,Ln)},Xf=De=>{z||Kn!=="intent"||_n()},Mt=De=>{if(z||!Kn||!Oi)return;const bt=De.currentTarget,Ln=Ko.get(bt);Ln&&(clearTimeout(Ln),Ko.delete(bt))};return{...N,...en,...jt,href:He?.href,ref:a,onClick:os([_,Ks]),onBlur:os([B,Mt]),onFocus:os([C,ic]),onMouseEnter:os([I,ic]),onMouseLeave:os([j,Mt]),onTouchStart:os([D,Xf]),disabled:!!z,target:R,...Tt&&{style:Tt},...tn&&{className:tn},...z&&HM,...At&&FM,...Y&&hn&&qM}}var _h={},DM={className:"active"},HM={role:"link","aria-disabled":!0},FM={"data-status":"active","aria-current":"page"},qM={"data-transitioning":"transitioning"},Ko=new WeakMap,GM={rootMargin:"100px"},os=e=>t=>{for(const n of e)if(n){if(t.defaultPrevented)return;n(t)}};function VM(e,t,n,a){if(!a)return t?{href:e,external:!0}:{href:n.createHref(e)||"/",external:!1}}function KM(e){if(typeof e!="string")return!1;const t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var Qu=re.forwardRef((e,t)=>{const{_asChild:n,...a}=e,{type:o,...u}=kM(a,t),l=typeof a.children=="function"?a.children({isActive:u["data-status"]==="active"}):a.children;if(!n){const{disabled:f,...d}=u;return re.createElement("a",d,l)}return re.createElement(n,u,l)});function QM(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var YM=class extends x5{constructor(t){super(t),this.useMatch=n=>xa({select:n?.select,from:this.id,structuralSharing:n?.structuralSharing}),this.useRouteContext=n=>hw({...n,from:this.id}),this.useSearch=n=>fw({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useParams=n=>lw({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useLoaderDeps=n=>cw({...n,from:this.id}),this.useLoaderData=n=>uw({...n,from:this.id}),this.useNavigate=()=>dw({from:this.fullPath}),this.Link=_s.forwardRef((n,a)=>V.jsx(Qu,{ref:a,from:this.fullPath,...n}))}};function ZM(e){return new YM(e)}function XM(){return e=>WM(e)}var JM=class extends bA{constructor(e){super(e),this.useMatch=t=>xa({select:t?.select,from:this.id,structuralSharing:t?.structuralSharing}),this.useRouteContext=t=>hw({...t,from:this.id}),this.useSearch=t=>fw({select:t?.select,structuralSharing:t?.structuralSharing,from:this.id}),this.useParams=t=>lw({select:t?.select,structuralSharing:t?.structuralSharing,from:this.id}),this.useLoaderDeps=t=>cw({...t,from:this.id}),this.useLoaderData=t=>uw({...t,from:this.id}),this.useNavigate=()=>dw({from:this.fullPath}),this.Link=_s.forwardRef((t,n)=>V.jsx(Qu,{ref:n,from:this.fullPath,...t}))}};function WM(e){return new JM(e)}function Ey(e){return new eR(e,{silent:!0}).createRoute}var eR=class{constructor(e,t){this.path=e,this.createRoute=n=>{const a=ZM(n);return a.isRoot=!1,a},this.silent=t?.silent}};function pw(e,t){let n,a,o,u;const l=()=>(n||(n=e().then(d=>{n=void 0,a=d[t]}).catch(d=>{if(o=d,fE(o)&&o instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const p=`tanstack_router_reload:${o.message}`;sessionStorage.getItem(p)||(sessionStorage.setItem(p,"1"),u=!0)}})),n),f=function(p){if(u)throw window.location.reload(),new Promise(()=>{});if(o)throw o;if(!a)if(tf)tf(l());else throw l();return re.createElement(a,p)};return f.preload=l,f}function tR(e){const t=Et(),n=`not-found-${Xe(t.stores.location,a=>a.pathname)}-${Xe(t.stores.status,a=>a)}`;return V.jsx(wy,{getResetKey:()=>n,onCatch:(a,o)=>{if(mt(a))e.onCatch?.(a,o);else throw a},errorComponent:({error:a})=>{if(mt(a))return e.fallback?.(a);throw a},children:e.children})}function nR(){return V.jsx("p",{children:"Not Found"})}function ys(e){return V.jsx(V.Fragment,{children:e.children})}function yw(e,t,n){return t.options.notFoundComponent?V.jsx(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?V.jsx(e.options.defaultNotFoundComponent,{...n}):V.jsx(nR,{})}function rR(e){return null}function iR(){return rR(Et()),null}var mw=re.memo(function({matchId:t}){const n=Et(),a=n.stores.matchStores.get(t);a||Zt();const o=Xe(n.stores.loadedAt,l=>l),u=Xe(a,l=>l);return V.jsx(aR,{router:n,matchId:t,resetKey:o,matchState:re.useMemo(()=>{const l=u.routeId,f=n.routesById[l].parentRoute?.id;return{routeId:l,ssr:u.ssr,_displayPending:u._displayPending,parentRouteId:f}},[u._displayPending,u.routeId,u.ssr,n.routesById])})});function aR({router:e,matchId:t,resetKey:n,matchState:a}){const o=e.routesById[a.routeId],u=o.options.pendingComponent??e.options.defaultPendingComponent,l=u?V.jsx(u,{}):null,f=o.options.errorComponent??e.options.defaultErrorComponent,d=o.options.onCatch??e.options.defaultOnCatch,p=o.isRoot?o.options.notFoundComponent??e.options.notFoundRoute?.options.component:o.options.notFoundComponent,m=a.ssr===!1||a.ssr==="data-only",b=(!o.isRoot||o.options.wrapInSuspense||m)&&(o.options.wrapInSuspense??u??(o.options.errorComponent?.preload||m))?re.Suspense:ys,g=f?wy:ys,v=p?tR:ys;return V.jsxs(o.isRoot?o.options.shellComponent??ys:ys,{children:[V.jsx(wf.Provider,{value:t,children:V.jsx(b,{fallback:l,children:V.jsx(g,{getResetKey:()=>n,errorComponent:f||xy,onCatch:(x,S)=>{if(mt(x))throw x.routeId??=a.routeId,x;d?.(x,S)},children:V.jsx(v,{fallback:x=>{if(x.routeId??=a.routeId,!p||x.routeId&&x.routeId!==a.routeId||!x.routeId&&!o.isRoot)throw x;return re.createElement(p,x)},children:m||a._displayPending?V.jsx(AM,{fallback:l,children:V.jsx(S6,{matchId:t})}):V.jsx(S6,{matchId:t})})})})}),a.parentRouteId===ra?V.jsxs(V.Fragment,{children:[V.jsx(sR,{resetKey:n}),e.options.scrollRestoration&&i5?V.jsx(iR,{}):null]}):null]})}function sR({resetKey:e}){const t=Et(),n=re.useRef(void 0);return Zo(()=>{const a=t.latestLocation.href;(n.current===void 0||n.current!==a)&&(t.emit({type:"onRendered",...xs(t.stores.location.get(),t.stores.resolvedLocation.get())}),n.current=a)},[t.latestLocation.state.__TSR_key,e,t]),null}var S6=re.memo(function({matchId:t}){const n=Et(),a=(m,b)=>n.getMatch(m.id)?._nonReactive[b]??m._nonReactive[b],o=n.stores.matchStores.get(t);o||Zt();const u=Xe(o,m=>m),l=u.routeId,f=n.routesById[l],d=re.useMemo(()=>{const m=(n.routesById[l].options.remountDeps??n.options.defaultRemountDeps)?.({routeId:l,loaderDeps:u.loaderDeps,params:u._strictParams,search:u._strictSearch});return m?JSON.stringify(m):void 0},[l,u.loaderDeps,u._strictParams,u._strictSearch,n.options.defaultRemountDeps,n.routesById]),p=re.useMemo(()=>{const m=f.options.component??n.options.defaultComponent;return m?V.jsx(m,{},d):V.jsx(bw,{})},[d,f.options.component,n.options.defaultComponent]);if(u._displayPending)throw a(u,"displayPendingPromise");if(u._forcePending)throw a(u,"minPendingPromise");if(u.status==="pending"){const m=f.options.pendingMinMs??n.options.defaultPendingMinMs;if(m){const b=n.getMatch(u.id);if(b&&!b._nonReactive.minPendingPromise){const g=sa();b._nonReactive.minPendingPromise=g,setTimeout(()=>{g.resolve(),b._nonReactive.minPendingPromise=void 0},m)}}throw a(u,"loadPromise")}if(u.status==="notFound")return mt(u.error)||Zt(),yw(n,f,u.error);if(u.status==="redirected")throw Qt(u.error)||Zt(),a(u,"loadPromise");if(u.status==="error")throw u.error;return p}),bw=re.memo(function(){const t=Et(),n=re.useContext(wf);let a,o=!1,u;{const p=n?t.stores.matchStores.get(n):void 0;[a,o]=Xe(p,m=>[m?.routeId,m?.globalNotFound??!1]),u=Xe(t.stores.matchesId,m=>m[m.findIndex(b=>b===n)+1])}const l=a?t.routesById[a]:void 0,f=t.options.defaultPendingComponent?V.jsx(t.options.defaultPendingComponent,{}):null;if(o)return l||Zt(),yw(t,l,void 0);if(!u)return null;const d=V.jsx(mw,{matchId:u});return a===ra?V.jsx(re.Suspense,{fallback:f,children:d}):d});function oR(){const e=Et(),t=re.useRef({router:e,mounted:!1}),[n,a]=re.useState(!1),o=Xe(e.stores.isLoading,b=>b),u=Xe(e.stores.hasPending,b=>b),l=Eh(o),f=o||n||u,d=Eh(f),p=o||u,m=Eh(p);return e.startTransition=b=>{a(!0),re.startTransition(()=>{b(),a(!1)})},re.useEffect(()=>{const b=e.history.subscribe(e.load),g=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return wr(e.latestLocation.publicHref)!==wr(g.publicHref)&&e.commitLocation({...g,replace:!0}),()=>{b()}},[e,e.history]),Zo(()=>{if(typeof window<"u"&&e.ssr||t.current.router===e&&t.current.mounted)return;t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(g){console.error(g)}})()},[e]),Zo(()=>{l&&!o&&e.emit({type:"onLoad",...xs(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,e,o]),Zo(()=>{m&&!p&&e.emit({type:"onBeforeRouteMount",...xs(e.stores.location.get(),e.stores.resolvedLocation.get())})},[p,m,e]),Zo(()=>{if(d&&!f){const b=xs(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...b}),sw(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[f,d,e]),null}function uR(){const e=Et(),t=e.routesById[ra].options.pendingComponent??e.options.defaultPendingComponent,n=t?V.jsx(t,{}):null,a=V.jsxs(typeof document<"u"&&e.ssr?ys:re.Suspense,{fallback:n,children:[V.jsx(oR,{}),V.jsx(cR,{})]});return e.options.InnerWrap?V.jsx(e.options.InnerWrap,{children:a}):a}function cR(){const e=Et(),t=Xe(e.stores.firstId,o=>o),n=Xe(e.stores.loadedAt,o=>o),a=t?V.jsx(mw,{matchId:t}):null;return V.jsx(wf.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?a:V.jsx(wy,{getResetKey:()=>n,errorComponent:xy,onCatch:void 0,children:a})})}function gw(){const e=Et();return Xe(e.stores.matchRouteDeps,t=>t),re.useCallback(t=>{const{pending:n,caseSensitive:a,fuzzy:o,includeSearch:u,...l}=t;return e.matchRoute(l,{pending:n,caseSensitive:a,fuzzy:o,includeSearch:u})},[e])}var lR=e=>({createMutableStore:b6,createReadonlyStore:b6,batch:sw}),fR=e=>new dR(e),dR=class extends XE{constructor(e){super(e,lR)}};function hR({router:e,children:t,...n}){s5(n)&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});const a=V.jsx(iw.Provider,{value:e,children:t});return e.options.Wrap?V.jsx(e.options.Wrap,{children:a}):a}function pR({router:e,...t}){return V.jsx(hR,{router:e,...t,children:V.jsx(uR,{})})}function E6(e,t){if(t)for(const[n,a]of Object.entries(t))n!=="suppressHydrationWarning"&&a!==void 0&&a!==!1&&e.setAttribute(n,typeof a=="boolean"?"":String(a))}function vw(e){const{attrs:t,children:n,nonce:a,preventScriptHoist:o}=e;switch(e.tag){case"title":return V.jsx("title",{...t,suppressHydrationWarning:!0,children:n});case"meta":return V.jsx("meta",{...t,suppressHydrationWarning:!0});case"link":return V.jsx("link",{...t,precedence:t?.precedence??(t?.rel==="stylesheet"?"default":void 0),nonce:a,suppressHydrationWarning:!0});case"style":return e.inlineCss,V.jsx("style",{...t,dangerouslySetInnerHTML:{__html:n},nonce:a});case"script":return V.jsx(yR,{attrs:t,preventScriptHoist:o,children:n});default:return null}}function yR({attrs:e,children:t,preventScriptHoist:n}){Et();const a=Sy(),o=typeof e?.type=="string"&&e.type!==""&&e.type!=="text/javascript"&&e.type!=="module";if(re.useEffect(()=>{if(!o){if(e?.src){const u=(()=>{try{const f=document.baseURI||window.location.href;return new URL(e.src,f).href}catch{return e.src}})();for(const f of document.querySelectorAll("script[src]"))if(f.src===u)return;const l=document.createElement("script");return E6(l,e),document.head.appendChild(l),()=>l.remove()}if(typeof t=="string"){const u=typeof e?.type=="string"?e.type:"text/javascript",l=typeof e?.nonce=="string"?e.nonce:void 0;for(const d of document.querySelectorAll("script:not([src])")){if(!(d instanceof HTMLScriptElement))continue;const p=d.getAttribute("type")??"text/javascript",m=d.getAttribute("nonce")??void 0;if(d.textContent===t&&p===u&&m===l)return}const f=document.createElement("script");return f.textContent=t,E6(f,e),document.head.appendChild(f),()=>f.remove()}}},[e,t,o]),o&&typeof t=="string")return V.jsx("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!a){if(e?.src)return V.jsx("script",{...e,suppressHydrationWarning:!0});if(typeof t=="string")return V.jsx("script",{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var mR=e=>{const t=Et(),n=t.options.ssr?.nonce,a=Xe(t.stores.matches,b=>b.map(g=>g.meta).filter(g=>g!==void 0),Bt),o=re.useMemo(()=>{const b=[],g={};let v;for(let x=a.length-1;x>=0;x--){const S=a[x];for(let E=S.length-1;E>=0;E--){const R=S[E];if(R)if(R.title)v||(v={tag:"title",children:R.title});else if("script:ld+json"in R)try{const z=JSON.stringify(R["script:ld+json"]);b.push({tag:"script",attrs:{type:"application/ld+json"},children:mE(z)})}catch{}else{const z=R.name??R.property;if(z){if(g[z])continue;g[z]=!0}b.push({tag:"meta",attrs:{...R,nonce:n}})}}}return v&&b.push(v),n&&b.push({tag:"meta",attrs:{property:"csp-nonce",content:n}}),b.reverse(),b},[a,n]),u=Xe(t.stores.matches,b=>b.flatMap(g=>g.links??[]).filter(g=>g!==void 0).map(g=>({tag:"link",attrs:{...g,nonce:n}})),Bt),l=Xe(t.stores.matches,b=>{const g=t.ssr?.manifest,v=[];return g&&(b.forEach(x=>{g.routes[x.routeId]?.css?.forEach(S=>{const E=mA(S);v.push({tag:"link",attrs:{rel:"stylesheet",...E,crossOrigin:w5(e,"stylesheet")??E.crossOrigin,suppressHydrationWarning:!0,nonce:n}})})}),g.inlineStyle&&v.push({tag:"style",attrs:{...g.inlineStyle.attrs,nonce:n},children:g.inlineStyle.children,inlineCss:!0})),v},Bt),f=Xe(t.stores.matches,b=>{const g=[],v=t.ssr?.manifest;return v&&b.forEach(x=>{v.routes[x.routeId]?.preloads?.forEach(S=>{g.push({tag:"link",attrs:{...pA(v,S,e),nonce:n}})})}),g},Bt),d=Xe(t.stores.matches,b=>b.flatMap(g=>g.styles??[]).filter(g=>g!==void 0).map(({children:g,...v})=>({tag:"style",attrs:{...v,nonce:n},children:g})),Bt),p=Xe(t.stores.matches,b=>b.flatMap(g=>g.headScripts??[]).filter(g=>g!==void 0).map(({children:g,...v})=>({tag:"script",attrs:{...v,nonce:n},children:g})),Bt),m=[];return Al(m,o),m.push(...f),Al(m,u),m.push(...l),Al(m,d),Al(m,p),m};function bR(e){const t=mR(e.assetCrossOrigin),n=Et().options.ssr?.nonce;return V.jsx(V.Fragment,{children:t.map(a=>re.createElement(vw,{...a,key:`tsr-meta-${JSON.stringify(a)}`,nonce:n}))})}var gR=()=>{const e=Et(),t=e.options.ssr?.nonce,n=u=>{const l=[],f=e.ssr?.manifest;if(!f)return[];for(const d of u){const p=f.routes[d.routeId]?.scripts;if(p)for(const m of p)l.push({tag:"script",attrs:{...m.attrs,nonce:t},children:m.children,...typeof m.attrs?.src=="string"?{preventScriptHoist:!0}:{}})}return l},a=u=>u.map(l=>l.scripts).flat(1).filter(Boolean).map(({children:l,...f})=>({tag:"script",attrs:{...f,suppressHydrationWarning:!0,nonce:t},children:l})),o=Xe(e.stores.matches,n,Bt);return vR(e,Xe(e.stores.matches,a,Bt),o)};function vR(e,t,n){const a=[...t,...n];return V.jsx(V.Fragment,{children:a.map((o,u)=>re.createElement(vw,{...o,key:`tsr-scripts-${o.tag}-${u}`}))})}var Is=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},wR=class extends Is{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Ay=new wR,xR={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},SR=class{#e=xR;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},xr=new SR;function ER(e){setTimeout(e,0)}var AR=typeof window>"u"||"Deno"in globalThis;function ut(){}function TR(e,t){return typeof e=="function"?e(t):e}function dp(e){return typeof e=="number"&&e>=0&&e!==1/0}function ww(e,t){return Math.max(e+(t||0)-Date.now(),0)}function bi(e,t){return typeof e=="function"?e(t):e}function dn(e,t){return typeof e=="function"?e(t):e}function A6(e,t){const{type:n="all",exact:a,fetchStatus:o,predicate:u,queryKey:l,stale:f}=e;if(l){if(a){if(t.queryHash!==Ty(l,t.options))return!1}else if(!au(t.queryKey,l))return!1}if(n!=="all"){const d=t.isActive();if(n==="active"&&!d||n==="inactive"&&d)return!1}return!(typeof f=="boolean"&&t.isStale()!==f||o&&o!==t.state.fetchStatus||u&&!u(t))}function T6(e,t){const{exact:n,status:a,predicate:o,mutationKey:u}=e;if(u){if(!t.options.mutationKey)return!1;if(n){if(oa(t.options.mutationKey)!==oa(u))return!1}else if(!au(t.options.mutationKey,u))return!1}return!(a&&t.state.status!==a||o&&!o(t))}function Ty(e,t){return(t?.queryKeyHashFn||oa)(e)}function oa(e){return JSON.stringify(e,(t,n)=>hp(n)?Object.keys(n).sort().reduce((a,o)=>(a[o]=n[o],a),{}):n)}function au(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>au(e[n],t[n])):!1}var MR=Object.prototype.hasOwnProperty;function xw(e,t,n=0){if(e===t)return e;if(n>500)return t;const a=M6(e)&&M6(t);if(!a&&!(hp(e)&&hp(t)))return t;const u=(a?e:Object.keys(e)).length,l=a?t:Object.keys(t),f=l.length,d=a?new Array(f):{};let p=0;for(let m=0;m<f;m++){const b=a?m:l[m],g=e[b],v=t[b];if(g===v){d[b]=g,(a?m<u:MR.call(e,b))&&p++;continue}if(g===null||v===null||typeof g!="object"||typeof v!="object"){d[b]=v;continue}const x=xw(g,v,n+1);d[b]=x,x===g&&p++}return u===f&&p===u?e:d}function rf(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function M6(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function hp(e){if(!R6(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!R6(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function R6(e){return Object.prototype.toString.call(e)==="[object Object]"}function RR(e){return new Promise(t=>{xr.setTimeout(t,e)})}function pp(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?xw(e,t):t}function _R(e,t,n=0){const a=[...e,t];return n&&a.length>n?a.slice(1):a}function CR(e,t,n=0){const a=[t,...e];return n&&a.length>n?a.slice(0,-1):a}var My=Symbol();function Sw(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===My?()=>Promise.reject(new Error(`Missing queryFn: \'${e.queryHash}\'`)):e.queryFn}function Ry(e,t){return typeof e=="function"?e(...t):!!e}function OR(e,t,n){let a=!1,o;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(o??=t(),a||(a=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),e}var su=(()=>{let e=()=>AR;return{isServer(){return e()},setIsServer(t){e=t}}})();function yp(){let e,t;const n=new Promise((o,u)=>{e=o,t=u});n.status="pending",n.catch(()=>{});function a(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{a({status:"fulfilled",value:o}),e(o)},n.reject=o=>{a({status:"rejected",reason:o}),t(o)},n}function PR(e){let t;if(e.then(n=>(t=n,n),ut)?.catch(ut),t!==void 0)return{data:t}}function Ew(e){return e}function zR(e){return{mutationKey:e.options.mutationKey,state:e.state,...e.options.scope&&{scope:e.options.scope},...e.meta&&{meta:e.meta}}}function BR(e,t,n){const a=()=>{const o=e.promise?.then(t).catch(u=>n(u)?Promise.reject(new Error("redacted")):Promise.reject(u));return o?.catch(ut),o};return{dehydratedAt:Date.now(),state:{...e.state,...e.state.data!==void 0&&{data:t(e.state.data)}},queryKey:e.queryKey,queryHash:e.queryHash,...e.state.status==="pending"&&{promise:a()},...e.meta&&{meta:e.meta},...e.queryType&&{queryType:e.queryType}}}function IR(e){return e.state.isPaused}function Aw(e){return e.state.status==="success"}function NR(e){return!0}function LR(e,t={}){const n=t.shouldDehydrateMutation??e.getDefaultOptions().dehydrate?.shouldDehydrateMutation??IR,a=e.getMutationCache().getAll().flatMap(d=>n(d)?[zR(d)]:[]),o=t.shouldDehydrateQuery??e.getDefaultOptions().dehydrate?.shouldDehydrateQuery??Aw,u=t.shouldRedactErrors??e.getDefaultOptions().dehydrate?.shouldRedactErrors??NR,l=t.serializeData??e.getDefaultOptions().dehydrate?.serializeData??Ew,f=e.getQueryCache().getAll().flatMap(d=>o(d)?[BR(d,l,u)]:[]);return{mutations:a,queries:f}}function $R(e,t,n){if(typeof t!="object"||t===null)return;const a=e.getMutationCache(),o=e.getQueryCache(),u=n?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??Ew,l=t.mutations||[],f=t.queries||[];l.forEach(({state:d,...p})=>{a.build(e,{...e.getDefaultOptions().hydrate?.mutations,...n?.defaultOptions?.mutations,...p},d)}),f.forEach(({queryKey:d,state:p,queryHash:m,meta:b,promise:g,dehydratedAt:v,queryType:x})=>{const S=g?PR(g):void 0,E=p.data===void 0?S?.data:p.data,R=E===void 0?E:u(E);let z=o.get(m);const M=z?.state.status==="pending",O=z?.state.fetchStatus==="fetching";if(z){const _=S&&v!==void 0&&v>z.state.dataUpdatedAt;if(p.dataUpdatedAt>z.state.dataUpdatedAt||_){const{fetchStatus:B,...C}=p;z.setState({...C,data:R,...p.status==="pending"&&R!==void 0&&{status:"success",...!O&&{fetchStatus:"idle"}}})}}else z=o.build(e,{...e.getDefaultOptions().hydrate?.queries,...n?.defaultOptions?.queries,queryKey:d,queryHash:m,meta:b,_type:x},{...p,data:R,fetchStatus:"idle",status:p.status==="pending"&&R!==void 0?"success":p.status});g&&!S&&!M&&!O&&(v===void 0||v>z.state.dataUpdatedAt)&&z.fetch(void 0,{initialPromise:Promise.resolve(g).then(u)}).catch(ut)})}var UR=ER;function jR(){let e=[],t=0,n=f=>{f()},a=f=>{f()},o=UR;const u=f=>{t?e.push(f):o(()=>{n(f)})},l=()=>{const f=e;e=[],f.length&&o(()=>{a(()=>{f.forEach(d=>{n(d)})})})};return{batch:f=>{let d;t++;try{d=f()}finally{t--,t||l()}return d},batchCalls:f=>(...d)=>{u(()=>{f(...d)})},schedule:u,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{a=f},setScheduler:f=>{o=f}}}var ct=jR(),kR=class extends Is{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},af=new kR;function DR(e){return Math.min(1e3*2**e,3e4)}function Tw(e){return(e??"online")==="online"?af.isOnline():!0}var mp=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Mw(e){let t=!1,n=0,a;const o=yp(),u=()=>o.status!=="pending",l=S=>{if(!u()){const E=new mp(S);g(E),e.onCancel?.(E)}},f=()=>{t=!0},d=()=>{t=!1},p=()=>Ay.isFocused()&&(e.networkMode==="always"||af.isOnline())&&e.canRun(),m=()=>Tw(e.networkMode)&&e.canRun(),b=S=>{u()||(a?.(),o.resolve(S))},g=S=>{u()||(a?.(),o.reject(S))},v=()=>new Promise(S=>{a=E=>{(u()||p())&&S(E)},e.onPause?.()}).then(()=>{a=void 0,u()||e.onContinue?.()}),x=()=>{if(u())return;let S;const E=n===0?e.initialPromise:void 0;try{S=E??e.fn()}catch(R){S=Promise.reject(R)}Promise.resolve(S).then(b).catch(R=>{if(u())return;const z=e.retry??(su.isServer()?0:3),M=e.retryDelay??DR,O=typeof M=="function"?M(n,R):M,_=z===!0||typeof z=="number"&&n<z||typeof z=="function"&&z(n,R);if(t||!_){g(R);return}n++,e.onFail?.(n,R),RR(O).then(()=>p()?void 0:v()).then(()=>{t?g(R):x()})})};return{promise:o,status:()=>o.status,cancel:l,continue:()=>(a?.(),o),cancelRetry:f,continueRetry:d,canStart:m,start:()=>(m()?x():v().then(x),o)}}var Rw=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),dp(this.gcTime)&&(this.#e=xr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(su.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(xr.clearTimeout(this.#e),this.#e=void 0)}};function HR(e){return{onFetch:(t,n)=>{const a=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,u=t.state.data?.pages||[],l=t.state.data?.pageParams||[];let f={pages:[],pageParams:[]},d=0;const p=async()=>{let m=!1;const b=x=>{OR(x,()=>t.signal,()=>m=!0)},g=Sw(t.options,t.fetchOptions),v=async(x,S,E)=>{if(m)return Promise.reject(t.signal.reason);if(S==null&&x.pages.length)return Promise.resolve(x);const z=(()=>{const B={client:t.client,queryKey:t.queryKey,pageParam:S,direction:E?"backward":"forward",meta:t.options.meta};return b(B),B})(),M=await g(z),{maxPages:O}=t.options,_=E?CR:_R;return{pages:_(x.pages,M,O),pageParams:_(x.pageParams,S,O)}};if(o&&u.length){const x=o==="backward",S=x?FR:_6,E={pages:u,pageParams:l},R=S(a,E);f=await v(E,R,x)}else{const x=e??u.length;do{const S=d===0?l[0]??a.initialPageParam:_6(a,f);if(d>0&&S==null)break;f=await v(f,S),d++}while(d<x)}return f};t.options.persister?t.fetchFn=()=>t.options.persister?.(p,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=p}}}function _6(e,{pages:t,pageParams:n}){const a=t.length-1;return t.length>0?e.getNextPageParam(t[a],t,n[a],n):void 0}function FR(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var qR=class extends Rw{#e;#t;#n;#r;#a;#i;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#r=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=O6(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=O6(this.options);t.data!==void 0&&(this.setState(C6(t.data,t.dataUpdatedAt)),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,t){const n=pp(this.state.data,e,this.options);return this.#u({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#u({type:"setState",state:e})}cancel(e){const t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(ut).catch(ut):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>dn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===My||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>bi(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!ww(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#i&&(this.#s||this.#l()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#l(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#u({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(p=>p.options.queryFn);d&&this.setOptions(d.options)}const n=new AbortController,a=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},o=()=>{const d=Sw(this.options,t),m=(()=>{const b={client:this.#a,queryKey:this.queryKey,meta:this.meta};return a(b),b})();return this.#s=!1,this.options.persister?this.options.persister(d,m,this):d(m)},l=(()=>{const d={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:o};return a(d),d})();(this.#e==="infinite"?HR(this.options.pages):this.options.behavior)?.onFetch(l,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#u({type:"fetch",meta:l.fetchOptions?.meta}),this.#i=Mw({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:d=>{d instanceof mp&&d.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(d,p)=>{this.#u({type:"failed",failureCount:d,error:p})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{const d=await this.#i.start();if(d===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(d),this.#r.config.onSuccess?.(d,this),this.#r.config.onSettled?.(d,this.state.error,this),d}catch(d){if(d instanceof mp){if(d.silent)return this.#i.promise;if(d.revert){if(this.state.data===void 0)throw d;return this.state.data}}throw this.#u({type:"error",error:d}),this.#r.config.onError?.(d,this),this.#r.config.onSettled?.(this.state.data,d,this),d}finally{this.scheduleGc()}}#u(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,..._w(n.data,this.options),fetchMeta:e.meta??null};case"success":const a={...n,...C6(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?a:void 0,a;case"error":const o=e.error;return{...n,error:o,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),ct.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function _w(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Tw(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function C6(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function O6(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,a=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var GR=class extends Is{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=yp(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#a;#i;#o;#s;#l;#u;#p;#f;#d;#c;#y=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),P6(this.#t,this.options)?this.#h():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return bp(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return bp(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#w(),this.#x(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof dn(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#t.setOptions(this.options),t._defaulted&&!rf(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const a=this.hasListeners();a&&z6(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),a&&(this.#t!==n||dn(this.options.enabled,this.#t)!==dn(t.enabled,this.#t)||bi(this.options.staleTime,this.#t)!==bi(t.staleTime,this.#t))&&this.#m();const o=this.#b();a&&(this.#t!==n||dn(this.options.enabled,this.#t)!==dn(t.enabled,this.#t)||o!==this.#c)&&this.#g(o)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return KR(this,n)&&(this.#r=n,this.#i=this.options,this.#a=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(n,a)=>(this.trackProp(a),t?.(a),a==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,a))})}trackProp(e){this.#y.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(ut)),t}#m(){this.#w();const e=bi(this.options.staleTime,this.#t);if(su.isServer()||this.#r.isStale||!dp(e))return;const n=ww(this.#r.dataUpdatedAt,e)+1;this.#f=xr.setTimeout(()=>{this.#r.isStale||this.updateResult()},n)}#b(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#g(e){this.#x(),this.#c=e,!(su.isServer()||dn(this.options.enabled,this.#t)===!1||!dp(this.#c)||this.#c===0)&&(this.#d=xr.setInterval(()=>{(this.options.refetchIntervalInBackground||Ay.isFocused())&&this.#h()},this.#c))}#v(){this.#m(),this.#g(this.#b())}#w(){this.#f!==void 0&&(xr.clearTimeout(this.#f),this.#f=void 0)}#x(){this.#d!==void 0&&(xr.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){const n=this.#t,a=this.options,o=this.#r,u=this.#a,l=this.#i,d=e!==n?e.state:this.#n,{state:p}=e;let m={...p},b=!1,g;if(t._optimisticResults){const I=this.hasListeners(),j=!I&&P6(e,t),D=I&&z6(e,n,t,a);(j||D)&&(m={...m,..._w(p.data,e.options)}),t._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:v,errorUpdatedAt:x,status:S}=m;g=m.data;let E=!1;if(t.placeholderData!==void 0&&g===void 0&&S==="pending"){let I;o?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(I=o.data,E=!0):I=typeof t.placeholderData=="function"?t.placeholderData(this.#p?.state.data,this.#p):t.placeholderData,I!==void 0&&(S="success",g=pp(o?.data,I,t),b=!0)}if(t.select&&g!==void 0&&!E)if(o&&g===u?.data&&t.select===this.#l)g=this.#u;else try{this.#l=t.select,g=t.select(g),g=pp(o?.data,g,t),this.#u=g,this.#s=null}catch(I){this.#s=I}this.#s&&(v=this.#s,g=this.#u,x=Date.now(),S="error");const R=m.fetchStatus==="fetching",z=S==="pending",M=S==="error",O=z&&R,_=g!==void 0,C={status:S,fetchStatus:m.fetchStatus,isPending:z,isSuccess:S==="success",isError:M,isInitialLoading:O,isLoading:O,data:g,dataUpdatedAt:m.dataUpdatedAt,error:v,errorUpdatedAt:x,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:m.dataUpdateCount>d.dataUpdateCount||m.errorUpdateCount>d.errorUpdateCount,isFetching:R,isRefetching:R&&!z,isLoadingError:M&&!_,isPaused:m.fetchStatus==="paused",isPlaceholderData:b,isRefetchError:M&&_,isStale:_y(e,t),refetch:this.refetch,promise:this.#o,isEnabled:dn(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const I=C.data!==void 0,j=C.status==="error"&&!I,D=ne=>{j?ne.reject(C.error):I&&ne.resolve(C.data)},Q=()=>{const ne=this.#o=C.promise=yp();D(ne)},X=this.#o;switch(X.status){case"pending":e.queryHash===n.queryHash&&D(X);break;case"fulfilled":(j||C.data!==X.value)&&Q();break;case"rejected":(!j||C.error!==X.reason)&&Q();break}}return C}updateResult(){const e=this.#r,t=this.createResult(this.#t,this.options);if(this.#a=this.#t.state,this.#i=this.options,this.#a.data!==void 0&&(this.#p=this.#t),rf(t,e))return;this.#r=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:a}=this.options,o=typeof a=="function"?a():a;if(o==="all"||!o&&!this.#y.size)return!0;const u=new Set(o??this.#y);return this.options.throwOnError&&u.add("error"),Object.keys(this.#r).some(l=>{const f=l;return this.#r[f]!==e[f]&&u.has(f)})};this.#E({listeners:n()})}#S(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}#E(e){ct.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function VR(e,t){return dn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&dn(t.retryOnMount,e)===!1)}function P6(e,t){return VR(e,t)||e.state.data!==void 0&&bp(e,t,t.refetchOnMount)}function bp(e,t,n){if(dn(t.enabled,e)!==!1&&bi(t.staleTime,e)!=="static"){const a=typeof n=="function"?n(e):n;return a==="always"||a!==!1&&_y(e,t)}return!1}function z6(e,t,n,a){return(e!==t||dn(a.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&_y(e,n)}function _y(e,t){return dn(t.enabled,e)!==!1&&e.isStaleByTime(bi(t.staleTime,e))}function KR(e,t){return!rf(e.getCurrentResult(),t)}var QR=class extends Rw{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Cw(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#a({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=Mw({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(u,l)=>{this.#a({type:"failed",failureCount:u,error:l})},onPause:()=>{this.#a({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const a=this.state.status==="pending",o=!this.#r.canStart();try{if(a)t();else{this.#a({type:"pending",variables:e,isPaused:o}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const l=await this.options.onMutate?.(e,n);l!==this.state.context&&this.#a({type:"pending",context:l,variables:e,isPaused:o})}const u=await this.#r.start();return await this.#n.config.onSuccess?.(u,e,this.state.context,this,n),await this.options.onSuccess?.(u,e,this.state.context,n),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(u,null,e,this.state.context,n),this.#a({type:"success",data:u}),u}catch(u){try{await this.#n.config.onError?.(u,e,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onError?.(u,e,this.state.context,n)}catch(l){Promise.reject(l)}try{await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onSettled?.(void 0,u,e,this.state.context,n)}catch(l){Promise.reject(l)}throw this.#a({type:"error",error:u}),u}finally{this.#n.runNext(this)}}#a(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),ct.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function Cw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var YR=class extends Is{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const a=new QR({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(a),a}add(e){this.#e.add(e);const t=Rl(e);if(typeof t=="string"){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=Rl(e);if(typeof t=="string"){const n=this.#t.get(t);if(n)if(n.length>1){const a=n.indexOf(e);a!==-1&&n.splice(a,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Rl(e);if(typeof t=="string"){const a=this.#t.get(t)?.find(o=>o.state.status==="pending");return!a||a===e}else return!0}runNext(e){const t=Rl(e);return typeof t=="string"?this.#t.get(t)?.find(a=>a!==e&&a.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){ct.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>T6(t,n))}findAll(e={}){return this.getAll().filter(t=>T6(e,t))}notify(e){ct.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return ct.batch(()=>Promise.all(e.map(t=>t.continue().catch(ut))))}};function Rl(e){return e.options.scope?.id}var ZR=class extends Is{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#e.defaultMutationOptions(e),rf(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&oa(t.mutationKey)!==oa(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#a(),this.#i(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#i()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#a(){const e=this.#n?.state??Cw();this.#t={...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset}}#i(e){ct.batch(()=>{if(this.#r&&this.hasListeners()){const t=this.#t.variables,n=this.#t.context,a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#r.onSuccess?.(e.data,t,n,a)}catch(o){Promise.reject(o)}try{this.#r.onSettled?.(e.data,null,t,n,a)}catch(o){Promise.reject(o)}}else if(e?.type==="error"){try{this.#r.onError?.(e.error,t,n,a)}catch(o){Promise.reject(o)}try{this.#r.onSettled?.(void 0,e.error,t,n,a)}catch(o){Promise.reject(o)}}}this.listeners.forEach(t=>{t(this.#t)})})}},XR=class extends Is{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const a=t.queryKey,o=t.queryHash??Ty(a,t);let u=this.get(o);return u||(u=new qR({client:e,queryKey:a,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){ct.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>A6(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>A6(e,n)):t}notify(e){ct.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){ct.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){ct.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},JR=class{#e;#t;#n;#r;#a;#i;#o;#s;constructor(e={}){this.#e=e.queryCache||new XR,this.#t=e.mutationCache||new YR,this.#n=e.defaultOptions||{},this.#r=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#o=Ay.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=af.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),a=n.state.data;return a===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(bi(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(a))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:n})=>{const a=n.data;return[t,a]})}setQueryData(e,t,n){const a=this.defaultQueryOptions({queryKey:e}),u=this.#e.get(a.queryHash)?.state.data,l=TR(t,u);if(l!==void 0)return this.#e.build(this,a).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return ct.batch(()=>this.#e.findAll(e).map(({queryKey:a})=>[a,this.setQueryData(a,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;ct.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#e;return ct.batch(()=>(n.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},a=ct.batch(()=>this.#e.findAll(e).map(o=>o.cancel(n)));return Promise.all(a).then(ut).catch(ut)}invalidateQueries(e,t={}){return ct.batch(()=>(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},a=ct.batch(()=>this.#e.findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let u=o.fetch(void 0,n);return n.throwOnError||(u=u.catch(ut)),o.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(a).then(ut)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(bi(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ut).catch(ut)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ut).catch(ut)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return af.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(oa(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(a=>{au(e,a.queryKey)&&Object.assign(n,a.defaultOptions)}),n}setMutationDefaults(e,t){this.#a.set(oa(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#a.values()],n={};return t.forEach(a=>{au(e,a.mutationKey)&&Object.assign(n,a.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Ty(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===My&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Ow=re.createContext(void 0),Ns=e=>{const t=re.useContext(Ow);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},WR=({client:e,children:t})=>(re.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),V.jsx(Ow.Provider,{value:e,children:t})),Pw=re.createContext(!1),e_=()=>re.useContext(Pw),t_=Pw.Provider;function n_(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var r_=re.createContext(n_()),i_=()=>re.useContext(r_),a_=(e,t,n)=>{const a=n?.state.error&&typeof e.throwOnError=="function"?Ry(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||a)&&(t.isReset()||(e.retryOnMount=!1))},s_=e=>{re.useEffect(()=>{e.clearReset()},[e])},o_=({result:e,errorResetBoundary:t,throwOnError:n,query:a,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&a&&(o&&e.data===void 0||Ry(n,[e.error,a])),u_=e=>{if(e.suspense){const n=o=>o==="static"?o:Math.max(o??1e3,1e3),a=e.staleTime;e.staleTime=typeof a=="function"?(...o)=>n(a(...o)):n(a),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},c_=(e,t)=>e.isLoading&&e.isFetching&&!t,l_=(e,t)=>e?.suspense&&t.isPending,B6=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function f_(e,t,n){const a=e_(),o=i_(),u=Ns(),l=u.defaultQueryOptions(e);u.getDefaultOptions().queries?._experimental_beforeQuery?.(l);const f=u.getQueryCache().get(l.queryHash),d=e.subscribed!==!1;l._optimisticResults=a?"isRestoring":d?"optimistic":void 0,u_(l),a_(l,o,f),s_(o);const p=!u.getQueryCache().get(l.queryHash),[m]=re.useState(()=>new t(u,l)),b=m.getOptimisticResult(l),g=!a&&d;if(re.useSyncExternalStore(re.useCallback(v=>{const x=g?m.subscribe(ct.batchCalls(v)):ut;return m.updateResult(),x},[m,g]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),re.useEffect(()=>{m.setOptions(l)},[l,m]),l_(l,b))throw B6(l,m,o);if(o_({result:b,errorResetBoundary:o,throwOnError:l.throwOnError,query:f,suspense:l.suspense}))throw b.error;return u.getDefaultOptions().queries?._experimental_afterQuery?.(l,b),l.experimental_prefetchInRender&&!su.isServer()&&c_(b,a)&&(p?B6(l,m,o):f?.promise)?.catch(ut).finally(()=>{m.updateResult()}),l.notifyOnChangeProps?b:m.trackResult(b)}function xf(e,t){return f_(e,GR)}function Sf(e,t){const n=Ns(),[a]=re.useState(()=>new ZR(n,e));re.useEffect(()=>{a.setOptions(e)},[a,e]);const o=re.useSyncExternalStore(re.useCallback(l=>a.subscribe(ct.batchCalls(l)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),u=re.useCallback((l,f)=>{a.mutate(l,f).catch(ut)},[a]);if(o.error&&Ry(a.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:u,mutateAsync:o.mutate}}function gp(){}function d_(e,{interval:t=1e3,onError:n=gp}={}){if(typeof e!="function")throw new Error("argument is not function.");let a=0,o=null,u=!1,l=!1;return async(...f)=>{if(o=f,!l){for(l=!0;u;)await new Promise(d=>xr.setTimeout(d,t));for(;Date.now()<a;)await new Promise(d=>xr.setTimeout(d,a-Date.now()));l=!1,u=!0;try{await e(...o)}catch(d){try{n(d)}catch{}}a=Date.now()+t,u=!1}}}var h_=({storage:e,key:t="REACT_QUERY_OFFLINE_CACHE",throttleTime:n=1e3,serialize:a=JSON.stringify,deserialize:o=JSON.parse,retry:u})=>{if(e){const l=async f=>{try{const d=await a(f);await e.setItem(t,d);return}catch(d){return d}};return{persistClient:d_(async f=>{let d=f,p=await l(d),m=0;for(;p&&d;)m++,d=await u?.({persistedClient:d,error:p,errorCount:m}),d&&(p=await l(d))},{interval:n}),restoreClient:async()=>{const f=await e.getItem(t);if(f)return await o(f)},removeClient:()=>e.removeItem(t)}}return{persistClient:gp,restoreClient:()=>Promise.resolve(void 0),removeClient:gp}};const p_="1.2.4";let Rn=class vp extends Error{constructor(t,n={}){const a=n.cause instanceof vp?n.cause.details:n.cause?.message?n.cause.message:n.details,o=n.cause instanceof vp&&n.cause.docsPath||n.docsPath,u=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...o?[`Docs: https://abitype.dev${o}`]:[],...a?[`Details: ${a}`]:[],`Version: abitype@${p_}`].join(`\n`);super(u),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),n.cause&&(this.cause=n.cause),this.details=a,this.docsPath=o,this.metaMessages=n.metaMessages,this.shortMessage=t}};function Ef(e,t){return e.exec(t)?.groups}const zw=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,Bw=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,Iw=/^\\(.+?\\).*?$/,I6=/^tuple(?<array>(\\[(\\d*)\\])*)$/;function wp(e){let t=e.type;if(I6.test(e.type)&&"components"in e){t="(";const n=e.components.length;for(let o=0;o<n;o++){const u=e.components[o];t+=wp(u),o<n-1&&(t+=", ")}const a=Ef(I6,e.type);return t+=`)${a?.array||""}`,wp({...e,type:t})}return"indexed"in e&&e.indexed&&(t=`${t} indexed`),e.name?`${t} ${e.name}`:t}function ms(e){let t="";const n=e.length;for(let a=0;a<n;a++){const o=e[a];t+=wp(o),a!==n-1&&(t+=", ")}return t}function xp(e){return e.type==="function"?`function ${e.name}(${ms(e.inputs)})${e.stateMutability&&e.stateMutability!=="nonpayable"?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${ms(e.outputs)})`:""}`:e.type==="event"?`event ${e.name}(${ms(e.inputs)})`:e.type==="error"?`error ${e.name}(${ms(e.inputs)})`:e.type==="constructor"?`constructor(${ms(e.inputs)})${e.stateMutability==="payable"?" payable":""}`:e.type==="fallback"?`fallback() external${e.stateMutability==="payable"?" payable":""}`:"receive() external payable"}const Nw=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \\{(?<properties>.*?)\\}$/;function Lw(e){return Nw.test(e)}function y_(e){return Ef(Nw,e)}const N6=new Set(["memory","indexed","storage","calldata"]),m_=new Set(["calldata","memory","storage"]);let b_=class extends Rn{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}},g_=class extends Rn{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}};class v_ extends Rn{constructor({params:t}){super("Failed to parse ABI parameters.",{details:`parseAbiParameters(${JSON.stringify(t,null,2)})`,docsPath:"/api/human#parseabiparameters-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParametersError"})}}let w_=class extends Rn{constructor({param:t}){super("Invalid ABI parameter.",{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}},x_=class extends Rn{constructor({param:t,name:n}){super("Invalid ABI parameter.",{details:t,metaMessages:[`"${n}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}},S_=class extends Rn{constructor({param:t,type:n,modifier:a}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${a}" not allowed${n?` in "${n}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}},E_=class extends Rn{constructor({param:t,type:n,modifier:a}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${a}" not allowed${n?` in "${n}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${a}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}},A_=class extends Rn{constructor({abiParameter:t}){super("Invalid ABI parameter.",{details:JSON.stringify(t,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}},T_=class extends Rn{constructor({signature:t,type:n}){super(`Invalid ${n} signature.`,{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}},M_=class extends Rn{constructor({signature:t}){super("Invalid struct signature.",{details:t,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}},R_=class extends Rn{constructor({type:t}){super("Circular reference detected.",{metaMessages:[`Struct "${t}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}},__=class extends Rn{constructor({current:t,depth:n}){super("Unbalanced parentheses.",{metaMessages:[`"${t.trim()}" has too many ${n>0?"opening":"closing"} parentheses.`],details:`Depth "${n}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}};function C_(e,t,n){let a="";if(n)for(const o of Object.entries(n)){if(!o)continue;let u="";for(const l of o[1])u+=`[${l.type}${l.name?`:${l.name}`:""}]`;a+=`(${o[0]}{${u}})`}return t?`${t}:${e}${a}`:`${e}${a}`}const Ch=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]),O_=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\\spayable)?)(?<array>(?:\\[\\d*?\\])+?)?(?:\\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,P_=/^\\((?<type>.+?)\\)(?<array>(?:\\[\\d*?\\])+?)?(?:\\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,z_=/^u?int$/;function sf(e,t){const n=C_(e,t?.type,t?.structs);if(Ch.has(n))return Ch.get(n);const a=Iw.test(e),o=Ef(a?P_:O_,e);if(!o)throw new w_({param:e});if(o.name&&I_(o.name))throw new x_({param:e,name:o.name});const u=o.name?{name:o.name}:{},l=o.modifier==="indexed"?{indexed:!0}:{},f=t?.structs??{};let d,p={};if(a){d="tuple";const b=di(o.type),g=[],v=b.length;for(let x=0;x<v;x++)g.push(sf(b[x],{structs:f}));p={components:g}}else if(o.type in f)d="tuple",p={components:f[o.type]};else if(z_.test(o.type))d=`${o.type}256`;else if(o.type==="address payable")d="address";else if(d=o.type,t?.type!=="struct"&&!$w(d))throw new g_({type:d});if(o.modifier){if(!t?.modifiers?.has?.(o.modifier))throw new S_({param:e,type:t?.type,modifier:o.modifier});if(m_.has(o.modifier)&&!N_(d,!!o.array))throw new E_({param:e,type:t?.type,modifier:o.modifier})}const m={type:`${d}${o.array??""}`,...u,...l,...p};return Ch.set(n,m),m}function di(e,t=[],n="",a=0){const o=e.trim().length;for(let u=0;u<o;u++){const l=e[u],f=e.slice(u+1);switch(l){case",":return a===0?di(f,[...t,n.trim()]):di(f,t,`${n}${l}`,a);case"(":return di(f,t,`${n}${l}`,a+1);case")":return di(f,t,`${n}${l}`,a-1);default:return di(f,t,`${n}${l}`,a)}}if(n==="")return t;if(a!==0)throw new __({current:n,depth:a});return t.push(n.trim()),t}function $w(e){return e==="address"||e==="bool"||e==="function"||e==="string"||zw.test(e)||Bw.test(e)}const B_=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;function I_(e){return e==="address"||e==="bool"||e==="function"||e==="string"||e==="tuple"||zw.test(e)||Bw.test(e)||B_.test(e)}function N_(e,t){return t||e==="bytes"||e==="string"||e==="tuple"}function L_(e){const t={},n=e.length;for(let l=0;l<n;l++){const f=e[l];if(!Lw(f))continue;const d=y_(f);if(!d)throw new T_({signature:f,type:"struct"});const p=d.properties.split(";"),m=[],b=p.length;for(let g=0;g<b;g++){const x=p[g].trim();if(!x)continue;const S=sf(x,{type:"struct"});m.push(S)}if(!m.length)throw new M_({signature:f});t[d.name]=m}const a={},o=Object.entries(t),u=o.length;for(let l=0;l<u;l++){const[f,d]=o[l];a[f]=Uw(d,t)}return a}const $_=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\\[\\d*?\\])+?)?$/;function Uw(e=[],t={},n=new Set){const a=[],o=e.length;for(let u=0;u<o;u++){const l=e[u];if(Iw.test(l.type))a.push(l);else{const d=Ef($_,l.type);if(!d?.type)throw new A_({abiParameter:l});const{array:p,type:m}=d;if(m in t){if(n.has(m))throw new R_({type:m});a.push({...l,type:`tuple${p??""}`,components:Uw(t[m],t,new Set([...n,m]))})}else if($w(m))a.push(l);else throw new b_({type:m})}}return a}function L6(e){const t=[];if(typeof e=="string"){const n=di(e),a=n.length;for(let o=0;o<a;o++)t.push(sf(n[o],{modifiers:N6}))}else{const n=L_(e),a=e.length;for(let o=0;o<a;o++){const u=e[o];if(Lw(u))continue;const l=di(u),f=l.length;for(let d=0;d<f;d++)t.push(sf(l[d],{modifiers:N6,structs:n}))}}if(t.length===0)throw new v_({params:e});return t}const U_="0.1.1";function j_(){return U_}let ye=class br extends Error{static setStaticOptions(t){br.prototype.docsOrigin=t.docsOrigin,br.prototype.showVersion=t.showVersion,br.prototype.version=t.version}constructor(t,n={}){const a=(()=>{if(n.cause instanceof br){if(n.cause.details)return n.cause.details;if(n.cause.shortMessage)return n.cause.shortMessage}return n.cause&&"details"in n.cause&&typeof n.cause.details=="string"?n.cause.details:n.cause?.message?n.cause.message:n.details})(),o=n.cause instanceof br&&n.cause.docsPath||n.docsPath,u=n.docsOrigin??br.prototype.docsOrigin,l=`${u}${o??""}`,f=!!(n.version??br.prototype.showVersion),d=n.version??br.prototype.version,p=[t||"An error occurred.",...n.metaMessages?["",...n.metaMessages]:[],...a||o||f?["",a?`Details: ${a}`:void 0,o?`See: ${l}`:void 0,f?`Version: ${d}`:void 0]:[]].filter(m=>typeof m=="string").join(`\n`);super(p,n.cause?{cause:n.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsOrigin",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"showVersion",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.cause=n.cause,this.details=a,this.docs=l,this.docsOrigin=u,this.docsPath=o,this.shortMessage=t,this.showVersion=f,this.version=d}walk(t){return jw(this,t)}};Object.defineProperty(ye,"defaultStaticOptions",{enumerable:!0,configurable:!0,writable:!0,value:{docsOrigin:"https://oxlib.sh",showVersion:!1,version:`ox@${j_()}`}});ye.setStaticOptions(ye.defaultStaticOptions);function jw(e,t){return t?.(e)?e:e&&typeof e=="object"&&"cause"in e&&e.cause?jw(e.cause,t):t?null:e}const us=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function k_(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function ou(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function ua(e,...t){if(!k_(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function D_(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");ou(e.outputLen),ou(e.blockLen)}function Cs(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function kw(e,t){ua(e);const n=t.outputLen;if(e.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function H_(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function xi(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function Oh(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Dn(e,t){return e<<32-t|e>>>t}const F_=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function q_(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}function G_(e){for(let t=0;t<e.length;t++)e[t]=q_(e[t]);return e}const $6=F_?e=>e:G_;function V_(e){if(typeof e!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}function Af(e){return typeof e=="string"&&(e=V_(e)),ua(e),e}function K_(...e){let t=0;for(let a=0;a<e.length;a++){const o=e[a];ua(o),t+=o.length}const n=new Uint8Array(t);for(let a=0,o=0;a<e.length;a++){const u=e[a];n.set(u,o),o+=u.length}return n}class Cy{}function Tf(e){const t=a=>e().update(Af(a)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function Q_(e=32){if(us&&typeof us.getRandomValues=="function")return us.getRandomValues(new Uint8Array(e));if(us&&typeof us.randomBytes=="function")return Uint8Array.from(us.randomBytes(e));throw new Error("crypto.getRandomValues must be defined")}class Dw extends Cy{constructor(t,n){super(),this.finished=!1,this.destroyed=!1,D_(t);const a=Af(n);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,u=new Uint8Array(o);u.set(a.length>o?t.create().update(a).digest():a);for(let l=0;l<u.length;l++)u[l]^=54;this.iHash.update(u),this.oHash=t.create();for(let l=0;l<u.length;l++)u[l]^=106;this.oHash.update(u),xi(u)}update(t){return Cs(this),this.iHash.update(t),this}digestInto(t){Cs(this),ua(t,this.outputLen),this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}digest(){const t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}_cloneInto(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:a,finished:o,destroyed:u,blockLen:l,outputLen:f}=this;return t=t,t.finished=o,t.destroyed=u,t.blockLen=l,t.outputLen=f,t.oHash=n._cloneInto(t.oHash),t.iHash=a._cloneInto(t.iHash),t}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const Hw=(e,t,n)=>new Dw(e,t).update(n).digest();Hw.create=(e,t)=>new Dw(e,t);function Y_(e,t,n,a){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,n,a);const o=BigInt(32),u=BigInt(4294967295),l=Number(n>>o&u),f=Number(n&u),d=a?4:0,p=a?0:4;e.setUint32(t+d,l,a),e.setUint32(t+p,f,a)}function Z_(e,t,n){return e&t^~e&n}function X_(e,t,n){return e&t^e&n^t&n}class Fw extends Cy{constructor(t,n,a,o){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=t,this.outputLen=n,this.padOffset=a,this.isLE=o,this.buffer=new Uint8Array(t),this.view=Oh(this.buffer)}update(t){Cs(this),t=Af(t),ua(t);const{view:n,buffer:a,blockLen:o}=this,u=t.length;for(let l=0;l<u;){const f=Math.min(o-this.pos,u-l);if(f===o){const d=Oh(t);for(;o<=u-l;l+=o)this.process(d,l);continue}a.set(t.subarray(l,l+f),this.pos),this.pos+=f,l+=f,this.pos===o&&(this.process(n,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){Cs(this),kw(t,this),this.finished=!0;const{buffer:n,view:a,blockLen:o,isLE:u}=this;let{pos:l}=this;n[l++]=128,xi(this.buffer.subarray(l)),this.padOffset>o-l&&(this.process(a,0),l=0);for(let b=l;b<o;b++)n[b]=0;Y_(a,o-8,BigInt(this.length*8),u),this.process(a,0);const f=Oh(t),d=this.outputLen;if(d%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const p=d/4,m=this.get();if(p>m.length)throw new Error("_sha2: outputLen bigger than state");for(let b=0;b<p;b++)f.setUint32(4*b,m[b],u)}digest(){const{buffer:t,outputLen:n}=this;this.digestInto(t);const a=t.slice(0,n);return this.destroy(),a}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:n,buffer:a,length:o,finished:u,destroyed:l,pos:f}=this;return t.destroyed=l,t.finished=u,t.length=o,t.pos=f,o%n&&t.buffer.set(a),t}clone(){return this._cloneInto()}}const si=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),_t=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),Ct=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),_l=BigInt(2**32-1),U6=BigInt(32);function J_(e,t=!1){return t?{h:Number(e&_l),l:Number(e>>U6&_l)}:{h:Number(e>>U6&_l)|0,l:Number(e&_l)|0}}function qw(e,t=!1){const n=e.length;let a=new Uint32Array(n),o=new Uint32Array(n);for(let u=0;u<n;u++){const{h:l,l:f}=J_(e[u],t);[a[u],o[u]]=[l,f]}return[a,o]}const j6=(e,t,n)=>e>>>n,k6=(e,t,n)=>e<<32-n|t>>>n,cs=(e,t,n)=>e>>>n|t<<32-n,ls=(e,t,n)=>e<<32-n|t>>>n,Cl=(e,t,n)=>e<<64-n|t>>>n-32,Ol=(e,t,n)=>e>>>n-32|t<<64-n,W_=(e,t,n)=>e<<n|t>>>32-n,eC=(e,t,n)=>t<<n|e>>>32-n,tC=(e,t,n)=>t<<n-32|e>>>64-n,nC=(e,t,n)=>e<<n-32|t>>>64-n;function hr(e,t,n,a){const o=(t>>>0)+(a>>>0);return{h:e+n+(o/2**32|0)|0,l:o|0}}const rC=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),iC=(e,t,n,a)=>t+n+a+(e/2**32|0)|0,aC=(e,t,n,a)=>(e>>>0)+(t>>>0)+(n>>>0)+(a>>>0),sC=(e,t,n,a,o)=>t+n+a+o+(e/2**32|0)|0,oC=(e,t,n,a,o)=>(e>>>0)+(t>>>0)+(n>>>0)+(a>>>0)+(o>>>0),uC=(e,t,n,a,o,u)=>t+n+a+o+u+(e/2**32|0)|0,cC=BigInt(0),Qo=BigInt(1),lC=BigInt(2),fC=BigInt(7),dC=BigInt(256),hC=BigInt(113),Gw=[],Vw=[],Kw=[];for(let e=0,t=Qo,n=1,a=0;e<24;e++){[n,a]=[a,(2*n+3*a)%5],Gw.push(2*(5*a+n)),Vw.push((e+1)*(e+2)/2%64);let o=cC;for(let u=0;u<7;u++)t=(t<<Qo^(t>>fC)*hC)%dC,t&lC&&(o^=Qo<<(Qo<<BigInt(u))-Qo);Kw.push(o)}const Qw=qw(Kw,!0),pC=Qw[0],yC=Qw[1],D6=(e,t,n)=>n>32?tC(e,t,n):W_(e,t,n),H6=(e,t,n)=>n>32?nC(e,t,n):eC(e,t,n);function mC(e,t=24){const n=new Uint32Array(10);for(let a=24-t;a<24;a++){for(let l=0;l<10;l++)n[l]=e[l]^e[l+10]^e[l+20]^e[l+30]^e[l+40];for(let l=0;l<10;l+=2){const f=(l+8)%10,d=(l+2)%10,p=n[d],m=n[d+1],b=D6(p,m,1)^n[f],g=H6(p,m,1)^n[f+1];for(let v=0;v<50;v+=10)e[l+v]^=b,e[l+v+1]^=g}let o=e[2],u=e[3];for(let l=0;l<24;l++){const f=Vw[l],d=D6(o,u,f),p=H6(o,u,f),m=Gw[l];o=e[m],u=e[m+1],e[m]=d,e[m+1]=p}for(let l=0;l<50;l+=10){for(let f=0;f<10;f++)n[f]=e[l+f];for(let f=0;f<10;f++)e[l+f]^=~n[(f+2)%10]&n[(f+4)%10]}e[0]^=pC[a],e[1]^=yC[a]}xi(n)}class Oy extends Cy{constructor(t,n,a,o=!1,u=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=t,this.suffix=n,this.outputLen=a,this.enableXOF=o,this.rounds=u,ou(a),!(0<t&&t<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=H_(this.state)}clone(){return this._cloneInto()}keccak(){$6(this.state32),mC(this.state32,this.rounds),$6(this.state32),this.posOut=0,this.pos=0}update(t){Cs(this),t=Af(t),ua(t);const{blockLen:n,state:a}=this,o=t.length;for(let u=0;u<o;){const l=Math.min(n-this.pos,o-u);for(let f=0;f<l;f++)a[this.pos++]^=t[u++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:t,suffix:n,pos:a,blockLen:o}=this;t[a]^=n,(n&128)!==0&&a===o-1&&this.keccak(),t[o-1]^=128,this.keccak()}writeInto(t){Cs(this,!1),ua(t),this.finish();const n=this.state,{blockLen:a}=this;for(let o=0,u=t.length;o<u;){this.posOut>=a&&this.keccak();const l=Math.min(a-this.posOut,u-o);t.set(n.subarray(this.posOut,this.posOut+l),o),this.posOut+=l,o+=l}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return ou(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(kw(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,xi(this.state)}_cloneInto(t){const{blockLen:n,suffix:a,outputLen:o,rounds:u,enableXOF:l}=this;return t||(t=new Oy(n,a,o,l,u)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=u,t.suffix=a,t.outputLen=o,t.enableXOF=l,t.destroyed=this.destroyed,t}}const bC=(e,t,n)=>Tf(()=>new Oy(t,e,n)),Yw=bC(1,136,256/8),gC=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),oi=new Uint32Array(64);class vC extends Fw{constructor(t=32){super(64,t,8,!1),this.A=si[0]|0,this.B=si[1]|0,this.C=si[2]|0,this.D=si[3]|0,this.E=si[4]|0,this.F=si[5]|0,this.G=si[6]|0,this.H=si[7]|0}get(){const{A:t,B:n,C:a,D:o,E:u,F:l,G:f,H:d}=this;return[t,n,a,o,u,l,f,d]}set(t,n,a,o,u,l,f,d){this.A=t|0,this.B=n|0,this.C=a|0,this.D=o|0,this.E=u|0,this.F=l|0,this.G=f|0,this.H=d|0}process(t,n){for(let b=0;b<16;b++,n+=4)oi[b]=t.getUint32(n,!1);for(let b=16;b<64;b++){const g=oi[b-15],v=oi[b-2],x=Dn(g,7)^Dn(g,18)^g>>>3,S=Dn(v,17)^Dn(v,19)^v>>>10;oi[b]=S+oi[b-7]+x+oi[b-16]|0}let{A:a,B:o,C:u,D:l,E:f,F:d,G:p,H:m}=this;for(let b=0;b<64;b++){const g=Dn(f,6)^Dn(f,11)^Dn(f,25),v=m+g+Z_(f,d,p)+gC[b]+oi[b]|0,S=(Dn(a,2)^Dn(a,13)^Dn(a,22))+X_(a,o,u)|0;m=p,p=d,d=f,f=l+v|0,l=u,u=o,o=a,a=v+S|0}a=a+this.A|0,o=o+this.B|0,u=u+this.C|0,l=l+this.D|0,f=f+this.E|0,d=d+this.F|0,p=p+this.G|0,m=m+this.H|0,this.set(a,o,u,l,f,d,p,m)}roundClean(){xi(oi)}destroy(){this.set(0,0,0,0,0,0,0,0),xi(this.buffer)}}const Zw=qw(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),wC=Zw[0],xC=Zw[1],ui=new Uint32Array(80),ci=new Uint32Array(80);class Xw extends Fw{constructor(t=64){super(128,t,16,!1),this.Ah=Ct[0]|0,this.Al=Ct[1]|0,this.Bh=Ct[2]|0,this.Bl=Ct[3]|0,this.Ch=Ct[4]|0,this.Cl=Ct[5]|0,this.Dh=Ct[6]|0,this.Dl=Ct[7]|0,this.Eh=Ct[8]|0,this.El=Ct[9]|0,this.Fh=Ct[10]|0,this.Fl=Ct[11]|0,this.Gh=Ct[12]|0,this.Gl=Ct[13]|0,this.Hh=Ct[14]|0,this.Hl=Ct[15]|0}get(){const{Ah:t,Al:n,Bh:a,Bl:o,Ch:u,Cl:l,Dh:f,Dl:d,Eh:p,El:m,Fh:b,Fl:g,Gh:v,Gl:x,Hh:S,Hl:E}=this;return[t,n,a,o,u,l,f,d,p,m,b,g,v,x,S,E]}set(t,n,a,o,u,l,f,d,p,m,b,g,v,x,S,E){this.Ah=t|0,this.Al=n|0,this.Bh=a|0,this.Bl=o|0,this.Ch=u|0,this.Cl=l|0,this.Dh=f|0,this.Dl=d|0,this.Eh=p|0,this.El=m|0,this.Fh=b|0,this.Fl=g|0,this.Gh=v|0,this.Gl=x|0,this.Hh=S|0,this.Hl=E|0}process(t,n){for(let M=0;M<16;M++,n+=4)ui[M]=t.getUint32(n),ci[M]=t.getUint32(n+=4);for(let M=16;M<80;M++){const O=ui[M-15]|0,_=ci[M-15]|0,B=cs(O,_,1)^cs(O,_,8)^j6(O,_,7),C=ls(O,_,1)^ls(O,_,8)^k6(O,_,7),I=ui[M-2]|0,j=ci[M-2]|0,D=cs(I,j,19)^Cl(I,j,61)^j6(I,j,6),Q=ls(I,j,19)^Ol(I,j,61)^k6(I,j,6),X=aC(C,Q,ci[M-7],ci[M-16]),ne=sC(X,B,D,ui[M-7],ui[M-16]);ui[M]=ne|0,ci[M]=X|0}let{Ah:a,Al:o,Bh:u,Bl:l,Ch:f,Cl:d,Dh:p,Dl:m,Eh:b,El:g,Fh:v,Fl:x,Gh:S,Gl:E,Hh:R,Hl:z}=this;for(let M=0;M<80;M++){const O=cs(b,g,14)^cs(b,g,18)^Cl(b,g,41),_=ls(b,g,14)^ls(b,g,18)^Ol(b,g,41),B=b&v^~b&S,C=g&x^~g&E,I=oC(z,_,C,xC[M],ci[M]),j=uC(I,R,O,B,wC[M],ui[M]),D=I|0,Q=cs(a,o,28)^Cl(a,o,34)^Cl(a,o,39),X=ls(a,o,28)^Ol(a,o,34)^Ol(a,o,39),ne=a&u^a&f^u&f,oe=o&l^o&d^l&d;R=S|0,z=E|0,S=v|0,E=x|0,v=b|0,x=g|0,{h:b,l:g}=hr(p|0,m|0,j|0,D|0),p=f|0,m=d|0,f=u|0,d=l|0,u=a|0,l=o|0;const ee=rC(D,X,oe);a=iC(ee,j,Q,ne),o=ee|0}({h:a,l:o}=hr(this.Ah|0,this.Al|0,a|0,o|0)),{h:u,l}=hr(this.Bh|0,this.Bl|0,u|0,l|0),{h:f,l:d}=hr(this.Ch|0,this.Cl|0,f|0,d|0),{h:p,l:m}=hr(this.Dh|0,this.Dl|0,p|0,m|0),{h:b,l:g}=hr(this.Eh|0,this.El|0,b|0,g|0),{h:v,l:x}=hr(this.Fh|0,this.Fl|0,v|0,x|0),{h:S,l:E}=hr(this.Gh|0,this.Gl|0,S|0,E|0),{h:R,l:z}=hr(this.Hh|0,this.Hl|0,R|0,z|0),this.set(a,o,u,l,f,d,p,m,b,g,v,x,S,E,R,z)}roundClean(){xi(ui,ci)}destroy(){xi(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class SC extends Xw{constructor(){super(48),this.Ah=_t[0]|0,this.Al=_t[1]|0,this.Bh=_t[2]|0,this.Bl=_t[3]|0,this.Ch=_t[4]|0,this.Cl=_t[5]|0,this.Dh=_t[6]|0,this.Dl=_t[7]|0,this.Eh=_t[8]|0,this.El=_t[9]|0,this.Fh=_t[10]|0,this.Fl=_t[11]|0,this.Gh=_t[12]|0,this.Gl=_t[13]|0,this.Hh=_t[14]|0,this.Hl=_t[15]|0}}const Py=Tf(()=>new vC),EC=Tf(()=>new Xw),AC=Tf(()=>new SC),Jw=Py;const zy=BigInt(0),Sp=BigInt(1);function Yu(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function By(e){if(!Yu(e))throw new Error("Uint8Array expected")}function uu(e,t){if(typeof t!="boolean")throw new Error(e+" boolean expected, got "+t)}function Pl(e){const t=e.toString(16);return t.length&1?"0"+t:t}function Ww(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);return e===""?zy:BigInt("0x"+e)}const ex=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",TC=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function cu(e){if(By(e),ex)return e.toHex();let t="";for(let n=0;n<e.length;n++)t+=TC[e[n]];return t}const pr={_0:48,_9:57,A:65,F:70,a:97,f:102};function F6(e){if(e>=pr._0&&e<=pr._9)return e-pr._0;if(e>=pr.A&&e<=pr.F)return e-(pr.A-10);if(e>=pr.a&&e<=pr.f)return e-(pr.a-10)}function of(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);if(ex)return Uint8Array.fromHex(e);const t=e.length,n=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const a=new Uint8Array(n);for(let o=0,u=0;o<n;o++,u+=2){const l=F6(e.charCodeAt(u)),f=F6(e.charCodeAt(u+1));if(l===void 0||f===void 0){const d=e[u]+e[u+1];throw new Error(\'hex string expected, got non-hex character "\'+d+\'" at index \'+u)}a[o]=l*16+f}return a}function aa(e){return Ww(cu(e))}function tx(e){return By(e),Ww(cu(Uint8Array.from(e).reverse()))}function Zu(e,t){return of(e.toString(16).padStart(t*2,"0"))}function nx(e,t){return Zu(e,t).reverse()}function Tn(e,t,n){let a;if(typeof t=="string")try{a=of(t)}catch(u){throw new Error(e+" must be hex string or Uint8Array, cause: "+u)}else if(Yu(t))a=Uint8Array.from(t);else throw new Error(e+" must be hex string or Uint8Array");const o=a.length;if(typeof n=="number"&&o!==n)throw new Error(e+" of length "+n+" expected, got "+o);return a}function uf(...e){let t=0;for(let a=0;a<e.length;a++){const o=e[a];By(o),t+=o.length}const n=new Uint8Array(t);for(let a=0,o=0;a<e.length;a++){const u=e[a];n.set(u,o),o+=u.length}return n}function MC(e,t){if(e.length!==t.length)return!1;let n=0;for(let a=0;a<e.length;a++)n|=e[a]^t[a];return n===0}const Ph=e=>typeof e=="bigint"&&zy<=e;function Iy(e,t,n){return Ph(e)&&Ph(t)&&Ph(n)&&t<=e&&e<n}function As(e,t,n,a){if(!Iy(t,n,a))throw new Error("expected valid "+e+": "+n+" <= n < "+a+", got "+t)}function RC(e){let t;for(t=0;e>zy;e>>=Sp,t+=1);return t}const Mf=e=>(Sp<<BigInt(e))-Sp,zh=e=>new Uint8Array(e),q6=e=>Uint8Array.from(e);function _C(e,t,n){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");let a=zh(e),o=zh(e),u=0;const l=()=>{a.fill(1),o.fill(0),u=0},f=(...b)=>n(o,a,...b),d=(b=zh(0))=>{o=f(q6([0]),b),a=f(),b.length!==0&&(o=f(q6([1]),b),a=f())},p=()=>{if(u++>=1e3)throw new Error("drbg: tried 1000 values");let b=0;const g=[];for(;b<t;){a=f();const v=a.slice();g.push(v),b+=a.length}return uf(...g)};return(b,g)=>{l(),d(b);let v;for(;!(v=g(p()));)d();return l(),v}}const CC={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||Yu(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function Rf(e,t,n={}){const a=(o,u,l)=>{const f=CC[u];if(typeof f!="function")throw new Error("invalid validator function");const d=e[o];if(!(l&&d===void 0)&&!f(d,e))throw new Error("param "+String(o)+" is invalid. Expected "+u+", got "+d)};for(const[o,u]of Object.entries(t))a(o,u,!1);for(const[o,u]of Object.entries(n))a(o,u,!0);return e}function G6(e){const t=new WeakMap;return(n,...a)=>{const o=t.get(n);if(o!==void 0)return o;const u=e(n,...a);return t.set(n,u),u}}function Ls(e,t){if(gs(e)>t)throw new tO({givenSize:gs(e),maxSize:t})}const yr={zero:48,nine:57,A:65,F:70,a:97,f:102};function V6(e){if(e>=yr.zero&&e<=yr.nine)return e-yr.zero;if(e>=yr.A&&e<=yr.F)return e-(yr.A-10);if(e>=yr.a&&e<=yr.f)return e-(yr.a-10)}function OC(e,t={}){const{dir:n,size:a=32}=t;if(a===0)return e;if(e.length>a)throw new nO({size:e.length,targetSize:a,type:"Bytes"});const o=new Uint8Array(a);for(let u=0;u<a;u++){const l=n==="right";o[l?u:a-u-1]=e[l?u:e.length-u-1]}return o}function rx(e,t={}){const{dir:n="left"}=t;let a=e,o=0;for(let u=0;u<a.length-1&&a[n==="left"?u:a.length-u-1].toString()==="0";u++)o++;return a=n==="left"?a.slice(o):a.slice(0,a.length-o),a}function _f(e,t){if(Qe(e)>t)throw new jC({givenSize:Qe(e),maxSize:t})}function PC(e,t){if(typeof t=="number"&&t>0&&t>Qe(e)-1)throw new cx({offset:t,position:"start",size:Qe(e)})}function zC(e,t,n){if(typeof t=="number"&&typeof n=="number"&&Qe(e)!==n-t)throw new cx({offset:n,position:"end",size:Qe(e)})}function ix(e,t={}){const{dir:n,size:a=32}=t;if(a===0)return e;const o=e.replace("0x","");if(o.length>a*2)throw new kC({size:Math.ceil(o.length/2),targetSize:a,type:"Hex"});return`0x${o[n==="right"?"padEnd":"padStart"](a*2,"0")}`}function BC(e,t={}){const{dir:n="left"}=t;let a=e.replace("0x",""),o=0;for(let u=0;u<a.length-1&&a[n==="left"?u:a.length-u-1].toString()==="0";u++)o++;return a=n==="left"?a.slice(o):a.slice(0,a.length-o),a==="0"?"0x":n==="right"&&a.length%2===1?`0x${a}0`:`0x${a}`}const Ep="#__bigint";function IC(e,t){return JSON.parse(e,(n,a)=>{const o=a;return typeof o=="string"&&o.endsWith(Ep)?BigInt(o.slice(0,-Ep.length)):typeof t=="function"?t(n,o):o})}function $s(e,t,n){return JSON.stringify(e,(a,o)=>typeof t=="function"?t(a,o):typeof o=="bigint"?o.toString()+Ep:o,n)}const NC=new TextEncoder,LC=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function ax(e,t={}){const{strict:n=!1}=t;if(!e)throw new K6(e);if(typeof e!="string")throw new K6(e);if(n&&!/^0x[0-9a-fA-F]*$/.test(e))throw new Q6(e);if(!e.startsWith("0x"))throw new Q6(e)}function tt(...e){return`0x${e.reduce((t,n)=>t+n.replace("0x",""),"")}`}function Cf(e){return e instanceof Uint8Array?dt(e):Array.isArray(e)?dt(new Uint8Array(e)):e}function sx(e,t={}){const n=`0x${Number(e)}`;return typeof t.size=="number"?(_f(n,t.size),ca(n,t.size)):n}function dt(e,t={}){let n="";for(let o=0;o<e.length;o++)n+=LC[e[o]];const a=`0x${n}`;return typeof t.size=="number"?(_f(a,t.size),la(a,t.size)):a}function ue(e,t={}){const{signed:n,size:a}=t,o=BigInt(e);let u;a?n?u=(1n<<BigInt(a)*8n-1n)-1n:u=2n**(BigInt(a)*8n)-1n:typeof e=="number"&&(u=BigInt(Number.MAX_SAFE_INTEGER));const l=typeof u=="bigint"&&n?-u-1n:0;if(u&&o>u||o<l){const p=typeof e=="bigint"?"n":"";throw new ux({max:u?`${u}${p}`:void 0,min:`${l}${p}`,signed:n,size:a,value:`${e}${p}`})}const d=`0x${(n&&o<0?BigInt.asUintN(a*8,BigInt(o)):o).toString(16)}`;return a?ca(d,a):d}function Us(e,t={}){return dt(NC.encode(e),t)}function ca(e,t){return ix(e,{dir:"left",size:t})}function la(e,t){return ix(e,{dir:"right",size:t})}function $C(e){return dt(QC(e))}function Ee(e,t,n,a={}){const{strict:o}=a;PC(e,t);const u=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return o&&zC(u,t,n),u}function Qe(e){return Math.ceil((e.length-2)/2)}function Ap(e){return BC(e,{dir:"left"})}function et(e,t={}){const{signed:n}=t;t.size&&_f(e,t.size);const a=BigInt(e);if(!n)return a;const o=(e.length-2)/2,u=(1n<<BigInt(o)*8n)-1n,l=u>>1n;return a<=l?a:a-u-1n}function Of(e,t={}){const{signed:n,size:a}=t;return Number(!n&&!a?e:et(e,t))}function ox(e,t={}){const{size:n}=t;let a=Ci(e);return n&&(Ls(a,n),a=fx(a)),new TextDecoder().decode(a)}function zn(e,t={}){const{strict:n=!1}=t;try{return ax(e,{strict:n}),!0}catch{return!1}}let ux=class extends ye{constructor({max:t,min:n,signed:a,size:o,value:u}){super(`Number \\`${u}\\` is not in safe${o?` ${o*8}-bit`:""}${a?" signed":" unsigned"} integer range ${t?`(\\`${n}\\` to \\`${t}\\`)`:`(above \\`${n}\\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}};class K6 extends ye{constructor(t){super(`Value \\`${typeof t=="object"?$s(t):t}\\` of type \\`${typeof t}\\` is an invalid hex type.`,{metaMessages:[\'Hex types must be represented as `"0x${string}"`.\']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class Q6 extends ye{constructor(t){super(`Value \\`${t}\\` is an invalid hex value.`,{metaMessages:[\'Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).\']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}class UC extends ye{constructor(t){super(`Hex value \\`"${t}"\\` is an odd length (${t.length-2} nibbles).`,{metaMessages:["It must be an even length."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidLengthError"})}}let jC=class extends ye{constructor({givenSize:t,maxSize:n}){super(`Size cannot exceed \\`${n}\\` bytes. Given size: \\`${t}\\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}},cx=class extends ye{constructor({offset:t,position:n,size:a}){super(`Slice ${n==="start"?"starting":"ending"} at offset \\`${t}\\` is out-of-bounds (size: \\`${a}\\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}},kC=class extends ye{constructor({size:t,targetSize:n,type:a}){super(`${a.charAt(0).toUpperCase()}${a.slice(1).toLowerCase()} size (\\`${t}\\`) exceeds padding size (\\`${n}\\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}};const DC=new TextDecoder,HC=new TextEncoder;function FC(e){if(!(e instanceof Uint8Array)){if(!e)throw new zl(e);if(typeof e!="object")throw new zl(e);if(!("BYTES_PER_ELEMENT"in e))throw new zl(e);if(e.BYTES_PER_ELEMENT!==1||e.constructor.name!=="Uint8Array")throw new zl(e)}}function qC(...e){let t=0;for(const a of e)t+=a.length;const n=new Uint8Array(t);for(let a=0,o=0;a<e.length;a++){const u=e[a];n.set(u,o),o+=u.length}return n}function Ny(e){return e instanceof Uint8Array?e:typeof e=="string"?Ci(e):GC(e)}function GC(e){return e instanceof Uint8Array?e:new Uint8Array(e)}function Ci(e,t={}){const{size:n}=t;let a=e;n&&(_f(e,n),a=la(e,n));let o=a.slice(2);o.length%2&&(o=`0${o}`);const u=o.length/2,l=new Uint8Array(u);for(let f=0,d=0;f<u;f++){const p=V6(o.charCodeAt(d++)),m=V6(o.charCodeAt(d++));if(p===void 0||m===void 0)throw new ye(`Invalid byte sequence ("${o[d-2]}${o[d-1]}" in "${o}").`);l[f]=p<<4|m}return l}function Ly(e,t={}){const{size:n}=t,a=HC.encode(e);return typeof n=="number"?(Ls(a,n),KC(a,n)):a}function VC(e,t){return MC(e,t)}function KC(e,t){return OC(e,{dir:"right",size:t})}function QC(e){return crypto.getRandomValues(new Uint8Array(e))}function gs(e){return e.length}function YC(e,t,n,a={}){const{strict:o}=a;return e.slice(t,n)}function ZC(e,t={}){const{size:n}=t;typeof n<"u"&&Ls(e,n);const a=dt(e,t);return et(a,t)}function XC(e,t={}){const{size:n}=t;let a=e;if(typeof n<"u"&&(Ls(a,n),a=lx(a)),a.length>1||a[0]>1)throw new eO(a);return!!a[0]}function Sr(e,t={}){const{size:n}=t;typeof n<"u"&&Ls(e,n);const a=dt(e,t);return Of(a,t)}function JC(e,t={}){const{size:n}=t;let a=e;return typeof n<"u"&&(Ls(a,n),a=fx(a)),DC.decode(a)}function lx(e){return rx(e,{dir:"left"})}function fx(e){return rx(e,{dir:"right"})}function WC(e){try{return FC(e),!0}catch{return!1}}let eO=class extends ye{constructor(t){super(`Bytes value \\`${t}\\` is not a valid boolean.`,{metaMessages:["The bytes array must contain a single byte of either a `0` or `1` value."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesBooleanError"})}};class zl extends ye{constructor(t){super(`Value \\`${typeof t=="object"?$s(t):t}\\` of type \\`${typeof t}\\` is an invalid Bytes value.`,{metaMessages:["Bytes values must be of type `Bytes`."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesTypeError"})}}let tO=class extends ye{constructor({givenSize:t,maxSize:n}){super(`Size cannot exceed \\`${n}\\` bytes. Given size: \\`${t}\\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeOverflowError"})}},nO=class extends ye{constructor({size:t,targetSize:n,type:a}){super(`${a.charAt(0).toUpperCase()}${a.slice(1).toLowerCase()} size (\\`${t}\\`) exceeds padding size (\\`${n}\\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeExceedsPaddingSizeError"})}};function Pr(e,t={}){const{as:n=typeof e=="string"?"Hex":"Bytes"}=t,a=Yw(Ny(e));return n==="Bytes"?a:dt(a)}function Y6(e,t={}){const{as:n=typeof e=="string"?"Hex":"Bytes"}=t,a=Jw(Ny(e));return n==="Bytes"?a:dt(a)}function rO(e){return zn(e)&&Qe(e)===32}let iO=class extends Map{constructor(t){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){const n=super.get(t);return super.has(t)&&n!==void 0&&(this.delete(t),super.set(t,n)),n}set(t,n){if(super.set(t,n),this.maxSize&&this.size>this.maxSize){const a=this.keys().next().value;a&&this.delete(a)}return this}};const aO={checksum:new iO(8192)},Bh=aO.checksum;function dx(e,t={}){const{compressed:n}=t,{prefix:a,x:o,y:u}=e;if(n===!1||typeof o=="bigint"&&typeof u=="bigint"){if(a!==4)throw new Z6({prefix:a,cause:new fO});return}if(n===!0||typeof o=="bigint"&&typeof u>"u"){if(a!==3&&a!==2)throw new Z6({prefix:a,cause:new lO});return}throw new cO({publicKey:e})}function sO(e){const t=(()=>{if(zn(e))return $y(e);if(WC(e))return oO(e);const{prefix:n,x:a,y:o}=e;return typeof a=="bigint"&&typeof o=="bigint"?{prefix:n??4,x:a,y:o}:{prefix:n,x:a}})();return dx(t),t}function oO(e){return $y(dt(e))}function $y(e){if(e.length!==132&&e.length!==130&&e.length!==68)throw new dO({publicKey:e});if(e.length===130){const a=BigInt(Ee(e,0,32)),o=BigInt(Ee(e,32,64));return{prefix:4,x:a,y:o}}if(e.length===132){const a=Number(Ee(e,0,1)),o=BigInt(Ee(e,1,33)),u=BigInt(Ee(e,33,65));return{prefix:a,x:o,y:u}}const t=Number(Ee(e,0,1)),n=BigInt(Ee(e,1,33));return{prefix:t,x:n}}function uO(e,t={}){return Ci(Uy(e,t))}function Uy(e,t={}){dx(e);const{prefix:n,x:a,y:o}=e,{includePrefix:u=!0}=t;return tt(u?ue(n,{size:1}):"0x",ue(a,{size:32}),typeof o=="bigint"?ue(o,{size:32}):"0x")}class cO extends ye{constructor({publicKey:t}){super(`Value \\`${$s(t)}\\` is not a valid public key.`,{metaMessages:["Public key must contain:","- an `x` and `prefix` value (compressed)","- an `x`, `y`, and `prefix` value (uncompressed)"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidError"})}}let Z6=class extends ye{constructor({prefix:t,cause:n}){super(`Prefix "${t}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidPrefixError"})}};class lO extends ye{constructor(){super("Prefix must be 2 or 3 for compressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidCompressedPrefixError"})}}class fO extends ye{constructor(){super("Prefix must be 4 for uncompressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidUncompressedPrefixError"})}}let dO=class extends ye{constructor({publicKey:t}){super(`Value \\`${t}\\` is an invalid public key size.`,{metaMessages:["Expected: 33 bytes (compressed + prefix), 64 bytes (uncompressed) or 65 bytes (uncompressed + prefix).",`Received ${Qe(Cf(t))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidSerializedSizeError"})}};const hO=/^0x[a-fA-F0-9]{40}$/;function In(e,t={}){const{strict:n=!0}=t;if(!hO.test(e))throw new X6({address:e,cause:new yO});if(n){if(e.toLowerCase()===e)return;if(Pf(e)!==e)throw new X6({address:e,cause:new mO})}}function Pf(e){if(Bh.has(e))return Bh.get(e);In(e,{strict:!1});const t=e.substring(2).toLowerCase(),n=Pr(Ly(t),{as:"Bytes"}),a=t.split("");for(let u=0;u<40;u+=2)n[u>>1]>>4>=8&&a[u]&&(a[u]=a[u].toUpperCase()),(n[u>>1]&15)>=8&&a[u+1]&&(a[u+1]=a[u+1].toUpperCase());const o=`0x${a.join("")}`;return Bh.set(e,o),o}function pO(e,t={}){const{checksum:n=!1}=t;return In(e),n?Pf(e):e}function Er(e,t={}){const n=Pr(`0x${Uy(e).slice(4)}`).substring(26);return pO(`0x${n}`,t)}function Tp(e,t){return In(e,{strict:!1}),In(t,{strict:!1}),e.toLowerCase()===t.toLowerCase()}function lu(e,t={}){const{strict:n=!0}=t??{};try{return In(e,{strict:n}),!0}catch{return!1}}let X6=class extends ye{constructor({address:t,cause:n}){super(`Address "${t}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}};class yO extends ye{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class mO extends ye{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}function Mp(e){let t=!0,n="",a=0,o="",u=!1;for(let l=0;l<e.length;l++){const f=e[l];if(["(",")",","].includes(f)&&(t=!0),f==="("&&a++,f===")"&&a--,!!t){if(a===0){if(f===" "&&["event","function","error",""].includes(o))o="";else if(o+=f,f===")"){u=!0;break}continue}if(f===" "){e[l-1]!==","&&n!==","&&n!==",("&&(n="",t=!1);continue}o+=f,n+=f}}if(!u)throw new ye("Unable to normalize signature.");return o}function Rp(e,t){const n=typeof e,a=t.type;switch(a){case"address":return lu(e,{strict:!1});case"bool":return n==="boolean";case"function":return n==="string";case"string":return n==="string";default:return a==="tuple"&&"components"in t?Object.values(t.components).every((o,u)=>Rp(Object.values(e)[u],o)):/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(a)?n==="number"||n==="bigint":/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(a)?n==="string"||e instanceof Uint8Array:/[a-z]+[1-9]{0,3}(\\[[0-9]{0,}\\])+$/.test(a)?Array.isArray(e)&&e.every(o=>Rp(o,{...t,type:a.replace(/(\\[[0-9]{0,}\\])$/,"")})):!1}}function hx(e,t,n){for(const a in e){const o=e[a],u=t[a];if(o.type==="tuple"&&u.type==="tuple"&&"components"in o&&"components"in u)return hx(o.components,u.components,n[a]);const l=[o.type,u.type];if(l.includes("address")&&l.includes("bytes20")?!0:l.includes("address")&&l.includes("string")?lu(n[a],{strict:!1}):l.includes("address")&&l.includes("bytes")?lu(n[a],{strict:!1}):!1)return l}}function jy(e,t,n){const{args:a=[],prepare:o=!0}={},u=zn(t,{strict:!1}),l=e.filter(p=>u?p.type==="function"||p.type==="error"?px(p)===Ee(t,0,4):p.type==="event"?Xo(p)===t:!1:"name"in p&&p.name===t);if(l.length===0)throw new J6({name:t});if(l.length===1)return{...l[0],...o?{hash:Xo(l[0])}:{}};let f;for(const p of l){if(!("inputs"in p))continue;if(!a||a.length===0){if(!p.inputs||p.inputs.length===0)return{...p,...o?{hash:Xo(p)}:{}};continue}if(!p.inputs||p.inputs.length===0||p.inputs.length!==a.length)continue;if(a.every((b,g)=>{const v="inputs"in p&&p.inputs[g];return v?Rp(b,v):!1})){if(f&&"inputs"in f&&f.inputs){const b=hx(p.inputs,f.inputs,a);if(b)throw new gO({abiItem:p,type:b[0]},{abiItem:f,type:b[1]})}f=p}}const d=(()=>{if(f)return f;const[p,...m]=l;return{...p,overloads:m}})();if(!d)throw new J6({name:t});return{...d,...o?{hash:Xo(d)}:{}}}function px(...e){const t=(()=>{if(Array.isArray(e[0])){const[n,a]=e;return jy(n,a)}return e[0]})();return Ee(Xo(t),0,4)}function bO(...e){const t=(()=>{if(Array.isArray(e[0])){const[a,o]=e;return jy(a,o)}return e[0]})(),n=typeof t=="string"?t:xp(t);return Mp(n)}function Xo(...e){const t=(()=>{if(Array.isArray(e[0])){const[n,a]=e;return jy(n,a)}return e[0]})();return typeof t!="string"&&"hash"in t&&t.hash?t.hash:Pr(Us(bO(t)))}class gO extends ye{constructor(t,n){super("Found ambiguous types in overloaded ABI Items.",{metaMessages:[`\\`${t.type}\\` in \\`${Mp(xp(t.abiItem))}\\`, and`,`\\`${n.type}\\` in \\`${Mp(xp(n.abiItem))}\\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.AmbiguityError"})}}class J6 extends ye{constructor({name:t,data:n,type:a="item"}){const o=t?` with name "${t}"`:n?` with data "${n}"`:"";super(`ABI ${a}${o} not found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.NotFoundError"})}}const vO=/^(.*)\\[([0-9]*)\\]$/,wO=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,yx=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,W6=2n**256n-1n;function Ts(e,t,n){const{checksumAddress:a,staticPosition:o}=n,u=Hy(t.type);if(u){const[l,f]=u;return SO(e,{...t,type:f},{checksumAddress:a,length:l,staticPosition:o})}if(t.type==="tuple")return MO(e,t,{checksumAddress:a,staticPosition:o});if(t.type==="address")return xO(e,{checksum:a});if(t.type==="bool")return EO(e);if(t.type.startsWith("bytes"))return AO(e,t,{staticPosition:o});if(t.type.startsWith("uint")||t.type.startsWith("int"))return TO(e,t);if(t.type==="string")return RO(e,{staticPosition:o});throw new qy(t.type)}const e2=32,_p=32;function xO(e,t={}){const{checksum:n=!1}=t,a=e.readBytes(32);return[(u=>n?Pf(u):u)(dt(YC(a,-20))),32]}function SO(e,t,n){const{checksumAddress:a,length:o,staticPosition:u}=n;if(!o){const d=Sr(e.readBytes(_p)),p=u+d,m=p+e2;e.setPosition(p);const b=Sr(e.readBytes(e2)),g=fu(t);let v=0;const x=[];for(let S=0;S<b;++S){e.setPosition(m+(g?S*32:v));const[E,R]=Ts(e,t,{checksumAddress:a,staticPosition:m});v+=R,x.push(E)}return e.setPosition(u+32),[x,32]}if(fu(t)){const d=Sr(e.readBytes(_p)),p=u+d,m=[];for(let b=0;b<o;++b){e.setPosition(p+b*32);const[g]=Ts(e,t,{checksumAddress:a,staticPosition:p});m.push(g)}return e.setPosition(u+32),[m,32]}let l=0;const f=[];for(let d=0;d<o;++d){const[p,m]=Ts(e,t,{checksumAddress:a,staticPosition:u+l});l+=m,f.push(p)}return[f,l]}function EO(e){return[XC(e.readBytes(32),{size:32}),32]}function AO(e,t,{staticPosition:n}){const[a,o]=t.type.split("bytes");if(!o){const l=Sr(e.readBytes(32));e.setPosition(n+l);const f=Sr(e.readBytes(32));if(f===0)return e.setPosition(n+32),["0x",32];const d=e.readBytes(f);return e.setPosition(n+32),[dt(d),32]}return[dt(e.readBytes(Number.parseInt(o,10),32)),32]}function TO(e,t){const n=t.type.startsWith("int"),a=Number.parseInt(t.type.split("int")[1]||"256",10),o=e.readBytes(32);return[a>48?ZC(o,{signed:n}):Sr(o,{signed:n}),32]}function MO(e,t,n){const{checksumAddress:a,staticPosition:o}=n,u=t.components.length===0||t.components.some(({name:d})=>!d),l=u?[]:{};let f=0;if(fu(t)){const d=Sr(e.readBytes(_p)),p=o+d;for(let m=0;m<t.components.length;++m){const b=t.components[m];e.setPosition(p+f);const[g,v]=Ts(e,b,{checksumAddress:a,staticPosition:p});f+=v,l[u?m:b?.name]=g}return e.setPosition(o+32),[l,32]}for(let d=0;d<t.components.length;++d){const p=t.components[d],[m,b]=Ts(e,p,{checksumAddress:a,staticPosition:o});l[u?d:p?.name]=m,f+=b}return[l,f]}function RO(e,{staticPosition:t}){const n=Sr(e.readBytes(32)),a=t+n;e.setPosition(a);const o=Sr(e.readBytes(32));if(o===0)return e.setPosition(t+32),["",32];const u=e.readBytes(o,32),l=JC(lx(u));return e.setPosition(t+32),[l,32]}function _O({checksumAddress:e,parameters:t,values:n}){const a=[];for(let o=0;o<t.length;o++)a.push(ky({checksumAddress:e,parameter:t[o],value:n[o]}));return a}function ky({checksumAddress:e=!1,parameter:t,value:n}){const a=t,o=Hy(a.type);if(o){const[u,l]=o;return OO(n,{checksumAddress:e,length:u,parameter:{...a,type:l}})}if(a.type==="tuple")return NO(n,{checksumAddress:e,parameter:a});if(a.type==="address")return CO(n,{checksum:e});if(a.type==="bool")return zO(n);if(a.type.startsWith("uint")||a.type.startsWith("int")){const u=a.type.startsWith("int"),[,,l="256"]=yx.exec(a.type)??[];return BO(n,{signed:u,size:Number(l)})}if(a.type.startsWith("bytes"))return PO(n,{type:a.type});if(a.type==="string")return IO(n);throw new qy(a.type)}function Dy(e){let t=0;for(let u=0;u<e.length;u++){const{dynamic:l,encoded:f}=e[u];l?t+=32:t+=Qe(f)}const n=[],a=[];let o=0;for(let u=0;u<e.length;u++){const{dynamic:l,encoded:f}=e[u];l?(n.push(ue(t+o,{size:32})),a.push(f),o+=Qe(f)):n.push(f)}return tt(...n,...a)}function CO(e,t){const{checksum:n=!1}=t;return In(e,{strict:n}),{dynamic:!1,encoded:ca(e.toLowerCase())}}function OO(e,t){const{checksumAddress:n,length:a,parameter:o}=t,u=a===null;if(!Array.isArray(e))throw new qO(e);if(!u&&e.length!==a)throw new FO({expectedLength:a,givenLength:e.length,type:`${o.type}[${a}]`});let l=!1;const f=[];for(let d=0;d<e.length;d++){const p=ky({checksumAddress:n,parameter:o,value:e[d]});p.dynamic&&(l=!0),f.push(p)}if(u||l){const d=Dy(f);if(u){const p=ue(f.length,{size:32});return{dynamic:!0,encoded:f.length>0?tt(p,d):p}}if(l)return{dynamic:!0,encoded:d}}return{dynamic:!1,encoded:tt(...f.map(({encoded:d})=>d))}}function PO(e,{type:t}){const[,n]=t.split("bytes"),a=Qe(e);if(!n){let o=e;return a%32!==0&&(o=la(o,Math.ceil((e.length-2)/2/32)*32)),{dynamic:!0,encoded:tt(ca(ue(a,{size:32})),o)}}if(a!==Number.parseInt(n,10))throw new bx({expectedSize:Number.parseInt(n,10),value:e});return{dynamic:!1,encoded:la(e)}}function zO(e){if(typeof e!="boolean")throw new ye(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \\`true\\` or \\`false\\`.`);return{dynamic:!1,encoded:ca(sx(e))}}function BO(e,{signed:t,size:n}){if(typeof n=="number"){const a=2n**(BigInt(n)-(t?1n:0n))-1n,o=t?-a-1n:0n;if(e>a||e<o)throw new ux({max:a.toString(),min:o.toString(),signed:t,size:n/8,value:e.toString()})}return{dynamic:!1,encoded:ue(e,{size:32,signed:t})}}function IO(e){const t=Us(e),n=Math.ceil(Qe(t)/32),a=[];for(let o=0;o<n;o++)a.push(la(Ee(t,o*32,(o+1)*32)));return{dynamic:!0,encoded:tt(la(ue(Qe(t),{size:32})),...a)}}function NO(e,t){const{checksumAddress:n,parameter:a}=t;let o=!1;const u=[];for(let l=0;l<a.components.length;l++){const f=a.components[l],d=Array.isArray(e)?l:f.name,p=ky({checksumAddress:n,parameter:f,value:e[d]});u.push(p),p.dynamic&&(o=!0)}return{dynamic:o,encoded:o?Dy(u):tt(...u.map(({encoded:l})=>l))}}function Hy(e){const t=e.match(/^(.*)\\[(\\d+)?\\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}function fu(e){const{type:t}=e;if(t==="string"||t==="bytes"||t.endsWith("[]"))return!0;if(t==="tuple")return e.components?.some(fu);const n=Hy(e.type);return!!(n&&fu({...e,type:n[1]}))}const LO={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new UO({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new $O({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new t2({offset:e});const t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new t2({offset:e});const t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){const n=t??this.position;return this.assertPosition(n+e-1),this.bytes.subarray(n,n+e)},inspectUint8(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){const t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){const t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){const t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,e&255),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();const e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();const n=this.inspectBytes(e);return this.position+=t??e,n},readUint8(){this.assertReadLimit(),this._touch();const e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();const e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();const e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();const e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){const t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;const e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function Fy(e,{recursiveReadLimit:t=8192}={}){const n=Object.create(LO);return n.bytes=e,n.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=t,n}let t2=class extends ye{constructor({offset:t}){super(`Offset \\`${t}\\` cannot be negative.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.NegativeOffsetError"})}},$O=class extends ye{constructor({length:t,position:n}){super(`Position \\`${n}\\` is out of bounds (\\`0 < position < ${t}\\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.PositionOutOfBoundsError"})}},UO=class extends ye{constructor({count:t,limit:n}){super(`Recursive read limit of \\`${n}\\` exceeded (recursive read count: \\`${t}\\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.RecursiveReadLimitExceededError"})}};function jO(e,t,n={}){const{as:a="Array",checksumAddress:o=!1}=n,u=typeof t=="string"?Ci(t):t,l=Fy(u);if(gs(u)===0&&e.length>0)throw new HO;if(gs(u)&&gs(u)<32)throw new DO({data:typeof t=="string"?t:dt(t),parameters:e,size:gs(u)});let f=0;const d=a==="Array"?[]:{};for(let p=0;p<e.length;++p){const m=e[p];l.setPosition(f);const[b,g]=Ts(l,m,{checksumAddress:o,staticPosition:0});f+=g,a==="Array"?d.push(b):d[m.name??p]=b}return d}function kO(e,t,n){const{checksumAddress:a=!1}={};if(e.length!==t.length)throw new gx({expectedLength:e.length,givenLength:t.length});const o=_O({checksumAddress:a,parameters:e,values:t}),u=Dy(o);return u.length===0?"0x":u}function Cp(e,t){if(e.length!==t.length)throw new gx({expectedLength:e.length,givenLength:t.length});const n=[];for(let a=0;a<e.length;a++){const o=e[a],u=t[a];n.push(Cp.encode(o,u))}return tt(...n)}(function(e){function t(n,a,o=!1){if(n==="address"){const d=a;return In(d),ca(d.toLowerCase(),o?32:0)}if(n==="string")return Us(a);if(n==="bytes")return a;if(n==="bool")return ca(sx(a),o?32:1);const u=n.match(yx);if(u){const[d,p,m="256"]=u,b=Number.parseInt(m,10)/8;return ue(a,{size:o?32:b,signed:p==="int"})}const l=n.match(wO);if(l){const[d,p]=l;if(Number.parseInt(p,10)!==(a.length-2)/2)throw new bx({expectedSize:Number.parseInt(p,10),value:a});return la(a,o?32:0)}const f=n.match(vO);if(f&&Array.isArray(a)){const[d,p]=f,m=[];for(let b=0;b<a.length;b++)m.push(t(p,a[b],!0));return m.length===0?"0x":tt(...m)}throw new qy(n)}e.encode=t})(Cp||(Cp={}));function mx(e){return Array.isArray(e)&&typeof e[0]=="string"||typeof e=="string"?L6(e):e}class DO extends ye{constructor({data:t,parameters:n,size:a}){super(`Data size of ${a} bytes is too small for given parameters.`,{metaMessages:[`Params: (${ms(n)})`,`Data: ${t} (${a} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.DataSizeTooSmallError"})}}class HO extends ye{constructor(){super(\'Cannot decode zero data ("0x") with ABI parameters.\'),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ZeroDataError"})}}class FO extends ye{constructor({expectedLength:t,givenLength:n,type:a}){super(`Array length mismatch for type \\`${a}\\`. Expected: \\`${t}\\`. Given: \\`${n}\\`.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ArrayLengthMismatchError"})}}class bx extends ye{constructor({expectedSize:t,value:n}){super(`Size of bytes "${n}" (bytes${Qe(n)}) does not match expected size (bytes${t}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.BytesSizeMismatchError"})}}class gx extends ye{constructor({expectedLength:t,givenLength:n}){super(["ABI encoding parameters/values length mismatch.",`Expected length (parameters): ${t}`,`Given length (values): ${n}`].join(`\n`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.LengthMismatchError"})}}let qO=class extends ye{constructor(t){super(`Value \\`${t}\\` is not a valid array.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidArrayError"})}};class qy extends ye{constructor(t){super(`Type \\`${t}\\` is not a valid ABI Type.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidTypeError"})}}function GO(e){const t=[];for(let n=0;n<e.length;n++){const[a,o]=e[n];a&&In(a,{strict:!1}),t.push({address:a,storageKeys:o.map(u=>rO(u)?u:Ap(u))})}return t}function VO(e){if(!e||e.length===0)return[];const t=[];for(const{address:n,storageKeys:a}of e){for(let o=0;o<a.length;o++)if(Qe(a[o])!==32)throw new KO({storageKey:a[o]});n&&In(n,{strict:!1}),t.push([n,a])}return t}let KO=class extends ye{constructor({storageKey:t}){super(`Size for storage key "${t}" is invalid. Expected 32 bytes. Got ${Qe(t)} bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AccessList.InvalidStorageKeySizeError"})}};function QO(e){return YO(e,"Hex")}function YO(e,t){const n=t,a=(()=>{if(typeof e=="string"){if(e.length>3&&e.length%2!==0)throw new UC(e);return Ci(e)}return e})(),o=Fy(a,{recursiveReadLimit:Number.POSITIVE_INFINITY});return vx(o,n)}function vx(e,t="Hex"){if(e.bytes.length===0)return t==="Hex"?dt(e.bytes):e.bytes;const n=e.readByte();if(n<128&&e.decrementPosition(1),n<192){const o=n2(e,n,128),u=e.readBytes(o);return t==="Hex"?dt(u):u}const a=n2(e,n,192);return ZO(e,a,t)}function n2(e,t,n){if(n===128&&t<128)return 1;if(t<=n+55)return t-n;if(t===n+55+1)return e.readUint8();if(t===n+55+2)return e.readUint16();if(t===n+55+3)return e.readUint24();if(t===n+55+4)return e.readUint32();throw new ye("Invalid RLP prefix")}function ZO(e,t,n){const a=e.position,o=[];for(;e.position-a<t;)o.push(vx(e,n));return o}function XO(e,t){const{as:n}=t,a=xx(e),o=Fy(new Uint8Array(a.length));return a.encode(o),n==="Hex"?dt(o.bytes):o.bytes}function wx(e,t={}){const{as:n="Hex"}=t;return XO(e,{as:n})}function xx(e){return Array.isArray(e)?JO(e.map(t=>xx(t))):WO(e)}function JO(e){const t=e.reduce((o,u)=>o+u.length,0),n=Sx(t);return{length:t<=55?1+t:1+n+t,encode(o){t<=55?o.pushByte(192+t):(o.pushByte(247+n),n===1?o.pushUint8(t):n===2?o.pushUint16(t):n===3?o.pushUint24(t):o.pushUint32(t));for(const{encode:u}of e)u(o)}}}function WO(e){const t=typeof e=="string"?Ci(e):e,n=Sx(t.length);return{length:t.length===1&&t[0]<128?1:t.length<=55?1+t.length:1+n+t.length,encode(o){t.length===1&&t[0]<128?o.pushBytes(t):t.length<=55?(o.pushByte(128+t.length),o.pushBytes(t)):(o.pushByte(183+n),n===1?o.pushUint8(t.length):n===2?o.pushUint16(t.length):n===3?o.pushUint24(t.length):o.pushUint32(t.length),o.pushBytes(t))}}}function Sx(e){if(e<=255)return 1;if(e<=65535)return 2;if(e<=16777215)return 3;if(e<=4294967295)return 4;throw new ye("Length is too large.")}const Yt=BigInt(0),Nt=BigInt(1),ea=BigInt(2),e7=BigInt(3),Ex=BigInt(4),Ax=BigInt(5),Tx=BigInt(8);function Kt(e,t){const n=e%t;return n>=Yt?n:t+n}function An(e,t,n){let a=e;for(;t-- >Yt;)a*=a,a%=n;return a}function Op(e,t){if(e===Yt)throw new Error("invert: expected non-zero number");if(t<=Yt)throw new Error("invert: expected positive modulus, got "+t);let n=Kt(e,t),a=t,o=Yt,u=Nt;for(;n!==Yt;){const f=a/n,d=a%n,p=o-u*f;a=n,n=d,o=u,u=p}if(a!==Nt)throw new Error("invert: does not exist");return Kt(o,t)}function Mx(e,t){const n=(e.ORDER+Nt)/Ex,a=e.pow(t,n);if(!e.eql(e.sqr(a),t))throw new Error("Cannot find square root");return a}function t7(e,t){const n=(e.ORDER-Ax)/Tx,a=e.mul(t,ea),o=e.pow(a,n),u=e.mul(t,o),l=e.mul(e.mul(u,ea),o),f=e.mul(u,e.sub(l,e.ONE));if(!e.eql(e.sqr(f),t))throw new Error("Cannot find square root");return f}function n7(e){if(e<BigInt(3))throw new Error("sqrt is not defined for small field");let t=e-Nt,n=0;for(;t%ea===Yt;)t/=ea,n++;let a=ea;const o=js(e);for(;r2(o,a)===1;)if(a++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return Mx;let u=o.pow(a,t);const l=(t+Nt)/ea;return function(d,p){if(d.is0(p))return p;if(r2(d,p)!==1)throw new Error("Cannot find square root");let m=n,b=d.mul(d.ONE,u),g=d.pow(p,t),v=d.pow(p,l);for(;!d.eql(g,d.ONE);){if(d.is0(g))return d.ZERO;let x=1,S=d.sqr(g);for(;!d.eql(S,d.ONE);)if(x++,S=d.sqr(S),x===m)throw new Error("Cannot find square root");const E=Nt<<BigInt(m-x-1),R=d.pow(b,E);m=x,b=d.sqr(R),g=d.mul(g,b),v=d.mul(v,R)}return v}}function r7(e){return e%Ex===e7?Mx:e%Tx===Ax?t7:n7(e)}const i7=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function a7(e){const t={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},n=i7.reduce((a,o)=>(a[o]="function",a),t);return Rf(e,n)}function s7(e,t,n){if(n<Yt)throw new Error("invalid exponent, negatives unsupported");if(n===Yt)return e.ONE;if(n===Nt)return t;let a=e.ONE,o=t;for(;n>Yt;)n&Nt&&(a=e.mul(a,o)),o=e.sqr(o),n>>=Nt;return a}function Rx(e,t,n=!1){const a=new Array(t.length).fill(n?e.ZERO:void 0),o=t.reduce((l,f,d)=>e.is0(f)?l:(a[d]=l,e.mul(l,f)),e.ONE),u=e.inv(o);return t.reduceRight((l,f,d)=>e.is0(f)?l:(a[d]=e.mul(l,a[d]),e.mul(l,f)),u),a}function r2(e,t){const n=(e.ORDER-Nt)/ea,a=e.pow(t,n),o=e.eql(a,e.ONE),u=e.eql(a,e.ZERO),l=e.eql(a,e.neg(e.ONE));if(!o&&!u&&!l)throw new Error("invalid Legendre symbol result");return o?1:u?0:-1}function _x(e,t){t!==void 0&&ou(t);const n=t!==void 0?t:e.toString(2).length,a=Math.ceil(n/8);return{nBitLength:n,nByteLength:a}}function js(e,t,n=!1,a={}){if(e<=Yt)throw new Error("invalid field: expected ORDER > 0, got "+e);const{nBitLength:o,nByteLength:u}=_x(e,t);if(u>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let l;const f=Object.freeze({ORDER:e,isLE:n,BITS:o,BYTES:u,MASK:Mf(o),ZERO:Yt,ONE:Nt,create:d=>Kt(d,e),isValid:d=>{if(typeof d!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof d);return Yt<=d&&d<e},is0:d=>d===Yt,isOdd:d=>(d&Nt)===Nt,neg:d=>Kt(-d,e),eql:(d,p)=>d===p,sqr:d=>Kt(d*d,e),add:(d,p)=>Kt(d+p,e),sub:(d,p)=>Kt(d-p,e),mul:(d,p)=>Kt(d*p,e),pow:(d,p)=>s7(f,d,p),div:(d,p)=>Kt(d*Op(p,e),e),sqrN:d=>d*d,addN:(d,p)=>d+p,subN:(d,p)=>d-p,mulN:(d,p)=>d*p,inv:d=>Op(d,e),sqrt:a.sqrt||(d=>(l||(l=r7(e)),l(f,d))),toBytes:d=>n?nx(d,u):Zu(d,u),fromBytes:d=>{if(d.length!==u)throw new Error("Field.fromBytes: expected "+u+" bytes, got "+d.length);return n?tx(d):aa(d)},invertBatch:d=>Rx(f,d),cmov:(d,p,m)=>m?p:d});return Object.freeze(f)}function Cx(e){if(typeof e!="bigint")throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function Ox(e){const t=Cx(e);return t+Math.ceil(t/2)}function o7(e,t,n=!1){const a=e.length,o=Cx(t),u=Ox(t);if(a<16||a<u||a>1024)throw new Error("expected "+u+"-1024 bytes of input, got "+a);const l=n?tx(e):aa(e),f=Kt(l,t-Nt)+Nt;return n?nx(f,o):Zu(f,o)}const i2=BigInt(0),Pp=BigInt(1);function Ih(e,t){const n=t.negate();return e?n:t}function Px(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function Nh(e,t){Px(e,t);const n=Math.ceil(t/e)+1,a=2**(e-1),o=2**e,u=Mf(e),l=BigInt(e);return{windows:n,windowSize:a,mask:u,maxNumber:o,shiftBy:l}}function a2(e,t,n){const{windowSize:a,mask:o,maxNumber:u,shiftBy:l}=n;let f=Number(e&o),d=e>>l;f>a&&(f-=u,d+=Pp);const p=t*a,m=p+Math.abs(f)-1,b=f===0,g=f<0,v=t%2!==0;return{nextN:d,offset:m,isZero:b,isNeg:g,isNegF:v,offsetF:p}}function u7(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach((n,a)=>{if(!(n instanceof t))throw new Error("invalid point at index "+a)})}function c7(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach((n,a)=>{if(!t.isValid(n))throw new Error("invalid scalar at index "+a)})}const Lh=new WeakMap,zx=new WeakMap;function $h(e){return zx.get(e)||1}function l7(e,t){return{constTimeNegate:Ih,hasPrecomputes(n){return $h(n)!==1},unsafeLadder(n,a,o=e.ZERO){let u=n;for(;a>i2;)a&Pp&&(o=o.add(u)),u=u.double(),a>>=Pp;return o},precomputeWindow(n,a){const{windows:o,windowSize:u}=Nh(a,t),l=[];let f=n,d=f;for(let p=0;p<o;p++){d=f,l.push(d);for(let m=1;m<u;m++)d=d.add(f),l.push(d);f=d.double()}return l},wNAF(n,a,o){let u=e.ZERO,l=e.BASE;const f=Nh(n,t);for(let d=0;d<f.windows;d++){const{nextN:p,offset:m,isZero:b,isNeg:g,isNegF:v,offsetF:x}=a2(o,d,f);o=p,b?l=l.add(Ih(v,a[x])):u=u.add(Ih(g,a[m]))}return{p:u,f:l}},wNAFUnsafe(n,a,o,u=e.ZERO){const l=Nh(n,t);for(let f=0;f<l.windows&&o!==i2;f++){const{nextN:d,offset:p,isZero:m,isNeg:b}=a2(o,f,l);if(o=d,!m){const g=a[p];u=u.add(b?g.negate():g)}}return u},getPrecomputes(n,a,o){let u=Lh.get(a);return u||(u=this.precomputeWindow(a,n),n!==1&&Lh.set(a,o(u))),u},wNAFCached(n,a,o){const u=$h(n);return this.wNAF(u,this.getPrecomputes(u,n,o),a)},wNAFCachedUnsafe(n,a,o,u){const l=$h(n);return l===1?this.unsafeLadder(n,a,u):this.wNAFUnsafe(l,this.getPrecomputes(l,n,o),a,u)},setWindowSize(n,a){Px(a,t),zx.set(n,a),Lh.delete(n)}}}function f7(e,t,n,a){u7(n,e),c7(a,t);const o=n.length,u=a.length;if(o!==u)throw new Error("arrays of points and scalars must have equal length");const l=e.ZERO,f=RC(BigInt(o));let d=1;f>12?d=f-3:f>4?d=f-2:f>0&&(d=2);const p=Mf(d),m=new Array(Number(p)+1).fill(l),b=Math.floor((t.BITS-1)/d)*d;let g=l;for(let v=b;v>=0;v-=d){m.fill(l);for(let S=0;S<u;S++){const E=a[S],R=Number(E>>BigInt(v)&p);m[R]=m[R].add(n[S])}let x=l;for(let S=m.length-1,E=l;S>0;S--)E=E.add(m[S]),x=x.add(E);if(g=g.add(x),v!==0)for(let S=0;S<d;S++)g=g.double()}return g}function Bx(e){return a7(e.Fp),Rf(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({..._x(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}function s2(e){e.lowS!==void 0&&uu("lowS",e.lowS),e.prehash!==void 0&&uu("prehash",e.prehash)}function d7(e){const t=Bx(e);Rf(t,{a:"field",b:"field"},{allowInfinityPoint:"boolean",allowedPrivateKeyLengths:"array",clearCofactor:"function",fromBytes:"function",isTorsionFree:"function",toBytes:"function",wrapPrivateKey:"boolean"});const{endo:n,Fp:a,a:o}=t;if(n){if(!a.eql(o,a.ZERO))throw new Error("invalid endo: CURVE.a must be 0");if(typeof n!="object"||typeof n.beta!="bigint"||typeof n.splitScalar!="function")throw new Error(\'invalid endo: expected "beta": bigint and "splitScalar": function\')}return Object.freeze({...t})}class h7 extends Error{constructor(t=""){super(t)}}const gr={Err:h7,_tlv:{encode:(e,t)=>{const{Err:n}=gr;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length&1)throw new n("tlv.encode: unpadded data");const a=t.length/2,o=Pl(a);if(o.length/2&128)throw new n("tlv.encode: long form length too big");const u=a>127?Pl(o.length/2|128):"";return Pl(e)+u+o+t},decode(e,t){const{Err:n}=gr;let a=0;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length<2||t[a++]!==e)throw new n("tlv.decode: wrong tlv");const o=t[a++],u=!!(o&128);let l=0;if(!u)l=o;else{const d=o&127;if(!d)throw new n("tlv.decode(long): indefinite length not supported");if(d>4)throw new n("tlv.decode(long): byte length is too big");const p=t.subarray(a,a+d);if(p.length!==d)throw new n("tlv.decode: length bytes not complete");if(p[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const m of p)l=l<<8|m;if(a+=d,l<128)throw new n("tlv.decode(long): not minimal encoding")}const f=t.subarray(a,a+l);if(f.length!==l)throw new n("tlv.decode: wrong value length");return{v:f,l:t.subarray(a+l)}}},_int:{encode(e){const{Err:t}=gr;if(e<vr)throw new t("integer: negative integers are not allowed");let n=Pl(e);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new t("unexpected DER parsing assertion: unpadded hex");return n},decode(e){const{Err:t}=gr;if(e[0]&128)throw new t("invalid signature integer: negative");if(e[0]===0&&!(e[1]&128))throw new t("invalid signature integer: unnecessary leading zero");return aa(e)}},toSig(e){const{Err:t,_int:n,_tlv:a}=gr,o=Tn("signature",e),{v:u,l}=a.decode(48,o);if(l.length)throw new t("invalid signature: left bytes after parsing");const{v:f,l:d}=a.decode(2,u),{v:p,l:m}=a.decode(2,d);if(m.length)throw new t("invalid signature: left bytes after parsing");return{r:n.decode(f),s:n.decode(p)}},hexFromSig(e){const{_tlv:t,_int:n}=gr,a=t.encode(2,n.encode(e.r)),o=t.encode(2,n.encode(e.s)),u=a+o;return t.encode(48,u)}};function Uh(e,t){return cu(Zu(e,t))}const vr=BigInt(0),yt=BigInt(1);BigInt(2);const jh=BigInt(3),p7=BigInt(4);function y7(e){const t=d7(e),{Fp:n}=t,a=js(t.n,t.nBitLength),o=t.toBytes||((M,O,_)=>{const B=O.toAffine();return uf(Uint8Array.from([4]),n.toBytes(B.x),n.toBytes(B.y))}),u=t.fromBytes||(M=>{const O=M.subarray(1),_=n.fromBytes(O.subarray(0,n.BYTES)),B=n.fromBytes(O.subarray(n.BYTES,2*n.BYTES));return{x:_,y:B}});function l(M){const{a:O,b:_}=t,B=n.sqr(M),C=n.mul(B,M);return n.add(n.add(C,n.mul(M,O)),_)}function f(M,O){const _=n.sqr(O),B=l(M);return n.eql(_,B)}if(!f(t.Gx,t.Gy))throw new Error("bad curve params: generator point");const d=n.mul(n.pow(t.a,jh),p7),p=n.mul(n.sqr(t.b),BigInt(27));if(n.is0(n.add(d,p)))throw new Error("bad curve params: a or b");function m(M){return Iy(M,yt,t.n)}function b(M){const{allowedPrivateKeyLengths:O,nByteLength:_,wrapPrivateKey:B,n:C}=t;if(O&&typeof M!="bigint"){if(Yu(M)&&(M=cu(M)),typeof M!="string"||!O.includes(M.length))throw new Error("invalid private key");M=M.padStart(_*2,"0")}let I;try{I=typeof M=="bigint"?M:aa(Tn("private key",M,_))}catch{throw new Error("invalid private key, expected hex or "+_+" bytes, got "+typeof M)}return B&&(I=Kt(I,C)),As("private key",I,yt,C),I}function g(M){if(!(M instanceof S))throw new Error("ProjectivePoint expected")}const v=G6((M,O)=>{const{px:_,py:B,pz:C}=M;if(n.eql(C,n.ONE))return{x:_,y:B};const I=M.is0();O==null&&(O=I?n.ONE:n.inv(C));const j=n.mul(_,O),D=n.mul(B,O),Q=n.mul(C,O);if(I)return{x:n.ZERO,y:n.ZERO};if(!n.eql(Q,n.ONE))throw new Error("invZ was invalid");return{x:j,y:D}}),x=G6(M=>{if(M.is0()){if(t.allowInfinityPoint&&!n.is0(M.py))return;throw new Error("bad point: ZERO")}const{x:O,y:_}=M.toAffine();if(!n.isValid(O)||!n.isValid(_))throw new Error("bad point: x or y not FE");if(!f(O,_))throw new Error("bad point: equation left != right");if(!M.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class S{constructor(O,_,B){if(O==null||!n.isValid(O))throw new Error("x required");if(_==null||!n.isValid(_)||n.is0(_))throw new Error("y required");if(B==null||!n.isValid(B))throw new Error("z required");this.px=O,this.py=_,this.pz=B,Object.freeze(this)}static fromAffine(O){const{x:_,y:B}=O||{};if(!O||!n.isValid(_)||!n.isValid(B))throw new Error("invalid affine point");if(O instanceof S)throw new Error("projective point not allowed");const C=I=>n.eql(I,n.ZERO);return C(_)&&C(B)?S.ZERO:new S(_,B,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(O){const _=Rx(n,O.map(B=>B.pz));return O.map((B,C)=>B.toAffine(_[C])).map(S.fromAffine)}static fromHex(O){const _=S.fromAffine(u(Tn("pointHex",O)));return _.assertValidity(),_}static fromPrivateKey(O){return S.BASE.multiply(b(O))}static msm(O,_){return f7(S,a,O,_)}_setWindowSize(O){z.setWindowSize(this,O)}assertValidity(){x(this)}hasEvenY(){const{y:O}=this.toAffine();if(n.isOdd)return!n.isOdd(O);throw new Error("Field doesn\'t support isOdd")}equals(O){g(O);const{px:_,py:B,pz:C}=this,{px:I,py:j,pz:D}=O,Q=n.eql(n.mul(_,D),n.mul(I,C)),X=n.eql(n.mul(B,D),n.mul(j,C));return Q&&X}negate(){return new S(this.px,n.neg(this.py),this.pz)}double(){const{a:O,b:_}=t,B=n.mul(_,jh),{px:C,py:I,pz:j}=this;let D=n.ZERO,Q=n.ZERO,X=n.ZERO,ne=n.mul(C,C),oe=n.mul(I,I),ee=n.mul(j,j),$=n.mul(C,I);return $=n.add($,$),X=n.mul(C,j),X=n.add(X,X),D=n.mul(O,X),Q=n.mul(B,ee),Q=n.add(D,Q),D=n.sub(oe,Q),Q=n.add(oe,Q),Q=n.mul(D,Q),D=n.mul($,D),X=n.mul(B,X),ee=n.mul(O,ee),$=n.sub(ne,ee),$=n.mul(O,$),$=n.add($,X),X=n.add(ne,ne),ne=n.add(X,ne),ne=n.add(ne,ee),ne=n.mul(ne,$),Q=n.add(Q,ne),ee=n.mul(I,j),ee=n.add(ee,ee),ne=n.mul(ee,$),D=n.sub(D,ne),X=n.mul(ee,oe),X=n.add(X,X),X=n.add(X,X),new S(D,Q,X)}add(O){g(O);const{px:_,py:B,pz:C}=this,{px:I,py:j,pz:D}=O;let Q=n.ZERO,X=n.ZERO,ne=n.ZERO;const oe=t.a,ee=n.mul(t.b,jh);let $=n.mul(_,I),G=n.mul(B,j),te=n.mul(C,D),ce=n.add(_,B),fe=n.add(I,j);ce=n.mul(ce,fe),fe=n.add($,G),ce=n.sub(ce,fe),fe=n.add(_,C);let N=n.add(I,D);return fe=n.mul(fe,N),N=n.add($,te),fe=n.sub(fe,N),N=n.add(B,C),Q=n.add(j,D),N=n.mul(N,Q),Q=n.add(G,te),N=n.sub(N,Q),ne=n.mul(oe,fe),Q=n.mul(ee,te),ne=n.add(Q,ne),Q=n.sub(G,ne),ne=n.add(G,ne),X=n.mul(Q,ne),G=n.add($,$),G=n.add(G,$),te=n.mul(oe,te),fe=n.mul(ee,fe),G=n.add(G,te),te=n.sub($,te),te=n.mul(oe,te),fe=n.add(fe,te),$=n.mul(G,fe),X=n.add(X,$),$=n.mul(N,fe),Q=n.mul(ce,Q),Q=n.sub(Q,$),$=n.mul(ce,G),ne=n.mul(N,ne),ne=n.add(ne,$),new S(Q,X,ne)}subtract(O){return this.add(O.negate())}is0(){return this.equals(S.ZERO)}wNAF(O){return z.wNAFCached(this,O,S.normalizeZ)}multiplyUnsafe(O){const{endo:_,n:B}=t;As("scalar",O,vr,B);const C=S.ZERO;if(O===vr)return C;if(this.is0()||O===yt)return this;if(!_||z.hasPrecomputes(this))return z.wNAFCachedUnsafe(this,O,S.normalizeZ);let{k1neg:I,k1:j,k2neg:D,k2:Q}=_.splitScalar(O),X=C,ne=C,oe=this;for(;j>vr||Q>vr;)j&yt&&(X=X.add(oe)),Q&yt&&(ne=ne.add(oe)),oe=oe.double(),j>>=yt,Q>>=yt;return I&&(X=X.negate()),D&&(ne=ne.negate()),ne=new S(n.mul(ne.px,_.beta),ne.py,ne.pz),X.add(ne)}multiply(O){const{endo:_,n:B}=t;As("scalar",O,yt,B);let C,I;if(_){const{k1neg:j,k1:D,k2neg:Q,k2:X}=_.splitScalar(O);let{p:ne,f:oe}=this.wNAF(D),{p:ee,f:$}=this.wNAF(X);ne=z.constTimeNegate(j,ne),ee=z.constTimeNegate(Q,ee),ee=new S(n.mul(ee.px,_.beta),ee.py,ee.pz),C=ne.add(ee),I=oe.add($)}else{const{p:j,f:D}=this.wNAF(O);C=j,I=D}return S.normalizeZ([C,I])[0]}multiplyAndAddUnsafe(O,_,B){const C=S.BASE,I=(D,Q)=>Q===vr||Q===yt||!D.equals(C)?D.multiplyUnsafe(Q):D.multiply(Q),j=I(this,_).add(I(O,B));return j.is0()?void 0:j}toAffine(O){return v(this,O)}isTorsionFree(){const{h:O,isTorsionFree:_}=t;if(O===yt)return!0;if(_)return _(S,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:O,clearCofactor:_}=t;return O===yt?this:_?_(S,this):this.multiplyUnsafe(t.h)}toRawBytes(O=!0){return uu("isCompressed",O),this.assertValidity(),o(S,this,O)}toHex(O=!0){return uu("isCompressed",O),cu(this.toRawBytes(O))}}S.BASE=new S(t.Gx,t.Gy,n.ONE),S.ZERO=new S(n.ZERO,n.ONE,n.ZERO);const{endo:E,nBitLength:R}=t,z=l7(S,E?Math.ceil(R/2):R);return{CURVE:t,ProjectivePoint:S,normPrivateKeyToScalar:b,weierstrassEquation:l,isWithinCurveOrder:m}}function m7(e){const t=Bx(e);return Rf(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function b7(e){const t=m7(e),{Fp:n,n:a,nByteLength:o,nBitLength:u}=t,l=n.BYTES+1,f=2*n.BYTES+1;function d(ee){return Kt(ee,a)}function p(ee){return Op(ee,a)}const{ProjectivePoint:m,normPrivateKeyToScalar:b,weierstrassEquation:g,isWithinCurveOrder:v}=y7({...t,toBytes(ee,$,G){const te=$.toAffine(),ce=n.toBytes(te.x),fe=uf;return uu("isCompressed",G),G?fe(Uint8Array.from([$.hasEvenY()?2:3]),ce):fe(Uint8Array.from([4]),ce,n.toBytes(te.y))},fromBytes(ee){const $=ee.length,G=ee[0],te=ee.subarray(1);if($===l&&(G===2||G===3)){const ce=aa(te);if(!Iy(ce,yt,n.ORDER))throw new Error("Point is not on curve");const fe=g(ce);let N;try{N=n.sqrt(fe)}catch(ae){const le=ae instanceof Error?": "+ae.message:"";throw new Error("Point is not on curve"+le)}const Y=(N&yt)===yt;return(G&1)===1!==Y&&(N=n.neg(N)),{x:ce,y:N}}else if($===f&&G===4){const ce=n.fromBytes(te.subarray(0,n.BYTES)),fe=n.fromBytes(te.subarray(n.BYTES,2*n.BYTES));return{x:ce,y:fe}}else{const ce=l,fe=f;throw new Error("invalid Point, expected length of "+ce+", or uncompressed "+fe+", got "+$)}}});function x(ee){const $=a>>yt;return ee>$}function S(ee){return x(ee)?d(-ee):ee}const E=(ee,$,G)=>aa(ee.slice($,G));class R{constructor($,G,te){As("r",$,yt,a),As("s",G,yt,a),this.r=$,this.s=G,te!=null&&(this.recovery=te),Object.freeze(this)}static fromCompact($){const G=o;return $=Tn("compactSignature",$,G*2),new R(E($,0,G),E($,G,2*G))}static fromDER($){const{r:G,s:te}=gr.toSig(Tn("DER",$));return new R(G,te)}assertValidity(){}addRecoveryBit($){return new R(this.r,this.s,$)}recoverPublicKey($){const{r:G,s:te,recovery:ce}=this,fe=C(Tn("msgHash",$));if(ce==null||![0,1,2,3].includes(ce))throw new Error("recovery id invalid");const N=ce===2||ce===3?G+t.n:G;if(N>=n.ORDER)throw new Error("recovery id 2 or 3 invalid");const Y=(ce&1)===0?"02":"03",se=m.fromHex(Y+Uh(N,n.BYTES)),ae=p(N),le=d(-fe*ae),ge=d(te*ae),we=m.BASE.multiplyAndAddUnsafe(se,le,ge);if(!we)throw new Error("point at infinify");return we.assertValidity(),we}hasHighS(){return x(this.s)}normalizeS(){return this.hasHighS()?new R(this.r,d(-this.s),this.recovery):this}toDERRawBytes(){return of(this.toDERHex())}toDERHex(){return gr.hexFromSig(this)}toCompactRawBytes(){return of(this.toCompactHex())}toCompactHex(){const $=o;return Uh(this.r,$)+Uh(this.s,$)}}const z={isValidPrivateKey(ee){try{return b(ee),!0}catch{return!1}},normPrivateKeyToScalar:b,randomPrivateKey:()=>{const ee=Ox(t.n);return o7(t.randomBytes(ee),t.n)},precompute(ee=8,$=m.BASE){return $._setWindowSize(ee),$.multiply(BigInt(3)),$}};function M(ee,$=!0){return m.fromPrivateKey(ee).toRawBytes($)}function O(ee){if(typeof ee=="bigint")return!1;if(ee instanceof m)return!0;const G=Tn("key",ee).length,te=n.BYTES,ce=te+1,fe=2*te+1;if(!(t.allowedPrivateKeyLengths||o===ce))return G===ce||G===fe}function _(ee,$,G=!0){if(O(ee)===!0)throw new Error("first arg must be private key");if(O($)===!1)throw new Error("second arg must be public key");return m.fromHex($).multiply(b(ee)).toRawBytes(G)}const B=t.bits2int||function(ee){if(ee.length>8192)throw new Error("input is too large");const $=aa(ee),G=ee.length*8-u;return G>0?$>>BigInt(G):$},C=t.bits2int_modN||function(ee){return d(B(ee))},I=Mf(u);function j(ee){return As("num < 2^"+u,ee,vr,I),Zu(ee,o)}function D(ee,$,G=Q){if(["recovered","canonical"].some(_e=>_e in G))throw new Error("sign() legacy options not supported");const{hash:te,randomBytes:ce}=t;let{lowS:fe,prehash:N,extraEntropy:Y}=G;fe==null&&(fe=!0),ee=Tn("msgHash",ee),s2(G),N&&(ee=Tn("prehashed msgHash",te(ee)));const se=C(ee),ae=b($),le=[j(ae),j(se)];if(Y!=null&&Y!==!1){const _e=Y===!0?ce(n.BYTES):Y;le.push(Tn("extraEntropy",_e))}const ge=uf(...le),we=se;function He(_e){const At=B(_e);if(!v(At))return;const en=p(At),jt=m.BASE.multiply(At).toAffine(),tn=d(jt.x);if(tn===vr)return;const Tt=d(en*d(we+tn*ae));if(Tt===vr)return;let hn=(jt.x===tn?0:2)|Number(jt.y&yt),Vn=Tt;return fe&&x(Tt)&&(Vn=S(Tt),hn^=1),new R(tn,Vn,hn)}return{seed:ge,k2sig:He}}const Q={lowS:t.lowS,prehash:!1},X={lowS:t.lowS,prehash:!1};function ne(ee,$,G=Q){const{seed:te,k2sig:ce}=D(ee,$,G),fe=t;return _C(fe.hash.outputLen,fe.nByteLength,fe.hmac)(te,ce)}m.BASE._setWindowSize(8);function oe(ee,$,G,te=X){const ce=ee;$=Tn("msgHash",$),G=Tn("publicKey",G);const{lowS:fe,prehash:N,format:Y}=te;if(s2(te),"strict"in te)throw new Error("options.strict was renamed to lowS");if(Y!==void 0&&Y!=="compact"&&Y!=="der")throw new Error("format must be compact or der");const se=typeof ce=="string"||Yu(ce),ae=!se&&!Y&&typeof ce=="object"&&ce!==null&&typeof ce.r=="bigint"&&typeof ce.s=="bigint";if(!se&&!ae)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let le,ge;try{if(ae&&(le=new R(ce.r,ce.s)),se){try{Y!=="compact"&&(le=R.fromDER(ce))}catch(hn){if(!(hn instanceof gr.Err))throw hn}!le&&Y!=="der"&&(le=R.fromCompact(ce))}ge=m.fromHex(G)}catch{return!1}if(!le||fe&&le.hasHighS())return!1;N&&($=t.hash($));const{r:we,s:He}=le,_e=C($),At=p(He),en=d(_e*At),jt=d(we*At),tn=m.BASE.multiplyAndAddUnsafe(ge,en,jt)?.toAffine();return tn?d(tn.x)===we:!1}return{CURVE:t,getPublicKey:M,getSharedSecret:_,sign:ne,verify:oe,ProjectivePoint:m,Signature:R,utils:z}}function g7(e){return{hash:e,hmac:(t,...n)=>Hw(e,t,K_(...n)),randomBytes:Q_}}function zf(e,t){const n=a=>b7({...e,...g7(a)});return{...n(t),create:n}}const Ix=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),o2=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),v7=BigInt(0),w7=BigInt(1),zp=BigInt(2),u2=(e,t)=>(e+t/zp)/t;function x7(e){const t=Ix,n=BigInt(3),a=BigInt(6),o=BigInt(11),u=BigInt(22),l=BigInt(23),f=BigInt(44),d=BigInt(88),p=e*e*e%t,m=p*p*e%t,b=An(m,n,t)*m%t,g=An(b,n,t)*m%t,v=An(g,zp,t)*p%t,x=An(v,o,t)*v%t,S=An(x,u,t)*x%t,E=An(S,f,t)*S%t,R=An(E,d,t)*E%t,z=An(R,f,t)*S%t,M=An(z,n,t)*m%t,O=An(M,l,t)*x%t,_=An(O,a,t)*p%t,B=An(_,zp,t);if(!Bp.eql(Bp.sqr(B),e))throw new Error("Cannot find square root");return B}const Bp=js(Ix,void 0,void 0,{sqrt:x7}),Bf=zf({a:v7,b:BigInt(7),Fp:Bp,n:o2,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=o2,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),a=-w7*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),o=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),u=n,l=BigInt("0x100000000000000000000000000000000"),f=u2(u*e,t),d=u2(-a*e,t);let p=Kt(e-f*n-d*o,t),m=Kt(-f*a-d*u,t);const b=p>l,g=m>l;if(b&&(p=t-p),g&&(m=t-m),p>l||m>l)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:b,k1:p,k2neg:g,k2:m}}}},Py),S7=Object.freeze(Object.defineProperty({__proto__:null,secp256k1:Bf},Symbol.toStringTag,{value:"Module"}));function If(e,t={}){const{recovered:n}=t;if(typeof e.r>"u")throw new kh({signature:e});if(typeof e.s>"u")throw new kh({signature:e});if(n&&typeof e.yParity>"u")throw new kh({signature:e});if(e.r<0n||e.r>W6)throw new C7({value:e.r});if(e.s<0n||e.s>W6)throw new O7({value:e.s});if(typeof e.yParity=="number"&&e.yParity!==0&&e.yParity!==1)throw new Lf({value:e.yParity})}function E7(e){return Gy(dt(e))}function Gy(e){if(e.length!==130&&e.length!==132)throw new _7({signature:e});const t=BigInt(Ee(e,0,32)),n=BigInt(Ee(e,32,64)),a=(()=>{const o=+`0x${e.slice(130)}`;if(!Number.isNaN(o))try{return Ky(o)}catch{throw new Lf({value:o})}})();return typeof a>"u"?{r:t,s:n}:{r:t,s:n,yParity:a}}function Nx(e){if(!(typeof e.r>"u")&&!(typeof e.s>"u"))return Nf(e)}function Nf(e){const t=typeof e=="string"?Gy(e):e instanceof Uint8Array?E7(e):typeof e.r=="string"?Vy(e):e.v?A7(e):{r:e.r,s:e.s,...typeof e.yParity<"u"?{yParity:e.yParity}:{}};return If(t),t}function A7(e){return{r:e.r,s:e.s,yParity:Ky(e.v)}}function Vy(e){const t=(()=>{const n=e.v?Number(e.v):void 0;let a=e.yParity?Number(e.yParity):void 0;if(typeof n=="number"&&typeof a!="number"&&(a=Ky(n)),typeof a!="number")throw new Lf({value:e.yParity});return a})();return{r:BigInt(e.r),s:BigInt(e.s),yParity:t}}function T7(e){const[t,n,a]=e;return Nf({r:n==="0x"?0n:BigInt(n),s:a==="0x"?0n:BigInt(a),yParity:t==="0x"?0:Number(t)})}function M7(e){If(e);const t=e.r,n=e.s;return tt(ue(t,{size:32}),ue(n,{size:32}),typeof e.yParity=="number"?ue(Qy(e.yParity),{size:1}):"0x")}function Lx(e){const{r:t,s:n,yParity:a}=e;return{r:ue(t,{size:32}),s:ue(n,{size:32}),yParity:a===0?"0x0":"0x1"}}function R7(e){const{r:t,s:n,yParity:a}=e;return[a?"0x01":"0x",t===0n?"0x":Ap(ue(t)),n===0n?"0x":Ap(ue(n))]}function Ky(e){if(e===0||e===27)return 0;if(e===1||e===28)return 1;if(e>=35)return e%2===0?1:0;throw new P7({value:e})}function Qy(e){if(e===0)return 27;if(e===1)return 28;throw new Lf({value:e})}class _7 extends ye{constructor({signature:t}){super(`Value \\`${t}\\` is an invalid signature size.`,{metaMessages:["Expected: 64 bytes or 65 bytes.",`Received ${Qe(Cf(t))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSerializedSizeError"})}}class kh extends ye{constructor({signature:t}){super(`Signature \\`${$s(t)}\\` is missing either an \\`r\\`, \\`s\\`, or \\`yParity\\` property.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.MissingPropertiesError"})}}class C7 extends ye{constructor({value:t}){super(`Value \\`${t}\\` is an invalid r value. r must be a positive integer less than 2^256.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidRError"})}}class O7 extends ye{constructor({value:t}){super(`Value \\`${t}\\` is an invalid s value. s must be a positive integer less than 2^256.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSError"})}}class Lf extends ye{constructor({value:t}){super(`Value \\`${t}\\` is an invalid y-parity value. Y-parity must be 0 or 1.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidYParityError"})}}class P7 extends ye{constructor({value:t}){super(`Value \\`${t}\\` is an invalid v value. v must be 27, 28 or >=35.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidVError"})}}function z7(e,t={}){return typeof e.chainId=="string"?$x(e):{...e,...t.signature}}function $x(e){const{address:t,chainId:n,nonce:a}=e,o=Nx(e);return{address:t,chainId:Number(n),nonce:BigInt(a),...o}}function B7(e){return e.map($x)}function I7(e){const{address:t,chainId:n,nonce:a,...o}=e;return{address:t,chainId:ue(n),nonce:ue(a),...Lx(o)}}function N7(e){return e.map(I7)}const L7=new TextEncoder;Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((e,t)=>[t,e.charCodeAt(0)]);const Bl={...Object.fromEntries(Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((e,t)=>[e.charCodeAt(0),t])),61:0,45:62,95:63};function $7(e){const t=e.replace(/=+$/,""),n=t.length,a=new Uint8Array(n+3);L7.encodeInto(t+"===",a);for(let u=0,l=0;u<t.length;u+=4,l+=3){const f=(Bl[a[u]]<<18)+(Bl[a[u+1]]<<12)+(Bl[a[u+2]]<<6)+Bl[a[u+3]];a[l]=f>>16,a[l+1]=f>>8&255,a[l+2]=f&255}const o=(n>>2)*3+(n%4&&n%4-1);return new Uint8Array(a.buffer,0,o)}const Ux={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"},jx={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function U7(e,t={}){if(!e)return null;const n=Nx(e),a={...e,...n};return a.blockNumber=e.blockNumber?BigInt(e.blockNumber):null,"blockTimestamp"in e&&(a.blockTimestamp=e.blockTimestamp?BigInt(e.blockTimestamp):e.blockTimestamp===null?null:void 0),a.data=e.input,a.gas=BigInt(e.gas??0n),a.nonce=BigInt(e.nonce??0n),a.transactionIndex=e.transactionIndex?Number(e.transactionIndex):null,a.value=BigInt(e.value??0n),e.authorizationList&&(a.authorizationList=B7(e.authorizationList)),e.chainId&&(a.chainId=Number(e.chainId)),e.gasPrice&&(a.gasPrice=BigInt(e.gasPrice)),e.maxFeePerBlobGas&&(a.maxFeePerBlobGas=BigInt(e.maxFeePerBlobGas)),e.maxFeePerGas&&(a.maxFeePerGas=BigInt(e.maxFeePerGas)),e.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=BigInt(e.maxPriorityFeePerGas)),e.type&&(a.type=jx[e.type]??e.type),n&&(a.v=Qy(n.yParity)),a}function j7(e){return{address:e.address,amount:ue(e.amount),index:ue(e.index),validatorIndex:ue(e.validatorIndex)}}function k7(e){return{...typeof e.baseFeePerGas=="bigint"&&{baseFeePerGas:ue(e.baseFeePerGas)},...typeof e.blobBaseFee=="bigint"&&{blobBaseFee:ue(e.blobBaseFee)},...typeof e.feeRecipient=="string"&&{feeRecipient:e.feeRecipient},...typeof e.gasLimit=="bigint"&&{gasLimit:ue(e.gasLimit)},...typeof e.number=="bigint"&&{number:ue(e.number)},...typeof e.prevRandao=="bigint"&&{prevRandao:ue(e.prevRandao)},...typeof e.time=="bigint"&&{time:ue(e.time)},...e.withdrawals&&{withdrawals:e.withdrawals.map(j7)}}}function Yy(e){return Er(Zy(e))}function Zy(e){const{payload:t,signature:n}=e,{r:a,s:o,yParity:u}=n,f=new Bf.Signature(BigInt(a),BigInt(o)).addRecoveryBit(u).recoverPublicKey(Cf(t).substring(2));return sO(f)}function D7(e){const{hash:t,payload:n}=e;return e.address?Tp(e.address,Yy({payload:n,signature:e.signature})):Bf.verify(e.signature,Ny(n),uO(e.publicKey),...t?[{prehash:!0,lowS:!0}]:[])}const kx=js(BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff")),H7=kx.create(BigInt("-3")),F7=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b"),q7=zf({a:H7,b:F7,Fp:kx,n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"),h:BigInt(1),lowS:!1},Py),Dx=js(BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff")),G7=Dx.create(BigInt("-3")),V7=BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef");zf({a:G7,b:V7,Fp:Dx,n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f"),h:BigInt(1),lowS:!1},AC);const Hx=js(BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")),K7=Hx.create(BigInt("-3")),Q7=BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00");zf({a:K7,b:Q7,Fp:Hx,n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650"),h:BigInt(1),lowS:!1,allowedPrivateKeyLengths:[130,131,132]},EC);const Y7=q7;function Fx(e){const{hash:t,payload:n,publicKey:a,signature:o}=e;return Y7.verify(o,n instanceof Uint8Array?n:Ci(n),Uy(a).substring(2),{lowS:!0,...t?{prehash:!0}:{}})}var Dh={exports:{}},c2;function Z7(){return c2||(c2=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function a(){}Object.create&&(a.prototype=Object.create(null),new a().__proto__||(n=!1));function o(d,p,m){this.fn=d,this.context=p,this.once=m||!1}function u(d,p,m,b,g){if(typeof m!="function")throw new TypeError("The listener must be a function");var v=new o(m,b||d,g),x=n?n+p:p;return d._events[x]?d._events[x].fn?d._events[x]=[d._events[x],v]:d._events[x].push(v):(d._events[x]=v,d._eventsCount++),d}function l(d,p){--d._eventsCount===0?d._events=new a:delete d._events[p]}function f(){this._events=new a,this._eventsCount=0}f.prototype.eventNames=function(){var p=[],m,b;if(this._eventsCount===0)return p;for(b in m=this._events)t.call(m,b)&&p.push(n?b.slice(1):b);return Object.getOwnPropertySymbols?p.concat(Object.getOwnPropertySymbols(m)):p},f.prototype.listeners=function(p){var m=n?n+p:p,b=this._events[m];if(!b)return[];if(b.fn)return[b.fn];for(var g=0,v=b.length,x=new Array(v);g<v;g++)x[g]=b[g].fn;return x},f.prototype.listenerCount=function(p){var m=n?n+p:p,b=this._events[m];return b?b.fn?1:b.length:0},f.prototype.emit=function(p,m,b,g,v,x){var S=n?n+p:p;if(!this._events[S])return!1;var E=this._events[S],R=arguments.length,z,M;if(E.fn){switch(E.once&&this.removeListener(p,E.fn,void 0,!0),R){case 1:return E.fn.call(E.context),!0;case 2:return E.fn.call(E.context,m),!0;case 3:return E.fn.call(E.context,m,b),!0;case 4:return E.fn.call(E.context,m,b,g),!0;case 5:return E.fn.call(E.context,m,b,g,v),!0;case 6:return E.fn.call(E.context,m,b,g,v,x),!0}for(M=1,z=new Array(R-1);M<R;M++)z[M-1]=arguments[M];E.fn.apply(E.context,z)}else{var O=E.length,_;for(M=0;M<O;M++)switch(E[M].once&&this.removeListener(p,E[M].fn,void 0,!0),R){case 1:E[M].fn.call(E[M].context);break;case 2:E[M].fn.call(E[M].context,m);break;case 3:E[M].fn.call(E[M].context,m,b);break;case 4:E[M].fn.call(E[M].context,m,b,g);break;default:if(!z)for(_=1,z=new Array(R-1);_<R;_++)z[_-1]=arguments[_];E[M].fn.apply(E[M].context,z)}}return!0},f.prototype.on=function(p,m,b){return u(this,p,m,b,!1)},f.prototype.once=function(p,m,b){return u(this,p,m,b,!0)},f.prototype.removeListener=function(p,m,b,g){var v=n?n+p:p;if(!this._events[v])return this;if(!m)return l(this,v),this;var x=this._events[v];if(x.fn)x.fn===m&&(!g||x.once)&&(!b||x.context===b)&&l(this,v);else{for(var S=0,E=[],R=x.length;S<R;S++)(x[S].fn!==m||g&&!x[S].once||b&&x[S].context!==b)&&E.push(x[S]);E.length?this._events[v]=E.length===1?E[0]:E:l(this,v)}return this},f.prototype.removeAllListeners=function(p){var m;return p?(m=n?n+p:p,this._events[m]&&l(this,m)):(this._events=new a,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=n,f.EventEmitter=f,e.exports=f})(Dh)),Dh.exports}var X7=Z7();const J7=t5(X7);function W7(e){const t={};return typeof e.accessList<"u"&&(t.accessList=e.accessList),typeof e.authorizationList<"u"&&(t.authorizationList=N7(e.authorizationList)),typeof e.blobVersionedHashes<"u"&&(t.blobVersionedHashes=e.blobVersionedHashes),typeof e.blobs<"u"&&(t.blobs=e.blobs),typeof e.chainId<"u"&&(t.chainId=ue(e.chainId)),typeof e.data<"u"?(t.data=e.data,t.input=e.data):typeof e.input<"u"&&(t.data=e.input,t.input=e.input),typeof e.from<"u"&&(t.from=e.from),typeof e.gas<"u"&&(t.gas=ue(e.gas)),typeof e.gasPrice<"u"&&(t.gasPrice=ue(e.gasPrice)),typeof e.maxFeePerBlobGas<"u"&&(t.maxFeePerBlobGas=ue(e.maxFeePerBlobGas)),typeof e.maxFeePerGas<"u"&&(t.maxFeePerGas=ue(e.maxFeePerGas)),typeof e.maxPriorityFeePerGas<"u"&&(t.maxPriorityFeePerGas=ue(e.maxPriorityFeePerGas)),typeof e.maxPriorityFeePerGas<"u"&&(t.maxPriorityFeePerGas=ue(e.maxPriorityFeePerGas)),typeof e.nonce<"u"&&(t.nonce=ue(e.nonce)),typeof e.to<"u"&&(t.to=e.to),typeof e.type<"u"&&(t.type=Ux[e.type]||e.type),typeof e.value<"u"&&(t.value=ue(e.value)),t}const l2={wei:0,gwei:9,szabo:12,finney:15,ether:18};function eP(e,t=0){let n=e.toString();const a=n.startsWith("-");a&&(n=n.slice(1)),n=n.padStart(t,"0");let[o,u]=[n.slice(0,n.length-t),n.slice(n.length-t)];return u=u.replace(/(0+)$/,""),`${a?"-":""}${o||"0"}${u?`.${u}`:""}`}function Ip(e,t="wei"){return eP(e,l2.gwei-l2[t])}let tP=class extends ye{constructor({feeCap:t}={}){super(`The fee cap (\\`maxFeePerGas\\`/\\`maxPriorityFeePerGas\\`${t?` = ${Ip(t)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionEnvelope.FeeCapTooHighError"})}},nP=class extends ye{constructor({chainId:t}){super(typeof t<"u"?`Chain ID "${t}" is invalid.`:"Chain ID is invalid."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionEnvelope.InvalidChainIdError"})}},rP=class extends ye{constructor({attributes:t,serialized:n,type:a}){const o=Object.entries(t).map(([u,l])=>typeof l>"u"?u:void 0).filter(Boolean);super(`Invalid serialized transaction of type "${a}" was provided.`,{metaMessages:[`Serialized Transaction: "${n}"`,o.length>0?`Missing Attributes: ${o.join(", ")}`:""].filter(Boolean)}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionEnvelope.InvalidSerializedError"})}},iP=class extends ye{constructor({maxPriorityFeePerGas:t,maxFeePerGas:n}={}){super([`The provided tip (\\`maxPriorityFeePerGas\\`${t?` = ${Ip(t)} gwei`:""}) cannot be higher than the fee cap (\\`maxFeePerGas\\`${n?` = ${Ip(n)} gwei`:""}).`].join(`\n`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionEnvelope.TipAboveFeeCapError"})}};function aP(e){const{challenge:t,metadata:n,origin:a,publicKey:o,rpId:u,signature:l}=e,{authenticatorData:f,clientDataJSON:d,userVerificationRequired:p}=n,m=Ci(f);if(m.length<37)return!1;if(u!==void 0){const S=m.slice(0,32),E=Y6(Us(u),{as:"Bytes"});if(!VC(S,E))return!1}const b=m[32];if((b&1)!==1||p&&(b&4)!==4||(b&8)!==8&&(b&16)===16)return!1;const g=JSON.parse(d);if(g.type!=="webauthn.get"||!g.challenge||dt($7(g.challenge))!==t||a!==void 0&&!(Array.isArray(a)?a:[a]).includes(g.origin))return!1;const v=Y6(Ly(d),{as:"Bytes"}),x=qC(m,v);return Fx({hash:!0,payload:x,publicKey:o,signature:l})}function sP(e){return aP(e)}const qx=new JR({defaultOptions:{queries:{gcTime:1e3*60*60*24,retry:!1,refetchOnWindowFocus:!1}}}),oP=h_({key:"tempo-admin",storage:typeof window>"u"?void 0:window.localStorage,serialize:$s,deserialize:IC}),uP={maxAge:1e3*60*60*24,persister:oP,dehydrateOptions:{shouldDehydrateQuery:e=>e.queryKey[0]!=="config"&&Aw(e)}};var cP=["added","removed","updated"];function f2(e){return cP.includes(e)}async function lP({queryClient:e,persister:t,maxAge:n=1e3*60*60*24,buster:a="",hydrateOptions:o}){try{const u=await t.restoreClient();if(u)if(u.timestamp){const l=Date.now()-u.timestamp>n,f=u.buster!==a;if(l||f)return t.removeClient();$R(e,u.clientState,o)}else return t.removeClient()}catch(u){throw await t.removeClient(),u}}async function d2({queryClient:e,persister:t,buster:n="",dehydrateOptions:a}){const o={buster:n,timestamp:Date.now(),clientState:LR(e,a)};await t.persistClient(o)}function fP(e){const t=e.queryClient.getQueryCache().subscribe(a=>{f2(a.type)&&d2(e)}),n=e.queryClient.getMutationCache().subscribe(a=>{f2(a.type)&&d2(e)});return()=>{t(),n()}}var dP=({children:e,persistOptions:t,onSuccess:n,onError:a,...o})=>{const[u,l]=re.useState(!0),f=re.useRef({persistOptions:t,onSuccess:n,onError:a}),d=re.useRef(!1);return re.useEffect(()=>{f.current={persistOptions:t,onSuccess:n,onError:a}}),re.useEffect(()=>{const p={...f.current.persistOptions,queryClient:o.client};return d.current||(d.current=!0,lP(p).then(()=>f.current.onSuccess?.()).catch(()=>f.current.onError?.()).finally(()=>{l(!1)})),u?void 0:fP(p)},[o.client,u]),V.jsx(WR,{...o,children:V.jsx(t_,{value:u,children:e})})};const Gx=(...e)=>e.filter((t,n,a)=>!!t&&t.trim()!==""&&a.indexOf(t)===n).join(" ").trim();const hP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const pP=e=>e.replace(/^([A-Z])|[\\s-_]+(\\w)/g,(t,n,a)=>a?a.toUpperCase():n.toLowerCase());const h2=e=>{const t=pP(e);return t.charAt(0).toUpperCase()+t.slice(1)};var Hh={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const yP=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},mP=re.createContext({}),bP=()=>re.useContext(mP),gP=re.forwardRef(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:a,className:o="",children:u,iconNode:l,...f},d)=>{const{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:b=!1,color:g="currentColor",className:v=""}=bP()??{},x=a??b?Number(n??m)*24/Number(t??p):n??m;return re.createElement("svg",{ref:d,...Hh,width:t??p??Hh.width,height:t??p??Hh.height,stroke:e??g,strokeWidth:x,className:Gx("lucide",v,o),...!u&&!yP(f)&&{"aria-hidden":"true"},...f},[...l.map(([S,E])=>re.createElement(S,E)),...Array.isArray(u)?u:[u]])});const Xy=(e,t)=>{const n=re.forwardRef(({className:a,...o},u)=>re.createElement(gP,{ref:u,iconNode:t,className:Gx(`lucide-${hP(h2(e))}`,`lucide-${e}`,a),...o}));return n.displayName=h2(e),n};const vP=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],wP=Xy("badge-check",vP);const xP=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],SP=Xy("key-round",xP);const EP=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],Vx=Xy("log-out",EP);function Os(...e){return e.filter(Boolean).join(" ")}function Kx(e,t){return{...e,...t,className:Os(e.className,t.className)}}let p2=!1;function Ms(e){const{children:t,className:n,disabled:a,icon:o,loading:u=!1,render:l,size:f="medium",variant:d="secondary",...p}=e,m=V.jsxs(V.Fragment,{children:[V.jsx("span",{"aria-hidden":"true",className:Os("pointer-events-none absolute inset-0 rounded-[inherit] border border-transparent",Ms.chromeClassName[d]),"data-button-chrome":!0}),V.jsxs("span",{className:"relative inline-flex items-center justify-center gap-[inherit]",children:[u?V.jsx(AP,{}):o?V.jsx("span",{className:"shrink-0",children:o}):null,t]})]}),b={className:Os("group relative inline-flex shrink-0 cursor-pointer items-center justify-center whitespace-nowrap rounded-button border border-transparent font-normal focus-visible:outline focus-visible:outline-[2px] focus-visible:outline-offset-[2px] focus-visible:outline-focus data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[loading]:pointer-events-none",Ms.sizeClassName[f],Ms.variantClassName[d],n),"data-disabled":a?"":void 0,"data-loading":u?"":void 0,...p};return l&&re.isValidElement(l)?re.cloneElement(l,Kx(l.props,b),m):V.jsx("button",{...b,disabled:a||u,children:m})}(e=>{e.variantClassName={negative:"text-on-negative",primary:"text-on-accent",secondary:"text-foreground"},e.chromeClassName={negative:"bg-negative group-hover:bg-negative-hover group-active:bg-negative-active group-hover:group-active:bg-negative-active",primary:"bg-accent group-hover:bg-accent-hover group-active:bg-accent-active group-hover:group-active:bg-accent-active",secondary:"bg-secondary group-hover:bg-secondary-hover group-active:bg-secondary-active group-hover:group-active:bg-secondary-active"},e.sizeClassName={large:"h-[44px] gap-[8px] px-[22px] button-16",medium:"h-[40px] gap-[8px] px-[16px] button-14",small:"h-[32px] gap-[6px] px-[12px] button-12"};function t(a){const o=re.useContext(t.Context),{children:u,className:l,plain:f=!1,ref:d,size:p="sm",title:m,variant:b,...g}=a,v=f?"plain":b??o?.variant??"default";return f&&TP(),V.jsx("button",{"aria-label":g["aria-label"]??m,className:Os("inline-flex shrink-0 cursor-pointer items-center justify-center rounded-button text-foreground-secondary focus-visible:outline focus-visible:outline-[2px] focus-visible:outline-offset-[2px] focus-visible:outline-focus",t.variantClassName[v],t.sizeClassName[p],l),ref:d,type:"button",...g,children:u})}e.Icon=t,(a=>{a.Context=re.createContext(void 0),a.variantClassName={default:"bg-secondary hover:bg-secondary-hover hover:text-foreground-secondary-hover active:bg-secondary-active",plain:"hover:bg-surface-hover hover:text-foreground-secondary-hover active:bg-surface-active active:text-foreground",surface:"border border-border bg-surface hover:bg-secondary-hover hover:text-foreground active:bg-secondary-active active:text-foreground"},a.sizeClassName={lg:"h-[32px] w-[32px] [&>svg]:h-[16px] [&>svg]:w-[16px]",md:"h-[32px] w-[32px] [&>svg]:h-[14px] [&>svg]:w-[14px]",sm:"h-[24px] w-[24px] [&>svg]:h-[12px] [&>svg]:w-[12px]",xs:"h-[20px] w-[20px] [&>svg]:h-[10px] [&>svg]:w-[10px]"}})(t=e.Icon||(e.Icon={}));function n(a){const{children:o,className:u,disabled:l,prefix:f,render:d,size:p="medium",suffix:m,...b}=a,g=V.jsxs(V.Fragment,{children:[f&&V.jsx("span",{className:"shrink-0",children:f}),o,m&&V.jsx("span",{className:"shrink-0",children:m})]}),v={className:Os("inline-flex shrink-0 cursor-pointer items-center justify-center gap-[4px] whitespace-nowrap rounded-button font-normal text-foreground-secondary hover:bg-surface-hover hover:text-foreground-secondary-hover active:bg-surface-active active:text-foreground [&:hover:active]:bg-surface-active [&:hover:active]:text-foreground focus-visible:outline focus-visible:outline-[2px] focus-visible:outline-offset-[2px] focus-visible:outline-focus data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n.sizeClassName[p],u),"data-disabled":l?"":void 0,...b};return d&&re.isValidElement(d)?re.cloneElement(d,Kx(d.props,v),g):V.jsx("button",{...v,disabled:l,children:g})}e.Text=n,(a=>{a.sizeClassName={large:"px-[6px] py-[3px] label-14",medium:"px-[6px] py-[3px] label-13",small:"px-[5px] py-[2px] label-12"}})(n=e.Text||(e.Text={}))})(Ms||(Ms={}));function AP(){return V.jsx("svg",{className:"h-[16px] w-[16px] animate-rgn-spin",viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,children:Array.from({length:12},(e,t)=>V.jsx("line",{x1:"8",y1:"1.5",x2:"8",y2:"4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",opacity:.15+t/12*.85,transform:`rotate(${t*30} 8 8)`},t))})}function TP(){p2||(p2=!0,console.warn(\'Button.Icon: plain is deprecated. Use variant="plain" instead.\'))}function fa(e){const{address:t,className:n,size:a=64}=e,{angle:o,gradient:u}=fa.getParts(Pr(t,{as:"Bytes"})),f=`g-${re.useId().replace(/[^a-zA-Z0-9_-]/g,"")}-${t.slice(2,10)}`;return V.jsxs("svg",{className:Os("rounded-identicon",n),height:a,viewBox:"0 0 1 1",width:a,xmlns:"http://www.w3.org/2000/svg",children:[V.jsx("defs",{children:V.jsxs("linearGradient",{gradientTransform:`rotate(${o} .5 .5)`,id:f,children:[V.jsx("stop",{offset:"0%",stopColor:y2(u.from)}),V.jsx("stop",{offset:"100%",stopColor:y2(u.to)})]})}),V.jsx("rect",{fill:`url(#${f})`,height:"1",width:"1"})]})}(e=>{e.lcValues={dark:"68% 0.21",light:"66% 0.22"},e.angleBands=[[25,65],[115,155],[205,245],[295,335]],e.hueDelta=[28,72];function t(n){const[a,o]=e.angleBands[(n[2]??0)%e.angleBands.length]??e.angleBands[0],u=Math.round((((n[0]??0)<<8)+(n[1]??0))/65535*359),l=m2(n[4]??0,e.hueDelta[0],e.hueDelta[1]),f=(n[5]??0)%2===0?1:-1,d=(u+f*l+360)%360;return{angle:m2(n[3]??0,a,o),gradient:{from:u,to:d}}}e.getParts=t})(fa||(fa={}));function y2(e){return`light-dark(\n oklch(${fa.lcValues.light} ${e}),\n oklch(${fa.lcValues.dark} ${e})\n )`}function m2(e,t,n){return t+Math.round(e/255*(n-t))}const Np=[{inputs:[{components:[{name:"target",type:"address"},{name:"allowFailure",type:"bool"},{name:"callData",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"aggregate3",outputs:[{components:[{name:"success",type:"bool"},{name:"returnData",type:"bytes"}],name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[{name:"addr",type:"address"}],name:"getEthBalance",outputs:[{name:"balance",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getCurrentBlockTimestamp",outputs:[{internalType:"uint256",name:"timestamp",type:"uint256"}],stateMutability:"view",type:"function"}],oU=[{name:"query",type:"function",stateMutability:"view",inputs:[{type:"tuple[]",name:"queries",components:[{type:"address",name:"sender"},{type:"string[]",name:"urls"},{type:"bytes",name:"data"}]}],outputs:[{type:"bool[]",name:"failures"},{type:"bytes[]",name:"responses"}]},{name:"HttpError",type:"error",inputs:[{type:"uint16",name:"status"},{type:"string",name:"message"}]}],Qx=[{name:"isValidSignature",type:"function",stateMutability:"view",inputs:[{name:"hash",type:"bytes32"},{name:"signature",type:"bytes"}],outputs:[{name:"",type:"bytes4"}]}],b2=[{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],outputs:[{type:"bool"}],stateMutability:"nonpayable",type:"function",name:"isValidSig"}];function Si(e,{includeName:t=!1}={}){if(e.type!=="function"&&e.type!=="event"&&e.type!=="error")throw new jP(e.type);return`${e.name}(${$f(e.inputs,{includeName:t})})`}function $f(e,{includeName:t=!1}={}){return e?e.map(n=>MP(n,{includeName:t})).join(t?", ":","):""}function MP(e,{includeName:t}){return e.type.startsWith("tuple")?`(${$f(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")}function Rr(e,{strict:t=!0}={}){return!e||typeof e!="string"?!1:t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x")}function st(e){return Rr(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}const Yx="2.51.3";let Fh={getDocsUrl:({docsBaseUrl:e,docsPath:t="",docsSlug:n})=>t?`${e??"https://viem.sh"}${t}${n?`#${n}`:""}`:void 0,version:`viem@${Yx}`},ie=class Lp extends Error{constructor(t,n={}){const a=n.cause instanceof Lp?n.cause.details:n.cause?.message?n.cause.message:n.details,o=n.cause instanceof Lp&&n.cause.docsPath||n.docsPath,u=Fh.getDocsUrl?.({...n,docsPath:o}),l=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...u?[`Docs: ${u}`]:[],...a?[`Details: ${a}`]:[],...Fh.version?[`Version: ${Fh.version}`]:[]].join(`\n`);super(l,n.cause?{cause:n.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=a,this.docsPath=o,this.metaMessages=n.metaMessages,this.name=n.name??this.name,this.shortMessage=t,this.version=Yx}walk(t){return Zx(this,t)}};function Zx(e,t){return t?.(e)?e:e&&typeof e=="object"&&"cause"in e&&e.cause!==void 0?Zx(e.cause,t):t?null:e}class RP extends ie{constructor({docsPath:t}){super(["A constructor was not found on the ABI.","Make sure you are using the correct ABI and that the constructor exists on it."].join(`\n`),{docsPath:t,name:"AbiConstructorNotFoundError"})}}class g2 extends ie{constructor({docsPath:t}){super(["Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.","Make sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists."].join(`\n`),{docsPath:t,name:"AbiConstructorParamsNotFoundError"})}}class Xx extends ie{constructor({data:t,params:n,size:a}){super([`Data size of ${a} bytes is too small for given parameters.`].join(`\n`),{metaMessages:[`Params: (${$f(n,{includeName:!0})})`,`Data: ${t} (${a} bytes)`],name:"AbiDecodingDataSizeTooSmallError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t,this.params=n,this.size=a}}class Jy extends ie{constructor({cause:t}={}){super(\'Cannot decode zero data ("0x") with ABI parameters.\',{name:"AbiDecodingZeroDataError",cause:t})}}class _P extends ie{constructor({expectedLength:t,givenLength:n,type:a}){super([`ABI encoding array length mismatch for type ${a}.`,`Expected length: ${t}`,`Given length: ${n}`].join(`\n`),{name:"AbiEncodingArrayLengthMismatchError"})}}class CP extends ie{constructor({expectedSize:t,value:n}){super(`Size of bytes "${n}" (bytes${st(n)}) does not match expected size (bytes${t}).`,{name:"AbiEncodingBytesSizeMismatchError"})}}class OP extends ie{constructor({expectedLength:t,givenLength:n}){super(["ABI encoding params/values length mismatch.",`Expected length (params): ${t}`,`Given length (values): ${n}`].join(`\n`),{name:"AbiEncodingLengthMismatchError"})}}class uU extends ie{constructor(t,{docsPath:n}){super([`Arguments (\\`args\\`) were provided to "${t}", but "${t}" on the ABI does not contain any parameters (\\`inputs\\`).`,"Cannot encode error result without knowing what the parameter types are.","Make sure you are using the correct ABI and that the inputs exist on it."].join(`\n`),{docsPath:n,name:"AbiErrorInputsNotFoundError"})}}class cU extends ie{constructor(t,{docsPath:n}={}){super([`Error ${t?`"${t}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the error exists on it."].join(`\n`),{docsPath:n,name:"AbiErrorNotFoundError"})}}class Jx extends ie{constructor(t,{docsPath:n,cause:a}){super([`Encoded error signature "${t}" not found on ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${t}.`].join(`\n`),{docsPath:n,name:"AbiErrorSignatureNotFoundError",cause:a}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=t}}class PP extends ie{constructor({docsPath:t}){super("Cannot extract event signature from empty topics.",{docsPath:t,name:"AbiEventSignatureEmptyTopicsError"})}}class zP extends ie{constructor(t,{docsPath:n}){super([`Encoded event signature "${t}" not found on ABI.`,"Make sure you are using the correct ABI and that the event exists on it.",`You can look up the signature here: https://4byte.sourcify.dev/?q=${t}.`].join(`\n`),{docsPath:n,name:"AbiEventSignatureNotFoundError"})}}class cf extends ie{constructor(t,{docsPath:n}={}){super([`Function ${t?`"${t}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the function exists on it."].join(`\n`),{docsPath:n,name:"AbiFunctionNotFoundError"})}}class BP extends ie{constructor(t,{docsPath:n}){super([`Function "${t}" does not contain any \\`outputs\\` on ABI.`,"Cannot decode function result without knowing what the parameter types are.","Make sure you are using the correct ABI and that the function exists on it."].join(`\n`),{docsPath:n,name:"AbiFunctionOutputsNotFoundError"})}}class lU extends ie{constructor(t,{docsPath:n}){super([`Encoded function signature "${t}" not found on ABI.`,"Make sure you are using the correct ABI and that the function exists on it.",`You can look up the signature here: https://4byte.sourcify.dev/?q=${t}.`].join(`\n`),{docsPath:n,name:"AbiFunctionSignatureNotFoundError"})}}class IP extends ie{constructor(t,n){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\\`${t.type}\\` in \\`${Si(t.abiItem)}\\`, and`,`\\`${n.type}\\` in \\`${Si(n.abiItem)}\\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class v2 extends ie{constructor({abiItem:t,data:n,params:a,size:o}){super([`Data size of ${o} bytes is too small for non-indexed event parameters.`].join(`\n`),{metaMessages:[`Params: (${$f(a,{includeName:!0})})`,`Data: ${n} (${o} bytes)`],name:"DecodeLogDataMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=t,this.data=n,this.params=a,this.size=o}}class NP extends ie{constructor({abiItem:t,param:n}){super([`Expected a topic for indexed event parameter${n.name?` "${n.name}"`:""} on event "${Si(t,{includeName:!0})}".`].join(`\n`),{name:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=t}}class LP extends ie{constructor(t,{docsPath:n}){super([`Type "${t}" is not a valid encoding type.`,"Please provide a valid ABI type."].join(`\n`),{docsPath:n,name:"InvalidAbiEncodingType"})}}class $P extends ie{constructor(t,{docsPath:n}){super([`Type "${t}" is not a valid decoding type.`,"Please provide a valid ABI type."].join(`\n`),{docsPath:n,name:"InvalidAbiDecodingType"})}}class UP extends ie{constructor(t){super([`Value "${t}" is not a valid array.`].join(`\n`),{name:"InvalidArrayError"})}}class jP extends ie{constructor(t){super([`"${t}" is not a valid definition type.`,\'Valid types: "function", "event", "error"\'].join(`\n`),{name:"InvalidDefinitionTypeError"})}}class Mn extends ie{constructor({address:t}){super(`Address "${t}" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."],name:"InvalidAddressError"})}}class Wx extends ie{constructor({offset:t,position:n,size:a}){super(`Slice ${n==="start"?"starting":"ending"} at offset "${t}" is out-of-bounds (size: ${a}).`,{name:"SliceOffsetOutOfBoundsError"})}}class e3 extends ie{constructor({size:t,targetSize:n,type:a}){super(`${a.charAt(0).toUpperCase()}${a.slice(1).toLowerCase()} size (${t}) exceeds padding size (${n}).`,{name:"SizeExceedsPaddingSizeError"})}}class w2 extends ie{constructor({size:t,targetSize:n,type:a}){super(`${a.charAt(0).toUpperCase()}${a.slice(1).toLowerCase()} is expected to be ${n} ${a} long, but is ${t} ${a} long.`,{name:"InvalidBytesLengthError"})}}function ks(e,{dir:t,size:n=32}={}){return typeof e=="string"?gi(e,{dir:t,size:n}):kP(e,{dir:t,size:n})}function gi(e,{dir:t,size:n=32}={}){if(n===null)return e;const a=e.replace("0x","");if(a.length>n*2)throw new e3({size:Math.ceil(a.length/2),targetSize:n,type:"hex"});return`0x${a[t==="right"?"padEnd":"padStart"](n*2,"0")}`}function kP(e,{dir:t,size:n=32}={}){if(n===null)return e;if(e.length>n)throw new e3({size:e.length,targetSize:n,type:"bytes"});const a=new Uint8Array(n);for(let o=0;o<n;o++){const u=t==="right";a[u?o:n-o-1]=e[u?o:e.length-o-1]}return a}class Wy extends ie{constructor({max:t,min:n,signed:a,size:o,value:u}){super(`Number "${u}" is not in safe ${o?`${o*8}-bit ${a?"signed":"unsigned"} `:""}integer range ${t?`(${n} to ${t})`:`(above ${n})`}`,{name:"IntegerOutOfRangeError"})}}class DP extends ie{constructor(t){super(`Bytes value "${t}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class HP extends ie{constructor(t){super(`Hex value "${t}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}class FP extends ie{constructor({givenSize:t,maxSize:n}){super(`Size cannot exceed ${n} bytes. Given size: ${t} bytes.`,{name:"SizeOverflowError"})}}function qn(e,{dir:t="left"}={}){let n=typeof e=="string"?e.replace("0x",""):e,a=0;for(let o=0;o<n.length-1&&n[t==="left"?o:n.length-o-1].toString()==="0";o++)a++;return n=t==="left"?n.slice(a):n.slice(0,n.length-a),typeof e=="string"?(n.length===1&&t==="right"&&(n=`${n}0`),`0x${n.length%2===1?`0${n}`:n}`):n}function Nn(e,{size:t}){if(st(e)>t)throw new FP({givenSize:st(e),maxSize:t})}function da(e,t={}){const{signed:n}=t;t.size&&Nn(e,{size:t.size});const a=BigInt(e);if(!n)return a;const o=(e.length-2)/2,u=(1n<<BigInt(o)*8n-1n)-1n;return a<=u?a:a-BigInt(`0x${"f".padStart(o*2,"f")}`)-1n}function qP(e,t={}){let n=e;if(t.size&&(Nn(n,{size:t.size}),n=qn(n)),qn(n)==="0x00")return!1;if(qn(n)==="0x01")return!0;throw new HP(n)}function Ei(e,t={}){const n=da(e,t),a=Number(n);if(!Number.isSafeInteger(a))throw new Wy({max:`${Number.MAX_SAFE_INTEGER}`,min:`${Number.MIN_SAFE_INTEGER}`,signed:t.signed,size:t.size,value:`${n}n`});return a}const GP=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function du(e,t={}){return typeof e=="number"||typeof e=="bigint"?he(e,t):typeof e=="string"?n3(e,t):typeof e=="boolean"?t3(e,t):Ot(e,t)}function t3(e,t={}){const n=`0x${Number(e)}`;return typeof t.size=="number"?(Nn(n,{size:t.size}),ks(n,{size:t.size})):n}function Ot(e,t={}){let n="";for(let o=0;o<e.length;o++)n+=GP[e[o]];const a=`0x${n}`;return typeof t.size=="number"?(Nn(a,{size:t.size}),ks(a,{dir:"right",size:t.size})):a}function he(e,t={}){const{signed:n,size:a}=t,o=BigInt(e);let u;a?n?u=(1n<<BigInt(a)*8n-1n)-1n:u=2n**(BigInt(a)*8n)-1n:typeof e=="number"&&(u=BigInt(Number.MAX_SAFE_INTEGER));const l=typeof u=="bigint"&&n?-u-1n:0;if(u&&o>u||o<l){const d=typeof e=="bigint"?"n":"";throw new Wy({max:u?`${u}${d}`:void 0,min:`${l}${d}`,signed:n,size:a,value:`${e}${d}`})}const f=`0x${(n&&o<0?(1n<<BigInt(a*8))+BigInt(o):o).toString(16)}`;return a?ks(f,{size:a}):f}const VP=new TextEncoder;function n3(e,t={}){const n=VP.encode(e);return Ot(n,t)}const KP=new TextEncoder;function Uf(e,t={}){return typeof e=="number"||typeof e=="bigint"?YP(e,t):typeof e=="boolean"?QP(e,t):Rr(e)?Gn(e,t):r3(e,t)}function QP(e,t={}){const n=new Uint8Array(1);return n[0]=Number(e),typeof t.size=="number"?(Nn(n,{size:t.size}),ks(n,{size:t.size})):n}const mr={zero:48,nine:57,A:65,F:70,a:97,f:102};function x2(e){if(e>=mr.zero&&e<=mr.nine)return e-mr.zero;if(e>=mr.A&&e<=mr.F)return e-(mr.A-10);if(e>=mr.a&&e<=mr.f)return e-(mr.a-10)}function Gn(e,t={}){let n=e;t.size&&(Nn(n,{size:t.size}),n=ks(n,{dir:"right",size:t.size}));let a=n.slice(2);a.length%2&&(a=`0${a}`);const o=a.length/2,u=new Uint8Array(o);for(let l=0,f=0;l<o;l++){const d=x2(a.charCodeAt(f++)),p=x2(a.charCodeAt(f++));if(d===void 0||p===void 0)throw new ie(`Invalid byte sequence ("${a[f-2]}${a[f-1]}" in "${a}").`);u[l]=d*16+p}return u}function YP(e,t){const n=he(e,t);return Gn(n)}function r3(e,t={}){const n=KP.encode(e);return typeof t.size=="number"?(Nn(n,{size:t.size}),ks(n,{dir:"right",size:t.size})):n}function Ds(e,t){const n=t||"hex",a=Yw(Rr(e,{strict:!1})?Uf(e):e);return n==="bytes"?a:du(a)}class Xu extends Map{constructor(t){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){const n=super.get(t);return super.has(t)&&(super.delete(t),super.set(t,n)),n}set(t,n){if(super.has(t)&&super.delete(t),super.set(t,n),this.maxSize&&this.size>this.maxSize){const a=super.keys().next().value;a!==void 0&&super.delete(a)}return this}}const ZP=/^0x[a-fA-F0-9]{40}$/,qh=new Xu(8192);function Lt(e,t){const{strict:n=!0}=t??{},a=`${e}.${n}`;if(qh.has(a))return qh.get(a);const o=ZP.test(e)?e.toLowerCase()===e?!0:n?jf(e)===e:!0:!1;return qh.set(a,o),o}const Gh=new Xu(8192);function jf(e,t){if(Gh.has(`${e}.${t}`))return Gh.get(`${e}.${t}`);const n=e.substring(2).toLowerCase(),a=Ds(r3(n),"bytes"),o=n.split("");for(let l=0;l<40;l+=2)a[l>>1]>>4>=8&&o[l]&&(o[l]=o[l].toUpperCase()),(a[l>>1]&15)>=8&&o[l+1]&&(o[l+1]=o[l+1].toUpperCase());const u=`0x${o.join("")}`;return Gh.set(`${e}.${t}`,u),u}function ta(e,t){if(!Lt(e,{strict:!1}))throw new Mn({address:e});return jf(e,t)}class S2 extends ie{constructor({offset:t}){super(`Offset \\`${t}\\` cannot be negative.`,{name:"NegativeOffsetError"})}}class i3 extends ie{constructor({length:t,position:n}){super(`Position \\`${n}\\` is out of bounds (\\`0 < position < ${t}\\`).`,{name:"PositionOutOfBoundsError"})}}class XP extends ie{constructor({count:t,limit:n}){super(`Recursive read limit of \\`${n}\\` exceeded (recursive read count: \\`${t}\\`).`,{name:"RecursiveReadLimitExceededError"})}}const JP={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new XP({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new i3({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new S2({offset:e});const t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new S2({offset:e});const t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){const n=t??this.position;return this.assertPosition(n+e-1),this.bytes.subarray(n,n+e)},inspectUint8(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){const t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){const t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){const t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,e&255),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();const e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();const n=this.inspectBytes(e);return this.position+=t??e,n},readUint8(){this.assertReadLimit(),this._touch();const e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();const e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();const e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();const e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){const t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;const e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function em(e,{recursiveReadLimit:t=8192}={}){const n=Object.create(JP);return n.bytes=e,n.dataView=new DataView(e.buffer??e,e.byteOffset,e.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=t,n}function hu(e,t,n,{strict:a}={}){return Rr(e,{strict:!1})?WP(e,t,n,{strict:a}):o3(e,t,n,{strict:a})}function a3(e,t){if(typeof t=="number"&&t>0&&t>st(e)-1)throw new Wx({offset:t,position:"start",size:st(e)})}function s3(e,t,n){if(typeof t=="number"&&typeof n=="number"&&st(e)!==n-t)throw new Wx({offset:n,position:"end",size:st(e)})}function o3(e,t,n,{strict:a}={}){a3(e,t);const o=e.slice(t,n);return a&&s3(o,t,n),o}function WP(e,t,n,{strict:a}={}){a3(e,t);const o=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return a&&s3(o,t,n),o}function ez(e,t={}){typeof t.size<"u"&&Nn(e,{size:t.size});const n=Ot(e,t);return da(n,t)}function tz(e,t={}){let n=e;if(typeof t.size<"u"&&(Nn(n,{size:t.size}),n=qn(n)),n.length>1||n[0]>1)throw new DP(n);return!!n[0]}function Ar(e,t={}){typeof t.size<"u"&&Nn(e,{size:t.size});const n=Ot(e,t);return Ei(n,t)}function nz(e,t={}){let n=e;return typeof t.size<"u"&&(Nn(n,{size:t.size}),n=qn(n,{dir:"right"})),new TextDecoder().decode(n)}function Ai(e){return typeof e[0]=="string"?zr(e):rz(e)}function rz(e){let t=0;for(const o of e)t+=o.length;const n=new Uint8Array(t);let a=0;for(const o of e)n.set(o,a),a+=o.length;return n}function zr(e){return`0x${e.reduce((t,n)=>t+n.replace("0x",""),"")}`}const iz=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;function u3(e,t){if(e.length!==t.length)throw new OP({expectedLength:e.length,givenLength:t.length});const n=az({params:e,values:t}),a=nm(n);return a.length===0?"0x":a}function az({params:e,values:t}){const n=[];for(let a=0;a<e.length;a++)n.push(tm({param:e[a],value:t[a]}));return n}function tm({param:e,value:t}){const n=rm(e.type);if(n){const[a,o]=n;return oz(t,{length:a,param:{...e,type:o}})}if(e.type==="tuple")return dz(t,{param:e});if(e.type==="address")return sz(t);if(e.type==="bool")return cz(t);if(e.type.startsWith("uint")||e.type.startsWith("int")){const a=e.type.startsWith("int"),[,,o="256"]=iz.exec(e.type)??[];return lz(t,{signed:a,size:Number(o)})}if(e.type.startsWith("bytes"))return uz(t,{param:e});if(e.type==="string")return fz(t);throw new LP(e.type,{docsPath:"/docs/contract/encodeAbiParameters"})}function nm(e){let t=0;for(let u=0;u<e.length;u++){const{dynamic:l,encoded:f}=e[u];l?t+=32:t+=st(f)}const n=[],a=[];let o=0;for(let u=0;u<e.length;u++){const{dynamic:l,encoded:f}=e[u];l?(n.push(he(t+o,{size:32})),a.push(f),o+=st(f)):n.push(f)}return Ai([...n,...a])}function sz(e){if(!Lt(e))throw new Mn({address:e});return{dynamic:!1,encoded:gi(e.toLowerCase())}}function oz(e,{length:t,param:n}){const a=t===null;if(!Array.isArray(e))throw new UP(e);if(!a&&e.length!==t)throw new _P({expectedLength:t,givenLength:e.length,type:`${n.type}[${t}]`});let o=!1;const u=[];for(let l=0;l<e.length;l++){const f=tm({param:n,value:e[l]});f.dynamic&&(o=!0),u.push(f)}if(a||o){const l=nm(u);if(a){const f=he(u.length,{size:32});return{dynamic:!0,encoded:u.length>0?Ai([f,l]):f}}if(o)return{dynamic:!0,encoded:l}}return{dynamic:!1,encoded:Ai(u.map(({encoded:l})=>l))}}function uz(e,{param:t}){const[,n]=t.type.split("bytes"),a=st(e);if(!n){let o=e;return a%32!==0&&(o=gi(o,{dir:"right",size:Math.ceil((e.length-2)/2/32)*32})),{dynamic:!0,encoded:Ai([gi(he(a,{size:32})),o])}}if(a!==Number.parseInt(n,10))throw new CP({expectedSize:Number.parseInt(n,10),value:e});return{dynamic:!1,encoded:gi(e,{dir:"right"})}}function cz(e){if(typeof e!="boolean")throw new ie(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \\`true\\` or \\`false\\`.`);return{dynamic:!1,encoded:gi(t3(e))}}function lz(e,{signed:t,size:n=256}){if(typeof n=="number"){const a=2n**(BigInt(n)-(t?1n:0n))-1n,o=t?-a-1n:0n;if(e>a||e<o)throw new Wy({max:a.toString(),min:o.toString(),signed:t,size:n/8,value:e.toString()})}return{dynamic:!1,encoded:he(e,{size:32,signed:t})}}function fz(e){const t=n3(e),n=Math.ceil(st(t)/32),a=[];for(let o=0;o<n;o++)a.push(gi(hu(t,o*32,(o+1)*32),{dir:"right"}));return{dynamic:!0,encoded:Ai([gi(he(st(t),{size:32})),...a])}}function dz(e,{param:t}){let n=!1;const a=[];for(let o=0;o<t.components.length;o++){const u=t.components[o],l=Array.isArray(e)?o:u.name,f=tm({param:u,value:e[l]});a.push(f),f.dynamic&&(n=!0)}return{dynamic:n,encoded:n?nm(a):Ai(a.map(({encoded:o})=>o))}}function rm(e){const t=e.match(/^(.*)\\[(\\d+)?\\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}function kf(e,t){const n=typeof t=="string"?Gn(t):t,a=em(n);if(st(n)===0&&e.length>0)throw new Jy;if(st(t)&&st(t)<32)throw new Xx({data:typeof t=="string"?t:Ot(t),params:e,size:st(t)});let o=0;const u=[];for(let l=0;l<e.length;++l){const f=e[l];a.setPosition(o);const[d,p]=Rs(a,f,{staticPosition:0});o+=p,u.push(d)}return u}function Rs(e,t,{staticPosition:n}){const a=rm(t.type);if(a){const[o,u]=a;return pz(e,{...t,type:u},{length:o,staticPosition:n})}if(t.type==="tuple")return gz(e,t,{staticPosition:n});if(t.type==="address")return hz(e);if(t.type==="bool")return yz(e);if(t.type.startsWith("bytes"))return mz(e,t,{staticPosition:n});if(t.type.startsWith("uint")||t.type.startsWith("int"))return bz(e,t);if(t.type==="string")return vz(e,{staticPosition:n});throw new $P(t.type,{docsPath:"/docs/contract/decodeAbiParameters"})}const E2=32,$p=32;function hz(e){const t=e.readBytes(32);return[jf(Ot(o3(t,-20))),32]}function pz(e,t,{length:n,staticPosition:a}){if(!n){const l=Ar(e.readBytes($p)),f=a+l,d=f+E2;e.setPosition(f);const p=Ar(e.readBytes(E2)),m=pu(t);let b=0;const g=[];for(let v=0;v<p;++v){e.setPosition(d+(m?v*32:b));const[x,S]=Rs(e,t,{staticPosition:d});b+=S,g.push(x)}return e.setPosition(a+32),[g,32]}if(pu(t)){const l=Ar(e.readBytes($p)),f=a+l,d=[];for(let p=0;p<n;++p){e.setPosition(f+p*32);const[m]=Rs(e,t,{staticPosition:f});d.push(m)}return e.setPosition(a+32),[d,32]}let o=0;const u=[];for(let l=0;l<n;++l){const[f,d]=Rs(e,t,{staticPosition:a+o});o+=d,u.push(f)}return[u,o]}function yz(e){return[tz(e.readBytes(32),{size:32}),32]}function mz(e,t,{staticPosition:n}){const[a,o]=t.type.split("bytes");if(!o){const l=Ar(e.readBytes(32));e.setPosition(n+l);const f=Ar(e.readBytes(32));if(f===0)return e.setPosition(n+32),["0x",32];const d=e.readBytes(f);return e.setPosition(n+32),[Ot(d),32]}return[Ot(e.readBytes(Number.parseInt(o,10),32)),32]}function bz(e,t){const n=t.type.startsWith("int"),a=Number.parseInt(t.type.split("int")[1]||"256",10),o=e.readBytes(32);return[a>48?ez(o,{signed:n}):Ar(o,{signed:n}),32]}function gz(e,t,{staticPosition:n}){const a=t.components.length===0||t.components.some(({name:l})=>!l),o=a?[]:{};let u=0;if(pu(t)){const l=Ar(e.readBytes($p)),f=n+l;for(let d=0;d<t.components.length;++d){const p=t.components[d];e.setPosition(f+u);const[m,b]=Rs(e,p,{staticPosition:f});u+=b,o[a?d:p?.name]=m}return e.setPosition(n+32),[o,32]}for(let l=0;l<t.components.length;++l){const f=t.components[l],[d,p]=Rs(e,f,{staticPosition:n});o[a?l:f?.name]=d,u+=p}return[o,u]}function vz(e,{staticPosition:t}){const n=Ar(e.readBytes(32)),a=t+n;e.setPosition(a);const o=Ar(e.readBytes(32));if(o===0)return e.setPosition(t+32),["",32];const u=e.readBytes(o,32),l=nz(qn(u));return e.setPosition(t+32),[l,32]}function pu(e){const{type:t}=e;if(t==="string"||t==="bytes"||t.endsWith("[]"))return!0;if(t==="tuple")return e.components?.some(pu);const n=rm(e.type);return!!(n&&pu({...e,type:n[1]}))}const wz=e=>Ds(Uf(e));function xz(e){return wz(e)}const Sz="1.2.3";class $t extends Error{constructor(t,n={}){const a=n.cause instanceof $t?n.cause.details:n.cause?.message?n.cause.message:n.details,o=n.cause instanceof $t&&n.cause.docsPath||n.docsPath,u=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...o?[`Docs: https://abitype.dev${o}`]:[],...a?[`Details: ${a}`]:[],`Version: abitype@${Sz}`].join(`\n`);super(u),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),n.cause&&(this.cause=n.cause),this.details=a,this.docsPath=o,this.metaMessages=n.metaMessages,this.shortMessage=t}}function Br(e,t){return e.exec(t)?.groups}const c3=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,l3=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,f3=/^\\(.+?\\).*?$/,A2=/^tuple(?<array>(\\[(\\d*)\\])*)$/;function Up(e){let t=e.type;if(A2.test(e.type)&&"components"in e){t="(";const n=e.components.length;for(let o=0;o<n;o++){const u=e.components[o];t+=Up(u),o<n-1&&(t+=", ")}const a=Br(A2,e.type);return t+=`)${a?.array||""}`,Up({...e,type:t})}return"indexed"in e&&e.indexed&&(t=`${t} indexed`),e.name?`${t} ${e.name}`:t}function Yo(e){let t="";const n=e.length;for(let a=0;a<n;a++){const o=e[a];t+=Up(o),a!==n-1&&(t+=", ")}return t}function Ez(e){return e.type==="function"?`function ${e.name}(${Yo(e.inputs)})${e.stateMutability&&e.stateMutability!=="nonpayable"?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${Yo(e.outputs)})`:""}`:e.type==="event"?`event ${e.name}(${Yo(e.inputs)})`:e.type==="error"?`error ${e.name}(${Yo(e.inputs)})`:e.type==="constructor"?`constructor(${Yo(e.inputs)})${e.stateMutability==="payable"?" payable":""}`:e.type==="fallback"?`fallback() external${e.stateMutability==="payable"?" payable":""}`:"receive() external payable"}const d3=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\\((?<parameters>.*?)\\)$/;function Az(e){return d3.test(e)}function Tz(e){return Br(d3,e)}const h3=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\\((?<parameters>.*?)\\)$/;function Mz(e){return h3.test(e)}function Rz(e){return Br(h3,e)}const p3=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\\((?<parameters>.*?)\\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\\s?\\((?<returns>.*?)\\))?$/;function _z(e){return p3.test(e)}function Cz(e){return Br(p3,e)}const y3=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \\{(?<properties>.*?)\\}$/;function m3(e){return y3.test(e)}function Oz(e){return Br(y3,e)}const b3=/^constructor\\((?<parameters>.*?)\\)(?:\\s(?<stateMutability>payable{1}))?$/;function Pz(e){return b3.test(e)}function zz(e){return Br(b3,e)}const g3=/^fallback\\(\\) external(?:\\s(?<stateMutability>payable{1}))?$/;function Bz(e){return g3.test(e)}function Iz(e){return Br(g3,e)}const Nz=/^receive\\(\\) external payable$/;function Lz(e){return Nz.test(e)}const $z=new Set(["indexed"]),jp=new Set(["calldata","memory","storage"]);class Uz extends $t{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class jz extends $t{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}class kz extends $t{constructor({param:t}){super("Invalid ABI parameter.",{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class Dz extends $t{constructor({param:t,name:n}){super("Invalid ABI parameter.",{details:t,metaMessages:[`"${n}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class Hz extends $t{constructor({param:t,type:n,modifier:a}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${a}" not allowed${n?` in "${n}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class Fz extends $t{constructor({param:t,type:n,modifier:a}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${a}" not allowed${n?` in "${n}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${a}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class qz extends $t{constructor({abiParameter:t}){super("Invalid ABI parameter.",{details:JSON.stringify(t,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}class Hs extends $t{constructor({signature:t,type:n}){super(`Invalid ${n} signature.`,{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class Gz extends $t{constructor({signature:t}){super("Unknown signature.",{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class Vz extends $t{constructor({signature:t}){super("Invalid struct signature.",{details:t,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}class Kz extends $t{constructor({type:t}){super("Circular reference detected.",{metaMessages:[`Struct "${t}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}class Qz extends $t{constructor({current:t,depth:n}){super("Unbalanced parentheses.",{metaMessages:[`"${t.trim()}" has too many ${n>0?"opening":"closing"} parentheses.`],details:`Depth "${n}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}function Yz(e,t,n){let a="";if(n)for(const o of Object.entries(n)){if(!o)continue;let u="";for(const l of o[1])u+=`[${l.type}${l.name?`:${l.name}`:""}]`;a+=`(${o[0]}{${u}})`}return t?`${t}:${e}${a}`:`${e}${a}`}const Vh=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]);function Zz(e,t={}){if(_z(e))return Xz(e,t);if(Mz(e))return Jz(e,t);if(Az(e))return Wz(e,t);if(Pz(e))return eB(e,t);if(Bz(e))return tB(e);if(Lz(e))return{type:"receive",stateMutability:"payable"};throw new Gz({signature:e})}function Xz(e,t={}){const n=Cz(e);if(!n)throw new Hs({signature:e,type:"function"});const a=Bn(n.parameters),o=[],u=a.length;for(let f=0;f<u;f++)o.push(ha(a[f],{modifiers:jp,structs:t,type:"function"}));const l=[];if(n.returns){const f=Bn(n.returns),d=f.length;for(let p=0;p<d;p++)l.push(ha(f[p],{modifiers:jp,structs:t,type:"function"}))}return{name:n.name,type:"function",stateMutability:n.stateMutability??"nonpayable",inputs:o,outputs:l}}function Jz(e,t={}){const n=Rz(e);if(!n)throw new Hs({signature:e,type:"event"});const a=Bn(n.parameters),o=[],u=a.length;for(let l=0;l<u;l++)o.push(ha(a[l],{modifiers:$z,structs:t,type:"event"}));return{name:n.name,type:"event",inputs:o}}function Wz(e,t={}){const n=Tz(e);if(!n)throw new Hs({signature:e,type:"error"});const a=Bn(n.parameters),o=[],u=a.length;for(let l=0;l<u;l++)o.push(ha(a[l],{structs:t,type:"error"}));return{name:n.name,type:"error",inputs:o}}function eB(e,t={}){const n=zz(e);if(!n)throw new Hs({signature:e,type:"constructor"});const a=Bn(n.parameters),o=[],u=a.length;for(let l=0;l<u;l++)o.push(ha(a[l],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:n.stateMutability??"nonpayable",inputs:o}}function tB(e){const t=Iz(e);if(!t)throw new Hs({signature:e,type:"fallback"});return{type:"fallback",stateMutability:t.stateMutability??"nonpayable"}}const nB=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\\spayable)?)(?<array>(?:\\[\\d*?\\])+?)?(?:\\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,rB=/^\\((?<type>.+?)\\)(?<array>(?:\\[\\d*?\\])+?)?(?:\\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,iB=/^u?int$/;function ha(e,t){const n=Yz(e,t?.type,t?.structs);if(Vh.has(n))return Vh.get(n);const a=f3.test(e),o=Br(a?rB:nB,e);if(!o)throw new kz({param:e});if(o.name&&sB(o.name))throw new Dz({param:e,name:o.name});const u=o.name?{name:o.name}:{},l=o.modifier==="indexed"?{indexed:!0}:{},f=t?.structs??{};let d,p={};if(a){d="tuple";const b=Bn(o.type),g=[],v=b.length;for(let x=0;x<v;x++)g.push(ha(b[x],{structs:f}));p={components:g}}else if(o.type in f)d="tuple",p={components:f[o.type]};else if(iB.test(o.type))d=`${o.type}256`;else if(o.type==="address payable")d="address";else if(d=o.type,t?.type!=="struct"&&!v3(d))throw new jz({type:d});if(o.modifier){if(!t?.modifiers?.has?.(o.modifier))throw new Hz({param:e,type:t?.type,modifier:o.modifier});if(jp.has(o.modifier)&&!oB(d,!!o.array))throw new Fz({param:e,type:t?.type,modifier:o.modifier})}const m={type:`${d}${o.array??""}`,...u,...l,...p};return Vh.set(n,m),m}function Bn(e,t=[],n="",a=0){const o=e.trim().length;for(let u=0;u<o;u++){const l=e[u],f=e.slice(u+1);switch(l){case",":return a===0?Bn(f,[...t,n.trim()]):Bn(f,t,`${n}${l}`,a);case"(":return Bn(f,t,`${n}${l}`,a+1);case")":return Bn(f,t,`${n}${l}`,a-1);default:return Bn(f,t,`${n}${l}`,a)}}if(n==="")return t;if(a!==0)throw new Qz({current:n,depth:a});return t.push(n.trim()),t}function v3(e){return e==="address"||e==="bool"||e==="function"||e==="string"||c3.test(e)||l3.test(e)}const aB=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;function sB(e){return e==="address"||e==="bool"||e==="function"||e==="string"||e==="tuple"||c3.test(e)||l3.test(e)||aB.test(e)}function oB(e,t){return t||e==="bytes"||e==="string"||e==="tuple"}function uB(e){const t={},n=e.length;for(let l=0;l<n;l++){const f=e[l];if(!m3(f))continue;const d=Oz(f);if(!d)throw new Hs({signature:f,type:"struct"});const p=d.properties.split(";"),m=[],b=p.length;for(let g=0;g<b;g++){const x=p[g].trim();if(!x)continue;const S=ha(x,{type:"struct"});m.push(S)}if(!m.length)throw new Vz({signature:f});t[d.name]=m}const a={},o=Object.entries(t),u=o.length;for(let l=0;l<u;l++){const[f,d]=o[l];a[f]=w3(d,t)}return a}const cB=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\\[\\d*?\\])+?)?$/;function w3(e=[],t={},n=new Set){const a=[],o=e.length;for(let u=0;u<o;u++){const l=e[u];if(f3.test(l.type))a.push(l);else{const d=Br(cB,l.type);if(!d?.type)throw new qz({abiParameter:l});const{array:p,type:m}=d;if(m in t){if(n.has(m))throw new Kz({type:m});a.push({...l,type:`tuple${p??""}`,components:w3(t[m],t,new Set([...n,m]))})}else if(v3(m))a.push(l);else throw new Uz({type:m})}}return a}function x3(e){const t=uB(e),n=[],a=e.length;for(let o=0;o<a;o++){const u=e[o];m3(u)||n.push(Zz(u,t))}return n}function lB(e){let t=!0,n="",a=0,o="",u=!1;for(let l=0;l<e.length;l++){const f=e[l];if(["(",")",","].includes(f)&&(t=!0),f==="("&&a++,f===")"&&a--,!!t){if(a===0){if(f===" "&&["event","function",""].includes(o))o="";else if(o+=f,f===")"){u=!0;break}continue}if(f===" "){e[l-1]!==","&&n!==","&&n!==",("&&(n="",t=!1);continue}o+=f,n+=f}}if(!u)throw new ie("Unable to normalize signature.");return o}const fB=e=>{const t=typeof e=="string"?e:Ez(e);return lB(t)};function S3(e){return xz(fB(e))}const im=S3,am=e=>hu(S3(e),0,4);function sm(e){const{abi:t,args:n=[],name:a}=e,o=Rr(a,{strict:!1}),u=t.filter(f=>o?f.type==="function"?am(f)===a:f.type==="event"?im(f)===a:!1:"name"in f&&f.name===a);if(u.length===0)return;if(u.length===1)return u[0];let l;for(const f of u){if(!("inputs"in f))continue;if(!n||n.length===0){if(!f.inputs||f.inputs.length===0)return f;continue}if(!f.inputs||f.inputs.length===0||f.inputs.length!==n.length)continue;if(n.every((p,m)=>{const b="inputs"in f&&f.inputs[m];return b?kp(p,b):!1})){if(l&&"inputs"in l&&l.inputs){const p=E3(f.inputs,l.inputs,n);if(p)throw new IP({abiItem:f,type:p[0]},{abiItem:l,type:p[1]})}l=f}}return l||u[0]}function kp(e,t){const n=typeof e,a=t.type;switch(a){case"address":return Lt(e,{strict:!1});case"bool":return n==="boolean";case"function":return n==="string";case"string":return n==="string";default:return a==="tuple"&&"components"in t?Object.values(t.components).every((o,u)=>n==="object"&&kp(Object.values(e)[u],o)):/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(a)?n==="number"||n==="bigint":/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(a)?n==="string"||e instanceof Uint8Array:/[a-z]+[1-9]{0,3}(\\[[0-9]{0,}\\])+$/.test(a)?Array.isArray(e)&&e.every(o=>kp(o,{...t,type:a.replace(/(\\[[0-9]{0,}\\])$/,"")})):!1}}function E3(e,t,n){for(const a in e){const o=e[a],u=t[a];if(o.type==="tuple"&&u.type==="tuple"&&"components"in o&&"components"in u)return E3(o.components,u.components,n[a]);const l=[o.type,u.type];if(l.includes("address")&&l.includes("bytes20")?!0:l.includes("address")&&l.includes("string")?Lt(n[a],{strict:!1}):l.includes("address")&&l.includes("bytes")?Lt(n[a],{strict:!1}):!1)return l}}const Kh="/docs/contract/decodeFunctionResult";function A3(e){const{abi:t,args:n,functionName:a,data:o}=e;let u=t[0];if(a){const f=sm({abi:t,args:n,name:a});if(!f)throw new cf(a,{docsPath:Kh});u=f}if(u.type!=="function")throw new cf(void 0,{docsPath:Kh});if(!u.outputs)throw new BP(u.name,{docsPath:Kh});const l=kf(u.outputs,o);if(l&&l.length>1)return l;if(l&&l.length===1)return l[0]}const T2="/docs/contract/encodeFunctionData";function dB(e){const{abi:t,args:n,functionName:a}=e;let o=t[0];if(a){const u=sm({abi:t,args:n,name:a});if(!u)throw new cf(a,{docsPath:T2});o=u}if(o.type!=="function")throw new cf(void 0,{docsPath:T2});return{abi:[o],functionName:am(Si(o))}}function Fs(e){const{args:t}=e,{abi:n,functionName:a}=e.abi.length===1&&e.functionName?.startsWith("0x")?e:dB(e),o=n[0],u=a,l="inputs"in o&&o.inputs?u3(o.inputs,t??[]):void 0;return zr([u,l??"0x"])}class Dp extends ie{constructor({blockNumber:t,chain:n,contract:a}){super(`Chain "${n.name}" does not support contract "${a.name}".`,{metaMessages:["This could be due to any of the following:",...t&&a.blockCreated&&a.blockCreated>t?[`- The contract "${a.name}" was not deployed until block ${a.blockCreated} (current block ${t}).`]:[`- The chain does not have the contract "${a.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}class hB extends ie{constructor({chain:t,currentChainId:n}){super(`The current chain of the wallet (id: ${n}) does not match the target chain for the transaction (id: ${t.id} – ${t.name}).`,{metaMessages:[`Current Chain ID: ${n}`,`Expected Chain ID: ${t.id} – ${t.name}`],name:"ChainMismatchError"})}}class pB extends ie{constructor(){super(["No chain was provided to the request.","Please provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient."].join(`\n`),{name:"ChainNotFoundError"})}}class T3 extends ie{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class Df extends ie{constructor({chainId:t}){super(typeof t=="number"?`Chain ID "${t}" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}function yB({blockNumber:e,chain:t,contract:n}){const a=t?.contracts?.[n];if(!a)throw new Dp({chain:t,contract:{name:n}});if(e&&a.blockCreated&&a.blockCreated>e)throw new Dp({blockNumber:e,chain:t,contract:{name:n,blockCreated:a.blockCreated}});return a.address}function Ut(e){return typeof e=="string"?{address:e,type:"json-rpc"}:e}const mB={1:"An `assert` condition failed.",17:"Arithmetic operation resulted in underflow or overflow.",18:"Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",33:"Attempted to convert to an invalid type.",34:"Attempted to access a storage byte array that is incorrectly encoded.",49:"Performed `.pop()` on an empty array",50:"Array index is out of bounds.",65:"Allocated too much memory or created an array which is too large.",81:"Attempted to call a zero-initialized variable of internal function type."},bB={inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},gB={inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"};function vB(e){const{abi:t,data:n,cause:a}=e,o=hu(n,0,4);if(o==="0x")throw new Jy({cause:a});const l=[...t||[],bB,gB].find(f=>f.type==="error"&&o===am(Si(f)));if(!l)throw new Jx(o,{docsPath:"/docs/contract/decodeErrorResult",cause:a});return{abiItem:l,args:"inputs"in l&&l.inputs&&l.inputs.length>0?kf(l.inputs,hu(n,4)):void 0,errorName:l.name}}const vi=(e,t,n)=>JSON.stringify(e,(a,o)=>typeof o=="bigint"?o.toString():o,n);function M3({abiItem:e,args:t,includeFunctionName:n=!0,includeName:a=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${n?e.name:""}(${e.inputs.map((o,u)=>`${a&&o.name?`${o.name}: `:""}${typeof t[u]=="object"?vi(t[u]):t[u]}`).join(", ")})`}const wB={gwei:9,wei:18},xB={ether:-9,wei:9};function R3(e,t){let n=e.toString();const a=n.startsWith("-");a&&(n=n.slice(1)),n=n.padStart(t,"0");let[o,u]=[n.slice(0,n.length-t),n.slice(n.length-t)];return u=u.replace(/(0+)$/,""),`${a?"-":""}${o||"0"}${u?`.${u}`:""}`}function om(e,t="wei"){return R3(e,wB[t])}function Xt(e,t="wei"){return R3(e,xB[t])}class SB extends ie{constructor({address:t}){super(`State for account "${t}" is set multiple times.`,{name:"AccountStateConflictError"})}}class EB extends ie{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentConflictError"})}}function M2(e){return e.reduce((t,{slot:n,value:a})=>`${t} ${n}: ${a}\n`,"")}function AB(e){return e.reduce((t,{address:n,...a})=>{let o=`${t} ${n}:\n`;return a.nonce&&(o+=` nonce: ${a.nonce}\n`),a.balance&&(o+=` balance: ${a.balance}\n`),a.code&&(o+=` code: ${a.code}\n`),a.state&&(o+=` state:\n`,o+=M2(a.state)),a.stateDiff&&(o+=` stateDiff:\n`,o+=M2(a.stateDiff)),o},` State Override:\n`).slice(0,-1)}function Ju(e){const t=Object.entries(e).map(([a,o])=>o===void 0||o===!1?null:[a,o]).filter(Boolean),n=t.reduce((a,[o])=>Math.max(a,o.length),0);return t.map(([a,o])=>` ${`${a}:`.padEnd(n+1)} ${o}`).join(`\n`)}class TB extends ie{constructor({v:t}){super(`Invalid \\`v\\` value "${t}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class MB extends ie{constructor({transaction:t}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",Ju(t),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or","- an EIP-7702 Transaction with `authorizationList`, or","- a Legacy Transaction with `gasPrice`"],name:"InvalidSerializableTransactionError"})}}class RB extends ie{constructor({storageKey:t}){super(`Size for storage key "${t}" is invalid. Expected 32 bytes. Got ${Math.floor((t.length-2)/2)} bytes.`,{name:"InvalidStorageKeySizeError"})}}class _B extends ie{constructor(t,{account:n,docsPath:a,chain:o,data:u,gas:l,gasPrice:f,maxFeePerGas:d,maxPriorityFeePerGas:p,nonce:m,to:b,value:g}){const v=Ju({chain:o&&`${o?.name} (id: ${o?.id})`,from:n?.address,to:b,value:typeof g<"u"&&`${om(g)} ${o?.nativeCurrency?.symbol||"ETH"}`,data:u,gas:l,gasPrice:typeof f<"u"&&`${Xt(f)} gwei`,maxFeePerGas:typeof d<"u"&&`${Xt(d)} gwei`,maxPriorityFeePerGas:typeof p<"u"&&`${Xt(p)} gwei`,nonce:m});super(t.shortMessage,{cause:t,docsPath:a,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],"Request Arguments:",v].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}}const CB=e=>e;function Ti(e){if(e?.reason)return e.reason;if(typeof DOMException=="function")return new DOMException("This operation was aborted","AbortError");const t=new Error("This operation was aborted");return t.name="AbortError",t}function qs(e){return typeof e=="object"&&e!==null&&"name"in e&&e.name==="AbortError"}const um=e=>{try{const t=new URL(e);return!t.username&&!t.password?e:(t.username="",t.password="",t.toString())}catch{return e}};class _3 extends ie{constructor(t,{account:n,docsPath:a,chain:o,data:u,gas:l,gasPrice:f,maxFeePerGas:d,maxPriorityFeePerGas:p,nonce:m,to:b,value:g,stateOverride:v}){const x=n?Ut(n):void 0;let S=Ju({from:x?.address,to:b,value:typeof g<"u"&&`${om(g)} ${o?.nativeCurrency?.symbol||"ETH"}`,data:u,gas:l,gasPrice:typeof f<"u"&&`${Xt(f)} gwei`,maxFeePerGas:typeof d<"u"&&`${Xt(d)} gwei`,maxPriorityFeePerGas:typeof p<"u"&&`${Xt(p)} gwei`,nonce:m});v&&(S+=`\n${AB(v)}`),super(t.shortMessage,{cause:t,docsPath:a,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],"Raw Call Arguments:",S].filter(Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}}class C3 extends ie{constructor(t,{abi:n,args:a,contractAddress:o,docsPath:u,functionName:l,sender:f}){const d=sm({abi:n,args:a,name:l}),p=d?M3({abiItem:d,args:a,includeFunctionName:!1,includeName:!1}):void 0,m=d?Si(d,{includeName:!0}):void 0,b=Ju({address:o&&CB(o),function:m,args:p&&p!=="()"&&`${[...Array(l?.length??0).keys()].map(()=>" ").join("")}${p}`,sender:f});super(t.shortMessage||`An unknown error occurred while executing the contract function "${l}".`,{cause:t,docsPath:u,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],b&&"Contract Call:",b].filter(Boolean),name:"ContractFunctionExecutionError"}),Object.defineProperty(this,"abi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"args",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contractAddress",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"formattedArgs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"functionName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sender",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abi=n,this.args=a,this.cause=t,this.contractAddress=o,this.functionName=l,this.sender=f}}class OB extends ie{constructor({abi:t,data:n,functionName:a,message:o,cause:u}){let l,f,d,p;if(n&&n!=="0x")try{f=vB({abi:t,data:n,cause:u});const{abiItem:b,errorName:g,args:v}=f;if(g==="Error")p=v[0];else if(g==="Panic"){const[x]=v;p=mB[x]}else{const x=b?Si(b,{includeName:!0}):void 0,S=b&&v?M3({abiItem:b,args:v,includeFunctionName:!1,includeName:!1}):void 0;d=[x?`Error: ${x}`:"",S&&S!=="()"?` ${[...Array(g?.length??0).keys()].map(()=>" ").join("")}${S}`:""]}}catch(b){l=b}else o&&(p=o);let m;l instanceof Jx&&(m=l.signature,d=[`Unable to decode signature "${m}" as it was not found on the provided ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${m}.`]),super(p&&p!=="execution reverted"||m?[`The contract function "${a}" reverted with the following ${m?"signature":"reason"}:`,p||m].join(`\n`):`The contract function "${a}" reverted.`,{cause:l??u,metaMessages:d,name:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"raw",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reason",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=f,this.raw=n,this.reason=p,this.signature=m}}class PB extends ie{constructor({functionName:t,cause:n}){super(`The contract function "${t}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",` - The contract does not have the function "${t}",`," - The parameters passed to the contract function may be invalid, or"," - The address is not a contract."],name:"ContractFunctionZeroDataError",cause:n})}}class zB extends ie{constructor({factory:t}){super(`Deployment for counterfactual contract call failed${t?` for factory "${t}".`:""}`,{metaMessages:["Please ensure:","- The `factory` is a valid contract deployment factory (ie. Create2 Factory, ERC-4337 Factory, etc).","- The `factoryData` is a valid encoded function call for contract deployment function on the factory."],name:"CounterfactualDeploymentFailedError"})}}class O3 extends ie{constructor({data:t,message:n}){super(n||"",{name:"RawContractError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t}}function Ke(e,t,n){const a=e[t.name];if(typeof a=="function")return a;const o=e[n];return typeof o=="function"?o:u=>t(e,u)}class Wo extends ie{constructor({body:t,cause:n,details:a,headers:o,status:u,url:l}){super("HTTP request failed.",{cause:n,details:a,metaMessages:[u&&`Status: ${u}`,`URL: ${um(l)}`,t&&`Request body: ${vi(t)}`].filter(Boolean),name:"HttpRequestError"}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=t,this.headers=o,this.status=u,this.url=l}}class cm extends ie{constructor({body:t,error:n,url:a}){super("RPC Request failed.",{cause:n,details:n.message,metaMessages:[`URL: ${um(a)}`,`Request body: ${vi(t)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=n.code,this.data=n.data,this.url=a}}class R2 extends ie{constructor({body:t,url:n}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${um(n)}`,`Request body: ${vi(t)}`],name:"TimeoutError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=n}}const BB=-1;class Jt extends ie{constructor(t,{code:n,docsPath:a,metaMessages:o,name:u,shortMessage:l}){super(l,{cause:t,docsPath:a,metaMessages:o||t?.metaMessages,name:u||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=u||t.name,this.code=t instanceof cm?t.code:n??BB}}class Wt extends Jt{constructor(t,n){super(t,n),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=n.data}}class yu extends Jt{constructor(t){super(t,{code:yu.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(yu,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class mu extends Jt{constructor(t){super(t,{code:mu.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(mu,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class bu extends Jt{constructor(t,{method:n}={}){super(t,{code:bu.code,name:"MethodNotFoundRpcError",shortMessage:`The method${n?` "${n}"`:""} does not exist / is not available.`})}}Object.defineProperty(bu,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class gu extends Jt{constructor(t){super(t,{code:gu.code,name:"InvalidParamsRpcError",shortMessage:["Invalid parameters were provided to the RPC method.","Double check you have provided the correct parameters."].join(`\n`)})}}Object.defineProperty(gu,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class pa extends Jt{constructor(t){super(t,{code:pa.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(pa,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class Ps extends Jt{constructor(t){super(t,{code:Ps.code,name:"InvalidInputRpcError",shortMessage:["Missing or invalid parameters.","Double check you have provided the correct parameters."].join(`\n`)})}}Object.defineProperty(Ps,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class vu extends Jt{constructor(t){super(t,{code:vu.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(vu,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class wi extends Jt{constructor(t){super(t,{code:wi.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(wi,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class wu extends Jt{constructor(t){super(t,{code:wu.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(wu,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class na extends Jt{constructor(t,{method:n}={}){super(t,{code:na.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${n?` "${n}"`:""} is not supported.`})}}Object.defineProperty(na,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class zs extends Jt{constructor(t){super(t,{code:zs.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(zs,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class xu extends Jt{constructor(t){super(t,{code:xu.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(xu,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class zt extends Wt{constructor(t){super(t,{code:zt.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(zt,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class Su extends Wt{constructor(t){super(t,{code:Su.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(Su,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class Eu extends Wt{constructor(t,{method:n}={}){super(t,{code:Eu.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${n?` " ${n}"`:""}.`})}}Object.defineProperty(Eu,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class Au extends Wt{constructor(t){super(t,{code:Au.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(Au,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class Tu extends Wt{constructor(t){super(t,{code:Tu.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(Tu,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class ya extends Wt{constructor(t){super(t,{code:ya.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(ya,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class Mu extends Wt{constructor(t){super(t,{code:Mu.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(Mu,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});class Ru extends Wt{constructor(t){super(t,{code:Ru.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(Ru,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class _u extends Wt{constructor(t){super(t,{code:_u.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty(_u,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class Cu extends Wt{constructor(t){super(t,{code:Cu.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty(Cu,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class Ou extends Wt{constructor(t){super(t,{code:Ou.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(Ou,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});class Pu extends Wt{constructor(t){super(t,{code:Pu.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(Pu,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750});class zu extends Wt{constructor(t){super(t,{code:zu.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(zu,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class Bu extends Wt{constructor(t){super(t,{code:Bu.code,name:"WalletConnectSessionSettlementError",shortMessage:"WalletConnect session settlement failed."})}}Object.defineProperty(Bu,"code",{enumerable:!0,configurable:!0,writable:!0,value:7e3});class IB extends Jt{constructor(t){super(t,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}const NB=3;function P3(e,{abi:t,address:n,args:a,docsPath:o,functionName:u,sender:l}){const f=e instanceof O3?e:e instanceof ie?e.walk(x=>"data"in x)||e.walk():{},{code:d,data:p,details:m,message:b,shortMessage:g}=f,v=e instanceof Jy?new PB({functionName:u,cause:e}):[NB,pa.code].includes(d)&&(p||m||b||g)||d===Ps.code&&m==="execution reverted"&&p?new OB({abi:t,data:typeof p=="object"?p.data:p,functionName:u,message:f instanceof cm?m:g??b,cause:e}):e;return new C3(v,{abi:t,args:a,contractAddress:n,docsPath:o,functionName:u,sender:l})}const LB="modulepreload",$B=function(e,t){return new URL(e,t).href},_2={},Hf=function(t,n,a){let o=Promise.resolve();if(n&&n.length>0){let p=function(m){return Promise.all(m.map(b=>Promise.resolve(b).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};const l=document.getElementsByTagName("link"),f=document.querySelector("meta[property=csp-nonce]"),d=f?.nonce||f?.getAttribute("nonce");o=p(n.map(m=>{if(m=$B(m,a),m in _2)return;_2[m]=!0;const b=m.endsWith(".css"),g=b?\'[rel="stylesheet"]\':"";if(a)for(let x=l.length-1;x>=0;x--){const S=l[x];if(S.href===m&&(!b||S.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${g}`))return;const v=document.createElement("link");if(v.rel=b?"stylesheet":LB,b||(v.as="script"),v.crossOrigin="",v.href=m,d&&v.setAttribute("nonce",d),document.head.appendChild(v),b)return new Promise((x,S)=>{v.addEventListener("load",x),v.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${m}`)))})}))}function u(l){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=l,window.dispatchEvent(f),!f.defaultPrevented)throw l}return o.then(l=>{for(const f of l||[])f.status==="rejected"&&u(f.reason);return t().catch(u)})},UB="0x82ad56cb",jB="0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe",kB="0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe",DB="0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572",z3="0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033",Qh="/docs/contract/encodeDeployData";function lm(e){const{abi:t,args:n,bytecode:a}=e;if(!n||n.length===0)return a;const o=t.find(l=>"type"in l&&l.type==="constructor");if(!o)throw new RP({docsPath:Qh});if(!("inputs"in o))throw new g2({docsPath:Qh});if(!o.inputs||o.inputs.length===0)throw new g2({docsPath:Qh});const u=u3(o.inputs,n);return zr([a,u])}function Bs(e,t){if(!Lt(e,{strict:!1}))throw new Mn({address:e});if(!Lt(t,{strict:!1}))throw new Mn({address:t});return e.toLowerCase()===t.toLowerCase()}function Ff(e){const{blockHash:t,blockNumber:n,blockTag:a,requireCanonical:o}=e;if(o!==void 0&&!t)throw new ie("`requireCanonical` can only be provided when `blockHash` is set.");return t?o?{blockHash:t,requireCanonical:o}:{blockHash:t}:typeof n=="bigint"?he(n):a??"latest"}class vs extends ie{constructor({cause:t,message:n}={}){const a=n?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${a?`with reason: ${a}`:"for an unknown reason"}.`,{cause:t,name:"ExecutionRevertedError"})}}Object.defineProperty(vs,"code",{enumerable:!0,configurable:!0,writable:!0,value:3});Object.defineProperty(vs,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted|gas required exceeds allowance/});class ma extends ie{constructor({cause:t,maxFeePerGas:n}={}){super(`The fee cap (\\`maxFeePerGas\\`${n?` = ${Xt(n)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:t,name:"FeeCapTooHighError"})}}Object.defineProperty(ma,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\\^256-1|fee cap higher than 2\\^256-1/});class Hp extends ie{constructor({cause:t,maxFeePerGas:n}={}){super(`The fee cap (\\`maxFeePerGas\\`${n?` = ${Xt(n)}`:""} gwei) cannot be lower than the block base fee.`,{cause:t,name:"FeeCapTooLowError"})}}Object.defineProperty(Hp,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/});class Fp extends ie{constructor({cause:t,nonce:n}={}){super(`Nonce provided for the transaction ${n?`(${n}) `:""}is higher than the next one expected.`,{cause:t,name:"NonceTooHighError"})}}Object.defineProperty(Fp,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class qp extends ie{constructor({cause:t,nonce:n}={}){super([`Nonce provided for the transaction ${n?`(${n}) `:""}is lower than the current nonce of the account.`,"Try increasing the nonce or find the latest nonce with `getTransactionCount`."].join(`\n`),{cause:t,name:"NonceTooLowError"})}}Object.defineProperty(qp,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class Gp extends ie{constructor({cause:t,nonce:n}={}){super(`Nonce provided for the transaction ${n?`(${n}) `:""}exceeds the maximum allowed nonce.`,{cause:t,name:"NonceMaxValueError"})}}Object.defineProperty(Gp,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class Vp extends ie{constructor({cause:t}={}){super(["The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account."].join(`\n`),{cause:t,metaMessages:["This error could arise when the account does not have enough funds to:"," - pay for the total gas fee,"," - pay for the value to send."," ","The cost of the transaction is calculated as `gas * gas fee + value`, where:"," - `gas` is the amount of gas needed for transaction to execute,"," - `gas fee` is the gas fee,"," - `value` is the amount of ether to send to the recipient."],name:"InsufficientFundsError"})}}Object.defineProperty(Vp,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class Kp extends ie{constructor({cause:t,gas:n}={}){super(`The amount of gas ${n?`(${n}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:t,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(Kp,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class Qp extends ie{constructor({cause:t,gas:n}={}){super(`The amount of gas ${n?`(${n}) `:""}provided for the transaction is too low.`,{cause:t,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(Qp,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class Yp extends ie{constructor({cause:t}){super("The transaction type is not supported for this chain.",{cause:t,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(Yp,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class Iu extends ie{constructor({cause:t,maxPriorityFeePerGas:n,maxFeePerGas:a}={}){super([`The provided tip (\\`maxPriorityFeePerGas\\`${n?` = ${Xt(n)} gwei`:""}) cannot be higher than the fee cap (\\`maxFeePerGas\\`${a?` = ${Xt(a)} gwei`:""}).`].join(`\n`),{cause:t,name:"TipAboveFeeCapError"})}}Object.defineProperty(Iu,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});class qf extends ie{constructor({cause:t}){super(`An error occurred while executing: ${t?.shortMessage}`,{cause:t,name:"UnknownNodeError"})}}function fm(e,t){const n=(e.details||"").toLowerCase(),a=e instanceof ie?e.walk(o=>o?.code===vs.code):e;return a instanceof ie?new vs({cause:e,message:a.details}):vs.nodeMessage.test(n)?new vs({cause:e,message:e.details}):ma.nodeMessage.test(n)?new ma({cause:e,maxFeePerGas:t?.maxFeePerGas}):Hp.nodeMessage.test(n)?new Hp({cause:e,maxFeePerGas:t?.maxFeePerGas}):Fp.nodeMessage.test(n)?new Fp({cause:e,nonce:t?.nonce}):qp.nodeMessage.test(n)?new qp({cause:e,nonce:t?.nonce}):Gp.nodeMessage.test(n)?new Gp({cause:e,nonce:t?.nonce}):Vp.nodeMessage.test(n)?new Vp({cause:e}):Kp.nodeMessage.test(n)?new Kp({cause:e,gas:t?.gas}):Qp.nodeMessage.test(n)?new Qp({cause:e,gas:t?.gas}):Yp.nodeMessage.test(n)?new Yp({cause:e}):Iu.nodeMessage.test(n)?new Iu({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new qf({cause:e})}function HB(e,{docsPath:t,...n}){const a=(()=>{const o=fm(e,n);return o instanceof qf?e:o})();return new _3(a,{docsPath:t,...n})}function Gf(e,{format:t}){if(!t)return{};const n={};function a(u){const l=Object.keys(u);for(const f of l)f in e&&(n[f]=e[f]),u[f]&&typeof u[f]=="object"&&!Array.isArray(u[f])&&a(u[f])}const o=t(e||{});return a(o),n}function dm(e,t){return({exclude:n,format:a})=>({exclude:n,format:(o,u)=>{const l=t(o,u);if(n)for(const f of n)delete l[f];return{...l,...a(o,u)}},type:e})}const FB={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function Gs(e,t){const n={};return typeof e.authorizationList<"u"&&(n.authorizationList=GB(e.authorizationList)),typeof e.accessList<"u"&&(n.accessList=e.accessList),typeof e.blobVersionedHashes<"u"&&(n.blobVersionedHashes=e.blobVersionedHashes),typeof e.blobs<"u"&&(typeof e.blobs[0]!="string"?n.blobs=e.blobs.map(a=>Ot(a)):n.blobs=e.blobs),typeof e.data<"u"&&(n.data=e.data),e.account&&(n.from=e.account.address),typeof e.from<"u"&&(n.from=e.from),typeof e.gas<"u"&&(n.gas=he(e.gas)),typeof e.gasPrice<"u"&&(n.gasPrice=he(e.gasPrice)),typeof e.maxFeePerBlobGas<"u"&&(n.maxFeePerBlobGas=he(e.maxFeePerBlobGas)),typeof e.maxFeePerGas<"u"&&(n.maxFeePerGas=he(e.maxFeePerGas)),typeof e.maxPriorityFeePerGas<"u"&&(n.maxPriorityFeePerGas=he(e.maxPriorityFeePerGas)),typeof e.nonce<"u"&&(n.nonce=he(e.nonce)),typeof e.to<"u"&&(n.to=e.to),typeof e.type<"u"&&(n.type=FB[e.type]),typeof e.value<"u"&&(n.value=he(e.value)),n}const qB=dm("transactionRequest",Gs);function GB(e){return e.map(t=>({address:t.address,r:t.r?he(BigInt(t.r)):t.r,s:t.s?he(BigInt(t.s)):t.s,chainId:he(t.chainId),nonce:he(t.nonce),...typeof t.yParity<"u"?{yParity:he(t.yParity)}:{},...typeof t.v<"u"&&typeof t.yParity>"u"?{v:he(t.v)}:{}}))}function VB(){let e=()=>{},t=()=>{};return{promise:new Promise((a,o)=>{e=a,t=o}),resolve:e,reject:t}}const Yh=new Map;function B3({fn:e,id:t,shouldSplitBatch:n,wait:a=0,sort:o}){const u=async()=>{const m=d();l();const b=m.map(({args:g})=>g);b.length!==0&&e(b).then(g=>{o&&Array.isArray(g)&&g.sort(o);for(let v=0;v<m.length;v++){const{resolve:x}=m[v];x?.([g[v],g])}}).catch(g=>{for(let v=0;v<m.length;v++){const{reject:x}=m[v];x?.(g)}})},l=()=>Yh.delete(t),f=()=>d().map(({args:m})=>m),d=()=>Yh.get(t)||[],p=m=>Yh.set(t,[...d(),m]);return{flush:l,async schedule(m){const{promise:b,resolve:g,reject:v}=VB();return n?.([...f(),m])&&u(),d().length>0?(p({args:m,resolve:g,reject:v}),b):(p({args:m,resolve:g,reject:v}),setTimeout(u,a),b)}}}function C2(e){if(!(!e||e.length===0))return e.reduce((t,{slot:n,value:a})=>{if(n.length!==66)throw new w2({size:n.length,targetSize:66,type:"hex"});if(a.length!==66)throw new w2({size:a.length,targetSize:66,type:"hex"});return t[n]=a,t},{})}function KB(e){const{balance:t,nonce:n,state:a,stateDiff:o,code:u}=e,l={};if(u!==void 0&&(l.code=u),t!==void 0&&(l.balance=he(t)),n!==void 0&&(l.nonce=he(n)),a!==void 0&&(l.state=C2(a)),o!==void 0){if(l.state)throw new EB;l.stateDiff=C2(o)}return l}function I3(e){if(!e)return;const t={};for(const{address:n,...a}of e){if(!Lt(n,{strict:!1}))throw new Mn({address:n});if(t[n])throw new SB({address:n});t[n]=KB(a)}return t}const Wu=2n**256n-1n;function ec(e){const{account:t,maxFeePerGas:n,maxPriorityFeePerGas:a,to:o}=e,u=t?Ut(t):void 0;if(u&&!Lt(u.address))throw new Mn({address:u.address});if(o&&!Lt(o))throw new Mn({address:o});if(n&&n>Wu)throw new ma({maxFeePerGas:n});if(a&&n&&a>n)throw new Iu({maxFeePerGas:n,maxPriorityFeePerGas:a})}async function N3(e,t){const{account:n=e.account,authorizationList:a,batch:o=!!e.batch?.multicall,blockHash:u,blockNumber:l,blockTag:f=e.experimental_blockTag??"latest",requireCanonical:d,accessList:p,blobs:m,blockOverrides:b,code:g,data:v,factory:x,factoryData:S,gas:E,gasPrice:R,maxFeePerBlobGas:z,maxFeePerGas:M,maxPriorityFeePerGas:O,nonce:_,requestOptions:B,to:C,value:I,stateOverride:j,...D}=t,Q=n?Ut(n):void 0;if(g&&(x||S))throw new ie("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(g&&C)throw new ie("Cannot provide both `code` & `to` as parameters.");const X=g&&v,ne=x&&S&&C&&v,oe=X||ne,ee=X?$3({code:g,data:v}):ne?WB({data:v,factory:x,factoryData:S,to:C}):v;try{ec(t);const $=Ff({blockHash:u,blockNumber:l,blockTag:f,requireCanonical:d}),G=b?k7(b):void 0,te=I3(j),ce=e.chain?.formatters?.transactionRequest?.format,N=(ce||Gs)({...Gf(D,{format:ce}),accessList:p,account:Q,authorizationList:a,blobs:m,data:ee,gas:E,gasPrice:R,maxFeePerBlobGas:z,maxFeePerGas:M,maxPriorityFeePerGas:O,nonce:_,to:oe?void 0:C,value:I},"call");if(o&&QB({request:N})&&!G&&u===void 0)try{const{deployless:ae=!1}=typeof e.batch?.multicall=="object"?e.batch.multicall:{},le=L3(e,{blockNumber:l,deployless:ae});if(!le||!JB(te,le))return await XB(e,{...N,blockHash:u,blockNumber:l,blockTag:f,multicallAddress:le,requestOptions:B,requireCanonical:d,rpcStateOverride:te})}catch(ae){if(!(ae instanceof T3)&&!(ae instanceof Dp))throw ae}const Y=(()=>{const ae=[N,$];return te&&G?[...ae,te,G]:te?[...ae,te]:G?[...ae,{},G]:ae})(),se=await e.request({method:"eth_call",params:Y},B);return se==="0x"?{data:void 0}:{data:se}}catch($){if(B?.signal?.aborted)throw Ti(B.signal);if(qs($))throw $;const G=eI($),{offchainLookup:te,offchainLookupSignature:ce}=await Hf(async()=>{const{offchainLookup:fe,offchainLookupSignature:N}=await import("./ccip-ffLBoZHD.js");return{offchainLookup:fe,offchainLookupSignature:N}},[],import.meta.url);if(e.ccipRead!==!1&&G?.slice(0,10)===ce&&C)return{data:await te(e,{data:G,requestOptions:B,to:C})};throw oe&&G?.slice(0,10)==="0x101bb98d"?new zB({factory:x}):HB($,{...t,account:Q,chain:e.chain})}}function QB({request:e}){const{data:t,to:n,...a}=e;return!(!t||t.startsWith(UB)||!n||Object.values(a).filter(o=>typeof o<"u").length>0)}let YB=0;const O2=new WeakMap;function ZB(e){if(!e)return"default";const t=O2.get(e);if(t!==void 0)return t;const n=YB++;return O2.set(e,n),n}async function XB(e,t){const{batchSize:n=1024,deployless:a=!1,wait:o=0}=typeof e.batch?.multicall=="object"?e.batch.multicall:{},{blockHash:u,blockNumber:l,blockTag:f=e.experimental_blockTag??"latest",requireCanonical:d,data:p,multicallAddress:m,requestOptions:b,rpcStateOverride:g,to:v}=t,x=m!==void 0?m:L3(e,{blockNumber:l,deployless:a}),S=Ff({blockHash:u,blockNumber:l,blockTag:f,requireCanonical:d}),E=typeof S=="string"?S:JSON.stringify(S),R=g?`.${JSON.stringify(g)}`:"",{schedule:z}=B3({id:`${e.uid}.${E}.${ZB(b)}${R}`,wait:o,shouldSplitBatch(_){return _.reduce((C,{data:I})=>C+(I.length-2),0)>n*2},fn:async _=>{const B=_.map(D=>({allowFailure:!0,callData:D.data,target:D.to})),C=Fs({abi:Np,args:[B],functionName:"aggregate3"}),I={...x===null?{data:$3({code:z3,data:C})}:{to:x,data:C}},j=await e.request({method:"eth_call",params:g?[I,S,g]:[I,S]},b);return A3({abi:Np,args:[B],functionName:"aggregate3",data:j||"0x"})}}),[{returnData:M,success:O}]=await z({data:p,to:v});if(!O)throw new O3({data:M});return M==="0x"?{data:void 0}:{data:M}}function L3(e,t){const{blockNumber:n,deployless:a}=t;if(a)return null;if(e.chain)return yB({blockNumber:n,chain:e.chain,contract:"multicall3"});throw new T3}function JB(e,t){return e?Object.keys(e).some(n=>Bs(n,t)):!1}function $3(e){const{code:t,data:n}=e;return lm({abi:x3(["constructor(bytes, bytes)"]),bytecode:jB,args:[t,n]})}function WB(e){const{data:t,factory:n,factoryData:a,to:o}=e;return lm({abi:x3(["constructor(address, bytes, address, bytes)"]),bytecode:kB,args:[o,t,n,a]})}function eI(e){if(!(e instanceof ie))return;const t=e.walk();return typeof t?.data=="object"?t.data?.data:t.data}async function Nu(e,t){const{abi:n,address:a,args:o,functionName:u,...l}=t,f=Fs({abi:n,args:o,functionName:u});try{const{data:d}=await Ke(e,N3,"call")({...l,data:f,to:a});return A3({abi:n,args:o,functionName:u,data:d||"0x"})}catch(d){throw P3(d,{abi:n,address:a,args:o,docsPath:"/docs/contract/readContract",functionName:u})}}function tI(e){const t=Ds(`0x${e.substring(4)}`).substring(26);return jf(`0x${t}`)}async function nI({hash:e,signature:t}){const n=Rr(e)?e:du(e),{secp256k1:a}=await Hf(async()=>{const{secp256k1:l}=await Promise.resolve().then(()=>S7);return{secp256k1:l}},void 0,import.meta.url);return`0x${(()=>{if(typeof t=="object"&&"r"in t&&"s"in t){const{r:p,s:m,v:b,yParity:g}=t,v=Number(g??b),x=P2(v);return new a.Signature(da(p),da(m)).addRecoveryBit(x)}const l=Rr(t)?t:du(t);if(st(l)!==65)throw new Error("invalid signature length");const f=Ei(`0x${l.slice(130)}`),d=P2(f);return a.Signature.fromCompact(l.substring(2,130)).addRecoveryBit(d)})().recoverPublicKey(n.substring(2)).toHex(!1)}`}function P2(e){if(e===0||e===1)return e;if(e===27)return 0;if(e===28)return 1;throw new Error("Invalid yParityOrV value")}async function Zp({hash:e,signature:t}){return tI(await nI({hash:e,signature:t}))}function ba(e,t="hex"){const n=U3(e),a=em(new Uint8Array(n.length));return n.encode(a),t==="hex"?Ot(a.bytes):a.bytes}function U3(e){return Array.isArray(e)?rI(e.map(t=>U3(t))):iI(e)}function rI(e){const t=e.reduce((o,u)=>o+u.length,0),n=j3(t);return{length:t<=55?1+t:1+n+t,encode(o){t<=55?o.pushByte(192+t):(o.pushByte(247+n),n===1?o.pushUint8(t):n===2?o.pushUint16(t):n===3?o.pushUint24(t):o.pushUint32(t));for(const{encode:u}of e)u(o)}}}function iI(e){const t=typeof e=="string"?Gn(e):e,n=j3(t.length);return{length:t.length===1&&t[0]<128?1:t.length<=55?1+t.length:1+n+t.length,encode(o){t.length===1&&t[0]<128?o.pushBytes(t):t.length<=55?(o.pushByte(128+t.length),o.pushBytes(t)):(o.pushByte(183+n),n===1?o.pushUint8(t.length):n===2?o.pushUint16(t.length):n===3?o.pushUint24(t.length):o.pushUint32(t.length),o.pushBytes(t))}}}function j3(e){if(e<2**8)return 1;if(e<2**16)return 2;if(e<2**24)return 3;if(e<2**32)return 4;throw new ie("Length is too large.")}function aI(e){const{chainId:t,nonce:n,to:a}=e,o=e.contractAddress??e.address,u=Ds(zr(["0x05",ba([t?he(t):"0x",o,n?he(n):"0x"])]));return a==="bytes"?Gn(u):u}async function hm(e){const{authorization:t,signature:n}=e;return Zp({hash:aI(t),signature:n??t})}class sI extends ie{constructor(t,{account:n,docsPath:a,chain:o,data:u,gas:l,gasPrice:f,maxFeePerGas:d,maxPriorityFeePerGas:p,nonce:m,to:b,value:g}){const v=Ju({from:n?.address,to:b,value:typeof g<"u"&&`${om(g)} ${o?.nativeCurrency?.symbol||"ETH"}`,data:u,gas:l,gasPrice:typeof f<"u"&&`${Xt(f)} gwei`,maxFeePerGas:typeof d<"u"&&`${Xt(d)} gwei`,maxPriorityFeePerGas:typeof p<"u"&&`${Xt(p)} gwei`,nonce:m});super(t.shortMessage,{cause:t,docsPath:a,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],"Estimate Gas Arguments:",v].filter(Boolean),name:"EstimateGasExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}}function oI(e,{docsPath:t,...n}){const a=(()=>{const o=fm(e,n);return o instanceof qf?e:o})();return new sI(a,{docsPath:t,...n})}class k3 extends ie{constructor(){super("`baseFeeMultiplier` must be greater than 1.",{name:"BaseFeeScalarError"})}}class pm extends ie{constructor(){super("Chain does not support EIP-1559 fees.",{name:"Eip1559FeesNotSupportedError"})}}class uI extends ie{constructor({maxPriorityFeePerGas:t}){super(`\\`maxFeePerGas\\` cannot be less than the \\`maxPriorityFeePerGas\\` (${Xt(t)} gwei).`,{name:"MaxFeePerGasTooLowError"})}}class cI extends ie{constructor({blockHash:t,blockNumber:n}){let a="Block";t&&(a=`Block at hash "${t}"`),n&&(a=`Block at number "${n}"`),super(`${a} could not be found.`,{name:"BlockNotFoundError"})}}const D3={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function Vf(e,t){const n={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,...e.blockTimestamp!=null&&{blockTimestamp:BigInt(e.blockTimestamp)},chainId:e.chainId?Ei(e.chainId):void 0,gas:e.gas?BigInt(e.gas):void 0,gasPrice:e.gasPrice?BigInt(e.gasPrice):void 0,maxFeePerBlobGas:e.maxFeePerBlobGas?BigInt(e.maxFeePerBlobGas):void 0,maxFeePerGas:e.maxFeePerGas?BigInt(e.maxFeePerGas):void 0,maxPriorityFeePerGas:e.maxPriorityFeePerGas?BigInt(e.maxPriorityFeePerGas):void 0,nonce:e.nonce?Ei(e.nonce):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?D3[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return e.authorizationList&&(n.authorizationList=fI(e.authorizationList)),n.yParity=(()=>{if(e.yParity)return Number(e.yParity);if(typeof n.v=="bigint"){if(n.v===0n||n.v===27n)return 0;if(n.v===1n||n.v===28n)return 1;if(n.v>=35n)return n.v%2n===0n?1:0}})(),n.type==="legacy"&&(delete n.accessList,delete n.maxFeePerBlobGas,delete n.maxFeePerGas,delete n.maxPriorityFeePerGas,delete n.yParity),n.type==="eip2930"&&(delete n.maxFeePerBlobGas,delete n.maxFeePerGas,delete n.maxPriorityFeePerGas),n.type==="eip1559"&&delete n.maxFeePerBlobGas,n}const lI=dm("transaction",Vf);function fI(e){return e.map(t=>({address:t.address,chainId:Number(t.chainId),nonce:Number(t.nonce),r:t.r,s:t.s,yParity:Number(t.yParity)}))}function dI(e,t){const n=(e.transactions??[]).map(a=>typeof a=="string"?a:Vf(a));return{...e,baseFeePerGas:e.baseFeePerGas?BigInt(e.baseFeePerGas):null,blobGasUsed:e.blobGasUsed?BigInt(e.blobGasUsed):void 0,difficulty:e.difficulty?BigInt(e.difficulty):void 0,excessBlobGas:e.excessBlobGas?BigInt(e.excessBlobGas):void 0,gasLimit:e.gasLimit?BigInt(e.gasLimit):void 0,gasUsed:e.gasUsed?BigInt(e.gasUsed):void 0,hash:e.hash?e.hash:null,logsBloom:e.logsBloom?e.logsBloom:null,nonce:e.nonce?e.nonce:null,number:e.number?BigInt(e.number):null,size:e.size?BigInt(e.size):void 0,timestamp:e.timestamp?BigInt(e.timestamp):void 0,transactions:n,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}async function Lu(e,{blockHash:t,blockNumber:n,blockTag:a=e.experimental_blockTag??"latest",includeTransactions:o}={}){const u=o??!1,l=n!==void 0?he(n):void 0;let f=null;if(t?f=await e.request({method:"eth_getBlockByHash",params:[t,u]},{dedupe:!0}):f=await e.request({method:"eth_getBlockByNumber",params:[l||a,u]},{dedupe:!!l}),!f)throw new cI({blockHash:t,blockNumber:n});return(e.chain?.formatters?.block?.format||dI)(f,"getBlock")}async function H3(e){const t=await e.request({method:"eth_gasPrice"});return BigInt(t)}async function hI(e,t){const{block:n,chain:a=e.chain,request:o}=t||{};try{const u=a?.fees?.maxPriorityFeePerGas??a?.fees?.defaultPriorityFee;if(typeof u=="function"){const f=n||await Ke(e,Lu,"getBlock")({}),d=await u({block:f,client:e,request:o});if(d===null)throw new Error;return d}if(typeof u<"u")return u;const l=await e.request({method:"eth_maxPriorityFeePerGas"});return da(l)}catch{const[u,l]=await Promise.all([n?Promise.resolve(n):Ke(e,Lu,"getBlock")({}),Ke(e,H3,"getGasPrice")({})]);if(typeof u.baseFeePerGas!="bigint")throw new pm;const f=l-u.baseFeePerGas;return f<0n?0n:f}}async function z2(e,t){const{block:n,chain:a=e.chain,request:o,type:u="eip1559"}=t||{},l=await(async()=>typeof a?.fees?.baseFeeMultiplier=="function"?a.fees.baseFeeMultiplier({block:n,client:e,request:o}):a?.fees?.baseFeeMultiplier??1.2)();if(l<1)throw new k3;const d=10**(l.toString().split(".")[1]?.length??0),p=g=>g*BigInt(Math.ceil(l*d))/BigInt(d),m=n||await Ke(e,Lu,"getBlock")({});if(typeof a?.fees?.estimateFeesPerGas=="function"){const g=await a.fees.estimateFeesPerGas({block:n,client:e,multiply:p,request:o,type:u});if(g!==null)return g}if(u==="eip1559"){if(typeof m.baseFeePerGas!="bigint")throw new pm;const g=typeof o?.maxPriorityFeePerGas=="bigint"?o.maxPriorityFeePerGas:await hI(e,{block:m,chain:a,request:o}),v=p(m.baseFeePerGas);return{maxFeePerGas:o?.maxFeePerGas??v+g,maxPriorityFeePerGas:g}}return{gasPrice:o?.gasPrice??p(await Ke(e,H3,"getGasPrice")({}))}}async function pI(e,{address:t,blockHash:n,blockNumber:a,blockTag:o="latest",requireCanonical:u}){const l=Ff({blockHash:n,blockNumber:a,blockTag:o,requireCanonical:u}),f=await e.request({method:"eth_getTransactionCount",params:[t,l]},{dedupe:typeof a=="bigint"||n!==void 0});return Ei(f)}function ym(e){const{kzg:t}=e,n=e.to??(typeof e.blobs[0]=="string"?"hex":"bytes"),a=typeof e.blobs[0]=="string"?e.blobs.map(u=>Gn(u)):e.blobs,o=[];for(const u of a)o.push(Uint8Array.from(t.blobToKzgCommitment(u)));return n==="bytes"?o:o.map(u=>Ot(u))}function mm(e){const{kzg:t}=e,n=e.to??(typeof e.blobs[0]=="string"?"hex":"bytes"),a=typeof e.blobs[0]=="string"?e.blobs.map(l=>Gn(l)):e.blobs,o=typeof e.commitments[0]=="string"?e.commitments.map(l=>Gn(l)):e.commitments,u=[];for(let l=0;l<a.length;l++){const f=a[l],d=o[l];u.push(Uint8Array.from(t.computeBlobKzgProof(f,d)))}return n==="bytes"?u:u.map(l=>Ot(l))}function yI(e,t){return Jw(Rr(e,{strict:!1})?Uf(e):e)}function mI(e){const{commitment:t,version:n=1}=e,a=e.to??(typeof t=="string"?"hex":"bytes"),o=yI(t);return o.set([n],0),a==="bytes"?o:Ot(o)}function F3(e){const{commitments:t,version:n}=e,a=e.to??(typeof t[0]=="string"?"hex":"bytes"),o=[];for(const u of t)o.push(mI({commitment:u,to:a,version:n}));return o}const B2=6,q3=32,bm=4096,G3=q3*bm,I2=G3*B2-1-1*bm*B2,V3=1;class bI extends ie{constructor({maxSize:t,size:n}){super("Blob size is too large.",{metaMessages:[`Max: ${t} bytes`,`Given: ${n} bytes`],name:"BlobSizeTooLargeError"})}}class K3 extends ie{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class gI extends ie{constructor({hash:t,size:n}){super(`Versioned hash "${t}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${n}`],name:"InvalidVersionedHashSizeError"})}}class vI extends ie{constructor({hash:t,version:n}){super(`Versioned hash "${t}" version is invalid.`,{metaMessages:[`Expected: ${V3}`,`Received: ${n}`],name:"InvalidVersionedHashVersionError"})}}function wI(e){const t=e.to??(typeof e.data=="string"?"hex":"bytes"),n=typeof e.data=="string"?Gn(e.data):e.data,a=st(n);if(!a)throw new K3;if(a>I2)throw new bI({maxSize:I2,size:a});const o=[];let u=!0,l=0;for(;u;){const f=em(new Uint8Array(G3));let d=0;for(;d<bm;){const p=n.slice(l,l+(q3-1));if(f.pushByte(0),f.pushBytes(p),p.length<31){f.pushByte(128),u=!1;break}d++,l+=31}o.push(f)}return t==="bytes"?o.map(f=>f.bytes):o.map(f=>Ot(f.bytes))}function Q3(e){const{data:t,kzg:n,to:a}=e,o=e.blobs??wI({data:t,to:a}),u=e.commitments??ym({blobs:o,kzg:n,to:a}),l=e.proofs??mm({blobs:o,commitments:u,kzg:n,to:a}),f=[];for(let d=0;d<o.length;d++)f.push({blob:o[d],commitment:u[d],proof:l[d]});return f}function gm(e){if(e.type)return e.type;if(typeof e.authorizationList<"u")return"eip7702";if(typeof e.blobs<"u"||typeof e.blobVersionedHashes<"u"||typeof e.maxFeePerBlobGas<"u"||typeof e.sidecars<"u")return"eip4844";if(typeof e.maxFeePerGas<"u"||typeof e.maxPriorityFeePerGas<"u")return"eip1559";if(typeof e.gasPrice<"u")return typeof e.accessList<"u"?"eip2930":"legacy";throw new MB({transaction:e})}function Y3(e,{docsPath:t,...n}){const a=(()=>{const o=fm(e,n);return o instanceof qf?e:o})();return new _B(a,{docsPath:t,...n})}async function lf(e){const t=await e.request({method:"eth_chainId"},{dedupe:!0});return Ei(t)}async function xI(e,t){const{account:n=e.account,accessList:a,authorizationList:o,chain:u=e.chain,blobVersionedHashes:l,blobs:f,data:d,gas:p,gasPrice:m,maxFeePerBlobGas:b,maxFeePerGas:g,maxPriorityFeePerGas:v,nonce:x,nonceManager:S,to:E,type:R,value:z,...M}=t,O=await(async()=>{if(!n||!S||typeof x<"u")return x;const I=Ut(n),j=u?u.id:await Ke(e,lf,"getChainId")({});return await S.consume({address:I.address,chainId:j,client:e})})();ec(t);const _=u?.formatters?.transactionRequest?.format,C=(_||Gs)({...Gf(M,{format:_}),account:n?Ut(n):void 0,accessList:a,authorizationList:o,blobs:f,blobVersionedHashes:l,data:d,gas:p,gasPrice:m,maxFeePerBlobGas:b,maxFeePerGas:g,maxPriorityFeePerGas:v,nonce:O,to:E,type:R,value:z},"fillTransaction");try{const I=await e.request({method:"eth_fillTransaction",params:[C]}),D=(u?.formatters?.transaction?.format||Vf)(I.tx);delete D.blockHash,delete D.blockNumber,delete D.r,delete D.s,delete D.transactionIndex,delete D.v,delete D.yParity,D.data=D.input,D.gas&&(D.gas=t.gas??D.gas),D.gasPrice&&(D.gasPrice=t.gasPrice??D.gasPrice),D.maxFeePerBlobGas&&(D.maxFeePerBlobGas=t.maxFeePerBlobGas??D.maxFeePerBlobGas),D.maxFeePerGas&&(D.maxFeePerGas=t.maxFeePerGas??D.maxFeePerGas),D.maxPriorityFeePerGas&&(D.maxPriorityFeePerGas=t.maxPriorityFeePerGas??D.maxPriorityFeePerGas),typeof D.nonce<"u"&&(D.nonce=t.nonce??D.nonce);const Q=await(async()=>{if(typeof u?.fees?.baseFeeMultiplier=="function"){const ee=await Ke(e,Lu,"getBlock")({});return u.fees.baseFeeMultiplier({block:ee,client:e,request:t})}return u?.fees?.baseFeeMultiplier??1.2})();if(Q<1)throw new k3;const ne=10**(Q.toString().split(".")[1]?.length??0),oe=ee=>ee*BigInt(Math.ceil(Q*ne))/BigInt(ne);return D.feePayerSignature||(D.maxFeePerGas&&!t.maxFeePerGas&&(D.maxFeePerGas=oe(D.maxFeePerGas)),D.gasPrice&&!t.gasPrice&&(D.gasPrice=oe(D.gasPrice))),{raw:I.raw,transaction:{from:C.from,...D},...I.capabilities?{capabilities:I.capabilities}:{}}}catch(I){throw Y3(I,{...t,chain:e.chain})}}const Z3=["blobVersionedHashes","chainId","fees","gas","nonce","type"],N2=new Map,Zh=new Xu(128);async function X3(e,t){let n=t;n.account??=e.account,n.parameters??=Z3;const{account:a,chain:o=e.chain,nonceManager:u,parameters:l}=n,f=(()=>{if(typeof o?.prepareTransactionRequest=="function")return{fn:o.prepareTransactionRequest,runAt:["beforeFillTransaction"]};if(Array.isArray(o?.prepareTransactionRequest))return{fn:o.prepareTransactionRequest[0],runAt:o.prepareTransactionRequest[1].runAt}})();let d;async function p(){return d||(typeof n.chainId<"u"?n.chainId:o?o.id:(d=await Ke(e,lf,"getChainId")({}),d))}const m=a&&Ut(a);let b=n.nonce;if(l.includes("nonce")&&typeof b>"u"&&m&&u){const O=await p();b=await u.consume({address:m.address,chainId:O,client:e})}f?.fn&&f.runAt?.includes("beforeFillTransaction")&&(n=await f.fn({...n,chain:o},{client:e,phase:"beforeFillTransaction"}),b??=n.nonce);const v=((l.includes("blobVersionedHashes")||l.includes("sidecars"))&&n.kzg&&n.blobs||Zh.get(e.uid)===!1||!["fees","gas"].some(_=>l.includes(_))?!1:!!(l.includes("chainId")&&typeof n.chainId!="number"||l.includes("nonce")&&typeof b!="number"||l.includes("fees")&&typeof n.gasPrice!="bigint"&&(typeof n.maxFeePerGas!="bigint"||typeof n.maxPriorityFeePerGas!="bigint")||l.includes("gas")&&typeof n.gas!="bigint"))?await Ke(e,xI,"fillTransaction")({...n,nonce:b}).then(O=>{const{chainId:_,from:B,gas:C,gasPrice:I,nonce:j,maxFeePerBlobGas:D,maxFeePerGas:Q,maxPriorityFeePerGas:X,type:ne,...oe}=O.transaction;return Zh.set(e.uid,!0),{...n,...B?{from:B}:{},...ne&&!n.type?{type:ne}:{},...typeof _<"u"?{chainId:_}:{},...typeof C<"u"?{gas:C}:{},...typeof I<"u"?{gasPrice:I}:{},...typeof j<"u"?{nonce:j}:{},...typeof D<"u"&&n.type!=="legacy"&&n.type!=="eip2930"?{maxFeePerBlobGas:D}:{},...typeof Q<"u"&&n.type!=="legacy"&&n.type!=="eip2930"?{maxFeePerGas:Q}:{},...typeof X<"u"&&n.type!=="legacy"&&n.type!=="eip2930"?{maxPriorityFeePerGas:X}:{},..."nonceKey"in oe&&typeof oe.nonceKey<"u"?{nonceKey:oe.nonceKey}:{},..."keyAuthorization"in oe&&typeof oe.keyAuthorization<"u"&&oe.keyAuthorization!==null&&!("keyAuthorization"in n)?{keyAuthorization:oe.keyAuthorization}:{},..."feePayerSignature"in oe&&typeof oe.feePayerSignature<"u"&&oe.feePayerSignature!==null?{feePayerSignature:oe.feePayerSignature}:{},..."feeToken"in oe&&typeof oe.feeToken<"u"&&oe.feeToken!==null&&!("feeToken"in n)?{feeToken:oe.feeToken}:{},...O.capabilities?{_capabilities:O.capabilities}:{}}}).catch(O=>{const _=O;if(_.name!=="TransactionExecutionError")return n;if(_.walk?.(I=>I.name==="ExecutionRevertedError"))throw O;return _.walk?.(I=>{const j=I;return j.name==="MethodNotFoundRpcError"||j.name==="MethodNotSupportedRpcError"||j.message?.includes("eth_fillTransaction is not available")})&&Zh.set(e.uid,!1),n}):n;b??=v.nonce,n={...v,...m?{from:m?.address}:{},...typeof b<"u"?{nonce:b}:{}};const{blobs:x,gas:S,kzg:E,type:R}=n;f?.fn&&f.runAt?.includes("beforeFillParameters")&&(n=await f.fn({...n,chain:o},{client:e,phase:"beforeFillParameters"}));let z;async function M(){return z||(z=await Ke(e,Lu,"getBlock")({blockTag:"latest"}),z)}if(l.includes("nonce")&&typeof b>"u"&&m&&!u&&(n.nonce=await Ke(e,pI,"getTransactionCount")({address:m.address,blockTag:"pending"})),(l.includes("blobVersionedHashes")||l.includes("sidecars"))&&x&&E){const O=ym({blobs:x,kzg:E});if(l.includes("blobVersionedHashes")){const _=F3({commitments:O,to:"hex"});n.blobVersionedHashes=_}if(l.includes("sidecars")){const _=mm({blobs:x,commitments:O,kzg:E}),B=Q3({blobs:x,commitments:O,proofs:_,to:"hex"});n.sidecars=B}}if(l.includes("chainId")&&(n.chainId=await p()),(l.includes("fees")||l.includes("type"))&&typeof R>"u")try{n.type=gm(n)}catch{let O=N2.get(e.uid);typeof O>"u"&&(O=typeof(await M())?.baseFeePerGas=="bigint",N2.set(e.uid,O)),n.type=O?"eip1559":"legacy"}if(l.includes("fees"))if(n.type!=="legacy"&&n.type!=="eip2930"){if(typeof n.maxFeePerGas>"u"||typeof n.maxPriorityFeePerGas>"u"){const O=await M(),{maxFeePerGas:_,maxPriorityFeePerGas:B}=await z2(e,{block:O,chain:o,request:n});if(typeof n.maxPriorityFeePerGas>"u"&&n.maxFeePerGas&&n.maxFeePerGas<B)throw new uI({maxPriorityFeePerGas:B});n.maxPriorityFeePerGas=B,n.maxFeePerGas=_}}else{if(typeof n.maxFeePerGas<"u"||typeof n.maxPriorityFeePerGas<"u")throw new pm;if(typeof n.gasPrice>"u"){const O=await M(),{gasPrice:_}=await z2(e,{block:O,chain:o,request:n,type:"legacy"});n.gasPrice=_}}return l.includes("gas")&&typeof S>"u"&&(n.gas=await Ke(e,SI,"estimateGas")({...n,account:m,prepare:m?.type==="local"?[]:["blobVersionedHashes"]})),f?.fn&&f.runAt?.includes("afterFillParameters")&&(n=await f.fn({...n,chain:o},{client:e,phase:"afterFillParameters"})),ec(n),delete n.parameters,n}async function SI(e,t){const{account:n=e.account,prepare:a=!0}=t,o=n?Ut(n):void 0,u=(()=>{if(Array.isArray(a))return a;if(o?.type!=="local")return["blobVersionedHashes"]})();try{const l=await(async()=>{if(t.to)return t.to;if(t.authorizationList&&t.authorizationList.length>0)return await hm({authorization:t.authorizationList[0]}).catch(()=>{throw new ie("`to` is required. Could not infer from `authorizationList`")})})(),{accessList:f,authorizationList:d,blobs:p,blobVersionedHashes:m,blockNumber:b,blockTag:g,data:v,gas:x,gasPrice:S,maxFeePerBlobGas:E,maxFeePerGas:R,maxPriorityFeePerGas:z,nonce:M,value:O,stateOverride:_,...B}=a?await X3(e,{...t,parameters:u,to:l}):t;if(x&&t.gas!==x)return x;const I=(typeof b=="bigint"?he(b):void 0)||g,j=I3(_);ec(t);const D=e.chain?.formatters?.transactionRequest?.format,X=(D||Gs)({...Gf(B,{format:D}),account:o,accessList:f,authorizationList:d,blobs:p,blobVersionedHashes:m,data:v,gasPrice:S,maxFeePerBlobGas:E,maxFeePerGas:R,maxPriorityFeePerGas:z,nonce:M,to:l,value:O},"estimateGas");return BigInt(await e.request({method:"eth_estimateGas",params:j?[X,I??e.experimental_blockTag??"latest",j]:I?[X,I]:[X]}))}catch(l){throw oI(l,{...t,account:o,chain:e.chain})}}function J3(e,{args:t,eventName:n}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,blockTimestamp:e.blockTimestamp?BigInt(e.blockTimestamp):e.blockTimestamp===null?null:void 0,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...n?{args:t,eventName:n}:{}}}const EI={"0x0":"reverted","0x1":"success"};function W3(e,t){const n={...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs?e.logs.map(a=>J3(a)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Ei(e.transactionIndex):null,status:e.status?EI[e.status]:null,type:e.type?D3[e.type]||e.type:null};return e.blobGasPrice&&(n.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(n.blobGasUsed=BigInt(e.blobGasUsed)),n}const AI=dm("transactionReceipt",W3);async function eS(e,{address:t,blockHash:n,blockNumber:a,blockTag:o="latest",requireCanonical:u}){const l=Ff({blockHash:n,blockNumber:a,blockTag:o,requireCanonical:u}),f=await e.request({method:"eth_getCode",params:[t,l]},{dedupe:typeof a=="bigint"||n!==void 0});if(f!=="0x")return f}const L2="/docs/contract/decodeEventLog";function $2(e){const{abi:t,data:n,strict:a,topics:o}=e,u=a??!0,[l,...f]=o;if(!l)throw new PP({docsPath:L2});const d=t.find(R=>R.type==="event"&&l===im(Si(R)));if(!(d&&"name"in d)||d.type!=="event")throw new zP(l,{docsPath:L2});const{name:p,inputs:m}=d,b=m?.some(R=>!("name"in R&&R.name)),g=b?[]:{},v=m.map((R,z)=>[R,z]).filter(([R])=>"indexed"in R&&R.indexed),x=[];for(let R=0;R<v.length;R++){const[z,M]=v[R],O=f[R];if(!O){if(u)throw new NP({abiItem:d,param:z});x.push([z,M]);continue}g[b?M:z.name||M]=TI({param:z,value:O})}const S=m.filter(R=>!("indexed"in R&&R.indexed)),E=u?S:[...x.map(([R])=>R),...S];if(E.length>0){if(n&&n!=="0x")try{const R=kf(E,n);if(R){let z=0;if(!u)for(const[M,O]of x)g[b?O:M.name||O]=R[z++];if(b)for(let M=0;M<m.length;M++)g[M]===void 0&&z<R.length&&(g[M]=R[z++]);else for(let M=0;M<S.length;M++)g[S[M].name]=R[z++]}}catch(R){if(u)throw R instanceof Xx||R instanceof i3?new v2({abiItem:d,data:n,params:E,size:st(n)}):R}else if(u)throw new v2({abiItem:d,data:"0x",params:E,size:0})}return{eventName:p,args:Object.values(g).length>0?g:void 0}}function TI({param:e,value:t}){return e.type==="string"||e.type==="bytes"||e.type==="tuple"||e.type.match(/^(.*)\\[(\\d+)?\\]$/)?t:(kf([e],t)||[])[0]}function vm(e){const{abi:t,args:n,logs:a,strict:o=!0}=e,u=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})(),l=t.filter(f=>f.type==="event").map(f=>({abi:f,selector:im(f)}));return a.map(f=>{const d=typeof f.blockNumber=="string"?J3(f):f,p=l.filter(g=>d.topics[0]===g.selector);if(p.length===0)return null;let m,b;for(const g of p)try{m=$2({...d,abi:[g.abi],strict:!0}),b=g;break}catch{}if(!m&&!o){b=p[0];try{m=$2({data:d.data,topics:d.topics,abi:[b.abi],strict:!1})}catch{const g=b.abi.inputs?.some(v=>!("name"in v&&v.name));return{...d,args:g?[]:{},eventName:b.abi.name}}}return!m||!b||u&&!u.includes(m.eventName)||!MI({args:m.args,inputs:b.abi.inputs,matchArgs:n})?null:{...m,...d}}).filter(Boolean)}function MI(e){const{args:t,inputs:n,matchArgs:a}=e;if(!a)return!0;if(!t)return!1;function o(u,l,f){try{return u.type==="address"?Bs(l,f):u.type==="string"||u.type==="bytes"?Ds(Uf(l))===f:l===f}catch{return!1}}return Array.isArray(t)&&Array.isArray(a)?a.every((u,l)=>{if(u==null)return!0;const f=n[l];return f?(Array.isArray(u)?u:[u]).some(p=>o(f,p,t[l])):!1}):typeof t=="object"&&!Array.isArray(t)&&typeof a=="object"&&!Array.isArray(a)?Object.entries(a).every(([u,l])=>{if(l==null)return!0;const f=n.find(p=>p.name===u);return f?(Array.isArray(l)?l:[l]).some(p=>o(f,p,t[u])):!1}):!1}function RI(e){const{authorizationList:t}=e;if(t)for(const n of t){const{chainId:a}=n,o=n.address;if(!Lt(o))throw new Mn({address:o});if(a<0)throw new Df({chainId:a})}wm(e)}function _I(e){const{blobVersionedHashes:t}=e;if(t){if(t.length===0)throw new K3;for(const n of t){const a=st(n),o=Ei(hu(n,0,1));if(a!==32)throw new gI({hash:n,size:a});if(o!==V3)throw new vI({hash:n,version:o})}}wm(e)}function wm(e){const{chainId:t,maxPriorityFeePerGas:n,maxFeePerGas:a,to:o}=e;if(t<=0)throw new Df({chainId:t});if(o&&!Lt(o))throw new Mn({address:o});if(a&&a>Wu)throw new ma({maxFeePerGas:a});if(n&&a&&n>a)throw new Iu({maxFeePerGas:a,maxPriorityFeePerGas:n})}function CI(e){const{chainId:t,maxPriorityFeePerGas:n,gasPrice:a,maxFeePerGas:o,to:u}=e;if(t<=0)throw new Df({chainId:t});if(u&&!Lt(u))throw new Mn({address:u});if(n||o)throw new ie("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(a&&a>Wu)throw new ma({maxFeePerGas:a})}function OI(e){const{chainId:t,maxPriorityFeePerGas:n,gasPrice:a,maxFeePerGas:o,to:u}=e;if(u&&!Lt(u))throw new Mn({address:u});if(typeof t<"u"&&t<=0)throw new Df({chainId:t});if(n||o)throw new ie("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(a&&a>Wu)throw new ma({maxFeePerGas:a})}function Kf(e){if(!e||e.length===0)return[];const t=[];for(let n=0;n<e.length;n++){const{address:a,storageKeys:o}=e[n];for(let u=0;u<o.length;u++)if(o[u].length-2!==64)throw new RB({storageKey:o[u]});if(!Lt(a,{strict:!1}))throw new Mn({address:a});t.push([a,o])}return t}function U2(e,t){const n=gm(e);return n==="eip1559"?BI(e,t):n==="eip2930"?II(e,t):n==="eip4844"?zI(e,t):n==="eip7702"?PI(e,t):NI(e,t)}function PI(e,t){const{authorizationList:n,chainId:a,gas:o,nonce:u,to:l,value:f,maxFeePerGas:d,maxPriorityFeePerGas:p,accessList:m,data:b}=e;RI(e);const g=Kf(m),v=LI(n);return zr(["0x04",ba([he(a),u?he(u):"0x",p?he(p):"0x",d?he(d):"0x",o?he(o):"0x",l??"0x",f?he(f):"0x",b??"0x",g,v,...tc(e,t)])])}function zI(e,t){const{chainId:n,gas:a,nonce:o,to:u,value:l,maxFeePerBlobGas:f,maxFeePerGas:d,maxPriorityFeePerGas:p,accessList:m,data:b}=e;_I(e);let g=e.blobVersionedHashes,v=e.sidecars;if(e.blobs&&(typeof g>"u"||typeof v>"u")){const M=typeof e.blobs[0]=="string"?e.blobs:e.blobs.map(B=>Ot(B)),O=e.kzg,_=ym({blobs:M,kzg:O});if(typeof g>"u"&&(g=F3({commitments:_})),typeof v>"u"){const B=mm({blobs:M,commitments:_,kzg:O});v=Q3({blobs:M,commitments:_,proofs:B})}}const x=Kf(m),S=[he(n),o?he(o):"0x",p?he(p):"0x",d?he(d):"0x",a?he(a):"0x",u??"0x",l?he(l):"0x",b??"0x",x,f?he(f):"0x",g??[],...tc(e,t)],E=[],R=[],z=[];if(v)for(let M=0;M<v.length;M++){const{blob:O,commitment:_,proof:B}=v[M];E.push(O),R.push(_),z.push(B)}return zr(["0x03",ba(v?[S,E,R,z]:S)])}function BI(e,t){const{chainId:n,gas:a,nonce:o,to:u,value:l,maxFeePerGas:f,maxPriorityFeePerGas:d,accessList:p,data:m}=e;wm(e);const b=Kf(p),g=[he(n),o?he(o):"0x",d?he(d):"0x",f?he(f):"0x",a?he(a):"0x",u??"0x",l?he(l):"0x",m??"0x",b,...tc(e,t)];return zr(["0x02",ba(g)])}function II(e,t){const{chainId:n,gas:a,data:o,nonce:u,to:l,value:f,accessList:d,gasPrice:p}=e;CI(e);const m=Kf(d),b=[he(n),u?he(u):"0x",p?he(p):"0x",a?he(a):"0x",l??"0x",f?he(f):"0x",o??"0x",m,...tc(e,t)];return zr(["0x01",ba(b)])}function NI(e,t){const{chainId:n=0,gas:a,data:o,nonce:u,to:l,value:f,gasPrice:d}=e;OI(e);let p=[u?he(u):"0x",d?he(d):"0x",a?he(a):"0x",l??"0x",f?he(f):"0x",o??"0x"];if(t){const m=(()=>{if(t.v>=35n)return(t.v-35n)/2n>0?t.v:27n+(t.v===35n?0n:1n);if(n>0)return BigInt(n*2)+BigInt(35n+t.v-27n);const v=27n+(t.v===27n?0n:1n);if(t.v!==v)throw new TB({v:t.v});return v})(),b=qn(t.r),g=qn(t.s);p=[...p,he(m),b==="0x00"?"0x":b,g==="0x00"?"0x":g]}else n>0&&(p=[...p,he(n),"0x","0x"]);return ba(p)}function tc(e,t){const n=t??e,{v:a,yParity:o}=n;if(typeof n.r>"u")return[];if(typeof n.s>"u")return[];if(typeof a>"u"&&typeof o>"u")return[];const u=qn(n.r),l=qn(n.s);return[typeof o=="number"?o?he(1):"0x":a===0n?"0x":a===1n?he(1):a===27n?"0x":he(1),u==="0x00"?"0x":u,l==="0x00"?"0x":l]}function LI(e){if(!e||e.length===0)return[];const t=[];for(const n of e){const{chainId:a,nonce:o,...u}=n,l=n.address;t.push([a?du(a):"0x",l,o?du(o):"0x",...tc({},u)])}return t}async function $I({address:e,authorization:t,signature:n}){return Bs(ta(e),await hm({authorization:t,signature:n}))}const Il=new Xu(8192);function UI(e,{enabled:t=!0,id:n}){if(!t||!n)return e();if(Il.get(n))return Il.get(n);const a=e().finally(()=>Il.delete(n));return Il.set(n,a),a}async function jI(e,{signal:t}={}){return new Promise((n,a)=>{if(t?.aborted){a(Ti(t));return}const o=()=>t?.removeEventListener("abort",l),u=setTimeout(()=>{o(),n()},e),l=()=>{clearTimeout(u),o(),a(Ti(t))};t?.addEventListener("abort",l,{once:!0})})}function tS(e,{delay:t=100,retryCount:n=2,shouldRetry:a=()=>!0,signal:o}={}){return new Promise((u,l)=>{const f=async({count:d=0}={})=>{if(o?.aborted){l(Ti(o));return}const p=async({error:m})=>{const b=typeof t=="function"?t({count:d,error:m}):t;if(b)try{await jI(b,{signal:o})}catch(g){l(g);return}f({count:d+1})};try{const m=await e();u(m)}catch(m){if(o?.aborted){l(Ti(o));return}if(qs(m)){l(m);return}if(d<n&&await a({count:d,error:m}))return p({error:m});l(m)}};f()})}function kI(e,t={}){return async(n,a={})=>{const{dedupe:o=!1,methods:u,retryDelay:l=150,retryCount:f=3,signal:d,uid:p}={...t,...a},{method:m}=n;if(u?.exclude?.includes(m))throw new na(new Error("method not supported"),{method:m});if(u?.include&&!u.include.includes(m))throw new na(new Error("method not supported"),{method:m});if(d?.aborted)throw Ti(d);const b=o?HI(`${p}.${vi(n)}`):void 0;return UI(()=>tS(async()=>{try{return await e(n,d?{signal:d}:void 0)}catch(g){if(d?.aborted)throw Ti(d);if(qs(g))throw g;const v=g;switch(v.code){case yu.code:throw new yu(v);case mu.code:throw new mu(v);case bu.code:throw new bu(v,{method:n.method});case gu.code:throw new gu(v);case pa.code:throw new pa(v);case Ps.code:throw new Ps(v);case vu.code:throw new vu(v);case wi.code:throw new wi(v);case wu.code:throw new wu(v);case na.code:throw new na(v,{method:n.method});case zs.code:throw new zs(v);case xu.code:throw new xu(v);case zt.code:throw new zt(v);case Su.code:throw new Su(v);case Eu.code:throw new Eu(v);case Au.code:throw new Au(v);case Tu.code:throw new Tu(v);case ya.code:throw new ya(v);case Mu.code:throw new Mu(v);case Ru.code:throw new Ru(v);case _u.code:throw new _u(v);case Cu.code:throw new Cu(v);case Ou.code:throw new Ou(v);case Pu.code:throw new Pu(v);case zu.code:throw new zu(v);case 5e3:throw new zt(v);case Bu.code:throw new Bu(v);default:throw g instanceof ie?g:new IB(v)}}},{delay:({count:g,error:v})=>{if(v&&v instanceof Wo){const x=v?.headers?.get("Retry-After");if(x?.match(/\\d/))return Number.parseInt(x,10)*1e3}return~~(1<<g)*l},retryCount:f,signal:d,shouldRetry:({error:g})=>DI(g)}),{enabled:o,id:b})}}function DI(e){return qs(e)?!1:"code"in e&&typeof e.code=="number"?e.code===-1||e.code===zs.code||e.code===pa.code||e.code===429:e instanceof Wo&&e.status?e.status===403||e.status===408||e.status===413||e.status===429||e.status===500||e.status===502||e.status===503||e.status===504:!0}function HI(e,t=0){let n=3735928559^t,a=1103547991^t;for(let o=0;o<e.length;o++){const u=e.charCodeAt(o);n=Math.imul(n^u,2654435761),a=Math.imul(a^u,1597334677)}return n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(a^a>>>16,3266489909),a=Math.imul(a^a>>>16,2246822507),a^=Math.imul(n^n>>>16,3266489909),(4294967296*(2097151&a)+(n>>>0)).toString(36)}function FI({chain:e,currentChainId:t}){if(!e)throw new pB;if(t!==e.id)throw new hB({chain:e,currentChainId:t})}function nS(e){const t={formatters:void 0,fees:void 0,serializers:void 0,...e};function n(a){return o=>{const u=typeof o=="function"?o(a):o,l={...a,...u};return Object.assign(l,{extend:n(l)})}}return Object.assign(t,{extend:n(t)})}function qI(){return{}}function rS(e,{errorInstance:t=new Error("timed out"),timeout:n,signal:a}){return new Promise((o,u)=>{(async()=>{let l;const f=new AbortController;try{n>0&&(l=setTimeout(()=>{a?f.abort():u(t)},n)),o(await e({signal:f?.signal||null}))}catch(d){if(f?.signal.aborted&&qs(d)){u(t);return}u(d)}finally{clearTimeout(l)}})()})}function GI(){return{current:0,take(){return this.current++},reset(){this.current=0}}}const j2=GI();function VI(e,t={}){const{url:n,headers:a}=KI(e);return{async request(o){const{body:u,fetchFn:l=t.fetchFn??fetch,onRequest:f=t.onRequest,onResponse:d=t.onResponse,timeout:p=t.timeout??1e4}=o,m={...t.fetchOptions??{},...o.fetchOptions??{}},{headers:b,method:g,signal:v}=m;try{const x=await rS(async({signal:E})=>{const R={...m,body:Array.isArray(u)?vi(u.map(_=>({jsonrpc:"2.0",id:_.id??j2.take(),..._}))):vi({jsonrpc:"2.0",id:u.id??j2.take(),...u}),headers:{...a,"Content-Type":"application/json",...b},method:g||"POST",signal:v||(p>0?E:null)},z=new Request(n,R),M=await f?.(z,R)??{...R,url:n};return await l(M.url??n,M)},{errorInstance:new R2({body:u,url:n}),timeout:p,signal:!0});d&&await d(x);let S;if(x.headers.get("Content-Type")?.startsWith("application/json"))S=await x.json();else{S=await x.text();try{S=JSON.parse(S||"{}")}catch(E){if(x.ok)throw E;S={error:S}}}if(!x.ok){if(typeof S.error?.code=="number"&&typeof S.error?.message=="string")return S;throw new Wo({body:u,details:vi(S.error)||x.statusText,headers:x.headers,status:x.status,url:n})}return S}catch(x){throw v?.aborted?Ti(v):qs(x)||x instanceof Wo||x instanceof R2?x:new Wo({body:u,cause:x,url:n})}}}}function KI(e){try{const t=new URL(e),n=(()=>{if(t.username){const a=`${decodeURIComponent(t.username)}:${decodeURIComponent(t.password)}`;return t.username="",t.password="",{url:t.toString(),headers:{Authorization:`Basic ${btoa(a)}`}}}})();return{url:t.toString(),...n}}catch{return{url:e}}}const QI="0x8010801080108010801080108010801080108010801080108010801080108010",YI=mx("(uint256 chainId, address delegation, uint256 nonce, uint8 yParity, uint256 r, uint256 s), address to, bytes data");function iS(e){if(typeof e=="string"){if(Ee(e,-32)!==QI)throw new JI(e)}else If(e.authorization)}function ZI(e){iS(e);const t=Of(Ee(e,-64,-32)),n=Ee(e,-t-64,-64),a=Ee(e,0,-t-64),[o,u,l]=jO(YI,n);return{authorization:z7({address:o.delegation,chainId:Number(o.chainId),nonce:o.nonce,yParity:o.yParity,r:o.r,s:o.s}),signature:a,...l&&l!=="0x"?{data:l,to:u}:{}}}function XI(e){try{return iS(e),!0}catch{return!1}}let JI=class extends ye{constructor(t){super(`Value \\`${t}\\` is an invalid ERC-8010 wrapped signature.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureErc8010.InvalidWrappedSignatureError"})}};const aS="0x6492649264926492649264926492649264926492649264926492649264926492";function WI(e){if(Ee(e,-32)!==aS)throw new nN(e)}function eN(e){const{data:t,signature:n,to:a}=e;return tt(kO(mx("address, bytes, bytes"),[a,t,n]),aS)}function tN(e){try{return WI(e),!0}catch{return!1}}class nN extends ye{constructor(t){super(`Value \\`${t}\\` is an invalid ERC-6492 wrapped signature.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureErc6492.InvalidWrappedSignatureError"})}}function rN({r:e,s:t,to:n="hex",v:a,yParity:o}){const u=(()=>{if(o===0||o===1)return o;if(a&&(a===27n||a===28n||a>=35n))return a%2n===0n?1:0;throw new Error("Invalid `v` or `yParity` value")})(),l=`0x${new Bf.Signature(da(e),da(t)).toCompactHex()}${u===0?"1b":"1c"}`;return n==="hex"?l:Gn(l)}async function iN(e,t){const{address:n,chain:a=e.chain,hash:o,erc6492VerifierAddress:u=t.universalSignatureVerifierAddress??a?.contracts?.erc6492Verifier?.address,multicallAddress:l=t.multicallAddress??a?.contracts?.multicall3?.address,mode:f="auto"}=t;if(a?.verifyHash)return await a.verifyHash(e,t);const d=(()=>{const p=t.signature;return Rr(p)?p:typeof p=="object"&&"r"in p&&"s"in p?rN(p):Ot(p)})();try{if(f==="eoa")try{if(Bs(ta(n),await Zp({hash:o,signature:d})))return!0}catch{}return XI(d)?await aN(e,{...t,multicallAddress:l,signature:d}):await sN(e,{...t,verifierAddress:u,signature:d})}catch(p){if(f!=="eoa")try{if(Bs(ta(n),await Zp({hash:o,signature:d})))return!0}catch{}if(p instanceof ga)return!1;throw p}}async function aN(e,t){const{address:n,blockNumber:a,blockTag:o,hash:u,multicallAddress:l}=t,{authorization:f,data:d,signature:p,to:m}=ZI(t.signature);if(await eS(e,{address:n,blockNumber:a,blockTag:o})===zr(["0xef0100",f.address]))return await oN(e,{address:n,blockNumber:a,blockTag:o,hash:u,signature:p});const g={address:f.address,chainId:Number(f.chainId),nonce:Number(f.nonce),r:he(f.r,{size:32}),s:he(f.s,{size:32}),yParity:f.yParity};if(!await $I({address:n,authorization:g}))throw new ga;const x=await Ke(e,Nu,"readContract")({...l?{address:l}:{code:z3},authorizationList:[g],abi:Np,blockNumber:a,blockTag:"pending",functionName:"aggregate3",args:[[...d?[{allowFailure:!0,target:m??n,callData:d}]:[],{allowFailure:!0,target:n,callData:Fs({abi:Qx,functionName:"isValidSignature",args:[u,p]})}]]});if(x[x.length-1]?.returnData?.startsWith("0x1626ba7e"))return!0;throw new ga}async function sN(e,t){const{address:n,factory:a,factoryData:o,hash:u,signature:l,verifierAddress:f,...d}=t,p=await(async()=>!a&&!o||tN(l)?l:eN({data:o,signature:l,to:a}))(),m=f?{to:f,data:Fs({abi:b2,functionName:"isValidSig",args:[n,u,p]}),...d}:{data:lm({abi:b2,args:[n,u,p],bytecode:DB}),...d},{data:b}=await Ke(e,N3,"call")(m).catch(g=>{throw g instanceof _3?new ga:g});if(qP(b??"0x0"))return!0;throw new ga}async function oN(e,t){const{address:n,blockNumber:a,blockTag:o,hash:u,signature:l}=t;if((await Ke(e,Nu,"readContract")({address:n,abi:Qx,args:[u,l],blockNumber:a,blockTag:o,functionName:"isValidSignature"}).catch(d=>{throw d instanceof C3?new ga:d})).startsWith("0x1626ba7e"))return!0;throw new ga}let ga=class extends Error{};class sS extends ie{constructor({docsPath:t}={}){super(["Could not find an Account to execute with this Action.","Please provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client."].join(`\n`),{docsPath:t,docsSlug:"account",name:"AccountNotFoundError"})}}class Xh extends ie{constructor({docsPath:t,metaMessages:n,type:a}){super(`Account type "${a}" is not supported.`,{docsPath:t,metaMessages:n,name:"AccountTypeNotSupportedError"})}}async function uN(e,{serializedTransaction:t}){return e.request({method:"eth_sendRawTransaction",params:[t]},{retryCount:0})}const Jh=new Xu(128);async function oS(e,t){const{account:n=e.account,assertChainId:a=!0,chain:o=e.chain,accessList:u,authorizationList:l,blobs:f,data:d,dataSuffix:p=typeof e.dataSuffix=="string"?e.dataSuffix:e.dataSuffix?.value,gas:m,gasPrice:b,maxFeePerBlobGas:g,maxFeePerGas:v,maxPriorityFeePerGas:x,nonce:S,type:E,value:R,...z}=t;if(typeof n>"u")throw new sS({docsPath:"/docs/actions/wallet/sendTransaction"});const M=n?Ut(n):null;let O;try{ec(t);const _=await(async()=>{if(t.to)return t.to;if(t.to!==null&&l&&l.length>0)return await hm({authorization:l[0]}).catch(()=>{throw new ie("`to` is required. Could not infer from `authorizationList`.")})})();if(M?.type==="json-rpc"||M===null){let B;o!==null&&(B=await Ke(e,lf,"getChainId")({}),a&&FI({currentChainId:B,chain:o}));const C=e.chain?.formatters?.transactionRequest?.format,j=(C||Gs)({...Gf(z,{format:C}),accessList:u,account:M,authorizationList:l,blobs:f,chainId:B,data:p?Ai([d??"0x",p]):d,gas:m,gasPrice:b,maxFeePerBlobGas:g,maxFeePerGas:v,maxPriorityFeePerGas:x,nonce:S,to:_,type:E,value:R},"sendTransaction"),D=Jh.get(e.uid),Q=D?"wallet_sendTransaction":"eth_sendTransaction";try{return await e.request({method:Q,params:[j]},{retryCount:0})}catch(X){if(D===!1)throw X;const ne=X;if(ne.name==="InvalidInputRpcError"||ne.name==="InvalidParamsRpcError"||ne.name==="MethodNotFoundRpcError"||ne.name==="MethodNotSupportedRpcError")return await e.request({method:"wallet_sendTransaction",params:[j]},{retryCount:0}).then(oe=>(Jh.set(e.uid,!0),oe)).catch(oe=>{const ee=oe;throw ee.name==="MethodNotFoundRpcError"||ee.name==="MethodNotSupportedRpcError"?(Jh.set(e.uid,!1),ne):ee});throw ne}}if(M?.type==="local"){if(M.nonceManager&&typeof S>"u"){const j=z.chainId,D=await(async()=>typeof j=="number"?j:o?o.id:Ke(e,lf,"getChainId")({}))();O={address:M.address,chainId:D}}const B=await Ke(e,X3,"prepareTransactionRequest")({account:M,accessList:u,authorizationList:l,blobs:f,chain:o,data:p?Ai([d??"0x",p]):d,gas:m,gasPrice:b,maxFeePerBlobGas:g,maxFeePerGas:v,maxPriorityFeePerGas:x,nonce:S,nonceManager:M.nonceManager,parameters:[...Z3,"sidecars"],type:E,value:R,...z,to:_}),C=o?.serializers?.transaction,I=await M.signTransaction(B,{serializer:C});return await Ke(e,uN,"sendRawTransaction")({serializedTransaction:I})}throw M?.type==="smart"?new Xh({metaMessages:["Consider using the `sendUserOperation` Action instead."],docsPath:"/docs/actions/bundler/sendUserOperation",type:"smart"}):new Xh({docsPath:"/docs/actions/wallet/sendTransaction",type:M?.type})}catch(_){throw _ instanceof Xh?_:(O&&M?.nonceManager?.reset(O),Y3(_,{...t,account:M,chain:t.chain||void 0}))}}async function $u(e,t){return $u.internal(e,oS,"sendTransaction",t)}(function(e){async function t(n,a,o,u){const{abi:l,account:f=n.account,address:d,args:p,functionName:m,...b}=u;if(typeof f>"u")throw new sS({docsPath:"/docs/contract/writeContract"});const g=f?Ut(f):null,v=Fs({abi:l,args:p,functionName:m});try{return await Ke(n,a,o)({data:v,to:d,account:g,...b})}catch(x){throw P3(x,{abi:l,address:d,args:p,docsPath:"/docs/contract/writeContract",functionName:m,sender:g?.address})}}e.internal=t})($u||($u={}));const Vl="3.5.0",cN=()=>`@wagmi/core@${Vl}`;var uS=function(e,t,n,a){if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(e):a?a.value:t.get(e)},ff,cS;let lS=class Xp extends Error{get docsBaseUrl(){return"https://wagmi.sh/core"}get version(){return cN()}constructor(t,n={}){super(),ff.add(this),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiCoreError"});const a=n.cause instanceof Xp?n.cause.details:n.cause?.message?n.cause.message:n.details,o=n.cause instanceof Xp&&n.cause.docsPath||n.docsPath;this.message=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...o?[`Docs: ${this.docsBaseUrl}${o}.html${n.docsSlug?`#${n.docsSlug}`:""}`]:[],...a?[`Details: ${a}`]:[],`Version: ${this.version}`].join(`\n`),n.cause&&(this.cause=n.cause),this.details=a,this.docsPath=o,this.metaMessages=n.metaMessages,this.shortMessage=t}walk(t){return uS(this,ff,"m",cS).call(this,this,t)}};ff=new WeakSet,cS=function e(t,n){return n?.(t)?t:t.cause?uS(this,ff,"m",e).call(this,t.cause,n):t};class Jp extends lS{constructor(){super("Chain not configured."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotConfiguredError"})}}const Wp=256;let Nl=Wp,Ll;function fS(e=11){if(!Ll||Nl+e>Wp*2){Ll="",Nl=0;for(let t=0;t<Wp;t++)Ll+=(256+Math.random()*256|0).toString(16).substring(1)}return Ll.substring(Nl,Nl+++e)}function lN(e){const{batch:t,chain:n,ccipRead:a,dataSuffix:o,key:u="base",name:l="Base Client",type:f="base"}=e,d=e.experimental_blockTag??(typeof n?.experimental_preconfirmationTime=="number"?"pending":void 0),p=n?.blockTime??12e3,m=Math.min(Math.max(Math.floor(p/2),500),4e3),b=e.pollingInterval??m,g=e.cacheTime??b,v=e.account?Ut(e.account):void 0,{config:x,request:S,value:E}=e.transport({account:v,chain:n,pollingInterval:b}),R={...x,...E},z={account:v,batch:t,cacheTime:g,ccipRead:a,chain:n,dataSuffix:o,key:u,name:l,pollingInterval:b,request:S,transport:R,type:f,uid:fS(),...d?{experimental_blockTag:d}:{}};function M(O){return _=>{const B=_(O);for(const I in z)delete B[I];const C={...O,...B};return Object.assign(C,{extend:M(C)})}}return Object.assign(z,{extend:M(z)})}function fN({key:e,methods:t,name:n,request:a,retryCount:o=3,retryDelay:u=150,timeout:l,type:f},d){const p=fS();return{config:{key:e,methods:t,name:n,request:a,retryCount:o,retryDelay:u,timeout:l,type:f},request:kI(a,{methods:t,retryCount:o,retryDelay:u,uid:p}),value:d}}class dN extends ie{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro",name:"UrlRequiredError"})}}let hN=0;const k2=new WeakMap;function pN(e){if(!e)return"default";const t=k2.get(e);if(t!==void 0)return t;const n=hN++;return k2.set(e,n),n}function D2(e,t={}){const{batch:n,fetchFn:a,fetchOptions:o,key:u="http",methods:l,name:f="HTTP JSON-RPC",onFetchRequest:d,onFetchResponse:p,retryDelay:m,raw:b}=t;return({chain:g,retryCount:v,timeout:x})=>{const{batchSize:S=1e3,wait:E=0}=typeof n=="object"?n:{},R=t.retryCount??v,z=x??t.timeout??1e4,M=g?.rpcUrls.default.http[0];if(!M)throw new dN;const O=VI(M,{fetchFn:a,fetchOptions:o,onRequest:d,onResponse:p,timeout:z});return fN({key:u,methods:l,name:f,async request({method:_,params:B},C){const I={method:_,params:B},j=C?.signal?{signal:C.signal}:void 0,{schedule:D}=B3({id:`${M}.${pN(C?.signal)}`,wait:E,shouldSplitBatch(oe){return oe.length>S},fn:oe=>O.request({body:oe,fetchOptions:j}),sort:(oe,ee)=>oe.id-ee.id}),Q=async oe=>n?D(oe):[await O.request({body:oe,fetchOptions:j})],[{error:X,result:ne}]=await Q(I);if(b)return{error:X,result:ne};if(X)throw new cm({body:I,error:X,url:M});return ne},retryCount:R,retryDelay:m,timeout:z,type:"http"},{fetchOptions:o,url:M})}}let Wh=!1;async function yN(e,t={}){if(Wh)return[];Wh=!0,e.setState(p=>({...p,status:p.current?"reconnecting":"connecting"}));const n=[];if(t.connectors?.length)for(const p of t.connectors){let m;typeof p=="function"?m=e._internal.connectors.setup(p):m=p,n.push(m)}else n.push(...e.connectors);let a;try{a=await e.storage?.getItem("recentConnectorId")}catch{}const o={};for(const[,p]of e.state.connections)o[p.connector.id]=1;a&&(o[a]=0);const u=Object.keys(o).length>0?[...n].sort((p,m)=>(o[p.id]??10)-(o[m.id]??10)):n;let l=!1;const f=[],d=[];for(const p of u){const m=await p.getProvider().catch(()=>{});if(!m||d.some(v=>v===m)||!await p.isAuthorized())continue;const g=await p.connect({isReconnecting:!0}).catch(()=>null);g&&(p.emitter.off("connect",e._internal.events.connect),p.emitter.on("change",e._internal.events.change),p.emitter.on("disconnect",e._internal.events.disconnect),e.setState(v=>{const x=new Map(l?v.connections:new Map).set(p.uid,{accounts:g.accounts,chainId:g.chainId,connector:p});return{...v,current:l?v.current:p.uid,connections:x}}),f.push({accounts:g.accounts,chainId:g.chainId,connector:p}),d.push(m),l=!0)}return(e.state.status==="reconnecting"||e.state.status==="connecting")&&(l?e.setState(p=>({...p,status:"connected"})):e.setState(p=>({...p,connections:new Map,current:null,status:"disconnected"}))),Wh=!1,f}class fs extends lS{constructor(){super("Provider not found."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderNotFoundError"})}}xm.type="injected";function xm(e={}){const{shimDisconnect:t=!0,unstable_shimAsyncInject:n}=e;function a(){const d=e.target;if(typeof d=="function"){const p=d();if(p)return p}return typeof d=="object"?d:typeof d=="string"?{...mN[d]??{id:d,name:`${d[0].toUpperCase()}${d.slice(1)}`,provider:`is${d[0].toUpperCase()}${d.slice(1)}`}}:{id:"injected",name:"Injected",provider(p){return p?.ethereum}}}let o,u,l,f;return d=>({get icon(){return a().icon},get id(){return a().id},get name(){return a().name},type:xm.type,async setup(){const p=await this.getProvider();p?.on&&e.target&&(l||(l=this.onConnect.bind(this),p.on("connect",l)),o||(o=this.onAccountsChanged.bind(this),p.on("accountsChanged",o)))},async connect({chainId:p,isReconnecting:m,withCapabilities:b}={}){const g=await this.getProvider();if(!g)throw new fs;let v=[];if(m)v=await this.getAccounts().catch(()=>[]);else if(t)try{v=(await g.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]}))[0]?.caveats?.[0]?.value?.map(S=>ta(S)),v.length>0&&(v=await this.getAccounts())}catch(x){const S=x;if(S.code===zt.code)throw new zt(S);if(S.code===wi.code)throw S}try{!v?.length&&!m&&(v=(await g.request({method:"eth_requestAccounts"})).map(E=>ta(E))),l&&(g.removeListener("connect",l),l=void 0),o||(o=this.onAccountsChanged.bind(this),g.on("accountsChanged",o)),u||(u=this.onChainChanged.bind(this),g.on("chainChanged",u)),f||(f=this.onDisconnect.bind(this),g.on("disconnect",f));let x=await this.getChainId();return p&&x!==p&&(x=(await this.switchChain({chainId:p}).catch(E=>{if(E.code===zt.code)throw E;return{id:x}}))?.id??x),t&&await d.storage?.removeItem(`${this.id}.disconnected`),e.target||await d.storage?.setItem("injected.connected",!0),{accounts:b?v.map(S=>({address:S,capabilities:{}})):v,chainId:x}}catch(x){const S=x;throw S.code===zt.code?new zt(S):S.code===wi.code?new wi(S):S}},async disconnect(){const p=await this.getProvider();if(!p)throw new fs;u&&(p.removeListener("chainChanged",u),u=void 0),f&&(p.removeListener("disconnect",f),f=void 0),l||(l=this.onConnect.bind(this),p.on("connect",l));try{await rS(()=>p.request({method:"wallet_revokePermissions",params:[{eth_accounts:{}}]}),{timeout:100})}catch{}t&&await d.storage?.setItem(`${this.id}.disconnected`,!0),e.target||await d.storage?.removeItem("injected.connected")},async getAccounts(){const p=await this.getProvider();if(!p)throw new fs;return(await p.request({method:"eth_accounts"})).map(b=>ta(b))},async getChainId(){const p=await this.getProvider();if(!p)throw new fs;const m=await p.request({method:"eth_chainId"});return Number(m)},async getProvider(){if(typeof window>"u")return;let p;const m=a();return typeof m.provider=="function"?p=m.provider(window):typeof m.provider=="string"?p=Kl(window,m.provider):p=m.provider,p&&!p.removeListener&&("off"in p&&typeof p.off=="function"?p.removeListener=p.off:p.removeListener=()=>{}),p},async isAuthorized(){try{if(t&&await d.storage?.getItem(`${this.id}.disconnected`)||!e.target&&!await d.storage?.getItem("injected.connected"))return!1;if(!await this.getProvider()){if(n!==void 0&&n!==!1){const g=async()=>(typeof window<"u"&&window.removeEventListener("ethereum#initialized",g),!!await this.getProvider()),v=typeof n=="number"?n:1e3;if(await Promise.race([...typeof window<"u"?[new Promise(S=>window.addEventListener("ethereum#initialized",()=>S(g()),{once:!0}))]:[],new Promise(S=>setTimeout(()=>S(g()),v))]))return!0}throw new fs}return!!(await tS(()=>this.getAccounts())).length}catch{return!1}},async switchChain({addEthereumChainParameter:p,chainId:m}){const b=await this.getProvider();if(!b)throw new fs;const g=d.chains.find(x=>x.id===m);if(!g)throw new ya(new Jp);const v=new Promise(x=>{const S=(E=>{"chainId"in E&&E.chainId===m&&(d.emitter.off("change",S),x())});d.emitter.on("change",S)});try{return await Promise.all([b.request({method:"wallet_switchEthereumChain",params:[{chainId:he(m)}]}).then(async()=>{await this.getChainId()===m&&d.emitter.emit("change",{chainId:m})}),v]),g}catch(x){const S=x;if(S.code===4902||S?.data?.originalError?.code===4902)try{const{default:E,...R}=g.blockExplorers??{};let z;p?.blockExplorerUrls?z=p.blockExplorerUrls:E&&(z=[E.url,...Object.values(R).map(_=>_.url)]);let M;p?.rpcUrls?.length?M=p.rpcUrls:M=[g.rpcUrls.default?.http[0]??""];const O={blockExplorerUrls:z,chainId:he(m),chainName:p?.chainName??g.name,iconUrls:p?.iconUrls,nativeCurrency:p?.nativeCurrency??g.nativeCurrency,rpcUrls:M};return await Promise.all([b.request({method:"wallet_addEthereumChain",params:[O]}).then(async()=>{if(await this.getChainId()===m)d.emitter.emit("change",{chainId:m});else throw new zt(new Error("User rejected switch after adding network."))}),v]),g}catch(E){throw new zt(E)}throw S.code===zt.code?new zt(S):new ya(S)}},async onAccountsChanged(p){if(p.length===0)this.onDisconnect();else if(d.emitter.listenerCount("connect")){const m=(await this.getChainId()).toString();this.onConnect({chainId:m}),t&&await d.storage?.removeItem(`${this.id}.disconnected`)}else d.emitter.emit("change",{accounts:p.map(m=>ta(m))})},onChainChanged(p){const m=Number(p);d.emitter.emit("change",{chainId:m})},async onConnect(p){const m=await this.getAccounts();if(m.length===0)return;const b=Number(p.chainId);d.emitter.emit("connect",{accounts:m,chainId:b});const g=await this.getProvider();g&&(l&&(g.removeListener("connect",l),l=void 0),o||(o=this.onAccountsChanged.bind(this),g.on("accountsChanged",o)),u||(u=this.onChainChanged.bind(this),g.on("chainChanged",u)),f||(f=this.onDisconnect.bind(this),g.on("disconnect",f)))},async onDisconnect(p){const m=await this.getProvider();p&&p.code===1013&&m&&(await this.getAccounts()).length||(d.emitter.emit("disconnect"),m&&(u&&(m.removeListener("chainChanged",u),u=void 0),f&&(m.removeListener("disconnect",f),f=void 0),l||(l=this.onConnect.bind(this),m.on("connect",l))))}})}const mN={coinbaseWallet:{id:"coinbaseWallet",name:"Coinbase Wallet",provider(e){return e?.coinbaseWalletExtension?e.coinbaseWalletExtension:Kl(e,"isCoinbaseWallet")}},metaMask:{id:"metaMask",name:"MetaMask",provider(e){return Kl(e,t=>{if(!t.isMetaMask||t.isBraveWallet&&!t._events&&!t._state)return!1;const n=["isApexWallet","isAvalanche","isBitKeep","isBlockWallet","isKuCoinWallet","isMathWallet","isOkxWallet","isOKExWallet","isOneInchIOSWallet","isOneInchAndroidWallet","isOpera","isPhantom","isPortal","isRabby","isTokenPocket","isTokenary","isUniswapWallet","isZerion"];for(const a of n)if(t[a])return!1;return!0})}},phantom:{id:"phantom",name:"Phantom",provider(e){return e?.phantom?.ethereum?e.phantom?.ethereum:Kl(e,"isPhantom")}}};function Kl(e,t){function n(o){return typeof t=="function"?t(o):typeof t=="string"?o[t]:!0}const a=e.ethereum;if(a?.providers)return a.providers.find(o=>n(o));if(a&&n(a))return a}function bN(e){if(typeof window>"u")return;const t=n=>e(n.detail);return window.addEventListener("eip6963:announceProvider",t),window.dispatchEvent(new CustomEvent("eip6963:requestProvider")),()=>window.removeEventListener("eip6963:announceProvider",t)}function gN(){const e=new Set;let t=[];const n=()=>bN(o=>{t.some(({info:u})=>u.uuid===o.info.uuid)||(t=[...t,o],e.forEach(u=>u(t,{added:[o]})))});let a=n();return{_listeners(){return e},clear(){e.forEach(o=>o([],{removed:[...t]})),t=[]},destroy(){this.clear(),e.clear(),a?.()},findProvider({rdns:o}){return t.find(u=>u.info.rdns===o)},getProviders(){return t},reset(){this.clear(),a?.(),a=n()},subscribe(o,{emitImmediately:u}={}){return e.add(o),u&&o(t,{added:t}),()=>e.delete(o)}}}const vN=e=>(t,n,a)=>{const o=a.subscribe;return a.subscribe=(l,f,d)=>{let p=l;if(f){const m=d?.equalityFn||Object.is;let b=l(a.getState());p=g=>{const v=l(g);if(!m(b,v)){const x=b;f(b=v,x)}},d?.fireImmediately&&f(b,b)}return o(p)},e(t,n,a)},wN=vN;function xN(e,t){let n;try{n=e()}catch{return}return{getItem:o=>{var u;const l=d=>d===null?null:JSON.parse(d,void 0),f=(u=n.getItem(o))!=null?u:null;return f instanceof Promise?f.then(l):l(f)},setItem:(o,u)=>n.setItem(o,JSON.stringify(u,void 0)),removeItem:o=>n.removeItem(o)}}const ey=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(a){return ey(a)(n)},catch(a){return this}}}catch(n){return{then(a){return this},catch(a){return ey(a)(n)}}}},SN=(e,t)=>(n,a,o)=>{let u={storage:xN(()=>localStorage),partialize:S=>S,version:0,merge:(S,E)=>({...E,...S}),...t},l=!1;const f=new Set,d=new Set;let p=u.storage;if(!p)return e((...S)=>{console.warn(`[zustand persist middleware] Unable to update item \'${u.name}\', the given storage is currently unavailable.`),n(...S)},a,o);const m=()=>{const S=u.partialize({...a()});return p.setItem(u.name,{state:S,version:u.version})},b=o.setState;o.setState=(S,E)=>{b(S,E),m()};const g=e((...S)=>{n(...S),m()},a,o);o.getInitialState=()=>g;let v;const x=()=>{var S,E;if(!p)return;l=!1,f.forEach(z=>{var M;return z((M=a())!=null?M:g)});const R=((E=u.onRehydrateStorage)==null?void 0:E.call(u,(S=a())!=null?S:g))||void 0;return ey(p.getItem.bind(p))(u.name).then(z=>{if(z)if(typeof z.version=="number"&&z.version!==u.version){if(u.migrate)return[!0,u.migrate(z.state,z.version)];console.error("State loaded from storage couldn\'t be migrated since no migrate function was provided")}else return[!1,z.state];return[!1,void 0]}).then(z=>{var M;const[O,_]=z;if(v=u.merge(_,(M=a())!=null?M:g),n(v,!0),O)return m()}).then(()=>{R?.(v,void 0),v=a(),l=!0,d.forEach(z=>z(v))}).catch(z=>{R?.(void 0,z)})};return o.persist={setOptions:S=>{u={...u,...S},S.storage&&(p=S.storage)},clearStorage:()=>{p?.removeItem(u.name)},getOptions:()=>u,rehydrate:()=>x(),hasHydrated:()=>l,onHydrate:S=>(f.add(S),()=>{f.delete(S)}),onFinishHydration:S=>(d.add(S),()=>{d.delete(S)})},u.skipHydration||x(),v||g},EN=SN,H2=e=>{let t;const n=new Set,a=(p,m)=>{const b=typeof p=="function"?p(t):p;if(!Object.is(b,t)){const g=t;t=m??(typeof b!="object"||b===null)?b:Object.assign({},t,b),n.forEach(v=>v(t,g))}},o=()=>t,f={setState:a,getState:o,getInitialState:()=>d,subscribe:p=>(n.add(p),()=>n.delete(p))},d=t=e(a,o,f);return f},ep=e=>e?H2(e):H2;class AN{constructor(t){Object.defineProperty(this,"uid",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"_emitter",{enumerable:!0,configurable:!0,writable:!0,value:new J7})}on(t,n){this._emitter.on(t,n)}once(t,n){this._emitter.once(t,n)}off(t,n){this._emitter.off(t,n)}emit(t,...n){const a=n[0];this._emitter.emit(t,{uid:this.uid,...a})}listenerCount(t){return this._emitter.listenerCount(t)}}function TN(e){return new AN(e)}function MN(e,t){return JSON.parse(e,(n,a)=>{let o=a;return o?.__type==="bigint"&&(o=BigInt(o.value)),o?.__type==="Map"&&(o=new Map(o.value)),t?.(n,o)??o})}function F2(e,t){return e.slice(0,t).join(".")||"."}function q2(e,t){const{length:n}=e;for(let a=0;a<n;++a)if(e[a]===t)return a+1;return 0}function RN(e,t){const n=typeof e=="function",a=typeof t=="function",o=[],u=[];return function(f,d){if(typeof d=="object")if(o.length){const p=q2(o,this);p===0?o[o.length]=this:(o.splice(p),u.splice(p)),u[u.length]=f;const m=q2(o,d);if(m!==0)return a?t.call(this,f,d,F2(u,m)):`[ref=${F2(u,m)}]`}else o[0]=d,u[0]=f;return n?e.call(this,f,d):d}}function _N(e,t,n,a){return JSON.stringify(e,RN((o,u)=>{let l=u;return typeof l=="bigint"&&(l={__type:"bigint",value:u.toString()}),l instanceof Map&&(l={__type:"Map",value:Array.from(u.entries())}),t?.(o,l)??l},a),n??void 0)}function CN(e){const{deserialize:t=MN,key:n="wagmi",serialize:a=_N,storage:o=dS}=e;function u(l){return l instanceof Promise?l.then(f=>f).catch(()=>null):l}return{...o,key:n,async getItem(l,f){const d=o.getItem(`${n}.${l}`),p=await u(d);return p?t(p)??null:f??null},async setItem(l,f){const d=`${n}.${l}`;f===null?await u(o.removeItem(d)):await u(o.setItem(d,a(f)))},async removeItem(l){await u(o.removeItem(`${n}.${l}`))}}}const dS={getItem:()=>null,setItem:()=>{},removeItem:()=>{}};function ON(){const e=typeof window<"u"&&window.localStorage?window.localStorage:dS;return{getItem(t){return e.getItem(t)},removeItem(t){e.removeItem(t)},setItem(t,n){try{e.setItem(t,n)}catch{}}}}const ty=256;let $l=ty,Ul;function PN(e=11){if(!Ul||$l+e>ty*2){Ul="",$l=0;for(let t=0;t<ty;t++)Ul+=(256+Math.random()*256|0).toString(16).substring(1)}return Ul.substring($l,$l+++e)}function zN(e){const{multiInjectedProviderDiscovery:t=!0,storage:n=CN({storage:ON()}),syncConnectedChain:a=!0,ssr:o=!1,...u}=e,l=typeof window<"u"&&t?gN():void 0,f=ep(()=>u.chains),d=ep(()=>{const _=[],B=new Set;for(const C of u.connectors??[]){const I=p(C);if(_.push(I),!o&&I.rdns){const j=typeof I.rdns=="string"?[I.rdns]:I.rdns;for(const D of j)B.add(D)}}if(!o&&l){const C=l.getProviders();for(const I of C)B.has(I.info.rdns)||_.push(p(m(I)))}return _});function p(_){const B=TN(PN());let C;const I={..._({emitter:B,chains:f.getState(),get providers(){if(!l||!C)return[];const j=typeof C=="string"?[C]:C,D=l.getProviders();return j.flatMap(Q=>D.filter(X=>X.info.rdns===Q))},storage:n,transports:u.transports}),emitter:B,uid:B.uid};return C=I.rdns,B.on("connect",M),I.setup?.(),I}function m(_){const{info:B}=_,C=_.provider;return xm({target:{...B,id:B.rdns,provider:C}})}const b=new Map;function g(_={}){const B=_.chainId??E.getState().chainId,C=f.getState().find(j=>j.id===B);if(_.chainId&&!C)throw new Jp;{const j=b.get(E.getState().chainId);if(j&&!C)return j;if(!C)throw new Jp}{const j=b.get(B);if(j)return j}let I;if(u.client)I=u.client({chain:C});else{const j=C.id,D=f.getState().map(ne=>ne.id),Q={},X=Object.entries(u);for(const[ne,oe]of X)if(!(ne==="chains"||ne==="client"||ne==="connectors"||ne==="transports"))if(typeof oe=="object")if(j in oe)Q[ne]=oe[j];else{if(D.some($=>$ in oe))continue;Q[ne]=oe}else Q[ne]=oe;I=lN({...Q,chain:C,batch:Q.batch??{multicall:!0},transport:ne=>u.transports[j]({...ne,connectors:d})})}return b.set(B,I),I}function v(){return{chainId:f.getState()[0].id,connections:new Map,current:null,status:"disconnected"}}let x;const S="0.0.0-canary-";Vl.startsWith(S)?x=Number.parseInt(Vl.replace(S,""),10):x=Number.parseInt(Vl.split(".")[0]??"0",10);const E=ep(wN(n?EN(v,{migrate(_,B){if(B===x)return _;const C=v(),I=R(_,C.chainId);return{...C,chainId:I}},name:"store",partialize(_){return{connections:{__type:"Map",value:Array.from(_.connections.entries()).map(([B,C])=>{const{id:I,name:j,type:D,uid:Q}=C.connector;return[B,{...C,connector:{id:I,name:j,type:D,uid:Q}}]})},chainId:_.chainId,current:_.current}},merge(_,B){typeof _=="object"&&_&&"status"in _&&delete _.status;const C=R(_,B.chainId);return{...B,..._,chainId:C}},skipHydration:o,storage:n,version:x}):v));E.setState(v());function R(_,B){return _&&typeof _=="object"&&"chainId"in _&&typeof _.chainId=="number"&&f.getState().some(C=>C.id===_.chainId)?_.chainId:B}a&&E.subscribe(({connections:_,current:B})=>B?_.get(B)?.chainId:void 0,_=>{if(f.getState().some(C=>C.id===_))return E.setState(C=>({...C,chainId:_??C.chainId}))}),l?.subscribe(_=>{const B=new Set,C=new Set;for(const j of d.getState())if(B.add(j.id),j.rdns){const D=typeof j.rdns=="string"?[j.rdns]:j.rdns;for(const Q of D)C.add(Q)}const I=[];for(const j of _){if(C.has(j.info.rdns))continue;const D=p(m(j));B.has(D.id)||I.push(D)}n&&!E.persist.hasHydrated()||d.setState(j=>[...j,...I],!0)});function z(_){E.setState(B=>{const C=B.connections.get(_.uid);return C?{...B,connections:new Map(B.connections).set(_.uid,{accounts:_.accounts??C.accounts,chainId:_.chainId??C.chainId,connector:C.connector})}:B})}function M(_){E.getState().status==="connecting"||E.getState().status==="reconnecting"||E.setState(B=>{const C=d.getState().find(I=>I.uid===_.uid);return C?(C.emitter.listenerCount("connect")&&C.emitter.off("connect",z),C.emitter.listenerCount("change")||C.emitter.on("change",z),C.emitter.listenerCount("disconnect")||C.emitter.on("disconnect",O),{...B,connections:new Map(B.connections).set(_.uid,{accounts:_.accounts,chainId:_.chainId,connector:C}),current:_.uid,status:"connected"}):B})}function O(_){E.setState(B=>{const C=B.connections.get(_.uid);if(C){const j=C.connector;j.emitter.listenerCount("change")&&C.connector.emitter.off("change",z),j.emitter.listenerCount("disconnect")&&C.connector.emitter.off("disconnect",O),j.emitter.listenerCount("connect")||C.connector.emitter.on("connect",M)}if(B.connections.delete(_.uid),B.connections.size===0)return{...B,connections:new Map,current:null,status:"disconnected"};const I=B.connections.values().next().value;return{...B,connections:new Map(B.connections),current:I.connector.uid}})}return{get chains(){return f.getState()},get connectors(){return d.getState()},storage:n,getClient:g,get state(){return E.getState()},setState(_){let B;typeof _=="function"?B=_(E.getState()):B=_;const C=v();typeof B!="object"&&(B=C),Object.keys(C).some(j=>!(j in B))&&(B=C),E.setState(B,!0)},subscribe(_,B,C){return E.subscribe(_,B,C?{...C,fireImmediately:C.emitImmediately}:void 0)},_internal:{mipd:l,async revalidate(){const _=E.getState(),B=_.connections;let C=_.current;for(const[,I]of B){const j=I.connector;j.isAuthorized&&await j.isAuthorized()||(B.delete(j.uid),C===j.uid&&(C=null))}E.setState(I=>({...I,connections:B,current:C}))},store:E,ssr:!!o,syncConnectedChain:a,transports:u.transports,chains:{setState(_){const B=typeof _=="function"?_(f.getState()):_;if(B.length!==0)return f.setState(B,!0)},subscribe(_){return f.subscribe(_)}},connectors:{providerDetailToConnector:m,setup:p,setState(_){return d.setState(typeof _=="function"?_(d.getState()):_,!0)},subscribe(_){return d.subscribe(_)}},events:{change:z,connect:M,disconnect:O}}}}function BN(e,t){const{initialState:n,reconnectOnMount:a}=t;return n&&!e._internal.store.persist.hasHydrated()&&e.setState({...n,chainId:e.chains.some(o=>o.id===n.chainId)?n.chainId:e.chains[0].id,connections:a?n.connections:new Map,status:a?"reconnecting":"disconnected"}),{async onMount(){e._internal.ssr&&(await e._internal.store.persist.rehydrate(),e._internal.mipd&&e._internal.connectors.setState(o=>{const u=new Set;for(const d of o??[])if(d.rdns){const p=Array.isArray(d.rdns)?d.rdns:[d.rdns];for(const m of p)u.add(m)}const l=[],f=e._internal.mipd?.getProviders()??[];for(const d of f){if(u.has(d.info.rdns))continue;const p=e._internal.connectors.providerDetailToConnector(d),m=e._internal.connectors.setup(p);l.push(m)}return[...o,...l]})),a?yN(e):e.storage&&e.setState(o=>({...o,connections:new Map}))}}}function IN(e){const{children:t,config:n,initialState:a,reconnectOnMount:o=!0}=e,{onMount:u}=BN(n,{initialState:a,reconnectOnMount:o});n._internal.ssr||u();const l=re.useRef(!0);return re.useEffect(()=>{if(l.current&&n._internal.ssr)return u(),()=>{l.current=!1}},[]),t}const NN=re.createContext(void 0);function LN(e){const{children:t,config:n}=e,a={value:n};return re.createElement(IN,e,re.createElement(NN.Provider,a,t))}const $N=""+new URL("styles-QLNcBtmR.css",import.meta.url).href;function UN(e){return V.jsx("svg",{"aria-label":"Tempo",className:e.className,fill:"none",height:"14",role:"img",viewBox:"0 0 13 14",width:"13",children:V.jsx("path",{d:"M4.594 14H.944L4.327 3.173H0L.944 0H13l-.944 3.173H7.96z",fill:"currentColor"})})}function jN(e){return V.jsxs("svg",{"aria-label":"Tempo",className:e.className,fill:"none",height:"24",role:"img",viewBox:"0 0 107 24",width:"107",children:[V.jsx("title",{children:"Tempo"}),V.jsx("path",{d:"M7.903 23.516h-6.28L7.445 5.593H0L1.624.34h20.739l-1.624 5.253h-7.046zM31.273 23.516H16.385L23.859.34h14.827l-1.409 4.419h-8.608l-1.562 4.975h8.332l-1.41 4.357h-8.362l-1.562 5.006h8.546zM38.011 23.516h-4.993L40.523.34h8.333l-.276 12.484L56.698.34h9.129l-7.475 23.176h-6.25l5.055-15.852-10.384 15.852h-3.707l.153-15.914zM72.856 4.635l-2.42 7.478h.674q2.297 0 3.829-1.081Q76.47 9.919 76.93 7.88q.398-1.761-.429-2.503-.826-.742-2.757-.742zm-6.066 18.88h-6.28L67.985.34h7.628q2.634 0 4.534.865 1.93.835 2.818 2.41.919 1.546.612 3.616-.398 2.72-2.082 4.79-1.686 2.07-4.381 3.213-2.665 1.113-5.974 1.113h-2.052zM98.546 22.033q-3.124 1.854-6.648 1.854h-.06q-3.126 0-5.27-1.39-2.114-1.422-3.033-3.833-.888-2.41-.428-5.284a16.3 16.3 0 0 1 2.665-6.674q2.082-3.06 5.207-4.883T97.658 0h.06q3.248 0 5.362 1.39 2.144 1.392 2.971 3.801.858 2.38.368 5.346-.582 3.492-2.665 6.582a16.3 16.3 0 0 1-5.208 4.914m-8.67-3.987q.828 1.576 2.88 1.576h.061q1.686 0 3.125-1.267 1.47-1.297 2.481-3.46 1.042-2.164 1.532-4.821.46-2.595-.368-4.172-.826-1.607-2.849-1.607h-.06q-1.563 0-3.034 1.298-1.44 1.298-2.511 3.492a18.8 18.8 0 0 0-1.563 4.759q-.49 2.595.307 4.202",fill:"currentColor"})]})}var kN=/^[\\w!#$%&\'*.^`|~+-]+$/,DN=(e,t,n={})=>{if(!kN.test(e))throw new Error("Invalid cookie name");let a=`${e}=${t}`;if(e.startsWith("__Secure-")&&!n.secure)throw new Error("__Secure- Cookie must have Secure attributes");if(e.startsWith("__Host-")){if(!n.secure)throw new Error("__Host- Cookie must have Secure attributes");if(n.path!=="/")throw new Error(\'__Host- Cookie must have Path attributes with "/"\');if(n.domain)throw new Error("__Host- Cookie must not have Domain attributes")}for(const o of["domain","path","sameSite","priority"])if(n[o]&&/[;\\r\\n]/.test(n[o]))throw new Error(`${o} must not contain ";", "\\\\r", or "\\\\n"`);if(n&&typeof n.maxAge=="number"&&n.maxAge>=0){if(n.maxAge>3456e4)throw new Error("Cookies Max-Age SHOULD NOT be greater than 400 days (34560000 seconds) in duration.");a+=`; Max-Age=${n.maxAge|0}`}if(n.domain&&n.prefix!=="host"&&(a+=`; Domain=${n.domain}`),n.path&&(a+=`; Path=${n.path}`),n.expires){if(n.expires.getTime()-Date.now()>3456e7)throw new Error("Cookies Expires SHOULD NOT be greater than 400 days (34560000 seconds) in the future.");a+=`; Expires=${n.expires.toUTCString()}`}if(n.httpOnly&&(a+="; HttpOnly"),n.secure&&(a+="; Secure"),n.sameSite&&(a+=`; SameSite=${n.sameSite.charAt(0).toUpperCase()+n.sameSite.slice(1)}`),n.priority&&(a+=`; Priority=${n.priority.charAt(0).toUpperCase()+n.priority.slice(1)}`),n.partitioned){if(!n.secure)throw new Error("Partitioned Cookie must have Secure attributes");a+="; Partitioned"}return a},HN=(e,t,n)=>(t=encodeURIComponent(t),DN(e,t,n)),FN=(e,t)=>(e=e.replace(/\\/+$/,""),e=e+"/",t=t.replace(/^\\/+/,""),e+t),ny=(e,t)=>{for(const[n,a]of Object.entries(t)){const o=new RegExp("/:"+n+"(?:{[^/]+})?\\\\??");e=e.replace(o,a?`/${a}`:"")}return e},qN=e=>{const t=new URLSearchParams;for(const[n,a]of Object.entries(e))if(a!==void 0)if(Array.isArray(a))for(const o of a)t.append(n,o);else t.set(n,a);return t},GN=(e,t)=>{switch(t){case"ws":return e.replace(/^http/,"ws");case"http":return e.replace(/^ws/,"http")}},hS=e=>/^https?:\\/\\/[^\\/]+?\\/index(?=\\?|$)/.test(e)?e.replace(/\\/index(?=\\?|$)/,"/"):e.replace(/\\/index(?=\\?|$)/,"");function jl(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function pS(e,t){if(!jl(e)&&!jl(t))return t;const n={...e};for(const a in t){const o=t[a];jl(n[a])&&jl(o)?n[a]=pS(n[a],o):n[a]=o}return n}var yS=(e,t)=>new Proxy(()=>{},{get(a,o){if(!(typeof o!="string"||o==="then"))return yS(e,[...t,o])},apply(a,o,u){return e({path:t,args:u})}}),VN=class{url;method;buildSearchParams;queryParams=void 0;pathParams={};rBody;cType=void 0;constructor(e,t,n){this.url=e,this.method=t,this.buildSearchParams=n.buildSearchParams}fetch=async(e,t)=>{if(e){if(e.query&&(this.queryParams=this.buildSearchParams(e.query)),e.form){const f=new FormData;for(const[d,p]of Object.entries(e.form))if(p!==void 0)if(Array.isArray(p))for(const m of p)f.append(d,m);else f.append(d,p);this.rBody=f}e.json&&(this.rBody=JSON.stringify(e.json),this.cType="application/json"),e.param&&(this.pathParams=e.param)}let n=this.method.toUpperCase();const a={...e?.header,...typeof t?.headers=="function"?await t.headers():t?.headers};if(e?.cookie){const f=[];for(const[d,p]of Object.entries(e.cookie))f.push(HN(d,p,{path:"/"}));a.Cookie=f.join(",")}this.cType&&(a["Content-Type"]=this.cType);const o=new Headers(a??void 0);let u=this.url;u=hS(u),u=ny(u,this.pathParams),this.queryParams&&(u=u+"?"+this.queryParams.toString()),n=this.method.toUpperCase();const l=!(n==="GET"||n==="HEAD");return(t?.fetch||fetch)(u,{body:l?this.rBody:void 0,method:n,headers:o,...t?.init})}},KN=(e,t)=>yS(function n(a){const o=t?.buildSearchParams??qN,u=[...a.path],l=u.slice(-3).reverse();if(l[0]==="toString")return l[1]==="name"?l[2]||"":n.toString();if(l[0]==="valueOf")return l[1]==="name"?l[2]||"":n;let f="";if(/^\\$/.test(l[0])){const b=u.pop();b&&(f=b.replace(/^\\$/,""))}const d=u.join("/"),p=FN(e,d);if(f==="url"||f==="path"){let b=p;return a.args[0]&&(a.args[0].param&&(b=ny(p,a.args[0].param)),a.args[0].query&&(b=b+"?"+o(a.args[0].query).toString())),b=hS(b),f==="url"?new URL(b):b.slice(e.replace(/\\/+$/,"").length).replace(/^\\/?/,"/")}if(f==="ws"){const b=GN(a.args[0]&&a.args[0].param?ny(p,a.args[0].param):p,"ws"),g=new URL(b),v=a.args[0]?.query;return v&&Object.entries(v).forEach(([S,E])=>{Array.isArray(E)?E.forEach(R=>g.searchParams.append(S,R)):g.searchParams.set(S,E)}),((...S)=>t?.webSocket!==void 0&&typeof t.webSocket=="function"?t.webSocket(...S):new WebSocket(...S))(g.toString())}const m=new VN(p,f,{buildSearchParams:o});if(f){t??={};const b=pS(t,{...a.args[1]});return m.fetch(a.args[0],b)}return m},[]);function QN(){if(typeof document>"u")return"/";const e=document.querySelector("base");return e?e.href:`${location.origin}/`}const Ir=KN(QN()),YN=["config"];function mS(){return typeof window>"u"?void 0:window.__TEMPO_API_CONFIG__}async function ZN(){const e=mS();if(e)return e;const t=await Ir["config.json"].$get();return t.ok?t.json():{auth:{identity:null}}}function XN(){return{queryKey:YN,queryFn:ZN,initialData:mS,staleTime:1/0}}function bS(){return xf(XN())}function hU(){const{data:e}=bS(),t=e?.auth.identity;return t?V.jsxs("div",{className:"flex items-center gap-2",children:[V.jsx(fa,{address:gS(t.email),className:"size-9 shrink-0",size:36}),e.auth.logoutUrl?V.jsx("a",{"aria-label":"Sign out",className:"text-foreground-secondary hover:text-foreground",href:e.auth.logoutUrl,children:V.jsx(Vx,{className:"size-[18px]"})}):null]}):null}function gS(e){return Pr(Ly(e),{as:"Hex"}).slice(0,42)}const ry="0x01",iy="0x02",ay="0x03",Ql="0x04",ws="0x7777777777777777777777777777777777777777777777777777777777777777";function Sm(e){const{signature:t,root:n}=e;return t.type==="keychain"?n?t.userAddress:Sm({...e,signature:t.inner}):Er(vS(e))}function vS(e){const{payload:t,signature:n}=e;switch(n.type){case"secp256k1":return Zy({payload:t,signature:n.signature});case"p256":case"webAuthn":return n.publicKey;case"keychain":return vS({payload:t,signature:n.inner})}}function Vs(e){const t=e.endsWith(ws.slice(2))?Ee(e,0,-Qe(ws)):e;if(Qe(t)===65){const l=Gy(t);return If(l),{signature:l,type:"secp256k1"}}const a=Ee(t,0,1),o=Ee(t,1),u=Qe(o);if(a===ry){if(u!==129)throw new Jo({reason:`Invalid P256 signature envelope size: expected 129 bytes, got ${u} bytes`,serialized:t});return{publicKey:{prefix:4,x:et(Ee(o,64,96)),y:et(Ee(o,96,128))},prehash:Of(Ee(o,128,129))!==0,signature:{r:et(Ee(o,0,32)),s:et(Ee(o,32,64))},type:"p256"}}if(a===iy){if(u<128)throw new Jo({reason:`Invalid WebAuthn signature envelope size: expected at least 128 bytes, got ${u} bytes`,serialized:t});const l=u-128,f=Ee(o,0,l);let d,p;for(let m=37;m<l;m++){const b=ox(Ee(f,m));if(b.startsWith("{")&&b.endsWith("}"))try{JSON.parse(b),d=Ee(f,0,m),p=b;break}catch{}}if(!d||!p)throw new Jo({reason:"Unable to parse WebAuthn metadata: could not extract valid authenticatorData and clientDataJSON",serialized:t});return{publicKey:{prefix:4,x:et(Ee(o,l+64,l+96)),y:et(Ee(o,l+96,l+128))},metadata:{authenticatorData:d,clientDataJSON:p},signature:{r:et(Ee(o,l,l+32)),s:et(Ee(o,l+32,l+64))},type:"webAuthn"}}if(a===ay||a===Ql){const l=Ee(o,0,20),f=Vs(Ee(o,20));return{userAddress:l,inner:f,type:"keychain",version:a===Ql?"v2":"v1"}}throw new Jo({reason:`Unknown signature type identifier: ${a}. Expected ${ry} (P256), ${iy} (WebAuthn), ${ay} (Keychain V1), or ${Ql} (Keychain V2)`,serialized:t})}function va(e,t){if(typeof e=="string")return Vs(e);if(typeof e=="object"&&e!==null&&"r"in e&&"s"in e&&"yParity"in e)return{signature:e,type:"secp256k1"};const n=Em(e);return{...e,...n==="p256"?{prehash:e.prehash}:{},...n==="keychain"?{...typeof e=="object"&&e!==null&&"version"in e&&e.version?{}:{version:"v2"},...typeof e=="object"&&"keyId"in e&&e.keyId?{}:(()=>{const a=e.inner;return a.type==="p256"||a.type==="webAuthn"?{keyId:Er(a.publicKey)}:a.type==="secp256k1"&&t?.payload?{keyId:Er(Zy({payload:t.payload,signature:a.signature}))}:{}})()}:{},type:n}}function Qf(e){if(e.type==="secp256k1")return{signature:Vy(e),type:"secp256k1"};if(e.type==="p256")return{prehash:e.preHash,publicKey:{prefix:4,x:et(e.pubKeyX),y:et(e.pubKeyY)},signature:{r:et(e.r),s:et(e.s)},type:"p256"};if(e.type==="webAuthn"){const t=e.webauthnData,n=Qe(t);let a,o;for(let u=37;u<n;u++){const l=ox(Ee(t,u));if(l.startsWith("{")&&l.endsWith("}"))try{JSON.parse(l),a=Ee(t,0,u),o=l;break}catch{}}if(!a||!o)throw new Jo({reason:"Unable to parse WebAuthn metadata: could not extract valid authenticatorData and clientDataJSON",serialized:t});return{metadata:{authenticatorData:a,clientDataJSON:o},publicKey:{prefix:4,x:et(e.pubKeyX),y:et(e.pubKeyY)},signature:{r:et(e.r),s:et(e.s)},type:"webAuthn"}}if(e.type==="keychain"||"userAddress"in e&&"signature"in e)return{type:"keychain",userAddress:e.userAddress,inner:Qf(e.signature),...e.keyId?{keyId:e.keyId}:{},...e.version?{version:e.version}:{}};throw new Uu({envelope:e})}function Em(e){if(typeof e!="object"||e===null)throw new Uu({envelope:e});if("type"in e&&e.type)return e.type;if("signature"in e&&!("publicKey"in e)&&typeof e.signature=="object"&&e.signature!==null&&"r"in e.signature&&"s"in e.signature&&"yParity"in e.signature||"r"in e&&"s"in e&&"yParity"in e)return"secp256k1";if("signature"in e&&"prehash"in e&&"publicKey"in e&&typeof e.prehash=="boolean")return"p256";if("signature"in e&&"metadata"in e&&"publicKey"in e)return"webAuthn";if("userAddress"in e&&"inner"in e)return"keychain";throw new Uu({envelope:e})}function Yf(e,t={}){const n=Em(e);if(n==="secp256k1")return tt(M7(e.signature),t.magic?ws:"0x");if(n==="p256"){const a=e;return tt(ry,ue(a.signature.r,{size:32}),ue(a.signature.s,{size:32}),ue(a.publicKey.x,{size:32}),ue(a.publicKey.y,{size:32}),ue(a.prehash?1:0,{size:1}),t.magic?ws:"0x")}if(n==="webAuthn"){const a=e,o=tt(a.metadata.authenticatorData,Us(a.metadata.clientDataJSON));return tt(iy,o,ue(a.signature.r,{size:32}),ue(a.signature.s,{size:32}),ue(a.publicKey.x,{size:32}),ue(a.publicKey.y,{size:32}),t.magic?ws:"0x")}if(n==="keychain"){const a=e,o=a.version==="v1"?ay:Ql;return tt(o,a.userAddress,Yf(a.inner),t.magic?ws:"0x")}throw new Uu({envelope:e})}function Am(e){const t=Em(e);if(t==="secp256k1")return{...Lx(e.signature),type:"secp256k1"};if(t==="p256"){const n=e;return{preHash:n.prehash,pubKeyX:ue(n.publicKey.x,{size:32}),pubKeyY:ue(n.publicKey.y,{size:32}),r:ue(n.signature.r,{size:32}),s:ue(n.signature.s,{size:32}),type:"p256"}}if(t==="webAuthn"){const n=e,a=tt(n.metadata.authenticatorData,Us(n.metadata.clientDataJSON));return{pubKeyX:ue(n.publicKey.x,{size:32}),pubKeyY:ue(n.publicKey.y,{size:32}),r:ue(n.signature.r,{size:32}),s:ue(n.signature.s,{size:32}),type:"webAuthn",webauthnData:a}}if(t==="keychain"){const n=e;return{type:"keychain",userAddress:n.userAddress,signature:Am(n.inner),...n.keyId?{keyId:n.keyId}:{},...n.version?{version:n.version}:{}}}throw new Uu({envelope:e})}function G2(e,t){const{payload:n}=t,a=(()=>{if(t.address)return t.address;if(t.publicKey)return Er(t.publicKey)})();if(!a)return!1;const o=va(e);if(o.type==="secp256k1")return a?D7({address:a,payload:n,signature:o.signature}):!1;if(o.type==="p256"){const u=Er(o.publicKey);return Tp(u,a)?Fx({hash:o.prehash,publicKey:o.publicKey,payload:n,signature:o.signature}):!1}if(o.type==="webAuthn"){const u=Er(o.publicKey);return Tp(u,a)?sP({challenge:Cf(n),metadata:o.metadata,publicKey:o.publicKey,signature:o.signature}):!1}throw new JN(`Unable to verify signature envelope of type "${o.type}".`)}class Uu extends ye{constructor({envelope:t}){super(`Unable to coerce value (\\`${$s(t)}\\`) to a valid signature envelope.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureEnvelope.CoercionError"})}}class Jo extends ye{constructor({reason:t,serialized:n}){super(`Unable to deserialize signature envelope: ${t}`,{metaMessages:[`Serialized: ${n}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureEnvelope.InvalidSerializedError"})}}class JN extends ye{constructor(){super(...arguments),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureEnvelope.VerificationError"})}}function It(e){return e.startsWith("tempo")?WN(e).address:e}function WN(e){if(!e.startsWith("tempox"))throw new eL({address:e});const t=e.slice(6);return ax(t,{strict:!0}),{address:Pf(t)}}class eL extends ye{constructor({address:t}){super(`Tempo address "${t}" has an invalid prefix. Expected "tempox".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TempoAddress.InvalidPrefixError"})}}function tL(e,t={}){if(typeof e.chainId=="string")return wS(e);const n={...e,address:It(e.address)};return t.signature?{...n,signature:t.signature}:n}function wS(e){const{address:t,chainId:n,nonce:a}=e,o=Qf(e.signature);return{address:t,chainId:Number(n),nonce:BigInt(a),signature:o}}function nL(e){return e.map(t=>wS(t))}function rL(e){const[t,n,a,o]=e,u={address:n,chainId:t==="0x"?0:Number(t),nonce:a==="0x"?0n:BigInt(a)};return o&&(u.signature=Vs(o)),tL(u)}function iL(e){const t=[];for(const n of e)t.push(rL(n));return t}function aL(e){const{address:t,chainId:n,nonce:a,signature:o}=e;return{address:t,chainId:ue(n),nonce:ue(a),signature:Am(o)}}function sL(e){return e.map(t=>aL(t))}function oL(e){const{address:t,chainId:n,nonce:a}=e,o=e.signature?Yf(e.signature):void 0;return[n?ue(n):"0x",t,a?ue(a):"0x",...o?[o]:[]]}function uL(e){if(!e||e.length===0)return[];const t=[];for(const n of e)t.push(oL(n));return t}const sy="0x20c0";function pU(e){return typeof e=="bigint"||typeof e=="number"?BigInt(e):cL(e)}function cL(e){const t=It(e);if(!t.toLowerCase().startsWith(sy))throw new Error("invalid tip20 address.");return et(Ee(t,sy.length))}function xS(e){if(typeof e=="string"){const n=It(e);return In(n),n}const t=ue(e,{size:18});return tt(sy,t)}function SS(e,t={}){if("keyId"in e)return ES(e);const n=e;n.witness!==void 0&&nc(n.witness);const a={...n,address:It(n.address),...n.limits?{limits:n.limits.map(o=>({...o,token:It(o.token)}))}:{},...n.scopes?{scopes:n.scopes.map(o=>({...o,address:It(o.address),selector:Tm(o.selector),...o.recipients?{recipients:o.recipients.map(u=>It(u))}:{}}))}:{}};return t.signature?{...a,signature:va(t.signature)}:a}function ES(e){const{allowedCalls:t,chainId:n,keyId:a,expiry:o,limits:u,keyType:l}=e,f=e.witness??void 0,d=e.isAdmin??void 0,p=e.account??void 0,m=Qf(e.signature);f!==void 0&&nc(f);const b=t?t.flatMap(g=>!g.selectorRules||g.selectorRules.length===0?[{address:g.target}]:g.selectorRules.map(v=>({address:g.target,selector:yL(v.selector),...v.recipients&&v.recipients.length>0?{recipients:v.recipients}:{}}))):void 0;return{address:a,chainId:n==="0x"?0n:et(n),...o!=null?{expiry:Number(o)}:{},limits:u?.map(g=>({token:g.token,limit:BigInt(g.limit),...g.period&&df(g.period)>0?{period:df(g.period)}:{}})),...b?{scopes:b}:{},signature:m,type:l,...f!==void 0?{witness:f}:{},...d?{isAdmin:!0}:{},...p!==void 0?{account:p}:{}}}function lL(e){const[t,n]=e,[a,o,u,...l]=t,f=(()=>{switch(o){case"0x":case"0x00":return"secp256k1";case"0x01":return"p256";case"0x02":return"webAuthn";default:throw new Error(`Invalid key type: ${o}`)}})(),[d,p,m,b,g,v]=l,x=kl(d)?void 0:df(d)||void 0,S=Array.isArray(p)&&p.length>0?p.map(B=>{const[C,I,j]=B;return{token:C,limit:pL(I),...j!==void 0?{period:df(j)}:{}}}):void 0,E=Array.isArray(m)?m.flatMap(B=>{const[C,I]=B;return!Array.isArray(I)||I.length===0?[{address:C}]:I.map(j=>{const[D,Q]=j;return{address:C,selector:D,...Array.isArray(Q)&&Q.length>0?{recipients:Q}:{}}})}):void 0,R=kl(b)?void 0:b;R!==void 0&&nc(R);const z=(()=>{if(!kl(g)){if(g!=="0x01")throw new bL(g);return!0}})(),M=kl(v)?void 0:v,O=M!==void 0&&z?{account:M,isAdmin:!0}:{},_={address:u,chainId:a==="0x"?0n:et(a),type:f,...x!==void 0?{expiry:x}:{},...S!==void 0?{limits:S}:{},...E!==void 0?{scopes:E}:{},...R!==void 0?{witness:R}:{},...O};return n&&(_.signature=Vs(n)),SS(_)}function fL(e){return dL(e)}function dL(e){const[t]=AS(e),n=wx(t);return Pr(n)}function hL(e){const{address:t,scopes:n,chainId:a,expiry:o,limits:u,type:l,signature:f,witness:d,isAdmin:p,account:m}=e;d!==void 0&&nc(d);const b=(()=>{if(!n)return;const g=new Map;for(const v of n){const x=v.address;g.has(x)||g.set(x,[]),v.selector&&g.get(x).push({selector:Tm(v.selector),...v.recipients&&v.recipients.length>0?{recipients:v.recipients}:{}})}return[...g.entries()].map(([v,x])=>({target:v,...x.length>0?{selectorRules:x}:{}}))})();return{chainId:a===0n?"0x":ue(a),expiry:typeof o=="number"?ue(o):null,keyId:It(t),keyType:l,limits:u?.map(({token:g,limit:v,period:x})=>({token:g,limit:ue(v),...x?{period:oy(x)}:{}})),signature:Am(f),...b?{allowedCalls:b}:{},...d!==void 0?{witness:d}:{},...p?{isAdmin:!0}:{},...m!==void 0?{account:m}:{}}}function AS(e){const{address:t,chainId:n,scopes:a,expiry:o,limits:u,witness:l,isAdmin:f,account:d}=e;l!==void 0&&nc(l);const p=e.signature?Yf(e.signature):void 0,m=(()=>{switch(e.type){case"secp256k1":return"0x";case"p256":return"0x01";case"webAuthn":return"0x02";default:throw new Error(`Invalid key type: ${e.type}`)}})(),b=u?.map(z=>{const M=[z.token,V2(z.limit)];return z.period&&z.period>0&&M.push(oy(z.period)),M}),g=(()=>{if(!a)return;const z=new Map;for(const M of a){const O=M.address;z.has(O)||z.set(O,[]),M.selector&&z.get(O).push([Tm(M.selector),M.recipients??[]])}return[...z.entries()].map(([M,O])=>[M,O.map(([_,B])=>[_,B])])})(),v=l!==void 0||f||d!==void 0,x=[{value:o!=null&&o!==0?oy(o):void 0,placeholder:"0x"},{value:b,placeholder:v?"0x":[]},{value:g,placeholder:"0x"},{value:l,placeholder:"0x"},{value:f?"0x01":void 0,placeholder:"0x"},{value:d,placeholder:"0x"}];let S=-1;for(let z=x.length-1;z>=0;z--)if(x[z].value!==void 0){S=z;break}const E=x.slice(0,S+1).map(({value:z,placeholder:M})=>z??M);return[[V2(n),m,t,...E],...p?[p]:[]]}function V2(e){return e===0n?"0x":ue(e)}function oy(e){return e===0?"0x":ue(e)}function pL(e){return e==="0x"?0n:BigInt(e)}function df(e){return e==="0x"?0:Of(e)}function yL(e){return typeof e=="string"?e:Array.isArray(e)?dt(new Uint8Array(e)):e}function Tm(e){if(e)return e.startsWith("0x")?e:px(e)}function nc(e){if(Qe(e)!==32)throw new mL(e)}function kl(e){return e===void 0||e==="0x"}class mL extends Error{constructor(t){super(`Witness \\`${t}\\` must be exactly 32 bytes (got ${Qe(t)} bytes).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"KeyAuthorization.InvalidWitnessSizeError"})}}class bL extends Error{constructor(t){super(`Admin marker \\`${t}\\` is invalid; expected \\`0x01\\` (TIP-1049).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"KeyAuthorization.InvalidAdminMarkerError"})}}const TS={...Ux,tempo:"0x76"},gL={...jx,"0x76":"tempo"};function vL(e,t={}){if(!e)return null;const n=U7(e);return n.type=gL[e.type],e.aaAuthorizationList&&(n.authorizationList=nL(e.aaAuthorizationList),delete n.aaAuthorizationList),e.calls&&(n.calls=e.calls.map(a=>({to:a.to,value:a.value&&a.value!=="0x"?BigInt(a.value):void 0,data:a.input||a.data||"0x"}))),e.feeToken&&(n.feeToken=e.feeToken),e.nonceKey&&(n.nonceKey=BigInt(e.nonceKey)),e.signature&&(n.signature=Qf(e.signature)),e.validAfter&&(n.validAfter=Number(e.validAfter)),e.validBefore&&(n.validBefore=Number(e.validBefore)),e.keyAuthorization&&(n.keyAuthorization=ES(e.keyAuthorization)),e.feePayerSignature&&(n.feePayerSignature=Vy(e.feePayerSignature),n.feePayerSignature.v=Qy(n.feePayerSignature.yParity)),n}function wL(e){const t=W7({...e,authorizationList:void 0});e.authorizationList&&(t.authorizationList=sL(e.authorizationList)),e.calls?t.calls=e.calls.map(a=>({to:a.to?It(a.to):a.to,value:a.value?ue(a.value):"0x",data:a.data??"0x"})):(e.to||e.data||e.value)&&(t.calls=[{to:e.to?It(e.to):void 0,value:e.value?ue(e.value):"0x",data:e.data??"0x"}]),typeof e.feeToken<"u"&&(t.feeToken=xS(e.feeToken)),e.keyAuthorization&&(t.keyAuthorization=hL(e.keyAuthorization)),typeof e.validBefore<"u"&&(t.validBefore=ue(e.validBefore)),typeof e.validAfter<"u"&&(t.validAfter=ue(e.validAfter));const n=(()=>{if(e.nonceKey==="random")return $C(6);if(typeof e.nonceKey=="bigint")return ue(e.nonceKey)})();return n&&(t.nonceKey=n),(typeof e.calls<"u"||typeof e.feePayer<"u"||typeof e.feeToken<"u"||typeof e.keyAuthorization<"u"||typeof e.nonceKey<"u"||typeof e.validBefore<"u"||typeof e.validAfter<"u"||e.type==="tempo")&&(t.type=TS.tempo,delete t.data,delete t.input,delete t.to,delete t.value),t}const xL="0x78",SL="0x76",K2="tempo";function Mm(e){const{calls:t,chainId:n,maxFeePerGas:a,maxPriorityFeePerGas:o,validBefore:u,validAfter:l}=e;if(!t||t.length===0)throw new RL;if(typeof u=="number"&&typeof l=="number"&&u<=l)throw new _L({validBefore:u,validAfter:l});if(t)for(const f of t)f.to&&In(f.to,{strict:!1});if(n<=0)throw new nP({chainId:n});if(a&&BigInt(a)>2n**256n-1n)throw new tP({feeCap:a});if(o&&a&&o>a)throw new iP({maxFeePerGas:a,maxPriorityFeePerGas:o})}function EL(e){const t=QO(Ee(e,1)),[n,a,o,u,l,f,d,p,m,b,g,v,x,S,E]=t,R=Array.isArray(S)?S:void 0,z=R?E:S;if(!(t.length===13||t.length===14||t.length===15))throw new rP({attributes:{authorizationList:x,chainId:n,maxPriorityFeePerGas:a,maxFeePerGas:o,gas:u,calls:l,accessList:f,keyAuthorization:R,nonceKey:d,nonce:p,validBefore:m,validAfter:b,feeToken:g,feePayerSignatureOrSender:v,...t.length>12?{signature:z}:{}},serialized:e,type:K2});let M={chainId:Number(n),type:K2};if(zn(u)&&u!=="0x"&&(M.gas=BigInt(u)),zn(p)&&(M.nonce=p==="0x"?0n:BigInt(p)),zn(o)&&o!=="0x"&&(M.maxFeePerGas=BigInt(o)),zn(a)&&a!=="0x"&&(M.maxPriorityFeePerGas=BigInt(a)),zn(d)&&(M.nonceKey=d==="0x"?0n:BigInt(d)),zn(m)&&m!=="0x"&&(M.validBefore=Number(m)),zn(b)&&b!=="0x"&&(M.validAfter=Number(b)),zn(g)&&g!=="0x"&&(M.feeToken=g),l&&l!=="0x"){const _=l;M.calls=_.map(B=>{const[C,I,j]=B,D={};return C&&C!=="0x"&&(D.to=C),I&&I!=="0x"&&(D.value=BigInt(I)),j&&j!=="0x"&&(D.data=j),D})}f?.length!==0&&f!=="0x"&&(M.accessList=GO(f)),x?.length!==0&&x!=="0x"&&(M.authorizationList=iL(x)),v!=="0x"&&v!==void 0&&(v==="0x00"||lu(v)?(M.feePayerSignature=null,lu(v)&&(M.from=v)):M.feePayerSignature=T7(v)),R&&(M.keyAuthorization=lL(R));const O=z?Vs(z):void 0;if(O&&(M={...M,signature:O}),!M.from&&O)try{M.from=Sm({payload:_m(Rm(M)),signature:O,root:!0})}catch{}return Mm(M),M}function Rm(e,t={}){const{feePayerSignature:n,signature:a}=t,o=typeof e=="string"?EL(e):e;return o.from&&(o.from=It(o.from)),o.calls&&(o.calls=o.calls.map(u=>({...u,...u.to?{to:It(u.to)}:{}}))),Mm(o),{...o,...a?{signature:va(a)}:{},...n?{feePayerSignature:Nf(n)}:{},type:"tempo"}}function hi(e,t={}){const{accessList:n,authorizationList:a,calls:o,chainId:u,feeToken:l,gas:f,keyAuthorization:d,nonce:p,nonceKey:m,maxFeePerGas:b,maxPriorityFeePerGas:g,validBefore:v,validAfter:x}=e;Mm(e);const S=VO(n),E=t.signature||e.signature,R=uL(a),z=o.map(B=>[B.to?It(B.to):"0x",B.value?ue(B.value):"0x",B.data??"0x"]);let M=!1;const O=(()=>{if(t.sender)return t.sender;if(t.format==="feePayer"&&E){const C=va(E);if(C.type==="keychain")return C.userAddress;if(C.type==="p256"||C.type==="webAuthn")return Er(C.publicKey);if(C.type==="secp256k1")return Yy({payload:_m(Rm(e)),signature:C.signature})}const B=typeof t.feePayerSignature<"u"?t.feePayerSignature:e.feePayerSignature;return B===null?(M=!0,"0x00"):B?R7(B):"0x"})(),_=[ue(u),g?ue(g):"0x",b?ue(b):"0x",f?ue(f):"0x",z,S,m?ue(m):"0x",p?ue(p):"0x",typeof v=="number"?ue(v):"0x",typeof x=="number"?ue(x):"0x",!M&&(typeof l=="bigint"||typeof l=="string")?xS(l):"0x",O,R,...d?[AS(d)]:[],...E?[Yf(va(E))]:[]];return tt(t.format==="feePayer"?xL:SL,wx(_))}function AL(e){return hi({...e,signature:void 0,...e.feePayerSignature!==void 0?{feePayerSignature:null}:{}})}function _m(e,t={}){const n=TL(e,{presign:!0});return t.from?Pr(tt("0x04",n,It(t.from))):n}function TL(e,t={}){const n=t.presign?AL(e):hi(e);return Pr(n)}function ML(e,t){const n=It(t.sender),a=hi({...e,signature:void 0},{sender:n,format:"feePayer"});return Pr(a)}class RL extends ye{constructor(){super("Calls list cannot be empty."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TxEnvelopeTempo.CallsEmptyError"})}}class _L extends ye{constructor({validBefore:t,validAfter:n}){super(`validBefore (${t}) must be greater than validAfter (${n}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TxEnvelopeTempo.InvalidValidityWindowError"})}}const CL=[{name:"CLOSE_GRACE_PERIOD",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"VOUCHER_TYPEHASH",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"open",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"uint96",name:"deposit"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"}],outputs:[{type:"bytes32",name:"channelId"}]},{name:"settle",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]},{type:"uint96",name:"cumulativeAmount"},{type:"bytes",name:"signature"}],outputs:[]},{name:"topUp",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]},{type:"uint96",name:"additionalDeposit"}],outputs:[]},{name:"close",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]},{type:"uint96",name:"cumulativeAmount"},{type:"uint96",name:"captureAmount"},{type:"bytes",name:"signature"}],outputs:[]},{name:"requestClose",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]}],outputs:[]},{name:"withdraw",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]}],outputs:[]},{name:"getChannel",type:"function",stateMutability:"view",inputs:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]}],outputs:[{type:"tuple",components:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]},{type:"tuple",name:"state",components:[{type:"uint96",name:"settled"},{type:"uint96",name:"deposit"},{type:"uint32",name:"closeRequestedAt"}]}]}]},{name:"getChannelState",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"channelId"}],outputs:[{type:"tuple",components:[{type:"uint96",name:"settled"},{type:"uint96",name:"deposit"},{type:"uint32",name:"closeRequestedAt"}]}]},{name:"getChannelStatesBatch",type:"function",stateMutability:"view",inputs:[{type:"bytes32[]",name:"channelIds"}],outputs:[{type:"tuple[]",components:[{type:"uint96",name:"settled"},{type:"uint96",name:"deposit"},{type:"uint32",name:"closeRequestedAt"}]}]},{name:"computeChannelId",type:"function",stateMutability:"view",inputs:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}],outputs:[{type:"bytes32"}]},{name:"getVoucherDigest",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"channelId"},{type:"uint96",name:"cumulativeAmount"}],outputs:[{type:"bytes32"}]},{name:"domainSeparator",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"ChannelOpened",type:"event",inputs:[{type:"bytes32",name:"channelId",indexed:!0},{type:"address",name:"payer",indexed:!0},{type:"address",name:"payee",indexed:!0},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"salt"},{type:"bytes32",name:"expiringNonceHash"},{type:"uint96",name:"deposit"}]},{name:"Settled",type:"event",inputs:[{type:"bytes32",name:"channelId",indexed:!0},{type:"address",name:"payer",indexed:!0},{type:"address",name:"payee",indexed:!0},{type:"uint96",name:"cumulativeAmount"},{type:"uint96",name:"deltaPaid"},{type:"uint96",name:"newSettled"}]},{name:"TopUp",type:"event",inputs:[{type:"bytes32",name:"channelId",indexed:!0},{type:"address",name:"payer",indexed:!0},{type:"address",name:"payee",indexed:!0},{type:"uint96",name:"additionalDeposit"},{type:"uint96",name:"newDeposit"}]},{name:"CloseRequested",type:"event",inputs:[{type:"bytes32",name:"channelId",indexed:!0},{type:"address",name:"payer",indexed:!0},{type:"address",name:"payee",indexed:!0},{type:"uint256",name:"closeGraceEnd"}]},{name:"ChannelClosed",type:"event",inputs:[{type:"bytes32",name:"channelId",indexed:!0},{type:"address",name:"payer",indexed:!0},{type:"address",name:"payee",indexed:!0},{type:"uint96",name:"settledToPayee"},{type:"uint96",name:"refundedToPayer"}]},{name:"CloseRequestCancelled",type:"event",inputs:[{type:"bytes32",name:"channelId",indexed:!0},{type:"address",name:"payer",indexed:!0},{type:"address",name:"payee",indexed:!0}]},{name:"ChannelAlreadyExists",type:"error",inputs:[]},{name:"ChannelNotFound",type:"error",inputs:[]},{name:"NotPayer",type:"error",inputs:[]},{name:"NotPayeeOrOperator",type:"error",inputs:[]},{name:"InvalidPayee",type:"error",inputs:[]},{name:"ZeroDeposit",type:"error",inputs:[]},{name:"ExpiringNonceHashNotSet",type:"error",inputs:[]},{name:"InvalidSignature",type:"error",inputs:[]},{name:"AmountExceedsDeposit",type:"error",inputs:[]},{name:"AmountNotIncreasing",type:"error",inputs:[]},{name:"CaptureAmountInvalid",type:"error",inputs:[]},{name:"CloseNotReady",type:"error",inputs:[]},{name:"DepositOverflow",type:"error",inputs:[]}],OL=[{name:"name",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"symbol",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"decimals",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"uint8"}]},{name:"totalSupply",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"quoteToken",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"nextQuoteToken",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"balanceOf",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"}],outputs:[{type:"uint256"}]},{name:"transfer",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"},{type:"uint256",name:"amount"}],outputs:[{type:"bool"}]},{name:"approve",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"spender"},{type:"uint256",name:"amount"}],outputs:[{type:"bool"}]},{name:"allowance",type:"function",stateMutability:"view",inputs:[{type:"address",name:"owner"},{type:"address",name:"spender"}],outputs:[{type:"uint256"}]},{name:"transferFrom",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"from"},{type:"address",name:"to"},{type:"uint256",name:"amount"}],outputs:[{type:"bool"}]},{name:"mint",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"},{type:"uint256",name:"amount"}],outputs:[]},{name:"burn",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"amount"}],outputs:[]},{name:"currency",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"supplyCap",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"paused",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"transferPolicyId",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"logoURI",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"setLogoURI",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"newLogoURI"}],outputs:[]},{name:"burnBlocked",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"from"},{type:"uint256",name:"amount"}],outputs:[]},{name:"mintWithMemo",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"},{type:"uint256",name:"amount"},{type:"bytes32",name:"memo"}],outputs:[]},{name:"burnWithMemo",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"amount"},{type:"bytes32",name:"memo"}],outputs:[]},{name:"transferWithMemo",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"},{type:"uint256",name:"amount"},{type:"bytes32",name:"memo"}],outputs:[]},{name:"transferFromWithMemo",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"from"},{type:"address",name:"to"},{type:"uint256",name:"amount"},{type:"bytes32",name:"memo"}],outputs:[{type:"bool"}]},{name:"changeTransferPolicyId",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"newPolicyId"}],outputs:[]},{name:"setSupplyCap",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"newSupplyCap"}],outputs:[]},{name:"pause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"unpause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"setNextQuoteToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newQuoteToken"}],outputs:[]},{name:"completeQuoteTokenUpdate",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"PAUSE_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"UNPAUSE_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"ISSUER_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"BURN_BLOCKED_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"permit",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"owner"},{type:"address",name:"spender"},{type:"uint256",name:"value"},{type:"uint256",name:"deadline"},{type:"uint8",name:"v"},{type:"bytes32",name:"r"},{type:"bytes32",name:"s"}],outputs:[]},{name:"nonces",type:"function",stateMutability:"view",inputs:[{type:"address",name:"owner"}],outputs:[{type:"uint256"}]},{name:"DOMAIN_SEPARATOR",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"distributeReward",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"amount"}],outputs:[]},{name:"setRewardRecipient",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"recipient"}],outputs:[]},{name:"claimRewards",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[{type:"uint256"}]},{name:"optedInSupply",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint128"}]},{name:"globalRewardPerToken",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"userRewardInfo",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"}],outputs:[{type:"tuple",components:[{type:"address",name:"rewardRecipient"},{type:"uint256",name:"rewardPerToken"},{type:"uint256",name:"rewardBalance"}]}]},{name:"getPendingRewards",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"}],outputs:[{type:"uint128"}]},{name:"Transfer",type:"event",inputs:[{type:"address",name:"from",indexed:!0},{type:"address",name:"to",indexed:!0},{type:"uint256",name:"amount"}]},{name:"Approval",type:"event",inputs:[{type:"address",name:"owner",indexed:!0},{type:"address",name:"spender",indexed:!0},{type:"uint256",name:"amount"}]},{name:"Mint",type:"event",inputs:[{type:"address",name:"to",indexed:!0},{type:"uint256",name:"amount"}]},{name:"Burn",type:"event",inputs:[{type:"address",name:"from",indexed:!0},{type:"uint256",name:"amount"}]},{name:"BurnBlocked",type:"event",inputs:[{type:"address",name:"from",indexed:!0},{type:"uint256",name:"amount"}]},{name:"TransferWithMemo",type:"event",inputs:[{type:"address",name:"from",indexed:!0},{type:"address",name:"to",indexed:!0},{type:"uint256",name:"amount"},{type:"bytes32",name:"memo",indexed:!0}]},{name:"TransferPolicyUpdate",type:"event",inputs:[{type:"address",name:"updater",indexed:!0},{type:"uint64",name:"newPolicyId",indexed:!0}]},{name:"SupplyCapUpdate",type:"event",inputs:[{type:"address",name:"updater",indexed:!0},{type:"uint256",name:"newSupplyCap",indexed:!0}]},{name:"PauseStateUpdate",type:"event",inputs:[{type:"address",name:"updater",indexed:!0},{type:"bool",name:"isPaused"}]},{name:"NextQuoteTokenSet",type:"event",inputs:[{type:"address",name:"updater",indexed:!0},{type:"address",name:"nextQuoteToken",indexed:!0}]},{name:"QuoteTokenUpdate",type:"event",inputs:[{type:"address",name:"updater",indexed:!0},{type:"address",name:"newQuoteToken",indexed:!0}]},{name:"RewardDistributed",type:"event",inputs:[{type:"address",name:"funder",indexed:!0},{type:"uint256",name:"amount"}]},{name:"RewardRecipientSet",type:"event",inputs:[{type:"address",name:"holder",indexed:!0},{type:"address",name:"recipient",indexed:!0}]},{name:"LogoURIUpdated",type:"event",inputs:[{type:"address",name:"updater",indexed:!0},{type:"string",name:"newLogoURI"}]},{name:"InsufficientBalance",type:"error",inputs:[{type:"uint256",name:"available"},{type:"uint256",name:"required"},{type:"address",name:"token"}]},{name:"InsufficientAllowance",type:"error",inputs:[]},{name:"SupplyCapExceeded",type:"error",inputs:[]},{name:"InvalidSupplyCap",type:"error",inputs:[]},{name:"InvalidPayload",type:"error",inputs:[]},{name:"PolicyForbids",type:"error",inputs:[]},{name:"InvalidRecipient",type:"error",inputs:[]},{name:"ContractPaused",type:"error",inputs:[]},{name:"InvalidCurrency",type:"error",inputs:[]},{name:"InvalidQuoteToken",type:"error",inputs:[]},{name:"InvalidAmount",type:"error",inputs:[]},{name:"NoOptedInSupply",type:"error",inputs:[]},{name:"Unauthorized",type:"error",inputs:[]},{name:"ProtectedAddress",type:"error",inputs:[]},{name:"InvalidToken",type:"error",inputs:[]},{name:"Uninitialized",type:"error",inputs:[]},{name:"InvalidTransferPolicyId",type:"error",inputs:[]},{name:"PermitExpired",type:"error",inputs:[]},{name:"InvalidSignature",type:"error",inputs:[]},{name:"LogoURITooLong",type:"error",inputs:[]},{name:"InvalidLogoURI",type:"error",inputs:[]},{name:"hasRole",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"bytes32",name:"role"}],outputs:[{type:"bool"}]},{name:"getRoleAdmin",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"bytes32"}]},{name:"grantRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"revokeRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"renounceRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"}],outputs:[]},{name:"setRoleAdmin",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"bytes32",name:"adminRole"}],outputs:[]},{name:"RoleMembershipUpdated",type:"event",inputs:[{type:"bytes32",name:"role",indexed:!0},{type:"address",name:"account",indexed:!0},{type:"address",name:"sender",indexed:!0},{type:"bool",name:"hasRole"}]},{name:"RoleAdminUpdated",type:"event",inputs:[{type:"bytes32",name:"role",indexed:!0},{type:"bytes32",name:"newAdminRole",indexed:!0},{type:"address",name:"sender",indexed:!0}]},{name:"Unauthorized",type:"error",inputs:[]}],PL=[{name:"getActiveValidators",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"tuple[]",name:"validators",components:[{type:"bytes32",name:"publicKey"},{type:"address",name:"validatorAddress"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"feeRecipient"},{type:"uint64",name:"index"},{type:"uint64",name:"addedAtHeight"},{type:"uint64",name:"deactivatedAtHeight"}]}]},{name:"getInitializedAtHeight",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"validatorCount",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"validatorByIndex",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"index"}],outputs:[{type:"tuple",components:[{type:"bytes32",name:"publicKey"},{type:"address",name:"validatorAddress"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"feeRecipient"},{type:"uint64",name:"index"},{type:"uint64",name:"addedAtHeight"},{type:"uint64",name:"deactivatedAtHeight"}]}]},{name:"validatorByAddress",type:"function",stateMutability:"view",inputs:[{type:"address",name:"validatorAddress"}],outputs:[{type:"tuple",components:[{type:"bytes32",name:"publicKey"},{type:"address",name:"validatorAddress"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"feeRecipient"},{type:"uint64",name:"index"},{type:"uint64",name:"addedAtHeight"},{type:"uint64",name:"deactivatedAtHeight"}]}]},{name:"validatorByPublicKey",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"publicKey"}],outputs:[{type:"tuple",components:[{type:"bytes32",name:"publicKey"},{type:"address",name:"validatorAddress"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"feeRecipient"},{type:"uint64",name:"index"},{type:"uint64",name:"addedAtHeight"},{type:"uint64",name:"deactivatedAtHeight"}]}]},{name:"getNextNetworkIdentityRotationEpoch",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"isInitialized",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"addValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"validatorAddress"},{type:"bytes32",name:"publicKey"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"feeRecipient"},{type:"bytes",name:"signature"}],outputs:[{type:"uint64",name:"index"}]},{name:"deactivateValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"idx"}],outputs:[]},{name:"rotateValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"idx"},{type:"bytes32",name:"publicKey"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"bytes",name:"signature"}],outputs:[]},{name:"setFeeRecipient",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"idx"},{type:"address",name:"feeRecipient"}],outputs:[]},{name:"setIpAddresses",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"idx"},{type:"string",name:"ingress"},{type:"string",name:"egress"}],outputs:[]},{name:"transferValidatorOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"idx"},{type:"address",name:"newAddress"}],outputs:[]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"setNetworkIdentityRotationEpoch",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"epoch"}],outputs:[]},{name:"migrateValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"idx"}],outputs:[]},{name:"initializeIfMigrated",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"ValidatorAdded",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"address",name:"validatorAddress",indexed:!0},{type:"bytes32",name:"publicKey"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"feeRecipient"}]},{name:"ValidatorDeactivated",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"address",name:"validatorAddress",indexed:!0}]},{name:"ValidatorRotated",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"uint64",name:"deactivatedIndex",indexed:!0},{type:"address",name:"validatorAddress",indexed:!0},{type:"bytes32",name:"oldPublicKey"},{type:"bytes32",name:"newPublicKey"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"caller"}]},{name:"FeeRecipientUpdated",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"address",name:"feeRecipient"},{type:"address",name:"caller"}]},{name:"IpAddressesUpdated",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"caller"}]},{name:"ValidatorOwnershipTransferred",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"address",name:"oldAddress",indexed:!0},{type:"address",name:"newAddress",indexed:!0},{type:"address",name:"caller"}]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"oldOwner",indexed:!0},{type:"address",name:"newOwner",indexed:!0}]},{name:"ValidatorMigrated",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"address",name:"validatorAddress",indexed:!0},{type:"bytes32",name:"publicKey"}]},{name:"NetworkIdentityRotationEpochSet",type:"event",inputs:[{type:"uint64",name:"previousEpoch",indexed:!0},{type:"uint64",name:"nextEpoch",indexed:!0}]},{name:"Initialized",type:"event",inputs:[{type:"uint64",name:"height"}]},{name:"SkippedValidatorMigration",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"address",name:"validatorAddress",indexed:!0},{type:"bytes32",name:"publicKey"}]},{name:"AlreadyInitialized",type:"error",inputs:[]},{name:"IngressAlreadyExists",type:"error",inputs:[{type:"string",name:"ingress"}]},{name:"EmptyV1ValidatorSet",type:"error",inputs:[]},{name:"InvalidMigrationIndex",type:"error",inputs:[]},{name:"InvalidOwner",type:"error",inputs:[]},{name:"InvalidPublicKey",type:"error",inputs:[]},{name:"InvalidSignature",type:"error",inputs:[]},{name:"InvalidSignatureFormat",type:"error",inputs:[]},{name:"InvalidValidatorAddress",type:"error",inputs:[]},{name:"MigrationNotComplete",type:"error",inputs:[]},{name:"NotInitialized",type:"error",inputs:[]},{name:"NotIp",type:"error",inputs:[{type:"string",name:"input"},{type:"string",name:"backtrace"}]},{name:"NotIpPort",type:"error",inputs:[{type:"string",name:"input"},{type:"string",name:"backtrace"}]},{name:"PublicKeyAlreadyExists",type:"error",inputs:[]},{name:"Unauthorized",type:"error",inputs:[]},{name:"AddressAlreadyHasValidator",type:"error",inputs:[]},{name:"ValidatorAlreadyDeactivated",type:"error",inputs:[]},{name:"ValidatorNotFound",type:"error",inputs:[]}],zL=[{name:"recover",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"hash"},{type:"bytes",name:"signature"}],outputs:[{type:"address",name:"signer"}]},{name:"verify",type:"function",stateMutability:"view",inputs:[{type:"address",name:"signer"},{type:"bytes32",name:"hash"},{type:"bytes",name:"signature"}],outputs:[{type:"bool"}]},{name:"InvalidFormat",type:"error",inputs:[]},{name:"InvalidSignature",type:"error",inputs:[]}],BL=[{name:"createPair",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"base"}],outputs:[{type:"bytes32",name:"key"}]},{name:"place",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"},{type:"uint128",name:"amount"},{type:"bool",name:"isBid"},{type:"int16",name:"tick"}],outputs:[{type:"uint128",name:"orderId"}]},{name:"placeFlip",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"},{type:"uint128",name:"amount"},{type:"bool",name:"isBid"},{type:"int16",name:"tick"},{type:"int16",name:"flipTick"}],outputs:[{type:"uint128",name:"orderId"}]},{name:"cancel",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint128",name:"orderId"}],outputs:[]},{name:"cancelStaleOrder",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint128",name:"orderId"}],outputs:[]},{name:"swapExactAmountIn",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"tokenIn"},{type:"address",name:"tokenOut"},{type:"uint128",name:"amountIn"},{type:"uint128",name:"minAmountOut"}],outputs:[{type:"uint128",name:"amountOut"}]},{name:"swapExactAmountOut",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"tokenIn"},{type:"address",name:"tokenOut"},{type:"uint128",name:"amountOut"},{type:"uint128",name:"maxAmountIn"}],outputs:[{type:"uint128",name:"amountIn"}]},{name:"quoteSwapExactAmountIn",type:"function",stateMutability:"view",inputs:[{type:"address",name:"tokenIn"},{type:"address",name:"tokenOut"},{type:"uint128",name:"amountIn"}],outputs:[{type:"uint128",name:"amountOut"}]},{name:"quoteSwapExactAmountOut",type:"function",stateMutability:"view",inputs:[{type:"address",name:"tokenIn"},{type:"address",name:"tokenOut"},{type:"uint128",name:"amountOut"}],outputs:[{type:"uint128",name:"amountIn"}]},{name:"balanceOf",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"},{type:"address",name:"token"}],outputs:[{type:"uint128"}]},{name:"withdraw",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"},{type:"uint128",name:"amount"}],outputs:[]},{name:"getOrder",type:"function",stateMutability:"view",inputs:[{type:"uint128",name:"orderId"}],outputs:[{type:"tuple",components:[{type:"uint128",name:"orderId"},{type:"address",name:"maker"},{type:"bytes32",name:"bookKey"},{type:"bool",name:"isBid"},{type:"int16",name:"tick"},{type:"uint128",name:"amount"},{type:"uint128",name:"remaining"},{type:"uint128",name:"prev"},{type:"uint128",name:"next"},{type:"bool",name:"isFlip"},{type:"int16",name:"flipTick"}]}]},{name:"getTickLevel",type:"function",stateMutability:"view",inputs:[{type:"address",name:"base"},{type:"int16",name:"tick"},{type:"bool",name:"isBid"}],outputs:[{type:"uint128",name:"head"},{type:"uint128",name:"tail"},{type:"uint128",name:"totalLiquidity"}]},{name:"pairKey",type:"function",stateMutability:"pure",inputs:[{type:"address",name:"tokenA"},{type:"address",name:"tokenB"}],outputs:[{type:"bytes32"}]},{name:"nextOrderId",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint128"}]},{name:"books",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"pairKey"}],outputs:[{type:"tuple",components:[{type:"address",name:"base"},{type:"address",name:"quote"},{type:"int16",name:"bestBidTick"},{type:"int16",name:"bestAskTick"}]}]},{name:"MIN_TICK",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"int16"}]},{name:"MAX_TICK",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"int16"}]},{name:"TICK_SPACING",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"int16"}]},{name:"PRICE_SCALE",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"uint32"}]},{name:"MIN_ORDER_AMOUNT",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"uint128"}]},{name:"MIN_PRICE",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"uint32"}]},{name:"MAX_PRICE",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"uint32"}]},{name:"tickToPrice",type:"function",stateMutability:"pure",inputs:[{type:"int16",name:"tick"}],outputs:[{type:"uint32",name:"price"}]},{name:"priceToTick",type:"function",stateMutability:"pure",inputs:[{type:"uint32",name:"price"}],outputs:[{type:"int16",name:"tick"}]},{name:"PairCreated",type:"event",inputs:[{type:"bytes32",name:"key",indexed:!0},{type:"address",name:"base",indexed:!0},{type:"address",name:"quote",indexed:!0}]},{name:"OrderPlaced",type:"event",inputs:[{type:"uint128",name:"orderId",indexed:!0},{type:"address",name:"maker",indexed:!0},{type:"address",name:"token",indexed:!0},{type:"uint128",name:"amount"},{type:"bool",name:"isBid"},{type:"int16",name:"tick"},{type:"bool",name:"isFlipOrder"},{type:"int16",name:"flipTick"}]},{name:"OrderFilled",type:"event",inputs:[{type:"uint128",name:"orderId",indexed:!0},{type:"address",name:"maker",indexed:!0},{type:"address",name:"taker",indexed:!0},{type:"uint128",name:"amountFilled"},{type:"bool",name:"partialFill"}]},{name:"OrderFlipped",type:"event",inputs:[{type:"uint128",name:"orderId",indexed:!0},{type:"address",name:"maker",indexed:!0},{type:"address",name:"token",indexed:!0},{type:"uint128",name:"amount"},{type:"bool",name:"isBid"},{type:"int16",name:"tick"},{type:"int16",name:"flipTick"}]},{name:"OrderCancelled",type:"event",inputs:[{type:"uint128",name:"orderId",indexed:!0}]},{name:"Unauthorized",type:"error",inputs:[]},{name:"PairDoesNotExist",type:"error",inputs:[]},{name:"PairAlreadyExists",type:"error",inputs:[]},{name:"OrderDoesNotExist",type:"error",inputs:[]},{name:"IdenticalTokens",type:"error",inputs:[]},{name:"InvalidToken",type:"error",inputs:[]},{name:"TickOutOfBounds",type:"error",inputs:[{type:"int16",name:"tick"}]},{name:"InvalidTick",type:"error",inputs:[]},{name:"InvalidFlipTick",type:"error",inputs:[]},{name:"InsufficientBalance",type:"error",inputs:[]},{name:"InsufficientLiquidity",type:"error",inputs:[]},{name:"InsufficientOutput",type:"error",inputs:[]},{name:"MaxInputExceeded",type:"error",inputs:[]},{name:"BelowMinimumOrderSize",type:"error",inputs:[{type:"uint128",name:"amount"}]},{name:"InvalidBaseToken",type:"error",inputs:[]},{name:"OrderNotStale",type:"error",inputs:[]}],IL=[{name:"registerVirtualMaster",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"salt"}],outputs:[{type:"bytes4",name:"masterId"}]},{name:"getMaster",type:"function",stateMutability:"view",inputs:[{type:"bytes4",name:"masterId"}],outputs:[{type:"address"}]},{name:"resolveRecipient",type:"function",stateMutability:"view",inputs:[{type:"address",name:"to"}],outputs:[{type:"address",name:"effectiveRecipient"}]},{name:"resolveVirtualAddress",type:"function",stateMutability:"view",inputs:[{type:"address",name:"virtualAddr"}],outputs:[{type:"address",name:"master"}]},{name:"isVirtualAddress",type:"function",stateMutability:"pure",inputs:[{type:"address",name:"addr"}],outputs:[{type:"bool"}]},{name:"decodeVirtualAddress",type:"function",stateMutability:"pure",inputs:[{type:"address",name:"addr"}],outputs:[{type:"bool",name:"isVirtual"},{type:"bytes4",name:"masterId"},{type:"bytes6",name:"userTag"}]},{name:"isImplicitlyApproved",type:"function",stateMutability:"view",inputs:[{type:"address",name:"addr"}],outputs:[{type:"bool"}]},{name:"MasterRegistered",type:"event",inputs:[{type:"bytes4",name:"masterId",indexed:!0},{type:"address",name:"masterAddress",indexed:!0}]},{name:"MasterIdCollision",type:"error",inputs:[{type:"address",name:"master"}]},{name:"InvalidMasterAddress",type:"error",inputs:[]},{name:"ProofOfWorkFailed",type:"error",inputs:[]},{name:"VirtualAddressUnregistered",type:"error",inputs:[]}],NL=[{name:"userTokens",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"}],outputs:[{type:"address"}]},{name:"validatorTokens",type:"function",stateMutability:"view",inputs:[{type:"address",name:"validator"}],outputs:[{type:"address"}]},{name:"setUserToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"}],outputs:[]},{name:"setValidatorToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"}],outputs:[]},{name:"distributeFees",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"validator"},{type:"address",name:"token"}],outputs:[]},{name:"collectedFees",type:"function",stateMutability:"view",inputs:[{type:"address",name:"validator"},{type:"address",name:"token"}],outputs:[{type:"uint256"}]},{name:"UserTokenSet",type:"event",inputs:[{type:"address",name:"user",indexed:!0},{type:"address",name:"token",indexed:!0}]},{name:"ValidatorTokenSet",type:"event",inputs:[{type:"address",name:"validator",indexed:!0},{type:"address",name:"token",indexed:!0}]},{name:"FeesDistributed",type:"event",inputs:[{type:"address",name:"validator",indexed:!0},{type:"address",name:"token",indexed:!0},{type:"uint256",name:"amount"}]},{name:"InvalidToken",type:"error",inputs:[]},{name:"InsufficientFeeTokenBalance",type:"error",inputs:[]},{name:"CannotChangeWithinBlock",type:"error",inputs:[]}],LL=[{name:"M",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"N",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"SCALE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"MIN_LIQUIDITY",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"getPoolId",type:"function",stateMutability:"pure",inputs:[{type:"address",name:"userToken"},{type:"address",name:"validatorToken"}],outputs:[{type:"bytes32"}]},{name:"getPool",type:"function",stateMutability:"view",inputs:[{type:"address",name:"userToken"},{type:"address",name:"validatorToken"}],outputs:[{type:"tuple",components:[{type:"uint128",name:"reserveUserToken"},{type:"uint128",name:"reserveValidatorToken"}]}]},{name:"pools",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"poolId"}],outputs:[{type:"tuple",components:[{type:"uint128",name:"reserveUserToken"},{type:"uint128",name:"reserveValidatorToken"}]}]},{name:"mint",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"userToken"},{type:"address",name:"validatorToken"},{type:"uint256",name:"amountValidatorToken"},{type:"address",name:"to"}],outputs:[{type:"uint256",name:"liquidity"}]},{name:"burn",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"userToken"},{type:"address",name:"validatorToken"},{type:"uint256",name:"liquidity"},{type:"address",name:"to"}],outputs:[{type:"uint256",name:"amountUserToken"},{type:"uint256",name:"amountValidatorToken"}]},{name:"totalSupply",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"poolId"}],outputs:[{type:"uint256"}]},{name:"liquidityBalances",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"poolId"},{type:"address",name:"user"}],outputs:[{type:"uint256"}]},{name:"rebalanceSwap",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"userToken"},{type:"address",name:"validatorToken"},{type:"uint256",name:"amountOut"},{type:"address",name:"to"}],outputs:[{type:"uint256",name:"amountIn"}]},{name:"Mint",type:"event",inputs:[{type:"address",name:"sender"},{type:"address",name:"to",indexed:!0},{type:"address",name:"userToken",indexed:!0},{type:"address",name:"validatorToken",indexed:!0},{type:"uint256",name:"amountValidatorToken"},{type:"uint256",name:"liquidity"}]},{name:"Burn",type:"event",inputs:[{type:"address",name:"sender",indexed:!0},{type:"address",name:"userToken",indexed:!0},{type:"address",name:"validatorToken",indexed:!0},{type:"uint256",name:"amountUserToken"},{type:"uint256",name:"amountValidatorToken"},{type:"uint256",name:"liquidity"},{type:"address",name:"to"}]},{name:"RebalanceSwap",type:"event",inputs:[{type:"address",name:"userToken",indexed:!0},{type:"address",name:"validatorToken",indexed:!0},{type:"address",name:"swapper",indexed:!0},{type:"uint256",name:"amountIn"},{type:"uint256",name:"amountOut"}]},{name:"IdenticalAddresses",type:"error",inputs:[]},{name:"InvalidToken",type:"error",inputs:[]},{name:"InsufficientLiquidity",type:"error",inputs:[]},{name:"InsufficientReserves",type:"error",inputs:[]},{name:"InvalidAmount",type:"error",inputs:[]},{name:"DivisionByZero",type:"error",inputs:[]},{name:"InvalidSwapCalculation",type:"error",inputs:[]}],_r=[{name:"authorizeKey",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"uint8",name:"signatureType"},{type:"uint64",name:"expiry"},{type:"bool",name:"enforceLimits"},{type:"tuple[]",name:"limits",components:[{type:"address",name:"token"},{type:"uint256",name:"amount"}]}],outputs:[]},{name:"authorizeKey",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"uint8",name:"signatureType"},{type:"tuple",name:"config",components:[{type:"uint64",name:"expiry"},{type:"bool",name:"enforceLimits"},{type:"tuple[]",name:"limits",components:[{type:"address",name:"token"},{type:"uint256",name:"amount"},{type:"uint64",name:"period"}]},{type:"bool",name:"allowAnyCalls"},{type:"tuple[]",name:"allowedCalls",components:[{type:"address",name:"target"},{type:"tuple[]",name:"selectorRules",components:[{type:"bytes4",name:"selector"},{type:"address[]",name:"recipients"}]}]}]}],outputs:[]},{name:"authorizeKey",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"uint8",name:"signatureType"},{type:"tuple",name:"config",components:[{type:"uint64",name:"expiry"},{type:"bool",name:"enforceLimits"},{type:"tuple[]",name:"limits",components:[{type:"address",name:"token"},{type:"uint256",name:"amount"},{type:"uint64",name:"period"}]},{type:"bool",name:"allowAnyCalls"},{type:"tuple[]",name:"allowedCalls",components:[{type:"address",name:"target"},{type:"tuple[]",name:"selectorRules",components:[{type:"bytes4",name:"selector"},{type:"address[]",name:"recipients"}]}]}]},{type:"bytes32",name:"witness"}],outputs:[]},{name:"burnKeyAuthorizationWitness",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"witness"}],outputs:[]},{name:"revokeKey",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"}],outputs:[]},{name:"updateSpendingLimit",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"address",name:"token"},{type:"uint256",name:"newLimit"}],outputs:[]},{name:"setAllowedCalls",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"tuple[]",name:"scopes",components:[{type:"address",name:"target"},{type:"tuple[]",name:"selectorRules",components:[{type:"bytes4",name:"selector"},{type:"address[]",name:"recipients"}]}]}],outputs:[]},{name:"removeAllowedCalls",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"address",name:"target"}],outputs:[]},{name:"getKey",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"address",name:"keyId"}],outputs:[{type:"tuple",components:[{type:"uint8",name:"signatureType"},{type:"address",name:"keyId"},{type:"uint64",name:"expiry"},{type:"bool",name:"enforceLimits"},{type:"bool",name:"isRevoked"}]}]},{name:"getRemainingLimit",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"address",name:"keyId"},{type:"address",name:"token"}],outputs:[{type:"uint256",name:"remaining"}]},{name:"getRemainingLimitWithPeriod",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"address",name:"keyId"},{type:"address",name:"token"}],outputs:[{type:"uint256",name:"remaining"},{type:"uint64",name:"periodEnd"}]},{name:"getAllowedCalls",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"address",name:"keyId"}],outputs:[{type:"bool",name:"isScoped"},{type:"tuple[]",name:"scopes",components:[{type:"address",name:"target"},{type:"tuple[]",name:"selectorRules",components:[{type:"bytes4",name:"selector"},{type:"address[]",name:"recipients"}]}]}]},{name:"isKeyAuthorizationWitnessBurned",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"bytes32",name:"witness"}],outputs:[{type:"bool"}]},{name:"getTransactionKey",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"KeyAuthorized",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"address",name:"publicKey",indexed:!0},{type:"uint8",name:"signatureType"},{type:"uint64",name:"expiry"}]},{name:"KeyRevoked",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"address",name:"publicKey",indexed:!0}]},{name:"SpendingLimitUpdated",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"address",name:"publicKey",indexed:!0},{type:"address",name:"token",indexed:!0},{type:"uint256",name:"newLimit"}]},{name:"AccessKeySpend",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"address",name:"publicKey",indexed:!0},{type:"address",name:"token",indexed:!0},{type:"uint256",name:"amount"},{type:"uint256",name:"remainingLimit"}]},{name:"KeyAuthorizationWitness",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"bytes32",name:"witness",indexed:!0}]},{name:"KeyAuthorizationWitnessBurned",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"bytes32",name:"witness",indexed:!0}]},{name:"UnauthorizedCaller",type:"error",inputs:[]},{name:"KeyAlreadyExists",type:"error",inputs:[]},{name:"KeyNotFound",type:"error",inputs:[]},{name:"KeyExpired",type:"error",inputs:[]},{name:"SpendingLimitExceeded",type:"error",inputs:[]},{name:"InvalidSpendingLimit",type:"error",inputs:[]},{name:"InvalidSignatureType",type:"error",inputs:[]},{name:"ZeroPublicKey",type:"error",inputs:[]},{name:"ExpiryInPast",type:"error",inputs:[]},{name:"KeyAlreadyRevoked",type:"error",inputs:[]},{name:"SignatureTypeMismatch",type:"error",inputs:[{type:"uint8",name:"expected"},{type:"uint8",name:"actual"}]},{name:"CallNotAllowed",type:"error",inputs:[]},{name:"InvalidCallScope",type:"error",inputs:[]},{name:"InvalidKeyAuthorizationWitness",type:"error",inputs:[]},{name:"KeyAuthorizationWitnessAlreadyBurned",type:"error",inputs:[]},{name:"LegacyAuthorizeKeySelectorChanged",type:"error",inputs:[{type:"bytes4",name:"newSelector"}]}],$L=[{name:"getNonce",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"uint256",name:"nonceKey"}],outputs:[{type:"uint64",name:"nonce"}]},{name:"NonceIncremented",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"uint256",name:"nonceKey",indexed:!0},{type:"uint64",name:"newNonce"}]},{name:"ProtocolNonceNotSupported",type:"error",inputs:[]},{name:"InvalidNonceKey",type:"error",inputs:[]},{name:"NonceOverflow",type:"error",inputs:[]},{name:"ExpiringNonceReplay",type:"error",inputs:[]},{name:"ExpiringNonceSetFull",type:"error",inputs:[]},{name:"InvalidExpiringNonceExpiry",type:"error",inputs:[]}],UL=[{name:"createToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"name"},{type:"string",name:"symbol"},{type:"string",name:"currency"},{type:"address",name:"quoteToken"},{type:"address",name:"admin"},{type:"bytes32",name:"salt"}],outputs:[{type:"address"}]},{name:"createToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"name"},{type:"string",name:"symbol"},{type:"string",name:"currency"},{type:"address",name:"quoteToken"},{type:"address",name:"admin"},{type:"bytes32",name:"salt"},{type:"string",name:"logoURI"}],outputs:[{type:"address"}]},{name:"isTIP20",type:"function",stateMutability:"view",inputs:[{type:"address",name:"token"}],outputs:[{type:"bool"}]},{name:"getTokenAddress",type:"function",stateMutability:"pure",inputs:[{type:"address",name:"sender"},{type:"bytes32",name:"salt"}],outputs:[{type:"address"}]},{name:"TokenCreated",type:"event",inputs:[{type:"address",name:"token",indexed:!0},{type:"string",name:"name"},{type:"string",name:"symbol"},{type:"string",name:"currency"},{type:"address",name:"quoteToken"},{type:"address",name:"admin"},{type:"bytes32",name:"salt"}]},{name:"AddressReserved",type:"error",inputs:[]},{name:"AddressNotReserved",type:"error",inputs:[]},{name:"InvalidQuoteToken",type:"error",inputs:[]},{name:"TokenAlreadyExists",type:"error",inputs:[{type:"address",name:"token"}]}],jL=[{name:"policyIdCounter",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"policyExists",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"}],outputs:[{type:"bool"}]},{name:"policyData",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"}],outputs:[{type:"uint8",name:"policyType"},{type:"address",name:"admin"}]},{name:"isAuthorized",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"user"}],outputs:[{type:"bool"}]},{name:"isAuthorizedSender",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"user"}],outputs:[{type:"bool"}]},{name:"isAuthorizedRecipient",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"user"}],outputs:[{type:"bool"}]},{name:"isAuthorizedMintRecipient",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"user"}],outputs:[{type:"bool"}]},{name:"compoundPolicyData",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"}],outputs:[{type:"uint64",name:"senderPolicyId"},{type:"uint64",name:"recipientPolicyId"},{type:"uint64",name:"mintRecipientPolicyId"}]},{name:"createPolicy",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"admin"},{type:"uint8",name:"policyType"}],outputs:[{type:"uint64"}]},{name:"createPolicyWithAccounts",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"admin"},{type:"uint8",name:"policyType"},{type:"address[]",name:"accounts"}],outputs:[{type:"uint64"}]},{name:"setPolicyAdmin",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"admin"}],outputs:[]},{name:"modifyPolicyWhitelist",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"account"},{type:"bool",name:"allowed"}],outputs:[]},{name:"modifyPolicyBlacklist",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"account"},{type:"bool",name:"restricted"}],outputs:[]},{name:"createCompoundPolicy",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"senderPolicyId"},{type:"uint64",name:"recipientPolicyId"},{type:"uint64",name:"mintRecipientPolicyId"}],outputs:[{type:"uint64"}]},{name:"PolicyAdminUpdated",type:"event",inputs:[{type:"uint64",name:"policyId",indexed:!0},{type:"address",name:"updater",indexed:!0},{type:"address",name:"admin",indexed:!0}]},{name:"PolicyCreated",type:"event",inputs:[{type:"uint64",name:"policyId",indexed:!0},{type:"address",name:"updater",indexed:!0},{type:"uint8",name:"policyType"}]},{name:"WhitelistUpdated",type:"event",inputs:[{type:"uint64",name:"policyId",indexed:!0},{type:"address",name:"updater",indexed:!0},{type:"address",name:"account",indexed:!0},{type:"bool",name:"allowed"}]},{name:"BlacklistUpdated",type:"event",inputs:[{type:"uint64",name:"policyId",indexed:!0},{type:"address",name:"updater",indexed:!0},{type:"address",name:"account",indexed:!0},{type:"bool",name:"restricted"}]},{name:"CompoundPolicyCreated",type:"event",inputs:[{type:"uint64",name:"policyId",indexed:!0},{type:"address",name:"creator",indexed:!0},{type:"uint64",name:"senderPolicyId"},{type:"uint64",name:"recipientPolicyId"},{type:"uint64",name:"mintRecipientPolicyId"}]},{name:"Unauthorized",type:"error",inputs:[]},{name:"PolicyNotFound",type:"error",inputs:[]},{name:"PolicyNotSimple",type:"error",inputs:[]},{name:"InvalidPolicyType",type:"error",inputs:[]},{name:"IncompatiblePolicyType",type:"error",inputs:[]},{name:"VirtualAddressNotAllowed",type:"error",inputs:[]}],kL=[{name:"getValidators",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"tuple[]",name:"validators",components:[{type:"bytes32",name:"publicKey"},{type:"bool",name:"active"},{type:"uint64",name:"index"},{type:"address",name:"validatorAddress"},{type:"string",name:"inboundAddress"},{type:"string",name:"outboundAddress"}]}]},{name:"addValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newValidatorAddress"},{type:"bytes32",name:"publicKey"},{type:"bool",name:"active"},{type:"string",name:"inboundAddress"},{type:"string",name:"outboundAddress"}],outputs:[]},{name:"updateValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newValidatorAddress"},{type:"bytes32",name:"publicKey"},{type:"string",name:"inboundAddress"},{type:"string",name:"outboundAddress"}],outputs:[]},{name:"changeValidatorStatus",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"validator"},{type:"bool",name:"active"}],outputs:[]},{name:"changeValidatorStatusByIndex",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"index"},{type:"bool",name:"active"}],outputs:[]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"changeOwner",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"getNextFullDkgCeremony",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"setNextFullDkgCeremony",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"epoch"}],outputs:[]},{name:"validatorsArray",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"index"}],outputs:[{type:"address"}]},{name:"validators",type:"function",stateMutability:"view",inputs:[{type:"address",name:"validator"}],outputs:[{type:"tuple",components:[{type:"bytes32",name:"publicKey"},{type:"bool",name:"active"},{type:"uint64",name:"index"},{type:"address",name:"validatorAddress"},{type:"string",name:"inboundAddress"},{type:"string",name:"outboundAddress"}]}]},{name:"validatorCount",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"Unauthorized",type:"error",inputs:[]},{name:"ValidatorAlreadyExists",type:"error",inputs:[]},{name:"ValidatorNotFound",type:"error",inputs:[]},{name:"InvalidPublicKey",type:"error",inputs:[]},{name:"NotHostPort",type:"error",inputs:[{type:"string",name:"field"},{type:"string",name:"input"},{type:"string",name:"backtrace"}]},{name:"NotIpPort",type:"error",inputs:[{type:"string",name:"field"},{type:"string",name:"input"},{type:"string",name:"backtrace"}]}];[...CL,...OL,...PL,...zL,...BL,...IL,...NL,...LL,..._r,...$L,...UL,...jL,...kL];function MS(e){const t=e.account;return t?.keyType&&t.keyType!=="secp256k1"||t?.source==="accessKey"||typeof e.calls<"u"||typeof e.feePayer<"u"||typeof e.feeToken<"u"||typeof e.keyAuthorization<"u"||typeof e.nonceKey<"u"||typeof e.signature<"u"||typeof e.validBefore<"u"||typeof e.validAfter<"u"?"tempo":e.type?e.type:gm(e)}function Cm(e){try{return MS(e)==="tempo"}catch{return!1}}async function DL(e,t){if(!Cm(e)){if(t&&"type"in t&&t.type!=="secp256k1")throw new Error("Unsupported signature type. Expected `secp256k1` but got `"+t.type+"`.");if(t&&"type"in t){const{r:a,s:o,yParity:u}=t?.signature;return U2(e,{r:ue(a,{size:32}),s:ue(o,{size:32}),yParity:u})}return U2(e,t)}if(MS(e)==="tempo")return HL(e,t);throw new Error("Unsupported transaction type")}async function HL(e,t){const n=(()=>{if(e.signature)return e.signature;if(t&&"type"in t)return t;if(t)return va({r:BigInt(t.r),s:BigInt(t.s),yParity:Number(t.yParity)})})(),{chainId:a,feePayer:o,nonce:u,...l}=e,f=(()=>{const b=e.feePayerSignature;if(b)return{r:BigInt(b.r),s:BigInt(b.s),yParity:Number(b.yParity)};if(b===null||o)return null})(),d=typeof e.feePayerSignature<"u"&&e.feePayerSignature!==null,p=o===!0&&(!n||!f)||!n&&d,m={...l,calls:l.calls?.length?l.calls:[{to:l.to||(!l.data||l.data==="0x"?"0x0000000000000000000000000000000000000000":void 0),value:l.value,data:l.data}],chainId:Number(a),feePayerSignature:f,type:"tempo",...u?{nonce:BigInt(u)}:{}};if(p&&delete m.feeToken,n&&typeof e.feePayer=="object"){const b=Rm(m,{signature:n}),g=(()=>{if(e.from)return e.from;if(n.type==="secp256k1")return Yy({payload:_m(b),signature:n.signature});throw new Error("Unable to extract sender from transaction or signature.")})(),v=ML(b,{sender:g}),x=await e.feePayer.sign({hash:v});return hi(b,{feePayerSignature:Nf(x)})}return o===!0||!n&&d?n&&f?hi(m,{signature:n}):n?hi(m,{format:"feePayer",sender:e.from,signature:n}):hi(m,{feePayerSignature:null}):hi({...m,...o&&!f?{feeToken:void 0}:{}},{feePayerSignature:void 0,signature:n})}async function FL(e,t){const{chainId:n,key:a,expiry:o,limits:u,scopes:l}=t,{accessKeyAddress:f,keyType:d}=qL(a),p=await e.sign({hash:fL({address:f,chainId:n,expiry:o,limits:u,scopes:l,type:d})});return SS({address:f,chainId:n,expiry:o,limits:u,scopes:l,signature:va(p),type:d})}function qL(e){return"accessKeyAddress"in e?{accessKeyAddress:e.accessKeyAddress,keyType:e.keyType}:"publicKey"in e&&e.publicKey?{accessKeyAddress:Er($y(e.publicKey)),keyType:e.type}:{accessKeyAddress:e.address,keyType:e.type}}const ju="0xaAAAaaAA00000000000000000000000000000000",yU="0x20c0000000000000000000000000000000000000",mU="0x20fc000000000000000000000000000000000000",Q2=["genesis","t0","t1","t1a","t1b","t1c","t2","t3"];function GL(e,t){return Q2.indexOf(e)<Q2.indexOf(t)}function ku(e){return{...e,data:Fs(e),to:e.address}}const VL={0:"secp256k1",1:"p256",2:"webAuthn"},KL={true:"limited",false:"unlimited"};async function uy(e,t){return uy.inner(oS,e,t)}(function(e){async function t(a,o,u){const{accessKey:l,chainId:f=o.chain?.id,expiry:d,limits:p,scopes:m,...b}=u,g=b.account??o.account;if(!g)throw new Error("account is required.");if(!f)throw new Error("chainId is required.");const v=Ut(g),x=await FL(v,{chainId:BigInt(f),key:l,expiry:d,limits:p,scopes:m});return await a(o,{...b,keyAuthorization:x})}e.inner=t;function n(a){const[o]=vm({abi:_r,logs:a,eventName:"KeyAuthorized",strict:!0});if(!o)throw new Error("`KeyAuthorized` event not found.");return o}e.extractEvent=n})(uy||(uy={}));async function cy(e,t){return cy.inner($u,e,t)}(function(e){async function t(o,u,l){const{accessKey:f,...d}=l,p=e.call({accessKey:f});return await o(u,{...d,...p})}e.inner=t;function n(o){const{accessKey:u}=o;return ku({address:ju,abi:_r,functionName:"revokeKey",args:[Hu(u)]})}e.call=n;function a(o){const[u]=vm({abi:_r,logs:o,eventName:"KeyRevoked",strict:!0});if(!u)throw new Error("`KeyRevoked` event not found.");return u}e.extractEvent=a})(cy||(cy={}));async function ly(e,t){return ly.inner($u,e,t)}(function(e){async function t(o,u,l){const{accessKey:f,token:d,limit:p,...m}=l,b=e.call({accessKey:f,token:d,limit:p});return await o(u,{...m,...b})}e.inner=t;function n(o){const{accessKey:u,token:l,limit:f}=o;return ku({address:ju,abi:_r,functionName:"updateSpendingLimit",args:[Hu(u),l,f]})}e.call=n;function a(o){const[u]=vm({abi:_r,logs:o,eventName:"SpendingLimitUpdated",strict:!0});if(!u)throw new Error("`SpendingLimitUpdated` event not found.");return u}e.extractEvent=a})(ly||(ly={}));async function Du(e,t){const{account:n=e.account,accessKey:a,...o}=t;if(!n)throw new Error("account is required.");const u=Ut(n),l=await Nu(e,{...o,account:null,...Du.call({account:u.address,accessKey:a})});return{address:l.keyId,keyType:VL[l.signatureType]??"secp256k1",expiry:l.expiry,spendPolicy:KL[`${l.enforceLimits}`],isRevoked:l.isRevoked}}(function(e){function t(n){const{account:a,accessKey:o}=n;return ku({address:ju,abi:_r,functionName:"getKey",args:[a,Hu(o)]})}e.call=t})(Du||(Du={}));async function hf(e,t){const{account:n=e.account,accessKey:a,token:o,...u}=t;if(!n)throw new Error("account is required.");const l=Ut(n),f=e.chain?.hardfork;if(f&&GL(f,"t3"))return{remaining:await Nu(e,{...u,...hf.call({account:l.address,accessKey:a,token:o})}),periodEnd:void 0};const[d,p]=await Nu(e,{...u,...hf.callWithPeriod({account:l.address,accessKey:a,token:o})});return{remaining:d,periodEnd:p}}(function(e){function t(a){const{account:o,accessKey:u,token:l}=a;return ku({address:ju,abi:_r,functionName:"getRemainingLimit",args:[o,Hu(u),l]})}e.call=t;function n(a){const{account:o,accessKey:u,token:l}=a;return ku({address:ju,abi:_r,functionName:"getRemainingLimitWithPeriod",args:[o,Hu(u),l]})}e.callWithPeriod=n})(hf||(hf={}));function Hu(e){return typeof e=="string"?e:e.accessKeyAddress}function QL(e){if(!Cm(e))return Vf(e);const t=e.blockTimestamp==null?void 0:BigInt(e.blockTimestamp),{feePayerSignature:n,gasPrice:a,nonce:o,...u}=vL(e);return{...u,accessList:u.accessList,...typeof t<"u"&&{blockTimestamp:t},feePayerSignature:n?{r:ue(n.r,{size:32}),s:ue(n.s,{size:32}),v:BigInt(n.v??27),yParity:n.yParity}:void 0,nonce:Number(o),typeHex:TS[u.type],type:u.type}}function YL(e){return W3(e)}function ZL(e,t){const n=e,a=n.account?Ut(n.account):void 0;if(!Cm(n))return Gs(e);t&&(n.calls=n.calls??[{to:e.to||(!e.data||e.data==="0x"?"0x0000000000000000000000000000000000000000":void 0),value:e.value,data:e.data}]),n.feePayer===!0&&!n.feePayerSignature&&delete n.feeToken;const o=wL({...n,type:"tempo"});t==="estimateGas"&&(o.maxFeePerGas=void 0,o.maxPriorityFeePerGas=void 0),o.to=void 0,o.data=void 0,o.value=void 0;const[u,l]=(()=>{const d=a&&"keyType"in a?a.keyType:a?.source;return d?d==="webAuthn"?["webAuthn","0x0578"]:["p256","secp256k1"].includes(d)?[d,void 0]:[n.keyType,Y2(n.keyData)]:[n.keyType,Y2(n.keyData)]})(),f=a&&"accessKeyAddress"in a?a.accessKeyAddress:n.keyId;return a&&(o.from=a.address),{...o,...n.capabilities?{capabilities:n.capabilities}:{},...l?{keyData:l}:{},...f?{keyId:f}:{},...u?{keyType:u}:{},...typeof n.feePayer<"u"?{feePayer:typeof n.feePayer=="object"?Ut(n.feePayer):n.feePayer}:{},..."feePayerSignature"in n&&n.feePayerSignature!==void 0?{feePayerSignature:n.feePayerSignature}:{}}}function Y2(e){if(!e)return e;const t=(e.length-2)/2;return t<=4?e:ue(t,{size:2})}const ds=new Map;async function XL(e){ds.set(e,(ds.get(e)??0)+1),await Promise.resolve();const t=(ds.get(e)??0)>1;return queueMicrotask(()=>{const n=ds.get(e)??0;n<=1?ds.delete(e):ds.set(e,n-1)}),t}const JL=25,RS={blockTime:1e3,extendSchema:qI(),formatters:{transaction:lI({exclude:["aaAuthorizationList"],format:QL}),transactionReceipt:AI({format:YL}),transactionRequest:qB({format:ZL})},prepareTransactionRequest:[async(e,{client:t,phase:n})=>{const a=e;if(n==="afterFillParameters")return a.feePayer&&(a.keyAuthorization?.signature.type==="webAuthn"?a.gas=(a.gas??0n)+20000n:a.account?.source==="accessKey"&&(a.gas=(a.gas??0n)+10000n)),a;if(!a.keyAuthorization&&a.account?.source==="accessKey"){const u=a.account.keyAuthorizationManager;if(u){const l=a.chainId??a.chain?.id;if(typeof l<"u"){const f=a.account.address,d=a.account.accessKeyAddress,p={address:f,accessKey:d,chainId:l},m=await u.get(p);if(m){const b=BigInt(Math.floor(Date.now()/1e3));if(m.expiry!=null&&BigInt(m.expiry)<=b)await u.remove(p);else{const g=await Ke(t,Du,"getMetadata")({account:f,accessKey:d});Bs(g.address,d)&&!g.isRevoked&&g.expiry>b?await u.remove(p):a.keyAuthorization=m}}}}}return await(async()=>{if(a.nonceKey==="expiring"||a.feePayer&&typeof a.nonceKey>"u")return!0;const u=a.account?.address;return u&&typeof a.nonceKey>"u"?await XL(u):!1})()?(a.nonceKey=Wu,a.nonce=0,typeof a.validBefore>"u"&&(a.validBefore=Math.floor(Date.now()/1e3)+JL)):typeof a.nonceKey<"u"&&(a.nonce=typeof a.nonce=="number"?a.nonce:0),!a.feeToken&&a.chain?.feeToken&&(a.feeToken=a.chain.feeToken),a},{runAt:["beforeFillTransaction","afterFillParameters"]}],serializers:{transaction:((e,t)=>DL(e,t))},async verifyHash(e,t){const{address:n,hash:a,signature:o,mode:u}=t,l=(()=>{if(typeof o=="string")try{return Vs(o)}catch{return}})();if(l){if(l?.type==="keychain"&&u==="allowAccessKey"){const f=l.version==="v2"?Ds(tt("0x04",a,n)):a,d=(()=>{try{return Sm({payload:f,signature:l.inner})}catch{return}})();if(!d)return!1;const p=await Du(e,{account:n,accessKey:d,blockNumber:t.blockNumber,blockTag:t.blockTag});return p.isRevoked||p.expiry<=BigInt(Math.floor(Date.now()/1e3))?!1:G2(l.inner,{address:d,payload:f})}if(l.type==="p256"||l.type==="webAuthn"){const f=await eS(e,{address:n,blockNumber:t.blockNumber,blockTag:t.blockTag});if(!f||f==="0xef01007702c00000000000000000000000000000000000")return G2(l,{address:n,payload:a})}}return await Ke(e,iN,"verifyHash")({...t,chain:null})}},fy=nS({...RS,id:4217,blockExplorers:{default:{name:"Tempo Explorer",url:"https://explore.tempo.xyz"}},name:"Tempo Mainnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:6},rpcUrls:{default:{http:["https://rpc.tempo.xyz"],webSocket:["wss://rpc.tempo.xyz"]}}}),Z2=nS({...RS,id:42431,blockExplorers:{default:{name:"Tempo Explorer",url:"https://explore.testnet.tempo.xyz"}},name:"Tempo Testnet (Moderato)",nativeCurrency:{name:"USD",symbol:"USD",decimals:6},rpcUrls:{default:{http:["https://rpc.moderato.tempo.xyz"],webSocket:["wss://rpc.moderato.tempo.xyz"]}},testnet:!0}),WL=zN({chains:[fy,Z2],ssr:!0,transports:{[fy.id]:D2(),[Z2.id]:D2()}}),e$=`data:image/svg+xml,${encodeURIComponent(\'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 269 269"><rect width="269" height="269" fill="#000"/><path d="M123.273 190.794H93.445L121.09 105.318H85.7334L93.445 80.2642H191.95L184.238 105.318H150.773L123.273 190.794Z" fill="#fff"/></svg>\')}`,Zf=XM()({head:()=>({links:[{rel:"stylesheet",href:$N},{rel:"icon",type:"image/svg+xml",href:e$}],meta:[{charSet:"utf-8"},{content:"width=device-width, initial-scale=1",name:"viewport"},{title:"Tempo API Admin"}]}),shellComponent:t$,component:r$,pendingComponent:()=>V.jsx(n$,{})});function t$({children:e}){return V.jsxs("html",{lang:"en","data-theme":"dark","data-regen-radius":"none",children:[V.jsx("head",{children:V.jsx(bR,{})}),V.jsxs("body",{children:[V.jsx("div",{id:"root",children:e}),V.jsx(gR,{})]})]})}function n$(){return V.jsx("div",{className:"flex min-h-screen items-center justify-center text-foreground-secondary",children:"Loading…"})}function r$(){return V.jsx(LN,{config:WL,children:V.jsx(dP,{client:qx,persistOptions:uP,children:V.jsx(i$,{})})})}function i$(){const{data:e,error:t,isPending:n}=bS();if(n)return null;if(t)return V.jsx("div",{className:"flex min-h-screen items-center justify-center text-foreground",children:t.message});if(!e.auth.identity)return V.jsx(c$,{loginUrl:e.auth.loginUrl});const{email:a}=e.auth.identity,{logoutUrl:o}=e.auth;return V.jsxs("div",{className:"relative flex min-h-dvh min-w-[360px] bg-background max-md:h-dvh max-md:flex-col max-md:overflow-hidden",children:[V.jsx("div",{className:"flex-1 bg-background max-md:hidden"}),V.jsx(a$,{email:a,logoutUrl:o}),V.jsx("main",{className:"flex w-full max-w-[1024px] flex-col px-4 pt-5 pb-10 max-md:min-h-0 max-md:flex-1 max-md:overflow-y-auto sm:px-8",children:V.jsx(bw,{})}),V.jsx("div",{className:"flex-1 max-md:hidden"}),V.jsx(u$,{})]})}const _S=[{exact:!1,href:"/api-keys",icon:SP,label:"API Keys"},{exact:!1,href:"/verified-tokens",icon:wP,label:"Verified Tokens"}];function a$(e){return V.jsxs("aside",{className:"sticky top-0 flex h-dvh w-[260px] shrink-0 flex-col gap-6 border-r border-border bg-background px-2.5 pb-5 max-lg:w-[68px] max-lg:items-center max-lg:px-1.5 max-md:hidden",children:[V.jsxs(Qu,{"aria-label":"Tempo API Admin",className:"-mb-1 inline-flex rounded-button px-3 pt-5 pb-3",to:"/",children:[V.jsx(jN,{className:"mt-2 h-4 w-auto text-foreground max-lg:hidden"}),V.jsx(UN,{className:"mt-2 h-4 w-auto text-foreground lg:hidden"})]}),V.jsx("nav",{"aria-label":"Main",className:"flex flex-1 flex-col gap-1",children:_S.map(t=>V.jsx(s$,{exact:t.exact,href:t.href,icon:t.icon,label:t.label},t.href))}),V.jsx(o$,{email:e.email,logoutUrl:e.logoutUrl})]})}function s$(e){const{exact:t,href:n,icon:a,label:o}=e,l=!!gw()({to:n,fuzzy:!t});return V.jsxs(Qu,{"aria-current":l?"page":void 0,"aria-label":o,className:"flex items-center gap-3 rounded-button px-3 py-3 text-label-16 text-foreground-secondary hover:bg-surface-hover data-active:font-semibold data-active:text-foreground max-lg:justify-center max-lg:gap-0 max-lg:p-2.5","data-active":l||void 0,to:n,children:[V.jsx(a,{className:"size-5"}),V.jsx("span",{className:"max-lg:hidden",children:o})]})}function o$(e){return V.jsxs("div",{className:"flex items-center gap-3 p-2.5 max-lg:justify-center max-lg:p-2",children:[V.jsx(fa,{address:gS(e.email),className:"size-9 shrink-0",size:36}),V.jsx("p",{className:"flex-1 truncate text-label-14 text-foreground max-lg:hidden",children:e.email}),e.logoutUrl?V.jsx("a",{"aria-label":"Sign out",className:"shrink-0 text-foreground-secondary hover:text-foreground max-lg:hidden",href:e.logoutUrl,children:V.jsx(Vx,{className:"size-[18px]"})}):null]})}function u$(){const e=gw();return V.jsx("nav",{"aria-label":"Main",className:"z-10 flex w-full shrink-0 items-center justify-around border-t border-border bg-background pb-[env(safe-area-inset-bottom)] md:hidden",children:_S.map(t=>{const n=!!e({to:t.href,fuzzy:!t.exact}),a=t.icon;return V.jsxs(Qu,{"aria-current":n?"page":void 0,"aria-label":t.label,className:"flex flex-1 flex-col items-center gap-1 py-3 text-foreground-secondary data-active:text-foreground","data-active":n||void 0,to:t.href,children:[V.jsx(a,{className:"size-5"}),V.jsx("span",{className:"text-label-12",children:t.label})]},t.href)})})}function c$({loginUrl:e}){return V.jsxs("div",{className:"flex min-h-screen flex-col items-center justify-center gap-3 bg-background text-foreground",children:[V.jsx("p",{className:"font-medium",children:"Sign in required"}),e?V.jsx(Ms,{render:V.jsx("a",{href:e}),children:"Sign in"}):V.jsx("p",{className:"text-sm text-foreground-secondary",children:"Your session has expired."})]})}const l$=fy.id;function bU({address:e,chainId:t}){return Ir["verified-tokens"][":address"].logo.$url({param:{address:e},query:{chainId:String(t)}}).toString()}var Fu;(e=>{function t({chainId:u}){return["verified-tokens",u]}e.key=t;async function n({chainId:u}){return(await Ir["verified-tokens"].$get({query:{chainId:String(u)}})).json()}e.fn=n;function a(u){return{queryFn:()=>n(u),queryKey:t(u),staleTime:3e4}}e.options=a;function o(u){return xf(a(u))}e.useQuery=o})(Fu||(Fu={}));var X2;(e=>{async function t({logo:a,...o}){const u=await Ir["verified-tokens"].$post({json:{...o,...a?{logo:await a.text()}:{}}});if(!u.ok)throw new Error("Failed to add token.");return u.json()}e.fn=t;function n(){const a=Ns();return Sf({mutationFn:t,onSuccess:(o,u)=>a.invalidateQueries({queryKey:Fu.key({chainId:u.chainId})})})}e.useMutation=n})(X2||(X2={}));var J2;(e=>{async function t({address:a,chainId:o}){const u=await Ir["verified-tokens"][":address"].$delete({param:{address:a},query:{chainId:String(o)}});if(!u.ok)throw new Error("Failed to remove token.");return u.json()}e.fn=t;function n(){const a=Ns();return Sf({mutationFn:t,onSuccess:(o,u)=>a.invalidateQueries({queryKey:Fu.key({chainId:u.chainId})})})}e.useMutation=n})(J2||(J2={}));const f$=()=>Hf(()=>import("./verified-tokens-DbUWm_5D.js"),__vite__mapDeps([0,1]),import.meta.url),d$=Ey("/verified-tokens")({loader:({context:e})=>e.queryClient.prefetchQuery(Fu.options({chainId:l$})),component:pw(f$,"component")});var qu;(e=>{e.key=["api-keys"];function t(){return Ir["api-keys"].$get().then(o=>o.json())}e.fn=t;function n(){return{queryFn:t,queryKey:e.key,staleTime:3e4}}e.options=n;function a(){return xf(n())}e.useQuery=a})(qu||(qu={}));var W2;(e=>{function t(a){return Ir["api-keys"].$post({json:a}).then(o=>{if(!o.ok)throw new Error("Failed to provision key.");return o.json()})}e.fn=t;function n(){const a=Ns();return Sf({mutationFn:t,onSuccess:({token:o,...u})=>a.setQueryData(qu.key,l=>l&&{data:[u,...l.data]})})}e.useMutation=n})(W2||(W2={}));var e5;(e=>{function t(a){return Ir["api-keys"][":id"].$delete({param:{id:a}})}e.fn=t;function n(){const a=Ns();return Sf({mutationFn:t,onSuccess:(o,u)=>a.setQueryData(qu.key,l=>l&&{data:l.data.filter(f=>f.id!==u)})})}e.useMutation=n})(e5||(e5={}));var dy;(e=>{e.key=["scopes"];function t(){return Ir.scopes.$get().then(o=>o.json())}e.fn=t;function n(){return{queryFn:t,queryKey:e.key,staleTime:Number.POSITIVE_INFINITY}}e.options=n;function a(){return xf(n())}e.useQuery=a})(dy||(dy={}));const h$=()=>Hf(()=>import("./api-keys-Dz07_CYL.js"),__vite__mapDeps([2,1]),import.meta.url),p$=Ey("/api-keys")({loader:({context:e})=>Promise.all([e.queryClient.prefetchQuery(qu.options()),e.queryClient.prefetchQuery(dy.options())]),component:pw(h$,"component")}),y$=Ey("/")({beforeLoad:()=>{throw yy({to:"/api-keys"})}}),m$=d$.update({id:"/verified-tokens",path:"/verified-tokens",getParentRoute:()=>Zf}),b$=p$.update({id:"/api-keys",path:"/api-keys",getParentRoute:()=>Zf}),g$=y$.update({id:"/",path:"/",getParentRoute:()=>Zf}),v$={IndexRoute:g$,ApiKeysRoute:b$,VerifiedTokensRoute:m$},w$=Zf._addFileChildren(v$);function x$(){if(typeof document>"u")return"/";const e=document.querySelector("base");return e&&new URL(e.href).pathname.replace(/\\/$/,"")||"/"}function S$(){return fR({basepath:x$(),context:{queryClient:qx},defaultPreload:"intent",defaultPreloadStaleTime:0,routeTree:w$,scrollRestoration:!0})}async function E$(){const e=await S$();let t;return t=[],window.__TSS_START_OPTIONS__={serializationAdapters:t},t.push(yM),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:".",serializationAdapters:t}),e.stores.matchesId.get().length||await bM(e),e}var A$=E$;async function T$(){const e=await A$();return window.$_TSR?.h(),e}var tp;function M$(){return tp||(tp=T$()),V.jsx(xM,{promise:tp,children:e=>V.jsx(pR,{router:e})})}re.startTransition(()=>{rE.hydrateRoot(document,V.jsx(re.StrictMode,{children:V.jsx(M$,{})}))});export{hu as $,Jy as A,ie as B,Ut as C,oS as D,l$ as E,Fu as F,X2 as G,V as H,Ms as I,Lt as J,fy as K,Z2 as L,J2 as M,bU as N,Os as O,Kx as P,qu as Q,O3 as R,W2 as S,dy as T,e5 as U,R$ as V,NN as W,jM as X,BM as Y,LM as Z,hU as _,P3 as a,am as a0,Si as a1,lU as a2,kf as a3,sm as a4,cU as a5,uU as a6,u3 as a7,zr as a8,cf as a9,BP as aa,UP as ab,oU as ac,bB as ad,um as ae,vi as af,vB as ag,Bs as ah,N3 as ai,Ai as aj,Ti as ak,qs as al,Wo as am,Rr as an,Ke as b,Xy as c,z3 as d,Fs as e,A3 as f,yB as g,lS as h,re as i,Us as j,Pr as k,pU as l,Np as m,cL as n,OL as o,yU as p,ku as q,Nu as r,vm as s,xS as t,xf as u,ca as v,$u as w,$C as x,UL as y,mU as z};\n',
|
|
36
|
+
contentType: 'text/javascript; charset=utf-8',
|
|
37
|
+
},
|
|
38
|
+
'assets/Pilat-Demi-CADSbPAt.woff2': {
|
|
39
|
+
content:
|
|
40
|
+
'd09GMgABAAAAAKaAABEAAAACT8QAAKYaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoJyG4HGBBzLAAZgAJZcCIEuCZwMEQgKhflYhZ0jC4k+AAE2AiQDkngEIAWTNweoBQyBYVulG3IFs8N8VOFserOq/xzXbeLzBDpu40nozfoA7JVXRyfYtmyoebeDtxyuX2D2////C5JFHNrMktnbuwOohqhU80+yBIcnpcildtQPGR0CJcqINGDIGfLJe8XsWLBOXT9/Oer2/YTIZzeH2ZgR3ryaURuPmKBdm5wnr9jmSseUc0a3vkopZeeI2NxIKZ8IOoZTKwWU+ol/khWLW766ecnwHm6eYo+MkmJ+0rvHLtHaG52chuXCGTQiwWmjCh+OxQNBGYU9mULHv/SqL1RUiubFlq3GG26I/yDIcBKLJXJ2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stB4Ihtjtyio8hY8NcrSKJVBDVGdh0iZGsKmoZxoT9rdNnYPohEbE80KMVfdE/OnyrA+Pwq9YCQdWo7jLxaDMUfqdzAQoIgJCDQBkCCAjkECCAQA45BJgBAQsMiJijYBkDCgrmGDCgYI45Zlgb9lvVRhj0PZqtScq4e0k24a425GXYnGON+r417YW0A65RBGGebb32v7OvFh+2NKQ3Ew9m2eJcufXtoLxpuecYDj3HXIc45jrmOcRR1yGOK8d4Fwu+i6tE4Rf81JB+6Zp9Ion1R71E+6Iu+2F52AdF229bbbtlYrsVM88vYorYmhBDPYOuQYi6hnkGUcyt5frW2Ed8T7S9xXoVJeWlYzUEHqg8KLa611/tcZdTFaKXJ9SPHKN/0zhaalTaO2t0lNGTA9vqSitB0mg+TCsnJK246vhjdsvAe1jlCKUVN5nySjv+SN6i/aqoS3993yriuwg6p4luOeMJ3Xm+hfhQZRx/+PTlfPfr59nzI2vEXgD60NNhTLBUisNIiZiM2WYdPhizcgMbdsuenWktNsSi1GmdwX6wOZxTB/9fpgl96VXSh6D+rS++B/3Jz0De7MEGE+2nj1z3CT7JLq9P/Yv1C8qK+KJv9ukuijY9Jcfib5wnvxULw0K30C40C3WAqnC8Ek2R/SLf/BUi5N/20Gee9d/N/r2ir3ywNjr3UwOOn0D+sr5/ePrIz41C0CnnxPs7kfz5D5nrnXWKi0cbnpqHcie/0MwtVfc9BJ/8XpNcjMqfAQ==',
|
|
47
|
+
contentType: 'font/woff2',
|
|
48
|
+
encoding: 'base64',
|
|
49
|
+
},
|
|
50
|
+
'assets/styles-QLNcBtmR.css': {
|
|
51
|
+
content:
|
|
52
|
+
'@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-body,ui-sans-serif, system-ui, sans-serif);--font-mono:ui-monospace, monospace;--spacing:.25rem;--container-md:28rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-normal:0em;--leading-tight:1.25;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--text-heading-64:4rem;--text-heading-64--letter-spacing:0;--text-heading-64--line-height:1.1;--text-heading-64--font-weight:600;--text-heading-48:3rem;--text-heading-48--letter-spacing:0;--text-heading-48--line-height:1.15;--text-heading-48--font-weight:600;--text-heading-40:2.5rem;--text-heading-40--letter-spacing:0;--text-heading-40--line-height:1.2;--text-heading-40--font-weight:600;--text-heading-32:2rem;--text-heading-32--letter-spacing:0;--text-heading-32--line-height:1.25;--text-heading-32--font-weight:500;--text-heading-24:1.5rem;--text-heading-24--letter-spacing:0;--text-heading-24--line-height:1.35;--text-heading-24--font-weight:500;--text-heading-20:1.25rem;--text-heading-20--line-height:1.4;--text-heading-20--letter-spacing:.01em;--text-heading-20--font-weight:500;--text-heading-16:1rem;--text-heading-16--line-height:1.5;--text-heading-16--letter-spacing:.01em;--text-heading-16--font-weight:500;--text-copy-16:1rem;--text-copy-16--line-height:1.6;--text-copy-16--letter-spacing:.01em;--text-copy-16--font-weight:400;--text-copy-15:.9375rem;--text-copy-15--line-height:1.6;--text-copy-15--letter-spacing:.01em;--text-copy-15--font-weight:400;--text-copy-14:.875rem;--text-copy-14--line-height:1.6;--text-copy-14--letter-spacing:.01em;--text-copy-14--font-weight:400;--text-copy-13:.8125rem;--text-copy-13--line-height:1.55;--text-copy-13--letter-spacing:.01em;--text-copy-13--font-weight:400;--text-label-16:1rem;--text-label-16--line-height:1.5;--text-label-16--letter-spacing:.01em;--text-label-16--font-weight:400;--text-label-15:.9375rem;--text-label-15--line-height:1.45;--text-label-15--letter-spacing:.01em;--text-label-15--font-weight:400;--text-label-14:.875rem;--text-label-14--line-height:1.45;--text-label-14--letter-spacing:.01em;--text-label-14--font-weight:400;--text-label-13:.8125rem;--text-label-13--line-height:1.4;--text-label-13--letter-spacing:.01em;--text-label-13--font-weight:400;--text-label-12:.75rem;--text-label-12--line-height:1.35;--text-label-12--letter-spacing:.01em;--text-label-12--font-weight:400;--text-button-16:1rem;--text-button-16--line-height:1.5;--text-button-16--letter-spacing:.01em;--text-button-16--font-weight:500;--text-button-14:.875rem;--text-button-14--line-height:1.45;--text-button-14--letter-spacing:.01em;--text-button-14--font-weight:500;--text-button-12:.75rem;--text-button-12--line-height:1.35;--text-button-12--letter-spacing:.01em;--text-button-12--font-weight:500;--radius-base:var(--regen-radius,6px);--radius-body:var(--regen-radius-body,var(--radius-base));--radius-button:var(--regen-radius-button,var(--radius-base));--radius-identicon:var(--regen-radius-identicon,var(--radius-base));--color-transparent:#0000;--color-current:currentColor;--color-black:#000;--color-white:#fff;--color-gray-1:oklch(96.19% 0 0);--color-gray-2:oklch(93.89% 0 0);--color-gray-3:oklch(92.34% 0 0);--color-gray-4:oklch(93.89% 0 0);--color-gray-5:oklch(83.73% 0 0);--color-gray-6:oklch(73.26% 0 0);--color-gray-7:oklch(64.95% 0 0);--color-gray-8:oklch(58.95% 0 0);--color-gray-9:oklch(51.02% 0 0);--color-gray-10:oklch(20.44% 0 0);--color-gray-dark-1:oklch(21.56% 0 0);--color-gray-dark-2:oklch(23.76% 0 0);--color-gray-dark-3:oklch(28.01% 0 0);--color-gray-dark-4:oklch(30.08% 0 0);--color-gray-dark-5:oklch(38.99% 0 0);--color-gray-dark-6:oklch(62.38% 0 0);--color-gray-dark-7:oklch(64.95% 0 0);--color-gray-dark-8:oklch(58.95% 0 0);--color-gray-dark-9:oklch(70.8% 0 0);--color-gray-dark-10:oklch(94.66% 0 0);--color-red-1:oklch(96.5% .0221 13.48);--color-red-2:oklch(95.41% .0292 15.02);--color-red-3:oklch(94.33% .0357 16.17);--color-red-4:oklch(91.51% .045 21.34);--color-red-5:oklch(84.47% .0962 19.64);--color-red-6:oklch(72.8% .1735 23.51);--color-red-7:oklch(65.32% .2328 25.73);--color-red-8:oklch(60.95% .2289 27.85);--color-red-9:oklch(57.75% .214 27.99);--color-red-10:oklch(24.8% .096 19.67);--color-red-dark-1:oklch(22.1% .0658 15.41);--color-red-dark-2:oklch(25.93% .0835 19.61);--color-red-dark-3:oklch(31.47% .1108 21.85);--color-red-dark-4:oklch(35.27% .1277 22.42);--color-red-dark-5:oklch(40.68% .1485 24.65);--color-red-dark-6:oklch(66.2% .2289 24.8);--color-red-dark-7:oklch(66.2% .2246 25.11);--color-red-dark-8:oklch(61.83% .2282 27.2);--color-red-dark-9:oklch(71.38% .2147 23.49);--color-red-dark-10:oklch(95.6% .0295 7.03);--color-amber-1:oklch(97.48% .0331 85.79);--color-amber-2:oklch(96.81% .0495 90.24);--color-amber-3:oklch(95.93% .0636 90.52);--color-amber-4:oklch(91.02% .1322 88.25);--color-amber-5:oklch(86.55% .1583 79.63);--color-amber-6:oklch(80.25% .1953 73.59);--color-amber-7:oklch(81.87% .1969 76.46);--color-amber-8:oklch(77.21% .1991 64.28);--color-amber-9:oklch(52.79% .1496 54.65);--color-amber-10:oklch(30.83% .099 45.48);--color-amber-dark-1:oklch(22.46% .0538 76.04);--color-amber-dark-2:oklch(24.95% .0642 64.78);--color-amber-dark-3:oklch(32.34% .0837 63.83);--color-amber-dark-4:oklch(35.53% .0903 66.3);--color-amber-dark-5:oklch(41.55% .1044 67.98);--color-amber-dark-6:oklch(75.04% .1737 74.49);--color-amber-dark-7:oklch(81.87% .1969 76.46);--color-amber-dark-8:oklch(77.21% .1991 64.28);--color-amber-dark-9:oklch(77.21% .1991 64.28);--color-amber-dark-10:oklch(96.7% .0418 84.59);--color-green-1:oklch(97.59% .0294 145.45);--color-green-2:oklch(96.92% .0382 147.2);--color-green-3:oklch(94.6% .0707 144.31);--color-green-4:oklch(91.49% .1039 146.35);--color-green-5:oklch(85.45% .1759 146.44);--color-green-6:oklch(82.36% .2383 145.34);--color-green-7:oklch(73.03% .1944 147.46);--color-green-8:oklch(66.26% .1678 147.69);--color-green-9:oklch(60.2% .1618 147.84);--color-green-10:oklch(29.15% .1333 147.44);--color-green-dark-1:oklch(23.09% .0721 149.64);--color-green-dark-2:oklch(27.12% .0907 150.01);--color-green-dark-3:oklch(29.84% .0979 149.13);--color-green-dark-4:oklch(34.39% .1066 147.63);--color-green-dark-5:oklch(44.19% .1533 147.01);--color-green-dark-6:oklch(65.6% .1899 146.32);--color-green-dark-7:oklch(75.55% .2082 147);--color-green-dark-8:oklch(68.78% .1858 147.23);--color-green-dark-9:oklch(81.51% .2258 148.1);--color-green-dark-10:oklch(96.76% .0586 154.13);--color-blue-1:oklch(97.32% .0141 252.29);--color-blue-2:oklch(96.29% .0197 252.04);--color-blue-3:oklch(94.58% .0296 252.02);--color-blue-4:oklch(91.58% .0481 248.01);--color-blue-5:oklch(82.75% .0998 252.1);--color-blue-6:oklch(71.4% .1308 251.19);--color-blue-7:oklch(53.23% .2073 259.16);--color-blue-8:oklch(47.13% .1983 258.78);--color-blue-9:oklch(53.18% .2399 256.99);--color-blue-10:oklch(26.67% .1129 255.03);--color-blue-dark-1:oklch(22.17% .0695 261.1);--color-blue-dark-2:oklch(25.45% .0824 258.21);--color-blue-dark-3:oklch(30.86% .1046 258.84);--color-blue-dark-4:oklch(34.1% .1247 259.58);--color-blue-dark-5:oklch(38.5% .1456 260.45);--color-blue-dark-6:oklch(51.25% .1722 256.97);--color-blue-dark-7:oklch(49.75% .2015 259.95);--color-blue-dark-8:oklch(43.65% .2003 259.57);--color-blue-dark-9:oklch(71.7% .1648 250.79);--color-blue-dark-10:oklch(96.75% .0188 243.43);--color-purple-1:oklch(96.65% .0236 308.36);--color-purple-2:oklch(96.73% .0213 302.14);--color-purple-3:oklch(94.85% .0327 298.66);--color-purple-4:oklch(91.77% .0531 297.5);--color-purple-5:oklch(81.26% .1171 291.65);--color-purple-6:oklch(72.23% .159 285.4);--color-purple-7:oklch(55.95% .2296 279.31);--color-purple-8:oklch(49.03% .2014 278.92);--color-purple-9:oklch(47.63% .1969 277.19);--color-purple-10:oklch(23.96% .0992 297.62);--color-purple-dark-1:oklch(22.34% .0766 312.38);--color-purple-dark-2:oklch(25.91% .089 305.43);--color-purple-dark-3:oklch(31.98% .1158 298.94);--color-purple-dark-4:oklch(35.93% .1403 291.82);--color-purple-dark-5:oklch(40.99% .1576 285.47);--color-purple-dark-6:oklch(64.12% .1933 279.4);--color-purple-dark-7:oklch(64.12% .1929 274.69);--color-purple-dark-8:oklch(57.2% .1855 274.3);--color-purple-dark-9:oklch(74.18% .1798 287.51);--color-purple-dark-10:oklch(96.1% .0268 310.17);--background-color-background:light-dark(#fafafa,#0c0c0c);--background-color-surface:light-dark(#fff,#141414);--background-color-surface-hover:light-dark(oklch(96.19% 0 0),oklch(21.56% 0 0));--background-color-surface-active:light-dark(oklch(93.89% 0 0),oklch(23.76% 0 0));--background-color-secondary:light-dark(oklch(93.89% 0 0),oklch(23.76% 0 0));--background-color-secondary-hover:light-dark(oklch(from var(--background-color-secondary) calc(l - .015) c h),oklch(from var(--background-color-secondary) calc(l + .02) c h));--background-color-secondary-active:light-dark(oklch(from var(--background-color-secondary) calc(l - .03) c h),oklch(from var(--background-color-secondary) calc(l + .035) c h));--background-color-pane:light-dark(oklch(96.19% 0 0),oklch(23.76% 0 0));--background-color-accent:var(--regen-accent);--background-color-accent-hover:oklch(from var(--background-color-accent) calc(l + clamp(0, (.6 - l) * 999, 1)*.045 - (clamp(0, (l - .6) * 999, 1)*.035)) calc(c*.98) h);--background-color-accent-active:oklch(from var(--background-color-accent) calc(l + clamp(0, (.6 - l) * 999, 1)*.075 - (clamp(0, (l - .6) * 999, 1)*.06)) calc(c*.96) h);--background-color-accent-subtle:light-dark(#fafafa,#0c0c0c)}@supports (color:color-mix(in lab,red,red)){:root,:host{--background-color-accent-subtle:color-mix(in oklch, var(--background-color-background), var(--background-color-accent) 12%)}}:root,:host{--background-color-invert:light-dark(#000,#fff);--background-color-negative:light-dark(oklch(61.82% .19788 25.73),oklch(59.7% .184172 25.11));--background-color-negative-hover:light-dark(oklch(from var(--background-color-negative) calc(l - .03) calc(c*1.05) h),oklch(from var(--background-color-negative) calc(l - .025) calc(c*1.05) h));--background-color-negative-active:light-dark(oklch(from var(--background-color-negative) calc(l - .06) calc(c*1.08) h),oklch(from var(--background-color-negative) calc(l - .05) calc(c*1.08) h));--background-color-negative-subtle:light-dark(oklch(96.5% .0221 13.48),oklch(22.1% .0658 15.41));--background-color-info-subtle:light-dark(oklch(97.32% .0141 252.29),oklch(22.17% .0695 261.1));--background-color-positive-subtle:light-dark(oklch(96.92% .0382 147.2),oklch(27.12% .0907 150.01));--background-color-skeleton:light-dark(oklch(92.34% 0 0),oklch(28.01% 0 0));--background-color-warning-subtle:light-dark(oklch(97.48% .0331 85.79),oklch(22.46% .0538 76.04));--text-color-foreground:light-dark(oklch(20.44% 0 0),oklch(94.66% 0 0));--text-color-foreground-secondary:light-dark(oklch(51.02% 0 0),oklch(70.8% 0 0));--text-color-foreground-secondary-hover:light-dark(oklch(20.44% 0 0),oklch(94.66% 0 0));--text-color-on-accent:oklch(from var(--regen-accent) clamp(0, (.6 - l) * 999, 1) 0 0);--text-color-on-accent-subtle:light-dark(oklch(20.44% 0 0),oklch(94.66% 0 0))}@supports (color:color-mix(in lab,red,red)){:root,:host{--text-color-on-accent-subtle:color-mix(in oklch, var(--text-color-foreground), var(--background-color-accent) 72%)}}:root,:host{--text-color-on-invert:light-dark(#fff,#000);--text-color-on-negative:#fff;--text-color-negative:light-dark(oklch(57.75% .214 27.99),oklch(71.38% .2147 23.49));--text-color-info:light-dark(oklch(53.18% .2399 256.99),oklch(71.7% .1648 250.79));--text-color-positive:light-dark(oklch(60.2% .1618 147.84),oklch(81.51% .2258 148.1));--text-color-warning:light-dark(oklch(52.79% .1496 54.65),oklch(77.21% .1991 64.28));--text-color-warning-strong:light-dark(oklch(30.83% .099 45.48),oklch(96.7% .0418 84.59));--border-color-border:light-dark(oklch(93.89% 0 0),oklch(30.08% 0 0));--border-color-border-hover:light-dark(oklch(83.73% 0 0),oklch(38.99% 0 0));--border-color-border-pane:light-dark(oklch(91.3% 0 0),oklch(28.01% 0 0));--border-color-focus:light-dark(oklch(53.23% .2073 259.16),oklch(71.7% .1648 250.79));--border-color-negative:light-dark(oklch(91.51% .045 21.34),oklch(35.27% .1277 22.42));--border-color-info:light-dark(oklch(91.58% .0481 248.01),oklch(34.1% .1247 259.58));--border-color-warning:light-dark(oklch(91.02% .1322 88.25),oklch(35.53% .0903 66.3));--background-color-error-subtle:var(--background-color-negative-subtle);--background-color-success-subtle:var(--background-color-positive-subtle);--text-color-negative-text:var(--text-color-negative);--text-color-error:var(--text-color-negative);--text-color-success:var(--text-color-positive);--border-color-error:var(--border-color-negative);--outline-color-focus:light-dark(oklch(53.23% .2073 259.16),oklch(71.7% .1648 250.79))}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\\@container{container-type:inline-size}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-y-0{inset-block:0}.-top-px{top:-1px}.top-0{top:0}.top-1\\/2{top:50%}.right-0{right:0}.right-3{right:calc(var(--spacing) * 3)}.right-\\[var\\(--rows-row-divider-right\\)\\]{right:var(--rows-row-divider-right)}.bottom-\\[-1px\\]{bottom:-1px}.left-0{left:0}.left-1\\/2{left:50%}.left-\\[var\\(--rows-row-divider-left\\)\\]{left:var(--rows-row-divider-left)}.isolate{isolation:isolate}.z-1{z-index:1}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-\\[-14px\\]{margin-inline:-14px}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-6{margin-top:calc(var(--spacing) * 6)}.-mr-2{margin-right:calc(var(--spacing) * -2)}.mr-\\[-6px\\]{margin-right:-6px}.mr-\\[-14px\\]{margin-right:-14px}.-mb-1{margin-bottom:calc(var(--spacing) * -1)}.ml-\\[-14px\\]{margin-left:-14px}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.field-sizing-content{field-sizing:content}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-\\[6px\\]{width:6px;height:6px}.size-\\[12px\\]{width:12px;height:12px}.size-\\[16px\\]{width:16px;height:16px}.size-\\[18px\\]{width:18px;height:18px}.size-\\[24px\\]{width:24px;height:24px}.size-\\[40px\\]{width:40px;height:40px}.size-\\[48px\\]{width:48px;height:48px}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-\\[1px\\]{height:1px}.h-\\[12px\\]{height:12px}.h-\\[13px\\]{height:13px}.h-\\[14px\\]{height:14px}.h-\\[16px\\]{height:16px}.h-\\[20px\\]{height:20px}.h-\\[24px\\]{height:24px}.h-\\[32px\\]{height:32px}.h-\\[36px\\]{height:36px}.h-\\[38px\\]{height:38px}.h-\\[40px\\]{height:40px}.h-\\[44px\\]{height:44px}.h-dvh{height:100dvh}.h-px{height:1px}.max-h-\\[288px\\]{max-height:288px}.min-h-\\[44px\\]{min-height:44px}.min-h-\\[56px\\]{min-height:56px}.min-h-\\[180px\\]{min-height:180px}.min-h-dvh{min-height:100dvh}.min-h-screen{min-height:100vh}.w-32{width:calc(var(--spacing) * 32)}.w-40{width:calc(var(--spacing) * 40)}.w-\\[12ch\\]{width:12ch}.w-\\[12px\\]{width:12px}.w-\\[16px\\]{width:16px}.w-\\[20px\\]{width:20px}.w-\\[24px\\]{width:24px}.w-\\[28px\\]{width:28px}.w-\\[32px\\]{width:32px}.w-\\[36px\\]{width:36px}.w-\\[38px\\]{width:38px}.w-\\[44px\\]{width:44px}.w-\\[64px\\]{width:64px}.w-\\[72px\\]{width:72px}.w-\\[88px\\]{width:88px}.w-\\[96px\\]{width:96px}.w-\\[112px\\]{width:112px}.w-\\[128px\\]{width:128px}.w-\\[260px\\]{width:260px}.w-\\[calc\\(100\\%\\+14px\\)\\]{width:calc(100% + 14px)}.w-\\[calc\\(100\\%\\+28px\\)\\]{width:calc(100% + 28px)}.w-\\[calc\\(100vw-2rem\\)\\]{width:calc(100vw - 2rem)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\[384px\\]{max-width:384px}.max-w-\\[1024px\\]{max-width:1024px}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:0}.min-w-\\[360px\\]{min-width:360px}.min-w-\\[var\\(--anchor-width\\)\\]{min-width:var(--anchor-width)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-rgn-spin{animation:1s linear infinite rgn-spin}.cursor-pointer{cursor:pointer}.resize{resize:both}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-\\[minmax\\(0\\,max-content\\)_minmax\\(0\\,1fr\\)\\]{grid-template-columns:minmax(0,max-content) minmax(0,1fr)}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\\[2px\\]{gap:2px}.gap-\\[4px\\]{gap:4px}.gap-\\[6px\\]{gap:6px}.gap-\\[8px\\]{gap:8px}.gap-\\[10px\\]{gap:10px}.gap-\\[12px\\]{gap:12px}.gap-\\[14px\\]{gap:14px}.gap-\\[16px\\]{gap:16px}.gap-\\[inherit\\]{gap:inherit}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-10{column-gap:calc(var(--spacing) * 10)}.gap-y-1{row-gap:var(--spacing)}.gap-y-4{row-gap:calc(var(--spacing) * 4)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-border>:not(:last-child)){border-color:var(--border-color-border)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-\\[min\\(var\\(--radius-body\\)\\,var\\(--regen-radius-large\\)\\)\\]{border-radius:min(var(--radius-body),var(--regen-radius-large))}.rounded-body{border-radius:var(--radius-body)}.rounded-button{border-radius:var(--radius-button)}.rounded-full{border-radius:3.40282e38px}.rounded-identicon{border-radius:var(--radius-identicon)}.rounded-none{border-radius:0}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\\[2px\\]{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-border{border-color:var(--border-color-border)}.border-border-pane{border-color:var(--border-color-border-pane)}.border-info{border-color:var(--border-color-info)}.border-negative{border-color:var(--border-color-negative)}.border-transparent{border-color:#0000}.border-warning{border-color:var(--border-color-warning)}.bg-accent{background-color:var(--background-color-accent)}.bg-accent-subtle{background-color:var(--background-color-accent-subtle)}.bg-background{background-color:var(--background-color-background)}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\\/60{background-color:color-mix(in oklab,var(--color-black) 60%,transparent)}}.bg-current{background-color:currentColor}.bg-info-subtle{background-color:var(--background-color-info-subtle)}.bg-invert{background-color:var(--background-color-invert)}.bg-negative{background-color:var(--background-color-negative)}.bg-negative-subtle{background-color:var(--background-color-negative-subtle)}.bg-pane{background-color:var(--background-color-pane)}.bg-positive-subtle{background-color:var(--background-color-positive-subtle)}.bg-secondary{background-color:var(--background-color-secondary)}.bg-skeleton{background-color:var(--background-color-skeleton)}.bg-surface{background-color:var(--background-color-surface)}.bg-transparent{background-color:#0000}.bg-warning-subtle{background-color:var(--background-color-warning-subtle)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-\\[2px\\]{padding:2px}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\\[5px\\]{padding-inline:5px}.px-\\[6px\\]{padding-inline:6px}.px-\\[12px\\]{padding-inline:12px}.px-\\[14px\\]{padding-inline:14px}.px-\\[16px\\]{padding-inline:16px}.px-\\[20px\\]{padding-inline:20px}.px-\\[22px\\]{padding-inline:22px}.px-\\[24px\\]{padding-inline:24px}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-\\[2px\\]{padding-block:2px}.py-\\[3px\\]{padding-block:3px}.py-\\[4px\\]{padding-block:4px}.py-\\[8px\\]{padding-block:8px}.py-\\[10px\\]{padding-block:10px}.py-\\[12px\\]{padding-block:12px}.py-\\[48px\\]{padding-block:48px}.pt-1\\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pr-12{padding-right:calc(var(--spacing) * 12)}.pr-\\[10px\\]{padding-right:10px}.pr-\\[var\\(--rows-row-padding-right\\,20px\\)\\]{padding-right:var(--rows-row-padding-right,20px)}.pb-1{padding-bottom:var(--spacing)}.pb-1\\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-\\[env\\(safe-area-inset-bottom\\)\\]{padding-bottom:env(safe-area-inset-bottom)}.pl-\\[10px\\]{padding-left:10px}.pl-\\[var\\(--rows-pane-content-padding-left\\)\\]{padding-left:var(--rows-pane-content-padding-left)}.pl-\\[var\\(--rows-row-padding-left\\,20px\\)\\]{padding-left:var(--rows-row-padding-left,20px)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.button-12{font-size:var(--text-button-12);letter-spacing:var(--text-button-12--letter-spacing);line-height:var(--text-button-12--line-height);font-weight:var(--text-button-12--font-weight)}.button-14{font-size:var(--text-button-14);letter-spacing:var(--text-button-14--letter-spacing);line-height:var(--text-button-14--line-height);font-weight:var(--text-button-14--font-weight)}.button-16{font-size:var(--text-button-16);letter-spacing:var(--text-button-16--letter-spacing);line-height:var(--text-button-16--line-height);font-weight:var(--text-button-16--font-weight)}.copy-13{font-size:var(--text-copy-13);letter-spacing:var(--text-copy-13--letter-spacing);line-height:var(--text-copy-13--line-height);font-weight:var(--text-copy-13--font-weight)}.copy-14{font-size:var(--text-copy-14);letter-spacing:var(--text-copy-14--letter-spacing);line-height:var(--text-copy-14--line-height);font-weight:var(--text-copy-14--font-weight)}.copy-15{font-size:var(--text-copy-15);letter-spacing:var(--text-copy-15--letter-spacing);line-height:var(--text-copy-15--line-height);font-weight:var(--text-copy-15--font-weight)}.copy-16{font-size:var(--text-copy-16);letter-spacing:var(--text-copy-16--letter-spacing);line-height:var(--text-copy-16--line-height);font-weight:var(--text-copy-16--font-weight)}.heading-16{font-size:var(--text-heading-16);letter-spacing:var(--text-heading-16--letter-spacing);line-height:var(--text-heading-16--line-height);font-weight:var(--text-heading-16--font-weight)}.heading-20{font-size:var(--text-heading-20);letter-spacing:var(--text-heading-20--letter-spacing);line-height:var(--text-heading-20--line-height);font-weight:var(--text-heading-20--font-weight)}.heading-24{font-size:var(--text-heading-24);letter-spacing:var(--text-heading-24--letter-spacing);line-height:var(--text-heading-24--line-height);font-weight:var(--text-heading-24--font-weight)}.heading-32{font-size:var(--text-heading-32);letter-spacing:var(--text-heading-32--letter-spacing);line-height:var(--text-heading-32--line-height);font-weight:var(--text-heading-32--font-weight)}.heading-40{font-size:var(--text-heading-40);letter-spacing:var(--text-heading-40--letter-spacing);line-height:var(--text-heading-40--line-height);font-weight:var(--text-heading-40--font-weight)}.heading-48{font-size:var(--text-heading-48);letter-spacing:var(--text-heading-48--letter-spacing);line-height:var(--text-heading-48--line-height);font-weight:var(--text-heading-48--font-weight)}.heading-64{font-size:var(--text-heading-64);letter-spacing:var(--text-heading-64--letter-spacing);line-height:var(--text-heading-64--line-height);font-weight:var(--text-heading-64--font-weight)}.label-12{font-size:var(--text-label-12);letter-spacing:var(--text-label-12--letter-spacing);line-height:var(--text-label-12--line-height);font-weight:var(--text-label-12--font-weight)}.label-13{font-size:var(--text-label-13);letter-spacing:var(--text-label-13--letter-spacing);line-height:var(--text-label-13--line-height);font-weight:var(--text-label-13--font-weight)}.label-14{font-size:var(--text-label-14);letter-spacing:var(--text-label-14--letter-spacing);line-height:var(--text-label-14--line-height);font-weight:var(--text-label-14--font-weight)}.label-15{font-size:var(--text-label-15);letter-spacing:var(--text-label-15--letter-spacing);line-height:var(--text-label-15--line-height);font-weight:var(--text-label-15--font-weight)}.label-16{font-size:var(--text-label-16);letter-spacing:var(--text-label-16--letter-spacing);line-height:var(--text-label-16--line-height);font-weight:var(--text-label-16--font-weight)}.text-copy-14{font-size:var(--text-copy-14);line-height:var(--tw-leading,var(--text-copy-14--line-height));letter-spacing:var(--tw-tracking,var(--text-copy-14--letter-spacing));font-weight:var(--tw-font-weight,var(--text-copy-14--font-weight))}.text-copy-15{font-size:var(--text-copy-15);line-height:var(--tw-leading,var(--text-copy-15--line-height));letter-spacing:var(--tw-tracking,var(--text-copy-15--letter-spacing));font-weight:var(--tw-font-weight,var(--text-copy-15--font-weight))}.text-heading-20{font-size:var(--text-heading-20);line-height:var(--tw-leading,var(--text-heading-20--line-height));letter-spacing:var(--tw-tracking,var(--text-heading-20--letter-spacing));font-weight:var(--tw-font-weight,var(--text-heading-20--font-weight))}.text-heading-24{font-size:var(--text-heading-24);line-height:var(--tw-leading,var(--text-heading-24--line-height));letter-spacing:var(--tw-tracking,var(--text-heading-24--letter-spacing));font-weight:var(--tw-font-weight,var(--text-heading-24--font-weight))}.text-label-12{font-size:var(--text-label-12);line-height:var(--tw-leading,var(--text-label-12--line-height));letter-spacing:var(--tw-tracking,var(--text-label-12--letter-spacing));font-weight:var(--tw-font-weight,var(--text-label-12--font-weight))}.text-label-13{font-size:var(--text-label-13);line-height:var(--tw-leading,var(--text-label-13--line-height));letter-spacing:var(--tw-tracking,var(--text-label-13--letter-spacing));font-weight:var(--tw-font-weight,var(--text-label-13--font-weight))}.text-label-14{font-size:var(--text-label-14);line-height:var(--tw-leading,var(--text-label-14--line-height));letter-spacing:var(--tw-tracking,var(--text-label-14--letter-spacing));font-weight:var(--tw-font-weight,var(--text-label-14--font-weight))}.text-label-16{font-size:var(--text-label-16);line-height:var(--tw-leading,var(--text-label-16--line-height));letter-spacing:var(--tw-tracking,var(--text-label-16--letter-spacing));font-weight:var(--tw-font-weight,var(--text-label-16--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-\\[10px\\]{font-size:10px}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.tracking-\\[0\\.06em\\]{--tw-tracking:.06em;letter-spacing:.06em}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-foreground{color:var(--text-color-foreground)}.text-foreground-secondary{color:var(--text-color-foreground-secondary)}.text-info{color:var(--text-color-info)}.text-negative{color:var(--text-color-negative)}.text-on-accent{color:var(--text-color-on-accent)}.text-on-accent-subtle{color:var(--text-color-on-accent-subtle)}.text-on-invert{color:var(--text-color-on-invert)}.text-on-negative{color:var(--text-color-on-negative)}.text-positive{color:var(--text-color-positive)}.text-transparent{color:#0000}.text-warning{color:var(--text-color-warning)}.uppercase{text-transform:uppercase}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.decoration-current\\/40{text-decoration-color:currentColor}@supports (color:color-mix(in lab,red,red)){.decoration-current\\/40{-webkit-text-decoration-color:color-mix(in oklab,currentcolor 40%,transparent);text-decoration-color:color-mix(in oklab,currentcolor 40%,transparent)}}.underline-offset-2{text-underline-offset:2px}.caret-\\[var\\(--text-color-foreground\\)\\]{caret-color:var(--text-color-foreground)}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-\\[2px\\]{outline-style:var(--tw-outline-style);outline-width:2px}.outline-offset-\\[2px\\]{outline-offset:2px}.outline-transparent{outline-color:#0000}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\\[--rows-divider\\:var\\(--border-color-border\\)\\]{--rows-divider:var(--border-color-border)}.\\[--rows-divider\\:var\\(--border-color-border-pane\\)\\]{--rows-divider:var(--border-color-border-pane)}.\\[--rows-group-divider-left\\:0px\\]{--rows-group-divider-left:0px}.\\[--rows-group-divider-left\\:20px\\]{--rows-group-divider-left:20px}.\\[--rows-pane-content-padding-left\\:0px\\]{--rows-pane-content-padding-left:0px}.\\[--rows-pane-content-padding-left\\:20px\\]{--rows-pane-content-padding-left:20px}.\\[--rows-pane-content-padding-left\\:48px\\]{--rows-pane-content-padding-left:48px}.\\[--rows-row-divider-left\\:-14px\\]{--rows-row-divider-left:-14px}.\\[--rows-row-divider-left\\:0px\\]{--rows-row-divider-left:0px}.\\[--rows-row-divider-left\\:14px\\]{--rows-row-divider-left:14px}.\\[--rows-row-divider-left\\:20px\\]{--rows-row-divider-left:20px}.\\[--rows-row-divider-right\\:-14px\\]{--rows-row-divider-right:-14px}.\\[--rows-row-divider-right\\:0px\\]{--rows-row-divider-right:0px}.\\[--rows-row-divider-right\\:14px\\]{--rows-row-divider-right:14px}.\\[--rows-row-divider-right\\:20px\\]{--rows-row-divider-right:20px}.\\[--rows-row-padding-left\\:20px\\]{--rows-row-padding-left:20px}.\\[--rows-row-padding-left\\:48px\\]{--rows-row-padding-left:48px}.\\[text-decoration\\:inherit\\]{-webkit-text-decoration:inherit;text-decoration:inherit}@media(hover:hover){.group-hover\\:bg-accent-hover:is(:where(.group):hover *){background-color:var(--background-color-accent-hover)}.group-hover\\:bg-negative-hover:is(:where(.group):hover *){background-color:var(--background-color-negative-hover)}.group-hover\\:bg-secondary-hover:is(:where(.group):hover *){background-color:var(--background-color-secondary-hover)}.group-hover\\:text-foreground:is(:where(.group):hover *){color:var(--text-color-foreground)}}.group-active\\:bg-accent-active:is(:where(.group):active *){background-color:var(--background-color-accent-active)}.group-active\\:bg-negative-active:is(:where(.group):active *){background-color:var(--background-color-negative-active)}.group-active\\:bg-secondary-active:is(:where(.group):active *){background-color:var(--background-color-secondary-active)}@media(hover:hover){.group-hover\\:group-active\\:bg-accent-active:is(:where(.group):hover *):is(:where(.group):active *){background-color:var(--background-color-accent-active)}.group-hover\\:group-active\\:bg-negative-active:is(:where(.group):hover *):is(:where(.group):active *){background-color:var(--background-color-negative-active)}.group-hover\\:group-active\\:bg-secondary-active:is(:where(.group):hover *):is(:where(.group):active *){background-color:var(--background-color-secondary-active)}}.placeholder\\:text-foreground-secondary\\/50::placeholder{color:light-dark(#66666680,#a1a1a180)}@supports (color:color-mix(in lab,red,red)){.placeholder\\:text-foreground-secondary\\/50::placeholder{color:color-mix(in oklab,var(--text-color-foreground-secondary) 50%,transparent)}}.before\\:pointer-events-none:before{content:var(--tw-content);pointer-events:none}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-y-0:before{content:var(--tw-content);inset-block:0}.before\\:left-\\[10px\\]:before{content:var(--tw-content);left:10px}.before\\:left-\\[28px\\]:before{content:var(--tw-content);left:28px}.before\\:z-10:before{content:var(--tw-content);z-index:10}.before\\:w-\\[2px\\]:before{content:var(--tw-content);width:2px}.focus-within\\:border-focus:focus-within{border-color:var(--border-color-focus)}.focus-within\\:bg-secondary-hover:focus-within{background-color:var(--background-color-secondary-hover)}@media(hover:hover){.hover\\:border-border-hover:hover{border-color:var(--border-color-border-hover)}.hover\\:bg-secondary-hover:hover{background-color:var(--background-color-secondary-hover)}.hover\\:bg-surface-hover:hover{background-color:var(--background-color-surface-hover)}.hover\\:text-foreground:hover{color:var(--text-color-foreground)}.hover\\:text-foreground-secondary-hover:hover{color:var(--text-color-foreground-secondary-hover)}.hover\\:text-negative:hover{color:var(--text-color-negative)}.hover\\:decoration-current:hover{text-decoration-color:currentColor}}.focus-visible\\:border-focus:focus-visible{border-color:var(--border-color-focus)}.focus-visible\\:bg-secondary-hover:focus-visible{background-color:var(--background-color-secondary-hover)}.focus-visible\\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-\\[2px\\]:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\\:outline-offset-\\[-1px\\]:focus-visible{outline-offset:-1px}.focus-visible\\:outline-offset-\\[-2px\\]:focus-visible{outline-offset:-2px}.focus-visible\\:outline-offset-\\[2px\\]:focus-visible{outline-offset:2px}.focus-visible\\:outline-focus:focus-visible{outline-color:var(--outline-color-focus)}.active\\:bg-secondary-active:active{background-color:var(--background-color-secondary-active)}.active\\:bg-surface-active:active{background-color:var(--background-color-surface-active)}.active\\:text-foreground:active{color:var(--text-color-foreground)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.data-active\\:font-semibold[data-active]{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.data-active\\:text-foreground[data-active]{color:var(--text-color-foreground)}.data-\\[checked\\]\\:border-\\[var\\(--background-color-invert\\)\\][data-checked]{border-color:var(--background-color-invert)}.data-\\[checked\\]\\:bg-accent[data-checked]{background-color:var(--background-color-accent)}.data-\\[checked\\]\\:bg-invert[data-checked]{background-color:var(--background-color-invert)}.data-\\[checked\\]\\:bg-surface[data-checked]{background-color:var(--background-color-surface)}.data-\\[checked\\]\\:text-foreground[data-checked]{color:var(--text-color-foreground)}.data-\\[checked\\]\\:text-on-accent[data-checked]{color:var(--text-color-on-accent)}@media(hover:hover){.data-\\[checked\\]\\:hover\\:bg-accent-hover[data-checked]:hover{background-color:var(--background-color-accent-hover)}}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[ending-style\\]\\:opacity-0[data-ending-style]{opacity:0}.data-\\[error\\]\\:border-negative[data-error]{border-color:var(--border-color-negative)}.data-\\[error\\]\\:focus-within\\:border-focus[data-error]:focus-within{border-color:var(--border-color-focus)}.data-\\[error\\]\\:focus-visible\\:border-negative[data-error]:focus-visible{border-color:var(--border-color-negative)}.data-\\[highlighted\\]\\:bg-secondary-hover[data-highlighted]{background-color:var(--background-color-secondary-hover)}.data-\\[loading\\]\\:pointer-events-none[data-loading]{pointer-events:none}.data-\\[open\\]\\:rotate-90[data-open]{rotate:90deg}.data-\\[open\\]\\:rotate-180[data-open]{rotate:180deg}.data-\\[selected\\]\\:font-medium[data-selected]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-\\[side\\=bottom\\]\\:-top-\\[6px\\][data-side=bottom]{top:-6px}.data-\\[side\\=bottom\\]\\:rotate-0[data-side=bottom]{rotate:0deg}.data-\\[side\\=left\\]\\:-right-\\[6px\\][data-side=left]{right:-6px}.data-\\[side\\=left\\]\\:rotate-90[data-side=left]{rotate:90deg}.data-\\[side\\=right\\]\\:-left-\\[6px\\][data-side=right]{left:-6px}.data-\\[side\\=right\\]\\:-rotate-90[data-side=right]{rotate:-90deg}.data-\\[side\\=top\\]\\:-bottom-\\[6px\\][data-side=top]{bottom:-6px}.data-\\[side\\=top\\]\\:rotate-180[data-side=top]{rotate:180deg}.data-\\[starting-style\\]\\:opacity-0[data-starting-style]{opacity:0}.data-\\[unchecked\\]\\:hidden[data-unchecked]{display:none}@media not all and (min-width:64rem){.max-lg\\:hidden{display:none}.max-lg\\:w-\\[68px\\]{width:68px}.max-lg\\:items-center{align-items:center}.max-lg\\:justify-center{justify-content:center}.max-lg\\:gap-0{gap:0}.max-lg\\:p-2{padding:calc(var(--spacing) * 2)}.max-lg\\:p-2\\.5{padding:calc(var(--spacing) * 2.5)}.max-lg\\:px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}}@media not all and (min-width:48rem){.max-md\\:hidden{display:none}.max-md\\:h-dvh{height:100dvh}.max-md\\:min-h-0{min-height:0}.max-md\\:flex-1{flex:1}.max-md\\:flex-col{flex-direction:column}.max-md\\:overflow-hidden{overflow:hidden}.max-md\\:overflow-y-auto{overflow-y:auto}}@media not all and (min-width:40rem){.max-sm\\:w-full{width:100%}}@media(min-width:40rem){.sm\\:px-8{padding-inline:calc(var(--spacing) * 8)}}@media(min-width:48rem){.md\\:hidden{display:none}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:justify-between{justify-content:space-between}.md\\:gap-4{gap:calc(var(--spacing) * 4)}}@media(min-width:64rem){.lg\\:hidden{display:none}}.\\[\\&_\\[data-rows-divider\\]\\]\\:left-\\[var\\(--rows-group-divider-left\\)\\] [data-rows-divider]{left:var(--rows-group-divider-left)}.\\[\\&_\\[data-rows-divider\\]\\]\\:bg-\\[var\\(--rows-divider\\)\\] [data-rows-divider]{background-color:var(--rows-divider)}.\\[\\&\\:hover\\:active\\]\\:bg-surface-active:hover:active{background-color:var(--background-color-surface-active)}.\\[\\&\\:hover\\:active\\]\\:text-foreground:hover:active{color:var(--text-color-foreground)}@media(hover:hover){.\\[\\&\\:not\\(\\[data-error\\]\\)\\]\\:hover\\:bg-secondary-hover:not([data-error]):hover{background-color:var(--background-color-secondary-hover)}}@media not all and (min-width:40rem){.\\[\\&\\>\\*\\]\\:max-sm\\:flex-1>*{flex:1}}.\\[\\&\\>svg\\]\\:size-\\[12px\\]>svg{width:12px;height:12px}.\\[\\&\\>svg\\]\\:size-\\[20px\\]>svg{width:20px;height:20px}.\\[\\&\\>svg\\]\\:h-\\[10px\\]>svg{height:10px}.\\[\\&\\>svg\\]\\:h-\\[12px\\]>svg{height:12px}.\\[\\&\\>svg\\]\\:h-\\[14px\\]>svg{height:14px}.\\[\\&\\>svg\\]\\:h-\\[16px\\]>svg{height:16px}.\\[\\&\\>svg\\]\\:w-\\[10px\\]>svg{width:10px}.\\[\\&\\>svg\\]\\:w-\\[12px\\]>svg{width:12px}.\\[\\&\\>svg\\]\\:w-\\[14px\\]>svg{width:14px}.\\[\\&\\>svg\\]\\:w-\\[16px\\]>svg{width:16px}}:root{color-scheme:light dark;--regen-accent-neutral:light-dark(oklch(20.44% 0 0),oklch(94.66% 0 0));--regen-accent-blue:oklch(47.13% .1983 258.78);--regen-accent-red:light-dark(oklch(58% .17 18),oklch(54% .145 18));--regen-accent-amber:light-dark(oklch(81.87% .1969 76.46),oklch(72% .165 76.46));--regen-accent-green:light-dark(oklch(73% .125 147),oklch(64% .115 147));--regen-accent-purple:light-dark(oklch(57% .21 288),oklch(52% .19 288));--regen-accent:var(--regen-accent-neutral);--regen-radius-none:0px;--regen-radius-small:4px;--regen-radius-medium:6px;--regen-radius-large:12px;--regen-radius-full:9999px;--regen-radius:var(--regen-radius-medium)}:root[data-theme=dark]{color-scheme:dark}:root[data-theme=light]{color-scheme:light}html{background:var(--background-color-background);color:var(--text-color-foreground);font-family:var(--font-sans)}:root[data-regen-disable-motion] *,:root[data-regen-disable-motion] :before,:root[data-regen-disable-motion] :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}[data-regen-color=blue]{--regen-accent:var(--regen-accent-blue)}[data-regen-color=red]{--regen-accent:var(--regen-accent-red)}[data-regen-color=amber]{--regen-accent:var(--regen-accent-amber)}[data-regen-color=green]{--regen-accent:var(--regen-accent-green)}[data-regen-color=purple]{--regen-accent:var(--regen-accent-purple)}[data-regen-radius=none]{--regen-radius:var(--regen-radius-none)}[data-regen-radius=small]{--regen-radius:var(--regen-radius-small)}[data-regen-radius=medium]{--regen-radius:var(--regen-radius-medium)}[data-regen-radius=large]{--regen-radius:var(--regen-radius-large)}[data-regen-radius=full]{--regen-radius:var(--regen-radius-large);--regen-radius-button:var(--regen-radius-full);--regen-radius-identicon:var(--regen-radius-full)}@keyframes rgn-spin{to{transform:rotate(360deg)}}@font-face{font-family:Pilat;font-weight:400;font-display:swap;src:url(./Pilat-Regular-Bx8vzE7q.woff2)format("woff2")}@font-face{font-family:Pilat;font-weight:500 700;font-display:swap;src:url(./Pilat-Demi-CADSbPAt.woff2)format("woff2")}:root{--font-body:"Pilat", ui-sans-serif, system-ui, sans-serif}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes pulse{50%{opacity:.5}}\n',
|
|
53
|
+
contentType: 'text/css; charset=utf-8',
|
|
54
|
+
},
|
|
55
|
+
'assets/verified-tokens-DbUWm_5D.js': {
|
|
56
|
+
content:
|
|
57
|
+
'import{c as Pn,g as Tn,e as z,a as vn,b as Kn,r as F,m as Mn,d as Bn,A as Dn,R as Ln,f as $n,B as zn,h as _n,u as Wn,i as E,W as Hn,k as Qn,j as Vn,t as g,l as Gn,n as Jn,p as Rn,o as d,q as h,s as x,w as b,v as K,x as Zn,y as Nn,z as Xn,C as _,D as gn,E as Yn,F as ne,G as ee,H as i,I as M,J as wn,K as V,L as G,M as te,N as re}from"./index-9tf01JPF.js";import{D as R,P as ae,a as oe,C as se,N as Q,F as kn,I as O,S as ce,T as ie,u as le,b as ue,c as de}from"./Dialog-DvOtj1aC.js";const fe=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],me=Pn("external-link",fe);async function En(n,t){const{account:o,authorizationList:s,allowFailure:r=!0,blockHash:e,blockNumber:a,blockOverrides:c,blockTag:l,requireCanonical:u,stateOverride:f}=t,m=t.contracts,{batchSize:p=t.batchSize??1024,deployless:k=t.deployless??!1}=typeof n.batch?.multicall=="object"?n.batch.multicall:{},P=(()=>{if(t.multicallAddress)return t.multicallAddress;if(k)return null;if(n.chain)return Tn({blockNumber:a,chain:n.chain,contract:"multicall3"});throw new Error("client chain not configured. multicallAddress is required.")})(),v=[[]];let j=0,W=0;for(let N=0;N<m.length;N++){const{abi:C,address:I,args:w,functionName:A}=m[N];try{const q=z({abi:C,args:w,functionName:A});W+=(q.length-2)/2,p>0&&W>p&&v[j].length>0&&(j++,W=(q.length-2)/2,v[j]=[]),v[j]=[...v[j],{allowFailure:!0,callData:q,target:I}]}catch(q){const H=vn(q,{abi:C,address:I,args:w,docsPath:"/docs/contract/multicall",functionName:A,sender:o});if(!r)throw H;v[j]=[...v[j],{allowFailure:!0,callData:"0x",target:I}]}}const hn=await Promise.allSettled(v.map(N=>Kn(n,F,"readContract")({...P===null?{code:Bn}:{address:P},abi:Mn,account:o,args:[N],authorizationList:s,blockHash:e,blockNumber:a,blockOverrides:c,blockTag:l,functionName:"aggregate3",requireCanonical:u,stateOverride:f}))),U=[];for(let N=0;N<hn.length;N++){const C=hn[N];if(C.status==="rejected"){if(!r)throw C.reason;for(let w=0;w<v[N].length;w++)U.push({status:"failure",error:C.reason,result:void 0});continue}const I=C.value;for(let w=0;w<I.length;w++){const{returnData:A,success:q}=I[w],{callData:H}=v[N][w],{abi:yn,address:Fn,functionName:xn,args:bn}=m[U.length];try{if(H==="0x")throw new Dn;if(!q)throw new Ln({data:A});const T=$n({abi:yn,args:bn,data:A,functionName:xn});U.push(r?{result:T,status:"success"}:T)}catch(T){const pn=vn(T,{abi:yn,address:Fn,args:bn,docsPath:"/docs/contract/multicall",functionName:xn});if(!r)throw pn;U.push({error:pn,result:void 0,status:"failure"})}}}if(U.length!==m.length)throw new zn("multicall results mismatch");return U}function jn(n){return n.state.chainId}function ge(n,t){const{onChange:o}=t;return n.subscribe(s=>s.chainId,o)}const he="3.6.16",ye=()=>`wagmi@${he}`;class xe extends _n{constructor(){super(...arguments),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiError"})}get docsBaseUrl(){return"https://wagmi.sh/react"}get version(){return ye()}}class be extends xe{constructor(){super("`useConfig` must be used within `WagmiProvider`.",{docsPath:"/api/WagmiProvider"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiProviderNotFoundError"})}}function pe(n){return JSON.stringify(n,(t,o)=>ve(o)?Object.keys(o).sort().reduce((s,r)=>(s[r]=o[r],s),{}):typeof o=="bigint"?o.toString():o)}function ve(n){if(!Cn(n))return!1;const t=n.constructor;if(typeof t>"u")return!0;const o=t.prototype;return!(!Cn(o)||!o.hasOwnProperty("isPrototypeOf"))}function Cn(n){return Object.prototype.toString.call(n)==="[object Object]"}function Ne(n){const t=Wn({...n,queryKeyHashFn:pe});return t.queryKey=n.queryKey,t}function An(n={}){const t=n.config??E.useContext(Hn);if(!t)throw new be;return t}function we(n={}){const t=An(n);return E.useSyncExternalStore(o=>ge(t,{onChange:o}),()=>jn(t),()=>jn(t))}const ke={defaultAdmin:"DEFAULT_ADMIN_ROLE",pause:"PAUSE_ROLE",unpause:"UNPAUSE_ROLE",issuer:"ISSUER_ROLE",burnBlocked:"BURN_BLOCKED_ROLE"};function S(n){return n==="defaultAdmin"?"0x0000000000000000000000000000000000000000000000000000000000000000":Qn(Vn(ke[n]??n))}async function J(n,t){const{token:o,...s}=t;return J.inner(b,n,t,{...s,token:o})}(function(n){async function t(r,e,a,c){const l=n.call(c);return await r(e,{...a,...l})}n.inner=t;function o(r){const{spender:e,amount:a,token:c}=r;return h({address:g(c),abi:d,functionName:"approve",args:[e,a]})}n.call=o;function s(r){const[e]=x({abi:d,logs:r,eventName:"Approval"});if(!e)throw new Error("`Approval` event not found.");return e}n.extractEvent=s})(J||(J={}));async function Z(n,t){return Z.inner(b,n,t)}(function(n){async function t(r,e,a){const{amount:c,from:l,token:u,...f}=a,m=n.call({amount:c,from:l,token:u});return await r(e,{...f,...m})}n.inner=t;function o(r){const{from:e,amount:a,token:c}=r;return h({address:g(c),abi:d,functionName:"burnBlocked",args:[e,a]})}n.call=o;function s(r){const[e]=x({abi:d,logs:r,eventName:"BurnBlocked"});if(!e)throw new Error("`BurnBlocked` event not found.");return e}n.extractEvent=s})(Z||(Z={}));async function X(n,t){return X.inner(b,n,t)}(function(n){async function t(r,e,a){const{amount:c,memo:l,token:u,...f}=a,m=n.call({amount:c,memo:l,token:u});return await r(e,{...f,...m})}n.inner=t;function o(r){const{amount:e,memo:a,token:c}=r,l=a?{functionName:"burnWithMemo",args:[e,K(a,32)]}:{functionName:"burn",args:[e]};return h({address:g(c),abi:d,...l})}n.call=o;function s(r){const[e]=x({abi:d,logs:r,eventName:"Burn"});if(!e)throw new Error("`Burn` event not found.");return e}n.extractEvent=s})(X||(X={}));async function Y(n,t){return Y.inner(b,n,t)}(function(n){async function t(r,e,a){const{policyId:c,token:l,...u}=a,f=n.call({policyId:c,token:l});return await r(e,{...u,...f})}n.inner=t;function o(r){const{token:e,policyId:a}=r;return h({address:g(e),abi:d,functionName:"changeTransferPolicyId",args:[a]})}n.call=o;function s(r){const[e]=x({abi:d,logs:r,eventName:"TransferPolicyUpdate"});if(!e)throw new Error("`TransferPolicyUpdate` event not found.");return e}n.extractEvent=s})(Y||(Y={}));async function nn(n,t){return nn.inner(b,n,t)}(function(n){async function t(r,e,a){const{account:c=e.account,admin:l=e.account,chain:u=e.chain,...f}=a,m=l?_(l):void 0;if(!m)throw new Error("admin is required.");const p=n.call({...f,admin:m.address});return await r(e,{...a,account:c,chain:u,...p})}n.inner=t;function o(r){const{name:e,symbol:a,currency:c,logoURI:l,quoteToken:u=Rn,admin:f,salt:m=Zn(32)}=r;return h({address:Xn,abi:Nn,args:typeof l=="string"?[e,a,c,g(u),f,m,l]:[e,a,c,g(u),f,m],functionName:"createToken"})}n.call=o;function s(r){const[e]=x({abi:Nn,logs:r,eventName:"TokenCreated",strict:!0});if(!e)throw new Error("`TokenCreated` event not found.");return e}n.extractEvent=s})(nn||(nn={}));async function B(n,t){const{account:o=n.account}=t,s=o?_(o).address:void 0;if(!s)throw new Error("account is required.");return F(n,{...t,...B.call({...t,account:s})})}(function(n){function t(o){const{account:s,spender:r,token:e}=o;return h({address:g(e),abi:d,functionName:"allowance",args:[s,r]})}n.call=t})(B||(B={}));async function D(n,t){const{account:o=n.account,...s}=t,r=o?_(o).address:void 0;if(!r)throw new Error("account is required.");return F(n,{...s,...D.call({account:r,...s})})}(function(n){function t(o){const{account:s,token:r}=o;return h({address:g(r),abi:d,functionName:"balanceOf",args:[s]})}n.call=t})(D||(D={}));async function Ee(n,t){const{token:o,...s}=t,r=g(o),e=d;return Gn(o)===Jn(Rn)?En(n,{...s,contracts:[{address:r,abi:e,functionName:"currency"},{address:r,abi:e,functionName:"decimals"},{address:r,abi:e,functionName:"logoURI"},{address:r,abi:e,functionName:"name"},{address:r,abi:e,functionName:"symbol"},{address:r,abi:e,functionName:"totalSupply"}],allowFailure:!0,deployless:!0}).then(([a,c,l,u,f,m])=>({name:y(u),symbol:y(f),currency:y(a),decimals:y(c),logoURI:y(l,""),totalSupply:y(m)})):En(n,{...s,contracts:[{address:r,abi:e,functionName:"currency"},{address:r,abi:e,functionName:"decimals"},{address:r,abi:e,functionName:"logoURI"},{address:r,abi:e,functionName:"quoteToken"},{address:r,abi:e,functionName:"name"},{address:r,abi:e,functionName:"paused"},{address:r,abi:e,functionName:"supplyCap"},{address:r,abi:e,functionName:"symbol"},{address:r,abi:e,functionName:"totalSupply"},{address:r,abi:e,functionName:"transferPolicyId"}],allowFailure:!0,deployless:!0}).then(([a,c,l,u,f,m,p,k,P,v])=>({name:y(f),symbol:y(k),currency:y(a),decimals:y(c),logoURI:y(l,""),quoteToken:y(u),totalSupply:y(P),paused:y(m),supplyCap:y(p),transferPolicyId:y(v)}))}function y(n,...t){if(n.status==="failure"){if(t.length>0)return t[0];throw n.error}return n.result}async function L(n,t){return F(n,{...t,...L.call(t)})}(function(n){function t(o){const{role:s,token:r}=o;return h({address:g(r),abi:d,functionName:"getRoleAdmin",args:[S(s)]})}n.call=t})(L||(L={}));async function $(n,t){const{account:o=n.account}=t,s=o?_(o).address:void 0;if(!s)throw new Error("account is required.");return F(n,{...t,...$.call({...t,account:s})})}(function(n){function t(o){const{account:s,role:r,token:e}=o;return h({address:g(e),abi:d,functionName:"hasRole",args:[s,S(r)]})}n.call=t})($||($={}));async function en(n,t){return en.inner(gn,n,t)}(function(n){async function t(r,e,a){return await r(e,{...a,calls:a.roles.map(c=>{const l=n.call({...a,role:c});return{...l,data:z(l)}})})}n.inner=t;function o(r){const{token:e,to:a,role:c}=r,l=S(c);return h({address:g(e),abi:d,functionName:"grantRole",args:[l,a]})}n.call=o;function s(r){const e=x({abi:d,logs:r,eventName:"RoleMembershipUpdated"});if(e.length===0)throw new Error("`RoleMembershipUpdated` events not found.");return e}n.extractEvents=s})(en||(en={}));async function tn(n,t){return tn.inner(b,n,t)}(function(n){async function t(r,e,a){const c=n.call(a);return await r(e,{...a,...c})}n.inner=t;function o(r){const{to:e,amount:a,memo:c,token:l}=r,u=c?{functionName:"mintWithMemo",args:[e,a,K(c,32)]}:{functionName:"mint",args:[e,a]};return h({address:g(l),abi:d,...u})}n.call=o;function s(r){const[e]=x({abi:d,logs:r,eventName:"Mint"});if(!e)throw new Error("`Mint` event not found.");return e}n.extractEvent=s})(tn||(tn={}));async function rn(n,t){return rn.inner(b,n,t)}(function(n){async function t(r,e,a){const{token:c,...l}=a,u=n.call({token:c});return await r(e,{...l,...u})}n.inner=t;function o(r){const{token:e}=r;return h({address:g(e),abi:d,functionName:"pause",args:[]})}n.call=o;function s(r){const[e]=x({abi:d,logs:r,eventName:"PauseStateUpdate"});if(!e)throw new Error("`PauseStateUpdate` event not found.");return e}n.extractEvent=s})(rn||(rn={}));async function an(n,t){return an.inner(gn,n,t)}(function(n){async function t(r,e,a){return await r(e,{...a,calls:a.roles.map(c=>{const l=n.call({...a,role:c});return{...l,data:z(l)}})})}n.inner=t;function o(r){const{token:e,role:a}=r,c=S(a);return h({address:g(e),abi:d,functionName:"renounceRole",args:[c]})}n.call=o;function s(r){const e=x({abi:d,logs:r,eventName:"RoleMembershipUpdated"});if(e.length===0)throw new Error("`RoleMembershipUpdated` events not found.");return e}n.extractEvents=s})(an||(an={}));async function on(n,t){return on.inner(gn,n,t)}(function(n){async function t(r,e,a){const{from:c,...l}=a;return await r(e,{...l,calls:a.roles.map(u=>{const f=n.call({...a,role:u});return{...f,data:z(f)}})})}n.inner=t;function o(r){const{token:e,from:a,role:c}=r,l=S(c);return h({address:g(e),abi:d,functionName:"revokeRole",args:[l,a]})}n.call=o;function s(r){const e=x({abi:d,logs:r,eventName:"RoleMembershipUpdated"});if(e.length===0)throw new Error("`RoleMembershipUpdated` events not found.");return e}n.extractEvents=s})(on||(on={}));async function sn(n,t){return sn.inner(b,n,t)}(function(n){async function t(r,e,a){const{supplyCap:c,token:l,...u}=a,f=n.call({supplyCap:c,token:l});return await r(e,{...u,...f})}n.inner=t;function o(r){const{token:e,supplyCap:a}=r;return h({address:g(e),abi:d,functionName:"setSupplyCap",args:[a]})}n.call=o;function s(r){const[e]=x({abi:d,logs:r,eventName:"SupplyCapUpdate"});if(!e)throw new Error("`SupplyCapUpdate` event not found.");return e}n.extractEvent=s})(sn||(sn={}));async function cn(n,t){return cn.inner(b,n,t)}(function(n){async function t(r,e,a){const{adminRole:c,role:l,token:u,...f}=a,m=n.call({adminRole:c,role:l,token:u});return await r(e,{...f,...m})}n.inner=t;function o(r){const{token:e,role:a,adminRole:c}=r,l=S(a),u=S(c);return h({address:g(e),abi:d,functionName:"setRoleAdmin",args:[l,u]})}n.call=o;function s(r){const[e]=x({abi:d,logs:r,eventName:"RoleAdminUpdated"});if(!e)throw new Error("`RoleAdminUpdated` event not found.");return e}n.extractEvent=s})(cn||(cn={}));async function ln(n,t){return ln.inner(b,n,t)}(function(n){async function t(r,e,a){const{amount:c,from:l,memo:u,token:f,to:m,...p}=a,k=n.call({amount:c,from:l,memo:u,token:f,to:m});return await r(e,{...p,...k})}n.inner=t;function o(r){const{amount:e,from:a,memo:c,token:l,to:u}=r,f=c&&a?{functionName:"transferFromWithMemo",args:[a,u,e,K(c,32)]}:c?{functionName:"transferWithMemo",args:[u,e,K(c,32)]}:a?{functionName:"transferFrom",args:[a,u,e]}:{functionName:"transfer",args:[u,e]};return h({address:g(l),abi:d,...f})}n.call=o;function s(r){const[e]=x({abi:d,logs:r,eventName:"Transfer"});if(!e)throw new Error("`Transfer` event not found.");return e}n.extractEvent=s})(ln||(ln={}));async function un(n,t){return un.inner(b,n,t)}(function(n){async function t(r,e,a){const{token:c,...l}=a,u=n.call({token:c});return await r(e,{...l,...u})}n.inner=t;function o(r){const{token:e}=r;return h({address:g(e),abi:d,functionName:"unpause",args:[]})}n.call=o;function s(r){const[e]=x({abi:d,logs:r,eventName:"PauseStateUpdate"});if(!e)throw new Error("`PauseStateUpdate` event not found.");return e}n.extractEvent=s})(un||(un={}));async function dn(n,t){return dn.inner(b,n,t)}(function(n){async function t(r,e,a){const{quoteToken:c,token:l,...u}=a,f=n.call({quoteToken:c,token:l});return await r(e,{...u,...f})}n.inner=t;function o(r){const{token:e,quoteToken:a}=r;return h({address:g(e),abi:d,functionName:"setNextQuoteToken",args:[g(a)]})}n.call=o;function s(r){const[e]=x({abi:d,logs:r,eventName:"NextQuoteTokenSet"});if(!e)throw new Error("`NextQuoteTokenSet` event not found.");return e}n.extractEvent=s})(dn||(dn={}));async function fn(n,t){return fn.inner(b,n,t)}(function(n){async function t(r,e,a){const{token:c,...l}=a,u=n.call({token:c});return await r(e,{...l,...u})}n.inner=t;function o(r){const{token:e}=r;return h({address:g(e),abi:d,functionName:"completeQuoteTokenUpdate",args:[]})}n.call=o;function s(r){const[e]=x({abi:d,logs:r,eventName:"QuoteTokenUpdate"});if(!e)throw new Error("`QuoteTokenUpdateCompleted` event not found.");return e}n.extractEvent=s})(fn||(fn={}));function qn(n,t){const{chainId:o,...s}=t,r=n.getClient({chainId:o});return B(r,s)}(function(n){function t(s){return["getAllowance",s]}n.queryKey=t;function o(s,r){const{query:e,...a}=r;return{...e,enabled:!!(a.account&&a.spender&&a.token&&(e?.enabled??!0)),queryKey:t(a),async queryFn(c){const[,l]=c.queryKey;return await n(s,l)}}}n.queryOptions=o})(qn||(qn={}));function Sn(n,t){const{chainId:o,...s}=t,r=n.getClient({chainId:o});return D(r,s)}(function(n){function t(s){return["getBalance",s]}n.queryKey=t;function o(s,r){const{query:e,...a}=r;return{...e,enabled:!!(a.account&&a.token&&(e?.enabled??!0)),queryKey:t(a),async queryFn(c){const[,l]=c.queryKey;return await n(s,l)??null}}}n.queryOptions=o})(Sn||(Sn={}));function mn(n,t){const{chainId:o,...s}=t,r=n.getClient({chainId:o});return Ee(r,s)}(function(n){function t(s){return["getMetadata",s]}n.queryKey=t;function o(s,r){const{query:e,...a}=r;return{...e,enabled:!!(a.token&&(e?.enabled??!0)),queryKey:t(a),async queryFn(c){const[,l]=c.queryKey;return await n(s,l)}}}n.queryOptions=o})(mn||(mn={}));function Un(n,t){const{chainId:o,...s}=t,r=n.getClient({chainId:o});return L(r,s)}(function(n){function t(s){return["getRoleAdmin",s]}n.queryKey=t;function o(s,r){const{query:e,...a}=r;return{...e,enabled:!!(a.token&&a.role&&(e?.enabled??!0)),queryKey:t(a),async queryFn(c){const[,l]=c.queryKey;return await n(s,l)}}}n.queryOptions=o})(Un||(Un={}));function In(n,t){const{chainId:o,...s}=t,r=n.getClient({chainId:o});return $(r,s)}(function(n){function t(s){return["hasRole",s]}n.queryKey=t;function o(s,r){const{query:e,...a}=r;return{...e,enabled:!!(a.token&&a.role&&a.account&&(e?.enabled??!0)),queryKey:t(a),async queryFn(c){const[,l]=c.queryKey;return await n(s,l)}}}n.queryOptions=o})(In||(In={}));function je(n={}){const t=An(n),o=we({config:t}),s=mn.queryOptions(t,{...n,chainId:n.chainId??o});return Ne(s)}const Ce=[{id:V.id,label:"Mainnet"},{id:G.id,label:"Testnet"}],qe={[V.id]:V.blockExplorers.default.url,[G.id]:G.blockExplorers.default.url};function Ke(){const[n,t]=E.useState(Yn),[o,s]=E.useState(!1),r=ne.useQuery({chainId:n}),e=ee.useMutation();return i.jsx(R.Root,{onOpenChange:s,open:o,children:i.jsxs(ae,{title:"Verified Tokens",description:"Manage the curated verified token list",action:i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(On,{onChange:t,value:n}),i.jsx(R.Trigger,{render:i.jsxs(M,{variant:"primary",children:[i.jsx(oe,{className:"size-4"}),"Add token"]})})]}),children:[i.jsx(Ie,{chain:n,error:r.error,loading:r.isPending,tokens:r.data?.data??[]}),i.jsx(R.Popup,{children:i.jsx(Se,{defaultChain:n,onSubmit:a=>e.mutate(a,{onError:c=>alert(c.message),onSuccess:()=>s(!1)}),pending:e.isPending})})]})})}function On(n){return i.jsx(ce,{className:n.className??"w-40",items:Ce.map(t=>({label:t.label,value:String(t.id)})),onChange:t=>n.onChange(Number(t)),value:String(n.value)})}function Se(n){const[t,o]=E.useState(n.defaultChain),[s,r]=E.useState(""),e=je({chainId:t,token:s,query:{enabled:wn(s)}}),a=e.data;function c(u){if(u.preventDefault(),!a)return;const f=new FormData(u.currentTarget),m=f.get("name"),p=f.get("logo"),k=p instanceof File&&p.size>0?p:null;n.onSubmit({address:s,chainId:t,currency:a.currency,decimals:a.decimals,name:typeof m=="string"?m.trim():"",symbol:a.symbol,logo:k,...!k&&a.logoURI?{logoUri:a.logoURI}:{}})}const l=s.length>0&&!wn(s);return i.jsxs(i.Fragment,{children:[i.jsx(R.Title,{children:"Add Token"}),i.jsx(R.Description,{children:"Add a token to the curated verified token list"}),i.jsxs("form",{className:"mt-6 flex flex-col gap-8",onSubmit:c,children:[i.jsxs(kn,{className:"gap-6",variant:"default",children:[i.jsxs("div",{className:"flex flex-col gap-2",children:[i.jsx("span",{className:"label-13 text-foreground-secondary",children:"Chain"}),i.jsx(On,{className:"w-full",onChange:o,value:t})]}),i.jsx(Ue,{logoUri:a?.logoURI}),i.jsx(O,{error:l?"Enter a valid address":e.isError?"Token not found":!1,label:"Address",onChange:u=>r(u.target.value.trim()),placeholder:"0x20c000000000000000000000b9537d11c60e8b50",required:!0,value:s}),a?i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex gap-2",children:[i.jsx("div",{className:"w-32 shrink-0",children:i.jsx(O,{disabled:!0,label:"Symbol",placeholder:"USDC",value:a.symbol})}),i.jsx("div",{className:"flex-1",children:i.jsx(O,{defaultValue:a.name,label:"Name",name:"name",placeholder:"USD Coin",required:!0},a.name)})]}),i.jsxs(kn.Inline,{children:[i.jsx(O,{disabled:!0,label:"Decimals",placeholder:"6",value:a.decimals}),i.jsx(O,{disabled:!0,label:"Currency",placeholder:"USD",value:a.currency})]})]}):null]}),i.jsxs("div",{className:"flex justify-end gap-2",children:[i.jsx(R.Close,{render:i.jsx(M,{type:"button",children:"Cancel"})}),i.jsx(M,{disabled:!a,loading:n.pending,type:"submit",variant:"primary",children:"Add token"})]})]})]})}function Ue(n){const[t,o]=E.useState("");return i.jsxs("div",{className:"flex flex-col gap-2",children:[i.jsx("span",{className:"label-13 text-foreground-secondary",children:"Logo"}),i.jsxs("div",{className:"relative flex h-[40px] items-center gap-[10px] rounded-body border-[2px] border-transparent bg-secondary px-[12px] copy-14 text-foreground transition-colors hover:bg-secondary-hover",children:[n.logoUri&&!t?i.jsx("img",{alt:"",className:"size-6 shrink-0",src:n.logoUri}):null,i.jsx("span",{className:"border border-border px-2 py-0.5 text-label-12 text-foreground-secondary",children:"Choose SVG"}),i.jsx("span",{className:"min-w-0 flex-1 truncate text-label-12 text-foreground-secondary",children:t||(n.logoUri?"Using on-chain logo":"No file selected")}),i.jsx("input",{accept:"image/svg+xml,.svg",className:"absolute inset-0 cursor-pointer opacity-0",name:"logo",onChange:s=>o(s.target.files?.[0]?.name??""),type:"file"})]})]})}function Ie(n){return i.jsx(se,{children:n.loading?i.jsx(Q,{children:"Loading tokens…"}):n.error?i.jsx(Q,{children:n.error.message}):n.tokens.length===0?i.jsx(Q,{children:"No verified tokens yet."}):i.jsx("ul",{className:"divide-y divide-border",children:n.tokens.map(t=>i.jsx(Re,{chain:n.chain,token:t},t.address))})})}function Re(n){const{chain:t,token:o}=n,s=te.useMutation();function r(){confirm(`Remove ${o.name} (${o.symbol})? This can\'t be undone.`)&&s.mutate({address:o.address,chainId:t},{onError:e=>alert(e.message)})}return i.jsxs("li",{className:"flex items-center justify-between gap-4 px-5 py-2.5",children:[i.jsxs("div",{className:"flex min-w-0 items-center gap-4",children:[i.jsx(Fe,{chainId:t,token:o}),i.jsxs("div",{className:"flex min-w-0 flex-col gap-1",children:[i.jsxs("span",{className:"text-label-14 text-foreground",children:[o.name," ",i.jsx("span",{className:"text-foreground-secondary",children:o.symbol})]}),i.jsx(Oe,{value:o.address})]})]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs("a",{className:"flex items-center gap-1.5 text-label-12 text-foreground-secondary hover:text-foreground",href:`${qe[t]}/token/${o.address}`,rel:"noreferrer",target:"_blank",children:["Explorer",i.jsx(me,{className:"size-3"})]}),i.jsx(M.Icon,{className:"text-foreground-secondary hover:text-negative",disabled:s.isPending,onClick:r,size:"lg",title:"Remove token",variant:"plain",children:i.jsx(ie,{})})]})]})}function Ae(n){return`${n.slice(0,6)}…${n.slice(-6)}`}function Oe(n){const{copy:t,notifying:o}=le();return i.jsxs("button",{"aria-label":"Copy address",className:"flex w-fit cursor-pointer items-center gap-1.5 text-label-12 text-foreground-secondary hover:text-foreground",onClick:()=>t(n.value),title:"Copy address",type:"button",children:[Ae(n.value),o?i.jsx(ue,{className:"size-3"}):i.jsx(de,{className:"size-3"})]})}function Fe(n){const{chainId:t,token:o}=n,[s,r]=E.useState(!1),e=o.logoUri??re({address:o.address,chainId:t});return s?i.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-secondary text-label-12 text-foreground-secondary",children:o.symbol.slice(0,2).toUpperCase()}):i.jsx("img",{alt:"",className:"size-8 shrink-0 rounded-full bg-secondary",onError:()=>r(!0),src:e})}export{Ke as component};\n',
|
|
58
|
+
contentType: 'text/javascript; charset=utf-8',
|
|
59
|
+
},
|
|
60
|
+
}
|