commit c33cce9e6d7ec7709872359d749ec26829ced2b8 Author: Itsmemarkmalvar Date: Wed Oct 14 00:18:32 2026 +0800 Initial commit: WMOC 3D maritime documentation experience with Three.js, R3F, and GSAP diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..95c1099 --- /dev/null +++ b/.gitignore @@ -0,0 +1,26 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +# IDE & Agent customizations +.agents +.agents/ diff --git a/.oxlintrc.json b/.oxlintrc.json new file mode 100644 index 0000000..1255078 --- /dev/null +++ b/.oxlintrc.json @@ -0,0 +1,8 @@ +{ + "$schema": "./node_modules/oxlint/configuration_schema.json", + "plugins": ["react", "oxc"], + "rules": { + "react/rules-of-hooks": "error", + "react/only-export-components": ["warn", { "allowConstantExport": true }] + } +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..d937833 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# React + Vite + +This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules. + +Currently, two official plugins are available: + +- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Oxc](https://oxc.rs) +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) + +## React Compiler + +The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation). + +## Expanding the Oxlint configuration + +If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and Oxlint's TypeScript related rules in your project. diff --git a/index.html b/index.html new file mode 100644 index 0000000..b87f0bd --- /dev/null +++ b/index.html @@ -0,0 +1,18 @@ + + + + + + + + WMOC — Global Maritime Documentation Partner + + + + + + +
+ + + diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..8cf6bff --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3169 @@ +{ + "name": "temp-vite", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "temp-vite", + "version": "0.0.0", + "dependencies": { + "@gsap/react": "^2.1.2", + "@react-three/drei": "^10.7.9", + "@react-three/fiber": "^9.8.1", + "@react-three/postprocessing": "^3.2.0", + "gsap": "^3.15.0", + "lucide-react": "^1.56.0", + "postprocessing": "^6.39.5", + "react": "^19.2.8", + "react-dom": "^19.2.8", + "three": "^0.186.1" + }, + "devDependencies": { + "@tailwindcss/vite": "^4.3.3", + "@types/react": "^19.2.18", + "@types/react-dom": "^19.2.7", + "@vitejs/plugin-react": "^6.1.1", + "oxlint": "^1.81.0", + "react-grab": "^0.2.0", + "tailwindcss": "^4.3.3", + "vite": "^8.3.0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.29.10", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.10.tgz", + "integrity": "sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "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==", + "license": "Apache-2.0" + }, + "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/@iarna/toml": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.5.tgz", + "integrity": "sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==", + "dev": true, + "license": "ISC" + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@mediapipe/tasks-vision": { + "version": "0.10.17", + "resolved": "https://registry.npmjs.org/@mediapipe/tasks-vision/-/tasks-vision-0.10.17.tgz", + "integrity": "sha512-CZWV/q6TTe8ta61cZXjfnnHsfWIdFhms03M9T7Cnd5y2mdpylJM0rF1qRq+wsQVRMLz1OYPVEBU9ph2Bx8cxrg==", + "license": "Apache-2.0" + }, + "node_modules/@monogrid/gainmap-js": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@monogrid/gainmap-js/-/gainmap-js-3.4.0.tgz", + "integrity": "sha512-2Z0FATFHaoYJ8b+Y4y4Hgfn3FRFwuU5zRrk+9dFWp4uGAdHGqVEdP7HP+gLA3X469KXHmfupJaUbKo1b/aDKIg==", + "license": "MIT", + "dependencies": { + "promise-worker-transferable": "^1.0.4" + }, + "peerDependencies": { + "three": ">= 0.159.0" + } + }, + "node_modules/@oxc-project/types": { + "version": "0.153.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.153.0.tgz", + "integrity": "sha512-jSNrRIyvPVLL5E1z/tS5zLAprosGz/FuI1PWwEOz59j3E4TTTzSpqKb/RDGqJhhW0QHYISGXxq582wGx6T11Tw==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/oxc-project" + } + }, + "node_modules/@oxlint/binding-android-arm-eabi": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm-eabi/-/binding-android-arm-eabi-1.87.0.tgz", + "integrity": "sha512-22tVIHlB9898OYsBKmYB6He1MCSqdTmK1BVWuSNUTVrpS0KWNege+U9uEYqGJ+KatQag0r/oU44i3OOs46z7HQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-android-arm64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm64/-/binding-android-arm64-1.87.0.tgz", + "integrity": "sha512-JfZQ3MWf74n8ov0DojZpkOduIubYJvZL5tbTMMhDutsal6u1xH1QuNpN+lK+EQwF8AeAfgwTR2fgh5U2br27XA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-darwin-arm64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-arm64/-/binding-darwin-arm64-1.87.0.tgz", + "integrity": "sha512-rkx6Xvvw93z2GImVOyvbZwAZcoY0Z6MJW177XNsSB+i/CBsH7ANyelTp01VZyIkM3iSXtqKVb4+ptBgPHap5pQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-darwin-x64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-x64/-/binding-darwin-x64-1.87.0.tgz", + "integrity": "sha512-cw5nYw7L/pQ2SgGBgOcg/Qo89llQre3vIc/kuBLhSICzu1r5s8L76H3ug6AIFsD98WpROj8/z5JVzkf4daxHaQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-freebsd-x64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-freebsd-x64/-/binding-freebsd-x64-1.87.0.tgz", + "integrity": "sha512-x/SuznE6loRZK9gz9AS4ZmzNzSu+5KdeoCS+sVHhnrE8HM6AD8UyTjwldQTTqlXGvkwHASgB0NiTNOc3o3PdAg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-arm-gnueabihf": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.87.0.tgz", + "integrity": "sha512-+JEDmCAXiiFmKhAjZhgAOwaHWY6WENOQ5QA+lFuY59tgsUCDOTRi46B+lENK6CWvtxsXpwkZXNOgpjAQcpIpnA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-arm-musleabihf": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-1.87.0.tgz", + "integrity": "sha512-/uC9XqXLAC9AHFLNycwmSQEvKqGrOCgU+uXALI7gNW0DG81TJ/3T2eHnKdRvcb5R1gFEfjxDwI4e4zIa29rICQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-arm64-gnu": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.87.0.tgz", + "integrity": "sha512-FTRYPsBy/M728vnUv7l+KAwSAa3Qi4BQbhVvy7NYuMTZ0sUa/OWsbMx79HVFw6u/5KWcaYayDsoOiv7xbevzDg==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-arm64-musl": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.87.0.tgz", + "integrity": "sha512-6sC+N7IY0h1egd8SrYUGNN7CUyKJZ4bIZakKa7V7hfinf4jfi8Kq4+klJvFp5DqXcwMn44I5MeBwmJluO1odFg==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-ppc64-gnu": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.87.0.tgz", + "integrity": "sha512-d5Mnn+ICbhoJPi37Ccjy+86T5qfH2+mSTrTMBXNPfB+wqSWOayBBLLIrCXdUy1YssluCVdGkl+DO9w5r5ODmUA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-riscv64-gnu": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-1.87.0.tgz", + "integrity": "sha512-sf5YWuUo1Dx9loqWCgF8P278MycfcD4JHjDC/LV5j11L3Lqa4PFiwCjD6B8kP4AjsgZZkLn3xbpJEtZBaccs4Q==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-riscv64-musl": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-1.87.0.tgz", + "integrity": "sha512-+aCraYbmK3uU3P0rFojjeaK9pGY6JvBDXh/0CM+gPyWKmNmXmnFe0qj4qj02U4ibFpbd9Pa9CmDvIdjJUd29rA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-s390x-gnu": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.87.0.tgz", + "integrity": "sha512-7rzbZQIljo6VLWVPqUyLa2P/WV3VFsJB4M52R4NCUJn1A50yjtUsHxiMHFL9opEKGFIiTbZ3VQzmtcJOPUq4NQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-x64-gnu": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.87.0.tgz", + "integrity": "sha512-Dry46Fa+AXE/xt9J/YriujU1pU9mzfNWHGQwtOYibAFH8HLrKWCi93AhIGnuUMiwn2JbuBkRyz51f50Ly4r4ow==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-x64-musl": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-musl/-/binding-linux-x64-musl-1.87.0.tgz", + "integrity": "sha512-f/HMZez74gJvnRpGz+b5sdGyWrEgRLmFTXg9sNoqjPWogGxYHUhXKTKyMiYsu9rUGR2ciYqL3fk+Ua4JhMJbRA==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-openharmony-arm64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-openharmony-arm64/-/binding-openharmony-arm64-1.87.0.tgz", + "integrity": "sha512-lEC6ZfPZm/07JlB7FsOWX9o1RiHlXiBW594LSUGuXmekC8LZmvUPP9XzE2WZcNxJi5cHA/Fw56o02c3JxgMA5g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-win32-arm64-msvc": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.87.0.tgz", + "integrity": "sha512-afBWKOD36dUiA9AenaiWpCg8xfyUVPYznyAAVXu413brK4RA5UI/Xoc4yfeGIT8G1a44MV+JR7hioryerBDzGQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-win32-ia32-msvc": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.87.0.tgz", + "integrity": "sha512-daptNsEOuru4/nJTxV4DBHNJ5GepzmaBVQf+jjgKQGi9NRlZKik+RFq4hUL7ewsF1pwjKM+SkYaMbF82UwFGnw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-win32-x64-msvc": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.87.0.tgz", + "integrity": "sha512-k+m/EShyXE29J/r1fjk0HlAzhN5JhIvj044oSJkXTEkCLrWZQgXb/3r4q5LTw/eaKW/4GuMXG2xmiJs3s5rPNw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@react-grab/cli": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@react-grab/cli/-/cli-0.2.0.tgz", + "integrity": "sha512-LVfA+j5cFT0Szd958WRD8W/B8ucCtz4ViiveDKWLqAwBkZFW9VRW1ZvwOUhp/M3SmVPtjDaRkW12GvAuTArP+Q==", + "dev": true, + "dependencies": { + "agent-install": "^0.0.6", + "commander": "^14.0.3", + "ignore": "^7.0.5", + "ora": "^9.4.0", + "package-manager-detector": "^1.6.0", + "picocolors": "^1.1.1", + "prompts": "^2.4.2", + "tinyexec": "^1.1.2" + }, + "bin": { + "react-grab": "bin/cli.js" + } + }, + "node_modules/@react-three/drei": { + "version": "10.7.9", + "resolved": "https://registry.npmjs.org/@react-three/drei/-/drei-10.7.9.tgz", + "integrity": "sha512-wP4Y6o58KFi+hT1zCfjJarRtPCT6WW/lo53WMiA/aCORuUvBzW916XsCtadnIB1KB+3IQNcDU5JeVh/gYb8MYw==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.26.0", + "@mediapipe/tasks-vision": "0.10.17", + "@monogrid/gainmap-js": "^3.0.6", + "@use-gesture/react": "^10.3.1", + "camera-controls": "^3.1.0", + "cross-env": "^7.0.3", + "detect-gpu": "^5.0.56", + "glsl-noise": "^0.0.0", + "hls.js": "^1.5.17", + "maath": "^0.10.8", + "meshline": "^3.3.1", + "stats-gl": "^2.2.8", + "stats.js": "^0.17.0", + "suspend-react": "^0.1.3", + "three-mesh-bvh": "^0.8.3", + "three-stdlib": "^2.35.6", + "troika-three-text": "^0.52.4", + "tunnel-rat": "^0.1.2", + "use-sync-external-store": "^1.4.0", + "utility-types": "^3.11.0", + "zustand": "^5.0.1" + }, + "peerDependencies": { + "@react-three/fiber": "^9.0.0", + "react": "^19", + "react-dom": "^19", + "three": ">=0.159" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + } + } + }, + "node_modules/@react-three/fiber": { + "version": "9.8.1", + "resolved": "https://registry.npmjs.org/@react-three/fiber/-/fiber-9.8.1.tgz", + "integrity": "sha512-GbNP4r6F/gpclFKkLGHzXcuwFWAzLyKsmrQGcDuwK3wQnwLH6F1TfGtEYjHy8OQoGsajwT19B9jtVLLjjfH09w==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.17.8", + "@types/webxr": "*", + "base64-js": "^1.5.1", + "buffer": "^6.0.3", + "its-fine": "^2.1.1", + "react-use-measure": "^2.1.7", + "scheduler": "^0.28.0", + "suspend-react": "^0.1.3", + "use-sync-external-store": "^1.4.0", + "zustand": "^5.0.3" + }, + "peerDependencies": { + "expo": ">=43.0", + "expo-asset": ">=8.4", + "expo-file-system": ">=11.0", + "expo-gl": ">=11.0", + "react": ">=19 <19.4", + "react-dom": ">=19 <19.4", + "react-native": ">=0.78", + "three": ">=0.156" + }, + "peerDependenciesMeta": { + "expo": { + "optional": true + }, + "expo-asset": { + "optional": true + }, + "expo-file-system": { + "optional": true + }, + "expo-gl": { + "optional": true + }, + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + } + } + }, + "node_modules/@react-three/postprocessing": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@react-three/postprocessing/-/postprocessing-3.2.0.tgz", + "integrity": "sha512-VSwaG1cimKOF3d4LWtR5BumcI4k1B+CJ8HfbeJ7msuEgtZiOnkNBGyLfRQtai3evrup+9QNRbNIIZ4UsuyEh9A==", + "license": "MIT", + "dependencies": { + "maath": "^0.10.8", + "n8ao": "^2.0.0" + }, + "peerDependencies": { + "@react-three/fiber": ">=9.7.0", + "postprocessing": "^6.36.0", + "react": "^19.0.0", + "three": ">= 0.156.0" + } + }, + "node_modules/@rolldown/binding-android-arm-eabi": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.13.tgz", + "integrity": "sha512-Vu/NICrgdRvUOeaJZIyB2FP63s6fO/4ud5l8dXmxDx9yDyn+mN0y+gsvsVviSli+T361Aqo0h46EuMoobrwawA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-android-arm64": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.13.tgz", + "integrity": "sha512-6LEoIrGy5vvCd2boNnv2soPSUZj/PRvhp8R/t9KlX+mIZxThIE/ZqxrGXxmuNX0FuvQFvLdZr7S4HrYpYBVhEQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.13.tgz", + "integrity": "sha512-CaJSRzlQ6Q+zkDMVA9OkVxBjVoPRCDEE3v0FSJ9kIQBgRjFApA3Si4ijhbNVUji7ZJt+PfO0e46qy4nPInHUPA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-x64": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.13.tgz", + "integrity": "sha512-e4r340I5hxSzJkD3YJBxgzq/rJ3wwxwdLLb2FPt1Zpyem20nrQPT11DDEEkazwxaHumH8wpglsp/Ozgj/wT6mw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.13.tgz", + "integrity": "sha512-hoBWDZ4/K/mJKVMbsgUd1jfpA2DiOrJ54mpegObU9TBHBBrtX4FLIXJJQRDPZ/2Dn91GvPob+Z2hwKJzf4E5SQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.13.tgz", + "integrity": "sha512-oF9fZu3vTWnTiVAkDFxU9PJLt1nh20K9RRpuHsR7ZnE2L7XookBbDBVLojCVSLGbvtSlxeUNnjAj6DbNsKyzbg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.13.tgz", + "integrity": "sha512-DTpb/+jMiqWMPgphn4ksW1zW+XLJ6dJJ9FMvnIk9I291LhCctMPhMYJrP5t9p6C9qa3KXadDdUEZHBaPh3kNxQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.13.tgz", + "integrity": "sha512-xU+Kvv9N2A3SY35zFh1FWWNjxbadE/BKeqnkXe7vScU4GZsw757BlVmDLITZEq8DPpk6m7uoDYkK7P+x/uU5Ow==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.13.tgz", + "integrity": "sha512-XMk/hnhh25oQ756Lclb1Q11h4ll0xC0Esa5w4Vzp+mAE2S3AGJgeM0SonrIgY8fHhjarb6hcoTuwoFG0VVP2ig==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.13.tgz", + "integrity": "sha512-U1BoTHYmlywE2n3HUWjzZ+8EQsKr+OwpxYuDWaubx42tUL8QSL7nOqRz/NVHanibbFP3M1Rxuprz/wNcbMKjqw==", + "cpu": [ + "s390x" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-gnu": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.13.tgz", + "integrity": "sha512-J4cm80Pc6wEwV5AZ42o62sIQgDk+Y7R2s646jIwuvO+4V46QB58N4vVuMPWCBaNgursXLpmUWJV//WQAkPvHBQ==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-musl": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.13.tgz", + "integrity": "sha512-W0euZS40U4V6JkmEnVCIX9mcsL6cbXQ4X8c2w+MMOIjFg68TXUW+u3RT+2e1t1pv9mg/EP3pDtK3POXdQ7Rxyw==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.13.tgz", + "integrity": "sha512-do/AF/4n9MRshia3a5aXoy8xM2c6mgfT6D7H/dY6my5z+hfCIR4ab7mk4IRj++nsEQpKy39kd0DQnDq+r692tw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.13.tgz", + "integrity": "sha512-6FtUf2cJZobutJdxnGYX8z0vtbgqU0b2v8vfBhkXb9wp2MppMFtkunE+IaOntyi01rkIQoPW2GHABtfzsC0BRQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.13.tgz", + "integrity": "sha512-UKhFaZTeTcbKrb3iU82m17jVcPEAoqDkCN5MBqgPyZSwp/cQmib21crTS0DdH7T1B7wZRWEI89YQAOJMet5yhg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", + "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tailwindcss/node": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz", + "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/remapping": "^2.3.5", + "enhanced-resolve": "^5.24.1", + "jiti": "^2.7.0", + "lightningcss": "1.32.0", + "magic-string": "^0.30.21", + "source-map-js": "^1.2.1", + "tailwindcss": "4.3.3" + } + }, + "node_modules/@tailwindcss/node/node_modules/lightningcss": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", + "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.32.0", + "lightningcss-darwin-arm64": "1.32.0", + "lightningcss-darwin-x64": "1.32.0", + "lightningcss-freebsd-x64": "1.32.0", + "lightningcss-linux-arm-gnueabihf": "1.32.0", + "lightningcss-linux-arm64-gnu": "1.32.0", + "lightningcss-linux-arm64-musl": "1.32.0", + "lightningcss-linux-x64-gnu": "1.32.0", + "lightningcss-linux-x64-musl": "1.32.0", + "lightningcss-win32-arm64-msvc": "1.32.0", + "lightningcss-win32-x64-msvc": "1.32.0" + } + }, + "node_modules/@tailwindcss/node/node_modules/lightningcss-android-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz", + "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@tailwindcss/node/node_modules/lightningcss-darwin-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz", + "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@tailwindcss/node/node_modules/lightningcss-darwin-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz", + "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@tailwindcss/node/node_modules/lightningcss-freebsd-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz", + "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz", + "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz", + "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-arm64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz", + "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-x64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz", + "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-x64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz", + "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@tailwindcss/node/node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz", + "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@tailwindcss/node/node_modules/lightningcss-win32-x64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz", + "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@tailwindcss/oxide": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz", + "integrity": "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 20" + }, + "optionalDependencies": { + "@tailwindcss/oxide-android-arm64": "4.3.3", + "@tailwindcss/oxide-darwin-arm64": "4.3.3", + "@tailwindcss/oxide-darwin-x64": "4.3.3", + "@tailwindcss/oxide-freebsd-x64": "4.3.3", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3", + "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3", + "@tailwindcss/oxide-linux-arm64-musl": "4.3.3", + "@tailwindcss/oxide-linux-x64-gnu": "4.3.3", + "@tailwindcss/oxide-linux-x64-musl": "4.3.3", + "@tailwindcss/oxide-wasm32-wasi": "4.3.3", + "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3", + "@tailwindcss/oxide-win32-x64-msvc": "4.3.3" + } + }, + "node_modules/@tailwindcss/oxide-android-arm64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.3.tgz", + "integrity": "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-darwin-arm64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.3.tgz", + "integrity": "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-darwin-x64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.3.tgz", + "integrity": "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-freebsd-x64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.3.tgz", + "integrity": "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.3.tgz", + "integrity": "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.3.tgz", + "integrity": "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-musl": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.3.tgz", + "integrity": "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-x64-gnu": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.3.tgz", + "integrity": "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-x64-musl": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.3.tgz", + "integrity": "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.3.tgz", + "integrity": "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==", + "bundleDependencies": [ + "@napi-rs/wasm-runtime", + "@emnapi/core", + "@emnapi/runtime", + "@tybys/wasm-util", + "@emnapi/wasi-threads", + "tslib" + ], + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "^1.11.1", + "@emnapi/runtime": "^1.11.1", + "@emnapi/wasi-threads": "^1.2.2", + "@napi-rs/wasm-runtime": "^1.1.4", + "@tybys/wasm-util": "^0.10.2", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.3.tgz", + "integrity": "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-win32-x64-msvc": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.3.tgz", + "integrity": "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/vite": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.3.tgz", + "integrity": "sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@tailwindcss/node": "4.3.3", + "@tailwindcss/oxide": "4.3.3", + "tailwindcss": "4.3.3" + }, + "peerDependencies": { + "vite": "^5.2.0 || ^6 || ^7 || ^8" + } + }, + "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==", + "license": "MIT" + }, + "node_modules/@types/draco3d": { + "version": "1.4.10", + "resolved": "https://registry.npmjs.org/@types/draco3d/-/draco3d-1.4.10.tgz", + "integrity": "sha512-AX22jp8Y7wwaBgAixaSvkoG4M/+PlAcm3Qs4OW8yT9DM4xUpWKeFhLueTAyZF39pviAdcDdeJoACapiAceqNcw==", + "license": "MIT" + }, + "node_modules/@types/offscreencanvas": { + "version": "2019.7.3", + "resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.7.3.tgz", + "integrity": "sha512-ieXiYmgSRXUDeOntE1InxjWyvEelZGP63M+cGuquuRLuIKKT1osnkXjxev9B7d1nXSug5vpunx+gNlbVxMlC9A==", + "license": "MIT" + }, + "node_modules/@types/react": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz", + "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==", + "license": "MIT", + "dependencies": { + "csstype": "^3.2.2" + } + }, + "node_modules/@types/react-dom": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.3.0.tgz", + "integrity": "sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^19.3.0" + } + }, + "node_modules/@types/react-reconciler": { + "version": "0.28.9", + "resolved": "https://registry.npmjs.org/@types/react-reconciler/-/react-reconciler-0.28.9.tgz", + "integrity": "sha512-HHM3nxyUZ3zAylX8ZEyrDNd2XZOnQ0D5XfunJF5FLQnZbHHYq4UWvW1QfelQNXv1ICNkwYhfxjwfnqivYB6bFg==", + "license": "MIT", + "peerDependencies": { + "@types/react": "*" + } + }, + "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==", + "license": "MIT" + }, + "node_modules/@types/three": { + "version": "0.186.0", + "resolved": "https://registry.npmjs.org/@types/three/-/three-0.186.0.tgz", + "integrity": "sha512-mxYSBpDC+D0pLfSP6sW4WZTcT+nrtmZcimMqnVmy36Hte3XpeYSrvgg4TRdaM1GemGog1AWzI5qL2VoIfMXbJQ==", + "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.3", + "meshoptimizer": "~1.1.1" + } + }, + "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==", + "license": "MIT" + }, + "node_modules/@use-gesture/core": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/@use-gesture/core/-/core-10.3.1.tgz", + "integrity": "sha512-WcINiDt8WjqBdUXye25anHiNxPc0VOrlT8F6LLkU6cycrOGUDyY/yyFmsg3k8i5OLvv25llc0QC45GhR/C8llw==", + "license": "MIT" + }, + "node_modules/@use-gesture/react": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/@use-gesture/react/-/react-10.3.1.tgz", + "integrity": "sha512-Yy19y6O2GJq8f7CHf7L0nxL8bf4PZCPaVOCgJrusOeFHY1LvHgYXnmnXg6N5iwAnbgbZCDjo60SiM6IPJi9C5g==", + "license": "MIT", + "dependencies": { + "@use-gesture/core": "10.3.1" + }, + "peerDependencies": { + "react": ">= 16.8.0" + } + }, + "node_modules/@vitejs/plugin-react": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.1.2.tgz", + "integrity": "sha512-fhJNGUdscQa4HkI0xFxwonWyhnVReCPDbXI7FH7jmzpnVCrFQI7PRrhWecO263610vOrs9tr2Y4xcf8uAdFxbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rolldown/pluginutils": "^1.0.1" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0", + "babel-plugin-react-compiler": "^1.0.0", + "oxc-transform-react": "^0.152.0", + "vite": "^8.0.0" + }, + "peerDependenciesMeta": { + "@rolldown/plugin-babel": { + "optional": true + }, + "babel-plugin-react-compiler": { + "optional": true + }, + "oxc-transform-react": { + "optional": true + } + } + }, + "node_modules/agent-install": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/agent-install/-/agent-install-0.0.6.tgz", + "integrity": "sha512-7NRMZ/ZDz2vHevQTgJsocBFpakB1/Wx5ip19YSJuj4VOXpraWztTerViNtdSyARKZT9e2yVwUUB5JXXCE7mNrA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@iarna/toml": "^2.2.5", + "commander": "^14.0.0", + "jsonc-parser": "^3.3.1", + "picocolors": "^1.1.1", + "prompts": "^2.4.2", + "yaml": "^2.8.3" + }, + "bin": { + "agent-install": "bin/agent-install.mjs" + } + }, + "node_modules/ansi-regex": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz", + "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/bidi-js": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.1.0.tgz", + "integrity": "sha512-fX1Onk0tdVPC7obPWB5EbJ1z7NVhLq4m2xZLq2YXBkxzMXIGRpNMU88n0EPgWseKl12J7zXs7qrDxPK4sRs2fg==", + "license": "MIT", + "dependencies": { + "require-from-string": "^2.0.2" + } + }, + "node_modules/bippy": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/bippy/-/bippy-0.6.1.tgz", + "integrity": "sha512-ky4m94Y/KfsddjGkKTsV4uFjZqkJjpOjQ2t5gKPdX6XH1MNxMNX5FrVefsxV4lpjemEmEdwe0e0YbzAMNs3oUQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "react": ">=17.0.1" + } + }, + "node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/camera-controls": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/camera-controls/-/camera-controls-3.1.2.tgz", + "integrity": "sha512-xkxfpG2ECZ6Ww5/9+kf4mfg1VEYAoe9aDSY+IwF0UEs7qEzwy0aVRfs2grImIECs/PoBtWFrh7RXsQkwG922JA==", + "license": "MIT", + "engines": { + "node": ">=22.0.0", + "npm": ">=10.5.1" + }, + "peerDependencies": { + "three": ">=0.126.1" + } + }, + "node_modules/chalk": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/cli-cursor": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", + "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-spinners": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-3.4.0.tgz", + "integrity": "sha512-bXfOC4QcT1tKXGorxL3wbJm6XJPDqEnij2gQ2m7ESQuE+/z9YFIWnl/5RpTiKWbMq3EVKR4fRLJGn6DVfu0mpw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/commander": { + "version": "14.0.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", + "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + } + }, + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "license": "MIT" + }, + "node_modules/detect-gpu": { + "version": "5.0.70", + "resolved": "https://registry.npmjs.org/detect-gpu/-/detect-gpu-5.0.70.tgz", + "integrity": "sha512-bqerEP1Ese6nt3rFkwPnGbsUF9a4q+gMmpTVVOEzoCyeCc+y7/RvJnQZJx1JwhgQI5Ntg0Kgat8Uu7XpBqnz1w==", + "license": "MIT", + "dependencies": { + "webgl-constants": "^1.1.1" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/draco3d": { + "version": "1.5.7", + "resolved": "https://registry.npmjs.org/draco3d/-/draco3d-1.5.7.tgz", + "integrity": "sha512-m6WCKt/erDXcw+70IJXnG7M3awwQPAsZvJGX5zY7beBqpELw6RDGkYVU0W43AFxye4pDZ5i2Lbyc/NNGqwjUVQ==", + "license": "Apache-2.0" + }, + "node_modules/enhanced-resolve": { + "version": "5.26.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz", + "integrity": "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.3.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/fflate": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.3.tgz", + "integrity": "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==", + "license": "MIT" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/get-east-asian-width": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz", + "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/glsl-noise": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/glsl-noise/-/glsl-noise-0.0.0.tgz", + "integrity": "sha512-b/ZCF6amfAUb7dJM/MxRs7AetQEahYzJ8PtgfrmEdtw6uyGOr+ZSGtgjFm6mfsBkxJ4d2W7kg+Nlqzqvn3Bc0w==", + "license": "MIT" + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "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/hls.js": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.7.3.tgz", + "integrity": "sha512-MsPlx6yVW4Qv4C7mEVou4/gk/5cN2dVxOTnrNjPSmyH2f0Ln+/UkG10Ax1PE6OvrmTVPKgQYozTtBaPOuCzq7A==", + "license": "Apache-2.0" + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/ignore": { + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.12.tgz", + "integrity": "sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==", + "license": "MIT" + }, + "node_modules/is-interactive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", + "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==", + "license": "MIT" + }, + "node_modules/is-unicode-supported": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, + "node_modules/its-fine": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/its-fine/-/its-fine-2.1.1.tgz", + "integrity": "sha512-C5ZoVkeqSt0Aje0tzESO+iT/EQpNFNL39GkP7mCACtoZUFD6GcyerFCr6kp0ZtiII4W9HoYkY48Soy5xE/uHKw==", + "license": "MIT", + "dependencies": { + "@types/react-reconciler": "^0.28.9" + }, + "peerDependencies": { + "react": "^19.0.0" + } + }, + "node_modules/jiti": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", + "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==", + "dev": true, + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, + "node_modules/jsonc-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz", + "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "license": "MIT", + "dependencies": { + "immediate": "~3.0.5" + } + }, + "node_modules/lightningcss": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", + "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.33.0", + "lightningcss-darwin-arm64": "1.33.0", + "lightningcss-darwin-x64": "1.33.0", + "lightningcss-freebsd-x64": "1.33.0", + "lightningcss-linux-arm-gnueabihf": "1.33.0", + "lightningcss-linux-arm64-gnu": "1.33.0", + "lightningcss-linux-arm64-musl": "1.33.0", + "lightningcss-linux-x64-gnu": "1.33.0", + "lightningcss-linux-x64-musl": "1.33.0", + "lightningcss-win32-arm64-msvc": "1.33.0", + "lightningcss-win32-x64-msvc": "1.33.0" + } + }, + "node_modules/lightningcss-android-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz", + "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz", + "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz", + "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz", + "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz", + "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz", + "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz", + "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz", + "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz", + "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz", + "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz", + "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/log-symbols": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-7.0.1.tgz", + "integrity": "sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-unicode-supported": "^2.0.0", + "yoctocolors": "^2.1.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lucide-react": { + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.56.0.tgz", + "integrity": "sha512-b+hqj30/trHBma5r1zlKb6yLewQp6tUtnz9loc3xdrYerPmvLYhlEbyPVCJ8DOg2/blBf6lwPLznftFVACka6A==", + "license": "ISC", + "peerDependencies": { + "@types/react": "*", + "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/maath": { + "version": "0.10.8", + "resolved": "https://registry.npmjs.org/maath/-/maath-0.10.8.tgz", + "integrity": "sha512-tRvbDF0Pgqz+9XUa4jjfgAQ8/aPKmQdWXilFu2tMy4GWj4NOsx99HlULO4IeREfbO3a0sA145DZYyvXPkybm0g==", + "license": "MIT", + "peerDependencies": { + "@types/three": ">=0.134.0", + "three": ">=0.134.0" + } + }, + "node_modules/magic-string": { + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.5" + } + }, + "node_modules/meshline": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/meshline/-/meshline-3.3.1.tgz", + "integrity": "sha512-/TQj+JdZkeSUOl5Mk2J7eLcYTLiQm2IDzmlSvYm7ov15anEcDJ92GHqqazxTSreeNgfnYu24kiEvvv0WlbCdFQ==", + "license": "MIT", + "peerDependencies": { + "three": ">=0.137" + } + }, + "node_modules/meshoptimizer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/meshoptimizer/-/meshoptimizer-1.1.1.tgz", + "integrity": "sha512-oRFNWJRDA/WTrVj7NWvqa5HqE1t9MYDj2VaWirQCzCCrAd2GHrqR/sQezCxiWATPNlKTcRaPRHPJwIRoPBAp5g==", + "license": "MIT" + }, + "node_modules/mimic-function": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", + "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/n8ao": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/n8ao/-/n8ao-2.0.1.tgz", + "integrity": "sha512-MoP1QKUdj4/3cKEnhFl917t0eQwWGER1l43ckz5mNOPyYWGRDGQbVoTOQz/VBvy01in6QVNG+AL6Xxx5AjZBYA==", + "license": "ISC", + "peerDependencies": { + "postprocessing": ">=6.30.0", + "three": ">=0.137" + } + }, + "node_modules/nanoid": { + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/onetime": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", + "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-function": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora": { + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-9.4.1.tgz", + "integrity": "sha512-6VlU9MLXbjVQD04AZCMX28hVtA5bUoadvUqO76MUCVA0ilwJbMiHsITRPfyVm6p/BC0Av/BXMujx39WCe1LEqw==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^5.6.2", + "cli-cursor": "^5.0.0", + "cli-spinners": "^3.2.0", + "is-interactive": "^2.0.0", + "is-unicode-supported": "^2.1.0", + "log-symbols": "^7.0.1", + "stdin-discarder": "^0.3.2", + "string-width": "^8.1.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/oxlint": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.87.0.tgz", + "integrity": "sha512-drxVlaW7Oqq7wSy1CN25znRu00aRq8n57Q2wniJRxCmtYVz07ufCm7EVDPQFZURrTgQIjzKrVEHAD/HcvJXObg==", + "dev": true, + "license": "MIT", + "bin": { + "oxlint": "bin/oxlint" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/sponsors/oxc-project" + }, + "optionalDependencies": { + "@oxlint/binding-android-arm-eabi": "1.87.0", + "@oxlint/binding-android-arm64": "1.87.0", + "@oxlint/binding-darwin-arm64": "1.87.0", + "@oxlint/binding-darwin-x64": "1.87.0", + "@oxlint/binding-freebsd-x64": "1.87.0", + "@oxlint/binding-linux-arm-gnueabihf": "1.87.0", + "@oxlint/binding-linux-arm-musleabihf": "1.87.0", + "@oxlint/binding-linux-arm64-gnu": "1.87.0", + "@oxlint/binding-linux-arm64-musl": "1.87.0", + "@oxlint/binding-linux-ppc64-gnu": "1.87.0", + "@oxlint/binding-linux-riscv64-gnu": "1.87.0", + "@oxlint/binding-linux-riscv64-musl": "1.87.0", + "@oxlint/binding-linux-s390x-gnu": "1.87.0", + "@oxlint/binding-linux-x64-gnu": "1.87.0", + "@oxlint/binding-linux-x64-musl": "1.87.0", + "@oxlint/binding-openharmony-arm64": "1.87.0", + "@oxlint/binding-win32-arm64-msvc": "1.87.0", + "@oxlint/binding-win32-ia32-msvc": "1.87.0", + "@oxlint/binding-win32-x64-msvc": "1.87.0" + }, + "peerDependencies": { + "oxlint-tsgolint": ">=7.0.2003", + "vite-plus": "*" + }, + "peerDependenciesMeta": { + "oxlint-tsgolint": { + "optional": true + }, + "vite-plus": { + "optional": true + } + } + }, + "node_modules/package-manager-detector": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.9.0.tgz", + "integrity": "sha512-zAMfbta9nPA8AKkA4WdmNAT8R8s6Dk0/xwPsqNnRidMFcLo1YkLuPDTgs2f64XdzS8vbLNnoJ+uUIkgbz7oRHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.30", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.30.tgz", + "integrity": "sha512-zkd+e9S1AQHhmaBKye9zlFHWjOwVgqXl1q3ECYy8561K7qxR2cREf/STLskulBFd78k6AOFeA+ff1TtEzk9bAA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.20", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postprocessing": { + "version": "6.39.5", + "resolved": "https://registry.npmjs.org/postprocessing/-/postprocessing-6.39.5.tgz", + "integrity": "sha512-YmH+t74J2X1lwYjKzK/tgs9C9kqWWPB9JwZiDF5mEf4BdCEAmEFbO8lXBA7NM0/j4g+x6FgD/Tt5/kT7ogbEDA==", + "license": "Zlib", + "peerDependencies": { + "three": ">= 0.168.0 < 0.187.0" + } + }, + "node_modules/potpack": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.2.tgz", + "integrity": "sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==", + "license": "ISC" + }, + "node_modules/promise-worker-transferable": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/promise-worker-transferable/-/promise-worker-transferable-1.0.4.tgz", + "integrity": "sha512-bN+0ehEnrXfxV2ZQvU2PetO0n4gqBD4ulq3MI1WOPLgr7/Mg9yRQkX5+0v1vagr74ZTsl7XtzlaYDo2EuCeYJw==", + "license": "Apache-2.0", + "dependencies": { + "is-promise": "^2.1.0", + "lie": "^3.0.2" + } + }, + "node_modules/prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/react": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.3.0.tgz", + "integrity": "sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.0.tgz", + "integrity": "sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q==", + "license": "MIT", + "dependencies": { + "scheduler": "^0.28.0" + }, + "peerDependencies": { + "react": "^19.3.0" + } + }, + "node_modules/react-grab": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/react-grab/-/react-grab-0.2.0.tgz", + "integrity": "sha512-ohhsfXD4qN0j6cMQd56aaVJBPDF3kUdviF/Od1Eak/rEIXQ3svQ4gjkwTfuTZwTBnxHRL16p9JqdlVQO5nUHqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@react-grab/cli": "0.2.0", + "bippy": "^0.6.1" + }, + "bin": { + "react-grab": "bin/cli.js" + }, + "peerDependencies": { + "react": ">=17.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + } + } + }, + "node_modules/react-use-measure": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/react-use-measure/-/react-use-measure-2.1.7.tgz", + "integrity": "sha512-KrvcAo13I/60HpwGO5jpW7E9DfusKyLPLvuHlUyP5zqnmAPhNc6qTRjUQrdTADl0lpPpDVU2/Gg51UlOGHXbdg==", + "license": "MIT", + "peerDependencies": { + "react": ">=16.13", + "react-dom": ">=16.13" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + } + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/restore-cursor": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", + "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "onetime": "^7.0.0", + "signal-exit": "^4.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/rolldown": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.13.tgz", + "integrity": "sha512-/5apOkwWxtACcQtZ5WlrAsKS4JwXVThQPJZ3RqIruRY9UG9M8e0VlXN068xum/JRKA4aIUoJ13ghe/kGCvidiQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@oxc-project/types": "=0.153.0", + "@rolldown/pluginutils": "^1.0.0" + }, + "bin": { + "rolldown": "bin/cli.mjs" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "optionalDependencies": { + "@rolldown/binding-android-arm-eabi": "1.2.13", + "@rolldown/binding-android-arm64": "1.2.13", + "@rolldown/binding-darwin-arm64": "1.2.13", + "@rolldown/binding-darwin-x64": "1.2.13", + "@rolldown/binding-freebsd-x64": "1.2.13", + "@rolldown/binding-linux-arm-gnueabihf": "1.2.13", + "@rolldown/binding-linux-arm64-gnu": "1.2.13", + "@rolldown/binding-linux-arm64-musl": "1.2.13", + "@rolldown/binding-linux-ppc64-gnu": "1.2.13", + "@rolldown/binding-linux-s390x-gnu": "1.2.13", + "@rolldown/binding-linux-x64-gnu": "1.2.13", + "@rolldown/binding-linux-x64-musl": "1.2.13", + "@rolldown/binding-openharmony-arm64": "1.2.13", + "@rolldown/binding-win32-arm64-msvc": "1.2.13", + "@rolldown/binding-win32-x64-msvc": "1.2.13" + } + }, + "node_modules/scheduler": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz", + "integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==", + "license": "MIT" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "dev": true, + "license": "MIT" + }, + "node_modules/source-map-js": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stats-gl": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/stats-gl/-/stats-gl-2.4.2.tgz", + "integrity": "sha512-g5O9B0hm9CvnM36+v7SFl39T7hmAlv541tU81ME8YeSb3i1CIP5/QdDeSB3A0la0bKNHpxpwxOVRo2wFTYEosQ==", + "license": "MIT", + "dependencies": { + "@types/three": "*", + "three": "^0.170.0" + }, + "peerDependencies": { + "@types/three": "*", + "three": "*" + } + }, + "node_modules/stats-gl/node_modules/three": { + "version": "0.170.0", + "resolved": "https://registry.npmjs.org/three/-/three-0.170.0.tgz", + "integrity": "sha512-FQK+LEpYc0fBD+J8g6oSEyyNzjp+Q7Ks1C568WWaoMRLW+TkNNWmenWeGgJjV105Gd+p/2ql1ZcjYvNiPZBhuQ==", + "license": "MIT" + }, + "node_modules/stats.js": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/stats.js/-/stats.js-0.17.0.tgz", + "integrity": "sha512-hNKz8phvYLPEcRkeG1rsGmV5ChMjKDAWU7/OJJdDErPBNChQXxCo3WZurGpnWc6gZhAzEPFad1aVgyOANH1sMw==", + "license": "MIT" + }, + "node_modules/stdin-discarder": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.3.2.tgz", + "integrity": "sha512-eCPu1qRxPVkl5605OTWF8Wz40b4Mf45NY5LQmVPQ599knfs5QhASUm9GbJ5BDMDOXgrnh0wyEdvzmL//YMlw0A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz", + "integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/suspend-react": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/suspend-react/-/suspend-react-0.1.3.tgz", + "integrity": "sha512-aqldKgX9aZqpoDp3e8/BZ8Dm7x1pJl+qI3ZKxDN0i/IQTWUwBx/ManmlVJ3wowqbno6c2bmiIfs+Um6LbsjJyQ==", + "license": "MIT", + "peerDependencies": { + "react": ">=17.0" + } + }, + "node_modules/tailwindcss": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.3.tgz", + "integrity": "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/tapable": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz", + "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/three": { + "version": "0.186.1", + "resolved": "https://registry.npmjs.org/three/-/three-0.186.1.tgz", + "integrity": "sha512-blFeqb49wRCSGUGj7gtpfnSGHy2lwDk94RhUmS1c/hTby70kvChbWpkJ4Pm1390LqzzvTmzgXKHPEafJwCb8jA==", + "license": "MIT" + }, + "node_modules/three-mesh-bvh": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/three-mesh-bvh/-/three-mesh-bvh-0.8.3.tgz", + "integrity": "sha512-4G5lBaF+g2auKX3P0yqx+MJC6oVt6sB5k+CchS6Ob0qvH0YIhuUk1eYr7ktsIpY+albCqE80/FVQGV190PmiAg==", + "license": "MIT", + "peerDependencies": { + "three": ">= 0.159.0" + } + }, + "node_modules/three-stdlib": { + "version": "2.36.1", + "resolved": "https://registry.npmjs.org/three-stdlib/-/three-stdlib-2.36.1.tgz", + "integrity": "sha512-XyGQrFmNQ5O/IoKm556ftwKsBg11TIb301MB5dWNicziQBEs2g3gtOYIf7pFiLa0zI2gUwhtCjv9fmjnxKZ1Cg==", + "license": "MIT", + "dependencies": { + "@types/draco3d": "^1.4.0", + "@types/offscreencanvas": "^2019.6.4", + "@types/webxr": "^0.5.2", + "draco3d": "^1.4.1", + "fflate": "^0.6.9", + "potpack": "^1.0.1" + }, + "peerDependencies": { + "three": ">=0.128.0" + } + }, + "node_modules/three-stdlib/node_modules/fflate": { + "version": "0.6.11", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.6.11.tgz", + "integrity": "sha512-3JyEFWGjFn7zHmoa9+zG1BmW7X2okcmAB+0Cnu9UFbVs/jCBnl2A8o065ZlXiw145K3eBM3uLuzrYXC0RK7eDg==", + "license": "MIT" + }, + "node_modules/tinyexec": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.1.tgz", + "integrity": "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/troika-three-text": { + "version": "0.52.5", + "resolved": "https://registry.npmjs.org/troika-three-text/-/troika-three-text-0.52.5.tgz", + "integrity": "sha512-Ry3jRhic9pzcY4JduSvRRyDmVOSqEW19gT4vtK+aCiPNVcDlmkxvGG0YbFd36RTDq1wExOupXnvNF/j1oiHHDA==", + "license": "MIT", + "dependencies": { + "bidi-js": "^1.0.2", + "troika-three-utils": "^0.52.5", + "troika-worker-utils": "^0.52.0", + "webgl-sdf-generator": "1.1.1" + }, + "peerDependencies": { + "three": ">=0.125.0" + } + }, + "node_modules/troika-three-utils": { + "version": "0.52.5", + "resolved": "https://registry.npmjs.org/troika-three-utils/-/troika-three-utils-0.52.5.tgz", + "integrity": "sha512-WsePbcX8RtfidRfsxK1eCZCjF81ZDzAKHH/evLs0hdV2wpoCb0vArGZHdzdOJrSS3k4zfdtbKDaBh8+phkrYnw==", + "license": "MIT", + "peerDependencies": { + "three": ">=0.125.0" + } + }, + "node_modules/troika-worker-utils": { + "version": "0.52.0", + "resolved": "https://registry.npmjs.org/troika-worker-utils/-/troika-worker-utils-0.52.0.tgz", + "integrity": "sha512-W1CpvTHykaPH5brv5VHLfQo9D1OYuo0cSBEUQFFT/nBUzM8iD6Lq2/tgG/f1OelbAS1WtaTPQzE5uM49egnngw==", + "license": "MIT" + }, + "node_modules/tunnel-rat": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/tunnel-rat/-/tunnel-rat-0.1.2.tgz", + "integrity": "sha512-lR5VHmkPhzdhrM092lI2nACsLO4QubF0/yoOhzX7c+wIpbN1GjHNzCc91QlpxBi+cnx8vVJ+Ur6vL5cEoQPFpQ==", + "license": "MIT", + "dependencies": { + "zustand": "^4.3.2" + } + }, + "node_modules/tunnel-rat/node_modules/zustand": { + "version": "4.5.7", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz", + "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==", + "license": "MIT", + "dependencies": { + "use-sync-external-store": "^1.2.2" + }, + "engines": { + "node": ">=12.7.0" + }, + "peerDependencies": { + "@types/react": ">=16.8", + "immer": ">=9.0.6", + "react": ">=16.8" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "immer": { + "optional": true + }, + "react": { + "optional": true + } + } + }, + "node_modules/use-sync-external-store": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz", + "integrity": "sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/utility-types": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.11.0.tgz", + "integrity": "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/vite": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.4.tgz", + "integrity": "sha512-IftLE8phJhdNRIGNEV4JCCvfNScoZQVfcXaN8TQropWGJtOHcu+iAB9pHcuGvmEb/kddw0LBe/jS8ztdC6xdiQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "lightningcss": "^1.33.0", + "picomatch": "^4.0.7", + "postcss": "^8.5.29", + "rolldown": "~1.2.12", + "tinyglobby": "^0.2.17" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "@vitejs/devtools": "^0.7.1", + "esbuild": "^0.27.0 || ^0.28.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "@vitejs/devtools": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/webgl-constants": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/webgl-constants/-/webgl-constants-1.1.1.tgz", + "integrity": "sha512-LkBXKjU5r9vAW7Gcu3T5u+5cvSvh5WwINdr0C+9jpzVB41cjQAP5ePArDtk/WHYdVj0GefCgM73BA7FlIiNtdg==" + }, + "node_modules/webgl-sdf-generator": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/webgl-sdf-generator/-/webgl-sdf-generator-1.1.1.tgz", + "integrity": "sha512-9Z0JcMTFxeE+b2x1LJTdnaT8rT8aEp7MVxkNwoycNmJWwPdzoXzMh0BjJSh/AEFP+KPYZUli814h8bJZFIZ2jA==", + "license": "MIT" + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/yaml": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.1.tgz", + "integrity": "sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==", + "dev": true, + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" + } + }, + "node_modules/yoctocolors": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.2.0.tgz", + "integrity": "sha512-xYqdZFUK/VYazNl/oCDYN+3WloWQwMfZxBoiNt6qNyk+xfOdi598muWE42rNZFp1kNOiqW936q5RhUdnpqElSg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zustand": { + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.15.tgz", + "integrity": "sha512-MpSEjRiBkA9crSYeOUH32rJC7SVqAbm0Fqcqge/bUi2PPoLcBWKOsG+C8mevmpr8TwXHBVkChbbJiyvkE+i/3A==", + "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 new file mode 100644 index 0000000..5e35fc2 --- /dev/null +++ b/package.json @@ -0,0 +1,34 @@ +{ + "name": "temp-vite", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "lint": "oxlint", + "preview": "vite preview" + }, + "dependencies": { + "@gsap/react": "^2.1.2", + "@react-three/drei": "^10.7.9", + "@react-three/fiber": "^9.8.1", + "@react-three/postprocessing": "^3.2.0", + "gsap": "^3.15.0", + "lucide-react": "^1.56.0", + "postprocessing": "^6.39.5", + "react": "^19.2.8", + "react-dom": "^19.2.8", + "three": "^0.186.1" + }, + "devDependencies": { + "@tailwindcss/vite": "^4.3.3", + "@types/react": "^19.2.18", + "@types/react-dom": "^19.2.7", + "@vitejs/plugin-react": "^6.1.1", + "oxlint": "^1.81.0", + "react-grab": "^0.2.0", + "tailwindcss": "^4.3.3", + "vite": "^8.3.0" + } +} diff --git a/public/cruise_ship.glb b/public/cruise_ship.glb new file mode 100644 index 0000000..72ad79f Binary files /dev/null and b/public/cruise_ship.glb differ diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..6893eb1 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/icons.svg b/public/icons.svg new file mode 100644 index 0000000..e952219 --- /dev/null +++ b/public/icons.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/ship.glb b/public/ship.glb new file mode 120000 index 0000000..aa5aa92 --- /dev/null +++ b/public/ship.glb @@ -0,0 +1 @@ +cruise_ship.glb \ No newline at end of file diff --git a/src/App.css b/src/App.css new file mode 100644 index 0000000..f90339d --- /dev/null +++ b/src/App.css @@ -0,0 +1,184 @@ +.counter { + font-size: 16px; + padding: 5px 10px; + border-radius: 5px; + color: var(--accent); + background: var(--accent-bg); + border: 2px solid transparent; + transition: border-color 0.3s; + margin-bottom: 24px; + + &:hover { + border-color: var(--accent-border); + } + &:focus-visible { + outline: 2px solid var(--accent); + outline-offset: 2px; + } +} + +.hero { + position: relative; + + .base, + .framework, + .vite { + inset-inline: 0; + margin: 0 auto; + } + + .base { + width: 170px; + position: relative; + z-index: 0; + } + + .framework, + .vite { + position: absolute; + } + + .framework { + z-index: 1; + top: 34px; + height: 28px; + transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg) + scale(1.4); + } + + .vite { + z-index: 0; + top: 107px; + height: 26px; + width: auto; + transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg) + scale(0.8); + } +} + +#center { + display: flex; + flex-direction: column; + gap: 25px; + place-content: center; + place-items: center; + flex-grow: 1; + + @media (max-width: 1024px) { + padding: 32px 20px 24px; + gap: 18px; + } +} + +#next-steps { + display: flex; + border-top: 1px solid var(--border); + text-align: left; + + & > div { + flex: 1 1 0; + padding: 32px; + @media (max-width: 1024px) { + padding: 24px 20px; + } + } + + .icon { + margin-bottom: 16px; + width: 22px; + height: 22px; + } + + @media (max-width: 1024px) { + flex-direction: column; + text-align: center; + } +} + +#docs { + border-right: 1px solid var(--border); + + @media (max-width: 1024px) { + border-right: none; + border-bottom: 1px solid var(--border); + } +} + +#next-steps ul { + list-style: none; + padding: 0; + display: flex; + gap: 8px; + margin: 32px 0 0; + + .logo { + height: 18px; + } + + a { + color: var(--text-h); + font-size: 16px; + border-radius: 6px; + background: var(--social-bg); + display: flex; + padding: 6px 12px; + align-items: center; + gap: 8px; + text-decoration: none; + transition: box-shadow 0.3s; + + &:hover { + box-shadow: var(--shadow); + } + .button-icon { + height: 18px; + width: 18px; + } + } + + @media (max-width: 1024px) { + margin-top: 20px; + flex-wrap: wrap; + justify-content: center; + + li { + flex: 1 1 calc(50% - 8px); + } + + a { + width: 100%; + justify-content: center; + box-sizing: border-box; + } + } +} + +#spacer { + height: 88px; + border-top: 1px solid var(--border); + @media (max-width: 1024px) { + height: 48px; + } +} + +.ticks { + position: relative; + width: 100%; + + &::before, + &::after { + content: ''; + position: absolute; + top: -4.5px; + border: 5px solid transparent; + } + + &::before { + left: 0; + border-left-color: var(--border); + } + &::after { + right: 0; + border-right-color: var(--border); + } +} diff --git a/src/App.jsx b/src/App.jsx new file mode 100644 index 0000000..a3de82f --- /dev/null +++ b/src/App.jsx @@ -0,0 +1,113 @@ +import React, { useRef, useState, useEffect } from "react"; +import gsap from "gsap"; +import { ScrollTrigger } from "gsap/ScrollTrigger"; +import Scene from "./components/Scene"; +import Overlay from "./components/Overlay"; + +gsap.registerPlugin(ScrollTrigger); + +export default function App() { + const containerRef = useRef(null); + // Shared ref for 60fps/120fps animation loop without React state overhead + const scrollProgress = useRef(0); + const [hudProgress, setHudProgress] = useState(0); + const [dragToRotate, setDragToRotate] = useState(false); + + const toggleDragToRotate = () => { + setDragToRotate((prev) => !prev); + }; + + useEffect(() => { + const ctx = gsap.context(() => { + // Create master ScrollTrigger spanning the 400vh container + ScrollTrigger.create({ + trigger: containerRef.current, + start: "top top", + end: "bottom bottom", + scrub: 1.0, // Smooth inertia scrub + onUpdate: (self) => { + scrollProgress.current = self.progress; + // Only trigger React state update when active section (0, 1, 2, 3) actually changes + // Eliminates 60+ re-renders per second that cause WebGL canvas flickering + const nextSection = Math.min(3, Math.floor(self.progress * 3.99)); + setHudProgress((prev) => (prev !== nextSection ? nextSection : prev)); + }, + }); + + // Hero section: visible on load, smoothly fades out as user scrolls down + gsap.to("#section-0 .hero-content", { + opacity: 0, + y: -60, + ease: "power1.out", + scrollTrigger: { + trigger: "#section-0", + start: "15% top", + end: "85% top", + scrub: true, + }, + }); + + // Sections 1, 2, 3 fade in on scroll smoothly with scrub: true (never flickering toggleActions) + const scrollSections = [1, 2, 3]; + scrollSections.forEach((idx) => { + const el = document.getElementById(`section-${idx}`); + if (el) { + const panel = el.querySelector(".glass-panel"); + if (panel) { + gsap.fromTo( + panel, + { + opacity: 0, + y: 40, + }, + { + opacity: 1, + y: 0, + ease: "power2.out", + scrollTrigger: { + trigger: el, + start: "top 80%", + end: "top 30%", + scrub: true, + }, + } + ); + } + } + }); + }, containerRef); + + // Refresh ScrollTrigger when layout is fully settled + ScrollTrigger.refresh(); + + return () => { + ctx.revert(); + }; + }, []); + + // Smooth programmatic scroll to a specific section + const handleScrollToSection = (sectionIndex) => { + const targetElement = document.getElementById(`section-${sectionIndex}`); + if (targetElement) { + targetElement.scrollIntoView({ behavior: "smooth" }); + } + }; + + return ( +
+ {/* Fixed Full-screen 3D Scene Background */} + + + {/* 4 Overlapping HTML Overlay Sections with Tailwind */} + +
+ ); +} diff --git a/src/assets/hero.png b/src/assets/hero.png new file mode 100644 index 0000000..02251f4 Binary files /dev/null and b/src/assets/hero.png differ diff --git a/src/assets/react.svg b/src/assets/react.svg new file mode 100644 index 0000000..6c87de9 --- /dev/null +++ b/src/assets/react.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/vite.svg b/src/assets/vite.svg new file mode 100644 index 0000000..5101b67 --- /dev/null +++ b/src/assets/vite.svg @@ -0,0 +1 @@ +Vite diff --git a/src/components/BowSplash.jsx b/src/components/BowSplash.jsx new file mode 100644 index 0000000..c9fc0c8 --- /dev/null +++ b/src/components/BowSplash.jsx @@ -0,0 +1,300 @@ +import React, { useRef, useMemo } from "react"; +import { useFrame } from "@react-three/fiber"; +import * as THREE from "three"; + +/** + * High-Quality Soft Atomized Sea-Foam Particle Texture + * Radial Gaussian with internal micro-bubble dispersion + */ +function createFoamParticleTexture() { + const canvas = document.createElement("canvas"); + canvas.width = 128; + canvas.height = 128; + const ctx = canvas.getContext("2d"); + + const grad = ctx.createRadialGradient(64, 64, 0, 64, 64, 60); + grad.addColorStop(0, "rgba(255, 255, 255, 0.95)"); + grad.addColorStop(0.3, "rgba(240, 250, 255, 0.65)"); + grad.addColorStop(0.65, "rgba(215, 240, 255, 0.22)"); + grad.addColorStop(1.0, "rgba(255, 255, 255, 0)"); + ctx.fillStyle = grad; + ctx.fillRect(0, 0, 128, 128); + + ctx.fillStyle = "rgba(255, 255, 255, 0.35)"; + for (let i = 0; i < 40; i++) { + const ang = Math.random() * Math.PI * 2; + const rad = Math.pow(Math.random(), 0.7) * 44; + const bx = 64 + Math.cos(ang) * rad; + const by = 64 + Math.sin(ang) * rad; + const br = 1.0 + Math.random() * 1.8; + ctx.beginPath(); + ctx.arc(bx, by, br, 0, Math.PI * 2); + ctx.fill(); + } + + const texture = new THREE.CanvasTexture(canvas); + texture.needsUpdate = true; + return texture; +} + +/** + * Perpetual Volumetric Bow Wave & Cutwater Foam + * - Continuous steady-state lifecycle: runs indefinitely without fading or disappearing + * - 3D volumetric dispersion: natural, irregular foam cluster (never a thin wire or string of beads) + * - Zero gap: mathematically anchored to the true prow stem cutwater (X = 0.05, Z = 11.5, Y = -0.42) + * - Calm, stately cruising speed + */ +export default function BowSplash({ bowZ = 11.5 }) { + const coreRef = useRef(); + const mistRef = useRef(); + const shoulderRef = useRef(); + + const particleTexture = useMemo(() => createFoamParticleTexture(), []); + + const prowX = 0.05; + const waterlineY = -0.42; + + // 1. Volumetric Cutwater Froth Core (The churning white water where the stem slices the sea) + const coreCount = 500; + const [corePositions, coreStatic] = useMemo(() => { + const pos = new Float32Array(coreCount * 3); + // Static traits: [life (0..1), side, randScatterX, speedFactor, randScatterY] + const data = new Float32Array(coreCount * 5); + + for (let i = 0; i < coreCount; i++) { + const side = (i % 2 === 0) ? 1 : -1; + const life = Math.random(); // Uniform random initial phase + const randScatterX = Math.random(); // Volumetric width fill + const speedFactor = 0.85 + Math.random() * 0.35; + const randScatterY = (Math.random() - 0.5) * 0.025; + + data[i * 5] = life; + data[i * 5 + 1] = side; + data[i * 5 + 2] = randScatterX; + data[i * 5 + 3] = speedFactor; + data[i * 5 + 4] = randScatterY; + + const distAft = life * 2.2; + const halfBeam = 1.56 * Math.sqrt(Math.min(1.0, Math.max(0.0, distAft / 2.0))); + const lateralSpread = (0.015 + randScatterX * 0.18) * Math.pow(life, 0.6); + + pos[i * 3] = prowX + side * (halfBeam + lateralSpread); + pos[i * 3 + 1] = waterlineY + Math.sin(life * Math.PI) * 0.045 + randScatterY; + pos[i * 3 + 2] = bowZ - distAft; + } + + return [pos, data]; + }, [bowZ]); + + // 2. Delicate Bow Mist & Atomized Spray + const mistCount = 350; + const [mistPositions, mistStatic] = useMemo(() => { + const pos = new Float32Array(mistCount * 3); + const data = new Float32Array(mistCount * 5); + + for (let i = 0; i < mistCount; i++) { + const side = (i % 2 === 0) ? 1 : -1; + const life = Math.random(); + const randScatterX = Math.random(); + const speedFactor = 0.75 + Math.random() * 0.45; + const randScatterY = Math.random() * 0.04; + + data[i * 5] = life; + data[i * 5 + 1] = side; + data[i * 5 + 2] = randScatterX; + data[i * 5 + 3] = speedFactor; + data[i * 5 + 4] = randScatterY; + + const distAft = life * 2.8; + const halfBeam = 1.56 * Math.sqrt(Math.min(1.0, Math.max(0.0, distAft / 2.0))); + const lateralSpread = (0.03 + randScatterX * 0.24) * Math.pow(life, 0.7); + + pos[i * 3] = prowX + side * (halfBeam + lateralSpread); + pos[i * 3 + 1] = waterlineY + Math.sin(life * Math.PI) * 0.075 + randScatterY; + pos[i * 3 + 2] = bowZ - distAft; + } + + return [pos, data]; + }, [bowZ]); + + // 3. Waterline Shoulder Streamers (Flowing along the forward hull curves) + const shoulderCount = 450; + const [shoulderPositions, shoulderStatic] = useMemo(() => { + const pos = new Float32Array(shoulderCount * 3); + const data = new Float32Array(shoulderCount * 5); + + for (let i = 0; i < shoulderCount; i++) { + const side = (i % 2 === 0) ? 1 : -1; + const life = Math.random(); + const randScatterX = Math.random(); + const speedFactor = 0.8 + Math.random() * 0.35; + const randScatterY = (Math.random() - 0.5) * 0.015; + + data[i * 5] = life; + data[i * 5 + 1] = side; + data[i * 5 + 2] = randScatterX; + data[i * 5 + 3] = speedFactor; + data[i * 5 + 4] = randScatterY; + + const distAft = life * 5.5; + const halfBeam = distAft < 2.0 + ? 1.56 * Math.sqrt(Math.max(0.0, distAft / 2.0)) + : 1.58; + const lateralSpread = (0.01 + randScatterX * 0.16) * Math.pow(life, 0.5); + + pos[i * 3] = prowX + side * (halfBeam + lateralSpread); + pos[i * 3 + 1] = waterlineY + 0.005 + randScatterY; + pos[i * 3 + 2] = bowZ - distAft; + } + + return [pos, data]; + }, [bowZ]); + + useFrame((state, delta) => { + const safeDelta = Math.min(delta, 0.05); + + // 1. Perpetually animate cutwater froth core + if (coreRef.current) { + const pos = coreRef.current.geometry.attributes.position.array; + for (let i = 0; i < coreCount; i++) { + let life = coreStatic[i * 5]; + const side = coreStatic[i * 5 + 1]; + const randScatterX = coreStatic[i * 5 + 2]; + const speed = coreStatic[i * 5 + 3]; + const randScatterY = coreStatic[i * 5 + 4]; + + life += safeDelta * 0.42 * speed; + if (life >= 1.0) life -= 1.0; + coreStatic[i * 5] = life; + + const distAft = life * 2.2; + const halfBeam = 1.56 * Math.sqrt(Math.min(1.0, Math.max(0.0, distAft / 2.0))); + const lateralSpread = (0.015 + randScatterX * 0.18) * Math.pow(life, 0.6); + + pos[i * 3] = prowX + side * (halfBeam + lateralSpread); + pos[i * 3 + 1] = waterlineY + Math.sin(life * Math.PI) * 0.045 + randScatterY; + pos[i * 3 + 2] = bowZ - distAft; + } + coreRef.current.geometry.attributes.position.needsUpdate = true; + } + + // 2. Perpetually animate delicate mist + if (mistRef.current) { + const pos = mistRef.current.geometry.attributes.position.array; + for (let i = 0; i < mistCount; i++) { + let life = mistStatic[i * 5]; + const side = mistStatic[i * 5 + 1]; + const randScatterX = mistStatic[i * 5 + 2]; + const speed = mistStatic[i * 5 + 3]; + const randScatterY = mistStatic[i * 5 + 4]; + + life += safeDelta * 0.36 * speed; + if (life >= 1.0) life -= 1.0; + mistStatic[i * 5] = life; + + const distAft = life * 2.8; + const halfBeam = 1.56 * Math.sqrt(Math.min(1.0, Math.max(0.0, distAft / 2.0))); + const lateralSpread = (0.03 + randScatterX * 0.24) * Math.pow(life, 0.7); + + pos[i * 3] = prowX + side * (halfBeam + lateralSpread); + pos[i * 3 + 1] = waterlineY + Math.sin(life * Math.PI) * 0.075 + randScatterY; + pos[i * 3 + 2] = bowZ - distAft; + } + mistRef.current.geometry.attributes.position.needsUpdate = true; + } + + // 3. Perpetually animate shoulder streamers + if (shoulderRef.current) { + const pos = shoulderRef.current.geometry.attributes.position.array; + for (let i = 0; i < shoulderCount; i++) { + let life = shoulderStatic[i * 5]; + const side = shoulderStatic[i * 5 + 1]; + const randScatterX = shoulderStatic[i * 5 + 2]; + const speed = shoulderStatic[i * 5 + 3]; + const randScatterY = shoulderStatic[i * 5 + 4]; + + life += safeDelta * 0.30 * speed; + if (life >= 1.0) life -= 1.0; + shoulderStatic[i * 5] = life; + + const distAft = life * 5.5; + const halfBeam = distAft < 2.0 + ? 1.56 * Math.sqrt(Math.max(0.0, distAft / 2.0)) + : 1.58; + const lateralSpread = (0.01 + randScatterX * 0.16) * Math.pow(life, 0.5); + + pos[i * 3] = prowX + side * (halfBeam + lateralSpread); + pos[i * 3 + 1] = waterlineY + 0.005 + randScatterY; + pos[i * 3 + 2] = bowZ - distAft; + } + shoulderRef.current.geometry.attributes.position.needsUpdate = true; + } + }); + + return ( + + {/* 1. Volumetric Whitewater Froth Core */} + + + + + + + + {/* 2. Delicate Mist Peeling Off Crest */} + + + + + + + + {/* 3. Waterline Shoulder Streamers */} + + + + + + + + ); +} diff --git a/src/components/CameraRig.jsx b/src/components/CameraRig.jsx new file mode 100644 index 0000000..806e8b9 --- /dev/null +++ b/src/components/CameraRig.jsx @@ -0,0 +1,94 @@ +import React, { useRef, useMemo } from "react"; +import { useFrame, useThree } from "@react-three/fiber"; +import * as THREE from "three"; + +/** + * Camera Waypoints representing 4 key stages of the luxury voyage: + * 0.0: Bow View — Majestic flared bow cutting through the sea + * 0.33: Profile — Wide exterior broadside architectural silhouette + * 0.66: Sun Deck — Close intimate inspection of teak lounges and infinity plunge pool + * 1.0: Zenith Aerial — High panoramic bird's-eye view sailing toward the horizon + */ +const WAYPOINTS = [ + { + progress: 0.0, + pos: new THREE.Vector3(-8.0, 4.4, 21), + target: new THREE.Vector3(2.5, 2.2, 0.5), + fov: 40, + }, + { + progress: 0.33, + pos: new THREE.Vector3(-20, 6.5, 0.0), + target: new THREE.Vector3(7.0, 2.6, -2.5), + fov: 39, + }, + { + progress: 0.66, + pos: new THREE.Vector3(15.0, 9.5, -6.5), + target: new THREE.Vector3(7.0, 3.6, -3.5), + fov: 38, + }, + { + progress: 1.0, + pos: new THREE.Vector3(-8, 26, -20), + target: new THREE.Vector3(7.0, 0.5, 1.5), + fov: 44, + }, +]; + +export default function CameraRig({ scrollProgress }) { + const { camera } = useThree(); + const currentTarget = useRef(new THREE.Vector3(0, 2, 6)); + + // Temporary vectors to avoid garbage collection allocation in useFrame + const tempPos = useMemo(() => new THREE.Vector3(), []); + const tempTarget = useMemo(() => new THREE.Vector3(), []); + + useFrame((state, delta) => { + // Current normalized scroll progress clamped [0, 1] + const p = Math.max(0, Math.min(1, scrollProgress.current)); + + // Find the current waypoint segment + let segIdx = 0; + for (let i = 0; i < WAYPOINTS.length - 1; i++) { + if (p >= WAYPOINTS[i].progress && p <= WAYPOINTS[i + 1].progress) { + segIdx = i; + break; + } + } + + const w0 = WAYPOINTS[segIdx]; + const w1 = WAYPOINTS[segIdx + 1]; + + // Local segment progress [0, 1] + const segRange = w1.progress - w0.progress; + const localP = segRange > 0 ? (p - w0.progress) / segRange : 0; + + // Smoothstep interpolation for seamless easing between shots + const smoothT = localP * localP * (3 - 2 * localP); + + tempPos.lerpVectors(w0.pos, w1.pos, smoothT); + tempTarget.lerpVectors(w0.target, w1.target, smoothT); + + // Subtle natural cinematic camera breathing/drift + const time = state.clock.getElapsedTime(); + const driftX = Math.sin(time * 0.4) * 0.25; + const driftY = Math.cos(time * 0.5) * 0.15; + tempPos.x += driftX; + tempPos.y += driftY; + + // Smooth dampening towards target values (prevents jerkiness on mousewheel clicks) + const dampSpeed = 1 - Math.exp(-delta * 3.5); + camera.position.lerp(tempPos, dampSpeed); + currentTarget.current.lerp(tempTarget, dampSpeed); + + // Lerp FOV smoothly if needed + const targetFov = THREE.MathUtils.lerp(w0.fov, w1.fov, smoothT); + camera.fov = THREE.MathUtils.lerp(camera.fov, targetFov, dampSpeed); + camera.updateProjectionMatrix(); + + camera.lookAt(currentTarget.current); + }); + + return null; +} diff --git a/src/components/Environment.jsx b/src/components/Environment.jsx new file mode 100644 index 0000000..f6f8f5e --- /dev/null +++ b/src/components/Environment.jsx @@ -0,0 +1,484 @@ +import React, { useRef, useMemo } from "react"; +import { useFrame } from "@react-three/fiber"; +import * as THREE from "three"; + +/** + * Procedural Seamless High-Frequency Ocean Normal Map + * 100% Offline, Zero Network Calls + */ +/** + * Procedural Seamless Multi-Frequency Ocean Normal Map + * 100% Organic, Zero Checkerboard or Tile Artifacts, Toroidally Seamless + */ +function createOceanNormalMap(size = 512) { + const canvas = document.createElement("canvas"); + canvas.width = size; + canvas.height = size; + const ctx = canvas.getContext("2d"); + const imgData = ctx.createImageData(size, size); + const data = imgData.data; + + // 4D Toroidal embedding guarantees 100% seamless periodic wrapping with ZERO grid seams + const wave = (x, y) => { + const s = (x / size) * Math.PI * 2; + const t = (y / size) * Math.PI * 2; + const cosS = Math.cos(s); + const sinS = Math.sin(s); + const cosT = Math.cos(t); + const sinT = Math.sin(t); + + let h = 0; + // Layered irrational wave components + h += Math.sin(cosS * 2.4 + sinT * 3.7 + 0.5) * 0.40; + h += Math.cos(sinS * 4.2 - cosT * 2.8 + 1.4) * 0.30; + h += Math.sin(cosS * 7.1 + cosT * 6.3 + 2.1) * 0.20; + h += Math.cos(sinS * 11.5 + sinT * 9.8 + 0.9) * 0.12; + h += Math.sin(cosS * 16.3 - sinT * 15.1 + 3.4) * 0.07; + h += Math.cos(sinS * 23.0 + cosT * 21.0 + 1.8) * 0.04; + return h; + }; + + const strength = 1.4; + for (let y = 0; y < size; y++) { + for (let x = 0; x < size; x++) { + const left = wave((x - 1 + size) % size, y); + const right = wave((x + 1) % size, y); + const up = wave(x, (y - 1 + size) % size); + const down = wave(x, (y + 1) % size); + + const dx = (right - left) * strength; + const dy = (down - up) * strength; + const dz = 1.0; + + const len = Math.sqrt(dx * dx + dy * dy + dz * dz); + const nx = dx / len; + const ny = dy / len; + const nz = dz / len; + + const idx = (y * size + x) * 4; + data[idx] = Math.floor((nx * 0.5 + 0.5) * 255); + data[idx + 1] = Math.floor((ny * 0.5 + 0.5) * 255); + data[idx + 2] = Math.floor((nz * 0.5 + 0.5) * 255); + data[idx + 3] = 255; + } + } + + ctx.putImageData(imgData, 0, 0); + + const texture = new THREE.CanvasTexture(canvas); + texture.wrapS = THREE.RepeatWrapping; + texture.wrapT = THREE.RepeatWrapping; + texture.needsUpdate = true; + return texture; +} + +/** + * Custom 60fps Ocean Shader + * - Deep sapphire navy watercolor + * - Waves flow AGAINST the ship (towards -Z at slow, majestic cruise speed) + * - Tri-rotated domain warping completely eliminates tiling patterns + * - Subtle golden sunset highway without flat beige wash + */ +const OceanShader = { + vertexShader: ` + uniform float uTime; + varying vec3 vWorldPos; + varying vec3 vNormal; + varying vec2 vUv; + varying float vWaveElevation; + + // Gerstner Wave: computes 3D displacement rolling AGAINST the ship (towards -Z) at majestic slow speed + vec3 gerstnerWave(vec4 wave, vec3 p, inout vec3 tangent, inout vec3 binormal) { + float a = wave.z; + float wavelength = wave.w; + float k = 2.0 * 3.14159265 / wavelength; + float c = sqrt(9.8 / k); + vec2 d = normalize(wave.xy); + // Slow, hypnotic ocean wave propagation + float f = k * (dot(d, p.xz) - c * uTime * 0.14); + float steepness = clamp(a * k * 0.85, 0.0, 0.40); + + tangent += vec3( + -d.x * d.x * (steepness * sin(f)), + d.x * (steepness * cos(f)), + -d.x * d.y * (steepness * sin(f)) + ); + binormal += vec3( + -d.x * d.y * (steepness * sin(f)), + d.y * (steepness * cos(f)), + -d.y * d.y * (steepness * sin(f)) + ); + + return vec3( + d.x * (a * cos(f)), + a * sin(f), + d.y * (a * cos(f)) + ); + } + + void main() { + vUv = uv; + vec3 p = position; // Already in XZ horizontal plane (y=0) + + vec3 tangent = vec3(1.0, 0.0, 0.0); + vec3 binormal = vec3(0.0, 0.0, 1.0); + + // 4 Deep Non-Harmonic Gerstner Swells rolling into the bow (+Z) towards the stern (-Z) + vec4 w1 = vec4(0.06, -0.99, 0.260, 54.0); // Primary oncoming oceanic swell + vec4 w2 = vec4(-0.28, -0.96, 0.150, 32.0); // Crossing maritime swell + vec4 w3 = vec4(0.42, -0.90, 0.080, 18.0); // Rolling surface heave + vec4 w4 = vec4(-0.55, -0.83, 0.040, 9.0); // Fine wind ripples + + p += gerstnerWave(w1, position, tangent, binormal); + p += gerstnerWave(w2, position, tangent, binormal); + p += gerstnerWave(w3, position, tangent, binormal); + p += gerstnerWave(w4, position, tangent, binormal); + + vec3 normal = normalize(cross(binormal, tangent)); + vNormal = normalMatrix * normal; + vWaveElevation = p.y; + + vec4 worldPosition = modelMatrix * vec4(p, 1.0); + vWorldPos = worldPosition.xyz; + + gl_Position = projectionMatrix * viewMatrix * worldPosition; + } + `, + + fragmentShader: ` + uniform float uTime; + uniform sampler2D uNormalMap; + uniform vec3 uSunPosition; + uniform vec3 uSunColor; + uniform vec3 uDeepWaterColor; + uniform vec3 uMidWaterColor; + uniform vec3 uCrestWaterColor; + uniform vec3 uFoamColor; + uniform vec3 uSkyColor; + uniform float uFogNear; + uniform float uFogFar; + + varying vec3 vWorldPos; + varying vec3 vNormal; + varying vec2 vUv; + varying float vWaveElevation; + + void main() { + vec3 viewDir = normalize(cameraPosition - vWorldPos); + vec3 sunDir = normalize(uSunPosition - vWorldPos); + + // 1. Continuous Low-Frequency Domain Warp + // Smoothly bends coordinate space so rectilinear tile repetition is physically destroyed + vec2 domainWarp = vec2( + sin(vWorldPos.z * 0.022 + uTime * 0.04) * 2.2, + cos(vWorldPos.x * 0.022 + uTime * 0.04) * 2.2 + ); + vec2 pos = vWorldPos.xz + domainWarp; + + // 2. Tri-Rotated Non-Harmonic UV Layers (Slow, majestic, hypnotic ocean flow) + mat2 rot1 = mat2(0.948, 0.317, -0.317, 0.948); + vec2 uv1 = rot1 * pos * 0.014 + vec2(uTime * 0.006, uTime * 0.10); + + mat2 rot2 = mat2(0.752, -0.659, 0.659, 0.752); + vec2 uv2 = rot2 * pos * 0.031 + vec2(-uTime * 0.009, uTime * 0.13); + + mat2 rot3 = mat2(0.378, 0.926, -0.926, 0.378); + vec2 uv3 = rot3 * pos * 0.068 + vec2(uTime * 0.011, uTime * 0.16); + + vec3 n1 = texture2D(uNormalMap, uv1).rgb * 2.0 - 1.0; + vec3 n2 = texture2D(uNormalMap, uv2).rgb * 2.0 - 1.0; + vec3 n3 = texture2D(uNormalMap, uv3).rgb * 2.0 - 1.0; + + // Re-orient normal vectors according to each layer's rotation matrix + vec2 nRot1 = rot1 * n1.xy; + vec2 nRot2 = rot2 * n2.xy; + vec2 nRot3 = rot3 * n3.xy; + vec3 detailNormal = normalize(vec3(nRot1 * 0.48 + nRot2 * 0.34 + nRot3 * 0.18, 1.0)); + + // Enhanced wave normal strength for rich specular facets & 3D liquid tactile depth + vec3 N = normalize(vNormal + vec3(detailNormal.x, 0.0, detailNormal.y) * 0.42); + + // 3. Deep Ocean Watercolor Gradient + float heightT = clamp((vWaveElevation + 0.18) / 0.36, 0.0, 1.0); + vec3 waterColor = mix(uDeepWaterColor, uMidWaterColor, smoothstep(0.0, 0.50, heightT)); + waterColor = mix(waterColor, uCrestWaterColor, smoothstep(0.45, 0.95, heightT)); + + // 4. Optical Fresnel Reflection (Schlick approximation) + float cosTheta = max(0.0, dot(viewDir, N)); + float fresnel = 0.02 + 0.98 * pow(1.0 - cosTheta, 5.0); + vec3 skyReflect = mix(uSkyColor, vec3(0.08, 0.22, 0.38), 0.5); + vec3 color = mix(waterColor, skyReflect, fresnel * 0.52); + + // 5. Glistening Golden Sun Highway (Confined strictly along sunset path) + vec3 halfVec = normalize(sunDir + viewDir); + float NdotH = max(0.0, dot(N, halfVec)); + + vec2 dirToSun = normalize(uSunPosition.xz - vWorldPos.xz); + vec2 dirToCam = normalize(cameraPosition.xz - vWorldPos.xz); + float sunPathGate = max(0.0, dot(-dirToSun, dirToCam)); + float sunGlint = pow(NdotH, 120.0) * pow(sunPathGate, 8.0) * 3.6; + float sunSheen = pow(NdotH, 32.0) * pow(sunPathGate, 4.0) * 0.55; + + vec3 sunSpecular = (sunGlint + sunSheen) * uSunColor; + color += sunSpecular; + + // 6. Dynamic White Sea Crest Foam on Peaks (Delicate filigree whitecaps only on highest crests) + float peakHeight = smoothstep(0.20, 0.35, vWaveElevation); + float crestNoise = smoothstep(0.46, 0.78, n3.r * 0.55 + n2.g * 0.45); + float foamAmount = peakHeight * crestNoise * 0.70; + color = mix(color, uFoamColor, foamAmount); + + // 7. Atmospheric Horizon Fog & Sunset Haze Blending + vec2 dirToHoriz = normalize(vWorldPos.xz - cameraPosition.xz); + float sunAlignment = max(0.0, dot(dirToHoriz, normalize(uSunPosition.xz))); + vec3 horizonHaze = mix(vec3(0.06, 0.15, 0.26), vec3(0.68, 0.35, 0.16), pow(sunAlignment, 2.5)); + + float dist = length(cameraPosition - vWorldPos); + float fogFactor = smoothstep(uFogNear, uFogFar, dist); + color = mix(color, horizonHaze, fogFactor * 0.94); + + gl_FragColor = vec4(color, 1.0); + } + `, +}; + +/** + * 3D Ocean Water Component + */ +function OceanWater({ + sunPosition = [2, 16, -75], +}) { + const meshRef = useRef(); + const materialRef = useRef(); + + const normalMap = useMemo(() => createOceanNormalMap(512), []); + const uniforms = useMemo( + () => ({ + uTime: { value: 0 }, + uNormalMap: { value: normalMap }, + uSunPosition: { value: new THREE.Vector3(...sunPosition) }, + uSunColor: { value: new THREE.Color("#ffb86c") }, + uDeepWaterColor: { value: new THREE.Color("#020e1e") }, // Deep oceanic abyss navy + uMidWaterColor: { value: new THREE.Color("#05223e") }, // Rich maritime navy blue + uCrestWaterColor: { value: new THREE.Color("#0a4565") }, // Translucent emerald/teal wave scattering + uFoamColor: { value: new THREE.Color("#f0f9ff") }, // Crisp white sea spray + uSkyColor: { value: new THREE.Color("#102844") }, // Cool twilight sky reflection + uFogNear: { value: 70 }, + uFogFar: { value: 450 }, + }), + [normalMap, sunPosition] + ); + + const oceanGeom = useMemo(() => { + const geom = new THREE.PlaneGeometry(3500, 3500, 256, 256); + geom.rotateX(-Math.PI / 2); + return geom; + }, []); + + useFrame((state, delta) => { + if (materialRef.current) { + materialRef.current.uniforms.uTime.value += delta; + } + }); + + return ( + + + + ); +} + +/** + * Sky Dome with Atmospheric Sunset Haze, Golden Corona & Volumetric Procedural Clouds + */ +function SkyWithClouds({ sunPosition = [2, 16, -75] }) { + const materialRef = useRef(); + + const shaderMaterial = useMemo(() => { + return new THREE.ShaderMaterial({ + uniforms: { + uTime: { value: 0 }, + topColor: { value: new THREE.Color("#020813") }, // Deep night sky zenith + midColor: { value: new THREE.Color("#0b223d") }, // Atmospheric maritime twilight blue + sunColor: { value: new THREE.Color("#ffe0b2") }, // Radiant setting sun + sunPosition: { value: new THREE.Vector3(...sunPosition).normalize() }, + }, + vertexShader: ` + varying vec3 vWorldPosition; + void main() { + vec4 worldPosition = modelMatrix * vec4(position, 1.0); + vWorldPosition = worldPosition.xyz; + gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0); + } + `, + fragmentShader: ` + uniform float uTime; + uniform vec3 topColor; + uniform vec3 midColor; + uniform vec3 sunColor; + uniform vec3 sunPosition; + varying vec3 vWorldPosition; + + float hash(vec2 p) { + p = fract(p * vec2(123.34, 456.21)); + p += dot(p, p + 45.32); + return fract(p.x * p.y); + } + + float noise(vec2 p) { + vec2 i = floor(p); + vec2 f = fract(p); + vec2 u = f * f * (3.0 - 2.0 * f); + return mix(mix(hash(i + vec2(0.0, 0.0)), hash(i + vec2(1.0, 0.0)), u.x), + mix(hash(i + vec2(0.0, 1.0)), hash(i + vec2(1.0, 1.0)), u.x), u.y); + } + + float fbm(vec2 p) { + float v = 0.0; + float a = 0.5; + mat2 rot = mat2(cos(0.5), sin(0.5), -sin(0.5), cos(0.5)); + for (int i = 0; i < 4; ++i) { + v += a * noise(p); + p = rot * p * 2.05 + vec2(10.0); + a *= 0.5; + } + return v; + } + + void main() { + vec3 dir = normalize(vWorldPosition); + float y = dir.y; + + // Horizon haze matches ocean in every direction + float sunAlignment = max(0.0, dot(normalize(dir.xz), normalize(sunPosition.xz))); + vec3 horizonHaze = mix(vec3(0.06, 0.15, 0.26), vec3(0.68, 0.35, 0.16), pow(sunAlignment, 2.5)); + + // 1. Sky gradient + float t = clamp(pow(max(0.0, y), 0.42), 0.0, 1.0); + vec3 sky = mix(horizonHaze, mix(midColor, topColor, t), t); + + if (y < 0.0) { + sky = mix(horizonHaze, vec3(0.02, 0.06, 0.12), clamp(-y * 12.0, 0.0, 1.0)); + } + + // 2. Horizon Haze Band + float horizonMist = exp(-abs(y) * 28.0); + sky = mix(sky, horizonHaze * 1.15, horizonMist * 0.78); + + // 3. Radiant Sun Disk, Golden Corona & Horizon Bleed + float sunDot = max(dot(dir, sunPosition), 0.0); + float sunCore = pow(sunDot, 1500.0); + float sunGlow = pow(sunDot, 42.0) * 0.85; + float sunFlare = pow(sunDot, 14.0) * 0.30; + float sunHorizonBleed = pow(sunAlignment, 4.0) * exp(-abs(y) * 16.0) * 0.45; + vec3 sunLight = sunColor * (sunCore * 2.4 + sunGlow * 1.2 + sunFlare * 0.6 + sunHorizonBleed); + + // 4. Distant Horizon Cloud Bank Silhouettes + if (y > 0.002 && y < 0.16) { + vec2 lowCoord = vec2(dir.x / (y + 0.12) * 3.5 + uTime * 0.004, y * 35.0); + float lowCloud = fbm(lowCoord); + float lowDensity = smoothstep(0.44, 0.68, lowCloud); + vec3 lowCloudColor = mix(horizonHaze * 0.65, vec3(0.85, 0.48, 0.22), sunAlignment * 0.85); + float lowFade = smoothstep(0.002, 0.02, y) * smoothstep(0.16, 0.06, y); + sky = mix(sky, lowCloudColor, lowDensity * lowFade * 0.75); + } + + // 5. Upper Volumetric Sunset Clouds drifting with wind + if (y > 0.04) { + vec2 cloudCoord = (dir.xz / (y + 0.18)) * 1.8; + cloudCoord += vec2(uTime * 0.008, uTime * 0.004); + + float cloudNoise = fbm(cloudCoord); + float cloudDensity = smoothstep(0.42, 0.72, cloudNoise); + + if (cloudDensity > 0.01) { + float sunCloudLight = pow(sunDot, 2.5); + vec3 cloudSunLit = mix(vec3(0.95, 0.62, 0.32), vec3(1.0, 0.90, 0.72), sunCloudLight); + vec3 cloudShadow = mix(vec3(0.07, 0.13, 0.22), vec3(0.16, 0.24, 0.36), y); + + vec3 cloudColor = mix(cloudShadow, cloudSunLit, clamp(sunCloudLight * 0.85 + (cloudNoise - 0.45) * 1.2, 0.0, 1.0)); + float horizonFade = smoothstep(0.04, 0.22, y); + float cloudAlpha = cloudDensity * horizonFade * 0.82; + + sky = mix(sky, cloudColor, cloudAlpha); + } + } + + vec3 finalColor = sky + sunLight; + gl_FragColor = vec4(finalColor, 1.0); + } + `, + side: THREE.BackSide, + depthWrite: false, + }); + }, [sunPosition]); + + useFrame((state, delta) => { + if (materialRef.current) { + materialRef.current.uniforms.uTime.value += delta; + } + }); + + return ( + + + + + ); +} + + +/** + * High-Fidelity 3D Environment Component + * Zero-Suspension, 100% Offline, Instant-Load, 60 FPS + */ +export default function Environment({ + children, + sunPosition = [2, 16, -75], +}) { + return ( + + {/* 1. Atmospheric Sky with Clouds & Horizon Bleed */} + + + {/* 2. Golden Sunset Directional Light */} + + + {/* Soft Front-Quarter Maritime Ambient & Hemisphere Fill */} + + + + + {/* 3. Infinite 10,000-Unit Ocean Surface (Flows against ship) */} + + + {/* 4. Drop-in Children Slot (e.g. ) */} + {children} + + ); +} diff --git a/src/components/HullFlankWaves.jsx b/src/components/HullFlankWaves.jsx new file mode 100644 index 0000000..a16f288 --- /dev/null +++ b/src/components/HullFlankWaves.jsx @@ -0,0 +1,145 @@ +import React, { useRef, useMemo } from "react"; +import { useFrame } from "@react-three/fiber"; +import * as THREE from "three"; + +/** + * Procedural Soft Atomized Spray Texture for Waterline Foam + */ +function createFlankFoamTexture() { + const canvas = document.createElement("canvas"); + canvas.width = 128; + canvas.height = 128; + const ctx = canvas.getContext("2d"); + + const baseGrad = ctx.createRadialGradient(64, 64, 0, 64, 64, 62); + baseGrad.addColorStop(0, "rgba(255, 255, 255, 1.0)"); + gradStop(baseGrad); + ctx.fillStyle = baseGrad; + ctx.fillRect(0, 0, 128, 128); + + ctx.fillStyle = "rgba(255, 255, 255, 0.35)"; + for (let i = 0; i < 40; i++) { + const ang = Math.random() * Math.PI * 2; + const rad = Math.pow(Math.random(), 0.7) * 44; + const bx = 64 + Math.cos(ang) * rad; + const by = 64 + Math.sin(ang) * rad; + const br = 1.0 + Math.random() * 1.6; + ctx.beginPath(); + ctx.arc(bx, by, br, 0, Math.PI * 2); + ctx.fill(); + } + + const tex = new THREE.CanvasTexture(canvas); + tex.needsUpdate = true; + return tex; +} + +function gradStop(grad) { + grad.addColorStop(0.30, "rgba(240, 250, 255, 0.65)"); + grad.addColorStop(0.65, "rgba(215, 240, 255, 0.22)"); + grad.addColorStop(1.0, "rgba(255, 255, 255, 0)"); +} + +/** + * Continuous Steady-State Hull Flank Foam Waves + * - Permanently streams along both port and starboard waterlines + * - Constant density with zero decay or timers + */ +export default function HullFlankWaves() { + const foamParticlesRef = useRef(); + const particleTexture = useMemo(() => createFlankFoamTexture(), []); + + const prowX = 0.05; + const waterlineY = -0.42; + + const particleCount = 650; + const [particlePositions, particleParams] = useMemo(() => { + const pos = new Float32Array(particleCount * 3); + const params = new Float32Array(particleCount * 4); // [progress (0..1), side, spread, speed] + + for (let i = 0; i < particleCount; i++) { + const side = (i % 2 === 0) ? 1 : -1; + const progress = i / particleCount; // Uniform distribution for steady state + const spread = (Math.random() - 0.5) * 0.06; + const speed = 0.85 + Math.random() * 0.3; + + params[i * 4] = progress; + params[i * 4 + 1] = side; + params[i * 4 + 2] = spread; + params[i * 4 + 3] = speed; + + const z = 11.2 - progress * 24.2; // Spans 11.2 to -13.0 + + let halfBeam = 1.58; + if (z > 9.5) { + halfBeam = 1.56 * Math.sqrt(Math.max(0.0, (11.5 - z) / 2.0)); + } else if (z < -11.5) { + halfBeam = Math.max(0.40, 1.58 - (-11.5 - z) * 0.55); + } + + pos[i * 3] = prowX + side * (halfBeam + 0.015 + spread); + pos[i * 3 + 1] = waterlineY + (Math.random() - 0.2) * 0.02; + pos[i * 3 + 2] = z; + } + + return [pos, params]; + }, []); + + useFrame((state, delta) => { + const safeDelta = Math.min(delta, 0.05); + + if (foamParticlesRef.current) { + const pos = foamParticlesRef.current.geometry.attributes.position.array; + + for (let i = 0; i < particleCount; i++) { + let p = particleParams[i * 4]; + const side = particleParams[i * 4 + 1]; + const spread = particleParams[i * 4 + 2]; + const speed = particleParams[i * 4 + 3]; + + p += safeDelta * 0.04 * speed; // Calm stately motion along the 24m hull + if (p >= 1.0) p -= 1.0; + particleParams[i * 4] = p; + + const z = 11.2 - p * 24.2; + + let halfBeam = 1.58; + if (z > 9.5) { + halfBeam = 1.56 * Math.sqrt(Math.max(0.0, (11.5 - z) / 2.0)); + } else if (z < -11.5) { + halfBeam = Math.max(0.40, 1.58 - (-11.5 - z) * 0.55); + } + + pos[i * 3] = prowX + side * (halfBeam + 0.015 + spread); + pos[i * 3 + 1] = waterlineY + 0.005; + pos[i * 3 + 2] = z; + } + + foamParticlesRef.current.geometry.attributes.position.needsUpdate = true; + } + }); + + return ( + + + + + + + + + ); +} diff --git a/src/components/Overlay.jsx b/src/components/Overlay.jsx new file mode 100644 index 0000000..3280a57 --- /dev/null +++ b/src/components/Overlay.jsx @@ -0,0 +1,409 @@ +import React, { useState } from "react"; +import { + ArrowUpRight, + Volume2, + VolumeX, + Check, + ShieldCheck, + FileCheck, + Globe2, + Compass +} from "lucide-react"; +import { oceanAudio } from "../utils/audio"; + +export default function Overlay({ + currentProgress, + onScrollToSection, + dragToRotate, + onToggleDragToRotate, + modelMode, + onToggleModelMode +}) { + const [soundActive, setSoundActive] = useState(false); + const [contactModal, setContactModal] = useState(false); + const [submitted, setSubmitted] = useState(false); + + const toggleSound = () => { + const active = oceanAudio.toggle(); + setSoundActive(active); + }; + + const handleContactSubmit = (e) => { + e.preventDefault(); + setSubmitted(true); + setTimeout(() => { + setContactModal(false); + setSubmitted(false); + }, 2400); + }; + + const activeSection = Number.isInteger(currentProgress) + ? currentProgress + : Math.min(3, Math.floor((currentProgress || 0) * 3.99)); + + return ( + <> + {/* 1. Global Navigation Header */} +
+ {/* Logo: Stylized Ocean Wave + Brand */} +
onScrollToSection(0)}> + {/* Wave Ridges Icon in Light Blue */} + + + + + +
+
+ + WMOC + + . +
+ + DOCUMENTATION SERVICES + +
+
+ + {/* Center Navigation Links */} + + + {/* Right CTA Button & Sound Toggle */} +
+ + + +
+
+ + {/* 2. Main Overlapping HTML Content Sections */} +
+ {/* SECTION 1: HERO */} +
+
+ {/* Light Blue Dot + Over-title */} +
+ + + GLOBAL MARITIME DOCUMENTATION PARTNER + +
+ + {/* Giant Signature Headline */} +

