@inneranimalmedia/agentsam-sdk 2.6.11 → 2.6.12
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/apps/cad-creator/shared/cad/package.json +1 -1
- package/apps/client-cms-editor/backend/package.json +2 -2
- package/apps/client-cms-editor/frontend/package.json +3 -3
- package/apps/client-cms-editor/frontend/src/adapters/http-authoring.test.ts +161 -0
- package/apps/client-cms-editor/frontend/src/adapters/http.ts +296 -65
- package/apps/client-cms-editor/frontend/src/editor/CmsEditor.tsx +47 -16
- package/apps/client-cms-editor/frontend/src/editor/composition-groups.test.ts +40 -0
- package/apps/client-cms-editor/frontend/src/editor/legacy/CmsEditorPrototype.tsx +28 -28
- package/apps/client-cms-editor/frontend/src/editor/useCmsEditorController.ts +3 -3
- package/apps/client-cms-editor/frontend/src/styles/agentsam-drawer.css +5 -4
- package/apps/client-cms-editor/frontend/src/styles/studio.css +150 -149
- package/apps/client-cms-editor/package.json +1 -1
- package/apps/client-cms-editor/reference/harvest/plans/INNERANIMALS-CONTENT-001.md +1 -1
- package/apps/client-cms-editor/shared/cms/package.json +1 -1
- package/apps/client-cms-editor/shared/cms/src/editor-types.ts +42 -1
- package/docs/CMS_CONTEXTUAL_COMPOSER.md +4 -4
- package/docs/PRODUCT_LIFECYCLE.md +38 -38
- package/docs/REPO_FILE_MAP.txt +2 -2
- package/docs/THEME_REFINERY.md +6 -6
- package/docs/WINDOWS_RUNTIME_INSTALL.md +1 -1
- package/docs/adr/ADR-0002-brand-campaign-plugin-boundaries.md +603 -0
- package/docs/adr/ADR-0003-copro-clean-room-product-architecture.md +34 -0
- package/docs/adr/ADR-0003-product-portfolio-and-package-taxonomy.md +146 -0
- package/docs/adr/ADR-0004-product-composition-and-provider-neutrality.md +56 -0
- package/docs/adr/ADR-0005-offer-graduation-standard.md +66 -0
- package/docs/adr/README.md +25 -0
- package/docs/architecture/AGENTSAM_APPLICATION_CONTRACT.md +1 -1
- package/docs/architecture/DUAL_ANALYTICS_PRODUCT.md +1 -1
- package/docs/content-studio/HOST_MOUNT_CHECKLIST.md +1 -1
- package/docs/content-studio/REVISION_GATE_2026-09-27.md +3 -3
- package/docs/contracts/google-cloud-oauth-setup.md +1 -1
- package/docs/local-studio/WORKMODE_DONOR_NOTES.md +3 -3
- package/docs/plans/ASTRA-BRIEF-2026-09-18.md +1 -1
- package/docs/plans/LOCAL-STUDIO-REAL-APP-CONTRACT-ADDENDUM-2026-09-27.md +2 -2
- package/docs/plans/MACHINE-FIRST-APPS-TUI-2026-09-24.md +1 -1
- package/docs/plans/NEXT-AGENT-HANDOFF.md +2 -2
- package/docs/plans/TOMORROW-EXTENSIVE-TODO-2026-09-26.md +68 -68
- package/docs/plans/TOMORROW-MACHINE-FIRST-BRIEFING.md +1 -1
- package/docs/plans/UNIVERSAL-INGEST-MACHINE-FIRST-2026-09-24.md +1 -1
- package/docs/prd/PRD-agentsam-analytics.md +174 -0
- package/docs/prd/PRD-agentsam-brand.md +181 -0
- package/docs/prd/PRD-agentsam-browser.md +177 -0
- package/docs/prd/PRD-agentsam-cad-studio.md +177 -0
- package/docs/prd/PRD-agentsam-campaign.md +1178 -0
- package/docs/prd/PRD-agentsam-commerce-studio.md +180 -0
- package/docs/prd/PRD-agentsam-content-studio.md +179 -0
- package/docs/prd/PRD-agentsam-copro.md +39 -0
- package/docs/prd/PRD-agentsam-database-studio.md +175 -0
- package/docs/prd/PRD-agentsam-developer-studio.md +175 -0
- package/docs/prd/PRD-agentsam-hosted-runtime.md +180 -0
- package/docs/prd/PRD-agentsam-knowledge.md +174 -0
- package/docs/prd/PRD-agentsam-local-studio.md +180 -0
- package/docs/prd/PRD-agentsam-merch.md +177 -0
- package/docs/prd/PRD-agentsam-platform.md +179 -0
- package/docs/prd/PRD-agentsam-site-studio.md +180 -0
- package/docs/prd/PRD-agentsam-work.md +180 -0
- package/docs/prd/README.md +39 -0
- package/docs/product/COPRO-DONOR-AUDIT.md +9 -0
- package/docs/product/COPRO-EXECUTION-PLAN.md +81 -0
- package/docs/product/COPRO-UI-QUALITY-GATE.md +119 -0
- package/docs/product/OFFER-PORTFOLIO.md +158 -0
- package/docs/product/PACKAGE-TAXONOMY.md +78 -0
- package/examples/hyperspace-demo/dist/assets/index-SZ2LfOpJ.js +242 -0
- package/examples/hyperspace-demo/dist/index.html +13 -0
- package/native/agentsam-machine/core/src/lib.rs +2 -2
- package/package.json +55 -35
- package/packages/agentsam-brand/package.json +3 -2
- package/packages/agentsam-brand/src/public.js +192 -0
- package/packages/agentsam-contracts/README.md +1 -1
- package/packages/agentsam-contracts/package.json +1 -1
- package/packages/agentsam-errors/package.json +1 -1
- package/packages/agentsam-goap/package.json +2 -2
- package/packages/agentsam-hooks/package.json +1 -1
- package/packages/agentsam-knowledge/package.json +1 -1
- package/packages/agentsam-merch/package.json +1 -1
- package/packages/agentsam-merch/test/merch.test.mjs +1 -1
- package/packages/agentsam-nav/dist/browser.global.js +34 -71
- package/packages/agentsam-nav/dist/browser.js +759 -3157
- package/packages/agentsam-nav/dist/index.js +751 -3149
- package/packages/agentsam-nav/package.json +1 -1
- package/packages/agentsam-queue-control/package.json +1 -1
- package/packages/agentsam-repository/package.json +1 -1
- package/packages/agentsam-repository/src/goap.js.bak-20260922011251 +670 -0
- package/packages/agentsam-vault/package.json +1 -1
- package/packages/agentsam-workbench/package.json +5 -4
- package/packages/agentsam-workbench/src/agent/MiniAgentSam.tsx +28 -4
- package/packages/agentsam-workbench/src/agent/contextual-composer.css +72 -70
- package/packages/agentsam-workbench/src/agent/mini-agentsam.css +228 -10
- package/packages/connectors/cfoa/package.json +1 -1
- package/packages/heuristic-theme/package.json +1 -1
- package/packages/identity/package.json +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/login.html +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/reset.html +1 -1
- package/packages/identity/src/frontend/auth-portal/pages/signup.html +1 -1
- package/packages/identity/tests/chatgpt-provider.test.mjs +3 -3
- package/packages/identity/tests/oauth-consent-view.test.mjs +11 -11
- package/packages/providers/completeful/README.md +3 -3
- package/packages/providers/completeful/package.json +1 -1
- package/packages/theme-cypress/README.md +11 -0
- package/packages/{theme-church-site → theme-cypress}/package.json +14 -11
- package/packages/theme-cypress/prebuild.json +23 -0
- package/packages/theme-cypress/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-cypress/site/assets/generated/media-044ba16613.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-0a1ea6f6d9.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-0c06778307.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-1539ed373a.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-2df479fd2d.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-2e8bd0d9bc.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-41d4e2643c.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-46205bfde8.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-50c5f3e279.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-5f1467778c.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-6703642b22.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-87a490bc8e.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-997c10ef39.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-a423735c21.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-c9cea5245b.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-cab3c84c60.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-ce06595d59.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-d268905e7e.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-f6711b5053.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/media-manifest.json +226 -0
- package/packages/theme-cypress/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-cypress/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-cypress/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-cypress/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-cypress/site/beliefs.html +175 -0
- package/packages/theme-cypress/site/community.html +175 -0
- package/packages/theme-cypress/site/connect.html +319 -0
- package/packages/theme-cypress/site/donate.html +106 -0
- package/packages/theme-cypress/site/groups.html +1352 -0
- package/packages/theme-cypress/site/help.html +1 -0
- package/packages/theme-cypress/site/icons/clock.svg +4 -0
- package/packages/theme-cypress/site/icons/email.svg +4 -0
- package/packages/theme-cypress/site/icons/giving.svg +4 -0
- package/packages/theme-cypress/site/icons/home.svg +4 -0
- package/packages/theme-cypress/site/icons/location.svg +4 -0
- package/packages/theme-cypress/site/icons/media.svg +4 -0
- package/packages/theme-cypress/site/icons/ministries.svg +6 -0
- package/packages/theme-cypress/site/icons/prayer.svg +5 -0
- package/packages/theme-cypress/site/icons/visit.svg +6 -0
- package/packages/theme-cypress/site/index.html +1013 -0
- package/packages/theme-cypress/site/mensgroup.html +477 -0
- package/packages/theme-cypress/site/mission.html +512 -0
- package/packages/theme-cypress/site/unified-footer.css +172 -0
- package/packages/theme-cypress/site/unified-footer.js +175 -0
- package/packages/theme-cypress/site/unified-header.css +226 -0
- package/packages/theme-cypress/site/unified-header.js +111 -0
- package/packages/theme-cypress/site/womansgroup.html +452 -0
- package/packages/{theme-church-site → theme-cypress}/src/index.js +22 -35
- package/packages/theme-cypress/src/node.js +69 -0
- package/packages/theme-cypress/test/theme.test.mjs +47 -0
- package/packages/theme-ember/README.md +11 -0
- package/packages/{theme-fuelnfree-site → theme-ember}/package.json +14 -11
- package/packages/theme-ember/prebuild.json +23 -0
- package/packages/theme-ember/site/about.html +1840 -0
- package/packages/theme-ember/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-ember/site/assets/generated/media-1e0b1e6ee6.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-2371dcb426.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-2db4f5ff9e.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-4ed07a756e.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-58182cf167.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-5b8b8472ae.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-71f4bd16a1.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-7c1c8120bc.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-832b176433.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-931439701c.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-c2860d40d1.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-c56974d198.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-cb83a44ff4.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-df02ccdfcf.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-fab72cd344.webp +0 -0
- package/packages/theme-ember/site/assets/generated/media-manifest.json +190 -0
- package/packages/theme-ember/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-ember/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-ember/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-ember/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-ember/site/community.html +1664 -0
- package/packages/theme-ember/site/index.html +2044 -0
- package/packages/theme-ember/site/shop.html +2104 -0
- package/packages/{theme-fuelnfree-site → theme-ember}/src/index.js +23 -33
- package/packages/theme-ember/src/node.js +69 -0
- package/packages/theme-ember/test/theme.test.mjs +47 -0
- package/packages/theme-forge/README.md +11 -0
- package/packages/theme-forge/package.json +44 -0
- package/packages/theme-forge/prebuild.json +23 -0
- package/packages/theme-forge/site/apple-touch-icon.png +0 -0
- package/packages/theme-forge/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-forge/site/assets/generated/media-manifest.json +17 -0
- package/packages/theme-forge/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-forge/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-forge/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-forge/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-forge/site/assets/index-DBOqQVsA.css +1 -0
- package/packages/theme-forge/site/assets/index-pXC0o9jp.js +241 -0
- package/packages/theme-forge/site/assets/workbox-window.prod.es5-Bd17z0YL.js +2 -0
- package/packages/theme-forge/site/index.html +5 -0
- package/packages/theme-forge/site/manifest.webmanifest +1 -0
- package/packages/theme-forge/site/pwa-192x192.png +0 -0
- package/packages/theme-forge/site/pwa-512x512.png +0 -0
- package/packages/theme-forge/site/sw.js +107 -0
- package/packages/theme-forge/site/workbox-7e5eb42b.js +3395 -0
- package/packages/theme-forge/src/index.js +76 -0
- package/packages/theme-forge/src/node.js +69 -0
- package/packages/theme-forge/test/theme.test.mjs +47 -0
- package/packages/theme-grove/README.md +11 -0
- package/packages/{theme-floors-site → theme-grove}/package.json +14 -11
- package/packages/theme-grove/prebuild.json +23 -0
- package/packages/theme-grove/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-grove/site/assets/generated/media-098b13d75a.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-0c064db1aa.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-0fbfef655e.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-14759c7460.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-19b23d2a8f.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-2012f04243.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-23b8c5e2bb.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-2bffb1a6ef.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-2e1523a5b0.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-31107c21f2.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-31373ec865.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-45e8e27542.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-4aa9846fe7.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-5476b24219.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-7a227d3e4b.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-b183eed550.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-b2c650f9ab.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-b5d7471694.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-c86498fdb4.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-ce2cfff9a1.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-cf41a5f324.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-ec6c01bf8d.webp +0 -0
- package/packages/theme-grove/site/assets/generated/media-manifest.json +267 -0
- package/packages/theme-grove/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-grove/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-grove/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-grove/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-grove/site/index.html +1429 -0
- package/packages/theme-grove/site/pages/contact.html +664 -0
- package/packages/theme-grove/site/pages/gallery.html +216 -0
- package/packages/theme-grove/site/pages/privacy.html +180 -0
- package/packages/theme-grove/site/pages/process.html +592 -0
- package/packages/theme-grove/site/pages/services.html +567 -0
- package/packages/theme-grove/site/pages/terms.html +189 -0
- package/packages/theme-grove/site/shared/footer.css +140 -0
- package/packages/theme-grove/site/shared/footer.html +41 -0
- package/packages/{theme-floors-site → theme-grove}/src/index.js +24 -35
- package/packages/theme-grove/src/node.js +69 -0
- package/packages/theme-grove/test/theme.test.mjs +47 -0
- package/packages/theme-harbor/README.md +11 -0
- package/packages/{theme-insurance-site → theme-harbor}/package.json +14 -11
- package/packages/theme-harbor/prebuild.json +23 -0
- package/packages/theme-harbor/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-harbor/site/assets/generated/media-manifest.json +17 -0
- package/packages/theme-harbor/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-harbor/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-harbor/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-harbor/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-harbor/site/assets/index-D58RKkr-.js +239 -0
- package/packages/theme-harbor/site/assets/index-Dd3YN9Mf.css +1 -0
- package/packages/theme-harbor/site/index.html +15 -0
- package/packages/theme-harbor/src/index.js +76 -0
- package/packages/theme-harbor/src/node.js +69 -0
- package/packages/theme-harbor/test/theme.test.mjs +47 -0
- package/packages/theme-resolve/README.md +11 -0
- package/packages/theme-resolve/package.json +44 -0
- package/packages/theme-resolve/prebuild.json +23 -0
- package/packages/theme-resolve/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-resolve/site/assets/generated/media-216610d365.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-2a9e0f623f.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-a70660bfa9.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-bc1322e813.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-ced60fcecc.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/media-manifest.json +72 -0
- package/packages/theme-resolve/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-resolve/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-resolve/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-resolve/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-resolve/site/assets/index-BSaLpPG1.css +2 -0
- package/packages/theme-resolve/site/assets/index-D8au46Z5.js +17 -0
- package/packages/theme-resolve/site/index.html +22 -0
- package/packages/theme-resolve/src/index.js +69 -0
- package/packages/theme-resolve/src/node.js +69 -0
- package/packages/theme-resolve/test/theme.test.mjs +47 -0
- package/packages/theme-scenes/package.json +1 -1
- package/packages/theme-scenes/src/registry.js +32 -49
- package/packages/theme-summit/README.md +11 -0
- package/packages/{theme-shinshu-site → theme-summit}/package.json +14 -11
- package/packages/theme-summit/prebuild.json +23 -0
- package/packages/theme-summit/site/adventures.html +450 -0
- package/packages/theme-summit/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-summit/site/assets/generated/media-1e958ea679.webp +0 -0
- package/packages/theme-summit/site/assets/generated/media-9d4521abba.webp +0 -0
- package/packages/theme-summit/site/assets/generated/media-manifest.json +39 -0
- package/packages/theme-summit/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-summit/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-summit/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-summit/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-summit/site/business-card.html +315 -0
- package/packages/theme-summit/site/chatbot.js +312 -0
- package/packages/theme-summit/site/gallery.html +524 -0
- package/packages/theme-summit/site/i18n.js +947 -0
- package/packages/theme-summit/site/icons.svg +87 -0
- package/packages/theme-summit/site/index.html +2415 -0
- package/packages/theme-summit/site/pages/about.html +100 -0
- package/packages/theme-summit/site/pages/contact.html +117 -0
- package/packages/theme-summit/site/pages/dashboard.html +111 -0
- package/packages/theme-summit/site/pages/index.html +129 -0
- package/packages/theme-summit/site/pages/services.html +125 -0
- package/packages/theme-summit/site/shared/footer.html +41 -0
- package/packages/theme-summit/site/shared/layout.js +315 -0
- package/packages/theme-summit/site/shared/nav.html +19 -0
- package/packages/theme-summit/site/shared/styles.css +696 -0
- package/packages/theme-summit/site/theme-styles.css +131 -0
- package/packages/theme-summit/site/themes.js +442 -0
- package/packages/{theme-shinshu-site → theme-summit}/src/index.js +23 -35
- package/packages/theme-summit/src/node.js +69 -0
- package/packages/theme-summit/test/theme.test.mjs +47 -0
- package/packages/theme-violet/README.md +11 -0
- package/packages/{theme-companions-site → theme-violet}/package.json +14 -11
- package/packages/theme-violet/prebuild.json +23 -0
- package/packages/theme-violet/site/assets/generated/favicon.svg +7 -0
- package/packages/theme-violet/site/assets/generated/media-07b46d6457.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-09d38ddffc.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-254b0e2ad3.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-3a1b5c0a8d.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-3a78eb7d9d.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-49076977d8.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-6342d50dbd.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-646c65381e.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-7a5fb7c91a.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-9bbd133220.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-9e73307c2a.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-af382146a0.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-b2ae348b43.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-b8f43a3887.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-c96a3e1979.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-cd07daa54a.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-e03ab6b5fe.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-eae4917d25.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-f227ec5690.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-fb57ffd474.webp +0 -0
- package/packages/theme-violet/site/assets/generated/media-manifest.json +245 -0
- package/packages/theme-violet/site/assets/generated/social-card.webp +0 -0
- package/packages/theme-violet/site/assets/generated/theme-mark-192.png +0 -0
- package/packages/theme-violet/site/assets/generated/theme-mark-512.png +0 -0
- package/packages/theme-violet/site/assets/generated/theme-mark.svg +7 -0
- package/packages/theme-violet/site/global/cpas-contact.css +405 -0
- package/packages/theme-violet/site/global/cpas-donate-v2.css +931 -0
- package/packages/theme-violet/site/global/cpas-drawer-override.css +1 -0
- package/packages/theme-violet/site/global/cpas-footer.html +38 -0
- package/packages/theme-violet/site/global/cpas-header.html +30 -0
- package/packages/theme-violet/site/global/cpas-hero-watercolor.css +275 -0
- package/packages/theme-violet/site/global/cpas-modals.js +802 -0
- package/packages/theme-violet/site/global/cpas-public-surface.css +982 -0
- package/packages/theme-violet/site/global/cpas-shell.css +3980 -0
- package/packages/theme-violet/site/global/cpas-shell.js +107 -0
- package/packages/theme-violet/site/global/cpas-shelter-hub.css +326 -0
- package/packages/theme-violet/site/index.html +141 -0
- package/packages/theme-violet/site/pages/about/campaigns.html +28 -0
- package/packages/theme-violet/site/pages/about/cta.html +25 -0
- package/packages/theme-violet/site/pages/about/hero.html +46 -0
- package/packages/theme-violet/site/pages/about/paths.html +24 -0
- package/packages/theme-violet/site/pages/about/why_we_exist.html +28 -0
- package/packages/theme-violet/site/pages/home/campaigns.html +67 -0
- package/packages/theme-violet/site/pages/home/hero.html +42 -0
- package/packages/theme-violet/site/pages/home/how-it-helps.html +32 -0
- package/packages/theme-violet/site/pages/home/impact-stats.html +31 -0
- package/packages/theme-violet/site/pages/home/mission.html +36 -0
- package/packages/theme-violet/site/pages/home/newsletter.html +29 -0
- package/packages/theme-violet/site/pages/home/transport-win.html +22 -0
- package/packages/theme-violet/site/pages/index.html +141 -0
- package/packages/theme-violet/src/index.js +76 -0
- package/packages/theme-violet/src/node.js +69 -0
- package/packages/theme-violet/test/theme.test.mjs +47 -0
- package/packages/work-graph/package.json +1 -1
- package/protocol/features/README.md +1 -1
- package/protocol/features/catalog.json +12 -12
- package/protocol/features/examples/provider-resend.feature.json +2 -2
- package/protocol/presets/catalog.json +1 -1
- package/protocol/theme-refinery/prebuild-registry.json +45 -0
- package/protocol/theme-refinery/product-metadata.schema.json +63 -26
- package/protocol/theme-refinery/receipts/prebuild-remaster-20261004.json +21 -0
- package/src/plugins/completeful.js +2 -2
- package/packages/theme-church-site/README.md +0 -10
- package/packages/theme-church-site/src/harvest.json +0 -16
- package/packages/theme-church-site/test/theme.test.mjs +0 -21
- package/packages/theme-companions-site/README.md +0 -10
- package/packages/theme-companions-site/src/harvest.json +0 -14
- package/packages/theme-companions-site/src/index.js +0 -87
- package/packages/theme-companions-site/test/theme.test.mjs +0 -21
- package/packages/theme-floors-site/README.md +0 -10
- package/packages/theme-floors-site/src/harvest.json +0 -16
- package/packages/theme-floors-site/test/theme.test.mjs +0 -21
- package/packages/theme-fuelnfree-site/README.md +0 -10
- package/packages/theme-fuelnfree-site/src/harvest.json +0 -15
- package/packages/theme-fuelnfree-site/test/theme.test.mjs +0 -21
- package/packages/theme-handyman-site/README.md +0 -10
- package/packages/theme-handyman-site/package.json +0 -41
- package/packages/theme-handyman-site/src/harvest.json +0 -12
- package/packages/theme-handyman-site/src/index.js +0 -88
- package/packages/theme-handyman-site/test/theme.test.mjs +0 -21
- package/packages/theme-insurance-site/README.md +0 -10
- package/packages/theme-insurance-site/src/harvest.json +0 -12
- package/packages/theme-insurance-site/src/index.js +0 -88
- package/packages/theme-insurance-site/test/theme.test.mjs +0 -21
- package/packages/theme-shinshu-site/README.md +0 -10
- package/packages/theme-shinshu-site/src/harvest.json +0 -14
- package/packages/theme-shinshu-site/test/theme.test.mjs +0 -21
- package/protocol/theme-refinery/lineage-registry.json +0 -105
- package/protocol/theme-refinery/receipts/products-registry-batch-20260924.json +0 -318
- package/protocol/theme-refinery/receipts/theme-harvest-20260924.json +0 -472
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,o)=>(o=n==null?{}:e(i(n)),s(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var l=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,re());else{var t=n(l);t!==null&&oe(x,t.startTime-e)}}}var S=!1,ee=-1,te=5,C=-1;function ne(){return g?!0:!(e.unstable_now()-C<te)}function w(){if(g=!1,S){var t=e.unstable_now();C=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(ee),ee=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ne());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&oe(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?re():S=!1}}}var re;if(typeof y==`function`)re=function(){y(w)};else if(typeof MessageChannel<`u`){var ie=new MessageChannel,ae=ie.port2;ie.port1.onmessage=w,re=function(){ae.postMessage(null)}}else re=function(){_(w,0)};function oe(t,n){ee=_(function(){t(e.unstable_now())},n)}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(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):te=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(ee),ee=-1):h=!0,oe(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,re()))),r},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),u=o(((e,t)=>{t.exports=l()})),d=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=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,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var ee=Array.isArray;function te(){}var C={H:null,A:null,T:null,S:null},ne=Object.prototype.hasOwnProperty;function w(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function re(e,t){return w(e.type,t,e.props)}function ie(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ae(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var oe=/\/+/g;function se(e,t){return typeof e==`object`&&e&&e.key!=null?ae(``+e.key):t.toString(36)}function ce(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(te,te):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function le(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,le(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+se(e,0):a,ee(o)?(i=``,c!=null&&(i=c.replace(oe,`$&/`)+`/`),le(o,r,i,``,function(e){return e})):o!=null&&(ie(o)&&(o=re(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(oe,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(ee(e))for(var u=0;u<e.length;u++)a=e[u],s=l+se(a,u),c+=le(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+se(a,u++),c+=le(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return le(ce(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function ue(e,t,n){if(e==null)return e;var r=[],i=0;return le(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function de(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var fe=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function pe(e){var t=C.T,n={};n.types=t===null?null:t.types,C.T=n;try{var r=e(),i=C.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(te,fe)}catch(e){fe(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),C.T=t}}function me(e){var t=C.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else pe(me.bind(null,e))}var he={map:ue,forEach:function(e,t,n){ue(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ue(e,function(){t++}),t},toArray:function(e){return ue(e,function(e){return e})||[]},only:function(e){if(!ie(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=he,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return C.H.useMemoCache(e)}},e.addTransitionType=me,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!ne.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return w(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)ne.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return w(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=ie,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:de}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=pe,e.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},e.use=function(e){return C.H.use(e)},e.useActionState=function(e,t,n){return C.H.useActionState(e,t,n)},e.useCallback=function(e,t){return C.H.useCallback(e,t)},e.useContext=function(e){return C.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return C.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return C.H.useEffect(e,t)},e.useEffectEvent=function(e){return C.H.useEffectEvent(e)},e.useId=function(){return C.H.useId()},e.useImperativeHandle=function(e,t,n){return C.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return C.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return C.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return C.H.useMemo(e,t)},e.useOptimistic=function(e,t){return C.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return C.H.useReducer(e,t,n)},e.useRef=function(e){return C.H.useRef(e)},e.useState=function(e){return C.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return C.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return C.H.useTransition()},e.version=`19.3.0`})),f=o(((e,t)=>{t.exports=d()})),p=o((e=>{var t=f();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`),o=Symbol.for(`react.recoverable`),s=Symbol.for(`react.optimistic_key`);function c(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:r===s?s:``+r,children:e,containerInfo:t,implementation:n}}var l=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.browser=function(e){return{$$typeof:o,_reason:e}},e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return c(e,t,null,r)},e.flushSync=function(e){var t=l.T,n=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},e.useFormStatus=function(){return l.H.useHostTransitionStatus()},e.version=`19.3.0`})),m=o(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=p()})),h=o((e=>{var t=u(),n=f(),r=m();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){for(var t=e,n=t;n&&!n.alternate;)t=n,t.flags&4098&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function d(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function p(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=p(e),t!==null)return t;e=e.sibling}return null}function h(e,t,n,r,i,a){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,r,i,a)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&h(e.child,t,n,r,i,a))return!0;e=e.sibling}return!1}function g(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function _(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),e.tag!==3&&e.tag!==5&&e.tag!==27);)e=e.return;return t}function v(e){var t=[null,null],n=g(e);return n===null||y(t,e,n.child,{foundSelf:!1}),t}function y(e,t,n,r){for(;n!==null;){if(n===t)r.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&y(e,t,n.child,r))return!0;n=n.sibling}return!1}function b(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(i(559))}}var x=null,S=null;function ee(e,t,n){return e===n||e===t&&(x=e,!0)}function te(e,t,n){return e===n?(S=e,!1):e===t&&(S!==null&&(x=e),!0)}function C(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function ne(e,t,n){for(var r=0,i=e;i;i=n(i))r++;i=0;for(var a=t;a;a=n(a))i++;for(;0<r-i;)e=n(e),r--;for(;0<i-r;)t=n(t),i--;for(;r--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var w=Object.assign,re=Symbol.for(`react.element`),ie=Symbol.for(`react.transitional.element`),ae=Symbol.for(`react.portal`),oe=Symbol.for(`react.fragment`),se=Symbol.for(`react.strict_mode`),ce=Symbol.for(`react.profiler`),le=Symbol.for(`react.consumer`),ue=Symbol.for(`react.context`),de=Symbol.for(`react.forward_ref`),fe=Symbol.for(`react.suspense`),pe=Symbol.for(`react.suspense_list`),me=Symbol.for(`react.memo`),he=Symbol.for(`react.lazy`),ge=Symbol.for(`react.activity`),_e=Symbol.for(`react.legacy_hidden`),ve=Symbol.for(`react.memo_cache_sentinel`),ye=Symbol.for(`react.view_transition`),be=Symbol.for(`react.recoverable`),xe=Symbol.iterator;function Se(e){return typeof e!=`object`||!e?null:(e=xe&&e[xe]||e[`@@iterator`],typeof e==`function`?e:null)}var Ce=Symbol.for(`react.client.reference`);function we(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===Ce?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case oe:return`Fragment`;case ce:return`Profiler`;case se:return`StrictMode`;case fe:return`Suspense`;case pe:return`SuspenseList`;case ge:return`Activity`;case ye:return`ViewTransition`}if(typeof e==`object`)switch(e.$$typeof){case ae:return`Portal`;case ue:return e.displayName||`Context`;case le:return(e._context.displayName||`Context`)+`.Consumer`;case de:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case me:return t=e.displayName||null,t===null?we(e.type)||`Memo`:t;case he:t=e._payload,e=e._init;try{return we(e(t))}catch{}}return null}var Te=Array.isArray,T=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ee={pending:!1,data:null,method:null,action:null},De=[],Oe=-1;function ke(e){return{current:e}}function Ae(e){0>Oe||(e.current=De[Oe],De[Oe]=null,Oe--)}function D(e,t){Oe++,De[Oe]=e.current,e.current=t}var je=ke(null),Me=ke(null),O=ke(null),Ne=ke(null);function Pe(e,t){switch(D(O,t),D(Me,e),D(je,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?up(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=up(t),e=dp(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}Ae(je),D(je,e)}function Fe(){Ae(je),Ae(Me),Ae(O)}function Ie(e){var t=e.memoizedState;t!==null&&(sh._currentValue=t.memoizedState,D(Ne,e)),t=je.current;var n=dp(t,e.type);t!==n&&(D(Me,e),D(je,n))}function Le(e){Me.current===e&&(Ae(je),Ae(Me)),Ne.current===e&&(Ae(Ne),sh._currentValue=Ee)}var Re,ze;function Be(e){if(Re===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Re=t&&t[1]||``,ze=-1<e.stack.indexOf(`
|
|
2
|
+
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
3
|
+
`+Re+e+ze}var Ve=!1;function He(e,t){if(!e||Ve)return``;Ve=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}n=!1;try{var i=Object.getOwnPropertyDescriptor(e.prototype,`props`);Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(i===void 0?delete e.prototype.props:Object.defineProperty(e.prototype,"props",i))}}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
|
|
4
|
+
`),l=s.split(`
|
|
5
|
+
`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
|
|
6
|
+
`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Ve=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Be(n):``}function Ue(e,t){switch(e.tag){case 26:case 27:case 5:return Be(e.type);case 16:return Be(`Lazy`);case 13:return e.child!==t&&t!==null?Be(`Suspense Fallback`):Be(`Suspense`);case 19:return Be(`SuspenseList`);case 0:case 15:return He(e.type,!1);case 11:return He(e.type.render,!1);case 1:return He(e.type,!0);case 31:return Be(`Activity`);case 30:return Be(`ViewTransition`);default:return``}}function We(e){try{var t=``,n=null;do t+=Ue(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
|
|
7
|
+
Error generating stack: `+e.message+`
|
|
8
|
+
`+e.stack}}var Ge=Object.prototype.hasOwnProperty,Ke=t.unstable_scheduleCallback,qe=t.unstable_cancelCallback,Je=t.unstable_shouldYield,Ye=t.unstable_requestPaint,Xe=t.unstable_now,Ze=t.unstable_getCurrentPriorityLevel,Qe=t.unstable_ImmediatePriority,$e=t.unstable_UserBlockingPriority,et=t.unstable_NormalPriority,tt=t.unstable_LowPriority,nt=t.unstable_IdlePriority,rt=t.log,it=t.unstable_setDisableYieldValue,k=null,at=null;function ot(e){if(typeof rt==`function`&&it(e),at&&typeof at.setStrictMode==`function`)try{at.setStrictMode(k,e)}catch{}}var st=Math.clz32?Math.clz32:ut,ct=Math.log,lt=Math.LN2;function ut(e){return e>>>=0,e===0?32:31-(ct(e)/lt|0)|0}var dt=256,ft=262144,pt=4194304;function mt(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ht(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=mt(n))):i=mt(o):i=mt(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=mt(n))):i=mt(o)):i=mt(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function gt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function _t(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var r=31-st(n),i=1<<r;t|=e[r],n&=~i}return t}function vt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 yt(){var e=pt;return pt<<=1,!(pt&62914560)&&(pt=4194304),e}function bt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function xt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function St(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-st(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&Ct(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Ct(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-st(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function wt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-st(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Tt(e,t){var n=t&-t;return n=n&42?1:Et(n),(n&(e.suspendedLanes|t))===0?n:0}function Et(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Dt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function Ot(){var e=E.p;return e===0?(e=window.event,e===void 0?32:Ch(e.type)):e}function kt(e,t){var n=E.p;try{return E.p=e,t()}finally{E.p=n}}var At=Math.random().toString(36).slice(2),jt=`__reactFiber$`+At,A=`__reactProps$`+At,Mt=`__reactContainer$`+At,Nt=`__reactEvents$`+At,Pt=`__reactListeners$`+At,Ft=`__reactHandles$`+At,It=`__reactResources$`+At,Lt=`__reactMarker$`+At,Rt=`__reactLoad$`+At;function zt(e){delete e[jt],delete e[A],delete e[Pt],delete e[Ft]}function Bt(e){var t;if(t=e[jt])return t;for(var n=e.parentNode;n;){if(t=n[Mt]||n[jt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=fm(e);e!==null;){if(n=e[jt])return n;e=fm(e)}return t}e=n,n=e.parentNode}return null}function Vt(e){if(e=e[jt]||e[Mt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ht(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Ut(e){var t=e[It];return t||=e[It]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Wt(e){e[Lt]=!0}function Gt(e){e[Rt]=void 0}var Kt=new Set,qt={};function Jt(e,t){Yt(e,t),Yt(e+`Capture`,t)}function Yt(e,t){for(qt[e]=t,e=0;e<t.length;e++)Kt.add(t[e])}var Xt=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]*$`),Zt={},j={};function Qt(e){return Ge.call(j,e)?!0:Ge.call(Zt,e)?!1:Xt.test(e)?j[e]=!0:(Zt[e]=!0,!1)}var M=!1;function $t(){var e=M;return M=!1,e}function en(e,t,n){if(Qt(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,n)}}}function tn(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,n)}}function nn(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,r)}}function rn(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function an(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function on(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function sn(e){if(!e._valueTracker){var t=an(e)?`checked`:`value`;e._valueTracker=on(e,t,``+e[t])}}function cn(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=an(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}var ln=/[\n"\\]/g;function un(e){return e.replace(ln,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function dn(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+rn(t)):e.value!==``+rn(t)&&(e.value=``+rn(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):pn(e,rn(n)):o===`number`&&e.value==t?pn(e,rn(e.value)):pn(e,rn(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+rn(s):e.removeAttribute(`name`)}function fn(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){sn(e);return}n=n==null?``:``+rn(n),t=t==null?n:``+rn(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),sn(e)}function pn(e,t){e.defaultValue!==``+t&&(e.defaultValue=``+t)}function mn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+rn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function hn(e,t,n){if(t!=null&&(t=``+rn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+rn(n)}function gn(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(Te(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=rn(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),sn(e)}function _n(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var vn=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 yn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||vn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function bn(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``,M=!0);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&(yn(e,a,r),M=!0)}else for(var o in t)t.hasOwnProperty(o)&&yn(e,o,t[o])}function xn(e){if(e.indexOf(`-`)===-1)return!1;switch(e){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 Sn=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`],[`maskType`,`mask-type`],[`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`]]),Cn=/^[\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 wn(e){return Cn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function Tn(){}var En=null;function Dn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var On=null,kn=null;function An(e){var t=Vt(e);if(t&&(e=t.stateNode)){var n=e[A]||null;a:switch(e=t.stateNode,t.type){case`input`:if(dn(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+un(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[A]||null;if(!a)throw Error(i(90));dn(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&cn(r)}break a;case`textarea`:hn(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&mn(e,!!n.multiple,t,!1)}}}var jn=!1;function Mn(e,t,n){if(jn)return e(t,n);jn=!0;try{return e(t)}finally{if(jn=!1,(On!==null||kn!==null)&&(zd(),On&&(t=On,e=kn,kn=On=null,An(t),e)))for(t=0;t<e.length;t++)An(e[t])}}function Nn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[A]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var Pn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Fn=!1;if(Pn)try{var In={};Object.defineProperty(In,"passive",{get:function(){Fn=!0}}),window.addEventListener(`test`,In,In),window.removeEventListener(`test`,In,In)}catch{Fn=!1}var Ln=null,Rn=null,zn=null;function Bn(){if(zn)return zn;var e,t=Rn,n=t.length,r,i=`value`in Ln?Ln.value:Ln.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return zn=i.slice(e,1<r?1-r:void 0)}function Vn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Hn(){return!0}function Un(){return!1}function Wn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Hn:Un,this.isPropagationStopped=Un,this}return w(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){},isPersistent:Hn}),t}var Gn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Kn=Wn(Gn),qn=w({},Gn,{view:0,detail:0}),Jn=Wn(qn),Yn,Xn,Zn,Qn=w({},qn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Zn&&(Zn&&e.type===`mousemove`?(Yn=e.screenX-Zn.screenX,Xn=e.screenY-Zn.screenY):Xn=Yn=0,Zn=e),Yn)},movementY:function(e){return`movementY`in e?e.movementY:Xn}}),$n=Wn(Qn),er=Wn(w({},Qn,{dataTransfer:0})),tr=Wn(w({},qn,{relatedTarget:0})),nr=Wn(w({},Gn,{animationName:0,elapsedTime:0,pseudoElement:0})),rr=Wn(w({},Gn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),ir=Wn(w({},Gn,{data:0})),ar={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},or={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`},sr={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function cr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=sr[e])?!!t[e]:!1}function lr(){return cr}var ur=Wn(w({},qn,{key:function(e){if(e.key){var t=ar[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Vn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?or[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lr,charCode:function(e){return e.type===`keypress`?Vn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Vn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),dr=Wn(w({},Qn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),fr=Wn(w({},Gn,{submitter:0})),pr=Wn(w({},qn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lr})),mr=Wn(w({},Gn,{propertyName:0,elapsedTime:0,pseudoElement:0})),hr=Wn(w({},Qn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),gr=Wn(w({},Gn,{newState:0,oldState:0,source:0})),_r=[9,13,27,32],vr=Pn&&`CompositionEvent`in window,yr=null;Pn&&`documentMode`in document&&(yr=document.documentMode);var br=Pn&&`TextEvent`in window&&!yr,xr=Pn&&(!vr||yr&&8<yr&&11>=yr),Sr=` `,Cr=!1;function wr(e,t){switch(e){case`keyup`:return _r.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Tr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Er=!1;function Dr(e,t){switch(e){case`compositionend`:return Tr(t);case`keypress`:return t.which===32?(Cr=!0,Sr):null;case`textInput`:return e=t.data,e===Sr&&Cr?null:e;default:return null}}function Or(e,t){if(Er)return e===`compositionend`||!vr&&wr(e,t)?(e=Bn(),zn=Rn=Ln=null,Er=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return xr&&t.locale!==`ko`?null:t.data;default:return null}}var kr={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 Ar(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!kr[e.type]:t===`textarea`}function jr(e,t,n,r){On?kn?kn.push(r):kn=[r]:On=r,t=Jf(t,`onChange`),0<t.length&&(n=new Kn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var Mr=null,Nr=null;function Pr(e){Vf(e,0)}function Fr(e){if(cn(Ht(e)))return e}function Ir(e,t){if(e===`change`)return t}var Lr=!1;if(Pn){var Rr;if(Pn){var zr=`oninput`in document;if(!zr){var Br=document.createElement(`div`);Br.setAttribute(`oninput`,`return;`),zr=typeof Br.oninput==`function`}Rr=zr}else Rr=!1;Lr=Rr&&(!document.documentMode||9<document.documentMode)}function Vr(){Mr&&(Mr.detachEvent(`onpropertychange`,Hr),Nr=Mr=null)}function Hr(e){if(e.propertyName===`value`&&Fr(Nr)){var t=[];jr(t,Nr,e,Dn(e)),Mn(Pr,t)}}function Ur(e,t,n){e===`focusin`?(Vr(),Mr=t,Nr=n,Mr.attachEvent(`onpropertychange`,Hr)):e===`focusout`&&Vr()}function Wr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Fr(Nr)}function Gr(e,t){if(e===`click`)return Fr(t)}function Kr(e,t){if(e===`input`||e===`change`)return Fr(t)}function qr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Jr=typeof Object.is==`function`?Object.is:qr;function Yr(e,t){if(Jr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Ge.call(t,i)||!Jr(e[i],t[i]))return!1}return!0}function Xr(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function Zr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Qr(e,t){var n=Zr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Zr(n)}}function $r(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$r(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ei(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Xr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xr(e.document)}return t}function ti(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var ni=Pn&&`documentMode`in document&&11>=document.documentMode,ri=null,ii=null,ai=null,oi=!1;function si(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;oi||ri==null||ri!==Xr(r)||(r=ri,`selectionStart`in r&&ti(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ai&&Yr(ai,r)||(ai=r,r=Jf(ii,`onSelect`),0<r.length&&(t=new Kn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=ri)))}function ci(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var li={animationend:ci(`Animation`,`AnimationEnd`),animationiteration:ci(`Animation`,`AnimationIteration`),animationstart:ci(`Animation`,`AnimationStart`),transitionrun:ci(`Transition`,`TransitionRun`),transitionstart:ci(`Transition`,`TransitionStart`),transitioncancel:ci(`Transition`,`TransitionCancel`),transitionend:ci(`Transition`,`TransitionEnd`)},ui={},di={};Pn&&(di=document.createElement(`div`).style,`AnimationEvent`in window||(delete li.animationend.animation,delete li.animationiteration.animation,delete li.animationstart.animation),`TransitionEvent`in window||delete li.transitionend.transition);function fi(e){if(ui[e])return ui[e];if(!li[e])return e;var t=li[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in di)return ui[e]=t[n];return e}var pi=fi(`animationend`),mi=fi(`animationiteration`),hi=fi(`animationstart`),gi=fi(`transitionrun`),_i=fi(`transitionstart`),vi=fi(`transitioncancel`),yi=fi(`transitionend`),bi=new Map,xi=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(` `);xi.push(`scrollEnd`);function Si(e,t){bi.set(e,t),Jt(t,[e])}var Ci=0;function wi(e,t){if(e.name!=null&&e.name!==`auto`)return e.name;if(t.autoName!==null)return t.autoName;e=bd.identifierPrefix;var n=Ci++;return e=`_`+e+`t_`+n.toString(32)+`_`,t.autoName=e}function Ti(e){if(e==null||typeof e==`string`)return e;var t=null,n=Od;if(n!==null)for(var r=0;r<n.length;r++){var i=e[n[r]];if(i!=null){if(i===`none`)return`none`;t=t==null?i:t+(` `+i)}}return t??e.default}function Ei(e,t){return e=Ti(e),t=Ti(t),t==null?e===`auto`?null:e:t===`auto`?null:t}var Di=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},Oi=[],ki=0,Ai=0;function ji(){for(var e=ki,t=Ai=ki=0;t<e;){var n=Oi[t];Oi[t++]=null;var r=Oi[t];Oi[t++]=null;var i=Oi[t];Oi[t++]=null;var a=Oi[t];if(Oi[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&Fi(n,i,a)}}function Mi(e,t,n,r){Oi[ki++]=e,Oi[ki++]=t,Oi[ki++]=n,Oi[ki++]=r,Ai|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Ni(e,t,n,r){return Mi(e,t,n,r),Ii(e)}function Pi(e,t){return Mi(e,null,null,t),Ii(e)}function Fi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-st(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function Ii(e){if(50<kd)throw kd=0,Ad=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Li={};function Ri(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zi(e,t,n,r){return new Ri(e,t,n,r)}function Bi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Vi(e,t){var n=e.alternate;return n===null?(n=zi(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&1206910976,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Hi(e,t){e.flags&=1206910978;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ui(e,t,n,r,a,o){var s=0;if(r=e,typeof r==`function`)Bi(r)&&(s=1);else if(typeof r==`string`)s=qm(e,n,je.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(r){case ge:return e=zi(31,n,t,a),e.elementType=ge,e.lanes=o,e;case oe:return Wi(n.children,a,o,t);case se:s=8,a|=24;break;case ce:return e=zi(12,n,t,a|2),e.elementType=ce,e.lanes=o,e;case fe:return e=zi(13,n,t,a),e.elementType=fe,e.lanes=o,e;case pe:return e=zi(19,n,t,a),e.elementType=pe,e.lanes=o,e;case _e:case ye:return e=a|32,e=zi(30,n,t,e),e.elementType=ye,e.lanes=o,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof r==`object`&&r)switch(r.$$typeof){case ue:s=10;break a;case le:s=9;break a;case de:s=11;break a;case me:s=14;break a;case he:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=zi(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function Wi(e,t,n,r){return e=zi(7,e,r,t),e.lanes=n,e}function Gi(e,t,n){return e=zi(6,e,null,t),e.lanes=n,e}function Ki(e){var t=zi(18,null,null,0);return t.stateNode=e,t}function qi(e,t,n){return t=zi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Ji=new WeakMap;function Yi(e,t){if(typeof e==`object`&&e){var n=Ji.get(e);return n===void 0?(t={value:e,source:t,stack:We(t)},Ji.set(e,t),t):n}return{value:e,source:t,stack:We(t)}}var Xi=[],Zi=0,Qi=null,$i=0,ea=[],ta=0,na=null,ra=1,ia=``;function aa(e,t){Xi[Zi++]=$i,Xi[Zi++]=Qi,Qi=e,$i=t}function oa(e,t,n){ea[ta++]=ra,ea[ta++]=ia,ea[ta++]=na,na=e;var r=ra;e=ia;var i=32-st(r)-1;r&=~(1<<i),n+=1;var a=32-st(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ra=1<<32-st(t)+i|n<<i|r,ia=a+e}else ra=1<<a|n<<i|r,ia=e}function sa(e){e.return!==null&&(aa(e,1),oa(e,1,0))}function ca(e){for(;e===Qi;)Qi=Xi[--Zi],Xi[Zi]=null,$i=Xi[--Zi],Xi[Zi]=null;for(;e===na;)na=ea[--ta],ea[ta]=null,ia=ea[--ta],ea[ta]=null,ra=ea[--ta],ea[ta]=null}function la(e,t){ea[ta++]=ra,ea[ta++]=ia,ea[ta++]=na,ra=t.id,ia=t.overflow,na=e}var ua=null,N=null,P=!1,da=null,fa=!1,pa=Error(i(519));function ma(e){throw ba(Yi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),pa}function ha(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[jt]=e,t[A]=r,n){case`dialog`:Q(`cancel`,t),Q(`close`,t);break;case`iframe`:case`object`:case`embed`:Q(`load`,t);break;case`video`:case`audio`:for(n=0;n<zf.length;n++)Q(zf[n],t);break;case`source`:Q(`error`,t);break;case`img`:case`image`:case`link`:Q(`error`,t),Q(`load`,t);break;case`details`:Q(`toggle`,t);break;case`input`:Q(`invalid`,t),fn(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Q(`invalid`,t);break;case`textarea`:Q(`invalid`,t),gn(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||ep(t.textContent,n)?(r.popover!=null&&(Q(`beforetoggle`,t),Q(`toggle`,t)),r.onScroll!=null&&Q(`scroll`,t),r.onScrollEnd!=null&&Q(`scrollend`,t),r.onClick!=null&&(t.onclick=Tn),t=!0):t=!1,t||ma(e,!0)}function ga(e){for(ua=e.return;ua;)switch(ua.tag){case 5:case 31:case 13:fa=!1;return;case 27:case 3:fa=!0;return;default:ua=ua.return}}function _a(e){if(e!==ua)return!1;if(!P)return ga(e),P=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||pp(e.type,e.memoizedProps)),n=!n),n&&N&&ma(e),ga(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));N=dm(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));N=dm(e)}else t===27?(t=N,Sp(e.type)?(e=um,um=null,N=e):N=t):N=ua?lm(e.stateNode.nextSibling):null;return!0}function va(){N=ua=null,P=!1}function ya(){var e=da;return e!==null&&(fd===null?fd=e:fd.push.apply(fd,e),da=null),e}function ba(e){da===null?da=[e]:da.push(e)}var xa=ke(null),Sa=null,Ca=null;function wa(e,t,n){D(xa,t._currentValue),t._currentValue=n}function Ta(e){e._currentValue=xa.current,Ae(xa)}function Ea(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Da(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Ea(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Ea(s,n,e),s=null}else a.tag===13&&a.memoizedState!==null&&a.memoizedState.dehydrated===null?(a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Ea(a.return,n,e),s=a.child,s=s===null?null:s.sibling):s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Oa(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;Jr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===Ne.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[sh]:e.push(sh))}a=a.return}return e!==null&&Da(t,e,n,r),t.flags|=262144,e!==null}function ka(e){for(e=e.firstContext;e!==null;){if(!Jr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Aa(e){Sa=e,Ca=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ja(e){return Na(Sa,e)}function Ma(e,t){return Sa===null&&Aa(e),Na(e,t)}function Na(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Ca===null){if(e===null)throw Error(i(308));Ca=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ca=Ca.next=t;return n}var Pa=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Fa=t.unstable_scheduleCallback,Ia=t.unstable_NormalPriority,La={$$typeof:ue,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ra(){return{controller:new Pa,data:new Map,refCount:0}}function za(e){e.refCount--,e.refCount===0&&Fa(Ia,function(){e.controller.abort()})}function Ba(e,t){if(e.pendingLanes&4194048){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];n.indexOf(r)===-1&&n.push(r)}}}var Va=null;function Ha(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var Ua=null,Wa=0,Ga=0,Ka=null;function qa(e,t){if(Ua===null){var n=Ua=[];Wa=0,Ga=Pf(),Ka={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return Wa++,t.then(Ja,Ja),t}function Ja(){if(--Wa===0&&(Va=null,Ua!==null)){Ka!==null&&(Ka.status=`fulfilled`);var e=Ua;Ua=null,Ga=0,Ka=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ya(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var Xa=T.S;T.S=function(e,t){if(hd=Xe(),typeof t==`object`&&t&&typeof t.then==`function`&&qa(e,t),Va!==null)for(var n=bf;n!==null;)Ba(n,Va),n=n.next;if(n=e.types,n!==null){for(var r=bf;r!==null;)Ba(r,n),r=r.next;if(Ga!==0){r=Va,r===null&&(r=Va=[]);for(var i=0;i<n.length;i++){var a=n[i];r.indexOf(a)===-1&&r.push(a)}}}Xa!==null&&Xa(e,t)};var Za=ke(null);function Qa(){var e=Za.current;return e===null?q.pooledCache:e}function $a(e,t){t===null?D(Za,Za.current):D(Za,t.pool)}function eo(){var e=Qa();return e===null?null:{parent:La._currentValue,pool:e}}var to=Error(i(460)),no=Error(i(474)),ro=Error(i(542)),io={then:function(){}};function ao(e){return e=e.status,e===`fulfilled`||e===`rejected`}function oo(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Tn,Tn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,uo(e),e===void 0&&!(`reason`in t)?Error(i(600)):e;default:if(typeof t.status==`string`)t.then(Tn,Tn);else{if(e=q,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,uo(e),e}throw co=t,to}}function so(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(co=e,to):e}}var co=null;function lo(){if(co===null)throw Error(i(459));var e=co;return co=null,e}function uo(e){if(e===to||e===ro)throw Error(i(483))}var fo=null,po=0;function mo(e){var t=po;return po+=1,fo===null&&(fo=[]),oo(fo,e,t)}function ho(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function go(e,t){throw t.$$typeof===re?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function _o(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=Vi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=134217730,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=134217730),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=Gi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===oe?(e=d(e,t,n.props.children,r,n.key),ho(e,n),e):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===he&&so(i)===t.type)?(t=a(t,n.props),ho(t,n),t.return=e,t):(t=Ui(n.type,n.key,n.props,null,e.mode,r),ho(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=qi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=Wi(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=Gi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case ie:return n=Ui(t.type,t.key,t.props,null,e.mode,n),ho(n,t),n.return=e,n;case ae:return t=qi(t,e.mode,n),t.return=e,t;case he:return t=so(t),f(e,t,n)}if(Te(t)||Se(t))return t=Wi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,mo(t),n);if(t.$$typeof===ue)return f(e,Ma(e,t),n);go(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case ie:return n.key===i?l(e,t,n,r):null;case ae:return n.key===i?u(e,t,n,r):null;case he:return n=so(n),p(e,t,n,r)}if(Te(n)||Se(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,mo(n),r);if(n.$$typeof===ue)return p(e,t,Ma(e,n),r);go(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case ie:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case ae:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case he:return r=so(r),m(e,t,n,r,i)}if(Te(r)||Se(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,mo(r),i);if(r.$$typeof===ue)return m(e,t,n,Ma(t,r),i);go(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),P&&aa(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return P&&aa(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&(_=g.alternate,_!==null&&d.delete(_.key===null?h:_.key)),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),P&&aa(i,h),l}function g(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),P&&aa(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return P&&aa(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),P&&aa(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===oe&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case ie:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===oe){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),ho(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===he&&so(l)===r.type){n(e,r.sibling),c=a(r,o.props),ho(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===oe?(c=Wi(o.props.children,e.mode,c,o.key),ho(c,o),c.return=e,e=c):(c=Ui(o.type,o.key,o.props,null,e.mode,c),ho(c,o),c.return=e,e=c)}return s(e);case ae:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=qi(o,e.mode,c),c.return=e,e=c}return s(e);case he:return o=so(o),_(e,r,o,c)}if(Te(o))return h(e,r,o,c);if(Se(o)){if(l=Se(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,mo(o),c);if(o.$$typeof===ue)return _(e,r,Ma(e,o),c);go(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Gi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{po=0;var i=_(e,t,n,r);return fo=null,i}catch(t){if(t===to||t===ro)throw t;var a=zi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var vo=_o(!0),yo=_o(!1),bo=!1;function xo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function So(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Co(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function wo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Ii(e),Fi(e,null,n),t}return Mi(e,r,t,n),Ii(e)}function To(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wt(e,n)}}function Eo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Do=!1;function Oo(){if(Do){var e=Ka;if(e!==null)throw e}}function ko(e,t,n,r){Do=!1;var i=e.updateQueue;bo=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Y&f)===f:(r&f)===f){f!==0&&f===Ga&&(Do=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=w({},d,f);break a;case 2:bo=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),od|=o,e.lanes=o,e.memoizedState=d}}function Ao(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function jo(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ao(n[e],t)}var Mo=ke(null),No=ke(0);function Po(e,t){e=id,D(No,e),D(Mo,t),id=e|t.baseLanes}function Fo(){D(No,id),D(Mo,Mo.current)}function Io(){id=No.current,Ae(Mo),Ae(No)}var Lo=ke(null),Ro=null;function zo(e){var t=e.alternate;D(Wo,Wo.current&1),D(Lo,e),Ro===null&&(t===null||Mo.current!==null||t.memoizedState!==null)&&(Ro=e)}function Bo(e){D(Wo,Wo.current),D(Lo,e),Ro===null&&(Ro=e)}function Vo(e){e.tag===22?(D(Wo,Wo.current),D(Lo,e),Ro===null&&(Ro=e)):Ho()}function Ho(){D(Wo,Wo.current),D(Lo,Lo.current)}function Uo(e){Ae(Lo),Ro===e&&(Ro=null),Ae(Wo)}var Wo=ke(0);function Go(e,t){D(Lo,Lo.current),D(Wo,t)}function Ko(e){Ae(Wo),Ae(Lo),Ro===e&&(Ro=null)}function qo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||om(n)||sm(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==`independent`){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Jo=0,F=null,I=null,Yo=null,Xo=!1,Zo=!1,Qo=!1,$o=0,es=0,ts=null,ns=0;function L(){throw Error(i(321))}function rs(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Jr(e[n],t[n]))return!1;return!0}function is(e,t,n,r,i,a){return Jo=a,F=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,T.H=e===null||e.memoizedState===null?xc:Sc,Qo=!1,a=n(r,i),Qo=!1,Zo&&(a=os(t,n,r,i)),as(e),a}function as(e){T.H=bc;var t=I!==null&&I.next!==null;if(Jo=0,Yo=I=F=null,Xo=!1,es=0,ts=null,t)throw Error(i(300));e===null||Rc||(e=e.dependencies,e!==null&&ka(e)&&(Rc=!0))}function os(e,t,n,r){F=e;var a=0;do{if(Zo&&(ts=null),es=0,Zo=!1,25<=a)throw Error(i(301));if(a+=1,Yo=I=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}T.H=Cc,o=t(n,r)}while(Zo);return o}function ss(){var e=T.H,t=e.useState()[0];return t=typeof t.then==`function`?ms(t):t,e=e.useState()[0],(I===null?null:I.memoizedState)!==e&&(F.flags|=1024),t}function cs(){var e=$o!==0;return $o=0,e}function ls(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function us(e){if(Xo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Xo=!1}Jo=0,Yo=I=F=null,Zo=!1,es=$o=0,ts=null}function ds(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Yo===null?F.memoizedState=Yo=e:Yo=Yo.next=e,Yo}function fs(){if(I===null){var e=F.alternate;e=e===null?null:e.memoizedState}else e=I.next;var t=Yo===null?F.memoizedState:Yo.next;if(t!==null)Yo=t,I=e;else{if(e===null)throw F.alternate===null?Error(i(467)):Error(i(310));I=e,e={memoizedState:I.memoizedState,baseState:I.baseState,baseQueue:I.baseQueue,queue:I.queue,next:null},Yo===null?F.memoizedState=Yo=e:Yo=Yo.next=e}return Yo}function ps(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ms(e){var t=es;return es+=1,ts===null&&(ts=[]),e=oo(ts,e,t),t=F,(Yo===null?t.memoizedState:Yo.next)===null&&(t=t.alternate,T.H=t===null||t.memoizedState===null?xc:Sc),e}function hs(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return ms(e);if(e.$$typeof===be)return;if(e.$$typeof===ue)return ja(e)}throw Error(i(438,String(e)))}function gs(e){var t=null,n=F.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=F.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=ps(),F.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=ve;return t.index++,n}function _s(e,t){return typeof t==`function`?t(e):t}function vs(e){return ys(fs(),I,e)}function ys(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(Jo&f)===f:(Y&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Ga&&(d=!0);else if((Jo&p)===p){u=u.next,p===Ga&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,F.lanes|=p,od|=p;f=u.action,Qo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,F.lanes|=f,od|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Jr(o,e.memoizedState)&&(Rc=!0,d&&(n=Ka,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function bs(e){var t=fs(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Jr(o,t.memoizedState)||(Rc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function xs(e,t,n){var r=F,a=fs(),o=P;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Jr((I||a).memoizedState,n);if(s&&(a.memoizedState=n,Rc=!0),a=a.queue,Ks(ws.bind(null,r,a,e),[e]),e=a.getSnapshot!==t||s||Yo!==null&&!!(Yo.memoizedState.tag&1),Vs(e?9:8,{destroy:void 0},Cs.bind(null,r,a,n,t),null),e){if(r.flags|=2048,q===null)throw Error(i(349));o||Jo&127||Ss(r,t,n)}return n}function Ss(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=F.updateQueue,t===null?(t=ps(),F.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Cs(e,t,n,r){t.value=n,t.getSnapshot=r,Ts(t)&&Es(e)}function ws(e,t,n){return n(function(){Ts(t)&&Es(e)})}function Ts(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Jr(e,n)}catch{return!0}}function Es(e){var t=Pi(e,2);t!==null&&Pd(t,e,2)}function Ds(e){var t=ds();if(typeof e==`function`){var n=e;if(e=n(),Qo){ot(!0);try{n()}finally{ot(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_s,lastRenderedState:e},t}function Os(e,t,n,r){return e.baseState=n,ys(e,I,typeof r==`function`?r:_s)}function ks(e,t,n,r,a){if(_c(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};T.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,As(t,o)):(o.next=n.next,t.pending=n.next=o)}}function As(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=T.T,o={};o.types=a===null?null:a.types,T.T=o;try{var s=n(i,r),c=T.S;c!==null&&c(o,s),js(e,t,s)}catch(n){Ns(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),T.T=a}}else try{a=n(i,r),js(e,t,a)}catch(n){Ns(e,t,n)}}function js(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Ms(e,t,n)},function(n){return Ns(e,t,n)}):Ms(e,t,n)}function Ms(e,t,n){t.status=`fulfilled`,t.value=n,Ps(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,As(e,n)))}function Ns(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Ps(t),t=t.next;while(t!==r)}e.action=null}function Ps(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Fs(e,t){return t}function Is(e,t){if(P){var n=q.formState;if(n!==null){a:{var r=F;if(P){if(N){b:{for(var i=N,a=fa;i.nodeType!==8;){if(!a){i=null;break b}if(i=lm(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){N=lm(i.nextSibling),r=i.data===`F!`;break a}}ma(r)}r=!1}r&&(t=n[0])}}return n=ds(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fs,lastRenderedState:t},n.queue=r,n=mc.bind(null,F,r),r.dispatch=n,r=Ds(!1),a=gc.bind(null,F,!1,r.queue),r=ds(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=ks.bind(null,F,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Ls(e){return Rs(fs(),I,e)}function Rs(e,t,n){if(t=ys(e,t,Fs)[0],e=vs(_s)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=ms(t)}catch(e){throw e===to?ro:e}else r=t;t=fs();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(F.flags|=2048,Vs(9,{destroy:void 0},zs.bind(null,i,n),null)),[r,a,e]}function zs(e,t){e.action=t}function Bs(e){var t=fs(),n=I;if(n!==null)return Rs(t,n,e);fs(),t=t.memoizedState,n=fs();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Vs(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=F.updateQueue,t===null&&(t=ps(),F.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Hs(){return fs().memoizedState}function Us(e,t,n,r){var i=ds();F.flags|=e,i.memoizedState=Vs(1|t,{destroy:void 0},n,r===void 0?null:r)}function Ws(e,t,n,r){var i=fs();r=r===void 0?null:r;var a=i.memoizedState.inst;I!==null&&r!==null&&rs(r,I.memoizedState.deps)?i.memoizedState=Vs(t,a,n,r):(F.flags|=e,i.memoizedState=Vs(1|t,a,n,r))}function Gs(e,t){Us(8390656,8,e,t)}function Ks(e,t){Ws(2048,8,e,t)}function qs(e){F.flags|=4;var t=F.updateQueue;if(t===null)t=ps(),F.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Js(e){var t=fs().memoizedState;return qs({ref:t,nextImpl:e}),function(){if(K&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function Ys(e,t){return Ws(4,2,e,t)}function Xs(e,t){return Ws(4,4,e,t)}function Zs(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Qs(e,t,n){n=n==null?null:n.concat([e]),Ws(4,4,Zs.bind(null,t,e),n)}function $s(){}function ec(e,t){var n=fs();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&rs(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function tc(e,t){var n=fs();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&rs(t,r[1]))return r[0];if(r=e(),Qo){ot(!0);try{e()}finally{ot(!1)}}return n.memoizedState=[r,t],r}function nc(e,t,n){return n===void 0||Jo&1073741824&&!(Y&261930)?e.memoizedState=t:(e.memoizedState=n,e=Md(),F.lanes|=e,od|=e,n)}function rc(e,t,n,r){return Jr(n,t)?n:Mo.current===null?!(Jo&106)||Jo&1073741824&&!(Y&261930)?(Rc=!0,e.memoizedState=n):(e=Md(),F.lanes|=e,od|=e,t):(e=nc(e,n,r),Jr(e,t)||(Rc=!0),e)}function ic(e,t,n,r,i){var a=E.p;E.p=a!==0&&8>a?a:8;var o=T.T,s={};s.types=o===null?null:o.types,T.T=s,gc(e,!1,t,n);try{var c=i(),l=T.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?hc(e,t,Ya(c,r),jd(e)):hc(e,t,r,jd(e))}catch(n){hc(e,t,{then:function(){},status:`rejected`,reason:n},jd())}finally{E.p=a,o!==null&&s.types!==null&&(o.types=s.types),T.T=o}}function ac(){}function oc(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=sc(e).queue;ic(e,a,t,Ee,n===null?ac:function(){return cc(e),n(r)})}function sc(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Ee,baseState:Ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_s,lastRenderedState:Ee},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_s,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function cc(e){var t=sc(e);t.next===null&&(t=e.alternate.memoizedState),hc(e,t.next.queue,{},jd())}function lc(){return ja(sh)}function uc(){return fs().memoizedState}function dc(){return fs().memoizedState}function fc(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=jd();e=Co(n);var r=wo(t,e,n);r!==null&&(Pd(r,t,n),To(r,t,n)),t={cache:Ra()},e.payload=t;return}t=t.return}}function pc(e,t,n){var r=jd();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},_c(e)?vc(t,n):(n=Ni(e,t,n,r),n!==null&&(Pd(n,e,r),yc(n,t,r)))}function mc(e,t,n){hc(e,t,n,jd())}function hc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(_c(e))vc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Jr(s,o))return Mi(e,t,i,0),q===null&&ji(),!1}catch{}if(n=Ni(e,t,i,r),n!==null)return Pd(n,e,r),yc(n,t,r),!0}return!1}function gc(e,t,n,r){if(r={lane:2,revertLane:Pf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},_c(e)){if(t)throw Error(i(479))}else t=Ni(e,n,r,2),t!==null&&Pd(t,e,2)}function _c(e){var t=e.alternate;return e===F||t!==null&&t===F}function vc(e,t){Zo=Xo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wt(e,n)}}var bc={readContext:ja,use:hs,useCallback:L,useContext:L,useEffect:L,useImperativeHandle:L,useLayoutEffect:L,useInsertionEffect:L,useMemo:L,useReducer:L,useRef:L,useState:L,useDebugValue:L,useDeferredValue:L,useTransition:L,useSyncExternalStore:L,useId:L,useHostTransitionStatus:L,useFormState:L,useActionState:L,useOptimistic:L,useMemoCache:L,useCacheRefresh:L,useEffectEvent:L},xc={readContext:ja,use:hs,useCallback:function(e,t){return ds().memoizedState=[e,t===void 0?null:t],e},useContext:ja,useEffect:Gs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),Us(4194308,4,Zs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Us(4194308,4,e,t)},useInsertionEffect:function(e,t){Us(4,2,e,t)},useMemo:function(e,t){var n=ds();t=t===void 0?null:t;var r=e();if(Qo){ot(!0);try{e()}finally{ot(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ds();if(n!==void 0){var i=n(t);if(Qo){ot(!0);try{n(t)}finally{ot(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=pc.bind(null,F,e),[r.memoizedState,e]},useRef:function(e){var t=ds();return e={current:e},t.memoizedState=e},useState:function(e){e=Ds(e);var t=e.queue,n=mc.bind(null,F,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:$s,useDeferredValue:function(e,t){return nc(ds(),e,t)},useTransition:function(){var e=Ds(!1);return e=ic.bind(null,F,e.queue,!0,!1),ds().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=F,a=ds();if(P){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),q===null)throw Error(i(349));Y&127||Ss(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Gs(ws.bind(null,r,o,e),[e]),r.flags|=2048,Vs(9,{destroy:void 0},Cs.bind(null,r,o,n,t),null),n},useId:function(){var e=ds(),t=q.identifierPrefix;if(P){var n=ia,r=ra;n=(r&~(1<<32-st(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=$o++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=ns++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:lc,useFormState:Is,useActionState:Is,useOptimistic:function(e){var t=ds();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=gc.bind(null,F,!0,n),n.dispatch=t,[e,t]},useMemoCache:gs,useCacheRefresh:function(){return ds().memoizedState=fc.bind(null,F)},useEffectEvent:function(e){var t=ds(),n={impl:e};return t.memoizedState=n,function(){if(K&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Sc={readContext:ja,use:hs,useCallback:ec,useContext:ja,useEffect:Ks,useImperativeHandle:Qs,useInsertionEffect:Ys,useLayoutEffect:Xs,useMemo:tc,useReducer:vs,useRef:Hs,useState:function(){return vs(_s)},useDebugValue:$s,useDeferredValue:function(e,t){return rc(fs(),I.memoizedState,e,t)},useTransition:function(){var e=vs(_s)[0],t=fs().memoizedState;return[typeof e==`boolean`?e:ms(e),t]},useSyncExternalStore:xs,useId:uc,useHostTransitionStatus:lc,useFormState:Ls,useActionState:Ls,useOptimistic:function(e,t){return Os(fs(),I,e,t)},useMemoCache:gs,useCacheRefresh:dc,useEffectEvent:Js},Cc={readContext:ja,use:hs,useCallback:ec,useContext:ja,useEffect:Ks,useImperativeHandle:Qs,useInsertionEffect:Ys,useLayoutEffect:Xs,useMemo:tc,useReducer:bs,useRef:Hs,useState:function(){return bs(_s)},useDebugValue:$s,useDeferredValue:function(e,t){var n=fs();return I===null?nc(n,e,t):rc(n,I.memoizedState,e,t)},useTransition:function(){var e=bs(_s)[0],t=fs().memoizedState;return[typeof e==`boolean`?e:ms(e),t]},useSyncExternalStore:xs,useId:uc,useHostTransitionStatus:lc,useFormState:Bs,useActionState:Bs,useOptimistic:function(e,t){var n=fs();return I===null?(n.baseState=e,[e,n.queue.dispatch]):Os(n,I,e,t)},useMemoCache:gs,useCacheRefresh:dc,useEffectEvent:Js};function wc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:w({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Tc={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=jd(),i=Co(r);i.payload=t,n!=null&&(i.callback=n),t=wo(e,i,r),t!==null&&(Pd(t,e,r),To(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=jd(),i=Co(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=wo(e,i,r),t!==null&&(Pd(t,e,r),To(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=jd(),r=Co(n);r.tag=2,t!=null&&(r.callback=t),t=wo(e,r,n),t!==null&&(Pd(t,e,n),To(t,e,n))}};function Ec(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Yr(n,r)||!Yr(i,a):!0}function Dc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Tc.enqueueReplaceState(t,t.state,null)}function Oc(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=w({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function kc(e){Di(e)}function Ac(e){console.error(e)}function jc(e){Di(e)}function R(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Mc(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Nc(e,t,n){return n=Co(n),n.tag=3,n.payload={element:null},n.callback=function(){R(e,t)},n}function Pc(e){return e=Co(e),e.tag=3,e}function Fc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Mc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Mc(t,n,r),typeof i!=`function`&&(vd===null?vd=new Set([this]):vd.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Ic(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Oa(t,n,a,!0),n=Lo.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Ro===null?Kd():n.alternate===null&&ad===0&&(ad=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===io?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),mf(e,r,a)),!1;case 22:return n.flags|=65536,r===io?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),mf(e,r,a)),!1}throw Error(i(435,n.tag))}return mf(e,r,a),Kd(),!1}if(P)return t=Lo.current,t===null?(r!==pa&&(t=Error(i(423),{cause:r}),ba(Yi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Yi(r,n),a=Nc(e.stateNode,r,a),Eo(e,a),ad!==4&&(ad=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==pa&&(e=Error(i(422),{cause:r}),ba(Yi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Yi(o,n),dd===null?dd=[o]:dd.push(o),ad!==4&&(ad=2),t===null)return!0;r=Yi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Nc(n.stateNode,r,e),Eo(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(vd===null||!vd.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Pc(a),Fc(a,e,n,r),Eo(n,a),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var Lc=Error(i(461)),Rc=!1;function zc(e,t,n,r){t.child=e===null?yo(t,null,n,r):vo(t,e.child,n,r)}function Bc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Aa(t),r=is(e,t,n,o,a,i),s=cs(),e!==null&&!Rc?(ls(e,t,i),ml(e,t,i)):(P&&s&&sa(t),t.flags|=1,zc(e,t,r,i),t.child)}function Vc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!Bi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,Hc(e,t,a,r,i)):(e=Ui(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!hl(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Yr:n,n(o,r)&&e.ref===t.ref)return ml(e,t,i)}return t.flags|=1,e=Vi(a,r),e.ref=t.ref,e.return=t,t.child=e}function Hc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Yr(a,r)&&e.ref===t.ref){if(Rc=!1,t.pendingProps=r=a,hl(e,i))e.flags&131072&&(Rc=!0);else return t.lanes=e.lanes,ml(e,t,i)}}return Xc(e,t,n,r,i)}function Uc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return Gc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&$a(t,a===null?null:a.cachePool),a===null?Fo():Po(t,a),Vo(t);else return r=t.lanes=536870912,Gc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&$a(t,null),Fo(),Ho()):($a(t,a.cachePool),Po(t,a),Ho(),t.memoizedState=null);return zc(e,t,i,n),t.child}function Wc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Gc(e,t,n,r,i){var a=Qa();return a=a===null?null:{parent:La._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&$a(t,null),Fo(),Vo(t),e!==null&&Oa(e,t,r,!0),t.childLanes=i,null}function Kc(e,t){return t=al({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function qc(e,t,n){return vo(t,e.child,null,n),e=Kc(t,t.pendingProps),e.flags|=2,Uo(t),t.memoizedState=null,e}function Jc(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if(P){if(r.mode===`hidden`)return e=Kc(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Wc(null,e);if(Bo(t),(e=N)?(e=am(e,fa),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:na===null?null:{id:ra,overflow:ia},retryLane:536870912,hydrationErrors:null},n=Ki(e),n.return=t,t.child=n,ua=t,N=null)):e=null,e===null)throw ma(t);return t.lanes=536870912,null}return Kc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(Bo(t),a){if(t.flags&256)t.flags&=-257,t=qc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558))}else if(Rc||Oa(e,t,n,!1),a=(n&e.childLanes)!==0,Rc||a){if(Mo.current===null){if(r=q,r!==null&&(s=Tt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,Pi(e,s),Pd(r,e,s),Lc;Kd()}t=qc(e,t,n)}else e=o.treeContext,N=lm(s.nextSibling),ua=t,P=!0,da=null,fa=!1,e!==null&&la(t,e),t=Kc(t,r),t.flags|=134221824;return t}return e=Vi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Yc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Xc(e,t,n,r,i){return Aa(t),n=is(e,t,n,r,void 0,i),r=cs(),e!==null&&!Rc?(ls(e,t,i),ml(e,t,i)):(P&&r&&sa(t),t.flags|=1,zc(e,t,n,i),t.child)}function Zc(e,t,n,r,i,a){return Aa(t),t.updateQueue=null,n=os(t,r,n,i),as(e),r=cs(),e!==null&&!Rc?(ls(e,t,a),ml(e,t,a)):(P&&r&&sa(t),t.flags|=1,zc(e,t,n,a),t.child)}function Qc(e,t,n,r,i){if(Aa(t),t.stateNode===null){var a=Li,o=n.contextType;typeof o==`object`&&o&&(a=ja(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Tc,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},xo(t),o=n.contextType,a.context=typeof o==`object`&&o?ja(o):Li,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(wc(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Tc.enqueueReplaceState(a,a.state,null),ko(t,r,a,i),Oo(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Oc(n,s);a.props=c;var l=a.context,u=n.contextType;o=Li,typeof u==`object`&&u&&(o=ja(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Dc(t,a,r,o),bo=!1;var f=t.memoizedState;a.state=f,ko(t,r,a,i),Oo(),l=t.memoizedState,s||f!==l||bo?(typeof d==`function`&&(wc(t,n,d,r),l=t.memoizedState),(c=bo||Ec(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,So(e,t),o=t.memoizedProps,u=Oc(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=Li,typeof l==`object`&&l&&(c=ja(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Dc(t,a,r,c),bo=!1,f=t.memoizedState,a.state=f,ko(t,r,a,i),Oo();var p=t.memoizedState;o!==d||f!==p||bo||e!==null&&e.dependencies!==null&&ka(e.dependencies)?(typeof s==`function`&&(wc(t,n,s,r),p=t.memoizedState),(u=bo||Ec(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ka(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Yc(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=vo(t,e.child,null,i),t.child=vo(t,null,n,i)):zc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=ml(e,t,i),e}function $c(e,t,n,r){return va(),t.flags|=256,zc(e,t,n,r),t.child}var el={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function tl(e){return{baseLanes:e,cachePool:eo()}}function nl(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=ld),e}function rl(e,t,n){var r=t.pendingProps,i=!1,a=!!(t.flags&128),o;if((o=a)||(o=e!==null&&e.memoizedState===null?!1:!!(Wo.current&2)),o&&(i=!0,t.flags&=-129),o=!!(t.flags&32),t.flags&=-33,e===null){if(P){if(i?zo(t):Ho(),(e=N)?(e=am(e,fa),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:na===null?null:{id:ra,overflow:ia},retryLane:536870912,hydrationErrors:null},n=Ki(e),n.return=t,t.child=n,ua=t,N=null)):e=null,e===null)throw ma(t);return t.lanes=sm(e)?32:536870912,null}return a=r.children,r=r.fallback,i?(Ho(),i=t.mode,a=al({mode:`hidden`,children:a},i),r=Wi(r,i,n,null),a.return=t,r.return=t,a.sibling=r,t.child=a,r=t.child,r.memoizedState=tl(n),r.childLanes=nl(e,o,n),t.memoizedState=el,Wc(null,r)):(zo(t),il(t,a))}var s=e.memoizedState;if(s!==null){var c=s.dehydrated;if(c!==null)return sl(e,t,a,o,r,c,s,n)}return i?(Ho(),i=r.fallback,a=t.mode,s=e.child,c=s.sibling,r=Vi(s,{mode:`hidden`,children:r.children}),r.subtreeFlags=s.subtreeFlags&1206910976,c===null?(i=Wi(i,a,n,null),i.flags|=2):i=Vi(c,i),i.return=t,r.return=t,r.sibling=i,t.child=r,Wc(null,r),r=t.child,i=e.child.memoizedState,i===null?i=tl(n):(a=i.cachePool,a===null?a=eo():(s=La._currentValue,a=a.parent===s?a:{parent:s,pool:s}),i={baseLanes:i.baseLanes|n,cachePool:a}),r.memoizedState=i,r.childLanes=nl(e,o,n),t.memoizedState=el,Wc(e.child,r)):(zo(t),n=e.child,e=n.sibling,n=Vi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function il(e,t){return t=al({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function al(e,t){return e=zi(22,e,null,t),e.lanes=0,e}function ol(e,t,n){return vo(t,e.child,null,n),e=il(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function sl(e,t,n,r,a,o,s,c){if(n)return t.flags&256?(zo(t),t.flags&=-257,ol(e,t,c)):t.memoizedState===null?(Ho(),o=a.fallback,s=t.mode,a=al({mode:`visible`,children:a.children},s),o=Wi(o,s,c,null),o.flags|=2,a.return=t,o.return=t,a.sibling=o,t.child=a,vo(t,e.child,null,c),a=t.child,a.memoizedState=tl(c),a.childLanes=nl(e,r,c),t.memoizedState=el,Wc(null,a)):(Ho(),t.child=e.child,t.flags|=128,null);if(zo(t),sm(o)){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,r!==``&&(a=Error(i(419)),a.stack=``,a.digest=r,ba({value:a,source:null,stack:null})),ol(e,t,c)}if(Rc||Oa(e,t,c,!1),r=(c&e.childLanes)!==0,Rc||r){if(Mo.current!==null)return ol(e,t,c);if(r=q,r!==null&&(a=Tt(r,c),a!==0&&a!==s.retryLane))throw s.retryLane=a,Pi(e,a),Pd(r,e,a),Lc;return om(o)||Kd(),ol(e,t,c)}return om(o)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,N=lm(o.nextSibling),ua=t,P=!0,da=null,fa=!1,e!==null&&la(t,e),t=il(t,a.children),t.flags|=134221824,t)}function cl(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ea(e.return,t,n)}function ll(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&qo(n)===null&&(t=e),e=e.sibling}return t}function ul(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function dl(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function fl(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=Wo.current;if(t.flags&128)return Go(t,o),null;var s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,Go(t,o),i===`backwards`&&e!==null?(dl(e),zc(e,t,r,n),dl(e)):zc(e,t,r,n),r=P?$i:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&cl(e,n,t);else if(e.tag===19)cl(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`backwards`:n=ll(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null,dl(t)),ul(t,!0,i,null,a,r);break;case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&qo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ul(t,!0,n,null,a,r);break;case`together`:ul(t,!1,null,null,void 0,r);break;case`independent`:t.memoizedState=null;break;default:n=ll(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ul(t,!1,i,n,a,r)}return t.child}function pl(e,t,n){var r=t.pendingProps;return wa(t,t.type,r.value),zc(e,t,r.children,n),t.child}function ml(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),od|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(Oa(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=Vi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Vi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function hl(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&ka(e)))}function gl(e,t,n){switch(t.tag){case 3:Pe(t,t.stateNode.containerInfo),wa(t,La,e.memoizedState.cache),va();break;case 27:case 5:Ie(t);break;case 4:Pe(t,t.stateNode.containerInfo);break;case 10:wa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Bo(t),null;break;case 13:var r=t.memoizedState;if(r!==null){if(r.dehydrated!==null)return zo(t),t.flags|=128,null;r=Oa(e,t,n,!1);var i=t.child.childLanes;return r||(n&i)!==0?rl(e,t,n):(zo(t),e=ml(e,t,n),e===null?null:e.sibling)}zo(t);break;case 19:if(t.flags&128)return fl(e,t,n);if(i=!!(e.flags&128),r=(n&t.childLanes)!==0,r||=(Oa(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return fl(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Go(t,Wo.current),r)break;return null;case 22:return t.lanes=0,Uc(e,t,n,t.pendingProps);case 24:wa(t,La,e.memoizedState.cache)}return ml(e,t,n)}function _l(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)Rc=!0;else{if(!hl(e,n)&&!(t.flags&128))return Rc=!1,gl(e,t,n);Rc=!!(e.flags&131072)}}else Rc=!1,P&&t.flags&1048576&&oa(t,$i,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=so(t.elementType),t.type=e,typeof e==`function`)Bi(e)?(r=Oc(e,r),t.tag=1,t=Qc(null,t,e,r,n)):(t.tag=0,t=Xc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===de){t.tag=11,t=Bc(null,t,e,r,n);break a}if(a===me){t.tag=14,t=Vc(null,t,e,r,n);break a}if(a===ue){t.tag=10,t.type=e,t=pl(null,t,n);break a}}throw t=we(e)||e,Error(i(306,t,``))}}return t;case 0:return Xc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Oc(r,t.pendingProps),Qc(e,t,r,a,n);case 3:a:{if(Pe(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,So(e,t),ko(t,r,null,n);var s=t.memoizedState;if(r=s.cache,wa(t,La,r),r!==o.cache&&Da(t,[La],n,!0),Oo(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=$c(e,t,r,n);break a}if(r!==a){a=Yi(Error(i(424)),t),ba(a),t=$c(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(N=lm(e.firstChild),ua=t,P=!0,da=null,fa=!0,n=yo(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(va(),r===a){t=ml(e,t,n);break a}zc(e,t,r,n)}t=t.child}return t;case 26:return Yc(e,t),e===null?(n=Nm(t.type,null,t.pendingProps,null))?t.memoizedState=n:P||(t.stateNode=fp(t.type,t.pendingProps,O.current,t)):t.memoizedState=Nm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ie(t),e===null&&P&&(r=t.stateNode=hm(t.type,t.pendingProps,O.current),ua=t,fa=!0,a=N,Sp(t.type)?(um=a,N=lm(r.firstChild)):N=a),zc(e,t,t.pendingProps.children,n),Yc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&P&&((a=r=N)&&(r=rm(r,t.type,t.pendingProps,fa),r===null?a=!1:(t.stateNode=r,ua=t,N=lm(r.firstChild),fa=!1,a=!0)),a||ma(t)),Ie(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,pp(a,o)?r=null:s!==null&&pp(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=is(e,t,ss,null,null,n),sh._currentValue=a),Yc(e,t),zc(e,t,r,n),t.child;case 6:return e===null&&P&&((e=n=N)&&(n=im(n,t.pendingProps,fa),n===null?e=!1:(t.stateNode=n,ua=t,N=null,e=!0)),e||ma(t)),null;case 13:return rl(e,t,n);case 4:return Pe(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=vo(t,null,r,n):zc(e,t,r,n),t.child;case 11:return Bc(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,Yc(e,t),zc(e,t,r,n),t.child;case 8:return zc(e,t,t.pendingProps.children,n),t.child;case 12:return zc(e,t,t.pendingProps.children,n),t.child;case 10:return pl(e,t,n);case 9:return a=t.type._context,r=t.pendingProps.children,Aa(t),a=ja(a),r=r(a),t.flags|=1,zc(e,t,r,n),t.child;case 14:return Vc(e,t,t.type,t.pendingProps,n);case 15:return Hc(e,t,t.type,t.pendingProps,n);case 19:return fl(e,t,n);case 31:return Jc(e,t,n);case 22:return Uc(e,t,n,t.pendingProps);case 24:return Aa(t),r=ja(La),e===null?(a=Qa(),a===null&&(a=q,o=Ra(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},xo(t),wa(t,La,a)):((e.lanes&n)!==0&&(So(e,t),ko(t,null,null,n),Oo()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,wa(t,La,r),r!==a.cache&&Da(t,[La],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),wa(t,La,r))),zc(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),r=t.pendingProps,r.name!=null&&r.name!==`auto`?t.flags|=e===null?18882560:18874368:P&&sa(t),e!==null&&e.memoizedProps.name!==r.name?t.flags|=4194816:Yc(e,t),zc(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function vl(e){e.flags|=4}function yl(e,t,n,r,i){var a;if((a=!!(e.mode&32))&&(a=n===null?Jm(t,r):Jm(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),a){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(Ud())e.flags|=8192;else throw co=io,no}}else e.flags&=-16777217}function bl(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Ym(t)){if(Ud())e.flags|=8192;else throw co=io,no}}function xl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:yt(),e.lanes|=t,ud|=t)}function Sl(e,t){if(!P)switch(e.tailMode){case`visible`:break;case`collapsed`:for(var n=e.tail,r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function z(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&1206910976,r|=i.flags&1206910976,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Cl(e,t,n){var r=t.pendingProps;switch(ca(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return z(t),null;case 1:return z(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ta(La),Fe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(_a(t)?vl(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ya())),z(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(vl(t),o===null?(z(t),yl(t,a,null,r,n)):(z(t),bl(t,o))):o?o===e.memoizedState?(z(t),t.flags&=-16777217):(vl(t),z(t),bl(t,o)):(e=e.memoizedProps,e!==r&&vl(t),z(t),yl(t,a,e,r,n)),null;case 27:if(Le(t),n=O.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&vl(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return z(t),t.subtreeFlags&=-33554433,null}e=je.current,_a(t)?ha(t,e):(e=hm(a,r,n),t.stateNode=e,vl(t))}return z(t),t.subtreeFlags&=-33554433,null;case 5:if(Le(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&vl(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return z(t),t.subtreeFlags&=-33554433,null}if(o=je.current,_a(t))ha(t,o);else{var s=lp(O.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[jt]=t,o[A]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(np(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&vl(t)}}return z(t),t.subtreeFlags&=-33554433,yl(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&vl(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=O.current,_a(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=ua,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[jt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||ep(e.nodeValue,n)),e||ma(t,!0)}else e=lp(e).createTextNode(r),e[jt]=t,t.stateNode=e}return z(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=_a(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[jt]=t}else va(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;z(t),e=!1}else n=ya(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Uo(t),t):(Uo(t),null);if(t.flags&128)throw Error(i(558))}return z(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=_a(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[jt]=t}else va(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;z(t),a=!1}else a=ya(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Uo(t),t):(Uo(t),null)}return Uo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),xl(t,t.updateQueue),z(t),null);case 4:return Fe(),e===null&&Wf(t.stateNode.containerInfo),t.flags|=67108864,z(t),null;case 10:return Ta(t.type),z(t),null;case 19:if(Ko(t),r=t.memoizedState,r===null)return z(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)Sl(r,!1);else{if(ad!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=qo(e),o!==null){for(t.flags|=128,Sl(r,!1),e=o.updateQueue,t.updateQueue=e,xl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Hi(n,e),n=n.sibling;return Go(t,Wo.current&1|2),P&&aa(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Xe()>gd&&(t.flags|=128,a=!0,Sl(r,!1),t.lanes=4194304)}}else{if(!a){if(e=qo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,xl(t,e),Sl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!P)return z(t),null}else 2*Xe()-r.renderingStartTime>gd&&n!==536870912&&(t.flags|=128,a=!0,Sl(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Xe(),e.sibling=null,o=Wo.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||P?Go(t,o):(n=o,D(Lo,t),D(Wo,n),Ro===null&&(Ro=t)),P&&aa(t,r.treeForkCount),e}return z(t),null;case 22:case 23:return Uo(t),Io(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(z(t),t.subtreeFlags&6&&(t.flags|=8192)):z(t),n=t.updateQueue,n!==null&&xl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&Ae(Za),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ta(La),z(t),null;case 25:return null;case 30:return t.flags|=33554432,z(t),null}throw Error(i(156,t.tag))}function wl(e,t){switch(ca(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ta(La),Fe(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Le(t),null;case 31:if(t.memoizedState!==null){if(Uo(t),t.alternate===null)throw Error(i(340));va()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Uo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));va()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ko(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Fe(),null;case 10:return Ta(t.type),null;case 22:case 23:return Uo(t),Io(),e!==null&&Ae(Za),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ta(La),null;case 25:return null;default:return null}}function Tl(e,t){switch(ca(t),t.tag){case 3:Ta(La),Fe();break;case 26:case 27:case 5:Le(t);break;case 4:Fe();break;case 31:t.memoizedState!==null&&Uo(t);break;case 13:Uo(t);break;case 19:Ko(t);break;case 10:Ta(t.type);break;case 22:case 23:Uo(t),Io(),e!==null&&Ae(Za);break;case 24:Ta(La)}}function El(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Z(t,t.return,e)}}function Dl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Z(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Z(t,t.return,e)}}function Ol(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{jo(t,n)}catch(t){Z(e,e.return,t)}}}function kl(e,t,n){n.props=Oc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Z(e,t,n)}}function Al(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=wi(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Pp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Fp(e);h(e.child,!1,Qp,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Z(e,t,n)}}function jl(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Z(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Z(e,t,n)}else n.current=null}}function Ml(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)em(e.stateNode,t[n])}function Nl(e){for(var t=e.return;t!==null&&(Il(t)&&em(e.stateNode,t.stateNode),!Fl(t));)t=t.return}function Pl(e){for(var t=e.return;t!==null&&(Il(t)&&tm(e.stateNode,t.stateNode),!Fl(t));)t=t.return}function Fl(e){return e.tag===5||e.tag===3||e.tag===27}function Il(e){return e&&e.tag===7&&e.stateNode!==null}function Ll(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Z(e,e.return,t)}}function Rl(e,t,n){try{var r=e.stateNode;ip(r,e.type,n,t),r[A]=t}catch(t){Z(e,e.return,t)}}function zl(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Sp(e.type)||e.tag===4}function Bl(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||zl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Sp(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vl(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(i,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(i),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Tn)),Ml(e,r),M=!0;else if(i!==4&&(i===27&&(Ml(e,r),r=null,Sp(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(Vl(e,t,n,r),e=e.sibling;e!==null;)Vl(e,t,n,r),e=e.sibling}function Hl(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?n.insertBefore(i,t):n.appendChild(i),Ml(e,r),M=!0;else if(i!==4&&(i===27&&(Ml(e,r),r=null,Sp(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(Hl(e,t,n,r),e=e.sibling;e!==null;)Hl(e,t,n,r),e=e.sibling}function Ul(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);np(t,r,n),t[jt]=e,t[A]=n}catch(t){Z(e,e.return,t)}}var Wl=!1,Gl=null;function Kl(e){(e.tag===30||e.subtreeFlags&33554432)&&(Wl=!0)}var ql=null;function Jl(){var e=ql;return ql=null,e}var Yl=0;function Xl(e,t,n,r,i){return Yl=0,Zl(e.child,t,n,r,i)}function Zl(e,t,n,r,i){for(var a=!1;e!==null;){if(e.tag===5){var o=e.stateNode;if(r!==null){var s=Op(o);r.push(s),s.view&&(a=!0)}else a||Op(o).view&&(a=!0);Wl=!0,Tp(o,Yl===0?t:t+`_`+Yl,n),Yl++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&i||Zl(e.child,t,n,r,i)&&(a=!0));e=e.sibling}return a}function Ql(e,t){for(;e!==null;)e.tag===5?Ep(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||Ql(e.child,t)),e=e.sibling}function $l(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&($l(e),e.tag===30&&e.flags&18874368&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name===`auto`)throw Error(i(544));var n=t.name;t=Ei(t.default,t.share),t!==`none`&&(Xl(e,n,t,null,!1)||Ql(e.child,!1))}e=e.sibling}}function eu(e,t){if(e.tag===30){var n=e.stateNode,r=e.memoizedProps,i=wi(r,n),a=Ei(r.default,n.paired?r.share:r.enter);a===`none`?$l(e):Xl(e,i,a,null,!1)?($l(e),n.paired||t||Nd(e,r.onEnter)):Ql(e.child,!1)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)eu(e,t),e=e.sibling;else $l(e)}function tu(e){if(Gl!==null&&Gl.size!==0){var t=Gl;if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var n=e.memoizedProps,r=n.name;if(r!=null&&r!==`auto`){var i=t.get(r);if(i!==void 0){var a=Ei(n.default,n.share);if(a!==`none`&&(Xl(e,r,a,null,!1)?(a=e.stateNode,i.paired=a,a.paired=i,Nd(e,n.onShare)):Ql(e.child,!1)),t.delete(r),t.size===0)break}}}tu(e)}e=e.sibling}}}function nu(e){if(e.tag===30){var t=e.memoizedProps,n=wi(t,e.stateNode),r=Gl===null?void 0:Gl.get(n),i=Ei(t.default,r===void 0?t.exit:t.share);i!==`none`&&(Xl(e,n,i,null,!1)?r===void 0?Nd(e,t.onExit):(i=e.stateNode,r.paired=i,i.paired=r,Gl.delete(n),Nd(e,t.onShare)):Ql(e.child,!1)),Gl!==null&&tu(e)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)nu(e),e=e.sibling;else Gl!==null&&tu(e)}function ru(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=wi(t,e.stateNode);t=Ei(t.default,t.update),e.flags&=-5,t!==`none`&&Xl(e,n,t,e.memoizedState=[],!1)}else e.subtreeFlags&33554432&&ru(e);e=e.sibling}}function iu(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var t=e.stateNode;t.paired!==null&&(t.paired=null,Ql(e.child,!1))}iu(e)}e=e.sibling}}function au(e){if(e.tag===30)e.stateNode.paired=null,Ql(e.child,!1),iu(e);else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)au(e),e=e.sibling;else iu(e)}function ou(e){for(e=e.child;e!==null;)e.tag===30?Ql(e.child,!1):e.subtreeFlags&33554432&&ou(e),e=e.sibling}function su(e,t,n,r,i,a,o){for(var s=!1;t!==null;){if(t.tag===5){var c=t.stateNode;if(a!==null&&Yl<a.length){var l=a[Yl],u=Op(c);(l.view||u.view)&&(s=!0);var d;if(d=!(e.flags&4)){if(u.clip)d=!0;else{d=l.rect;var f=u.rect;d=d.y!==f.y||d.x!==f.x||d.height!==f.height||d.width!==f.width}}d&&(e.flags|=4),u.abs?u=!l.abs:(l=l.rect,u=u.rect,u=l.height!==u.height||l.width!==u.width),u&&(e.flags|=32)}else e.flags|=32;e.flags&4&&Tp(c,Yl===0?n:n+`_`+Yl,i),s&&e.flags&4||(ql===null&&(ql=[]),ql.push(c,Yl===0?r:r+`_`+Yl,t.memoizedProps)),Yl++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&o?e.flags|=t.flags&32:su(e,t.child,n,r,i,a,o)&&(s=!0));t=t.sibling}return s}function cu(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,r=e.stateNode,i=wi(n,r),a=Ei(n.default,n.update);if(t){r=r.clones;var o=r===null?null:r.map(kp)}else o=e.memoizedState,e.memoizedState=null;r=e;var s=e.child;Yl=0,i=su(r,s,i,i,a,o,!1),e.flags&4&&i&&(t||Nd(e,n.onUpdate))}else e.subtreeFlags&33554432&&cu(e,t);e=e.sibling}}var lu=!1,B=!1,uu=!1,du=!1,fu=typeof WeakSet==`function`?WeakSet:Set,pu=null,mu=!1,hu=!1,gu=!1,_u=!1;function vu(e,t,n){if(e=e.containerInfo,sp=gh,e=ei(e),ti(e)){if(`selectionStart`in e)var r={start:e.selectionStart,end:e.selectionEnd};else a:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==r||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===r&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}r=c===-1||l===-1?null:{start:c,end:l}}else r=null}r||={start:0,end:0}}else r=null;for(cp={focusedElem:e,selectionRange:r},gh=!1,n=(n&335544064)===n,pu=t,t=n?9270:1024;pu!==null;){if(e=pu,n&&(r=e.deletions,r!==null))for(a=0;a<r.length;a++)n&&nu(r[a]);if(e.alternate===null&&e.flags&2)n&&Kl(e),yu(n);else{if(e.tag===22){if(r=e.alternate,e.memoizedState!==null){r!==null&&r.memoizedState===null&&n&&nu(r),yu(n);continue}if(r!==null&&r.memoizedState!==null){n&&Kl(e),yu(n);continue}}r=e.child,(e.subtreeFlags&t)!==0&&r!==null?(r.return=e,pu=r):(n&&ru(e),yu(n))}}Gl=null}function yu(e){for(;pu!==null;){var t=pu,n=e,r=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if(a&1024&&r!==null){n=void 0,a=r.memoizedProps,r=r.memoizedState;var o=t.stateNode;try{var s=Oc(t.type,a);n=o.getSnapshotBeforeUpdate(s,r),o.__reactInternalSnapshotBeforeUpdate=n}catch(e){Z(t,t.return,e)}}break;case 3:if(a&1024){if(r=t.stateNode.containerInfo,n=r.nodeType,n===9)nm(r);else if(n===1)switch(r.nodeName){case`HEAD`:case`HTML`:case`BODY`:nm(r);break;default:r.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&r!==null&&(n=wi(r.memoizedProps,r.stateNode),a=t.memoizedProps,a=Ei(a.default,a.update),a!==`none`&&Xl(r,n,a,r.memoizedState=[],!0));break;default:if(a&1024)throw Error(i(163))}if(r=t.sibling,r!==null){r.return=t.return,pu=r;break}pu=t.return}}function bu(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Lu(e,n),r&4&&El(5,n);break;case 1:if(Lu(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Z(n,n.return,e)}else{var i=Oc(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Z(n,n.return,e)}}}r&64&&Ol(n),r&512&&Al(n,n.return);break;case 3:if(Lu(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{jo(e,t)}catch(e){Z(n,n.return,e)}}break;case 27:t===null&&r&4&&Ul(n);case 26:case 5:Lu(e,n),t===null&&r&4&&Ll(n),r&512&&Al(n,n.return);break;case 12:Lu(e,n);break;case 31:Lu(e,n),r&4&&Ou(e,n);break;case 13:Lu(e,n),r&4&&ku(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=_f.bind(null,n),cm(e,n))));break;case 22:if(r=n.memoizedState!==null||lu,!r){var a=t!==null&&t.memoizedState!==null||B;t=lu,i=B,lu=r,(B=a)&&!i?(r=2,n.subtreeFlags&8772&&(r|=1),zu(e,n,r)):Lu(e,n),lu=t,B=i}break;case 30:Lu(e,n),r&512&&Al(n,n.return);break;case 7:r&512&&Al(n,n.return);default:Lu(e,n)}}function xu(e,t){for(e=e.child;e!==null;)Su(e,t),e=e.sibling}function Su(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var r=n.style;typeof r.setProperty==`function`?r.setProperty(`display`,`none`,`important`):r.display=`none`}else{var i=e.stateNode,a=e.memoizedProps.style,o=a!=null&&a.hasOwnProperty(`display`)?a.display:null;i.style.display=o==null||typeof o==`boolean`?``:(``+o).trim()}}catch(t){Z(e,e.return,t)}Cu(e,t);break;case 6:try{e.stateNode.nodeValue=t?``:e.memoizedProps,M=!0}catch(t){Z(e,e.return,t)}break;case 18:try{var s=e.stateNode;t?wp(s,!0):wp(e.stateNode,!1)}catch(t){Z(e,e.return,t)}break;case 22:case 23:e.memoizedState===null&&xu(e,t);break;default:xu(e,t)}}function Cu(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){a:{var n=e,r=t;switch(n.tag){case 4:Su(n,r);break a;case 22:n.memoizedState===null&&Cu(n,r);break a;default:Cu(n,r)}}e=e.sibling}}function wu(e){var t=e.alternate;t!==null&&(e.alternate=null,wu(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&zt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var V=null,Tu=!1;function Eu(e,t,n){for(n=n.child;n!==null;)Du(e,t,n),n=n.sibling}function Du(e,t,n){if(at&&typeof at.onCommitFiberUnmount==`function`)try{at.onCommitFiberUnmount(k,n)}catch{}switch(n.tag){case 26:B||jl(n,t),Eu(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!B&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:B||jl(n,t),Pl(n);var r=V,i=Tu;Sp(n.type)&&(V=n.stateNode,Tu=!1),Eu(e,t,n),gm(n.stateNode,n.type,n.memoizedProps),V=r,Tu=i;break;case 5:B||jl(n,t),Pl(n);case 6:if(n.tag===6&&Pl(n),r=V,i=Tu,V=null,Eu(e,t,n),V=r,Tu=i,V!==null){if(Tu)try{(V.nodeType===9?V.body:V.nodeName===`HTML`?V.ownerDocument.body:V).removeChild(n.stateNode),M=!0}catch(e){Z(n,t,e)}else try{V.removeChild(n.stateNode),M=!0}catch(e){Z(n,t,e)}}break;case 18:V!==null&&(Tu?(e=V,Cp(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Hh(e)):Cp(V,n.stateNode));break;case 4:r=V,i=Tu,V=n.stateNode.containerInfo,Tu=!0,Eu(e,t,n),V=r,Tu=i;break;case 0:case 11:case 14:case 15:Dl(2,n,t),B||Dl(4,n,t),Eu(e,t,n);break;case 1:B||(jl(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&kl(n,t,r)),Eu(e,t,n);break;case 21:Eu(e,t,n);break;case 22:B=(r=B)||n.memoizedState!==null,Eu(e,t,n),B=r;break;case 30:jl(n,t),Eu(e,t,n);break;case 7:B||jl(n,t),Eu(e,t,n);break;default:Eu(e,t,n)}}function Ou(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Hh(e)}catch(e){Z(t,t.return,e)}}}function ku(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Hh(e)}catch(e){Z(t,t.return,e)}}function Au(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new fu),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new fu),t;default:throw Error(i(435,e.tag))}}function ju(e,t){var n=Au(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=vf.bind(null,e,t);t.then(r,r)}})}function Mu(e,t,n){var r=t.deletions;if(r!==null)for(var a=0;a<r.length;a++){var o=r[a],s=e,c=t,l=c;a:for(;l!==null;){switch(l.tag){case 27:if(Sp(l.type)){V=l.stateNode,Tu=!1;break a}break;case 5:V=l.stateNode,Tu=!1;break a;case 3:case 4:V=l.stateNode.containerInfo,Tu=!0;break a}l=l.return}if(V===null)throw Error(i(160));Du(s,c,o),V=null,Tu=!1,s=o.alternate,s!==null&&(s.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Nu(t,e,n),t=t.sibling}var H=null;function Nu(e,t,n){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(a&4&&(r=e.updateQueue,r=r===null?null:r.events,r!==null))for(var o=0;o<r.length;o++){var s=r[o];s.ref.impl=s.nextImpl}Mu(t,e,n),U(e),a&4&&(Dl(3,e,e.return),El(3,e),Dl(5,e,e.return));break;case 1:Mu(t,e,n),U(e),a&512&&(B||r===null||jl(r,r.return)),a&64&&lu&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?t:n.concat(t))));break;case 26:if(o=H,Mu(t,e,n),U(e),a&512&&(B||r===null||jl(r,r.return)),a&4){if(a=r===null?null:r.memoizedState,n=e.memoizedState,r===null){if(n===null){if(e.stateNode===null){if(lu)e.stateNode=fp(e.type,e.memoizedProps,t.containerInfo,e);else{a:{t=e.type,n=e.memoizedProps,a=o.ownerDocument||o;b:switch(t){case`title`:r=a.getElementsByTagName(`title`)[0],(!r||r[Lt]||r[jt]||r.namespaceURI===`http://www.w3.org/2000/svg`||r.hasAttribute(`itemprop`))&&(r=a.createElement(t),a.head.insertBefore(r,a.querySelector(`head > title`))),np(r,t,n),r[jt]=e,Wt(r),t=r;break a;case`link`:if(o=Gm(`link`,`href`,a).get(t+(n.href||``))){for(s=0;s<o.length;s++)if(r=o[s],r.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&r.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&r.getAttribute(`title`)===(n.title==null?null:n.title)&&r.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(s,1);break b}}r=a.createElement(t),np(r,t,n),a.head.appendChild(r);break;case`meta`:if(o=Gm(`meta`,`content`,a).get(t+(n.content||``))){for(s=0;s<o.length;s++)if(r=o[s],r.getAttribute(`content`)===(n.content==null?null:``+n.content)&&r.getAttribute(`name`)===(n.name==null?null:n.name)&&r.getAttribute(`property`)===(n.property==null?null:n.property)&&r.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){o.splice(s,1);break b}}r=a.createElement(t),np(r,t,n),a.head.appendChild(r);break;default:throw Error(i(468,t))}r[jt]=e,Wt(r),t=r}e.stateNode=t}}else lu||Km(o,e.type,e.stateNode)}else e.stateNode=Bm(o,n,e.memoizedProps)}else a===n?n===null&&e.stateNode!==null&&Rl(e,e.memoizedProps,r.memoizedProps):(a===null?(t=r.stateNode,t===null||B||t.parentNode.removeChild(t)):a.count--,n===null?lu||Km(o,e.type,e.stateNode):Bm(o,n,e.memoizedProps))}break;case 27:Mu(t,e,n),U(e),a&512&&(B||r===null||jl(r,r.return)),r!==null&&a&4&&Rl(e,e.memoizedProps,r.memoizedProps);break;case 5:if(o=uu,uu=!1,Mu(t,e,n),uu=o,U(e),a&512&&(B||r===null||jl(r,r.return)),e.flags&32){t=e.stateNode;try{_n(t,``),M=!0}catch(t){Z(e,e.return,t)}}a&4&&e.stateNode!=null&&(t=e.memoizedProps,Rl(e,t,r===null?t:r.memoizedProps)),a&1024&&(du=!0);break;case 6:if(Mu(t,e,n),U(e),a&4){if(e.stateNode===null)throw Error(i(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,M=!0}catch(t){Z(e,e.return,t)}}break;case 3:if(M=!1,Wm=null,o=H,H=bm(t.containerInfo),Mu(t,e,n),H=o,U(e),a&4&&r!==null&&r.memoizedState.isDehydrated)try{Hh(t.containerInfo)}catch(t){Z(e,e.return,t)}du&&(du=!1,Pu(e)),M=!1;break;case 4:a=uu,uu=lu,r=$t(),o=H,H=bm(e.stateNode.containerInfo),Mu(t,e,n),U(e),H=o,M&&hu&&(gu=!0),M=r,uu=a;break;case 12:Mu(t,e,n),U(e);break;case 31:Mu(t,e,n),U(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,ju(e,t)));break;case 13:Mu(t,e,n),U(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(md=Xe()),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,ju(e,t)));break;case 22:o=e.memoizedState!==null,s=r!==null&&r.memoizedState!==null;var c=lu,l=B,u=uu;lu=c||o,uu=u||o,B=l||s,Mu(t,e,n),B=l,uu=u,lu=c,U(e),a&8192&&(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,!o||r===null||s||lu||B||(t=s||B,n=lu,r=B,lu=o||lu,B=t,Ru(e,2),lu=n,B=r),!o&&uu||xu(e,o)),a&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,ju(e,n))));break;case 19:Mu(t,e,n),U(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,ju(e,t)));break;case 30:a&512&&(B||r===null||jl(r,r.return)),a=$t(),o=hu,s=(n&335544064)===n,c=e.memoizedProps,hu=s&&Ei(c.default,c.update)!==`none`,Mu(t,e,n),U(e),s&&r!==null&&M&&(e.flags|=4),hu=o,M=a;break;case 21:break;case 7:a&512&&(B||r===null||jl(r,r.return)),r&&r.stateNode!==null&&(r.stateNode._fragmentFiber=e);default:Mu(t,e,n),U(e)}}function U(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(zl(r)){n=r;break}r=r.return}r=null;for(var a=e.return;a!==null;){if(Il(a)){var o=a.stateNode;r===null?r=[o]:r.push(o)}if(Fl(a))break;a=a.return}var s=r;if(n==null)throw Error(i(160));switch(n.tag){case 27:var c=n.stateNode;Hl(e,Bl(e),c,s);break;case 5:var l=n.stateNode;n.flags&32&&(_n(l,``),n.flags&=-33),Hl(e,Bl(e),l,s);break;case 3:case 4:var u=n.stateNode.containerInfo;Vl(e,Bl(e),u,s);break;default:throw Error(i(161))}}catch(t){Z(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Pu(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Pu(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,gh=!0,t.reset(),gh=!1),e=e.sibling}}function Fu(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)Iu(t,e),t=t.sibling;else cu(t,!1)}function Iu(e,t){var n=e.alternate;if(n===null)eu(e,!1);else switch(e.tag){case 3:if(_u=mu=!1,Jl(),Fu(t,e),!mu&&!gu){if(e=ql,e!==null)for(var r=0;r<e.length;r+=3){n=e[r];var i=e[r+1];Ep(n,e[r+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(`+i+`)`})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===``&&(e.style.viewTransitionName=`none`,e.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(root)`}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition`})),_u=!0}ql=null;break;case 5:Fu(t,e);break;case 4:r=mu,mu=!1,Fu(t,e),mu&&(gu=!0),mu=r;break;case 22:e.memoizedState===null&&(n.memoizedState===null?Fu(t,e):eu(e,!1));break;case 30:r=mu,i=Jl(),mu=!1,Fu(t,e),mu&&(e.flags|=4);var a=e.memoizedProps,o=e.stateNode;t=wi(a,o),o=wi(n.memoizedProps,o);var s=Ei(a.default,a.update);s===`none`?t=!1:(a=n.memoizedState,n.memoizedState=null,n=e.child,Yl=0,t=su(e,n,t,o,s,a,!0),Yl!==(a===null?0:a.length)&&(e.flags|=32)),e.flags&4&&t?(Nd(e,e.memoizedProps.onUpdate),ql=i):i!==null&&(i.push.apply(i,ql),ql=i),mu=e.flags&32?!0:r;break;default:Fu(t,e)}}function Lu(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)bu(e,t.alternate,t),t=t.sibling}function Ru(e,t){for(e=e.child;e!==null;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:Dl(4,n,n.return),Ru(n,r);break;case 1:jl(n,n.return);var i=n.stateNode;typeof i.componentWillUnmount==`function`&&kl(n,n.return,i),Ru(n,r);break;case 27:r&2&&gm(n.stateNode,n.type,n.memoizedProps);case 5:jl(n,n.return),n.tag!==5&&n.tag!==27||Pl(n),Ru(n,r);break;case 6:Pl(n);break;case 26:jl(n,n.return),i=n.stateNode,n.memoizedState!==null||i===null||B||i.parentNode.removeChild(i),Ru(n,r);break;case 22:n.memoizedState===null&&Ru(n,r);break;case 30:jl(n,n.return),Ru(n,r);break;case 7:jl(n,n.return);default:Ru(n,r)}e=e.sibling}}function zu(e,t,n){for(n=t.subtreeFlags&8772?n:n&-2,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags,s=!!(n&1);switch(a.tag){case 0:case 11:case 15:zu(i,a,n),El(4,a);break;case 1:if(zu(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Z(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var c=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(l!==null)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)Ao(l[i],c)}catch(e){Z(r,r.return,e)}}s&&o&64&&Ol(a),Al(a,a.return);break;case 27:n&2&&Ul(a);case 5:a.tag!==5&&a.tag!==27||Nl(a),zu(i,a,n),s&&r===null&&o&4&&Ll(a),Al(a,a.return);break;case 6:Nl(a);break;case 26:c=a.stateNode,a.memoizedState!==null||c===null||lu||Km(bm(c.ownerDocument),a.type,c),zu(i,a,n),s&&r===null&&o&4&&Ll(a),Al(a,a.return);break;case 12:zu(i,a,n);break;case 31:zu(i,a,n),s&&o&4&&Ou(i,a);break;case 13:zu(i,a,n),s&&o&4&&ku(i,a);break;case 22:a.memoizedState===null&&zu(i,a,n),Al(a,a.return);break;case 30:zu(i,a,n),Al(a,a.return);break;case 7:Al(a,a.return);default:zu(i,a,n)}t=t.sibling}}function Bu(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&za(n))}function W(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&za(e))}function Vu(e,t,n,r){var i=(n&335544064)===n;if(t.subtreeFlags&(i?10262:10256))for(t=t.child;t!==null;)Hu(e,t,n,r),t=t.sibling;else i&&ou(t)}function Hu(e,t,n,r){var i=(n&335544064)===n;i&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&au(t);var a=t.flags;switch(t.tag){case 0:case 11:case 15:Vu(e,t,n,r),a&2048&&El(9,t);break;case 1:Vu(e,t,n,r);break;case 3:Vu(e,t,n,r),i&&_u&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,e.style.viewTransitionName===`root`&&(e.style.viewTransitionName=``),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===`none`&&(e.style.viewTransitionName=``)),a&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==a&&(t.refCount++,a!=null&&za(a)));break;case 12:if(a&2048){Vu(e,t,n,r),a=t.stateNode;try{var o=t.memoizedProps,s=o.id,c=o.onPostCommit;typeof c==`function`&&c(s,t.alternate===null?`mount`:`update`,a.passiveEffectDuration,-0)}catch(e){Z(t,t.return,e)}}else Vu(e,t,n,r);break;case 31:Vu(e,t,n,r);break;case 13:Vu(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,s=t.alternate,t.memoizedState===null?(i&&s!==null&&s.memoizedState!==null&&au(t),o._visibility&2?Vu(e,t,n,r):(o._visibility|=2,Uu(e,t,n,r,!!(t.subtreeFlags&10256)||!1))):(i&&s!==null&&s.memoizedState===null&&au(s),o._visibility&2?Vu(e,t,n,r):Wu(e,t)),a&2048&&Bu(s,t);break;case 24:Vu(e,t,n,r),a&2048&&W(t.alternate,t);break;case 30:i&&(a=t.alternate,a!==null&&(Ql(a.child,!0),Ql(t.child,!0))),Vu(e,t,n,r);break;default:Vu(e,t,n,r)}}function Uu(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Uu(a,o,s,c,i),El(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Uu(a,o,s,c,i)):u._visibility&2?Uu(a,o,s,c,i):Wu(a,o),i&&l&2048&&Bu(o.alternate,o);break;case 24:Uu(a,o,s,c,i),i&&l&2048&&W(o.alternate,o);break;default:Uu(a,o,s,c,i)}t=t.sibling}}function Wu(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Wu(n,r),i&2048&&Bu(r.alternate,r);break;case 24:Wu(n,r),i&2048&&W(r.alternate,r);break;default:Wu(n,r)}t=t.sibling}}var Gu=8192;function Ku(e,t,n){if(e.subtreeFlags&Gu)for(e=e.child;e!==null;)qu(e,t,n),e=e.sibling}function qu(e,t,n){switch(e.tag){case 26:Ku(e,t,n),e.flags&Gu&&(e.memoizedState===null?(e=e.stateNode,(t&335544128)===t&&Zm(n,e)):Qm(n,H,e.memoizedState,e.memoizedProps));break;case 5:Ku(e,t,n),e.flags&Gu&&(e=e.stateNode,(t&335544128)===t&&Zm(n,e));break;case 3:case 4:var r=H;H=bm(e.stateNode.containerInfo),Ku(e,t,n),H=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Gu,Gu=16777216,Ku(e,t,n),Gu=r):Ku(e,t,n));break;case 30:if((e.flags&Gu)!==0&&(r=e.memoizedProps.name,r!=null&&r!==`auto`)){var i=e.stateNode;i.paired=null,Gl===null&&(Gl=new Map),Gl.set(r,i)}Ku(e,t,n);break;default:Ku(e,t,n)}}function G(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ju(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];pu=r,Zu(r,e)}G(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Yu(e),e=e.sibling}function Yu(e){switch(e.tag){case 0:case 11:case 15:Ju(e),e.flags&2048&&Dl(9,e,e.return);break;case 3:Ju(e);break;case 12:Ju(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Xu(e)):Ju(e);break;default:Ju(e)}}function Xu(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];pu=r,Zu(r,e)}G(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Dl(8,t,t.return),Xu(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Xu(t));break;default:Xu(t)}e=e.sibling}}function Zu(e,t){for(;pu!==null;){var n=pu;switch(n.tag){case 0:case 11:case 15:Dl(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:za(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,pu=r;else a:for(n=e;pu!==null;){r=pu;var i=r.sibling,a=r.return;if(wu(r),r===n){pu=null;break a}if(i!==null){i.return=a,pu=i;break a}pu=a}}}var Qu={getCacheForType:function(e){var t=ja(La),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ja(La).controller.signal}},$u=typeof WeakMap==`function`?WeakMap:Map,K=0,q=null,J=null,Y=0,X=0,ed=null,td=!1,nd=!1,rd=!1,id=0,ad=0,od=0,sd=0,cd=0,ld=0,ud=0,dd=null,fd=null,pd=!1,md=0,hd=0,gd=1/0,_d=null,vd=null,yd=0,bd=null,xd=null,Sd=0,Cd=0,wd=null,Td=null,Ed=null,Dd=null,Od=null,kd=0,Ad=null;function jd(){return K&2&&Y!==0?Y&-Y:T.T===null?Ot():Pf()}function Md(){if(ld===0){if(!(Y&536870912)||P){var e=ft;ft<<=1,!(ft&3932160)&&(ft=262144),ld=e}else ld=536870912}return e=Lo.current,e!==null&&(e.flags|=32),ld}function Nd(e,t){if(t!=null){var n=e.stateNode,r=n.ref;r===null&&(r=n.ref=Pp(wi(e.memoizedProps,n))),Dd===null&&(Dd=[]),Dd.push(t.bind(null,r))}}function Pd(e,t,n){(e===q&&(X===2||X===9)||e.cancelPendingCommit!==null)&&(Vd(e,0),Rd(e,Y,ld,!1)),xt(e,n),(!(K&2)||e!==q)&&(e===q&&(!(K&2)&&(sd|=n),ad===4&&Rd(e,Y,ld,!1)),Ef(e))}function Fd(e,t,n){if(K&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||gt(e,t),a=r?Yd(e,t):qd(e,t,!0),o=r;do{if(a===0){nd&&!r&&Rd(e,t,0,!1);break}if(n=e.current.alternate,o&&!Ld(n)){a=qd(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=dd;var l=c.current.memoizedState.isDehydrated;if(l&&(Vd(c,s).flags|=256),s=qd(c,s,!1),s!==2&&s!==6){if(rd&&!l){c.errorRecoveryDisabledLanes|=o,sd|=o,a=4;break a}o=fd,fd=a,o!==null&&(fd===null?fd=o:fd.push.apply(fd,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Vd(e,0),Rd(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Rd(r,t,ld,!td);break a;case 2:fd=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=md+300-Xe(),10<a)){if(Rd(r,t,ld,!td),ht(r,0,!0)!==0)break a;Sd=t,r.timeoutHandle=gp(Id.bind(null,r,n,fd,_d,pd,t,ld,sd,ud,td,o,`Throttled`,-0,0),a);break a}Id(r,n,fd,_d,pd,t,ld,sd,ud,td,o,null,-0,0)}break}while(1);Ef(e)}function Id(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=-1;var m=t.subtreeFlags,h=(a&335544064)===a;if(d=null,(h||m&8192||(m&16785408)==16785408)&&(d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Tn},Gl=null,qu(t,a,d),h&&(m=d,h=e.containerInfo,h=(h.nodeType===9?h:h.ownerDocument).__reactViewTransition,h!=null&&(m.count++,m.waitingForViewTransition=!0,m=nh.bind(m),h.finished.then(m,m))),m=(a&62914560)===a?md-Xe():(a&4194048)===a?hd-Xe():0,m=eh(d,m),m!==null)){Sd=a,e.cancelPendingCommit=m(nf.bind(null,e,t,a,n,r,i,o,s,c,l,u,d,null,f,p)),Rd(e,a,o,!l);return}nf(e,t,a,n,r,i,o,s,c,l,u,d)}function Ld(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Jr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Rd(e,t,n,r){t=_t(e,t),t&=~cd,t&=~sd,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-st(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Ct(e,n,t)}function zd(){return K&6?!0:(Df(0,!1),!1)}function Bd(){if(J!==null){if(X===0)var e=J.return;else e=J,Ca=Sa=null,us(e),fo=null,po=0,e=J;for(;e!==null;)Tl(e.alternate,e),e=e.return;J=null}}function Vd(e,t){var n=e.timeoutHandle;return n!==-1&&(e.timeoutHandle=-1,_p(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Sd=0,Bd(),q=e,J=n=Vi(e.current,null),Y=t,X=0,ed=null,td=!1,nd=gt(e,t),rd=!1,ud=ld=cd=sd=od=ad=0,fd=dd=null,pd=!1,id=_t(e,t),ji(),n}function Hd(e,t){F=null,T.H=bc,t===to||t===ro?(t=lo(),X=3):t===no?(t=lo(),X=4):X=t===Lc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,ed=t,J===null&&(ad=1,R(e,Yi(t,e.current)))}function Ud(){var e=Lo.current;return e===null?!0:(Y&4194048)===Y?Ro===null:(Y&62914560)===Y||Y&536870912?e===Ro:!1}function Wd(){var e=T.H;return T.H=bc,e===null?bc:e}function Gd(){var e=T.A;return T.A=Qu,e}function Kd(){ad=4,td||(Y&4194048)!==Y&&Lo.current!==null||(nd=!0),!(od&134217727)&&!(sd&134217727)||q===null||Rd(q,Y,ld,!1)}function qd(e,t,n){var r=K;K|=2;var i=Wd(),a=Gd();(q!==e||Y!==t)&&(_d=null,Vd(e,t)),t=!1;var o=ad;a:do try{if(X!==0&&J!==null){var s=J,c=ed;switch(X){case 8:Bd(),o=6;break a;case 3:case 2:case 9:case 6:Lo.current===null&&(t=!0);var l=X;if(X=0,ed=null,$d(e,s,c,l),n&&nd){o=0;break a}break;default:l=X,X=0,ed=null,$d(e,s,c,l)}}Jd(),o=ad;break}catch(t){Hd(e,t)}while(1);return t&&e.shellSuspendCounter++,Ca=Sa=null,K=r,T.H=i,T.A=a,J===null&&(q=null,Y=0,ji()),o}function Jd(){for(;J!==null;)Zd(J)}function Yd(e,t){var n=K;K|=2;var r=Wd(),a=Gd();q!==e||Y!==t?(_d=null,gd=Xe()+500,Vd(e,t)):nd=gt(e,t);a:do try{if(X!==0&&J!==null){t=J;var o=ed;b:switch(X){case 1:X=0,ed=null,$d(e,t,o,1);break;case 2:case 9:if(ao(o)){X=0,ed=null,Qd(t);break}t=function(){X!==2&&X!==9||q!==e||(X=7),Ef(e)},o.then(t,t);break a;case 3:X=7;break a;case 4:X=5;break a;case 7:ao(o)?(X=0,ed=null,Qd(t)):(X=0,ed=null,$d(e,t,o,7));break;case 5:var s=null;switch(J.tag){case 26:s=J.memoizedState;case 5:case 27:var c=J;if(s?Ym(s):c.stateNode.complete){X=0,ed=null;var l=c.sibling;if(l!==null)J=l;else{var u=c.return;u===null?J=null:(J=u,ef(u))}break b}}X=0,ed=null,$d(e,t,o,5);break;case 6:X=0,ed=null,$d(e,t,o,6);break;case 8:Bd(),ad=6;break a;default:throw Error(i(462))}}Xd();break}catch(t){Hd(e,t)}while(1);return Ca=Sa=null,T.H=r,T.A=a,K=n,J===null?(q=null,Y=0,ji(),ad):0}function Xd(){for(;J!==null&&!Je();)Zd(J)}function Zd(e){var t=_l(e.alternate,e,id);e.memoizedProps=e.pendingProps,t===null?ef(e):J=t}function Qd(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Zc(n,t,t.pendingProps,t.type,void 0,Y);break;case 11:t=Zc(n,t,t.pendingProps,t.type.render,t.ref,Y);break;case 5:us(t);var r=t;r===ua&&(P?(ga(r),r.tag===5&&r.stateNode!=null&&(N=r.stateNode)):(ga(r),P=!0));default:Tl(n,t),t=J=Hi(t,id),t=_l(n,t,id)}e.memoizedProps=e.pendingProps,t===null?ef(e):J=t}function $d(e,t,n,r){Ca=Sa=null,us(t),fo=null,po=0;var i=t.return;try{if(Ic(e,i,t,n,Y)){ad=1,R(e,Yi(n,e.current)),J=null;return}}catch(t){if(i!==null)throw J=i,t;ad=1,R(e,Yi(n,e.current)),J=null;return}t.flags&32768?(P||r===1?e=!0:nd||Y&536870912?e=!1:(td=e=!0,(r===2||r===9||r===3||r===6)&&(r=Lo.current,r!==null&&r.tag===13&&(r.flags|=16384))),tf(t,e)):ef(t)}function ef(e){var t=e;do{if(t.flags&32768){tf(t,td);return}e=t.return;var n=Cl(t.alternate,t,id);if(n!==null){J=n;return}if(t=t.sibling,t!==null){J=t;return}J=t=e}while(t!==null);ad===0&&(ad=5)}function tf(e,t){do{var n=wl(e.alternate,e);if(n!==null){n.flags&=32767,J=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){J=e;return}J=e=n}while(e!==null);ad=6,J=null}function nf(e,t,n,r,a,o,s,c,l,u,d,f){e.cancelPendingCommit=null;do df();while(yd!==0);if(K&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));e===q&&(J=q=null,Y=0),xd=t,bd=e,Sd=n,wd=a,Td=r,rf(e,t,n,s,c,l,f)}}function rf(e,t,n,r,i,a,o){var s=t.lanes|t.childLanes;if(Cd=s,s|=Ai,St(e,n,s,r,i,a),Dd=null,(n&335544064)===n?(Od=Ha(e),r=10262):(Od=null,r=10256),(t.subtreeFlags&r)!==0||(t.flags&r)!==0?(e.callbackNode=null,e.callbackPriority=0,yf(et,function(){return ff(),null})):(e.callbackNode=null,e.callbackPriority=0),Wl=!1,r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=T.T,T.T=null,i=E.p,E.p=2,a=K,K|=4;try{vu(e,t,n)}finally{K=a,E.p=i,T.T=r}}yd=1,Wl?Ed=Mp(o,e.containerInfo,Od,sf,cf,of,lf,ff,af,null,null):(sf(),cf(),lf())}function af(e){if(yd!==0){var t=bd.onRecoverableError;t(e,{componentStack:null})}}function of(){yd===3&&(yd=0,Iu(xd,bd),yd=4)}function sf(){if(yd===1){yd=0;var e=bd,t=xd,n=Sd,r=!!(t.flags&13878);if(t.subtreeFlags&13878||r){r=T.T,T.T=null;var i=E.p;E.p=2;var a=K;K|=4;try{hu=gu=!1,Nu(t,e,n),n=cp;var o=ei(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&$r(s.ownerDocument.documentElement,s)){if(c!==null&&ti(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Qr(s,h),v=Qr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}gh=!!sp,cp=sp=null}finally{K=a,E.p=i,T.T=r}}e.current=t,yd=2}}function cf(){if(yd===2){yd=0;var e=bd,t=xd,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=T.T,T.T=null;var r=E.p;E.p=2;var i=K;K|=4;try{bu(e,t.alternate,t)}finally{K=i,E.p=r,T.T=n}}yd=3}}function lf(){if(yd===4||yd===3){yd=0;var e=Ed;Ed=null,Ye();var t=bd,n=xd,r=Sd,i=Td,a=(r&335544064)===r?10262:10256;if((n.subtreeFlags&a)!==0||(n.flags&a)!==0?yd=5:(yd=0,xd=bd=null,uf(t,t.pendingLanes)),a=t.pendingLanes,a===0&&(vd=null),Dt(r),n=n.stateNode,at&&typeof at.onCommitFiberRoot==`function`)try{at.onCommitFiberRoot(k,n,void 0,(n.current.flags&128)==128)}catch{}if(i!==null){n=T.T,a=E.p,E.p=2,T.T=null;try{for(var o=t.onRecoverableError,s=0;s<i.length;s++){var c=i[s];o(c.value,{componentStack:c.stack})}}finally{T.T=n,E.p=a}}if(i=Dd,o=Od,Od=null,i!==null&&(Dd=null,o===null&&(o=[]),e!==null))for(c=0;c<i.length;c++)n=(0,i[c])(o),n!==void 0&&e.finished.finally(n);Sd&3&&df(),Ef(t),a=t.pendingLanes,r&261930&&a&42?t===Ad?kd++:(kd=0,Ad=t):(kd=0,Ad=null),Df(0,!1)}}function uf(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,za(t)))}function df(){return Ed!==null&&(Ed.skipTransition(),Ed=null),sf(),cf(),lf(),ff()}function ff(){if(yd!==5)return!1;var e=bd,t=Cd;Cd=0;var n=Dt(Sd),r=T.T,a=E.p;try{E.p=32>n?32:n,T.T=null,n=wd,wd=null;var o=bd,s=Sd;if(yd=0,xd=bd=null,Sd=0,K&6)throw Error(i(331));var c=K;if(K|=4,Yu(o.current),Hu(o,o.current,s,n),K=c,Df(0,!1),at&&typeof at.onPostCommitFiberRoot==`function`)try{at.onPostCommitFiberRoot(k,o)}catch{}return!0}finally{E.p=a,T.T=r,uf(e,t)}}function pf(e,t,n){t=Yi(n,t),t=Nc(e.stateNode,t,2),e=wo(e,t,2),e!==null&&(xt(e,2),Ef(e))}function Z(e,t,n){if(e.tag===3)pf(e,e,n);else for(;t!==null;){if(t.tag===3){pf(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(vd===null||!vd.has(r))){e=Yi(n,e),n=Pc(2),r=wo(t,n,2),r!==null&&(Fc(n,r,t,e),xt(r,2),Ef(r));break}}t=t.return}}function mf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $u;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(rd=!0,i.add(n),e=hf.bind(null,e,t,n),t.then(e,e))}function hf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,q===e&&(Y&n)===n&&(ad===4||ad===3&&(Y&62914560)===Y&&300>Xe()-md?K&2?cd|=n:Vd(e,0):cd|=n,ud===Y&&(ud=0)),Ef(e)}function gf(e,t){t===0&&(t=yt()),e=Pi(e,t),e!==null&&(xt(e,t),Ef(e))}function _f(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gf(e,n)}function vf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),gf(e,n)}function yf(e,t){return Ke(e,t)}var bf=null,xf=null,Sf=!1,Cf=!1,wf=!1,Tf=0;function Ef(e){e!==xf&&e.next===null&&(xf===null?bf=xf=e:xf=xf.next=e),Cf=!0,Sf||(Sf=!0,Nf())}function Df(e,t){if(!wf&&Cf){wf=!0;do for(var n=!1,r=bf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-st(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Mf(r,a))}else a=Y,a=ht(r,r===q?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||gt(r,a)||(n=!0,Mf(r,a))}r=r.next}while(n);wf=!1}}function Of(){kf()}function kf(){Cf=Sf=!1;var e=0;Tf!==0&&hp()&&(e=Tf);for(var t=Xe(),n=null,r=bf;r!==null;){var i=r.next,a=Af(r,t);a===0?(r.next=null,n===null?bf=i:n.next=i,i===null&&(xf=n)):(n=r,(e!==0||a&3)&&(Cf=!0)),r=i}yd!==0&&yd!==5||Df(e,!1),Tf!==0&&(Tf=0)}function Af(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-st(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=vt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=q,n=Y,n=ht(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(X===2||X===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&qe(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||gt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&qe(r),Dt(n)){case 2:case 8:n=$e;break;case 32:n=et;break;case 268435456:n=nt;break;default:n=et}return r=jf.bind(null,e),n=Ke(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&qe(r),e.callbackPriority=2,e.callbackNode=null,2}function jf(e,t){if(yd!==0&&yd!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(df()&&e.callbackNode!==n)return null;var r=Y;return r=ht(e,e===q?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Fd(e,r,t),Af(e,Xe()),e.callbackNode!=null&&e.callbackNode===n?jf.bind(null,e):null)}function Mf(e,t){if(df())return null;Fd(e,t,!0)}function Nf(){bp(function(){K&6?Ke(Qe,Of):kf()})}function Pf(){if(Tf===0){var e=Ga;e===0&&(e=dt,dt<<=1,!(dt&261888)&&(dt=256)),Tf=e}return Tf}function Ff(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:wn(e)}function If(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=Ff((i[A]||null).action),o=r.submitter;o&&(t=(t=o[A]||null)?Ff(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Kn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Tf!==0){var e=new FormData(i,o);oc(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=new FormData(i,o),oc(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Lf=0;Lf<xi.length;Lf++){var Rf=xi[Lf];Si(Rf.toLowerCase(),`on`+(Rf[0].toUpperCase()+Rf.slice(1)))}Si(pi,`onAnimationEnd`),Si(mi,`onAnimationIteration`),Si(hi,`onAnimationStart`),Si(`dblclick`,`onDoubleClick`),Si(`focusin`,`onFocus`),Si(`focusout`,`onBlur`),Si(gi,`onTransitionRun`),Si(_i,`onTransitionStart`),Si(vi,`onTransitionCancel`),Si(yi,`onTransitionEnd`),Yt(`onMouseEnter`,[`mouseout`,`mouseover`]),Yt(`onMouseLeave`,[`mouseout`,`mouseover`]),Yt(`onPointerEnter`,[`pointerout`,`pointerover`]),Yt(`onPointerLeave`,[`pointerout`,`pointerover`]),Jt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Jt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Jt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Jt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Jt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Jt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var zf=`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(` `),Bf=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(zf));function Vf(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Di(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Di(e)}i.currentTarget=null,a=c}}}}function Q(e,t){var n=t[Nt];n===void 0&&(n=t[Nt]=new Set);var r=e+`__bubble`;n.has(r)||(Gf(t,e,2,!1),n.add(r))}function Hf(e,t,n){var r=0;t&&(r|=4),Gf(n,e,r,t)}var Uf=`_reactListening`+Math.random().toString(36).slice(2);function Wf(e){if(!e[Uf]){e[Uf]=!0,Kt.forEach(function(t){t!==`selectionchange`&&(Bf.has(t)||Hf(t,!1,e),Hf(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Uf]||(t[Uf]=!0,Hf(`selectionchange`,!1,t))}}function Gf(e,t,n,r){switch(Ch(t)){case 2:var i=_h;break;case 8:i=vh;break;default:i=yh}n=i.bind(null,t,n,e),i=void 0,!Fn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Kf(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=Bt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}Mn(function(){var r=a,i=Dn(n),s=[];a:{var c=bi.get(e);if(c!==void 0){var l=Kn,u=e;switch(e){case`keypress`:if(Vn(n)===0)break a;case`keydown`:case`keyup`:l=ur;break;case`focusin`:u=`focus`,l=tr;break;case`focusout`:u=`blur`,l=tr;break;case`beforeblur`:case`afterblur`:l=tr;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=$n;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=er;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=pr;break;case pi:case mi:case hi:l=nr;break;case yi:l=mr;break;case`scroll`:case`scrollend`:l=Jn;break;case`wheel`:l=hr;break;case`copy`:case`cut`:case`paste`:l=rr;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=dr;break;case`submit`:l=fr;break;case`toggle`:case`beforetoggle`:l=gr}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=Nn(m,p),g!=null&&d.push(qf(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(l=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,l&&n!==En&&(u=n.relatedTarget||n.fromElement)&&(Bt(u)||u[Mt]))break a;(c||l)&&(u=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Bt(l):null,l!==null&&(f=o(l),d=l.tag,l!==f||d!==5&&d!==27&&d!==6)&&(l=null)):(c=null,l=r),c!==l&&(d=$n,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=dr,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=c==null?u:Ht(c),h=l==null?u:Ht(l),u=new d(g,m+`leave`,c,n,i),u.target=f,u.relatedTarget=h,g=null,Bt(i)===r&&(d=new d(p,m+`enter`,l,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,d=c&&l?ne(c,l,Yf):null,c!==null&&Xf(s,u,c,d,!1),l!==null&&f!==null&&Xf(s,f,l,d,!0)))}a:{if(c=r?Ht(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var _=Ir;else if(Ar(c)){if(Lr)_=Kr;else{_=Wr;var v=Ur}}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&xn(r.elementType)&&(_=Ir):_=Gr;if(_&&=_(e,r)){jr(s,_,n,i);break a}v&&v(e,c,r)}switch(v=r?Ht(r):window,e){case`focusin`:(Ar(v)||v.contentEditable===`true`)&&(ri=v,ii=r,ai=null);break;case`focusout`:ai=ii=ri=null;break;case`mousedown`:oi=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:oi=!1,si(s,n,i);break;case`selectionchange`:if(ni)break;case`keydown`:case`keyup`:si(s,n,i)}var y;if(vr)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else Er?wr(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(b=`onCompositionStart`);b&&(xr&&n.locale!==`ko`&&(Er||b!==`onCompositionStart`?b===`onCompositionEnd`&&Er&&(y=Bn()):(Ln=i,Rn=`value`in Ln?Ln.value:Ln.textContent,Er=!0)),v=Jf(r,b),0<v.length&&(b=new ir(b,e,null,n,i),s.push({event:b,listeners:v}),y?b.data=y:(y=Tr(n),y!==null&&(b.data=y)))),(y=br?Dr(e,n):Or(e,n))&&(b=Jf(r,`onBeforeInput`),0<b.length&&(v=new ir(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:v,listeners:b}),v.data=y)),If(s,e,r,n,i)}Vf(s,t)})}function qf(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Jf(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=Nn(e,n),i!=null&&r.unshift(qf(e,i,a)),i=Nn(e,t),i!=null&&r.push(qf(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Yf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Xf(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=Nn(n,a),l!=null&&o.unshift(qf(n,l,c))):i||(l=Nn(n,a),l!=null&&o.push(qf(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Zf=/\r\n?/g,Qf=/\u0000|\uFFFD/g;function $f(e){return(typeof e==`string`?e:``+e).replace(Zf,`
|
|
9
|
+
`).replace(Qf,``)}function ep(e,t){return t=$f(t),$f(e)===t}function $(e,t,n,r,a,o){switch(n){case`children`:if(typeof r==`string`)t===`body`||t===`textarea`&&r===``||_n(e,r);else if(typeof r==`number`||typeof r==`bigint`)t!==`body`&&_n(e,``+r);else return;break;case`className`:tn(e,`class`,r);break;case`tabIndex`:tn(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:tn(e,n,r);break;case`style`:bn(e,r,o);return;case`data`:if(t!==`object`){tn(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=wn(r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`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}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&$(e,t,`name`,a.name,a,null),$(e,t,`formEncType`,a.formEncType,a,null),$(e,t,`formMethod`,a.formMethod,a,null),$(e,t,`formTarget`,a.formTarget,a,null)):($(e,t,`encType`,a.encType,a,null),$(e,t,`method`,a.method,a,null),$(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=wn(r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=Tn);return;case`onScroll`:r!=null&&Q(`scroll`,e);return;case`onScrollEnd`:r!=null&&Q(`scrollend`,e);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=wn(r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`: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`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Q(`beforetoggle`,e),Q(`toggle`,e),en(e,`popover`,r);break;case`xlinkActuate`:nn(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:nn(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:nn(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:nn(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:nn(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:nn(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:nn(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:nn(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:nn(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:en(e,`is`,r);break;case`innerText`:case`textContent`:return;default:if(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)n=Sn.get(n)||n,en(e,n,r);else return}M=!0}function tp(e,t,n,r,a,o){switch(n){case`style`:bn(e,r,o);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`children`:if(typeof r==`string`)_n(e,r);else if(typeof r==`number`||typeof r==`bigint`)_n(e,``+r);else return;break;case`onScroll`:r!=null&&Q(`scroll`,e);return;case`onScrollEnd`:r!=null&&Q(`scrollend`,e);return;case`onClick`:r!=null&&(e.onclick=Tn);return;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:return;case`innerText`:case`textContent`:return;default:if(!qt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),o=n.slice(2,a?n.length-7:void 0),t=e[A]||null,t=t==null?null:t[n],typeof t==`function`&&e.removeEventListener(o,t,a),typeof r==`function`)){typeof t!=`function`&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(o,r,a);break a}M=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,``):en(e,n,r)}return}M=!0}function np(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Q(`error`,e),Q(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:$(e,t,o,s,n,null)}}a&&$(e,t,`srcSet`,n.srcSet,n,null),r&&$(e,t,`src`,n.src,n,null);return;case`input`:Q(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:$(e,t,r,d,n,null)}}fn(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Q(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:$(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&mn(e,!!r,n,!0):mn(e,!!r,t,!1);return;case`textarea`:for(s in Q(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:$(e,t,s,c,n,null)}gn(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:$(e,t,l,r,n,null)}return;case`dialog`:Q(`beforetoggle`,e),Q(`toggle`,e),Q(`cancel`,e),Q(`close`,e);break;case`iframe`:case`object`:Q(`load`,e);break;case`video`:case`audio`:for(r=0;r<zf.length;r++)Q(zf[r],e);break;case`image`:Q(`error`,e),Q(`load`,e);break;case`details`:Q(`toggle`,e);break;case`embed`:case`source`:case`link`:Q(`error`,e),Q(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:$(e,t,u,r,n,null)}return;default:if(xn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&tp(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&$(e,t,c,r,n,null))}var rp={};function ip(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||$(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:m!==f&&(M=!0),o=m;break;case`name`:m!==f&&(M=!0),a=m;break;case`checked`:m!==f&&(M=!0),u=m;break;case`defaultChecked`:m!==f&&(M=!0),d=m;break;case`value`:m!==f&&(M=!0),s=m;break;case`defaultValue`:m!==f&&(M=!0),c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&$(e,t,p,m,r,f)}}dn(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||$(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:o!==l&&(M=!0),p=o;break;case`defaultValue`:o!==l&&(M=!0),c=o;break;case`multiple`:o!==l&&(M=!0),s=o;default:o!==l&&$(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?mn(e,!!n,n?[]:``,!1):mn(e,!!n,t,!0)):mn(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:$(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:a!==o&&(M=!0),p=a;break;case`defaultValue`:a!==o&&(M=!0),m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&$(e,t,s,a,r,o)}hn(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:$(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:p!==m&&(M=!0),e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:$(e,t,l,p,r,m)}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 g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&$(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:$(e,t,u,p,r,m)}return;default:if(xn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&tp(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||tp(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&$(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||$(e,t,f,p,r,m)}function ap(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function op(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&ap(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&ap(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var sp=null,cp=null;function lp(e){return e.nodeType===9?e:e.ownerDocument}function up(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function dp(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function fp(e,t,n,r){return n=lp(n).createElement(e),n[jt]=r,n[A]=t,np(n,e,t),Wt(n),n}function pp(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var mp=null;function hp(){var e=window.event;return e&&e.type===`popstate`?e!==mp&&(mp=e,!0):(mp=null,!1)}var gp=typeof setTimeout==`function`?setTimeout:void 0,_p=typeof clearTimeout==`function`?clearTimeout:void 0,vp=typeof Promise==`function`?Promise:void 0,yp=typeof requestAnimationFrame==`function`?requestAnimationFrame:gp,bp=typeof queueMicrotask==`function`?queueMicrotask:vp===void 0?gp:function(e){return vp.resolve(null).then(e).catch(xp)};function xp(e){setTimeout(function(){throw e})}function Sp(e){return e===`head`}function Cp(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Hh(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)_m(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,_m(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Lt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&_m(e.ownerDocument.body)}n=i}while(n);Hh(t)}function wp(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8){if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++}n=r}while(n)}function Tp(e,t,n){if(t=CSS.escape(t)===t?t:`r-`+btoa(t).replace(/=/g,``),e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display===`inline`){if(t=e.getClientRects(),t.length===1)var r=1;else for(var i=r=0;i<t.length;i++){var a=t[i];0<a.width&&0<a.height&&r++}r===1&&(e=e.style,e.display=t.length===1?`inline-block`:`block`,e.marginTop=`-`+n.paddingTop,e.marginBottom=`-`+n.paddingBottom)}}function Ep(e,t){e=e.style,t=t.style;var n=t==null?null:t.hasOwnProperty(`viewTransitionName`)?t.viewTransitionName:t.hasOwnProperty(`view-transition-name`)?t[`view-transition-name`]:null;e.viewTransitionName=n==null||typeof n==`boolean`?``:(``+n).trim(),n=t==null?null:t.hasOwnProperty(`viewTransitionClass`)?t.viewTransitionClass:t.hasOwnProperty(`view-transition-class`)?t[`view-transition-class`]:null,e.viewTransitionClass=n==null||typeof n==`boolean`?``:(``+n).trim(),e.display===`inline-block`&&(t==null?e.display=e.margin=``:(n=t.display,e.display=n==null||typeof n==`boolean`?``:n,n=t.margin,n==null?(n=t.hasOwnProperty(`marginTop`)?t.marginTop:t[`margin-top`],e.marginTop=n==null||typeof n==`boolean`?``:n,t=t.hasOwnProperty(`marginBottom`)?t.marginBottom:t[`margin-bottom`],e.marginBottom=t==null||typeof t==`boolean`?``:t):e.margin=n))}function Dp(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position===`absolute`||t.position===`fixed`,clip:t.clipPath!==`none`||t.overflow!==`visible`||t.filter!==`none`||t.mask!==`none`||t.mask!==`none`||t.borderRadius!==`0px`,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Op(e){return Dp(e.getBoundingClientRect(),getComputedStyle(e),e)}function kp(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var n=getComputedStyle(e);return Dp(t,n,e)}function Ap(e){return e.documentElement.clientHeight}function jp(e){this.addEventListener(`load`,e),this.addEventListener(`error`,e)}function Mp(e,t,n,r,i,a,o,s,c){var l=t.nodeType===9?t:t.ownerDocument;try{var u=l.startViewTransition({update:function(){var t=l.defaultView,n=t.navigation&&t.navigation.transition,o=l.fonts.status;r();var s=[];if(o===`loaded`&&(Ap(l),l.fonts.status===`loading`&&s.push(l.fonts.ready)),o=s.length,e!==null)for(var c=e.suspenseyImages,u=0,d=0;d<c.length;d++){var f=c[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if(u+=Xm(f),u>$m){s.length=o;break}f=new Promise(jp.bind(f)),s.push(f)}}}if(0<s.length)return t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,500)})]).then(i,i),(n?Promise.allSettled([n.finished,t]):t).then(a,a);if(i(),n)return n.finished.then(a,a);a()},types:n});l.__reactViewTransition=u;var d=[];return u.ready.then(function(){for(var e=l.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,i=r.pseudoElement;if(i!=null&&i.startsWith(`::view-transition`)){d.push(n),n=r.getKeyframes();for(var a=i=void 0,s=!0,c=0;c<n.length;c++){var u=n[c],f=u.width;if(i===void 0)i=f;else if(i!==f){s=!1;break}if(f=u.height,a===void 0)a=f;else if(a!==f){s=!1;break}delete u.width,delete u.height,u.transform===`none`&&delete u.transform}s&&i!==void 0&&a!==void 0&&(r.setKeyframes(n),s=getComputedStyle(r.target,r.pseudoElement),s.width!==i||s.height!==a)&&(s=n[0],s.width=i,s.height=a,s=n[n.length-1],s.width=i,s.height=a,r.setKeyframes(n))}}o()},function(e){l.__reactViewTransition===u&&(l.__reactViewTransition=null);try{if(typeof e==`object`&&e)switch(e.name){case`InvalidStateError`:(e.message===`View transition was skipped because document visibility state is hidden.`||e.message===`Skipping view transition because document visibility state has become hidden.`||e.message===`Skipping view transition because viewport size changed.`||e.message===`Transition was aborted because of invalid state`)&&(e=null)}e!==null&&c(e)}finally{r(),i(),o()}}),u.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();l.__reactViewTransition===u&&(l.__reactViewTransition=null),s()}),u}catch{return r(),i(),o(),null}}function Np(e,t){this._scope=document.documentElement,this._selector=`::view-transition-`+e+`(`+t+`)`}Np.prototype.animate=function(e,t){return t=typeof t==`number`?{duration:t}:w({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Np.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],i=0;i<n.length;i++){var a=n[i].effect;a!==null&&a.target===e&&a.pseudoElement===t&&r.push(n[i])}return r},Np.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Pp(e){return{name:e,group:new Np(`group`,e),imagePair:new Np(`image-pair`,e),old:new Np(`old`,e),new:new Np(`new`,e)}}function Fp(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}Fp.prototype.addEventListener=function(e,t,n){var r=null,i=null;if(!(n!=null&&typeof n!=`boolean`&&(r=n.signal||null,r!==null&&r.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var a=this._eventListeners;if(Bp(a,e,t,n)===-1){var o=this,s=t;n!=null&&typeof n!=`boolean`&&!0===n.once&&(s=function(r){o.removeEventListener(e,t,n),typeof t==`function`?t.call(this,r):t.handleEvent(r)}),r!==null&&(i=o.removeEventListener.bind(o,e,t,n),r.addEventListener(`abort`,i,{once:!0}),i=r.removeEventListener.bind(r,`abort`,i)),r=Rp(n),a.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:i}),h(this._fragmentFiber.child,!1,Ip,e,s,r)}this._eventListeners=a}};function Ip(e,t,n,r){return b(e).addEventListener(t,n,r),!1}Fp.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(r!==null&&(t=Bp(r,e,t,n),t!==-1)){var i=r[t];n=i.attachedListener;var a=i.cleanup;i=Rp(i.optionsOrUseCapture),h(this._fragmentFiber.child,!1,Lp,e,n,i),r.splice(t,1),a!==null&&a()}};function Lp(e,t,n,r){return b(e).removeEventListener(t,n,r),!1}function Rp(e){return e!=null&&typeof e!=`boolean`&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function zp(e){return e==null?`c=0`:typeof e==`boolean`?`c=`+(e?`1`:`0`):`c=`+(e.capture?`1`:`0`)}function Bp(e,t,n,r){if(e.length===0)return-1;r=zp(r);for(var i=0;i<e.length;i++){var a=e[i];if(a.type===t&&a.listener===n&&zp(a.optionsOrUseCapture)===r)return i}return-1}Fp.prototype.dispatchEvent=function(e){var t=g(this._fragmentFiber);if(t===null)return!0;t=b(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var r=t.nodeType===9?t.createComment(``):document.createTextNode(``);if(n)for(var i=0;i<n.length;i++){var a=n[i];r.addEventListener(a.type,a.attachedListener,Rp(a.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(i=0;i<n.length;i++)a=n[i],r.removeEventListener(a.type,a.attachedListener,Rp(a.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},Fp.prototype.focus=function(e){h(this._fragmentFiber.child,!0,Vp,e,void 0,void 0)};function Vp(e,t){return e.tag!==6&&(e=b(e),pm(e,t))}Fp.prototype.focusLast=function(e){var t=[];h(this._fragmentFiber.child,!0,Hp,t,void 0,void 0);for(var n=t.length-1;0<=n&&!Vp(t[n],e);n--);};function Hp(e,t){return t.push(e),!1}Fp.prototype.blur=function(){var e=g(this._fragmentFiber);e!==null&&(e=b(e),e=lp(e).activeElement,e!==null&&h(this._fragmentFiber.child,!1,Up,e,void 0,void 0))};function Up(e,t){return e.tag!==6&&(e=b(e),e===t||e.contains(t)?(t.blur(),!0):!1)}Fp.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),h(this._fragmentFiber.child,!1,Wp,e,void 0,void 0)};function Wp(e,t){return e.tag!==6&&(e=b(e),t.observe(e),!1)}Fp.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),h(this._fragmentFiber.child,!1,Gp,e,void 0,void 0);for(var n=t=0;n<Kp.length;n++){var r=Kp[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):Kp[t++]=r}Kp.length=t}};function Gp(e,t){return e.tag!==6&&(e=b(e),t.unobserve(e),!1)}var Kp=[],qp=!1;function Jp(e,t,n){Kp.push({fragmentInstance:e,observer:t,instance:n}),qp||(qp=!0,mm(function(){qp=!1;var e=Kp;Kp=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}}))}Fp.prototype.getClientRects=function(){var e=[];return h(this._fragmentFiber.child,!1,Yp,e,void 0,void 0),e};function Yp(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=b(e),t.push.apply(t,e.getClientRects());return!1}Fp.prototype.getRootNode=function(e){var t=g(this._fragmentFiber);return t===null?this:b(t).getRootNode(e)},Fp.prototype.compareDocumentPosition=function(e){var t=g(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];h(this._fragmentFiber.child,!1,Hp,n,void 0,void 0);var r=b(t);if(n.length===0){if(n=r,_(this._fragmentFiber)){a:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break a}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(n=t)}t=this._fragmentFiber;var i=r=n.compareDocumentPosition(e);return n===e?i=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=v(t)[1],n===null?i=Node.DOCUMENT_POSITION_PRECEDING:(e=b(n).compareDocumentPosition(e),i=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),i|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=b(n[0]),i=b(n[n.length-1]);var a=_(this._fragmentFiber)?t.parentElement:r;if(a==null)return Node.DOCUMENT_POSITION_DISCONNECTED;r=a.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,a=a.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY;var o=t.compareDocumentPosition(e),s=i.compareDocumentPosition(e),c=o&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&a&&o&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=r&&t===e||a&&i===e||c||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!a&&i===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:o,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Xp(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Xp(e,t,n,r,i){var a=Bt(i);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!a)a:{for(;a!==null;){if(a.tag===7&&(a===t||a.alternate===t)){n=!0;break a}a=a.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(a===null)return a=i.ownerDocument,i===a||i===a.documentElement||i===a.body;a:{for(a=t,t=g(t);a!==null;){if(!(a.tag!==5&&a.tag!==3&&a.tag!==27||a!==t&&a.alternate!==t)){a=!0;break a}a=a.return}a=!1}return a}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!a)&&!(t=a===n)&&(t=ne(n,a,C),t===null?t=!1:(h(t,!0,ee,a,n),a=x,x=null,t=a!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!a)&&!(t=a===r)&&(t=ne(r,a,C),t===null?t=!1:(h(t,!0,te,a,r),a=x,S=x=null,t=a!==null)),t):!1}function Zp(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}Fp.prototype.scrollIntoView=function(e){if(typeof e==`object`)throw Error(i(566));var t=[];h(this._fragmentFiber.child,!1,Hp,t,void 0,void 0);var n=!1!==e;if(t.length===0){var r=v(this._fragmentFiber);if(r=n?r[1]||r[0]||g(this._fragmentFiber):r[0]||r[1],r===null)return;if(r.tag===6){e=b(r),Zp(e,n);return}if(r=b(r),r.nodeType!==9){if(r.nodeType===11){n=`host`in r?r.host:null,n!==null&&n.scrollIntoView(e);return}r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var a=t[r];a.tag===6?(a=b(a),Zp(a,n)):b(a).scrollIntoView(e),r+=n?-1:1}};function Qp(e,t){return e=b(e),$p(e,t),!1}function $p(e,t){e.reactFragments??=new Set,e.reactFragments.add(t)}function em(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.addEventListener(i.type,i.attachedListener,Rp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){for(var r=0,i=0;i<Kp.length;i++){var a=Kp[i];(a.fragmentInstance!==t||a.observer!==n||a.instance!==e)&&(Kp[r++]=a)}Kp.length=r,n.observe(e)}),$p(e,t))}function tm(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.removeEventListener(i.type,i.attachedListener,Rp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){typeof n.rootMargin==`string`?Jp(t,n,e):n.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function nm(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:nm(n),zt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function rm(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[Lt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=lm(e.nextSibling),e===null)break}return null}function im(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=lm(e.nextSibling),e===null))return null;return e}function am(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=lm(e.nextSibling),e===null))return null;return e}function om(e){return e.data===`$?`||e.data===`$~`}function sm(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function cm(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function lm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var um=null;function dm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return lm(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function fm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function pm(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener(`focus`,n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener(`focus`,n,!0)}return r}function mm(e){yp(function(){yp(function(t){return e(t)})})}function hm(e,t,n){switch(t=lp(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function gm(e,t,n){for(var r in n){var i=n[r];n.hasOwnProperty(r)&&i!=null&&$(e,t,r,null,rp,i)}n.dangerouslySetInnerHTML!=null&&(e.textContent=``),e.onclick===Tn&&(e.onclick=null),zt(e)}function _m(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);zt(e)}var vm=new Map,ym=new Set;function bm(e){if(typeof e.getRootNode==`function`){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var xm=E.d;E.d={f:Sm,r:Cm,D:Em,C:Dm,L:Om,m:km,X:jm,S:Am,M:Mm};function Sm(){var e=xm.f(),t=zd();return e||t}function Cm(e){var t=Vt(e);t!==null&&t.tag===5&&t.type===`form`?cc(t):xm.r(e)}var wm=typeof document>`u`?null:document;function Tm(e,t,n){var r=wm;if(r&&typeof t==`string`&&t){var i=un(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),ym.has(i)||(ym.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),np(t,`link`,e),Wt(t),r.head.appendChild(t)))}}function Em(e){xm.D(e),Tm(`dns-prefetch`,e,null)}function Dm(e,t){xm.C(e,t),Tm(`preconnect`,e,t)}function Om(e,t,n){xm.L(e,t,n);var r=wm;if(r&&e&&t){var i=`link[rel="preload"][as="`+un(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+un(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+un(n.imageSizes)+`"]`)):i+=`[href="`+un(e)+`"]`;var a=i;switch(t){case`style`:a=Pm(e);break;case`script`:a=Rm(e)}if(!(vm.has(a)||(e=w({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),vm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Fm(a))||t===`script`&&r.querySelector(zm(a))))){var o=r.createElement(`link`);np(o,`link`,e),t===`style`&&(o[Rt]=!0,o.onload=o.onerror=function(){Gt(o)}),Wt(o),r.head.appendChild(o)}}}function km(e,t){xm.m(e,t);var n=wm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+un(r)+`"][href="`+un(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Rm(e)}if(!vm.has(a)&&(e=w({rel:`modulepreload`,href:e},t),vm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(zm(a)))return}r=n.createElement(`link`),np(r,`link`,e),Wt(r),n.head.appendChild(r)}}}function Am(e,t,n){xm.S(e,t,n);var r=wm;if(r&&e){var i=Ut(r).hoistableStyles,a=Pm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Fm(a)))s.loading=5;else{e=w({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=vm.get(a))&&Hm(e,n);var c=o=r.createElement(`link`);Wt(c),np(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Vm(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function jm(e,t){xm.X(e,t);var n=wm;if(n&&e){var r=Ut(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=w({src:e,async:!0},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Wt(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Mm(e,t){xm.M(e,t);var n=wm;if(n&&e){var r=Ut(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=w({src:e,async:!0,type:`module`},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Wt(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nm(e,t,n,r){var a=(a=O.current)?bm(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Pm(n.href),t=Ut(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Pm(n.href);var o=Ut(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Fm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=vm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},vm.set(e,o)),Lm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Rm(n),t=Ut(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Pm(e){return`href="`+un(e)+`"`}function Fm(e){return`link[rel="stylesheet"][`+e+`]`}function Im(e){return w({},e,{"data-precedence":e.precedence,precedence:null})}function Lm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[Rt]){r.loading=1;return}}else t=e.createElement(`link`),t[Rt]=!0,t.onload=t.onerror=Gt.bind(null,t),np(t,`link`,n),Wt(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Rm(e){return`[src="`+un(e)+`"]`}function zm(e){return`script[async]`+e}function Bm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+un(n.href)+`"]`);if(r)return t.instance=r,Wt(r),r;var a=w({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Wt(r),np(r,`style`,a),Vm(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Pm(n.href);var o=e.querySelector(Fm(a));if(o)return t.state.loading|=4,t.instance=o,Wt(o),o;r=Im(n),(a=vm.get(a))&&Hm(r,a),o=(e.ownerDocument||e).createElement(`link`),Wt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),np(o,`link`,r),t.state.loading|=4,Vm(o,n.precedence,e),t.instance=o;case`script`:return o=Rm(n.src),(a=e.querySelector(zm(o)))?(t.instance=a,Wt(a),a):(r=n,(a=vm.get(o))&&(r=w({},n),Um(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Wt(a),np(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Vm(r,n.precedence,e));return t.instance}function Vm(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Hm(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Um(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Wm=null;function Gm(e,t,n){if(Wm===null){var r=new Map,i=Wm=new Map;i.set(n,r)}else i=Wm,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[Lt]||a[jt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Km(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function qm(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Jm(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Ym(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Xm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function Zm(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Xm(t),e.suspenseyImages.push(t)),e=rh.bind(e),t.decode().then(e,e))}function Qm(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Pm(r.href),a=t.querySelector(Fm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=nh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Wt(a);return}a=t.ownerDocument||t,r=Im(r),(i=vm.get(i))&&Hm(r,i),a=a.createElement(`link`),Wt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),np(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=nh.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var $m=0;function eh(e,t){return e.stylesheets&&e.count===0&&ah(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&ah(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&$m===0&&($m=62500*op());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ah(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>$m?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function th(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)ah(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function nh(){this.count--,th(this)}function rh(){this.imgCount--,th(this)}var ih=null;function ah(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ih=new Map,t.forEach(oh,e),ih=null,nh.call(e))}function oh(e,t){if(!(t.state.loading&4)){var n=ih.get(e);if(n)var r=n.get(null);else{n=new Map,ih.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=nh.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var sh={$$typeof:ue,Provider:null,Consumer:null,_currentValue:Ee,_currentValue2:Ee,_threadCount:0};function ch(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,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=bt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bt(0),this.hiddenUpdates=bt(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.transitionTypes=null,this.incompleteTransitions=new Map}function lh(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ch(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=zi(3,null,null,t),e.current=a,a.stateNode=e,t=Ra(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},xo(a),e}function uh(e){return e?(e=Li,e):Li}function dh(e,t,n,r,i,a){i=uh(i),r.context===null?r.context=i:r.pendingContext=i,r=Co(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=wo(e,r,t),n!==null&&(Pd(n,e,t),To(n,e,t))}function fh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ph(e,t){fh(e,t),(e=e.alternate)&&fh(e,t)}function mh(e){if(e.tag===13||e.tag===31){var t=Pi(e,67108864);t!==null&&Pd(t,e,67108864),ph(e,67108864)}}function hh(e){if(e.tag===13||e.tag===31){var t=jd();t=Et(t);var n=Pi(e,t);n!==null&&Pd(n,e,t),ph(e,t)}}var gh=!0;function _h(e,t,n,r){var i=T.T;T.T=null;var a=E.p;try{E.p=2,yh(e,t,n,r)}finally{E.p=a,T.T=i}}function vh(e,t,n,r){var i=T.T;T.T=null;var a=E.p;try{E.p=8,yh(e,t,n,r)}finally{E.p=a,T.T=i}}function yh(e,t,n,r){if(gh){var i=bh(r);if(i===null)Kf(e,t,r,xh,n),Mh(e,r);else if(Ph(i,e,t,n,r))r.stopPropagation();else if(Mh(e,r),t&4&&-1<jh.indexOf(e)){for(;i!==null;){var a=Vt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=mt(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-st(o);s.entanglements[1]|=c,o&=~c}Ef(a),!(K&6)&&(gd=Xe()+500,Df(0,!1))}}break;case 31:case 13:s=Pi(a,2),s!==null&&Pd(s,a,2),zd(),ph(a,2)}if(a=bh(r),a===null&&Kf(e,t,r,xh,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Kf(e,t,r,null,n)}}function bh(e){return e=Dn(e),Sh(e)}var xh=null;function Sh(e){if(xh=null,e=Bt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return xh=e,null}function Ch(e){switch(e){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`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`fullscreenerror`: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`resize`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Ze()){case Qe:return 2;case $e:return 8;case et:case tt:return 32;case nt:return 268435456;default:return 32}default:return 32}}var wh=!1,Th=null,Eh=null,Dh=null,Oh=new Map,kh=new Map,Ah=[],jh=`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 Mh(e,t){switch(e){case`focusin`:case`focusout`:Th=null;break;case`dragenter`:case`dragleave`:Eh=null;break;case`mouseover`:case`mouseout`:Dh=null;break;case`pointerover`:case`pointerout`:Oh.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:kh.delete(t.pointerId)}}function Nh(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Vt(t),t!==null&&mh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ph(e,t,n,r,i){switch(t){case`focusin`:return Th=Nh(Th,e,t,n,r,i),!0;case`dragenter`:return Eh=Nh(Eh,e,t,n,r,i),!0;case`mouseover`:return Dh=Nh(Dh,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Oh.set(a,Nh(Oh.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,kh.set(a,Nh(kh.get(a)||null,e,t,n,r,i)),!0}return!1}function Fh(e){var t=Bt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,kt(e.priority,function(){hh(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,kt(e.priority,function(){hh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ih(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=bh(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);En=r,n.target.dispatchEvent(r),En=null}else return t=Vt(n),t!==null&&mh(t),e.blockedOn=n,!1;t.shift()}return!0}function Lh(e,t,n){Ih(e)&&n.delete(t)}function Rh(){wh=!1,Th!==null&&Ih(Th)&&(Th=null),Eh!==null&&Ih(Eh)&&(Eh=null),Dh!==null&&Ih(Dh)&&(Dh=null),Oh.forEach(Lh),kh.forEach(Lh)}function zh(e,n){e.blockedOn===n&&(e.blockedOn=null,wh||(wh=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Rh)))}var Bh=null;function Vh(e){Bh!==e&&(Bh=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Bh===e&&(Bh=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(Sh(r||n)===null)continue;break}var a=Vt(n);a!==null&&(e.splice(t,3),t-=3,oc(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Hh(e){function t(t){return zh(t,e)}Th!==null&&zh(Th,e),Eh!==null&&zh(Eh,e),Dh!==null&&zh(Dh,e),Oh.forEach(t),kh.forEach(t);for(var n=0;n<Ah.length;n++){var r=Ah[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Ah.length&&(n=Ah[0],n.blockedOn===null);)Fh(n),n.blockedOn===null&&Ah.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[A]||null;if(typeof a==`function`)o||Vh(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[A]||null)s=o.formAction;else if(Sh(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Vh(n)}}}function Uh(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Wh(e){this._internalRoot=e}Gh.prototype.render=Wh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;dh(n,jd(),e,t,null,null)},Gh.prototype.unmount=Wh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;dh(e.current,2,null,e,null,null),zd(),t[Mt]=null}};function Gh(e){this._internalRoot=e}Gh.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ot();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ah.length&&t!==0&&t<Ah[n].priority;n++);Ah.splice(n,0,e),n===0&&Fh(e)}};var Kh=n.version;if(Kh!==`19.3.0`)throw Error(i(527,Kh,`19.3.0`));E.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=d(t),e=e===null?null:p(e),e=e===null?null:e.stateNode,e};var qh={bundleType:0,version:`19.3.0`,rendererPackageName:`react-dom`,currentDispatcherRef:T,reconcilerVersion:`19.3.0`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Jh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Jh.isDisabled&&Jh.supportsFiber)try{k=Jh.inject(qh),at=Jh}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=kc,s=Ac,c=jc;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=lh(e,1,!1,null,null,n,r,null,o,s,c,Uh),e[Mt]=t.current,Wf(e),new Wh(t)}})),g=o(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=h()})),_=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),v=o(((e,t)=>{t.exports=_()})),y=c(f(),1),b=(0,y.createContext)({});function x(e){let t=(0,y.useRef)(null);return t.current===null&&(t.current=e()),t.current}var S=typeof window<`u`?y.useLayoutEffect:y.useEffect,ee=(0,y.createContext)(null);function te(e,t){e.indexOf(t)===-1&&e.push(t)}function C(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var ne=(e,t,n)=>n>t?t:n<e?e:n,w={},re=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),ie=e=>typeof e==`object`&&!!e,ae=e=>/^0[^.\s]+$/u.test(e);function oe(e){let t;return()=>(t===void 0&&(t=e()),t)}var se=e=>e,ce=(...e)=>e.reduce((e,t)=>n=>t(e(n))),le=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},ue=class{constructor(){this.subscriptions=[]}add(e){return te(this.subscriptions,e),()=>this.remove(e)}remove(e){C(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},de=e=>e*1e3,fe=e=>e/1e3,pe=(e,t)=>t?1e3/t*e:0,me=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,he=1e-7,ge=12;function _e(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=me(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>he&&++s<ge);return o}function ve(e,t,n,r){if(e===t&&n===r)return se;let i=t=>_e(t,0,1,e,n);return e=>e===0||e===1?e:me(i(e),t,r)}var ye=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,be=e=>t=>1-e(1-t),xe=ve(.33,1.53,.69,.99),Se=be(xe),Ce=ye(Se),we=e=>e>=1?1:(e*=2)<1?.5*Se(e):.5*(2-2**(-10*(e-1))),Te=e=>1-Math.sin(Math.acos(e)),T=be(Te),E=ye(Te),Ee=ve(.42,0,1,1),De=ve(0,0,.58,1),Oe=ve(.42,0,.58,1),ke=e=>Array.isArray(e)&&typeof e[0]!=`number`,Ae=e=>Array.isArray(e)&&typeof e[0]==`number`,D={linear:se,easeIn:Ee,easeInOut:Oe,easeOut:De,circIn:Te,circInOut:E,circOut:T,backIn:Se,backInOut:Ce,backOut:xe,anticipate:we},je=e=>typeof e==`string`,Me=e=>{if(Ae(e)){e.length;let[t,n,r,i]=e;return ve(t,n,r,i)}return je(e)?(D[e],`${e}`,D[e]):e},O={delta:0,timestamp:0,isProcessing:!1},Ne;function Pe(){Ne=void 0}var Fe={now:()=>(Ne===void 0&&Fe.set(O.isProcessing||w.useManualTiming?O.timestamp:performance.now()),Ne),set:e=>{Ne=e,queueMicrotask(Pe)}},Ie=e=>Math.round(e*1e5)/1e5,Le=e=>t=>typeof t==`string`&&t.startsWith(e),Re=Le(`--`),ze=Le(`var(--`),Be=e=>ze(e)?Ve.test(e.split(`/*`)[0].trim()):!1,Ve=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function He(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var Ue={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},We={...Ue,transform:e=>ne(0,1,e)},Ge={...Ue,default:1},Ke=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function qe(e){return e==null}var Je=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ye=(e,t)=>n=>!!(typeof n==`string`&&Je.test(n)&&n.startsWith(e)||t&&!qe(n)&&Object.prototype.hasOwnProperty.call(n,t)),Xe=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Ke);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Ze=e=>ne(0,255,e),Qe={...Ue,transform:e=>Math.round(Ze(e))},$e={test:Ye(`rgb`,`red`),parse:Xe(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Qe.transform(e)+`, `+Qe.transform(t)+`, `+Qe.transform(n)+`, `+Ie(We.transform(r))+`)`};function et(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var tt={test:Ye(`#`),parse:et,transform:$e.transform},nt=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),rt=nt(`deg`),it=nt(`%`),k=nt(`px`),at=nt(`vh`),ot=nt(`vw`),st={...it,parse:e=>it.parse(e)/100,transform:e=>it.transform(e*100)},ct={test:Ye(`hsl`,`hue`),parse:Xe(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+it.transform(Ie(t))+`, `+it.transform(Ie(n))+`, `+Ie(We.transform(r))+`)`},lt={test:e=>$e.test(e)||tt.test(e)||ct.test(e),parse:e=>$e.test(e)?$e.parse(e):ct.test(e)?ct.parse(e):tt.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?$e.transform(e):ct.transform(e),getAnimatableNone:e=>{let t=lt.parse(e);return t.alpha=0,lt.transform(t)}},ut=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,dt=new RegExp(Ke.source),ft=new RegExp(ut.source,`i`);function pt(e){return isNaN(e)&&typeof e==`string`&&(dt.test(e)||ft.test(e))}var mt=`number`,ht=`color`,gt=`var`,_t=`var(`,vt="${}",yt=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function bt(e){let t=e.toString();return dt.test(t)||ft.test(t)}function xt(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(yt,e=>(lt.test(e)?(r.color.push(a),i.push(ht),n.push(lt.parse(e))):e.startsWith(_t)?(r.var.push(a),i.push(gt),n.push(e)):(r.number.push(a),i.push(mt),n.push(parseFloat(e))),++a,vt)).split(vt),indexes:r,types:i}}function St(e){return xt(e).values}function Ct({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===mt?Ie(r[a]):e===ht?lt.transform(r[a]):r[a]}return i}}function wt(e){return Ct(xt(e))}var Tt=e=>typeof e==`number`?0:lt.test(e)?lt.getAnimatableNone(e):e,Et=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:Tt(e);function Dt(e){let t=xt(e);return Ct(t)(t.values.map((e,n)=>Et(e,t.split[n])))}var Ot={test:pt,parse:St,createTransformer:wt,getAnimatableNone:Dt};function kt(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function At({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=kt(s,r,e+1/3),a=kt(s,r,e),o=kt(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function jt(e,t){return n=>n>0?t:e}var A=(e,t,n)=>e+(t-e)*n,Mt=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Nt=[tt,$e,ct],Pt=e=>Nt.find(t=>t.test(e));function Ft(e){let t=Pt(e);if(!t)return`${e}`,!1;let n=t.parse(e);return t===ct&&(n=At(n)),n}var It=(e,t)=>{let n=Ft(e),r=Ft(t);if(!n||!r)return jt(e,t);let i={...n};return e=>(i.red=Mt(n.red,r.red,e),i.green=Mt(n.green,r.green,e),i.blue=Mt(n.blue,r.blue,e),i.alpha=A(n.alpha,r.alpha,e),$e.transform(i))},Lt=new Set([`none`,`hidden`]);function Rt(e,t){return Lt.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function zt(e,t){return n=>A(e,t,n)}function Bt(e){return typeof e==`number`?zt:typeof e==`string`?Be(e)?jt:lt.test(e)?It:Wt:Array.isArray(e)?Vt:typeof e==`object`?lt.test(e)?It:Ht:jt}function Vt(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Bt(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Ht(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Bt(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Ut(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var Wt=(e,t)=>{let n=Ot.createTransformer(t),r=xt(e),i=xt(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Lt.has(e)&&!i.values.length||Lt.has(t)&&!r.values.length?Rt(e,t):ce(Vt(Ut(r,i),i.values),n):(`${e}${t}`,jt(e,t))},Gt=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function Kt(e,t){let n=Gt.exec(e);if(!n)return;let r=Gt.exec(t);if(!r||n[2]!==r[2])return;let i=n[2],a=parseFloat(n[1]),o=parseFloat(r[1]);return e=>Ie(A(a,o,e))+i}function qt(e,t,n){if(typeof e==`number`&&typeof t==`number`&&typeof n==`number`)return A(e,t,n);if(typeof e==`string`&&typeof t==`string`){let n=Kt(e,t);if(n)return n}return Bt(e)(e,t)}var Jt=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function Yt(e){let t=new Set,n=new Set,r=!1,i=!1,a=new Set,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(n.add(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var Xt=40;function Zt(e,t,n={delta:0,timestamp:0,isProcessing:!1}){let r=!1,i=!0,a=()=>r=!0,o=Jt.reduce((e,t)=>(e[t]=Yt(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=w.useManualTiming,o=a?n.timestamp:performance.now();r=!1,a||(n.delta=i?1e3/60:Math.max(Math.min(o-n.timestamp,Xt),1)),n.timestamp=o,n.isProcessing=!0,s.process(n),c.process(n),l.process(n),u.process(n),d.process(n),f.process(n),p.process(n),m.process(n),n.isProcessing=!1,r&&t&&(i=!1,e(h))},g=()=>{r=!0,i=!0,n.isProcessing||e(h)};return{schedule:Jt.reduce((e,t)=>{let n=o[t];return e[t]=(e,t=!1,i=!1)=>(r||g(),n.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Jt.length;t++)o[Jt[t]].cancel(e)},state:n,steps:o}}var{schedule:j,cancel:Qt,steps:M}=Zt(typeof requestAnimationFrame<`u`?requestAnimationFrame:se,!0,O),$t=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>j.update(t,e),stop:()=>Qt(t),now:()=>O.isProcessing?O.timestamp:Fe.now()}},en=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},tn=2e4;function nn(e,t=50,n=tn,r){let i=0,a=e.next(i);for(r?.push(a.value);!a.done&&i<n;)i+=t,a=e.next(i),r?.push(a.value);return i>=n?1/0:i}function rn(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(nn(r),tn);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:fe(i)}}var an={stiffness:100,damping:10,mass:1,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05},on=e=>e<0?1/Math.max(1+e,an.minDamping):Math.max(1-e,an.minDamping);function sn(e,t){if(!(e>1))return 1;let n=Math.sqrt(e*e-1),r=e-n,i=e+n,a=2*n*Math.exp(-t)*(1+t);return un(e=>i*Math.exp(-r*e)-r*Math.exp(-i*e)-a,e=>Math.exp(-i*e)-Math.exp(-r*e),t)/t}function cn(e,t){return e*Math.sqrt(1-t*t)}var ln=12;function un(e,t,n){let r=n;for(let n=1;n<ln;n++)r-=e(r)/t(r);return r}var dn=.001;function fn({duration:e=an.duration,bounce:t=an.bounce}){let n,r;an.maxDuration;let i=on(t);e=ne(an.minDuration,an.maxDuration,fe(e)),i<1?(n=t=>{let n=t*i,r=n*e,a=cn(t,i),o=Math.exp(-r);return dn-n/a*o},r=t=>{let r=t*i*e,a=i*i*t*t*e,o=Math.exp(-r),s=cn(t*t,i);return(-n(t)+dn>0?-1:1)*-a*o/s}):(n=t=>-.001+Math.exp(-t*e)*(t*e+1),r=t=>Math.exp(-t*e)*(-t*(e*e)));let a=5/e,o=un(n,r,a),s=o*sn(i,o*e),c=s*s;return{stiffness:c,damping:i*2*Math.sqrt(c),duration:de(e)}}var pn=(e,t)=>(t?e>=0:e>0)&&e<1/0;function mn(e,t){if(pn(e,t))return e}function hn(e){let t=mn(e.stiffness),n=mn(e.damping,!0),r=mn(e.mass),i={...e,stiffness:t??an.stiffness,damping:n??an.damping,mass:r??an.mass,isResolvedFromDuration:!1,isTimeDefined:(t??n??r)===void 0&&(e.duration!==void 0||e.bounce!==void 0)};if(i.isTimeDefined){if(e.visualDuration){let t=on(e.bounce||0),n=2*Math.PI/(e.visualDuration*1.2)*sn(t,2*Math.PI/1.2);i.stiffness=n*n,i.damping=2*t*Math.sqrt(i.stiffness)}else Object.assign(i,fn(i)),i.isResolvedFromDuration=!0;(!pn(i.stiffness)||!pn(i.damping,!0))&&(i.stiffness=an.stiffness,i.damping=an.damping)}return i}function gn(e=an.visualDuration,t=an.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},r=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:o,damping:s,mass:c,duration:l,isResolvedFromDuration:u,isTimeDefined:d}=hn({...n}),f=e=>d?0:-fe(e),p=s/(2*Math.sqrt(o*c)),m=fe(Math.sqrt(o/c)),h=p*m,g={target:i,delta:i-r,velocity:f(n.velocity||0)||0,restSpeed:0,restDelta:0},_=()=>{let e=Math.abs(g.delta)<5;g.restSpeed=n.restSpeed||(e?an.restSpeed.granular:an.restSpeed.default),g.restDelta=n.restDelta||(e?an.restDelta.granular:an.restDelta.default)};_();let v,y,b;if(p<1){let e=cn(m,p),t={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};b=()=>{t.A=(g.velocity+h*g.delta)/e,t.sinC=h*t.A+g.delta*e,t.cosC=h*g.delta-t.A*e};let n=n=>{n!==t.t&&(t.t=n,t.env=Math.exp(-h*n),t.sin=Math.sin(e*n),t.cos=Math.cos(e*n))};v=e=>(n(e),g.target-t.env*(t.A*t.sin+g.delta*t.cos)),y=e=>(n(e),t.env*(t.sinC*t.sin+t.cosC*t.cos))}else if(p===1){v=e=>g.target-Math.exp(-m*e)*(g.delta+(g.velocity+m*g.delta)*e);let e={C:0};b=()=>{e.C=g.velocity+m*g.delta},y=t=>Math.exp(-m*t)*(m*e.C*t-g.velocity)}else{let e=m*Math.sqrt(p*p-1),t=h-e,n=h+e,r=d?1/0:300/e,i=(e,t)=>Math.exp(t>r?-e*r-h*(t-r):-e*t),a={S:0,F:0};b=()=>{let t=(g.velocity+h*g.delta)/e;a.S=(g.delta+t)/2,a.F=(g.delta-t)/2},v=e=>g.target-a.S*i(t,e)-a.F*i(n,e),y=e=>t*a.S*i(t,e)+n*a.F*i(n,e)}b();let x=u&&l||null,S={calculatedDuration:x,retarget:(e,t)=>{g.target=e[e.length-1],g.delta=g.target-e[0],g.velocity=f(t),n.restSpeed&&n.restDelta||_(),S.calculatedDuration=x,a.done=!1,b()},velocity:e=>de(y(e)),next:e=>{let t=v(e);if(u)a.done=e>=l;else{let n=de(y(e));a.done=Math.abs(n)<=g.restSpeed&&Math.abs(g.target-t)<=g.restDelta}return a.value=a.done?g.target:t,a},toString:()=>{let e=Math.min(nn(S),tn),t=en(t=>S.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return S}gn.applyToOptions=e=>{let t=rn(e,100,gn);return e.ease=t.ease,e.duration=de(t.duration),e.type=`keyframes`,e};function _n({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>e<s||e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>{let t=v(e);f.done=Math.abs(t)<=l,f.value=f.done?_:_+t},b,x,S=e=>{p(f.value)&&(b=e,x=gn({keyframes:[f.value,m(f.value)],velocity:-v(e)/r*1e3,damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return!x&&b===void 0&&(t=!0,y(e),S(e)),b!==void 0&&e>=b?x.next(e-b):(!t&&y(e),f)}}}function vn(e,t,n){let r=[],i=n||w.mix||qt,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=ce(Array.isArray(t)?t[n]||se:t,a)),r.push(a)}return r}function yn(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=vn(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=le(e[r],e[r+1],n);return s[r](i)};return n?t=>l(ne(e[0],e[a-1],t)):l}function bn(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=le(0,t,r);e.push(A(n,1,i))}}function xn(e){let t=[0];return bn(t,e.length-1),t}function Sn(e,t){return e.map(e=>e*t)}function Cn(e,t){return e.map(()=>t||Oe).splice(0,e.length-1)}function wn({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=ke(r)?r.map(Me):Me(r)||Oe,a={done:!1,value:t[0]};if(t.length===2&&!Array.isArray(i)&&(!n||n.length!==2||n[0]===0&&n[1]===1)){let[n,r]=t,o=n===r?void 0:(w.mix||qt)(n,r);return{calculatedDuration:e,next:t=>(a.value=o?o(i(e>0?ne(0,1,t/e):1)):r,a.done=t>=e,a)}}let o=yn(Sn(n&&n.length===t.length?n:xn(t),e),t,{ease:Array.isArray(i)?i:Cn(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Tn=5;function En(e,t,n){let r=Math.max(t-Tn,0);return pe(n-e(r),t-r)}function Dn(e,t,n=0){return t<=0?n:e.velocity?e.velocity(t):En(t=>e.next(t).value,t,e.next(t).value)}var On=e=>e!==null;function kn(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(On),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var An={decay:_n,inertia:_n,tween:wn,keyframes:wn,spring:gn};function jn(e){typeof e.type==`string`&&(e.type=An[e.type])}function Mn(e,t){return{kind:e,animation:t,timestamp:Fe.now(),frameTimestamp:O.timestamp,frameIsProcessing:O.isProcessing}}function Nn(e,t,n){let r=globalThis.__MOTION_INSPECT__;if(r)try{r({...Mn(`animation-start`,e),options:n?{...t,...n}:t})}catch{}}function Pn(e,t){let n=globalThis.__MOTION_INSPECT__;if(n)try{n({...Mn(`layout-animation-start`,e),node:t})}catch{}}var Fn=class{constructor(){this.isResolved=!1}get finished(){return this._finished||=this.isResolved?Promise.resolve():new Promise(e=>{this._resolve=e}),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(e,t){return this.finished.then(e,t)}},In=e=>e/100,Ln=class extends Fn{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==Fe.now()&&this.tick(Fe.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause(),Nn(this,this.options)}initAnimation(){let{options:e}=this;jn(e);let{type:t=wn,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||wn;s!==wn&&typeof o[0]!=`number`&&(this.mixKeyframes=ce(In,qt(o[0],o[1])),o=[0,100]);let c=s(o===e.keyframes?e:{...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=nn(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=ne(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==_n&&(b.value=kn(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return fe(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+fe(e)}get time(){return fe(this.currentTime)}set time(e){e=de(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){return Dn(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(Fe.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=fe(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=$t,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(Fe.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}},Rn=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function zn(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Ke)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Rn.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Bn=/\b([a-z-]*)\(.*?\)/gu,Vn={...Ot,getAnimatableNone:e=>{let t=e.match(Bn);return t?t.map(zn).join(` `):e}},Hn={...Ot,getAnimatableNone:e=>{let t=Ot.parse(e);return Ot.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Un={...Ue,transform:Math.round},Wn={borderWidth:k,borderTopWidth:k,borderRightWidth:k,borderBottomWidth:k,borderLeftWidth:k,borderRadius:k,borderTopLeftRadius:k,borderTopRightRadius:k,borderBottomRightRadius:k,borderBottomLeftRadius:k,width:k,maxWidth:k,height:k,maxHeight:k,top:k,right:k,bottom:k,left:k,inset:k,insetBlock:k,insetBlockStart:k,insetBlockEnd:k,insetInline:k,insetInlineStart:k,insetInlineEnd:k,padding:k,paddingTop:k,paddingRight:k,paddingBottom:k,paddingLeft:k,paddingBlock:k,paddingBlockStart:k,paddingBlockEnd:k,paddingInline:k,paddingInlineStart:k,paddingInlineEnd:k,margin:k,marginTop:k,marginRight:k,marginBottom:k,marginLeft:k,marginBlock:k,marginBlockStart:k,marginBlockEnd:k,marginInline:k,marginInlineStart:k,marginInlineEnd:k,fontSize:k,backgroundPositionX:k,backgroundPositionY:k,rotate:rt,pathRotation:rt,rotateX:rt,rotateY:rt,rotateZ:rt,scale:Ge,scaleX:Ge,scaleY:Ge,scaleZ:Ge,skew:rt,skewX:rt,skewY:rt,distance:k,translateX:k,translateY:k,translateZ:k,x:k,y:k,z:k,perspective:k,transformPerspective:k,opacity:We,originX:st,originY:st,originZ:k,zIndex:Un,fillOpacity:We,strokeOpacity:We,numOctaves:Un},Gn={...Wn,color:lt,backgroundColor:lt,outlineColor:lt,fill:lt,stroke:lt,borderColor:lt,borderTopColor:lt,borderRightColor:lt,borderBottomColor:lt,borderLeftColor:lt,filter:Vn,WebkitFilter:Vn,mask:Hn,WebkitMask:Hn},Kn=e=>Gn[e],qn=new Set([Vn,Hn]);function Jn(e,t){let n=Kn(e);return qn.has(n)||(n=Ot),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function Yn(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Xn=e=>e*180/Math.PI,Zn=e=>$n(Xn(Math.atan2(e[1],e[0]))),Qn={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Zn,rotateZ:Zn,skewX:e=>Xn(Math.atan(e[1])),skewY:e=>Xn(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},$n=e=>(e%=360,e<0&&(e+=360),e),er=Zn,tr=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),nr=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),rr={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tr,scaleY:nr,scale:e=>(tr(e)+nr(e))/2,rotateX:e=>$n(Xn(Math.atan2(e[6],e[5]))),rotateY:e=>$n(Xn(Math.atan2(-e[2],e[0]))),rotateZ:er,rotate:er,skewX:e=>Xn(Math.atan(e[4])),skewY:e=>Xn(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ir(e){return+!!e.includes(`scale`)}function ar(e,t){if(!e||e===`none`)return ir(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=rr,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Qn,i=t}if(!i)return ir(t);let a=r[t],o=i[1].split(`,`).map(sr);return typeof a==`function`?a(o):o[a]}var or=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return ar(n,t)};function sr(e){return parseFloat(e.trim())}var cr=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],lr=new Set([...cr,`pathRotation`]),ur=e=>e===Ue||e===k,dr=new Set([`x`,`y`,`z`]),fr=cr.filter(e=>!dr.has(e));function pr(e){let t=[];return fr.forEach(n=>{let r=e.getValue(n);if(r!==void 0){let e=r.get(),i=+!!n.startsWith(`scale`);if(e===i)return;t.push([n,e]),r.set(i)}}),t}var mr=new Set([`bottom`,`right`]);function hr(e,t,n,r,i,a){let o=parseFloat(e);if(!isNaN(o))return o;let{min:s,max:c}=t()[n],l=c-s;return a===`border-box`?l:l-parseFloat(r)-parseFloat(i)}var gr={width:({width:e,paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r},i)=>hr(e,i,`x`,t,n,r),height:({height:e,paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r},i)=>hr(e,i,`y`,t,n,r),top:({top:e})=>parseFloat(e),left:({left:e})=>parseFloat(e),bottom:({top:e},t)=>{let{y:n}=t();return parseFloat(e)+(n.max-n.min)},right:({left:e},t)=>{let{x:n}=t();return parseFloat(e)+(n.max-n.min)},x:({transform:e})=>ar(e,`x`),y:({transform:e})=>ar(e,`y`)};gr.translateX=gr.x,gr.translateY=gr.y;var _r=new Set,vr=!1,yr=!1,br=!1;function xr(){if(yr){let e=[],t=new Set,n=new Set;_r.forEach(r=>{r.needsMeasurement&&(e.push(r),t.add(r.element),mr.has(r.name)&&n.add(r.element))});let r=new Map;n.forEach(e=>{let t=pr(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}yr=!1,vr=!1,_r.forEach(e=>e.complete(br)),_r.clear()}function Sr(){_r.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(yr=!0)})}function Cr(){br=!0,Sr(),xr(),br=!1}function wr(e,t,n){if(typeof e==`string`){if(re(e)||ae(e))return parseFloat(e);if(!Ot.test(e)&&Ot.test(n))return Jn(t,n)}return e??void 0}var Tr=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(_r.add(this),vr||(vr=!0,j.read(Sr),j.resolveKeyframes(xr))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=wr(n.readValue(t,a),t,a);r!==void 0&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Yn(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),_r.delete(this)}cancel(){this.state===`scheduled`&&(_r.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Er=e=>e.startsWith(`--`);function Dr(e,t,n){Er(t)?e.style.setProperty(t,n):e.style[t]=n}var Or={};function kr(e,t){let n=oe(e);return()=>Or[t]??n()}var Ar=kr(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),jr=kr(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),Mr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Nr={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Mr([0,.65,.55,1]),circOut:Mr([.55,0,1,.45]),backIn:Mr([.31,.01,.66,-.59]),backOut:Mr([.33,1.53,.69,.99])};function Pr(e,t){if(e)return typeof e==`function`?jr()?en(e,t):`ease-out`:Ae(e)?Mr(e):Array.isArray(e)?e.map(e=>Pr(e,t)||Nr.easeOut):Nr[e]}function Fr(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=Pr(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function Ir(e){return typeof e==`function`&&`applyToOptions`in e}function Lr({type:e,...t}){return Ir(e)&&jr()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var Rr=class extends Fn{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=Lr(e);this.animation=Fr(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=kn(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Dr(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()},Nn(this,e,c)}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return fe(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+fe(e)}get time(){return fe(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=de(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,onAttach:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&Ar()?(this.animation.timeline=e,t?.(this.animation),se):n(this)}},zr={anticipate:we,backInOut:Ce,circInOut:E};function Br(e){return e in zr}function Vr(e){typeof e.ease==`string`&&Br(e.ease)&&(e.ease=zr[e.ease])}var Hr=10,Ur=class extends Rr{constructor(e){Vr(e),jn(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new Ln({...a,autoplay:!1}),s=Math.max(Hr,Fe.now()-this.startTime),c=ne(0,Hr,s-Hr),l=o.sample(s).value,{name:u}=this.options;i&&u&&Dr(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},Wr=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Ot.test(e)||e===`0`)&&!e.startsWith(`url(`));function Gr(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Kr(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Wr(i,t),s=Wr(a,t);return!o||!s?(o!==s&&`${t}${i}${a}${o?a:i}`,!1):Gr(e)||(n===`spring`||Ir(n))&&r}function qr(e){e.duration=0,e.type=`keyframes`}var Jr=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`]),Yr=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Xr(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Yr.test(e[t]))return!0;return!1}var Zr=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Qr=oe(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function $r(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!n||!(Jr.has(n)||Zr.has(n)))return!1;let c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return Qr()&&(Jr.has(n)||Zr.has(n)&&Xr(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var ei=40,ti=class extends Fn{constructor(e){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Fe.now();let{keyframes:t,name:n,motionValue:r,element:i}=e,a=e;a.autoplay??=!0,a.delay??=0,a.type??=`keyframes`,a.repeat??=0,a.repeatDelay??=0,a.repeatType??=`loop`;let o=i?.KeyframeResolver||Tr;this.keyframeResolver=new o(t,(e,t,n)=>this.onKeyframesResolved(e,t,a,!n),n,r,i),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=Fe.now();let u=!0;Kr(e,i,a,o)||(u=!1,(w.instantAnimations||!s)&&l?.(kn(e,n,t)),e[0]=e[e.length-1],qr(n),n.repeat=0);let d=r?this.resolvedAt&&this.resolvedAt-this.createdAt>ei?this.resolvedAt:this.createdAt:void 0,{onComplete:f}=n;n.startTime??=d,n.finalKeyframe=t,n.keyframes=e,n.onComplete=()=>{f?.(),this.notifyFinished()};let p=u&&!c&&$r(n),m;if(p){n.element=n.motionValue?.owner?.current;try{m=new Ur(n)}catch{m=new Ln(n)}}else m=new Ln(n);this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this._animation.finished:super.finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Cr()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function ni(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var ri=30,ii=e=>!isNaN(parseFloat(e)),ai={current:void 0},oi=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Fe.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.notifyChange(),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=Fe.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=ii(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){var n;return e===`change`?this.onChangeSubscribe(t):((n=this.events)[e]||(n[e]=new ue)).add(t)}onChangeSubscribe(e){let{events:t}=this;return!t.change&&!this.changeSubscriber?this.changeSubscriber=e:(t.change||(t.change=new ue,t.change.add(this.changeSubscriber),this.changeSubscriber=void 0),t.change.add(e)),()=>{this.changeSubscriber===e?this.changeSubscriber=void 0:t.change?.remove(e),this.stopIfUnobserved()}}stopIfUnobserved(){j.read(()=>{!this.changeSubscriber&&!this.events.change?.getSize()&&this.stop()})}clearListeners(){this.changeSubscriber=void 0;for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.notifyChange()}notifyChange(){let{current:e,changeSubscriber:t}=this;t?t(e):this.events.change?.notify(e)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return ai.current&&ai.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Fe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>ri)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,ri);return pe(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0;let n=!1,r;r=e(()=>{n=!0,this.events.animationComplete?.notify(),this.animation===r&&this.clearAnimation(),t()}),n||(this.animation=r),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function si(e,t){return new oi(e,t)}function ci(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function li(e,t){let n=e?.[t]??e?.default??e;return n===e?n:ci(n,e)}var ui={type:`spring`,stiffness:500,damping:25,restSpeed:10},di=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),fi={type:`keyframes`,duration:.8},pi={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},mi=(e,{keyframes:t})=>t.length>2?fi:lr.has(e)?e.startsWith(`scale`)?di(t[1]):ui:pi,hi=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function gi(e){for(let t in e)if(!hi.has(t))return!0;return!1}var _i=(e,t,n,r={},i,a)=>o=>{let s=li(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=de(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};gi(s)||Object.assign(u,mi(e,u)),u.duration&&=de(u.duration),u.repeatDelay&&=de(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(qr(u),u.delay===0&&(d=!0)),(w.instantAnimations||w.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,qr(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=kn(u.keyframes,s);if(e!==void 0){j.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new Ln(u):new ti(u)},vi=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function yi(e){let t=vi.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function bi(e,t,n=1){`${e}`;let[r,i]=yi(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return re(e)?parseFloat(e):e}return Be(i)?bi(i,t,n+1):i}function xi(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Si(e,t,n,r){let i=t=>typeof t==`function`?t(n===void 0?e.custom:n,...xi(r)):t;return t=i(t),typeof t==`string`&&(t=e.variants&&e.variants[t]),i(t)}function Ci(e,t,n){return Si(e.getProps(),t,n,e)}var wi=(e,t)=>t===`exit`?e.presenceContext?.custom:void 0,Ti=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...cr]),Ei=e=>Array.isArray(e);function Di(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,si(n))}function Oi(e){return Ei(e)?e[e.length-1]||0:e}function ki(e,t){let{transitionEnd:n={},transition:r={},...i}=Ci(e,t)||{};i={...i,...n};for(let t in i)Di(e,t,Oi(i[t]))}var Ai=e=>!!(e&&e.getVelocity);function ji(e){return!!(Ai(e)&&e.add)}function Mi(e,t){let n=e.getValue(`willChange`);if(ji(n))return n.add(t);if(!n&&w.WillChange){let n=new w.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Ni(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Pi=`data-`+Ni(`framerAppearId`);function Fi(e){return e.props[Pi]}var Ii=typeof window<`u`;function Li({protectedKeys:e,needsAnimating:t},n){let r=n in e&&!t[n];return t[n]=!1,r}function Ri(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?ci(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState?.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&Li(f,t))continue;let o={delay:n,...li(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){j.update(()=>r.set(i));continue}let p=!1;if(Ii&&window.MotionHandoffAnimation){let n=Fi(e);if(n){let e=window.MotionHandoffAnimation(n,t,j);e!==null&&(o.startTime=e,p=!0)}}Mi(e,t);let m=l??e.shouldReduceMotion;r.start(_i(t,r,i,m&&Ti.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>j.update(()=>{o&&ki(e,o)});d.length?Promise.all(d).then(t):t()}return d}function zi(e,t,n={}){let r=Ci(e,t,wi(e,n.type)),i=n.transitionOverride||(r?.transition??(e.getDefaultTransition()||{})),a=()=>Promise.all(r?Ri(e,r,n):[]),o=(r=0)=>{let{variantChildren:a}=e,{delayChildren:o=0,staggerChildren:s,staggerDirection:c}=i,l=[];return a?.forEach(e=>{e.notify(`AnimationStart`,t),l.push(zi(e,t,{...n,delay:r+(typeof o==`function`?0:o)+ni(a,e,o,s,c)}).then(()=>e.notify(`AnimationComplete`,t)))}),Promise.all(l)},{when:s}=i;return s?s===`beforeChildren`?a().then(()=>o()):o().then(a):Promise.all([a(),o(n.delay)])}function Bi(e,t,n={}){return e.notify(`AnimationStart`,t),(Array.isArray(t)?Promise.all(t.map(t=>zi(e,t,n))):typeof t==`string`?zi(e,t,n):Promise.all(Ri(e,Ci(e,t,n.custom),n))).then(()=>{e.notify(`AnimationComplete`,t)})}var Vi={test:e=>e===`auto`,parse:e=>e},Hi=e=>t=>t.test(e),Ui=[Ue,k,it,rt,ot,at,Vi],Wi=e=>Ui.find(Hi(e));function Gi(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||ae(e)}var Ki=new Set([`auto`,`none`,`0`]);function qi(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Ki.has(t)&&bt(t)&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]!==i&&(e[r]=Jn(n,i))}var Ji=class extends Tr{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Be(r))){let i=bi(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Ti.has(n)||e.length!==2)return;let[r,i]=e;if(typeof r==`number`&&typeof i==`number`)return;let a=Wi(r),o=Wi(i);if(He(r)!==He(i)&&gr[n]){this.needsMeasurement=!0;return}if(a!==o){if(ur(a)&&ur(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else gr[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||Gi(e[t]))&&n.push(t);n.length&&qi(e,n,t)}measure(){let{element:e,name:t}=this;return gr[t](window.getComputedStyle(e.current),()=>e.measureViewportBox())}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&this.motionValue?.jump(r,!1)}measureEndState(){let{element:e,unresolvedKeyframes:t}=this;if(!e||!e.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let n=t.length-1,r=t[n];t[n]=this.measure(),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},Yi=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`];function Xi(e){return ie(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}function Zi(e){return ie(e)&&`ownerSVGElement`in e}var Qi=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function $i(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var ea={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},ta=cr.length;function na(e,t,n){let r=``,i=!0;for(let a=0;a<ta;a++){let o=cr[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Qi(s,Wn[o]);if(!c){i=!1;let t=ea[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${Qi(a,Wn.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function ra(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(lr.has(e)){o=!0;continue}if(Re(e)){i[e]=n;continue}{let t=Qi(n,Wn[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=na(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}var ia={offset:`stroke-dashoffset`,array:`stroke-dasharray`},aa={offset:`strokeDashoffset`,array:`strokeDasharray`};function oa(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?ia:aa;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var sa=[`transform`,`opacity`,`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function ca(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(ra(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;for(let e of sa)d[e]!==void 0&&(f[e]=d[e],delete d[e]);(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&oa(d,i,a,o,!1)}function la({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ua({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function N(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function P(e){return e===void 0||e===1}function da({scale:e,scaleX:t,scaleY:n}){return!P(e)||!P(t)||!P(n)}function fa(e){return da(e)||pa(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function pa(e){return ma(e.x)||ma(e.y)}function ma(e){return e&&e!==`0%`}function ha(e,t,n){return n+t*(e-n)}function ga(e,t,n,r,i){return i!==void 0&&(e=ha(e,i,r)),ha(e,n,r)+t}function _a(e,t=0,n=1,r,i){e.min=ga(e.min,t,n,r,i),e.max=ga(e.max,t,n,r,i)}function va(e,{x:t,y:n}){_a(e.x,t.translate,t.scale,t.originPoint),_a(e.y,n.translate,n.scale,n.originPoint)}var ya=.999999999999,ba=1.0000000000001;function xa(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(Sa(e.x,-a.scroll.offset.x),Sa(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,va(e,o)),r&&fa(a.latestValues)&&Ta(e,a.latestValues,a.layout?.layoutBox))}t.x<ba&&t.x>ya&&(t.x=1),t.y<ba&&t.y>ya&&(t.y=1)}function Sa(e,t){e.min+=t,e.max+=t}function Ca(e,t,n,r,i=.5){_a(e,t,n,A(e.min,e.max,i),r)}function wa(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function Ta(e,t,n){let r=n??e;Ca(e.x,wa(t.x,r.x),t.scaleX,t.scale,t.originX),Ca(e.y,wa(t.y,r.y),t.scaleY,t.scale,t.originY)}function Ea(e,t){return la(N(e.getBoundingClientRect(),t))}function Da(e,t,n){let r=Ea(e,n),{scroll:i}=t;return i&&(Sa(r.x,i.offset.x),Sa(r.y,i.offset.y)),r}var{schedule:Oa,cancel:ka}=Zt(queueMicrotask,!1),Aa={x:!1,y:!1};function ja(){return Aa.x||Aa.y}function Ma(e){return e===`x`||e===`y`?Aa[e]?null:(Aa[e]=!0,()=>{Aa[e]=!1}):Aa.x||Aa.y?null:(Aa.x=Aa.y=!0,()=>{Aa.x=Aa.y=!1})}function Na(e,t){let n=$i(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Pa(e){return!(e.pointerType===`touch`||ja())}function Fa(e,t,n={}){let[r,i,a]=Na(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Pa(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var Ia=(e,t)=>t?e===t||Ia(e,t.parentElement):!1,La=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Ra=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function za(e){return Ra.has(e.tagName)||e.isContentEditable===!0}var Ba=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Va(e){return Ba.has(e.tagName)||e.isContentEditable===!0}var Ha=new WeakSet;function Ua(e){return t=>{t.key===`Enter`&&e(t)}}function Wa(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Ga=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Ua(()=>{if(Ha.has(n))return;Wa(n,`down`);let e=Ua(()=>{Wa(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>Wa(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function Ka(e){return La(e)&&!ja()}var qa=new WeakSet;function Ja(e,t,n={}){let[r,i,a]=Na(e,n),o=e=>{let r=e.currentTarget;if(!Ka(e)||qa.has(e))return;Ha.add(r),n.stopPropagation&&qa.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),Ha.has(r)&&Ha.delete(r),Ka(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||Ia(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Xi(e)&&(e.addEventListener(`focus`,e=>Ga(e,i)),!za(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}var Ya=new WeakMap,Xa,Za=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:Zi(r)&&`getBBox`in r?r.getBBox()[t]:r[n],Qa=Za(`inline`,`width`,`offsetWidth`),$a=Za(`block`,`height`,`offsetHeight`);function eo({target:e,borderBoxSize:t}){Ya.get(e)?.forEach(n=>{n(e,{get width(){return Qa(e,t)},get height(){return $a(e,t)}})})}function to(e){e.forEach(eo)}function no(){typeof ResizeObserver<`u`&&(Xa=new ResizeObserver(to))}function ro(e,t){Xa||no();let n=$i(e);return n.forEach(e=>{let n=Ya.get(e);n||(n=new Set,Ya.set(e,n)),n.add(t),Xa?.observe(e)}),()=>{n.forEach(e=>{let n=Ya.get(e);n?.delete(t),n?.size||Xa?.unobserve(e)})}}var io=new Set,ao;function oo(){ao=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};io.forEach(t=>t(e))},window.addEventListener(`resize`,ao)}function so(e){return io.add(e),ao||oo(),()=>{io.delete(e),!io.size&&typeof ao==`function`&&(window.removeEventListener(`resize`,ao),ao=void 0)}}function co(e,t){return typeof e==`function`?so(e):ro(e,t)}var lo={value:null,addProjectionMetrics:null};function uo(e){return Zi(e)&&e.tagName===`svg`}var fo=e=>typeof e==`number`?e:parseFloat(e),po=()=>({translate:0,scale:1,origin:0,originPoint:0}),mo=()=>({x:po(),y:po()}),ho=()=>({min:0,max:0}),go=()=>({x:ho(),y:ho()}),_o=new WeakMap;function vo(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function yo(e){return typeof e==`string`||Array.isArray(e)}var bo=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],xo=[`initial`,...bo];function So(e){if(vo(e.animate))return!0;for(let t=0;t<xo.length;t++)if(yo(e[xo[t]]))return!0;return!1}function Co(e){return!!(So(e)||e.variants)}function wo(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Ai(i))e.addValue(r,i);else if(Ai(a))e.addValue(r,si(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,si(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var To={current:null},Eo={current:!1},Do=typeof window<`u`;function Oo(){if(Eo.current=!0,Do){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>To.current=e.matches;e.addEventListener(`change`,t),t()}else To.current=!1}}var ko=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Ao={};function jo(e){Ao=e}function Mo(){return Ao}var No=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Tr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=Fe.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,j.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=So(t),this.isVariantNode=Co(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&Ai(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];if(this.current=e,_o.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.isVariantNode&&!this.isControllingVariants){let e=this;do e=e.props.inherit!==!1&&e.parent;while(e&&!e.isVariantNode);if(e){let{variantChildren:t}=e;t.add(this),this.removeFromVariantTree=()=>t.delete(this)}}this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(Eo.current||Oo(),this.shouldReduceMotion=To.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Qt(this.notifyUpdate),Qt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Jr.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Rr({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:de(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=lr.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&j.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!e.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Ao){let t=Ao[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):go()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<ko.length;t++){let n=ko[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=wo(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}addValue(e,t){let n=this.values.get(e);if(t!==n){n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t);let r=t.get();r!==void 0&&(this.latestValues[e]=r)}}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=si(t??this.getDefaultValue?.(e),{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(re(n)||ae(n))?n=parseFloat(n):typeof n!=`number`&&!Ot.test(n)&&Ot.test(t)&&(n=Jn(e,t)),this.setBaseTarget(e,Ai(n)?n.get():n)),Ai(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}on(e,t){return this.events[e]||(this.events[e]=new ue),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Oa.render(this.render)}},Po=class extends No{constructor(){super(...arguments),this.KeyframeResolver=Ji}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Ai(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Fo=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Io(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}var Lo={};function Ro(e,{layout:t,layoutId:n}){return lr.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Lo[e]||e===`opacity`)}function zo(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Ai(r[t])||i&&Ai(i[t])||Ro(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Bo(e){return window.getComputedStyle(e)}var Vo=class extends Po{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Io}mount(e){e.style,super.mount(e)}readValueFromInstance(e,t){if(lr.has(t))return this.projection?.isProjecting?ir(t):or(e,t);{let n=Bo(e),r=(Re(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ea(e,t)}build(e,t,n){ra(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return zo(e,t,n)}},Ho=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),Uo=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Wo(e,t,n,r){Io(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Ho.has(n)?n:Ni(n),t.attrs[n])}function Go(e,t,n){let r=zo(e,t,n);for(let n in e)if(Ai(e[n])||Ai(t[n])){let t=cr.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Ko=class extends Po{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=go}getBaseTargetFromProps(e,t){return lr.has(t)?super.getBaseTargetFromProps(e,t)??ir(t):e[t]}getDefaultValue(e){return lr.has(e)?this.latestValues[e]??ir(e):void 0}readValueFromInstance(e,t){if(lr.has(t)){let e=Kn(t);return e&&e.default||0}if(sa.includes(t)){let n=getComputedStyle(e)[t];if(typeof n==`string`&&n)return n.trim()}return t=Ho.has(t)?t:Ni(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Go(e,t,n)}build(e,t,n){ca(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Wo(e,t,n,r)}mount(e){this.isSVGTag=Uo(e.tagName),super.mount(e)}};function qo(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Jo=[...bo].reverse();function F(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>Bi(e,t,n))),n=Yo(),r=!0,i=!1;function a(a){let{props:o,parent:s,manuallyAnimateOnMount:c}=e,l=r||i,u=[],d=new Set,f={},p=1/0,m=e;do m=m.props.inherit!==!1&&m.parent;while(m&&!m.isControllingVariants);if(Jo.forEach((t,r)=>{let i=n[t],h=o[t],g=m&&m.props[t],_=h===void 0?yo(g)||g===!1?g:void 0:h,v=yo(_),y=t===a?i.isActive:null;y===!1&&(p=r);let b=v&&h===void 0&&!(l&&c);if(i.protectedKeys={...f},!i.isActive&&y===null||!_&&!i.prevProp||vo(_)||typeof _==`boolean`)return;if(t===`exit`&&i.isActive&&y!==!0){f={...f,...i.prevResolvedValues};return}let x=I(i.prevProp,_),S=x||v&&(y&&!b||r>p),ee=!1,te=Array.isArray(_)?_:[_],C={};if(y!==!1)for(let n of te){let{transition:r,transitionEnd:i,...a}=Ci(e,n,wi(e,t))||{};C={...C,...a,...i}}let{prevResolvedValues:ne}=i;for(let t in{...ne,...C}){if(t in f)continue;let n=C[t],r=ne[t],a=Array.isArray(n)&&Array.isArray(r)?!qo(n,r)||x:n!==r;if(a&&n==null)d.add(t);else if(a||n!==void 0&&d.has(t)){S=!0,d.delete(t)&&(ee=!0),i.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)}else i.protectedKeys[t]=!0}if(i.prevProp=_,i.prevResolvedValues=C,i.isActive&&(f={...f,...C}),S&&(!(b&&x)||ee))for(let n of te){let r={type:t};if(typeof n==`string`&&l&&c&&s?.enteringChildren){let t=Ci(s,n)?.transition?.delayChildren;r.delay=ni(s.enteringChildren,e,t)}u.push({animation:n,options:r})}}),d.size){let{initial:t}=o,n={},r=typeof t!=`boolean`&&Ci(e,Array.isArray(t)?t[0]:t,e.presenceContext?.custom);r&&r.transition&&(n.transition=r.transition),d.forEach(i=>{let a=e.getValue(i);a&&(a.liveStyle=!0);let s=r&&!Array.isArray(t)?r[i]:void 0,c=e.getBaseTargetFromProps(o,i);n[i]=(s===void 0?c!==void 0&&!Ai(c)?c:e.initialValues[i]===void 0?e.baseTarget[i]:void 0:s)??null}),u.push({animation:n})}let h=l&&e.blockInitialAnimation||r&&!c&&(o.initial===!1||o.initial===o.animate);return r=i=!1,!h&&u.length?t(u):Promise.resolve()}function o(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=a(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:a,setActive:o,setAnimateFunction:n=>{t=n(e)},getState:()=>n,reset:()=>{n=Yo(),i=!0}}}function I(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!qo(t,e):!1}function Yo(){let e={};for(let t of bo)e[t]={isActive:t===`animate`,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}};return e}function Xo(e,t){e.min=t.min,e.max=t.max}function Zo(e,t){Xo(e.x,t.x),Xo(e.y,t.y)}function Qo(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var $o=.9999,es=1.0001,ts=-.01,ns=.01;function L(e){return e.max-e.min}function rs(e,t,n){return Math.abs(e-t)<=n}function is(e,t,n,r=.5){e.origin=r,e.originPoint=A(t.min,t.max,e.origin),e.scale=L(n)/L(t),e.translate=A(n.min,n.max,e.origin)-e.originPoint,(e.scale>=$o&&e.scale<=es||isNaN(e.scale))&&(e.scale=1),(e.translate>=ts&&e.translate<=ns||isNaN(e.translate))&&(e.translate=0)}function as(e,t,n,r){is(e.x,t.x,n.x,r?r.originX:void 0),is(e.y,t.y,n.y,r?r.originY:void 0)}function os(e,t,n,r=0){e.min=(r?A(n.min,n.max,r):n.min)+t.min,e.max=e.min+L(t)}function ss(e,t,n,r){os(e.x,t.x,n.x,r?.x),os(e.y,t.y,n.y,r?.y)}function cs(e,t,n,r=0){let i=r?A(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+L(t)}function ls(e,t,n,r){cs(e.x,t.x,n.x,r?.x),cs(e.y,t.y,n.y,r?.y)}function us(e,t,n,r,i){return e-=t,e=ha(e,1/n,r),i!==void 0&&(e=ha(e,1/i,r)),e}function ds(e,t=0,n=1,r=.5,i,a=e,o=e){if(it.test(t)&&(t=parseFloat(t),t=A(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=A(a.min,a.max,r);e===a&&(s-=t),e.min=us(e.min,t,n,s,i),e.max=us(e.max,t,n,s,i)}function fs(e,t,[n,r,i],a,o){ds(e,t[n],t[r],t[i],t.scale,a,o)}var ps=[`x`,`scaleX`,`originX`],ms=[`y`,`scaleY`,`originY`];function hs(e,t,n,r){fs(e.x,t,ps,n?n.x:void 0,r?r.x:void 0),fs(e.y,t,ms,n?n.y:void 0,r?r.y:void 0)}function gs(e){return e.translate===0&&e.scale===1}function _s(e){return gs(e.x)&&gs(e.y)}function vs(e,t){return e.min===t.min&&e.max===t.max}function ys(e,t){return vs(e.x,t.x)&&vs(e.y,t.y)}function bs(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function xs(e,t){return bs(e.x,t.x)&&bs(e.y,t.y)}function Ss(e){return L(e.x)/L(e.y)}function Cs(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function ws(e){return[e(`x`),e(`y`)]}function Ts(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Es={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`){if(k.test(e))e=parseFloat(e);else return e}return`${Ts(e,t.target.x)}% ${Ts(e,t.target.y)}%`}},Ds={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=Ot.parse(e);if(i.length>5)return r;let a=Ot.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=A(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}};function Os(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var ks=Yi.length,As=e=>typeof e==`number`||k.test(e);function js(e,t,n,r,i,a){i?(e.opacity=A(0,n.opacity??1,Ns(r)),e.opacityExit=A(t.opacity??1,0,Ps(r))):a&&(e.opacity=A(t.opacity??1,n.opacity??1,r));for(let i=0;i<ks;i++){let a=Yi[i],o=Ms(t,a),s=Ms(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||As(o)===As(s)?(e[a]=Math.max(A(fo(o),fo(s),r),0),(it.test(s)||it.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=A(t.rotate||0,n.rotate||0,r))}function Ms(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Ns=Fs(0,.5,T),Ps=Fs(.5,.95,se);function Fs(e,t,n){return r=>r<e?0:r>t?1:n(le(e,t,r))}function Is(e,t,n){let r=Ai(e)?e:si(e);return r.start(_i(``,r,t,n)),r.animation}function Ls(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Rs=(e,t)=>e.depth-t.depth,zs=class{constructor(){this.children=[],this.isDirty=!1}add(e){te(this.children,e),this.isDirty=!0}remove(e){C(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Rs),this.isDirty=!1,this.children.forEach(e)}};function Bs(e,t){let n=Fe.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Qt(r),e(a-t))};return j.setup(r,!0),()=>Qt(r)}function Vs(e){return Ai(e)?e.get():e}var Hs=class{constructor(){this.members=[]}add(e){te(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(C(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(C(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Us={borderRadius:{...Es,applyTo:[...Yi]},borderTopLeftRadius:Es,borderTopRightRadius:Es,borderBottomLeftRadius:Es,borderBottomRightRadius:Es,boxShadow:Ds},Ws={hasAnimatedSinceResize:!0,hasEverUpdated:!1};Object.assign(Lo,{...Us,...Lo});var Gs={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Ks=[``,`X`,`Y`,`Z`],qs=1e3,Js=0;function Ys(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Xs(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Fi(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,j,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Xs(r)}function Zs({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Js++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,lo.value&&(Gs.nodes=Gs.calculatedTargetDeltas=Gs.calculatedProjections=0),this.nodes.forEach(ec),this.nodes.forEach(uc),this.nodes.forEach(dc),this.nodes.forEach(tc),lo.addProjectionMetrics&&lo.addProjectionMetrics(Gs)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new zs)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ue),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=Zi(t)&&!uo(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;j.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Bs(i,250),Ws.hasAnimatedSinceResize&&(Ws.hasAnimatedSinceResize=!1,this.nodes.forEach(lc)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||vc,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!xs(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...li(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||lc(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Qt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(fc),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Xs(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(ic),this.nodes.forEach(rc);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ac);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(oc),this.nodes.forEach(sc),this.nodes.forEach(cc),this.nodes.forEach(Qs),this.nodes.forEach($s)):this.nodes.forEach(ac),this.clearAllSnapshots();let e=Fe.now();O.delta=ne(0,1e3/60,e-O.timestamp),O.timestamp=e,O.isProcessing=!0,M.update.process(O),M.preRender.process(O),M.render.process(O),O.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Oa.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nc),this.sharedNodes.forEach(pc)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,j.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){j.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),this.snapshot&&!L(this.snapshot.measuredBox.x)&&!L(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected||=go(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!_s(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||fa(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),Sc(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return go();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(wc))){let{scroll:e}=this.root;e&&(Sa(t.x,e.offset.x),Sa(t.y,e.offset.y))}return t}removeElementScroll(e){let t=go();if(Zo(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Zo(t,e),Sa(t.x,i.offset.x),Sa(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||go();Zo(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(Sa(r.x,-n.scroll.offset.x),Sa(r.y,-n.scroll.offset.y)),fa(n.latestValues)&&Ta(r,n.latestValues,n.layout?.layoutBox)}return fa(this.latestValues)&&Ta(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=go();Zo(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!fa(n.latestValues))continue;let r;n.instance&&(da(n.latestValues)&&n.updateSnapshot(),r=go(),Zo(r,n.measurePageBox())),hs(t,n.latestValues,n.snapshot?.layoutBox,r)}return fa(this.latestValues)&&hs(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==O.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=O.timestamp;let a=this.getClosestProjectingParent();!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=go(),this.targetWithTransforms=go()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ss(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Zo(this.target,this.layout.layoutBox),va(this.target,this.targetDelta)):Zo(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),lo.value&&Gs.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||da(this.parent.latestValues)||pa(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=go(),this.relativeTargetOrigin=go(),ls(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Zo(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===O.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Zo(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;xa(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=go());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Qo(this.prevProjectionDelta.x,this.projectionDelta.x),Qo(this.prevProjectionDelta.y,this.projectionDelta.y)),as(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Cs(this.projectionDelta.x,this.prevProjectionDelta.x)||!Cs(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),lo.value&&Gs.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=mo(),this.projectionDelta=mo(),this.projectionDeltaWithTransform=mo()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=mo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=go(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!(!c||u||this.options.crossfade!==!0||this.path.some(_c));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=A(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=A(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(mc(o.x,e.x,n),mc(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ls(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),gc(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&ys(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=go(),Zo(f,this.relativeTarget)),c&&(this.animationValues=a,js(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(Qt(this.pendingAnimation),void 0),this.pendingAnimation=j.update(()=>{Ws.hasAnimatedSinceResize=!0,this.motionValue||=si(0),this.motionValue.jump(0,!1),this.currentAnimation=Is(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),Pn(this.currentAnimation,this),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(qs),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,layout:n,latestValues:r}=e,{target:i}=e;if(t&&i&&n){if(this!==e&&this.layout&&n&&Cc(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||go();let t=L(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let n=L(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+n}Zo(t,i),Ta(t,r),as(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Hs),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Ys(`z`,e,r,this.animationValues);for(let t=0;t<Ks.length;t++)Ys(`rotate${Ks[t]}`,e,r,this.animationValues),Ys(`skew${Ks[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Vs(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Vs(t?.pointerEvents)||``),this.hasProjected&&!fa(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Os(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in Lo){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Lo[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Vs(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(rc),this.root.sharedNodes.clear()}}}function Qs(e){e.updateLayout()}function $s(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)ws(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=L(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Xo(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else Cc(i,t.layoutBox,n)&&ws(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=L(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=mo();as(o,n,t.layoutBox);let s=mo();a?as(s,e.applyTransform(r,!0),t.measuredBox):as(s,n,t.layoutBox);let c=!_s(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=go();ls(s,t.layoutBox,i.layoutBox,o);let c=go();ls(c,n,a.layoutBox,o),xs(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function ec(e){lo.value&&Gs.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function tc(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nc(e){e.clearSnapshot()}function rc(e){e.clearMeasurements()}function ic(e){e.isLayoutDirty=!0,e.updateLayout()}function ac(e){e.isLayoutDirty=!1}function oc(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function sc(e){e.relativeTarget&&e.relativeParent?.isLayoutDirty&&(e.currentAnimation?e.isLayoutDirty=!0:(e.targetDelta=void 0,e.removeRelativeTarget()))}function cc(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function lc(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function uc(e){e.resolveTargetDelta()}function dc(e){e.calcProjection()}function fc(e){e.resetSkewAndRotation()}function pc(e){e.removeLeadSnapshot()}function mc(e,t,n){e.translate=A(t.translate,0,n),e.scale=A(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function hc(e,t,n,r){e.min=A(t.min,n.min,r),e.max=A(t.max,n.max,r)}function gc(e,t,n,r){hc(e.x,t.x,n.x,r),hc(e.y,t.y,n.y,r)}function _c(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var vc={duration:.45,ease:[.4,0,.1,1]},yc=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),bc=yc(`applewebkit/`)&&!yc(`chrome/`)?Math.round:se;function xc(e){e.min=bc(e.min),e.max=bc(e.max)}function Sc(e){xc(e.x),xc(e.y)}function Cc(e,t,n){return e===`position`||e===`preserve-aspect`&&!rs(Ss(t),Ss(n),.2)}function wc(e){return e!==e.root&&e.scroll?.wasRoot}var Tc=Zs({attachResizeListener:(e,t)=>Ls(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Ec={current:void 0},Dc=Zs({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ec.current){let e=new Tc({});e.mount(window),e.setOptions({layoutScroll:!0}),Ec.current=e}return Ec.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),Oc=(0,y.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function kc(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Ac(...e){return t=>{let n=!1,r=e.map(e=>{let r=kc(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():kc(e[t],null)}}}}function jc(...e){return y.useCallback(Ac(...e),e)}var R=v(),Mc=class extends y.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(Xi(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=Xi(e)&&e.offsetWidth||0,r=Xi(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function Nc({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,y.useId)(),s=(0,y.useRef)(null),c=(0,y.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,y.useContext)(Oc),u=jc(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,y.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
|
|
10
|
+
[data-motion-pop-id="${o}"] {
|
|
11
|
+
position: absolute !important;
|
|
12
|
+
width: ${e}px !important;
|
|
13
|
+
height: ${u}px !important;
|
|
14
|
+
${_}px !important;
|
|
15
|
+
${v}px !important;
|
|
16
|
+
}
|
|
17
|
+
`),()=>{s.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,R.jsx)(Mc,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:y.cloneElement(e,{ref:u})})}var Pc=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=x(Fc),d=(0,y.useId)(),f=(0,y.useRef)(n),p=(0,y.useRef)(r);S(()=>{f.current=n,p.current=r});let m=!0,h=(0,y.useMemo)(()=>(m=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>{u.delete(e),!f.current&&!u.size&&p.current?.()})}),[n,u,r]);return a&&m&&(h={...h}),(0,y.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),y.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,R.jsx)(Nc,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,R.jsx)(ee.Provider,{value:h,children:e})};function Fc(){return new Map}function Ic(e=!0){let t=(0,y.useContext)(ee);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,y.useId)();(0,y.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,y.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var Lc=e=>e.key||``;function Rc(e){let t=[];return y.Children.forEach(e,e=>{(0,y.isValidElement)(e)&&t.push(e)}),t}var zc=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=Ic(o),f=(0,y.useMemo)(()=>Rc(e),[e]),p=o&&!u?[]:f.map(Lc),m=(0,y.useRef)(!0),h=x(()=>new Map),g=(0,y.useRef)(new Set),[_,v]=(0,y.useState)(f),[ee,te]=(0,y.useState)(f);S(()=>{o&&!u&&!ee.length&&d?.()},[u,o,ee.length,d]),S(()=>{m.current=!1;for(let e=0;e<ee.length;e++){let t=Lc(ee[e]);p.includes(t)?(h.delete(t),g.current.delete(t)):h.get(t)!==!0&&h.set(t,!1)}},[ee,p.length,p.join(`-`)]);let C=[];if(f!==_){let e=[...f],t=0;for(let n of ee){let r=p.indexOf(Lc(n));r===-1?(e.splice(t++,0,n),C.push(n)):t=r+C.length+1}return C.every(e=>h.get(Lc(e)))?e=f:a===`wait`&&(e=C),te(Rc(e)),v(f),null}let{forceRender:ne}=(0,y.useContext)(b);return(0,R.jsx)(R.Fragment,{children:ee.map(e=>{let _=Lc(e),y=o&&!u?!1:f===ee||p.includes(_);return(0,R.jsx)(Pc,{isPresent:y,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:y?void 0:()=>{if(g.current.has(_))return;if(h.has(_))g.current.add(_),h.set(_,!0);else return;let e=!0;h.forEach(t=>{t||(e=!1)}),e&&(ne?.(),v([]),o&&d?.(),r&&r())},anchorX:s,anchorY:c,children:e},_)})})},Bc=(0,y.createContext)({strict:!1}),Vc={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},Hc=!1;function Uc(){if(Hc)return;let e={};for(let t in Vc)e[t]={isEnabled:e=>Vc[t].some(t=>!!e[t])};jo(e),Hc=!0}function Wc(){return Uc(),Mo()}function Gc(e){let t=Wc();for(let n in e)t[n]={...t[n],...e[n]};jo(t)}var Kc=(0,y.createContext)({});function qc(e,t){if(So(e)){let{initial:t,animate:n}=e;return{initial:t===!1||yo(t)?t:void 0,animate:yo(n)?n:void 0}}return e.inherit===!1?{}:t}function Jc(e){let{initial:t,animate:n}=qc(e,(0,y.useContext)(Kc));return(0,y.useMemo)(()=>({initial:t,animate:n}),[Yc(t),Yc(n)])}function Yc(e){return Array.isArray(e)?e.join(` `):e}var Xc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Zc(e,t,n){for(let r in t)!Ai(t[r])&&!Ro(r,n)&&(e[r]=t[r])}function Qc({transformTemplate:e},t){return(0,y.useMemo)(()=>{let n=Xc();return ra(n,t,e),Object.assign({},n.vars,n.style)},[t])}function $c(e,t){let n=e.style||{},r={};return Zc(r,n,e),Object.assign(r,Qc(e,t)),r}function el(e,t){let n={},r=$c(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var tl=()=>({...Xc(),attrs:{}});function nl(e,t,n,r){let i=(0,y.useMemo)(()=>{let n=tl();return ca(n,t,Uo(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Zc(t,e.style,e),i.style={...t,...i.style}}return i}var rl=new Set(`animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function il(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||rl.has(e)}function al(e,t){return e.startsWith(`on`)?!il(e):t?.(e)??!il(e)}function ol(e,t,n,r){let i={};for(let a in e)(a!==`values`||typeof e.values!=`object`)&&(Ai(e[a])||(al(a,r)||n===!0&&il(a)||!t&&!il(a)||e.draggable&&a.startsWith(`onDrag`))&&(i[a]=e[a]));return i}var sl=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function cl(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(sl.indexOf(e)>-1||/[A-Z]/u.test(e))}function ll(e,t,n,{latestValues:r},i,a=!1,o,s){let c=(o??cl(e)?nl:el)(t,r,i,e),l=ol(t,typeof e==`string`,a,s),u=e===y.Fragment?{}:{...l,...c,ref:n},{children:d}=t,f=(0,y.useMemo)(()=>Ai(d)?d.get():d,[d]);return(0,y.createElement)(e,{...u,children:f})}function ul({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:dl(n,r,i,e),renderState:t()}}function dl(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=Vs(a[e]);let{initial:o,animate:s}=e,c=So(e),l=Co(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!vo(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Si(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var fl=e=>(t,n)=>{let r=(0,y.useContext)(Kc),i=(0,y.useContext)(ee),a=()=>ul(e,t,r,i);return n?a():x(a)},pl=fl({scrapeMotionValuesFromProps:zo,createRenderState:Xc}),ml=fl({scrapeMotionValuesFromProps:Go,createRenderState:tl}),hl=Symbol.for(`motionComponentSymbol`);function gl(e,t,n){let r=(0,y.useRef)(n);(0,y.useInsertionEffect)(()=>{r.current=n});let i=(0,y.useRef)(null);return(0,y.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`){if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n)}else a&&(a.current=n)},[t])}var _l=(0,y.createContext)({});function vl(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function yl(e,t,n,r,i,a){let{visualElement:o}=(0,y.useContext)(Kc),s=(0,y.useContext)(Bc),c=(0,y.useContext)(ee),l=(0,y.useContext)(Oc),u=l.reducedMotion,d=l.skipAnimations,f=(0,y.useRef)(null),p=(0,y.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,y.useContext)(_l);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&bl(f.current,n,i,h);let g=(0,y.useRef)(!1);(0,y.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[Pi],v=(0,y.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return S(()=>{p.current&&m&&(m.animationState?.animateChanges(),m.enteringChildren=void 0)},[]),S(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,y.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function bl(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:xl(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&vl(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function xl(e){if(e)return e.options.allowProjection===!1?xl(e.parent):e.projection}function Sl(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Gc(r);let a=n?n===`svg`:cl(e),o=a?ml:pl;function s(n,s){let c,l={...(0,y.useContext)(Oc),...n,layoutId:z(n)},{isStatic:u,isValidProp:d}=l,f=Jc(n),p=o(n,u);if(!u&&typeof window<`u`){Cl(l,r);let t=wl(l);c=t.MeasureLayout,f.visualElement=yl(e,p,l,i,t.ProjectionNode,a)}return(0,R.jsxs)(Kc.Provider,{value:f,children:[c&&f.visualElement?(0,R.jsx)(c,{visualElement:f.visualElement,...l}):null,ll(e,n,gl(p,f.visualElement,s),p,u,t,a,d)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,y.forwardRef)(s);return c[hl]=e,c}function z({layoutId:e}){let t=(0,y.useContext)(b).id;return t&&e!==void 0?t+`-`+e:e}function Cl(e,t){(0,y.useContext)(Bc).strict}function wl(e){let{drag:t,layout:n}=Wc();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function Tl(e,t){if(typeof Proxy>`u`)return Sl;let n=new Map,r=(n,r)=>Sl(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,Sl(a,void 0,e,t)),n.get(a))})}var El=(e,t)=>t.isSVG??cl(e)?new Ko(t):new Vo(t,{allowProjection:e!==y.Fragment}),Dl=class extends Fo{constructor(e){super(e),e.animationState||=F(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();vo(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},Ol=0,kl={animation:{Feature:Dl},exit:{Feature:class extends Fo{constructor(){super(...arguments),this.id=Ol++}update(){let{presenceContext:e,prevPresenceContext:t,animationState:n}=this.node;if(!e||!n)return;let{isPresent:r,onExitComplete:i}=e,a=t?.isPresent;if(r===a)return;if(r&&a===!1){if(this.exit===!0){let{initial:e}=this.node.getProps();if(e&&!Array.isArray(e)){let{transition:t,transitionEnd:n,...r}=Ci(this.node,e)||{};for(let e in r)this.node.getValue(e)?.jump(r[e])}this.node.blockInitialAnimation=!1,n.reset(),n.animateChanges()}else n.setActive(`exit`,!1);this.exit=void 0;return}let o=this.exit=n.setActive(`exit`,!r);i&&!r&&o.then(()=>{this.exit===o&&(this.exit=!0,i(this.id))})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function Al(e){return{point:{x:e.pageX,y:e.pageY}}}var jl=e=>t=>La(t)&&e(t,Al(t));function Ml(e,t,n,r){return Ls(e,t,jl(n),r)}var Nl=({current:e})=>e?e.ownerDocument.defaultView:null,Pl=(e,t)=>Math.abs(e-t);function Fl(e,t){let n=Pl(e.x,t.x),r=Pl(e.y,t.y);return Math.sqrt(n**2+r**2)}var Il=new Set([`auto`,`scroll`]),Ll=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.hasPendingMove=!1,this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Rl(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Bl(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Fl(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e;this.history.push({...r,timestamp:Fe.now()});let{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=Rl(t,this.transformPagePoint),this.hasPendingMove=!0,j.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.hasPendingMove&&this.updatePoint(),this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=Bl(e.type===`pointercancel`?this.lastMoveEventInfo:Rl(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!La(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=Rl(Al(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=O;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Bl(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=ce(Ml(this.contextWindow,`pointermove`,this.handlePointerMove,d),Ml(this.contextWindow,`pointerup`,this.handlePointerUp,d),Ml(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(Il.has(e.overflowX)||Il.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};(i.x!==0||i.y!==0)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),j.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Qt(this.updatePoint)}};function Rl(e,t){return t?{point:t(e.point)}:e}function zl(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Bl({point:e},t){return{point:e,delta:zl(e,Hl(t)),offset:zl(e,Vl(t)),velocity:Ul(t,.1)}}function Vl(e){return e[0]}function Hl(e){return e[e.length-1]}function Ul(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Hl(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>de(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>de(t)*2&&(r=e[1]);let a=fe(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Wl(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?A(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?A(n,e,r.max):Math.min(e,n)),e}function Gl(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function Kl(e,{top:t,left:n,bottom:r,right:i}){return{x:Gl(e.x,n,i),y:Gl(e.y,t,r)}}function ql(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Jl(e,t){return{x:ql(e.x,t.x),y:ql(e.y,t.y)}}function Yl(e,t){let n=.5,r=L(e),i=L(t);return i>r?n=le(t.min,t.max-r,e.min):r>i&&(n=le(e.min,e.max-i,t.min)),ne(0,1,n)}function Xl(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var Zl=.35;function Ql(e=Zl){return e===!1?e=0:e===!0&&(e=Zl),{x:$l(e,`left`,`right`),y:$l(e,`top`,`bottom`)}}function $l(e,t,n){return{min:eu(e,t),max:eu(e,n)}}function eu(e,t){return typeof e==`number`?e:e[t]||0}var tu=new WeakMap,nu=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=go(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(e),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Ma(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ws(e=>{let t=this.getAxisMotionValue(e).get()||0;if(it.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=L(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&j.update(()=>i(e,t),!1,!0),Mi(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=ou(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&j.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new Ll(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:Nl(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&j.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!au(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Wl(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&vl(e)?this.constraints||=this.resolveRefConstraints():this.constraints=e&&n?Kl(n.layoutBox,e):!1,this.elastic=Ql(t),r!==this.constraints&&!vl(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&ws(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Xl(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!vl(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=Da(n,r.root,this.visualElement.getTransformPagePoint()),a=Jl(r.layout.layoutBox,i);if(t){let e=t(ua(a));this.hasMutatedConstraints=!!e,e&&(a=la(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=ws(o=>{if(!au(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return Mi(this.visualElement,e),n.start(_i(e,n,0,t,this.visualElement,!1))}stopAnimation(){ws(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor({clientX:e,clientY:t}){let{drag:n}=this.getProps(),r={x:e,y:t},i=this.visualElement.getTransformPagePoint()?.(r)||r,a=this.visualElement.measureViewportBox();ws(e=>{if(!au(e,n,this.currentDirection))return;let t=this.getAxisMotionValue(e),{min:r,max:o}=a[e];t.set((t.get()||0)+i[e]-A(r,o,.5))})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!vl(t)||!n||!this.constraints)return;this.stopAnimation();let r=this.constraints,i={x:0,y:0};ws(e=>{let t=this.getAxisMotionValue(e).get();i[e]=Yl({min:t,max:t},r[e])});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),ws(t=>{let n=this.getAxisMotionValue(t);if(!au(t,e,null)||!n.get())return;let{min:r,max:a}=this.constraints[t];n.set(A(r,a,i[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;tu.set(this.visualElement,this);let e=this.visualElement.current,t=Ml(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Va(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();vl(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=iu(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),j.read(r);let o=Ls(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(ws(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=Zl,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function ru(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function iu(e,t,n){let r=co(e,ru(n)),i=co(t,ru(n));return()=>{r(),i()}}function au(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function ou(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var su=class extends Fo{constructor(e){super(e),this.removeGroupControls=se,this.removeListeners=se,this.controls=new nu(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||se}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},cu=e=>(t,n)=>{e&&j.update(()=>e(t,n),!1,!0)},lu=class extends Fo{constructor(){super(...arguments),this.removePointerDownListener=se}onPointerDown(e){this.session=new Ll(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Nl(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:cu(e),onStart:cu(t),onMove:cu(n),onEnd:(e,t)=>{delete this.session,r&&j.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Ml(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},B=!1,uu=class extends y.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),B&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ws.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),B=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||j.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),Oa.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;B=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function du(e){let[t,n]=Ic(),r=(0,y.useContext)(b);return(0,R.jsx)(uu,{...e,layoutGroup:r,switchLayoutGroup:(0,y.useContext)(_l),isPresent:t,safeToRemove:n})}var fu={pan:{Feature:lu},drag:{Feature:su,ProjectionNode:Dc,MeasureLayout:du}};function pu(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&j.postRender(()=>i(t,Al(t)))}var mu=class extends Fo{mount(){let{current:e}=this.node;e&&(this.unmount=Fa(e,(e,t)=>(pu(this.node,t,`Start`),e=>pu(this.node,e,`End`))))}unmount(){}},hu=class extends Fo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}e&&this.node.animationState&&(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=ce(Ls(this.node.current,`focus`,()=>this.onFocus()),Ls(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function gu(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&j.postRender(()=>i(t,Al(t)))}var _u=class extends Fo{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Ja(e,(e,t)=>(gu(this.node,t,`Start`),(e,{success:t})=>gu(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},vu=new WeakMap,yu=new WeakMap,bu=e=>{let t=vu.get(e.target);t&&t(e)},xu=e=>{e.forEach(bu)};function Su({root:e,...t}){let n=e||document;yu.has(n)||yu.set(n,{});let r=yu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(xu,{root:e,...t})),r[i]}function Cu(e,t,n){let r=Su(t);return vu.set(e,n),r.observe(e),()=>{vu.delete(e),r.unobserve(e)}}var wu={some:0,all:1},V=class extends Fo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:wu[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=Cu(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(Tu(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function Tu({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Eu={inView:{Feature:V},tap:{Feature:_u},focus:{Feature:hu},hover:{Feature:mu}},Du={layout:{ProjectionNode:Dc,MeasureLayout:du}},Ou=Tl({...kl,...Eu,...fu,...Du},El),ku=g(),Au=`/assets/generated/media-216610d365.webp`,ju=`/assets/generated/media-a70660bfa9.webp`,Mu=`/assets/generated/media-ced60fcecc.webp`,H=`/assets/generated/media-2a9e0f623f.webp`,Nu=`/assets/generated/media-bc1322e813.webp`,U=[{id:`sable-blazer`,name:`SABLE BLAZER`,category:`OUTERWEAR`,price:480,image:Au,hoverImage:H,colors:[{name:`Obsidian Black`,hex:`#0e0e0e`},{name:`Oxblood Noir`,hex:`#4a0d10`}],sizes:[`36`,`38`,`40`,`42`],description:`Sculpted single-breasted blazer tailored from 380gsm English wool crepe with hand-finished notched lapels, padded architectural shoulders, and horn buttons.`,details:[`100% Virgin English Wool Crepe`,`Cupro jacquard lining with interior welt pocket`,`Dry clean only by leather & tailoring specialist`,`Artisanal production run limited to 120 pieces`],badge:`NEW`,rating:5},{id:`merino-turtleneck`,name:`MERINO SECOND-SKIN TURTLENECK`,category:`TOPS`,price:240,image:Mu,hoverImage:Au,colors:[{name:`Onyx Noir`,hex:`#111111`},{name:`Charcoal Smoke`,hex:`#2c2c2c`}],sizes:[`XS`,`S`,`M`,`L`,`XL`],description:`Ultra-fine 16-gauge Australian merino knit engineered to contour the torso with seamless ribbed collar and extended wrist cuffs.`,details:[`100% Extra-fine Merino Wool (19.5 micron)`,`Fully fashioned seamless circular knit`,`Naturally thermo-regulating and odor resistant`]},{id:`slouchy-culottes`,name:`SLOUCHY CULOTTES`,category:`BOTTOMS`,price:385,image:`/assets/generated/media-ced60fcecc.webp`,hoverImage:Au,colors:[{name:`Slate Deep`,hex:`#1c1f24`},{name:`Carbon Black`,hex:`#121212`}],sizes:[`34`,`36`,`38`,`40`,`42`],description:`High-waisted wide-leg culottes with deep double front pleats and fluid heavy drape in Italian wool-twill blend.`,details:[`68% Wool, 32% Cotton twill`,`Concealed hook-and-bar closure`,`Made in Italy`]},{id:`calm-pullover`,name:`CALM PULLOVER`,category:`TOPS`,price:410,originalPrice:500,isSale:!0,image:Mu,hoverImage:Au,colors:[{name:`Bone White`,hex:`#ede8e1`},{name:`Heather Charcoal`,hex:`#313337`}],sizes:[`S`,`M`,`L`],description:`Heavyweight ribbed fisherman knit constructed from organic carded cashmere and organic cotton.`,details:[`70% Organic Carded Cashmere, 30% GOTS Cotton`,`Drop-shoulder relaxed proportion`,`Ribbed boat collar`],badge:`SALE`},{id:`matrix-mini-dress`,name:`MATRIX MINI DRESS`,category:`DRESSES`,price:185,image:ju,hoverImage:H,colors:[{name:`Gloss Lambskin`,hex:`#0a0a0a`},{name:`Deep Oxblood`,hex:`#581013`}],sizes:[`34`,`36`,`38`,`40`],description:`Minimalist straight-cut mini silhouette cut from ultra-supple bonded lambskin with concealed side zip.`,details:[`Bonded European Lambskin`,`Silk-touch stretch lining`,`Clean raw-cut hem`]},{id:`sharp-leather-trench`,name:`SHARP LEATHER TRENCH`,category:`LEATHER`,price:720,image:H,hoverImage:ju,colors:[{name:`Midnight Black`,hex:`#0f0f0f`},{name:`Burnished Wine`,hex:`#3b0a0e`}],sizes:[`36`,`38`,`40`],description:`Floor-skimming double-breasted trench in full-grain vegetable tanned Italian leather with storm flap and buckled belt.`,details:[`100% Full-Grain Vegetable Tanned Italian Nappa`,`Matte ruthenium custom hardware`,`Hand-waxed edge finishing`]},{id:`leather-tee`,name:`LEATHER TEE`,category:`LEATHER`,price:325,originalPrice:440,isSale:!0,image:Nu,hoverImage:Au,colors:[{name:`Obsidian Noir`,hex:`#111111`},{name:`Chestnut Patina`,hex:`#3b241a`}],sizes:[`XS`,`S`,`M`,`L`,`XL`],description:`An icon of the Autumn/Winter 26 edit: an architectural crewneck t-shirt precision-cut from glove-soft French calfskin with laser-cut edges and subtle dropped shoulder.`,details:[`0.6mm ultra-soft French calfskin nappa`,`Bonded interior with anti-friction microfiber`,`Laser-finished collar, cuffs, and hem`,`Concealed shoulder zip closure for effortless fit`],badge:`FEATURED`},{id:`abyssal-cardigan`,name:`ABYSSAL CARDIGAN`,category:`TOPS`,price:280,image:Mu,hoverImage:Au,colors:[{name:`Ink Black`,hex:`#0e1014`},{name:`Deep Umber`,hex:`#2d1e17`}],sizes:[`S`,`M`,`L`,`XL`],description:`Substantial chunky cardigan with tactile waffle weave and horn buttons, cut with generous volume.`,details:[`100% Superfine Shetland Wool`,`Natural buffalo horn buttons`]},{id:`zenith-shift-dress`,name:`ZENITH SHIFT DRESS`,category:`DRESSES`,price:390,image:ju,hoverImage:Au,colors:[{name:`Anthracite`,hex:`#1f2022`},{name:`Wine Velvet`,hex:`#480e12`}],sizes:[`36`,`38`,`40`],description:`Sleek asymmetric slip silhouette with diagonal bias drape and subtle square neckline.`,details:[`Sandwashed heavy silk satin`,`Adjustable double spaghetti straps`]},{id:`gloom-gauntlets`,name:`GLOOM GAUNTLETS`,category:`LEATHER`,price:195,image:H,hoverImage:ju,colors:[{name:`Matte Calfskin`,hex:`#141414`}],sizes:[`S/M`,`M/L`],description:`Elongated mid-arm gloves in glove-grade sheepskin with tonal darting.`,details:[`100% Cabretta Leather`,`Cashmere silk blend lining`]},{id:`ink-boots`,name:`INK PLATFORM BOOTS`,category:`FOOTWEAR`,price:495,image:H,hoverImage:Nu,colors:[{name:`Deep Black Polish`,hex:`#0a0a0a`}],sizes:[`38`,`39`,`40`,`41`,`42`,`43`,`44`],description:`Sculptural square-toe chelsea boots with chunky tread sole and concealed tonal elastic gussets.`,details:[`Full grain waxed bovine leather`,`Vibram custom lug sole`,`Goodyear welted construction`]},{id:`kuro-jacket`,name:`KURO LEATHER JACKET`,category:`LEATHER`,price:520,originalPrice:650,isSale:!0,image:H,hoverImage:Au,colors:[{name:`Kuro Noir`,hex:`#0f0f0f`}],sizes:[`38`,`40`,`42`,`44`],description:`Asymmetric biker reimagined with minimal exterior hardware, stand collar, and washed drum-dyed lambskin.`,details:[`Drum-dyed washed lambskin`,`YKK Excella oxidized black zippers`],badge:`SALE`},{id:`slate-trousers`,name:`TAILORED SLATE TROUSERS`,category:`BOTTOMS`,price:190,image:Mu,hoverImage:Au,colors:[{name:`Dark Slate`,hex:`#1b1d20`}],sizes:[`46`,`48`,`50`,`52`],description:`Mid-rise tailored trousers with sharp permanent press crease and adjustable side tabs.`,details:[`Super 120s virgin wool`,`Half lined in viscose`]}],Pu=[{id:`leather`,name:`LEATHER`,count:`14 Styles`,image:H,href:`#shop`},{id:`bottoms`,name:`BOTTOMS`,count:`18 Styles`,image:Mu,href:`#shop`},{id:`tops`,name:`TOPS`,count:`22 Styles`,image:Nu,href:`#shop`},{id:`dresses`,name:`DRESSES`,count:`11 Styles`,image:ju,href:`#shop`},{id:`footwear`,name:`FOOTWEAR`,count:`8 Styles`,image:H,href:`#shop`}],Fu=[{id:`story-1`,title:`AW26 EDIT`,coverImage:Au,slides:[{id:`s1-1`,title:`AUTUMN / WINTER 26`,subtitle:`Considered silhouettes born from quiet study and sculptural proportion.`,image:Au,productTag:{name:`Sable Blazer`,price:480,productId:`sable-blazer`}},{id:`s1-2`,title:`OXBLOOD & OBSIDIAN`,subtitle:`Shadowed tones punctured by warm rim-lighting and rich tactile depth.`,image:H,productTag:{name:`Kuro Jacket`,price:520,productId:`kuro-jacket`}}]},{id:`story-2`,title:`THE ATELIER`,coverImage:H,slides:[{id:`s2-1`,title:`MASTER PATTERN CUTTING`,subtitle:`Every curve drafted by hand in our Florence workshop.`,image:ju},{id:`s2-2`,title:`VEGETABLE TANNED LEATHER`,subtitle:`Slow drum-dyed skins that evolve and patina with every wear.`,image:H,productTag:{name:`Sharp Leather Trench`,price:720,productId:`sharp-leather-trench`}}]},{id:`story-3`,title:`TAILORING`,coverImage:Nu,slides:[{id:`s3-1`,title:`CALFSKIN AS TEXTILE`,subtitle:`Treated to mimic the lightness and breathability of raw cotton.`,image:Nu,productTag:{name:`Leather Tee`,price:325,productId:`leather-tee`}}]},{id:`story-4`,title:`RUNWAY LOOKS`,coverImage:ju,slides:[{id:`s4-1`,title:`PARIS EDITORIAL`,subtitle:`Contrasting structured leather with ethereal column slips.`,image:ju,productTag:{name:`Matrix Mini Dress`,price:185,productId:`matrix-mini-dress`}}]},{id:`story-5`,title:`VIP ARCHIVE`,coverImage:Mu,slides:[{id:`s5-1`,title:`RESERVED ACCESS`,subtitle:`Members receive private 48-hour access to small batch releases.`,image:Au}]}],Iu=[{author:`Amelia C.`,role:`Fashion Director, London`,product:`Sable Blazer`,quote:`The Sable Blazer was easy to style right away. The cut is clean, sits perfectly on the shoulders, and the wool feels far better than anything I have worn this season.`,stars:5},{author:`Lina O.`,role:`Architect, Berlin`,product:`Kuro Jacket`,quote:`Uncompromising craft. The drum-dyed leather has a tactile weight that feels like a vintage heirloom on day one. Worth every euro.`,stars:5},{author:`Marcus V.`,role:`Creative Producer, New York`,product:`Leather Tee`,quote:`I had never worn a calfskin tee before this piece. The drape is architectural yet completely effortless. It has become my signature evening piece.`,stars:5}],Lu=[{id:`post-1`,title:`CHIFFON COLUMN: LIGHT THROUGH OXBLOOD OBSIDIAN`,date:`AUG 07, 2026`,readTime:`4 min read`,excerpt:`An investigation into dual-weight dressing for early autumn: balancing heavy English wool crepe with sheer bias-cut silk organza.`,image:Au,tag:`EDITORIAL`},{id:`post-2`,title:`THE RAVEN TRENCH IN THE RAIN: FUNCTION AS SCULPTURE`,date:`AUG 18, 2026`,readTime:`6 min read`,excerpt:`How water-resistant paraffin-coated cotton and calfskin trim withstand northern squalls while preserving razor-sharp lines.`,image:ju,tag:`CRAFT`},{id:`post-3`,title:`KURO LEATHER, WORN IN: THE BEAUTY OF NATURAL PATINA`,date:`AUG 29, 2026`,readTime:`5 min read`,excerpt:`Why we choose untreated full-grain skins that remember each fold, crease, and midnight drive of their wearer.`,image:H,tag:`ARCHIVE`}],Ru=[{question:`Where do you ship?`,answer:`We offer complimentary express courier shipping to over 85 countries worldwide on all orders exceeding $150. All international duties and taxes are fully calculated and included at checkout with no surprise border fees.`},{question:`What is your return policy?`,answer:`We provide a 30-day effortless return and exchange window. Simply print your pre-paid label via your account or customer care, and arrange a complimentary home courier pick-up.`},{question:`How do I find the right size?`,answer:`Our silhouettes are cut true to standard European sizing with tailored precision. Each product page features a detailed garment measurement table, and our digital styling concierge is available 24/7 to assist with bespoke fit recommendations.`}],zu=(0,y.createContext)(void 0),Bu=({children:e})=>{let[t,n]=(0,y.useState)([{product:U[0],selectedColor:`Obsidian Black`,selectedSize:`38`,quantity:1}]),[r,i]=(0,y.useState)(!1),[a,o]=(0,y.useState)(!1),[s,c]=(0,y.useState)(!1),[l,u]=(0,y.useState)(!1),[d,f]=(0,y.useState)(!1),[p,m]=(0,y.useState)(null),[h,g]=(0,y.useState)(null),[_,v]=(0,y.useState)(!1),[b,x]=(0,y.useState)(null),[S,ee]=(0,y.useState)(!1),[te,C]=(0,y.useState)({startX:0,startY:0,active:!1}),[ne,w]=(0,y.useState)(!1),[re,ie]=(0,y.useState)(`USD`),ae={USD:{symbol:`$`,rate:1},EUR:{symbol:`€`,rate:.92},GBP:{symbol:`£`,rate:.79},JPY:{symbol:`¥`,rate:152}},oe=ae[re]?.rate||1,se=e=>{let t=ae[re]||{symbol:`$`,rate:1},n=e*t.rate;return re===`JPY`?`${t.symbol}${Math.round(n).toLocaleString()}`:`${t.symbol}${n.toFixed(2)}`};(0,y.useEffect)(()=>{r||a||l||p!==null||h!==null||_?(document.documentElement.classList.add(`is-scroll-locked`),document.body.classList.add(`is-scroll-locked`)):(document.documentElement.classList.remove(`is-scroll-locked`),document.body.classList.remove(`is-scroll-locked`));let e=e=>{e.key===`Escape`&&(i(!1),o(!1),c(!1),u(!1),f(!1),m(null),g(null),v(!1),ee(!1))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[r,a,l,p,h,_]),(0,y.useEffect)(()=>{b&&window.scrollTo({top:0,behavior:`smooth`})},[b]);let ce=(e,t)=>{let r=t?.color||e.colors[0]?.name||`Standard`,i=t?.size||e.sizes[0]||`One Size`,a=t?.count||1;if(t?.event){let e=t.event.currentTarget.getBoundingClientRect();C({startX:e.left+e.width/2,startY:e.top+e.height/2,active:!0}),setTimeout(()=>{C({startX:0,startY:0,active:!1}),w(!0),setTimeout(()=>w(!1),450)},550)}else w(!0),setTimeout(()=>w(!1),450);n(t=>{let n=t.find(t=>t.product.id===e.id&&t.selectedColor===r&&t.selectedSize===i);return n?t.map(e=>e===n?{...e,quantity:e.quantity+a}:e):[...t,{product:e,selectedColor:r,selectedSize:i,quantity:a}]})},le=(e,t,r)=>{n(n=>n.filter(n=>n.product.id!==e||n.selectedColor!==t||n.selectedSize!==r))},ue=(e,t,r,i)=>{if(i<=0){le(e,t,r);return}n(n=>n.map(n=>n.product.id===e&&n.selectedColor===t&&n.selectedSize===r?{...n,quantity:i}:n))},de=()=>n([]),fe=t.reduce((e,t)=>e+t.quantity,0),pe=t.reduce((e,t)=>e+t.product.price*t.quantity,0),me=Math.min(100,pe/150*100);return(0,R.jsx)(zu.Provider,{value:{cart:t,addToCart:ce,removeFromCart:le,updateQuantity:ue,clearCart:de,cartCount:fe,cartTotal:pe,freeShippingThreshold:150,freeShippingProgress:me,isMenuOpen:r,setIsMenuOpen:i,isBagOpen:a,setIsBagOpen:o,isSearchOpen:s,setIsSearchOpen:c,isDiscoverOpen:l,setIsDiscoverOpen:u,isPromoOpen:d,setIsPromoOpen:f,activeStoryIndex:p,setActiveStoryIndex:m,quickViewProduct:h,setQuickViewProduct:g,isReserveModalOpen:_,setIsReserveModalOpen:v,activeProductPage:b,setActiveProductPage:x,isAgentSamOpen:S,setIsAgentSamOpen:ee,flyState:te,isBagPopping:ne,currency:re,setCurrency:ie,currencyRate:oe,formatPrice:se},children:e})},W=()=>{let e=(0,y.useContext)(zu);if(!e)throw Error(`useCart must be used within a CartProvider`);return e},Vu=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Hu=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),Uu=e=>{let t=Hu(e);return t.charAt(0).toUpperCase()+t.slice(1)},Wu=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Gu=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0},Ku={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`},qu=(0,y.forwardRef)(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>(0,y.createElement)(`svg`,{ref:c,...Ku,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Wu(`lucide`,i),...!a&&!Gu(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,y.createElement)(e,t)),...Array.isArray(a)?a:[a]])),G=(e,t)=>{let n=(0,y.forwardRef)(({className:n,...r},i)=>(0,y.createElement)(qu,{ref:i,iconNode:t,className:Wu(`lucide-${Vu(Uu(e))}`,`lucide-${e}`,n),...r}));return n.displayName=Uu(e),n},Ju=G(`arrow-left-right`,[[`path`,{d:`M8 3 4 7l4 4`,key:`9rb6wj`}],[`path`,{d:`M4 7h16`,key:`6tx8e3`}],[`path`,{d:`m16 21 4-4-4-4`,key:`siv7j2`}],[`path`,{d:`M20 17H4`,key:`h6l3hr`}]]),Yu=G(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),Xu=G(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),Zu=G(`arrow-up-right`,[[`path`,{d:`M7 7h10v10`,key:`1tivn9`}],[`path`,{d:`M7 17 17 7`,key:`1vkiza`}]]),Qu=G(`arrow-up`,[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]),$u=G(`award`,[[`path`,{d:`m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526`,key:`1yiouv`}],[`circle`,{cx:`12`,cy:`8`,r:`6`,key:`1vp47v`}]]),K=G(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),q=G(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),J=G(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Y=G(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),X=G(`copy`,[[`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`}]]),ed=G(`external-link`,[[`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`}]]),td=G(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),nd=G(`file-code`,[[`path`,{d:`M10 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}],[`path`,{d:`M14 2v4a2 2 0 0 0 2 2h4`,key:`tnqrlb`}],[`path`,{d:`M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z`,key:`1mlx9k`}]]),rd=G(`globe`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]),id=G(`headphones`,[[`path`,{d:`M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3`,key:`1xhozi`}]]),ad=G(`heart`,[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`,key:`mvr1a0`}]]),od=G(`instagram`,[[`rect`,{width:`20`,height:`20`,x:`2`,y:`2`,rx:`5`,ry:`5`,key:`2e1cvw`}],[`path`,{d:`M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z`,key:`9exkf1`}],[`line`,{x1:`17.5`,x2:`17.51`,y1:`6.5`,y2:`6.5`,key:`r4j83e`}]]),sd=G(`megaphone`,[[`path`,{d:`M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`,key:`q8bfy3`}],[`path`,{d:`M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14`,key:`1853fq`}],[`path`,{d:`M8 6v8`,key:`15ugcq`}]]),cd=G(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),ld=G(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),ud=G(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),dd=G(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),fd=G(`ruler`,[[`path`,{d:`M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z`,key:`icamh8`}],[`path`,{d:`m14.5 12.5 2-2`,key:`inckbg`}],[`path`,{d:`m11.5 9.5 2-2`,key:`fmmyf7`}],[`path`,{d:`m8.5 6.5 2-2`,key:`vc6u1g`}],[`path`,{d:`m17.5 15.5 2-2`,key:`wo5hmg`}]]),pd=G(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),md=G(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),hd=G(`shopping-bag`,[[`path`,{d:`M16 10a4 4 0 0 1-8 0`,key:`1ltviw`}],[`path`,{d:`M3.103 6.034h17.794`,key:`awc11p`}],[`path`,{d:`M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z`,key:`o988cm`}]]),gd=G(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),_d=G(`star`,[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]),vd=G(`tag`,[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]),yd=G(`trash-2`,[[`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`}]]),bd=G(`truck`,[[`path`,{d:`M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2`,key:`wrbu53`}],[`path`,{d:`M15 18H9`,key:`1lyqi6`}],[`path`,{d:`M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14`,key:`lysw3i`}],[`circle`,{cx:`17`,cy:`18`,r:`2`,key:`332jqn`}],[`circle`,{cx:`7`,cy:`18`,r:`2`,key:`19iecd`}]]),xd=G(`user`,[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`,key:`975kel`}],[`circle`,{cx:`12`,cy:`7`,r:`4`,key:`17ys0d`}]]),Sd=G(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),Cd=()=>{let{cartCount:e,setIsMenuOpen:t,isMenuOpen:n,setIsBagOpen:r,setIsSearchOpen:i,setIsDiscoverOpen:a,isBagPopping:o,currency:s,setCurrency:c,isAgentSamOpen:l,setIsAgentSamOpen:u,activeProductPage:d,setActiveProductPage:f}=W(),[p,m]=(0,y.useState)(!1);return(0,y.useEffect)(()=>{let e=()=>{window.scrollY>50?m(!0):m(!1)};return window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]),(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`div`,{className:`relative z-40 h-[35px] bg-[#0b0b0b] text-[#e0e0e0] border-b border-white/10 flex items-center overflow-hidden select-none text-[10px] sm:text-[11px] tracking-[0.2em] uppercase font-medium`,children:(0,R.jsxs)(`div`,{className:`animate-marquee flex items-center whitespace-nowrap`,children:[(0,R.jsxs)(`span`,{className:`mx-4 sm:mx-6 flex items-center gap-2`,children:[(0,R.jsx)(`span`,{children:`Free express shipping on orders over $150`}),(0,R.jsx)(`span`,{className:`text-[#8b181b]`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-4 sm:mx-6 flex items-center gap-2`,children:[(0,R.jsx)(`span`,{children:`Members save 20% on their first order`}),(0,R.jsx)(`span`,{className:`text-[#8b181b]`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-4 sm:mx-6 flex items-center gap-2`,children:[(0,R.jsx)(`span`,{children:`Autumn / Winter 26 runway archive now live`}),(0,R.jsx)(`span`,{className:`text-[#8b181b]`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-4 sm:mx-6 flex items-center gap-2`,children:[(0,R.jsx)(`span`,{children:`Complimentary signature gift wrapping on all orders`}),(0,R.jsx)(`span`,{className:`text-[#8b181b]`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-4 sm:mx-6 flex items-center gap-2`,children:[(0,R.jsx)(`span`,{children:`Free express shipping on orders over $150`}),(0,R.jsx)(`span`,{className:`text-[#8b181b]`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-4 sm:mx-6 flex items-center gap-2`,children:[(0,R.jsx)(`span`,{children:`Members save 20% on their first order`}),(0,R.jsx)(`span`,{className:`text-[#8b181b]`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-4 sm:mx-6 flex items-center gap-2`,children:[(0,R.jsx)(`span`,{children:`Autumn / Winter 26 runway archive now live`}),(0,R.jsx)(`span`,{className:`text-[#8b181b]`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-4 sm:mx-6 flex items-center gap-2`,children:[(0,R.jsx)(`span`,{children:`Complimentary signature gift wrapping on all orders`}),(0,R.jsx)(`span`,{className:`text-[#8b181b]`,children:`✦`})]})]})}),(0,R.jsx)(`header`,{className:`fixed left-0 right-0 z-40 transition-all duration-500 ease-[cubic-bezier(0.22,1,0.36,1)] ${p?`top-2 sm:top-4 px-3 sm:px-4 flex justify-center pointer-events-none`:`top-[35px] px-4 sm:px-8 md:px-10 h-14 bg-gradient-to-b from-black/85 via-black/50 to-transparent`}`,children:(0,R.jsxs)(`div`,{className:`pointer-events-auto transition-all duration-500 ease-[cubic-bezier(0.22,1,0.36,1)] ${p?`w-full max-w-[1046px] h-12 bg-white/95 text-[#0b0b0b] rounded-full shadow-[0_8px_30px_rgb(0,0,0,0.18)] backdrop-blur-md px-4 sm:px-6 flex items-center justify-between border border-black/5`:`w-full h-full flex items-center justify-between text-white`}`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-4 sm:gap-6`,children:[(0,R.jsx)(`button`,{onClick:()=>t(!n),className:`group relative flex items-center justify-center w-8 h-8 rounded-full focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-current cursor-pointer`,"aria-label":n?`Close Menu`:`Open Menu`,children:(0,R.jsxs)(`div`,{className:`w-5 h-3.5 flex flex-col justify-between items-start`,children:[(0,R.jsx)(`span`,{className:`h-[1.5px] rounded-full transition-all duration-300 ${p?`bg-[#0b0b0b]`:`bg-white`} ${n?`w-5 translate-y-[5.5px] rotate-45`:`w-5`}`}),(0,R.jsx)(`span`,{className:`h-[1.5px] rounded-full transition-all duration-300 ${p?`bg-[#0b0b0b]`:`bg-white`} ${n?`opacity-0`:`w-3.5 group-hover:w-5`}`}),(0,R.jsx)(`span`,{className:`h-[1.5px] rounded-full transition-all duration-300 ${p?`bg-[#0b0b0b]`:`bg-white`} ${n?`w-5 -translate-y-[6.5px] -rotate-45`:`w-5`}`})]})}),(0,R.jsxs)(`nav`,{className:`hidden md:flex items-center gap-7 text-[12px] uppercase tracking-[0.16em] font-medium`,children:[(0,R.jsxs)(`a`,{href:`#shop`,onClick:()=>d&&f(null),className:`group roll-text`,children:[(0,R.jsx)(`span`,{children:`SHOP`}),(0,R.jsx)(`span`,{children:`SHOP`})]}),(0,R.jsxs)(`a`,{href:`#wardrobe`,onClick:()=>d&&f(null),className:`group roll-text`,children:[(0,R.jsx)(`span`,{children:`WARDROBE`}),(0,R.jsx)(`span`,{children:`WARDROBE`})]}),(0,R.jsxs)(`a`,{href:`#bundle`,onClick:()=>d&&f(null),className:`group roll-text`,children:[(0,R.jsx)(`span`,{children:`BUNDLES`}),(0,R.jsx)(`span`,{children:`BUNDLES`})]}),(0,R.jsxs)(`a`,{href:`#editorial`,onClick:()=>d&&f(null),className:`group roll-text`,children:[(0,R.jsx)(`span`,{children:`EDITORIAL`}),(0,R.jsx)(`span`,{children:`EDITORIAL`})]})]})]}),(0,R.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,R.jsxs)(`button`,{onClick:()=>f(null),className:`font-semibold tracking-[0.25em] sm:tracking-[0.3em] uppercase transition-colors flex items-center gap-1 cursor-pointer ${p?`text-[#0b0b0b] text-[14px] sm:text-[16px]`:`text-white text-[14px] sm:text-[17px]`}`,children:[(0,R.jsx)(`span`,{className:`text-[#8b181b] text-xs`,children:`◆`}),(0,R.jsx)(`span`,{children:`RESOLVE`}),(0,R.jsx)(`span`,{className:`text-[#8b181b] text-xs`,children:`◆`})]})}),(0,R.jsxs)(`div`,{className:`flex items-center gap-1.5 sm:gap-3`,children:[(0,R.jsxs)(`div`,{className:`relative hidden lg:flex items-center gap-1 text-[11px] font-medium tracking-wider`,children:[(0,R.jsx)(rd,{className:`w-3.5 h-3.5 opacity-60`}),(0,R.jsxs)(`select`,{value:s,onChange:e=>c(e.target.value),className:`bg-transparent appearance-none cursor-pointer pr-2 focus:outline-none uppercase`,children:[(0,R.jsx)(`option`,{value:`USD`,className:`text-black bg-white`,children:`USD ($)`}),(0,R.jsx)(`option`,{value:`EUR`,className:`text-black bg-white`,children:`EUR (€)`}),(0,R.jsx)(`option`,{value:`GBP`,className:`text-black bg-white`,children:`GBP (£)`}),(0,R.jsx)(`option`,{value:`JPY`,className:`text-black bg-white`,children:`JPY (¥)`})]})]}),(0,R.jsx)(`button`,{onClick:()=>i(!0),className:`p-1.5 hover:opacity-75 transition-opacity cursor-pointer`,"aria-label":`Open search`,children:(0,R.jsx)(pd,{className:`w-4 h-4`})}),(0,R.jsxs)(`button`,{onClick:()=>a(!0),className:`p-1.5 hover:opacity-75 transition-opacity relative cursor-pointer`,"aria-label":`Open discover news`,children:[(0,R.jsx)(sd,{className:`w-4 h-4`}),(0,R.jsx)(`span`,{className:`absolute top-1 right-1 w-1.5 h-1.5 bg-[#8b181b] rounded-full`})]}),(0,R.jsxs)(`button`,{id:`header-bag-btn`,onClick:()=>r(!0),className:`relative flex items-center gap-1 py-1 px-2.5 sm:py-1.5 sm:px-3 rounded-full text-[11px] sm:text-[12px] font-medium tracking-wider transition-all cursor-pointer ${p?`bg-black text-white hover:bg-neutral-800`:`bg-white/15 backdrop-blur-sm hover:bg-white/25 text-white`} ${o?`scale-110 ring-2 ring-[#8b181b]`:`scale-100`}`,"aria-label":`Shopping bag`,children:[(0,R.jsx)(hd,{className:`w-3.5 h-3.5`}),(0,R.jsx)(`span`,{className:`hidden xs:inline uppercase text-[10px] sm:text-[11px]`,children:`BAG`}),(0,R.jsxs)(`span`,{className:`text-[11px] font-semibold tabular-nums`,children:[`(`,e,`)`]})]}),(0,R.jsx)(`button`,{onClick:()=>u(!l),className:`p-1.5 rounded-full transition-all cursor-pointer ${l?`bg-[#8b181b] text-white`:`text-white/60 hover:text-white hover:bg-white/10`}`,title:`AgentSam Studio Dashboard`,"aria-label":`AgentSam Assistant`,children:(0,R.jsx)(gd,{className:`w-3.5 h-3.5 text-[#e2a8aa]`})})]})]})})]})},wd=()=>{let{addToCart:e,setQuickViewProduct:t,formatPrice:n,setIsBagOpen:r}=W(),[i,a]=(0,y.useState)(null),[o,s]=(0,y.useState)(0);(0,y.useEffect)(()=>{let e=()=>{s(window.scrollY)};return window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]);let c=Math.min(1,o/900),l=1-c*.15,u=c*6,d=1-c*.35,f=U.find(e=>e.id===`sable-blazer`),p=U.find(e=>e.id===`merino-turtleneck`);return(0,R.jsxs)(`section`,{className:`sticky top-0 z-10 h-screen min-h-[640px] max-h-[950px] w-full overflow-hidden bg-[#0b0b0b] text-white`,children:[(0,R.jsxs)(`div`,{className:`absolute inset-0 w-full h-full transition-transform duration-100 ease-out`,style:{transform:`scale(${l})`,filter:`blur(${u}px)`,opacity:d},children:[(0,R.jsx)(`img`,{src:Au,alt:`RESOLVE Autumn / Winter 26 Campaign`,className:`w-full h-full object-cover object-[65%_center] sm:object-center`,referrerPolicy:`no-referrer`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-r from-black/90 via-black/50 to-transparent sm:from-black/85 sm:via-black/40`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/95 via-transparent to-black/40`})]}),(0,R.jsxs)(`div`,{className:`relative z-20 h-full max-w-[1440px] mx-auto px-5 sm:px-12 md:px-16 flex flex-col justify-end sm:justify-center pb-16 sm:pb-0`,children:[(0,R.jsxs)(`div`,{className:`max-w-xl space-y-4 sm:space-y-6 pt-16`,children:[(0,R.jsxs)(`div`,{className:`inline-flex items-center gap-2 px-3 py-1 bg-white/10 backdrop-blur-md rounded-full text-[10px] sm:text-[11px] uppercase tracking-[0.25em] text-[#e2a8aa] font-semibold border border-white/10`,children:[(0,R.jsx)(gd,{className:`w-3 h-3 text-[#8b181b]`}),(0,R.jsx)(`span`,{children:`AUTUMN / WINTER 26 CAMPAIGN`})]}),(0,R.jsxs)(`div`,{className:`space-y-1.5 sm:space-y-2`,children:[(0,R.jsxs)(`h1`,{className:`text-3xl sm:text-5xl md:text-6xl font-light tracking-tight uppercase leading-[1.08] text-balance`,children:[`EFFORTLESS `,(0,R.jsx)(`br`,{}),(0,R.jsx)(`span`,{className:`font-bold tracking-[0.08em] text-white`,children:`BY DESIGN`})]}),(0,R.jsx)(`p`,{className:`text-xs sm:text-base text-white/75 font-light leading-relaxed max-w-md pt-1 sm:pt-2`,children:`Considered silhouettes and quiet textures engineered from 380gsm English wool crepe and glove-grade calfskin.`})]}),(0,R.jsxs)(`div`,{className:`pt-2 sm:pt-4 flex flex-col sm:flex-row items-stretch sm:items-center gap-3 sm:gap-4`,children:[(0,R.jsxs)(`button`,{onClick:t=>{e(f,{event:t}),setTimeout(()=>{e(p),r(!0)},200)},className:`py-3.5 sm:py-4 px-6 sm:px-8 bg-white text-black hover:bg-[#8b181b] hover:text-white text-xs font-bold uppercase tracking-[0.22em] transition-all duration-300 shadow-2xl flex items-center justify-center gap-3 group cursor-pointer`,children:[(0,R.jsx)(hd,{className:`w-4 h-4`}),(0,R.jsxs)(`span`,{children:[`ADD ALL TO CART · `,n(720)]}),(0,R.jsx)(Xu,{className:`w-4 h-4 group-hover:translate-x-1 transition-transform`})]}),(0,R.jsx)(`a`,{href:`#wardrobe`,className:`py-3.5 sm:py-4 px-6 bg-white/10 hover:bg-white/20 backdrop-blur-sm text-white text-xs font-medium uppercase tracking-[0.2em] transition-colors border border-white/15 text-center`,children:`EXPLORE WARDROBE`})]}),(0,R.jsxs)(`div`,{className:`flex items-center gap-4 sm:gap-6 pt-1 sm:pt-3 text-[10px] sm:text-[11px] text-white/50 tracking-wider uppercase`,children:[(0,R.jsx)(`span`,{children:`Includes Sable Blazer & Merino Knit`}),(0,R.jsx)(`span`,{children:`·`}),(0,R.jsx)(`span`,{children:`Florence & Yorkshire`})]})]}),(0,R.jsxs)(`div`,{className:`absolute top-[38%] right-[16%] sm:top-[48%] sm:right-[30%] z-30`,children:[(0,R.jsx)(`button`,{onClick:()=>a(i===`hotspot-blazer`?null:`hotspot-blazer`),className:`relative w-7 h-7 sm:w-8 sm:h-8 rounded-full bg-white text-black flex items-center justify-center shadow-2xl transition-transform hover:scale-110 cursor-pointer hotspot-pulse`,"aria-label":`View Sable Blazer hotspot`,children:(0,R.jsx)(`span`,{className:`w-2.5 h-2.5 rounded-full bg-[#8b181b]`})}),i===`hotspot-blazer`&&(0,R.jsxs)(`div`,{className:`absolute -left-48 sm:left-9 -top-12 w-56 sm:w-64 bg-[#121212]/95 backdrop-blur-md p-4 rounded-sm border border-white/20 shadow-2xl text-left animate-[themeReveal_0.3s_cubic-bezier(0.22,1,0.36,1)] z-40`,children:[(0,R.jsxs)(`div`,{className:`flex justify-between items-start`,children:[(0,R.jsx)(`span`,{className:`text-[9px] uppercase tracking-widest text-[#8b181b] font-bold`,children:`LOOK PIECE 01`}),(0,R.jsx)(`button`,{onClick:()=>a(null),className:`text-white/40 hover:text-white p-0.5`,children:(0,R.jsx)(Sd,{className:`w-3.5 h-3.5`})})]}),(0,R.jsx)(`h4`,{className:`text-xs font-bold uppercase tracking-wider text-white mt-1 truncate`,children:f.name}),(0,R.jsx)(`div`,{className:`text-xs text-white/70 tabular-nums font-mono mt-0.5`,children:n(f.price)}),(0,R.jsxs)(`div`,{className:`mt-3 flex gap-2`,children:[(0,R.jsx)(`button`,{onClick:t=>{e(f,{event:t}),a(null)},className:`flex-1 py-1.5 bg-white text-black text-[10px] font-bold uppercase tracking-wider hover:bg-[#8b181b] hover:text-white transition-colors`,children:`QUICK ADD`}),(0,R.jsx)(`button`,{onClick:()=>{t(f),a(null)},className:`px-2.5 py-1.5 bg-white/10 text-white text-[10px] uppercase tracking-wider hover:bg-white/20 transition-colors`,children:`DETAILS`})]})]})]}),(0,R.jsxs)(`div`,{className:`absolute top-[52%] right-[22%] sm:top-[68%] sm:right-[38%] z-30`,children:[(0,R.jsx)(`button`,{onClick:()=>a(i===`hotspot-merino`?null:`hotspot-merino`),className:`relative w-7 h-7 sm:w-8 sm:h-8 rounded-full bg-white text-black flex items-center justify-center shadow-2xl transition-transform hover:scale-110 cursor-pointer hotspot-pulse`,"aria-label":`View Merino Turtleneck hotspot`,children:(0,R.jsx)(`span`,{className:`w-2.5 h-2.5 rounded-full bg-[#8b181b]`})}),i===`hotspot-merino`&&(0,R.jsxs)(`div`,{className:`absolute -left-48 sm:left-9 -top-12 w-56 sm:w-64 bg-[#121212]/95 backdrop-blur-md p-4 rounded-sm border border-white/20 shadow-2xl text-left animate-[themeReveal_0.3s_cubic-bezier(0.22,1,0.36,1)] z-40`,children:[(0,R.jsxs)(`div`,{className:`flex justify-between items-start`,children:[(0,R.jsx)(`span`,{className:`text-[9px] uppercase tracking-widest text-[#8b181b] font-bold`,children:`LOOK PIECE 02`}),(0,R.jsx)(`button`,{onClick:()=>a(null),className:`text-white/40 hover:text-white p-0.5`,children:(0,R.jsx)(Sd,{className:`w-3.5 h-3.5`})})]}),(0,R.jsx)(`h4`,{className:`text-xs font-bold uppercase tracking-wider text-white mt-1 truncate`,children:p.name}),(0,R.jsx)(`div`,{className:`text-xs text-white/70 tabular-nums font-mono mt-0.5`,children:n(p.price)}),(0,R.jsxs)(`div`,{className:`mt-3 flex gap-2`,children:[(0,R.jsx)(`button`,{onClick:t=>{e(p,{event:t}),a(null)},className:`flex-1 py-1.5 bg-white text-black text-[10px] font-bold uppercase tracking-wider hover:bg-[#8b181b] hover:text-white transition-colors`,children:`QUICK ADD`}),(0,R.jsx)(`button`,{onClick:()=>{t(p),a(null)},className:`px-2.5 py-1.5 bg-white/10 text-white text-[10px] uppercase tracking-wider hover:bg-white/20 transition-colors`,children:`DETAILS`})]})]})]})]})]})},Td=()=>(0,R.jsx)(`section`,{id:`wardrobe`,className:`relative z-20 bg-white text-[#111111] py-20 px-6 sm:px-10 md:px-12 shadow-[0_-20px_40px_rgba(0,0,0,0.3)] transition-all`,children:(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto space-y-10`,children:[(0,R.jsxs)(`div`,{className:`text-center space-y-2`,children:[(0,R.jsx)(`h2`,{className:`text-3xl md:text-4xl font-bold tracking-[0.12em] uppercase text-[#111111]`,children:`THE WARDROBE`}),(0,R.jsx)(`p`,{className:`text-xs tracking-[0.2em] uppercase text-neutral-500 font-medium`,children:`Core category architecture for Autumn / Winter 26`})]}),(0,R.jsx)(`div`,{className:`grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-3 md:gap-4 overflow-x-auto pb-4`,children:Pu.map(e=>(0,R.jsxs)(`a`,{href:`#collection-tab`,className:`group relative bg-[#f5f5f5] rounded-sm overflow-hidden p-3 flex flex-col justify-between border border-black/5 hover:border-black/20 hover:shadow-lg transition-all duration-300`,children:[(0,R.jsxs)(`div`,{className:`aspect-[3/4] relative overflow-hidden bg-neutral-200/60 rounded-sm mb-3`,children:[(0,R.jsx)(`img`,{src:e.image,alt:e.name,className:`w-full h-full object-cover group-hover:scale-105 transition-transform duration-500 ease-[cubic-bezier(0.22,1,0.36,1)]`,referrerPolicy:`no-referrer`}),(0,R.jsx)(`div`,{className:`absolute top-2 right-2 w-7 h-7 rounded-full bg-white/90 text-black flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300 shadow`,children:(0,R.jsx)(Zu,{className:`w-3.5 h-3.5`})})]}),(0,R.jsxs)(`div`,{className:`flex items-center justify-between pt-1`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h3`,{className:`text-[12px] font-bold tracking-[0.16em] uppercase text-[#111111] group-hover:text-[#8b181b] transition-colors`,children:e.name}),(0,R.jsx)(`div`,{className:`text-[10px] text-neutral-400 font-medium tracking-wider`,children:e.count})]}),(0,R.jsx)(`span`,{className:`text-[11px] font-semibold text-neutral-400 group-hover:text-black transition-colors uppercase tracking-widest`,children:`EXPLORE →`})]})]},e.id))})]})}),Ed=()=>(0,R.jsx)(`section`,{className:`hidden md:block relative z-20 bg-[#0b0b0b] text-white py-20 px-8 lg:px-12 border-t border-b border-white/10`,children:(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto space-y-8`,children:[(0,R.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsx)(`svg`,{className:`w-12 h-6 text-[#8b181b]`,viewBox:`0 0 100 40`,fill:`none`,stroke:`currentColor`,strokeWidth:`3`,strokeLinecap:`round`,children:(0,R.jsx)(`path`,{d:`M5 20 Q 25 5, 45 25 T 85 15 Q 95 30, 80 35`})}),(0,R.jsx)(`span`,{className:`text-[11px] uppercase tracking-[0.25em] text-[#e2a8aa] font-semibold`,children:`CURATED EDITORIAL TILES`})]}),(0,R.jsx)(`span`,{className:`text-xs text-white/40 uppercase tracking-widest`,children:`AW26 LIMITED SELECTION`})]}),(0,R.jsxs)(`div`,{className:`grid grid-cols-4 gap-6 items-stretch min-h-[580px]`,children:[(0,R.jsxs)(`div`,{className:`group relative rounded-sm overflow-hidden bg-neutral-900 border border-white/10 flex flex-col justify-end p-6`,children:[(0,R.jsx)(`img`,{src:Au,alt:`Tailored Blazer Edit`,className:`absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-700 ease-[cubic-bezier(0.22,1,0.36,1)]`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/85 via-black/30 to-transparent`}),(0,R.jsxs)(`div`,{className:`relative z-10 space-y-3`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-widest text-[#e2a8aa] font-bold`,children:`ICONIC CUTS`}),(0,R.jsx)(`h3`,{className:`text-lg font-bold tracking-wider uppercase text-white`,children:`SABLE BLAZERS`}),(0,R.jsx)(`a`,{href:`#featured-pdp`,className:`inline-block py-2.5 px-6 bg-white text-black hover:bg-[#8b181b] hover:text-white text-[11px] font-bold uppercase tracking-[0.2em] transition-colors`,children:`BLAZER`})]})]}),(0,R.jsxs)(`div`,{className:`group relative rounded-sm overflow-hidden bg-neutral-900 border border-white/10 flex flex-col justify-end p-6`,children:[(0,R.jsx)(`img`,{src:ju,alt:`Dresses Edit`,className:`absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-700 ease-[cubic-bezier(0.22,1,0.36,1)]`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/85 via-black/30 to-transparent`}),(0,R.jsxs)(`div`,{className:`relative z-10 space-y-3`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-widest text-[#e2a8aa] font-bold`,children:`EVENING FLUIDITY`}),(0,R.jsx)(`h3`,{className:`text-lg font-bold tracking-wider uppercase text-white`,children:`MATRIX & SLIP SILHOUETTES`}),(0,R.jsx)(`a`,{href:`#collection-tab`,className:`inline-block py-2.5 px-6 bg-white text-black hover:bg-[#8b181b] hover:text-white text-[11px] font-bold uppercase tracking-[0.2em] transition-colors`,children:`DRESSES`})]})]}),(0,R.jsxs)(`div`,{className:`bg-[#141414] border border-white/10 p-8 flex flex-col justify-between rounded-sm`,children:[(0,R.jsxs)(`div`,{className:`space-y-4`,children:[(0,R.jsx)(`div`,{className:`w-8 h-8 rounded-full bg-[#8b181b]/20 text-[#8b181b] flex items-center justify-center`,children:(0,R.jsx)(gd,{className:`w-4 h-4`})}),(0,R.jsx)(`span`,{className:`text-[11px] uppercase tracking-[0.25em] text-[#e2a8aa] font-bold block`,children:`SPECIAL INVITATION`}),(0,R.jsx)(`h3`,{className:`text-2xl font-bold uppercase tracking-wider text-white leading-tight`,children:`10% OFF THIS EDIT`}),(0,R.jsx)(`p`,{className:`text-xs text-white/70 leading-relaxed font-light`,children:`Applied automatically at checkout on all tailored jackets and lambskin footwear when exploring the Autumn/Winter capsule today.`})]}),(0,R.jsx)(`div`,{className:`pt-6 border-t border-white/10`,children:(0,R.jsxs)(`a`,{href:`#collection-tab`,className:`inline-flex items-center gap-2 text-xs uppercase font-bold tracking-widest text-white hover:text-[#8b181b] transition-colors group`,children:[(0,R.jsx)(`span`,{children:`SHOP THE EDIT`}),(0,R.jsx)(Xu,{className:`w-4 h-4 group-hover:translate-x-1.5 transition-transform`})]})})]}),(0,R.jsxs)(`div`,{className:`group relative rounded-sm overflow-hidden bg-neutral-900 border border-white/10 flex flex-col justify-end p-6`,children:[(0,R.jsx)(`img`,{src:H,alt:`Craftsmanship Leather`,className:`absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-700 ease-[cubic-bezier(0.22,1,0.36,1)]`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/85 via-black/20 to-transparent`}),(0,R.jsxs)(`div`,{className:`relative z-10 space-y-3`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-widest text-[#e2a8aa] font-bold`,children:`TANNED IN FLORENCE`}),(0,R.jsx)(`h3`,{className:`text-lg font-bold tracking-wider uppercase text-white`,children:`THE LEATHER ATELIER`}),(0,R.jsx)(`a`,{href:`#editorial`,className:`inline-block py-2.5 px-6 bg-black/60 backdrop-blur-md border border-white/20 text-white hover:bg-white hover:text-black text-[11px] font-bold uppercase tracking-[0.2em] transition-colors`,children:`READ MORE`})]})]})]})]})}),Dd=()=>{let{setActiveStoryIndex:e}=W();return(0,R.jsx)(`section`,{className:`relative z-20 bg-white text-[#111111] pt-14 pb-12 border-b border-black/5`,children:(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto px-6 text-center space-y-8`,children:[(0,R.jsxs)(`div`,{className:`relative inline-block select-none`,children:[(0,R.jsx)(`span`,{"aria-hidden":`true`,className:`absolute -top-[1.5px] -left-[2px] text-3xl sm:text-4xl font-bold tracking-[0.14em] uppercase text-[#8b181b]/35 blur-[0.5px]`,children:`THE SELECTED`}),(0,R.jsx)(`h2`,{className:`relative text-3xl sm:text-4xl font-bold tracking-[0.14em] uppercase text-[#111111]`,children:`THE SELECTED`})]}),(0,R.jsx)(`div`,{className:`flex items-center justify-center gap-6 sm:gap-10 overflow-x-auto py-2 no-scrollbar`,children:Fu.map((t,n)=>(0,R.jsxs)(`button`,{onClick:()=>e(n),className:`group flex flex-col items-center gap-2.5 focus:outline-none cursor-pointer shrink-0`,"aria-label":`Open story: ${t.title}`,children:[(0,R.jsx)(`div`,{className:`relative p-[3px] rounded-full bg-gradient-to-tr from-[#8b181b] via-neutral-300 to-[#8b181b] group-hover:scale-105 transition-transform duration-300 shadow-md`,children:(0,R.jsx)(`div`,{className:`p-[2px] rounded-full bg-white`,children:(0,R.jsx)(`div`,{className:`w-16 h-16 sm:w-20 sm:h-20 rounded-full overflow-hidden bg-neutral-900`,children:(0,R.jsx)(`img`,{src:t.coverImage,alt:t.title,className:`w-full h-full object-cover group-hover:scale-110 transition-transform duration-500`})})})}),(0,R.jsx)(`span`,{className:`text-[11px] font-semibold tracking-[0.18em] uppercase text-[#111111] group-hover:text-[#8b181b] transition-colors`,children:t.title})]},t.id))})]})})},Od=()=>{let{addToCart:e,setQuickViewProduct:t,formatPrice:n,setActiveProductPage:r}=W(),[i,a]=(0,y.useState)(`NEW`),[o,s]=(0,y.useState)(null),[c,l]=(0,y.useState)(0),u=(0,y.useRef)(null),d=(()=>{switch(i){case`BEST`:return U.filter(e=>e.rating&&e.rating>=5||e.badge===`FEATURED`||e.price>400);case`SALE`:return U.filter(e=>e.isSale||e.badge===`SALE`);default:return U}})(),f=(0,y.useCallback)(()=>{if(!u.current)return;let{scrollLeft:e,scrollWidth:t,clientWidth:n}=u.current,r=t-n;r>0&&l(e/r*100)},[]);(0,y.useEffect)(()=>{let e=u.current;if(e)return e.addEventListener(`scroll`,f,{passive:!0}),()=>e.removeEventListener(`scroll`,f)},[f]);let p=e=>{if(!u.current)return;let t=e===`left`?-480:480;u.current.scrollBy({left:t,behavior:`smooth`})};return(0,R.jsx)(`section`,{id:`collection-tab`,className:`relative z-20 bg-white text-[#111111] py-16 sm:py-20 px-5 sm:px-10 border-b border-black/5`,children:(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto space-y-6 sm:space-y-8`,children:[(0,R.jsxs)(`div`,{className:`flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4 sm:gap-6 border-b border-black/10 pb-4 sm:pb-6`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-6 sm:gap-12 text-xs sm:text-base font-bold uppercase tracking-[0.18em]`,children:[(0,R.jsxs)(`button`,{onClick:()=>a(`NEW`),className:`pb-2 transition-all relative cursor-pointer ${i===`NEW`?`text-black`:`text-neutral-400 hover:text-black`}`,children:[`NEW ARRIVALS`,i===`NEW`&&(0,R.jsx)(`span`,{className:`absolute bottom-0 left-0 right-0 h-[2px] bg-black`})]}),(0,R.jsxs)(`button`,{onClick:()=>a(`BEST`),className:`pb-2 transition-all relative cursor-pointer ${i===`BEST`?`text-black`:`text-neutral-400 hover:text-black`}`,children:[`BEST SELLERS`,i===`BEST`&&(0,R.jsx)(`span`,{className:`absolute bottom-0 left-0 right-0 h-[2px] bg-black`})]}),(0,R.jsxs)(`button`,{onClick:()=>a(`SALE`),className:`pb-2 transition-all relative cursor-pointer ${i===`SALE`?`text-[#8b181b]`:`text-neutral-400 hover:text-[#8b181b]`}`,children:[`SALE ARCHIVE`,i===`SALE`&&(0,R.jsx)(`span`,{className:`absolute bottom-0 left-0 right-0 h-[2px] bg-[#8b181b]`})]})]}),(0,R.jsxs)(`div`,{className:`hidden sm:flex items-center gap-3`,children:[(0,R.jsx)(`button`,{onClick:()=>p(`left`),className:`w-10 h-10 rounded-full border border-black/15 flex items-center justify-center hover:bg-black hover:text-white transition-colors cursor-pointer`,"aria-label":`Previous products`,children:(0,R.jsx)(J,{className:`w-5 h-5`})}),(0,R.jsx)(`button`,{onClick:()=>p(`right`),className:`w-10 h-10 rounded-full border border-black/15 flex items-center justify-center hover:bg-black hover:text-white transition-colors cursor-pointer`,"aria-label":`Next products`,children:(0,R.jsx)(Y,{className:`w-5 h-5`})})]})]}),(0,R.jsx)(`div`,{ref:u,className:`flex gap-4 md:gap-6 overflow-x-auto pb-4 scroll-smooth snap-x snap-mandatory no-scrollbar select-none`,style:{touchAction:`pan-x`,WebkitOverflowScrolling:`touch`,overscrollBehaviorX:`contain`},children:d.map(i=>{let a=o===i.id;return(0,R.jsxs)(`div`,{onMouseEnter:()=>s(i.id),onMouseLeave:()=>s(null),className:`group shrink-0 w-[240px] sm:w-[320px] md:w-[390px] snap-start bg-neutral-50 rounded-sm overflow-hidden flex flex-col justify-between border border-black/5 hover:border-black/20 hover:shadow-xl transition-all duration-300`,children:[(0,R.jsxs)(`div`,{onClick:()=>r(i),className:`relative aspect-[3/4] overflow-hidden bg-neutral-200 cursor-pointer`,children:[(0,R.jsx)(`img`,{src:a&&i.hoverImage?i.hoverImage:i.image,alt:i.name,className:`w-full h-full object-cover transition-opacity duration-150 pointer-events-none`}),i.badge&&(0,R.jsx)(`span`,{className:`absolute top-3 left-3 px-2 py-0.5 text-[9px] font-bold uppercase tracking-widest ${i.badge===`SALE`?`bg-[#8b181b] text-white`:`bg-black text-white`}`,children:i.badge}),(0,R.jsxs)(`div`,{onClick:e=>e.stopPropagation(),className:`absolute inset-x-2 bottom-2 flex gap-1.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200`,children:[(0,R.jsxs)(`button`,{onClick:t=>e(i,{event:t}),className:`flex-1 py-2.5 bg-white text-black hover:bg-black hover:text-white text-xs font-bold uppercase tracking-wider transition-colors shadow-lg flex items-center justify-center gap-1.5 cursor-pointer`,children:[(0,R.jsx)(hd,{className:`w-3.5 h-3.5`}),(0,R.jsx)(`span`,{children:`QUICK BUY`})]}),(0,R.jsx)(`button`,{onClick:()=>t(i),className:`w-10 py-2.5 bg-black/80 hover:bg-black text-white flex items-center justify-center shadow-lg transition-colors cursor-pointer`,title:`Quick View`,children:(0,R.jsx)(td,{className:`w-4 h-4`})})]})]}),(0,R.jsxs)(`div`,{className:`p-3.5 space-y-1.5 bg-white`,children:[(0,R.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-widest text-neutral-400 font-semibold`,children:i.category}),(0,R.jsx)(`div`,{className:`flex items-center gap-1`,children:i.colors.map(e=>(0,R.jsx)(`span`,{className:`w-2.5 h-2.5 rounded-full border border-black/20`,style:{backgroundColor:e.hex},title:e.name},e.name))})]}),(0,R.jsx)(`h3`,{onClick:()=>r(i),className:`text-xs sm:text-sm font-bold uppercase tracking-wider text-[#111111] truncate group-hover:text-[#8b181b] transition-colors cursor-pointer`,children:i.name}),(0,R.jsxs)(`div`,{className:`flex items-center gap-2 pt-0.5`,children:[(0,R.jsx)(`span`,{className:`text-xs sm:text-sm font-semibold tabular-nums text-black`,children:n(i.price)}),i.originalPrice&&(0,R.jsx)(`span`,{className:`text-[11px] text-neutral-400 line-through tabular-nums`,children:n(i.originalPrice)})]})]})]},i.id)})}),(0,R.jsx)(`div`,{className:`w-full max-w-xs sm:max-w-md mx-auto h-[2px] bg-neutral-200 relative overflow-hidden rounded-full`,children:(0,R.jsx)(`div`,{className:`h-full bg-black transition-all duration-150 ease-out`,style:{width:`${Math.max(15,c)}%`}})})]})})},kd=()=>{let{addToCart:e,setQuickViewProduct:t,formatPrice:n}=W(),r=(0,y.useRef)(null),[i,a]=(0,y.useState)(0),o=U.find(e=>e.id===`calm-pullover`);(0,y.useEffect)(()=>{let e=()=>{if(!r.current)return;let e=r.current.getBoundingClientRect(),t=window.innerHeight,n=e.height+t,i=t-e.top,o=Math.max(0,Math.min(1,i/n));a(o)};return window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]);let s=`Garments cut with unyielding architectural integrity. We eliminate unnecessary trims and excess lining to let the weight and natural memory of British wool and French calfskin define the silhouette through seasons of continuous wear.`.split(` `);return(0,R.jsxs)(`section`,{ref:r,className:`relative z-20 min-h-[900px] w-full bg-[#0e0708] text-white flex flex-col justify-between p-8 sm:p-14 md:p-20 overflow-hidden border-t border-white/10`,children:[(0,R.jsxs)(`div`,{className:`absolute inset-0 z-0`,children:[(0,R.jsx)(`img`,{src:Au,alt:`Timeless Style Editorial`,className:`w-full h-full object-cover opacity-35 mix-blend-luminosity scale-105`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-[#0e0708] via-[#1a0709]/70 to-[#0e0708]`})]}),(0,R.jsx)(`div`,{className:`relative z-10`,children:(0,R.jsxs)(`div`,{className:`inline-flex items-center gap-2 text-[11px] uppercase tracking-[0.3em] text-[#e2a8aa] font-semibold`,children:[(0,R.jsx)(gd,{className:`w-3.5 h-3.5 text-[#8b181b]`}),(0,R.jsx)(`span`,{children:`ACT III · THE BRAND WORLD`})]})}),(0,R.jsxs)(`div`,{className:`relative z-10 max-w-2xl my-auto py-12 space-y-6`,children:[(0,R.jsxs)(`h2`,{className:`text-3xl sm:text-5xl font-bold tracking-[0.08em] uppercase text-white leading-[1.1]`,children:[`TIMELESS STYLE `,(0,R.jsx)(`br`,{}),`FOR EVERY MOMENT`]}),(0,R.jsx)(`p`,{className:`text-base sm:text-xl font-light leading-relaxed flex flex-wrap gap-x-2 gap-y-1`,children:s.map((e,t)=>{let n=(t+1)/s.length,r=i>=n*.85;return(0,R.jsx)(`span`,{className:`transition-opacity duration-300 ${r?`opacity-100 text-white font-normal`:`opacity-25 text-white/40`}`,children:e},t)})})]}),(0,R.jsxs)(`div`,{className:`relative z-10 self-end w-full max-w-[320px] bg-white text-black p-4 rounded-sm shadow-2xl border-4 border-white/90 space-y-3`,children:[(0,R.jsxs)(`div`,{className:`flex gap-3`,children:[(0,R.jsx)(`img`,{src:o.image,alt:o.name,className:`w-20 h-24 object-cover bg-neutral-100 rounded-sm shrink-0`}),(0,R.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,R.jsx)(`span`,{className:`text-[9px] uppercase tracking-widest text-[#8b181b] font-bold`,children:o.badge}),(0,R.jsx)(`h4`,{className:`text-xs font-bold uppercase tracking-wider text-black truncate mt-0.5`,children:o.name}),(0,R.jsxs)(`div`,{className:`flex items-center gap-2 text-xs mt-1`,children:[(0,R.jsx)(`span`,{className:`font-bold tabular-nums text-black`,children:n(o.price)}),(0,R.jsx)(`span`,{className:`line-through text-neutral-400 tabular-nums`,children:n(o.originalPrice)})]}),(0,R.jsx)(`p`,{className:`text-[10px] text-neutral-500 mt-1 line-clamp-2`,children:`Organic carded cashmere fisherman knit.`})]})]}),(0,R.jsxs)(`div`,{className:`flex gap-2 pt-1 border-t border-neutral-100`,children:[(0,R.jsxs)(`button`,{onClick:t=>e(o,{event:t}),className:`flex-1 py-2 bg-black hover:bg-[#8b181b] text-white text-[11px] font-bold uppercase tracking-wider transition-colors flex items-center justify-center gap-1.5 cursor-pointer`,children:[(0,R.jsx)(hd,{className:`w-3.5 h-3.5`}),(0,R.jsx)(`span`,{children:`QUICK BUY`})]}),(0,R.jsx)(`button`,{onClick:()=>t(o),className:`px-3 py-2 bg-neutral-100 hover:bg-neutral-200 text-black text-[11px] uppercase tracking-wider font-semibold transition-colors`,children:`VIEW`})]})]})]})},Ad=()=>(0,R.jsx)(`section`,{id:`split-media`,className:`relative z-20 bg-[#0b0b0b] text-white`,children:(0,R.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-2`,children:[(0,R.jsxs)(`div`,{className:`group relative min-h-[500px] md:min-h-[860px] overflow-hidden flex flex-col justify-end p-8 sm:p-14 border-b md:border-b-0 md:border-r border-white/10`,children:[(0,R.jsxs)(`div`,{className:`absolute inset-0 overflow-hidden`,children:[(0,R.jsx)(`img`,{src:Mu,alt:`Discover Cotton & Knitwear`,className:`w-full h-full object-cover scale-105 group-hover:scale-110 transition-transform duration-700 ease-[cubic-bezier(0.22,1,0.36,1)]`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/85 via-black/30 to-transparent`})]}),(0,R.jsxs)(`div`,{className:`relative z-10 space-y-3`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.3em] text-[#e2a8aa] font-bold`,children:`NATURAL FIBERS · 380GSM`}),(0,R.jsx)(`h3`,{className:`text-2xl sm:text-3xl font-bold uppercase tracking-wider text-white`,children:`DISCOVER COTTON`}),(0,R.jsx)(`p`,{className:`text-xs text-white/70 max-w-sm font-light leading-relaxed`,children:`Unbleached organic carded fleece and Scottish cashmere knitwear engineered for deep winter comfort.`}),(0,R.jsx)(`div`,{className:`pt-2`,children:(0,R.jsxs)(`a`,{href:`#collection-tab`,className:`cascade-link text-xs uppercase font-bold tracking-[0.2em] text-white hover:text-[#e2a8aa] inline-flex items-center gap-2 group/link`,children:[(0,R.jsx)(`span`,{children:`EXPLORE COTTON EDIT`}),(0,R.jsx)(Xu,{className:`w-3.5 h-3.5 group-hover/link:translate-x-1 transition-transform`})]})})]})]}),(0,R.jsxs)(`div`,{className:`group relative min-h-[500px] md:min-h-[860px] overflow-hidden flex flex-col justify-end p-8 sm:p-14`,children:[(0,R.jsxs)(`div`,{className:`absolute inset-0 overflow-hidden`,children:[(0,R.jsx)(`img`,{src:H,alt:`Discover Leather & Outerwear`,className:`w-full h-full object-cover scale-105 group-hover:scale-110 transition-transform duration-700 ease-[cubic-bezier(0.22,1,0.36,1)]`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/85 via-black/30 to-transparent`})]}),(0,R.jsxs)(`div`,{className:`relative z-10 space-y-3`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.3em] text-[#e2a8aa] font-bold`,children:`DRUM-DYED EUROPEAN SKINS`}),(0,R.jsx)(`h3`,{className:`text-2xl sm:text-3xl font-bold uppercase tracking-wider text-white`,children:`DISCOVER LEATHER`}),(0,R.jsx)(`p`,{className:`text-xs text-white/70 max-w-sm font-light leading-relaxed`,children:`Full-grain vegetable-tanned calfskin jackets, gauntlets, and boots with custom oxidized black ruthenium hardware.`}),(0,R.jsx)(`div`,{className:`pt-2`,children:(0,R.jsxs)(`a`,{href:`#bundle`,className:`cascade-link text-xs uppercase font-bold tracking-[0.2em] text-white hover:text-[#e2a8aa] inline-flex items-center gap-2 group/link`,children:[(0,R.jsx)(`span`,{children:`EXPLORE LEATHER ARCHIVE`}),(0,R.jsx)(Xu,{className:`w-3.5 h-3.5 group-hover/link:translate-x-1 transition-transform`})]})})]})]})]})}),jd=()=>{let{setQuickViewProduct:e}=W(),t=U.find(e=>e.id===`matrix-mini-dress`);return(0,R.jsx)(`section`,{className:`relative z-20 bg-white text-[#111111] py-16 px-6 text-center border-b border-black/10`,children:(0,R.jsxs)(`div`,{className:`max-w-2xl mx-auto space-y-4`,children:[(0,R.jsx)(`p`,{className:`text-sm sm:text-base text-neutral-800 font-light leading-relaxed max-w-xl mx-auto`,children:`“Black leather cut close to the body and zipped from collar to hem — an unapologetic collision of razor tailoring and nocturnal ease.”`}),(0,R.jsx)(`div`,{children:(0,R.jsxs)(`button`,{onClick:()=>t&&e(t),className:`cascade-link text-xs uppercase font-bold tracking-[0.22em] text-[#111111] hover:text-[#8b181b] inline-flex items-center gap-2 group cursor-pointer`,children:[(0,R.jsx)(`span`,{children:`SHOP THE DRESS`}),(0,R.jsx)(Xu,{className:`w-3.5 h-3.5 group-hover:translate-x-1 transition-transform`})]})})]})})},Md=()=>{let{addToCart:e,setQuickViewProduct:t,formatPrice:n}=W(),[r,i]=(0,y.useState)(`spot-dress`),a=U.find(e=>e.id===`matrix-mini-dress`),o=U.find(e=>e.id===`sharp-leather-trench`);return(0,R.jsx)(`section`,{id:`lookbook`,className:`relative z-20 bg-[#090909] text-white py-20 px-6 sm:px-10`,children:(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto space-y-8`,children:[(0,R.jsxs)(`div`,{className:`flex flex-col sm:flex-row sm:items-end justify-between gap-4`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2 text-[10px] uppercase tracking-[0.25em] text-[#e2a8aa] font-bold mb-1`,children:[(0,R.jsx)(gd,{className:`w-3 h-3 text-[#8b181b]`}),(0,R.jsx)(`span`,{children:`SHOP THE LOOKBOOK · EDITORIAL 04`})]}),(0,R.jsx)(`h2`,{className:`text-2xl sm:text-4xl font-bold uppercase tracking-[0.1em] text-white`,children:`NOCTURNAL VIGNETTE`})]}),(0,R.jsx)(`p`,{className:`text-xs text-white/60 max-w-sm font-light`,children:`Interactive editorial looks. Tap any pulsing marker to inspect fabric composition and immediate purchase options.`})]}),(0,R.jsxs)(`div`,{className:`relative w-full h-[520px] sm:h-[680px] md:h-[820px] rounded-sm overflow-hidden bg-neutral-900 border border-white/10 shadow-2xl`,children:[(0,R.jsx)(`img`,{src:ju,alt:`Shoppable Lookbook Editorial`,className:`w-full h-full object-cover object-center`,referrerPolicy:`no-referrer`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-black/20`}),(0,R.jsxs)(`div`,{className:`absolute top-[38%] left-[28%] sm:left-[35%] z-20`,children:[(0,R.jsx)(`button`,{onClick:()=>i(r===`spot-dress`?null:`spot-dress`),className:`relative w-8 h-8 rounded-full bg-white text-black flex items-center justify-center shadow-2xl transition-transform hover:scale-110 cursor-pointer hotspot-pulse`,"aria-label":`View Matrix Mini Dress hotspot`,children:(0,R.jsx)(`span`,{className:`w-2.5 h-2.5 rounded-full bg-[#8b181b]`})}),r===`spot-dress`&&(0,R.jsxs)(`div`,{className:`absolute left-10 -top-8 w-56 sm:w-64 bg-white text-black p-4 rounded-sm shadow-2xl z-30 animate-[themeReveal_0.25s_cubic-bezier(0.22,1,0.36,1)] border border-black/10`,children:[(0,R.jsxs)(`div`,{className:`flex justify-between items-start`,children:[(0,R.jsx)(`span`,{className:`text-[9px] uppercase tracking-widest text-[#8b181b] font-bold`,children:`HOTSPOT 01`}),(0,R.jsx)(`button`,{onClick:()=>i(null),className:`text-neutral-400 hover:text-black`,children:(0,R.jsx)(Sd,{className:`w-3.5 h-3.5`})})]}),(0,R.jsx)(`h4`,{className:`text-xs font-bold uppercase tracking-wider text-black mt-1`,children:a.name}),(0,R.jsxs)(`div`,{className:`text-xs font-semibold tabular-nums text-neutral-800 mt-0.5`,children:[n(a.price),` · 2 Colors`]}),(0,R.jsxs)(`div`,{className:`flex gap-2 mt-3 pt-2 border-t border-neutral-100`,children:[(0,R.jsxs)(`button`,{onClick:t=>{e(a,{event:t}),i(null)},className:`flex-1 py-2 bg-black hover:bg-[#8b181b] text-white text-[10px] font-bold uppercase tracking-wider transition-colors flex items-center justify-center gap-1`,children:[(0,R.jsx)(hd,{className:`w-3 h-3`}),(0,R.jsx)(`span`,{children:`QUICK BUY`})]}),(0,R.jsx)(`button`,{onClick:()=>{t(a),i(null)},className:`px-2.5 py-2 bg-neutral-100 hover:bg-neutral-200 text-black text-[10px] uppercase tracking-wider font-semibold transition-colors`,children:`DETAILS`})]})]})]}),(0,R.jsxs)(`div`,{className:`absolute top-[62%] right-[25%] sm:right-[32%] z-20`,children:[(0,R.jsx)(`button`,{onClick:()=>i(r===`spot-trench`?null:`spot-trench`),className:`relative w-8 h-8 rounded-full bg-white text-black flex items-center justify-center shadow-2xl transition-transform hover:scale-110 cursor-pointer hotspot-pulse`,"aria-label":`View Sharp Leather Trench hotspot`,children:(0,R.jsx)(`span`,{className:`w-2.5 h-2.5 rounded-full bg-[#8b181b]`})}),r===`spot-trench`&&(0,R.jsxs)(`div`,{className:`absolute -left-60 sm:-left-64 -top-8 w-56 sm:w-64 bg-white text-black p-4 rounded-sm shadow-2xl z-30 animate-[themeReveal_0.25s_cubic-bezier(0.22,1,0.36,1)] border border-black/10`,children:[(0,R.jsxs)(`div`,{className:`flex justify-between items-start`,children:[(0,R.jsx)(`span`,{className:`text-[9px] uppercase tracking-widest text-[#8b181b] font-bold`,children:`HOTSPOT 02`}),(0,R.jsx)(`button`,{onClick:()=>i(null),className:`text-neutral-400 hover:text-black`,children:(0,R.jsx)(Sd,{className:`w-3.5 h-3.5`})})]}),(0,R.jsx)(`h4`,{className:`text-xs font-bold uppercase tracking-wider text-black mt-1`,children:o.name}),(0,R.jsxs)(`div`,{className:`text-xs font-semibold tabular-nums text-neutral-800 mt-0.5`,children:[n(o.price),` · Full-Grain Nappa`]}),(0,R.jsxs)(`div`,{className:`flex gap-2 mt-3 pt-2 border-t border-neutral-100`,children:[(0,R.jsxs)(`button`,{onClick:t=>{e(o,{event:t}),i(null)},className:`flex-1 py-2 bg-black hover:bg-[#8b181b] text-white text-[10px] font-bold uppercase tracking-wider transition-colors flex items-center justify-center gap-1`,children:[(0,R.jsx)(hd,{className:`w-3 h-3`}),(0,R.jsx)(`span`,{children:`QUICK BUY`})]}),(0,R.jsx)(`button`,{onClick:()=>{t(o),i(null)},className:`px-2.5 py-2 bg-neutral-100 hover:bg-neutral-200 text-black text-[10px] uppercase tracking-wider font-semibold transition-colors`,children:`DETAILS`})]})]})]})]})]})})},Nd=()=>{let{addToCart:e,setIsBagOpen:t,formatPrice:n}=W(),r=[U.find(e=>e.id===`gloom-gauntlets`),U.find(e=>e.id===`ink-boots`),U.find(e=>e.id===`kuro-jacket`),U.find(e=>e.id===`slate-trousers`)],[i,a]=(0,y.useState)(r.map(e=>e.id)),o=e=>{a(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},s=r.filter(e=>i.includes(e.id)),c=s.reduce((e,t)=>e+t.price,0),l=s.length>=3,u=l?c*.2:0,d=c-u;return(0,R.jsx)(`section`,{id:`bundle`,className:`relative z-20 bg-white text-[#111111] py-24 px-6 sm:px-10 border-b border-black/10`,children:(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto space-y-10`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.3em] text-[#8b181b] font-bold block mb-1`,children:`CURATED CAPSULE · SAVE 20%`}),(0,R.jsx)(`h2`,{className:`text-3xl sm:text-4xl font-bold uppercase tracking-[0.1em] text-black`,children:`BETTER TOGETHER`}),(0,R.jsx)(`p`,{className:`text-xs text-neutral-500 font-light mt-1`,children:`Mix and match our signature leather & tailoring elements. Select 3 or more pieces to automatically activate the 20% capsule privilege.`})]}),(0,R.jsxs)(`div`,{className:`flex flex-col lg:flex-row gap-10 items-start`,children:[(0,R.jsx)(`div`,{className:`flex-1 space-y-6 w-full`,children:r.map((e,t)=>{let r=i.includes(e.id);return(0,R.jsxs)(`div`,{onClick:()=>o(e.id),className:`p-5 rounded-sm border cursor-pointer transition-all duration-300 flex flex-col sm:flex-row items-center gap-6 ${r?`bg-neutral-50 border-black/30 shadow-md`:`bg-white border-black/10 opacity-60 hover:opacity-100`}`,children:[(0,R.jsx)(`img`,{src:e.image,alt:e.name,className:`w-28 h-36 object-cover bg-neutral-200 rounded-sm shrink-0`}),(0,R.jsxs)(`div`,{className:`flex-1 min-w-0 text-center sm:text-left`,children:[(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-2 mb-1`,children:[(0,R.jsxs)(`span`,{className:`text-[10px] font-mono tracking-widest text-[#8b181b] font-bold`,children:[`PIECE 0`,t+1]}),(0,R.jsxs)(`button`,{type:`button`,onClick:t=>{t.stopPropagation(),o(e.id)},className:`px-3 py-1 text-[11px] font-bold uppercase tracking-wider rounded-full flex items-center gap-1.5 transition-colors ${r?`bg-black text-white`:`bg-neutral-100 text-neutral-500 border border-neutral-300`}`,children:[(0,R.jsx)(K,{className:`w-3 h-3`}),(0,R.jsx)(`span`,{children:r?`INCLUDED`:`ADD PIECE`})]})]}),(0,R.jsx)(`h3`,{className:`text-base font-bold uppercase tracking-wider text-black`,children:e.name}),(0,R.jsx)(`p`,{className:`text-xs text-neutral-600 line-clamp-2 mt-1`,children:e.description}),(0,R.jsx)(`div`,{className:`text-sm font-semibold tabular-nums text-black mt-2`,children:n(e.price)})]})]},e.id)})}),(0,R.jsxs)(`div`,{className:`w-full lg:w-[360px] lg:sticky lg:top-24 bg-[#0d0d0d] text-white p-8 rounded-sm shadow-2xl border border-white/10 space-y-6`,children:[(0,R.jsxs)(`div`,{className:`flex items-center justify-between border-b border-white/10 pb-4`,children:[(0,R.jsxs)(`span`,{className:`text-[11px] uppercase tracking-[0.25em] text-[#e2a8aa] font-bold flex items-center gap-1.5`,children:[(0,R.jsx)(gd,{className:`w-3.5 h-3.5 text-[#8b181b]`}),(0,R.jsx)(`span`,{children:`CAPSULE SUMMARY`})]}),(0,R.jsxs)(`span`,{className:`text-xs text-white/50 tabular-nums`,children:[s.length,` of `,r.length,` selected`]})]}),(0,R.jsx)(`div`,{className:`space-y-2 text-xs`,children:s.map(e=>(0,R.jsxs)(`div`,{className:`flex justify-between items-center text-white/80`,children:[(0,R.jsx)(`span`,{className:`truncate max-w-[200px]`,children:e.name}),(0,R.jsx)(`span`,{className:`tabular-nums font-mono text-white/60`,children:n(e.price)})]},e.id))}),(0,R.jsxs)(`div`,{className:`space-y-2 pt-4 border-t border-white/10`,children:[(0,R.jsxs)(`div`,{className:`flex justify-between text-xs text-white/60`,children:[(0,R.jsx)(`span`,{children:`Original Retail`}),(0,R.jsx)(`span`,{className:`tabular-nums font-mono`,children:n(c)})]}),l?(0,R.jsxs)(`div`,{className:`flex justify-between text-xs text-[#e2a8aa]`,children:[(0,R.jsx)(`span`,{children:`Capsule Privilege (-20%)`}),(0,R.jsxs)(`span`,{className:`tabular-nums font-mono`,children:[`-`,n(u)]})]}):(0,R.jsxs)(`div`,{className:`text-[11px] text-[#e2a8aa] italic`,children:[`Select `,3-s.length,` more piece(s) to unlock 20% off!`]}),(0,R.jsxs)(`div`,{className:`flex justify-between items-baseline pt-2 border-t border-white/10`,children:[(0,R.jsx)(`span`,{className:`text-xs uppercase tracking-wider font-semibold text-white`,children:`Your Total`}),(0,R.jsx)(`span`,{className:`text-2xl font-bold font-mono tabular-nums text-white`,children:n(d)})]})]}),(0,R.jsxs)(`button`,{onClick:n=>{s.forEach((t,n)=>{setTimeout(()=>{e(t)},n*100)}),setTimeout(()=>t(!0),s.length*100+100)},disabled:s.length===0,className:`w-full py-4 bg-white text-black hover:bg-[#8b181b] hover:text-white disabled:bg-neutral-800 disabled:text-neutral-500 text-xs font-bold uppercase tracking-[0.22em] transition-all flex items-center justify-center gap-2 group cursor-pointer`,children:[(0,R.jsx)(hd,{className:`w-4 h-4`}),(0,R.jsxs)(`span`,{children:[`ADD THE SELECTED (`,s.length,`)`]})]}),(0,R.jsx)(`p`,{className:`text-[10px] text-white/40 text-center tracking-wider`,children:`INCLUDES COMPLIMENTARY TRAVEL GARMENT BAG & LEATHER CONDITIONER`})]})]})]})})},Pd=()=>{let{addToCart:e,setIsBagOpen:t,formatPrice:n}=W(),r=U.find(e=>e.id===`leather-tee`),[i,a]=(0,y.useState)(r.colors[0].name),[o,s]=(0,y.useState)(`M`),[c,l]=(0,y.useState)(`materials`),u=e=>{l(c===e?null:e)},d=n=>{e(r,{color:i,size:o,count:1,event:n}),setTimeout(()=>t(!0),600)},f=[{src:Nu,caption:`Angle 01 · Front Architectural Proportion`},{src:Au,caption:`Angle 02 · Styled with Tailored Wool Sable Blazer`},{src:H,caption:`Angle 03 · Macro Grain Detail & Laser-Cut Hem`},{src:ju,caption:`Angle 04 · Evening Low-Light Vignette`}];return(0,R.jsx)(`section`,{id:`featured-pdp`,className:`relative z-20 bg-white text-[#111111] py-24 px-6 md:px-10 border-b border-black/10`,children:(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto`,children:[(0,R.jsxs)(`div`,{className:`mb-10 text-center md:text-left`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.3em] text-[#8b181b] font-bold block mb-1`,children:`FEATURED AUTUMN/WINTER MASTERPIECE`}),(0,R.jsx)(`h2`,{className:`text-3xl font-bold uppercase tracking-[0.1em] text-black`,children:`CALFSKIN AS TEXTILE`})]}),(0,R.jsxs)(`div`,{className:`grid grid-cols-1 lg:grid-cols-12 gap-8 items-start relative`,children:[(0,R.jsxs)(`div`,{className:`lg:col-span-3 lg:sticky lg:top-24 space-y-6 bg-neutral-50 p-6 rounded-sm border border-black/10 shadow-sm`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2 mb-1`,children:[(0,R.jsx)(`span`,{className:`px-2 py-0.5 bg-[#8b181b] text-white text-[9px] font-bold uppercase tracking-widest`,children:`SALE ARCHIVE`}),(0,R.jsx)(`span`,{className:`text-[10px] text-neutral-400 font-mono`,children:`0.6MM CALFSKIN`})]}),(0,R.jsx)(`h1`,{className:`text-2xl font-bold uppercase tracking-wider text-black`,children:r.name}),(0,R.jsxs)(`div`,{className:`flex items-baseline gap-3 mt-2`,children:[(0,R.jsx)(`span`,{className:`text-2xl font-bold tabular-nums font-mono text-black`,children:n(r.price)}),(0,R.jsx)(`span`,{className:`text-sm line-through text-neutral-400 tabular-nums font-mono`,children:n(r.originalPrice)}),(0,R.jsx)(`span`,{className:`text-xs text-[#8b181b] font-semibold`,children:`SAVE 26%`})]})]}),(0,R.jsxs)(`div`,{className:`space-y-2 pt-2 border-t border-black/10`,children:[(0,R.jsxs)(`div`,{className:`text-[11px] uppercase tracking-wider text-neutral-600 font-medium`,children:[`SHADE: `,(0,R.jsx)(`span`,{className:`text-black font-bold`,children:i})]}),(0,R.jsx)(`div`,{className:`flex gap-2.5`,children:r.colors.map(e=>(0,R.jsx)(`button`,{onClick:()=>a(e.name),className:`w-7 h-7 rounded-full flex items-center justify-center border-2 transition-all cursor-pointer ${i===e.name?`border-black scale-110`:`border-transparent opacity-70 hover:opacity-100`}`,style:{backgroundColor:e.hex},title:e.name,children:i===e.name&&(0,R.jsx)(K,{className:`w-3.5 h-3.5 text-white mix-blend-difference`})},e.name))})]}),(0,R.jsxs)(`div`,{className:`space-y-2 pt-2 border-t border-black/10`,children:[(0,R.jsxs)(`div`,{className:`flex justify-between items-center text-[11px] uppercase tracking-wider text-neutral-600 font-medium`,children:[(0,R.jsxs)(`span`,{children:[`SELECT SIZE: `,(0,R.jsx)(`strong`,{className:`text-black`,children:o})]}),(0,R.jsxs)(`button`,{type:`button`,onClick:()=>alert(`Sizing Note: Cut with an architectural boxy drape. Take your regular European size.`),className:`flex items-center gap-1 text-[10px] text-neutral-400 hover:text-black uppercase`,children:[(0,R.jsx)(fd,{className:`w-3 h-3`}),(0,R.jsx)(`span`,{children:`FIT GUIDE`})]})]}),(0,R.jsx)(`div`,{className:`flex gap-2`,children:[`XS`,`S`,`M`,`L`,`XL`].map(e=>(0,R.jsx)(`button`,{onClick:()=>s(e),className:`flex-1 py-2 text-xs font-mono font-bold rounded-sm border transition-all cursor-pointer ${o===e?`bg-black text-white border-black shadow`:`bg-white text-black border-neutral-300 hover:border-black`}`,children:e},e))})]}),(0,R.jsxs)(`button`,{id:`pdp-add-to-cart-btn`,onClick:d,className:`w-full py-4 bg-black text-white hover:bg-[#8b181b] text-xs font-bold uppercase tracking-[0.22em] transition-all flex items-center justify-center gap-2 group shadow-xl cursor-pointer`,children:[(0,R.jsx)(hd,{className:`w-4 h-4`}),(0,R.jsxs)(`span`,{children:[`ADD TO CART · `,n(r.price)]})]}),(0,R.jsxs)(`div`,{className:`text-[10px] text-neutral-400 tracking-wider space-y-1 text-center`,children:[(0,R.jsx)(`div`,{children:`COMPLIMENTARY MONOGRAMMING AVAILABLE`}),(0,R.jsx)(`div`,{children:`SHIPS IN RECYCLABLE SIGNATURE BLACK WOOD BOX`})]})]}),(0,R.jsxs)(`div`,{className:`lg:col-span-6 space-y-6`,children:[(0,R.jsxs)(`div`,{className:`bg-neutral-100 rounded-sm overflow-hidden border border-black/5 shadow-md`,children:[(0,R.jsx)(`img`,{src:f[0].src,alt:f[0].caption,className:`w-full aspect-[3/4] object-cover hover:scale-[1.02] transition-transform duration-500`}),(0,R.jsx)(`div`,{className:`p-3 text-[11px] text-neutral-500 font-mono tracking-wider bg-white border-t border-neutral-100`,children:f[0].caption})]}),(0,R.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[(0,R.jsxs)(`div`,{className:`bg-neutral-100 rounded-sm overflow-hidden border border-black/5 shadow-sm`,children:[(0,R.jsx)(`img`,{src:f[1].src,alt:f[1].caption,className:`w-full aspect-[3/4] object-cover hover:scale-[1.02] transition-transform duration-500`}),(0,R.jsx)(`div`,{className:`p-2 text-[10px] text-neutral-500 font-mono truncate bg-white border-t border-neutral-100`,children:f[1].caption})]}),(0,R.jsxs)(`div`,{className:`bg-neutral-100 rounded-sm overflow-hidden border border-black/5 shadow-sm`,children:[(0,R.jsx)(`img`,{src:f[2].src,alt:f[2].caption,className:`w-full aspect-[3/4] object-cover hover:scale-[1.02] transition-transform duration-500`}),(0,R.jsx)(`div`,{className:`p-2 text-[10px] text-neutral-500 font-mono truncate bg-white border-t border-neutral-100`,children:f[2].caption})]})]}),(0,R.jsxs)(`div`,{className:`bg-neutral-100 rounded-sm overflow-hidden border border-black/5 shadow-md`,children:[(0,R.jsx)(`img`,{src:f[3].src,alt:f[3].caption,className:`w-full aspect-[3/4] object-cover hover:scale-[1.02] transition-transform duration-500`}),(0,R.jsx)(`div`,{className:`p-3 text-[11px] text-neutral-500 font-mono tracking-wider bg-white border-t border-neutral-100`,children:f[3].caption})]})]}),(0,R.jsxs)(`div`,{className:`lg:col-span-3 lg:sticky lg:top-24 space-y-4 bg-neutral-50 p-6 rounded-sm border border-black/10 shadow-sm`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.25em] text-[#8b181b] font-bold block`,children:`SPECIFICATION & PROVENANCE`}),(0,R.jsx)(`p`,{className:`text-xs text-neutral-700 leading-relaxed font-light`,children:r.description}),(0,R.jsxs)(`div`,{className:`space-y-2 pt-2 border-t border-black/10`,children:[(0,R.jsxs)(`div`,{className:`border border-black/10 rounded-sm overflow-hidden bg-white`,children:[(0,R.jsxs)(`button`,{onClick:()=>u(`materials`),className:`w-full px-4 py-3 text-left text-xs font-bold uppercase tracking-wider flex justify-between items-center`,children:[(0,R.jsx)(`span`,{children:`MATERIAL & CRAFT`}),(0,R.jsx)(q,{className:`w-4 h-4 transition-transform duration-200 ${c===`materials`?`rotate-180`:``}`})]}),c===`materials`&&(0,R.jsx)(`div`,{className:`px-4 pb-4 text-xs text-neutral-600 space-y-1.5 border-t border-neutral-100 pt-2`,children:r.details?.map((e,t)=>(0,R.jsxs)(`div`,{className:`flex items-start gap-2`,children:[(0,R.jsx)(`span`,{className:`text-[#8b181b] mt-0.5`,children:`✦`}),(0,R.jsx)(`span`,{children:e})]},t))})]}),(0,R.jsxs)(`div`,{className:`border border-black/10 rounded-sm overflow-hidden bg-white`,children:[(0,R.jsxs)(`button`,{onClick:()=>u(`fit`),className:`w-full px-4 py-3 text-left text-xs font-bold uppercase tracking-wider flex justify-between items-center`,children:[(0,R.jsx)(`span`,{children:`FIT & SILHOUETTE`}),(0,R.jsx)(q,{className:`w-4 h-4 transition-transform duration-200 ${c===`fit`?`rotate-180`:``}`})]}),c===`fit`&&(0,R.jsxs)(`div`,{className:`px-4 pb-4 text-xs text-neutral-600 space-y-1 border-t border-neutral-100 pt-2`,children:[(0,R.jsx)(`p`,{children:`Designed for a relaxed, sculptural fit through the chest with an architectural square shoulder line.`}),(0,R.jsx)(`p`,{className:`pt-1 text-[11px] text-neutral-400`,children:`Model is 186cm / 6'1" wearing size Medium.`})]})]}),(0,R.jsxs)(`div`,{className:`border border-black/10 rounded-sm overflow-hidden bg-white`,children:[(0,R.jsxs)(`button`,{onClick:()=>u(`shipping`),className:`w-full px-4 py-3 text-left text-xs font-bold uppercase tracking-wider flex justify-between items-center`,children:[(0,R.jsx)(`span`,{children:`SHIPPING & RETURNS`}),(0,R.jsx)(q,{className:`w-4 h-4 transition-transform duration-200 ${c===`shipping`?`rotate-180`:``}`})]}),c===`shipping`&&(0,R.jsxs)(`div`,{className:`px-4 pb-4 text-xs text-neutral-600 space-y-1 border-t border-neutral-100 pt-2`,children:[(0,R.jsx)(`p`,{children:`Complimentary express worldwide delivery.`}),(0,R.jsx)(`p`,{children:`All taxes, duties, and customs clearances pre-paid by RESOLVE.`}),(0,R.jsx)(`p`,{children:`30-day effortless return window with complimentary home courier pickup.`})]})]})]}),(0,R.jsxs)(`div`,{className:`p-3 bg-neutral-100 rounded-sm border border-black/5 flex items-center gap-2.5 text-[11px] text-neutral-600`,children:[(0,R.jsx)(md,{className:`w-4 h-4 text-[#8b181b] shrink-0`}),(0,R.jsx)(`span`,{children:`AUTHENTICITY GUARANTEE & LIFETIME ATELIER REPAIR SERVICE`})]})]})]})]})})},Fd=()=>(0,R.jsx)(`section`,{className:`relative z-20 bg-black text-white h-[110px] md:h-[142px] border-t border-b border-white/10 flex items-center overflow-hidden select-none`,children:(0,R.jsxs)(`div`,{className:`animate-marquee flex items-center whitespace-nowrap text-2xl sm:text-4xl md:text-5xl font-bold tracking-[0.16em] uppercase`,children:[(0,R.jsxs)(`span`,{className:`mx-8 flex items-center gap-6`,children:[(0,R.jsx)(`span`,{children:`MEMBERS SAVE 20% ON THEIR FIRST ORDER`}),(0,R.jsx)(`span`,{className:`text-[#8b181b] text-3xl`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-8 flex items-center gap-6`,children:[(0,R.jsx)(`span`,{children:`FREE SHIPPING OVER $150`}),(0,R.jsx)(`span`,{className:`text-[#8b181b] text-3xl`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-8 flex items-center gap-6`,children:[(0,R.jsx)(`span`,{children:`VEGETABLE TANNED EUROPEAN CALFSKIN`}),(0,R.jsx)(`span`,{className:`text-[#8b181b] text-3xl`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-8 flex items-center gap-6`,children:[(0,R.jsx)(`span`,{children:`BESPOKE CONCIERGE PACKAGING`}),(0,R.jsx)(`span`,{className:`text-[#8b181b] text-3xl`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-8 flex items-center gap-6`,children:[(0,R.jsx)(`span`,{children:`MEMBERS SAVE 20% ON THEIR FIRST ORDER`}),(0,R.jsx)(`span`,{className:`text-[#8b181b] text-3xl`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-8 flex items-center gap-6`,children:[(0,R.jsx)(`span`,{children:`FREE SHIPPING OVER $150`}),(0,R.jsx)(`span`,{className:`text-[#8b181b] text-3xl`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-8 flex items-center gap-6`,children:[(0,R.jsx)(`span`,{children:`VEGETABLE TANNED EUROPEAN CALFSKIN`}),(0,R.jsx)(`span`,{className:`text-[#8b181b] text-3xl`,children:`✦`})]}),(0,R.jsxs)(`span`,{className:`mx-8 flex items-center gap-6`,children:[(0,R.jsx)(`span`,{children:`BESPOKE CONCIERGE PACKAGING`}),(0,R.jsx)(`span`,{className:`text-[#8b181b] text-3xl`,children:`✦`})]})]})}),Id=()=>{let{addToCart:e,setQuickViewProduct:t,formatPrice:n,setActiveProductPage:r}=W(),i=U.slice(0,8);return(0,R.jsx)(`section`,{className:`relative z-20 bg-white text-[#111111] py-24 px-6 md:px-10 border-b border-black/10`,children:(0,R.jsx)(`div`,{className:`max-w-[1440px] mx-auto`,children:(0,R.jsxs)(`div`,{className:`flex flex-col lg:flex-row gap-10 items-start`,children:[(0,R.jsx)(`div`,{className:`w-full lg:w-1/2 lg:sticky lg:top-20 space-y-6`,children:(0,R.jsxs)(`div`,{className:`relative aspect-[3/4] max-h-[850px] w-full rounded-sm overflow-hidden bg-neutral-900 border border-black/10 shadow-xl`,children:[(0,R.jsx)(`img`,{src:Au,alt:`Refined Basics Campaign`,className:`w-full h-full object-cover`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/85 via-transparent to-transparent`}),(0,R.jsxs)(`div`,{className:`absolute bottom-8 left-8 right-8 text-white space-y-2`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.3em] text-[#e2a8aa] font-bold`,children:`THE FOUNDATIONAL EDIT`}),(0,R.jsx)(`h3`,{className:`font-serif text-3xl font-light tracking-wide text-white`,children:`Quiet Architecture for the Everyday`}),(0,R.jsx)(`p`,{className:`text-xs text-white/70 max-w-md font-light leading-relaxed`,children:`Sculpted essentials engineered to be layered, repeated, and worn in perpetuity.`})]})]})}),(0,R.jsxs)(`div`,{className:`w-full lg:w-1/2 space-y-8`,children:[(0,R.jsxs)(`div`,{className:`border-b border-black/10 pb-4`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.25em] text-[#8b181b] font-bold block mb-1`,children:`AUTUMN / WINTER 26`}),(0,R.jsx)(`h2`,{className:`text-3xl sm:text-[38.4px] font-normal uppercase tracking-[0.06em] text-black`,children:`REFINED BASICS`})]}),(0,R.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 gap-6`,children:i.map(i=>(0,R.jsxs)(`div`,{className:`group bg-neutral-50 rounded-sm overflow-hidden border border-black/5 hover:border-black/20 hover:shadow-lg transition-all duration-300 flex flex-col justify-between`,children:[(0,R.jsxs)(`div`,{onClick:()=>r(i),className:`relative aspect-[3/4] overflow-hidden bg-neutral-200 cursor-pointer`,children:[(0,R.jsx)(`img`,{src:i.image,alt:i.name,className:`w-full h-full object-cover group-hover:scale-105 transition-transform duration-500`}),i.badge&&(0,R.jsx)(`span`,{className:`absolute top-2.5 left-2.5 px-2 py-0.5 bg-black text-white text-[9px] font-bold uppercase tracking-widest`,children:i.badge}),(0,R.jsxs)(`div`,{onClick:e=>e.stopPropagation(),className:`absolute inset-x-2 bottom-2 flex gap-1.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200`,children:[(0,R.jsxs)(`button`,{onClick:t=>e(i,{event:t}),className:`flex-1 py-2 bg-white text-black hover:bg-[#8b181b] hover:text-white text-[11px] font-bold uppercase tracking-wider transition-colors shadow flex items-center justify-center gap-1 cursor-pointer`,children:[(0,R.jsx)(hd,{className:`w-3.5 h-3.5`}),(0,R.jsx)(`span`,{children:`ADD`})]}),(0,R.jsx)(`button`,{onClick:()=>t(i),className:`p-2 bg-black/80 hover:bg-black text-white rounded-sm shadow transition-colors`,title:`View details`,children:(0,R.jsx)(td,{className:`w-3.5 h-3.5`})})]})]}),(0,R.jsxs)(`div`,{className:`p-3.5 space-y-1 bg-white`,children:[(0,R.jsx)(`div`,{className:`text-[10px] uppercase tracking-widest text-neutral-400 font-semibold`,children:i.category}),(0,R.jsx)(`h4`,{onClick:()=>r(i),className:`text-xs font-bold uppercase tracking-wider text-black truncate group-hover:text-[#8b181b] transition-colors cursor-pointer`,children:i.name}),(0,R.jsx)(`div`,{className:`text-xs font-semibold tabular-nums text-black pt-0.5`,children:n(i.price)})]})]},i.id))})]})]})})})},Ld=()=>(0,R.jsxs)(`section`,{className:`relative z-20 h-[650px] md:h-[900px] w-full bg-black text-white flex items-center justify-center overflow-hidden border-t border-b border-white/10`,children:[(0,R.jsxs)(`div`,{className:`absolute inset-0`,children:[(0,R.jsx)(`img`,{src:Au,alt:`Brand Film Atmosphere`,className:`w-full h-full object-cover opacity-45 scale-110 animate-pulse [animation-duration:12s]`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black via-black/40 to-black`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-[radial-gradient(circle_at_center,rgba(139,24,27,0.15),transparent_70%)]`})]}),(0,R.jsxs)(`div`,{className:`relative z-10 max-w-4xl mx-auto px-6 text-center space-y-6`,children:[(0,R.jsxs)(`div`,{className:`inline-flex items-center gap-2 px-3 py-1 bg-white/10 backdrop-blur-md rounded-full text-[10px] uppercase tracking-[0.3em] text-[#e2a8aa] font-semibold border border-white/15`,children:[(0,R.jsx)(gd,{className:`w-3 h-3 text-[#8b181b]`}),(0,R.jsx)(`span`,{children:`CINEMA ARCHIVE · 35MM REEL`})]}),(0,R.jsxs)(`h2`,{className:`text-2xl sm:text-4xl md:text-5xl font-bold uppercase tracking-[0.14em] text-white leading-tight`,children:[`PREMIUM COTTON & LEATHER ESSENTIALS, `,(0,R.jsx)(`br`,{className:`hidden sm:inline`}),`MADE FOR A LIFETIME`]}),(0,R.jsx)(`p`,{className:`text-xs sm:text-sm text-white/70 max-w-xl mx-auto font-light leading-relaxed`,children:`Documenting the master patternmakers of Tuscany and the historic weavers of West Yorkshire as they assemble the Autumn/Winter capsule.`}),(0,R.jsx)(`div`,{className:`pt-4`,children:(0,R.jsxs)(`button`,{onClick:()=>alert(`Launching High-Fidelity 4K Brand Film (Autoplay / Muted Experience).`),className:`inline-flex items-center gap-3 px-8 py-3.5 bg-white text-black hover:bg-[#8b181b] hover:text-white text-xs font-bold uppercase tracking-[0.22em] transition-all duration-300 rounded-full cursor-pointer shadow-2xl`,children:[(0,R.jsx)(ld,{className:`w-4 h-4 fill-current`}),(0,R.jsx)(`span`,{children:`WATCH THE 35MM FILM`})]})})]})]}),Rd=()=>{let[e,t]=(0,y.useState)(``),[n,r]=(0,y.useState)(!1),[i,a]=(0,y.useState)(!1);return(0,R.jsx)(`section`,{className:`relative z-20 bg-white text-[#111111] py-24 px-6 md:px-12 border-b border-black/10`,children:(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto grid grid-cols-1 lg:grid-cols-12 gap-12 items-center`,children:[(0,R.jsxs)(`div`,{className:`lg:col-span-7 space-y-8`,children:[(0,R.jsxs)(`div`,{className:`space-y-3`,children:[(0,R.jsx)(`span`,{className:`text-[11px] uppercase tracking-[0.3em] text-[#8b181b] font-bold block`,children:`PRIVATE PRE-RELEASE ARCHIVE`}),(0,R.jsxs)(`h2`,{className:`text-3xl sm:text-5xl md:text-[46.8px] font-bold uppercase tracking-[0.06em] text-black leading-[1.08]`,children:[`SOMETHING NEW `,(0,R.jsx)(`br`,{}),`IS ALMOST READY`]}),(0,R.jsx)(`p`,{className:`text-sm sm:text-base text-neutral-600 font-light leading-relaxed max-w-lg pt-2`,children:`Be the first to wear our unreleased heavy wool overcoat and sculpted evening accessories before the collection officially opens to the public in November.`})]}),n?(0,R.jsxs)(`div`,{className:`p-5 bg-neutral-50 border border-black/15 rounded-sm max-w-md space-y-2`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2 text-[#8b181b] font-bold text-xs uppercase tracking-wider`,children:[(0,R.jsx)(K,{className:`w-4 h-4`}),(0,R.jsx)(`span`,{children:`VIP Priority Reserved (#AW26-881)`})]}),(0,R.jsx)(`p`,{className:`text-xs text-neutral-600`,children:`You will receive a private access passcode 48 hours prior to global release.`})]}):(0,R.jsxs)(`form`,{onSubmit:t=>{t.preventDefault(),e.trim()&&r(!0)},className:`flex flex-col sm:flex-row gap-3 max-w-md`,children:[(0,R.jsx)(`input`,{type:`email`,required:!0,value:e,onChange:e=>t(e.target.value),placeholder:`Enter email to reserve priority`,className:`flex-1 px-4 py-3.5 bg-neutral-50 border border-black/15 text-xs text-black placeholder-neutral-400 focus:outline-none focus:border-black rounded-sm`}),(0,R.jsxs)(`button`,{type:`submit`,className:`py-3.5 px-6 bg-black text-white hover:bg-[#8b181b] text-xs font-bold uppercase tracking-[0.2em] transition-colors rounded-sm flex items-center justify-center gap-2 cursor-pointer shrink-0`,children:[(0,R.jsx)(`span`,{children:`RESERVE ACCESS`}),(0,R.jsx)(Xu,{className:`w-4 h-4`})]})]}),(0,R.jsxs)(`div`,{className:`flex items-center gap-6 pt-2 text-[11px] text-neutral-400 uppercase tracking-wider`,children:[(0,R.jsx)(`span`,{children:`Edition of 75 numbered coats`}),(0,R.jsx)(`span`,{children:`·`}),(0,R.jsx)(`span`,{children:`Bespoke sizing fitting available`})]})]}),(0,R.jsx)(`div`,{className:`lg:col-span-5 relative`,children:(0,R.jsxs)(`div`,{className:`aspect-[3/4] rounded-sm overflow-hidden bg-neutral-900 border border-black/10 shadow-2xl relative group`,children:[(0,R.jsx)(`img`,{src:H,alt:`Upcoming Secret Release`,className:`w-full h-full object-cover group-hover:scale-105 transition-transform duration-700`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/85 via-transparent to-transparent`}),(0,R.jsxs)(`div`,{className:`absolute bottom-6 left-6 right-6 text-white`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-widest text-[#e2a8aa] font-bold block`,children:`CLASSIFIED ARCHIVE`}),(0,R.jsx)(`h4`,{className:`text-sm font-bold uppercase tracking-wider text-white mt-1`,children:`KAGE HEAVY WOOL OVERCOAT`}),(0,R.jsx)(`p`,{className:`text-xs text-white/70 font-light mt-0.5`,children:`Releasing November 12, 2026.`})]})]})})]})})},zd=()=>{let e=[{name:`VOGUE`,font:`font-serif tracking-widest`},{name:`GQ`,font:`font-bold tracking-tighter`},{name:`DAZED`,font:`font-extrabold tracking-widest`},{name:`032C`,font:`font-mono font-bold tracking-tight`},{name:`NUMÉRO`,font:`font-serif tracking-widest italic`},{name:`HYPEBEAST`,font:`font-bold tracking-wider`}];return(0,R.jsx)(`section`,{className:`relative z-20 bg-white h-[110px] md:h-[134px] border-b border-black/10 flex items-center overflow-hidden select-none`,children:(0,R.jsxs)(`div`,{className:`animate-marquee flex items-center whitespace-nowrap text-xl sm:text-2xl text-neutral-400 font-semibold tracking-wider`,children:[e.map((e,t)=>(0,R.jsx)(`div`,{className:`w-[218px] flex items-center justify-center hover:text-black transition-colors duration-300`,children:(0,R.jsx)(`span`,{className:`${e.font} text-neutral-400 hover:text-black transition-colors`,children:e.name})},t)),e.map((e,t)=>(0,R.jsx)(`div`,{className:`w-[218px] flex items-center justify-center hover:text-black transition-colors duration-300`,children:(0,R.jsx)(`span`,{className:`${e.font} text-neutral-400 hover:text-black transition-colors`,children:e.name})},`dup-${t}`))]})})},Bd=()=>{let[e,t]=(0,y.useState)(50),[n,r]=(0,y.useState)(!1),i=(0,y.useRef)(null),a=(0,y.useRef)(!1),o=(0,y.useCallback)(e=>{if(!i.current)return;let n=i.current.getBoundingClientRect(),a=e-n.left,o=Math.max(0,Math.min(100,a/n.width*100));t(o),r(!0)},[]),s=e=>{a.current=!0,e.currentTarget.setPointerCapture(e.pointerId),o(e.clientX)},c=e=>{a.current&&o(e.clientX)},l=e=>{a.current=!1;try{e.currentTarget.releasePointerCapture(e.pointerId)}catch{}};return(0,R.jsx)(`section`,{className:`relative z-20 bg-white text-[#111111] py-20 sm:py-24 px-5 sm:px-12 border-b border-black/10`,children:(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-12 items-center`,children:[(0,R.jsxs)(`div`,{className:`lg:col-span-5 space-y-5 sm:space-y-6`,children:[(0,R.jsxs)(`div`,{className:`inline-flex items-center gap-2 text-[10px] uppercase tracking-[0.3em] text-[#8b181b] font-bold`,children:[(0,R.jsx)(gd,{className:`w-3.5 h-3.5 text-[#8b181b]`}),(0,R.jsx)(`span`,{children:`INTERACTIVE MATERIAL COMPARISON`})]}),(0,R.jsxs)(`h2`,{className:`text-3xl sm:text-4xl font-bold uppercase tracking-[0.1em] text-black`,children:[`THE RHYTHM `,(0,R.jsx)(`br`,{}),`OF CONTRAST`]}),(0,R.jsx)(`p`,{className:`text-xs sm:text-sm text-neutral-600 font-light leading-relaxed`,children:`Drag the handle to inspect the tactile contrast between dense raw cotton twill and supple drum-dyed Italian lambskin. Two structural extremes coexisting in single ensemble architectures.`}),(0,R.jsxs)(`div`,{className:`space-y-3 pt-2 text-xs font-semibold uppercase tracking-wider`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsx)(`span`,{className:`w-3 h-3 rounded-full bg-[#1c1f24] shrink-0`}),(0,R.jsx)(`span`,{children:`LEFT: Heavy Organic Cotton Twill (380gsm)`})]}),(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsx)(`span`,{className:`w-3 h-3 rounded-full bg-[#8b181b] shrink-0`}),(0,R.jsx)(`span`,{children:`RIGHT: Full-Grain Vegetable-Tanned Lambskin`})]})]})]}),(0,R.jsx)(`div`,{className:`lg:col-span-7 flex justify-center`,children:(0,R.jsxs)(`div`,{ref:i,onPointerDown:s,onPointerMove:c,onPointerUp:l,onPointerCancel:l,className:`relative w-full max-w-[620px] aspect-[3/4] rounded-sm overflow-hidden select-none cursor-ew-resize border border-black/10 shadow-2xl touch-none`,style:{touchAction:`none`},children:[(0,R.jsx)(`img`,{src:H,alt:`Drum-dyed leather detail`,className:`absolute inset-0 w-full h-full object-cover pointer-events-none`}),(0,R.jsx)(`span`,{className:`absolute top-4 right-4 z-10 px-3 py-1 bg-black/80 backdrop-blur-md text-white text-[10px] font-bold uppercase tracking-widest rounded-full`,children:`LEATHER ARCHIVE`}),(0,R.jsxs)(`div`,{className:`absolute inset-0 overflow-hidden pointer-events-none`,style:{clipPath:`inset(0 ${100-e}% 0 0)`},children:[(0,R.jsx)(`img`,{src:Mu,alt:`Organic cotton twill detail`,className:`absolute inset-0 w-full h-full object-cover`}),(0,R.jsx)(`span`,{className:`absolute top-4 left-4 z-10 px-3 py-1 bg-white/90 backdrop-blur-md text-black text-[10px] font-bold uppercase tracking-widest rounded-full shadow`,children:`RAW COTTON`})]}),(0,R.jsx)(`div`,{className:`absolute top-0 bottom-0 w-[2px] bg-white shadow-[0_0_10px_rgba(0,0,0,0.5)] z-20 pointer-events-none`,style:{left:`${e}%`},children:(0,R.jsx)(`div`,{className:`absolute top-1/2 -translate-y-1/2 -translate-x-1/2 w-10 h-10 rounded-full bg-white text-black shadow-2xl flex items-center justify-center border-2 border-black/20 ${n?``:`animate-pulse ring-4 ring-white/40`}`,children:(0,R.jsx)(Ju,{className:`w-4 h-4`})})})]})})]})})},Vd=()=>{let[e,t]=(0,y.useState)(0),n=Iu[e];return(0,R.jsx)(`section`,{className:`relative z-20 bg-neutral-50 text-[#111111] py-20 px-6 border-b border-black/10`,children:(0,R.jsxs)(`div`,{className:`max-w-3xl mx-auto text-center space-y-8`,children:[(0,R.jsx)(`div`,{className:`flex justify-center gap-1.5 text-[#8b181b]`,children:[...[,,,,,]].map((e,t)=>(0,R.jsx)(_d,{className:`w-4 h-4 fill-current`},t))}),(0,R.jsxs)(`blockquote`,{className:`font-serif text-xl sm:text-2xl md:text-3xl font-light text-neutral-800 italic leading-relaxed min-h-[100px] flex items-center justify-center`,children:[`“`,n.quote,`”`]}),(0,R.jsx)(`div`,{className:`flex flex-wrap items-center justify-center gap-4 sm:gap-8 pt-4 border-t border-black/10`,children:Iu.map((n,r)=>(0,R.jsxs)(`button`,{onClick:()=>t(r),className:`text-left py-2 px-3 rounded-sm transition-all cursor-pointer ${e===r?`bg-black text-white shadow`:`text-neutral-500 hover:text-black hover:bg-neutral-200/60`}`,children:[(0,R.jsx)(`div`,{className:`text-xs font-bold uppercase tracking-wider`,children:n.author}),(0,R.jsxs)(`div`,{className:`text-[10px] opacity-75`,children:[n.product,` · `,n.role]})]},n.author))})]})})},Hd=()=>{let e=Lu[0],t=Lu.slice(1);return(0,R.jsx)(`section`,{id:`editorial`,className:`relative z-20 bg-white text-[#111111] py-24 px-6 md:px-10 border-b border-black/10`,children:(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto space-y-10`,children:[(0,R.jsxs)(`div`,{className:`flex flex-col sm:flex-row sm:items-end justify-between gap-4 border-b border-black/10 pb-4`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.3em] text-[#8b181b] font-bold block mb-1`,children:`THE RESOLVE JOURNAL`}),(0,R.jsx)(`h2`,{className:`text-3xl font-bold uppercase tracking-[0.1em] text-black`,children:`EDITORIAL ESSAYS`})]}),(0,R.jsx)(`span`,{className:`text-xs text-neutral-400 uppercase tracking-widest font-mono`,children:`VOLUME 04 · ISSUE AUTUMN 26`})]}),(0,R.jsxs)(`div`,{className:`grid grid-cols-1 lg:grid-cols-12 gap-8 items-start`,children:[(0,R.jsx)(`div`,{className:`lg:col-span-6 lg:sticky lg:top-24`,children:(0,R.jsxs)(`article`,{className:`group bg-neutral-50 rounded-sm overflow-hidden border border-black/10 hover:border-black/30 hover:shadow-xl transition-all duration-300`,children:[(0,R.jsxs)(`div`,{className:`aspect-[4/3] overflow-hidden bg-neutral-900 relative`,children:[(0,R.jsx)(`img`,{src:e.image,alt:e.title,className:`w-full h-full object-cover group-hover:scale-105 transition-transform duration-700`}),(0,R.jsx)(`span`,{className:`absolute top-4 left-4 px-2.5 py-1 bg-black text-white text-[9px] font-bold uppercase tracking-widest`,children:`FEATURED DISCOURSE`})]}),(0,R.jsxs)(`div`,{className:`p-6 md:p-8 space-y-3 bg-white`,children:[(0,R.jsxs)(`div`,{className:`text-[10px] font-mono uppercase text-neutral-400 tracking-wider`,children:[e.date,` · `,e.readTime]}),(0,R.jsx)(`h3`,{className:`text-xl md:text-2xl font-bold uppercase tracking-wider text-black group-hover:text-[#8b181b] transition-colors`,children:e.title}),(0,R.jsx)(`p`,{className:`text-xs sm:text-sm text-neutral-600 font-light leading-relaxed`,children:e.excerpt}),(0,R.jsx)(`div`,{className:`pt-2`,children:(0,R.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 text-xs font-bold uppercase tracking-widest text-black group-hover:text-[#8b181b] transition-colors`,children:[(0,R.jsx)(`span`,{children:`READ FULL ESSAY`}),(0,R.jsx)(Zu,{className:`w-4 h-4`})]})})]})]})}),(0,R.jsx)(`div`,{className:`lg:col-span-6 space-y-8`,children:t.map((e,t)=>(0,R.jsxs)(`article`,{className:`group lg:sticky lg:top-28 bg-white rounded-sm overflow-hidden border border-black/10 hover:border-black/30 hover:shadow-2xl transition-all duration-300 shadow-md`,style:{top:`${110+t*30}px`},children:[(0,R.jsxs)(`div`,{className:`aspect-[16/9] overflow-hidden bg-neutral-900 relative`,children:[(0,R.jsx)(`img`,{src:e.image,alt:e.title,className:`w-full h-full object-cover group-hover:scale-105 transition-transform duration-700`}),(0,R.jsx)(`span`,{className:`absolute top-4 left-4 px-2.5 py-1 bg-white/90 backdrop-blur text-black text-[9px] font-bold uppercase tracking-widest`,children:e.tag})]}),(0,R.jsxs)(`div`,{className:`p-6 space-y-2.5 bg-white`,children:[(0,R.jsxs)(`div`,{className:`text-[10px] font-mono uppercase text-neutral-400 tracking-wider`,children:[e.date,` · `,e.readTime]}),(0,R.jsx)(`h3`,{className:`text-lg font-bold uppercase tracking-wider text-black group-hover:text-[#8b181b] transition-colors`,children:e.title}),(0,R.jsx)(`p`,{className:`text-xs text-neutral-600 font-light leading-relaxed`,children:e.excerpt}),(0,R.jsx)(`div`,{className:`pt-2`,children:(0,R.jsxs)(`span`,{className:`inline-flex items-center gap-1 text-xs font-bold uppercase tracking-widest text-black group-hover:text-[#8b181b] transition-colors`,children:[(0,R.jsx)(`span`,{children:`READ ESSAY`}),(0,R.jsx)(Zu,{className:`w-3.5 h-3.5`})]})})]})]},e.id))})]})]})})},Ud=()=>{let[e,t]=(0,y.useState)(``),[n,r]=(0,y.useState)(!1);return(0,R.jsx)(`section`,{className:`relative z-20 bg-black text-white py-16 px-6 border-b border-white/10 flex items-center justify-center`,children:(0,R.jsxs)(`div`,{className:`max-w-2xl mx-auto text-center space-y-6`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.3em] text-[#e2a8aa] font-bold block`,children:`THE DISPATCH`}),(0,R.jsx)(`h2`,{className:`text-2xl sm:text-4xl font-normal uppercase tracking-[0.08em] text-white`,children:`THE EDIT, IN YOUR INBOX`}),(0,R.jsx)(`p`,{className:`text-xs text-white/60 font-light max-w-md mx-auto`,children:`Private runway invitations, small-batch release dates, and seasonal tailoring dissertations sent bimonthly.`}),n?(0,R.jsxs)(`div`,{className:`inline-flex items-center gap-2 px-5 py-2.5 bg-white/10 text-white rounded-full text-xs font-semibold uppercase tracking-wider`,children:[(0,R.jsx)(K,{className:`w-4 h-4 text-[#8b181b]`}),(0,R.jsx)(`span`,{children:`Welcome to the Resolve Dispatch`})]}):(0,R.jsxs)(`form`,{onSubmit:t=>{t.preventDefault(),e.trim()&&r(!0)},className:`flex flex-col sm:flex-row gap-2 max-w-md mx-auto`,children:[(0,R.jsx)(`input`,{type:`email`,required:!0,value:e,onChange:e=>t(e.target.value),placeholder:`Your email address`,className:`flex-1 px-4 py-3 bg-white/5 border border-white/20 text-xs text-white placeholder-white/40 focus:outline-none focus:border-white rounded-sm`}),(0,R.jsxs)(`button`,{type:`submit`,className:`py-3 px-6 bg-white text-black hover:bg-[#8b181b] hover:text-white text-xs font-bold uppercase tracking-[0.2em] transition-colors rounded-sm flex items-center justify-center gap-1.5 cursor-pointer`,children:[(0,R.jsx)(`span`,{children:`SUBSCRIBE`}),(0,R.jsx)(Xu,{className:`w-3.5 h-3.5`})]})]})]})})},Wd=()=>(0,R.jsxs)(`section`,{className:`relative z-20 bg-white text-[#111111] pt-20 pb-16`,children:[(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto px-6 mb-8 flex flex-col sm:flex-row items-baseline justify-between gap-4`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.3em] text-[#8b181b] font-bold block mb-1`,children:`COMMUNITY & DISPATCH`}),(0,R.jsx)(`h2`,{className:`text-2xl sm:text-3xl font-bold uppercase tracking-[0.14em] text-black`,children:`@RESOLVE · FOLLOW US`})]}),(0,R.jsxs)(`a`,{href:`https://instagram.com`,target:`_blank`,rel:`noreferrer`,className:`cascade-link text-xs font-bold uppercase tracking-[0.2em] text-neutral-800 hover:text-black inline-flex items-center gap-1.5`,children:[(0,R.jsx)(`span`,{children:`VISIT INSTAGRAM ARCHIVE`}),(0,R.jsx)(Zu,{className:`w-3.5 h-3.5`})]})]}),(0,R.jsx)(`div`,{className:`grid grid-cols-2 md:grid-cols-3 w-full`,children:[{src:Au,tag:`@RESOLVE · Sable Wool Crepe`,likes:`1.4k`},{src:ju,tag:`@RESOLVE · Evening Vignette AW26`,likes:`2.8k`},{src:Mu,tag:`@RESOLVE · 380gsm Carded Fleece`,likes:`920`},{src:H,tag:`@RESOLVE · Drum-Dyed Kuro Biker`,likes:`3.1k`},{src:Nu,tag:`@RESOLVE · 0.6mm Calfskin Tee`,likes:`1.8k`},{src:Au,tag:`@RESOLVE · Florence Workshop Archive`,likes:`4.2k`}].map((e,t)=>(0,R.jsxs)(`a`,{href:`https://instagram.com`,target:`_blank`,rel:`noreferrer`,className:`group relative aspect-square overflow-hidden bg-neutral-900 border-r border-b border-black/10`,children:[(0,R.jsx)(`img`,{src:e.src,alt:e.tag,className:`w-full h-full object-cover group-hover:scale-105 transition-transform duration-700 ease-[cubic-bezier(0.22,1,0.36,1)]`}),(0,R.jsxs)(`div`,{className:`absolute inset-0 bg-black/60 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-between p-6 text-white`,children:[(0,R.jsx)(`div`,{className:`flex justify-end`,children:(0,R.jsx)(od,{className:`w-5 h-5 text-white/80`})}),(0,R.jsxs)(`div`,{className:`space-y-1`,children:[(0,R.jsx)(`div`,{className:`text-xs font-semibold tracking-wider`,children:e.tag}),(0,R.jsxs)(`div`,{className:`text-[10px] text-white/60 tracking-widest uppercase`,children:[e.likes,` LIKES`]})]})]})]},t))})]}),Gd=()=>{let[e,t]=(0,y.useState)(0),n=n=>{t(e===n?null:n)};return(0,R.jsxs)(`div`,{className:`relative z-20 bg-neutral-50 text-[#111111]`,children:[(0,R.jsxs)(`section`,{className:`py-20 px-6 max-w-3xl mx-auto space-y-10`,children:[(0,R.jsxs)(`div`,{className:`text-center space-y-2`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.3em] text-[#8b181b] font-bold block`,children:`CONCIERGE ASSISTANCE`}),(0,R.jsx)(`h2`,{className:`text-2xl sm:text-3xl font-bold uppercase tracking-[0.1em] text-black`,children:`FREQUENTLY ASKED QUESTIONS`})]}),(0,R.jsx)(`div`,{className:`space-y-3`,children:Ru.map((t,r)=>(0,R.jsxs)(`div`,{className:`bg-white rounded-sm border border-black/10 overflow-hidden shadow-sm`,children:[(0,R.jsxs)(`button`,{onClick:()=>n(r),className:`w-full px-6 py-5 text-left text-sm font-bold uppercase tracking-wider text-black flex justify-between items-center cursor-pointer hover:bg-neutral-50 transition-colors`,children:[(0,R.jsx)(`span`,{children:t.question}),e===r?(0,R.jsx)(cd,{className:`w-4 h-4 text-[#8b181b] shrink-0`}):(0,R.jsx)(ud,{className:`w-4 h-4 text-neutral-400 shrink-0`})]}),e===r&&(0,R.jsx)(`div`,{className:`px-6 pb-6 text-xs sm:text-sm text-neutral-600 font-light leading-relaxed border-t border-neutral-100 pt-3`,children:t.answer})]},r))})]}),(0,R.jsx)(`section`,{className:`border-t border-b border-black/10 bg-white py-8 px-6`,children:(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto grid grid-cols-1 md:grid-cols-3 gap-8 text-center sm:text-left`,children:[(0,R.jsxs)(`div`,{className:`flex items-center justify-center sm:justify-start gap-4`,children:[(0,R.jsx)(`div`,{className:`w-10 h-10 rounded-full bg-neutral-100 flex items-center justify-center text-black shrink-0`,children:(0,R.jsx)(id,{className:`w-5 h-5 text-[#8b181b]`})}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h4`,{className:`text-xs font-bold uppercase tracking-wider text-black`,children:`DEDICATED STYLING CONCIERGE`}),(0,R.jsx)(`p`,{className:`text-[11px] text-neutral-500`,children:`Direct WhatsApp & email advisory with tailoring specialists.`})]})]}),(0,R.jsxs)(`div`,{className:`flex items-center justify-center sm:justify-start gap-4`,children:[(0,R.jsx)(`div`,{className:`w-10 h-10 rounded-full bg-neutral-100 flex items-center justify-center text-black shrink-0`,children:(0,R.jsx)(bd,{className:`w-5 h-5 text-[#8b181b]`})}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h4`,{className:`text-xs font-bold uppercase tracking-wider text-black`,children:`EXPRESS GLOBAL FULFILLMENT`}),(0,R.jsx)(`p`,{className:`text-[11px] text-neutral-500`,children:`Complimentary courier shipping on all orders over $150.`})]})]}),(0,R.jsxs)(`div`,{className:`flex items-center justify-center sm:justify-start gap-4`,children:[(0,R.jsx)(`div`,{className:`w-10 h-10 rounded-full bg-neutral-100 flex items-center justify-center text-black shrink-0`,children:(0,R.jsx)($u,{className:`w-5 h-5 text-[#8b181b]`})}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h4`,{className:`text-xs font-bold uppercase tracking-wider text-black`,children:`ARTISANAL PROVENANCE`}),(0,R.jsx)(`p`,{className:`text-[11px] text-neutral-500`,children:`Hand-numbered small batches tailored in Florence & West Yorkshire.`})]})]})]})})]})},Kd=()=>{let{currency:e,setCurrency:t}=W();return(0,R.jsxs)(`footer`,{className:`relative z-20 bg-[#070707] text-white`,children:[(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto px-6 md:px-12 py-16 grid grid-cols-1 md:grid-cols-12 gap-10`,children:[(0,R.jsxs)(`div`,{className:`md:col-span-4 space-y-4`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2 text-lg font-bold tracking-[0.25em] uppercase text-white`,children:[(0,R.jsx)(`span`,{className:`text-[#8b181b]`,children:`◆`}),(0,R.jsx)(`span`,{children:`RESOLVE`}),(0,R.jsx)(`span`,{className:`text-[#8b181b]`,children:`◆`})]}),(0,R.jsx)(`p`,{className:`text-xs text-neutral-400 font-light leading-relaxed max-w-sm`,children:`High-fashion architectural menswear and womenswear defined by tactile contrast, drum-dyed skins, and English wool tailoring.`}),(0,R.jsx)(`div`,{className:`pt-2 text-[11px] text-neutral-500 font-mono`,children:`FLORENCE · LONDON · PARIS · NEW YORK`})]}),(0,R.jsxs)(`div`,{className:`md:col-span-2 space-y-3`,children:[(0,R.jsx)(`h4`,{className:`text-xs font-bold uppercase tracking-[0.2em] text-[#e2a8aa]`,children:`COLLECTIONS`}),(0,R.jsxs)(`ul`,{className:`space-y-2 text-xs text-neutral-400 font-light`,children:[(0,R.jsx)(`li`,{children:(0,R.jsx)(`a`,{href:`#shop`,className:`hover:text-white transition-colors`,children:`Autumn / Winter 26`})}),(0,R.jsx)(`li`,{children:(0,R.jsx)(`a`,{href:`#wardrobe`,className:`hover:text-white transition-colors`,children:`The Wardrobe`})}),(0,R.jsx)(`li`,{children:(0,R.jsx)(`a`,{href:`#featured-pdp`,className:`hover:text-white transition-colors`,children:`Featured Calfskin`})}),(0,R.jsx)(`li`,{children:(0,R.jsx)(`a`,{href:`#bundle`,className:`hover:text-white transition-colors`,children:`Better Together`})}),(0,R.jsx)(`li`,{children:(0,R.jsx)(`a`,{href:`#collection-tab`,className:`hover:text-white transition-colors`,children:`Archive Sale`})})]})]}),(0,R.jsxs)(`div`,{className:`md:col-span-3 space-y-3`,children:[(0,R.jsx)(`h4`,{className:`text-xs font-bold uppercase tracking-[0.2em] text-[#e2a8aa]`,children:`CLIENT CONCIERGE`}),(0,R.jsxs)(`ul`,{className:`space-y-2 text-xs text-neutral-400 font-light`,children:[(0,R.jsx)(`li`,{children:(0,R.jsx)(`a`,{href:`#editorial`,className:`hover:text-white transition-colors`,children:`Bespoke Fit Advisory`})}),(0,R.jsx)(`li`,{children:(0,R.jsx)(`a`,{href:`#editorial`,className:`hover:text-white transition-colors`,children:`Complimentary Shipping & Duties`})}),(0,R.jsx)(`li`,{children:(0,R.jsx)(`a`,{href:`#editorial`,className:`hover:text-white transition-colors`,children:`Returns & Exchange Portal`})}),(0,R.jsx)(`li`,{children:(0,R.jsx)(`a`,{href:`#editorial`,className:`hover:text-white transition-colors`,children:`Lifetime Atelier Care`})}),(0,R.jsx)(`li`,{children:(0,R.jsx)(`a`,{href:`#editorial`,className:`hover:text-white transition-colors`,children:`Private Client Salons`})})]})]}),(0,R.jsxs)(`div`,{className:`md:col-span-3 space-y-4`,children:[(0,R.jsx)(`h4`,{className:`text-xs font-bold uppercase tracking-[0.2em] text-[#e2a8aa]`,children:`REGION & PREFERENCE`}),(0,R.jsxs)(`div`,{className:`flex items-center gap-2 text-xs bg-white/5 p-3 rounded-sm border border-white/10`,children:[(0,R.jsx)(rd,{className:`w-4 h-4 text-white/60`}),(0,R.jsxs)(`select`,{value:e,onChange:e=>t(e.target.value),className:`bg-transparent text-white focus:outline-none cursor-pointer uppercase text-xs`,children:[(0,R.jsx)(`option`,{value:`USD`,className:`bg-neutral-900`,children:`United States (USD $)`}),(0,R.jsx)(`option`,{value:`EUR`,className:`bg-neutral-900`,children:`European Union (EUR €)`}),(0,R.jsx)(`option`,{value:`GBP`,className:`bg-neutral-900`,children:`United Kingdom (GBP £)`}),(0,R.jsx)(`option`,{value:`JPY`,className:`bg-neutral-900`,children:`Japan (JPY ¥)`})]})]}),(0,R.jsxs)(`button`,{onClick:()=>{window.scrollTo({top:0,behavior:`smooth`})},className:`flex items-center gap-2 text-xs text-neutral-400 hover:text-white uppercase tracking-widest pt-2 group cursor-pointer`,children:[(0,R.jsx)(`span`,{children:`BACK TO TOP`}),(0,R.jsx)(Qu,{className:`w-4 h-4 group-hover:-translate-y-1 transition-transform`})]})]})]}),(0,R.jsx)(`div`,{className:`border-t border-white/10 bg-[#050505] py-6 px-6 md:px-12 text-[11px] text-neutral-500`,children:(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto flex flex-col sm:flex-row items-center justify-between gap-4`,children:[(0,R.jsx)(`div`,{children:`© 2026 RESOLVE FLAGSHIP S.R.L. ALL RIGHTS RESERVED.`}),(0,R.jsxs)(`div`,{className:`flex items-center gap-6`,children:[(0,R.jsx)(`a`,{href:`#`,className:`hover:text-white transition-colors`,children:`PRIVACY POLICY`}),(0,R.jsx)(`a`,{href:`#`,className:`hover:text-white transition-colors`,children:`TERMS OF SALE`}),(0,R.jsx)(`a`,{href:`#`,className:`hover:text-white transition-colors`,children:`LEGAL NOTICE`}),(0,R.jsx)(`a`,{href:`#`,className:`hover:text-white transition-colors`,children:`COOKIE PREFERENCES`})]})]})})]})},qd=()=>{let{isMenuOpen:e,setIsMenuOpen:t,currency:n,setCurrency:r,setActiveProductPage:i}=W(),[a,o]=(0,y.useState)(`root`);if(!e)return null;let s=e=>{let n=U.find(t=>t.id===e);n&&(i(n),t(!1))};return(0,R.jsxs)(`div`,{className:`fixed inset-0 z-50 overflow-hidden`,children:[(0,R.jsx)(`div`,{onClick:()=>t(!1),className:`absolute inset-0 bg-black/60 backdrop-blur-md transition-opacity duration-300`}),(0,R.jsxs)(`div`,{className:`absolute inset-y-0 left-0 w-full max-w-[640px] h-full bg-[#0a0a0a]/85 backdrop-blur-2xl text-white border-r border-white/15 shadow-[0_0_60px_rgba(0,0,0,0.9)] flex flex-col justify-between overflow-hidden animate-[themeReveal_0.4s_cubic-bezier(0.22,1,0.36,1)] z-10`,children:[(0,R.jsxs)(`div`,{className:`flex items-center justify-between px-6 sm:px-8 py-6 border-b border-white/10 bg-black/30 backdrop-blur-md`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsx)(`span`,{className:`text-[#8b181b] text-xs`,children:`◆`}),(0,R.jsx)(`span`,{className:`font-semibold tracking-[0.3em] uppercase text-sm sm:text-base`,children:`RESOLVE`}),(0,R.jsx)(`span`,{className:`text-[10px] tracking-[0.2em] text-[#e2a8aa] uppercase font-mono px-2 py-0.5 rounded bg-white/5 border border-white/10`,children:`AW26 DIRECTORY`})]}),(0,R.jsx)(`button`,{onClick:()=>t(!1),className:`w-9 h-9 rounded-full bg-white/5 hover:bg-white/15 flex items-center justify-center text-white/80 hover:text-white transition-all cursor-pointer`,"aria-label":`Close menu`,children:(0,R.jsx)(Sd,{className:`w-5 h-5`})})]}),(0,R.jsxs)(`div`,{className:`flex-1 overflow-y-auto px-6 sm:px-8 py-6 space-y-6`,children:[a===`root`&&(0,R.jsxs)(`div`,{className:`space-y-6`,children:[(0,R.jsxs)(`div`,{className:`space-y-3 text-[19px] sm:text-[21px] font-light tracking-[0.08em] uppercase`,children:[(0,R.jsxs)(`button`,{onClick:()=>o(`shop`),className:`w-full flex items-center justify-between py-2 text-left hover:text-[#e2a8aa] transition-colors group cursor-pointer`,children:[(0,R.jsx)(`span`,{className:`group-hover:translate-x-2 transition-transform duration-300`,children:`SHOP BY SILHOUETTE`}),(0,R.jsx)(Y,{className:`w-5 h-5 opacity-50 group-hover:opacity-100 group-hover:translate-x-1 transition-all`})]}),(0,R.jsxs)(`button`,{onClick:()=>o(`material`),className:`w-full flex items-center justify-between py-2 text-left hover:text-[#e2a8aa] transition-colors group cursor-pointer`,children:[(0,R.jsx)(`span`,{className:`group-hover:translate-x-2 transition-transform duration-300`,children:`MATERIALS & CRAFT`}),(0,R.jsx)(Y,{className:`w-5 h-5 opacity-50 group-hover:opacity-100 group-hover:translate-x-1 transition-all`})]}),(0,R.jsx)(`a`,{href:`#collection-tab`,onClick:()=>t(!1),className:`block py-2 hover:text-[#e2a8aa] transition-colors hover:translate-x-2 duration-300`,children:`ALL COLLECTIONS`}),(0,R.jsx)(`a`,{href:`#bundle`,onClick:()=>t(!1),className:`block py-2 hover:text-[#e2a8aa] transition-colors hover:translate-x-2 duration-300`,children:`BETTER TOGETHER BUNDLES`}),(0,R.jsxs)(`button`,{onClick:()=>s(`leather-tee`),className:`w-full text-left py-2 hover:text-[#e2a8aa] transition-colors hover:translate-x-2 duration-300 flex items-center justify-between group cursor-pointer`,children:[(0,R.jsx)(`span`,{children:`FEATURED CALFSKIN TEE (PDP)`}),(0,R.jsx)(ed,{className:`w-4 h-4 opacity-40 group-hover:opacity-100`})]}),(0,R.jsxs)(`button`,{onClick:()=>s(`sable-blazer`),className:`w-full text-left py-2 hover:text-[#e2a8aa] transition-colors hover:translate-x-2 duration-300 flex items-center justify-between group cursor-pointer`,children:[(0,R.jsx)(`span`,{children:`SABLE WOOL BLAZER (PDP)`}),(0,R.jsx)(ed,{className:`w-4 h-4 opacity-40 group-hover:opacity-100`})]})]}),(0,R.jsx)(`div`,{className:`h-[1px] bg-white/10 my-6`}),(0,R.jsxs)(`div`,{children:[(0,R.jsxs)(`div`,{className:`flex items-center justify-between mb-4`,children:[(0,R.jsx)(`div`,{className:`text-[11px] uppercase tracking-[0.2em] text-white/50 font-semibold`,children:`FIND YOUR INSPIRATION`}),(0,R.jsx)(`span`,{className:`text-[10px] text-[#e2a8aa] tracking-widest uppercase`,children:`5 CURATIONS`})]}),(0,R.jsx)(`div`,{className:`flex gap-4 overflow-x-auto pb-4 snap-x no-scrollbar`,children:Pu.map(e=>(0,R.jsx)(`a`,{href:e.href,onClick:()=>t(!1),className:`group shrink-0 w-[180px] snap-start bg-white/5 rounded-sm overflow-hidden border border-white/10 hover:border-white/30 backdrop-blur-sm transition-all`,children:(0,R.jsxs)(`div`,{className:`aspect-[3/4] relative overflow-hidden bg-neutral-900`,children:[(0,R.jsx)(`img`,{src:e.image,alt:e.name,className:`w-full h-full object-cover group-hover:scale-105 transition-transform duration-500`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent`}),(0,R.jsxs)(`div`,{className:`absolute bottom-2.5 left-2.5 right-2.5`,children:[(0,R.jsx)(`div`,{className:`text-[12px] font-semibold tracking-wider uppercase text-white`,children:e.name}),(0,R.jsx)(`div`,{className:`text-[10px] text-white/60`,children:e.count})]})]})},e.id))})]})]}),a===`shop`&&(0,R.jsxs)(`div`,{className:`space-y-6`,children:[(0,R.jsxs)(`button`,{onClick:()=>o(`root`),className:`flex items-center gap-2 text-[12px] uppercase tracking-widest text-[#e2a8aa] font-medium hover:text-white transition-colors cursor-pointer`,children:[(0,R.jsx)(Yu,{className:`w-4 h-4`}),(0,R.jsx)(`span`,{children:`Back to Directory`})]}),(0,R.jsxs)(`div`,{className:`space-y-7 pt-2`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`span`,{className:`text-[10px] tracking-[0.25em] text-white/40 uppercase font-semibold block mb-2.5`,children:`BLAZERS & TAILORING`}),(0,R.jsxs)(`div`,{className:`space-y-2.5 pl-2 text-[15px]`,children:[(0,R.jsx)(`button`,{onClick:()=>s(`sable-blazer`),className:`block text-left text-white/90 hover:text-[#e2a8aa] transition-colors cursor-pointer`,children:`Sable Wool Blazer (Dedicated Page) →`}),(0,R.jsx)(`a`,{href:`#collection-tab`,onClick:()=>t(!1),className:`block text-white/70 hover:text-white transition-colors`,children:`Slouchy Double-Pleat Culottes`})]})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`span`,{className:`text-[10px] tracking-[0.25em] text-white/40 uppercase font-semibold block mb-2.5`,children:`LEATHER & OUTERWEAR`}),(0,R.jsxs)(`div`,{className:`space-y-2.5 pl-2 text-[15px]`,children:[(0,R.jsx)(`button`,{onClick:()=>s(`leather-tee`),className:`block text-left text-white/90 hover:text-[#e2a8aa] transition-colors cursor-pointer`,children:`Architectural Calfskin Tee (Dedicated Page) →`}),(0,R.jsx)(`button`,{onClick:()=>s(`kuro-jacket`),className:`block text-left text-white/90 hover:text-[#e2a8aa] transition-colors cursor-pointer`,children:`Kuro Washed Biker Jacket (Dedicated Page) →`}),(0,R.jsx)(`button`,{onClick:()=>s(`sharp-leather-trench`),className:`block text-left text-white/90 hover:text-[#e2a8aa] transition-colors cursor-pointer`,children:`Sharp Leather Trench (Dedicated Page) →`})]})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`span`,{className:`text-[10px] tracking-[0.25em] text-white/40 uppercase font-semibold block mb-2.5`,children:`TOPS & SECOND SKINS`}),(0,R.jsxs)(`div`,{className:`space-y-2.5 pl-2 text-[15px]`,children:[(0,R.jsx)(`button`,{onClick:()=>s(`calm-pullover`),className:`block text-left text-white/90 hover:text-[#e2a8aa] transition-colors cursor-pointer`,children:`Calm Cashmere Pullover →`}),(0,R.jsx)(`button`,{onClick:()=>s(`merino-turtleneck`),className:`block text-left text-white/90 hover:text-[#e2a8aa] transition-colors cursor-pointer`,children:`Merino Second-Skin Turtleneck →`})]})]})]})]}),a===`material`&&(0,R.jsxs)(`div`,{className:`space-y-6`,children:[(0,R.jsxs)(`button`,{onClick:()=>o(`root`),className:`flex items-center gap-2 text-[12px] uppercase tracking-widest text-[#e2a8aa] font-medium hover:text-white transition-colors cursor-pointer`,children:[(0,R.jsx)(Yu,{className:`w-4 h-4`}),(0,R.jsx)(`span`,{children:`Back to Directory`})]}),(0,R.jsxs)(`div`,{className:`space-y-4 pt-2 text-white/80 text-[13px] leading-relaxed`,children:[(0,R.jsxs)(`div`,{className:`p-4 bg-white/5 rounded-sm border border-white/10 backdrop-blur-sm`,children:[(0,R.jsx)(`div`,{className:`text-[13px] font-semibold text-white tracking-wider uppercase mb-1`,children:`Vegetable-Tanned European Calfskin`}),(0,R.jsx)(`p`,{className:`text-white/60 text-xs leading-relaxed`,children:`Drum-tumbled with organic chestnut and mimosa tannins in Florence. Develops a personal patina that deepens with every wear.`})]}),(0,R.jsxs)(`div`,{className:`p-4 bg-white/5 rounded-sm border border-white/10 backdrop-blur-sm`,children:[(0,R.jsx)(`div`,{className:`text-[13px] font-semibold text-white tracking-wider uppercase mb-1`,children:`380gsm English Wool Crepe`}),(0,R.jsx)(`p`,{className:`text-white/60 text-xs leading-relaxed`,children:`Woven in Yorkshire with high-twist yarn for fluid drape, natural thermal memory, and structural crispness.`})]}),(0,R.jsxs)(`div`,{className:`p-4 bg-white/5 rounded-sm border border-white/10 backdrop-blur-sm`,children:[(0,R.jsx)(`div`,{className:`text-[13px] font-semibold text-white tracking-wider uppercase mb-1`,children:`16-Gauge Australian Merino`}),(0,R.jsx)(`p`,{className:`text-white/60 text-xs leading-relaxed`,children:`Seamless circular knit construction engineered to contour the body with breathable second-skin comfort.`})]})]})]})]}),(0,R.jsxs)(`div`,{className:`px-6 sm:px-8 py-5 border-t border-white/10 bg-black/40 backdrop-blur-md flex items-center justify-between text-[12px] uppercase tracking-wider`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,R.jsx)(rd,{className:`w-4 h-4 text-white/50`}),(0,R.jsxs)(`select`,{value:n,onChange:e=>r(e.target.value),className:`bg-transparent text-white focus:outline-none cursor-pointer`,children:[(0,R.jsx)(`option`,{value:`USD`,className:`bg-neutral-900 text-white`,children:`USD ($)`}),(0,R.jsx)(`option`,{value:`EUR`,className:`bg-neutral-900 text-white`,children:`EUR (€)`}),(0,R.jsx)(`option`,{value:`GBP`,className:`bg-neutral-900 text-white`,children:`GBP (£)`}),(0,R.jsx)(`option`,{value:`JPY`,className:`bg-neutral-900 text-white`,children:`JPY (¥)`})]})]}),(0,R.jsxs)(`button`,{onClick:()=>{t(!1),alert(`Customer Account Portal: VIP members can access tailoring preferences and bespoke orders.`)},className:`flex items-center gap-2 text-white/80 hover:text-white transition-colors font-medium cursor-pointer`,children:[(0,R.jsx)(xd,{className:`w-4 h-4`}),(0,R.jsx)(`span`,{children:`SIGN IN / ACCOUNT`})]})]})]})]})},Jd=()=>{let{isSearchOpen:e,setIsSearchOpen:t,setQuickViewProduct:n,formatPrice:r}=W(),[i,a]=(0,y.useState)(``),o=(0,y.useRef)(null);(0,y.useEffect)(()=>{e?setTimeout(()=>o.current?.focus(),100):a(``)},[e]);let s=i.trim()?U.filter(e=>e.name.toLowerCase().includes(i.toLowerCase())||e.category.toLowerCase().includes(i.toLowerCase())||e.description.toLowerCase().includes(i.toLowerCase())):[];return e?(0,R.jsx)(`div`,{className:`fixed top-0 left-0 right-0 z-50 bg-[#0b0b0b] text-white border-b border-white/10 shadow-2xl transition-all duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]`,children:(0,R.jsxs)(`div`,{className:`max-w-6xl mx-auto px-6 py-6`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-4 border-b border-white/20 pb-3`,children:[(0,R.jsx)(pd,{className:`w-5 h-5 text-white/50`}),(0,R.jsx)(`input`,{ref:o,type:`text`,value:i,onChange:e=>a(e.target.value),placeholder:`Search silhouettes, materials (leather, merino, blazer, dress)...`,className:`w-full bg-transparent text-[16px] text-white placeholder-white/40 focus:outline-none tracking-wide`}),i&&(0,R.jsx)(`button`,{onClick:()=>a(``),className:`text-xs uppercase tracking-wider text-white/50 hover:text-white`,children:`Clear`}),(0,R.jsx)(`button`,{onClick:()=>t(!1),className:`p-1 hover:text-[#8b181b] transition-colors ml-2`,"aria-label":`Close search`,children:(0,R.jsx)(Sd,{className:`w-6 h-6`})})]}),i?(0,R.jsxs)(`div`,{className:`pt-4 max-h-[380px] overflow-y-auto`,children:[(0,R.jsxs)(`div`,{className:`text-[11px] uppercase tracking-[0.2em] text-white/40 mb-3 font-semibold`,children:[s.length,` Results Found`]}),s.length>0?(0,R.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-4`,children:s.map(e=>(0,R.jsxs)(`div`,{onClick:()=>{n(e),t(!1)},className:`flex items-center gap-3 p-2 rounded bg-white/5 hover:bg-white/10 cursor-pointer transition-colors group`,children:[(0,R.jsx)(`img`,{src:e.image,alt:e.name,className:`w-12 h-16 object-cover bg-neutral-900 shrink-0`}),(0,R.jsxs)(`div`,{className:`overflow-hidden`,children:[(0,R.jsx)(`div`,{className:`text-[12px] font-semibold tracking-wider uppercase text-white truncate group-hover:text-[#8b181b] transition-colors`,children:e.name}),(0,R.jsx)(`div`,{className:`text-[11px] text-white/60 tabular-nums`,children:r(e.price)}),(0,R.jsx)(`div`,{className:`text-[9px] uppercase tracking-widest text-[#8b181b]`,children:e.category})]})]},e.id))}):(0,R.jsxs)(`div`,{className:`py-6 text-center text-sm text-white/50`,children:[`No items matching “`,i,`”. Try “blazer”, “leather”, or “merino”.`]})]}):(0,R.jsxs)(`div`,{className:`pt-3 flex flex-wrap items-center gap-2 text-xs text-white/50`,children:[(0,R.jsx)(`span`,{className:`uppercase tracking-wider text-[10px] text-white/30 mr-2`,children:`POPULAR SEARCHES:`}),[`Sable Blazer`,`Leather Tee`,`Merino Turtleneck`,`Kuro Jacket`,`Culottes`].map(e=>(0,R.jsx)(`button`,{onClick:()=>a(e),className:`px-2.5 py-1 bg-white/5 hover:bg-white/10 text-white/80 rounded-full text-[11px] transition-colors`,children:e},e))]})]})}):null},Yd=()=>{let{isBagOpen:e,setIsBagOpen:t,cart:n,cartTotal:r,cartCount:i,updateQuantity:a,removeFromCart:o,freeShippingThreshold:s,freeShippingProgress:c,formatPrice:l}=W(),[u,d]=(0,y.useState)(``),[f,p]=(0,y.useState)(`RESOLVE15`),[m,h]=(0,y.useState)(!1),[g,_]=(0,y.useState)(!1);if(!e)return null;let v=f?r*.15:0,b=Math.max(0,r-v),x=Math.max(0,s-r);return(0,R.jsxs)(`div`,{className:`fixed inset-0 z-50 overflow-hidden`,children:[(0,R.jsx)(`div`,{onClick:()=>t(!1),className:`absolute inset-0 bg-black/60 backdrop-blur-[4px] transition-opacity duration-300`}),(0,R.jsxs)(`div`,{className:`absolute inset-y-0 right-0 w-full max-w-[520px] bg-[#0c0c0c] text-white border-l border-white/10 shadow-2xl flex flex-col justify-between overflow-hidden animate-[themeReveal_0.4s_cubic-bezier(0.22,1,0.36,1)]`,children:[(0,R.jsxs)(`div`,{className:`px-8 py-6 border-b border-white/10 flex items-center justify-between bg-[#0e0e0e]`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h2`,{className:`font-serif text-3xl font-light tracking-wide text-white`,children:`Your BAG`}),(0,R.jsxs)(`div`,{className:`text-[11px] uppercase tracking-[0.2em] text-white/50 mt-0.5`,children:[i,` `,i===1?`PIECE`:`PIECES`,` SELECTED`]})]}),(0,R.jsx)(`button`,{onClick:()=>t(!1),className:`p-1.5 hover:text-[#8b181b] transition-colors`,"aria-label":`Close bag`,children:(0,R.jsx)(Sd,{className:`w-6 h-6`})})]}),(0,R.jsxs)(`div`,{className:`px-8 py-3 bg-[#141414] border-b border-white/5`,children:[(0,R.jsxs)(`div`,{className:`flex items-center justify-between text-xs text-white/70 mb-1.5`,children:[(0,R.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[(0,R.jsx)(bd,{className:`w-3.5 h-3.5 text-[#8b181b]`}),x===0?(0,R.jsx)(`span`,{className:`text-[#e2a8aa] font-medium`,children:`Complimentary Express Shipping Unlocked`}):(0,R.jsxs)(`span`,{children:[`Add `,l(x),` more for Free Express Delivery`]})]}),(0,R.jsxs)(`span`,{className:`tabular-nums font-mono text-[11px]`,children:[Math.round(c),`%`]})]}),(0,R.jsx)(`div`,{className:`w-full h-1 bg-white/10 rounded-full overflow-hidden`,children:(0,R.jsx)(`div`,{className:`h-full bg-[#8b181b] transition-all duration-500 ease-[cubic-bezier(0.22,1,0.36,1)]`,style:{width:`${c}%`}})})]}),(0,R.jsx)(`div`,{className:`flex-1 overflow-y-auto px-8 py-6 space-y-6`,children:g?(0,R.jsxs)(`div`,{className:`py-16 text-center space-y-4`,children:[(0,R.jsx)(`div`,{className:`w-14 h-14 mx-auto rounded-full bg-[#8b181b]/20 text-[#8b181b] flex items-center justify-center`,children:(0,R.jsx)(gd,{className:`w-7 h-7`})}),(0,R.jsx)(`h3`,{className:`font-serif text-2xl text-white`,children:`Order Confirmed`}),(0,R.jsx)(`p`,{className:`text-sm text-white/60 max-w-sm mx-auto`,children:`Thank you for your order. Confirmation #RDN-9842 has been dispatched to your email with concierge tracking.`}),(0,R.jsx)(`button`,{onClick:()=>{_(!1),t(!1)},className:`mt-4 px-6 py-2.5 bg-white text-black text-xs uppercase tracking-widest font-semibold hover:bg-[#8b181b] hover:text-white transition-colors`,children:`Continue Browsing`})]}):n.length===0?(0,R.jsxs)(`div`,{className:`py-20 text-center space-y-4`,children:[(0,R.jsx)(`p`,{className:`text-white/40 uppercase tracking-widest text-xs`,children:`Your shopping bag is empty.`}),(0,R.jsx)(`button`,{onClick:()=>t(!1),className:`px-6 py-3 bg-white text-black text-xs uppercase tracking-[0.2em] font-semibold hover:bg-[#8b181b] hover:text-white transition-colors`,children:`DISCOVER THE COLLECTION`})]}):(0,R.jsx)(`div`,{className:`space-y-5`,children:n.map((e,t)=>(0,R.jsxs)(`div`,{className:`flex gap-4 p-3 bg-white/5 rounded-sm border border-white/5 relative group`,children:[(0,R.jsx)(`img`,{src:e.product.image,alt:e.product.name,className:`w-20 h-28 object-cover bg-neutral-900 shrink-0 rounded-sm`}),(0,R.jsxs)(`div`,{className:`flex-1 flex flex-col justify-between py-0.5`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsxs)(`div`,{className:`flex justify-between items-start gap-2`,children:[(0,R.jsx)(`h4`,{className:`text-[13px] font-semibold uppercase tracking-wider text-white`,children:e.product.name}),(0,R.jsx)(`button`,{onClick:()=>o(e.product.id,e.selectedColor,e.selectedSize),className:`text-white/40 hover:text-white transition-colors p-1`,"aria-label":`Remove item`,children:(0,R.jsx)(yd,{className:`w-3.5 h-3.5`})})]}),(0,R.jsxs)(`div`,{className:`text-xs text-white/50 mt-1 space-x-2`,children:[(0,R.jsxs)(`span`,{children:[`Color: `,e.selectedColor]}),(0,R.jsx)(`span`,{children:`·`}),(0,R.jsxs)(`span`,{children:[`Size: `,e.selectedSize]})]})]}),(0,R.jsxs)(`div`,{className:`flex items-center justify-between mt-3`,children:[(0,R.jsxs)(`div`,{className:`flex items-center border border-white/10 rounded-sm bg-black/40`,children:[(0,R.jsx)(`button`,{onClick:()=>a(e.product.id,e.selectedColor,e.selectedSize,e.quantity-1),className:`p-1 px-2 text-white/60 hover:text-white transition-colors`,"aria-label":`Decrease quantity`,children:(0,R.jsx)(cd,{className:`w-3 h-3`})}),(0,R.jsx)(`span`,{className:`px-2 text-xs font-mono tabular-nums`,children:e.quantity}),(0,R.jsx)(`button`,{onClick:()=>a(e.product.id,e.selectedColor,e.selectedSize,e.quantity+1),className:`p-1 px-2 text-white/60 hover:text-white transition-colors`,"aria-label":`Increase quantity`,children:(0,R.jsx)(ud,{className:`w-3 h-3`})})]}),(0,R.jsx)(`div`,{className:`text-right`,children:(0,R.jsx)(`span`,{className:`text-sm font-semibold tabular-nums text-white`,children:l(e.product.price*e.quantity)})})]})]})]},`${e.product.id}-${e.selectedColor}-${e.selectedSize}-${t}`))})}),n.length>0&&!g&&(0,R.jsxs)(`div`,{className:`p-8 border-t border-white/10 bg-[#090909] space-y-4`,children:[(0,R.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),u.trim().toUpperCase()===`RESOLVE15`||u.trim().toUpperCase()===`MEMBER20`?(p(u.trim().toUpperCase()),d(``)):alert(`Code not recognized. Use "RESOLVE15" for 15% off.`)},className:`flex gap-2`,children:[(0,R.jsx)(`input`,{type:`text`,value:u,onChange:e=>d(e.target.value),placeholder:`PROMO CODE (e.g. RESOLVE15)`,className:`flex-1 bg-white/5 border border-white/10 px-3 py-2 text-xs text-white uppercase placeholder-white/40 focus:outline-none focus:border-white/30`}),(0,R.jsx)(`button`,{type:`submit`,className:`px-4 py-2 bg-white/10 hover:bg-white/20 text-white text-xs uppercase tracking-wider font-medium transition-colors`,children:`Apply`})]}),f&&(0,R.jsxs)(`div`,{className:`flex justify-between items-center text-xs text-[#e2a8aa]`,children:[(0,R.jsxs)(`span`,{children:[`15% Welcome Privilege (`,f,`)`]}),(0,R.jsxs)(`span`,{className:`tabular-nums font-mono`,children:[`-`,l(v)]})]}),(0,R.jsxs)(`div`,{className:`space-y-1.5 pt-2 border-t border-white/10`,children:[(0,R.jsxs)(`div`,{className:`flex justify-between items-center text-xs text-white/60`,children:[(0,R.jsx)(`span`,{children:`Shipping`}),(0,R.jsx)(`span`,{children:x===0?`Complimentary`:`$25.00`})]}),(0,R.jsxs)(`div`,{className:`flex justify-between items-center text-sm font-semibold text-white`,children:[(0,R.jsx)(`span`,{className:`uppercase tracking-wider`,children:`Estimated Total`}),(0,R.jsx)(`span`,{className:`text-lg tabular-nums font-mono`,children:l(b)})]}),(0,R.jsx)(`div`,{className:`text-[10px] text-white/40 text-right`,children:`Duties & taxes calculated at checkout`})]}),(0,R.jsx)(`button`,{onClick:()=>{h(!0),setTimeout(()=>{h(!1),_(!0)},1200)},disabled:m,className:`w-full py-4 bg-white text-black text-xs font-bold uppercase tracking-[0.25em] hover:bg-[#8b181b] hover:text-white transition-all duration-300 flex items-center justify-center gap-2 group cursor-pointer`,children:m?(0,R.jsx)(`span`,{children:`SECURELY PROCESSING...`}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`span`,{children:`PROCEED TO CHECKOUT`}),(0,R.jsx)(Xu,{className:`w-4 h-4 group-hover:translate-x-1 transition-transform`})]})}),(0,R.jsxs)(`div`,{className:`flex items-center justify-center gap-2 text-[10px] text-white/40 tracking-wider`,children:[(0,R.jsx)(md,{className:`w-3.5 h-3.5`}),(0,R.jsx)(`span`,{children:`256-BIT ENCRYPTED CONCIERGE CHECKOUT`})]})]})]})]})},Xd=()=>{let{isDiscoverOpen:e,setIsDiscoverOpen:t,addToCart:n,setQuickViewProduct:r,formatPrice:i}=W(),[a,o]=(0,y.useState)(`NEW`);if(!e)return null;let s=U.filter(e=>e.badge===`NEW`||e.badge===`FEATURED`).slice(0,3),c=U.filter(e=>e.isSale).slice(0,3);return(0,R.jsxs)(`div`,{className:`fixed inset-0 z-50 overflow-hidden`,children:[(0,R.jsx)(`div`,{onClick:()=>t(!1),className:`absolute inset-0 bg-black/60 backdrop-blur-[4px] transition-opacity duration-300`}),(0,R.jsxs)(`div`,{className:`absolute inset-y-0 right-0 w-full max-w-[620px] bg-[#0d0d0d] text-white border-l border-white/10 shadow-2xl flex flex-col justify-between overflow-hidden animate-[themeReveal_0.4s_cubic-bezier(0.22,1,0.36,1)]`,children:[(0,R.jsxs)(`div`,{className:`px-8 py-6 border-b border-white/10 bg-[#0e0e0e]`,children:[(0,R.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,R.jsx)(gd,{className:`w-4 h-4 text-[#8b181b]`}),(0,R.jsx)(`h2`,{className:`text-sm uppercase tracking-[0.25em] font-semibold text-white`,children:`DISCOVER RESOLVE`})]}),(0,R.jsx)(`button`,{onClick:()=>t(!1),className:`p-1 hover:text-[#8b181b] transition-colors`,"aria-label":`Close discover drawer`,children:(0,R.jsx)(Sd,{className:`w-5 h-5`})})]}),(0,R.jsxs)(`div`,{className:`flex items-center gap-6 mt-6 border-b border-white/10 text-xs font-semibold uppercase tracking-[0.2em]`,children:[(0,R.jsxs)(`button`,{onClick:()=>o(`NEW`),className:`pb-2 transition-all relative ${a===`NEW`?`text-white`:`text-white/40 hover:text-white/70`}`,children:[`NEW & NOW`,a===`NEW`&&(0,R.jsx)(`span`,{className:`absolute bottom-0 left-0 right-0 h-[2px] bg-[#8b181b]`})]}),(0,R.jsxs)(`button`,{onClick:()=>o(`OFFERS`),className:`pb-2 transition-all relative ${a===`OFFERS`?`text-white`:`text-white/40 hover:text-white/70`}`,children:[`PRIVILEGED OFFERS`,a===`OFFERS`&&(0,R.jsx)(`span`,{className:`absolute bottom-0 left-0 right-0 h-[2px] bg-[#8b181b]`})]}),(0,R.jsxs)(`button`,{onClick:()=>o(`MORE`),className:`pb-2 transition-all relative ${a===`MORE`?`text-white`:`text-white/40 hover:text-white/70`}`,children:[`EDITORIAL NOTES`,a===`MORE`&&(0,R.jsx)(`span`,{className:`absolute bottom-0 left-0 right-0 h-[2px] bg-[#8b181b]`})]})]})]}),(0,R.jsxs)(`div`,{className:`flex-1 overflow-y-auto px-8 py-6 space-y-6`,children:[a===`NEW`&&(0,R.jsxs)(`div`,{className:`space-y-6`,children:[(0,R.jsxs)(`div`,{className:`p-6 bg-gradient-to-br from-[#1a0f11] via-[#121212] to-black border border-[#8b181b]/30 rounded-sm`,children:[(0,R.jsx)(`span`,{className:`text-[10px] tracking-[0.3em] uppercase text-[#e2a8aa] font-semibold block mb-1`,children:`NEW SEASON EDIT`}),(0,R.jsx)(`h3`,{className:`font-serif text-2xl text-white font-light mb-2`,children:`Autumn / Winter 26 Drop 02`}),(0,R.jsx)(`p`,{className:`text-xs text-white/60 leading-relaxed mb-4`,children:`Sculptural outerwear and bonded French calfskin essentials crafted for transitional city climates.`}),(0,R.jsxs)(`a`,{href:`#shop`,onClick:()=>t(!1),className:`inline-flex items-center gap-1.5 text-xs uppercase tracking-widest text-white hover:text-[#8b181b] font-medium`,children:[(0,R.jsx)(`span`,{children:`Explore Drop 02`}),(0,R.jsx)(Zu,{className:`w-3.5 h-3.5`})]})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`span`,{className:`text-[11px] uppercase tracking-[0.2em] text-white/40 font-semibold block mb-4`,children:`CURATED NEW RELEASES`}),(0,R.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 gap-4`,children:s.map(e=>(0,R.jsxs)(`div`,{className:`bg-white/5 p-3 rounded-sm border border-white/5 hover:border-white/20 transition-all flex flex-col justify-between`,children:[(0,R.jsxs)(`div`,{onClick:()=>{r(e),t(!1)},className:`cursor-pointer`,children:[(0,R.jsx)(`div`,{className:`aspect-[3/4] overflow-hidden rounded-sm mb-2.5`,children:(0,R.jsx)(`img`,{src:e.image,alt:e.name,className:`w-full h-full object-cover hover:scale-105 transition-transform duration-500`})}),(0,R.jsx)(`h4`,{className:`text-xs font-semibold uppercase tracking-wider text-white truncate`,children:e.name}),(0,R.jsx)(`div`,{className:`text-xs text-white/60 tabular-nums mt-0.5`,children:i(e.price)})]}),(0,R.jsxs)(`button`,{onClick:t=>n(e,{event:t}),className:`mt-3 w-full py-2 bg-white/10 hover:bg-[#8b181b] text-white text-[11px] uppercase tracking-wider font-semibold transition-colors flex items-center justify-center gap-1.5`,children:[(0,R.jsx)(ud,{className:`w-3.5 h-3.5`}),(0,R.jsx)(`span`,{children:`QUICK ADD`})]})]},e.id))})]})]}),a===`OFFERS`&&(0,R.jsxs)(`div`,{className:`space-y-6`,children:[(0,R.jsxs)(`div`,{className:`p-4 bg-white/5 border border-white/10 rounded-sm`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2 text-[#e2a8aa] text-xs font-semibold uppercase tracking-widest mb-1`,children:[(0,R.jsx)(vd,{className:`w-3.5 h-3.5`}),(0,R.jsx)(`span`,{children:`WELCOME CODE`})]}),(0,R.jsx)(`div`,{className:`text-lg font-mono tracking-wider font-bold text-white`,children:`RESOLVE15`}),(0,R.jsx)(`p`,{className:`text-xs text-white/60 mt-1`,children:`15% privilege discount on all non-archive orders over $100.`})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`span`,{className:`text-[11px] uppercase tracking-[0.2em] text-white/40 font-semibold block mb-4`,children:`SEASONAL SALE SELECTIONS`}),(0,R.jsx)(`div`,{className:`space-y-3`,children:c.map(e=>(0,R.jsxs)(`div`,{className:`flex items-center gap-3 p-3 bg-white/5 rounded-sm border border-white/5 hover:border-white/20 transition-all justify-between`,children:[(0,R.jsx)(`img`,{src:e.image,alt:e.name,className:`w-16 h-20 object-cover bg-neutral-900 rounded-sm shrink-0`}),(0,R.jsxs)(`div`,{className:`flex-1 min-w-0 px-2`,children:[(0,R.jsx)(`div`,{className:`text-[10px] uppercase tracking-widest text-[#8b181b] font-bold`,children:e.badge||`SALE`}),(0,R.jsx)(`h4`,{className:`text-xs font-semibold uppercase tracking-wider text-white truncate`,children:e.name}),(0,R.jsxs)(`div`,{className:`flex items-center gap-2 text-xs mt-1`,children:[(0,R.jsx)(`span`,{className:`text-white tabular-nums font-semibold`,children:i(e.price)}),e.originalPrice&&(0,R.jsx)(`span`,{className:`text-white/40 line-through text-[11px] tabular-nums`,children:i(e.originalPrice)})]})]}),(0,R.jsx)(`button`,{onClick:t=>n(e,{event:t}),className:`p-2 bg-white/10 hover:bg-[#8b181b] text-white rounded-sm transition-colors shrink-0`,title:`Add to Cart`,children:(0,R.jsx)(ud,{className:`w-4 h-4`})})]},e.id))})]})]}),a===`MORE`&&(0,R.jsx)(`div`,{className:`space-y-4 text-xs text-white/70 leading-relaxed`,children:(0,R.jsxs)(`div`,{className:`p-4 bg-white/5 rounded-sm border border-white/5 space-y-2`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.25em] text-[#8b181b] font-bold`,children:`DIRECTOR NOTE`}),(0,R.jsx)(`h4`,{className:`text-sm font-semibold uppercase text-white`,children:`THE GEOMETRY OF SHADOW`}),(0,R.jsx)(`p`,{children:`Autumn / Winter 26 rejects frivolous ornamentation in favor of tectonic cuts and raw tactile honesty. Each silhouette is tested across 40 hours of real movement.`})]})})]})]})]})},Zd=()=>{let{isPromoOpen:e,setIsPromoOpen:t}=W(),[n,r]=(0,y.useState)(``),[i,a]=(0,y.useState)(!1),[o,s]=(0,y.useState)(!1);return(0,R.jsxs)(R.Fragment,{children:[!e&&(0,R.jsxs)(`button`,{onClick:()=>t(!0),className:`fixed left-0 top-1/2 -translate-y-1/2 z-40 bg-[#0c0c0c] text-white hover:text-[#e2a8aa] border border-l-0 border-white/20 py-3.5 px-2 text-[10px] uppercase font-bold tracking-[0.25em] shadow-xl transition-all duration-300 hover:pl-3 group flex items-center gap-1.5 [writing-mode:vertical-rl] rotate-180 cursor-pointer`,"aria-label":`Get 15% off coupon`,children:[(0,R.jsx)(vd,{className:`w-3.5 h-3.5 text-[#8b181b] rotate-90`}),(0,R.jsx)(`span`,{children:`GET 15% OFF`})]}),e&&(0,R.jsxs)(`div`,{className:`fixed inset-0 z-50 pointer-events-none flex items-end justify-end p-4 md:p-6`,children:[(0,R.jsx)(`div`,{onClick:()=>t(!1),className:`fixed inset-0 bg-black/40 backdrop-blur-[3px] pointer-events-auto transition-opacity duration-300`}),(0,R.jsxs)(`div`,{className:`relative pointer-events-auto w-full max-w-[394px] bg-[#111111] text-white border border-white/15 p-6 shadow-2xl rounded-sm transition-all duration-500 ease-[cubic-bezier(0.7,0,0.3,1)] scale-100 opacity-100`,children:[(0,R.jsx)(`button`,{onClick:()=>t(!1),className:`absolute top-4 right-4 p-1 text-white/50 hover:text-white transition-colors`,"aria-label":`Close promotion`,children:(0,R.jsx)(Sd,{className:`w-4 h-4`})}),(0,R.jsxs)(`div`,{className:`pr-6`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.25em] text-[#8b181b] font-bold block mb-1`,children:`WELCOME PRIVILEGE`}),(0,R.jsx)(`h3`,{className:`font-serif text-2xl font-light tracking-wide text-white mb-1.5`,children:`Take 15% Off Your First Order`}),(0,R.jsx)(`p`,{className:`text-xs text-white/60 leading-relaxed mb-4`,children:`Subscribe to receive private salon invitations, archive drops, and an immediate 15% reduction code.`})]}),i?(0,R.jsxs)(`div`,{className:`p-3 bg-white/5 border border-white/10 rounded-sm space-y-2`,children:[(0,R.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,R.jsx)(`span`,{className:`text-xs text-white/70`,children:`Your Privilege Code:`}),(0,R.jsx)(`span`,{className:`text-xs font-mono font-bold text-white tracking-widest`,children:`RESOLVE15`})]}),(0,R.jsx)(`button`,{onClick:()=>{navigator.clipboard?.writeText(`RESOLVE15`),s(!0),setTimeout(()=>s(!1),2e3)},className:`w-full py-2 bg-white text-black text-xs font-bold uppercase tracking-wider hover:bg-[#8b181b] hover:text-white transition-colors flex items-center justify-center gap-1.5`,children:o?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(K,{className:`w-3.5 h-3.5`}),(0,R.jsx)(`span`,{children:`COPIED TO CLIPBOARD`})]}):(0,R.jsx)(`span`,{children:`COPY CODE & APPLY`})})]}):(0,R.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),n.trim()&&a(!0)},className:`flex gap-2`,children:[(0,R.jsx)(`input`,{type:`email`,required:!0,value:n,onChange:e=>r(e.target.value),placeholder:`Enter your email address`,className:`flex-1 bg-white/5 border border-white/15 px-3 py-2 text-xs text-white placeholder-white/40 focus:outline-none focus:border-[#8b181b]`}),(0,R.jsx)(`button`,{type:`submit`,className:`px-4 py-2 bg-white text-black hover:bg-[#8b181b] hover:text-white text-xs font-bold uppercase tracking-wider transition-colors flex items-center justify-center`,children:(0,R.jsx)(Xu,{className:`w-4 h-4`})})]})]})]})]})},Qd=()=>{let{activeStoryIndex:e,setActiveStoryIndex:t,addToCart:n,setQuickViewProduct:r,formatPrice:i}=W(),[a,o]=(0,y.useState)(0),s=e===null?null:Fu[e],c=s?.slides[a];if((0,y.useEffect)(()=>{o(0)},[e]),(0,y.useEffect)(()=>{if(e===null||!s)return;let n=setTimeout(()=>{a<s.slides.length-1?o(e=>e+1):e<Fu.length-1?(t(e+1),o(0)):t(null)},5e3);return()=>clearTimeout(n)},[e,a,s,t]),e===null||!s||!c)return null;let l=()=>{a<s.slides.length-1?o(a+1):e<Fu.length-1?(t(e+1),o(0)):t(null)},u=()=>{a>0?o(a-1):e>0&&(t(e-1),o(0))},d=c.productTag?U.find(e=>e.id===c.productTag?.productId):null;return(0,R.jsxs)(`div`,{className:`fixed inset-0 z-50 bg-black/95 flex items-center justify-center p-0 sm:p-4 backdrop-blur-md`,children:[(0,R.jsx)(`button`,{onClick:()=>t(null),className:`absolute top-6 right-6 z-50 text-white/70 hover:text-white p-2`,"aria-label":`Close story viewer`,children:(0,R.jsx)(Sd,{className:`w-7 h-7`})}),(0,R.jsx)(`button`,{onClick:u,className:`hidden sm:flex absolute left-8 top-1/2 -translate-y-1/2 z-50 w-12 h-12 rounded-full bg-white/10 hover:bg-white/20 text-white items-center justify-center transition-colors`,"aria-label":`Previous story`,children:(0,R.jsx)(J,{className:`w-6 h-6`})}),(0,R.jsx)(`button`,{onClick:l,className:`hidden sm:flex absolute right-8 top-1/2 -translate-y-1/2 z-50 w-12 h-12 rounded-full bg-white/10 hover:bg-white/20 text-white items-center justify-center transition-colors`,"aria-label":`Next story`,children:(0,R.jsx)(Y,{className:`w-6 h-6`})}),(0,R.jsxs)(`div`,{className:`relative w-full max-w-[420px] h-full sm:h-[88vh] max-h-[820px] bg-neutral-900 overflow-hidden sm:rounded-xl shadow-2xl flex flex-col justify-between`,children:[(0,R.jsx)(`img`,{src:c.image,alt:c.title,className:`absolute inset-0 w-full h-full object-cover`}),(0,R.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/90 via-black/20 to-black/60 pointer-events-none`}),(0,R.jsxs)(`div`,{className:`relative z-20 p-4 space-y-3`,children:[(0,R.jsx)(`div`,{className:`flex gap-1.5`,children:s.slides.map((e,t)=>(0,R.jsx)(`div`,{className:`h-1 flex-1 bg-white/30 rounded-full overflow-hidden`,children:(0,R.jsx)(`div`,{className:`h-full bg-white transition-all duration-300 ${t<a?`w-full`:t===a?`w-full animate-[progress_5s_linear]`:`w-0`}`})},e.id))}),(0,R.jsxs)(`div`,{className:`flex items-center justify-between text-white`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,R.jsx)(`span`,{className:`w-2 h-2 rounded-full bg-[#8b181b]`}),(0,R.jsx)(`span`,{className:`text-xs uppercase font-semibold tracking-widest`,children:s.title})]}),(0,R.jsxs)(`span`,{className:`text-[10px] text-white/60 tracking-wider`,children:[a+1,` / `,s.slides.length]})]})]}),(0,R.jsxs)(`div`,{className:`absolute inset-0 z-10 flex`,children:[(0,R.jsx)(`div`,{onClick:u,className:`w-1/3 h-full cursor-pointer`}),(0,R.jsx)(`div`,{onClick:l,className:`w-2/3 h-full cursor-pointer`})]}),(0,R.jsxs)(`div`,{className:`relative z-20 p-6 space-y-4`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h3`,{className:`text-lg font-bold tracking-wider uppercase text-white mb-1`,children:c.title}),(0,R.jsx)(`p`,{className:`text-xs text-white/80 leading-relaxed max-w-xs`,children:c.subtitle})]}),d&&(0,R.jsxs)(`div`,{className:`bg-black/75 backdrop-blur-md p-3 rounded-lg border border-white/20 flex items-center justify-between gap-3`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsx)(`img`,{src:d.image,alt:d.name,className:`w-10 h-14 object-cover rounded bg-neutral-800`}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h4`,{className:`text-xs font-semibold uppercase text-white truncate max-w-[150px]`,children:d.name}),(0,R.jsx)(`div`,{className:`text-xs text-white/70 tabular-nums`,children:i(d.price)})]})]}),(0,R.jsxs)(`button`,{onClick:e=>{e.stopPropagation(),n(d,{event:e})},className:`px-3 py-2 bg-white text-black hover:bg-[#8b181b] hover:text-white text-[11px] font-bold uppercase tracking-wider rounded transition-colors flex items-center gap-1.5 shrink-0`,children:[(0,R.jsx)(hd,{className:`w-3.5 h-3.5`}),(0,R.jsx)(`span`,{children:`BUY`})]})]})]})]})]})},$d=()=>{let{quickViewProduct:e,setQuickViewProduct:t,addToCart:n,formatPrice:r,setIsBagOpen:i}=W(),[a,o]=(0,y.useState)(``),[s,c]=(0,y.useState)(``),[l,u]=(0,y.useState)(1),[d,f]=(0,y.useState)(``);if(!e)return null;let p=a||e.colors[0]?.name||`Standard`,m=s||e.sizes[0]||`Standard`,h=d||e.image;return(0,R.jsxs)(`div`,{className:`fixed inset-0 z-50 overflow-y-auto bg-black/75 backdrop-blur-[6px] flex items-center justify-center p-4 sm:p-6 animate-[themeReveal_0.3s_cubic-bezier(0.22,1,0.36,1)]`,children:[(0,R.jsx)(`div`,{onClick:()=>t(null),className:`fixed inset-0`}),(0,R.jsxs)(`div`,{className:`relative w-full max-w-3xl bg-[#0f0f0f] text-white border border-white/15 rounded-sm shadow-2xl overflow-hidden z-10 flex flex-col md:flex-row`,children:[(0,R.jsx)(`button`,{onClick:()=>t(null),className:`absolute top-4 right-4 z-20 p-2 text-white/50 hover:text-white bg-black/40 rounded-full transition-colors`,"aria-label":`Close modal`,children:(0,R.jsx)(Sd,{className:`w-5 h-5`})}),(0,R.jsxs)(`div`,{className:`md:w-1/2 bg-neutral-900 relative aspect-[3/4] md:aspect-auto`,children:[(0,R.jsx)(`img`,{src:h,alt:e.name,className:`w-full h-full object-cover`}),e.badge&&(0,R.jsx)(`span`,{className:`absolute top-4 left-4 px-2.5 py-1 bg-[#8b181b] text-white text-[10px] font-bold uppercase tracking-widest`,children:e.badge}),(0,R.jsxs)(`div`,{className:`absolute bottom-4 left-4 flex gap-2`,children:[(0,R.jsx)(`button`,{onClick:()=>f(e.image),className:`w-10 h-14 rounded-sm overflow-hidden border-2 transition-all ${h===e.image?`border-white`:`border-white/30 opacity-70`}`,children:(0,R.jsx)(`img`,{src:e.image,alt:`Angle 1`,className:`w-full h-full object-cover`})}),e.hoverImage&&(0,R.jsx)(`button`,{onClick:()=>f(e.hoverImage),className:`w-10 h-14 rounded-sm overflow-hidden border-2 transition-all ${h===e.hoverImage?`border-white`:`border-white/30 opacity-70`}`,children:(0,R.jsx)(`img`,{src:e.hoverImage,alt:`Angle 2`,className:`w-full h-full object-cover`})})]})]}),(0,R.jsxs)(`div`,{className:`md:w-1/2 p-6 md:p-8 flex flex-col justify-between space-y-6`,children:[(0,R.jsxs)(`div`,{className:`space-y-4`,children:[(0,R.jsxs)(`div`,{className:`space-y-1`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.25em] text-[#8b181b] font-bold`,children:e.category}),(0,R.jsx)(`h3`,{className:`font-serif text-2xl font-light tracking-wide text-white`,children:e.name}),(0,R.jsxs)(`div`,{className:`flex items-center gap-3 pt-1`,children:[(0,R.jsx)(`span`,{className:`text-lg font-bold tabular-nums`,children:r(e.price)}),e.originalPrice&&(0,R.jsx)(`span`,{className:`text-white/40 line-through text-sm tabular-nums`,children:r(e.originalPrice)})]})]}),(0,R.jsx)(`p`,{className:`text-xs text-white/70 leading-relaxed`,children:e.description}),(0,R.jsxs)(`div`,{className:`space-y-2`,children:[(0,R.jsxs)(`div`,{className:`text-[11px] uppercase tracking-wider text-white/60`,children:[`COLOR: `,(0,R.jsx)(`span`,{className:`text-white font-medium`,children:p})]}),(0,R.jsx)(`div`,{className:`flex gap-2`,children:e.colors.map(e=>(0,R.jsx)(`button`,{onClick:()=>o(e.name),className:`w-7 h-7 rounded-full flex items-center justify-center border-2 transition-all ${p===e.name?`border-white scale-110`:`border-transparent opacity-80`}`,style:{backgroundColor:e.hex},title:e.name,children:p===e.name&&(0,R.jsx)(K,{className:`w-3.5 h-3.5 text-white mix-blend-difference`})},e.name))})]}),(0,R.jsxs)(`div`,{className:`space-y-2`,children:[(0,R.jsxs)(`div`,{className:`text-[11px] uppercase tracking-wider text-white/60`,children:[`SELECT SIZE: `,(0,R.jsx)(`span`,{className:`text-white font-medium`,children:m})]}),(0,R.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:e.sizes.map(e=>(0,R.jsx)(`button`,{onClick:()=>c(e),className:`px-3 py-1.5 text-xs font-mono font-medium rounded-sm border transition-all ${m===e?`bg-white text-black border-white`:`bg-white/5 text-white/80 border-white/10 hover:border-white/30`}`,children:e},e))})]})]}),(0,R.jsxs)(`div`,{className:`space-y-3 pt-4 border-t border-white/10`,children:[(0,R.jsxs)(`button`,{onClick:r=>{n(e,{color:p,size:m,count:l,event:r}),t(null),setTimeout(()=>i(!0),600)},className:`w-full py-3.5 bg-white text-black hover:bg-[#8b181b] hover:text-white text-xs font-bold uppercase tracking-[0.2em] transition-all flex items-center justify-center gap-2 group cursor-pointer`,children:[(0,R.jsx)(hd,{className:`w-4 h-4`}),(0,R.jsxs)(`span`,{children:[`ADD TO BAG · `,r(e.price*l)]})]}),(0,R.jsxs)(`div`,{className:`flex items-center justify-center gap-2 text-[10px] text-white/40 tracking-wider`,children:[(0,R.jsx)(md,{className:`w-3.5 h-3.5`}),(0,R.jsx)(`span`,{children:`COMPLIMENTARY SHIPPING & 30-DAY BESPOKE RETURNS`})]})]})]})]})]})},ef=()=>{let{flyState:e}=W(),[t,n]=(0,y.useState)({x:0,y:0});if((0,y.useEffect)(()=>{if(e.active){let e=document.getElementById(`header-bag-btn`);if(e){let t=e.getBoundingClientRect();n({x:t.left+t.width/2,y:t.top+t.height/2})}}},[e.active]),!e.active)return null;let r=t.x-e.startX,i=t.y-e.startY;return(0,R.jsx)(`div`,{className:`flying-ghost-item`,style:{left:`${e.startX}px`,top:`${e.startY}px`,"--target-x":`${r}px`,"--target-y":`${i}px`},children:(0,R.jsx)(`div`,{className:`w-8 h-8 rounded-full bg-[#8b181b] border-2 border-white shadow-[0_0_15px_rgba(139,24,27,0.8)] flex items-center justify-center text-white text-xs font-bold`,children:`+1`})})},tf=()=>{let{activeProductPage:e,setActiveProductPage:t,addToCart:n,formatPrice:r,setIsBagOpen:i,setQuickViewProduct:a}=W(),o=e||U[0],[s,c]=(0,y.useState)(o.image),[l,u]=(0,y.useState)(o.colors[0]?.name||`Standard`),[d,f]=(0,y.useState)(o.sizes[1]||o.sizes[0]||`M`),[p,m]=(0,y.useState)(1),[h,g]=(0,y.useState)(`details`),[_,v]=(0,y.useState)(!1);if(!e)return null;let b=[o.image,o.hoverImage,`/assets/generated/media-2a9e0f623f.webp`,`/assets/generated/media-216610d365.webp`].filter(Boolean),x=U.filter(e=>e.id!==o.id).slice(0,3),S=e=>{n(o,{color:l,size:d,count:p,event:e}),setTimeout(()=>i(!0),600)};return(0,R.jsxs)(`div`,{className:`min-h-screen bg-white text-[#111111] pt-24 pb-20 animate-[themeReveal_0.4s_cubic-bezier(0.22,1,0.36,1)]`,children:[(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto px-6 sm:px-10 py-4 flex items-center justify-between border-b border-black/5 text-xs`,children:[(0,R.jsxs)(`button`,{onClick:()=>t(null),className:`inline-flex items-center gap-2 text-black hover:text-[#8b181b] font-bold tracking-widest uppercase transition-colors cursor-pointer`,children:[(0,R.jsx)(Yu,{className:`w-4 h-4`}),(0,R.jsx)(`span`,{children:`RETURN TO FLAGSHIP STOREFRONT`})]}),(0,R.jsxs)(`div`,{className:`hidden sm:flex items-center gap-2 text-neutral-400 font-mono text-[11px]`,children:[(0,R.jsx)(`span`,{children:`HOME`}),(0,R.jsx)(`span`,{children:`/`}),(0,R.jsx)(`span`,{children:`COLLECTIONS`}),(0,R.jsx)(`span`,{children:`/`}),(0,R.jsx)(`span`,{className:`uppercase`,children:o.category}),(0,R.jsx)(`span`,{children:`/`}),(0,R.jsx)(`span`,{className:`text-black font-semibold truncate max-w-[140px]`,children:o.name})]})]}),(0,R.jsxs)(`div`,{className:`max-w-[1440px] mx-auto px-6 sm:px-10 py-10`,children:[(0,R.jsxs)(`div`,{className:`grid grid-cols-1 lg:grid-cols-12 gap-10 sm:gap-14 items-start`,children:[(0,R.jsxs)(`div`,{className:`lg:col-span-7 space-y-4`,children:[(0,R.jsxs)(`div`,{className:`relative aspect-[3/4] w-full rounded-sm overflow-hidden bg-neutral-100 border border-black/5 shadow-sm group`,children:[(0,R.jsx)(`img`,{src:s,alt:o.name,className:`w-full h-full object-cover transition-transform duration-700 ease-out group-hover:scale-105`}),o.badge&&(0,R.jsx)(`span`,{className:`absolute top-4 left-4 px-3 py-1 bg-black text-white text-[10px] font-bold uppercase tracking-widest shadow`,children:o.badge}),(0,R.jsx)(`button`,{onClick:()=>v(!_),className:`absolute top-4 right-4 w-9 h-9 rounded-full bg-white/90 backdrop-blur-sm flex items-center justify-center transition-all shadow ${_?`text-[#8b181b]`:`text-neutral-500 hover:text-black`}`,"aria-label":`Wishlist`,children:(0,R.jsx)(ad,{className:`w-4 h-4 ${_?`fill-current`:``}`})})]}),(0,R.jsx)(`div`,{className:`grid grid-cols-4 gap-3`,children:b.map((e,t)=>(0,R.jsx)(`button`,{onClick:()=>c(e),className:`aspect-[3/4] rounded-sm overflow-hidden border-2 transition-all cursor-pointer ${s===e?`border-black ring-2 ring-black/10 scale-[1.02]`:`border-transparent opacity-60 hover:opacity-100`}`,children:(0,R.jsx)(`img`,{src:e,alt:`Angle ${t+1}`,className:`w-full h-full object-cover`})},t))}),(0,R.jsxs)(`div`,{className:`p-4 bg-neutral-50 rounded-sm border border-black/5 flex items-center justify-between text-xs text-neutral-600`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,R.jsx)(fd,{className:`w-4 h-4 text-[#8b181b]`}),(0,R.jsxs)(`span`,{children:[(0,R.jsx)(`strong`,{children:`MODEL MEASUREMENTS:`}),` 182cm / 6'0" · Chest 96cm · Wearing Size `,o.sizes[1]||`M`]})]}),(0,R.jsx)(`span`,{className:`hidden sm:inline font-mono text-[11px] text-neutral-400`,children:`TRUE TO EUROPEAN FIT`})]})]}),(0,R.jsxs)(`div`,{className:`lg:col-span-5 space-y-6 lg:sticky lg:top-24`,children:[(0,R.jsxs)(`div`,{className:`space-y-2 border-b border-black/10 pb-6`,children:[(0,R.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,R.jsx)(`span`,{className:`text-[11px] uppercase tracking-[0.25em] text-[#8b181b] font-bold`,children:`AUTUMN / WINTER 26 CAPSULE`}),(0,R.jsxs)(`div`,{className:`flex items-center gap-1 text-[#8b181b] text-xs`,children:[[...[,,,,,]].map((e,t)=>(0,R.jsx)(_d,{className:`w-3.5 h-3.5 fill-current`},t)),(0,R.jsx)(`span`,{className:`text-neutral-400 ml-1 text-[11px]`,children:`(24 reviews)`})]})]}),(0,R.jsx)(`h1`,{className:`text-2xl sm:text-4xl font-bold uppercase tracking-wider text-black`,children:o.name}),(0,R.jsxs)(`div`,{className:`flex items-baseline gap-3 pt-1`,children:[(0,R.jsx)(`span`,{className:`text-2xl font-bold tabular-nums font-mono text-black`,children:r(o.price)}),o.originalPrice&&(0,R.jsx)(`span`,{className:`text-sm line-through text-neutral-400 tabular-nums font-mono`,children:r(o.originalPrice)}),o.isSale&&(0,R.jsx)(`span`,{className:`text-xs font-bold text-[#8b181b] uppercase tracking-wider`,children:`ARCHIVE PRIVILEGE`})]})]}),(0,R.jsx)(`p`,{className:`text-xs sm:text-sm text-neutral-600 font-light leading-relaxed`,children:o.description}),(0,R.jsxs)(`div`,{className:`space-y-2.5`,children:[(0,R.jsxs)(`div`,{className:`flex justify-between items-center text-xs uppercase tracking-wider text-neutral-700`,children:[(0,R.jsxs)(`span`,{children:[`SHADE: `,(0,R.jsx)(`strong`,{className:`text-black`,children:l})]}),(0,R.jsxs)(`span`,{className:`text-[11px] text-neutral-400`,children:[o.colors.length,` ATELIER SHADES`]})]}),(0,R.jsx)(`div`,{className:`flex gap-3`,children:o.colors.map(e=>(0,R.jsx)(`button`,{onClick:()=>u(e.name),className:`w-8 h-8 rounded-full flex items-center justify-center border-2 transition-all cursor-pointer ${l===e.name?`border-black scale-110 shadow`:`border-transparent opacity-80 hover:opacity-100`}`,style:{backgroundColor:e.hex},title:e.name,children:l===e.name&&(0,R.jsx)(K,{className:`w-4 h-4 text-white mix-blend-difference`})},e.name))})]}),(0,R.jsxs)(`div`,{className:`space-y-2.5`,children:[(0,R.jsxs)(`div`,{className:`flex justify-between items-center text-xs uppercase tracking-wider text-neutral-700`,children:[(0,R.jsxs)(`span`,{children:[`SIZE: `,(0,R.jsx)(`strong`,{className:`text-black`,children:d})]}),(0,R.jsx)(`button`,{type:`button`,onClick:()=>alert(`Sizing Guide: Cut true to European tailoring specifications. If in between sizes, size up for a relaxed drape.`),className:`text-[11px] text-[#8b181b] hover:underline uppercase font-semibold cursor-pointer`,children:`BESPOKE FIT GUIDE`})]}),(0,R.jsx)(`div`,{className:`grid grid-cols-4 sm:grid-cols-5 gap-2`,children:o.sizes.map(e=>(0,R.jsx)(`button`,{onClick:()=>f(e),className:`py-2.5 text-xs font-mono font-bold rounded-sm border transition-all cursor-pointer ${d===e?`bg-black text-white border-black shadow`:`bg-neutral-50 text-neutral-800 border-neutral-200 hover:border-black`}`,children:e},e))}),(0,R.jsxs)(`div`,{className:`text-[11px] text-neutral-500 flex items-center gap-1.5 pt-1`,children:[(0,R.jsx)(`span`,{className:`w-2 h-2 rounded-full bg-emerald-500`}),(0,R.jsx)(`span`,{children:`Limited batch inventory in stock. Dispatches in 24 hours.`})]})]}),(0,R.jsxs)(`div`,{className:`space-y-3 pt-4 border-t border-black/10`,children:[(0,R.jsxs)(`button`,{onClick:S,className:`w-full py-4 bg-black text-white hover:bg-[#8b181b] text-xs font-bold uppercase tracking-[0.22em] transition-all duration-300 flex items-center justify-center gap-2 group shadow-xl cursor-pointer`,children:[(0,R.jsx)(hd,{className:`w-4 h-4`}),(0,R.jsxs)(`span`,{children:[`ADD TO BAG · `,r(o.price*p)]})]}),(0,R.jsx)(`button`,{onClick:()=>{n(o,{color:l,size:d,count:p}),i(!0)},className:`w-full py-3.5 bg-neutral-100 hover:bg-neutral-200 text-black text-xs font-bold uppercase tracking-[0.2em] transition-colors rounded-sm cursor-pointer`,children:`EXPRESS CONCIERGE CHECKOUT`})]}),(0,R.jsxs)(`div`,{className:`space-y-2 pt-2 border-t border-black/10`,children:[(0,R.jsxs)(`div`,{className:`border border-black/10 rounded-sm overflow-hidden`,children:[(0,R.jsxs)(`button`,{onClick:()=>g(h===`details`?null:`details`),className:`w-full px-4 py-3 text-left text-xs font-bold uppercase tracking-wider flex justify-between items-center cursor-pointer`,children:[(0,R.jsx)(`span`,{children:`FABRICATION & PROVENANCE`}),(0,R.jsx)(q,{className:`w-4 h-4 transition-transform ${h===`details`?`rotate-180`:``}`})]}),h===`details`&&(0,R.jsxs)(`div`,{className:`px-4 pb-4 text-xs text-neutral-600 space-y-1.5 border-t border-neutral-100 pt-2 font-light`,children:[o.details?.map((e,t)=>(0,R.jsxs)(`div`,{className:`flex items-start gap-2`,children:[(0,R.jsx)(`span`,{className:`text-[#8b181b]`,children:`✦`}),(0,R.jsx)(`span`,{children:e})]},t)),(0,R.jsx)(`div`,{className:`pt-2 text-neutral-500`,children:`Finished with custom engraved ruthenium hardware. Numbered certificate of craft included.`})]})]}),(0,R.jsxs)(`div`,{className:`border border-black/10 rounded-sm overflow-hidden`,children:[(0,R.jsxs)(`button`,{onClick:()=>g(h===`shipping`?null:`shipping`),className:`w-full px-4 py-3 text-left text-xs font-bold uppercase tracking-wider flex justify-between items-center cursor-pointer`,children:[(0,R.jsx)(`span`,{children:`SHIPPING, DUTIES & RETURNS`}),(0,R.jsx)(q,{className:`w-4 h-4 transition-transform ${h===`shipping`?`rotate-180`:``}`})]}),h===`shipping`&&(0,R.jsxs)(`div`,{className:`px-4 pb-4 text-xs text-neutral-600 space-y-2 border-t border-neutral-100 pt-2 font-light`,children:[(0,R.jsx)(`p`,{children:`Complimentary express worldwide shipping on orders exceeding $150.`}),(0,R.jsx)(`p`,{children:`All import duties, local taxes, and courier fees fully absorbed by RESOLVE.`}),(0,R.jsx)(`p`,{children:`30-day effortless return window with complimentary home courier pickup.`})]})]})]}),(0,R.jsxs)(`div`,{className:`p-3 bg-neutral-50 rounded-sm border border-black/5 flex items-center gap-3 text-[11px] text-neutral-600`,children:[(0,R.jsx)(md,{className:`w-5 h-5 text-[#8b181b] shrink-0`}),(0,R.jsx)(`span`,{children:`AUTHENTICITY GUARANTEE · ATELIER CARE REPAIRS INCLUDED`})]})]})]}),(0,R.jsxs)(`div`,{className:`mt-20 pt-12 border-t border-black/10 space-y-8`,children:[(0,R.jsxs)(`div`,{className:`flex flex-col sm:flex-row sm:items-baseline justify-between gap-2`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.25em] text-[#8b181b] font-bold block mb-1`,children:`STYLED BY THE ATELIER`}),(0,R.jsx)(`h3`,{className:`text-2xl font-bold uppercase tracking-wider text-black`,children:`COMPLETE THE LOOK`})]}),(0,R.jsx)(`p`,{className:`text-xs text-neutral-500`,children:`Architecturally balanced pairings selected to complement this silhouette.`})]}),(0,R.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-3 gap-6`,children:x.map(e=>(0,R.jsxs)(`div`,{className:`group bg-neutral-50 rounded-sm overflow-hidden border border-black/5 hover:border-black/20 hover:shadow-lg transition-all p-3 flex flex-col justify-between`,children:[(0,R.jsxs)(`div`,{onClick:()=>t(e),className:`cursor-pointer`,children:[(0,R.jsx)(`div`,{className:`aspect-[3/4] overflow-hidden rounded-sm bg-neutral-200 mb-3`,children:(0,R.jsx)(`img`,{src:e.image,alt:e.name,className:`w-full h-full object-cover group-hover:scale-105 transition-transform duration-500`})}),(0,R.jsx)(`div`,{className:`text-[10px] uppercase tracking-widest text-neutral-400 font-semibold`,children:e.category}),(0,R.jsx)(`h4`,{className:`text-xs font-bold uppercase tracking-wider text-black truncate group-hover:text-[#8b181b] transition-colors mt-0.5`,children:e.name}),(0,R.jsx)(`div`,{className:`text-xs font-semibold tabular-nums text-black mt-1`,children:r(e.price)})]}),(0,R.jsxs)(`div`,{className:`mt-3 flex gap-2`,children:[(0,R.jsxs)(`button`,{onClick:t=>n(e,{event:t}),className:`flex-1 py-2 bg-black hover:bg-[#8b181b] text-white text-[11px] font-bold uppercase tracking-wider transition-colors flex items-center justify-center gap-1.5 cursor-pointer`,children:[(0,R.jsx)(ud,{className:`w-3.5 h-3.5`}),(0,R.jsx)(`span`,{children:`ADD TO ENSEMBLE`})]}),(0,R.jsx)(`button`,{onClick:()=>a(e),className:`px-3 py-2 bg-neutral-200 hover:bg-neutral-300 text-black text-[11px] uppercase tracking-wider font-semibold transition-colors`,children:`VIEW`})]})]},e.id))})]})]}),(0,R.jsxs)(`div`,{className:`lg:hidden fixed bottom-0 left-0 right-0 z-40 bg-white/95 backdrop-blur-md border-t border-black/10 p-3 px-4 flex items-center justify-between gap-3 shadow-[0_-5px_20px_rgba(0,0,0,0.1)]`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`div`,{className:`text-[10px] uppercase text-neutral-400 font-bold truncate max-w-[130px]`,children:o.name}),(0,R.jsx)(`div`,{className:`text-sm font-bold tabular-nums text-black`,children:r(o.price)})]}),(0,R.jsxs)(`button`,{onClick:S,className:`flex-1 py-3 bg-black hover:bg-[#8b181b] text-white text-xs font-bold uppercase tracking-wider flex items-center justify-center gap-1.5 shadow`,children:[(0,R.jsx)(hd,{className:`w-3.5 h-3.5`}),(0,R.jsx)(`span`,{children:`ADD TO BAG`})]})]})]})},nf=[{id:`tip-1`,badge:`LUXURY TAILORING`,title:`Bespoke Sizing & Virtual Fitting`,description:`Provide interactive model fit overlays that calculate shoulder-to-hem drape based on customer height and proportions.`,suggestedPrompt:`Add a 3D-styled interactive silhouette fit visualizer on the PDP with shoulder and sleeve measurements.`,iconBg:`from-amber-500/20 via-rose-500/20 to-purple-500/20`,iconSvg:`👔`},{id:`tip-2`,badge:`MULTIMODAL AI`,title:`Transcribe Audio & Voice Concierge`,description:`Allow VIP shoppers to speak their styling inquiries to hear instant audio recommendations from the RESOLVE Atelier.`,suggestedPrompt:`Integrate the Gemini Live API or voice recorder to provide real-time audio fashion advice.`,iconBg:`from-cyan-500/20 via-blue-500/20 to-indigo-500/20`,iconSvg:`🎙️`},{id:`tip-3`,badge:`COMMERCE ARCHITECTURE`,title:`Archive Private VIP Drop Vault`,description:`Create time-locked cryptographic invite drops where members enter one-time access keys to purchase small-batch runs.`,suggestedPrompt:`Build a private vault section with a 6-digit passcode unlock and live stock countdown for 50 numbered pieces.`,iconBg:`from-emerald-500/20 via-teal-500/20 to-cyan-500/20`,iconSvg:`🗝️`},{id:`tip-4`,badge:`GLOBAL LOCALIZATION`,title:`Dynamic Currency & Duties Engine`,description:`Auto-detect visitor geolocation to display local currencies (EUR, GBP, JPY, CAD) with pre-calculated import clearances.`,suggestedPrompt:`Implement automatic IP-based currency switching with zero-surprise border fees.`,iconBg:`from-violet-500/20 via-fuchsia-500/20 to-pink-500/20`,iconSvg:`🌐`},{id:`tip-5`,badge:`EDITORIAL LOOKBOOKS`,title:`Generative Lookbook Variations`,description:`Dynamically pair complementary garments into shoppable diptychs with automatic savings bundles.`,suggestedPrompt:`Generate an editorial diptych showing evening outerwear styled with raw washed denim and leather accessories.`,iconBg:`from-rose-500/20 via-red-500/20 to-amber-500/20`,iconSvg:`✨`}],rf=[{name:`metadata.json`,status:`verified`,lines:7,desc:`Branding & Capabilities`},{name:`src/components/Header.tsx`,status:`verified`,lines:175,desc:`S01 Marquee + Floating Nav`},{name:`src/components/HeroCurtain.tsx`,status:`verified`,lines:198,desc:`S02 Sticky Curtain Hero`},{name:`src/components/WardrobeGallery.tsx`,status:`verified`,lines:72,desc:`S03 5-Tile Category Cutouts`},{name:`src/components/BundleBuilder.tsx`,status:`verified`,lines:174,desc:`S12 Pinned Bundle Builder`},{name:`src/components/FeaturedPDP.tsx`,status:`verified`,lines:254,desc:`S13 3-Column Pinned Rails PDP`},{name:`src/components/ProductDetailPage.tsx`,status:`verified`,lines:290,desc:`Full Standalone PDP View`},{name:`src/components/MenuDrawer.tsx`,status:`verified`,lines:185,desc:`Full-Height Glassmorphic Nav`},{name:`src/components/BagDrawer.tsx`,status:`verified`,lines:230,desc:`Slide-Over Bag & Checkout`}],af=()=>{let{isAgentSamOpen:e,setIsAgentSamOpen:t,setActiveProductPage:n,setIsMenuOpen:r,setIsBagOpen:i}=W(),[a,o]=(0,y.useState)(0),[s,c]=(0,y.useState)(null),[l,u]=(0,y.useState)(`tips`),[d,f]=(0,y.useState)(!1),[p,m]=(0,y.useState)(100),h=nf[a],g=e=>{navigator.clipboard?.writeText(e),c(e),setTimeout(()=>c(null),2500)};return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`div`,{className:`fixed bottom-6 left-6 z-40`,children:(0,R.jsxs)(`button`,{onClick:()=>t(!e),className:`group relative flex items-center gap-2.5 px-4 py-2.5 bg-[#121212]/90 hover:bg-black text-white text-xs font-semibold rounded-full border border-white/20 shadow-[0_8px_30px_rgb(0,0,0,0.5)] backdrop-blur-xl transition-all duration-300 hover:scale-105 cursor-pointer`,"aria-label":`Open AgentSam Assistant`,children:[(0,R.jsxs)(`div`,{className:`relative flex items-center justify-center`,children:[(0,R.jsx)(`span`,{className:`w-2.5 h-2.5 rounded-full bg-[#8b181b] animate-ping absolute`}),(0,R.jsx)(`span`,{className:`w-2.5 h-2.5 rounded-full bg-[#8b181b] relative`})]}),(0,R.jsx)(`span`,{className:`tracking-wider uppercase text-[11px] font-mono`,children:`AgentSam`}),(0,R.jsx)(`span`,{className:`text-[10px] text-white/50 border-l border-white/20 pl-2`,children:`Studio Assistant`}),(0,R.jsx)(gd,{className:`w-3.5 h-3.5 text-[#e2a8aa] group-hover:rotate-12 transition-transform`})]})}),e&&(0,R.jsxs)(`div`,{className:`fixed inset-0 z-50 overflow-y-auto bg-black/70 backdrop-blur-md flex items-center justify-center p-4 sm:p-6 animate-[themeReveal_0.3s_cubic-bezier(0.22,1,0.36,1)]`,children:[(0,R.jsx)(`div`,{onClick:()=>t(!1),className:`fixed inset-0`}),(0,R.jsxs)(`div`,{className:`relative w-full max-w-4xl bg-[#0c0c0c] text-white border border-white/20 rounded-xl shadow-[0_20px_70px_rgba(0,0,0,0.9)] overflow-hidden z-10 flex flex-col max-h-[90vh]`,children:[(0,R.jsxs)(`div`,{className:`px-6 py-4 bg-[#141414] border-b border-white/10 flex items-center justify-between`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsx)(`div`,{className:`w-8 h-8 rounded-lg bg-gradient-to-tr from-[#8b181b] to-purple-600 flex items-center justify-center text-white shadow`,children:(0,R.jsx)(gd,{className:`w-4 h-4`})}),(0,R.jsxs)(`div`,{children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,R.jsx)(`h3`,{className:`text-sm font-bold tracking-wider uppercase text-white font-mono`,children:`AgentSam Studio Assistant`}),(0,R.jsx)(`span`,{className:`text-[9px] uppercase px-1.5 py-0.5 rounded bg-[#8b181b]/30 text-[#e2a8aa] border border-[#8b181b]/40 font-mono`,children:`v2.4 ACTIVE`})]}),(0,R.jsx)(`div`,{className:`text-[11px] text-white/50`,children:`Live architecture companion · Tips, file inspection & interactive loading simulator`})]})]}),(0,R.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,R.jsxs)(`button`,{onClick:()=>{f(!0),m(15);let e=setInterval(()=>{m(t=>t>=100?(clearInterval(e),f(!1),100):t+25)},350)},disabled:d,className:`hidden sm:flex items-center gap-1.5 px-3 py-1.5 bg-white/5 hover:bg-white/15 text-white/80 rounded-md text-[11px] font-mono border border-white/10 transition-colors cursor-pointer`,children:[(0,R.jsx)(dd,{className:`w-3.5 h-3.5 ${d?`animate-spin`:``}`}),(0,R.jsx)(`span`,{children:d?`Compiling...`:`Simulate State`})]}),(0,R.jsx)(`button`,{onClick:()=>t(!1),className:`w-8 h-8 rounded-full bg-white/5 hover:bg-white/15 flex items-center justify-center text-white/70 hover:text-white transition-colors cursor-pointer`,children:(0,R.jsx)(Sd,{className:`w-4 h-4`})})]})]}),(0,R.jsxs)(`div`,{className:`flex items-center gap-6 px-6 bg-[#0f0f0f] border-b border-white/10 text-xs font-semibold uppercase tracking-wider`,children:[(0,R.jsxs)(`button`,{onClick:()=>u(`tips`),className:`py-3 transition-colors relative cursor-pointer ${l===`tips`?`text-white`:`text-white/40 hover:text-white`}`,children:[`Tips & Prompts Carousel`,l===`tips`&&(0,R.jsx)(`span`,{className:`absolute bottom-0 left-0 right-0 h-[2px] bg-[#8b181b]`})]}),(0,R.jsxs)(`button`,{onClick:()=>u(`files`),className:`py-3 transition-colors relative cursor-pointer ${l===`files`?`text-white`:`text-white/40 hover:text-white`}`,children:[`Architecture & Files (`,rf.length,`)`,l===`files`&&(0,R.jsx)(`span`,{className:`absolute bottom-0 left-0 right-0 h-[2px] bg-[#8b181b]`})]}),(0,R.jsxs)(`button`,{onClick:()=>u(`preview`),className:`py-3 transition-colors relative cursor-pointer ${l===`preview`?`text-white`:`text-white/40 hover:text-white`}`,children:[`Page & View Switcher`,l===`preview`&&(0,R.jsx)(`span`,{className:`absolute bottom-0 left-0 right-0 h-[2px] bg-[#8b181b]`})]})]}),d&&(0,R.jsx)(`div`,{className:`w-full bg-white/10 h-1 overflow-hidden`,children:(0,R.jsx)(`div`,{className:`bg-gradient-to-r from-[#8b181b] via-purple-500 to-[#8b181b] h-full transition-all duration-300`,style:{width:`${p}%`}})}),(0,R.jsxs)(`div`,{className:`flex-1 overflow-y-auto p-6 space-y-6`,children:[l===`tips`&&(0,R.jsxs)(`div`,{className:`space-y-6`,children:[(0,R.jsxs)(`div`,{className:`text-center space-y-1`,children:[(0,R.jsx)(`span`,{className:`text-[10px] uppercase tracking-[0.25em] text-[#e2a8aa] font-mono`,children:`GENERATING APP ARCHITECTURE`}),(0,R.jsx)(`h4`,{className:`text-2xl font-bold tracking-tight text-white`,children:`Enjoy these tips while you wait`}),(0,R.jsx)(`p`,{className:`text-xs text-white/60`,children:`Curated luxury feature prompts you can copy or explore next.`})]}),(0,R.jsxs)(`div`,{className:`relative flex items-center justify-center py-4`,children:[(0,R.jsx)(`button`,{onClick:()=>{o(e=>(e-1+nf.length)%nf.length)},className:`absolute left-0 sm:left-4 z-20 w-10 h-10 rounded-full bg-white/10 hover:bg-white/20 flex items-center justify-center text-white transition-colors cursor-pointer`,"aria-label":`Previous tip`,children:(0,R.jsx)(J,{className:`w-5 h-5`})}),(0,R.jsxs)(`div`,{className:`w-full max-w-lg bg-[#141414] border border-white/15 rounded-2xl p-8 shadow-2xl relative overflow-hidden transition-all duration-300`,children:[(0,R.jsx)(`div`,{className:`absolute -top-24 -right-24 w-56 h-56 rounded-full bg-gradient-to-br ${h.iconBg} blur-3xl pointer-events-none`}),(0,R.jsxs)(`div`,{className:`relative z-10 space-y-4 text-center`,children:[(0,R.jsx)(`div`,{className:`w-20 h-20 mx-auto rounded-2xl bg-gradient-to-br from-white/10 via-white/5 to-transparent border border-white/20 shadow-inner flex items-center justify-center text-4xl transform hover:scale-110 transition-transform`,children:h.iconSvg}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`span`,{className:`text-[10px] tracking-[0.25em] text-[#8b181b] font-mono uppercase font-bold`,children:h.badge}),(0,R.jsx)(`h5`,{className:`text-xl font-bold text-white mt-1`,children:h.title}),(0,R.jsx)(`p`,{className:`text-xs text-white/70 leading-relaxed max-w-md mx-auto mt-2`,children:h.description})]}),(0,R.jsxs)(`div`,{className:`pt-3 text-left`,children:[(0,R.jsx)(`div`,{className:`text-[10px] text-white/40 uppercase font-mono mb-1.5`,children:`SUGGESTED PROMPT FOR AGENTSAM:`}),(0,R.jsxs)(`div`,{className:`p-3 bg-black/60 border border-white/10 rounded-lg flex items-center justify-between gap-3`,children:[(0,R.jsxs)(`span`,{className:`text-xs text-white/90 font-mono truncate`,children:[`“`,h.suggestedPrompt,`”`]}),(0,R.jsx)(`button`,{onClick:()=>g(h.suggestedPrompt),className:`px-2.5 py-1 bg-white/10 hover:bg-white/20 text-white rounded text-[11px] font-mono flex items-center gap-1 shrink-0 transition-colors cursor-pointer`,children:s===h.suggestedPrompt?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(K,{className:`w-3 h-3 text-emerald-400`}),(0,R.jsx)(`span`,{className:`text-emerald-400`,children:`Copied`})]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(X,{className:`w-3 h-3`}),(0,R.jsx)(`span`,{children:`Copy`})]})})]})]})]})]}),(0,R.jsx)(`button`,{onClick:()=>{o(e=>(e+1)%nf.length)},className:`absolute right-0 sm:right-4 z-20 w-10 h-10 rounded-full bg-white/10 hover:bg-white/20 flex items-center justify-center text-white transition-colors cursor-pointer`,"aria-label":`Next tip`,children:(0,R.jsx)(Y,{className:`w-5 h-5`})})]}),(0,R.jsx)(`div`,{className:`flex justify-center gap-2`,children:nf.map((e,t)=>(0,R.jsx)(`button`,{onClick:()=>o(t),className:`h-1.5 rounded-full transition-all cursor-pointer ${a===t?`w-8 bg-[#8b181b]`:`w-2 bg-white/20 hover:bg-white/40`}`},t))})]}),l===`files`&&(0,R.jsxs)(`div`,{className:`space-y-4`,children:[(0,R.jsxs)(`div`,{className:`flex items-center justify-between text-xs text-white/60 font-mono border-b border-white/10 pb-2`,children:[(0,R.jsx)(`span`,{children:`MODULE / COMPONENT`}),(0,R.jsx)(`span`,{children:`STATUS`})]}),(0,R.jsx)(`div`,{className:`space-y-2`,children:rf.map(e=>(0,R.jsxs)(`div`,{className:`flex items-center justify-between p-3 bg-white/5 rounded-lg border border-white/5 hover:border-white/20 transition-all font-mono text-xs`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsx)(nd,{className:`w-4 h-4 text-[#8b181b]`}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`div`,{className:`font-semibold text-white`,children:e.name}),(0,R.jsx)(`div`,{className:`text-[10px] text-white/50`,children:e.desc})]})]}),(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsxs)(`span`,{className:`text-[11px] text-white/40`,children:[e.lines,` lines`]}),(0,R.jsxs)(`span`,{className:`inline-flex items-center gap-1 text-[11px] text-emerald-400 bg-emerald-500/10 px-2 py-0.5 rounded border border-emerald-500/20`,children:[(0,R.jsx)(K,{className:`w-3 h-3`}),(0,R.jsx)(`span`,{children:`Pristine`})]})]})]},e.name))})]}),l===`preview`&&(0,R.jsxs)(`div`,{className:`space-y-6`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h5`,{className:`text-xs uppercase tracking-wider text-white/60 font-mono mb-3`,children:`QUICK LAUNCH INDIVIDUAL PRODUCT PAGES (PDP):`}),(0,R.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 gap-3`,children:U.slice(0,4).map(e=>(0,R.jsxs)(`button`,{onClick:()=>{n(e),t(!1)},className:`flex items-center gap-3 p-3 bg-white/5 hover:bg-white/10 rounded-lg border border-white/10 text-left transition-colors cursor-pointer group`,children:[(0,R.jsx)(`img`,{src:e.image,alt:e.name,className:`w-12 h-16 object-cover rounded bg-neutral-900 shrink-0`}),(0,R.jsxs)(`div`,{className:`overflow-hidden`,children:[(0,R.jsx)(`div`,{className:`text-xs font-bold uppercase text-white truncate group-hover:text-[#e2a8aa] transition-colors`,children:e.name}),(0,R.jsx)(`div`,{className:`text-[11px] text-white/60 font-mono mt-0.5`,children:`Open Standalone PDP View →`}),(0,R.jsx)(`div`,{className:`text-[9px] uppercase tracking-widest text-[#8b181b]`,children:e.category})]})]},e.id))})]}),(0,R.jsxs)(`div`,{className:`pt-4 border-t border-white/10 flex flex-wrap gap-3`,children:[(0,R.jsx)(`button`,{onClick:()=>{r(!0),t(!1)},className:`px-4 py-2 bg-white/10 hover:bg-white/20 text-white rounded text-xs font-mono transition-colors`,children:`Open Full-Height Menu Drawer`}),(0,R.jsx)(`button`,{onClick:()=>{i(!0),t(!1)},className:`px-4 py-2 bg-white/10 hover:bg-white/20 text-white rounded text-xs font-mono transition-colors`,children:`Open Cart Slide-Over`})]})]})]}),(0,R.jsxs)(`div`,{className:`px-6 py-3 bg-[#111111] border-t border-white/10 flex items-center justify-between text-[11px] text-white/50 font-mono`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,R.jsx)(`span`,{className:`w-2 h-2 rounded-full bg-emerald-400`}),(0,R.jsx)(`span`,{children:`Dev Server Running on Port 3000 · HMR Optimized`})]}),(0,R.jsx)(`span`,{className:`hidden sm:inline`,children:`Press Esc to dismiss`})]})]})]})]})},of={initial:{opacity:0,y:18,scale:.995,filter:`blur(3px)`},animate:{opacity:1,y:0,scale:1,filter:`blur(0px)`,transition:{duration:.52,ease:[.22,1,.36,1]}},exit:{opacity:0,y:-14,scale:.995,filter:`blur(2px)`,transition:{duration:.38,ease:[.65,0,.35,1]}}},sf=()=>{let{activeProductPage:e}=W(),t=e?`pdp-${e.id}`:`storefront-main`;return(0,R.jsx)(zc,{mode:`wait`,children:(0,R.jsx)(Ou.main,{variants:of,initial:`initial`,animate:`animate`,exit:`exit`,className:`w-full will-change-transform`,children:e?(0,R.jsx)(tf,{}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(wd,{}),(0,R.jsx)(Td,{}),(0,R.jsx)(Ed,{}),(0,R.jsx)(Dd,{}),(0,R.jsx)(Od,{}),(0,R.jsx)(kd,{}),(0,R.jsx)(Ad,{}),(0,R.jsx)(jd,{}),(0,R.jsx)(Md,{}),(0,R.jsx)(Nd,{}),(0,R.jsx)(Pd,{}),(0,R.jsx)(Fd,{}),(0,R.jsx)(Id,{}),(0,R.jsx)(Ld,{}),(0,R.jsx)(Rd,{}),(0,R.jsx)(zd,{}),(0,R.jsx)(Bd,{}),(0,R.jsx)(Vd,{}),(0,R.jsx)(Hd,{}),(0,R.jsx)(Ud,{}),(0,R.jsx)(Wd,{}),(0,R.jsx)(Gd,{})]})},t)})};function cf(){return(0,R.jsx)(Bu,{children:(0,R.jsxs)(`div`,{className:`relative min-h-screen bg-[#0b0b0b] text-[#111111] overflow-x-hidden selection:bg-[#8b181b] selection:text-white`,children:[(0,R.jsx)(Cd,{}),(0,R.jsx)(qd,{}),(0,R.jsx)(Jd,{}),(0,R.jsx)(Yd,{}),(0,R.jsx)(Xd,{}),(0,R.jsx)(Zd,{}),(0,R.jsx)(Qd,{}),(0,R.jsx)($d,{}),(0,R.jsx)(ef,{}),(0,R.jsx)(af,{}),(0,R.jsx)(sf,{}),(0,R.jsx)(Kd,{})]})})}(0,ku.createRoot)(document.getElementById(`root`)).render((0,R.jsx)(cf,{}));
|