diff --git a/.env.example b/.env.example index c0660ea..ae0e0c3 100644 --- a/.env.example +++ b/.env.example @@ -63,3 +63,15 @@ AWS_BUCKET= AWS_USE_PATH_STYLE_ENDPOINT=false VITE_APP_NAME="${APP_NAME}" + +PADDLE_SELLER_ID= +PADDLE_CLIENT_SIDE_TOKEN= +PADDLE_API_KEY= +PADDLE_WEBHOOK_SECRET= +PADDLE_SANDBOX=true + +PADDLE_PRICE_PRO_MONTHLY= +PADDLE_PRICE_PRO_YEARLY= + +VITE_PADDLE_PRICE_PRO_MONTHLY="${PADDLE_PRICE_PRO_MONTHLY}" +VITE_PADDLE_PRICE_PRO_YEARLY="${PADDLE_PRICE_PRO_YEARLY}" diff --git a/AGENTS.md b/AGENTS.md index e34262c..23f3e23 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -9,7 +9,7 @@ The Laravel Boost guidelines are specifically curated by Laravel maintainers for This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions. -- php - 8.4 +- php - 8.3 - inertiajs/inertia-laravel (INERTIA_LARAVEL) - v3 - laravel/fortify (FORTIFY) - v1 - laravel/framework (LARAVEL) - v13 @@ -118,13 +118,6 @@ This project has domain-specific skills available in `**/skills/**`. You MUST ac - Laravel can be deployed using [Laravel Cloud](https://cloud.laravel.com/), which is the fastest way to deploy and scale production Laravel applications. -=== herd rules === - -# Laravel Herd - -- The application is served by Laravel Herd at `https?://[kebab-case-project-dir].test`. Use the `get-absolute-url` tool to generate valid URLs. Never run commands to serve the site. It is always available. -- Use the `herd` CLI to manage services, PHP versions, and sites (e.g. `herd sites`, `herd services:start `, `herd php:list`). Run `herd list` to discover all available commands. - === tests rules === # Test Enforcement diff --git a/app/Http/Controllers/SubscriptionController.php b/app/Http/Controllers/SubscriptionController.php new file mode 100644 index 0000000..c41e380 --- /dev/null +++ b/app/Http/Controllers/SubscriptionController.php @@ -0,0 +1,57 @@ +input('price_id'); + + if (! $priceId) { + return back()->with('error', 'Please select a plan.'); + } + + return $request->user()->checkout($priceId) + ->returnTo(route('dashboard')); + } + + public function cancel(Request $request) + { + $subscription = $request->user()->subscription(); + + if (! $subscription) { + return back()->with('error', 'You do not have an active subscription.'); + } + + $subscription->cancel(); + + return back()->with('status', 'Your subscription has been cancelled.'); + } + + public function resume(Request $request) + { + $subscription = $request->user()->subscription(); + + if (! $subscription) { + return back()->with('error', 'You do not have a subscription to resume.'); + } + + $subscription->resume(); + + return back()->with('status', 'Your subscription has been resumed.'); + } +} diff --git a/composer.json b/composer.json index 5fe6ff7..5358702 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,6 @@ }, "require-dev": { "fakerphp/faker": "^1.24", - "fruitcake/laravel-debugbar": "^4.2", "laravel/boost": "^2.2", "laravel/pail": "^1.2.5", "laravel/pao": "^1.0.6", diff --git a/composer.lock b/composer.lock index 284780d..0306b23 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b9a96a3f1d1747e6c69991eeee654854", + "content-hash": "9e7aecf5f648afada7dae5c16cdf9084", "packages": [ { "name": "bacon/bacon-qr-code", @@ -8966,108 +8966,6 @@ ], "time": "2025-08-08T12:00:00+00:00" }, - { - "name": "fruitcake/laravel-debugbar", - "version": "v4.2.8", - "source": { - "type": "git", - "url": "https://github.com/fruitcake/laravel-debugbar.git", - "reference": "799d70c1101d3f8840dd76ff68ff6a78f9352905" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/fruitcake/laravel-debugbar/zipball/799d70c1101d3f8840dd76ff68ff6a78f9352905", - "reference": "799d70c1101d3f8840dd76ff68ff6a78f9352905", - "shasum": "" - }, - "require": { - "illuminate/routing": "^11|^12|^13.0", - "illuminate/session": "^11|^12|^13.0", - "illuminate/support": "^11|^12|^13.0", - "php": "^8.2", - "php-debugbar/php-debugbar": "^3.7.2", - "php-debugbar/symfony-bridge": "^1.1" - }, - "replace": { - "barryvdh/laravel-debugbar": "self.version" - }, - "require-dev": { - "larastan/larastan": "^3", - "laravel/octane": "^2", - "laravel/pennant": "^1", - "laravel/pint": "^1", - "laravel/telescope": "^5.16", - "livewire/livewire": "^3.7|^4", - "mockery/mockery": "^1.3.3", - "orchestra/testbench-dusk": "^9|^10|^11", - "php-debugbar/twig-bridge": "^2.0", - "phpstan/phpstan-phpunit": "^2", - "phpstan/phpstan-strict-rules": "^2.0", - "phpunit/phpunit": "^11", - "shipmonk/phpstan-rules": "^4.3" - }, - "type": "library", - "extra": { - "laravel": { - "aliases": { - "Debugbar": "Fruitcake\\LaravelDebugbar\\Facades\\Debugbar" - }, - "providers": [ - "Fruitcake\\LaravelDebugbar\\ServiceProvider" - ] - }, - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "autoload": { - "files": [ - "src/helpers.php" - ], - "psr-4": { - "Fruitcake\\LaravelDebugbar\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fruitcake", - "homepage": "https://fruitcake.nl" - }, - { - "name": "Barry vd. Heuvel", - "email": "barryvdh@gmail.com" - } - ], - "description": "PHP Debugbar integration for Laravel", - "keywords": [ - "barryvdh", - "debug", - "debugbar", - "dev", - "laravel", - "profiler", - "webprofiler" - ], - "support": { - "issues": "https://github.com/fruitcake/laravel-debugbar/issues", - "source": "https://github.com/fruitcake/laravel-debugbar/tree/v4.2.8" - }, - "funding": [ - { - "url": "https://fruitcake.nl", - "type": "custom" - }, - { - "url": "https://github.com/barryvdh", - "type": "github" - } - ], - "time": "2026-04-20T13:31:29+00:00" - }, { "name": "hamcrest/hamcrest-php", "version": "v2.1.1", @@ -10558,174 +10456,6 @@ }, "time": "2022-02-21T01:04:05+00:00" }, - { - "name": "php-debugbar/php-debugbar", - "version": "v3.7.6", - "source": { - "type": "git", - "url": "https://github.com/php-debugbar/php-debugbar.git", - "reference": "1690ee1728827f9deb4b60457fa387cf44672c56" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-debugbar/php-debugbar/zipball/1690ee1728827f9deb4b60457fa387cf44672c56", - "reference": "1690ee1728827f9deb4b60457fa387cf44672c56", - "shasum": "" - }, - "require": { - "php": "^8.2", - "psr/log": "^1|^2|^3", - "symfony/var-dumper": "^5.4|^6|^7|^8" - }, - "replace": { - "maximebf/debugbar": "self.version" - }, - "require-dev": { - "dbrekelmans/bdi": "^1.4", - "friendsofphp/php-cs-fixer": "^3.92", - "monolog/monolog": "^3.9", - "php-debugbar/doctrine-bridge": "^3@dev", - "php-debugbar/monolog-bridge": "^1@dev", - "php-debugbar/symfony-bridge": "^1@dev", - "php-debugbar/twig-bridge": "^2@dev", - "phpstan/phpstan": "^2.1", - "phpstan/phpstan-phpunit": "^2.0", - "phpstan/phpstan-strict-rules": "^2.0", - "phpunit/phpunit": "^10", - "predis/predis": "^3.3", - "shipmonk/phpstan-rules": "^4.3", - "symfony/browser-kit": "^6.4|7.0", - "symfony/dom-crawler": "^6.4|^7", - "symfony/event-dispatcher": "^5.4|^6.4|^7.3|^8.0", - "symfony/http-foundation": "^5.4|^6.4|^7.3|^8.0", - "symfony/mailer": "^5.4|^6.4|^7.3|^8.0", - "symfony/panther": "^1|^2.1", - "twig/twig": "^3.11.2" - }, - "suggest": { - "php-debugbar/doctrine-bridge": "To integrate Doctrine with php-debugbar.", - "php-debugbar/monolog-bridge": "To integrate Monolog with php-debugbar.", - "php-debugbar/symfony-bridge": "To integrate Symfony with php-debugbar.", - "php-debugbar/twig-bridge": "To integrate Twig with php-debugbar." - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "psr-4": { - "DebugBar\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Maxime Bouroumeau-Fuseau", - "email": "maxime.bouroumeau@gmail.com", - "homepage": "http://maximebf.com" - }, - { - "name": "Barry vd. Heuvel", - "email": "barryvdh@gmail.com" - } - ], - "description": "Debug bar in the browser for php application", - "homepage": "https://github.com/php-debugbar/php-debugbar", - "keywords": [ - "debug", - "debug bar", - "debugbar", - "dev", - "profiler", - "toolbar" - ], - "support": { - "issues": "https://github.com/php-debugbar/php-debugbar/issues", - "source": "https://github.com/php-debugbar/php-debugbar/tree/v3.7.6" - }, - "funding": [ - { - "url": "https://fruitcake.nl", - "type": "custom" - }, - { - "url": "https://github.com/barryvdh", - "type": "github" - } - ], - "time": "2026-04-30T07:31:44+00:00" - }, - { - "name": "php-debugbar/symfony-bridge", - "version": "v1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-debugbar/symfony-bridge.git", - "reference": "e37d2debe5d316408b00d0ab2688d9c2cf59b5ad" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-debugbar/symfony-bridge/zipball/e37d2debe5d316408b00d0ab2688d9c2cf59b5ad", - "reference": "e37d2debe5d316408b00d0ab2688d9c2cf59b5ad", - "shasum": "" - }, - "require": { - "php": "^8.2", - "php-debugbar/php-debugbar": "^3.1", - "symfony/http-foundation": "^5.4|^6.4|^7.3|^8.0" - }, - "require-dev": { - "dbrekelmans/bdi": "^1.4", - "phpunit/phpunit": "^10", - "symfony/browser-kit": "^6|^7", - "symfony/dom-crawler": "^6|^7", - "symfony/mailer": "^5.4|^6.4|^7.3|^8.0", - "symfony/panther": "^1|^2.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-4": { - "DebugBar\\Bridge\\Symfony\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Maxime Bouroumeau-Fuseau", - "email": "maxime.bouroumeau@gmail.com", - "homepage": "http://maximebf.com" - }, - { - "name": "Barry vd. Heuvel", - "email": "barryvdh@gmail.com" - } - ], - "description": "Symfony bridge for PHP Debugbar", - "homepage": "https://github.com/php-debugbar/php-debugbar", - "keywords": [ - "debugbar", - "dev", - "symfony" - ], - "support": { - "issues": "https://github.com/php-debugbar/symfony-bridge/issues", - "source": "https://github.com/php-debugbar/symfony-bridge/tree/v1.1.0" - }, - "time": "2026-01-15T14:47:34+00:00" - }, { "name": "phpunit/php-code-coverage", "version": "12.5.6", @@ -12304,5 +12034,5 @@ "php": "^8.3" }, "platform-dev": {}, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" } diff --git a/package-lock.json b/package-lock.json index d6176e9..6cdbb70 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,69 +1,120 @@ { - "name": "ui", + "name": "app", "lockfileVersion": 3, "requires": true, "packages": { "": { "dependencies": { - "@headlessui/react": "^2.2.0", - "@inertiajs/react": "^3.0.0", - "@inertiajs/vite": "^3.0.0", - "@radix-ui/react-avatar": "^1.1.3", - "@radix-ui/react-checkbox": "^1.1.4", - "@radix-ui/react-collapsible": "^1.1.3", - "@radix-ui/react-dialog": "^1.1.6", - "@radix-ui/react-dropdown-menu": "^2.1.6", - "@radix-ui/react-label": "^2.1.2", - "@radix-ui/react-navigation-menu": "^1.2.5", - "@radix-ui/react-select": "^2.1.6", - "@radix-ui/react-separator": "^1.1.2", - "@radix-ui/react-slot": "^1.2.3", - "@radix-ui/react-toggle": "^1.1.2", - "@radix-ui/react-toggle-group": "^1.1.2", - "@radix-ui/react-tooltip": "^1.1.8", - "@tailwindcss/vite": "^4.1.11", - "@types/react": "^19.2.0", - "@types/react-dom": "^19.2.0", + "@base-ui/react": "^1.4.1", + "@fontsource-variable/caveat": "^5.2.8", + "@fontsource-variable/cinzel": "^5.2.8", + "@fontsource-variable/cormorant-garamond": "^5.2.6", + "@fontsource-variable/fira-code": "^5.2.7", + "@fontsource-variable/instrument-sans": "^5.2.8", + "@fontsource-variable/inter": "^5.2.8", + "@fontsource-variable/jetbrains-mono": "^5.2.8", + "@fontsource-variable/manrope": "^5.2.8", + "@fontsource-variable/merriweather": "^5.2.6", + "@fontsource-variable/nunito": "^5.2.7", + "@fontsource-variable/oswald": "^5.2.8", + "@fontsource-variable/pixelify-sans": "^5.2.7", + "@fontsource-variable/playfair-display": "^5.2.8", + "@fontsource-variable/quicksand": "^5.2.10", + "@fontsource-variable/roboto": "^5.2.10", + "@fontsource-variable/roboto-condensed": "^5.2.8", + "@fontsource-variable/roboto-mono": "^5.2.9", + "@fontsource-variable/source-sans-3": "^5.2.9", + "@fontsource-variable/space-grotesk": "^5.2.10", + "@fontsource-variable/work-sans": "^5.2.8", + "@fontsource/barlow-condensed": "^5.2.8", + "@fontsource/bebas-neue": "^5.2.7", + "@fontsource/dm-serif-display": "^5.2.8", + "@fontsource/fira-mono": "^5.2.7", + "@fontsource/great-vibes": "^5.2.8", + "@fontsource/ibm-plex-mono": "^5.2.7", + "@fontsource/ibm-plex-sans": "^5.2.8", + "@fontsource/nerko-one": "^5.2.7", + "@fontsource/orbitron": "^5.2.8", + "@fontsource/patrick-hand": "^5.2.8", + "@fontsource/poppins": "^5.2.7", + "@fontsource/rajdhani": "^5.2.7", + "@fontsource/roboto-slab": "^5.2.8", + "@fontsource/varela-round": "^5.2.8", + "@gsap/react": "^2.1.2", + "@headlessui/react": "^2.2.10", + "@inertiajs/react": "^3.1.1", + "@inertiajs/vite": "^3.1.1", + "@monaco-editor/react": "^4.7.0", + "@radix-ui/react-avatar": "^1.1.11", + "@radix-ui/react-checkbox": "^1.3.3", + "@radix-ui/react-collapsible": "^1.1.12", + "@radix-ui/react-dialog": "^1.1.15", + "@radix-ui/react-dropdown-menu": "^2.1.16", + "@radix-ui/react-label": "^2.1.8", + "@radix-ui/react-navigation-menu": "^1.2.14", + "@radix-ui/react-select": "^2.2.6", + "@radix-ui/react-separator": "^1.1.8", + "@radix-ui/react-slot": "^1.2.4", + "@radix-ui/react-toggle": "^1.1.10", + "@radix-ui/react-toggle-group": "^1.1.11", + "@radix-ui/react-tooltip": "^1.2.8", + "@tailwindcss/vite": "^4.3.0", + "@types/react": "^19.2.14", + "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^5.2.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", - "concurrently": "^9.0.1", - "globals": "^15.14.0", + "concurrently": "^9.2.1", + "culori": "^4.0.2", + "date-fns": "^4.1.0", + "globals": "^15.15.0", + "gsap": "^3.15.0", "input-otp": "^1.4.2", - "laravel-vite-plugin": "^3.1", + "laravel-vite-plugin": "^3.1.0", "lucide-react": "^0.475.0", - "react": "^19.2.0", - "react-dom": "^19.2.0", - "sonner": "^2.0.0", - "tailwind-merge": "^3.0.1", - "tailwindcss": "^4.0.0", + "motion": "^12.38.0", + "prismjs": "^1.30.0", + "radix-ui": "^1.4.3", + "react": "^19.2.6", + "react-day-picker": "^9.14.0", + "react-dom": "^19.2.6", + "recharts": "^3.8.1", + "sonner": "^2.0.7", + "tailwind-merge": "^3.6.0", + "tailwindcss": "^4.3.0", + "three": "^0.184.0", "tw-animate-css": "^1.4.0", - "typescript": "^5.7.2", - "vite": "^8.0.0" + "typescript": "^5.9.3", + "vite": "^8.0.12", + "zustand": "^5.0.13" }, "devDependencies": { - "@eslint/js": "^9.19.0", - "@laravel/vite-plugin-wayfinder": "^0.1.3", + "@eslint/js": "^9.39.4", + "@laravel/vite-plugin-wayfinder": "^0.1.7", "@stylistic/eslint-plugin": "^5.10.0", - "@types/node": "^22.13.5", + "@types/culori": "^4.0.1", + "@types/gsap": "^3.0.0", + "@types/node": "^22.19.18", + "@types/prismjs": "^1.26.6", + "@types/three": "^0.184.1", "babel-plugin-react-compiler": "^1.0.0", - "eslint": "^9.17.0", - "eslint-config-prettier": "^10.0.1", + "eslint": "^9.39.4", + "eslint-config-prettier": "^10.1.8", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import": "^2.32.0", - "eslint-plugin-react": "^7.37.3", - "eslint-plugin-react-hooks": "^7.0.0", - "prettier": "^3.4.2", - "prettier-plugin-tailwindcss": "^0.6.11", - "typescript-eslint": "^8.23.0" + "eslint-plugin-react": "^7.37.5", + "eslint-plugin-react-hooks": "^7.1.1", + "prettier": "^3.8.3", + "prettier-plugin-tailwindcss": "^0.6.14", + "typescript-eslint": "^8.59.3" }, "optionalDependencies": { "@rollup/rollup-linux-x64-gnu": "4.9.5", "@rollup/rollup-win32-x64-msvc": "4.9.5", - "@tailwindcss/oxide-linux-x64-gnu": "^4.0.1", - "@tailwindcss/oxide-win32-x64-msvc": "^4.0.1", - "lightningcss-linux-x64-gnu": "^1.29.1", - "lightningcss-win32-x64-msvc": "^1.29.1" + "@tailwindcss/oxide-linux-x64-gnu": "^4.3.0", + "@tailwindcss/oxide-win32-x64-msvc": "^4.3.0", + "lightningcss-linux-x64-gnu": "^1.32.0", + "lightningcss-win32-x64-msvc": "^1.32.0" } }, "node_modules/@babel/code-frame": { @@ -284,6 +335,15 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/runtime": { + "version": "7.29.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz", + "integrity": "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/template": { "version": "7.28.6", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz", @@ -329,6 +389,79 @@ "node": ">=6.9.0" } }, + "node_modules/@base-ui/react": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@base-ui/react/-/react-1.4.1.tgz", + "integrity": "sha512-Ab5/LIhcmL8BQcsBUYiOfkSDRdLpvgUBzMK30cu684JPcLclYlztharvCZyNNgzJtbAiREzI9q0pI5erHCMgCw==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.29.2", + "@base-ui/utils": "0.2.8", + "@floating-ui/react-dom": "^2.1.8", + "@floating-ui/utils": "^0.2.11", + "use-sync-external-store": "^1.6.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@date-fns/tz": "^1.2.0", + "@types/react": "^17 || ^18 || ^19", + "date-fns": "^4.0.0", + "react": "^17 || ^18 || ^19", + "react-dom": "^17 || ^18 || ^19" + }, + "peerDependenciesMeta": { + "@date-fns/tz": { + "optional": true + }, + "@types/react": { + "optional": true + }, + "date-fns": { + "optional": true + } + } + }, + "node_modules/@base-ui/utils": { + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/@base-ui/utils/-/utils-0.2.8.tgz", + "integrity": "sha512-jvOi+c+ftGlGotNcKnzPVg2IhCaDTB6/6R3JeqdjdXktuAJi3wKH9T7+svuaKh1mmfVU11UWzUZVH74JDfi/wQ==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.29.2", + "@floating-ui/utils": "^0.2.11", + "reselect": "^5.1.1", + "use-sync-external-store": "^1.6.0" + }, + "peerDependencies": { + "@types/react": "^17 || ^18 || ^19", + "react": "^17 || ^18 || ^19", + "react-dom": "^17 || ^18 || ^19" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@date-fns/tz": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@date-fns/tz/-/tz-1.4.1.tgz", + "integrity": "sha512-P5LUNhtbj6YfI3iJjw5EL9eUAG6OitD0W3fWQcpQjDRc/QIsL0tRNuO1PcDvPccWL1fSTXXdE1ds+l95DV/OFA==", + "license": "MIT" + }, + "node_modules/@dimforge/rapier3d-compat": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@dimforge/rapier3d-compat/-/rapier3d-compat-0.12.0.tgz", + "integrity": "sha512-uekIGetywIgopfD97oDL5PfeezkFpNhwlzlaEYNOA0N6ghdsOvh/HYjSMek5Q2O1PYvRSDFcqFVJl4r4ZBwOow==", + "dev": true, + "license": "Apache-2.0" + }, "node_modules/@emnapi/core": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz", @@ -570,6 +703,322 @@ "integrity": "sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==", "license": "MIT" }, + "node_modules/@fontsource-variable/caveat": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/caveat/-/caveat-5.2.8.tgz", + "integrity": "sha512-Iv+G8xn0pKG7RtanBmYGMjIfkO819N13LXZBwmRVcgfJvJwKVom/v3KT9pwANXTSoUbPeRp228twRDK7hcabLw==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/cinzel": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/cinzel/-/cinzel-5.2.8.tgz", + "integrity": "sha512-62ddfR79tYNWxIZJPlyFGBusbnONbPL6d163mT/jZOGV4vV8so6Z3buRM5epqtiA6qcVVeF8OZijJJGeLABGJg==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/cormorant-garamond": { + "version": "5.2.6", + "resolved": "https://registry.npmjs.org/@fontsource-variable/cormorant-garamond/-/cormorant-garamond-5.2.6.tgz", + "integrity": "sha512-5vHPJWMuTbVoB6OnorCflWJ51NJZ7eQWw58tVFUE/hHphTi/z2vrKESbuMSJ3diOC5KgPm/RLv2ULur+N1NLJQ==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/fira-code": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@fontsource-variable/fira-code/-/fira-code-5.2.7.tgz", + "integrity": "sha512-J2bxN7fz5rd8WpQYyau4o19WqTzxoTqaNj9jhsv4p21GSu1Rf34tbqsxqjyDCR+wDMHM3SajyFqtq+5uvRUQ7w==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/instrument-sans": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/instrument-sans/-/instrument-sans-5.2.8.tgz", + "integrity": "sha512-mTCaukbdIjjoipj2E3Q5XoZM3ZxJWdzyHevf/LG/0PHlfF9Q85pxOM7B7A9MerFyxmRzz5kVlumgIvgDSG4CPg==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/inter": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/inter/-/inter-5.2.8.tgz", + "integrity": "sha512-kOfP2D+ykbcX/P3IFnokOhVRNoTozo5/JxhAIVYLpea/UBmCQ/YWPBfWIDuBImXX/15KH+eKh4xpEUyS2sQQGQ==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/jetbrains-mono": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/jetbrains-mono/-/jetbrains-mono-5.2.8.tgz", + "integrity": "sha512-WBA9elru6Jdp5df2mES55wuOO0WIrn3kpXnI4+W2ek5u3ZgLS9XS4gmIlcQhiZOWEKl95meYdvK7xI+ETLCq/Q==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/manrope": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/manrope/-/manrope-5.2.8.tgz", + "integrity": "sha512-nc9lOuCRz73UHnovDE2bwXUdghE2SEOc7Aii0qGe3CLyE03W1a7VnY5Z6euRiapiKbCkGS+eXbY3s/kvWeGeSw==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/merriweather": { + "version": "5.2.6", + "resolved": "https://registry.npmjs.org/@fontsource-variable/merriweather/-/merriweather-5.2.6.tgz", + "integrity": "sha512-bHCDt99f/M48eUcFA86uh/oSPyn8r/ZxXR9l578wqLvjTwDzXx8A/XOAI05WfJ3LnH1rDufQX5RJwiZtbXUCkw==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/nunito": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@fontsource-variable/nunito/-/nunito-5.2.7.tgz", + "integrity": "sha512-2N8QhatkyKgSUbAGZO2FYLioxA32+RyI1EplVLawbpkGjUeui9Qg9VMrpkCaik1ydjFjfLV+kzQ0cGEsMrMenQ==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/oswald": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/oswald/-/oswald-5.2.8.tgz", + "integrity": "sha512-sIXwfKbyHOATgBWOlpR73VMQ8pA8XCToiyy6sL02ZfYEZPpW18TLtpxPBpYXId7xKbWCousOTzlJsa/9rTd8WQ==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/pixelify-sans": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@fontsource-variable/pixelify-sans/-/pixelify-sans-5.2.7.tgz", + "integrity": "sha512-IbQ7po3a7bQuguwyGQ7x7kMUCYvHjzxTdc7lYAcqzgR87MQb+vf8fuu4hjGyFLlWaDhS6QEe0jrS9dmCJ9ZlYw==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/playfair-display": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/playfair-display/-/playfair-display-5.2.8.tgz", + "integrity": "sha512-ZzVIXPOrL85yyOvZYoBzUszIJM+xKkHqni4IYn2CVLaGQQdJR8sBeC8yFNgjxSJ7ludTwta8qpULeOFuk5X75A==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/quicksand": { + "version": "5.2.10", + "resolved": "https://registry.npmjs.org/@fontsource-variable/quicksand/-/quicksand-5.2.10.tgz", + "integrity": "sha512-1uzkzGDwWgtFnxquAXuD7fZV9wHkALb49UPzRXxGTVeeLsNrGnIU0O/pcz6m1U7RDtpHz2qx77JhCpKaq7FrUg==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/roboto": { + "version": "5.2.10", + "resolved": "https://registry.npmjs.org/@fontsource-variable/roboto/-/roboto-5.2.10.tgz", + "integrity": "sha512-LJ0iLg6aHbLzN515gyHzmdTqJzd9NlI95cCg1DW0F5G7KkFqRLBBKBbqEJx4nSu4aby3IKmw3ZH6Fe928IfaSQ==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/roboto-condensed": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/roboto-condensed/-/roboto-condensed-5.2.8.tgz", + "integrity": "sha512-aIZ2kYSoJHkTI4z8x/PRgKX6Zb9TTtSE/u+fUYeiwL+5trP9rhYYEEeNjRttaMqRgoDHcSueArdRZ43wf/i2Kw==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/roboto-mono": { + "version": "5.2.9", + "resolved": "https://registry.npmjs.org/@fontsource-variable/roboto-mono/-/roboto-mono-5.2.9.tgz", + "integrity": "sha512-OzFO2AXlSGcXl/NcXS3CGjImb6rczCByPJ1C+Dzp9kkYOrUPyrGTuAtqPcmA/d+nZGX5oyOWKXLk5BrwVLYqkw==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/source-sans-3": { + "version": "5.2.9", + "resolved": "https://registry.npmjs.org/@fontsource-variable/source-sans-3/-/source-sans-3-5.2.9.tgz", + "integrity": "sha512-K9fkQbb0BNnRmmaU+Gpr6U4IaYKpNzA8t07J6aam2i+6v84RT72MVpar8OBr3yYAEznj4riKivPQ2nAF2fPKsw==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/space-grotesk": { + "version": "5.2.10", + "resolved": "https://registry.npmjs.org/@fontsource-variable/space-grotesk/-/space-grotesk-5.2.10.tgz", + "integrity": "sha512-yJQO/o35/hAP3CFnpdFTwQku2yzJOae2HIpBmqkOVoxhhXJaQP3g+b6Jrz7u+eI7A5ZdCIf88uMWpBJdFiGr5w==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/work-sans": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/work-sans/-/work-sans-5.2.8.tgz", + "integrity": "sha512-8uWtTt0/B5NxGie9xUVD5y5Ch4Q+Hy7kFYKtUpwYbzSAgJEoaMxT8rMnfnK7zfAYSLC8GnGO1/tXrFtKIYYQVQ==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/barlow-condensed": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource/barlow-condensed/-/barlow-condensed-5.2.8.tgz", + "integrity": "sha512-cmCWNfh7oCmfarGDlhiJRkl4HOgt9aOqki7IYtDOaI3qLCeEO/8VjiZeAx/2PEPf4K36YxXDjAlOWwW/anQUZA==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/bebas-neue": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@fontsource/bebas-neue/-/bebas-neue-5.2.7.tgz", + "integrity": "sha512-DsmBrmq55d9BCU0mt4DT4RZDdH8vhWRKEUOfbuNB1EEjMuwbtFvM8N+3gIlkYSFbsb10P8Q19BV5OdpMu2h0fA==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/dm-serif-display": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource/dm-serif-display/-/dm-serif-display-5.2.8.tgz", + "integrity": "sha512-GYSDSlGU6vyhv9a5MwaiVNf9HCuSVpK8hEFRyG4NNDHCDeHiX7YHDAcWsaoLKKcfXLgWG9YkBkk9T3SxM4rAjQ==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/fira-mono": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@fontsource/fira-mono/-/fira-mono-5.2.7.tgz", + "integrity": "sha512-wYrAn6i3nH6luqQBZxtWUpl4UTUvs9AEbEeZxksPMwIqyjRRaxHTNW3c2VfM50gabS2IS7pT8lVWS2USB4ukYA==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/great-vibes": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource/great-vibes/-/great-vibes-5.2.8.tgz", + "integrity": "sha512-/PATz436NGixjNaigierUpv50wfNv2UhAAijcCPkn4ynvl41x66TCLbXVSVfp4pth9gjWnGqgoj0lVIhHapAuw==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/ibm-plex-mono": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@fontsource/ibm-plex-mono/-/ibm-plex-mono-5.2.7.tgz", + "integrity": "sha512-MKAb8qV+CaiMQn2B0dIi1OV3565NYzp3WN5b4oT6LTkk+F0jR6j0ZN+5BKJiIhffDC3rtBULsYZE65+0018z9w==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/ibm-plex-sans": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource/ibm-plex-sans/-/ibm-plex-sans-5.2.8.tgz", + "integrity": "sha512-eztSXjDhPhcpxNIiGTgMebdLP9qS4rWkysuE1V7c+DjOR0qiezaiDaTwQE7bTnG5HxAY/8M43XKDvs3cYq6ZYQ==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/nerko-one": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@fontsource/nerko-one/-/nerko-one-5.2.7.tgz", + "integrity": "sha512-C1809DeN68WHx5Rv4rijXLcTbRRZJiXBI3KVzXbVl1KwAHyF5fcuag7lPF5+lNCWhPqefV16ELEVP+G3byqzBA==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/orbitron": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource/orbitron/-/orbitron-5.2.8.tgz", + "integrity": "sha512-ruzrDl5vnqNykk5DZWY0Ezj4aeFZSbCnwJTc/98ojNJHSsHhlhT2r7rwQrA5sptmF8JtB8TQTAvlfRvcV28RPw==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/patrick-hand": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource/patrick-hand/-/patrick-hand-5.2.8.tgz", + "integrity": "sha512-FZx34VLuiF+Pjv/A/m1bTxjR6hAvmL6vdCp62uypVdgFvSrPrBOxX+vCXVy8lfNVFqvKfm/ghun+aaYVYqfBEg==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/poppins": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@fontsource/poppins/-/poppins-5.2.7.tgz", + "integrity": "sha512-6uQyPmseo4FgI97WIhA4yWRlNaoLk4vSDK/PyRwdqqZb5zAEuc+Kunt8JTMcsHYUEGYBtN15SNkMajMdqUSUmg==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/rajdhani": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@fontsource/rajdhani/-/rajdhani-5.2.7.tgz", + "integrity": "sha512-7Gy10U688fCdeFfYKebUF2TZotdgH/ghKyMsseXPmB60lpaUHC8aoCSJl5/OpZ+KHKSU2TqBfKfteVkcIXxTAQ==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/roboto-slab": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource/roboto-slab/-/roboto-slab-5.2.8.tgz", + "integrity": "sha512-8+iMCsoUZsDwQUe5omwCp7JPNTVdyAgay5AdhmnFZPEVIVabujrmYaFkSuZ1+GUemPEWlzEQ6aQkg2mPL84SAA==", + "license": "Apache-2.0", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/varela-round": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource/varela-round/-/varela-round-5.2.8.tgz", + "integrity": "sha512-9jati7lFSnJlz95e8nxTDFqvKNs3XY9fqYb6f8bUXCLa0iDGp0cvdkwRaTNYjYtrpB+ymrHMeNoVo5oEd/ubcg==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@gsap/react": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@gsap/react/-/react-2.1.2.tgz", + "integrity": "sha512-JqliybO1837UcgH2hVOM4VO+38APk3ECNrsuSM4MuXp+rbf+/2IG2K1YJiqfTcXQHH7XlA0m3ykniFYstfq0Iw==", + "license": "SEE LICENSE AT https://gsap.com/standard-license", + "peerDependencies": { + "gsap": "^3.12.5", + "react": ">=17" + } + }, "node_modules/@headlessui/react": { "version": "2.2.10", "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-2.2.10.tgz", @@ -782,6 +1231,29 @@ "dev": true, "license": "MIT" }, + "node_modules/@monaco-editor/loader": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.7.0.tgz", + "integrity": "sha512-gIwR1HrJrrx+vfyOhYmCZ0/JcWqG5kbfG7+d3f/C1LXk2EvzAbHSg3MQ5lO2sMlo9izoAZ04shohfKLVT6crVA==", + "license": "MIT", + "dependencies": { + "state-local": "^1.0.6" + } + }, + "node_modules/@monaco-editor/react": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@monaco-editor/react/-/react-4.7.0.tgz", + "integrity": "sha512-cyzXQCtO47ydzxpQtCGSQGOC8Gk3ZUeBXFAxD+CWXYFo5OqZyZUonFl0DwUlTyAfRHntBfw2p3w4s9R6oe1eCA==", + "license": "MIT", + "dependencies": { + "@monaco-editor/loader": "^1.5.0" + }, + "peerDependencies": { + "monaco-editor": ">= 0.25.0 < 1", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, "node_modules/@napi-rs/wasm-runtime": { "version": "0.2.12", "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz", @@ -795,9 +1267,9 @@ } }, "node_modules/@oxc-project/types": { - "version": "0.128.0", - "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.128.0.tgz", - "integrity": "sha512-huv1Y/LzBJkBVHt3OlC7u0zHBW9qXf1FdD7sGmc1rXc2P1mTwHssYv7jyGx5KAACSCH+9B3Bhn6Z9luHRvf7pQ==", + "version": "0.129.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.129.0.tgz", + "integrity": "sha512-3oz8m3FGdr2nDXVqmFUw7jolKliC4MoyXYIG2c7gpjBnzUWQpUGIYcXYKxTdTi+N2jusvt610ckTMkxdwHkYEg==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/Boshen" @@ -815,13 +1287,13 @@ "integrity": "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==", "license": "MIT" }, - "node_modules/@radix-ui/react-arrow": { + "node_modules/@radix-ui/react-accessible-icon": { "version": "1.1.7", - "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.7.tgz", - "integrity": "sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==", + "resolved": "https://registry.npmjs.org/@radix-ui/react-accessible-icon/-/react-accessible-icon-1.1.7.tgz", + "integrity": "sha512-XM+E4WXl0OqUJFovy6GjmxxFyx9opfCAIUku4dlKRd5YEPqt4kALOkQOp0Of6reHuUkJuiPBEc5k0o4z4lTC8A==", "license": "MIT", "dependencies": { - "@radix-ui/react-primitive": "2.1.3" + "@radix-ui/react-visually-hidden": "1.2.3" }, "peerDependencies": { "@types/react": "*", @@ -838,13 +1310,21 @@ } } }, - "node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-primitive": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", - "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "node_modules/@radix-ui/react-accordion": { + "version": "1.2.12", + "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.2.12.tgz", + "integrity": "sha512-T4nygeh9YE9dLRPhAHSeOZi7HBXo+0kYIPJXayZfvWOWA0+n3dESrZbjfDPUABkUNym6Hd+f2IR113To8D2GPA==", "license": "MIT", "dependencies": { - "@radix-ui/react-slot": "1.2.3" + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-collapsible": "1.1.12", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", @@ -861,14 +1341,11 @@ } } }, - "node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-slot": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", - "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", "license": "MIT", - "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2" - }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" @@ -879,17 +1356,13 @@ } } }, - "node_modules/@radix-ui/react-avatar": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/@radix-ui/react-avatar/-/react-avatar-1.1.11.tgz", - "integrity": "sha512-0Qk603AHGV28BOBO34p7IgD5m+V5Sg/YovfayABkoDDBM5d3NCx0Mp4gGrjzLGes1jV5eNOE1r3itqOR33VC6Q==", + "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", "license": "MIT", "dependencies": { - "@radix-ui/react-context": "1.1.3", - "@radix-ui/react-primitive": "2.1.4", - "@radix-ui/react-use-callback-ref": "1.1.1", - "@radix-ui/react-use-is-hydrated": "0.1.0", - "@radix-ui/react-use-layout-effect": "1.1.1" + "@radix-ui/react-slot": "1.2.3" }, "peerDependencies": { "@types/react": "*", @@ -906,20 +1379,36 @@ } } }, - "node_modules/@radix-ui/react-checkbox": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-checkbox/-/react-checkbox-1.3.3.tgz", - "integrity": "sha512-wBbpv+NQftHDdG86Qc0pIyXk5IR3tM8Vd0nWLKDcX8nNn4nXFOFwsKuqw2okA/1D/mpaAkmuyndrPJTYDNZtFw==", + "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-alert-dialog": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-alert-dialog/-/react-alert-dialog-1.1.15.tgz", + "integrity": "sha512-oTVLkEw5GpdRe29BqJ0LSDFWI3qu0vR1M0mUkOQWDIUnY/QIkLpgDMWuKxP94c2NAC2LGcgVhG1ImF3jkZ5wXw==", "license": "MIT", "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-dialog": "1.1.15", "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-controllable-state": "1.2.2", - "@radix-ui/react-use-previous": "1.1.1", - "@radix-ui/react-use-size": "1.1.1" + "@radix-ui/react-slot": "1.2.3" }, "peerDependencies": { "@types/react": "*", @@ -936,7 +1425,7 @@ } } }, - "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-context": { + "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-context": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", @@ -951,7 +1440,7 @@ } } }, - "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-primitive": { + "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-primitive": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", @@ -974,7 +1463,7 @@ } } }, - "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-slot": { + "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", @@ -992,20 +1481,13 @@ } } }, - "node_modules/@radix-ui/react-collapsible": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.12.tgz", - "integrity": "sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA==", + "node_modules/@radix-ui/react-arrow": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.7.tgz", + "integrity": "sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==", "license": "MIT", "dependencies": { - "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-presence": "1.1.5", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-controllable-state": "1.2.2", - "@radix-ui/react-use-layout-effect": "1.1.1" + "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", @@ -1022,9 +1504,1395 @@ } } }, - "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-context": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-aspect-ratio": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-aspect-ratio/-/react-aspect-ratio-1.1.7.tgz", + "integrity": "sha512-Yq6lvO9HQyPwev1onK1daHCHqXVLzPhSVjmsNjCa2Zcxy2f7uJD2itDtxknv6FzAKCwD1qQkeVDmX/cev13n/g==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-aspect-ratio/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-aspect-ratio/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-avatar": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@radix-ui/react-avatar/-/react-avatar-1.1.11.tgz", + "integrity": "sha512-0Qk603AHGV28BOBO34p7IgD5m+V5Sg/YovfayABkoDDBM5d3NCx0Mp4gGrjzLGes1jV5eNOE1r3itqOR33VC6Q==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-context": "1.1.3", + "@radix-ui/react-primitive": "2.1.4", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-is-hydrated": "0.1.0", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-checkbox": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-checkbox/-/react-checkbox-1.3.3.tgz", + "integrity": "sha512-wBbpv+NQftHDdG86Qc0pIyXk5IR3tM8Vd0nWLKDcX8nNn4nXFOFwsKuqw2okA/1D/mpaAkmuyndrPJTYDNZtFw==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-previous": "1.1.1", + "@radix-ui/react-use-size": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collapsible": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.12.tgz", + "integrity": "sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collection": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.7.tgz", + "integrity": "sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz", + "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-context": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.3.tgz", + "integrity": "sha512-ieIFACdMpYfMEjF0rEf5KLvfVyIkOz6PDGyNnP+u+4xQ6jny3VCgA4OgXOwNx2aUkxn8zx9fiVcM8CfFYv9Lxw==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-context-menu": { + "version": "2.2.16", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context-menu/-/react-context-menu-2.2.16.tgz", + "integrity": "sha512-O8morBEW+HsVG28gYDZPTrT9UUovQUlJue5YO836tiTJhuIWBm/zQHc7j388sHWtdH/xUZurK9olD2+pcqx5ww==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-menu": "2.1.16", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-context-menu/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-context-menu/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-context-menu/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.15.tgz", + "integrity": "sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-focus-guards": "1.1.3", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-direction": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.1.tgz", + "integrity": "sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dismissable-layer": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.11.tgz", + "integrity": "sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-escape-keydown": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dropdown-menu": { + "version": "2.1.16", + "resolved": "https://registry.npmjs.org/@radix-ui/react-dropdown-menu/-/react-dropdown-menu-2.1.16.tgz", + "integrity": "sha512-1PLGQEynI/3OX/ftV54COn+3Sud/Mn8vALg2rWnBLnRaGtJDduNW/22XjlGgPdpcIbiQxjKtb7BkcjP00nqfJw==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-menu": "2.1.16", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-guards": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.3.tgz", + "integrity": "sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-scope": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz", + "integrity": "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-form": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/@radix-ui/react-form/-/react-form-0.1.8.tgz", + "integrity": "sha512-QM70k4Zwjttifr5a4sZFts9fn8FzHYvQ5PiB19O2HsYibaHSVt9fH9rzB0XZo/YcM+b7t/p7lYCT/F5eOeF5yQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-label": "2.1.7", + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-form/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-form/node_modules/@radix-ui/react-label": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.1.7.tgz", + "integrity": "sha512-YT1GqPSL8kJn20djelMX7/cTRp/Y9w5IZHvfxQTVHrOqa2yMl7i/UfMqKRU5V7mEyKTrUVgJXhNQPVCG8PBLoQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-form/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-form/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-hover-card": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-hover-card/-/react-hover-card-1.1.15.tgz", + "integrity": "sha512-qgTkjNT1CfKMoP0rcasmlH2r1DAiYicWsDsufxl940sT2wHNEWWv6FMWIQXWhVdmC1d/HYfbhQx60KYyAtKxjg==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-popper": "1.2.8", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-hover-card/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-hover-card/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-hover-card/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-id": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.1.tgz", + "integrity": "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-label": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.1.8.tgz", + "integrity": "sha512-FmXs37I6hSBVDlO4y764TNz1rLgKwjJMQ0EGte6F3Cb3f4bIuHB/iLa/8I9VKkmOy+gNHq8rql3j686ACVV21A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.4" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-menu": { + "version": "2.1.16", + "resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.1.16.tgz", + "integrity": "sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-focus-guards": "1.1.3", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-popper": "1.2.8", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-roving-focus": "1.1.11", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-menubar": { + "version": "1.1.16", + "resolved": "https://registry.npmjs.org/@radix-ui/react-menubar/-/react-menubar-1.1.16.tgz", + "integrity": "sha512-EB1FktTz5xRRi2Er974AUQZWg2yVBb1yjip38/lgwtCVRd3a+maUoGHN/xs9Yv8SY8QwbSEb+YrxGadVWbEutA==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-menu": "2.1.16", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-roving-focus": "1.1.11", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-menubar/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-menubar/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-menubar/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-navigation-menu": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@radix-ui/react-navigation-menu/-/react-navigation-menu-1.2.14.tgz", + "integrity": "sha512-YB9mTFQvCOAQMHU+C/jVl96WmuWeltyUEpRJJky51huhds5W2FQr1J8D/16sQlf0ozxkPK8uF3niQMdUwZPv5w==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-layout-effect": "1.1.1", + "@radix-ui/react-use-previous": "1.1.1", + "@radix-ui/react-visually-hidden": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-navigation-menu/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-navigation-menu/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-navigation-menu/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-one-time-password-field": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/@radix-ui/react-one-time-password-field/-/react-one-time-password-field-0.1.8.tgz", + "integrity": "sha512-ycS4rbwURavDPVjCb5iS3aG4lURFDILi6sKI/WITUMZ13gMmn/xGjpLoqBAalhJaDk8I3UbCM5GzKHrnzwHbvg==", + "license": "MIT", + "dependencies": { + "@radix-ui/number": "1.1.1", + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-roving-focus": "1.1.11", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-effect-event": "0.0.2", + "@radix-ui/react-use-is-hydrated": "0.1.0", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-one-time-password-field/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", "license": "MIT", "peerDependencies": { @@ -1037,7 +2905,7 @@ } } }, - "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-primitive": { + "node_modules/@radix-ui/react-one-time-password-field/node_modules/@radix-ui/react-primitive": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", @@ -1060,7 +2928,7 @@ } } }, - "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-slot": { + "node_modules/@radix-ui/react-one-time-password-field/node_modules/@radix-ui/react-slot": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", @@ -1078,16 +2946,20 @@ } } }, - "node_modules/@radix-ui/react-collection": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.7.tgz", - "integrity": "sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==", + "node_modules/@radix-ui/react-password-toggle-field": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-password-toggle-field/-/react-password-toggle-field-0.1.3.tgz", + "integrity": "sha512-/UuCrDBWravcaMix4TdT+qlNdVwOM1Nck9kWx/vafXsdfj1ChfhOdfi3cy9SGBpWgTXwYCuboT/oYpJy3clqfw==", "license": "MIT", "dependencies": { + "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-id": "1.1.1", "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-slot": "1.2.3" + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-effect-event": "0.0.2", + "@radix-ui/react-use-is-hydrated": "0.1.0" }, "peerDependencies": { "@types/react": "*", @@ -1104,7 +2976,7 @@ } } }, - "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-context": { + "node_modules/@radix-ui/react-password-toggle-field/node_modules/@radix-ui/react-context": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", @@ -1119,7 +2991,7 @@ } } }, - "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-primitive": { + "node_modules/@radix-ui/react-password-toggle-field/node_modules/@radix-ui/react-primitive": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", @@ -1142,7 +3014,7 @@ } } }, - "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot": { + "node_modules/@radix-ui/react-password-toggle-field/node_modules/@radix-ui/react-slot": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", @@ -1160,10 +3032,47 @@ } } }, - "node_modules/@radix-ui/react-compose-refs": { + "node_modules/@radix-ui/react-popover": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.1.15.tgz", + "integrity": "sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-focus-guards": "1.1.3", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-popper": "1.2.8", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-context": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz", - "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", "license": "MIT", "peerDependencies": { "@types/react": "*", @@ -1175,11 +3084,37 @@ } } }, - "node_modules/@radix-ui/react-context": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.3.tgz", - "integrity": "sha512-ieIFACdMpYfMEjF0rEf5KLvfVyIkOz6PDGyNnP+u+4xQ6jny3VCgA4OgXOwNx2aUkxn8zx9fiVcM8CfFYv9Lxw==", + "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" @@ -1190,26 +3125,22 @@ } } }, - "node_modules/@radix-ui/react-dialog": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.15.tgz", - "integrity": "sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==", + "node_modules/@radix-ui/react-popper": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.2.8.tgz", + "integrity": "sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==", "license": "MIT", "dependencies": { - "@radix-ui/primitive": "1.1.3", + "@floating-ui/react-dom": "^2.0.0", + "@radix-ui/react-arrow": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-dismissable-layer": "1.1.11", - "@radix-ui/react-focus-guards": "1.1.3", - "@radix-ui/react-focus-scope": "1.1.7", - "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-portal": "1.1.9", - "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-slot": "1.2.3", - "@radix-ui/react-use-controllable-state": "1.2.2", - "aria-hidden": "^1.2.4", - "react-remove-scroll": "^2.6.3" + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-layout-effect": "1.1.1", + "@radix-ui/react-use-rect": "1.1.1", + "@radix-ui/react-use-size": "1.1.1", + "@radix-ui/rect": "1.1.1" }, "peerDependencies": { "@types/react": "*", @@ -1226,7 +3157,7 @@ } } }, - "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context": { + "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-context": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", @@ -1241,7 +3172,7 @@ } } }, - "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive": { + "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-primitive": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", @@ -1264,7 +3195,7 @@ } } }, - "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot": { + "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-slot": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", @@ -1282,32 +3213,126 @@ } } }, - "node_modules/@radix-ui/react-direction": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.1.tgz", - "integrity": "sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==", + "node_modules/@radix-ui/react-portal": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.9.tgz", + "integrity": "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-presence": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.5.tgz", + "integrity": "sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-primitive": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz", + "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==", "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.4" + }, "peerDependencies": { "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { "optional": true + }, + "@types/react-dom": { + "optional": true } } }, - "node_modules/@radix-ui/react-dismissable-layer": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.11.tgz", - "integrity": "sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==", + "node_modules/@radix-ui/react-progress": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-progress/-/react-progress-1.1.7.tgz", + "integrity": "sha512-vPdg/tF6YC/ynuBIJlk1mm7Le0VgW6ub6J2UWnTQ7/D23KXcPI1qy+0vBkgKgd38RCMJavBXpB83HPNFMTb0Fg==", "license": "MIT", "dependencies": { - "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-callback-ref": "1.1.1", - "@radix-ui/react-use-escape-keydown": "1.1.1" + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", @@ -1324,7 +3349,22 @@ } } }, - "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-primitive": { + "node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", @@ -1347,7 +3387,7 @@ } } }, - "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-slot": { + "node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-slot": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", @@ -1365,19 +3405,22 @@ } } }, - "node_modules/@radix-ui/react-dropdown-menu": { - "version": "2.1.16", - "resolved": "https://registry.npmjs.org/@radix-ui/react-dropdown-menu/-/react-dropdown-menu-2.1.16.tgz", - "integrity": "sha512-1PLGQEynI/3OX/ftV54COn+3Sud/Mn8vALg2rWnBLnRaGtJDduNW/22XjlGgPdpcIbiQxjKtb7BkcjP00nqfJw==", + "node_modules/@radix-ui/react-radio-group": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/@radix-ui/react-radio-group/-/react-radio-group-1.3.8.tgz", + "integrity": "sha512-VBKYIYImA5zsxACdisNQ3BjCBfmbGH3kQlnFVqlWU4tXwjy7cGX8ta80BcrO+WJXIn5iBylEH3K6ZTlee//lgQ==", "license": "MIT", "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-menu": "2.1.16", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-controllable-state": "1.2.2" + "@radix-ui/react-roving-focus": "1.1.11", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-previous": "1.1.1", + "@radix-ui/react-use-size": "1.1.1" }, "peerDependencies": { "@types/react": "*", @@ -1394,7 +3437,7 @@ } } }, - "node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-context": { + "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-context": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", @@ -1409,7 +3452,7 @@ } } }, - "node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-primitive": { + "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-primitive": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", @@ -1432,7 +3475,7 @@ } } }, - "node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-slot": { + "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-slot": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", @@ -1450,30 +3493,21 @@ } } }, - "node_modules/@radix-ui/react-focus-guards": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.3.tgz", - "integrity": "sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==", - "license": "MIT", - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-focus-scope": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz", - "integrity": "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==", + "node_modules/@radix-ui/react-roving-focus": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.11.tgz", + "integrity": "sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==", "license": "MIT", "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-id": "1.1.1", "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-callback-ref": "1.1.1" + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", @@ -1490,7 +3524,22 @@ } } }, - "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive": { + "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-primitive": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", @@ -1513,7 +3562,7 @@ } } }, - "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-slot": { + "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-slot": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", @@ -1531,71 +3580,21 @@ } } }, - "node_modules/@radix-ui/react-id": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.1.tgz", - "integrity": "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==", - "license": "MIT", - "dependencies": { - "@radix-ui/react-use-layout-effect": "1.1.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-label": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.1.8.tgz", - "integrity": "sha512-FmXs37I6hSBVDlO4y764TNz1rLgKwjJMQ0EGte6F3Cb3f4bIuHB/iLa/8I9VKkmOy+gNHq8rql3j686ACVV21A==", - "license": "MIT", - "dependencies": { - "@radix-ui/react-primitive": "2.1.4" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-menu": { - "version": "2.1.16", - "resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.1.16.tgz", - "integrity": "sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==", + "node_modules/@radix-ui/react-scroll-area": { + "version": "1.2.10", + "resolved": "https://registry.npmjs.org/@radix-ui/react-scroll-area/-/react-scroll-area-1.2.10.tgz", + "integrity": "sha512-tAXIa1g3sM5CGpVT0uIbUx/U3Gs5N8T52IICuCtObaos1S8fzsrPXG5WObkQN3S6NVl6wKgPhAIiBGbWnvc97A==", "license": "MIT", "dependencies": { + "@radix-ui/number": "1.1.1", "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", - "@radix-ui/react-dismissable-layer": "1.1.11", - "@radix-ui/react-focus-guards": "1.1.3", - "@radix-ui/react-focus-scope": "1.1.7", - "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-popper": "1.2.8", - "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-roving-focus": "1.1.11", - "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-callback-ref": "1.1.1", - "aria-hidden": "^1.2.4", - "react-remove-scroll": "^2.6.3" + "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", @@ -1612,7 +3611,7 @@ } } }, - "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-context": { + "node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-context": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", @@ -1627,7 +3626,7 @@ } } }, - "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-primitive": { + "node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-primitive": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", @@ -1650,7 +3649,7 @@ } } }, - "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot": { + "node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-slot": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", @@ -1668,26 +3667,33 @@ } } }, - "node_modules/@radix-ui/react-navigation-menu": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@radix-ui/react-navigation-menu/-/react-navigation-menu-1.2.14.tgz", - "integrity": "sha512-YB9mTFQvCOAQMHU+C/jVl96WmuWeltyUEpRJJky51huhds5W2FQr1J8D/16sQlf0ozxkPK8uF3niQMdUwZPv5w==", + "node_modules/@radix-ui/react-select": { + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/@radix-ui/react-select/-/react-select-2.2.6.tgz", + "integrity": "sha512-I30RydO+bnn2PQztvo25tswPH+wFBjehVGtmagkU78yMdwTwVf12wnAOF+AeP8S2N8xD+5UPbGhkUfPyvT+mwQ==", "license": "MIT", "dependencies": { + "@radix-ui/number": "1.1.1", "@radix-ui/primitive": "1.1.3", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-focus-guards": "1.1.3", + "@radix-ui/react-focus-scope": "1.1.7", "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-popper": "1.2.8", + "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1", "@radix-ui/react-use-previous": "1.1.1", - "@radix-ui/react-visually-hidden": "1.2.3" + "@radix-ui/react-visually-hidden": "1.2.3", + "aria-hidden": "^1.2.4", + "react-remove-scroll": "^2.6.3" }, "peerDependencies": { "@types/react": "*", @@ -1704,7 +3710,7 @@ } } }, - "node_modules/@radix-ui/react-navigation-menu/node_modules/@radix-ui/react-context": { + "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-context": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", @@ -1719,7 +3725,7 @@ } } }, - "node_modules/@radix-ui/react-navigation-menu/node_modules/@radix-ui/react-primitive": { + "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-primitive": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", @@ -1742,7 +3748,7 @@ } } }, - "node_modules/@radix-ui/react-navigation-menu/node_modules/@radix-ui/react-slot": { + "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", @@ -1760,22 +3766,46 @@ } } }, - "node_modules/@radix-ui/react-popper": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.2.8.tgz", - "integrity": "sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==", + "node_modules/@radix-ui/react-separator": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.8.tgz", + "integrity": "sha512-sDvqVY4itsKwwSMEe0jtKgfTh+72Sy3gPmQpjqcQneqQ4PFmr/1I0YA+2/puilhggCe2gJcx5EBAYFkWkdpa5g==", "license": "MIT", "dependencies": { - "@floating-ui/react-dom": "^2.0.0", - "@radix-ui/react-arrow": "1.1.7", + "@radix-ui/react-primitive": "2.1.4" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-slider": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slider/-/react-slider-1.3.6.tgz", + "integrity": "sha512-JPYb1GuM1bxfjMRlNLE+BcmBC8onfCi60Blk7OBqi2MLTFdS+8401U4uFjnwkOr49BLmXxLC6JHkvAsx5OJvHw==", + "license": "MIT", + "dependencies": { + "@radix-ui/number": "1.1.1", + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1", - "@radix-ui/react-use-rect": "1.1.1", - "@radix-ui/react-use-size": "1.1.1", - "@radix-ui/rect": "1.1.1" + "@radix-ui/react-use-previous": "1.1.1", + "@radix-ui/react-use-size": "1.1.1" }, "peerDependencies": { "@types/react": "*", @@ -1792,7 +3822,7 @@ } } }, - "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-context": { + "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-context": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", @@ -1807,7 +3837,7 @@ } } }, - "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-primitive": { + "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-primitive": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", @@ -1830,7 +3860,7 @@ } } }, - "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-slot": { + "node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-slot": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", @@ -1848,37 +3878,37 @@ } } }, - "node_modules/@radix-ui/react-portal": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.9.tgz", - "integrity": "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==", + "node_modules/@radix-ui/react-slot": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz", + "integrity": "sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==", "license": "MIT", "dependencies": { - "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-layout-effect": "1.1.1" + "@radix-ui/react-compose-refs": "1.1.2" }, "peerDependencies": { "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { "optional": true - }, - "@types/react-dom": { - "optional": true } } }, - "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", - "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "node_modules/@radix-ui/react-switch": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@radix-ui/react-switch/-/react-switch-1.2.6.tgz", + "integrity": "sha512-bByzr1+ep1zk4VubeEVViV592vu2lHE2BZY5OnzehZqOOgogN80+mNtCqPkhn2gklJqOpxWgPoYTSnhBCqpOXQ==", "license": "MIT", "dependencies": { - "@radix-ui/react-slot": "1.2.3" + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-previous": "1.1.1", + "@radix-ui/react-use-size": "1.1.1" }, "peerDependencies": { "@types/react": "*", @@ -1895,14 +3925,11 @@ } } }, - "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-slot": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", - "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", "license": "MIT", - "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2" - }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" @@ -1913,14 +3940,13 @@ } } }, - "node_modules/@radix-ui/react-presence": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.5.tgz", - "integrity": "sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==", + "node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", "license": "MIT", "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2", - "@radix-ui/react-use-layout-effect": "1.1.1" + "@radix-ui/react-slot": "1.2.3" }, "peerDependencies": { "@types/react": "*", @@ -1937,43 +3963,37 @@ } } }, - "node_modules/@radix-ui/react-primitive": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz", - "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==", + "node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", "license": "MIT", "dependencies": { - "@radix-ui/react-slot": "1.2.4" + "@radix-ui/react-compose-refs": "1.1.2" }, "peerDependencies": { "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { "optional": true - }, - "@types/react-dom": { - "optional": true } } }, - "node_modules/@radix-ui/react-roving-focus": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.11.tgz", - "integrity": "sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==", + "node_modules/@radix-ui/react-tabs": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.1.13.tgz", + "integrity": "sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A==", "license": "MIT", "dependencies": { "@radix-ui/primitive": "1.1.3", - "@radix-ui/react-collection": "1.1.7", - "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-id": "1.1.1", + "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-roving-focus": "1.1.11", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { @@ -1991,7 +4011,7 @@ } } }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-context": { + "node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-context": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", @@ -2006,7 +4026,7 @@ } } }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-primitive": { + "node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-primitive": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", @@ -2029,7 +4049,7 @@ } } }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-slot": { + "node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-slot": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", @@ -2047,33 +4067,24 @@ } } }, - "node_modules/@radix-ui/react-select": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/@radix-ui/react-select/-/react-select-2.2.6.tgz", - "integrity": "sha512-I30RydO+bnn2PQztvo25tswPH+wFBjehVGtmagkU78yMdwTwVf12wnAOF+AeP8S2N8xD+5UPbGhkUfPyvT+mwQ==", + "node_modules/@radix-ui/react-toast": { + "version": "1.2.15", + "resolved": "https://registry.npmjs.org/@radix-ui/react-toast/-/react-toast-1.2.15.tgz", + "integrity": "sha512-3OSz3TacUWy4WtOXV38DggwxoqJK4+eDkNMl5Z/MJZaoUPaP4/9lf81xXMe1I2ReTAptverZUpbPY4wWwWyL5g==", "license": "MIT", "dependencies": { - "@radix-ui/number": "1.1.1", "@radix-ui/primitive": "1.1.3", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", - "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-dismissable-layer": "1.1.11", - "@radix-ui/react-focus-guards": "1.1.3", - "@radix-ui/react-focus-scope": "1.1.7", - "@radix-ui/react-id": "1.1.1", - "@radix-ui/react-popper": "1.2.8", "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", - "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1", - "@radix-ui/react-use-previous": "1.1.1", - "@radix-ui/react-visually-hidden": "1.2.3", - "aria-hidden": "^1.2.4", - "react-remove-scroll": "^2.6.3" + "@radix-ui/react-visually-hidden": "1.2.3" }, "peerDependencies": { "@types/react": "*", @@ -2090,7 +4101,7 @@ } } }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-context": { + "node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-context": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", @@ -2105,7 +4116,7 @@ } } }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-primitive": { + "node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-primitive": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", @@ -2128,7 +4139,7 @@ } } }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot": { + "node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-slot": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", @@ -2146,47 +4157,6 @@ } } }, - "node_modules/@radix-ui/react-separator": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.8.tgz", - "integrity": "sha512-sDvqVY4itsKwwSMEe0jtKgfTh+72Sy3gPmQpjqcQneqQ4PFmr/1I0YA+2/puilhggCe2gJcx5EBAYFkWkdpa5g==", - "license": "MIT", - "dependencies": { - "@radix-ui/react-primitive": "2.1.4" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-slot": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz", - "integrity": "sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==", - "license": "MIT", - "dependencies": { - "@radix-ui/react-compose-refs": "1.1.2" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, "node_modules/@radix-ui/react-toggle": { "version": "1.1.10", "resolved": "https://registry.npmjs.org/@radix-ui/react-toggle/-/react-toggle-1.1.10.tgz", @@ -2338,6 +4308,114 @@ } } }, + "node_modules/@radix-ui/react-toolbar": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@radix-ui/react-toolbar/-/react-toolbar-1.1.11.tgz", + "integrity": "sha512-4ol06/1bLoFu1nwUqzdD4Y5RZ9oDdKeiHIsntug54Hcr1pgaHiPqHFEaXI1IFP/EsOfROQZ8Mig9VTIRza6Tjg==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-roving-focus": "1.1.11", + "@radix-ui/react-separator": "1.1.7", + "@radix-ui/react-toggle-group": "1.1.11" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toolbar/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toolbar/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toolbar/node_modules/@radix-ui/react-separator": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.7.tgz", + "integrity": "sha512-0HEb8R9E8A+jZjvmFCy/J4xhbXy3TV+9XSnGJ3KvTtjlIUy/YQ/p6UYZvi7YbeoeXdyU9+Y3scizK6hkY37baA==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toolbar/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-tooltip": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-1.2.8.tgz", @@ -2690,10 +4768,46 @@ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, + "node_modules/@reduxjs/toolkit": { + "version": "2.11.2", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.11.2.tgz", + "integrity": "sha512-Kd6kAHTA6/nUpp8mySPqj3en3dm0tdMIgbttnQ1xFMVpufoj+ADi8pXLBsd4xzTRHQa7t/Jv8W5UnCuW4kuWMQ==", + "license": "MIT", + "dependencies": { + "@standard-schema/spec": "^1.0.0", + "@standard-schema/utils": "^0.3.0", + "immer": "^11.0.0", + "redux": "^5.0.1", + "redux-thunk": "^3.1.0", + "reselect": "^5.1.0" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18 || ^19", + "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-redux": { + "optional": true + } + } + }, + "node_modules/@reduxjs/toolkit/node_modules/immer": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/immer/-/immer-11.1.8.tgz", + "integrity": "sha512-/tbkHMW7y10Lx6i1crLjD4/OhNkRG+Fo7byZHtah0547nIeXYcpIXaUh0IAQY6gO5459qpGGYapcEOHtFXkIuA==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, "node_modules/@rolldown/binding-android-arm64": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-rc.18.tgz", - "integrity": "sha512-lIDyUAfD7U3+BWKzdxMbJcsYHuqXqmGz40aeRqvuAm3y5TkJSYTBW2RDrn65DJFPQqVjUAUqq5uz8urzQ8aBdQ==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0.tgz", + "integrity": "sha512-TWMZnRLMe63C2Lhyicviu7ZHaU4kxa6PS3rofvc9GmcvptzNN11BcfQ4Sl7MwTOsisQoa2keB/EBdNCAnUo8vA==", "cpu": [ "arm64" ], @@ -2707,9 +4821,9 @@ } }, "node_modules/@rolldown/binding-darwin-arm64": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-rc.18.tgz", - "integrity": "sha512-apJq2ktnGp27nSInMR5Vcj8kY6xJzDAvfdIFlpDcAK/w4cDO58qVoi1YQsES/SKiFNge/6e4CUzgjfHduYqWpQ==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0.tgz", + "integrity": "sha512-6XcD+8k0gPVItNagEw78/qqcBDwKcwDYS8V2hRmVsfUSIrd8cWe/CBvRDI5toqFyPfj+FJr6t8U6Xj2P2prEew==", "cpu": [ "arm64" ], @@ -2723,9 +4837,9 @@ } }, "node_modules/@rolldown/binding-darwin-x64": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-rc.18.tgz", - "integrity": "sha512-5Ofot8xbs+pxRHJqm9/9N/4sTQOvdrwEsmPE9pdLEEoAbdZtG6F2LMDfO1sp6ZAtXJuJV/21ew2srq3W8NXB5g==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0.tgz", + "integrity": "sha512-iN/tWVXRQDWvmZlKdceP1Dwug9GDpEymhb9p4xnEe6zvCg5lFmzVljl+1qR1NVx3yfGpr2Na+CuLmv5IU8uzfQ==", "cpu": [ "x64" ], @@ -2739,9 +4853,9 @@ } }, "node_modules/@rolldown/binding-freebsd-x64": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-rc.18.tgz", - "integrity": "sha512-7h8eeOTT1eyqJyx64BFCnWZpNm486hGWt2sqeLLgDxA0xI1oGZ9H7gK1S85uNGmBhkdPwa/6reTxfFFKvIsebw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0.tgz", + "integrity": "sha512-jjQMDvvwSOuhOwMszD/klSOjyWMM3zI64hWTj9KT5x4MxRbZAf+7vLQ6qouRhtsLVFHr3f0ILaJAfgENPiQdAQ==", "cpu": [ "x64" ], @@ -2755,9 +4869,9 @@ } }, "node_modules/@rolldown/binding-linux-arm-gnueabihf": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-rc.18.tgz", - "integrity": "sha512-eRcm/HVt9U/JFu5RKAEKwGQYtDCKWLiaH6wOnsSEp6NMBb/3Os8LgHZlNyzMpFVNmiiMFlfb2zEnebfzJrHFmg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0.tgz", + "integrity": "sha512-d//Dtg2x6/m3mbV64yUGNnDGNZaDGRpDLLNGerHQUVObuNaIQaaDp25yUiqGXtHEXX+NP2d0wAlmKgpYgIAJ2A==", "cpu": [ "arm" ], @@ -2771,12 +4885,15 @@ } }, "node_modules/@rolldown/binding-linux-arm64-gnu": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-rc.18.tgz", - "integrity": "sha512-SOrT/cT4ukTmgnrEz/Hg3m7LBnuCLW9psDeMKrimRWY4I8DmnO7Lco8W2vtqPmMkbVu8iJ+g4GFLVLLOVjJ9DQ==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0.tgz", + "integrity": "sha512-n7Ofp0mx+aB2cC+Sdy5YtMnXtY9lchnHbY+3Yt0uq9JsWQExf4f5Whu0tK0R8Jdc9S6RchTHjIFY7uc92puOVQ==", "cpu": [ "arm64" ], + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -2787,12 +4904,15 @@ } }, "node_modules/@rolldown/binding-linux-arm64-musl": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-rc.18.tgz", - "integrity": "sha512-QWjdxN1HJCpBTAcZ5N5F7wju3gVPzRzSpmGzx7na0c/1qpN9CFil+xt+l9lV/1M6/gqHSNXCiqPfwhVJPeLnug==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0.tgz", + "integrity": "sha512-EIVjy2cgd7uuMMo94FVkBp7F6DhcZAUwNURkSG3RwUmvAXR6s0ISxM81U+IydcZByPG0pZIHsf1b6kTxoFDgJA==", "cpu": [ "arm64" ], + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -2803,12 +4923,15 @@ } }, "node_modules/@rolldown/binding-linux-ppc64-gnu": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.0-rc.18.tgz", - "integrity": "sha512-ugCOyj7a4d9h3q9B+wXmf6g3a68UsjGh6dob5DHevHGMwDUbhsYNbSPxJsENcIttJZ9jv7qGM2UesLw5jqIhdg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.0.tgz", + "integrity": "sha512-JEwwOPcwTLAcpDQlqSmjEmfs63xJnSiUNIGvLcDLUHCWK4XowpS/7c7tUsUH6uT/ct6bMUTdXKfI8967FYj6mg==", "cpu": [ "ppc64" ], + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -2819,12 +4942,15 @@ } }, "node_modules/@rolldown/binding-linux-s390x-gnu": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.0-rc.18.tgz", - "integrity": "sha512-kKWRhbsotpXkGbcd5dllUWg5gEXcDAa8u5YnP9AV5DYNbvJHGzzuwv7dpmhc8NqKMJldl0a+x76IHbspEpEmdA==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.0.tgz", + "integrity": "sha512-0wjCFhLrihtAubnT9iA0N++0pSV0z5Hg7tNGdNJ4RFaINceHadoF+kiFGyY1qSSNVIAZtLotG8Ju1bgDPkjnFA==", "cpu": [ "s390x" ], + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -2835,12 +4961,15 @@ } }, "node_modules/@rolldown/binding-linux-x64-gnu": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-rc.18.tgz", - "integrity": "sha512-uCo8ElcCIAMyYAZyuIZ81oFkhTSIllNvUCHCAlbhlN4ji3uC28h7IIdlXyIvGO7HsuqnV9p3rD/bpH7XhIyhRw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0.tgz", + "integrity": "sha512-Dfn7iak9BcMMePxcoJfpSbWqnEyrp/dRF63/8qW/eHBdOZov6x5aShLLEYGYdIeSJ6vMLK/XCVB+lGIxm41bQA==", "cpu": [ "x64" ], + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -2851,12 +4980,15 @@ } }, "node_modules/@rolldown/binding-linux-x64-musl": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-rc.18.tgz", - "integrity": "sha512-XNOQZtuE6yUIvx4rwGemwh8kpL1xvU41FXy/s9K7T/3JVcqGzo3NfKM2HrbrGgfPYGFW42f07Wk++aOC6B9NWA==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0.tgz", + "integrity": "sha512-5/utzzDmD/pD/bmuaUcbTf/sZYy0aztwIVlfpoW1fTjCZ0BaPOMVWGZL1zvgxyi7ZIVYWlxKONHmSbHuiOh8Jw==", "cpu": [ "x64" ], + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -2867,9 +4999,9 @@ } }, "node_modules/@rolldown/binding-openharmony-arm64": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-rc.18.tgz", - "integrity": "sha512-tSn/kzrfa7tNOXr7sEacDBN4YsIqTyLqh45IO0nHDwtpKIDNDJr+VFojt+4klSpChxB29JLyduSsE0MKEwa65A==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0.tgz", + "integrity": "sha512-ouJs8VcUomfLfpbUECqFMRqdV4x6aeAK3MA4m6vTrJJjKyWTV5KnxZx7Jd9G+GlDaQQxubcba00x16OyJ1meig==", "cpu": [ "arm64" ], @@ -2883,9 +5015,9 @@ } }, "node_modules/@rolldown/binding-wasm32-wasi": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-rc.18.tgz", - "integrity": "sha512-+J9YGmc+czgqlhYmwun3S3O0FIZhsH8ep2456xwjAdIOmuJxM7xz4P4PtrxU+Bz17a/5bqPA8o3HAAoX0teUdg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0.tgz", + "integrity": "sha512-E+oHKGiDA+lsKMmFtffDDw91EryDT7uJocrIuCHqhm6bCTM6xFK+3gaCkYOHfPwQr0cCNarSM2xaELoQDz9jJg==", "cpu": [ "wasm32" ], @@ -2919,9 +5051,9 @@ } }, "node_modules/@rolldown/binding-win32-arm64-msvc": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-rc.18.tgz", - "integrity": "sha512-zsu47DgU0FQzSwi6sU9dZoEdUv7pc1AptSEz/Z8HBg54sV0Pbs3N0+CrIbTsgiu6EyoaNN9CHboqbLaz9lhOyQ==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0.tgz", + "integrity": "sha512-yYK02n8Rngo+gbm1y6G0+7jk1sJ/2Wt7K0me0Y7k/ErBpyf+LJ2gFpqWVTcRV1rUepBlQRmpgWkTQCiiwrK0Ow==", "cpu": [ "arm64" ], @@ -2935,9 +5067,9 @@ } }, "node_modules/@rolldown/binding-win32-x64-msvc": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-rc.18.tgz", - "integrity": "sha512-7H+3yqGgmnlDTRRhw/xpYY9J1kf4GC681nVc4GqKhExZTDrVVrV2tsOR9kso0fvgBdcTCcQShx4SLLoHgaLwhg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0.tgz", + "integrity": "sha512-14bpChMahXRRXiTwahSl+zzHPW6qQTXtkMuJBFlbo+pqSAews2d4BdCSHfrJ/MBsCZtpmTafsY+1QhBzitcmdg==", "cpu": [ "x64" ], @@ -2989,6 +5121,18 @@ "dev": true, "license": "MIT" }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "license": "MIT" + }, + "node_modules/@standard-schema/utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@standard-schema/utils/-/utils-0.3.0.tgz", + "integrity": "sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==", + "license": "MIT" + }, "node_modules/@stylistic/eslint-plugin": { "version": "5.10.0", "resolved": "https://registry.npmjs.org/@stylistic/eslint-plugin/-/eslint-plugin-5.10.0.tgz", @@ -3019,48 +5163,57 @@ "tslib": "^2.8.0" } }, + "node_modules/@tabby_ai/hijri-converter": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@tabby_ai/hijri-converter/-/hijri-converter-1.0.5.tgz", + "integrity": "sha512-r5bClKrcIusDoo049dSL8CawnHR6mRdDwhlQuIgZRNty68q0x8k3Lf1BtPAMxRf/GgnHBnIO4ujd3+GQdLWzxQ==", + "license": "MIT", + "engines": { + "node": ">=16.0.0" + } + }, "node_modules/@tailwindcss/node": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.2.4.tgz", - "integrity": "sha512-Ai7+yQPxz3ddrDQzFfBKdHEVBg0w3Zl83jnjuwxnZOsnH9pGn93QHQtpU0p/8rYWxvbFZHneni6p1BSLK4DkGA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.0.tgz", + "integrity": "sha512-aFb4gUhFOgdh9AXo4IzBEOzBkkAxm9VigwDJnMIYv3lcfXCJVesNfbEaBl4BNgVRyid92AmdviqwBUBRKSeY3g==", "license": "MIT", "dependencies": { "@jridgewell/remapping": "^2.3.5", - "enhanced-resolve": "^5.19.0", + "enhanced-resolve": "^5.21.0", "jiti": "^2.6.1", "lightningcss": "1.32.0", "magic-string": "^0.30.21", "source-map-js": "^1.2.1", - "tailwindcss": "4.2.4" + "tailwindcss": "4.3.0" } }, "node_modules/@tailwindcss/oxide": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.2.4.tgz", - "integrity": "sha512-9El/iI069DKDSXwTvB9J4BwdO5JhRrOweGaK25taBAvBXyXqJAX+Jqdvs8r8gKpsI/1m0LeJLyQYTf/WLrBT1Q==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.0.tgz", + "integrity": "sha512-F7HZGBeN9I0/AuuJS5PwcD8xayx5ri5GhjYUDBEVYUkexyA/giwbDNjRVrxSezE3T250OU2K/wp/ltWx3UOefg==", "license": "MIT", "engines": { "node": ">= 20" }, "optionalDependencies": { - "@tailwindcss/oxide-android-arm64": "4.2.4", - "@tailwindcss/oxide-darwin-arm64": "4.2.4", - "@tailwindcss/oxide-darwin-x64": "4.2.4", - "@tailwindcss/oxide-freebsd-x64": "4.2.4", - "@tailwindcss/oxide-linux-arm-gnueabihf": "4.2.4", - "@tailwindcss/oxide-linux-arm64-gnu": "4.2.4", - "@tailwindcss/oxide-linux-arm64-musl": "4.2.4", - "@tailwindcss/oxide-linux-x64-gnu": "4.2.4", - "@tailwindcss/oxide-linux-x64-musl": "4.2.4", - "@tailwindcss/oxide-wasm32-wasi": "4.2.4", - "@tailwindcss/oxide-win32-arm64-msvc": "4.2.4", - "@tailwindcss/oxide-win32-x64-msvc": "4.2.4" + "@tailwindcss/oxide-android-arm64": "4.3.0", + "@tailwindcss/oxide-darwin-arm64": "4.3.0", + "@tailwindcss/oxide-darwin-x64": "4.3.0", + "@tailwindcss/oxide-freebsd-x64": "4.3.0", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.0", + "@tailwindcss/oxide-linux-arm64-gnu": "4.3.0", + "@tailwindcss/oxide-linux-arm64-musl": "4.3.0", + "@tailwindcss/oxide-linux-x64-gnu": "4.3.0", + "@tailwindcss/oxide-linux-x64-musl": "4.3.0", + "@tailwindcss/oxide-wasm32-wasi": "4.3.0", + "@tailwindcss/oxide-win32-arm64-msvc": "4.3.0", + "@tailwindcss/oxide-win32-x64-msvc": "4.3.0" } }, "node_modules/@tailwindcss/oxide-android-arm64": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.2.4.tgz", - "integrity": "sha512-e7MOr1SAn9U8KlZzPi1ZXGZHeC5anY36qjNwmZv9pOJ8E4Q6jmD1vyEHkQFmNOIN7twGPEMXRHmitN4zCMN03g==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.0.tgz", + "integrity": "sha512-TJPiq67tKlLuObP6RkwvVGDoxCMBVtDgKkLfa/uyj7/FyxvQwHS+UOnVrXXgbEsfUaMgiVvC4KbJnRr26ho4Ng==", "cpu": [ "arm64" ], @@ -3074,9 +5227,9 @@ } }, "node_modules/@tailwindcss/oxide-darwin-arm64": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.2.4.tgz", - "integrity": "sha512-tSC/Kbqpz/5/o/C2sG7QvOxAKqyd10bq+ypZNf+9Fi2TvbVbv1zNpcEptcsU7DPROaSbVgUXmrzKhurFvo5eDg==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.0.tgz", + "integrity": "sha512-oMN/WZRb+SO37BmUElEgeEWuU8E/HXRkiODxJxLe1UTHVXLrdVSgfaJV7pSlhRGMSOiXLuxTIjfsF3wYvz8cgQ==", "cpu": [ "arm64" ], @@ -3090,9 +5243,9 @@ } }, "node_modules/@tailwindcss/oxide-darwin-x64": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.2.4.tgz", - "integrity": "sha512-yPyUXn3yO/ufR6+Kzv0t4fCg2qNr90jxXc5QqBpjlPNd0NqyDXcmQb/6weunH/MEDXW5dhyEi+agTDiqa3WsGg==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.0.tgz", + "integrity": "sha512-N6CUmu4a6bKVADfw77p+iw6Yd9Q3OBhe0veaDX+QazfuVYlQsHfDgxBrsjQ/IW+zywL8mTrNd0SdJT/zgtvMdA==", "cpu": [ "x64" ], @@ -3106,9 +5259,9 @@ } }, "node_modules/@tailwindcss/oxide-freebsd-x64": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.2.4.tgz", - "integrity": "sha512-BoMIB4vMQtZsXdGLVc2z+P9DbETkiopogfWZKbWwM8b/1Vinbs4YcUwo+kM/KeLkX3Ygrf4/PsRndKaYhS8Eiw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.0.tgz", + "integrity": "sha512-zDL5hBkQdH5C6MpqbK3gQAgP80tsMwSI26vjOzjJtNCMUo0lFgOItzHKBIupOZNQxt3ouPH7RPhvNhiTfCe5CQ==", "cpu": [ "x64" ], @@ -3122,9 +5275,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.2.4.tgz", - "integrity": "sha512-7pIHBLTHYRAlS7V22JNuTh33yLH4VElwKtB3bwchK/UaKUPpQ0lPQiOWcbm4V3WP2I6fNIJ23vABIvoy2izdwA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.0.tgz", + "integrity": "sha512-R06HdNi7A7OEoMsf6d4tjZ71RCWnZQPHj2mnotSFURjNLdBC+cIgXQ7l81CqeoiQftjf6OOblxXMInMgN2VzMA==", "cpu": [ "arm" ], @@ -3138,12 +5291,15 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.2.4.tgz", - "integrity": "sha512-+E4wxJ0ZGOzSH325reXTWB48l42i93kQqMvDyz5gqfRzRZ7faNhnmvlV4EPGJU3QJM/3Ab5jhJ5pCRUsKn6OQw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.0.tgz", + "integrity": "sha512-qTJHELX8jetjhRQHCLilkVLmybpzNQAtaI/gaoVoidn/ufbNDbAo8KlK2J+yPoc8wQxvDxCmh/5lr8nC1+lTbg==", "cpu": [ "arm64" ], + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -3154,12 +5310,15 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm64-musl": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.2.4.tgz", - "integrity": "sha512-bBADEGAbo4ASnppIziaQJelekCxdMaxisrk+fB7Thit72IBnALp9K6ffA2G4ruj90G9XRS2VQ6q2bCKbfFV82g==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.0.tgz", + "integrity": "sha512-Z6sukiQsngnWO+l39X4pPbiWT81IC+PLKF+PHxIlyZbGNb9MODfYlXEVlFvej5BOZInWX01kVyzeLvHsXhfczQ==", "cpu": [ "arm64" ], + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -3170,12 +5329,15 @@ } }, "node_modules/@tailwindcss/oxide-linux-x64-gnu": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.2.4.tgz", - "integrity": "sha512-7Mx25E4WTfnht0TVRTyC00j3i0M+EeFe7wguMDTlX4mRxafznw0CA8WJkFjWYH5BlgELd1kSjuU2JiPnNZbJDA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.0.tgz", + "integrity": "sha512-DRNdQRpSGzRGfARVuVkxvM8Q12nh19l4BF/G7zGA1oe+9wcC6saFBHTISrpIcKzhiXtSrlSrluCfvMuledoCTQ==", "cpu": [ "x64" ], + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -3186,12 +5348,15 @@ } }, "node_modules/@tailwindcss/oxide-linux-x64-musl": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.2.4.tgz", - "integrity": "sha512-2wwJRF7nyhOR0hhHoChc04xngV3iS+akccHTGtz965FwF0up4b2lOdo6kI1EbDaEXKgvcrFBYcYQQ/rrnWFVfA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.0.tgz", + "integrity": "sha512-Z0IADbDo8bh6I7h2IQMx601AdXBLfFpEdUotft86evd/8ZPflZe9COPO8Q1vw+pfLWIUo9zN/JGZvwuAJqduqg==", "cpu": [ "x64" ], + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -3202,9 +5367,9 @@ } }, "node_modules/@tailwindcss/oxide-wasm32-wasi": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.2.4.tgz", - "integrity": "sha512-FQsqApeor8Fo6gUEklzmaa9994orJZZDBAlQpK2Mq+DslRKFJeD6AjHpBQ0kZFQohVr8o85PPh8eOy86VlSCmw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.0.tgz", + "integrity": "sha512-HNZGOUxEmElksYR7S6sC5jTeNGpobAsy9u7Gu0AskJ8/20FR9GqebUyB+HBcU/ax6BHuiuJi+Oda4B+YX6H1yA==", "bundleDependencies": [ "@napi-rs/wasm-runtime", "@emnapi/core", @@ -3219,10 +5384,10 @@ "license": "MIT", "optional": true, "dependencies": { - "@emnapi/core": "^1.8.1", - "@emnapi/runtime": "^1.8.1", - "@emnapi/wasi-threads": "^1.1.0", - "@napi-rs/wasm-runtime": "^1.1.1", + "@emnapi/core": "^1.10.0", + "@emnapi/runtime": "^1.10.0", + "@emnapi/wasi-threads": "^1.2.1", + "@napi-rs/wasm-runtime": "^1.1.4", "@tybys/wasm-util": "^0.10.1", "tslib": "^2.8.1" }, @@ -3231,9 +5396,9 @@ } }, "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.2.4.tgz", - "integrity": "sha512-L9BXqxC4ToVgwMFqj3pmZRqyHEztulpUJzCxUtLjobMCzTPsGt1Fa9enKbOpY2iIyVtaHNeNvAK8ERP/64sqGQ==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.0.tgz", + "integrity": "sha512-Pe+RPVTi1T+qymuuRpcdvwSVZjnll/f7n8gBxMMh3xLTctMDKqpdfGimbMyioqtLhUYZxdJ9wGNhV7MKHvgZsQ==", "cpu": [ "arm64" ], @@ -3247,9 +5412,9 @@ } }, "node_modules/@tailwindcss/oxide-win32-x64-msvc": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.2.4.tgz", - "integrity": "sha512-ESlKG0EpVJQwRjXDDa9rLvhEAh0mhP1sF7sap9dNZT0yyl9SAG6T7gdP09EH0vIv0UNTlo6jPWyujD6559fZvw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.0.tgz", + "integrity": "sha512-Mvrf2kXW/yeW/OTezZlCGOirXRcUuLIBx/5Y12BaPM7wJoryG6dfS/NJL8aBPqtTEx/Vm4T4vKzFUcKDT+TKUA==", "cpu": [ "x64" ], @@ -3263,14 +5428,14 @@ } }, "node_modules/@tailwindcss/vite": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.2.4.tgz", - "integrity": "sha512-pCvohwOCspk3ZFn6eJzrrX3g4n2JY73H6MmYC87XfGPyTty4YsCjYTMArRZm/zOI8dIt3+EcrLHAFPe5A4bgtw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.0.tgz", + "integrity": "sha512-t6J3OrB5Fc0ExuhohouH0fWUGMYL6PTLhW+E7zIk/pdbnJARZDCwjBznFnkh5ynRnIRSI4YjtTH0t6USjJISrw==", "license": "MIT", "dependencies": { - "@tailwindcss/node": "4.2.4", - "@tailwindcss/oxide": "4.2.4", - "tailwindcss": "4.2.4" + "@tailwindcss/node": "4.3.0", + "@tailwindcss/oxide": "4.3.0", + "tailwindcss": "4.3.0" }, "peerDependencies": { "vite": "^5.2.0 || ^6 || ^7 || ^8" @@ -3303,6 +5468,13 @@ "url": "https://github.com/sponsors/tannerlinsley" } }, + "node_modules/@tweenjs/tween.js": { + "version": "23.1.3", + "resolved": "https://registry.npmjs.org/@tweenjs/tween.js/-/tween.js-23.1.3.tgz", + "integrity": "sha512-vJmvvwFxYuGnF2axRtPYocag6Clbb5YS7kLL+SO/TeVFzHqDIWrNKYtcsPMibjDx9O+bu+psAy9NKfWklassUA==", + "dev": true, + "license": "MIT" + }, "node_modules/@tybys/wasm-util": { "version": "0.10.2", "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.2.tgz", @@ -3354,6 +5526,76 @@ "@babel/types": "^7.28.2" } }, + "node_modules/@types/culori": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@types/culori/-/culori-4.0.1.tgz", + "integrity": "sha512-43M51r/22CjhbOXyGT361GZ9vncSVQ39u62x5eJdBQFviI8zWp2X5jzqg7k4M6PVgDQAClpy2bUe2dtwEgEDVQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/d3-array": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.2.tgz", + "integrity": "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==", + "license": "MIT" + }, + "node_modules/@types/d3-color": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz", + "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==", + "license": "MIT" + }, + "node_modules/@types/d3-ease": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz", + "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==", + "license": "MIT" + }, + "node_modules/@types/d3-interpolate": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz", + "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==", + "license": "MIT", + "dependencies": { + "@types/d3-color": "*" + } + }, + "node_modules/@types/d3-path": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.1.tgz", + "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==", + "license": "MIT" + }, + "node_modules/@types/d3-scale": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.9.tgz", + "integrity": "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==", + "license": "MIT", + "dependencies": { + "@types/d3-time": "*" + } + }, + "node_modules/@types/d3-shape": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.8.tgz", + "integrity": "sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w==", + "license": "MIT", + "dependencies": { + "@types/d3-path": "*" + } + }, + "node_modules/@types/d3-time": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.4.tgz", + "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==", + "license": "MIT" + }, + "node_modules/@types/d3-timer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz", + "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==", + "license": "MIT" + }, "node_modules/@types/estree": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", @@ -3361,6 +5603,17 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/gsap": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/gsap/-/gsap-3.0.0.tgz", + "integrity": "sha512-BbWLi4WRHGze4C8NV7U7yRevuBFiPkPZZyGa0rryanvh/9HPUFXTNBXsGQxJZJq7Ix7j4RXMYodP3s+OsqCErg==", + "deprecated": "This is a stub types definition. gsap provides its own type definitions, so you do not need this installed.", + "dev": true, + "license": "MIT", + "dependencies": { + "gsap": "*" + } + }, "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", @@ -3376,15 +5629,22 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.19.17", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.17.tgz", - "integrity": "sha512-wGdMcf+vPYM6jikpS/qhg6WiqSV/OhG+jeeHT/KlVqxYfD40iYJf9/AE1uQxVWFvU7MipKRkRv8NSHiCGgPr8Q==", + "version": "22.19.19", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.19.tgz", + "integrity": "sha512-dyh/xO2Fh5bYrfWaaqGrRQQGkNdmYw6AmaAUvYeUMNTWQtvb796ikLdmTchRmOlOiIJ1TDXfWgVx1QkUlQ6Hew==", "devOptional": true, "license": "MIT", "dependencies": { "undici-types": "~6.21.0" } }, + "node_modules/@types/prismjs": { + "version": "1.26.6", + "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.6.tgz", + "integrity": "sha512-vqlvI7qlMvcCBbVe0AKAb4f97//Hy0EBTaiW8AalRnG/xAN5zOiWWyrNqNXeq8+KAuvRewjCVY1+IPxk4RdNYw==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/react": { "version": "19.2.14", "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz", @@ -3403,18 +5663,61 @@ "@types/react": "^19.2.0" } }, + "node_modules/@types/stats.js": { + "version": "0.17.4", + "resolved": "https://registry.npmjs.org/@types/stats.js/-/stats.js-0.17.4.tgz", + "integrity": "sha512-jIBvWWShCvlBqBNIZt0KAshWpvSjhkwkEu4ZUcASoAvhmrgAUI2t1dXrjSL4xXVLB4FznPrIsX3nKXFl/Dt4vA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/three": { + "version": "0.184.1", + "resolved": "https://registry.npmjs.org/@types/three/-/three-0.184.1.tgz", + "integrity": "sha512-6q4VdiqVsrTRqmk62/BnlcAvIrnDM0zf2ZDVKI5kZiniWrSaOHaQzmbp+BNzoggc/8tgW412pL//wZIxu2PPTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@dimforge/rapier3d-compat": "~0.12.0", + "@tweenjs/tween.js": "~23.1.3", + "@types/stats.js": "*", + "@types/webxr": ">=0.5.17", + "fflate": "~0.8.2", + "meshoptimizer": "~1.1.1" + } + }, + "node_modules/@types/trusted-types": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", + "license": "MIT", + "optional": true, + "peer": true + }, + "node_modules/@types/use-sync-external-store": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.6.tgz", + "integrity": "sha512-zFDAD+tlpf2r4asuHEj0XH6pY6i0g5NeAHPn+15wk3BV6JA69eERFXC1gyGThDkVa1zCyKr5jox1+2LbV/AMLg==", + "license": "MIT" + }, + "node_modules/@types/webxr": { + "version": "0.5.24", + "resolved": "https://registry.npmjs.org/@types/webxr/-/webxr-0.5.24.tgz", + "integrity": "sha512-h8fgEd/DpoS9CBrjEQXR+dIDraopAEfu4wYVNY2tEPwk60stPWhvZMf4Foo5FakuQ7HFZoa8WceaWFervK2Ovg==", + "dev": true, + "license": "MIT" + }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.2.tgz", - "integrity": "sha512-j/bwmkBvHUtPNxzuWe5z6BEk3q54YRyGlBXkSsmfoih7zNrBvl5A9A98anlp/7JbyZcWIJ8KXo/3Tq/DjFLtuQ==", + "version": "8.59.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.3.tgz", + "integrity": "sha512-PwFvSKsXGShKGW6n5bZOhGHEcCZXM8HofLK9fNsEwZXzFRjoY+XT1Vsf1zgyXdwTr0ZYz1/2tkZ0DBTT9jZjhw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.59.2", - "@typescript-eslint/type-utils": "8.59.2", - "@typescript-eslint/utils": "8.59.2", - "@typescript-eslint/visitor-keys": "8.59.2", + "@typescript-eslint/scope-manager": "8.59.3", + "@typescript-eslint/type-utils": "8.59.3", + "@typescript-eslint/utils": "8.59.3", + "@typescript-eslint/visitor-keys": "8.59.3", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" @@ -3427,7 +5730,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.59.2", + "@typescript-eslint/parser": "^8.59.3", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } @@ -3443,16 +5746,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.59.2.tgz", - "integrity": "sha512-plR3pp6D+SSUn1HM7xvSkx12/DhoHInI2YF35KAcVFNZvlC0gtrWqx7Qq1oH2Ssgi0vlFRCTbP+DZc7B9+TtsQ==", + "version": "8.59.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.59.3.tgz", + "integrity": "sha512-HPwA+hVkfcriajbNvTmZv4VRauibay+cWArYUYq7u7W7PmGShMxbPxLvrwDme55a6d5alG3nrYfhyJ/G28XlLg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.59.2", - "@typescript-eslint/types": "8.59.2", - "@typescript-eslint/typescript-estree": "8.59.2", - "@typescript-eslint/visitor-keys": "8.59.2", + "@typescript-eslint/scope-manager": "8.59.3", + "@typescript-eslint/types": "8.59.3", + "@typescript-eslint/typescript-estree": "8.59.3", + "@typescript-eslint/visitor-keys": "8.59.3", "debug": "^4.4.3" }, "engines": { @@ -3468,14 +5771,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.2.tgz", - "integrity": "sha512-+2hqvEkeyf/0FBor67duF0Ll7Ot8jyKzDQOSrxazF/danillRq2DwR9dLptsXpoZQqxE1UisSmoZewrlPas9Vw==", + "version": "8.59.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.3.tgz", + "integrity": "sha512-ECiUWa/KYRGDFUqTNehaRgzDshnJfkTABJxVemHk4ko22gcr0ukloKjWvyQ64g8YCV/UI47kN1dbmjf/GaQYng==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.59.2", - "@typescript-eslint/types": "^8.59.2", + "@typescript-eslint/tsconfig-utils": "^8.59.3", + "@typescript-eslint/types": "^8.59.3", "debug": "^4.4.3" }, "engines": { @@ -3490,14 +5793,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.2.tgz", - "integrity": "sha512-JzfyEpEtOU89CcFSwyNS3mu4MLvLSXqnmX05+aKBDM+TdR5jzcGOEBwxwGNxrEQ7p/z6kK2WyioCGBf2zZBnvg==", + "version": "8.59.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.3.tgz", + "integrity": "sha512-t2LvZnoEfzKtnPjgeEu41xw5gxq9mQVfYy4OoZ4Vlt0sk3JwxmhCca/AR7DwOiHrjWgjAj6as4AhRLKSDfvZIA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.59.2", - "@typescript-eslint/visitor-keys": "8.59.2" + "@typescript-eslint/types": "8.59.3", + "@typescript-eslint/visitor-keys": "8.59.3" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3508,9 +5811,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.2.tgz", - "integrity": "sha512-BKK4alN7oi4C/zv4VqHQ+uRU+lTa6JGIZ7s1juw7b3RHo9OfKB+bKX3u0iVZetdsUCBBkSbdWbarJbmN0fTeSw==", + "version": "8.59.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.3.tgz", + "integrity": "sha512-PcIJHjmaREXLgIAIzLnSY9VucEzz8FKXsRgFa1DmdGCK/5tJpW03TKJF01Q6VZd1lLdz2sIKPWaDUZN9dp//dw==", "dev": true, "license": "MIT", "engines": { @@ -3525,15 +5828,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.59.2.tgz", - "integrity": "sha512-nhqaj1nmTdVVl/BP5omXNRGO38jn5iosis2vbdmupF2txCf8ylWT8lx+JlvMYYVqzGVKtjojUFoQ3JRWK+mfzQ==", + "version": "8.59.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.59.3.tgz", + "integrity": "sha512-g71d8QD8UaiHGvrJwyIS1hCX5r63w6Jll+4VEYhEAHXTDIqX1JgxhTAbEHtKntL9kuc4jRo7/GWw5xfCepSccQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.59.2", - "@typescript-eslint/typescript-estree": "8.59.2", - "@typescript-eslint/utils": "8.59.2", + "@typescript-eslint/types": "8.59.3", + "@typescript-eslint/typescript-estree": "8.59.3", + "@typescript-eslint/utils": "8.59.3", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -3550,9 +5853,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.2.tgz", - "integrity": "sha512-e82GVOE8Ps3E++Egvb6Y3Dw0S10u8NkQ9KXmtRhCWJJ8kDhOJTvtMAWnFL16kB1583goCWXsr0NieKCZMs2/0Q==", + "version": "8.59.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.3.tgz", + "integrity": "sha512-ePFoH0g4ludssdRFqqDxQePCxU4WQyRa9+XVwjm7yLn0FKhMeoetC+qBEEI1Eyb1pGSDveTIT09Bvw2WhlGayg==", "dev": true, "license": "MIT", "engines": { @@ -3564,16 +5867,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.2.tgz", - "integrity": "sha512-o0XPGNwcWw+FIwStOWn+BwBuEmL6QXP0rsvAFg7ET1dey1Nr6Wb1ac8p5HEsK0ygO/6mUxlk+YWQD9xcb/nnXg==", + "version": "8.59.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.3.tgz", + "integrity": "sha512-CbRjVRAf7Lr9Kr8RopKcbY45p2VfmmHrm0ygOCYFi7oU8q19m0Fs/6iHS7kNOmwpp+ob07ZVcAqlxUod9lYdmg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.59.2", - "@typescript-eslint/tsconfig-utils": "8.59.2", - "@typescript-eslint/types": "8.59.2", - "@typescript-eslint/visitor-keys": "8.59.2", + "@typescript-eslint/project-service": "8.59.3", + "@typescript-eslint/tsconfig-utils": "8.59.3", + "@typescript-eslint/types": "8.59.3", + "@typescript-eslint/visitor-keys": "8.59.3", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", @@ -3602,9 +5905,9 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", - "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz", + "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==", "dev": true, "license": "MIT", "dependencies": { @@ -3631,9 +5934,9 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", - "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.0.tgz", + "integrity": "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA==", "dev": true, "license": "ISC", "bin": { @@ -3644,16 +5947,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.2.tgz", - "integrity": "sha512-Juw3EinkXqjaffxz6roowvV7GZT/kET5vSKKZT6upl5TXdWkLkYmNPXwDDL2Vkt2DPn0nODIS4egC/0AGxKo/Q==", + "version": "8.59.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.3.tgz", + "integrity": "sha512-JAvT14goBzRzzzZyqq3P9BLArIxTtQURUtFgQ/V7FO+eU+Gg6ES+5ymOPP1wRxXcxAYeivCk4uS3jCKWI1K8Zg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.59.2", - "@typescript-eslint/types": "8.59.2", - "@typescript-eslint/typescript-estree": "8.59.2" + "@typescript-eslint/scope-manager": "8.59.3", + "@typescript-eslint/types": "8.59.3", + "@typescript-eslint/typescript-estree": "8.59.3" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3668,13 +5971,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.2.tgz", - "integrity": "sha512-NwjLUnGy8/Zfx23fl50tRC8rYaYnM52xNRYFAXvmiil9yh1+K6aRVQMnzW6gQB/1DLgWt977lYQn7C+wtgXZiA==", + "version": "8.59.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.3.tgz", + "integrity": "sha512-f1UQF7ggd42YiwI5wGrRaPsa+P0CINBlrkLPmGfpq/u/I/oVtecoEIfFR9ag/oa1sLOsRNZ6xehf6qMZhQGBDg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.59.2", + "@typescript-eslint/types": "8.59.3", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -4548,6 +6851,136 @@ "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", "license": "MIT" }, + "node_modules/culori": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/culori/-/culori-4.0.2.tgz", + "integrity": "sha512-1+BhOB8ahCn4O0cep0Sh2l9KCOfOdY+BXJnKMHFFzDEouSr/el18QwXEMRlOj9UY5nCeA8UN3a/82rUWRBeyBw==", + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/d3-array": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz", + "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==", + "license": "ISC", + "dependencies": { + "internmap": "1 - 2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-color": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", + "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-ease": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz", + "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-format": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.2.tgz", + "integrity": "sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", + "license": "ISC", + "dependencies": { + "d3-color": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-path": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz", + "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-scale": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz", + "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==", + "license": "ISC", + "dependencies": { + "d3-array": "2.10.0 - 3", + "d3-format": "1 - 3", + "d3-interpolate": "1.2.0 - 3", + "d3-time": "2.1.1 - 3", + "d3-time-format": "2 - 4" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-shape": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz", + "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", + "license": "ISC", + "dependencies": { + "d3-path": "^3.1.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-time": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz", + "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==", + "license": "ISC", + "dependencies": { + "d3-array": "2 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-time-format": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz", + "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==", + "license": "ISC", + "dependencies": { + "d3-time": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-timer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz", + "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, "node_modules/data-view-buffer": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz", @@ -4602,6 +7035,22 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/date-fns": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.1.0.tgz", + "integrity": "sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/kossnocorp" + } + }, + "node_modules/date-fns-jalali": { + "version": "4.1.0-0", + "resolved": "https://registry.npmjs.org/date-fns-jalali/-/date-fns-jalali-4.1.0-0.tgz", + "integrity": "sha512-hTIP/z+t+qKwBDcmmsnmjWTduxCg+5KfdqWQvb2X/8C9+knYY6epN/pfxdDuyVlSVeFz0sM5eEfwIUQ70U4ckg==", + "license": "MIT" + }, "node_modules/debug": { "version": "4.4.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", @@ -4619,6 +7068,12 @@ } } }, + "node_modules/decimal.js-light": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz", + "integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==", + "license": "MIT" + }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -4690,6 +7145,16 @@ "node": ">=0.10.0" } }, + "node_modules/dompurify": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.7.tgz", + "integrity": "sha512-WhL/YuveyGXJaerVlMYGWhvQswa7myDG17P7Vu65EWC05o8vfeNbvNf4d/BOvH99+ZW+LlQsc1GDKMa1vNK6dw==", + "license": "(MPL-2.0 OR Apache-2.0)", + "peer": true, + "optionalDependencies": { + "@types/trusted-types": "^2.0.7" + } + }, "node_modules/dunder-proto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", @@ -4718,9 +7183,9 @@ "license": "MIT" }, "node_modules/enhanced-resolve": { - "version": "5.21.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.21.0.tgz", - "integrity": "sha512-otxSQPw4lkOZWkHpB3zaEQs6gWYEsmX4xQF68ElXC/TWvGxGMSGOvoNbaLXm6/cS/fSfHtsEdw90y20PCd+sCA==", + "version": "5.21.3", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.21.3.tgz", + "integrity": "sha512-QyL119InA+XXEkNLNTPCXPugSvOfhwv0JOlGNzvxs0hZaiHLNvXSpudUWsOlsXGWJh8G6ckCScEkVHfX3kw/2Q==", "license": "MIT", "dependencies": { "graceful-fs": "^4.2.4", @@ -5316,6 +7781,12 @@ "node": ">=0.10.0" } }, + "node_modules/eventemitter3": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz", + "integrity": "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==", + "license": "MIT" + }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -5354,6 +7825,13 @@ } } }, + "node_modules/fflate": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", + "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==", + "dev": true, + "license": "MIT" + }, "node_modules/file-entry-cache": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", @@ -5421,6 +7899,33 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/framer-motion": { + "version": "12.38.0", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.38.0.tgz", + "integrity": "sha512-rFYkY/pigbcswl1XQSb7q424kSTQ8q6eAC+YUsSKooHQYuLdzdHjrt6uxUC+PRAO++q5IS7+TamgIw1AphxR+g==", + "license": "MIT", + "dependencies": { + "motion-dom": "^12.38.0", + "motion-utils": "^12.36.0", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@emotion/is-prop-valid": "*", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/is-prop-valid": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -5644,6 +8149,12 @@ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "license": "ISC" }, + "node_modules/gsap": { + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/gsap/-/gsap-3.15.0.tgz", + "integrity": "sha512-dMW4CWBTUK1AEEDeZc1g4xpPGIrSf9fJF960qbTZmN/QwZIWY5wgliS6JWl9/25fpTGJrMRtSjGtOmPnfjZB+A==", + "license": "Standard 'no charge' license: https://gsap.com/standard-license." + }, "node_modules/has-bigints": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz", @@ -5764,6 +8275,16 @@ "node": ">= 4" } }, + "node_modules/immer": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.2.0.tgz", + "integrity": "sha512-d/+XTN3zfODyjr89gM3mPq1WNX2B8pYsu7eORitdwyA2sBubnTl3laYlBk4sXY5FUa5qTZGBDPJICVbvqzjlbw==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, "node_modules/import-fresh": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", @@ -5816,6 +8337,15 @@ "node": ">= 0.4" } }, + "node_modules/internmap": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz", + "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, "node_modules/is-array-buffer": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", @@ -6730,6 +9260,19 @@ "@jridgewell/sourcemap-codec": "^1.5.5" } }, + "node_modules/marked": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-14.0.0.tgz", + "integrity": "sha512-uIj4+faQ+MgHgwUW1l2PsPglZLOLOT1uErt06dAPtx2kjteLAkbsd/0FiYg/MGS+i7ZKLb7w2WClxHkzOOuryQ==", + "license": "MIT", + "peer": true, + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 18" + } + }, "node_modules/math-intrinsics": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", @@ -6740,6 +9283,13 @@ "node": ">= 0.4" } }, + "node_modules/meshoptimizer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/meshoptimizer/-/meshoptimizer-1.1.1.tgz", + "integrity": "sha512-oRFNWJRDA/WTrVj7NWvqa5HqE1t9MYDj2VaWirQCzCCrAd2GHrqR/sQezCxiWATPNlKTcRaPRHPJwIRoPBAp5g==", + "dev": true, + "license": "MIT" + }, "node_modules/minimatch": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", @@ -6753,16 +9303,68 @@ "node": "*" } }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/monaco-editor": { + "version": "0.55.1", + "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.55.1.tgz", + "integrity": "sha512-jz4x+TJNFHwHtwuV9vA9rMujcZRb0CEilTEwG2rRSpe/A7Jdkuj8xPKttCgOh+v/lkHy7HsZ64oj+q3xoAFl9A==", + "license": "MIT", + "peer": true, + "dependencies": { + "dompurify": "3.2.7", + "marked": "14.0.0" + } + }, + "node_modules/motion": { + "version": "12.38.0", + "resolved": "https://registry.npmjs.org/motion/-/motion-12.38.0.tgz", + "integrity": "sha512-uYfXzeHlgThchzwz5Te47dlv5JOUC7OB4rjJ/7XTUgtBZD8CchMN8qEJ4ZVsUmTyYA44zjV0fBwsiktRuFnn+w==", + "license": "MIT", + "dependencies": { + "framer-motion": "^12.38.0", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@emotion/is-prop-valid": "*", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/is-prop-valid": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, + "node_modules/motion-dom": { + "version": "12.38.0", + "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.38.0.tgz", + "integrity": "sha512-pdkHLD8QYRp8VfiNLb8xIBJis1byQ9gPT3Jnh2jqfFtAsWUA3dEepDlsWe/xMpO8McV+VdpKVcp+E+TGJEtOoA==", "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" + "dependencies": { + "motion-utils": "^12.36.0" } }, + "node_modules/motion-utils": { + "version": "12.36.0", + "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.36.0.tgz", + "integrity": "sha512-eHWisygbiwVvf6PZ1vhaHCLamvkSbPIeAYxWUuL3a2PD/TROgE7FvfHWTIH4vMl798QLfMw15nRqIaRDXTlYRg==", + "license": "MIT" + }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -7235,6 +9837,15 @@ } } }, + "node_modules/prismjs": { + "version": "1.30.0", + "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.30.0.tgz", + "integrity": "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/prop-types": { "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", @@ -7257,6 +9868,212 @@ "node": ">=6" } }, + "node_modules/radix-ui": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/radix-ui/-/radix-ui-1.4.3.tgz", + "integrity": "sha512-aWizCQiyeAenIdUbqEpXgRA1ya65P13NKn/W8rWkcN0OPkRDxdBVLWnIEDsS2RpwCK2nobI7oMUSmexzTDyAmA==", + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-accessible-icon": "1.1.7", + "@radix-ui/react-accordion": "1.2.12", + "@radix-ui/react-alert-dialog": "1.1.15", + "@radix-ui/react-arrow": "1.1.7", + "@radix-ui/react-aspect-ratio": "1.1.7", + "@radix-ui/react-avatar": "1.1.10", + "@radix-ui/react-checkbox": "1.3.3", + "@radix-ui/react-collapsible": "1.1.12", + "@radix-ui/react-collection": "1.1.7", + "@radix-ui/react-compose-refs": "1.1.2", + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-context-menu": "2.2.16", + "@radix-ui/react-dialog": "1.1.15", + "@radix-ui/react-direction": "1.1.1", + "@radix-ui/react-dismissable-layer": "1.1.11", + "@radix-ui/react-dropdown-menu": "2.1.16", + "@radix-ui/react-focus-guards": "1.1.3", + "@radix-ui/react-focus-scope": "1.1.7", + "@radix-ui/react-form": "0.1.8", + "@radix-ui/react-hover-card": "1.1.15", + "@radix-ui/react-label": "2.1.7", + "@radix-ui/react-menu": "2.1.16", + "@radix-ui/react-menubar": "1.1.16", + "@radix-ui/react-navigation-menu": "1.2.14", + "@radix-ui/react-one-time-password-field": "0.1.8", + "@radix-ui/react-password-toggle-field": "0.1.3", + "@radix-ui/react-popover": "1.1.15", + "@radix-ui/react-popper": "1.2.8", + "@radix-ui/react-portal": "1.1.9", + "@radix-ui/react-presence": "1.1.5", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-progress": "1.1.7", + "@radix-ui/react-radio-group": "1.3.8", + "@radix-ui/react-roving-focus": "1.1.11", + "@radix-ui/react-scroll-area": "1.2.10", + "@radix-ui/react-select": "2.2.6", + "@radix-ui/react-separator": "1.1.7", + "@radix-ui/react-slider": "1.3.6", + "@radix-ui/react-slot": "1.2.3", + "@radix-ui/react-switch": "1.2.6", + "@radix-ui/react-tabs": "1.1.13", + "@radix-ui/react-toast": "1.2.15", + "@radix-ui/react-toggle": "1.1.10", + "@radix-ui/react-toggle-group": "1.1.11", + "@radix-ui/react-toolbar": "1.1.11", + "@radix-ui/react-tooltip": "1.2.8", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-controllable-state": "1.2.2", + "@radix-ui/react-use-effect-event": "0.0.2", + "@radix-ui/react-use-escape-keydown": "1.1.1", + "@radix-ui/react-use-is-hydrated": "0.1.0", + "@radix-ui/react-use-layout-effect": "1.1.1", + "@radix-ui/react-use-size": "1.1.1", + "@radix-ui/react-visually-hidden": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/radix-ui/node_modules/@radix-ui/react-avatar": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/@radix-ui/react-avatar/-/react-avatar-1.1.10.tgz", + "integrity": "sha512-V8piFfWapM5OmNCXTzVQY+E1rDa53zY+MQ4Y7356v4fFz6vqCyUtIz2rUD44ZEdwg78/jKmMJHj07+C/Z/rcog==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-context": "1.1.2", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-callback-ref": "1.1.1", + "@radix-ui/react-use-is-hydrated": "0.1.0", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/radix-ui/node_modules/@radix-ui/react-context": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz", + "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/radix-ui/node_modules/@radix-ui/react-label": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.1.7.tgz", + "integrity": "sha512-YT1GqPSL8kJn20djelMX7/cTRp/Y9w5IZHvfxQTVHrOqa2yMl7i/UfMqKRU5V7mEyKTrUVgJXhNQPVCG8PBLoQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/radix-ui/node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/radix-ui/node_modules/@radix-ui/react-separator": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.7.tgz", + "integrity": "sha512-0HEb8R9E8A+jZjvmFCy/J4xhbXy3TV+9XSnGJ3KvTtjlIUy/YQ/p6UYZvi7YbeoeXdyU9+Y3scizK6hkY37baA==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.1.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/radix-ui/node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/react": { "version": "19.2.6", "resolved": "https://registry.npmjs.org/react/-/react-19.2.6.tgz", @@ -7287,6 +10104,28 @@ "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, + "node_modules/react-day-picker": { + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/react-day-picker/-/react-day-picker-9.14.0.tgz", + "integrity": "sha512-tBaoDWjPwe0M5pGrum4H0SR6Lyk+BO9oHnp9JbKpGKW2mlraNPgP9BMfsg5pWpwrssARmeqk7YBl2oXutZTaHA==", + "license": "MIT", + "dependencies": { + "@date-fns/tz": "^1.4.1", + "@tabby_ai/hijri-converter": "1.0.5", + "date-fns": "^4.1.0", + "date-fns-jalali": "4.1.0-0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "individual", + "url": "https://github.com/sponsors/gpbl" + }, + "peerDependencies": { + "react": ">=16.8.0" + } + }, "node_modules/react-dom": { "version": "19.2.6", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.6.tgz", @@ -7303,9 +10142,31 @@ "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true, "license": "MIT" }, + "node_modules/react-redux": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-9.2.0.tgz", + "integrity": "sha512-ROY9fvHhwOD9ySfrF0wmvu//bKCQ6AeZZq1nJNtbDC+kk5DuSuNX/n6YWYF/SYy7bSba4D4FSz8DJeKY/S/r+g==", + "license": "MIT", + "dependencies": { + "@types/use-sync-external-store": "^0.0.6", + "use-sync-external-store": "^1.4.0" + }, + "peerDependencies": { + "@types/react": "^18.2.25 || ^19", + "react": "^18.0 || ^19", + "redux": "^5.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "redux": { + "optional": true + } + } + }, "node_modules/react-refresh": { "version": "0.18.0", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.18.0.tgz", @@ -7401,6 +10262,51 @@ } } }, + "node_modules/recharts": { + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/recharts/-/recharts-3.8.1.tgz", + "integrity": "sha512-mwzmO1s9sFL0TduUpwndxCUNoXsBw3u3E/0+A+cLcrSfQitSG62L32N69GhqUrrT5qKcAE3pCGVINC6pqkBBQg==", + "license": "MIT", + "workspaces": [ + "www" + ], + "dependencies": { + "@reduxjs/toolkit": "^1.9.0 || 2.x.x", + "clsx": "^2.1.1", + "decimal.js-light": "^2.5.1", + "es-toolkit": "^1.39.3", + "eventemitter3": "^5.0.1", + "immer": "^10.1.1", + "react-redux": "8.x.x || 9.x.x", + "reselect": "5.1.1", + "tiny-invariant": "^1.3.3", + "use-sync-external-store": "^1.2.2", + "victory-vendor": "^37.0.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-is": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/redux": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz", + "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==", + "license": "MIT" + }, + "node_modules/redux-thunk": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz", + "integrity": "sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==", + "license": "MIT", + "peerDependencies": { + "redux": "^5.0.0" + } + }, "node_modules/reflect.getprototypeof": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz", @@ -7454,6 +10360,12 @@ "node": ">=0.10.0" } }, + "node_modules/reselect": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.1.1.tgz", + "integrity": "sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w==", + "license": "MIT" + }, "node_modules/resolve": { "version": "2.0.0-next.6", "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.6.tgz", @@ -7499,13 +10411,13 @@ } }, "node_modules/rolldown": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-rc.18.tgz", - "integrity": "sha512-phmyKBpuBdRYDf4hgyynGAYn/rDDe+iZXKVJ7WX5b1zQzpLkP5oJRPGsfJuHdzPMlyyEO/4sPW6yfSx2gf7lVg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0.tgz", + "integrity": "sha512-yD986aXDESFGS95spT1LAv0jssywP4npMEjmMHyN2/5+eE8qQJUype2AaKkRiLgBgyD0LFlubwAht7VmY8rGoA==", "license": "MIT", "dependencies": { - "@oxc-project/types": "=0.128.0", - "@rolldown/pluginutils": "1.0.0-rc.18" + "@oxc-project/types": "=0.129.0", + "@rolldown/pluginutils": "1.0.0" }, "bin": { "rolldown": "bin/cli.mjs" @@ -7514,27 +10426,27 @@ "node": "^20.19.0 || >=22.12.0" }, "optionalDependencies": { - "@rolldown/binding-android-arm64": "1.0.0-rc.18", - "@rolldown/binding-darwin-arm64": "1.0.0-rc.18", - "@rolldown/binding-darwin-x64": "1.0.0-rc.18", - "@rolldown/binding-freebsd-x64": "1.0.0-rc.18", - "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-rc.18", - "@rolldown/binding-linux-arm64-gnu": "1.0.0-rc.18", - "@rolldown/binding-linux-arm64-musl": "1.0.0-rc.18", - "@rolldown/binding-linux-ppc64-gnu": "1.0.0-rc.18", - "@rolldown/binding-linux-s390x-gnu": "1.0.0-rc.18", - "@rolldown/binding-linux-x64-gnu": "1.0.0-rc.18", - "@rolldown/binding-linux-x64-musl": "1.0.0-rc.18", - "@rolldown/binding-openharmony-arm64": "1.0.0-rc.18", - "@rolldown/binding-wasm32-wasi": "1.0.0-rc.18", - "@rolldown/binding-win32-arm64-msvc": "1.0.0-rc.18", - "@rolldown/binding-win32-x64-msvc": "1.0.0-rc.18" + "@rolldown/binding-android-arm64": "1.0.0", + "@rolldown/binding-darwin-arm64": "1.0.0", + "@rolldown/binding-darwin-x64": "1.0.0", + "@rolldown/binding-freebsd-x64": "1.0.0", + "@rolldown/binding-linux-arm-gnueabihf": "1.0.0", + "@rolldown/binding-linux-arm64-gnu": "1.0.0", + "@rolldown/binding-linux-arm64-musl": "1.0.0", + "@rolldown/binding-linux-ppc64-gnu": "1.0.0", + "@rolldown/binding-linux-s390x-gnu": "1.0.0", + "@rolldown/binding-linux-x64-gnu": "1.0.0", + "@rolldown/binding-linux-x64-musl": "1.0.0", + "@rolldown/binding-openharmony-arm64": "1.0.0", + "@rolldown/binding-wasm32-wasi": "1.0.0", + "@rolldown/binding-win32-arm64-msvc": "1.0.0", + "@rolldown/binding-win32-x64-msvc": "1.0.0" } }, "node_modules/rolldown/node_modules/@rolldown/pluginutils": { - "version": "1.0.0-rc.18", - "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.18.tgz", - "integrity": "sha512-CUY5Mnhe64xQBGZEEXQ5WyZwsc1JU3vAZLIxtrsBt3LO6UOb+C8GunVKqe9sT8NeWb4lqSaoJtp2xo6GxT1MNw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0.tgz", + "integrity": "sha512-aKs/3GSWyV0mrhNmt/96/Z3yczC3yvrzYATCiCXQebBsGyYzjNdUphRVLeJQ67ySKVXRfMxt2lm12pmXvbPFQQ==", "license": "MIT" }, "node_modules/rxjs": { @@ -7805,6 +10717,12 @@ "node": ">=12.0.0" } }, + "node_modules/state-local": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/state-local/-/state-local-1.0.7.tgz", + "integrity": "sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w==", + "license": "MIT" + }, "node_modules/stop-iteration-iterator": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz", @@ -8001,9 +10919,9 @@ "license": "MIT" }, "node_modules/tailwind-merge": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.5.0.tgz", - "integrity": "sha512-I8K9wewnVDkL1NTGoqWmVEIlUcB9gFriAEkXkfCjX5ib8ezGxtR3xD7iZIxrfArjEsH7F1CHD4RFUtxefdqV/A==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.6.0.tgz", + "integrity": "sha512-uxL7qAVQriqRQPAyK3pj66VqskWqoZ37PW94jwOTwNfq/z9oyu1V+eqrZqtR2+fCiXdYOZe/Modt8GtvqNzu+w==", "license": "MIT", "funding": { "type": "github", @@ -8011,9 +10929,9 @@ } }, "node_modules/tailwindcss": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.2.4.tgz", - "integrity": "sha512-HhKppgO81FQof5m6TEnuBWCZGgfRAWbaeOaGT00KOy/Pf/j6oUihdvBpA7ltCeAvZpFhW3j0PTclkxsd4IXYDA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.0.tgz", + "integrity": "sha512-y6nxMGB1nMW9R6k96e5gdIFzcfL/gTJRNaqGes1YvkLnPVXzWgbqFF2yLC0T8G774n24cx3Pe8XrKoniCOAH+Q==", "license": "MIT" }, "node_modules/tapable": { @@ -8029,6 +10947,18 @@ "url": "https://opencollective.com/webpack" } }, + "node_modules/three": { + "version": "0.184.0", + "resolved": "https://registry.npmjs.org/three/-/three-0.184.0.tgz", + "integrity": "sha512-wtTRjG92pM5eUg/KuUnHsqSAlPM296brTOcLgMRqEeylYTh/CdtvKUvCyyCQTzFuStieWxvZb8mVTMvdPyUpxg==", + "license": "MIT" + }, + "node_modules/tiny-invariant": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz", + "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==", + "license": "MIT" + }, "node_modules/tinyglobby": { "version": "0.2.16", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz", @@ -8213,16 +11143,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.59.2", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.59.2.tgz", - "integrity": "sha512-pJw051uomb3ZeCzGTpRb8RbEqB5Y4WWet8gl/GcTlU35BSx0PVdZ86/bqkQCyKKuraVQEK7r6kBHQXF+fBhkoQ==", + "version": "8.59.3", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.59.3.tgz", + "integrity": "sha512-KgusgyDgG4LI8Ih/sWaCtZ06tckLAS5CvT5A4D1Q7bYVoAAyzwiZvE4BmwDHkhRVkvhRBepKeASoFzQetha7Fg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.59.2", - "@typescript-eslint/parser": "8.59.2", - "@typescript-eslint/typescript-estree": "8.59.2", - "@typescript-eslint/utils": "8.59.2" + "@typescript-eslint/eslint-plugin": "8.59.3", + "@typescript-eslint/parser": "8.59.3", + "@typescript-eslint/typescript-estree": "8.59.3", + "@typescript-eslint/utils": "8.59.3" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -8389,16 +11319,38 @@ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, + "node_modules/victory-vendor": { + "version": "37.3.6", + "resolved": "https://registry.npmjs.org/victory-vendor/-/victory-vendor-37.3.6.tgz", + "integrity": "sha512-SbPDPdDBYp+5MJHhBCAyI7wKM3d5ivekigc2Dk2s7pgbZ9wIgIBYGVw4zGHBml/qTFbexrofXW6Gu4noGxrOwQ==", + "license": "MIT AND ISC", + "dependencies": { + "@types/d3-array": "^3.0.3", + "@types/d3-ease": "^3.0.0", + "@types/d3-interpolate": "^3.0.1", + "@types/d3-scale": "^4.0.2", + "@types/d3-shape": "^3.1.0", + "@types/d3-time": "^3.0.0", + "@types/d3-timer": "^3.0.0", + "d3-array": "^3.1.6", + "d3-ease": "^3.0.1", + "d3-interpolate": "^3.0.1", + "d3-scale": "^4.0.2", + "d3-shape": "^3.1.0", + "d3-time": "^3.0.0", + "d3-timer": "^3.0.1" + } + }, "node_modules/vite": { - "version": "8.0.11", - "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.11.tgz", - "integrity": "sha512-Jz1mxtUBR5xTT65VOdJZUUeoyLtqljmFkiUXhPTLZka3RDc9vpi/xXkyrnsdRcm2lIi3l3GPMnAidTsEGIj3Ow==", + "version": "8.0.12", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.12.tgz", + "integrity": "sha512-w2dDofOWv2QB09ZITZBsvKTVAlYvPR4IAmrY/v0ir9KvLs0xybR7i48wxhM1/oyBWO34wPns+bPGw5ZrZqDpZg==", "license": "MIT", "dependencies": { "lightningcss": "^1.32.0", "picomatch": "^4.0.4", "postcss": "^8.5.14", - "rolldown": "1.0.0-rc.18", + "rolldown": "1.0.0", "tinyglobby": "^0.2.16" }, "bin": { @@ -8697,6 +11649,35 @@ "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" } + }, + "node_modules/zustand": { + "version": "5.0.13", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.13.tgz", + "integrity": "sha512-efI2tVaVQPqtOh114loML/Z80Y4NP3yc+Ff0fYiZJPauNeWZeIp/bRFD7I9bfmCOYBh/PHxlglQ9+wvlwnPikQ==", + "license": "MIT", + "engines": { + "node": ">=12.20.0" + }, + "peerDependencies": { + "@types/react": ">=18.0.0", + "immer": ">=9.0.6", + "react": ">=18.0.0", + "use-sync-external-store": ">=1.2.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "immer": { + "optional": true + }, + "react": { + "optional": true + }, + "use-sync-external-store": { + "optional": true + } + } } } } diff --git a/package.json b/package.json index 6adad50..0073194 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,7 @@ "@fontsource/patrick-hand": "^5.2.8", "@fontsource/poppins": "^5.2.7", "@fontsource/rajdhani": "^5.2.7", + "@fontsource/roboto-slab": "^5.2.8", "@fontsource/varela-round": "^5.2.8", "@gsap/react": "^2.1.2", "@headlessui/react": "^2.2.10", diff --git a/public/build/assets/animate-css-DKvealyV.js b/public/build/assets/animate-css-DKvealyV.js deleted file mode 100644 index a15072f..0000000 --- a/public/build/assets/animate-css-DKvealyV.js +++ /dev/null @@ -1,7 +0,0 @@ -import{_ as e,f as t,i as n,m as r,p as i,r as a,x as o}from"./wayfinder-DGNmxDkm.js";import{n as s,t as c}from"./button-Dnfc0p4v.js";import{p as l}from"./dist-pNDkDpUt.js";import{C as u,D as d,E as f,O as p,S as m,T as h,_ as g,a as _,b as v,c as y,d as b,f as x,g as S,h as C,i as w,k as T,l as E,m as D,n as O,o as k,p as A,r as j,s as M,u as N,v as P,w as ee,x as F,y as te}from"./floating-ui.react-dom-DuoUqJja.js";import{n as I,t as L}from"./createLucideIcon-C5RzLdeU.js";import{t as R}from"./check-h5bDkP1T.js";import{t as z}from"./chevron-down-JaoNNKy_.js";import{t as ne}from"./copy-C1-jVkjV.js";import{t as B}from"./heart-TmRvZm7r.js";import{t as V,u as H}from"./main-layout-BJ0kmSsb.js";import{a as re,i as U,n as ie,o as ae,r as W,t as oe}from"./main-registry-installer-CZTj2Evv.js";import{t as se}from"./shim-DohLtPjK.js";import{L as ce,T as le,r as ue}from"./app-D7ZTkNic.js";import{a as de,n as fe,o as pe,t as me}from"./card-gSkeg5Iw.js";import{c as G,i as he,o as ge,r as _e,s as ve,t as ye}from"./dialog-CgJmQ2_H.js";import{n as be}from"./textarea-CtmiFXkJ.js";var xe=L(`Share`,[[`path`,{d:`M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8`,key:`1b2hhj`}],[`polyline`,{points:`16 6 12 2 8 6`,key:`m901s6`}],[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`15`,key:`1p0rca`}]]),Se=L(`ThumbsUp`,[[`path`,{d:`M7 10v12`,key:`1qc93n`}],[`path`,{d:`M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z`,key:`emmmcr`}]]),K=o(r()),Ce=n();function we(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Te(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var q={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},Ee={duration:.5,overwrite:!1,delay:0},De,Oe,ke,Ae=1e8,je=1/Ae,Me=Math.PI*2,Ne=Me/4,Pe=0,Fe=Math.sqrt,Ie=Math.cos,Le=Math.sin,Re=function(e){return typeof e==`string`},ze=function(e){return typeof e==`function`},Be=function(e){return typeof e==`number`},Ve=function(e){return e===void 0},He=function(e){return typeof e==`object`},Ue=function(e){return e!==!1},We=function(){return typeof window<`u`},Ge=function(e){return ze(e)||Re(e)},Ke=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},qe=Array.isArray,Je=/random\([^)]+\)/g,Ye=/,\s*/g,Xe=/(?:-?\.?\d|\.)+/gi,Ze=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Qe=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,$e=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,et=/[+-]=-?[.\d]+/,tt=/[^,'"\[\]\s]+/gi,nt=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,rt,it,at,ot,st={},ct={},lt,ut=function(e){return(ct=Ht(e,st))&&ci},dt=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},ft=function(e,t){return!t&&console.warn(e)},pt=function(e,t){return e&&(st[e]=t)&&ct&&(ct[e]=t)||st},mt=function(){return 0},ht={suppressEvents:!0,isStart:!0,kill:!1},gt={suppressEvents:!0,kill:!1},_t={suppressEvents:!0},vt={},yt=[],bt={},xt,St={},Ct={},wt=30,Tt=[],Et=``,Dt=function(e){var t=e[0],n,r;if(He(t)||ze(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=Tt.length;r--&&!Tt[r].targetTest(t););n=Tt[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new vr(e[r],n)))||e.splice(r,1);return e},Ot=function(e){return e._gsap||Dt(En(e))[0]._gsap},kt=function(e,t,n){return(n=e[t])&&ze(n)?e[t]():Ve(n)&&e.getAttribute&&e.getAttribute(t)||n},At=function(e,t){return(e=e.split(`,`)).forEach(t)||e},jt=function(e){return Math.round(e*1e5)/1e5||0},Mt=function(e){return Math.round(e*1e7)/1e7||0},Nt=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n===`+`?e+r:n===`-`?e-r:n===`*`?e*r:e/r},Pt=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++ro;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},Jt=function(e,t,n,r){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},Yt=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Xt=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},Zt=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Qt=function(e,t,n,r){return e._startAt&&(Oe?e._startAt.revert(gt):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},$t=function e(t){return!t||t._ts&&e(t.parent)},en=function(e){return e._repeat?tn(e._tTime,e=e.duration()+e._rDelay)*e:0},tn=function(e,t){var n=Math.floor(e=Mt(e/t));return e&&n===e?n-1:n},nn=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},rn=function(e){return e._end=Mt(e._start+(e._tDur/Math.abs(e._ts||e._rts||je)||0))},an=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Mt(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),rn(e),n._dirty||Xt(n,e)),e},on=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._startje)&&t.render(n,!0)),Xt(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-je}},sn=function(e,t,n,r){return t.parent&&Yt(t),t._start=Mt((Be(n)?n:n||e!==rt?_n(e,n,t):e._time)+t._delay),t._end=Mt(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),qt(e,t,`_first`,`_last`,e._sort?`_start`:0),dn(t)||(e._recent=t),r||on(e,t),e._ts<0&&an(e,e._tTime),e},cn=function(e,t){return(st.ScrollTrigger||dt(`scrollTrigger`,t))&&st.ScrollTrigger.create(t,e)},ln=function(e,t,n,r,i){if(Dr(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!Oe&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&xt!==ir.frame)return yt.push(e),e._lazy=[i,r],1},un=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},dn=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},fn=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&un(e)&&!(!e._initted&&dn(e))||(e._ts<0||e._dp._ts<0)&&!dn(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=bn(0,e._tDur,t),l=tn(s,o),e._yoyo&&l&1&&(a=1-a),l!==tn(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||Oe||r||e._zTime===je||!t&&e._zTime){if(!e._initted&&ln(e,t,r,n,s))return;for(u=e._zTime,e._zTime=t||(n?je:0),n||=t&&!u,e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=s,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&Qt(e,t,n,!0),e._onUpdate&&!n&&Un(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&Un(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Yt(e,1),!n&&!Oe&&(Un(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},pn=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data===`isPause`&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data===`isPause`&&r._start0&&!r&&an(e,e._tTime=e._tDur*o),e.parent&&rn(e),n||Xt(e.parent,e),e},hn=function(e){return e instanceof br?Xt(e):mn(e,e._dur)},gn={_start:0,endTime:mt,totalDuration:mt},_n=function e(t,n,r){var i=t.labels,a=t._recent||gn,o=t.duration()>=Ae?a.endTime(!1):t._dur,s,c,l;return Re(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)===`%`,s=n.indexOf(`=`),c===`<`||c===`>`?(s>=0&&(n=n.replace(/=/,``)),(c===`<`?a._start:a.endTime(a._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(s<0?a:r).totalDuration()/100:1)):s<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(s-1)+n.substr(s+1)),l&&r&&(c=c/100*(qe(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},vn=function(e,t,n){var r=Be(t[1]),i=(r?2:1)+(e<2?0:1),a=t[i],o,s;if(r&&(a.duration=t[1]),a.parent=n,e){for(o=a,s=n;s&&!(`immediateRender`in o);)o=s.vars.defaults||{},s=Ue(s.vars.inherit)&&s.parent;a.immediateRender=Ue(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new Pr(t[0],a,t[i+1])},yn=function(e,t){return e||e===0?t(e):t},bn=function(e,t,n){return nt?t:n},xn=function(e,t){return!Re(e)||!(t=nt.exec(e))?``:t[1]},Sn=function(e,t,n){return yn(n,function(n){return bn(e,t,n)})},Cn=[].slice,wn=function(e,t){return e&&He(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&He(e[0]))&&!e.nodeType&&e!==it},Tn=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return Re(e)&&!t||wn(e,1)?(r=n).push.apply(r,En(e)):n.push(e)})||n},En=function(e,t,n){return ke&&!t&&ke.selector?ke.selector(e):Re(e)&&!n&&(at||!ar())?Cn.call((t||ot).querySelectorAll(e),0):qe(e)?Tn(e,n):wn(e)?Cn.call(e,0):e?[e]:[]},Dn=function(e){return e=En(e)[0]||ft(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return En(t,n.querySelectorAll?n:n===e?ft(`Invalid scope`)||ot.createElement(`div`):e)}},On=function(e){return e.sort(function(){return .5-Math.random()})},kn=function(e){if(ze(e))return e;var t=He(e)?e:{each:e},n=pr(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,s=isNaN(r)||o,c=t.axis,l=r,u=r;return Re(r)?l=u={center:.5,edges:.5,end:1}[r]||0:!o&&s&&(l=r[0],u=r[1]),function(e,o,d){var f=(d||t).length,p=a[f],m,h,g,_,v,y,b,x,S;if(!p){if(S=t.grid===`auto`?0:(t.grid||[1,Ae])[1],!S){for(b=-Ae;b<(b=d[S++].getBoundingClientRect().left)&&Sb&&(b=v),vf?f-1:c?c===`y`?f/S:S:Math.max(S,f/S))||0)*(r===`edges`?-1:1),p.b=f<0?i-f:i,p.u=xn(t.amount||t.each)||0,n=n&&f<0?fr(n):n}return f=(p[e]-p.min)/p.max||0,Mt(p.b+(n?n(f):f)*p.v)+p.u}},An=function(e){var t=10**((e+``).split(`.`)[1]||``).length;return function(n){var r=Mt(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(Be(n)?0:xn(n))}},jn=function(e,t){var n=qe(e),r,i;return!n&&He(e)&&(r=n=e.radius||Ae,e.values?(e=En(e.values),(i=!Be(e[0]))&&(r*=r)):e=An(e.increment)),yn(t,n?ze(e)?function(t){return i=e(t),Math.abs(i-t)<=r?i:t}:function(t){for(var n=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),o=Ae,s=0,c=e.length,l,u;c--;)i?(l=e[c].x-n,u=e[c].y-a,l=l*l+u*u):l=Math.abs(e[c]-n),li?a-e:e)})},zn=function(e){return e.replace(Je,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(Ye);return Mn(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},Bn=function(e,t,n,r,i){var a=t-e,o=r-n;return yn(i,function(t){return n+((t-e)/a*o||0)})},Vn=function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o=Re(t),s={},c,l,u,d,f;if(r===!0&&(i=1)&&(r=null),o)t={p:t},n={p:n};else if(qe(t)&&!qe(n)){for(u=[],d=t.length,f=d-2,l=1;l(o=Math.abs(o))&&(s=a,i=o);return s},Un=function(e,t,n){var r=e.vars,i=r[t],a=ke,o=e._ctx,s,c,l;if(i)return s=r[t+`Params`],c=r.callbackScope||e,n&&yt.length&&Ft(),o&&(ke=o),l=s?i.apply(c,s):i.call(c),ke=a,l},Wn=function(e){return Yt(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Oe),e.progress()<1&&Un(e,`onInterrupt`),e},Gn,Kn=[],qn=function(e){if(e)if(e=!e.name&&e.default||e,We()||e.headless){var t=e.name,n=ze(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:mt,render:Ur,add:Sr,kill:Gr,modifier:Wr,rawVars:0},a={targetTest:0,get:0,getSetter:zr,aliases:{},register:0};if(ar(),e!==r){if(St[t])return;Bt(r,Bt(Wt(e,i),a)),Ht(r.prototype,Ht(i,Wt(e,a))),St[r.prop=t]=r,e.targetTest&&(Tt.push(r),vt[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}pt(t,r),e.register&&e.register(ci,r,Jr)}else Kn.push(e)},Jn=255,Yn={aqua:[0,Jn,Jn],lime:[0,Jn,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Jn],navy:[0,0,128],white:[Jn,Jn,Jn],olive:[128,128,0],yellow:[Jn,Jn,0],orange:[Jn,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Jn,0,0],pink:[Jn,192,203],cyan:[0,Jn,Jn],transparent:[Jn,Jn,Jn,0]},Xn=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*Jn+.5|0},Zn=function(e,t,n){var r=e?Be(e)?[e>>16,e>>8&Jn,e&Jn]:0:Yn.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),Yn[e])r=Yn[e];else if(e.charAt(0)===`#`){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e=`#`+i+i+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):``)),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&Jn,r&Jn,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&Jn,e&Jn]}else if(e.substr(0,3)===`hsl`){if(r=p=e.match(Xe),!t)s=r[0]%360/360,c=r[1]/100,l=r[2]/100,a=l<=.5?l*(c+1):l+c-l*c,i=l*2-a,r.length>3&&(r[3]*=1),r[0]=Xn(s+1/3,i,a),r[1]=Xn(s,i,a),r[2]=Xn(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(Ze),n&&r.length<4&&(r[3]=1),r}else r=e.match(Xe)||Yn.transparent;r=r.map(Number)}return t&&!p&&(i=r[0]/Jn,a=r[1]/Jn,o=r[2]/Jn,u=Math.max(i,a,o),d=Math.min(i,a,o),l=(u+d)/2,u===d?s=c=0:(f=u-d,c=l>.5?f/(2-u-d):f/(u+d),s=u===i?(a-o)/f+(at||h<0)&&(r+=h-n),i+=h,y=i-r,_=y-o,(_>0||g)&&(b=++d.frame,f=y-d.time*1e3,d.time=y/=1e3,o+=_+(_>=a?4:a-_),v=1),g||(c=l(u)),v)for(p=0;p=t&&p--},_listeners:s},d}(),ar=function(){return!rr&&ir.wake()},or={},sr=/^[\d.\-M][\d.\-,\s]/,cr=/["']/g,lr=function(e){for(var t={},n=e.substr(1,e.length-3).split(`:`),r=n[0],i=1,a=n.length,o,s,c;i1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[lr(t[1])]:ur(e).split(`,`).map(Rt)):or._CE&&sr.test(e)?or._CE(``,e):n},fr=function(e){return function(t){return 1-e(1-t)}},pr=function(e,t){return e&&(ze(e)?e:or[e]||dr(e))||t},mr=function(e,t,n,r){n===void 0&&(n=function(e){return 1-t(1-e)}),r===void 0&&(r=function(e){return e<.5?t(e*2)/2:1-t((1-e)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},a;return At(e,function(e){for(var t in or[e]=st[e]=i,or[a=e.toLowerCase()]=n,i)or[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=or[e+`.`+t]=i[t]}),i},hr=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},gr=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/Me*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*Le((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:hr(s);return a=Me/a,c.config=function(n,r){return e(t,n,r)},c},_r=function e(t,n){n===void 0&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i=t===`out`?r:t===`in`?function(e){return 1-r(1-e)}:hr(r);return i.config=function(n){return e(t,n)},i};At(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;mr(e+`,Power`+(n-1),t?function(e){return e**+n}:function(e){return e},function(e){return 1-(1-e)**n},function(e){return e<.5?(e*2)**n/2:1-((1-e)*2)**n/2})}),or.Linear.easeNone=or.none=or.Linear.easeIn,mr(`Elastic`,gr(`in`),gr(`out`),gr()),(function(e,t){var n=1/t,r=2*n,i=2.5*n,a=function(a){return a0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,mn(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(ar(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(an(this,e),!n._dp||n.parent||on(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e0||!this._tDur&&!e)&&sn(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===je||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),Lt(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+en(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+en(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?tn(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-je?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?nn(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-je?0:this._rts,this.totalTime(bn(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),rn(this),Zt(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(ar(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==je&&(this._tTime-=je)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=Mt(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&sn(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(Ue(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?nn(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=_t);var t=Oe;return Oe=e,It(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),Oe=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,hn(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,hn(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(_n(this,e),Ue(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,Ue(t)),this._dur||(this._zTime=-je),this},t.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-je:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-je,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start,n;return!!(!e||this._ts&&this._initted&&e.isActive()&&(n=e.rawTime(!0))>=t&&n1?(t?(r[e]=t,n&&(r[e+`Params`]=n),e===`onUpdate`&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=ze(e)?e:zt,a=function(){var e=t.then;t.then=null,n&&n(),ze(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&t.totalProgress()===1&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){Wn(this)},e}();Bt(yr.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-je,_prom:0,_ps:!1,_rts:1});var br=function(e){Te(t,e);function t(t,n){var r;return t===void 0&&(t={}),r=e.call(this,t)||this,r.labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=Ue(t.sortChildren),rt&&sn(t.parent||rt,we(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&cn(we(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return vn(0,arguments,this),this},n.from=function(e,t,n){return vn(1,arguments,this),this},n.fromTo=function(e,t,n,r){return vn(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,Gt(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Pr(e,t,_n(this,n),1),this},n.call=function(e,t,n){return sn(this,Pr.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new Pr(e,n,_n(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,Gt(n).immediateRender=Ue(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,s){return r.startAt=n,Gt(r).immediateRender=Ue(r.immediateRender),this.staggerTo(e,t,r,i,a,o,s)},n.render=function(e,t,n){var r=this._time,i=this._dirty?this.totalDuration():this._tDur,a=this._dur,o=e<=0?0:Mt(e),s=this._zTime<0!=e<0&&(this._initted||!a),c,l,u,d,f,p,m,h,g,_,v,y;if(this!==rt&&o>i&&e>=0&&(o=i),o!==this._tTime||n||s){if(r!==this._time&&a&&(o+=this._time-r,e+=this._time-r),c=o,g=this._start,h=this._ts,p=!h,s&&(a||(r=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(v=this._yoyo,f=a+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(f*100+e,t,n);if(c=Mt(o%f),o===i?(d=this._repeat,c=a):(_=Mt(o/f),d=~~_,d&&d===_&&(c=a,d--),c>a&&(c=a)),_=tn(this._tTime,f),!r&&this._tTime&&_!==d&&this._tTime-_*f-this._dur<=0&&(_=d),v&&d&1&&(c=a-c,y=1),d!==_&&!this._lock){var b=v&&_&1,x=b===(v&&d&1);if(d<_&&(b=!b),r=b?0:o%a?a:o,this._lock=1,this.render(r||(y?0:Mt(d*f)),t,!a)._lock=0,this._tTime=o,!t&&this.parent&&Un(this,`onRepeat`),this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1,_=d),r&&r!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act||(a=this._dur,i=this._tDur,x&&(this._lock=2,r=b?a:-1e-4,this.render(r,!0),this.vars.repeatRefresh&&!y&&this.invalidate()),this._lock=0,!this._ts&&!p))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=pn(this,Mt(r),Mt(c)),m&&(o-=c-(c=m._start))),this._tTime=o,this._time=c,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,r=0),!r&&o&&a&&!t&&!_&&(Un(this,`onStart`),this._tTime!==o))return this;if(c>=r&&e>=0)for(l=this._first;l;){if(u=l._next,(l._act||c>=l._start)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(c-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(c-l._start)*l._ts,t,n),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=-je);break}}l=u}else{l=this._last;for(var S=e<0?e:c;l;){if(u=l._prev,(l._act||S<=l._end)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(S-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(S-l._start)*l._ts,t,n||Oe&&It(l)),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=S?-je:je);break}}l=u}}if(m&&!t&&(this.pause(),m.render(c>=r?0:-je)._zTime=c>=r?1:-1,this._ts))return this._start=g,rn(this),this.render(e,t,n);this._onUpdate&&!t&&Un(this,`onUpdate`,!0),(o===i&&this._tTime>=this.totalDuration()||!o&&r)&&(g===this._start||Math.abs(h)!==Math.abs(this._ts))&&(this._lock||((e||!a)&&(o===i&&this._ts>0||!o&&this._ts<0)&&Yt(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(Un(this,o===i&&e>=0?`onComplete`:`onReverseComplete`,!0),this._prom&&!(o0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(Be(t)||(t=_n(this,t,e)),!(e instanceof yr)){if(qe(e))return e.forEach(function(e){return n.add(e,t)}),this;if(Re(e))return this.addLabel(e,t);if(ze(e))e=Pr.delayedCall(0,e);else return this}return this===e?this:sn(this,e,t)},n.getChildren=function(e,t,n,r){e===void 0&&(e=!0),t===void 0&&(t=!0),n===void 0&&(n=!0),r===void 0&&(r=-Ae);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof Pr?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return Re(e)?this.removeLabel(e):ze(e)?this.killTweensOf(e):(e.parent===this&&Jt(this,e),e===this._recent&&(this._recent=this._last),Xt(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Mt(ir.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=_n(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=Pr.delayedCall(0,t||mt,n);return r.data=`isPause`,this._hasPause=1,sn(this,r,_n(this,e))},n.removePause=function(e){var t=this._first;for(e=_n(this,e);t;)t._start===e&&t.data===`isPause`&&Yt(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)Tr!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=En(e),i=this._first,a=Be(t),o;i;)i instanceof Pr?Pt(i._targets,r)&&(a?(!Tr||i._initted&&i._ts)&&i.globalTime(0)<=t&&i.globalTime(i.totalDuration())>t:!t||i.isActive())&&n.push(i):(o=i.getTweensOf(r,t)).length&&n.push.apply(n,o),i=i._next;return n},n.tweenTo=function(e,t){t||={};var n=this,r=_n(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=Pr.to(n,Bt({ease:t.ease||`none`,lazy:!1,immediateRender:!1,time:r,overwrite:`auto`,duration:t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale())||je,onStart:function(){if(n.pause(),!l){var e=t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale());u._dur!==e&&mn(u,e,0,1).render(u._time,!0,!0),l=1}o&&o.apply(u,s||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,Bt({startAt:{time:_n(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),Hn(this,_n(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),Hn(this,_n(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+je)},n.shiftChildren=function(e,t,n){n===void 0&&(n=0);var r=this._first,i=this.labels,a;for(e=Mt(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(a in i)i[a]>=n&&(i[a]+=e);return Xt(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){e===void 0&&(e=!0);for(var t=this._first,n;t;)n=t._next,this.remove(t),t=n;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),Xt(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=Ae,a,o,s;if(arguments.length)return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-e:e));if(n._dirty){for(s=n.parent;r;)a=r._prev,r._dirty&&r.totalDuration(),o=r._start,o>i&&n._sort&&r._ts&&!n._lock?(n._lock=1,sn(n,r,o-r._delay,1)._lock=0):i=o,o<0&&r._ts&&(t-=o,(!s&&!n._dp||s&&s.smoothChildTiming)&&(n._start+=Mt(o/n._ts),n._time-=o,n._tTime-=o),n.shiftChildren(-o,!1,-1/0),i=0),r._end>t&&r._ts&&(t=r._end),r=a;mn(n,n===rt&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(rt._ts&&(Lt(rt,nn(e,rt)),xt=ir.frame),ir.frame>=wt){wt+=q.autoSleep||120;var t=rt._first;if((!t||!t._ts)&&q.autoSleep&&ir._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||ir.sleep()}}},t}(yr);Bt(br.prototype,{_lock:0,_hasPause:0,_forcing:0});var xr=function(e,t,n,r,i,a,o){var s=new Jr(this._pt,e,t,0,1,Hr,null,i),c=0,l=0,u,d,f,p,m,h,g,_;for(s.b=n,s.e=r,n+=``,r+=``,(g=~r.indexOf(`random(`))&&(r=zn(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match($e)||[];u=$e.exec(r);)p=u[0],m=r.substring(c,u.index),f?f=(f+1)%5:m.substr(-5)===`rgba(`&&(f=1),p!==d[l++]&&(h=parseFloat(d[l-1])||0,s._pt={_next:s._pt,p:m||l===1?m:`,`,s:h,c:p.charAt(1)===`=`?Nt(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=$e.lastIndex);return s.c=c`)}),_.duration();else{for(x in y={},f)x===`ease`||x===`easeEach`||Ar(x,f[x],y,f.easeEach);for(x in y)for(D=y[x].sort(function(e,t){return e.t-t.t}),E=0,v=0;vi-je&&!o?i:ea&&(c=a)),p=this._yoyo&&u&1,p&&(c=a-c),f=tn(this._tTime,d),c===r&&!n&&this._initted&&u===f)return this._tTime=s,this;u!==f&&this.vars.repeatRefresh&&!p&&!this._lock&&c!==d&&this._initted&&(this._lock=n=1,this.render(Mt(d*u),!0).invalidate()._lock=0)}if(!this._initted){if(ln(this,o?e:c,n,t,s))return this._tTime=0,this;if(r!==this._time&&!(n&&this.vars.repeatRefresh&&u!==f))return this;if(a!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=c0||!s&&this._ts<0)&&Yt(this,1),!t&&!(o&&!r)&&(s||r||p)&&(Un(this,s===i?`onComplete`:`onReverseComplete`,!0),this._prom&&!(s0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){rr||ir.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||Dr(this,a),o=this._ease(a/this._dur),Or(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):(an(this,0),this.parent||qt(this._dp,this,`_first`,`_last`,this._dp._sort?`_start`:0),this.render(0))},n.kill=function(e,t){if(t===void 0&&(t=`all`),!e&&(!t||t===`all`))return this._lazy=this._pt=0,this.parent?Wn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Oe),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Tr&&Tr.vars.overwrite!==!0)._first||Wn(this),this.parent&&n!==this.timeline.totalDuration()&&mn(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?En(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&Kt(r,i))return t===`all`&&(this._pt=0),Wn(this);for(s=this._op=this._op||[],t!==`all`&&(Re(t)&&(d={},At(t,function(e){return d[e]=1}),t=d),t=kr(r,t)),p=r.length;p--;)if(~i.indexOf(r[p]))for(d in c=a[p],t===`all`?(s[p]=t,u=c,l={}):(l=s[p]=s[p]||{},u=t),u)f=c&&c[d],f&&((!(`kill`in f.d)||f.d.kill(d)===!0)&&Jt(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&Wn(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return vn(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return vn(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return rt.killTweensOf(e,t,n)},t}(yr);Bt(Pr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),At(`staggerTo,staggerFrom,staggerFromTo`,function(e){Pr[e]=function(){var t=new br,n=Cn.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var Fr=function(e,t,n){return e[t]=n},Ir=function(e,t,n){return e[t](n)},Lr=function(e,t,n,r){return e[t](r.fp,n)},Rr=function(e,t,n){return e.setAttribute(t,n)},zr=function(e,t){return ze(e[t])?Ir:Ve(e[t])&&e.setAttribute?Rr:Fr},Br=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Vr=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Hr=function(e,t){var n=t._pt,r=``;if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},Ur=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},Wr=function(e,t,n,r){for(var i=this._pt,a;i;)a=i._next,i.p===r&&i.modifier(e,t,n),i=a},Gr=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?Jt(this,t,`_pt`):t.dep||(n=1),t=r;return!n},Kr=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},qr=function(e){for(var t=e._pt,n,r,i,a;t;){for(n=t._next,r=i;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:i=t,(t._next=r)?r._prev=t:a=t,t=n}e._pt=i},Jr=function(){function e(e,t,n,r,i,a,o,s,c){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||Br,this.d=o||this,this.set=s||Fr,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=e.prototype;return t.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=Kr,this.m=e,this.mt=n,this.tween=t},e}();At(Et+`parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse`,function(e){return vt[e]=1}),st.TweenMax=st.TweenLite=Pr,st.TimelineLite=st.TimelineMax=br,rt=new br({sortChildren:!1,defaults:Ee,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),q.stringFilter=nr;var Yr=[],Xr={},Zr=[],Qr=0,$r=0,ei=function(e){return(Xr[e]||Zr).map(function(e){return e()})},ti=function(){var e=Date.now(),t=[];e-Qr>2&&(ei(`matchMediaInit`),Yr.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=it.matchMedia(n[a]).matches,i&&(o=1),i!==r[a]&&(r[a]=i,s=1);s&&(e.revert(),o&&t.push(e))}),ei(`matchMediaRevert`),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Qr=e,ei(`matchMedia`))},ni=function(){function e(e,t){this.selector=t&&Dn(t),this.data=[],this._r=[],this.isReverted=!1,this.id=$r++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){ze(e)&&(n=t,t=e,e=ze);var r=this,i=function(){var e=ke,i=r.selector,a;return e&&e!==r&&e.data.push(r),n&&(r.selector=Dn(n)),ke=r,a=t.apply(r,arguments),ze(a)&&r._r.push(a),ke=e,r.selector=i,r.isReverted=!1,a};return r.last=i,e===ze?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=ke;ke=null,e(this),ke=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof Pr&&!(n.parent&&n.parent.data===`nested`)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?(function(){for(var t=n.getTweens(),r=n.data.length,i;r--;)i=n.data[r],i.data===`isFlip`&&(i.revert(),i.getChildren(!0,!0,!1).forEach(function(e){return t.splice(t.indexOf(e),1)}));for(t.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),r=n.data.length;r--;)i=n.data[r],i instanceof br?i.data!==`nested`&&(i.scrollTrigger&&i.scrollTrigger.revert(),i.kill()):!(i instanceof Pr)&&i.revert&&i.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0})():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=Yr.length;r--;)Yr[r].id===this.id&&Yr.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),ri=function(){function e(e){this.contexts=[],this.scope=e,ke&&ke.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){He(e)||(e={matches:e});var r=new ni(0,n||this.scope),i=r.conditions={},a,o,s;for(o in ke&&!r.selector&&(r.selector=ke.selector),this.contexts.push(r),t=r.add(`onMatch`,t),r.queries=e,e)o===`all`?s=1:(a=it.matchMedia(e[o]),a&&(Yr.indexOf(r)<0&&Yr.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(ti):a.addEventListener(`change`,ti)));return s&&t(r,function(e){return r.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),ii={registerPlugin:function(){[...arguments].forEach(function(e){return qn(e)})},timeline:function(e){return new br(e)},getTweensOf:function(e,t){return rt.getTweensOf(e,t)},getProperty:function(e,t,n,r){Re(e)&&(e=En(e)[0]);var i=Ot(e||{}).get,a=n?zt:Rt;return n===`native`&&(n=``),e&&(t?a((St[t]&&St[t].get||i)(e,t,n,r)):function(t,n,r){return a((St[t]&&St[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=En(e),e.length>1){var r=e.map(function(e){return ci.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=St[t],o=Ot(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;Gn._pt=0,r.init(e,n?t+n:t,Gn,0,[e]),r.render(1,r),Gn._pt&&Ur(1,Gn)}:o.set(e,s);return a?c:function(t){return c(e,s,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=ci.to(e,Bt((r={},r[t]=`+=0.1`,r.paused=!0,r.stagger=0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return rt.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=pr(e.ease,Ee.ease)),Ut(Ee,e||{})},config:function(e){return Ut(q,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||``).split(`,`).forEach(function(e){return e&&!St[e]&&!st[e]&&ft(t+` effect requires `+e+` plugin.`)}),Ct[t]=function(e,t,r){return n(En(e),Bt(t||{},i),r)},a&&(br.prototype[t]=function(e,n,r){return this.add(Ct[t](e,He(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){or[e]=pr(t)},parseEase:function(e,t){return arguments.length?pr(e,t):or},getById:function(e){return rt.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new br(e),r,i;for(n.smoothChildTiming=Ue(e.smoothChildTiming),rt.remove(n),n._dp=0,n._time=n._tTime=rt._time,r=rt._first;r;)i=r._next,(t||!(!r._dur&&r instanceof Pr&&r.vars.onComplete===r._targets[0]))&&sn(n,r,r._start-r._delay),r=i;return sn(rt,n,0),n},context:function(e,t){return e?new ni(e,t):ke},matchMedia:function(e){return new ri(e)},matchMediaRefresh:function(){return Yr.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||ti()},addEventListener:function(e,t){var n=Xr[e]||(Xr[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Xr[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:Ln,wrapYoyo:Rn,distribute:kn,random:Mn,snap:jn,normalize:Fn,getUnit:xn,clamp:Sn,splitColor:Zn,toArray:En,selector:Dn,mapRange:Bn,pipe:Nn,unitize:Pn,interpolate:Vn,shuffle:On},install:ut,effects:Ct,ticker:ir,updateRoot:br.updateRoot,plugins:St,globalTimeline:rt,core:{PropTween:Jr,globals:pt,Tween:Pr,Timeline:br,Animation:yr,getCache:Ot,_removeLinkedListItem:Jt,reverting:function(){return Oe},context:function(e){return e&&ke&&(ke.data.push(e),e._ctx=ke),ke},suppressOverwrites:function(e){return De=e}}};At(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return ii[e]=Pr[e]}),ir.add(br.updateRoot),Gn=ii.to({},{duration:0});var ai=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},oi=function(e,t){var n=e._targets,r,i,a;for(r in t)for(i=n.length;i--;)a=e._ptLookup[i][r],(a&&=a.d)&&(a._pt&&(a=ai(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},si=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(Re(n)&&(r={},At(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}oi(e,n)}}}},ci=ii.registerPlugin({name:`attr`,init:function(e,t,n,r,i){var a,o,s;for(a in this.tween=n,t)s=e.getAttribute(a)||``,o=this.add(e,`setAttribute`,(s||0)+``,t[a],r,i,0,0,a),o.op=a,o.b=s,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)Oe?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:`endArray`,headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},si(`roundProps`,An),si(`modifiers`),si(`snap`,jn))||ii;Pr.version=br.version=ci.version=`3.15.0`,lt=1,We()&&ar(),or.Power0,or.Power1,or.Power2,or.Power3,or.Power4,or.Linear,or.Quad,or.Cubic,or.Quart,or.Quint,or.Strong,or.Elastic,or.Back,or.SteppedEase,or.Bounce,or.Sine,or.Expo,or.Circ;var li,ui,di,fi,pi,mi,hi,gi=function(){return typeof window<`u`},_i={},vi=180/Math.PI,yi=Math.PI/180,bi=Math.atan2,xi=1e8,Si=/([A-Z])/g,Ci=/(left|right|width|margin|padding|x)/i,wi=/[\s,\(]\S/,Ti={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},Ei=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Di=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Oi=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},ki=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Ai=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},ji=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Mi=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},Ni=function(e,t,n){return e.style[t]=n},Pi=function(e,t,n){return e.style.setProperty(t,n)},Fi=function(e,t,n){return e._gsap[t]=n},Ii=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},Li=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},Ri=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},zi=`transform`,Bi=zi+`Origin`,Vi=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in _i&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=Ti[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=oa(i,e)}):this.tfm[t]=o.x?o[t]:oa(i,t),t===Bi&&(this.tfm.zOrigin=o.zOrigin);else return Ti.transform.split(`,`).forEach(function(t){return e.call(r,t,n)});if(this.props.indexOf(zi)>=0)return;o.svg&&(this.svgo=i.getAttribute(`data-svg-origin`),this.props.push(Bi,n,``)),t=zi}(a||n)&&this.props.push(t,n,a[t])},Hi=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},Ui=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,i,a;for(i=0;i=0?Ji[i]:``)+e},Xi=function(){gi()&&window.document&&(li=window,ui=li.document,di=ui.documentElement,pi=Ki(`div`)||{style:{}},Ki(`div`),zi=Yi(zi),Bi=zi+`Origin`,pi.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,Gi=!!Yi(`perspective`),hi=ci.core.reverting,fi=1)},Zi=function(e){var t=e.ownerSVGElement,n=Ki(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),di.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),di.removeChild(n),i},Qi=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},$i=function(e){var t,n;try{t=e.getBBox()}catch{t=Zi(e),n=1}return t&&(t.width||t.height)||n||(t=Zi(e)),t&&!t.width&&!t.x&&!t.y?{x:+Qi(e,[`x`,`cx`,`x1`])||0,y:+Qi(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},ea=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&$i(e))},ta=function(e,t){if(t){var n=e.style,r;t in _i&&t!==Bi&&(t=zi),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(Si,`-$1`).toLowerCase())):n.removeAttribute(t)}},na=function(e,t,n,r,i,a){var o=new Jr(e._pt,t,n,0,1,a?Mi:ji);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},ra={deg:1,rad:1,turn:1},ia={grid:1,flex:1},aa=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=pi.style,c=Ci.test(n),l=t.tagName.toLowerCase()===`svg`,u=(l?`client`:`offset`)+(c?`Width`:`Height`),d=100,f=i===`px`,p=i===`%`,m,h,g,_;if(i===o||!a||ra[i]||ra[o])return a;if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&ea(t),(p||o===`%`)&&(_i[n]||~n.indexOf(`adius`)))return m=_?t.getBBox()[c?`width`:`height`]:t[u],jt(p?a/m*d:a/100*m);if(s[c?`width`:`height`]=d+(f?o:i),h=i!==`rem`&&~n.indexOf(`adius`)||i===`em`&&t.appendChild&&!l?t:t.parentNode,_&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===ui||!h.appendChild)&&(h=ui.body),g=h._gsap,g&&p&&g.width&&c&&g.time===ir.time&&!g.uncache)return jt(a/g.width*d);if(p&&(n===`height`||n===`width`)){var v=t.style[n];t.style[n]=d+i,m=t[u],v?t.style[n]=v:ta(t,n)}else (p||o===`%`)&&!ia[qi(h,`display`)]&&(s.position=qi(t,`position`)),h===t&&(s.position=`static`),h.appendChild(pi),m=pi[u],h.removeChild(pi),s.position=`absolute`;return c&&p&&(g=Ot(h),g.time=ir.time,g.width=h[u]),jt(f?m*a/d:m&&a?d/m*a:0)},oa=function(e,t,n,r){var i;return fi||Xi(),t in Ti&&t!==`transform`&&(t=Ti[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),_i[t]&&t!==`transform`?(i=va(e,r),i=t===`transformOrigin`?i.svg?i.origin:ya(qi(e,Bi))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=da[t]&&da[t](e,t,n)||qi(e,t)||kt(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?aa(e,t,i,n)+n:i},sa=function(e,t,n,r){if(!n||n===`none`){var i=Yi(t,e,1),a=i&&qi(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=qi(e,`borderTopColor`))}var o=new Jr(this._pt,e.style,t,0,1,Hr),s=0,c=0,l,u,d,f,p,m,h,g,_,v,y,b;if(o.b=n,o.e=r,n+=``,r+=``,r.substring(0,6)===`var(--`&&(r=qi(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=qi(e,t)||r,m?e.style[t]=m:ta(e,t)),l=[n,r],nr(l),n=l[0],r=l[1],d=n.match(Qe)||[],b=r.match(Qe)||[],b.length){for(;u=Qe.exec(r);)h=u[0],_=r.substring(s,u.index),p?p=(p+1)%5:(_.substr(-5)===`rgba(`||_.substr(-5)===`hsla(`)&&(p=1),h!==(m=d[c++]||``)&&(f=parseFloat(m)||0,y=m.substr((f+``).length),h.charAt(1)===`=`&&(h=Nt(f,h)+y),g=parseFloat(h),v=h.substr((g+``).length),s=Qe.lastIndex-v.length,v||(v=v||q.units[t]||y,s===r.length&&(r+=v,o.e+=v)),y!==v&&(f=aa(e,t,m,v)||0),o._pt={_next:o._pt,p:_||c===1?_:`,`,s:f,c:g-f,m:p&&p<4||t===`zIndex`?Math.round:0});o.c=s-1;)o=i[c],_i[o]&&(s=1,o=o===`transformOrigin`?Bi:zi),ta(n,o);s&&(ta(n,zi),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,va(n,1),a.uncache=1,Hi(r)))}},da={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new Jr(e._pt,t,n,0,0,ua);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},fa=[1,0,0,1,0,0],pa={},ma=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},ha=function(e){var t=qi(e,zi);return ma(t)?fa:t.substr(7).match(Ze).map(jt)},ga=function(e,t){var n=e._gsap||Ot(e),r=e.style,i=ha(e),a,o,s,c;return n.svg&&e.getAttribute(`transform`)?(s=e.transform.baseVal.consolidate().matrix,i=[s.a,s.b,s.c,s.d,s.e,s.f],i.join(`,`)===`1,0,0,1,0,0`?fa:i):(i===fa&&!e.offsetParent&&e!==di&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,di.appendChild(e)),i=ha(e),s?r.display=s:ta(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):di.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},_a=function(e,t,n,r,i,a){var o=e._gsap,s=i||ga(e,!0),c=o.xOrigin||0,l=o.yOrigin||0,u=o.xOffset||0,d=o.yOffset||0,f=s[0],p=s[1],m=s[2],h=s[3],g=s[4],_=s[5],v=t.split(` `),y=parseFloat(v[0])||0,b=parseFloat(v[1])||0,x,S,C,w;n?s!==fa&&(S=f*h-p*m)&&(C=h/S*y+b*(-m/S)+(m*_-h*g)/S,w=y*(-p/S)+f/S*b-(f*_-p*g)/S,y=C,b=w):(x=$i(e),y=x.x+(~v[0].indexOf(`%`)?y/100*x.width:y),b=x.y+(~(v[1]||v[0]).indexOf(`%`)?b/100*x.height:b)),r||r!==!1&&o.smooth?(g=y-c,_=b-l,o.xOffset=u+(g*f+_*m)-g,o.yOffset=d+(g*p+_*h)-_):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=b,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!n,e.style[Bi]=`0px 0px`,a&&(na(a,o,`xOrigin`,c,y),na(a,o,`yOrigin`,l,b),na(a,o,`xOffset`,u,o.xOffset),na(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},va=function(e,t){var n=e._gsap||new vr(e);if(`x`in n&&!t&&!n.uncache)return n;var r=e.style,i=n.scaleX<0,a=`px`,o=`deg`,s=getComputedStyle(e),c=qi(e,Bi)||`0`,l=u=d=m=h=g=_=v=y=0,u,d,f=p=1,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,P,ee,F,te,I,L,R;return n.svg=!!(e.getCTM&&ea(e)),s.translate&&((s.translate!==`none`||s.scale!==`none`||s.rotate!==`none`)&&(r[zi]=(s.translate===`none`?``:`translate3d(`+(s.translate+` 0 0`).split(` `).slice(0,3).join(`, `)+`) `)+(s.rotate===`none`?``:`rotate(`+s.rotate+`) `)+(s.scale===`none`?``:`scale(`+s.scale.split(` `).join(`,`)+`) `)+(s[zi]===`none`?``:s[zi])),r.scale=r.rotate=r.translate=`none`),S=ga(e,n.svg),n.svg&&(n.uncache?(N=e.getBBox(),c=n.xOrigin-N.x+`px `+(n.yOrigin-N.y)+`px`,M=``):M=!t&&e.getAttribute(`data-svg-origin`),_a(e,M||c,!!M||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,x=n.yOrigin||0,S!==fa&&(E=S[0],D=S[1],O=S[2],k=S[3],l=A=S[4],u=j=S[5],S.length===6?(f=Math.sqrt(E*E+D*D),p=Math.sqrt(k*k+O*O),m=E||D?bi(D,E)*vi:0,_=O||k?bi(O,k)*vi+m:0,_&&(p*=Math.abs(Math.cos(_*yi))),n.svg&&(l-=b-(b*E+x*O),u-=x-(b*D+x*k))):(R=S[6],I=S[7],ee=S[8],F=S[9],te=S[10],L=S[11],l=S[12],u=S[13],d=S[14],C=bi(R,te),h=C*vi,C&&(w=Math.cos(-C),T=Math.sin(-C),M=A*w+ee*T,N=j*w+F*T,P=R*w+te*T,ee=A*-T+ee*w,F=j*-T+F*w,te=R*-T+te*w,L=I*-T+L*w,A=M,j=N,R=P),C=bi(-O,te),g=C*vi,C&&(w=Math.cos(-C),T=Math.sin(-C),M=E*w-ee*T,N=D*w-F*T,P=O*w-te*T,L=k*T+L*w,E=M,D=N,O=P),C=bi(D,E),m=C*vi,C&&(w=Math.cos(C),T=Math.sin(C),M=E*w+D*T,N=A*w+j*T,D=D*w-E*T,j=j*w-A*T,E=M,A=N),h&&Math.abs(h)+Math.abs(m)>359.9&&(h=m=0,g=180-g),f=jt(Math.sqrt(E*E+D*D+O*O)),p=jt(Math.sqrt(j*j+R*R)),C=bi(A,j),_=Math.abs(C)>2e-4?C*vi:0,y=L?1/(L<0?-L:L):0),n.svg&&(M=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!ma(qi(e,zi)),M&&e.setAttribute(`transform`,M))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(f*=-1,_+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,_+=_<=0?180:-180)),t||=n.uncache,n.x=l-((n.xPercent=l&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+a,n.y=u-((n.yPercent=u&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-u)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+a,n.z=d+a,n.scaleX=jt(f),n.scaleY=jt(p),n.rotation=jt(m)+o,n.rotationX=jt(h)+o,n.rotationY=jt(g)+o,n.skewX=_+o,n.skewY=v+o,n.transformPerspective=y+a,(n.zOrigin=parseFloat(c.split(` `)[2])||!t&&n.zOrigin||0)&&(r[Bi]=ya(c)),n.xOffset=n.yOffset=0,n.force3D=q.force3D,n.renderTransform=n.svg?Ea:Gi?Ta:xa,n.uncache=0,n},ya=function(e){return(e=e.split(` `))[0]+` `+e[1]},ba=function(e,t,n){var r=xn(t);return jt(parseFloat(t)+parseFloat(aa(e,`x`,n+`px`,r)))+r},xa=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,Ta(e,t)},Sa=`0deg`,Ca=`0px`,wa=`) `,Ta=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.z,c=n.rotation,l=n.rotationY,u=n.rotationX,d=n.skewX,f=n.skewY,p=n.scaleX,m=n.scaleY,h=n.transformPerspective,g=n.force3D,_=n.target,v=n.zOrigin,y=``,b=g===`auto`&&e&&e!==1||g===!0;if(v&&(u!==Sa||l!==Sa)){var x=parseFloat(l)*yi,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*yi,w=Math.cos(x),a=ba(_,a,S*w*-v),o=ba(_,o,-Math.sin(x)*-v),s=ba(_,s,C*w*-v+v)}h!==Ca&&(y+=`perspective(`+h+wa),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==Ca||o!==Ca||s!==Ca)&&(y+=s!==Ca||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+wa),c!==Sa&&(y+=`rotate(`+c+wa),l!==Sa&&(y+=`rotateY(`+l+wa),u!==Sa&&(y+=`rotateX(`+u+wa),(d!==Sa||f!==Sa)&&(y+=`skew(`+d+`, `+f+wa),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+wa),_.style[zi]=y||`translate(0, 0)`},Ea=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.rotation,c=n.skewX,l=n.skewY,u=n.scaleX,d=n.scaleY,f=n.target,p=n.xOrigin,m=n.yOrigin,h=n.xOffset,g=n.yOffset,_=n.forceCSS,v=parseFloat(a),y=parseFloat(o),b,x,S,C,w;s=parseFloat(s),c=parseFloat(c),l=parseFloat(l),l&&(l=parseFloat(l),c+=l,s+=l),s||c?(s*=yi,c*=yi,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=yi,w=Math.tan(c-l),w=Math.sqrt(1+w*w),S*=w,C*=w,l&&(w=Math.tan(l),w=Math.sqrt(1+w*w),b*=w,x*=w)),b=jt(b),x=jt(x),S=jt(S),C=jt(C)):(b=u,C=d,x=S=0),(v&&!~(a+``).indexOf(`px`)||y&&!~(o+``).indexOf(`px`))&&(v=aa(f,`x`,a,`px`),y=aa(f,`y`,o,`px`)),(p||m||h||g)&&(v=jt(v+p-(p*b+m*S)+h),y=jt(y+m-(p*x+m*C)+g)),(r||i)&&(w=f.getBBox(),v=jt(v+r/100*w.width),y=jt(y+i/100*w.height)),w=`matrix(`+b+`,`+x+`,`+S+`,`+C+`,`+v+`,`+y+`)`,f.setAttribute(`transform`,w),_&&(f.style[zi]=w)},Da=function(e,t,n,r,i){var a=360,o=Re(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?vi:1)-r,c=r+s+`deg`,l,u;return o&&(l=i.split(`_`)[1],l===`short`&&(s%=a,s!==s%(a/2)&&(s+=s<0?a:-a)),l===`cw`&&s<0?s=(s+a*xi)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*xi)%a-~~(s/a)*a)),e._pt=u=new Jr(e._pt,t,n,r,s,Di),u.e=c,u.u=`deg`,e._props.push(n),u},Oa=function(e,t){for(var n in t)e[n]=t[n];return e},ka=function(e,t,n){var r=Oa({},n._gsap),i=`perspective,force3D,transformOrigin,svgOrigin`,a=n.style,o,s,c,l,u,d,f,p;for(s in r.svg?(c=n.getAttribute(`transform`),n.setAttribute(`transform`,``),a[zi]=t,o=va(n,1),ta(n,zi),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[zi],a[zi]=t,o=va(n,1),a[zi]=c),_i)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=xn(c),p=xn(l),u=f===p?parseFloat(c):aa(n,s,c,p),d=parseFloat(l),e._pt=new Jr(e._pt,o,s,u,d-u,Ei),e._pt.u=p||0,e._props.push(s));Oa(o,r)};At(`padding,margin,Width,Radius`,function(e,t){var n=`Top`,r=`Right`,i=`Bottom`,a=`Left`,o=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map(function(n){return t<2?e+n:`border`+n+e});da[t>1?`border`+e:e]=function(e,t,n,r,i){var a,s;if(arguments.length<4)return a=o.map(function(t){return oa(e,t,n)}),s=a.join(` `),s.split(a[0]).length===5?a[0]:s;a=(r+``).split(` `),s={},o.forEach(function(e,t){return s[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,s,i)}});var Aa={name:`css`,register:Xi,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a=this._props,o=e.style,s=n.vars.startAt,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w;for(m in fi||Xi(),this.styles=this.styles||Wi(e),C=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(St[m]&&wr(m,t,n,r,e,i)))){if(f=typeof l,p=da[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=zn(l)),p)p(this,e,m,l,n)&&(S=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,er.lastIndex=0,er.test(c)||(h=xn(c),g=xn(l),g?h!==g&&(c=aa(e,m,c,g)+g):h&&(l+=h)),this.add(o,`setProperty`,c,l,r,i,0,0,m),a.push(m),C.push(m,0,o[m]);else if(f!==`undefined`){if(s&&m in s?(c=typeof s[m]==`function`?s[m].call(n,r,e,i):s[m],Re(c)&&~c.indexOf(`random(`)&&(c=zn(c)),xn(c+``)||c===`auto`||(c+=q.units[m]||xn(oa(e,m))||``),(c+``).charAt(1)===`=`&&(c=oa(e,m))):c=oa(e,m),d=parseFloat(c),_=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),_&&(l=l.substr(2)),u=parseFloat(l),m in Ti&&(m===`autoAlpha`&&(d===1&&oa(e,`visibility`)===`hidden`&&u&&(d=0),C.push(`visibility`,0,o.visibility),na(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=Ti[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),v=m in _i,v){if(this.styles.save(m),w=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=qi(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var T=e.style.perspective;e.style.perspective=l,l=qi(e,`perspective`),T?e.style.perspective=T:ta(e,`perspective`)}u=parseFloat(l)}if(y||(b=e._gsap,b.renderTransform&&!t.parseTransform||va(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,y=this._pt=new Jr(this._pt,o,zi,0,1,b.renderTransform,b,0,-1),y.dep=1),m===`scale`)this._pt=new Jr(this._pt,b,`scaleY`,b.scaleY,(_?Nt(b.scaleY,_+u):u)-b.scaleY||0,Ei),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){C.push(Bi,0,o[Bi]),l=la(l),b.svg?_a(e,l,0,x,0,this):(g=parseFloat(l.split(` `)[2])||0,g!==b.zOrigin&&na(this,b,`zOrigin`,b.zOrigin,g),na(this,o,m,ya(c),ya(l)));continue}else if(m===`svgOrigin`){_a(e,l,1,x,0,this);continue}else if(m in pa){Da(this,b,m,d,_?Nt(d,_+l):l);continue}else if(m===`smoothOrigin`){na(this,b,`smooth`,b.smooth,l);continue}else if(m===`force3D`){b[m]=l;continue}else if(m===`transform`){ka(this,l,e);continue}}else m in o||(m=Yi(m)||m);if(v||(u||u===0)&&(d||d===0)&&!wi.test(l)&&m in o)h=(c+``).substr((d+``).length),u||=0,g=xn(l)||(m in q.units?q.units[m]:h),h!==g&&(d=aa(e,m,c,g)),this._pt=new Jr(this._pt,v?b:o,m,d,(_?Nt(d,_+u):u)-d,!v&&(g===`px`||m===`zIndex`)&&t.autoRound!==!1?Ai:Ei),this._pt.u=g||0,v&&w!==l?(this._pt.b=c,this._pt.e=w,this._pt.r=ki):h!==g&&g!==`%`&&(this._pt.b=c,this._pt.r=Oi);else if(m in o)sa.call(this,e,m,c,_?_+l:l);else if(m in e)this.add(e,m,c||e[m],_?_+l:l,r,i);else if(m!==`parseTransform`){dt(m,l);continue}v||(m in o?C.push(m,0,o[m]):typeof e[m]==`function`?C.push(m,2,e[m]()):C.push(m,1,c||e[m])),a.push(m)}}S&&qr(this)},render:function(e,t){if(t.tween._time||!hi())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:oa,aliases:Ti,getSetter:function(e,t,n){var r=Ti[t];return r&&r.indexOf(`,`)<0&&(t=r),t in _i&&t!==Bi&&(e._gsap.x||oa(e,`x`))?n&&mi===n?t===`scale`?Ii:Fi:(mi=n||{})&&(t===`scale`?Li:Ri):e.style&&!Ve(e.style[t])?Ni:~t.indexOf(`-`)?Pi:zr(e,t)},core:{_removeProperty:ta,_getMatrix:ga}};ci.utils.checkPrefix=Yi,ci.core.getStyleSaver=Wi,(function(e,t,n,r){var i=At(e+`,`+t+`,`+n,function(e){_i[e]=1});At(t,function(e){q.units[e]=`deg`,pa[e]=1}),Ti[i[13]]=e+`,`+t,At(r,function(e){var t=e.split(`:`);Ti[t[1]]=i[t[0]]})})(`x,y,z,scale,scaleX,scaleY,xPercent,yPercent`,`rotation,rotationX,rotationY,skewX,skewY`,`transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective`,`0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY`),At(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){q.units[e]=`px`}),ci.registerPlugin(Aa);var ja=ci.registerPlugin(Aa)||ci;ja.core.Tween;var Ma=typeof document<`u`?K.useLayoutEffect:K.useEffect,Na=e=>e&&!Array.isArray(e)&&typeof e==`object`,Pa=[],Fa={},Ia=ja,La=(e,t=Pa)=>{let n=Fa;Na(e)?(n=e,e=null,t=`dependencies`in n?n.dependencies:Pa):Na(t)&&(n=t,t=`dependencies`in n?n.dependencies:Pa),e&&typeof e!=`function`&&console.warn(`First parameter must be a function or config object`);let{scope:r,revertOnUpdate:i}=n,a=(0,K.useRef)(!1),o=(0,K.useRef)(Ia.context(()=>{},r)),s=(0,K.useRef)(e=>o.current.add(null,e)),c=t&&t.length&&!i;return c&&Ma(()=>(a.current=!0,()=>o.current.revert()),Pa),Ma(()=>{if(e&&o.current.add(e,r),!c||!a.current)return()=>o.current.revert()},t),{context:o.current,contextSafe:s.current}};La.register=e=>{Ia=e},La.headless=!0;function Ra(e,t){for(var n=0;ns?(i=r,r=e,o=a,a=c):n?r+=e:r=i+(e-i)/(c-o)*(a-o)};return{update:l,reset:function(){i=r=n?0:r,o=a=0},getVelocity:function(e){var t=o,s=i,u=io();return(e||e===0)&&e!==r&&l(e),a===o||u-o>c?0:(r+(n?s:-s))/((n?u:a)-t)*1e3}}},So=function(e,t){return t&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Co=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},wo=function(){Ja=Ba.core.globals().ScrollTrigger,Ja&&Ja.core&&oo()},To=function(e){return Ba=e||$a(),!Va&&Ba&&typeof document<`u`&&document.body&&(Ha=window,Ua=document,Wa=Ua.documentElement,Ga=Ua.body,Ya=[Ha,Ua,Wa,Ga],Ba.utils.clamp,Qa=Ba.core.context||function(){},qa=`onpointerenter`in Ga?`pointer`:`mouse`,Ka=Eo.isTouch=Ha.matchMedia&&Ha.matchMedia(`(hover: none), (pointer: coarse)`).matches?1:`ontouchstart`in Ha||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Za=Eo.eventTypes=(`ontouchstart`in Wa?`touchstart,touchmove,touchcancel,touchend`:`onpointerdown`in Wa?`pointerdown,pointermove,pointercancel,pointerup`:`mousedown,mousemove,mouseup,mouseup`).split(`,`),setTimeout(function(){return eo=0},500),Va=1),Ja||wo(),Va};go.op=_o,no.cache=0;var Eo=function(){function e(e){this.init(e)}var t=e.prototype;return t.init=function(e){Va||To(Ba)||console.warn(`Please gsap.registerPlugin(Observer)`),Ja||wo();var t=e.tolerance,n=e.dragMinimum,r=e.type,i=e.target,a=e.lineHeight,o=e.debounce,s=e.preventDefault,c=e.onStop,l=e.onStopDelay,u=e.ignore,d=e.wheelSpeed,f=e.event,p=e.onDragStart,m=e.onDragEnd,h=e.onDrag,g=e.onPress,_=e.onRelease,v=e.onRight,y=e.onLeft,b=e.onUp,x=e.onDown,S=e.onChangeX,C=e.onChangeY,w=e.onChange,T=e.onToggleX,E=e.onToggleY,D=e.onHover,O=e.onHoverEnd,k=e.onMove,A=e.ignoreCheck,j=e.isNormalizer,M=e.onGestureStart,N=e.onGestureEnd,P=e.onWheel,ee=e.onEnable,F=e.onDisable,te=e.onClick,I=e.scrollSpeed,L=e.capture,R=e.allowClicks,z=e.lockAxis,ne=e.onLockAxis;this.target=i=vo(i)||Wa,this.vars=e,u&&=Ba.utils.toArray(u),t||=1e-9,n||=0,d||=1,I||=1,r||=`wheel,touch,pointer`,o=o!==!1,a||=parseFloat(Ha.getComputedStyle(Ga).lineHeight)||22;var B,V,H,re,U,ie,ae,W=this,oe=0,se=0,ce=e.passive||!s&&e.passive!==!1,le=bo(i,go),ue=bo(i,_o),de=le(),fe=ue(),pe=~r.indexOf(`touch`)&&!~r.indexOf(`pointer`)&&Za[0]===`pointerdown`,me=co(i),G=i.ownerDocument||Ua,he=[0,0,0],ge=[0,0,0],_e=0,ve=function(){return _e=io()},ye=function(e,t){return(W.event=e)&&u&&yo(e.target,u)||t&&pe&&e.pointerType!==`touch`||A&&A(e,t)},be=function(){W._vx.reset(),W._vy.reset(),V.pause(),c&&c(W)},xe=function(){var e=W.deltaX=Co(he),n=W.deltaY=Co(ge),r=Math.abs(e)>=t,i=Math.abs(n)>=t;w&&(r||i)&&w(W,e,n,he,ge),r&&(v&&W.deltaX>0&&v(W),y&&W.deltaX<0&&y(W),S&&S(W),T&&W.deltaX<0!=oe<0&&T(W),oe=W.deltaX,he[0]=he[1]=he[2]=0),i&&(x&&W.deltaY>0&&x(W),b&&W.deltaY<0&&b(W),C&&C(W),E&&W.deltaY<0!=se<0&&E(W),se=W.deltaY,ge[0]=ge[1]=ge[2]=0),(re||H)&&(k&&k(W),H&&=(p&&H===1&&p(W),h&&h(W),0),re=!1),ie&&!(ie=!1)&&ne&&ne(W),U&&=(P(W),!1),B=0},Se=function(e,t,n){he[n]+=e,ge[n]+=t,W._vx.update(e),W._vy.update(t),o?B||=requestAnimationFrame(xe):xe()},K=function(e,t){z&&!ae&&(W.axis=ae=Math.abs(e)>Math.abs(t)?`x`:`y`,ie=!0),ae!==`y`&&(he[2]+=e,W._vx.update(e,!0)),ae!==`x`&&(ge[2]+=t,W._vy.update(t,!0)),o?B||=requestAnimationFrame(xe):xe()},Ce=function(e){if(!ye(e,1)){e=So(e,s);var t=e.clientX,r=e.clientY,i=t-W.x,a=r-W.y,o=W.isDragging;W.x=t,W.y=r,(o||(i||a)&&(Math.abs(W.startX-t)>=n||Math.abs(W.startY-r)>=n))&&(H||=o?2:1,o||(W.isDragging=!0),K(i,a))}},we=W.onPress=function(e){ye(e,1)||e&&e.button||(W.axis=ae=null,V.pause(),W.isPressed=!0,e=So(e),oe=se=0,W.startX=W.x=e.clientX,W.startY=W.y=e.clientY,W._vx.reset(),W._vy.reset(),lo(j?i:G,Za[1],Ce,ce,!0),W.deltaX=W.deltaY=0,g&&g(W))},Te=W.onRelease=function(e){if(!ye(e,1)){uo(j?i:G,Za[1],Ce,!0);var t=!isNaN(W.y-W.startY),n=W.isDragging,r=n&&(Math.abs(W.x-W.startX)>3||Math.abs(W.y-W.startY)>3),a=So(e);!r&&t&&(W._vx.reset(),W._vy.reset(),s&&R&&Ba.delayedCall(.08,function(){if(io()-_e>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(G.createEvent){var t=G.createEvent(`MouseEvents`);t.initMouseEvent(`click`,!0,!0,Ha,1,a.screenX,a.screenY,a.clientX,a.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),W.isDragging=W.isGesturing=W.isPressed=!1,c&&n&&!j&&V.restart(!0),H&&xe(),m&&n&&m(W),_&&_(W,r)}},q=function(e){return e.touches&&e.touches.length>1&&(W.isGesturing=!0)&&M(e,W.isDragging)},Ee=function(){return(W.isGesturing=!1)||N(W)},De=function(e){if(!ye(e)){var t=le(),n=ue();Se((t-de)*I,(n-fe)*I,1),de=t,fe=n,c&&V.restart(!0)}},Oe=function(e){if(!ye(e)){e=So(e,s),P&&(U=!0);var t=(e.deltaMode===1?a:e.deltaMode===2?Ha.innerHeight:1)*d;Se(e.deltaX*t,e.deltaY*t,0),c&&!j&&V.restart(!0)}},ke=function(e){if(!ye(e)){var t=e.clientX,n=e.clientY,r=t-W.x,i=n-W.y;W.x=t,W.y=n,re=!0,c&&V.restart(!0),(r||i)&&K(r,i)}},Ae=function(e){W.event=e,D(W)},je=function(e){W.event=e,O(W)},Me=function(e){return ye(e)||So(e,s)&&te(W)};V=W._dc=Ba.delayedCall(l||.25,be).pause(),W.deltaX=W.deltaY=0,W._vx=xo(0,50,!0),W._vy=xo(0,50,!0),W.scrollX=le,W.scrollY=ue,W.isDragging=W.isGesturing=W.isPressed=!1,Qa(this),W.enable=function(e){return W.isEnabled||(lo(me?G:i,`scroll`,mo),r.indexOf(`scroll`)>=0&&lo(me?G:i,`scroll`,De,ce,L),r.indexOf(`wheel`)>=0&&lo(i,`wheel`,Oe,ce,L),(r.indexOf(`touch`)>=0&&Ka||r.indexOf(`pointer`)>=0)&&(lo(i,Za[0],we,ce,L),lo(G,Za[2],Te),lo(G,Za[3],Te),R&&lo(i,`click`,ve,!0,!0),te&&lo(i,`click`,Me),M&&lo(G,`gesturestart`,q),N&&lo(G,`gestureend`,Ee),D&&lo(i,qa+`enter`,Ae),O&&lo(i,qa+`leave`,je),k&&lo(i,qa+`move`,ke)),W.isEnabled=!0,W.isDragging=W.isGesturing=W.isPressed=re=H=!1,W._vx.reset(),W._vy.reset(),de=le(),fe=ue(),e&&e.type&&we(e),ee&&ee(W)),W},W.disable=function(){W.isEnabled&&(to.filter(function(e){return e!==W&&co(e.target)}).length||uo(me?G:i,`scroll`,mo),W.isPressed&&(W._vx.reset(),W._vy.reset(),uo(j?i:G,Za[1],Ce,!0)),uo(me?G:i,`scroll`,De,L),uo(i,`wheel`,Oe,L),uo(i,Za[0],we,L),uo(G,Za[2],Te),uo(G,Za[3],Te),uo(i,`click`,ve,!0),uo(i,`click`,Me),uo(G,`gesturestart`,q),uo(G,`gestureend`,Ee),uo(i,qa+`enter`,Ae),uo(i,qa+`leave`,je),uo(i,qa+`move`,ke),W.isEnabled=W.isPressed=W.isDragging=!1,F&&F(W))},W.kill=W.revert=function(){W.disable();var e=to.indexOf(W);e>=0&&to.splice(e,1),Xa===W&&(Xa=0)},to.push(W),j&&co(i)&&(Xa=W),W.enable(f)},za(e,[{key:`velocityX`,get:function(){return this._vx.getVelocity()}},{key:`velocityY`,get:function(){return this._vy.getVelocity()}}]),e}();Eo.version=`3.15.0`,Eo.create=function(e){return new Eo(e)},Eo.register=To,Eo.getAll=function(){return to.slice()},Eo.getById=function(e){return to.filter(function(t){return t.vars.id===e})[0]},$a()&&Ba.registerPlugin(Eo);var J,Do,Oo,ko,Ao,jo,Mo,No,Po,Fo,Io,Lo,Ro,zo,Bo,Vo,Ho,Uo,Wo,Go,Ko,qo,Jo,Yo,Xo,Zo,Qo,$o,es,ts,ns,rs,is,as,os=1,ss=Date.now,cs=ss(),ls=0,us=0,ds=function(e,t,n){var r=Ds(e)&&(e.substr(0,6)===`clamp(`||e.indexOf(`max`)>-1);return n[`_`+t+`Clamp`]=r,r?e.substr(6,e.length-7):e},fs=function(e,t){return t&&(!Ds(e)||e.substr(0,6)!==`clamp(`)?`clamp(`+e+`)`:e},ps=function e(){return us&&requestAnimationFrame(e)},ms=function(){return zo=1},hs=function(){return zo=0},gs=function(e){return e},_s=function(e){return Math.round(e*1e5)/1e5||0},vs=function(){return typeof window<`u`},ys=function(){return J||vs()&&(J=window.gsap)&&J.registerPlugin&&J},bs=function(e){return!!~Mo.indexOf(e)},xs=function(e){return(e===`Height`?ns:Oo[`inner`+e])||Ao[`client`+e]||jo[`client`+e]},Ss=function(e){return so(e,`getBoundingClientRect`)||(bs(e)?function(){return Yc.width=Oo.innerWidth,Yc.height=ns,Yc}:function(){return Qs(e)})},Cs=function(e,t,n){var r=n.d,i=n.d2,a=n.a;return(a=so(e,`getBoundingClientRect`))?function(){return a()[r]}:function(){return(t?xs(i):e[`client`+i])||0}},ws=function(e,t){return!t||~ro.indexOf(e)?Ss(e):function(){return Yc}},Ts=function(e,t){var n=t.s,r=t.d2,i=t.d,a=t.a;return Math.max(0,(n=`scroll`+r)&&(a=so(e,n))?a()-Ss(e)()[i]:bs(e)?(Ao[n]||jo[n])-xs(r):e[n]-e[`offset`+r])},Es=function(e,t){for(var n=0;n0){for(e-=i,a=0;a=e)return n[a];return n[a-1]}else for(a=n.length,e+=i;a--;)if(n[a]<=e)return n[a];return n[0]}:function(n,r,i){i===void 0&&(i=.001);var a=t(n);return!r||Math.abs(a-n)n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in uc?uc[e]*t:~e.indexOf(`%`)?parseFloat(e)*t/100:parseFloat(e)||0)}return e},fc=function(e,t,n,r,i,a,o,s){var c=i.startColor,l=i.endColor,u=i.fontSize,d=i.indent,f=i.fontWeight,p=ko.createElement(`div`),m=bs(n)||so(n,`pinType`)===`fixed`,h=e.indexOf(`scroller`)!==-1,g=m?jo:n.tagName===`IFRAME`?n.contentDocument.body:n,_=e.indexOf(`start`)!==-1,v=_?c:l,y=`border-color:`+v+`;font-size:`+u+`;color:`+v+`;font-weight:`+f+`;pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;`;return y+=`position:`+((h||s)&&m?`fixed;`:`absolute;`),(h||s||!m)&&(y+=(r===_o?Is:Ls)+`:`+(a+parseFloat(d))+`px;`),o&&(y+=`box-sizing:border-box;text-align:left;width:`+o.offsetWidth+`px;`),p._isStart=_,p.setAttribute(`class`,`gsap-marker-`+e+(t?` marker-`+t:``)),p.style.cssText=y,p.innerText=t||t===0?e+`-`+t:e,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p[`offset`+r.op.d2],pc(p,0,r,_),p},pc=function(e,t,n,r){var i={display:`block`},a=n[r?`os2`:`p2`],o=n[r?`p2`:`os2`];e._isFlipped=r,i[n.a+`Percent`]=r?-100:0,i[n.a]=r?`1px`:0,i[`border`+a+Ks]=1,i[`border`+o+Ks]=0,i[n.p]=t+`px`,J.set(e,i)},mc=[],hc={},gc,_c=function(){return ss()-ls>34&&(gc||=requestAnimationFrame(Bc))},vc=function(){(!Jo||!Jo.isPressed||Jo.startX>jo.clientWidth)&&(no.cache++,Jo?gc||=requestAnimationFrame(Bc):Bc(),ls||wc(`scrollStart`),ls=ss())},yc=function(){Zo=Oo.innerWidth,Xo=Oo.innerHeight},bc=function(e){no.cache++,(e===!0||!Ro&&!qo&&!ko.fullscreenElement&&!ko.webkitFullscreenElement&&(!Yo||Zo!==Oo.innerWidth||Math.abs(Oo.innerHeight-Xo)>Oo.innerHeight*.25))&&No.restart(!0)},xc={},Sc=[],Cc=function e(){return oc(nl,`scrollEnd`,e)||Ic(!0)},wc=function(e){return xc[e]&&xc[e].map(function(e){return e()})||Sc},Tc=[],Ec=function(e){for(var t=0;tt,r=e._startClamp&&e.start>=t;(n||r)&&e.setPositions(r?t-1:e.start,n?Math.max(r?t:e.start+1,t):e.end,!0)}),Fc(!1),is=0,n.forEach(function(e){return e&&e.render&&e.render(-1)}),no.forEach(function(e){Os(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior=`smooth`}),e.rec&&e(e.rec))}),kc(es,1),No.pause(),jc++,Ac=2,Bc(2),mc.forEach(function(e){return Os(e.vars.onRefresh)&&e.vars.onRefresh(e)}),Ac=nl.isRefreshing=!1,wc(`refresh`)},Lc=0,Rc=1,zc,Bc=function(e){if(e===2||!Ac&&!rs){nl.isUpdating=!0,zc&&zc.update(0);var t=mc.length,n=ss(),r=n-cs>=50,i=t&&mc[0].scroll();if(Rc=Lc>i?-1:1,Ac||(Lc=i),r&&(ls&&!zo&&n-ls>200&&(ls=0,wc(`scrollEnd`)),Io=cs,cs=n),Rc<0){for(Vo=t;Vo-- >0;)mc[Vo]&&mc[Vo].update(0,r);Rc=1}else for(Vo=0;Vo20),n-=n-x}if(p&&(s[p]=e||-.001,e<0&&(e=0)),a){var C=e+n,w=a._isStart;h=`scroll`+r.d2,pc(a,C,r,w&&C>20||!w&&(u?Math.max(jo[h],Ao[h]):a.parentNode[h])<=C+1),u&&(c=Qs(o),u&&(a.style[r.op.p]=c[r.op.p]-r.op.m-a._offset+Js))}return f&&_&&(h=Qs(_),f.seek(d),g=Qs(_),f._caScrollDist=h[r.p]-g[r.p],e=e/f._caScrollDist*d),f&&f.seek(m),f?e:Math.round(e)},Zc=/(webkit|moz|length|cssText|inset)/i,Qc=function(e,t,n,r){if(e.parentNode!==t){var i=e.style,a,o;if(t===jo){for(a in e._stOrig=i.cssText,o=Ys(e),o)!+a&&!Zc.test(a)&&o[a]&&typeof i[a]==`string`&&a!==`0`&&(i[a]=o[a]);i.top=n,i.left=r}else i.cssText=e._stOrig;J.core.getCache(e).uncache=1,t.appendChild(e)}},$c=function(e,t,n){var r=t,i=r;return function(t){var a=Math.round(e());return a!==r&&a!==i&&Math.abs(a-r)>3&&Math.abs(a-i)>3&&(t=a,n&&n()),i=r,r=Math.round(t),r}},el=function(e,t,n){var r={};r[t.p]=`+=`+n,J.set(e,r)},tl=function(e,t){var n=bo(e,t),r=`_scroll`+t.p2,i=function t(i,a,o,s,c){var l=t.tween,u=a.onComplete,d={};o||=n();var f=$c(n,o,function(){l.kill(),t.tween=0});return c=s&&c||0,s||=i-o,l&&l.kill(),a[r]=i,a.inherit=!1,a.modifiers=d,d[r]=function(){return f(o+s*l.ratio+c*l.ratio*l.ratio)},a.onUpdate=function(){no.cache++,t.tween&&Bc()},a.onComplete=function(){t.tween=0,u&&u.call(l)},l=t.tween=J.to(e,a),l};return e[r]=n,n.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},ac(e,`wheel`,n.wheelHandler),nl.isTouch&&ac(e,`touchmove`,n.wheelHandler),i},nl=function(){function e(t,n){Do||e.register(J)||console.warn(`Please gsap.registerPlugin(ScrollTrigger)`),$o(this),this.init(t,n)}var t=e.prototype;return t.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!us){this.update=this.refresh=this.kill=gs;return}t=Zs(Ds(t)||ks(t)||t.nodeType?{trigger:t}:t,lc);var r=t,i=r.onUpdate,a=r.toggleClass,o=r.id,s=r.onToggle,c=r.onRefresh,l=r.scrub,u=r.trigger,d=r.pin,f=r.pinSpacing,p=r.invalidateOnRefresh,m=r.anticipatePin,h=r.onScrubComplete,g=r.onSnapComplete,_=r.once,v=r.snap,y=r.pinReparent,b=r.pinSpacer,x=r.containerAnimation,S=r.fastScrollEnd,C=r.preventOverlaps,w=t.horizontal||t.containerAnimation&&t.horizontal!==!1?go:_o,T=!l&&l!==0,E=vo(t.scroller||Oo),D=J.core.getCache(E),O=bs(E),k=(`pinType`in t?t.pinType:so(E,`pinType`)||O&&`fixed`)===`fixed`,A=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],j=T&&t.toggleActions.split(` `),M=`markers`in t?t.markers:lc.markers,N=O?0:parseFloat(Ys(E)[`border`+w.p2+Ks])||0,P=this,ee=t.onRefreshInit&&function(){return t.onRefreshInit(P)},F=Cs(E,O,w),te=ws(E,O),I=0,L=0,R=0,z=bo(E,w),ne,B,V,H,re,U,ie,ae,W,oe,se,ce,le,ue,de,fe,pe,me,G,he,ge,_e,ve,ye,be,xe,Se,K,Ce,we,Te,q,Ee,De,Oe,ke,Ae,je,Me;if(P._startClamp=P._endClamp=!1,P._dir=w,m*=45,P.scroller=E,P.scroll=x?x.time.bind(x):z,H=z(),P.vars=t,n||=t.animation,`refreshPriority`in t&&(Go=1,t.refreshPriority===-9999&&(zc=P)),D.tweenScroll=D.tweenScroll||{top:tl(E,_o),left:tl(E,go)},P.tweenTo=ne=D.tweenScroll[w.p],P.scrubDuration=function(e){Ee=ks(e)&&e,Ee?q?q.duration(e):q=J.to(n,{ease:`expo`,totalProgress:`+=0`,inherit:!1,duration:Ee,paused:!0,onComplete:function(){return h&&h(P)}}):(q&&q.progress(1).kill(),q=0)},n&&(n.vars.lazy=!1,n._initted&&!P.isReverted||n.vars.immediateRender!==!1&&t.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),P.animation=n.pause(),n.scrollTrigger=P,P.scrubDuration(l),we=0,o||=n.vars.id),v&&((!As(v)||v.push)&&(v={snapTo:v}),`scrollBehavior`in jo.style&&J.set(O?[jo,Ao]:E,{scrollBehavior:`auto`}),no.forEach(function(e){return Os(e)&&e.target===(O?ko.scrollingElement||Ao:E)&&(e.smooth=!1)}),V=Os(v.snapTo)?v.snapTo:v.snapTo===`labels`?tc(n):v.snapTo===`labelsDirectional`?rc(n):v.directional===!1?J.utils.snap(v.snapTo):function(e,t){return nc(v.snapTo)(e,ss()-L<500?0:t.direction)},De=v.duration||{min:.1,max:2},De=As(De)?Fo(De.min,De.max):Fo(De,De),Oe=J.delayedCall(v.delay||Ee/2||.1,function(){var e=z(),t=ss()-L<500,r=ne.tween;if((t||Math.abs(P.getVelocity())<10)&&!r&&!zo&&I!==e){var i=(e-U)/ue,a=n&&!T?n.totalProgress():i,o=t?0:(a-Te)/(ss()-Io)*1e3||0,s=J.utils.clamp(-i,1-i,Ns(o/2)*o/.185),c=i+(v.inertia===!1?0:s),l,u,d=v,f=d.onStart,p=d.onInterrupt,m=d.onComplete;if(l=V(c,P),ks(l)||(l=c),u=Math.max(0,Math.round(U+l*ue)),e<=ie&&e>=U&&u!==e){if(r&&!r._initted&&r.data<=Ns(u-e))return;v.inertia===!1&&(s=l-i),ne(u,{duration:De(Ns(Math.max(Ns(c-a),Ns(l-a))*.185/o/.05||0)),ease:v.ease||`power3`,data:Ns(u-e),onInterrupt:function(){return Oe.restart(!0)&&p&&Ms(P,p)},onComplete:function(){P.update(),I=z(),n&&!T&&(q?q.resetTo(`totalProgress`,l,n._tTime/n._tDur):n.progress(l)),we=Te=n&&!T?n.totalProgress():P.progress,g&&g(P),m&&Ms(P,m)}},e,s*ue,u-e-s*ue),f&&Ms(P,f,ne.tween)}}else P.isActive&&I!==e&&Oe.restart(!0)}).pause()),o&&(hc[o]=P),u=P.trigger=vo(u||d!==!0&&d),Me=u&&u._gsap&&u._gsap.stRevert,Me&&=Me(P),d=d===!0?u:vo(d),Ds(a)&&(a={targets:u,className:a}),d&&(f===!1||f===Gs||(f=!f&&d.parentNode&&d.parentNode.style&&Ys(d.parentNode).display===`flex`?!1:Ws),P.pin=d,B=J.core.getCache(d),B.spacer?de=B.pinState:(b&&(b=vo(b),b&&!b.nodeType&&(b=b.current||b.nativeElement),B.spacerIsNative=!!b,b&&(B.spacerState=qc(b))),B.spacer=me=b||ko.createElement(`div`),me.classList.add(`pin-spacer`),o&&me.classList.add(`pin-spacer-`+o),B.pinState=de=qc(d)),t.force3D!==!1&&J.set(d,{force3D:!0}),P.spacer=me=B.spacer,Ce=Ys(d),ye=Ce[f+w.os2],he=J.getProperty(d),ge=J.quickSetter(d,w.a,Js),Wc(d,me,Ce),pe=qc(d)),M){ce=As(M)?Zs(M,cc):cc,oe=fc(`scroller-start`,o,E,w,ce,0),se=fc(`scroller-end`,o,E,w,ce,0,oe),G=oe[`offset`+w.op.d2];var Ne=vo(so(E,`content`)||E);ae=this.markerStart=fc(`start`,o,Ne,w,ce,G,0,x),W=this.markerEnd=fc(`end`,o,Ne,w,ce,G,0,x),x&&(je=J.quickSetter([ae,W],w.a,Js)),!k&&!(ro.length&&so(E,`fixedMarkers`)===!0)&&(Xs(O?jo:E),J.set([oe,se],{force3D:!0}),xe=J.quickSetter(oe,w.a,Js),K=J.quickSetter(se,w.a,Js))}if(x){var Pe=x.vars.onUpdate,Fe=x.vars.onUpdateParams;x.eventCallback(`onUpdate`,function(){P.update(0,0,1),Pe&&Pe.apply(x,Fe||[])})}if(P.previous=function(){return mc[mc.indexOf(P)-1]},P.next=function(){return mc[mc.indexOf(P)+1]},P.revert=function(e,t){if(!t)return P.kill(!0);var r=e!==!1||!P.enabled,i=Ro;r!==P.isReverted&&(r&&(ke=Math.max(z(),P.scroll.rec||0),R=P.progress,Ae=n&&n.progress()),ae&&[ae,W,oe,se].forEach(function(e){return e.style.display=r?`none`:`block`}),r&&(Ro=P,P.update(r)),d&&(!y||!P.isActive)&&(r?Uc(d,me,de):Wc(d,me,Ys(d),be)),r||P.update(r),Ro=i,P.isReverted=r)},P.refresh=function(r,i,a,o){if(!((Ro||!P.enabled)&&!i)){if(d&&r&&ls){ac(e,`scrollEnd`,Cc);return}!Ac&&ee&&ee(P),Ro=P,ne.tween&&!a&&(ne.tween.kill(),ne.tween=0),q&&q.pause(),p&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),P.isReverted||P.revert(!0,!0),P._subPinOffset=!1;var s=F(),l=te(),m=x?x.duration():Ts(E,w),h=ue<=.01||!ue,g=0,_=o||0,v=As(a)?a.end:t.end,b=t.endTrigger||u,S=As(a)?a.start:t.start||(t.start===0||!u?0:d?`0 0`:`0 100%`),C=P.pinnedContainer=t.pinnedContainer&&vo(t.pinnedContainer,P),D=u&&Math.max(0,mc.indexOf(P))||0,A=D,j,B,V,ce,G,ge,ye,xe,K,Ce,we,Te,Ee;for(M&&As(a)&&(Te=J.getProperty(oe,w.p),Ee=J.getProperty(se,w.p));A-- >0;)ge=mc[A],ge.end||ge.refresh(0,1)||(Ro=P),ye=ge.pin,ye&&(ye===u||ye===d||ye===C)&&!ge.isReverted&&(Ce||=[],Ce.unshift(ge),ge.revert(!0,!0)),ge!==mc[A]&&(D--,A--);for(Os(S)&&(S=S(P)),S=ds(S,`start`,P),U=Xc(S,u,s,w,z(),ae,oe,P,l,N,k,m,x,P._startClamp&&`_startClamp`)||(d?-.001:0),Os(v)&&(v=v(P)),Ds(v)&&!v.indexOf(`+=`)&&(~v.indexOf(` `)?v=(Ds(S)?S.split(` `)[0]:``)+v:(g=dc(v.substr(2),s),v=Ds(S)?S:(x?J.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,U):U)+g,b=u)),v=ds(v,`end`,P),ie=Math.max(U,Xc(v||(b?`100% 0`:m),b,s,w,z()+g,W,se,P,l,N,k,m,x,P._endClamp&&`_endClamp`))||-.001,g=0,A=D;A--;)ge=mc[A]||{},ye=ge.pin,ye&&ge.start-ge._pinPush<=U&&!x&&ge.end>0&&(j=ge.end-(P._startClamp?Math.max(0,ge.start):ge.start),(ye===u&&ge.start-ge._pinPush=Ts(E,w)))j=Ys(d),ce=w===_o,V=z(),_e=parseFloat(he(w.a))+_,!m&&ie>1&&(we=(O?ko.scrollingElement||Ao:E).style,we={style:we,value:we[`overflow`+w.a.toUpperCase()]},O&&Ys(jo)[`overflow`+w.a.toUpperCase()]!==`scroll`&&(we.style[`overflow`+w.a.toUpperCase()]=`scroll`)),Wc(d,me,j),pe=qc(d),B=Qs(d,!0),xe=k&&bo(E,ce?go:_o)(),f?(be=[f+w.os2,ue+_+Js],be.t=me,A=f===Ws?$s(d,w)+ue+_:0,A&&(be.push(w.d,A+Js),me.style.flexBasis!==`auto`&&(me.style.flexBasis=A+Js)),Kc(be),C&&mc.forEach(function(e){e.pin===C&&e.vars.pinSpacing!==!1&&(e._subPinOffset=!0)}),k&&z(ke)):(A=$s(d,w),A&&me.style.flexBasis!==`auto`&&(me.style.flexBasis=A+Js)),k&&(G={top:B.top+(ce?V-U:xe)+Js,left:B.left+(ce?xe:V-U)+Js,boxSizing:`border-box`,position:`fixed`},G[Rs]=G[`max`+Ks]=Math.ceil(B.width)+Js,G[zs]=G[`max`+qs]=Math.ceil(B.height)+Js,G[Gs]=G[Gs+Hs]=G[Gs+Bs]=G[Gs+Us]=G[Gs+Vs]=`0`,G[Ws]=j[Ws],G[Ws+Hs]=j[Ws+Hs],G[Ws+Bs]=j[Ws+Bs],G[Ws+Us]=j[Ws+Us],G[Ws+Vs]=j[Ws+Vs],fe=Jc(de,G,y),Ac&&z(0)),n?(K=n._initted,Ko(1),n.render(n.duration(),!0,!0),ve=he(w.a)-_e+ue+_,Se=Math.abs(ue-ve)>1,k&&Se&&fe.splice(fe.length-2,2),n.render(0,!0,!0),K||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),Ko(0)):ve=ue,we&&(we.value?we.style[`overflow`+w.a.toUpperCase()]=we.value:we.style.removeProperty(`overflow-`+w.a));else if(u&&z()&&!x)for(B=u.parentNode;B&&B!==jo;)B._pinOffset&&(U-=B._pinOffset,ie-=B._pinOffset),B=B.parentNode;Ce&&Ce.forEach(function(e){return e.revert(!1,!0)}),P.start=U,P.end=ie,H=re=Ac?ke:z(),!x&&!Ac&&(H0?mc.slice(0,t).reverse():mc.slice(t+1);return(Ds(e)?n.filter(function(t){return t.vars.preventOverlaps===e}):n).filter(function(e){return P.direction>0?e.end<=U:e.start>=ie})},P.update=function(e,t,r){if(!(x&&!r&&!e)){var o=Ac===!0?ke:P.scroll(),c=e?0:(o-U)/ue,u=c<0?0:c>1?1:c||0,p=P.progress,h,g,b,D,O,M,N,ee;if(t&&(re=H,H=x?z():o,v&&(Te=we,we=n&&!T?n.totalProgress():u)),m&&d&&!Ro&&!os&&ls&&(!u&&Uo+(o-re)/(ss()-Io)*m&&(u=.9999)),u!==p&&P.enabled){if(h=P.isActive=!!u&&u<1,g=!!p&&p<1,M=h!==g,O=M||!!u!=!!p,P.direction=u>p?1:-1,P.progress=u,O&&!Ro&&(b=u&&!p?0:u===1?1:p===1?2:3,T&&(D=!M&&j[b+1]!==`none`&&j[b+1]||j[b],ee=n&&(D===`complete`||D===`reset`||D in n))),C&&(M||ee)&&(ee||l||!n)&&(Os(C)?C(P):P.getTrailing(C).forEach(function(e){return e.endAnimation()})),T||(q&&!Ro&&!os?(q._dp._time-q._start!==q._time&&q.render(q._dp._time-q._start),q.resetTo?q.resetTo(`totalProgress`,u,n._tTime/n._tDur):(q.vars.totalProgress=u,q.invalidate().restart())):n&&n.totalProgress(u,!!(Ro&&(L||e)))),d){if(e&&f&&(me.style[f+w.os2]=ye),!k)ge(_s(_e+ve*u));else if(O){if(N=!e&&u>p&&ie+1>o&&o+1>=Ts(E,w),y)if(!e&&(h||N)){var F=Qs(d,!0),te=o-U;Qc(d,jo,F.top+(w===_o?te:0)+Js,F.left+(w===_o?0:te)+Js)}else Qc(d,me);Kc(h||N?fe:pe),Se&&u<1&&h||ge(_e+(u===1&&!N?ve:0))}}v&&!ne.tween&&!Ro&&!os&&Oe.restart(!0),a&&(M||_&&u&&(u<1||!as))&&Po(a.targets).forEach(function(e){return e.classList[h||_?`add`:`remove`](a.className)}),i&&!T&&!e&&i(P),O&&!Ro?(T&&(ee&&(D===`complete`?n.pause().totalProgress(1):D===`reset`?n.restart(!0).pause():D===`restart`?n.restart(!0):n[D]()),i&&i(P)),(M||!as)&&(s&&M&&Ms(P,s),A[b]&&Ms(P,A[b]),_&&(u===1?P.kill(!1,1):A[b]=0),M||(b=u===1?1:3,A[b]&&Ms(P,A[b]))),S&&!h&&Math.abs(P.getVelocity())>(ks(S)?S:2500)&&(js(P.callbackAnimation),q?q.progress(1):js(n,D===`reverse`?1:!u,1))):T&&i&&!Ro&&i(P)}if(K){var I=x?o/x.duration()*(x._caScrollDist||0):o;xe(I+ +!!oe._isFlipped),K(I)}je&&je(-o/x.duration()*(x._caScrollDist||0))}},P.enable=function(t,n){P.enabled||(P.enabled=!0,ac(E,`resize`,bc),O||ac(E,`scroll`,vc),ee&&ac(e,`refreshInit`,ee),t!==!1&&(P.progress=R=0,H=re=I=z()),n!==!1&&P.refresh())},P.getTween=function(e){return e&&ne?ne.tween:q},P.setPositions=function(e,t,n,r){if(x){var i=x.scrollTrigger,a=x.duration(),o=i.end-i.start;e=i.start+o*e/a,t=i.start+o*t/a}P.refresh(!1,!1,{start:fs(e,n&&!!P._startClamp),end:fs(t,n&&!!P._endClamp)},r),P.update()},P.adjustPinSpacing=function(e){if(be&&e){var t=be.indexOf(w.d)+1;be[t]=parseFloat(be[t])+e+Js,be[1]=parseFloat(be[1])+e+Js,Kc(be)}},P.disable=function(t,n){if(t!==!1&&P.revert(!0,!0),P.enabled&&(P.enabled=P.isActive=!1,n||q&&q.pause(),ke=0,B&&(B.uncache=1),ee&&oc(e,`refreshInit`,ee),Oe&&(Oe.pause(),ne.tween&&ne.tween.kill()&&(ne.tween=0)),!O)){for(var r=mc.length;r--;)if(mc[r].scroller===E&&mc[r]!==P)return;oc(E,`resize`,bc),O||oc(E,`scroll`,vc)}},P.kill=function(e,r){P.disable(e,r),q&&!r&&q.kill(),o&&delete hc[o];var i=mc.indexOf(P);i>=0&&mc.splice(i,1),i===Vo&&Rc>0&&Vo--,i=0,mc.forEach(function(e){return e.scroller===P.scroller&&(i=1)}),i||Ac||(P.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),r||n.kill()),ae&&[ae,W,oe,se].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),zc===P&&(zc=0),d&&(B&&(B.uncache=1),i=0,mc.forEach(function(e){return e.pin===d&&i++}),i||(B.spacer=0)),t.onKill&&t.onKill(P)},mc.push(P),P.enable(!1,!1),Me&&Me(P),n&&n.add&&!ue){var Ie=P.update;P.update=function(){P.update=Ie,no.cache++,U||ie||P.refresh()},J.delayedCall(.01,P.update),ue=.01,U=ie=0}else P.refresh();d&&Nc()},e.register=function(t){return Do||=(J=t||ys(),vs()&&window.document&&e.enable(),us),Do},e.defaults=function(e){if(e)for(var t in e)lc[t]=e[t];return lc},e.disable=function(e,t){us=0,mc.forEach(function(n){return n[t?`kill`:`disable`](e)}),oc(Oo,`wheel`,vc),oc(ko,`scroll`,vc),clearInterval(Lo),oc(ko,`touchcancel`,gs),oc(jo,`touchstart`,gs),ic(oc,ko,`pointerdown,touchstart,mousedown`,ms),ic(oc,ko,`pointerup,touchend,mouseup`,hs),No.kill(),Es(oc);for(var n=0;n0&&r.left+i0&&r.top+i=0&&Tc.splice(t,5),Tc.push(e,e.style.cssText,e.getBBox&&e.getAttribute(`transform`),J.core.getCache(e),$o())}}):Tc},nl.revert=function(e,t){return Oc(!e,t)},nl.create=function(e,t){return new nl(e,t)},nl.refresh=function(e){return e?bc(!0):(Do||nl.register())&&Ic(!0)},nl.update=function(e){return++no.cache&&Bc(e===!0?2:0)},nl.clearScrollMemory=kc,nl.maxScroll=function(e,t){return Ts(e,t?go:_o)},nl.getScrollFunc=function(e,t){return bo(vo(e),t?go:_o)},nl.getById=function(e){return hc[e]},nl.getAll=function(){return mc.filter(function(e){return e.vars.id!==`ScrollSmoother`})},nl.isScrolling=function(){return!!ls},nl.snapDirectional=nc,nl.addEventListener=function(e,t){var n=xc[e]||(xc[e]=[]);~n.indexOf(t)||n.push(t)},nl.removeEventListener=function(e,t){var n=xc[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},nl.batch=function(e,t){var n=[],r={},i=t.interval||.016,a=t.batchMax||1e9,o=function(e,t){var n=[],r=[],o=J.delayedCall(i,function(){t(n,r),n=[],r=[]}).pause();return function(e){n.length||o.restart(!0),n.push(e.trigger),r.push(e),a<=n.length&&o.progress(1)}},s;for(s in t)r[s]=s.substr(0,2)===`on`&&Os(t[s])&&s!==`onRefreshInit`?o(s,t[s]):t[s];return Os(a)&&(a=a(),ac(nl,`refresh`,function(){return a=t.batchMax()})),Po(e).forEach(function(e){var t={};for(s in r)t[s]=r[s];t.trigger=e,n.push(nl.create(t))}),n};var rl=function(e,t,n,r){return t>r?e(r):t<0&&e(0),n>r?(r-t)/(n-t):n<0?t/(t-n):1},il=function e(t,n){n===!0?t.style.removeProperty(`touch-action`):t.style.touchAction=n===!0?`auto`:n?`pan-`+n+(Eo.isTouch?` pinch-zoom`:``):`none`,t===Ao&&e(jo,n)},al={auto:1,scroll:1},ol=function(e){var t=e.event,n=e.target,r=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,a=i._gsap||J.core.getCache(i),o=ss(),s;if(!a._isScrollT||o-a._isScrollT>2e3){for(;i&&i!==jo&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(al[(s=Ys(i)).overflowY]||al[s.overflowX]));)i=i.parentNode;a._isScroll=i&&i!==n&&!bs(i)&&(al[(s=Ys(i)).overflowY]||al[s.overflowX]),a._isScrollT=o}(a._isScroll||r===`x`)&&(t.stopPropagation(),t._gsapAllow=!0)},sl=function(e,t,n,r){return Eo.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r&&=ol,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&ac(ko,Eo.eventTypes[0],ul,!1,!0)},onDisable:function(){return oc(ko,Eo.eventTypes[0],ul,!0)}})},cl=/(input|label|select|textarea)/i,ll,ul=function(e){var t=cl.test(e.target.tagName);(t||ll)&&(e._gsapAllow=!0,ll=t)},dl=function(e){As(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||=`wheel,touch`,e.debounce=!!e.debounce,e.id=e.id||`normalizer`;var t=e,n=t.normalizeScrollX,r=t.momentum,i=t.allowNestedScroll,a=t.onRelease,o,s,c=vo(e.target)||Ao,l=J.core.globals().ScrollSmoother,u=l&&l.get(),d=Qo&&(e.content&&vo(e.content)||u&&e.content!==!1&&!u.smooth()&&u.content()),f=bo(c,_o),p=bo(c,go),m=1,h=(Eo.isTouch&&Oo.visualViewport?Oo.visualViewport.scale*Oo.visualViewport.width:Oo.outerWidth)/Oo.innerWidth,g=0,_=Os(r)?function(){return r(o)}:function(){return r||2.8},v,y,b=sl(c,e.type,!0,i),x=function(){return y=!1},S=gs,C=gs,w=function(){s=Ts(c,_o),C=Fo(+!!Qo,s),n&&(S=Fo(0,Ts(c,go))),v=jc},T=function(){d._gsap.y=_s(parseFloat(d._gsap.y)+f.offset)+`px`,d.style.transform=`matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, `+parseFloat(d._gsap.y)+`, 0, 1)`,f.offset=f.cacheID=0},E=function(){if(y){requestAnimationFrame(x);var e=_s(o.deltaY/2),t=C(f.v-e);if(d&&t!==f.v+f.offset){f.offset=t-f.v;var n=_s((parseFloat(d&&d._gsap.y)||0)-f.offset);d.style.transform=`matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, `+n+`, 0, 1)`,d._gsap.y=n+`px`,f.cacheID=no.cache,Bc()}return!0}f.offset&&T(),y=!0},D,O,k,A,j=function(){w(),D.isActive()&&D.vars.scrollY>s&&(f()>s?D.progress(1)&&f(s):D.resetTo(`scrollY`,s))};return d&&J.set(d,{y:`+=0`}),e.ignoreCheck=function(e){return Qo&&e.type===`touchmove`&&E(e)||m>1.05&&e.type!==`touchstart`||o.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){y=!1;var e=m;m=_s((Oo.visualViewport&&Oo.visualViewport.scale||1)/h),D.pause(),e!==m&&il(c,m>1.01?!0:n?!1:`x`),O=p(),k=f(),w(),v=jc},e.onRelease=e.onGestureStart=function(e,t){if(f.offset&&T(),!t)A.restart(!0);else{no.cache++;var r=_(),i,o;n&&(i=p(),o=i+r*.05*-e.velocityX/.227,r*=rl(p,i,o,Ts(c,go)),D.vars.scrollX=S(o)),i=f(),o=i+r*.05*-e.velocityY/.227,r*=rl(f,i,o,Ts(c,_o)),D.vars.scrollY=C(o),D.invalidate().duration(r).play(.01),(Qo&&D.vars.scrollY>=s||i>=s-1)&&J.to({},{onUpdate:j,duration:r})}a&&a(e)},e.onWheel=function(){D._ts&&D.pause(),ss()-g>1e3&&(v=0,g=ss())},e.onChange=function(e,t,r,i,a){if(jc!==v&&w(),t&&n&&p(S(i[2]===t?O+(e.startX-e.x):p()+t-i[1])),r){f.offset&&T();var o=a[2]===r,s=o?k+e.startY-e.y:f()+r-a[1],c=C(s);o&&s!==c&&(k+=c-s),f(c)}(r||t)&&Bc()},e.onEnable=function(){il(c,n?!1:`x`),nl.addEventListener(`refresh`,j),ac(Oo,`resize`,j),f.smooth&&=(f.target.style.scrollBehavior=`auto`,p.smooth=!1),b.enable()},e.onDisable=function(){il(c,!0),oc(Oo,`resize`,j),nl.removeEventListener(`refresh`,j),b.kill()},e.lockAxis=e.lockAxis!==!1,o=new Eo(e),o.iOS=Qo,Qo&&!f()&&f(1),Qo&&J.ticker.add(gs),A=o._dc,D=J.to(o,{ease:`power4`,paused:!0,inherit:!1,scrollX:n?`+=0.1`:`+=0`,scrollY:`+=0.1`,modifiers:{scrollY:$c(f,f(),function(){return D.pause()})},onUpdate:Bc,onComplete:A.vars.onComplete}),o};nl.sort=function(e){if(Os(e))return mc.sort(e);var t=Oo.pageYOffset||0;return nl.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+Oo.innerHeight}),mc.sort(e||function(e,t){return(e.vars.refreshPriority||0)*-1e6+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})},nl.observe=function(e){return new Eo(e)},nl.normalizeScroll=function(e){if(e===void 0)return Jo;if(e===!0&&Jo)return Jo.enable();if(e===!1){Jo&&Jo.kill(),Jo=e;return}var t=e instanceof Eo?e:dl(e);return Jo&&Jo.target===t.target&&Jo.kill(),bs(t.target)&&(Jo=t),t},nl.core={_getVelocityProp:xo,_inputObserver:sl,_scrollers:no,_proxies:ro,bridge:{ss:function(){ls||wc(`scrollStart`),ls=ss()},ref:function(){return Ro}}},ys()&&J.registerPlugin(nl);function fl({controlled:e,default:t,name:n,state:r=`value`}){let{current:i}=K.useRef(e!==void 0),[a,o]=K.useState(t);return[i?e:a,K.useCallback(e=>{i||o(e)},[])]}var pl={};function ml(e,t){let n=K.useRef(pl);return n.current===pl&&(n.current=e(t)),n}var hl=K[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],gl=hl&&hl!==K.useLayoutEffect?hl:e=>e();function Y(e){let t=ml(_l).current;return t.next=e,gl(t.effect),t.trampoline}function _l(){let e={next:void 0,callback:vl,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function vl(){}var X=typeof document<`u`?K.useLayoutEffect:()=>{},yl=K.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function bl(){return K.useContext(yl)}var Z=a();function xl(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,a=Y(i),o=K.useRef(0),s=ml(Cl).current,c=ml(Sl).current,[l,u]=K.useState(0),d=K.useRef(l),f=Y((e,t)=>{c.set(e,t??null),d.current+=1,u(d.current)}),p=Y(e=>{c.delete(e),d.current+=1,u(d.current)}),m=K.useMemo(()=>{let e=new Map;return Array.from(c.keys()).filter(e=>e.isConnected).sort(wl).forEach((t,n)=>{let r=c.get(t)??{};e.set(t,{...r,index:n})}),e},[c,l]);X(()=>{if(typeof MutationObserver!=`function`||m.size===0)return;let e=new MutationObserver(e=>{let t=new Set,n=e=>t.has(e)?t.delete(e):t.add(e);e.forEach(e=>{e.removedNodes.forEach(n),e.addedNodes.forEach(n)}),t.size===0&&(d.current+=1,u(d.current))});return m.forEach((t,n)=>{n.parentElement&&e.observe(n.parentElement,{childList:!0})}),()=>{e.disconnect()}},[m]),X(()=>{d.current===l&&(n.current.length!==m.size&&(n.current.length=m.size),r&&r.current.length!==m.size&&(r.current.length=m.size),o.current=m.size),a(m)},[a,m,n,r,l]),X(()=>()=>{n.current=[]},[n]),X(()=>()=>{r&&(r.current=[])},[r]);let h=Y(e=>(s.add(e),()=>{s.delete(e)}));X(()=>{s.forEach(e=>e(m))},[s,m]);let g=K.useMemo(()=>({register:f,unregister:p,subscribeMapChange:h,elementsRef:n,labelsRef:r,nextIndexRef:o}),[f,p,h,n,r,o]);return(0,Z.jsx)(yl.Provider,{value:g,children:t})}function Sl(){return new Map}function Cl(){return new Set}function wl(e,t){let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}var Tl=K.createContext(void 0);function El(){return K.useContext(Tl)?.direction??`ltr`}function Dl(e,t){return function(n,...r){let i=new URL(e);return i.searchParams.set(`code`,n.toString()),r.forEach(e=>i.searchParams.append(`args[]`,e)),`${t} error #${n}; visit ${i} for the full message.`}}var Ol=Dl(`https://base-ui.com/production-error`,`Base UI`);function kl(e,t,n,r){let i=ml(jl).current;return Ml(i,e,t,n,r)&&Pl(i,[e,t,n,r]),i.callback}function Al(e){let t=ml(jl).current;return Nl(t,e)&&Pl(t,e),t.callback}function jl(){return{callback:null,cleanup:null,refs:[]}}function Ml(e,t,n,r,i){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==i}function Nl(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}function Pl(e,t){if(e.refs=t,t.every(e=>e==null)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&=(e.cleanup(),null),n!=null){let r=Array(t.length).fill(null);for(let e=0;e{for(let e=0;e=e}function Ll(e){if(!K.isValidElement(e))return null;let t=e,n=t.props;return(Il(19)?n?.ref:t.ref)??null}function Rl(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function zl(){}var Bl=Object.freeze([]),Vl=Object.freeze({});function Hl(e,t){let n={};for(let r in e){let i=e[r];if(t?.hasOwnProperty(r)){let e=t[r](i);e!=null&&Object.assign(n,e);continue}i===!0?n[`data-${r.toLowerCase()}`]=``:i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}function Ul(e,t){return typeof e==`function`?e(t):e}function Wl(e,t){return typeof e==`function`?e(t):e}var Gl={};function Kl(e,t,n,r,i){if(!n&&!r&&!i&&!e)return Jl(t);let a=Jl(e);return t&&(a=Yl(a,t)),n&&(a=Yl(a,n)),r&&(a=Yl(a,r)),i&&(a=Yl(a,i)),a}function ql(e){if(e.length===0)return Gl;if(e.length===1)return Jl(e[0]);let t=Jl(e[0]);for(let n=1;n=65&&i<=90&&(typeof t==`function`||t===void 0)}function $l(e){return typeof e==`function`}function eu(e,t){return $l(e)?e(t):e??Gl}function tu(e,t){return t?e?(...n)=>{let r=n[0];if(au(r)){let i=r;ru(i);let a=t(...n);return i.baseUIHandlerPrevented||e?.(...n),a}let i=t(...n);return e?.(...n),i}:nu(t):e}function nu(e){return e&&((...t)=>{let n=t[0];return au(n)&&ru(n),e(...t)})}function ru(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function iu(e,t){return t?e?t+` `+e:t:e}function au(e){return typeof e==`object`&&!!e&&`nativeEvent`in e}function ou(e,t,n={}){let r=t.render,i=su(t,n);return n.enabled===!1?null:uu(e,r,i,n.state??Vl)}function su(e,t={}){let{className:n,style:r,render:i}=e,{state:a=Vl,ref:o,props:s,stateAttributesMapping:c,enabled:l=!0}=t,u=l?Ul(n,a):void 0,d=l?Wl(r,a):void 0,f=l?Hl(a,c):Vl,p=l&&s?cu(s):void 0,m=l?Rl(f,p)??{}:Vl;return typeof document<`u`&&(l?Array.isArray(o)?m.ref=Al([m.ref,Ll(i),...o]):m.ref=kl(m.ref,Ll(i),o):kl(null,null)),l?(u!==void 0&&(m.className=iu(m.className,u)),d!==void 0&&(m.style=Rl(m.style,d)),m):Vl}function cu(e){return Array.isArray(e)?ql(e):Kl(void 0,e)}var lu=Symbol.for(`react.lazy`);function uu(e,t,n,r){if(t){if(typeof t==`function`)return t(n,r);let e=Kl(n,t.props);e.ref=n.ref;let i=t;return i?.$$typeof===lu&&(i=K.Children.toArray(t)[0]),K.cloneElement(i,e)}if(e&&typeof e==`string`)return du(e,n);throw Error(Ol(8))}function du(e,t){return e===`button`?(0,K.createElement)(`button`,{type:`button`,...t,key:t.key}):e===`img`?(0,K.createElement)(`img`,{alt:``,...t,key:t.key}):K.createElement(e,t)}var fu=`none`,pu=`trigger-press`,mu=`outside-press`,hu=`item-press`,gu=`close-press`,_u=`clear-press`,vu=`input-change`,yu=`input-clear`,bu=`input-press`,xu=`focus-out`,Su=`escape-key`,Cu=`list-navigation`;function wu(e,t,n,r){let i=!1,a=!1,o=r??Vl;return{reason:e,event:t??new Event(`base-ui`),cancel(){i=!0},allowPropagation(){a=!0},get isCanceled(){return i},get isPropagationAllowed(){return a},trigger:n,...o}}function Tu(e,t,n){let r=n??Vl;return{reason:e,event:t??new Event(`base-ui`),...r}}var Eu={...K},Du=0;function Ou(e,t=`mui`){let[n,r]=K.useState(e),i=e||n;return K.useEffect(()=>{n??(Du+=1,r(`${t}-${Du}`))},[n,t]),i}var ku=Eu.useId;function Au(e,t){if(ku!==void 0){let n=ku();return e??(t?`${t}-${n}`:n)}return Ou(e,t)}function ju(e){return Au(e,`base-ui`)}var Mu=[];function Nu(e){K.useEffect(e,Mu)}var Pu=null;globalThis.requestAnimationFrame;var Fu=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n=this.callbacks.length||(this.callbacks[t]=null,--this.callbacksCount)}},Iu=class e{static create(){return new e}static request(e){return Fu.request(e)}static cancel(e){return Fu.cancel(e)}currentId=Pu;request(e){this.cancel(),this.currentId=Fu.request(()=>{this.currentId=Pu,e()})}cancel=()=>{this.currentId!==Pu&&(Fu.cancel(this.currentId),this.currentId=Pu)};disposeEffect=()=>this.cancel};function Lu(){let e=ml(Iu.create).current;return Nu(e.disposeEffect),e}function Ru(e){return e==null?e:`current`in e?e.current:e}var zu=function(e){return e.startingStyle=`data-starting-style`,e.endingStyle=`data-ending-style`,e}({}),Bu={[zu.startingStyle]:``},Vu={[zu.endingStyle]:``},Hu={transitionStatus(e){return e===`starting`?Bu:e===`ending`?Vu:null}},Uu=o(i());function Wu(e,t=!1,n=!0){let r=Lu();return Y((i,a=null)=>{r.cancel();let o=Ru(e);if(o==null)return;let s=o,c=()=>{Uu.flushSync(i)};if(typeof s.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED){i();return}function l(){Promise.all(s.getAnimations().map(e=>e.finished)).then(()=>{a?.aborted||c()}).catch(()=>{if(n){a?.aborted||c();return}let e=s.getAnimations();!a?.aborted&&e.length>0&&e.some(e=>e.pending||e.playState!==`finished`)&&l()})}if(t){let e=zu.startingStyle;if(!s.hasAttribute(e)){r.request(l);return}let t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),l())});t.observe(s,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0});return}r.request(l)})}function Gu(e,t=!1,n=!1){let[r,i]=K.useState(e&&t?`idle`:void 0),[a,o]=K.useState(e);return e&&!a&&(o(!0),i(`starting`)),!e&&a&&r!==`ending`&&!n&&i(`ending`),!e&&!a&&r===`ending`&&i(void 0),X(()=>{if(!e&&a&&r!==`ending`&&n){let e=Iu.request(()=>{i(`ending`)});return()=>{Iu.cancel(e)}}},[e,a,r,n]),X(()=>{if(!e||t)return;let n=Iu.request(()=>{i(void 0)});return()=>{Iu.cancel(n)}},[t,e]),X(()=>{if(!e||!t)return;e&&a&&r!==`idle`&&i(`starting`);let n=Iu.request(()=>{i(`idle`)});return()=>{Iu.cancel(n)}},[t,e,a,r]),{mounted:a,setMounted:o,transitionStatus:r}}var Ku=function(e){return e[e.None=0]=`None`,e[e.GuessFromOrder=1]=`GuessFromOrder`,e}({});function qu(e={}){let{label:t,metadata:n,textRef:r,indexGuessBehavior:i,index:a}=e,{register:o,unregister:s,subscribeMapChange:c,elementsRef:l,labelsRef:u,nextIndexRef:d}=bl(),f=K.useRef(-1),[p,m]=K.useState(a??(i===Ku.GuessFromOrder?()=>{if(f.current===-1){let e=d.current;d.current+=1,f.current=e}return f.current}:-1)),h=K.useRef(null),g=K.useCallback(e=>{if(h.current=e,p!==-1&&e!==null&&(l.current[p]=e,u)){let n=t!==void 0;u.current[p]=n?t:r?.current?.textContent??e.textContent}},[p,l,u,t,r]);return X(()=>{if(a!=null)return;let e=h.current;if(e)return o(e,n),()=>{s(e)}},[a,o,s,n]),X(()=>{if(a==null)return c(e=>{let t=h.current?e.get(h.current)?.index:null;t!=null&&m(t)})},[a,c,m]),K.useMemo(()=>({ref:g,index:p}),[p,g])}var Ju=K.createContext(void 0);function Yu(e=!1){let t=K.useContext(Ju);if(t===void 0&&!e)throw Error(Ol(16));return t}function Xu(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,s=r&&t===!1;return{props:K.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||s)&&(e.disabled=n),e},[r,n,t,o,s,a,i])}}function Zu(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:i=!0,composite:a}=e,o=K.useRef(null),s=Yu(!0),c=a??s!==void 0,{props:l}=Xu({focusableWhenDisabled:n,disabled:t,composite:c,tabIndex:r,isNativeButton:i}),u=K.useCallback(()=>{let e=o.current;Qu(e)&&c&&t&&l.disabled===void 0&&e.disabled&&(e.disabled=!1)},[t,l.disabled,c]);return X(u,[u]),{getButtonProps:K.useCallback((e={})=>{let{onClick:n,onMouseDown:r,onKeyUp:a,onKeyDown:o,onPointerDown:s,...u}=e;return Kl({type:i?`button`:void 0,onClick(e){if(t){e.preventDefault();return}n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){if(t||(ru(e),o?.(e),e.baseUIHandlerPrevented))return;let r=e.target===e.currentTarget,a=e.currentTarget,s=Qu(a),l=!i&&$u(a),u=r&&(i?s:!l),d=e.key===`Enter`,f=e.key===` `,p=a.getAttribute(`role`),m=p?.startsWith(`menuitem`)||p===`option`||p===`gridcell`;if(r&&c&&f){if(e.defaultPrevented&&m)return;e.preventDefault(),l||i&&s?(a.click(),e.preventBaseUIHandler()):u&&(n?.(e),e.preventBaseUIHandler());return}u&&(!i&&(f||d)&&e.preventDefault(),!i&&d&&n?.(e))},onKeyUp(e){if(!t){if(ru(e),a?.(e),e.target===e.currentTarget&&i&&c&&Qu(e.currentTarget)&&e.key===` `){e.preventDefault();return}e.baseUIHandlerPrevented||e.target===e.currentTarget&&!i&&!c&&e.key===` `&&n?.(e)}},onPointerDown(e){if(t){e.preventDefault();return}s?.(e)}},i?void 0:{role:`button`},l,u)},[t,l,c,i]),buttonRef:Y(e=>{o.current=e,u()})}}function Qu(e){return C(e)&&e.tagName===`BUTTON`}function $u(e){return!!(e?.tagName===`A`&&e?.href)}var ed=typeof navigator<`u`,td=ud(),nd=fd(),rd=dd(),id=typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter:none`),ad=td.platform===`MacIntel`&&td.maxTouchPoints>1?!0:/iP(hone|ad|od)|iOS/.test(td.platform),od=ed&&/firefox/i.test(rd),sd=ed&&/apple/i.test(navigator.vendor);ed&&/Edg/i.test(rd);var cd=ed&&/android/i.test(nd)||/android/i.test(rd);ed&&nd.toLowerCase().startsWith(`mac`)&&navigator.maxTouchPoints;var ld=rd.includes(`jsdom/`);function ud(){if(!ed)return{platform:``,maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??-1}}function dd(){if(!ed)return``;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(` `):navigator.userAgent}function fd(){if(!ed)return``;let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??``}var pd=`data-base-ui-focusable`,md=`ArrowLeft`,hd=`ArrowRight`,gd=`ArrowUp`,_d=`ArrowDown`;function vd(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function yd(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&te(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function bd(e){return`composedPath`in e?e.composedPath()[0]:e.target}function xd(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function Sd(e){return e.matches(`html,body`)}function Cd(e){return C(e)&&e.matches(`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`)}function wd(e){return e?e.getAttribute(`role`)===`combobox`&&Cd(e):!1}function Td(e){return e?e.hasAttribute(`data-base-ui-focusable`)?e:e.querySelector(`[data-base-ui-focusable]`)||e:null}function Ed(e,t,n=!0){return e.filter(e=>e.parentId===t).flatMap(t=>[...!n||t.context?.open?[t]:[],...Ed(e,t.id,n)])}function Dd(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function Od(e){e.preventDefault(),e.stopPropagation()}function kd(e){return`nativeEvent`in e}function Ad(e){return e.pointerType===``&&e.isTrusted?!0:cd&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function jd(e){return ld?!1:!cd&&e.width===0&&e.height===0||cd&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function Md(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function Nd(e){let t=e.type;return t===`click`||t===`mousedown`||t===`keydown`||t===`keyup`}function Pd(e,t,n){return Math.floor(e/t)!==n}function Fd(e,t){return t<0||t>=e.length}function Id(e,t){return Rd(e.current,{disabledIndices:t})}function Ld(e,t){return Rd(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Rd(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.length-1&&Ud(e,a,r));return a}function zd(e,{event:t,orientation:n,loopFocus:r,onLoop:i,rtl:a,cols:o,disabledIndices:s,minIndex:c,maxIndex:l,prevIndex:d,stopEvent:f=!1}){let p=d,m;if(t.key===`ArrowUp`?m=`up`:t.key===`ArrowDown`&&(m=`down`),m){let n=[],a=[],h=!1,g=0;{let t=null,r=-1;e.forEach((e,i)=>{if(e==null)return;g+=1;let o=e.closest(`[role="row"]`);o&&(h=!0),(o!==t||r===-1)&&(t=o,r+=1,n[r]=[]),n[r].push(i),a[i]=r})}let _=!1,v=0;if(h)for(let e of n){let t=e.length;t>v&&(v=t),t!==o&&(_=!0)}let y=_&&g{if(!_||d===-1)return;let c=a[d];if(c==null)return;let l=n[c].indexOf(d),u=o===`up`?-1:1;for(let o=c+u,f=0;f=n.length){if(!r||y)return;if(o=o<0?n.length-1:0,i){let e=Math.min(l,n[o].length-1);o=a[i(t,d,n[o][e]??n[o][0])]??o}}let c=n[o];for(let t=Math.min(l,c.length-1);t>=0;--t){let n=c[t];if(!Ud(e,n,s))return n}}},S=t=>{if(!y||d===-1)return;let n=d%b,i=t===`up`?-b:b,a=l-l%b,o=u(l/b)+1;for(let t=d-n+i,c=0;cl){if(!r)return;t=t<0?a:0}let i=Math.min(t+b-1,l);for(let r=Math.min(t+n,i);r>=t;--r)if(!Ud(e,r,s))return r}};f&&Od(t);let C=x(m)??S(m);if(C!==void 0)p=C;else if(d===-1)p=m===`up`?l:c;else if(p=Rd(e,{startingIndex:d,amount:b,decrement:m===`up`,disabledIndices:s}),r){if(m===`up`&&(d-be?r:r-b,i&&(p=i(t,d,p))}m===`down`&&d+b>l&&(p=Rd(e,{startingIndex:d%b-b,amount:b,disabledIndices:s}),i&&(p=i(t,d,p)))}Fd(e,p)&&(p=d)}if(n===`both`){let n=u(d/o);t.key===(a?`ArrowLeft`:`ArrowRight`)&&(f&&Od(t),d%o===o-1?r&&(p=Rd(e,{startingIndex:d-d%o-1,disabledIndices:s}),i&&(p=i(t,d,p))):(p=Rd(e,{startingIndex:d,disabledIndices:s}),r&&Pd(p,o,n)&&(p=Rd(e,{startingIndex:d-d%o-1,disabledIndices:s}),i&&(p=i(t,d,p)))),Pd(p,o,n)&&(p=d)),t.key===(a?`ArrowRight`:`ArrowLeft`)&&(f&&Od(t),d%o===0?r&&(p=Rd(e,{startingIndex:d+(o-d%o),decrement:!0,disabledIndices:s}),i&&(p=i(t,d,p))):(p=Rd(e,{startingIndex:d,decrement:!0,disabledIndices:s}),r&&Pd(p,o,n)&&(p=Rd(e,{startingIndex:d+(o-d%o),decrement:!0,disabledIndices:s}),i&&(p=i(t,d,p)))),Pd(p,o,n)&&(p=d));let c=u(l/o)===n;Fd(e,p)&&(r&&c?(p=t.key===(a?`ArrowRight`:`ArrowLeft`)?l:Rd(e,{startingIndex:d-d%o-1,disabledIndices:s}),i&&(p=i(t,d,p))):p=d)}return p}function Bd(e,t,n){let r=[],i=0;return e.forEach(({width:e,height:a},o)=>{let s=!1;for(n&&(i=0);!s;){let n=[];for(let r=0;rr[e]==null)?(n.forEach(e=>{r[e]=o}),s=!0):i+=1}}),[...r]}function Vd(e,t,n,r,i){if(e===-1)return-1;let a=n.indexOf(e),o=t[e];switch(i){case`tl`:return a;case`tr`:return o?a+o.width-1:a;case`bl`:return o?a+(o.height-1)*r:a;case`br`:return n.lastIndexOf(e);default:return-1}}function Hd(e,t){return t.flatMap((t,n)=>e.includes(t)?[n]:[])}function Ud(e,t,n){if(typeof n==`function`?n(t):n?.includes(t)??!1)return!0;let r=e[t];return r?Gd(r)?!n&&(r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`):!0:!1}function Wd(e){return e.visibility===`hidden`||e.visibility===`collapse`}function Gd(e,t=e?N(e):null){return!e||!e.isConnected||!t||Wd(t)?!1:typeof e.checkVisibility==`function`?e.checkVisibility():t.display!==`none`&&t.display!==`contents`}function Kd(e){return e?.ownerDocument||document}var qd=`a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]`;function Jd(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let n=e.getRootNode();return te(n)?n.host:null}function Yd(e){for(let t of Array.from(e.children))if(b(t)===`summary`)return t;return null}function Xd(e,t){let n=Yd(t);return!!n&&(e===n||yd(n,e))}function Zd(e){let t=e?b(e):``;return e!=null&&e.matches(qd)&&(t!==`summary`||e.parentElement!=null&&b(e.parentElement)===`details`&&Yd(e.parentElement)===e)&&(t!==`details`||Yd(e)==null)&&(t!==`input`||e.type!==`hidden`)}function Qd(e){if(!Zd(e)||!e.isConnected||e.matches(`:disabled`))return!1;for(let t=e;t;t=Jd(t)){let n=t!==e,r=b(t)===`slot`;if(t.hasAttribute(`inert`)||n&&b(t)===`details`&&!t.open&&!Xd(e,t)||t.hasAttribute(`hidden`)||!r&&!$d(t,n))return!1}return!0}function $d(e,t){let n=N(e);return t?n.display!==`none`:Gd(e,n)}function ef(e){let t=e.tabIndex;if(t<0){let t=b(e);if(t===`details`||t===`audio`||t===`video`||C(e)&&e.isContentEditable)return 0}return t}function tf(e){if(b(e)!==`input`)return null;let t=e;return t.type===`radio`&&t.name!==``?t:null}function nf(e,t){let n=tf(e);if(!n)return!0;let r=t.find(e=>{let t=tf(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=tf(e);return t?.name===n.name&&t.form===n.form})===n}function rf(e){if(C(e)&&b(e)===`slot`){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return C(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function af(e,t){rf(e).forEach(e=>{Zd(e)&&t.push(e),af(e,t)})}function of(e,t,n){rf(e).forEach(e=>{C(e)&&e.matches(t)&&n.push(e),of(e,t,n)})}function sf(e){return Qd(e)&&ef(e)>=0}function cf(e){let t=[];return af(e,t),t.filter(Qd)}function lf(e){let t=cf(e);return t.filter(e=>ef(e)>=0&&nf(e,t))}function uf(e,t){let n=lf(e),r=n.length;if(r===0)return;let i=vd(Kd(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function df(e){return uf(Kd(e).body,1)||e}function ff(e){return uf(Kd(e).body,-1)||e}function pf(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!yd(n,r)}function mf(e){lf(e).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function hf(e){let t=[];of(e,`[data-tabindex]`,t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}function gf(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function _f(e){let{enabled:t=!0,open:n,ref:r,onComplete:i}=e,a=Y(i),o=Wu(r,n,!1);K.useEffect(()=>{if(!t)return;let e=new AbortController;return o(a,e.signal),()=>{e.abort()}},[t,n,a,o])}function vf(e){let t=K.useRef(!0);t.current&&(t.current=!1,e())}var yf=0,bf=class e{static create(){return new e}currentId=yf;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=yf,t()},e)}isStarted(){return this.currentId!==yf}clear=()=>{this.currentId!==yf&&(clearTimeout(this.currentId),this.currentId=yf)};disposeEffect=()=>this.clear};function xf(){let e=ml(bf.create).current;return Nu(e.disposeEffect),e}var Sf={},Cf={},wf=``;function Tf(e){if(typeof document>`u`)return!1;let t=Kd(e);return A(t).innerWidth-t.documentElement.clientWidth>0}function Ef(e){if(!(typeof CSS<`u`&&CSS.supports&&CSS.supports(`scrollbar-gutter`,`stable`))||typeof document>`u`)return!1;let t=Kd(e),n=t.documentElement,r=t.body,i=P(n)?n:r,a=i.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter=`stable`,i.style.overflowY=`scroll`;let s=i.offsetWidth;i.style.overflowY=`hidden`;let c=i.offsetWidth;return i.style.overflowY=a,n.style.scrollbarGutter=o,s===c}function Df(e){let t=Kd(e),n=t.documentElement,r=t.body,i=P(n)?n:r,a={overflowY:i.style.overflowY,overflowX:i.style.overflowX};return Object.assign(i.style,{overflowY:`hidden`,overflowX:`hidden`}),()=>{Object.assign(i.style,a)}}function Of(e){let t=Kd(e),n=t.documentElement,r=t.body,i=A(n),a=0,o=0,s=!1,c=Iu.create();if(id&&(i.visualViewport?.scale??1)!==1)return()=>{};function l(){let t=i.getComputedStyle(n),c=i.getComputedStyle(r),l=(t.scrollbarGutter||``).includes(`both-edges`)?`stable both-edges`:`stable`;a=n.scrollTop,o=n.scrollLeft,Sf={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},wf=n.style.scrollBehavior,Cf={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let u=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,f=t.overflowY===`scroll`||c.overflowY===`scroll`,p=t.overflowX===`scroll`||c.overflowX===`scroll`,m=Math.max(0,i.innerWidth-r.clientWidth),h=Math.max(0,i.innerHeight-r.clientHeight),g=parseFloat(c.marginTop)+parseFloat(c.marginBottom),_=parseFloat(c.marginLeft)+parseFloat(c.marginRight),v=P(n)?n:r;if(s=Ef(e),s){n.style.scrollbarGutter=l,v.style.overflowY=`hidden`,v.style.overflowX=`hidden`;return}Object.assign(n.style,{scrollbarGutter:l,overflowY:`hidden`,overflowX:`hidden`}),(u||f)&&(n.style.overflowY=`scroll`),(d||p)&&(n.style.overflowX=`scroll`),Object.assign(r.style,{position:`relative`,height:g||h?`calc(100dvh - ${g+h}px)`:`100dvh`,width:_||m?`calc(100vw - ${_+m}px)`:`100vw`,boxSizing:`border-box`,overflow:`hidden`,scrollBehavior:`unset`}),r.scrollTop=a,r.scrollLeft=o,n.setAttribute(`data-base-ui-scroll-locked`,``),n.style.scrollBehavior=`unset`}function u(){Object.assign(n.style,Sf),Object.assign(r.style,Cf),s||(n.scrollTop=a,n.scrollLeft=o,n.removeAttribute(`data-base-ui-scroll-locked`),n.style.scrollBehavior=wf)}function d(){u(),c.request(l)}l();let f=gf(i,`resize`,d);return()=>{c.cancel(),u(),typeof i.removeEventListener==`function`&&f()}}var kf=new class{lockCount=0;restore=null;timeoutLock=bf.create();timeoutUnlock=bf.create();acquire(e){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{--this.lockCount,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(this.lockCount===0||this.restore!==null)return;let t=Kd(e).documentElement,n=A(t).getComputedStyle(t).overflowY;if(n===`hidden`||n===`clip`){this.restore=zl;return}let r=ad||!Tf(e);this.restore=r?Df(e):Of(e)}};function Af(e=!0,t=null){X(()=>{if(e)return kf.acquire(t)},[e,t])}function jf(...e){return()=>{for(let t=0;t{t.current=t.next}};return t}var Pf={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},Ff={...Pf,position:`fixed`,top:0,left:0},If={...Pf,position:`absolute`},Lf=K.forwardRef(function(e,t){let[n,r]=K.useState();X(()=>{sd&&r(`button`)},[]);let i={tabIndex:0,role:n};return(0,Z.jsx)(`span`,{...e,ref:t,style:Ff,"aria-hidden":n?void 0:!0,...i,"data-base-ui-focus-guard":``})});function Rf(e){return`data-base-ui-${e}`}var zf=0;function Bf(e,t={}){let{preventScroll:n=!1,cancelPrevious:r=!0,sync:i=!1}=t;r&&cancelAnimationFrame(zf);let a=()=>e?.focus({preventScroll:n});if(i)return a(),zl;let o=requestAnimationFrame(a);return zf=o,()=>{zf===o&&(cancelAnimationFrame(o),zf=0)}}var Vf={inert:new WeakMap,"aria-hidden":new WeakMap},Hf=`data-base-ui-inert`,Uf={inert:new WeakSet,"aria-hidden":new WeakSet},Wf=new WeakMap,Gf=0;function Kf(e){return Uf[e]}function qf(e){return e?te(e)?e.host:qf(e.parentNode):null}var Jf=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=qf(t);return e.contains(n)?n:null}).filter(e=>e!=null),Yf=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},Xf=(e,t,n)=>{let r=[],i=e=>{!e||n.has(e)||Array.from(e.children).forEach(e=>{b(e)!==`script`&&(t.has(e)?i(e):r.push(e))})};return i(e),r};function Zf(e,t,n,r,{mark:i=!0,markerIgnoreElements:a=[]}){let o=r?`inert`:n?`aria-hidden`:null,s=null,c=null,l=Jf(t,e),u=i?Jf(t,a):[],d=new Set(u),f=i?Xf(t,Yf(l),new Set(l)).filter(e=>!d.has(e)):[],p=[],m=[];if(o){let e=Vf[o],n=Kf(o);c=n,s=e;let r=Jf(t,Array.from(t.querySelectorAll(`[aria-live]`))),i=l.concat(r);Xf(t,Yf(i),new Set(i)).forEach(t=>{let r=t.getAttribute(o),i=r!==null&&r!==`false`,a=(e.get(t)||0)+1;e.set(t,a),p.push(t),a===1&&i&&n.add(t),i||t.setAttribute(o,o===`inert`?``:`true`)})}return i&&f.forEach(e=>{let t=(Wf.get(e)||0)+1;Wf.set(e,t),m.push(e),t===1&&e.setAttribute(Hf,``)}),Gf+=1,()=>{s&&p.forEach(e=>{let t=(s.get(e)||0)-1;s.set(e,t),t||(!c?.has(e)&&o&&e.removeAttribute(o),c?.delete(e))}),i&&m.forEach(e=>{let t=(Wf.get(e)||0)-1;Wf.set(e,t),t||e.removeAttribute(Hf)}),--Gf,Gf||(Vf.inert=new WeakMap,Vf[`aria-hidden`]=new WeakMap,Uf.inert=new WeakSet,Uf[`aria-hidden`]=new WeakSet,Wf=new WeakMap)}}function Qf(e,t={}){let{ariaHidden:n=!1,inert:r=!1,mark:i=!0,markerIgnoreElements:a=[]}=t,o=Kd(e[0]).body;return Zf(e,o,n,r,{mark:i,markerIgnoreElements:a})}var $f={style:{transition:`none`}},ep={fallbackAxisSide:`none`},tp={clipPath:`inset(50%)`,position:`fixed`,top:0,left:0},np=K.createContext(null),rp=()=>K.useContext(np),ip=Rf(`portal`);function ap(e={}){let{ref:t,container:n,componentProps:r=Vl,elementProps:i}=e,a=Au(),o=rp()?.portalNode,[s,c]=K.useState(null),[l,u]=K.useState(null),d=Y(e=>{e!==null&&u(e)}),f=K.useRef(null);X(()=>{if(n===null){f.current&&(f.current=null,u(null),c(null));return}if(a==null)return;let e=(n&&(g(n)?n:n.current))??o??document.body;if(e==null){f.current&&(f.current=null,u(null),c(null));return}f.current!==e&&(f.current=e,u(null),c(e))},[n,o,a]);let p=ou(`div`,r,{ref:[t,d],props:[{id:a,[ip]:``},i]});return{portalNode:l,portalSubtree:s&&p?Uu.createPortal(p,s):null}}var op=K.forwardRef(function(e,t){let{children:n,container:r,className:i,render:a,renderGuards:o,style:s,...c}=e,{portalNode:l,portalSubtree:u}=ap({container:r,ref:t,componentProps:e,elementProps:c}),d=K.useRef(null),f=K.useRef(null),p=K.useRef(null),m=K.useRef(null),[h,g]=K.useState(null),_=K.useRef(!1),v=h?.modal,y=h?.open,b=typeof o==`boolean`?o:!!h&&!h.modal&&h.open&&!!l;K.useEffect(()=>{if(!l||v)return;function e(e){l&&e.relatedTarget&&pf(e)&&(e.type===`focusin`?_.current&&=(hf(l),!1):(mf(l),_.current=!0))}return jf(gf(l,`focusin`,e,!0),gf(l,`focusout`,e,!0))},[l,v]),K.useEffect(()=>{!l||y!==!1||(hf(l),_.current=!1)},[y,l]);let x=K.useMemo(()=>({beforeOutsideRef:d,afterOutsideRef:f,beforeInsideRef:p,afterInsideRef:m,portalNode:l,setFocusManagerState:g}),[l]);return(0,Z.jsxs)(K.Fragment,{children:[u,(0,Z.jsxs)(np.Provider,{value:x,children:[b&&l&&(0,Z.jsx)(Lf,{"data-type":`outside`,ref:d,onFocus:e=>{pf(e,l)?p.current?.focus():ff(h?h.domReference:null)?.focus()}}),b&&l&&(0,Z.jsx)(`span`,{"aria-owns":l.id,style:tp}),l&&Uu.createPortal(n,l),b&&l&&(0,Z.jsx)(Lf,{"data-type":`outside`,ref:f,onFocus:e=>{pf(e,l)?m.current?.focus():(df(h?h.domReference:null)?.focus(),h?.closeOnFocusOut&&h?.onOpenChange(!1,wu(`focus-out`,e.nativeEvent)))}})]})]})});function sp(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}var cp=K.createContext(null),lp=K.createContext(null),up=()=>K.useContext(cp)?.id||null,dp=e=>{let t=K.useContext(lp);return e??t};function fp(e,t){let n=A(bd(e));return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||`keyboard`:`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var pp=20,mp=[];function hp(){mp=mp.filter(e=>e.deref()?.isConnected)}function gp(e){hp(),e&&b(e)!==`body`&&(mp.push(new WeakRef(e)),mp.length>pp&&(mp=mp.slice(-pp)))}function _p(){return hp(),mp[mp.length-1]?.deref()}function vp(e){return e?sf(e)?e:lf(e)[0]||e:null}function yp(e,t){if(e.hasAttribute(`tabindex`)&&!e.hasAttribute(`data-tabindex`)||!t.current.includes(`floating`)&&!e.getAttribute(`role`)?.includes(`dialog`))return;let n=cf(e).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return sf(e)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),r=e.getAttribute(`tabindex`);t.current.includes(`floating`)||n.length===0?r!==`0`&&e.setAttribute(`tabindex`,`0`):(r!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function bp(e){let{context:t,children:n,disabled:r=!1,initialFocus:i=!0,returnFocus:a=!0,restoreFocus:o=!1,modal:s=!0,closeOnFocusOut:c=!0,openInteractionType:l=``,nextFocusableElement:u,previousFocusableElement:d,beforeContentFocusGuardRef:f,externalTree:p,getInsideElements:m}=e,h=`rootStore`in t?t.rootStore:t,g=h.useState(`open`),_=h.useState(`domReferenceElement`),v=h.useState(`floatingElement`),{events:y,dataRef:b}=h.context,x=Y(()=>b.current.floatingContext?.nodeId),S=i===!1,w=wd(_)&&S,T=K.useRef([`content`]),E=Mf(i),D=Mf(a),O=Mf(l),k=dp(p),A=rp(),j=K.useRef(!1),M=K.useRef(!1),N=K.useRef(!1),P=K.useRef(null),ee=K.useRef(``),F=K.useRef(``),te=K.useRef(null),I=K.useRef(null),L=kl(te,f,A?.beforeInsideRef),R=kl(I,A?.afterInsideRef),z=xf(),ne=xf(),B=Lu(),V=A!=null,H=Td(v),re=Y((e=H)=>e?lf(e):[]),U=Y(()=>m?.().filter(e=>e!=null)??[]);K.useEffect(()=>{if(r||!s)return;function e(e){e.key===`Tab`&&yd(H,vd(Kd(H)))&&re().length===0&&!w&&Od(e)}return gf(Kd(H),`keydown`,e)},[r,_,H,s,T,w,re]),K.useEffect(()=>{if(r||!g)return;let e=Kd(H);function t(){N.current=!1}function n(e){let t=bd(e),n=U();N.current=!(yd(v,t)||yd(_,t)||yd(A?.portalNode,t)||n.some(e=>e===t||yd(e,t))),F.current=e.pointerType||`keyboard`,t?.closest(`[data-base-ui-click-trigger]`)&&(M.current=!0)}function i(){F.current=`keyboard`}return jf(gf(e,`pointerdown`,n,!0),gf(e,`pointerup`,t,!0),gf(e,`pointercancel`,t,!0),gf(e,`keydown`,i,!0))},[r,v,_,H,g,A,U]),K.useEffect(()=>{if(r||!c)return;let e=Kd(H);function t(){M.current=!0,ne.start(0,()=>{M.current=!1})}function n(e){let t=bd(e);sf(t)&&(P.current=t)}function i(t){let n=t.relatedTarget,r=t.currentTarget,i=bd(t);queueMicrotask(()=>{let a=x(),c=h.context.triggerElements,l=U(),f=n?.hasAttribute(Rf(`focus-guard`))&&[te.current,I.current,A?.beforeInsideRef.current,A?.afterInsideRef.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,Ru(d),Ru(u)].includes(n),p=!(yd(_,n)||yd(v,n)||yd(n,v)||yd(A?.portalNode,n)||l.some(e=>e===n||yd(e,n))||n!=null&&c.hasElement(n)||c.hasMatchingElement(e=>yd(e,n))||f||k&&(Ed(k.nodesRef.current,a).find(e=>yd(e.context?.elements.floating,n)||yd(e.context?.elements.domReference,n))||Dd(k.nodesRef.current,a).find(e=>[e.context?.elements.floating,Td(e.context?.elements.floating)].includes(n)||e.context?.elements.domReference===n)));if(r===_&&H&&yp(H,T),o&&r!==_&&!Gd(i)&&vd(e)===e.body){if(C(H)&&(H.focus(),o===`popup`)){B.request(()=>{H.focus()});return}let e=re(),t=P.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||H;C(n)&&n.focus()}if(b.current.insideReactTree){b.current.insideReactTree=!1;return}(w||!s)&&n&&p&&!M.current&&(w||n!==_p())&&(j.current=!0,h.setOpen(!1,wu(xu,t)))})}function a(){N.current||(b.current.insideReactTree=!0,z.start(0,()=>{b.current.insideReactTree=!1}))}let l=C(_)?_:null;if(!(!v&&!l))return jf(l&&gf(l,`focusout`,i),l&&gf(l,`pointerdown`,t),v&&gf(v,`focusin`,n),v&&gf(v,`focusout`,i),v&&A&&gf(v,`focusout`,a,!0))},[r,_,v,H,s,k,A,h,c,o,re,w,x,T,b,z,ne,B,u,d,U]),K.useEffect(()=>{if(r||!v||!g)return;let e=Array.from(A?.portalNode?.querySelectorAll(`[${Rf(`portal`)}]`)||[]),t=(k?Dd(k.nodesRef.current,x()):[]).find(e=>wd(e.context?.elements.domReference||null))?.context?.elements.domReference,n=Qf([v,...e,te.current,I.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,...U(),t,Ru(d),Ru(u),w?_:null].filter(e=>e!=null),{ariaHidden:s||w,mark:!1}),i=Qf([v,...e].filter(e=>e!=null));return()=>{i(),n()}},[g,r,_,v,s,T,A,w,k,x,u,d,U]),X(()=>{if(!g||r||!C(H))return;let e=vd(Kd(H));queueMicrotask(()=>{let t=E.current,n=typeof t==`function`?t(O.current||``):t;if(n===void 0||n===!1||yd(H,e))return;let r=null,i=()=>(r??=re(H),r[0]||H),a;a=n===!0||n===null?i():Ru(n),a||=i(),Bf(a,{preventScroll:a===H})})},[r,g,H,S,re,E,O]),X(()=>{if(r||!H)return;let e=Kd(H);gp(vd(e));function t(e){if(e.open||(ee.current=fp(e.nativeEvent,F.current)),e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`&&(j.current=!0),e.reason===`outside-press`)if(e.nested)j.current=!1;else if(Ad(e.nativeEvent)||jd(e.nativeEvent))j.current=!1;else{let e=!1;Kd(H).createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?j.current=!1:j.current=!0}}y.on(`openchange`,t);function n(){let e=D.current,t=typeof e==`function`?e(ee.current):e;if(t===void 0||t===!1)return null;if(t===null&&(t=!0),typeof t==`boolean`){let e=_||_p();return e&&e.isConnected?e:null}let n=_||_p();return Ru(t)||n||null}return()=>{y.off(`openchange`,t);let r=vd(e),i=U(),a=yd(v,r)||i.some(e=>e===r||yd(e,r))||k&&Ed(k.nodesRef.current,x(),!1).some(e=>yd(e.context?.elements.floating,r)),o=D.current,s=n();queueMicrotask(()=>{let t=vp(s),n=typeof o!=`boolean`;o&&!j.current&&C(t)&&(!(!n&&t!==r&&r!==e.body)||a)&&t.focus({preventScroll:!0}),j.current=!1})}},[r,v,H,D,b,y,k,_,x,U]),X(()=>{if(!id||g||!v)return;let e=vd(Kd(v));!C(e)||!Cd(e)||yd(v,e)&&e.blur()},[g,v]),X(()=>{if(!(r||!A))return A.setFocusManagerState({modal:s,closeOnFocusOut:c,open:g,onOpenChange:h.setOpen,domReference:_}),()=>{A.setFocusManagerState(null)}},[r,A,s,g,h,c,_]),X(()=>{if(!(r||!H))return yp(H,T),()=>{queueMicrotask(hp)}},[r,H,T]);let ie=!r&&(s?!w:!0)&&(V||s);return(0,Z.jsxs)(K.Fragment,{children:[ie&&(0,Z.jsx)(Lf,{"data-type":`inside`,ref:L,onFocus:e=>{if(s){let e=re();Bf(e[e.length-1])}else A?.portalNode&&(j.current=!1,pf(e,A.portalNode)?df(_)?.focus():Ru(d??A.beforeOutsideRef)?.focus())}}),n,ie&&(0,Z.jsx)(Lf,{"data-type":`inside`,ref:R,onFocus:e=>{s?Bf(re()[0]):A?.portalNode&&(c&&(j.current=!0),pf(e,A.portalNode)?ff(_)?.focus():Ru(u??A.afterOutsideRef)?.focus())}})]})}function xp(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.context.dataRef,{enabled:i=!0,event:a=`click`,toggle:o=!0,ignoreMouse:s=!1,stickIfOpen:c=!0,touchOpenDelay:l=0,reason:u=pu}=t,d=K.useRef(void 0),f=Lu(),p=xf(),m=K.useMemo(()=>({onPointerDown(e){d.current=e.pointerType},onMouseDown(e){let t=d.current,i=e.nativeEvent,m=n.select(`open`);if(e.button!==0||a===`click`||Md(t,!0)&&s)return;let h=r.current.openEvent,g=h?.type,_=n.select(`domReferenceElement`)!==e.currentTarget,v=m&&_||!(m&&o&&(!(h&&c)||g===`click`||g===`mousedown`)),y=bd(i);if(Cd(y)){let e=wu(u,i,y);v&&t===`touch`&&l>0?p.start(l,()=>{n.setOpen(!0,e)}):n.setOpen(v,e);return}let b=e.currentTarget;f.request(()=>{let e=wu(u,i,b);v&&t===`touch`&&l>0?p.start(l,()=>{n.setOpen(!0,e)}):n.setOpen(v,e)})},onClick(e){if(a===`mousedown-only`)return;let t=d.current;if(a===`mousedown`&&t){d.current=void 0;return}if(Md(t,!0)&&s)return;let i=n.select(`open`),f=r.current.openEvent,m=n.select(`domReferenceElement`)!==e.currentTarget,h=i&&m||!(i&&o&&(!(f&&c)||Nd(f))),g=wu(u,e.nativeEvent,e.currentTarget);h&&t===`touch`&&l>0?p.start(l,()=>{n.setOpen(!0,g)}):n.setOpen(h,g)},onKeyDown(){d.current=void 0}}),[r,a,s,n,c,o,f,p,l,u]);return K.useMemo(()=>i?{reference:m}:Vl,[i,m])}var Sp={intentional:`onClick`,sloppy:`onPointerDown`};function Cp(){return!1}function wp(e){return{escapeKey:typeof e==`boolean`?e:e?.escapeKey??!1,outsidePress:typeof e==`boolean`?e:e?.outsidePress??!0}}function Tp(e,t={}){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),{dataRef:a}=n.context,{enabled:o=!0,escapeKey:s=!0,outsidePress:c=!0,outsidePressEvent:l=`sloppy`,referencePress:u=Cp,referencePressEvent:d=`sloppy`,bubbles:f,externalTree:p}=t,m=dp(p),h=Y(typeof c==`function`?c:()=>!1),g=typeof c==`function`?h:c,_=g!==!1,y=Y(()=>l),b=K.useRef(!1),w=K.useRef(!1),T=K.useRef(!1),{escapeKey:E,outsidePress:O}=wp(f),k=K.useRef(null),A=xf(),j=xf(),M=Y(()=>{j.clear(),a.current.insideReactTree=!1}),P=K.useRef(!1),ee=K.useRef(``),F=Y(u),I=Y(e=>{if(!r||!o||!s||e.key!==`Escape`||P.current)return;let t=a.current.floatingContext?.nodeId,i=m?Ed(m.nodesRef.current,t):[];if(!E&&i.length>0){let e=!0;if(i.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__escapeKeyBubbles&&(e=!1)}),!e)return}let c=wu(Su,kd(e)?e.nativeEvent:e);n.setOpen(!1,c),!E&&!c.isPropagationAllowed&&e.stopPropagation()}),L=Y(()=>{a.current.insideReactTree=!0,j.start(0,M)});K.useEffect(()=>{if(!r||!o)return;a.current.__escapeKeyBubbles=E,a.current.__outsidePressBubbles=O;let e=new bf,t=new bf;function c(){e.clear(),P.current=!0}function l(){e.start(v()?5:0,()=>{P.current=!1})}function u(){T.current=!0,t.start(0,()=>{T.current=!1})}function d(){b.current=!1,w.current=!1}function f(){let e=ee.current,t=e===`pen`||!e?`mouse`:e,n=y(),r=typeof n==`function`?n():n;return typeof r==`string`?r:r[t]}function p(e){let t=f();return t===`intentional`&&e.type!==`click`||t===`sloppy`&&e.type===`click`}function h(e){let t=a.current.floatingContext?.nodeId,r=m&&Ed(m.nodesRef.current,t).some(t=>xd(e,t.context?.elements.floating));return xd(e,n.select(`floatingElement`))||xd(e,n.select(`domReferenceElement`))||r}function j(e){if(p(e)){M();return}if(a.current.insideReactTree){M();return}let r=bd(e),i=`[${Rf(`inert`)}]`,o=D(r)?r.getRootNode():null,s=Array.from((te(o)?o:Kd(n.select(`floatingElement`))).querySelectorAll(i)),c=n.context.triggerElements;if(r&&(c.hasElement(r)||c.hasMatchingElement(e=>yd(e,r))))return;let l=D(r)?r:null;for(;l&&!S(l);){let e=x(l);if(S(e)||!D(e))break;l=e}if(s.length&&D(r)&&!Sd(r)&&!yd(r,n.select(`floatingElement`))&&s.every(e=>!yd(l,e)))return;if(C(r)&&!(`touches`in e)){let t=S(r),n=N(r),i=/auto|scroll/,a=t||i.test(n.overflowX),o=t||i.test(n.overflowY),s=a&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,c=o&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,l=n.direction===`rtl`,u=c&&(l?e.offsetX<=r.offsetWidth-r.clientWidth:e.offsetX>r.clientWidth),d=s&&e.offsetY>r.clientHeight;if(u||d)return}if(h(e))return;if(f()===`intentional`&&T.current){t.clear(),T.current=!1;return}if(typeof g==`function`&&!g(e))return;let u=a.current.floatingContext?.nodeId,d=m?Ed(m.nodesRef.current,u):[];if(d.length>0){let e=!0;if(d.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__outsidePressBubbles&&(e=!1)}),!e)return}n.setOpen(!1,wu(mu,e)),M()}function F(e){f()!==`sloppy`||e.pointerType===`touch`||!n.select(`open`)||!o||xd(e,n.select(`floatingElement`))||xd(e,n.select(`domReferenceElement`))||j(e)}function L(e){if(f()!==`sloppy`||!n.select(`open`)||!o||xd(e,n.select(`floatingElement`))||xd(e,n.select(`domReferenceElement`)))return;let t=e.touches[0];t&&(k.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},A.start(1e3,()=>{k.current&&(k.current.dismissOnTouchEnd=!1,k.current.dismissOnMouseDown=!1)}))}function R(e,t){let n=bd(e);if(!n)return;let r=gf(n,e.type,()=>{t(e),r()})}function z(e){ee.current=`touch`,R(e,L)}function ne(e){A.clear(),e.type===`pointerdown`&&(ee.current=e.pointerType),!(e.type===`mousedown`&&k.current&&!k.current.dismissOnMouseDown)&&R(e,e=>{e.type===`pointerdown`?F(e):j(e)})}function B(e){if(!b.current)return;let n=w.current;if(d(),f()===`intentional`){if(e.type===`pointercancel`){n&&u();return}if(!h(e)){if(n){u();return}typeof g==`function`&&!g(e)||(t.clear(),T.current=!0,M())}}}function V(e){if(f()!==`sloppy`||!k.current||xd(e,n.select(`floatingElement`))||xd(e,n.select(`domReferenceElement`)))return;let t=e.touches[0];if(!t)return;let r=Math.abs(t.clientX-k.current.startX),i=Math.abs(t.clientY-k.current.startY),a=Math.sqrt(r*r+i*i);a>5&&(k.current.dismissOnTouchEnd=!0),a>10&&(j(e),A.clear(),k.current=null)}function H(e){R(e,V)}function re(e){f()!==`sloppy`||!k.current||xd(e,n.select(`floatingElement`))||xd(e,n.select(`domReferenceElement`))||(k.current.dismissOnTouchEnd&&j(e),A.clear(),k.current=null)}function U(e){R(e,re)}let ie=Kd(i),ae=jf(s&&jf(gf(ie,`keydown`,I),gf(ie,`compositionstart`,c),gf(ie,`compositionend`,l)),_&&jf(gf(ie,`click`,ne,!0),gf(ie,`pointerdown`,ne,!0),gf(ie,`pointerup`,B,!0),gf(ie,`pointercancel`,B,!0),gf(ie,`mousedown`,ne,!0),gf(ie,`mouseup`,B,!0),gf(ie,`touchstart`,z,!0),gf(ie,`touchmove`,H,!0),gf(ie,`touchend`,U,!0)));return()=>{ae(),e.clear(),t.clear(),d(),T.current=!1}},[a,i,s,_,g,r,o,E,O,I,M,y,m,n,A]),K.useEffect(M,[g,M]);let R=K.useMemo(()=>({onKeyDown:I,[Sp[d]]:e=>{F()&&n.setOpen(!1,wu(pu,e.nativeEvent))},...d!==`intentional`&&{onClick(e){F()&&n.setOpen(!1,wu(`trigger-press`,e.nativeEvent))}}}),[I,n,d,F]),z=Y(e=>{if(!r||!o||e.button!==0)return;let t=bd(e.nativeEvent);yd(n.select(`floatingElement`),t)&&(b.current||(b.current=!0,w.current=!1))}),ne=Y(e=>{!r||!o||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&b.current&&(w.current=!0)}),B=K.useMemo(()=>({onKeyDown:I,onPointerDown:ne,onMouseDown:ne,onClickCapture:L,onMouseDownCapture(e){L(),z(e)},onPointerDownCapture(e){L(),z(e)},onMouseUpCapture:L,onTouchEndCapture:L,onTouchMoveCapture:L}),[I,L,z,ne]);return K.useMemo(()=>o?{reference:R,floating:B,trigger:R}:{},[o,R,B])}var Ep=(e,t,n,r,i,a,...o)=>{if(o.length>0)throw Error(Ol(1));let s;if(e&&t&&n&&r&&i&&a)s=(o,s,c,l)=>a(e(o,s,c,l),t(o,s,c,l),n(o,s,c,l),r(o,s,c,l),i(o,s,c,l),s,c,l);else if(e&&t&&n&&r&&i)s=(a,o,s,c)=>i(e(a,o,s,c),t(a,o,s,c),n(a,o,s,c),r(a,o,s,c),o,s,c);else if(e&&t&&n&&r)s=(i,a,o,s)=>r(e(i,a,o,s),t(i,a,o,s),n(i,a,o,s),a,o,s);else if(e&&t&&n)s=(r,i,a,o)=>n(e(r,i,a,o),t(r,i,a,o),i,a,o);else if(e&&t)s=(n,r,i,a)=>t(e(n,r,i,a),r,i,a);else if(e)s=e;else throw Error(`Missing arguments`);return s},Dp=e((e=>{var t=r(),n=se();function i(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var a=typeof Object.is==`function`?Object.is:i,o=n.useSyncExternalStore,s=t.useRef,c=t.useEffect,l=t.useMemo,u=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l(function(){function e(e){if(!o){if(o=!0,s=e,e=r(e),i!==void 0&&f.hasValue){var t=f.value;if(i(t,e))return c=t}return c=e}if(t=c,a(s,e))return t;var n=r(e);return i!==void 0&&i(t,n)?(s=e,t):(s=e,c=n)}var o=!1,s,c,l=n===void 0?null:n;return[function(){return e(t())},l===null?void 0:function(){return e(l())}]},[t,n,r,i]);var p=o(e,d[0],d[1]);return c(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}})),Op=e(((e,t)=>{t.exports=Dp()})),kp=[],Ap=void 0;function jp(){return Ap}function Mp(e){kp.push(e)}var Np=se(),Pp=Op(),Fp=Il(19)?Lp:Rp;function Q(e,t,n,r,i){return Fp(e,t,n,r,i)}function Ip(e,t,n,r,i){let a=K.useCallback(()=>t(e.getSnapshot(),n,r,i),[e,t,n,r,i]);return(0,Np.useSyncExternalStore)(e.subscribe,a,a)}Mp({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,Np.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function Lp(e,t,n,r,i){let a=jp();if(!a)return Ip(e,t,n,r,i);let o=a.syncIndex;a.syncIndex+=1;let s;return a.didInitialize?(s=a.syncHooks[o],(s.store!==e||s.selector!==t||!Object.is(s.a1,n)||!Object.is(s.a2,r)||!Object.is(s.a3,i))&&(s.store!==e&&(a.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=i,s.didChange=!0)):(s={store:e,selector:t,a1:n,a2:r,a3:i,value:t(e.getSnapshot(),n,r,i),didChange:!1},a.syncHooks.push(s)),s.value}function Rp(e,t,n,r,i){return(0,Pp.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))}var zp=class{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t])){this.setState({...this.state,...e});return}}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return Q(this,e,t,n,r)}},Bp=class extends zp{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){K.useDebugValue(e),X(()=>{this.state[e]!==t&&this.set(e,t)},[e,t])}useSyncedValueWithCleanup(e,t){let n=this;X(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this;X(()=>{t.update(e)},[t,...Object.values(e)])}useControlledProp(e,t){K.useDebugValue(e);let n=t!==void 0;X(()=>{n&&!Object.is(this.state[e],t)&&super.setState({...this.state,[e]:t})},[e,t,n])}select(e,t,n,r){let i=this.selectors[e];return i(this.state,t,n,r)}useState(e,t,n,r){return K.useDebugValue(e),Q(this,this.selectors[e],t,n,r)}useContextCallback(e,t){K.useDebugValue(e);let n=Y(t??zl);this.context[e]=n}useStateSetter(e){let t=K.useRef(void 0);return t.current===void 0&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n=typeof e==`function`?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}},Vp={open:Ep(e=>e.open),transitionStatus:Ep(e=>e.transitionStatus),domReferenceElement:Ep(e=>e.domReferenceElement),referenceElement:Ep(e=>e.positionReference??e.referenceElement),floatingElement:Ep(e=>e.floatingElement),floatingId:Ep(e=>e.floatingId)},Hp=class extends Bp{constructor(e){let{syncOnly:t,nested:n,onOpenChange:r,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:sp(),nested:n,triggerElements:i},Vp),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||t!=null&&Nd(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit(`openchange`,n)};setOpen=(e,t)=>{if(this.syncOnly){this.context.onOpenChange?.(e,t);return}this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}},Up=class{constructor(){this.elementsSet=new Set,this.idMap=new Map}add(e,t){let n=this.idMap.get(e);n!==t&&(n!==void 0&&this.elementsSet.delete(n),this.elementsSet.add(t),this.idMap.set(e,t))}delete(e){let t=this.idMap.get(e);t&&(this.elementsSet.delete(t),this.idMap.delete(e))}hasElement(e){return this.elementsSet.has(e)}hasMatchingElement(e){for(let t of this.elementsSet)if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.elementsSet.values()}get size(){return this.idMap.size}};function Wp(e){let{open:t=!1,onOpenChange:n,elements:r={}}=e,i=Au(),a=up()!=null,o=ml(()=>new Hp({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new Up,floatingId:i,syncOnly:!1,nested:a})).current;return X(()=>{let e={open:t,floatingId:i};r.reference!==void 0&&(e.referenceElement=r.reference,e.domReferenceElement=D(r.reference)?r.reference:null),r.floating!==void 0&&(e.floatingElement=r.floating),o.update(e)},[t,i,r.reference,r.floating,o]),o.context.onOpenChange=n,o.context.nested=a,o}function Gp(e={}){let{nodeId:t,externalTree:n}=e,r=Wp(e),i=e.rootContext||r,a={reference:i.useState(`referenceElement`),floating:i.useState(`floatingElement`),domReference:i.useState(`domReferenceElement`)},[o,s]=K.useState(null),c=K.useRef(null),l=dp(n);X(()=>{a.domReference&&(c.current=a.domReference)},[a.domReference]);let u=y({...e,elements:{...a,...o&&{reference:o}}}),d=K.useCallback(e=>{let t=D(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;s(t),u.refs.setReference(t)},[u.refs]),[f,p]=K.useState(void 0),[m,h]=K.useState(null);i.useSyncedValue(`referenceElement`,f??null);let g=D(f)?f:null;i.useSyncedValue(`domReferenceElement`,f===void 0?a.domReference:g),i.useSyncedValue(`floatingElement`,m);let _=K.useCallback(e=>{(D(e)||e===null)&&(c.current=e,p(e)),(D(u.refs.reference.current)||u.refs.reference.current===null||e!==null&&!D(e))&&u.refs.setReference(e)},[u.refs,p]),v=K.useCallback(e=>{h(e),u.refs.setFloating(e)},[u.refs]),b=K.useMemo(()=>({...u.refs,setReference:_,setFloating:v,setPositionReference:d,domReference:c}),[u.refs,_,v,d]),x=K.useMemo(()=>({...u.elements,domReference:a.domReference}),[u.elements,a.domReference]),S=i.useState(`open`),C=i.useState(`floatingId`),w=K.useMemo(()=>({...u,dataRef:i.context.dataRef,open:S,onOpenChange:i.setOpen,events:i.context.events,floatingId:C,refs:b,elements:x,nodeId:t,rootStore:i}),[u,b,x,t,i,S,C]);return X(()=>{i.context.dataRef.current.floatingContext=w;let e=l?.nodesRef.current.find(e=>e.id===t);e&&(e.context=w)}),K.useMemo(()=>({...u,context:w,refs:b,elements:x,rootStore:i}),[u,b,x,w,i])}function Kp(e=[]){let t=e.map(e=>e?.reference),n=e.map(e=>e?.floating),r=e.map(e=>e?.item),i=e.map(e=>e?.trigger),a=K.useCallback(t=>qp(t,e,`reference`),t),o=K.useCallback(t=>qp(t,e,`floating`),n),s=K.useCallback(t=>qp(t,e,`item`),r),c=K.useCallback(t=>qp(t,e,`trigger`),i);return K.useMemo(()=>({getReferenceProps:a,getFloatingProps:o,getItemProps:s,getTriggerProps:c}),[a,o,s,c])}function qp(e,t,n){let r=new Map,i=n===`item`,a={};n===`floating`&&(a.tabIndex=-1,a[pd]=``);for(let t in e)i&&e&&(t===`active`||t===`selected`)||(a[t]=e[t]);for(let o=0;or.get(i)?.map(t=>t(...e)).find(e=>e!==void 0))):e[i]=a)}}var Yp=`Escape`;function Xp(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function Zp(e,t){return Xp(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function Qp(e,t,n){return Xp(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function $p(e,t,n){return Xp(t,n?e===md:e===hd,e===_d)}function em(e,t,n,r){return t===`both`||t===`horizontal`&&r&&r>1?e===Yp:Xp(t,n?e===hd:e===md,e===gd)}function tm(e,t){let n=`rootStore`in e?e.rootStore:e,r=n.useState(`open`),i=n.useState(`floatingElement`),a=n.useState(`domReferenceElement`),o=n.context.dataRef,{listRef:s,activeIndex:c,onNavigate:l=()=>{},enabled:u=!0,selectedIndex:d=null,allowEscape:f=!1,loopFocus:p=!1,nested:m=!1,rtl:h=!1,virtual:g=!1,focusItemOnOpen:_=`auto`,focusItemOnHover:v=!0,openOnArrowKeyDown:y=!0,disabledIndices:b=void 0,orientation:x=`vertical`,parentOrientation:S,cols:w=1,id:T,resetOnPointerLeave:E=!0,externalTree:D}=t,O=Mf(Td(i)),k=up(),A=dp(D);X(()=>{o.current.orientation=x},[o,x]);let j=wd(a),M=K.useRef(_),N=K.useRef(d??-1),P=K.useRef(null),ee=K.useRef(!0),F=Y(e=>{l(N.current===-1?null:N.current,e)}),te=K.useRef(F),I=K.useRef(!!i),L=K.useRef(r),R=K.useRef(!1),z=K.useRef(!1),ne=K.useRef(null),B=Mf(b),V=Mf(r),H=Mf(d),re=Mf(E),U=Y(()=>{function e(e){g?A?.events.emit(`virtualfocus`,e):ne.current=Bf(e,{sync:R.current,preventScroll:!0})}let t=s.current[N.current],n=z.current;t&&e(t),(R.current?e=>e():requestAnimationFrame)(()=>{let r=s.current[N.current]||t;r&&(t||e(r),W&&(n||!ee.current)&&r.scrollIntoView?.({block:`nearest`,inline:`nearest`}))})});X(()=>{u&&(r&&i?(N.current=d??-1,M.current&&d!=null&&(z.current=!0,F())):I.current&&(N.current=-1,te.current()))},[u,r,i,d,F]),X(()=>{if(u){if(!r){R.current=!1;return}if(i)if(c==null){if(R.current=!1,H.current!=null)return;if(I.current&&(N.current=-1,U()),(!L.current||!I.current)&&M.current&&(P.current!=null||M.current===!0&&P.current==null)){let e=0,t=()=>{s.current[0]==null?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(N.current=P.current==null||Qp(P.current,x,h)||m?Id(s):Ld(s),P.current=null,F())};t()}}else Fd(s.current,c)||(N.current=c,U(),z.current=!1)}},[u,r,i,c,H,m,s,x,h,F,U,B]),X(()=>{if(!u||i||!A||g||!I.current)return;let e=A.nodesRef.current,t=e.find(e=>e.id===k)?.context?.elements.floating,n=vd(Kd(i)),r=e.some(e=>e.context&&yd(e.context.elements.floating,n));t&&!r&&ee.current&&t.focus({preventScroll:!0})},[u,i,A,k,g]),X(()=>{te.current=F,L.current=r,I.current=!!i}),X(()=>{r||(P.current=null,M.current=_)},[r,_]);let ie=c!=null,ae=Y(e=>{if(!V.current)return;let t=s.current.indexOf(e.currentTarget);t!==-1&&(N.current!==t||c!==t)&&(N.current=t,F(e))}),W=K.useMemo(()=>({onFocus(e){R.current=!0,ae(e)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(e){R.current=!0,z.current=!1,v&&ae(e)},onPointerLeave(e){if(!V.current||!ee.current||e.pointerType===`touch`)return;R.current=!0;let t=e.relatedTarget;if(!(!v||s.current.includes(t))&&re.current&&(ne.current?.(),ne.current=null,N.current=-1,F(e),!g)){let e=O.current,t=vd(Kd(e));e&&yd(e,t)&&e.focus({preventScroll:!0})}}}),[ae,V,O,v,s,F,re,g]),oe=K.useCallback(()=>S??A?.nodesRef.current.find(e=>e.id===k)?.context?.dataRef?.current.orientation,[k,A,S]),se=Y(e=>{if(ee.current=!1,R.current=!0,e.which===229||!V.current&&e.currentTarget===O.current)return;if(m&&em(e.key,x,h,w)){Zp(e.key,oe())||Od(e),n.setOpen(!1,wu(Cu,e.nativeEvent)),C(a)&&(g?A?.events.emit(`virtualfocus`,a):a.focus());return}let t=N.current,i=Id(s,b),o=Ld(s,b);if(j||(e.key===`Home`&&(Od(e),N.current=i,F(e)),e.key===`End`&&(Od(e),N.current=o,F(e))),w>1){let t=Array.from({length:s.current.length},()=>({width:1,height:1})),n=Bd(t,w,!1),r=n.findIndex(e=>e!=null&&!Ud(s.current,e,b)),a=n.reduce((e,t,n)=>t!=null&&!Ud(s.current,t,b)?n:e,-1),c=n[zd(n.map(e=>e==null?null:s.current[e]),{event:e,orientation:x,loopFocus:p,rtl:h,cols:w,disabledIndices:Hd([...(typeof b==`function`?null:b)||s.current.map((e,t)=>Ud(s.current,t,b)?t:void 0),void 0],n),minIndex:r,maxIndex:a,prevIndex:Vd(N.current>o?i:N.current,t,n,w,e.key===`ArrowDown`?`bl`:e.key===(h?`ArrowLeft`:`ArrowRight`)?`tr`:`tl`),stopEvent:!0})];if(c!=null&&(N.current=c,F(e)),x===`both`)return}if(Zp(e.key,x)){if(Od(e),r&&!g&&vd(e.currentTarget.ownerDocument)===e.currentTarget){N.current=Qp(e.key,x,h)?i:o,F(e);return}Qp(e.key,x,h)?p?t>=o?f&&t!==s.current.length?N.current=-1:(R.current=!1,N.current=i):N.current=Rd(s.current,{startingIndex:t,disabledIndices:b}):N.current=Math.min(o,Rd(s.current,{startingIndex:t,disabledIndices:b})):p?t<=i?f&&t!==-1?N.current=s.current.length:(R.current=!1,N.current=o):N.current=Rd(s.current,{startingIndex:t,decrement:!0,disabledIndices:b}):N.current=Math.max(i,Rd(s.current,{startingIndex:t,decrement:!0,disabledIndices:b})),Fd(s.current,N.current)&&(N.current=-1),F(e)}}),ce=K.useMemo(()=>g&&r&&ie&&{"aria-activedescendant":`${T}-${c}`},[g,r,ie,T,c]),le=K.useMemo(()=>({"aria-orientation":x===`both`?void 0:x,...j?{}:ce,onKeyDown(e){if(e.key===`Tab`&&e.shiftKey&&r&&!g){let t=bd(e.nativeEvent);if(t&&!yd(O.current,t))return;Od(e),n.setOpen(!1,wu(xu,e.nativeEvent)),C(a)&&a.focus();return}se(e)},onPointerMove(){ee.current=!0}}),[ce,se,O,x,j,n,r,g,a]),ue=K.useMemo(()=>{function e(e){_===`auto`&&Ad(e.nativeEvent)&&(M.current=!g)}function t(e){M.current=_,_===`auto`&&jd(e.nativeEvent)&&(M.current=!0)}return{onKeyDown(e){let t=n.select(`open`);ee.current=!1;let r=e.key.startsWith(`Arrow`),i=$p(e.key,oe(),h),a=Zp(e.key,x),o=(m?i:a)||e.key===`Enter`||e.key.trim()===``;if(g&&t)return se(e);if(!(!t&&!y&&r)){if(o){let t=Zp(e.key,oe());P.current=m&&t?null:e.key}if(m){i&&(Od(e),t?(N.current=Id(s,B.current),F(e)):n.setOpen(!0,wu(Cu,e.nativeEvent,e.currentTarget)));return}a&&(H.current!=null&&(N.current=H.current),Od(e),!t&&y?n.setOpen(!0,wu(Cu,e.nativeEvent,e.currentTarget)):se(e),t&&F(e))}},onFocus(e){n.select(`open`)&&!g&&(N.current=-1,F(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[se,B,_,s,m,F,n,y,x,oe,h,H,g]),de=K.useMemo(()=>({...ce,...ue}),[ce,ue]);return K.useMemo(()=>u?{reference:de,floating:le,item:W,trigger:ue}:{},[u,de,le,ue,W])}function nm(e,t){let n=`rootStore`in e?e.rootStore:e,r=n.context.dataRef,i=n.useState(`open`),{listRef:a,elementsRef:o,activeIndex:s,onMatch:c,onTypingChange:l,enabled:u=!0,resetMs:d=750,selectedIndex:f=null}=t,p=xf(),m=K.useRef(``),h=K.useRef(f??s??-1),g=K.useRef(null);X(()=>{!i&&f!==null||(p.clear(),g.current=null,m.current!==``&&(m.current=``))},[i,f,p]),X(()=>{i&&m.current===``&&(h.current=f??s??-1)},[i,f,s]);let _=Y(e=>{e?r.current.typing||(r.current.typing=e,l?.(e)):r.current.typing&&(r.current.typing=e,l?.(e))}),v=Y(e=>{function t(e){let t=o?.current[e];return!t||Gd(t)}function n(e,n,r=0){if(e.length===0)return-1;let i=(r%e.length+e.length)%e.length,a=n.toLocaleLowerCase();for(let n=0;n0&&e.key===` `&&(Od(e),_(!0)),m.current.length>0&&m.current[0]!==` `&&n(r,m.current)===-1&&e.key!==` `&&_(!1),r==null||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;i&&e.key!==` `&&(Od(e),_(!0));let l=m.current===``;l&&(h.current=f??s??-1),r.every(e=>e?e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase():!0)&&m.current===e.key&&(m.current=``,h.current=g.current),m.current+=e.key,p.start(d,()=>{m.current=``,h.current=g.current,_(!1)});let u=((l?f??s??-1:h.current)??0)+1,v=n(r,m.current,u);v===-1?e.key!==` `&&(m.current=``,_(!1)):(c?.(v),g.current=v)}),y=Y(e=>{let t=e.relatedTarget,r=n.select(`domReferenceElement`),i=n.select(`floatingElement`),a=yd(r,t),o=yd(i,t);a||o||(p.clear(),m.current=``,h.current=g.current,_(!1))}),b=K.useMemo(()=>({onKeyDown:v,onBlur:y}),[v,y]),x=K.useMemo(()=>({onKeyDown:v,onBlur:y}),[v,y]);return K.useMemo(()=>u?{reference:b,floating:x}:{},[u,b,x])}function rm(e){let t=K.useRef(``),n=K.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:K.useCallback(n=>{if(n.detail===0){e(n,`keyboard`);return}`pointerType`in n?e(n,n.pointerType):e(n,t.current),t.current=``},[e]),onPointerDown:n}}function im(e,t){let n=K.useRef(e),r=Y(t);X(()=>{n.current!==e&&r(n.current)},[e,r]),X(()=>{n.current=e},[e])}function am(e){let[t,n]=K.useState(null),r=Y((t,r)=>{e||n(r||(ad?`touch`:``))});im(e,t=>{t&&!e&&n(null)});let{onClick:i,onPointerDown:a}=rm(r);return K.useMemo(()=>({openMethod:t,triggerProps:{onClick:i,onPointerDown:a}}),[t,i,a])}var om=function(e){return e.open=`data-open`,e.closed=`data-closed`,e[e.startingStyle=zu.startingStyle]=`startingStyle`,e[e.endingStyle=zu.endingStyle]=`endingStyle`,e.anchorHidden=`data-anchor-hidden`,e.side=`data-side`,e.align=`data-align`,e}({}),sm=function(e){return e.popupOpen=`data-popup-open`,e.pressed=`data-pressed`,e}({}),cm={[sm.popupOpen]:``},lm={[sm.popupOpen]:``,[sm.pressed]:``},um={[om.open]:``},dm={[om.closed]:``},fm={[om.anchorHidden]:``},pm={open(e){return e?cm:null}},mm={open(e){return e?lm:null}},hm={open(e){return e?um:dm},anchorHidden(e){return e?fm:null}};function gm(e){return Il(19)?e:e?`true`:void 0}var _m=K.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n.getBoundingClientRect();i=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,Z.jsx)(`div`,{ref:t,role:`presentation`,"data-base-ui-inert":``,...r,style:{position:`fixed`,inset:0,userSelect:`none`,WebkitUserSelect:`none`,clipPath:i}})}),vm=K.createContext(void 0),ym=K.createContext(void 0),bm=K.createContext(void 0),xm=K.createContext(``);function Sm(){let e=K.useContext(vm);if(!e)throw Error(Ol(22));return e}function Cm(){let e=K.useContext(ym);if(!e)throw Error(Ol(23));return e}function wm(){let e=K.useContext(bm);if(!e)throw Error(Ol(24));return e}function Tm(){return K.useContext(xm)}var Em=(e,t)=>Object.is(e,t);function Dm(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function Om(e,t,n){return!e||e.length===0?!1:e.some(e=>e===void 0?!1:Dm(t,e,n))}function km(e,t,n){return!e||e.length===0?-1:e.findIndex(e=>e===void 0?!1:Dm(e,t,n))}function Am(e,t,n){return e.filter(e=>!Dm(t,e,n))}function jm(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function Mm(e){return e!=null&&e.length>0&&typeof e[0]==`object`&&e[0]!=null&&`items`in e[0]}function Nm(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(Mm(t)){for(let e of t)for(let t of e.items)if(t&&t.value==null&&t.label!=null)return!0;return!1}for(let e of t)if(e&&e.value==null&&e.label!=null)return!0;return!1}function Pm(e,t){if(t&&e!=null)return t(e)??``;if(e&&typeof e==`object`){if(`label`in e&&e.label!=null)return String(e.label);if(`value`in e)return String(e.value)}return jm(e)}function Fm(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?jm(e.value):jm(e)}var $={id:Ep(e=>e.id),labelId:Ep(e=>e.labelId),items:Ep(e=>e.items),selectedValue:Ep(e=>e.selectedValue),hasSelectionChips:Ep(e=>{let t=e.selectedValue;return Array.isArray(t)&&t.length>0}),hasSelectedValue:Ep(e=>{let{selectedValue:t,selectionMode:n}=e;return t==null?!1:n===`multiple`&&Array.isArray(t)?t.length>0:!0}),hasNullItemLabel:Ep((e,t)=>t?Nm(e.items):!1),open:Ep(e=>e.open),mounted:Ep(e=>e.mounted),forceMounted:Ep(e=>e.forceMounted),inline:Ep(e=>e.inline),activeIndex:Ep(e=>e.activeIndex),selectedIndex:Ep(e=>e.selectedIndex),isActive:Ep((e,t)=>e.activeIndex===t),isSelected:Ep((e,t)=>{let n=e.isItemEqualToValue,r=e.selectedValue;return Array.isArray(r)?r.some(e=>Dm(t,e,n)):Dm(t,r,n)}),transitionStatus:Ep(e=>e.transitionStatus),popupProps:Ep(e=>e.popupProps),inputProps:Ep(e=>e.inputProps),triggerProps:Ep(e=>e.triggerProps),getItemProps:Ep(e=>e.getItemProps),positionerElement:Ep(e=>e.positionerElement),listElement:Ep(e=>e.listElement),triggerElement:Ep(e=>e.triggerElement),inputElement:Ep(e=>e.inputElement),inputGroupElement:Ep(e=>e.inputGroupElement),popupSide:Ep(e=>e.popupSide),openMethod:Ep(e=>e.openMethod),inputInsidePopup:Ep(e=>e.inputInsidePopup),selectionMode:Ep(e=>e.selectionMode),name:Ep(e=>e.name),form:Ep(e=>e.form),disabled:Ep(e=>e.disabled),readOnly:Ep(e=>e.readOnly),required:Ep(e=>e.required),grid:Ep(e=>e.grid),virtualized:Ep(e=>e.virtualized),itemToStringLabel:Ep(e=>e.itemToStringLabel),isItemEqualToValue:Ep(e=>e.isItemEqualToValue),modal:Ep(e=>e.modal),autoHighlight:Ep(e=>e.autoHighlight),submitOnItemClick:Ep(e=>e.submitOnItemClick)},Im=function(e){return e.disabled=`data-disabled`,e.valid=`data-valid`,e.invalid=`data-invalid`,e.touched=`data-touched`,e.dirty=`data-dirty`,e.filled=`data-filled`,e.focused=`data-focused`,e}({}),Lm={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},Rm={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},zm={disabled:!1,...Rm},Bm={valid(e){return e===null?null:e?{[Im.valid]:``}:{[Im.invalid]:``}}},Vm=K.createContext({invalid:void 0,name:void 0,validityData:{state:Lm,errors:[],error:``,value:``,initialValue:null},setValidityData:zl,disabled:void 0,touched:Rm.touched,setTouched:zl,dirty:Rm.dirty,setDirty:zl,filled:Rm.filled,setFilled:zl,focused:Rm.focused,setFocused:zl,validate:()=>null,validationMode:`onSubmit`,validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:zm,markedDirtyRef:{current:!1},registerFieldControl:zl,validation:{getValidationProps:(e=Vl)=>e,getInputValidationProps:(e=Vl)=>e,inputRef:{current:null},commit:async()=>{}}});function Hm(e=!0){let t=K.useContext(Vm);if(t.setValidityData===zl&&!e)throw Error(Ol(28));return t}function Um(e,t){let{enabled:n=!0,getValue:r,id:i,value:a}=t,{registerFieldControl:o}=Hm(),s=K.useRef(null);s.current||=Symbol(),X(()=>{let t=s.current;if(!(!t||!n))return o(t,{controlRef:e,getValue:r,id:i,value:a}),()=>{o(t,void 0)}},[e,n,r,i,o,a])}var Wm=K.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:zl,validationMode:`onSubmit`,submitAttemptedRef:{current:!1}});function Gm(){return K.useContext(Wm)}var Km=K.createContext({controlId:void 0,registerControlId:zl,labelId:void 0,setLabelId:zl,messageIds:[],setMessageIds:zl,getDescriptionProps:e=>e});function qm(){return K.useContext(Km)}function Jm(e={}){let{id:t,implicit:n=!1,controlRef:r}=e,{controlId:i,registerControlId:a}=qm(),o=ju(t),s=n?i:void 0,c=ml(()=>Symbol(`labelable-control`)),l=K.useRef(!1),u=K.useRef(t!=null),d=Y(()=>{!l.current||a===zl||(l.current=!1,a(c.current,void 0))});return X(()=>{if(a===zl)return;let e;if(n){let n=r?.current;e=D(n)&&n.closest(`label`)!=null?t??null:s??o}else if(t!=null)u.current=!0,e=t;else if(u.current)e=o;else{d();return}if(e===void 0){d();return}l.current=!0,a(c.current,e)},[t,r,s,a,n,o,c,d]),K.useEffect(()=>d,[d]),i??o}function Ym(e,t){return(n,r)=>{if(n==null)return!1;let i=Pm(n,t);return e.contains(i,r)}}function Xm(e,t,n){return(r,i)=>{if(r==null)return!1;if(!i)return!0;let a=Pm(r,t),o=n==null?``:Pm(n,t);return o&&e.contains(o,i)&&o.length===i.length?!0:e.contains(a,i)}}var Zm=new Map;function Qm(e={}){let t={usage:`search`,sensitivity:`base`,ignorePunctuation:!0,...e},n=`${$m(e.locale)}|${JSON.stringify(t)}`,r=Zm.get(n);if(r)return r;let i=new Intl.Collator(e.locale,t),a={contains(e,t,n){if(!t)return!0;let r=Pm(e,n);for(let e=0;e<=r.length-t.length;e+=1)if(i.compare(r.slice(e,e+t.length),t)===0)return!0;return!1},startsWith(e,t,n){if(!t)return!0;let r=Pm(e,n);return i.compare(r.slice(0,t.length),t)===0},endsWith(e,t,n){if(!t)return!0;let r=Pm(e,n),a=t.length;return r.length>=a&&i.compare(r.slice(r.length-a),t)===0}};return Zm.set(n,a),a}function $m(e){return Array.isArray(e)?e.map(e=>$m(e)).join(`,`):e==null?``:String(e)}var eh=Qm,th=Symbol(`none`),nh={value:th,index:-1};function rh(e){let{id:t,onOpenChangeComplete:n,defaultSelectedValue:r=null,selectedValue:i,onSelectedValueChange:a,defaultInputValue:o,inputValue:s,open:c,defaultOpen:l=!1,selectionMode:u=`none`,onItemHighlighted:d,name:f,form:p,disabled:m=!1,readOnly:h=!1,required:g=!1,inputRef:_,grid:v=!1,items:y,filteredItems:b,filter:x,openOnInputClick:S=!0,autoHighlight:C=!1,keepHighlight:w=!1,highlightItemOnHover:T=!0,loopFocus:E=!0,itemToStringLabel:D,itemToStringValue:O,isItemEqualToValue:k=Em,virtualized:A=!1,inline:j=!1,fillInputOnItemPress:M=!0,modal:N=!1,limit:P=-1,autoComplete:ee=`list`,formAutoComplete:F,locale:te,submitOnItemClick:I=!1}=e,{clearErrors:L}=Gm(),{setDirty:R,validityData:z,shouldValidateOnChange:ne,setFilled:B,name:V,disabled:H,setTouched:re,setFocused:U,validationMode:ie,validation:ae}=Hm(),W=Jm({id:t}),oe=eh({locale:te}),[se,ce]=K.useState(!1),[le,ue]=K.useState(null),de=K.useRef([]),fe=K.useRef([]),pe=K.useRef(null),me=K.useRef(null),G=K.useRef(null),he=K.useRef(null),ge=K.useRef(null),_e=K.useRef(!0),ve=K.useRef(!1),ye=K.useRef(null),be=K.useRef(null),xe=K.useRef(null),Se=K.useRef(nh),Ce=K.useRef(null),we=K.useRef([]),Te=K.useRef([]),q=H||m,Ee=V??f,De=u===`multiple`,Oe=u===`single`,ke=s!==void 0||o!==void 0,Ae=y!==void 0,je=b!==void 0,Me;Me=C===`always`?`always`:C?`input-change`:!1;let[Ne,Pe]=fl({controlled:i,default:De?r??Bl:r,name:`Combobox`,state:`selectedValue`}),Fe=K.useMemo(()=>x===null?()=>!0:x===void 0?Oe&&!se?Xm(oe,D,Ne):Ym(oe,D):x,[x,Oe,Ne,se,oe,D]),Ie=ml(()=>ke?o??``:Oe?Pm(Ne,D):``).current,[Le,Re]=fl({controlled:s,default:Ie,name:`Combobox`,state:`inputValue`}),[ze,Be]=fl({controlled:c,default:l,name:`Combobox`,state:`open`}),Ve=Mm(y),He=le??(Le===``?``:String(Le).trim()),Ue=Oe?Pm(Ne,D):``,We=Oe&&!se&&He!==``&&Ue!==``&&Ue.length===He.length&&oe.contains(Ue,He),Ge=We?``:He,Ke=Ae&&je&&We,qe=K.useMemo(()=>y?Ve?y.flatMap(e=>e.items):y:Bl,[y,Ve]),Je=K.useMemo(()=>{if(b&&!Ke)return b;if(!y)return Bl;if(Ve){let e=y,t=[],n=0;for(let r of e){if(P>-1&&n>=P)break;let e=Ge===``?r.items:r.items.filter(e=>Fe(e,Ge,D));if(e.length===0)continue;let i=P>-1?P-n:1/0,a=e.slice(0,i);if(a.length>0){let e={...r,items:a};t.push(e),n+=a.length}}return t}if(Ge===``)return P>-1?qe.slice(0,P):qe;let e=[];for(let t of qe){if(P>-1&&e.length>=P)break;Fe(t,Ge,D)&&e.push(t)}return e},[b,Ke,y,Ve,Ge,P,Fe,D,qe]),Ye=K.useMemo(()=>Ve?Je.flatMap(e=>e.items):Je,[Je,Ve]),Xe=ml(()=>new zp({id:W,labelId:void 0,selectedValue:Ne,open:ze,filter:Fe,query:He,items:y,selectionMode:u,listRef:de,labelsRef:fe,popupRef:pe,emptyRef:ge,inputRef:me,startDismissRef:G,endDismissRef:he,keyboardActiveRef:_e,chipsContainerRef:ye,clearRef:be,valuesRef:we,allValuesRef:Te,selectionEventRef:xe,name:Ee,form:p,disabled:q,readOnly:h,required:g,grid:v,isGrouped:Ve,virtualized:A,openOnInputClick:S,itemToStringLabel:D,isItemEqualToValue:k,modal:N,autoHighlight:Me,submitOnItemClick:I,hasInputValue:ke,mounted:!1,forceMounted:!1,transitionStatus:`idle`,inline:j,activeIndex:null,selectedIndex:null,popupProps:{},inputProps:{},triggerProps:{},positionerElement:null,listElement:null,triggerElement:null,inputElement:null,inputGroupElement:null,popupSide:null,openMethod:null,inputInsidePopup:!0,onOpenChangeComplete:n||zl,setOpen:zl,setInputValue:zl,setSelectedValue:zl,setIndices:zl,onItemHighlighted:zl,handleSelection:zl,getItemProps:()=>Vl,forceMount:zl,requestSubmit:zl})).current,Ze=u===`none`?Le:Ne,Qe=K.useMemo(()=>u===`none`?Ze:Array.isArray(Ne)?Ne.map(e=>Fm(e,O)):Fm(Ne,O),[Ze,O,u,Ne]),$e=Y(d),et=Y(n),tt=Q(Xe,$.activeIndex),nt=Q(Xe,$.selectedIndex),rt=Q(Xe,$.positionerElement),it=Q(Xe,$.listElement),at=Q(Xe,$.triggerElement),ot=Q(Xe,$.inputElement),st=Q(Xe,$.inputGroupElement),ct=Q(Xe,$.inline),lt=Q(Xe,$.inputInsidePopup),ut=Mf(at),{mounted:dt,setMounted:ft,transitionStatus:pt}=Gu(ze),{openMethod:mt,triggerProps:ht}=am(ze),gt=Y(()=>Qe);Um(lt?ut:me,{id:W,value:Ze,getValue:gt});let _t=Y(()=>{y?fe.current=Ye.map(e=>Pm(e,D)):Xe.set(`forceMounted`,!0)}),vt=K.useRef(Ne);X(()=>{Ne!==vt.current&&_t()},[_t,Ne]);let yt=Y(e=>{Xe.update(e);let t=e.type||`none`;if(e.activeIndex!==void 0)if(e.activeIndex===null)Se.current!==nh&&(Se.current=nh,$e(void 0,Tu(t,void 0,{index:-1})));else{let n=we.current[e.activeIndex];Se.current={value:n,index:e.activeIndex},$e(n,Tu(t,void 0,{index:e.activeIndex}))}}),bt=Y((t,n)=>{if(ve.current=n.reason===yu,e.onInputValueChange?.(t,n),!n.isCanceled){if(n.reason===`input-change`){let e=n.event,r=e.inputType;if(e.type===`compositionend`||r!=null&&r!==``&&r!==`insertReplacementText`){let e=t.trim()!==``;e&&ce(!0),Ce.current={hasQuery:e},e&&Me&&Xe.state.activeIndex==null&&Xe.set(`activeIndex`,0)}}Re(t)}}),xt=Y((t,n)=>{if(ze!==t&&(n.reason===`escape-key`&&Ae&&Ye.length===0&&!Xe.state.emptyRef.current&&n.allowPropagation(),e.onOpenChange?.(t,n),!n.isCanceled&&(!t&&se&&(Oe?(ct||ue(He),He===``&&ce(!1)):De&&(ct||lt?yt({activeIndex:null}):ue(He),bt(``,wu(yu,n.event)))),Be(t),!t&<&&(n.reason===`focus-out`||n.reason===`outside-press`)&&(re(!0),U(!1),ie===`onBlur`)))){let e=u===`none`?Le:Ne;ae.commit(e)}}),St=Y((e,t)=>{a?.(e,t),!t.isCanceled&&(Pe(e),(u===`none`&&pe.current&&M||Oe&&!Xe.state.inputInsidePopup)&&bt(Pm(e,D),wu(t.reason,t.event)),Oe&&e!=null&&t.reason!==`input-change`&&se&&!ct&&ue(He))}),Ct=Y((e,t)=>{let n=t;if(n===void 0){if(tt===null)return;n=we.current[tt]}let r=bd(e),i=xe.current??e;xe.current=null;let a=wu(hu,i),o=r?.closest(`a`)?.getAttribute(`href`);if(o){o.startsWith(`#`)&&xt(!1,a);return}if(De){let e=Array.isArray(Ne)?Ne:[];if(St(Om(e,n,Xe.state.isItemEqualToValue)?Am(e,n,Xe.state.isItemEqualToValue):[...e,n],a),!(me.current&&me.current.value.trim()!==``))return;Xe.state.inputInsidePopup?bt(``,wu(yu,a.event)):xt(!1,a)}else St(n,a),xt(!1,a)}),wt=Y(()=>{if(!Xe.state.submitOnItemClick)return;let e=ae.inputRef.current?.form??Xe.state.inputElement?.form;e&&typeof e.requestSubmit==`function`&&e.requestSubmit()}),Tt=Y(()=>{if(ft(!1),et?.(!1),ce(!1),ue(null),yt(u===`none`?{activeIndex:null,selectedIndex:null}:{activeIndex:null}),De&&me.current&&me.current.value!==``&&!ve.current&&bt(``,wu(yu)),Oe)if(Xe.state.inputInsidePopup)me.current&&me.current.value!==``&&bt(``,wu(yu));else{let e=Pm(Ne,D);me.current&&me.current.value!==e&&bt(e,wu(e===``?yu:fu))}}),Et=K.useMemo(()=>ct&&rt?{current:rt.closest(`[role="dialog"]`)}:pe,[ct,rt]);_f({enabled:!e.actionsRef,open:ze,ref:Et,onComplete(){ze||Tt()}}),K.useImperativeHandle(e.actionsRef,()=>({unmount:Tt}),[Tt]),X(function(){if(ze||u===`none`)return;let e=y?qe:Te.current;if(De){let t=Array.isArray(Ne)?Ne:[],n=t[t.length-1],r=km(e,n,k);yt({selectedIndex:r===-1?null:r})}else{let t=km(e,Ne,k);yt({selectedIndex:t===-1?null:t})}},[ze,Ne,y,u,qe,De,k,yt]),X(()=>{y&&(we.current=Ye,de.current.length=Ye.length)},[y,Ye]),X(()=>{let e=Ce.current;if(e&&(e.hasQuery?Me&&Xe.set(`activeIndex`,0):Me===`always`&&Xe.set(`activeIndex`,0),Ce.current=null),!ze&&!ct)return;let t=Ae||je?Ye:we.current,n=Xe.state.activeIndex;if(n==null){if(Me===`always`&&t.length>0){Xe.set(`activeIndex`,0);return}Se.current!==nh&&(Se.current=nh,Xe.state.onItemHighlighted(void 0,Tu(fu,void 0,{index:-1})));return}if(n>=t.length){Se.current!==nh&&(Se.current=nh,Xe.state.onItemHighlighted(void 0,Tu(fu,void 0,{index:-1}))),Xe.set(`activeIndex`,null);return}let r=t[n],i=Se.current.value,a=i!==th&&Dm(r,i,Xe.state.isItemEqualToValue);(Se.current.index!==n||!a)&&(Se.current={value:r,index:n},Xe.state.onItemHighlighted(r,Tu(fu,void 0,{index:n})))},[tt,Me,je,Ae,Ye,ct,ze,Xe]),X(()=>{if(u===`none`){B(String(Le)!==``);return}B(De?Array.isArray(Ne)&&Ne.length>0:Ne!=null)},[B,u,Le,Ne,De]),K.useEffect(()=>{Ae&&Me&&Ye.length===0&&yt({activeIndex:null})},[Ae,Me,Ye.length,yt]),im(He,()=>{!ze||He===``||He===String(Ie)||ce(!0)}),im(Ne,()=>{if(u!==`none`&&(L(Ee),R(Ne!==z.initialValue),ne()?ae.commit(Ne):ae.commit(Ne,!0),Oe&&!ke&&!lt)){let e=Pm(Ne,D);Le!==e&&bt(e,wu(fu))}}),im(Le,()=>{u===`none`&&(L(Ee),R(Le!==z.initialValue),ne()?ae.commit(Le):ae.commit(Le,!0))}),im(y,()=>{if(!Oe||ke||lt||se)return;let e=Pm(Ne,D);Le!==e&&bt(e,wu(fu))});let Dt=Wp({open:ct?!0:ze,onOpenChange:xt,elements:{reference:lt?at:ot,floating:rt}}),Ot,kt;ct||(Ot=v?`grid`:`listbox`,kt=ze?`true`:`false`);let{getReferenceProps:At,getFloatingProps:jt,getItemProps:Mt}=Kp([K.useMemo(()=>{let e=ot?.tagName===`INPUT`,t=ot==null||e,n=t||ze,r=t?{autoComplete:`off`,spellCheck:`false`,autoCorrect:`off`,autoCapitalize:`none`}:{};return n&&(r.role=`combobox`,r[`aria-expanded`]=kt,r[`aria-haspopup`]=Ot,r[`aria-controls`]=ze?it?.id:void 0,r[`aria-autocomplete`]=ee),{reference:r,floating:{role:`presentation`}}},[ot,ze,kt,Ot,it?.id,ee]),xp(Dt,{enabled:!h&&!q&&S,event:`mousedown-only`,toggle:!1,touchOpenDelay:lt?0:100,reason:bu}),Tp(Dt,{enabled:!h&&!q&&!ct,outsidePressEvent:{mouse:`sloppy`,touch:`intentional`},bubbles:ct?!0:void 0,outsidePress(e){let t=bd(e);return!yd(at,t)&&!yd(be.current,t)&&!yd(ye.current,t)&&!yd(st,t)}}),tm(Dt,{enabled:!h&&!q,id:W,listRef:de,activeIndex:tt,selectedIndex:nt,virtual:!0,loopFocus:E,allowEscape:E&&!Me,focusItemOnOpen:se||u===`none`&&!Me?!1:`auto`,focusItemOnHover:T,resetOnPointerLeave:!w,cols:v?2:1,orientation:v?`horizontal`:void 0,disabledIndices:Bl,onNavigate(e,t){!t&&!ze||pt===`ending`||yt(t?{activeIndex:e,type:_e.current?`keyboard`:`pointer`}:{activeIndex:e})}})]);vf(()=>{Xe.update({inline:j,popupProps:jt(),inputProps:At(),triggerProps:ht,getItemProps:Mt,setOpen:xt,setInputValue:bt,setSelectedValue:St,setIndices:yt,onItemHighlighted:$e,handleSelection:Ct,forceMount:_t,requestSubmit:wt})}),X(()=>{Xe.update({id:W,selectedValue:Ne,open:ze,mounted:dt,transitionStatus:pt,items:y,inline:j,popupProps:jt(),inputProps:At(),triggerProps:ht,openMethod:mt,getItemProps:Mt,selectionMode:u,name:Ee,form:p,disabled:q,readOnly:h,required:g,grid:v,isGrouped:Ve,virtualized:A,onOpenChangeComplete:et,openOnInputClick:S,itemToStringLabel:D,modal:N,autoHighlight:Me,isItemEqualToValue:k,submitOnItemClick:I,hasInputValue:ke,requestSubmit:wt})},[Xe,W,Ne,ze,dt,pt,y,jt,At,Mt,mt,ht,u,Ee,q,h,g,ae,v,Ve,A,et,S,D,N,k,I,ke,j,wt,Me,p]);let Nt=kl(_,ae.inputRef),Pt=K.useMemo(()=>({query:He,hasItems:Ae,filteredItems:Je,flatFilteredItems:Ye}),[He,Ae,Je,Ye]),Ft=K.useMemo(()=>Array.isArray(Ze)?``:Fm(Ze,O),[Ze,O]),It=De&&Array.isArray(Ne)&&Ne.length>0,Lt=De||u===`none`?void 0:Ee,Rt=K.useMemo(()=>!De||!Array.isArray(Ne)||!Ee?null:Ne.map(e=>{let t=Fm(e,O);return(0,Z.jsx)(`input`,{type:`hidden`,form:p,name:Ee,value:t},t)}),[De,Ne,p,Ee,O]),zt=(0,Z.jsxs)(K.Fragment,{children:[e.children,(0,Z.jsx)(`input`,{...ae.getInputValidationProps({onFocus(){if(lt){at?.focus();return}(me.current||at)?.focus()},onChange(e){if(e.nativeEvent.defaultPrevented)return;let t=e.currentTarget.value,n=wu(fu,e.nativeEvent);function r(){if(De)return;if(u===`none`){R(t!==z.initialValue),bt(t,n),ne()&&ae.commit(t);return}let e=we.current.find(e=>Fm(e,O).toLowerCase()===t.toLowerCase()||Pm(e,D).toLowerCase()===t.toLowerCase());e!=null&&(R(e!==z.initialValue),St?.(e,n),ne()&&ae.commit(e))}y?r():(_t(),queueMicrotask(r))}}),id:W&&Lt==null?`${W}-hidden-input`:void 0,form:p,name:Lt,autoComplete:F,disabled:q,required:g&&!It,readOnly:h,value:Ft,ref:Nt,style:Lt?If:Ff,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Rt]});return(0,Z.jsx)(vm.Provider,{value:Xe,children:(0,Z.jsx)(ym.Provider,{value:Dt,children:(0,Z.jsx)(bm.Provider,{value:Pt,children:(0,Z.jsx)(xm.Provider,{value:Le,children:zt})})})})}var ih={...mm,...Bm,popupSide:e=>e?{"data-popup-side":e}:null,listEmpty:e=>e?{"data-list-empty":``}:null};function ah(e){let t=e.getBoundingClientRect(),n=A(e),r=n.getComputedStyle(e,`::before`),i=n.getComputedStyle(e,`::after`);if(!(r.content!==`none`||i.content!==`none`))return t;let a=parseFloat(r.width)||0,o=parseFloat(r.height)||0,s=parseFloat(i.width)||0,c=parseFloat(i.height)||0,l=Math.max(t.width,a,s),u=Math.max(t.height,o,c),d=l-t.width,f=u-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-f/2,bottom:t.bottom+f/2}}function oh(e,t){return e??t}var sh=2,ch=K.forwardRef(function(e,t){let{render:n,className:r,nativeButton:i=!0,disabled:a=!1,id:o,style:s,...c}=e,{state:l,disabled:u,setTouched:d,setFocused:f,validationMode:p,validation:m}=Hm(),{labelId:h}=qm(),g=Sm(),{filteredItems:_}=wm(),v=Q(g,$.selectionMode),y=Q(g,$.disabled),b=Q(g,$.readOnly),x=Q(g,$.required),S=Q(g,$.mounted),C=Q(g,$.popupSide),w=Q(g,$.positionerElement),T=Q(g,$.listElement),E=Q(g,$.triggerProps),D=Q(g,$.triggerElement),O=Q(g,$.inputInsidePopup),k=Q(g,$.id),A=Q(g,$.labelId),j=Q(g,$.open),M=Q(g,$.selectedValue),N=Q(g,$.activeIndex),P=Q(g,$.selectedIndex),ee=Q(g,$.hasSelectedValue),F=Cm(),te=Tm(),I=xf(),L=u||y||a,R=_.length===0,z=S&&w?C:null;Jm({id:O?o:void 0});let ne=O?o??k:o,B=oh(h,A),V=K.useRef(``);function H(e){V.current=e.pointerType}let re=F.useState(`domReferenceElement`);K.useEffect(()=>{O&&D&&D!==re&&F.set(`domReferenceElement`,D)},[D,re,F,O]);let{reference:U}=nm(F,{enabled:!j&&!b&&!y&&v===`single`,listRef:g.state.labelsRef,activeIndex:N,selectedIndex:P,onMatch(e){let t=g.state.valuesRef.current[e];t!==void 0&&g.state.setSelectedValue(t,wu(`none`))}}),{reference:ie}=xp(F,{enabled:!b&&!y,event:`mousedown`}),{buttonRef:ae,getButtonProps:W}=Zu({native:i,disabled:L}),oe={...l,open:j,disabled:L,popupSide:z,listEmpty:R,placeholder:v===`none`?!1:!ee};return ou(`button`,e,{ref:[t,ae,Y(e=>{g.set(`triggerElement`,e)})],state:oe,props:[E,ie,U,{id:ne,tabIndex:O?0:-1,role:O?`combobox`:void 0,"aria-expanded":j?`true`:`false`,"aria-haspopup":O?`dialog`:`listbox`,"aria-controls":j?T?.id:void 0,"aria-required":O&&x||void 0,"aria-labelledby":B,onPointerDown:H,onPointerEnter:H,onFocus(){f(!0),!(L||b)&&I.start(0,g.state.forceMount)},onBlur(e){if(!yd(w,e.relatedTarget)&&(d(!0),f(!1),p===`onBlur`)){let e=v===`none`?te:M;m.commit(e)}},onMouseDown(e){if(L||b||(O||F.set(`domReferenceElement`,e.currentTarget),g.state.forceMount(),V.current!==`touch`&&(g.state.inputRef.current?.focus(),O||e.preventDefault()),j))return;let t=Kd(e.currentTarget);function n(e){if(!D)return;let t=bd(e),n=g.state.positionerElement,r=g.state.listElement;if(yd(D,t)||yd(n,t)||yd(r,t)||t===D)return;let i=ah(D),a=e.clientX>=i.left-sh&&e.clientX<=i.right+sh,o=e.clientY>=i.top-sh&&e.clientY<=i.bottom+sh;a&&o||g.state.setOpen(!1,wu(`cancel-open`,e))}O&&t.addEventListener(`mouseup`,n,{once:!0})},onKeyDown(e){L||b||(e.key===`ArrowDown`||e.key===`ArrowUp`)&&(Od(e),g.state.setOpen(!0,wu(Cu,e.nativeEvent)),g.state.inputRef.current?.focus())}},m?m.getValidationProps(c):c,W],stateAttributesMapping:ih})}),lh=K.createContext(void 0);function uh(){return K.useContext(lh)}var dh=K.createContext(void 0);function fh(e){let t=K.useContext(dh);if(t===void 0&&!e)throw Error(Ol(21));return t}var ph=K.forwardRef(function(e,t){let n=Sm(),{buttonRef:r,getButtonProps:i}=Zu({native:!1});return(0,Z.jsx)(`span`,{ref:kl(t,r),...i({onClick:Y(e=>{n.state.setOpen(!1,wu(gu,e.nativeEvent,e.currentTarget))})}),"aria-label":`Dismiss`,tabIndex:void 0,style:If})}),mh=K.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,id:a,style:o,...s}=e,{state:c,disabled:l,setTouched:u,setFocused:d,validationMode:f,validation:p}=Hm(),{labelId:m}=qm(),h=uh(),g=!!fh(!0),_=Sm(),{filteredItems:v}=wm(),y=Tm(),b=El(),x=Q(_,$.required),S=Q(_,$.disabled),C=Q(_,$.readOnly),w=Q(_,$.name),T=Q(_,$.form),E=Q(_,$.selectionMode),D=Q(_,$.autoHighlight),O=Q(_,$.inputProps),k=Q(_,$.triggerProps),A=Q(_,$.open),j=Q(_,$.mounted),M=Q(_,$.selectedValue),N=Q(_,$.popupSide),P=Q(_,$.positionerElement),ee=Q(_,$.id),F=Q(_,$.inline),te=Q(_,$.modal),I=!!D,L=j&&P?N:null,R=l||S||i,z=v.length===0,ne=g||F,B=!ne||te,V=ju(a??(ne?void 0:ee)),H=oh(m,void 0),re=g?Rm:c,[U,ie]=K.useState(null),ae=K.useRef(!1),W=K.useRef(null),oe=K.useRef(!1),se=Y(e=>{let t=g||_.state.inline;t&&!_.state.hasInputValue&&_.state.setInputValue(``,wu(fu)),_.update({inputElement:e,inputInsidePopup:t})}),ce=g||!p?s:p.getValidationProps(s),le={...re,open:A,disabled:R,readOnly:C,popupSide:L,listEmpty:z};function ue(e){if(!h)return;let t,{highlightedChipIndex:n}=h,r=h.chipsRef.current.length;if(n!==void 0){if(e.key===`ArrowLeft`)e.preventDefault(),t=n>0?n-1:void 0;else if(e.key===`ArrowRight`)e.preventDefault(),t=n=M.length-1?M.length-2:n;t=r>=0?r:void 0,_.state.setIndices({activeIndex:null,selectedIndex:null,type:`keyboard`})}return t}return e.key===`ArrowLeft`&&(e.currentTarget.selectionStart??0)===0&&M.length>0?(e.preventDefault(),t=r>0?r-1:void 0):e.key===`Backspace`&&e.currentTarget.value===``&&M.length>0&&(_.state.setIndices({activeIndex:null,selectedIndex:null,type:`keyboard`}),e.preventDefault()),t}let de=ou(`input`,e,{state:le,ref:[t,_.state.inputRef,se],props:[O,k,{type:`text`,value:e.value??U??y,"aria-readonly":C||void 0,"aria-required":x||void 0,"aria-labelledby":H,disabled:R,readOnly:C,required:E===`none`?x:void 0,form:T,...E===`none`&&w&&{name:w},id:V,onFocus(){if(d(!0),!F||!oe.current)return;oe.current=!1;let e=W.current;e==null||!Object.hasOwn(_.state.valuesRef.current,e)||_.state.setIndices({activeIndex:e})},onBlur(){u(!0),d(!1);let e=_.state.activeIndex;if(F&&e!==null&&D!==`always`&&(W.current=e,oe.current=!0,_.state.setIndices({activeIndex:null})),f===`onBlur`){let e=E===`none`?y:M;p.commit(e)}},onCompositionStart(e){cd||(ae.current=!0,ie(e.currentTarget.value))},onCompositionEnd(e){ae.current=!1;let t=e.currentTarget.value;ie(null),_.state.setInputValue(t,wu(vu,e.nativeEvent))},onChange(e){let t=e.nativeEvent.inputType,n=!t||t===`insertReplacementText`,r=ae.current||!n;if(ae.current){let t=e.currentTarget.value;ie(t),t===``&&!_.state.openOnInputClick&&!_.state.inputInsidePopup&&_.state.setOpen(!1,wu(yu,e.nativeEvent));let n=t.trim(),i=I&&n!==``;!C&&!R&&n&&r&&(_.state.setOpen(!0,wu(vu,e.nativeEvent)),I||_.state.setIndices({activeIndex:null,selectedIndex:null,type:_.state.keyboardActiveRef.current?`keyboard`:`pointer`})),A&&_.state.activeIndex!==null&&!i&&_.state.setIndices({activeIndex:null,selectedIndex:null,type:_.state.keyboardActiveRef.current?`keyboard`:`pointer`});return}_.state.setInputValue(e.currentTarget.value,wu(vu,e.nativeEvent));let i=e.currentTarget.value===``,a=wu(yu,e.nativeEvent);i&&!_.state.inputInsidePopup&&(E===`single`&&_.state.setSelectedValue(null,a),_.state.openOnInputClick||_.state.setOpen(!1,a));let o=e.currentTarget.value.trim();!C&&!R&&o&&r&&(_.state.setOpen(!0,wu(vu,e.nativeEvent)),I||_.state.setIndices({activeIndex:null,selectedIndex:null,type:_.state.keyboardActiveRef.current?`keyboard`:`pointer`})),A&&_.state.activeIndex!==null&&!I&&_.state.setIndices({activeIndex:null,selectedIndex:null,type:_.state.keyboardActiveRef.current?`keyboard`:`pointer`})},onKeyDown(e){if(R||C||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)return;_.state.keyboardActiveRef.current=!0;let t=e.currentTarget,n=t.scrollWidth-t.clientWidth,r=b===`rtl`;if(e.key===`Home`){Od(e);let n=od&&r?t.value.length:0;t.setSelectionRange(n,n),t.scrollLeft=0;return}if(e.key===`End`){Od(e);let i=od&&r?0:t.value.length;t.setSelectionRange(i,i),t.scrollLeft=r?-n:n;return}if(!j&&e.key===`Escape`){let t=E===`multiple`&&Array.isArray(M)?M.length===0:M===null,n=wu(Su,e.nativeEvent),r=E===`multiple`?[]:null;_.state.setInputValue(``,n),_.state.setSelectedValue(r,n),!t&&!_.state.inline&&!n.isPropagationAllowed&&e.stopPropagation();return}if(h&&e.key===`Backspace`&&t.value===``&&h.highlightedChipIndex===void 0&&Array.isArray(M)&&M.length>0){let t=h.chipsRef.current.length,n=t>0?t-1:M.length-1,r=M.filter((e,t)=>t!==n);_.state.setIndices({activeIndex:null,selectedIndex:null,type:_.state.keyboardActiveRef.current?`keyboard`:`pointer`}),_.state.setSelectedValue(r,wu(fu,e.nativeEvent));return}let i=h?.highlightedChipIndex!==void 0,a=ue(e);if(h?.setHighlightedChipIndex(a),a===void 0?i&&_.state.inputRef.current?.focus():h?.chipsRef.current[a]?.focus(),e.which!==229&&e.key===`Enter`&&A){let t=_.state.activeIndex,n=e.nativeEvent;if(t===null){if(F)return;_.state.setOpen(!1,wu(fu,n));return}Od(e);let r=_.state.listRef.current[t];r&&(_.state.selectionEventRef.current=n,r.click(),_.state.selectionEventRef.current=null)}},onPointerMove(){_.state.keyboardActiveRef.current=!1},onPointerDown(){_.state.keyboardActiveRef.current=!1}},ce],stateAttributesMapping:ih});return(0,Z.jsxs)(K.Fragment,{children:[A&&B&&(0,Z.jsx)(ph,{ref:_.state.startDismissRef}),de]})}),hh={...Hu,...pm},gh=K.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,nativeButton:a=!0,keepMounted:o=!1,style:s,...c}=e,{disabled:l}=Hm(),u=Sm(),d=Q(u,$.selectionMode),f=Q(u,$.disabled),p=Q(u,$.readOnly),m=Q(u,$.open),h=Q(u,$.selectedValue),g=Q(u,$.hasSelectionChips),_=Tm(),v=!1;v=d===`none`?_!==``:d===`single`?h!=null:g;let y=l||f||i,{buttonRef:b,getButtonProps:x}=Zu({native:a,disabled:y}),{mounted:S,transitionStatus:C,setMounted:w}=Gu(v),T={disabled:y,open:m,transitionStatus:C};_f({open:v,ref:u.state.clearRef,onComplete(){v||w(!1)}});let E=ou(`button`,e,{state:T,ref:[t,b,u.state.clearRef],props:[{tabIndex:-1,children:`x`,onMouseDown(e){e.preventDefault()},onClick(e){if(y||p)return;let t=u.state.keyboardActiveRef;u.state.setInputValue(``,wu(_u,e.nativeEvent)),d===`none`?u.state.setIndices({activeIndex:null,type:t.current?`keyboard`:`pointer`}):(u.state.setSelectedValue(Array.isArray(h)?[]:null,wu(_u,e.nativeEvent)),u.state.setIndices({activeIndex:null,selectedIndex:null,type:t.current?`keyboard`:`pointer`})),u.state.inputRef.current?.focus()}},c,x],stateAttributesMapping:hh});return o||S?E:null}),_h=K.createContext(null);function vh(){return K.useContext(_h)}function yh(e){let{children:t}=e,{filteredItems:n}=wm(),r=vh(),i=r?r.items:n;return i?(0,Z.jsx)(K.Fragment,{children:i.map(t)}):null}var bh=K.forwardRef(function(e,t){var n;let{render:r,className:i,style:a,children:o,...s}=e,c=Sm(),l=Cm(),u=!!fh(!0),{filteredItems:d,hasItems:f}=wm(),p=Q(c,$.selectionMode),m=Q(c,$.grid),h=Q(c,$.popupProps),g=Q(c,$.virtualized),_=p===`multiple`,v=d.length===0,y=Y(e=>{c.set(`positionerElement`,e)}),b=Y(e=>{c.set(`listElement`,e)}),x=K.useMemo(()=>typeof o==`function`?n||=(0,Z.jsx)(yh,{children:o}):o,[o]),S={empty:v},C=l.useState(`floatingId`),w=ou(`div`,e,{state:S,ref:[t,b,u?null:y],props:[h,{children:x,tabIndex:-1,id:C,role:m?`grid`:`listbox`,"aria-multiselectable":_?`true`:void 0,onKeyDown(e){if(!(c.state.disabled||c.state.readOnly)&&e.key===`Enter`){let t=c.state.activeIndex;if(t==null)return;Od(e);let n=e.nativeEvent,r=c.state.listRef.current[t];r&&(c.state.selectionEventRef.current=n,r.click(),c.state.selectionEventRef.current=null)}},onKeyDownCapture(){c.state.keyboardActiveRef.current=!0},onPointerMoveCapture(){c.state.keyboardActiveRef.current=!1}},s]});return g?w:(0,Z.jsx)(xl,{elementsRef:c.state.listRef,labelsRef:f?void 0:c.state.labelsRef,children:w})}),xh=K.createContext(void 0);function Sh(){let e=K.useContext(xh);if(e===void 0)throw Error(Ol(20));return e}var Ch=K.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,i=Sm(),a=Q(i,$.mounted),o=Q(i,$.forceMounted);return a||n||o?(0,Z.jsx)(xh.Provider,{value:n,children:(0,Z.jsx)(op,{ref:t,...r})}):null}),wh=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0,offsetParent:p=`real`}=m(e,t)||{};if(l==null)return{};let g=d(u),_={x:n,y:r},v=h(i),y=f(v),b=await o.getDimensions(l),x=v===`y`,S=x?`top`:`left`,C=x?`bottom`:`right`,w=x?`clientHeight`:`clientWidth`,T=a.reference[y]+a.reference[v]-_[v]-a.floating[y],E=_[v]-a.reference[v],D=p===`real`?await o.getOffsetParent?.(l):s.floating,O=s.floating[w]||a.floating[y];(!O||!await o.isElement?.(D))&&(O=s.floating[w]||a.floating[y]);let k=T/2-E/2,A=O/2-b[y]/2-1,j=Math.min(g[S],A),M=Math.min(g[C],A),N=j,P=O-b[y]-M,te=O/2-b[y]/2+k,I=F(N,te,P),L=!c.arrow&&ee(i)!=null&&te!==I&&a.reference[y]/2-(te({...wh(e),options:[e,t]}),Eh={name:`hide`,async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,a=t===0&&n===0&&r===0&&i===0;return{data:{referenceHidden:(await j().fn(e)).data?.referenceHidden||a}}}},Dh={sideX:`left`,sideY:`top`};function Oh(e,t,n){let r=e===`inline-start`||e===`inline-end`;return{top:`top`,right:r?n?`inline-start`:`inline-end`:`right`,bottom:`bottom`,left:r?n?`inline-end`:`inline-start`:`left`}[t]}function kh(e,t,n){let{rects:r,placement:i}=e;return{side:Oh(t,p(i),n),align:ee(i)||`center`,anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function Ah(e){let{anchor:t,positionMethod:n=`absolute`,side:r=`bottom`,sideOffset:i=0,align:a=`center`,alignOffset:o=0,collisionBoundary:s,collisionPadding:c=5,sticky:l=!1,arrowPadding:u=5,disableAnchorTracking:d=!1,keepMounted:f=!1,floatingRootContext:m,mounted:h,collisionAvoidance:g,shiftCrossAxis:v=!1,nodeId:y,adaptiveOrigin:b,lazyFlip:x=!1,externalTree:S}=e,[C,D]=K.useState(null);!h&&C!==null&&D(null);let j=g.side||`flip`,N=g.align||`flip`,P=g.fallbackAxisSide||`end`,F=typeof t==`function`?t:void 0,te=Y(F),I=F?te:t,L=Mf(t),R=Mf(h),z=El()===`rtl`,ne=C||{top:`top`,right:`right`,bottom:`bottom`,left:`left`,"inline-end":z?`left`:`right`,"inline-start":z?`right`:`left`}[r],B=a===`center`?ne:`${ne}-${a}`,V=c,H=+(r===`bottom`),re=+(r===`top`),U=+(r===`right`),ie=+(r===`left`);typeof V==`number`?V={top:V+H,right:V+ie,bottom:V+re,left:V+U}:V&&={top:(V.top||0)+H,right:(V.right||0)+ie,bottom:(V.bottom||0)+re,left:(V.left||0)+U};let ae={boundary:s===`clipping-ancestors`?`clippingAncestors`:s,padding:V},W=K.useRef(null),oe=Mf(i),se=Mf(o),ce=[_(e=>{let t=kh(e,r,z),n=typeof oe.current==`function`?oe.current(t):oe.current,i=typeof se.current==`function`?se.current(t):se.current;return{mainAxis:n,crossAxis:i,alignmentAxis:i}},[typeof i==`function`?0:i,typeof o==`function`?0:o,z,r])],le=N===`none`&&j!==`shift`,ue=!le&&(l||v||j===`shift`),de=j===`none`?null:O({...ae,padding:{top:V.top+1,right:V.right+1,bottom:V.bottom+1,left:V.left+1},mainAxis:!v&&j===`flip`,crossAxis:N===`flip`?`alignment`:!1,fallbackAxisSideDirection:P}),fe=le?null:k(e=>{let t=Kd(e.elements.floating).documentElement;return{...ae,rootBoundary:v?{x:0,y:0,width:t.clientWidth,height:t.clientHeight}:void 0,mainAxis:N!==`none`,crossAxis:ue,limiter:l||v?void 0:w(e=>{if(!W.current)return{};let{width:t,height:n}=W.current.getBoundingClientRect(),r=T(p(e.placement)),i=r===`y`?t:n,a=r===`y`?V.left+V.right:V.top+V.bottom;return{offset:i/2+a/2}})}},[ae,l,v,V,N]);j===`shift`||N===`shift`||a===`center`?ce.push(fe,de):ce.push(de,fe),ce.push(M({...ae,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!R.current)return;let i=e.style;i.setProperty(`--available-width`,`${t}px`),i.setProperty(`--available-height`,`${n}px`);let a=A(e).devicePixelRatio||1,{x:o,y:s,width:c,height:l}=r.reference,u=(Math.round((o+c)*a)-Math.round(o*a))/a,d=(Math.round((s+l)*a)-Math.round(s*a))/a;i.setProperty(`--anchor-width`,`${u}px`),i.setProperty(`--anchor-height`,`${d}px`)}}),Th(()=>({element:W.current||Kd(W.current).createElement(`div`),padding:u,offsetParent:`floating`}),[u]),{name:`transformOrigin`,fn(e){let{elements:t,middlewareData:n,placement:a,rects:o,y:s}=e,c=p(a),l=T(c),u=W.current,d=n.arrow?.x||0,f=n.arrow?.y||0,m=u?.clientWidth||0,h=u?.clientHeight||0,g=d+m/2,_=f+h/2,v=Math.abs(n.shift?.y||0),y=o.reference.height/2,b=typeof i==`function`?i(kh(e,r,z)):i,x=v>b,S={top:`${g}px calc(100% + ${b}px)`,bottom:`${g}px ${-b}px`,left:`calc(100% + ${b}px) ${_}px`,right:`${-b}px ${_}px`}[c],C=`${g}px ${o.reference.y+y-s}px`;return t.floating.style.setProperty(`--transform-origin`,ue&&l===`y`&&x?C:S),{}}},Eh,b),X(()=>{!h&&m&&m.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[h,m]);let pe=K.useMemo(()=>({elementResize:!d&&typeof ResizeObserver<`u`,layoutShift:!d&&typeof IntersectionObserver<`u`}),[d]),{refs:me,elements:G,x:he,y:ge,middlewareData:_e,update:ve,placement:ye,context:be,isPositioned:xe,floatingStyles:Se}=Gp({rootContext:m,open:f?h:void 0,placement:B,middleware:ce,strategy:n,whileElementsMounted:f?void 0:(...e)=>E(...e,pe),nodeId:y,externalTree:S}),{sideX:Ce,sideY:we}=_e.adaptiveOrigin||Dh,Te=xe?n:`fixed`,q=K.useMemo(()=>{let e=b?{position:Te,[Ce]:he,[we]:ge}:{position:Te,...Se};return xe||(e.opacity=0),e},[b,Te,Ce,he,we,ge,Se,xe]),Ee=K.useRef(null);X(()=>{if(!h)return;let e=L.current,t=typeof e==`function`?e():e,n=(jh(t)?t.current:t)||null;n!==Ee.current&&(me.setPositionReference(n),Ee.current=n)},[h,me,I,L]),K.useEffect(()=>{if(!h)return;let e=L.current;typeof e!=`function`&&jh(e)&&e.current!==Ee.current&&(me.setPositionReference(e.current),Ee.current=e.current)},[h,me,I,L]),K.useEffect(()=>{if(f&&h&&G.domReference&&G.floating)return E(G.domReference,G.floating,ve,pe)},[f,h,G,ve,pe]);let De=p(ye),Oe=Oh(r,De,z),ke=ee(ye)||`center`,Ae=!!_e.hide?.referenceHidden;X(()=>{x&&h&&xe&&D(De)},[x,h,xe,De]);let je=K.useMemo(()=>({position:`absolute`,top:_e.arrow?.y,left:_e.arrow?.x}),[_e.arrow]),Me=_e.arrow?.centerOffset!==0;return K.useMemo(()=>({positionerStyles:q,arrowStyles:je,arrowRef:W,arrowUncentered:Me,side:Oe,align:ke,physicalSide:De,anchorHidden:Ae,refs:me,context:be,isPositioned:xe,update:ve}),[q,je,W,Me,Oe,ke,De,Ae,me,be,xe,ve])}function jh(e){return e!=null&&`current`in e}function Mh(e){return e===`starting`?$f:Vl}function Nh(e,t,{styles:n,transitionStatus:r,props:i,refs:a,hidden:o,inert:s=!1}){let c={...n};return s&&(c.pointerEvents=`none`),ou(`div`,e,{state:t,ref:a,props:[{role:`presentation`,hidden:o,style:c},Mh(r),i],stateAttributesMapping:hm})}var Ph=20;function Fh(e,t,n,r){let[i,a]=K.useState(!1);X(()=>{if(!e||!t||n==null){a(!1);return}let r=Kd(n).documentElement.clientWidth,i=n.offsetWidth;a(r>0&&i>0&&i>=r-Ph)},[e,t,n]),Af(e&&(!t||i),r)}var Ih=K.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a=`absolute`,side:o=`bottom`,align:s=`center`,sideOffset:c=0,alignOffset:l=0,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:m=!1,collisionAvoidance:h=ep,style:g,..._}=e,v=Sm(),{filteredItems:y}=wm(),b=Cm(),x=Sh(),S=Q(v,$.modal),C=Q(v,$.open),w=Q(v,$.mounted),T=Q(v,$.openMethod),E=Q(v,$.positionerElement),D=Q(v,$.triggerElement),O=Q(v,$.inputElement),k=Q(v,$.inputGroupElement),A=Q(v,$.inputInsidePopup),j=Q(v,$.transitionStatus),M=y.length===0,N=Ah({anchor:i??(A?D:k??O),floatingRootContext:b,positionMethod:a,mounted:w,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:f,collisionBoundary:u,collisionPadding:d,sticky:p,disableAnchorTracking:m,keepMounted:x,collisionAvoidance:h,lazyFlip:!0});Fh(C&&S,T===`touch`,E,D);let P={open:C,side:N.side,align:N.align,anchorHidden:N.anchorHidden,empty:M};X(()=>{v.set(`popupSide`,N.side)},[v,N.side]);let ee=Y(e=>{v.set(`positionerElement`,e)}),F=Nh(e,P,{styles:N.positionerStyles,transitionStatus:j,props:_,refs:[t,ee],hidden:!w,inert:!C});return(0,Z.jsxs)(dh.Provider,{value:N,children:[w&&S&&(0,Z.jsx)(_m,{inert:gm(!C),cutout:k??O??D}),F]})}),Lh={...hm,...Hu},Rh=K.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,c=Sm(),l=fh(),u=Cm(),{filteredItems:d}=wm(),f=Q(c,$.mounted),p=Q(c,$.open),m=Q(c,$.openMethod),h=Q(c,$.transitionStatus),g=Q(c,$.inputInsidePopup),_=Q(c,$.inputElement),v=Q(c,$.modal),y=d.length===0;_f({open:p,ref:c.state.popupRef,onComplete(){p&&c.state.onOpenChangeComplete(!0)}});let b=ou(`div`,e,{state:{open:p,side:l.side,align:l.align,anchorHidden:l.anchorHidden,transitionStatus:h,empty:y},ref:[t,c.state.popupRef],props:[{role:g?`dialog`:`presentation`,tabIndex:-1,onFocus(e){let t=bd(e.nativeEvent);m!==`touch`&&(yd(c.state.listElement,t)||t===e.currentTarget)&&c.state.inputRef.current?.focus()}},Mh(h),s],stateAttributesMapping:Lh}),x=a===void 0?g?e=>e===`touch`?c.state.popupRef.current:_:!1:a,S;S=o??(g?void 0:!1);let C=!g||v;return(0,Z.jsx)(bp,{context:u,disabled:!f,modal:C,openInteractionType:m,initialFocus:x,returnFocus:S,getInsideElements:()=>[c.state.startDismissRef.current,c.state.endDismissRef.current],children:(0,Z.jsxs)(K.Fragment,{children:[b,C&&(0,Z.jsx)(ph,{ref:c.state.endDismissRef})]})})}),zh=K.createContext(void 0);function Bh(){let e=K.useContext(zh);if(!e)throw Error(Ol(19));return e}var Vh=K.createContext(!1);function Hh(){return K.useContext(Vh)}var Uh=K.memo(K.forwardRef(function(e,t){let{render:n,className:r,value:i=null,index:a,disabled:o=!1,nativeButton:s=!1,style:c,...l}=e,u=K.useRef(!1),d=K.useRef(null),f=qu({index:a,textRef:d,indexGuessBehavior:Ku.GuessFromOrder}),p=Sm(),m=Hh(),{flatFilteredItems:h,hasItems:g}=wm(),_=Q(p,$.open),v=Q(p,$.selectionMode),y=Q(p,$.readOnly),b=Q(p,$.virtualized),x=Q(p,$.isItemEqualToValue),S=v!==`none`,C=a??(b?km(h,i,x):f.index),w=f.index!==-1,T=Q(p,$.id),E=Q(p,$.isActive,C),D=Q(p,$.isSelected,i),O=Q(p,$.getItemProps),k=K.useRef(null),A=T!=null&&w?`${T}-${C}`:void 0,j=D&&S;X(()=>{if(!(w&&(b||a!=null)))return;let e=p.state.listRef.current;return e[C]=k.current,()=>{delete e[C]}},[w,b,C,a,p]),X(()=>{if(!w||g)return;let e=p.state.valuesRef.current;return e[C]=i,v!==`none`&&p.state.allValuesRef.current.push(i),()=>{delete e[C]}},[w,g,C,i,p,v]),X(()=>{if(!_){u.current=!1;return}if(!w||g)return;let e=p.state.selectedValue;Dm(i,Array.isArray(e)?e[e.length-1]:e,x)&&p.set(`selectedIndex`,C)},[w,g,_,p,C,i,x]);let M={disabled:o,selected:j,highlighted:E},N=O({active:E,selected:j});N.id=void 0,N.onFocus=void 0;let{getButtonProps:P,buttonRef:ee}=Zu({disabled:o,focusableWhenDisabled:!0,native:s,composite:!0});function F(e){function t(){p.state.handleSelection(e,i)}p.state.submitOnItemClick?(Uu.flushSync(t),p.state.requestSubmit()):t()}let te={id:A,role:m?`gridcell`:`option`,"aria-selected":S?j:void 0,tabIndex:void 0,onPointerDownCapture(e){u.current=!0,e.preventDefault()},onMouseDown(e){e.preventDefault()},onClick(e){o||y||F(e.nativeEvent)},onMouseUp(e){let t=u.current;u.current=!1,!(o||y||e.button!==0||t||!E)&&F(e.nativeEvent)}},I=ou(`div`,e,{ref:[ee,t,f.ref,k],state:M,props:[N,te,l,P]}),L=K.useMemo(()=>({selected:j,textRef:d}),[j,d]);return(0,Z.jsx)(zh.Provider,{value:L,children:I})}));function Wh(e){let{multiple:t=!1,defaultValue:n,value:r,onValueChange:i,autoComplete:a,...o}=e;return(0,Z.jsx)(rh,{...o,selectionMode:t?`multiple`:`single`,selectedValue:r,defaultSelectedValue:n,onSelectedValueChange:i,formAutoComplete:a})}var Gh=K.forwardRef(function(e,t){let n=e.keepMounted??!1,{selected:r}=Bh();return n||r?(0,Z.jsx)(Kh,{...e,ref:t}):null}),Kh=K.memo(K.forwardRef((e,t)=>{let{render:n,className:r,style:i,keepMounted:a,...o}=e,{selected:s}=Bh(),c=K.useRef(null),{transitionStatus:l,setMounted:u}=Gu(s),d=ou(`span`,e,{ref:[t,c],state:{selected:s,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},o],stateAttributesMapping:Hu});return _f({open:s,ref:c,onComplete(){s||u(!1)}}),d}));function qh(e){let t=(0,Ce.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=I(`group/input-group relative flex w-full items-center rounded-md border border-input shadow-xs transition-[color,box-shadow] outline-none dark:bg-input/30`,`h-9 min-w-0 has-[>textarea]:h-auto`,`has-[>[data-align=inline-start]]:[&>input]:pl-2`,`has-[>[data-align=inline-end]]:[&>input]:pr-2`,`has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3`,`has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3`,`has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50`,`has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-destructive/20 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(`div`,{"data-slot":`input-group`,role:`group`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Jh=s(`flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4`,{variants:{align:{"inline-start":`order-first pl-3 has-[>button]:ml-[-0.45rem] has-[>kbd]:ml-[-0.35rem]`,"inline-end":`order-last pr-3 has-[>button]:mr-[-0.45rem] has-[>kbd]:mr-[-0.35rem]`,"block-start":`order-first w-full justify-start px-3 pt-3 group-has-[>input]/input-group:pt-2.5 [.border-b]:pb-3`,"block-end":`order-last w-full justify-start px-3 pb-3 group-has-[>input]/input-group:pb-2.5 [.border-t]:pt-3`}},defaultVariants:{align:`inline-start`}});function Yh(e){let t=(0,Ce.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,align:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`inline-start`:i,o;t[4]!==a||t[5]!==n?(o=I(Jh({align:a}),n),t[4]=a,t[5]=n,t[6]=o):o=t[6];let s;return t[7]!==a||t[8]!==r||t[9]!==o?(s=(0,Z.jsx)(`div`,{role:`group`,"data-slot":`input-group-addon`,"data-align":a,className:o,onClick:Xh,...r}),t[7]=a,t[8]=r,t[9]=o,t[10]=s):s=t[10],s}function Xh(e){e.target.closest(`button`)||e.currentTarget.parentElement?.querySelector(`input`)?.focus()}var Zh=s(`flex items-center gap-2 text-sm shadow-none`,{variants:{size:{xs:`h-6 gap-1 rounded-[calc(var(--radius)-5px)] px-2 has-[>svg]:px-2 [&>svg:not([class*='size-'])]:size-3.5`,sm:`h-8 gap-1.5 rounded-md px-2.5 has-[>svg]:px-2.5`,"icon-xs":`size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0`,"icon-sm":`size-8 p-0 has-[>svg]:p-0`}},defaultVariants:{size:`xs`}});function Qh(e){let t=(0,Ce.c)(15),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:n,type:i,variant:a,size:o,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=i===void 0?`button`:i,l=a===void 0?`ghost`:a,u=o===void 0?`xs`:o,d;t[6]!==n||t[7]!==u?(d=I(Zh({size:u}),n),t[6]=n,t[7]=u,t[8]=d):d=t[8];let f;return t[9]!==r||t[10]!==u||t[11]!==d||t[12]!==s||t[13]!==l?(f=(0,Z.jsx)(c,{type:s,"data-size":u,variant:l,className:d,...r}),t[9]=r,t[10]=u,t[11]=d,t[12]=s,t[13]=l,t[14]=f):f=t[14],f}function $h(e){let t=(0,Ce.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=I(`flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(le,{"data-slot":`input-group-control`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var eg=Wh;function tg(e){let t=(0,Ce.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=I(`[&_svg:not([class*='size-'])]:size-4`,r),t[4]=r,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Z.jsx)(z,{"data-slot":`combobox-trigger-icon`,className:`pointer-events-none size-4 text-muted-foreground`}),t[6]=o):o=t[6];let s;return t[7]!==n||t[8]!==i||t[9]!==a?(s=(0,Z.jsxs)(ch,{"data-slot":`combobox-trigger`,className:a,...i,children:[n,o]}),t[7]=n,t[8]=i,t[9]=a,t[10]=s):s=t[10],s}function ng(e){let t=(0,Ce.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Z.jsx)(Qh,{variant:`ghost`,size:`icon-xs`}),t[3]=i):i=t[3];let a;t[4]===n?a=t[5]:(a=I(n),t[4]=n,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Z.jsx)(l,{className:`pointer-events-none`}),t[6]=o):o=t[6];let s;return t[7]!==r||t[8]!==a?(s=(0,Z.jsx)(gh,{"data-slot":`combobox-clear`,render:i,className:a,...r,children:o}),t[7]=r,t[8]=a,t[9]=s):s=t[9],s}function rg(e){let t=(0,Ce.c)(28),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({className:r,children:n,disabled:a,showTrigger:o,showClear:s,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=a===void 0?!1:a,l=o===void 0?!0:o,u=s===void 0?!1:s,d;t[7]===r?d=t[8]:(d=I(`w-auto`,r),t[7]=r,t[8]=d);let f;t[9]===c?f=t[10]:(f=(0,Z.jsx)($h,{disabled:c}),t[9]=c,t[10]=f);let p;t[11]!==i||t[12]!==f?(p=(0,Z.jsx)(mh,{render:f,...i}),t[11]=i,t[12]=f,t[13]=p):p=t[13];let m;t[14]!==c||t[15]!==l?(m=l&&(0,Z.jsx)(Qh,{size:`icon-xs`,variant:`ghost`,asChild:!0,"data-slot":`input-group-button`,className:`group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent`,disabled:c,children:(0,Z.jsx)(tg,{})}),t[14]=c,t[15]=l,t[16]=m):m=t[16];let h;t[17]!==c||t[18]!==u?(h=u&&(0,Z.jsx)(ng,{disabled:c}),t[17]=c,t[18]=u,t[19]=h):h=t[19];let g;t[20]!==m||t[21]!==h?(g=(0,Z.jsxs)(Yh,{align:`inline-end`,children:[m,h]}),t[20]=m,t[21]=h,t[22]=g):g=t[22];let _;return t[23]!==n||t[24]!==d||t[25]!==p||t[26]!==g?(_=(0,Z.jsxs)(qh,{className:d,children:[p,g,n]}),t[23]=n,t[24]=d,t[25]=p,t[26]=g,t[27]=_):_=t[27],_}function ig(e){let t=(0,Ce.c)(21),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:r,side:a,sideOffset:o,align:s,alignOffset:c,anchor:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=a===void 0?`bottom`:a,u=o===void 0?6:o,d=s===void 0?`start`:s,f=c===void 0?0:c,p=!!n,m;t[8]===r?m=t[9]:(m=I(`group/combobox-content relative max-h-96 w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-md bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[chips=true]:min-w-(--anchor-width) data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:border-input/30 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:shadow-none data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,r),t[8]=r,t[9]=m);let h;t[10]!==i||t[11]!==p||t[12]!==m?(h=(0,Z.jsx)(Rh,{"data-slot":`combobox-content`,"data-chips":p,className:m,...i}),t[10]=i,t[11]=p,t[12]=m,t[13]=h):h=t[13];let g;return t[14]!==d||t[15]!==f||t[16]!==n||t[17]!==l||t[18]!==u||t[19]!==h?(g=(0,Z.jsx)(Ch,{children:(0,Z.jsx)(Ih,{side:l,sideOffset:u,align:d,alignOffset:f,anchor:n,className:`isolate z-50`,children:h})}),t[14]=d,t[15]=f,t[16]=n,t[17]=l,t[18]=u,t[19]=h,t[20]=g):g=t[20],g}function ag(e){let t=(0,Ce.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=I(`max-h-[min(calc(--spacing(96)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto p-1 data-empty:p-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(bh,{"data-slot":`combobox-list`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function og(e){let t=(0,Ce.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=I(`relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,r),t[4]=r,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Z.jsx)(Gh,{"data-slot":`combobox-item-indicator`,render:(0,Z.jsx)(`span`,{className:`pointer-events-none absolute right-2 flex size-4 items-center justify-center`}),children:(0,Z.jsx)(R,{className:`pointer-events-none size-4 pointer-coarse:size-5`})}),t[6]=o):o=t[6];let s;return t[7]!==n||t[8]!==i||t[9]!==a?(s=(0,Z.jsxs)(Uh,{"data-slot":`combobox-item`,className:a,...i,children:[n,o]}),t[7]=n,t[8]=i,t[9]=a,t[10]=s):s=t[10],s}var sg=[`npm`,`pnpm`,`yarn`,`bun`];function cg(e){let t=(0,Ce.c)(67),{options:n,baseUrl:r,className:i,onValueChange:a}=e,o=r===void 0?``:r,{selectedManager:s,setSelectedManager:l}=ie(),[u,d]=(0,K.useState)(n[0]?.value||``),[f,p]=(0,K.useState)(``),m;t[0]===f?m=t[1]:(m=e=>e.label.toLowerCase().includes(f.toLowerCase())||e.value.toLowerCase().includes(f.toLowerCase()),t[0]=f,t[1]=m);let h=n.filter(m),g;if(t[2]!==n||t[3]!==u){let e;t[5]===u?e=t[6]:(e=e=>e.value===u,t[5]=u,t[6]=e),g=n.find(e),t[2]=n,t[3]=u,t[4]=g}else g=t[4];let _=g,v={bun:`bunx --bun shadcn@latest add ${o}/r/${_?.code}.json`,npm:`npx shadcn@latest add ${o}/r/${_?.code}.json`,pnpm:`pnpm dlx shadcn@latest add ${o}/r/${_?.code}.json`,yarn:`yarn dlx shadcn@latest add ${o}/r/${_?.code}.json`},y=sg.filter(e=>v[e]),b=v[s]??``,{highlightedCode:x}=re(b,`bash`),{copy:S}=U(),[C,w]=(0,K.useState)(!1),T,E;t[7]===C?(T=t[8],E=t[9]):(T=()=>{if(C){let e=setTimeout(()=>{w(!1)},2e3);return()=>clearTimeout(e)}},E=[C],t[7]=C,t[8]=T,t[9]=E),(0,K.useEffect)(T,E);let D=async()=>{await S(b),ce.success(`${s} command copied to clipboard!`),w(!0)},O;t[10]===i?O=t[11]:(O=I(`group/package-manager relative min-w-0 rounded-lg border`,i),t[10]=i,t[11]=O);let k;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,Z.jsx)(ae,{className:`h-4 w-4 shrink-0 text-muted-foreground`}),t[12]=k):k=t[12];let A=W,j;t[13]===l?j=t[14]:(j=e=>l(e),t[13]=l,t[14]=j);let M=y.map(ug),N;t[15]!==A||t[16]!==s||t[17]!==j||t[18]!==M?(N=(0,Z.jsx)(`div`,{children:(0,Z.jsx)(A,{value:s,onChange:j,tabs:M,tabsClassName:`p-1 bg-primary/10 shrink-0`,activeTabClassName:`text-primary-foreground`,indicatorClassName:`bg-primary`,tabClassName:`px-2 py-1 text-xs font-medium `})}),t[15]=A,t[16]=s,t[17]=j,t[18]=M,t[19]=N):N=t[19];let P;t[20]!==N||t[21]!==k?(P=(0,Z.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-2`,children:[k,N]}),t[20]=N,t[21]=k,t[22]=P):P=t[22];let ee=eg,F;t[23]===a?F=t[24]:(F=e=>{e&&(d(e),a?.(e))},t[23]=a,t[24]=F);let te;t[25]!==n||t[26]!==u?(te=n.find(e=>e.value===u)?.label||`Select option...`,t[25]=n,t[26]=u,t[27]=te):te=t[27];let L;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(L=e=>p(e.target.value),t[28]=L):L=t[28];let z;t[29]!==f||t[30]!==te?(z=(0,Z.jsx)(rg,{placeholder:te,value:f,onChange:L,showTrigger:!0,showClear:!1,className:`h-8 max-w-42 min-w-0`}),t[29]=f,t[30]=te,t[31]=z):z=t[31];let B=ig,V=ag,H=h.map(lg),oe;t[32]!==V||t[33]!==H?(oe=(0,Z.jsx)(V,{children:H}),t[32]=V,t[33]=H,t[34]=oe):oe=t[34];let se;t[35]!==B||t[36]!==oe?(se=(0,Z.jsx)(B,{children:oe}),t[35]=B,t[36]=oe,t[37]=se):se=t[37];let le;t[38]!==ee||t[39]!==u||t[40]!==F||t[41]!==z||t[42]!==se?(le=(0,Z.jsxs)(ee,{value:u,onValueChange:F,children:[z,se]}),t[38]=ee,t[39]=u,t[40]=F,t[41]=z,t[42]=se,t[43]=le):le=t[43];let ue=C?`opacity-100`:`pointer-events-none opacity-0`,de;t[44]===ue?de=t[45]:(de=I(`text-xs text-green-500 transition-opacity duration-200`,ue),t[44]=ue,t[45]=de);let fe;t[46]===de?fe=t[47]:(fe=(0,Z.jsx)(`span`,{className:de,children:`Copied`}),t[46]=de,t[47]=fe);let pe;t[48]===C?pe=t[49]:(pe=C?(0,Z.jsx)(R,{className:`size-4`}):(0,Z.jsx)(ne,{className:`size-4`}),t[48]=C,t[49]=pe);let me;t[50]===Symbol.for(`react.memo_cache_sentinel`)?(me=(0,Z.jsx)(`span`,{className:`sr-only`,children:`Copy`}),t[50]=me):me=t[50];let G;t[51]!==D||t[52]!==pe?(G=(0,Z.jsxs)(c,{variant:`ghost`,size:`icon`,onClick:D,className:`transition-opacity hover:opacity-100`,children:[pe,me]}),t[51]=D,t[52]=pe,t[53]=G):G=t[53];let he;t[54]!==fe||t[55]!==G?(he=(0,Z.jsxs)(`div`,{className:`flex w-22 items-center justify-end gap-1`,children:[fe,G]}),t[54]=fe,t[55]=G,t[56]=he):he=t[56];let ge;t[57]!==P||t[58]!==le||t[59]!==he?(ge=(0,Z.jsxs)(`div`,{className:`flex items-center justify-between border-b bg-muted/50 px-3 py-2`,children:[P,le,he]}),t[57]=P,t[58]=le,t[59]=he,t[60]=ge):ge=t[60];let _e;t[61]===x?_e=t[62]:(_e=(0,Z.jsx)(`div`,{className:`max-w-full min-w-0 overflow-x-auto p-3`,children:(0,Z.jsx)(`pre`,{className:`m-0! w-full min-w-0 rounded-none! bg-transparent! font-mono! text-sm leading-relaxed`,children:(0,Z.jsx)(`code`,{className:`pr-6`,"data-language":`bash`,suppressHydrationWarning:!0,children:(0,Z.jsx)(`span`,{dangerouslySetInnerHTML:{__html:x}})})})}),t[61]=x,t[62]=_e);let ve;return t[63]!==ge||t[64]!==_e||t[65]!==O?(ve=(0,Z.jsxs)(`div`,{className:O,children:[ge,_e]}),t[63]=ge,t[64]=_e,t[65]=O,t[66]=ve):ve=t[66],ve}function lg(e){return(0,Z.jsx)(og,{value:e.value,children:e.label},e.value)}function ug(e){return{id:e,label:e}}ja.registerPlugin(nl);function dg(e){let n=(0,Ce.c)(28),{animations:r,categories:i}=e,{url:a}=t().props,[o,s]=(0,K.useState)(r[0]?.name??`animate-bounce`),c;n[0]===r?c=n[1]:(c=r.map(pg),n[0]=r,n[1]=c);let l=c,u;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,Z.jsx)(ue,{as:`h1`,title:`Animate.css Animations`,description:`Click any animation card to view and copy the code. 100+ - CSS-based animations available.`}),n[2]=u):u=n[2];let d;n[3]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Z.jsx)(ue,{as:`h2`,title:`About`,description:`is a library of CSS animations that you can use directly in - your components. Simply add the animation class name to any - element to animate it.`}),n[3]=d):d=n[3];let f,p;n[4]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Z.jsxs)(`ul`,{className:`mb-6 list-disc pl-6 text-muted-foreground`,children:[(0,Z.jsx)(`li`,{children:`100+ built-in animation types`}),(0,Z.jsx)(`li`,{children:`Simple CSS class-based animations`}),(0,Z.jsx)(`li`,{children:`Works with any HTML element`}),(0,Z.jsx)(`li`,{children:`Fully customizable duration and timing`}),(0,Z.jsx)(`li`,{children:`Repeat and loop support`}),(0,Z.jsx)(`li`,{children:`Works with Tailwind CSS`})]}),p=(0,Z.jsx)(`h2`,{className:`mt-8 mb-2 text-2xl font-semibold text-foreground`,children:`Installation`}),n[4]=f,n[5]=p):(f=n[4],p=n[5]);let m=a,h;n[6]!==l||n[7]!==m?(h=(0,Z.jsx)(cg,{className:`my-4`,options:l,baseUrl:m,onValueChange:s}),n[6]=l,n[7]=m,n[8]=h):h=n[8];let g;n[9]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,Z.jsx)(`h2`,{className:`mt-8 mb-4 text-2xl font-semibold text-foreground`,children:`Usage`}),n[9]=g):g=n[9];let _;n[10]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,Z.jsx)(`h3`,{className:`mb-2 text-lg font-medium text-foreground`,children:`Basic Usage`}),n[10]=_):_=n[10];let v=`
- Bouncing Content -
`,y;n[11]===v?y=n[12]:(y=(0,Z.jsx)(`div`,{className:`space-y-4`,children:(0,Z.jsxs)(`div`,{children:[_,(0,Z.jsx)(be,{language:`html`,code:v})]})}),n[11]=v,n[12]=y);let b,x,S,C;n[13]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,Z.jsx)(`h2`,{className:`mt-8 mb-2 text-2xl font-semibold text-foreground`,children:`Installation all animations`}),x=(0,Z.jsx)(oe,{code:`animate-css/animate-all`}),S=(0,Z.jsx)(`h2`,{className:`mt-8 mb-4 text-2xl font-semibold text-foreground`,children:`Code Examples`}),C=(0,Z.jsx)(`p`,{className:`text-balance text-muted-foreground`,children:`Click on any animation card below to view and copy the code.`}),n[13]=b,n[14]=x,n[15]=S,n[16]=C):(b=n[13],x=n[14],S=n[15],C=n[16]);let w;n[17]!==y||n[18]!==h?(w=(0,Z.jsxs)(`div`,{className:`mb-12`,children:[d,f,p,h,g,y,b,x,S,C]}),n[17]=y,n[18]=h,n[19]=w):w=n[19];let T;if(n[20]!==r||n[21]!==i){let e;n[23]===r?e=n[24]:(e=e=>(0,Z.jsxs)(`section`,{className:`mb-12`,children:[(0,Z.jsx)(`h2`,{className:`mb-6 text-2xl font-semibold text-foreground`,children:e}),(0,Z.jsx)(`div`,{className:`grid grid-cols-2 gap-4 md:grid-cols-3`,children:r.filter(t=>t.category===e&&t.name!==`animate-all`).map(fg)})]},e),n[23]=r,n[24]=e),T=i.map(e),n[20]=r,n[21]=i,n[22]=T}else T=n[22];let E;return n[25]!==w||n[26]!==T?(E=(0,Z.jsxs)(H,{className:`pt-4`,children:[u,w,T]}),n[25]=w,n[26]=T,n[27]=E):E=n[27],E}function fg(e){return(0,Z.jsx)(mg,{anim:e},e.name)}function pg(e){return{value:e.name,label:e.text,code:`animate-css/`+e.name}}dg.layout=V;function mg(e){let t=(0,Ce.c)(45),{anim:n}=e,r=`
`,i=` ${n.text}`,a;t[0]!==r||t[1]!==i?(a=[r,i,`
`],t[0]=r,t[1]=i,t[2]=a):a=t[2];let o=a.join(` -`),s=(0,K.useRef)(null),l=(0,K.useRef)(null),{copy:u}=U(),d,f;t[3]===n.name?(d=t[4],f=t[5]):(d=()=>{l.current&&s.current&&nl.create({trigger:s.current,start:`top 80%`,end:`bottom 20%`,onEnter:()=>l.current?.classList.add(n.name),onLeave:()=>l.current?.classList.remove(n.name),onEnterBack:()=>l.current?.classList.add(n.name),onLeaveBack:()=>l.current?.classList.remove(n.name),markers:!1})},f=[n.name],t[3]=n.name,t[4]=d,t[5]=f),La(d,f);let p;t[6]===n.title?p=t[7]:(p=(0,Z.jsx)(de,{children:(0,Z.jsx)(pe,{className:`flex items-baseline justify-between overflow-clip capitalize`,children:(0,Z.jsx)(`span`,{children:n.title})})}),t[6]=n.title,t[7]=p);let m;t[8]===n.text?m=t[9]:(m=(0,Z.jsx)(fe,{className:`aspect-video overflow-hidden`,children:(0,Z.jsx)(`div`,{className:`grid aspect-video max-w-full place-items-center overflow-clip rounded-md bg-radial from-muted to-muted/50 text-center font-bebas-neue! text-sm text-[clamp(1.5rem,10vw+2rem,3rem)] font-medium text-foreground/40 transition-all delay-300 group-hover:repeat-infinite!`,children:(0,Z.jsx)(`div`,{ref:l,children:n.text})})}),t[8]=n.text,t[9]=m);let h;t[10]!==p||t[11]!==m?(h=(0,Z.jsx)(G,{asChild:!0,children:(0,Z.jsxs)(me,{ref:s,className:`group cursor-pointer transition-colors hover:bg-muted/50`,children:[p,m]})}),t[10]=p,t[11]=m,t[12]=h):h=t[12];let g;t[13]===n.name?g=t[14]:(g=n.name.replace(`animate-`,``),t[13]=n.name,t[14]=g);let _;t[15]===g?_=t[16]:(_=(0,Z.jsx)(ve,{className:`capitalize`,children:g}),t[15]=g,t[16]=_);let v;t[17]===n.category?v=t[18]:(v=(0,Z.jsxs)(he,{children:[`Animation type: `,n.category]}),t[17]=n.category,t[18]=v);let y;t[19]!==_||t[20]!==v?(y=(0,Z.jsxs)(ge,{children:[_,v]}),t[19]=_,t[20]=v,t[21]=y):y=t[21];let b=`grid aspect-video w-full place-items-center text-center font-bebas-neue text-[clamp(0.75rem,9vw+2rem,5rem)] font-medium delay-1000 ${n.name} repeat-infinite`,x;t[22]!==n.text||t[23]!==b?(x=(0,Z.jsx)(`div`,{className:b,children:n.text}),t[22]=n.text,t[23]=b,t[24]=x):x=t[24];let S;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,Z.jsx)(c,{variant:`ghost`,size:`icon`,children:(0,Z.jsx)(Se,{className:`size-4`})}),t[25]=S):S=t[25];let C;t[26]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,Z.jsx)(c,{variant:`ghost`,size:`icon`,children:(0,Z.jsx)(B,{className:`size-4`})}),t[26]=C):C=t[26];let w;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,Z.jsx)(`div`,{className:`absolute inset-y-0 right-0 border-l border-border/25 bg-background/10 backdrop-blur-sm`,children:(0,Z.jsxs)(`div`,{className:`sticky top-0 flex shrink-0 flex-col items-center justify-start space-y-4 p-4`,children:[S,C,(0,Z.jsx)(c,{variant:`ghost`,size:`icon`,children:(0,Z.jsx)(xe,{className:`size-4`})})]})}),t[27]=w):w=t[27];let T;t[28]===x?T=t[29]:(T=(0,Z.jsx)(`div`,{className:`flex items-start rounded-md border border-border bg-card/30`,children:(0,Z.jsxs)(`div`,{className:`relative flex-1 overflow-hidden rounded-md bg-radial from-muted to-muted/50 py-8`,children:[x,w]})}),t[28]=x,t[29]=T);let E=`animate-css/${n.name}`,D;t[30]===E?D=t[31]:(D=(0,Z.jsx)(oe,{code:E}),t[30]=E,t[31]=D);let O;t[32]===o?O=t[33]:(O=(0,Z.jsx)(be,{variant:`default`,language:`html`,code:o,showCopyButton:!0}),t[32]=o,t[33]=O);let k;t[34]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,Z.jsx)(`div`,{"aria-hidden":!0,className:`pointer-events-none sticky inset-x-0 -bottom-8 h-20 bg-linear-0 from-background to-transparent`}),t[34]=k):k=t[34];let A;t[35]!==T||t[36]!==D||t[37]!==O?(A=(0,Z.jsxs)(`div`,{className:`no-scrollbar relative -mx-4 max-h-[60vh] [scrollbar-width:none] space-y-4 overflow-y-auto px-4 pt-1 pb-4 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden`,children:[T,D,O,k]}),t[35]=T,t[36]=D,t[37]=O,t[38]=A):A=t[38];let j;t[39]!==y||t[40]!==A?(j=(0,Z.jsxs)(_e,{className:`max-h-[80vh] w-full sm:max-w-3xl`,children:[y,A]}),t[39]=y,t[40]=A,t[41]=j):j=t[41];let M;return t[42]!==j||t[43]!==h?(M=(0,Z.jsxs)(ye,{children:[h,j]}),t[42]=j,t[43]=h,t[44]=M):M=t[44],M}export{dg as default}; \ No newline at end of file diff --git a/public/build/assets/app-D7ZTkNic.js b/public/build/assets/app-D7ZTkNic.js deleted file mode 100644 index 771e6b3..0000000 --- a/public/build/assets/app-D7ZTkNic.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/animate-css-DKvealyV.js","assets/wayfinder-DGNmxDkm.js","assets/floating-ui.react-dom-DuoUqJja.js","assets/button-Dnfc0p4v.js","assets/createLucideIcon-C5RzLdeU.js","assets/dist-pNDkDpUt.js","assets/dist-DkpcB3Hx.js","assets/main-layout-BJ0kmSsb.js","assets/check-h5bDkP1T.js","assets/github-o-Azl6zG.js","assets/sun-BjqZX6Kk.js","assets/placeholder-pattern-Cshm3y5d.js","assets/use-appearance-QmpypXC6.js","assets/main-registry-installer-CZTj2Evv.js","assets/copy-C1-jVkjV.js","assets/chevron-down-JaoNNKy_.js","assets/heart-TmRvZm7r.js","assets/shim-DohLtPjK.js","assets/card-gSkeg5Iw.js","assets/dialog-CgJmQ2_H.js","assets/textarea-CtmiFXkJ.js","assets/confirm-password-McieLPbR.js","assets/label-B7tz5f5X.js","assets/dist-BUiwxAsu.js","assets/password-input-B7lWK_x4.js","assets/input-error-C2eP__MC.js","assets/spinner-DkjOSfno.js","assets/loader-circle-x6RGWI8d.js","assets/confirm-BccF1kdf.js","assets/forgot-password-CAdW6lWH.js","assets/text-link-DeHc-DyP.js","assets/password-D2d0n4-i.js","assets/login-BeDcfjIp.js","assets/checkbox-ChEujvy-.js","assets/dist-CaXsKxmI.js","assets/socialite-Dj_w8xs5.js","assets/register-D3EeM3dT.js","assets/reset-password-BR7tvV80.js","assets/two-factor-challenge-CGEErSW_.js","assets/use-two-factor-auth-DDzjzl9Y.js","assets/verify-email-aCevutg7.js","assets/verification-C-OePIcE.js","assets/dashboard-D7f7mapW.js","assets/fonts-CuGAF-ps.js","assets/badge-CJhhYWaN.js","assets/home-C_IOam5p.js","assets/main-editor-block-l3z4VSEw.js","assets/use-clipboard-CYcV3HSX.js","assets/select-Bs5ixj0g.js","assets/dist-G41QdS4G.js","assets/appearance-C7UEWifC.js","assets/profile-BJaEZKpb.js","assets/security-uma_Il6p.js","assets/themes-ukhsZa4u.js","assets/show-CitGWGXA.js"])))=>i.map(i=>d[i]); -import{c as e,f as t,g as n,h as r,i,l as a,m as o,n as s,p as c,r as l,x as u}from"./wayfinder-DGNmxDkm.js";import{n as d,t as f}from"./use-appearance-QmpypXC6.js";import{i as p,n as m,r as h,t as g}from"./dist-DkpcB3Hx.js";import{a as _,n as v,o as y,r as b,t as x}from"./button-Dnfc0p4v.js";import{_ as S,a as C,c as w,d as T,f as E,g as D,h as O,i as k,l as A,m as ee,n as j,o as M,p as te,r as N,s as P,t as ne,u as re}from"./dist-pNDkDpUt.js";import{a as ie,c as ae,i as oe,l as se,n as ce,o as le,r as ue,s as de,t as fe}from"./floating-ui.react-dom-DuoUqJja.js";import{n as F,r as I,t as L}from"./createLucideIcon-C5RzLdeU.js";import{t as pe}from"./dist-BUiwxAsu.js";import{n as me,t as he}from"./dist-G41QdS4G.js";import{t as ge}from"./shim-DohLtPjK.js";var R=i(),z=u(o(),1),_e=u(c(),1);function ve(e){if(!e||typeof document>`u`)return;let t=document.head||document.getElementsByTagName(`head`)[0],n=document.createElement(`style`);n.type=`text/css`,t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}var ye=e=>{switch(e){case`success`:return Se;case`info`:return we;case`warning`:return Ce;case`error`:return Te;default:return null}},be=Array(12).fill(0),xe=({visible:e,className:t})=>z.createElement(`div`,{className:[`sonner-loading-wrapper`,t].filter(Boolean).join(` `),"data-visible":e},z.createElement(`div`,{className:`sonner-spinner`},be.map((e,t)=>z.createElement(`div`,{className:`sonner-loading-bar`,key:`spinner-bar-${t}`})))),Se=z.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},z.createElement(`path`,{fillRule:`evenodd`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`,clipRule:`evenodd`})),Ce=z.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`},z.createElement(`path`,{fillRule:`evenodd`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`,clipRule:`evenodd`})),we=z.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},z.createElement(`path`,{fillRule:`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`,clipRule:`evenodd`})),Te=z.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},z.createElement(`path`,{fillRule:`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`,clipRule:`evenodd`})),Ee=z.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`},z.createElement(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),z.createElement(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})),De=()=>{let[e,t]=z.useState(document.hidden);return z.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener(`visibilitychange`,e),()=>window.removeEventListener(`visibilitychange`,e)},[]),e},Oe=1,B=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{let{message:t,...n}=e,r=typeof e?.id==`number`||e.id?.length>0?e.id:Oe++,i=this.toasts.find(e=>e.id===r),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n):this.addToast({title:t,...n,dismissible:a,id:r}),r},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:`error`}),this.success=(e,t)=>this.create({...t,type:`success`,message:e}),this.info=(e,t)=>this.create({...t,type:`info`,message:e}),this.warning=(e,t)=>this.create({...t,type:`warning`,message:e}),this.loading=(e,t)=>this.create({...t,type:`loading`,message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=Promise.resolve(e instanceof Function?e():e),i=n!==void 0,a,o=r.then(async e=>{if(a=[`resolve`,e],z.isValidElement(e))i=!1,this.create({id:n,type:`default`,message:e});else if(Ae(e)&&!e.ok){i=!1;let r=typeof t.error==`function`?await t.error(`HTTP error! status: ${e.status}`):t.error,a=typeof t.description==`function`?await t.description(`HTTP error! status: ${e.status}`):t.description,o=typeof r==`object`&&!z.isValidElement(r)?r:{message:r};this.create({id:n,type:`error`,description:a,...o})}else if(e instanceof Error){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!z.isValidElement(r)?r:{message:r};this.create({id:n,type:`error`,description:a,...o})}else if(t.success!==void 0){i=!1;let r=typeof t.success==`function`?await t.success(e):t.success,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!z.isValidElement(r)?r:{message:r};this.create({id:n,type:`success`,description:a,...o})}}).catch(async e=>{if(a=[`reject`,e],t.error!==void 0){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!z.isValidElement(r)?r:{message:r};this.create({id:n,type:`error`,description:a,...o})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),t.finally==null||t.finally.call(t)}),s=()=>new Promise((e,t)=>o.then(()=>a[0]===`reject`?t(a[1]):e(a[1])).catch(t));return typeof n!=`string`&&typeof n!=`number`?{unwrap:s}:Object.assign(n,{unwrap:s})},this.custom=(e,t)=>{let n=t?.id||Oe++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},ke=(e,t)=>{let n=t?.id||Oe++;return B.addToast({title:e,...t,id:n}),n},Ae=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,je=Object.assign(ke,{success:B.success,info:B.info,warning:B.warning,error:B.error,custom:B.custom,message:B.message,promise:B.promise,dismiss:B.dismiss,loading:B.loading},{getHistory:()=>B.toasts,getToasts:()=>B.getActiveToasts()});ve(`[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}`);function Me(e){return e.label!==void 0}var Ne=3,Pe=`24px`,Fe=`16px`,Ie=4e3,Le=356,Re=14,ze=45,Be=200;function Ve(...e){return e.filter(Boolean).join(` `)}function He(e){let[t,n]=e.split(`-`),r=[];return t&&r.push(t),n&&r.push(n),r}var Ue=e=>{let{invert:t,toast:n,unstyled:r,interacting:i,setHeights:a,visibleToasts:o,heights:s,index:c,toasts:l,expanded:u,removeToast:d,defaultRichColors:f,closeButton:p,style:m,cancelButtonStyle:h,actionButtonStyle:g,className:_=``,descriptionClassName:v=``,duration:y,position:b,gap:x,expandByDefault:S,classNames:C,icons:w,closeButtonAriaLabel:T=`Close toast`}=e,[E,D]=z.useState(null),[O,k]=z.useState(null),[A,ee]=z.useState(!1),[j,M]=z.useState(!1),[te,N]=z.useState(!1),[P,ne]=z.useState(!1),[re,ie]=z.useState(!1),[ae,oe]=z.useState(0),[se,ce]=z.useState(0),le=z.useRef(n.duration||y||Ie),ue=z.useRef(null),de=z.useRef(null),fe=c===0,F=c+1<=o,I=n.type,L=n.dismissible!==!1,pe=n.className||``,me=n.descriptionClassName||``,he=z.useMemo(()=>s.findIndex(e=>e.toastId===n.id)||0,[s,n.id]),ge=z.useMemo(()=>n.closeButton??p,[n.closeButton,p]),R=z.useMemo(()=>n.duration||y||Ie,[n.duration,y]),_e=z.useRef(0),ve=z.useRef(0),be=z.useRef(0),Se=z.useRef(null),[Ce,we]=b.split(`-`),Te=z.useMemo(()=>s.reduce((e,t,n)=>n>=he?e:e+t.height,0),[s,he]),Oe=De(),B=n.invert||t,ke=I===`loading`;ve.current=z.useMemo(()=>he*x+Te,[he,Te]),z.useEffect(()=>{le.current=R},[R]),z.useEffect(()=>{ee(!0)},[]),z.useEffect(()=>{let e=de.current;if(e){let t=e.getBoundingClientRect().height;return ce(t),a(e=>[{toastId:n.id,height:t,position:n.position},...e]),()=>a(e=>e.filter(e=>e.toastId!==n.id))}},[a,n.id]),z.useLayoutEffect(()=>{if(!A)return;let e=de.current,t=e.style.height;e.style.height=`auto`;let r=e.getBoundingClientRect().height;e.style.height=t,ce(r),a(e=>e.find(e=>e.toastId===n.id)?e.map(e=>e.toastId===n.id?{...e,height:r}:e):[{toastId:n.id,height:r,position:n.position},...e])},[A,n.title,n.description,a,n.id,n.jsx,n.action,n.cancel]);let Ae=z.useCallback(()=>{M(!0),oe(ve.current),a(e=>e.filter(e=>e.toastId!==n.id)),setTimeout(()=>{d(n)},Be)},[n,d,a,ve]);z.useEffect(()=>{if(n.promise&&I===`loading`||n.duration===1/0||n.type===`loading`)return;let e;return u||i||Oe?(()=>{if(be.current<_e.current){let e=new Date().getTime()-_e.current;le.current-=e}be.current=new Date().getTime()})():le.current!==1/0&&(_e.current=new Date().getTime(),e=setTimeout(()=>{n.onAutoClose==null||n.onAutoClose.call(n,n),Ae()},le.current)),()=>clearTimeout(e)},[u,i,n,I,Oe,Ae]),z.useEffect(()=>{n.delete&&(Ae(),n.onDismiss==null||n.onDismiss.call(n,n))},[Ae,n.delete]);function je(){return w?.loading?z.createElement(`div`,{className:Ve(C?.loader,n?.classNames?.loader,`sonner-loader`),"data-visible":I===`loading`},w.loading):z.createElement(xe,{className:Ve(C?.loader,n?.classNames?.loader),visible:I===`loading`})}let Ne=n.icon||w?.[I]||ye(I);return z.createElement(`li`,{tabIndex:0,ref:de,className:Ve(_,pe,C?.toast,n?.classNames?.toast,C?.default,C?.[I],n?.classNames?.[I]),"data-sonner-toast":``,"data-rich-colors":n.richColors??f,"data-styled":!(n.jsx||n.unstyled||r),"data-mounted":A,"data-promise":!!n.promise,"data-swiped":re,"data-removed":j,"data-visible":F,"data-y-position":Ce,"data-x-position":we,"data-index":c,"data-front":fe,"data-swiping":te,"data-dismissible":L,"data-type":I,"data-invert":B,"data-swipe-out":P,"data-swipe-direction":O,"data-expanded":!!(u||S&&A),"data-testid":n.testId,style:{"--index":c,"--toasts-before":c,"--z-index":l.length-c,"--offset":`${j?ae:ve.current}px`,"--initial-height":S?`auto`:`${se}px`,...m,...n.style},onDragEnd:()=>{N(!1),D(null),Se.current=null},onPointerDown:e=>{e.button!==2&&(ke||!L||(ue.current=new Date,oe(ve.current),e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(N(!0),Se.current={x:e.clientX,y:e.clientY})))},onPointerUp:()=>{if(P||!L)return;Se.current=null;let e=Number(de.current?.style.getPropertyValue(`--swipe-amount-x`).replace(`px`,``)||0),t=Number(de.current?.style.getPropertyValue(`--swipe-amount-y`).replace(`px`,``)||0),r=new Date().getTime()-ue.current?.getTime(),i=E===`x`?e:t,a=Math.abs(i)/r;if(Math.abs(i)>=ze||a>.11){oe(ve.current),n.onDismiss==null||n.onDismiss.call(n,n),k(E===`x`?e>0?`right`:`left`:t>0?`down`:`up`),Ae(),ne(!0);return}else{var o,s;(o=de.current)==null||o.style.setProperty(`--swipe-amount-x`,`0px`),(s=de.current)==null||s.style.setProperty(`--swipe-amount-y`,`0px`)}ie(!1),N(!1),D(null)},onPointerMove:t=>{var n,r;if(!Se.current||!L||window.getSelection()?.toString().length>0)return;let i=t.clientY-Se.current.y,a=t.clientX-Se.current.x,o=e.swipeDirections??He(b);!E&&(Math.abs(a)>1||Math.abs(i)>1)&&D(Math.abs(a)>Math.abs(i)?`x`:`y`);let s={x:0,y:0},c=e=>1/(1.5+Math.abs(e)/20);if(E===`y`){if(o.includes(`top`)||o.includes(`bottom`))if(o.includes(`top`)&&i<0||o.includes(`bottom`)&&i>0)s.y=i;else{let e=i*c(i);s.y=Math.abs(e)0)s.x=a;else{let e=a*c(a);s.x=Math.abs(e)0||Math.abs(s.y)>0)&&ie(!0),(n=de.current)==null||n.style.setProperty(`--swipe-amount-x`,`${s.x}px`),(r=de.current)==null||r.style.setProperty(`--swipe-amount-y`,`${s.y}px`)}},ge&&!n.jsx&&I!==`loading`?z.createElement(`button`,{"aria-label":T,"data-disabled":ke,"data-close-button":!0,onClick:ke||!L?()=>{}:()=>{Ae(),n.onDismiss==null||n.onDismiss.call(n,n)},className:Ve(C?.closeButton,n?.classNames?.closeButton)},w?.close??Ee):null,(I||n.icon||n.promise)&&n.icon!==null&&(w?.[I]!==null||n.icon)?z.createElement(`div`,{"data-icon":``,className:Ve(C?.icon,n?.classNames?.icon)},n.promise||n.type===`loading`&&!n.icon?n.icon||je():null,n.type===`loading`?null:Ne):null,z.createElement(`div`,{"data-content":``,className:Ve(C?.content,n?.classNames?.content)},z.createElement(`div`,{"data-title":``,className:Ve(C?.title,n?.classNames?.title)},n.jsx?n.jsx:typeof n.title==`function`?n.title():n.title),n.description?z.createElement(`div`,{"data-description":``,className:Ve(v,me,C?.description,n?.classNames?.description)},typeof n.description==`function`?n.description():n.description):null),z.isValidElement(n.cancel)?n.cancel:n.cancel&&Me(n.cancel)?z.createElement(`button`,{"data-button":!0,"data-cancel":!0,style:n.cancelButtonStyle||h,onClick:e=>{Me(n.cancel)&&L&&(n.cancel.onClick==null||n.cancel.onClick.call(n.cancel,e),Ae())},className:Ve(C?.cancelButton,n?.classNames?.cancelButton)},n.cancel.label):null,z.isValidElement(n.action)?n.action:n.action&&Me(n.action)?z.createElement(`button`,{"data-button":!0,"data-action":!0,style:n.actionButtonStyle||g,onClick:e=>{Me(n.action)&&(n.action.onClick==null||n.action.onClick.call(n.action,e),!e.defaultPrevented&&Ae())},className:Ve(C?.actionButton,n?.classNames?.actionButton)},n.action.label):null)};function We(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e===`auto`||!e?window.getComputedStyle(document.documentElement).direction:e}function Ge(e,t){let n={};return[e,t].forEach((e,t)=>{let r=t===1,i=r?`--mobile-offset`:`--offset`,a=r?Fe:Pe;function o(e){[`top`,`right`,`bottom`,`left`].forEach(t=>{n[`${i}-${t}`]=typeof e==`number`?`${e}px`:e})}typeof e==`number`||typeof e==`string`?o(e):typeof e==`object`?[`top`,`right`,`bottom`,`left`].forEach(t=>{e[t]===void 0?n[`${i}-${t}`]=a:n[`${i}-${t}`]=typeof e[t]==`number`?`${e[t]}px`:e[t]}):o(a)}),n}var Ke=z.forwardRef(function(e,t){let{id:n,invert:r,position:i=`bottom-right`,hotkey:a=[`altKey`,`KeyT`],expand:o,closeButton:s,className:c,offset:l,mobileOffset:u,theme:d=`light`,richColors:f,duration:p,style:m,visibleToasts:h=Ne,toastOptions:g,dir:_=We(),gap:v=Re,icons:y,containerAriaLabel:b=`Notifications`}=e,[x,S]=z.useState([]),C=z.useMemo(()=>n?x.filter(e=>e.toasterId===n):x.filter(e=>!e.toasterId),[x,n]),w=z.useMemo(()=>Array.from(new Set([i].concat(C.filter(e=>e.position).map(e=>e.position)))),[C,i]),[T,E]=z.useState([]),[D,O]=z.useState(!1),[k,A]=z.useState(!1),[ee,j]=z.useState(d===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:d),M=z.useRef(null),te=a.join(`+`).replace(/Key/g,``).replace(/Digit/g,``),N=z.useRef(null),P=z.useRef(!1),ne=z.useCallback(e=>{S(t=>(t.find(t=>t.id===e.id)?.delete||B.dismiss(e.id),t.filter(({id:t})=>t!==e.id)))},[]);return z.useEffect(()=>B.subscribe(e=>{if(e.dismiss){requestAnimationFrame(()=>{S(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t))});return}setTimeout(()=>{_e.flushSync(()=>{S(t=>{let n=t.findIndex(t=>t.id===e.id);return n===-1?[e,...t]:[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]})})})}),[x]),z.useEffect(()=>{if(d!==`system`){j(d);return}if(d===`system`&&(window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?j(`dark`):j(`light`)),typeof window>`u`)return;let e=window.matchMedia(`(prefers-color-scheme: dark)`);try{e.addEventListener(`change`,({matches:e})=>{j(e?`dark`:`light`)})}catch{e.addListener(({matches:e})=>{try{j(e?`dark`:`light`)}catch(e){console.error(e)}})}},[d]),z.useEffect(()=>{x.length<=1&&O(!1)},[x]),z.useEffect(()=>{let e=e=>{if(a.every(t=>e[t]||e.code===t)){var t;O(!0),(t=M.current)==null||t.focus()}e.code===`Escape`&&(document.activeElement===M.current||M.current?.contains(document.activeElement))&&O(!1)};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[a]),z.useEffect(()=>{if(M.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,P.current=!1)}},[M.current]),z.createElement(`section`,{ref:t,"aria-label":`${b} ${te}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`,suppressHydrationWarning:!0},w.map((t,n)=>{let[i,a]=t.split(`-`);return C.length?z.createElement(`ol`,{key:t,dir:_===`auto`?We():_,tabIndex:-1,ref:M,className:c,"data-sonner-toaster":!0,"data-sonner-theme":ee,"data-y-position":i,"data-x-position":a,style:{"--front-toast-height":`${T[0]?.height||0}px`,"--width":`${Le}px`,"--gap":`${v}px`,...m,...Ge(l,u)},onBlur:e=>{P.current&&!e.currentTarget.contains(e.relatedTarget)&&(P.current=!1,N.current&&=(N.current.focus({preventScroll:!0}),null))},onFocus:e=>{e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||P.current||(P.current=!0,N.current=e.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{k||O(!1)},onDragEnd:()=>O(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||A(!0)},onPointerUp:()=>A(!1)},C.filter(e=>!e.position&&n===0||e.position===t).map((n,i)=>z.createElement(Ue,{key:n.id,icons:y,index:i,toast:n,defaultRichColors:f,duration:g?.duration??p,className:g?.className,descriptionClassName:g?.descriptionClassName,invert:r,visibleToasts:h,closeButton:g?.closeButton??s,interacting:k,position:t,style:g?.style,unstyled:g?.unstyled,classNames:g?.classNames,cancelButtonStyle:g?.cancelButtonStyle,actionButtonStyle:g?.actionButtonStyle,closeButtonAriaLabel:g?.closeButtonAriaLabel,removeToast:ne,toasts:C.filter(e=>e.position==n.position),heights:T.filter(e=>e.position==n.position),setHeights:E,expandByDefault:o,gap:v,expanded:D,swipeDirections:e.swipeDirections}))):null}))});function qe(){let e=(0,R.c)(1),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=[],e[0]=t):t=e[0],(0,z.useEffect)(Je,t)}function Je(){return r.on(`flash`,Ye)}function Ye(e){let t=e.detail?.flash?.toast;t&&je[t.type](t.message)}var V=l();function Xe(e){let t=(0,R.c)(6),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let{appearance:r}=d();qe();let i;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i={"--normal-bg":`var(--popover)`,"--normal-text":`var(--popover-foreground)`,"--normal-border":`var(--border)`},t[2]=i):i=t[2];let a;return t[3]!==r||t[4]!==n?(a=(0,V.jsx)(Ke,{theme:r,className:`toaster group`,position:`bottom-right`,style:i,...n}),t[3]=r,t[4]=n,t[5]=a):a=t[5],a}function Ze(e,t=[]){let n=[];function r(t,r){let i=z.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=z.useMemo(()=>o,Object.values(o));return(0,V.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=z.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>z.createContext(e));return function(n){let r=n?.[e]||t;return z.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,Qe(i,...t)]}function Qe(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return z.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function $e(e){let t=et(e),n=z.forwardRef((e,n)=>{let{children:r,...i}=e,a=z.Children.toArray(r),o=a.find(nt);if(o){let e=o.props.children,r=a.map(t=>t===o?z.Children.count(e)>1?z.Children.only(null):z.isValidElement(e)?e.props.children:null:t);return(0,V.jsx)(t,{...i,ref:n,children:z.isValidElement(e)?z.cloneElement(e,void 0,r):null})}return(0,V.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function et(e){let t=z.forwardRef((e,t)=>{let{children:n,...r}=e;if(z.isValidElement(n)){let e=it(n),i=rt(r,n.props);return n.type!==z.Fragment&&(i.ref=t?_(t,e):e),z.cloneElement(n,i)}return z.Children.count(n)>1?z.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var tt=Symbol(`radix.slottable`);function nt(e){return z.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===tt}function rt(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function it(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var at=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=$e(`Primitive.${t}`),r=z.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,V.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),ot=`Arrow`,st=z.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...a}=e;return(0,V.jsx)(at.svg,{...a,ref:t,width:r,height:i,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?n:(0,V.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})});st.displayName=ot;var ct=st;function lt(e,t=[]){let n=[];function r(t,r){let i=z.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=z.useMemo(()=>o,Object.values(o));return(0,V.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=z.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>z.createContext(e));return function(n){let r=n?.[e]||t;return z.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,ut(i,...t)]}function ut(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return z.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function dt(e){let t=ft(e),n=z.forwardRef((e,n)=>{let{children:r,...i}=e,a=z.Children.toArray(r),o=a.find(mt);if(o){let e=o.props.children,r=a.map(t=>t===o?z.Children.count(e)>1?z.Children.only(null):z.isValidElement(e)?e.props.children:null:t);return(0,V.jsx)(t,{...i,ref:n,children:z.isValidElement(e)?z.cloneElement(e,void 0,r):null})}return(0,V.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function ft(e){let t=z.forwardRef((e,t)=>{let{children:n,...r}=e;if(z.isValidElement(n)){let e=gt(n),i=ht(r,n.props);return n.type!==z.Fragment&&(i.ref=t?_(t,e):e),z.cloneElement(n,i)}return z.Children.count(n)>1?z.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var pt=Symbol(`radix.slottable`);function mt(e){return z.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===pt}function ht(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function gt(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var _t=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=dt(`Primitive.${t}`),r=z.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,V.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function vt(e){let[t,n]=z.useState(void 0);return h(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{if(!Array.isArray(t)||!t.length)return;let r=t[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return t.observe(e,{box:`border-box`}),()=>t.unobserve(e)}else n(void 0)},[e]),t}var yt=`Popper`,[bt,xt]=lt(yt),[St,Ct]=bt(yt),wt=e=>{let{__scopePopper:t,children:n}=e,[r,i]=z.useState(null);return(0,V.jsx)(St,{scope:t,anchor:r,onAnchorChange:i,children:n})};wt.displayName=yt;var Tt=`PopperAnchor`,Et=z.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,a=Ct(Tt,n),o=z.useRef(null),s=y(t,o),c=z.useRef(null);return z.useEffect(()=>{let e=c.current;c.current=r?.current||o.current,e!==c.current&&a.onAnchorChange(c.current)}),r?null:(0,V.jsx)(_t.div,{...i,ref:s})});Et.displayName=Tt;var Dt=`PopperContent`,[Ot,kt]=bt(Dt),At=z.forwardRef((e,t)=>{let{__scopePopper:n,side:r=`bottom`,sideOffset:i=0,align:a=`center`,alignOffset:o=0,arrowPadding:s=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:u=0,sticky:d=`partial`,hideWhenDetached:f=!1,updatePositionStrategy:p=`optimized`,onPlaced:m,...g}=e,_=Ct(Dt,n),[v,b]=z.useState(null),x=y(t,e=>b(e)),[C,w]=z.useState(null),T=vt(C),E=T?.width??0,D=T?.height??0,O=r+(a===`center`?``:`-`+a),k=typeof u==`number`?u:{top:0,right:0,bottom:0,left:0,...u},A=Array.isArray(l)?l:[l],ee=A.length>0,j={padding:k,boundary:A.filter(Pt),altBoundary:ee},{refs:M,floatingStyles:te,placement:N,isPositioned:P,middlewareData:ne}=ae({strategy:`fixed`,placement:O,whileElementsMounted:(...e)=>se(...e,{animationFrame:p===`always`}),elements:{reference:_.anchor},middleware:[ie({mainAxis:i+D,alignmentAxis:o}),c&&le({mainAxis:!0,crossAxis:!1,limiter:d===`partial`?oe():void 0,...j}),c&&ce({...j}),de({...j,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),C&&fe({element:C,padding:s}),Ft({arrowWidth:E,arrowHeight:D}),f&&ue({strategy:`referenceHidden`,...j})]}),[re,F]=It(N),I=S(m);h(()=>{P&&I?.()},[P,I]);let L=ne.arrow?.x,pe=ne.arrow?.y,me=ne.arrow?.centerOffset!==0,[he,ge]=z.useState();return h(()=>{v&&ge(window.getComputedStyle(v).zIndex)},[v]),(0,V.jsx)(`div`,{ref:M.setFloating,"data-radix-popper-content-wrapper":``,style:{...te,transform:P?te.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:he,"--radix-popper-transform-origin":[ne.transformOrigin?.x,ne.transformOrigin?.y].join(` `),...ne.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,V.jsx)(Ot,{scope:n,placedSide:re,onArrowChange:w,arrowX:L,arrowY:pe,shouldHideArrow:me,children:(0,V.jsx)(_t.div,{"data-side":re,"data-align":F,...g,ref:x,style:{...g.style,animation:P?void 0:`none`}})})})});At.displayName=Dt;var jt=`PopperArrow`,Mt={top:`bottom`,right:`left`,bottom:`top`,left:`right`},Nt=z.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=kt(jt,n),a=Mt[i.placedSide];return(0,V.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i.placedSide],visibility:i.shouldHideArrow?`hidden`:void 0},children:(0,V.jsx)(ct,{...r,ref:t,style:{...r.style,display:`block`}})})});Nt.displayName=jt;function Pt(e){return e!==null}var Ft=e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=It(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}});function It(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var Lt=wt,Rt=Et,zt=At,Bt=Nt;function Vt(e){let t=Ht(e),n=z.forwardRef((e,n)=>{let{children:r,...i}=e,a=z.Children.toArray(r),o=a.find(Gt);if(o){let e=o.props.children,r=a.map(t=>t===o?z.Children.count(e)>1?z.Children.only(null):z.isValidElement(e)?e.props.children:null:t);return(0,V.jsx)(t,{...i,ref:n,children:z.isValidElement(e)?z.cloneElement(e,void 0,r):null})}return(0,V.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function Ht(e){let t=z.forwardRef((e,t)=>{let{children:n,...r}=e;if(z.isValidElement(n)){let e=qt(n),i=Kt(r,n.props);return n.type!==z.Fragment&&(i.ref=t?_(t,e):e),z.cloneElement(n,i)}return z.Children.count(n)>1?z.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ut=Symbol(`radix.slottable`);function Wt(e){let t=({children:e})=>(0,V.jsx)(V.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=Ut,t}function Gt(e){return z.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Ut}function Kt(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function qt(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Jt=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=Vt(`Primitive.${t}`),r=z.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,V.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Yt(e){let t=Xt(e),n=z.forwardRef((e,n)=>{let{children:r,...i}=e,a=z.Children.toArray(r),o=a.find(Qt);if(o){let e=o.props.children,r=a.map(t=>t===o?z.Children.count(e)>1?z.Children.only(null):z.isValidElement(e)?e.props.children:null:t);return(0,V.jsx)(t,{...i,ref:n,children:z.isValidElement(e)?z.cloneElement(e,void 0,r):null})}return(0,V.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function Xt(e){let t=z.forwardRef((e,t)=>{let{children:n,...r}=e;if(z.isValidElement(n)){let e=en(n),i=$t(r,n.props);return n.type!==z.Fragment&&(i.ref=t?_(t,e):e),z.cloneElement(n,i)}return z.Children.count(n)>1?z.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Zt=Symbol(`radix.slottable`);function Qt(e){return z.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Zt}function $t(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function en(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var tn=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=Yt(`Primitive.${t}`),r=z.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,V.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),nn=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),rn=`VisuallyHidden`,an=z.forwardRef((e,t)=>(0,V.jsx)(tn.span,{...e,ref:t,style:{...nn,...e.style}}));an.displayName=rn;var on=an,[sn,cn]=Ze(`Tooltip`,[xt]),ln=xt(),un=`TooltipProvider`,dn=700,fn=`tooltip.open`,[pn,mn]=sn(un),hn=e=>{let{__scopeTooltip:t,delayDuration:n=dn,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,o=z.useRef(!0),s=z.useRef(!1),c=z.useRef(0);return z.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,V.jsx)(pn,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:z.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:z.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:z.useCallback(e=>{s.current=e},[]),disableHoverableContent:i,children:a})};hn.displayName=un;var gn=`Tooltip`,[_n,vn]=sn(gn),yn=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:a,disableHoverableContent:o,delayDuration:s}=e,c=mn(gn,e.__scopeTooltip),l=ln(t),[u,d]=z.useState(null),f=O(),p=z.useRef(0),m=o??c.disableHoverableContent,h=s??c.delayDuration,_=z.useRef(!1),[v,y]=g({prop:r,defaultProp:i??!1,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(fn))):c.onClose(),a?.(e)},caller:gn}),b=z.useMemo(()=>v?_.current?`delayed-open`:`instant-open`:`closed`,[v]),x=z.useCallback(()=>{window.clearTimeout(p.current),p.current=0,_.current=!1,y(!0)},[y]),S=z.useCallback(()=>{window.clearTimeout(p.current),p.current=0,y(!1)},[y]),C=z.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{_.current=!0,y(!0),p.current=0},h)},[h,y]);return z.useEffect(()=>()=>{p.current&&=(window.clearTimeout(p.current),0)},[]),(0,V.jsx)(Lt,{...l,children:(0,V.jsx)(_n,{scope:t,contentId:f,open:v,stateAttribute:b,trigger:u,onTriggerChange:d,onTriggerEnter:z.useCallback(()=>{c.isOpenDelayedRef.current?C():x()},[c.isOpenDelayedRef,C,x]),onTriggerLeave:z.useCallback(()=>{m?S():(window.clearTimeout(p.current),p.current=0)},[S,m]),onOpen:x,onClose:S,disableHoverableContent:m,children:n})})};yn.displayName=gn;var bn=`TooltipTrigger`,xn=z.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=vn(bn,n),a=mn(bn,n),o=ln(n),s=y(t,z.useRef(null),i.onTriggerChange),c=z.useRef(!1),l=z.useRef(!1),u=z.useCallback(()=>c.current=!1,[]);return z.useEffect(()=>()=>document.removeEventListener(`pointerup`,u),[u]),(0,V.jsx)(Rt,{asChild:!0,...o,children:(0,V.jsx)(Jt.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:s,onPointerMove:p(e.onPointerMove,e=>{e.pointerType!==`touch`&&!l.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),l.current=!0)}),onPointerLeave:p(e.onPointerLeave,()=>{i.onTriggerLeave(),l.current=!1}),onPointerDown:p(e.onPointerDown,()=>{i.open&&i.onClose(),c.current=!0,document.addEventListener(`pointerup`,u,{once:!0})}),onFocus:p(e.onFocus,()=>{c.current||i.onOpen()}),onBlur:p(e.onBlur,i.onClose),onClick:p(e.onClick,i.onClose)})})});xn.displayName=bn;var Sn=`TooltipPortal`,[Cn,wn]=sn(Sn,{forceMount:void 0}),Tn=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,a=vn(Sn,t);return(0,V.jsx)(Cn,{scope:t,forceMount:n,children:(0,V.jsx)(m,{present:n||a.open,children:(0,V.jsx)(ee,{asChild:!0,container:i,children:r})})})};Tn.displayName=Sn;var En=`TooltipContent`,Dn=z.forwardRef((e,t)=>{let n=wn(En,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i=`top`,...a}=e,o=vn(En,e.__scopeTooltip);return(0,V.jsx)(m,{present:r||o.open,children:o.disableHoverableContent?(0,V.jsx)(Mn,{side:i,...a,ref:t}):(0,V.jsx)(On,{side:i,...a,ref:t})})}),On=z.forwardRef((e,t)=>{let n=vn(En,e.__scopeTooltip),r=mn(En,e.__scopeTooltip),i=z.useRef(null),a=y(t,i),[o,s]=z.useState(null),{trigger:c,onClose:l}=n,u=i.current,{onPointerInTransitChange:d}=r,f=z.useCallback(()=>{s(null),d(!1)},[d]),p=z.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=In(r,Fn(r,n.getBoundingClientRect())),a=Ln(t.getBoundingClientRect());s(zn([...i,...a])),d(!0)},[d]);return z.useEffect(()=>()=>f(),[f]),z.useEffect(()=>{if(c&&u){let e=e=>p(e,u),t=e=>p(e,c);return c.addEventListener(`pointerleave`,e),u.addEventListener(`pointerleave`,t),()=>{c.removeEventListener(`pointerleave`,e),u.removeEventListener(`pointerleave`,t)}}},[c,u,p,f]),z.useEffect(()=>{if(o){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=c?.contains(t)||u?.contains(t),i=!Rn(n,o);r?f():i&&(f(),l())};return document.addEventListener(`pointermove`,e),()=>document.removeEventListener(`pointermove`,e)}},[c,u,o,l,f]),(0,V.jsx)(Mn,{...e,ref:a})}),[kn,An]=sn(gn,{isInside:!1}),jn=Wt(`TooltipContent`),Mn=z.forwardRef((e,t)=>{let{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:o,...s}=e,c=vn(En,n),l=ln(n),{onClose:u}=c;return z.useEffect(()=>(document.addEventListener(fn,u),()=>document.removeEventListener(fn,u)),[u]),z.useEffect(()=>{if(c.trigger){let e=e=>{e.target?.contains(c.trigger)&&u()};return window.addEventListener(`scroll`,e,{capture:!0}),()=>window.removeEventListener(`scroll`,e,{capture:!0})}},[c.trigger,u]),(0,V.jsx)(D,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:e=>e.preventDefault(),onDismiss:u,children:(0,V.jsxs)(zt,{"data-state":c.stateAttribute,...l,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-tooltip-content-available-width":`var(--radix-popper-available-width)`,"--radix-tooltip-content-available-height":`var(--radix-popper-available-height)`,"--radix-tooltip-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-tooltip-trigger-height":`var(--radix-popper-anchor-height)`},children:[(0,V.jsx)(jn,{children:r}),(0,V.jsx)(kn,{scope:n,isInside:!0,children:(0,V.jsx)(on,{id:c.contentId,role:`tooltip`,children:i||r})})]})})});Dn.displayName=En;var Nn=`TooltipArrow`,Pn=z.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=ln(n);return An(Nn,n).isInside?null:(0,V.jsx)(Bt,{...i,...r,ref:t})});Pn.displayName=Nn;function Fn(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}function In(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Ln(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function Rn(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;er!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function zn(e){let t=e.slice();return t.sort((e,t)=>e.xt.x?1:e.yt.y)),Bn(t)}function Bn(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Vn=hn,Hn=yn,Un=xn,Wn=Tn,Gn=Dn,Kn=Pn;function qn(e){let t=(0,R.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({delayDuration:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?0:r,a;return t[3]!==i||t[4]!==n?(a=(0,V.jsx)(Vn,{"data-slot":`tooltip-provider`,delayDuration:i,...n}),t[3]=i,t[4]=n,t[5]=a):a=t[5],a}function Jn(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(Hn,{"data-slot":`tooltip`,...n}),t[2]=n,t[3]=r),r}function Yn(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(Un,{"data-slot":`tooltip-trigger`,...n}),t[2]=n,t[3]=r),r}function Xn(e){let t=(0,R.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,sideOffset:a,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?4:a,s;t[5]===r?s=t[6]:(s=F(`bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-w-sm rounded-md px-3 py-1.5 text-xs`,r),t[5]=r,t[6]=s);let c;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,V.jsx)(Kn,{className:`bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]`}),t[7]=c):c=t[7];let l;return t[8]!==n||t[9]!==i||t[10]!==o||t[11]!==s?(l=(0,V.jsx)(Wn,{children:(0,V.jsxs)(Gn,{"data-slot":`tooltip-content`,sideOffset:o,className:s,...i,children:[n,c]})}),t[8]=n,t[9]=i,t[10]=o,t[11]=s,t[12]=l):l=t[12],l}function Zn(e){let t={},n={background:`background`,foreground:`foreground`,card:`card`,"card-foreground":`card-foreground`,popover:`popover`,"popover-foreground":`popover-foreground`,primary:`primary`,"primary-foreground":`primary-foreground`,secondary:`secondary`,"secondary-foreground":`secondary-foreground`,muted:`muted`,"muted-foreground":`muted-foreground`,accent:`accent`,"accent-foreground":`accent-foreground`,destructive:`destructive`,"destructive-foreground":`destructive-foreground`,border:`border`,input:`input`,ring:`ring`,"chart-1":`chart-1`,"chart-2":`chart-2`,"chart-3":`chart-3`,"chart-4":`chart-4`,"chart-5":`chart-5`,sidebar:`sidebar`,"sidebar-foreground":`sidebar-foreground`,"sidebar-primary":`sidebar-primary`,"sidebar-primary-foreground":`sidebar-primary-foreground`,"sidebar-accent":`sidebar-accent`,"sidebar-accent-foreground":`sidebar-accent-foreground`,"sidebar-border":`sidebar-border`,"sidebar-ring":`sidebar-ring`};for(let[r,i]of Object.entries(e)){let e=r.startsWith(`--`)?r:`--${r}`;t[e]=i;let a=e.slice(2);n[a]&&(t[`--color-${n[a]}`]=i)}return t}var Qn=`color-app`,$n=null,er=[],tr=new Set;function nr(){if(typeof window>`u`)return null;try{let e=localStorage.getItem(Qn);return e?JSON.parse(e):null}catch{return null}}function rr(){if(typeof window>`u`)return`light`;let e=localStorage.getItem(`appearance`);return e===`dark`?`dark`:e===`light`?`light`:window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function ir(){er.forEach(e=>{document.documentElement.style.removeProperty(e)}),er=[]}function ar(e,t){ir();let n=Zn({...e.varsTheme??{},...t===`dark`?e.varsDark??{}:e.varsLight??{}});er=Object.keys(n),Object.entries(n).forEach(([e,t])=>{document.documentElement.style.setProperty(e,t)})}function or(){tr.forEach(e=>e())}function sr(e){return tr.add(e),()=>tr.delete(e)}function cr(){return $n}function lr(){return null}function ur(){if(typeof window>`u`)return;let e=nr();e&&($n=e.name,ar(e,rr()))}function dr(e){let t={name:e.name,varsLight:e.cssVars?.light??e.vars_light??{},varsDark:e.cssVars?.dark??e.vars_dark??{},varsTheme:e.cssVars?.theme??e.vars_theme??{}};$n=e.name,localStorage.setItem(Qn,JSON.stringify(t)),ar(t,rr()),or()}function fr(){$n=null,localStorage.removeItem(Qn),ir(),or()}function pr(){let e=(0,R.c)(7),t=(0,z.useSyncExternalStore)(sr,cr,lr),{resolvedAppearance:n}=d(),r,i;e[0]!==n||e[1]!==t?(r=()=>{let e=nr();e&&e.name===t&&ar(e,n)},i=[n,t],e[0]=n,e[1]=t,e[2]=r,e[3]=i):(r=e[2],i=e[3]),(0,z.useEffect)(r,i);let a=t!==null,o;return e[4]!==a||e[5]!==t?(o={themeName:t,setColorTheme:dr,clearColorTheme:fr,isThemeActive:a},e[4]=a,e[5]=t,e[6]=o):o=e[6],o}var mr=L(`BookOpen`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),hr=L(`ChevronRight`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),gr=L(`ChevronsUpDown`,[[`path`,{d:`m7 15 5 5 5-5`,key:`1hf1tw`}],[`path`,{d:`m7 9 5-5 5 5`,key:`sgt6xg`}]]),_r=L(`FolderGit2`,[[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5`,key:`1w6njk`}],[`circle`,{cx:`13`,cy:`12`,r:`2`,key:`1j92g6`}],[`path`,{d:`M18 19c-2.8 0-5-2.2-5-5v8`,key:`pkpw2h`}],[`circle`,{cx:`20`,cy:`19`,r:`2`,key:`1obnsp`}]]),vr=L(`LayoutGrid`,[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]),yr=L(`LogOut`,[[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}],[`polyline`,{points:`16 17 21 12 16 7`,key:`1gabdz`}],[`line`,{x1:`21`,x2:`9`,y1:`12`,y2:`12`,key:`1uyos4`}]]),br=L(`PanelLeftClose`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m16 15-3-3 3-3`,key:`14y99z`}]]),xr=L(`PanelLeftOpen`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m14 9 3 3-3 3`,key:`8010ee`}]]),Sr=L(`Settings`,[[`path`,{d:`M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z`,key:`1qme2f`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]);function Cr(e){let t=(0,R.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,type:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===n?a=t[5]:(a=F(`border-input file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,`focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]`,`aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive`,n),t[4]=n,t[5]=a);let o;return t[6]!==r||t[7]!==a||t[8]!==i?(o=(0,V.jsx)(`input`,{type:i,"data-slot":`input`,className:a,...r}),t[6]=r,t[7]=a,t[8]=i,t[9]=o):o=t[9],o}var wr=`Separator`,Tr=`horizontal`,Er=[`horizontal`,`vertical`],Dr=z.forwardRef((e,t)=>{let{decorative:n,orientation:r=Tr,...i}=e,a=Or(r)?r:Tr,o=n?{role:`none`}:{"aria-orientation":a===`vertical`?a:void 0,role:`separator`};return(0,V.jsx)(pe.div,{"data-orientation":a,...o,...i,ref:t})});Dr.displayName=wr;function Or(e){return Er.includes(e)}var kr=Dr;function Ar(e){let t=(0,R.c)(12),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:n,orientation:i,decorative:a,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=i===void 0?`horizontal`:i,s=a===void 0?!0:a,c;t[5]===n?c=t[6]:(c=F(`bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px`,n),t[5]=n,t[6]=c);let l;return t[7]!==s||t[8]!==o||t[9]!==r||t[10]!==c?(l=(0,V.jsx)(kr,{"data-slot":`separator-root`,decorative:s,orientation:o,className:c,...r}),t[7]=s,t[8]=o,t[9]=r,t[10]=c,t[11]=l):l=t[11],l}var jr=ge();function Mr(){return(0,jr.useSyncExternalStore)(Nr,()=>!0,()=>!1)}function Nr(){return()=>{}}function Pr(e,t=[]){let n=[];function r(t,r){let i=z.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=z.useMemo(()=>o,Object.values(o));return(0,V.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=z.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>z.createContext(e));return function(n){let r=n?.[e]||t;return z.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,Fr(i,...t)]}function Fr(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return z.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function Ir(e){let t=Lr(e),n=z.forwardRef((e,n)=>{let{children:r,...i}=e,a=z.Children.toArray(r),o=a.find(zr);if(o){let e=o.props.children,r=a.map(t=>t===o?z.Children.count(e)>1?z.Children.only(null):z.isValidElement(e)?e.props.children:null:t);return(0,V.jsx)(t,{...i,ref:n,children:z.isValidElement(e)?z.cloneElement(e,void 0,r):null})}return(0,V.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function Lr(e){let t=z.forwardRef((e,t)=>{let{children:n,...r}=e;if(z.isValidElement(n)){let e=Vr(n),i=Br(r,n.props);return n.type!==z.Fragment&&(i.ref=t?_(t,e):e),z.cloneElement(n,i)}return z.Children.count(n)>1?z.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Rr=Symbol(`radix.slottable`);function zr(e){return z.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Rr}function Br(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function Vr(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Hr=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=Ir(`Primitive.${t}`),r=z.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,V.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Ur(e,t){e&&_e.flushSync(()=>e.dispatchEvent(t))}function Wr(e,t=[]){let n=[];function r(t,r){let i=z.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=z.useMemo(()=>o,Object.values(o));return(0,V.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=z.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>z.createContext(e));return function(n){let r=n?.[e]||t;return z.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,Gr(i,...t)]}function Gr(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return z.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function Kr(e){let t=qr(e),n=z.forwardRef((e,n)=>{let{children:r,...i}=e,a=z.Children.toArray(r),o=a.find(Yr);if(o){let e=o.props.children,r=a.map(t=>t===o?z.Children.count(e)>1?z.Children.only(null):z.isValidElement(e)?e.props.children:null:t);return(0,V.jsx)(t,{...i,ref:n,children:z.isValidElement(e)?z.cloneElement(e,void 0,r):null})}return(0,V.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function qr(e){let t=z.forwardRef((e,t)=>{let{children:n,...r}=e;if(z.isValidElement(n)){let e=Zr(n),i=Xr(r,n.props);return n.type!==z.Fragment&&(i.ref=t?_(t,e):e),z.cloneElement(n,i)}return z.Children.count(n)>1?z.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Jr=Symbol(`radix.slottable`);function Yr(e){return z.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Jr}function Xr(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function Zr(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Qr=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=Kr(`Primitive.${t}`),r=z.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,V.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),$r=`rovingFocusGroup.onEntryFocus`,ei={bubbles:!1,cancelable:!0},ti=`RovingFocusGroup`,[ni,ri,ii]=me(ti),[ai,oi]=Wr(ti,[ii]),[si,ci]=ai(ti),li=z.forwardRef((e,t)=>(0,V.jsx)(ni.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,V.jsx)(ni.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,V.jsx)(ui,{...e,ref:t})})}));li.displayName=ti;var ui=z.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:l,preventScrollOnEntryFocus:u=!1,...d}=e,f=z.useRef(null),m=y(t,f),h=he(a),[_,v]=g({prop:o,defaultProp:s??null,onChange:c,caller:ti}),[b,x]=z.useState(!1),C=S(l),w=ri(n),T=z.useRef(!1),[E,D]=z.useState(0);return z.useEffect(()=>{let e=f.current;if(e)return e.addEventListener($r,C),()=>e.removeEventListener($r,C)},[C]),(0,V.jsx)(si,{scope:n,orientation:r,dir:h,loop:i,currentTabStopId:_,onItemFocus:z.useCallback(e=>v(e),[v]),onItemShiftTab:z.useCallback(()=>x(!0),[]),onFocusableItemAdd:z.useCallback(()=>D(e=>e+1),[]),onFocusableItemRemove:z.useCallback(()=>D(e=>e-1),[]),children:(0,V.jsx)(Qr.div,{tabIndex:b||E===0?-1:0,"data-orientation":r,...d,ref:m,style:{outline:`none`,...e.style},onMouseDown:p(e.onMouseDown,()=>{T.current=!0}),onFocus:p(e.onFocus,e=>{let t=!T.current;if(e.target===e.currentTarget&&t&&!b){let t=new CustomEvent($r,ei);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=w().filter(e=>e.focusable);gi([e.find(e=>e.active),e.find(e=>e.id===_),...e].filter(Boolean).map(e=>e.ref.current),u)}}T.current=!1}),onBlur:p(e.onBlur,()=>x(!1))})})}),di=`RovingFocusGroupItem`,fi=z.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:o,...s}=e,c=O(),l=a||c,u=ci(di,n),d=u.currentTabStopId===l,f=ri(n),{onFocusableItemAdd:m,onFocusableItemRemove:h,currentTabStopId:g}=u;return z.useEffect(()=>{if(r)return m(),()=>h()},[r,m,h]),(0,V.jsx)(ni.ItemSlot,{scope:n,id:l,focusable:r,active:i,children:(0,V.jsx)(Qr.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:p(e.onMouseDown,e=>{r?u.onItemFocus(l):e.preventDefault()}),onFocus:p(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:p(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){u.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=hi(e,u.orientation,u.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=f().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=u.loop?_i(n,r+1):n.slice(r+1)}setTimeout(()=>gi(n))}}),children:typeof o==`function`?o({isCurrentTabStop:d,hasTabStop:g!=null}):o})})});fi.displayName=di;var pi={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function mi(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function hi(e,t,n){let r=mi(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return pi[r]}function gi(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function _i(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var vi=li,yi=fi,bi=[`Enter`,` `],xi=[`ArrowDown`,`PageUp`,`Home`],Si=[`ArrowUp`,`PageDown`,`End`],Ci=[...xi,...Si],wi={ltr:[...bi,`ArrowRight`],rtl:[...bi,`ArrowLeft`]},Ti={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]},Ei=`Menu`,[Di,Oi,ki]=me(Ei),[Ai,ji]=Pr(Ei,[ki,xt,oi]),Mi=xt(),Ni=oi(),[Pi,Fi]=Ai(Ei),[Ii,Li]=Ai(Ei),Ri=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=Mi(t),[c,l]=z.useState(null),u=z.useRef(!1),d=S(a),f=he(i);return z.useEffect(()=>{let e=()=>{u.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},t=()=>u.current=!1;return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}},[]),(0,V.jsx)(Lt,{...s,children:(0,V.jsx)(Pi,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:l,children:(0,V.jsx)(Ii,{scope:t,onClose:z.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:u,dir:f,modal:o,children:r})})})};Ri.displayName=Ei;var zi=`MenuAnchor`,Bi=z.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,i=Mi(n);return(0,V.jsx)(Rt,{...i,...r,ref:t})});Bi.displayName=zi;var Vi=`MenuPortal`,[Hi,Ui]=Ai(Vi,{forceMount:void 0}),Wi=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=Fi(Vi,t);return(0,V.jsx)(Hi,{scope:t,forceMount:n,children:(0,V.jsx)(m,{present:n||a.open,children:(0,V.jsx)(ee,{asChild:!0,container:i,children:r})})})};Wi.displayName=Vi;var H=`MenuContent`,[Gi,Ki]=Ai(H),qi=z.forwardRef((e,t)=>{let n=Ui(H,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=Fi(H,e.__scopeMenu),o=Li(H,e.__scopeMenu);return(0,V.jsx)(Di.Provider,{scope:e.__scopeMenu,children:(0,V.jsx)(m,{present:r||a.open,children:(0,V.jsx)(Di.Slot,{scope:e.__scopeMenu,children:o.modal?(0,V.jsx)(Ji,{...i,ref:t}):(0,V.jsx)(Yi,{...i,ref:t})})})})}),Ji=z.forwardRef((e,t)=>{let n=Fi(H,e.__scopeMenu),r=z.useRef(null),i=y(t,r);return z.useEffect(()=>{let e=r.current;if(e)return A(e)},[]),(0,V.jsx)(Zi,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:p(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Yi=z.forwardRef((e,t)=>{let n=Fi(H,e.__scopeMenu);return(0,V.jsx)(Zi,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Xi=Ir(`MenuContent.ScrollLock`),Zi=z.forwardRef((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:c,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:m,disableOutsideScroll:h,...g}=e,_=Fi(H,n),v=Li(H,n),b=Mi(n),x=Ni(n),S=Oi(n),[C,w]=z.useState(null),O=z.useRef(null),k=y(t,O,_.onContentChange),A=z.useRef(0),ee=z.useRef(``),j=z.useRef(0),M=z.useRef(null),te=z.useRef(`right`),N=z.useRef(0),P=h?re:z.Fragment,ne=h?{as:Xi,allowPinchZoom:!0}:void 0,ie=e=>{let t=ee.current+e,n=S().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,a=Fa(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;(function e(t){ee.current=t,window.clearTimeout(A.current),t!==``&&(A.current=window.setTimeout(()=>e(``),1e3))})(t),o&&setTimeout(()=>o.focus())};z.useEffect(()=>()=>window.clearTimeout(A.current),[]),T();let ae=z.useCallback(e=>te.current===M.current?.side&&La(e,M.current?.area),[]);return(0,V.jsx)(Gi,{scope:n,searchRef:ee,onItemEnter:z.useCallback(e=>{ae(e)&&e.preventDefault()},[ae]),onItemLeave:z.useCallback(e=>{ae(e)||(O.current?.focus(),w(null))},[ae]),onTriggerLeave:z.useCallback(e=>{ae(e)&&e.preventDefault()},[ae]),pointerGraceTimerRef:j,onPointerGraceIntentChange:z.useCallback(e=>{M.current=e},[]),children:(0,V.jsx)(P,{...ne,children:(0,V.jsx)(E,{asChild:!0,trapped:i,onMountAutoFocus:p(a,e=>{e.preventDefault(),O.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:(0,V.jsx)(D,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:m,children:(0,V.jsx)(vi,{asChild:!0,...x,dir:v.dir,orientation:`vertical`,loop:r,currentTabStopId:C,onCurrentTabStopIdChange:w,onEntryFocus:p(c,e=>{v.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,V.jsx)(zt,{role:`menu`,"aria-orientation":`vertical`,"data-state":Aa(_.open),"data-radix-menu-content":``,dir:v.dir,...b,...g,ref:k,style:{outline:`none`,...g.style},onKeyDown:p(g.onKeyDown,e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&ie(e.key));let i=O.current;if(e.target!==i||!Ci.includes(e.key))return;e.preventDefault();let a=S().filter(e=>!e.disabled).map(e=>e.ref.current);Si.includes(e.key)&&a.reverse(),Na(a)}),onBlur:p(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(A.current),ee.current=``)}),onPointerMove:p(e.onPointerMove,Ra(e=>{let t=e.target,n=N.current!==e.clientX;e.currentTarget.contains(t)&&n&&(te.current=e.clientX>N.current?`right`:`left`,N.current=e.clientX)}))})})})})})})});qi.displayName=H;var Qi=`MenuGroup`,$i=z.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,V.jsx)(Hr.div,{role:`group`,...r,ref:t})});$i.displayName=Qi;var ea=`MenuLabel`,ta=z.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,V.jsx)(Hr.div,{...r,ref:t})});ta.displayName=ea;var na=`MenuItem`,ra=`menu.itemSelect`,ia=z.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:r,...i}=e,a=z.useRef(null),o=Li(na,e.__scopeMenu),s=Ki(na,e.__scopeMenu),c=y(t,a),l=z.useRef(!1),u=()=>{let e=a.current;if(!n&&e){let t=new CustomEvent(ra,{bubbles:!0,cancelable:!0});e.addEventListener(ra,e=>r?.(e),{once:!0}),Ur(e,t),t.defaultPrevented?l.current=!1:o.onClose()}};return(0,V.jsx)(aa,{...i,ref:c,disabled:n,onClick:p(e.onClick,u),onPointerDown:t=>{e.onPointerDown?.(t),l.current=!0},onPointerUp:p(e.onPointerUp,e=>{l.current||e.currentTarget?.click()}),onKeyDown:p(e.onKeyDown,e=>{let t=s.searchRef.current!==``;n||t&&e.key===` `||bi.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ia.displayName=na;var aa=z.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=Ki(na,n),s=Ni(n),c=z.useRef(null),l=y(t,c),[u,d]=z.useState(!1),[f,m]=z.useState(``);return z.useEffect(()=>{let e=c.current;e&&m((e.textContent??``).trim())},[a.children]),(0,V.jsx)(Di.ItemSlot,{scope:n,disabled:r,textValue:i??f,children:(0,V.jsx)(yi,{asChild:!0,...s,focusable:!r,children:(0,V.jsx)(Hr.div,{role:`menuitem`,"data-highlighted":u?``:void 0,"aria-disabled":r||void 0,"data-disabled":r?``:void 0,...a,ref:l,onPointerMove:p(e.onPointerMove,Ra(e=>{r?o.onItemLeave(e):(o.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:p(e.onPointerLeave,Ra(e=>o.onItemLeave(e))),onFocus:p(e.onFocus,()=>d(!0)),onBlur:p(e.onBlur,()=>d(!1))})})})}),oa=`MenuCheckboxItem`,sa=z.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,V.jsx)(ha,{scope:e.__scopeMenu,checked:n,children:(0,V.jsx)(ia,{role:`menuitemcheckbox`,"aria-checked":ja(n)?`mixed`:n,...i,ref:t,"data-state":Ma(n),onSelect:p(i.onSelect,()=>r?.(ja(n)?!0:!n),{checkForDefaultPrevented:!1})})})});sa.displayName=oa;var ca=`MenuRadioGroup`,[la,ua]=Ai(ca,{value:void 0,onValueChange:()=>{}}),da=z.forwardRef((e,t)=>{let{value:n,onValueChange:r,...i}=e,a=S(r);return(0,V.jsx)(la,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,V.jsx)($i,{...i,ref:t})})});da.displayName=ca;var fa=`MenuRadioItem`,pa=z.forwardRef((e,t)=>{let{value:n,...r}=e,i=ua(fa,e.__scopeMenu),a=n===i.value;return(0,V.jsx)(ha,{scope:e.__scopeMenu,checked:a,children:(0,V.jsx)(ia,{role:`menuitemradio`,"aria-checked":a,...r,ref:t,"data-state":Ma(a),onSelect:p(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});pa.displayName=fa;var ma=`MenuItemIndicator`,[ha,ga]=Ai(ma,{checked:!1}),_a=z.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...i}=e,a=ga(ma,n);return(0,V.jsx)(m,{present:r||ja(a.checked)||a.checked===!0,children:(0,V.jsx)(Hr.span,{...i,ref:t,"data-state":Ma(a.checked)})})});_a.displayName=ma;var va=`MenuSeparator`,ya=z.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,V.jsx)(Hr.div,{role:`separator`,"aria-orientation":`horizontal`,...r,ref:t})});ya.displayName=va;var ba=`MenuArrow`,xa=z.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,i=Mi(n);return(0,V.jsx)(Bt,{...i,...r,ref:t})});xa.displayName=ba;var Sa=`MenuSub`,[Ca,wa]=Ai(Sa),Ta=e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:i}=e,a=Fi(Sa,t),o=Mi(t),[s,c]=z.useState(null),[l,u]=z.useState(null),d=S(i);return z.useEffect(()=>(a.open===!1&&d(!1),()=>d(!1)),[a.open,d]),(0,V.jsx)(Lt,{...o,children:(0,V.jsx)(Pi,{scope:t,open:r,onOpenChange:d,content:l,onContentChange:u,children:(0,V.jsx)(Ca,{scope:t,contentId:O(),triggerId:O(),trigger:s,onTriggerChange:c,children:n})})})};Ta.displayName=Sa;var Ea=`MenuSubTrigger`,Da=z.forwardRef((e,t)=>{let n=Fi(Ea,e.__scopeMenu),r=Li(Ea,e.__scopeMenu),i=wa(Ea,e.__scopeMenu),a=Ki(Ea,e.__scopeMenu),o=z.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=a,l={__scopeMenu:e.__scopeMenu},u=z.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return z.useEffect(()=>u,[u]),z.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),c(null)}},[s,c]),(0,V.jsx)(Bi,{asChild:!0,...l,children:(0,V.jsx)(aa,{id:i.triggerId,"aria-haspopup":`menu`,"aria-expanded":n.open,"aria-controls":i.contentId,"data-state":Aa(n.open),...e,ref:_(t,i.onTriggerChange),onClick:t=>{e.onClick?.(t),!(e.disabled||t.defaultPrevented)&&(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:p(e.onPointerMove,Ra(t=>{a.onItemEnter(t),!t.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(a.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),u()},100))})),onPointerLeave:p(e.onPointerLeave,Ra(e=>{u();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,i=r===`right`,o=i?-5:5,c=t[i?`left`:`right`],l=t[i?`right`:`left`];a.onPointerGraceIntentChange({area:[{x:e.clientX+o,y:e.clientY},{x:c,y:t.top},{x:l,y:t.top},{x:l,y:t.bottom},{x:c,y:t.bottom}],side:r}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(e),e.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:p(e.onKeyDown,t=>{let i=a.searchRef.current!==``;e.disabled||i&&t.key===` `||wi[r.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});Da.displayName=Ea;var Oa=`MenuSubContent`,ka=z.forwardRef((e,t)=>{let n=Ui(H,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=Fi(H,e.__scopeMenu),o=Li(H,e.__scopeMenu),s=wa(Oa,e.__scopeMenu),c=z.useRef(null),l=y(t,c);return(0,V.jsx)(Di.Provider,{scope:e.__scopeMenu,children:(0,V.jsx)(m,{present:r||a.open,children:(0,V.jsx)(Di.Slot,{scope:e.__scopeMenu,children:(0,V.jsx)(Zi,{id:s.contentId,"aria-labelledby":s.triggerId,...i,ref:l,align:`start`,side:o.dir===`rtl`?`left`:`right`,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{o.isUsingKeyboardRef.current&&c.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:p(e.onFocusOutside,e=>{e.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:p(e.onEscapeKeyDown,e=>{o.onClose(),e.preventDefault()}),onKeyDown:p(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=Ti[o.dir].includes(e.key);t&&n&&(a.onOpenChange(!1),s.trigger?.focus(),e.preventDefault())})})})})})});ka.displayName=Oa;function Aa(e){return e?`open`:`closed`}function ja(e){return e===`indeterminate`}function Ma(e){return ja(e)?`indeterminate`:e?`checked`:`unchecked`}function Na(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Pa(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Fa(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Pa(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function Ia(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;er!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function La(e,t){return t?Ia({x:e.clientX,y:e.clientY},t):!1}function Ra(e){return t=>t.pointerType===`mouse`?e(t):void 0}var za=Ri,Ba=Bi,Va=Wi,Ha=qi,Ua=$i,Wa=ta,Ga=ia,Ka=sa,qa=da,Ja=pa,Ya=_a,Xa=ya,Za=xa,Qa=Da,$a=ka;function eo(e,t=[]){let n=[];function r(t,r){let i=z.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=z.useMemo(()=>o,Object.values(o));return(0,V.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=z.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>z.createContext(e));return function(n){let r=n?.[e]||t;return z.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,to(i,...t)]}function to(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return z.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function no(e){let t=ro(e),n=z.forwardRef((e,n)=>{let{children:r,...i}=e,a=z.Children.toArray(r),o=a.find(ao);if(o){let e=o.props.children,r=a.map(t=>t===o?z.Children.count(e)>1?z.Children.only(null):z.isValidElement(e)?e.props.children:null:t);return(0,V.jsx)(t,{...i,ref:n,children:z.isValidElement(e)?z.cloneElement(e,void 0,r):null})}return(0,V.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function ro(e){let t=z.forwardRef((e,t)=>{let{children:n,...r}=e;if(z.isValidElement(n)){let e=so(n),i=oo(r,n.props);return n.type!==z.Fragment&&(i.ref=t?_(t,e):e),z.cloneElement(n,i)}return z.Children.count(n)>1?z.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var io=Symbol(`radix.slottable`);function ao(e){return z.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===io}function oo(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function so(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var co=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=no(`Primitive.${t}`),r=z.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,V.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),lo=`DropdownMenu`,[uo,fo]=eo(lo,[ji]),U=ji(),[po,mo]=uo(lo),ho=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,c=U(t),l=z.useRef(null),[u,d]=g({prop:i,defaultProp:a??!1,onChange:o,caller:lo});return(0,V.jsx)(po,{scope:t,triggerId:O(),triggerRef:l,contentId:O(),open:u,onOpenChange:d,onOpenToggle:z.useCallback(()=>d(e=>!e),[d]),modal:s,children:(0,V.jsx)(za,{...c,open:u,onOpenChange:d,dir:r,modal:s,children:n})})};ho.displayName=lo;var go=`DropdownMenuTrigger`,_o=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=mo(go,n),o=U(n);return(0,V.jsx)(Ba,{asChild:!0,...o,children:(0,V.jsx)(co.button,{type:`button`,id:a.triggerId,"aria-haspopup":`menu`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?`open`:`closed`,"data-disabled":r?``:void 0,disabled:r,...i,ref:_(t,a.triggerRef),onPointerDown:p(e.onPointerDown,e=>{!r&&e.button===0&&e.ctrlKey===!1&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:p(e.onKeyDown,e=>{r||([`Enter`,` `].includes(e.key)&&a.onOpenToggle(),e.key===`ArrowDown`&&a.onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(e.key)&&e.preventDefault())})})})});_o.displayName=go;var vo=`DropdownMenuPortal`,yo=e=>{let{__scopeDropdownMenu:t,...n}=e,r=U(t);return(0,V.jsx)(Va,{...r,...n})};yo.displayName=vo;var bo=`DropdownMenuContent`,xo=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=mo(bo,n),a=U(n),o=z.useRef(!1);return(0,V.jsx)(Ha,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:p(e.onCloseAutoFocus,e=>{o.current||i.triggerRef.current?.focus(),o.current=!1,e.preventDefault()}),onInteractOutside:p(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!i.modal||r)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})});xo.displayName=bo;var So=`DropdownMenuGroup`,Co=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=U(n);return(0,V.jsx)(Ua,{...i,...r,ref:t})});Co.displayName=So;var wo=`DropdownMenuLabel`,To=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=U(n);return(0,V.jsx)(Wa,{...i,...r,ref:t})});To.displayName=wo;var Eo=`DropdownMenuItem`,Do=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=U(n);return(0,V.jsx)(Ga,{...i,...r,ref:t})});Do.displayName=Eo;var Oo=`DropdownMenuCheckboxItem`,ko=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=U(n);return(0,V.jsx)(Ka,{...i,...r,ref:t})});ko.displayName=Oo;var Ao=`DropdownMenuRadioGroup`,jo=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=U(n);return(0,V.jsx)(qa,{...i,...r,ref:t})});jo.displayName=Ao;var Mo=`DropdownMenuRadioItem`,No=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=U(n);return(0,V.jsx)(Ja,{...i,...r,ref:t})});No.displayName=Mo;var Po=`DropdownMenuItemIndicator`,Fo=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=U(n);return(0,V.jsx)(Ya,{...i,...r,ref:t})});Fo.displayName=Po;var Io=`DropdownMenuSeparator`,Lo=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=U(n);return(0,V.jsx)(Xa,{...i,...r,ref:t})});Lo.displayName=Io;var Ro=`DropdownMenuArrow`,zo=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=U(n);return(0,V.jsx)(Za,{...i,...r,ref:t})});zo.displayName=Ro;var Bo=`DropdownMenuSubTrigger`,Vo=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=U(n);return(0,V.jsx)(Qa,{...i,...r,ref:t})});Vo.displayName=Bo;var Ho=`DropdownMenuSubContent`,Uo=z.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=U(n);return(0,V.jsx)($a,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})});Uo.displayName=Ho;var Wo=ho,Go=_o,Ko=yo,qo=xo,Jo=Co,Yo=To,Xo=Do,Zo=Lo;function Qo(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(M,{"data-slot":`sheet`,...n}),t[2]=n,t[3]=r),r}function $o(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(w,{"data-slot":`sheet-trigger`,...n}),t[2]=n,t[3]=r),r}function es(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(C,{"data-slot":`sheet-portal`,...n}),t[2]=n,t[3]=r),r}function ts(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(k,{"data-slot":`sheet-overlay`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ns(e){let t=(0,R.c)(20),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:r,children:n,side:a,showCloseButton:o,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=a===void 0?`right`:a,c=o===void 0?!0:o,l;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,V.jsx)(ts,{}),t[6]=l):l=t[6];let u=s===`right`&&`inset-y-0 right-0 h-full w-4/5 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm`,d=s===`left`&&`inset-y-0 left-0 h-full w-4/5 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm`,f=s===`top`&&`inset-x-0 top-0 h-auto border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top`,p=s===`bottom`&&`inset-x-0 bottom-0 h-auto border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom`,m;t[7]!==r||t[8]!==u||t[9]!==d||t[10]!==f||t[11]!==p?(m=F(`fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:animate-in data-[state=open]:duration-500`,u,d,f,p,r),t[7]=r,t[8]=u,t[9]=d,t[10]=f,t[11]=p,t[12]=m):m=t[12];let h;t[13]===c?h=t[14]:(h=c&&(0,V.jsxs)(ne,{className:`absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-secondary`,children:[(0,V.jsx)(te,{className:`size-4`}),(0,V.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),t[13]=c,t[14]=h);let g;return t[15]!==n||t[16]!==i||t[17]!==m||t[18]!==h?(g=(0,V.jsxs)(es,{children:[l,(0,V.jsxs)(j,{"data-slot":`sheet-content`,className:m,...i,children:[n,h]})]}),t[15]=n,t[16]=i,t[17]=m,t[18]=h,t[19]=g):g=t[19],g}function rs(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`flex flex-col gap-1.5 p-4`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{"data-slot":`sheet-header`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function is(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`font-semibold text-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(P,{"data-slot":`sheet-title`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function as(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`text-sm text-muted-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(N,{"data-slot":`sheet-description`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function os(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`bg-primary/10 animate-pulse rounded-md`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{"data-slot":`skeleton`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var ss=typeof window>`u`?void 0:window.matchMedia(`(max-width: 767px)`);function cs(e){return ss?(ss.addEventListener(`change`,e),()=>{ss.removeEventListener(`change`,e)}):()=>{}}function ls(){return ss?.matches??!1}function us(){return!1}function ds(){return(0,z.useSyncExternalStore)(cs,ls,us)}var fs=`sidebar_state`,ps=3600*24*7,ms=`16rem`,hs=`18rem`,gs=`3rem`,_s=`b`,vs=z.createContext(null);function ys(){let e=z.useContext(vs);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e}function bs(e){let t=(0,R.c)(36),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({defaultOpen:c,open:i,onOpenChange:o,className:r,style:s,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=c===void 0?!0:c,u=ds(),[d,f]=z.useState(!1),[p,m]=z.useState(l),h=i??p,g;t[8]!==h||t[9]!==o?(g=e=>{let t=typeof e==`function`?e(h):e;o?o(t):m(t),document.cookie=`${fs}=${t}; path=/; max-age=${ps}`},t[8]=h,t[9]=o,t[10]=g):g=t[10];let _=g,v;t[11]!==u||t[12]!==_?(v=()=>u?f(Ss):_(xs),t[11]=u,t[12]=_,t[13]=v):v=t[13];let y=v,b,x;t[14]===y?(b=t[15],x=t[16]):(b=()=>{let e=e=>{e.key===_s&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),y())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},x=[y],t[14]=y,t[15]=b,t[16]=x),z.useEffect(b,x);let S=h?`expanded`:`collapsed`,C;t[17]!==u||t[18]!==h||t[19]!==d||t[20]!==_||t[21]!==S||t[22]!==y?(C={state:S,open:h,setOpen:_,isMobile:u,openMobile:d,setOpenMobile:f,toggleSidebar:y},t[17]=u,t[18]=h,t[19]=d,t[20]=_,t[21]=S,t[22]=y,t[23]=C):C=t[23];let w=C,T;t[24]===s?T=t[25]:(T={"--sidebar-width":ms,"--sidebar-width-icon":gs,...s},t[24]=s,t[25]=T);let E=T,D;t[26]===r?D=t[27]:(D=F(`group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full`,r),t[26]=r,t[27]=D);let O;t[28]!==n||t[29]!==a||t[30]!==E||t[31]!==D?(O=(0,V.jsx)(`div`,{"data-slot":`sidebar-wrapper`,style:E,className:D,...a,children:n}),t[28]=n,t[29]=a,t[30]=E,t[31]=D,t[32]=O):O=t[32];let k;return t[33]!==w||t[34]!==O?(k=(0,V.jsx)(vs.Provider,{value:w,children:O}),t[33]=w,t[34]=O,t[35]=k):k=t[35],k}function xs(e){return!e}function Ss(e){return!e}function Cs(e){let t=(0,R.c)(46),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({side:a,variant:o,collapsible:s,className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=a===void 0?`left`:a,l=o===void 0?`sidebar`:o,u=s===void 0?`offcanvas`:s,{isMobile:d,state:f,openMobile:p,setOpenMobile:m}=ys();if(u===`none`){let e;t[7]===r?e=t[8]:(e=F(`bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col`,r),t[7]=r,t[8]=e);let a;return t[9]!==n||t[10]!==i||t[11]!==e?(a=(0,V.jsx)(`div`,{"data-slot":`sidebar`,className:e,...i,children:n}),t[9]=n,t[10]=i,t[11]=e,t[12]=a):a=t[12],a}if(d){let e;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,V.jsxs)(rs,{className:`sr-only`,children:[(0,V.jsx)(is,{children:`Sidebar`}),(0,V.jsx)(as,{children:`Displays the mobile sidebar.`})]}),t[13]=e):e=t[13];let r;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(r={"--sidebar-width":hs},t[14]=r):r=t[14];let a;t[15]===n?a=t[16]:(a=(0,V.jsx)(`div`,{className:`flex h-full w-full flex-col`,children:n}),t[15]=n,t[16]=a);let o;t[17]!==c||t[18]!==a?(o=(0,V.jsx)(ns,{"data-sidebar":`sidebar`,"data-slot":`sidebar`,"data-mobile":`true`,className:`bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden`,style:r,side:c,children:a}),t[17]=c,t[18]=a,t[19]=o):o=t[19];let s;return t[20]!==p||t[21]!==i||t[22]!==m||t[23]!==o?(s=(0,V.jsxs)(Qo,{open:p,onOpenChange:m,...i,children:[e,o]}),t[20]=p,t[21]=i,t[22]=m,t[23]=o,t[24]=s):s=t[24],s}let h=f===`collapsed`?u:``,g=l===`floating`||l===`inset`?`group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon)`,_;t[25]===g?_=t[26]:(_=F(`relative h-svh w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear`,`group-data-[collapsible=offcanvas]:w-0`,`group-data-[side=right]:rotate-180`,g),t[25]=g,t[26]=_);let v;t[27]===_?v=t[28]:(v=(0,V.jsx)(`div`,{className:_}),t[27]=_,t[28]=v);let y=c===`left`?`left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]`:`right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]`,b=l===`floating`||l===`inset`?`p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l`,x;t[29]!==r||t[30]!==y||t[31]!==b?(x=F(`fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex`,y,b,r),t[29]=r,t[30]=y,t[31]=b,t[32]=x):x=t[32];let S;t[33]===n?S=t[34]:(S=(0,V.jsx)(`div`,{"data-sidebar":`sidebar`,className:`bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm`,children:n}),t[33]=n,t[34]=S);let C;t[35]!==i||t[36]!==x||t[37]!==S?(C=(0,V.jsx)(`div`,{className:x,...i,children:S}),t[35]=i,t[36]=x,t[37]=S,t[38]=C):C=t[38];let w;return t[39]!==c||t[40]!==f||t[41]!==C||t[42]!==h||t[43]!==v||t[44]!==l?(w=(0,V.jsxs)(`div`,{className:`group peer text-sidebar-foreground hidden md:block`,"data-state":f,"data-collapsible":h,"data-variant":l,"data-side":c,"data-slot":`sidebar`,children:[v,C]}),t[39]=c,t[40]=f,t[41]=C,t[42]=h,t[43]=v,t[44]=l,t[45]=w):w=t[45],w}function ws(e){let t=(0,R.c)(18),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,onClick:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let{toggleSidebar:a,isMobile:o,state:s}=ys(),c;t[4]===n?c=t[5]:(c=F(`h-7 w-7`,n),t[4]=n,t[5]=c);let l;t[6]!==r||t[7]!==a?(l=e=>{r?.(e),a()},t[6]=r,t[7]=a,t[8]=l):l=t[8];let u;t[9]!==o||t[10]!==s?(u=o||s===`collapsed`?(0,V.jsx)(xr,{}):(0,V.jsx)(br,{}),t[9]=o,t[10]=s,t[11]=u):u=t[11];let d;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,V.jsx)(`span`,{className:`sr-only`,children:`Toggle sidebar`}),t[12]=d):d=t[12];let f;return t[13]!==i||t[14]!==c||t[15]!==l||t[16]!==u?(f=(0,V.jsxs)(x,{"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,variant:`ghost`,size:`icon`,className:c,onClick:l,...i,children:[u,d]}),t[13]=i,t[14]=c,t[15]=l,t[16]=u,t[17]=f):f=t[17],f}function Ts(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`bg-background relative flex max-w-full min-h-svh flex-1 flex-col`,`peer-data-[variant=inset]:min-h-[calc(100svh-(--spacing(4)))] md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`main`,{"data-slot":`sidebar-inset`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Es(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`flex flex-col gap-2 p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{"data-slot":`sidebar-header`,"data-sidebar":`header`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ds(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`flex flex-col gap-2 p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{"data-slot":`sidebar-footer`,"data-sidebar":`footer`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Os(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{"data-slot":`sidebar-content`,"data-sidebar":`content`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ks(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`relative flex w-full min-w-0 flex-col p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{"data-slot":`sidebar-group`,"data-sidebar":`group`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function As(e){let t=(0,R.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,asChild:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i!==void 0&&i?b:`div`,o;t[4]===n?o=t[5]:(o=F(`text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0`,`group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 group-data-[collapsible=icon]:select-none group-data-[collapsible=icon]:pointer-events-none`,n),t[4]=n,t[5]=o);let s;return t[6]!==a||t[7]!==r||t[8]!==o?(s=(0,V.jsx)(a,{"data-slot":`sidebar-group-label`,"data-sidebar":`group-label`,className:o,...r}),t[6]=a,t[7]=r,t[8]=o,t[9]=s):s=t[9],s}function js(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`w-full text-sm`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{"data-slot":`sidebar-group-content`,"data-sidebar":`group-content`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ms(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`flex w-full min-w-0 flex-col gap-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`ul`,{"data-slot":`sidebar-menu`,"data-sidebar":`menu`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ns(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`group/menu-item relative`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`li`,{"data-slot":`sidebar-menu-item`,"data-sidebar":`menu-item`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Ps=v(`peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0`,{variants:{variant:{default:`hover:bg-sidebar-accent hover:text-sidebar-accent-foreground`,outline:`bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]`},size:{default:`h-8 text-sm`,sm:`h-7 text-xs`,lg:`h-12 text-sm group-data-[collapsible=icon]:p-0!`}},defaultVariants:{variant:`default`,size:`default`}});function Fs(e){let t=(0,R.c)(28),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({asChild:i,isActive:a,variant:o,size:s,tooltip:c,className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=i===void 0?!1:i,u=a===void 0?!1:a,d=o===void 0?`default`:o,f=s===void 0?`default`:s,p=l?b:`button`,{isMobile:m,state:h}=ys(),g;t[8]!==n||t[9]!==f||t[10]!==d?(g=F(Ps({variant:d,size:f}),n),t[8]=n,t[9]=f,t[10]=d,t[11]=g):g=t[11];let _;t[12]!==p||t[13]!==u||t[14]!==r||t[15]!==f||t[16]!==g?(_=(0,V.jsx)(p,{"data-slot":`sidebar-menu-button`,"data-sidebar":`menu-button`,"data-size":f,"data-active":u,className:g,...r}),t[12]=p,t[13]=u,t[14]=r,t[15]=f,t[16]=g,t[17]=_):_=t[17];let v=_;if(!c)return v;if(typeof c==`string`){let e;t[18]===c?e=t[19]:(e={children:c},t[18]=c,t[19]=e),c=e}let y;t[20]===v?y=t[21]:(y=(0,V.jsx)(Yn,{asChild:!0,children:v}),t[20]=v,t[21]=y);let x=h!==`collapsed`||m,S;t[22]!==x||t[23]!==c?(S=(0,V.jsx)(Xn,{side:`right`,align:`center`,hidden:x,...c}),t[22]=x,t[23]=c,t[24]=S):S=t[24];let C;return t[25]!==y||t[26]!==S?(C=(0,V.jsxs)(Jn,{children:[y,S]}),t[25]=y,t[26]=S,t[27]=C):C=t[27],C}function Is(e){let t=(0,R.c)(10),n,r,i;if(t[0]===e?(n=t[1],r=t[2],i=t[3]):({variant:i,children:n,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i),(i===void 0?`sidebar`:i)===`sidebar`){let e;return t[4]!==n||t[5]!==r?(e=(0,V.jsx)(Ts,{...r,children:n}),t[4]=n,t[5]=r,t[6]=e):e=t[6],e}let a;return t[7]!==n||t[8]!==r?(a=(0,V.jsx)(`main`,{className:`mx-auto flex h-full w-full max-w-7xl flex-1 flex-col gap-4 rounded-xl`,...r,children:n}),t[7]=n,t[8]=r,t[9]=a):a=t[9],a}function Ls(e){let n=(0,R.c)(5),{children:r,variant:i}=e,a=i===void 0?`sidebar`:i,o=t().props.sidebarOpen;if(a===`header`){let e;return n[0]===r?e=n[1]:(e=(0,V.jsx)(`div`,{className:`flex min-h-screen w-full flex-col`,children:r}),n[0]=r,n[1]=e),e}let s;return n[2]!==r||n[3]!==o?(s=(0,V.jsx)(bs,{defaultOpen:o,children:r}),n[2]=r,n[3]=o,n[4]=s):s=n[4],s}function Rs(e){let t=(0,R.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,V.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M17.2 5.63325L8.6 0.855469L0 5.63325V32.1434L16.2 41.1434L32.4 32.1434V23.699L40 19.4767V9.85547L31.4 5.07769L22.8 9.85547V18.2999L17.2 21.411V5.63325ZM38 18.2999L32.4 21.411V15.2545L38 12.1434V18.2999ZM36.9409 10.4439L31.4 13.5221L25.8591 10.4439L31.4 7.36561L36.9409 10.4439ZM24.8 18.2999V12.1434L30.4 15.2545V21.411L24.8 18.2999ZM23.8 20.0323L29.3409 23.1105L16.2 30.411L10.6591 27.3328L23.8 20.0323ZM7.6 27.9212L15.2 32.1434V38.2999L2 30.9666V7.92116L7.6 11.0323V27.9212ZM8.6 9.29991L3.05913 6.22165L8.6 3.14339L14.1409 6.22165L8.6 9.29991ZM30.4 24.8101L17.2 32.1434V38.2999L30.4 30.9666V24.8101ZM9.6 11.0323L15.2 7.92117V22.5221L9.6 25.6333V11.0323Z`}),t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=(0,V.jsx)(`svg`,{...e,viewBox:`0 0 40 42`,xmlns:`http://www.w3.org/2000/svg`,children:n}),t[1]=e,t[2]=r),r}function zs(){let e=(0,R.c)(2),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,V.jsx)(`div`,{className:`flex aspect-square size-8 items-center justify-center rounded-md bg-sidebar-primary text-sidebar-primary-foreground`,children:(0,V.jsx)(Rs,{className:`size-5 fill-current text-white dark:text-black`})}),e[0]=t):t=e[0];let n;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,V.jsxs)(V.Fragment,{children:[t,(0,V.jsx)(`div`,{className:`ml-1 grid flex-1 text-left text-sm`,children:(0,V.jsx)(`span`,{className:`mb-0.5 truncate leading-tight font-semibold`,children:`Laravel Starter Kit`})})]}),e[1]=n):n=e[1],n}function Bs(e){let t=(0,R.c)(12),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({items:r,className:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=`group-data-[collapsible=icon]:p-0 ${n||``}`,o;t[4]===r?o=t[5]:(o=r.map(Vs),t[4]=r,t[5]=o);let s;t[6]===o?s=t[7]:(s=(0,V.jsx)(js,{children:(0,V.jsx)(Ms,{children:o})}),t[6]=o,t[7]=s);let c;return t[8]!==i||t[9]!==a||t[10]!==s?(c=(0,V.jsx)(ks,{...i,className:a,children:s}),t[8]=i,t[9]=a,t[10]=s,t[11]=c):c=t[11],c}function Vs(e){return(0,V.jsx)(Ns,{children:(0,V.jsx)(Fs,{asChild:!0,className:`text-neutral-600 hover:text-neutral-800 dark:text-neutral-300 dark:hover:text-neutral-100`,children:(0,V.jsxs)(`a`,{href:I(e.href),target:`_blank`,rel:`noopener noreferrer`,children:[e.icon&&(0,V.jsx)(e.icon,{className:`h-5 w-5`}),(0,V.jsx)(`span`,{children:e.title})]})})},e.title)}function Hs(){let e=(0,R.c)(13),n=t(),r;e[0]===n.url?r=e[1]:(r=new URL(n.url,typeof window<`u`?window.location.origin:`http://localhost`),e[0]=n.url,e[1]=r);let i=r.pathname,a;e[2]===i?a=e[3]:(a=(e,t,n)=>{let r=n===void 0?!1:n,a=t??i,o=I(e),s=e=>r?a.startsWith(e):e===a;if(!o.startsWith(`http`))return s(o);try{return s(new URL(o).pathname)}catch{return!1}},e[2]=i,e[3]=a);let o=a,s;e[4]===o?s=e[5]:(s=(e,t)=>o(e,t,!0),e[4]=o,e[5]=s);let c=s,l;e[6]===o?l=e[7]:(l=(e,t,n)=>{let r=n===void 0?null:n;return o(e)?t:r},e[6]=o,e[7]=l);let u=l,d;return e[8]!==i||e[9]!==c||e[10]!==o||e[11]!==u?(d={currentUrl:i,isCurrentUrl:o,isCurrentOrParentUrl:c,whenCurrentUrl:u},e[8]=i,e[9]=c,e[10]=o,e[11]=u,e[12]=d):d=e[12],d}function Us(t){let n=(0,R.c)(10),{items:r}=t,i;n[0]===r?i=n[1]:(i=r===void 0?[]:r,n[0]=r,n[1]=i);let a=i,{isCurrentUrl:o}=Hs(),s;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,V.jsx)(As,{children:`Platform`}),n[2]=s):s=n[2];let c;if(n[3]!==o||n[4]!==a){let t;n[6]===o?t=n[7]:(t=t=>(0,V.jsx)(Ns,{children:(0,V.jsx)(Fs,{asChild:!0,isActive:o(t.href),tooltip:{children:t.title},children:(0,V.jsxs)(e,{href:t.href,prefetch:!0,children:[t.icon&&(0,V.jsx)(t.icon,{}),(0,V.jsx)(`span`,{children:t.title})]})})},t.title),n[6]=o,n[7]=t),c=a.map(t),n[3]=o,n[4]=a,n[5]=c}else c=n[5];let l;return n[8]===c?l=n[9]:(l=(0,V.jsxs)(ks,{className:`px-2 py-0`,children:[s,(0,V.jsx)(Ms,{children:c})]}),n[8]=c,n[9]=l),l}function Ws(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(Wo,{"data-slot":`dropdown-menu`,...n}),t[2]=n,t[3]=r),r}function Gs(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(Go,{"data-slot":`dropdown-menu-trigger`,...n}),t[2]=n,t[3]=r),r}function Ks(e){let t=(0,R.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,sideOffset:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?4:i,o;t[4]===n?o=t[5]:(o=F(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md`,n),t[4]=n,t[5]=o);let s;return t[6]!==r||t[7]!==a||t[8]!==o?(s=(0,V.jsx)(Ko,{children:(0,V.jsx)(qo,{"data-slot":`dropdown-menu-content`,sideOffset:a,className:o,...r})}),t[6]=r,t[7]=a,t[8]=o,t[9]=s):s=t[9],s}function qs(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(Jo,{"data-slot":`dropdown-menu-group`,...n}),t[2]=n,t[3]=r),r}function Js(e){let t=(0,R.c)(12),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:n,inset:r,variant:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`default`:a,s;t[5]===n?s=t[6]:(s=F(`focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-foreground data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/40 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,n),t[5]=n,t[6]=s);let c;return t[7]!==r||t[8]!==i||t[9]!==s||t[10]!==o?(c=(0,V.jsx)(Xo,{"data-slot":`dropdown-menu-item`,"data-inset":r,"data-variant":o,className:s,...i}),t[7]=r,t[8]=i,t[9]=s,t[10]=o,t[11]=c):c=t[11],c}function Ys(e){let t=(0,R.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,inset:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===n?a=t[5]:(a=F(`px-2 py-1.5 text-sm font-medium data-[inset]:pl-8`,n),t[4]=n,t[5]=a);let o;return t[6]!==r||t[7]!==i||t[8]!==a?(o=(0,V.jsx)(Yo,{"data-slot":`dropdown-menu-label`,"data-inset":r,className:a,...i}),t[6]=r,t[7]=i,t[8]=a,t[9]=o):o=t[9],o}function Xs(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`bg-border -mx-1 my-1 h-px`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(Zo,{"data-slot":`dropdown-menu-separator`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Zs(e,t=[]){let n=[];function r(t,r){let i=z.createContext(r);i.displayName=t+`Context`;let a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=z.useMemo(()=>o,Object.values(o));return(0,V.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=z.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>z.createContext(e));return function(n){let r=n?.[e]||t;return z.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,Qs(i,...t)]}function Qs(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return z.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}var $s=`Avatar`,[ec,tc]=Zs($s),[nc,rc]=ec($s),ic=z.forwardRef((e,t)=>{let{__scopeAvatar:n,...r}=e,[i,a]=z.useState(`idle`);return(0,V.jsx)(nc,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:a,children:(0,V.jsx)(pe.span,{...r,ref:t})})});ic.displayName=$s;var ac=`AvatarImage`,oc=z.forwardRef((e,t)=>{let{__scopeAvatar:n,src:r,onLoadingStatusChange:i=()=>{},...a}=e,o=rc(ac,n),s=uc(r,a),c=S(e=>{i(e),o.onImageLoadingStatusChange(e)});return h(()=>{s!==`idle`&&c(s)},[s,c]),s===`loaded`?(0,V.jsx)(pe.img,{...a,ref:t,src:r}):null});oc.displayName=ac;var sc=`AvatarFallback`,cc=z.forwardRef((e,t)=>{let{__scopeAvatar:n,delayMs:r,...i}=e,a=rc(sc,n),[o,s]=z.useState(r===void 0);return z.useEffect(()=>{if(r!==void 0){let e=window.setTimeout(()=>s(!0),r);return()=>window.clearTimeout(e)}},[r]),o&&a.imageLoadingStatus!==`loaded`?(0,V.jsx)(pe.span,{...i,ref:t}):null});cc.displayName=sc;function lc(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?`loaded`:`loading`):`error`:`idle`}function uc(e,{referrerPolicy:t,crossOrigin:n}){let r=Mr(),i=z.useRef(null),a=r?(i.current||=new window.Image,i.current):null,[o,s]=z.useState(()=>lc(a,e));return h(()=>{s(lc(a,e))},[a,e]),h(()=>{let e=e=>()=>{s(e)};if(!a)return;let r=e(`loaded`),i=e(`error`);return a.addEventListener(`load`,r),a.addEventListener(`error`,i),t&&(a.referrerPolicy=t),typeof n==`string`&&(a.crossOrigin=n),()=>{a.removeEventListener(`load`,r),a.removeEventListener(`error`,i)}},[a,n,t]),o}var dc=ic,fc=oc,pc=cc;function mc(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`relative flex size-8 shrink-0 overflow-hidden rounded-full`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(dc,{"data-slot":`avatar`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function hc(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`aspect-square size-full`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(fc,{"data-slot":`avatar-image`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function gc(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`bg-muted flex size-full items-center justify-center rounded-full`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(pc,{"data-slot":`avatar-fallback`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function _c(){return vc}function vc(e){let t=e.trim().split(` `);return t.length===0?``:t.length===1?t[0].charAt(0).toUpperCase():`${t[0].charAt(0)}${t[t.length-1].charAt(0)}`.toUpperCase()}function yc(e){let t=(0,R.c)(22),{user:n,showEmail:r}=e,i=r===void 0?!1:r,a=_c(),o;t[0]!==n.avatar||t[1]!==n.name?(o=(0,V.jsx)(hc,{src:n.avatar,alt:n.name}),t[0]=n.avatar,t[1]=n.name,t[2]=o):o=t[2];let s;t[3]!==a||t[4]!==n.name?(s=a(n.name),t[3]=a,t[4]=n.name,t[5]=s):s=t[5];let c;t[6]===s?c=t[7]:(c=(0,V.jsx)(gc,{className:`rounded-lg bg-neutral-200 text-black dark:bg-neutral-700 dark:text-white`,children:s}),t[6]=s,t[7]=c);let l;t[8]!==o||t[9]!==c?(l=(0,V.jsxs)(mc,{className:`h-8 w-8 overflow-hidden rounded-full`,children:[o,c]}),t[8]=o,t[9]=c,t[10]=l):l=t[10];let u;t[11]===n.name?u=t[12]:(u=(0,V.jsx)(`span`,{className:`truncate font-medium`,children:n.name}),t[11]=n.name,t[12]=u);let d;t[13]!==i||t[14]!==n.email?(d=i&&(0,V.jsx)(`span`,{className:`truncate text-xs text-muted-foreground`,children:n.email}),t[13]=i,t[14]=n.email,t[15]=d):d=t[15];let f;t[16]!==u||t[17]!==d?(f=(0,V.jsxs)(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[u,d]}),t[16]=u,t[17]=d,t[18]=f):f=t[18];let p;return t[19]!==l||t[20]!==f?(p=(0,V.jsxs)(V.Fragment,{children:[l,f]}),t[19]=l,t[20]=f,t[21]=p):p=t[21],p}function bc(){return xc}function xc(){document.body.style.removeProperty(`pointer-events`)}var W=e=>({url:W.url(e),method:`get`});W.definition={methods:[`get`,`head`],url:`/login`},W.url=e=>W.definition.url+s(e),W.get=e=>({url:W.url(e),method:`get`}),W.head=e=>({url:W.url(e),method:`head`});var Sc=e=>({action:W.url(e),method:`get`});Sc.get=e=>({action:W.url(e),method:`get`}),Sc.head=e=>({action:W.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),W.form=Sc;var G=e=>({url:G.url(e),method:`post`});G.definition={methods:[`post`],url:`/logout`},G.url=e=>G.definition.url+s(e),G.post=e=>({url:G.url(e),method:`post`});var Cc=e=>({action:G.url(e),method:`post`});Cc.post=e=>({action:G.url(e),method:`post`}),G.form=Cc;var K=e=>({url:K.url(e),method:`get`});K.definition={methods:[`get`,`head`],url:`/register`},K.url=e=>K.definition.url+s(e),K.get=e=>({url:K.url(e),method:`get`}),K.head=e=>({url:K.url(e),method:`head`});var wc=e=>({action:K.url(e),method:`get`});wc.get=e=>({action:K.url(e),method:`get`}),wc.head=e=>({action:K.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),K.form=wc;var q=e=>({url:q.url(e),method:`get`});q.definition={methods:[`get`,`head`],url:`/`},q.url=e=>q.definition.url+s(e),q.get=e=>({url:q.url(e),method:`get`}),q.head=e=>({url:q.url(e),method:`head`});var Tc=e=>({action:q.url(e),method:`get`});Tc.get=e=>({action:q.url(e),method:`get`}),Tc.head=e=>({action:q.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),q.form=Tc;var J=e=>({url:J.url(e),method:`get`});J.definition={methods:[`get`,`head`],url:`/dashboard`},J.url=e=>J.definition.url+s(e),J.get=e=>({url:J.url(e),method:`get`}),J.head=e=>({url:J.url(e),method:`head`});var Ec=e=>({action:J.url(e),method:`get`});Ec.get=e=>({action:J.url(e),method:`get`}),Ec.head=e=>({action:J.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),J.form=Ec;var Y=e=>({url:Y.url(e),method:`get`});Y.definition={methods:[`get`,`head`],url:`/settings/profile`},Y.url=e=>Y.definition.url+s(e),Y.get=e=>({url:Y.url(e),method:`get`}),Y.head=e=>({url:Y.url(e),method:`head`});var Dc=e=>({action:Y.url(e),method:`get`});Dc.get=e=>({action:Y.url(e),method:`get`}),Dc.head=e=>({action:Y.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),Y.form=Dc;var X=e=>({url:X.url(e),method:`patch`});X.definition={methods:[`patch`],url:`/settings/profile`},X.url=e=>X.definition.url+s(e),X.patch=e=>({url:X.url(e),method:`patch`});var Oc=e=>({action:X.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`PATCH`,...e?.query??e?.mergeQuery??{}}}),method:`post`});Oc.patch=e=>({action:X.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`PATCH`,...e?.query??e?.mergeQuery??{}}}),method:`post`}),X.form=Oc;var Z=e=>({url:Z.url(e),method:`delete`});Z.definition={methods:[`delete`],url:`/settings/profile`},Z.url=e=>Z.definition.url+s(e),Z.delete=e=>({url:Z.url(e),method:`delete`});var kc=e=>({action:Z.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`DELETE`,...e?.query??e?.mergeQuery??{}}}),method:`post`});kc.delete=e=>({action:Z.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`DELETE`,...e?.query??e?.mergeQuery??{}}}),method:`post`}),Z.form=kc,Object.assign(Y,Y),Object.assign(X,X),Object.assign(Z,Z);function Ac(t){let n=(0,R.c)(18),{user:i}=t,a=bc(),o;n[0]===a?o=n[1]:(o=()=>{a(),r.flushAll()},n[0]=a,n[1]=o);let s=o,c;n[2]===i?c=n[3]:(c=(0,V.jsx)(Ys,{className:`p-0 font-normal`,children:(0,V.jsx)(`div`,{className:`flex items-center gap-2 px-1 py-1.5 text-left text-sm`,children:(0,V.jsx)(yc,{user:i,showEmail:!0})})}),n[2]=i,n[3]=c);let l;n[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,V.jsx)(Xs,{}),n[4]=l):l=n[4];let u;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(u=Y(),n[5]=u):u=n[5];let d;n[6]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,V.jsx)(Sr,{className:`mr-2`}),n[6]=d):d=n[6];let f;n[7]===a?f=n[8]:(f=(0,V.jsx)(qs,{children:(0,V.jsx)(Js,{asChild:!0,children:(0,V.jsxs)(e,{className:`block w-full cursor-pointer`,href:u,prefetch:!0,onClick:a,children:[d,`Settings`]})})}),n[7]=a,n[8]=f);let p;n[9]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,V.jsx)(Xs,{}),n[9]=p):p=n[9];let m;n[10]===Symbol.for(`react.memo_cache_sentinel`)?(m=G(),n[10]=m):m=n[10];let h;n[11]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,V.jsx)(yr,{className:`mr-2`}),n[11]=h):h=n[11];let g;n[12]===s?g=n[13]:(g=(0,V.jsx)(Js,{asChild:!0,children:(0,V.jsxs)(e,{className:`block w-full cursor-pointer`,href:m,as:`button`,onClick:s,"data-test":`logout-button`,children:[h,`Log out`]})}),n[12]=s,n[13]=g);let _;return n[14]!==g||n[15]!==c||n[16]!==f?(_=(0,V.jsxs)(V.Fragment,{children:[c,l,f,p,g]}),n[14]=g,n[15]=c,n[16]=f,n[17]=_):_=n[17],_}function jc(){let e=(0,R.c)(13),{auth:n}=t().props,{state:r}=ys(),i=ds();if(!n.user)return null;let a;e[0]===n.user?a=e[1]:(a=(0,V.jsx)(yc,{user:n.user}),e[0]=n.user,e[1]=a);let o;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,V.jsx)(gr,{className:`ml-auto size-4`}),e[2]=o):o=e[2];let s;e[3]===a?s=e[4]:(s=(0,V.jsx)(Gs,{asChild:!0,children:(0,V.jsxs)(Fs,{size:`lg`,className:`group text-sidebar-accent-foreground data-[state=open]:bg-sidebar-accent`,"data-test":`sidebar-menu-button`,children:[a,o]})}),e[3]=a,e[4]=s);let c=i?`bottom`:r===`collapsed`?`left`:`bottom`,l;e[5]===n.user?l=e[6]:(l=(0,V.jsx)(Ac,{user:n.user}),e[5]=n.user,e[6]=l);let u;e[7]!==c||e[8]!==l?(u=(0,V.jsx)(Ks,{className:`w-(--radix-dropdown-menu-trigger-width) min-w-56 rounded-lg`,align:`end`,side:c,children:l}),e[7]=c,e[8]=l,e[9]=u):u=e[9];let d;return e[10]!==s||e[11]!==u?(d=(0,V.jsx)(Ms,{children:(0,V.jsx)(Ns,{children:(0,V.jsxs)(Ws,{children:[s,u]})})}),e[10]=s,e[11]=u,e[12]=d):d=e[12],d}var Mc=[{title:`Dashboard`,href:J(),icon:vr}],Nc=[{title:`Repository`,href:`https://github.com/laravel/react-starter-kit`,icon:_r},{title:`Documentation`,href:`https://laravel.com/docs/starter-kits#react`,icon:mr}];function Pc(){let t=(0,R.c)(4),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=J(),t[0]=n):n=t[0];let r;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,V.jsx)(Es,{children:(0,V.jsx)(Ms,{children:(0,V.jsx)(Ns,{children:(0,V.jsx)(Fs,{size:`lg`,asChild:!0,children:(0,V.jsx)(e,{href:n,prefetch:!0,children:(0,V.jsx)(zs,{})})})})})}),t[1]=r):r=t[1];let i;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,V.jsx)(Os,{children:(0,V.jsx)(Us,{items:Mc})}),t[2]=i):i=t[2];let a;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,V.jsxs)(Cs,{collapsible:`icon`,variant:`inset`,children:[r,i,(0,V.jsxs)(Ds,{children:[(0,V.jsx)(Bs,{items:Nc,className:`mt-auto`}),(0,V.jsx)(jc,{})]})]}),t[3]=a):a=t[3],a}function Fc(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(`nav`,{"aria-label":`breadcrumb`,"data-slot":`breadcrumb`,...n}),t[2]=n,t[3]=r),r}function Ic(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`ol`,{"data-slot":`breadcrumb-list`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Lc(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`inline-flex items-center gap-1.5`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`li`,{"data-slot":`breadcrumb-item`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Rc(e){let t=(0,R.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({asChild:n,className:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=n?b:`a`,o;t[4]===r?o=t[5]:(o=F(`hover:text-foreground transition-colors`,r),t[4]=r,t[5]=o);let s;return t[6]!==a||t[7]!==i||t[8]!==o?(s=(0,V.jsx)(a,{"data-slot":`breadcrumb-link`,className:o,...i}),t[6]=a,t[7]=i,t[8]=o,t[9]=s):s=t[9],s}function zc(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=F(`text-foreground font-normal`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`span`,{"data-slot":`breadcrumb-page`,role:`link`,"aria-disabled":`true`,"aria-current":`page`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Bc(e){let t=(0,R.c)(12),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({children:n,className:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=F(`[&>svg]:size-3.5`,r),t[4]=r,t[5]=a);let o;t[6]===n?o=t[7]:(o=n??(0,V.jsx)(hr,{}),t[6]=n,t[7]=o);let s;return t[8]!==i||t[9]!==a||t[10]!==o?(s=(0,V.jsx)(`li`,{"data-slot":`breadcrumb-separator`,role:`presentation`,"aria-hidden":`true`,className:a,...i,children:o}),t[8]=i,t[9]=a,t[10]=o,t[11]=s):s=t[11],s}function Vc(t){let n=(0,R.c)(4),{breadcrumbs:r}=t,i;n[0]===r?i=n[1]:(i=r.length>0&&(0,V.jsx)(Fc,{children:(0,V.jsx)(Ic,{children:r.map((t,n)=>{let i=n===r.length-1;return(0,V.jsxs)(z.Fragment,{children:[(0,V.jsx)(Lc,{children:i?(0,V.jsx)(zc,{children:t.title}):(0,V.jsx)(Rc,{asChild:!0,children:(0,V.jsx)(e,{href:t.href,children:t.title})})}),!i&&(0,V.jsx)(Bc,{})]},n)})})}),n[0]=r,n[1]=i);let a;return n[2]===i?a=n[3]:(a=(0,V.jsx)(V.Fragment,{children:i}),n[2]=i,n[3]=a),a}function Hc(e){let t=(0,R.c)(5),{breadcrumbs:n}=e,r;t[0]===n?r=t[1]:(r=n===void 0?[]:n,t[0]=n,t[1]=r);let i=r,a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,V.jsx)(ws,{className:`-ml-1`}),t[2]=a):a=t[2];let o;return t[3]===i?o=t[4]:(o=(0,V.jsx)(`header`,{className:`flex h-16 shrink-0 items-center gap-2 border-b border-sidebar-border/50 px-6 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-12 md:px-4`,children:(0,V.jsxs)(`div`,{className:`flex items-center gap-2`,children:[a,(0,V.jsx)(Vc,{breadcrumbs:i})]})}),t[3]=i,t[4]=o),o}function Uc(e){let t=(0,R.c)(8),{children:n,breadcrumbs:r}=e,i;t[0]===r?i=t[1]:(i=r===void 0?[]:r,t[0]=r,t[1]=i);let a=i,o;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,V.jsx)(Pc,{}),t[2]=o):o=t[2];let s;t[3]===a?s=t[4]:(s=(0,V.jsx)(Hc,{breadcrumbs:a}),t[3]=a,t[4]=s);let c;return t[5]!==n||t[6]!==s?(c=(0,V.jsxs)(Ls,{variant:`sidebar`,children:[o,(0,V.jsxs)(Is,{variant:`sidebar`,className:`overflow-x-hidden`,children:[s,n]})]}),t[5]=n,t[6]=s,t[7]=c):c=t[7],c}function Wc(e){let t=(0,R.c)(5),{breadcrumbs:n,children:r}=e,i;t[0]===n?i=t[1]:(i=n===void 0?[]:n,t[0]=n,t[1]=i);let a=i,o;return t[2]!==a||t[3]!==r?(o=(0,V.jsx)(Uc,{breadcrumbs:a,children:r}),t[2]=a,t[3]=r,t[4]=o):o=t[4],o}function Gc(t){let n=(0,R.c)(17),{children:r,title:i,description:a}=t,o;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=q(),n[0]=o):o=n[0];let s;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,V.jsx)(`div`,{className:`mb-1 flex h-9 w-9 items-center justify-center rounded-md`,children:(0,V.jsx)(Rs,{className:`size-9 fill-current text-[var(--foreground)] dark:text-white`})}),n[1]=s):s=n[1];let c;n[2]===i?c=n[3]:(c=(0,V.jsxs)(e,{href:o,className:`flex flex-col items-center gap-2 font-medium`,children:[s,(0,V.jsx)(`span`,{className:`sr-only`,children:i})]}),n[2]=i,n[3]=c);let l;n[4]===i?l=n[5]:(l=(0,V.jsx)(`h1`,{className:`text-xl font-medium`,children:i}),n[4]=i,n[5]=l);let u;n[6]===a?u=n[7]:(u=(0,V.jsx)(`p`,{className:`text-center text-sm text-muted-foreground`,children:a}),n[6]=a,n[7]=u);let d;n[8]!==l||n[9]!==u?(d=(0,V.jsxs)(`div`,{className:`space-y-2 text-center`,children:[l,u]}),n[8]=l,n[9]=u,n[10]=d):d=n[10];let f;n[11]!==c||n[12]!==d?(f=(0,V.jsxs)(`div`,{className:`flex flex-col items-center gap-4`,children:[c,d]}),n[11]=c,n[12]=d,n[13]=f):f=n[13];let p;return n[14]!==r||n[15]!==f?(p=(0,V.jsx)(`div`,{className:`flex min-h-svh flex-col items-center justify-center gap-6 bg-background p-6 md:p-10`,children:(0,V.jsx)(`div`,{className:`w-full max-w-sm`,children:(0,V.jsxs)(`div`,{className:`flex flex-col gap-8`,children:[f,r]})})}),n[14]=r,n[15]=f,n[16]=p):p=n[16],p}function Kc(e){let t=(0,R.c)(4),{title:n,description:r,children:i}=e,a=n===void 0?``:n,o=r===void 0?``:r,s;return t[0]!==i||t[1]!==o||t[2]!==a?(s=(0,V.jsx)(Gc,{title:a,description:o,children:i}),t[0]=i,t[1]=o,t[2]=a,t[3]=s):s=t[3],s}function qc(e){let t=(0,R.c)(10),{title:n,description:r,variant:i,as:a}=e,o=i===void 0?`default`:i,s=a===void 0?`h1`:a,c=o===`small`?``:`mb-8 space-y-0.5`,l=o===`small`?`mb-0.5 text-base font-medium`:`text-xl font-semibold tracking-tight`,u;t[0]!==s||t[1]!==l||t[2]!==n?(u=(0,V.jsx)(s,{className:l,children:n}),t[0]=s,t[1]=l,t[2]=n,t[3]=u):u=t[3];let d;t[4]===r?d=t[5]:(d=r&&(0,V.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:r}),t[4]=r,t[5]=d);let f;return t[6]!==c||t[7]!==u||t[8]!==d?(f=(0,V.jsxs)(`header`,{className:c,children:[u,d]}),t[6]=c,t[7]=u,t[8]=d,t[9]=f):f=t[9],f}var Q=e=>({url:Q.url(e),method:`get`});Q.definition={methods:[`get`,`head`],url:`/settings/appearance`},Q.url=e=>Q.definition.url+s(e),Q.get=e=>({url:Q.url(e),method:`get`}),Q.head=e=>({url:Q.url(e),method:`head`});var Jc=e=>({action:Q.url(e),method:`get`});Jc.get=e=>({action:Q.url(e),method:`get`}),Jc.head=e=>({action:Q.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),Q.form=Jc,Object.assign(Q,Q);var $=e=>({url:$.url(e),method:`get`});$.definition={methods:[`get`,`head`],url:`/settings/security`},$.url=e=>$.definition.url+s(e),$.get=e=>({url:$.url(e),method:`get`}),$.head=e=>({url:$.url(e),method:`head`});var Yc=e=>({action:$.url(e),method:`get`});Yc.get=e=>({action:$.url(e),method:`get`}),Yc.head=e=>({action:$.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),$.form=Yc,Object.assign($,$);var Xc=[{title:`Profile`,href:Y(),icon:null},{title:`Security`,href:$(),icon:null},{title:`Appearance`,href:Q(),icon:null}];function Zc(t){let n=(0,R.c)(11),{children:r}=t,{isCurrentOrParentUrl:i}=Hs(),a;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,V.jsx)(qc,{title:`Settings`,description:`Manage your profile and account settings`}),n[0]=a):a=n[0];let o;n[1]===i?o=n[2]:(o=Xc.map((t,n)=>(0,V.jsx)(x,{size:`sm`,variant:`ghost`,asChild:!0,className:F(`w-full justify-start`,{"bg-muted":i(t.href)}),children:(0,V.jsxs)(e,{href:t.href,children:[t.icon&&(0,V.jsx)(t.icon,{className:`h-4 w-4`}),t.title]})},`${I(t.href)}-${n}`)),n[1]=i,n[2]=o);let s;n[3]===o?s=n[4]:(s=(0,V.jsx)(`aside`,{className:`w-full max-w-xl lg:w-48`,children:(0,V.jsx)(`nav`,{className:`flex flex-col space-y-1 space-x-0`,"aria-label":`Settings`,children:o})}),n[3]=o,n[4]=s);let c;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,V.jsx)(Ar,{className:`my-6 lg:hidden`}),n[5]=c):c=n[5];let l;n[6]===r?l=n[7]:(l=(0,V.jsx)(`div`,{className:`flex-1 md:max-w-2xl`,children:(0,V.jsx)(`section`,{className:`max-w-xl space-y-12`,children:r})}),n[6]=r,n[7]=l);let u;return n[8]!==s||n[9]!==l?(u=(0,V.jsxs)(`div`,{className:`px-4 py-6`,children:[a,(0,V.jsxs)(`div`,{className:`flex flex-col lg:flex-row lg:space-x-12`,children:[s,c,l]})]}),n[8]=s,n[9]=l,n[10]=u):u=n[10],u}var Qc=`ui designbycode`;a({resolve:async(e,t)=>{let r=Object.assign({"./pages/animate-css/index.tsx":()=>n(()=>import(`./animate-css-DKvealyV.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20])),"./pages/auth/confirm-password.tsx":()=>n(()=>import(`./confirm-password-McieLPbR.js`),__vite__mapDeps([21,1,3,4,22,23,24,25,26,27,28])),"./pages/auth/forgot-password.tsx":()=>n(()=>import(`./forgot-password-CAdW6lWH.js`),__vite__mapDeps([29,1,3,4,22,23,27,25,30,31,28])),"./pages/auth/login.tsx":()=>n(()=>import(`./login-BeDcfjIp.js`),__vite__mapDeps([32,1,33,6,3,4,34,8,22,23,35,24,9,25,30,26,27,31,28])),"./pages/auth/register.tsx":()=>n(()=>import(`./register-D3EeM3dT.js`),__vite__mapDeps([36,1,3,4,22,23,35,24,9,25,30,26,27])),"./pages/auth/reset-password.tsx":()=>n(()=>import(`./reset-password-BR7tvV80.js`),__vite__mapDeps([37,1,3,4,22,23,24,25,26,27,31,28])),"./pages/auth/two-factor-challenge.tsx":()=>n(()=>import(`./two-factor-challenge-CGEErSW_.js`),__vite__mapDeps([38,1,3,4,39,25])),"./pages/auth/verify-email.tsx":()=>n(()=>import(`./verify-email-aCevutg7.js`),__vite__mapDeps([40,1,3,4,30,26,27,41])),"./pages/dashboard.tsx":()=>n(()=>import(`./dashboard-D7f7mapW.js`),__vite__mapDeps([42,1,11])),"./pages/fonts/index.tsx":()=>n(()=>import(`./fonts-CuGAF-ps.js`),__vite__mapDeps([43,1,7,3,4,5,6,8,9,10,11,12,13,14,44,18])),"./pages/home.tsx":()=>n(()=>import(`./home-C_IOam5p.js`),__vite__mapDeps([45,1,46,3,4,8,14,47,12,48,6,49,5,34,7,9,10,11,15,33,22,23,13,44,18,20])),"./pages/settings/appearance.tsx":()=>n(()=>import(`./appearance-C7UEWifC.js`),__vite__mapDeps([50,1,4,10,12])),"./pages/settings/profile.tsx":()=>n(()=>import(`./profile-BJaEZKpb.js`),__vite__mapDeps([51,1,3,4,22,23,24,25,19,5,6,41])),"./pages/settings/security.tsx":()=>n(()=>import(`./security-uma_Il6p.js`),__vite__mapDeps([52,1,3,4,22,23,39,8,14,24,25,47,18,19,5,6,26,27,12])),"./pages/themes/index.tsx":()=>n(()=>import(`./themes-ukhsZa4u.js`),__vite__mapDeps([53,1,48,6,3,4,49,5,34,7,8,9,10,11,12,15,18])),"./pages/themes/show.tsx":()=>n(()=>import(`./show-CitGWGXA.js`),__vite__mapDeps([54,1,46,3,4,8,14,47,12,6,49,5,22,23,7,9,10,11,16,44,18]))}),i=await(r[`./pages/${e}.tsx`]||r[`./pages/${e}.jsx`]||r[`./Pages/${e}.tsx`]||r[`./Pages/${e}.jsx`])?.();if(!i)throw Error(`Page not found: ${e}`);return i.default??i},title:e=>e?`${e} - ${Qc}`:Qc,layout:e=>{switch(!0){case e===`welcome`:return null;case e.startsWith(`auth/`):return Kc;case e.startsWith(`settings/`):return[Wc,Zc];default:return Wc}},strictMode:!0,withApp(e){return(0,V.jsxs)(qn,{delayDuration:0,children:[(0,V.jsx)(`div`,{children:e}),(0,V.jsx)(Xe,{})]})},progress:{color:`var(--primary)`}}),f(),ur();export{nn as A,oi as C,dr as D,fr as E,xt as F,vt as I,je as L,Bt as M,zt as N,pr as O,Lt as P,vi as S,Cr as T,as as _,J as a,$o as b,G as c,gc as d,hc as f,ns as g,Qo as h,Y as i,Rt as j,Zn as k,K as l,os as m,Q as n,q as o,ds as p,qc as r,W as s,$ as t,mc as u,rs as v,Ar as w,yi as x,is as y}; \ No newline at end of file diff --git a/public/build/assets/app-Dx1z-JoH.css b/public/build/assets/app-Dx1z-JoH.css deleted file mode 100644 index a4d1a34..0000000 --- a/public/build/assets/app-Dx1z-JoH.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */ -@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-mask-linear:linear-gradient(#fff, #fff);--tw-mask-radial:linear-gradient(#fff, #fff);--tw-mask-conic:linear-gradient(#fff, #fff);--tw-mask-linear-position:0deg;--tw-mask-linear-from-position:0%;--tw-mask-linear-to-position:100%;--tw-mask-linear-from-color:black;--tw-mask-linear-to-color:transparent;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:"Instrument Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-serif:ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-green-100:oklch(96.2% .044 156.743);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-zinc-900:oklch(21% .006 285.885);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:oklch(20.5% 0 0);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-normal:0em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-normal:1.5;--leading-relaxed:1.625;--radius-xs:.125rem;--radius-sm:calc(var(--radius) - 4px);--radius-md:calc(var(--radius) - 2px);--radius-lg:var(--radius);--radius-xl:.75rem;--radius-2xl:1rem;--shadow-2xs:0 1px #0000000d;--shadow-xs:0 1px 2px 0 #0000000d;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--shadow-2xl:0 25px 50px -12px #00000040;--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce:bounce 1s;--blur-xs:4px;--blur-sm:8px;--blur-2xl:40px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-background:var(--background);--color-foreground:var(--foreground);--color-card:var(--card);--color-card-foreground:var(--card-foreground);--color-popover:var(--popover);--color-popover-foreground:var(--popover-foreground);--color-primary:var(--primary);--color-primary-foreground:var(--primary-foreground);--color-secondary:var(--secondary);--color-secondary-foreground:var(--secondary-foreground);--color-muted:var(--muted);--color-muted-foreground:var(--muted-foreground);--color-accent:var(--accent);--color-accent-foreground:var(--accent-foreground);--color-destructive:var(--destructive);--color-destructive-foreground:var(--destructive-foreground);--color-border:var(--border);--color-input:var(--input);--color-ring:var(--ring);--color-chart-1:var(--chart-1);--color-chart-2:var(--chart-2);--color-chart-3:var(--chart-3);--color-chart-4:var(--chart-4);--color-chart-5:var(--chart-5);--color-sidebar:var(--sidebar);--color-sidebar-foreground:var(--sidebar-foreground);--color-sidebar-primary:var(--sidebar-primary);--color-sidebar-primary-foreground:var(--sidebar-primary-foreground);--color-sidebar-accent:var(--sidebar-accent);--color-sidebar-accent-foreground:var(--sidebar-accent-foreground);--color-sidebar-border:var(--sidebar-border);--color-sidebar-ring:var(--sidebar-ring);--animate-flash:flash 1s;--animate-wobble:wobble 1s ease-in-out;--animate-rubber-band:rubberBand 1s;--animate-shake:shake 1s;--animate-head-shake:headShake 1s ease-in-out;--animate-swing:swing 1s;--animate-tada:tada 1s;--animate-jello:jello 1s;--animate-heart-beat:heartBeat 1s;--animate-flip:flip 1s ease-in-out;--animate-flip-in-x:flipInX 1s;--animate-flip-in-y:flipInY 1s;--animate-flip-out-x:flipOutX 1s;--animate-flip-out-y:flipOutY 1s;--animate-fade-in:fadeIn 1s;--animate-fade-in-down:fadeInDown 1s;--animate-fade-in-down-big:fadeInDownBig 1s;--animate-fade-in-left:fadeInLeft 1s;--animate-fade-in-left-big:fadeInLeftBig 1s;--animate-fade-in-right:fadeInRight 1s;--animate-fade-in-right-big:fadeInRightBig 1s;--animate-fade-in-up:fadeInUp 1s;--animate-fade-in-up-big:fadeInUpBig 1s;--animate-fade-out:fadeOut 1s;--animate-fade-out-down:fadeOutDown 1s;--animate-fade-out-down-big:fadeOutDownBig 1s;--animate-fade-out-left:fadeOutLeft 1s;--animate-fade-out-left-big:fadeOutLeftBig 1s;--animate-fade-out-right:fadeOutRight 1s;--animate-fade-out-right-big:fadeOutRightBig 1s;--animate-fade-out-up:fadeOutUp 1s;--animate-fade-out-up-big:fadeOutUpBig 1s;--animate-slide-in-down:slideInDown 1s;--animate-slide-in-left:slideInLeft 1s;--animate-slide-in-right:slideInRight 1s;--animate-slide-in-up:slideInUp 1s;--animate-slide-out-down:slideOutDown 1s;--animate-slide-out-left:slideOutLeft 1s;--animate-slide-out-right:slideOutRight 1s;--animate-slide-out-up:slideOutUp 1s;--animate-zoom-in:zoomIn 1s;--animate-zoom-in-down:zoomInDown 1s;--animate-zoom-in-left:zoomInLeft 1s;--animate-zoom-in-right:zoomInRight 1s;--animate-zoom-in-up:zoomInUp 1s;--animate-zoom-out:zoomOut 1s;--animate-zoom-out-down:zoomOutDown 1s;--animate-zoom-out-left:zoomOutLeft 1s;--animate-zoom-out-right:zoomOutRight 1s;--animate-zoom-out-up:zoomOutUp 1s;--animate-rotate-in:rotateIn 1s;--animate-rotate-out:rotateOut 1s;--animate-roll-in:rollIn 1s;--animate-roll-out:rollOut 1s;--animate-light-speed-in:lightSpeedInRight 1s ease-out;--animate-light-speed-out:lightSpeedOutLeft 1s ease-in;--animate-jack-in-box:jackInTheBox 1s;--animate-hinge:hinge 2s;--animate-bounce-in:bounceIn .75s;--animate-bounce-in-down:bounceInDown 1s;--animate-bounce-in-left:bounceInLeft 1s;--animate-bounce-in-right:bounceInRight 1s;--animate-bounce-in-up:bounceInUp 1s;--animate-bounce-out:bounceOut .75s;--animate-bounce-out-down:bounceOutDown 1s;--animate-bounce-out-left:bounceOutLeft 1s;--animate-bounce-out-right:bounceOutRight 1s;--animate-bounce-out-up:bounceOutUp 1s;--animate-back-in-down:backInDown 1s;--animate-back-in-left:backInLeft 1s;--animate-back-in-right:backInRight 1s;--animate-back-in-up:backInUp 1s;--animate-back-out-down:backOutDown 1s;--animate-back-out-left:backOutLeft 1s;--animate-back-out-right:backOutRight 1s;--animate-back-out-up:backOutUp 1s;--animate-rotate-in-down-left:rotateInDownLeft 1s;--animate-rotate-in-down-right:rotateInDownRight 1s;--animate-rotate-in-up-left:rotateInUpLeft 1s;--animate-rotate-in-up-right:rotateInUpRight 1s;--animate-rotate-out-down-left:rotateOutDownLeft 1s;--animate-rotate-out-down-right:rotateOutDownRight 1s;--animate-rotate-out-up-left:rotateOutUpLeft 1s;--animate-rotate-out-up-right:rotateOutUpRight 1s;--animate-float:float 3s ease-in-out infinite;--animate-wiggle:wiggle .8s ease-in-out infinite;--animate-blur-in:blurIn .6s ease-out;--animate-blur-out:blurOut .6s ease-in;--animate-glitch:glitch .6s steps(1) infinite;--animate-pop:pop .4s cubic-bezier(.26, .53, .74, 1.48);--animate-compress:compress .5s ease-in-out;--animate-expand:expand .5s cubic-bezier(.175, .885, .32, 1.275);--animate-drop:drop .6s ease-out;--animate-sway:sway 2s ease-in-out infinite;--animate-ken-burns:kenBurns 8s ease-in-out infinite alternate;--animate-tilt:tilt 1.5s ease-in-out infinite alternate;--animate-alarm:alarm .8s ease-in-out;--animate-ring:ring .5s ease-in-out;--animate-bell:bell 1s ease-in-out;--font-bebas-neue:"Bebas Neue", sans-serif;--font-pixelify-sans:"Pixelify Sans Variable", system-ui;--font-caveat:"Caveat Variable", cursive;--font-dm-serif-display:"DM Serif Display", serif;--font-fira-mono:"Fira Mono", monospace;--font-great-vibes:"Great Vibes", cursive;--font-ibm-plex-mono:"IBM Plex Mono", monospace;--font-ibm-plex-sans:"IBM Plex Sans", sans-serif;--font-inter:"Inter Variable", sans-serif;--font-nerko-one:"Nerko One", cursive;--font-orbitron-serif:"Orbitron", sans-serif;--font-playfair-display-serif:"Playfair Display Variable", sans-serif;--font-poppins:"Poppins", sans-serif;--font-roboto:"Roboto Variable", sans-serif;--font-roboto-slab:"Roboto Slab", serif;--font-work-sans:"Work Sans Variable", sans-serif;--font-barlow-condensed:"Barlow Condensed", sans-serif;--font-cinzel:"Cinzel Variable", serif;--font-cormorant-garamond:"Cormorant Garamond Variable", serif;--font-fira-code:"Fira Code Variable", monospace;--font-instrument-sans:"Instrument Sans Variable", sans-serif;--font-jetbrains-mono:"JetBrains Mono Variable", monospace;--font-merriweather:"Merriweather Variable", serif;--font-manrope:"Manrope Variable", sans-serif;--font-nunito:"Nunito Variable", sans-serif;--font-oswald:"Oswald Variable", sans-serif;--font-patrick-hand:"Patrick Hand", handwriting;--font-quicksand:"Quicksand Variable", sans-serif;--font-rajdhani:"Rajdhani", sans-serif;--font-roboto-condensed:"Roboto Condensed Variable", sans-serif;--font-roboto-mono:"Roboto Mono Variable", monospace;--font-source-sans-3:"Source Sans 3 Variable", sans-serif;--font-space-grotesk:"Space Grotesk Variable", sans-serif;--font-varela-round:"Varela Round", sans-serif}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--color-border)}body{background-color:var(--color-background);color:var(--color-foreground)}body ::selection{background-color:var(--color-primary)}@supports (color:color-mix(in lab, red, red)){body ::selection{background-color:color-mix(in oklab, var(--color-primary) 75%, transparent)}}body::selection{background-color:var(--color-primary)}@supports (color:color-mix(in lab, red, red)){body::selection{background-color:color-mix(in oklab, var(--color-primary) 75%, transparent)}}body ::selection{color:var(--color-primary-foreground)}body::selection{color:var(--color-primary-foreground)}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.pointer-events-none\!{pointer-events:none!important}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.static\!{position:static!important}.sticky{position:sticky}.-inset-0\.5{inset:calc(var(--spacing) * -.5)}.-inset-1{inset:calc(var(--spacing) * -1)}.-inset-1\.5{inset:calc(var(--spacing) * -1.5)}.-inset-2{inset:calc(var(--spacing) * -2)}.inset-0{inset:calc(var(--spacing) * 0)}.inset-x-0{inset-inline:calc(var(--spacing) * 0)}.inset-x-5{inset-inline:calc(var(--spacing) * 5)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.top-0{top:calc(var(--spacing) * 0)}.top-1\.5{top:calc(var(--spacing) * 1.5)}.top-1\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.top-3\.5{top:calc(var(--spacing) * 3.5)}.top-4{top:calc(var(--spacing) * 4)}.top-\[1px\]{top:1px}.top-\[50\%\]{top:50%}.top-\[60\%\]{top:60%}.top-full{top:100%}.right-0{right:calc(var(--spacing) * 0)}.right-1{right:calc(var(--spacing) * 1)}.right-2{right:calc(var(--spacing) * 2)}.right-3{right:calc(var(--spacing) * 3)}.right-4{right:calc(var(--spacing) * 4)}.right-7{right:calc(var(--spacing) * 7)}.-bottom-8{bottom:calc(var(--spacing) * -8)}.bottom-0{bottom:calc(var(--spacing) * 0)}.left-0{left:calc(var(--spacing) * 0)}.left-1\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.left-3{left:calc(var(--spacing) * 3)}.left-7{left:calc(var(--spacing) * 7)}.left-\[50\%\]{left:50%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.-z-20{z-index:calc(20 * -1)}.z-2{z-index:2}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[1\]{z-index:1}.z-\[999\]{z-index:999}.order-first{order:-9999}.order-last{order:9999}.col-start-2{grid-column-start:2}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0\!{margin:calc(var(--spacing) * 0)!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-3\.5{margin-inline:calc(var(--spacing) * 3.5)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing) * 1)}.my-4{margin-block:calc(var(--spacing) * 4)}.my-6{margin-block:calc(var(--spacing) * 6)}.my-8{margin-block:calc(var(--spacing) * 8)}.my-12{margin-block:calc(var(--spacing) * 12)}.my-16{margin-block:calc(var(--spacing) * 16)}.-mt-4{margin-top:calc(var(--spacing) * -4)}.-mt-\[6\.6rem\]{margin-top:-6.6rem}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-3{margin-right:calc(var(--spacing) * 3)}.-mb-px{margin-bottom:-1px}.mb-0\.5{margin-bottom:calc(var(--spacing) * .5)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.mb-12{margin-bottom:calc(var(--spacing) * 12)}.-ml-1{margin-left:calc(var(--spacing) * -1)}.-ml-8{margin-left:calc(var(--spacing) * -8)}.-ml-px{margin-left:-1px}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-6{margin-left:calc(var(--spacing) * 6)}.ml-auto{margin-left:auto}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.field-sizing-content{field-sizing:content}.aspect-\[335\/364\]{aspect-ratio:335/364}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.\!size-5{width:calc(var(--spacing) * 5)!important;height:calc(var(--spacing) * 5)!important}.size-\(--cell-size\){width:var(--cell-size);height:var(--cell-size)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-auto{width:auto;height:auto}.size-full{width:100%;height:100%}.h-\(--cell-size\){height:var(--cell-size)}.h-0{height:calc(var(--spacing) * 0)}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-14\.5{height:calc(var(--spacing) * 14.5)}.h-16{height:calc(var(--spacing) * 16)}.h-20{height:calc(var(--spacing) * 20)}.h-34{height:calc(var(--spacing) * 34)}.h-36{height:calc(var(--spacing) * 36)}.h-\[34px\]{height:34px}.h-\[calc\(--spacing\(5\.5\)\)\]{height:calc(calc(var(--spacing) * 5.5))}.h-\[calc\(100\%-1px\)\]{height:calc(100% - 1px)}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-dvh{height:100dvh}.h-full{height:100%}.h-px{height:1px}.h-svh{height:100svh}.max-h-\(--radix-select-content-available-height\){max-height:var(--radix-select-content-available-height)}.max-h-75{max-height:calc(var(--spacing) * 75)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[60vh\]{max-height:60vh}.max-h-\[80vh\]{max-height:80vh}.max-h-\[min\(calc\(--spacing\(96\)---spacing\(9\)\)\,calc\(var\(--available-height\)---spacing\(9\)\)\)\]{max-height:min(calc(calc(var(--spacing) * 96) - calc(var(--spacing) * 9)), calc(var(--available-height) - calc(var(--spacing) * 9)))}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-22{min-height:calc(var(--spacing) * 22)}.min-h-90{min-height:calc(var(--spacing) * 90)}.min-h-\[100vh\],.min-h-screen{min-height:100vh}.min-h-svh{min-height:100svh}.w-\(--anchor-width\){width:var(--anchor-width)}.w-\(--cell-size\){width:var(--cell-size)}.w-\(--radix-dropdown-menu-trigger-width\){width:var(--radix-dropdown-menu-trigger-width)}.w-\(--sidebar-width\){width:var(--sidebar-width)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-4\/5{width:80%}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-22{width:calc(var(--spacing) * 22)}.w-45{width:calc(var(--spacing) * 45)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-\[34px\]{width:34px}.w-\[180px\]{width:180px}.w-\[200px\]{width:200px}.w-\[250px\]{width:250px}.w-\[438px\]{width:438px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-\(--available-width\){max-width:var(--available-width)}.max-w-\(--skeleton-width\){max-width:var(--skeleton-width)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-42{max-width:calc(var(--spacing) * 42)}.max-w-50{max-width:calc(var(--spacing) * 50)}.max-w-\[335px\]{max-width:335px}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-full{max-width:100%}.max-w-max{max-width:max-content}.max-w-md{max-width:var(--container-md)}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.min-w-\(--cell-size\){min-width:var(--cell-size)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-5{min-width:calc(var(--spacing) * 5)}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-9{min-width:calc(var(--spacing) * 9)}.min-w-10{min-width:calc(var(--spacing) * 10)}.min-w-16{min-width:calc(var(--spacing) * 16)}.min-w-56{min-width:calc(var(--spacing) * 56)}.min-w-\[8rem\]{min-width:8rem}.min-w-\[calc\(var\(--anchor-width\)\+--spacing\(7\)\)\]{min-width:calc(var(--anchor-width) + calc(var(--spacing) * 7))}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.origin-\(--radix-select-content-transform-origin\){transform-origin:var(--radix-select-content-transform-origin)}.origin-\(--transform-origin\){transform-origin:var(--transform-origin)}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-px{--tw-translate-x:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-2{--tw-translate-y:calc(var(--spacing) * 2);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-2\.5{--tw-translate-y:calc(var(--spacing) * 2.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\[calc\(-50\%_-_2px\)\]{--tw-translate-y:calc(-50% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-px{--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-none{translate:none}.scale-150{--tw-scale-x:150%;--tw-scale-y:150%;--tw-scale-z:150%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-3d{scale:var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-alarm{animation:.8s ease-in-out alarm}.animate-back-in-down{animation:1s backInDown}.animate-back-in-left{animation:1s backInLeft}.animate-back-in-right{animation:1s backInRight}.animate-back-in-up{animation:1s backInUp}.animate-back-out-down{animation:1s backOutDown}.animate-back-out-left{animation:1s backOutLeft}.animate-back-out-right{animation:1s backOutRight}.animate-back-out-up{animation:1s backOutUp}.animate-bell{animation:1s ease-in-out bell}.animate-blur-in{animation:.6s ease-out blurIn}.animate-blur-out{animation:.6s ease-in blurOut}.animate-bounce{animation:1s bounce}.animate-bounce-in{animation:.75s bounceIn}.animate-bounce-in-down{animation:1s bounceInDown}.animate-bounce-in-left{animation:1s bounceInLeft}.animate-bounce-in-right{animation:1s bounceInRight}.animate-bounce-in-up{animation:1s bounceInUp}.animate-bounce-out{animation:.75s bounceOut}.animate-bounce-out-down{animation:1s bounceOutDown}.animate-bounce-out-left{animation:1s bounceOutLeft}.animate-bounce-out-right{animation:1s bounceOutRight}.animate-bounce-out-up{animation:1s bounceOutUp}.animate-caret-blink{animation:1.25s ease-out infinite caret-blink}.animate-compress{animation:.5s ease-in-out compress}.animate-drop{animation:.6s ease-out drop}.animate-expand{animation:.5s cubic-bezier(.175,.885,.32,1.275) expand}.animate-fade-in{animation:1s fadeIn}.animate-fade-in-down{animation:1s fadeInDown}.animate-fade-in-down-big{animation:1s fadeInDownBig}.animate-fade-in-left{animation:1s fadeInLeft}.animate-fade-in-left-big{animation:1s fadeInLeftBig}.animate-fade-in-right{animation:1s fadeInRight}.animate-fade-in-right-big{animation:1s fadeInRightBig}.animate-fade-in-up{animation:1s fadeInUp}.animate-fade-in-up-big{animation:1s fadeInUpBig}.animate-fade-out{animation:1s fadeOut}.animate-fade-out-down{animation:1s fadeOutDown}.animate-fade-out-down-big{animation:1s fadeOutDownBig}.animate-fade-out-left{animation:1s fadeOutLeft}.animate-fade-out-left-big{animation:1s fadeOutLeftBig}.animate-fade-out-right{animation:1s fadeOutRight}.animate-fade-out-right-big{animation:1s fadeOutRightBig}.animate-fade-out-up{animation:1s fadeOutUp}.animate-fade-out-up-big{animation:1s fadeOutUpBig}.animate-flash{animation:1s flash}.animate-flip{animation:1s ease-in-out flip}.animate-flip-in-x{animation:1s flipInX}.animate-flip-in-y{animation:1s flipInY}.animate-flip-out-x{animation:1s flipOutX}.animate-flip-out-y{animation:1s flipOutY}.animate-float{animation:3s ease-in-out infinite float}.animate-glitch{animation:.6s step-end infinite glitch}.animate-head-shake{animation:1s ease-in-out headShake}.animate-heart-beat{animation:1s heartBeat}.animate-hinge{animation:2s hinge}.animate-in{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.animate-jack-in-box{animation:1s jackInTheBox}.animate-jello{animation:1s jello}.animate-ken-burns{animation:8s ease-in-out infinite alternate kenBurns}.animate-light-speed-in{animation:1s ease-out lightSpeedInRight}.animate-light-speed-out{animation:1s ease-in lightSpeedOutLeft}.animate-ping{animation:1s cubic-bezier(0,0,.2,1) infinite ping}.animate-pop{animation:.4s cubic-bezier(.26,.53,.74,1.48) pop}.animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.animate-ring{animation:.5s ease-in-out ring}.animate-roll-in{animation:1s rollIn}.animate-roll-out{animation:1s rollOut}.animate-rotate-in{animation:1s rotateIn}.animate-rotate-in-down-left{animation:1s rotateInDownLeft}.animate-rotate-in-down-right{animation:1s rotateInDownRight}.animate-rotate-in-up-left{animation:1s rotateInUpLeft}.animate-rotate-in-up-right{animation:1s rotateInUpRight}.animate-rotate-out{animation:1s rotateOut}.animate-rotate-out-down-left{animation:1s rotateOutDownLeft}.animate-rotate-out-down-right{animation:1s rotateOutDownRight}.animate-rotate-out-up-left{animation:1s rotateOutUpLeft}.animate-rotate-out-up-right{animation:1s rotateOutUpRight}.animate-rubber-band{animation:1s rubberBand}.animate-shake{animation:1s shake}.animate-slide-in-down{animation:1s slideInDown}.animate-slide-in-left{animation:1s slideInLeft}.animate-slide-in-right{animation:1s slideInRight}.animate-slide-in-up{animation:1s slideInUp}.animate-slide-out-down{animation:1s slideOutDown}.animate-slide-out-left{animation:1s slideOutLeft}.animate-slide-out-right{animation:1s slideOutRight}.animate-slide-out-up{animation:1s slideOutUp}.animate-spin{animation:1s linear infinite spin}.animate-sway{animation:2s ease-in-out infinite sway}.animate-swing{animation:1s swing}.animate-tada{animation:1s tada}.animate-tilt{animation:1.5s ease-in-out infinite alternate tilt}.animate-wiggle{animation:.8s ease-in-out infinite wiggle}.animate-wobble{animation:1s ease-in-out wobble}.animate-zoom-in{animation:1s zoomIn}.animate-zoom-in-down{animation:1s zoomInDown}.animate-zoom-in-left{animation:1s zoomInLeft}.animate-zoom-in-right{animation:1s zoomInRight}.animate-zoom-in-up{animation:1s zoomInUp}.animate-zoom-out{animation:1s zoomOut}.animate-zoom-out-down{animation:1s zoomOutDown}.animate-zoom-out-left{animation:1s zoomOutLeft}.animate-zoom-out-right{animation:1s zoomOutRight}.animate-zoom-out-up{animation:1s zoomOutUp}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)}.resize{resize:both}.resize-none{resize:none}.scroll-m-20{scroll-margin:calc(var(--spacing) * 20)}.scroll-my-1{scroll-margin-block:calc(var(--spacing) * 1)}.scroll-py-1{scroll-padding-block:calc(var(--spacing) * 1)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-\[0_1fr\]{grid-template-columns:0 1fr}.grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.justify-items-center{justify-items:center}.justify-items-start{justify-items:start}.gap-0{gap:calc(var(--spacing) * 0)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-12>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 12) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 12) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}:where(.space-x-0>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 0) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 0) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 1) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 4) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-6>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 6) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}.self-center{align-self:center}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-clip{overflow:clip}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-x-clip{overflow-x:clip}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[2px\]{border-radius:2px}.rounded-\[4px\]{border-radius:4px}.rounded-\[calc\(var\(--radius\)-5px\)\]{border-radius:calc(var(--radius) - 5px)}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-md\!{border-radius:var(--radius-md)!important}.rounded-none{border-radius:0}.rounded-none\!{border-radius:0!important}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-\[inherit\]{border-top-left-radius:inherit;border-top-right-radius:inherit}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-tl{border-top-left-radius:.25rem}.rounded-tl-sm{border-top-left-radius:var(--radius-sm)}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-\[inherit\]{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.rounded-br{border-bottom-right-radius:.25rem}.rounded-br-lg{border-bottom-right-radius:var(--radius-lg)}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-bl-lg{border-bottom-left-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-bs{border-block-start-style:var(--tw-border-style);border-block-start-width:1px}.border-be{border-block-end-style:var(--tw-border-style);border-block-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b\!{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-none{--tw-border-style:none;border-style:none}.border-solid\!{--tw-border-style:solid!important;border-style:solid!important}.border-\[\#19140035\]{border-color:#19140035}.border-\[\#e3e3e0\]{border-color:#e3e3e0}.border-black{border-color:var(--color-black)}.border-border,.border-border\/25{border-color:var(--color-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/25{border-color:color-mix(in oklab, var(--color-border) 25%, transparent)}}.border-border\/40{border-color:var(--color-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/40{border-color:color-mix(in oklab, var(--color-border) 40%, transparent)}}.border-border\/50\!{border-color:var(--color-border)!important}@supports (color:color-mix(in lab, red, red)){.border-border\/50\!{border-color:color-mix(in oklab, var(--color-border) 50%, transparent)!important}}.border-border\/60{border-color:var(--color-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/60{border-color:color-mix(in oklab, var(--color-border) 60%, transparent)}}.border-border\/75{border-color:var(--color-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/75{border-color:color-mix(in oklab, var(--color-border) 75%, transparent)}}.border-gray-300{border-color:var(--color-gray-300)}.border-input{border-color:var(--color-input)}.border-primary{border-color:var(--color-primary)}.border-red-100{border-color:var(--color-red-100)}.border-sidebar-border,.border-sidebar-border\/50{border-color:var(--color-sidebar-border)}@supports (color:color-mix(in lab, red, red)){.border-sidebar-border\/50{border-color:color-mix(in oklab, var(--color-sidebar-border) 50%, transparent)}}.border-sidebar-border\/70{border-color:var(--color-sidebar-border)}@supports (color:color-mix(in lab, red, red)){.border-sidebar-border\/70{border-color:color-mix(in oklab, var(--color-sidebar-border) 70%, transparent)}}.border-sidebar-border\/80{border-color:var(--color-sidebar-border)}@supports (color:color-mix(in lab, red, red)){.border-sidebar-border\/80{border-color:color-mix(in oklab, var(--color-sidebar-border) 80%, transparent)}}.border-transparent{border-color:#0000}.bg-\[\#1b1b18\]{background-color:#1b1b18}.bg-\[\#FDFDFC\]{background-color:#fdfdfc}.bg-\[\#dbdbd7\]{background-color:#dbdbd7}.bg-\[\#fff2f2\]{background-color:#fff2f2}.bg-accent{background-color:var(--color-accent)}.bg-background,.bg-background\/10{background-color:var(--color-background)}@supports (color:color-mix(in lab, red, red)){.bg-background\/10{background-color:color-mix(in oklab, var(--color-background) 10%, transparent)}}.bg-background\/50{background-color:var(--color-background)}@supports (color:color-mix(in lab, red, red)){.bg-background\/50{background-color:color-mix(in oklab, var(--color-background) 50%, transparent)}}.bg-background\/60{background-color:var(--color-background)}@supports (color:color-mix(in lab, red, red)){.bg-background\/60{background-color:color-mix(in oklab, var(--color-background) 60%, transparent)}}.bg-background\/75{background-color:var(--color-background)}@supports (color:color-mix(in lab, red, red)){.bg-background\/75{background-color:color-mix(in oklab, var(--color-background) 75%, transparent)}}.bg-black{background-color:var(--color-black)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab, red, red)){.bg-black\/50{background-color:color-mix(in oklab, var(--color-black) 50%, transparent)}}.bg-black\/80{background-color:#000c}@supports (color:color-mix(in lab, red, red)){.bg-black\/80{background-color:color-mix(in oklab, var(--color-black) 80%, transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-border,.bg-border\/40{background-color:var(--color-border)}@supports (color:color-mix(in lab, red, red)){.bg-border\/40{background-color:color-mix(in oklab, var(--color-border) 40%, transparent)}}.bg-card,.bg-card\/30{background-color:var(--color-card)}@supports (color:color-mix(in lab, red, red)){.bg-card\/30{background-color:color-mix(in oklab, var(--color-card) 30%, transparent)}}.bg-card\/50{background-color:var(--color-card)}@supports (color:color-mix(in lab, red, red)){.bg-card\/50{background-color:color-mix(in oklab, var(--color-card) 50%, transparent)}}.bg-destructive{background-color:var(--color-destructive)}.bg-foreground{background-color:var(--color-foreground)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-muted{background-color:var(--color-muted)}.bg-muted-foreground\/20{background-color:var(--color-muted-foreground)}@supports (color:color-mix(in lab, red, red)){.bg-muted-foreground\/20{background-color:color-mix(in oklab, var(--color-muted-foreground) 20%, transparent)}}.bg-muted\/10{background-color:var(--color-muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/10{background-color:color-mix(in oklab, var(--color-muted) 10%, transparent)}}.bg-muted\/15{background-color:var(--color-muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/15{background-color:color-mix(in oklab, var(--color-muted) 15%, transparent)}}.bg-muted\/30{background-color:var(--color-muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/30{background-color:color-mix(in oklab, var(--color-muted) 30%, transparent)}}.bg-muted\/50{background-color:var(--color-muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/50{background-color:color-mix(in oklab, var(--color-muted) 50%, transparent)}}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-neutral-200{background-color:var(--color-neutral-200)}.bg-popover{background-color:var(--color-popover)}.bg-primary,.bg-primary\/10{background-color:var(--color-primary)}@supports (color:color-mix(in lab, red, red)){.bg-primary\/10{background-color:color-mix(in oklab, var(--color-primary) 10%, transparent)}}.bg-red-50{background-color:var(--color-red-50)}.bg-red-500{background-color:var(--color-red-500)}.bg-ring{background-color:var(--color-ring)}.bg-secondary{background-color:var(--color-secondary)}.bg-sidebar{background-color:var(--color-sidebar)}.bg-sidebar-border{background-color:var(--color-sidebar-border)}.bg-sidebar-primary{background-color:var(--color-sidebar-primary)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-white{background-color:var(--color-white)}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-linear-0{--tw-gradient-position:0deg}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-0{--tw-gradient-position:0deg in oklab}}.bg-linear-0{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-radial{--tw-gradient-position:in oklab;background-image:radial-gradient(var(--tw-gradient-stops))}.from-background{--tw-gradient-from:var(--color-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-muted{--tw-gradient-from:var(--color-muted);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-muted\/50{--tw-gradient-to:var(--color-muted)}@supports (color:color-mix(in lab, red, red)){.to-muted\/50{--tw-gradient-to:color-mix(in oklab, var(--color-muted) 50%, transparent)}}.to-muted\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.mask-linear-from-10\%{-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);--tw-mask-linear-stops:var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position);--tw-mask-linear:linear-gradient(var(--tw-mask-linear-stops));--tw-mask-linear-from-position:10%;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;mask-composite:intersect}.mask-linear-to-50\%{-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);--tw-mask-linear-stops:var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position);--tw-mask-linear:linear-gradient(var(--tw-mask-linear-stops));--tw-mask-linear-to-position:50%;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;mask-composite:intersect}.box-decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.box-decoration-slice{-webkit-box-decoration-break:slice;box-decoration-break:slice}.decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.decoration-slice{-webkit-box-decoration-break:slice;box-decoration-break:slice}.bg-clip-padding{background-clip:padding-box}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-current{fill:currentColor}.fill-primary{fill:var(--color-primary)}.stroke-border\/75{stroke:var(--color-border)}@supports (color:color-mix(in lab, red, red)){.stroke-border\/75{stroke:color-mix(in oklab, var(--color-border) 75%, transparent)}}.stroke-neutral-900\/20{stroke:#17171733}@supports (color:color-mix(in lab, red, red)){.stroke-neutral-900\/20{stroke:color-mix(in oklab, var(--color-neutral-900) 20%, transparent)}}.object-contain{object-fit:contain}.p-0{padding:calc(var(--spacing) * 0)}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:calc(var(--spacing) * 1)}.p-1\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-3\!{padding:calc(var(--spacing) * 3)!important}.p-4{padding:calc(var(--spacing) * 4)}.p-4\!{padding:calc(var(--spacing) * 4)!important}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-10{padding:calc(var(--spacing) * 10)}.p-\[3px\]{padding:3px}.p-px{padding:1px}.px-\(--cell-size\){padding-inline:var(--cell-size)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.px-10{padding-inline:calc(var(--spacing) * 10)}.py-0{padding-block:calc(var(--spacing) * 0)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-10{padding-block:calc(var(--spacing) * 10)}.py-16{padding-block:calc(var(--spacing) * 16)}.pt-0{padding-top:calc(var(--spacing) * 0)}.pt-1{padding-top:calc(var(--spacing) * 1)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-8{padding-top:calc(var(--spacing) * 8)}.pt-16{padding-top:calc(var(--spacing) * 16)}.pr-1{padding-right:calc(var(--spacing) * 1)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-0{padding-bottom:calc(var(--spacing) * 0)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-12{padding-bottom:calc(var(--spacing) * 12)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.pl-6{padding-left:calc(var(--spacing) * 6)}.pl-8{padding-left:calc(var(--spacing) * 8)}.pl-9{padding-left:calc(var(--spacing) * 9)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-barlow-condensed{font-family:Barlow Condensed,sans-serif}.font-bebas-neue{font-family:Bebas Neue,sans-serif}.font-bebas-neue\!{font-family:Bebas Neue,sans-serif!important}.font-caveat{font-family:Caveat Variable,cursive}.font-cinzel{font-family:Cinzel Variable,serif}.font-cormorant-garamond{font-family:Cormorant Garamond Variable,serif}.font-dm-serif-display{font-family:DM Serif Display,serif}.font-fira-code{font-family:Fira Code Variable,monospace}.font-fira-mono{font-family:Fira Mono,monospace}.font-great-vibes{font-family:Great Vibes,cursive}.font-ibm-plex-mono{font-family:IBM Plex Mono,monospace}.font-ibm-plex-sans{font-family:IBM Plex Sans,sans-serif}.font-instrument-sans{font-family:Instrument Sans Variable,sans-serif}.font-inter{font-family:Inter Variable,sans-serif}.font-jetbrains-mono{font-family:JetBrains Mono Variable,monospace}.font-manrope{font-family:Manrope Variable,sans-serif}.font-merriweather{font-family:Merriweather Variable,serif}.font-mono{font-family:var(--font-mono)}.font-mono\!{font-family:var(--font-mono)!important}.font-nerko-one{font-family:Nerko One,cursive}.font-nunito{font-family:Nunito Variable,sans-serif}.font-oswald{font-family:Oswald Variable,sans-serif}.font-patrick-hand{font-family:Patrick Hand,handwriting}.font-pixelify-sans{font-family:Pixelify Sans Variable,system-ui}.font-poppins{font-family:Poppins,sans-serif}.font-quicksand{font-family:Quicksand Variable,sans-serif}.font-rajdhani{font-family:Rajdhani,sans-serif}.font-roboto{font-family:Roboto Variable,sans-serif}.font-roboto-condensed{font-family:Roboto Condensed Variable,sans-serif}.font-roboto-mono{font-family:Roboto Mono Variable,monospace}.font-roboto-slab{font-family:Roboto Slab,serif}.font-sans{font-family:var(--font-sans)}.font-serif{font-family:var(--font-serif)}.font-source-sans-3{font-family:"Source Sans 3 Variable",sans-serif}.font-space-grotesk{font-family:Space Grotesk Variable,sans-serif}.font-varela-round{font-family:Varela Round,sans-serif}.font-work-sans{font-family:Work Sans Variable,sans-serif}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[0\.8rem\]{font-size:.8rem}.text-\[9px\]{font-size:9px}.text-\[10px\]{font-size:10px}.text-\[13px\]{font-size:13px}.text-\[clamp\(0\.75rem\,9vw\+2rem\,3rem\)\]{font-size:clamp(.75rem,9vw + 2rem,3rem)}.text-\[clamp\(0\.75rem\,9vw\+2rem\,5rem\)\]{font-size:clamp(.75rem,9vw + 2rem,5rem)}.text-\[clamp\(1\.5rem\,10vw\+2rem\,3rem\)\]{font-size:clamp(1.5rem,10vw + 2rem,3rem)}.text-\[clamp\(1rem\,6vw\,5rem\)\]{font-size:clamp(1rem,6vw,5rem)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-7{--tw-leading:calc(var(--spacing) * 7);line-height:calc(var(--spacing) * 7)}.leading-\[20px\]{--tw-leading:20px;line-height:20px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-tighter{--tw-tracking:var(--tracking-tighter);letter-spacing:var(--tracking-tighter)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.overflow-ellipsis{text-overflow:ellipsis}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\[\#1B1B18\],.text-\[\#1b1b18\]{color:#1b1b18}.text-\[\#706f6c\]{color:#706f6c}.text-\[\#F3BEC7\]{color:#f3bec7}.text-\[\#F8B803\]{color:#f8b803}.text-\[\#F53003\],.text-\[\#f53003\]{color:#f53003}.text-\[var\(--foreground\)\]{color:var(--foreground)}.text-accent-foreground{color:var(--color-accent-foreground)}.text-background{color:var(--color-background)}.text-black{color:var(--color-black)}.text-blue-900{color:var(--color-blue-900)}.text-card-foreground{color:var(--color-card-foreground)}.text-current{color:currentColor}.text-destructive{color:var(--color-destructive)}.text-destructive-foreground{color:var(--color-destructive-foreground)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-foreground,.text-foreground\/40{color:var(--color-foreground)}@supports (color:color-mix(in lab, red, red)){.text-foreground\/40{color:color-mix(in oklab, var(--color-foreground) 40%, transparent)}}.text-foreground\/50{color:var(--color-foreground)}@supports (color:color-mix(in lab, red, red)){.text-foreground\/50{color:color-mix(in oklab, var(--color-foreground) 50%, transparent)}}.text-foreground\/60{color:var(--color-foreground)}@supports (color:color-mix(in lab, red, red)){.text-foreground\/60{color:color-mix(in oklab, var(--color-foreground) 60%, transparent)}}.text-foreground\/80{color:var(--color-foreground)}@supports (color:color-mix(in lab, red, red)){.text-foreground\/80{color:color-mix(in oklab, var(--color-foreground) 80%, transparent)}}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-muted{color:var(--color-muted)}.text-muted-foreground,.text-muted-foreground\/50{color:var(--color-muted-foreground)}@supports (color:color-mix(in lab, red, red)){.text-muted-foreground\/50{color:color-mix(in oklab, var(--color-muted-foreground) 50%, transparent)}}.text-muted-foreground\/60{color:var(--color-muted-foreground)}@supports (color:color-mix(in lab, red, red)){.text-muted-foreground\/60{color:color-mix(in oklab, var(--color-muted-foreground) 60%, transparent)}}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-600{color:var(--color-neutral-600)}.text-neutral-900{color:var(--color-neutral-900)}.text-popover-foreground{color:var(--color-popover-foreground)}.text-primary{color:var(--color-primary)}.text-primary-foreground,.text-primary-foreground\/80{color:var(--color-primary-foreground)}@supports (color:color-mix(in lab, red, red)){.text-primary-foreground\/80{color:color-mix(in oklab, var(--color-primary-foreground) 80%, transparent)}}.text-red-600{color:var(--color-red-600)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.text-sidebar-accent-foreground{color:var(--color-sidebar-accent-foreground)}.text-sidebar-foreground,.text-sidebar-foreground\/70{color:var(--color-sidebar-foreground)}@supports (color:color-mix(in lab, red, red)){.text-sidebar-foreground\/70{color:color-mix(in oklab, var(--color-sidebar-foreground) 70%, transparent)}}.text-sidebar-primary-foreground{color:var(--color-sidebar-primary-foreground)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.decoration-neutral-300{-webkit-text-decoration-color:var(--color-neutral-300);-webkit-text-decoration-color:var(--color-neutral-300);-webkit-text-decoration-color:var(--color-neutral-300);text-decoration-color:var(--color-neutral-300)}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.accent-foreground{accent-color:var(--color-foreground)}.opacity-0{opacity:0}.opacity-5{opacity:.05}.opacity-10{opacity:.1}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-100{opacity:1}.mix-blend-color{mix-blend-mode:color}.mix-blend-color-dodge{mix-blend-mode:color-dodge}.mix-blend-darken{mix-blend-mode:darken}.mix-blend-hard-light{mix-blend-mode:hard-light}.mix-blend-multiply{mix-blend-mode:multiply}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xs{--tw-shadow:0 1px var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-border)));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0px_0px_1px_0px_rgba\(0\,0\,0\,0\.03\)\,0px_1px_2px_0px_rgba\(0\,0\,0\,0\.06\)\]{--tw-shadow:0px 0px 1px 0px var(--tw-shadow-color,#00000008), 0px 1px 2px 0px var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_rgba\(26\,26\,0\,0\.16\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,#1a1a0029);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-foreground\/10{--tw-ring-color:var(--color-foreground)}@supports (color:color-mix(in lab, red, red)){.ring-foreground\/10{--tw-ring-color:color-mix(in oklab, var(--color-foreground) 10%, transparent)}}.ring-gray-300{--tw-ring-color:var(--color-gray-300)}.ring-primary,.ring-primary\/30{--tw-ring-color:var(--color-primary)}@supports (color:color-mix(in lab, red, red)){.ring-primary\/30{--tw-ring-color:color-mix(in oklab, var(--color-primary) 30%, transparent)}}.ring-ring,.ring-ring\/10{--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab, red, red)){.ring-ring\/10{--tw-ring-color:color-mix(in oklab, var(--color-ring) 10%, transparent)}}.ring-sidebar-ring{--tw-ring-color:var(--color-sidebar-ring)}.ring-offset-background{--tw-ring-offset-color:var(--color-background)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-ring\/40{outline-color:var(--color-ring)}@supports (color:color-mix(in lab, red, red)){.outline-ring\/40{outline-color:color-mix(in oklab, var(--color-ring) 40%, transparent)}}.outline-ring\/50{outline-color:var(--color-ring)}@supports (color:color-mix(in lab, red, red)){.outline-ring\/50{outline-color:color-mix(in oklab, var(--color-ring) 50%, transparent)}}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-2xl{--tw-blur:blur(var(--blur-2xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-\[0\.5px\]{--tw-blur:blur(.5px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-xs{--tw-blur:blur(var(--blur-xs));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-grayscale{--tw-backdrop-grayscale:grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-invert{--tw-backdrop-invert:invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-sepia{--tw-backdrop-sepia:sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[left\,right\,width\]{transition-property:left,right,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[margin\,opacity\]{transition-property:margin,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,padding\]{transition-property:width,height,padding;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\]{transition-property:width,height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.delay-300{transition-delay:.3s}.delay-400{transition-delay:.4s}.delay-1000{transition-delay:1s}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-700{--tw-duration:.7s;transition-duration:.7s}.duration-750{--tw-duration:.75s;transition-duration:.75s}.duration-1000{--tw-duration:1s;transition-duration:1s}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.will-change-transform{will-change:transform}.delay-300{--tw-animation-delay:.3s;animation-delay:.3s}.delay-1000{--tw-animation-delay:1s;animation-delay:1s}.delay-400{--tw-animation-delay:calc(400*1ms);animation-delay:.4s}.fade-in-0{--tw-enter-opacity:0}.outline-none{--tw-outline-style:none;outline-style:none}.repeat-infinite{--tw-animation-iteration-count:infinite;animation-iteration-count:infinite}.select-none{-webkit-user-select:none;user-select:none}.select-text{-webkit-user-select:text;user-select:text}.zoom-in-95{--tw-enter-scale:.95}.\[--cell-size\:--spacing\(8\)\]{--cell-size:calc(var(--spacing) * 8)}.\[--stroke-color\:\#1B1B18\]{--stroke-color:#1b1b18}.\[-ms-overflow-style\:none\]{-ms-overflow-style:none}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.fade-in{--tw-enter-opacity:0}.fade-out{--tw-exit-opacity:0}.paused{animation-play-state:paused}.ring-inset{--tw-ring-inset:inset}.running{animation-play-state:running}.running\!{animation-play-state:running!important}.zoom-in{--tw-enter-scale:0}.zoom-out{--tw-exit-scale:0}.not-first\:mt-6:not(:first-child){margin-top:calc(var(--spacing) * 6)}.not-has-\[nav\]\:hidden:not(:has(:is(nav))){display:none}.group-focus-within\/menu-item\:opacity-100:is(:where(.group\/menu-item):focus-within *){opacity:1}@media (hover:hover){.group-hover\:opacity-90:is(:where(.group):hover *){opacity:.9}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\:repeat-infinite\!:is(:where(.group):hover *){--tw-animation-iteration-count:infinite!important;animation-iteration-count:infinite!important}.group-hover\/code-block\:opacity-100:is(:where(.group\/code-block):hover *),.group-hover\/editor-block\:opacity-100:is(:where(.group\/editor-block):hover *),.group-hover\/menu-item\:opacity-100:is(:where(.group\/menu-item):hover *){opacity:1}}.group-has-data-\[collapsible\=icon\]\/sidebar-wrapper\:h-12:is(:where(.group\/sidebar-wrapper):has([data-collapsible=icon]) *){height:calc(var(--spacing) * 12)}.group-has-data-\[sidebar\=menu-action\]\/menu-item\:pr-8:is(:where(.group\/menu-item):has([data-sidebar=menu-action]) *){padding-right:calc(var(--spacing) * 8)}.group-has-data-\[slot\=combobox-clear\]\/input-group\:hidden:is(:where(.group\/input-group):has([data-slot=combobox-clear]) *){display:none}.group-has-\[\>input\]\/input-group\:pt-2\.5:is(:where(.group\/input-group):has(>input) *){padding-top:calc(var(--spacing) * 2.5)}.group-has-\[\>input\]\/input-group\:pb-2\.5:is(:where(.group\/input-group):has(>input) *){padding-bottom:calc(var(--spacing) * 2.5)}.group-data-empty\/combobox-content\:flex:is(:where(.group\/combobox-content)[data-empty] *){display:flex}.group-data-\[collapsible\=icon\]\:pointer-events-none:is(:where(.group)[data-collapsible=icon] *){pointer-events:none}.group-data-\[collapsible\=icon\]\:-mt-8:is(:where(.group)[data-collapsible=icon] *){margin-top:calc(var(--spacing) * -8)}.group-data-\[collapsible\=icon\]\:hidden:is(:where(.group)[data-collapsible=icon] *){display:none}.group-data-\[collapsible\=icon\]\:size-8\!:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--spacing) * 8)!important;height:calc(var(--spacing) * 8)!important}.group-data-\[collapsible\=icon\]\:w-\(--sidebar-width-icon\):is(:where(.group)[data-collapsible=icon] *){width:var(--sidebar-width-icon)}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+\(--spacing\(4\)\)\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)))}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+\(--spacing\(4\)\)\+2px\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)) + 2px)}.group-data-\[collapsible\=icon\]\:overflow-hidden:is(:where(.group)[data-collapsible=icon] *){overflow:hidden}.group-data-\[collapsible\=icon\]\:p-0:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 0)}.group-data-\[collapsible\=icon\]\:p-0\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 0)!important}.group-data-\[collapsible\=icon\]\:p-2\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 2)!important}.group-data-\[collapsible\=icon\]\:opacity-0:is(:where(.group)[data-collapsible=icon] *){opacity:0}.group-data-\[collapsible\=icon\]\:select-none:is(:where(.group)[data-collapsible=icon] *){-webkit-user-select:none;user-select:none}.group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offcanvas] *){right:calc(var(--sidebar-width) * -1)}.group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offcanvas] *){left:calc(var(--sidebar-width) * -1)}.group-data-\[collapsible\=offcanvas\]\:w-0:is(:where(.group)[data-collapsible=offcanvas] *){width:calc(var(--spacing) * 0)}.group-data-\[collapsible\=offcanvas\]\:translate-x-0:is(:where(.group)[data-collapsible=offcanvas] *){--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-data-\[disabled\=true\]\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\[disabled\=true\]\:opacity-50:is(:where(.group)[data-disabled=true] *),.group-data-\[disabled\=true\]\/input-group\:opacity-50:is(:where(.group\/input-group)[data-disabled=true] *){opacity:.5}.group-data-\[focused\=true\]\/day\:relative:is(:where(.group\/day)[data-focused=true] *){position:relative}.group-data-\[focused\=true\]\/day\:z-10:is(:where(.group\/day)[data-focused=true] *){z-index:10}.group-data-\[focused\=true\]\/day\:border-ring:is(:where(.group\/day)[data-focused=true] *){border-color:var(--color-ring)}.group-data-\[focused\=true\]\/day\:ring-\[3px\]:is(:where(.group\/day)[data-focused=true] *){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[focused\=true\]\/day\:ring-ring\/50:is(:where(.group\/day)[data-focused=true] *){--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab, red, red)){.group-data-\[focused\=true\]\/day\:ring-ring\/50:is(:where(.group\/day)[data-focused=true] *){--tw-ring-color:color-mix(in oklab, var(--color-ring) 50%, transparent)}}.group-data-\[orientation\=horizontal\]\/tabs\:h-9:is(:where(.group\/tabs)[data-orientation=horizontal] *){height:calc(var(--spacing) * 9)}.group-data-\[orientation\=vertical\]\/tabs\:h-fit:is(:where(.group\/tabs)[data-orientation=vertical] *){height:fit-content}.group-data-\[orientation\=vertical\]\/tabs\:w-full:is(:where(.group\/tabs)[data-orientation=vertical] *){width:100%}.group-data-\[orientation\=vertical\]\/tabs\:flex-col:is(:where(.group\/tabs)[data-orientation=vertical] *){flex-direction:column}.group-data-\[orientation\=vertical\]\/tabs\:justify-start:is(:where(.group\/tabs)[data-orientation=vertical] *){justify-content:flex-start}.group-data-\[side\=left\]\:-right-4:is(:where(.group)[data-side=left] *){right:calc(var(--spacing) * -4)}.group-data-\[side\=left\]\:border-r:is(:where(.group)[data-side=left] *){border-right-style:var(--tw-border-style);border-right-width:1px}.group-data-\[side\=right\]\:left-0:is(:where(.group)[data-side=right] *){left:calc(var(--spacing) * 0)}.group-data-\[side\=right\]\:rotate-180:is(:where(.group)[data-side=right] *){rotate:180deg}.group-data-\[side\=right\]\:border-l:is(:where(.group)[data-side=right] *){border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-\[state\=open\]\:rotate-180:is(:where(.group)[data-state=open] *){rotate:180deg}.group-data-\[variant\=floating\]\:rounded-lg:is(:where(.group)[data-variant=floating] *){border-radius:var(--radius-lg)}.group-data-\[variant\=floating\]\:border:is(:where(.group)[data-variant=floating] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\[variant\=floating\]\:border-sidebar-border:is(:where(.group)[data-variant=floating] *){border-color:var(--color-sidebar-border)}.group-data-\[variant\=floating\]\:shadow-sm:is(:where(.group)[data-variant=floating] *){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[variant\=line\]\/tabs-list\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *){background-color:#0000}.group-data-\[viewport\=false\]\/navigation-menu\:top-full:is(:where(.group\/navigation-menu)[data-viewport=false] *){top:100%}.group-data-\[viewport\=false\]\/navigation-menu\:mt-1\.5:is(:where(.group\/navigation-menu)[data-viewport=false] *){margin-top:calc(var(--spacing) * 1.5)}.group-data-\[viewport\=false\]\/navigation-menu\:overflow-hidden:is(:where(.group\/navigation-menu)[data-viewport=false] *){overflow:hidden}.group-data-\[viewport\=false\]\/navigation-menu\:rounded-md:is(:where(.group\/navigation-menu)[data-viewport=false] *){border-radius:var(--radius-md)}.group-data-\[viewport\=false\]\/navigation-menu\:border:is(:where(.group\/navigation-menu)[data-viewport=false] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\[viewport\=false\]\/navigation-menu\:bg-popover:is(:where(.group\/navigation-menu)[data-viewport=false] *){background-color:var(--color-popover)}.group-data-\[viewport\=false\]\/navigation-menu\:text-popover-foreground:is(:where(.group\/navigation-menu)[data-viewport=false] *){color:var(--color-popover-foreground)}.group-data-\[viewport\=false\]\/navigation-menu\:shadow:is(:where(.group\/navigation-menu)[data-viewport=false] *){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[viewport\=false\]\/navigation-menu\:duration-200:is(:where(.group\/navigation-menu)[data-viewport=false] *){--tw-duration:.2s;transition-duration:.2s}@media (hover:hover){.peer-hover\/menu-button\:text-sidebar-accent-foreground:is(:where(.peer\/menu-button):hover~*){color:var(--color-sidebar-accent-foreground)}}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.peer-data-\[active\=true\]\/menu-button\:text-sidebar-accent-foreground:is(:where(.peer\/menu-button)[data-active=true]~*){color:var(--color-sidebar-accent-foreground)}.peer-data-\[size\=default\]\/menu-button\:top-1\.5:is(:where(.peer\/menu-button)[data-size=default]~*){top:calc(var(--spacing) * 1.5)}.peer-data-\[size\=lg\]\/menu-button\:top-2\.5:is(:where(.peer\/menu-button)[data-size=lg]~*){top:calc(var(--spacing) * 2.5)}.peer-data-\[size\=sm\]\/menu-button\:top-1:is(:where(.peer\/menu-button)[data-size=sm]~*){top:calc(var(--spacing) * 1)}.peer-data-\[variant\=inset\]\:min-h-\[calc\(100svh-\(--spacing\(4\)\)\)\]:is(:where(.peer)[data-variant=inset]~*){min-height:calc(100svh - (calc(var(--spacing) * 4)))}.selection\:bg-primary ::selection{background-color:var(--color-primary)}.selection\:bg-primary::selection{background-color:var(--color-primary)}.selection\:text-primary-foreground ::selection{color:var(--color-primary-foreground)}.selection\:text-primary-foreground::selection{color:var(--color-primary-foreground)}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-7::file-selector-button{height:calc(var(--spacing) * 7)}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:var(--color-foreground)}.placeholder\:text-muted-foreground::placeholder{color:var(--color-muted-foreground)}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:top-0:before{content:var(--tw-content);top:calc(var(--spacing) * 0)}.before\:top-1\/2:before{content:var(--tw-content);top:50%}.before\:bottom-0:before{content:var(--tw-content);bottom:calc(var(--spacing) * 0)}.before\:bottom-1\/2:before{content:var(--tw-content);bottom:50%}.before\:left-\[0\.4rem\]:before{content:var(--tw-content);left:.4rem}.before\:border-l:before{content:var(--tw-content);border-left-style:var(--tw-border-style);border-left-width:1px}.before\:border-\[\#e3e3e0\]:before{content:var(--tw-content);border-color:#e3e3e0}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-2:after{content:var(--tw-content);inset:calc(var(--spacing) * -2)}.after\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing) * 0)}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.after\:bg-foreground:after{content:var(--tw-content);background-color:var(--color-foreground)}.after\:opacity-0:after{content:var(--tw-content);opacity:0}.after\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.group-data-\[collapsible\=offcanvas\]\:after\:left-full:is(:where(.group)[data-collapsible=offcanvas] *):after{content:var(--tw-content);left:100%}.group-data-\[orientation\=horizontal\]\/tabs\:after\:inset-x-0:is(:where(.group\/tabs)[data-orientation=horizontal] *):after{content:var(--tw-content);inset-inline:calc(var(--spacing) * 0)}.group-data-\[orientation\=horizontal\]\/tabs\:after\:bottom-\[-5px\]:is(:where(.group\/tabs)[data-orientation=horizontal] *):after{content:var(--tw-content);bottom:-5px}.group-data-\[orientation\=horizontal\]\/tabs\:after\:h-0\.5:is(:where(.group\/tabs)[data-orientation=horizontal] *):after{content:var(--tw-content);height:calc(var(--spacing) * .5)}.group-data-\[orientation\=vertical\]\/tabs\:after\:inset-y-0:is(:where(.group\/tabs)[data-orientation=vertical] *):after{content:var(--tw-content);inset-block:calc(var(--spacing) * 0)}.group-data-\[orientation\=vertical\]\/tabs\:after\:-right-1:is(:where(.group\/tabs)[data-orientation=vertical] *):after{content:var(--tw-content);right:calc(var(--spacing) * -1)}.group-data-\[orientation\=vertical\]\/tabs\:after\:w-0\.5:is(:where(.group\/tabs)[data-orientation=vertical] *):after{content:var(--tw-content);width:calc(var(--spacing) * .5)}.first\:mt-0:first-child{margin-top:calc(var(--spacing) * 0)}.first\:rounded-l-md:first-child{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.first\:border-l:first-child{border-left-style:var(--tw-border-style);border-left-width:1px}.last\:rounded-r-md:last-child{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.last\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.focus-within\:border-ring:focus-within{border-color:var(--color-ring)}.focus-within\:ring-\[3px\]:focus-within{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-within\:ring-ring\/50:focus-within{--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab, red, red)){.focus-within\:ring-ring\/50:focus-within{--tw-ring-color:color-mix(in oklab, var(--color-ring) 50%, transparent)}}@media (hover:hover){.hover\:-translate-y-1:hover{--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.hover\:border-\[\#1915014a\]:hover{border-color:#1915014a}.hover\:border-\[\#19140035\]:hover{border-color:#19140035}.hover\:border-black:hover{border-color:var(--color-black)}.hover\:border-border:hover{border-color:var(--color-border)}.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-black:hover{background-color:var(--color-black)}.hover\:bg-destructive\/90:hover{background-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab, var(--color-destructive) 90%, transparent)}}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-muted:hover,.hover\:bg-muted\/50:hover{background-color:var(--color-muted)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-muted\/50:hover{background-color:color-mix(in oklab, var(--color-muted) 50%, transparent)}}.hover\:bg-neutral-200\/60:hover{background-color:#e5e5e599}@supports (color:color-mix(in lab, red, red)){.hover\:bg-neutral-200\/60:hover{background-color:color-mix(in oklab, var(--color-neutral-200) 60%, transparent)}}.hover\:bg-primary\/90:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab, var(--color-primary) 90%, transparent)}}.hover\:bg-secondary\/80:hover{background-color:var(--color-secondary)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab, var(--color-secondary) 80%, transparent)}}.hover\:bg-sidebar-accent:hover{background-color:var(--color-sidebar-accent)}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}.hover\:text-black:hover{color:var(--color-black)}.hover\:text-foreground:hover{color:var(--color-foreground)}.hover\:text-gray-400:hover{color:var(--color-gray-400)}.hover\:text-gray-700:hover{color:var(--color-gray-700)}.hover\:text-muted-foreground:hover{color:var(--color-muted-foreground)}.hover\:text-neutral-800:hover{color:var(--color-neutral-800)}.hover\:text-sidebar-accent-foreground:hover{color:var(--color-sidebar-accent-foreground)}.hover\:underline:hover{text-decoration-line:underline}.hover\:decoration-current\!:hover{text-decoration-color:currentColor!important}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-accent)));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\:shadow-primary\/10:hover{--tw-shadow-color:var(--color-primary)}@supports (color:color-mix(in lab, red, red)){.hover\:shadow-primary\/10:hover{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-primary) 10%, transparent) var(--tw-shadow-alpha), transparent)}}.hover\:grayscale-0:hover{--tw-grayscale:grayscale(0%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.hover\:group-data-\[collapsible\=offcanvas\]\:bg-sidebar:hover:is(:where(.group)[data-collapsible=offcanvas] *){background-color:var(--color-sidebar)}.hover\:after\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:var(--color-sidebar-border)}}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{border-color:var(--color-blue-300)}.focus\:bg-accent:focus{background-color:var(--color-accent)}.focus\:text-accent-foreground:focus{color:var(--color-accent-foreground)}.focus\:ring:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-ring:focus{--tw-ring-color:var(--color-ring)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:z-10:focus-visible{z-index:10}.focus-visible\:border-ring:focus-visible{border-color:var(--color-ring)}.focus-visible\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--color-destructive) 20%, transparent)}}.focus-visible\:ring-ring:focus-visible,.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--color-ring) 50%, transparent)}}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\:outline-ring:focus-visible{outline-color:var(--color-ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:bg-gray-100:active{background-color:var(--color-gray-100)}.active\:bg-sidebar-accent:active{background-color:var(--color-sidebar-accent)}.active\:text-gray-500:active{color:var(--color-gray-500)}.active\:text-gray-700:active{color:var(--color-gray-700)}.active\:text-gray-800:active{color:var(--color-gray-800)}.active\:text-sidebar-accent-foreground:active{color:var(--color-sidebar-accent-foreground)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}:where([data-side=left]) .in-data-\[side\=left\]\:cursor-w-resize{cursor:w-resize}:where([data-side=right]) .in-data-\[side\=right\]\:cursor-e-resize{cursor:e-resize}.has-focus\:border-ring:has(:focus){border-color:var(--color-ring)}.has-focus\:ring-\[3px\]:has(:focus){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-focus\:ring-ring\/50:has(:focus){--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab, red, red)){.has-focus\:ring-ring\/50:has(:focus){--tw-ring-color:color-mix(in oklab, var(--color-ring) 50%, transparent)}}.has-disabled\:pointer-events-none:has(:disabled){pointer-events:none}.has-disabled\:cursor-not-allowed:has(:disabled){cursor:not-allowed}.has-disabled\:opacity-50:has(:disabled){opacity:.5}.has-aria-invalid\:border-destructive:has([aria-invalid=true]){border-color:var(--color-destructive)}.has-aria-invalid\:ring-\[3px\]:has([aria-invalid=true]){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-aria-invalid\:ring-destructive\/20:has([aria-invalid=true]){--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.has-aria-invalid\:ring-destructive\/20:has([aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--color-destructive) 20%, transparent)}}.has-data-\[slot\=combobox-chip\]\:px-1\.5:has([data-slot=combobox-chip]){padding-inline:calc(var(--spacing) * 1.5)}.has-data-\[slot\=combobox-chip-remove\]\:pr-0:has([data-slot=combobox-chip-remove]){padding-right:calc(var(--spacing) * 0)}.has-data-\[variant\=inset\]\:bg-sidebar:has([data-variant=inset]){background-color:var(--color-sidebar)}.has-\[\:disabled\]\:opacity-50:has(:disabled){opacity:.5}.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:border-ring:has([data-slot=input-group-control]:focus-visible){border-color:var(--color-ring)}.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-\[3px\]:has([data-slot=input-group-control]:focus-visible){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-ring\/50:has([data-slot=input-group-control]:focus-visible){--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab, red, red)){.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-ring\/50:has([data-slot=input-group-control]:focus-visible){--tw-ring-color:color-mix(in oklab, var(--color-ring) 50%, transparent)}}.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:border-destructive:has([data-slot][aria-invalid=true]){border-color:var(--color-destructive)}.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/20:has([data-slot][aria-invalid=true]){--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/20:has([data-slot][aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--color-destructive) 20%, transparent)}}.has-\[\>\[data-align\=block-end\]\]\:h-auto:has(>[data-align=block-end]){height:auto}.has-\[\>\[data-align\=block-end\]\]\:flex-col:has(>[data-align=block-end]){flex-direction:column}.has-\[\>\[data-align\=block-start\]\]\:h-auto:has(>[data-align=block-start]){height:auto}.has-\[\>\[data-align\=block-start\]\]\:flex-col:has(>[data-align=block-start]){flex-direction:column}.has-\[\>button\]\:mr-\[-0\.45rem\]:has(>button){margin-right:-.45rem}.has-\[\>button\]\:ml-\[-0\.45rem\]:has(>button){margin-left:-.45rem}.has-\[\>kbd\]\:mr-\[-0\.35rem\]:has(>kbd){margin-right:-.35rem}.has-\[\>kbd\]\:ml-\[-0\.35rem\]:has(>kbd){margin-left:-.35rem}.has-\[\>svg\]\:grid-cols-\[calc\(var\(--spacing\)\*4\)_1fr\]:has(>svg){grid-template-columns:calc(var(--spacing) * 4) 1fr}.has-\[\>svg\]\:gap-x-3:has(>svg){column-gap:calc(var(--spacing) * 3)}.has-\[\>svg\]\:p-0:has(>svg){padding:calc(var(--spacing) * 0)}.has-\[\>svg\]\:px-2:has(>svg){padding-inline:calc(var(--spacing) * 2)}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing) * 2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing) * 3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing) * 4)}.has-\[\>textarea\]\:h-auto:has(>textarea){height:auto}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--color-destructive)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--color-destructive) 20%, transparent)}}.aria-selected\:text-muted-foreground[aria-selected=true]{color:var(--color-muted-foreground)}.data-closed\:animate-out[data-closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-closed\:fade-out-0[data-closed]{--tw-exit-opacity:0}.data-closed\:zoom-out-95[data-closed]{--tw-exit-scale:.95}.data-empty\:p-0[data-empty]{padding:calc(var(--spacing) * 0)}.data-highlighted\:bg-accent[data-highlighted]{background-color:var(--color-accent)}.data-highlighted\:text-accent-foreground[data-highlighted]{color:var(--color-accent-foreground)}.data-open\:animate-in[data-open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-open\:fade-in-0[data-open]{--tw-enter-opacity:0}.data-open\:zoom-in-95[data-open]{--tw-enter-scale:.95}.data-pressed\:bg-transparent[data-pressed]{background-color:#0000}.data-\[active\=true\]\:bg-accent\/50[data-active=true]{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.data-\[active\=true\]\:bg-accent\/50[data-active=true]{background-color:color-mix(in oklab, var(--color-accent) 50%, transparent)}}.data-\[active\=true\]\:bg-sidebar-accent[data-active=true]{background-color:var(--color-sidebar-accent)}.data-\[active\=true\]\:font-medium[data-active=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-\[active\=true\]\:text-accent-foreground[data-active=true]{color:var(--color-accent-foreground)}.data-\[active\=true\]\:text-sidebar-accent-foreground[data-active=true]{color:var(--color-sidebar-accent-foreground)}.data-\[chips\=true\]\:min-w-\(--anchor-width\)[data-chips=true]{min-width:var(--anchor-width)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[inset\]\:pl-8[data-inset]{padding-left:calc(var(--spacing) * 8)}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x:calc(52*var(--spacing))}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x:calc(52*var(--spacing)*-1)}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x:calc(52*var(--spacing))}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x:calc(52*var(--spacing)*-1)}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity:0}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-]{--tw-exit-opacity:0}.data-\[orientation\=horizontal\]\:h-px[data-orientation=horizontal]{height:1px}.data-\[orientation\=horizontal\]\:w-full[data-orientation=horizontal]{width:100%}.data-\[orientation\=horizontal\]\:flex-col[data-orientation=horizontal]{flex-direction:column}.data-\[orientation\=vertical\]\:h-full[data-orientation=vertical]{height:100%}.data-\[orientation\=vertical\]\:w-px[data-orientation=vertical]{width:1px}.data-\[placeholder\]\:text-muted-foreground[data-placeholder]{color:var(--color-muted-foreground)}.data-\[range-end\=true\]\:rounded-md[data-range-end=true]{border-radius:var(--radius-md)}.data-\[range-end\=true\]\:rounded-r-md[data-range-end=true]{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.data-\[range-end\=true\]\:bg-primary[data-range-end=true]{background-color:var(--color-primary)}.data-\[range-end\=true\]\:text-primary-foreground[data-range-end=true]{color:var(--color-primary-foreground)}.data-\[range-middle\=true\]\:rounded-none[data-range-middle=true]{border-radius:0}.data-\[range-middle\=true\]\:bg-accent[data-range-middle=true]{background-color:var(--color-accent)}.data-\[range-middle\=true\]\:text-accent-foreground[data-range-middle=true]{color:var(--color-accent-foreground)}.data-\[range-start\=true\]\:rounded-md[data-range-start=true]{border-radius:var(--radius-md)}.data-\[range-start\=true\]\:rounded-l-md[data-range-start=true]{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.data-\[range-start\=true\]\:bg-primary[data-range-start=true]{background-color:var(--color-primary)}.data-\[range-start\=true\]\:text-primary-foreground[data-range-start=true]{color:var(--color-primary-foreground)}.data-\[selected-single\=true\]\:bg-primary[data-selected-single=true]{background-color:var(--color-primary)}.data-\[selected-single\=true\]\:text-primary-foreground[data-selected-single=true]{color:var(--color-primary-foreground)}.data-\[selected\=true\]\:rounded-none[data-selected=true]{border-radius:0}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\[size\=default\]\:h-9[data-size=default]{height:calc(var(--spacing) * 9)}.data-\[size\=sm\]\:h-8[data-size=sm]{height:calc(var(--spacing) * 8)}:is(.\*\:data-\[slot\=alert-description\]\:text-destructive-foreground\/80>*)[data-slot=alert-description]{color:var(--color-destructive-foreground)}@supports (color:color-mix(in lab, red, red)){:is(.\*\:data-\[slot\=alert-description\]\:text-destructive-foreground\/80>*)[data-slot=alert-description]{color:color-mix(in oklab, var(--color-destructive-foreground) 80%, transparent)}}:is(.\*\:data-\[slot\=input-group\]\:m-1>*)[data-slot=input-group]{margin:calc(var(--spacing) * 1)}:is(.\*\:data-\[slot\=input-group\]\:mb-0>*)[data-slot=input-group]{margin-bottom:calc(var(--spacing) * 0)}:is(.\*\:data-\[slot\=input-group\]\:h-8>*)[data-slot=input-group]{height:calc(var(--spacing) * 8)}:is(.\*\:data-\[slot\=input-group\]\:border-input\/30>*)[data-slot=input-group]{border-color:var(--color-input)}@supports (color:color-mix(in lab, red, red)){:is(.\*\:data-\[slot\=input-group\]\:border-input\/30>*)[data-slot=input-group]{border-color:color-mix(in oklab, var(--color-input) 30%, transparent)}}:is(.\*\:data-\[slot\=input-group\]\:bg-input\/30>*)[data-slot=input-group]{background-color:var(--color-input)}@supports (color:color-mix(in lab, red, red)){:is(.\*\:data-\[slot\=input-group\]\:bg-input\/30>*)[data-slot=input-group]{background-color:color-mix(in oklab, var(--color-input) 30%, transparent)}}:is(.\*\:data-\[slot\=input-group\]\:shadow-none>*)[data-slot=input-group]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:is(.\*\*\:data-\[slot\=navigation-menu-link\]\:focus\:ring-0 *)[data-slot=navigation-menu-link]:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:is(.\*\*\:data-\[slot\=navigation-menu-link\]\:focus\:outline-none *)[data-slot=navigation-menu-link]:focus{--tw-outline-style:none;outline-style:none}:is(.\*\:data-\[slot\=select-value\]\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\*\:data-\[slot\=select-value\]\:flex>*)[data-slot=select-value]{display:flex}:is(.\*\:data-\[slot\=select-value\]\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\*\:data-\[slot\=select-value\]\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing) * 2)}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:var(--color-background)}.data-\[state\=active\]\:text-foreground[data-state=active]{color:var(--color-foreground)}.group-data-\[variant\=default\]\/tabs-list\:data-\[state\=active\]\:shadow-sm:is(:where(.group\/tabs-list)[data-variant=default] *)[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[variant\=line\]\/tabs-list\:data-\[state\=active\]\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *)[data-state=active]{background-color:#0000}.group-data-\[variant\=line\]\/tabs-list\:data-\[state\=active\]\:shadow-none:is(:where(.group\/tabs-list)[data-variant=line] *)[data-state=active]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[variant\=line\]\/tabs-list\:data-\[state\=active\]\:after\:opacity-100:is(:where(.group\/tabs-list)[data-variant=line] *)[data-state=active]:after{content:var(--tw-content);opacity:1}.data-\[state\=checked\]\:border-primary[data-state=checked]{border-color:var(--color-primary)}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:var(--color-primary)}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:var(--color-primary-foreground)}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=closed\]\:duration-300[data-state=closed]{--tw-duration:.3s;transition-duration:.3s}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:animate-out:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:fade-out-0:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-opacity:0}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:zoom-out-95:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=hidden\]\:animate-out[data-state=hidden]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity:0}.data-\[state\=on\]\:bg-accent[data-state=on]{background-color:var(--color-accent)}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:var(--color-accent-foreground)}.data-\[state\=open\]\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=open\]\:bg-accent[data-state=open],.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:color-mix(in oklab, var(--color-accent) 50%, transparent)}}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:var(--color-secondary)}.data-\[state\=open\]\:bg-sidebar-accent[data-state=open]{background-color:var(--color-sidebar-accent)}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:var(--color-accent-foreground)}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:var(--color-muted-foreground)}.data-\[state\=open\]\:opacity-100[data-state=open]{opacity:1}.data-\[state\=open\]\:duration-500[data-state=open]{--tw-duration:.5s;transition-duration:.5s}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale:.9}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:animate-in:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:fade-in-0:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-opacity:0}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:zoom-in-95:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-scale:.95}@media (hover:hover){.data-\[state\=open\]\:hover\:bg-sidebar-accent[data-state=open]:hover{background-color:var(--color-sidebar-accent)}.data-\[state\=open\]\:hover\:text-sidebar-accent-foreground[data-state=open]:hover{color:var(--color-sidebar-accent-foreground)}}.data-\[state\=visible\]\:animate-in[data-state=visible]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity:0}.data-\[variant\=destructive\]\:text-destructive-foreground[data-variant=destructive]{color:var(--color-destructive-foreground)}.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:color-mix(in oklab, var(--color-destructive) 10%, transparent)}}.data-\[variant\=destructive\]\:focus\:text-destructive-foreground[data-variant=destructive]:focus{color:var(--color-destructive-foreground)}.data-\[variant\=line\]\:rounded-none[data-variant=line]{border-radius:0}.data-\[variant\=outline\]\:border-l-0[data-variant=outline]{border-left-style:var(--tw-border-style);border-left-width:0}.data-\[variant\=outline\]\:shadow-xs[data-variant=outline]{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[variant\=outline\]\:first\:border-l[data-variant=outline]:first-child{border-left-style:var(--tw-border-style);border-left-width:1px}@media (width>=40rem){.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-12{height:calc(var(--spacing) * 12)}.sm\:w-\[350px\]{width:350px}.sm\:max-w-3xl{max-width:var(--container-3xl)}.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:max-w-md{max-width:var(--container-md)}.sm\:max-w-sm{max-width:var(--container-sm)}.sm\:flex-1{flex:1}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:justify-end{justify-content:flex-end}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-2\.5{gap:calc(var(--spacing) * 2.5)}.sm\:px-0{padding-inline:calc(var(--spacing) * 0)}.sm\:text-center{text-align:center}.sm\:text-left{text-align:left}}@media (width>=48rem){.md\:not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.md\:absolute{position:absolute}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:min-h-120{min-height:calc(var(--spacing) * 120)}.md\:min-h-min{min-height:min-content}.md\:w-5{width:calc(var(--spacing) * 5)}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:max-w-2xl{max-width:var(--container-2xl)}.md\:max-w-7xl{max-width:var(--container-7xl)}.md\:max-w-none{max-width:none}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:p-10{padding:calc(var(--spacing) * 10)}.md\:px-4{padding-inline:calc(var(--spacing) * 4)}.md\:px-6{padding-inline:calc(var(--spacing) * 6)}.md\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.md\:opacity-0{opacity:0}.md\:peer-data-\[variant\=inset\]\:m-2:is(:where(.peer)[data-variant=inset]~*){margin:calc(var(--spacing) * 2)}.md\:peer-data-\[variant\=inset\]\:ml-0:is(:where(.peer)[data-variant=inset]~*){margin-left:calc(var(--spacing) * 0)}.md\:peer-data-\[variant\=inset\]\:rounded-xl:is(:where(.peer)[data-variant=inset]~*){border-radius:var(--radius-xl)}.md\:peer-data-\[variant\=inset\]\:shadow-sm:is(:where(.peer)[data-variant=inset]~*){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.md\:peer-data-\[variant\=inset\]\:peer-data-\[state\=collapsed\]\:ml-0:is(:where(.peer)[data-variant=inset]~*):is(:where(.peer)[data-state=collapsed]~*){margin-left:calc(var(--spacing) * 0)}.md\:after\:hidden:after{content:var(--tw-content);display:none}}@media (width>=64rem){.lg\:mb-0{margin-bottom:calc(var(--spacing) * 0)}.lg\:mb-6{margin-bottom:calc(var(--spacing) * 6)}.lg\:-ml-px{margin-left:-1px}.lg\:ml-0{margin-left:calc(var(--spacing) * 0)}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:aspect-auto{aspect-ratio:auto}.lg\:w-48{width:calc(var(--spacing) * 48)}.lg\:w-\[438px\]{width:438px}.lg\:max-w-4xl{max-width:var(--container-4xl)}.lg\:max-w-none{max-width:none}.lg\:grow{flex-grow:1}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:justify-center{justify-content:center}:where(.lg\:space-x-12>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 12) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 12) * calc(1 - var(--tw-space-x-reverse)))}.lg\:rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.lg\:rounded-tl-lg{border-top-left-radius:var(--radius-lg)}.lg\:rounded-r-lg{border-top-right-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-lg)}.lg\:rounded-br-none{border-bottom-right-radius:0}.lg\:p-8{padding:calc(var(--spacing) * 8)}.lg\:p-20{padding:calc(var(--spacing) * 20)}.lg\:px-0{padding-inline:calc(var(--spacing) * 0)}.lg\:px-8{padding-inline:calc(var(--spacing) * 8)}.lg\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}}.rtl\:flex-row-reverse:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){flex-direction:row-reverse}.dark\:border-r:is(.dark *){border-right-style:var(--tw-border-style);border-right-width:1px}.dark\:border-\[\#3E3E3A\]:is(.dark *){border-color:#3e3e3a}.dark\:border-\[\#eeeeec\]:is(.dark *){border-color:#eeeeec}.dark\:border-gray-600:is(.dark *){border-color:var(--color-gray-600)}.dark\:border-red-200\/10:is(.dark *){border-color:#ffcaca1a}@supports (color:color-mix(in lab, red, red)){.dark\:border-red-200\/10:is(.dark *){border-color:color-mix(in oklab, var(--color-red-200) 10%, transparent)}}.dark\:border-sidebar-border:is(.dark *){border-color:var(--color-sidebar-border)}.dark\:bg-\[\#0a0a0a\]:is(.dark *){background-color:#0a0a0a}.dark\:bg-\[\#1D0002\]:is(.dark *){background-color:#1d0002}.dark\:bg-\[\#3E3E3A\]:is(.dark *){background-color:#3e3e3a}.dark\:bg-\[\#161615\]:is(.dark *){background-color:#161615}.dark\:bg-\[\#eeeeec\]:is(.dark *){background-color:#eeeeec}.dark\:bg-destructive\/60:is(.dark *){background-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-destructive\/60:is(.dark *){background-color:color-mix(in oklab, var(--color-destructive) 60%, transparent)}}.dark\:bg-gray-700:is(.dark *){background-color:var(--color-gray-700)}.dark\:bg-gray-800:is(.dark *){background-color:var(--color-gray-800)}.dark\:bg-gray-900:is(.dark *){background-color:var(--color-gray-900)}.dark\:bg-gray-950:is(.dark *){background-color:var(--color-gray-950)}.dark\:bg-input\/30:is(.dark *){background-color:var(--color-input)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-input\/30:is(.dark *){background-color:color-mix(in oklab, var(--color-input) 30%, transparent)}}.dark\:bg-neutral-700:is(.dark *){background-color:var(--color-neutral-700)}.dark\:bg-neutral-800:is(.dark *){background-color:var(--color-neutral-800)}.dark\:bg-red-700\/10:is(.dark *){background-color:#bf000f1a}@supports (color:color-mix(in lab, red, red)){.dark\:bg-red-700\/10:is(.dark *){background-color:color-mix(in oklab, var(--color-red-700) 10%, transparent)}}.dark\:bg-transparent:is(.dark *){background-color:#0000}.dark\:bg-white:is(.dark *){background-color:var(--color-white)}.dark\:stroke-neutral-100\/20:is(.dark *){stroke:#f5f5f533}@supports (color:color-mix(in lab, red, red)){.dark\:stroke-neutral-100\/20:is(.dark *){stroke:color-mix(in oklab, var(--color-neutral-100) 20%, transparent)}}.dark\:text-\[\#1C1C1A\]:is(.dark *){color:#1c1c1a}.dark\:text-\[\#4B0600\]:is(.dark *){color:#4b0600}.dark\:text-\[\#391800\]:is(.dark *){color:#391800}.dark\:text-\[\#733000\]:is(.dark *){color:#733000}.dark\:text-\[\#A1A09A\]:is(.dark *){color:#a1a09a}.dark\:text-\[\#EDEDEC\]:is(.dark *){color:#ededec}.dark\:text-\[\#F61500\]:is(.dark *){color:#f61500}.dark\:text-\[\#FF4433\]:is(.dark *){color:#f43}.dark\:text-black:is(.dark *){color:var(--color-black)}.dark\:text-gray-200:is(.dark *){color:var(--color-gray-200)}.dark\:text-gray-300:is(.dark *){color:var(--color-gray-300)}.dark\:text-gray-400:is(.dark *){color:var(--color-gray-400)}.dark\:text-gray-600:is(.dark *){color:var(--color-gray-600)}.dark\:text-muted-foreground:is(.dark *){color:var(--color-muted-foreground)}.dark\:text-neutral-100:is(.dark *){color:var(--color-neutral-100)}.dark\:text-neutral-300:is(.dark *){color:var(--color-neutral-300)}.dark\:text-neutral-400:is(.dark *){color:var(--color-neutral-400)}.dark\:text-red-100:is(.dark *){color:var(--color-red-100)}.dark\:text-red-400:is(.dark *){color:var(--color-red-400)}.dark\:text-white:is(.dark *){color:var(--color-white)}.dark\:decoration-neutral-500:is(.dark *){-webkit-text-decoration-color:var(--color-neutral-500);-webkit-text-decoration-color:var(--color-neutral-500);-webkit-text-decoration-color:var(--color-neutral-500);text-decoration-color:var(--color-neutral-500)}.dark\:mix-blend-hard-light:is(.dark *){mix-blend-mode:hard-light}.dark\:mix-blend-normal:is(.dark *){mix-blend-mode:normal}.dark\:shadow-\[inset_0px_0px_0px_1px_\#fffaed2d\]:is(.dark *){--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,#fffaed2d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dark\:ring-ring\/20:is(.dark *){--tw-ring-color:var(--color-ring)}@supports (color:color-mix(in lab, red, red)){.dark\:ring-ring\/20:is(.dark *){--tw-ring-color:color-mix(in oklab, var(--color-ring) 20%, transparent)}}.dark\:outline-ring\/40:is(.dark *){outline-color:var(--color-ring)}@supports (color:color-mix(in lab, red, red)){.dark\:outline-ring\/40:is(.dark *){outline-color:color-mix(in oklab, var(--color-ring) 40%, transparent)}}.dark\:\[--stroke-color\:\#FF750F\]:is(.dark *){--stroke-color:#ff750f}.dark\:before\:border-\[\#3E3E3A\]:is(.dark *):before{content:var(--tw-content);border-color:#3e3e3a}@media (hover:hover){.dark\:hover\:border-\[\#3E3E3A\]:is(.dark *):hover{border-color:#3e3e3a}.dark\:hover\:border-\[\#62605b\]:is(.dark *):hover{border-color:#62605b}.dark\:hover\:border-white:is(.dark *):hover{border-color:var(--color-white)}.dark\:hover\:bg-gray-900:is(.dark *):hover{background-color:var(--color-gray-900)}.dark\:hover\:bg-input\/50:is(.dark *):hover{background-color:var(--color-input)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-input\/50:is(.dark *):hover{background-color:color-mix(in oklab, var(--color-input) 50%, transparent)}}.dark\:hover\:bg-neutral-700\/60:is(.dark *):hover{background-color:#40404099}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-neutral-700\/60:is(.dark *):hover{background-color:color-mix(in oklab, var(--color-neutral-700) 60%, transparent)}}.dark\:hover\:bg-white:is(.dark *):hover{background-color:var(--color-white)}.dark\:hover\:text-accent-foreground:is(.dark *):hover{color:var(--color-accent-foreground)}.dark\:hover\:text-foreground:is(.dark *):hover{color:var(--color-foreground)}.dark\:hover\:text-gray-200:is(.dark *):hover{color:var(--color-gray-200)}.dark\:hover\:text-gray-300:is(.dark *):hover{color:var(--color-gray-300)}.dark\:hover\:text-neutral-100:is(.dark *):hover{color:var(--color-neutral-100)}}.dark\:focus\:border-blue-700:is(.dark *):focus{border-color:var(--color-blue-700)}.dark\:focus\:border-blue-800:is(.dark *):focus{border-color:var(--color-blue-800)}.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab, var(--color-destructive) 40%, transparent)}}.dark\:active\:bg-gray-700:is(.dark *):active{background-color:var(--color-gray-700)}.dark\:active\:text-gray-300:is(.dark *):active{color:var(--color-gray-300)}.dark\:has-aria-invalid\:border-destructive\/50:is(.dark *):has([aria-invalid=true]){border-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:has-aria-invalid\:border-destructive\/50:is(.dark *):has([aria-invalid=true]){border-color:color-mix(in oklab, var(--color-destructive) 50%, transparent)}}.dark\:has-aria-invalid\:ring-destructive\/40:is(.dark *):has([aria-invalid=true]){--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:has-aria-invalid\:ring-destructive\/40:is(.dark *):has([aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--color-destructive) 40%, transparent)}}.dark\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/40:is(.dark *):has([data-slot][aria-invalid=true]){--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/40:is(.dark *):has([data-slot][aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--color-destructive) 40%, transparent)}}.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--color-destructive) 40%, transparent)}}.dark\:data-\[state\=active\]\:border-input:is(.dark *)[data-state=active]{border-color:var(--color-input)}.dark\:data-\[state\=active\]\:bg-input\/30:is(.dark *)[data-state=active]{background-color:var(--color-input)}@supports (color:color-mix(in lab, red, red)){.dark\:data-\[state\=active\]\:bg-input\/30:is(.dark *)[data-state=active]{background-color:color-mix(in oklab, var(--color-input) 30%, transparent)}}.dark\:data-\[state\=active\]\:text-foreground:is(.dark *)[data-state=active]{color:var(--color-foreground)}.dark\:group-data-\[variant\=line\]\/tabs-list\:data-\[state\=active\]\:border-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *)[data-state=active]{border-color:#0000}.dark\:group-data-\[variant\=line\]\/tabs-list\:data-\[state\=active\]\:bg-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *)[data-state=active]{background-color:#0000}.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/40:is(.dark *)[data-variant=destructive]:focus{background-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/40:is(.dark *)[data-variant=destructive]:focus{background-color:color-mix(in oklab, var(--color-destructive) 40%, transparent)}}@starting-style{.starting\:opacity-0{opacity:0}}@media (prefers-reduced-motion:no-preference){@starting-style{.motion-safe\:starting\:-translate-x-\[26px\]{--tw-translate-x:calc(26px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}}@starting-style{.motion-safe\:starting\:-translate-x-\[51px\]{--tw-translate-x:calc(51px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}}@starting-style{.motion-safe\:starting\:-translate-x-\[78px\]{--tw-translate-x:calc(78px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}}@starting-style{.motion-safe\:starting\:-translate-x-\[102px\]{--tw-translate-x:calc(102px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}}@starting-style{.motion-safe\:starting\:translate-y-6{--tw-translate-y:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}}}@media (pointer:coarse){.pointer-coarse\:size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.pointer-coarse\:px-3{padding-inline:calc(var(--spacing) * 3)}.pointer-coarse\:py-2{padding-block:calc(var(--spacing) * 2)}.pointer-coarse\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.\[\&_p\]\:leading-relaxed p{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-full svg{width:100%;height:100%}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_svg\:not\(\[class\*\=\'text-\'\]\)\]\:text-muted-foreground svg:not([class*=text-]){color:var(--color-muted-foreground)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\:first-child\[data-selected\=true\]_button\]\:rounded-l-md:first-child[data-selected=true] button{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.\[\.border-b\]\:pb-3.border-b{padding-bottom:calc(var(--spacing) * 3)}.\[\.border-t\]\:pt-3.border-t{padding-top:calc(var(--spacing) * 3)}:is(.rtl\:\*\*\:\[\.rdp-button\\_next\>svg\]\:rotate-180:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *) *):is(.rdp-button_next>svg),:is(.rtl\:\*\*\:\[\.rdp-button\\_previous\>svg\]\:rotate-180:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *) *):is(.rdp-button_previous>svg){rotate:180deg}:is(.\*\:\[span\]\:last\:flex>*):is(span):last-child{display:flex}:is(.\*\:\[span\]\:last\:items-center>*):is(span):last-child{align-items:center}:is(.\*\:\[span\]\:last\:gap-2>*):is(span):last-child{gap:calc(var(--spacing) * 2)}:is(.data-\[variant\=destructive\]\:\*\:\[svg\]\:\!text-destructive-foreground[data-variant=destructive]>*):is(svg){color:var(--color-destructive-foreground)!important}.\[\&\:last-child\[data-selected\=true\]_button\]\:rounded-r-md:last-child[data-selected=true] button{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.\[\&\:nth-child\(2\)\[data-selected\=true\]_button\]\:rounded-l-md:nth-child(2)[data-selected=true] button{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.\[\&\>button\]\:hidden>button{display:none}.has-\[\>\[data-align\=block-end\]\]\:\[\&\>input\]\:pt-3:has(>[data-align=block-end])>input{padding-top:calc(var(--spacing) * 3)}.has-\[\>\[data-align\=block-start\]\]\:\[\&\>input\]\:pb-3:has(>[data-align=block-start])>input{padding-bottom:calc(var(--spacing) * 3)}.has-\[\>\[data-align\=inline-end\]\]\:\[\&\>input\]\:pr-2:has(>[data-align=inline-end])>input{padding-right:calc(var(--spacing) * 2)}.has-\[\>\[data-align\=inline-start\]\]\:\[\&\>input\]\:pl-2:has(>[data-align=inline-start])>input{padding-left:calc(var(--spacing) * 2)}.\[\&\>kbd\]\:rounded-\[calc\(var\(--radius\)-5px\)\]>kbd{border-radius:calc(var(--radius) - 5px)}.\[\&\>span\]\:text-xs>span{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\[\&\>span\]\:opacity-70>span{opacity:.7}.\[\&\>span\:last-child\]\:truncate>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3>svg{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:size-3\.5>svg{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&\>svg\]\:size-4>svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:translate-y-0\.5>svg{--tw-translate-y:calc(var(--spacing) * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}.\[\&\>svg\]\:text-current>svg{color:currentColor}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-muted-foreground)}.\[\&\>svg\]\:text-sidebar-accent-foreground>svg{color:var(--color-sidebar-accent-foreground)}.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5>svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4>svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}[data-side=left][data-collapsible=offcanvas] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2{right:calc(var(--spacing) * -2)}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=right][data-collapsible=offcanvas] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-left-2{left:calc(var(--spacing) * -2)}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-slot=card-content] .\[\[data-slot\=card-content\]_\&\]\:bg-transparent,[data-slot=popover-content] .\[\[data-slot\=popover-content\]_\&\]\:bg-transparent{background-color:#0000}@media (hover:hover){a.\[a\&\]\:hover\:bg-accent:hover{background-color:var(--color-accent)}a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:var(--color-destructive)}@supports (color:color-mix(in lab, red, red)){a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab, var(--color-destructive) 90%, transparent)}}a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab, red, red)){a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:color-mix(in oklab, var(--color-primary) 90%, transparent)}}a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:var(--color-secondary)}@supports (color:color-mix(in lab, red, red)){a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:color-mix(in oklab, var(--color-secondary) 90%, transparent)}}a.\[a\&\]\:hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-30px)}60%{transform:translateY(-15px)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes wobble{0%,to{transform:translate(0%)}15%{transform:translate(-25%)rotate(-5deg)}30%{transform:translate(20%)rotate(3deg)}45%{transform:translate(-15%)rotate(-3deg)}60%{transform:translate(10%)rotate(2deg)}75%{transform:translate(-5%)rotate(-1deg)}}@keyframes rubberBand{0%{transform:scale(1)}30%{transform:scale(1.25,.75)}40%{transform:scale(.75,1.25)}50%{transform:scale(1.15,.85)}65%{transform:scale(.95,1.05)}75%{transform:scale(1.05,.95)}to{transform:scale(1)}}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-10px)}20%,40%,60%,80%{transform:translate(10px)}}@keyframes headShake{0%{transform:translate(0)}6.5%{transform:translate(-6px)rotate(-6deg)}18.5%{transform:translate(5px)rotate(6deg)}31.5%{transform:translate(-3px)rotate(-3deg)}43.5%{transform:translate(2px)rotate(2deg)}to{transform:translate(0)}}@keyframes swing{20%{transform:rotate(15deg)}40%{transform:rotate(-10deg)}60%{transform:rotate(5deg)}80%{transform:rotate(-5deg)}to{transform:rotate(0)}}@keyframes tada{0%,to{transform:scale(1)}10%,20%{transform:scale3d(.9,.9,.9)rotate(-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1)rotate(3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1)rotate(-3deg)}}@keyframes jello{0%{transform:scale(1)}30%{transform:scale(1.25,.75)}40%{transform:scale(.75,1.25)}50%{transform:scale(1.15,.85)}65%{transform:scale(.95,1.05)}75%{transform:scale(1.05,.95)}to{transform:scale(1)}}@keyframes heartBeat{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}@keyframes flip{0%{animation-timing-function:ease-out;transform:perspective(400px)rotateY(-360deg)}40%{animation-timing-function:ease-out;transform:perspective(400px)translateZ(150px)rotateY(-190deg)}50%{animation-timing-function:ease-in;transform:perspective(400px)translateZ(150px)rotateY(-170deg)}80%{animation-timing-function:ease-in;transform:perspective(400px)scale3d(.95,.95,.95)}to{animation-timing-function:ease-in;transform:perspective(400px)scale(1)}}@keyframes flipInX{0%{opacity:0;transform:perspective(400px)rotateX(90deg)}40%{animation-timing-function:ease-out;transform:perspective(400px)rotateX(-20deg)}60%{opacity:1;transform:perspective(400px)rotateX(10deg)}80%{transform:perspective(400px)rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes flipInY{0%{opacity:0;transform:perspective(400px)rotateY(90deg)}40%{animation-timing-function:ease-out;transform:perspective(400px)rotateY(-20deg)}60%{opacity:1;transform:perspective(400px)rotateY(10deg)}80%{transform:perspective(400px)rotateY(-5deg)}to{transform:perspective(400px)}}@keyframes flipOutX{0%{transform:perspective(400px)}30%{opacity:1;transform:perspective(400px)rotateX(-20deg)}to{opacity:0;transform:perspective(400px)rotateX(90deg)}}@keyframes flipOutY{0%{transform:perspective(400px)}30%{opacity:1;transform:perspective(400px)rotateY(-15deg)}to{opacity:0;transform:perspective(400px)rotateY(90deg)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translate(0)}}@keyframes fadeInDownBig{0%{opacity:0;transform:translateY(-2000px)}to{opacity:1;transform:translate(0)}}@keyframes fadeInLeft{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate(-2000px)}to{opacity:1;transform:translate(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@keyframes fadeInRightBig{0%{opacity:0;transform:translate(2000px)}to{opacity:1;transform:translate(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translate(0)}}@keyframes fadeInUpBig{0%{opacity:0;transform:translateY(2000px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translateY(100%)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translateY(2000px)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate(-100%)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate(-2000px)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate(100%)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate(2000px)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translateY(-100%)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translateY(-2000px)}}@keyframes slideInDown{0%{visibility:visible;transform:translateY(-100%)}to{transform:translate(0)}}@keyframes slideInLeft{0%{visibility:visible;transform:translate(-100%)}to{transform:translate(0)}}@keyframes slideInRight{0%{visibility:visible;transform:translate(100%)}to{transform:translate(0)}}@keyframes slideInUp{0%{visibility:visible;transform:translateY(100%)}to{transform:translate(0)}}@keyframes slideOutDown{0%{transform:translate(0)}to{visibility:hidden;transform:translateY(100%)}}@keyframes slideOutLeft{0%{transform:translate(0)}to{visibility:hidden;transform:translate(-100%)}}@keyframes slideOutRight{0%{transform:translate(0)}to{visibility:hidden;transform:translate(100%)}}@keyframes slideOutUp{0%{transform:translate(0)}to{visibility:hidden;transform:translateY(-100%)}}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomInDown{0%{opacity:0;animation-timing-function:cubic-bezier(.55,.055,.675,.19);transform:scale3d(.1,.1,.1)translateY(-1000px)}60%{opacity:1;animation-timing-function:cubic-bezier(.175,.885,.32,1);transform:scale3d(.475,.475,.475)translateY(60px)}}@keyframes zoomInLeft{0%{opacity:0;animation-timing-function:cubic-bezier(.55,.055,.675,.19);transform:scale3d(.1,.1,.1)translate(-1000px)}60%{opacity:1;animation-timing-function:cubic-bezier(.175,.885,.32,1);transform:scale3d(.475,.475,.475)translate(10px)}}@keyframes zoomInRight{0%{opacity:0;animation-timing-function:cubic-bezier(.55,.055,.675,.19);transform:scale3d(.1,.1,.1)translate(1000px)}60%{opacity:1;animation-timing-function:cubic-bezier(.175,.885,.32,1);transform:scale3d(.475,.475,.475)translate(-10px)}}@keyframes zoomInUp{0%{opacity:0;animation-timing-function:cubic-bezier(.55,.055,.675,.19);transform:scale3d(.1,.1,.1)translateY(1000px)}60%{opacity:1;animation-timing-function:cubic-bezier(.175,.885,.32,1);transform:scale3d(.475,.475,.475)translateY(-60px)}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOutDown{40%{opacity:1;animation-timing-function:cubic-bezier(.55,.055,.675,.19);transform:scale3d(.475,.475,.475)translateY(-60px)}to{opacity:0;transform-origin:bottom;transform:scale3d(.1,.1,.1)translateY(1000px)}}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475)translate(42px)}to{opacity:0;transform-origin:0;transform:scale(.1)translate(-1000px)}}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475)translate(-42px)}to{opacity:0;transform-origin:100%;transform:scale(.1)translate(1000px)}}@keyframes zoomOutUp{40%{opacity:1;animation-timing-function:cubic-bezier(.55,.055,.675,.19);transform:scale3d(.475,.475,.475)translateY(60px)}to{opacity:0;transform-origin:bottom;transform:scale3d(.1,.1,.1)translateY(-1000px)}}@keyframes rotateIn{0%{opacity:0;transform:rotate(-200deg)}to{opacity:1;transform:rotate(0)}}@keyframes rotateOut{0%{opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(200deg)}}@keyframes rollIn{0%{opacity:0;transform:translate(-100%)rotate(-120deg)}to{opacity:1;transform:translate(0)rotate(0)}}@keyframes rollOut{0%{opacity:1;transform:translate(0)rotate(0)}to{opacity:0;transform:translate(100%)rotate(120deg)}}@keyframes lightSpeedInRight{0%{opacity:0;transform:translate(100%)skew(-30deg)}60%{opacity:1;transform:skew(20deg)}80%{opacity:1;transform:skew(-5deg)}to{opacity:1;transform:translate(0)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{opacity:0;transform:translate(-100%)skew(30deg)}}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1)rotate(0)}50%{transform:scale(1.05)rotate(10deg)}70%{transform:scale(.9)rotate(-3deg)}to{opacity:1;transform:scale(1)rotate(0)}}@keyframes hinge{0%{transform-origin:0 0;animation-timing-function:ease-in-out;transform:rotate(0)}20%,60%{transform-origin:0 0;animation-timing-function:ease-in-out;transform:rotate(80deg)}40%,80%{transform-origin:0 0;animation-timing-function:ease-in-out;transform:rotate(60deg)}to{transform-origin:0 0;opacity:0;transform:rotate(90deg)}}@keyframes bounceIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scale(1)}}@keyframes bounceInDown{0%{opacity:0;transform:translateY(-3000px)scaleY(3)}60%{opacity:1;transform:translateY(25px)scaleY(.9)}75%{transform:translateY(-10px)scaleY(.95)}90%{transform:translateY(5px)scaleY(.985)}to{transform:translate(0)}}@keyframes bounceInLeft{0%{opacity:0;transform:translate(-3000px)scaleX(3)}60%{opacity:1;transform:translate(25px)scaleX(1)}75%{transform:translate(-10px)scaleX(.98)}90%{transform:translate(5px)scaleX(.995)}to{transform:translate(0)}}@keyframes bounceInRight{0%{opacity:0;transform:translate(3000px)scaleX(3)}60%{opacity:1;transform:translate(-25px)scaleX(1)}75%{transform:translate(10px)scaleX(.98)}90%{transform:translate(-5px)scaleX(.995)}to{transform:translate(0)}}@keyframes bounceInUp{0%{opacity:0;transform:translateY(3000px)scaleY(5)}60%{opacity:1;transform:translateY(-20px)scaleY(.9)}75%{transform:translateY(10px)scaleY(.95)}90%{transform:translateY(-5px)scaleY(.985)}to{transform:translate(0)}}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}@keyframes bounceOutDown{20%{transform:translateY(10px)scaleY(.985)}40%,45%{opacity:1;transform:translateY(-20px)scaleY(.9)}to{opacity:0;transform:translateY(2000px)scaleY(3)}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate(20px)scaleX(.9)}to{opacity:0;transform:translate(-2000px)scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;transform:translate(-20px)scaleX(.9)}to{opacity:0;transform:translate(2000px)scaleX(2)}}@keyframes bounceOutUp{20%{transform:translateY(-10px)scaleY(.985)}40%,45%{opacity:1;transform:translateY(20px)scaleY(.9)}to{opacity:0;transform:translateY(-2000px)scaleY(3)}}@keyframes backInDown{0%{opacity:.7;transform:translateY(-1200px)scale(.7)}80%{opacity:.7;transform:translateY(0)scale(.7)}to{opacity:1;transform:scale(1)}}@keyframes backInLeft{0%{opacity:.7;transform:translate(-2000px)scale(.7)}80%{opacity:.7;transform:translate(0)scale(.7)}to{opacity:1;transform:scale(1)}}@keyframes backInRight{0%{opacity:.7;transform:translate(2000px)scale(.7)}80%{opacity:.7;transform:translate(0)scale(.7)}to{opacity:1;transform:scale(1)}}@keyframes backInUp{0%{opacity:.7;transform:translateY(1200px)scale(.7)}80%{opacity:.7;transform:translateY(0)scale(.7)}to{opacity:1;transform:scale(1)}}@keyframes backOutDown{0%{opacity:1;transform:scale(1)}20%{opacity:.7;transform:translateY(0)scale(.7)}to{opacity:.7;transform:translateY(700px)scale(.7)}}@keyframes backOutLeft{0%{opacity:1;transform:scale(1)}20%{opacity:.7;transform:translate(0)scale(.7)}to{opacity:.7;transform:translate(-2000px)scale(.7)}}@keyframes backOutRight{0%{opacity:1;transform:scale(1)}20%{opacity:.7;transform:translate(0)scale(.7)}to{opacity:.7;transform:translate(2000px)scale(.7)}}@keyframes backOutUp{0%{opacity:1;transform:scale(1)}20%{opacity:.7;transform:translateY(0)scale(.7)}to{opacity:.7;transform:translateY(-700px)scale(.7)}}@keyframes rotateInDownLeft{0%{opacity:0;transform-origin:0 100%;transform:rotate(-45deg)}to{opacity:1;transform-origin:0 100%;transform:rotate(0)}}@keyframes rotateInDownRight{0%{opacity:0;transform-origin:100% 100%;transform:rotate(45deg)}to{opacity:1;transform-origin:100% 100%;transform:rotate(0)}}@keyframes rotateInUpLeft{0%{opacity:0;transform-origin:0 100%;transform:rotate(45deg)}to{opacity:1;transform-origin:0 100%;transform:rotate(0)}}@keyframes rotateInUpRight{0%{opacity:0;transform-origin:100% 100%;transform:rotate(-90deg)}to{opacity:1;transform-origin:100% 100%;transform:rotate(0)}}@keyframes rotateOutDownLeft{0%{opacity:1;transform-origin:0 100%}to{opacity:0;transform-origin:0 100%;transform:rotate(45deg)}}@keyframes rotateOutDownRight{0%{opacity:1;transform-origin:100% 100%}to{opacity:0;transform-origin:100% 100%;transform:rotate(-45deg)}}@keyframes rotateOutUpLeft{0%{opacity:1;transform-origin:0 100%}to{opacity:0;transform-origin:0 100%;transform:rotate(-45deg)}}@keyframes rotateOutUpRight{0%{opacity:1;transform-origin:100% 100%}to{opacity:0;transform-origin:100% 100%;transform:rotate(90deg)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes wiggle{0%,to{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes blurIn{0%{filter:blur(12px);opacity:0}to{filter:blur();opacity:1}}@keyframes blurOut{0%{filter:blur();opacity:1}to{filter:blur(12px);opacity:0}}@keyframes glitch{0%,to{transform:translate(0)}20%{transform:translate(-3px,2px)}40%{transform:translate(-3px,-2px)}60%{transform:translate(3px,2px)}80%{transform:translate(3px,-2px)}}@keyframes pop{0%{opacity:0;transform:scale(.8)}70%{transform:scale(1.1)}to{opacity:1;transform:scale(1)}}@keyframes compress{0%,to{transform:scaleY(1)}50%{transform:scaleY(.5)}}@keyframes expand{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes drop{0%{opacity:0;transform:translateY(-200px)}60%{opacity:1;transform:translateY(15px)}80%{transform:translateY(-8px)}to{transform:translateY(0)}}@keyframes sway{0%,to{transform-origin:top;transform:rotate(-5deg)}50%{transform-origin:top;transform:rotate(5deg)}}@keyframes kenBurns{0%{transform:scale(1)translate(0)}to{transform:scale(1.15)translate(-2%,-2%)}}@keyframes tilt{0%{transform:perspective(400px)rotateY(0)}to{transform:perspective(400px)rotateY(15deg)}}@keyframes alarm{0%,to{transform:rotate(0)scale(1)}10%,30%{transform:rotate(-25deg)scale(1.05)}20%,40%{transform:rotate(25deg)scale(1.05)}50%,70%{transform:rotate(-15deg)scale(1.02)}60%,80%{transform:rotate(15deg)scale(1.02)}}@keyframes ring{0%,to{transform:rotate(0)}10%,30%{transform:rotate(15deg)}20%,40%{transform:rotate(-15deg)}50%,70%{transform:rotate(10deg)}60%,80%{transform:rotate(-10deg)}}@keyframes bell{0%{transform:rotate(0)}10%{transform:rotate(15deg)}20%{transform:rotate(-15deg)}30%{transform:rotate(10deg)}40%{transform:rotate(-10deg)}50%{transform:rotate(0)}to{transform:rotate(0)}}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}code[class*=language-],pre[class*=language-]{color:var(--color-foreground);text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;tab-size:4;-webkit-hyphens:none;hyphens:none;background:0 0;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.6}pre[class*=language-]{border-radius:0;margin:0;padding:1rem;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:var(--color-background)}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.3em;padding:.1em}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:var(--color-muted-foreground)}.token.punctuation{color:var(--color-foreground)}.token.tag,.token.attr-name,.token.namespace,.token.deleted{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.number,.token.function{color:#f08d49}.token.property,.token.class-name,.token.constant,.token.symbol{color:#f8c555}.token.selector,.token.important,.token.atrule,.token.keyword,.token.builtin{color:#cc99cd}.token.string,.token.char,.token.attr-value,.token.regex,.token.variable{color:#7ec699}.token.operator,.token.entity,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:#0f0}@font-face{font-family:Bebas Neue;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/bebas-neue-latin-ext-400-normal-DWiEslNC.woff2)format("woff2"),url(/build/assets/bebas-neue-latin-ext-400-normal-HFKRJXnW.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Bebas Neue;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/bebas-neue-latin-400-normal-9mHNbWWO.woff2)format("woff2"),url(/build/assets/bebas-neue-latin-400-normal-Bi-ndsyu.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Pixelify Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/build/assets/pixelify-sans-cyrillic-wght-normal-BfQLqnEI.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Pixelify Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/build/assets/pixelify-sans-latin-ext-wght-normal-CsF3XSp0.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Pixelify Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/build/assets/pixelify-sans-latin-wght-normal-Cbhn5ptY.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Caveat Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/build/assets/caveat-cyrillic-ext-wght-normal-DiMfzA-V.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Caveat Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/build/assets/caveat-cyrillic-wght-normal-D5lnP6kL.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Caveat Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/build/assets/caveat-latin-ext-wght-normal-Byk3UhVp.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Caveat Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/build/assets/caveat-latin-wght-normal-C1hSzPvX.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Serif Display;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/dm-serif-display-latin-ext-400-normal-p18AlW_x.woff2)format("woff2"),url(/build/assets/dm-serif-display-latin-ext-400-normal-B1toqZab.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Serif Display;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/dm-serif-display-latin-400-normal-C5_t9oOD.woff2)format("woff2"),url(/build/assets/dm-serif-display-latin-400-normal-_kVFYEpx.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/fira-mono-cyrillic-ext-400-normal-FAIU8e3o.woff2)format("woff2"),url(/build/assets/fira-mono-cyrillic-ext-400-normal-Co4MVjrD.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/fira-mono-cyrillic-400-normal-BJkDdjbt.woff2)format("woff2"),url(/build/assets/fira-mono-cyrillic-400-normal-DUd3efVn.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/fira-mono-greek-ext-400-normal-Be4g_LSk.woff2)format("woff2"),url(/build/assets/fira-mono-greek-ext-400-normal-BQ5yw6bY.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/fira-mono-greek-400-normal-ftNhKy_S.woff2)format("woff2"),url(/build/assets/fira-mono-greek-400-normal-B_0AmgK7.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/fira-mono-symbols2-400-normal-C6JptOil.woff2)format("woff2"),url(/build/assets/fira-mono-symbols2-400-normal-CpeG9ob9.woff)format("woff");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/fira-mono-latin-ext-400-normal-B2gPvaNr.woff2)format("woff2"),url(/build/assets/fira-mono-latin-ext-400-normal-CbD3vWRE.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/fira-mono-latin-400-normal-DVTTRLHv.woff2)format("woff2"),url(/build/assets/fira-mono-latin-400-normal-C3FQ26ho.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Great Vibes;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/great-vibes-cyrillic-ext-400-normal-CKQhgFwn.woff2)format("woff2"),url(/build/assets/great-vibes-cyrillic-ext-400-normal-CzcHves0.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Great Vibes;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/great-vibes-cyrillic-400-normal-C-wcqNJs.woff2)format("woff2"),url(/build/assets/great-vibes-cyrillic-400-normal-DtFXCWjq.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Great Vibes;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/great-vibes-greek-ext-400-normal-Caxd-0sC.woff2)format("woff2"),url(/build/assets/great-vibes-greek-ext-400-normal-I8uMZwKr.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Great Vibes;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/great-vibes-vietnamese-400-normal-a2O3jU53.woff2)format("woff2"),url(/build/assets/great-vibes-vietnamese-400-normal-Cxbm9Uac.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Great Vibes;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/great-vibes-latin-ext-400-normal-CsjMq8GN.woff2)format("woff2"),url(/build/assets/great-vibes-latin-ext-400-normal-wh4xxCIu.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Great Vibes;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/great-vibes-latin-400-normal-q5-78SH_.woff2)format("woff2"),url(/build/assets/great-vibes-latin-400-normal-BAZ173uY.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2)format("woff2"),url(/build/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2)format("woff2"),url(/build/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2)format("woff2"),url(/build/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2)format("woff2"),url(/build/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2)format("woff2"),url(/build/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/ibm-plex-sans-cyrillic-ext-400-normal-g30qAdWV.woff2)format("woff2"),url(/build/assets/ibm-plex-sans-cyrillic-ext-400-normal-Dsrv2Tcn.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/ibm-plex-sans-cyrillic-400-normal-DZqxrq2p.woff2)format("woff2"),url(/build/assets/ibm-plex-sans-cyrillic-400-normal-BTotfTJu.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/ibm-plex-sans-greek-400-normal-_efipK4i.woff2)format("woff2"),url(/build/assets/ibm-plex-sans-greek-400-normal-D9ESIMu3.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/ibm-plex-sans-vietnamese-400-normal-DG4YqDda.woff2)format("woff2"),url(/build/assets/ibm-plex-sans-vietnamese-400-normal-fK1oJ5dG.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/ibm-plex-sans-latin-ext-400-normal-C5H60-Va.woff2)format("woff2"),url(/build/assets/ibm-plex-sans-latin-ext-400-normal-RBey6euL.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2)format("woff2"),url(/build/assets/ibm-plex-sans-latin-400-normal-CYLoc0-x.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nerko One;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/nerko-one-latin-ext-400-normal-CFPuMH-A.woff2)format("woff2"),url(/build/assets/nerko-one-latin-ext-400-normal-CeiCvlAM.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nerko One;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/nerko-one-latin-400-normal-Dbkh7I23.woff2)format("woff2"),url(/build/assets/nerko-one-latin-400-normal-Dk7k_1yO.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Orbitron;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/orbitron-latin-400-normal-U6xZUhur.woff2)format("woff2"),url(/build/assets/orbitron-latin-400-normal-DBk4Dmer.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Playfair Display Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/build/assets/playfair-display-cyrillic-wght-normal-5WvUvBgz.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Playfair Display Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/build/assets/playfair-display-vietnamese-wght-normal-Cabi7G8-.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Playfair Display Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/build/assets/playfair-display-latin-ext-wght-normal-CT1r92Rl.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Playfair Display Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/build/assets/playfair-display-latin-wght-normal-BOwq7MWX.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/poppins-devanagari-400-normal-CJDn6rn8.woff2)format("woff2"),url(/build/assets/poppins-devanagari-400-normal-CqVvlrh5.woff)format("woff");unicode-range:U+900-97F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/poppins-latin-ext-400-normal-by3JarPu.woff2)format("woff2"),url(/build/assets/poppins-latin-ext-400-normal-DaBSavcJ.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Poppins;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/poppins-latin-400-normal-cpxAROuN.woff2)format("woff2"),url(/build/assets/poppins-latin-400-normal-BOb3E3N0.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-cyrillic-ext-wght-normal-BCp_3N7R.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-cyrillic-wght-normal-fOt7epNf.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-greek-ext-wght-normal-Bgw4czJT.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Roboto Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-greek-wght-normal-DlT9XTxE.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-math-wght-normal-4a3xuzGk.woff2)format("woff2-variations");unicode-range:U+302-303,U+305,U+307-308,U+310,U+312,U+315,U+31A,U+326-327,U+32C,U+32F-330,U+332-333,U+338,U+33A,U+346,U+34D,U+391-3A1,U+3A3-3A9,U+3B1-3C9,U+3D1,U+3D5-3D6,U+3F0-3F1,U+3F4-3F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE??}@font-face{font-family:Roboto Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-symbols-wght-normal-B7iHSfaG.woff2)format("woff2-variations");unicode-range:U+1-C,U+E-1F,U+7F-9F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+28??,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B??,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F0??,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F7??,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB??}@font-face{font-family:Roboto Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-vietnamese-wght-normal-_f1XEJpo.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-latin-ext-wght-normal-DYIxWhlt.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-latin-wght-normal-ccAYIvAh.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto Slab;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/roboto-slab-cyrillic-ext-400-normal-Cm5q4seC.woff2)format("woff2"),url(/build/assets/roboto-slab-cyrillic-ext-400-normal-BW1cBx1L.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Slab;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/roboto-slab-cyrillic-400-normal-NTBYJ9iY.woff2)format("woff2"),url(/build/assets/roboto-slab-cyrillic-400-normal-Cc0Cso00.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Slab;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/roboto-slab-greek-ext-400-normal-CnoIblM-.woff2)format("woff2"),url(/build/assets/roboto-slab-greek-ext-400-normal-C6Q3kR7E.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Roboto Slab;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/roboto-slab-greek-400-normal-76UbIAt9.woff2)format("woff2"),url(/build/assets/roboto-slab-greek-400-normal-AoTWS79V.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Slab;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/roboto-slab-vietnamese-400-normal-bJRBMnqv.woff2)format("woff2"),url(/build/assets/roboto-slab-vietnamese-400-normal-BmyZx1xn.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Slab;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/roboto-slab-latin-ext-400-normal-AV6nsDYb.woff2)format("woff2"),url(/build/assets/roboto-slab-latin-ext-400-normal-DOoLriWR.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Slab;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/roboto-slab-latin-400-normal-DwurWVj7.woff2)format("woff2"),url(/build/assets/roboto-slab-latin-400-normal-wzK1bUc4.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Work Sans Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/work-sans-vietnamese-wght-normal-BKsN3ITN.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Work Sans Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/work-sans-latin-ext-wght-normal-B5dZ8C4S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Work Sans Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/work-sans-latin-wght-normal-Bl-S9Xys.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/barlow-condensed-vietnamese-400-normal-Dq9fsqrz.woff2)format("woff2"),url(/build/assets/barlow-condensed-vietnamese-400-normal-BHpO_q_4.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/barlow-condensed-latin-ext-400-normal-DPMBkgfB.woff2)format("woff2"),url(/build/assets/barlow-condensed-latin-ext-400-normal-DN7qpd_C.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/barlow-condensed-latin-400-normal-Dc2u_eUW.woff2)format("woff2"),url(/build/assets/barlow-condensed-latin-400-normal-BXL2z6Kg.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cinzel Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/build/assets/cinzel-latin-ext-wght-normal-CG36JvV6.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cinzel Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/build/assets/cinzel-latin-wght-normal-DMUuCU8H.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/cormorant-garamond-cyrillic-ext-wght-normal-Bg62sWL9.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/cormorant-garamond-cyrillic-wght-normal-BWCqVJN0.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/cormorant-garamond-vietnamese-wght-normal-CDLFB6hb.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/cormorant-garamond-latin-ext-wght-normal-ltf1AbuM.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/cormorant-garamond-latin-wght-normal-CUoBjw-S.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fira Code Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/fira-code-cyrillic-ext-wght-normal-DhYMMuQd.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Fira Code Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/fira-code-cyrillic-wght-normal-Y3u8pIsh.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Fira Code Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/fira-code-greek-ext-wght-normal-wWus70Ix.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Fira Code Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/fira-code-greek-wght-normal-B2SviObF.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Fira Code Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/fira-code-symbols2-wght-normal-CE6EOz_n.woff2)format("woff2-variations");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Fira Code Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/fira-code-latin-ext-wght-normal-Dvfvaomy.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fira Code Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/fira-code-latin-wght-normal-CHoedHDv.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/build/assets/instrument-sans-latin-ext-wght-normal-B5bTHO_g.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/build/assets/instrument-sans-latin-wght-normal-BbzFLZTg.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/build/assets/jetbrains-mono-cyrillic-ext-wght-normal-EocZY2iu.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/build/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/build/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/build/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/build/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/build/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Merriweather Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/build/assets/merriweather-cyrillic-ext-wght-normal-Bkm5NjZG.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Merriweather Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/build/assets/merriweather-cyrillic-wght-normal-BWxnF87P.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Merriweather Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/build/assets/merriweather-vietnamese-wght-normal-BXYScXBD.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Merriweather Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/build/assets/merriweather-latin-ext-wght-normal-BZx4mOJf.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Merriweather Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/build/assets/merriweather-latin-wght-normal-BovdrKvB.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/build/assets/manrope-cyrillic-ext-wght-normal-C8S-KRRz.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/build/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/build/assets/manrope-greek-wght-normal-DL7QRZyv.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/build/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/build/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/build/assets/manrope-latin-wght-normal-DHIcAJRg.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/build/assets/nunito-cyrillic-ext-wght-normal-D4X5GqEv.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/build/assets/nunito-cyrillic-wght-normal-CY6AOgYE.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/build/assets/nunito-vietnamese-wght-normal-U01xdrZh.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/build/assets/nunito-latin-ext-wght-normal-CXYtwYOx.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/build/assets/nunito-latin-wght-normal-BzFMHfZw.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Oswald Variable;font-style:normal;font-display:swap;font-weight:200 700;src:url(/build/assets/oswald-cyrillic-ext-wght-normal-DLWmRmaW.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Oswald Variable;font-style:normal;font-display:swap;font-weight:200 700;src:url(/build/assets/oswald-cyrillic-wght-normal-C8sJyxwB.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Oswald Variable;font-style:normal;font-display:swap;font-weight:200 700;src:url(/build/assets/oswald-vietnamese-wght-normal-Tdf5mmdl.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Oswald Variable;font-style:normal;font-display:swap;font-weight:200 700;src:url(/build/assets/oswald-latin-ext-wght-normal-Dj_1K-Kw.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Oswald Variable;font-style:normal;font-display:swap;font-weight:200 700;src:url(/build/assets/oswald-latin-wght-normal-CzS3kehr.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Patrick Hand;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/patrick-hand-vietnamese-400-normal-65jA92mZ.woff2)format("woff2"),url(/build/assets/patrick-hand-vietnamese-400-normal-CZjY324Y.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Patrick Hand;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/patrick-hand-latin-ext-400-normal-Dno5CMlI.woff2)format("woff2"),url(/build/assets/patrick-hand-latin-ext-400-normal-C2ywpnn3.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Patrick Hand;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/patrick-hand-latin-400-normal-B7HHA2Vw.woff2)format("woff2"),url(/build/assets/patrick-hand-latin-400-normal-Df9_VoRQ.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Quicksand Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/quicksand-vietnamese-wght-normal-ei70gACF.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Quicksand Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/quicksand-latin-ext-wght-normal-CrJ75Ewg.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Quicksand Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/quicksand-latin-wght-normal-Buj9m_3d.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Rajdhani;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/rajdhani-devanagari-400-normal-CTuj2HZW.woff2)format("woff2"),url(/build/assets/rajdhani-devanagari-400-normal-BdIzgbsr.woff)format("woff");unicode-range:U+900-97F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}@font-face{font-family:Rajdhani;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/rajdhani-latin-ext-400-normal-DACPYgMx.woff2)format("woff2"),url(/build/assets/rajdhani-latin-ext-400-normal-Der7ynDE.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Rajdhani;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/rajdhani-latin-400-normal-CurJOxDW.woff2)format("woff2"),url(/build/assets/rajdhani-latin-400-normal-C6_q4usG.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto Condensed Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-condensed-cyrillic-ext-wght-normal-DhztH7TG.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Condensed Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-condensed-cyrillic-wght-normal-DcSt-2BC.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Condensed Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-condensed-greek-ext-wght-normal-CuKbLwpm.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Roboto Condensed Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-condensed-greek-wght-normal-Cvhr4n9Q.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Condensed Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-condensed-vietnamese-wght-normal-BQ3qeiTz.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Condensed Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-condensed-latin-ext-wght-normal-Db2M7toj.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Condensed Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/build/assets/roboto-condensed-latin-wght-normal-Cxzi1x1i.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto Mono Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(/build/assets/roboto-mono-cyrillic-ext-wght-normal-BUDPrIko.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Mono Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(/build/assets/roboto-mono-cyrillic-wght-normal-HUlVHixE.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Mono Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(/build/assets/roboto-mono-greek-wght-normal-BJJTbwTT.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Mono Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(/build/assets/roboto-mono-vietnamese-wght-normal-DlC-zuDL.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Mono Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(/build/assets/roboto-mono-latin-ext-wght-normal-QAYlOegK.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Mono Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(/build/assets/roboto-mono-latin-wght-normal-CZtBPCCa.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/build/assets/source-sans-3-cyrillic-ext-wght-normal-DzyfIafT.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/build/assets/source-sans-3-cyrillic-wght-normal-BMDVbyM7.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/build/assets/source-sans-3-greek-ext-wght-normal-BWSLJLk6.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/build/assets/source-sans-3-greek-wght-normal-C9H9m1vD.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/build/assets/source-sans-3-vietnamese-wght-normal-C1uRvKPU.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/build/assets/source-sans-3-latin-ext-wght-normal-C8iNium2.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/build/assets/source-sans-3-latin-wght-normal-BqRLTx4X.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/space-grotesk-vietnamese-wght-normal-D0rl6rjA.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/space-grotesk-latin-ext-wght-normal-D9tNdqV9.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/build/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Varela Round;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/varela-round-hebrew-400-normal-CdSaNJFF.woff2)format("woff2"),url(/build/assets/varela-round-hebrew-400-normal-gahDRKkd.woff)format("woff");unicode-range:U+307-308,U+590-5FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Varela Round;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/varela-round-vietnamese-400-normal-DWiTdRj2.woff2)format("woff2"),url(/build/assets/varela-round-vietnamese-400-normal-CA2kl5Qj.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Varela Round;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/varela-round-latin-ext-400-normal-DL997rWn.woff2)format("woff2"),url(/build/assets/varela-round-latin-ext-400-normal-IO5VYG9n.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Varela Round;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/varela-round-latin-400-normal-CsVGkSoP.woff2)format("woff2"),url(/build/assets/varela-round-latin-400-normal-BCUlaylK.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--destructive-foreground:oklch(57.7% .245 27.325);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(87% 0 0);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--radius:.625rem;--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(87% 0 0);--font-bebas-neue:"Bebas Neue", sans-serif}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(14.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(14.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(98.5% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(39.6% .141 25.723);--destructive-foreground:oklch(63.7% .237 25.331);--border:oklch(26.9% 0 0);--input:oklch(26.9% 0 0);--ring:oklch(43.9% 0 0);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(98.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(26.9% 0 0);--sidebar-ring:oklch(43.9% 0 0)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-mask-linear{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-radial{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-conic{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-linear-position{syntax:"*";inherits:false;initial-value:0deg}@property --tw-mask-linear-from-position{syntax:"*";inherits:false;initial-value:0%}@property --tw-mask-linear-to-position{syntax:"*";inherits:false;initial-value:100%}@property --tw-mask-linear-from-color{syntax:"*";inherits:false;initial-value:black}@property --tw-mask-linear-to-color{syntax:"*";inherits:false;initial-value:transparent}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}@keyframes caret-blink{0%,70%,to{opacity:1}20%,50%{opacity:0}} diff --git a/public/build/assets/appearance-C7UEWifC.js b/public/build/assets/appearance-C7UEWifC.js deleted file mode 100644 index e84484c..0000000 --- a/public/build/assets/appearance-C7UEWifC.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,o as t,r as n}from"./wayfinder-DGNmxDkm.js";import{n as r}from"./use-appearance-QmpypXC6.js";import{n as i,t as a}from"./createLucideIcon-C5RzLdeU.js";import{n as o,t as s}from"./sun-BjqZX6Kk.js";import{n as c,r as l}from"./app-D7ZTkNic.js";var u=a(`Monitor`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]),d=e(),f=n();function p(e){let t=(0,d.c)(13),n,a;t[0]===e?(n=t[1],a=t[2]):({className:a,...n}=e,t[0]=e,t[1]=n,t[2]=a);let c=a===void 0?``:a,{appearance:l,updateAppearance:p}=r(),m;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(m=[{value:`light`,icon:s,label:`Light`},{value:`dark`,icon:o,label:`Dark`},{value:`system`,icon:u,label:`System`}],t[3]=m):m=t[3];let h=m,g;t[4]===c?g=t[5]:(g=i(`inline-flex gap-1 rounded-lg bg-background p-1`,c),t[4]=c,t[5]=g);let _;t[6]!==l||t[7]!==p?(_=h.map(e=>{let{value:t,icon:n,label:r}=e;return(0,f.jsxs)(`button`,{onClick:()=>p(t),className:i(`flex items-center rounded-md px-3.5 py-1.5 transition-colors`,l===t?`bg-muted text-foreground shadow-xs`:`bg-muted/15 text-foreground hover:bg-muted`),children:[(0,f.jsx)(n,{className:`-ml-1 h-4 w-4`}),(0,f.jsx)(`span`,{className:`ml-1.5 text-sm`,children:r})]},t)}),t[6]=l,t[7]=p,t[8]=_):_=t[8];let v;return t[9]!==n||t[10]!==g||t[11]!==_?(v=(0,f.jsx)(`div`,{className:g,...n,children:_}),t[9]=n,t[10]=g,t[11]=_,t[12]=v):v=t[12],v}function m(){let e=(0,d.c)(3),n,r;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,f.jsx)(t,{title:`Appearance settings`}),r=(0,f.jsx)(`h1`,{className:`sr-only`,children:`Appearance settings`}),e[0]=n,e[1]=r):(n=e[0],r=e[1]);let i;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,f.jsxs)(f.Fragment,{children:[n,r,(0,f.jsxs)(`div`,{className:`space-y-6`,children:[(0,f.jsx)(l,{variant:`small`,title:`Appearance settings`,description:`Update your account's appearance settings`}),(0,f.jsx)(p,{})]})]}),e[2]=i):i=e[2],i}m.layout={breadcrumbs:[{title:`Appearance settings`,href:c()}]};export{m as default}; \ No newline at end of file diff --git a/public/build/assets/badge-CJhhYWaN.js b/public/build/assets/badge-CJhhYWaN.js deleted file mode 100644 index 2c586d8..0000000 --- a/public/build/assets/badge-CJhhYWaN.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,m as t,r as n}from"./wayfinder-DGNmxDkm.js";import{n as r,r as i}from"./button-Dnfc0p4v.js";import{n as a}from"./createLucideIcon-C5RzLdeU.js";var o=e();t();var s=n(),c=r(`inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden`,{variants:{variant:{default:`border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90`,secondary:`border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90`,destructive:`border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60`,outline:`text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground`}},defaultVariants:{variant:`default`}});function l(e){let t=(0,o.c)(12),n,r,l,u;t[0]===e?(n=t[1],r=t[2],l=t[3],u=t[4]):({className:n,variant:u,asChild:l,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=l,t[4]=u);let d=l!==void 0&&l?i:`span`,f;t[5]!==n||t[6]!==u?(f=a(c({variant:u}),n),t[5]=n,t[6]=u,t[7]=f):f=t[7];let p;return t[8]!==d||t[9]!==r||t[10]!==f?(p=(0,s.jsx)(d,{"data-slot":`badge`,className:f,...r}),t[8]=d,t[9]=r,t[10]=f,t[11]=p):p=t[11],p}export{l as t}; \ No newline at end of file diff --git a/public/build/assets/barlow-condensed-latin-400-normal-BXL2z6Kg.woff b/public/build/assets/barlow-condensed-latin-400-normal-BXL2z6Kg.woff deleted file mode 100644 index d1108a2..0000000 Binary files a/public/build/assets/barlow-condensed-latin-400-normal-BXL2z6Kg.woff and /dev/null differ diff --git a/public/build/assets/barlow-condensed-latin-400-normal-Dc2u_eUW.woff2 b/public/build/assets/barlow-condensed-latin-400-normal-Dc2u_eUW.woff2 deleted file mode 100644 index ebb34ad..0000000 Binary files a/public/build/assets/barlow-condensed-latin-400-normal-Dc2u_eUW.woff2 and /dev/null differ diff --git a/public/build/assets/barlow-condensed-latin-ext-400-normal-DN7qpd_C.woff b/public/build/assets/barlow-condensed-latin-ext-400-normal-DN7qpd_C.woff deleted file mode 100644 index 7523932..0000000 Binary files a/public/build/assets/barlow-condensed-latin-ext-400-normal-DN7qpd_C.woff and /dev/null differ diff --git a/public/build/assets/barlow-condensed-latin-ext-400-normal-DPMBkgfB.woff2 b/public/build/assets/barlow-condensed-latin-ext-400-normal-DPMBkgfB.woff2 deleted file mode 100644 index c7d0ebd..0000000 Binary files a/public/build/assets/barlow-condensed-latin-ext-400-normal-DPMBkgfB.woff2 and /dev/null differ diff --git a/public/build/assets/barlow-condensed-vietnamese-400-normal-BHpO_q_4.woff b/public/build/assets/barlow-condensed-vietnamese-400-normal-BHpO_q_4.woff deleted file mode 100644 index b423f7d..0000000 Binary files a/public/build/assets/barlow-condensed-vietnamese-400-normal-BHpO_q_4.woff and /dev/null differ diff --git a/public/build/assets/barlow-condensed-vietnamese-400-normal-Dq9fsqrz.woff2 b/public/build/assets/barlow-condensed-vietnamese-400-normal-Dq9fsqrz.woff2 deleted file mode 100644 index b2d9bbe..0000000 Binary files a/public/build/assets/barlow-condensed-vietnamese-400-normal-Dq9fsqrz.woff2 and /dev/null differ diff --git a/public/build/assets/bebas-neue-latin-400-normal-9mHNbWWO.woff2 b/public/build/assets/bebas-neue-latin-400-normal-9mHNbWWO.woff2 deleted file mode 100644 index 92d6a0f..0000000 Binary files a/public/build/assets/bebas-neue-latin-400-normal-9mHNbWWO.woff2 and /dev/null differ diff --git a/public/build/assets/bebas-neue-latin-400-normal-Bi-ndsyu.woff b/public/build/assets/bebas-neue-latin-400-normal-Bi-ndsyu.woff deleted file mode 100644 index eaee786..0000000 Binary files a/public/build/assets/bebas-neue-latin-400-normal-Bi-ndsyu.woff and /dev/null differ diff --git a/public/build/assets/bebas-neue-latin-ext-400-normal-DWiEslNC.woff2 b/public/build/assets/bebas-neue-latin-ext-400-normal-DWiEslNC.woff2 deleted file mode 100644 index 23b344f..0000000 Binary files a/public/build/assets/bebas-neue-latin-ext-400-normal-DWiEslNC.woff2 and /dev/null differ diff --git a/public/build/assets/bebas-neue-latin-ext-400-normal-HFKRJXnW.woff b/public/build/assets/bebas-neue-latin-ext-400-normal-HFKRJXnW.woff deleted file mode 100644 index 314529a..0000000 Binary files a/public/build/assets/bebas-neue-latin-ext-400-normal-HFKRJXnW.woff and /dev/null differ diff --git a/public/build/assets/button-Dnfc0p4v.js b/public/build/assets/button-Dnfc0p4v.js deleted file mode 100644 index 4863fc0..0000000 --- a/public/build/assets/button-Dnfc0p4v.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,m as t,r as n,x as r}from"./wayfinder-DGNmxDkm.js";import{i,n as a}from"./createLucideIcon-C5RzLdeU.js";var o=e(),s=r(t(),1);function c(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function l(...e){return t=>{let n=!1,r=e.map(e=>{let r=c(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t{let{children:r,...i}=e;h(r)&&typeof p==`function`&&(r=p(r._payload));let a=s.Children.toArray(r),o=a.find(b);if(o){let e=o.props.children,r=a.map(t=>t===o?s.Children.count(e)>1?s.Children.only(null):s.isValidElement(e)?e.props.children:null:t);return(0,d.jsx)(t,{...i,ref:n,children:s.isValidElement(e)?s.cloneElement(e,void 0,r):null})}return(0,d.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var _=g(`Slot`);function v(e){let t=s.forwardRef((e,t)=>{let{children:n,...r}=e;if(h(n)&&typeof p==`function`&&(n=p(n._payload)),s.isValidElement(n)){let e=S(n),i=x(r,n.props);return n.type!==s.Fragment&&(i.ref=t?l(t,e):e),s.cloneElement(n,i)}return s.Children.count(n)>1?s.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var y=Symbol(`radix.slottable`);function b(e){return s.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===y}function x(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function S(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var C=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,w=i,T=(e,t)=>n=>{if(t?.variants==null)return w(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=C(t)||C(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return w(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},E=T(`inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive`,{variants:{variant:{default:`bg-primary text-primary-foreground shadow-xs hover:bg-primary/90`,destructive:`bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40`,outline:`border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground`,secondary:`bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-9 px-4 py-2 has-[>svg]:px-3`,sm:`h-8 rounded-md px-3 has-[>svg]:px-2.5`,lg:`h-10 rounded-md px-6 has-[>svg]:px-4`,icon:`size-9`}},defaultVariants:{variant:`default`,size:`default`}});function D(e){let t=(0,o.c)(14),n,r,i,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],s=t[4],c=t[5]):({className:n,variant:c,size:i,asChild:s,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=s,t[5]=c);let l=s!==void 0&&s?_:`button`,u;t[6]!==n||t[7]!==i||t[8]!==c?(u=a(E({variant:c,size:i,className:n})),t[6]=n,t[7]=i,t[8]=c,t[9]=u):u=t[9];let f;return t[10]!==l||t[11]!==r||t[12]!==u?(f=(0,d.jsx)(l,{"data-slot":`button`,className:u,...r}),t[10]=l,t[11]=r,t[12]=u,t[13]=f):f=t[13],f}export{l as a,g as i,T as n,u as o,_ as r,D as t}; \ No newline at end of file diff --git a/public/build/assets/card-gSkeg5Iw.js b/public/build/assets/card-gSkeg5Iw.js deleted file mode 100644 index 4e7eb66..0000000 --- a/public/build/assets/card-gSkeg5Iw.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,m as t,r as n}from"./wayfinder-DGNmxDkm.js";import{n as r}from"./createLucideIcon-C5RzLdeU.js";var i=e();t();var a=n();function o(e){let t=(0,i.c)(8),n,o;t[0]===e?(n=t[1],o=t[2]):({className:n,...o}=e,t[0]=e,t[1]=n,t[2]=o);let s;t[3]===n?s=t[4]:(s=r(`bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm`,n),t[3]=n,t[4]=s);let c;return t[5]!==o||t[6]!==s?(c=(0,a.jsx)(`div`,{"data-slot":`card`,className:s,...o}),t[5]=o,t[6]=s,t[7]=c):c=t[7],c}function s(e){let t=(0,i.c)(8),n,o;t[0]===e?(n=t[1],o=t[2]):({className:n,...o}=e,t[0]=e,t[1]=n,t[2]=o);let s;t[3]===n?s=t[4]:(s=r(`flex flex-col gap-1.5 px-6`,n),t[3]=n,t[4]=s);let c;return t[5]!==o||t[6]!==s?(c=(0,a.jsx)(`div`,{"data-slot":`card-header`,className:s,...o}),t[5]=o,t[6]=s,t[7]=c):c=t[7],c}function c(e){let t=(0,i.c)(8),n,o;t[0]===e?(n=t[1],o=t[2]):({className:n,...o}=e,t[0]=e,t[1]=n,t[2]=o);let s;t[3]===n?s=t[4]:(s=r(`leading-none font-semibold`,n),t[3]=n,t[4]=s);let c;return t[5]!==o||t[6]!==s?(c=(0,a.jsx)(`div`,{"data-slot":`card-title`,className:s,...o}),t[5]=o,t[6]=s,t[7]=c):c=t[7],c}function l(e){let t=(0,i.c)(8),n,o;t[0]===e?(n=t[1],o=t[2]):({className:n,...o}=e,t[0]=e,t[1]=n,t[2]=o);let s;t[3]===n?s=t[4]:(s=r(`text-muted-foreground text-balance text-sm`,n),t[3]=n,t[4]=s);let c;return t[5]!==o||t[6]!==s?(c=(0,a.jsx)(`div`,{"data-slot":`card-description`,className:s,...o}),t[5]=o,t[6]=s,t[7]=c):c=t[7],c}function u(e){let t=(0,i.c)(8),n,o;t[0]===e?(n=t[1],o=t[2]):({className:n,...o}=e,t[0]=e,t[1]=n,t[2]=o);let s;t[3]===n?s=t[4]:(s=r(`px-6`,n),t[3]=n,t[4]=s);let c;return t[5]!==o||t[6]!==s?(c=(0,a.jsx)(`div`,{"data-slot":`card-content`,className:s,...o}),t[5]=o,t[6]=s,t[7]=c):c=t[7],c}function d(e){let t=(0,i.c)(8),n,o;t[0]===e?(n=t[1],o=t[2]):({className:n,...o}=e,t[0]=e,t[1]=n,t[2]=o);let s;t[3]===n?s=t[4]:(s=r(`flex items-center px-6`,n),t[3]=n,t[4]=s);let c;return t[5]!==o||t[6]!==s?(c=(0,a.jsx)(`div`,{"data-slot":`card-footer`,className:s,...o}),t[5]=o,t[6]=s,t[7]=c):c=t[7],c}export{s as a,d as i,u as n,c as o,l as r,o as t}; \ No newline at end of file diff --git a/public/build/assets/caveat-cyrillic-ext-wght-normal-DiMfzA-V.woff2 b/public/build/assets/caveat-cyrillic-ext-wght-normal-DiMfzA-V.woff2 deleted file mode 100644 index 6da6e64..0000000 Binary files a/public/build/assets/caveat-cyrillic-ext-wght-normal-DiMfzA-V.woff2 and /dev/null differ diff --git a/public/build/assets/caveat-cyrillic-wght-normal-D5lnP6kL.woff2 b/public/build/assets/caveat-cyrillic-wght-normal-D5lnP6kL.woff2 deleted file mode 100644 index e2f2993..0000000 Binary files a/public/build/assets/caveat-cyrillic-wght-normal-D5lnP6kL.woff2 and /dev/null differ diff --git a/public/build/assets/caveat-latin-ext-wght-normal-Byk3UhVp.woff2 b/public/build/assets/caveat-latin-ext-wght-normal-Byk3UhVp.woff2 deleted file mode 100644 index 31d7f8b..0000000 Binary files a/public/build/assets/caveat-latin-ext-wght-normal-Byk3UhVp.woff2 and /dev/null differ diff --git a/public/build/assets/caveat-latin-wght-normal-C1hSzPvX.woff2 b/public/build/assets/caveat-latin-wght-normal-C1hSzPvX.woff2 deleted file mode 100644 index 5a34234..0000000 Binary files a/public/build/assets/caveat-latin-wght-normal-C1hSzPvX.woff2 and /dev/null differ diff --git a/public/build/assets/check-h5bDkP1T.js b/public/build/assets/check-h5bDkP1T.js deleted file mode 100644 index dd0ec8b..0000000 --- a/public/build/assets/check-h5bDkP1T.js +++ /dev/null @@ -1 +0,0 @@ -import{t as e}from"./createLucideIcon-C5RzLdeU.js";var t=e(`Check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]);export{t}; \ No newline at end of file diff --git a/public/build/assets/checkbox-ChEujvy-.js b/public/build/assets/checkbox-ChEujvy-.js deleted file mode 100644 index 4f24e35..0000000 --- a/public/build/assets/checkbox-ChEujvy-.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,m as t,p as n,r,x as i}from"./wayfinder-DGNmxDkm.js";import{i as a,n as o,t as s}from"./dist-DkpcB3Hx.js";import{a as c,o as l}from"./button-Dnfc0p4v.js";import{n as u}from"./createLucideIcon-C5RzLdeU.js";import{t as d}from"./check-h5bDkP1T.js";import{t as f}from"./dist-CaXsKxmI.js";import{I as p}from"./app-D7ZTkNic.js";var m=e(),h=i(t(),1),g=r();function _(e,t=[]){let n=[];function r(t,r){let i=h.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=h.useMemo(()=>o,Object.values(o));return(0,g.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=h.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>h.createContext(e));return function(n){let r=n?.[e]||t;return h.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,v(i,...t)]}function v(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}n();function y(e){let t=b(e),n=h.forwardRef((e,n)=>{let{children:r,...i}=e,a=h.Children.toArray(r),o=a.find(S);if(o){let e=o.props.children,r=a.map(t=>t===o?h.Children.count(e)>1?h.Children.only(null):h.isValidElement(e)?e.props.children:null:t);return(0,g.jsx)(t,{...i,ref:n,children:h.isValidElement(e)?h.cloneElement(e,void 0,r):null})}return(0,g.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function b(e){let t=h.forwardRef((e,t)=>{let{children:n,...r}=e;if(h.isValidElement(n)){let e=w(n),i=C(r,n.props);return n.type!==h.Fragment&&(i.ref=t?c(t,e):e),h.cloneElement(n,i)}return h.Children.count(n)>1?h.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var x=Symbol(`radix.slottable`);function S(e){return h.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===x}function C(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function w(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var T=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=y(`Primitive.${t}`),r=h.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,g.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),E=`Checkbox`,[D,O]=_(E),[k,A]=D(E);function j(e){let{__scopeCheckbox:t,checked:n,children:r,defaultChecked:i,disabled:a,form:o,name:c,onCheckedChange:l,required:u,value:d=`on`,internal_do_not_use_render:f}=e,[p,m]=s({prop:n,defaultProp:i??!1,onChange:l,caller:E}),[_,v]=h.useState(null),[y,b]=h.useState(null),x=h.useRef(!1),S=_?!!o||!!_.closest(`form`):!0,C={checked:p,disabled:a,setChecked:m,control:_,setControl:v,name:c,form:o,value:d,hasConsumerStoppedPropagationRef:x,required:u,defaultChecked:B(i)?!1:i,isFormControl:S,bubbleInput:y,setBubbleInput:b};return(0,g.jsx)(k,{scope:t,...C,children:z(f)?f(C):r})}var M=`CheckboxTrigger`,N=h.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},i)=>{let{control:o,value:s,disabled:c,checked:u,required:d,setControl:f,setChecked:p,hasConsumerStoppedPropagationRef:m,isFormControl:_,bubbleInput:v}=A(M,e),y=l(i,f),b=h.useRef(u);return h.useEffect(()=>{let e=o?.form;if(e){let t=()=>p(b.current);return e.addEventListener(`reset`,t),()=>e.removeEventListener(`reset`,t)}},[o,p]),(0,g.jsx)(T.button,{type:`button`,role:`checkbox`,"aria-checked":B(u)?`mixed`:u,"aria-required":d,"data-state":V(u),"data-disabled":c?``:void 0,disabled:c,value:s,...r,ref:y,onKeyDown:a(t,e=>{e.key===`Enter`&&e.preventDefault()}),onClick:a(n,e=>{p(e=>B(e)?!0:!e),v&&_&&(m.current=e.isPropagationStopped(),m.current||e.stopPropagation())})})});N.displayName=M;var P=h.forwardRef((e,t)=>{let{__scopeCheckbox:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:c,onCheckedChange:l,form:u,...d}=e;return(0,g.jsx)(j,{__scopeCheckbox:n,checked:i,defaultChecked:a,disabled:s,required:o,onCheckedChange:l,name:r,form:u,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(N,{...d,ref:t,__scopeCheckbox:n}),e&&(0,g.jsx)(R,{__scopeCheckbox:n})]})})});P.displayName=E;var F=`CheckboxIndicator`,I=h.forwardRef((e,t)=>{let{__scopeCheckbox:n,forceMount:r,...i}=e,a=A(F,n);return(0,g.jsx)(o,{present:r||B(a.checked)||a.checked===!0,children:(0,g.jsx)(T.span,{"data-state":V(a.checked),"data-disabled":a.disabled?``:void 0,...i,ref:t,style:{pointerEvents:`none`,...e.style}})})});I.displayName=F;var L=`CheckboxBubbleInput`,R=h.forwardRef(({__scopeCheckbox:e,...t},n)=>{let{control:r,hasConsumerStoppedPropagationRef:i,checked:a,defaultChecked:o,required:s,disabled:c,name:u,value:d,form:m,bubbleInput:_,setBubbleInput:v}=A(L,e),y=l(n,v),b=f(a),x=p(r);h.useEffect(()=>{let e=_;if(!e)return;let t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,`checked`).set,r=!i.current;if(b!==a&&n){let t=new Event(`click`,{bubbles:r});e.indeterminate=B(a),n.call(e,B(a)?!1:a),e.dispatchEvent(t)}},[_,b,a,i]);let S=h.useRef(B(a)?!1:a);return(0,g.jsx)(T.input,{type:`checkbox`,"aria-hidden":!0,defaultChecked:o??S.current,required:s,disabled:c,name:u,value:d,form:m,...t,tabIndex:-1,ref:y,style:{...t.style,...x,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0,transform:`translateX(-100%)`}})});R.displayName=L;function z(e){return typeof e==`function`}function B(e){return e===`indeterminate`}function V(e){return B(e)?`indeterminate`:e?`checked`:`unchecked`}function H(e){let t=(0,m.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=u(`peer border-input data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,g.jsx)(I,{"data-slot":`checkbox-indicator`,className:`flex items-center justify-center text-current transition-none`,children:(0,g.jsx)(d,{className:`size-3.5`})}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,g.jsx)(P,{"data-slot":`checkbox`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}export{H as t}; \ No newline at end of file diff --git a/public/build/assets/chevron-down-JaoNNKy_.js b/public/build/assets/chevron-down-JaoNNKy_.js deleted file mode 100644 index d0f5553..0000000 --- a/public/build/assets/chevron-down-JaoNNKy_.js +++ /dev/null @@ -1 +0,0 @@ -import{t as e}from"./createLucideIcon-C5RzLdeU.js";var t=e(`ChevronDown`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]);export{t}; \ No newline at end of file diff --git a/public/build/assets/cinzel-latin-ext-wght-normal-CG36JvV6.woff2 b/public/build/assets/cinzel-latin-ext-wght-normal-CG36JvV6.woff2 deleted file mode 100644 index 3cfa50b..0000000 Binary files a/public/build/assets/cinzel-latin-ext-wght-normal-CG36JvV6.woff2 and /dev/null differ diff --git a/public/build/assets/cinzel-latin-wght-normal-DMUuCU8H.woff2 b/public/build/assets/cinzel-latin-wght-normal-DMUuCU8H.woff2 deleted file mode 100644 index a54fd00..0000000 Binary files a/public/build/assets/cinzel-latin-wght-normal-DMUuCU8H.woff2 and /dev/null differ diff --git a/public/build/assets/confirm-BccF1kdf.js b/public/build/assets/confirm-BccF1kdf.js deleted file mode 100644 index e3814ae..0000000 --- a/public/build/assets/confirm-BccF1kdf.js +++ /dev/null @@ -1 +0,0 @@ -import{n as e}from"./wayfinder-DGNmxDkm.js";var t=e=>({url:t.url(e),method:`post`});t.definition={methods:[`post`],url:`/user/confirm-password`},t.url=n=>t.definition.url+e(n),t.post=e=>({url:t.url(e),method:`post`});var n=e=>({action:t.url(e),method:`post`});n.post=e=>({action:t.url(e),method:`post`}),t.form=n;var r={store:Object.assign(t,t)};export{t as n,r as t}; \ No newline at end of file diff --git a/public/build/assets/confirm-password-McieLPbR.js b/public/build/assets/confirm-password-McieLPbR.js deleted file mode 100644 index b785226..0000000 --- a/public/build/assets/confirm-password-McieLPbR.js +++ /dev/null @@ -1 +0,0 @@ -import{a as e,i as t,o as n,r}from"./wayfinder-DGNmxDkm.js";import{t as i}from"./button-Dnfc0p4v.js";import{t as a}from"./password-input-B7lWK_x4.js";import{t as o}from"./input-error-C2eP__MC.js";import{t as s}from"./label-B7tz5f5X.js";import{t as c}from"./spinner-DkjOSfno.js";import{n as l}from"./confirm-BccF1kdf.js";var u=t(),d=r();function f(){let t=(0,u.c)(2),r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,d.jsx)(n,{title:`Confirm password`}),t[0]=r):r=t[0];let i;return t[1]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,d.jsxs)(d.Fragment,{children:[r,(0,d.jsx)(e,{...l.form(),resetOnSuccess:[`password`],children:p})]}),t[1]=i):i=t[1],i}function p(e){let{processing:t,errors:n}=e;return(0,d.jsxs)(`div`,{className:`space-y-6`,children:[(0,d.jsxs)(`div`,{className:`grid gap-2`,children:[(0,d.jsx)(s,{htmlFor:`password`,children:`Password`}),(0,d.jsx)(a,{id:`password`,name:`password`,placeholder:`Password`,autoComplete:`current-password`,autoFocus:!0}),(0,d.jsx)(o,{message:n.password})]}),(0,d.jsx)(`div`,{className:`flex items-center`,children:(0,d.jsxs)(i,{className:`w-full`,disabled:t,"data-test":`confirm-password-button`,children:[t&&(0,d.jsx)(c,{}),`Confirm password`]})})]})}f.layout={title:`Confirm your password`,description:`This is a secure area of the application. Please confirm your password before continuing.`};export{f as default}; \ No newline at end of file diff --git a/public/build/assets/copy-C1-jVkjV.js b/public/build/assets/copy-C1-jVkjV.js deleted file mode 100644 index e130f64..0000000 --- a/public/build/assets/copy-C1-jVkjV.js +++ /dev/null @@ -1 +0,0 @@ -import{t as e}from"./createLucideIcon-C5RzLdeU.js";var t=e(`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`}]]);export{t}; \ No newline at end of file diff --git a/public/build/assets/cormorant-garamond-cyrillic-ext-wght-normal-Bg62sWL9.woff2 b/public/build/assets/cormorant-garamond-cyrillic-ext-wght-normal-Bg62sWL9.woff2 deleted file mode 100644 index c56f179..0000000 Binary files a/public/build/assets/cormorant-garamond-cyrillic-ext-wght-normal-Bg62sWL9.woff2 and /dev/null differ diff --git a/public/build/assets/cormorant-garamond-cyrillic-wght-normal-BWCqVJN0.woff2 b/public/build/assets/cormorant-garamond-cyrillic-wght-normal-BWCqVJN0.woff2 deleted file mode 100644 index 20114e2..0000000 Binary files a/public/build/assets/cormorant-garamond-cyrillic-wght-normal-BWCqVJN0.woff2 and /dev/null differ diff --git a/public/build/assets/cormorant-garamond-latin-ext-wght-normal-ltf1AbuM.woff2 b/public/build/assets/cormorant-garamond-latin-ext-wght-normal-ltf1AbuM.woff2 deleted file mode 100644 index e90a82d..0000000 Binary files a/public/build/assets/cormorant-garamond-latin-ext-wght-normal-ltf1AbuM.woff2 and /dev/null differ diff --git a/public/build/assets/cormorant-garamond-latin-wght-normal-CUoBjw-S.woff2 b/public/build/assets/cormorant-garamond-latin-wght-normal-CUoBjw-S.woff2 deleted file mode 100644 index a1828a8..0000000 Binary files a/public/build/assets/cormorant-garamond-latin-wght-normal-CUoBjw-S.woff2 and /dev/null differ diff --git a/public/build/assets/cormorant-garamond-vietnamese-wght-normal-CDLFB6hb.woff2 b/public/build/assets/cormorant-garamond-vietnamese-wght-normal-CDLFB6hb.woff2 deleted file mode 100644 index 5c747e5..0000000 Binary files a/public/build/assets/cormorant-garamond-vietnamese-wght-normal-CDLFB6hb.woff2 and /dev/null differ diff --git a/public/build/assets/createLucideIcon-C5RzLdeU.js b/public/build/assets/createLucideIcon-C5RzLdeU.js deleted file mode 100644 index 1858f6d..0000000 --- a/public/build/assets/createLucideIcon-C5RzLdeU.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,x as t}from"./wayfinder-DGNmxDkm.js";function n(e){var t,r,i=``;if(typeof e==`string`||typeof e==`number`)i+=e;else if(typeof e==`object`)if(Array.isArray(e)){var a=e.length;for(t=0;t{let n=Array(e.length+t.length);for(let t=0;t({classGroupId:e,validator:t}),o=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),s=`-`,c=[],l=`arbitrary..`,u=e=>{let t=f(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return ee(e);let n=e.split(s);return d(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],a=n[e];return t?a?i(a,t):t:a||c}return n[e]||c}}},d=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=d(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(s):e.slice(t).join(s),c=a.length;for(let e=0;ee.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?l+r:void 0})(),f=e=>{let{theme:t,classGroups:n}=e;return te(n,t)},te=(e,t)=>{let n=o();for(let r in e){let i=e[r];p(i,n,r,t)}return n},p=(e,t,n,r)=>{let i=e.length;for(let a=0;a{if(typeof e==`string`){h(e,t,n);return}if(typeof e==`function`){g(e,t,n,r);return}_(e,t,n,r)},h=(e,t,n)=>{let r=e===``?t:v(t,e);r.classGroupId=n},g=(e,t,n,r)=>{if(y(e)){p(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(a(n,e))},_=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e{let n=e,r=t.split(s),i=r.length;for(let e=0;e`isThemeGetter`in e&&e.isThemeGetter===!0,b=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},x=`!`,S=`:`,C=[],w=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),ne=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;si?a-i:void 0;return w(t,l,c,u)};if(t){let e=t+S,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):w(C,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},T=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},re=e=>({cache:b(e.cacheSize),parseClassName:ne(e),sortModifiers:T(e),postfixLookupClassGroupIds:E(e),...u(e)}),E=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(D),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:ee,baseClassName:f,maybePostfixModifierPosition:te}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let p=!!te,m;if(p){m=r(f.substring(0,te));let e=m&&o[m]?r(f):void 0;e&&e!==m&&(m=e,p=!1)}else m=r(f);if(!m){if(!p){l=t+(l.length>0?` `+l:l);continue}if(m=r(f),!m){l=t+(l.length>0?` `+l:l);continue}p=!1}let h=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),g=ee?h+x:h,_=g+m;if(s.indexOf(_)>-1)continue;s.push(_);let v=i(m,p);for(let e=0;e0?` `+l:l)}return l},k=(...e)=>{let t=0,n,r,i=``;for(;t{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r{let n,r,i,a,o=o=>(n=re(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=O(e,n);return i(e,a),a};return a=o,(...e)=>a(k(...e))},j=[],M=e=>{let t=t=>t[e]||j;return t.isThemeGetter=!0,t},N=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,P=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ae=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,F=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,I=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,L=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,R=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,oe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>ae.test(e),B=e=>!!e&&!Number.isNaN(Number(e)),V=e=>!!e&&Number.isInteger(Number(e)),se=e=>e.endsWith(`%`)&&B(e.slice(0,-1)),H=e=>F.test(e),ce=()=>!0,U=e=>I.test(e)&&!L.test(e),W=()=>!1,G=e=>R.test(e),K=e=>oe.test(e),le=e=>!q(e)&&!Y(e),ue=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),de=e=>Z(e,Ee,W),q=e=>N.test(e),J=e=>Z(e,De,U),fe=e=>Z(e,Oe,B),pe=e=>Z(e,Ae,ce),me=e=>Z(e,ke,W),he=e=>Z(e,we,W),ge=e=>Z(e,Te,K),_e=e=>Z(e,je,G),Y=e=>P.test(e),X=e=>Q(e,De),ve=e=>Q(e,ke),ye=e=>Q(e,we),be=e=>Q(e,Ee),xe=e=>Q(e,Te),Se=e=>Q(e,je,!0),Ce=e=>Q(e,Ae,!0),Z=(e,t,n)=>{let r=N.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Q=(e,t,n=!1)=>{let r=P.exec(e);return r?r[1]?t(r[1]):n:!1},we=e=>e===`position`||e===`percentage`,Te=e=>e===`image`||e===`url`,Ee=e=>e===`length`||e===`size`||e===`bg-size`,De=e=>e===`length`,Oe=e=>e===`number`,ke=e=>e===`family-name`,Ae=e=>e===`number`||e===`weight`,je=e=>e===`shadow`,Me=ie(()=>{let e=M(`color`),t=M(`font`),n=M(`text`),r=M(`font-weight`),i=M(`tracking`),a=M(`leading`),o=M(`breakpoint`),s=M(`container`),c=M(`spacing`),l=M(`radius`),u=M(`shadow`),d=M(`inset-shadow`),ee=M(`text-shadow`),f=M(`drop-shadow`),te=M(`blur`),p=M(`perspective`),m=M(`aspect`),h=M(`ease`),g=M(`animate`),_=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],v=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],y=()=>[...v(),Y,q],b=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],x=()=>[`auto`,`contain`,`none`],S=()=>[Y,q,c],C=()=>[z,`full`,`auto`,...S()],w=()=>[V,`none`,`subgrid`,Y,q],ne=()=>[`auto`,{span:[`full`,V,Y,q]},V,Y,q],T=()=>[V,`auto`,Y,q],re=()=>[`auto`,`min`,`max`,`fr`,Y,q],E=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],D=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],O=()=>[`auto`,...S()],k=()=>[z,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...S()],A=()=>[z,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...S()],ie=()=>[z,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...S()],j=()=>[e,Y,q],N=()=>[...v(),ye,he,{position:[Y,q]}],P=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ae=()=>[`auto`,`cover`,`contain`,be,de,{size:[Y,q]}],F=()=>[se,X,J],I=()=>[``,`none`,`full`,l,Y,q],L=()=>[``,B,X,J],R=()=>[`solid`,`dashed`,`dotted`,`double`],oe=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],U=()=>[B,se,ye,he],W=()=>[``,`none`,te,Y,q],G=()=>[`none`,B,Y,q],K=()=>[`none`,B,Y,q],Z=()=>[B,Y,q],Q=()=>[z,`full`,...S()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[H],breakpoint:[H],color:[ce],container:[H],"drop-shadow":[H],ease:[`in`,`out`,`in-out`],font:[le],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[H],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[H],shadow:[H],spacing:[`px`,B],text:[H],"text-shadow":[H],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,z,q,Y,m]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Y,q]}],"container-named":[ue],columns:[{columns:[B,q,Y,s]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:y()}],overflow:[{overflow:b()}],"overflow-x":[{"overflow-x":b()}],"overflow-y":[{"overflow-y":b()}],overscroll:[{overscroll:x()}],"overscroll-x":[{"overscroll-x":x()}],"overscroll-y":[{"overscroll-y":x()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{"inset-s":C(),start:C()}],end:[{"inset-e":C(),end:C()}],"inset-bs":[{"inset-bs":C()}],"inset-be":[{"inset-be":C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[V,`auto`,Y,q]}],basis:[{basis:[z,`full`,`auto`,s,...S()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[B,z,`auto`,`initial`,`none`,q]}],grow:[{grow:[``,B,Y,q]}],shrink:[{shrink:[``,B,Y,q]}],order:[{order:[V,`first`,`last`,`none`,Y,q]}],"grid-cols":[{"grid-cols":w()}],"col-start-end":[{col:ne()}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":w()}],"row-start-end":[{row:ne()}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":re()}],"auto-rows":[{"auto-rows":re()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...E(),`normal`]}],"justify-items":[{"justify-items":[...D(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...D()]}],"align-content":[{content:[`normal`,...E()]}],"align-items":[{items:[...D(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...D(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":E()}],"place-items":[{"place-items":[...D(),`baseline`]}],"place-self":[{"place-self":[`auto`,...D()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mbs:[{mbs:O()}],mbe:[{mbe:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":S()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":S()}],"space-y-reverse":[`space-y-reverse`],size:[{size:k()}],"inline-size":[{inline:[`auto`,...A()]}],"min-inline-size":[{"min-inline":[`auto`,...A()]}],"max-inline-size":[{"max-inline":[`none`,...A()]}],"block-size":[{block:[`auto`,...ie()]}],"min-block-size":[{"min-block":[`auto`,...ie()]}],"max-block-size":[{"max-block":[`none`,...ie()]}],w:[{w:[s,`screen`,...k()]}],"min-w":[{"min-w":[s,`screen`,`none`,...k()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...k()]}],h:[{h:[`screen`,`lh`,...k()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...k()]}],"max-h":[{"max-h":[`screen`,`lh`,...k()]}],"font-size":[{text:[`base`,n,X,J]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Ce,pe]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,se,q]}],"font-family":[{font:[ve,me,t]}],"font-features":[{"font-features":[q]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,Y,q]}],"line-clamp":[{"line-clamp":[B,`none`,Y,fe]}],leading:[{leading:[a,...S()]}],"list-image":[{"list-image":[`none`,Y,q]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Y,q]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...R(),`wavy`]}],"text-decoration-thickness":[{decoration:[B,`from-font`,`auto`,Y,J]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[B,`auto`,Y,q]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:S()}],"tab-size":[{tab:[V,Y,q]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Y,q]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Y,q]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:P()}],"bg-size":[{bg:ae()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},V,Y,q],radial:[``,Y,q],conic:[V,Y,q]},xe,ge]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:F()}],"gradient-via-pos":[{via:F()}],"gradient-to-pos":[{to:F()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":L()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...R(),`hidden`,`none`]}],"divide-style":[{divide:[...R(),`hidden`,`none`]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-bs":[{"border-bs":j()}],"border-color-be":[{"border-be":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...R(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[B,Y,q]}],"outline-w":[{outline:[``,B,X,J]}],"outline-color":[{outline:j()}],shadow:[{shadow:[``,`none`,u,Se,_e]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":[`none`,d,Se,_e]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:L()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[B,J]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":[`none`,ee,Se,_e]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[B,Y,q]}],"mix-blend":[{"mix-blend":[...oe(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":oe()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[B]}],"mask-image-linear-from-pos":[{"mask-linear-from":U()}],"mask-image-linear-to-pos":[{"mask-linear-to":U()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":U()}],"mask-image-t-to-pos":[{"mask-t-to":U()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":U()}],"mask-image-r-to-pos":[{"mask-r-to":U()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":U()}],"mask-image-b-to-pos":[{"mask-b-to":U()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":U()}],"mask-image-l-to-pos":[{"mask-l-to":U()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":U()}],"mask-image-x-to-pos":[{"mask-x-to":U()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":U()}],"mask-image-y-to-pos":[{"mask-y-to":U()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[Y,q]}],"mask-image-radial-from-pos":[{"mask-radial-from":U()}],"mask-image-radial-to-pos":[{"mask-radial-to":U()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":v()}],"mask-image-conic-pos":[{"mask-conic":[B]}],"mask-image-conic-from-pos":[{"mask-conic-from":U()}],"mask-image-conic-to-pos":[{"mask-conic-to":U()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:P()}],"mask-size":[{mask:ae()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Y,q]}],filter:[{filter:[``,`none`,Y,q]}],blur:[{blur:W()}],brightness:[{brightness:[B,Y,q]}],contrast:[{contrast:[B,Y,q]}],"drop-shadow":[{"drop-shadow":[``,`none`,f,Se,_e]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:[``,B,Y,q]}],"hue-rotate":[{"hue-rotate":[B,Y,q]}],invert:[{invert:[``,B,Y,q]}],saturate:[{saturate:[B,Y,q]}],sepia:[{sepia:[``,B,Y,q]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Y,q]}],"backdrop-blur":[{"backdrop-blur":W()}],"backdrop-brightness":[{"backdrop-brightness":[B,Y,q]}],"backdrop-contrast":[{"backdrop-contrast":[B,Y,q]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,B,Y,q]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[B,Y,q]}],"backdrop-invert":[{"backdrop-invert":[``,B,Y,q]}],"backdrop-opacity":[{"backdrop-opacity":[B,Y,q]}],"backdrop-saturate":[{"backdrop-saturate":[B,Y,q]}],"backdrop-sepia":[{"backdrop-sepia":[``,B,Y,q]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Y,q]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[B,`initial`,Y,q]}],ease:[{ease:[`linear`,`initial`,h,Y,q]}],delay:[{delay:[B,Y,q]}],animate:[{animate:[`none`,g,Y,q]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[p,Y,q]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:G()}],"rotate-x":[{"rotate-x":G()}],"rotate-y":[{"rotate-y":G()}],"rotate-z":[{"rotate-z":G()}],scale:[{scale:K()}],"scale-x":[{"scale-x":K()}],"scale-y":[{"scale-y":K()}],"scale-z":[{"scale-z":K()}],"scale-3d":[`scale-3d`],skew:[{skew:Z()}],"skew-x":[{"skew-x":Z()}],"skew-y":[{"skew-y":Z()}],transform:[{transform:[Y,q,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:Q()}],"translate-x":[{"translate-x":Q()}],"translate-y":[{"translate-y":Q()}],"translate-z":[{"translate-z":Q()}],"translate-none":[`translate-none`],zoom:[{zoom:[V,Y,q]}],accent:[{accent:j()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:j()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,Y,q]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":j()}],"scrollbar-track-color":[{"scrollbar-track":j()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,Y,q]}],fill:[{fill:[`none`,...j()]}],"stroke-w":[{stroke:[B,X,J,fe]}],stroke:[{stroke:[`none`,...j()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function Ne(...e){return Me(r(e))}function Pe(e){return typeof e==`string`?e:e.url}var $=t(e(),1),Fe=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Ie=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Le={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`},Re=(0,$.forwardRef)(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>(0,$.createElement)(`svg`,{ref:c,...Le,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Ie(`lucide`,i),...s},[...o.map(([e,t])=>(0,$.createElement)(e,t)),...Array.isArray(a)?a:[a]])),ze=(e,t)=>{let n=(0,$.forwardRef)(({className:n,...r},i)=>(0,$.createElement)(Re,{ref:i,iconNode:t,className:Ie(`lucide-${Fe(e)}`,n),...r}));return n.displayName=`${e}`,n};export{r as i,Ne as n,Pe as r,ze as t}; \ No newline at end of file diff --git a/public/build/assets/dashboard-D7f7mapW.js b/public/build/assets/dashboard-D7f7mapW.js deleted file mode 100644 index c2801a9..0000000 --- a/public/build/assets/dashboard-D7f7mapW.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,o as t,r as n}from"./wayfinder-DGNmxDkm.js";import{a as r}from"./app-D7ZTkNic.js";import{t as i}from"./placeholder-pattern-Cshm3y5d.js";var a=e(),o=n();function s(){let e=(0,a.c)(5),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,o.jsx)(t,{title:`Dashboard`}),e[0]=n):n=e[0];let r;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,o.jsx)(`div`,{className:`relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border`,children:(0,o.jsx)(i,{className:`absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20`})}),e[1]=r):r=e[1];let s;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,o.jsx)(`div`,{className:`relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border`,children:(0,o.jsx)(i,{className:`absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20`})}),e[2]=s):s=e[2];let c;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,o.jsxs)(`div`,{className:`grid auto-rows-min gap-4 md:grid-cols-3`,children:[r,s,(0,o.jsx)(`div`,{className:`relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border`,children:(0,o.jsx)(i,{className:`absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20`})})]}),e[3]=c):c=e[3];let l;return e[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,o.jsxs)(o.Fragment,{children:[n,(0,o.jsxs)(`div`,{className:`flex h-full flex-1 flex-col gap-4 overflow-x-auto rounded-xl p-4`,children:[c,(0,o.jsx)(`div`,{className:`relative min-h-[100vh] flex-1 overflow-hidden rounded-xl border border-sidebar-border/70 md:min-h-min dark:border-sidebar-border`,children:(0,o.jsx)(i,{className:`absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20`})})]})]}),e[4]=l):l=e[4],l}s.layout={breadcrumbs:[{title:`Dashboard`,href:r()}]};export{s as default}; \ No newline at end of file diff --git a/public/build/assets/dialog-CgJmQ2_H.js b/public/build/assets/dialog-CgJmQ2_H.js deleted file mode 100644 index 851c66f..0000000 --- a/public/build/assets/dialog-CgJmQ2_H.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,m as t,r as n}from"./wayfinder-DGNmxDkm.js";import{a as r,c as i,i as a,n as o,o as s,p as c,r as l,s as u,t as d}from"./dist-pNDkDpUt.js";import{n as f}from"./createLucideIcon-C5RzLdeU.js";var p=e();t();var m=n();function h(e){let t=(0,p.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,m.jsx)(s,{"data-slot":`dialog`,...n}),t[2]=n,t[3]=r),r}function g(e){let t=(0,p.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,m.jsx)(i,{"data-slot":`dialog-trigger`,...n}),t[2]=n,t[3]=r),r}function _(e){let t=(0,p.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let i;return t[2]===n?i=t[3]:(i=(0,m.jsx)(r,{"data-slot":`dialog-portal`,...n}),t[2]=n,t[3]=i),i}function v(e){let t=(0,p.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,m.jsx)(d,{"data-slot":`dialog-close`,...n}),t[2]=n,t[3]=r),r}function y(e){let t=(0,p.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=f(`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80`,n),t[3]=n,t[4]=i);let o;return t[5]!==r||t[6]!==i?(o=(0,m.jsx)(a,{"data-slot":`dialog-overlay`,className:i,...r}),t[5]=r,t[6]=i,t[7]=o):o=t[7],o}function b(e){let t=(0,p.c)(12),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,m.jsx)(y,{}),t[4]=a):a=t[4];let s;t[5]===r?s=t[6]:(s=f(`bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg`,r),t[5]=r,t[6]=s);let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,m.jsxs)(d,{className:`ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,children:[(0,m.jsx)(c,{}),(0,m.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),t[7]=l):l=t[7];let u;return t[8]!==n||t[9]!==i||t[10]!==s?(u=(0,m.jsxs)(_,{"data-slot":`dialog-portal`,children:[a,(0,m.jsxs)(o,{"data-slot":`dialog-content`,className:s,...i,children:[n,l]})]}),t[8]=n,t[9]=i,t[10]=s,t[11]=u):u=t[11],u}function x(e){let t=(0,p.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=f(`flex flex-col gap-2 text-center sm:text-left`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,m.jsx)(`div`,{"data-slot":`dialog-header`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function S(e){let t=(0,p.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=f(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,m.jsx)(`div`,{"data-slot":`dialog-footer`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function C(e){let t=(0,p.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=f(`text-lg leading-none font-semibold`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,m.jsx)(u,{"data-slot":`dialog-title`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function w(e){let t=(0,p.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=f(`text-muted-foreground text-sm`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,m.jsx)(l,{"data-slot":`dialog-description`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}export{S as a,g as c,w as i,v as n,x as o,b as r,C as s,h as t}; \ No newline at end of file diff --git a/public/build/assets/dist-BUiwxAsu.js b/public/build/assets/dist-BUiwxAsu.js deleted file mode 100644 index c787c68..0000000 --- a/public/build/assets/dist-BUiwxAsu.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,p as t,r as n,x as r}from"./wayfinder-DGNmxDkm.js";import{i}from"./button-Dnfc0p4v.js";var a=r(e(),1);t();var o=n(),s=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=i(`Primitive.${t}`),r=a.forwardRef((e,r)=>{let{asChild:i,...a}=e,s=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,o.jsx)(s,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});export{s as t}; \ No newline at end of file diff --git a/public/build/assets/dist-CaXsKxmI.js b/public/build/assets/dist-CaXsKxmI.js deleted file mode 100644 index fa55fce..0000000 --- a/public/build/assets/dist-CaXsKxmI.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,x as t}from"./wayfinder-DGNmxDkm.js";var n=t(e(),1);function r(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}export{r as t}; \ No newline at end of file diff --git a/public/build/assets/dist-DkpcB3Hx.js b/public/build/assets/dist-DkpcB3Hx.js deleted file mode 100644 index 1a7965c..0000000 --- a/public/build/assets/dist-DkpcB3Hx.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,x as t}from"./wayfinder-DGNmxDkm.js";import{o as n}from"./button-Dnfc0p4v.js";typeof window<`u`&&window.document&&window.document.createElement;function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}var i=t(e(),1),a=globalThis?.document?i.useLayoutEffect:()=>{};function o(e,t){return i.useReducer((e,n)=>t[e][n]??e,e)}var s=e=>{let{present:t,children:r}=e,a=c(t),o=typeof r==`function`?r({present:a.isPresent}):i.Children.only(r),s=n(a.ref,u(o));return typeof r==`function`||a.isPresent?i.cloneElement(o,{ref:s}):null};s.displayName=`Presence`;function c(e){let[t,n]=i.useState(),r=i.useRef(null),s=i.useRef(e),c=i.useRef(`none`),[u,d]=o(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return i.useEffect(()=>{let e=l(r.current);c.current=u===`mounted`?e:`none`},[u]),a(()=>{let t=r.current,n=s.current;if(n!==e){let r=c.current,i=l(t);e?d(`MOUNT`):i===`none`||t?.display===`none`?d(`UNMOUNT`):d(n&&r!==i?`ANIMATION_OUT`:`UNMOUNT`),s.current=e}},[e,d]),a(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,i=i=>{let a=l(r.current).includes(CSS.escape(i.animationName));if(i.target===t&&a&&(d(`ANIMATION_END`),!s.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},a=e=>{e.target===t&&(c.current=l(r.current))};return t.addEventListener(`animationstart`,a),t.addEventListener(`animationcancel`,i),t.addEventListener(`animationend`,i),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,a),t.removeEventListener(`animationcancel`,i),t.removeEventListener(`animationend`,i)}}else d(`ANIMATION_END`)},[t,d]),{isPresent:[`mounted`,`unmountSuspended`].includes(u),ref:i.useCallback(e=>{r.current=e?getComputedStyle(e):null,n(e)},[])}}function l(e){return e?.animationName||`none`}function u(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var d=i.useInsertionEffect||a;function f({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[a,o,s]=p({defaultProp:t,onChange:n}),c=e!==void 0,l=c?e:a;{let t=i.useRef(e!==void 0);i.useEffect(()=>{let e=t.current;e!==c&&console.warn(`${r} is changing from ${e?`controlled`:`uncontrolled`} to ${c?`controlled`:`uncontrolled`}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=c},[c,r])}return[l,i.useCallback(t=>{if(c){let n=m(t)?t(e):t;n!==e&&s.current?.(n)}else o(t)},[c,e,o,s])]}function p({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),a=i.useRef(n),o=i.useRef(t);return d(()=>{o.current=t},[t]),i.useEffect(()=>{a.current!==n&&(o.current?.(n),a.current=n)},[n,a]),[n,r,o]}function m(e){return typeof e==`function`}export{r as i,s as n,a as r,f as t}; \ No newline at end of file diff --git a/public/build/assets/dist-G41QdS4G.js b/public/build/assets/dist-G41QdS4G.js deleted file mode 100644 index 62c00ab..0000000 --- a/public/build/assets/dist-G41QdS4G.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,r as t,x as n}from"./wayfinder-DGNmxDkm.js";import{a as r,o as i}from"./button-Dnfc0p4v.js";var a=n(e(),1),o=t();function s(e,t=[]){let n=[];function r(t,r){let i=a.createContext(r),s=n.length;n=[...n,r];let c=t=>{let{scope:n,children:r,...c}=t,l=n?.[e]?.[s]||i,u=a.useMemo(()=>c,Object.values(c));return(0,o.jsx)(l.Provider,{value:u,children:r})};c.displayName=t+`Provider`;function l(n,o){let c=o?.[e]?.[s]||i,l=a.useContext(c);if(l)return l;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[c,l]}let i=()=>{let t=n.map(e=>a.createContext(e));return function(n){let r=n?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,c(i,...t)]}function c(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function l(e){let t=u(e),n=a.forwardRef((e,n)=>{let{children:r,...i}=e,s=a.Children.toArray(r),c=s.find(f);if(c){let e=c.props.children,r=s.map(t=>t===c?a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null:t);return(0,o.jsx)(t,{...i,ref:n,children:a.isValidElement(e)?a.cloneElement(e,void 0,r):null})}return(0,o.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function u(e){let t=a.forwardRef((e,t)=>{let{children:n,...i}=e;if(a.isValidElement(n)){let e=m(n),o=p(i,n.props);return n.type!==a.Fragment&&(o.ref=t?r(t,e):e),a.cloneElement(n,o)}return a.Children.count(n)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var d=Symbol(`radix.slottable`);function f(e){return a.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===d}function p(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function m(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function h(e){let t=e+`CollectionProvider`,[n,r]=s(t),[c,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:n}=e,r=a.useRef(null),i=a.useRef(new Map).current;return(0,o.jsx)(c,{scope:t,itemMap:i,collectionRef:r,children:n})};d.displayName=t;let f=e+`CollectionSlot`,p=l(f),m=a.forwardRef((e,t)=>{let{scope:n,children:r}=e;return(0,o.jsx)(p,{ref:i(t,u(f,n).collectionRef),children:r})});m.displayName=f;let h=e+`CollectionItemSlot`,g=`data-radix-collection-item`,_=l(h),v=a.forwardRef((e,t)=>{let{scope:n,children:r,...s}=e,c=a.useRef(null),l=i(t,c),d=u(h,n);return a.useEffect(()=>(d.itemMap.set(c,{ref:c,...s}),()=>void d.itemMap.delete(c))),(0,o.jsx)(_,{[g]:``,ref:l,children:r})});v.displayName=h;function y(t){let n=u(e+`CollectionConsumer`,t);return a.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return[{Provider:d,Slot:m,ItemSlot:v},y,r]}var g=a.createContext(void 0);function _(e){let t=a.useContext(g);return e||t||`ltr`}export{h as n,_ as t}; \ No newline at end of file diff --git a/public/build/assets/dist-pNDkDpUt.js b/public/build/assets/dist-pNDkDpUt.js deleted file mode 100644 index 93dd346..0000000 --- a/public/build/assets/dist-pNDkDpUt.js +++ /dev/null @@ -1,45 +0,0 @@ -import{m as e,p as t,r as n,x as r}from"./wayfinder-DGNmxDkm.js";import{i,n as a,r as o,t as s}from"./dist-DkpcB3Hx.js";import{a as c,o as l}from"./button-Dnfc0p4v.js";import{t as u}from"./createLucideIcon-C5RzLdeU.js";var d=r(t(),1),f=r(e(),1),p=n();function m(e){let t=h(e),n=f.forwardRef((e,n)=>{let{children:r,...i}=e,a=f.Children.toArray(r),o=a.find(_);if(o){let e=o.props.children,r=a.map(t=>t===o?f.Children.count(e)>1?f.Children.only(null):f.isValidElement(e)?e.props.children:null:t);return(0,p.jsx)(t,{...i,ref:n,children:f.isValidElement(e)?f.cloneElement(e,void 0,r):null})}return(0,p.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function h(e){let t=f.forwardRef((e,t)=>{let{children:n,...r}=e;if(f.isValidElement(n)){let e=y(n),i=v(r,n.props);return n.type!==f.Fragment&&(i.ref=t?c(t,e):e),f.cloneElement(n,i)}return f.Children.count(n)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var g=Symbol(`radix.slottable`);function _(e){return f.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===g}function v(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function y(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var b=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=m(`Primitive.${t}`),r=f.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,p.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function ee(e,t){e&&d.flushSync(()=>e.dispatchEvent(t))}function x(e){let t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...e)=>t.current?.(...e),[])}function te(e,t=globalThis?.document){let n=x(e);f.useEffect(()=>{let e=e=>{e.key===`Escape`&&n(e)};return t.addEventListener(`keydown`,e,{capture:!0}),()=>t.removeEventListener(`keydown`,e,{capture:!0})},[n,t])}var S=`DismissableLayer`,C=`dismissableLayer.update`,ne=`dismissableLayer.pointerDownOutside`,w=`dismissableLayer.focusOutside`,re,ie=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),T=f.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:c,...u}=e,d=f.useContext(ie),[m,h]=f.useState(null),g=m?.ownerDocument??globalThis?.document,[,_]=f.useState({}),v=l(t,e=>h(e)),y=Array.from(d.layers),[ee]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=y.indexOf(ee),S=m?y.indexOf(m):-1,ne=d.layersWithOutsidePointerEventsDisabled.size>0,w=S>=x,T=oe(e=>{let t=e.target,n=[...d.branches].some(e=>e.contains(t));!w||n||(a?.(e),s?.(e),e.defaultPrevented||c?.())},g),E=se(e=>{let t=e.target;[...d.branches].some(e=>e.contains(t))||(o?.(e),s?.(e),e.defaultPrevented||c?.())},g);return te(e=>{S===d.layers.size-1&&(r?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},g),f.useEffect(()=>{if(m)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(re=g.body.style.pointerEvents,g.body.style.pointerEvents=`none`),d.layersWithOutsidePointerEventsDisabled.add(m)),d.layers.add(m),ce(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=re)}},[m,g,n,d]),f.useEffect(()=>()=>{m&&(d.layers.delete(m),d.layersWithOutsidePointerEventsDisabled.delete(m),ce())},[m,d]),f.useEffect(()=>{let e=()=>_({});return document.addEventListener(C,e),()=>document.removeEventListener(C,e)},[]),(0,p.jsx)(b.div,{...u,ref:v,style:{pointerEvents:ne?w?`auto`:`none`:void 0,...e.style},onFocusCapture:i(e.onFocusCapture,E.onFocusCapture),onBlurCapture:i(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:i(e.onPointerDownCapture,T.onPointerDownCapture)})});T.displayName=S;var E=`DismissableLayerBranch`,ae=f.forwardRef((e,t)=>{let n=f.useContext(ie),r=f.useRef(null),i=l(t,r);return f.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,p.jsx)(b.div,{...e,ref:i})});ae.displayName=E;function oe(e,t=globalThis?.document){let n=x(e),r=f.useRef(!1),i=f.useRef(()=>{});return f.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){le(ne,n,a,{discrete:!0})},a={originalEvent:e};e.pointerType===`touch`?(t.removeEventListener(`click`,i.current),i.current=r,t.addEventListener(`click`,i.current,{once:!0})):r()}else t.removeEventListener(`click`,i.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener(`pointerdown`,e)},0);return()=>{window.clearTimeout(a),t.removeEventListener(`pointerdown`,e),t.removeEventListener(`click`,i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function se(e,t=globalThis?.document){let n=x(e),r=f.useRef(!1);return f.useEffect(()=>{let e=e=>{e.target&&!r.current&&le(w,n,{originalEvent:e},{discrete:!1})};return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ce(){let e=new CustomEvent(C);document.dispatchEvent(e)}function le(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?ee(i,a):i.dispatchEvent(a)}var ue=f.useId||(()=>void 0),de=0;function D(e){let[t,n]=f.useState(ue());return o(()=>{e||n(e=>e??String(de++))},[e]),e||(t?`radix-${t}`:``)}function fe(e){let t=pe(e),n=f.forwardRef((e,n)=>{let{children:r,...i}=e,a=f.Children.toArray(r),o=a.find(he);if(o){let e=o.props.children,r=a.map(t=>t===o?f.Children.count(e)>1?f.Children.only(null):f.isValidElement(e)?e.props.children:null:t);return(0,p.jsx)(t,{...i,ref:n,children:f.isValidElement(e)?f.cloneElement(e,void 0,r):null})}return(0,p.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function pe(e){let t=f.forwardRef((e,t)=>{let{children:n,...r}=e;if(f.isValidElement(n)){let e=_e(n),i=ge(r,n.props);return n.type!==f.Fragment&&(i.ref=t?c(t,e):e),f.cloneElement(n,i)}return f.Children.count(n)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var me=Symbol(`radix.slottable`);function he(e){return f.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===me}function ge(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function _e(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ve=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=fe(`Primitive.${t}`),r=f.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,p.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),ye=`Portal`,be=f.forwardRef((e,t)=>{let{container:n,...r}=e,[i,a]=f.useState(!1);o(()=>a(!0),[]);let s=n||i&&globalThis?.document?.body;return s?d.createPortal((0,p.jsx)(ve.div,{...r,ref:t}),s):null});be.displayName=ye;var xe=u(`X`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]);function Se(e,t){let n=f.createContext(t),r=e=>{let{children:t,...r}=e,i=f.useMemo(()=>r,Object.values(r));return(0,p.jsx)(n.Provider,{value:i,children:t})};r.displayName=e+`Provider`;function i(r){let i=f.useContext(n);if(i)return i;if(t!==void 0)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}return[r,i]}function Ce(e,t=[]){let n=[];function r(t,r){let i=f.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=f.useMemo(()=>o,Object.values(o));return(0,p.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=f.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>f.createContext(e));return function(n){let r=n?.[e]||t;return f.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,we(i,...t)]}function we(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function Te(e){let t=Ee(e),n=f.forwardRef((e,n)=>{let{children:r,...i}=e,a=f.Children.toArray(r),o=a.find(Oe);if(o){let e=o.props.children,r=a.map(t=>t===o?f.Children.count(e)>1?f.Children.only(null):f.isValidElement(e)?e.props.children:null:t);return(0,p.jsx)(t,{...i,ref:n,children:f.isValidElement(e)?f.cloneElement(e,void 0,r):null})}return(0,p.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function Ee(e){let t=f.forwardRef((e,t)=>{let{children:n,...r}=e;if(f.isValidElement(n)){let e=Ae(n),i=ke(r,n.props);return n.type!==f.Fragment&&(i.ref=t?c(t,e):e),f.cloneElement(n,i)}return f.Children.count(n)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var De=Symbol(`radix.slottable`);function Oe(e){return f.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===De}function ke(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function Ae(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var je=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=Te(`Primitive.${t}`),r=f.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,p.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),O=`focusScope.autoFocusOnMount`,k=`focusScope.autoFocusOnUnmount`,Me={bubbles:!1,cancelable:!0},Ne=`FocusScope`,A=f.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,c]=f.useState(null),u=x(i),d=x(a),m=f.useRef(null),h=l(t,e=>c(e)),g=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let e=function(e){if(g.paused||!s)return;let t=e.target;s.contains(t)?m.current=t:j(m.current,{select:!0})},t=function(e){if(g.paused||!s)return;let t=e.relatedTarget;t!==null&&(s.contains(t)||j(m.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&j(s)};document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,s,g.paused]),f.useEffect(()=>{if(s){Be.add(g);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(O,Me);s.addEventListener(O,u),s.dispatchEvent(t),t.defaultPrevented||(Pe(Ue(Ie(s)),{select:!0}),document.activeElement===e&&j(s))}return()=>{s.removeEventListener(O,u),setTimeout(()=>{let t=new CustomEvent(k,Me);s.addEventListener(k,d),s.dispatchEvent(t),t.defaultPrevented||j(e??document.body,{select:!0}),s.removeEventListener(k,d),Be.remove(g)},0)}}},[s,u,d,g]);let _=f.useCallback(e=>{if(!n&&!r||g.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=Fe(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&j(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&j(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,g.paused]);return(0,p.jsx)(je.div,{tabIndex:-1,...o,ref:h,onKeyDown:_})});A.displayName=Ne;function Pe(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(j(r,{select:t}),document.activeElement!==n)return}function Fe(e){let t=Ie(e);return[Le(t,e),Le(t.reverse(),e)]}function Ie(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Le(e,t){for(let n of e)if(!Re(n,{upTo:t}))return n}function Re(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function ze(e){return e instanceof HTMLInputElement&&`select`in e}function j(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ze(e)&&t&&e.select()}}var Be=Ve();function Ve(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=He(e,t),e.unshift(t)},remove(t){e=He(e,t),e[0]?.resume()}}}function He(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Ue(e){return e.filter(e=>e.tagName!==`A`)}function We(e){let t=Ge(e),n=f.forwardRef((e,n)=>{let{children:r,...i}=e,a=f.Children.toArray(r),o=a.find(qe);if(o){let e=o.props.children,r=a.map(t=>t===o?f.Children.count(e)>1?f.Children.only(null):f.isValidElement(e)?e.props.children:null:t);return(0,p.jsx)(t,{...i,ref:n,children:f.isValidElement(e)?f.cloneElement(e,void 0,r):null})}return(0,p.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function Ge(e){let t=f.forwardRef((e,t)=>{let{children:n,...r}=e;if(f.isValidElement(n)){let e=Ye(n),i=Je(r,n.props);return n.type!==f.Fragment&&(i.ref=t?c(t,e):e),f.cloneElement(n,i)}return f.Children.count(n)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ke=Symbol(`radix.slottable`);function qe(e){return f.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Ke}function Je(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function Ye(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var M=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=We(`Primitive.${t}`),r=f.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,p.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),N=0;function Xe(){f.useEffect(()=>{let e=document.querySelectorAll(`[data-radix-focus-guard]`);return document.body.insertAdjacentElement(`afterbegin`,e[0]??Ze()),document.body.insertAdjacentElement(`beforeend`,e[1]??Ze()),N++,()=>{N===1&&document.querySelectorAll(`[data-radix-focus-guard]`).forEach(e=>e.remove()),N--}},[])}function Ze(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}var P=function(){return P=Object.assign||function(e){for(var t,n=1,r=arguments.length;n`u`)return bt;var t=St(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},wt=yt(),B=`data-scroll-locked`,Tt=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),` - .${et} { - overflow: hidden ${r}; - padding-right: ${s}px ${r}; - } - body[${B}] { - overflow: hidden ${r}; - overscroll-behavior: contain; - ${[t&&`position: relative ${r};`,n===`margin`&&` - padding-left: ${i}px; - padding-top: ${a}px; - padding-right: ${o}px; - margin-left:0; - margin-top:0; - margin-right: ${s}px ${r}; - `,n===`padding`&&`padding-right: ${s}px ${r};`].filter(Boolean).join(``)} - } - - .${F} { - right: ${s}px ${r}; - } - - .${I} { - margin-right: ${s}px ${r}; - } - - .${F} .${F} { - right: 0 ${r}; - } - - .${I} .${I} { - margin-right: 0 ${r}; - } - - body[${B}] { - ${tt}: ${s}px; - } -`},Et=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},Dt=function(){f.useEffect(function(){return document.body.setAttribute(B,(Et()+1).toString()),function(){var e=Et()-1;e<=0?document.body.removeAttribute(B):document.body.setAttribute(B,e.toString())}},[])},Ot=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;Dt();var a=f.useMemo(function(){return Ct(i)},[i]);return f.createElement(wt,{styles:Tt(a,!t,i,n?``:`!important`)})},kt=!1;if(typeof window<`u`)try{var V=Object.defineProperty({},`passive`,{get:function(){return kt=!0,!0}});window.addEventListener(`test`,V,V),window.removeEventListener(`test`,V,V)}catch{kt=!1}var H=kt?{passive:!1}:!1,At=function(e){return e.tagName===`TEXTAREA`},jt=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!At(e)&&n[t]===`visible`)},Mt=function(e){return jt(e,`overflowY`)},Nt=function(e){return jt(e,`overflowX`)},Pt=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),Lt(e,r)){var i=Rt(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Ft=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},It=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},Lt=function(e,t){return e===`v`?Mt(t):Nt(t)},Rt=function(e,t){return e===`v`?Ft(t):It(t)},zt=function(e,t){return e===`h`&&t===`rtl`?-1:1},Bt=function(e,t,n,r,i){var a=zt(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=Rt(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&Lt(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},U=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Vt=function(e){return[e.deltaX,e.deltaY]},Ht=function(e){return e&&`current`in e?e.current:e},Ut=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Wt=function(e){return` - .block-interactivity-${e} {pointer-events: none;} - .allow-interactivity-${e} {pointer-events: all;} -`},Gt=0,W=[];function Kt(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),i=f.useState(Gt++)[0],a=f.useState(yt)[0],o=f.useRef(e);f.useEffect(function(){o.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=$e([e.lockRef.current],(e.shards||[]).map(Ht),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${i}`)}),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${i}`)})}}},[e.inert,e.lockRef.current,e.shards]);var s=f.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!o.current.allowPinchZoom;var i=U(e),a=n.current,s=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(s)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=Pt(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=Pt(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(s||c)&&(r.current=l),!l)return!0;var h=r.current||l;return Bt(h,t,e,h===`h`?s:c,!0)},[]),c=f.useCallback(function(e){var n=e;if(!(!W.length||W[W.length-1]!==a)){var r=`deltaY`in n?Vt(n):U(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&Ut(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}if(!i){var c=(o.current.shards||[]).map(Ht).filter(Boolean).filter(function(e){return e.contains(n.target)});(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),l=f.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:qt(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=f.useCallback(function(e){n.current=U(e),r.current=void 0},[]),d=f.useCallback(function(t){l(t.type,Vt(t),t.target,s(t,e.lockRef.current))},[]),p=f.useCallback(function(t){l(t.type,U(t),t.target,s(t,e.lockRef.current))},[]);f.useEffect(function(){return W.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener(`wheel`,c,H),document.addEventListener(`touchmove`,c,H),document.addEventListener(`touchstart`,u,H),function(){W=W.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,c,H),document.removeEventListener(`touchmove`,c,H),document.removeEventListener(`touchstart`,u,H)}},[]);var m=e.removeScrollBar,h=e.inert;return f.createElement(f.Fragment,null,h?f.createElement(a,{styles:Wt(i)}):null,m?f.createElement(Ot,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function qt(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var Jt=ut(dt,Kt),G=f.forwardRef(function(e,t){return f.createElement(z,P({},e,{ref:t,sideCar:Jt}))});G.classNames=z.classNames;var Yt=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},K=new WeakMap,q=new WeakMap,J={},Y=0,Xt=function(e){return e&&(e.host||Xt(e.parentNode))},Zt=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Xt(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},Qt=function(e,t,n,r){var i=Zt(t,Array.isArray(e)?e:[e]);J[n]||(J[n]=new WeakMap);var a=J[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(K.get(e)||0)+1,l=(a.get(e)||0)+1;K.set(e,c),a.set(e,l),o.push(e),c===1&&i&&q.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),Y++,function(){o.forEach(function(e){var t=K.get(e)-1,i=a.get(e)-1;K.set(e,t),a.set(e,i),t||(q.has(e)||e.removeAttribute(r),q.delete(e)),i||e.removeAttribute(n)}),Y--,Y||(K=new WeakMap,K=new WeakMap,q=new WeakMap,J={})}},$t=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||Yt(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),Qt(r,i,n,`aria-hidden`)):function(){return null}},X=`Dialog`,[en,tn]=Ce(X),[nn,Z]=en(X),rn=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,c=f.useRef(null),l=f.useRef(null),[u,d]=s({prop:r,defaultProp:i??!1,onChange:a,caller:X});return(0,p.jsx)(nn,{scope:t,triggerRef:c,contentRef:l,contentId:D(),titleId:D(),descriptionId:D(),open:u,onOpenChange:d,onOpenToggle:f.useCallback(()=>d(e=>!e),[d]),modal:o,children:n})};rn.displayName=X;var an=`DialogTrigger`,on=f.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=Z(an,n),o=l(t,a.triggerRef);return(0,p.jsx)(M.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":a.open,"aria-controls":a.contentId,"data-state":wn(a.open),...r,ref:o,onClick:i(e.onClick,a.onOpenToggle)})});on.displayName=an;var sn=`DialogPortal`,[cn,ln]=en(sn,{forceMount:void 0}),un=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=Z(sn,t);return(0,p.jsx)(cn,{scope:t,forceMount:n,children:f.Children.map(r,e=>(0,p.jsx)(a,{present:n||o.open,children:(0,p.jsx)(be,{asChild:!0,container:i,children:e})}))})};un.displayName=sn;var Q=`DialogOverlay`,dn=f.forwardRef((e,t)=>{let n=ln(Q,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Z(Q,e.__scopeDialog);return o.modal?(0,p.jsx)(a,{present:r||o.open,children:(0,p.jsx)(pn,{...i,ref:t})}):null});dn.displayName=Q;var fn=We(`DialogOverlay.RemoveScroll`),pn=f.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Z(Q,n);return(0,p.jsx)(G,{as:fn,allowPinchZoom:!0,shards:[i.contentRef],children:(0,p.jsx)(M.div,{"data-state":wn(i.open),...r,ref:t,style:{pointerEvents:`auto`,...r.style}})})}),$=`DialogContent`,mn=f.forwardRef((e,t)=>{let n=ln($,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Z($,e.__scopeDialog);return(0,p.jsx)(a,{present:r||o.open,children:o.modal?(0,p.jsx)(hn,{...i,ref:t}):(0,p.jsx)(gn,{...i,ref:t})})});mn.displayName=$;var hn=f.forwardRef((e,t)=>{let n=Z($,e.__scopeDialog),r=f.useRef(null),a=l(t,n.contentRef,r);return f.useEffect(()=>{let e=r.current;if(e)return $t(e)},[]),(0,p.jsx)(_n,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:i(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:i(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:i(e.onFocusOutside,e=>e.preventDefault())})}),gn=f.forwardRef((e,t)=>{let n=Z($,e.__scopeDialog),r=f.useRef(!1),i=f.useRef(!1);return(0,p.jsx)(_n,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),_n=f.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=Z($,n),c=f.useRef(null),u=l(t,c);return Xe(),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(A,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,p.jsx)(T,{role:`dialog`,id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":wn(s.open),...o,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(On,{titleId:s.titleId}),(0,p.jsx)(An,{contentRef:c,descriptionId:s.descriptionId})]})]})}),vn=`DialogTitle`,yn=f.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Z(vn,n);return(0,p.jsx)(M.h2,{id:i.titleId,...r,ref:t})});yn.displayName=vn;var bn=`DialogDescription`,xn=f.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=Z(bn,n);return(0,p.jsx)(M.p,{id:i.descriptionId,...r,ref:t})});xn.displayName=bn;var Sn=`DialogClose`,Cn=f.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=Z(Sn,n);return(0,p.jsx)(M.button,{type:`button`,...r,ref:t,onClick:i(e.onClick,()=>a.onOpenChange(!1))})});Cn.displayName=Sn;function wn(e){return e?`open`:`closed`}var Tn=`DialogTitleWarning`,[En,Dn]=Se(Tn,{contentName:$,titleName:vn,docsSlug:`dialog`}),On=({titleId:e})=>{let t=Dn(Tn),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. - -If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. - -For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return f.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},kn=`DialogDescriptionWarning`,An=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Dn(kn).contentName}}.`;return f.useEffect(()=>{let r=e.current?.getAttribute(`aria-describedby`);t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},jn=rn,Mn=on,Nn=un,Pn=dn,Fn=mn,In=yn,Ln=xn,Rn=Cn;export{x as _,Nn as a,Mn as c,Xe as d,A as f,T as g,D as h,Pn as i,$t as l,be as m,Fn as n,jn as o,xe as p,Ln as r,In as s,Rn as t,G as u}; \ No newline at end of file diff --git a/public/build/assets/dm-serif-display-latin-400-normal-C5_t9oOD.woff2 b/public/build/assets/dm-serif-display-latin-400-normal-C5_t9oOD.woff2 deleted file mode 100644 index 75c0a69..0000000 Binary files a/public/build/assets/dm-serif-display-latin-400-normal-C5_t9oOD.woff2 and /dev/null differ diff --git a/public/build/assets/dm-serif-display-latin-400-normal-_kVFYEpx.woff b/public/build/assets/dm-serif-display-latin-400-normal-_kVFYEpx.woff deleted file mode 100644 index ce93e74..0000000 Binary files a/public/build/assets/dm-serif-display-latin-400-normal-_kVFYEpx.woff and /dev/null differ diff --git a/public/build/assets/dm-serif-display-latin-ext-400-normal-B1toqZab.woff b/public/build/assets/dm-serif-display-latin-ext-400-normal-B1toqZab.woff deleted file mode 100644 index f5338d9..0000000 Binary files a/public/build/assets/dm-serif-display-latin-ext-400-normal-B1toqZab.woff and /dev/null differ diff --git a/public/build/assets/dm-serif-display-latin-ext-400-normal-p18AlW_x.woff2 b/public/build/assets/dm-serif-display-latin-ext-400-normal-p18AlW_x.woff2 deleted file mode 100644 index 2a8ab4c..0000000 Binary files a/public/build/assets/dm-serif-display-latin-ext-400-normal-p18AlW_x.woff2 and /dev/null differ diff --git a/public/build/assets/fira-code-cyrillic-ext-wght-normal-DhYMMuQd.woff2 b/public/build/assets/fira-code-cyrillic-ext-wght-normal-DhYMMuQd.woff2 deleted file mode 100644 index 23c93fe..0000000 Binary files a/public/build/assets/fira-code-cyrillic-ext-wght-normal-DhYMMuQd.woff2 and /dev/null differ diff --git a/public/build/assets/fira-code-cyrillic-wght-normal-Y3u8pIsh.woff2 b/public/build/assets/fira-code-cyrillic-wght-normal-Y3u8pIsh.woff2 deleted file mode 100644 index de53c24..0000000 Binary files a/public/build/assets/fira-code-cyrillic-wght-normal-Y3u8pIsh.woff2 and /dev/null differ diff --git a/public/build/assets/fira-code-greek-ext-wght-normal-wWus70Ix.woff2 b/public/build/assets/fira-code-greek-ext-wght-normal-wWus70Ix.woff2 deleted file mode 100644 index 522f3e1..0000000 Binary files a/public/build/assets/fira-code-greek-ext-wght-normal-wWus70Ix.woff2 and /dev/null differ diff --git a/public/build/assets/fira-code-greek-wght-normal-B2SviObF.woff2 b/public/build/assets/fira-code-greek-wght-normal-B2SviObF.woff2 deleted file mode 100644 index 6c75fd9..0000000 Binary files a/public/build/assets/fira-code-greek-wght-normal-B2SviObF.woff2 and /dev/null differ diff --git a/public/build/assets/fira-code-latin-ext-wght-normal-Dvfvaomy.woff2 b/public/build/assets/fira-code-latin-ext-wght-normal-Dvfvaomy.woff2 deleted file mode 100644 index eac15ae..0000000 Binary files a/public/build/assets/fira-code-latin-ext-wght-normal-Dvfvaomy.woff2 and /dev/null differ diff --git a/public/build/assets/fira-code-latin-wght-normal-CHoedHDv.woff2 b/public/build/assets/fira-code-latin-wght-normal-CHoedHDv.woff2 deleted file mode 100644 index ed70084..0000000 Binary files a/public/build/assets/fira-code-latin-wght-normal-CHoedHDv.woff2 and /dev/null differ diff --git a/public/build/assets/fira-code-symbols2-wght-normal-CE6EOz_n.woff2 b/public/build/assets/fira-code-symbols2-wght-normal-CE6EOz_n.woff2 deleted file mode 100644 index 048e4cc..0000000 Binary files a/public/build/assets/fira-code-symbols2-wght-normal-CE6EOz_n.woff2 and /dev/null differ diff --git a/public/build/assets/fira-mono-cyrillic-400-normal-BJkDdjbt.woff2 b/public/build/assets/fira-mono-cyrillic-400-normal-BJkDdjbt.woff2 deleted file mode 100644 index 7e658b2..0000000 Binary files a/public/build/assets/fira-mono-cyrillic-400-normal-BJkDdjbt.woff2 and /dev/null differ diff --git a/public/build/assets/fira-mono-cyrillic-400-normal-DUd3efVn.woff b/public/build/assets/fira-mono-cyrillic-400-normal-DUd3efVn.woff deleted file mode 100644 index 30c1b07..0000000 Binary files a/public/build/assets/fira-mono-cyrillic-400-normal-DUd3efVn.woff and /dev/null differ diff --git a/public/build/assets/fira-mono-cyrillic-ext-400-normal-Co4MVjrD.woff b/public/build/assets/fira-mono-cyrillic-ext-400-normal-Co4MVjrD.woff deleted file mode 100644 index da6b0a9..0000000 Binary files a/public/build/assets/fira-mono-cyrillic-ext-400-normal-Co4MVjrD.woff and /dev/null differ diff --git a/public/build/assets/fira-mono-cyrillic-ext-400-normal-FAIU8e3o.woff2 b/public/build/assets/fira-mono-cyrillic-ext-400-normal-FAIU8e3o.woff2 deleted file mode 100644 index efeadfc..0000000 Binary files a/public/build/assets/fira-mono-cyrillic-ext-400-normal-FAIU8e3o.woff2 and /dev/null differ diff --git a/public/build/assets/fira-mono-greek-400-normal-B_0AmgK7.woff b/public/build/assets/fira-mono-greek-400-normal-B_0AmgK7.woff deleted file mode 100644 index 32b6c78..0000000 Binary files a/public/build/assets/fira-mono-greek-400-normal-B_0AmgK7.woff and /dev/null differ diff --git a/public/build/assets/fira-mono-greek-400-normal-ftNhKy_S.woff2 b/public/build/assets/fira-mono-greek-400-normal-ftNhKy_S.woff2 deleted file mode 100644 index 96efdee..0000000 Binary files a/public/build/assets/fira-mono-greek-400-normal-ftNhKy_S.woff2 and /dev/null differ diff --git a/public/build/assets/fira-mono-greek-ext-400-normal-BQ5yw6bY.woff b/public/build/assets/fira-mono-greek-ext-400-normal-BQ5yw6bY.woff deleted file mode 100644 index 1f5e8e4..0000000 Binary files a/public/build/assets/fira-mono-greek-ext-400-normal-BQ5yw6bY.woff and /dev/null differ diff --git a/public/build/assets/fira-mono-greek-ext-400-normal-Be4g_LSk.woff2 b/public/build/assets/fira-mono-greek-ext-400-normal-Be4g_LSk.woff2 deleted file mode 100644 index b7acee8..0000000 Binary files a/public/build/assets/fira-mono-greek-ext-400-normal-Be4g_LSk.woff2 and /dev/null differ diff --git a/public/build/assets/fira-mono-latin-400-normal-C3FQ26ho.woff b/public/build/assets/fira-mono-latin-400-normal-C3FQ26ho.woff deleted file mode 100644 index 5a17a26..0000000 Binary files a/public/build/assets/fira-mono-latin-400-normal-C3FQ26ho.woff and /dev/null differ diff --git a/public/build/assets/fira-mono-latin-400-normal-DVTTRLHv.woff2 b/public/build/assets/fira-mono-latin-400-normal-DVTTRLHv.woff2 deleted file mode 100644 index 65bc499..0000000 Binary files a/public/build/assets/fira-mono-latin-400-normal-DVTTRLHv.woff2 and /dev/null differ diff --git a/public/build/assets/fira-mono-latin-ext-400-normal-B2gPvaNr.woff2 b/public/build/assets/fira-mono-latin-ext-400-normal-B2gPvaNr.woff2 deleted file mode 100644 index c04dacd..0000000 Binary files a/public/build/assets/fira-mono-latin-ext-400-normal-B2gPvaNr.woff2 and /dev/null differ diff --git a/public/build/assets/fira-mono-latin-ext-400-normal-CbD3vWRE.woff b/public/build/assets/fira-mono-latin-ext-400-normal-CbD3vWRE.woff deleted file mode 100644 index 0b1fe67..0000000 Binary files a/public/build/assets/fira-mono-latin-ext-400-normal-CbD3vWRE.woff and /dev/null differ diff --git a/public/build/assets/fira-mono-symbols2-400-normal-C6JptOil.woff2 b/public/build/assets/fira-mono-symbols2-400-normal-C6JptOil.woff2 deleted file mode 100644 index ba4ddad..0000000 Binary files a/public/build/assets/fira-mono-symbols2-400-normal-C6JptOil.woff2 and /dev/null differ diff --git a/public/build/assets/fira-mono-symbols2-400-normal-CpeG9ob9.woff b/public/build/assets/fira-mono-symbols2-400-normal-CpeG9ob9.woff deleted file mode 100644 index 8233051..0000000 Binary files a/public/build/assets/fira-mono-symbols2-400-normal-CpeG9ob9.woff and /dev/null differ diff --git a/public/build/assets/floating-ui.react-dom-DuoUqJja.js b/public/build/assets/floating-ui.react-dom-DuoUqJja.js deleted file mode 100644 index d9c6212..0000000 --- a/public/build/assets/floating-ui.react-dom-DuoUqJja.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,p as t,x as n}from"./wayfinder-DGNmxDkm.js";var r=[`top`,`right`,`bottom`,`left`],i=Math.min,a=Math.max,o=Math.round,s=Math.floor,c=e=>({x:e,y:e}),l={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function u(e,t,n){return a(e,i(t,n))}function d(e,t){return typeof e==`function`?e(t):e}function f(e){return e.split(`-`)[0]}function p(e){return e.split(`-`)[1]}function m(e){return e===`x`?`y`:`x`}function h(e){return e===`y`?`height`:`width`}function g(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function _(e){return m(g(e))}function v(e,t,n){n===void 0&&(n=!1);let r=p(e),i=_(e),a=h(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=D(o)),[o,D(o)]}function y(e){let t=D(e);return[b(e),t,b(t)]}function b(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var x=[`left`,`right`],S=[`right`,`left`],C=[`top`,`bottom`],w=[`bottom`,`top`];function T(e,t,n){switch(e){case`top`:case`bottom`:return n?t?S:x:t?x:S;case`left`:case`right`:return t?C:w;default:return[]}}function E(e,t,n,r){let i=p(e),a=T(f(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(b)))),a}function D(e){let t=f(e);return l[t]+e.slice(t.length)}function O(e){return{top:0,right:0,bottom:0,left:0,...e}}function k(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:O(e)}function A(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function j(e,t,n){let{reference:r,floating:i}=e,a=g(t),o=_(t),s=h(o),c=f(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,m=r[s]/2-i[s]/2,v;switch(c){case`top`:v={x:u,y:r.y-i.height};break;case`bottom`:v={x:u,y:r.y+r.height};break;case`right`:v={x:r.x+r.width,y:d};break;case`left`:v={x:r.x-i.width,y:d};break;default:v={x:r.x,y:r.y}}switch(p(t)){case`start`:v[o]-=m*(n&&l?-1:1);break;case`end`:v[o]+=m*(n&&l?-1:1);break}return v}async function M(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:f=!1,padding:p=0}=d(t,e),m=k(p),h=o[f?u===`floating`?`reference`:`floating`:u],g=A(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(h))??!0?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),_=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),y=await(i.isElement==null?void 0:i.isElement(v))&&await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1},b=A(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:_,offsetParent:v,strategy:s}):_);return{top:(g.top-b.top+m.top)/y.y,bottom:(b.bottom-g.bottom+m.bottom)/y.y,left:(g.left-b.left+m.left)/y.x,right:(b.right-g.right+m.right)/y.x}}var N=50,ee=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:M},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=j(l,r,c),f=r,p=0,m={};for(let n=0;n({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:a,rects:o,platform:s,elements:c,middlewareData:l}=t,{element:f,padding:m=0}=d(e,t)||{};if(f==null)return{};let g=k(m),v={x:n,y:r},y=_(a),b=h(y),x=await s.getDimensions(f),S=y===`y`,C=S?`top`:`left`,w=S?`bottom`:`right`,T=S?`clientHeight`:`clientWidth`,E=o.reference[b]+o.reference[y]-v[y]-o.floating[b],D=v[y]-o.reference[y],O=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f)),A=O?O[T]:0;(!A||!await(s.isElement==null?void 0:s.isElement(O)))&&(A=c.floating[T]||o.floating[b]);let j=E/2-D/2,M=A/2-x[b]/2-1,N=i(g[C],M),ee=i(g[w],M),P=N,te=A-x[b]-ee,F=A/2-x[b]/2+j,I=u(P,F,te),ne=!l.arrow&&p(a)!=null&&F!==I&&o.reference[b]/2-(Fe<=0)){let e=(i.flip?.index||0)+1,t=k[e];if(t&&(!(u===`alignment`&&S!==g(t))||M.every(e=>g(e.placement)===S?e.overflows[0]>0:!0)))return{data:{index:e,overflows:M},reset:{placement:t}};let n=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(m){case`bestFit`:{let e=M.filter(e=>{if(O){let t=g(e.placement);return t===S||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function F(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function I(e){return r.some(t=>e[t]>=0)}var ne=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=d(e,t);switch(i){case`referenceHidden`:{let e=F(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:I(e)}}}case`escaped`:{let e=F(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:I(e)}}}default:return{}}}}},L=new Set([`left`,`top`]);async function re(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=f(n),s=p(n),c=g(n)===`y`,l=L.has(o)?-1:1,u=a&&c?-1:1,m=d(t,e),{mainAxis:h,crossAxis:_,alignmentAxis:v}=typeof m==`number`?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return s&&typeof v==`number`&&(_=s===`end`?v*-1:v),c?{x:_*u,y:h*l}:{x:h*l,y:_*u}}var ie=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await re(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},ae=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=d(e,t),p={x:n,y:r},h=await a.detectOverflow(t,l),_=g(f(i)),v=m(_),y=p[v],b=p[_];if(o){let e=v===`y`?`top`:`left`,t=v===`y`?`bottom`:`right`,n=y+h[e],r=y-h[t];y=u(n,y,r)}if(s){let e=_===`y`?`top`:`left`,t=_===`y`?`bottom`:`right`,n=b+h[e],r=b-h[t];b=u(n,b,r)}let x=c.fn({...t,[v]:y,[_]:b});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[v]:o,[_]:s}}}}}},oe=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=d(e,t),u={x:n,y:r},p=g(i),h=m(p),_=u[h],v=u[p],y=d(s,t),b=typeof y==`number`?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(c){let e=h===`y`?`height`:`width`,t=a.reference[h]-a.floating[e]+b.mainAxis,n=a.reference[h]+a.reference[e]-b.mainAxis;_n&&(_=n)}if(l){let e=h===`y`?`width`:`height`,t=L.has(f(i)),n=a.reference[p]-a.floating[e]+(t&&o.offset?.[p]||0)+(t?0:b.crossAxis),r=a.reference[p]+a.reference[e]+(t?0:o.offset?.[p]||0)-(t?b.crossAxis:0);vr&&(v=r)}return{[h]:_,[p]:v}}}},se=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:o,rects:s,platform:c,elements:l}=t,{apply:u=()=>{},...m}=d(e,t),h=await c.detectOverflow(t,m),_=f(o),v=p(o),y=g(o)===`y`,{width:b,height:x}=s.floating,S,C;_===`top`||_===`bottom`?(S=_,C=v===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?`start`:`end`)?`left`:`right`):(C=_,S=v===`end`?`top`:`bottom`);let w=x-h.top-h.bottom,T=b-h.left-h.right,E=i(x-h[S],w),D=i(b-h[C],T),O=!t.middlewareData.shift,k=E,A=D;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=T),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(k=w),O&&!v){let e=a(h.left,0),t=a(h.right,0),n=a(h.top,0),r=a(h.bottom,0);y?A=b-2*(e!==0||t!==0?e+t:a(h.left,h.right)):k=x-2*(n!==0||r!==0?n+r:a(h.top,h.bottom))}await u({...t,availableWidth:A,availableHeight:k});let j=await c.getDimensions(l.floating);return b!==j.width||x!==j.height?{reset:{rects:!0}}:{}}}};function R(){return typeof window<`u`}function z(e){return ce(e)?(e.nodeName||``).toLowerCase():`#document`}function B(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function V(e){return((ce(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function ce(e){return R()?e instanceof Node||e instanceof B(e).Node:!1}function H(e){return R()?e instanceof Element||e instanceof B(e).Element:!1}function U(e){return R()?e instanceof HTMLElement||e instanceof B(e).HTMLElement:!1}function le(e){return!R()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof B(e).ShadowRoot}function W(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=J(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function ue(e){return/^(table|td|th)$/.test(z(e))}function G(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var de=/transform|translate|scale|rotate|perspective|filter/,fe=/paint|layout|strict|content/,K=e=>!!e&&e!==`none`,pe;function me(e){let t=H(e)?J(e):e;return K(t.transform)||K(t.translate)||K(t.scale)||K(t.rotate)||K(t.perspective)||!ge()&&(K(t.backdropFilter)||K(t.filter))||de.test(t.willChange||``)||fe.test(t.contain||``)}function he(e){let t=Y(e);for(;U(t)&&!q(t);){if(me(t))return t;if(G(t))return null;t=Y(t)}return null}function ge(){return pe??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),pe}function q(e){return/^(html|body|#document)$/.test(z(e))}function J(e){return B(e).getComputedStyle(e)}function _e(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Y(e){if(z(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||le(e)&&e.host||V(e);return le(t)?t.host:t}function ve(e){let t=Y(e);return q(t)?e.ownerDocument?e.ownerDocument.body:e.body:U(t)&&W(t)?t:ve(t)}function X(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=ve(e),i=r===e.ownerDocument?.body,a=B(r);if(i){let e=ye(a);return t.concat(a,a.visualViewport||[],W(r)?r:[],e&&n?X(e):[])}else return t.concat(r,X(r,[],n))}function ye(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function be(e){let t=J(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=U(e),a=i?e.offsetWidth:n,s=i?e.offsetHeight:r,c=o(n)!==a||o(r)!==s;return c&&(n=a,r=s),{width:n,height:r,$:c}}function xe(e){return H(e)?e:e.contextElement}function Z(e){let t=xe(e);if(!U(t))return c(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=be(t),s=(a?o(n.width):n.width)/r,l=(a?o(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Se=c(0);function Ce(e){let t=B(e);return!ge()||!t.visualViewport?Se:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function we(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==B(e)?!1:t}function Q(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=xe(e),o=c(1);t&&(r?H(r)&&(o=Z(r)):o=Z(e));let s=we(a,n,r)?Ce(a):c(0),l=(i.left+s.x)/o.x,u=(i.top+s.y)/o.y,d=i.width/o.x,f=i.height/o.y;if(a){let e=B(a),t=r&&H(r)?B(r):r,n=e,i=ye(n);for(;i&&r&&t!==n;){let e=Z(i),t=i.getBoundingClientRect(),r=J(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,u*=e.y,d*=e.x,f*=e.y,l+=a,u+=o,n=B(i),i=ye(n)}}return A({width:d,height:f,x:l,y:u})}function Te(e,t){let n=_e(e).scrollLeft;return t?t.left+n:Q(V(e)).left+n}function Ee(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Te(e,n),y:n.top+t.scrollTop}}function De(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=V(r),s=t?G(t.floating):!1;if(r===o||s&&a)return n;let l={scrollLeft:0,scrollTop:0},u=c(1),d=c(0),f=U(r);if((f||!f&&!a)&&((z(r)!==`body`||W(o))&&(l=_e(r)),f)){let e=Q(r);u=Z(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let p=o&&!f&&!a?Ee(o,l):c(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-l.scrollTop*u.y+d.y+p.y}}function Oe(e){return Array.from(e.getClientRects())}function ke(e){let t=V(e),n=_e(e),r=e.ownerDocument.body,i=a(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=a(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-n.scrollLeft+Te(e),c=-n.scrollTop;return J(r).direction===`rtl`&&(s+=a(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:c}}var Ae=25;function je(e,t){let n=B(e),r=V(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=ge();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=Te(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=Ae&&(a-=o)}else l<=Ae&&(a+=l);return{width:a,height:o,x:s,y:c}}function Me(e,t){let n=Q(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=U(e)?Z(e):c(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Ne(e,t,n){let r;if(t===`viewport`)r=je(e,n);else if(t===`document`)r=ke(V(e));else if(H(t))r=Me(t,n);else{let n=Ce(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return A(r)}function Pe(e,t){let n=Y(e);return n===t||!H(n)||q(n)?!1:J(n).position===`fixed`||Pe(n,t)}function Fe(e,t){let n=t.get(e);if(n)return n;let r=X(e,[],!1).filter(e=>H(e)&&z(e)!==`body`),i=null,a=J(e).position===`fixed`,o=a?Y(e):e;for(;H(o)&&!q(o);){let t=J(o),n=me(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||W(o)&&!n&&Pe(e,o))?r=r.filter(e=>e!==o):i=t,o=Y(o)}return t.set(e,r),r}function Ie(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,s=[...n===`clippingAncestors`?G(t)?[]:Fe(t,this._c):[].concat(n),r],c=Ne(t,s[0],o),l=c.top,u=c.right,d=c.bottom,f=c.left;for(let e=1;e{l(!1,1e-7)},1e3)}n===1&&!Ge(f,e.getBoundingClientRect())&&l(),S=!1}try{n=new IntersectionObserver(C,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,x)}n.observe(e)}return l(!0),c}function qe(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=xe(e),u=i||a?[...l?X(l):[],...t?X(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?Ke(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Q(e):null;c&&g();function g(){let t=Q(e);h&&!Ge(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Je=ie,Ye=ae,Xe=te,Ze=se,Qe=ne,$e=P,et=oe,tt=(e,t,n)=>{let r=new Map,i={platform:We,...n},a={...i.platform,_c:r};return ee(e,t,{...i,platform:a})},$=n(e(),1),nt=n(t(),1),rt=typeof document<`u`?$.useLayoutEffect:function(){};function it(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!it(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!it(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function at(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ot(e,t){let n=at(e);return Math.round(t*n)/n}function st(e){let t=$.useRef(e);return rt(()=>{t.current=e}),t}function ct(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=$.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=$.useState(r);it(f,r)||p(r);let[m,h]=$.useState(null),[g,_]=$.useState(null),v=$.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=$.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=$.useRef(null),C=$.useRef(null),w=$.useRef(u),T=c!=null,E=st(c),D=st(i),O=st(l),k=$.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),tt(S.current,C.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};A.current&&!it(w.current,t)&&(w.current=t,nt.flushSync(()=>{d(t)}))})},[f,t,n,D,O]);rt(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let A=$.useRef(!1);rt(()=>(A.current=!0,()=>{A.current=!1}),[]),rt(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,k);k()}},[b,x,k,E,T]);let j=$.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),M=$.useMemo(()=>({reference:b,floating:x}),[b,x]),N=$.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=ot(M.floating,u.x),r=ot(M.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...at(M.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,M.floating,u.x,u.y]);return $.useMemo(()=>({...u,update:k,refs:j,elements:M,floatingStyles:N}),[u,k,j,M,N])}var lt=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:$e({element:r.current,padding:i}).fn(n):r?$e({element:r,padding:i}).fn(n):{}}}},ut=(e,t)=>{let n=Je(e);return{name:n.name,fn:n.fn,options:[e,t]}},dt=(e,t)=>{let n=Ye(e);return{name:n.name,fn:n.fn,options:[e,t]}},ft=(e,t)=>({fn:et(e).fn,options:[e,t]}),pt=(e,t)=>{let n=Xe(e);return{name:n.name,fn:n.fn,options:[e,t]}},mt=(e,t)=>{let n=Ze(e);return{name:n.name,fn:n.fn,options:[e,t]}},ht=(e,t)=>{let n=Qe(e);return{name:n.name,fn:n.fn,options:[e,t]}},gt=(e,t)=>{let n=lt(e);return{name:n.name,fn:n.fn,options:[e,t]}};export{s as C,k as D,h as E,f as O,d as S,_ as T,ce as _,ut as a,ge as b,ct as c,z as d,Y as f,q as g,U as h,ft as i,g as k,qe as l,H as m,pt as n,dt as o,B as p,ht as r,mt as s,gt as t,J as u,W as v,p as w,u as x,le as y}; \ No newline at end of file diff --git a/public/build/assets/fonts-CuGAF-ps.js b/public/build/assets/fonts-CuGAF-ps.js deleted file mode 100644 index 8e55f9e..0000000 --- a/public/build/assets/fonts-CuGAF-ps.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,r as t}from"./wayfinder-DGNmxDkm.js";import{t as n,u as r}from"./main-layout-BJ0kmSsb.js";import{t as i}from"./main-registry-installer-CZTj2Evv.js";import{r as a}from"./app-D7ZTkNic.js";import{a as o,n as s,t as c}from"./card-gSkeg5Iw.js";import{t as l}from"./badge-CJhhYWaN.js";var u=e(),d=t();function f(e){let t=(0,u.c)(6),{fonts:n}=e,o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,d.jsx)(a,{title:`Fonts`,description:`Browse and install Google Fonts for your project. Each font includes the CSS variable and import snippet.`}),t[0]=o):o=t[0];let s;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,d.jsxs)(`div`,{className:`mb-8`,children:[(0,d.jsx)(a,{as:`h2`,title:`Installation all fonts`,description:`Install every font at once with a single command.`}),(0,d.jsx)(i,{code:`fonts/fonts-all`})]}),t[1]=s):s=t[1];let c;t[2]===n?c=t[3]:(c=n.map(p),t[2]=n,t[3]=c);let l;return t[4]===c?l=t[5]:(l=(0,d.jsxs)(r,{className:`pt-4`,children:[o,s,(0,d.jsx)(`div`,{className:`grid grid-cols-1 gap-4 md:grid-cols-2`,children:c})]}),t[4]=c,t[5]=l),l}function p(e){return(0,d.jsx)(m,{font:e},e.name)}f.layout=n;function m(e){let t=(0,u.c)(31),{font:n}=e,r;t[0]===n.title?r=t[1]:(r=(0,d.jsx)(`span`,{className:`font-semibold`,children:n.title}),t[0]=n.title,t[1]=r);let a;t[2]===n.fontProvider?a=t[3]:(a=n.fontProvider&&(0,d.jsx)(l,{variant:`outline`,className:`text-xs`,children:n.fontProvider}),t[2]=n.fontProvider,t[3]=a);let f;t[4]!==r||t[5]!==a?(f=(0,d.jsx)(o,{className:`pb-0`,children:(0,d.jsxs)(`div`,{className:`flex items-center justify-between`,children:[r,a]})}),t[4]=r,t[5]=a,t[6]=f):f=t[6];let p=n.fontFamily??`inherit`,m;t[7]===p?m=t[8]:(m={fontFamily:p},t[7]=p,t[8]=m);let h;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,d.jsx)(`span`,{className:`text-muted-foreground/60`,children:`Aa Bb Cc`}),t[9]=h):h=t[9];let g;t[10]===m?g=t[11]:(g=(0,d.jsx)(`div`,{className:`flex min-h-22 items-center justify-center rounded-lg bg-card/50 px-4 text-[clamp(0.75rem,9vw+2rem,3rem)] tracking-wider`,style:m,children:h}),t[10]=m,t[11]=g);let _;t[12]===n.fontFamily?_=t[13]:(_=n.fontFamily&&(0,d.jsxs)(`div`,{className:`flex justify-between gap-2`,children:[(0,d.jsx)(`span`,{className:`shrink-0`,children:`Family:`}),(0,d.jsx)(`span`,{className:`truncate text-right font-medium text-foreground`,children:n.fontFamily})]}),t[12]=n.fontFamily,t[13]=_);let v;t[14]===n.fontVariable?v=t[15]:(v=n.fontVariable&&(0,d.jsxs)(`div`,{className:`flex justify-between gap-2`,children:[(0,d.jsx)(`span`,{className:`shrink-0`,children:`Variable:`}),(0,d.jsx)(`code`,{className:`truncate text-right text-xs text-foreground`,children:n.fontVariable})]}),t[14]=n.fontVariable,t[15]=v);let y;t[16]===n.fontWeight?y=t[17]:(y=n.fontWeight&&n.fontWeight.length>0&&(0,d.jsxs)(`div`,{className:`flex justify-between gap-2`,children:[(0,d.jsx)(`span`,{className:`shrink-0`,children:`Weights:`}),(0,d.jsx)(`span`,{className:`truncate text-right text-foreground`,children:n.fontWeight.join(`, `)})]}),t[16]=n.fontWeight,t[17]=y);let b;t[18]!==y||t[19]!==_||t[20]!==v?(b=(0,d.jsxs)(`div`,{className:`space-y-1 text-sm text-muted-foreground`,children:[_,v,y]}),t[18]=y,t[19]=_,t[20]=v,t[21]=b):b=t[21];let x=`fonts/${n.name}`,S;t[22]===x?S=t[23]:(S=(0,d.jsx)(i,{code:x}),t[22]=x,t[23]=S);let C;t[24]!==b||t[25]!==S||t[26]!==g?(C=(0,d.jsxs)(s,{className:`space-y-3 pt-3`,children:[g,b,S]}),t[24]=b,t[25]=S,t[26]=g,t[27]=C):C=t[27];let w;return t[28]!==C||t[29]!==f?(w=(0,d.jsxs)(c,{className:`group overflow-hidden transition-colors hover:bg-muted/50`,children:[f,C]}),t[28]=C,t[29]=f,t[30]=w):w=t[30],w}export{f as default}; \ No newline at end of file diff --git a/public/build/assets/fonts-DkuEHybc.css b/public/build/assets/fonts-DkuEHybc.css deleted file mode 100644 index 4b6e0c2..0000000 --- a/public/build/assets/fonts-DkuEHybc.css +++ /dev/null @@ -1,115 +0,0 @@ -@font-face { - font-family: "Instrument Sans"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("/build/assets/instrument-sans-400-normal-DRC__1Mx.woff2") format("woff2"); - unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; -} - -@font-face { - font-family: "Instrument Sans"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("/build/assets/instrument-sans-400-normal-D1W7dsQl.woff") format("woff"); - unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; -} - -@font-face { - font-family: "Instrument Sans"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("/build/assets/instrument-sans-400-normal-Q_nF8v4l.woff2") format("woff2"); - unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; -} - -@font-face { - font-family: "Instrument Sans"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("/build/assets/instrument-sans-400-normal-r32jotim.woff") format("woff"); - unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; -} - -@font-face { - font-family: "Instrument Sans"; - font-style: normal; - font-weight: 500; - font-display: swap; - src: url("/build/assets/instrument-sans-500-normal-Dk9ku72i.woff2") format("woff2"); - unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; -} - -@font-face { - font-family: "Instrument Sans"; - font-style: normal; - font-weight: 500; - font-display: swap; - src: url("/build/assets/instrument-sans-500-normal-Z6ESRlEs.woff") format("woff"); - unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; -} - -@font-face { - font-family: "Instrument Sans"; - font-style: normal; - font-weight: 500; - font-display: swap; - src: url("/build/assets/instrument-sans-500-normal-CTEe1bJa.woff2") format("woff2"); - unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; -} - -@font-face { - font-family: "Instrument Sans"; - font-style: normal; - font-weight: 500; - font-display: swap; - src: url("/build/assets/instrument-sans-500-normal-CAxz3nsc.woff") format("woff"); - unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; -} - -@font-face { - font-family: "Instrument Sans"; - font-style: normal; - font-weight: 600; - font-display: swap; - src: url("/build/assets/instrument-sans-600-normal-B7fBEWYG.woff2") format("woff2"); - unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; -} - -@font-face { - font-family: "Instrument Sans"; - font-style: normal; - font-weight: 600; - font-display: swap; - src: url("/build/assets/instrument-sans-600-normal-B9e8oLYv.woff") format("woff"); - unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; -} - -@font-face { - font-family: "Instrument Sans"; - font-style: normal; - font-weight: 600; - font-display: swap; - src: url("/build/assets/instrument-sans-600-normal-BsaQcF38.woff2") format("woff2"); - unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; -} - -@font-face { - font-family: "Instrument Sans"; - font-style: normal; - font-weight: 600; - font-display: swap; - src: url("/build/assets/instrument-sans-600-normal-DMks36a2.woff") format("woff"); - unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; -} - -:root { - --font-instrument-sans: "Instrument Sans", "Instrument Sans fallback"; -} - -.font-instrument-sans { - font-family: var(--font-instrument-sans); -} diff --git a/public/build/assets/forgot-password-CAdW6lWH.js b/public/build/assets/forgot-password-CAdW6lWH.js deleted file mode 100644 index be9f13b..0000000 --- a/public/build/assets/forgot-password-CAdW6lWH.js +++ /dev/null @@ -1 +0,0 @@ -import{a as e,i as t,o as n,r}from"./wayfinder-DGNmxDkm.js";import{t as i}from"./button-Dnfc0p4v.js";import{t as a}from"./loader-circle-x6RGWI8d.js";import{T as o,s}from"./app-D7ZTkNic.js";import{t as c}from"./input-error-C2eP__MC.js";import{t as l}from"./label-B7tz5f5X.js";import{t as u}from"./text-link-DeHc-DyP.js";import{t as d}from"./password-D2d0n4-i.js";var f=t(),p=r();function m(t){let r=(0,f.c)(8),{status:i}=t,a;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,p.jsx)(n,{title:`Forgot password`}),r[0]=a):a=r[0];let o;r[1]===i?o=r[2]:(o=i&&(0,p.jsx)(`div`,{className:`mb-4 text-center text-sm font-medium text-green-600`,children:i}),r[1]=i,r[2]=o);let c;r[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,p.jsx)(e,{...d.form(),children:h}),r[3]=c):c=r[3];let l;r[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,p.jsx)(`span`,{children:`Or, return to`}),r[4]=l):l=r[4];let m;r[5]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,p.jsxs)(`div`,{className:`space-y-6`,children:[c,(0,p.jsxs)(`div`,{className:`space-x-1 text-center text-sm text-muted-foreground`,children:[l,(0,p.jsx)(u,{href:s(),children:`log in`})]})]}),r[5]=m):m=r[5];let g;return r[6]===o?g=r[7]:(g=(0,p.jsxs)(p.Fragment,{children:[a,o,m]}),r[6]=o,r[7]=g),g}function h(e){let{processing:t,errors:n}=e;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(`div`,{className:`grid gap-2`,children:[(0,p.jsx)(l,{htmlFor:`email`,children:`Email address`}),(0,p.jsx)(o,{id:`email`,type:`email`,name:`email`,autoComplete:`off`,autoFocus:!0,placeholder:`email@example.com`}),(0,p.jsx)(c,{message:n.email})]}),(0,p.jsx)(`div`,{className:`my-6 flex items-center justify-start`,children:(0,p.jsxs)(i,{className:`w-full`,disabled:t,"data-test":`email-password-reset-link-button`,children:[t&&(0,p.jsx)(a,{className:`h-4 w-4 animate-spin`}),`Email password reset link`]})})]})}m.layout={title:`Forgot password`,description:`Enter your email to receive a password reset link`};export{m as default}; \ No newline at end of file diff --git a/public/build/assets/github-o-Azl6zG.js b/public/build/assets/github-o-Azl6zG.js deleted file mode 100644 index a0feb68..0000000 --- a/public/build/assets/github-o-Azl6zG.js +++ /dev/null @@ -1 +0,0 @@ -import{t as e}from"./createLucideIcon-C5RzLdeU.js";var t=e(`Github`,[[`path`,{d:`M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4`,key:`tonef`}],[`path`,{d:`M9 18c-4.51 2-5-2-7-2`,key:`9comsn`}]]);export{t}; \ No newline at end of file diff --git a/public/build/assets/great-vibes-cyrillic-400-normal-C-wcqNJs.woff2 b/public/build/assets/great-vibes-cyrillic-400-normal-C-wcqNJs.woff2 deleted file mode 100644 index 69ae2b5..0000000 Binary files a/public/build/assets/great-vibes-cyrillic-400-normal-C-wcqNJs.woff2 and /dev/null differ diff --git a/public/build/assets/great-vibes-cyrillic-400-normal-DtFXCWjq.woff b/public/build/assets/great-vibes-cyrillic-400-normal-DtFXCWjq.woff deleted file mode 100644 index d30d932..0000000 Binary files a/public/build/assets/great-vibes-cyrillic-400-normal-DtFXCWjq.woff and /dev/null differ diff --git a/public/build/assets/great-vibes-cyrillic-ext-400-normal-CKQhgFwn.woff2 b/public/build/assets/great-vibes-cyrillic-ext-400-normal-CKQhgFwn.woff2 deleted file mode 100644 index 06ebf54..0000000 Binary files a/public/build/assets/great-vibes-cyrillic-ext-400-normal-CKQhgFwn.woff2 and /dev/null differ diff --git a/public/build/assets/great-vibes-cyrillic-ext-400-normal-CzcHves0.woff b/public/build/assets/great-vibes-cyrillic-ext-400-normal-CzcHves0.woff deleted file mode 100644 index 7aad590..0000000 Binary files a/public/build/assets/great-vibes-cyrillic-ext-400-normal-CzcHves0.woff and /dev/null differ diff --git a/public/build/assets/great-vibes-greek-ext-400-normal-Caxd-0sC.woff2 b/public/build/assets/great-vibes-greek-ext-400-normal-Caxd-0sC.woff2 deleted file mode 100644 index 6b0176f..0000000 Binary files a/public/build/assets/great-vibes-greek-ext-400-normal-Caxd-0sC.woff2 and /dev/null differ diff --git a/public/build/assets/great-vibes-greek-ext-400-normal-I8uMZwKr.woff b/public/build/assets/great-vibes-greek-ext-400-normal-I8uMZwKr.woff deleted file mode 100644 index b0c9918..0000000 Binary files a/public/build/assets/great-vibes-greek-ext-400-normal-I8uMZwKr.woff and /dev/null differ diff --git a/public/build/assets/great-vibes-latin-400-normal-BAZ173uY.woff b/public/build/assets/great-vibes-latin-400-normal-BAZ173uY.woff deleted file mode 100644 index d79c7bb..0000000 Binary files a/public/build/assets/great-vibes-latin-400-normal-BAZ173uY.woff and /dev/null differ diff --git a/public/build/assets/great-vibes-latin-400-normal-q5-78SH_.woff2 b/public/build/assets/great-vibes-latin-400-normal-q5-78SH_.woff2 deleted file mode 100644 index 3dc01f4..0000000 Binary files a/public/build/assets/great-vibes-latin-400-normal-q5-78SH_.woff2 and /dev/null differ diff --git a/public/build/assets/great-vibes-latin-ext-400-normal-CsjMq8GN.woff2 b/public/build/assets/great-vibes-latin-ext-400-normal-CsjMq8GN.woff2 deleted file mode 100644 index 300fa75..0000000 Binary files a/public/build/assets/great-vibes-latin-ext-400-normal-CsjMq8GN.woff2 and /dev/null differ diff --git a/public/build/assets/great-vibes-latin-ext-400-normal-wh4xxCIu.woff b/public/build/assets/great-vibes-latin-ext-400-normal-wh4xxCIu.woff deleted file mode 100644 index 7c40e8d..0000000 Binary files a/public/build/assets/great-vibes-latin-ext-400-normal-wh4xxCIu.woff and /dev/null differ diff --git a/public/build/assets/great-vibes-vietnamese-400-normal-Cxbm9Uac.woff b/public/build/assets/great-vibes-vietnamese-400-normal-Cxbm9Uac.woff deleted file mode 100644 index 9efc230..0000000 Binary files a/public/build/assets/great-vibes-vietnamese-400-normal-Cxbm9Uac.woff and /dev/null differ diff --git a/public/build/assets/great-vibes-vietnamese-400-normal-a2O3jU53.woff2 b/public/build/assets/great-vibes-vietnamese-400-normal-a2O3jU53.woff2 deleted file mode 100644 index af0a933..0000000 Binary files a/public/build/assets/great-vibes-vietnamese-400-normal-a2O3jU53.woff2 and /dev/null differ diff --git a/public/build/assets/heart-TmRvZm7r.js b/public/build/assets/heart-TmRvZm7r.js deleted file mode 100644 index be75825..0000000 --- a/public/build/assets/heart-TmRvZm7r.js +++ /dev/null @@ -1 +0,0 @@ -import{t as e}from"./createLucideIcon-C5RzLdeU.js";var t=e(`Heart`,[[`path`,{d:`M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z`,key:`c3ymky`}]]);export{t}; \ No newline at end of file diff --git a/public/build/assets/home-C_IOam5p.js b/public/build/assets/home-C_IOam5p.js deleted file mode 100644 index ad5d14f..0000000 --- a/public/build/assets/home-C_IOam5p.js +++ /dev/null @@ -1,4218 +0,0 @@ -import{i as e,m as t,o as n,p as r,r as i,x as a}from"./wayfinder-DGNmxDkm.js";import{i as o,n as s,t as c}from"./dist-DkpcB3Hx.js";import{a as l,n as u,o as d,r as f,t as p}from"./button-Dnfc0p4v.js";import{n as m,t as h}from"./createLucideIcon-C5RzLdeU.js";import{a as g,i as _,n as v,o as y,r as b,t as x}from"./select-Bs5ixj0g.js";import{t as S}from"./main-editor-block-l3z4VSEw.js";import{t as C,u as w}from"./main-layout-BJ0kmSsb.js";import{o as T,t as E}from"./main-registry-installer-CZTj2Evv.js";import{t as D}from"./dist-G41QdS4G.js";import{t as O}from"./checkbox-ChEujvy-.js";import{t as k}from"./dist-CaXsKxmI.js";import{C as A,I as j,S as ee,T as M,d as N,f as P,m as te,u as ne,w as re,x as ie}from"./app-D7ZTkNic.js";import{a as F,i as ae,n as oe,o as se,r as ce,t as le}from"./card-gSkeg5Iw.js";import{n as ue,t as de}from"./textarea-CtmiFXkJ.js";import{t as fe}from"./label-B7tz5f5X.js";import{t as I}from"./badge-CJhhYWaN.js";import{i as pe,n as me,r as he}from"./use-clipboard-CYcV3HSX.js";var ge=h(`Circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),_e=h(`Crown`,[[`path`,{d:`M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z`,key:`1vdc57`}],[`path`,{d:`M5 21h14`,key:`11awu3`}]]),L=a(t(),1),R=i();function z(e,t=[]){let n=[];function r(t,r){let i=L.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=L.useMemo(()=>o,Object.values(o));return(0,R.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=L.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>L.createContext(e));return function(n){let r=n?.[e]||t;return L.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,B(i,...t)]}function B(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return L.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function V(e){let t=ve(e),n=L.forwardRef((e,n)=>{let{children:r,...i}=e,a=L.Children.toArray(r),o=a.find(U);if(o){let e=o.props.children,r=a.map(t=>t===o?L.Children.count(e)>1?L.Children.only(null):L.isValidElement(e)?e.props.children:null:t);return(0,R.jsx)(t,{...i,ref:n,children:L.isValidElement(e)?L.cloneElement(e,void 0,r):null})}return(0,R.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function ve(e){let t=L.forwardRef((e,t)=>{let{children:n,...r}=e;if(L.isValidElement(n)){let e=be(n),i=ye(r,n.props);return n.type!==L.Fragment&&(i.ref=t?l(t,e):e),L.cloneElement(n,i)}return L.Children.count(n)>1?L.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var H=Symbol(`radix.slottable`);function U(e){return L.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===H}function ye(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function be(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}r();var xe=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=V(`Primitive.${t}`),r=L.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,R.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Se=`Radio`,[Ce,we]=z(Se),[Te,Ee]=Ce(Se),De=L.forwardRef((e,t)=>{let{__scopeRadio:n,name:r,checked:i=!1,required:a,disabled:s,value:c=`on`,onCheck:l,form:u,...f}=e,[p,m]=L.useState(null),h=d(t,e=>m(e)),g=L.useRef(!1),_=p?u||!!p.closest(`form`):!0;return(0,R.jsxs)(Te,{scope:n,checked:i,disabled:s,children:[(0,R.jsx)(xe.button,{type:`button`,role:`radio`,"aria-checked":i,"data-state":Me(i),"data-disabled":s?``:void 0,disabled:s,value:c,...f,ref:h,onClick:o(e.onClick,e=>{i||l?.(),_&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})}),_&&(0,R.jsx)(je,{control:p,bubbles:!g.current,name:r,value:c,checked:i,required:a,disabled:s,form:u,style:{transform:`translateX(-100%)`}})]})});De.displayName=Se;var Oe=`RadioIndicator`,ke=L.forwardRef((e,t)=>{let{__scopeRadio:n,forceMount:r,...i}=e,a=Ee(Oe,n);return(0,R.jsx)(s,{present:r||a.checked,children:(0,R.jsx)(xe.span,{"data-state":Me(a.checked),"data-disabled":a.disabled?``:void 0,...i,ref:t})})});ke.displayName=Oe;var Ae=`RadioBubbleInput`,je=L.forwardRef(({__scopeRadio:e,control:t,checked:n,bubbles:r=!0,...i},a)=>{let o=L.useRef(null),s=d(o,a),c=k(n),l=j(t);return L.useEffect(()=>{let e=o.current;if(!e)return;let t=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(t,`checked`).set;if(c!==n&&i){let t=new Event(`click`,{bubbles:r});i.call(e,n),e.dispatchEvent(t)}},[c,n,r]),(0,R.jsx)(xe.input,{type:`radio`,"aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:s,style:{...i.style,...l,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0}})});je.displayName=Ae;function Me(e){return e?`checked`:`unchecked`}var Ne=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],Pe=`RadioGroup`,[Fe,Ie]=z(Pe,[A,we]),Le=A(),Re=we(),[ze,Be]=Fe(Pe),Ve=L.forwardRef((e,t)=>{let{__scopeRadioGroup:n,name:r,defaultValue:i,value:a,required:o=!1,disabled:s=!1,orientation:l,dir:u,loop:d=!0,onValueChange:f,...p}=e,m=Le(n),h=D(u),[g,_]=c({prop:a,defaultProp:i??null,onChange:f,caller:Pe});return(0,R.jsx)(ze,{scope:n,name:r,required:o,disabled:s,value:g,onValueChange:_,children:(0,R.jsx)(ee,{asChild:!0,...m,orientation:l,dir:h,loop:d,children:(0,R.jsx)(xe.div,{role:`radiogroup`,"aria-required":o,"aria-orientation":l,"data-disabled":s?``:void 0,dir:h,...p,ref:t})})})});Ve.displayName=Pe;var He=`RadioGroupItem`,Ue=L.forwardRef((e,t)=>{let{__scopeRadioGroup:n,disabled:r,...i}=e,a=Be(He,n),s=a.disabled||r,c=Le(n),l=Re(n),u=L.useRef(null),f=d(t,u),p=a.value===i.value,m=L.useRef(!1);return L.useEffect(()=>{let e=e=>{Ne.includes(e.key)&&(m.current=!0)},t=()=>m.current=!1;return document.addEventListener(`keydown`,e),document.addEventListener(`keyup`,t),()=>{document.removeEventListener(`keydown`,e),document.removeEventListener(`keyup`,t)}},[]),(0,R.jsx)(ie,{asChild:!0,...c,focusable:!s,active:p,children:(0,R.jsx)(De,{disabled:s,required:a.required,checked:p,...l,...i,name:a.name,ref:f,onCheck:()=>a.onValueChange(i.value),onKeyDown:o(e=>{e.key===`Enter`&&e.preventDefault()}),onFocus:o(i.onFocus,()=>{m.current&&u.current?.click()})})})});Ue.displayName=He;var We=`RadioGroupIndicator`,Ge=L.forwardRef((e,t)=>{let{__scopeRadioGroup:n,...r}=e;return(0,R.jsx)(ke,{...Re(n),...r,ref:t})});Ge.displayName=We;var Ke=Ve,qe=Ue,Je=Ge,Ye=e(),Xe=u(`relative isolate inline-flex items-center justify-center gap-2 overflow-visible rounded-md text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,{variants:{variant:{default:`bg-primary text-primary-foreground shadow-xs hover:bg-primary/90`,destructive:`bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40`,outline:`border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground`,secondary:`bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-9 px-4 py-2 has-[>svg]:px-3`,sm:`h-8 rounded-md px-3 has-[>svg]:px-2.5`,lg:`h-10 rounded-md px-6 has-[>svg]:px-4`,icon:`size-9`}},defaultVariants:{variant:`default`,size:`default`}}),Ze=20,Qe=`button-particle-styles-v2`;function $e(e){if(typeof document>`u`)return;let t=document.getElementById(Qe),n=``,r=0;if(t){if(n=t.textContent||``,r=parseInt(t.dataset.maxIndex||`0`,10),r>=e)return}else t=document.createElement(`style`),t.id=Qe;t.dataset.maxIndex=String(e);let i=n;i||=` - .bp-particle { - position: absolute; - border-radius: 50%; - pointer-events: none; - z-index: 99999; - will-change: transform, opacity; - } - `;for(let t=r+1;t<=e;t++)i+=` - @keyframes particle-burst-${t} { - 0% { transform: translate(-50%, -50%) translate(0px, 0px) scale(1); opacity: 1; } - 60% { opacity: 0.9; } - 100% { transform: translate(-50%, -50%) translate(var(--pdx), var(--pdy)) scale(0); opacity: 0; } - } - .bp-particle[data-particle="burst"][data-idx="${t}"] { - animation: particle-burst-${t} var(--pdur) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; - } - - @keyframes sparkle-burst-${t} { - 0% { transform: translate(-50%, -50%) translate(0px, 0px) rotate(0deg) scale(1); opacity: 1; } - 60% { opacity: 0.9; } - 100% { transform: translate(-50%, -50%) translate(var(--pdx), var(--pdy)) rotate(180deg) scale(0.3); opacity: 0; } - } - .bp-particle[data-particle="sparkle"][data-idx="${t}"] { - animation: sparkle-burst-${t} var(--pdur) cubic-bezier(0.2, 0.8, 0.2, 1) forwards; - } - - @keyframes confetti-spray-${t} { - 0% { transform: translate(-50%, -50%) translate(0px, 0px) rotate(0deg) scale(1); opacity: 1; } - 60% { opacity: 0.9; } - 100% { transform: translate(-50%, -50%) translate(var(--pdx), var(--pdy)) rotate(360deg) scale(0.5); opacity: 0; } - } - .bp-particle[data-particle="confetti"][data-idx="${t}"] { - animation: confetti-spray-${t} var(--pdur) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; - } - - @keyframes vburst-${t} { - 0% { transform: translate(-50%, -50%) translate(0px, 0px) scale(1); opacity: 1; } - 60% { opacity: 0.9; } - 100% { transform: translate(-50%, -50%) translate(var(--pdx), var(--pdy)) scale(0); opacity: 0; } - } - .bp-particle[data-particle="vburst"][data-idx="${t}"] { - animation: vburst-${t} var(--pdur) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; - } - - @keyframes hburst-${t} { - 0% { transform: translate(-50%, -50%) translate(0px, 0px) scale(1); opacity: 1; } - 60% { opacity: 0.9; } - 100% { transform: translate(-50%, -50%) translate(var(--pdx), var(--pdy)) scale(0); opacity: 0; } - } - .bp-particle[data-particle="hburst"][data-idx="${t}"] { - animation: hburst-${t} var(--pdur) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; - } - - @keyframes spiral-burst-${t} { - 0% { transform: translate(-50%, -50%) translate(0px, 0px) rotate(0deg) scale(1); opacity: 1; } - 60% { opacity: 0.9; } - 100% { transform: translate(-50%, -50%) translate(var(--pdx), var(--pdy)) rotate(720deg) scale(0); opacity: 0; } - } - .bp-particle[data-particle="spiral"][data-idx="${t}"] { - animation: spiral-burst-${t} var(--pdur) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; - } - `;t.textContent=i,document.head.appendChild(t)}$e(Ze);var et=[`#ff0083`,`#ff6b6b`,`#ffd93d`,`#6bcb77`,`#4d96ff`,`#c77dff`,`#ff9f1c`,`#00f5d4`];function tt({className:e,variant:t,size:n,particle:r=`burst`,particles:i=Ze,colors:a=et,children:o,asChild:s=!1,...c}){let l=s?f:`button`,u=(0,L.useRef)(null);(0,L.useEffect)(()=>{$e(i)},[i]);let d=(e,t,n,i)=>{if(!e)return;let o=document.createElement(`div`);o.classList.add(`bp-particle`),o.dataset.idx=String(i),o.dataset.particle=r;let s=a[Math.floor(Math.random()*a.length)],c=i%2==1;switch(r){case`burst`:{let r=Math.random()*2*Math.PI,i=70+Math.random()*90,a=14+Math.random()*14;o.style.width=`${a}px`,o.style.height=`${a}px`,c?(o.style.backgroundColor=`transparent`,o.style.border=`3px solid ${s}`):(o.style.backgroundColor=s,o.style.border=`none`);let l=550+Math.random()*400;o.style.setProperty(`--pdx`,`${Math.cos(r)*i}px`),o.style.setProperty(`--pdy`,`${Math.sin(r)*i}px`),o.style.setProperty(`--pdur`,`${l}ms`),o.style.left=`${t-a/2}px`,o.style.top=`${n-a/2}px`,e.appendChild(o),setTimeout(()=>o.remove(),l+50);break}case`sparkle`:{let r=(Math.random()-.5)*80,i=-(60+Math.random()*100),a=8+Math.random()*12;o.style.width=`${a}px`,o.style.height=`${a}px`,c?(o.style.backgroundColor=`transparent`,o.style.border=`2px solid ${s}`):(o.style.backgroundColor=s,o.style.border=`none`);let l=600+Math.random()*400;o.style.setProperty(`--pdx`,`${r}px`),o.style.setProperty(`--pdy`,`${i}px`),o.style.setProperty(`--pdur`,`${l}ms`),o.style.left=`${t-a/2}px`,o.style.top=`${n-a/2}px`,e.appendChild(o),setTimeout(()=>o.remove(),l+50);break}case`confetti`:{let r=(Math.random()-.5)*Math.PI*.8,i=-Math.PI/2+r,a=80+Math.random()*120,c=Math.cos(i)*a,l=Math.sin(i)*a-40,u=10+Math.random()*8;o.style.width=`${u}px`,o.style.height=`${u*.5}px`,o.style.borderRadius=`2px`,o.style.backgroundColor=s,o.style.border=`none`;let d=700+Math.random()*400;o.style.setProperty(`--pdx`,`${c}px`),o.style.setProperty(`--pdy`,`${l}px`),o.style.setProperty(`--pdur`,`${d}ms`),o.style.left=`${t-u/2}px`,o.style.top=`${n-u/4}px`,e.appendChild(o),setTimeout(()=>o.remove(),d+50);break}case`vburst`:{let r=i%2==0,a=80+Math.random()*100,c=12+Math.random()*12;o.style.width=`${c}px`,o.style.height=`${c}px`,o.style.backgroundColor=s,o.style.border=`none`;let l=550+Math.random()*400;o.style.setProperty(`--pdx`,`${(Math.random()-.5)*20}px`),o.style.setProperty(`--pdy`,`${r?-a:a}px`),o.style.setProperty(`--pdur`,`${l}ms`),o.style.left=`${t-c/2}px`,o.style.top=`${n-c/2}px`,e.appendChild(o),setTimeout(()=>o.remove(),l+50);break}case`hburst`:{let r=i%2==0,a=80+Math.random()*100,c=12+Math.random()*12;o.style.width=`${c}px`,o.style.height=`${c}px`,o.style.backgroundColor=s,o.style.border=`none`;let l=550+Math.random()*400;o.style.setProperty(`--pdx`,`${r?a:-a}px`),o.style.setProperty(`--pdy`,`${(Math.random()-.5)*40}px`),o.style.setProperty(`--pdur`,`${l}ms`),o.style.left=`${t-c/2}px`,o.style.top=`${n-c/2}px`,e.appendChild(o),setTimeout(()=>o.remove(),l+50);break}case`spiral`:{let r=Math.random()*2*Math.PI,i=60+Math.random()*100,a=8+Math.random()*8;o.style.width=`${a}px`,o.style.height=`${a}px`,o.style.backgroundColor=s,o.style.border=`none`;let c=600+Math.random()*400;o.style.setProperty(`--pdx`,`${Math.cos(r)*i}px`),o.style.setProperty(`--pdy`,`${Math.sin(r)*i}px`),o.style.setProperty(`--pdur`,`${c}ms`),o.style.left=`${t-a/2}px`,o.style.top=`${n-a/2}px`,e.appendChild(o),setTimeout(()=>o.remove(),c+50);break}}},p=e=>{if(!u.current||(c.onClick?.(e),e.defaultPrevented))return;let t=u.current.offsetWidth/2,n=u.current.offsetHeight/2,r=u.current;for(let e=1;e<=i;e++)setTimeout(()=>d(r,t,n,e),e*12)};return(0,R.jsx)(l,{ref:u,"data-slot":`button`,"data-particle":r,className:m(Xe({variant:t,size:n,className:e})),...c,onClick:p,children:o})}var nt=1e3,rt=1001,it=1002,at=1003,ot=1004,st=1005,ct=1006,lt=1007,ut=1008,dt=1009,ft=1010,pt=1011,mt=1012,ht=1013,gt=1014,_t=1015,vt=1016,yt=1017,bt=1018,xt=1020,St=35902,Ct=35899,wt=1021,Tt=1022,Et=1023,Dt=1026,Ot=1027,kt=1028,At=1029,jt=1030,Mt=1031,Nt=1033,Pt=33776,Ft=33777,It=33778,Lt=33779,Rt=35840,zt=35841,Bt=35842,Vt=35843,Ht=36196,Ut=37492,Wt=37496,Gt=37488,Kt=37489,qt=37490,Jt=37491,Yt=37808,Xt=37809,Zt=37810,Qt=37811,$t=37812,en=37813,tn=37814,nn=37815,rn=37816,an=37817,on=37818,sn=37819,cn=37820,ln=37821,un=36492,dn=36494,fn=36495,pn=36283,mn=36284,hn=36285,gn=36286,_n=2300,vn=2301,yn=2302,bn=2303,xn=2400,Sn=2401,Cn=2402,wn=3200,Tn=`srgb`,En=`srgb-linear`,Dn=`linear`,On=`srgb`,kn=7680,An=35044,jn=35048,Mn=2e3;function Nn(e){for(let t=e.length-1;t>=0;--t)if(e[t]>=65535)return!0;return!1}function Pn(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Fn(e){return document.createElementNS(`http://www.w3.org/1999/xhtml`,e)}function In(){let e=Fn(`canvas`);return e.style.display=`block`,e}var Ln={},Rn=null;function zn(...e){let t=`THREE.`+e.shift();Rn?Rn(`log`,t,...e):console.log(t,...e)}function Bn(e){let t=e[0];if(typeof t==`string`&&t.startsWith(`TSL:`)){let t=e[1];t&&t.isStackTrace?e[0]+=` `+t.getLocation():e[1]=`Stack trace not available. Enable "THREE.Node.captureStackTrace" to capture stack traces.`}return e}function W(...e){e=Bn(e);let t=`THREE.`+e.shift();if(Rn)Rn(`warn`,t,...e);else{let n=e[0];n&&n.isStackTrace?console.warn(n.getError(t)):console.warn(t,...e)}}function G(...e){e=Bn(e);let t=`THREE.`+e.shift();if(Rn)Rn(`error`,t,...e);else{let n=e[0];n&&n.isStackTrace?console.error(n.getError(t)):console.error(t,...e)}}function Vn(...e){let t=e.join(` `);t in Ln||(Ln[t]=!0,W(...e))}function Hn(e,t,n){return new Promise(function(r,i){function a(){switch(e.clientWaitSync(t,e.SYNC_FLUSH_COMMANDS_BIT,0)){case e.WAIT_FAILED:i();break;case e.TIMEOUT_EXPIRED:setTimeout(a,n);break;default:r()}}setTimeout(a,n)})}var Un={0:1,2:6,4:7,3:5,1:0,6:2,7:4,5:3},Wn=class{addEventListener(e,t){this._listeners===void 0&&(this._listeners={});let n=this._listeners;n[e]===void 0&&(n[e]=[]),n[e].indexOf(t)===-1&&n[e].push(t)}hasEventListener(e,t){let n=this._listeners;return n===void 0?!1:n[e]!==void 0&&n[e].indexOf(t)!==-1}removeEventListener(e,t){let n=this._listeners;if(n===void 0)return;let r=n[e];if(r!==void 0){let e=r.indexOf(t);e!==-1&&r.splice(e,1)}}dispatchEvent(e){let t=this._listeners;if(t===void 0)return;let n=t[e.type];if(n!==void 0){e.target=this;let t=n.slice(0);for(let n=0,r=t.length;n>8&255]+Gn[e>>16&255]+Gn[e>>24&255]+`-`+Gn[t&255]+Gn[t>>8&255]+`-`+Gn[t>>16&15|64]+Gn[t>>24&255]+`-`+Gn[n&63|128]+Gn[n>>8&255]+`-`+Gn[n>>16&255]+Gn[n>>24&255]+Gn[r&255]+Gn[r>>8&255]+Gn[r>>16&255]+Gn[r>>24&255]).toLowerCase()}function K(e,t,n){return Math.max(t,Math.min(n,e))}function Yn(e,t){return(e%t+t)%t}function Xn(e,t,n){return(1-n)*e+n*t}function Zn(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return e/4294967295;case Uint16Array:return e/65535;case Uint8Array:return e/255;case Int32Array:return Math.max(e/2147483647,-1);case Int16Array:return Math.max(e/32767,-1);case Int8Array:return Math.max(e/127,-1);default:throw Error(`Invalid component type.`)}}function Qn(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return Math.round(e*4294967295);case Uint16Array:return Math.round(e*65535);case Uint8Array:return Math.round(e*255);case Int32Array:return Math.round(e*2147483647);case Int16Array:return Math.round(e*32767);case Int8Array:return Math.round(e*127);default:throw Error(`Invalid component type.`)}}var $n=class e{static{e.prototype.isVector2=!0}constructor(e=0,t=0){this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw Error(`index is out of range: `+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw Error(`index is out of range: `+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){let t=this.x,n=this.y,r=e.elements;return this.x=r[0]*t+r[3]*n+r[6],this.y=r[1]*t+r[4]*n+r[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=K(this.x,e.x,t.x),this.y=K(this.y,e.y,t.y),this}clampScalar(e,t){return this.x=K(this.x,e,t),this.y=K(this.y,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(K(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;let n=this.dot(e)/t;return Math.acos(K(n,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,n=this.y-e.y;return t*t+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){let n=Math.cos(t),r=Math.sin(t),i=this.x-e.x,a=this.y-e.y;return this.x=i*n-a*r+e.x,this.y=i*r+a*n+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}},er=class{constructor(e=0,t=0,n=0,r=1){this.isQuaternion=!0,this._x=e,this._y=t,this._z=n,this._w=r}static slerpFlat(e,t,n,r,i,a,o){let s=n[r+0],c=n[r+1],l=n[r+2],u=n[r+3],d=i[a+0],f=i[a+1],p=i[a+2],m=i[a+3];if(u!==m||s!==d||c!==f||l!==p){let e=s*d+c*f+l*p+u*m;e<0&&(d=-d,f=-f,p=-p,m=-m,e=-e);let t=1-o;if(e<.9995){let n=Math.acos(e),r=Math.sin(n);t=Math.sin(t*n)/r,o=Math.sin(o*n)/r,s=s*t+d*o,c=c*t+f*o,l=l*t+p*o,u=u*t+m*o}else{s=s*t+d*o,c=c*t+f*o,l=l*t+p*o,u=u*t+m*o;let e=1/Math.sqrt(s*s+c*c+l*l+u*u);s*=e,c*=e,l*=e,u*=e}}e[t]=s,e[t+1]=c,e[t+2]=l,e[t+3]=u}static multiplyQuaternionsFlat(e,t,n,r,i,a){let o=n[r],s=n[r+1],c=n[r+2],l=n[r+3],u=i[a],d=i[a+1],f=i[a+2],p=i[a+3];return e[t]=o*p+l*u+s*f-c*d,e[t+1]=s*p+l*d+c*u-o*f,e[t+2]=c*p+l*f+o*d-s*u,e[t+3]=l*p-o*u-s*d-c*f,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,n,r){return this._x=e,this._y=t,this._z=n,this._w=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t=!0){let n=e._x,r=e._y,i=e._z,a=e._order,o=Math.cos,s=Math.sin,c=o(n/2),l=o(r/2),u=o(i/2),d=s(n/2),f=s(r/2),p=s(i/2);switch(a){case`XYZ`:this._x=d*l*u+c*f*p,this._y=c*f*u-d*l*p,this._z=c*l*p+d*f*u,this._w=c*l*u-d*f*p;break;case`YXZ`:this._x=d*l*u+c*f*p,this._y=c*f*u-d*l*p,this._z=c*l*p-d*f*u,this._w=c*l*u+d*f*p;break;case`ZXY`:this._x=d*l*u-c*f*p,this._y=c*f*u+d*l*p,this._z=c*l*p+d*f*u,this._w=c*l*u-d*f*p;break;case`ZYX`:this._x=d*l*u-c*f*p,this._y=c*f*u+d*l*p,this._z=c*l*p-d*f*u,this._w=c*l*u+d*f*p;break;case`YZX`:this._x=d*l*u+c*f*p,this._y=c*f*u+d*l*p,this._z=c*l*p-d*f*u,this._w=c*l*u-d*f*p;break;case`XZY`:this._x=d*l*u-c*f*p,this._y=c*f*u-d*l*p,this._z=c*l*p+d*f*u,this._w=c*l*u+d*f*p;break;default:W(`Quaternion: .setFromEuler() encountered an unknown order: `+a)}return t===!0&&this._onChangeCallback(),this}setFromAxisAngle(e,t){let n=t/2,r=Math.sin(n);return this._x=e.x*r,this._y=e.y*r,this._z=e.z*r,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(e){let t=e.elements,n=t[0],r=t[4],i=t[8],a=t[1],o=t[5],s=t[9],c=t[2],l=t[6],u=t[10],d=n+o+u;if(d>0){let e=.5/Math.sqrt(d+1);this._w=.25/e,this._x=(l-s)*e,this._y=(i-c)*e,this._z=(a-r)*e}else if(n>o&&n>u){let e=2*Math.sqrt(1+n-o-u);this._w=(l-s)/e,this._x=.25*e,this._y=(r+a)/e,this._z=(i+c)/e}else if(o>u){let e=2*Math.sqrt(1+o-n-u);this._w=(i-c)/e,this._x=(r+a)/e,this._y=.25*e,this._z=(s+l)/e}else{let e=2*Math.sqrt(1+u-n-o);this._w=(a-r)/e,this._x=(i+c)/e,this._y=(s+l)/e,this._z=.25*e}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let n=e.dot(t)+1;return n<1e-8?(n=0,Math.abs(e.x)>Math.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=n):(this._x=0,this._y=-e.z,this._z=e.y,this._w=n)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=n),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(K(this.dot(e),-1,1)))}rotateTowards(e,t){let n=this.angleTo(e);if(n===0)return this;let r=Math.min(1,t/n);return this.slerp(e,r),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x*=e,this._y*=e,this._z*=e,this._w*=e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){let n=e._x,r=e._y,i=e._z,a=e._w,o=t._x,s=t._y,c=t._z,l=t._w;return this._x=n*l+a*o+r*c-i*s,this._y=r*l+a*s+i*o-n*c,this._z=i*l+a*c+n*s-r*o,this._w=a*l-n*o-r*s-i*c,this._onChangeCallback(),this}slerp(e,t){let n=e._x,r=e._y,i=e._z,a=e._w,o=this.dot(e);o<0&&(n=-n,r=-r,i=-i,a=-a,o=-o);let s=1-t;if(o<.9995){let e=Math.acos(o),c=Math.sin(e);s=Math.sin(s*e)/c,t=Math.sin(t*e)/c,this._x=this._x*s+n*t,this._y=this._y*s+r*t,this._z=this._z*s+i*t,this._w=this._w*s+a*t,this._onChangeCallback()}else this._x=this._x*s+n*t,this._y=this._y*s+r*t,this._z=this._z*s+i*t,this._w=this._w*s+a*t,this.normalize();return this}slerpQuaternions(e,t,n){return this.copy(e).slerp(t,n)}random(){let e=2*Math.PI*Math.random(),t=2*Math.PI*Math.random(),n=Math.random(),r=Math.sqrt(1-n),i=Math.sqrt(n);return this.set(r*Math.sin(e),r*Math.cos(e),i*Math.sin(t),i*Math.cos(t))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}},q=class e{static{e.prototype.isVector3=!0}constructor(e=0,t=0,n=0){this.x=e,this.y=t,this.z=n}set(e,t,n){return n===void 0&&(n=this.z),this.x=e,this.y=t,this.z=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw Error(`index is out of range: `+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw Error(`index is out of range: `+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(nr.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(nr.setFromAxisAngle(e,t))}applyMatrix3(e){let t=this.x,n=this.y,r=this.z,i=e.elements;return this.x=i[0]*t+i[3]*n+i[6]*r,this.y=i[1]*t+i[4]*n+i[7]*r,this.z=i[2]*t+i[5]*n+i[8]*r,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){let t=this.x,n=this.y,r=this.z,i=e.elements,a=1/(i[3]*t+i[7]*n+i[11]*r+i[15]);return this.x=(i[0]*t+i[4]*n+i[8]*r+i[12])*a,this.y=(i[1]*t+i[5]*n+i[9]*r+i[13])*a,this.z=(i[2]*t+i[6]*n+i[10]*r+i[14])*a,this}applyQuaternion(e){let t=this.x,n=this.y,r=this.z,i=e.x,a=e.y,o=e.z,s=e.w,c=2*(a*r-o*n),l=2*(o*t-i*r),u=2*(i*n-a*t);return this.x=t+s*c+a*u-o*l,this.y=n+s*l+o*c-i*u,this.z=r+s*u+i*l-a*c,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){let t=this.x,n=this.y,r=this.z,i=e.elements;return this.x=i[0]*t+i[4]*n+i[8]*r,this.y=i[1]*t+i[5]*n+i[9]*r,this.z=i[2]*t+i[6]*n+i[10]*r,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=K(this.x,e.x,t.x),this.y=K(this.y,e.y,t.y),this.z=K(this.z,e.z,t.z),this}clampScalar(e,t){return this.x=K(this.x,e,t),this.y=K(this.y,e,t),this.z=K(this.z,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(K(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){let n=e.x,r=e.y,i=e.z,a=t.x,o=t.y,s=t.z;return this.x=r*s-i*o,this.y=i*a-n*s,this.z=n*o-r*a,this}projectOnVector(e){let t=e.lengthSq();if(t===0)return this.set(0,0,0);let n=e.dot(this)/t;return this.copy(e).multiplyScalar(n)}projectOnPlane(e){return tr.copy(this).projectOnVector(e),this.sub(tr)}reflect(e){return this.sub(tr.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;let n=this.dot(e)/t;return Math.acos(K(n,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,n=this.y-e.y,r=this.z-e.z;return t*t+n*n+r*r}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,n){let r=Math.sin(t)*e;return this.x=r*Math.sin(n),this.y=Math.cos(t)*e,this.z=r*Math.cos(n),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,n){return this.x=e*Math.sin(t),this.y=n,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){let t=this.setFromMatrixColumn(e,0).length(),n=this.setFromMatrixColumn(e,1).length(),r=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=n,this.z=r,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,t*4)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,t*3)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){let e=Math.random()*Math.PI*2,t=Math.random()*2-1,n=Math.sqrt(1-t*t);return this.x=n*Math.cos(e),this.y=t,this.z=n*Math.sin(e),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}},tr=new q,nr=new er,J=class e{static{e.prototype.isMatrix3=!0}constructor(e,t,n,r,i,a,o,s,c){this.elements=[1,0,0,0,1,0,0,0,1],e!==void 0&&this.set(e,t,n,r,i,a,o,s,c)}set(e,t,n,r,i,a,o,s,c){let l=this.elements;return l[0]=e,l[1]=r,l[2]=o,l[3]=t,l[4]=i,l[5]=s,l[6]=n,l[7]=a,l[8]=c,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){let t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],this}extractBasis(e,t,n){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(e){let t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let n=e.elements,r=t.elements,i=this.elements,a=n[0],o=n[3],s=n[6],c=n[1],l=n[4],u=n[7],d=n[2],f=n[5],p=n[8],m=r[0],h=r[3],g=r[6],_=r[1],v=r[4],y=r[7],b=r[2],x=r[5],S=r[8];return i[0]=a*m+o*_+s*b,i[3]=a*h+o*v+s*x,i[6]=a*g+o*y+s*S,i[1]=c*m+l*_+u*b,i[4]=c*h+l*v+u*x,i[7]=c*g+l*y+u*S,i[2]=d*m+f*_+p*b,i[5]=d*h+f*v+p*x,i[8]=d*g+f*y+p*S,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){let e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7],l=e[8];return t*a*l-t*o*c-n*i*l+n*o*s+r*i*c-r*a*s}invert(){let e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7],l=e[8],u=l*a-o*c,d=o*s-l*i,f=c*i-a*s,p=t*u+n*d+r*f;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);let m=1/p;return e[0]=u*m,e[1]=(r*c-l*n)*m,e[2]=(o*n-r*a)*m,e[3]=d*m,e[4]=(l*t-r*s)*m,e[5]=(r*i-o*t)*m,e[6]=f*m,e[7]=(n*s-c*t)*m,e[8]=(a*t-n*i)*m,this}transpose(){let e,t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){let t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,n,r,i,a,o){let s=Math.cos(i),c=Math.sin(i);return this.set(n*s,n*c,-n*(s*a+c*o)+a+e,-r*c,r*s,-r*(-c*a+s*o)+o+t,0,0,1),this}scale(e,t){return this.premultiply(rr.makeScale(e,t)),this}rotate(e){return this.premultiply(rr.makeRotation(-e)),this}translate(e,t){return this.premultiply(rr.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,n,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){let t=this.elements,n=e.elements;for(let e=0;e<9;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<9;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){let n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e}clone(){return new this.constructor().fromArray(this.elements)}},rr=new J,ir=new J().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),ar=new J().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715);function or(){let e={enabled:!0,workingColorSpace:En,spaces:{},convert:function(e,t,n){return this.enabled===!1||t===n||!t||!n?e:(this.spaces[t].transfer===`srgb`&&(e.r=sr(e.r),e.g=sr(e.g),e.b=sr(e.b)),this.spaces[t].primaries!==this.spaces[n].primaries&&(e.applyMatrix3(this.spaces[t].toXYZ),e.applyMatrix3(this.spaces[n].fromXYZ)),this.spaces[n].transfer===`srgb`&&(e.r=cr(e.r),e.g=cr(e.g),e.b=cr(e.b)),e)},workingToColorSpace:function(e,t){return this.convert(e,this.workingColorSpace,t)},colorSpaceToWorking:function(e,t){return this.convert(e,t,this.workingColorSpace)},getPrimaries:function(e){return this.spaces[e].primaries},getTransfer:function(e){return e===``?Dn:this.spaces[e].transfer},getToneMappingMode:function(e){return this.spaces[e].outputColorSpaceConfig.toneMappingMode||`standard`},getLuminanceCoefficients:function(e,t=this.workingColorSpace){return e.fromArray(this.spaces[t].luminanceCoefficients)},define:function(e){Object.assign(this.spaces,e)},_getMatrix:function(e,t,n){return e.copy(this.spaces[t].toXYZ).multiply(this.spaces[n].fromXYZ)},_getDrawingBufferColorSpace:function(e){return this.spaces[e].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(e=this.workingColorSpace){return this.spaces[e].workingColorSpaceConfig.unpackColorSpace},fromWorkingColorSpace:function(t,n){return Vn(`ColorManagement: .fromWorkingColorSpace() has been renamed to .workingToColorSpace().`),e.workingToColorSpace(t,n)},toWorkingColorSpace:function(t,n){return Vn(`ColorManagement: .toWorkingColorSpace() has been renamed to .colorSpaceToWorking().`),e.colorSpaceToWorking(t,n)}},t=[.64,.33,.3,.6,.15,.06],n=[.2126,.7152,.0722],r=[.3127,.329];return e.define({[En]:{primaries:t,whitePoint:r,transfer:Dn,toXYZ:ir,fromXYZ:ar,luminanceCoefficients:n,workingColorSpaceConfig:{unpackColorSpace:Tn},outputColorSpaceConfig:{drawingBufferColorSpace:Tn}},[Tn]:{primaries:t,whitePoint:r,transfer:On,toXYZ:ir,fromXYZ:ar,luminanceCoefficients:n,outputColorSpaceConfig:{drawingBufferColorSpace:Tn}}}),e}var Y=or();function sr(e){return e<.04045?e*.0773993808:(e*.9478672986+.0521327014)**2.4}function cr(e){return e<.0031308?e*12.92:1.055*e**.41666-.055}var lr,ur=class{static getDataURL(e,t=`image/png`){if(/^data:/i.test(e.src)||typeof HTMLCanvasElement>`u`)return e.src;let n;if(e instanceof HTMLCanvasElement)n=e;else{lr===void 0&&(lr=Fn(`canvas`)),lr.width=e.width,lr.height=e.height;let t=lr.getContext(`2d`);e instanceof ImageData?t.putImageData(e,0,0):t.drawImage(e,0,0,e.width,e.height),n=lr}return n.toDataURL(t)}static sRGBToLinear(e){if(typeof HTMLImageElement<`u`&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<`u`&&e instanceof HTMLCanvasElement||typeof ImageBitmap<`u`&&e instanceof ImageBitmap){let t=Fn(`canvas`);t.width=e.width,t.height=e.height;let n=t.getContext(`2d`);n.drawImage(e,0,0,e.width,e.height);let r=n.getImageData(0,0,e.width,e.height),i=r.data;for(let e=0;e1),this.pmremVersion=0,this.normalized=!1}get width(){return this.source.getSize(hr).x}get height(){return this.source.getSize(hr).y}get depth(){return this.source.getSize(hr).z}get image(){return this.source.data}set image(e){this.source.data=e}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}clone(){return new this.constructor().copy(this)}copy(e){return this.name=e.name,this.source=e.source,this.mipmaps=e.mipmaps.slice(0),this.mapping=e.mapping,this.channel=e.channel,this.wrapS=e.wrapS,this.wrapT=e.wrapT,this.magFilter=e.magFilter,this.minFilter=e.minFilter,this.anisotropy=e.anisotropy,this.format=e.format,this.internalFormat=e.internalFormat,this.type=e.type,this.normalized=e.normalized,this.offset.copy(e.offset),this.repeat.copy(e.repeat),this.center.copy(e.center),this.rotation=e.rotation,this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrix.copy(e.matrix),this.generateMipmaps=e.generateMipmaps,this.premultiplyAlpha=e.premultiplyAlpha,this.flipY=e.flipY,this.unpackAlignment=e.unpackAlignment,this.colorSpace=e.colorSpace,this.renderTarget=e.renderTarget,this.isRenderTargetTexture=e.isRenderTargetTexture,this.isArrayTexture=e.isArrayTexture,this.userData=JSON.parse(JSON.stringify(e.userData)),this.needsUpdate=!0,this}setValues(e){for(let t in e){let n=e[t];if(n===void 0){W(`Texture.setValues(): parameter '${t}' has value of undefined.`);continue}let r=this[t];if(r===void 0){W(`Texture.setValues(): property '${t}' does not exist.`);continue}r&&n&&r.isVector2&&n.isVector2||r&&n&&r.isVector3&&n.isVector3||r&&n&&r.isMatrix3&&n.isMatrix3?r.copy(n):this[t]=n}}toJSON(e){let t=e===void 0||typeof e==`string`;if(!t&&e.textures[this.uuid]!==void 0)return e.textures[this.uuid];let n={metadata:{version:4.7,type:`Texture`,generator:`Texture.toJSON`},uuid:this.uuid,name:this.name,image:this.source.toJSON(e).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,normalized:this.normalized,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(n.userData=this.userData),t||(e.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:`dispose`})}transformUv(e){if(this.mapping!==300)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case nt:e.x-=Math.floor(e.x);break;case rt:e.x=e.x<0?0:1;break;case it:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x-=Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case nt:e.y-=Math.floor(e.y);break;case rt:e.y=e.y<0?0:1;break;case it:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y-=Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(e){e===!0&&this.pmremVersion++}};gr.DEFAULT_IMAGE=null,gr.DEFAULT_MAPPING=300,gr.DEFAULT_ANISOTROPY=1;var _r=class e{static{e.prototype.isVector4=!0}constructor(e=0,t=0,n=0,r=1){this.x=e,this.y=t,this.z=n,this.w=r}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,n,r){return this.x=e,this.y=t,this.z=n,this.w=r,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw Error(`index is out of range: `+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw Error(`index is out of range: `+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w===void 0?1:e.w,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){let t=this.x,n=this.y,r=this.z,i=this.w,a=e.elements;return this.x=a[0]*t+a[4]*n+a[8]*r+a[12]*i,this.y=a[1]*t+a[5]*n+a[9]*r+a[13]*i,this.z=a[2]*t+a[6]*n+a[10]*r+a[14]*i,this.w=a[3]*t+a[7]*n+a[11]*r+a[15]*i,this}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this.w/=e.w,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);let t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,n,r,i,a=.01,o=.1,s=e.elements,c=s[0],l=s[4],u=s[8],d=s[1],f=s[5],p=s[9],m=s[2],h=s[6],g=s[10];if(Math.abs(l-d)s&&e>_?e_?s1);this.dispose()}this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}clone(){return new this.constructor().copy(this)}copy(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.scissor.copy(e.scissor),this.scissorTest=e.scissorTest,this.viewport.copy(e.viewport),this.textures.length=0;for(let t=0,n=e.textures.length;t>>0}enable(e){this.mask|=1<1){for(let e=0;e1){for(let e=0;e0&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),r.up=this.up.toArray(),this.pivot!==null&&(r.pivot=this.pivot.toArray()),this.matrixAutoUpdate===!1&&(r.matrixAutoUpdate=!1),this.morphTargetDictionary!==void 0&&(r.morphTargetDictionary=Object.assign({},this.morphTargetDictionary)),this.morphTargetInfluences!==void 0&&(r.morphTargetInfluences=this.morphTargetInfluences.slice()),this.isInstancedMesh&&(r.type=`InstancedMesh`,r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(r.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(r.type=`BatchedMesh`,r.perObjectFrustumCulled=this.perObjectFrustumCulled,r.sortObjects=this.sortObjects,r.drawRanges=this._drawRanges,r.reservedRanges=this._reservedRanges,r.geometryInfo=this._geometryInfo.map(e=>({...e,boundingBox:e.boundingBox?e.boundingBox.toJSON():void 0,boundingSphere:e.boundingSphere?e.boundingSphere.toJSON():void 0})),r.instanceInfo=this._instanceInfo.map(e=>({...e})),r.availableInstanceIds=this._availableInstanceIds.slice(),r.availableGeometryIds=this._availableGeometryIds.slice(),r.nextIndexStart=this._nextIndexStart,r.nextVertexStart=this._nextVertexStart,r.geometryCount=this._geometryCount,r.maxInstanceCount=this._maxInstanceCount,r.maxVertexCount=this._maxVertexCount,r.maxIndexCount=this._maxIndexCount,r.geometryInitialized=this._geometryInitialized,r.matricesTexture=this._matricesTexture.toJSON(e),r.indirectTexture=this._indirectTexture.toJSON(e),this._colorsTexture!==null&&(r.colorsTexture=this._colorsTexture.toJSON(e)),this.boundingSphere!==null&&(r.boundingSphere=this.boundingSphere.toJSON()),this.boundingBox!==null&&(r.boundingBox=this.boundingBox.toJSON()));function i(t,n){return t[n.uuid]===void 0&&(t[n.uuid]=n.toJSON(e)),n.uuid}if(this.isScene)this.background&&(this.background.isColor?r.background=this.background.toJSON():this.background.isTexture&&(r.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&this.environment.isRenderTargetTexture!==!0&&(r.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){r.geometry=i(e.geometries,this.geometry);let t=this.geometry.parameters;if(t!==void 0&&t.shapes!==void 0){let n=t.shapes;if(Array.isArray(n))for(let t=0,r=n.length;t0){r.children=[];for(let t=0;t0){r.animations=[];for(let t=0;t0&&(n.geometries=t),r.length>0&&(n.materials=r),i.length>0&&(n.textures=i),o.length>0&&(n.images=o),s.length>0&&(n.shapes=s),c.length>0&&(n.skeletons=c),l.length>0&&(n.animations=l),u.length>0&&(n.nodes=u)}return n.object=r,n;function a(e){let t=[];for(let n in e){let r=e[n];delete r.metadata,t.push(r)}return t}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.pivot=e.pivot===null?null:e.pivot.clone(),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.static=e.static,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),t===!0)for(let t=0;ts+l?(c.inputState.pinching=!1,this.dispatchEvent({type:`pinchend`,handedness:e.handedness,target:this})):!c.inputState.pinching&&o<=s-l&&(c.inputState.pinching=!0,this.dispatchEvent({type:`pinchstart`,handedness:e.handedness,target:this}))}else s!==null&&e.gripSpace&&(i=t.getPose(e.gripSpace,n),i!==null&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),s.matrixWorldNeedsUpdate=!0,i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1,s.eventsEnabled&&s.dispatchEvent({type:`gripUpdated`,data:e,target:this})));o!==null&&(r=t.getPose(e.targetRaySpace,n),r===null&&i!==null&&(r=i),r!==null&&(o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.rotation,o.scale),o.matrixWorldNeedsUpdate=!0,r.linearVelocity?(o.hasLinearVelocity=!0,o.linearVelocity.copy(r.linearVelocity)):o.hasLinearVelocity=!1,r.angularVelocity?(o.hasAngularVelocity=!0,o.angularVelocity.copy(r.angularVelocity)):o.hasAngularVelocity=!1,this.dispatchEvent(Zr)))}return o!==null&&(o.visible=r!==null),s!==null&&(s.visible=i!==null),c!==null&&(c.visible=a!==null),this}_getHandJoint(e,t){if(e.joints[t.jointName]===void 0){let n=new Xr;n.matrixAutoUpdate=!1,n.visible=!1,e.joints[t.jointName]=n,e.add(n)}return e.joints[t.jointName]}},$r={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},ei={h:0,s:0,l:0},ti={h:0,s:0,l:0};function ni(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)*6*(2/3-n):e}var X=class{constructor(e,t,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,n)}set(e,t,n){if(t===void 0&&n===void 0){let t=e;t&&t.isColor?this.copy(t):typeof t==`number`?this.setHex(t):typeof t==`string`&&this.setStyle(t)}else this.setRGB(e,t,n);return this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=Tn){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,Y.colorSpaceToWorking(this,t),this}setRGB(e,t,n,r=Y.workingColorSpace){return this.r=e,this.g=t,this.b=n,Y.colorSpaceToWorking(this,r),this}setHSL(e,t,n,r=Y.workingColorSpace){if(e=Yn(e,1),t=K(t,0,1),n=K(n,0,1),t===0)this.r=this.g=this.b=n;else{let r=n<=.5?n*(1+t):n+t-n*t,i=2*n-r;this.r=ni(i,r,e+1/3),this.g=ni(i,r,e),this.b=ni(i,r,e-1/3)}return Y.colorSpaceToWorking(this,r),this}setStyle(e,t=Tn){function n(t){t!==void 0&&parseFloat(t)<1&&W(`Color: Alpha component of `+e+` will be ignored.`)}let r;if(r=/^(\w+)\(([^\)]*)\)/.exec(e)){let i,a=r[1],o=r[2];switch(a){case`rgb`:case`rgba`:if(i=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return n(i[4]),this.setRGB(Math.min(255,parseInt(i[1],10))/255,Math.min(255,parseInt(i[2],10))/255,Math.min(255,parseInt(i[3],10))/255,t);if(i=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return n(i[4]),this.setRGB(Math.min(100,parseInt(i[1],10))/100,Math.min(100,parseInt(i[2],10))/100,Math.min(100,parseInt(i[3],10))/100,t);break;case`hsl`:case`hsla`:if(i=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return n(i[4]),this.setHSL(parseFloat(i[1])/360,parseFloat(i[2])/100,parseFloat(i[3])/100,t);break;default:W(`Color: Unknown color model `+e)}}else if(r=/^\#([A-Fa-f\d]+)$/.exec(e)){let n=r[1],i=n.length;if(i===3)return this.setRGB(parseInt(n.charAt(0),16)/15,parseInt(n.charAt(1),16)/15,parseInt(n.charAt(2),16)/15,t);if(i===6)return this.setHex(parseInt(n,16),t);W(`Color: Invalid hex color `+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=Tn){let n=$r[e.toLowerCase()];return n===void 0?W(`Color: Unknown color `+e):this.setHex(n,t),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=sr(e.r),this.g=sr(e.g),this.b=sr(e.b),this}copyLinearToSRGB(e){return this.r=cr(e.r),this.g=cr(e.g),this.b=cr(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=Tn){return Y.workingToColorSpace(ri.copy(this),e),Math.round(K(ri.r*255,0,255))*65536+Math.round(K(ri.g*255,0,255))*256+Math.round(K(ri.b*255,0,255))}getHexString(e=Tn){return(`000000`+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=Y.workingColorSpace){Y.workingToColorSpace(ri.copy(this),t);let n=ri.r,r=ri.g,i=ri.b,a=Math.max(n,r,i),o=Math.min(n,r,i),s,c,l=(o+a)/2;if(o===a)s=0,c=0;else{let e=a-o;switch(c=l<=.5?e/(a+o):e/(2-a-o),a){case n:s=(r-i)/e+(r0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(t.object.backgroundIntensity=this.backgroundIntensity),t.object.backgroundRotation=this.backgroundRotation.toArray(),this.environmentIntensity!==1&&(t.object.environmentIntensity=this.environmentIntensity),t.object.environmentRotation=this.environmentRotation.toArray(),t}},ai=new q,oi=new q,si=new q,ci=new q,li=new q,ui=new q,di=new q,fi=new q,pi=new q,mi=new q,hi=new _r,gi=new _r,_i=new _r,vi=class e{constructor(e=new q,t=new q,n=new q){this.a=e,this.b=t,this.c=n}static getNormal(e,t,n,r){r.subVectors(n,t),ai.subVectors(e,t),r.cross(ai);let i=r.lengthSq();return i>0?r.multiplyScalar(1/Math.sqrt(i)):r.set(0,0,0)}static getBarycoord(e,t,n,r,i){ai.subVectors(r,t),oi.subVectors(n,t),si.subVectors(e,t);let a=ai.dot(ai),o=ai.dot(oi),s=ai.dot(si),c=oi.dot(oi),l=oi.dot(si),u=a*c-o*o;if(u===0)return i.set(0,0,0),null;let d=1/u,f=(c*s-o*l)*d,p=(a*l-o*s)*d;return i.set(1-f-p,p,f)}static containsPoint(e,t,n,r){return this.getBarycoord(e,t,n,r,ci)===null?!1:ci.x>=0&&ci.y>=0&&ci.x+ci.y<=1}static getInterpolation(e,t,n,r,i,a,o,s){return this.getBarycoord(e,t,n,r,ci)===null?(s.x=0,s.y=0,`z`in s&&(s.z=0),`w`in s&&(s.w=0),null):(s.setScalar(0),s.addScaledVector(i,ci.x),s.addScaledVector(a,ci.y),s.addScaledVector(o,ci.z),s)}static getInterpolatedAttribute(e,t,n,r,i,a){return hi.setScalar(0),gi.setScalar(0),_i.setScalar(0),hi.fromBufferAttribute(e,t),gi.fromBufferAttribute(e,n),_i.fromBufferAttribute(e,r),a.setScalar(0),a.addScaledVector(hi,i.x),a.addScaledVector(gi,i.y),a.addScaledVector(_i,i.z),a}static isFrontFacing(e,t,n,r){return ai.subVectors(n,t),oi.subVectors(e,t),ai.cross(oi).dot(r)<0}set(e,t,n){return this.a.copy(e),this.b.copy(t),this.c.copy(n),this}setFromPointsAndIndices(e,t,n,r){return this.a.copy(e[t]),this.b.copy(e[n]),this.c.copy(e[r]),this}setFromAttributeAndIndices(e,t,n,r){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,n),this.c.fromBufferAttribute(e,r),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return ai.subVectors(this.c,this.b),oi.subVectors(this.a,this.b),ai.cross(oi).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(t){return e.getNormal(this.a,this.b,this.c,t)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(t,n){return e.getBarycoord(t,this.a,this.b,this.c,n)}getInterpolation(t,n,r,i,a){return e.getInterpolation(t,this.a,this.b,this.c,n,r,i,a)}containsPoint(t){return e.containsPoint(t,this.a,this.b,this.c)}isFrontFacing(t){return e.isFrontFacing(this.a,this.b,this.c,t)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){let n=this.a,r=this.b,i=this.c,a,o;li.subVectors(r,n),ui.subVectors(i,n),fi.subVectors(e,n);let s=li.dot(fi),c=ui.dot(fi);if(s<=0&&c<=0)return t.copy(n);pi.subVectors(e,r);let l=li.dot(pi),u=ui.dot(pi);if(l>=0&&u<=l)return t.copy(r);let d=s*u-l*c;if(d<=0&&s>=0&&l<=0)return a=s/(s-l),t.copy(n).addScaledVector(li,a);mi.subVectors(e,i);let f=li.dot(mi),p=ui.dot(mi);if(p>=0&&f<=p)return t.copy(i);let m=f*c-s*p;if(m<=0&&c>=0&&p<=0)return o=c/(c-p),t.copy(n).addScaledVector(ui,o);let h=l*p-f*u;if(h<=0&&u-l>=0&&f-p>=0)return di.subVectors(i,r),o=(u-l)/(u-l+(f-p)),t.copy(r).addScaledVector(di,o);let g=1/(h+m+d);return a=m*g,o=d*g,t.copy(n).addScaledVector(li,a).addScaledVector(ui,o)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}},yi=class{constructor(e=new q(1/0,1/0,1/0),t=new q(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,n=e.length;t=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y&&e.z>=this.min.z&&e.z<=this.max.z}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y&&e.max.z>=this.min.z&&e.min.z<=this.max.z}intersectsSphere(e){return this.clampPoint(e.center,xi),xi.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,n;return e.normal.x>0?(t=e.normal.x*this.min.x,n=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,n=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,n+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,n+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,n+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,n+=e.normal.z*this.min.z),t<=-e.constant&&n>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(ki),Ai.subVectors(this.max,ki),Ci.subVectors(e.a,ki),wi.subVectors(e.b,ki),Ti.subVectors(e.c,ki),Ei.subVectors(wi,Ci),Di.subVectors(Ti,wi),Oi.subVectors(Ci,Ti);let t=[0,-Ei.z,Ei.y,0,-Di.z,Di.y,0,-Oi.z,Oi.y,Ei.z,0,-Ei.x,Di.z,0,-Di.x,Oi.z,0,-Oi.x,-Ei.y,Ei.x,0,-Di.y,Di.x,0,-Oi.y,Oi.x,0];return!Ni(t,Ci,wi,Ti,Ai)||(t=[1,0,0,0,1,0,0,0,1],!Ni(t,Ci,wi,Ti,Ai))?!1:(ji.crossVectors(Ei,Di),t=[ji.x,ji.y,ji.z],Ni(t,Ci,wi,Ti,Ai))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,xi).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=this.getSize(xi).length()*.5),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(bi[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),bi[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),bi[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),bi[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),bi[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),bi[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),bi[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),bi[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(bi),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}toJSON(){return{min:this.min.toArray(),max:this.max.toArray()}}fromJSON(e){return this.min.fromArray(e.min),this.max.fromArray(e.max),this}},bi=[new q,new q,new q,new q,new q,new q,new q,new q],xi=new q,Si=new yi,Ci=new q,wi=new q,Ti=new q,Ei=new q,Di=new q,Oi=new q,ki=new q,Ai=new q,ji=new q,Mi=new q;function Ni(e,t,n,r,i){for(let a=0,o=e.length-3;a<=o;a+=3){Mi.fromArray(e,a);let o=i.x*Math.abs(Mi.x)+i.y*Math.abs(Mi.y)+i.z*Math.abs(Mi.z),s=t.dot(Mi),c=n.dot(Mi),l=r.dot(Mi);if(Math.max(-Math.max(s,c,l),Math.min(s,c,l))>o)return!1}return!0}var Pi=new q,Fi=new $n,Ii=0,Z=class extends Wn{constructor(e,t,n=!1){if(super(),Array.isArray(e))throw TypeError(`THREE.BufferAttribute: array should be a Typed Array.`);this.isBufferAttribute=!0,Object.defineProperty(this,`id`,{value:Ii++}),this.name=``,this.array=e,this.itemSize=t,this.count=e===void 0?0:e.length/t,this.normalized=n,this.usage=An,this.updateRanges=[],this.gpuType=_t,this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,n){e*=this.itemSize,n*=t.itemSize;for(let r=0,i=this.itemSize;rthis.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius*=e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;Vi.subVectors(e,this.center);let t=Vi.lengthSq();if(t>this.radius*this.radius){let e=Math.sqrt(t),n=(e-this.radius)*.5;this.center.addScaledVector(Vi,n/e),this.radius+=n}return this}union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(this.center.equals(e.center)===!0?this.radius=Math.max(this.radius,e.radius):(Hi.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(Vi.copy(e.center).add(Hi)),this.expandByPoint(Vi.copy(e.center).sub(Hi))),this)}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}toJSON(){return{radius:this.radius,center:this.center.toArray()}}fromJSON(e){return this.radius=e.radius,this.center.fromArray(e.center),this}},Wi=0,Gi=new Sr,Ki=new Yr,qi=new q,Ji=new yi,Yi=new yi,Xi=new q,Zi=class e extends Wn{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,`id`,{value:Wi++}),this.uuid=Jn(),this.name=``,this.type=`BufferGeometry`,this.index=null,this.indirect=null,this.indirectOffset=0,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(e){return Array.isArray(e)?this.index=new(Nn(e)?Ri:Li)(e,1):this.index=e,this}setIndirect(e,t=0){return this.indirect=e,this.indirectOffset=t,this}getIndirect(){return this.indirect}getAttribute(e){return this.attributes[e]}setAttribute(e,t){return this.attributes[e]=t,this}deleteAttribute(e){return delete this.attributes[e],this}hasAttribute(e){return this.attributes[e]!==void 0}addGroup(e,t,n=0){this.groups.push({start:e,count:t,materialIndex:n})}clearGroups(){this.groups=[]}setDrawRange(e,t){this.drawRange.start=e,this.drawRange.count=t}applyMatrix4(e){let t=this.attributes.position;t!==void 0&&(t.applyMatrix4(e),t.needsUpdate=!0);let n=this.attributes.normal;if(n!==void 0){let t=new J().getNormalMatrix(e);n.applyNormalMatrix(t),n.needsUpdate=!0}let r=this.attributes.tangent;return r!==void 0&&(r.transformDirection(e),r.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this}applyQuaternion(e){return Gi.makeRotationFromQuaternion(e),this.applyMatrix4(Gi),this}rotateX(e){return Gi.makeRotationX(e),this.applyMatrix4(Gi),this}rotateY(e){return Gi.makeRotationY(e),this.applyMatrix4(Gi),this}rotateZ(e){return Gi.makeRotationZ(e),this.applyMatrix4(Gi),this}translate(e,t,n){return Gi.makeTranslation(e,t,n),this.applyMatrix4(Gi),this}scale(e,t,n){return Gi.makeScale(e,t,n),this.applyMatrix4(Gi),this}lookAt(e){return Ki.lookAt(e),Ki.updateMatrix(),this.applyMatrix4(Ki.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(qi).negate(),this.translate(qi.x,qi.y,qi.z),this}setFromPoints(e){let t=this.getAttribute(`position`);if(t===void 0){let t=[];for(let n=0,r=e.length;nt.count&&W(`BufferGeometry: Buffer size too small for points data. Use .dispose() and create a new geometry.`),t.needsUpdate=!0}return this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new yi);let e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute){G(`BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.`,this),this.boundingBox.set(new q(-1/0,-1/0,-1/0),new q(1/0,1/0,1/0));return}if(e!==void 0){if(this.boundingBox.setFromBufferAttribute(e),t)for(let e=0,n=t.length;e0&&(e.userData=this.userData),this.parameters!==void 0){let t=this.parameters;for(let n in t)t[n]!==void 0&&(e[n]=t[n]);return e}e.data={attributes:{}};let t=this.index;t!==null&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});let n=this.attributes;for(let t in n){let r=n[t];e.data.attributes[t]=r.toJSON(e.data)}let r={},i=!1;for(let t in this.morphAttributes){let n=this.morphAttributes[t],a=[];for(let t=0,r=n.length;t0&&(r[t]=a,i=!0)}i&&(e.data.morphAttributes=r,e.data.morphTargetsRelative=this.morphTargetsRelative);let a=this.groups;a.length>0&&(e.data.groups=JSON.parse(JSON.stringify(a)));let o=this.boundingSphere;return o!==null&&(e.data.boundingSphere=o.toJSON()),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;let t={};this.name=e.name;let n=e.index;n!==null&&this.setIndex(n.clone());let r=e.attributes;for(let e in r){let n=r[e];this.setAttribute(e,n.clone(t))}let i=e.morphAttributes;for(let e in i){let n=[],r=i[e];for(let e=0,i=r.length;e0!=e>0&&this.version++,this._alphaTest=e}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(let t in e){let n=e[t];if(n===void 0){W(`Material: parameter '${t}' has value of undefined.`);continue}let r=this[t];if(r===void 0){W(`Material: '${t}' is not a property of THREE.${this.type}.`);continue}r&&r.isColor?r.set(n):r&&r.isVector3&&n&&n.isVector3?r.copy(n):this[t]=n}}toJSON(e){let t=e===void 0||typeof e==`string`;t&&(e={textures:{},images:{}});let n={metadata:{version:4.7,type:`Material`,generator:`Material.toJSON`}};n.uuid=this.uuid,n.type=this.type,this.name!==``&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),this.roughness!==void 0&&(n.roughness=this.roughness),this.metalness!==void 0&&(n.metalness=this.metalness),this.sheen!==void 0&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity!==void 0&&this.emissiveIntensity!==1&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(n.shininess=this.shininess),this.clearcoat!==void 0&&(n.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.sheenColorMap&&this.sheenColorMap.isTexture&&(n.sheenColorMap=this.sheenColorMap.toJSON(e).uuid),this.sheenRoughnessMap&&this.sheenRoughnessMap.isTexture&&(n.sheenRoughnessMap=this.sheenRoughnessMap.toJSON(e).uuid),this.dispersion!==void 0&&(n.dispersion=this.dispersion),this.iridescence!==void 0&&(n.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(n.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.anisotropy!==void 0&&(n.anisotropy=this.anisotropy),this.anisotropyRotation!==void 0&&(n.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(n.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(e).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(e).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(e).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(e).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(e).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(n.combine=this.combine)),this.envMapRotation!==void 0&&(n.envMapRotation=this.envMapRotation.toArray()),this.envMapIntensity!==void 0&&(n.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(n.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(n.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(n.size=this.size),this.shadowSide!==null&&(n.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(n.sizeAttenuation=this.sizeAttenuation),this.blending!==1&&(n.blending=this.blending),this.side!==0&&(n.side=this.side),this.vertexColors===!0&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),this.transparent===!0&&(n.transparent=!0),this.blendSrc!==204&&(n.blendSrc=this.blendSrc),this.blendDst!==205&&(n.blendDst=this.blendDst),this.blendEquation!==100&&(n.blendEquation=this.blendEquation),this.blendSrcAlpha!==null&&(n.blendSrcAlpha=this.blendSrcAlpha),this.blendDstAlpha!==null&&(n.blendDstAlpha=this.blendDstAlpha),this.blendEquationAlpha!==null&&(n.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(n.blendColor=this.blendColor.getHex()),this.blendAlpha!==0&&(n.blendAlpha=this.blendAlpha),this.depthFunc!==3&&(n.depthFunc=this.depthFunc),this.depthTest===!1&&(n.depthTest=this.depthTest),this.depthWrite===!1&&(n.depthWrite=this.depthWrite),this.colorWrite===!1&&(n.colorWrite=this.colorWrite),this.stencilWriteMask!==255&&(n.stencilWriteMask=this.stencilWriteMask),this.stencilFunc!==519&&(n.stencilFunc=this.stencilFunc),this.stencilRef!==0&&(n.stencilRef=this.stencilRef),this.stencilFuncMask!==255&&(n.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==7680&&(n.stencilFail=this.stencilFail),this.stencilZFail!==7680&&(n.stencilZFail=this.stencilZFail),this.stencilZPass!==7680&&(n.stencilZPass=this.stencilZPass),this.stencilWrite===!0&&(n.stencilWrite=this.stencilWrite),this.rotation!==void 0&&this.rotation!==0&&(n.rotation=this.rotation),this.polygonOffset===!0&&(n.polygonOffset=!0),this.polygonOffsetFactor!==0&&(n.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(n.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(n.linewidth=this.linewidth),this.dashSize!==void 0&&(n.dashSize=this.dashSize),this.gapSize!==void 0&&(n.gapSize=this.gapSize),this.scale!==void 0&&(n.scale=this.scale),this.dithering===!0&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),this.alphaHash===!0&&(n.alphaHash=!0),this.alphaToCoverage===!0&&(n.alphaToCoverage=!0),this.premultipliedAlpha===!0&&(n.premultipliedAlpha=!0),this.forceSinglePass===!0&&(n.forceSinglePass=!0),this.allowOverride===!1&&(n.allowOverride=!1),this.wireframe===!0&&(n.wireframe=!0),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!==`round`&&(n.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!==`round`&&(n.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(n.flatShading=!0),this.visible===!1&&(n.visible=!1),this.toneMapped===!1&&(n.toneMapped=!1),this.fog===!1&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData);function r(e){let t=[];for(let n in e){let r=e[n];delete r.metadata,t.push(r)}return t}if(t){let t=r(e.textures),i=r(e.images);t.length>0&&(n.textures=t),i.length>0&&(n.images=i)}return n}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;let t=e.clippingPlanes,n=null;if(t!==null){let e=t.length;n=Array(e);for(let r=0;r!==e;++r)n[r]=t[r].clone()}return this.clippingPlanes=n,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.allowOverride=e.allowOverride,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:`dispose`})}set needsUpdate(e){e===!0&&this.version++}},ea=new q,ta=new q,na=new q,ra=new q,ia=new q,aa=new q,oa=new q,sa=class{constructor(e=new q,t=new q(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,ea)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);let n=t.dot(this.direction);return n<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){let t=ea.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(ea.copy(this.origin).addScaledVector(this.direction,t),ea.distanceToSquared(e))}distanceSqToSegment(e,t,n,r){ta.copy(e).add(t).multiplyScalar(.5),na.copy(t).sub(e).normalize(),ra.copy(this.origin).sub(ta);let i=e.distanceTo(t)*.5,a=-this.direction.dot(na),o=ra.dot(this.direction),s=-ra.dot(na),c=ra.lengthSq(),l=Math.abs(1-a*a),u,d,f,p;if(l>0)if(u=a*s-o,d=a*o-s,p=i*l,u>=0)if(d>=-p)if(d<=p){let e=1/l;u*=e,d*=e,f=u*(u+a*d+2*o)+d*(a*u+d+2*s)+c}else d=i,u=Math.max(0,-(a*d+o)),f=-u*u+d*(d+2*s)+c;else d=-i,u=Math.max(0,-(a*d+o)),f=-u*u+d*(d+2*s)+c;else d<=-p?(u=Math.max(0,-(-a*i+o)),d=u>0?-i:Math.min(Math.max(-i,-s),i),f=-u*u+d*(d+2*s)+c):d<=p?(u=0,d=Math.min(Math.max(-i,-s),i),f=d*(d+2*s)+c):(u=Math.max(0,-(a*i+o)),d=u>0?i:Math.min(Math.max(-i,-s),i),f=-u*u+d*(d+2*s)+c);else d=a>0?-i:i,u=Math.max(0,-(a*d+o)),f=-u*u+d*(d+2*s)+c;return n&&n.copy(this.origin).addScaledVector(this.direction,u),r&&r.copy(ta).addScaledVector(na,d),f}intersectSphere(e,t){ea.subVectors(e.center,this.origin);let n=ea.dot(this.direction),r=ea.dot(ea)-n*n,i=e.radius*e.radius;if(r>i)return null;let a=Math.sqrt(i-r),o=n-a,s=n+a;return s<0?null:o<0?this.at(s,t):this.at(o,t)}intersectsSphere(e){return e.radius<0?!1:this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){let t=e.normal.dot(this.direction);if(t===0)return e.distanceToPoint(this.origin)===0?0:null;let n=-(this.origin.dot(e.normal)+e.constant)/t;return n>=0?n:null}intersectPlane(e,t){let n=this.distanceToPlane(e);return n===null?null:this.at(n,t)}intersectsPlane(e){let t=e.distanceToPoint(this.origin);return t===0||e.normal.dot(this.direction)*t<0}intersectBox(e,t){let n,r,i,a,o,s,c=1/this.direction.x,l=1/this.direction.y,u=1/this.direction.z,d=this.origin;return c>=0?(n=(e.min.x-d.x)*c,r=(e.max.x-d.x)*c):(n=(e.max.x-d.x)*c,r=(e.min.x-d.x)*c),l>=0?(i=(e.min.y-d.y)*l,a=(e.max.y-d.y)*l):(i=(e.max.y-d.y)*l,a=(e.min.y-d.y)*l),n>a||i>r||((i>n||isNaN(n))&&(n=i),(a=0?(o=(e.min.z-d.z)*u,s=(e.max.z-d.z)*u):(o=(e.max.z-d.z)*u,s=(e.min.z-d.z)*u),n>s||o>r)||((o>n||n!==n)&&(n=o),(s=0?n:r,t)}intersectsBox(e){return this.intersectBox(e,ea)!==null}intersectTriangle(e,t,n,r,i){ia.subVectors(t,e),aa.subVectors(n,e),oa.crossVectors(ia,aa);let a=this.direction.dot(oa),o;if(a>0){if(r)return null;o=1}else if(a<0)o=-1,a=-a;else return null;ra.subVectors(this.origin,e);let s=o*this.direction.dot(aa.crossVectors(ra,aa));if(s<0)return null;let c=o*this.direction.dot(ia.cross(ra));if(c<0||s+c>a)return null;let l=-o*ra.dot(oa);return l<0?null:this.at(l/a,i)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}},ca=class extends $i{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type=`MeshBasicMaterial`,this.color=new X(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Mr,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=`round`,this.wireframeLinejoin=`round`,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}},la=new Sr,ua=new sa,da=new Ui,fa=new q,pa=new q,ma=new q,ha=new q,ga=new q,_a=new q,va=new q,ya=new q,ba=class extends Yr{constructor(e=new Zi,t=new ca){super(),this.isMesh=!0,this.type=`Mesh`,this.geometry=e,this.material=t,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.count=1,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),e.morphTargetInfluences!==void 0&&(this.morphTargetInfluences=e.morphTargetInfluences.slice()),e.morphTargetDictionary!==void 0&&(this.morphTargetDictionary=Object.assign({},e.morphTargetDictionary)),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}updateMorphTargets(){let e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){let n=e[t[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;e(e.far-e.near)**2))&&(la.copy(i).invert(),ua.copy(e.ray).applyMatrix4(la),!(n.boundingBox!==null&&ua.intersectsBox(n.boundingBox)===!1)&&this._computeIntersections(e,t,ua)))}_computeIntersections(e,t,n){let r,i=this.geometry,a=this.material,o=i.index,s=i.attributes.position,c=i.attributes.uv,l=i.attributes.uv1,u=i.attributes.normal,d=i.groups,f=i.drawRange;if(o!==null)if(Array.isArray(a))for(let i=0,s=d.length;in.far?null:{distance:l,point:ya.clone(),object:e}}function Sa(e,t,n,r,i,a,o,s,c,l){e.getVertexPosition(s,pa),e.getVertexPosition(c,ma),e.getVertexPosition(l,ha);let u=xa(e,t,n,r,pa,ma,ha,va);if(u){let e=new q;vi.getBarycoord(va,pa,ma,ha,e),i&&(u.uv=vi.getInterpolatedAttribute(i,s,c,l,e,new $n)),a&&(u.uv1=vi.getInterpolatedAttribute(a,s,c,l,e,new $n)),o&&(u.normal=vi.getInterpolatedAttribute(o,s,c,l,e,new q),u.normal.dot(r.direction)>0&&u.normal.multiplyScalar(-1));let t={a:s,b:c,c:l,normal:new q,materialIndex:0};vi.getNormal(pa,ma,ha,t.normal),u.face=t,u.barycoord=e}return u}var Ca=class extends gr{constructor(e=null,t=1,n=1,r,i,a,o,s,c=at,l=at,u,d){super(null,a,o,s,c,l,r,i,u,d),this.isDataTexture=!0,this.image={data:e,width:t,height:n},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}},wa=new q,Ta=new q,Ea=new J,Da=class{constructor(e=new q(1,0,0),t=0){this.isPlane=!0,this.normal=e,this.constant=t}set(e,t){return this.normal.copy(e),this.constant=t,this}setComponents(e,t,n,r){return this.normal.set(e,t,n),this.constant=r,this}setFromNormalAndCoplanarPoint(e,t){return this.normal.copy(e),this.constant=-t.dot(this.normal),this}setFromCoplanarPoints(e,t,n){let r=wa.subVectors(n,t).cross(Ta.subVectors(e,t)).normalize();return this.setFromNormalAndCoplanarPoint(r,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){let e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,t){return t.copy(e).addScaledVector(this.normal,-this.distanceToPoint(e))}intersectLine(e,t,n=!0){let r=e.delta(wa),i=this.normal.dot(r);if(i===0)return this.distanceToPoint(e.start)===0?t.copy(e.start):null;let a=-(e.start.dot(this.normal)+this.constant)/i;return n===!0&&(a<0||a>1)?null:t.copy(e.start).addScaledVector(r,a)}intersectsLine(e){let t=this.distanceToPoint(e.start),n=this.distanceToPoint(e.end);return t<0&&n>0||n<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){let n=t||Ea.getNormalMatrix(e),r=this.coplanarPoint(wa).applyMatrix4(e),i=this.normal.applyMatrix3(n).normalize();return this.constant=-r.dot(i),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}},Oa=new Ui,ka=new $n(.5,.5),Aa=new q,ja=class{constructor(e=new Da,t=new Da,n=new Da,r=new Da,i=new Da,a=new Da){this.planes=[e,t,n,r,i,a]}set(e,t,n,r,i,a){let o=this.planes;return o[0].copy(e),o[1].copy(t),o[2].copy(n),o[3].copy(r),o[4].copy(i),o[5].copy(a),this}copy(e){let t=this.planes;for(let n=0;n<6;n++)t[n].copy(e.planes[n]);return this}setFromProjectionMatrix(e,t=Mn,n=!1){let r=this.planes,i=e.elements,a=i[0],o=i[1],s=i[2],c=i[3],l=i[4],u=i[5],d=i[6],f=i[7],p=i[8],m=i[9],h=i[10],g=i[11],_=i[12],v=i[13],y=i[14],b=i[15];if(r[0].setComponents(c-a,f-l,g-p,b-_).normalize(),r[1].setComponents(c+a,f+l,g+p,b+_).normalize(),r[2].setComponents(c+o,f+u,g+m,b+v).normalize(),r[3].setComponents(c-o,f-u,g-m,b-v).normalize(),n)r[4].setComponents(s,d,h,y).normalize(),r[5].setComponents(c-s,f-d,g-h,b-y).normalize();else if(r[4].setComponents(c-s,f-d,g-h,b-y).normalize(),t===2e3)r[5].setComponents(c+s,f+d,g+h,b+y).normalize();else if(t===2001)r[5].setComponents(s,d,h,y).normalize();else throw Error(`THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: `+t);return this}intersectsObject(e){if(e.boundingSphere!==void 0)e.boundingSphere===null&&e.computeBoundingSphere(),Oa.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{let t=e.geometry;t.boundingSphere===null&&t.computeBoundingSphere(),Oa.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(Oa)}intersectsSprite(e){return Oa.center.set(0,0,0),Oa.radius=.7071067811865476+ka.distanceTo(e.center),Oa.applyMatrix4(e.matrixWorld),this.intersectsSphere(Oa)}intersectsSphere(e){let t=this.planes,n=e.center,r=-e.radius;for(let e=0;e<6;e++)if(t[e].distanceToPoint(n)0?e.max.x:e.min.x,Aa.y=r.normal.y>0?e.max.y:e.min.y,Aa.z=r.normal.z>0?e.max.z:e.min.z,r.distanceToPoint(Aa)<0)return!1}return!0}containsPoint(e){let t=this.planes;for(let n=0;n<6;n++)if(t[n].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}},Ma=class extends $i{constructor(e){super(),this.isLineBasicMaterial=!0,this.type=`LineBasicMaterial`,this.color=new X(16777215),this.map=null,this.linewidth=1,this.linecap=`round`,this.linejoin=`round`,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.linewidth=e.linewidth,this.linecap=e.linecap,this.linejoin=e.linejoin,this.fog=e.fog,this}},Na=new q,Pa=new q,Fa=new Sr,Ia=new sa,La=new Ui,Ra=new q,za=new q,Ba=class extends Yr{constructor(e=new Zi,t=new Ma){super(),this.isLine=!0,this.type=`Line`,this.geometry=e,this.material=t,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}computeLineDistances(){let e=this.geometry;if(e.index===null){let t=e.attributes.position,n=[0];for(let e=1,r=t.count;e0){let n=e[t[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;er)return;Ra.applyMatrix4(e.matrixWorld);let c=t.ray.origin.distanceTo(Ra);if(!(ct.far))return{distance:c,point:za.clone().applyMatrix4(e.matrixWorld),index:o,face:null,faceIndex:null,barycoord:null,object:e}}var Ha=new q,Ua=new q,Wa=class extends Ba{constructor(e,t){super(e,t),this.isLineSegments=!0,this.type=`LineSegments`}computeLineDistances(){let e=this.geometry;if(e.index===null){let t=e.attributes.position,n=[];for(let e=0,r=t.count;e0){let n=e[t[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;ei.far)return;a.push({distance:c,distanceToRay:Math.sqrt(s),point:n,index:t,face:null,faceIndex:null,barycoord:null,object:o})}}var Qa=class extends gr{constructor(e=[],t=301,n,r,i,a,o,s,c,l){super(e,t,n,r,i,a,o,s,c,l),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}},$a=class extends gr{constructor(e,t,n=gt,r,i,a,o=at,s=at,c,l=Dt,u=1){if(l!==1026&&l!==1027)throw Error(`DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat`);super({width:e,height:t,depth:u},r,i,a,o,s,l,n,c),this.isDepthTexture=!0,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(e){return super.copy(e),this.source=new fr(Object.assign({},e.image)),this.compareFunction=e.compareFunction,this}toJSON(e){let t=super.toJSON(e);return this.compareFunction!==null&&(t.compareFunction=this.compareFunction),t}},eo=class extends $a{constructor(e,t=gt,n=301,r,i,a=at,o=at,s,c=Dt){let l={width:e,height:e,depth:1},u=[l,l,l,l,l,l];super(e,e,t,n,r,i,a,o,s,c),this.image=u,this.isCubeDepthTexture=!0,this.isCubeTexture=!0}get images(){return this.image}set images(e){this.image=e}},to=class extends gr{constructor(e=null){super(),this.sourceTexture=e,this.isExternalTexture=!0}copy(e){return super.copy(e),this.sourceTexture=e.sourceTexture,this}},no=class e extends Zi{constructor(e=1,t=1,n=1,r=1,i=1,a=1){super(),this.type=`BoxGeometry`,this.parameters={width:e,height:t,depth:n,widthSegments:r,heightSegments:i,depthSegments:a};let o=this;r=Math.floor(r),i=Math.floor(i),a=Math.floor(a);let s=[],c=[],l=[],u=[],d=0,f=0;p(`z`,`y`,`x`,-1,-1,n,t,e,a,i,0),p(`z`,`y`,`x`,1,-1,n,t,-e,a,i,1),p(`x`,`z`,`y`,1,1,e,n,t,r,a,2),p(`x`,`z`,`y`,1,-1,e,n,-t,r,a,3),p(`x`,`y`,`z`,1,-1,e,t,n,r,i,4),p(`x`,`y`,`z`,-1,-1,e,t,-n,r,i,5),this.setIndex(s),this.setAttribute(`position`,new zi(c,3)),this.setAttribute(`normal`,new zi(l,3)),this.setAttribute(`uv`,new zi(u,2));function p(e,t,n,r,i,a,p,m,h,g,_){let v=a/h,y=p/g,b=a/2,x=p/2,S=m/2,C=h+1,w=g+1,T=0,E=0,D=new q;for(let a=0;a0?1:-1,l.push(D.x,D.y,D.z),u.push(s/h),u.push(1-a/g),T+=1}for(let e=0;e0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;let n={};for(let e in this.extensions)this.extensions[e]===!0&&(n[e]=!0);return Object.keys(n).length>0&&(t.extensions=n),t}},mo=class extends po{constructor(e){super(e),this.isRawShaderMaterial=!0,this.type=`RawShaderMaterial`}},ho=class extends $i{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type=`MeshPhongMaterial`,this.color=new X(16777215),this.specular=new X(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new X(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new $n(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Mr,this.combine=0,this.reflectivity=1,this.envMapIntensity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=`round`,this.wireframeLinejoin=`round`,this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.envMapIntensity=e.envMapIntensity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}},go=class extends $i{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type=`MeshDepthMaterial`,this.depthPacking=wn,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}},_o=class extends $i{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type=`MeshDistanceMaterial`,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}};function vo(e,t){return!e||e.constructor===t?e:typeof t.BYTES_PER_ELEMENT==`number`?new t(e):Array.prototype.slice.call(e)}var yo=class{constructor(e,t,n,r){this.parameterPositions=e,this._cachedIndex=0,this.resultBuffer=r===void 0?new t.constructor(n):r,this.sampleValues=t,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(e){let t=this.parameterPositions,n=this._cachedIndex,r=t[n],i=t[n-1];validate_interval:{seek:{let a;linear_scan:{forward_scan:if(!(e=i)){let o=t[1];e=i)break seek}a=n,n=0;break linear_scan}break validate_interval}for(;n>>1;et;)--a;if(++a,i!==0||a!==r){i>=a&&(a=Math.max(a,1),i=a-1);let e=this.getValueSize();this.times=n.slice(i,a),this.values=this.values.slice(i*e,a*e)}return this}validate(){let e=!0,t=this.getValueSize();t-Math.floor(t)!==0&&(G(`KeyframeTrack: Invalid value size in track.`,this),e=!1);let n=this.times,r=this.values,i=n.length;i===0&&(G(`KeyframeTrack: Track is empty.`,this),e=!1);let a=null;for(let t=0;t!==i;t++){let r=n[t];if(typeof r==`number`&&isNaN(r)){G(`KeyframeTrack: Time is not a valid number.`,this,t,r),e=!1;break}if(a!==null&&a>r){G(`KeyframeTrack: Out of order keys.`,this,t,r,a),e=!1;break}a=r}if(r!==void 0&&Pn(r))for(let t=0,n=r.length;t!==n;++t){let n=r[t];if(isNaN(n)){G(`KeyframeTrack: Value is not a valid number.`,this,t,n),e=!1;break}}return e}optimize(){let e=this.times.slice(),t=this.values.slice(),n=this.getValueSize(),r=this.getInterpolation()===yn,i=e.length-1,a=1;for(let o=1;o0){e[a]=e[i];for(let e=i*n,r=a*n,o=0;o!==n;++o)t[r+o]=t[e+o];++a}return a===e.length?(this.times=e,this.values=t):(this.times=e.slice(0,a),this.values=t.slice(0,a*n)),this}clone(){let e=this.times.slice(),t=this.values.slice(),n=this.constructor,r=new n(this.name,e,t);return r.createInterpolant=this.createInterpolant,r}};wo.prototype.ValueTypeName=``,wo.prototype.TimeBufferType=Float32Array,wo.prototype.ValueBufferType=Float32Array,wo.prototype.DefaultInterpolation=vn;var To=class extends wo{constructor(e,t,n){super(e,t,n)}};To.prototype.ValueTypeName=`bool`,To.prototype.ValueBufferType=Array,To.prototype.DefaultInterpolation=_n,To.prototype.InterpolantFactoryMethodLinear=void 0,To.prototype.InterpolantFactoryMethodSmooth=void 0;var Eo=class extends wo{constructor(e,t,n,r){super(e,t,n,r)}};Eo.prototype.ValueTypeName=`color`;var Do=class extends wo{constructor(e,t,n,r){super(e,t,n,r)}};Do.prototype.ValueTypeName=`number`;var Oo=class extends yo{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e,t,n,r){let i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,s=(n-t)/(r-t),c=e*o;for(let e=c+o;c!==e;c+=4)er.slerpFlat(i,0,a,c-o,a,c,s);return i}},ko=class extends wo{constructor(e,t,n,r){super(e,t,n,r)}InterpolantFactoryMethodLinear(e){return new Oo(this.times,this.values,this.getValueSize(),e)}};ko.prototype.ValueTypeName=`quaternion`,ko.prototype.InterpolantFactoryMethodSmooth=void 0;var Ao=class extends wo{constructor(e,t,n){super(e,t,n)}};Ao.prototype.ValueTypeName=`string`,Ao.prototype.ValueBufferType=Array,Ao.prototype.DefaultInterpolation=_n,Ao.prototype.InterpolantFactoryMethodLinear=void 0,Ao.prototype.InterpolantFactoryMethodSmooth=void 0;var jo=class extends wo{constructor(e,t,n,r){super(e,t,n,r)}};jo.prototype.ValueTypeName=`vector`;var Mo=new class{constructor(e,t,n){let r=this,i=!1,a=0,o=0,s,c=[];this.onStart=void 0,this.onLoad=e,this.onProgress=t,this.onError=n,this._abortController=null,this.itemStart=function(e){o++,i===!1&&r.onStart!==void 0&&r.onStart(e,a,o),i=!0},this.itemEnd=function(e){a++,r.onProgress!==void 0&&r.onProgress(e,a,o),a===o&&(i=!1,r.onLoad!==void 0&&r.onLoad())},this.itemError=function(e){r.onError!==void 0&&r.onError(e)},this.resolveURL=function(e){return s?s(e):e},this.setURLModifier=function(e){return s=e,this},this.addHandler=function(e,t){return c.push(e,t),this},this.removeHandler=function(e){let t=c.indexOf(e);return t!==-1&&c.splice(t,2),this},this.getHandler=function(e){for(let t=0,n=c.length;te.start-t.start);let t=0;for(let e=1;e 0 - vec4 plane; - #ifdef ALPHA_TO_COVERAGE - float distanceToPlane, distanceGradient; - float clipOpacity = 1.0; - #pragma unroll_loop_start - for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) { - plane = clippingPlanes[ i ]; - distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w; - distanceGradient = fwidth( distanceToPlane ) / 2.0; - clipOpacity *= smoothstep( - distanceGradient, distanceGradient, distanceToPlane ); - if ( clipOpacity == 0.0 ) discard; - } - #pragma unroll_loop_end - #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES - float unionClipOpacity = 1.0; - #pragma unroll_loop_start - for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) { - plane = clippingPlanes[ i ]; - distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w; - distanceGradient = fwidth( distanceToPlane ) / 2.0; - unionClipOpacity *= 1.0 - smoothstep( - distanceGradient, distanceGradient, distanceToPlane ); - } - #pragma unroll_loop_end - clipOpacity *= 1.0 - unionClipOpacity; - #endif - diffuseColor.a *= clipOpacity; - if ( diffuseColor.a == 0.0 ) discard; - #else - #pragma unroll_loop_start - for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) { - plane = clippingPlanes[ i ]; - if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard; - } - #pragma unroll_loop_end - #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES - bool clipped = true; - #pragma unroll_loop_start - for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) { - plane = clippingPlanes[ i ]; - clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped; - } - #pragma unroll_loop_end - if ( clipped ) discard; - #endif - #endif -#endif`,clipping_planes_pars_fragment:`#if NUM_CLIPPING_PLANES > 0 - varying vec3 vClipPosition; - uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ]; -#endif`,clipping_planes_pars_vertex:`#if NUM_CLIPPING_PLANES > 0 - varying vec3 vClipPosition; -#endif`,clipping_planes_vertex:`#if NUM_CLIPPING_PLANES > 0 - vClipPosition = - mvPosition.xyz; -#endif`,color_fragment:`#if defined( USE_COLOR ) || defined( USE_COLOR_ALPHA ) - diffuseColor *= vColor; -#endif`,color_pars_fragment:`#if defined( USE_COLOR ) || defined( USE_COLOR_ALPHA ) - varying vec4 vColor; -#endif`,color_pars_vertex:`#if defined( USE_COLOR ) || defined( USE_COLOR_ALPHA ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR ) - varying vec4 vColor; -#endif`,color_vertex:`#if defined( USE_COLOR ) || defined( USE_COLOR_ALPHA ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR ) - vColor = vec4( 1.0 ); -#endif -#ifdef USE_COLOR_ALPHA - vColor *= color; -#elif defined( USE_COLOR ) - vColor.rgb *= color; -#endif -#ifdef USE_INSTANCING_COLOR - vColor.rgb *= instanceColor.rgb; -#endif -#ifdef USE_BATCHING_COLOR - vColor *= getBatchingColor( getIndirectIndex( gl_DrawID ) ); -#endif`,common:`#define PI 3.141592653589793 -#define PI2 6.283185307179586 -#define PI_HALF 1.5707963267948966 -#define RECIPROCAL_PI 0.3183098861837907 -#define RECIPROCAL_PI2 0.15915494309189535 -#define EPSILON 1e-6 -#ifndef saturate -#define saturate( a ) clamp( a, 0.0, 1.0 ) -#endif -#define whiteComplement( a ) ( 1.0 - saturate( a ) ) -float pow2( const in float x ) { return x*x; } -vec3 pow2( const in vec3 x ) { return x*x; } -float pow3( const in float x ) { return x*x*x; } -float pow4( const in float x ) { float x2 = x*x; return x2*x2; } -float max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); } -float average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); } -highp float rand( const in vec2 uv ) { - const highp float a = 12.9898, b = 78.233, c = 43758.5453; - highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI ); - return fract( sin( sn ) * c ); -} -#ifdef HIGH_PRECISION - float precisionSafeLength( vec3 v ) { return length( v ); } -#else - float precisionSafeLength( vec3 v ) { - float maxComponent = max3( abs( v ) ); - return length( v / maxComponent ) * maxComponent; - } -#endif -struct IncidentLight { - vec3 color; - vec3 direction; - bool visible; -}; -struct ReflectedLight { - vec3 directDiffuse; - vec3 directSpecular; - vec3 indirectDiffuse; - vec3 indirectSpecular; -}; -#ifdef USE_ALPHAHASH - varying vec3 vPosition; -#endif -vec3 transformDirection( in vec3 dir, in mat4 matrix ) { - return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); -} -vec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) { - return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz ); -} -bool isPerspectiveMatrix( mat4 m ) { - return m[ 2 ][ 3 ] == - 1.0; -} -vec2 equirectUv( in vec3 dir ) { - float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5; - float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5; - return vec2( u, v ); -} -vec3 BRDF_Lambert( const in vec3 diffuseColor ) { - return RECIPROCAL_PI * diffuseColor; -} -vec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) { - float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH ); - return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel ); -} -float F_Schlick( const in float f0, const in float f90, const in float dotVH ) { - float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH ); - return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel ); -} // validated`,cube_uv_reflection_fragment:`#ifdef ENVMAP_TYPE_CUBE_UV - #define cubeUV_minMipLevel 4.0 - #define cubeUV_minTileSize 16.0 - float getFace( vec3 direction ) { - vec3 absDirection = abs( direction ); - float face = - 1.0; - if ( absDirection.x > absDirection.z ) { - if ( absDirection.x > absDirection.y ) - face = direction.x > 0.0 ? 0.0 : 3.0; - else - face = direction.y > 0.0 ? 1.0 : 4.0; - } else { - if ( absDirection.z > absDirection.y ) - face = direction.z > 0.0 ? 2.0 : 5.0; - else - face = direction.y > 0.0 ? 1.0 : 4.0; - } - return face; - } - vec2 getUV( vec3 direction, float face ) { - vec2 uv; - if ( face == 0.0 ) { - uv = vec2( direction.z, direction.y ) / abs( direction.x ); - } else if ( face == 1.0 ) { - uv = vec2( - direction.x, - direction.z ) / abs( direction.y ); - } else if ( face == 2.0 ) { - uv = vec2( - direction.x, direction.y ) / abs( direction.z ); - } else if ( face == 3.0 ) { - uv = vec2( - direction.z, direction.y ) / abs( direction.x ); - } else if ( face == 4.0 ) { - uv = vec2( - direction.x, direction.z ) / abs( direction.y ); - } else { - uv = vec2( direction.x, direction.y ) / abs( direction.z ); - } - return 0.5 * ( uv + 1.0 ); - } - vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) { - float face = getFace( direction ); - float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 ); - mipInt = max( mipInt, cubeUV_minMipLevel ); - float faceSize = exp2( mipInt ); - highp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0; - if ( face > 2.0 ) { - uv.y += faceSize; - face -= 3.0; - } - uv.x += face * faceSize; - uv.x += filterInt * 3.0 * cubeUV_minTileSize; - uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize ); - uv.x *= CUBEUV_TEXEL_WIDTH; - uv.y *= CUBEUV_TEXEL_HEIGHT; - #ifdef texture2DGradEXT - return texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb; - #else - return texture2D( envMap, uv ).rgb; - #endif - } - #define cubeUV_r0 1.0 - #define cubeUV_m0 - 2.0 - #define cubeUV_r1 0.8 - #define cubeUV_m1 - 1.0 - #define cubeUV_r4 0.4 - #define cubeUV_m4 2.0 - #define cubeUV_r5 0.305 - #define cubeUV_m5 3.0 - #define cubeUV_r6 0.21 - #define cubeUV_m6 4.0 - float roughnessToMip( float roughness ) { - float mip = 0.0; - if ( roughness >= cubeUV_r1 ) { - mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0; - } else if ( roughness >= cubeUV_r4 ) { - mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1; - } else if ( roughness >= cubeUV_r5 ) { - mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4; - } else if ( roughness >= cubeUV_r6 ) { - mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5; - } else { - mip = - 2.0 * log2( 1.16 * roughness ); } - return mip; - } - vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) { - float mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP ); - float mipF = fract( mip ); - float mipInt = floor( mip ); - vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt ); - if ( mipF == 0.0 ) { - return vec4( color0, 1.0 ); - } else { - vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 ); - return vec4( mix( color0, color1, mipF ), 1.0 ); - } - } -#endif`,defaultnormal_vertex:`vec3 transformedNormal = objectNormal; -#ifdef USE_TANGENT - vec3 transformedTangent = objectTangent; -#endif -#ifdef USE_BATCHING - mat3 bm = mat3( batchingMatrix ); - transformedNormal /= vec3( dot( bm[ 0 ], bm[ 0 ] ), dot( bm[ 1 ], bm[ 1 ] ), dot( bm[ 2 ], bm[ 2 ] ) ); - transformedNormal = bm * transformedNormal; - #ifdef USE_TANGENT - transformedTangent = bm * transformedTangent; - #endif -#endif -#ifdef USE_INSTANCING - mat3 im = mat3( instanceMatrix ); - transformedNormal /= vec3( dot( im[ 0 ], im[ 0 ] ), dot( im[ 1 ], im[ 1 ] ), dot( im[ 2 ], im[ 2 ] ) ); - transformedNormal = im * transformedNormal; - #ifdef USE_TANGENT - transformedTangent = im * transformedTangent; - #endif -#endif -transformedNormal = normalMatrix * transformedNormal; -#ifdef FLIP_SIDED - transformedNormal = - transformedNormal; -#endif -#ifdef USE_TANGENT - transformedTangent = ( modelViewMatrix * vec4( transformedTangent, 0.0 ) ).xyz; - #ifdef FLIP_SIDED - transformedTangent = - transformedTangent; - #endif -#endif`,displacementmap_pars_vertex:`#ifdef USE_DISPLACEMENTMAP - uniform sampler2D displacementMap; - uniform float displacementScale; - uniform float displacementBias; -#endif`,displacementmap_vertex:`#ifdef USE_DISPLACEMENTMAP - transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias ); -#endif`,emissivemap_fragment:`#ifdef USE_EMISSIVEMAP - vec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv ); - #ifdef DECODE_VIDEO_TEXTURE_EMISSIVE - emissiveColor = sRGBTransferEOTF( emissiveColor ); - #endif - totalEmissiveRadiance *= emissiveColor.rgb; -#endif`,emissivemap_pars_fragment:`#ifdef USE_EMISSIVEMAP - uniform sampler2D emissiveMap; -#endif`,colorspace_fragment:`gl_FragColor = linearToOutputTexel( gl_FragColor );`,colorspace_pars_fragment:`vec4 LinearTransferOETF( in vec4 value ) { - return value; -} -vec4 sRGBTransferEOTF( in vec4 value ) { - return vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a ); -} -vec4 sRGBTransferOETF( in vec4 value ) { - return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a ); -}`,envmap_fragment:`#ifdef USE_ENVMAP - #ifdef ENV_WORLDPOS - vec3 cameraToFrag; - if ( isOrthographic ) { - cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); - } else { - cameraToFrag = normalize( vWorldPosition - cameraPosition ); - } - vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); - #ifdef ENVMAP_MODE_REFLECTION - vec3 reflectVec = reflect( cameraToFrag, worldNormal ); - #else - vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio ); - #endif - #else - vec3 reflectVec = vReflect; - #endif - #ifdef ENVMAP_TYPE_CUBE - vec4 envColor = textureCube( envMap, envMapRotation * reflectVec ); - #ifdef ENVMAP_BLENDING_MULTIPLY - outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity ); - #elif defined( ENVMAP_BLENDING_MIX ) - outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity ); - #elif defined( ENVMAP_BLENDING_ADD ) - outgoingLight += envColor.xyz * specularStrength * reflectivity; - #endif - #endif -#endif`,envmap_common_pars_fragment:`#ifdef USE_ENVMAP - uniform float envMapIntensity; - uniform mat3 envMapRotation; - #ifdef ENVMAP_TYPE_CUBE - uniform samplerCube envMap; - #else - uniform sampler2D envMap; - #endif -#endif`,envmap_pars_fragment:`#ifdef USE_ENVMAP - uniform float reflectivity; - #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) - #define ENV_WORLDPOS - #endif - #ifdef ENV_WORLDPOS - varying vec3 vWorldPosition; - uniform float refractionRatio; - #else - varying vec3 vReflect; - #endif -#endif`,envmap_pars_vertex:`#ifdef USE_ENVMAP - #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) - #define ENV_WORLDPOS - #endif - #ifdef ENV_WORLDPOS - - varying vec3 vWorldPosition; - #else - varying vec3 vReflect; - uniform float refractionRatio; - #endif -#endif`,envmap_physical_pars_fragment:`#ifdef USE_ENVMAP - vec3 getIBLIrradiance( const in vec3 normal ) { - #ifdef ENVMAP_TYPE_CUBE_UV - vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); - vec4 envMapColor = textureCubeUV( envMap, envMapRotation * worldNormal, 1.0 ); - return PI * envMapColor.rgb * envMapIntensity; - #else - return vec3( 0.0 ); - #endif - } - vec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) { - #ifdef ENVMAP_TYPE_CUBE_UV - vec3 reflectVec = reflect( - viewDir, normal ); - reflectVec = normalize( mix( reflectVec, normal, pow4( roughness ) ) ); - reflectVec = inverseTransformDirection( reflectVec, viewMatrix ); - vec4 envMapColor = textureCubeUV( envMap, envMapRotation * reflectVec, roughness ); - return envMapColor.rgb * envMapIntensity; - #else - return vec3( 0.0 ); - #endif - } - #ifdef USE_ANISOTROPY - vec3 getIBLAnisotropyRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in vec3 bitangent, const in float anisotropy ) { - #ifdef ENVMAP_TYPE_CUBE_UV - vec3 bentNormal = cross( bitangent, viewDir ); - bentNormal = normalize( cross( bentNormal, bitangent ) ); - bentNormal = normalize( mix( bentNormal, normal, pow2( pow2( 1.0 - anisotropy * ( 1.0 - roughness ) ) ) ) ); - return getIBLRadiance( viewDir, bentNormal, roughness ); - #else - return vec3( 0.0 ); - #endif - } - #endif -#endif`,envmap_vertex:`#ifdef USE_ENVMAP - #ifdef ENV_WORLDPOS - vWorldPosition = worldPosition.xyz; - #else - vec3 cameraToVertex; - if ( isOrthographic ) { - cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); - } else { - cameraToVertex = normalize( worldPosition.xyz - cameraPosition ); - } - vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); - #ifdef ENVMAP_MODE_REFLECTION - vReflect = reflect( cameraToVertex, worldNormal ); - #else - vReflect = refract( cameraToVertex, worldNormal, refractionRatio ); - #endif - #endif -#endif`,fog_vertex:`#ifdef USE_FOG - vFogDepth = - mvPosition.z; -#endif`,fog_pars_vertex:`#ifdef USE_FOG - varying float vFogDepth; -#endif`,fog_fragment:`#ifdef USE_FOG - #ifdef FOG_EXP2 - float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth ); - #else - float fogFactor = smoothstep( fogNear, fogFar, vFogDepth ); - #endif - gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor ); -#endif`,fog_pars_fragment:`#ifdef USE_FOG - uniform vec3 fogColor; - varying float vFogDepth; - #ifdef FOG_EXP2 - uniform float fogDensity; - #else - uniform float fogNear; - uniform float fogFar; - #endif -#endif`,gradientmap_pars_fragment:`#ifdef USE_GRADIENTMAP - uniform sampler2D gradientMap; -#endif -vec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) { - float dotNL = dot( normal, lightDirection ); - vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 ); - #ifdef USE_GRADIENTMAP - return vec3( texture2D( gradientMap, coord ).r ); - #else - vec2 fw = fwidth( coord ) * 0.5; - return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) ); - #endif -}`,lightmap_pars_fragment:`#ifdef USE_LIGHTMAP - uniform sampler2D lightMap; - uniform float lightMapIntensity; -#endif`,lights_lambert_fragment:`LambertMaterial material; -material.diffuseColor = diffuseColor.rgb; -material.specularStrength = specularStrength;`,lights_lambert_pars_fragment:`varying vec3 vViewPosition; -struct LambertMaterial { - vec3 diffuseColor; - float specularStrength; -}; -void RE_Direct_Lambert( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { - float dotNL = saturate( dot( geometryNormal, directLight.direction ) ); - vec3 irradiance = dotNL * directLight.color; - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -void RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -#define RE_Direct RE_Direct_Lambert -#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert`,lights_pars_begin:`uniform bool receiveShadow; -uniform vec3 ambientLightColor; -#if defined( USE_LIGHT_PROBES ) - uniform vec3 lightProbe[ 9 ]; -#endif -vec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) { - float x = normal.x, y = normal.y, z = normal.z; - vec3 result = shCoefficients[ 0 ] * 0.886227; - result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y; - result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z; - result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x; - result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y; - result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z; - result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 ); - result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z; - result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y ); - return result; -} -vec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) { - vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); - vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe ); - return irradiance; -} -vec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) { - vec3 irradiance = ambientLightColor; - return irradiance; -} -float getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) { - float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 ); - if ( cutoffDistance > 0.0 ) { - distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) ); - } - return distanceFalloff; -} -float getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) { - return smoothstep( coneCosine, penumbraCosine, angleCosine ); -} -#if NUM_DIR_LIGHTS > 0 - struct DirectionalLight { - vec3 direction; - vec3 color; - }; - uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ]; - void getDirectionalLightInfo( const in DirectionalLight directionalLight, out IncidentLight light ) { - light.color = directionalLight.color; - light.direction = directionalLight.direction; - light.visible = true; - } -#endif -#if NUM_POINT_LIGHTS > 0 - struct PointLight { - vec3 position; - vec3 color; - float distance; - float decay; - }; - uniform PointLight pointLights[ NUM_POINT_LIGHTS ]; - void getPointLightInfo( const in PointLight pointLight, const in vec3 geometryPosition, out IncidentLight light ) { - vec3 lVector = pointLight.position - geometryPosition; - light.direction = normalize( lVector ); - float lightDistance = length( lVector ); - light.color = pointLight.color; - light.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay ); - light.visible = ( light.color != vec3( 0.0 ) ); - } -#endif -#if NUM_SPOT_LIGHTS > 0 - struct SpotLight { - vec3 position; - vec3 direction; - vec3 color; - float distance; - float decay; - float coneCos; - float penumbraCos; - }; - uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ]; - void getSpotLightInfo( const in SpotLight spotLight, const in vec3 geometryPosition, out IncidentLight light ) { - vec3 lVector = spotLight.position - geometryPosition; - light.direction = normalize( lVector ); - float angleCos = dot( light.direction, spotLight.direction ); - float spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos ); - if ( spotAttenuation > 0.0 ) { - float lightDistance = length( lVector ); - light.color = spotLight.color * spotAttenuation; - light.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay ); - light.visible = ( light.color != vec3( 0.0 ) ); - } else { - light.color = vec3( 0.0 ); - light.visible = false; - } - } -#endif -#if NUM_RECT_AREA_LIGHTS > 0 - struct RectAreaLight { - vec3 color; - vec3 position; - vec3 halfWidth; - vec3 halfHeight; - }; - uniform sampler2D ltc_1; uniform sampler2D ltc_2; - uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ]; -#endif -#if NUM_HEMI_LIGHTS > 0 - struct HemisphereLight { - vec3 direction; - vec3 skyColor; - vec3 groundColor; - }; - uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ]; - vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) { - float dotNL = dot( normal, hemiLight.direction ); - float hemiDiffuseWeight = 0.5 * dotNL + 0.5; - vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight ); - return irradiance; - } -#endif -#include `,lights_toon_fragment:`ToonMaterial material; -material.diffuseColor = diffuseColor.rgb;`,lights_toon_pars_fragment:`varying vec3 vViewPosition; -struct ToonMaterial { - vec3 diffuseColor; -}; -void RE_Direct_Toon( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { - vec3 irradiance = getGradientIrradiance( geometryNormal, directLight.direction ) * directLight.color; - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -void RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -#define RE_Direct RE_Direct_Toon -#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon`,lights_phong_fragment:`BlinnPhongMaterial material; -material.diffuseColor = diffuseColor.rgb; -material.specularColor = specular; -material.specularShininess = shininess; -material.specularStrength = specularStrength;`,lights_phong_pars_fragment:`varying vec3 vViewPosition; -struct BlinnPhongMaterial { - vec3 diffuseColor; - vec3 specularColor; - float specularShininess; - float specularStrength; -}; -void RE_Direct_BlinnPhong( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { - float dotNL = saturate( dot( geometryNormal, directLight.direction ) ); - vec3 irradiance = dotNL * directLight.color; - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); - reflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometryViewDir, geometryNormal, material.specularColor, material.specularShininess ) * material.specularStrength; -} -void RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -#define RE_Direct RE_Direct_BlinnPhong -#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong`,lights_physical_fragment:`PhysicalMaterial material; -material.diffuseColor = diffuseColor.rgb; -material.diffuseContribution = diffuseColor.rgb * ( 1.0 - metalnessFactor ); -material.metalness = metalnessFactor; -vec3 dxy = max( abs( dFdx( nonPerturbedNormal ) ), abs( dFdy( nonPerturbedNormal ) ) ); -float geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z ); -material.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness; -material.roughness = min( material.roughness, 1.0 ); -#ifdef IOR - material.ior = ior; - #ifdef USE_SPECULAR - float specularIntensityFactor = specularIntensity; - vec3 specularColorFactor = specularColor; - #ifdef USE_SPECULAR_COLORMAP - specularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb; - #endif - #ifdef USE_SPECULAR_INTENSITYMAP - specularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a; - #endif - material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor ); - #else - float specularIntensityFactor = 1.0; - vec3 specularColorFactor = vec3( 1.0 ); - material.specularF90 = 1.0; - #endif - material.specularColor = min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor; - material.specularColorBlended = mix( material.specularColor, diffuseColor.rgb, metalnessFactor ); -#else - material.specularColor = vec3( 0.04 ); - material.specularColorBlended = mix( material.specularColor, diffuseColor.rgb, metalnessFactor ); - material.specularF90 = 1.0; -#endif -#ifdef USE_CLEARCOAT - material.clearcoat = clearcoat; - material.clearcoatRoughness = clearcoatRoughness; - material.clearcoatF0 = vec3( 0.04 ); - material.clearcoatF90 = 1.0; - #ifdef USE_CLEARCOATMAP - material.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x; - #endif - #ifdef USE_CLEARCOAT_ROUGHNESSMAP - material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y; - #endif - material.clearcoat = saturate( material.clearcoat ); material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 ); - material.clearcoatRoughness += geometryRoughness; - material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 ); -#endif -#ifdef USE_DISPERSION - material.dispersion = dispersion; -#endif -#ifdef USE_IRIDESCENCE - material.iridescence = iridescence; - material.iridescenceIOR = iridescenceIOR; - #ifdef USE_IRIDESCENCEMAP - material.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r; - #endif - #ifdef USE_IRIDESCENCE_THICKNESSMAP - material.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum; - #else - material.iridescenceThickness = iridescenceThicknessMaximum; - #endif -#endif -#ifdef USE_SHEEN - material.sheenColor = sheenColor; - #ifdef USE_SHEEN_COLORMAP - material.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb; - #endif - material.sheenRoughness = clamp( sheenRoughness, 0.0001, 1.0 ); - #ifdef USE_SHEEN_ROUGHNESSMAP - material.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a; - #endif -#endif -#ifdef USE_ANISOTROPY - #ifdef USE_ANISOTROPYMAP - mat2 anisotropyMat = mat2( anisotropyVector.x, anisotropyVector.y, - anisotropyVector.y, anisotropyVector.x ); - vec3 anisotropyPolar = texture2D( anisotropyMap, vAnisotropyMapUv ).rgb; - vec2 anisotropyV = anisotropyMat * normalize( 2.0 * anisotropyPolar.rg - vec2( 1.0 ) ) * anisotropyPolar.b; - #else - vec2 anisotropyV = anisotropyVector; - #endif - material.anisotropy = length( anisotropyV ); - if( material.anisotropy == 0.0 ) { - anisotropyV = vec2( 1.0, 0.0 ); - } else { - anisotropyV /= material.anisotropy; - material.anisotropy = saturate( material.anisotropy ); - } - material.alphaT = mix( pow2( material.roughness ), 1.0, pow2( material.anisotropy ) ); - material.anisotropyT = tbn[ 0 ] * anisotropyV.x + tbn[ 1 ] * anisotropyV.y; - material.anisotropyB = tbn[ 1 ] * anisotropyV.x - tbn[ 0 ] * anisotropyV.y; -#endif`,lights_physical_pars_fragment:`uniform sampler2D dfgLUT; -struct PhysicalMaterial { - vec3 diffuseColor; - vec3 diffuseContribution; - vec3 specularColor; - vec3 specularColorBlended; - float roughness; - float metalness; - float specularF90; - float dispersion; - #ifdef USE_CLEARCOAT - float clearcoat; - float clearcoatRoughness; - vec3 clearcoatF0; - float clearcoatF90; - #endif - #ifdef USE_IRIDESCENCE - float iridescence; - float iridescenceIOR; - float iridescenceThickness; - vec3 iridescenceFresnel; - vec3 iridescenceF0; - vec3 iridescenceFresnelDielectric; - vec3 iridescenceFresnelMetallic; - #endif - #ifdef USE_SHEEN - vec3 sheenColor; - float sheenRoughness; - #endif - #ifdef IOR - float ior; - #endif - #ifdef USE_TRANSMISSION - float transmission; - float transmissionAlpha; - float thickness; - float attenuationDistance; - vec3 attenuationColor; - #endif - #ifdef USE_ANISOTROPY - float anisotropy; - float alphaT; - vec3 anisotropyT; - vec3 anisotropyB; - #endif -}; -vec3 clearcoatSpecularDirect = vec3( 0.0 ); -vec3 clearcoatSpecularIndirect = vec3( 0.0 ); -vec3 sheenSpecularDirect = vec3( 0.0 ); -vec3 sheenSpecularIndirect = vec3(0.0 ); -vec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) { - float x = clamp( 1.0 - dotVH, 0.0, 1.0 ); - float x2 = x * x; - float x5 = clamp( x * x2 * x2, 0.0, 0.9999 ); - return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 ); -} -float V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) { - float a2 = pow2( alpha ); - float gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) ); - float gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) ); - return 0.5 / max( gv + gl, EPSILON ); -} -float D_GGX( const in float alpha, const in float dotNH ) { - float a2 = pow2( alpha ); - float denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0; - return RECIPROCAL_PI * a2 / pow2( denom ); -} -#ifdef USE_ANISOTROPY - float V_GGX_SmithCorrelated_Anisotropic( const in float alphaT, const in float alphaB, const in float dotTV, const in float dotBV, const in float dotTL, const in float dotBL, const in float dotNV, const in float dotNL ) { - float gv = dotNL * length( vec3( alphaT * dotTV, alphaB * dotBV, dotNV ) ); - float gl = dotNV * length( vec3( alphaT * dotTL, alphaB * dotBL, dotNL ) ); - return 0.5 / max( gv + gl, EPSILON ); - } - float D_GGX_Anisotropic( const in float alphaT, const in float alphaB, const in float dotNH, const in float dotTH, const in float dotBH ) { - float a2 = alphaT * alphaB; - highp vec3 v = vec3( alphaB * dotTH, alphaT * dotBH, a2 * dotNH ); - highp float v2 = dot( v, v ); - float w2 = a2 / v2; - return RECIPROCAL_PI * a2 * pow2 ( w2 ); - } -#endif -#ifdef USE_CLEARCOAT - vec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) { - vec3 f0 = material.clearcoatF0; - float f90 = material.clearcoatF90; - float roughness = material.clearcoatRoughness; - float alpha = pow2( roughness ); - vec3 halfDir = normalize( lightDir + viewDir ); - float dotNL = saturate( dot( normal, lightDir ) ); - float dotNV = saturate( dot( normal, viewDir ) ); - float dotNH = saturate( dot( normal, halfDir ) ); - float dotVH = saturate( dot( viewDir, halfDir ) ); - vec3 F = F_Schlick( f0, f90, dotVH ); - float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV ); - float D = D_GGX( alpha, dotNH ); - return F * ( V * D ); - } -#endif -vec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) { - vec3 f0 = material.specularColorBlended; - float f90 = material.specularF90; - float roughness = material.roughness; - float alpha = pow2( roughness ); - vec3 halfDir = normalize( lightDir + viewDir ); - float dotNL = saturate( dot( normal, lightDir ) ); - float dotNV = saturate( dot( normal, viewDir ) ); - float dotNH = saturate( dot( normal, halfDir ) ); - float dotVH = saturate( dot( viewDir, halfDir ) ); - vec3 F = F_Schlick( f0, f90, dotVH ); - #ifdef USE_IRIDESCENCE - F = mix( F, material.iridescenceFresnel, material.iridescence ); - #endif - #ifdef USE_ANISOTROPY - float dotTL = dot( material.anisotropyT, lightDir ); - float dotTV = dot( material.anisotropyT, viewDir ); - float dotTH = dot( material.anisotropyT, halfDir ); - float dotBL = dot( material.anisotropyB, lightDir ); - float dotBV = dot( material.anisotropyB, viewDir ); - float dotBH = dot( material.anisotropyB, halfDir ); - float V = V_GGX_SmithCorrelated_Anisotropic( material.alphaT, alpha, dotTV, dotBV, dotTL, dotBL, dotNV, dotNL ); - float D = D_GGX_Anisotropic( material.alphaT, alpha, dotNH, dotTH, dotBH ); - #else - float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV ); - float D = D_GGX( alpha, dotNH ); - #endif - return F * ( V * D ); -} -vec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) { - const float LUT_SIZE = 64.0; - const float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE; - const float LUT_BIAS = 0.5 / LUT_SIZE; - float dotNV = saturate( dot( N, V ) ); - vec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) ); - uv = uv * LUT_SCALE + LUT_BIAS; - return uv; -} -float LTC_ClippedSphereFormFactor( const in vec3 f ) { - float l = length( f ); - return max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 ); -} -vec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) { - float x = dot( v1, v2 ); - float y = abs( x ); - float a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y; - float b = 3.4175940 + ( 4.1616724 + y ) * y; - float v = a / b; - float theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v; - return cross( v1, v2 ) * theta_sintheta; -} -vec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) { - vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ]; - vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ]; - vec3 lightNormal = cross( v1, v2 ); - if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 ); - vec3 T1, T2; - T1 = normalize( V - N * dot( V, N ) ); - T2 = - cross( N, T1 ); - mat3 mat = mInv * transpose( mat3( T1, T2, N ) ); - vec3 coords[ 4 ]; - coords[ 0 ] = mat * ( rectCoords[ 0 ] - P ); - coords[ 1 ] = mat * ( rectCoords[ 1 ] - P ); - coords[ 2 ] = mat * ( rectCoords[ 2 ] - P ); - coords[ 3 ] = mat * ( rectCoords[ 3 ] - P ); - coords[ 0 ] = normalize( coords[ 0 ] ); - coords[ 1 ] = normalize( coords[ 1 ] ); - coords[ 2 ] = normalize( coords[ 2 ] ); - coords[ 3 ] = normalize( coords[ 3 ] ); - vec3 vectorFormFactor = vec3( 0.0 ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] ); - float result = LTC_ClippedSphereFormFactor( vectorFormFactor ); - return vec3( result ); -} -#if defined( USE_SHEEN ) -float D_Charlie( float roughness, float dotNH ) { - float alpha = pow2( roughness ); - float invAlpha = 1.0 / alpha; - float cos2h = dotNH * dotNH; - float sin2h = max( 1.0 - cos2h, 0.0078125 ); - return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI ); -} -float V_Neubelt( float dotNV, float dotNL ) { - return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) ); -} -vec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) { - vec3 halfDir = normalize( lightDir + viewDir ); - float dotNL = saturate( dot( normal, lightDir ) ); - float dotNV = saturate( dot( normal, viewDir ) ); - float dotNH = saturate( dot( normal, halfDir ) ); - float D = D_Charlie( sheenRoughness, dotNH ); - float V = V_Neubelt( dotNV, dotNL ); - return sheenColor * ( D * V ); -} -#endif -float IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) { - float dotNV = saturate( dot( normal, viewDir ) ); - float r2 = roughness * roughness; - float rInv = 1.0 / ( roughness + 0.1 ); - float a = -1.9362 + 1.0678 * roughness + 0.4573 * r2 - 0.8469 * rInv; - float b = -0.6014 + 0.5538 * roughness - 0.4670 * r2 - 0.1255 * rInv; - float DG = exp( a * dotNV + b ); - return saturate( DG ); -} -vec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) { - float dotNV = saturate( dot( normal, viewDir ) ); - vec2 fab = texture2D( dfgLUT, vec2( roughness, dotNV ) ).rg; - return specularColor * fab.x + specularF90 * fab.y; -} -#ifdef USE_IRIDESCENCE -void computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { -#else -void computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { -#endif - float dotNV = saturate( dot( normal, viewDir ) ); - vec2 fab = texture2D( dfgLUT, vec2( roughness, dotNV ) ).rg; - #ifdef USE_IRIDESCENCE - vec3 Fr = mix( specularColor, iridescenceF0, iridescence ); - #else - vec3 Fr = specularColor; - #endif - vec3 FssEss = Fr * fab.x + specularF90 * fab.y; - float Ess = fab.x + fab.y; - float Ems = 1.0 - Ess; - vec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg ); - singleScatter += FssEss; - multiScatter += Fms * Ems; -} -vec3 BRDF_GGX_Multiscatter( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) { - vec3 singleScatter = BRDF_GGX( lightDir, viewDir, normal, material ); - float dotNL = saturate( dot( normal, lightDir ) ); - float dotNV = saturate( dot( normal, viewDir ) ); - vec2 dfgV = texture2D( dfgLUT, vec2( material.roughness, dotNV ) ).rg; - vec2 dfgL = texture2D( dfgLUT, vec2( material.roughness, dotNL ) ).rg; - vec3 FssEss_V = material.specularColorBlended * dfgV.x + material.specularF90 * dfgV.y; - vec3 FssEss_L = material.specularColorBlended * dfgL.x + material.specularF90 * dfgL.y; - float Ess_V = dfgV.x + dfgV.y; - float Ess_L = dfgL.x + dfgL.y; - float Ems_V = 1.0 - Ess_V; - float Ems_L = 1.0 - Ess_L; - vec3 Favg = material.specularColorBlended + ( 1.0 - material.specularColorBlended ) * 0.047619; - vec3 Fms = FssEss_V * FssEss_L * Favg / ( 1.0 - Ems_V * Ems_L * Favg + EPSILON ); - float compensationFactor = Ems_V * Ems_L; - vec3 multiScatter = Fms * compensationFactor; - return singleScatter + multiScatter; -} -#if NUM_RECT_AREA_LIGHTS > 0 - void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { - vec3 normal = geometryNormal; - vec3 viewDir = geometryViewDir; - vec3 position = geometryPosition; - vec3 lightPos = rectAreaLight.position; - vec3 halfWidth = rectAreaLight.halfWidth; - vec3 halfHeight = rectAreaLight.halfHeight; - vec3 lightColor = rectAreaLight.color; - float roughness = material.roughness; - vec3 rectCoords[ 4 ]; - rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight; - rectCoords[ 2 ] = lightPos - halfWidth + halfHeight; - rectCoords[ 3 ] = lightPos + halfWidth + halfHeight; - vec2 uv = LTC_Uv( normal, viewDir, roughness ); - vec4 t1 = texture2D( ltc_1, uv ); - vec4 t2 = texture2D( ltc_2, uv ); - mat3 mInv = mat3( - vec3( t1.x, 0, t1.y ), - vec3( 0, 1, 0 ), - vec3( t1.z, 0, t1.w ) - ); - vec3 fresnel = ( material.specularColorBlended * t2.x + ( material.specularF90 - material.specularColorBlended ) * t2.y ); - reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords ); - reflectedLight.directDiffuse += lightColor * material.diffuseContribution * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords ); - #ifdef USE_CLEARCOAT - vec3 Ncc = geometryClearcoatNormal; - vec2 uvClearcoat = LTC_Uv( Ncc, viewDir, material.clearcoatRoughness ); - vec4 t1Clearcoat = texture2D( ltc_1, uvClearcoat ); - vec4 t2Clearcoat = texture2D( ltc_2, uvClearcoat ); - mat3 mInvClearcoat = mat3( - vec3( t1Clearcoat.x, 0, t1Clearcoat.y ), - vec3( 0, 1, 0 ), - vec3( t1Clearcoat.z, 0, t1Clearcoat.w ) - ); - vec3 fresnelClearcoat = material.clearcoatF0 * t2Clearcoat.x + ( material.clearcoatF90 - material.clearcoatF0 ) * t2Clearcoat.y; - clearcoatSpecularDirect += lightColor * fresnelClearcoat * LTC_Evaluate( Ncc, viewDir, position, mInvClearcoat, rectCoords ); - #endif - } -#endif -void RE_Direct_Physical( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { - float dotNL = saturate( dot( geometryNormal, directLight.direction ) ); - vec3 irradiance = dotNL * directLight.color; - #ifdef USE_CLEARCOAT - float dotNLcc = saturate( dot( geometryClearcoatNormal, directLight.direction ) ); - vec3 ccIrradiance = dotNLcc * directLight.color; - clearcoatSpecularDirect += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometryViewDir, geometryClearcoatNormal, material ); - #endif - #ifdef USE_SHEEN - - sheenSpecularDirect += irradiance * BRDF_Sheen( directLight.direction, geometryViewDir, geometryNormal, material.sheenColor, material.sheenRoughness ); - - float sheenAlbedoV = IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness ); - float sheenAlbedoL = IBLSheenBRDF( geometryNormal, directLight.direction, material.sheenRoughness ); - - float sheenEnergyComp = 1.0 - max3( material.sheenColor ) * max( sheenAlbedoV, sheenAlbedoL ); - - irradiance *= sheenEnergyComp; - - #endif - reflectedLight.directSpecular += irradiance * BRDF_GGX_Multiscatter( directLight.direction, geometryViewDir, geometryNormal, material ); - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseContribution ); -} -void RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { - vec3 diffuse = irradiance * BRDF_Lambert( material.diffuseContribution ); - #ifdef USE_SHEEN - float sheenAlbedo = IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness ); - float sheenEnergyComp = 1.0 - max3( material.sheenColor ) * sheenAlbedo; - diffuse *= sheenEnergyComp; - #endif - reflectedLight.indirectDiffuse += diffuse; -} -void RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) { - #ifdef USE_CLEARCOAT - clearcoatSpecularIndirect += clearcoatRadiance * EnvironmentBRDF( geometryClearcoatNormal, geometryViewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); - #endif - #ifdef USE_SHEEN - sheenSpecularIndirect += irradiance * material.sheenColor * IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness ) * RECIPROCAL_PI; - #endif - vec3 singleScatteringDielectric = vec3( 0.0 ); - vec3 multiScatteringDielectric = vec3( 0.0 ); - vec3 singleScatteringMetallic = vec3( 0.0 ); - vec3 multiScatteringMetallic = vec3( 0.0 ); - #ifdef USE_IRIDESCENCE - computeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnelDielectric, material.roughness, singleScatteringDielectric, multiScatteringDielectric ); - computeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.diffuseColor, material.specularF90, material.iridescence, material.iridescenceFresnelMetallic, material.roughness, singleScatteringMetallic, multiScatteringMetallic ); - #else - computeMultiscattering( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.roughness, singleScatteringDielectric, multiScatteringDielectric ); - computeMultiscattering( geometryNormal, geometryViewDir, material.diffuseColor, material.specularF90, material.roughness, singleScatteringMetallic, multiScatteringMetallic ); - #endif - vec3 singleScattering = mix( singleScatteringDielectric, singleScatteringMetallic, material.metalness ); - vec3 multiScattering = mix( multiScatteringDielectric, multiScatteringMetallic, material.metalness ); - vec3 totalScatteringDielectric = singleScatteringDielectric + multiScatteringDielectric; - vec3 diffuse = material.diffuseContribution * ( 1.0 - totalScatteringDielectric ); - vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI; - vec3 indirectSpecular = radiance * singleScattering; - indirectSpecular += multiScattering * cosineWeightedIrradiance; - vec3 indirectDiffuse = diffuse * cosineWeightedIrradiance; - #ifdef USE_SHEEN - float sheenAlbedo = IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness ); - float sheenEnergyComp = 1.0 - max3( material.sheenColor ) * sheenAlbedo; - indirectSpecular *= sheenEnergyComp; - indirectDiffuse *= sheenEnergyComp; - #endif - reflectedLight.indirectSpecular += indirectSpecular; - reflectedLight.indirectDiffuse += indirectDiffuse; -} -#define RE_Direct RE_Direct_Physical -#define RE_Direct_RectArea RE_Direct_RectArea_Physical -#define RE_IndirectDiffuse RE_IndirectDiffuse_Physical -#define RE_IndirectSpecular RE_IndirectSpecular_Physical -float computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) { - return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion ); -}`,lights_fragment_begin:` -vec3 geometryPosition = - vViewPosition; -vec3 geometryNormal = normal; -vec3 geometryViewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition ); -vec3 geometryClearcoatNormal = vec3( 0.0 ); -#ifdef USE_CLEARCOAT - geometryClearcoatNormal = clearcoatNormal; -#endif -#ifdef USE_IRIDESCENCE - float dotNVi = saturate( dot( normal, geometryViewDir ) ); - if ( material.iridescenceThickness == 0.0 ) { - material.iridescence = 0.0; - } else { - material.iridescence = saturate( material.iridescence ); - } - if ( material.iridescence > 0.0 ) { - material.iridescenceFresnelDielectric = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor ); - material.iridescenceFresnelMetallic = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.diffuseColor ); - material.iridescenceFresnel = mix( material.iridescenceFresnelDielectric, material.iridescenceFresnelMetallic, material.metalness ); - material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi ); - } -#endif -IncidentLight directLight; -#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct ) - PointLight pointLight; - #if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0 - PointLightShadow pointLightShadow; - #endif - #pragma unroll_loop_start - for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) { - pointLight = pointLights[ i ]; - getPointLightInfo( pointLight, geometryPosition, directLight ); - #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS ) && ( defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_BASIC ) ) - pointLightShadow = pointLightShadows[ i ]; - directLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowIntensity, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0; - #endif - RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct ) - SpotLight spotLight; - vec4 spotColor; - vec3 spotLightCoord; - bool inSpotLightMap; - #if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0 - SpotLightShadow spotLightShadow; - #endif - #pragma unroll_loop_start - for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) { - spotLight = spotLights[ i ]; - getSpotLightInfo( spotLight, geometryPosition, directLight ); - #if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) - #define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX - #elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) - #define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS - #else - #define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) - #endif - #if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS ) - spotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w; - inSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) ); - spotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy ); - directLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color; - #endif - #undef SPOT_LIGHT_MAP_INDEX - #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) - spotLightShadow = spotLightShadows[ i ]; - directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowIntensity, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; - #endif - RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct ) - DirectionalLight directionalLight; - #if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0 - DirectionalLightShadow directionalLightShadow; - #endif - #pragma unroll_loop_start - for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) { - directionalLight = directionalLights[ i ]; - getDirectionalLightInfo( directionalLight, directLight ); - #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS ) - directionalLightShadow = directionalLightShadows[ i ]; - directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowIntensity, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; - #endif - RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea ) - RectAreaLight rectAreaLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) { - rectAreaLight = rectAreaLights[ i ]; - RE_Direct_RectArea( rectAreaLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if defined( RE_IndirectDiffuse ) - vec3 iblIrradiance = vec3( 0.0 ); - vec3 irradiance = getAmbientLightIrradiance( ambientLightColor ); - #if defined( USE_LIGHT_PROBES ) - irradiance += getLightProbeIrradiance( lightProbe, geometryNormal ); - #endif - #if ( NUM_HEMI_LIGHTS > 0 ) - #pragma unroll_loop_start - for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) { - irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometryNormal ); - } - #pragma unroll_loop_end - #endif - #ifdef USE_LIGHT_PROBES_GRID - vec3 probeWorldPos = ( ( vec4( geometryPosition, 1.0 ) - viewMatrix[ 3 ] ) * viewMatrix ).xyz; - vec3 probeWorldNormal = inverseTransformDirection( geometryNormal, viewMatrix ); - irradiance += getLightProbeGridIrradiance( probeWorldPos, probeWorldNormal ); - #endif -#endif -#if defined( RE_IndirectSpecular ) - vec3 radiance = vec3( 0.0 ); - vec3 clearcoatRadiance = vec3( 0.0 ); -#endif`,lights_fragment_maps:`#if defined( RE_IndirectDiffuse ) - #ifdef USE_LIGHTMAP - vec4 lightMapTexel = texture2D( lightMap, vLightMapUv ); - vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; - irradiance += lightMapIrradiance; - #endif - #if defined( USE_ENVMAP ) && defined( ENVMAP_TYPE_CUBE_UV ) - #if defined( STANDARD ) || defined( LAMBERT ) || defined( PHONG ) - iblIrradiance += getIBLIrradiance( geometryNormal ); - #endif - #endif -#endif -#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular ) - #ifdef USE_ANISOTROPY - radiance += getIBLAnisotropyRadiance( geometryViewDir, geometryNormal, material.roughness, material.anisotropyB, material.anisotropy ); - #else - radiance += getIBLRadiance( geometryViewDir, geometryNormal, material.roughness ); - #endif - #ifdef USE_CLEARCOAT - clearcoatRadiance += getIBLRadiance( geometryViewDir, geometryClearcoatNormal, material.clearcoatRoughness ); - #endif -#endif`,lights_fragment_end:`#if defined( RE_IndirectDiffuse ) - #if defined( LAMBERT ) || defined( PHONG ) - irradiance += iblIrradiance; - #endif - RE_IndirectDiffuse( irradiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); -#endif -#if defined( RE_IndirectSpecular ) - RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); -#endif`,lightprobes_pars_fragment:`#ifdef USE_LIGHT_PROBES_GRID -uniform highp sampler3D probesSH; -uniform vec3 probesMin; -uniform vec3 probesMax; -uniform vec3 probesResolution; -vec3 getLightProbeGridIrradiance( vec3 worldPos, vec3 worldNormal ) { - vec3 res = probesResolution; - vec3 gridRange = probesMax - probesMin; - vec3 resMinusOne = res - 1.0; - vec3 probeSpacing = gridRange / resMinusOne; - vec3 samplePos = worldPos + worldNormal * probeSpacing * 0.5; - vec3 uvw = clamp( ( samplePos - probesMin ) / gridRange, 0.0, 1.0 ); - uvw = uvw * resMinusOne / res + 0.5 / res; - float nz = res.z; - float paddedSlices = nz + 2.0; - float atlasDepth = 7.0 * paddedSlices; - float uvZBase = uvw.z * nz + 1.0; - vec4 s0 = texture( probesSH, vec3( uvw.xy, ( uvZBase ) / atlasDepth ) ); - vec4 s1 = texture( probesSH, vec3( uvw.xy, ( uvZBase + paddedSlices ) / atlasDepth ) ); - vec4 s2 = texture( probesSH, vec3( uvw.xy, ( uvZBase + 2.0 * paddedSlices ) / atlasDepth ) ); - vec4 s3 = texture( probesSH, vec3( uvw.xy, ( uvZBase + 3.0 * paddedSlices ) / atlasDepth ) ); - vec4 s4 = texture( probesSH, vec3( uvw.xy, ( uvZBase + 4.0 * paddedSlices ) / atlasDepth ) ); - vec4 s5 = texture( probesSH, vec3( uvw.xy, ( uvZBase + 5.0 * paddedSlices ) / atlasDepth ) ); - vec4 s6 = texture( probesSH, vec3( uvw.xy, ( uvZBase + 6.0 * paddedSlices ) / atlasDepth ) ); - vec3 c0 = s0.xyz; - vec3 c1 = vec3( s0.w, s1.xy ); - vec3 c2 = vec3( s1.zw, s2.x ); - vec3 c3 = s2.yzw; - vec3 c4 = s3.xyz; - vec3 c5 = vec3( s3.w, s4.xy ); - vec3 c6 = vec3( s4.zw, s5.x ); - vec3 c7 = s5.yzw; - vec3 c8 = s6.xyz; - float x = worldNormal.x, y = worldNormal.y, z = worldNormal.z; - vec3 result = c0 * 0.886227; - result += c1 * 2.0 * 0.511664 * y; - result += c2 * 2.0 * 0.511664 * z; - result += c3 * 2.0 * 0.511664 * x; - result += c4 * 2.0 * 0.429043 * x * y; - result += c5 * 2.0 * 0.429043 * y * z; - result += c6 * ( 0.743125 * z * z - 0.247708 ); - result += c7 * 2.0 * 0.429043 * x * z; - result += c8 * 0.429043 * ( x * x - y * y ); - return max( result, vec3( 0.0 ) ); -} -#endif`,logdepthbuf_fragment:`#if defined( USE_LOGARITHMIC_DEPTH_BUFFER ) - gl_FragDepth = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5; -#endif`,logdepthbuf_pars_fragment:`#if defined( USE_LOGARITHMIC_DEPTH_BUFFER ) - uniform float logDepthBufFC; - varying float vFragDepth; - varying float vIsPerspective; -#endif`,logdepthbuf_pars_vertex:`#ifdef USE_LOGARITHMIC_DEPTH_BUFFER - varying float vFragDepth; - varying float vIsPerspective; -#endif`,logdepthbuf_vertex:`#ifdef USE_LOGARITHMIC_DEPTH_BUFFER - vFragDepth = 1.0 + gl_Position.w; - vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) ); -#endif`,map_fragment:`#ifdef USE_MAP - vec4 sampledDiffuseColor = texture2D( map, vMapUv ); - #ifdef DECODE_VIDEO_TEXTURE - sampledDiffuseColor = sRGBTransferEOTF( sampledDiffuseColor ); - #endif - diffuseColor *= sampledDiffuseColor; -#endif`,map_pars_fragment:`#ifdef USE_MAP - uniform sampler2D map; -#endif`,map_particle_fragment:`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) - #if defined( USE_POINTS_UV ) - vec2 uv = vUv; - #else - vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy; - #endif -#endif -#ifdef USE_MAP - diffuseColor *= texture2D( map, uv ); -#endif -#ifdef USE_ALPHAMAP - diffuseColor.a *= texture2D( alphaMap, uv ).g; -#endif`,map_particle_pars_fragment:`#if defined( USE_POINTS_UV ) - varying vec2 vUv; -#else - #if defined( USE_MAP ) || defined( USE_ALPHAMAP ) - uniform mat3 uvTransform; - #endif -#endif -#ifdef USE_MAP - uniform sampler2D map; -#endif -#ifdef USE_ALPHAMAP - uniform sampler2D alphaMap; -#endif`,metalnessmap_fragment:`float metalnessFactor = metalness; -#ifdef USE_METALNESSMAP - vec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv ); - metalnessFactor *= texelMetalness.b; -#endif`,metalnessmap_pars_fragment:`#ifdef USE_METALNESSMAP - uniform sampler2D metalnessMap; -#endif`,morphinstance_vertex:`#ifdef USE_INSTANCING_MORPH - float morphTargetInfluences[ MORPHTARGETS_COUNT ]; - float morphTargetBaseInfluence = texelFetch( morphTexture, ivec2( 0, gl_InstanceID ), 0 ).r; - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - morphTargetInfluences[i] = texelFetch( morphTexture, ivec2( i + 1, gl_InstanceID ), 0 ).r; - } -#endif`,morphcolor_vertex:`#if defined( USE_MORPHCOLORS ) - vColor *= morphTargetBaseInfluence; - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - #if defined( USE_COLOR_ALPHA ) - if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ]; - #elif defined( USE_COLOR ) - if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ]; - #endif - } -#endif`,morphnormal_vertex:`#ifdef USE_MORPHNORMALS - objectNormal *= morphTargetBaseInfluence; - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - if ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ]; - } -#endif`,morphtarget_pars_vertex:`#ifdef USE_MORPHTARGETS - #ifndef USE_INSTANCING_MORPH - uniform float morphTargetBaseInfluence; - uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ]; - #endif - uniform sampler2DArray morphTargetsTexture; - uniform ivec2 morphTargetsTextureSize; - vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) { - int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset; - int y = texelIndex / morphTargetsTextureSize.x; - int x = texelIndex - y * morphTargetsTextureSize.x; - ivec3 morphUV = ivec3( x, y, morphTargetIndex ); - return texelFetch( morphTargetsTexture, morphUV, 0 ); - } -#endif`,morphtarget_vertex:`#ifdef USE_MORPHTARGETS - transformed *= morphTargetBaseInfluence; - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ]; - } -#endif`,normal_fragment_begin:`float faceDirection = gl_FrontFacing ? 1.0 : - 1.0; -#ifdef FLAT_SHADED - vec3 fdx = dFdx( vViewPosition ); - vec3 fdy = dFdy( vViewPosition ); - vec3 normal = normalize( cross( fdx, fdy ) ); -#else - vec3 normal = normalize( vNormal ); - #ifdef DOUBLE_SIDED - normal *= faceDirection; - #endif -#endif -#if defined( USE_NORMALMAP_TANGENTSPACE ) || defined( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) - #ifdef USE_TANGENT - mat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal ); - #else - mat3 tbn = getTangentFrame( - vViewPosition, normal, - #if defined( USE_NORMALMAP ) - vNormalMapUv - #elif defined( USE_CLEARCOAT_NORMALMAP ) - vClearcoatNormalMapUv - #else - vUv - #endif - ); - #endif - #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED ) - tbn[0] *= faceDirection; - tbn[1] *= faceDirection; - #endif -#endif -#ifdef USE_CLEARCOAT_NORMALMAP - #ifdef USE_TANGENT - mat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal ); - #else - mat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv ); - #endif - #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED ) - tbn2[0] *= faceDirection; - tbn2[1] *= faceDirection; - #endif -#endif -vec3 nonPerturbedNormal = normal;`,normal_fragment_maps:`#ifdef USE_NORMALMAP_OBJECTSPACE - normal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0; - #ifdef FLIP_SIDED - normal = - normal; - #endif - #ifdef DOUBLE_SIDED - normal = normal * faceDirection; - #endif - normal = normalize( normalMatrix * normal ); -#elif defined( USE_NORMALMAP_TANGENTSPACE ) - vec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0; - #if defined( USE_PACKED_NORMALMAP ) - mapN = vec3( mapN.xy, sqrt( saturate( 1.0 - dot( mapN.xy, mapN.xy ) ) ) ); - #endif - mapN.xy *= normalScale; - normal = normalize( tbn * mapN ); -#elif defined( USE_BUMPMAP ) - normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection ); -#endif`,normal_pars_fragment:`#ifndef FLAT_SHADED - varying vec3 vNormal; - #ifdef USE_TANGENT - varying vec3 vTangent; - varying vec3 vBitangent; - #endif -#endif`,normal_pars_vertex:`#ifndef FLAT_SHADED - varying vec3 vNormal; - #ifdef USE_TANGENT - varying vec3 vTangent; - varying vec3 vBitangent; - #endif -#endif`,normal_vertex:`#ifndef FLAT_SHADED - vNormal = normalize( transformedNormal ); - #ifdef USE_TANGENT - vTangent = normalize( transformedTangent ); - vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w ); - #endif -#endif`,normalmap_pars_fragment:`#ifdef USE_NORMALMAP - uniform sampler2D normalMap; - uniform vec2 normalScale; -#endif -#ifdef USE_NORMALMAP_OBJECTSPACE - uniform mat3 normalMatrix; -#endif -#if ! defined ( USE_TANGENT ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) ) - mat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) { - vec3 q0 = dFdx( eye_pos.xyz ); - vec3 q1 = dFdy( eye_pos.xyz ); - vec2 st0 = dFdx( uv.st ); - vec2 st1 = dFdy( uv.st ); - vec3 N = surf_norm; - vec3 q1perp = cross( q1, N ); - vec3 q0perp = cross( N, q0 ); - vec3 T = q1perp * st0.x + q0perp * st1.x; - vec3 B = q1perp * st0.y + q0perp * st1.y; - float det = max( dot( T, T ), dot( B, B ) ); - float scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det ); - return mat3( T * scale, B * scale, N ); - } -#endif`,clearcoat_normal_fragment_begin:`#ifdef USE_CLEARCOAT - vec3 clearcoatNormal = nonPerturbedNormal; -#endif`,clearcoat_normal_fragment_maps:`#ifdef USE_CLEARCOAT_NORMALMAP - vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0; - clearcoatMapN.xy *= clearcoatNormalScale; - clearcoatNormal = normalize( tbn2 * clearcoatMapN ); -#endif`,clearcoat_pars_fragment:`#ifdef USE_CLEARCOATMAP - uniform sampler2D clearcoatMap; -#endif -#ifdef USE_CLEARCOAT_NORMALMAP - uniform sampler2D clearcoatNormalMap; - uniform vec2 clearcoatNormalScale; -#endif -#ifdef USE_CLEARCOAT_ROUGHNESSMAP - uniform sampler2D clearcoatRoughnessMap; -#endif`,iridescence_pars_fragment:`#ifdef USE_IRIDESCENCEMAP - uniform sampler2D iridescenceMap; -#endif -#ifdef USE_IRIDESCENCE_THICKNESSMAP - uniform sampler2D iridescenceThicknessMap; -#endif`,opaque_fragment:`#ifdef OPAQUE -diffuseColor.a = 1.0; -#endif -#ifdef USE_TRANSMISSION -diffuseColor.a *= material.transmissionAlpha; -#endif -gl_FragColor = vec4( outgoingLight, diffuseColor.a );`,packing:`vec3 packNormalToRGB( const in vec3 normal ) { - return normalize( normal ) * 0.5 + 0.5; -} -vec3 unpackRGBToNormal( const in vec3 rgb ) { - return 2.0 * rgb.xyz - 1.0; -} -const float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;const float ShiftRight8 = 1. / 256.; -const float Inv255 = 1. / 255.; -const vec4 PackFactors = vec4( 1.0, 256.0, 256.0 * 256.0, 256.0 * 256.0 * 256.0 ); -const vec2 UnpackFactors2 = vec2( UnpackDownscale, 1.0 / PackFactors.g ); -const vec3 UnpackFactors3 = vec3( UnpackDownscale / PackFactors.rg, 1.0 / PackFactors.b ); -const vec4 UnpackFactors4 = vec4( UnpackDownscale / PackFactors.rgb, 1.0 / PackFactors.a ); -vec4 packDepthToRGBA( const in float v ) { - if( v <= 0.0 ) - return vec4( 0., 0., 0., 0. ); - if( v >= 1.0 ) - return vec4( 1., 1., 1., 1. ); - float vuf; - float af = modf( v * PackFactors.a, vuf ); - float bf = modf( vuf * ShiftRight8, vuf ); - float gf = modf( vuf * ShiftRight8, vuf ); - return vec4( vuf * Inv255, gf * PackUpscale, bf * PackUpscale, af ); -} -vec3 packDepthToRGB( const in float v ) { - if( v <= 0.0 ) - return vec3( 0., 0., 0. ); - if( v >= 1.0 ) - return vec3( 1., 1., 1. ); - float vuf; - float bf = modf( v * PackFactors.b, vuf ); - float gf = modf( vuf * ShiftRight8, vuf ); - return vec3( vuf * Inv255, gf * PackUpscale, bf ); -} -vec2 packDepthToRG( const in float v ) { - if( v <= 0.0 ) - return vec2( 0., 0. ); - if( v >= 1.0 ) - return vec2( 1., 1. ); - float vuf; - float gf = modf( v * 256., vuf ); - return vec2( vuf * Inv255, gf ); -} -float unpackRGBAToDepth( const in vec4 v ) { - return dot( v, UnpackFactors4 ); -} -float unpackRGBToDepth( const in vec3 v ) { - return dot( v, UnpackFactors3 ); -} -float unpackRGToDepth( const in vec2 v ) { - return v.r * UnpackFactors2.r + v.g * UnpackFactors2.g; -} -vec4 pack2HalfToRGBA( const in vec2 v ) { - vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) ); - return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w ); -} -vec2 unpackRGBATo2Half( const in vec4 v ) { - return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) ); -} -float viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) { - return ( viewZ + near ) / ( near - far ); -} -float orthographicDepthToViewZ( const in float depth, const in float near, const in float far ) { - #ifdef USE_REVERSED_DEPTH_BUFFER - - return depth * ( far - near ) - far; - #else - return depth * ( near - far ) - near; - #endif -} -float viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) { - return ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ ); -} -float perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) { - - #ifdef USE_REVERSED_DEPTH_BUFFER - return ( near * far ) / ( ( near - far ) * depth - near ); - #else - return ( near * far ) / ( ( far - near ) * depth - far ); - #endif -}`,premultiplied_alpha_fragment:`#ifdef PREMULTIPLIED_ALPHA - gl_FragColor.rgb *= gl_FragColor.a; -#endif`,project_vertex:`vec4 mvPosition = vec4( transformed, 1.0 ); -#ifdef USE_BATCHING - mvPosition = batchingMatrix * mvPosition; -#endif -#ifdef USE_INSTANCING - mvPosition = instanceMatrix * mvPosition; -#endif -mvPosition = modelViewMatrix * mvPosition; -gl_Position = projectionMatrix * mvPosition;`,dithering_fragment:`#ifdef DITHERING - gl_FragColor.rgb = dithering( gl_FragColor.rgb ); -#endif`,dithering_pars_fragment:`#ifdef DITHERING - vec3 dithering( vec3 color ) { - float grid_position = rand( gl_FragCoord.xy ); - vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 ); - dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position ); - return color + dither_shift_RGB; - } -#endif`,roughnessmap_fragment:`float roughnessFactor = roughness; -#ifdef USE_ROUGHNESSMAP - vec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv ); - roughnessFactor *= texelRoughness.g; -#endif`,roughnessmap_pars_fragment:`#ifdef USE_ROUGHNESSMAP - uniform sampler2D roughnessMap; -#endif`,shadowmap_pars_fragment:`#if NUM_SPOT_LIGHT_COORDS > 0 - varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; -#endif -#if NUM_SPOT_LIGHT_MAPS > 0 - uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ]; -#endif -#ifdef USE_SHADOWMAP - #if NUM_DIR_LIGHT_SHADOWS > 0 - #if defined( SHADOWMAP_TYPE_PCF ) - uniform sampler2DShadow directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ]; - #else - uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ]; - #endif - varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; - struct DirectionalLightShadow { - float shadowIntensity; - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; - #endif - #if NUM_SPOT_LIGHT_SHADOWS > 0 - #if defined( SHADOWMAP_TYPE_PCF ) - uniform sampler2DShadow spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ]; - #else - uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ]; - #endif - struct SpotLightShadow { - float shadowIntensity; - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - #if defined( SHADOWMAP_TYPE_PCF ) - uniform samplerCubeShadow pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ]; - #elif defined( SHADOWMAP_TYPE_BASIC ) - uniform samplerCube pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ]; - #endif - varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; - struct PointLightShadow { - float shadowIntensity; - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - float shadowCameraNear; - float shadowCameraFar; - }; - uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; - #endif - #if defined( SHADOWMAP_TYPE_PCF ) - float interleavedGradientNoise( vec2 position ) { - return fract( 52.9829189 * fract( dot( position, vec2( 0.06711056, 0.00583715 ) ) ) ); - } - vec2 vogelDiskSample( int sampleIndex, int samplesCount, float phi ) { - const float goldenAngle = 2.399963229728653; - float r = sqrt( ( float( sampleIndex ) + 0.5 ) / float( samplesCount ) ); - float theta = float( sampleIndex ) * goldenAngle + phi; - return vec2( cos( theta ), sin( theta ) ) * r; - } - #endif - #if defined( SHADOWMAP_TYPE_PCF ) - float getShadow( sampler2DShadow shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) { - float shadow = 1.0; - shadowCoord.xyz /= shadowCoord.w; - shadowCoord.z += shadowBias; - bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0; - bool frustumTest = inFrustum && shadowCoord.z <= 1.0; - if ( frustumTest ) { - vec2 texelSize = vec2( 1.0 ) / shadowMapSize; - float radius = shadowRadius * texelSize.x; - float phi = interleavedGradientNoise( gl_FragCoord.xy ) * PI2; - shadow = ( - texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 0, 5, phi ) * radius, shadowCoord.z ) ) + - texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 1, 5, phi ) * radius, shadowCoord.z ) ) + - texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 2, 5, phi ) * radius, shadowCoord.z ) ) + - texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 3, 5, phi ) * radius, shadowCoord.z ) ) + - texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 4, 5, phi ) * radius, shadowCoord.z ) ) - ) * 0.2; - } - return mix( 1.0, shadow, shadowIntensity ); - } - #elif defined( SHADOWMAP_TYPE_VSM ) - float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) { - float shadow = 1.0; - shadowCoord.xyz /= shadowCoord.w; - #ifdef USE_REVERSED_DEPTH_BUFFER - shadowCoord.z -= shadowBias; - #else - shadowCoord.z += shadowBias; - #endif - bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0; - bool frustumTest = inFrustum && shadowCoord.z <= 1.0; - if ( frustumTest ) { - vec2 distribution = texture2D( shadowMap, shadowCoord.xy ).rg; - float mean = distribution.x; - float variance = distribution.y * distribution.y; - #ifdef USE_REVERSED_DEPTH_BUFFER - float hard_shadow = step( mean, shadowCoord.z ); - #else - float hard_shadow = step( shadowCoord.z, mean ); - #endif - - if ( hard_shadow == 1.0 ) { - shadow = 1.0; - } else { - variance = max( variance, 0.0000001 ); - float d = shadowCoord.z - mean; - float p_max = variance / ( variance + d * d ); - p_max = clamp( ( p_max - 0.3 ) / 0.65, 0.0, 1.0 ); - shadow = max( hard_shadow, p_max ); - } - } - return mix( 1.0, shadow, shadowIntensity ); - } - #else - float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) { - float shadow = 1.0; - shadowCoord.xyz /= shadowCoord.w; - #ifdef USE_REVERSED_DEPTH_BUFFER - shadowCoord.z -= shadowBias; - #else - shadowCoord.z += shadowBias; - #endif - bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0; - bool frustumTest = inFrustum && shadowCoord.z <= 1.0; - if ( frustumTest ) { - float depth = texture2D( shadowMap, shadowCoord.xy ).r; - #ifdef USE_REVERSED_DEPTH_BUFFER - shadow = step( depth, shadowCoord.z ); - #else - shadow = step( shadowCoord.z, depth ); - #endif - } - return mix( 1.0, shadow, shadowIntensity ); - } - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - #if defined( SHADOWMAP_TYPE_PCF ) - float getPointShadow( samplerCubeShadow shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) { - float shadow = 1.0; - vec3 lightToPosition = shadowCoord.xyz; - vec3 bd3D = normalize( lightToPosition ); - vec3 absVec = abs( lightToPosition ); - float viewSpaceZ = max( max( absVec.x, absVec.y ), absVec.z ); - if ( viewSpaceZ - shadowCameraFar <= 0.0 && viewSpaceZ - shadowCameraNear >= 0.0 ) { - #ifdef USE_REVERSED_DEPTH_BUFFER - float dp = ( shadowCameraNear * ( shadowCameraFar - viewSpaceZ ) ) / ( viewSpaceZ * ( shadowCameraFar - shadowCameraNear ) ); - dp -= shadowBias; - #else - float dp = ( shadowCameraFar * ( viewSpaceZ - shadowCameraNear ) ) / ( viewSpaceZ * ( shadowCameraFar - shadowCameraNear ) ); - dp += shadowBias; - #endif - float texelSize = shadowRadius / shadowMapSize.x; - vec3 absDir = abs( bd3D ); - vec3 tangent = absDir.x > absDir.z ? vec3( 0.0, 1.0, 0.0 ) : vec3( 1.0, 0.0, 0.0 ); - tangent = normalize( cross( bd3D, tangent ) ); - vec3 bitangent = cross( bd3D, tangent ); - float phi = interleavedGradientNoise( gl_FragCoord.xy ) * PI2; - vec2 sample0 = vogelDiskSample( 0, 5, phi ); - vec2 sample1 = vogelDiskSample( 1, 5, phi ); - vec2 sample2 = vogelDiskSample( 2, 5, phi ); - vec2 sample3 = vogelDiskSample( 3, 5, phi ); - vec2 sample4 = vogelDiskSample( 4, 5, phi ); - shadow = ( - texture( shadowMap, vec4( bd3D + ( tangent * sample0.x + bitangent * sample0.y ) * texelSize, dp ) ) + - texture( shadowMap, vec4( bd3D + ( tangent * sample1.x + bitangent * sample1.y ) * texelSize, dp ) ) + - texture( shadowMap, vec4( bd3D + ( tangent * sample2.x + bitangent * sample2.y ) * texelSize, dp ) ) + - texture( shadowMap, vec4( bd3D + ( tangent * sample3.x + bitangent * sample3.y ) * texelSize, dp ) ) + - texture( shadowMap, vec4( bd3D + ( tangent * sample4.x + bitangent * sample4.y ) * texelSize, dp ) ) - ) * 0.2; - } - return mix( 1.0, shadow, shadowIntensity ); - } - #elif defined( SHADOWMAP_TYPE_BASIC ) - float getPointShadow( samplerCube shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) { - float shadow = 1.0; - vec3 lightToPosition = shadowCoord.xyz; - vec3 absVec = abs( lightToPosition ); - float viewSpaceZ = max( max( absVec.x, absVec.y ), absVec.z ); - if ( viewSpaceZ - shadowCameraFar <= 0.0 && viewSpaceZ - shadowCameraNear >= 0.0 ) { - float dp = ( shadowCameraFar * ( viewSpaceZ - shadowCameraNear ) ) / ( viewSpaceZ * ( shadowCameraFar - shadowCameraNear ) ); - dp += shadowBias; - vec3 bd3D = normalize( lightToPosition ); - float depth = textureCube( shadowMap, bd3D ).r; - #ifdef USE_REVERSED_DEPTH_BUFFER - depth = 1.0 - depth; - #endif - shadow = step( dp, depth ); - } - return mix( 1.0, shadow, shadowIntensity ); - } - #endif - #endif -#endif`,shadowmap_pars_vertex:`#if NUM_SPOT_LIGHT_COORDS > 0 - uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ]; - varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; -#endif -#ifdef USE_SHADOWMAP - #if NUM_DIR_LIGHT_SHADOWS > 0 - uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ]; - varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; - struct DirectionalLightShadow { - float shadowIntensity; - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; - #endif - #if NUM_SPOT_LIGHT_SHADOWS > 0 - struct SpotLightShadow { - float shadowIntensity; - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ]; - varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; - struct PointLightShadow { - float shadowIntensity; - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - float shadowCameraNear; - float shadowCameraFar; - }; - uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; - #endif -#endif`,shadowmap_vertex:`#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 ) - #ifdef HAS_NORMAL - vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); - #else - vec3 shadowWorldNormal = vec3( 0.0 ); - #endif - vec4 shadowWorldPosition; -#endif -#if defined( USE_SHADOWMAP ) - #if NUM_DIR_LIGHT_SHADOWS > 0 - #pragma unroll_loop_start - for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { - shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 ); - vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition; - } - #pragma unroll_loop_end - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - #pragma unroll_loop_start - for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { - shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 ); - vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition; - } - #pragma unroll_loop_end - #endif -#endif -#if NUM_SPOT_LIGHT_COORDS > 0 - #pragma unroll_loop_start - for ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) { - shadowWorldPosition = worldPosition; - #if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) - shadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias; - #endif - vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition; - } - #pragma unroll_loop_end -#endif`,shadowmask_pars_fragment:`float getShadowMask() { - float shadow = 1.0; - #ifdef USE_SHADOWMAP - #if NUM_DIR_LIGHT_SHADOWS > 0 - DirectionalLightShadow directionalLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { - directionalLight = directionalLightShadows[ i ]; - shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowIntensity, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; - } - #pragma unroll_loop_end - #endif - #if NUM_SPOT_LIGHT_SHADOWS > 0 - SpotLightShadow spotLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) { - spotLight = spotLightShadows[ i ]; - shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowIntensity, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; - } - #pragma unroll_loop_end - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 && ( defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_BASIC ) ) - PointLightShadow pointLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { - pointLight = pointLightShadows[ i ]; - shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowIntensity, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0; - } - #pragma unroll_loop_end - #endif - #endif - return shadow; -}`,skinbase_vertex:`#ifdef USE_SKINNING - mat4 boneMatX = getBoneMatrix( skinIndex.x ); - mat4 boneMatY = getBoneMatrix( skinIndex.y ); - mat4 boneMatZ = getBoneMatrix( skinIndex.z ); - mat4 boneMatW = getBoneMatrix( skinIndex.w ); -#endif`,skinning_pars_vertex:`#ifdef USE_SKINNING - uniform mat4 bindMatrix; - uniform mat4 bindMatrixInverse; - uniform highp sampler2D boneTexture; - mat4 getBoneMatrix( const in float i ) { - int size = textureSize( boneTexture, 0 ).x; - int j = int( i ) * 4; - int x = j % size; - int y = j / size; - vec4 v1 = texelFetch( boneTexture, ivec2( x, y ), 0 ); - vec4 v2 = texelFetch( boneTexture, ivec2( x + 1, y ), 0 ); - vec4 v3 = texelFetch( boneTexture, ivec2( x + 2, y ), 0 ); - vec4 v4 = texelFetch( boneTexture, ivec2( x + 3, y ), 0 ); - return mat4( v1, v2, v3, v4 ); - } -#endif`,skinning_vertex:`#ifdef USE_SKINNING - vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 ); - vec4 skinned = vec4( 0.0 ); - skinned += boneMatX * skinVertex * skinWeight.x; - skinned += boneMatY * skinVertex * skinWeight.y; - skinned += boneMatZ * skinVertex * skinWeight.z; - skinned += boneMatW * skinVertex * skinWeight.w; - transformed = ( bindMatrixInverse * skinned ).xyz; -#endif`,skinnormal_vertex:`#ifdef USE_SKINNING - mat4 skinMatrix = mat4( 0.0 ); - skinMatrix += skinWeight.x * boneMatX; - skinMatrix += skinWeight.y * boneMatY; - skinMatrix += skinWeight.z * boneMatZ; - skinMatrix += skinWeight.w * boneMatW; - skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix; - objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz; - #ifdef USE_TANGENT - objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz; - #endif -#endif`,specularmap_fragment:`float specularStrength; -#ifdef USE_SPECULARMAP - vec4 texelSpecular = texture2D( specularMap, vSpecularMapUv ); - specularStrength = texelSpecular.r; -#else - specularStrength = 1.0; -#endif`,specularmap_pars_fragment:`#ifdef USE_SPECULARMAP - uniform sampler2D specularMap; -#endif`,tonemapping_fragment:`#if defined( TONE_MAPPING ) - gl_FragColor.rgb = toneMapping( gl_FragColor.rgb ); -#endif`,tonemapping_pars_fragment:`#ifndef saturate -#define saturate( a ) clamp( a, 0.0, 1.0 ) -#endif -uniform float toneMappingExposure; -vec3 LinearToneMapping( vec3 color ) { - return saturate( toneMappingExposure * color ); -} -vec3 ReinhardToneMapping( vec3 color ) { - color *= toneMappingExposure; - return saturate( color / ( vec3( 1.0 ) + color ) ); -} -vec3 CineonToneMapping( vec3 color ) { - color *= toneMappingExposure; - color = max( vec3( 0.0 ), color - 0.004 ); - return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) ); -} -vec3 RRTAndODTFit( vec3 v ) { - vec3 a = v * ( v + 0.0245786 ) - 0.000090537; - vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081; - return a / b; -} -vec3 ACESFilmicToneMapping( vec3 color ) { - const mat3 ACESInputMat = mat3( - vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ), - vec3( 0.04823, 0.01566, 0.83777 ) - ); - const mat3 ACESOutputMat = mat3( - vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ), - vec3( -0.07367, -0.00605, 1.07602 ) - ); - color *= toneMappingExposure / 0.6; - color = ACESInputMat * color; - color = RRTAndODTFit( color ); - color = ACESOutputMat * color; - return saturate( color ); -} -const mat3 LINEAR_REC2020_TO_LINEAR_SRGB = mat3( - vec3( 1.6605, - 0.1246, - 0.0182 ), - vec3( - 0.5876, 1.1329, - 0.1006 ), - vec3( - 0.0728, - 0.0083, 1.1187 ) -); -const mat3 LINEAR_SRGB_TO_LINEAR_REC2020 = mat3( - vec3( 0.6274, 0.0691, 0.0164 ), - vec3( 0.3293, 0.9195, 0.0880 ), - vec3( 0.0433, 0.0113, 0.8956 ) -); -vec3 agxDefaultContrastApprox( vec3 x ) { - vec3 x2 = x * x; - vec3 x4 = x2 * x2; - return + 15.5 * x4 * x2 - - 40.14 * x4 * x - + 31.96 * x4 - - 6.868 * x2 * x - + 0.4298 * x2 - + 0.1191 * x - - 0.00232; -} -vec3 AgXToneMapping( vec3 color ) { - const mat3 AgXInsetMatrix = mat3( - vec3( 0.856627153315983, 0.137318972929847, 0.11189821299995 ), - vec3( 0.0951212405381588, 0.761241990602591, 0.0767994186031903 ), - vec3( 0.0482516061458583, 0.101439036467562, 0.811302368396859 ) - ); - const mat3 AgXOutsetMatrix = mat3( - vec3( 1.1271005818144368, - 0.1413297634984383, - 0.14132976349843826 ), - vec3( - 0.11060664309660323, 1.157823702216272, - 0.11060664309660294 ), - vec3( - 0.016493938717834573, - 0.016493938717834257, 1.2519364065950405 ) - ); - const float AgxMinEv = - 12.47393; const float AgxMaxEv = 4.026069; - color *= toneMappingExposure; - color = LINEAR_SRGB_TO_LINEAR_REC2020 * color; - color = AgXInsetMatrix * color; - color = max( color, 1e-10 ); color = log2( color ); - color = ( color - AgxMinEv ) / ( AgxMaxEv - AgxMinEv ); - color = clamp( color, 0.0, 1.0 ); - color = agxDefaultContrastApprox( color ); - color = AgXOutsetMatrix * color; - color = pow( max( vec3( 0.0 ), color ), vec3( 2.2 ) ); - color = LINEAR_REC2020_TO_LINEAR_SRGB * color; - color = clamp( color, 0.0, 1.0 ); - return color; -} -vec3 NeutralToneMapping( vec3 color ) { - const float StartCompression = 0.8 - 0.04; - const float Desaturation = 0.15; - color *= toneMappingExposure; - float x = min( color.r, min( color.g, color.b ) ); - float offset = x < 0.08 ? x - 6.25 * x * x : 0.04; - color -= offset; - float peak = max( color.r, max( color.g, color.b ) ); - if ( peak < StartCompression ) return color; - float d = 1. - StartCompression; - float newPeak = 1. - d * d / ( peak + d - StartCompression ); - color *= newPeak / peak; - float g = 1. - 1. / ( Desaturation * ( peak - newPeak ) + 1. ); - return mix( color, vec3( newPeak ), g ); -} -vec3 CustomToneMapping( vec3 color ) { return color; }`,transmission_fragment:`#ifdef USE_TRANSMISSION - material.transmission = transmission; - material.transmissionAlpha = 1.0; - material.thickness = thickness; - material.attenuationDistance = attenuationDistance; - material.attenuationColor = attenuationColor; - #ifdef USE_TRANSMISSIONMAP - material.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r; - #endif - #ifdef USE_THICKNESSMAP - material.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g; - #endif - vec3 pos = vWorldPosition; - vec3 v = normalize( cameraPosition - pos ); - vec3 n = inverseTransformDirection( normal, viewMatrix ); - vec4 transmitted = getIBLVolumeRefraction( - n, v, material.roughness, material.diffuseContribution, material.specularColorBlended, material.specularF90, - pos, modelMatrix, viewMatrix, projectionMatrix, material.dispersion, material.ior, material.thickness, - material.attenuationColor, material.attenuationDistance ); - material.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission ); - totalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission ); -#endif`,transmission_pars_fragment:`#ifdef USE_TRANSMISSION - uniform float transmission; - uniform float thickness; - uniform float attenuationDistance; - uniform vec3 attenuationColor; - #ifdef USE_TRANSMISSIONMAP - uniform sampler2D transmissionMap; - #endif - #ifdef USE_THICKNESSMAP - uniform sampler2D thicknessMap; - #endif - uniform vec2 transmissionSamplerSize; - uniform sampler2D transmissionSamplerMap; - uniform mat4 modelMatrix; - uniform mat4 projectionMatrix; - varying vec3 vWorldPosition; - float w0( float a ) { - return ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 ); - } - float w1( float a ) { - return ( 1.0 / 6.0 ) * ( a * a * ( 3.0 * a - 6.0 ) + 4.0 ); - } - float w2( float a ){ - return ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 ); - } - float w3( float a ) { - return ( 1.0 / 6.0 ) * ( a * a * a ); - } - float g0( float a ) { - return w0( a ) + w1( a ); - } - float g1( float a ) { - return w2( a ) + w3( a ); - } - float h0( float a ) { - return - 1.0 + w1( a ) / ( w0( a ) + w1( a ) ); - } - float h1( float a ) { - return 1.0 + w3( a ) / ( w2( a ) + w3( a ) ); - } - vec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, float lod ) { - uv = uv * texelSize.zw + 0.5; - vec2 iuv = floor( uv ); - vec2 fuv = fract( uv ); - float g0x = g0( fuv.x ); - float g1x = g1( fuv.x ); - float h0x = h0( fuv.x ); - float h1x = h1( fuv.x ); - float h0y = h0( fuv.y ); - float h1y = h1( fuv.y ); - vec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy; - vec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy; - vec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy; - vec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy; - return g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) + - g1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) ); - } - vec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) { - vec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) ); - vec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) ); - vec2 fLodSizeInv = 1.0 / fLodSize; - vec2 cLodSizeInv = 1.0 / cLodSize; - vec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), floor( lod ) ); - vec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), ceil( lod ) ); - return mix( fSample, cSample, fract( lod ) ); - } - vec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) { - vec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior ); - vec3 modelScale; - modelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) ); - modelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) ); - modelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) ); - return normalize( refractionVector ) * thickness * modelScale; - } - float applyIorToRoughness( const in float roughness, const in float ior ) { - return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 ); - } - vec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) { - float lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior ); - return textureBicubic( transmissionSamplerMap, fragCoord.xy, lod ); - } - vec3 volumeAttenuation( const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) { - if ( isinf( attenuationDistance ) ) { - return vec3( 1.0 ); - } else { - vec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance; - vec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); return transmittance; - } - } - vec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor, - const in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix, - const in mat4 viewMatrix, const in mat4 projMatrix, const in float dispersion, const in float ior, const in float thickness, - const in vec3 attenuationColor, const in float attenuationDistance ) { - vec4 transmittedLight; - vec3 transmittance; - #ifdef USE_DISPERSION - float halfSpread = ( ior - 1.0 ) * 0.025 * dispersion; - vec3 iors = vec3( ior - halfSpread, ior, ior + halfSpread ); - for ( int i = 0; i < 3; i ++ ) { - vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, iors[ i ], modelMatrix ); - vec3 refractedRayExit = position + transmissionRay; - vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 ); - vec2 refractionCoords = ndcPos.xy / ndcPos.w; - refractionCoords += 1.0; - refractionCoords /= 2.0; - vec4 transmissionSample = getTransmissionSample( refractionCoords, roughness, iors[ i ] ); - transmittedLight[ i ] = transmissionSample[ i ]; - transmittedLight.a += transmissionSample.a; - transmittance[ i ] = diffuseColor[ i ] * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance )[ i ]; - } - transmittedLight.a /= 3.0; - #else - vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix ); - vec3 refractedRayExit = position + transmissionRay; - vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 ); - vec2 refractionCoords = ndcPos.xy / ndcPos.w; - refractionCoords += 1.0; - refractionCoords /= 2.0; - transmittedLight = getTransmissionSample( refractionCoords, roughness, ior ); - transmittance = diffuseColor * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance ); - #endif - vec3 attenuatedColor = transmittance * transmittedLight.rgb; - vec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness ); - float transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0; - return vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor ); - } -#endif`,uv_pars_fragment:`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) - varying vec2 vUv; -#endif -#ifdef USE_MAP - varying vec2 vMapUv; -#endif -#ifdef USE_ALPHAMAP - varying vec2 vAlphaMapUv; -#endif -#ifdef USE_LIGHTMAP - varying vec2 vLightMapUv; -#endif -#ifdef USE_AOMAP - varying vec2 vAoMapUv; -#endif -#ifdef USE_BUMPMAP - varying vec2 vBumpMapUv; -#endif -#ifdef USE_NORMALMAP - varying vec2 vNormalMapUv; -#endif -#ifdef USE_EMISSIVEMAP - varying vec2 vEmissiveMapUv; -#endif -#ifdef USE_METALNESSMAP - varying vec2 vMetalnessMapUv; -#endif -#ifdef USE_ROUGHNESSMAP - varying vec2 vRoughnessMapUv; -#endif -#ifdef USE_ANISOTROPYMAP - varying vec2 vAnisotropyMapUv; -#endif -#ifdef USE_CLEARCOATMAP - varying vec2 vClearcoatMapUv; -#endif -#ifdef USE_CLEARCOAT_NORMALMAP - varying vec2 vClearcoatNormalMapUv; -#endif -#ifdef USE_CLEARCOAT_ROUGHNESSMAP - varying vec2 vClearcoatRoughnessMapUv; -#endif -#ifdef USE_IRIDESCENCEMAP - varying vec2 vIridescenceMapUv; -#endif -#ifdef USE_IRIDESCENCE_THICKNESSMAP - varying vec2 vIridescenceThicknessMapUv; -#endif -#ifdef USE_SHEEN_COLORMAP - varying vec2 vSheenColorMapUv; -#endif -#ifdef USE_SHEEN_ROUGHNESSMAP - varying vec2 vSheenRoughnessMapUv; -#endif -#ifdef USE_SPECULARMAP - varying vec2 vSpecularMapUv; -#endif -#ifdef USE_SPECULAR_COLORMAP - varying vec2 vSpecularColorMapUv; -#endif -#ifdef USE_SPECULAR_INTENSITYMAP - varying vec2 vSpecularIntensityMapUv; -#endif -#ifdef USE_TRANSMISSIONMAP - uniform mat3 transmissionMapTransform; - varying vec2 vTransmissionMapUv; -#endif -#ifdef USE_THICKNESSMAP - uniform mat3 thicknessMapTransform; - varying vec2 vThicknessMapUv; -#endif`,uv_pars_vertex:`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) - varying vec2 vUv; -#endif -#ifdef USE_MAP - uniform mat3 mapTransform; - varying vec2 vMapUv; -#endif -#ifdef USE_ALPHAMAP - uniform mat3 alphaMapTransform; - varying vec2 vAlphaMapUv; -#endif -#ifdef USE_LIGHTMAP - uniform mat3 lightMapTransform; - varying vec2 vLightMapUv; -#endif -#ifdef USE_AOMAP - uniform mat3 aoMapTransform; - varying vec2 vAoMapUv; -#endif -#ifdef USE_BUMPMAP - uniform mat3 bumpMapTransform; - varying vec2 vBumpMapUv; -#endif -#ifdef USE_NORMALMAP - uniform mat3 normalMapTransform; - varying vec2 vNormalMapUv; -#endif -#ifdef USE_DISPLACEMENTMAP - uniform mat3 displacementMapTransform; - varying vec2 vDisplacementMapUv; -#endif -#ifdef USE_EMISSIVEMAP - uniform mat3 emissiveMapTransform; - varying vec2 vEmissiveMapUv; -#endif -#ifdef USE_METALNESSMAP - uniform mat3 metalnessMapTransform; - varying vec2 vMetalnessMapUv; -#endif -#ifdef USE_ROUGHNESSMAP - uniform mat3 roughnessMapTransform; - varying vec2 vRoughnessMapUv; -#endif -#ifdef USE_ANISOTROPYMAP - uniform mat3 anisotropyMapTransform; - varying vec2 vAnisotropyMapUv; -#endif -#ifdef USE_CLEARCOATMAP - uniform mat3 clearcoatMapTransform; - varying vec2 vClearcoatMapUv; -#endif -#ifdef USE_CLEARCOAT_NORMALMAP - uniform mat3 clearcoatNormalMapTransform; - varying vec2 vClearcoatNormalMapUv; -#endif -#ifdef USE_CLEARCOAT_ROUGHNESSMAP - uniform mat3 clearcoatRoughnessMapTransform; - varying vec2 vClearcoatRoughnessMapUv; -#endif -#ifdef USE_SHEEN_COLORMAP - uniform mat3 sheenColorMapTransform; - varying vec2 vSheenColorMapUv; -#endif -#ifdef USE_SHEEN_ROUGHNESSMAP - uniform mat3 sheenRoughnessMapTransform; - varying vec2 vSheenRoughnessMapUv; -#endif -#ifdef USE_IRIDESCENCEMAP - uniform mat3 iridescenceMapTransform; - varying vec2 vIridescenceMapUv; -#endif -#ifdef USE_IRIDESCENCE_THICKNESSMAP - uniform mat3 iridescenceThicknessMapTransform; - varying vec2 vIridescenceThicknessMapUv; -#endif -#ifdef USE_SPECULARMAP - uniform mat3 specularMapTransform; - varying vec2 vSpecularMapUv; -#endif -#ifdef USE_SPECULAR_COLORMAP - uniform mat3 specularColorMapTransform; - varying vec2 vSpecularColorMapUv; -#endif -#ifdef USE_SPECULAR_INTENSITYMAP - uniform mat3 specularIntensityMapTransform; - varying vec2 vSpecularIntensityMapUv; -#endif -#ifdef USE_TRANSMISSIONMAP - uniform mat3 transmissionMapTransform; - varying vec2 vTransmissionMapUv; -#endif -#ifdef USE_THICKNESSMAP - uniform mat3 thicknessMapTransform; - varying vec2 vThicknessMapUv; -#endif`,uv_vertex:`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) - vUv = vec3( uv, 1 ).xy; -#endif -#ifdef USE_MAP - vMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy; -#endif -#ifdef USE_ALPHAMAP - vAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_LIGHTMAP - vLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_AOMAP - vAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_BUMPMAP - vBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_NORMALMAP - vNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_DISPLACEMENTMAP - vDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_EMISSIVEMAP - vEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_METALNESSMAP - vMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_ROUGHNESSMAP - vRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_ANISOTROPYMAP - vAnisotropyMapUv = ( anisotropyMapTransform * vec3( ANISOTROPYMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_CLEARCOATMAP - vClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_CLEARCOAT_NORMALMAP - vClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_CLEARCOAT_ROUGHNESSMAP - vClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_IRIDESCENCEMAP - vIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_IRIDESCENCE_THICKNESSMAP - vIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_SHEEN_COLORMAP - vSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_SHEEN_ROUGHNESSMAP - vSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_SPECULARMAP - vSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_SPECULAR_COLORMAP - vSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_SPECULAR_INTENSITYMAP - vSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_TRANSMISSIONMAP - vTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_THICKNESSMAP - vThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy; -#endif`,worldpos_vertex:`#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0 - vec4 worldPosition = vec4( transformed, 1.0 ); - #ifdef USE_BATCHING - worldPosition = batchingMatrix * worldPosition; - #endif - #ifdef USE_INSTANCING - worldPosition = instanceMatrix * worldPosition; - #endif - worldPosition = modelMatrix * worldPosition; -#endif`,background_vert:`varying vec2 vUv; -uniform mat3 uvTransform; -void main() { - vUv = ( uvTransform * vec3( uv, 1 ) ).xy; - gl_Position = vec4( position.xy, 1.0, 1.0 ); -}`,background_frag:`uniform sampler2D t2D; -uniform float backgroundIntensity; -varying vec2 vUv; -void main() { - vec4 texColor = texture2D( t2D, vUv ); - #ifdef DECODE_VIDEO_TEXTURE - texColor = vec4( mix( pow( texColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), texColor.rgb * 0.0773993808, vec3( lessThanEqual( texColor.rgb, vec3( 0.04045 ) ) ) ), texColor.w ); - #endif - texColor.rgb *= backgroundIntensity; - gl_FragColor = texColor; - #include - #include -}`,backgroundCube_vert:`varying vec3 vWorldDirection; -#include -void main() { - vWorldDirection = transformDirection( position, modelMatrix ); - #include - #include - gl_Position.z = gl_Position.w; -}`,backgroundCube_frag:`#ifdef ENVMAP_TYPE_CUBE - uniform samplerCube envMap; -#elif defined( ENVMAP_TYPE_CUBE_UV ) - uniform sampler2D envMap; -#endif -uniform float backgroundBlurriness; -uniform float backgroundIntensity; -uniform mat3 backgroundRotation; -varying vec3 vWorldDirection; -#include -void main() { - #ifdef ENVMAP_TYPE_CUBE - vec4 texColor = textureCube( envMap, backgroundRotation * vWorldDirection ); - #elif defined( ENVMAP_TYPE_CUBE_UV ) - vec4 texColor = textureCubeUV( envMap, backgroundRotation * vWorldDirection, backgroundBlurriness ); - #else - vec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 ); - #endif - texColor.rgb *= backgroundIntensity; - gl_FragColor = texColor; - #include - #include -}`,cube_vert:`varying vec3 vWorldDirection; -#include -void main() { - vWorldDirection = transformDirection( position, modelMatrix ); - #include - #include - gl_Position.z = gl_Position.w; -}`,cube_frag:`uniform samplerCube tCube; -uniform float tFlip; -uniform float opacity; -varying vec3 vWorldDirection; -void main() { - vec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) ); - gl_FragColor = texColor; - gl_FragColor.a *= opacity; - #include - #include -}`,depth_vert:`#include -#include -#include -#include -#include -#include -#include -#include -varying vec2 vHighPrecisionZW; -void main() { - #include - #include - #include - #include - #ifdef USE_DISPLACEMENTMAP - #include - #include - #include - #endif - #include - #include - #include - #include - #include - #include - #include - vHighPrecisionZW = gl_Position.zw; -}`,depth_frag:`#if DEPTH_PACKING == 3200 - uniform float opacity; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -varying vec2 vHighPrecisionZW; -void main() { - vec4 diffuseColor = vec4( 1.0 ); - #include - #if DEPTH_PACKING == 3200 - diffuseColor.a = opacity; - #endif - #include - #include - #include - #include - #include - #ifdef USE_REVERSED_DEPTH_BUFFER - float fragCoordZ = vHighPrecisionZW[ 0 ] / vHighPrecisionZW[ 1 ]; - #else - float fragCoordZ = 0.5 * vHighPrecisionZW[ 0 ] / vHighPrecisionZW[ 1 ] + 0.5; - #endif - #if DEPTH_PACKING == 3200 - gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity ); - #elif DEPTH_PACKING == 3201 - gl_FragColor = packDepthToRGBA( fragCoordZ ); - #elif DEPTH_PACKING == 3202 - gl_FragColor = vec4( packDepthToRGB( fragCoordZ ), 1.0 ); - #elif DEPTH_PACKING == 3203 - gl_FragColor = vec4( packDepthToRG( fragCoordZ ), 0.0, 1.0 ); - #endif -}`,distance_vert:`#define DISTANCE -varying vec3 vWorldPosition; -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #ifdef USE_DISPLACEMENTMAP - #include - #include - #include - #endif - #include - #include - #include - #include - #include - #include - #include - vWorldPosition = worldPosition.xyz; -}`,distance_frag:`#define DISTANCE -uniform vec3 referencePosition; -uniform float nearDistance; -uniform float farDistance; -varying vec3 vWorldPosition; -#include -#include -#include -#include -#include -#include -#include -void main () { - vec4 diffuseColor = vec4( 1.0 ); - #include - #include - #include - #include - #include - float dist = length( vWorldPosition - referencePosition ); - dist = ( dist - nearDistance ) / ( farDistance - nearDistance ); - dist = saturate( dist ); - gl_FragColor = vec4( dist, 0.0, 0.0, 1.0 ); -}`,equirect_vert:`varying vec3 vWorldDirection; -#include -void main() { - vWorldDirection = transformDirection( position, modelMatrix ); - #include - #include -}`,equirect_frag:`uniform sampler2D tEquirect; -varying vec3 vWorldDirection; -#include -void main() { - vec3 direction = normalize( vWorldDirection ); - vec2 sampleUV = equirectUv( direction ); - gl_FragColor = texture2D( tEquirect, sampleUV ); - #include - #include -}`,linedashed_vert:`uniform float scale; -attribute float lineDistance; -varying float vLineDistance; -#include -#include -#include -#include -#include -#include -#include -void main() { - vLineDistance = scale * lineDistance; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include -}`,linedashed_frag:`uniform vec3 diffuse; -uniform float opacity; -uniform float dashSize; -uniform float totalSize; -varying float vLineDistance; -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - if ( mod( vLineDistance, totalSize ) > dashSize ) { - discard; - } - vec3 outgoingLight = vec3( 0.0 ); - #include - #include - #include - outgoingLight = diffuseColor.rgb; - #include - #include - #include - #include - #include -}`,meshbasic_vert:`#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #if defined ( USE_ENVMAP ) || defined ( USE_SKINNING ) - #include - #include - #include - #include - #include - #endif - #include - #include - #include - #include - #include - #include - #include - #include - #include -}`,meshbasic_frag:`uniform vec3 diffuse; -uniform float opacity; -#ifndef FLAT_SHADED - varying vec3 vNormal; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - #include - #include - #include - #include - #include - #include - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - #ifdef USE_LIGHTMAP - vec4 lightMapTexel = texture2D( lightMap, vLightMapUv ); - reflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI; - #else - reflectedLight.indirectDiffuse += vec3( 1.0 ); - #endif - #include - reflectedLight.indirectDiffuse *= diffuseColor.rgb; - vec3 outgoingLight = reflectedLight.indirectDiffuse; - #include - #include - #include - #include - #include - #include - #include -}`,meshlambert_vert:`#define LAMBERT -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include - #include -}`,meshlambert_frag:`#define LAMBERT -uniform vec3 diffuse; -uniform vec3 emissive; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; - #include - #include - #include - #include - #include - #include - #include -}`,meshmatcap_vert:`#define MATCAP -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; -}`,meshmatcap_frag:`#define MATCAP -uniform vec3 diffuse; -uniform float opacity; -uniform sampler2D matcap; -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 viewDir = normalize( vViewPosition ); - vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) ); - vec3 y = cross( viewDir, x ); - vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5; - #ifdef USE_MATCAP - vec4 matcapColor = texture2D( matcap, uv ); - #else - vec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 ); - #endif - vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb; - #include - #include - #include - #include - #include - #include -}`,meshnormal_vert:`#define NORMAL -#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE ) - varying vec3 vViewPosition; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include -#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE ) - vViewPosition = - mvPosition.xyz; -#endif -}`,meshnormal_frag:`#define NORMAL -uniform float opacity; -#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE ) - varying vec3 vViewPosition; -#endif -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( 0.0, 0.0, 0.0, opacity ); - #include - #include - #include - #include - gl_FragColor = vec4( normalize( normal ) * 0.5 + 0.5, diffuseColor.a ); - #ifdef OPAQUE - gl_FragColor.a = 1.0; - #endif -}`,meshphong_vert:`#define PHONG -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include - #include -}`,meshphong_frag:`#define PHONG -uniform vec3 diffuse; -uniform vec3 emissive; -uniform vec3 specular; -uniform float shininess; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance; - #include - #include - #include - #include - #include - #include - #include -}`,meshphysical_vert:`#define STANDARD -varying vec3 vViewPosition; -#ifdef USE_TRANSMISSION - varying vec3 vWorldPosition; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include -#ifdef USE_TRANSMISSION - vWorldPosition = worldPosition.xyz; -#endif -}`,meshphysical_frag:`#define STANDARD -#ifdef PHYSICAL - #define IOR - #define USE_SPECULAR -#endif -uniform vec3 diffuse; -uniform vec3 emissive; -uniform float roughness; -uniform float metalness; -uniform float opacity; -#ifdef IOR - uniform float ior; -#endif -#ifdef USE_SPECULAR - uniform float specularIntensity; - uniform vec3 specularColor; - #ifdef USE_SPECULAR_COLORMAP - uniform sampler2D specularColorMap; - #endif - #ifdef USE_SPECULAR_INTENSITYMAP - uniform sampler2D specularIntensityMap; - #endif -#endif -#ifdef USE_CLEARCOAT - uniform float clearcoat; - uniform float clearcoatRoughness; -#endif -#ifdef USE_DISPERSION - uniform float dispersion; -#endif -#ifdef USE_IRIDESCENCE - uniform float iridescence; - uniform float iridescenceIOR; - uniform float iridescenceThicknessMinimum; - uniform float iridescenceThicknessMaximum; -#endif -#ifdef USE_SHEEN - uniform vec3 sheenColor; - uniform float sheenRoughness; - #ifdef USE_SHEEN_COLORMAP - uniform sampler2D sheenColorMap; - #endif - #ifdef USE_SHEEN_ROUGHNESSMAP - uniform sampler2D sheenRoughnessMap; - #endif -#endif -#ifdef USE_ANISOTROPY - uniform vec2 anisotropyVector; - #ifdef USE_ANISOTROPYMAP - uniform sampler2D anisotropyMap; - #endif -#endif -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse; - vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular; - #include - vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance; - #ifdef USE_SHEEN - - outgoingLight = outgoingLight + sheenSpecularDirect + sheenSpecularIndirect; - - #endif - #ifdef USE_CLEARCOAT - float dotNVcc = saturate( dot( geometryClearcoatNormal, geometryViewDir ) ); - vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc ); - outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + ( clearcoatSpecularDirect + clearcoatSpecularIndirect ) * material.clearcoat; - #endif - #include - #include - #include - #include - #include - #include -}`,meshtoon_vert:`#define TOON -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include -}`,meshtoon_frag:`#define TOON -uniform vec3 diffuse; -uniform vec3 emissive; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; - #include - #include - #include - #include - #include - #include -}`,points_vert:`uniform float size; -uniform float scale; -#include -#include -#include -#include -#include -#include -#ifdef USE_POINTS_UV - varying vec2 vUv; - uniform mat3 uvTransform; -#endif -void main() { - #ifdef USE_POINTS_UV - vUv = ( uvTransform * vec3( uv, 1 ) ).xy; - #endif - #include - #include - #include - #include - #include - #include - gl_PointSize = size; - #ifdef USE_SIZEATTENUATION - bool isPerspective = isPerspectiveMatrix( projectionMatrix ); - if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z ); - #endif - #include - #include - #include - #include -}`,points_frag:`uniform vec3 diffuse; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - vec3 outgoingLight = vec3( 0.0 ); - #include - #include - #include - #include - #include - outgoingLight = diffuseColor.rgb; - #include - #include - #include - #include - #include -}`,shadow_vert:`#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include -}`,shadow_frag:`uniform vec3 color; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) ); - #include - #include - #include - #include -}`,sprite_vert:`uniform float rotation; -uniform vec2 center; -#include -#include -#include -#include -#include -void main() { - #include - vec4 mvPosition = modelViewMatrix[ 3 ]; - vec2 scale = vec2( length( modelMatrix[ 0 ].xyz ), length( modelMatrix[ 1 ].xyz ) ); - #ifndef USE_SIZEATTENUATION - bool isPerspective = isPerspectiveMatrix( projectionMatrix ); - if ( isPerspective ) scale *= - mvPosition.z; - #endif - vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale; - vec2 rotatedPosition; - rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y; - rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y; - mvPosition.xy += rotatedPosition; - gl_Position = projectionMatrix * mvPosition; - #include - #include - #include -}`,sprite_frag:`uniform vec3 diffuse; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - vec3 outgoingLight = vec3( 0.0 ); - #include - #include - #include - #include - #include - outgoingLight = diffuseColor.rgb; - #include - #include - #include - #include -}`},$={common:{diffuse:{value:new X(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new J},alphaMap:{value:null},alphaMapTransform:{value:new J},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new J}},envmap:{envMap:{value:null},envMapRotation:{value:new J},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98},dfgLUT:{value:null}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new J}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new J}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new J},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new J},normalScale:{value:new $n(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new J},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new J}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new J}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new J}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new X(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null},probesSH:{value:null},probesMin:{value:new q},probesMax:{value:new q},probesResolution:{value:new q}},points:{diffuse:{value:new X(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new J},alphaTest:{value:0},uvTransform:{value:new J}},sprite:{diffuse:{value:new X(16777215)},opacity:{value:1},center:{value:new $n(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new J},alphaMap:{value:null},alphaMapTransform:{value:new J},alphaTest:{value:0}}},_s={basic:{uniforms:ao([$.common,$.specularmap,$.envmap,$.aomap,$.lightmap,$.fog]),vertexShader:Q.meshbasic_vert,fragmentShader:Q.meshbasic_frag},lambert:{uniforms:ao([$.common,$.specularmap,$.envmap,$.aomap,$.lightmap,$.emissivemap,$.bumpmap,$.normalmap,$.displacementmap,$.fog,$.lights,{emissive:{value:new X(0)},envMapIntensity:{value:1}}]),vertexShader:Q.meshlambert_vert,fragmentShader:Q.meshlambert_frag},phong:{uniforms:ao([$.common,$.specularmap,$.envmap,$.aomap,$.lightmap,$.emissivemap,$.bumpmap,$.normalmap,$.displacementmap,$.fog,$.lights,{emissive:{value:new X(0)},specular:{value:new X(1118481)},shininess:{value:30},envMapIntensity:{value:1}}]),vertexShader:Q.meshphong_vert,fragmentShader:Q.meshphong_frag},standard:{uniforms:ao([$.common,$.envmap,$.aomap,$.lightmap,$.emissivemap,$.bumpmap,$.normalmap,$.displacementmap,$.roughnessmap,$.metalnessmap,$.fog,$.lights,{emissive:{value:new X(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Q.meshphysical_vert,fragmentShader:Q.meshphysical_frag},toon:{uniforms:ao([$.common,$.aomap,$.lightmap,$.emissivemap,$.bumpmap,$.normalmap,$.displacementmap,$.gradientmap,$.fog,$.lights,{emissive:{value:new X(0)}}]),vertexShader:Q.meshtoon_vert,fragmentShader:Q.meshtoon_frag},matcap:{uniforms:ao([$.common,$.bumpmap,$.normalmap,$.displacementmap,$.fog,{matcap:{value:null}}]),vertexShader:Q.meshmatcap_vert,fragmentShader:Q.meshmatcap_frag},points:{uniforms:ao([$.points,$.fog]),vertexShader:Q.points_vert,fragmentShader:Q.points_frag},dashed:{uniforms:ao([$.common,$.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Q.linedashed_vert,fragmentShader:Q.linedashed_frag},depth:{uniforms:ao([$.common,$.displacementmap]),vertexShader:Q.depth_vert,fragmentShader:Q.depth_frag},normal:{uniforms:ao([$.common,$.bumpmap,$.normalmap,$.displacementmap,{opacity:{value:1}}]),vertexShader:Q.meshnormal_vert,fragmentShader:Q.meshnormal_frag},sprite:{uniforms:ao([$.sprite,$.fog]),vertexShader:Q.sprite_vert,fragmentShader:Q.sprite_frag},background:{uniforms:{uvTransform:{value:new J},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:Q.background_vert,fragmentShader:Q.background_frag},backgroundCube:{uniforms:{envMap:{value:null},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new J}},vertexShader:Q.backgroundCube_vert,fragmentShader:Q.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:Q.cube_vert,fragmentShader:Q.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Q.equirect_vert,fragmentShader:Q.equirect_frag},distance:{uniforms:ao([$.common,$.displacementmap,{referencePosition:{value:new q},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Q.distance_vert,fragmentShader:Q.distance_frag},shadow:{uniforms:ao([$.lights,$.fog,{color:{value:new X(0)},opacity:{value:1}}]),vertexShader:Q.shadow_vert,fragmentShader:Q.shadow_frag}};_s.physical={uniforms:ao([_s.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new J},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new J},clearcoatNormalScale:{value:new $n(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new J},dispersion:{value:0},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new J},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new J},sheen:{value:0},sheenColor:{value:new X(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new J},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new J},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new J},transmissionSamplerSize:{value:new $n},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new J},attenuationDistance:{value:0},attenuationColor:{value:new X(0)},specularColor:{value:new X(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new J},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new J},anisotropyVector:{value:new $n},anisotropyMap:{value:null},anisotropyMapTransform:{value:new J}}]),vertexShader:Q.meshphysical_vert,fragmentShader:Q.meshphysical_frag};var vs={r:0,b:0,g:0},ys=new Sr,bs=new J;bs.set(-1,0,0,0,1,0,0,0,1);function xs(e,t,n,r,i,a){let o=new X(0),s=i===!0?0:1,c,l,u=null,d=0,f=null;function p(e){let n=e.isScene===!0?e.background:null;if(n&&n.isTexture){let r=e.backgroundBlurriness>0;n=t.get(n,r)}return n}function m(t){let r=!1,i=p(t);i===null?g(o,s):i&&i.isColor&&(g(i,1),r=!0);let c=e.xr.getEnvironmentBlendMode();c===`additive`?n.buffers.color.setClear(0,0,0,1,a):c===`alpha-blend`&&n.buffers.color.setClear(0,0,0,0,a),(e.autoClear||r)&&(n.buffers.depth.setTest(!0),n.buffers.depth.setMask(!0),n.buffers.color.setMask(!0),e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil))}function h(t,n){let i=p(n);i&&(i.isCubeTexture||i.mapping===306)?(l===void 0&&(l=new ba(new no(1,1,1),new po({name:`BackgroundCubeMaterial`,uniforms:io(_s.backgroundCube.uniforms),vertexShader:_s.backgroundCube.vertexShader,fragmentShader:_s.backgroundCube.fragmentShader,side:1,depthTest:!1,depthWrite:!1,fog:!1,allowOverride:!1})),l.geometry.deleteAttribute(`normal`),l.geometry.deleteAttribute(`uv`),l.onBeforeRender=function(e,t,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(l.material,`envMap`,{get:function(){return this.uniforms.envMap.value}}),r.update(l)),l.material.uniforms.envMap.value=i,l.material.uniforms.backgroundBlurriness.value=n.backgroundBlurriness,l.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,l.material.uniforms.backgroundRotation.value.setFromMatrix4(ys.makeRotationFromEuler(n.backgroundRotation)).transpose(),i.isCubeTexture&&i.isRenderTargetTexture===!1&&l.material.uniforms.backgroundRotation.value.premultiply(bs),l.material.toneMapped=Y.getTransfer(i.colorSpace)!==On,(u!==i||d!==i.version||f!==e.toneMapping)&&(l.material.needsUpdate=!0,u=i,d=i.version,f=e.toneMapping),l.layers.enableAll(),t.unshift(l,l.geometry,l.material,0,0,null)):i&&i.isTexture&&(c===void 0&&(c=new ba(new ro(2,2),new po({name:`BackgroundMaterial`,uniforms:io(_s.background.uniforms),vertexShader:_s.background.vertexShader,fragmentShader:_s.background.fragmentShader,side:0,depthTest:!1,depthWrite:!1,fog:!1,allowOverride:!1})),c.geometry.deleteAttribute(`normal`),Object.defineProperty(c.material,`map`,{get:function(){return this.uniforms.t2D.value}}),r.update(c)),c.material.uniforms.t2D.value=i,c.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,c.material.toneMapped=Y.getTransfer(i.colorSpace)!==On,i.matrixAutoUpdate===!0&&i.updateMatrix(),c.material.uniforms.uvTransform.value.copy(i.matrix),(u!==i||d!==i.version||f!==e.toneMapping)&&(c.material.needsUpdate=!0,u=i,d=i.version,f=e.toneMapping),c.layers.enableAll(),t.unshift(c,c.geometry,c.material,0,0,null))}function g(t,r){t.getRGB(vs,co(e)),n.buffers.color.setClear(vs.r,vs.g,vs.b,r,a)}function _(){l!==void 0&&(l.geometry.dispose(),l.material.dispose(),l=void 0),c!==void 0&&(c.geometry.dispose(),c.material.dispose(),c=void 0)}return{getClearColor:function(){return o},setClearColor:function(e,t=1){o.set(e),s=t,g(o,s)},getClearAlpha:function(){return s},setClearAlpha:function(e){s=e,g(o,s)},render:m,addToRenderList:h,dispose:_}}function Ss(e,t){let n=e.getParameter(e.MAX_VERTEX_ATTRIBS),r={},i=f(null),a=i,o=!1;function s(n,r,i,s,c){let u=!1,f=d(n,s,i,r);a!==f&&(a=f,l(a.object)),u=p(n,s,i,c),u&&m(n,s,i,c),c!==null&&t.update(c,e.ELEMENT_ARRAY_BUFFER),(u||o)&&(o=!1,b(n,r,i,s),c!==null&&e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t.get(c).buffer))}function c(){return e.createVertexArray()}function l(t){return e.bindVertexArray(t)}function u(t){return e.deleteVertexArray(t)}function d(e,t,n,i){let a=i.wireframe===!0,o=r[t.id];o===void 0&&(o={},r[t.id]=o);let s=e.isInstancedMesh===!0?e.id:0,l=o[s];l===void 0&&(l={},o[s]=l);let u=l[n.id];u===void 0&&(u={},l[n.id]=u);let d=u[a];return d===void 0&&(d=f(c()),u[a]=d),d}function f(e){let t=[],r=[],i=[];for(let e=0;e=0){let n=i[t],r=o[t];if(r===void 0&&(t===`instanceMatrix`&&e.instanceMatrix&&(r=e.instanceMatrix),t===`instanceColor`&&e.instanceColor&&(r=e.instanceColor)),n===void 0||n.attribute!==r||r&&n.data!==r.data)return!0;s++}return a.attributesNum!==s||a.index!==r}function m(e,t,n,r){let i={},o=t.attributes,s=0,c=n.getAttributes();for(let t in c)if(c[t].location>=0){let n=o[t];n===void 0&&(t===`instanceMatrix`&&e.instanceMatrix&&(n=e.instanceMatrix),t===`instanceColor`&&e.instanceColor&&(n=e.instanceColor));let r={};r.attribute=n,n&&n.data&&(r.data=n.data),i[t]=r,s++}a.attributes=i,a.attributesNum=s,a.index=r}function h(){let e=a.newAttributes;for(let t=0,n=e.length;t=0){let s=o[r];if(s===void 0&&(r===`instanceMatrix`&&n.instanceMatrix&&(s=n.instanceMatrix),r===`instanceColor`&&n.instanceColor&&(s=n.instanceColor)),s!==void 0){let r=s.normalized,o=s.itemSize,c=t.get(s);if(c===void 0)continue;let l=c.buffer,u=c.type,d=c.bytesPerElement,f=u===e.INT||u===e.UNSIGNED_INT||s.gpuType===1013;if(s.isInterleavedBufferAttribute){let t=s.data,c=t.stride,p=s.offset;if(t.isInstancedInterleavedBuffer){for(let e=0;e0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision>0)return`highp`;t=`mediump`}return t===`mediump`&&e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).precision>0?`mediump`:`lowp`}let l=n.precision===void 0?`highp`:n.precision,u=c(l);u!==l&&(W(`WebGLRenderer:`,l,`not supported, using`,u,`instead.`),l=u);let d=n.logarithmicDepthBuffer===!0,f=n.reversedDepthBuffer===!0&&t.has(`EXT_clip_control`);n.reversedDepthBuffer===!0&&f===!1&&W(`WebGLRenderer: Unable to use reversed depth buffer due to missing EXT_clip_control extension. Fallback to default depth buffer.`);let p=e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS),m=e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS),h=e.getParameter(e.MAX_TEXTURE_SIZE),g=e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE),_=e.getParameter(e.MAX_VERTEX_ATTRIBS),v=e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS),y=e.getParameter(e.MAX_VARYING_VECTORS),b=e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS),x=e.getParameter(e.MAX_SAMPLES),S=e.getParameter(e.SAMPLES);return{isWebGL2:!0,getMaxAnisotropy:a,getMaxPrecision:c,textureFormatReadable:o,textureTypeReadable:s,precision:l,logarithmicDepthBuffer:d,reversedDepthBuffer:f,maxTextures:p,maxVertexTextures:m,maxTextureSize:h,maxCubemapSize:g,maxAttributes:_,maxVertexUniforms:v,maxVaryings:y,maxFragmentUniforms:b,maxSamples:x,samples:S}}function Ts(e){let t=this,n=null,r=0,i=!1,a=!1,o=new Da,s=new J,c={value:null,needsUpdate:!1};this.uniform=c,this.numPlanes=0,this.numIntersection=0,this.init=function(e,t){let n=e.length!==0||t||r!==0||i;return i=t,r=e.length,n},this.beginShadows=function(){a=!0,u(null)},this.endShadows=function(){a=!1},this.setGlobalState=function(e,t){n=u(e,t,0)},this.setState=function(t,o,s){let d=t.clippingPlanes,f=t.clipIntersection,p=t.clipShadows,m=e.get(t);if(!i||d===null||d.length===0||a&&!p)a?u(null):l();else{let e=a?0:r,t=e*4,i=m.clippingState||null;c.value=i,i=u(d,o,t,s);for(let e=0;e!==t;++e)i[e]=n[e];m.clippingState=i,this.numIntersection=f?this.numPlanes:0,this.numPlanes+=e}};function l(){c.value!==n&&(c.value=n,c.needsUpdate=r>0),t.numPlanes=r,t.numIntersection=0}function u(e,n,r,i){let a=e===null?0:e.length,l=null;if(a!==0){if(l=c.value,i!==!0||l===null){let t=r+a*4,i=n.matrixWorldInverse;s.getNormalMatrix(i),(l===null||l.length0&&this._blur(s,0,0,t),this._applyPMREM(s),this._cleanup(s),s}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=Ws(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=Us(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose(),this._backgroundBox!==null&&(this._backgroundBox.geometry.dispose(),this._backgroundBox.material.dispose())}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=2**this._lodMax}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._ggxMaterial!==null&&this._ggxMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e2?l:0,l,l),c.setRenderTarget(r),p&&c.render(d,a),c.render(e,a)}c.toneMapping=u,c.autoClear=l,e.background=m}_textureToCubeUV(e,t){let n=this._renderer,r=e.mapping===301||e.mapping===302;r?(this._cubemapMaterial===null&&(this._cubemapMaterial=Ws()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=Us());let i=r?this._cubemapMaterial:this._equirectMaterial,a=this._lodMeshes[0];a.material=i;let o=i.uniforms;o.envMap.value=e;let s=this._cubeSize;Bs(t,0,0,3*s,2*s),n.setRenderTarget(t),n.render(a,As)}_applyPMREM(e){let t=this._renderer,n=t.autoClear;t.autoClear=!1;let r=this._lodMeshes.length;for(let t=1;td-Es?n-d+Es:0),m=4*(this._cubeSize-f);s.envMap.value=e.texture,s.roughness.value=u,s.mipInt.value=d-t,Bs(i,p,m,3*f,2*f),r.setRenderTarget(i),r.render(o,As),s.envMap.value=i.texture,s.roughness.value=0,s.mipInt.value=d-n,Bs(e,p,m,3*f,2*f),r.setRenderTarget(e),r.render(o,As)}_blur(e,t,n,r,i){let a=this._pingPongRenderTarget;this._halfBlur(e,a,t,n,r,`latitudinal`,i),this._halfBlur(a,e,n,n,r,`longitudinal`,i)}_halfBlur(e,t,n,r,i,a,o){let s=this._renderer,c=this._blurMaterial;a!==`latitudinal`&&a!==`longitudinal`&&G(`blur direction must be either latitudinal or longitudinal!`);let l=this._lodMeshes[r];l.material=c;let u=c.uniforms,d=this._sizeLods[n]-1,f=isFinite(i)?Math.PI/(2*d):2*Math.PI/(2*Os-1),p=i/f,m=isFinite(i)?1+Math.floor(3*p):Os;m>Os&&W(`sigmaRadians, ${i}, is too large and will clip, as it requested ${m} samples when the maximum is set to ${Os}`);let h=[],g=0;for(let e=0;e_-Es?r-_+Es:0),4*(this._cubeSize-v),3*v,2*v),s.setRenderTarget(t),s.render(l,As)}};function Rs(e){let t=[],n=[],r=[],i=e,a=e-Es+1+Ds.length;for(let o=0;oe-Es?s=Ds[o-e+Es-1]:o===0&&(s=0),n.push(s);let c=1/(a-2),l=-c,u=1+c,d=[l,l,u,l,u,u,l,l,u,u,l,u],f=new Float32Array(108),p=new Float32Array(72),m=new Float32Array(36);for(let e=0;e<6;e++){let t=e%3*2/3-1,n=e>2?0:-1,r=[t,n,0,t+2/3,n,0,t+2/3,n+1,0,t,n,0,t+2/3,n+1,0,t,n+1,0];f.set(r,18*e),p.set(d,12*e);let i=[e,e,e,e,e,e];m.set(i,6*e)}let h=new Zi;h.setAttribute(`position`,new Z(f,3)),h.setAttribute(`uv`,new Z(p,2)),h.setAttribute(`faceIndex`,new Z(m,1)),r.push(new ba(h,null)),i>Es&&i--}return{lodMeshes:r,sizeLods:t,sigmas:n}}function zs(e,t,n){let r=new yr(e,t,n);return r.texture.mapping=306,r.texture.name=`PMREM.cubeUv`,r.scissorTest=!0,r}function Bs(e,t,n,r,i){e.viewport.set(t,n,r,i),e.scissor.set(t,n,r,i)}function Vs(e,t,n){return new po({name:`PMREMGGXConvolution`,defines:{GGX_SAMPLES:ks,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:`${e}.0`},uniforms:{envMap:{value:null},roughness:{value:0},mipInt:{value:0}},vertexShader:Gs(),fragmentShader:` - - precision highp float; - precision highp int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - uniform float roughness; - uniform float mipInt; - - #define ENVMAP_TYPE_CUBE_UV - #include - - #define PI 3.14159265359 - - // Van der Corput radical inverse - float radicalInverse_VdC(uint bits) { - bits = (bits << 16u) | (bits >> 16u); - bits = ((bits & 0x55555555u) << 1u) | ((bits & 0xAAAAAAAAu) >> 1u); - bits = ((bits & 0x33333333u) << 2u) | ((bits & 0xCCCCCCCCu) >> 2u); - bits = ((bits & 0x0F0F0F0Fu) << 4u) | ((bits & 0xF0F0F0F0u) >> 4u); - bits = ((bits & 0x00FF00FFu) << 8u) | ((bits & 0xFF00FF00u) >> 8u); - return float(bits) * 2.3283064365386963e-10; // / 0x100000000 - } - - // Hammersley sequence - vec2 hammersley(uint i, uint N) { - return vec2(float(i) / float(N), radicalInverse_VdC(i)); - } - - // GGX VNDF importance sampling (Eric Heitz 2018) - // "Sampling the GGX Distribution of Visible Normals" - // https://jcgt.org/published/0007/04/01/ - vec3 importanceSampleGGX_VNDF(vec2 Xi, vec3 V, float roughness) { - float alpha = roughness * roughness; - - // Section 4.1: Orthonormal basis - vec3 T1 = vec3(1.0, 0.0, 0.0); - vec3 T2 = cross(V, T1); - - // Section 4.2: Parameterization of projected area - float r = sqrt(Xi.x); - float phi = 2.0 * PI * Xi.y; - float t1 = r * cos(phi); - float t2 = r * sin(phi); - float s = 0.5 * (1.0 + V.z); - t2 = (1.0 - s) * sqrt(1.0 - t1 * t1) + s * t2; - - // Section 4.3: Reprojection onto hemisphere - vec3 Nh = t1 * T1 + t2 * T2 + sqrt(max(0.0, 1.0 - t1 * t1 - t2 * t2)) * V; - - // Section 3.4: Transform back to ellipsoid configuration - return normalize(vec3(alpha * Nh.x, alpha * Nh.y, max(0.0, Nh.z))); - } - - void main() { - vec3 N = normalize(vOutputDirection); - vec3 V = N; // Assume view direction equals normal for pre-filtering - - vec3 prefilteredColor = vec3(0.0); - float totalWeight = 0.0; - - // For very low roughness, just sample the environment directly - if (roughness < 0.001) { - gl_FragColor = vec4(bilinearCubeUV(envMap, N, mipInt), 1.0); - return; - } - - // Tangent space basis for VNDF sampling - vec3 up = abs(N.z) < 0.999 ? vec3(0.0, 0.0, 1.0) : vec3(1.0, 0.0, 0.0); - vec3 tangent = normalize(cross(up, N)); - vec3 bitangent = cross(N, tangent); - - for(uint i = 0u; i < uint(GGX_SAMPLES); i++) { - vec2 Xi = hammersley(i, uint(GGX_SAMPLES)); - - // For PMREM, V = N, so in tangent space V is always (0, 0, 1) - vec3 H_tangent = importanceSampleGGX_VNDF(Xi, vec3(0.0, 0.0, 1.0), roughness); - - // Transform H back to world space - vec3 H = normalize(tangent * H_tangent.x + bitangent * H_tangent.y + N * H_tangent.z); - vec3 L = normalize(2.0 * dot(V, H) * H - V); - - float NdotL = max(dot(N, L), 0.0); - - if(NdotL > 0.0) { - // Sample environment at fixed mip level - // VNDF importance sampling handles the distribution filtering - vec3 sampleColor = bilinearCubeUV(envMap, L, mipInt); - - // Weight by NdotL for the split-sum approximation - // VNDF PDF naturally accounts for the visible microfacet distribution - prefilteredColor += sampleColor * NdotL; - totalWeight += NdotL; - } - } - - if (totalWeight > 0.0) { - prefilteredColor = prefilteredColor / totalWeight; - } - - gl_FragColor = vec4(prefilteredColor, 1.0); - } - `,blending:0,depthTest:!1,depthWrite:!1})}function Hs(e,t,n){let r=new Float32Array(Os),i=new q(0,1,0);return new po({name:`SphericalGaussianBlur`,defines:{n:Os,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:`${e}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:r},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:i}},vertexShader:Gs(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - uniform int samples; - uniform float weights[ n ]; - uniform bool latitudinal; - uniform float dTheta; - uniform float mipInt; - uniform vec3 poleAxis; - - #define ENVMAP_TYPE_CUBE_UV - #include - - vec3 getSample( float theta, vec3 axis ) { - - float cosTheta = cos( theta ); - // Rodrigues' axis-angle rotation - vec3 sampleDirection = vOutputDirection * cosTheta - + cross( axis, vOutputDirection ) * sin( theta ) - + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta ); - - return bilinearCubeUV( envMap, sampleDirection, mipInt ); - - } - - void main() { - - vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection ); - - if ( all( equal( axis, vec3( 0.0 ) ) ) ) { - - axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x ); - - } - - axis = normalize( axis ); - - gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 ); - gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis ); - - for ( int i = 1; i < n; i++ ) { - - if ( i >= samples ) { - - break; - - } - - float theta = dTheta * float( i ); - gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis ); - gl_FragColor.rgb += weights[ i ] * getSample( theta, axis ); - - } - - } - `,blending:0,depthTest:!1,depthWrite:!1})}function Us(){return new po({name:`EquirectangularToCubeUV`,uniforms:{envMap:{value:null}},vertexShader:Gs(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - - #include - - void main() { - - vec3 outputDirection = normalize( vOutputDirection ); - vec2 uv = equirectUv( outputDirection ); - - gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 ); - - } - `,blending:0,depthTest:!1,depthWrite:!1})}function Ws(){return new po({name:`CubemapToCubeUV`,uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:Gs(),fragmentShader:` - - precision mediump float; - precision mediump int; - - uniform float flipEnvMap; - - varying vec3 vOutputDirection; - - uniform samplerCube envMap; - - void main() { - - gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) ); - - } - `,blending:0,depthTest:!1,depthWrite:!1})}function Gs(){return` - - precision mediump float; - precision mediump int; - - attribute float faceIndex; - - varying vec3 vOutputDirection; - - // RH coordinate system; PMREM face-indexing convention - vec3 getDirection( vec2 uv, float face ) { - - uv = 2.0 * uv - 1.0; - - vec3 direction = vec3( uv, 1.0 ); - - if ( face == 0.0 ) { - - direction = direction.zyx; // ( 1, v, u ) pos x - - } else if ( face == 1.0 ) { - - direction = direction.xzy; - direction.xz *= -1.0; // ( -u, 1, -v ) pos y - - } else if ( face == 2.0 ) { - - direction.x *= -1.0; // ( -u, v, 1 ) pos z - - } else if ( face == 3.0 ) { - - direction = direction.zyx; - direction.xz *= -1.0; // ( -1, v, -u ) neg x - - } else if ( face == 4.0 ) { - - direction = direction.xzy; - direction.xy *= -1.0; // ( -u, -1, v ) neg y - - } else if ( face == 5.0 ) { - - direction.z *= -1.0; // ( u, v, -1 ) neg z - - } - - return direction; - - } - - void main() { - - vOutputDirection = getDirection( uv, faceIndex ); - gl_Position = vec4( position, 1.0 ); - - } - `}var Ks=class extends yr{constructor(e=1,t={}){super(e,e,t),this.isWebGLCubeRenderTarget=!0;let n={width:e,height:e,depth:1},r=[n,n,n,n,n,n];this.texture=new Qa(r),this._setTextureOptions(t),this.texture.isRenderTargetTexture=!0}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.colorSpace=t.colorSpace,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;let n={uniforms:{tEquirect:{value:null}},vertexShader:` - - varying vec3 vWorldDirection; - - vec3 transformDirection( in vec3 dir, in mat4 matrix ) { - - return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); - - } - - void main() { - - vWorldDirection = transformDirection( position, modelMatrix ); - - #include - #include - - } - `,fragmentShader:` - - uniform sampler2D tEquirect; - - varying vec3 vWorldDirection; - - #include - - void main() { - - vec3 direction = normalize( vWorldDirection ); - - vec2 sampleUV = equirectUv( direction ); - - gl_FragColor = texture2D( tEquirect, sampleUV ); - - } - `},r=new no(5,5,5),i=new po({name:`CubemapFromEquirect`,uniforms:io(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:1,blending:0});i.uniforms.tEquirect.value=t;let a=new ba(r,i),o=t.minFilter;return t.minFilter===1008&&(t.minFilter=ct),new $o(1,10,this).update(e,a),t.minFilter=o,a.geometry.dispose(),a.material.dispose(),this}clear(e,t=!0,n=!0,r=!0){let i=e.getRenderTarget();for(let i=0;i<6;i++)e.setRenderTarget(this,i),e.clear(t,n,r);e.setRenderTarget(i)}};function qs(e){let t=new WeakMap,n=new WeakMap,r=null;function i(e,t=!1){return e==null?null:t?o(e):a(e)}function a(n){if(n&&n.isTexture){let r=n.mapping;if(r===303||r===304)if(t.has(n)){let e=t.get(n).texture;return s(e,n.mapping)}else{let r=n.image;if(r&&r.height>0){let i=new Ks(r.height);return i.fromEquirectangularTexture(e,n),t.set(n,i),n.addEventListener(`dispose`,l),s(i.texture,n.mapping)}else return null}}return n}function o(t){if(t&&t.isTexture){let i=t.mapping,a=i===303||i===304,o=i===301||i===302;if(a||o){let i=n.get(t),s=i===void 0?0:i.texture.pmremVersion;if(t.isRenderTargetTexture&&t.pmremVersion!==s)return r===null&&(r=new Ls(e)),i=a?r.fromEquirectangular(t,i):r.fromCubemap(t,i),i.texture.pmremVersion=t.pmremVersion,n.set(t,i),i.texture;if(i!==void 0)return i.texture;{let s=t.image;return a&&s&&s.height>0||o&&s&&c(s)?(r===null&&(r=new Ls(e)),i=a?r.fromEquirectangular(t):r.fromCubemap(t),i.texture.pmremVersion=t.pmremVersion,n.set(t,i),t.addEventListener(`dispose`,u),i.texture):null}}}return t}function s(e,t){return t===303?e.mapping=301:t===304&&(e.mapping=302),e}function c(e){let t=0;for(let n=0;n<6;n++)e[n]!==void 0&&t++;return t===6}function l(e){let n=e.target;n.removeEventListener(`dispose`,l);let r=t.get(n);r!==void 0&&(t.delete(n),r.dispose())}function u(e){let t=e.target;t.removeEventListener(`dispose`,u);let r=n.get(t);r!==void 0&&(n.delete(t),r.dispose())}function d(){t=new WeakMap,n=new WeakMap,r!==null&&(r.dispose(),r=null)}return{get:i,dispose:d}}function Js(e){let t={};function n(n){if(t[n]!==void 0)return t[n];let r=e.getExtension(n);return t[n]=r,r}return{has:function(e){return n(e)!==null},init:function(){n(`EXT_color_buffer_float`),n(`WEBGL_clip_cull_distance`),n(`OES_texture_float_linear`),n(`EXT_color_buffer_half_float`),n(`WEBGL_multisampled_render_to_texture`),n(`WEBGL_render_shared_exponent`)},get:function(e){let t=n(e);return t===null&&Vn(`WebGLRenderer: `+e+` extension not supported.`),t}}}function Ys(e,t,n,r){let i={},a=new WeakMap;function o(e){let s=e.target;s.index!==null&&t.remove(s.index);for(let e in s.attributes)t.remove(s.attributes[e]);s.removeEventListener(`dispose`,o),delete i[s.id];let c=a.get(s);c&&(t.remove(c),a.delete(s)),r.releaseStatesOfGeometry(s),s.isInstancedBufferGeometry===!0&&delete s._maxInstanceCount,n.memory.geometries--}function s(e,t){return i[t.id]===!0?t:(t.addEventListener(`dispose`,o),i[t.id]=!0,n.memory.geometries++,t)}function c(n){let r=n.attributes;for(let n in r)t.update(r[n],e.ARRAY_BUFFER)}function l(e){let n=[],r=e.index,i=e.attributes.position,o=0;if(i===void 0)return;if(r!==null){let e=r.array;o=r.version;for(let t=0,r=e.length;t=65535?Ri:Li)(n,1);s.version=o;let c=a.get(e);c&&t.remove(c),a.set(e,s)}function u(e){let t=a.get(e);if(t){let n=e.index;n!==null&&t.versiont.maxTextureSize&&(m=Math.ceil(p/t.maxTextureSize),p=t.maxTextureSize);let h=new Float32Array(p*m*4*u),g=new br(h,p,m,u);g.type=_t,g.needsUpdate=!0;let _=f*4;for(let t=0;t - #include - - void main() { - gl_FragColor = texture2D( tDiffuse, vUv ); - - #ifdef LINEAR_TONE_MAPPING - gl_FragColor.rgb = LinearToneMapping( gl_FragColor.rgb ); - #elif defined( REINHARD_TONE_MAPPING ) - gl_FragColor.rgb = ReinhardToneMapping( gl_FragColor.rgb ); - #elif defined( CINEON_TONE_MAPPING ) - gl_FragColor.rgb = CineonToneMapping( gl_FragColor.rgb ); - #elif defined( ACES_FILMIC_TONE_MAPPING ) - gl_FragColor.rgb = ACESFilmicToneMapping( gl_FragColor.rgb ); - #elif defined( AGX_TONE_MAPPING ) - gl_FragColor.rgb = AgXToneMapping( gl_FragColor.rgb ); - #elif defined( NEUTRAL_TONE_MAPPING ) - gl_FragColor.rgb = NeutralToneMapping( gl_FragColor.rgb ); - #elif defined( CUSTOM_TONE_MAPPING ) - gl_FragColor.rgb = CustomToneMapping( gl_FragColor.rgb ); - #endif - - #ifdef SRGB_TRANSFER - gl_FragColor = sRGBTransferOETF( gl_FragColor ); - #endif - }`,depthTest:!1,depthWrite:!1}),l=new ba(s,c),u=new qo(-1,1,1,-1,0,1),d=null,f=null,p=!1,m,h=null,g=[],_=!1;this.setSize=function(e,t){a.setSize(e,t),o.setSize(e,t);for(let n=0;n0&&g[0].isRenderPass===!0;let t=a.width,n=a.height;for(let e=0;e0)return e;let i=t*n,a=sc[i];if(a===void 0&&(a=new Float32Array(i),sc[i]=a),t!==0){r.toArray(a,0);for(let r=1,i=0;r!==t;++r)i+=n,e[r].toArray(a,i)}return a}function pc(e,t){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n0&&(this.seq=r.concat(i))}setValue(e,t,n,r){let i=this.map[t];i!==void 0&&i.setValue(e,n,r)}setOptional(e,t,n){let r=t[n];r!==void 0&&this.setValue(e,n,r)}static upload(e,t,n,r){for(let i=0,a=t.length;i!==a;++i){let a=t[i],o=n[a.id];o.needsUpdate!==!1&&a.setValue(e,o.value,r)}}static seqWithValue(e,t){let n=[];for(let r=0,i=e.length;r!==i;++r){let i=e[r];i.id in t&&n.push(i)}return n}};function ll(e,t,n){let r=e.createShader(t);return e.shaderSource(r,n),e.compileShader(r),r}var ul=37297,dl=0;function fl(e,t){let n=e.split(` -`),r=[],i=Math.max(t-6,0),a=Math.min(t+6,n.length);for(let e=i;e`:` `} ${i}: ${n[e]}`)}return r.join(` -`)}var pl=new J;function ml(e){Y._getMatrix(pl,Y.workingColorSpace,e);let t=`mat3( ${pl.elements.map(e=>e.toFixed(4))} )`;switch(Y.getTransfer(e)){case Dn:return[t,`LinearTransferOETF`];case On:return[t,`sRGBTransferOETF`];default:return W(`WebGLProgram: Unsupported color space: `,e),[t,`LinearTransferOETF`]}}function hl(e,t,n){let r=e.getShaderParameter(t,e.COMPILE_STATUS),i=(e.getShaderInfoLog(t)||``).trim();if(r&&i===``)return``;let a=/ERROR: 0:(\d+)/.exec(i);if(a){let r=parseInt(a[1]);return n.toUpperCase()+` - -`+i+` - -`+fl(e.getShaderSource(t),r)}else return i}function gl(e,t){let n=ml(t);return[`vec4 ${e}( vec4 value ) {`,` return ${n[1]}( vec4( value.rgb * ${n[0]}, value.a ) );`,`}`].join(` -`)}var _l={1:`Linear`,2:`Reinhard`,3:`Cineon`,4:`ACESFilmic`,6:`AgX`,7:`Neutral`,5:`Custom`};function vl(e,t){let n=_l[t];return n===void 0?(W(`WebGLProgram: Unsupported toneMapping:`,t),`vec3 `+e+`( vec3 color ) { return LinearToneMapping( color ); }`):`vec3 `+e+`( vec3 color ) { return `+n+`ToneMapping( color ); }`}var yl=new q;function bl(){return Y.getLuminanceCoefficients(yl),[`float luminance( const in vec3 rgb ) {`,` const vec3 weights = vec3( ${yl.x.toFixed(4)}, ${yl.y.toFixed(4)}, ${yl.z.toFixed(4)} );`,` return dot( weights, rgb );`,`}`].join(` -`)}function xl(e){return[e.extensionClipCullDistance?`#extension GL_ANGLE_clip_cull_distance : require`:``,e.extensionMultiDraw?`#extension GL_ANGLE_multi_draw : require`:``].filter(wl).join(` -`)}function Sl(e){let t=[];for(let n in e){let r=e[n];r!==!1&&t.push(`#define `+n+` `+r)}return t.join(` -`)}function Cl(e,t){let n={},r=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES);for(let i=0;i/gm;function Ol(e){return e.replace(Dl,Al)}var kl=new Map;function Al(e,t){let n=Q[t];if(n===void 0){let e=kl.get(t);if(e!==void 0)n=Q[e],W(`WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.`,t,e);else throw Error(`Can not resolve #include <`+t+`>`)}return Ol(n)}var jl=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function Ml(e){return e.replace(jl,Nl)}function Nl(e,t,n,r){let i=``;for(let e=parseInt(t);e0&&(g+=` -`),_=[`#define SHADER_TYPE `+n.shaderType,`#define SHADER_NAME `+n.shaderName,m].filter(wl).join(` -`),_.length>0&&(_+=` -`)):(g=[Pl(n),`#define SHADER_TYPE `+n.shaderType,`#define SHADER_NAME `+n.shaderName,m,n.extensionClipCullDistance?`#define USE_CLIP_DISTANCE`:``,n.batching?`#define USE_BATCHING`:``,n.batchingColor?`#define USE_BATCHING_COLOR`:``,n.instancing?`#define USE_INSTANCING`:``,n.instancingColor?`#define USE_INSTANCING_COLOR`:``,n.instancingMorph?`#define USE_INSTANCING_MORPH`:``,n.useFog&&n.fog?`#define USE_FOG`:``,n.useFog&&n.fogExp2?`#define FOG_EXP2`:``,n.map?`#define USE_MAP`:``,n.envMap?`#define USE_ENVMAP`:``,n.envMap?`#define `+u:``,n.lightMap?`#define USE_LIGHTMAP`:``,n.aoMap?`#define USE_AOMAP`:``,n.bumpMap?`#define USE_BUMPMAP`:``,n.normalMap?`#define USE_NORMALMAP`:``,n.normalMapObjectSpace?`#define USE_NORMALMAP_OBJECTSPACE`:``,n.normalMapTangentSpace?`#define USE_NORMALMAP_TANGENTSPACE`:``,n.displacementMap?`#define USE_DISPLACEMENTMAP`:``,n.emissiveMap?`#define USE_EMISSIVEMAP`:``,n.anisotropy?`#define USE_ANISOTROPY`:``,n.anisotropyMap?`#define USE_ANISOTROPYMAP`:``,n.clearcoatMap?`#define USE_CLEARCOATMAP`:``,n.clearcoatRoughnessMap?`#define USE_CLEARCOAT_ROUGHNESSMAP`:``,n.clearcoatNormalMap?`#define USE_CLEARCOAT_NORMALMAP`:``,n.iridescenceMap?`#define USE_IRIDESCENCEMAP`:``,n.iridescenceThicknessMap?`#define USE_IRIDESCENCE_THICKNESSMAP`:``,n.specularMap?`#define USE_SPECULARMAP`:``,n.specularColorMap?`#define USE_SPECULAR_COLORMAP`:``,n.specularIntensityMap?`#define USE_SPECULAR_INTENSITYMAP`:``,n.roughnessMap?`#define USE_ROUGHNESSMAP`:``,n.metalnessMap?`#define USE_METALNESSMAP`:``,n.alphaMap?`#define USE_ALPHAMAP`:``,n.alphaHash?`#define USE_ALPHAHASH`:``,n.transmission?`#define USE_TRANSMISSION`:``,n.transmissionMap?`#define USE_TRANSMISSIONMAP`:``,n.thicknessMap?`#define USE_THICKNESSMAP`:``,n.sheenColorMap?`#define USE_SHEEN_COLORMAP`:``,n.sheenRoughnessMap?`#define USE_SHEEN_ROUGHNESSMAP`:``,n.mapUv?`#define MAP_UV `+n.mapUv:``,n.alphaMapUv?`#define ALPHAMAP_UV `+n.alphaMapUv:``,n.lightMapUv?`#define LIGHTMAP_UV `+n.lightMapUv:``,n.aoMapUv?`#define AOMAP_UV `+n.aoMapUv:``,n.emissiveMapUv?`#define EMISSIVEMAP_UV `+n.emissiveMapUv:``,n.bumpMapUv?`#define BUMPMAP_UV `+n.bumpMapUv:``,n.normalMapUv?`#define NORMALMAP_UV `+n.normalMapUv:``,n.displacementMapUv?`#define DISPLACEMENTMAP_UV `+n.displacementMapUv:``,n.metalnessMapUv?`#define METALNESSMAP_UV `+n.metalnessMapUv:``,n.roughnessMapUv?`#define ROUGHNESSMAP_UV `+n.roughnessMapUv:``,n.anisotropyMapUv?`#define ANISOTROPYMAP_UV `+n.anisotropyMapUv:``,n.clearcoatMapUv?`#define CLEARCOATMAP_UV `+n.clearcoatMapUv:``,n.clearcoatNormalMapUv?`#define CLEARCOAT_NORMALMAP_UV `+n.clearcoatNormalMapUv:``,n.clearcoatRoughnessMapUv?`#define CLEARCOAT_ROUGHNESSMAP_UV `+n.clearcoatRoughnessMapUv:``,n.iridescenceMapUv?`#define IRIDESCENCEMAP_UV `+n.iridescenceMapUv:``,n.iridescenceThicknessMapUv?`#define IRIDESCENCE_THICKNESSMAP_UV `+n.iridescenceThicknessMapUv:``,n.sheenColorMapUv?`#define SHEEN_COLORMAP_UV `+n.sheenColorMapUv:``,n.sheenRoughnessMapUv?`#define SHEEN_ROUGHNESSMAP_UV `+n.sheenRoughnessMapUv:``,n.specularMapUv?`#define SPECULARMAP_UV `+n.specularMapUv:``,n.specularColorMapUv?`#define SPECULAR_COLORMAP_UV `+n.specularColorMapUv:``,n.specularIntensityMapUv?`#define SPECULAR_INTENSITYMAP_UV `+n.specularIntensityMapUv:``,n.transmissionMapUv?`#define TRANSMISSIONMAP_UV `+n.transmissionMapUv:``,n.thicknessMapUv?`#define THICKNESSMAP_UV `+n.thicknessMapUv:``,n.vertexTangents&&n.flatShading===!1?`#define USE_TANGENT`:``,n.vertexNormals?`#define HAS_NORMAL`:``,n.vertexColors?`#define USE_COLOR`:``,n.vertexAlphas?`#define USE_COLOR_ALPHA`:``,n.vertexUv1s?`#define USE_UV1`:``,n.vertexUv2s?`#define USE_UV2`:``,n.vertexUv3s?`#define USE_UV3`:``,n.pointsUvs?`#define USE_POINTS_UV`:``,n.flatShading?`#define FLAT_SHADED`:``,n.skinning?`#define USE_SKINNING`:``,n.morphTargets?`#define USE_MORPHTARGETS`:``,n.morphNormals&&n.flatShading===!1?`#define USE_MORPHNORMALS`:``,n.morphColors?`#define USE_MORPHCOLORS`:``,n.morphTargetsCount>0?`#define MORPHTARGETS_TEXTURE_STRIDE `+n.morphTextureStride:``,n.morphTargetsCount>0?`#define MORPHTARGETS_COUNT `+n.morphTargetsCount:``,n.doubleSided?`#define DOUBLE_SIDED`:``,n.flipSided?`#define FLIP_SIDED`:``,n.shadowMapEnabled?`#define USE_SHADOWMAP`:``,n.shadowMapEnabled?`#define `+c:``,n.sizeAttenuation?`#define USE_SIZEATTENUATION`:``,n.numLightProbes>0?`#define USE_LIGHT_PROBES`:``,n.logarithmicDepthBuffer?`#define USE_LOGARITHMIC_DEPTH_BUFFER`:``,n.reversedDepthBuffer?`#define USE_REVERSED_DEPTH_BUFFER`:``,`uniform mat4 modelMatrix;`,`uniform mat4 modelViewMatrix;`,`uniform mat4 projectionMatrix;`,`uniform mat4 viewMatrix;`,`uniform mat3 normalMatrix;`,`uniform vec3 cameraPosition;`,`uniform bool isOrthographic;`,`#ifdef USE_INSTANCING`,` attribute mat4 instanceMatrix;`,`#endif`,`#ifdef USE_INSTANCING_COLOR`,` attribute vec3 instanceColor;`,`#endif`,`#ifdef USE_INSTANCING_MORPH`,` uniform sampler2D morphTexture;`,`#endif`,`attribute vec3 position;`,`attribute vec3 normal;`,`attribute vec2 uv;`,`#ifdef USE_UV1`,` attribute vec2 uv1;`,`#endif`,`#ifdef USE_UV2`,` attribute vec2 uv2;`,`#endif`,`#ifdef USE_UV3`,` attribute vec2 uv3;`,`#endif`,`#ifdef USE_TANGENT`,` attribute vec4 tangent;`,`#endif`,`#if defined( USE_COLOR_ALPHA )`,` attribute vec4 color;`,`#elif defined( USE_COLOR )`,` attribute vec3 color;`,`#endif`,`#ifdef USE_SKINNING`,` attribute vec4 skinIndex;`,` attribute vec4 skinWeight;`,`#endif`,` -`].filter(wl).join(` -`),_=[Pl(n),`#define SHADER_TYPE `+n.shaderType,`#define SHADER_NAME `+n.shaderName,m,n.useFog&&n.fog?`#define USE_FOG`:``,n.useFog&&n.fogExp2?`#define FOG_EXP2`:``,n.alphaToCoverage?`#define ALPHA_TO_COVERAGE`:``,n.map?`#define USE_MAP`:``,n.matcap?`#define USE_MATCAP`:``,n.envMap?`#define USE_ENVMAP`:``,n.envMap?`#define `+l:``,n.envMap?`#define `+u:``,n.envMap?`#define `+d:``,f?`#define CUBEUV_TEXEL_WIDTH `+f.texelWidth:``,f?`#define CUBEUV_TEXEL_HEIGHT `+f.texelHeight:``,f?`#define CUBEUV_MAX_MIP `+f.maxMip+`.0`:``,n.lightMap?`#define USE_LIGHTMAP`:``,n.aoMap?`#define USE_AOMAP`:``,n.bumpMap?`#define USE_BUMPMAP`:``,n.normalMap?`#define USE_NORMALMAP`:``,n.normalMapObjectSpace?`#define USE_NORMALMAP_OBJECTSPACE`:``,n.normalMapTangentSpace?`#define USE_NORMALMAP_TANGENTSPACE`:``,n.packedNormalMap?`#define USE_PACKED_NORMALMAP`:``,n.emissiveMap?`#define USE_EMISSIVEMAP`:``,n.anisotropy?`#define USE_ANISOTROPY`:``,n.anisotropyMap?`#define USE_ANISOTROPYMAP`:``,n.clearcoat?`#define USE_CLEARCOAT`:``,n.clearcoatMap?`#define USE_CLEARCOATMAP`:``,n.clearcoatRoughnessMap?`#define USE_CLEARCOAT_ROUGHNESSMAP`:``,n.clearcoatNormalMap?`#define USE_CLEARCOAT_NORMALMAP`:``,n.dispersion?`#define USE_DISPERSION`:``,n.iridescence?`#define USE_IRIDESCENCE`:``,n.iridescenceMap?`#define USE_IRIDESCENCEMAP`:``,n.iridescenceThicknessMap?`#define USE_IRIDESCENCE_THICKNESSMAP`:``,n.specularMap?`#define USE_SPECULARMAP`:``,n.specularColorMap?`#define USE_SPECULAR_COLORMAP`:``,n.specularIntensityMap?`#define USE_SPECULAR_INTENSITYMAP`:``,n.roughnessMap?`#define USE_ROUGHNESSMAP`:``,n.metalnessMap?`#define USE_METALNESSMAP`:``,n.alphaMap?`#define USE_ALPHAMAP`:``,n.alphaTest?`#define USE_ALPHATEST`:``,n.alphaHash?`#define USE_ALPHAHASH`:``,n.sheen?`#define USE_SHEEN`:``,n.sheenColorMap?`#define USE_SHEEN_COLORMAP`:``,n.sheenRoughnessMap?`#define USE_SHEEN_ROUGHNESSMAP`:``,n.transmission?`#define USE_TRANSMISSION`:``,n.transmissionMap?`#define USE_TRANSMISSIONMAP`:``,n.thicknessMap?`#define USE_THICKNESSMAP`:``,n.vertexTangents&&n.flatShading===!1?`#define USE_TANGENT`:``,n.vertexColors||n.instancingColor?`#define USE_COLOR`:``,n.vertexAlphas||n.batchingColor?`#define USE_COLOR_ALPHA`:``,n.vertexUv1s?`#define USE_UV1`:``,n.vertexUv2s?`#define USE_UV2`:``,n.vertexUv3s?`#define USE_UV3`:``,n.pointsUvs?`#define USE_POINTS_UV`:``,n.gradientMap?`#define USE_GRADIENTMAP`:``,n.flatShading?`#define FLAT_SHADED`:``,n.doubleSided?`#define DOUBLE_SIDED`:``,n.flipSided?`#define FLIP_SIDED`:``,n.shadowMapEnabled?`#define USE_SHADOWMAP`:``,n.shadowMapEnabled?`#define `+c:``,n.premultipliedAlpha?`#define PREMULTIPLIED_ALPHA`:``,n.numLightProbes>0?`#define USE_LIGHT_PROBES`:``,n.numLightProbeGrids>0?`#define USE_LIGHT_PROBES_GRID`:``,n.decodeVideoTexture?`#define DECODE_VIDEO_TEXTURE`:``,n.decodeVideoTextureEmissive?`#define DECODE_VIDEO_TEXTURE_EMISSIVE`:``,n.logarithmicDepthBuffer?`#define USE_LOGARITHMIC_DEPTH_BUFFER`:``,n.reversedDepthBuffer?`#define USE_REVERSED_DEPTH_BUFFER`:``,`uniform mat4 viewMatrix;`,`uniform vec3 cameraPosition;`,`uniform bool isOrthographic;`,n.toneMapping===0?``:`#define TONE_MAPPING`,n.toneMapping===0?``:Q.tonemapping_pars_fragment,n.toneMapping===0?``:vl(`toneMapping`,n.toneMapping),n.dithering?`#define DITHERING`:``,n.opaque?`#define OPAQUE`:``,Q.colorspace_pars_fragment,gl(`linearToOutputTexel`,n.outputColorSpace),bl(),n.useDepthPacking?`#define DEPTH_PACKING `+n.depthPacking:``,` -`].filter(wl).join(` -`)),o=Ol(o),o=Tl(o,n),o=El(o,n),s=Ol(s),s=Tl(s,n),s=El(s,n),o=Ml(o),s=Ml(s),n.isRawShaderMaterial!==!0&&(v=`#version 300 es -`,g=[p,`#define attribute in`,`#define varying out`,`#define texture2D texture`].join(` -`)+` -`+g,_=[`#define varying in`,n.glslVersion===`300 es`?``:`layout(location = 0) out highp vec4 pc_fragColor;`,n.glslVersion===`300 es`?``:`#define gl_FragColor pc_fragColor`,`#define gl_FragDepthEXT gl_FragDepth`,`#define texture2D texture`,`#define textureCube texture`,`#define texture2DProj textureProj`,`#define texture2DLodEXT textureLod`,`#define texture2DProjLodEXT textureProjLod`,`#define textureCubeLodEXT textureLod`,`#define texture2DGradEXT textureGrad`,`#define texture2DProjGradEXT textureProjGrad`,`#define textureCubeGradEXT textureGrad`].join(` -`)+` -`+_);let y=v+g+o,b=v+_+s,x=ll(i,i.VERTEX_SHADER,y),S=ll(i,i.FRAGMENT_SHADER,b);i.attachShader(h,x),i.attachShader(h,S),n.index0AttributeName===void 0?n.morphTargets===!0&&i.bindAttribLocation(h,0,`position`):i.bindAttribLocation(h,0,n.index0AttributeName),i.linkProgram(h);function C(t){if(e.debug.checkShaderErrors){let n=i.getProgramInfoLog(h)||``,r=i.getShaderInfoLog(x)||``,a=i.getShaderInfoLog(S)||``,o=n.trim(),s=r.trim(),c=a.trim(),l=!0,u=!0;if(i.getProgramParameter(h,i.LINK_STATUS)===!1)if(l=!1,typeof e.debug.onShaderError==`function`)e.debug.onShaderError(i,h,x,S);else{let e=hl(i,x,`vertex`),n=hl(i,S,`fragment`);G(`THREE.WebGLProgram: Shader Error `+i.getError()+` - VALIDATE_STATUS `+i.getProgramParameter(h,i.VALIDATE_STATUS)+` - -Material Name: `+t.name+` -Material Type: `+t.type+` - -Program Info Log: `+o+` -`+e+` -`+n)}else o===``?(s===``||c===``)&&(u=!1):W(`WebGLProgram: Program Info Log:`,o);u&&(t.diagnostics={runnable:l,programLog:o,vertexShader:{log:s,prefix:g},fragmentShader:{log:c,prefix:_}})}i.deleteShader(x),i.deleteShader(S),w=new cl(i,h),T=Cl(i,h)}let w;this.getUniforms=function(){return w===void 0&&C(this),w};let T;this.getAttributes=function(){return T===void 0&&C(this),T};let E=n.rendererExtensionParallelShaderCompile===!1;return this.isReady=function(){return E===!1&&(E=i.getProgramParameter(h,ul)),E},this.destroy=function(){r.releaseStatesOfProgram(this),i.deleteProgram(h),this.program=void 0},this.type=n.shaderType,this.name=n.shaderName,this.id=dl++,this.cacheKey=t,this.usedTimes=1,this.program=h,this.vertexShader=x,this.fragmentShader=S,this}var Gl=0,Kl=class{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){let t=e.vertexShader,n=e.fragmentShader,r=this._getShaderStage(t),i=this._getShaderStage(n),a=this._getShaderCacheForMaterial(e);return a.has(r)===!1&&(a.add(r),r.usedTimes++),a.has(i)===!1&&(a.add(i),i.usedTimes++),this}remove(e){let t=this.materialCache.get(e);for(let e of t)e.usedTimes--,e.usedTimes===0&&this.shaderCache.delete(e.code);return this.materialCache.delete(e),this}getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id}getFragmentShaderID(e){return this._getShaderStage(e.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){let t=this.materialCache,n=t.get(e);return n===void 0&&(n=new Set,t.set(e,n)),n}_getShaderStage(e){let t=this.shaderCache,n=t.get(e);return n===void 0&&(n=new ql(e),t.set(e,n)),n}},ql=class{constructor(e){this.id=Gl++,this.code=e,this.usedTimes=0}};function Jl(e){return e===1030||e===37490||e===36285}function Yl(e,t,n,r,i,a){let o=new Nr,s=new Kl,c=new Set,l=[],u=new Map,d=r.logarithmicDepthBuffer,f=r.precision,p={MeshDepthMaterial:`depth`,MeshDistanceMaterial:`distance`,MeshNormalMaterial:`normal`,MeshBasicMaterial:`basic`,MeshLambertMaterial:`lambert`,MeshPhongMaterial:`phong`,MeshToonMaterial:`toon`,MeshStandardMaterial:`physical`,MeshPhysicalMaterial:`physical`,MeshMatcapMaterial:`matcap`,LineBasicMaterial:`basic`,LineDashedMaterial:`dashed`,PointsMaterial:`points`,ShadowMaterial:`shadow`,SpriteMaterial:`sprite`};function m(e){return c.add(e),e===0?`uv`:`uv${e}`}function h(i,o,l,u,h,g){let _=u.fog,v=h.geometry,y=i.isMeshStandardMaterial||i.isMeshLambertMaterial||i.isMeshPhongMaterial?u.environment:null,b=i.isMeshStandardMaterial||i.isMeshLambertMaterial&&!i.envMap||i.isMeshPhongMaterial&&!i.envMap,x=t.get(i.envMap||y,b),S=x&&x.mapping===306?x.image.height:null,C=p[i.type];i.precision!==null&&(f=r.getMaxPrecision(i.precision),f!==i.precision&&W(`WebGLProgram.getParameters:`,i.precision,`not supported, using`,f,`instead.`));let w=v.morphAttributes.position||v.morphAttributes.normal||v.morphAttributes.color,T=w===void 0?0:w.length,E=0;v.morphAttributes.position!==void 0&&(E=1),v.morphAttributes.normal!==void 0&&(E=2),v.morphAttributes.color!==void 0&&(E=3);let D,O,k,A;if(C){let e=_s[C];D=e.vertexShader,O=e.fragmentShader}else D=i.vertexShader,O=i.fragmentShader,s.update(i),k=s.getVertexShaderID(i),A=s.getFragmentShaderID(i);let j=e.getRenderTarget(),ee=e.state.buffers.depth.getReversed(),M=h.isInstancedMesh===!0,N=h.isBatchedMesh===!0,P=!!i.map,te=!!i.matcap,ne=!!x,re=!!i.aoMap,ie=!!i.lightMap,F=!!i.bumpMap,ae=!!i.normalMap,oe=!!i.displacementMap,se=!!i.emissiveMap,ce=!!i.metalnessMap,le=!!i.roughnessMap,ue=i.anisotropy>0,de=i.clearcoat>0,fe=i.dispersion>0,I=i.iridescence>0,pe=i.sheen>0,me=i.transmission>0,he=ue&&!!i.anisotropyMap,ge=de&&!!i.clearcoatMap,_e=de&&!!i.clearcoatNormalMap,L=de&&!!i.clearcoatRoughnessMap,R=I&&!!i.iridescenceMap,z=I&&!!i.iridescenceThicknessMap,B=pe&&!!i.sheenColorMap,V=pe&&!!i.sheenRoughnessMap,ve=!!i.specularMap,H=!!i.specularColorMap,U=!!i.specularIntensityMap,ye=me&&!!i.transmissionMap,be=me&&!!i.thicknessMap,xe=!!i.gradientMap,Se=!!i.alphaMap,Ce=i.alphaTest>0,we=!!i.alphaHash,Te=!!i.extensions,Ee=0;i.toneMapped&&(j===null||j.isXRRenderTarget===!0)&&(Ee=e.toneMapping);let De={shaderID:C,shaderType:i.type,shaderName:i.name,vertexShader:D,fragmentShader:O,defines:i.defines,customVertexShaderID:k,customFragmentShaderID:A,isRawShaderMaterial:i.isRawShaderMaterial===!0,glslVersion:i.glslVersion,precision:f,batching:N,batchingColor:N&&h._colorsTexture!==null,instancing:M,instancingColor:M&&h.instanceColor!==null,instancingMorph:M&&h.morphTexture!==null,outputColorSpace:j===null?e.outputColorSpace:j.isXRRenderTarget===!0?j.texture.colorSpace:Y.workingColorSpace,alphaToCoverage:!!i.alphaToCoverage,map:P,matcap:te,envMap:ne,envMapMode:ne&&x.mapping,envMapCubeUVHeight:S,aoMap:re,lightMap:ie,bumpMap:F,normalMap:ae,displacementMap:oe,emissiveMap:se,normalMapObjectSpace:ae&&i.normalMapType===1,normalMapTangentSpace:ae&&i.normalMapType===0,packedNormalMap:ae&&i.normalMapType===0&&Jl(i.normalMap.format),metalnessMap:ce,roughnessMap:le,anisotropy:ue,anisotropyMap:he,clearcoat:de,clearcoatMap:ge,clearcoatNormalMap:_e,clearcoatRoughnessMap:L,dispersion:fe,iridescence:I,iridescenceMap:R,iridescenceThicknessMap:z,sheen:pe,sheenColorMap:B,sheenRoughnessMap:V,specularMap:ve,specularColorMap:H,specularIntensityMap:U,transmission:me,transmissionMap:ye,thicknessMap:be,gradientMap:xe,opaque:i.transparent===!1&&i.blending===1&&i.alphaToCoverage===!1,alphaMap:Se,alphaTest:Ce,alphaHash:we,combine:i.combine,mapUv:P&&m(i.map.channel),aoMapUv:re&&m(i.aoMap.channel),lightMapUv:ie&&m(i.lightMap.channel),bumpMapUv:F&&m(i.bumpMap.channel),normalMapUv:ae&&m(i.normalMap.channel),displacementMapUv:oe&&m(i.displacementMap.channel),emissiveMapUv:se&&m(i.emissiveMap.channel),metalnessMapUv:ce&&m(i.metalnessMap.channel),roughnessMapUv:le&&m(i.roughnessMap.channel),anisotropyMapUv:he&&m(i.anisotropyMap.channel),clearcoatMapUv:ge&&m(i.clearcoatMap.channel),clearcoatNormalMapUv:_e&&m(i.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:L&&m(i.clearcoatRoughnessMap.channel),iridescenceMapUv:R&&m(i.iridescenceMap.channel),iridescenceThicknessMapUv:z&&m(i.iridescenceThicknessMap.channel),sheenColorMapUv:B&&m(i.sheenColorMap.channel),sheenRoughnessMapUv:V&&m(i.sheenRoughnessMap.channel),specularMapUv:ve&&m(i.specularMap.channel),specularColorMapUv:H&&m(i.specularColorMap.channel),specularIntensityMapUv:U&&m(i.specularIntensityMap.channel),transmissionMapUv:ye&&m(i.transmissionMap.channel),thicknessMapUv:be&&m(i.thicknessMap.channel),alphaMapUv:Se&&m(i.alphaMap.channel),vertexTangents:!!v.attributes.tangent&&(ae||ue),vertexNormals:!!v.attributes.normal,vertexColors:i.vertexColors,vertexAlphas:i.vertexColors===!0&&!!v.attributes.color&&v.attributes.color.itemSize===4,pointsUvs:h.isPoints===!0&&!!v.attributes.uv&&(P||Se),fog:!!_,useFog:i.fog===!0,fogExp2:!!_&&_.isFogExp2,flatShading:i.wireframe===!1&&(i.flatShading===!0||v.attributes.normal===void 0&&ae===!1&&(i.isMeshLambertMaterial||i.isMeshPhongMaterial||i.isMeshStandardMaterial||i.isMeshPhysicalMaterial)),sizeAttenuation:i.sizeAttenuation===!0,logarithmicDepthBuffer:d,reversedDepthBuffer:ee,skinning:h.isSkinnedMesh===!0,morphTargets:v.morphAttributes.position!==void 0,morphNormals:v.morphAttributes.normal!==void 0,morphColors:v.morphAttributes.color!==void 0,morphTargetsCount:T,morphTextureStride:E,numDirLights:o.directional.length,numPointLights:o.point.length,numSpotLights:o.spot.length,numSpotLightMaps:o.spotLightMap.length,numRectAreaLights:o.rectArea.length,numHemiLights:o.hemi.length,numDirLightShadows:o.directionalShadowMap.length,numPointLightShadows:o.pointShadowMap.length,numSpotLightShadows:o.spotShadowMap.length,numSpotLightShadowsWithMaps:o.numSpotLightShadowsWithMaps,numLightProbes:o.numLightProbes,numLightProbeGrids:g.length,numClippingPlanes:a.numPlanes,numClipIntersection:a.numIntersection,dithering:i.dithering,shadowMapEnabled:e.shadowMap.enabled&&l.length>0,shadowMapType:e.shadowMap.type,toneMapping:Ee,decodeVideoTexture:P&&i.map.isVideoTexture===!0&&Y.getTransfer(i.map.colorSpace)===`srgb`,decodeVideoTextureEmissive:se&&i.emissiveMap.isVideoTexture===!0&&Y.getTransfer(i.emissiveMap.colorSpace)===`srgb`,premultipliedAlpha:i.premultipliedAlpha,doubleSided:i.side===2,flipSided:i.side===1,useDepthPacking:i.depthPacking>=0,depthPacking:i.depthPacking||0,index0AttributeName:i.index0AttributeName,extensionClipCullDistance:Te&&i.extensions.clipCullDistance===!0&&n.has(`WEBGL_clip_cull_distance`),extensionMultiDraw:(Te&&i.extensions.multiDraw===!0||N)&&n.has(`WEBGL_multi_draw`),rendererExtensionParallelShaderCompile:n.has(`KHR_parallel_shader_compile`),customProgramCacheKey:i.customProgramCacheKey()};return De.vertexUv1s=c.has(1),De.vertexUv2s=c.has(2),De.vertexUv3s=c.has(3),c.clear(),De}function g(t){let n=[];if(t.shaderID?n.push(t.shaderID):(n.push(t.customVertexShaderID),n.push(t.customFragmentShaderID)),t.defines!==void 0)for(let e in t.defines)n.push(e),n.push(t.defines[e]);return t.isRawShaderMaterial===!1&&(_(n,t),v(n,t),n.push(e.outputColorSpace)),n.push(t.customProgramCacheKey),n.join()}function _(e,t){e.push(t.precision),e.push(t.outputColorSpace),e.push(t.envMapMode),e.push(t.envMapCubeUVHeight),e.push(t.mapUv),e.push(t.alphaMapUv),e.push(t.lightMapUv),e.push(t.aoMapUv),e.push(t.bumpMapUv),e.push(t.normalMapUv),e.push(t.displacementMapUv),e.push(t.emissiveMapUv),e.push(t.metalnessMapUv),e.push(t.roughnessMapUv),e.push(t.anisotropyMapUv),e.push(t.clearcoatMapUv),e.push(t.clearcoatNormalMapUv),e.push(t.clearcoatRoughnessMapUv),e.push(t.iridescenceMapUv),e.push(t.iridescenceThicknessMapUv),e.push(t.sheenColorMapUv),e.push(t.sheenRoughnessMapUv),e.push(t.specularMapUv),e.push(t.specularColorMapUv),e.push(t.specularIntensityMapUv),e.push(t.transmissionMapUv),e.push(t.thicknessMapUv),e.push(t.combine),e.push(t.fogExp2),e.push(t.sizeAttenuation),e.push(t.morphTargetsCount),e.push(t.morphAttributeCount),e.push(t.numDirLights),e.push(t.numPointLights),e.push(t.numSpotLights),e.push(t.numSpotLightMaps),e.push(t.numHemiLights),e.push(t.numRectAreaLights),e.push(t.numDirLightShadows),e.push(t.numPointLightShadows),e.push(t.numSpotLightShadows),e.push(t.numSpotLightShadowsWithMaps),e.push(t.numLightProbes),e.push(t.shadowMapType),e.push(t.toneMapping),e.push(t.numClippingPlanes),e.push(t.numClipIntersection),e.push(t.depthPacking)}function v(e,t){o.disableAll(),t.instancing&&o.enable(0),t.instancingColor&&o.enable(1),t.instancingMorph&&o.enable(2),t.matcap&&o.enable(3),t.envMap&&o.enable(4),t.normalMapObjectSpace&&o.enable(5),t.normalMapTangentSpace&&o.enable(6),t.clearcoat&&o.enable(7),t.iridescence&&o.enable(8),t.alphaTest&&o.enable(9),t.vertexColors&&o.enable(10),t.vertexAlphas&&o.enable(11),t.vertexUv1s&&o.enable(12),t.vertexUv2s&&o.enable(13),t.vertexUv3s&&o.enable(14),t.vertexTangents&&o.enable(15),t.anisotropy&&o.enable(16),t.alphaHash&&o.enable(17),t.batching&&o.enable(18),t.dispersion&&o.enable(19),t.batchingColor&&o.enable(20),t.gradientMap&&o.enable(21),t.packedNormalMap&&o.enable(22),t.vertexNormals&&o.enable(23),e.push(o.mask),o.disableAll(),t.fog&&o.enable(0),t.useFog&&o.enable(1),t.flatShading&&o.enable(2),t.logarithmicDepthBuffer&&o.enable(3),t.reversedDepthBuffer&&o.enable(4),t.skinning&&o.enable(5),t.morphTargets&&o.enable(6),t.morphNormals&&o.enable(7),t.morphColors&&o.enable(8),t.premultipliedAlpha&&o.enable(9),t.shadowMapEnabled&&o.enable(10),t.doubleSided&&o.enable(11),t.flipSided&&o.enable(12),t.useDepthPacking&&o.enable(13),t.dithering&&o.enable(14),t.transmission&&o.enable(15),t.sheen&&o.enable(16),t.opaque&&o.enable(17),t.pointsUvs&&o.enable(18),t.decodeVideoTexture&&o.enable(19),t.decodeVideoTextureEmissive&&o.enable(20),t.alphaToCoverage&&o.enable(21),t.numLightProbeGrids>0&&o.enable(22),e.push(o.mask)}function y(e){let t=p[e.type],n;if(t){let e=_s[t];n=lo.clone(e.uniforms)}else n=e.uniforms;return n}function b(t,n){let r=u.get(n);return r===void 0?(r=new Wl(e,n,t,i),l.push(r),u.set(n,r)):++r.usedTimes,r}function x(e){if(--e.usedTimes===0){let t=l.indexOf(e);l[t]=l[l.length-1],l.pop(),u.delete(e.cacheKey),e.destroy()}}function S(e){s.remove(e)}function C(){s.dispose()}return{getParameters:h,getProgramCacheKey:g,getUniforms:y,acquireProgram:b,releaseProgram:x,releaseShaderCache:S,programs:l,dispose:C}}function Xl(){let e=new WeakMap;function t(t){return e.has(t)}function n(t){let n=e.get(t);return n===void 0&&(n={},e.set(t,n)),n}function r(t){e.delete(t)}function i(t,n,r){e.get(t)[n]=r}function a(){e=new WeakMap}return{has:t,get:n,remove:r,update:i,dispose:a}}function Zl(e,t){return e.groupOrder===t.groupOrder?e.renderOrder===t.renderOrder?e.material.id===t.material.id?e.materialVariant===t.materialVariant?e.z===t.z?e.id-t.id:e.z-t.z:e.materialVariant-t.materialVariant:e.material.id-t.material.id:e.renderOrder-t.renderOrder:e.groupOrder-t.groupOrder}function Ql(e,t){return e.groupOrder===t.groupOrder?e.renderOrder===t.renderOrder?e.z===t.z?e.id-t.id:t.z-e.z:e.renderOrder-t.renderOrder:e.groupOrder-t.groupOrder}function $l(){let e=[],t=0,n=[],r=[],i=[];function a(){t=0,n.length=0,r.length=0,i.length=0}function o(e){let t=0;return e.isInstancedMesh&&(t+=2),e.isSkinnedMesh&&(t+=1),t}function s(n,r,i,a,s,c){let l=e[t];return l===void 0?(l={id:n.id,object:n,geometry:r,material:i,materialVariant:o(n),groupOrder:a,renderOrder:n.renderOrder,z:s,group:c},e[t]=l):(l.id=n.id,l.object=n,l.geometry=r,l.material=i,l.materialVariant=o(n),l.groupOrder=a,l.renderOrder=n.renderOrder,l.z=s,l.group=c),t++,l}function c(e,t,a,o,c,l){let u=s(e,t,a,o,c,l);a.transmission>0?r.push(u):a.transparent===!0?i.push(u):n.push(u)}function l(e,t,a,o,c,l){let u=s(e,t,a,o,c,l);a.transmission>0?r.unshift(u):a.transparent===!0?i.unshift(u):n.unshift(u)}function u(e,t){n.length>1&&n.sort(e||Zl),r.length>1&&r.sort(t||Ql),i.length>1&&i.sort(t||Ql)}function d(){for(let n=t,r=e.length;n=r.length?(i=new $l,r.push(i)):i=r[n],i}function n(){e=new WeakMap}return{get:t,dispose:n}}function tu(){let e={};return{get:function(t){if(e[t.id]!==void 0)return e[t.id];let n;switch(t.type){case`DirectionalLight`:n={direction:new q,color:new X};break;case`SpotLight`:n={position:new q,direction:new q,color:new X,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case`PointLight`:n={position:new q,color:new X,distance:0,decay:0};break;case`HemisphereLight`:n={direction:new q,skyColor:new X,groundColor:new X};break;case`RectAreaLight`:n={color:new X,position:new q,halfWidth:new q,halfHeight:new q};break}return e[t.id]=n,n}}}function nu(){let e={};return{get:function(t){if(e[t.id]!==void 0)return e[t.id];let n;switch(t.type){case`DirectionalLight`:n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new $n};break;case`SpotLight`:n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new $n};break;case`PointLight`:n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new $n,shadowCameraNear:1,shadowCameraFar:1e3};break}return e[t.id]=n,n}}}var ru=0;function iu(e,t){return(t.castShadow?2:0)-(e.castShadow?2:0)+ +!!t.map-!!e.map}function au(e){let t=new tu,n=nu(),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let e=0;e<9;e++)r.probe.push(new q);let i=new q,a=new Sr,o=new Sr;function s(i){let a=0,o=0,s=0;for(let e=0;e<9;e++)r.probe[e].set(0,0,0);let c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0,v=0;i.sort(iu);for(let e=0,y=i.length;e0&&(e.has(`OES_texture_float_linear`)===!0?(r.rectAreaLTC1=$.LTC_FLOAT_1,r.rectAreaLTC2=$.LTC_FLOAT_2):(r.rectAreaLTC1=$.LTC_HALF_1,r.rectAreaLTC2=$.LTC_HALF_2)),r.ambient[0]=a,r.ambient[1]=o,r.ambient[2]=s;let y=r.hash;(y.directionalLength!==c||y.pointLength!==l||y.spotLength!==u||y.rectAreaLength!==d||y.hemiLength!==f||y.numDirectionalShadows!==p||y.numPointShadows!==m||y.numSpotShadows!==h||y.numSpotMaps!==g||y.numLightProbes!==v)&&(r.directional.length=c,r.spot.length=u,r.rectArea.length=d,r.point.length=l,r.hemi.length=f,r.directionalShadow.length=p,r.directionalShadowMap.length=p,r.pointShadow.length=m,r.pointShadowMap.length=m,r.spotShadow.length=h,r.spotShadowMap.length=h,r.directionalShadowMatrix.length=p,r.pointShadowMatrix.length=m,r.spotLightMatrix.length=h+g-_,r.spotLightMap.length=g,r.numSpotLightShadowsWithMaps=_,r.numLightProbes=v,y.directionalLength=c,y.pointLength=l,y.spotLength=u,y.rectAreaLength=d,y.hemiLength=f,y.numDirectionalShadows=p,y.numPointShadows=m,y.numSpotShadows=h,y.numSpotMaps=g,y.numLightProbes=v,r.version=ru++)}function c(e,t){let n=0,s=0,c=0,l=0,u=0,d=t.matrixWorldInverse;for(let t=0,f=e.length;t=i.length?(a=new ou(e),i.push(a)):a=i[r],a}function r(){t=new WeakMap}return{get:n,dispose:r}}var cu=`void main() { - gl_Position = vec4( position, 1.0 ); -}`,lu=`uniform sampler2D shadow_pass; -uniform vec2 resolution; -uniform float radius; -void main() { - const float samples = float( VSM_SAMPLES ); - float mean = 0.0; - float squared_mean = 0.0; - float uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 ); - float uvStart = samples <= 1.0 ? 0.0 : - 1.0; - for ( float i = 0.0; i < samples; i ++ ) { - float uvOffset = uvStart + i * uvStride; - #ifdef HORIZONTAL_PASS - vec2 distribution = texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ).rg; - mean += distribution.x; - squared_mean += distribution.y * distribution.y + distribution.x * distribution.x; - #else - float depth = texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ).r; - mean += depth; - squared_mean += depth * depth; - #endif - } - mean = mean / samples; - squared_mean = squared_mean / samples; - float std_dev = sqrt( max( 0.0, squared_mean - mean * mean ) ); - gl_FragColor = vec4( mean, std_dev, 0.0, 1.0 ); -}`,uu=[new q(1,0,0),new q(-1,0,0),new q(0,1,0),new q(0,-1,0),new q(0,0,1),new q(0,0,-1)],du=[new q(0,-1,0),new q(0,-1,0),new q(0,0,1),new q(0,0,-1),new q(0,-1,0),new q(0,-1,0)],fu=new Sr,pu=new q,mu=new q;function hu(e,t,n){let r=new ja,i=new $n,a=new $n,o=new _r,s=new go,c=new _o,l={},u=n.maxTextureSize,d={0:1,1:0,2:2},f=new po({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new $n},radius:{value:4}},vertexShader:cu,fragmentShader:lu}),p=f.clone();p.defines.HORIZONTAL_PASS=1;let m=new Zi;m.setAttribute(`position`,new Z(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));let h=new ba(m,f),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=1;let _=this.type;this.render=function(t,n,s){if(g.enabled===!1||g.autoUpdate===!1&&g.needsUpdate===!1||t.length===0)return;this.type===2&&(W(`WebGLShadowMap: PCFSoftShadowMap has been deprecated. Using PCFShadowMap instead.`),this.type=1);let c=e.getRenderTarget(),l=e.getActiveCubeFace(),d=e.getActiveMipmapLevel(),f=e.state;f.setBlending(0),f.buffers.depth.getReversed()===!0?f.buffers.color.setClear(0,0,0,0):f.buffers.color.setClear(1,1,1,1),f.buffers.depth.setTest(!0),f.setScissorTest(!1);let p=_!==this.type;p&&n.traverse(function(e){e.material&&(Array.isArray(e.material)?e.material.forEach(e=>e.needsUpdate=!0):e.material.needsUpdate=!0)});for(let c=0,l=t.length;cu||i.y>u)&&(i.x>u&&(a.x=Math.floor(u/m.x),i.x=a.x*m.x,d.mapSize.x=a.x),i.y>u&&(a.y=Math.floor(u/m.y),i.y=a.y*m.y,d.mapSize.y=a.y));let h=e.state.buffers.depth.getReversed();if(d.camera._reversedDepth=h,d.map===null||p===!0){if(d.map!==null&&(d.map.depthTexture!==null&&(d.map.depthTexture.dispose(),d.map.depthTexture=null),d.map.dispose()),this.type===3){if(l.isPointLight){W(`WebGLShadowMap: VSM shadow maps are not supported for PointLights. Use PCF or BasicShadowMap instead.`);continue}d.map=new yr(i.x,i.y,{format:jt,type:vt,minFilter:ct,magFilter:ct,generateMipmaps:!1}),d.map.texture.name=l.name+`.shadowMap`,d.map.depthTexture=new $a(i.x,i.y,_t),d.map.depthTexture.name=l.name+`.shadowMapDepth`,d.map.depthTexture.format=Dt,d.map.depthTexture.compareFunction=null,d.map.depthTexture.minFilter=at,d.map.depthTexture.magFilter=at}else l.isPointLight?(d.map=new Ks(i.x),d.map.depthTexture=new eo(i.x,gt)):(d.map=new yr(i.x,i.y),d.map.depthTexture=new $a(i.x,i.y,gt)),d.map.depthTexture.name=l.name+`.shadowMap`,d.map.depthTexture.format=Dt,this.type===1?(d.map.depthTexture.compareFunction=h?518:515,d.map.depthTexture.minFilter=ct,d.map.depthTexture.magFilter=ct):(d.map.depthTexture.compareFunction=null,d.map.depthTexture.minFilter=at,d.map.depthTexture.magFilter=at);d.camera.updateProjectionMatrix()}let g=d.map.isWebGLCubeRenderTarget?6:1;for(let t=0;t0||n.map&&n.alphaTest>0||n.alphaToCoverage===!0){let e=a.uuid,t=n.uuid,r=l[e];r===void 0&&(r={},l[e]=r);let i=r[t];i===void 0&&(i=a.clone(),r[t]=i,n.addEventListener(`dispose`,x)),a=i}if(a.visible=n.visible,a.wireframe=n.wireframe,i===3?a.side=n.shadowSide===null?n.side:n.shadowSide:a.side=n.shadowSide===null?d[n.side]:n.shadowSide,a.alphaMap=n.alphaMap,a.alphaTest=n.alphaToCoverage===!0?.5:n.alphaTest,a.map=n.map,a.clipShadows=n.clipShadows,a.clippingPlanes=n.clippingPlanes,a.clipIntersection=n.clipIntersection,a.displacementMap=n.displacementMap,a.displacementScale=n.displacementScale,a.displacementBias=n.displacementBias,a.wireframeLinewidth=n.wireframeLinewidth,a.linewidth=n.linewidth,r.isPointLight===!0&&a.isMeshDistanceMaterial===!0){let t=e.properties.get(a);t.light=r}return a}function b(n,i,a,o,s){if(n.visible===!1)return;if(n.layers.test(i.layers)&&(n.isMesh||n.isLine||n.isPoints)&&(n.castShadow||n.receiveShadow&&s===3)&&(!n.frustumCulled||r.intersectsObject(n))){n.modelViewMatrix.multiplyMatrices(a.matrixWorldInverse,n.matrixWorld);let r=t.update(n),c=n.material;if(Array.isArray(c)){let t=r.groups;for(let l=0,u=t.length;l=2):(N=parseFloat(/^WebGL (\d)/.exec(P)[1]),M=N>=1);let te=null,ne={},re=e.getParameter(e.SCISSOR_BOX),ie=e.getParameter(e.VIEWPORT),F=new _r().fromArray(re),ae=new _r().fromArray(ie);function oe(t,n,r,i){let a=new Uint8Array(4),o=e.createTexture();e.bindTexture(t,o),e.texParameteri(t,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(t,e.TEXTURE_MAG_FILTER,e.NEAREST);for(let o=0;o`u`?!1:/OculusBrowser/g.test(navigator.userAgent),l=new $n,u=new WeakMap,d=new Set,f,p=new WeakMap,m=!1;try{m=typeof OffscreenCanvas<`u`&&new OffscreenCanvas(1,1).getContext(`2d`)!==null}catch{}function h(e,t){return m?new OffscreenCanvas(e,t):Fn(`canvas`)}function g(e,t,n){let r=1,i=H(e);if((i.width>n||i.height>n)&&(r=n/Math.max(i.width,i.height)),r<1)if(typeof HTMLImageElement<`u`&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<`u`&&e instanceof HTMLCanvasElement||typeof ImageBitmap<`u`&&e instanceof ImageBitmap||typeof VideoFrame<`u`&&e instanceof VideoFrame){let n=Math.floor(r*i.width),a=Math.floor(r*i.height);f===void 0&&(f=h(n,a));let o=t?h(n,a):f;return o.width=n,o.height=a,o.getContext(`2d`).drawImage(e,0,0,n,a),W(`WebGLRenderer: Texture has been resized from (`+i.width+`x`+i.height+`) to (`+n+`x`+a+`).`),o}else return`data`in e&&W(`WebGLRenderer: Image in DataTexture is too big (`+i.width+`x`+i.height+`).`),e;return e}function _(e){return e.generateMipmaps}function v(t){e.generateMipmap(t)}function y(t){return t.isWebGLCubeRenderTarget?e.TEXTURE_CUBE_MAP:t.isWebGL3DRenderTarget?e.TEXTURE_3D:t.isWebGLArrayRenderTarget||t.isCompressedArrayTexture?e.TEXTURE_2D_ARRAY:e.TEXTURE_2D}function b(n,r,i,a,o,s=!1){if(n!==null){if(e[n]!==void 0)return e[n];W(`WebGLRenderer: Attempt to use non-existing WebGL internal format '`+n+`'`)}let c;a&&(c=t.get(`EXT_texture_norm16`),c||W(`WebGLRenderer: Unable to use normalized textures without EXT_texture_norm16 extension`));let l=r;if(r===e.RED&&(i===e.FLOAT&&(l=e.R32F),i===e.HALF_FLOAT&&(l=e.R16F),i===e.UNSIGNED_BYTE&&(l=e.R8),i===e.UNSIGNED_SHORT&&c&&(l=c.R16_EXT),i===e.SHORT&&c&&(l=c.R16_SNORM_EXT)),r===e.RED_INTEGER&&(i===e.UNSIGNED_BYTE&&(l=e.R8UI),i===e.UNSIGNED_SHORT&&(l=e.R16UI),i===e.UNSIGNED_INT&&(l=e.R32UI),i===e.BYTE&&(l=e.R8I),i===e.SHORT&&(l=e.R16I),i===e.INT&&(l=e.R32I)),r===e.RG&&(i===e.FLOAT&&(l=e.RG32F),i===e.HALF_FLOAT&&(l=e.RG16F),i===e.UNSIGNED_BYTE&&(l=e.RG8),i===e.UNSIGNED_SHORT&&c&&(l=c.RG16_EXT),i===e.SHORT&&c&&(l=c.RG16_SNORM_EXT)),r===e.RG_INTEGER&&(i===e.UNSIGNED_BYTE&&(l=e.RG8UI),i===e.UNSIGNED_SHORT&&(l=e.RG16UI),i===e.UNSIGNED_INT&&(l=e.RG32UI),i===e.BYTE&&(l=e.RG8I),i===e.SHORT&&(l=e.RG16I),i===e.INT&&(l=e.RG32I)),r===e.RGB_INTEGER&&(i===e.UNSIGNED_BYTE&&(l=e.RGB8UI),i===e.UNSIGNED_SHORT&&(l=e.RGB16UI),i===e.UNSIGNED_INT&&(l=e.RGB32UI),i===e.BYTE&&(l=e.RGB8I),i===e.SHORT&&(l=e.RGB16I),i===e.INT&&(l=e.RGB32I)),r===e.RGBA_INTEGER&&(i===e.UNSIGNED_BYTE&&(l=e.RGBA8UI),i===e.UNSIGNED_SHORT&&(l=e.RGBA16UI),i===e.UNSIGNED_INT&&(l=e.RGBA32UI),i===e.BYTE&&(l=e.RGBA8I),i===e.SHORT&&(l=e.RGBA16I),i===e.INT&&(l=e.RGBA32I)),r===e.RGB&&(i===e.UNSIGNED_SHORT&&c&&(l=c.RGB16_EXT),i===e.SHORT&&c&&(l=c.RGB16_SNORM_EXT),i===e.UNSIGNED_INT_5_9_9_9_REV&&(l=e.RGB9_E5),i===e.UNSIGNED_INT_10F_11F_11F_REV&&(l=e.R11F_G11F_B10F)),r===e.RGBA){let t=s?Dn:Y.getTransfer(o);i===e.FLOAT&&(l=e.RGBA32F),i===e.HALF_FLOAT&&(l=e.RGBA16F),i===e.UNSIGNED_BYTE&&(l=t===`srgb`?e.SRGB8_ALPHA8:e.RGBA8),i===e.UNSIGNED_SHORT&&c&&(l=c.RGBA16_EXT),i===e.SHORT&&c&&(l=c.RGBA16_SNORM_EXT),i===e.UNSIGNED_SHORT_4_4_4_4&&(l=e.RGBA4),i===e.UNSIGNED_SHORT_5_5_5_1&&(l=e.RGB5_A1)}return(l===e.R16F||l===e.R32F||l===e.RG16F||l===e.RG32F||l===e.RGBA16F||l===e.RGBA32F)&&t.get(`EXT_color_buffer_float`),l}function x(t,n){let r;return t?n===null||n===1014||n===1020?r=e.DEPTH24_STENCIL8:n===1015?r=e.DEPTH32F_STENCIL8:n===1012&&(r=e.DEPTH24_STENCIL8,W(`DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.`)):n===null||n===1014||n===1020?r=e.DEPTH_COMPONENT24:n===1015?r=e.DEPTH_COMPONENT32F:n===1012&&(r=e.DEPTH_COMPONENT16),r}function S(e,t){return _(e)===!0||e.isFramebufferTexture&&e.minFilter!==1003&&e.minFilter!==1006?Math.log2(Math.max(t.width,t.height))+1:e.mipmaps!==void 0&&e.mipmaps.length>0?e.mipmaps.length:e.isCompressedTexture&&Array.isArray(e.image)?t.mipmaps.length:1}function C(e){let t=e.target;t.removeEventListener(`dispose`,C),T(t),t.isVideoTexture&&u.delete(t),t.isHTMLTexture&&d.delete(t)}function w(e){let t=e.target;t.removeEventListener(`dispose`,w),D(t)}function T(e){let t=r.get(e);if(t.__webglInit===void 0)return;let n=e.source,i=p.get(n);if(i){let r=i[t.__cacheKey];r.usedTimes--,r.usedTimes===0&&E(e),Object.keys(i).length===0&&p.delete(n)}r.remove(e)}function E(t){let n=r.get(t);e.deleteTexture(n.__webglTexture);let i=t.source,a=p.get(i);delete a[n.__cacheKey],o.memory.textures--}function D(t){let n=r.get(t);if(t.depthTexture&&(t.depthTexture.dispose(),r.remove(t.depthTexture)),t.isWebGLCubeRenderTarget)for(let t=0;t<6;t++){if(Array.isArray(n.__webglFramebuffer[t]))for(let r=0;r=i.maxTextures&&W(`WebGLTextures: Trying to use `+e+` texture units while this GPU supports only `+i.maxTextures),O+=1,e}function M(e){let t=[];return t.push(e.wrapS),t.push(e.wrapT),t.push(e.wrapR||0),t.push(e.magFilter),t.push(e.minFilter),t.push(e.anisotropy),t.push(e.internalFormat),t.push(e.format),t.push(e.type),t.push(e.generateMipmaps),t.push(e.premultiplyAlpha),t.push(e.flipY),t.push(e.unpackAlignment),t.push(e.colorSpace),t.join()}function N(t,i){let a=r.get(t);if(t.isVideoTexture&&V(t),t.isRenderTargetTexture===!1&&t.isExternalTexture!==!0&&t.version>0&&a.__version!==t.version){let e=t.image;if(e===null)W(`WebGLRenderer: Texture marked for update but no image data found.`);else if(e.complete===!1)W(`WebGLRenderer: Texture marked for update but image is incomplete`);else{le(a,t,i);return}}else t.isExternalTexture&&(a.__webglTexture=t.sourceTexture?t.sourceTexture:null);n.bindTexture(e.TEXTURE_2D,a.__webglTexture,e.TEXTURE0+i)}function P(t,i){let a=r.get(t);if(t.isRenderTargetTexture===!1&&t.version>0&&a.__version!==t.version){le(a,t,i);return}else t.isExternalTexture&&(a.__webglTexture=t.sourceTexture?t.sourceTexture:null);n.bindTexture(e.TEXTURE_2D_ARRAY,a.__webglTexture,e.TEXTURE0+i)}function te(t,i){let a=r.get(t);if(t.isRenderTargetTexture===!1&&t.version>0&&a.__version!==t.version){le(a,t,i);return}n.bindTexture(e.TEXTURE_3D,a.__webglTexture,e.TEXTURE0+i)}function ne(t,i){let a=r.get(t);if(t.isCubeDepthTexture!==!0&&t.version>0&&a.__version!==t.version){ue(a,t,i);return}n.bindTexture(e.TEXTURE_CUBE_MAP,a.__webglTexture,e.TEXTURE0+i)}let re={[nt]:e.REPEAT,[rt]:e.CLAMP_TO_EDGE,[it]:e.MIRRORED_REPEAT},ie={[at]:e.NEAREST,[ot]:e.NEAREST_MIPMAP_NEAREST,[st]:e.NEAREST_MIPMAP_LINEAR,[ct]:e.LINEAR,[lt]:e.LINEAR_MIPMAP_NEAREST,[ut]:e.LINEAR_MIPMAP_LINEAR},F={512:e.NEVER,519:e.ALWAYS,513:e.LESS,515:e.LEQUAL,514:e.EQUAL,518:e.GEQUAL,516:e.GREATER,517:e.NOTEQUAL};function ae(n,a){if(a.type===1015&&t.has(`OES_texture_float_linear`)===!1&&(a.magFilter===1006||a.magFilter===1007||a.magFilter===1005||a.magFilter===1008||a.minFilter===1006||a.minFilter===1007||a.minFilter===1005||a.minFilter===1008)&&W(`WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device.`),e.texParameteri(n,e.TEXTURE_WRAP_S,re[a.wrapS]),e.texParameteri(n,e.TEXTURE_WRAP_T,re[a.wrapT]),(n===e.TEXTURE_3D||n===e.TEXTURE_2D_ARRAY)&&e.texParameteri(n,e.TEXTURE_WRAP_R,re[a.wrapR]),e.texParameteri(n,e.TEXTURE_MAG_FILTER,ie[a.magFilter]),e.texParameteri(n,e.TEXTURE_MIN_FILTER,ie[a.minFilter]),a.compareFunction&&(e.texParameteri(n,e.TEXTURE_COMPARE_MODE,e.COMPARE_REF_TO_TEXTURE),e.texParameteri(n,e.TEXTURE_COMPARE_FUNC,F[a.compareFunction])),t.has(`EXT_texture_filter_anisotropic`)===!0){if(a.magFilter===1003||a.minFilter!==1005&&a.minFilter!==1008||a.type===1015&&t.has(`OES_texture_float_linear`)===!1)return;if(a.anisotropy>1||r.get(a).__currentAnisotropy){let o=t.get(`EXT_texture_filter_anisotropic`);e.texParameterf(n,o.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(a.anisotropy,i.getMaxAnisotropy())),r.get(a).__currentAnisotropy=a.anisotropy}}}function oe(t,n){let r=!1;t.__webglInit===void 0&&(t.__webglInit=!0,n.addEventListener(`dispose`,C));let i=n.source,a=p.get(i);a===void 0&&(a={},p.set(i,a));let s=M(n);if(s!==t.__cacheKey){a[s]===void 0&&(a[s]={texture:e.createTexture(),usedTimes:0},o.memory.textures++,r=!0),a[s].usedTimes++;let i=a[t.__cacheKey];i!==void 0&&(a[t.__cacheKey].usedTimes--,i.usedTimes===0&&E(n)),t.__cacheKey=s,t.__webglTexture=a[s].texture}return r}function se(e,t,n){return Math.floor(Math.floor(e/n)/t)}function ce(t,r,i,a){let o=t.updateRanges;if(o.length===0)n.texSubImage2D(e.TEXTURE_2D,0,0,0,r.width,r.height,i,a,r.data);else{o.sort((e,t)=>e.start-t.start);let s=0;for(let e=1;e0){C&&w&&n.texStorage2D(e.TEXTURE_2D,E,m,y[0].width,y[0].height);for(let t=0,i=y.length;t0){let t=ps(h.width,h.height,o.format,o.type);for(let a of o.layerUpdates){let o=h.data.subarray(a*t/h.data.BYTES_PER_ELEMENT,(a+1)*t/h.data.BYTES_PER_ELEMENT);n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,a,h.width,h.height,1,r,o)}o.clearLayerUpdates()}else n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,0,h.width,h.height,t.depth,r,h.data)}else n.compressedTexImage3D(e.TEXTURE_2D_ARRAY,i,m,h.width,h.height,t.depth,0,h.data,0,0);else W(`WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()`);else C?T&&n.texSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,0,h.width,h.height,t.depth,r,p,h.data):n.texImage3D(e.TEXTURE_2D_ARRAY,i,m,h.width,h.height,t.depth,0,r,p,h.data)}else{C&&w&&n.texStorage2D(e.TEXTURE_2D,E,m,y[0].width,y[0].height);for(let t=0,i=y.length;t0){let i=ps(t.width,t.height,o.format,o.type);for(let a of o.layerUpdates){let o=t.data.subarray(a*i/t.data.BYTES_PER_ELEMENT,(a+1)*i/t.data.BYTES_PER_ELEMENT);n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,a,t.width,t.height,1,r,p,o)}o.clearLayerUpdates()}else n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,0,t.width,t.height,t.depth,r,p,t.data)}else n.texImage3D(e.TEXTURE_2D_ARRAY,0,m,t.width,t.height,t.depth,0,r,p,t.data);else if(o.isData3DTexture)C?(w&&n.texStorage3D(e.TEXTURE_3D,E,m,t.width,t.height,t.depth),T&&n.texSubImage3D(e.TEXTURE_3D,0,0,0,0,t.width,t.height,t.depth,r,p,t.data)):n.texImage3D(e.TEXTURE_3D,0,m,t.width,t.height,t.depth,0,r,p,t.data);else if(o.isFramebufferTexture){if(w)if(C)n.texStorage2D(e.TEXTURE_2D,E,m,t.width,t.height);else{let i=t.width,a=t.height;for(let t=0;t>=1,a>>=1}}else if(o.isHTMLTexture){if(`texElementImage2D`in e){let n=e.canvas;if(n.hasAttribute(`layoutsubtree`)||n.setAttribute(`layoutsubtree`,`true`),t.parentNode!==n){n.appendChild(t),d.add(o),n.onpaint=e=>{let t=e.changedElements;for(let e of d)t.includes(e.image)&&(e.needsUpdate=!0)},n.requestPaint();return}let r=e.RGBA,i=e.RGBA,a=e.UNSIGNED_BYTE;e.texElementImage2D(e.TEXTURE_2D,0,r,i,a,t),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE)}}else if(y.length>0){if(C&&w){let t=H(y[0]);n.texStorage2D(e.TEXTURE_2D,E,m,t.width,t.height)}for(let t=0,i=y.length;t0&&D++;let t=H(m[0]);n.texStorage2D(e.TEXTURE_CUBE_MAP,D,C,t.width,t.height)}for(let t=0;t<6;t++)if(p){w?E&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,0,0,m[t].width,m[t].height,y,x,m[t].data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,C,m[t].width,m[t].height,0,y,x,m[t].data);for(let r=0;r>u),r=Math.max(1,i.height>>u);l===e.TEXTURE_3D||l===e.TEXTURE_2D_ARRAY?n.texImage3D(l,u,p,t,r,i.depth,0,d,f,null):n.texImage2D(l,u,p,t,r,0,d,f,null)}n.bindFramebuffer(e.FRAMEBUFFER,t),B(i)?s.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,c,l,h.__webglTexture,0,z(i)):(l===e.TEXTURE_2D||l>=e.TEXTURE_CUBE_MAP_POSITIVE_X&&l<=e.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&e.framebufferTexture2D(e.FRAMEBUFFER,c,l,h.__webglTexture,u),n.bindFramebuffer(e.FRAMEBUFFER,null)}function fe(t,n,r){if(e.bindRenderbuffer(e.RENDERBUFFER,t),n.depthBuffer){let i=n.depthTexture,a=i&&i.isDepthTexture?i.type:null,o=x(n.stencilBuffer,a),c=n.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT;B(n)?s.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,z(n),o,n.width,n.height):r?e.renderbufferStorageMultisample(e.RENDERBUFFER,z(n),o,n.width,n.height):e.renderbufferStorage(e.RENDERBUFFER,o,n.width,n.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,c,e.RENDERBUFFER,t)}else{let t=n.textures;for(let i=0;i{delete i.__boundDepthTexture,delete i.__depthDisposeCallback,e.removeEventListener(`dispose`,t)};e.addEventListener(`dispose`,t),i.__depthDisposeCallback=t}i.__boundDepthTexture=e}if(t.depthTexture&&!i.__autoAllocateDepthBuffer)if(a)for(let e=0;e<6;e++)I(i.__webglFramebuffer[e],t,e);else{let e=t.texture.mipmaps;e&&e.length>0?I(i.__webglFramebuffer[0],t,0):I(i.__webglFramebuffer,t,0)}else if(a){i.__webglDepthbuffer=[];for(let r=0;r<6;r++)if(n.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer[r]),i.__webglDepthbuffer[r]===void 0)i.__webglDepthbuffer[r]=e.createRenderbuffer(),fe(i.__webglDepthbuffer[r],t,!1);else{let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,a=i.__webglDepthbuffer[r];e.bindRenderbuffer(e.RENDERBUFFER,a),e.framebufferRenderbuffer(e.FRAMEBUFFER,n,e.RENDERBUFFER,a)}}else{let r=t.texture.mipmaps;if(r&&r.length>0?n.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer[0]):n.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer),i.__webglDepthbuffer===void 0)i.__webglDepthbuffer=e.createRenderbuffer(),fe(i.__webglDepthbuffer,t,!1);else{let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,r=i.__webglDepthbuffer;e.bindRenderbuffer(e.RENDERBUFFER,r),e.framebufferRenderbuffer(e.FRAMEBUFFER,n,e.RENDERBUFFER,r)}}n.bindFramebuffer(e.FRAMEBUFFER,null)}function me(t,n,i){let a=r.get(t);n!==void 0&&de(a.__webglFramebuffer,t,t.texture,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,0),i!==void 0&&pe(t)}function he(t){let i=t.texture,s=r.get(t),c=r.get(i);t.addEventListener(`dispose`,w);let l=t.textures,u=t.isWebGLCubeRenderTarget===!0,d=l.length>1;if(d||(c.__webglTexture===void 0&&(c.__webglTexture=e.createTexture()),c.__version=i.version,o.memory.textures++),u){s.__webglFramebuffer=[];for(let t=0;t<6;t++)if(i.mipmaps&&i.mipmaps.length>0){s.__webglFramebuffer[t]=[];for(let n=0;n0){s.__webglFramebuffer=[];for(let t=0;t0&&B(t)===!1){s.__webglMultisampledFramebuffer=e.createFramebuffer(),s.__webglColorRenderbuffer=[],n.bindFramebuffer(e.FRAMEBUFFER,s.__webglMultisampledFramebuffer);for(let n=0;n0)for(let r=0;r0)for(let n=0;n0){if(B(t)===!1){let i=t.textures,a=t.width,o=t.height,s=e.COLOR_BUFFER_BIT,l=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,u=r.get(t),d=i.length>1;if(d)for(let t=0;t0?n.bindFramebuffer(e.DRAW_FRAMEBUFFER,u.__webglFramebuffer[0]):n.bindFramebuffer(e.DRAW_FRAMEBUFFER,u.__webglFramebuffer);for(let n=0;n0&&t.has(`WEBGL_multisampled_render_to_texture`)===!0&&n.__useRenderToTexture!==!1}function V(e){let t=o.render.frame;u.get(e)!==t&&(u.set(e,t),e.update())}function ve(e,t){let n=e.colorSpace,r=e.format,i=e.type;return e.isCompressedTexture===!0||e.isVideoTexture===!0||n!==`srgb-linear`&&n!==``&&(Y.getTransfer(n)===`srgb`?(r!==1023||i!==1009)&&W(`WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.`):G(`WebGLTextures: Unsupported texture color space:`,n)),t}function H(e){return typeof HTMLImageElement<`u`&&e instanceof HTMLImageElement?(l.width=e.naturalWidth||e.width,l.height=e.naturalHeight||e.height):typeof VideoFrame<`u`&&e instanceof VideoFrame?(l.width=e.displayWidth,l.height=e.displayHeight):(l.width=e.width,l.height=e.height),l}this.allocateTextureUnit=ee,this.resetTextureUnits=k,this.getTextureUnits=A,this.setTextureUnits=j,this.setTexture2D=N,this.setTexture2DArray=P,this.setTexture3D=te,this.setTextureCube=ne,this.rebindTextures=me,this.setupRenderTarget=he,this.updateRenderTargetMipmap=ge,this.updateMultisampleRenderTarget=R,this.setupDepthRenderbuffer=pe,this.setupFrameBufferTexture=de,this.useMultisampledRTT=B,this.isReversedDepthBuffer=function(){return n.buffers.depth.getReversed()}}function vu(e,t){function n(n,r=``){let i,a=Y.getTransfer(r);if(n===1009)return e.UNSIGNED_BYTE;if(n===1017)return e.UNSIGNED_SHORT_4_4_4_4;if(n===1018)return e.UNSIGNED_SHORT_5_5_5_1;if(n===35902)return e.UNSIGNED_INT_5_9_9_9_REV;if(n===35899)return e.UNSIGNED_INT_10F_11F_11F_REV;if(n===1010)return e.BYTE;if(n===1011)return e.SHORT;if(n===1012)return e.UNSIGNED_SHORT;if(n===1013)return e.INT;if(n===1014)return e.UNSIGNED_INT;if(n===1015)return e.FLOAT;if(n===1016)return e.HALF_FLOAT;if(n===1021)return e.ALPHA;if(n===1022)return e.RGB;if(n===1023)return e.RGBA;if(n===1026)return e.DEPTH_COMPONENT;if(n===1027)return e.DEPTH_STENCIL;if(n===1028)return e.RED;if(n===1029)return e.RED_INTEGER;if(n===1030)return e.RG;if(n===1031)return e.RG_INTEGER;if(n===1033)return e.RGBA_INTEGER;if(n===33776||n===33777||n===33778||n===33779)if(a===`srgb`)if(i=t.get(`WEBGL_compressed_texture_s3tc_srgb`),i!==null){if(n===33776)return i.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(n===33777)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(n===33778)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(n===33779)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(i=t.get(`WEBGL_compressed_texture_s3tc`),i!==null){if(n===33776)return i.COMPRESSED_RGB_S3TC_DXT1_EXT;if(n===33777)return i.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(n===33778)return i.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(n===33779)return i.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(n===35840||n===35841||n===35842||n===35843)if(i=t.get(`WEBGL_compressed_texture_pvrtc`),i!==null){if(n===35840)return i.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(n===35841)return i.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(n===35842)return i.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(n===35843)return i.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(n===36196||n===37492||n===37496||n===37488||n===37489||n===37490||n===37491)if(i=t.get(`WEBGL_compressed_texture_etc`),i!==null){if(n===36196||n===37492)return a===`srgb`?i.COMPRESSED_SRGB8_ETC2:i.COMPRESSED_RGB8_ETC2;if(n===37496)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:i.COMPRESSED_RGBA8_ETC2_EAC;if(n===37488)return i.COMPRESSED_R11_EAC;if(n===37489)return i.COMPRESSED_SIGNED_R11_EAC;if(n===37490)return i.COMPRESSED_RG11_EAC;if(n===37491)return i.COMPRESSED_SIGNED_RG11_EAC}else return null;if(n===37808||n===37809||n===37810||n===37811||n===37812||n===37813||n===37814||n===37815||n===37816||n===37817||n===37818||n===37819||n===37820||n===37821)if(i=t.get(`WEBGL_compressed_texture_astc`),i!==null){if(n===37808)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:i.COMPRESSED_RGBA_ASTC_4x4_KHR;if(n===37809)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:i.COMPRESSED_RGBA_ASTC_5x4_KHR;if(n===37810)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:i.COMPRESSED_RGBA_ASTC_5x5_KHR;if(n===37811)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:i.COMPRESSED_RGBA_ASTC_6x5_KHR;if(n===37812)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:i.COMPRESSED_RGBA_ASTC_6x6_KHR;if(n===37813)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:i.COMPRESSED_RGBA_ASTC_8x5_KHR;if(n===37814)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:i.COMPRESSED_RGBA_ASTC_8x6_KHR;if(n===37815)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:i.COMPRESSED_RGBA_ASTC_8x8_KHR;if(n===37816)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:i.COMPRESSED_RGBA_ASTC_10x5_KHR;if(n===37817)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:i.COMPRESSED_RGBA_ASTC_10x6_KHR;if(n===37818)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:i.COMPRESSED_RGBA_ASTC_10x8_KHR;if(n===37819)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:i.COMPRESSED_RGBA_ASTC_10x10_KHR;if(n===37820)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:i.COMPRESSED_RGBA_ASTC_12x10_KHR;if(n===37821)return a===`srgb`?i.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:i.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(n===36492||n===36494||n===36495)if(i=t.get(`EXT_texture_compression_bptc`),i!==null){if(n===36492)return a===`srgb`?i.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:i.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(n===36494)return i.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(n===36495)return i.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}else return null;if(n===36283||n===36284||n===36285||n===36286)if(i=t.get(`EXT_texture_compression_rgtc`),i!==null){if(n===36283)return i.COMPRESSED_RED_RGTC1_EXT;if(n===36284)return i.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(n===36285)return i.COMPRESSED_RED_GREEN_RGTC2_EXT;if(n===36286)return i.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return n===1020?e.UNSIGNED_INT_24_8:e[n]===void 0?null:e[n]}return{convert:n}}var yu=` -void main() { - - gl_Position = vec4( position, 1.0 ); - -}`,bu=` -uniform sampler2DArray depthColor; -uniform float depthWidth; -uniform float depthHeight; - -void main() { - - vec2 coord = vec2( gl_FragCoord.x / depthWidth, gl_FragCoord.y / depthHeight ); - - if ( coord.x >= 1.0 ) { - - gl_FragDepth = texture( depthColor, vec3( coord.x - 1.0, coord.y, 1 ) ).r; - - } else { - - gl_FragDepth = texture( depthColor, vec3( coord.x, coord.y, 0 ) ).r; - - } - -}`,xu=class{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(e,t){if(this.texture===null){let n=new to(e.texture);(e.depthNear!==t.depthNear||e.depthFar!==t.depthFar)&&(this.depthNear=e.depthNear,this.depthFar=e.depthFar),this.texture=n}}getMesh(e){if(this.texture!==null&&this.mesh===null){let t=e.cameras[0].viewport,n=new po({vertexShader:yu,fragmentShader:bu,uniforms:{depthColor:{value:this.texture},depthWidth:{value:t.z},depthHeight:{value:t.w}}});this.mesh=new ba(new ro(20,20),n)}return this.mesh}reset(){this.texture=null,this.mesh=null}getDepthTexture(){return this.texture}},Su=class extends Wn{constructor(e,t){super();let n=this,r=null,i=1,a=null,o=`local-floor`,s=1,c=null,l=null,u=null,d=null,f=null,p=null,m=typeof XRWebGLBinding<`u`,h=new xu,g={},_=t.getContextAttributes(),v=null,y=null,b=[],x=[],S=new $n,C=null,w=new Ko;w.viewport=new _r;let T=new Ko;T.viewport=new _r;let E=[w,T],D=new es,O=null,k=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(e){let t=b[e];return t===void 0&&(t=new Qr,b[e]=t),t.getTargetRaySpace()},this.getControllerGrip=function(e){let t=b[e];return t===void 0&&(t=new Qr,b[e]=t),t.getGripSpace()},this.getHand=function(e){let t=b[e];return t===void 0&&(t=new Qr,b[e]=t),t.getHandSpace()};function A(e){let t=x.indexOf(e.inputSource);if(t===-1)return;let n=b[t];n!==void 0&&(n.update(e.inputSource,e.frame,c||a),n.dispatchEvent({type:e.type,data:e.inputSource}))}function j(){r.removeEventListener(`select`,A),r.removeEventListener(`selectstart`,A),r.removeEventListener(`selectend`,A),r.removeEventListener(`squeeze`,A),r.removeEventListener(`squeezestart`,A),r.removeEventListener(`squeezeend`,A),r.removeEventListener(`end`,j),r.removeEventListener(`inputsourceschange`,ee);for(let e=0;e=0&&(x[r]=null,b[r].disconnect(n))}for(let t=0;t=x.length){x.push(n),r=e;break}else if(x[e]===null){x[e]=n,r=e;break}if(r===-1)break}let i=b[r];i&&i.connect(n)}}let M=new q,N=new q;function P(e,t,n){M.setFromMatrixPosition(t.matrixWorld),N.setFromMatrixPosition(n.matrixWorld);let r=M.distanceTo(N),i=t.projectionMatrix.elements,a=n.projectionMatrix.elements,o=i[14]/(i[10]-1),s=i[14]/(i[10]+1),c=(i[9]+1)/i[5],l=(i[9]-1)/i[5],u=(i[8]-1)/i[0],d=(a[8]+1)/a[0],f=o*u,p=o*d,m=r/(-u+d),h=m*-u;if(t.matrixWorld.decompose(e.position,e.quaternion,e.scale),e.translateX(h),e.translateZ(m),e.matrixWorld.compose(e.position,e.quaternion,e.scale),e.matrixWorldInverse.copy(e.matrixWorld).invert(),i[10]===-1)e.projectionMatrix.copy(t.projectionMatrix),e.projectionMatrixInverse.copy(t.projectionMatrixInverse);else{let t=o+m,n=s+m,i=f-h,a=p+(r-h),u=c*s/n*t,d=l*s/n*t;e.projectionMatrix.makePerspective(i,a,u,d,t,n),e.projectionMatrixInverse.copy(e.projectionMatrix).invert()}}function te(e,t){t===null?e.matrixWorld.copy(e.matrix):e.matrixWorld.multiplyMatrices(t.matrixWorld,e.matrix),e.matrixWorldInverse.copy(e.matrixWorld).invert()}this.updateCamera=function(e){if(r===null)return;let t=e.near,n=e.far;h.texture!==null&&(h.depthNear>0&&(t=h.depthNear),h.depthFar>0&&(n=h.depthFar)),D.near=T.near=w.near=t,D.far=T.far=w.far=n,(O!==D.near||k!==D.far)&&(r.updateRenderState({depthNear:D.near,depthFar:D.far}),O=D.near,k=D.far),D.layers.mask=e.layers.mask|6,w.layers.mask=D.layers.mask&-5,T.layers.mask=D.layers.mask&-3;let i=e.parent,a=D.cameras;te(D,i);for(let e=0;e0&&(e.alphaTest.value=r.alphaTest);let i=t.get(r),a=i.envMap,o=i.envMapRotation;a&&(e.envMap.value=a,e.envMapRotation.value.setFromMatrix4(Cu.makeRotationFromEuler(o)).transpose(),a.isCubeTexture&&a.isRenderTargetTexture===!1&&e.envMapRotation.value.premultiply(wu),e.reflectivity.value=r.reflectivity,e.ior.value=r.ior,e.refractionRatio.value=r.refractionRatio),r.lightMap&&(e.lightMap.value=r.lightMap,e.lightMapIntensity.value=r.lightMapIntensity,n(r.lightMap,e.lightMapTransform)),r.aoMap&&(e.aoMap.value=r.aoMap,e.aoMapIntensity.value=r.aoMapIntensity,n(r.aoMap,e.aoMapTransform))}function o(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,t.map&&(e.map.value=t.map,n(t.map,e.mapTransform))}function s(e,t){e.dashSize.value=t.dashSize,e.totalSize.value=t.dashSize+t.gapSize,e.scale.value=t.scale}function c(e,t,r,i){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.size.value=t.size*r,e.scale.value=i*.5,t.map&&(e.map.value=t.map,n(t.map,e.uvTransform)),t.alphaMap&&(e.alphaMap.value=t.alphaMap,n(t.alphaMap,e.alphaMapTransform)),t.alphaTest>0&&(e.alphaTest.value=t.alphaTest)}function l(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.rotation.value=t.rotation,t.map&&(e.map.value=t.map,n(t.map,e.mapTransform)),t.alphaMap&&(e.alphaMap.value=t.alphaMap,n(t.alphaMap,e.alphaMapTransform)),t.alphaTest>0&&(e.alphaTest.value=t.alphaTest)}function u(e,t){e.specular.value.copy(t.specular),e.shininess.value=Math.max(t.shininess,1e-4)}function d(e,t){t.gradientMap&&(e.gradientMap.value=t.gradientMap)}function f(e,t){e.metalness.value=t.metalness,t.metalnessMap&&(e.metalnessMap.value=t.metalnessMap,n(t.metalnessMap,e.metalnessMapTransform)),e.roughness.value=t.roughness,t.roughnessMap&&(e.roughnessMap.value=t.roughnessMap,n(t.roughnessMap,e.roughnessMapTransform)),t.envMap&&(e.envMapIntensity.value=t.envMapIntensity)}function p(e,t,r){e.ior.value=t.ior,t.sheen>0&&(e.sheenColor.value.copy(t.sheenColor).multiplyScalar(t.sheen),e.sheenRoughness.value=t.sheenRoughness,t.sheenColorMap&&(e.sheenColorMap.value=t.sheenColorMap,n(t.sheenColorMap,e.sheenColorMapTransform)),t.sheenRoughnessMap&&(e.sheenRoughnessMap.value=t.sheenRoughnessMap,n(t.sheenRoughnessMap,e.sheenRoughnessMapTransform))),t.clearcoat>0&&(e.clearcoat.value=t.clearcoat,e.clearcoatRoughness.value=t.clearcoatRoughness,t.clearcoatMap&&(e.clearcoatMap.value=t.clearcoatMap,n(t.clearcoatMap,e.clearcoatMapTransform)),t.clearcoatRoughnessMap&&(e.clearcoatRoughnessMap.value=t.clearcoatRoughnessMap,n(t.clearcoatRoughnessMap,e.clearcoatRoughnessMapTransform)),t.clearcoatNormalMap&&(e.clearcoatNormalMap.value=t.clearcoatNormalMap,n(t.clearcoatNormalMap,e.clearcoatNormalMapTransform),e.clearcoatNormalScale.value.copy(t.clearcoatNormalScale),t.side===1&&e.clearcoatNormalScale.value.negate())),t.dispersion>0&&(e.dispersion.value=t.dispersion),t.iridescence>0&&(e.iridescence.value=t.iridescence,e.iridescenceIOR.value=t.iridescenceIOR,e.iridescenceThicknessMinimum.value=t.iridescenceThicknessRange[0],e.iridescenceThicknessMaximum.value=t.iridescenceThicknessRange[1],t.iridescenceMap&&(e.iridescenceMap.value=t.iridescenceMap,n(t.iridescenceMap,e.iridescenceMapTransform)),t.iridescenceThicknessMap&&(e.iridescenceThicknessMap.value=t.iridescenceThicknessMap,n(t.iridescenceThicknessMap,e.iridescenceThicknessMapTransform))),t.transmission>0&&(e.transmission.value=t.transmission,e.transmissionSamplerMap.value=r.texture,e.transmissionSamplerSize.value.set(r.width,r.height),t.transmissionMap&&(e.transmissionMap.value=t.transmissionMap,n(t.transmissionMap,e.transmissionMapTransform)),e.thickness.value=t.thickness,t.thicknessMap&&(e.thicknessMap.value=t.thicknessMap,n(t.thicknessMap,e.thicknessMapTransform)),e.attenuationDistance.value=t.attenuationDistance,e.attenuationColor.value.copy(t.attenuationColor)),t.anisotropy>0&&(e.anisotropyVector.value.set(t.anisotropy*Math.cos(t.anisotropyRotation),t.anisotropy*Math.sin(t.anisotropyRotation)),t.anisotropyMap&&(e.anisotropyMap.value=t.anisotropyMap,n(t.anisotropyMap,e.anisotropyMapTransform))),e.specularIntensity.value=t.specularIntensity,e.specularColor.value.copy(t.specularColor),t.specularColorMap&&(e.specularColorMap.value=t.specularColorMap,n(t.specularColorMap,e.specularColorMapTransform)),t.specularIntensityMap&&(e.specularIntensityMap.value=t.specularIntensityMap,n(t.specularIntensityMap,e.specularIntensityMapTransform))}function m(e,t){t.matcap&&(e.matcap.value=t.matcap)}function h(e,n){let r=t.get(n).light;e.referencePosition.value.setFromMatrixPosition(r.matrixWorld),e.nearDistance.value=r.shadow.camera.near,e.farDistance.value=r.shadow.camera.far}return{refreshFogUniforms:r,refreshMaterialUniforms:i}}function Eu(e,t,n,r){let i={},a={},o=[],s=e.getParameter(e.MAX_UNIFORM_BUFFER_BINDINGS);function c(e,t){let n=t.program;r.uniformBlockBinding(e,n)}function l(e,n){let o=i[e.id];o===void 0&&(m(e),o=u(e),i[e.id]=o,e.addEventListener(`dispose`,g));let s=n.program;r.updateUBOMapping(e,s);let c=t.render.frame;a[e.id]!==c&&(f(e),a[e.id]=c)}function u(t){let n=d();t.__bindingPointIndex=n;let r=e.createBuffer(),i=t.__size,a=t.usage;return e.bindBuffer(e.UNIFORM_BUFFER,r),e.bufferData(e.UNIFORM_BUFFER,i,a),e.bindBuffer(e.UNIFORM_BUFFER,null),e.bindBufferBase(e.UNIFORM_BUFFER,n,r),r}function d(){for(let e=0;e0&&(n+=16-r),e.__size=n,e.__cache={},this}function h(e){let t={boundary:0,storage:0};return typeof e==`number`||typeof e==`boolean`?(t.boundary=4,t.storage=4):e.isVector2?(t.boundary=8,t.storage=8):e.isVector3||e.isColor?(t.boundary=16,t.storage=12):e.isVector4?(t.boundary=16,t.storage=16):e.isMatrix3?(t.boundary=48,t.storage=48):e.isMatrix4?(t.boundary=64,t.storage=64):e.isTexture?W(`WebGLRenderer: Texture samplers can not be part of an uniforms group.`):ArrayBuffer.isView(e)?(t.boundary=16,t.storage=e.byteLength):W(`WebGLRenderer: Unsupported uniform value type.`,e),t}function g(t){let n=t.target;n.removeEventListener(`dispose`,g);let r=o.indexOf(n.__bindingPointIndex);o.splice(r,1),e.deleteBuffer(i[n.id]),delete i[n.id],delete a[n.id]}function _(){for(let t in i)e.deleteBuffer(i[t]);o=[],i={},a={}}return{bind:c,update:l,dispose:_}}var Du=new Uint16Array([12469,15057,12620,14925,13266,14620,13807,14376,14323,13990,14545,13625,14713,13328,14840,12882,14931,12528,14996,12233,15039,11829,15066,11525,15080,11295,15085,10976,15082,10705,15073,10495,13880,14564,13898,14542,13977,14430,14158,14124,14393,13732,14556,13410,14702,12996,14814,12596,14891,12291,14937,11834,14957,11489,14958,11194,14943,10803,14921,10506,14893,10278,14858,9960,14484,14039,14487,14025,14499,13941,14524,13740,14574,13468,14654,13106,14743,12678,14818,12344,14867,11893,14889,11509,14893,11180,14881,10751,14852,10428,14812,10128,14765,9754,14712,9466,14764,13480,14764,13475,14766,13440,14766,13347,14769,13070,14786,12713,14816,12387,14844,11957,14860,11549,14868,11215,14855,10751,14825,10403,14782,10044,14729,9651,14666,9352,14599,9029,14967,12835,14966,12831,14963,12804,14954,12723,14936,12564,14917,12347,14900,11958,14886,11569,14878,11247,14859,10765,14828,10401,14784,10011,14727,9600,14660,9289,14586,8893,14508,8533,15111,12234,15110,12234,15104,12216,15092,12156,15067,12010,15028,11776,14981,11500,14942,11205,14902,10752,14861,10393,14812,9991,14752,9570,14682,9252,14603,8808,14519,8445,14431,8145,15209,11449,15208,11451,15202,11451,15190,11438,15163,11384,15117,11274,15055,10979,14994,10648,14932,10343,14871,9936,14803,9532,14729,9218,14645,8742,14556,8381,14461,8020,14365,7603,15273,10603,15272,10607,15267,10619,15256,10631,15231,10614,15182,10535,15118,10389,15042,10167,14963,9787,14883,9447,14800,9115,14710,8665,14615,8318,14514,7911,14411,7507,14279,7198,15314,9675,15313,9683,15309,9712,15298,9759,15277,9797,15229,9773,15166,9668,15084,9487,14995,9274,14898,8910,14800,8539,14697,8234,14590,7790,14479,7409,14367,7067,14178,6621,15337,8619,15337,8631,15333,8677,15325,8769,15305,8871,15264,8940,15202,8909,15119,8775,15022,8565,14916,8328,14804,8009,14688,7614,14569,7287,14448,6888,14321,6483,14088,6171,15350,7402,15350,7419,15347,7480,15340,7613,15322,7804,15287,7973,15229,8057,15148,8012,15046,7846,14933,7611,14810,7357,14682,7069,14552,6656,14421,6316,14251,5948,14007,5528,15356,5942,15356,5977,15353,6119,15348,6294,15332,6551,15302,6824,15249,7044,15171,7122,15070,7050,14949,6861,14818,6611,14679,6349,14538,6067,14398,5651,14189,5311,13935,4958,15359,4123,15359,4153,15356,4296,15353,4646,15338,5160,15311,5508,15263,5829,15188,6042,15088,6094,14966,6001,14826,5796,14678,5543,14527,5287,14377,4985,14133,4586,13869,4257,15360,1563,15360,1642,15358,2076,15354,2636,15341,3350,15317,4019,15273,4429,15203,4732,15105,4911,14981,4932,14836,4818,14679,4621,14517,4386,14359,4156,14083,3795,13808,3437,15360,122,15360,137,15358,285,15355,636,15344,1274,15322,2177,15281,2765,15215,3223,15120,3451,14995,3569,14846,3567,14681,3466,14511,3305,14344,3121,14037,2800,13753,2467,15360,0,15360,1,15359,21,15355,89,15346,253,15325,479,15287,796,15225,1148,15133,1492,15008,1749,14856,1882,14685,1886,14506,1783,14324,1608,13996,1398,13702,1183]),Ou=null;function ku(){return Ou===null&&(Ou=new Ca(Du,16,16,jt,vt),Ou.name=`DFG_LUT`,Ou.minFilter=ct,Ou.magFilter=ct,Ou.wrapS=rt,Ou.wrapT=rt,Ou.generateMipmaps=!1,Ou.needsUpdate=!0),Ou}var Au=class{constructor(e={}){let{canvas:t=In(),context:n=null,depth:r=!0,stencil:i=!1,alpha:a=!1,antialias:o=!1,premultipliedAlpha:s=!0,preserveDrawingBuffer:c=!1,powerPreference:l=`default`,failIfMajorPerformanceCaveat:u=!1,reversedDepthBuffer:d=!1,outputBufferType:f=dt}=e;this.isWebGLRenderer=!0;let p;if(n!==null){if(typeof WebGLRenderingContext<`u`&&n instanceof WebGLRenderingContext)throw Error(`THREE.WebGLRenderer: WebGL 1 is not supported since r163.`);p=n.getContextAttributes().alpha}else p=a;let m=f,h=new Set([Nt,Mt,At]),g=new Set([dt,gt,mt,xt,yt,bt]),_=new Uint32Array(4),v=new Int32Array(4),y=new q,b=null,x=null,S=[],C=[],w=null;this.domElement=t,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.toneMapping=0,this.toneMappingExposure=1,this.transmissionResolutionScale=1;let T=this,E=!1,D=null;this._outputColorSpace=Tn;let O=0,k=0,A=null,j=-1,ee=null,M=new _r,N=new _r,P=null,te=new X(0),ne=0,re=t.width,ie=t.height,F=1,ae=null,oe=null,se=new _r(0,0,re,ie),ce=new _r(0,0,re,ie),le=!1,ue=new ja,de=!1,fe=!1,I=new Sr,pe=new q,me=new _r,he={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0},ge=!1;function _e(){return A===null?F:1}let L=n;function R(e,n){return t.getContext(e,n)}try{let e={alpha:!0,depth:r,stencil:i,antialias:o,premultipliedAlpha:s,preserveDrawingBuffer:c,powerPreference:l,failIfMajorPerformanceCaveat:u};if(`setAttribute`in t&&t.setAttribute(`data-engine`,`three.js r184`),t.addEventListener(`webglcontextlost`,Re,!1),t.addEventListener(`webglcontextrestored`,ze,!1),t.addEventListener(`webglcontextcreationerror`,Be,!1),L===null){let t=`webgl2`;if(L=R(t,e),L===null)throw R(t)?Error(`Error creating WebGL context with your selected attributes.`):Error(`Error creating WebGL context.`)}}catch(e){throw G(`WebGLRenderer: `+e.message),e}let z,B,V,ve,H,U,ye,be,xe,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe;function Ie(){z=new Js(L),z.init(),Ne=new vu(L,z),B=new ws(L,z,e,Ne),V=new gu(L,z),B.reversedDepthBuffer&&d&&V.buffers.depth.setReversed(!0),ve=new Zs(L),H=new Xl,U=new _u(L,z,V,H,B,Ne,ve),ye=new qs(T),be=new gs(L),Pe=new Ss(L,be),xe=new Ys(L,be,ve,Pe),Se=new $s(L,xe,be,Pe,ve),Ae=new Qs(L,B,U),De=new Ts(H),Ce=new Yl(T,ye,z,B,Pe,De),we=new Tu(T,H),Te=new eu,Ee=new su(z),ke=new xs(T,ye,V,Se,p,s),Oe=new hu(T,Se,B),Fe=new Eu(L,ve,B,V),je=new Cs(L,z,ve),Me=new Xs(L,z,ve),ve.programs=Ce.programs,T.capabilities=B,T.extensions=z,T.properties=H,T.renderLists=Te,T.shadowMap=Oe,T.state=V,T.info=ve}Ie(),m!==1009&&(w=new tc(m,t.width,t.height,r,i));let Le=new Su(T,L);this.xr=Le,this.getContext=function(){return L},this.getContextAttributes=function(){return L.getContextAttributes()},this.forceContextLoss=function(){let e=z.get(`WEBGL_lose_context`);e&&e.loseContext()},this.forceContextRestore=function(){let e=z.get(`WEBGL_lose_context`);e&&e.restoreContext()},this.getPixelRatio=function(){return F},this.setPixelRatio=function(e){e!==void 0&&(F=e,this.setSize(re,ie,!1))},this.getSize=function(e){return e.set(re,ie)},this.setSize=function(e,n,r=!0){if(Le.isPresenting){W(`WebGLRenderer: Can't change size while VR device is presenting.`);return}re=e,ie=n,t.width=Math.floor(e*F),t.height=Math.floor(n*F),r===!0&&(t.style.width=e+`px`,t.style.height=n+`px`),w!==null&&w.setSize(t.width,t.height),this.setViewport(0,0,e,n)},this.getDrawingBufferSize=function(e){return e.set(re*F,ie*F).floor()},this.setDrawingBufferSize=function(e,n,r){re=e,ie=n,F=r,t.width=Math.floor(e*r),t.height=Math.floor(n*r),this.setViewport(0,0,e,n)},this.setEffects=function(e){if(m===1009){G(`THREE.WebGLRenderer: setEffects() requires outputBufferType set to HalfFloatType or FloatType.`);return}if(e){for(let t=0;t{function n(){if(r.forEach(function(e){H.get(e).currentProgram.isReady()&&r.delete(e)}),r.size===0){t(e);return}setTimeout(n,10)}z.get(`KHR_parallel_shader_compile`)===null?setTimeout(n,10):n()})};let Ge=null;function Ke(e){Ge&&Ge(e)}function qe(){Ye.stop()}function Je(){Ye.start()}let Ye=new hs;Ye.setAnimationLoop(Ke),typeof self<`u`&&Ye.setContext(self),this.setAnimationLoop=function(e){Ge=e,Le.setAnimationLoop(e),e===null?Ye.stop():Ye.start()},Le.addEventListener(`sessionstart`,qe),Le.addEventListener(`sessionend`,Je),this.render=function(e,t){if(t!==void 0&&t.isCamera!==!0){G(`WebGLRenderer.render: camera is not an instance of THREE.Camera.`);return}if(E===!0)return;D!==null&&D.renderStart(e,t);let n=Le.enabled===!0&&Le.isPresenting===!0,r=w!==null&&(A===null||n)&&w.begin(T,A);if(e.matrixWorldAutoUpdate===!0&&e.updateMatrixWorld(),t.parent===null&&t.matrixWorldAutoUpdate===!0&&t.updateMatrixWorld(),Le.enabled===!0&&Le.isPresenting===!0&&(w===null||w.isCompositing()===!1)&&(Le.cameraAutoUpdate===!0&&Le.updateCamera(t),t=Le.getCamera()),e.isScene===!0&&e.onBeforeRender(T,e,t,A),x=Ee.get(e,C.length),x.init(t),x.state.textureUnits=U.getTextureUnits(),C.push(x),I.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),ue.setFromProjectionMatrix(I,Mn,t.reversedDepth),fe=this.localClippingEnabled,de=De.init(this.clippingPlanes,fe),b=Te.get(e,S.length),b.init(),S.push(b),Le.enabled===!0&&Le.isPresenting===!0){let e=T.xr.getDepthSensingMesh();e!==null&&Xe(e,t,-1/0,T.sortObjects)}Xe(e,t,0,T.sortObjects),b.finish(),T.sortObjects===!0&&b.sort(ae,oe),ge=Le.enabled===!1||Le.isPresenting===!1||Le.hasDepthSensing()===!1,ge&&ke.addToRenderList(b,e),this.info.render.frame++,de===!0&&De.beginShadows();let i=x.state.shadowsArray;if(Oe.render(i,e,t),de===!0&&De.endShadows(),this.info.autoReset===!0&&this.info.reset(),(r&&w.hasRenderPass())===!1){let n=b.opaque,r=b.transmissive;if(x.setupLights(),t.isArrayCamera){let i=t.cameras;if(r.length>0)for(let t=0,a=i.length;t0&&Qe(n,r,e,t),ge&&ke.render(e),Ze(b,e,t)}A!==null&&k===0&&(U.updateMultisampleRenderTarget(A),U.updateRenderTargetMipmap(A)),r&&w.end(T),e.isScene===!0&&e.onAfterRender(T,e,t),Pe.resetDefaultState(),j=-1,ee=null,C.pop(),C.length>0?(x=C[C.length-1],U.setTextureUnits(x.state.textureUnits),de===!0&&De.setGlobalState(T.clippingPlanes,x.state.camera)):x=null,S.pop(),b=S.length>0?S[S.length-1]:null,D!==null&&D.renderEnd()};function Xe(e,t,n,r){if(e.visible===!1)return;if(e.layers.test(t.layers)){if(e.isGroup)n=e.renderOrder;else if(e.isLOD)e.autoUpdate===!0&&e.update(t);else if(e.isLightProbeGrid)x.pushLightProbeGrid(e);else if(e.isLight)x.pushLight(e),e.castShadow&&x.pushShadow(e);else if(e.isSprite){if(!e.frustumCulled||ue.intersectsSprite(e)){r&&me.setFromMatrixPosition(e.matrixWorld).applyMatrix4(I);let t=Se.update(e),i=e.material;i.visible&&b.push(e,t,i,n,me.z,null)}}else if((e.isMesh||e.isLine||e.isPoints)&&(!e.frustumCulled||ue.intersectsObject(e))){let t=Se.update(e),i=e.material;if(r&&(e.boundingSphere===void 0?(t.boundingSphere===null&&t.computeBoundingSphere(),me.copy(t.boundingSphere.center)):(e.boundingSphere===null&&e.computeBoundingSphere(),me.copy(e.boundingSphere.center)),me.applyMatrix4(e.matrixWorld).applyMatrix4(I)),Array.isArray(i)){let r=t.groups;for(let a=0,o=r.length;a0&&$e(i,t,n),a.length>0&&$e(a,t,n),o.length>0&&$e(o,t,n),V.buffers.depth.setTest(!0),V.buffers.depth.setMask(!0),V.buffers.color.setMask(!0),V.setPolygonOffset(!1)}function Qe(e,t,n,r){if((n.isScene===!0?n.overrideMaterial:null)!==null)return;if(x.state.transmissionRenderTarget[r.id]===void 0){let e=z.has(`EXT_color_buffer_half_float`)||z.has(`EXT_color_buffer_float`);x.state.transmissionRenderTarget[r.id]=new yr(1,1,{generateMipmaps:!0,type:e?vt:dt,minFilter:ut,samples:Math.max(4,B.samples),stencilBuffer:i,resolveDepthBuffer:!1,resolveStencilBuffer:!1,colorSpace:Y.workingColorSpace})}let a=x.state.transmissionRenderTarget[r.id],o=r.viewport||M;a.setSize(o.z*T.transmissionResolutionScale,o.w*T.transmissionResolutionScale);let s=T.getRenderTarget(),c=T.getActiveCubeFace(),l=T.getActiveMipmapLevel();T.setRenderTarget(a),T.getClearColor(te),ne=T.getClearAlpha(),ne<1&&T.setClearColor(16777215,.5),T.clear(),ge&&ke.render(n);let u=T.toneMapping;T.toneMapping=0;let d=r.viewport;if(r.viewport!==void 0&&(r.viewport=void 0),x.setupLightsView(r),de===!0&&De.setGlobalState(T.clippingPlanes,r),$e(e,n,r),U.updateMultisampleRenderTarget(a),U.updateRenderTargetMipmap(a),z.has(`WEBGL_multisampled_render_to_texture`)===!1){let e=!1;for(let i=0,a=t.length;i0,r.currentProgram=d,r.uniformsList=null,d}function nt(e){if(e.uniformsList===null){let t=e.currentProgram.getUniforms();e.uniformsList=cl.seqWithValue(t.seq,e.uniforms)}return e.uniformsList}function rt(e,t){let n=H.get(e);n.outputColorSpace=t.outputColorSpace,n.batching=t.batching,n.batchingColor=t.batchingColor,n.instancing=t.instancing,n.instancingColor=t.instancingColor,n.instancingMorph=t.instancingMorph,n.skinning=t.skinning,n.morphTargets=t.morphTargets,n.morphNormals=t.morphNormals,n.morphColors=t.morphColors,n.morphTargetsCount=t.morphTargetsCount,n.numClippingPlanes=t.numClippingPlanes,n.numIntersection=t.numClipIntersection,n.vertexAlphas=t.vertexAlphas,n.vertexTangents=t.vertexTangents,n.toneMapping=t.toneMapping}function it(e,t){if(e.length===0)return null;if(e.length===1)return e[0].texture===null?null:e[0];y.setFromMatrixPosition(t.matrixWorld);for(let t=0,n=e.length;t0),f=!!n.morphAttributes.position,p=!!n.morphAttributes.normal,m=!!n.morphAttributes.color,h=0;r.toneMapped&&(A===null||A.isXRRenderTarget===!0)&&(h=T.toneMapping);let g=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,_=g===void 0?0:g.length,v=H.get(r),y=x.state.lights;if(de===!0&&(fe===!0||e!==ee)){let t=e===ee&&r.id===j;De.setState(r,e,t)}let b=!1;r.version===v.__version?v.needsLights&&v.lightsStateVersion!==y.state.version?b=!0:v.outputColorSpace===s?i.isBatchedMesh&&v.batching===!1||!i.isBatchedMesh&&v.batching===!0||i.isBatchedMesh&&v.batchingColor===!0&&i.colorTexture===null||i.isBatchedMesh&&v.batchingColor===!1&&i.colorTexture!==null||i.isInstancedMesh&&v.instancing===!1||!i.isInstancedMesh&&v.instancing===!0||i.isSkinnedMesh&&v.skinning===!1||!i.isSkinnedMesh&&v.skinning===!0||i.isInstancedMesh&&v.instancingColor===!0&&i.instanceColor===null||i.isInstancedMesh&&v.instancingColor===!1&&i.instanceColor!==null||i.isInstancedMesh&&v.instancingMorph===!0&&i.morphTexture===null||i.isInstancedMesh&&v.instancingMorph===!1&&i.morphTexture!==null?b=!0:v.envMap===l?r.fog===!0&&v.fog!==a||v.numClippingPlanes!==void 0&&(v.numClippingPlanes!==De.numPlanes||v.numIntersection!==De.numIntersection)?b=!0:v.vertexAlphas===u&&v.vertexTangents===d&&v.morphTargets===f&&v.morphNormals===p&&v.morphColors===m&&v.toneMapping===h&&v.morphTargetsCount===_?!!v.lightProbeGrid!=x.state.lightProbeGridArray.length>0&&(b=!0):b=!0:b=!0:b=!0:(b=!0,v.__version=r.version);let S=v.currentProgram;b===!0&&(S=tt(r,t,i),D&&r.isNodeMaterial&&D.onUpdateProgram(r,S,v));let C=!1,w=!1,E=!1,O=S.getUniforms(),k=v.uniforms;if(V.useProgram(S.program)&&(C=!0,w=!0,E=!0),r.id!==j&&(j=r.id,w=!0),v.needsLights){let e=it(x.state.lightProbeGridArray,i);v.lightProbeGrid!==e&&(v.lightProbeGrid=e,w=!0)}if(C||ee!==e){V.buffers.depth.getReversed()&&e.reversedDepth!==!0&&(e._reversedDepth=!0,e.updateProjectionMatrix()),O.setValue(L,`projectionMatrix`,e.projectionMatrix),O.setValue(L,`viewMatrix`,e.matrixWorldInverse);let t=O.map.cameraPosition;t!==void 0&&t.setValue(L,pe.setFromMatrixPosition(e.matrixWorld)),B.logarithmicDepthBuffer&&O.setValue(L,`logDepthBufFC`,2/(Math.log(e.far+1)/Math.LN2)),(r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshLambertMaterial||r.isMeshBasicMaterial||r.isMeshStandardMaterial||r.isShaderMaterial)&&O.setValue(L,`isOrthographic`,e.isOrthographicCamera===!0),ee!==e&&(ee=e,w=!0,E=!0)}if(v.needsLights&&(y.state.directionalShadowMap.length>0&&O.setValue(L,`directionalShadowMap`,y.state.directionalShadowMap,U),y.state.spotShadowMap.length>0&&O.setValue(L,`spotShadowMap`,y.state.spotShadowMap,U),y.state.pointShadowMap.length>0&&O.setValue(L,`pointShadowMap`,y.state.pointShadowMap,U)),i.isSkinnedMesh){O.setOptional(L,i,`bindMatrix`),O.setOptional(L,i,`bindMatrixInverse`);let e=i.skeleton;e&&(e.boneTexture===null&&e.computeBoneTexture(),O.setValue(L,`boneTexture`,e.boneTexture,U))}i.isBatchedMesh&&(O.setOptional(L,i,`batchingTexture`),O.setValue(L,`batchingTexture`,i._matricesTexture,U),O.setOptional(L,i,`batchingIdTexture`),O.setValue(L,`batchingIdTexture`,i._indirectTexture,U),O.setOptional(L,i,`batchingColorTexture`),i._colorsTexture!==null&&O.setValue(L,`batchingColorTexture`,i._colorsTexture,U));let M=n.morphAttributes;if((M.position!==void 0||M.normal!==void 0||M.color!==void 0)&&Ae.update(i,n,S),(w||v.receiveShadow!==i.receiveShadow)&&(v.receiveShadow=i.receiveShadow,O.setValue(L,`receiveShadow`,i.receiveShadow)),(r.isMeshStandardMaterial||r.isMeshLambertMaterial||r.isMeshPhongMaterial)&&r.envMap===null&&t.environment!==null&&(k.envMapIntensity.value=t.environmentIntensity),k.dfgLUT!==void 0&&(k.dfgLUT.value=ku()),w){if(O.setValue(L,`toneMappingExposure`,T.toneMappingExposure),v.needsLights&&ot(k,E),a&&r.fog===!0&&we.refreshFogUniforms(k,a),we.refreshMaterialUniforms(k,r,F,ie,x.state.transmissionRenderTarget[e.id]),v.needsLights&&v.lightProbeGrid){let e=v.lightProbeGrid;k.probesSH.value=e.texture,k.probesMin.value.copy(e.boundingBox.min),k.probesMax.value.copy(e.boundingBox.max),k.probesResolution.value.copy(e.resolution)}cl.upload(L,nt(v),k,U)}if(r.isShaderMaterial&&r.uniformsNeedUpdate===!0&&(cl.upload(L,nt(v),k,U),r.uniformsNeedUpdate=!1),r.isSpriteMaterial&&O.setValue(L,`center`,i.center),O.setValue(L,`modelViewMatrix`,i.modelViewMatrix),O.setValue(L,`normalMatrix`,i.normalMatrix),O.setValue(L,`modelMatrix`,i.matrixWorld),r.uniformsGroups!==void 0){let e=r.uniformsGroups;for(let t=0,n=e.length;t0&&U.useMultisampledRTT(e)===!1?H.get(e).__webglMultisampledFramebuffer:Array.isArray(c)?c[n]:c,M.copy(e.viewport),N.copy(e.scissor),P=e.scissorTest}else M.copy(se).multiplyScalar(F).floor(),N.copy(ce).multiplyScalar(F).floor(),P=le;if(n!==0&&(r=ct),V.bindFramebuffer(L.FRAMEBUFFER,r)&&V.drawBuffers(e,r),V.viewport(M),V.scissor(N),V.setScissorTest(P),i){let r=H.get(e.texture);L.framebufferTexture2D(L.FRAMEBUFFER,L.COLOR_ATTACHMENT0,L.TEXTURE_CUBE_MAP_POSITIVE_X+t,r.__webglTexture,n)}else if(a){let r=t;for(let t=0;t1&&L.readBuffer(L.COLOR_ATTACHMENT0+s),!B.textureFormatReadable(c)){G(`WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.`);return}if(!B.textureTypeReadable(l)){G(`WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.`);return}t>=0&&t<=e.width-r&&n>=0&&n<=e.height-i&&L.readPixels(t,n,r,i,Ne.convert(c),Ne.convert(l),a)}finally{let e=A===null?null:H.get(A).__webglFramebuffer;V.bindFramebuffer(L.FRAMEBUFFER,e)}}},this.readRenderTargetPixelsAsync=async function(e,t,n,r,i,a,o,s=0){if(!(e&&e.isWebGLRenderTarget))throw Error(`THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.`);let c=H.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&o!==void 0&&(c=c[o]),c)if(t>=0&&t<=e.width-r&&n>=0&&n<=e.height-i){V.bindFramebuffer(L.FRAMEBUFFER,c);let o=e.textures[s],l=o.format,u=o.type;if(e.textures.length>1&&L.readBuffer(L.COLOR_ATTACHMENT0+s),!B.textureFormatReadable(l))throw Error(`THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.`);if(!B.textureTypeReadable(u))throw Error(`THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.`);let d=L.createBuffer();L.bindBuffer(L.PIXEL_PACK_BUFFER,d),L.bufferData(L.PIXEL_PACK_BUFFER,a.byteLength,L.STREAM_READ),L.readPixels(t,n,r,i,Ne.convert(l),Ne.convert(u),0);let f=A===null?null:H.get(A).__webglFramebuffer;V.bindFramebuffer(L.FRAMEBUFFER,f);let p=L.fenceSync(L.SYNC_GPU_COMMANDS_COMPLETE,0);return L.flush(),await Hn(L,p,4),L.bindBuffer(L.PIXEL_PACK_BUFFER,d),L.getBufferSubData(L.PIXEL_PACK_BUFFER,0,a),L.deleteBuffer(d),L.deleteSync(p),a}else throw Error(`THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.`)},this.copyFramebufferToTexture=function(e,t=null,n=0){let r=2**-n,i=Math.floor(e.image.width*r),a=Math.floor(e.image.height*r),o=t===null?0:t.x,s=t===null?0:t.y;U.setTexture2D(e,0),L.copyTexSubImage2D(L.TEXTURE_2D,n,0,0,o,s,i,a),V.unbindTexture()};let lt=L.createFramebuffer(),ft=L.createFramebuffer();this.copyTextureToTexture=function(e,t,n=null,r=null,i=0,a=0){let o,s,c,l,u,d,f,p,m,h=e.isCompressedTexture?e.mipmaps[a]:e.image;if(n!==null)o=n.max.x-n.min.x,s=n.max.y-n.min.y,c=n.isBox3?n.max.z-n.min.z:1,l=n.min.x,u=n.min.y,d=n.isBox3?n.min.z:0;else{let t=2**-i;o=Math.floor(h.width*t),s=Math.floor(h.height*t),c=e.isDataArrayTexture?h.depth:e.isData3DTexture?Math.floor(h.depth*t):1,l=0,u=0,d=0}r===null?(f=0,p=0,m=0):(f=r.x,p=r.y,m=r.z);let g=Ne.convert(t.format),_=Ne.convert(t.type),v;t.isData3DTexture?(U.setTexture3D(t,0),v=L.TEXTURE_3D):t.isDataArrayTexture||t.isCompressedArrayTexture?(U.setTexture2DArray(t,0),v=L.TEXTURE_2D_ARRAY):(U.setTexture2D(t,0),v=L.TEXTURE_2D),V.activeTexture(L.TEXTURE0),V.pixelStorei(L.UNPACK_FLIP_Y_WEBGL,t.flipY),V.pixelStorei(L.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t.premultiplyAlpha),V.pixelStorei(L.UNPACK_ALIGNMENT,t.unpackAlignment);let y=V.getParameter(L.UNPACK_ROW_LENGTH),b=V.getParameter(L.UNPACK_IMAGE_HEIGHT),x=V.getParameter(L.UNPACK_SKIP_PIXELS),S=V.getParameter(L.UNPACK_SKIP_ROWS),C=V.getParameter(L.UNPACK_SKIP_IMAGES);V.pixelStorei(L.UNPACK_ROW_LENGTH,h.width),V.pixelStorei(L.UNPACK_IMAGE_HEIGHT,h.height),V.pixelStorei(L.UNPACK_SKIP_PIXELS,l),V.pixelStorei(L.UNPACK_SKIP_ROWS,u),V.pixelStorei(L.UNPACK_SKIP_IMAGES,d);let w=e.isDataArrayTexture||e.isData3DTexture,T=t.isDataArrayTexture||t.isData3DTexture;if(e.isDepthTexture){let n=H.get(e),r=H.get(t),h=H.get(n.__renderTarget),g=H.get(r.__renderTarget);V.bindFramebuffer(L.READ_FRAMEBUFFER,h.__webglFramebuffer),V.bindFramebuffer(L.DRAW_FRAMEBUFFER,g.__webglFramebuffer);for(let n=0;n 0.5) discard; // outside circle → transparent - // soft anti-alias ring at the edge - float alpha = 1.0 - smoothstep(0.45, 0.5, dist); - gl_FragColor = vec4(vColor, alpha * uOpacity); - } - `,transparent:!0,depthWrite:!1})}function Bu(e,t,n,r){return new po({uniforms:{uSizeMin:{value:e},uSizeMax:{value:t},uAmp:{value:n},uOpacity:{value:r}},vertexShader:` - attribute vec3 color; - varying vec3 vColor; - uniform float uSizeMin; - uniform float uSizeMax; - uniform float uAmp; - void main() { - vColor = color; - // Map Z (-amp..+amp) → (sizeMin..sizeMax) - float t = clamp((position.z + uAmp) / (2.0 * uAmp), 0.0, 1.0); - gl_PointSize = mix(uSizeMin, uSizeMax, t); - gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0); - } - `,fragmentShader:` - varying vec3 vColor; - uniform float uOpacity; - void main() { - vec2 uv = gl_PointCoord - vec2(0.5); - float dist = length(uv); - if (dist > 0.5) discard; - float alpha = 1.0 - smoothstep(0.45, 0.5, dist); - gl_FragColor = vec4(vColor, alpha * uOpacity); - } - `,transparent:!0,depthWrite:!1})}function Vu(e,t,n,r,i,a){let o=e+1,s=t+1,c=o*s,l=a/2,u=n/e,d=r/t,f=new Float32Array(c*3),p=new Float32Array(c*4*3),m=new Float32Array(c*4*3);for(let e=0;e{let o=Nu(a/Math.max(s*c-1,1),i);for(let i=0;i<2;i++){let[a,s]=i===0?[e,t]:[n,r];p[g*3]=a,p[g*3+1]=s,p[g*3+2]=0,m[g*3]=a,m[g*3+1]=s,m[g*3+2]=0,h[g*3]=o.r,h[g*3+1]=o.g,h[g*3+2]=o.b,g++}};if(a!==`vertical`)for(let t=0;t{let t=(0,Ye.c)(68),{className:n,style:r,lines:i,colors:a,cameraPosition:o,planeWidth:s,planeHeight:c,segmentsX:l,segmentsY:u,speed:d,amplitude:f,frequency:p,opacity:h,paused:g,mouseInfluence:_,mouseRotation:v,dotSize:y,dotSizeMin:b,crossSize:x,dashRatio:S,contourLevels:C,maxPixelRatio:w,onReady:T}=e,E=r===void 0?`grid`:r,D=i===void 0?`both`:i,O;t[0]===o?O=t[1]:(O=o===void 0?{x:0,y:0,z:10}:o,t[0]=o,t[1]=O);let k=O,A=s===void 0?80:s,j=c===void 0?40:c,ee=l===void 0?60:l,M=u===void 0?30:u,N=d===void 0?1:d,P=f===void 0?1.5:f,te=p===void 0?.3:p,ne=h===void 0?.6:h,re=g===void 0?!1:g,ie=_===void 0?2:_,F=v===void 0?.1:v,ae=y===void 0?3:y,oe=b===void 0?1:b,se=x===void 0?.3:x,ce=S===void 0?.5:S,le=C===void 0?6:C,ue=w===void 0?2:w,de=(0,L.useRef)(null),fe;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(fe={width:0,height:0},t[2]=fe):fe=t[2];let[I,pe]=(0,L.useState)(fe),me;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(me={x:0,y:0},t[3]=me):me=t[3];let he=(0,L.useRef)(me),ge=(0,L.useRef)(N),_e=(0,L.useRef)(re),z=(0,L.useRef)(P),B=(0,L.useRef)(te),V=(0,L.useRef)(ie),ve=(0,L.useRef)(F),H=(0,L.useRef)(ne),U,ye;t[4]===N?(U=t[5],ye=t[6]):(U=()=>{ge.current=N},ye=[N],t[4]=N,t[5]=U,t[6]=ye),(0,L.useEffect)(U,ye);let be,xe;t[7]===re?(be=t[8],xe=t[9]):(be=()=>{_e.current=re},xe=[re],t[7]=re,t[8]=be,t[9]=xe),(0,L.useEffect)(be,xe);let Se,Ce;t[10]===P?(Se=t[11],Ce=t[12]):(Se=()=>{z.current=P},Ce=[P],t[10]=P,t[11]=Se,t[12]=Ce),(0,L.useEffect)(Se,Ce);let we,Te;t[13]===te?(we=t[14],Te=t[15]):(we=()=>{B.current=te},Te=[te],t[13]=te,t[14]=we,t[15]=Te),(0,L.useEffect)(we,Te);let Ee,De;t[16]===ie?(Ee=t[17],De=t[18]):(Ee=()=>{V.current=ie},De=[ie],t[16]=ie,t[17]=Ee,t[18]=De),(0,L.useEffect)(Ee,De);let Oe,ke;t[19]===F?(Oe=t[20],ke=t[21]):(Oe=()=>{ve.current=F},ke=[F],t[19]=F,t[20]=Oe,t[21]=ke),(0,L.useEffect)(Oe,ke);let Ae,je;t[22]===ne?(Ae=t[23],je=t[24]):(Ae=()=>{H.current=ne},je=[ne],t[22]=ne,t[23]=Ae,t[24]=je),(0,L.useEffect)(Ae,je);let Me,Ne;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(Me=()=>{let e=de.current;if(!e)return;let t=new ResizeObserver(e=>{let t=e[0].contentRect;pe({width:t.width,height:t.height})});return t.observe(e),()=>t.disconnect()},Ne=[],t[25]=Me,t[26]=Ne):(Me=t[25],Ne=t[26]),(0,L.useEffect)(Me,Ne);let Pe;t[27]!==P||t[28]!==k||t[29]!==a||t[30]!==le||t[31]!==se||t[32]!==ce||t[33]!==ae||t[34]!==oe||t[35]!==D||t[36]!==ue||t[37]!==T||t[38]!==j||t[39]!==A||t[40]!==ee||t[41]!==M||t[42]!==I.height||t[43]!==I.width||t[44]!==E?(Pe=()=>{let e=de.current;if(!e||I.width===0||I.height===0)return;let t=new ii,n=new Ko(75,I.width/I.height,.1,1e3);n.position.set(k.x,k.y,k.z),n.lookAt(0,0,0);let r=new Au({alpha:!0,antialias:!0});r.setPixelRatio(Math.min(window.devicePixelRatio,ue)),r.setSize(I.width,I.height),r.setClearColor(0,0),e.appendChild(r.domElement);let i=document.documentElement.classList.contains(`dark`),o=(a??(i?Mu:ju)).map(Yu),s,c,l,u=null,d=null,f=null,p=null,m=null,h=null,g=null,_=[],v=[],y=ee,b=M;if(E===`wireframe`){let e=new ro(A,j,y,b);e.setAttribute(`color`,new Z(Pu(e.attributes.position.count,o),3));let t=new ca({vertexColors:!0,wireframe:!0,transparent:!0,opacity:H.current});s=new ba(e,t),f=e.attributes.position,u=f.array,c=e,l=t}else if(E===`grid`){let{geo:e,pos:t}=Lu(y,b,A,j,o,D),n=new Ma({vertexColors:!0,transparent:!0,opacity:H.current});s=new Wa(e,n),f=e.attributes.position,u=t,c=e,l=n}else if(E===`dots`){let{geo:e,pos:t}=Ru(y,b,A,j,o),n=zu(ae*2,H.current);s=new Xa(e,n),f=e.attributes.position,u=t,c=e,l=n}else if(E===`dots-wave`){let{geo:e,pos:t}=Ru(y,b,A,j,o),n=Bu(oe*2,ae*2,P,H.current);s=new Xa(e,n),f=e.attributes.position,u=t,c=e,l=n}else if(E===`crosses`){let{geo:e,centers:t,pos:n}=Vu(y,b,A,j,o,se),r=new Ma({vertexColors:!0,transparent:!0,opacity:H.current});s=new Wa(e,r),f=e.attributes.position,u=n,p=t,c=e,l=r}else if(E===`diagonal-left`||E===`diagonal-right`){let{geo:e,pos:t}=Hu(y,b,A,j,o,E===`diagonal-left`?`left`:`right`),n=new Ma({vertexColors:!0,transparent:!0,opacity:H.current});s=new Wa(e,n),f=e.attributes.position,u=t,c=e,l=n}else if(E===`zigzag`){let{geo:e,pos:t}=Uu(y,b,A,j,o),n=new Ma({vertexColors:!0,transparent:!0,opacity:H.current});s=new Wa(e,n),f=e.attributes.position,u=t,c=e,l=n}else if(E===`hexagons`){let{geo:e,pos:t,hexCenters:n}=Wu(y,b,A,j,o),r=new Ma({vertexColors:!0,transparent:!0,opacity:H.current});s=new Wa(e,r),f=e.attributes.position,h=t,m=n,c=e,l=r}else if(E===`dashes`){let{geo:e,pos:t,basePos:n}=Gu(y,b,A,j,o,D,ce),r=new Ma({vertexColors:!0,transparent:!0,opacity:H.current});s=new Wa(e,r),f=e.attributes.position,u=t,d=n,c=e,l=r}else if(E===`contour`){let{geo:e,vtxGrid:t}=Ku(y,b,A,j,o,le),n=new Ma({vertexColors:!0,transparent:!0,opacity:H.current});s=new Wa(e,n),f=e.attributes.position,g=t,c=e,l=n}else{let{geo:e,pos:n}=qu(y,b,A,j,o),r=new ho({vertexColors:!0,transparent:!0,opacity:H.current,side:2,shininess:60}),i=new Yo(16777215,1.2);i.position.set(5,10,7);let a=new Xo(16777215,.4);t.add(i,a),v=[i,a],s=new ba(e,r),f=e.attributes.position,u=n,c=e,l=r}t.add(s);let x=()=>{n.aspect=e.clientWidth/e.clientHeight,n.updateProjectionMatrix(),r.setSize(e.clientWidth,e.clientHeight)},S=e=>{he.current.x=e.clientX/window.innerWidth*2-1,he.current.y=-(e.clientY/window.innerHeight)*2+1};window.addEventListener(`resize`,x),window.addEventListener(`mousemove`,S);let C=(e,t,n,r,i)=>{let a=y+1,c=0,l=r.array,u=i.array;for(let r of n){let n=Nu((r-(-P-1))/((P+1)*2),o);for(let i=0;i{if(e=2&&c+6<=l.length)for(let e=0;e<2;e++)l[c]=E[e][0],l[c+1]=E[e][1],l[c+2]=E[e][2],u[c]=n.r,u[c+1]=n.g,u[c+2]=n.b,c+=3}}r.needsUpdate=!0,i.needsUpdate=!0,s.geometry.setDrawRange(0,c/3)},w=E===`contour`?new Float32Array((y+1)*(b+1)):null,O,N=()=>{if(O=requestAnimationFrame(N),l.opacity!==void 0&&(l.opacity=H.current),l.uniforms?.uOpacity&&(l.uniforms.uOpacity.value=H.current),!_e.current){let e=performance.now()*.001*ge.current,t=B.current,n=z.current,r=V.current,i=he.current.x,a=he.current.y;if(E===`crosses`&&p&&f&&u){let o=(y+1)*(b+1);for(let s=0;s{cancelAnimationFrame(O),window.removeEventListener(`resize`,x),window.removeEventListener(`mousemove`,S),v.forEach(e=>t.remove(e)),t.remove(s),c.dispose(),l.dispose(),_.forEach(Xu),r.dispose(),e.contains(r.domElement)&&e.removeChild(r.domElement)}},t[27]=P,t[28]=k,t[29]=a,t[30]=le,t[31]=se,t[32]=ce,t[33]=ae,t[34]=oe,t[35]=D,t[36]=ue,t[37]=T,t[38]=j,t[39]=A,t[40]=ee,t[41]=M,t[42]=I.height,t[43]=I.width,t[44]=E,t[45]=Pe):Pe=t[45];let Fe;t[46]!==k||t[47]!==a||t[48]!==le||t[49]!==se||t[50]!==ce||t[51]!==ae||t[52]!==oe||t[53]!==D||t[54]!==ue||t[55]!==T||t[56]!==j||t[57]!==A||t[58]!==ee||t[59]!==M||t[60]!==I.height||t[61]!==I.width||t[62]!==E?(Fe=[I.width,I.height,E,a,D,k,A,j,ee,M,ae,oe,se,ce,le,ue,T],t[46]=k,t[47]=a,t[48]=le,t[49]=se,t[50]=ce,t[51]=ae,t[52]=oe,t[53]=D,t[54]=ue,t[55]=T,t[56]=j,t[57]=A,t[58]=ee,t[59]=M,t[60]=I.height,t[61]=I.width,t[62]=E,t[63]=Fe):Fe=t[63],(0,L.useEffect)(Pe,Fe);let Ie;t[64]===n?Ie=t[65]:(Ie=m(`pointer-events-none absolute inset-0`,n),t[64]=n,t[65]=Ie);let Le;return t[66]===Ie?Le=t[67]:(Le=(0,R.jsx)(`div`,{ref:de,className:Ie,"aria-hidden":`true`}),t[66]=Ie,t[67]=Le),Le};function Yu(e){return new X(e)}function Xu(e){return e.dispose()}var Zu=()=>{let e=(0,Ye.c)(15),t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,R.jsx)(y,{colors:`var(--primary)`,className:`absolute inset-0`}),n=(0,R.jsx)(y,{colors:`var(--primary)`,borderWidth:15,className:`absolute -inset-2 opacity-25 blur-xs`}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,R.jsx)(`p`,{className:`font-mono text-xs tracking-wide text-balance text-primary md:text-sm`,children:`copy it, paste it, ship it`}),e[2]=r):r=e[2];let i;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,R.jsx)(y,{size:150,borderWidth:2,colors:[`var(--color-accent)`,`var(--color-primary)`]}),e[3]=i):i=e[3];let a;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,R.jsxs)(`div`,{className:`relative mx-auto inline-flex translate-y-2 justify-center rounded-full border border-border px-6 py-1`,children:[r,i,(0,R.jsx)(y,{size:150,borderWidth:4,className:`blur`,colors:[`var(--color-accent)`,`var(--color-primary)`]})]}),e[4]=a):a=e[4];let o,s;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,R.jsxs)(`h1`,{className:`flex gap-2 text-center text-[clamp(1rem,6vw,5rem)] font-black`,children:[(0,R.jsx)(`span`,{className:`inline-block tracking-tighter`,children:`Component`}),(0,R.jsx)(`span`,{className:`inline-block scale-150 px-2 text-center font-serif`,children:`&`}),(0,R.jsx)(`span`,{className:`inline-block tracking-tighter`,children:`Animations`})]}),s=(0,R.jsx)(`p`,{className:`mx-auto max-w-3xl text-center text-sm tracking-wide text-balance md:text-lg`,children:`We are a team of passionate designers and developers dedicated to creating beautiful and functional user interfaces.`}),e[5]=o,e[6]=s):(o=e[5],s=e[6]);let c;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=[`var(--primary)`,`var(--color-muted)`],e[7]=c):c=e[7];let l;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,R.jsx)(y,{size:150,colors:[`var(--primary), transparent`],borderWidth:3,className:`absolute -inset-1 blur-xs`}),e[8]=l):l=e[8];let u;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,R.jsx)(y,{size:150,colors:[`var(--primary), transparent`],borderWidth:2,className:`absolute -inset-0.5`}),e[9]=u):u=e[9];let d;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,R.jsxs)(tt,{colors:c,className:`text-xs md:text-sm`,children:[l,u,(0,R.jsx)(y,{size:150,colors:[`var(--primary), transparent`],borderWidth:2,className:`absolute -inset-1.5 mix-blend-color-dodge blur-xs`}),(0,R.jsx)(_e,{className:`group-hover:text-brand size-4`}),(0,R.jsx)(`span`,{children:`Premium`})]}),e[10]=d):d=e[10];let f;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(f=[`var(--secondary)`,`var(--color-muted)`],e[11]=f):f=e[11];let p;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,R.jsxs)(`div`,{className:`flex flex-col space-y-3 p-6`,children:[a,o,s,(0,R.jsxs)(`div`,{className:`group flex justify-center space-x-2`,children:[d,(0,R.jsxs)(tt,{colors:f,className:`text-xs md:text-sm`,variant:`secondary`,children:[(0,R.jsx)(y,{colors:`var(--primary)`,size:150,borderWidth:3,className:`absolute -inset-1 blur-xs`}),(0,R.jsx)(y,{colors:`var(--primary)`,size:150,borderWidth:2,className:`absolute -inset-0.5`}),(0,R.jsx)(y,{colors:`var(--primary)`,size:150,borderWidth:2,className:`absolute -inset-1.5 mix-blend-color-dodge blur-xs`}),`Themes`]})]})]}),e[12]=p):p=e[12];let m;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(m={x:0,y:-20,z:5},e[13]=m):m=e[13];let h;return e[14]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,R.jsxs)(`section`,{className:`relative isolate my-4 grid min-h-90 place-items-center rounded-md border border-border md:min-h-120`,children:[t,n,p,(0,R.jsx)(Ju,{cameraPosition:m,style:`wireframe`,colors:[`#a1a1a1`,`#646464`],className:`mask-linear inset-0 -z-20 rounded-[inherit] mask-linear-from-10% mask-linear-to-50% opacity-20`})]}),e[14]=h):h=e[14],h};Zu.displayName=`Hero`;function Qu(e){let t=(0,Ye.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=m(`grid gap-3`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,R.jsx)(Ke,{"data-slot":`radio-group`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function $u(e){let t=(0,Ye.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=m(`aspect-square size-4 shrink-0 rounded-full border border-input text-primary shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:aria-invalid:ring-destructive/40`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,R.jsx)(Je,{"data-slot":`radio-group-indicator`,className:`relative flex items-center justify-center`,children:(0,R.jsx)(ge,{className:`absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 fill-primary`})}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,R.jsx)(qe,{"data-slot":`radio-group-item`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}function ed(){let e=(0,Ye.c)(34),t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h2`,{className:`text-3xl font-bold tracking-tight`,children:`Component Preview`}),(0,R.jsx)(`p`,{className:`text-muted-foreground`,children:`Check how your theme looks with different components and typography.`})]}),n=(0,R.jsx)(re,{}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,R.jsx)(`h3`,{className:`text-xl font-semibold`,children:`Typography`}),e[2]=r):r=e[2];let i;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,R.jsxs)(`section`,{className:`space-y-4`,children:[r,(0,R.jsxs)(`div`,{className:`grid gap-4 rounded-lg border p-6`,children:[(0,R.jsx)(`h1`,{className:`scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl`,children:`Heading 1: The Joke Tax Levied by the Hubble Telescope`}),(0,R.jsx)(`h2`,{className:`scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0`,children:`Heading 2: The People of the Kingdom`}),(0,R.jsx)(`h3`,{className:`scroll-m-20 text-2xl font-semibold tracking-tight`,children:`Heading 3: The King's Plan`}),(0,R.jsx)(`p`,{className:`leading-7 not-first:mt-6`,children:`The king thought long and hard, and finally came up with a brilliant plan: he would tax the jokes.`}),(0,R.jsx)(`blockquote`,{className:`mt-6 border-l-2 pl-6 italic`,children:`"After all," he said, "everyone enjoys a good joke, so why not turn that enjoyment into revenue?"`}),(0,R.jsx)(`p`,{className:`text-xl text-muted-foreground`,children:`A modal dialog that interrupts the user with important content and expects a response.`}),(0,R.jsx)(`div`,{className:`text-lg font-semibold`,children:`Are you absolutely sure?`}),(0,R.jsx)(`p`,{className:`text-sm leading-none font-medium`,children:`Email Address`}),(0,R.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Enter your email address.`})]})]}),e[3]=i):i=e[3];let a;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,R.jsx)(`h3`,{className:`text-xl font-semibold`,children:`Buttons & Badges`}),e[4]=a):a=e[4];let o;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,R.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,R.jsx)(p,{children:`Default`}),(0,R.jsx)(p,{variant:`secondary`,children:`Secondary`}),(0,R.jsx)(p,{variant:`destructive`,children:`Destructive`}),(0,R.jsx)(p,{variant:`outline`,children:`Outline`}),(0,R.jsx)(p,{variant:`ghost`,children:`Ghost`}),(0,R.jsx)(p,{variant:`link`,children:`Link`})]}),e[5]=o):o=e[5];let s,c;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,R.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[o,(0,R.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,R.jsx)(p,{size:`lg`,children:`Large`}),(0,R.jsx)(p,{size:`default`,children:`Default`}),(0,R.jsx)(p,{size:`sm`,children:`Small`})]})]}),c=(0,R.jsx)(re,{orientation:`vertical`,className:`hidden h-20 md:block`}),e[6]=s,e[7]=c):(s=e[6],c=e[7]);let l;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,R.jsxs)(`section`,{className:`space-y-4`,children:[a,(0,R.jsxs)(`div`,{className:`flex flex-wrap gap-4 rounded-lg border p-6`,children:[s,c,(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,R.jsx)(I,{children:`Default`}),(0,R.jsx)(I,{variant:`secondary`,children:`Secondary`}),(0,R.jsx)(I,{variant:`outline`,children:`Outline`}),(0,R.jsx)(I,{variant:`destructive`,children:`Destructive`})]})]})]}),e[8]=l):l=e[8];let u;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,R.jsx)(`h3`,{className:`text-xl font-semibold`,children:`Form Elements`}),e[9]=u):u=e[9];let d;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,R.jsxs)(`div`,{className:`grid w-full max-w-sm items-center gap-1.5`,children:[(0,R.jsx)(fe,{htmlFor:`email`,children:`Email`}),(0,R.jsx)(M,{type:`email`,id:`email`,placeholder:`Email`})]}),e[10]=d):d=e[10];let f;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,R.jsxs)(`div`,{className:`space-y-4`,children:[d,(0,R.jsxs)(`div`,{className:`grid w-full max-w-sm items-center gap-1.5`,children:[(0,R.jsx)(fe,{htmlFor:`message`,children:`Your message`}),(0,R.jsx)(de,{placeholder:`Type your message here.`,id:`message`})]})]}),e[11]=f):f=e[11];let m;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,R.jsxs)(`div`,{className:`flex items-center space-x-2`,children:[(0,R.jsx)(O,{id:`terms`}),(0,R.jsx)(fe,{htmlFor:`terms`,children:`Accept terms and conditions`})]}),e[12]=m):m=e[12];let h;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,R.jsxs)(`div`,{className:`flex items-center space-x-2`,children:[(0,R.jsx)($u,{value:`option-one`,id:`option-one`}),(0,R.jsx)(fe,{htmlFor:`option-one`,children:`Option One`})]}),e[13]=h):h=e[13];let y;e[14]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,R.jsxs)(Qu,{defaultValue:`option-one`,children:[h,(0,R.jsxs)(`div`,{className:`flex items-center space-x-2`,children:[(0,R.jsx)($u,{value:`option-two`,id:`option-two`}),(0,R.jsx)(fe,{htmlFor:`option-two`,children:`Option Two`})]})]}),e[14]=y):y=e[14];let S;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,R.jsx)(_,{className:`w-[180px]`,children:(0,R.jsx)(g,{placeholder:`Theme`})}),e[15]=S):S=e[15];let C;e[16]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,R.jsxs)(`section`,{className:`space-y-4`,children:[u,(0,R.jsxs)(`div`,{className:`grid gap-6 rounded-lg border p-6 md:grid-cols-2`,children:[f,(0,R.jsxs)(`div`,{className:`space-y-6`,children:[m,y,(0,R.jsxs)(x,{children:[S,(0,R.jsxs)(v,{children:[(0,R.jsx)(b,{value:`light`,children:`Light`}),(0,R.jsx)(b,{value:`dark`,children:`Dark`}),(0,R.jsx)(b,{value:`system`,children:`System`})]})]})]})]})]}),e[16]=C):C=e[16];let w;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,R.jsx)(`h3`,{className:`text-xl font-semibold`,children:`Cards & Avatars`}),e[17]=w):w=e[17];let E;e[18]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,R.jsxs)(ne,{children:[(0,R.jsx)(P,{src:`https://github.com/shadcn.png`,alt:`@shadcn`}),(0,R.jsx)(N,{children:`CN`})]}),e[18]=E):E=e[18];let D;e[19]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,R.jsxs)(F,{className:`flex flex-row items-center gap-4`,children:[E,(0,R.jsxs)(`div`,{className:`flex flex-col`,children:[(0,R.jsx)(se,{children:`User Profile`}),(0,R.jsx)(ce,{children:`Manage your account settings.`})]})]}),e[19]=D):D=e[19];let k;e[20]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,R.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,R.jsx)(`span`,{className:`text-sm font-medium`,children:`Status`}),(0,R.jsx)(I,{variant:`outline`,children:`Active`})]}),e[20]=k):k=e[20];let A;e[21]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,R.jsxs)(le,{children:[D,(0,R.jsxs)(oe,{className:`space-y-2`,children:[k,(0,R.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,R.jsx)(`span`,{className:`text-sm font-medium`,children:`Role`}),(0,R.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`Administrator`})]})]})]}),e[21]=A):A=e[21];let j;e[22]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,R.jsxs)(F,{children:[(0,R.jsx)(se,{children:`Create project`}),(0,R.jsx)(ce,{children:`Deploy your new project in one-click.`})]}),e[22]=j):j=e[22];let ee;e[23]===Symbol.for(`react.memo_cache_sentinel`)?(ee=(0,R.jsx)(oe,{children:(0,R.jsx)(`form`,{children:(0,R.jsx)(`div`,{className:`grid w-full items-center gap-4`,children:(0,R.jsxs)(`div`,{className:`flex flex-col space-y-1.5`,children:[(0,R.jsx)(fe,{htmlFor:`name`,children:`Name`}),(0,R.jsx)(M,{id:`name`,placeholder:`Name of your project`})]})})})}),e[23]=ee):ee=e[23];let ie;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(ie=(0,R.jsxs)(le,{children:[j,ee,(0,R.jsxs)(ae,{className:`flex justify-between`,children:[(0,R.jsx)(p,{variant:`outline`,children:`Cancel`}),(0,R.jsx)(p,{children:`Deploy`})]})]}),e[24]=ie):ie=e[24];let ue;e[25]===Symbol.for(`react.memo_cache_sentinel`)?(ue=(0,R.jsxs)(F,{children:[(0,R.jsx)(se,{children:`Primary Card`}),(0,R.jsx)(ce,{className:`text-primary-foreground/80`,children:`This card uses the primary color background.`})]}),e[25]=ue):ue=e[25];let ge;e[26]===Symbol.for(`react.memo_cache_sentinel`)?(ge=(0,R.jsx)(oe,{children:(0,R.jsx)(`p`,{children:`Primary color is often used for the main call to action.`})}),e[26]=ge):ge=e[26];let _e;e[27]===Symbol.for(`react.memo_cache_sentinel`)?(_e=(0,R.jsxs)(`section`,{className:`space-y-4`,children:[w,(0,R.jsxs)(`div`,{className:`grid gap-6 md:grid-cols-2 lg:grid-cols-3`,children:[A,ie,(0,R.jsxs)(le,{className:`bg-primary text-primary-foreground`,children:[ue,ge,(0,R.jsx)(ae,{children:(0,R.jsx)(p,{variant:`secondary`,className:`w-full`,children:`Get Started`})})]})]})]}),e[27]=_e):_e=e[27];let L;e[28]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,R.jsx)(`h3`,{className:`text-xl font-semibold`,children:`Feedback & Loading`}),e[28]=L):L=e[28];let z;e[29]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,R.jsxs)(me,{children:[(0,R.jsx)(T,{className:`h-4 w-4`}),(0,R.jsx)(pe,{children:`Heads up!`}),(0,R.jsx)(he,{children:`You can add components to your app using the cli.`})]}),e[29]=z):z=e[29];let B;e[30]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,R.jsxs)(`div`,{className:`space-y-4`,children:[z,(0,R.jsxs)(me,{variant:`destructive`,children:[(0,R.jsx)(T,{className:`h-4 w-4`}),(0,R.jsx)(pe,{children:`Error`}),(0,R.jsx)(he,{children:`Your session has expired. Please log in again.`})]})]}),e[30]=B):B=e[30];let V;e[31]===Symbol.for(`react.memo_cache_sentinel`)?(V=(0,R.jsx)(te,{className:`h-12 w-12 rounded-full`}),e[31]=V):V=e[31];let ve;e[32]===Symbol.for(`react.memo_cache_sentinel`)?(ve=(0,R.jsxs)(`div`,{className:`flex items-center space-x-4`,children:[V,(0,R.jsxs)(`div`,{className:`space-y-2`,children:[(0,R.jsx)(te,{className:`h-4 w-[250px]`}),(0,R.jsx)(te,{className:`h-4 w-[200px]`})]})]}),e[32]=ve):ve=e[32];let H;return e[33]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,R.jsxs)(`div`,{className:`flex flex-col gap-8 py-10`,children:[t,n,i,l,C,_e,(0,R.jsxs)(`section`,{className:`space-y-4`,children:[L,(0,R.jsxs)(`div`,{className:`grid gap-4 md:grid-cols-2`,children:[B,(0,R.jsxs)(`div`,{className:`flex flex-col gap-4 rounded-lg border p-6`,children:[ve,(0,R.jsxs)(`div`,{className:`space-y-2`,children:[(0,R.jsx)(te,{className:`h-4 w-full`}),(0,R.jsx)(te,{className:`h-4 w-full`}),(0,R.jsx)(te,{className:`h-4 w-2/3`})]})]})]})]})]}),e[33]=H):H=e[33],H}function td(){let e=(0,Ye.c)(5),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,R.jsx)(n,{title:`Home`,children:(0,R.jsx)(`meta`,{name:`description`,content:`my components library`})}),e[0]=t):t=e[0];let r;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,R.jsx)(Zu,{}),e[1]=r):r=e[1];let i;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,R.jsx)(S,{lineNumbers:!1,value:`console.log('Hello World'); ///`}),e[2]=i):i=e[2];let a;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,R.jsxs)(`div`,{className:`space-y-4`,children:[i,(0,R.jsx)(S,{options:{minimap:{enabled:!0}},showFullScreenToggle:!0,readOnly:!1,className:`pt4`,height:`400px`,value:`// 1. Declare the function -function greet(name) { - return "Hello, " + name + "!"; -} - -// 2. Call (invoke) the function -let message = greet("Alice"); -console.log(message); // Output: Hello, Alice!`})]}),e[3]=a):a=e[3];let o;return e[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,R.jsxs)(R.Fragment,{children:[t,(0,R.jsxs)(w,{as:`section`,children:[r,(0,R.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[a,(0,R.jsxs)(`div`,{className:`space-y-4`,children:[(0,R.jsx)(E,{code:`themes/yeti`}),(0,R.jsx)(ue,{language:`html`,code:`
Bouncing Content
`})]})]}),(0,R.jsx)(ed,{})]})]}),e[4]=o):o=e[4],o}td.layout=C,td.displayName=`home`;export{td as default}; \ No newline at end of file diff --git a/public/build/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 b/public/build/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 deleted file mode 100644 index 20e72b0..0000000 Binary files a/public/build/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 and /dev/null differ diff --git a/public/build/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff b/public/build/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff deleted file mode 100644 index 1487d93..0000000 Binary files a/public/build/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff and /dev/null differ diff --git a/public/build/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff b/public/build/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff deleted file mode 100644 index eff6edd..0000000 Binary files a/public/build/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff and /dev/null differ diff --git a/public/build/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 b/public/build/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 deleted file mode 100644 index b54e556..0000000 Binary files a/public/build/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 and /dev/null differ diff --git a/public/build/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff b/public/build/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff deleted file mode 100644 index 8c83fdc..0000000 Binary files a/public/build/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff and /dev/null differ diff --git a/public/build/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 b/public/build/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 deleted file mode 100644 index 0804aaf..0000000 Binary files a/public/build/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 and /dev/null differ diff --git a/public/build/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 b/public/build/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 deleted file mode 100644 index 732c64d..0000000 Binary files a/public/build/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 and /dev/null differ diff --git a/public/build/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff b/public/build/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff deleted file mode 100644 index 338fc76..0000000 Binary files a/public/build/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff and /dev/null differ diff --git a/public/build/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 b/public/build/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 deleted file mode 100644 index 21612f4..0000000 Binary files a/public/build/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 and /dev/null differ diff --git a/public/build/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff b/public/build/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff deleted file mode 100644 index dfa68b0..0000000 Binary files a/public/build/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff and /dev/null differ diff --git a/public/build/assets/ibm-plex-sans-cyrillic-400-normal-BTotfTJu.woff b/public/build/assets/ibm-plex-sans-cyrillic-400-normal-BTotfTJu.woff deleted file mode 100644 index 7ea5d2f..0000000 Binary files a/public/build/assets/ibm-plex-sans-cyrillic-400-normal-BTotfTJu.woff and /dev/null differ diff --git a/public/build/assets/ibm-plex-sans-cyrillic-400-normal-DZqxrq2p.woff2 b/public/build/assets/ibm-plex-sans-cyrillic-400-normal-DZqxrq2p.woff2 deleted file mode 100644 index 5ad40b4..0000000 Binary files a/public/build/assets/ibm-plex-sans-cyrillic-400-normal-DZqxrq2p.woff2 and /dev/null differ diff --git a/public/build/assets/ibm-plex-sans-cyrillic-ext-400-normal-Dsrv2Tcn.woff b/public/build/assets/ibm-plex-sans-cyrillic-ext-400-normal-Dsrv2Tcn.woff deleted file mode 100644 index ccff0fd..0000000 Binary files a/public/build/assets/ibm-plex-sans-cyrillic-ext-400-normal-Dsrv2Tcn.woff and /dev/null differ diff --git a/public/build/assets/ibm-plex-sans-cyrillic-ext-400-normal-g30qAdWV.woff2 b/public/build/assets/ibm-plex-sans-cyrillic-ext-400-normal-g30qAdWV.woff2 deleted file mode 100644 index a9aff11..0000000 Binary files a/public/build/assets/ibm-plex-sans-cyrillic-ext-400-normal-g30qAdWV.woff2 and /dev/null differ diff --git a/public/build/assets/ibm-plex-sans-greek-400-normal-D9ESIMu3.woff b/public/build/assets/ibm-plex-sans-greek-400-normal-D9ESIMu3.woff deleted file mode 100644 index 1284c3f..0000000 Binary files a/public/build/assets/ibm-plex-sans-greek-400-normal-D9ESIMu3.woff and /dev/null differ diff --git a/public/build/assets/ibm-plex-sans-greek-400-normal-_efipK4i.woff2 b/public/build/assets/ibm-plex-sans-greek-400-normal-_efipK4i.woff2 deleted file mode 100644 index e8de644..0000000 Binary files a/public/build/assets/ibm-plex-sans-greek-400-normal-_efipK4i.woff2 and /dev/null differ diff --git a/public/build/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2 b/public/build/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2 deleted file mode 100644 index f0ee65d..0000000 Binary files a/public/build/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2 and /dev/null differ diff --git a/public/build/assets/ibm-plex-sans-latin-400-normal-CYLoc0-x.woff b/public/build/assets/ibm-plex-sans-latin-400-normal-CYLoc0-x.woff deleted file mode 100644 index cf5e2bb..0000000 Binary files a/public/build/assets/ibm-plex-sans-latin-400-normal-CYLoc0-x.woff and /dev/null differ diff --git a/public/build/assets/ibm-plex-sans-latin-ext-400-normal-C5H60-Va.woff2 b/public/build/assets/ibm-plex-sans-latin-ext-400-normal-C5H60-Va.woff2 deleted file mode 100644 index ef4be2d..0000000 Binary files a/public/build/assets/ibm-plex-sans-latin-ext-400-normal-C5H60-Va.woff2 and /dev/null differ diff --git a/public/build/assets/ibm-plex-sans-latin-ext-400-normal-RBey6euL.woff b/public/build/assets/ibm-plex-sans-latin-ext-400-normal-RBey6euL.woff deleted file mode 100644 index 64f060c..0000000 Binary files a/public/build/assets/ibm-plex-sans-latin-ext-400-normal-RBey6euL.woff and /dev/null differ diff --git a/public/build/assets/ibm-plex-sans-vietnamese-400-normal-DG4YqDda.woff2 b/public/build/assets/ibm-plex-sans-vietnamese-400-normal-DG4YqDda.woff2 deleted file mode 100644 index 4fb6455..0000000 Binary files a/public/build/assets/ibm-plex-sans-vietnamese-400-normal-DG4YqDda.woff2 and /dev/null differ diff --git a/public/build/assets/ibm-plex-sans-vietnamese-400-normal-fK1oJ5dG.woff b/public/build/assets/ibm-plex-sans-vietnamese-400-normal-fK1oJ5dG.woff deleted file mode 100644 index b139b97..0000000 Binary files a/public/build/assets/ibm-plex-sans-vietnamese-400-normal-fK1oJ5dG.woff and /dev/null differ diff --git a/public/build/assets/input-error-C2eP__MC.js b/public/build/assets/input-error-C2eP__MC.js deleted file mode 100644 index 6e652ec..0000000 --- a/public/build/assets/input-error-C2eP__MC.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,r as t}from"./wayfinder-DGNmxDkm.js";import{n}from"./createLucideIcon-C5RzLdeU.js";var r=e(),i=t();function a(e){let t=(0,r.c)(8),a,o,s;t[0]===e?(a=t[1],o=t[2],s=t[3]):({message:a,className:s,...o}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=s);let c=s===void 0?``:s,l;return t[4]!==c||t[5]!==a||t[6]!==o?(l=a?(0,i.jsx)(`p`,{...o,className:n(`text-sm text-red-600 dark:text-red-400`,c),children:a}):null,t[4]=c,t[5]=a,t[6]=o,t[7]=l):l=t[7],l}export{a as t}; \ No newline at end of file diff --git a/public/build/assets/instrument-sans-400-normal-D1W7dsQl.woff b/public/build/assets/instrument-sans-400-normal-D1W7dsQl.woff deleted file mode 100644 index acbc6ae..0000000 Binary files a/public/build/assets/instrument-sans-400-normal-D1W7dsQl.woff and /dev/null differ diff --git a/public/build/assets/instrument-sans-400-normal-DRC__1Mx.woff2 b/public/build/assets/instrument-sans-400-normal-DRC__1Mx.woff2 deleted file mode 100644 index 74572e7..0000000 Binary files a/public/build/assets/instrument-sans-400-normal-DRC__1Mx.woff2 and /dev/null differ diff --git a/public/build/assets/instrument-sans-400-normal-Q_nF8v4l.woff2 b/public/build/assets/instrument-sans-400-normal-Q_nF8v4l.woff2 deleted file mode 100644 index c7a2161..0000000 Binary files a/public/build/assets/instrument-sans-400-normal-Q_nF8v4l.woff2 and /dev/null differ diff --git a/public/build/assets/instrument-sans-400-normal-r32jotim.woff b/public/build/assets/instrument-sans-400-normal-r32jotim.woff deleted file mode 100644 index 19f4fd0..0000000 Binary files a/public/build/assets/instrument-sans-400-normal-r32jotim.woff and /dev/null differ diff --git a/public/build/assets/instrument-sans-500-normal-CAxz3nsc.woff b/public/build/assets/instrument-sans-500-normal-CAxz3nsc.woff deleted file mode 100644 index 7487f27..0000000 Binary files a/public/build/assets/instrument-sans-500-normal-CAxz3nsc.woff and /dev/null differ diff --git a/public/build/assets/instrument-sans-500-normal-CTEe1bJa.woff2 b/public/build/assets/instrument-sans-500-normal-CTEe1bJa.woff2 deleted file mode 100644 index 9f2654d..0000000 Binary files a/public/build/assets/instrument-sans-500-normal-CTEe1bJa.woff2 and /dev/null differ diff --git a/public/build/assets/instrument-sans-500-normal-Dk9ku72i.woff2 b/public/build/assets/instrument-sans-500-normal-Dk9ku72i.woff2 deleted file mode 100644 index 0fd7a27..0000000 Binary files a/public/build/assets/instrument-sans-500-normal-Dk9ku72i.woff2 and /dev/null differ diff --git a/public/build/assets/instrument-sans-500-normal-Z6ESRlEs.woff b/public/build/assets/instrument-sans-500-normal-Z6ESRlEs.woff deleted file mode 100644 index c693e0b..0000000 Binary files a/public/build/assets/instrument-sans-500-normal-Z6ESRlEs.woff and /dev/null differ diff --git a/public/build/assets/instrument-sans-600-normal-B7fBEWYG.woff2 b/public/build/assets/instrument-sans-600-normal-B7fBEWYG.woff2 deleted file mode 100644 index 2a094d3..0000000 Binary files a/public/build/assets/instrument-sans-600-normal-B7fBEWYG.woff2 and /dev/null differ diff --git a/public/build/assets/instrument-sans-600-normal-B9e8oLYv.woff b/public/build/assets/instrument-sans-600-normal-B9e8oLYv.woff deleted file mode 100644 index c34e486..0000000 Binary files a/public/build/assets/instrument-sans-600-normal-B9e8oLYv.woff and /dev/null differ diff --git a/public/build/assets/instrument-sans-600-normal-BsaQcF38.woff2 b/public/build/assets/instrument-sans-600-normal-BsaQcF38.woff2 deleted file mode 100644 index b7070d7..0000000 Binary files a/public/build/assets/instrument-sans-600-normal-BsaQcF38.woff2 and /dev/null differ diff --git a/public/build/assets/instrument-sans-600-normal-DMks36a2.woff b/public/build/assets/instrument-sans-600-normal-DMks36a2.woff deleted file mode 100644 index 0453228..0000000 Binary files a/public/build/assets/instrument-sans-600-normal-DMks36a2.woff and /dev/null differ diff --git a/public/build/assets/instrument-sans-latin-ext-wght-normal-B5bTHO_g.woff2 b/public/build/assets/instrument-sans-latin-ext-wght-normal-B5bTHO_g.woff2 deleted file mode 100644 index 0ea0da0..0000000 Binary files a/public/build/assets/instrument-sans-latin-ext-wght-normal-B5bTHO_g.woff2 and /dev/null differ diff --git a/public/build/assets/instrument-sans-latin-wght-normal-BbzFLZTg.woff2 b/public/build/assets/instrument-sans-latin-wght-normal-BbzFLZTg.woff2 deleted file mode 100644 index 8611e41..0000000 Binary files a/public/build/assets/instrument-sans-latin-wght-normal-BbzFLZTg.woff2 and /dev/null differ diff --git a/public/build/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 b/public/build/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 deleted file mode 100644 index de83a9c..0000000 Binary files a/public/build/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 and /dev/null differ diff --git a/public/build/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 b/public/build/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 deleted file mode 100644 index d750914..0000000 Binary files a/public/build/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 and /dev/null differ diff --git a/public/build/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 b/public/build/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 deleted file mode 100644 index 6e7141f..0000000 Binary files a/public/build/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 and /dev/null differ diff --git a/public/build/assets/inter-greek-wght-normal-CkhJZR-_.woff2 b/public/build/assets/inter-greek-wght-normal-CkhJZR-_.woff2 deleted file mode 100644 index 024f077..0000000 Binary files a/public/build/assets/inter-greek-wght-normal-CkhJZR-_.woff2 and /dev/null differ diff --git a/public/build/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 b/public/build/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 deleted file mode 100644 index 479d010..0000000 Binary files a/public/build/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 and /dev/null differ diff --git a/public/build/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 b/public/build/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 deleted file mode 100644 index d15208d..0000000 Binary files a/public/build/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 and /dev/null differ diff --git a/public/build/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 b/public/build/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 deleted file mode 100644 index a40c469..0000000 Binary files a/public/build/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 and /dev/null differ diff --git a/public/build/assets/jetbrains-mono-cyrillic-ext-wght-normal-EocZY2iu.woff2 b/public/build/assets/jetbrains-mono-cyrillic-ext-wght-normal-EocZY2iu.woff2 deleted file mode 100644 index 8d83f99..0000000 Binary files a/public/build/assets/jetbrains-mono-cyrillic-ext-wght-normal-EocZY2iu.woff2 and /dev/null differ diff --git a/public/build/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 b/public/build/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 deleted file mode 100644 index 8ee2d70..0000000 Binary files a/public/build/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 and /dev/null differ diff --git a/public/build/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 b/public/build/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 deleted file mode 100644 index 6084d39..0000000 Binary files a/public/build/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 and /dev/null differ diff --git a/public/build/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 b/public/build/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 deleted file mode 100644 index 01769d9..0000000 Binary files a/public/build/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 and /dev/null differ diff --git a/public/build/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 b/public/build/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 deleted file mode 100644 index cd5102a..0000000 Binary files a/public/build/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 and /dev/null differ diff --git a/public/build/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 b/public/build/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 deleted file mode 100644 index b6a3fa1..0000000 Binary files a/public/build/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 and /dev/null differ diff --git a/public/build/assets/label-B7tz5f5X.js b/public/build/assets/label-B7tz5f5X.js deleted file mode 100644 index 8029626..0000000 --- a/public/build/assets/label-B7tz5f5X.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,m as t,r as n,x as r}from"./wayfinder-DGNmxDkm.js";import{n as i}from"./createLucideIcon-C5RzLdeU.js";import{t as a}from"./dist-BUiwxAsu.js";var o=e(),s=r(t(),1),c=n(),l=`Label`,u=s.forwardRef((e,t)=>(0,c.jsx)(a.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));u.displayName=l;var d=u;function f(e){let t=(0,o.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,n),t[3]=n,t[4]=a);let s;return t[5]!==r||t[6]!==a?(s=(0,c.jsx)(d,{"data-slot":`label`,className:a,...r}),t[5]=r,t[6]=a,t[7]=s):s=t[7],s}export{f as t}; \ No newline at end of file diff --git a/public/build/assets/loader-circle-x6RGWI8d.js b/public/build/assets/loader-circle-x6RGWI8d.js deleted file mode 100644 index 1ffa4bf..0000000 --- a/public/build/assets/loader-circle-x6RGWI8d.js +++ /dev/null @@ -1 +0,0 @@ -import{t as e}from"./createLucideIcon-C5RzLdeU.js";var t=e(`LoaderCircle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]);export{t}; \ No newline at end of file diff --git a/public/build/assets/login-BeDcfjIp.js b/public/build/assets/login-BeDcfjIp.js deleted file mode 100644 index 9a3cc32..0000000 --- a/public/build/assets/login-BeDcfjIp.js +++ /dev/null @@ -1 +0,0 @@ -import{a as e,i as t,n,o as r,r as i}from"./wayfinder-DGNmxDkm.js";import{t as a}from"./button-Dnfc0p4v.js";import{n as o,r as s,t as c}from"./socialite-Dj_w8xs5.js";import{t as l}from"./password-input-B7lWK_x4.js";import{t as u}from"./github-o-Azl6zG.js";import{t as d}from"./checkbox-ChEujvy-.js";import{T as f,l as p,w as m}from"./app-D7ZTkNic.js";import{t as h}from"./input-error-C2eP__MC.js";import{t as g}from"./label-B7tz5f5X.js";import{t as _}from"./spinner-DkjOSfno.js";import{t as v}from"./text-link-DeHc-DyP.js";import{n as y}from"./password-D2d0n4-i.js";var b=t(),x=e=>({url:x.url(e),method:`post`});x.definition={methods:[`post`],url:`/login`},x.url=e=>x.definition.url+n(e),x.post=e=>({url:x.url(e),method:`post`});var S=e=>({action:x.url(e),method:`post`});S.post=e=>({action:x.url(e),method:`post`}),x.form=S,Object.assign(x,x);var C=i();function w(t){let n=(0,b.c)(15),{status:i,canResetPassword:S,canRegister:w}=t,T;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,C.jsx)(r,{title:`Log in`}),n[0]=T):T=n[0];let E;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,C.jsx)(a,{variant:`outline`,className:`w-full`,asChild:!0,children:(0,C.jsxs)(`a`,{href:c.url(`github`),children:[(0,C.jsx)(o,{iconNode:u,className:`mr-2 h-4 w-4`}),`Github`]})}),n[1]=E):E=n[1];let D;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,C.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[E,(0,C.jsx)(a,{variant:`outline`,className:`w-full`,asChild:!0,children:(0,C.jsxs)(`a`,{href:c.url(`google`),children:[(0,C.jsx)(o,{iconNode:s,className:`mr-2 h-4 w-4`}),`Google`]})})]}),n[2]=D):D=n[2];let O;n[3]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,C.jsx)(`div`,{className:`absolute inset-0 flex items-center`,children:(0,C.jsx)(m,{})}),n[3]=O):O=n[3];let k;n[4]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,C.jsxs)(`div`,{className:`relative`,children:[O,(0,C.jsx)(`div`,{className:`relative flex justify-center text-xs uppercase`,children:(0,C.jsx)(`span`,{className:`bg-background px-2 text-muted-foreground`,children:`Or continue with`})})]}),n[4]=k):k=n[4];let A,j;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(A=x.form(),j=[`password`],n[5]=A,n[6]=j):(A=n[5],j=n[6]);let M;n[7]!==w||n[8]!==S?(M=(0,C.jsxs)(`div`,{className:`flex flex-col gap-6`,children:[D,k,(0,C.jsx)(e,{...A,resetOnSuccess:j,className:`flex flex-col gap-6`,children:e=>{let{processing:t,errors:n}=e;return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(`div`,{className:`grid gap-6`,children:[(0,C.jsxs)(`div`,{className:`grid gap-2`,children:[(0,C.jsx)(g,{htmlFor:`email`,children:`Email address`}),(0,C.jsx)(f,{id:`email`,type:`email`,name:`email`,required:!0,autoFocus:!0,tabIndex:1,autoComplete:`email`,placeholder:`email@example.com`}),(0,C.jsx)(h,{message:n.email})]}),(0,C.jsxs)(`div`,{className:`grid gap-2`,children:[(0,C.jsxs)(`div`,{className:`flex items-center`,children:[(0,C.jsx)(g,{htmlFor:`password`,children:`Password`}),S&&(0,C.jsx)(v,{href:y(),className:`ml-auto text-sm`,tabIndex:5,children:`Forgot password?`})]}),(0,C.jsx)(l,{id:`password`,name:`password`,required:!0,tabIndex:2,autoComplete:`current-password`,placeholder:`Password`}),(0,C.jsx)(h,{message:n.password})]}),(0,C.jsxs)(`div`,{className:`flex items-center space-x-3`,children:[(0,C.jsx)(d,{id:`remember`,name:`remember`,tabIndex:3}),(0,C.jsx)(g,{htmlFor:`remember`,children:`Remember me`})]}),(0,C.jsxs)(a,{type:`submit`,className:`mt-4 w-full`,tabIndex:4,disabled:t,"data-test":`login-button`,children:[t&&(0,C.jsx)(_,{}),`Log in`]})]}),w&&(0,C.jsxs)(`div`,{className:`text-center text-sm text-muted-foreground`,children:[`Don't have an account?`,` `,(0,C.jsx)(v,{href:p(),tabIndex:5,children:`Sign up`})]})]})}})]}),n[7]=w,n[8]=S,n[9]=M):M=n[9];let N;n[10]===i?N=n[11]:(N=i&&(0,C.jsx)(`div`,{className:`mb-4 text-center text-sm font-medium text-green-600`,children:i}),n[10]=i,n[11]=N);let P;return n[12]!==M||n[13]!==N?(P=(0,C.jsxs)(C.Fragment,{children:[T,M,N]}),n[12]=M,n[13]=N,n[14]=P):P=n[14],P}w.layout={title:`Log in to your account`,description:`Enter your email and password below to log in`};export{w as default}; \ No newline at end of file diff --git a/public/build/assets/main-editor-block-l3z4VSEw.js b/public/build/assets/main-editor-block-l3z4VSEw.js deleted file mode 100644 index 096916f..0000000 --- a/public/build/assets/main-editor-block-l3z4VSEw.js +++ /dev/null @@ -1,14 +0,0 @@ -import{i as e,m as t,r as n,x as r}from"./wayfinder-DGNmxDkm.js";import{n as i}from"./use-appearance-QmpypXC6.js";import{t as a}from"./button-Dnfc0p4v.js";import{n as o,t as s}from"./createLucideIcon-C5RzLdeU.js";import{t as c}from"./check-h5bDkP1T.js";import{t as l}from"./copy-C1-jVkjV.js";import{L as u}from"./app-D7ZTkNic.js";import{t as d}from"./use-clipboard-CYcV3HSX.js";var f=s(`Maximize2`,[[`polyline`,{points:`15 3 21 3 21 9`,key:`mznyad`}],[`polyline`,{points:`9 21 3 21 3 15`,key:`1avn1i`}],[`line`,{x1:`21`,x2:`14`,y1:`3`,y2:`10`,key:`ota7mn`}],[`line`,{x1:`3`,x2:`10`,y1:`21`,y2:`14`,key:`1atl0r`}]]),p=s(`Minimize2`,[[`polyline`,{points:`4 14 10 14 10 20`,key:`11kfnr`}],[`polyline`,{points:`20 10 14 10 14 4`,key:`rlmsce`}],[`line`,{x1:`14`,x2:`21`,y1:`10`,y2:`3`,key:`o5lafz`}],[`line`,{x1:`3`,x2:`10`,y1:`21`,y2:`14`,key:`1atl0r`}]]),m=e();function h(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?e.apply(this,r):function(){var e=[...arguments];return t.apply(n,[].concat(r,e))}}}function M(e){return{}.toString.call(e).includes(`Object`)}function te(e){return!Object.keys(e).length}function N(e){return typeof e==`function`}function ne(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function P(e,t){return M(t)||F(`changeType`),Object.keys(t).some(function(t){return!ne(e,t)})&&F(`changeField`),t}function re(e){N(e)||F(`selectorType`)}function ie(e){N(e)||M(e)||F(`handlerType`),M(e)&&Object.values(e).some(function(e){return!N(e)})&&F(`handlersType`)}function ae(e){e||F(`initialIsRequired`),M(e)||F(`initialType`),te(e)&&F(`initialContent`)}function oe(e,t){throw Error(e[t]||e.default)}var F=j(oe)({initialIsRequired:`initial state is required`,initialType:`initial state should be an object`,initialContent:`initial state shouldn't be an empty object`,handlerType:`handler should be an object or a function`,handlersType:`all handlers should be a functions`,selectorType:`selector should be a function`,changeType:`provided value of changes should be an object`,changeField:`it seams you want to change a field in the state which is not specified in the "initial" state`,default:"an unknown error accured in `state-local` package"}),se={changes:P,selector:re,handler:ie,initial:ae};function I(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};se.initial(e),se.handler(t);var n={current:e},r=j(ue)(n,t),i=j(le)(n),a=j(se.changes)(e),o=j(ce)(n);function s(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(e){return e};return se.selector(e),e(n.current)}function c(e){A(r,i,a,o)(e)}return[s,c]}function ce(e,t){return N(t)?t(e.current):t}function le(e,t){return e.current=k(k({},e.current),t),t}function ue(e,t,n){return N(t)?t(e.current):Object.keys(n).forEach(function(n){return t[n]?.call(t,e.current[n])}),n}var de={create:I},fe={paths:{vs:`https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs`}};function pe(e){return function t(){var n=this,r=[...arguments];return r.length>=e.length?e.apply(this,r):function(){var e=[...arguments];return t.apply(n,[].concat(r,e))}}}function me(e){return{}.toString.call(e).includes(`Object`)}function he(e){return e||ye(`configIsRequired`),me(e)||ye(`configType`),e.urls?(ge(),{paths:{vs:e.urls.monacoBase}}):e}function ge(){console.warn(ve.deprecation)}function _e(e,t){throw Error(e[t]||e.default)}var ve={configIsRequired:`the configuration object is required`,configType:`the configuration object should be an object`,default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning! - You are using deprecated way of configuration. - - Instead of using - monaco.config({ urls: { monacoBase: '...' } }) - use - monaco.config({ paths: { vs: '...' } }) - - For more please check the link https://github.com/suren-atoyan/monaco-loader#config - `},ye=pe(_e)(ve),be={config:he},xe=function(){var e=[...arguments];return function(t){return e.reduceRight(function(e,t){return t(e)},t)}};function Se(e,t){return Object.keys(t).forEach(function(n){t[n]instanceof Object&&e[n]&&Object.assign(t[n],Se(e[n],t[n]))}),x(x({},e),t)}var Ce={type:`cancelation`,msg:`operation is manually canceled`};function we(e){var t=!1,n=new Promise(function(n,r){e.then(function(e){return t?r(Ce):n(e)}),e.catch(r)});return n.cancel=function(){return t=!0},n}var Te=[`monaco`],Ee=w(de.create({config:fe,isInitialized:!1,resolve:null,reject:null,monaco:null}),2),L=Ee[0],R=Ee[1];function De(e){var t=be.config(e),n=t.monaco,r=S(t,Te);R(function(e){return{config:Se(e.config,r),monaco:n}})}function Oe(){var e=L(function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}});if(!e.isInitialized){if(R({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),we(Fe);if(window.monaco&&window.monaco.editor)return Ne(window.monaco),e.resolve(window.monaco),we(Fe);xe(ke,je)(Me)}return we(Fe)}function ke(e){return document.body.appendChild(e)}function Ae(e){var t=document.createElement(`script`);return e&&(t.src=e),t}function je(e){var t=L(function(e){return{config:e.config,reject:e.reject}}),n=Ae(`${t.config.paths.vs}/loader.js`);return n.onload=function(){return e()},n.onerror=t.reject,n}function Me(){var e=L(function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}}),t=window.require;t.config(e.config),t([`vs/editor/editor.main`],function(t){var n=t.m||t;Ne(n),e.resolve(n)},function(t){e.reject(t)})}function Ne(e){L().monaco||R({monaco:e})}function Pe(){return L(function(e){return e.monaco})}var Fe=new Promise(function(e,t){return R({resolve:e,reject:t})}),Ie={config:De,init:Oe,__getMonacoInstance:Pe},z=r(t(),1),Le={wrapper:{display:`flex`,position:`relative`,textAlign:`initial`},fullWidth:{width:`100%`},hide:{display:`none`}},Re={container:{display:`flex`,height:`100%`,width:`100%`,justifyContent:`center`,alignItems:`center`}};function ze({children:e}){return z.createElement(`div`,{style:Re.container},e)}var Be=ze;function Ve({width:e,height:t,isEditorReady:n,loading:r,_ref:i,className:a,wrapperProps:o}){return z.createElement(`section`,{style:{...Le.wrapper,width:e,height:t},...o},!n&&z.createElement(Be,null,r),z.createElement(`div`,{ref:i,style:{...Le.fullWidth,...!n&&Le.hide},className:a}))}var He=(0,z.memo)(Ve);function Ue(e){(0,z.useEffect)(e,[])}var We=Ue;function Ge(e,t,n=!0){let r=(0,z.useRef)(!0);(0,z.useEffect)(r.current||!n?()=>{r.current=!1}:e,t)}var B=Ge;function Ke(){}function qe(e,t,n,r){return Je(e,r)||Ye(e,t,n,r)}function Je(e,t){return e.editor.getModel(Xe(e,t))}function Ye(e,t,n,r){return e.editor.createModel(t,n,r?Xe(e,r):void 0)}function Xe(e,t){return e.Uri.parse(t)}function Ze({original:e,modified:t,language:n,originalLanguage:r,modifiedLanguage:i,originalModelPath:a,modifiedModelPath:o,keepCurrentOriginalModel:s=!1,keepCurrentModifiedModel:c=!1,theme:l=`light`,loading:u=`Loading...`,options:d={},height:f=`100%`,width:p=`100%`,className:m,wrapperProps:h={},beforeMount:g=Ke,onMount:_=Ke}){let[v,y]=(0,z.useState)(!1),[b,x]=(0,z.useState)(!0),S=(0,z.useRef)(null),C=(0,z.useRef)(null),w=(0,z.useRef)(null),T=(0,z.useRef)(_),E=(0,z.useRef)(g),ee=(0,z.useRef)(!1);We(()=>{let e=Ie.init();return e.then(e=>(C.current=e)&&x(!1)).catch(e=>e?.type!==`cancelation`&&console.error(`Monaco initialization: error:`,e)),()=>S.current?k():e.cancel()}),B(()=>{if(S.current&&C.current){let t=S.current.getOriginalEditor(),i=qe(C.current,e||``,r||n||`text`,a||``);i!==t.getModel()&&t.setModel(i)}},[a],v),B(()=>{if(S.current&&C.current){let e=S.current.getModifiedEditor(),r=qe(C.current,t||``,i||n||`text`,o||``);r!==e.getModel()&&e.setModel(r)}},[o],v),B(()=>{let e=S.current.getModifiedEditor();e.getOption(C.current.editor.EditorOption.readOnly)?e.setValue(t||``):t!==e.getValue()&&(e.executeEdits(``,[{range:e.getModel().getFullModelRange(),text:t||``,forceMoveMarkers:!0}]),e.pushUndoStop())},[t],v),B(()=>{S.current?.getModel()?.original.setValue(e||``)},[e],v),B(()=>{let{original:e,modified:t}=S.current.getModel();C.current.editor.setModelLanguage(e,r||n||`text`),C.current.editor.setModelLanguage(t,i||n||`text`)},[n,r,i],v),B(()=>{C.current?.editor.setTheme(l)},[l],v),B(()=>{S.current?.updateOptions(d)},[d],v);let D=(0,z.useCallback)(()=>{if(!C.current)return;E.current(C.current);let s=qe(C.current,e||``,r||n||`text`,a||``),c=qe(C.current,t||``,i||n||`text`,o||``);S.current?.setModel({original:s,modified:c})},[n,t,i,e,r,a,o]),O=(0,z.useCallback)(()=>{!ee.current&&w.current&&(S.current=C.current.editor.createDiffEditor(w.current,{automaticLayout:!0,...d}),D(),C.current?.editor.setTheme(l),y(!0),ee.current=!0)},[d,l,D]);(0,z.useEffect)(()=>{v&&T.current(S.current,C.current)},[v]),(0,z.useEffect)(()=>{!b&&!v&&O()},[b,v,O]);function k(){let e=S.current?.getModel();s||e?.original?.dispose(),c||e?.modified?.dispose(),S.current?.dispose()}return z.createElement(He,{width:p,height:f,isEditorReady:v,loading:u,_ref:w,className:m,wrapperProps:h})}(0,z.memo)(Ze);function Qe(e){let t=(0,z.useRef)();return(0,z.useEffect)(()=>{t.current=e},[e]),t.current}var $e=Qe,et=new Map;function tt({defaultValue:e,defaultLanguage:t,defaultPath:n,value:r,language:i,path:a,theme:o=`light`,line:s,loading:c=`Loading...`,options:l={},overrideServices:u={},saveViewState:d=!0,keepCurrentModel:f=!1,width:p=`100%`,height:m=`100%`,className:h,wrapperProps:g={},beforeMount:_=Ke,onMount:v=Ke,onChange:y,onValidate:b=Ke}){let[x,S]=(0,z.useState)(!1),[C,w]=(0,z.useState)(!0),T=(0,z.useRef)(null),E=(0,z.useRef)(null),ee=(0,z.useRef)(null),D=(0,z.useRef)(v),O=(0,z.useRef)(_),k=(0,z.useRef)(),A=(0,z.useRef)(r),j=$e(a),M=(0,z.useRef)(!1),te=(0,z.useRef)(!1);We(()=>{let e=Ie.init();return e.then(e=>(T.current=e)&&w(!1)).catch(e=>e?.type!==`cancelation`&&console.error(`Monaco initialization: error:`,e)),()=>E.current?ne():e.cancel()}),B(()=>{let o=qe(T.current,e||r||``,t||i||``,a||n||``);o!==E.current?.getModel()&&(d&&et.set(j,E.current?.saveViewState()),E.current?.setModel(o),d&&E.current?.restoreViewState(et.get(a)))},[a],x),B(()=>{E.current?.updateOptions(l)},[l],x),B(()=>{!E.current||r===void 0||(E.current.getOption(T.current.editor.EditorOption.readOnly)?E.current.setValue(r):r!==E.current.getValue()&&(te.current=!0,E.current.executeEdits(``,[{range:E.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),E.current.pushUndoStop(),te.current=!1))},[r],x),B(()=>{let e=E.current?.getModel();e&&i&&T.current?.editor.setModelLanguage(e,i)},[i],x),B(()=>{s!==void 0&&E.current?.revealLine(s)},[s],x),B(()=>{T.current?.editor.setTheme(o)},[o],x);let N=(0,z.useCallback)(()=>{if(!(!ee.current||!T.current)&&!M.current){O.current(T.current);let c=a||n,f=qe(T.current,r||e||``,t||i||``,c||``);E.current=T.current?.editor.create(ee.current,{model:f,automaticLayout:!0,...l},u),d&&E.current.restoreViewState(et.get(c)),T.current.editor.setTheme(o),s!==void 0&&E.current.revealLine(s),S(!0),M.current=!0}},[e,t,n,r,i,a,l,u,d,o,s]);(0,z.useEffect)(()=>{x&&D.current(E.current,T.current)},[x]),(0,z.useEffect)(()=>{!C&&!x&&N()},[C,x,N]),A.current=r,(0,z.useEffect)(()=>{x&&y&&(k.current?.dispose(),k.current=E.current?.onDidChangeModelContent(e=>{te.current||y(E.current.getValue(),e)}))},[x,y]),(0,z.useEffect)(()=>{if(x){let e=T.current.editor.onDidChangeMarkers(e=>{let t=E.current.getModel()?.uri;if(t&&e.find(e=>e.path===t.path)){let e=T.current.editor.getModelMarkers({resource:t});b?.(e)}});return()=>{e?.dispose()}}return()=>{}},[x,b]);function ne(){k.current?.dispose(),f?d&&et.set(a,E.current.saveViewState()):E.current.getModel()?.dispose(),E.current.dispose()}return z.createElement(He,{width:p,height:m,isEditorReady:x,loading:c,_ref:ee,className:h,wrapperProps:g})}var nt=(0,z.memo)(tt),rt=(e,t)=>{if(typeof e==`number`){if(t===3)return{mode:`rgb`,r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|e&240)/255,b:(e&15|e<<4&240)/255};if(t===4)return{mode:`rgb`,r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|e&240)/255,alpha:(e&15|e<<4&240)/255};if(t===6)return{mode:`rgb`,r:(e>>16&255)/255,g:(e>>8&255)/255,b:(e&255)/255};if(t===8)return{mode:`rgb`,r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(e&255)/255}}},it={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},at=e=>rt(it[e.toLowerCase()],6),ot=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,st=e=>{let t;return(t=e.match(ot))?rt(parseInt(t[1],16),t[1].length):void 0},V=`([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)`;`${V}`;var ct=`${V}%`;`${V}`;var lt=`(?:${V}%|${V})`,ut=`(?:${V}%|${V}|none)`,dt=`(?:${V}(deg|grad|rad|turn)|${V})`;`${V}${V}`;var ft=`\\s*,\\s*`;RegExp(`^`+ut+`$`);var pt=RegExp(`^rgba?\\(\\s*${V}${ft}${V}${ft}${V}\\s*(?:,\\s*${lt}\\s*)?\\)$`),mt=RegExp(`^rgba?\\(\\s*${ct}${ft}${ct}${ft}${ct}\\s*(?:,\\s*${lt}\\s*)?\\)$`),ht=e=>{let t={mode:`rgb`},n;if(n=e.match(pt))n[1]!==void 0&&(t.r=n[1]/255),n[2]!==void 0&&(t.g=n[2]/255),n[3]!==void 0&&(t.b=n[3]/255);else if(n=e.match(mt))n[1]!==void 0&&(t.r=n[1]/100),n[2]!==void 0&&(t.g=n[2]/100),n[3]!==void 0&&(t.b=n[3]/100);else return;return n[4]===void 0?n[5]!==void 0&&(t.alpha=Math.max(0,Math.min(1,+n[5]))):t.alpha=Math.max(0,Math.min(1,n[4]/100)),t},gt=(e,t)=>e===void 0?void 0:typeof e==`object`?e.mode===void 0?t?{...e,mode:t}:void 0:e:Lt(e),_t=(e=`rgb`)=>t=>(t=gt(t,e))===void 0?void 0:t.mode===e?t:H[t.mode][e]?H[t.mode][e](t):e===`rgb`?H[t.mode].rgb(t):H.rgb[e](H[t.mode].rgb(t)),H={},vt={},yt=[],bt={},xt=e=>e,U=e=>(H[e.mode]={...H[e.mode],...e.toMode},Object.keys(e.fromMode||{}).forEach(t=>{H[t]||(H[t]={}),H[t][e.mode]=e.fromMode[t]}),e.ranges||={},e.difference||={},e.channels.forEach(t=>{if(e.ranges[t]===void 0&&(e.ranges[t]=[0,1]),!e.interpolate[t])throw Error(`Missing interpolator for: ${t}`);typeof e.interpolate[t]==`function`&&(e.interpolate[t]={use:e.interpolate[t]}),e.interpolate[t].fixup||(e.interpolate[t].fixup=xt)}),vt[e.mode]=e,(e.parse||[]).forEach(t=>{Ct(t,e.mode)}),_t(e.mode)),St=e=>vt[e],Ct=(e,t)=>{if(typeof e==`string`){if(!t)throw Error(`'mode' required when 'parser' is a string`);bt[e]=t}else typeof e==`function`&&yt.indexOf(e)<0&&yt.push(e)},wt=/[^\x00-\x7F]|[a-zA-Z_]/,Tt=/[^\x00-\x7F]|[-\w]/,W={Function:`function`,Ident:`ident`,Number:`number`,Percentage:`percentage`,ParenClose:`)`,None:`none`,Hue:`hue`,Alpha:`alpha`},G=0;function Et(e){let t=e[G],n=e[G+1];return t===`-`||t===`+`?/\d/.test(n)||n===`.`&&/\d/.test(e[G+2]):t===`.`?/\d/.test(n):/\d/.test(t)}function Dt(e){if(G>=e.length)return!1;let t=e[G];if(wt.test(t))return!0;if(t===`-`){if(e.length-G<2)return!1;let t=e[G+1];return!!(t===`-`||wt.test(t))}return!1}var Ot={deg:1,rad:180/Math.PI,grad:9/10,turn:360};function kt(e){let t=``;if((e[G]===`-`||e[G]===`+`)&&(t+=e[G++]),t+=At(e),e[G]===`.`&&/\d/.test(e[G+1])&&(t+=e[G++]+At(e)),(e[G]===`e`||e[G]===`E`)&&((e[G+1]===`-`||e[G+1]===`+`)&&/\d/.test(e[G+2])?t+=e[G++]+e[G++]+At(e):/\d/.test(e[G+1])&&(t+=e[G++]+At(e))),Dt(e)){let n=jt(e);return n===`deg`||n===`rad`||n===`turn`||n===`grad`?{type:W.Hue,value:t*Ot[n]}:void 0}return e[G]===`%`?(G++,{type:W.Percentage,value:+t}):{type:W.Number,value:+t}}function At(e){let t=``;for(;/\d/.test(e[G]);)t+=e[G++];return t}function jt(e){let t=``;for(;G4)){if(n.length===4){if(n[3].type!==W.Alpha)return;n[3]=n[3].value}return n.length===3&&n.push({type:W.None,value:void 0}),n.every(e=>e.type!==W.Alpha)?n:void 0}}function It(e,t){e._i=0;let n=e[e._i++];if(!n||n.type!==W.Function)return;let r=Ft(e,t);if(r)return r.unshift(n.value),r}var Lt=e=>{if(typeof e!=`string`)return;let t=Nt(e),n=t?It(t,!0):void 0,r,i=0,a=yt.length;for(;ie===`transparent`?{mode:`rgb`,r:0,g:0,b:0,alpha:0}:void 0,Bt=(e,t,n)=>e+n*(t-e),Vt=e=>{let t=[];for(let n=0;nt=>{let n=Vt(t);return t=>{let r=t*n.length,i=t>=1?n.length-1:Math.max(Math.floor(r),0),a=n[i];return a===void 0?void 0:e(a[0],a[1],r-i)}})(Bt),q=e=>{let t=!1,n=e.map(e=>e===void 0?1:(t=!0,e));return t?n:e},Ht={mode:`rgb`,channels:[`r`,`g`,`b`,`alpha`],parse:[Rt,st,ht,at,zt,`srgb`],serialize:`srgb`,interpolate:{r:K,g:K,b:K,alpha:{use:K,fixup:q}},gamut:!0,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}},Ut=(e=0)=>Math.abs(e)**(563/256)*Math.sign(e),Wt=e=>{let t=Ut(e.r),n=Ut(e.g),r=Ut(e.b),i={mode:`xyz65`,x:.5766690429101305*t+.1855582379065463*n+.1882286462349947*r,y:.297344975250536*t+.6273635662554661*n+.0752914584939979*r,z:.0270313613864123*t+.0706888525358272*n+.9913375368376386*r};return e.alpha!==void 0&&(i.alpha=e.alpha),i},Gt=e=>Math.abs(e)**(256/563)*Math.sign(e),Kt=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i={mode:`a98`,r:Gt(e*2.0415879038107465-t*.5650069742788597-.3447313507783297*n),g:Gt(e*-.9692436362808798+t*1.8759675015077206+.0415550574071756*n),b:Gt(e*.0134442806320312-t*.1183623922310184+1.0151749943912058*n)};return r!==void 0&&(i.alpha=r),i},qt=(e=0)=>{let t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*((t+.055)/1.055)**2.4},Jt=({r:e,g:t,b:n,alpha:r})=>{let i={mode:`lrgb`,r:qt(e),g:qt(t),b:qt(n)};return r!==void 0&&(i.alpha=r),i},Yt=e=>{let{r:t,g:n,b:r,alpha:i}=Jt(e),a={mode:`xyz65`,x:.4123907992659593*t+.357584339383878*n+.1804807884018343*r,y:.2126390058715102*t+.715168678767756*n+.0721923153607337*r,z:.0193308187155918*t+.119194779794626*n+.9505321522496607*r};return i!==void 0&&(a.alpha=i),a},Xt=(e=0)=>{let t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*t**(1/2.4)-.055):e*12.92},Zt=({r:e,g:t,b:n,alpha:r},i=`rgb`)=>{let a={mode:i,r:Xt(e),g:Xt(t),b:Xt(n)};return r!==void 0&&(a.alpha=r),a},Qt=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=Zt({r:e*3.2409699419045226-t*1.537383177570094-.4986107602930034*n,g:e*-.9692436362808796+t*1.8759675015077204+.0415550574071756*n,b:e*.0556300796969936-t*.2039769588889765+1.0569715142428784*n});return r!==void 0&&(i.alpha=r),i},$t={...Ht,mode:`a98`,parse:[`a98-rgb`],serialize:`a98-rgb`,fromMode:{rgb:e=>Kt(Yt(e)),xyz65:Kt},toMode:{rgb:e=>Qt(Wt(e)),xyz65:Wt}},J=e=>(e%=360)<0?e+360:e,en=(e,t)=>e.map((n,r,i)=>{if(n===void 0)return n;let a=J(n);return r===0||e[r-1]===void 0?a:t(a-J(i[r-1]))}).reduce((e,t)=>!e.length||t===void 0||e[e.length-1]===void 0?(e.push(t),e):(e.push(t+e[e.length-1]),e),[]),Y=e=>en(e,e=>Math.abs(e)<=180?e:e-360*Math.sign(e)),X=[-.14861,1.78277,-.29227,-.90649,1.97294,0],tn=Math.PI/180,nn=180/Math.PI,rn=X[3]*X[4],an=X[1]*X[4],on=X[1]*X[2]-X[0]*X[3],sn=({r:e,g:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=(on*n+e*rn-t*an)/(on+rn-an),a=n-i,o=(X[4]*(t-i)-X[2]*a)/X[3],s={mode:`cubehelix`,l:i,s:i===0||i===1?void 0:Math.sqrt(a*a+o*o)/(X[4]*i*(1-i))};return s.s&&(s.h=Math.atan2(o,a)*nn-120),r!==void 0&&(s.alpha=r),s},cn=({h:e,s:t,l:n,alpha:r})=>{let i={mode:`rgb`};e=(e===void 0?0:e+120)*tn,n===void 0&&(n=0);let a=t===void 0?0:t*n*(1-n),o=Math.cos(e),s=Math.sin(e);return i.r=n+a*(X[0]*o+X[1]*s),i.g=n+a*(X[2]*o+X[3]*s),i.b=n+a*(X[4]*o+X[5]*s),r!==void 0&&(i.alpha=r),i},ln=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.s||!t.s)return 0;let n=J(e.h),r=J(t.h),i=Math.sin((r-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*t.s)*i},un=(e,t)=>{if(e.h===void 0||t.h===void 0)return 0;let n=J(e.h),r=J(t.h);return Math.abs(r-n)>180?n-(r-360*Math.sign(r-n)):r-n},dn=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.c||!t.c)return 0;let n=J(e.h),r=J(t.h),i=Math.sin((r-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*t.c)*i},Z=e=>{let t=e.reduce((e,t)=>{if(t!==void 0){let n=t*Math.PI/180;e.sin+=Math.sin(n),e.cos+=Math.cos(n)}return e},{sin:0,cos:0}),n=Math.atan2(t.sin,t.cos)*180/Math.PI;return n<0?360+n:n},fn={mode:`cubehelix`,channels:[`h`,`s`,`l`,`alpha`],parse:[`--cubehelix`],serialize:`--cubehelix`,ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:sn},toMode:{rgb:cn},interpolate:{h:{use:K,fixup:Y},s:K,l:K,alpha:{use:K,fixup:q}},difference:{h:ln},average:{h:Z}},pn=({l:e,a:t,b:n,alpha:r},i=`lch`)=>{t===void 0&&(t=0),n===void 0&&(n=0);let a=Math.sqrt(t*t+n*n),o={mode:i,l:e,c:a};return a&&(o.h=J(Math.atan2(n,t)*180/Math.PI)),r!==void 0&&(o.alpha=r),o},mn=({l:e,c:t,h:n,alpha:r},i=`lab`)=>{n===void 0&&(n=0);let a={mode:i,l:e,a:t?t*Math.cos(n/180*Math.PI):0,b:t?t*Math.sin(n/180*Math.PI):0};return r!==void 0&&(a.alpha=r),a},hn=29**3/3**3,gn=6**3/29**3,Q={X:.3457/.3585,Y:1,Z:.2958/.3585},_n={X:.3127/.329,Y:1,Z:.3583/.329},vn=e=>e**3>gn?e**3:(116*e-16)/hn,yn=({l:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=(e+16)/116,a=t/500+i,o=i-n/200,s={mode:`xyz65`,x:vn(a)*_n.X,y:vn(i)*_n.Y,z:vn(o)*_n.Z};return r!==void 0&&(s.alpha=r),s},bn=e=>Qt(yn(e)),xn=e=>e>gn?Math.cbrt(e):(hn*e+16)/116,Sn=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=xn(e/_n.X),a=xn(t/_n.Y),o=xn(n/_n.Z),s={mode:`lab65`,l:116*a-16,a:500*(i-a),b:200*(a-o)};return r!==void 0&&(s.alpha=r),s},Cn=e=>{let t=Sn(Yt(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},wn=26/180*Math.PI,Tn=Math.cos(wn),En=Math.sin(wn),Dn=100/Math.log(139/100),On=({l:e,c:t,h:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i={mode:`lab65`,l:(Math.exp(e*1/Dn)-1)/.0039},a=(Math.exp(.0435*t*1*1)-1)/.075,o=a*Math.cos(n/180*Math.PI-wn),s=a*Math.sin(n/180*Math.PI-wn);return i.a=o*Tn-s/.83*En,i.b=o*En+s/.83*Tn,r!==void 0&&(i.alpha=r),i},kn=({l:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=t*Tn+n*En,a=.83*(n*Tn-t*En),o=Math.sqrt(i*i+a*a),s={mode:`dlch`,l:Dn/1*Math.log(1+.0039*e),c:Math.log(1+.075*o)/(.0435*1*1)};return s.c&&(s.h=J((Math.atan2(a,i)+wn)/Math.PI*180)),r!==void 0&&(s.alpha=r),s},An=e=>On(pn(e,`dlch`)),jn=e=>mn(kn(e),`dlab`),Mn={mode:`dlab`,parse:[`--din99o-lab`],serialize:`--din99o-lab`,toMode:{lab65:An,rgb:e=>bn(An(e))},fromMode:{lab65:jn,rgb:e=>jn(Cn(e))},channels:[`l`,`a`,`b`,`alpha`],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:K,a:K,b:K,alpha:{use:K,fixup:q}}},Nn={mode:`dlch`,parse:[`--din99o-lch`],serialize:`--din99o-lch`,toMode:{lab65:On,dlab:e=>mn(e,`dlab`),rgb:e=>bn(On(e))},fromMode:{lab65:kn,dlab:e=>pn(e,`dlch`),rgb:e=>kn(Cn(e))},channels:[`l`,`c`,`h`,`alpha`],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:K,c:K,h:{use:K,fixup:Y},alpha:{use:K,fixup:q}},difference:{h:dn},average:{h:Z}};function Pn({h:e,s:t,i:n,alpha:r}){e=J(e===void 0?0:e),t===void 0&&(t=0),n===void 0&&(n=0);let i=Math.abs(e/60%2-1),a;switch(Math.floor(e/60)){case 0:a={r:n*(1+t*(3/(2-i)-1)),g:n*(1+t*(3*(1-i)/(2-i)-1)),b:n*(1-t)};break;case 1:a={r:n*(1+t*(3*(1-i)/(2-i)-1)),g:n*(1+t*(3/(2-i)-1)),b:n*(1-t)};break;case 2:a={r:n*(1-t),g:n*(1+t*(3/(2-i)-1)),b:n*(1+t*(3*(1-i)/(2-i)-1))};break;case 3:a={r:n*(1-t),g:n*(1+t*(3*(1-i)/(2-i)-1)),b:n*(1+t*(3/(2-i)-1))};break;case 4:a={r:n*(1+t*(3*(1-i)/(2-i)-1)),g:n*(1-t),b:n*(1+t*(3/(2-i)-1))};break;case 5:a={r:n*(1+t*(3/(2-i)-1)),g:n*(1-t),b:n*(1+t*(3*(1-i)/(2-i)-1))};break;default:a={r:n*(1-t),g:n*(1-t),b:n*(1-t)}}return a.mode=`rgb`,r!==void 0&&(a.alpha=r),a}function Fn({r:e,g:t,b:n,alpha:r}){e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=Math.max(e,t,n),a=Math.min(e,t,n),o={mode:`hsi`,s:e+t+n===0?0:1-3*a/(e+t+n),i:(e+t+n)/3};return i-a!==0&&(o.h=(i===e?(t-n)/(i-a)+(t{switch(t){case`deg`:return+e;case`rad`:return e/Math.PI*180;case`grad`:return e/10*9;case`turn`:return e*360}},Bn=RegExp(`^hsla?\\(\\s*${dt}${ft}${ct}${ft}${ct}\\s*(?:,\\s*${lt}\\s*)?\\)$`),Vn=e=>{let t=e.match(Bn);if(!t)return;let n={mode:`hsl`};return t[3]===void 0?t[1]!==void 0&&t[2]!==void 0&&(n.h=zn(t[1],t[2])):n.h=+t[3],t[4]!==void 0&&(n.s=Math.min(Math.max(0,t[4]/100),1)),t[5]!==void 0&&(n.l=Math.min(Math.max(0,t[5]/100),1)),t[6]===void 0?t[7]!==void 0&&(n.alpha=Math.max(0,Math.min(1,+t[7]))):n.alpha=Math.max(0,Math.min(1,t[6]/100)),n};function Hn(e,t){if(!t||t[0]!==`hsl`&&t[0]!==`hsla`)return;let n={mode:`hsl`},[,r,i,a,o]=t;if(r.type!==W.None){if(r.type===W.Percentage)return;n.h=r.value}if(i.type!==W.None){if(i.type===W.Hue)return;n.s=i.value/100}if(a.type!==W.None){if(a.type===W.Hue)return;n.l=a.value/100}return o.type!==W.None&&(n.alpha=Math.min(1,Math.max(0,o.type===W.Number?o.value:o.value/100))),n}var Un={mode:`hsl`,toMode:{rgb:Ln},fromMode:{rgb:Rn},channels:[`h`,`s`,`l`,`alpha`],ranges:{h:[0,360]},gamut:`rgb`,parse:[Hn,Vn],serialize:e=>`hsl(${e.h===void 0?`none`:e.h} ${e.s===void 0?`none`:e.s*100+`%`} ${e.l===void 0?`none`:e.l*100+`%`}${e.alpha<1?` / ${e.alpha}`:``})`,interpolate:{h:{use:K,fixup:Y},s:K,l:K,alpha:{use:K,fixup:q}},difference:{h:ln},average:{h:Z}};function Wn({h:e,s:t,v:n,alpha:r}){e=J(e===void 0?0:e),t===void 0&&(t=0),n===void 0&&(n=0);let i=Math.abs(e/60%2-1),a;switch(Math.floor(e/60)){case 0:a={r:n,g:n*(1-t*i),b:n*(1-t)};break;case 1:a={r:n*(1-t*i),g:n,b:n*(1-t)};break;case 2:a={r:n*(1-t),g:n,b:n*(1-t*i)};break;case 3:a={r:n*(1-t),g:n*(1-t*i),b:n};break;case 4:a={r:n*(1-t*i),g:n*(1-t),b:n};break;case 5:a={r:n,g:n*(1-t),b:n*(1-t*i)};break;default:a={r:n*(1-t),g:n*(1-t),b:n*(1-t)}}return a.mode=`rgb`,r!==void 0&&(a.alpha=r),a}function Gn({r:e,g:t,b:n,alpha:r}){e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=Math.max(e,t,n),a=Math.min(e,t,n),o={mode:`hsv`,s:i===0?0:1-a/i,v:i};return i-a!==0&&(o.h=(i===e?(t-n)/(i-a)+(t1){let e=t+n;t/=e,n/=e}return Wn({h:e,s:n===1?1:1-t/(1-n),v:1-n,alpha:r})}function Jn(e){let t=Gn(e);if(t===void 0)return;let n=t.s===void 0?0:t.s,r=t.v===void 0?0:t.v,i={mode:`hwb`,w:(1-n)*r,b:1-r};return t.h!==void 0&&(i.h=t.h),t.alpha!==void 0&&(i.alpha=t.alpha),i}function Yn(e,t){if(!t||t[0]!==`hwb`)return;let n={mode:`hwb`},[,r,i,a,o]=t;if(r.type!==W.None){if(r.type===W.Percentage)return;n.h=r.value}if(i.type!==W.None){if(i.type===W.Hue)return;n.w=i.value/100}if(a.type!==W.None){if(a.type===W.Hue)return;n.b=a.value/100}return o.type!==W.None&&(n.alpha=Math.min(1,Math.max(0,o.type===W.Number?o.value:o.value/100))),n}var Xn={mode:`hwb`,toMode:{rgb:qn},fromMode:{rgb:Jn},channels:[`h`,`w`,`b`,`alpha`],ranges:{h:[0,360]},gamut:`rgb`,parse:[Yn],serialize:e=>`hwb(${e.h===void 0?`none`:e.h} ${e.w===void 0?`none`:e.w*100+`%`} ${e.b===void 0?`none`:e.b*100+`%`}${e.alpha<1?` / ${e.alpha}`:``})`,interpolate:{h:{use:K,fixup:Y},w:K,b:K,alpha:{use:K,fixup:q}},difference:{h:un},average:{h:Z}},Zn=.1593017578125,Qn=78.84375,$n=.8359375,er=18.8515625,tr=18.6875;function nr(e){if(e<0)return 0;let t=e**(1/Qn);return 1e4*(Math.max(0,t-$n)/(er-tr*t))**(1/Zn)}function rr(e){if(e<0)return 0;let t=(e/1e4)**Zn;return(($n+er*t)/(1+tr*t))**+Qn}var ir=e=>Math.max(e/203,0),ar=({i:e,t,p:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=nr(e+.008609037037932761*t+.11102962500302593*n),a=nr(e-.00860903703793275*t-.11102962500302599*n),o=nr(e+.5600313357106791*t-.32062717498731885*n),s={mode:`xyz65`,x:ir(2.070152218389422*i-1.3263473389671556*a+.2066510476294051*o),y:ir(.3647385209748074*i+.680566024947227*a-.0453045459220346*o),z:ir(-.049747207535812*i-.0492609666966138*a+1.1880659249923042*o)};return r!==void 0&&(s.alpha=r),s},or=(e=0)=>Math.max(e*203,0),sr=({x:e,y:t,z:n,alpha:r})=>{let i=or(e),a=or(t),o=or(n),s=rr(.3592832590121217*i+.6976051147779502*a-.0358915932320289*o),c=rr(-.1920808463704995*i+1.1004767970374323*a+.0753748658519118*o),l=rr(.0070797844607477*i+.0748396662186366*a+.8433265453898765*o),u={mode:`itp`,i:.5*s+.5*c,t:1.61376953125*s-3.323486328125*c+1.709716796875*l,p:4.378173828125*s-4.24560546875*c-.132568359375*l};return r!==void 0&&(u.alpha=r),u},cr={mode:`itp`,channels:[`i`,`t`,`p`,`alpha`],parse:[`--ictcp`],serialize:`--ictcp`,toMode:{xyz65:ar,rgb:e=>Qt(ar(e))},fromMode:{xyz65:sr,rgb:e=>sr(Yt(e))},ranges:{i:[0,.581],t:[-.369,.272],p:[-.164,.331]},interpolate:{i:K,t:K,p:K,alpha:{use:K,fixup:q}}},lr=134.03437499999998,ur=16295499532821565e-27,dr=e=>{if(e<0)return 0;let t=(e/1e4)**Zn;return(($n+er*t)/(1+tr*t))**+lr},fr=(e=0)=>Math.max(e*203,0),pr=({x:e,y:t,z:n,alpha:r})=>{e=fr(e),t=fr(t),n=fr(n);let i=1.15*e-.15*n,a=.66*t+.34*e,o=dr(.41478972*i+.579999*a+.014648*n),s=dr(-.20151*i+1.120649*a+.0531008*n),c=dr(-.0166008*i+.2648*a+.6684799*n),l=(o+s)/2,u={mode:`jab`,j:.44*l/(1-.56*l)-ur,a:3.524*o-4.066708*s+.542708*c,b:.199076*o+1.096799*s-1.295875*c};return r!==void 0&&(u.alpha=r),u},mr=134.03437499999998,hr=16295499532821565e-27,gr=e=>{if(e<0)return 0;let t=e**(1/mr);return 1e4*(($n-t)/(tr*t-er))**(1/Zn)},_r=e=>e/203,vr=({j:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=(e+hr)/(.44+.56*(e+hr)),a=gr(i+.13860504*t+.058047316*n),o=gr(i-.13860504*t-.058047316*n),s=gr(i-.096019242*t-.8118919*n),c={mode:`xyz65`,x:_r(1.661373024652174*a-.914523081304348*o+.23136208173913045*s),y:_r(-.3250758611844533*a+1.571847026732543*o-.21825383453227928*s),z:_r(-.090982811*a-.31272829*o+1.5227666*s)};return r!==void 0&&(c.alpha=r),c},yr=e=>{let t=pr(Yt(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},br=e=>Qt(vr(e)),xr={mode:`jab`,channels:[`j`,`a`,`b`,`alpha`],parse:[`--jzazbz`],serialize:`--jzazbz`,fromMode:{rgb:yr,xyz65:pr},toMode:{rgb:br,xyz65:vr},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:K,a:K,b:K,alpha:{use:K,fixup:q}}},Sr=({j:e,a:t,b:n,alpha:r})=>{t===void 0&&(t=0),n===void 0&&(n=0);let i=Math.sqrt(t*t+n*n),a={mode:`jch`,j:e,c:i};return i&&(a.h=J(Math.atan2(n,t)*180/Math.PI)),r!==void 0&&(a.alpha=r),a},Cr=({j:e,c:t,h:n,alpha:r})=>{n===void 0&&(n=0);let i={mode:`jab`,j:e,a:t?t*Math.cos(n/180*Math.PI):0,b:t?t*Math.sin(n/180*Math.PI):0};return r!==void 0&&(i.alpha=r),i},wr={mode:`jch`,parse:[`--jzczhz`],serialize:`--jzczhz`,toMode:{jab:Cr,rgb:e=>br(Cr(e))},fromMode:{rgb:e=>Sr(yr(e)),jab:Sr},channels:[`j`,`c`,`h`,`alpha`],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:K,fixup:Y},c:K,j:K,alpha:{use:K,fixup:q}},difference:{h:dn},average:{h:Z}},Tr=29**3/3**3,Er=6**3/29**3,Dr=e=>e**3>Er?e**3:(116*e-16)/Tr,Or=({l:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=(e+16)/116,a=t/500+i,o=i-n/200,s={mode:`xyz50`,x:Dr(a)*Q.X,y:Dr(i)*Q.Y,z:Dr(o)*Q.Z};return r!==void 0&&(s.alpha=r),s},kr=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=Zt({r:e*3.1341359569958707-t*1.6173863321612538-.4906619460083532*n,g:e*-.978795502912089+t*1.916254567259524+.03344273116131949*n,b:e*.07195537988411677-t*.2289768264158322+1.405386058324125*n});return r!==void 0&&(i.alpha=r),i},Ar=e=>kr(Or(e)),jr=e=>{let{r:t,g:n,b:r,alpha:i}=Jt(e),a={mode:`xyz50`,x:.436065742824811*t+.3851514688337912*n+.14307845442264197*r,y:.22249319175623702*t+.7168870538238823*n+.06061979053616537*r,z:.013923904500943465*t+.09708128566574634*n+.7140993584005155*r};return i!==void 0&&(a.alpha=i),a},Mr=e=>e>Er?Math.cbrt(e):(Tr*e+16)/116,Nr=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=Mr(e/Q.X),a=Mr(t/Q.Y),o=Mr(n/Q.Z),s={mode:`lab`,l:116*a-16,a:500*(i-a),b:200*(a-o)};return r!==void 0&&(s.alpha=r),s},Pr=e=>{let t=Nr(jr(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t};function Fr(e,t){if(!t||t[0]!==`lab`)return;let n={mode:`lab`},[,r,i,a,o]=t;if(!(r.type===W.Hue||i.type===W.Hue||a.type===W.Hue))return r.type!==W.None&&(n.l=Math.min(Math.max(0,r.value),100)),i.type!==W.None&&(n.a=i.type===W.Number?i.value:i.value*125/100),a.type!==W.None&&(n.b=a.type===W.Number?a.value:a.value*125/100),o.type!==W.None&&(n.alpha=Math.min(1,Math.max(0,o.type===W.Number?o.value:o.value/100))),n}var Ir={mode:`lab`,toMode:{xyz50:Or,rgb:Ar},fromMode:{xyz50:Nr,rgb:Pr},channels:[`l`,`a`,`b`,`alpha`],ranges:{l:[0,100],a:[-125,125],b:[-125,125]},parse:[Fr],serialize:e=>`lab(${e.l===void 0?`none`:e.l} ${e.a===void 0?`none`:e.a} ${e.b===void 0?`none`:e.b}${e.alpha<1?` / ${e.alpha}`:``})`,interpolate:{l:K,a:K,b:K,alpha:{use:K,fixup:q}}},Lr={...Ir,mode:`lab65`,parse:[`--lab-d65`],serialize:`--lab-d65`,toMode:{xyz65:yn,rgb:bn},fromMode:{xyz65:Sn,rgb:Cn},ranges:{l:[0,100],a:[-125,125],b:[-125,125]}};function Rr(e,t){if(!t||t[0]!==`lch`)return;let n={mode:`lch`},[,r,i,a,o]=t;if(r.type!==W.None){if(r.type===W.Hue)return;n.l=Math.min(Math.max(0,r.value),100)}if(i.type!==W.None&&(n.c=Math.max(0,i.type===W.Number?i.value:i.value*150/100)),a.type!==W.None){if(a.type===W.Percentage)return;n.h=a.value}return o.type!==W.None&&(n.alpha=Math.min(1,Math.max(0,o.type===W.Number?o.value:o.value/100))),n}var zr={mode:`lch`,toMode:{lab:mn,rgb:e=>Ar(mn(e))},fromMode:{rgb:e=>pn(Pr(e)),lab:pn},channels:[`l`,`c`,`h`,`alpha`],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[Rr],serialize:e=>`lch(${e.l===void 0?`none`:e.l} ${e.c===void 0?`none`:e.c} ${e.h===void 0?`none`:e.h}${e.alpha<1?` / ${e.alpha}`:``})`,interpolate:{h:{use:K,fixup:Y},c:K,l:K,alpha:{use:K,fixup:q}},difference:{h:dn},average:{h:Z}},Br={...zr,mode:`lch65`,parse:[`--lch-d65`],serialize:`--lch-d65`,toMode:{lab65:e=>mn(e,`lab65`),rgb:e=>bn(mn(e,`lab65`))},fromMode:{rgb:e=>pn(Cn(e),`lch65`),lab65:e=>pn(e,`lch65`)},ranges:{l:[0,100],c:[0,150],h:[0,360]}},Vr=({l:e,u:t,v:n,alpha:r})=>{t===void 0&&(t=0),n===void 0&&(n=0);let i=Math.sqrt(t*t+n*n),a={mode:`lchuv`,l:e,c:i};return i&&(a.h=J(Math.atan2(n,t)*180/Math.PI)),r!==void 0&&(a.alpha=r),a},Hr=({l:e,c:t,h:n,alpha:r})=>{n===void 0&&(n=0);let i={mode:`luv`,l:e,u:t?t*Math.cos(n/180*Math.PI):0,v:t?t*Math.sin(n/180*Math.PI):0};return r!==void 0&&(i.alpha=r),i},Ur=(e,t,n)=>4*e/(e+15*t+3*n),Wr=(e,t,n)=>9*t/(e+15*t+3*n),Gr=Ur(Q.X,Q.Y,Q.Z),Kr=Wr(Q.X,Q.Y,Q.Z),qr=e=>e<=Er?Tr*e:116*Math.cbrt(e)-16,Jr=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=qr(t/Q.Y),a=Ur(e,t,n),o=Wr(e,t,n);!isFinite(a)||!isFinite(o)?i=a=o=0:(a=13*i*(a-Gr),o=13*i*(o-Kr));let s={mode:`luv`,l:i,u:a,v:o};return r!==void 0&&(s.alpha=r),s},Yr=(e,t,n)=>4*e/(e+15*t+3*n),Xr=(e,t,n)=>9*t/(e+15*t+3*n),Zr=Yr(Q.X,Q.Y,Q.Z),Qr=Xr(Q.X,Q.Y,Q.Z),$r=({l:e,u:t,v:n,alpha:r})=>{if(e===void 0&&(e=0),e===0)return{mode:`xyz50`,x:0,y:0,z:0};t===void 0&&(t=0),n===void 0&&(n=0);let i=t/(13*e)+Zr,a=n/(13*e)+Qr,o=Q.Y*(e<=8?e/Tr:((e+16)/116)**3),s={mode:`xyz50`,x:9*i*o/(4*a),y:o,z:o*(12-3*i-20*a)/(4*a)};return r!==void 0&&(s.alpha=r),s},ei={mode:`lchuv`,toMode:{luv:Hr,rgb:e=>kr($r(Hr(e)))},fromMode:{rgb:e=>Vr(Jr(jr(e))),luv:Vr},channels:[`l`,`c`,`h`,`alpha`],parse:[`--lchuv`],serialize:`--lchuv`,ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:K,fixup:Y},c:K,l:K,alpha:{use:K,fixup:q}},difference:{h:dn},average:{h:Z}},ti={...Ht,mode:`lrgb`,toMode:{rgb:Zt},fromMode:{rgb:Jt},parse:[`srgb-linear`],serialize:`srgb-linear`},ni={mode:`luv`,toMode:{xyz50:$r,rgb:e=>kr($r(e))},fromMode:{xyz50:Jr,rgb:e=>Jr(jr(e))},channels:[`l`,`u`,`v`,`alpha`],parse:[`--luv`],serialize:`--luv`,ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:K,u:K,v:K,alpha:{use:K,fixup:q}}},ri=({r:e,g:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=Math.cbrt(.412221469470763*e+.5363325372617348*t+.0514459932675022*n),a=Math.cbrt(.2119034958178252*e+.6806995506452344*t+.1073969535369406*n),o=Math.cbrt(.0883024591900564*e+.2817188391361215*t+.6299787016738222*n),s={mode:`oklab`,l:.210454268309314*i+.7936177747023054*a-.0040720430116193*o,a:1.9779985324311684*i-2.42859224204858*a+.450593709617411*o,b:.0259040424655478*i+.7827717124575296*a-.8086757549230774*o};return r!==void 0&&(s.alpha=r),s},ii=e=>{let t=ri(Jt(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},ai=({l:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=(e+.3963377773761749*t+.2158037573099136*n)**3,a=(e-.1055613458156586*t-.0638541728258133*n)**3,o=(e-.0894841775298119*t-1.2914855480194092*n)**3,s={mode:`lrgb`,r:4.076741636075957*i-3.3077115392580616*a+.2309699031821044*o,g:-1.2684379732850317*i+2.6097573492876887*a-.3413193760026573*o,b:-.0041960761386756*i-.7034186179359362*a+1.7076146940746117*o};return r!==void 0&&(s.alpha=r),s},oi=e=>Zt(ai(e));function si(e){let t=.206,n=.03,r=(1+t)/(1+n);return .5*(r*e-t+Math.sqrt((r*e-t)*(r*e-t)+4*n*r*e))}function ci(e){let t=.206,n=.03;return(1+t)/(1+n),(e*e+t*e)/(1.170873786407767*(e+n))}function li(e,t){let n,r,i,a,o,s,c,l;-1.88170328*e-.80936493*t>1?(n=1.19086277,r=1.76576728,i=.59662641,a=.75515197,o=.56771245,s=4.0767416621,c=-3.3077115913,l=.2309699292):1.81444104*e-1.19445276*t>1?(n=.73956515,r=-.45954404,i=.08285427,a=.1254107,o=.14503204,s=-1.2684380046,c=2.6097574011,l=-.3413193965):(n=1.35733652,r=-.00915799,i=-1.1513021,a=-.50559606,o=.00692167,s=-.0041960863,c=-.7034186147,l=1.707614701);let u=n+r*e+i*t+a*e*e+o*e*t,d=.3963377774*e+.2158037573*t,f=-.1055613458*e-.0638541728*t,p=-.0894841775*e-1.291485548*t;{let e=1+u*d,t=1+u*f,n=1+u*p,r=e*e*e,i=t*t*t,a=n*n*n,o=3*d*e*e,m=3*f*t*t,h=3*p*n*n,g=6*d*d*e,_=6*f*f*t,v=6*p*p*n,y=s*r+c*i+l*a,b=s*o+c*m+l*h,x=s*g+c*_+l*v;u-=y*b/(b*b-.5*y*x)}return u}function ui(e,t){let n=li(e,t),r=ai({l:1,a:n*e,b:n*t}),i=Math.cbrt(1/Math.max(r.r,r.g,r.b));return[i,i*n]}function di(e,t,n,r,i,a=null){a||=ui(e,t);let o;if((n-i)*a[1]-(a[0]-i)*r<=0)o=a[1]*i/(r*a[0]+a[1]*(i-n));else{o=a[1]*(i-1)/(r*(a[0]-1)+a[1]*(i-n));{let a=n-i,s=r,c=.3963377774*e+.2158037573*t,l=-.1055613458*e-.0638541728*t,u=-.0894841775*e-1.291485548*t,d=a+s*c,f=a+s*l,p=a+s*u;{let e=i*(1-o)+o*n,t=o*r,a=e+t*c,s=e+t*l,m=e+t*u,h=a*a*a,g=s*s*s,_=m*m*m,v=3*d*a*a,y=3*f*s*s,b=3*p*m*m,x=6*d*d*a,S=6*f*f*s,C=6*p*p*m,w=4.0767416621*h-3.3077115913*g+.2309699292*_-1,T=4.0767416621*v-3.3077115913*y+.2309699292*b,E=4.0767416621*x-3.3077115913*S+.2309699292*C,ee=T/(T*T-.5*w*E),D=-w*ee,O=-1.2684380046*h+2.6097574011*g-.3413193965*_-1,k=-1.2684380046*v+2.6097574011*y-.3413193965*b,A=-1.2684380046*x+2.6097574011*S-.3413193965*C,j=k/(k*k-.5*O*A),M=-O*j,te=-.0041960863*h-.7034186147*g+1.707614701*_-1,N=-.0041960863*v-.7034186147*y+1.707614701*b,ne=-.0041960863*x-.7034186147*S+1.707614701*C,P=N/(N*N-.5*te*ne),re=-te*P;D=ee>=0?D:1e6,M=j>=0?M:1e6,re=P>=0?re:1e6,o+=Math.min(D,Math.min(M,re))}}}return o}function fi(e,t,n=null){n||=ui(e,t);let r=n[0],i=n[1];return[i/r,i/(1-r)]}function pi(e,t,n){let r=ui(t,n),i=di(t,n,e,1,e,r),a=fi(t,n,r),o=.11516993+1/(7.4477897+4.1590124*n+t*(-2.19557347+1.75198401*n+t*(-2.13704948-10.02301043*n+t*(-4.24894561+5.38770819*n+4.69891013*t)))),s=.11239642+1/(1.6132032-.68124379*n+t*(.40370612+.90148123*n+t*(-.27087943+.6122399*n+t*(.00299215-.45399568*n-.14661872*t)))),c=i/Math.min(e*a[0],(1-e)*a[1]),l=e*o,u=(1-e)*s,d=.9*c*Math.sqrt(Math.sqrt(1/(1/(l*l*l*l)+1/(u*u*u*u))));return l=e*.4,u=(1-e)*.8,[Math.sqrt(1/(1/(l*l)+1/(u*u))),d,i]}function mi(e){let t=e.l===void 0?0:e.l,n=e.a===void 0?0:e.a,r=e.b===void 0?0:e.b,i={mode:`okhsl`,l:si(t)};e.alpha!==void 0&&(i.alpha=e.alpha);let a=Math.sqrt(n*n+r*r);if(!a)return i.s=0,i;let[o,s,c]=pi(t,n/a,r/a),l;if(ami(ii(e))},toMode:{oklab:hi,rgb:e=>oi(hi(e))}};function _i(e){let t=e.l===void 0?0:e.l,n=e.a===void 0?0:e.a,r=e.b===void 0?0:e.b,i=Math.sqrt(n*n+r*r),a=i?n/i:1,o=i?r/i:1,[s,c]=fi(a,o),l=.5,u=1-l/s,d=c/(i+t*c),f=d*t,p=d*i,m=ci(f),h=p*m/f,g=ai({l:m,a:a*h,b:o*h}),_=Math.cbrt(1/Math.max(g.r,g.g,g.b,0));t/=_,i=i/_*si(t)/t,t=si(t);let v={mode:`okhsv`,s:i?(l+c)*p/(c*l+c*u*p):0,v:t?t/f:0};return v.s&&(v.h=J(Math.atan2(r,n)*180/Math.PI)),e.alpha!==void 0&&(v.alpha=e.alpha),v}function vi(e){let t={mode:`oklab`};e.alpha!==void 0&&(t.alpha=e.alpha);let n=e.h===void 0?0:e.h,r=e.s===void 0?0:e.s,i=e.v===void 0?0:e.v,a=Math.cos(n/180*Math.PI),o=Math.sin(n/180*Math.PI),[s,c]=fi(a,o),l=.5,u=1-l/s,d=1-r*l/(l+c-c*u*r),f=r*c*l/(l+c-c*u*r),p=ci(d),m=f*p/d,h=ai({l:p,a:a*m,b:o*m}),g=Math.cbrt(1/Math.max(h.r,h.g,h.b,0)),_=ci(i*d),v=f*_/d;return t.l=_*g,t.a=v*a*g,t.b=v*o*g,t}var yi={...Kn,mode:`okhsv`,channels:[`h`,`s`,`v`,`alpha`],parse:[`--okhsv`],serialize:`--okhsv`,fromMode:{oklab:_i,rgb:e=>_i(ii(e))},toMode:{oklab:vi,rgb:e=>oi(vi(e))}};function bi(e,t){if(!t||t[0]!==`oklab`)return;let n={mode:`oklab`},[,r,i,a,o]=t;if(!(r.type===W.Hue||i.type===W.Hue||a.type===W.Hue))return r.type!==W.None&&(n.l=Math.min(Math.max(0,r.type===W.Number?r.value:r.value/100),1)),i.type!==W.None&&(n.a=i.type===W.Number?i.value:i.value*.4/100),a.type!==W.None&&(n.b=a.type===W.Number?a.value:a.value*.4/100),o.type!==W.None&&(n.alpha=Math.min(1,Math.max(0,o.type===W.Number?o.value:o.value/100))),n}var xi={...Ir,mode:`oklab`,toMode:{lrgb:ai,rgb:oi},fromMode:{lrgb:ri,rgb:ii},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[bi],serialize:e=>`oklab(${e.l===void 0?`none`:e.l} ${e.a===void 0?`none`:e.a} ${e.b===void 0?`none`:e.b}${e.alpha<1?` / ${e.alpha}`:``})`};function Si(e,t){if(!t||t[0]!==`oklch`)return;let n={mode:`oklch`},[,r,i,a,o]=t;if(r.type!==W.None){if(r.type===W.Hue)return;n.l=Math.min(Math.max(0,r.type===W.Number?r.value:r.value/100),1)}if(i.type!==W.None&&(n.c=Math.max(0,i.type===W.Number?i.value:i.value*.4/100)),a.type!==W.None){if(a.type===W.Percentage)return;n.h=a.value}return o.type!==W.None&&(n.alpha=Math.min(1,Math.max(0,o.type===W.Number?o.value:o.value/100))),n}var Ci={...zr,mode:`oklch`,toMode:{oklab:e=>mn(e,`oklab`),rgb:e=>oi(mn(e,`oklab`))},fromMode:{rgb:e=>pn(ii(e),`oklch`),oklab:e=>pn(e,`oklch`)},parse:[Si],serialize:e=>`oklch(${e.l===void 0?`none`:e.l} ${e.c===void 0?`none`:e.c} ${e.h===void 0?`none`:e.h}${e.alpha<1?` / ${e.alpha}`:``})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}},wi=e=>{let{r:t,g:n,b:r,alpha:i}=Jt(e),a={mode:`xyz65`,x:.486570948648216*t+.265667693169093*n+.1982172852343625*r,y:.2289745640697487*t+.6917385218365062*n+.079286914093745*r,z:0*t+.0451133818589026*n+1.043944368900976*r};return i!==void 0&&(a.alpha=i),a},Ti=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=Zt({r:e*2.4934969119414263-t*.9313836179191242-.402710784450717*n,g:e*-.8294889695615749+t*1.7626640603183465+.0236246858419436*n,b:e*.0358458302437845-t*.0761723892680418+.9568845240076871*n},`p3`);return r!==void 0&&(i.alpha=r),i},Ei={...Ht,mode:`p3`,parse:[`display-p3`],serialize:`display-p3`,fromMode:{rgb:e=>Ti(Yt(e)),xyz65:Ti},toMode:{rgb:e=>Qt(wi(e)),xyz65:wi}},Di=e=>{let t=Math.abs(e);return t>=1/512?Math.sign(e)*t**(1/1.8):16*e},Oi=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i={mode:`prophoto`,r:Di(e*1.3457868816471585-t*.2555720873797946-.0511018649755453*n),g:Di(e*-.5446307051249019+t*1.5082477428451466+.0205274474364214*n),b:Di(e*0+t*0+1.2119675456389452*n)};return r!==void 0&&(i.alpha=r),i},ki=(e=0)=>{let t=Math.abs(e);return t>=16/512?Math.sign(e)*t**1.8:e/16},Ai=e=>{let t=ki(e.r),n=ki(e.g),r=ki(e.b),i={mode:`xyz50`,x:.7977666449006423*t+.1351812974005331*n+.0313477341283922*r,y:.2880748288194013*t+.7118352342418731*n+899369387256e-16*r,z:0*t+0*n+.8251046025104602*r};return e.alpha!==void 0&&(i.alpha=e.alpha),i},ji={...Ht,mode:`prophoto`,parse:[`prophoto-rgb`],serialize:`prophoto-rgb`,fromMode:{xyz50:Oi,rgb:e=>Oi(jr(e))},toMode:{xyz50:Ai,rgb:e=>kr(Ai(e))}},Mi=1.09929682680944,Ni=.018053968510807,Pi=e=>{let t=Math.abs(e);return t>Ni?(Math.sign(e)||1)*(Mi*t**.45-(Mi-1)):4.5*e},Fi=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i={mode:`rec2020`,r:Pi(e*1.7166511879712683-t*.3556707837763925-.2533662813736599*n),g:Pi(e*-.6666843518324893+t*1.6164812366349395+.0157685458139111*n),b:Pi(e*.0176398574453108-t*.0427706132578085+.9421031212354739*n)};return r!==void 0&&(i.alpha=r),i},Ii=1.09929682680944,Li=.018053968510807,Ri=(e=0)=>{let t=Math.abs(e);return t{let t=Ri(e.r),n=Ri(e.g),r=Ri(e.b),i={mode:`xyz65`,x:.6369580483012911*t+.1446169035862083*n+.1688809751641721*r,y:.262700212011267*t+.6779980715188708*n+.059301716469862*r,z:0*t+.0280726930490874*n+1.0609850577107909*r};return e.alpha!==void 0&&(i.alpha=e.alpha),i},Bi={...Ht,mode:`rec2020`,fromMode:{xyz65:Fi,rgb:e=>Fi(Yt(e))},toMode:{xyz65:zi,rgb:e=>Qt(zi(e))},parse:[`rec2020`],serialize:`rec2020`},Vi=.0037930732552754493,Hi=Math.cbrt(Vi),Ui=e=>Math.cbrt(e)-Hi,Wi=e=>{let{r:t,g:n,b:r,alpha:i}=Jt(e),a=Ui(.3*t+.622*n+.078*r+Vi),o=Ui(.23*t+.692*n+.078*r+Vi),s=Ui(.2434226892454782*t+.2047674442449682*n+.5518098665095535*r+Vi),c={mode:`xyb`,x:(a-o)/2,y:(a+o)/2,b:s-(a+o)/2};return i!==void 0&&(c.alpha=i),c},Gi=e=>(e+Hi)**3,Ki={mode:`xyb`,channels:[`x`,`y`,`b`,`alpha`],parse:[`--xyb`],serialize:`--xyb`,toMode:{rgb:({x:e,y:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i=Gi(e+t)-Vi,a=Gi(t-e)-Vi,o=Gi(n+t)-Vi,s=Zt({r:11.031566904639861*i-9.866943908131562*a-.16462299650829934*o,g:-3.2541473810744237*i+4.418770377582723*a-.16462299650829934*o,b:-3.6588512867136815*i+2.7129230459360922*a+1.9459282407775895*o});return r!==void 0&&(s.alpha=r),s}},fromMode:{rgb:Wi},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:K,y:K,b:K,alpha:{use:K,fixup:q}}},qi={mode:`xyz50`,parse:[`xyz-d50`],serialize:`xyz-d50`,toMode:{rgb:kr,lab:Nr},fromMode:{rgb:jr,lab:Or},channels:[`x`,`y`,`z`,`alpha`],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:K,y:K,z:K,alpha:{use:K,fixup:q}}},Ji={mode:`xyz65`,toMode:{rgb:Qt,xyz50:e=>{let{x:t,y:n,z:r,alpha:i}=e;t===void 0&&(t=0),n===void 0&&(n=0),r===void 0&&(r=0);let a={mode:`xyz50`,x:1.0479298208405488*t+.0229467933410191*n-.0501922295431356*r,y:.0296278156881593*t+.990434484573249*n-.0170738250293851*r,z:-.0092430581525912*t+.0150551448965779*n+.7518742899580008*r};return i!==void 0&&(a.alpha=i),a}},fromMode:{rgb:Yt,xyz50:e=>{let{x:t,y:n,z:r,alpha:i}=e;t===void 0&&(t=0),n===void 0&&(n=0),r===void 0&&(r=0);let a={mode:`xyz65`,x:.9554734527042182*t-.0230985368742614*n+.0632593086610217*r,y:-.0283697069632081*t+1.0099954580058226*n+.021041398966943*r,z:.0123140016883199*t-.0205076964334779*n+1.3303659366080753*r};return i!==void 0&&(a.alpha=i),a}},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:[`x`,`y`,`z`,`alpha`],parse:[`xyz`,`xyz-d65`],serialize:`xyz-d65`,interpolate:{x:K,y:K,z:K,alpha:{use:K,fixup:q}}},Yi={mode:`yiq`,toMode:{rgb:({y:e,i:t,q:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i={mode:`rgb`,r:e+.95608445*t+.6208885*n,g:e-.27137664*t-.6486059*n,b:e-1.10561724*t+1.70250126*n};return r!==void 0&&(i.alpha=r),i}},fromMode:{rgb:({r:e,g:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let i={mode:`yiq`,y:.29889531*e+.58662247*t+.11448223*n,i:.59597799*e-.2741761*t-.32180189*n,q:.21147017*e-.52261711*t+.31114694*n};return r!==void 0&&(i.alpha=r),i}},channels:[`y`,`i`,`q`,`alpha`],parse:[`--yiq`],serialize:`--yiq`,ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:K,i:K,q:K,alpha:{use:K,fixup:q}}},Xi=(e,t)=>Math.round(e*(t=10**t))/t,Zi=((e=4)=>t=>typeof t==`number`?Xi(t,e):t)(2),Qi=e=>Math.max(0,Math.min(1,e||0)),$i=e=>Math.round(Qi(e)*255),ea=_t(`rgb`),ta=_t(`hsl`),na=e=>{if(e===void 0)return;let t=$i(e.r),n=$i(e.g),r=$i(e.b);return`#`+(1<<24|t<<16|n<<8|r).toString(16).slice(1)},ra=e=>{if(e===void 0)return;let t=$i(e.r),n=$i(e.g),r=$i(e.b);return e.alpha===void 0||e.alpha===1?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${Zi(Qi(e.alpha))})`},ia=e=>{if(e===void 0)return;let t=Zi(e.h||0),n=Zi(Qi(e.s)*100)+`%`,r=Zi(Qi(e.l)*100)+`%`;return e.alpha===void 0||e.alpha===1?`hsl(${t}, ${n}, ${r})`:`hsla(${t}, ${n}, ${r}, ${Zi(Qi(e.alpha))})`},aa=e=>na(ea(e)),oa=e=>ra(ea(e)),sa=e=>ia(ta(e));function ca(e){let t=_t(`lrgb`)(e);return .2126*t.r+.7152*t.g+.0722*t.b}function la(e,t){let n=ca(e),r=ca(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}U($t),U(fn),U(Mn),U(Nn),U(In),U(Un),U(Kn),U(Xn),U(cr),U(xr),U(wr),U(Ir),U(Lr),U(zr),U(Br),U(ei),U(ti),U(ni),U(gi),U(yi),U(xi),U(Ci),U(Ei),U(ji),U(Bi),U(Ht),U(Ki),U(qi),U(Ji),U(Yi);function ua(e,t){let n=Lt(e.trim());if(!n)return console.warn(`[convertColor] Could not parse color: "${e}"`),null;let r=n;switch(t){case`hex`:return aa(r)??null;case`rgb`:{let e=oa(r);return e.startsWith(`rgba`)?e.replace(/,\s*[\d.]+\)$/,`)`).replace(`rgba`,`rgb`):e}case`rgba`:return oa(r)??null;case`hsl`:{let e=sa(r);return e.startsWith(`hsla`)?e.replace(/,\s*[\d.]+\)$/,`)`).replace(`hsla`,`hsl`):e}case`hsla`:return sa(r)??null;default:return null}}function da(e,t){if(typeof window>`u`)return null;let n=getComputedStyle(document.documentElement).getPropertyValue(e).trim();return n?ua(n,t):(console.warn(`[getCssVarAsColor] CSS variable "${e}" is empty or not found.`),null)}var $=n(),fa=`editor-light`,pa=`editor-dark`;function ma(e){let t=(e,t)=>da(e,`hex`)??t,n=e===`dark`;return{base:n?`vs-dark`:`vs`,inherit:!0,rules:[{token:`comment`,foreground:n?`6A9955`:`008000`,fontStyle:`italic`},{token:`keyword`,foreground:n?`C586C0`:`AF00DB`},{token:`string`,foreground:n?`CE9178`:`A31515`},{token:`number`,foreground:n?`B5CEA8`:`098658`},{token:`type`,foreground:n?`4EC9B0`:`267F99`}],colors:{"editor.background":t(`--background`,n?`#1e1e1e`:`#ffffff`),"editor.foreground":t(`--foreground`,n?`#d4d4d4`:`#000000`),"editor.selectionBackground":t(`--accent`,n?`#264f78`:`#add6ff`),"editor.inactiveSelectionBackground":t(`--muted`,n?`#3a3d41`:`#e5ebf1`),"editorLineNumber.foreground":t(`--muted-foreground`,n?`#858585`:`#237893`),"editorCursor.foreground":t(`--primary`,n?`#aeafad`:`#000000`),"editorWhitespace.foreground":t(`--border`,n?`#3b3b3b`:`#d4d4d4`),"editor.lineHighlightBackground":t(`--muted`,n?`#2a2d2e`:`#f5f5f5`),"editorWidget.background":t(`--card`,n?`#252526`:`#f3f3f3`),"editorWidget.border":t(`--border`,n?`#454545`:`#c8c8c8`),"input.background":t(`--input`,n?`#3c3c3c`:`#ffffff`),"scrollbarSlider.background":t(`--muted`,n?`#4e4e4e80`:`#64646480`),"scrollbarSlider.hoverBackground":t(`--muted-foreground`,`#646464b3`)}}}function ha(e){let t=(0,m.c)(68),{value:n,onChange:r,language:s,readOnly:h,lineNumbers:g,className:_,variant:v,showCopyButton:y,showFullScreenToggle:b,height:x,themeOverride:S,options:C,autoResize:w}=e,T=s===void 0?`javascript`:s,E=h===void 0?!0:h,ee=g===void 0?!0:g,D=v===void 0?`default`:v,O=y===void 0?!0:y,k=b===void 0?!1:b,A=x===void 0?`200px`:x,j=w===void 0?!0:w,[M,te]=(0,z.useState)(!1),[N,ne]=(0,z.useState)(!1),[P,re]=(0,z.useState)(!1),ie=(0,z.useRef)(null),ae=(0,z.useRef)(null),[,oe]=d(),{resolvedAppearance:F}=i(),se=S??F,I=se===`dark`?pa:fa,ce;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(ce={js:`javascript`,ts:`typescript`,css:`css`,php:`php`,markup:`markup`,sh:`bash`,shell:`bash`,html:`markup`},t[0]=ce):ce=t[0];let le=ce,ue;t[1]===T?ue=t[2]:(ue=le[T.toLowerCase()]||T.toLowerCase(),t[1]=T,t[2]=ue);let de=ue,fe,pe;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(fe=()=>{te(!0)},pe=[],t[3]=fe,t[4]=pe):(fe=t[3],pe=t[4]),(0,z.useEffect)(fe,pe);let me;t[5]===I?me=t[6]:(me=()=>{let e=ae.current;e&&(e.editor.defineTheme(fa,ma(`light`)),e.editor.defineTheme(pa,ma(`dark`)),e.editor.setTheme(I))},t[5]=I,t[6]=me);let he;t[7]!==se||t[8]!==I?(he=[se,I],t[7]=se,t[8]=I,t[9]=he):he=t[9],(0,z.useEffect)(me,he);let ge;t[10]!==oe||t[11]!==n?(ge=async()=>{await oe(n)?(ne(!0),u.success(`Copied to clipboard`),setTimeout(()=>ne(!1),2e3)):u.error(`Failed to copy to clipboard`)},t[10]=oe,t[11]=n,t[12]=ge):ge=t[12];let _e=ge,ve;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(ve=()=>{ie.current&&(document.fullscreenElement?document.exitFullscreen():ie.current.requestFullscreen().catch(ga))},t[13]=ve):ve=t[13];let ye=ve,be,xe;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(be=()=>{let e=()=>re(!!document.fullscreenElement);return document.addEventListener(`fullscreenchange`,e),()=>document.removeEventListener(`fullscreenchange`,e)},xe=[],t[14]=be,t[15]=xe):(be=t[14],xe=t[15]),(0,z.useEffect)(be,xe);let Se;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(Se={enabled:!1},t[16]=Se):Se=t[16];let Ce=ee?`on`:`off`,we;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(we={top:12,bottom:12},t[17]=we):we=t[17];let Te;t[18]!==j||t[19]!==C||t[20]!==E||t[21]!==Ce?(Te={minimap:Se,wordWrap:`on`,fontSize:14,lineNumbers:Ce,readOnly:E,automaticLayout:j,scrollBeyondLastLine:!1,padding:we,...C},t[18]=j,t[19]=C,t[20]=E,t[21]=Ce,t[22]=Te):Te=t[22];let Ee=Te;if(!M){let e;t[23]===A?e=t[24]:(e={height:A},t[23]=A,t[24]=e);let n;t[25]===_?n=t[26]:(n=o(`w-full animate-pulse rounded-md border border-border bg-muted/30`,_),t[25]=_,t[26]=n);let r;return t[27]!==e||t[28]!==n?(r=(0,$.jsx)(`div`,{style:e,className:n}),t[27]=e,t[28]=n,t[29]=r):r=t[29],r}let L;t[30]!==N||t[31]!==_e||t[32]!==P||t[33]!==O||t[34]!==k?(L=()=>(0,$.jsxs)(`div`,{className:`flex items-center gap-1`,children:[O&&(0,$.jsxs)(`div`,{className:`flex items-center gap-1`,children:[(0,$.jsx)(`span`,{className:o(`text-xs text-green-500 transition-opacity duration-200`,N?`opacity-100`:`pointer-events-none opacity-0`),children:`Copied`}),(0,$.jsxs)(a,{variant:`ghost`,size:`icon`,onClick:_e,title:`Copy code`,className:`h-8 w-8 transition-opacity hover:opacity-100`,children:[N?(0,$.jsx)(c,{className:`size-4 text-green-500`}):(0,$.jsx)(l,{className:`size-4`}),(0,$.jsx)(`span`,{className:`sr-only`,children:`Copy`})]})]}),k&&(0,$.jsxs)(a,{variant:`ghost`,size:`icon`,onClick:ye,title:P?`Exit full-screen`:`Enter full-screen`,className:`h-8 w-8 transition-opacity hover:opacity-100`,children:[P?(0,$.jsx)(p,{className:`size-4`}):(0,$.jsx)(f,{className:`size-4`}),(0,$.jsx)(`span`,{className:`sr-only`,children:`Toggle Fullscreen`})]})]}),t[30]=N,t[31]=_e,t[32]=P,t[33]=O,t[34]=k,t[35]=L):L=t[35];let R=L,De=P&&`fixed inset-0 z-50 rounded-none border-none bg-muted/50`,Oe;t[36]!==_||t[37]!==De?(Oe=o(`group/editor-block relative flex flex-col overflow-hidden rounded-md border border-border text-sm`,De,_),t[36]=_,t[37]=De,t[38]=Oe):Oe=t[38];let ke;t[39]!==A||t[40]!==P?(ke=P?void 0:{height:A},t[39]=A,t[40]=P,t[41]=ke):ke=t[41];let Ae;t[42]!==R||t[43]!==de||t[44]!==D?(Ae=D===`default`&&(0,$.jsxs)(`div`,{className:`flex h-14 shrink-0 items-center justify-between rounded-t-[inherit] border-b border-border bg-muted/50 px-3 py-2`,children:[(0,$.jsx)(`span`,{className:`font-mono text-sm font-bold text-muted-foreground`,children:de}),(0,$.jsx)(R,{})]}),t[42]=R,t[43]=de,t[44]=D,t[45]=Ae):Ae=t[45];let je;t[46]!==R||t[47]!==D?(je=D===`minimal`&&(0,$.jsx)(`div`,{className:`absolute top-2 right-2 z-10 opacity-0 transition-opacity group-hover/editor-block:opacity-100`,children:(0,$.jsx)(R,{})}),t[46]=R,t[47]=D,t[48]=je):je=t[48];let Me;t[49]===Symbol.for(`react.memo_cache_sentinel`)?(Me=e=>{ae.current=e,e.editor.defineTheme(fa,ma(`light`)),e.editor.defineTheme(pa,ma(`dark`))},t[49]=Me):Me=t[49];let Ne;t[50]===I?Ne=t[51]:(Ne=(e,t)=>{t.editor.setTheme(I)},t[50]=I,t[51]=Ne);let Pe;t[52]===r?Pe=t[53]:(Pe=e=>r?.(e||``),t[52]=r,t[53]=Pe);let Fe;t[54]===Symbol.for(`react.memo_cache_sentinel`)?(Fe=(0,$.jsx)(`div`,{className:`flex h-full w-full animate-pulse items-center justify-center bg-muted/10 text-muted-foreground`,children:`Loading editor...`}),t[54]=Fe):Fe=t[54];let Ie;t[55]!==Ee||t[56]!==I||t[57]!==de||t[58]!==Ne||t[59]!==Pe||t[60]!==n?(Ie=(0,$.jsx)(`div`,{className:`relative min-h-0 flex-1`,children:(0,$.jsx)(nt,{height:`100%`,language:de,beforeMount:Me,onMount:Ne,theme:I,value:n,onChange:Pe,options:Ee,loading:Fe})}),t[55]=Ee,t[56]=I,t[57]=de,t[58]=Ne,t[59]=Pe,t[60]=n,t[61]=Ie):Ie=t[61];let Le;return t[62]!==Oe||t[63]!==ke||t[64]!==Ae||t[65]!==je||t[66]!==Ie?(Le=(0,$.jsxs)(`div`,{ref:ie,className:Oe,style:ke,children:[Ae,je,Ie]}),t[62]=Oe,t[63]=ke,t[64]=Ae,t[65]=je,t[66]=Ie,t[67]=Le):Le=t[67],Le}function ga(e){u.error(`Error enabling full-screen: ${e.message}`)}export{ua as n,la as r,ha as t}; \ No newline at end of file diff --git a/public/build/assets/main-layout-BJ0kmSsb.js b/public/build/assets/main-layout-BJ0kmSsb.js deleted file mode 100644 index 574933a..0000000 --- a/public/build/assets/main-layout-BJ0kmSsb.js +++ /dev/null @@ -1 +0,0 @@ -import{b as e,c as t,i as n,m as r,n as i,p as a,r as o,t as s,v as c,x as l,y as u}from"./wayfinder-DGNmxDkm.js";import{n as d}from"./use-appearance-QmpypXC6.js";import{t as f}from"./button-Dnfc0p4v.js";import{p}from"./dist-pNDkDpUt.js";import{n as m,t as h}from"./createLucideIcon-C5RzLdeU.js";import{t as g}from"./check-h5bDkP1T.js";import{t as _}from"./github-o-Azl6zG.js";import{n as v,t as y}from"./sun-BjqZX6Kk.js";import{D as b,E as x,O as S,T as C,_ as ee,b as te,g as ne,h as re,k as ie,o as ae,p as oe,r as se,v as ce,y as le}from"./app-D7ZTkNic.js";import{t as ue}from"./placeholder-pattern-Cshm3y5d.js";var de=h(`Menu`,[[`line`,{x1:`4`,x2:`20`,y1:`12`,y2:`12`,key:`1e0a9i`}],[`line`,{x1:`4`,x2:`20`,y1:`6`,y2:`6`,key:`1owob3`}],[`line`,{x1:`4`,x2:`20`,y1:`18`,y2:`18`,key:`yk5zj1`}]]),fe=h(`Palette`,[[`circle`,{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`1okk4w`}],[`circle`,{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`,key:`f64h9f`}],[`circle`,{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`fotxhn`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`,key:`qy21gx`}],[`path`,{d:`M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z`,key:`12rzf8`}]]),pe=h(`RotateCcw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),me=h(`Search`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]),w=l(r(),1),T=n(),E=o();function he(e){let t=(0,T.c)(14),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({children:n,as:o,className:r,style:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=o===void 0?`div`:o,c;t[6]===r?c=t[7]:(c=m(`container mx-auto px-4 md:px-6 lg:px-8`,r),t[6]=r,t[7]=c);let l;return t[8]!==s||t[9]!==n||t[10]!==i||t[11]!==a||t[12]!==c?(l=(0,E.jsx)(s,{...i,style:a,className:c,children:n}),t[8]=s,t[9]=n,t[10]=i,t[11]=a,t[12]=c,t[13]=l):l=t[13],l}he.displayName=`MainWrapper`;var ge=(0,w.createContext)({});function _e(e){let t=(0,w.useRef)(null);return t.current===null&&(t.current=e()),t.current}var ve=typeof window<`u`?w.useLayoutEffect:w.useEffect,ye=(0,w.createContext)(null);function be(e,t){e.indexOf(t)===-1&&e.push(t)}function xe(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var D=(e,t,n)=>n>t?t:n/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Ce(e){return typeof e==`object`&&!!e}var we=e=>/^0[^.\s]+$/u.test(e);function Te(e){let t;return()=>(t===void 0&&(t=e()),t)}var k=e=>e,Ee=(e,t)=>n=>t(e(n)),A=(...e)=>e.reduce(Ee),De=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Oe=class{constructor(){this.subscriptions=[]}add(e){return be(this.subscriptions,e),()=>xe(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;ie*1e3,M=e=>e/1e3;function ke(e,t){return t?1e3/t*e:0}var Ae=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,je=1e-7,Me=12;function Ne(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Ae(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>je&&++sNe(t,0,1,e,n);return e=>e===0||e===1?e:Ae(i(e),t,r)}var Pe=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Fe=e=>t=>1-e(1-t),Ie=N(.33,1.53,.69,.99),Le=Fe(Ie),Re=Pe(Le),ze=e=>e>=1?1:(e*=2)<1?.5*Le(e):.5*(2-2**(-10*(e-1))),Be=e=>1-Math.sin(Math.acos(e)),Ve=Fe(Be),He=Pe(Be),Ue=N(.42,0,1,1),We=N(0,0,.58,1),Ge=N(.42,0,.58,1),Ke=e=>Array.isArray(e)&&typeof e[0]!=`number`,qe=e=>Array.isArray(e)&&typeof e[0]==`number`,Je={linear:k,easeIn:Ue,easeInOut:Ge,easeOut:We,circIn:Be,circInOut:He,circOut:Ve,backIn:Le,backInOut:Re,backOut:Ie,anticipate:ze},Ye=e=>typeof e==`string`,Xe=e=>{if(qe(e)){e.length;let[t,n,r,i]=e;return N(t,n,r,i)}else if(Ye(e))return Je[e],`${e}`,Je[e];return e},Ze=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],P={value:null,addProjectionMetrics:null};function Qe(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&P.value&&P.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var $e=40;function et(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Ze.reduce((e,n)=>(e[n]=Qe(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=O.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,$e),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Ze.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t(rt===void 0&&L.set(I.isProcessing||O.useManualTiming?I.timestamp:performance.now()),rt),set:e=>{rt=e,queueMicrotask(it)}},at={layout:0,mainThread:0,waapi:0},ot=e=>t=>typeof t==`string`&&t.startsWith(e),st=ot(`--`),ct=ot(`var(--`),lt=e=>ct(e)?ut.test(e.split(`/*`)[0].trim()):!1,ut=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function dt(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var ft={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},pt={...ft,transform:e=>D(0,1,e)},mt={...ft,default:1},ht=e=>Math.round(e*1e5)/1e5,gt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function _t(e){return e==null}var vt=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,yt=(e,t)=>n=>!!(typeof n==`string`&&vt.test(n)&&n.startsWith(e)||t&&!_t(n)&&Object.prototype.hasOwnProperty.call(n,t)),bt=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(gt);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},xt=e=>D(0,255,e),St={...ft,transform:e=>Math.round(xt(e))},Ct={test:yt(`rgb`,`red`),parse:bt(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+St.transform(e)+`, `+St.transform(t)+`, `+St.transform(n)+`, `+ht(pt.transform(r))+`)`};function wt(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:yt(`#`),parse:wt,transform:Ct.transform},Et=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Dt=Et(`deg`),R=Et(`%`),z=Et(`px`),Ot=Et(`vh`),kt=Et(`vw`),At={...R,parse:e=>R.parse(e)/100,transform:e=>R.transform(e*100)},jt={test:yt(`hsl`,`hue`),parse:bt(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+R.transform(ht(t))+`, `+R.transform(ht(n))+`, `+ht(pt.transform(r))+`)`},B={test:e=>Ct.test(e)||Tt.test(e)||jt.test(e),parse:e=>Ct.test(e)?Ct.parse(e):jt.test(e)?jt.parse(e):Tt.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Ct.transform(e):jt.transform(e),getAnimatableNone:e=>{let t=B.parse(e);return t.alpha=0,B.transform(t)}},Mt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Nt(e){return isNaN(e)&&typeof e==`string`&&(e.match(gt)?.length||0)+(e.match(Mt)?.length||0)>0}var Pt=`number`,Ft=`color`,It=`var`,Lt=`var(`,Rt="${}",zt=/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(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(zt,e=>(B.test(e)?(r.color.push(a),i.push(Ft),n.push(B.parse(e))):e.startsWith(Lt)?(r.var.push(a),i.push(It),n.push(e)):(r.number.push(a),i.push(Pt),n.push(parseFloat(e))),++a,Rt)).split(Rt),indexes:r,types:i}}function Vt(e){return Bt(e).values}function Ht({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;atypeof e==`number`?0:B.test(e)?B.getAnimatableNone(e):e,Gt=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:Wt(e);function Kt(e){let t=Bt(e);return Ht(t)(t.values.map((e,n)=>Gt(e,t.split[n])))}var V={test:Nt,parse:Vt,createTransformer:Ut,getAnimatableNone:Kt};function qt(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 Jt({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=qt(s,r,e+1/3),a=qt(s,r,e),o=qt(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Yt(e,t){return n=>n>0?t:e}var H=(e,t,n)=>e+(t-e)*n,Xt=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Zt=[Tt,Ct,jt],Qt=e=>Zt.find(t=>t.test(e));function $t(e){let t=Qt(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===jt&&(n=Jt(n)),n}var en=(e,t)=>{let n=$t(e),r=$t(t);if(!n||!r)return Yt(e,t);let i={...n};return e=>(i.red=Xt(n.red,r.red,e),i.green=Xt(n.green,r.green,e),i.blue=Xt(n.blue,r.blue,e),i.alpha=H(n.alpha,r.alpha,e),Ct.transform(i))},tn=new Set([`none`,`hidden`]);function nn(e,t){return tn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function rn(e,t){return n=>H(e,t,n)}function an(e){return typeof e==`number`?rn:typeof e==`string`?lt(e)?Yt:B.test(e)?en:ln:Array.isArray(e)?on:typeof e==`object`?B.test(e)?en:sn:Yt}function on(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>an(e)(e,t[n]));return e=>{for(let t=0;t{for(let t in r)n[t]=r[t](e);return n}}function cn(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i{let n=V.createTransformer(t),r=Bt(e),i=Bt(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?tn.has(e)&&!i.values.length||tn.has(t)&&!r.values.length?nn(e,t):A(on(cn(r,i),i.values),n):(`${e}${t}`,Yt(e,t))};function un(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?H(e,t,n):an(e)(e,t)}var dn=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>F.update(t,e),stop:()=>tt(t),now:()=>I.isProcessing?I.timestamp:L.now()}},fn=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t=2e4?1/0:t}function hn(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(mn(r),pn);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:M(i)}}var U={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function gn(e,t){return e*Math.sqrt(1-t*t)}var _n=12;function vn(e,t,n){let r=n;for(let n=1;n<_n;n++)r-=e(r)/t(r);return r}var yn=.001;function bn({duration:e=U.duration,bounce:t=U.bounce,velocity:n=U.velocity,mass:r=U.mass}){let i,a;U.maxDuration;let o=1-t;o=D(U.minDamping,U.maxDamping,o),e=D(U.minDuration,U.maxDuration,M(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=gn(t,o),c=Math.exp(-i);return yn-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=gn(t**2,o);return(-i(t)+yn>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-yn+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=vn(i,a,s);if(e=j(e),isNaN(c))return{stiffness:U.stiffness,damping:U.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var xn=[`duration`,`bounce`],Sn=[`stiffness`,`damping`,`mass`];function Cn(e,t){return t.some(t=>e[t]!==void 0)}function wn(e){let t={velocity:U.velocity,stiffness:U.stiffness,damping:U.damping,mass:U.mass,isResolvedFromDuration:!1,...e};if(!Cn(e,Sn)&&Cn(e,xn))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*D(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:U.mass,stiffness:i,damping:a}}else{let n=bn({...e,velocity:0});t={...t,...n,mass:U.mass},t.isResolvedFromDuration=!0}return t}function Tn(e=U.visualDuration,t=U.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=wn({...n,velocity:-M(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=M(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?U.restSpeed.granular:U.restSpeed.default,i||=v?U.restDelta.granular:U.restDelta.default;let y,b,x,S,C,ee;if(h<1)x=gn(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,ee=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+ee*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let te={calculatedDuration:p&&d||null,velocity:e=>j(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=j(t*(C*n+ee*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=j(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(mn(te),pn),t=fn(t=>te.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return te}Tn.applyToOptions=e=>{let t=hn(e,100,Tn);return e.ease=t.ease,e.duration=j(t.duration),e.type=`keyframes`,e};var En=5;function Dn(e,t,n){let r=Math.max(t-En,0);return ke(n-e(r),t-r)}function On({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=>s!==void 0&&ec,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=Tn({keyframes:[f.value,m(f.value)],velocity:Dn(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function kn(e,t,n){let r=[],i=n||O.mix||un,a=e.length-1;for(let n=0;nt[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=kn(t,r,i),c=s.length,l=n=>{if(o&&n1)for(;rl(D(e[0],e[a-1],t)):l}function jn(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=De(0,t,r);e.push(H(n,1,i))}}function Mn(e){let t=[0];return jn(t,e.length-1),t}function Nn(e,t){return e.map(e=>e*t)}function Pn(e,t){return e.map(()=>t||Ge).splice(0,e.length-1)}function Fn({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Ke(r)?r.map(Xe):Xe(r),a={done:!1,value:t[0]},o=An(Nn(n&&n.length===t.length?n:Mn(t),e),t,{ease:Array.isArray(i)?i:Pn(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var In=e=>e!==null;function Ln(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(In),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var Rn={decay:On,inertia:On,tween:Fn,keyframes:Fn,spring:Tn};function zn(e){typeof e.type==`string`&&(e.type=Rn[e.type])}var Bn=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},Vn=e=>e/100,Hn=class extends Bn{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!==L.now()&&this.tick(L.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},at.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;zn(e);let{type:t=Fn,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||Fn;s!==Fn&&typeof o[0]!=`number`&&(this.mixKeyframes=A(Vn,un(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=mn(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.holdTime===null?this.currentTime=t:this.currentTime=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=D(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!==On&&(b.value=Ln(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 M(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+M(e)}get time(){return M(this.currentTime)}set time(e){e=j(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(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Dn(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(L.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=M(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=dn,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(L.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,at.mainThread--}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)}};function Un(e){for(let t=1;te*180/Math.PI,Gn=e=>qn(Wn(Math.atan2(e[1],e[0]))),Kn={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Gn,rotateZ:Gn,skewX:e=>Wn(Math.atan(e[1])),skewY:e=>Wn(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},qn=e=>(e%=360,e<0&&(e+=360),e),Jn=Gn,Yn=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Xn=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Zn={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Yn,scaleY:Xn,scale:e=>(Yn(e)+Xn(e))/2,rotateX:e=>qn(Wn(Math.atan2(e[6],e[5]))),rotateY:e=>qn(Wn(Math.atan2(-e[2],e[0]))),rotateZ:Jn,rotate:Jn,skewX:e=>Wn(Math.atan(e[4])),skewY:e=>Wn(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Qn(e){return+!!e.includes(`scale`)}function $n(e,t){if(!e||e===`none`)return Qn(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Zn,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Kn,i=t}if(!i)return Qn(t);let a=r[t],o=i[1].split(`,`).map(tr);return typeof a==`function`?a(o):o[a]}var er=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return $n(n,t)};function tr(e){return parseFloat(e.trim())}var nr=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],rr=new Set(nr),ir=e=>e===ft||e===z,ar=new Set([`x`,`y`,`z`]),or=nr.filter(e=>!ar.has(e));function sr(e){let t=[];return or.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var cr={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>$n(t,`x`),y:(e,{transform:t})=>$n(t,`y`)};cr.translateX=cr.x,cr.translateY=cr.y;var lr=new Set,ur=!1,dr=!1,fr=!1;function pr(){if(dr){let e=Array.from(lr).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=sr(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.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)})}dr=!1,ur=!1,lr.forEach(e=>e.complete(fr)),lr.clear()}function mr(){lr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(dr=!0)})}function hr(){fr=!0,mr(),pr(),fr=!1}var gr=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?(lr.add(this),ur||(ur=!0,F.read(mr),F.resolveKeyframes(pr))):(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=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Un(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),lr.delete(this)}cancel(){this.state===`scheduled`&&(lr.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},_r=e=>e.startsWith(`--`);function vr(e,t,n){_r(t)?e.style.setProperty(t,n):e.style[t]=n}var yr={};function br(e,t){let n=Te(e);return()=>yr[t]??n()}var xr=br(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),Sr=br(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),Cr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,wr={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Cr([0,.65,.55,1]),circOut:Cr([.55,0,1,.45]),backIn:Cr([.31,.01,.66,-.59]),backOut:Cr([.33,1.53,.69,.99])};function Tr(e,t){if(e)return typeof e==`function`?Sr()?fn(e,t):`ease-out`:qe(e)?Cr(e):Array.isArray(e)?e.map(e=>Tr(e,t)||wr.easeOut):wr[e]}function Er(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=Tr(s,i);Array.isArray(d)&&(u.easing=d),P.value&&at.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return P.value&&p.finished.finally(()=>{at.waapi--}),p}function Dr(e){return typeof e==`function`&&`applyToOptions`in e}function Or({type:e,...t}){return Dr(e)&&Sr()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var kr=class extends Bn{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=Or(e);this.animation=Er(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=Ln(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),vr(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}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 M(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+M(e)}get time(){return M(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=j(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,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&xr()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),k):r(this)}},Ar={anticipate:ze,backInOut:Re,circInOut:He};function jr(e){return e in Ar}function Mr(e){typeof e.ease==`string`&&jr(e.ease)&&(e.ease=Ar[e.ease])}var Nr=10,Pr=class extends kr{constructor(e){Mr(e),zn(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 Hn({...a,autoplay:!1}),s=Math.max(Nr,L.now()-this.startTime),c=D(0,Nr,s-Nr),l=o.sample(s).value,{name:u}=this.options;i&&u&&vr(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},Fr=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(V.test(e)||e===`0`)&&!e.startsWith(`url(`));function Ir(e){let t=e[0];if(e.length===1)return!0;for(let n=0;nObject.hasOwnProperty.call(Element.prototype,`animate`));function Wr(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return Ur()&&n&&(zr.has(n)||Hr.has(n)&&Vr(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Gr=40,Kr=class extends Bn{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=L.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||gr;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),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=L.now();let u=!0;Lr(e,i,a,o)||(u=!1,(O.instantAnimations||!s)&&l?.(Ln(e,n,t)),e[0]=e[e.length-1],Rr(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Gr?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Wr(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Pr({...d,element:p})}catch{m=new Hn(d)}else m=new Hn(d);m.finished.then(()=>{this.notifyFinished()}).catch(k),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),hr()),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 qr(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 Jr=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Yr(e){let t=Jr.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Xr(e,t,n=1){`${e}`;let[r,i]=Yr(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Se(e)?parseFloat(e):e}return lt(i)?Xr(i,t,n+1):i}var Zr={type:`spring`,stiffness:500,damping:25,restSpeed:10},Qr=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),$r={type:`keyframes`,duration:.8},ei={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},ti=(e,{keyframes:t})=>t.length>2?$r:rr.has(e)?e.startsWith(`scale`)?Qr(t[1]):Zr:ei;function ni(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function ri(e,t){let n=e?.[t]??e?.default??e;return n===e?n:ni(n,e)}var ii=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function ai(e){for(let t in e)if(!ii.has(t))return!0;return!1}var oi=(e,t,n,r={},i,a)=>o=>{let s=ri(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=j(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};ai(s)||Object.assign(u,ti(e,u)),u.duration&&=j(u.duration),u.repeatDelay&&=j(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Rr(u),u.delay===0&&(d=!0)),(O.instantAnimations||O.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,Rr(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=Ln(u.keyframes,s);if(e!==void 0){F.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new Hn(u):new Kr(u)};function si(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function ci(e,t,n,r){if(typeof t==`function`){let[i,a]=si(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=si(r);t=t(n===void 0?e.custom:n,i,a)}return t}function li(e,t,n){let r=e.getProps();return ci(r,t,n===void 0?r.custom:n,e)}var ui=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...nr]),di=30,fi=e=>!isNaN(parseFloat(e)),pi={current:void 0},mi=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=L.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),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=L.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=fi(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Oe);let n=this.events[e].add(t);return e===`change`?()=>{n(),F.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){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.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return pi.current&&pi.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=L.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>di)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,di);return ke(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function hi(e,t){return new mi(e,t)}var gi=e=>Array.isArray(e);function _i(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,hi(n))}function vi(e){return gi(e)?e[e.length-1]||0:e}function yi(e,t){let{transitionEnd:n={},transition:r={},...i}=li(e,t)||{};i={...i,...n};for(let t in i)_i(e,t,vi(i[t]))}var W=e=>!!(e&&e.getVelocity);function bi(e){return!!(W(e)&&e.add)}function xi(e,t){let n=e.getValue(`willChange`);if(bi(n))return n.add(t);if(!n&&O.WillChange){let n=new O.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Si(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Ci=`data-`+Si(`framerAppearId`);function wi(e){return e.props[Ci]}function Ti({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ei(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?ni(a,c):c;let l=a?.reduceMotion;r&&(a=r);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||d&&Ti(d,t))continue;let o={delay:n,...ri(a||{},t)},c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){F.update(()=>r.set(i));continue}let f=!1;if(window.MotionHandoffAnimation){let n=wi(e);if(n){let e=window.MotionHandoffAnimation(n,t,F);e!==null&&(o.startTime=e,f=!0)}}xi(e,t);let p=l??e.shouldReduceMotion;r.start(oi(t,r,i,p&&ui.has(t)?{type:!1}:o,e,f));let m=r.animation;m&&u.push(m)}if(o){let t=()=>F.update(()=>{o&&yi(e,o)});u.length?Promise.all(u).then(t):t()}return u}function Di(e,t,n={}){let r=li(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Ei(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Oi(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function Oi(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(Di(c,t,{...o,delay:n+(typeof r==`function`?0:r)+qr(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function ki(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>Di(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=Di(e,t,n);else{let i=typeof t==`function`?li(e,t,n.custom):t;r=Promise.all(Ei(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var Ai={test:e=>e===`auto`,parse:e=>e},ji=e=>t=>t.test(e),Mi=[ft,z,R,Dt,kt,Ot,Ai],Ni=e=>Mi.find(ji(e));function Pi(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||we(e)}var Fi=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Ii(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(gt)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Fi.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Li=/\b([a-z-]*)\(.*?\)/gu,Ri={...V,getAnimatableNone:e=>{let t=e.match(Li);return t?t.map(Ii).join(` `):e}},zi={...V,getAnimatableNone:e=>{let t=V.parse(e);return V.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Bi={...ft,transform:Math.round},Vi={borderWidth:z,borderTopWidth:z,borderRightWidth:z,borderBottomWidth:z,borderLeftWidth:z,borderRadius:z,borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomRightRadius:z,borderBottomLeftRadius:z,width:z,maxWidth:z,height:z,maxHeight:z,top:z,right:z,bottom:z,left:z,inset:z,insetBlock:z,insetBlockStart:z,insetBlockEnd:z,insetInline:z,insetInlineStart:z,insetInlineEnd:z,padding:z,paddingTop:z,paddingRight:z,paddingBottom:z,paddingLeft:z,paddingBlock:z,paddingBlockStart:z,paddingBlockEnd:z,paddingInline:z,paddingInlineStart:z,paddingInlineEnd:z,margin:z,marginTop:z,marginRight:z,marginBottom:z,marginLeft:z,marginBlock:z,marginBlockStart:z,marginBlockEnd:z,marginInline:z,marginInlineStart:z,marginInlineEnd:z,fontSize:z,backgroundPositionX:z,backgroundPositionY:z,rotate:Dt,rotateX:Dt,rotateY:Dt,rotateZ:Dt,scale:mt,scaleX:mt,scaleY:mt,scaleZ:mt,skew:Dt,skewX:Dt,skewY:Dt,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z,perspective:z,transformPerspective:z,opacity:pt,originX:At,originY:At,originZ:z,zIndex:Bi,fillOpacity:pt,strokeOpacity:pt,numOctaves:Bi},Hi={...Vi,color:B,backgroundColor:B,outlineColor:B,fill:B,stroke:B,borderColor:B,borderTopColor:B,borderRightColor:B,borderBottomColor:B,borderLeftColor:B,filter:Ri,WebkitFilter:Ri,mask:zi,WebkitMask:zi},Ui=e=>Hi[e],Wi=new Set([Ri,zi]);function Gi(e,t){let n=Ui(e);return Wi.has(n)||(n=V),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Ki=new Set([`auto`,`none`,`0`]);function qi(e,t,n){let r=0,i;for(;r{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function Yi(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 Xi=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Zi(e){return Ce(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Qi,cancel:$i}=et(queueMicrotask,!1),G={x:!1,y:!1};function ea(){return G.x||G.y}function ta(e){return e===`x`||e===`y`?G[e]?null:(G[e]=!0,()=>{G[e]=!1}):G.x||G.y?null:(G.x=G.y=!0,()=>{G.x=G.y=!1})}function na(e,t){let n=Yi(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function ra(e){return!(e.pointerType===`touch`||ea())}function ia(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(!ra(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 aa=(e,t)=>t?e===t?!0:aa(e,t.parentElement):!1,oa=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,sa=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function ca(e){return sa.has(e.tagName)||e.isContentEditable===!0}var la=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function ua(e){return la.has(e.tagName)||e.isContentEditable===!0}var da=new WeakSet;function fa(e){return t=>{t.key===`Enter`&&e(t)}}function pa(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var ma=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=fa(()=>{if(da.has(n))return;pa(n,`down`);let e=fa(()=>{pa(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>pa(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function ha(e){return oa(e)&&!ea()}var ga=new WeakSet;function _a(e,t,n={}){let[r,i,a]=na(e,n),o=e=>{let r=e.currentTarget;if(!ha(e)||ga.has(e))return;da.add(r),n.stopPropagation&&ga.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),da.has(r)&&da.delete(r),ha(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||aa(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Zi(e)&&(e.addEventListener(`focus`,e=>ma(e,i)),!ca(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function va(e){return Ce(e)&&`ownerSVGElement`in e}var ya=new WeakMap,ba,xa=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:va(r)&&`getBBox`in r?r.getBBox()[t]:r[n],Sa=xa(`inline`,`width`,`offsetWidth`),Ca=xa(`block`,`height`,`offsetHeight`);function wa({target:e,borderBoxSize:t}){ya.get(e)?.forEach(n=>{n(e,{get width(){return Sa(e,t)},get height(){return Ca(e,t)}})})}function Ta(e){e.forEach(wa)}function Ea(){typeof ResizeObserver>`u`||(ba=new ResizeObserver(Ta))}function Da(e,t){ba||Ea();let n=Yi(e);return n.forEach(e=>{let n=ya.get(e);n||(n=new Set,ya.set(e,n)),n.add(t),ba?.observe(e)}),()=>{n.forEach(e=>{let n=ya.get(e);n?.delete(t),n?.size||ba?.unobserve(e)})}}var Oa=new Set,ka;function Aa(){ka=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Oa.forEach(t=>t(e))},window.addEventListener(`resize`,ka)}function ja(e){return Oa.add(e),ka||Aa(),()=>{Oa.delete(e),!Oa.size&&typeof ka==`function`&&(window.removeEventListener(`resize`,ka),ka=void 0)}}function Ma(e,t){return typeof e==`function`?ja(e):Da(e,t)}function Na(e){return va(e)&&e.tagName===`svg`}var Pa=[...Mi,B,V],Fa=e=>Pa.find(ji(e)),Ia=()=>({translate:0,scale:1,origin:0,originPoint:0}),La=()=>({x:Ia(),y:Ia()}),Ra=()=>({min:0,max:0}),K=()=>({x:Ra(),y:Ra()}),za=new WeakMap;function Ba(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Va(e){return typeof e==`string`||Array.isArray(e)}var Ha=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Ua=[`initial`,...Ha];function Wa(e){return Ba(e.animate)||Ua.some(t=>Va(e[t]))}function Ga(e){return!!(Wa(e)||e.variants)}function Ka(e,t,n){for(let r in t){let i=t[r],a=n[r];if(W(i))e.addValue(r,i);else if(W(a))e.addValue(r,hi(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,hi(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var qa={current:null},Ja={current:!1},Ya=typeof window<`u`;function Xa(){if(Ja.current=!0,Ya)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>qa.current=e.matches;e.addEventListener(`change`,t),t()}else qa.current=!1}var Za=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Qa={};function $a(e){Qa=e}function eo(){return Qa}var to=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=gr,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=L.now();this.renderScheduledAtthis.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(Ja.current||Xa(),this.shouldReduceMotion=qa.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(),tt(this.notifyUpdate),tt(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&&zr.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new kr({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:j(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=rr.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&F.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(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Qa){let t=Qa[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):K()}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;tt.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}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=hi(t===null?void 0:t,{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`&&(Se(n)||we(n))?n=parseFloat(n):!Fa(n)&&V.test(t)&&(n=Gi(e,t)),this.setBaseTarget(e,W(n)?n.get():n)),W(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=ci(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!W(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Oe),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Qi.render(this.render)}},no=class extends to{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;W(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},ro=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function io({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ao({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function oo(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 so(e){return e===void 0||e===1}function co({scale:e,scaleX:t,scaleY:n}){return!so(e)||!so(t)||!so(n)}function lo(e){return co(e)||uo(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function uo(e){return fo(e.x)||fo(e.y)}function fo(e){return e&&e!==`0%`}function po(e,t,n){return n+t*(e-n)}function mo(e,t,n,r,i){return i!==void 0&&(e=po(e,i,r)),po(e,n,r)+t}function ho(e,t=0,n=1,r,i){e.min=mo(e.min,t,n,r,i),e.max=mo(e.max,t,n,r,i)}function go(e,{x:t,y:n}){ho(e.x,t.translate,t.scale,t.originPoint),ho(e.y,n.translate,n.scale,n.originPoint)}var _o=.999999999999,vo=1.0000000000001;function yo(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_o&&(t.x=1),t.y_o&&(t.y=1)}function q(e,t){e.min+=t,e.max+=t}function bo(e,t,n,r,i=.5){ho(e,t,n,H(e.min,e.max,i),r)}function xo(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function So(e,t,n){let r=n??e;bo(e.x,xo(t.x,r.x),t.scaleX,t.scale,t.originX),bo(e.y,xo(t.y,r.y),t.scaleY,t.scale,t.originY)}function Co(e,t){return io(oo(e.getBoundingClientRect(),t))}function wo(e,t,n){let r=Co(e,n),{scroll:i}=t;return i&&(q(r.x,i.offset.x),q(r.y,i.offset.y)),r}var To={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},Eo=nr.length;function Do(e,t,n){let r=``,i=!0;for(let a=0;a{if(!t.target)return e;if(typeof e==`string`)if(z.test(e))e=parseFloat(e);else return e;return`${Ao(e,t.target.x)}% ${Ao(e,t.target.y)}%`}},Mo={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=V.parse(e);if(i.length>5)return r;let a=V.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=H(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},No={borderRadius:{...jo,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:jo,borderTopRightRadius:jo,borderBottomLeftRadius:jo,borderBottomRightRadius:jo,boxShadow:Mo};function Po(e,{layout:t,layoutId:n}){return rr.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!No[e]||e===`opacity`)}function Fo(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(W(r[t])||i&&W(i[t])||Po(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Io(e){return window.getComputedStyle(e)}var Lo=class extends no{constructor(){super(...arguments),this.type=`html`,this.renderInstance=ko}readValueFromInstance(e,t){if(rr.has(t))return this.projection?.isProjecting?Qn(t):er(e,t);{let n=Io(e),r=(st(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Co(e,t)}build(e,t,n){Oo(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Fo(e,t,n)}},Ro={offset:`stroke-dashoffset`,array:`stroke-dasharray`},zo={offset:`strokeDashoffset`,array:`strokeDasharray`};function Bo(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Ro:zo;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Vo=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Ho(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(Oo(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;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Vo)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Bo(d,i,a,o,!1)}var Uo=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`]),Wo=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Go(e,t,n,r){ko(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Uo.has(n)?n:Si(n),t.attrs[n])}function Ko(e,t,n){let r=Fo(e,t,n);for(let n in e)if(W(e[n])||W(t[n])){let t=nr.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var qo=class extends no{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=K}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(rr.has(t)){let e=Ui(t);return e&&e.default||0}return t=Uo.has(t)?t:Si(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Ko(e,t,n)}build(e,t,n){Ho(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Go(e,t,n,r)}mount(e){this.isSVGTag=Wo(e.tagName),super.mount(e)}},Jo=Ua.length;function Yo(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Yo(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;nPromise.all(t.map(({animation:t,options:n})=>ki(e,t,n)))}function es(e){let t=$o(e),n=rs(),r=!0,i=!1,a=t=>(n,r)=>{let i=li(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Yo(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;tf&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:ee={}}=m,te={...ee,...C},ne=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in te){let t=C[e],n=ee[e];if(d.hasOwnProperty(e))continue;let r=!1;r=gi(t)&&gi(n)?!Xo(t,n):t!==n,r?t==null?u.add(e):ne(e):t!==void 0&&u.has(e)?ne(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let re=v&&y;b&&(!re||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!re&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=li(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=qr(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=li(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(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=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=rs(),i=!0}}}function ts(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Xo(t,e):!1}function ns(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rs(){return{animate:ns(!0),whileInView:ns(),whileHover:ns(),whileTap:ns(),whileDrag:ns(),whileFocus:ns(),exit:ns()}}function is(e,t){e.min=t.min,e.max=t.max}function J(e,t){is(e.x,t.x),is(e.y,t.y)}function as(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var os=1e-4,ss=1-os,cs=1+os,ls=.01,us=0-ls,ds=0+ls;function Y(e){return e.max-e.min}function fs(e,t,n){return Math.abs(e-t)<=n}function ps(e,t,n,r=.5){e.origin=r,e.originPoint=H(t.min,t.max,e.origin),e.scale=Y(n)/Y(t),e.translate=H(n.min,n.max,e.origin)-e.originPoint,(e.scale>=ss&&e.scale<=cs||isNaN(e.scale))&&(e.scale=1),(e.translate>=us&&e.translate<=ds||isNaN(e.translate))&&(e.translate=0)}function ms(e,t,n,r){ps(e.x,t.x,n.x,r?r.originX:void 0),ps(e.y,t.y,n.y,r?r.originY:void 0)}function hs(e,t,n,r=0){e.min=(r?H(n.min,n.max,r):n.min)+t.min,e.max=e.min+Y(t)}function gs(e,t,n,r){hs(e.x,t.x,n.x,r?.x),hs(e.y,t.y,n.y,r?.y)}function _s(e,t,n,r=0){let i=r?H(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Y(t)}function vs(e,t,n,r){_s(e.x,t.x,n.x,r?.x),_s(e.y,t.y,n.y,r?.y)}function ys(e,t,n,r,i){return e-=t,e=po(e,1/n,r),i!==void 0&&(e=po(e,1/i,r)),e}function bs(e,t=0,n=1,r=.5,i,a=e,o=e){if(R.test(t)&&(t=parseFloat(t),t=H(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=H(a.min,a.max,r);e===a&&(s-=t),e.min=ys(e.min,t,n,s,i),e.max=ys(e.max,t,n,s,i)}function xs(e,t,[n,r,i],a,o){bs(e,t[n],t[r],t[i],t.scale,a,o)}var Ss=[`x`,`scaleX`,`originX`],Cs=[`y`,`scaleY`,`originY`];function ws(e,t,n,r){xs(e.x,t,Ss,n?n.x:void 0,r?r.x:void 0),xs(e.y,t,Cs,n?n.y:void 0,r?r.y:void 0)}function Ts(e){return e.translate===0&&e.scale===1}function Es(e){return Ts(e.x)&&Ts(e.y)}function Ds(e,t){return e.min===t.min&&e.max===t.max}function Os(e,t){return Ds(e.x,t.x)&&Ds(e.y,t.y)}function ks(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function As(e,t){return ks(e.x,t.x)&&ks(e.y,t.y)}function js(e){return Y(e.x)/Y(e.y)}function Ms(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Ns(e){return[e(`x`),e(`y`)]}function Ps(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,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}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 Fs=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],Is=Fs.length,Ls=e=>typeof e==`string`?parseFloat(e):e,Rs=e=>typeof e==`number`||z.test(e);function zs(e,t,n,r,i,a){i?(e.opacity=H(0,n.opacity??1,Vs(r)),e.opacityExit=H(t.opacity??1,0,Hs(r))):a&&(e.opacity=H(t.opacity??1,n.opacity??1,r));for(let i=0;irt?1:n(De(e,t,r))}function Ws(e,t,n){let r=W(e)?e:hi(e);return r.start(oi(``,r,t,n)),r.animation}function Gs(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Ks=(e,t)=>e.depth-t.depth,qs=class{constructor(){this.children=[],this.isDirty=!1}add(e){be(this.children,e),this.isDirty=!0}remove(e){xe(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ks),this.isDirty=!1,this.children.forEach(e)}};function Js(e,t){let n=L.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(tt(r),e(a-t))};return F.setup(r,!0),()=>tt(r)}function Ys(e){return W(e)?e.get():e}var Xs=class{constructor(){this.members=[]}add(e){be(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&&(xe(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(xe(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)}},Zs={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Qs={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},$s=[``,`X`,`Y`,`Z`],ec=1e3,tc=0;function nc(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function rc(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=wi(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,F,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&rc(r)}function ic({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=tc++,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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,P.value&&(Qs.nodes=Qs.calculatedTargetDeltas=Qs.calculatedProjections=0),this.nodes.forEach(sc),this.nodes.forEach(gc),this.nodes.forEach(_c),this.nodes.forEach(cc),P.addProjectionMetrics&&P.addProjectionMetrics(Qs)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=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;ethis.root.updateBlockedByResize=!1;F.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Js(i,250),Zs.hasAnimatedSinceResize&&(Zs.hasAnimatedSinceResize=!1,this.nodes.forEach(hc)))})}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()||wc,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!As(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={...ri(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l)}else t||hc(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(),tt(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(vc),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&&rc(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Y(this.snapshot.measuredBox.x)&&!Y(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{let n=t/1e3;bc(a.x,e.x,n),bc(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(vs(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Sc(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&Os(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=K(),J(d,this.relativeTarget)),s&&(this.animationValues=i,zs(i,r,this.latestValues,n,u,l)),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&&=(tt(this.pendingAnimation),void 0),this.pendingAnimation=F.update(()=>{Zs.hasAnimatedSinceResize=!0,at.layout++,this.motionValue||=hi(0),this.motionValue.jump(0,!1),this.currentAnimation=Ws(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{at.layout--},onComplete:()=>{at.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),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(ec),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&kc(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||K();let t=Y(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Y(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}J(t,n),So(t,i),ms(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Xs),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:!0}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&&nc(`z`,e,r,this.animationValues);for(let t=0;t<$s.length;t++)nc(`rotate${$s[t]}`,e,r,this.animationValues),nc(`skew${$s[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=Ys(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=Ys(t?.pointerEvents)||``),this.hasProjected&&!lo(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Ps(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`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in No){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=No[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;ne.currentAnimation?.stop()),this.root.nodes.forEach(uc),this.root.sharedNodes.clear()}}}function ac(e){e.updateLayout()}function oc(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`)Ns(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Y(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;is(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else kc(i,t.layoutBox,n)&&Ns(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Y(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=La();ms(o,n,t.layoutBox);let s=La();a?ms(s,e.applyTransform(r,!0),t.measuredBox):ms(s,n,t.layoutBox);let c=!Es(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=K();vs(s,t.layoutBox,i.layoutBox,o);let c=K();vs(c,n,a.layoutBox,o),As(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 sc(e){P.value&&Qs.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 cc(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function lc(e){e.clearSnapshot()}function uc(e){e.clearMeasurements()}function dc(e){e.isLayoutDirty=!0,e.updateLayout()}function fc(e){e.isLayoutDirty=!1}function pc(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function mc(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function hc(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function gc(e){e.resolveTargetDelta()}function _c(e){e.calcProjection()}function vc(e){e.resetSkewAndRotation()}function yc(e){e.removeLeadSnapshot()}function bc(e,t,n){e.translate=H(t.translate,0,n),e.scale=H(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function xc(e,t,n,r){e.min=H(t.min,n.min,r),e.max=H(t.max,n.max,r)}function Sc(e,t,n,r){xc(e.x,t.x,n.x,r),xc(e.y,t.y,n.y,r)}function Cc(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var wc={duration:.45,ease:[.4,0,.1,1]},Tc=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ec=Tc(`applewebkit/`)&&!Tc(`chrome/`)?Math.round:k;function Dc(e){e.min=Ec(e.min),e.max=Ec(e.max)}function Oc(e){Dc(e.x),Dc(e.y)}function kc(e,t,n){return e===`position`||e===`preserve-aspect`&&!fs(js(t),js(n),.2)}function Ac(e){return e!==e.root&&e.scroll?.wasRoot}var jc=ic({attachResizeListener:(e,t)=>Gs(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Mc={current:void 0},Nc=ic({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Mc.current){let e=new jc({});e.mount(window),e.setOptions({layoutScroll:!0}),Mc.current=e}return Mc.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),Pc=(0,w.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function Fc(e=!0){let t=(0,w.useContext)(ye);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,w.useId)();(0,w.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,w.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var Ic=(0,w.createContext)({strict:!1}),Lc={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`]},Rc=!1;function zc(){if(Rc)return;let e={};for(let t in Lc)e[t]={isEnabled:e=>Lc[t].some(t=>!!e[t])};$a(e),Rc=!0}function Bc(){return zc(),eo()}function Vc(e){let t=Bc();for(let n in e)t[n]={...t[n],...e[n]};$a(t)}var Hc=new Set(`animate.exit.variants.initial.style.values.variants.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 Uc(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Hc.has(e)}var Wc=u({default:()=>Gc}),Gc,Kc=c((()=>{throw Gc={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),qc=e=>!Uc(e);function Jc(e){typeof e==`function`&&(qc=t=>t.startsWith(`on`)?!Uc(t):e(t))}try{Jc((Kc(),e(Wc)).default)}catch{}function Yc(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||W(e[i])||(qc(i)||n===!0&&Uc(i)||!t&&!Uc(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var Xc=(0,w.createContext)({});function Zc(e,t){if(Wa(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Va(t)?t:void 0,animate:Va(n)?n:void 0}}return e.inherit===!1?{}:t}function Qc(e){let{initial:t,animate:n}=Zc(e,(0,w.useContext)(Xc));return(0,w.useMemo)(()=>({initial:t,animate:n}),[$c(t),$c(n)])}function $c(e){return Array.isArray(e)?e.join(` `):e}var el=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function tl(e,t,n){for(let r in t)!W(t[r])&&!Po(r,n)&&(e[r]=t[r])}function nl({transformTemplate:e},t){return(0,w.useMemo)(()=>{let n=el();return Oo(n,t,e),Object.assign({},n.vars,n.style)},[t])}function rl(e,t){let n=e.style||{},r={};return tl(r,n,e),Object.assign(r,nl(e,t)),r}function il(e,t){let n={},r=rl(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 al=()=>({...el(),attrs:{}});function ol(e,t,n,r){let i=(0,w.useMemo)(()=>{let n=al();return Ho(n,t,Wo(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};tl(t,e.style,e),i.style={...t,...i.style}}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){let s=(o??cl(e)?ol:il)(t,r,i,e),c=Yc(t,typeof e==`string`,a),l=e===w.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,w.useMemo)(()=>W(u)?u.get():u,[u]);return(0,w.createElement)(e,{...l,children:d})}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]=Ys(a[e]);let{initial:o,animate:s}=e,c=Wa(e),l=Ga(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`&&!Ba(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n(t,n)=>{let r=(0,w.useContext)(Xc),i=(0,w.useContext)(ye),a=()=>ul(e,t,r,i);return n?a():_e(a)},pl=fl({scrapeMotionValuesFromProps:Fo,createRenderState:el}),ml=fl({scrapeMotionValuesFromProps:Ko,createRenderState:al}),hl=Symbol.for(`motionComponentSymbol`);function gl(e,t,n){let r=(0,w.useRef)(n);(0,w.useInsertionEffect)(()=>{r.current=n});let i=(0,w.useRef)(null);return(0,w.useCallback)(n=>{n&&e.onMount?.(n);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&&(n?t.mount(n):t.unmount())},[t])}var _l=(0,w.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,w.useContext)(Xc),s=(0,w.useContext)(Ic),c=(0,w.useContext)(ye),l=(0,w.useContext)(Pc),u=l.reducedMotion,d=l.skipAnimations,f=(0,w.useRef)(null),p=(0,w.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,w.useContext)(_l);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&bl(f.current,n,i,h);let g=(0,w.useRef)(!1);(0,w.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[Ci],v=(0,w.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return ve(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,w.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&&Vc(r);let a=n?n===`svg`:cl(e),o=a?ml:pl;function s(n,s){let c,l={...(0,w.useContext)(Pc),...n,layoutId:Cl(n)},{isStatic:u}=l,d=Qc(n),f=o(n,u);if(!u&&typeof window<`u`){wl(l,r);let t=Tl(l);c=t.MeasureLayout,d.visualElement=yl(e,f,l,i,t.ProjectionNode,a)}return(0,E.jsxs)(Xc.Provider,{value:d,children:[c&&d.visualElement?(0,E.jsx)(c,{visualElement:d.visualElement,...l}):null,ll(e,n,gl(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,w.forwardRef)(s);return c[hl]=e,c}function Cl({layoutId:e}){let t=(0,w.useContext)(ge).id;return t&&e!==void 0?t+`-`+e:e}function wl(e,t){(0,w.useContext)(Ic).strict}function Tl(e){let{drag:t,layout:n}=Bc();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function El(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 Dl=(e,t)=>t.isSVG??cl(e)?new qo(t):new Lo(t,{allowProjection:e!==w.Fragment}),Ol=class extends ro{constructor(e){super(e),e.animationState||=es(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Ba(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?.()}},kl=0,Al={animation:{Feature:Ol},exit:{Feature:class extends ro{constructor(){super(...arguments),this.id=kl++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`){let n=li(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function jl(e){return{point:{x:e.pageX,y:e.pageY}}}var Ml=e=>t=>oa(t)&&e(t,jl(t));function Nl(e,t,n,r){return Gs(e,t,Ml(n),r)}var Pl=({current:e})=>e?e.ownerDocument.defaultView:null,Fl=(e,t)=>Math.abs(e-t);function Il(e,t){let n=Fl(e.x,t.x),r=Fl(e.y,t.y);return Math.sqrt(n**2+r**2)}var Ll=new Set([`auto`,`scroll`]),Rl=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.lastRawMoveEventInfo&&(this.lastMoveEventInfo=zl(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Vl(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Il(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=I;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=zl(t,this.transformPagePoint),F.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{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=Vl(e.type===`pointercancel`?this.lastMoveEventInfo:zl(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!oa(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=zl(jl(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=I;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Vl(s,this.history)),this.removeListeners=A(Nl(this.contextWindow,`pointermove`,this.handlePointerMove),Nl(this.contextWindow,`pointerup`,this.handlePointerUp),Nl(this.contextWindow,`pointercancel`,this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(Ll.has(e.overflowX)||Ll.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),F.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tt(this.updatePoint)}};function zl(e,t){return t?{point:t(e.point)}:e}function Bl(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Vl({point:e},t){return{point:e,delta:Bl(e,Ul(t)),offset:Bl(e,Hl(t)),velocity:Wl(t,.1)}}function Hl(e){return e[0]}function Ul(e){return e[e.length-1]}function Wl(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Ul(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>j(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>j(t)*2&&(r=e[1]);let a=M(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 Gl(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?H(n,e,r.max):Math.min(e,n)),e}function Kl(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 ql(e,{top:t,left:n,bottom:r,right:i}){return{x:Kl(e.x,n,i),y:Kl(e.y,t,r)}}function Jl(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=De(t.min,t.max-r,e.min):r>i&&(n=De(e.min,e.max-i,t.min)),D(0,1,n)}function Zl(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 Ql=.35;function $l(e=Ql){return e===!1?e=0:e===!0&&(e=Ql),{x:eu(e,`left`,`right`),y:eu(e,`top`,`bottom`)}}function eu(e,t,n){return{min:tu(e,t),max:tu(e,n)}}function tu(e,t){return typeof e==`number`?e:e[t]||0}var nu=new WeakMap,ru=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=K(),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(jl(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ta(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),Ns(e=>{let t=this.getAxisMotionValue(e).get()||0;if(R.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Y(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&F.update(()=>i(e,t),!1,!0),xi(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=su(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&&F.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 Rl(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:Pl(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&&F.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||!ou(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Gl(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():e&&n?this.constraints=ql(n.layoutBox,e):this.constraints=!1,this.elastic=$l(t),r!==this.constraints&&!vl(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Ns(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Zl(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;let i=wo(n,r.root,this.visualElement.getTransformPagePoint()),a=Yl(r.layout.layoutBox,i);if(t){let e=t(ao(a));this.hasMutatedConstraints=!!e,e&&(a=io(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Ns(o=>{if(!ou(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 xi(this.visualElement,e),n.start(oi(e,n,0,t,this.visualElement,!1))}stopAnimation(){Ns(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Ns(t=>{let{drag:n}=this.getProps();if(!ou(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-H(n,a,.5)+o)}})}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={x:0,y:0};Ns(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=Xl({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ns(t=>{if(!ou(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(H(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;nu.set(this.visualElement,this);let e=this.visualElement.current,t=Nl(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&ua(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();vl(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=au(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),F.read(r);let o=Gs(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Ns(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=Ql,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function iu(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function au(e,t,n){let r=Ma(e,iu(n)),i=Ma(t,iu(n));return()=>{r(),i()}}function ou(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function su(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var cu=class extends ro{constructor(e){super(e),this.removeGroupControls=k,this.removeListeners=k,this.controls=new ru(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||k}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()}},lu=e=>(t,n)=>{e&&F.update(()=>e(t,n),!1,!0)},uu=class extends ro{constructor(){super(...arguments),this.removePointerDownListener=k}onPointerDown(e){this.session=new Rl(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Pl(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:lu(e),onStart:lu(t),onMove:lu(n),onEnd:(e,t)=>{delete this.session,r&&F.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Nl(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},du=!1,fu=class extends w.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),du&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Zs.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}),du=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||F.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(),Qi.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;du=!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 pu(e){let[t,n]=Fc(),r=(0,w.useContext)(ge);return(0,E.jsx)(fu,{...e,layoutGroup:r,switchLayoutGroup:(0,w.useContext)(_l),isPresent:t,safeToRemove:n})}var mu={pan:{Feature:uu},drag:{Feature:cu,ProjectionNode:Nc,MeasureLayout:pu}};function hu(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&F.postRender(()=>i(t,jl(t)))}var gu=class extends ro{mount(){let{current:e}=this.node;e&&(this.unmount=ia(e,(e,t)=>(hu(this.node,t,`Start`),e=>hu(this.node,e,`End`))))}unmount(){}},_u=class extends ro{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=A(Gs(this.node.current,`focus`,()=>this.onFocus()),Gs(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function vu(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&&F.postRender(()=>i(t,jl(t)))}var yu=class extends ro{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=_a(e,(e,t)=>(vu(this.node,t,`Start`),(e,{success:t})=>vu(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},bu=new WeakMap,xu=new WeakMap,Su=e=>{let t=bu.get(e.target);t&&t(e)},Cu=e=>{e.forEach(Su)};function wu({root:e,...t}){let n=e||document;xu.has(n)||xu.set(n,{});let r=xu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Cu,{root:e,...t})),r[i]}function Tu(e,t,n){let r=wu(t);return bu.set(e,n),r.observe(e),()=>{bu.delete(e),r.unobserve(e)}}var Eu={some:0,all:1},Du=class extends ro{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:Eu[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=Tu(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(Ou(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function Ou({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var ku={inView:{Feature:Du},tap:{Feature:yu},focus:{Feature:_u},hover:{Feature:gu}},Au={layout:{ProjectionNode:Nc,MeasureLayout:pu}},ju=El({...Al,...ku,...mu,...Au},Dl),Mu=[{href:`#`,label:`Features`},{href:`#`,label:`Blog`},{href:`#`,label:`About`},{href:`#`,label:`Contact`},{href:`#`,label:`Licence`},{href:`#`,label:`Privacy`}],Nu=[{href:`#`,label:`X`,icon:(0,E.jsx)(Lu,{})},{href:`#`,label:`Github`,icon:(0,E.jsx)(_,{})}];function Pu(){let e=(0,T.c)(8),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,E.jsx)(`div`,{className:`relative`,children:(0,E.jsx)(`div`,{className:`relative mx-5 h-5`,children:(0,E.jsx)(ue,{className:`absolute inset-0 h-full w-full border-y border-border/75 stroke-border/75`})})}),e[0]=n):n=e[0];let r;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=ae(),e[1]=r):r=e[1];let i;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`div`,{className:`flex items-center gap-2`,children:(0,E.jsx)(t,{prefetch:!0,href:r,children:(0,E.jsxs)(`span`,{className:`flex items-center gap-2 text-lg`,children:[(0,E.jsx)(`span`,{className:`flex size-8 items-center justify-center rounded-md bg-foreground text-background`,children:`ui`}),(0,E.jsx)(`span`,{children:`designbycode`})]})})}),e[2]=i):i=e[2];let a;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,E.jsxs)(`div`,{className:`flex items-center justify-between`,children:[i,(0,E.jsx)(`div`,{className:`flex items-center`,children:Nu.map(Iu)})]}),e[3]=a):a=e[3];let o;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,E.jsx)(he,{children:(0,E.jsxs)(`div`,{className:`flex flex-col gap-6 py-6`,children:[a,(0,E.jsx)(`nav`,{children:(0,E.jsx)(`ul`,{className:`flex flex-wrap gap-4 text-sm font-medium text-muted-foreground md:gap-6`,children:Mu.map(Fu)})})]})}),e[4]=o):o=e[4];let s;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`div`,{className:`relative`,children:(0,E.jsx)(`div`,{className:`relative mx-5 h-5`,children:(0,E.jsx)(ue,{className:`absolute inset-0 h-full w-full border-y border-border/75 stroke-border/75`})})}),e[5]=s):s=e[5];let c;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,E.jsxs)(`p`,{children:[`© `,new Date().getFullYear(),` ui.designbycode`]}),e[6]=c):c=e[6];let l;return e[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,E.jsxs)(`footer`,{className:`mt-6`,children:[n,o,s,(0,E.jsx)(he,{children:(0,E.jsxs)(`div`,{className:`flex items-center justify-between gap-4 py-6 text-sm text-muted-foreground`,children:[c,(0,E.jsxs)(`p`,{className:`inline-flex items-center gap-1`,children:[(0,E.jsx)(`span`,{children:`Built by`}),(0,E.jsx)(`a`,{"aria-label":`x/twitter`,className:`inline-flex items-center gap-1 text-foreground/80 hover:text-foreground hover:underline`,href:`https://designbycode.co.za`,rel:`noreferrer`,target:`_blank`,children:`designbycode`})]})]})})]}),e[7]=l):l=e[7],l}function Fu(e){return(0,E.jsx)(`li`,{children:(0,E.jsx)(`a`,{className:`hover:text-foreground`,href:e.href,children:e.label})},e.label)}function Iu(e){let{href:t,label:n,icon:r}=e;return(0,E.jsx)(f,{asChild:!0,size:`icon`,variant:`ghost`,children:(0,E.jsx)(`a`,{"aria-label":n,href:t,children:r})},n)}function Lu(e){let t=(0,T.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,E.jsx)(`path`,{d:`m18.9,1.153h3.682l-8.042,9.189,9.46,12.506h-7.405l-5.804-7.583-6.634,7.583H.469l8.6-9.831L0,1.153h7.593l5.241,6.931,6.065-6.931Zm-1.293,19.494h2.039L6.482,3.239h-2.19l13.314,17.408Z`}),t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=(0,E.jsx)(`svg`,{fill:`currentColor`,viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`,...e,children:n}),t[1]=e,t[2]=r),r}Pu.displayName=`MainFooter`;var Ru=[{value:`light`,icon:y,label:`Light`},{value:`dark`,icon:v,label:`Dark`}];function zu(e){let t=(0,T.c)(23),n,r;t[0]===e?(n=t[1],r=t[2]):({className:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?``:r,{appearance:a,updateAppearance:o}=d(),s,c,l;t[3]===a?(s=t[4],c=t[5],l=t[6]):(s=Ru.find(e=>e.value===a)??Ru[0],l=Ru,c=Ru.indexOf(s),t[3]=a,t[4]=s,t[5]=c,t[6]=l);let u=l[(c+1)%Ru.length],p;t[7]!==u.value||t[8]!==o?(p=()=>o(u.value),t[7]=u.value,t[8]=o,t[9]=p):p=t[9];let h=`Switch to ${u.label} mode`,g;t[10]===i?g=t[11]:(g=m(``,i),t[10]=i,t[11]=g);let _;t[12]===s.icon?_=t[13]:(_=(0,E.jsx)(s.icon,{className:`h-4 w-4`}),t[12]=s.icon,t[13]=_);let v;t[14]===s.label?v=t[15]:(v=(0,E.jsx)(`span`,{"aria-label":s.label,className:`sr-only`,children:s.label}),t[14]=s.label,t[15]=v);let y;return t[16]!==n||t[17]!==p||t[18]!==h||t[19]!==g||t[20]!==_||t[21]!==v?(y=(0,E.jsxs)(f,{onClick:p,"aria-label":h,size:`icon`,...n,className:g,children:[_,v]}),t[16]=n,t[17]=p,t[18]=h,t[19]=g,t[20]=_,t[21]=v,t[22]=y):y=t[22],y}zu.displayName=`AppearanceToggle`;function Bu(e){let t=(0,T.c)(7),{navLinks:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,E.jsx)(te,{asChild:!0,children:(0,E.jsx)(f,{variant:`ghost`,size:`icon`,"aria-label":`Open navigation menu`,children:(0,E.jsx)(de,{className:`size-5`})})}),t[0]=r):r=t[0];let i,a;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(ue,{className:`absolute inset-y-0 left-0 h-full w-2 border-r border-border/75 stroke-border/75 md:w-5`}),a=(0,E.jsx)(le,{className:`sr-only`,children:`Navigation menu`}),t[1]=i,t[2]=a):(i=t[1],a=t[2]);let o;t[3]===n?o=t[4]:(o=n.map(Vu),t[3]=n,t[4]=o);let s;return t[5]===o?s=t[6]:(s=(0,E.jsx)(`div`,{className:`md:hidden`,children:(0,E.jsxs)(re,{children:[r,(0,E.jsxs)(ne,{side:`right`,children:[i,a,(0,E.jsx)(`div`,{className:`mt-8 flex flex-col space-y-1 px-4`,children:o})]})]})}),t[5]=o,t[6]=s),s}function Vu(e){return(0,E.jsx)(t,{prefetch:`hover`,className:`rounded-md px-4 py-2 hover:bg-muted`,href:e.href,children:e.label},e.label)}Bu.displayName=`MainMobileNavigation`;function Hu(e){let t=(0,T.c)(12),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let{enabled:r,offset:i,tolerance:a,scroller:o}=n,s=r===void 0?!0:r,c=i===void 0?0:i,l=a===void 0?0:a,u=o===void 0?null:o,d=(0,w.useRef)(null),[f,p]=(0,w.useState)(Uu),m;t[2]===l?m=t[3]:(m=()=>typeof l==`number`?{up:l,down:l}:l,t[2]=l,t[3]=m);let h=m,g,_;t[4]!==s||t[5]!==h||t[6]!==c||t[7]!==u?(g=()=>{if(!s)return;let e=u??window,t=()=>e instanceof Element?e.scrollTop:window.scrollY??window.pageYOffset,n=()=>e instanceof Element?e.scrollHeight:document.documentElement.scrollHeight,r=()=>e instanceof Element?e.clientHeight:window.innerHeight,i=t(),a=!1,o=()=>{let e=t(),o=n(),s=r(),l=h(),u=e<=c,d=e+s>=o-1,f=e-i,m=f>0,g=f<0;p(e=>{let t=e.pinned;return u?t=!0:m&&Math.abs(f)>=l.down?t=!1:g&&Math.abs(f)>=l.up&&(t=!0),{pinned:t,unpinned:!t,top:u,notTop:!u,bottom:d,notBottom:!d}}),i=e,a=!1},l=()=>{a||=(requestAnimationFrame(o),!0)};return e.addEventListener(`scroll`,l,{passive:!0}),o(),()=>{e.removeEventListener(`scroll`,l)}},_=[s,c,h,u],t[4]=s,t[5]=h,t[6]=c,t[7]=u,t[8]=g,t[9]=_):(g=t[8],_=t[9]),(0,w.useEffect)(g,_);let v;return t[10]===f?v=t[11]:(v={ref:d,...f},t[10]=f,t[11]=v),v}function Uu(){return{pinned:!0,unpinned:!1,top:!0,notTop:!1,bottom:!1,notBottom:!0}}var X=e=>({url:X.url(e),method:`get`});X.definition={methods:[`get`,`head`],url:`/animate-css`},X.url=e=>X.definition.url+i(e),X.get=e=>({url:X.url(e),method:`get`}),X.head=e=>({url:X.url(e),method:`head`});var Wu=e=>({action:X.url(e),method:`get`});Wu.get=e=>({action:X.url(e),method:`get`}),Wu.head=e=>({action:X.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),X.form=Wu,Object.assign(X,X);var Z=e=>({url:Z.url(e),method:`get`});Z.definition={methods:[`get`,`head`],url:`/fonts`},Z.url=e=>Z.definition.url+i(e),Z.get=e=>({url:Z.url(e),method:`get`}),Z.head=e=>({url:Z.url(e),method:`head`});var Gu=e=>({action:Z.url(e),method:`get`});Gu.get=e=>({action:Z.url(e),method:`get`}),Gu.head=e=>({action:Z.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),Z.form=Gu,Object.assign(Z,Z);var Q=e=>({url:Q.url(e),method:`get`});Q.definition={methods:[`get`,`head`],url:`/themes`},Q.url=e=>Q.definition.url+i(e),Q.get=e=>({url:Q.url(e),method:`get`}),Q.head=e=>({url:Q.url(e),method:`head`});var Ku=e=>({action:Q.url(e),method:`get`});Ku.get=e=>({action:Q.url(e),method:`get`}),Ku.head=e=>({action:Q.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),Q.form=Ku;var $=(e,t)=>({url:$.url(e,t),method:`get`});$.definition={methods:[`get`,`head`],url:`/themes/{theme}`},$.url=(e,t)=>{(typeof e==`string`||typeof e==`number`)&&(e={theme:e}),typeof e==`object`&&!Array.isArray(e)&&`name`in e&&(e={theme:e.name}),Array.isArray(e)&&(e={theme:e[0]}),e=s(e);let n={theme:typeof e.theme==`object`?e.theme.name:e.theme};return $.definition.url.replace(`{theme}`,n.theme.toString()).replace(/\/+$/,``)+i(t)},$.get=(e,t)=>({url:$.url(e,t),method:`get`}),$.head=(e,t)=>({url:$.url(e,t),method:`head`});var qu=(e,t)=>({action:$.url(e,t),method:`get`});qu.get=(e,t)=>({action:$.url(e,t),method:`get`}),qu.head=(e,t)=>({action:$.url(e,{[t?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...t?.query??t?.mergeQuery??{}}}),method:`get`}),$.form=qu,Object.assign(Q,Q),Object.assign($,$);var Ju=l(a(),1);function Yu(e,t){let n=(0,T.c)(4),[r,i]=(0,w.useState)(e),a,o;return n[0]!==t||n[1]!==e?(a=()=>{let n=setTimeout(()=>i(e),t);return()=>clearTimeout(n)},o=[e,t],n[0]=t,n[1]=e,n[2]=a,n[3]=o):(a=n[2],o=n[3]),(0,w.useEffect)(a,o),r}function Xu(e){let t=(0,T.c)(11),{resolvedAppearance:n}=d(),r;t[0]!==e.cssVars?.dark||t[1]!==e.cssVars?.light||t[2]!==e.vars_dark||t[3]!==e.vars_light||t[4]!==n?(r=n===`dark`?e.cssVars?.dark??e.vars_dark??{}:e.cssVars?.light??e.vars_light??{},t[0]=e.cssVars?.dark,t[1]=e.cssVars?.light,t[2]=e.vars_dark,t[3]=e.vars_light,t[4]=n,t[5]=r):r=t[5];let i=r,a;t[6]===i?a=t[7]:(a=ie(i),t[6]=i,t[7]=a);let o;return t[8]!==a||t[9]!==i?(o={vars:i,cssVars:a},t[8]=a,t[9]=i,t[10]=o):o=t[10],o}function Zu(e){let t=(0,T.c)(21),{theme:n,onSelect:r,selected:i,compact:a,className:o}=e,s=i===void 0?!1:i,c=a===void 0?!1:a,{cssVars:l}=Xu(n),u;t[0]!==r||t[1]!==n?(u=()=>r?.(n),t[0]=r,t[1]=n,t[2]=u):u=t[2];let d=c?`gap-2 px-4 py-2`:`gap-4 p-4`,f=s&&`border-primary ring-1 ring-primary`,p;t[3]!==o||t[4]!==d||t[5]!==f?(p=m(`flex w-full items-center justify-between overflow-clip rounded-md border border-border bg-background text-left transition-colors hover:bg-accent`,d,f,o),t[3]=o,t[4]=d,t[5]=f,t[6]=p):p=t[6];let h;t[7]===s?h=t[8]:(h=s&&(0,E.jsx)(ju.div,{animate:{x:-5},transition:{type:`spring`,stiffness:100},initial:{x:-50},children:(0,E.jsx)(g,{className:`size-4 rounded-full bg-primary p-1 text-primary-foreground`})}),t[7]=s,t[8]=h);let _=n?.title||`Theme`,v=c?void 0:n?.name,y;t[9]!==_||t[10]!==v?(y=(0,E.jsx)(se,{as:`h4`,variant:`small`,title:_,description:v}),t[9]=_,t[10]=v,t[11]=y):y=t[11];let b;t[12]!==y||t[13]!==h?(b=(0,E.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center space-x-1`,children:[h,y]}),t[12]=y,t[13]=h,t[14]=b):b=t[14];let x;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,E.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1.5 rounded-md border border-border p-1.5`,children:[(0,E.jsx)(`div`,{className:`size-4 rounded-sm border border-border bg-primary`}),(0,E.jsx)(`div`,{className:`size-4 rounded-sm border border-border bg-secondary`}),(0,E.jsx)(`div`,{className:`size-4 rounded-sm border border-border bg-accent`}),(0,E.jsx)(`div`,{className:`size-4 rounded-sm border border-border bg-muted`})]}),t[15]=x):x=t[15];let S;return t[16]!==l||t[17]!==b||t[18]!==u||t[19]!==p?(S=(0,E.jsxs)(`button`,{type:`button`,onClick:u,style:l,className:p,children:[b,x]}),t[16]=l,t[17]=b,t[18]=u,t[19]=p,t[20]=S):S=t[20],S}Zu.displayName=`MainThemeList`;function Qu(){let e=(0,T.c)(67),{themeName:t}=S(),[n,r]=(0,w.useState)(!1),i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=[],e[0]=i):i=e[0];let[a,o]=(0,w.useState)(i),[s,c]=(0,w.useState)(1),[l,u]=(0,w.useState)(!0),[d,m]=(0,w.useState)(!1),[h,_]=(0,w.useState)(``),v=Yu(h,300),[y,ie]=(0,w.useState)(``),ae=(0,w.useRef)(null),oe=(0,w.useRef)(null),se;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(se=(e,t,n)=>{m(!0);let r=new URLSearchParams;r.set(`page`,String(e)),t&&r.set(`search`,t),fetch(`/api/themes?${r}`).then(td).then(r=>{o(e=>n?[...e,...r.data]:r.data),u(t?!1:r.current_page{m(!1)})},e[1]=se):se=e[1];let de=se,he,ge;e[2]===n?(he=e[3],ge=e[4]):(he=()=>{n||(_(``),ie(``),o([]),c(1),u(!0))},ge=[n],e[2]=n,e[3]=he,e[4]=ge),(0,w.useEffect)(he,ge);let _e,ve;e[5]===n?(_e=e[6],ve=e[7]):(_e=()=>{n&&de(1,``,!1)},ve=[n,de],e[5]=n,e[6]=_e,e[7]=ve),(0,w.useEffect)(_e,ve);let ye,be;e[8]!==y||e[9]!==v||e[10]!==n?(ye=()=>{n&&v!==y&&((0,Ju.flushSync)(()=>{ie(v),o([])}),requestAnimationFrame(()=>{de(1,v,!1)}))},be=[n,v,y,de],e[8]=y,e[9]=v,e[10]=n,e[11]=ye,e[12]=be):(ye=e[11],be=e[12]),(0,w.useEffect)(ye,be);let xe,D;e[13]!==y||e[14]!==l||e[15]!==d||e[16]!==n||e[17]!==s?(xe=()=>{if(!n)return;let e=ae.current,t=oe.current;if(!e||!t)return;let r=new IntersectionObserver(e=>{e[0].isIntersecting&&l&&!d&&!y&&de(s+1,y,!0)},{root:t,rootMargin:`400px`});return r.observe(e),()=>r.disconnect()},D=[n,l,d,s,y,de],e[13]=y,e[14]=l,e[15]=d,e[16]=n,e[17]=s,e[18]=xe,e[19]=D):(xe=e[18],D=e[19]),(0,w.useEffect)(xe,D);let O;e[20]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,E.jsx)(te,{asChild:!0,children:(0,E.jsx)(f,{variant:`ghost`,size:`icon`,children:(0,E.jsx)(fe,{className:`size-4`})})}),e[20]=O):O=e[20];let Se;e[21]===Symbol.for(`react.memo_cache_sentinel`)?(Se=(0,E.jsx)(ue,{className:`absolute inset-y-0 left-0 h-full w-2 border-r border-border/75 stroke-border/75 md:w-5`}),e[21]=Se):Se=e[21];let Ce;e[22]===Symbol.for(`react.memo_cache_sentinel`)?(Ce=(0,E.jsxs)(ce,{className:`px-4 pt-4 pb-2`,children:[(0,E.jsx)(le,{children:`Theme Color`}),(0,E.jsx)(ee,{children:`Choose a color theme for the interface`})]}),e[22]=Ce):Ce=e[22];let we;e[23]===Symbol.for(`react.memo_cache_sentinel`)?(we=(0,E.jsx)(me,{className:`absolute top-0 left-7 size-4 translate-y-2.5 text-muted-foreground`}),e[23]=we):we=e[23];let Te;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(Te=e=>_(e.target.value),e[24]=Te):Te=e[24];let k,Ee;e[25]===h?(k=e[26],Ee=e[27]):(k=(0,E.jsx)(C,{value:h,onChange:Te,placeholder:`Search themes...`,className:`pr-8 pl-9`}),Ee=h&&(0,E.jsx)(`button`,{onClick:()=>_(``),className:`absolute top-0 right-7 translate-y-2.5 text-muted-foreground hover:text-foreground`,children:(0,E.jsx)(p,{className:`size-4`})}),e[25]=h,e[26]=k,e[27]=Ee);let A;e[28]!==k||e[29]!==Ee?(A=(0,E.jsxs)(`div`,{className:`relative border-b border-border px-4 pb-3`,children:[we,k,Ee]}),e[28]=k,e[29]=Ee,e[30]=A):A=e[30];let De=`flex w-full items-center justify-between gap-2 rounded-md border p-2 text-left transition-colors hover:bg-accent ${t?`border-border bg-background`:`border-primary ring-1 ring-primary`}`,Oe;e[31]===Symbol.for(`react.memo_cache_sentinel`)?(Oe=(0,E.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,E.jsx)(`div`,{className:`flex size-8 items-center justify-center rounded-md border border-border bg-background`,children:(0,E.jsx)(pe,{className:`size-4 text-muted-foreground`})}),(0,E.jsxs)(`div`,{children:[(0,E.jsx)(`p`,{className:`text-sm font-medium`,children:`Default theme`}),(0,E.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Reset to default colors`})]})]}),e[31]=Oe):Oe=e[31];let j;e[32]===t?j=e[33]:(j=!t&&(0,E.jsx)(`div`,{className:`flex size-4 items-center justify-center rounded-full bg-primary text-primary-foreground`,children:(0,E.jsx)(g,{className:`size-3`})}),e[32]=t,e[33]=j);let M;e[34]!==De||e[35]!==j?(M=(0,E.jsxs)(`button`,{type:`button`,onClick:x,className:De,children:[Oe,j]}),e[34]=De,e[35]=j,e[36]=M):M=e[36];let ke;if(e[37]!==t||e[38]!==a){let n;e[40]===t?n=e[41]:(n=e=>(0,E.jsx)(Zu,{theme:e,className:`mb-2`,compact:!0,selected:e.name===t,onSelect:b},e.name),e[40]=t,e[41]=n),ke=a.map(n),e[37]=t,e[38]=a,e[39]=ke}else ke=e[39];let Ae;e[42]===d?Ae=e[43]:(Ae=d&&(0,E.jsx)(`div`,{className:`space-y-2`,children:Array.from({length:3}).map($u)}),e[42]=d,e[43]=Ae);let je;e[44]!==l||e[45]!==d?(je=l&&!d&&(0,E.jsx)(`div`,{ref:ae,className:`h-4`}),e[44]=l,e[45]=d,e[46]=je):je=e[46];let Me;e[47]!==y||e[48]!==l||e[49]!==a.length?(Me=!l&&a.length>0&&(0,E.jsx)(`p`,{className:`py-4 text-center text-xs text-muted-foreground`,children:y?`Search results`:`All themes loaded`}),e[47]=y,e[48]=l,e[49]=a.length,e[50]=Me):Me=e[50];let Ne;e[51]!==d||e[52]!==a.length?(Ne=!d&&a.length===0&&(0,E.jsx)(`p`,{className:`py-8 text-center text-sm text-muted-foreground`,children:`No themes found`}),e[51]=d,e[52]=a.length,e[53]=Ne):Ne=e[53];let N;e[54]!==M||e[55]!==ke||e[56]!==Ae||e[57]!==je||e[58]!==Me||e[59]!==Ne?(N=(0,E.jsx)(`div`,{ref:oe,className:`flex-1 overflow-y-auto px-4 py-3`,children:(0,E.jsxs)(`div`,{className:`space-y-2`,children:[M,ke,Ae,je,Me,Ne]})}),e[54]=M,e[55]=ke,e[56]=Ae,e[57]=je,e[58]=Me,e[59]=Ne,e[60]=N):N=e[60];let Pe;e[61]!==A||e[62]!==N?(Pe=(0,E.jsxs)(ne,{className:`flex flex-col gap-0 pl-5`,children:[Se,Ce,A,N]}),e[61]=A,e[62]=N,e[63]=Pe):Pe=e[63];let Fe;return e[64]!==n||e[65]!==Pe?(Fe=(0,E.jsxs)(re,{open:n,onOpenChange:r,children:[O,Pe]}),e[64]=n,e[65]=Pe,e[66]=Fe):Fe=e[66],Fe}function $u(e,t){return(0,E.jsx)(`div`,{className:`h-14 animate-pulse rounded-md bg-muted`},t)}function ed(e){console.error(`Failed to fetch themes:`,e)}function td(e){return e.json()}Qu.displayName=`ThemeSwitcher`;function nd(){let e=(0,T.c)(19),n=!oe(),r;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={down:5,up:5},e[0]=r):r=e[0];let i;e[1]===n?i=e[2]:(i={enabled:n,offset:16,tolerance:r},e[1]=n,e[2]=i);let{ref:a,pinned:o}=Hu(i),s;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(s={label:`Home`,href:ae()},e[3]=s):s=e[3];let c;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(c={label:`Themes`,href:Q()},e[4]=c):c=e[4];let l;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(l={label:`Animate CSS`,href:X()},e[5]=l):l=e[5];let u;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(u={label:`Fonts`,href:Z()},e[6]=u):u=e[6];let d;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(d={label:`Components`,href:ae()},e[7]=d):d=e[7];let f;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(f=[s,c,l,u,d,{label:`Blocks`,href:ae()}],e[8]=f):f=e[8];let p=f,h=o?`translate-y-0`:`-translate-y-full`,g;e[9]===h?g=e[10]:(g=m(`fixed inset-x-0 top-0 isolate z-50 flex min-h-16 items-center border-b! border-solid! border-border/50! bg-background/50 text-foreground backdrop-blur transition-transform duration-700`,h),e[9]=h,e[10]=g);let _;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,E.jsxs)(t,{prefetch:`hover`,className:`text-semibold flex items-center space-x-1 text-lg`,href:ae(),children:[(0,E.jsx)(`span`,{className:`grid size-7 place-items-center rounded-sm bg-foreground text-background`,children:`ui`}),(0,E.jsx)(`span`,{children:`designbycode`})]}),e[11]=_):_=e[11];let v;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,E.jsx)(`div`,{className:`hidden space-x-4 text-sm md:flex`,children:p.map(rd)}),e[12]=v):v=e[12];let y,b;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,E.jsx)(zu,{}),b=(0,E.jsx)(Qu,{}),e[13]=y,e[14]=b):(y=e[13],b=e[14]);let x;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,E.jsxs)(he,{className:`flex justify-between`,children:[_,v,(0,E.jsxs)(`div`,{className:`flex items-center space-x-2`,children:[y,b,(0,E.jsx)(Bu,{navLinks:p})]})]}),e[15]=x):x=e[15];let S;return e[16]!==a||e[17]!==g?(S=(0,E.jsx)(`div`,{ref:a,suppressHydrationWarning:!0,className:g,children:x}),e[16]=a,e[17]=g,e[18]=S):S=e[18],S}function rd(e){return(0,E.jsx)(t,{prefetch:`hover`,className:`rounded-md px-4 py-2 hover:bg-muted`,href:e.href,children:e.label},e.label)}nd.displayName=`MainNavigation`;var id=(0,w.createContext)({position:{x:-9999,y:-9999},radius:100}),ad=()=>{let e=(0,T.c)(2),t=(0,w.useContext)(id),n;return e[0]===t?n=e[1]:(n=t??{position:{x:-9999,y:-9999},radius:100},e[0]=t,e[1]=n),n};function od(e){let t=(0,T.c)(13),{children:n,radius:r,className:i,style:a}=e,o=r===void 0?100:r,s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s={x:-9999,y:-9999},t[0]=s):s=t[0];let[c,l]=(0,w.useState)(s),u=(0,w.useRef)(0),d,f;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(d=()=>{let e=e=>{cancelAnimationFrame(u.current),u.current=requestAnimationFrame(()=>l({x:e.clientX,y:e.clientY}))};return window.addEventListener(`mousemove`,e,{passive:!0}),()=>{window.removeEventListener(`mousemove`,e),cancelAnimationFrame(u.current)}},f=[],t[1]=d,t[2]=f):(d=t[1],f=t[2]),(0,w.useEffect)(d,f);let p;t[3]!==c||t[4]!==o?(p={position:c,radius:o},t[3]=c,t[4]=o,t[5]=p):p=t[5];let m;t[6]!==n||t[7]!==i||t[8]!==a?(m=(0,E.jsx)(`div`,{className:i,style:a,children:n}),t[6]=n,t[7]=i,t[8]=a,t[9]=m):m=t[9];let h;return t[10]!==p||t[11]!==m?(h=(0,E.jsx)(id.Provider,{value:p,children:m}),t[10]=p,t[11]=m,t[12]=h):h=t[12],h}function sd(e){let t=(0,T.c)(8),{children:n}=e,r,i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,E.jsx)(ue,{className:`fixed inset-y-0 left-0 h-full w-2 border-r border-border/75 stroke-border/75 md:w-5`}),i=(0,E.jsx)(ue,{className:`fixed inset-y-0 right-0 h-full w-2 border-l border-border/75 stroke-border/75 md:w-5`}),a=(0,E.jsx)(nd,{}),t[0]=r,t[1]=i,t[2]=a):(r=t[0],i=t[1],a=t[2]);let o;t[3]===n?o=t[4]:(o=(0,E.jsx)(`div`,{className:`flex-1`,children:n}),t[3]=n,t[4]=o);let s;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(Pu,{}),t[5]=s):s=t[5];let c;return t[6]===o?c=t[7]:(c=(0,E.jsx)(od,{className:`relative`,children:(0,E.jsxs)(`div`,{className:`flex min-h-screen flex-col py-16`,children:[r,i,a,o,s]})}),t[6]=o,t[7]=c),c}sd.displayName=`MainLayout`;export{$ as a,ve as c,me as d,Yu as i,ge as l,ad as n,ju as o,Xu as r,F as s,sd as t,he as u}; \ No newline at end of file diff --git a/public/build/assets/main-registry-installer-CZTj2Evv.js b/public/build/assets/main-registry-installer-CZTj2Evv.js deleted file mode 100644 index a926a4a..0000000 --- a/public/build/assets/main-registry-installer-CZTj2Evv.js +++ /dev/null @@ -1,2 +0,0 @@ -import{_ as e,f as t,i as n,m as r,r as i,x as a}from"./wayfinder-DGNmxDkm.js";import{t as o}from"./button-Dnfc0p4v.js";import{n as s,t as c}from"./createLucideIcon-C5RzLdeU.js";import{t as l}from"./check-h5bDkP1T.js";import{t as u}from"./copy-C1-jVkjV.js";import{c as d,l as f,o as p,s as m}from"./main-layout-BJ0kmSsb.js";import{L as h}from"./app-D7ZTkNic.js";var g=c(`Terminal`,[[`polyline`,{points:`4 17 10 11 4 5`,key:`akl6gq`}],[`line`,{x1:`12`,x2:`20`,y1:`19`,y2:`19`,key:`q2wloq`}]]),_=e(((e,t)=>{var n=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,`&`).replace(/`u`)return null;if(document.currentScript&&document.currentScript.tagName===`SCRIPT`)return document.currentScript;try{throw Error()}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName(`script`);for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r=`no-`+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){r||=i.languages;var a=r[e],o={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var c in n)n.hasOwnProperty(c)&&(o[c]=n[c]);n.hasOwnProperty(s)||(o[s]=a[s])}var l=r[e];return r[e]=o,i.languages.DFS(i.languages,function(t,n){n===l&&t!=e&&(this[t]=o)}),o},DFS:function e(t,n,r,a){a||={};var o=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var c=t[s],l=i.util.type(c);l===`Object`&&!a[o(c)]?(a[o(c)]=!0,e(c,n,null,a)):l===`Array`&&!a[o(c)]&&(a[o(c)]=!0,e(c,n,s,a))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:`code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code`};i.hooks.run(`before-highlightall`,r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run(`before-all-elements-highlight`,r);for(var a=0,o;o=r.elements[a++];)i.highlightElement(o,t===!0,r.callback)},highlightElement:function(t,n,r){var a=i.util.getLanguage(t),o=i.languages[a];i.util.setLanguage(t,a);var s=t.parentElement;s&&s.nodeName.toLowerCase()===`pre`&&i.util.setLanguage(s,a);var c={element:t,language:a,grammar:o,code:t.textContent};function l(e){c.highlightedCode=e,i.hooks.run(`before-insert`,c),c.element.innerHTML=c.highlightedCode,i.hooks.run(`after-highlight`,c),i.hooks.run(`complete`,c),r&&r.call(c.element)}if(i.hooks.run(`before-sanity-check`,c),s=c.element.parentElement,s&&s.nodeName.toLowerCase()===`pre`&&!s.hasAttribute(`tabindex`)&&s.setAttribute(`tabindex`,`0`),!c.code){i.hooks.run(`complete`,c),r&&r.call(c.element);return}if(i.hooks.run(`before-highlight`,c),!c.grammar){l(i.util.encode(c.code));return}if(n&&e.Worker){var u=new Worker(i.filename);u.onmessage=function(e){l(e.data)},u.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else l(i.highlight(c.code,c.grammar,c.language))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run(`before-tokenize`,r),!r.grammar)throw Error(`The language "`+r.language+`" has no grammar.`);return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run(`after-tokenize`,r),a.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new c;return l(i,i.head,e),s(e,i,t,i.head,0),d(i)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(!(!n||!n.length))for(var r=0,a;a=n[r++];)a(t)}},Token:a};e.Prism=i;function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=(r||``).length|0}a.stringify=function e(t,n){if(typeof t==`string`)return t;if(Array.isArray(t)){var r=``;return t.forEach(function(t){r+=e(t,n)}),r}var a={type:t.type,content:e(t.content,n),tag:`span`,classes:[`token`,t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(a.classes,o):a.classes.push(o)),i.hooks.run(`wrap`,a);var s=``;for(var c in a.attributes)s+=` `+c+`="`+(a.attributes[c]||``).replace(/"/g,`"`)+`"`;return`<`+a.tag+` class="`+a.classes.join(` `)+`"`+s+`>`+a.content+``};function o(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}function s(e,t,n,r,c,d){for(var f in n)if(!(!n.hasOwnProperty(f)||!n[f])){var p=n[f];p=Array.isArray(p)?p:[p];for(var m=0;m=d.reach);C+=S.value.length,S=S.next){var w=S.value;if(t.length>e.length)return;if(!(w instanceof a)){var T=1,E;if(v){if(E=o(x,C,e,_),!E||E.index>=e.length)break;var D=E.index,O=E.index+E[0].length,k=C;for(k+=S.value.length;D>=k;)S=S.next,k+=S.value.length;if(k-=S.value.length,C=k,S.value instanceof a)continue;for(var A=S;A!==t.tail&&(kd.reach&&(d.reach=P);var F=S.prev;M&&(F=l(t,F,M),C+=M.length),u(t,F,T);var I=new a(f,g?i.tokenize(j,g):j,y,j);if(S=l(t,F,I),N&&l(t,S,N),T>1){var L={cause:f+`,`+m,reach:P};s(e,t,n,S.prev,C,L),d&&L.reach>d.reach&&(d.reach=L.reach)}}}}}}function c(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function u(e,t,n){for(var r=t.next,i=0;i/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:`attr-equals`},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:`named-entity`},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside[`attr-value`].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside[`internal-subset`].inside=n.languages.markup,n.hooks.add(`wrap`,function(e){e.type===`entity`&&(e.attributes.title=e.content.replace(/&/,`&`))}),Object.defineProperty(n.languages.markup.tag,`addInlined`,{value:function(e,t){var r={};r[`language-`+t]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[t]},r.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:r}};i[`language-`+t]={pattern:/[\s\S]+/,inside:n.languages[t]};var a={};a[e]={pattern:RegExp(`(<__[^>]*>)(?:))*\\]\\]>|(?!)`.replace(/__/g,function(){return e}),`i`),lookbehind:!0,greedy:!0,inside:i},n.languages.insertBefore(`markup`,`cdata`,a)}}),Object.defineProperty(n.languages.markup.tag,`addAttribute`,{value:function(e,t){n.languages.markup.tag.inside[`special-attr`].push({pattern:RegExp(`(^|["'\\s])(?:`+e+`)\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s'">=]+(?=[\\s>]))`,`i`),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,`language-`+t],inside:n.languages[t]},punctuation:[{pattern:/^=/,alias:`attr-equals`},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend(`markup`,{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp(`@[\\w-](?:[^;{\\s"']|\\s+(?!\\s)|`+t.source+`)*?(?:;|(?=\\s*\\{))`),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:`selector`},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp(`\\burl\\((?:`+t.source+`|(?:[^\\\\\\r\\n()"']|\\\\[\\s\\S])*)\\)`,`i`),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp(`^`+t.source+`$`),alias:`url`}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+`)*(?=\\s*\\{)`),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined(`style`,`css`),n.tag.addAttribute(`style`,`css`))})(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend(`clike`,{"class-name":[n.languages.clike[`class-name`],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(`(^|[^\\w$])(?:NaN|Infinity|0[bB][01]+(?:_[01]+)*n?|0[oO][0-7]+(?:_[0-7]+)*n?|0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?|\\d+(?:_\\d+)*n|(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?)(?![\\w$])`),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript[`class-name`][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore(`javascript`,`keyword`,{regex:{pattern:RegExp(`((?:^|[^$\\w\\xA0-\\uFFFF."'\\])\\s]|\\b(?:return|yield))\\s*)\\/(?:(?:\\[(?:[^\\]\\\\\\r\\n]|\\\\.)*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}|(?:\\[(?:[^[\\]\\\\\\r\\n]|\\\\.|\\[(?:[^[\\]\\\\\\r\\n]|\\\\.|\\[(?:[^[\\]\\\\\\r\\n]|\\\\.)*\\])*\\])*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}v[dgimyus]{0,7})(?=(?:\\s|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/)*(?:$|[\\r\\n,.;:})\\]]|\\/\\/))`),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:`language-regex`,inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:`function`},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore(`javascript`,`string`,{hashbang:{pattern:/^#!.*/,greedy:!0,alias:`comment`},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:`string`},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:`punctuation`},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:`property`}}),n.languages.insertBefore(`javascript`,`operator`,{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:`property`}}),n.languages.markup&&(n.languages.markup.tag.addInlined(`script`,`javascript`),n.languages.markup.tag.addAttribute(`on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)`,`javascript`)),n.languages.js=n.languages.javascript,(function(){if(n===void 0||typeof document>`u`)return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e=`Loading…`,t=function(e,t){return`✖ Error `+e+` while fetching file: `+t},r=`✖ Error: File does not exist or is empty`,i={js:`javascript`,py:`python`,rb:`ruby`,ps1:`powershell`,psm1:`powershell`,sh:`bash`,bat:`batch`,h:`c`,tex:`latex`},a=`data-src-status`,o=`loading`,s=`loaded`,c=`failed`,l=`pre[data-src]:not([`+a+`="`+s+`"]):not([`+a+`="`+o+`"])`;function u(e,n,i){var a=new XMLHttpRequest;a.open(`GET`,e,!0),a.onreadystatechange=function(){a.readyState==4&&(a.status<400&&a.responseText?n(a.responseText):a.status>=400?i(t(a.status,a.statusText)):i(r))},a.send(null)}function d(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||``);if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,void 0]:[n,n]}}n.hooks.add(`before-highlightall`,function(e){e.selector+=`, `+l}),n.hooks.add(`before-sanity-check`,function(t){var r=t.element;if(r.matches(l)){t.code=``,r.setAttribute(a,o);var f=r.appendChild(document.createElement(`CODE`));f.textContent=e;var p=r.getAttribute(`data-src`),m=t.language;if(m===`none`){var h=(/\.(\w+)$/.exec(p)||[,`none`])[1];m=i[h]||h}n.util.setLanguage(f,m),n.util.setLanguage(r,m);var g=n.plugins.autoloader;g&&g.loadLanguages(m),u(p,function(e){r.setAttribute(a,s);var t=d(r.getAttribute(`data-range`));if(t){var i=e.split(/\r\n?|\n/g),o=t[0],c=t[1]==null?i.length:t[1];o<0&&(o+=i.length),o=Math.max(0,Math.min(o-1,i.length)),c<0&&(c+=i.length),c=Math.max(0,Math.min(c,i.length)),e=i.slice(o,c).join(` -`),r.hasAttribute(`data-start`)||r.setAttribute(`data-start`,String(o+1))}f.textContent=e,n.highlightElement(f)},function(e){r.setAttribute(a,c),f.textContent=e})}}),n.plugins.fileHighlight={highlight:function(e){for(var t=(e||document).querySelectorAll(l),r=0,i;i=t[r++];)n.highlightElement(i)}};var f=!1;n.fileHighlight=function(){f||=(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}})()})),v=a(r(),1),y=n(),b=i(),x=a(_(),1);Prism.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:`attr-equals`},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:`named-entity`},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside[`attr-value`].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside[`internal-subset`].inside=Prism.languages.markup,Prism.hooks.add(`wrap`,function(e){e.type===`entity`&&(e.attributes.title=e.content.replace(/&/,`&`))}),Object.defineProperty(Prism.languages.markup.tag,`addInlined`,{value:function(e,t){var n={};n[`language-`+t]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r[`language-`+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var i={};i[e]={pattern:RegExp(`(<__[^>]*>)(?:))*\\]\\]>|(?!)`.replace(/__/g,function(){return e}),`i`),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore(`markup`,`cdata`,i)}}),Object.defineProperty(Prism.languages.markup.tag,`addAttribute`,{value:function(e,t){Prism.languages.markup.tag.inside[`special-attr`].push({pattern:RegExp(`(^|["'\\s])(?:`+e+`)\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s'">=]+(?=[\\s>]))`,`i`),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,`language-`+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:`attr-equals`},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend(`markup`,{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp(`@[\\w-](?:[^;{\\s"']|\\s+(?!\\s)|`+t.source+`)*?(?:;|(?=\\s*\\{))`),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:`selector`},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp(`\\burl\\((?:`+t.source+`|(?:[^\\\\\\r\\n()"']|\\\\[\\s\\S])*)\\)`,`i`),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp(`^`+t.source+`$`),alias:`url`}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+`)*(?=\\s*\\{)`),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined(`style`,`css`),n.tag.addAttribute(`style`,`css`))})(Prism),Prism.languages.javascript=Prism.languages.extend(`clike`,{"class-name":[Prism.languages.clike[`class-name`],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(`(^|[^\\w$])(?:NaN|Infinity|0[bB][01]+(?:_[01]+)*n?|0[oO][0-7]+(?:_[0-7]+)*n?|0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?|\\d+(?:_\\d+)*n|(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?)(?![\\w$])`),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript[`class-name`][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore(`javascript`,`keyword`,{regex:{pattern:RegExp(`((?:^|[^$\\w\\xA0-\\uFFFF."'\\])\\s]|\\b(?:return|yield))\\s*)\\/(?:(?:\\[(?:[^\\]\\\\\\r\\n]|\\\\.)*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}|(?:\\[(?:[^[\\]\\\\\\r\\n]|\\\\.|\\[(?:[^[\\]\\\\\\r\\n]|\\\\.|\\[(?:[^[\\]\\\\\\r\\n]|\\\\.)*\\])*\\])*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}v[dgimyus]{0,7})(?=(?:\\s|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/)*(?:$|[\\r\\n,.;:})\\]]|\\/\\/))`),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:`language-regex`,inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:`function`},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore(`javascript`,`string`,{hashbang:{pattern:/^#!.*/,greedy:!0,alias:`comment`},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:`string`},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:`punctuation`},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:`property`}}),Prism.languages.insertBefore(`javascript`,`operator`,{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:`property`}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined(`script`,`javascript`),Prism.languages.markup.tag.addAttribute(`on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)`,`javascript`)),Prism.languages.js=Prism.languages.javascript,(function(e){e.languages.typescript=e.languages.extend(`javascript`,{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript[`literal-property`];var t=e.languages.extend(`typescript`,{});delete t[`class-name`],e.languages.typescript[`class-name`].inside=t,e.languages.insertBefore(`typescript`,`function`,{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:`operator`},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:`class-name`,inside:t}}}}),e.languages.ts=e.languages.typescript})(Prism),(function(e){var t=`\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b`,n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:`punctuation`,inside:null},r={bash:n,environment:{pattern:RegExp(`\\$`+t),alias:`constant`},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp(`(\\{)`+t),lookbehind:!0,alias:`constant`}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:`important`},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:`function`},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:`function`}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:`variable`,lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp(`(^|[\\s;|&]|[<>]\\()`+t),lookbehind:!0,alias:`constant`}},alias:`variable`,lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:`variable`,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp(`\\$?`+t),alias:`constant`},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:`class-name`},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:`important`},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:`important`}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var i=[`comment`,`function-name`,`for-or-select`,`assign-left`,`parameter`,`string`,`environment`,`function`,`keyword`,`builtin`,`boolean`,`file-descriptor`,`operator`,`punctuation`,`number`],a=r.variable[1].inside,o=0;o=a.length);c++){var l=s[c];if(typeof l==`string`||l.content&&typeof l.content==`string`){var u=a[i],d=n.tokenStack[u],f=typeof l==`string`?l:l.content,p=t(r,u),m=f.indexOf(p);if(m>-1){++i;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),`language-`+r,d),_=f.substring(m+p.length),v=[];h&&v.push.apply(v,o([h])),v.push(g),_&&v.push.apply(v,o([_])),typeof l==`string`?s.splice.apply(s,[c,1].concat(v)):l.content=v}}else l.content&&o(l.content)}return s}o(n.tokens)}}})})(Prism),(function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:`boolean`},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:`important`},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:`class-name`},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:`function`},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:`type-casting`,greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:`type-hint`,greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:`return-type`,greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:`type-declaration`,greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:`type-declaration`,greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:`static-context`,greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:`class-name-fully-qualified`,greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:`class-name-fully-qualified`,greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:`class-name-fully-qualified`,greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:`type-declaration`,greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:[`class-name-fully-qualified`,`type-declaration`],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:`static-context`,greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:[`class-name-fully-qualified`,`static-context`],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:`type-hint`,greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:[`class-name-fully-qualified`,`type-hint`],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:`return-type`,greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:[`class-name-fully-qualified`,`return-type`],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:a};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:`nowdoc-string`,greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:`symbol`,inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:`heredoc-string`,greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:`symbol`,inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:`backtick-quoted-string`,greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:`single-quoted-string`,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:`double-quoted-string`,greedy:!0,inside:{interpolation:o}}];e.languages.insertBefore(`php`,`variable`,{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:`class-name`,greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:[`class-name`,`class-name-fully-qualified`],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:`punctuation`}}}}),e.hooks.add(`before-tokenize`,function(t){/<\?/.test(t.code)&&e.languages[`markup-templating`].buildPlaceholders(t,`php`,/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add(`after-tokenize`,function(t){e.languages[`markup-templating`].tokenizePlaceholders(t,`php`)})})(Prism);var S={js:`javascript`,ts:`typescript`,css:`css`,php:`php`,markup:`markup`,sh:`bash`,shell:`bash`,html:`markup`};function C(e,t){let n=(0,y.c)(9),r=t===void 0?`bash`:t,i;n[0]===r?i=n[1]:(i=S[r.toLowerCase()]||r.toLowerCase(),n[0]=r,n[1]=i);let a=i,o=x.default.languages[a],s;n[2]!==e||n[3]!==o||n[4]!==a?(s=o?x.default.highlight(e,o,a):e,n[2]=e,n[3]=o,n[4]=a,n[5]=s):s=n[5];let c=s,l;return n[6]!==c||n[7]!==a?(l={normalizedLanguage:a,highlightedCode:c},n[6]=c,n[7]=a,n[8]=l):l=n[8],l}function w(){return{copy:(0,v.useCallback)(async e=>{try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(e),!0;let t=document.createElement(`textarea`);t.value=e,t.style.position=`fixed`,t.style.top=`-9999px`,t.style.left=`-9999px`,t.style.opacity=`0`,document.body.appendChild(t),t.focus(),t.select();let n=document.execCommand(`copy`);return document.body.removeChild(t),n}catch{return!1}},[])}}var T=e=>!e.isLayoutDirty&&e.willUpdate(!1);function E(){let e=new Set,t=new WeakMap,n=()=>e.forEach(T);return{add:r=>{e.add(r),t.set(r,r.addEventListener(`willUpdate`,n))},remove:r=>{e.delete(r);let i=t.get(r);i&&(i(),t.delete(r)),n()},dirty:n}}var D=(0,v.createContext)(null);function O(){let e=(0,v.useRef)(!1);return d(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function k(){let e=O(),[t,n]=(0,v.useState)(0),r=(0,v.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,v.useCallback)(()=>m.postRender(r),[r]),t]}var A=e=>e===!0,j=e=>A(e===!0)||e===`id`,M=({children:e,id:t,inherit:n=!0})=>{let r=(0,v.useContext)(f),i=(0,v.useContext)(D),[a,o]=k(),s=(0,v.useRef)(null),c=r.id||i;s.current===null&&(j(n)&&c&&(t=t?c+`-`+t:c),s.current={id:t,group:A(n)&&r.group||E()});let l=(0,v.useMemo)(()=>({...s.current,forceRender:a}),[o]);return(0,b.jsx)(f.Provider,{value:l,children:e})};function N(e){let t=(0,y.c)(60),n,r,i,a,o,c,l,u,d,f,m,h,g;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],c=t[6],l=t[7],u=t[8],d=t[9],f=t[10],m=t[11],h=t[12],g=t[13]):({tabs:m,value:g,defaultValue:a,onChange:l,className:r,tabsClassName:h,tabClassName:f,activeTabClassName:n,inactiveTabClassName:o,indicatorClassName:c,contentClassName:i,showContent:d,...u}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=c,t[7]=l,t[8]=u,t[9]=d,t[10]=f,t[11]=m,t[12]=h,t[13]=g);let _=d===void 0?!1:d,x=(0,v.useId)(),S;t[14]===m?S=t[15]:(S=e=>{if(!e)return 0;let t=m.findIndex(t=>t.id===e);return t>=0?t:0},t[14]=m,t[15]=S);let C=S,w;t[16]!==a||t[17]!==C?(w=()=>C(a),t[16]=a,t[17]=C,t[18]=w):w=t[18];let[T,E]=(0,v.useState)(w),D=g!==void 0,O=D?C(g):T,k=m[O]??m[0],A;t[19]!==D||t[20]!==l||t[21]!==m?(A=e=>{D||E(e),l?.(m[e].id)},t[19]=D,t[20]=l,t[21]=m,t[22]=A):A=t[22];let j=A,N;t[23]===r?N=t[24]:(N=s(`w-full`,r),t[23]=r,t[24]=N);let P;t[25]===h?P=t[26]:(P=s(`flex items-center gap-1 rounded-md border border-border bg-background p-1`,h),t[25]=h,t[26]=P);let F;if(t[27]!==n||t[28]!==O||t[29]!==j||t[30]!==x||t[31]!==o||t[32]!==c||t[33]!==f||t[34]!==m){let e;t[36]!==n||t[37]!==O||t[38]!==j||t[39]!==x||t[40]!==o||t[41]!==c||t[42]!==f?(e=(e,t)=>(0,b.jsxs)(`button`,{role:`tab`,"aria-selected":O===t,"aria-controls":`${x}-panel-${e.id}`,id:`${x}-tab-${e.id}`,onClick:()=>j(t),className:s(`relative rounded-sm px-4 py-2 text-xs font-medium transition focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:outline-none`,f,O===t?s(`text-foreground`,n):s(`text-muted-foreground hover:text-foreground`,o)),children:[O===t&&(0,b.jsx)(p.div,{layoutId:`indicator`,className:s(`absolute inset-0 rounded-sm bg-muted`,c),transition:{type:`spring`,stiffness:500,damping:30}}),(0,b.jsx)(`span`,{className:`relative z-10`,children:e.label})]},e.id),t[36]=n,t[37]=O,t[38]=j,t[39]=x,t[40]=o,t[41]=c,t[42]=f,t[43]=e):e=t[43],F=m.map(e),t[27]=n,t[28]=O,t[29]=j,t[30]=x,t[31]=o,t[32]=c,t[33]=f,t[34]=m,t[35]=F}else F=t[35];let I;t[44]!==P||t[45]!==F?(I=(0,b.jsx)(`div`,{role:`tablist`,className:P,children:F}),t[44]=P,t[45]=F,t[46]=I):I=t[46];let L;t[47]!==x||t[48]!==I?(L=(0,b.jsx)(M,{id:x,children:I}),t[47]=x,t[48]=I,t[49]=L):L=t[49];let R;t[50]!==k||t[51]!==i||t[52]!==x||t[53]!==_?(R=_&&k?.content&&(0,b.jsx)(`div`,{role:`tabpanel`,id:`${x}-panel-${k.id}`,"aria-labelledby":`${x}-tab-${k.id}`,className:s(`mt-4`,i),children:(0,b.jsx)(p.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},exit:{opacity:0,y:-4},transition:{duration:.2},children:k.content},k.id)}),t[50]=k,t[51]=i,t[52]=x,t[53]=_,t[54]=R):R=t[54];let z;return t[55]!==u||t[56]!==R||t[57]!==N||t[58]!==L?(z=(0,b.jsxs)(`div`,{className:N,...u,children:[L,R]}),t[55]=u,t[56]=R,t[57]=N,t[58]=L,t[59]=z):z=t[59],z}var P=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},F=(e=>e?P(e):P),I=e=>e;function L(e,t=I){let n=v.useSyncExternalStore(e.subscribe,v.useCallback(()=>t(e.getState()),[e,t]),v.useCallback(()=>t(e.getInitialState()),[e,t]));return v.useDebugValue(n),n}var R=e=>{let t=F(e),n=e=>L(t,e);return Object.assign(n,t),n},z=(e=>e?R(e):R);function B(e,t){let n;try{n=e()}catch{return}return{getItem:e=>{let r=e=>e===null?null:JSON.parse(e,t?.reviver),i=n.getItem(e)??null;return i instanceof Promise?i.then(r):r(i)},setItem:(e,r)=>n.setItem(e,JSON.stringify(r,t?.replacer)),removeItem:e=>n.removeItem(e)}}var V=e=>t=>{try{let n=e(t);return n instanceof Promise?n:{then(e){return V(e)(n)},catch(e){return this}}}catch(e){return{then(e){return this},catch(t){return V(t)(e)}}}},H=z()(((e,t)=>(n,r,i)=>{let a={storage:B(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},o=!1,s=0,c=new Set,l=new Set,u=a.storage;if(!u)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`),n(...e)},r,i);let d=()=>{let e=a.partialize({...r()});return u.setItem(a.name,{state:e,version:a.version})},f=i.setState;i.setState=(e,t)=>(f(e,t),d());let p=e((...e)=>(n(...e),d()),r,i);i.getInitialState=()=>p;let m,h=()=>{if(!u)return;let e=++s;o=!1,c.forEach(e=>e(r()??p));let t=a.onRehydrateStorage?.call(a,r()??p)||void 0;return V(u.getItem.bind(u))(a.name).then(e=>{if(e)if(typeof e.version==`number`&&e.version!==a.version){if(a.migrate){let t=a.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error(`State loaded from storage couldn't be migrated since no migrate function was provided`)}else return[!1,e.state];return[!1,void 0]}).then(t=>{if(e!==s)return;let[i,o]=t;if(m=a.merge(o,r()??p),n(m,!0),i)return d()}).then(()=>{e===s&&(t?.(r(),void 0),m=r(),o=!0,l.forEach(e=>e(m)))}).catch(n=>{e===s&&t?.(void 0,n)})};return i.persist={setOptions:e=>{a={...a,...e},e.storage&&(u=e.storage)},clearStorage:()=>{u?.removeItem(a.name)},getOptions:()=>a,rehydrate:()=>h(),hasHydrated:()=>o,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(l.add(e),()=>{l.delete(e)})},a.skipHydration||h(),m||p})(e=>({selectedManager:`npm`,selectedRegistry:`glow-conic`,setSelectedManager:t=>e({selectedManager:t}),setSelectedRegistry:t=>e({selectedRegistry:t})}),{name:`package-manager-storage`})),U=[`npm`,`pnpm`,`yarn`,`bun`];function W(e){let t=(0,y.c)(44),{codes:n,className:r}=e,{selectedManager:i,setSelectedManager:a}=H(),c;t[0]===n?c=t[1]:(c=e=>n[e],t[0]=n,t[1]=c);let d=U.filter(c),f=n[i]??``,{highlightedCode:p}=C(f,`bash`),{copy:m}=w(),[_,x]=(0,v.useState)(!1),S,T;t[2]===_?(S=t[3],T=t[4]):(S=()=>{if(_){let e=setTimeout(()=>{x(!1)},2e3);return()=>clearTimeout(e)}},T=[_],t[2]=_,t[3]=S,t[4]=T),(0,v.useEffect)(S,T);let E;t[5]!==f||t[6]!==m||t[7]!==i?(E=async()=>{await m(f),h.success(`${i} command copied to clipboard!`),x(!0)},t[5]=f,t[6]=m,t[7]=i,t[8]=E):E=t[8];let D=E,O;t[9]===r?O=t[10]:(O=s(`group/package-manager relative min-w-0 rounded-md border`,r),t[9]=r,t[10]=O);let k;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,b.jsx)(g,{className:`size-5 text-muted-foreground`}),t[11]=k):k=t[11];let A=N,j;t[12]===a?j=t[13]:(j=e=>a(e),t[12]=a,t[13]=j);let M=d.map(G),P;t[14]!==A||t[15]!==i||t[16]!==M||t[17]!==j?(P=(0,b.jsx)(A,{value:i,onChange:j,tabs:M,tabsClassName:`p-1 bg-primary/10`,activeTabClassName:`text-primary-foreground`,indicatorClassName:`bg-primary`,tabClassName:`px-2 py-1 text-xs font-medium `}),t[14]=A,t[15]=i,t[16]=M,t[17]=j,t[18]=P):P=t[18];let F;t[19]!==P||t[20]!==k?(F=(0,b.jsxs)(`div`,{className:`flex items-center gap-2`,children:[k,P]}),t[19]=P,t[20]=k,t[21]=F):F=t[21];let I=_?`opacity-100`:`pointer-events-none opacity-0`,L;t[22]===I?L=t[23]:(L=s(`text-xs text-green-500 transition-opacity duration-200`,I),t[22]=I,t[23]=L);let R;t[24]===L?R=t[25]:(R=(0,b.jsx)(`span`,{className:L,children:`Copied`}),t[24]=L,t[25]=R);let z;t[26]===_?z=t[27]:(z=_?(0,b.jsx)(l,{className:`size-4`}):(0,b.jsx)(u,{className:`size-4`}),t[26]=_,t[27]=z);let B;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,b.jsx)(`span`,{className:`sr-only`,children:`Copy`}),t[28]=B):B=t[28];let V;t[29]!==D||t[30]!==z?(V=(0,b.jsxs)(o,{variant:`ghost`,size:`icon`,onClick:D,className:`transition-opacity hover:opacity-100`,children:[z,B]}),t[29]=D,t[30]=z,t[31]=V):V=t[31];let W;t[32]!==R||t[33]!==V?(W=(0,b.jsxs)(`div`,{className:`flex items-center gap-1`,children:[R,V]}),t[32]=R,t[33]=V,t[34]=W):W=t[34];let K;t[35]!==F||t[36]!==W?(K=(0,b.jsxs)(`div`,{className:`flex h-14 shrink-0 items-center justify-between rounded-t-[inherit] border-b border-border bg-muted/50 px-3 py-2`,children:[F,W]}),t[35]=F,t[36]=W,t[37]=K):K=t[37];let q;t[38]===p?q=t[39]:(q=(0,b.jsx)(`div`,{className:`max-w-full min-w-0 overflow-x-auto p-3`,children:(0,b.jsx)(`pre`,{className:`m-0! w-full min-w-0 rounded-none! bg-transparent! font-mono! text-sm leading-relaxed`,children:(0,b.jsx)(`code`,{className:`pr-6`,"data-language":`bash`,suppressHydrationWarning:!0,children:(0,b.jsx)(`span`,{dangerouslySetInnerHTML:{__html:p}})})})}),t[38]=p,t[39]=q);let J;return t[40]!==K||t[41]!==q||t[42]!==O?(J=(0,b.jsxs)(`div`,{className:O,children:[K,q]}),t[40]=K,t[41]=q,t[42]=O,t[43]=J):J=t[43],J}function G(e){return{id:e,label:e}}function K(e){let n=(0,y.c)(10),{code:r,className:i}=e,{url:a}=t().props,o;n[0]===i?o=n[1]:(o=s(``,i),n[0]=i,n[1]=o);let c=`bunx --bun shadcn@latest add ${a}/r/${r}.json`,l=`npx shadcn@latest add ${a}/r/${r}.json`,u=`pnpm dlx shadcn@latest add ${a}/r/${r}.json`,d=`yarn dlx shadcn@latest add ${a}/r/${r}.json`,f;n[2]!==c||n[3]!==l||n[4]!==u||n[5]!==d?(f={bun:c,npm:l,pnpm:u,yarn:d},n[2]=c,n[3]=l,n[4]=u,n[5]=d,n[6]=f):f=n[6];let p;return n[7]!==o||n[8]!==f?(p=(0,b.jsx)(W,{className:o,codes:f}),n[7]=o,n[8]=f,n[9]=p):p=n[9],p}K.displayName=`MainRegistryInstaller`;export{C as a,w as i,H as n,g as o,N as r,K as t}; \ No newline at end of file diff --git a/public/build/assets/manrope-cyrillic-ext-wght-normal-C8S-KRRz.woff2 b/public/build/assets/manrope-cyrillic-ext-wght-normal-C8S-KRRz.woff2 deleted file mode 100644 index 57c7c0e..0000000 Binary files a/public/build/assets/manrope-cyrillic-ext-wght-normal-C8S-KRRz.woff2 and /dev/null differ diff --git a/public/build/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2 b/public/build/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2 deleted file mode 100644 index 3a06229..0000000 Binary files a/public/build/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2 and /dev/null differ diff --git a/public/build/assets/manrope-greek-wght-normal-DL7QRZyv.woff2 b/public/build/assets/manrope-greek-wght-normal-DL7QRZyv.woff2 deleted file mode 100644 index e74e718..0000000 Binary files a/public/build/assets/manrope-greek-wght-normal-DL7QRZyv.woff2 and /dev/null differ diff --git a/public/build/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2 b/public/build/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2 deleted file mode 100644 index bd24140..0000000 Binary files a/public/build/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2 and /dev/null differ diff --git a/public/build/assets/manrope-latin-wght-normal-DHIcAJRg.woff2 b/public/build/assets/manrope-latin-wght-normal-DHIcAJRg.woff2 deleted file mode 100644 index 71eb731..0000000 Binary files a/public/build/assets/manrope-latin-wght-normal-DHIcAJRg.woff2 and /dev/null differ diff --git a/public/build/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2 b/public/build/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2 deleted file mode 100644 index 1e4b7a4..0000000 Binary files a/public/build/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2 and /dev/null differ diff --git a/public/build/assets/merriweather-cyrillic-ext-wght-normal-Bkm5NjZG.woff2 b/public/build/assets/merriweather-cyrillic-ext-wght-normal-Bkm5NjZG.woff2 deleted file mode 100644 index 41cd6f9..0000000 Binary files a/public/build/assets/merriweather-cyrillic-ext-wght-normal-Bkm5NjZG.woff2 and /dev/null differ diff --git a/public/build/assets/merriweather-cyrillic-wght-normal-BWxnF87P.woff2 b/public/build/assets/merriweather-cyrillic-wght-normal-BWxnF87P.woff2 deleted file mode 100644 index 57ce290..0000000 Binary files a/public/build/assets/merriweather-cyrillic-wght-normal-BWxnF87P.woff2 and /dev/null differ diff --git a/public/build/assets/merriweather-latin-ext-wght-normal-BZx4mOJf.woff2 b/public/build/assets/merriweather-latin-ext-wght-normal-BZx4mOJf.woff2 deleted file mode 100644 index 106175f..0000000 Binary files a/public/build/assets/merriweather-latin-ext-wght-normal-BZx4mOJf.woff2 and /dev/null differ diff --git a/public/build/assets/merriweather-latin-wght-normal-BovdrKvB.woff2 b/public/build/assets/merriweather-latin-wght-normal-BovdrKvB.woff2 deleted file mode 100644 index 72d1433..0000000 Binary files a/public/build/assets/merriweather-latin-wght-normal-BovdrKvB.woff2 and /dev/null differ diff --git a/public/build/assets/merriweather-vietnamese-wght-normal-BXYScXBD.woff2 b/public/build/assets/merriweather-vietnamese-wght-normal-BXYScXBD.woff2 deleted file mode 100644 index c1fda63..0000000 Binary files a/public/build/assets/merriweather-vietnamese-wght-normal-BXYScXBD.woff2 and /dev/null differ diff --git a/public/build/assets/nerko-one-latin-400-normal-Dbkh7I23.woff2 b/public/build/assets/nerko-one-latin-400-normal-Dbkh7I23.woff2 deleted file mode 100644 index 9e536f9..0000000 Binary files a/public/build/assets/nerko-one-latin-400-normal-Dbkh7I23.woff2 and /dev/null differ diff --git a/public/build/assets/nerko-one-latin-400-normal-Dk7k_1yO.woff b/public/build/assets/nerko-one-latin-400-normal-Dk7k_1yO.woff deleted file mode 100644 index d49b632..0000000 Binary files a/public/build/assets/nerko-one-latin-400-normal-Dk7k_1yO.woff and /dev/null differ diff --git a/public/build/assets/nerko-one-latin-ext-400-normal-CFPuMH-A.woff2 b/public/build/assets/nerko-one-latin-ext-400-normal-CFPuMH-A.woff2 deleted file mode 100644 index 77de604..0000000 Binary files a/public/build/assets/nerko-one-latin-ext-400-normal-CFPuMH-A.woff2 and /dev/null differ diff --git a/public/build/assets/nerko-one-latin-ext-400-normal-CeiCvlAM.woff b/public/build/assets/nerko-one-latin-ext-400-normal-CeiCvlAM.woff deleted file mode 100644 index 10a6d1f..0000000 Binary files a/public/build/assets/nerko-one-latin-ext-400-normal-CeiCvlAM.woff and /dev/null differ diff --git a/public/build/assets/nunito-cyrillic-ext-wght-normal-D4X5GqEv.woff2 b/public/build/assets/nunito-cyrillic-ext-wght-normal-D4X5GqEv.woff2 deleted file mode 100644 index 7df6fa1..0000000 Binary files a/public/build/assets/nunito-cyrillic-ext-wght-normal-D4X5GqEv.woff2 and /dev/null differ diff --git a/public/build/assets/nunito-cyrillic-wght-normal-CY6AOgYE.woff2 b/public/build/assets/nunito-cyrillic-wght-normal-CY6AOgYE.woff2 deleted file mode 100644 index a4cfb25..0000000 Binary files a/public/build/assets/nunito-cyrillic-wght-normal-CY6AOgYE.woff2 and /dev/null differ diff --git a/public/build/assets/nunito-latin-ext-wght-normal-CXYtwYOx.woff2 b/public/build/assets/nunito-latin-ext-wght-normal-CXYtwYOx.woff2 deleted file mode 100644 index 14a9f78..0000000 Binary files a/public/build/assets/nunito-latin-ext-wght-normal-CXYtwYOx.woff2 and /dev/null differ diff --git a/public/build/assets/nunito-latin-wght-normal-BzFMHfZw.woff2 b/public/build/assets/nunito-latin-wght-normal-BzFMHfZw.woff2 deleted file mode 100644 index 3e909a1..0000000 Binary files a/public/build/assets/nunito-latin-wght-normal-BzFMHfZw.woff2 and /dev/null differ diff --git a/public/build/assets/nunito-vietnamese-wght-normal-U01xdrZh.woff2 b/public/build/assets/nunito-vietnamese-wght-normal-U01xdrZh.woff2 deleted file mode 100644 index 6054ccb..0000000 Binary files a/public/build/assets/nunito-vietnamese-wght-normal-U01xdrZh.woff2 and /dev/null differ diff --git a/public/build/assets/orbitron-latin-400-normal-DBk4Dmer.woff b/public/build/assets/orbitron-latin-400-normal-DBk4Dmer.woff deleted file mode 100644 index 276d0fa..0000000 Binary files a/public/build/assets/orbitron-latin-400-normal-DBk4Dmer.woff and /dev/null differ diff --git a/public/build/assets/orbitron-latin-400-normal-U6xZUhur.woff2 b/public/build/assets/orbitron-latin-400-normal-U6xZUhur.woff2 deleted file mode 100644 index 1e9f626..0000000 Binary files a/public/build/assets/orbitron-latin-400-normal-U6xZUhur.woff2 and /dev/null differ diff --git a/public/build/assets/oswald-cyrillic-ext-wght-normal-DLWmRmaW.woff2 b/public/build/assets/oswald-cyrillic-ext-wght-normal-DLWmRmaW.woff2 deleted file mode 100644 index 22e18a3..0000000 Binary files a/public/build/assets/oswald-cyrillic-ext-wght-normal-DLWmRmaW.woff2 and /dev/null differ diff --git a/public/build/assets/oswald-cyrillic-wght-normal-C8sJyxwB.woff2 b/public/build/assets/oswald-cyrillic-wght-normal-C8sJyxwB.woff2 deleted file mode 100644 index c35f37a..0000000 Binary files a/public/build/assets/oswald-cyrillic-wght-normal-C8sJyxwB.woff2 and /dev/null differ diff --git a/public/build/assets/oswald-latin-ext-wght-normal-Dj_1K-Kw.woff2 b/public/build/assets/oswald-latin-ext-wght-normal-Dj_1K-Kw.woff2 deleted file mode 100644 index cde7f80..0000000 Binary files a/public/build/assets/oswald-latin-ext-wght-normal-Dj_1K-Kw.woff2 and /dev/null differ diff --git a/public/build/assets/oswald-latin-wght-normal-CzS3kehr.woff2 b/public/build/assets/oswald-latin-wght-normal-CzS3kehr.woff2 deleted file mode 100644 index 7b2a550..0000000 Binary files a/public/build/assets/oswald-latin-wght-normal-CzS3kehr.woff2 and /dev/null differ diff --git a/public/build/assets/oswald-vietnamese-wght-normal-Tdf5mmdl.woff2 b/public/build/assets/oswald-vietnamese-wght-normal-Tdf5mmdl.woff2 deleted file mode 100644 index d3738f6..0000000 Binary files a/public/build/assets/oswald-vietnamese-wght-normal-Tdf5mmdl.woff2 and /dev/null differ diff --git a/public/build/assets/password-D2d0n4-i.js b/public/build/assets/password-D2d0n4-i.js deleted file mode 100644 index bc855a0..0000000 --- a/public/build/assets/password-D2d0n4-i.js +++ /dev/null @@ -1 +0,0 @@ -import{n as e,t}from"./wayfinder-DGNmxDkm.js";import{t as n}from"./confirm-BccF1kdf.js";var r=e=>({url:r.url(e),method:`get`});r.definition={methods:[`get`,`head`],url:`/forgot-password`},r.url=t=>r.definition.url+e(t),r.get=e=>({url:r.url(e),method:`get`}),r.head=e=>({url:r.url(e),method:`head`});var i=e=>({action:r.url(e),method:`get`});i.get=e=>({action:r.url(e),method:`get`}),i.head=e=>({action:r.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),r.form=i;var a=(e,t)=>({url:a.url(e,t),method:`get`});a.definition={methods:[`get`,`head`],url:`/reset-password/{token}`},a.url=(n,r)=>{(typeof n==`string`||typeof n==`number`)&&(n={token:n}),Array.isArray(n)&&(n={token:n[0]}),n=t(n);let i={token:n.token};return a.definition.url.replace(`{token}`,i.token.toString()).replace(/\/+$/,``)+e(r)},a.get=(e,t)=>({url:a.url(e,t),method:`get`}),a.head=(e,t)=>({url:a.url(e,t),method:`head`});var o=(e,t)=>({action:a.url(e,t),method:`get`});o.get=(e,t)=>({action:a.url(e,t),method:`get`}),o.head=(e,t)=>({action:a.url(e,{[t?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...t?.query??t?.mergeQuery??{}}}),method:`get`}),a.form=o;var s=e=>({url:s.url(e),method:`post`});s.definition={methods:[`post`],url:`/forgot-password`},s.url=t=>s.definition.url+e(t),s.post=e=>({url:s.url(e),method:`post`});var c=e=>({action:s.url(e),method:`post`});c.post=e=>({action:s.url(e),method:`post`}),s.form=c;var l=e=>({url:l.url(e),method:`post`});l.definition={methods:[`post`],url:`/reset-password`},l.url=t=>l.definition.url+e(t),l.post=e=>({url:l.url(e),method:`post`});var u=e=>({action:l.url(e),method:`post`});u.post=e=>({action:l.url(e),method:`post`}),l.form=u;var d=e=>({url:d.url(e),method:`get`});d.definition={methods:[`get`,`head`],url:`/user/confirm-password`},d.url=t=>d.definition.url+e(t),d.get=e=>({url:d.url(e),method:`get`}),d.head=e=>({url:d.url(e),method:`head`});var f=e=>({action:d.url(e),method:`get`});f.get=e=>({action:d.url(e),method:`get`}),f.head=e=>({action:d.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),d.form=f;var p=e=>({url:p.url(e),method:`get`});p.definition={methods:[`get`,`head`],url:`/user/confirmed-password-status`},p.url=t=>p.definition.url+e(t),p.get=e=>({url:p.url(e),method:`get`}),p.head=e=>({url:p.url(e),method:`head`});var m=e=>({action:p.url(e),method:`get`});m.get=e=>({action:p.url(e),method:`get`}),m.head=e=>({action:p.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),p.form=m,Object.assign(r,r),Object.assign(a,a),Object.assign(s,s),Object.assign(l,l),Object.assign(d,n),Object.assign(p,p);export{r as n,l as r,s as t}; \ No newline at end of file diff --git a/public/build/assets/password-input-B7lWK_x4.js b/public/build/assets/password-input-B7lWK_x4.js deleted file mode 100644 index 614efa0..0000000 --- a/public/build/assets/password-input-B7lWK_x4.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,m as t,r as n,x as r}from"./wayfinder-DGNmxDkm.js";import{n as i,t as a}from"./createLucideIcon-C5RzLdeU.js";import{T as o}from"./app-D7ZTkNic.js";var s=a(`EyeOff`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),c=a(`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`}]]),l=e(),u=r(t(),1),d=n();function f(e){let t=(0,l.c)(20),n,r,a;t[0]===e?(n=t[1],r=t[2],a=t[3]):({className:n,ref:a,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=a);let[f,m]=(0,u.useState)(!1),h=f?`text`:`password`,g;t[4]===n?g=t[5]:(g=i(`pr-10`,n),t[4]=n,t[5]=g);let _;t[6]!==r||t[7]!==a||t[8]!==h||t[9]!==g?(_=(0,d.jsx)(o,{type:h,className:g,ref:a,...r}),t[6]=r,t[7]=a,t[8]=h,t[9]=g,t[10]=_):_=t[10];let v;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(v=()=>m(p),t[11]=v):v=t[11];let y=f?`Hide password`:`Show password`,b;t[12]===f?b=t[13]:(b=f?(0,d.jsx)(s,{className:`size-4`}):(0,d.jsx)(c,{className:`size-4`}),t[12]=f,t[13]=b);let x;t[14]!==y||t[15]!==b?(x=(0,d.jsx)(`button`,{type:`button`,onClick:v,className:`absolute inset-y-0 right-0 flex items-center rounded-r-md px-3 text-muted-foreground hover:text-foreground focus-visible:ring-[3px] focus-visible:ring-ring focus-visible:outline-none`,"aria-label":y,tabIndex:-1,children:b}),t[14]=y,t[15]=b,t[16]=x):x=t[16];let S;return t[17]!==_||t[18]!==x?(S=(0,d.jsxs)(`div`,{className:`relative`,children:[_,x]}),t[17]=_,t[18]=x,t[19]=S):S=t[19],S}function p(e){return!e}export{c as n,s as r,f as t}; \ No newline at end of file diff --git a/public/build/assets/patrick-hand-latin-400-normal-B7HHA2Vw.woff2 b/public/build/assets/patrick-hand-latin-400-normal-B7HHA2Vw.woff2 deleted file mode 100644 index e80b54b..0000000 Binary files a/public/build/assets/patrick-hand-latin-400-normal-B7HHA2Vw.woff2 and /dev/null differ diff --git a/public/build/assets/patrick-hand-latin-400-normal-Df9_VoRQ.woff b/public/build/assets/patrick-hand-latin-400-normal-Df9_VoRQ.woff deleted file mode 100644 index 82a1751..0000000 Binary files a/public/build/assets/patrick-hand-latin-400-normal-Df9_VoRQ.woff and /dev/null differ diff --git a/public/build/assets/patrick-hand-latin-ext-400-normal-C2ywpnn3.woff b/public/build/assets/patrick-hand-latin-ext-400-normal-C2ywpnn3.woff deleted file mode 100644 index fd56438..0000000 Binary files a/public/build/assets/patrick-hand-latin-ext-400-normal-C2ywpnn3.woff and /dev/null differ diff --git a/public/build/assets/patrick-hand-latin-ext-400-normal-Dno5CMlI.woff2 b/public/build/assets/patrick-hand-latin-ext-400-normal-Dno5CMlI.woff2 deleted file mode 100644 index d00c02c..0000000 Binary files a/public/build/assets/patrick-hand-latin-ext-400-normal-Dno5CMlI.woff2 and /dev/null differ diff --git a/public/build/assets/patrick-hand-vietnamese-400-normal-65jA92mZ.woff2 b/public/build/assets/patrick-hand-vietnamese-400-normal-65jA92mZ.woff2 deleted file mode 100644 index 49c912f..0000000 Binary files a/public/build/assets/patrick-hand-vietnamese-400-normal-65jA92mZ.woff2 and /dev/null differ diff --git a/public/build/assets/patrick-hand-vietnamese-400-normal-CZjY324Y.woff b/public/build/assets/patrick-hand-vietnamese-400-normal-CZjY324Y.woff deleted file mode 100644 index 86d48f7..0000000 Binary files a/public/build/assets/patrick-hand-vietnamese-400-normal-CZjY324Y.woff and /dev/null differ diff --git a/public/build/assets/pixelify-sans-cyrillic-wght-normal-BfQLqnEI.woff2 b/public/build/assets/pixelify-sans-cyrillic-wght-normal-BfQLqnEI.woff2 deleted file mode 100644 index cc32cbf..0000000 Binary files a/public/build/assets/pixelify-sans-cyrillic-wght-normal-BfQLqnEI.woff2 and /dev/null differ diff --git a/public/build/assets/pixelify-sans-latin-ext-wght-normal-CsF3XSp0.woff2 b/public/build/assets/pixelify-sans-latin-ext-wght-normal-CsF3XSp0.woff2 deleted file mode 100644 index 1bcb86a..0000000 Binary files a/public/build/assets/pixelify-sans-latin-ext-wght-normal-CsF3XSp0.woff2 and /dev/null differ diff --git a/public/build/assets/pixelify-sans-latin-wght-normal-Cbhn5ptY.woff2 b/public/build/assets/pixelify-sans-latin-wght-normal-Cbhn5ptY.woff2 deleted file mode 100644 index fe867e9..0000000 Binary files a/public/build/assets/pixelify-sans-latin-wght-normal-Cbhn5ptY.woff2 and /dev/null differ diff --git a/public/build/assets/placeholder-pattern-Cshm3y5d.js b/public/build/assets/placeholder-pattern-Cshm3y5d.js deleted file mode 100644 index f604bc4..0000000 --- a/public/build/assets/placeholder-pattern-Cshm3y5d.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,m as t,r as n,x as r}from"./wayfinder-DGNmxDkm.js";var i=e(),a=r(t(),1),o=n();function s(e){let t=(0,i.c)(9),{className:n}=e,r=(0,a.useId)(),s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,o.jsx)(`path`,{d:`M-3 13 15-5M-5 5l18-18M-1 21 17 3`}),t[0]=s):s=t[0];let c;t[1]===r?c=t[2]:(c=(0,o.jsx)(`defs`,{children:(0,o.jsx)(`pattern`,{id:r,x:`0`,y:`0`,width:`10`,height:`10`,patternUnits:`userSpaceOnUse`,children:s})}),t[1]=r,t[2]=c);let l=`url(#${r})`,u;t[3]===l?u=t[4]:(u=(0,o.jsx)(`rect`,{stroke:`none`,fill:l,width:`100%`,height:`100%`}),t[3]=l,t[4]=u);let d;return t[5]!==n||t[6]!==c||t[7]!==u?(d=(0,o.jsxs)(`svg`,{className:n,fill:`none`,children:[c,u]}),t[5]=n,t[6]=c,t[7]=u,t[8]=d):d=t[8],d}export{s as t}; \ No newline at end of file diff --git a/public/build/assets/playfair-display-cyrillic-wght-normal-5WvUvBgz.woff2 b/public/build/assets/playfair-display-cyrillic-wght-normal-5WvUvBgz.woff2 deleted file mode 100644 index a85e8f8..0000000 Binary files a/public/build/assets/playfair-display-cyrillic-wght-normal-5WvUvBgz.woff2 and /dev/null differ diff --git a/public/build/assets/playfair-display-latin-ext-wght-normal-CT1r92Rl.woff2 b/public/build/assets/playfair-display-latin-ext-wght-normal-CT1r92Rl.woff2 deleted file mode 100644 index 53c412b..0000000 Binary files a/public/build/assets/playfair-display-latin-ext-wght-normal-CT1r92Rl.woff2 and /dev/null differ diff --git a/public/build/assets/playfair-display-latin-wght-normal-BOwq7MWX.woff2 b/public/build/assets/playfair-display-latin-wght-normal-BOwq7MWX.woff2 deleted file mode 100644 index 5a3fbbd..0000000 Binary files a/public/build/assets/playfair-display-latin-wght-normal-BOwq7MWX.woff2 and /dev/null differ diff --git a/public/build/assets/playfair-display-vietnamese-wght-normal-Cabi7G8-.woff2 b/public/build/assets/playfair-display-vietnamese-wght-normal-Cabi7G8-.woff2 deleted file mode 100644 index 4f0777a..0000000 Binary files a/public/build/assets/playfair-display-vietnamese-wght-normal-Cabi7G8-.woff2 and /dev/null differ diff --git a/public/build/assets/poppins-devanagari-400-normal-CJDn6rn8.woff2 b/public/build/assets/poppins-devanagari-400-normal-CJDn6rn8.woff2 deleted file mode 100644 index 1ad5724..0000000 Binary files a/public/build/assets/poppins-devanagari-400-normal-CJDn6rn8.woff2 and /dev/null differ diff --git a/public/build/assets/poppins-devanagari-400-normal-CqVvlrh5.woff b/public/build/assets/poppins-devanagari-400-normal-CqVvlrh5.woff deleted file mode 100644 index 4e062a5..0000000 Binary files a/public/build/assets/poppins-devanagari-400-normal-CqVvlrh5.woff and /dev/null differ diff --git a/public/build/assets/poppins-latin-400-normal-BOb3E3N0.woff b/public/build/assets/poppins-latin-400-normal-BOb3E3N0.woff deleted file mode 100644 index 2b53b9c..0000000 Binary files a/public/build/assets/poppins-latin-400-normal-BOb3E3N0.woff and /dev/null differ diff --git a/public/build/assets/poppins-latin-400-normal-cpxAROuN.woff2 b/public/build/assets/poppins-latin-400-normal-cpxAROuN.woff2 deleted file mode 100644 index b69e009..0000000 Binary files a/public/build/assets/poppins-latin-400-normal-cpxAROuN.woff2 and /dev/null differ diff --git a/public/build/assets/poppins-latin-ext-400-normal-DaBSavcJ.woff b/public/build/assets/poppins-latin-ext-400-normal-DaBSavcJ.woff deleted file mode 100644 index 3e514cf..0000000 Binary files a/public/build/assets/poppins-latin-ext-400-normal-DaBSavcJ.woff and /dev/null differ diff --git a/public/build/assets/poppins-latin-ext-400-normal-by3JarPu.woff2 b/public/build/assets/poppins-latin-ext-400-normal-by3JarPu.woff2 deleted file mode 100644 index 63f4711..0000000 Binary files a/public/build/assets/poppins-latin-ext-400-normal-by3JarPu.woff2 and /dev/null differ diff --git a/public/build/assets/profile-BJaEZKpb.js b/public/build/assets/profile-BJaEZKpb.js deleted file mode 100644 index ec8c466..0000000 --- a/public/build/assets/profile-BJaEZKpb.js +++ /dev/null @@ -1 +0,0 @@ -import{a as e,c as t,f as n,i as r,m as i,n as a,o,r as s,x as c}from"./wayfinder-DGNmxDkm.js";import{t as l}from"./button-Dnfc0p4v.js";import{t as u}from"./password-input-B7lWK_x4.js";import{T as d,i as f,r as p}from"./app-D7ZTkNic.js";import{a as m,c as h,i as g,n as _,r as v,s as y,t as b}from"./dialog-CgJmQ2_H.js";import{t as x}from"./input-error-C2eP__MC.js";import{t as S}from"./label-B7tz5f5X.js";import{t as C}from"./verification-C-OePIcE.js";var w=r(),T=e=>({url:T.url(e),method:`get`});T.definition={methods:[`get`,`head`],url:`/settings/profile`},T.url=e=>T.definition.url+a(e),T.get=e=>({url:T.url(e),method:`get`}),T.head=e=>({url:T.url(e),method:`head`});var E=e=>({action:T.url(e),method:`get`});E.get=e=>({action:T.url(e),method:`get`}),E.head=e=>({action:T.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),T.form=E;var D=e=>({url:D.url(e),method:`patch`});D.definition={methods:[`patch`],url:`/settings/profile`},D.url=e=>D.definition.url+a(e),D.patch=e=>({url:D.url(e),method:`patch`});var O=e=>({action:D.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`PATCH`,...e?.query??e?.mergeQuery??{}}}),method:`post`});O.patch=e=>({action:D.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`PATCH`,...e?.query??e?.mergeQuery??{}}}),method:`post`}),D.form=O;var k=e=>({url:k.url(e),method:`delete`});k.definition={methods:[`delete`],url:`/settings/profile`},k.url=e=>k.definition.url+a(e),k.delete=e=>({url:k.url(e),method:`delete`});var A=e=>({action:k.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`DELETE`,...e?.query??e?.mergeQuery??{}}}),method:`post`});A.delete=e=>({action:k.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`DELETE`,...e?.query??e?.mergeQuery??{}}}),method:`post`}),k.form=A;var j={edit:T,update:D,destroy:k},M=c(i(),1),N=s();function P(){let t=(0,w.c)(9),n=(0,M.useRef)(null),r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,N.jsx)(p,{variant:`small`,title:`Delete account`,description:`Delete your account and all of its resources`}),t[0]=r):r=t[0];let i;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,N.jsxs)(`div`,{className:`relative space-y-0.5 text-red-600 dark:text-red-100`,children:[(0,N.jsx)(`p`,{className:`font-medium`,children:`Warning`}),(0,N.jsx)(`p`,{className:`text-sm`,children:`Please proceed with caution, this cannot be undone.`})]}),t[1]=i):i=t[1];let a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,N.jsx)(h,{asChild:!0,children:(0,N.jsx)(l,{variant:`destructive`,"data-test":`delete-user-button`,children:`Delete account`})}),t[2]=a):a=t[2];let o,s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,N.jsx)(y,{children:`Are you sure you want to delete your account?`}),s=(0,N.jsx)(g,{children:`Once your account is deleted, all of its resources and data will also be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.`}),t[3]=o,t[4]=s):(o=t[3],s=t[4]);let c,d,f;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(c=j.destroy.form(),d={preserveScroll:!0},f=()=>n.current?.focus(),t[5]=c,t[6]=d,t[7]=f):(c=t[5],d=t[6],f=t[7]);let C;return t[8]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,N.jsxs)(`div`,{className:`space-y-6`,children:[r,(0,N.jsxs)(`div`,{className:`space-y-4 rounded-lg border border-red-100 bg-red-50 p-4 dark:border-red-200/10 dark:bg-red-700/10`,children:[i,(0,N.jsxs)(b,{children:[a,(0,N.jsxs)(v,{children:[o,s,(0,N.jsx)(e,{...c,options:d,onError:f,resetOnSuccess:!0,className:`space-y-6`,children:e=>{let{resetAndClearErrors:t,processing:r,errors:i}=e;return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)(`div`,{className:`grid gap-2`,children:[(0,N.jsx)(S,{htmlFor:`password`,className:`sr-only`,children:`Password`}),(0,N.jsx)(u,{id:`password`,name:`password`,ref:n,placeholder:`Password`,autoComplete:`current-password`}),(0,N.jsx)(x,{message:i.password})]}),(0,N.jsxs)(m,{className:`gap-2`,children:[(0,N.jsx)(_,{asChild:!0,children:(0,N.jsx)(l,{variant:`secondary`,onClick:()=>t(),children:`Cancel`})}),(0,N.jsx)(l,{variant:`destructive`,disabled:r,asChild:!0,children:(0,N.jsx)(`button`,{type:`submit`,"data-test":`confirm-delete-user-button`,children:`Delete account`})})]})]})}})]})]})]})]}),t[8]=C):C=t[8],C}function F(r){let i=(0,w.c)(14),{mustVerifyEmail:a,status:s}=r,{auth:c}=n().props,u,f;i[0]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,N.jsx)(o,{title:`Profile settings`}),f=(0,N.jsx)(`h1`,{className:`sr-only`,children:`Profile settings`}),i[0]=u,i[1]=f):(u=i[0],f=i[1]);let m;i[2]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,N.jsx)(p,{variant:`small`,title:`Profile information`,description:`Update your name and email address`}),i[2]=m):m=i[2];let h,g;i[3]===Symbol.for(`react.memo_cache_sentinel`)?(h=j.update.form(),g={preserveScroll:!0},i[3]=h,i[4]=g):(h=i[3],g=i[4]);let _;i[5]!==c.user.email||i[6]!==c.user.email_verified_at||i[7]!==c.user.name||i[8]!==a||i[9]!==s?(_=(0,N.jsxs)(`div`,{className:`space-y-6`,children:[m,(0,N.jsx)(e,{...h,options:g,className:`space-y-6`,children:e=>{let{processing:n,errors:r}=e;return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)(`div`,{className:`grid gap-2`,children:[(0,N.jsx)(S,{htmlFor:`name`,children:`Name`}),(0,N.jsx)(d,{id:`name`,className:`mt-1 block w-full`,defaultValue:c.user.name,name:`name`,required:!0,autoComplete:`name`,placeholder:`Full name`}),(0,N.jsx)(x,{className:`mt-2`,message:r.name})]}),(0,N.jsxs)(`div`,{className:`grid gap-2`,children:[(0,N.jsx)(S,{htmlFor:`email`,children:`Email address`}),(0,N.jsx)(d,{id:`email`,type:`email`,className:`mt-1 block w-full`,defaultValue:c.user.email,name:`email`,required:!0,autoComplete:`username`,placeholder:`Email address`}),(0,N.jsx)(x,{className:`mt-2`,message:r.email})]}),a&&c.user.email_verified_at===null&&(0,N.jsxs)(`div`,{children:[(0,N.jsxs)(`p`,{className:`-mt-4 text-sm text-muted-foreground`,children:[`Your email address is unverified.`,` `,(0,N.jsx)(t,{href:C(),as:`button`,className:`text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500`,children:`Click here to resend the verification email.`})]}),s===`verification-link-sent`&&(0,N.jsx)(`div`,{className:`mt-2 text-sm font-medium text-green-600`,children:`A new verification link has been sent to your email address.`})]}),(0,N.jsx)(`div`,{className:`flex items-center gap-4`,children:(0,N.jsx)(l,{disabled:n,"data-test":`update-profile-button`,children:`Save`})})]})}})]}),i[5]=c.user.email,i[6]=c.user.email_verified_at,i[7]=c.user.name,i[8]=a,i[9]=s,i[10]=_):_=i[10];let v;i[11]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,N.jsx)(P,{}),i[11]=v):v=i[11];let y;return i[12]===_?y=i[13]:(y=(0,N.jsxs)(N.Fragment,{children:[u,f,_,v]}),i[12]=_,i[13]=y),y}F.layout={breadcrumbs:[{title:`Profile settings`,href:f()}]};export{F as default}; \ No newline at end of file diff --git a/public/build/assets/quicksand-latin-ext-wght-normal-CrJ75Ewg.woff2 b/public/build/assets/quicksand-latin-ext-wght-normal-CrJ75Ewg.woff2 deleted file mode 100644 index a57e727..0000000 Binary files a/public/build/assets/quicksand-latin-ext-wght-normal-CrJ75Ewg.woff2 and /dev/null differ diff --git a/public/build/assets/quicksand-latin-wght-normal-Buj9m_3d.woff2 b/public/build/assets/quicksand-latin-wght-normal-Buj9m_3d.woff2 deleted file mode 100644 index b29be8d..0000000 Binary files a/public/build/assets/quicksand-latin-wght-normal-Buj9m_3d.woff2 and /dev/null differ diff --git a/public/build/assets/quicksand-vietnamese-wght-normal-ei70gACF.woff2 b/public/build/assets/quicksand-vietnamese-wght-normal-ei70gACF.woff2 deleted file mode 100644 index 4ac6270..0000000 Binary files a/public/build/assets/quicksand-vietnamese-wght-normal-ei70gACF.woff2 and /dev/null differ diff --git a/public/build/assets/rajdhani-devanagari-400-normal-BdIzgbsr.woff b/public/build/assets/rajdhani-devanagari-400-normal-BdIzgbsr.woff deleted file mode 100644 index 4c2e7aa..0000000 Binary files a/public/build/assets/rajdhani-devanagari-400-normal-BdIzgbsr.woff and /dev/null differ diff --git a/public/build/assets/rajdhani-devanagari-400-normal-CTuj2HZW.woff2 b/public/build/assets/rajdhani-devanagari-400-normal-CTuj2HZW.woff2 deleted file mode 100644 index a486efc..0000000 Binary files a/public/build/assets/rajdhani-devanagari-400-normal-CTuj2HZW.woff2 and /dev/null differ diff --git a/public/build/assets/rajdhani-latin-400-normal-C6_q4usG.woff b/public/build/assets/rajdhani-latin-400-normal-C6_q4usG.woff deleted file mode 100644 index d9063cd..0000000 Binary files a/public/build/assets/rajdhani-latin-400-normal-C6_q4usG.woff and /dev/null differ diff --git a/public/build/assets/rajdhani-latin-400-normal-CurJOxDW.woff2 b/public/build/assets/rajdhani-latin-400-normal-CurJOxDW.woff2 deleted file mode 100644 index 7c24f39..0000000 Binary files a/public/build/assets/rajdhani-latin-400-normal-CurJOxDW.woff2 and /dev/null differ diff --git a/public/build/assets/rajdhani-latin-ext-400-normal-DACPYgMx.woff2 b/public/build/assets/rajdhani-latin-ext-400-normal-DACPYgMx.woff2 deleted file mode 100644 index 6241285..0000000 Binary files a/public/build/assets/rajdhani-latin-ext-400-normal-DACPYgMx.woff2 and /dev/null differ diff --git a/public/build/assets/rajdhani-latin-ext-400-normal-Der7ynDE.woff b/public/build/assets/rajdhani-latin-ext-400-normal-Der7ynDE.woff deleted file mode 100644 index 20a32eb..0000000 Binary files a/public/build/assets/rajdhani-latin-ext-400-normal-Der7ynDE.woff and /dev/null differ diff --git a/public/build/assets/register-D3EeM3dT.js b/public/build/assets/register-D3EeM3dT.js deleted file mode 100644 index 02bc8d2..0000000 --- a/public/build/assets/register-D3EeM3dT.js +++ /dev/null @@ -1 +0,0 @@ -import{a as e,i as t,n,o as r,r as i}from"./wayfinder-DGNmxDkm.js";import{t as a}from"./button-Dnfc0p4v.js";import{n as o,r as s,t as c}from"./socialite-Dj_w8xs5.js";import{t as l}from"./password-input-B7lWK_x4.js";import{t as u}from"./github-o-Azl6zG.js";import{T as d,s as f,w as p}from"./app-D7ZTkNic.js";import{t as m}from"./input-error-C2eP__MC.js";import{t as h}from"./label-B7tz5f5X.js";import{t as g}from"./spinner-DkjOSfno.js";import{t as _}from"./text-link-DeHc-DyP.js";var v=t(),y=e=>({url:y.url(e),method:`post`});y.definition={methods:[`post`],url:`/register`},y.url=e=>y.definition.url+n(e),y.post=e=>({url:y.url(e),method:`post`});var b=e=>({action:y.url(e),method:`post`});b.post=e=>({action:y.url(e),method:`post`}),y.form=b,Object.assign(y,y);var x=i();function S(){let t=(0,v.c)(6),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,x.jsx)(r,{title:`Register`}),t[0]=n):n=t[0];let i;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,x.jsx)(a,{variant:`outline`,className:`w-full`,asChild:!0,children:(0,x.jsxs)(`a`,{href:c.url(`github`),children:[(0,x.jsx)(o,{iconNode:u,className:`mr-2 h-4 w-4`}),`Github`]})}),t[1]=i):i=t[1];let l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,x.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[i,(0,x.jsx)(a,{variant:`outline`,className:`w-full`,asChild:!0,children:(0,x.jsxs)(`a`,{href:c.url(`google`),children:[(0,x.jsx)(o,{iconNode:s,className:`mr-2 h-4 w-4`}),`Google`]})})]}),t[2]=l):l=t[2];let d;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,x.jsx)(`div`,{className:`absolute inset-0 flex items-center`,children:(0,x.jsx)(p,{})}),t[3]=d):d=t[3];let f;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,x.jsxs)(`div`,{className:`relative`,children:[d,(0,x.jsx)(`div`,{className:`relative flex justify-center text-xs uppercase`,children:(0,x.jsx)(`span`,{className:`bg-background px-2 text-muted-foreground`,children:`Or continue with`})})]}),t[4]=f):f=t[4];let m;return t[5]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,x.jsxs)(x.Fragment,{children:[n,(0,x.jsxs)(`div`,{className:`flex flex-col gap-6`,children:[l,f,(0,x.jsx)(e,{...y.form(),resetOnSuccess:[`password`,`password_confirmation`],disableWhileProcessing:!0,className:`flex flex-col gap-6`,children:C})]})]}),t[5]=m):m=t[5],m}function C(e){let{processing:t,errors:n}=e;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(`div`,{className:`grid gap-6`,children:[(0,x.jsxs)(`div`,{className:`grid gap-2`,children:[(0,x.jsx)(h,{htmlFor:`name`,children:`Name`}),(0,x.jsx)(d,{id:`name`,type:`text`,required:!0,autoFocus:!0,tabIndex:1,autoComplete:`name`,name:`name`,placeholder:`Full name`}),(0,x.jsx)(m,{message:n.name,className:`mt-2`})]}),(0,x.jsxs)(`div`,{className:`grid gap-2`,children:[(0,x.jsx)(h,{htmlFor:`email`,children:`Email address`}),(0,x.jsx)(d,{id:`email`,type:`email`,required:!0,tabIndex:2,autoComplete:`email`,name:`email`,placeholder:`email@example.com`}),(0,x.jsx)(m,{message:n.email})]}),(0,x.jsxs)(`div`,{className:`grid gap-2`,children:[(0,x.jsx)(h,{htmlFor:`password`,children:`Password`}),(0,x.jsx)(l,{id:`password`,required:!0,tabIndex:3,autoComplete:`new-password`,name:`password`,placeholder:`Password`}),(0,x.jsx)(m,{message:n.password})]}),(0,x.jsxs)(`div`,{className:`grid gap-2`,children:[(0,x.jsx)(h,{htmlFor:`password_confirmation`,children:`Confirm password`}),(0,x.jsx)(l,{id:`password_confirmation`,required:!0,tabIndex:4,autoComplete:`new-password`,name:`password_confirmation`,placeholder:`Confirm password`}),(0,x.jsx)(m,{message:n.password_confirmation})]}),(0,x.jsxs)(a,{type:`submit`,className:`mt-2 w-full`,tabIndex:5,"data-test":`register-user-button`,children:[t&&(0,x.jsx)(g,{}),`Create account`]})]}),(0,x.jsxs)(`div`,{className:`text-center text-sm text-muted-foreground`,children:[`Already have an account?`,` `,(0,x.jsx)(_,{href:f(),tabIndex:6,children:`Log in`})]})]})}S.layout={title:`Create an account`,description:`Enter your details below to create your account`};export{S as default}; \ No newline at end of file diff --git a/public/build/assets/reset-password-BR7tvV80.js b/public/build/assets/reset-password-BR7tvV80.js deleted file mode 100644 index f83bf95..0000000 --- a/public/build/assets/reset-password-BR7tvV80.js +++ /dev/null @@ -1 +0,0 @@ -import{a as e,i as t,o as n,r}from"./wayfinder-DGNmxDkm.js";import{t as i}from"./button-Dnfc0p4v.js";import{t as a}from"./password-input-B7lWK_x4.js";import{T as o}from"./app-D7ZTkNic.js";import{t as s}from"./input-error-C2eP__MC.js";import{t as c}from"./label-B7tz5f5X.js";import{t as l}from"./spinner-DkjOSfno.js";import{r as u}from"./password-D2d0n4-i.js";var d=t(),f=r();function p(t){let r=(0,d.c)(11),{token:p,email:m}=t,h;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,f.jsx)(n,{title:`Reset password`}),r[0]=h):h=r[0];let g;r[1]===Symbol.for(`react.memo_cache_sentinel`)?(g=u.form(),r[1]=g):g=r[1];let _;r[2]!==m||r[3]!==p?(_=e=>({...e,token:p,email:m}),r[2]=m,r[3]=p,r[4]=_):_=r[4];let v;r[5]===Symbol.for(`react.memo_cache_sentinel`)?(v=[`password`,`password_confirmation`],r[5]=v):v=r[5];let y;r[6]===m?y=r[7]:(y=e=>{let{processing:t,errors:n}=e;return(0,f.jsxs)(`div`,{className:`grid gap-6`,children:[(0,f.jsxs)(`div`,{className:`grid gap-2`,children:[(0,f.jsx)(c,{htmlFor:`email`,children:`Email`}),(0,f.jsx)(o,{id:`email`,type:`email`,name:`email`,autoComplete:`email`,value:m,className:`mt-1 block w-full`,readOnly:!0}),(0,f.jsx)(s,{message:n.email,className:`mt-2`})]}),(0,f.jsxs)(`div`,{className:`grid gap-2`,children:[(0,f.jsx)(c,{htmlFor:`password`,children:`Password`}),(0,f.jsx)(a,{id:`password`,name:`password`,autoComplete:`new-password`,className:`mt-1 block w-full`,autoFocus:!0,placeholder:`Password`}),(0,f.jsx)(s,{message:n.password})]}),(0,f.jsxs)(`div`,{className:`grid gap-2`,children:[(0,f.jsx)(c,{htmlFor:`password_confirmation`,children:`Confirm password`}),(0,f.jsx)(a,{id:`password_confirmation`,name:`password_confirmation`,autoComplete:`new-password`,className:`mt-1 block w-full`,placeholder:`Confirm password`}),(0,f.jsx)(s,{message:n.password_confirmation,className:`mt-2`})]}),(0,f.jsxs)(i,{type:`submit`,className:`mt-4 w-full`,disabled:t,"data-test":`reset-password-button`,children:[t&&(0,f.jsx)(l,{}),`Reset password`]})]})},r[6]=m,r[7]=y);let b;return r[8]!==_||r[9]!==y?(b=(0,f.jsxs)(f.Fragment,{children:[h,(0,f.jsx)(e,{...g,transform:_,resetOnSuccess:v,children:y})]}),r[8]=_,r[9]=y,r[10]=b):b=r[10],b}p.layout={title:`Reset password`,description:`Please enter your new password below`};export{p as default}; \ No newline at end of file diff --git a/public/build/assets/roboto-condensed-cyrillic-ext-wght-normal-DhztH7TG.woff2 b/public/build/assets/roboto-condensed-cyrillic-ext-wght-normal-DhztH7TG.woff2 deleted file mode 100644 index 16a8561..0000000 Binary files a/public/build/assets/roboto-condensed-cyrillic-ext-wght-normal-DhztH7TG.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-condensed-cyrillic-wght-normal-DcSt-2BC.woff2 b/public/build/assets/roboto-condensed-cyrillic-wght-normal-DcSt-2BC.woff2 deleted file mode 100644 index c29bc0b..0000000 Binary files a/public/build/assets/roboto-condensed-cyrillic-wght-normal-DcSt-2BC.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-condensed-greek-ext-wght-normal-CuKbLwpm.woff2 b/public/build/assets/roboto-condensed-greek-ext-wght-normal-CuKbLwpm.woff2 deleted file mode 100644 index 7ff47af..0000000 Binary files a/public/build/assets/roboto-condensed-greek-ext-wght-normal-CuKbLwpm.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-condensed-greek-wght-normal-Cvhr4n9Q.woff2 b/public/build/assets/roboto-condensed-greek-wght-normal-Cvhr4n9Q.woff2 deleted file mode 100644 index f30ca4d..0000000 Binary files a/public/build/assets/roboto-condensed-greek-wght-normal-Cvhr4n9Q.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-condensed-latin-ext-wght-normal-Db2M7toj.woff2 b/public/build/assets/roboto-condensed-latin-ext-wght-normal-Db2M7toj.woff2 deleted file mode 100644 index 1d4c7ed..0000000 Binary files a/public/build/assets/roboto-condensed-latin-ext-wght-normal-Db2M7toj.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-condensed-latin-wght-normal-Cxzi1x1i.woff2 b/public/build/assets/roboto-condensed-latin-wght-normal-Cxzi1x1i.woff2 deleted file mode 100644 index b3a4588..0000000 Binary files a/public/build/assets/roboto-condensed-latin-wght-normal-Cxzi1x1i.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-condensed-vietnamese-wght-normal-BQ3qeiTz.woff2 b/public/build/assets/roboto-condensed-vietnamese-wght-normal-BQ3qeiTz.woff2 deleted file mode 100644 index 8fed12e..0000000 Binary files a/public/build/assets/roboto-condensed-vietnamese-wght-normal-BQ3qeiTz.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-cyrillic-ext-wght-normal-BCp_3N7R.woff2 b/public/build/assets/roboto-cyrillic-ext-wght-normal-BCp_3N7R.woff2 deleted file mode 100644 index 54a61d7..0000000 Binary files a/public/build/assets/roboto-cyrillic-ext-wght-normal-BCp_3N7R.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-cyrillic-wght-normal-fOt7epNf.woff2 b/public/build/assets/roboto-cyrillic-wght-normal-fOt7epNf.woff2 deleted file mode 100644 index 9722525..0000000 Binary files a/public/build/assets/roboto-cyrillic-wght-normal-fOt7epNf.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-greek-ext-wght-normal-Bgw4czJT.woff2 b/public/build/assets/roboto-greek-ext-wght-normal-Bgw4czJT.woff2 deleted file mode 100644 index c1d46ff..0000000 Binary files a/public/build/assets/roboto-greek-ext-wght-normal-Bgw4czJT.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-greek-wght-normal-DlT9XTxE.woff2 b/public/build/assets/roboto-greek-wght-normal-DlT9XTxE.woff2 deleted file mode 100644 index 72840aa..0000000 Binary files a/public/build/assets/roboto-greek-wght-normal-DlT9XTxE.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-latin-ext-wght-normal-DYIxWhlt.woff2 b/public/build/assets/roboto-latin-ext-wght-normal-DYIxWhlt.woff2 deleted file mode 100644 index 1ee3769..0000000 Binary files a/public/build/assets/roboto-latin-ext-wght-normal-DYIxWhlt.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 b/public/build/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 deleted file mode 100644 index 9b0f141..0000000 Binary files a/public/build/assets/roboto-latin-wght-normal-ccAYIvAh.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-math-wght-normal-4a3xuzGk.woff2 b/public/build/assets/roboto-math-wght-normal-4a3xuzGk.woff2 deleted file mode 100644 index f7ee2d3..0000000 Binary files a/public/build/assets/roboto-math-wght-normal-4a3xuzGk.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-mono-cyrillic-ext-wght-normal-BUDPrIko.woff2 b/public/build/assets/roboto-mono-cyrillic-ext-wght-normal-BUDPrIko.woff2 deleted file mode 100644 index b02e2d6..0000000 Binary files a/public/build/assets/roboto-mono-cyrillic-ext-wght-normal-BUDPrIko.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-mono-cyrillic-wght-normal-HUlVHixE.woff2 b/public/build/assets/roboto-mono-cyrillic-wght-normal-HUlVHixE.woff2 deleted file mode 100644 index 8a15f5c..0000000 Binary files a/public/build/assets/roboto-mono-cyrillic-wght-normal-HUlVHixE.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-mono-greek-wght-normal-BJJTbwTT.woff2 b/public/build/assets/roboto-mono-greek-wght-normal-BJJTbwTT.woff2 deleted file mode 100644 index ae2f9eb..0000000 Binary files a/public/build/assets/roboto-mono-greek-wght-normal-BJJTbwTT.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-mono-latin-ext-wght-normal-QAYlOegK.woff2 b/public/build/assets/roboto-mono-latin-ext-wght-normal-QAYlOegK.woff2 deleted file mode 100644 index 532a888..0000000 Binary files a/public/build/assets/roboto-mono-latin-ext-wght-normal-QAYlOegK.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-mono-latin-wght-normal-CZtBPCCa.woff2 b/public/build/assets/roboto-mono-latin-wght-normal-CZtBPCCa.woff2 deleted file mode 100644 index bfa169c..0000000 Binary files a/public/build/assets/roboto-mono-latin-wght-normal-CZtBPCCa.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-mono-vietnamese-wght-normal-DlC-zuDL.woff2 b/public/build/assets/roboto-mono-vietnamese-wght-normal-DlC-zuDL.woff2 deleted file mode 100644 index 2c06834..0000000 Binary files a/public/build/assets/roboto-mono-vietnamese-wght-normal-DlC-zuDL.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-slab-cyrillic-400-normal-Cc0Cso00.woff b/public/build/assets/roboto-slab-cyrillic-400-normal-Cc0Cso00.woff deleted file mode 100644 index bf3108b..0000000 Binary files a/public/build/assets/roboto-slab-cyrillic-400-normal-Cc0Cso00.woff and /dev/null differ diff --git a/public/build/assets/roboto-slab-cyrillic-400-normal-NTBYJ9iY.woff2 b/public/build/assets/roboto-slab-cyrillic-400-normal-NTBYJ9iY.woff2 deleted file mode 100644 index a26dd75..0000000 Binary files a/public/build/assets/roboto-slab-cyrillic-400-normal-NTBYJ9iY.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-slab-cyrillic-ext-400-normal-BW1cBx1L.woff b/public/build/assets/roboto-slab-cyrillic-ext-400-normal-BW1cBx1L.woff deleted file mode 100644 index 4362ca1..0000000 Binary files a/public/build/assets/roboto-slab-cyrillic-ext-400-normal-BW1cBx1L.woff and /dev/null differ diff --git a/public/build/assets/roboto-slab-cyrillic-ext-400-normal-Cm5q4seC.woff2 b/public/build/assets/roboto-slab-cyrillic-ext-400-normal-Cm5q4seC.woff2 deleted file mode 100644 index cf1a103..0000000 Binary files a/public/build/assets/roboto-slab-cyrillic-ext-400-normal-Cm5q4seC.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-slab-greek-400-normal-76UbIAt9.woff2 b/public/build/assets/roboto-slab-greek-400-normal-76UbIAt9.woff2 deleted file mode 100644 index 8ee3edc..0000000 Binary files a/public/build/assets/roboto-slab-greek-400-normal-76UbIAt9.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-slab-greek-400-normal-AoTWS79V.woff b/public/build/assets/roboto-slab-greek-400-normal-AoTWS79V.woff deleted file mode 100644 index bf3b063..0000000 Binary files a/public/build/assets/roboto-slab-greek-400-normal-AoTWS79V.woff and /dev/null differ diff --git a/public/build/assets/roboto-slab-greek-ext-400-normal-C6Q3kR7E.woff b/public/build/assets/roboto-slab-greek-ext-400-normal-C6Q3kR7E.woff deleted file mode 100644 index 84e2962..0000000 Binary files a/public/build/assets/roboto-slab-greek-ext-400-normal-C6Q3kR7E.woff and /dev/null differ diff --git a/public/build/assets/roboto-slab-greek-ext-400-normal-CnoIblM-.woff2 b/public/build/assets/roboto-slab-greek-ext-400-normal-CnoIblM-.woff2 deleted file mode 100644 index 1cdf32b..0000000 Binary files a/public/build/assets/roboto-slab-greek-ext-400-normal-CnoIblM-.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-slab-latin-400-normal-DwurWVj7.woff2 b/public/build/assets/roboto-slab-latin-400-normal-DwurWVj7.woff2 deleted file mode 100644 index 490784f..0000000 Binary files a/public/build/assets/roboto-slab-latin-400-normal-DwurWVj7.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-slab-latin-400-normal-wzK1bUc4.woff b/public/build/assets/roboto-slab-latin-400-normal-wzK1bUc4.woff deleted file mode 100644 index 0b691af..0000000 Binary files a/public/build/assets/roboto-slab-latin-400-normal-wzK1bUc4.woff and /dev/null differ diff --git a/public/build/assets/roboto-slab-latin-ext-400-normal-AV6nsDYb.woff2 b/public/build/assets/roboto-slab-latin-ext-400-normal-AV6nsDYb.woff2 deleted file mode 100644 index be2d48b..0000000 Binary files a/public/build/assets/roboto-slab-latin-ext-400-normal-AV6nsDYb.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-slab-latin-ext-400-normal-DOoLriWR.woff b/public/build/assets/roboto-slab-latin-ext-400-normal-DOoLriWR.woff deleted file mode 100644 index f46f680..0000000 Binary files a/public/build/assets/roboto-slab-latin-ext-400-normal-DOoLriWR.woff and /dev/null differ diff --git a/public/build/assets/roboto-slab-vietnamese-400-normal-BmyZx1xn.woff b/public/build/assets/roboto-slab-vietnamese-400-normal-BmyZx1xn.woff deleted file mode 100644 index 419f048..0000000 Binary files a/public/build/assets/roboto-slab-vietnamese-400-normal-BmyZx1xn.woff and /dev/null differ diff --git a/public/build/assets/roboto-slab-vietnamese-400-normal-bJRBMnqv.woff2 b/public/build/assets/roboto-slab-vietnamese-400-normal-bJRBMnqv.woff2 deleted file mode 100644 index 8c4adf2..0000000 Binary files a/public/build/assets/roboto-slab-vietnamese-400-normal-bJRBMnqv.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-symbols-wght-normal-B7iHSfaG.woff2 b/public/build/assets/roboto-symbols-wght-normal-B7iHSfaG.woff2 deleted file mode 100644 index 05903d1..0000000 Binary files a/public/build/assets/roboto-symbols-wght-normal-B7iHSfaG.woff2 and /dev/null differ diff --git a/public/build/assets/roboto-vietnamese-wght-normal-_f1XEJpo.woff2 b/public/build/assets/roboto-vietnamese-wght-normal-_f1XEJpo.woff2 deleted file mode 100644 index b0c0d0c..0000000 Binary files a/public/build/assets/roboto-vietnamese-wght-normal-_f1XEJpo.woff2 and /dev/null differ diff --git a/public/build/assets/security-uma_Il6p.js b/public/build/assets/security-uma_Il6p.js deleted file mode 100644 index 7697035..0000000 --- a/public/build/assets/security-uma_Il6p.js +++ /dev/null @@ -1 +0,0 @@ -import{a as e,i as t,m as n,n as r,o as i,r as a,x as o}from"./wayfinder-DGNmxDkm.js";import{n as s}from"./use-appearance-QmpypXC6.js";import{t as c}from"./button-Dnfc0p4v.js";import{t as l}from"./createLucideIcon-C5RzLdeU.js";import{t as u}from"./check-h5bDkP1T.js";import{t as d}from"./copy-C1-jVkjV.js";import{n as f,r as p,t as m}from"./password-input-B7lWK_x4.js";import{a as h,c as g,i as _,l as v,n as y,r as b,s as x,t as S,u as C}from"./use-two-factor-auth-DDzjzl9Y.js";import{r as w,t as T}from"./app-D7ZTkNic.js";import{a as E,n as D,o as O,r as k,t as A}from"./card-gSkeg5Iw.js";import{i as j,o as M,r as N,s as P,t as F}from"./dialog-CgJmQ2_H.js";import{t as I}from"./input-error-C2eP__MC.js";import{t as L}from"./label-B7tz5f5X.js";import{t as R}from"./spinner-DkjOSfno.js";import{i as z,n as B,r as V,t as H}from"./use-clipboard-CYcV3HSX.js";var U=l(`CircleAlert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),ee=l(`LockKeyhole`,[[`circle`,{cx:`12`,cy:`16`,r:`1`,key:`1au0dj`}],[`rect`,{x:`3`,y:`10`,width:`18`,height:`12`,rx:`2`,key:`6s8ecr`}],[`path`,{d:`M7 10V7a5 5 0 0 1 10 0v3`,key:`1pqi11`}]]),W=l(`RefreshCw`,[[`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`}]]),te=l(`ScanLine`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`path`,{d:`M7 12h10`,key:`b7w52i`}]]),ne=l(`ShieldCheck`,[[`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`}]]),G=o(n(),1),K=t(),q=e=>({url:q.url(e),method:`get`});q.definition={methods:[`get`,`head`],url:`/settings/security`},q.url=e=>q.definition.url+r(e),q.get=e=>({url:q.url(e),method:`get`}),q.head=e=>({url:q.url(e),method:`head`});var J=e=>({action:q.url(e),method:`get`});J.get=e=>({action:q.url(e),method:`get`}),J.head=e=>({action:q.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),q.form=J;var Y=e=>({url:Y.url(e),method:`put`});Y.definition={methods:[`put`],url:`/settings/password`},Y.url=e=>Y.definition.url+r(e),Y.put=e=>({url:Y.url(e),method:`put`});var X=e=>({action:Y.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`PUT`,...e?.query??e?.mergeQuery??{}}}),method:`post`});X.put=e=>({action:Y.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`PUT`,...e?.query??e?.mergeQuery??{}}}),method:`post`}),Y.form=X;var re={edit:q,update:Y},Z=a();function Q(e){let t=(0,K.c)(8),{errors:n,title:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Z.jsx)(U,{}),t[0]=i):i=t[0];let a=r||`Something went wrong.`,o;t[1]===a?o=t[2]:(o=(0,Z.jsx)(z,{children:a}),t[1]=a,t[2]=o);let s;t[3]===n?s=t[4]:(s=(0,Z.jsx)(V,{children:(0,Z.jsx)(`ul`,{className:`list-inside list-disc text-sm`,children:Array.from(new Set(n)).map(ie)})}),t[3]=n,t[4]=s);let c;return t[5]!==o||t[6]!==s?(c=(0,Z.jsxs)(B,{variant:`destructive`,children:[i,o,s]}),t[5]=o,t[6]=s,t[7]=c):c=t[7],c}function ie(e,t){return(0,Z.jsx)(`li`,{children:e},t)}function ae(t){let n=(0,K.c)(32),{recoveryCodesList:r,fetchRecoveryCodes:i,errors:a}=t,[o,s]=(0,G.useState)(!1),l=(0,G.useRef)(null),u=r.length>0&&o,d;n[0]!==o||n[1]!==i||n[2]!==r.length?(d=async()=>{!o&&!r.length&&await i(),s(!o),o||setTimeout(()=>{l.current?.scrollIntoView({behavior:`smooth`,block:`nearest`})})},n[0]=o,n[1]=i,n[2]=r.length,n[3]=d):d=n[3];let m=d,g,_;n[4]!==i||n[5]!==r.length?(g=()=>{r.length||i()},_=[r.length,i],n[4]=i,n[5]=r.length,n[6]=g,n[7]=_):(g=n[6],_=n[7]),(0,G.useEffect)(g,_);let v=o?p:f,y;n[8]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Z.jsxs)(E,{children:[(0,Z.jsxs)(O,{className:`flex gap-3`,children:[(0,Z.jsx)(ee,{className:`size-4`,"aria-hidden":`true`}),`2FA recovery codes`]}),(0,Z.jsx)(k,{children:`Recovery codes let you regain access if you lose your 2FA device. Store them in a secure password manager.`})]}),n[8]=y):y=n[8];let b;n[9]===v?b=n[10]:(b=(0,Z.jsx)(v,{className:`size-4`,"aria-hidden":`true`}),n[9]=v,n[10]=b);let x=o?`Hide`:`View`,S;n[11]!==o||n[12]!==b||n[13]!==x||n[14]!==m?(S=(0,Z.jsxs)(c,{onClick:m,className:`w-fit`,"aria-expanded":o,"aria-controls":`recovery-codes-section`,children:[b,x,` recovery codes`]}),n[11]=o,n[12]=b,n[13]=x,n[14]=m,n[15]=S):S=n[15];let C;n[16]!==u||n[17]!==i?(C=u&&(0,Z.jsx)(e,{...h.form(),options:{preserveScroll:!0},onSuccess:i,children:ce}),n[16]=u,n[17]=i,n[18]=C):C=n[18];let w;n[19]!==S||n[20]!==C?(w=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-3 select-none sm:flex-row sm:items-center sm:justify-between`,children:[S,C]}),n[19]=S,n[20]=C,n[21]=w):w=n[21];let T=`relative overflow-hidden transition-all duration-300 ${o?`h-auto opacity-100`:`h-0 opacity-0`}`,j=!o,M;n[22]!==a||n[23]!==r?(M=(0,Z.jsx)(`div`,{className:`mt-3 space-y-3`,children:a?.length?(0,Z.jsx)(Q,{errors:a}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`div`,{ref:l,className:`grid gap-1 rounded-lg bg-muted p-4 font-mono text-sm`,role:`list`,"aria-label":`Recovery codes`,children:r.length?r.map(se):(0,Z.jsx)(`div`,{className:`space-y-2`,"aria-label":`Loading recovery codes`,children:Array.from({length:8},oe)})}),(0,Z.jsx)(`div`,{className:`text-xs text-muted-foreground select-none`,children:(0,Z.jsxs)(`p`,{id:`regenerate-warning`,children:[`Each recovery code can be used once to access your account and will be removed after use. If you need more, click`,` `,(0,Z.jsx)(`span`,{className:`font-bold`,children:`Regenerate codes`}),` `,`above.`]})})]})}),n[22]=a,n[23]=r,n[24]=M):M=n[24];let N;n[25]!==T||n[26]!==j||n[27]!==M?(N=(0,Z.jsx)(`div`,{id:`recovery-codes-section`,className:T,"aria-hidden":j,children:M}),n[25]=T,n[26]=j,n[27]=M,n[28]=N):N=n[28];let P;return n[29]!==N||n[30]!==w?(P=(0,Z.jsxs)(A,{children:[y,(0,Z.jsxs)(D,{children:[w,N]})]}),n[29]=N,n[30]=w,n[31]=P):P=n[31],P}function oe(e,t){return(0,Z.jsx)(`div`,{className:`h-4 animate-pulse rounded bg-muted-foreground/20`,"aria-hidden":`true`},t)}function se(e,t){return(0,Z.jsx)(`div`,{role:`listitem`,className:`select-text`,children:e},t)}function ce(e){let{processing:t}=e;return(0,Z.jsxs)(c,{variant:`secondary`,type:`submit`,disabled:t,"aria-describedby":`regenerate-warning`,children:[(0,Z.jsx)(W,{}),` Regenerate codes`]})}function le(){let e=(0,K.c)(2),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Z.jsx)(`div`,{className:`absolute inset-0 grid grid-cols-5 opacity-50`,children:Array.from({length:5},de)}),e[0]=t):t=e[0];let n;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`div`,{className:`mb-3 rounded-full border border-border bg-card p-0.5 shadow-sm`,children:(0,Z.jsxs)(`div`,{className:`relative overflow-hidden rounded-full border border-border bg-muted p-2.5`,children:[t,(0,Z.jsx)(`div`,{className:`absolute inset-0 grid grid-rows-5 opacity-50`,children:Array.from({length:5},ue)}),(0,Z.jsx)(te,{className:`relative z-20 size-6 text-foreground`})]})}),e[1]=n):n=e[1],n}function ue(e,t){return(0,Z.jsx)(`div`,{className:`border-b border-border last:border-b-0`},`row-${t+1}`)}function de(e,t){return(0,Z.jsx)(`div`,{className:`border-r border-border last:border-r-0`},`col-${t+1}`)}function fe(e){let t=(0,K.c)(9),{qrCodeSvg:n,manualSetupKey:r,buttonText:i,onNextStep:a,errors:o}=e,{resolvedAppearance:l}=s(),[f,p]=H(),m=f===r?u:d,h;return t[0]!==m||t[1]!==i||t[2]!==p||t[3]!==o||t[4]!==r||t[5]!==a||t[6]!==n||t[7]!==l?(h=(0,Z.jsx)(Z.Fragment,{children:o?.length?(0,Z.jsx)(Q,{errors:o}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`div`,{className:`mx-auto flex max-w-md overflow-hidden`,children:(0,Z.jsx)(`div`,{className:`mx-auto aspect-square w-64 rounded-lg border border-border`,children:(0,Z.jsx)(`div`,{className:`z-10 flex h-full w-full items-center justify-center p-5`,children:n?(0,Z.jsx)(`div`,{className:`aspect-square w-full rounded-lg bg-white p-2 [&_svg]:size-full`,dangerouslySetInnerHTML:{__html:n},style:{filter:l===`dark`?`invert(1) brightness(1.5)`:void 0}}):(0,Z.jsx)(R,{})})})}),(0,Z.jsx)(`div`,{className:`flex w-full space-x-5`,children:(0,Z.jsx)(c,{className:`w-full`,onClick:a,children:i})}),(0,Z.jsxs)(`div`,{className:`relative flex w-full items-center justify-center`,children:[(0,Z.jsx)(`div`,{className:`absolute inset-0 top-1/2 h-px w-full bg-border`}),(0,Z.jsx)(`span`,{className:`relative bg-card px-2 py-1`,children:`or, enter the code manually`})]}),(0,Z.jsx)(`div`,{className:`flex w-full space-x-2`,children:(0,Z.jsx)(`div`,{className:`flex w-full items-stretch overflow-hidden rounded-xl border border-border`,children:r?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`input`,{type:`text`,readOnly:!0,value:r,className:`h-full w-full bg-background p-3 text-foreground outline-none`}),(0,Z.jsx)(`button`,{onClick:()=>p(r),className:`border-l border-border px-3 hover:bg-muted`,children:(0,Z.jsx)(m,{className:`w-4`})})]}):(0,Z.jsx)(`div`,{className:`flex h-full w-full items-center justify-center bg-muted p-3`,children:(0,Z.jsx)(R,{})})})})]})}),t[0]=m,t[1]=i,t[2]=p,t[3]=o,t[4]=r,t[5]=a,t[6]=n,t[7]=l,t[8]=h):h=t[8],h}function pe(t){let n=(0,K.c)(11),{onClose:r,onBack:i}=t,[a,o]=(0,G.useState)(``),s=(0,G.useRef)(null),l,u;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=()=>{setTimeout(()=>{s.current?.querySelector(`input`)?.focus()},0)},u=[],n[0]=l,n[1]=u):(l=n[0],u=n[1]),(0,G.useEffect)(l,u);let d;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=y.form(),n[2]=d):d=n[2];let f;n[3]===r?f=n[4]:(f=()=>r(),n[3]=r,n[4]=f);let p;n[5]!==a||n[6]!==i?(p=e=>{let{processing:t,errors:n}=e;return(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsxs)(`div`,{ref:s,className:`relative w-full space-y-3`,children:[(0,Z.jsxs)(`div`,{className:`flex w-full flex-col items-center space-y-3 py-2`,children:[(0,Z.jsx)(x,{id:`otp`,name:`code`,maxLength:6,onChange:o,disabled:t,pattern:C,autoFocus:!0,children:(0,Z.jsx)(g,{children:Array.from({length:6},me)})}),(0,Z.jsx)(I,{message:n?.confirmTwoFactorAuthentication?.code})]}),(0,Z.jsxs)(`div`,{className:`flex w-full space-x-5`,children:[(0,Z.jsx)(c,{type:`button`,variant:`outline`,className:`flex-1`,onClick:i,disabled:t,children:`Back`}),(0,Z.jsx)(c,{type:`submit`,className:`flex-1`,disabled:t||a.length<6,children:`Confirm`})]})]})})},n[5]=a,n[6]=i,n[7]=p):p=n[7];let m;return n[8]!==f||n[9]!==p?(m=(0,Z.jsx)(e,{...d,onSuccess:f,resetOnError:!0,resetOnSuccess:!0,children:p}),n[8]=f,n[9]=p,n[10]=m):m=n[10],m}function me(e,t){return(0,Z.jsx)(v,{index:t},t)}function he(e){let t=(0,K.c)(43),{isOpen:n,onClose:r,requiresConfirmation:i,twoFactorEnabled:a,qrCodeSvg:o,manualSetupKey:s,clearSetupData:c,fetchSetupData:l,errors:u}=e,[d,f]=(0,G.useState)(!1),p;bb0:{if(a){let e;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e={title:`Two-factor authentication enabled`,description:`Two-factor authentication is now enabled. Scan the QR code or enter the setup key in your authenticator app.`,buttonText:`Close`},t[0]=e):e=t[0],p=e;break bb0}if(d){let e;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(e={title:`Verify authentication code`,description:`Enter the 6-digit code from your authenticator app`,buttonText:`Continue`},t[1]=e):e=t[1],p=e;break bb0}let e;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(e={title:`Enable two-factor authentication`,description:`To finish enabling two-factor authentication, scan the QR code or enter the setup key in your authenticator app`,buttonText:`Continue`},t[2]=e):e=t[2],p=e}let m=p,h;t[3]===c?h=t[4]:(h=()=>{f(!1),c()},t[3]=c,t[4]=h);let g=h,_;t[5]!==r||t[6]!==g?(_=()=>{g(),r()},t[5]=r,t[6]=g,t[7]=_):_=t[7];let v=_,y;t[8]!==v||t[9]!==i?(y=()=>{if(i){f(!0);return}v()},t[8]=v,t[9]=i,t[10]=y):y=t[10];let b=y,x=(0,G.useRef)(l),S,C;t[11]===l?(S=t[12],C=t[13]):(S=()=>{x.current=l},C=[l],t[11]=l,t[12]=S,t[13]=C),(0,G.useEffect)(S,C);let w,T;t[14]!==n||t[15]!==o?(w=()=>{n&&!o&&x.current()},T=[n,o],t[14]=n,t[15]=o,t[16]=w,t[17]=T):(w=t[16],T=t[17]),(0,G.useEffect)(w,T);let E;t[18]===v?E=t[19]:(E=e=>!e&&v(),t[18]=v,t[19]=E);let D;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,Z.jsx)(le,{}),t[20]=D):D=t[20];let O;t[21]===m.title?O=t[22]:(O=(0,Z.jsx)(P,{children:m.title}),t[21]=m.title,t[22]=O);let k;t[23]===m.description?k=t[24]:(k=(0,Z.jsx)(j,{className:`text-center`,children:m.description}),t[23]=m.description,t[24]=k);let A;t[25]!==O||t[26]!==k?(A=(0,Z.jsxs)(M,{className:`flex items-center justify-center`,children:[D,O,k]}),t[25]=O,t[26]=k,t[27]=A):A=t[27];let I;t[28]!==u||t[29]!==v||t[30]!==b||t[31]!==s||t[32]!==m.buttonText||t[33]!==o||t[34]!==d?(I=(0,Z.jsx)(`div`,{className:`flex flex-col items-center space-y-5`,children:d?(0,Z.jsx)(pe,{onClose:v,onBack:()=>f(!1)}):(0,Z.jsx)(fe,{qrCodeSvg:o,manualSetupKey:s,buttonText:m.buttonText,onNextStep:b,errors:u})}),t[28]=u,t[29]=v,t[30]=b,t[31]=s,t[32]=m.buttonText,t[33]=o,t[34]=d,t[35]=I):I=t[35];let L;t[36]!==A||t[37]!==I?(L=(0,Z.jsxs)(N,{className:`sm:max-w-md`,children:[A,I]}),t[36]=A,t[37]=I,t[38]=L):L=t[38];let R;return t[39]!==n||t[40]!==L||t[41]!==E?(R=(0,Z.jsx)(F,{open:n,onOpenChange:E,children:L}),t[39]=n,t[40]=L,t[41]=E,t[42]=R):R=t[42],R}function $(t){let n=(0,K.c)(27),{canManageTwoFactor:r,requiresConfirmation:a,twoFactorEnabled:o}=t,s=r===void 0?!1:r,l=a===void 0?!1:a,u=o===void 0?!1:o,d=(0,G.useRef)(null),f=(0,G.useRef)(null),{qrCodeSvg:p,hasSetupData:h,manualSetupKey:g,clearSetupData:v,clearTwoFactorAuthData:y,fetchSetupData:x,recoveryCodesList:C,fetchRecoveryCodes:T,errors:E}=S(),[D,O]=(0,G.useState)(!1),k=(0,G.useRef)(u),A,j;n[0]!==y||n[1]!==u?(A=()=>{k.current&&!u&&y(),k.current=u},j=[u,y],n[0]=y,n[1]=u,n[2]=A,n[3]=j):(A=n[2],j=n[3]),(0,G.useEffect)(A,j);let M,N;n[4]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,Z.jsx)(i,{title:`Security settings`}),N=(0,Z.jsx)(`h1`,{className:`sr-only`,children:`Security settings`}),n[4]=M,n[5]=N):(M=n[4],N=n[5]);let P;n[6]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,Z.jsx)(w,{variant:`small`,title:`Update password`,description:`Ensure your account is using a long, random password to stay secure`}),n[6]=P):P=n[6];let F,R,z;n[7]===Symbol.for(`react.memo_cache_sentinel`)?(z=re.update.form(),F={preserveScroll:!0},R=[`password`,`password_confirmation`,`current_password`],n[7]=F,n[8]=R,n[9]=z):(F=n[7],R=n[8],z=n[9]);let B;n[10]===Symbol.for(`react.memo_cache_sentinel`)?(B=e=>{e.password&&d.current?.focus(),e.current_password&&f.current?.focus()},n[10]=B):B=n[10];let V;n[11]===Symbol.for(`react.memo_cache_sentinel`)?(V=(0,Z.jsxs)(`div`,{className:`space-y-6`,children:[P,(0,Z.jsx)(e,{...z,options:F,resetOnError:R,resetOnSuccess:!0,onError:B,className:`space-y-6`,children:e=>{let{errors:t,processing:n}=e;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`div`,{className:`grid gap-2`,children:[(0,Z.jsx)(L,{htmlFor:`current_password`,children:`Current password`}),(0,Z.jsx)(m,{id:`current_password`,ref:f,name:`current_password`,className:`mt-1 block w-full`,autoComplete:`current-password`,placeholder:`Current password`}),(0,Z.jsx)(I,{message:t.current_password})]}),(0,Z.jsxs)(`div`,{className:`grid gap-2`,children:[(0,Z.jsx)(L,{htmlFor:`password`,children:`New password`}),(0,Z.jsx)(m,{id:`password`,ref:d,name:`password`,className:`mt-1 block w-full`,autoComplete:`new-password`,placeholder:`New password`}),(0,Z.jsx)(I,{message:t.password})]}),(0,Z.jsxs)(`div`,{className:`grid gap-2`,children:[(0,Z.jsx)(L,{htmlFor:`password_confirmation`,children:`Confirm password`}),(0,Z.jsx)(m,{id:`password_confirmation`,name:`password_confirmation`,className:`mt-1 block w-full`,autoComplete:`new-password`,placeholder:`Confirm password`}),(0,Z.jsx)(I,{message:t.password_confirmation})]}),(0,Z.jsx)(`div`,{className:`flex items-center gap-4`,children:(0,Z.jsx)(c,{disabled:n,"data-test":`update-password-button`,children:`Save password`})})]})}})]}),n[11]=V):V=n[11];let H;n[12]!==s||n[13]!==v||n[14]!==E||n[15]!==T||n[16]!==x||n[17]!==h||n[18]!==g||n[19]!==p||n[20]!==C||n[21]!==l||n[22]!==D||n[23]!==u?(H=s&&(0,Z.jsxs)(`div`,{className:`space-y-6`,children:[(0,Z.jsx)(w,{variant:`small`,title:`Two-factor authentication`,description:`Manage your two-factor authentication settings`}),u?(0,Z.jsxs)(`div`,{className:`flex flex-col items-start justify-start space-y-4`,children:[(0,Z.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`You will be prompted for a secure, random pin during login, which you can retrieve from the TOTP-supported application on your phone.`}),(0,Z.jsx)(`div`,{className:`relative inline`,children:(0,Z.jsx)(e,{...b.form(),children:_e})}),(0,Z.jsx)(ae,{recoveryCodesList:C,fetchRecoveryCodes:T,errors:E})]}):(0,Z.jsxs)(`div`,{className:`flex flex-col items-start justify-start space-y-4`,children:[(0,Z.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`When you enable two-factor authentication, you will be prompted for a secure pin during login. This pin can be retrieved from a TOTP-supported application on your phone.`}),(0,Z.jsx)(`div`,{children:h?(0,Z.jsxs)(c,{onClick:()=>O(!0),children:[(0,Z.jsx)(ne,{}),`Continue setup`]}):(0,Z.jsx)(e,{..._.form(),onSuccess:()=>O(!0),children:ge})})]}),(0,Z.jsx)(he,{isOpen:D,onClose:()=>O(!1),requiresConfirmation:l,twoFactorEnabled:u,qrCodeSvg:p,manualSetupKey:g,clearSetupData:v,fetchSetupData:x,errors:E})]}),n[12]=s,n[13]=v,n[14]=E,n[15]=T,n[16]=x,n[17]=h,n[18]=g,n[19]=p,n[20]=C,n[21]=l,n[22]=D,n[23]=u,n[24]=H):H=n[24];let U;return n[25]===H?U=n[26]:(U=(0,Z.jsxs)(Z.Fragment,{children:[M,N,V,H]}),n[25]=H,n[26]=U),U}function ge(e){let{processing:t}=e;return(0,Z.jsx)(c,{type:`submit`,disabled:t,children:`Enable 2FA`})}function _e(e){let{processing:t}=e;return(0,Z.jsx)(c,{variant:`destructive`,type:`submit`,disabled:t,children:`Disable 2FA`})}$.layout={breadcrumbs:[{title:`Security settings`,href:T()}]};export{$ as default}; \ No newline at end of file diff --git a/public/build/assets/select-Bs5ixj0g.js b/public/build/assets/select-Bs5ixj0g.js deleted file mode 100644 index 6c6baab..0000000 --- a/public/build/assets/select-Bs5ixj0g.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,m as t,p as n,r,x as i}from"./wayfinder-DGNmxDkm.js";import{i as a,r as o,t as s}from"./dist-DkpcB3Hx.js";import{a as c,o as l}from"./button-Dnfc0p4v.js";import{_ as u,d,f,g as p,h as m,l as h,m as g,u as _}from"./dist-pNDkDpUt.js";import{n as v,t as y}from"./createLucideIcon-C5RzLdeU.js";import{t as b}from"./check-h5bDkP1T.js";import{t as x}from"./chevron-down-JaoNNKy_.js";import{n as ee}from"./main-layout-BJ0kmSsb.js";import{n as S,t as C}from"./dist-G41QdS4G.js";import{t as w}from"./dist-CaXsKxmI.js";import{A as T,F as E,M as D,N as O,P as k,j as A}from"./app-D7ZTkNic.js";var te=y(`ChevronUp`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),j=i(t(),1),M=i(n(),1),N=e(),P=r();function F(e,[t,n]){return Math.min(n,Math.max(t,e))}function ne(e,t=[]){let n=[];function r(t,r){let i=j.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=j.useMemo(()=>o,Object.values(o));return(0,P.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=j.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>j.createContext(e));return function(n){let r=n?.[e]||t;return j.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,re(i,...t)]}function re(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return j.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function I(e){let t=L(e),n=j.forwardRef((e,n)=>{let{children:r,...i}=e,a=j.Children.toArray(r),o=a.find(z);if(o){let e=o.props.children,r=a.map(t=>t===o?j.Children.count(e)>1?j.Children.only(null):j.isValidElement(e)?e.props.children:null:t);return(0,P.jsx)(t,{...i,ref:n,children:j.isValidElement(e)?j.cloneElement(e,void 0,r):null})}return(0,P.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function L(e){let t=j.forwardRef((e,t)=>{let{children:n,...r}=e;if(j.isValidElement(n)){let e=V(n),i=B(r,n.props);return n.type!==j.Fragment&&(i.ref=t?c(t,e):e),j.cloneElement(n,i)}return j.Children.count(n)>1?j.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var R=Symbol(`radix.slottable`);function z(e){return j.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===R}function B(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function V(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var H=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=I(`Primitive.${t}`),r=j.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,P.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),ie=[` `,`Enter`,`ArrowUp`,`ArrowDown`],U=[` `,`Enter`],W=`Select`,[G,K,q]=S(W),[J,ae]=ne(W,[q,E]),Y=E(),[oe,X]=J(W),[se,ce]=J(W),le=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:a,value:o,defaultValue:c,onValueChange:l,dir:u,name:d,autoComplete:f,disabled:p,required:h,form:g}=e,_=Y(t),[v,y]=j.useState(null),[b,x]=j.useState(null),[ee,S]=j.useState(!1),w=C(u),[T,E]=s({prop:r,defaultProp:i??!1,onChange:a,caller:W}),[D,O]=s({prop:o,defaultProp:c,onChange:l,caller:W}),A=j.useRef(null),te=v?g||!!v.closest(`form`):!0,[M,N]=j.useState(new Set),F=Array.from(M).map(e=>e.props.value).join(`;`);return(0,P.jsx)(k,{..._,children:(0,P.jsxs)(oe,{required:h,scope:t,trigger:v,onTriggerChange:y,valueNode:b,onValueNodeChange:x,valueNodeHasChildren:ee,onValueNodeHasChildrenChange:S,contentId:m(),value:D,onValueChange:O,open:T,onOpenChange:E,dir:w,triggerPointerDownPosRef:A,disabled:p,children:[(0,P.jsx)(G.Provider,{scope:t,children:(0,P.jsx)(se,{scope:e.__scopeSelect,onNativeOptionAdd:j.useCallback(e=>{N(t=>new Set(t).add(e))},[]),onNativeOptionRemove:j.useCallback(e=>{N(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),te?(0,P.jsxs)(tt,{"aria-hidden":!0,required:h,tabIndex:-1,name:d,autoComplete:f,value:D,onChange:e=>O(e.target.value),disabled:p,form:g,children:[D===void 0?(0,P.jsx)(`option`,{value:``}):null,Array.from(M)]},F):null]})})};le.displayName=W;var ue=`SelectTrigger`,de=j.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:r=!1,...i}=e,o=Y(n),s=X(ue,n),c=s.disabled||r,u=l(t,s.onTriggerChange),d=K(n),f=j.useRef(`touch`),[p,m,h]=rt(e=>{let t=d().filter(e=>!e.disabled),n=it(t,e,t.find(e=>e.value===s.value));n!==void 0&&s.onValueChange(n.value)}),g=e=>{c||(s.onOpenChange(!0),h()),e&&(s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,P.jsx)(A,{asChild:!0,...o,children:(0,P.jsx)(H.button,{type:`button`,role:`combobox`,"aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":`none`,dir:s.dir,"data-state":s.open?`open`:`closed`,disabled:c,"data-disabled":c?``:void 0,"data-placeholder":nt(s.value)?``:void 0,...i,ref:u,onClick:a(i.onClick,e=>{e.currentTarget.focus(),f.current!==`mouse`&&g(e)}),onPointerDown:a(i.onPointerDown,e=>{f.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),e.button===0&&e.ctrlKey===!1&&e.pointerType===`mouse`&&(g(e),e.preventDefault())}),onKeyDown:a(i.onKeyDown,e=>{let t=p.current!==``;!(e.ctrlKey||e.altKey||e.metaKey)&&e.key.length===1&&m(e.key),!(t&&e.key===` `)&&ie.includes(e.key)&&(g(),e.preventDefault())})})})});de.displayName=ue;var fe=`SelectValue`,pe=j.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,children:a,placeholder:s=``,...c}=e,u=X(fe,n),{onValueNodeHasChildrenChange:d}=u,f=a!==void 0,p=l(t,u.onValueNodeChange);return o(()=>{d(f)},[d,f]),(0,P.jsx)(H.span,{...c,ref:p,style:{pointerEvents:`none`},children:nt(u.value)?(0,P.jsx)(P.Fragment,{children:s}):a})});pe.displayName=fe;var me=`SelectIcon`,he=j.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...i}=e;return(0,P.jsx)(H.span,{"aria-hidden":!0,...i,ref:t,children:r||`▼`})});he.displayName=me;var ge=`SelectPortal`,_e=e=>(0,P.jsx)(g,{asChild:!0,...e});_e.displayName=ge;var Z=`SelectContent`,ve=j.forwardRef((e,t)=>{let n=X(Z,e.__scopeSelect),[r,i]=j.useState();if(o(()=>{i(new DocumentFragment)},[]),!n.open){let t=r;return t?M.createPortal((0,P.jsx)(ye,{scope:e.__scopeSelect,children:(0,P.jsx)(G.Slot,{scope:e.__scopeSelect,children:(0,P.jsx)(`div`,{children:e.children})})}),t):null}return(0,P.jsx)(Se,{...e,ref:t})});ve.displayName=Z;var Q=10,[ye,$]=J(Z),be=`SelectContentImpl`,xe=I(`SelectContent.RemoveScroll`),Se=j.forwardRef((e,t)=>{let{__scopeSelect:n,position:r=`item-aligned`,onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:s,side:c,sideOffset:u,align:m,alignOffset:g,arrowPadding:v,collisionBoundary:y,collisionPadding:b,sticky:x,hideWhenDetached:ee,avoidCollisions:S,...C}=e,w=X(Z,n),[T,E]=j.useState(null),[D,O]=j.useState(null),k=l(t,e=>E(e)),[A,te]=j.useState(null),[M,N]=j.useState(null),F=K(n),[ne,re]=j.useState(!1),I=j.useRef(!1);j.useEffect(()=>{if(T)return h(T)},[T]),d();let L=j.useCallback(e=>{let[t,...n]=F().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(n?.scrollIntoView({block:`nearest`}),n===t&&D&&(D.scrollTop=0),n===r&&D&&(D.scrollTop=D.scrollHeight),n?.focus(),document.activeElement!==i))return},[F,D]),R=j.useCallback(()=>L([A,T]),[L,A,T]);j.useEffect(()=>{ne&&R()},[ne,R]);let{onOpenChange:z,triggerPointerDownPosRef:B}=w;j.useEffect(()=>{if(T){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(B.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(B.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():T.contains(n.target)||z(!1),document.removeEventListener(`pointermove`,t),B.current=null};return B.current!==null&&(document.addEventListener(`pointermove`,t),document.addEventListener(`pointerup`,n,{capture:!0,once:!0})),()=>{document.removeEventListener(`pointermove`,t),document.removeEventListener(`pointerup`,n,{capture:!0})}}},[T,z,B]),j.useEffect(()=>{let e=()=>z(!1);return window.addEventListener(`blur`,e),window.addEventListener(`resize`,e),()=>{window.removeEventListener(`blur`,e),window.removeEventListener(`resize`,e)}},[z]);let[V,H]=rt(e=>{let t=F().filter(e=>!e.disabled),n=it(t,e,t.find(e=>e.ref.current===document.activeElement));n&&setTimeout(()=>n.ref.current.focus())}),ie=j.useCallback((e,t,n)=>{let r=!I.current&&!n;(w.value!==void 0&&w.value===t||r)&&(te(e),r&&(I.current=!0))},[w.value]),U=j.useCallback(()=>T?.focus(),[T]),W=j.useCallback((e,t,n)=>{let r=!I.current&&!n;(w.value!==void 0&&w.value===t||r)&&N(e)},[w.value]),G=r===`popper`?Ee:we,q=G===Ee?{side:c,sideOffset:u,align:m,alignOffset:g,arrowPadding:v,collisionBoundary:y,collisionPadding:b,sticky:x,hideWhenDetached:ee,avoidCollisions:S}:{};return(0,P.jsx)(ye,{scope:n,content:T,viewport:D,onViewportChange:O,itemRefCallback:ie,selectedItem:A,onItemLeave:U,itemTextRefCallback:W,focusSelectedItem:R,selectedItemText:M,position:r,isPositioned:ne,searchRef:V,children:(0,P.jsx)(_,{as:xe,allowPinchZoom:!0,children:(0,P.jsx)(f,{asChild:!0,trapped:w.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:a(i,e=>{w.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,P.jsx)(p,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:(0,P.jsx)(G,{role:`listbox`,id:w.contentId,"data-state":w.open?`open`:`closed`,dir:w.dir,onContextMenu:e=>e.preventDefault(),...C,...q,onPlaced:()=>re(!0),ref:k,style:{display:`flex`,flexDirection:`column`,outline:`none`,...C.style},onKeyDown:a(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if(e.key===`Tab`&&e.preventDefault(),!t&&e.key.length===1&&H(e.key),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key)){let t=F().filter(e=>!e.disabled).map(e=>e.ref.current);if([`ArrowUp`,`End`].includes(e.key)&&(t=t.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>L(t)),e.preventDefault()}})})})})})})});Se.displayName=be;var Ce=`SelectItemAlignedPosition`,we=j.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:r,...i}=e,a=X(Z,n),s=$(Z,n),[c,u]=j.useState(null),[d,f]=j.useState(null),p=l(t,e=>f(e)),m=K(n),h=j.useRef(!1),g=j.useRef(!0),{viewport:_,selectedItem:v,selectedItemText:y,focusSelectedItem:b}=s,x=j.useCallback(()=>{if(a.trigger&&a.valueNode&&c&&d&&_&&v&&y){let e=a.trigger.getBoundingClientRect(),t=d.getBoundingClientRect(),n=a.valueNode.getBoundingClientRect(),i=y.getBoundingClientRect();if(a.dir!==`rtl`){let r=i.left-t.left,a=n.left-r,o=e.left-a,s=e.width+o,l=Math.max(s,t.width),u=window.innerWidth-Q,d=F(a,[Q,Math.max(Q,u-l)]);c.style.minWidth=s+`px`,c.style.left=d+`px`}else{let r=t.right-i.right,a=window.innerWidth-n.right-r,o=window.innerWidth-e.right-a,s=e.width+o,l=Math.max(s,t.width),u=window.innerWidth-Q,d=F(a,[Q,Math.max(Q,u-l)]);c.style.minWidth=s+`px`,c.style.right=d+`px`}let o=m(),s=window.innerHeight-Q*2,l=_.scrollHeight,u=window.getComputedStyle(d),f=parseInt(u.borderTopWidth,10),p=parseInt(u.paddingTop,10),g=parseInt(u.borderBottomWidth,10),b=parseInt(u.paddingBottom,10),x=f+p+l+b+g,ee=Math.min(v.offsetHeight*5,x),S=window.getComputedStyle(_),C=parseInt(S.paddingTop,10),w=parseInt(S.paddingBottom,10),T=e.top+e.height/2-Q,E=s-T,D=v.offsetHeight/2,O=v.offsetTop+D,k=f+p+O,A=x-k;if(k<=T){let e=o.length>0&&v===o[o.length-1].ref.current;c.style.bottom=`0px`;let t=d.clientHeight-_.offsetTop-_.offsetHeight,n=k+Math.max(E,D+(e?w:0)+t+g);c.style.height=n+`px`}else{let e=o.length>0&&v===o[0].ref.current;c.style.top=`0px`;let t=Math.max(T,f+_.offsetTop+(e?C:0)+D)+A;c.style.height=t+`px`,_.scrollTop=k-T+_.offsetTop}c.style.margin=`${Q}px 0`,c.style.minHeight=ee+`px`,c.style.maxHeight=s+`px`,r?.(),requestAnimationFrame(()=>h.current=!0)}},[m,a.trigger,a.valueNode,c,d,_,v,y,a.dir,r]);o(()=>x(),[x]);let[ee,S]=j.useState();return o(()=>{d&&S(window.getComputedStyle(d).zIndex)},[d]),(0,P.jsx)(De,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:h,onScrollButtonChange:j.useCallback(e=>{e&&g.current===!0&&(x(),b?.(),g.current=!1)},[x,b]),children:(0,P.jsx)(`div`,{ref:u,style:{display:`flex`,flexDirection:`column`,position:`fixed`,zIndex:ee},children:(0,P.jsx)(H.div,{...i,ref:p,style:{boxSizing:`border-box`,maxHeight:`100%`,...i.style}})})})});we.displayName=Ce;var Te=`SelectPopperPosition`,Ee=j.forwardRef((e,t)=>{let{__scopeSelect:n,align:r=`start`,collisionPadding:i=Q,...a}=e,o=Y(n);return(0,P.jsx)(O,{...o,...a,ref:t,align:r,collisionPadding:i,style:{boxSizing:`border-box`,...a.style,"--radix-select-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-select-content-available-width":`var(--radix-popper-available-width)`,"--radix-select-content-available-height":`var(--radix-popper-available-height)`,"--radix-select-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-select-trigger-height":`var(--radix-popper-anchor-height)`}})});Ee.displayName=Te;var[De,Oe]=J(Z,{}),ke=`SelectViewport`,Ae=j.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:r,...i}=e,o=$(ke,n),s=Oe(ke,n),c=l(t,o.onViewportChange),u=j.useRef(0);return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}`},nonce:r}),(0,P.jsx)(G.Slot,{scope:n,children:(0,P.jsx)(H.div,{"data-radix-select-viewport":``,role:`presentation`,...i,ref:c,style:{position:`relative`,flex:1,overflow:`hidden auto`,...i.style},onScroll:a(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=s;if(r?.current&&n){let e=Math.abs(u.current-t.scrollTop);if(e>0){let r=window.innerHeight-Q*2,i=parseFloat(n.style.minHeight),a=parseFloat(n.style.height),o=Math.max(i,a);if(o0?s:0,n.style.justifyContent=`flex-end`)}}}u.current=t.scrollTop})})})]})});Ae.displayName=ke;var je=`SelectGroup`,[Me,Ne]=J(je),Pe=j.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=m();return(0,P.jsx)(Me,{scope:n,id:i,children:(0,P.jsx)(H.div,{role:`group`,"aria-labelledby":i,...r,ref:t})})});Pe.displayName=je;var Fe=`SelectLabel`,Ie=j.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=Ne(Fe,n);return(0,P.jsx)(H.div,{id:i.id,...r,ref:t})});Ie.displayName=Fe;var Le=`SelectItem`,[Re,ze]=J(Le),Be=j.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,disabled:i=!1,textValue:o,...s}=e,c=X(Le,n),u=$(Le,n),d=c.value===r,[f,p]=j.useState(o??``),[h,g]=j.useState(!1),_=l(t,e=>u.itemRefCallback?.(e,r,i)),v=m(),y=j.useRef(`touch`),b=()=>{i||(c.onValueChange(r),c.onOpenChange(!1))};if(r===``)throw Error(`A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.`);return(0,P.jsx)(Re,{scope:n,value:r,disabled:i,textId:v,isSelected:d,onItemTextChange:j.useCallback(e=>{p(t=>t||(e?.textContent??``).trim())},[]),children:(0,P.jsx)(G.ItemSlot,{scope:n,value:r,disabled:i,textValue:f,children:(0,P.jsx)(H.div,{role:`option`,"aria-labelledby":v,"data-highlighted":h?``:void 0,"aria-selected":d&&h,"data-state":d?`checked`:`unchecked`,"aria-disabled":i||void 0,"data-disabled":i?``:void 0,tabIndex:i?void 0:-1,...s,ref:_,onFocus:a(s.onFocus,()=>g(!0)),onBlur:a(s.onBlur,()=>g(!1)),onClick:a(s.onClick,()=>{y.current!==`mouse`&&b()}),onPointerUp:a(s.onPointerUp,()=>{y.current===`mouse`&&b()}),onPointerDown:a(s.onPointerDown,e=>{y.current=e.pointerType}),onPointerMove:a(s.onPointerMove,e=>{y.current=e.pointerType,i?u.onItemLeave?.():y.current===`mouse`&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:a(s.onPointerLeave,e=>{e.currentTarget===document.activeElement&&u.onItemLeave?.()}),onKeyDown:a(s.onKeyDown,e=>{u.searchRef?.current!==``&&e.key===` `||(U.includes(e.key)&&b(),e.key===` `&&e.preventDefault())})})})})});Be.displayName=Le;var Ve=`SelectItemText`,He=j.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,...a}=e,s=X(Ve,n),c=$(Ve,n),u=ze(Ve,n),d=ce(Ve,n),[f,p]=j.useState(null),m=l(t,e=>p(e),u.onItemTextChange,e=>c.itemTextRefCallback?.(e,u.value,u.disabled)),h=f?.textContent,g=j.useMemo(()=>(0,P.jsx)(`option`,{value:u.value,disabled:u.disabled,children:h},u.value),[u.disabled,u.value,h]),{onNativeOptionAdd:_,onNativeOptionRemove:v}=d;return o(()=>(_(g),()=>v(g)),[_,v,g]),(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(H.span,{id:u.textId,...a,ref:m}),u.isSelected&&s.valueNode&&!s.valueNodeHasChildren?M.createPortal(a.children,s.valueNode):null]})});He.displayName=Ve;var Ue=`SelectItemIndicator`,We=j.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return ze(Ue,n).isSelected?(0,P.jsx)(H.span,{"aria-hidden":!0,...r,ref:t}):null});We.displayName=Ue;var Ge=`SelectScrollUpButton`,Ke=j.forwardRef((e,t)=>{let n=$(Ge,e.__scopeSelect),r=Oe(Ge,e.__scopeSelect),[i,a]=j.useState(!1),s=l(t,r.onScrollButtonChange);return o(()=>{if(n.viewport&&n.isPositioned){let e=function(){a(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,P.jsx)(Ye,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop-=t.offsetHeight)}}):null});Ke.displayName=Ge;var qe=`SelectScrollDownButton`,Je=j.forwardRef((e,t)=>{let n=$(qe,e.__scopeSelect),r=Oe(qe,e.__scopeSelect),[i,a]=j.useState(!1),s=l(t,r.onScrollButtonChange);return o(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;a(Math.ceil(t.scrollTop)t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,P.jsx)(Ye,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop+=t.offsetHeight)}}):null});Je.displayName=qe;var Ye=j.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:r,...i}=e,s=$(`SelectScrollButton`,n),c=j.useRef(null),l=K(n),u=j.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return j.useEffect(()=>()=>u(),[u]),o(()=>{l().find(e=>e.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:`nearest`})},[l]),(0,P.jsx)(H.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:a(i.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(r,50))}),onPointerMove:a(i.onPointerMove,()=>{s.onItemLeave?.(),c.current===null&&(c.current=window.setInterval(r,50))}),onPointerLeave:a(i.onPointerLeave,()=>{u()})})}),Xe=`SelectSeparator`,Ze=j.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,P.jsx)(H.div,{"aria-hidden":!0,...r,ref:t})});Ze.displayName=Xe;var Qe=`SelectArrow`,$e=j.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=Y(n),a=X(Qe,n),o=$(Qe,n);return a.open&&o.position===`popper`?(0,P.jsx)(D,{...i,...r,ref:t}):null});$e.displayName=Qe;var et=`SelectBubbleInput`,tt=j.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{let i=j.useRef(null),a=l(r,i),o=w(t);return j.useEffect(()=>{let e=i.current;if(!e)return;let n=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(n,`value`).set;if(o!==t&&r){let n=new Event(`change`,{bubbles:!0});r.call(e,t),e.dispatchEvent(n)}},[o,t]),(0,P.jsx)(H.select,{...n,style:{...T,...n.style},ref:a,defaultValue:t})});tt.displayName=et;function nt(e){return e===``||e===void 0}function rt(e){let t=u(e),n=j.useRef(``),r=j.useRef(0),i=j.useCallback(e=>{let i=n.current+e;t(i),(function e(t){n.current=t,window.clearTimeout(r.current),t!==``&&(r.current=window.setTimeout(()=>e(``),1e3))})(i)},[t]),a=j.useCallback(()=>{n.current=``,window.clearTimeout(r.current)},[]);return j.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,a]}function it(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=at(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function at(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var ot=le,st=de,ct=pe,lt=he,ut=_e,dt=ve,ft=Ae,pt=Be,mt=He,ht=We,gt=Ke,_t=Je,vt=(e,t,n)=>e.x+t>=n.left&&e.x-t<=n.right&&e.y+t>=n.top&&e.y-t<=n.bottom,yt=(e,t)=>e.x>=t.left&&e.x<=t.right&&e.y>=t.top&&e.y<=t.bottom,bt=(e,t)=>({x:e.x-t.left,y:e.y-t.top}),xt={padding:`2px`,background:`transparent`,mask:`linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) border-box`,maskComposite:`exclude`,WebkitMask:`linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) border-box`,WebkitMaskComposite:`xor`};function St(e){let t=(0,N.c)(57),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({className:r,children:n,colors:o,size:s,borderWidth:c,as:l,style:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=o===void 0?`var(--color-primary)`:o,d=s===void 0?500:s,f=c===void 0?3:c,p=l===void 0?`div`:l,m=(0,j.useRef)(null),h=ee(),g;t[9]===h?.position?g=t[10]:(g=h?.position??{x:-1e3,y:-1e3},t[9]=h?.position,t[10]=g);let _=g,y=h?.radius??100,[b,x]=(0,j.useState)(null),S,C;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(S=()=>{let e=()=>{x(m.current?.getBoundingClientRect()??null)};e();let t=()=>e();return window.addEventListener(`resize`,t,{passive:!0}),window.addEventListener(`scroll`,t,{passive:!0}),()=>{window.removeEventListener(`resize`,t),window.removeEventListener(`scroll`,t)}},C=[],t[11]=S,t[12]=C):(S=t[11],C=t[12]),(0,j.useEffect)(S,C);let w=b?vt(_,y,b):!1,T=b?yt(_,b):!1,E;t[13]!==_||t[14]!==b?(E=b?bt(_,b):{x:0,y:0},t[13]=_,t[14]=b,t[15]=E):E=t[15];let D=E,O;t[16]===u?O=t[17]:(O=Array.isArray(u)?u:[u,`transparent`],t[16]=u,t[17]=O);let k=O,A=D.x,te=D.y,M;t[18]===k?M=t[19]:(M=k.join(`, `),t[18]=k,t[19]=M);let F=`radial-gradient(circle at ${A}px ${te}px, ${M}, transparent ${d}px)`,ne=`${f}px`,re;t[20]===ne?re=t[21]:(re={...xt,padding:ne},t[20]=ne,t[21]=re);let I=re,L=n?`pointer-events-auto`:`pointer-events-none`,R;t[22]!==r||t[23]!==L?(R=v(`absolute inset-0 isolate z-10 rounded-[inherit]`,L,r),t[22]=r,t[23]=L,t[24]=R):R=t[24];let z=w?`opacity-100`:`opacity-0`,B;t[25]===z?B=t[26]:(B=v(`pointer-events-none! absolute inset-0 z-10 rounded-[inherit] transition-opacity duration-300`,z),t[25]=z,t[26]=B);let V;t[27]!==I||t[28]!==F?(V={...I,background:F},t[27]=I,t[28]=F,t[29]=V):V=t[29];let H;t[30]!==B||t[31]!==V?(H=(0,P.jsx)(`div`,{"aria-hidden":!0,className:B,style:V}),t[30]=B,t[31]=V,t[32]=H):H=t[32];let ie=w?`opacity-10`:`opacity-0`,U;t[33]===ie?U=t[34]:(U=v(`pointer-events-none! absolute inset-0 rounded-[inherit] blur-2xl transition-opacity duration-300`,ie),t[33]=ie,t[34]=U);let W;t[35]!==I||t[36]!==F?(W={...I,background:F},t[35]=I,t[36]=F,t[37]=W):W=t[37];let G;t[38]!==U||t[39]!==W?(G=(0,P.jsx)(`div`,{"aria-hidden":!0,className:U,style:W}),t[38]=U,t[39]=W,t[40]=G):G=t[40];let K=T?`opacity-5`:`opacity-0`,q;t[41]===K?q=t[42]:(q=v(`pointer-events-none! absolute inset-0 rounded-[inherit] transition-opacity duration-300`,K),t[41]=K,t[42]=q);let J;t[43]===F?J=t[44]:(J={background:F},t[43]=F,t[44]=J);let ae;t[45]!==q||t[46]!==J?(ae=(0,P.jsx)(`div`,{"aria-hidden":!0,className:q,style:J}),t[45]=q,t[46]=J,t[47]=ae):ae=t[47];let Y;return t[48]!==p||t[49]!==n||t[50]!==i||t[51]!==a||t[52]!==R||t[53]!==H||t[54]!==G||t[55]!==ae?(Y=(0,P.jsxs)(p,{ref:m,className:R,style:a,...i,children:[H,G,ae,n]}),t[48]=p,t[49]=n,t[50]=i,t[51]=a,t[52]=R,t[53]=H,t[54]=G,t[55]=ae,t[56]=Y):Y=t[56],Y}function Ct(e){let t=(0,N.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,P.jsx)(ot,{"data-slot":`select`,...n}),t[2]=n,t[3]=r),r}function wt(e){let t=(0,N.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,P.jsx)(ct,{"data-slot":`select-value`,...n}),t[2]=n,t[3]=r),r}function Tt(e){let t=(0,N.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,size:a,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`default`:a,s;t[5]===r?s=t[6]:(s=v(`border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,r),t[5]=r,t[6]=s);let c;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,P.jsx)(lt,{asChild:!0,children:(0,P.jsx)(x,{className:`size-4 opacity-50`})}),t[7]=c):c=t[7];let l;return t[8]!==n||t[9]!==i||t[10]!==o||t[11]!==s?(l=(0,P.jsxs)(st,{"data-slot":`select-trigger`,"data-size":o,className:s,...i,children:[n,c]}),t[8]=n,t[9]=i,t[10]=o,t[11]=s,t[12]=l):l=t[12],l}function Et(e){let t=(0,N.c)(26),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:r,children:n,position:a,side:o,sideOffset:s,align:c,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=a===void 0?`popper`:a,u=o===void 0?`bottom`:o,d=s===void 0?4:s,f=c===void 0?`center`:c,p=l===`popper`&&`data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1`,m;t[8]!==r||t[9]!==p?(m=v(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md`,p,r),t[8]=r,t[9]=p,t[10]=m):m=t[10];let h;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,P.jsx)(Ot,{}),t[11]=h):h=t[11];let g=l===`popper`&&`h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1`,_;t[12]===g?_=t[13]:(_=v(`p-1`,g),t[12]=g,t[13]=_);let y;t[14]!==n||t[15]!==_?(y=(0,P.jsx)(ft,{className:_,children:n}),t[14]=n,t[15]=_,t[16]=y):y=t[16];let b;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,P.jsx)(kt,{}),t[17]=b):b=t[17];let x;return t[18]!==f||t[19]!==l||t[20]!==i||t[21]!==u||t[22]!==d||t[23]!==y||t[24]!==m?(x=(0,P.jsx)(ut,{children:(0,P.jsxs)(dt,{"data-slot":`select-content`,className:m,position:l,side:u,sideOffset:d,avoidCollisions:!1,align:f,...i,children:[h,y,b]})}),t[18]=f,t[19]=l,t[20]=i,t[21]=u,t[22]=d,t[23]=y,t[24]=m,t[25]=x):x=t[25],x}function Dt(e){let t=(0,N.c)(13),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=v(`focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,r),t[4]=r,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,P.jsx)(`span`,{"data-slot":`select-item-indicator`,className:`absolute right-2 flex size-3.5 items-center justify-center`,children:(0,P.jsx)(ht,{children:(0,P.jsx)(b,{className:`size-4`})})}),t[6]=o):o=t[6];let s;t[7]===n?s=t[8]:(s=(0,P.jsx)(mt,{children:n}),t[7]=n,t[8]=s);let c;return t[9]!==i||t[10]!==a||t[11]!==s?(c=(0,P.jsxs)(pt,{"data-slot":`select-item`,className:a,...i,children:[o,s]}),t[9]=i,t[10]=a,t[11]=s,t[12]=c):c=t[12],c}function Ot(e){let t=(0,N.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=v(`flex cursor-default items-center justify-center py-1`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,P.jsx)(te,{className:`size-4`}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,P.jsx)(gt,{"data-slot":`select-scroll-up-button`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}function kt(e){let t=(0,N.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=v(`flex cursor-default items-center justify-center py-1`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,P.jsx)(x,{className:`size-4`}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,P.jsx)(_t,{"data-slot":`select-scroll-down-button`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}export{wt as a,Tt as i,Et as n,St as o,Dt as r,Ct as t}; \ No newline at end of file diff --git a/public/build/assets/shim-DohLtPjK.js b/public/build/assets/shim-DohLtPjK.js deleted file mode 100644 index 0315733..0000000 --- a/public/build/assets/shim-DohLtPjK.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t}from"./wayfinder-DGNmxDkm.js";var n=e((e=>{var n=t();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useState,o=n.useEffect,s=n.useLayoutEffect,c=n.useDebugValue;function l(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&l({inst:i})},[e,n,t]),o(function(){return u(i)&&l({inst:i}),e(function(){u(i)&&l({inst:i})})},[e]),c(n),n}function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch{return!0}}function d(e,t){return t()}var f=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?d:l;e.useSyncExternalStore=n.useSyncExternalStore===void 0?f:n.useSyncExternalStore})),r=e(((e,t)=>{t.exports=n()}));export{r as t}; \ No newline at end of file diff --git a/public/build/assets/show-CitGWGXA.js b/public/build/assets/show-CitGWGXA.js deleted file mode 100644 index 06722d9..0000000 --- a/public/build/assets/show-CitGWGXA.js +++ /dev/null @@ -1,12 +0,0 @@ -import{i as e,m as t,o as n,p as r,r as i,x as a}from"./wayfinder-DGNmxDkm.js";import{n as o}from"./use-appearance-QmpypXC6.js";import{i as s,n as c,t as l}from"./dist-DkpcB3Hx.js";import{a as u,n as d,t as f}from"./button-Dnfc0p4v.js";import{h as p}from"./dist-pNDkDpUt.js";import{n as m,t as h}from"./createLucideIcon-C5RzLdeU.js";import{t as g}from"./heart-TmRvZm7r.js";import{n as _,r as v,t as y}from"./main-editor-block-l3z4VSEw.js";import{r as b,t as x,u as S}from"./main-layout-BJ0kmSsb.js";import{t as C}from"./dist-G41QdS4G.js";import{C as w,L as T,S as E,T as ee,r as te,w as ne,x as re}from"./app-D7ZTkNic.js";import{a as ie,n as ae,o as oe,r as se,t as ce}from"./card-gSkeg5Iw.js";import{t as le}from"./label-B7tz5f5X.js";import{t as D}from"./badge-CJhhYWaN.js";import{i as ue,n as de,r as fe,t as O}from"./use-clipboard-CYcV3HSX.js";var k=h(`Clipboard`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}]]),A=a(t(),1),j=i();function pe(e,t=[]){let n=[];function r(t,r){let i=A.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=A.useMemo(()=>o,Object.values(o));return(0,j.jsx)(s.Provider,{value:c,children:r})};o.displayName=t+`Provider`;function s(n,o){let s=o?.[e]?.[a]||i,c=A.useContext(s);if(c)return c;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[o,s]}let i=()=>{let t=n.map(e=>A.createContext(e));return function(n){let r=n?.[e]||t;return A.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,M(i,...t)]}function M(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return A.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function me(e){let t=he(e),n=A.forwardRef((e,n)=>{let{children:r,...i}=e,a=A.Children.toArray(r),o=a.find(ge);if(o){let e=o.props.children,r=a.map(t=>t===o?A.Children.count(e)>1?A.Children.only(null):A.isValidElement(e)?e.props.children:null:t);return(0,j.jsx)(t,{...i,ref:n,children:A.isValidElement(e)?A.cloneElement(e,void 0,r):null})}return(0,j.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function he(e){let t=A.forwardRef((e,t)=>{let{children:n,...r}=e;if(A.isValidElement(n)){let e=_e(n),i=P(r,n.props);return n.type!==A.Fragment&&(i.ref=t?u(t,e):e),A.cloneElement(n,i)}return A.Children.count(n)>1?A.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var N=Symbol(`radix.slottable`);function ge(e){return A.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===N}function P(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function _e(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}r();var F=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=me(`Primitive.${t}`),r=A.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,j.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),I=`Tabs`,[L,R]=pe(I,[w]),z=w(),[ve,B]=L(I),V=A.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,onValueChange:i,defaultValue:a,orientation:o=`horizontal`,dir:s,activationMode:c=`automatic`,...u}=e,d=C(s),[f,m]=l({prop:r,onChange:i,defaultProp:a??``,caller:I});return(0,j.jsx)(ve,{scope:n,baseId:p(),value:f,onValueChange:m,orientation:o,dir:d,activationMode:c,children:(0,j.jsx)(F.div,{dir:d,"data-orientation":o,...u,ref:t})})});V.displayName=I;var ye=`TabsList`,H=A.forwardRef((e,t)=>{let{__scopeTabs:n,loop:r=!0,...i}=e,a=B(ye,n),o=z(n);return(0,j.jsx)(E,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:(0,j.jsx)(F.div,{role:`tablist`,"aria-orientation":a.orientation,...i,ref:t})})});H.displayName=ye;var be=`TabsTrigger`,U=A.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,disabled:i=!1,...a}=e,o=B(be,n),c=z(n),l=K(o.baseId,r),u=q(o.baseId,r),d=r===o.value;return(0,j.jsx)(re,{asChild:!0,...c,focusable:!i,active:d,children:(0,j.jsx)(F.button,{type:`button`,role:`tab`,"aria-selected":d,"aria-controls":u,"data-state":d?`active`:`inactive`,"data-disabled":i?``:void 0,disabled:i,id:l,...a,ref:t,onMouseDown:s(e.onMouseDown,e=>{!i&&e.button===0&&e.ctrlKey===!1?o.onValueChange(r):e.preventDefault()}),onKeyDown:s(e.onKeyDown,e=>{[` `,`Enter`].includes(e.key)&&o.onValueChange(r)}),onFocus:s(e.onFocus,()=>{let e=o.activationMode!==`manual`;!d&&!i&&e&&o.onValueChange(r)})})})});U.displayName=be;var W=`TabsContent`,G=A.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,forceMount:i,children:a,...o}=e,s=B(W,n),l=K(s.baseId,r),u=q(s.baseId,r),d=r===s.value,f=A.useRef(d);return A.useEffect(()=>{let e=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,j.jsx)(c,{present:i||d,children:({present:n})=>(0,j.jsx)(F.div,{"data-state":d?`active`:`inactive`,"data-orientation":s.orientation,role:`tabpanel`,"aria-labelledby":l,hidden:!n,id:u,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:f.current?`0s`:void 0},children:n&&a})})});G.displayName=W;function K(e,t){return`${e}-trigger-${t}`}function q(e,t){return`${e}-content-${t}`}var xe=V,Se=H,Ce=U,we=G,J=e();function Te(e){let t=(0,J.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,orientation:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`horizontal`:i,o;t[4]===n?o=t[5]:(o=m(`group/tabs flex gap-2 data-[orientation=horizontal]:flex-col`,n),t[4]=n,t[5]=o);let s;return t[6]!==a||t[7]!==r||t[8]!==o?(s=(0,j.jsx)(xe,{"data-slot":`tabs`,"data-orientation":a,orientation:a,className:o,...r}),t[6]=a,t[7]=r,t[8]=o,t[9]=s):s=t[9],s}var Ee=d(`group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-9 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function De(e){let t=(0,J.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,variant:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`default`:i,o;t[4]!==n||t[5]!==a?(o=m(Ee({variant:a}),n),t[4]=n,t[5]=a,t[6]=o):o=t[6];let s;return t[7]!==r||t[8]!==o||t[9]!==a?(s=(0,j.jsx)(Se,{"data-slot":`tabs-list`,"data-variant":a,className:o,...r}),t[7]=r,t[8]=o,t[9]=a,t[10]=s):s=t[10],s}function Oe(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=m(`relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent`,`data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,j.jsx)(Ce,{"data-slot":`tabs-trigger`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ke(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=m(`flex-1 outline-none`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,j.jsx)(we,{"data-slot":`tabs-content`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ae(e){let t=(0,J.c)(30),{name:n,value:r}=e,[,i]=O(),[a,o]=(0,A.useState)(`hex`),s;t[0]!==a||t[1]!==r?(s=_(r,a)||r,t[0]=a,t[1]=r,t[2]=s):s=t[2];let c=s,l;t[3]!==i||t[4]!==c||t[5]!==n?(l=async()=>{await i(c),T.success(`Copied ${n} to clipboard`)},t[3]=i,t[4]=c,t[5]=n,t[6]=l):l=t[6];let u=l,d;t[7]===r?d=t[8]:(d=(0,j.jsx)(`div`,{className:`h-34 w-full border-b border-border/40`,style:{backgroundColor:r}}),t[7]=r,t[8]=d);let p;t[9]===n?p=t[10]:(p=(0,j.jsx)(`span`,{className:`text-xs font-bold tracking-wider text-muted-foreground uppercase`,children:n}),t[9]=n,t[10]=p);let m;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,j.jsx)(k,{className:`h-3 w-3`}),t[11]=m):m=t[11];let h;t[12]===u?h=t[13]:(h=(0,j.jsx)(f,{variant:`ghost`,size:`icon`,className:`h-6 w-6`,onClick:u,children:m}),t[12]=u,t[13]=h);let g;t[14]!==p||t[15]!==h?(g=(0,j.jsxs)(`div`,{className:`flex items-center justify-between`,children:[p,h]}),t[14]=p,t[15]=h,t[16]=g):g=t[16];let v;t[17]===c?v=t[18]:(v=(0,j.jsx)(`span`,{className:`truncate font-mono text-xs`,children:c}),t[17]=c,t[18]=v);let y;t[19]===a?y=t[20]:(y=(0,j.jsx)(`div`,{className:`flex gap-1`,children:[`hex`,`rgb`,`hsl`].map(e=>(0,j.jsx)(`button`,{onClick:()=>o(e),className:`rounded border px-1.5 py-0.5 text-[10px] transition-colors ${a===e?`border-primary bg-primary text-primary-foreground`:`border-transparent bg-muted text-muted-foreground hover:border-border`}`,children:e.toUpperCase()},e))}),t[19]=a,t[20]=y);let b;t[21]!==v||t[22]!==y?(b=(0,j.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[v,y]}),t[21]=v,t[22]=y,t[23]=b):b=t[23];let x;t[24]!==b||t[25]!==g?(x=(0,j.jsxs)(ae,{className:`space-y-2 px-3 pt-0`,children:[g,b]}),t[24]=b,t[25]=g,t[26]=x):x=t[26];let S;return t[27]!==x||t[28]!==d?(S=(0,j.jsxs)(ce,{className:`overflow-hidden border-border/40 pt-0`,children:[d,x]}),t[27]=x,t[28]=d,t[29]=S):S=t[29],S}function je(e){let t=(0,J.c)(13),{foreground:n,background:r}=e,i;try{let e;t[0]!==r||t[1]!==n?(e=v(n,r),t[0]=r,t[1]=n,t[2]=e):e=t[2],i=e}catch(e){console.log(e),i=0}let a=i,o=a>=7?`AAA`:a>=4.5?`AA`:a>=3?`Large`:`Fail`,s=a>=4.5?`default`:a>=3?`secondary`:`destructive`,c;t[3]!==o||t[4]!==s?(c=(0,j.jsx)(D,{variant:s,className:`h-4 px-1 py-0 text-[10px]`,children:o}),t[3]=o,t[4]=s,t[5]=c):c=t[5];let l;t[6]===a?l=t[7]:(l=a.toFixed(2),t[6]=a,t[7]=l);let u;t[8]===l?u=t[9]:(u=(0,j.jsxs)(`span`,{className:`font-mono text-xs`,children:[l,`:1`]}),t[8]=l,t[9]=u);let d;return t[10]!==c||t[11]!==u?(d=(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[c,u]}),t[10]=c,t[11]=u,t[12]=d):d=t[12],d}function Me(e){let t=(0,J.c)(34),{label:n,variable:r,value:i}=e,[,a]=O();if(!i)return null;let o;t[0]!==a||t[1]!==n||t[2]!==i?(o=async()=>{await a(i),T.success(`Copied ${n} font family to clipboard`)},t[0]=a,t[1]=n,t[2]=i,t[3]=o):o=t[3];let s=o,c;t[4]===n?c=t[5]:(c=(0,j.jsx)(`h3`,{className:`text-lg font-semibold`,children:n}),t[4]=n,t[5]=c);let l;t[6]===i?l=t[7]:(l=(0,j.jsxs)(`span`,{className:`max-w-50 truncate font-mono text-xs text-muted-foreground md:max-w-none`,children:[`(`,i,`)`]}),t[6]=i,t[7]=l);let u;t[8]!==c||t[9]!==l?(u=(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[c,l]}),t[8]=c,t[9]=l,t[10]=u):u=t[10];let d;t[11]===r?d=t[12]:(d=(0,j.jsx)(D,{variant:`outline`,className:`font-mono`,children:r}),t[11]=r,t[12]=d);let p;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,j.jsx)(k,{className:`h-3 w-3`}),t[13]=p):p=t[13];let m;t[14]===s?m=t[15]:(m=(0,j.jsx)(f,{variant:`ghost`,size:`icon`,className:`h-6 w-6`,onClick:s,children:p}),t[14]=s,t[15]=m);let h;t[16]!==d||t[17]!==m?(h=(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[d,m]}),t[16]=d,t[17]=m,t[18]=h):h=t[18];let g;t[19]!==u||t[20]!==h?(g=(0,j.jsxs)(`div`,{className:`flex items-center justify-between`,children:[u,h]}),t[19]=u,t[20]=h,t[21]=g):g=t[21];let _=`${r} space-y-4 rounded-lg border border-border/40 bg-card p-6`,v,y;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,j.jsx)(`p`,{className:`text-4xl leading-tight font-normal`,children:`The quick brown fox jumps over the lazy dog.`}),y=(0,j.jsx)(`p`,{className:`text-2xl leading-tight font-semibold`,children:`The quick brown fox jumps over the lazy dog.`}),t[22]=v,t[23]=y):(v=t[22],y=t[23]);let b;t[24]===n?b=t[25]:(b=n===`Monospace`?(0,j.jsx)(`code`,{className:`block overflow-x-auto text-sm whitespace-pre`,children:`function resolveTheme(name: string) { - const theme = themes.find(t => t.name === name); - return theme ?? defaultTheme; -}`}):`Design is not just what it looks like and feels like. Design is how it works. Typography is the craft of endowing human language with a durable visual form.`,t[24]=n,t[25]=b);let x;t[26]===b?x=t[27]:(x=(0,j.jsx)(`p`,{className:`text-base leading-relaxed font-light`,children:b}),t[26]=b,t[27]=x);let S;t[28]!==_||t[29]!==x?(S=(0,j.jsxs)(`div`,{className:_,children:[v,y,x]}),t[28]=_,t[29]=x,t[30]=S):S=t[30];let C;return t[31]!==S||t[32]!==g?(C=(0,j.jsxs)(`div`,{className:`my-16 space-y-4`,children:[g,S]}),t[31]=S,t[32]=g,t[33]=C):C=t[33],C}function Y(e){let t=(0,J.c)(112),{theme:r}=e,{cssVars:i}=b(r),{appearance:a}=o(),s;t[0]!==a||t[1]!==r.vars_dark||t[2]!==r.vars_light?(s=a===`dark`?r.vars_dark||r.vars_light||{}:r.vars_light||{},t[0]=a,t[1]=r.vars_dark,t[2]=r.vars_light,t[3]=s):s=t[3];let c=s,l;if(t[4]!==c){let e=[{title:`Primary Colors`,keys:[`primary`,`primary-foreground`,`foreground`,`background`]},{title:`Secondary & Accent Colors`,keys:[`secondary`,`secondary-foreground`,`accent`,`accent-foreground`]},{title:`UI Component Colors`,keys:[`card`,`card-foreground`,`popover`,`popover-foreground`,`muted`,`muted-foreground`]},{title:`Utility & Form Colors`,keys:[`border`,`input`,`ring`]},{title:`Status & Feedback Colors`,keys:[`destructive`,`destructive-foreground`]},{title:`Chart & Visualization Colors`,match:ze},{title:`Sidebar & Navigation Colors`,match:Re}],n=Object.keys(c).filter(Le),r=new Set,i=e.map(e=>{let t=e.keys?e.keys.filter(e=>n.includes(e)):n.filter(t=>e.match?.(t));return t.forEach(e=>r.add(e)),{title:e.title,keys:t}}),a=n.filter(e=>!r.has(e));if(a.length>0){let e;t[6]===a?e=t[7]:(e={title:`Custom Colors`,keys:a},t[6]=a,t[7]=e),i.push(e)}l=i.filter(Ie),t[4]=c,t[5]=l}else l=t[5];let u=l,d=`Theme: ${r.title}`,p=r.description||`Style guide and documentation for the ${r.title} theme.`,m;t[8]===p?m=t[9]:(m=(0,j.jsx)(`meta`,{name:`description`,content:p}),t[8]=p,t[9]=m);let h;t[10]!==d||t[11]!==m?(h=(0,j.jsx)(n,{title:d,children:m}),t[10]=d,t[11]=m,t[12]=h):h=t[12];let _=r.description||`Style guide and documentation for the ${r.title} theme.`,v;t[13]!==_||t[14]!==r.title?(v=(0,j.jsx)(`div`,{className:`flex items-center gap-2`,children:(0,j.jsx)(te,{title:r.title,description:_})}),t[13]=_,t[14]=r.title,t[15]=v):v=t[15];let x;t[16]===r.author?x=t[17]:(x=r.author&&(0,j.jsxs)(D,{variant:`outline`,className:`text-[10px]`,children:[`by `,r.author]}),t[16]=r.author,t[17]=x);let C;t[18]===r.categories?C=t[19]:(C=r.categories?.map(Fe),t[18]=r.categories,t[19]=C);let w;t[20]===r.style?w=t[21]:(w=r.style&&(0,j.jsxs)(D,{variant:`secondary`,className:`text-[10px]`,children:[`Style: `,r.style]}),t[20]=r.style,t[21]=w);let T;t[22]!==C||t[23]!==w||t[24]!==x?(T=(0,j.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[x,C,w]}),t[22]=C,t[23]=w,t[24]=x,t[25]=T):T=t[25];let E;t[26]!==T||t[27]!==v?(E=(0,j.jsxs)(`div`,{className:`space-y-2`,children:[v,T]}),t[26]=T,t[27]=v,t[28]=E):E=t[28];let re;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(re=(0,j.jsx)(`div`,{className:`flex items-center gap-2`,children:(0,j.jsx)(f,{variant:`outline`,size:`icon`,children:(0,j.jsx)(g,{className:`size-4`})})}),t[29]=re):re=t[29];let O;t[30]===E?O=t[31]:(O=(0,j.jsxs)(`div`,{className:`mb-8 flex flex-col justify-between gap-4 md:flex-row md:items-center`,children:[E,re]}),t[30]=E,t[31]=O);let k;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,j.jsx)(`div`,{className:`flex items-center justify-between`,children:(0,j.jsxs)(De,{children:[(0,j.jsx)(Oe,{value:`preview`,children:`Visual Guide`}),(0,j.jsx)(Oe,{value:`export`,children:`Code & Export`})]})}),t[32]=k):k=t[32];let A=a===`dark`?`dark`:``,pe;t[33]===Symbol.for(`react.memo_cache_sentinel`)?(pe=(0,j.jsxs)(`div`,{children:[(0,j.jsx)(`h2`,{className:`text-2xl font-bold tracking-tight`,children:`Colors`}),(0,j.jsx)(`p`,{className:`text-muted-foreground`,children:`The foundational color palette of the theme.`})]}),t[33]=pe):pe=t[33];let M;t[34]!==c||t[35]!==u?(M=u.map(e=>(0,j.jsxs)(`div`,{className:`space-y-4`,children:[(0,j.jsx)(`h3`,{className:`text-sm font-semibold tracking-wider text-muted-foreground uppercase`,children:e.title}),(0,j.jsx)(`div`,{className:`grid grid-cols-2 gap-4 md:grid-cols-4 lg:grid-cols-6`,children:e.keys.map(e=>(0,j.jsx)(Ae,{name:e,value:c[e]},e))})]},e.title)),t[34]=c,t[35]=u,t[36]=M):M=t[36];let me;t[37]===Symbol.for(`react.memo_cache_sentinel`)?(me=(0,j.jsx)(`h3`,{className:`mb-4 text-sm font-semibold tracking-wider text-muted-foreground uppercase`,children:`Accessibility: Contrast Ratios`}),t[37]=me):me=t[37];let he;t[38]===Symbol.for(`react.memo_cache_sentinel`)?(he=(0,j.jsx)(`span`,{className:`text-[10px] font-bold tracking-wider text-muted-foreground uppercase`,children:`Text on Background`}),t[38]=he):he=t[38];let N;t[39]!==c.background||t[40]!==c.foreground?(N=(0,j.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[he,(0,j.jsx)(je,{foreground:c.foreground,background:c.background})]}),t[39]=c.background,t[40]=c.foreground,t[41]=N):N=t[41];let ge;t[42]===Symbol.for(`react.memo_cache_sentinel`)?(ge=(0,j.jsx)(`span`,{className:`text-[10px] font-bold tracking-wider text-muted-foreground uppercase`,children:`Primary on Background`}),t[42]=ge):ge=t[42];let P;t[43]!==c.background||t[44]!==c.primary?(P=(0,j.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[ge,(0,j.jsx)(je,{foreground:c.primary,background:c.background})]}),t[43]=c.background,t[44]=c.primary,t[45]=P):P=t[45];let _e;t[46]===Symbol.for(`react.memo_cache_sentinel`)?(_e=(0,j.jsx)(`span`,{className:`text-[10px] font-bold tracking-wider text-muted-foreground uppercase`,children:`Primary Foreground on Primary`}),t[46]=_e):_e=t[46];let F=c[`primary-foreground`],I;t[47]!==c.primary||t[48]!==F?(I=(0,j.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[_e,(0,j.jsx)(je,{foreground:F,background:c.primary})]}),t[47]=c.primary,t[48]=F,t[49]=I):I=t[49];let L;t[50]!==N||t[51]!==P||t[52]!==I?(L=(0,j.jsxs)(`div`,{className:`mt-8 rounded-lg border border-border/40 bg-muted/30 p-4`,children:[me,(0,j.jsxs)(`div`,{className:`grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3`,children:[N,P,I]})]}),t[50]=N,t[51]=P,t[52]=I,t[53]=L):L=t[53];let R;t[54]!==M||t[55]!==L?(R=(0,j.jsxs)(`section`,{className:`space-y-12`,children:[pe,M,L]}),t[54]=M,t[55]=L,t[56]=R):R=t[56];let z;t[57]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,j.jsx)(ne,{className:`my-12 bg-border/40`}),t[57]=z):z=t[57];let ve;t[58]===Symbol.for(`react.memo_cache_sentinel`)?(ve=(0,j.jsxs)(`div`,{children:[(0,j.jsx)(`h2`,{className:`text-2xl font-bold tracking-tight`,children:`Typography`}),(0,j.jsx)(`p`,{className:`text-muted-foreground`,children:`Font families and scale used in this theme.`})]}),t[58]=ve):ve=t[58];let B=r.font_family||c[`font-sans`]||`Geist Sans`,V;t[59]===B?V=t[60]:(V=(0,j.jsx)(Me,{label:`Sans Serif`,variable:`font-sans`,value:B}),t[59]=B,t[60]=V);let ye=r.font_serif||c[`font-serif`],H;t[61]===ye?H=t[62]:(H=(0,j.jsx)(Me,{label:`Serif`,variable:`font-serif`,value:ye}),t[61]=ye,t[62]=H);let be=r.font_mono||c[`font-mono`],U;t[63]===be?U=t[64]:(U=(0,j.jsx)(Me,{label:`Monospace`,variable:`font-mono`,value:be}),t[63]=be,t[64]=U);let W;t[65]!==V||t[66]!==H||t[67]!==U?(W=(0,j.jsxs)(`section`,{className:`space-y-6`,children:[ve,(0,j.jsxs)(`div`,{className:`space-y-8`,children:[V,H,U]})]}),t[65]=V,t[66]=H,t[67]=U,t[68]=W):W=t[68];let G;t[69]===Symbol.for(`react.memo_cache_sentinel`)?(G=(0,j.jsx)(ne,{className:`my-12 bg-border/40`}),t[69]=G):G=t[69];let K;t[70]===Symbol.for(`react.memo_cache_sentinel`)?(K=(0,j.jsxs)(`div`,{children:[(0,j.jsx)(`h2`,{className:`text-2xl font-bold tracking-tight`,children:`Component Previews`}),(0,j.jsx)(`p`,{className:`text-muted-foreground`,children:`How the theme looks applied to standard interface elements.`})]}),t[70]=K):K=t[70];let q;t[71]===Symbol.for(`react.memo_cache_sentinel`)?(q=(0,j.jsx)(`h3`,{className:`text-[10px] font-bold tracking-wider text-muted-foreground uppercase`,children:`Interactive`}),t[71]=q):q=t[71];let xe;t[72]===Symbol.for(`react.memo_cache_sentinel`)?(xe=(0,j.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3 rounded-lg border border-border/40 bg-card p-6`,children:[(0,j.jsx)(f,{size:`sm`,children:`Primary`}),(0,j.jsx)(f,{size:`sm`,variant:`secondary`,children:`Secondary`}),(0,j.jsx)(f,{size:`sm`,variant:`outline`,children:`Outline`}),(0,j.jsx)(f,{size:`sm`,variant:`ghost`,children:`Ghost`}),(0,j.jsx)(f,{size:`sm`,variant:`destructive`,children:`Destructive`})]}),t[72]=xe):xe=t[72];let Se;t[73]===Symbol.for(`react.memo_cache_sentinel`)?(Se=(0,j.jsxs)(`div`,{className:`space-y-2`,children:[(0,j.jsx)(le,{htmlFor:`email`,className:`text-xs`,children:`Email address`}),(0,j.jsx)(ee,{id:`email`,placeholder:`hello@example.com`,className:`h-9`})]}),t[73]=Se):Se=t[73];let Ce;t[74]===Symbol.for(`react.memo_cache_sentinel`)?(Ce=(0,j.jsxs)(`div`,{className:`space-y-6`,children:[q,xe,(0,j.jsxs)(`div`,{className:`space-y-4 rounded-lg border border-border/40 bg-card p-6`,children:[Se,(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(D,{children:`New`}),(0,j.jsx)(D,{variant:`secondary`,children:`In Progress`}),(0,j.jsx)(D,{variant:`outline`,children:`Draft`})]})]})]}),t[74]=Ce):Ce=t[74];let we;t[75]===Symbol.for(`react.memo_cache_sentinel`)?(we=(0,j.jsx)(`h3`,{className:`text-[10px] font-bold tracking-wider text-muted-foreground uppercase`,children:`Feedback & Containers`}),t[75]=we):we=t[75];let Ee;t[76]===Symbol.for(`react.memo_cache_sentinel`)?(Ee=(0,j.jsxs)(de,{className:`bg-card`,children:[(0,j.jsx)(ue,{className:`text-sm font-semibold`,children:`Heads up!`}),(0,j.jsx)(fe,{className:`text-xs text-muted-foreground`,children:`This is a preview of the theme applied to an alert component.`})]}),t[76]=Ee):Ee=t[76];let Y;t[77]===Symbol.for(`react.memo_cache_sentinel`)?(Y=(0,j.jsxs)(ie,{className:`p-4`,children:[(0,j.jsx)(oe,{className:`text-sm font-bold`,children:`Card Component`}),(0,j.jsx)(se,{className:`text-xs`,children:`Visualizing elevation and spacing.`})]}),t[77]=Y):Y=t[77];let Be;t[78]===Symbol.for(`react.memo_cache_sentinel`)?(Be=(0,j.jsxs)(`section`,{className:`space-y-8`,children:[K,(0,j.jsxs)(`div`,{className:`grid grid-cols-1 gap-8 md:grid-cols-2`,children:[Ce,(0,j.jsxs)(`div`,{className:`space-y-6`,children:[we,Ee,(0,j.jsxs)(ce,{className:`border-border/40`,children:[Y,(0,j.jsx)(ae,{className:`p-4 pt-0`,children:(0,j.jsx)(`p`,{className:`text-xs leading-relaxed text-muted-foreground`,children:`Cards are used to group related information and provide a clear hierarchy.`})})]})]})]})]}),t[78]=Be):Be=t[78];let X;t[79]!==R||t[80]!==W?(X=(0,j.jsxs)(`div`,{className:`rounded-xl transition-colors duration-300`,children:[R,z,W,G,Be]}),t[79]=R,t[80]=W,t[81]=X):X=t[81];let Z;t[82]!==A||t[83]!==X?(Z=(0,j.jsx)(ke,{value:`preview`,className:`space-y-12 outline-none`,children:(0,j.jsx)(`div`,{className:A,children:X})}),t[82]=A,t[83]=X,t[84]=Z):Z=t[84];let Ve;t[85]===Symbol.for(`react.memo_cache_sentinel`)?(Ve=(0,j.jsxs)(`div`,{children:[(0,j.jsx)(`h2`,{className:`text-xl font-bold`,children:`Theme CSS Variables`}),(0,j.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Copy these into your main CSS file.`})]}),t[85]=Ve):Ve=t[85];let He;t[86]===Symbol.for(`react.memo_cache_sentinel`)?(He={minimap:{enabled:!0}},t[86]=He):He=t[86];let Ue;t[87]===r.vars_light?Ue=t[88]:(Ue=Object.entries(r.vars_light||{}).map(Pe),t[87]=r.vars_light,t[88]=Ue);let We=Ue.join(` -`),Ge;t[89]===r.vars_dark?Ge=t[90]:(Ge=Object.entries(r.vars_dark||{}).map(Ne),t[89]=r.vars_dark,t[90]=Ge);let Ke=`:root { -${We} -} - -.dark { -${Ge.join(` -`)} -}`,Q;t[91]===Ke?Q=t[92]:(Q=(0,j.jsxs)(`section`,{className:`space-y-4`,children:[Ve,(0,j.jsx)(`div`,{className:`relative`,children:(0,j.jsx)(y,{language:`css`,options:He,showFullScreenToggle:!0,height:`780px`,value:Ke})})]}),t[91]=Ke,t[92]=Q);let qe;t[93]===Symbol.for(`react.memo_cache_sentinel`)?(qe=(0,j.jsxs)(`div`,{children:[(0,j.jsx)(`h2`,{className:`text-xl font-bold`,children:`Theme JSON`}),(0,j.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`The registry representation of the theme.`})]}),t[93]=qe):qe=t[93];let Je;t[94]===Symbol.for(`react.memo_cache_sentinel`)?(Je={minimap:{enabled:!0}},t[94]=Je):Je=t[94];let Ye;t[95]===r?Ye=t[96]:(Ye=JSON.stringify(r,null,2),t[95]=r,t[96]=Ye);let Xe;t[97]===Ye?Xe=t[98]:(Xe=(0,j.jsxs)(`section`,{className:`space-y-4`,children:[qe,(0,j.jsx)(`div`,{className:`relative`,children:(0,j.jsx)(y,{language:`json`,options:Je,showFullScreenToggle:!0,height:`780px`,value:Ye})})]}),t[97]=Ye,t[98]=Xe);let Ze;t[99]!==Q||t[100]!==Xe?(Ze=(0,j.jsxs)(ke,{value:`export`,className:`space-y-8 outline-none`,children:[Q,Xe]}),t[99]=Q,t[100]=Xe,t[101]=Ze):Ze=t[101];let Qe;t[102]!==Z||t[103]!==Ze?(Qe=(0,j.jsxs)(Te,{defaultValue:`preview`,className:`space-y-8`,children:[k,Z,Ze]}),t[102]=Z,t[103]=Ze,t[104]=Qe):Qe=t[104];let $;t[105]!==O||t[106]!==h||t[107]!==Qe?($=(0,j.jsxs)(S,{className:`py-0`,children:[h,O,Qe]}),t[105]=O,t[106]=h,t[107]=Qe,t[108]=$):$=t[108];let $e;return t[109]!==i||t[110]!==$?($e=(0,j.jsx)(`div`,{style:i,className:`bg-background`,children:$}),t[109]=i,t[110]=$,t[111]=$e):$e=t[111],$e}function Ne(e){let[t,n]=e;return` --${t}: ${n};`}function Pe(e){let[t,n]=e;return` --${t}: ${n};`}function Fe(e){return(0,j.jsx)(D,{variant:`secondary`,className:`text-[10px] capitalize`,children:e},e)}function Ie(e){return e.keys.length>0}function Le(e){return!e.startsWith(`font-`)&&e!==`radius`&&!e.includes(`shadow`)}function Re(e){return e.startsWith(`sidebar`)}function ze(e){return e.startsWith(`chart-`)}Y.layout=x;export{Y as default}; \ No newline at end of file diff --git a/public/build/assets/socialite-Dj_w8xs5.js b/public/build/assets/socialite-Dj_w8xs5.js deleted file mode 100644 index 4f340a7..0000000 --- a/public/build/assets/socialite-Dj_w8xs5.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,n as t,r as n,t as r}from"./wayfinder-DGNmxDkm.js";import{t as i}from"./createLucideIcon-C5RzLdeU.js";var a=i(`Chrome`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`line`,{x1:`21.17`,x2:`12`,y1:`8`,y2:`8`,key:`a0cw5f`}],[`line`,{x1:`3.95`,x2:`8.54`,y1:`6.06`,y2:`14`,key:`1kftof`}],[`line`,{x1:`10.88`,x2:`15.46`,y1:`21.94`,y2:`14`,key:`1ymyh8`}]]),o=e(),s=n();function c(e){let t=(0,o.c)(3),{iconNode:n,className:r}=e;if(!n)return null;let i;return t[0]!==n||t[1]!==r?(i=(0,s.jsx)(n,{className:r}),t[0]=n,t[1]=r,t[2]=i):i=t[2],i}var l=(e,t)=>({url:l.url(e,t),method:`get`});l.definition={methods:[`get`,`head`],url:`/auth/{provider}/redirect`},l.url=(e,n)=>{(typeof e==`string`||typeof e==`number`)&&(e={provider:e}),Array.isArray(e)&&(e={provider:e[0]}),e=r(e);let i={provider:e.provider};return l.definition.url.replace(`{provider}`,i.provider.toString()).replace(/\/+$/,``)+t(n)},l.get=(e,t)=>({url:l.url(e,t),method:`get`}),l.head=(e,t)=>({url:l.url(e,t),method:`head`});var u=(e,t)=>({action:l.url(e,t),method:`get`});u.get=(e,t)=>({action:l.url(e,t),method:`get`}),u.head=(e,t)=>({action:l.url(e,{[t?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...t?.query??t?.mergeQuery??{}}}),method:`get`}),l.form=u;var d=(e,t)=>({url:d.url(e,t),method:`get`});d.definition={methods:[`get`,`head`],url:`/auth/{provider}/callback`},d.url=(e,n)=>{(typeof e==`string`||typeof e==`number`)&&(e={provider:e}),Array.isArray(e)&&(e={provider:e[0]}),e=r(e);let i={provider:e.provider};return d.definition.url.replace(`{provider}`,i.provider.toString()).replace(/\/+$/,``)+t(n)},d.get=(e,t)=>({url:d.url(e,t),method:`get`}),d.head=(e,t)=>({url:d.url(e,t),method:`head`});var f=(e,t)=>({action:d.url(e,t),method:`get`});f.get=(e,t)=>({action:d.url(e,t),method:`get`}),f.head=(e,t)=>({action:d.url(e,{[t?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...t?.query??t?.mergeQuery??{}}}),method:`get`}),d.form=f,Object.assign(l,l),Object.assign(d,d);export{c as n,a as r,l as t}; \ No newline at end of file diff --git a/public/build/assets/source-sans-3-cyrillic-ext-wght-normal-DzyfIafT.woff2 b/public/build/assets/source-sans-3-cyrillic-ext-wght-normal-DzyfIafT.woff2 deleted file mode 100644 index 587b7a0..0000000 Binary files a/public/build/assets/source-sans-3-cyrillic-ext-wght-normal-DzyfIafT.woff2 and /dev/null differ diff --git a/public/build/assets/source-sans-3-cyrillic-wght-normal-BMDVbyM7.woff2 b/public/build/assets/source-sans-3-cyrillic-wght-normal-BMDVbyM7.woff2 deleted file mode 100644 index dcd6fee..0000000 Binary files a/public/build/assets/source-sans-3-cyrillic-wght-normal-BMDVbyM7.woff2 and /dev/null differ diff --git a/public/build/assets/source-sans-3-greek-ext-wght-normal-BWSLJLk6.woff2 b/public/build/assets/source-sans-3-greek-ext-wght-normal-BWSLJLk6.woff2 deleted file mode 100644 index 2ed795e..0000000 Binary files a/public/build/assets/source-sans-3-greek-ext-wght-normal-BWSLJLk6.woff2 and /dev/null differ diff --git a/public/build/assets/source-sans-3-greek-wght-normal-C9H9m1vD.woff2 b/public/build/assets/source-sans-3-greek-wght-normal-C9H9m1vD.woff2 deleted file mode 100644 index c7acd10..0000000 Binary files a/public/build/assets/source-sans-3-greek-wght-normal-C9H9m1vD.woff2 and /dev/null differ diff --git a/public/build/assets/source-sans-3-latin-ext-wght-normal-C8iNium2.woff2 b/public/build/assets/source-sans-3-latin-ext-wght-normal-C8iNium2.woff2 deleted file mode 100644 index 7f78ca9..0000000 Binary files a/public/build/assets/source-sans-3-latin-ext-wght-normal-C8iNium2.woff2 and /dev/null differ diff --git a/public/build/assets/source-sans-3-latin-wght-normal-BqRLTx4X.woff2 b/public/build/assets/source-sans-3-latin-wght-normal-BqRLTx4X.woff2 deleted file mode 100644 index 864cc41..0000000 Binary files a/public/build/assets/source-sans-3-latin-wght-normal-BqRLTx4X.woff2 and /dev/null differ diff --git a/public/build/assets/source-sans-3-vietnamese-wght-normal-C1uRvKPU.woff2 b/public/build/assets/source-sans-3-vietnamese-wght-normal-C1uRvKPU.woff2 deleted file mode 100644 index 686fd3e..0000000 Binary files a/public/build/assets/source-sans-3-vietnamese-wght-normal-C1uRvKPU.woff2 and /dev/null differ diff --git a/public/build/assets/space-grotesk-latin-ext-wght-normal-D9tNdqV9.woff2 b/public/build/assets/space-grotesk-latin-ext-wght-normal-D9tNdqV9.woff2 deleted file mode 100644 index db732c2..0000000 Binary files a/public/build/assets/space-grotesk-latin-ext-wght-normal-D9tNdqV9.woff2 and /dev/null differ diff --git a/public/build/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2 b/public/build/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2 deleted file mode 100644 index 0f3474e..0000000 Binary files a/public/build/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2 and /dev/null differ diff --git a/public/build/assets/space-grotesk-vietnamese-wght-normal-D0rl6rjA.woff2 b/public/build/assets/space-grotesk-vietnamese-wght-normal-D0rl6rjA.woff2 deleted file mode 100644 index ce97d0f..0000000 Binary files a/public/build/assets/space-grotesk-vietnamese-wght-normal-D0rl6rjA.woff2 and /dev/null differ diff --git a/public/build/assets/spinner-DkjOSfno.js b/public/build/assets/spinner-DkjOSfno.js deleted file mode 100644 index 3dfe7b1..0000000 --- a/public/build/assets/spinner-DkjOSfno.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,r as t}from"./wayfinder-DGNmxDkm.js";import{n}from"./createLucideIcon-C5RzLdeU.js";import{t as r}from"./loader-circle-x6RGWI8d.js";var i=e(),a=t();function o(e){let t=(0,i.c)(8),o,s;t[0]===e?(o=t[1],s=t[2]):({className:o,...s}=e,t[0]=e,t[1]=o,t[2]=s);let c;t[3]===o?c=t[4]:(c=n(`size-4 animate-spin`,o),t[3]=o,t[4]=c);let l;return t[5]!==s||t[6]!==c?(l=(0,a.jsx)(r,{role:`status`,"aria-label":`Loading`,className:c,...s}),t[5]=s,t[6]=c,t[7]=l):l=t[7],l}export{o as t}; \ No newline at end of file diff --git a/public/build/assets/sun-BjqZX6Kk.js b/public/build/assets/sun-BjqZX6Kk.js deleted file mode 100644 index cc1f5f7..0000000 --- a/public/build/assets/sun-BjqZX6Kk.js +++ /dev/null @@ -1 +0,0 @@ -import{t as e}from"./createLucideIcon-C5RzLdeU.js";var t=e(`Moon`,[[`path`,{d:`M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z`,key:`a7tn18`}]]),n=e(`Sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]);export{t as n,n as t}; \ No newline at end of file diff --git a/public/build/assets/text-link-DeHc-DyP.js b/public/build/assets/text-link-DeHc-DyP.js deleted file mode 100644 index 59328f3..0000000 --- a/public/build/assets/text-link-DeHc-DyP.js +++ /dev/null @@ -1 +0,0 @@ -import{c as e,i as t,r as n}from"./wayfinder-DGNmxDkm.js";import{n as r}from"./createLucideIcon-C5RzLdeU.js";var i=t(),a=n();function o(t){let n=(0,i.c)(10),o,s,c;n[0]===t?(o=n[1],s=n[2],c=n[3]):({className:c,children:o,...s}=t,n[0]=t,n[1]=o,n[2]=s,n[3]=c);let l=c===void 0?``:c,u;n[4]===l?u=n[5]:(u=r(`text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500`,l),n[4]=l,n[5]=u);let d;return n[6]!==o||n[7]!==s||n[8]!==u?(d=(0,a.jsx)(e,{className:u,...s,children:o}),n[6]=o,n[7]=s,n[8]=u,n[9]=d):d=n[9],d}export{o as t}; \ No newline at end of file diff --git a/public/build/assets/textarea-CtmiFXkJ.js b/public/build/assets/textarea-CtmiFXkJ.js deleted file mode 100644 index 6b0f056..0000000 --- a/public/build/assets/textarea-CtmiFXkJ.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,m as t,r as n,x as r}from"./wayfinder-DGNmxDkm.js";import{t as i}from"./button-Dnfc0p4v.js";import{n as a}from"./createLucideIcon-C5RzLdeU.js";import{t as o}from"./check-h5bDkP1T.js";import{t as s}from"./copy-C1-jVkjV.js";import{a as c,i as l}from"./main-registry-installer-CZTj2Evv.js";import{L as u}from"./app-D7ZTkNic.js";var d=e(),f=r(t(),1),p=n();function m(e){let t=(0,d.c)(31),{code:n,language:r,className:m,variant:h,showCopyButton:g}=e,_=r===void 0?`bash`:r,v=h===void 0?`default`:h,y=g===void 0?!0:g,[b,x]=(0,f.useState)(!1),{normalizedLanguage:S,highlightedCode:C}=c(n,_),{copy:w}=l(),T;t[0]!==n||t[1]!==w?(T=async()=>{await w(n)?(x(!0),u.success(`Copied to clipboard`),setTimeout(()=>x(!1),2e3)):u.error(`Failed to copy to clipboard`)},t[0]=n,t[1]=w,t[2]=T):T=t[2];let E=T,D;t[3]===m?D=t[4]:(D=a(`group/code-block relative rounded-md border border-border bg-muted/30 text-sm`,m),t[3]=m,t[4]=D);let O;t[5]!==b||t[6]!==E||t[7]!==S||t[8]!==y||t[9]!==v?(O=v===`default`&&(0,p.jsxs)(`div`,{className:`flex h-14 items-center justify-between border-b border-border bg-muted/50 px-3 py-2`,children:[(0,p.jsx)(`span`,{className:`font-mono text-sm font-bold text-muted-foreground`,children:S}),y&&(0,p.jsxs)(`div`,{className:`flex items-center gap-1`,children:[(0,p.jsx)(`span`,{className:a(`text-xs text-green-500 transition-opacity duration-200`,b?`opacity-100`:`pointer-events-none opacity-0`),children:`Copied`}),(0,p.jsxs)(i,{variant:`ghost`,size:`icon`,onClick:E,className:`transition-opacity hover:opacity-100`,children:[b?(0,p.jsx)(o,{className:`size-4 text-green-500`}):(0,p.jsx)(s,{className:`size-4`}),(0,p.jsx)(`span`,{className:`sr-only`,children:`Copy`})]})]})]}),t[5]=b,t[6]=E,t[7]=S,t[8]=y,t[9]=v,t[10]=O):O=t[10];let k;t[11]!==b||t[12]!==E||t[13]!==y||t[14]!==v?(k=v===`minimal`&&y&&(0,p.jsxs)(`div`,{className:`absolute top-2 right-2 z-10 flex items-center gap-1 opacity-0 transition-opacity group-hover/code-block:opacity-100`,children:[(0,p.jsx)(`span`,{className:a(`text-xs text-green-500 transition-opacity duration-200`,b?`opacity-100`:`pointer-events-none opacity-0`),children:`Copied`}),(0,p.jsxs)(i,{variant:`ghost`,size:`icon`,onClick:E,children:[b?(0,p.jsx)(o,{className:`size-4 text-green-500`}):(0,p.jsx)(s,{className:`size-4`}),(0,p.jsx)(`span`,{className:`sr-only`,children:`Copy`})]})]}),t[11]=b,t[12]=E,t[13]=y,t[14]=v,t[15]=k):k=t[15];let A=v===`default`?`rounded-none! p-3!`:`rounded-md! p-4!`,j;t[16]===A?j=t[17]:(j=a(`m-0! font-mono! text-sm leading-relaxed`,A),t[16]=A,t[17]=j);let M;t[18]===C?M=t[19]:(M=(0,p.jsx)(`span`,{dangerouslySetInnerHTML:{__html:C}}),t[18]=C,t[19]=M);let N;t[20]!==_||t[21]!==M?(N=(0,p.jsx)(`code`,{"data-language":_,suppressHydrationWarning:!0,children:M}),t[20]=_,t[21]=M,t[22]=N):N=t[22];let P;t[23]!==N||t[24]!==j?(P=(0,p.jsx)(`div`,{className:`overflow-x-auto`,children:(0,p.jsx)(`pre`,{className:j,children:N})}),t[23]=N,t[24]=j,t[25]=P):P=t[25];let F;return t[26]!==P||t[27]!==D||t[28]!==O||t[29]!==k?(F=(0,p.jsxs)(`div`,{className:D,children:[O,k,P]}),t[26]=P,t[27]=D,t[28]=O,t[29]=k,t[30]=F):F=t[30],F}function h(e){let t=(0,d.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=a(`flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40`,n),t[3]=n,t[4]=i);let o;return t[5]!==r||t[6]!==i?(o=(0,p.jsx)(`textarea`,{"data-slot":`textarea`,className:i,...r}),t[5]=r,t[6]=i,t[7]=o):o=t[7],o}export{m as n,h as t}; \ No newline at end of file diff --git a/public/build/assets/themes-ukhsZa4u.js b/public/build/assets/themes-ukhsZa4u.js deleted file mode 100644 index 285f32f..0000000 --- a/public/build/assets/themes-ukhsZa4u.js +++ /dev/null @@ -1 +0,0 @@ -import{c as e,h as t,i as n,m as r,r as i,s as a,x as o}from"./wayfinder-DGNmxDkm.js";import{t as s}from"./button-Dnfc0p4v.js";import{p as c}from"./dist-pNDkDpUt.js";import{t as l}from"./createLucideIcon-C5RzLdeU.js";import{a as u,i as d,n as f,o as p,r as m,t as h}from"./select-Bs5ixj0g.js";import{a as g,d as _,i as v,r as y,t as b,u as x}from"./main-layout-BJ0kmSsb.js";import{T as S,r as C}from"./app-D7ZTkNic.js";import{a as w,n as T,o as E,r as D,t as O}from"./card-gSkeg5Iw.js";var k=l(`Plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),A=l(`SearchX`,[[`path`,{d:`m13.5 8.5-5 5`,key:`1cs55j`}],[`path`,{d:`m8.5 8.5 5 5`,key:`a8mexj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]),j=n(),M=i(),N=[{key:`Primary`,bgClass:`bg-primary`,flex:3},{key:`Secondary`,bgClass:`bg-secondary`,flex:2},{key:`Accent`,bgClass:`bg-accent`,flex:2},{key:`Muted`,bgClass:`bg-muted`,flex:1}],P=[{label:`BG`,bgClass:`bg-background`},{label:`Card`,bgClass:`bg-card`},{label:`Border`,bgClass:`bg-border`},{label:`Ring`,bgClass:`bg-ring`}];function F(e){let t=(0,j.c)(22),n,r;t[0]===e?(n=t[1],r=t[2]):({theme:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let{cssVars:i}=y(r),a=n.className??``,o;t[3]===a?o=t[4]:(o=[`group relative isolate rounded-2xl border border-border/40 pt-0`,`bg-card shadow-sm transition-transform`,`hover:-translate-y-1 hover:shadow-xl hover:shadow-primary/10`,a],t[3]=a,t[4]=o);let s=o.join(` `),c;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,M.jsx)(`div`,{className:`flex h-full w-full`,children:N.map(R)}),t[5]=c):c=t[5];let l;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,M.jsxs)(`div`,{className:`relative h-36 w-full overflow-hidden rounded-t-[inherit]`,children:[c,(0,M.jsx)(`div`,{className:`absolute inset-x-0 bottom-0 flex h-8 bg-background/60 backdrop-blur-sm`,children:N.map(L)})]}),t[6]=l):l=t[6];let u;t[7]===r.title?u=t[8]:(u=(0,M.jsx)(E,{className:`text-base font-bold tracking-tight text-foreground`,children:r.title}),t[7]=r.title,t[8]=u);let d;t[9]===r.description?d=t[10]:(d=(0,M.jsx)(D,{className:`mt-0.5 line-clamp-2 text-xs leading-relaxed text-muted-foreground`,children:r.description}),t[9]=r.description,t[10]=d);let f;t[11]!==u||t[12]!==d?(f=(0,M.jsxs)(w,{className:`px-5 pt-4 pb-2`,children:[u,d]}),t[11]=u,t[12]=d,t[13]=f):f=t[13];let m,h;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,M.jsx)(T,{className:`px-5 pt-1 pb-5`,children:(0,M.jsx)(`div`,{className:`flex gap-2`,children:P.map(I)})}),m=(0,M.jsx)(`div`,{className:`pointer-events-none absolute inset-0 rounded-2xl opacity-0 ring-1 ring-primary/30 transition-opacity duration-500 ring-inset group-hover:opacity-100`}),t[14]=m,t[15]=h):(m=t[14],h=t[15]);let g;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,M.jsx)(p,{borderWidth:3,size:150,colors:[`var(--primary)`,`var(--secondary)`],className:`absolute -inset-0.5 z-10`}),t[16]=g):g=t[16];let _;return t[17]!==i||t[18]!==n||t[19]!==s||t[20]!==f?(_=(0,M.jsxs)(O,{style:i,...n,className:s,children:[l,f,h,m,g]}),t[17]=i,t[18]=n,t[19]=s,t[20]=f,t[21]=_):_=t[21],_}function I(e){let{label:t,bgClass:n}=e;return(0,M.jsxs)(`div`,{className:`flex flex-1 flex-col items-center gap-1.5`,children:[(0,M.jsx)(`div`,{className:`${n} h-1.5 w-full rounded-full border border-border/60`}),(0,M.jsx)(`span`,{className:`text-[9px] font-medium tracking-wider text-muted-foreground/60 uppercase`,children:t})]},t)}function L(e){let{key:t,flex:n}=e;return(0,M.jsx)(`div`,{style:{flex:n},className:`flex items-center justify-center`,children:(0,M.jsx)(`span`,{className:`text-[10px] font-semibold tracking-widest text-foreground/50 uppercase`,children:t})},t)}function R(e){let{key:t,bgClass:n,flex:r}=e;return(0,M.jsx)(`div`,{style:{flex:r},className:`${n} h-full transition-all duration-500 group-hover:opacity-90`},t)}F.displayName=`MainThemeCard`;var z=o(r(),1),B=`__all__`;function V(e){let n=(0,j.c)(25),{filters:r,availableCategories:i}=e,[a,o]=(0,z.useState)(r?.search??``),[s,l]=(0,z.useState)(r?.category??``),p=v(a,300),g=(0,z.useRef)(!1),y,b;n[0]!==p||n[1]!==s?(y=()=>{if(!g.current){g.current=!0;return}let e={};p&&(e.search=p),s&&(e.category=s),t.get(`/themes`,e,{preserveState:!0,preserveScroll:!0})},b=[p,s],n[0]=p,n[1]=s,n[2]=y,n[3]=b):(y=n[2],b=n[3]),(0,z.useEffect)(y,b);let x;n[4]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,M.jsx)(_,{className:`absolute top-1/2 left-3 size-4 -translate-y-1/2 text-muted-foreground`}),n[4]=x):x=n[4];let C;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(C=e=>o(e.target.value),n[5]=C):C=n[5];let w,T;n[6]===a?(w=n[7],T=n[8]):(w=(0,M.jsx)(S,{value:a,onChange:C,placeholder:`Search themes...`,className:`pr-8 pl-9`}),T=a&&(0,M.jsx)(`button`,{onClick:()=>o(``),className:`absolute top-1/2 right-3 -translate-y-1/2 text-muted-foreground hover:text-foreground`,children:(0,M.jsx)(c,{className:`size-4`})}),n[6]=a,n[7]=w,n[8]=T);let E;n[9]!==w||n[10]!==T?(E=(0,M.jsxs)(`div`,{className:`relative flex-1`,children:[x,w,T]}),n[9]=w,n[10]=T,n[11]=E):E=n[11];let D=s||B,O;n[12]===Symbol.for(`react.memo_cache_sentinel`)?(O=e=>l(e===B?``:e),n[12]=O):O=n[12];let k;n[13]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,M.jsx)(d,{className:`w-45`,children:(0,M.jsx)(u,{placeholder:`All categories`})}),n[13]=k):k=n[13];let A;n[14]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,M.jsx)(m,{value:B,children:`All categories`}),n[14]=A):A=n[14];let N;n[15]===i?N=n[16]:(N=i.map(H),n[15]=i,n[16]=N);let P;n[17]===N?P=n[18]:(P=(0,M.jsxs)(f,{children:[A,N]}),n[17]=N,n[18]=P);let F;n[19]!==P||n[20]!==D?(F=(0,M.jsxs)(h,{value:D,onValueChange:O,children:[k,P]}),n[19]=P,n[20]=D,n[21]=F):F=n[21];let I;return n[22]!==F||n[23]!==E?(I=(0,M.jsxs)(`div`,{className:`mb-4 flex items-center gap-4`,children:[E,F]}),n[22]=F,n[23]=E,n[24]=I):I=n[24],I}function H(e){return(0,M.jsx)(m,{value:e,children:e},e)}function U(e){let t=(0,j.c)(21),{themes:n,filters:r,availableCategories:i,totalThemesCount:o}=e,c=`Choose from ${o} themes to customize your site's look and feel. Preview, install, and manage them all in one place.`,l;t[0]===c?l=t[1]:(l=(0,M.jsx)(C,{title:`Themes`,description:c}),t[0]=c,t[1]=l);let u;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,M.jsx)(`div`,{className:`shrink-0`,children:(0,M.jsxs)(s,{variant:`outline`,className:`transition-colors duration-300`,children:[(0,M.jsx)(k,{className:`h-4`}),(0,M.jsx)(`span`,{className:`sr-only md:not-sr-only`,children:`Create new theme`})]})}),t[2]=u):u=t[2];let d;t[3]===l?d=t[4]:(d=(0,M.jsxs)(`div`,{className:`flex items-start justify-between md:items-center`,children:[l,u]}),t[3]=l,t[4]=d);let f;t[5]!==i||t[6]!==r?(f=(0,M.jsx)(V,{filters:r,availableCategories:i}),t[5]=i,t[6]=r,t[7]=f):f=t[7];let p;t[8]===n.data?p=t[9]:(p=n.data.map(W),t[8]=n.data,t[9]=p);let m;t[10]===p?m=t[11]:(m=(0,M.jsx)(a,{data:`themes`,children:(0,M.jsx)(`div`,{className:`mb-4 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4`,children:p})}),t[10]=p,t[11]=m);let h;t[12]!==r?.category||t[13]!==r?.search||t[14]!==n.data.length?(h=n.data.length===0&&(r?.search||r?.category)&&(0,M.jsxs)(`div`,{className:`flex flex-col items-center justify-center py-16 text-center`,children:[(0,M.jsx)(A,{className:`mb-4 size-12 text-muted-foreground`}),(0,M.jsx)(`h3`,{className:`text-lg font-semibold`,children:`Theme not found`}),(0,M.jsx)(`p`,{className:`text-muted-foreground`,children:`No themes match your search. Try adjusting your filters.`})]}),t[12]=r?.category,t[13]=r?.search,t[14]=n.data.length,t[15]=h):h=t[15];let g;return t[16]!==d||t[17]!==f||t[18]!==m||t[19]!==h?(g=(0,M.jsxs)(x,{className:`pt-4`,children:[d,f,m,h]}),t[16]=d,t[17]=f,t[18]=m,t[19]=h,t[20]=g):g=t[20],g}function W(t,n){return(0,M.jsx)(e,{href:g(t.name),children:(0,M.jsx)(F,{theme:t})},n)}U.layout=b,U.displayName=`ThemesIndex`;export{U as default}; \ No newline at end of file diff --git a/public/build/assets/two-factor-challenge-CGEErSW_.js b/public/build/assets/two-factor-challenge-CGEErSW_.js deleted file mode 100644 index 228e4c5..0000000 --- a/public/build/assets/two-factor-challenge-CGEErSW_.js +++ /dev/null @@ -1 +0,0 @@ -import{a as e,i as t,m as n,o as r,r as i,u as a,x as o}from"./wayfinder-DGNmxDkm.js";import{t as s}from"./button-Dnfc0p4v.js";import{c,l,o as u,s as d,u as f}from"./use-two-factor-auth-DDzjzl9Y.js";import{T as p}from"./app-D7ZTkNic.js";import{t as m}from"./input-error-C2eP__MC.js";var h=t(),g=o(n(),1),_=i();function v(){let t=(0,h.c)(14),[n,i]=(0,g.useState)(!1),[o,l]=(0,g.useState)(``),v;bb0:{if(n){let e;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e={title:`Recovery code`,description:`Please confirm access to your account by entering one of your emergency recovery codes.`,toggleText:`login using an authentication code`},t[0]=e):e=t[0],v=e;break bb0}let e;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(e={title:`Authentication code`,description:`Enter the authentication code provided by your authenticator application.`,toggleText:`login using a recovery code`},t[1]=e):e=t[1],v=e}let b=v;a({title:b.title,description:b.description});let x;t[2]===n?x=t[3]:(x=e=>{i(!n),e(),l(``)},t[2]=n,t[3]=x);let S=x,C;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,_.jsx)(r,{title:`Two-factor authentication`}),t[4]=C):C=t[4];let w;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(w=u.form(),t[5]=w):w=t[5];let T=!n,E;t[6]!==b.toggleText||t[7]!==o||t[8]!==n||t[9]!==S?(E=e=>{let{errors:t,processing:r,clearErrors:i}=e;return(0,_.jsxs)(_.Fragment,{children:[n?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(p,{name:`recovery_code`,type:`text`,placeholder:`Enter recovery code`,autoFocus:n,required:!0}),(0,_.jsx)(m,{message:t.recovery_code})]}):(0,_.jsxs)(`div`,{className:`flex flex-col items-center justify-center space-y-3 text-center`,children:[(0,_.jsx)(`div`,{className:`flex w-full items-center justify-center`,children:(0,_.jsx)(d,{name:`code`,maxLength:6,value:o,onChange:e=>l(e),disabled:r,pattern:f,autoFocus:!0,children:(0,_.jsx)(c,{children:Array.from({length:6},y)})})}),(0,_.jsx)(m,{message:t.code})]}),(0,_.jsx)(s,{type:`submit`,className:`w-full`,disabled:r,children:`Continue`}),(0,_.jsxs)(`div`,{className:`text-center text-sm text-muted-foreground`,children:[(0,_.jsx)(`span`,{children:`or you can `}),(0,_.jsx)(`button`,{type:`button`,className:`cursor-pointer text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500`,onClick:()=>S(i),children:b.toggleText})]})]})},t[6]=b.toggleText,t[7]=o,t[8]=n,t[9]=S,t[10]=E):E=t[10];let D;return t[11]!==T||t[12]!==E?(D=(0,_.jsxs)(_.Fragment,{children:[C,(0,_.jsx)(`div`,{className:`space-y-6`,children:(0,_.jsx)(e,{...w,className:`space-y-4`,resetOnError:!0,resetOnSuccess:T,children:E})})]}),t[11]=T,t[12]=E,t[13]=D):D=t[13],D}function y(e,t){return(0,_.jsx)(l,{index:t},t)}export{v as default}; \ No newline at end of file diff --git a/public/build/assets/use-appearance-QmpypXC6.js b/public/build/assets/use-appearance-QmpypXC6.js deleted file mode 100644 index e6ca5c0..0000000 --- a/public/build/assets/use-appearance-QmpypXC6.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,m as t,x as n}from"./wayfinder-DGNmxDkm.js";var r=e(),i=n(t(),1),a=new Set,o=`system`,s=()=>typeof window>`u`?!1:window.matchMedia(`(prefers-color-scheme: dark)`).matches,c=(e,t,n=365)=>{if(typeof document>`u`)return;let r=n*24*60*60;document.cookie=`${e}=${t};path=/;max-age=${r};SameSite=Lax`},l=()=>typeof window>`u`?`system`:localStorage.getItem(`appearance`)||`system`,u=e=>e===`dark`||e===`system`&&s(),d=e=>{if(typeof document>`u`)return;let t=u(e);document.documentElement.classList.toggle(`dark`,t),document.documentElement.style.colorScheme=t?`dark`:`light`},f=e=>(a.add(e),()=>a.delete(e)),p=()=>a.forEach(e=>e()),m=()=>typeof window>`u`?null:window.matchMedia(`(prefers-color-scheme: dark)`),h=()=>d(o);function g(){typeof window>`u`||(localStorage.getItem(`appearance`)||(localStorage.setItem(`appearance`,`system`),c(`appearance`,`system`)),o=l(),d(o),m()?.addEventListener(`change`,h))}function _(){let e=(0,r.c)(3),t=(0,i.useSyncExternalStore)(f,b,y),n=u(t)?`dark`:`light`,a=v,o;return e[0]!==t||e[1]!==n?(o={appearance:t,resolvedAppearance:n,updateAppearance:a},e[0]=t,e[1]=n,e[2]=o):o=e[2],o}function v(e){o=e,localStorage.setItem(`appearance`,e),c(`appearance`,e),d(e),p()}function y(){return`system`}function b(){return o}export{_ as n,g as t}; \ No newline at end of file diff --git a/public/build/assets/use-clipboard-CYcV3HSX.js b/public/build/assets/use-clipboard-CYcV3HSX.js deleted file mode 100644 index 31794ac..0000000 --- a/public/build/assets/use-clipboard-CYcV3HSX.js +++ /dev/null @@ -1 +0,0 @@ -import{i as e,m as t,r as n,x as r}from"./wayfinder-DGNmxDkm.js";import{n as i}from"./button-Dnfc0p4v.js";import{n as a}from"./createLucideIcon-C5RzLdeU.js";var o=e(),s=r(t(),1),c=n(),l=i(`relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current`,{variants:{variant:{default:`bg-background text-foreground`,destructive:`text-destructive-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-destructive-foreground/80`}},defaultVariants:{variant:`default`}});function u(e){let t=(0,o.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,variant:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let s;t[4]!==n||t[5]!==i?(s=a(l({variant:i}),n),t[4]=n,t[5]=i,t[6]=s):s=t[6];let u;return t[7]!==r||t[8]!==s?(u=(0,c.jsx)(`div`,{"data-slot":`alert`,role:`alert`,className:s,...r}),t[7]=r,t[8]=s,t[9]=u):u=t[9],u}function d(e){let t=(0,o.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=a(`col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight`,n),t[3]=n,t[4]=i);let s;return t[5]!==r||t[6]!==i?(s=(0,c.jsx)(`div`,{"data-slot":`alert-title`,className:i,...r}),t[5]=r,t[6]=i,t[7]=s):s=t[7],s}function f(e){let t=(0,o.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=a(`text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed`,n),t[3]=n,t[4]=i);let s;return t[5]!==r||t[6]!==i?(s=(0,c.jsx)(`div`,{"data-slot":`alert-description`,className:i,...r}),t[5]=r,t[6]=i,t[7]=s):s=t[7],s}function p(){let e=(0,o.c)(3),[t,n]=(0,s.useState)(null),r;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=async e=>{if(!navigator?.clipboard)return console.warn(`Clipboard not supported`),!1;try{return await navigator.clipboard.writeText(e),n(e),!0}catch(e){return console.warn(`Copy failed`,e),n(null),!1}},e[0]=r):r=e[0];let i=r,a;return e[1]===t?a=e[2]:(a=[t,i],e[1]=t,e[2]=a),a}export{d as i,u as n,f as r,p as t}; \ No newline at end of file diff --git a/public/build/assets/use-two-factor-auth-DDzjzl9Y.js b/public/build/assets/use-two-factor-auth-DDzjzl9Y.js deleted file mode 100644 index f64c560..0000000 --- a/public/build/assets/use-two-factor-auth-DDzjzl9Y.js +++ /dev/null @@ -1,20 +0,0 @@ -import{d as e,i as t,m as n,n as r,r as i,x as a}from"./wayfinder-DGNmxDkm.js";import{n as o,t as s}from"./createLucideIcon-C5RzLdeU.js";var c=s(`Minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),l=t(),u=a(n(),1),d=Object.defineProperty,f=Object.defineProperties,p=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,_=(e,t,n)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v=(e,t)=>{for(var n in t||={})h.call(t,n)&&_(e,n,t[n]);if(m)for(var n of m(t))g.call(t,n)&&_(e,n,t[n]);return e},ee=(e,t)=>f(e,p(t)),y=(e,t)=>{var n={};for(var r in e)h.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&m)for(var r of m(e))t.indexOf(r)<0&&g.call(e,r)&&(n[r]=e[r]);return n};function b(e){return[setTimeout(e,0),setTimeout(e,10),setTimeout(e,50)]}function x(e){let t=u.useRef();return u.useEffect(()=>{t.current=e}),t.current}var S=18,C=40,w=`${C}px`,T=[`[data-lastpass-icon-root]`,`com-1password-button`,`[data-dashlanecreated]`,`[style$="2147483647 !important;"]`].join(`,`);function E({containerRef:e,inputRef:t,pushPasswordManagerStrategy:n,isFocused:r}){let[i,a]=u.useState(!1),[o,s]=u.useState(!1),[c,l]=u.useState(!1),d=u.useMemo(()=>n===`none`?!1:(n===`increase-width`||n===`experimental-no-flickering`)&&i&&o,[i,o,n]),f=u.useCallback(()=>{let r=e.current,i=t.current;if(!r||!i||c||n===`none`)return;let o=r,s=o.getBoundingClientRect().left+o.offsetWidth,u=o.getBoundingClientRect().top+o.offsetHeight/2,d=s-S,f=u;document.querySelectorAll(T).length===0&&document.elementFromPoint(d,f)===r||(a(!0),l(!0))},[e,t,c,n]);return u.useEffect(()=>{let t=e.current;if(!t||n===`none`)return;function r(){s(window.innerWidth-t.getBoundingClientRect().right>=C)}r();let i=setInterval(r,1e3);return()=>{clearInterval(i)}},[e,n]),u.useEffect(()=>{let e=r||document.activeElement===t.current;if(n===`none`||!e)return;let i=setTimeout(f,0),a=setTimeout(f,2e3),o=setTimeout(f,5e3),s=setTimeout(()=>{l(!0)},6e3);return()=>{clearTimeout(i),clearTimeout(a),clearTimeout(o),clearTimeout(s)}},[t,r,n,f]),{hasPWMBadge:i,willPushPWMBadge:d,PWM_BADGE_SPACE_WIDTH:w}}var D=u.createContext({}),O=u.forwardRef((e,t)=>{var n=e,{value:r,onChange:i,maxLength:a,textAlign:o=`left`,pattern:s,placeholder:c,inputMode:l=`numeric`,onComplete:d,pushPasswordManagerStrategy:f=`increase-width`,pasteTransformer:p,containerClassName:m,noScriptCSSFallback:h=te,render:g,children:_}=n,S=y(n,[`value`,`onChange`,`maxLength`,`textAlign`,`pattern`,`placeholder`,`inputMode`,`onComplete`,`pushPasswordManagerStrategy`,`pasteTransformer`,`containerClassName`,`noScriptCSSFallback`,`render`,`children`]),C;let[w,T]=u.useState(typeof S.defaultValue==`string`?S.defaultValue:``),O=r??w,A=x(O),j=u.useCallback(e=>{i?.(e),T(e)},[i]),M=u.useMemo(()=>s?typeof s==`string`?new RegExp(s):s:null,[s]),N=u.useRef(null),P=u.useRef(null),F=u.useRef({value:O,onChange:j,isIOS:typeof window<`u`&&((C=window==null?void 0:window.CSS)?.supports)?.call(C,`-webkit-touch-callout`,`none`)}),I=u.useRef({prev:[N.current?.selectionStart,N.current?.selectionEnd,N.current?.selectionDirection]});u.useImperativeHandle(t,()=>N.current,[]),u.useEffect(()=>{let e=N.current,t=P.current;if(!e||!t)return;F.current.value!==e.value&&F.current.onChange(e.value),I.current.prev=[e.selectionStart,e.selectionEnd,e.selectionDirection];function n(){if(document.activeElement!==e){H(null),W(null);return}let t=e.selectionStart,n=e.selectionEnd,r=e.selectionDirection,i=e.maxLength,a=e.value,o=I.current.prev,s=-1,c=-1,l;if(a.length!==0&&t!==null&&n!==null){let e=t===n,r=t===a.length&&a.length1&&a.length>1){let t=0;if(o[0]!==null&&o[1]!==null){l=e{t&&t.style.setProperty(`--root-height`,`${e.clientHeight}px`)};r();let i=new ResizeObserver(r);return i.observe(e),()=>{document.removeEventListener(`selectionchange`,n,{capture:!0}),i.disconnect()}},[]);let[L,R]=u.useState(!1),[z,B]=u.useState(!1),[V,H]=u.useState(null),[U,W]=u.useState(null);u.useEffect(()=>{b(()=>{var e;(e=N.current)==null||e.dispatchEvent(new Event(`input`));let t=N.current?.selectionStart,n=N.current?.selectionEnd,r=N.current?.selectionDirection;t!==null&&n!==null&&(H(t),W(n),I.current.prev=[t,n,r])})},[O,z]),u.useEffect(()=>{A!==void 0&&O!==A&&A.length{let t=e.currentTarget.value.slice(0,a);if(t.length>0&&M&&!M.test(t)){e.preventDefault();return}typeof A==`string`&&t.length{var e;if(N.current){let t=Math.min(N.current.value.length,a-1),n=N.current.value.length;(e=N.current)==null||e.setSelectionRange(t,n),H(t),W(n)}B(!0)},[a]),J=u.useCallback(e=>{let t=N.current;if(!p&&(!F.current.isIOS||!e.clipboardData||!t))return;let n=e.clipboardData.getData(`text/plain`),r=p?p(n):n;e.preventDefault();let i=N.current?.selectionStart,o=N.current?.selectionEnd,s=(i===o?O.slice(0,i)+r+O.slice(i):O.slice(0,i)+r+O.slice(o)).slice(0,a);if(s.length>0&&M&&!M.test(s))return;t.value=s,j(s);let c=Math.min(s.length,a-1),l=s.length;t.setSelectionRange(c,l),H(c),W(l)},[a,j,M,O]),Y=u.useMemo(()=>({position:`relative`,cursor:S.disabled?`default`:`text`,userSelect:`none`,WebkitUserSelect:`none`,pointerEvents:`none`}),[S.disabled]),X=u.useMemo(()=>({position:`absolute`,inset:0,width:G.willPushPWMBadge?`calc(100% + ${G.PWM_BADGE_SPACE_WIDTH})`:`100%`,clipPath:G.willPushPWMBadge?`inset(0 ${G.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:`100%`,display:`flex`,textAlign:o,opacity:`1`,color:`transparent`,pointerEvents:`all`,background:`transparent`,caretColor:`transparent`,border:`0 solid transparent`,outline:`0 solid transparent`,boxShadow:`none`,lineHeight:`1`,letterSpacing:`-.5em`,fontSize:`var(--root-height)`,fontFamily:`monospace`,fontVariantNumeric:`tabular-nums`}),[G.PWM_BADGE_SPACE_WIDTH,G.willPushPWMBadge,o]),Z=u.useMemo(()=>u.createElement(`input`,ee(v({autoComplete:S.autoComplete||`one-time-code`},S),{"data-input-otp":!0,"data-input-otp-placeholder-shown":O.length===0||void 0,"data-input-otp-mss":V,"data-input-otp-mse":U,inputMode:l,pattern:M?.source,"aria-placeholder":c,style:X,maxLength:a,value:O,ref:N,onPaste:e=>{var t;J(e),(t=S.onPaste)==null||t.call(S,e)},onChange:K,onMouseOver:e=>{var t;R(!0),(t=S.onMouseOver)==null||t.call(S,e)},onMouseLeave:e=>{var t;R(!1),(t=S.onMouseLeave)==null||t.call(S,e)},onFocus:e=>{var t;q(),(t=S.onFocus)==null||t.call(S,e)},onBlur:e=>{var t;B(!1),(t=S.onBlur)==null||t.call(S,e)}})),[K,q,J,l,X,a,U,V,S,M?.source,O]),Q=u.useMemo(()=>({slots:Array.from({length:a}).map((e,t)=>{let n=z&&V!==null&&U!==null&&(V===U&&t===V||t>=V&&tg?g(Q):u.createElement(D.Provider,{value:Q},_),[_,Q,g]);return u.createElement(u.Fragment,null,h!==null&&u.createElement(`noscript`,null,u.createElement(`style`,null,h)),u.createElement(`div`,{ref:P,"data-input-otp-container":!0,style:Y,className:m},$,u.createElement(`div`,{style:{position:`absolute`,inset:0,pointerEvents:`none`}},Z)))});O.displayName=`Input`;function k(e,t){try{e.insertRule(t)}catch{console.error(`input-otp could not insert CSS rule:`,t)}}var te=` -[data-input-otp] { - --nojs-bg: white !important; - --nojs-fg: black !important; - - background-color: var(--nojs-bg) !important; - color: var(--nojs-fg) !important; - caret-color: var(--nojs-fg) !important; - letter-spacing: .25em !important; - text-align: center !important; - border: 1px solid var(--nojs-fg) !important; - border-radius: 4px !important; - width: 100% !important; -} -@media (prefers-color-scheme: dark) { - [data-input-otp] { - --nojs-bg: black !important; - --nojs-fg: white !important; - } -}`,A=`^\\d+$`,j=i(),M=u.forwardRef((e,t)=>{let n=(0,l.c)(13),r,i,a;n[0]===e?(r=n[1],i=n[2],a=n[3]):({className:r,containerClassName:i,...a}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a);let s;n[4]===i?s=n[5]:(s=o(`flex items-center gap-2 has-[:disabled]:opacity-50`,i),n[4]=i,n[5]=s);let c;n[6]===r?c=n[7]:(c=o(`disabled:cursor-not-allowed`,r),n[6]=r,n[7]=c);let u;return n[8]!==a||n[9]!==t||n[10]!==s||n[11]!==c?(u=(0,j.jsx)(O,{ref:t,containerClassName:s,className:c,...a}),n[8]=a,n[9]=t,n[10]=s,n[11]=c,n[12]=u):u=n[12],u});M.displayName=`InputOTP`;var N=u.forwardRef((e,t)=>{let n=(0,l.c)(9),r,i;n[0]===e?(r=n[1],i=n[2]):({className:r,...i}=e,n[0]=e,n[1]=r,n[2]=i);let a;n[3]===r?a=n[4]:(a=o(`flex items-center`,r),n[3]=r,n[4]=a);let s;return n[5]!==i||n[6]!==t||n[7]!==a?(s=(0,j.jsx)(`div`,{ref:t,className:a,...i}),n[5]=i,n[6]=t,n[7]=a,n[8]=s):s=n[8],s});N.displayName=`InputOTPGroup`;var P=u.forwardRef((e,t)=>{let n=(0,l.c)(15),r,i,a;n[0]===e?(r=n[1],i=n[2],a=n[3]):({index:i,className:r,...a}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a);let{char:s,hasFakeCaret:c,isActive:d}=u.useContext(D).slots[i],f=d&&`z-10 ring-1 ring-ring`,p;n[4]!==r||n[5]!==f?(p=o(`relative flex h-9 w-9 items-center justify-center border-y border-r border-input text-sm shadow-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md`,f,r),n[4]=r,n[5]=f,n[6]=p):p=n[6];let m;n[7]===c?m=n[8]:(m=c&&(0,j.jsx)(`div`,{className:`pointer-events-none absolute inset-0 flex items-center justify-center`,children:(0,j.jsx)(`div`,{className:`h-4 w-px animate-caret-blink bg-foreground duration-1000`})}),n[7]=c,n[8]=m);let h;return n[9]!==s||n[10]!==a||n[11]!==t||n[12]!==p||n[13]!==m?(h=(0,j.jsxs)(`div`,{ref:t,className:p,...a,children:[s,m]}),n[9]=s,n[10]=a,n[11]=t,n[12]=p,n[13]=m,n[14]=h):h=n[14],h});P.displayName=`InputOTPSlot`;var F=u.forwardRef((e,t)=>{let n=(0,l.c)(6),r;n[0]===e?r=n[1]:({...r}=e,n[0]=e,n[1]=r);let i;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,j.jsx)(c,{}),n[2]=i):i=n[2];let a;return n[3]!==r||n[4]!==t?(a=(0,j.jsx)(`div`,{ref:t,role:`separator`,...r,children:i}),n[3]=r,n[4]=t,n[5]=a):a=n[5],a});F.displayName=`InputOTPSeparator`;var I=e=>({url:I.url(e),method:`post`});I.definition={methods:[`post`],url:`/two-factor-challenge`},I.url=e=>I.definition.url+r(e),I.post=e=>({url:I.url(e),method:`post`});var L=e=>({action:I.url(e),method:`post`});L.post=e=>({action:I.url(e),method:`post`}),I.form=L;var R={store:Object.assign(I,I)},z=e=>({url:z.url(e),method:`get`});z.definition={methods:[`get`,`head`],url:`/two-factor-challenge`},z.url=e=>z.definition.url+r(e),z.get=e=>({url:z.url(e),method:`get`}),z.head=e=>({url:z.url(e),method:`head`});var B=e=>({action:z.url(e),method:`get`});B.get=e=>({action:z.url(e),method:`get`}),B.head=e=>({action:z.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),z.form=B;var V=e=>({url:V.url(e),method:`post`});V.definition={methods:[`post`],url:`/user/two-factor-authentication`},V.url=e=>V.definition.url+r(e),V.post=e=>({url:V.url(e),method:`post`});var H=e=>({action:V.url(e),method:`post`});H.post=e=>({action:V.url(e),method:`post`}),V.form=H;var U=e=>({url:U.url(e),method:`post`});U.definition={methods:[`post`],url:`/user/confirmed-two-factor-authentication`},U.url=e=>U.definition.url+r(e),U.post=e=>({url:U.url(e),method:`post`});var W=e=>({action:U.url(e),method:`post`});W.post=e=>({action:U.url(e),method:`post`}),U.form=W;var G=e=>({url:G.url(e),method:`delete`});G.definition={methods:[`delete`],url:`/user/two-factor-authentication`},G.url=e=>G.definition.url+r(e),G.delete=e=>({url:G.url(e),method:`delete`});var K=e=>({action:G.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`DELETE`,...e?.query??e?.mergeQuery??{}}}),method:`post`});K.delete=e=>({action:G.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`DELETE`,...e?.query??e?.mergeQuery??{}}}),method:`post`}),G.form=K;var q=e=>({url:q.url(e),method:`get`});q.definition={methods:[`get`,`head`],url:`/user/two-factor-qr-code`},q.url=e=>q.definition.url+r(e),q.get=e=>({url:q.url(e),method:`get`}),q.head=e=>({url:q.url(e),method:`head`});var J=e=>({action:q.url(e),method:`get`});J.get=e=>({action:q.url(e),method:`get`}),J.head=e=>({action:q.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),q.form=J;var Y=e=>({url:Y.url(e),method:`get`});Y.definition={methods:[`get`,`head`],url:`/user/two-factor-secret-key`},Y.url=e=>Y.definition.url+r(e),Y.get=e=>({url:Y.url(e),method:`get`}),Y.head=e=>({url:Y.url(e),method:`head`});var X=e=>({action:Y.url(e),method:`get`});X.get=e=>({action:Y.url(e),method:`get`}),X.head=e=>({action:Y.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),Y.form=X;var Z=e=>({url:Z.url(e),method:`get`});Z.definition={methods:[`get`,`head`],url:`/user/two-factor-recovery-codes`},Z.url=e=>Z.definition.url+r(e),Z.get=e=>({url:Z.url(e),method:`get`}),Z.head=e=>({url:Z.url(e),method:`head`});var Q=e=>({action:Z.url(e),method:`get`});Q.get=e=>({action:Z.url(e),method:`get`}),Q.head=e=>({action:Z.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),Z.form=Q;var $=e=>({url:$.url(e),method:`post`});$.definition={methods:[`post`],url:`/user/two-factor-recovery-codes`},$.url=e=>$.definition.url+r(e),$.post=e=>({url:$.url(e),method:`post`});var ne=e=>({action:$.url(e),method:`post`});ne.post=e=>({action:$.url(e),method:`post`}),$.form=ne,Object.assign(z,R),Object.assign(V,V),Object.assign(U,U),Object.assign(G,G),Object.assign(q,q),Object.assign(Y,Y),Object.assign(Z,Z),Object.assign($,$);var re=()=>{let t=(0,l.c)(24),{submit:n}=e(),[r,i]=(0,u.useState)(null),[a,o]=(0,u.useState)(null),s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s=[],t[0]=s):s=t[0];let[c,d]=(0,u.useState)(s),f;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(f=[],t[1]=f):f=t[1];let[p,m]=(0,u.useState)(f),h=r!==null&&a!==null,g;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(g=()=>{m([])},t[2]=g):g=t[2];let _=g,v;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(v=()=>{o(null),i(null),m([])},t[3]=v):v=t[3];let ee=v,y;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(y=()=>{o(null),i(null),m([]),d([])},t[4]=y):y=t[4];let b=y,x;t[5]===n?x=t[6]:(x=async()=>{try{let{svg:e}=await n(q());i(e)}catch{m(ie),i(null)}},t[5]=n,t[6]=x);let S=x,C;t[7]===n?C=t[8]:(C=async()=>{try{let{secretKey:e}=await n(Y());o(e)}catch{m(ae),o(null)}},t[7]=n,t[8]=C);let w=C,T;t[9]===n?T=t[10]:(T=async()=>{try{m([]),d(await n(Z()))}catch{m(oe),d([])}},t[9]=n,t[10]=T);let E=T,D;t[11]!==S||t[12]!==w?(D=async()=>{try{m([]),await Promise.all([S(),w()])}catch{i(null),o(null)}},t[11]=S,t[12]=w,t[13]=D):D=t[13];let O=D,k;return t[14]!==p||t[15]!==S||t[16]!==E||t[17]!==O||t[18]!==w||t[19]!==h||t[20]!==a||t[21]!==r||t[22]!==c?(k={qrCodeSvg:r,manualSetupKey:a,recoveryCodesList:c,hasSetupData:h,errors:p,clearErrors:_,clearSetupData:ee,clearTwoFactorAuthData:b,fetchQrCode:S,fetchSetupKey:w,fetchSetupData:O,fetchRecoveryCodes:E},t[14]=p,t[15]=S,t[16]=E,t[17]=O,t[18]=w,t[19]=h,t[20]=a,t[21]=r,t[22]=c,t[23]=k):k=t[23],k};function ie(e){return[...e,`Failed to fetch QR code`]}function ae(e){return[...e,`Failed to fetch a setup key`]}function oe(e){return[...e,`Failed to fetch recovery codes`]}export{$ as a,N as c,V as i,P as l,U as n,I as o,G as r,M as s,re as t,A as u}; \ No newline at end of file diff --git a/public/build/assets/varela-round-hebrew-400-normal-CdSaNJFF.woff2 b/public/build/assets/varela-round-hebrew-400-normal-CdSaNJFF.woff2 deleted file mode 100644 index 11ca535..0000000 Binary files a/public/build/assets/varela-round-hebrew-400-normal-CdSaNJFF.woff2 and /dev/null differ diff --git a/public/build/assets/varela-round-hebrew-400-normal-gahDRKkd.woff b/public/build/assets/varela-round-hebrew-400-normal-gahDRKkd.woff deleted file mode 100644 index 91bf967..0000000 Binary files a/public/build/assets/varela-round-hebrew-400-normal-gahDRKkd.woff and /dev/null differ diff --git a/public/build/assets/varela-round-latin-400-normal-BCUlaylK.woff b/public/build/assets/varela-round-latin-400-normal-BCUlaylK.woff deleted file mode 100644 index 2dadaa8..0000000 Binary files a/public/build/assets/varela-round-latin-400-normal-BCUlaylK.woff and /dev/null differ diff --git a/public/build/assets/varela-round-latin-400-normal-CsVGkSoP.woff2 b/public/build/assets/varela-round-latin-400-normal-CsVGkSoP.woff2 deleted file mode 100644 index 970e07b..0000000 Binary files a/public/build/assets/varela-round-latin-400-normal-CsVGkSoP.woff2 and /dev/null differ diff --git a/public/build/assets/varela-round-latin-ext-400-normal-DL997rWn.woff2 b/public/build/assets/varela-round-latin-ext-400-normal-DL997rWn.woff2 deleted file mode 100644 index 4fa588b..0000000 Binary files a/public/build/assets/varela-round-latin-ext-400-normal-DL997rWn.woff2 and /dev/null differ diff --git a/public/build/assets/varela-round-latin-ext-400-normal-IO5VYG9n.woff b/public/build/assets/varela-round-latin-ext-400-normal-IO5VYG9n.woff deleted file mode 100644 index f7ce985..0000000 Binary files a/public/build/assets/varela-round-latin-ext-400-normal-IO5VYG9n.woff and /dev/null differ diff --git a/public/build/assets/varela-round-vietnamese-400-normal-CA2kl5Qj.woff b/public/build/assets/varela-round-vietnamese-400-normal-CA2kl5Qj.woff deleted file mode 100644 index 1c8fea4..0000000 Binary files a/public/build/assets/varela-round-vietnamese-400-normal-CA2kl5Qj.woff and /dev/null differ diff --git a/public/build/assets/varela-round-vietnamese-400-normal-DWiTdRj2.woff2 b/public/build/assets/varela-round-vietnamese-400-normal-DWiTdRj2.woff2 deleted file mode 100644 index 3118772..0000000 Binary files a/public/build/assets/varela-round-vietnamese-400-normal-DWiTdRj2.woff2 and /dev/null differ diff --git a/public/build/assets/verification-C-OePIcE.js b/public/build/assets/verification-C-OePIcE.js deleted file mode 100644 index cf12328..0000000 --- a/public/build/assets/verification-C-OePIcE.js +++ /dev/null @@ -1 +0,0 @@ -import{n as e,t}from"./wayfinder-DGNmxDkm.js";var n=e=>({url:n.url(e),method:`get`});n.definition={methods:[`get`,`head`],url:`/email/verify`},n.url=t=>n.definition.url+e(t),n.get=e=>({url:n.url(e),method:`get`}),n.head=e=>({url:n.url(e),method:`head`});var r=e=>({action:n.url(e),method:`get`});r.get=e=>({action:n.url(e),method:`get`}),r.head=e=>({action:n.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),n.form=r;var i=(e,t)=>({url:i.url(e,t),method:`get`});i.definition={methods:[`get`,`head`],url:`/email/verify/{id}/{hash}`},i.url=(n,r)=>{Array.isArray(n)&&(n={id:n[0],hash:n[1]}),n=t(n);let a={id:n.id,hash:n.hash};return i.definition.url.replace(`{id}`,a.id.toString()).replace(`{hash}`,a.hash.toString()).replace(/\/+$/,``)+e(r)},i.get=(e,t)=>({url:i.url(e,t),method:`get`}),i.head=(e,t)=>({url:i.url(e,t),method:`head`});var a=(e,t)=>({action:i.url(e,t),method:`get`});a.get=(e,t)=>({action:i.url(e,t),method:`get`}),a.head=(e,t)=>({action:i.url(e,{[t?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...t?.query??t?.mergeQuery??{}}}),method:`get`}),i.form=a;var o=e=>({url:o.url(e),method:`post`});o.definition={methods:[`post`],url:`/email/verification-notification`},o.url=t=>o.definition.url+e(t),o.post=e=>({url:o.url(e),method:`post`});var s=e=>({action:o.url(e),method:`post`});s.post=e=>({action:o.url(e),method:`post`}),o.form=s,Object.assign(n,n),Object.assign(i,i),Object.assign(o,o);export{o as t}; \ No newline at end of file diff --git a/public/build/assets/verify-email-aCevutg7.js b/public/build/assets/verify-email-aCevutg7.js deleted file mode 100644 index c50edad..0000000 --- a/public/build/assets/verify-email-aCevutg7.js +++ /dev/null @@ -1 +0,0 @@ -import{a as e,i as t,o as n,r}from"./wayfinder-DGNmxDkm.js";import{t as i}from"./button-Dnfc0p4v.js";import{c as a}from"./app-D7ZTkNic.js";import{t as o}from"./spinner-DkjOSfno.js";import{t as s}from"./text-link-DeHc-DyP.js";import{t as c}from"./verification-C-OePIcE.js";var l=t(),u=r();function d(t){let r=(0,l.c)(6),{status:i}=t,a;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,u.jsx)(n,{title:`Email verification`}),r[0]=a):a=r[0];let o;r[1]===i?o=r[2]:(o=i===`verification-link-sent`&&(0,u.jsx)(`div`,{className:`mb-4 text-center text-sm font-medium text-green-600`,children:`A new verification link has been sent to the email address you provided during registration.`}),r[1]=i,r[2]=o);let s;r[3]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,u.jsx)(e,{...c.form(),className:`space-y-6 text-center`,children:f}),r[3]=s):s=r[3];let d;return r[4]===o?d=r[5]:(d=(0,u.jsxs)(u.Fragment,{children:[a,o,s]}),r[4]=o,r[5]=d),d}function f(e){let{processing:t}=e;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(i,{disabled:t,variant:`secondary`,children:[t&&(0,u.jsx)(o,{}),`Resend verification email`]}),(0,u.jsx)(s,{href:a(),className:`mx-auto block text-sm`,children:`Log out`})]})}d.layout={title:`Verify email`,description:`Please verify your email address by clicking on the link we just emailed to you.`};export{d as default}; \ No newline at end of file diff --git a/public/build/assets/wayfinder-DGNmxDkm.js b/public/build/assets/wayfinder-DGNmxDkm.js deleted file mode 100644 index d1a55b3..0000000 --- a/public/build/assets/wayfinder-DGNmxDkm.js +++ /dev/null @@ -1,97 +0,0 @@ -var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;li[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);function f(e){return typeof e==`symbol`||e instanceof Symbol}var p=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})()||Function(`return this`)();function m(e,t,{signal:n,edges:r}={}){let i,a=null,o=r!=null&&r.includes(`leading`),s=r==null||r.includes(`trailing`),c=()=>{a!==null&&(e.apply(i,a),i=void 0,a=null)},l=()=>{s&&c(),p()},u=null,d=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,l()},t)},f=()=>{u!==null&&(clearTimeout(u),u=null)},p=()=>{f(),i=void 0,a=null},m=()=>{c()},h=function(...e){if(n?.aborted)return;i=this,a=e;let t=u==null;d(),o&&t&&c()};return h.schedule=d,h.cancel=p,h.flush=m,n?.addEventListener(`abort`,p,{once:!0}),h}function h(){}function g(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function _(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function v(e){if(g(e))return e;if(Array.isArray(e)||_(e)||e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);let t=Object.getPrototypeOf(e);if(t==null)return Object.assign(Object.create(t),e);let n=t.constructor;if(e instanceof Date||e instanceof Map||e instanceof Set)return new n(e);if(e instanceof RegExp){let t=new n(e);return t.lastIndex=e.lastIndex,t}if(e instanceof DataView)return new n(e.buffer.slice(0));if(e instanceof Error){let t;return t=e instanceof AggregateError?new n(e.errors,e.message,{cause:e.cause}):new n(e.message,{cause:e.cause}),t.stack=e.stack,Object.assign(t,e),t}return typeof File<`u`&&e instanceof File?new n([e],e.name,{type:e.type,lastModified:e.lastModified}):typeof e==`object`?Object.assign(Object.create(t),e):e}function y(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function b(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var x=`[object RegExp]`,S=`[object String]`,C=`[object Number]`,w=`[object Boolean]`,T=`[object Arguments]`,E=`[object Symbol]`,ee=`[object Date]`,te=`[object Map]`,ne=`[object Set]`,re=`[object Array]`,ie=`[object Function]`,D=`[object ArrayBuffer]`,O=`[object Object]`,k=`[object Error]`,ae=`[object DataView]`,oe=`[object Uint8Array]`,se=`[object Uint8ClampedArray]`,ce=`[object Uint16Array]`,A=`[object Uint32Array]`,j=`[object BigUint64Array]`,M=`[object Int8Array]`,le=`[object Int16Array]`,ue=`[object Int32Array]`,de=`[object BigInt64Array]`,fe=`[object Float32Array]`,pe=`[object Float64Array]`;function N(e){return p.Buffer!==void 0&&p.Buffer.isBuffer(e)}function me(e,t){return he(e,void 0,e,new Map,t)}function he(e,t,n,r=new Map,i=void 0){let a=i?.(e,t,n,r);if(a!==void 0)return a;if(g(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;aCe(s,i,void 0,e,t,n,r));if(c===-1)return!1;a.splice(c,1)}return!0}case re:case oe:case se:case ce:case A:case j:case M:case le:case ue:case de:case fe:case pe:if(N(e)!==N(t)||e.length!==t.length)return!1;for(let i=0;i=0}var De={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`};function Oe(e){return e.replace(/[&<>"']/g,e=>De[e])}function ke(e){return e!=null&&typeof e!=`function`&&Ee(e.length)}function Ae(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e.includes(`.`)||e.includes(`[`)||e.includes(`]`)}}function je(e){return typeof e==`string`||typeof e==`symbol`?e:Object.is(e?.valueOf?.(),-0)?`-0`:String(e)}function Me(e){if(e==null)return``;if(typeof e==`string`)return e;if(Array.isArray(e))return e.map(Me).join(`,`);let t=String(e);return t===`0`&&Object.is(Number(e),-0)?`-0`:t}function Ne(e){if(Array.isArray(e))return e.map(je);if(typeof e==`symbol`)return[e];e=Me(e);let t=[],n=e.length;if(n===0)return t;let r=0,i=``,a=``,o=!1;for(e.charCodeAt(0)===46&&(t.push(``),r++);r{let o=t?.(n,r,i,a);if(o!==void 0)return o;if(typeof e==`object`){if(b(e)===`[object Object]`&&typeof e.constructor!=`function`){let t={};return a.set(e,t),ge(t,e,i,a),t}switch(Object.prototype.toString.call(e)){case C:case S:case w:{let t=new e.constructor(e?.valueOf());return ge(t,e),t}case T:{let t={};return ge(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}})}function Le(e){return Ie(e)}var Re=/^(?:0|[1-9]\d*)$/;function ze(e,t=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e{let r=e[t];(!(Object.hasOwn(e,t)&&xe(r,n))||n===void 0&&!(t in e))&&(e[t]=n)};function Je(e,t,n,r){if(e==null&&!Fe(e))return e;let i;i=Ke(t,e)?[t]:Array.isArray(t)?t:Ne(t);let a=n(F(e,i)),o=e;for(let t=0;tn,()=>void 0)}function Xe(e,t=0,n={}){typeof n!=`object`&&(n={});let{leading:r=!1,trailing:i=!0,maxWait:a}=n,o=[,,];r&&(o[0]=`leading`),i&&(o[1]=`trailing`);let s,c=null,l=m(function(...t){s=e.apply(this,t),c=null},t,{edges:o}),u=function(...t){return a!=null&&(c===null&&(c=Date.now()),Date.now()-c>=a)?(s=e.apply(this,t),c=Date.now(),l.cancel(),l.schedule(),s):(l.apply(this,t),s)};return u.cancel=l.cancel,u.flush=()=>(l.flush(),s),u}function Ze(e){return _(e)}function Qe(e,...t){let n=t.slice(0,-1),r=t[t.length-1],i=e;for(let e=0;etypeof File<`u`&&e instanceof File||e instanceof Blob||typeof FileList<`u`&&e instanceof FileList&&e.length>0,rt=e=>e instanceof FormData?!0:nt(e)||typeof e==`object`&&!!e&&Object.values(e).some(e=>rt(e)),it=class extends Error{response;constructor(e){super(`HTTP error ${e.status}`),this.name=`HttpResponseError`,this.response=e}},at=class extends Error{constructor(e=`Request was cancelled`){super(e),this.name=`HttpCancelledError`}},ot=class extends Error{constructor(e=`Network error`){super(e),this.name=`HttpNetworkError`}};function st(e){let t=new URLSearchParams;return Object.entries(e).forEach(([e,n])=>{n!=null&&(Array.isArray(n)?n.forEach(n=>t.append(`${e}[]`,String(n))):typeof n==`object`?t.append(e,JSON.stringify(n)):t.append(e,String(n)))}),t.toString()}function ct(e,t,n){if(t&&!e.startsWith(`http://`)&&!e.startsWith(`https://`)&&(e=t.replace(/\/$/,``)+`/`+e.replace(/^\//,``)),n&&Object.keys(n).length>0){let t=st(n);t&&(e+=(e.includes(`?`)?`&`:`?`)+t)}return e}function lt(){return typeof window>`u`?null:window.axios?.defaults?.headers?.common?.[`X-Requested-With`]??null}function ut(e,t=new FormData,n=null){for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&dt(t,n?`${n}[${r}]`:r,e[r]);return t}function dt(e,t,n){if(Array.isArray(n))return n.forEach((n,r)=>dt(e,`${t}[${r}]`,n));if(n instanceof Date)return e.append(t,n.toISOString());if(typeof File<`u`&&n instanceof File)return e.append(t,n,n.name);if(n instanceof Blob)return e.append(t,n);if(typeof n==`boolean`)return e.append(t,n?`1`:`0`);if(typeof n==`string`)return e.append(t,n);if(typeof n==`number`)return e.append(t,`${n}`);if(n==null)return e.append(t,``);ut(n,e,t)}function ft(e,t){if(e!=null)return e instanceof FormData?e:typeof e==`object`&&rt(e)?ut(e):typeof e==`object`||t[`Content-Type`]?.includes(`application/json`)?JSON.stringify(e):String(e)}function pt(e){let t={};return e.forEach((e,n)=>{t[n.toLowerCase()]=e}),t}function mt(e={}){let t=e.xsrfCookieName??`XSRF-TOKEN`,n=e.xsrfHeaderName??`X-XSRF-TOKEN`;function r(){if(typeof document>`u`)return null;let e=document.cookie.match(RegExp(`(^|;\\s*)`+t+`=([^;]*)`));return e?decodeURIComponent(e[2]):null}return{setXsrfCookieName(e){t=e},setXsrfHeaderName(e){n=e},async request(e){let t=ct(e.url,e.baseURL,e.params),i=e.method.toUpperCase(),a={},o=lt();o&&(a[`X-Requested-With`]=o),e.data!==void 0&&![`GET`,`DELETE`].includes(i)&&!(e.data instanceof FormData)&&!rt(e.data)&&(a[`Content-Type`]=`application/json`),e.headers&&Object.entries(e.headers).forEach(([e,t])=>{t!==void 0&&(a[e]=String(t))});let s=r();s&&![`GET`,`HEAD`,`OPTIONS`].includes(i)&&(a[n]=s);let c=e.signal,l,u=e.timeout??3e4;if(u>0&&!c){let e=new AbortController;c=e.signal,l=setTimeout(()=>e.abort(),u)}let d=[`GET`,`DELETE`].includes(i)?void 0:ft(e.data,a);d instanceof FormData&&delete a[`Content-Type`];try{let n=await fetch(t,{method:i,headers:a,body:d,signal:c,credentials:e.credentials??`same-origin`});l&&clearTimeout(l);let r;r=n.headers.get(`content-type`)?.includes(`application/json`)?await n.json():await n.text();let o={status:n.status,data:r,headers:pt(n.headers)};if(!n.ok)throw new it(o);return o}catch(e){throw l&&clearTimeout(l),e instanceof it?e:e instanceof DOMException&&e.name===`AbortError`?new at:e instanceof TypeError?new ot(e.message):e}}}}var ht=mt(),gt=ht,_t=void 0,vt=void 0,yt=`same-origin`,bt=e=>`${e.method}:${e.baseURL??_t??``}${e.url}`,xt=e=>e.status===204&&e.headers[`precognition-success`]===`true`,St={},Ct={get:(e,t={},n={})=>Tt(wt(`get`,e,t,n)),post:(e,t={},n={})=>Tt(wt(`post`,e,t,n)),patch:(e,t={},n={})=>Tt(wt(`patch`,e,t,n)),put:(e,t={},n={})=>Tt(wt(`put`,e,t,n)),delete:(e,t={},n={})=>Tt(wt(`delete`,e,t,n)),useHttpClient(e){return gt=e,Ct},withBaseURL(e){return _t=e,Ct},withTimeout(e){return vt=e,Ct},withCredentials(e){return yt=typeof e==`string`?e:e?`include`:`omit`,Ct},fingerprintRequestsUsing(e){return bt=e===null?()=>null:e,Ct},determineSuccessUsing(e){return xt=e,Ct},withXsrfCookieName(e){return ht.setXsrfCookieName(e),Ct},withXsrfHeaderName(e){return ht.setXsrfHeaderName(e),Ct}},wt=(e,t,n,r)=>({url:t,method:e,...r,...[`get`,`delete`].includes(e)?{params:et({},n,r?.params)}:{data:et({},n,r?.data)}}),Tt=(e={})=>{let t=[Et,Ot,kt].reduce((e,t)=>t(e),e);return(t.onBefore??(()=>!0))()===!1?Promise.resolve(null):((t.onStart??(()=>null))(),gt.request({method:t.method,url:t.url,baseURL:t.baseURL??_t,data:t.data,params:t.params,headers:t.headers,signal:t.signal,timeout:t.timeout,credentials:yt}).then(async e=>{t.precognitive&&At(e);let n=e.status,r=e;return t.precognitive&&t.onPrecognitionSuccess&&xt(e)&&(r=await Promise.resolve(t.onPrecognitionSuccess(e)??r)),t.onSuccess&&Dt(n)&&(r=await Promise.resolve(t.onSuccess(r)??r)),(Mt(t,n)??(e=>e))(r)??r},e=>{if(jt(e))return Promise.reject(e);let n=e;return t.precognitive&&At(n.response),(Mt(t,n.response.status)??((e,t)=>Promise.reject(t)))(n.response,n)}).finally(t.onFinish??(()=>null)))},Et=e=>{let t=e.only??e.validate;return{...e,timeout:e.timeout??vt,precognitive:e.precognitive!==!1,fingerprint:e.fingerprint===void 0?bt(e,gt):e.fingerprint,headers:{...e.headers,Accept:`application/json`,"Content-Type":Nt(e),...e.precognitive===!1?{}:{Precognition:!0},...t?{"Precognition-Validate-Only":Array.from(t).join()}:{}}}},Dt=e=>e>=200&&e<300,Ot=e=>typeof e.fingerprint==`string`?(St[e.fingerprint]?.abort(),delete St[e.fingerprint],e):e,kt=e=>typeof e.fingerprint!=`string`||e.signal||!e.precognitive?e:(St[e.fingerprint]=new AbortController,{...e,signal:St[e.fingerprint].signal}),At=e=>{if(e.headers?.precognition!==`true`)throw Error(`Did not receive a Precognition response. Ensure you have the Precognition middleware in place for the route.`)},jt=e=>!(e instanceof it)||typeof e.response?.status!=`number`,Mt=(e,t)=>({401:e.onUnauthorized,403:e.onForbidden,404:e.onNotFound,409:e.onConflict,422:e.onValidationError,423:e.onLocked})[t],Nt=e=>e.headers?.[`Content-Type`]??e.headers?.[`Content-type`]??e.headers?.[`content-type`]??(rt(e.data)?`multipart/form-data`:`application/json`),Pt=(e,t)=>{if(!e.includes(`*`))return[e];let n=e.split(`.`),r=[``];for(let e of n)if(e===`*`){let e=[];for(let n of r){let r=n?F(t,n):t;if(Array.isArray(r))for(let t=0;tt?`${t}.${e}`:e);return r},Ft=(e,t)=>t.includes(`*`)?RegExp(`^`+t.replace(/\./g,`\\.`).replace(/\*/g,`[^.]+`)+`$`).test(e):e===t,It=(e,t)=>Object.fromEntries(Object.entries(e).filter(([e])=>!t.some(t=>Ft(e,t)))),Lt=(e,t={})=>{let n={errorsChanged:[],touchedChanged:[],validatingChanged:[],validatedChanged:[]},r=!1,i=!1,a=e=>e===i?[]:(i=e,n.validatingChanged),o=[],s=e=>{let t=[...new Set(e)];return o.length!==t.length||!t.every(e=>o.includes(e))?(o=t,n.validatedChanged):[]},c=()=>o.filter(e=>d[e]===void 0),l=[],u=e=>{let t=[...new Set(e)];return l.length!==t.length||!t.every(e=>l.includes(e))?(l=t,n.touchedChanged):[]},d={},f=e=>{let t=zt(e);return Te(d,t)?[]:(d=t,n.errorsChanged)},p=e=>{let t={...d};return delete t[Bt(e)],f(t)},m=()=>Object.keys(d).length>0,h=1500,g=e=>{h=e,S.cancel(),S=x()},_=t,v=null,y=[],b=null,x=()=>Xe(t=>{e({get:(e,n={},r={})=>Ct.get(e,T(n),C(r,t,n)),post:(e,n={},r={})=>Ct.post(e,T(n),C(r,t,n)),patch:(e,n={},r={})=>Ct.patch(e,T(n),C(r,t,n)),put:(e,n={},r={})=>Ct.put(e,T(n),C(r,t,n)),delete:(e,n={},r={})=>Ct.delete(e,T(n),C(r,t,n))}).catch(e=>e instanceof at||e instanceof it&&e.response?.status===422?null:Promise.reject(e))},h,{leading:!0,trailing:!0}),S=x(),C=(e,t,n={})=>{let r={...e,...t},i=Array.from(r.only??r.validate??l);return{...t,...et({},e,t),only:i,timeout:r.timeout??5e3,onValidationError:(e,t)=>([...s([...o,...i]),...f(et(It({...d},i),e.data.errors))].forEach(e=>e()),r.onValidationError?r.onValidationError(e,t):Promise.reject(t)),onSuccess:e=>(s([...o,...i]).forEach(e=>e()),r.onSuccess?r.onSuccess(e):e),onPrecognitionSuccess:e=>([...s([...o,...i]),...f(It({...d},i))].forEach(e=>e()),r.onPrecognitionSuccess?r.onPrecognitionSuccess(e):e),onBefore:()=>{let e=l.some(e=>e.includes(`*`)),t=e?[...new Set(l.flatMap(e=>Pt(e,n)))]:l;return r.onBeforeValidation&&r.onBeforeValidation({data:n,touched:t},{data:_,touched:y})===!1||(r.onBefore||(()=>!0))()===!1?!1:(e&&u(t).forEach(e=>e()),b=l,v=n,!0)},onStart:()=>{a(!0).forEach(e=>e()),(r.onStart??(()=>null))()},onFinish:()=>{a(!1).forEach(e=>e()),y=b,_=v,b=v=null,(r.onFinish??(()=>null))()}}},w=(e,t,n)=>{if(e===void 0){let e=Array.from(n?.only??n?.validate??[]);u([...l,...e]).forEach(e=>e()),S(n??{});return}if(nt(t)&&!r){console.warn(`Precognition file validation is not active. Call the "validateFiles" function on your form to enable it.`);return}e=Bt(e),(e.includes(`*`)||F(_,e)!==t)&&(u([e,...l]).forEach(e=>e()),S(n??{}))},T=e=>r===!1?Vt(e):e,E={touched:()=>l,validate(e,t,n){return typeof e==`object`&&!(`target`in e)&&(n=e,e=t=void 0),w(e,t,n),E},touch(e){let t=Array.isArray(e)?e:[Bt(e)];return u([...l,...t]).forEach(e=>e()),E},validating:()=>i,valid:c,errors:()=>d,hasErrors:m,setErrors(e){return f(e).forEach(e=>e()),E},forgetError(e){return p(e).forEach(e=>e()),E},defaults(e){return t=e,_=e,E},reset(...e){if(e.length===0)u([]).forEach(e=>e());else{let n=[...l];e.forEach(e=>{n.includes(e)&&n.splice(n.indexOf(e),1),Ye(_,e,F(t,e))}),u(n).forEach(e=>e())}return E},setTimeout(e){return g(e),E},on(e,t){return n[e].push(t),E},validateFiles(){return r=!0,E},withoutFileValidation(){return r=!1,E}};return E},Rt=e=>Object.keys(e).reduce((t,n)=>({...t,[n]:Array.isArray(e[n])?e[n][0]:e[n]}),{}),zt=e=>Object.keys(e).reduce((t,n)=>({...t,[n]:typeof e[n]==`string`?[e[n]]:e[n]}),{}),Bt=e=>typeof e==`string`?e:e.target.name,Vt=e=>{let t={...e};return Object.keys(t).forEach(e=>{let n=t[e];if(n!==null){if(nt(n)){delete t[e];return}if(Array.isArray(n)){t[e]=Object.values(Vt({...n}));return}if(typeof n==`object`){t[e]=Vt(t[e]);return}}}),t},Ht=`modulepreload`,Ut=function(e){return`/build/`+e},Wt={},Gt=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=Ut(t,n),t in Wt)return;Wt[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:Ht,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Kt=new class{config={};defaults;constructor(e){this.defaults=e}extend(e){return e&&(this.defaults={...this.defaults,...e}),this}replace(e){this.config=e}get(e){return Ve(this.config,e)?F(this.config,e):F(this.defaults,e)}set(e,t){typeof e==`string`?Ye(this.config,e,t):Object.entries(e).forEach(([e,t])=>{Ye(this.config,e,t)})}}({form:{recentlySuccessfulDuration:2e3,forceIndicesArrayFormatInFormData:!0,withAllErrors:!1},prefetch:{cacheFor:3e4,hoverDelay:75}});function qt(e,t){let n;return function(...r){clearTimeout(n),n=setTimeout(()=>e.apply(this,r),t)}}function Jt(e,t){return document.dispatchEvent(new CustomEvent(`inertia:${e}`,t))}var Yt=e=>Jt(`before`,{cancelable:!0,detail:{visit:e}}),Xt=e=>Jt(`error`,{detail:{errors:e}}),Zt=e=>Jt(`networkError`,{cancelable:!0,detail:{error:e}}),Qt=e=>Jt(`finish`,{detail:{visit:e}}),$t=e=>Jt(`httpException`,{cancelable:!0,detail:{response:e}}),en=e=>Jt(`beforeUpdate`,{detail:{page:e}}),tn=e=>Jt(`navigate`,{detail:{page:e}}),nn=e=>Jt(`progress`,{detail:{progress:e}}),rn=e=>Jt(`start`,{detail:{visit:e}}),an=e=>Jt(`success`,{detail:{page:e}}),on=(e,t)=>Jt(`prefetched`,{detail:{fetchedAt:Date.now(),response:e,visit:t}}),sn=e=>Jt(`prefetching`,{detail:{visit:e}}),cn=e=>Jt(`flash`,{detail:{flash:e}}),ln=class{static locationVisitKey=`inertiaLocationVisit`;static set(e,t){typeof window<`u`&&window.sessionStorage.setItem(e,JSON.stringify(t))}static get(e){if(typeof window<`u`)return JSON.parse(window.sessionStorage.getItem(e)||`null`)}static merge(e,t){let n=this.get(e);n===null?this.set(e,t):this.set(e,{...n,...t})}static remove(e){typeof window<`u`&&window.sessionStorage.removeItem(e)}static removeNested(e,t){let n=this.get(e);n!==null&&(delete n[t],this.set(e,n))}static exists(e){try{return this.get(e)!==null}catch{return!1}}static clear(){typeof window<`u`&&window.sessionStorage.clear()}},un=async e=>{if(typeof window>`u`)throw Error(`Unable to encrypt history`);let t=hn(),n=await vn(await yn());if(!n)throw Error(`Unable to encrypt history`);return await pn(t,n,e)},dn={key:`historyKey`,iv:`historyIv`},fn=async e=>{let t=hn(),n=await yn();if(!n)throw Error(`Unable to decrypt history`);return await mn(t,n,e)},pn=async(e,t,n)=>{if(typeof window>`u`)throw Error(`Unable to encrypt history`);if(window.crypto.subtle===void 0)return console.warn(`Encryption is not supported in this environment. SSL is required.`),Promise.resolve(n);let r=new TextEncoder,i=JSON.stringify(n),a=new Uint8Array(i.length*3),o=r.encodeInto(i,a);return window.crypto.subtle.encrypt({name:`AES-GCM`,iv:e},t,a.subarray(0,o.written))},mn=async(e,t,n)=>{if(window.crypto.subtle===void 0)return console.warn(`Decryption is not supported in this environment. SSL is required.`),Promise.resolve(n);let r=await window.crypto.subtle.decrypt({name:`AES-GCM`,iv:e},t,n);return JSON.parse(new TextDecoder().decode(r))},hn=()=>{let e=ln.get(dn.iv);if(e)return new Uint8Array(e);let t=window.crypto.getRandomValues(new Uint8Array(12));return ln.set(dn.iv,Array.from(t)),t},gn=async()=>window.crypto.subtle===void 0?(console.warn(`Encryption is not supported in this environment. SSL is required.`),Promise.resolve(null)):window.crypto.subtle.generateKey({name:`AES-GCM`,length:256},!0,[`encrypt`,`decrypt`]),_n=async e=>{if(window.crypto.subtle===void 0)return console.warn(`Encryption is not supported in this environment. SSL is required.`),Promise.resolve();let t=await window.crypto.subtle.exportKey(`raw`,e);ln.set(dn.key,Array.from(new Uint8Array(t)))},vn=async e=>{if(e)return e;let t=await gn();return t?(await _n(t),t):null},yn=async()=>{let e=ln.get(dn.key);return e?await window.crypto.subtle.importKey(`raw`,new Uint8Array(e),{name:`AES-GCM`,length:256},!0,[`encrypt`,`decrypt`]):null},bn=e=>{let t={};for(let n of Object.keys(e))e[n]!==void 0&&(t[n]=e[n]);return t},xn=(e,t,n)=>{if(e===t)return!0;for(let r in e)if(!n.includes(r)&&e[r]!==t[r]&&!Sn(e[r],t[r]))return!1;for(let r in t)if(!n.includes(r)&&!(r in e))return!1;return!0},Sn=(e,t)=>{switch(typeof e){case`object`:return xn(e,t,[]);case`function`:return e.toString()===t.toString();default:return e===t}},Cn={ms:1,s:1e3,m:1e3*60,h:1e3*60*60,d:1e3*60*60*24},wn=e=>{if(typeof e==`number`)return e;for(let[t,n]of Object.entries(Cn))if(e.endsWith(t))return parseFloat(e)*n;return parseInt(e)},Tn=new class{cached=[];inFlightRequests=[];removalTimers=[];currentUseId=null;add(e,t,{cacheFor:n,cacheTags:r}){if(this.findInFlight(e))return Promise.resolve();let i=this.findCached(e);if(!e.fresh&&i&&i.staleTimestamp>Date.now())return Promise.resolve();let[a,o]=this.extractStaleValues(n),s=new Promise((n,r)=>{t({...e,onCancel:()=>{this.remove(e),e.onCancel(),r()},onError:t=>{this.remove(e),e.onError(t),r()},onPrefetching(t){e.onPrefetching(t)},onPrefetched(t,n){e.onPrefetched(t,n)},onPrefetchResponse(e){n(e)},onPrefetchError(t){Tn.removeFromInFlight(e),r(t)}})}).then(t=>{this.remove(e);let n=t.getPageResponse();I.mergeOncePropsIntoResponse(n),this.cached.push({params:{...e},staleTimestamp:Date.now()+a,expiresAt:Date.now()+o,response:s,singleUse:o===0,timestamp:Date.now(),inFlight:!1,tags:Array.isArray(r)?r:[r]});let i=this.getShortestOncePropTtl(n);return this.scheduleForRemoval(e,i?Math.min(o,i):o),this.removeFromInFlight(e),t.handlePrefetch(),t});return this.inFlightRequests.push({params:{...e},response:s,staleTimestamp:null,inFlight:!0}),s}removeAll(){this.cached=[],this.removalTimers.forEach(e=>{clearTimeout(e.timer)}),this.removalTimers=[]}removeByTags(e){this.cached=this.cached.filter(t=>!t.tags.some(t=>e.includes(t)))}remove(e){this.cached=this.cached.filter(t=>!this.paramsAreEqual(t.params,e)),this.clearTimer(e)}removeFromInFlight(e){this.inFlightRequests=this.inFlightRequests.filter(t=>!this.paramsAreEqual(t.params,e))}extractStaleValues(e){let[t,n]=this.cacheForToStaleAndExpires(e);return[wn(t),wn(n)]}cacheForToStaleAndExpires(e){if(!Array.isArray(e))return[e,e];switch(e.length){case 0:return[0,0];case 1:return[e[0],e[0]];default:return[e[0],e[1]]}}clearTimer(e){let t=this.removalTimers.find(t=>this.paramsAreEqual(t.params,e));t&&(clearTimeout(t.timer),this.removalTimers=this.removalTimers.filter(e=>e!==t))}scheduleForRemoval(e,t){if(!(typeof window>`u`)&&(this.clearTimer(e),t>0)){let n=window.setTimeout(()=>this.remove(e),t);this.removalTimers.push({params:e,timer:n})}}get(e){return this.findCached(e)||this.findInFlight(e)}use(e,t){let n=`${t.url.pathname}-${Date.now()}-${Math.random().toString(36).substring(7)}`;return this.currentUseId=n,e.response.then(e=>{if(this.currentUseId===n)return e.mergeParams({...t,onPrefetched:()=>{}}),this.removeSingleUseItems(t),e.handle()})}removeSingleUseItems(e){this.cached=this.cached.filter(t=>this.paramsAreEqual(t.params,e)?!t.singleUse:!0)}findCached(e){return this.cached.find(t=>this.paramsAreEqual(t.params,e))||null}findInFlight(e){return this.inFlightRequests.find(t=>this.paramsAreEqual(t.params,e))||null}withoutPurposePrefetchHeader(e){let t=P(e);return t.headers.Purpose===`prefetch`&&delete t.headers.Purpose,t}paramsAreEqual(e,t){return xn(this.withoutPurposePrefetchHeader(e),this.withoutPurposePrefetchHeader(t),[`showProgress`,`replace`,`prefetch`,`preserveScroll`,`preserveState`,`onBefore`,`onBeforeUpdate`,`onStart`,`onProgress`,`onFinish`,`onCancel`,`onSuccess`,`onError`,`onFlash`,`onPrefetched`,`onCancelToken`,`onPrefetching`,`async`,`viewTransition`,`optimistic`,`component`,`pageProps`])}updateCachedOncePropsFromCurrentPage(){this.cached.forEach(e=>{e.response.then(t=>{let n=t.getPageResponse();I.mergeOncePropsIntoResponse(n,{force:!0});for(let[e,t]of Object.entries(n.deferredProps??{})){let r=t.filter(e=>F(n.props,e)===void 0);r.length>0?n.deferredProps[e]=r:delete n.deferredProps[e]}let r=this.getShortestOncePropTtl(n);if(r===null)return;let i=e.expiresAt-Date.now(),a=Math.min(i,r);a>0?this.scheduleForRemoval(e.params,a):this.remove(e.params)})})}getShortestOncePropTtl(e){let t=Object.values(e.onceProps??{}).map(e=>e.expiresAt).filter(e=>!!e);return t.length===0?null:Math.min(...t)-Date.now()}},En=e=>{if(e.offsetParent===null)return!1;let t=e.getBoundingClientRect(),n=t.top=0,r=t.left=0;return n&&r},Dn=e=>{let t=e=>{let t=window.getComputedStyle(e);return t.overflowY===`scroll`?!0:t.overflowY===`auto`?[`visible`,`clip`].includes(t.overflowX)?!0:r(t.maxHeight,e.style.height)||i(e,`height`):!1},n=e=>{let t=window.getComputedStyle(e);return t.overflowX===`scroll`?!0:t.overflowX===`auto`?[`visible`,`clip`].includes(t.overflowY)?!0:r(t.maxWidth,e.style.width)||i(e,`width`):!1},r=(e,t)=>!!(e&&e!==`none`&&e!==`0px`||t&&t!==`auto`&&t!==`0`),i=(e,t)=>{let n=e.parentElement;if(!n)return!1;let r=window.getComputedStyle(n);if([`flex`,`inline-flex`].includes(r.display)){let e=[`column`,`column-reverse`].includes(r.flexDirection);return t===`height`?e:!e}return[`grid`,`inline-grid`].includes(r.display)},a=e?.parentElement;for(;a;){let e=t(a)||n(a);if(window.getComputedStyle(a).display!==`contents`&&e)return a;a=a.parentElement}return null},On=(e,t)=>{if(!t)return e.filter(e=>En(e));let n=e.indexOf(t),r=[],i=[];for(let t=n;t>=0;t--){let n=e[t];if(En(n))r.push(n);else break}for(let t=n+1;t{window.requestAnimationFrame(()=>{t>1?kn(e,t-1):e()})},An=e=>{if(typeof window>`u`)return null;let t=document.querySelector(`script[data-page="${e}"][type="application/json"]`);return t?.textContent?JSON.parse(t.textContent):null},jn=typeof window>`u`,Mn=!jn&&/Firefox/i.test(window.navigator.userAgent),Nn=class{static save(){L.saveScrollPositions(this.getScrollRegions())}static getScrollRegions(){return Array.from(this.regions()).map(e=>({top:e.scrollTop,left:e.scrollLeft}))}static regions(){return document.querySelectorAll(`[scroll-region]`)}static scrollToTop(){if(Mn&&getComputedStyle(document.documentElement).scrollBehavior===`smooth`)return kn(()=>window.scrollTo(0,0),2);window.scrollTo(0,0)}static reset(){!jn&&window.location.hash||this.scrollToTop(),this.regions().forEach(e=>{typeof e.scrollTo==`function`?e.scrollTo(0,0):(e.scrollTop=0,e.scrollLeft=0)}),this.save(),this.scrollToAnchor()}static scrollToAnchor(){let e=jn?null:window.location.hash;e&&setTimeout(()=>{let t=document.getElementById(e.slice(1));t?t.scrollIntoView():this.scrollToTop()})}static restore(e){jn||window.requestAnimationFrame(()=>{this.restoreDocument(),this.restoreScrollRegions(e)})}static restoreScrollRegions(e){jn||this.regions().forEach((t,n)=>{let r=e[n];r&&(typeof t.scrollTo==`function`?t.scrollTo(r.left,r.top):(t.scrollTop=r.top,t.scrollLeft=r.left))})}static restoreDocument(){let e=L.getDocumentScrollPosition();window.scrollTo(e.left,e.top)}static onScroll(e){let t=e.target;typeof t.hasAttribute==`function`&&t.hasAttribute(`scroll-region`)&&this.save()}static onWindowScroll(){L.saveDocumentScrollPosition({top:window.scrollY,left:window.scrollX})}},Pn=e=>typeof File<`u`&&e instanceof File||e instanceof Blob||typeof FileList<`u`&&e instanceof FileList&&e.length>0;function Fn(e){return Pn(e)||e instanceof FormData&&Array.from(e.values()).some(e=>Fn(e))||typeof e==`object`&&!!e&&Object.values(e).some(e=>Fn(e))}var In=e=>e instanceof FormData;function Ln(e,t=new FormData,n=null,r=`brackets`){e||={};for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&zn(t,Rn(n,i,`indices`),e[i],r);return t}function Rn(e,t,n){return e?n===`brackets`?`${e}[]`:`${e}[${t}]`:t}function zn(e,t,n,r){if(Array.isArray(n))return Array.from(n.keys()).forEach(i=>zn(e,Rn(t,i.toString(),r),n[i],r));if(n instanceof Date)return e.append(t,n.toISOString());if(n instanceof File)return e.append(t,n,n.name);if(n instanceof Blob)return e.append(t,n);if(typeof n==`boolean`)return e.append(t,n?`1`:`0`);if(typeof n==`string`)return e.append(t,n);if(typeof n==`number`)return e.append(t,`${n}`);if(n==null)return e.append(t,``);Ln(n,e,t,r)}function Bn(e){return/\[\d+\]/.test(decodeURIComponent(e.search))}function Vn(e){if(!e||e===`?`)return{};let t={};return e.replace(/^\?/,``).split(`&`).filter(Boolean).forEach(e=>{let[n,r]=Un(e);Gn(t,Wn(n),Wn(r))}),t}function Hn(e,t){let n=[];return qn(e,``,n,t),n.length?`?`+n.join(`&`):``}function Un(e){let t=e.indexOf(`=`);return t===-1?[e,``]:[e.substring(0,t),e.substring(t+1)]}function Wn(e){return decodeURIComponent(e.replace(/\+/g,` `))}function Gn(e,t,n){let r=Kn(t);if(r.some(e=>e===`__proto__`))return;let i=e;for(;r.length>1;){let e=r.shift(),t=r[0]===``;(typeof i[e]!=`object`||i[e]===null)&&(i[e]=t?[]:{}),i=i[e]}let a=r.shift();a===``&&Array.isArray(i)?i.push(n):i[a]=n}function Kn(e){let t=[],n=e.split(`[`)[0];n&&t.push(n);let r,i=/\[([^\]]*)\]/g;for(;(r=i.exec(e))!==null;)t.push(r[1]);return t}function qn(e,t,n,r){if(e!==void 0){if(e===null){n.push(`${t}=`);return}if(Array.isArray(e)){e.forEach((e,i)=>{qn(e,r===`indices`?`${t}[${i}]`:`${t}[]`,n,r)});return}if(typeof e==`object`){Object.keys(e).forEach(i=>{qn(e[i],t?`${t}[${i}]`:i,n,r)});return}n.push(`${t}=${encodeURIComponent(String(e))}`)}}function Jn(e){return new URL(e.toString(),typeof window>`u`?void 0:window.location.toString())}var Yn=(e,t,n,r,i)=>{let a=typeof e==`string`?Jn(e):e;if((Fn(t)||r)&&!In(t)&&(Kt.get(`form.forceIndicesArrayFormatInFormData`)&&(i=`indices`),t=Ln(t,new FormData,null,i)),In(t))return[a,t];let[o,s]=Xn(n,a,t,i);return[Jn(o),s]};function Xn(e,t,n,r=`brackets`){let i=e===`get`&&!In(n)&&Object.keys(n).length>0,a=rr(t.toString()),o=a||t.toString().startsWith(`/`)||t.toString()===``,s=!o&&!t.toString().startsWith(`#`)&&!t.toString().startsWith(`?`),c=/^[.]{1,2}([/]|$)/.test(t.toString()),l=t.toString().includes(`?`)||i,u=t.toString().includes(`#`),d=new URL(t.toString(),typeof window>`u`?`http://localhost`:window.location.toString());if(i){let e=Bn(d)?`indices`:r;d.search=Hn({...Vn(d.search),...n},e)}return[[a?`${d.protocol}//${d.host}`:``,o?d.pathname:``,s?d.pathname.substring(+!c):``,l?d.search:``,u?d.hash:``].join(``),i?{}:n]}function Zn(e){return e=new URL(e.href),e.hash=``,e}var Qn=(e,t)=>{e.hash&&!t.hash&&Zn(e).href===t.href&&(t.hash=e.hash)},$n=(e,t)=>Zn(e).href===Zn(t).href,er=(e,t)=>e.origin===t.origin&&e.pathname===t.pathname;function tr(e){return typeof e==`object`&&!!e&&e!==void 0&&`url`in e&&`method`in e}function nr(e){return e.component?typeof e.component==`string`?e.component:(console.error(`The "component" property on the URL method pair received multiple components (${Object.keys(e.component).join(`, `)}), but only a single component string is supported for instant visits. Use the withComponent() method to specify which component to use.`),null):null}function rr(e){return/^([a-z][a-z0-9+.-]*:)?\/\/[^/]/i.test(e)}function ir(e,t){let n=typeof e==`string`?Jn(e):e;return t?`${n.protocol}//${n.host}${n.pathname}${n.search}${n.hash}`:`${n.pathname}${n.search}${n.hash}`}var I=new class{page;swapComponent;resolveComponent;onFlashCallback;componentId={};listeners=[];isFirstPageLoad=!0;cleared=!1;pendingDeferredProps=null;historyQuotaExceeded=!1;optimisticBaseline={};pendingOptimistics=[];optimisticCounter=0;init({initialPage:e,swapComponent:t,resolveComponent:n,onFlash:r}){return this.page={...e,flash:e.flash??{},rescuedProps:e.rescuedProps??[]},this.swapComponent=t,this.resolveComponent=n,this.onFlashCallback=r,ur.on(`historyQuotaExceeded`,()=>{this.historyQuotaExceeded=!0}),this}set(e,{replace:t=!1,preserveScroll:n=!1,preserveState:r=!1,viewTransition:i=!1}={}){Object.keys(e.deferredProps||{}).length&&(this.pendingDeferredProps={deferredProps:e.deferredProps,component:e.component,url:e.url},e.initialDeferredProps===void 0&&(e.initialDeferredProps=e.deferredProps)),this.componentId={};let a=this.componentId;return e.clearHistory&&L.clear(),this.resolve(e.component,e).then(o=>{if(a!==this.componentId)return;e.rememberedState??={};let s=typeof window>`u`,c=s?new URL(e.url):window.location,l=!s&&n?Nn.getScrollRegions():[];t||=$n(Jn(e.url),c);let u={...e,flash:{}};return new Promise(e=>t?L.replaceState(u,e):L.pushState(u,e)).then(()=>{let a=!this.isTheSame(e);if(!a&&Object.keys(e.props.errors||{}).length>0&&(i=!1),this.page=e,this.cleared=!1,this.hasOnceProps()&&Tn.updateCachedOncePropsFromCurrentPage(),a&&this.fireEventsFor(`newComponent`),this.isFirstPageLoad&&this.fireEventsFor(`firstLoad`),this.isFirstPageLoad=!1,this.historyQuotaExceeded){this.historyQuotaExceeded=!1;return}return this.swap({component:o,page:e,preserveState:r,viewTransition:i}).then(()=>{n?window.requestAnimationFrame(()=>Nn.restoreScrollRegions(l)):Nn.reset(),this.pendingDeferredProps&&this.pendingDeferredProps.component===e.component&&this.pendingDeferredProps.url===e.url&&ur.fireInternalEvent(`loadDeferredProps`,this.pendingDeferredProps.deferredProps),this.pendingDeferredProps=null,t||tn(e)})})})}setQuietly(e,{preserveState:t=!1}={}){return this.resolve(e.component,e).then(n=>(this.page=e,this.cleared=!1,L.setCurrent(e),this.swap({component:n,page:e,preserveState:t,viewTransition:!1})))}clear(){this.cleared=!0}isCleared(){return this.cleared}get(){return this.page}getWithoutFlashData(){return{...this.page,flash:{}}}hasOnceProps(){return Object.keys(this.page.onceProps??{}).length>0}merge(e){this.page={...this.page,...e}}setPropsQuietly(e){return this.page={...this.page,props:e},this.resolve(this.page.component,this.page).then(e=>this.swap({component:e,page:this.page,preserveState:!0,viewTransition:!1}))}setFlash(e){this.page={...this.page,flash:e},this.onFlashCallback?.(e)}setUrlHash(e){this.page.url.includes(e)||(this.page.url+=e)}remember(e){this.page.rememberedState=e}swap({component:e,page:t,preserveState:n,viewTransition:r}){let i=()=>this.swapComponent({component:e,page:t,preserveState:n});if(!r||!document?.startViewTransition||document.visibilityState===`hidden`)return i();let a=typeof r==`boolean`?()=>null:r;return new Promise(e=>{a(document.startViewTransition(()=>i().then(e)))})}resolve(e,t){return Promise.resolve(this.resolveComponent(e,t))}nextOptimisticId(){return++this.optimisticCounter}setBaseline(e,t){e in this.optimisticBaseline||(this.optimisticBaseline[e]=t)}updateBaseline(e,t){e in this.optimisticBaseline&&(this.optimisticBaseline[e]=t)}hasBaseline(e){return e in this.optimisticBaseline}registerOptimistic(e,t){this.pendingOptimistics.push({id:e,callback:t})}unregisterOptimistic(e){this.pendingOptimistics=this.pendingOptimistics.filter(t=>t.id!==e)}replayOptimistics(){let e=Object.keys(this.optimisticBaseline);if(e.length===0)return{};let t=P(this.page.props);for(let n of e)t[n]=P(this.optimisticBaseline[n]);for(let{callback:e}of this.pendingOptimistics){let n=e(P(t));n&&Object.assign(t,n)}let n={};for(let r of e)n[r]=t[r];return n}pendingOptimisticCount(){return this.pendingOptimistics.length}clearOptimisticState(){this.optimisticBaseline={},this.pendingOptimistics=[]}isTheSame(e){return this.page.component===e.component}on(e,t){return this.listeners.push({event:e,callback:t}),()=>{this.listeners=this.listeners.filter(n=>n.event!==e&&n.callback!==t)}}fireEventsFor(e){this.listeners.filter(t=>t.event===e).forEach(e=>e.callback())}mergeOncePropsIntoResponse(e,{force:t=!1}={}){Object.entries(e.onceProps??{}).forEach(([n,r])=>{let i=this.page.onceProps?.[n];i!==void 0&&(t||F(e.props,r.prop)===void 0)&&(Ye(e.props,r.prop,F(this.page.props,i.prop)),e.onceProps[n].expiresAt=i.expiresAt)})}},ar=class{items=[];processingPromise=null;add(e){return this.items.push(e),this.process()}process(){return this.processingPromise??=this.processNext().finally(()=>{this.processingPromise=null}),this.processingPromise}processNext(){let e=this.items.shift();return e?Promise.resolve(e()).then(()=>this.processNext()):Promise.resolve()}},or=typeof window>`u`,sr=new ar,cr=!or&&/CriOS/.test(window.navigator.userAgent),lr=class{rememberedState=`rememberedState`;scrollRegions=`scrollRegions`;preserveUrl=!1;current={};initialState=null;remember(e,t){this.replaceState({...I.getWithoutFlashData(),rememberedState:{...I.get()?.rememberedState??{},[t]:e}})}restore(e){if(!or)return this.current[this.rememberedState]?.[e]===void 0?this.initialState?.[this.rememberedState]?.[e]:this.current[this.rememberedState]?.[e]}pushState(e,t=null){if(!or){if(this.preserveUrl){t&&t();return}this.current=e,sr.add(()=>this.getPageData(e).then(n=>{let r=()=>this.doPushState({page:n},e.url).then(()=>t?.());return cr?new Promise(e=>{setTimeout(()=>r().then(e))}):r()}))}}clonePageProps(e){try{return structuredClone(e.props),e}catch{return{...e,props:P(e.props)}}}getPageData(e){let t=this.clonePageProps(e);return new Promise(n=>e.encryptHistory?un(t).then(n):n(t))}processQueue(){return sr.process()}decrypt(e=null){if(or)return Promise.resolve(e??I.get());let t=e??window.history.state?.page;return this.decryptPageData(t).then(e=>{if(!e)throw Error(`Unable to decrypt history`);return this.initialState===null?this.initialState=e??void 0:this.current=e??{},e})}decryptPageData(e){return e instanceof ArrayBuffer?fn(e):Promise.resolve(e)}saveScrollPositions(e){sr.add(()=>Promise.resolve().then(()=>{if(window.history.state?.page&&!Te(this.getScrollRegions(),e))return this.doReplaceState({page:window.history.state.page,scrollRegions:e})}))}saveDocumentScrollPosition(e){sr.add(()=>Promise.resolve().then(()=>{if(window.history.state?.page&&!Te(this.getDocumentScrollPosition(),e))return this.doReplaceState({page:window.history.state.page,documentScrollPosition:e})}))}getScrollRegions(){return window.history.state?.scrollRegions||[]}getDocumentScrollPosition(){return window.history.state?.documentScrollPosition||{top:0,left:0}}replaceState(e,t=null){if(Te(this.current,e)){t&&t();return}let{flash:n,...r}=e;if(I.merge(r),!or){if(this.preserveUrl){t&&t();return}this.current=e,sr.add(()=>this.getPageData(e).then(n=>{let r=()=>this.doReplaceState({page:n},e.url).then(()=>t?.());return cr?new Promise(e=>{setTimeout(()=>r().then(e))}):r()}))}}isHistoryThrottleError(e){return e instanceof Error&&e.name===`SecurityError`&&(e.message.includes(`history.pushState`)||e.message.includes(`history.replaceState`))}isQuotaExceededError(e){return e instanceof Error&&e.name===`QuotaExceededError`}withThrottleProtection(e){return Promise.resolve().then(()=>{try{return e()}catch(e){if(!this.isHistoryThrottleError(e))throw e;console.error(e.message)}})}doReplaceState(e,t){return this.withThrottleProtection(()=>{window.history.replaceState({...e,scrollRegions:e.scrollRegions??window.history.state?.scrollRegions,documentScrollPosition:e.documentScrollPosition??window.history.state?.documentScrollPosition},``,t)})}doPushState(e,t){return this.withThrottleProtection(()=>{try{window.history.pushState(e,``,t)}catch(e){if(!this.isQuotaExceededError(e))throw e;ur.fireInternalEvent(`historyQuotaExceeded`,t)}})}getState(e,t){return this.current?.[e]??t}deleteState(e){this.current[e]!==void 0&&(delete this.current[e],this.replaceState(this.current))}clearInitialState(e){this.initialState&&this.initialState[e]!==void 0&&delete this.initialState[e]}browserHasHistoryEntry(){return!or&&!!window.history.state?.page}clear(){ln.remove(dn.key),ln.remove(dn.iv)}setCurrent(e){this.current=e}isValidState(e){return!!e.page}getAllState(){return this.current}};typeof window<`u`&&window.history.scrollRestoration&&(window.history.scrollRestoration=`manual`);var L=new lr,ur=new class{internalListeners=[];init(){typeof window<`u`&&(window.addEventListener(`popstate`,this.handlePopstateEvent.bind(this)),window.addEventListener(`pageshow`,this.handlePageshowEvent.bind(this)),window.addEventListener(`scroll`,qt(Nn.onWindowScroll.bind(Nn),100),!0)),typeof document<`u`&&document.addEventListener(`scroll`,qt(Nn.onScroll.bind(Nn),100),!0)}onGlobalEvent(e,t){return this.registerListener(`inertia:${e}`,(e=>{let n=t(e);e.cancelable&&!e.defaultPrevented&&n===!1&&e.preventDefault()}))}on(e,t){return this.internalListeners.push({event:e,listener:t}),()=>{this.internalListeners=this.internalListeners.filter(e=>e.listener!==t)}}onMissingHistoryItem(){I.clear(),this.fireInternalEvent(`missingHistoryItem`)}fireInternalEvent(e,...t){this.internalListeners.filter(t=>t.event===e).forEach(e=>e.listener(...t))}registerListener(e,t){return document.addEventListener(e,t),()=>document.removeEventListener(e,t)}handlePageshowEvent(e){e.persisted&&L.decrypt().catch(()=>this.onMissingHistoryItem())}handlePopstateEvent(e){let t=e.state||null;if(t===null){let e=Jn(I.get().url);e.hash=window.location.hash,L.replaceState({...I.getWithoutFlashData(),url:e.href}),Nn.reset();return}if(!L.isValidState(t))return this.onMissingHistoryItem();L.decrypt(t.page).then(e=>{if(I.get().version!==e.version){this.onMissingHistoryItem();return}H.cancelAll({prefetch:!1}),I.setQuietly(e,{preserveState:!1}).then(()=>{Nn.restore(L.getScrollRegions()),tn(I.get());let t={},n=I.get().props;for(let[r,i]of Object.entries(e.initialDeferredProps??e.deferredProps??{})){let e=i.filter(e=>F(n,e)===void 0);e.length>0&&(t[r]=e)}Object.keys(t).length>0&&this.fireInternalEvent(`loadDeferredProps`,t)})}).catch(()=>{this.onMissingHistoryItem()})}},dr=new class{type;constructor(){this.type=this.resolveType()}resolveType(){return typeof window>`u`?`navigate`:window.performance?.getEntriesByType(`navigation`)[0]?.type??`navigate`}get(){return this.type}isBackForward(){return this.type===`back_forward`}isReload(){return this.type===`reload`}},fr=class{static handle(){this.clearRememberedStateOnReload(),[this.handleBackForward,this.handleLocation,this.handleDefault].find(e=>e.bind(this)())}static clearRememberedStateOnReload(){dr.isReload()&&(L.deleteState(L.rememberedState),L.clearInitialState(L.rememberedState))}static handleBackForward(){if(!dr.isBackForward()||!L.browserHasHistoryEntry())return!1;let e=L.getScrollRegions();return L.decrypt().then(t=>{I.set(t,{preserveScroll:!0,preserveState:!0}).then(()=>{Nn.restore(e),tn(I.get())})}).catch(()=>{ur.onMissingHistoryItem()}),!0}static handleLocation(){if(!ln.exists(ln.locationVisitKey))return!1;let e=ln.get(ln.locationVisitKey)||{};return ln.remove(ln.locationVisitKey),typeof window<`u`&&I.setUrlHash(window.location.hash),L.decrypt(I.get()).then(()=>{let t=L.getState(L.rememberedState,{}),n=L.getScrollRegions();I.remember(t),I.set(I.get(),{preserveScroll:e.preserveScroll,preserveState:!0}).then(()=>{e.preserveScroll&&Nn.restore(n),this.fireInitialEvents()})}).catch(()=>{ur.onMissingHistoryItem()}),!0}static handleDefault(){typeof window<`u`&&I.setUrlHash(window.location.hash),I.set(I.get(),{preserveScroll:!0,preserveState:!0}).then(()=>{dr.isReload()?Nn.restore(L.getScrollRegions()):Nn.scrollToAnchor(),this.fireInitialEvents()})}static fireInitialEvents(){let e=I.get();tn(e),Object.keys(e.flash).length>0&&queueMicrotask(()=>cn(e.flash))}},pr=class{id=null;throttle=!1;keepAlive=!1;cb;interval;cbCount=0;constructor(e,t,n){this.keepAlive=n.keepAlive??!1,this.cb=t,this.interval=e,(n.autoStart??!0)&&this.start()}stop(){this.id&&clearInterval(this.id)}start(){typeof window>`u`||(this.stop(),this.id=window.setInterval(()=>{(!this.throttle||this.cbCount%10==0)&&this.cb(),this.throttle&&this.cbCount++},this.interval))}isInBackground(e){this.throttle=this.keepAlive?!1:e,this.throttle&&(this.cbCount=0)}},mr=new class{polls=[];constructor(){this.setupVisibilityListener()}add(e,t,n){let r=new pr(e,t,n);return this.polls.push(r),{stop:()=>r.stop(),start:()=>r.start()}}clear(){this.polls.forEach(e=>e.stop()),this.polls=[]}setupVisibilityListener(){typeof document>`u`||document.addEventListener(`visibilitychange`,()=>{this.polls.forEach(e=>e.isInBackground(document.hidden))},!1)}},hr=new class{requestHandlers=[];responseHandlers=[];errorHandlers=[];onRequest(e){return this.requestHandlers.push(e),()=>{this.requestHandlers=this.requestHandlers.filter(t=>t!==e)}}onResponse(e){return this.responseHandlers.push(e),()=>{this.responseHandlers=this.responseHandlers.filter(t=>t!==e)}}onError(e){return this.errorHandlers.push(e),()=>{this.errorHandlers=this.errorHandlers.filter(t=>t!==e)}}async processRequest(e){let t=e;for(let e of this.requestHandlers)t=await e(t);return t}async processResponse(e){let t=e;for(let e of this.responseHandlers)t=await e(t);return t}async processError(e){for(let t of this.errorHandlers)await t(e)}},gr=class extends Error{code;url;constructor(e,t,n){super(n?`${e} (${n})`:e),this.name=`HttpError`,this.code=t,this.url=n}},_r=class extends gr{response;constructor(e,t,n){super(e,`ERR_HTTP_RESPONSE`,n),this.name=`HttpResponseError`,this.response=t}},vr=class extends gr{constructor(e=`Request was cancelled`,t){super(e,`ERR_CANCELLED`,t),this.name=`HttpCancelledError`}},yr=class extends gr{cause;constructor(e,t,n){super(e,`ERR_NETWORK`,t),this.name=`HttpNetworkError`,this.cause=n}};function br(e){let t=document.cookie.match(RegExp(`(^|;\\s*)(`+e+`)=([^;]*)`));return t?decodeURIComponent(t[3]):null}function xr(e){let t={};return e.getAllResponseHeaders().split(`\r -`).forEach(e=>{let n=e.indexOf(`:`);n>0&&(t[e.slice(0,n).toLowerCase().trim()]=e.slice(n+1).trim())}),t}function Sr(e,t){if(!t.headers)return;let n=t.data instanceof FormData;Object.entries(t.headers).forEach(([t,r])=>{(t.toLowerCase()!==`content-type`||!n)&&e.setRequestHeader(t,String(r))})}function Cr(e,t){if(!t||Object.keys(t).length===0)return e;let[n]=Xn(`get`,e,t);return n}var wr=class{xsrfCookieName;xsrfHeaderName;constructor(e={}){this.xsrfCookieName=e.xsrfCookieName??`XSRF-TOKEN`,this.xsrfHeaderName=e.xsrfHeaderName??`X-XSRF-TOKEN`}async request(e){let t=await hr.processRequest(e);try{let e=await this.doRequest(t);return await hr.processResponse(e)}catch(e){throw(e instanceof _r||e instanceof yr||e instanceof vr)&&await hr.processError(e),e}}doRequest(e){return new Promise((t,n)=>{let r=new XMLHttpRequest,i=Cr(e.url,e.params);r.open(e.method.toUpperCase(),i,!0);let a=br(this.xsrfCookieName);a&&r.setRequestHeader(this.xsrfHeaderName,a);let o=null;e.data!==null&&e.data!==void 0&&(e.data instanceof FormData?o=e.data:typeof e.data==`object`?(o=JSON.stringify(e.data),!e.headers?.[`Content-Type`]&&!e.headers?.[`content-type`]&&r.setRequestHeader(`Content-Type`,`application/json`)):o=String(e.data)),Sr(r,e),e.onUploadProgress&&(r.upload.onprogress=t=>{let n=t.lengthComputable?t.loaded/t.total:void 0;e.onUploadProgress({progress:n,percentage:n?Math.round(n*100):0,loaded:t.loaded,total:t.lengthComputable?t.total:void 0})}),e.signal&&e.signal.addEventListener(`abort`,()=>r.abort()),r.onabort=()=>n(new vr(`Request was cancelled`,e.url)),r.onerror=()=>n(new yr(`Network error`,e.url)),r.onload=()=>{let i={status:r.status,data:r.responseText,headers:xr(r)};r.status>=400?n(new _r(`Request failed with status ${r.status}`,i,e.url)):t(i)},r.send(o)})}},Tr=new wr;function Er(e){return!(`request`in e)}var Dr={getClient(){return Tr},setClient(e){if(!Er(e)){Tr=e;return}Tr=new wr(e),e.xsrfCookieName&&Ct.withXsrfCookieName(e.xsrfCookieName),e.xsrfHeaderName&&Ct.withXsrfHeaderName(e.xsrfHeaderName)},onRequest:hr.onRequest.bind(hr),onResponse:hr.onResponse.bind(hr),onError:hr.onError.bind(hr),processRequest:hr.processRequest.bind(hr),processResponse:hr.processResponse.bind(hr),processError:hr.processError.bind(hr)},Or=class e{callbacks=[];params;constructor(e){if(!e.prefetch)this.params=e;else{let t={onBefore:this.wrapCallback(e,`onBefore`),onBeforeUpdate:this.wrapCallback(e,`onBeforeUpdate`),onStart:this.wrapCallback(e,`onStart`),onProgress:this.wrapCallback(e,`onProgress`),onFinish:this.wrapCallback(e,`onFinish`),onCancel:this.wrapCallback(e,`onCancel`),onSuccess:this.wrapCallback(e,`onSuccess`),onError:this.wrapCallback(e,`onError`),onHttpException:this.wrapCallback(e,`onHttpException`),onNetworkError:this.wrapCallback(e,`onNetworkError`),onFlash:this.wrapCallback(e,`onFlash`),onCancelToken:this.wrapCallback(e,`onCancelToken`),onPrefetched:this.wrapCallback(e,`onPrefetched`),onPrefetching:this.wrapCallback(e,`onPrefetching`)};this.params={...e,...t,onPrefetchResponse:e.onPrefetchResponse||(()=>{}),onPrefetchError:e.onPrefetchError||(()=>{})}}}static create(t){return new e(t)}data(){return this.params.method===`get`?null:this.params.data}queryParams(){return this.params.method===`get`?this.params.data:{}}isPartial(){return this.params.only.length>0||this.params.except.length>0||this.params.reset.length>0}isPrefetch(){return this.params.prefetch===!0}isDeferredPropsRequest(){return this.params.deferredProps===!0}onCancelToken(e){this.params.onCancelToken({cancel:e})}markAsFinished(){this.params.completed=!0,this.params.cancelled=!1,this.params.interrupted=!1}markAsCancelled({cancelled:e=!0,interrupted:t=!1}){this.params.onCancel(),this.params.completed=!1,this.params.cancelled=e,this.params.interrupted=t}wasCancelledAtAll(){return this.params.cancelled||this.params.interrupted}onFinish(){this.params.onFinish(this.params)}onStart(){this.params.onStart(this.params)}onPrefetching(){this.params.onPrefetching(this.params)}onPrefetchResponse(e){this.params.onPrefetchResponse&&this.params.onPrefetchResponse(e)}onPrefetchError(e){this.params.onPrefetchError&&this.params.onPrefetchError(e)}all(){return this.params}headers(){let e={...this.params.headers};this.isPartial()&&(e[`X-Inertia-Partial-Component`]=I.get().component);let t=this.params.only.concat(this.params.reset);return t.length>0&&(e[`X-Inertia-Partial-Data`]=t.join(`,`)),this.params.except.length>0&&(e[`X-Inertia-Partial-Except`]=this.params.except.join(`,`)),this.params.reset.length>0&&(e[`X-Inertia-Reset`]=this.params.reset.join(`,`)),this.params.errorBag&&this.params.errorBag.length>0&&(e[`X-Inertia-Error-Bag`]=this.params.errorBag),e}setPreserveOptions(t){this.params.preserveScroll=e.resolvePreserveOption(this.params.preserveScroll,t),this.params.preserveState=e.resolvePreserveOption(this.params.preserveState,t)}runCallbacks(){this.callbacks.forEach(({name:e,args:t})=>{this.params[e](...t)})}merge(e){this.params={...this.params,...e}}wrapCallback(e,t){return(...n)=>{this.recordCallback(t,n),e[t](...n)}}recordCallback(e,t){this.callbacks.push({name:e,args:t})}static resolvePreserveOption(e,t){return typeof e==`function`?e(t):e===`errors`?Object.keys(t.props.errors||{}).length>0:e}},kr={createIframeAndPage(e){typeof e==`object`&&(e=`All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.
${JSON.stringify(e)}`);let t=document.createElement(`html`);t.innerHTML=e,t.querySelectorAll(`a`).forEach(e=>e.setAttribute(`target`,`_top`));let n=document.createElement(`iframe`);return n.style.backgroundColor=`white`,n.style.borderRadius=`5px`,n.style.width=`100%`,n.style.height=`100%`,n.setAttribute(`sandbox`,`allow-scripts`),{iframe:n,page:t}},show(e){let{iframe:t,page:n}=this.createIframeAndPage(e);t.style.boxSizing=`border-box`,t.style.display=`block`;let r=document.createElement(`dialog`);r.id=`inertia-error-dialog`,Object.assign(r.style,{width:`calc(100vw - 100px)`,height:`calc(100vh - 100px)`,padding:`0`,margin:`auto`,border:`none`,backgroundColor:`transparent`});let i=document.createElement(`style`);i.textContent=` - dialog#inertia-error-dialog::backdrop { - background-color: rgba(0, 0, 0, 0.6); - } - - dialog#inertia-error-dialog:focus { - outline: none; - } - `;let a=Kt.get(`nonce`);a&&(i.nonce=a),document.head.appendChild(i),r.addEventListener(`click`,e=>{e.target===r&&r.close()}),r.addEventListener(`close`,()=>{i.remove(),r.remove()}),r.appendChild(t),document.body.prepend(r),r.showModal(),r.focus(),t.srcdoc=n.outerHTML}},Ar=(e,t)=>e===t||e.startsWith(`${t}.`),jr=(e,t)=>{let{only:n,except:r}=e;return!(n.length===0&&r.length===0||n.length>0&&!n.some(e=>Ar(t,e))||r.length>0&&r.some(e=>Ar(t,e)))},Mr=(e,t)=>t.some(t=>jr(e,t)),Nr=new ar,Pr=class e{constructor(e,t,n){this.requestParams=e,this.response=t,this.originatingPage=n}wasPrefetched=!1;processed=!1;static create(t,n,r){return new e(t,n,r)}isProcessed(){return this.processed}async handlePrefetch(){$n(this.requestParams.all().url,window.location)&&this.handle()}async handle(){return Nr.add(()=>this.process())}async process(){if(this.requestParams.all().prefetch)return this.wasPrefetched=!0,this.requestParams.all().prefetch=!1,this.requestParams.all().onPrefetched(this.response,this.requestParams.all()),on(this.response,this.requestParams.all()),Promise.resolve();if(this.requestParams.runCallbacks(),this.processed=!0,!this.isInertiaResponse())return this.handleNonInertiaResponse();if(this.isHttpException()){let e={...this.response,data:this.getDataFromResponse(this.response.data)};if(this.requestParams.all().onHttpException(e)===!1||!$t(e))return}await L.processQueue(),L.preserveUrl=this.requestParams.all().preserveUrl,await this.setPage();let{flash:e}=I.get();Object.keys(e).length>0&&!this.requestParams.isDeferredPropsRequest()&&(cn(e),this.requestParams.all().onFlash(e));let t=I.get().props.errors||{};if(Object.keys(t).length>0){let e=this.getScopedErrors(t);return Xt(e),this.requestParams.all().onError(e)}H.flushByCacheTags(this.requestParams.all().invalidateCacheTags||[]),this.wasPrefetched||H.flush(I.get().url),an(I.get()),await this.requestParams.all().onSuccess(I.get()),L.preserveUrl=!1}mergeParams(e){this.requestParams.merge(e)}getPageResponse(){let e=this.getDataFromResponse(this.response.data);return typeof e==`object`?this.response.data={...e,flash:e.flash??{},rescuedProps:e.rescuedProps??[]}:this.response.data=e}async handleNonInertiaResponse(){if(this.isInertiaRedirect()){H.visit(this.getHeader(`x-inertia-redirect`),{...this.requestParams.all(),method:`get`,data:{}});return}if(this.isLocationVisit()){let e=Jn(this.getHeader(`x-inertia-location`));return Qn(this.requestParams.all().url,e),this.locationVisit(e)}let e={...this.response,data:this.getDataFromResponse(this.response.data)};if(this.requestParams.all().onHttpException(e)!==!1&&$t(e))return kr.show(e.data)}isInertiaResponse(){return this.hasHeader(`x-inertia`)}isHttpException(){return this.response.status>=400}hasStatus(e){return this.response.status===e}getHeader(e){return this.response.headers[e]}hasHeader(e){return this.getHeader(e)!==void 0}isInertiaRedirect(){return this.hasStatus(409)&&this.hasHeader(`x-inertia-redirect`)}isLocationVisit(){return this.hasStatus(409)&&this.hasHeader(`x-inertia-location`)}locationVisit(e){try{if(ln.set(ln.locationVisitKey,{preserveScroll:this.requestParams.all().preserveScroll===!0}),typeof window>`u`)return;$n(window.location,e)?window.location.reload():window.location.href=e.href}catch{return!1}}async setPage(){let e=this.getPageResponse();return this.shouldSetPage(e)?(this.mergeProps(e),I.mergeOncePropsIntoResponse(e),this.preserveOptimisticProps(e),this.preserveEqualProps(e),await this.setRememberedState(e),this.requestParams.setPreserveOptions(e),e.url=L.preserveUrl?I.get().url:this.pageUrl(e),this.requestParams.all().onBeforeUpdate(e),en(e),I.set(e,{replace:this.requestParams.all().replace,preserveScroll:this.requestParams.all().preserveScroll,preserveState:this.requestParams.all().preserveState,viewTransition:this.requestParams.all().viewTransition})):Promise.resolve()}getDataFromResponse(e){if(typeof e!=`string`)return e;try{return JSON.parse(e)}catch{return e}}shouldSetPage(e){if(!this.requestParams.all().async||this.originatingPage.component!==e.component)return!0;if(this.originatingPage.component!==I.get().component)return!1;let t=Jn(this.originatingPage.url),n=Jn(I.get().url);return t.origin===n.origin&&t.pathname===n.pathname}pageUrl(e){let t=Jn(e.url);return e.preserveFragment?t.hash=this.requestParams.all().url.hash:Qn(this.requestParams.all().url,t),t.pathname+t.search+t.hash}preserveOptimisticProps(e){if(H.hasPendingOptimistic())for(let t of Object.keys(e.props))I.hasBaseline(t)&&(I.updateBaseline(t,e.props[t]),e.props[t]=I.get().props[t])}preserveEqualProps(e){if(e.component!==I.get().component)return;let t=I.get().props;Object.entries(e.props).forEach(([n,r])=>{Te(r,t[n])&&(e.props[n]=t[n])})}mergeProps(e){if(!this.requestParams.isPartial()||e.component!==I.get().component)return;let t=e.mergeProps||[],n=e.prependProps||[],r=e.deepMergeProps||[],i=e.matchPropsOn||[],a=(t,n)=>{let r=F(I.get().props,t),a=F(e.props,t);if(Array.isArray(a)){let o=this.mergeOrMatchItems(r||[],a,t,i,n);Ye(e.props,t,o)}else if(typeof a==`object`&&a){let n={...r||{},...a};Ye(e.props,t,n)}};t.forEach(e=>a(e,!0)),n.forEach(e=>a(e,!1)),r.forEach(t=>{let n=F(I.get().props,t),r=F(e.props,t),a=(e,t,n)=>Array.isArray(t)?this.mergeOrMatchItems(e,t,n,i):typeof t==`object`&&t?Object.keys(t).reduce((r,i)=>(r[i]=a(e?e[i]:void 0,t[i],`${n}.${i}`),r),{...e}):t;Ye(e.props,t,a(n,r,t))});let o=new Set([...this.requestParams.all().only,...this.requestParams.all().except].filter(e=>e.includes(`.`)).map(e=>e.split(`.`)[0]));for(let t of o){let n=I.get().props[t];this.isObject(n)&&this.isObject(e.props[t])&&(e.props[t]=this.deepMergeObjects(n,e.props[t]))}e.props={...I.get().props,...e.props},this.shouldPreserveErrors(e)&&(e.props.errors=I.get().props.errors),I.get().scrollProps&&(e.scrollProps={...I.get().scrollProps||{},...e.scrollProps||{}}),I.hasOnceProps()&&(e.onceProps={...I.get().onceProps||{},...e.onceProps||{}}),this.requestParams.isDeferredPropsRequest()&&(e.flash={...I.get().flash});let s=I.get().initialDeferredProps;s&&Object.keys(s).length>0&&(e.initialDeferredProps=s),e.rescuedProps=this.mergeRescuedProps(e)}mergeRescuedProps(e){let t=I.get().rescuedProps??[],n=e.rescuedProps??[],r=new Set(t.filter(e=>!jr(this.requestParams.all(),e)));return n.forEach(e=>r.add(e)),Array.from(r)}shouldPreserveErrors(e){if(!this.requestParams.all().preserveErrors)return!1;let t=I.get().props.errors;if(!t||Object.keys(t).length===0)return!1;let n=e.props.errors;return!(n&&Object.keys(n).length>0)}isObject(e){return e&&typeof e==`object`&&!Array.isArray(e)}deepMergeObjects(e,t){let n={...e};for(let r of Object.keys(t)){let i=e[r],a=t[r];this.isObject(i)&&this.isObject(a)?n[r]=this.deepMergeObjects(i,a):n[r]=a}return n}mergeOrMatchItems(e,t,n,r,i=!0){let a=Array.isArray(e)?e:[],o=r.find(e=>e.split(`.`).slice(0,-1).join(`.`)===n);if(!o)return i?[...a,...t]:[...t,...a];let s=o.split(`.`).pop()||``,c=new Map;return t.forEach(e=>{this.hasUniqueProperty(e,s)&&c.set(e[s],e)}),i?this.appendWithMatching(a,t,c,s):this.prependWithMatching(a,t,c,s)}appendWithMatching(e,t,n,r){let i=e.map(e=>this.hasUniqueProperty(e,r)&&n.has(e[r])?n.get(e[r]):e),a=t.filter(t=>this.hasUniqueProperty(t,r)?!e.some(e=>this.hasUniqueProperty(e,r)&&e[r]===t[r]):!0);return[...i,...a]}prependWithMatching(e,t,n,r){let i=e.filter(e=>this.hasUniqueProperty(e,r)?!n.has(e[r]):!0);return[...t,...i]}hasUniqueProperty(e,t){return e&&typeof e==`object`&&t in e}async setRememberedState(e){let t=await L.getState(L.rememberedState,{});this.requestParams.all().preserveState&&t&&e.component===I.get().component&&(e.rememberedState=t)}getScopedErrors(e){return this.requestParams.all().errorBag?e[this.requestParams.all().errorBag||``]||{}:e}},Fr=class e{constructor(e,t,{optimistic:n=!1}={}){this.page=t,this.requestParams=Or.create(e),this.cancelToken=new AbortController,this.optimistic=n}response;cancelToken;requestParams;requestHasFinished=!1;optimistic;static create(t,n,r){return new e(t,n,r)}isPrefetch(){return this.requestParams.isPrefetch()}isOptimistic(){return this.optimistic}isPendingOptimistic(){return this.isOptimistic()&&(!this.response||!this.response.isProcessed())}async send(){this.requestParams.onCancelToken(()=>this.cancel({cancelled:!0})),rn(this.requestParams.all()),this.requestParams.onStart(),this.requestParams.all().prefetch&&(this.requestParams.onPrefetching(),sn(this.requestParams.all()));let e=this.requestParams.all().prefetch;return Dr.getClient().request({method:this.requestParams.all().method,url:Zn(this.requestParams.all().url).href,data:this.requestParams.data(),signal:this.cancelToken.signal,headers:this.getHeaders(),onUploadProgress:this.onProgress.bind(this)}).then(e=>(this.response=Pr.create(this.requestParams,e,this.page),this.response.handle())).catch(e=>e instanceof _r?(this.response=Pr.create(this.requestParams,e.response,this.page),this.response.handle()):Promise.reject(e)).catch(t=>{if(!(t instanceof vr)&&this.requestParams.all().onNetworkError(t)!==!1&&Zt(t))return e&&this.requestParams.onPrefetchError(t),Promise.reject(t)}).finally(()=>{this.finish(),e&&this.response&&this.requestParams.onPrefetchResponse(this.response)})}finish(){this.requestParams.wasCancelledAtAll()||(this.requestParams.markAsFinished(),this.fireFinishEvents())}fireFinishEvents(){this.requestHasFinished||(this.requestHasFinished=!0,Qt(this.requestParams.all()),this.requestParams.onFinish())}cancel({cancelled:e=!1,interrupted:t=!1}){this.requestHasFinished||(this.cancelToken.abort(),this.requestParams.markAsCancelled({cancelled:e,interrupted:t}),this.fireFinishEvents())}onProgress(e){this.requestParams.data()instanceof FormData&&(nn(e),this.requestParams.all().onProgress(e))}getHeaders(){let e={...this.requestParams.headers(),Accept:`text/html, application/xhtml+xml`,"X-Requested-With":`XMLHttpRequest`,"X-Inertia":!0},t=I.get();t.version&&(e[`X-Inertia-Version`]=t.version);let n=Object.entries(t.onceProps||{}).filter(([,e])=>F(t.props,e.prop)===void 0?!1:!e.expiresAt||e.expiresAt>Date.now()).map(([e])=>e);return n.length>0&&(e[`X-Inertia-Except-Once-Props`]=n.join(`,`)),e}},Ir=class{requests=[];maxConcurrent;interruptible;constructor({maxConcurrent:e,interruptible:t}){this.maxConcurrent=e,this.interruptible=t}send(e){this.requests.push(e),e.send().finally(()=>{this.requests=this.requests.filter(t=>t!==e)})}interruptInFlight(){this.cancel({interrupted:!0},!1)}cancelInFlight({prefetch:e=!0,optimistic:t=!0}={}){this.requests.filter(t=>e||!t.isPrefetch()).filter(e=>t||!e.isOptimistic()).forEach(e=>e.cancel({cancelled:!0}))}cancel({cancelled:e=!1,interrupted:t=!1}={},n=!1){!n&&!this.shouldCancel()||this.requests.shift()?.cancel({cancelled:e,interrupted:t})}shouldCancel(){return this.interruptible&&this.requests.length>=this.maxConcurrent}hasPendingOptimistic(){return this.requests.some(e=>e.isPendingOptimistic())}},Lr=()=>{},Rr=class{syncRequestStream=new Ir({maxConcurrent:1,interruptible:!0});asyncRequestStream=new Ir({maxConcurrent:1/0,interruptible:!1});clientVisitQueue=new ar;pendingOptimisticCallback=void 0;init({initialPage:e,resolveComponent:t,swapComponent:n,onFlash:r}){I.init({initialPage:e,resolveComponent:t,swapComponent:n,onFlash:r}),fr.handle(),ur.init(),ur.on(`missingHistoryItem`,()=>{typeof window<`u`&&this.visit(window.location.href,{preserveState:!0,preserveScroll:!0,replace:!0})}),ur.on(`loadDeferredProps`,e=>{this.loadDeferredProps(e)}),ur.on(`historyQuotaExceeded`,e=>{window.location.href=e})}optimistic(e){return this.pendingOptimisticCallback=e,this}get(e,t={},n={}){return this.visit(e,{...n,method:`get`,data:t})}post(e,t={},n={}){return this.visit(e,{preserveState:!0,...n,method:`post`,data:t})}put(e,t={},n={}){return this.visit(e,{preserveState:!0,...n,method:`put`,data:t})}patch(e,t={},n={}){return this.visit(e,{preserveState:!0,...n,method:`patch`,data:t})}delete(e,t={}){return this.visit(e,{preserveState:!0,...t,method:`delete`})}reload(e={}){return this.doReload(e)}doReload(e={}){if(!(typeof window>`u`))return this.visit(window.location.href,{...e,preserveScroll:!0,preserveState:!0,async:!0,headers:{...e.headers||{},"Cache-Control":`no-cache`}})}remember(e,t=`default`){L.remember(e,t)}restore(e=`default`){return L.restore(e)}on(e,t){return typeof window>`u`?()=>{}:ur.onGlobalEvent(e,t)}hasPendingOptimistic(){return this.asyncRequestStream.hasPendingOptimistic()}cancelAll({async:e=!0,prefetch:t=!0,sync:n=!0}={}){e&&this.asyncRequestStream.cancelInFlight({prefetch:t}),n&&this.syncRequestStream.cancelInFlight()}poll(e,t={},n={}){return mr.add(e,()=>this.reload({preserveErrors:!0,...t}),{autoStart:n.autoStart??!0,keepAlive:n.keepAlive??!1})}visit(e,t={}){t.optimistic=t.optimistic??this.pendingOptimisticCallback,this.pendingOptimisticCallback=void 0,t.optimistic&&(t.async=t.async??!0);let n=this.getPendingVisit(e,{...t,showProgress:t.showProgress??(!t.async||!!t.optimistic)}),r=this.getVisitEvents(t);if(r.onBefore(n)===!1||!Yt(n))return;let i=Jn(I.get().url);(n.only.length>0||n.except.length>0||n.reset.length>0?er(n.url,i):$n(n.url,i))||this.asyncRequestStream.cancelInFlight({prefetch:!1,optimistic:!1}),n.async||this.syncRequestStream.interruptInFlight(),t.optimistic&&this.applyOptimisticUpdate(t.optimistic,r),!I.isCleared()&&!n.preserveUrl&&Nn.save();let a={...n,...r},o=()=>{let e=Tn.get(a);e?(Ri.reveal(e.inFlight),Tn.use(e,a)):(Ri.reveal(!0),(n.async?this.asyncRequestStream:this.syncRequestStream).send(Fr.create(a,I.get(),{optimistic:!!t.optimistic})))};Array.isArray(n.component)&&(console.error(`The "component" prop received an array of components (${n.component.join(`, `)}), but only a single component string is supported for instant visits. Pass an explicit component name instead.`),n.component=null),n.component?L.processQueue().then(()=>{this.performInstantSwap(n).then(()=>{a.preserveState=!0,a.replace=!0,a.viewTransition=!1,o()})}):o()}getCached(e,t={}){return Tn.findCached(this.getPrefetchParams(e,t))}flush(e,t={}){Tn.remove(this.getPrefetchParams(e,t))}flushAll(){Tn.removeAll()}flushByCacheTags(e){Tn.removeByTags(Array.isArray(e)?e:[e])}getPrefetching(e,t={}){return Tn.findInFlight(this.getPrefetchParams(e,t))}prefetch(e,t={},n={}){if((t.method??(tr(e)?e.method:`get`))!==`get`)throw Error(`Prefetch requests must use the GET method`);let r=this.getPendingVisit(e,{...t,async:!0,showProgress:!1,prefetch:!0,viewTransition:!1});if(r.url.origin+r.url.pathname+r.url.search===window.location.origin+window.location.pathname+window.location.search)return;let i=this.getVisitEvents(t);if(i.onBefore(r)===!1||!Yt(r))return;Ri.hide(),this.asyncRequestStream.interruptInFlight();let a={...r,...i};new Promise(e=>{let t=()=>{I.get()?e():setTimeout(t,50)};t()}).then(()=>{Tn.add(a,e=>{this.asyncRequestStream.send(Fr.create(e,I.get()))},{cacheFor:Kt.get(`prefetch.cacheFor`),cacheTags:[],...n})})}clearHistory(){L.clear()}decryptHistory(){return L.decrypt()}resolveComponent(e,t){return I.resolve(e,t)}replace(e){this.clientVisit(e,{replace:!0})}replaceProp(e,t,n){this.replace({preserveScroll:!0,preserveState:!0,props(n){let r=typeof t==`function`?t(F(n,e),n):t;return Ye(P(n),e,r)},...n||{}})}appendToProp(e,t,n){this.replaceProp(e,(e,n)=>{let r=typeof t==`function`?t(e,n):t;return Array.isArray(e)||(e=e===void 0?[]:[e]),[...e,r]},n)}prependToProp(e,t,n){this.replaceProp(e,(e,n)=>{let r=typeof t==`function`?t(e,n):t;return Array.isArray(e)||(e=e===void 0?[]:[e]),[r,...e]},n)}push(e){this.clientVisit(e)}flash(e,t){let n=I.get().flash,r;if(typeof e==`function`)r=e(n);else if(typeof e==`string`)r={...n,[e]:t};else if(e&&Object.keys(e).length)r={...n,...e};else return;I.setFlash(r),Object.keys(r).length&&cn(r)}clientVisit(e,{replace:t=!1}={}){this.clientVisitQueue.add(()=>this.performClientVisit(e,{replace:t}))}performClientVisit(e,{replace:t=!1}={}){let n=I.get(),r=typeof e.props==`function`?Object.fromEntries(Object.values(n.onceProps??{}).map(e=>[e.prop,F(n.props,e.prop)])):{},i=typeof e.props==`function`?e.props(n.props,r):e.props??n.props,a=typeof e.flash==`function`?e.flash(n.flash):e.flash,{viewTransition:o,onError:s,onFinish:c,onFlash:l,onSuccess:u,...d}=e,f={...n,...d,flash:a??{},props:i},p=Or.resolvePreserveOption(e.preserveScroll??!1,f),m=Or.resolvePreserveOption(e.preserveState??!1,f);return I.set(f,{replace:t,preserveScroll:p,preserveState:m,viewTransition:o}).then(()=>{let t=I.get().flash;Object.keys(t).length>0&&(cn(t),l?.(t));let n=I.get().props.errors||{};if(Object.keys(n).length===0){u?.(I.get());return}let r=e.errorBag?n[e.errorBag||``]||{}:n;s?.(r)}).finally(()=>c?.(e))}performInstantSwap(e){let t=I.get(),n=Object.fromEntries((t.sharedProps??[]).filter(e=>e in t.props).map(e=>[e,t.props[e]])),r=typeof e.pageProps==`function`?e.pageProps(P(t.props),P(n)):e.pageProps,i=r===null?{...n}:{...r},a={component:e.component,url:e.url.pathname+e.url.search+e.url.hash,version:t.version,props:{...i,errors:{}},flash:{},rescuedProps:[],clearHistory:!1,encryptHistory:t.encryptHistory,sharedProps:t.sharedProps,rememberedState:{}};return I.set(a,{replace:e.replace,preserveScroll:Or.resolvePreserveOption(e.preserveScroll,a),preserveState:!1,viewTransition:e.viewTransition})}getPrefetchParams(e,t){return{...this.getPendingVisit(e,{...t,async:!0,showProgress:!1,prefetch:!0,viewTransition:!1}),...this.getVisitEvents(t)}}getPendingVisit(e,t){if(tr(e)){let n=e;e=n.url,t.method=t.method??n.method}let n=Kt.get(`visitOptions`),r=n&&n(e.toString(),P(t))||{},i={method:`get`,data:{},replace:!1,preserveScroll:!1,preserveState:!1,only:[],except:[],headers:{},errorBag:``,forceFormData:!1,queryStringArrayFormat:`brackets`,async:!1,showProgress:!0,fresh:!1,reset:[],preserveUrl:!1,preserveErrors:!1,prefetch:!1,invalidateCacheTags:[],viewTransition:!1,component:null,pageProps:null,...bn(t),...bn(r)},[a,o]=Yn(e,i.data,i.method,i.forceFormData,i.queryStringArrayFormat),s={cancelled:!1,completed:!1,interrupted:!1,...i,url:a,data:o};return s.prefetch&&(s.headers.Purpose=`prefetch`),s}getVisitEvents(e){return{onCancelToken:e.onCancelToken||Lr,onBefore:e.onBefore||Lr,onBeforeUpdate:e.onBeforeUpdate||Lr,onStart:e.onStart||Lr,onProgress:e.onProgress||Lr,onFinish:e.onFinish||Lr,onCancel:e.onCancel||Lr,onSuccess:e.onSuccess||Lr,onError:e.onError||Lr,onHttpException:e.onHttpException||Lr,onNetworkError:e.onNetworkError||Lr,onFlash:e.onFlash||Lr,onPrefetched:e.onPrefetched||Lr,onPrefetching:e.onPrefetching||Lr}}applyOptimisticUpdate(e,t){let n=I.get().props,r=e(P(n));if(!r)return;let i=[];for(let e of Object.keys(r))Te(n[e],r[e])||i.push(e);if(i.length===0)return;let a=I.nextOptimisticId(),o=I.get().component;for(let e of i)I.setBaseline(e,P(n[e]));I.registerOptimistic(a,e),I.setPropsQuietly({...n,...r});let s=!0,c=t.onSuccess;t.onSuccess=e=>(s=!1,c(e));let l=t.onFinish;t.onFinish=e=>{if(I.unregisterOptimistic(a),s&&I.get().component===o){let e=I.replayOptimistics();Object.keys(e).length>0&&I.setPropsQuietly({...I.get().props,...e})}return I.pendingOptimisticCount()===0&&I.clearOptimisticState(),l(e)}}loadDeferredProps(e){e&&Object.values(e).forEach(e=>{this.doReload({only:e,deferredProps:!0,preserveErrors:!0})})}},zr=class{static createWayfinderCallback(...e){return()=>e.length===1?tr(e[0])?e[0]:e[0]():{method:typeof e[0]==`function`?e[0]():e[0],url:typeof e[1]==`function`?e[1]():e[1]}}static parseUseFormArguments(...e){return e.length===0?{rememberKey:null,data:{},precognitionEndpoint:null}:e.length===1?{rememberKey:null,data:e[0],precognitionEndpoint:null}:e.length===2?typeof e[0]==`string`?{rememberKey:e[0],data:e[1],precognitionEndpoint:null}:{rememberKey:null,data:e[1],precognitionEndpoint:this.createWayfinderCallback(e[0])}:{rememberKey:null,data:e[2],precognitionEndpoint:this.createWayfinderCallback(e[0],e[1])}}static parseSubmitArguments(e,t){return e.length===3||e.length===2&&typeof e[0]==`string`?{method:e[0],url:e[1],options:e[2]??{}}:tr(e[0])?{...e[0],options:e[1]??{}}:{...t(),options:e[0]??{}}}static mergeHeadersForValidation(e,t,n){let r=e=>(e.headers={...n??{},...e.headers??{}},e);return e&&typeof e==`object`&&!(`target`in e)?e=r(e):t&&typeof t==`object`?t=r(t):typeof e==`string`?t=r(t??{}):e=r(e??{}),[e,t]}};function Br(e){return e.includes(`.`)?e.replace(/\\\./g,`__ESCAPED_DOT__`).split(/(\[[^\]]*\])/).filter(Boolean).map(e=>e.startsWith(`[`)&&e.endsWith(`]`)?e:e.split(`.`).reduce((e,t,n)=>n===0?t:`${e}[${t}]`)).join(``).replace(/__ESCAPED_DOT__/g,`.`):e}function Vr(e){let t=[],n=/([^\[\]]+)|\[(\d*)\]/g,r;for(;(r=n.exec(e))!==null;)r[1]===void 0?r[2]!==void 0&&t.push(r[2]===``?``:Number(r[2])):t.push(r[1]);return t}function Hr(e,t,n){let r=e;for(let e=0;e/^\d+$/.test(e)).map(Number).sort((e,t)=>e-t);return t.length===n.length&&n.length>0&&n[0]===0&&n.every((e,t)=>e===t)}function Wr(e){if(Array.isArray(e))return e.map(Wr);if(typeof e!=`object`||!e||Pn(e))return e;if(Ur(e)){let t=[];for(let n=0;n/^\d+$/.test(e)).map(Number).sort((e,t)=>e-t);Ye(t,n,e.length>0?[...e.map(e=>i[e]),r]:[r])}else Ye(t,n,[r]);continue}Hr(t,e.map(String),r)}return Wr(t)}var Kr={buildDOMElement(e){let t=document.createElement(`template`);t.innerHTML=e;let n=t.content.firstChild;if(!e.startsWith(`