+ Navigate + + beyond + + + Boundaries + +

+ + {/* Subtitle paragraph in clean white with protective soft shadow */} +

+ From seafarer endorsements to vessel compliance — guiding maritime professionals through complex documentation with clarity, precision, and confidence. +

+ + {/* Action Buttons: Light Blue & White */} +
+ + + +
+
+
+ + {/* SECTION 2: OUR JOURNEY & MARITIME FLEET */} +
+
+
+ + Our Global Maritime Journey +
+

+ Flawless Compliance on Every Ocean +

+

+ Navigating international maritime regulations demands rigorous expertise. We manage end-to-end flag state applications, STCW crew endorsements, safety management audits, and ISM/ISPS verification across over 35 global maritime registries. +

+ +
+
+ 35+ + Flag State Administrations +
+
+ 99.8% + Endorsement Approval Rate +
+
+ +
+ +
+
+
+ + {/* SECTION 3: FLAG STATES & ENDORSEMENTS */} +
+
+
+ + Accredited Maritime Services +
+

+ Rapid Flag State Endorsements +

+

+ Expedited processing for Panama, Liberia, Marshall Islands, Bahamas, Malta, Cyprus, and Singapore registries with direct governmental liaisons. +

+ +
+
+
+ +
+
+

Seafarer Certification (CoC / CoE)

