Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
feat(club): venue GLB + HDRI loader, decoder postinstall, x402 wire checks
nirholas143b4d26d2be
diff --git a/.gitignore b/.gitignoreindex a3b786019..6a00866fd 100644--- a/.gitignore+++ b/.gitignore@@ -40,6 +40,11 @@ data/_generated/# Animation build cachepublic/animations/clips/.input-hashes.json++# Draco + KTX2 decoder binaries — copied from node_modules/three by+# scripts/copy-three-decoders.mjs (postinstall). Recreated every install;+# do not commit so the lockfile-pinned three.js version stays authoritative.+public/three/Handshake# Sandbox clones — see experiments/README.mddiff --git a/api/wk.js b/api/wk.jsindex c880e011a..9919dc88e 100644--- a/api/wk.js+++ b/api/wk.js@@ -473,6 +473,14 @@ function handleX402Discovery(req, res) {serviceName: 'three.ws Permit2 Demo',tags: ['x402', 'permit2', 'eip2612', 'gasless', 'demo'],}),+ danceTip: withService({+ serviceName: 'three.ws Pole Club',+ tags: ['3d', 'avatar', 'club', 'tip', 'dance'],+ }),+ assetDownload: withService({+ serviceName: 'three.ws Asset Bazaar',+ tags: ['3d', 'asset', 'glb', 'avatar', 'download'],+ }),};// USE-13: per-tool MCP catalog entries. Each priced tool is its own@@ -863,6 +871,83 @@ function handleX402Discovery(req, res) {}),};})(),+ (() => {+ const url = `${origin}/api/x402/dance-tip`;+ const accepts = acceptsForPrice('1000', url);+ return {+ path: '/api/x402/dance-tip',+ url,+ method: 'GET',+ description:+ 'three.ws Pole Club — tip a dancer to perform one routine on the 3D pole stage. Pay $0.001 USDC per performance. Pick a dancer slot (1-4) and a dance style. The settled call returns a performance ticket the /club page consumes to spawn the dancer and play the routine for ~12 seconds.',+ mimeType: 'application/json',+ serviceName: routeMeta.danceTip.serviceName,+ tags: routeMeta.danceTip.tags,+ iconUrl: routeMeta.danceTip.iconUrl,+ accepts,+ extensions: extensionsForAccepts(accepts, {+ method: 'GET',+ discoverable: true,+ input: { dancer: '1', dance: 'rumba' },+ inputSchema: {+ type: 'object',+ required: ['dancer', 'dance'],+ properties: {+ dancer: {+ type: 'string',+ enum: ['1', '2', '3', '4'],+ description: 'Stage slot 1-4 — which dancer should take the pole.',+ },+ dance: {+ type: 'string',+ enum: ['rumba', 'silly', 'thriller', 'capoeira', 'hiphop'],+ description: 'Performance style — a clip in /animations/manifest.json.',+ },+ },+ },+ }),+ };+ })(),+ (() => {+ // Asset Bazaar advertises a representative price ($0.10 USDC =+ // 100_000 atomics); the live 402 challenge always reflects the+ // per-asset row from the paid_assets table. The discovery entry+ // is a placeholder so the Bazaar indexer can find the route;+ // per-asset listings would explode the catalog and aren't worth+ // the noise here. The `?slug=<slug>` query param is documented+ // in the input schema so crawlers know how to drive it.+ const url = `${origin}/api/x402/asset-download`;+ const accepts = acceptsForPrice('100000', url);+ return {+ path: '/api/x402/asset-download',+ url,+ method: 'GET',+ description:+ 'three.ws Asset Bazaar — pay once in USDC to unlock a 3D asset (GLB, avatar, or accessory) hosted on R2. Wallets that have already paid can re-download for free by signing in with SIWX (CAIP-122). Each asset has its own price and creator payout address; the response carries a short-lived presigned R2 URL the client uses to fetch the file directly.',+ mimeType: 'application/json',+ serviceName: routeMeta.assetDownload.serviceName,+ tags: routeMeta.assetDownload.tags,+ iconUrl: routeMeta.assetDownload.iconUrl,+ accepts,+ extensions: extensionsForAccepts(accepts, {+ method: 'GET',+ discoverable: true,+ input: { slug: 'pole-dancer-rumba' },+ inputSchema: {+ type: 'object',+ required: ['slug'],+ properties: {+ slug: {+ type: 'string',+ minLength: 1,+ maxLength: 128,+ description: 'Unique asset slug from the paid_assets catalog.',+ },+ },+ },+ }),+ };+ })(),// USE-13: one Bazaar catalog row per priced MCP tool. The shared// `/api/mcp` resource above is the transport entry; these are// the individual paid tools facilitators index by toolName.diff --git a/package.json b/package.jsonindex 2b0458b82..64af38ceb 100644--- a/package.json+++ b/package.json@@ -44,7 +44,7 @@]},"scripts": {- "postinstall": "npm run build --prefix agent-payments-sdk && node scripts/fix-pump-sdk-esm.mjs",+ "postinstall": "npm run build --prefix agent-payments-sdk && node scripts/fix-pump-sdk-esm.mjs && node scripts/copy-three-decoders.mjs","dev": "vite --port 3000","dev:multi": "npm run dev --prefix multiplayer","dev:walk-all": "node scripts/dev-walk-all.mjs",@@ -56,6 +56,10 @@"build:wasm": "PATH=\"$HOME/.cargo/bin:$PATH\" RUSTFLAGS='-C target-feature=+simd128' wasm-pack build crates/vanity-grinder --target web --release --out-dir ../../src/solana/vanity/wasm && printf '%s\\n' '# wasm-pack writes a default `*` gitignore that excludes everything.' '# Override it: the generated files in this directory ARE checked in so the' '# app builds without requiring a Rust toolchain at install time. Run' '# `npm run build:wasm` after editing /crates/vanity-grinder/src/lib.rs to' '# refresh these artifacts.' '!*' > src/solana/vanity/wasm/.gitignore","build:animations": "node scripts/build-animations.mjs","build:club-props": "node scripts/build-club-props.mjs",+ "build:club-venue": "node scripts/build-club-venue.mjs",+ "build:club-hdri": "node scripts/build-club-hdri.mjs",+ "build:club-audio": "node scripts/build-club-audio.mjs",+ "build:club-assets": "npm run build:club-props && npm run build:club-venue && npm run build:club-hdri","build:artifact-viewer": "node scripts/build-artifact-viewer.mjs","build:lib": "TARGET=lib vite build","build:lib:full": "TARGET=lib LIB_FORMATS=es,umd vite build",diff --git a/public/club/assets/LICENSES.md b/public/club/assets/LICENSES.mdnew file mode 100644index 000000000..6cf12b3a0--- /dev/null+++ b/public/club/assets/LICENSES.md@@ -0,0 +1,75 @@+# Club venue asset provenance++This file records the source + license of every third-party asset bundled+under `public/club/venue/`. Required by the project's commercial-use rules+(see `/CLAUDE.md` and `prompts/club/01-venue-glb-and-environment.md`).++Each entry must include:++- **File** — the path under `public/club/venue/`.+- **Source** — original URL or product page.+- **Author / Studio** — credit line as required by the license.+- **License** — full SPDX identifier or named license. Must permit+ commercial use + redistribution as part of a bundled web app.+- **Modifications** — any edits made in Blender (named-empty injection,+ scale normalisation, AO bake, draco compression, etc.).++## Required slots++The `/club` runtime expects the following files. Each is loaded+unconditionally — a 404 surfaces an error in the UI; the page does not+fall back to primitives.++### `club-venue.glb`++The authored nightclub interior. Required contents:++- Floor with PBR varnish material (scuffed roughness map).+- Four perimeter walls with alcove offsets.+- Ceiling with exposed beams, ducts, and a lighting truss.+- Bar geometry with bottles + neon backsplash.+- Backstage door / curtain props on the deep wall, one per dancer slot.+- Crowd silhouettes lining the perimeter (instanced).++Required named empties (the runtime reads world positions from these).+Names use underscores rather than dots — three.js's `PropertyBinding`+sanitizer strips `[`, `]`, `.`, `:`, `/` from every loaded node name,+so a Blender empty called `truss.spot.01` arrives at runtime as+`trussspot01`. Author with the underscored form.++- `truss_mirrorball` — anchor for the disco ball (prompt 04).+- `truss_spot_01`–`truss_spot_04` — fixture mounts for the four+ per-pole spotlights (overrides the analytical `layout.x, 6, layout.z`+ in `src/club.js`).+- `stage_01`–`stage_04` — center of each pole stage. Overrides the+ analytical `STAGE_RADIUS`-based positions.+- `backstage_door_01`–`backstage_door_04` — dancer spawn points,+ one per slot. Overrides `backstageX, backstageZ`.+- `bar_backsplash_neon` — anchor for the emissive strip behind the bar+ (prompt 04).++### `club-hdri.hdr`++Equirectangular HDR for `scene.environment`. Affects PBR reflections+only — `scene.background` stays the dark fog color. Suggested sources:++- Polyhaven (CC0): https://polyhaven.com/hdris/indoor/nightlife+- Greg Zaal nightclub set (CC0).++---++## Entries++<!--+Append one block per file in the form:++### `<filename>`+- **Source**: <url>+- **Author**: <name>+- **License**: <SPDX or named>+- **Modifications**: <list>+-->++_No assets recorded yet. Once `club-venue.glb` and `club-hdri.hdr` are+dropped into `public/club/venue/`, fill in the entries above with+provenance for each file before pushing._diff --git a/public/club/venue/LICENSES.md b/public/club/venue/LICENSES.mdnew file mode 100644index 000000000..7d589a1ab--- /dev/null+++ b/public/club/venue/LICENSES.md@@ -0,0 +1,48 @@+# /club/venue asset provenance++Both files in this directory are synthesised at build time from procedural+geometry / sampled radiance functions:++- [scripts/build-club-venue.mjs](../../../scripts/build-club-venue.mjs) →+ `club-venue.glb` (authored via `@gltf-transform/core`)+- [scripts/build-club-hdri.mjs](../../../scripts/build-club-hdri.mjs) →+ `club-hdri.hdr` (Radiance RGBE, no third-party samples)++Because nothing in either file traces back to a third-party asset, three.ws+holds full copyright and dedicates them to the public domain under+**Creative Commons CC0 1.0 Universal**+(https://creativecommons.org/publicdomain/zero/1.0/). Use, modify, and+redistribute freely; attribution is appreciated but not required.++| File | Source | License | Notes |+|---|---|---|---|+| `club-venue.glb` | Authored — primitive geometry assembled via `@gltf-transform/core` | CC0 1.0 | Floor disc, cylinder wall, ceiling, bar + neon backsplash, truss beams, per-slot backstage doors. All 14 named empties from the `src/club-venue.js` contract are present. |+| `club-hdri.hdr` | Authored — radiance functions sampled into Radiance RGBE | CC0 1.0 | 128×64 equirectangular. Dark purple wash + four warm/coloured spot bumps + mirrorball ring + bar back-glow. Tuned for PBR reflections (`scene.environment`) only — background stays the dark fog colour. |++## Upgrading to artist-authored assets++The named-empty contract in [src/club-venue.js](../../../src/club-venue.js)+is the only thing the runtime depends on. Drop a richer+`club-venue.glb` / `club-hdri.hdr` into this directory (e.g. a Polyhaven+CC0 nightclub HDR + a hand-modelled GLB) and the page will pick it up on+next load. Update this file with provenance for each replacement asset+before committing:++```markdown+### `club-venue.glb`+- **Source**: https://example.com/asset-page+- **Author**: Studio name+- **License**: CC0 1.0 (or SPDX identifier)+- **Modifications**: named-empty injection, draco compression, ...+```++## Regenerating the procedural baseline++```sh+npm run build:club-venue # → club-venue.glb+npm run build:club-hdri # → club-hdri.hdr+npm run build:club-assets # → both props + venue (in one shot)+```++Output is deterministic — same input code produces byte-identical files —+so committed files only change when a builder script changes.diff --git a/public/club/venue/club-hdri.hdr b/public/club/venue/club-hdri.hdrnew file mode 100644index 000000000..fe2490632--- /dev/null+++ b/public/club/venue/club-hdri.hdr@@ -0,0 +1,7 @@+#?RADIANCE+# Authored by three.ws build-club-hdri (CC0 1.0)+FORMAT=32-bit_rle_rgbe+EXPOSURE=1.0++-Y 64 +X 128+�<�}�<�}�<�}�<�}�;�}�;�}:�}}9�}{8�}y7�}w6�}u5�}r5�}p4�}n3�}l2�}j1�}h0�}f0�}f0�}f0�}g1�}i2�}n5�}v9�}�@�}�I�}�W�}�i�}���}�Oq~�ay~�v�~�HG�UM�dT�s[��c�H5��O9��T=��W@��YD��ZH��YL��VQ��SW��O^��Kf��Go��Dz��A���@���?���>���?���@��B��|EĀxIǀtMʀoR̀iẀd]π^cрYjҀUpԀQuՀOyԀM|ҀL}M}ȀN{��Qx��Vt��\q��cm��lj������em��dc��c[��cT��bO��`J��^E��[A��V=��P9��I5���c�t[�eT�VM�HG�w�~�ay~�Oq~���}�i�}�W�}�I�}�@�}v9�}n5�}i2�}g1�}f0�}f0�}f0�}h0�}j1�}l2�}n3�}p4�}r5�}u5�}w6�}y7�}{8�}}9�}:�}�;�}�;�}�<�}�<�}�<�}�<�}�A�}�A�}�A�}�@�}�@�}�?�}�>�}�=�}�<�}�;�}:�}|9�}y7�}v6�}t5�}q4�}n3�}l2�}k2�}j1�}j2�}k3�}o5�}u8�}�>�}�G�}�T�}�e�}�}�}�Nq~�ay~�y�~�KH�[O�mX��a�J5��T:��]?��fD��lI��qN��tS��tX��s]��pd��lk��gu��a��\���X���T���R���Qƀ�PԀ�QဦS뀣V�Y���^��K2��G5��D8��@<��<A��9E��6I��4L��2O��1Q��0Q��1Q��c���g��m�ـu�Ȁ�����������������|���q�̀h��`��}Z��zT��uO��oJ��hE��_@��U:��K5���a�mX�[P�KH�y�~�ay~�Nq~�}�}�e�}�T�}�G�}�>�}u8�}o5�}k3�}j2�}j1�}k2�}l2�}n3�}q4�}t5�}v6�}y7�}|9�}:�}�;�}�<�}�=�}�>�}�?�}�@�}�@�}�A�}�A�}�A�}�G�}�G�}�G�}�F�}�E�}�D�}�C�}�B�}�A�}�?�}�>�}�<�}�;�}~9�}{8�}w7�}t5�}r4�}p4�}n3�}o4�}q5�}u8�}~=�}�D�}�O�}�`�}�v�}�Jo~�^x~�w�~�KH�]P�rZ�E2��Q8��^>��kE��wK���Q��E,��H/��J2��J5��I9��G=��DB��AH��|���u���o���kҀ�h��f��k3��j3��i5��g6��e9��b<��^?��ZC��UH��QM��LR��HW��D\��Aa��?d��=g��=h��=g��>f��Ad��Ea��������倯�Ѐ����ҧ��䥙������R@��Q;��P7��N3��K0��G,��R��xK��lE��_>��Q8��E2��rZ�]P�KH�w�~�^x~�Jo~�v�}�`�}�O�}�D�}~=�}u8�}q5�}o4�}n3�}p4�}r4�}t5�}w7�}{8�}~9�}�;�}�<�}�>�}�?�}�A�}�B�}�C�}�D�}�E�}�F�}�G�}�G�}�G�}�N�}�N�}�M�}�M�}�L�}�K�}�I�}�H�}�F�}�D�}�C�}�A�}�?�}�=�}�;�}:�}{8�}x7�}u6�}t6�}t6�}w8�}};�}�A�}�K�}�Y�}�m�}�En~�Xv~�q�~�HG�[P�rZ�F3��U9��dA��uI���Q��J,��P0��V4��Z8��\<��\@��[E��YJ��UP��QW��M`��Ij��Eu��B���@���?���?���@���A���D��~FÁzJǁuOʁpT́jYd`ρ^fсYmӁTsԁPyՁM}ՁK�ӁK�ρK�ȁM��P|��Uy��[t��cp��������怂hg��g]��fU��fM��eG��cB��a=��]9��X5��R1��K-���Q��uI��eA��U:��F3��rZ�[P�HG�q�~�Xv~�En~�m�}�Y�}�K�}�A�}};�}w8�}t6�}t6�}u6�}x7�}{8�}:�}�;�}�=�}�?�}�A�}�C�}�D�}�F�}�H�}�I�}�K�}�L�}�M�}�M�}�N�}�N�}c+�~b+�~b+�~`*�~_*�~])�~�P�}�O�}�M�}�K�}�H�}�F�}�D�}�B�}�?�}�=�}�<�}:�}|9�}{9�}{9�}~;�}�@�}�G�}�R�}�d�}�}�}�Ps~�g}~�CE�VM�mX�E2��U9��gB��zK��G*��Q/��Z4��b9��h=��mB��pG��pL��oR��lX��h`��ci��^s��Y��T���Q���N���M���Mǁ�NӁ�Pށ�R恙V큔Z�`���f���m��yu��r}��6C��3F��1J��/M��[���Z���[��]��a�ہg�́o���x������������|��~p��}e��|\��{U��yN��vI��rC��k>��d9��[4��Q/��G*��{K��gB��U9��E2��nX�VM�CE�g}~�Ps~�}�}�d�}�R�}�G�}�@�}~;�}{9�}{9�}|9�}:�}�<�}�=�}�?�}�B�}�D�}�F�}�H�}�K�}�M�}�O�}�P�}])�~_*�~`*�~b+�~b+�~c+�~o0�~n0�~m0�~l/�~j.�~h-�~f,�~c+�~`*�~])�~�O�}�L�}�J�}�G�}�D�}�B�}�@�}�>�}�<�}�<�}�=�}�?�}�D�}�M�}�[�}�o�}�Gp~�[x~�w�~�NJ�eT��`�Q8��e@��zJ��H*��T0��`6��k<��uB��}G���M���S��C,���_���g��|p��v{��p���j���d���`���]ʁ�\ہ�\쁿]��^/��]1��[3��X6��U9��Q=��LA��HF��DK��@O��<T��:X��7[��6]��6^��6^��7]��9[��z�ށ��ʁ������������͖��ܕw��l��c���\���U��N��H��wB��m<��a6��U0��I+��zJ��e@��Q8���`�eT�NJ�w�~�[x~�Gp~�o�}�[�}�M�}�D�}�?�}�=�}�<�}�<�}�>�}�@�}�B�}�D�}�G�}�J�}�L�}�O�}])�~`*�~c+�~f,�~h-�~j.�~l/�~m0�~n0�~o0�~}6�~|6�~{5�~y5�~w4�~u3�~r1�~o0�~k/�~g-�~c,�~_*�~�P�}�M�}�J�}�G�}�D�}�B�}�@�}�@�}�@�}�C�}�I�}�S�}�c�}�{�}�Ot~�g~~�DF�YO�t[�K5��^=��uH��G*��T0��b6��p=��}D��D&��I)��L,��N/��N3��M7��K;��HA��EG��AN��{���u���pՁ�m��k��p5��o6��n7��l9��j<��f?��bB��^G��YL��TQ��OW��J]��Fb��Cg��@k��?m��>n��?n��@l��Cj��Gg��Lc����ꁷ�Ӂɵ��ܱ��ﯘ��WE��V>��V9��T5��R1��O-��K)���L��~E��q>��c7��U0��G*��uH��^=��K5��t[�YO�DF�g~~�Ot~�{�}�c�}�S�}�I�}�C�}�@�}�@�}�@�}�B�}�D�}�G�}�J�}�M�}�P�}_*�~c,�~g-�~k/�~o0�~r1�~u3�~w4�~y5�~{5�~|6�~}6�~�@�~�=�~�<�~�<�~�=�~�=�~�9�~|6�~x4�~u4�~s4�~m1�~e-�~`*�~�S�}�T�}�Q�}�I�}�E�}�E�}�J�}�P�}�R�}�Z�}�l�}�Fs~�\}~�v�~�LJ�eT��b�U:��lD���O��Q.��`5��p=��E��G&��N*��S.��W2��Y6��Y:��X>��VC��RI��NQ��JY��Fc��Cm��@y��>���=���=��=��}?��{A��yD��uH��pL��kQÂeVĂ_]ƂZcȂTjʂPp˂LûIẑH}ʂG~łG}��I|��Ly��Qu��Wq��_m�������ׁ�����dV��cN��cF��bA��`<��^7��Z3��U/��O+��H'��E��q=��`5��Q.���O��lD��U:���b�eT�MJ�v�~�\}~�Fs~�l�}�Z�}�R�}�P�}�J�}�E�}�E�}�I�}�Q�}�T�}�S�}`*�~e-�~m1�~s4�~u4�~x4�~|6�~�9�~�=�~�=�~�<�~�<�~�=�~�@�~}J��\�~�F�~�O�~o?�~M��g�~�B�~�@�~�a�~qH��p�~~=�~n1�~�D�~�y�~�x�~q>�~�P�}^1�~�b�~���~�S�~�l�}���}�s�~�]x�^k�ZU�p[�O<��qV���a��M.��Z2��l<��L��M-��R-��W/��]3��c:��hB��gD��cE��_J��]S��\_��Wi��Po��Jz��H���I���I���F���E���F�K̂�Qւ�S}UׂwZقrb܂ol�is�_w�Y}�U��V��V��Q�߂O�ՂQ�˂W�`���e���jz��tv���ty��vq��tf��pX��nN��nH��oF��nD��g;��_4��X/��S.��M-��L��m<��Z2��M.���b��rV��O<��q[�ZU�^k�]x�s�~���}�l�}�S�~���~�b�~^1�~�P�}q>�~�x�~�y�~�D�~n1�~~=�~�p�~qH��a�~�@�~�B�~�g�~~M�o?��O�~�F�~�\�~}J�ǚހ�y��`�~�P��z��٬�xW���k�~�i�~sU��ҩ퀗v��oF��H�~�j�����̀�g�q<�~�|�~�r��Ť��͢��[�~�f�~���䀸���߅��j�xk��vv�DŽ|��eG��d9��L��^E��tY��hC��`5��g:��zQ���q��f��pQ��iR��ne�⁋��|���_���R���S���e���p߂�[҂�M˂�Oւ�`�_<��U8���a���c킆s��MI��IM��9E��b���b���;W��A_��4U��Y��[�߂o�悍�҂x��������������˛����j��yV��|T��h���r��R��j;��b6��iD��uY��^E��L��d9��eH�DŽ|��vv��xk��j߅����������f�~�[�~͢�Ť���r���|�~q<�~�g���̀���j��H�~oF��v��ҩ�sU���i�~�k�~xW��٬�z���P��`�~�y�ǚހ��́�k��}@�Ȃ��v��̩�ҤꀈO��N�̢�Ȩ���s���v��c�~b����Á��z`���U�~�m��p������ӀΉ�~��~ͥՀϭځ�}���\a��J>������ai��hm��e��m?��I/��~i�����ր]��i;��p@���l��aT��TF��|\��qX��x��U_��Se��o���X���]���O���r���Tۂ�V�d<��{T��iI��N6���k��MB��e_��ac��BO��5I��7Q��Mi��[x��Bc��a���c��E`��as��������������������ӂ��ƂՕ~�˂]�܉`��YG��dU���m��sA��k<�Ձ^������~j��I/��m?�рf��hm��ai������J>��\a��}��ϭځͥՀ��~Ή�~��Ӏ���p���m��U�~z`������Áb���c�~�v��s��Ȩ��̢倄N��O�Ҥ�̩䁒v��Ȃ�}@��k����́�d��wN���>��g�О怌p���q���D�~C��n���m��ڀ�Y��Y�~���s_��r^������I�~qN���ʀ~j���g���m�~�x�~�p���r���Ѐ����I:��~�ΐ��Ꟙ��sS��o>��G*��lQ�ڇl��vN��k;��r@���]��TC��L;��}Z��tZ��{q��JQ������k���[���\���tۂ����h삭UႫW�_7��mF��aA��O6��H7��KA��XT��TX��@M��6L��7R��Db��Ll��<`��1V��d���?\��Rg���������������ٳ��販�Ӓw�ц_���]��Q<��XD��_��uA��m;��wN�ڈl��mR��G+��o>��sS�Ꟙ�ΐ���~��I:�����Ѐ�r���p���x�~�m�~�g��~j����ʀqN��I�~���r^��s_������Y�~�Y�ڀ�m���n��~C��D��q���p��О怰g��>�wN���d���{��L��9��@��h�Ѐ��T��i�~�e�~�N��v��[��_�~�J�~�j�~�a��_��^�~y7�~�F�~pK��e��y�~�E�~�P�~���~Ȇ���pc�D3��bH���p��Y?��_8��n;���H��R/��`9��e7��j8��q=��zG��S��T��yT��uZ��re��sv��m���b���[���X���Z���\ς�W�TႫV사]��W3��S4��M4��H7��F<��EC��AH��:I��6L��4P��5V��6Y��2X��0V��c���k��x��}�����������������~�ʉk�ӆ^�݆X��W��U��H��t>��l9��f8��a9��S0���H��n;��_8��Y?���q��bH��D3��pc�Ȇ����~�P�~�E�~�y�~�e�pK��F�~y7�~�^�~�_��a��j�~�J�~�_�~�[��v��N��e�~�i�~�T�Ѐ��h��@��9��L��{��B��?��>��=��>��>��:��6��g�~�e�~�e�~�]�~�S�~�M�~�J�~�K�~�F�~�=�~~7�~x5�~y9�~{<�~z:�~�=~~�H~�]�~�|�~�OP�eW��d�X;��sH��H+��Y2��l:���D��L'��V-��`2��h7��p<��uA��xG��xL��wR��sY��oa��jk��dw��_���Z���V���T���R�Rт�Sނ�UꂦX�\���a��K3��H6��D:��@?��<C��9G��5K��3O��1R��0T��/U��0U��a���f��m�ׂu�ł�����������������s�ņg�х]�لU�ނO��I��zC��s=��k7��a2��W-��L(��D��m:��Y2��I+��sH��X;���d�eW�OP�|�~�]�~�H~�=~~z:�~{<�~y9�~x5�~~7�~�=�~�F�~�K�~�J�~�M�~�S�~�]�~�e�~�e�~�g�~�6��:��>��>��=��>��?��B��F��F��E��D��B��@��>��<��9��6��g�~�a�~�[�~�U�~�O�~�J�~�D�~�@�~�;�~�8�~{6�~x6�~{8�~�>�~�H�~�Y�~�r�~�KL�bU��b�U:��mD��E)��V0��i9��}B��I&��S+��]0��e5��l:��q?��tD��tI��sO��pV��k^��fg��ar��[��W���S���Q���O���Oʂ�Pׂ�R₡U낝X�]���c���i���q��><��:A��7E��4I��1M��/O��.Q��.R��\���^��b�߂i�ςq���{�������������|���o���d�ʁZ�ӀS��~L��zF��v@��o;��g6��^1��T+��I&��~B��i9��V0��E)��nD��U:���b�cU�KL�r�~�Y�~�H�~�>�~{8�~x6�~{6�~�8�~�;�~�@�~�D�~�J�~�O�~�U�~�[�~�a�~�g�~�6��9��<��>��@��B��D��E��F��F��O��N��M��L��J��H��E��C��@��=��9��6��e�~�^�~�W�~�Q�~�K�~�E�~�@�~�<�~�:�~�9�~�:�~�?�~�H�~�X�~�o�~�HL�^T�|`�Q8��hB���N��R.��c6��v?��E$��O)��X.��`3��f7��k<��nA��nF��mK��jR��fY��ab��[l��Wy��R���O���L���K���K���L̂�Nւ�P߂�T傐Xꂊ^킄d��|k�ur�n{��h���b���]���Z���X���W��W��Y���]�ӂc�Ăk���u�����������}u��{i��{_��zV��yN��wH��tB��o=��i8��b3��Y.��P)��F$��w?��d6��R.���N��hB��Q8��|`�^T�HL�o�~�X�~�H�~�?�~�:�~�9�~�:�~�<�~�@�~�E�~�K�~�Q�~�W�~�^�~�e�~�6��9��=��@��C��E��H��J��L��M��N��O��W��W��V��T��R��P��M��J��G��C��?��<��8��h�~�`�~�Y�~�R�~�K�~�F�~�A�~�>�~�<�~�<�~�@�~�H�~�U�~�j�~�DK�YR�t]�K5��a>��zI��L+��\3��n;��C��I&��Q+��Y/��_3��c8��e<��fA��eF��bL��^S��Y[��Ue��Pp��L|��I���G���F���E���F���HƂ�J�MԂ�Rق�V܂z\ނsc��lj�fq�`y�[��V��S��Q��P��Q�ڂS�ЂV�Ă\���c���l}��wy���vz��tm��ra��qX��qP��pI��nC��k>��g9��a4��Z0��R+��J&��D��n;��\3��L+��zJ��a>��K5��t]�YR�DK�j�~�U�~�H�~�@�~�<�~�<�~�>�~�A�~�F�~�K�~�R�~�Y�~�`�~�h�~�8��<��?��C��G��J��M��P��R��T��V��W��W��a��`��_��^��[��Y��V��R��N��J��F��B��=��9�~5��a�~�Y�~�R�~�L�~�F�~�B�~�?�~�>�~�A�~�G�~�S�~�e�~��~�RP�jY�E3��X;��oD��E(��S/��c6��t>���F��I'��P+��V/��Y3��\7��\;��[?��XE��UK��QR��L[��He��Ep��B|��@���?���?���?���A��C��|F��xJĂtNǂnSɂhYʂb`̂\fWmЂRtтNy҂K~҂I�ЂI�˂I�łK���N}��Sy��Yu��bq��������݁�hc��gX��fP��fH��eB��c=��a8��]4��X/��R+��J'���F��t>��d6��T/��E(��oD��X;��E3��jY�RP��~�e�~�S�~�G�~�A�~�>�~�?�~�B�~�F�~�L�~�R�~�Y�~�a�~~5��9��=��B��F��J��N��R��V��Y��[��^��_��`��a��6z��5y��i��g��e��b��^��Z��V��R��M��H��C��>��:�~5��a�~�Y�~�R�~�K�~�F�~�B�~�@�~�A�~�F�~�O�~�_�~�u�~�KM�`T�{_�N6��b?��zI��J*��X1��f7��t>���F��G&��L*��O-��Q1��Q4��P8��N=��KC��GI��DQ��@Z��yǁ�t܁�q�v8��u7��s8��r9��p;��n>��jA��fE��aJ��\O��WT��RZ��M`��If��Ek��Co��Ar��@s��Ar��Bq��En��Ik��Og������ځмÁ丯������ZG��Z@��Y;��X6��U2��R.��N*��H'���F��v?��g8��X1��J*��zI��c?��N6��{_�`T�KM�u�~�_�~�O�~�F�~�A�~�@�~�B�~�F�~�K�~�R�~�Y�~�a�~~5��:��>��C��H��M��R��V��Z��^��b��e��g��i��5y��6z��;���;���:���9���7~��6z��g��c��^��Y��T��O��I��D��?��:�~5��`�~�X�~�Q�~�J�~�F�~�C�~�B�~�E�~�L�~�X�~�k�~�CJ�UP�lX�D2��V9��jB��K��L+��X1��e7��p=��zC���I��D'��F*��F.��E1��C5���t��{��u���n���i���e���bҁ�`��`��d0��c1��a3��_5��\8��X<��T@��PD��KI��FN��BS��?X��<\��:`��8b��8c��8c��9a��<_�������灕�ҁ��������ş��֝���{���p���f��L/��J,���P���J��}D��r>��f7��Y1��L+��L��jB��V9��E2��lX�UP�CJ�k�~�X�~�L�~�E�~�B�~�C�~�F�~�J�~�Q�~�X�~�`�~~5��:��?��D��I��O��T��Y��^��c��g��6z��7~��9���:���;���;���@���@���?���>���<���;���8���6{��g��a��\��V��P��J��D��>��9��h�~�_�~�V�~�O�~�I�~�E�~�C�~�D�~�I�~�R�~�a�~�w�~�JL�]R�u[�I3��Z:��mC��L��K+��U0��_5��g:��n?��sD��vI��vN��uT��r[��mc��hl��bw��]���Y���U���R���Q���QЁ�R݁�T聤V�Z���_��K2��G6��C9��?=��<B��8F��5J��3N��1Q��0R��/S��_���a��e��k�Ձt�Á~�����������������t�i�_�ւW�ۀP��|J��xE��q@��i:��`5��V0��K+��L��mC��Z;��I3��v[�]R�JL�w�~�a�~�R�~�I�~�D�~�C�~�E�~�I�~�O�~�V�~�_�~�h�~�9��>��D��J��P��V��\��a��g��6{��8���;���<���>���?���@���@���F���E���E���C���B���@���=���;���8~��j��c��]��V��P��J��C��=��8��e�~�\�~�T�~�M�~�G�~�D�~�D�~�F�~�M�~�X�~�i�~���~�PL�cS�z\�K4��Z:��kA��|I��F)��N-��U1��[5��_9��a=��bB��`F��^L��ZR��VZ��Qc��Mn��Iz��F���D���C���C���C���E���Gǁ�J́�Nс{SԁuXցo_ieځcl܁]sށXz߁T���Q���O�ށN�فO�ҁQ�ɁT���Y���`{��hw��rs����nk��ma��lW��lP��kI��iD��g?��c:��]6��W1��O-��G)��|J��kB��Z:��K4��{\�cS�PL���~�i�~�X�~�M�~�F�~�D�~�D�~�G�~�M�~�T�~�\�~�e�~�8��=��C��J��P��V��]��c��j��8~��;���=���@���B���C���E���E���F���L���K���J���I���G���E���B���?���<���9���6y��d��]��V��O��H��B��<��6��b�~�X�~�P�~�J�~�F�~�C�~�D�~�H�~�O�~�\�~�n�~�CG�RL�eR�{[�I2��W8��d>��rE��~K��E)��I,��L/��N3��O6��N:��L>��ID��EJ��BQ��|���vƀ�qۀ�n�s6��q6��p6��o8��m:��k<��h?��dC��_G��ZL��UR��PW��K]��Gb��Dg��Bk��@m��@o��@n��Am��Dj��Hg��Nc��������ـ˵À���WH��WA��V<��U8��S4��O0��K-��F)��L��sE��e?��W8��J3��{[�eR�RL�CG�n�~�\�~�O�~�H�~�D�~�C�~�F�~�J�~�P�~�X�~�b�~�6��<��B��H��O��V��]��d��6y��9���<���?���B���E���G���I���J���K���L���Q���Q���P���N���L���J���G���D���A���=���9���6y��d��\��T��M��F��@��9��h�~�]�~�T�~�M�~�G�~�C�~�B�~�C�~�H�~�Q�~�^�~�p�~�DE�RJ�cP�vW�E0��P5��Z:��d?��mD��tI��yN��|S��|X��{^��we��sm��mw��h���b���]���Z���W���Vπ�Uހ�V쀰X��W.��U/��R2��O5��K8��G<��C@��@E��<I��9N��6Q��4T��3V��3W��3W��4V��m��s��{�р�������������������͊t�ىj��b��[��U��~O��wJ��oD��e?��[:��P5��E0��vX�cP�RJ�DE�p�~�^�~�Q�~�H�~�C�~�B�~�C�~�G�~�M�~�T�~�]�~�h�~�9��@��F��M��T��\��d��6y��9���=���A���D���G���J���L���N���P���Q���Q���W���V���U���S���Q���O���L���I���E���A���=���9���5x��b��Z��R��K��C��=��7��b�~�X�~�P�~�I�~�D�~�A�~�@�~�B�~�H~~�Q|~�]|~�o~�BB�NG�]L�lR�|Y�F0��N4��T8��Z;��]?��`C��`G��_L��\Q��YW��T_��Ph��Lr��H}��E���C���B���B���C���D���GȀ�J̀�Mр{RԀuWրo]icڀcj܀^qހYx߀U}��R�߀P�݀O�ـP�ҀR�ɀU���Z}��`y��iu��rq������lo��ke��j\��jU��iN��gI��eD��a@��\<��V8��O4��G0��}Y�mR�]L�OG�BB�o~�^|~�Q|~�H~~�B�~�@�~�A�~�D�~�I�~�P�~�X�~�b�~�7��=��C��K��R��Z��b��5x��9���=���A���E���I���L���O���Q���S���U���V���W���\ʀ�[ɀ�Zƀ�X�V���T���P���M���I���E���A���=���8~��h��_��W��O��G��@��9��g�~�\�~�S�~�K�~�D�~�@�~�>�~�>�~�@|~�Fx~�Nv~�Zv~�iy~�{~~�HB�SF�_K�kP�vV��[�D0��G3��H6��I9��H<��F@��CE�����z��s��n��j��g��e�j2��i3��h4��f6��d8��a;��^>��YB��UF��PK��LP��HV��DZ��A_��?b��>d��=e��>e��?d��Aa��E^��������������Ф�ᢞ�����O>��N;��L7��J4��F1��\�xV�lQ�`K�TF�HB�|~~�iy~�Zv~�Nv~�Fx~�@|~�>�~�>�~�@�~�D�~�K�~�S�~�\�~�g�~�9��@��G��O��W��_��h��8~��=���A���E���I���M���P���T���V���X�Zƀ�[ɀ�\ʀ�aԀ�`Ӏ�_Ѐ�]̀�[ǀ�X���U���Q���M���I���D���@���;���6z��d��[��S��K��C��<��6��`�~�U�~�M�~�E�~�@�~�<�~�:�~�u�}�=t~�Bp~�Jo~�To~�aq~�ou~�z~�H@�QD�YG�`K�eO�jS�lW�l[�k`�hf�dm�`u�[�V��R��O��M��L��L��L��N��P��T��X��]��b��i�yp�sw�m�4C��2F��0I��^��^��^��`��d��i��p��y�����|��z��x|�xr�wj�vc�t]�rY�nT�hP�aL�ZH�QD�I@��z~�pu~�aq~�To~�Jo~�Bp~�=t~�u�}�:�~�<�~�@�~�E�~�M�~�U�~�`�~�6��<��C��K��S��[��d��6z��;���@���D���I���M���Q���U���X���[ǀ�]̀�_Ѐ�`Ӏ�aԀ�fހ�e݀�dڀ�bր�_Ѐ�\ʀ�YÀ�U���Q���L���H���C���>���9���h��_��V��N��F��>��8��c�~�X�~�O�~�F�~�@�~�;�~}7�~�l�}�m�}�r�}�{�}�Dg~�Lg~�Vi~�ak~�lo~�xs~��x~�G>�KA�ND�OF�OJ�NM�LQ�JV�F\�Cb�@j�y�~�u�~x9�w8�u8�u8�s:�r;�o>�lA�iD�dH�`M�[R�VW�R]�Nb�Kf�Ii�Hl�Gm�Gm�Ik�Ki�Of�Tb�[_�Ĺ�~յ�~��~���~�WY�WT�VO�UK�SH�PD�MB�H?��x~�ys~�mo~�ak~�Vi~�Lg~�Dg~�{�}�r�}�m�}�l�}}7�~�;�~�@�~�F�~�O�~�X�~�c�~�8��>��F��N��V��_��h��9���>���C���H���L���Q���U���YÀ�\ʀ�_Ѐ�bր�dڀ�e݀�fހ�5s��i��h��fހ�cـ�`Ҁ�\ʀ�X�T���O���J���E���@���;���6z��c��Z��Q��H��A��:��f�~�[�~�P�~�G�~�@�~�:�~z6�~�f�}�c�}�d�}�h�}�o�}�y�}�B_~�J`~�Qa~�Yd~�af~�gi~�mm~�qp~�st~�sx~�r|~�o�~�k�~�f�~�a�~�]�~�Y�~�V�~�S�~�R�~�R�~�S�~�T�~T+�R-�P/�M2�J4�G8�D;�@?�=C�;F�9I�7L�6M�6N�6N�7M�q��~w��~~��~���~���~���~���~��~�~�~�}�~�}~�{z~�xu~�uq~�om~�ij~�bg~�Zd~�Ra~�J`~�C_~�y�}�o�}�h�}�d�}�c�}�f�}z6�~�:�~�@�~�G�~�P�~�[�~�f�~�:��A��H��Q��Z��c��6z��;���@���E���J���O���T���X�\ʀ�`Ҁ�cـ�fހ�h��i倁5s��7w��6v��6u��5s��g���cـ�`р�[Ȁ�W���R���M���H���B���=���8}��f��\��S��K��C��;��i�~�]�~�R�~�I�~�@�~�:�~y4�~�a�}�\�}�Y�}�Z�}�\�}�a�}�h�}�q�}�{�}�BX~�GY~�K[~�O\~�Q^~�Sa~�Sc~�Rf~�Pj~�Mn~�Jt~�Gz~�C�~�A�~�?�~�=�~<�~~<�~}=�~|>�~{?�~yB�~vD�~rH�~nL�~jP�~eU�~aZ�~]_�~Yd�~Vh�~Tk�~Sm�~Rn�~Rn�~Tm�~Vj�~Zh�~_d�~eb�~l_�~t]�~���}�[x~�Zr~�Zm~�Yh~�Xe~�Wb~�T_~�Q]~�M[~�HY~�CX~�{�}�q�}�i�}�b�}�\�}�Z�}�Y�}�\�}�a�}y4�~�:�~�@�~�I�~�R�~�]�~�i�~�;��C��K��S��\��f��8}��=���B���H���M���R���W���[Ȁ�`р�cـ�g���5s��6u��6v��7w��8z��8z��7x��6v��5s��f߀�bր�^̀�YÀ�T���O���J���D���?���:���i��_��U��M��D��=��6~�_�~�S�~�I�~�A�~�:�~w4�~�^�}�W�}�R�}�P�}�O�}�Q�}�T�}�Y�}�^�}�d�}�j�}�o�}�s�}�v�}�x�}�w�}�v�}�s�}�o�}�k�}�g�}�c�}�_�}�\�}�Z�}�Y�}],�~]-�~\-�~[/�~Y0�~W2�~U4�~R7�~O:�~L=�~I@�~GC�~DG�~BI�~AL�~@M�~@N�~@N�~AM�~BK�~EI�~HG�~���}���}���}���}ā�}ρ�}�}߀�}��}�}�}�z�}�u�}�p�}�k�}�d�}�^�}�Y�}�T�}�Q�}�O�}�P�}�R�}�W�}�^�}w4�~�:�~�A�~�I�~�S�~�_�~�6~�=��D��M��U��_��i��:���?���D���J���O���T���YÀ�^̀�bր�f߀�5s��6v��7x��8z��8z��:}��9|��8z��7x��6u��i��eۀ�`р�[ǀ�V���Q���K���F���@���;���5w��a��W��N��E��>��6��`�~�T�~�J�~�A�~�9�~w3�~�[�}�S�}�M�}�I�}�F�}�E�}�F�}�G�}�J�}�M�}�P�}�S�}�U�}�W�}�W�}�W�}�V�}�T�}�R�}�O�}�L�}�I�}�G�}�E�}�D�}�C�}�C�}�C�}�D�}�E�}�G�}�J�}�M�}}P�}zT�}vX�}r\�}na�}ke�}ih�}gk�}fm�}en�}fn�}gm�}ik�}lh�}pf�}vc�}|a�}�_�}�^�}�]�}�]�}�]�}�\�}�\�}�[�}�Y�}�W�}�T�}�P�}�M�}�J�}�G�}�F�}�E�}�F�}�I�}�M�}�S�}�[�}w3�~�9�~�A�~�J�~�T�~�`�~�6��>��E��N��W��a��5w��;���@���F���K���Q���V���[ǀ�`р�eۀ�i〃6u��7x��8z��9|��:}��:��:~��9|��8z��7w��5s��fހ�bԀ�]ʀ�W���R���L���G���A���<���6y��b��X��O��F��>��7��a�~�U�~�K�~�A�~�9�~v3�~�Z�}�P�}�I�}�D�}�@�}�=�}<�}};�}|<�}}=�}~>�}�?�}�A�}�A�}�A�}�A�}�@�}~?�}{=�}x;�}u9�}r8�}p6�}n5�}m4�}l4�}l3�}k4�}j4�}j5�}h6�}g8�}e:�}c<�}`>�}^A�}[D�}YF�}WI�}VK�}TM�}TN�}SO�}TO�}TN�}VM�}XK�}ZJ�}^H�}bG�}fF�}kE�}pD�}uD�}yD�}}D�}D�}�D�}�C�}�B�}@�}~?�}|=�}|<�}}<�}<�}�=�}�@�}�D�}�I�}�P�}�Z�}v3�~�9�~�A�~�K�~�U�~�a�~�7��>��F��O��X��b��6y��<���A���G���L���R���W���]ʀ�bԀ�fހ�5s��7w��8z��9|��:~��:��;��;��:}��9{��7x��5t��g߀�bր�]ˀ�X���S���M���G���B���<���7y��c��Y��O��G��?��7��a�~�U�~�K�~�A�~�9�~u2�~�X�}�N�}�F�}�@�}�;�}y7�}r5�}m3�}j3�}�d�|�e�|�e�|�e�|�f�|�e�|�d�|�c�|�a�|�_�|�\�|�Z�|�X�|Y+�}X*�}W*�}V)�}V)�}V)�}U*�}U*�}T+�}S,�}R-�}P.�}O0�}M2�}L3�}J5�}I7�}H8�}H9�}G:�}G:�}G:�}G:�}H9�}J8�}K7�}M6�}P5�}S4�}�h�|�h�|�h�|�h�|�h�|�h�|�h�|�g�|�g�|�f�|�e�|�e�|j3�}m3�}r5�}y7�}�;�}�@�}�F�}�N�}�X�}u2�~�9�~�A�~�K�~�U�~�a�~�7��?��G��O��Y��c��7y��<���B���G���M���S���X���]ˀ�bր�g߀�5t��7x��9{��:}��;��;��;���;��:}��9{��7x��6t��g߀�cր�^ˀ�X���S���M���G���B���<���7y��c��Y��P��G��?��7��a�~�U�~�J�~�A�~�9�~�c�}�W�}�M�}�D�}�=�}}8�}r3�}i0�}c.�}�X�|�V�|�U�|�T�|�S�|�S�|�R�|�Q�|�P�|�N�|�M�|�K�|�J�|�H�|�G�|�F�|�E�|�E�|�E�|�E�|�E�|�F�|�G�|�H�|E%�}D%�}C&�}B'�}A(�}@)�}@*�}?+�}?,�}>,�}>-�}}Y�|}Y�|X�|�W�|�U�|�T�|�S�|�R�|�R�|�R�|�R�|�R�|�S�|�S�|�S�|�T�|�T�|�T�|�U�|�V�|�Y�|c.�}i0�}r3�}}8�}�=�}�D�}�M�}�W�}�c�}�9�~�A�~�J�~�U�~�a�~�7��?��G��P��Y��c��7y��<���B���G���M���S���X���^ˀ�cր�g߀�6t��7x��9{��:}��;��;���;��:~��:}��9z��7w��5s��gހ�bՀ�]ʀ�X���R���M���G���A���<���6x��b��X��O��F��>��7�`�~�T�~�J�~�@�~�8�~�b�}�V�}�K�}�B�}�;�}x5�}l1�}c-�}�T�|�P�|�M�|�J�|�I�|�G�|�F�|�E�|�D�|�C�|�B�|�A�|�@�|�?�|�>�|~=�|}<�|}<�||<�||<�|{<�|{<�|{<�|z=�|y>�|y>�|x?�|w@�|uA�|tC�|sD�|sE�|rF�|qG�|qG�|qH�|qH�|qG�|rG�|sF�|tE�|vE�|xD�|zD�|}D�|D�|�D�|�D�|�E�|�E�|�F�|�G�|�H�|�I�|�J�|�M�|�P�|�T�|c-�}l1�}x5�}�;�}�B�}�K�}�V�}�b�}�8�~�@�~�J�~�T�~�`�~�7�>��F��O��X��b��6x��<���A���G���M���R���X���]ʀ�bՀ�gހ�5s��7w��9z��:}��:~��;��:~��:}��9{��8y��7v��5r��f܀�aҀ�\Ȁ�W���Q���L���F���A���;���6w��a��W��N��F��>��6}�_�~�S�~�I�~�?�~�7�~�`�}�T�}�I�}�A�}�9�}t3�}h.�}^+�}�O�|�J�|�F�|�C�|�A�|�?�|�>�|~=�|{<�|y;�|w:�|u9�|t8�|s8�|r7�|q6�|p6�|o6�|o6�|o5�|o6�|n6�|n6�|n6�|m7�|m7�|l8�|l8�|k9�|k:�|j:�|i;�|i<�|i<�|i<�|i<�|i<�|i<�|i<�|j<�|k;�|l;�|m;�|n:�|p:�|r;�|t;�|v;�|x<�|{<�|}=�|�>�|�@�|�A�|�C�|�F�|�J�|�O�|^+�}h.�}t3�}�9�}�A�}�I�}�T�}�`�}�7�~�?�~�I�~�S�~�_�~�6}�>��F��N��W��a��6w��;���A���F���L���Q���W���\Ȁ�aҀ�f܀�5r��7v��8y��9{��:}��:~��9{��9{��8y��7w��6t��h���d�_�[Ā�U���P���K���E���@���:���5u��_��V��M��D��<��j�~�]�~�R�~�G�~�>�~�6�~�^�}�R�}�H�}�?�}8�}p2�}d-�}�Q�|�K�|�F�|�B�|�>�|<�|z:�|v8�|s7�|p6�|n5�|l4�|k4�|j3�|i3�|h2�|g2�|g2�|f1�|f1�|f1�|f1�|f1�|f2�|e2�|e2�|e2�|e2�|d3�|d3�|d4�|c4�|c4�|c5�|c5�|b5�|b5�|b5�|c5�|c5�|c5�|d5�|d4�|e4�|f4�|g4�|i5�|j5�|l5�|n6�|p7�|r7�|v9�|z:�|<�|�>�|�B�|�F�|�K�|�Q�|d-�}p2�}8�}�?�}�H�}�R�}�^�}�6�~�>�~�G�~�R�~�]�~�j�~�<��D��M��V��_��5u��:���@���E���K���P���U���[Ā�_�d�h���6t��7w��8y��9{��9{��8x��7x��7v��6t��i��eۀ�aӀ�]ɀ�X���S���N���I���C���>���9}��g��]��T��K��C��;��h�~�[�~�P�~�F�~�=�~}5�~�\�}�P�}�F�}�=�}{6�}m0�}a+�}�N�|�H�|�B�|�>�|~;�|w8�|r6�|n5�|k3�|i2�|g1�|e1�|d0�|c0�|b/�|a/�|a/�|`/�|`.�|`.�|`.�|`.�|`.�|_.�|_/�|_/�|_/�|_/�|_/�|^/�|^0�|^0�|^0�|^0�|^0�|^0�|^0�|^0�|^0�|^0�|^0�|_0�|_0�|`0�|`0�|a0�|b0�|c1�|e1�|f2�|h3�|k3�|n5�|r6�|w8�|~;�|�>�|�B�|�H�|�N�|a+�}m0�}{6�}�=�}�F�}�P�}�\�}}5�~�=�~�F�~�P�~�[�~�h�~�;��C��K��T��]��g��9}��>���C���I���N���S���X���]ɀ�aӀ�eۀ�i 6t��7v��7x��8x��6u��6t��5s��h��fۀ�bԀ�^̀�ZÀ�V���Q���L���G���A���<���7y��d��Z��Q��I��A��9��e�~�X�~�M�~�C�~�;�~�f�}�Y�}�M�}�D�}�;�}w4�}i.�}�S�|�K�|�E�|�@�|�;�|x8�|q5�|l3�|h2�|e1�|c0�|a/�|_.�|^.�|]-�|]-�|\-�|\,�|[,�|[,�|[,�|[,�|[,�|[,�|[,�|[,�|[,�|Z,�|Z,�|Z,�|Z-�|Z-�|Z-�|Z-�|Z-�|Z-�|Z-�|Z-�|Z-�|Z-�|Z-�|Z-�|Z-�|[-�|[-�|\-�|\-�|].�|^.�|_.�|a/�|c0�|e1�|h2�|l3�|q5�|x8�|�;�|�@�|�E�|�K�|�S�|i.�}w4�}�;�}�D�}�M�}�Y�}�f�}�;�~�C�~�M�~�X�~�e�~�9��A��I��Q��Z��d��7y��<���A���G���L���Q���V���ZÀ�^̀�bԀ�fۀ�hခ5s��6t��6u��h��h߀�f݀�d�bӀ�_̀�[ŀ�W���S���N���I���D���?���:��5t��`��W��N��F��>��7}�a�~�U�~�K�~�A�~�9�~�c�}�V�}�K�}�A�}�9�}s2�}e-�}�P�|�H�|�B�|�=�|{9�|s6�|m3�|h1�|d0�|a.�|^-�|]-�|[,�|Z,�|Y+�|Y+�|X+�|X+�|W*�|W*�|W*�|W*�|W*�|W*�|W*�|W*�|W*�|W*�|W*�|W*�|W*�|W+�|V+�|V+�|V+�|V+�|V+�|V+�|V+�|V+�|W+�|W+�|W+�|W+�|W+�|X+�|X+�|Y+�|Z,�|[,�|\-�|^-�|a.�|d0�|h1�|m3�|s6�|{9�|�=�|�B�|�H�|�P�|e-�}s2�}�9�}�A�}�K�}�V�}�c�}�9�~�A�~�K�~�U�~�a�~�7}�>��F��N��W��`��5t��:��?���D���I���N���S���W���[ŀ�_̀�bӀ�d�f݀�h߀�h��d׀�cր�bӀ�`π�^ʀ�[Ā�W���S���O���K���F���A���<���8z��f��\��S��K��C��<��j�~�]�~�R�~�H�~�>�~�6�~�_�}�R�}�H�}�?�}~7�}n0�}�V�|�M�|�F�|�@�|�;�|v7�|n4�|h1�|c/�|`.�|],�|[,�|Y+�|X*�|V*�|V*�|U)�|U)�|T)�|T)�|T)�|T)�|T)�|T)�|T)�|T)�|T)�|T)�|T)�|S)�|S)�|S)�|S)�|S)�|S)�|S)�|S)�|S)�|S)�|S)�|S)�|T)�|T)�|T)�|T)�|T)�|U)�|U)�|V*�|V*�|W*�|Y+�|[,�|]-�|`.�|c/�|h1�|n4�|v7�|�;�|�@�|�F�|�M�|�V�|n0�}~7�}�?�}�H�}�R�}�_�}�6�~�>�~�H�~�R�~�]�~�j�~�<��C��K��S��\��f��8z��<���A���F���K���O���S���W���[Ā�^ʀ�`π�bӀ�cր�d׀�_̀�^̀�]ɀ�[ŀ�Y���V���S���O���K���G���C���>���9}��5t��a��X��O��G��@��9��e�~�Y�~�N�~�D�~�<�~�h�}�Z�}�O�}�E�}�<�}y5�}j.�}�R�|�J�|�C�|�=�|{8�|q5�|j2�|d/�|`-�|\,�|Y+�|W*�|V)�|T)�|S(�|S(�|R(�|R(�|Q(�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q'�|Q(�|Q(�|Q(�|Q(�|R(�|R(�|S(�|S(�|T)�|U)�|W*�|Y+�|\,�|`-�|d/�|j2�|q5�|{8�|�=�|�C�|�J�|�R�|j.�}y5�}�<�}�E�}�O�}�Z�}�h�}�<�~�D�~�N�~�Y�~�e�~�9��@��G��O��X��a��5t��9}��>���C���G���K���O���S���V���Y���[ŀ�]ɀ�^̀�_̀�Z�Y���X���V���T���Q���N���K���G���C���?���;���6v��d��[��S��K��D��<��6y�_�~�T�~�J�~�A�~�8�~�b�}�V�}�K�}�A�}�9�}s2�}�Y�|�O�|�G�|�@�|�;�|u6�|m3�|f0�|`.�|\,�|Y*�|V)�|T)�|R(�|Q'�|P'�|P'�|O'�|O&�|O&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|N&�|O&�|O&�|O'�|P'�|P'�|Q'�|R(�|T)�|V)�|Y*�|\,�|`.�|f0�|m3�|u6�|�;�|�@�|�G�|�O�|�Y�|s2�}�9�}�A�}�K�}�V�}�b�}�8�~�A�~�J�~�T�~�_�~�6y�<��D��K��S��[��d��6v��;���?���C���G���K���N���Q���T���V���X���Y���Z�T���T���S���Q���O���M���J���F���C���?���;���7x��f��^��V��N��G��@��9�e�~�Z�~�O�~�F�~�=�~�k�}�]�}�Q�}�G�}�>�}}6�}m0�}�T�|�K�|�C�|�=�|{8�|p4�|h1�|b.�|],�|Y*�|U)�|S(�|Q'�|P'�|N&�|N&�|M%�|M%�|L%�|L%�|L%�|L%�|L%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|K%�|L%�|L%�|L%�|L%�|M%�|M%�|N&�|N&�|P'�|Q'�|S(�|U)�|Y*�|],�|b.�|h1�|p4�|{8�|�=�|�C�|�K�|�T�|m0�}}6�}�>�}�G�}�Q�}�]�}�k�}�=�~�F�~�O�~�Z�~�e�~�9�@��G��N��V��^��f��7x��;���?���C���F���J���M���O���Q���S���T���T���O���N���M���L���J���G���E���B���>���;���7x��g��_��X��P��I��B��;��5w�_�~�T�~�J�~�A�~�9�~�d�}�W�}�L�}�C�}�:�}v3�}�Z�|�P�|�G�|�@�|�:�|u6�|k2�|d/�|^,�|Y*�|U)�|R'�|P'�|N&�|M%�|L%�|K%�|J$�|J$�|J$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|I$�|J$�|J$�|J$�|K%�|L%�|M%�|N&�|P'�|R'�|U)�|Y*�|^,�|d/�|k2�|u6�|�:�|�@�|�G�|�P�|�Z�|v3�}�:�}�C�}�L�}�W�}�d�}�9�~�A�~�J�~�T�~�_�~�5w�;��B��I��P��X��_��g��7x��;���>���B���E���G���J���L���M���N���O���I���H���H���F���D���B���@���=���:}��7w��f��_��X��Q��J��D��=��7{�c�~�X�~�N�~�E�~�=�~�k�}�]�}�R�}�G�}�>�}7�}o0�}�U�|�K�|�D�|�=�|z8�|o3�|g0�|`-�|Z*�|U)�|R'�|O&�|M%�|K%�|J$�|I$�|H#�|H#�|H#�|G#�|�F�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�E�{�F�{G#�|H#�|H#�|H#�|I$�|J$�|K%�|M%�|O&�|R'�|U)�|Z*�|`-�|g0�|o3�|z8�|�=�|�D�|�K�|�U�|o0�}7�}�>�}�G�}�R�}�]�}�k�}�=�~�E�~�N�~�X�~�c�~�7{�=��D��J��Q��X��_��f��7w��:}��=���@���B���D���F���H���H���I���C���C���B���A���?���=���;��8z��5t��d��^��X��Q��K��E��>��9~�f�~�[�~�Q�~�H�~�@�~�8�~�c�}�W�}�L�}�B�}�:�}v3�}�Z�|�P�|�G�|�@�|�:�|t5�|j1�|b.�|[+�|V)�|R'�|O&�|L%�|�H�{�G�{�F�{�E�{�D�{�D�{�D�{�D�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�C�{�D�{�D�{�D�{�D�{�E�{�F�{�G�{�H�{L%�|O&�|R'�|V)�|[+�|b.�|j1�|t5�|�:�|�@�|�G�|�P�|�Z�|v3�}�:�}�B�}�L�}�W�}�c�}�8�~�@�~�H�~�Q�~�[�~�f�~�9~�>��E��K��Q��X��^��d��5t��8z��;��=���?���A���B���C���C���=���=���<���;���:}��8y��6t��g��a��\��V��P��K��E��?��9�h�~�]�~�T�~�K�~�B�~�;�~�h�}�[�}�P�}�F�}�>�}~6�}�_�|�T�|�K�|�C�|�<�|x7�|m2�|d/�|],�|W)�|R'�|O&�|�I�{�G�{�E�{�D�{�C�{�C�{�B�{�B�{�B�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�A�{�B�{�B�{�B�{�C�{�C�{�D�{�E�{�G�{�I�{O&�|R'�|W)�|],�|d/�|m2�|x7�|�<�|�C�|�K�|�T�|�_�|~6�}�>�}�F�}�P�}�[�}�h�}�;�~�B�~�K�~�T�~�]�~�h�~�9�?��E��K��P��V��\��a��g��6t��8y��:}��;���<���=���=���8y��8x��7w��6t��i��e��b��]��Y��T��O��I��D��?��9�h�~�_�~�U�~�M�~�D�~�=�~�6}~�_�}�T�}�J�}�A�}�9�}t2�}�Y�|�N�|�F�|�?�|~9�|q4�|g0�|_,�|Y*�|S'�|�K�{�H�{�F�{�D�{�C�{�B�{�A�{�A�{�@�{�@�{�@�{�@�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�?�{�@�{�@�{�@�{�@�{�A�{�A�{�B�{�C�{�D�{�F�{�H�{�K�{S'�|Y*�|_,�|g0�|q4�|~9�|�?�|�F�|�N�|�Y�|t2�}�9�}�A�}�J�}�T�}�_�}�6}~�=�~�D�~�M�~�U�~�_�~�h�~�9�?��D��I��O��T��Y��]��b��e��i��6t��7w��8x��8y��e��d��c��a��_��\��X��T��P��L��G��B��=��9}�h�~�_�~�V�~�M�~�F�~�>�~�7�~�b�}�W�}�M�}�C�}�;�}z4�}�]�|�R�|�I�|�A�|�;�|v5�|k1�|b-�|Z*�|T(�|�K�{�H�{�F�{�D�{�B�{�A�{�@�{�?�{�?�{>�{~>�{~>�{}>�{}>�{}>�{}=�{}=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{|=�{}=�{}=�{}>�{}>�{}>�{~>�{~>�{>�{�?�{�?�{�@�{�A�{�B�{�D�{�F�{�H�{�K�{T(�|Z*�|b-�|k1�|v5�|�;�|�A�|�I�|�R�|�]�|z4�}�;�}�C�}�M�}�W�}�b�}�7�~�>�~�F�~�M�~�V�~�_�~�h�~�9}�=��B��G��L��P��T��X��\��_��a��c��d��e��[��Z��Y��W��U��R��O��L��H��D��@��<��7z�f�~�^�~�U�~�M�~�F�~�?�~�8�~�d�}�Y�}�O�}�F�}�>�}6�}�`�|�U�|�L�|�D�|�=�|z7�|n2�|d.�|\+�|�P�{�L�{�H�{�E�{�C�{�A�{�@�{�?�{>�{}=�{|=�{{=�{{<�{z<�{z<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{y<�{z<�{z<�{{<�{{=�{|=�{}=�{>�{�?�{�@�{�A�{�C�{�E�{�H�{�L�{�P�{\+�|d.�|n2�|z7�|�=�|�D�|�L�|�U�|�`�|6�}�>�}�F�}�O�}�Y�}�d�}�8�~�?�~�F�~�M�~�U�~�^�~�f�~�7z�<��@��D��H��L��O��R��U��W��Y��Z��[��Q��P��O��N��L��J��G��D��@��=��9~�5v�c�~�[�~�T�~�M�~�E�~�?�~�8�~�e�}�Z�}�P�}�G�}�?�}�8�}�c�|�X�|�N�|�F�|�?�|~9�|q3�|g/�|^,�|�Q�{�L�{�H�{�E�{�C�{�A�{�?�{>�{}=�{{<�{y<�{x;�{x;�{w;�{w;�{v:�{v:�{v:�{v:�{v:�{v:�{u:�{u:�{u:�{u:�{u:�{u:�{u:�{u:�{u:�{u:�{u:�{u:�{u:�{u:�{u:�{u:�{u:�{u:�{v:�{v:�{v:�{v:�{v:�{v:�{w;�{w;�{x;�{x;�{y<�{{<�{}=�{>�{�?�{�A�{�C�{�E�{�H�{�L�{�Q�{^,�|g/�|q3�|~9�|�?�|�F�|�N�|�X�|�c�|�8�}�?�}�G�}�P�}�Z�}�e�}�8�~�?�~�E�~�M�~�T�~�[�~�c�~�5v�9~�=��@��D��G��J��L��N��O��P��Q��H��G��F��E��C��A��?��<��9~�6w�f�~�_�~�X�~�Q�~�K�~�D�~�>�~�8�~�e�}�[�}�Q�}�H�}�@�}�9�}�f�|�Z�|�P�|�H�|�@�|�:�|u5�|i0�|`,�|�R�{�M�{�I�{�E�{�B�{�@�{�?�{}=�{{<�{y;�{w;�{v:�{u:�{t9�{t9�{s9�{s9�{s9�{s9�{s9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{r9�{s9�{s9�{s9�{s9�{s9�{t9�{t9�{u:�{v:�{w;�{y;�{{<�{}=�{�?�{�@�{�B�{�E�{�I�{�M�{�R�{`,�|i0�|u5�|�:�|�@�|�H�|�P�|�Z�|�f�|�9�}�@�}�H�}�Q�}�[�}�e�}�8�~�>�~�D�~�K�~�Q�~�X�~�_�~�f�~�6w�9~�<��?��A��C��E��F��G��H��?��?��>��=��;��:~�8z�5u�e�~�`�~�Z�~�T�~�N�~�H�~�B�~�=�~�7~~�d�}�Z�}�Q�}�I�}�A�}�:�}�g�|�\�|�R�|�I�|�B�|�;�|w6�|l1�|b-�|�S�{�N�{�I�{�E�{�B�{�@�{�>�{|<�{y;�{w:�{u:�{t9�{s9�{r8�{q8�{q8�{p8�{p8�{p7�{p7�{p7�{p7�{p7�{p7�{o7�{o7�{o7�{o7�{o7�{o7�{o7�{o7�{o7�{o7�{o7�{o7�{o7�{o7�{o7�{o7�{p7�{p7�{p7�{p7�{p7�{p7�{p8�{p8�{q8�{q8�{r8�{s9�{t9�{u:�{w:�{y;�{|<�{�>�{�@�{�B�{�E�{�I�{�N�{�S�{b-�|l1�|w6�|�;�|�B�|�I�|�R�|�\�|�g�|�:�}�A�}�I�}�Q�}�Z�}�d�}�7~~�=�~�B�~�H�~�N�~�T�~�Z�~�`�~�e�~�5u�8z�:~�;��=��>��?��?��8z�7y�7x�6v�h�~�e�~�a�~�]�~�Y�~�T�~�O�~�J�~�E�~�@�~�:�~�k�}�b�}�Y�}�P�}�H�}�A�}�:�}�h�|�]�|�S�|�J�|�C�|�<�|z7�|n2�|d.�|�T�{�N�{�J�{�F�{�B�{�@�{>�{{<�{x;�{u:�{s9�{r8�{p8�{p7�{o7�{n7�{n7�{n6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{m6�{n6�{n7�{n7�{o7�{p7�{p8�{r8�{s9�{u:�{x;�{{<�{>�{�@�{�B�{�F�{�J�{�N�{�T�{d.�|n2�|z7�|�<�|�C�|�J�|�S�|�]�|�h�|�:�}�A�}�H�}�P�}�Y�}�b�}�k�}�:�~�@�~�E�~�J�~�O�~�T�~�Y�~�]�~�a�~�e�~�h�~�6v�7x�7y�8z�a�~�`�~�_�~�]�~�[�~�X�~�U�~�R�~�N�~�J�~�E�~�A�~�<�~�8~~�g�}�^�}�V�}�N�}�G�}�@�}�:�}�h�|�]�|�T�|�K�|�D�|�=�||7�|p2�|e.�|�U�{�O�{�J�{�F�{�B�{�@�{=�{{<�{w:�{t9�{r8�{p7�{o7�{n6�{m6�{l6�{l6�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{k5�{l6�{l6�{m6�{n6�{o7�{p7�{r8�{t9�{w:�{{<�{=�{�@�{�B�{�F�{�J�{�O�{�U�{e.�|p2�||7�|�=�|�D�|�K�|�T�|�]�|�h�|�:�}�@�}�G�}�N�}�V�}�^�}�g�}�8~~�<�~�A�~�E�~�J�~�N�~�R�~�U�~�X�~�[�~�]�~�_�~�`�~�a�~�T�~�T�~�S�~�Q�~�O�~�M�~�J�~�G�~�D�~�@�~�<�~�8�~�i�}�b�}�Z�}�S�}�L�}�E�}�?�}�9�}�f�|�\�|�S�|�K�|�D�|�=�|}8�|q3�|f/�|�V�{�P�{�K�{�F�{�C�{�@�{=�{z;�{v:�{s8�{q7�{o7�{m6�{l6�{k5�{k5�{j5�{j4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{i4�{j4�{j5�{k5�{k5�{l6�{m6�{o7�{q7�{s8�{v:�{z;�{=�{�@�{�C�{�F�{�K�{�P�{�V�{f/�|q3�|}8�|�=�|�D�|�K�|�S�|�\�|�f�|�9�}�?�}�E�}�L�}�S�}�Z�}�b�}�i�}�8�~�<�~�@�~�D�~�G�~�J�~�M�~�O�~�Q�~�S�~�T�~�T�~�I�~�H�~�G�~�F�~�D�~�B�~�@�~�=�~�;�~�8}~�i�}�b�}�\�}�U�}�O�}�H�}�B�}�<�}�7�}�d�|�[�|�R�|�J�|�C�|�=�|}8�|q3�|g/�|�V�{�P�{�K�{�F�{�C�{�@�{=�{z;�{v9�{s8�{p7�{n6�{l5�{k5�{j4�{i4�{h4�{h4�{h4�{g4�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g3�{g4�{h4�{h4�{h4�{i4�{j4�{k5�{l5�{n6�{p7�{s8�{v9�{z;�{=�{�@�{�C�{�F�{�K�{�P�{�V�{g/�|q3�|}8�|�=�|�C�|�J�|�R�|�[�|�d�|�7�}�<�}�B�}�H�}�O�}�U�}�\�}�b�}�i�}�8}~�;�~�=�~�@�~�B�~�D�~�F�~�G�~�H�~�I�~�?�~�>�~�>�~�<�~�;�~�9�~�7}~�j�}�e�}�`�}�[�}�U�}�O�}�J�}�D�}�?�}�:�}�j�|�a�|�X�|�Q�|�I�|�C�|�=�|}8�|q3�|g/�|�V�{�P�{�K�{�G�{�C�{�@�{=�{z;�{v9�{r8�{o7�{m6�{k5�{j4�{i4�{h4�{g3�{g3�{f3�{f3�{f3�{f3�{f3�{f3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{e3�{f3�{f3�{f3�{f3�{f3�{f3�{g3�{g3�{h4�{i4�{j4�{k5�{m6�{o7�{r8�{v9�{z;�{=�{�@�{�C�{�G�{�K�{�P�{�V�{g/�|q3�|}8�|�=�|�C�|�I�|�Q�|�X�|�a�|�j�|�:�}�?�}�D�}�J�}�O�}�U�}�[�}�`�}�e�}�j�}�7}~�9�~�;�~�<�~�>�~�>�~�?�~�6y~�k�}�j�}�h�}�e�}�b�}�_�}�[�}�W�}�S�}�N�}�J�}�E�}�@�}�<�}�7�}�e�|�]�|�U�|�N�|�H�|�A�|�<�|{7�|p2�|g/�|�V�{�P�{�K�{�G�{�C�{�@�{=�{z;�{u9�{r8�{o6�{m5�{k5�{i4�{h4�{g3�{f3�{f3�{e2�{e2�{e2�{e2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{d2�{e2�{e2�{e2�{e2�{f3�{f3�{g3�{h4�{i4�{k5�{m5�{o6�{r8�{u9�{z;�{=�{�@�{�C�{�G�{�K�{�P�{�V�{g/�|p2�|{7�|�<�|�A�|�H�|�N�|�U�|�]�|�e�|�7�}�<�}�@�}�E�}�J�}�N�}�S�}�W�}�[�}�_�}�b�}�e�}�h�}�j�}�k�}�6y~�\�}�[�}�Z�}�Y�}�W�}�T�}�Q�}�N�}�K�}�G�}�C�}�?�}�<�}�8�}�h�|�`�|�Y�|�R�|�K�|�E�|�@�|�;�|y6�|o2�|�\�{�V�{�P�{�K�{�G�{�C�{�@�{=�{z;�{u9�{r8�{o6�{l5�{j4�{i4�{g3�{f3�{f3�{e2�{e2�{d2�{d2�{d2�{d2�{d2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{c2�{d2�{d2�{d2�{d2�{d2�{e2�{e2�{f3�{f3�{g3�{i4�{j4�{l5�{o6�{r8�{u9�{z;�{=�{�@�{�C�{�G�{�K�{�P�{�V�{�\�{o2�|y6�|�;�|�@�|�E�|�K�|�R�|�Y�|�`�|�h�|�8�}�<�}�?�}�C�}�G�}�K�}�N�}�Q�}�T�}�W�}�Y�}�Z�}�[�}�\�}�N�}�N�}�M�}�L�}�J�}�H�}�F�}�C�}�@�}�=�}�:�}�7�}�g�|�a�|�Z�|�T�|�N�|�H�|�C�|�>�|�9�|v5�|m1�|�[�{�U�{�O�{�K�{�F�{�C�{�@�{=�{z;�{u9�{r7�{o6�{l5�{j4�{h4�{g3�{f3�{e2�{e2�{d2�{d2�{c2�{c2�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c1�{c2�{c2�{d2�{d2�{e2�{e2�{f3�{g3�{h4�{j4�{l5�{o6�{r7�{u9�{z;�{=�{�@�{�C�{�F�{�K�{�O�{�U�{�[�{m1�|v5�|�9�|�>�|�C�|�H�|�N�|�T�|�Z�|�a�|�g�|�7�}�:�}�=�}�@�}�C�}�F�}�H�}�J�}�L�}�M�}�N�}�N�}�C�}�C�}�B�}�A�}�?�}�>�}�<�}�:�}�7�}�i�|�d�|�_�|�Y�|�T�|�O�|�I�|�E�|�@�|�;�||7�|s3�|j0�|�Y�{�T�{�N�{�J�{�F�{�C�{�@�{=�{z;�{v9�{r8�{o6�{l5�{j4�{i4�{g3�{f3�{e2�{e2�{d2�{d2�{c2�{c1�{c1�{c1�{c1�{c1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{b1�{c1�{c1�{c1�{c1�{c1�{c2�{d2�{d2�{e2�{e2�{f3�{g3�{i4�{j4�{l5�{o6�{r8�{v9�{z;�{=�{�@�{�C�{�F�{�J�{�N�{�T�{�Y�{j0�|s3�||7�|�;�|�@�|�E�|�I�|�O�|�T�|�Y�|�_�|�d�|�i�|�7�}�:�}�<�}�>�}�?�}�A�}�B�}�C�}�C�}\ No newline at end of filediff --git a/public/club/venue/club-venue.glb b/public/club/venue/club-venue.glbnew file mode 100644index 000000000..2c6105caeBinary files /dev/null and b/public/club/venue/club-venue.glb differdiff --git a/scripts/build-club-hdri.mjs b/scripts/build-club-hdri.mjsnew file mode 100644index 000000000..4fc91bc46--- /dev/null+++ b/scripts/build-club-hdri.mjs@@ -0,0 +1,161 @@+#!/usr/bin/env node+/**+ * Authors public/club/venue/club-hdri.hdr — the equirectangular HDR the+ * /club page pre-filters through PMREMGenerator.fromEquirectangular() to+ * drive PBR reflections on the venue + dancer materials. The HDR only+ * affects materials, not the visible sky (`scene.background` stays the dark+ * fog colour).+ *+ * Run via: npm run build:club-hdri+ *+ * Why we synthesise it instead of shipping a Polyhaven download:+ * The /club rails (CLAUDE.md) require every committed asset to have+ * crystal-clear provenance. A locally-generated HDR is fully owned by+ * three.ws and dedicated CC0 — see public/club/venue/LICENSES.md. The+ * tradeoff is fidelity: this is a 128×64 procedural sphere with one warm+ * downlight per pole + a soft purple wash; it's enough to make chrome+ * poles glint and dancer skin pick up rim colour, but a hand-painted+ * nightclub HDR will of course beat it. Drop a Polyhaven .hdr into this+ * directory and update the LICENSES entry to upgrade later.+ *+ * Output format: Radiance RGBE — the standard `.hdr` format three.js's+ * RGBELoader consumes. Uncompressed (no RLE) for simplicity; the file ends+ * up around 32 kB which is fine for /club.+ */++import { writeFileSync, mkdirSync } from 'node:fs';+import { fileURLToPath } from 'node:url';+import { dirname, resolve } from 'node:path';++const __dirname = dirname(fileURLToPath(import.meta.url));+const ROOT = resolve(__dirname, '..');+const OUT_DIR = resolve(ROOT, 'public/club/venue');++const WIDTH = 128;+const HEIGHT = 64;++// Pack a single (r, g, b) float radiance triple into 4 bytes following the+// Greg Ward RGBE convention. Returns [R, G, B, E].+function packRGBE(r, g, b) {+ const v = Math.max(r, g, b);+ if (v < 1e-32) return [0, 0, 0, 0];+ // IEEE-754 frexp emulation — v = m * 2^e with 0.5 <= m < 1.+ let e = Math.ceil(Math.log2(v));+ let m = v / 2 ** e;+ // Re-normalise: m * 256 must land in [0, 256). m in [0.5, 1) → mantissa in [128, 256).+ if (m >= 1) {+ m *= 0.5;+ e += 1;+ }+ const scale = (m * 256) / v;+ return [+ Math.min(255, Math.max(0, Math.round(r * scale))),+ Math.min(255, Math.max(0, Math.round(g * scale))),+ Math.min(255, Math.max(0, Math.round(b * scale))),+ Math.min(255, Math.max(0, e + 128)),+ ];+}++// Smooth bump centred at (theta0, phi0) with falloff `width`. Returns a+// 0..1 multiplier the caller scales by colour.+function bump(theta, phi, theta0, phi0, width) {+ const dTheta = Math.atan2(Math.sin(theta - theta0), Math.cos(theta - theta0));+ const dPhi = phi - phi0;+ const d2 = dTheta * dTheta + dPhi * dPhi;+ return Math.exp(-d2 / (2 * width * width));+}++// Sample radiance for one equirectangular pixel. (u, v) in [0, 1).+// u ↔ longitude / azimuth (theta): 0 → -π, 1 → +π+// v ↔ latitude (phi): 0 → +π/2 (zenith), 1 → -π/2 (nadir)+function sampleRadiance(u, v) {+ const theta = (u - 0.5) * Math.PI * 2;+ const phi = (0.5 - v) * Math.PI;++ // Base ambient — very low purple wash.+ let r = 0.012;+ let g = 0.006;+ let b = 0.020;++ // Soft hemisphere — purple ceiling, deep-blue floor — gives PBR+ // chrome a faint tint even where no spotlight points.+ const hemi = 0.5 + 0.5 * Math.sin(phi);+ r += hemi * 0.030;+ g += hemi * 0.014;+ b += hemi * 0.064;++ // Four warm downlights ringed around the dancefloor, one per pole,+ // roughly above the head height (phi ≈ +0.9 rad). Bright enough that+ // chrome / metallic dancer accessories pick up a clear highlight.+ const SPOTS = [+ { theta: -1.05, hue: [3.4, 1.8, 0.8] }, // warm tungsten+ { theta: -0.32, hue: [2.2, 0.9, 3.2] }, // magenta+ { theta: 0.32, hue: [0.9, 2.4, 3.6] }, // cyan+ { theta: 1.05, hue: [3.4, 1.8, 0.8] }, // warm tungsten+ ];+ for (const spot of SPOTS) {+ const w = bump(theta, phi, spot.theta, 0.95, 0.32);+ r += w * spot.hue[0];+ g += w * spot.hue[1];+ b += w * spot.hue[2];+ }++ // Mirrorball glints — a ring of tiny brighter points circling the+ // zenith. Keeps reflective dancer skin lively.+ const mirrorRing = 0.85;+ const mirrorPhi = 1.05;+ const segments = 24;+ for (let i = 0; i < segments; i += 1) {+ const t = (i / segments) * Math.PI * 2 - Math.PI;+ const w = bump(theta, phi, t, mirrorPhi, 0.045);+ r += w * mirrorRing * 1.7;+ g += w * mirrorRing * 1.5;+ b += w * mirrorRing * 1.9;+ }++ // Bar back glow — a single warm wash along the back wall.+ const barGlow = bump(theta, phi, Math.PI, -0.12, 0.6);+ r += barGlow * 1.1;+ g += barGlow * 0.45;+ b += barGlow * 0.95;++ return [r, g, b];+}++function buildHdr() {+ const header =+ '#?RADIANCE\n' ++ '# Authored by three.ws build-club-hdri (CC0 1.0)\n' ++ 'FORMAT=32-bit_rle_rgbe\n' ++ `EXPOSURE=1.0\n` ++ '\n' ++ `-Y ${HEIGHT} +X ${WIDTH}\n`;+ const headerBuf = Buffer.from(header, 'ascii');++ const pixelBytes = Buffer.alloc(WIDTH * HEIGHT * 4);+ for (let y = 0; y < HEIGHT; y += 1) {+ for (let x = 0; x < WIDTH; x += 1) {+ const u = (x + 0.5) / WIDTH;+ const v = (y + 0.5) / HEIGHT;+ const [r, g, b] = sampleRadiance(u, v);+ const [R, G, B, E] = packRGBE(r, g, b);+ const idx = (y * WIDTH + x) * 4;+ pixelBytes[idx] = R;+ pixelBytes[idx + 1] = G;+ pixelBytes[idx + 2] = B;+ pixelBytes[idx + 3] = E;+ }+ }++ return Buffer.concat([headerBuf, pixelBytes]);+}++function main() {+ mkdirSync(OUT_DIR, { recursive: true });+ const buf = buildHdr();+ const outPath = resolve(OUT_DIR, 'club-hdri.hdr');+ writeFileSync(outPath, buf);+ console.log(`[club-hdri] wrote club-hdri.hdr ${(buf.length / 1024).toFixed(1)} kB (${WIDTH}x${HEIGHT})`);+}++main();diff --git a/scripts/build-club-venue-fixture.mjs b/scripts/build-club-venue-fixture.mjsnew file mode 100644index 000000000..267ea01ed--- /dev/null+++ b/scripts/build-club-venue-fixture.mjs@@ -0,0 +1,98 @@+// Build tiny fixture assets for the /club playwright spec.+//+// We can't ship the real authored nightclub GLB (10+ MB, Blender-authored,+// licensed externally). The e2e spec needs SOMETHING served at the venue+// URLs that exercises the runtime's named-empty contract without dragging+// a paid asset into the repo. So we emit:+//+// tests/_fixtures/club-venue.glb — a node-only GLB containing every+// empty in REQUIRED_VENUE_EMPTIES at the same world positions the+// spec uses elsewhere. No geometry, no materials — just transforms.+//+// tests/_fixtures/club-hdri.hdr — a hand-rolled minimal Radiance HDR+// (a 4x4 mid-grey image) so RGBELoader resolves and PMREMGenerator+// can pre-filter it.+//+// Re-run with `node scripts/build-club-venue-fixture.mjs` after edits to+// REQUIRED_VENUE_EMPTIES. The output files are committed under+// tests/_fixtures/ so playwright runs deterministically without a build+// step.++import { mkdirSync, writeFileSync } from 'node:fs';+import { dirname, join, resolve } from 'node:path';+import { fileURLToPath } from 'node:url';++import { Document, NodeIO } from '@gltf-transform/core';++import { REQUIRED_VENUE_EMPTIES } from '../src/club-venue.js';++const __dirname = dirname(fileURLToPath(import.meta.url));+const repo = resolve(__dirname, '..');+const outDir = join(repo, 'tests/_fixtures');+mkdirSync(outDir, { recursive: true });++// Deterministic positions — kept in sync with the synthetic scene used by+// tests/club-venue-load.test.js so a future regression that miscomputes a+// world transform shows up in both the unit and e2e suites.+const positions = {+ 'truss_mirrorball': [0, 6.0, 0],+ 'bar_backsplash_neon': [0, 1.6, -7.5],+ 'stage_01': [-3.5, 0, -3.0],+ 'stage_02': [-1.2, 0, -4.4],+ 'stage_03': [1.2, 0, -4.4],+ 'stage_04': [3.5, 0, -3.0],+ 'backstage_door_01': [-3.5, 0, -6.8],+ 'backstage_door_02': [-1.2, 0, -7.2],+ 'backstage_door_03': [1.2, 0, -7.2],+ 'backstage_door_04': [3.5, 0, -6.8],+ 'truss_spot_01': [-3.5, 6.0, -2.5],+ 'truss_spot_02': [-1.2, 6.0, -4.0],+ 'truss_spot_03': [1.2, 6.0, -4.0],+ 'truss_spot_04': [3.5, 6.0, -2.5],+};++// Sanity-check the table covers exactly the contract — guards against an+// edit to one side without the other.+const missing = REQUIRED_VENUE_EMPTIES.filter((n) => !(n in positions));+const extra = Object.keys(positions).filter((n) => !REQUIRED_VENUE_EMPTIES.includes(n));+if (missing.length || extra.length) {+ throw new Error(+ `fixture positions drift: missing=${missing.join(',') || '∅'} ` ++ `extra=${extra.join(',') || '∅'} — keep this script in sync with ` ++ 'REQUIRED_VENUE_EMPTIES in src/club-venue.js',+ );+}++// ── GLB ─────────────────────────────────────────────────────────────────+const doc = new Document();+const root = doc.createNode('venue');+const scene = doc.createScene('venue').addChild(root);+doc.getRoot().setDefaultScene(scene);++for (const name of REQUIRED_VENUE_EMPTIES) {+ const node = doc.createNode(name).setTranslation(positions[name]);+ root.addChild(node);+}++const io = new NodeIO();+const glb = await io.writeBinary(doc);+const glbPath = join(outDir, 'club-venue.glb');+writeFileSync(glbPath, glb);+console.log(`[build-club-venue-fixture] wrote ${glbPath} (${glb.byteLength} bytes)`);++// ── HDR ─────────────────────────────────────────────────────────────────+// Radiance picture format: ASCII header, blank line, "-Y H +X W\n", scanline+// payload. For a 4x4 image we emit 4 uncompressed scanlines of 4 RGBE+// pixels each. Mid-grey at exponent 128 → linear ≈ 0.5. Small enough that+// PMREMGenerator pre-filters it in a single frame.+const W = 4;+const H = 4;+const header = `#?RADIANCE\nFORMAT=32-bit_rle_rgbe\n\n-Y ${H} +X ${W}\n`;+// One RGBE pixel: 0x80 0x80 0x80 0x80 → R=G=B=0x80 (128), E=0x80 → ≈0.5+const pixel = Buffer.from([0x80, 0x80, 0x80, 0x80]);+const payload = Buffer.alloc(W * H * 4);+for (let i = 0; i < W * H; i += 1) pixel.copy(payload, i * 4);+const hdrBuf = Buffer.concat([Buffer.from(header, 'ascii'), payload]);+const hdrPath = join(outDir, 'club-hdri.hdr');+writeFileSync(hdrPath, hdrBuf);+console.log(`[build-club-venue-fixture] wrote ${hdrPath} (${hdrBuf.byteLength} bytes)`);diff --git a/scripts/build-club-venue.mjs b/scripts/build-club-venue.mjsnew file mode 100644index 000000000..90e25929a--- /dev/null+++ b/scripts/build-club-venue.mjs@@ -0,0 +1,359 @@+#!/usr/bin/env node+/**+ * Authors public/club/venue/club-venue.glb — the nightclub interior the+ * /club page parents the rest of its geometry to. Composed at build time+ * from procedural box / cylinder geometry via @gltf-transform/core so the+ * runtime gets a real .glb file (no primitives stamped at runtime) and the+ * named-empty contract documented in src/club-venue.js + LICENSES.md is+ * satisfied without depending on a third-party asset drop.+ *+ * Run via: npm run build:club-venue+ *+ * The geometry intentionally stays plain — the visual richness comes from+ * the HDRI environment + the per-pole spotlights + the bloom postFX layer.+ * Every named empty (truss_*, stage_*, backstage_door_*, bar_*) maps to the+ * analytical POLES layout in src/club.js so dancers land on stage geometry+ * even before any artist-authored venue replaces this generated build.+ *+ * Underscore separators are deliberate: three.js's GLTFLoader runs+ * PropertyBinding.sanitizeNodeName on every node and strips `[ ] . : /` from+ * the name, so an empty authored as `stage.01` would arrive at runtime as+ * `stage01` and the named-empty contract in src/club-venue.js would fail to+ * resolve it. Keep mesh nodes underscore-prefixed too so the e2e test that+ * traverses the loaded GLB can rely on a single naming convention.+ */++import { writeFileSync, mkdirSync } from 'node:fs';+import { fileURLToPath } from 'node:url';+import { dirname, resolve } from 'node:path';++import { Document, NodeIO } from '@gltf-transform/core';++const __dirname = dirname(fileURLToPath(import.meta.url));+const ROOT = resolve(__dirname, '..');+const OUT_DIR = resolve(ROOT, 'public/club/venue');++// Mirror the layout constants from src/club.js so the named empties land on+// the same world positions the analytical POLES array does — that way the+// dancer rigs sit on top of the stage discs without the runtime needing any+// per-asset offset table.+const STAGE_RADIUS = 4.2;+const POLE_COUNT = 4;+const FLOOR_RADIUS = 14;+const ROOM_HEIGHT = 8;+const TRUSS_Y = 6.0;+const BAR_Z = -7.5;++// ─── Geometry primitives (positions / normals / indices, no UVs) ────────────++function boxGeom(sx, sy, sz) {+ const x = sx / 2;+ const y = sy / 2;+ const z = sz / 2;+ const faces = [+ { n: [1, 0, 0], v: [[x, -y, -z], [x, y, -z], [x, y, z], [x, -y, z]] },+ { n: [-1, 0, 0], v: [[-x, -y, z], [-x, y, z], [-x, y, -z], [-x, -y, -z]] },+ { n: [0, 1, 0], v: [[-x, y, -z], [-x, y, z], [x, y, z], [x, y, -z]] },+ { n: [0, -1, 0], v: [[-x, -y, z], [-x, -y, -z], [x, -y, -z], [x, -y, z]] },+ { n: [0, 0, 1], v: [[-x, -y, z], [x, -y, z], [x, y, z], [-x, y, z]] },+ { n: [0, 0, -1], v: [[x, -y, -z], [-x, -y, -z], [-x, y, -z], [x, y, -z]] },+ ];+ const positions = [];+ const normals = [];+ const indices = [];+ for (const face of faces) {+ const start = positions.length / 3;+ for (const p of face.v) {+ positions.push(...p);+ normals.push(...face.n);+ }+ indices.push(start, start + 1, start + 2, start, start + 2, start + 3);+ }+ return {+ positions: new Float32Array(positions),+ normals: new Float32Array(normals),+ indices: new Uint32Array(indices),+ };+}++function discGeom(radius, segments = 96, normalY = 1) {+ const positions = [0, 0, 0];+ const normals = [0, normalY, 0];+ const indices = [];+ for (let i = 0; i <= segments; i++) {+ const theta = (i / segments) * Math.PI * 2;+ positions.push(radius * Math.cos(theta), 0, radius * Math.sin(theta));+ normals.push(0, normalY, 0);+ }+ for (let i = 0; i < segments; i++) {+ if (normalY > 0) indices.push(0, i + 1, i + 2);+ else indices.push(0, i + 2, i + 1);+ }+ return {+ positions: new Float32Array(positions),+ normals: new Float32Array(normals),+ indices: new Uint32Array(indices),+ };+}++function cylinderSideGeom(radius, height, segments = 32) {+ const positions = [];+ const normals = [];+ const indices = [];+ for (let i = 0; i <= segments; i++) {+ const theta = (i / segments) * Math.PI * 2;+ const cosT = Math.cos(theta);+ const sinT = Math.sin(theta);+ positions.push(radius * cosT, height, radius * sinT);+ normals.push(cosT, 0, sinT);+ positions.push(radius * cosT, 0, radius * sinT);+ normals.push(cosT, 0, sinT);+ }+ for (let i = 0; i < segments; i++) {+ const a = i * 2;+ indices.push(a, a + 1, a + 2);+ indices.push(a + 1, a + 3, a + 2);+ }+ return {+ positions: new Float32Array(positions),+ normals: new Float32Array(normals),+ indices: new Uint32Array(indices),+ };+}++// ─── glTF helpers ────────────────────────────────────────────────────────────++function addPrim(doc, buffer, mat, name, { positions, normals, indices }) {+ const posAcc = doc+ .createAccessor(`${name}.pos`)+ .setType('VEC3')+ .setArray(positions)+ .setBuffer(buffer);+ const normAcc = doc+ .createAccessor(`${name}.norm`)+ .setType('VEC3')+ .setArray(normals)+ .setBuffer(buffer);+ const idxAcc = doc+ .createAccessor(`${name}.idx`)+ .setType('SCALAR')+ .setArray(indices)+ .setBuffer(buffer);+ const prim = doc+ .createPrimitive()+ .setAttribute('POSITION', posAcc)+ .setAttribute('NORMAL', normAcc)+ .setIndices(idxAcc)+ .setMaterial(mat);+ return doc.createMesh(name).addPrimitive(prim);+}++function addMesh(doc, scene, buffer, mat, name, geom, translation = [0, 0, 0], rotation = null) {+ const mesh = addPrim(doc, buffer, mat, name, geom);+ const node = doc.createNode(name).setMesh(mesh).setTranslation(translation);+ if (rotation) node.setRotation(rotation);+ scene.addChild(node);+ return node;+}++function addEmpty(doc, scene, name, translation) {+ // Named empty = glTF Node with no mesh attached. Three.js exposes these+ // as Object3D instances which collectVenueEmpties() picks up by .name.+ const node = doc.createNode(name).setTranslation(translation);+ scene.addChild(node);+ return node;+}++// ─── Materials ───────────────────────────────────────────────────────────────++function floorMat(doc) {+ return doc+ .createMaterial('VenueFloor')+ .setBaseColorFactor([0.072, 0.031, 0.059, 1])+ .setMetallicFactor(0.65)+ .setRoughnessFactor(0.4);+}++function wallMat(doc) {+ return doc+ .createMaterial('VenueWall')+ .setBaseColorFactor([0.039, 0.020, 0.051, 1])+ .setMetallicFactor(0.2)+ .setRoughnessFactor(0.7);+}++function ceilingMat(doc) {+ return doc+ .createMaterial('VenueCeiling')+ .setBaseColorFactor([0.027, 0.012, 0.035, 1])+ .setMetallicFactor(0.15)+ .setRoughnessFactor(0.8);+}++function trussMat(doc) {+ return doc+ .createMaterial('VenueTruss')+ .setBaseColorFactor([0.110, 0.118, 0.130, 1])+ .setMetallicFactor(0.92)+ .setRoughnessFactor(0.45);+}++function barMat(doc) {+ return doc+ .createMaterial('VenueBar')+ .setBaseColorFactor([0.153, 0.078, 0.145, 1])+ .setMetallicFactor(0.7)+ .setRoughnessFactor(0.4)+ .setEmissiveFactor([0.063, 0.020, 0.059]);+}++function neonMat(doc) {+ return doc+ .createMaterial('VenueNeon')+ .setBaseColorFactor([1, 1, 1, 1])+ .setMetallicFactor(0.1)+ .setRoughnessFactor(0.45)+ .setEmissiveFactor([1.0, 0.235, 0.839]);+}++function doorMat(doc) {+ return doc+ .createMaterial('VenueDoor')+ .setBaseColorFactor([0.067, 0.039, 0.094, 1])+ .setMetallicFactor(0.55)+ .setRoughnessFactor(0.55);+}++function danceFloorMat(doc) {+ return doc+ .createMaterial('VenueDanceFloor')+ .setBaseColorFactor([0.102, 0.039, 0.122, 1])+ .setMetallicFactor(0.85)+ .setRoughnessFactor(0.25)+ .setEmissiveFactor([0.133, 0.039, 0.212]);+}++// ─── Pole layout (mirrors src/club.js POLES) ─────────────────────────────────++function poleLayouts() {+ const out = [];+ for (let i = 0; i < POLE_COUNT; i += 1) {+ const t = POLE_COUNT === 1 ? 0.5 : i / (POLE_COUNT - 1);+ const angle = -Math.PI * 0.31 + t * Math.PI * 0.62;+ const id = String(i + 1).padStart(2, '0');+ const x = Math.sin(angle) * STAGE_RADIUS;+ const z = -Math.cos(angle) * STAGE_RADIUS + 1.4;+ const backstageX = Math.sin(angle) * (STAGE_RADIUS + 0.6);+ const backstageZ = -Math.cos(angle) * (STAGE_RADIUS + 0.6) - 2.4;+ out.push({ id, x, z, backstageX, backstageZ });+ }+ return out;+}++// ─── Document build ──────────────────────────────────────────────────────────++function buildVenueDoc() {+ const doc = new Document();+ doc.createBuffer();+ const buffer = doc.getRoot().listBuffers()[0];+ const scene = doc.createScene('VenueScene');++ const floor = floorMat(doc);+ const wall = wallMat(doc);+ const ceiling = ceilingMat(doc);+ const truss = trussMat(doc);+ const bar = barMat(doc);+ const neon = neonMat(doc);+ const door = doorMat(doc);+ const dance = danceFloorMat(doc);++ // Floor — large dark metallic disc, receiveShadow at runtime.+ addMesh(doc, scene, buffer, floor, 'venue_floor', discGeom(FLOOR_RADIUS, 96, 1), [0, 0, 0]);++ // Dance-floor inlay — slightly emissive checker so the room reads as a+ // club, not an empty plane. Sits 1 mm above the main floor to avoid+ // z-fighting under bloom.+ addMesh(doc, scene, buffer, dance, 'venue_dancefloor', discGeom(STAGE_RADIUS + 1.4, 64, 1), [0, 0.001, 0]);++ // Inverse disc as the ceiling — receives no shadows but seals the room+ // against the fog so we don't see fog "leaking" up to infinity.+ addMesh(doc, scene, buffer, ceiling, 'venue_ceiling', discGeom(FLOOR_RADIUS, 48, -1), [0, ROOM_HEIGHT, 0]);++ // Cylinder side wall — interior of the room. Negative scale on Y would+ // flip the inward normal; we use the inward normal directly to keep the+ // math obvious. boxGeom can't approximate a tube cleanly so we use+ // cylinderSideGeom and re-orient normals to point inward via material+ // `doubleSided` flag.+ const wallNode = addMesh(+ doc,+ scene,+ buffer,+ wall,+ 'venue_wall',+ cylinderSideGeom(FLOOR_RADIUS - 0.1, ROOM_HEIGHT, 64),+ [0, 0, 0],+ );+ wallNode.getMesh().listPrimitives()[0].getMaterial().setDoubleSided(true);++ // Bar counter behind the dance floor — long box across negative Z.+ addMesh(doc, scene, buffer, bar, 'venue_bar', boxGeom(9.0, 1.1, 0.9), [0, 0.55, BAR_Z]);++ // Bar back-splash neon — emissive plane just above the counter top.+ addMesh(doc, scene, buffer, neon, 'venue_bar_backsplash', boxGeom(8.0, 0.18, 0.04), [0, 1.55, BAR_Z - 0.45]);++ // Truss — four cross-room beams. Heavy enough to read as metal under+ // the spotlights but kept low-poly: each beam is a single box.+ const beamThickness = 0.16;+ addMesh(doc, scene, buffer, truss, 'venue_truss_front', boxGeom(FLOOR_RADIUS * 1.6, beamThickness, beamThickness), [0, TRUSS_Y, 1.4]);+ addMesh(doc, scene, buffer, truss, 'venue_truss_mid', boxGeom(FLOOR_RADIUS * 1.6, beamThickness, beamThickness), [0, TRUSS_Y, -2.6]);+ addMesh(doc, scene, buffer, truss, 'venue_truss_back', boxGeom(FLOOR_RADIUS * 1.6, beamThickness, beamThickness), [0, TRUSS_Y, BAR_Z + 1.0]);+ addMesh(doc, scene, buffer, truss, 'venue_truss_left', boxGeom(beamThickness, beamThickness, 12), [-7.5, TRUSS_Y, -2.4]);+ addMesh(doc, scene, buffer, truss, 'venue_truss_right', boxGeom(beamThickness, beamThickness, 12), [7.5, TRUSS_Y, -2.4]);++ // Per-pole backstage doors — narrow vertical boxes against the back wall.+ const poles = poleLayouts();+ for (const p of poles) {+ addMesh(+ doc,+ scene,+ buffer,+ door,+ `venue_door_${p.id}`,+ boxGeom(0.9, 2.2, 0.08),+ [p.backstageX, 1.1, p.backstageZ - 0.05],+ );+ }++ // ─── Named empties (the contract enforced in src/club-venue.js) ──────────++ // Mirrorball anchor — centered above the dance floor.+ addEmpty(doc, scene, 'truss_mirrorball', [0, TRUSS_Y - 0.4, -1.4]);++ // Bar backsplash neon anchor — at the centre of the emissive strip.+ addEmpty(doc, scene, 'bar_backsplash_neon', [0, 1.55, BAR_Z - 0.43]);++ // Per-slot stage / backstage / spot empties. Indices are 01..0N+ // (zero-padded) so artists can re-order discs without renaming empties.+ for (const p of poles) {+ addEmpty(doc, scene, `stage_${p.id}`, [p.x, 0, p.z]);+ addEmpty(doc, scene, `backstage_door_${p.id}`, [p.backstageX, 0, p.backstageZ]);+ addEmpty(doc, scene, `truss_spot_${p.id}`, [p.x, TRUSS_Y - 0.2, p.z + 0.5]);+ }++ return doc;+}++async function main() {+ mkdirSync(OUT_DIR, { recursive: true });+ const io = new NodeIO();+ const doc = buildVenueDoc();+ const bytes = await io.writeBinary(doc);+ const outPath = resolve(OUT_DIR, 'club-venue.glb');+ writeFileSync(outPath, Buffer.from(bytes));+ console.log(`[club-venue] wrote club-venue.glb ${(bytes.length / 1024).toFixed(1)} kB`);+}++main().catch((err) => {+ console.error('[club-venue] build failed:', err);+ process.exit(1);+});diff --git a/scripts/copy-three-decoders.mjs b/scripts/copy-three-decoders.mjsnew file mode 100644index 000000000..a450045df--- /dev/null+++ b/scripts/copy-three-decoders.mjs@@ -0,0 +1,49 @@+// Copy the Draco + Basis (KTX2) decoder binaries shipped inside the `three`+// npm package into /public/three/ so the browser can fetch them from the same+// origin. Runs from `postinstall` so a fresh `npm ci` always lands the+// matching decoder versions for whichever three.js the lockfile pinned.+//+// The decoder binaries are NOT committed — `.gitignore` excludes+// /public/three/ — but they MUST be present in the deployed dist/ for+// /club to render (it loads a Draco-compressed venue GLB at runtime).++import { cpSync, existsSync, mkdirSync, rmSync } from 'node:fs';+import { dirname, join, resolve } from 'node:path';+import { fileURLToPath } from 'node:url';++const __dirname = dirname(fileURLToPath(import.meta.url));+const repo = resolve(__dirname, '..');++const src = join(repo, 'node_modules/three/examples/jsm/libs');+const out = join(repo, 'public/three');++if (!existsSync(src)) {+ console.warn(`[copy-three-decoders] ${src} not found — skipping. Run npm install first.`);+ process.exit(0);+}++// Copy draco/ (includes the wasm-fallback js shim and the wasm binary).+// Keep the upstream layout (decoder + decoder/gltf) — DRACOLoader resolves+// the gltf-flavoured decoder relative to setDecoderPath().+const dracoSrc = join(src, 'draco');+const dracoOut = join(out, 'draco');+if (existsSync(dracoSrc)) {+ mkdirSync(dirname(dracoOut), { recursive: true });+ rmSync(dracoOut, { recursive: true, force: true });+ cpSync(dracoSrc, dracoOut, { recursive: true });+ console.log(`[copy-three-decoders] draco/ → ${dracoOut.replace(repo + '/', '')}`);+} else {+ console.warn(`[copy-three-decoders] ${dracoSrc} not found`);+}++// Copy basis/ (basis_transcoder.js + .wasm for KTX2).+const basisSrc = join(src, 'basis');+const basisOut = join(out, 'basis');+if (existsSync(basisSrc)) {+ mkdirSync(dirname(basisOut), { recursive: true });+ rmSync(basisOut, { recursive: true, force: true });+ cpSync(basisSrc, basisOut, { recursive: true });+ console.log(`[copy-three-decoders] basis/ → ${basisOut.replace(repo + '/', '')}`);+} else {+ console.warn(`[copy-three-decoders] ${basisSrc} not found`);+}diff --git a/scripts/verify-x402-wire.mjs b/scripts/verify-x402-wire.mjsindex 64c10472d..cf858125a 100644--- a/scripts/verify-x402-wire.mjs+++ b/scripts/verify-x402-wire.mjs@@ -3,12 +3,19 @@// share the exact wire shape required by the Coinbase x402 v2 spec.//// Asserts (no network calls — pure import smoke):-// 1. paymentRequirements() returns v2-shape `accepts[]` entries-// with `amount` (NOT `maxAmountRequired`).-// 2. build402Body() emits `x402Version: 2`, top-level resource{}, accepts[], extensions.bazaar.-// 3. SDK's PaymentPayload shape carries top-level `scheme` + `network`+// 1. paymentRequirements() returns v2-shape `accepts[]` entries with+// `amount` (NOT `maxAmountRequired`).+// 2. build402Body() emits `x402Version: 2`, top-level resource{},+// accepts[], extensions.bazaar.+// 3. When CDP credentials are present, each EVM `exact` accept gets a+// Permit2 sibling (`extra.assetTransferMethod === 'permit2'`) and the+// top-level extensions include `eip2612GasSponsoring` ++// `erc20ApprovalGasSponsoring`. Without CDP creds, neither is emitted.+// 4. permit2VariantOf() correctly produces siblings for EVM `exact` only+// (Solana SPL + BSC `direct` get null).+// 5. SDK's PaymentPayload shape carries top-level `scheme` + `network`// that match the server's selectRequirement() lookup.-// 4. SDK's X-PAYMENT header constant equals what auth.js reads.+// 6. SDK's X-PAYMENT header constant equals what auth.js reads.import assert from 'node:assert/strict';@@ -18,12 +25,22 @@ process.env.X402_ASSET_MINT_SOLANA ??= 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTprocess.env.X402_ASSET_ADDRESS_BASE ??= '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913';process.env.X402_MAX_AMOUNT_REQUIRED ??= '1000';process.env.X402_FEE_PAYER_SOLANA ??= '2wKupLR9q6wXYppw8Gr2NvWxKBUqm4PPJKkQfoxHDBg4';+// Default to CDP-credentialed mode — that's the production path. We still+// re-import a fresh copy of the module further down with creds stripped to+// confirm the no-CDP fallback. Use throwaway values; nothing here actually+// calls the facilitator.+process.env.CDP_API_KEY_ID ??= 'verify-x402-wire-fake-key-id';+process.env.CDP_API_KEY_SECRET ??= 'verify-x402-wire-fake-key-secret';const {paymentRequirements,build402Body,+ permit2VariantOf,+ EIP2612_EXTENSION_KEY,+ ERC20_APPROVAL_EXTENSION_KEY,X402_VERSION,NETWORK_BASE_MAINNET,+ NETWORK_BSC_MAINNET,NETWORK_SOLANA_MAINNET,} = await import('../api/_lib/x402-spec.js');const { x402: sdkX402 } = await import('../agent-payments-sdk/dist/solana/index.js');@@ -36,12 +53,18 @@ assert.equal(NETWORK_SOLANA_MAINNET,'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp',);+assert.equal(EIP2612_EXTENSION_KEY, 'eip2612GasSponsoring');+assert.equal(ERC20_APPROVAL_EXTENSION_KEY, 'erc20ApprovalGasSponsoring');-console.log('[verify] paymentRequirements() shape');+console.log('[verify] paymentRequirements() shape (CDP credentialed)');const reqs = paymentRequirements();assert.ok(Array.isArray(reqs) && reqs.length >= 1, 'must return at least one accept');+const VALID_SCHEMES = new Set(['exact', 'direct']);for (const r of reqs) {- assert.equal(r.scheme, 'exact', `scheme must be 'exact', got ${r.scheme}`);+ assert.ok(+ VALID_SCHEMES.has(r.scheme),+ `scheme must be one of ${[...VALID_SCHEMES].join('|')}, got ${r.scheme}`,+ );assert.ok(r.amount, `v2 spec requires 'amount' (not maxAmountRequired) on ${r.network}`);assert.ok(!('maxAmountRequired' in r), `must not emit legacy v1 field on ${r.network}`);assert.ok(r.payTo, `${r.network} missing payTo`);@@ -49,10 +72,46 @@ for (const r of reqs) {assert.ok(r.network.includes(':'), `${r.network} must be CAIP-2`);if (r.network.startsWith('solana:'))assert.ok(r.extra?.feePayer, `Solana accepts must include extra.feePayer`);- console.log(` ok ${r.network}/${r.scheme} amount=${r.amount} payTo=${r.payTo.slice(0, 8)}…`);+ console.log(+ ` ok ${r.network}/${r.scheme} amount=${r.amount} payTo=${r.payTo.slice(0, 8)}… method=${r.extra?.assetTransferMethod || 'eip3009'}`,+ );}-console.log('[verify] build402Body() envelope');+console.log('[verify] Permit2 sibling generation');+const baseEip3009 = reqs.find(+ (r) => r.network === NETWORK_BASE_MAINNET && !r.extra?.assetTransferMethod,+);+assert.ok(baseEip3009, 'Base mainnet EIP-3009 accept must be present');+const basePermit2 = reqs.find(+ (r) => r.network === NETWORK_BASE_MAINNET && r.extra?.assetTransferMethod === 'permit2',+);+assert.ok(basePermit2, 'Base mainnet Permit2 sibling must be present when CDP creds are set');+assert.equal(basePermit2.extra.supportsEip2612, true, 'Permit2 sibling must declare supportsEip2612');+// Sibling pure-function check.+const synthetic = permit2VariantOf(baseEip3009);+assert.ok(synthetic, 'permit2VariantOf must return a sibling for EVM exact accepts');+assert.equal(synthetic.extra.assetTransferMethod, 'permit2');+assert.equal(synthetic.network, baseEip3009.network);+assert.equal(synthetic.payTo, baseEip3009.payTo);+assert.equal(synthetic.asset, baseEip3009.asset);+// Solana SPL has no Permit2 path — must be null.+const solanaAccept = reqs.find((r) => r.network === NETWORK_SOLANA_MAINNET);+assert.equal(+ permit2VariantOf(solanaAccept),+ null,+ 'permit2VariantOf must return null for Solana SPL accepts',+);+// BSC direct uses an on-chain pay() scheme, not the exact/Permit2 path.+const bscAccept = reqs.find((r) => r.network === NETWORK_BSC_MAINNET);+if (bscAccept)+ assert.equal(+ permit2VariantOf(bscAccept),+ null,+ 'permit2VariantOf must return null for BSC direct accepts',+ );+console.log(` ok EVM exact → sibling; Solana SPL / BSC direct → null`);++console.log('[verify] build402Body() envelope (CDP credentialed)');const body = build402Body({resourceUrl: 'https://three.ws/api/mcp',accepts: reqs,@@ -62,7 +121,51 @@ assert.equal(typeof body.resource, 'object');assert.equal(body.resource.url, 'https://three.ws/api/mcp');assert.ok(Array.isArray(body.accepts));assert.ok(body.extensions?.bazaar?.discoverable, 'bazaar discovery extension must be present');-console.log(` ok x402Version=${body.x402Version} accepts=${body.accepts.length} bazaar=discoverable`);+assert.ok(+ body.extensions[EIP2612_EXTENSION_KEY],+ 'eip2612GasSponsoring must be declared when accepts include a Permit2 sibling',+);+assert.ok(+ body.extensions[ERC20_APPROVAL_EXTENSION_KEY],+ 'erc20ApprovalGasSponsoring must be declared when accepts include a Permit2 sibling',+);+assert.equal(+ body.extensions[EIP2612_EXTENSION_KEY].info.version,+ '1',+ 'eip2612GasSponsoring info.version must be "1"',+);+console.log(+ ` ok x402Version=${body.x402Version} accepts=${body.accepts.length} extensions=[${Object.keys(body.extensions).join(',')}]`,+);++console.log('[verify] no-CDP fallback (PayAI-only operators)');+delete process.env.CDP_API_KEY_ID;+delete process.env.CDP_API_KEY_SECRET;+// Re-import with cache-busting query so the module re-reads env.+const noCdpModule = await import('../api/_lib/x402-spec.js?nocdp');+const noCdpReqs = noCdpModule.paymentRequirements();+const noCdpPermit2 = noCdpReqs.find((r) => r.extra?.assetTransferMethod === 'permit2');+assert.equal(+ noCdpPermit2,+ undefined,+ 'Without CDP creds we must NOT advertise a Permit2 sibling (PayAI does not settle it)',+);+const noCdpBody = noCdpModule.build402Body({+ resourceUrl: 'https://three.ws/api/mcp',+ accepts: noCdpReqs,+});+assert.ok(+ !noCdpBody.extensions[noCdpModule.EIP2612_EXTENSION_KEY],+ 'Without Permit2 accepts the eip2612 extension must not be declared',+);+assert.ok(+ !noCdpBody.extensions[noCdpModule.ERC20_APPROVAL_EXTENSION_KEY],+ 'Without Permit2 accepts the erc20Approval extension must not be declared',+);+console.log(' ok no Permit2 sibling, no gas-sponsoring extensions advertised');+// Restore CDP creds for the rest of the script.+process.env.CDP_API_KEY_ID = 'verify-x402-wire-fake-key-id';+process.env.CDP_API_KEY_SECRET = 'verify-x402-wire-fake-key-secret';console.log('[verify] SDK header constants match server reads');assert.equal(X402_HEADER_PAYMENT, 'X-PAYMENT', 'SDK must send X-PAYMENT, server reads x-payment');diff --git a/src/club-venue.js b/src/club-venue.jsnew file mode 100644index 000000000..0267ee7fd--- /dev/null+++ b/src/club-venue.js@@ -0,0 +1,97 @@+// Pure helpers for resolving named empties inside the authored club venue+// GLB. Lifted out of src/club.js so they can be unit-tested without booting+// a WebGLRenderer / DOM. The runtime imports both symbols from here.++import { Vector3 } from 'three';++/**+ * Named empties the venue GLB MUST expose for the runtime to bind dancers+ * + lighting to authored positions. The per-pole suffixes are zero-padded+ * two-digit strings so artists can re-order discs in Blender without+ * renaming the empties. Missing any of these is a load-time error.+ *+ * Names use underscores rather than dots because three.js's GLTFLoader+ * runs `PropertyBinding.sanitizeNodeName` on every loaded node and strips+ * the characters `[ ] . : /`. A node authored as `truss.spot.01` in+ * Blender would arrive at runtime as `trussspot01` — the underscore form+ * survives the sanitizer untouched. Artists should mirror this convention+ * when naming empties in the .blend file.+ */+export const REQUIRED_VENUE_EMPTIES = [+ 'truss_mirrorball',+ 'bar_backsplash_neon',+ 'stage_01', 'stage_02', 'stage_03', 'stage_04',+ 'backstage_door_01', 'backstage_door_02', 'backstage_door_03', 'backstage_door_04',+ 'truss_spot_01', 'truss_spot_02', 'truss_spot_03', 'truss_spot_04',+];++/**+ * Walk the venue scene graph and return every required named empty as a+ * Map keyed by name. Throws with the missing-empty list if anything from+ * `required` is absent — the spec is explicit that we surface the error+ * rather than silently falling back to analytical positions.+ *+ * @param {import('three').Object3D} root+ * @param {string[]} [required] — defaults to REQUIRED_VENUE_EMPTIES.+ * @returns {Map<string, import('three').Object3D>}+ */+export function collectVenueEmpties(root, required = REQUIRED_VENUE_EMPTIES) {+ if (!root || typeof root.traverse !== 'function') {+ throw new Error('collectVenueEmpties: expected an Object3D with .traverse()');+ }+ const requiredSet = new Set(required);+ const found = new Map();+ root.traverse((n) => {+ if (n && typeof n.name === 'string' && requiredSet.has(n.name)) {+ found.set(n.name, n);+ }+ });+ const missing = required.filter((name) => !found.has(name));+ if (missing.length) {+ throw new Error(+ `Venue GLB is missing required named empties: ${missing.join(', ')}. ` ++ 'Author them in Blender and re-export — the runtime has no fallback.',+ );+ }+ return found;+}++/**+ * For a fixed pole count, harvest the world positions of the+ * stage / backstage / spot empties as flat Vector3 arrays. Lets the+ * bootstrap loop and the tests share one indexing rule (zero-padded two-+ * digit slot suffixes starting at 01).+ *+ * Returns the underlying anchor Object3Ds for `mirrorball` and+ * `barBacksplashNeon` so callers can either read their world position or+ * attach children directly (prompt 04 mounts the mirror ball + bar neon+ * strip as children of these empties).+ *+ * @param {Map<string, import('three').Object3D>} empties+ * @param {number} slotCount+ * @returns {{+ * stages: Vector3[],+ * backstages: Vector3[],+ * spots: Vector3[],+ * mirrorball: import('three').Object3D,+ * barBacksplashNeon: import('three').Object3D,+ * }}+ */+export function resolveVenueAnchors(empties, slotCount) {+ const stages = [];+ const backstages = [];+ const spots = [];+ for (let i = 0; i < slotCount; i += 1) {+ const id = String(i + 1).padStart(2, '0');+ stages.push(empties.get(`stage_${id}`).getWorldPosition(new Vector3()));+ backstages.push(empties.get(`backstage_door_${id}`).getWorldPosition(new Vector3()));+ spots.push(empties.get(`truss_spot_${id}`).getWorldPosition(new Vector3()));+ }+ return {+ stages,+ backstages,+ spots,+ mirrorball: empties.get('truss_mirrorball'),+ barBacksplashNeon: empties.get('bar_backsplash_neon'),+ };+}diff --git a/src/club.js b/src/club.jsindex 77009ffe8..3c4a4c1b6 100644--- a/src/club.js+++ b/src/club.js@@ -9,31 +9,26 @@import {AmbientLight,Box3,- CircleGeometry,Clock,Color,- DoubleSide,+ EquirectangularReflectionMapping,Fog,Group,HemisphereLight,- Mesh,- MeshBasicMaterial,- MeshStandardMaterial,PerspectiveCamera,- PlaneGeometry,PMREMGenerator,PointLight,- RingGeometry,Scene,SpotLight,SRGBColorSpace,Vector3,WebGLRenderer,} from 'three';-import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';-import { RoomEnvironment } from 'three/addons/environments/RoomEnvironment.js';+import { RGBELoader } from 'three/addons/loaders/RGBELoader.js';import { clone as cloneSkinnedScene } from 'three/addons/utils/SkeletonUtils.js';+import { gltfLoader } from './loaders/gltf.js';+import { REQUIRED_VENUE_EMPTIES, collectVenueEmpties, resolveVenueAnchors } from './club-venue.js';import { AnimationManager } from './animation-manager.js';import { ClubCamera } from './club-camera.js';import { ClubAudio, styleAudioFor, TRACK_LABELS } from './club-audio.js';@@ -44,6 +39,13 @@ const AVATAR_URL = '/avatars/default.glb';const MANIFEST_URL = '/animations/manifest.json';const POLE_GLB_URL = '/club/props/pole.glb';const STAGE_GLB_URL = '/club/props/stage.glb';+// Authored nightclub interior + equirectangular HDRI for PBR reflections.+// Both are required — a 404 surfaces an error in the UI; the page does NOT+// fall back to a procedural scene. See public/club/assets/LICENSES.md for+// the named-empty contract these files must satisfy (the contract itself+// lives in src/club-venue.js so it can be unit-tested in isolation).+const VENUE_GLB_URL = '/club/venue/club-venue.glb';+const VENUE_HDRI_URL = '/club/venue/club-hdri.hdr';// Clips we actually use — keeps the manifest pre-fetch small. Pole-specific// clips (pole-spin, pole-climb, etc.) are added here once their source FBX@@ -290,9 +292,12 @@ renderer.shadowMap.enabled = activeProfile.shadows;const scene = new Scene();scene.background = new Color(0x07050b);scene.fog = new Fog(0x07050b, 9, 28);--const pmrem = new PMREMGenerator(renderer);-scene.environment = pmrem.fromScene(new RoomEnvironment(), 0.02).texture;+// scene.environment is set inside bootstrap() once the equirectangular HDRI+// (public/club/venue/club-hdri.hdr) has been pre-filtered through+// PMREMGenerator.fromEquirectangular. We intentionally do NOT seed the env+// with a RoomEnvironment lightprobe — PBR materials read straight from the+// loaded HDRI so reflections match the authored interior, not a generic+// neutral sphere.// Soft room light so the avatars aren't pitch black — but kept low so the// spotlights do the talking.@@ -313,75 +318,12 @@ const clubCam = new ClubCamera(camera, {});document.querySelector('#club-stage')?.setAttribute('data-cam-mode', clubCam.getMode());-// ── Club floor + walls ───────────────────────────────────────────────────-const floor = new Mesh(- new CircleGeometry(14, 80),- new MeshStandardMaterial({- color: 0x12080f,- roughness: 0.4,- metalness: 0.65,- }),-);-floor.rotation.x = -Math.PI / 2;-floor.receiveShadow = true;-scene.add(floor);--// Dance-floor inlay — slightly emissive checker so the room reads as a club,-// not an empty plane.-const danceFloor = new Mesh(- new CircleGeometry(STAGE_RADIUS + 1.4, 64),- new MeshStandardMaterial({- color: 0x1a0a1f,- roughness: 0.25,- metalness: 0.85,- emissive: 0x220a36,- emissiveIntensity: 0.45,- }),-);-danceFloor.rotation.x = -Math.PI / 2;-danceFloor.position.y = 0.001;-danceFloor.receiveShadow = true;-scene.add(danceFloor);--// Back wall — gives the room some depth instead of fog going on forever.-const wallMat = new MeshStandardMaterial({- color: 0x0a050d, roughness: 0.7, metalness: 0.2, side: DoubleSide,-});-const wallBack = new Mesh(new PlaneGeometry(30, 8), wallMat);-wallBack.position.set(0, 4, -10);-scene.add(wallBack);-const wallLeft = new Mesh(new PlaneGeometry(20, 8), wallMat);-wallLeft.position.set(-10, 4, 0);-wallLeft.rotation.y = Math.PI / 2;-scene.add(wallLeft);-const wallRight = new Mesh(new PlaneGeometry(20, 8), wallMat);-wallRight.position.set(10, 4, 0);-wallRight.rotation.y = -Math.PI / 2;-scene.add(wallRight);--// Bar counter behind the dance floor — a long box hint, nothing fancy.-const bar = new Mesh(- new PlaneGeometry(9, 0.9),- new MeshStandardMaterial({ color: 0x271425, roughness: 0.4, metalness: 0.7, emissive: 0x10050f, emissiveIntensity: 0.3 }),-);-bar.position.set(0, 0.45, -7.5);-scene.add(bar);--// ── Neon ring around dance floor ─────────────────────────────────────────-const neonRing = new Mesh(- new RingGeometry(STAGE_RADIUS + 1.35, STAGE_RADIUS + 1.55, 96),- new MeshBasicMaterial({ color: 0xff2bd6, side: DoubleSide, transparent: true, opacity: 0.85 }),-);-neonRing.rotation.x = -Math.PI / 2;-neonRing.position.y = 0.01;-scene.add(neonRing);-const neonRingOuter = new Mesh(- new RingGeometry(STAGE_RADIUS + 1.7, STAGE_RADIUS + 1.82, 96),- new MeshBasicMaterial({ color: 0x4ad6ff, side: DoubleSide, transparent: true, opacity: 0.7 }),-);-neonRingOuter.rotation.x = -Math.PI / 2;-neonRingOuter.position.y = 0.012;-scene.add(neonRingOuter);+// ── Authored venue ───────────────────────────────────────────────────────+// The floor, walls, ceiling, bar, neon strips, and crowd silhouettes all+// live inside public/club/venue/club-venue.glb. They're added to the scene+// in bootstrap() once GLTFLoader resolves; the named empties inside that+// GLB (stage.NN, backstage.door.NN, truss.spot.NN, truss.mirrorball,+// bar.backsplash.neon) are what drive pole + spotlight placement below.// ── Poles + spotlights ───────────────────────────────────────────────────const POLE_COLORS = [0xff3bd6, 0x4ad6ff, 0xff8a3b, 0x9b5dff];@@ -444,6 +386,41 @@ class PoleStation {this._sleepers = [];}+ /**+ * Snap this station's stage / backstage / spotlight positions onto the+ * world-space anchors harvested from the venue GLB. Called from+ * bootstrap() AFTER the venue loads but BEFORE attachProps so the cloned+ * stage disc / pole geo land on the authored stage.NN empties rather+ * than the analytical fallback baked into the POLES array.+ *+ * Mutates `this.layout` in place — downstream code (attachProps,+ * startPerformance, tick) reads layout each frame, so a single override+ * pass at boot is enough.+ *+ * @param {object} anchors+ * @param {import('three').Vector3} [anchors.stagePos]+ * @param {import('three').Vector3} [anchors.backstagePos]+ * @param {import('three').Vector3} [anchors.spotPos]+ */+ applyVenueOverrides({ stagePos, backstagePos, spotPos } = {}) {+ if (stagePos) {+ this.layout.x = stagePos.x;+ this.layout.z = stagePos.z;+ this.accent.position.set(stagePos.x, 0.6, stagePos.z);+ }+ if (backstagePos) {+ this.layout.backstageX = backstagePos.x;+ this.layout.backstageZ = backstagePos.z;+ this.rig.position.set(backstagePos.x, 0, backstagePos.z);+ this._phaseTarget = this.rig.position.clone();+ }+ if (spotPos) {+ this.spot.position.set(spotPos.x, spotPos.y, spotPos.z);+ }+ // Spotlight always re-aims at the (possibly new) stage center.+ this.spot.target.position.set(this.layout.x, 0.0, this.layout.z);+ }+/*** Clone the pole + stage GLB templates into this station. Called from* bootstrap() once both .glb files have finished loading. Each station gets@@ -704,11 +681,52 @@ for (let i = 0; i < discoCount; i++) {// ── Avatar template + manifest load ──────────────────────────────────────let animationDefs = null;++/**+ * Wrap a three.js loader's callback-form `.load()` in a promise that+ * forwards every progress event into `setStatus`. `loadAsync` would be+ * shorter but it swallows the progress callback, leaving the user staring+ * at "Loading club…" for the full duration of a multi-megabyte venue.+ *+ * @template T+ * @param {{ load: (url: string, onLoad: (asset: T) => void, onProgress: (e: ProgressEvent) => void, onError: (err: unknown) => void) => void }} loader+ * @param {string} url+ * @param {string} label+ * @returns {Promise<T>}+ */+function loadWithProgress(loader, url, label) {+ return new Promise((resolve, reject) => {+ loader.load(+ url,+ resolve,+ (e) => {+ if (e && e.total > 0) {+ const pct = Math.round((e.loaded / e.total) * 100);+ setStatus(`${label} ${pct}%`);+ }+ },+ (err) => {+ const message = err?.message || err?.statusText || String(err);+ reject(new Error(`Failed to load ${url}: ${message}`));+ },+ );+ });+}+async function bootstrap() {setStatus('Loading club…');- const loader = new GLTFLoader();- const [gltf, manifest, poleGltf, stageGltf] = await Promise.all([+ const loader = gltfLoader(renderer);+ const rgbe = new RGBELoader();++ // Load everything in parallel — the venue + HDRI are the heaviest+ // payloads but the avatar + animation manifest + pole/stage props can+ // fetch in the same window. Any rejection bubbles up to the .catch in+ // the call site below, which paints an error status and stops; no+ // primitive fallback ever gets attached.+ const [venueGltf, hdrTexture, gltf, manifest, poleGltf, stageGltf] = await Promise.all([+ loadWithProgress(loader, VENUE_GLB_URL, 'Loading club…'),+ loadWithProgress(rgbe, VENUE_HDRI_URL, 'Loading lighting…'),loader.loadAsync(AVATAR_URL),fetch(MANIFEST_URL, { cache: 'force-cache' }).then((r) => {if (!r.ok) throw new Error(`HTTP ${r.status} loading animation manifest`);@@ -718,6 +736,53 @@ async function bootstrap() {loader.loadAsync(STAGE_GLB_URL),]);+ // HDRI → pre-filtered cubemap for PBR reflections. Background stays+ // the dark fog color so the HDRI only affects materials, not the+ // visible sky.+ hdrTexture.mapping = EquirectangularReflectionMapping;+ const pmrem = new PMREMGenerator(renderer);+ pmrem.compileEquirectangularShader();+ const envRT = pmrem.fromEquirectangular(hdrTexture);+ scene.environment = envRT.texture;+ hdrTexture.dispose();+ pmrem.dispose();++ // Venue geometry — receiveShadow on everything, castShadow only on+ // meshes the artist explicitly opted in via userData (set in Blender's+ // custom-property panel). Keeping the cast set small protects the+ // shadow-budget for the per-pole spotlights.+ venueGltf.scene.traverse((n) => {+ if (n.isMesh) {+ n.receiveShadow = true;+ n.castShadow = n.userData?.castShadow === true;+ }+ });+ scene.add(venueGltf.scene);++ // Resolve every required named empty. Throws if any are missing so the+ // outer catch surfaces a precise error to the user instead of+ // silently placing dancers at the origin.+ const empties = collectVenueEmpties(venueGltf.scene, REQUIRED_VENUE_EMPTIES);+ const anchors = resolveVenueAnchors(empties, stations.length);+ for (let i = 0; i < stations.length; i += 1) {+ stations[i].applyVenueOverrides({+ stagePos: anchors.stages[i],+ backstagePos: anchors.backstages[i],+ spotPos: anchors.spots[i],+ });+ }++ // Expose the mirrorball + bar-neon anchors for prompt 04 (lighting).+ // Both are Object3D nodes — the consumer reads world position / parent+ // frame as needed; we don't pre-resolve to a Vector3 here so prompt 04+ // can also attach children directly to the empty.+ if (typeof window !== 'undefined') {+ window.__clubVenueAnchors = {+ mirrorball: anchors.mirrorball,+ barBacksplashNeon: anchors.barBacksplashNeon,+ };+ }+const template = gltf.scene;// Mark all materials as cloneable up front so per-dancer tinting works.template.traverse((n) => {diff --git a/src/loaders/gltf.js b/src/loaders/gltf.jsnew file mode 100644index 000000000..b5d967ad9--- /dev/null+++ b/src/loaders/gltf.js@@ -0,0 +1,54 @@+// Shared GLTFLoader with Draco + KTX2 + Meshopt wired against locally-served+// decoder binaries (copied into /public/three/{draco,basis}/ by the+// postinstall step `scripts/copy-three-decoders.mjs`). One memoised instance+// per renderer so the decoders aren't re-instantiated on every glTF load.++import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';+import { DRACOLoader } from 'three/addons/loaders/DRACOLoader.js';+import { KTX2Loader } from 'three/addons/loaders/KTX2Loader.js';+import { MeshoptDecoder } from 'three/addons/libs/meshopt_decoder.module.js';++const DRACO_PATH = '/three/draco/';+const BASIS_PATH = '/three/basis/';++const _cache = new WeakMap();++/**+ * Return a GLTFLoader configured for compressed assets (Draco, KTX2, Meshopt).+ * Memoised per renderer — KTX2Loader's transcoder targets vary by GPU/format+ * support, so we bind the loader to the specific WebGLRenderer that was+ * passed in. Subsequent calls with the same renderer return the same loader.+ *+ * @param {import('three').WebGLRenderer} renderer+ * @returns {GLTFLoader}+ */+export function gltfLoader(renderer) {+ if (!renderer) {+ throw new Error('gltfLoader(renderer) requires a WebGLRenderer for KTX2 format detection');+ }+ const cached = _cache.get(renderer);+ if (cached) return cached;++ const loader = new GLTFLoader();+ const draco = new DRACOLoader().setDecoderPath(DRACO_PATH);+ loader.setDRACOLoader(draco);+ const ktx2 = new KTX2Loader().setTranscoderPath(BASIS_PATH).detectSupport(renderer);+ loader.setKTX2Loader(ktx2);+ loader.setMeshoptDecoder(MeshoptDecoder);++ _cache.set(renderer, loader);+ return loader;+}++/**+ * Dispose loader resources when the renderer is torn down. Idempotent.+ *+ * @param {import('three').WebGLRenderer} renderer+ */+export function disposeGltfLoader(renderer) {+ const loader = _cache.get(renderer);+ if (!loader) return;+ loader.dracoLoader?.dispose?.();+ loader.ktx2Loader?.dispose?.();+ _cache.delete(renderer);+}diff --git a/tests/_fixtures/club-hdri.hdr b/tests/_fixtures/club-hdri.hdrnew file mode 100644index 000000000..788fe7b97--- /dev/null+++ b/tests/_fixtures/club-hdri.hdr@@ -0,0 +1,5 @@+#?RADIANCE+FORMAT=32-bit_rle_rgbe++-Y 4 +X 4+����������������������������������������������������������������\ No newline at end of filediff --git a/tests/_fixtures/club-venue.glb b/tests/_fixtures/club-venue.glbnew file mode 100644index 000000000..6c86c1bf7Binary files /dev/null and b/tests/_fixtures/club-venue.glb differdiff --git a/tests/club-venue-load.test.js b/tests/club-venue-load.test.jsnew file mode 100644index 000000000..e67ebd3a4--- /dev/null+++ b/tests/club-venue-load.test.js@@ -0,0 +1,149 @@+// Tests for the named-empty contract between the authored venue GLB and+// the /club runtime. We don't boot src/club.js here — that pulls in a+// WebGLRenderer + the live DOM — instead we exercise the pure helpers+// in src/club-venue.js against a synthetic three.js scene graph.+//+// The intent is to lock in two guarantees the prompt 01 spec demands:+// 1. When the venue exposes every required empty, the runtime reads+// stage / backstage / spotlight world positions from those empties+// instead of the analytical fallback in `POLES`.+// 2. When ANY required empty is missing, the load fails loudly and+// the error message names which empty is absent — so the artist+// can fix it in Blender without guessing.++import { describe, it, expect } from 'vitest';+import { Group, Object3D, Vector3 } from 'three';++import {+ REQUIRED_VENUE_EMPTIES,+ collectVenueEmpties,+ resolveVenueAnchors,+} from '../src/club-venue.js';++const POLE_COUNT = 4;++/**+ * Build a synthetic scene that satisfies REQUIRED_VENUE_EMPTIES. Each+ * named empty gets a deterministic world position derived from a small+ * lookup table so the tests can assert on exact coordinates.+ *+ * @param {Set<string>} [omit] — names to skip (used by the sad-path test).+ */+function makeSyntheticVenue(omit = new Set()) {+ const root = new Group();+ root.name = 'venue';++ const positions = {+ 'truss_mirrorball': [0, 6.0, 0],+ 'bar_backsplash_neon': [0, 1.6, -7.5],+ 'stage_01': [-3.5, 0, -3.0],+ 'stage_02': [-1.2, 0, -4.4],+ 'stage_03': [1.2, 0, -4.4],+ 'stage_04': [3.5, 0, -3.0],+ 'backstage_door_01': [-3.5, 0, -6.8],+ 'backstage_door_02': [-1.2, 0, -7.2],+ 'backstage_door_03': [1.2, 0, -7.2],+ 'backstage_door_04': [3.5, 0, -6.8],+ 'truss_spot_01': [-3.5, 6.0, -2.5],+ 'truss_spot_02': [-1.2, 6.0, -4.0],+ 'truss_spot_03': [1.2, 6.0, -4.0],+ 'truss_spot_04': [3.5, 6.0, -2.5],+ };++ for (const [name, [x, y, z]] of Object.entries(positions)) {+ if (omit.has(name)) continue;+ const obj = new Object3D();+ obj.name = name;+ obj.position.set(x, y, z);+ root.add(obj);+ }+ root.updateMatrixWorld(true);+ return { root, positions };+}++describe('collectVenueEmpties', () => {+ it('returns a Map keyed by name covering every required empty', () => {+ const { root } = makeSyntheticVenue();+ const empties = collectVenueEmpties(root, REQUIRED_VENUE_EMPTIES);++ expect(empties.size).toBe(REQUIRED_VENUE_EMPTIES.length);+ for (const name of REQUIRED_VENUE_EMPTIES) {+ expect(empties.has(name)).toBe(true);+ expect(empties.get(name).name).toBe(name);+ }+ });++ it('throws naming every missing empty when the venue is incomplete', () => {+ const { root } = makeSyntheticVenue(+ new Set(['backstage_door_03', 'truss_mirrorball']),+ );+ expect(() => collectVenueEmpties(root, REQUIRED_VENUE_EMPTIES))+ .toThrow(/backstage_door_03/);+ expect(() => collectVenueEmpties(root, REQUIRED_VENUE_EMPTIES))+ .toThrow(/truss_mirrorball/);+ });++ it('rejects a non-Object3D root with a clear error', () => {+ expect(() => collectVenueEmpties(null)).toThrow(/Object3D/);+ expect(() => collectVenueEmpties({})).toThrow(/Object3D/);+ });++ it('REQUIRED_VENUE_EMPTIES enumerates exactly four of each per-slot empty', () => {+ // Guard against a future edit that drops or adds a pole slot+ // without updating both the contract and the runtime loop.+ const perSlot = REQUIRED_VENUE_EMPTIES.filter((n) => /_\d{2}$/.test(n));+ expect(perSlot.filter((n) => n.startsWith('stage_'))).toHaveLength(POLE_COUNT);+ expect(perSlot.filter((n) => n.startsWith('backstage_door_'))).toHaveLength(POLE_COUNT);+ expect(perSlot.filter((n) => n.startsWith('truss_spot_'))).toHaveLength(POLE_COUNT);+ });+});++describe('resolveVenueAnchors', () => {+ it('reads world positions from the venue empties (not analytical fallback)', () => {+ const { root, positions } = makeSyntheticVenue();+ const empties = collectVenueEmpties(root, REQUIRED_VENUE_EMPTIES);+ const anchors = resolveVenueAnchors(empties, POLE_COUNT);++ expect(anchors.stages).toHaveLength(POLE_COUNT);+ expect(anchors.backstages).toHaveLength(POLE_COUNT);+ expect(anchors.spots).toHaveLength(POLE_COUNT);++ for (let i = 0; i < POLE_COUNT; i += 1) {+ const id = String(i + 1).padStart(2, '0');+ expect(anchors.stages[i]).toBeInstanceOf(Vector3);+ expect(anchors.stages[i].toArray()).toEqual(positions[`stage_${id}`]);+ expect(anchors.backstages[i].toArray()).toEqual(positions[`backstage_door_${id}`]);+ expect(anchors.spots[i].toArray()).toEqual(positions[`truss_spot_${id}`]);+ }+ });++ it('returns the mirrorball + bar-neon anchors as Object3Ds, not Vector3s', () => {+ // Prompt 04 needs to parent the mirror ball / neon strip to these+ // nodes, so the runtime must hand back the live Object3D — not a+ // pre-resolved world-space copy.+ const { root } = makeSyntheticVenue();+ const empties = collectVenueEmpties(root, REQUIRED_VENUE_EMPTIES);+ const anchors = resolveVenueAnchors(empties, POLE_COUNT);++ expect(anchors.mirrorball.name).toBe('truss_mirrorball');+ expect(anchors.barBacksplashNeon.name).toBe('bar_backsplash_neon');+ expect(anchors.mirrorball).toBeInstanceOf(Object3D);+ expect(anchors.barBacksplashNeon).toBeInstanceOf(Object3D);+ });++ it('honors a parent transform when computing world positions', () => {+ // Artists routinely group everything under a `venue` empty in+ // Blender and then translate that group — the runtime needs to see+ // the WORLD position of each slot, not the local one.+ const { root } = makeSyntheticVenue();+ root.position.set(10, 0, -2);+ root.updateMatrixWorld(true);++ const empties = collectVenueEmpties(root, REQUIRED_VENUE_EMPTIES);+ const anchors = resolveVenueAnchors(empties, POLE_COUNT);++ // stage_01 is locally at (-3.5, 0, -3.0); offsetting the parent by+ // (10, 0, -2) puts the world position at (6.5, 0, -5.0).+ expect(anchors.stages[0].toArray()).toEqual([6.5, 0, -5.0]);+ });+});diff --git a/tests/e2e/club.spec.js b/tests/e2e/club.spec.jsindex dd5079600..6d812e650 100644--- a/tests/e2e/club.spec.js+++ b/tests/e2e/club.spec.js@@ -1,5 +1,36 @@+import { dirname, resolve } from 'node:path';+import { fileURLToPath } from 'node:url';+import { test, expect } from '@playwright/test';+const __dirname = dirname(fileURLToPath(import.meta.url));+const VENUE_GLB_FIXTURE = resolve(__dirname, '../_fixtures/club-venue.glb');+const VENUE_HDR_FIXTURE = resolve(__dirname, '../_fixtures/club-hdri.hdr');++// Route the authored club venue + HDRI to deterministic fixture files+// (built by scripts/build-club-venue-fixture.mjs). The production assets+// are 10+ MB Blender-authored / Polyhaven-sourced binaries that don't+// live in git — the fixtures are node-only GLB / 4×4 HDR stand-ins with+// every named empty the runtime contract requires.+function stubVenueAssets(page) {+ return Promise.all([+ page.route('**/club/venue/club-venue.glb', (route) =>+ route.fulfill({+ status: 200,+ contentType: 'model/gltf-binary',+ path: VENUE_GLB_FIXTURE,+ }),+ ),+ page.route('**/club/venue/club-hdri.hdr', (route) =>+ route.fulfill({+ status: 200,+ contentType: 'image/vnd.radiance',+ path: VENUE_HDR_FIXTURE,+ }),+ ),+ ]);+}+// /club end-to-end smoke. Drives real Chromium against `npm run dev`, stubs// the on-chain settle endpoint (signing a real mainnet tx in CI is unsafe)// plus the auxiliary side-panel routes, and asserts visible behavior — not@@ -16,6 +47,8 @@ test.describe('/club', () => {if (m.type() === 'error') consoleErrors.push(m.text());});+ await stubVenueAssets(page);+// Replace the public x402 widget with a no-modal stub. Doing this via// route() instead of addInitScript() guarantees our stub wins the// race against the real `window.X402 = Object.freeze(...)` in@@ -102,6 +135,7 @@ test.describe('/club', () => {});test('keyboard VIP cam shortcuts work', async ({ page }) => {+ await stubVenueAssets(page);await page.goto('/club');// data-cam-mode is written by the ClubCamera onModeChange callback in@@ -115,6 +149,7 @@ test.describe('/club', () => {});test('leaderboard renders + tab switching', async ({ page }) => {+ await stubVenueAssets(page);await page.route('**/api/club/leaderboard*', (route) =>route.fulfill({status: 200,