+

+ Complete verification and issuance of Certificate of Competency endorsements for Masters, Chief Engineers, and specialized ratings. +

+
+
+ +
+
+ +
+
+

Vessel Registration & Continuous Synopsis

+

+ Provisional and permanent registration, CSR record maintenance, radio station licenses, and minimum safe manning certificates. +

+
+
+
+ +
+ +
+
+
+ + {/* SECTION 4: CONTACT & TALK TO WMOC */} +
+
+ + 24/7 Global Maritime Support + +

+ Ready to Navigate Beyond? +

+

+ Connect with our maritime legal advisors and documentation officers for priority vessel clearance and officer endorsements. +

+ +
+ + +
+
+
+
+ + {/* Contact Modal */} + {contactModal && ( +
+
+ + + {submitted ? ( +
+
+ +
+

Inquiry Dispatched

+

+ A WMOC Documentation Specialist will connect with your fleet coordinator immediately. +

+
+ ) : ( + <> +
+ + Talk to WMOC + +

+ Maritime Documentation Inquiry +

+

+ Receive guidance on vessel compliance, seafarer endorsements, or registry transfers. +

+
+ +
+
+ + +
+
+ + +
+
+ + +
+ +
+ + )} +
+
+ )} + + ); +} diff --git a/src/components/Scene.jsx b/src/components/Scene.jsx new file mode 100644 index 0000000..10e85a3 --- /dev/null +++ b/src/components/Scene.jsx @@ -0,0 +1,108 @@ +import React, { Suspense } from "react"; +import { Canvas } from "@react-three/fiber"; +import { OrbitControls } from "@react-three/drei"; +import { EffectComposer, Bloom, Vignette } from "@react-three/postprocessing"; +import * as THREE from "three"; +import Environment from "./Environment"; +import ShipModel from "./ShipModel"; +import CameraRig from "./CameraRig"; +import ShipWake from "./ShipWake"; + +class CanvasErrorBoundary extends React.Component { + constructor(props) { + super(props); + this.state = { hasError: false }; + } + static getDerivedStateFromError() { + return { hasError: true }; + } + componentDidCatch(error) { + console.warn("Notice: 3D Canvas error caught:", error?.message || error); + } + render() { + if (this.state.hasError) { + return ( +
+ +
+ ); + } + return this.props.children; + } +} + +function Scene({ scrollProgress, dragToRotate, onModelLoaded }) { + return ( + +
+ { + gl.domElement.addEventListener("webglcontextlost", (event) => { + event.preventDefault(); + console.warn("Notice: WebGL context lost. Attempting auto-restore..."); + }); + }} + > + {/* Camera Control: Waypoint timeline or free 3D Orbit */} + {!dragToRotate ? ( + + ) : ( + + )} + + {/* High-Fidelity 3D Environment (Atmospheric Sunset Sky, Drifting Clouds & Gerstner Ocean) */} + + {/* Cruise Ship Group: Positioned on the RIGHT side (+X = 7.5) to highlight the vessel and balance with text */} + + {/* 3D Cruise Ship Model */} + + + {/* Soft Foam Propeller Wash trailing the ship */} + + + + + {/* Post-Processing: multisampling={0} prevents MSAA buffer swap flicker on retina screens */} + + + + + + + +
+
+ ); +} + +// React.memo prevents Scene and 3D Canvas from re-rendering when scrollProgress changes +export default React.memo(Scene, (prev, next) => { + return prev.dragToRotate === next.dragToRotate; +}); diff --git a/src/components/ShipModel.jsx b/src/components/ShipModel.jsx new file mode 100644 index 0000000..0e82aba --- /dev/null +++ b/src/components/ShipModel.jsx @@ -0,0 +1,147 @@ +import React, { useRef, useState, useEffect } from "react"; +import { useFrame } from "@react-three/fiber"; +import { useGLTF } from "@react-three/drei"; +import * as THREE from "three"; +import BowSplash from "./BowSplash"; +import HullFlankWaves from "./HullFlankWaves"; + +// Preload 3D Cruise Ship so browser caches immediately +useGLTF.preload("/cruise_ship.glb"); + +/** + * GLTF Model Loader for cruise_ship.glb + * - Exact centering based on visible meshes only + * - Rotated so bow faces forward (+Z) where water splashes + * - Wireframe CAD edge lines hidden for smooth, solid surface + * - Calibrated low-key materials with deep navy hull contrast & sunset rim reflections + * - Smooth entrance fade-in animation to eliminate jarring pop-in on reload + */ +function GLTFModel({ url = "/cruise_ship.glb", onLoaded }) { + const gltf = useGLTF(url); + const groupRef = useRef(); + const [modelTransform, setModelTransform] = useState({ scale: 1, offset: [0, 0, 0] }); + + useEffect(() => { + if (gltf?.scene) { + gltf.scene.updateMatrixWorld(true); + + // Compute bounding box ONLY from actual 3D meshes (ignoring rogue CAD lines) + const meshBox = new THREE.Box3(); + gltf.scene.traverse((child) => { + if (child.isMesh) { + meshBox.expandByObject(child); + } + }); + + const size = new THREE.Vector3(); + meshBox.getSize(size); + const center = new THREE.Vector3(); + meshBox.getCenter(center); + + // Target ship length to 26 units in the scene + const maxDim = Math.max(size.x, size.y, size.z); + const targetScale = maxDim > 0 ? 26 / maxDim : 1; + + // Exact centered offset + const offsetX = -center.x * targetScale; + const offsetY = -meshBox.min.y * targetScale - 0.55; + const offsetZ = -center.z * targetScale; + + setModelTransform({ + scale: targetScale, + offset: [offsetX, offsetY, offsetZ], + }); + + // Traverse all meshes & materials + gltf.scene.traverse((child) => { + // HIDE ALL CAD EDGE LINES & OUTLINE MESHES (including SketchUp edge_color materials) + const isCadEdge = + child.isLine || + child.type === "LineSegments" || + (child.name && /edge|wire|line/i.test(child.name)) || + (child.material && child.material.name && /edge|wire/i.test(child.material.name)); + + if (isCadEdge) { + child.visible = false; + return; + } + + if (child.isMesh) { + child.castShadow = true; + child.receiveShadow = true; + + if (child.material) { + // Luxury yacht finish: rich specular, sleek reflections, solid depth + if (child.material.name && /glass_red|red/i.test(child.material.name)) { + child.material.color.set("#152538"); + } + child.material.envMapIntensity = 0.85; + child.material.roughness = 0.26; + child.material.metalness = 0.12; + child.material.transparent = false; + child.material.opacity = 1.0; + child.material.depthWrite = true; + child.material.needsUpdate = true; + } + } + }); + + if (onLoaded) onLoaded(true); + } + }, [gltf, onLoaded]); + + // Majestic ocean swell physics on deep transoceanic waters + useFrame((state, delta) => { + const t = state.clock.getElapsedTime(); + if (groupRef.current) { + groupRef.current.position.y = Math.sin(t * 0.32) * 0.032; + groupRef.current.rotation.z = Math.sin(t * 0.24) * 0.005; // Gentle roll + groupRef.current.rotation.x = Math.cos(t * 0.18) * 0.004; // Stately pitch + } + }); + + return ( + + {/* Ship faces forward (+Z towards camera) angled slightly (-0.16 rad) to show the majestic starboard profile */} + + + + + + {/* Dynamic Bow Splash & Foam Spray locked directly to the forward stem at waterline Z = 11.5 */} + + + {/* */} + + + ); +} + +class ModelErrorBoundary extends React.Component { + constructor(props) { + super(props); + this.state = { hasError: false }; + } + static getDerivedStateFromError() { + return { hasError: true }; + } + componentDidCatch(error) { + console.warn("Notice: Error loading custom model:", error?.message || error); + } + render() { + if (this.state.hasError) { + return null; + } + return this.props.children; + } +} + +export default function ShipModel({ onModelLoaded }) { + return ( + + + + + + ); +} diff --git a/src/components/ShipWake.jsx b/src/components/ShipWake.jsx new file mode 100644 index 0000000..e0cd08f --- /dev/null +++ b/src/components/ShipWake.jsx @@ -0,0 +1,89 @@ +import React, { useRef, useMemo } from "react"; +import { useFrame } from "@react-three/fiber"; +import * as THREE from "three"; + +/** + * Soft Stern Wash & Wake Particles + * Completely eliminates any flat rectangular planes. + */ +export default function ShipWake() { + const pointsRef = useRef(); + + const particleTexture = useMemo(() => { + const canvas = document.createElement("canvas"); + canvas.width = 64; + canvas.height = 64; + const ctx = canvas.getContext("2d"); + + const grad = ctx.createRadialGradient(32, 32, 0, 32, 32, 32); + grad.addColorStop(0, "rgba(255, 255, 255, 0.7)"); + grad.addColorStop(0.35, "rgba(224, 242, 254, 0.4)"); + grad.addColorStop(1, "rgba(255, 255, 255, 0)"); + + ctx.fillStyle = grad; + ctx.fillRect(0, 0, 64, 64); + + const tex = new THREE.CanvasTexture(canvas); + tex.needsUpdate = true; + return tex; + }, []); + + const count = 400; + const [positions, velocities] = useMemo(() => { + const pos = new Float32Array(count * 3); + const vel = new Float32Array(count * 3); + + for (let i = 0; i < count; i++) { + // Trailing behind the stern from Z = -8 to -35 + pos[i * 3] = (Math.random() - 0.5) * (3.0 + Math.random() * 5.0); // X spreads + pos[i * 3 + 1] = -0.25; // Y right on water + pos[i * 3 + 2] = -8 - Math.random() * 28; // Z aft + + vel[i * 3] = (Math.random() - 0.5) * 0.2; + vel[i * 3 + 2] = -(0.9 + Math.random() * 1.4); // Rushes aft at stately cruising speed + } + + return [pos, vel]; + }, []); + + useFrame((state, delta) => { + if (!pointsRef.current) return; + const posAttr = pointsRef.current.geometry.attributes.position; + const pos = posAttr.array; + + for (let i = 0; i < count; i++) { + const idx = i * 3; + pos[idx + 2] += velocities[idx + 2] * delta; + + // Wrap around when trailing too far + if (pos[idx + 2] < -42) { + pos[idx] = (Math.random() - 0.5) * 3.5; + pos[idx + 2] = -8 - Math.random() * 4; + } + } + + posAttr.needsUpdate = true; + }); + + return ( + + + + + + + ); +} diff --git a/src/components/SkyDome.jsx b/src/components/SkyDome.jsx new file mode 100644 index 0000000..04ac49d --- /dev/null +++ b/src/components/SkyDome.jsx @@ -0,0 +1,155 @@ +import React, { useMemo, useRef } from "react"; +import { useFrame } from "@react-three/fiber"; +import * as THREE from "three"; + +/** + * Photorealistic 3D Sky Dome + * - Atmospheric Sunset Horizon Haze & Golden Corona + * - Distant maritime horizon stratus silhouettes (eliminates harsh bland dividing line) + * - Volumetric sunset clouds drifting with the wind + * - Seamless optical blending with ocean surface + */ +export default function SkyDome() { + const materialRef = useRef(); + + const shaderMaterial = useMemo(() => { + return new THREE.ShaderMaterial({ + uniforms: { + uTime: { value: 0 }, + topColor: { value: new THREE.Color("#020813") }, // Deep night sky zenith + midColor: { value: new THREE.Color("#0b223d") }, // Atmospheric maritime twilight blue + sunColor: { value: new THREE.Color("#ffe0b2") }, // Radiant setting sun + sunPosition: { value: new THREE.Vector3(2, 16, -75).normalize() }, + }, + vertexShader: ` + varying vec3 vWorldPosition; + void main() { + vec4 worldPosition = modelMatrix * vec4(position, 1.0); + vWorldPosition = worldPosition.xyz; + gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0); + } + `, + fragmentShader: ` + uniform float uTime; + uniform vec3 topColor; + uniform vec3 midColor; + uniform vec3 sunColor; + uniform vec3 sunPosition; + varying vec3 vWorldPosition; + + // Smooth procedural noise hash + float hash(vec2 p) { + p = fract(p * vec2(123.34, 456.21)); + p += dot(p, p + 45.32); + return fract(p.x * p.y); + } + + float noise(vec2 p) { + vec2 i = floor(p); + vec2 f = fract(p); + vec2 u = f * f * (3.0 - 2.0 * f); + return mix(mix(hash(i + vec2(0.0, 0.0)), hash(i + vec2(1.0, 0.0)), u.x), + mix(hash(i + vec2(0.0, 1.0)), hash(i + vec2(1.0, 1.0)), u.x), u.y); + } + + // 4-octave Fractional Brownian Motion for clouds + float fbm(vec2 p) { + float v = 0.0; + float a = 0.5; + mat2 rot = mat2(cos(0.5), sin(0.5), -sin(0.5), cos(0.5)); + for (int i = 0; i < 4; ++i) { + v += a * noise(p); + p = rot * p * 2.05 + vec2(10.0); + a *= 0.5; + } + return v; + } + + void main() { + vec3 dir = normalize(vWorldPosition); + float y = dir.y; + + // Direction-dependent horizon haze color: + // Warm glowing amber towards the sun; deep twilight navy away from the sun + float sunAlignment = max(0.0, dot(normalize(dir.xz), normalize(sunPosition.xz))); + vec3 horizonHaze = mix(vec3(0.06, 0.15, 0.26), vec3(0.68, 0.35, 0.16), pow(sunAlignment, 2.5)); + + // 1. Smooth vertical sky gradient + float t = clamp(pow(max(0.0, y), 0.42), 0.0, 1.0); + vec3 sky = mix(horizonHaze, mix(midColor, topColor, t), t); + + // Below horizon: fade into oceanic depth + if (y < 0.0) { + sky = mix(horizonHaze, vec3(0.02, 0.06, 0.12), clamp(-y * 12.0, 0.0, 1.0)); + } + + // 2. Atmospheric Horizon Haze Band (Softens the boundary where water and sky meet) + float horizonMist = exp(-abs(y) * 28.0); + sky = mix(sky, horizonHaze * 1.15, horizonMist * 0.78); + + // 3. Radiant Sun Disk, Golden Corona & Horizon Bleed + float sunDot = max(dot(dir, sunPosition), 0.0); + float sunCore = pow(sunDot, 1500.0); // Sharp sun disk + float sunGlow = pow(sunDot, 42.0) * 0.85; // Warm golden corona + float sunFlare = pow(sunDot, 14.0) * 0.30; // Wide sunset wash + + // Sun flare bleeds softly over the horizon + float sunHorizonBleed = pow(sunAlignment, 4.0) * exp(-abs(y) * 16.0) * 0.45; + + vec3 sunLight = sunColor * (sunCore * 2.4 + sunGlow * 1.2 + sunFlare * 0.6 + sunHorizonBleed); + + // 4. Distant Horizon Cloud Bank Silhouettes (Breaks up the flat straight line!) + if (y > 0.002 && y < 0.16) { + vec2 lowCoord = vec2(dir.x / (y + 0.12) * 3.5 + uTime * 0.004, y * 35.0); + float lowCloud = fbm(lowCoord); + float lowDensity = smoothstep(0.44, 0.68, lowCloud); + + // Distant stratus clouds catch the golden sunset glow on their tops + vec3 lowCloudColor = mix(horizonHaze * 0.65, vec3(0.85, 0.48, 0.22), sunAlignment * 0.85); + float lowFade = smoothstep(0.002, 0.02, y) * smoothstep(0.16, 0.06, y); + sky = mix(sky, lowCloudColor, lowDensity * lowFade * 0.75); + } + + // 5. Upper Volumetric Sunset Clouds + if (y > 0.04) { + vec2 cloudCoord = (dir.xz / (y + 0.18)) * 1.8; + cloudCoord += vec2(uTime * 0.008, uTime * 0.004); + + float cloudNoise = fbm(cloudCoord); + float cloudDensity = smoothstep(0.42, 0.72, cloudNoise); + + if (cloudDensity > 0.01) { + float sunCloudLight = pow(sunDot, 2.5); + vec3 cloudSunLit = mix(vec3(0.95, 0.62, 0.32), vec3(1.0, 0.90, 0.72), sunCloudLight); + vec3 cloudShadow = mix(vec3(0.07, 0.13, 0.22), vec3(0.16, 0.24, 0.36), y); + + vec3 cloudColor = mix(cloudShadow, cloudSunLit, clamp(sunCloudLight * 0.85 + (cloudNoise - 0.45) * 1.2, 0.0, 1.0)); + float horizonFade = smoothstep(0.04, 0.22, y); + float cloudAlpha = cloudDensity * horizonFade * 0.82; + + sky = mix(sky, cloudColor, cloudAlpha); + } + } + + vec3 finalColor = sky + sunLight; + gl_FragColor = vec4(finalColor, 1.0); + } + `, + side: THREE.BackSide, + depthWrite: false, + }); + }, []); + + useFrame((state, delta) => { + if (materialRef.current) { + materialRef.current.uniforms.uTime.value += delta; + } + }); + + return ( + + + + + ); +} diff --git a/src/components/SunsetSky.jsx b/src/components/SunsetSky.jsx new file mode 100644 index 0000000..b649cf3 --- /dev/null +++ b/src/components/SunsetSky.jsx @@ -0,0 +1,84 @@ +import React, { useMemo } from "react"; +import * as THREE from "three"; + +/** + * Creates soft radial glow texture for the setting sun + */ +function createSunCoronaTexture() { + const canvas = document.createElement("canvas"); + canvas.width = 256; + canvas.height = 256; + const ctx = canvas.getContext("2d"); + + const gradient = ctx.createRadialGradient(128, 128, 0, 128, 128, 128); + gradient.addColorStop(0, "rgba(255, 255, 255, 1.0)"); + gradient.addColorStop(0.2, "rgba(255, 235, 180, 0.95)"); + gradient.addColorStop(0.45, "rgba(255, 170, 70, 0.65)"); + gradient.addColorStop(0.75, "rgba(240, 110, 40, 0.2)"); + gradient.addColorStop(1, "rgba(200, 70, 20, 0)"); + + ctx.fillStyle = gradient; + ctx.fillRect(0, 0, 256, 256); + + const texture = new THREE.CanvasTexture(canvas); + texture.needsUpdate = true; + return texture; +} + +/** + * Golden Hour Sunset Sky & Sun Disc + * Creates the cinematic golden sun flare positioned directly behind the cruise ship + */ +export default function SunsetSky() { + const sunTexture = useMemo(() => createSunCoronaTexture(), []); + + return ( + + {/* 1. Radiant Sun Core */} + + + + + + {/* 2. Outer Volumetric Atmosphere Glow */} + + + + + + {/* 3. Golden Cloud Layer Strips */} + + + + + + + + + + ); +} diff --git a/src/components/Water.jsx b/src/components/Water.jsx new file mode 100644 index 0000000..2584b95 --- /dev/null +++ b/src/components/Water.jsx @@ -0,0 +1,265 @@ +import React, { useMemo, useRef } from "react"; +import { useFrame } from "@react-three/fiber"; +import * as THREE from "three"; + +/** + * Creates high-detail procedural ocean ripple normal map + */ +function createOceanNormalMap(size = 512) { + const canvas = document.createElement("canvas"); + canvas.width = size; + canvas.height = size; + const ctx = canvas.getContext("2d"); + const imgData = ctx.createImageData(size, size); + const data = imgData.data; + + const wave = (x, y) => { + const nx = (x / size) * Math.PI * 14; + const ny = (y / size) * Math.PI * 14; + const s1 = Math.sin(nx * 0.8 + ny * 1.3); + const s2 = Math.cos(nx * 1.5 - ny * 1.0) * 0.55; + const c1 = Math.sin(nx * 3.4 + ny * 4.0) * 0.28; + const c2 = Math.cos(nx * 6.0 - ny * 4.5) * 0.15; + const rip = (Math.sin(nx * 14.0) * Math.cos(ny * 14.0)) * 0.08; + return s1 + s2 + c1 + c2 + rip; + }; + + const strength = 1.6; + for (let y = 0; y < size; y++) { + for (let x = 0; x < size; x++) { + const left = wave((x - 1 + size) % size, y); + const right = wave((x + 1) % size, y); + const up = wave(x, (y - 1 + size) % size); + const down = wave(x, (y + 1) % size); + + const dx = (right - left) * strength; + const dy = (down - up) * strength; + const dz = 1.0; + + const len = Math.sqrt(dx * dx + dy * dy + dz * dz); + const nx = dx / len; + const ny = dy / len; + const nz = dz / len; + + const idx = (y * size + x) * 4; + data[idx] = Math.floor((nx * 0.5 + 0.5) * 255); + data[idx + 1] = Math.floor((ny * 0.5 + 0.5) * 255); + data[idx + 2] = Math.floor((nz * 0.5 + 0.5) * 255); + data[idx + 3] = 255; + } + } + + ctx.putImageData(imgData, 0, 0); + + const texture = new THREE.CanvasTexture(canvas); + texture.wrapS = THREE.RepeatWrapping; + texture.wrapT = THREE.RepeatWrapping; + texture.needsUpdate = true; + return texture; +} + +/** + * Authentic Photorealistic Ocean Shader + * - Deep oceanic sapphire navy watercolor (NEVER beige/tan/brown) + * - True optical Fresnel: glancing angles reflect cool sky, steep angles reveal deep clear water + * - Focused golden sunset specular trail strictly pointing towards the setting sun + * - Smooth Gerstner 3D wave swells without grid artifacts + * - Crisp sea-spray foam on wave crests + */ +const OceanShader = { + vertexShader: ` + uniform float uTime; + + varying vec3 vWorldPos; + varying vec3 vNormal; + varying vec2 vUv; + varying float vWaveElevation; + + // Gerstner Wave: computes 3D trochoidal displacement and analytic surface vectors + vec3 gerstnerWave(vec4 wave, vec3 p, inout vec3 tangent, inout vec3 binormal) { + float a = wave.z; // Amplitude + float wavelength = wave.w; // Wavelength + float k = 2.0 * 3.14159265 / wavelength; + float c = sqrt(9.8 / k); + vec2 d = normalize(wave.xy); + float f = k * (dot(d, p.xz) - c * uTime * 0.38); + float steepness = clamp(a * k * 1.2, 0.0, 0.55); + + tangent += vec3( + -d.x * d.x * (steepness * sin(f)), + d.x * (steepness * cos(f)), + -d.x * d.y * (steepness * sin(f)) + ); + binormal += vec3( + -d.x * d.y * (steepness * sin(f)), + d.y * (steepness * cos(f)), + -d.y * d.y * (steepness * sin(f)) + ); + + return vec3( + d.x * (a * cos(f)), + a * sin(f), + d.y * (a * cos(f)) + ); + } + + void main() { + vUv = uv; + vec3 gridPoint = position; + vec3 tangent = vec3(1.0, 0.0, 0.0); + vec3 binormal = vec3(0.0, 0.0, 1.0); + vec3 p = gridPoint; + + // 4 Harmonious Gerstner Waves flowing DIRECTLY AGAINST THE SHIP (towards -Z) + // The ship points into +Z, so waves crash into the bow (+Z) and roll past the hull to -Z + vec4 w1 = vec4(0.08, -0.99, 0.090, 32.0); // Primary oncoming swell slamming into bow + vec4 w2 = vec4(-0.32, -0.95, 0.058, 20.0); // Crossing roll rushing aft + vec4 w3 = vec4(0.55, -0.83, 0.032, 10.0); // Oncoming maritime chop + vec4 w4 = vec4(-0.65, -0.76, 0.016, 5.0); // High speed surface ripples + + p += gerstnerWave(w1, gridPoint, tangent, binormal); + p += gerstnerWave(w2, gridPoint, tangent, binormal); + p += gerstnerWave(w3, gridPoint, tangent, binormal); + p += gerstnerWave(w4, gridPoint, tangent, binormal); + + vec3 normal = normalize(cross(binormal, tangent)); + vNormal = normalMatrix * normal; + vWaveElevation = p.y - gridPoint.y; + + vec4 worldPosition = modelMatrix * vec4(p, 1.0); + vWorldPos = worldPosition.xyz; + + gl_Position = projectionMatrix * viewMatrix * worldPosition; + } + `, + + fragmentShader: ` + uniform float uTime; + uniform sampler2D uNormalMap; + uniform vec3 uSunPosition; + uniform vec3 uSunColor; + uniform vec3 uDeepWaterColor; + uniform vec3 uMidWaterColor; + uniform vec3 uCrestWaterColor; + uniform vec3 uFoamColor; + uniform vec3 uSkyColor; + uniform vec3 uFogColor; + uniform float uFogNear; + uniform float uFogFar; + + varying vec3 vWorldPos; + varying vec3 vNormal; + varying vec2 vUv; + varying float vWaveElevation; + + void main() { + vec3 viewDir = normalize(cameraPosition - vWorldPos); + vec3 sunDir = normalize(uSunPosition - vWorldPos); + + // Micro-texture ripples streaming backwards past the ship (towards -Z at 22-knot cruise speed) + vec2 uv1 = vWorldPos.xz * 0.055 + vec2(uTime * 0.03, uTime * 0.45); + vec2 uv2 = vWorldPos.xz * 0.13 + vec2(-uTime * 0.04, uTime * 0.72); + + vec3 nMap1 = texture2D(uNormalMap, uv1).rgb * 2.0 - 1.0; + vec3 nMap2 = texture2D(uNormalMap, uv2).rgb * 2.0 - 1.0; + vec3 detailNormal = normalize(vec3(nMap1.xy + nMap2.xy * 0.5, 1.0)); + + // Combine geometric wave normal with liquid micro-texture + vec3 N = normalize(vNormal + vec3(detailNormal.x, 0.0, detailNormal.y) * 0.28); + + // 1. Deep Ocean Watercolor Gradient + // Troughs are deep midnight navy; crests scatter sunlight into translucent marine teal + float heightT = clamp((vWaveElevation + 0.10) / 0.22, 0.0, 1.0); + vec3 waterColor = mix(uDeepWaterColor, uMidWaterColor, smoothstep(0.0, 0.55, heightT)); + waterColor = mix(waterColor, uCrestWaterColor, smoothstep(0.50, 0.95, heightT)); + + // 2. Optical Fresnel Reflection (Schlick approximation) + // Steep angles (looking down): reveals deep navy water + // Glancing angles (horizon): reflects cool twilight sky + float cosTheta = max(0.0, dot(viewDir, N)); + float fresnel = 0.02 + 0.98 * pow(1.0 - cosTheta, 5.0); + vec3 skyReflect = mix(uSkyColor, vec3(0.08, 0.22, 0.38), 0.5); + vec3 color = mix(waterColor, skyReflect, fresnel * 0.55); + + // 3. Realistic Golden Sun Specular Trail + // Crucial: The sun reflection is a longitudinal highway ONLY pointing toward the sun, NOT a flat wash! + vec3 halfVec = normalize(sunDir + viewDir); + float NdotH = max(0.0, dot(N, halfVec)); + + // Sun alignment: gates specular so it only appears in the direction of the sun + vec2 dirToSun = normalize(uSunPosition.xz - vWorldPos.xz); + vec2 dirToCam = normalize(cameraPosition.xz - vWorldPos.xz); + float sunPathGate = max(0.0, dot(-dirToSun, dirToCam)); + float sunGlint = pow(NdotH, 120.0) * pow(sunPathGate, 8.0) * 3.5; + float sunSheen = pow(NdotH, 32.0) * pow(sunPathGate, 4.0) * 0.6; + + vec3 sunSpecular = (sunGlint + sunSheen) * uSunColor; + color += sunSpecular; + + // 4. White Sea Spray Foam on Wave Peaks + float foamThreshold = smoothstep(0.08, 0.16, vWaveElevation + nMap1.r * 0.04); + color = mix(color, uFoamColor, foamThreshold * 0.65); + + // 5. Atmospheric Horizon Fog & Sunset Haze Blending + // Perfectly matches SkyDome's direction-dependent horizon atmosphere + vec2 dirToHoriz = normalize(vWorldPos.xz - cameraPosition.xz); + float sunAlignment = max(0.0, dot(dirToHoriz, normalize(uSunPosition.xz))); + vec3 horizonHaze = mix(vec3(0.06, 0.15, 0.26), vec3(0.68, 0.35, 0.16), pow(sunAlignment, 2.5)); + + float dist = length(cameraPosition - vWorldPos); + float fogFactor = smoothstep(uFogNear, uFogFar, dist); + color = mix(color, horizonHaze, fogFactor * 0.94); + + gl_FragColor = vec4(color, 1.0); + } + `, +}; + +export default function Water() { + const meshRef = useRef(); + const materialRef = useRef(); + + const normalMap = useMemo(() => createOceanNormalMap(512), []); + + const uniforms = useMemo( + () => ({ + uTime: { value: 0 }, + uNormalMap: { value: normalMap }, + uSunPosition: { value: new THREE.Vector3(2, 16, -75) }, + uSunColor: { value: new THREE.Color("#ffb86c") }, // Golden sunset sunbeam + uDeepWaterColor: { value: new THREE.Color("#020e1e") }, // Deep oceanic abyss sapphire navy + uMidWaterColor: { value: new THREE.Color("#05223e") }, // Rich maritime navy blue + uCrestWaterColor: { value: new THREE.Color("#0a4565") }, // Translucent emerald/teal wave scattering + uFoamColor: { value: new THREE.Color("#f0f9ff") }, // Crisp white sea spray + uSkyColor: { value: new THREE.Color("#102844") }, // Cool twilight sky reflection + uFogColor: { value: new THREE.Color("#08182b") }, // Deep oceanic horizon fog + uFogNear: { value: 60 }, + uFogFar: { value: 450 }, + }), + [normalMap] + ); + + useFrame((state, delta) => { + if (materialRef.current) { + materialRef.current.uniforms.uTime.value += delta; + } + }); + + return ( + + + + + ); +} diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..2b6071a --- /dev/null +++ b/src/index.css @@ -0,0 +1,90 @@ +@import "tailwindcss"; + +@layer base { + :root { + --font-serif: 'Playfair Display', Georgia, serif; + --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif; + } + + html, body { + margin: 0; + padding: 0; + width: 100%; + min-height: 100%; + background-color: #020713; + color: #f8fafc; + font-family: var(--font-sans); + overflow-x: hidden; + } + + #root { + width: 100%; + min-height: 100vh; + position: relative; + } +} + +.font-serif-luxury { + font-family: var(--font-serif); +} + +.font-script-italic { + font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif; + font-style: italic; + font-weight: 500; +} + +.font-sans-clean { + font-family: var(--font-sans); +} + +/* Glassmorphism Luxury Panel with Light-Blue & White Theme */ +.glass-panel { + background: rgba(5, 18, 38, 0.78); + backdrop-filter: blur(14px); + -webkit-backdrop-filter: blur(14px); + border: 1px solid rgba(125, 211, 252, 0.24); + box-shadow: 0 8px 32px rgba(2, 10, 24, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.18); + transform: translateZ(0); + -webkit-transform: translateZ(0); + will-change: transform, opacity; + backface-visibility: hidden; + -webkit-backface-visibility: hidden; +} + +.glass-pill { + background: rgba(255, 255, 255, 0.05); + backdrop-filter: blur(8px); + -webkit-backdrop-filter: blur(8px); + border: 1px solid rgba(255, 255, 255, 0.12); + transform: translateZ(0); +} + +/* Custom scrollbar */ +::-webkit-scrollbar { + width: 6px; +} +::-webkit-scrollbar-track { + background: #030712; +} +::-webkit-scrollbar-thumb { + background: #1e293b; + border-radius: 9999px; +} +::-webkit-scrollbar-thumb:hover { + background: #334155; +} + +/* Hero letter shadow: Very faint, delicate whisper shadow */ +.hero-letter-shadow { + text-shadow: + 0 2px 8px rgba(2, 6, 23, 0.20), + 0 4px 18px rgba(2, 6, 23, 0.12); +} + +.hero-script-shadow { + text-shadow: + 0 2px 8px rgba(2, 6, 23, 0.20), + 0 4px 18px rgba(2, 6, 23, 0.12), + 0 0 20px rgba(56, 189, 248, 0.15); +} diff --git a/src/main.jsx b/src/main.jsx new file mode 100644 index 0000000..87ab87d --- /dev/null +++ b/src/main.jsx @@ -0,0 +1,14 @@ +if (import.meta.env.DEV) { + import("react-grab"); +} + +import { StrictMode } from 'react' +import { createRoot } from 'react-dom/client' +import './index.css' +import App from './App.jsx' + +createRoot(document.getElementById('root')).render( + + + , +) diff --git a/src/utils/audio.js b/src/utils/audio.js new file mode 100644 index 0000000..98b1675 --- /dev/null +++ b/src/utils/audio.js @@ -0,0 +1,99 @@ +/** + * Web Audio API procedural ocean surf & breeze sound generator. + * Zero external audio files required. Runs purely in-browser. + */ +class OceanSoundscape { + constructor() { + this.ctx = null; + this.isPlaying = false; + this.gainNode = null; + this.filterNode = null; + this.lfo = null; + } + + init() { + if (!this.ctx) { + const AudioCtx = window.AudioContext || window.webkitAudioContext; + this.ctx = new AudioCtx(); + } + } + + start() { + this.init(); + if (this.ctx.state === "suspended") { + this.ctx.resume(); + } + + if (this.isPlaying) return; + + // Create pink/brown noise buffer for ocean surf + const bufferSize = this.ctx.sampleRate * 4; + const noiseBuffer = this.ctx.createBuffer(1, bufferSize, this.ctx.sampleRate); + const output = noiseBuffer.getChannelData(0); + let lastOut = 0.0; + + for (let i = 0; i < bufferSize; i++) { + const white = Math.random() * 2 - 1; + // Low-pass filter for ocean rumble + output[i] = (lastOut + 0.02 * white) / 1.02; + lastOut = output[i]; + output[i] *= 3.5; + } + + const whiteNoise = this.ctx.createBufferSource(); + whiteNoise.buffer = noiseBuffer; + whiteNoise.loop = true; + + // Filter simulating wave movement + this.filterNode = this.ctx.createBiquadFilter(); + this.filterNode.type = "lowpass"; + this.filterNode.frequency.setValueAtTime(320, this.ctx.currentTime); + + // LFO for wave modulation rhythm + this.lfo = this.ctx.createOscillator(); + this.lfo.frequency.setValueAtTime(0.12, this.ctx.currentTime); // ~8 sec wave cycle + const lfoGain = this.ctx.createGain(); + lfoGain.gain.setValueAtTime(220, this.ctx.currentTime); + this.lfo.connect(this.filterNode.frequency); + + // Master volume gain + this.gainNode = this.ctx.createGain(); + this.gainNode.gain.setValueAtTime(0.001, this.ctx.currentTime); + this.gainNode.gain.exponentialRampToValueAtTime(0.18, this.ctx.currentTime + 2); + + whiteNoise.connect(this.filterNode); + this.filterNode.connect(this.gainNode); + this.gainNode.connect(this.ctx.destination); + + whiteNoise.start(); + this.lfo.start(); + this.noiseSource = whiteNoise; + this.isPlaying = true; + } + + stop() { + if (!this.isPlaying || !this.gainNode) return; + this.gainNode.gain.exponentialRampToValueAtTime(0.0001, this.ctx.currentTime + 1.2); + setTimeout(() => { + try { + if (this.noiseSource) this.noiseSource.stop(); + if (this.lfo) this.lfo.stop(); + } catch (e) { + // ignore + } + this.isPlaying = false; + }, 1200); + } + + toggle() { + if (this.isPlaying) { + this.stop(); + return false; + } else { + this.start(); + return true; + } + } +} + +export const oceanAudio = new OceanSoundscape(); diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..1a3be9a --- /dev/null +++ b/vite.config.js @@ -0,0 +1,8 @@ +import tailwindcss from '@tailwindcss/vite' +import react from '@vitejs/plugin-react' +import { defineConfig } from 'vite' + +// https://vite.dev/config/ +export default defineConfig({ + plugins: [tailwindcss(), react()], +})