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
Refactor code structure for improved readability and maintainability
udvk2a0452361a10
diff --git a/STRUCTURE.md b/STRUCTURE.mdindex a5364d58b..c344b68ed 100644--- a/STRUCTURE.md+++ b/STRUCTURE.md@@ -78,6 +78,7 @@ packages/kol-mcp/ → @three-ws/kol-mcp (MCP server — pepackages/clash-mcp/ → @three-ws/clash-mcp (MCP server — Coin Clash faction battles)packages/tutor-mcp/ → @three-ws/tutor-mcp (MCP server — itemized learning-session ledger)packages/loom-mcp/ → @three-ws/loom-mcp (MCP server — Loom 3D-creation gallery: browse, fetch, submit)+packages/omniology-mcp/ → @three-ws/omniology-mcp (MCP server — Omniology contests: list/get/leaderboard free, submit_entry x402 USDC)walk-sdk/ → @three-ws/walk (page walking companion + playground + avatar picker)```diff --git a/package-lock.json b/package-lock.jsonindex ffaad9926..af7cf296d 100644--- a/package-lock.json+++ b/package-lock.json@@ -51,6 +51,7 @@"packages/clash-mcp","packages/tutor-mcp","packages/loom-mcp",+ "packages/omniology-mcp","walk-sdk","tour-sdk"],@@ -23098,6 +23099,10 @@"resolved": "packages/notifications-mcp","link": true},+ "node_modules/@three-ws/omniology-mcp": {+ "resolved": "packages/omniology-mcp",+ "link": true+ },"node_modules/@three-ws/page-agent": {"resolved": "page-agent-sdk","link": true@@ -54536,6 +54541,26 @@"node": ">=20"}},+ "packages/omniology-mcp": {+ "name": "@three-ws/omniology-mcp",+ "version": "0.1.0",+ "license": "Apache-2.0",+ "dependencies": {+ "@modelcontextprotocol/sdk": "^1.29.0",+ "@x402/core": "^2.13.0",+ "@x402/extensions": "^2.13.0",+ "@x402/mcp": "^2.13.0",+ "@x402/svm": "^2.13.0",+ "zod": "^3.23.8",+ "zod-to-json-schema": "3.25.2"+ },+ "bin": {+ "omniology-mcp": "src/index.js"+ },+ "engines": {+ "node": ">=20"+ }+ },"packages/portfolio-mcp": {"name": "@three-ws/portfolio-mcp","version": "0.1.0",diff --git a/package.json b/package.jsonindex adef23d28..5f5991585 100644--- a/package.json+++ b/package.json@@ -77,6 +77,7 @@"packages/clash-mcp","packages/tutor-mcp","packages/loom-mcp",+ "packages/omniology-mcp","walk-sdk","tour-sdk"],@@ -130,7 +131,7 @@"audit:web": "node scripts/page-audit.mjs","snapshot": "node scripts/page-snapshot.mjs","build:news": "node scripts/build-news.mjs",- "prebuild": "(node scripts/build-news.mjs & node scripts/build-skill-metadata.mjs & node scripts/build-local-skill-packs.mjs & npm run build:club-assets & npm run build:walk-environments & wait) && node scripts/inject-blog-seo.mjs --write && node scripts/inject-hidden-guard.mjs --write && (node scripts/build-page-index.mjs && node scripts/audit-page-index.mjs --strict && node scripts/audit-empty-handlers.mjs && node scripts/audit-hidden-guard.mjs) && node scripts/inject-seo-meta.mjs --write && node scripts/inject-theme-boot.mjs --write",+ "prebuild": "(node scripts/build-news.mjs & node scripts/build-skill-metadata.mjs & node scripts/build-local-skill-packs.mjs & npm run build:club-assets & npm run build:arena-assets & npm run build:walk-environments & wait) && node scripts/inject-blog-seo.mjs --write && node scripts/inject-hidden-guard.mjs --write && (node scripts/build-page-index.mjs && node scripts/audit-page-index.mjs --strict && node scripts/audit-empty-handlers.mjs && node scripts/audit-hidden-guard.mjs) && node scripts/inject-seo-meta.mjs --write && node scripts/inject-theme-boot.mjs --write","seo:meta": "node scripts/inject-blog-seo.mjs --write && node scripts/build-page-index.mjs && node scripts/inject-seo-meta.mjs --write","build": "NODE_OPTIONS='--no-deprecation --max-old-space-size=6144' vite build && node scripts/strip-sw-from-embeds.mjs","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",@@ -145,6 +146,9 @@"build:club-audio": "node scripts/build-club-audio.mjs","build:club-entrance-venue": "node scripts/build-club-entrance-venue.mjs","build:club-assets": "(npm run build:club-props & npm run build:club-venue & npm run build:club-hdri & wait)",+ "build:arena-venue": "node scripts/build-arena-venue.mjs",+ "build:arena-hdri": "node scripts/build-arena-hdri.mjs",+ "build:arena-assets": "(npm run build:arena-venue & npm run build:arena-hdri & wait)","build:walk-environments": "node scripts/build-walk-environments.mjs","build:artifact-viewer": "node scripts/build-artifact-viewer.mjs","build:lib": "TARGET=lib vite build",diff --git a/packages/omniology-mcp/server.json b/packages/omniology-mcp/server.jsonindex d83f2a2fd..d6f800a09 100644--- a/packages/omniology-mcp/server.json+++ b/packages/omniology-mcp/server.json@@ -2,7 +2,7 @@"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name": "io.github.nirholas/omniology-mcp","title": "Omniology Contests via x402",- "description": "Read Omniology AI-agent contests and leaderboards (free); submit_entry settles USDC on Solana via x402.",+ "description": "Read Omniology contests & leaderboards (free); submit_entry settles USDC on Solana via x402.","websiteUrl": "https://three.ws","icons": [{diff --git a/packages/omniology-mcp/src/index.js b/packages/omniology-mcp/src/index.jsold mode 100644new mode 100755diff --git a/packages/omniology-mcp/test/tools.test.mjs b/packages/omniology-mcp/test/tools.test.mjsnew file mode 100644index 000000000..cc79bcf00--- /dev/null+++ b/packages/omniology-mcp/test/tools.test.mjs@@ -0,0 +1,199 @@+// Behavioral tests for the Omniology read + write tools.+//+// Network calls hit a REAL injected fetch (dependency-injected into the+// OmniologyClient), not a global monkeypatch — so the actual request building,+// response parsing, normalization, and error sanitization run end to end with+// no live-network dependency in CI. Fixtures are synthetic (Omniology contest+// shapes per CONTRACTS §1); the only token referenced is USDC as a payment+// asset.+//+// Run: node --test packages/omniology-mcp/test/tools.test.mjs++import { test } from 'node:test';+import assert from 'node:assert/strict';++import { OmniologyClient } from '../src/omniology.js';+import { buildListContestsTool } from '../src/tools/list-contests.js';+import { buildGetContestTool } from '../src/tools/get-contest.js';+import { buildGetLeaderboardTool } from '../src/tools/get-leaderboard.js';+import { submitEntryCore } from '../src/tools/submit-entry.js';++const BASE = 'https://sandbox.omniology.test';++// Minimal Response stand-in matching what OmniologyClient consumes.+function jsonResponse(body, { status = 200 } = {}) {+ return {+ ok: status >= 200 && status < 300,+ status,+ text: async () => (typeof body === 'string' ? body : JSON.stringify(body)),+ };+}++// A recording fake fetch: returns the queued response and records the call.+function fakeFetch(responder) {+ const calls = [];+ const fn = async (url, init) => {+ calls.push({ url, init });+ return responder(url, init);+ };+ fn.calls = calls;+ return fn;+}++const LIVE_FEED = {+ now_unix: 1719259200,+ current: {+ id: 'rnd_1421',+ title: 'Neon Koi',+ round: 1421,+ opened_unix: 1719259112,+ closes_unix: 1719259200,+ entries_count: 37,+ prize_usdc: 12.5,+ prize_asset: 'USDC',+ },+ next: { opens_unix: 1719259288 },+ leaderboard: [+ { rank: 1, entry_id: 'ent_a', agent: 'Reef', score: 0.92, thumb_url: 'https://cdn.test/a.png' },+ { rank: 2, entry_id: 'ent_b', agent: 'Coral', score: 0.81, thumb_url: null },+ ],+ recent_entries: [{ entry_id: 'ent_c', agent: 'Tide', submitted_unix: 1719259190 }],+ recent_winners: [{ round: 1420, agent: 'Marlin', prize_usdc: 11.0, tx: 'sig_xyz' }],+};++function clientReturning(responder) {+ const fetchImpl = fakeFetch(responder);+ const client = new OmniologyClient({ baseUrl: BASE, fetchImpl, apiKey: 'secret-token' });+ return { client, fetchImpl };+}++test('list_contests normalizes the live feed (ms timestamps, camelCase)', async () => {+ const { client, fetchImpl } = clientReturning(() => jsonResponse(LIVE_FEED));+ const tool = buildListContestsTool(client);+ const res = await tool.handler({});+ const out = res.structuredContent;++ assert.equal(fetchImpl.calls[0].url, `${BASE}/v1/contests/live`);+ assert.equal(out.ok, true);+ assert.equal(out.serverNowMs, 1719259200000);+ assert.equal(out.count, 2); // live + upcoming+ const live = out.contests.find((c) => c.status === 'live');+ assert.equal(live.id, 'rnd_1421');+ assert.equal(live.closesMs, 1719259200000);+ assert.equal(live.prizeUsdc, 12.5);+ const upcoming = out.contests.find((c) => c.status === 'upcoming');+ assert.equal(upcoming.round, 1422);+ assert.equal(upcoming.opensMs, 1719259288000);+ assert.equal(out.recentWinners[0].agent, 'Marlin');+});++test('list_contests status="live" returns only the running round', async () => {+ const { client } = clientReturning(() => jsonResponse(LIVE_FEED));+ const tool = buildListContestsTool(client);+ const out = (await tool.handler({ status: 'live' })).structuredContent;+ assert.equal(out.count, 1);+ assert.equal(out.contests[0].status, 'live');+});++test('get_contest resolves the running round and exposes its leaderboard', async () => {+ const { client } = clientReturning(() => jsonResponse(LIVE_FEED));+ const tool = buildGetContestTool(client);+ const out = (await tool.handler({ contestId: 'rnd_1421' })).structuredContent;+ assert.equal(out.ok, true);+ assert.equal(out.contest.title, 'Neon Koi');+ assert.equal(out.leaderboard.length, 2);+ assert.equal(out.recentEntries[0].agent, 'Tide');+});++test('get_contest returns a clean contest_not_found for an unknown id', async () => {+ const { client } = clientReturning(() => jsonResponse(LIVE_FEED));+ const tool = buildGetContestTool(client);+ const res = await tool.handler({ contestId: 'rnd_does_not_exist' });+ assert.equal(res.isError, true);+ assert.equal(res.structuredContent.error, 'contest_not_found');+ assert.equal(res.structuredContent.status, 404);+});++test('get_leaderboard returns ranked entries for the running round', async () => {+ const { client } = clientReturning(() => jsonResponse(LIVE_FEED));+ const tool = buildGetLeaderboardTool(client);+ const out = (await tool.handler({ contestId: 'rnd_1421' })).structuredContent;+ assert.equal(out.round, 1421);+ assert.equal(out.count, 2);+ assert.equal(out.leaderboard[0].rank, 1);+ assert.equal(out.leaderboard[0].thumbUrl, 'https://cdn.test/a.png');+ assert.equal(out.leaderboard[1].thumbUrl, null); // null preserved, never invented+});++test('upstream HTTP errors are sanitized into a stable envelope', async () => {+ const { client } = clientReturning(() =>+ jsonResponse({ error: 'feed temporarily unavailable' }, { status: 503 }),+ );+ const tool = buildListContestsTool(client);+ const res = await tool.handler({});+ assert.equal(res.isError, true);+ assert.equal(res.structuredContent.error, 'upstream_error');+ assert.equal(res.structuredContent.status, 503);+ assert.match(res.structuredContent.message, /feed temporarily unavailable/);+});++test('network failures are sanitized and never leak internals', async () => {+ const { client } = clientReturning(() => {+ throw new Error('ECONNREFUSED 10.0.0.1:443 internal stack');+ });+ const tool = buildGetLeaderboardTool(client);+ const res = await tool.handler({ contestId: 'rnd_1421' });+ assert.equal(res.isError, true);+ assert.equal(res.structuredContent.error, 'network_error');+ assert.doesNotMatch(res.structuredContent.message, /ECONNREFUSED|10\.0\.0\.1|stack/);+});++test('an unconfigured base URL fails closed, not with fabricated data', async () => {+ const client = new OmniologyClient({ baseUrl: '', fetchImpl: fakeFetch(() => jsonResponse(LIVE_FEED)) });+ const tool = buildListContestsTool(client);+ const res = await tool.handler({});+ assert.equal(res.isError, true);+ assert.equal(res.structuredContent.error, 'not_configured');+});++test('submit_entry forwards an authenticated POST and shapes the acceptance', async () => {+ const { client, fetchImpl } = clientReturning(() =>+ jsonResponse({ entry_id: 'ent_new', status: 'accepted', round: 1421, position: 38 }),+ );+ const out = await submitEntryCore(client, {+ contestId: 'rnd_1421',+ entry: { prompt: 'a neon koi' },+ agent: 'Reef',+ });+ assert.equal(out.ok, true);+ assert.equal(out.entryId, 'ent_new');+ assert.equal(out.position, 38);++ const call = fetchImpl.calls[0];+ assert.equal(call.url, `${BASE}/v1/contests/rnd_1421/entries`);+ assert.equal(call.init.method, 'POST');+ assert.equal(call.init.headers.authorization, 'Bearer secret-token');+ assert.deepEqual(JSON.parse(call.init.body), {+ entry: { prompt: 'a neon koi' },+ agent: 'Reef',+ });+});++test('submit_entry rejects a non-object entry before any network call', async () => {+ const { client, fetchImpl } = clientReturning(() => jsonResponse({}));+ const res = await submitEntryCore(client, { contestId: 'rnd_1421', entry: 'not-an-object' });+ assert.equal(res.ok, false);+ assert.equal(res.error, 'bad_input');+ assert.equal(fetchImpl.calls.length, 0);+});++test('submit_entry surfaces an Omniology rejection as ok:false (cancels payment)', async () => {+ const { client } = clientReturning(() =>+ jsonResponse({ message: 'round already closed' }, { status: 409 }),+ );+ const res = await submitEntryCore(client, { contestId: 'rnd_1421', entry: { prompt: 'x' } });+ assert.equal(res.ok, false);+ assert.equal(res.error, 'upstream_error');+ assert.equal(res.status, 409);+ assert.match(res.message, /round already closed/);+});diff --git a/public/arena/omniology/LICENSES.md b/public/arena/omniology/LICENSES.mdnew file mode 100644index 000000000..66c563220--- /dev/null+++ b/public/arena/omniology/LICENSES.md@@ -0,0 +1,55 @@+# /arena/omniology asset provenance++Both files in this directory are synthesised at build time from procedural+geometry / sampled radiance functions — nothing traces back to a third-party+asset, so 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.++- [scripts/build-arena-venue.mjs](../../../scripts/build-arena-venue.mjs) →+ `venue.glb` (authored via `@gltf-transform/core`)+- [scripts/build-arena-hdri.mjs](../../../scripts/build-arena-hdri.mjs) →+ `hdri.hdr` (Radiance RGBE, no third-party samples)++| File | Source | License | Notes |+| ----------- | ------------------------------------------------------------------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |+| `venue.glb` | Authored — primitive geometry assembled via `@gltf-transform/core` | CC0 1.0 | Floor + glowing inlay ring, sealed walls + ceiling cove, three canted contest-screen bays, an entry desk. Every anchor in the `src/game/arena/arena-venue.js` contract is present (`spawn_01`, `screen_01..03`, `desk_01`, `light_*`, `camera_intro`). |+| `hdri.hdr` | Authored — radiance functions sampled into Radiance RGBE | CC0 1.0 | 128×64 equirectangular. Cool blue hemisphere + warm entry key glow + cyan/magenta/amber contest-wall band + ceiling cove sheen. Tuned for PBR reflections (`scene.environment`) only — the background stays the dark arena fog colour. |++## The named-anchor contract++The only thing the runtime depends on inside `venue.glb` is the set of named+empties enumerated in+[src/game/arena/arena-venue.js](../../../src/game/arena/arena-venue.js)+(`ARENA_REQUIRED_EMPTIES`). The loader runs `collectArenaEmpties()` which+throws a named error if any anchor is missing — there is no silent fallback.+Underscore names (`screen_01`, not `screen.01`) survive three.js's+`PropertyBinding.sanitizeNodeName`; mirror that convention in any replacement.++## Upgrading to artist-authored assets++Drop a richer `venue.glb` / `hdri.hdr` into this directory (e.g. a hand-modelled+GLB + a Polyhaven CC0 HDR) and the page picks it up on next load — provided the+GLB still exposes every `ARENA_REQUIRED_EMPTIES` anchor with underscore names.+Update this file with provenance for each replacement before committing:++```markdown+### `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:arena-venue # → venue.glb+npm run build:arena-hdri # → hdri.hdr+npm run build:arena-assets # → both, in one shot+```++Output is deterministic — the same builder code produces byte-identical files —+so committed assets only change when a builder script changes.diff --git a/public/arena/omniology/hdri.hdr b/public/arena/omniology/hdri.hdrnew file mode 100644index 000000000..6929d309c--- /dev/null+++ b/public/arena/omniology/hdri.hdr@@ -0,0 +1,7 @@+#?RADIANCE+# Authored by three.ws build-arena-hdri (CC0 1.0)+FORMAT=32-bit_rle_rgbe+EXPOSURE=1.0++-Y 64 +X 128+�Y9��X8���n���l��i��e�ܚk�כt�ҝ�̟��ơ������������������ˀ��Ӏ��ـ��ހ��ပ������݀��׀{�πs�ŀk���bw��Xl��Oa�����u��ay�Mb�u��~Rj�~c��}Hd�}Gc�}Gc�}Fc�}Fc�}Fc�}Fc�}Fc�}Fc�}Gc�}Gc�}Nk�}F\�~h��~FY�Xp�k��~��H[��Qf��Yp��ay��g���l�Ȁp�πs�Ԁt�׀t�׀s�Ԁp�πl�Ȁg���ay��Yp��Qf��H[��~��l��Xp�FY�h��~F\�~Nl�}Gc�}Gc�}Fc�}Fc�}Fc�}Fc�}Fc�}Fc�}Gc�}Gc�}Hd�}c��}Rj�~u��~Mb�ay�u�����Oa��Xl��bw��k���s�ŀ{�π��׀��݀������‚�ဟ�ހ��ـ��Ӏ��ˀ��������������ơ��̟��ҝ�כt�ܚk��e��i���l���n��X8��Y9��d?��c?��b>��_<��\:��X8���v�쯊�尖�ޱ��ײ��д��ɵĀö��������怫�뀦�퀟��쀒�耋� �ڀz�πq�Àg}��]r��Sf��HY��{��f�Qf�z��~Um�~e��}Hd�}Gc�}Gc�}Gc�}Fc�}Fc�}Fc�}Gc�}Gc�}Hc�}Hc�}Pl�}I^�~m��~I]�]u�q�����L_��Vk��^v��f��m�Ȁr�Ӏv�ڀy�߀{��{��y�߀v�ڀr�Ҁm�Ȁf���^v��Vk��L`�����q��]v�I]�m��~I_�~Qn�}Hd�}Hd�}Gc�}Gc�}Fc�}Fc�}Fc�}Gc�}Gc�}Gc�}Hd�}e��}Um�~z��~Qf�f�{��HY��Sf��]r��g}��q�Àz�π��ڀ��‒�耙�쀟��퀫�뀱�怷�����öɵĀд��ײ��ޱ��尖�쯊���v��X8��\:��_<��b>��c?��d?��pF��oE��mD��jC��g@��b>��aA��aF��aK��¡����¹���Ā��π��ڀ�����뀾�������������������쀉� �v�ˀl���bw��Vj��K]�����j��Ti�~��~Wp�~g��}Hd�}Hc�}Gc�}Gc�}Gc�}Gc�}Gc�}Hc�}Hc�}Ic�}Kd�}Tn�}La�~r��~M`�bz�w��FW��Pd��Zp��c{��k�ŀr�Ҁx�܀|���ꀀ�퀀����|��x�܀r�рk�Āc|��Zp��Qd��FX��x��b{�Ma�r��~Mb�~Tp�}Ke�}Je�}Hd�}Hc�}Gc�}Gc�}Gc�}Gc�}Gc�}Hc�}Hd�}g��}Wp�~~��~Ti�j�����K]��Vj��bw��l���v�ˀ����〒�쀚��������������������������ڀ��π��Ā�¹����¡��aK��aF��aA��b>��g@��jC��mD��oE��pF��}M��|L��zK��vI��rG��mD��kG��kL��jQ��jV��i\��ib���π��ڀ������������������]c��Ya������������뀆�߀{�рp�e{��Zm��N`�����m��Vl����~Yr�~h��}Id�}Hc�}Gc�}Gc�}Gc�}Gc�}Hc�}Ic�}Kc�}Md�}Oe�}Zp�}Qd�~y��~Rc�h~�~��JZ��Uh��_t��h���p�w�ۀ}�态�����������}��w�ـp�̀h���_u��Ui��J[����h��Re�z��~Rf�~[t�}Ph�}Mf�}Ke�}Id�}Hc�}Gc�}Gc�}Gc�}Gc�}Hc�}Id�}h��}Yr�~���~Vl�m�����N`��Zm��e{��p�{�р��߀��뀙�������Ya��]c����������������������ڀ��π�ib��i\��jV��jQ��kL��kG��mD��rG��vI��zK��|L��}M�ΊT�̉S�ȆR�ÃP��~M��xJ��vM��uQ��tV��s\��ra��qg��pl��or������������kk��gi��bg��]e��Yb��T_��������������րt�ƀh~��\p��Pb�����p��Xn����~[t�~i��}Id�}Hc�}Gc�}Gc�}Hb�}Hc�}Jc�}Ld�}Nd�}Rf�}Wg�}ds�}Yg�~���~Xg�o�����O^��Zk��dy��m�ǀv�ր}�䀂��������FW�����������������}��v�Ӏn�d{��Zn��O`�����p��Yj����~Zl�~f{�}Xm�}Sj�}Oh�}Lf�}Jd�}Hd�}Hc�}Gc�}Gc�}Hc�}Id�}i��}[t�~���~Xn�p�����Pb��\p��h~��t�ƀ�ր��䀔�������T_��Yb��]e��bg��gi��kk������������퀁or��pl��qg��ra��s\��tV��uQ��vM��xJ��~M�ÃP�ȆR�̉S�ΊT��[���Z�ۓY�ՏW�͊T�ăP���S��W��}\��{a��zf��xk��wq��uv��tz�����vq��qo��km��fj��ah��\e��Wa��������耂�ـv�ɀj���^r��Qc�����q��Zp����~\u�~j��}Id�}Hc�}Hc�}Hb�}Ic�}Jc�}Md�}Pe�}Uf�}\h�}dk�}vy�}dk�~IO�ak�y��IR��Ua��`o��k}��t�Ѐ|�ဃ����FX��HZ��I[��I\��H[�������������}�ڀu�ɀk���as��Ve�����{��bq����~fs�~x��}fu�}]p�}Vl�}Qh�}Mf�}Jd�}Id�}Hc�}Hc�}Hc�}Id�}j��}\u�~���~Zp�q�����Qc��^r��j���v�ɀ��ـ��耘���Wa��\e��ah��fj��km��qo��vq�������tz��uv��wq��xk��zf��{a��}\��W���S�ăP�͊T�ՏW�ۓY���Z��[���b��a��`��]�ߕZ�ՎV�̋X�ĉ\���a���f���j��o��}t��{y��x}��v��|t��ur��op��im��dj��^f��Yb��S^��������逄�ۀx�ʀk���_s��Rd�����r��Zp����~\u�~k��}Id�}Hc�}Hb�}Ib�}Jc�}Mc�}Qe�}Xg�}`i�}km�}yq�}���}vq�~TS�np����QV��^e��it��t�ʀ}�݀��퀌���HY��J\��L_��L`��La��L`��K^���������~�Ѐu���k{��_l��������pz����~y�~���}}��}nz�}br�}Ym�}Ri�}Nf�}Kd�}Ic�}Hc�}Hc�}Id�}k��}\u�~���~Zp�r�����Rd��_s��k���x�ʀ��ۀ��逛���S^��Yb��^f��dj��im��op��ur��|t���v���x}��{y��}t��o���j���f���a�ĉ\�̋X�ՎV�ߕZ��]��`��a���b��X4��W4��U3���d��`��\�ە^�Ғa�ɏe���j���n���s���w��{��}��z���w��yt��sr��ln��fk��`g��Zc��T^��������逄�ڀx�ʀl���_r��Rd�����r��Zp����~\u�~k��}Jc�}Ic�}Ib�}Jb�}Mc�}Rd�}Yg�}cj�}qn�}�t�}�{�}^G�~�z�~dY��v����][��kk��w{Ā��ڀ�����LY��N^��Ob��Pe��Qg��Qg��Qg��Pe��Na��������쀌�ـ��Āy���mv��_e�����������~���~Ĵ�}���}���}u}�}ft�}[n�}Si�}Nf�}Kd�}Ic�}Ic�}Jd�}k��}\u�~���~Zp�r�����Rd��_r��l���x�ʀ��ڀ��逝���T^��Zc��`g��fk��ln��sr��yt���w���z���}��{���w���s���n���j�ɏe�Ғa�ە^��\��`���d��U3��W4��X4��]8��\7��[6��X5���f��b��c�ߚf�Ֆj�ʒm���q���u���y���}������}���y��|v��us��no��gk��ag��[c��������瀄�x�Ȁk���^q��Qc�����q��Yo����~[t�~j��}Jc�}Jb�}Jb�}Mc�}Rd�}Yf�}ej�}uo�}�v�}T?�~fE�~~R�~]C�|`����_P��oa��}s����ڀ���NR��RZ��T`��Vf��Wk��Wn��Xp��Xq��Xp��Wn��Wk��Uf��������倘���������rr��ľ�����w����~�op~Ը�}���}���}x�}gu�}[m�}Rh�}Me�}Kd�}Jc�}Jc�}j��}[t�~���~Yo�q�����Qc��^q��k���x�Ȁ����瀝���[c��ag��gk��no��us��|v���y���}��������}���y���u���q�ʒm�Ֆj�ߚf��c��b���f��X5��[6��\7��]8��b:��b:��`9��]7��Z5��V3���g��j���m�Ԙp�Ȕs���w���z���}������~���z��w��ws��oo��hk��ag��Zb��������� �Ԁv�Āi}��]o��Pa�����o��Xm����~Zr�~j��}Jc�}Jb�}Lb�}Qc�}Xe�}di�}un�}�v�}X@�~nG�~�P�~�`�~yL��k�cG��vX���k���}ހ����XQ��\Z��^c��`j��`q��aw��a{��a}��a��a~��b|��bx��bs��`m��������܀�������������ε�������~��|~�rk~���}���}���}y�}fs�}Yl�}Qg�}Me�}Kc�}Kc�}j��}Zr�~���~Xm�o�����Pa��]o��i}��v�Ā��Ԁ��“����Zb��ag��hk��oo��ws��w���z���~��������}���z���w�Ȕs�Ԙp���m��j���g��V3��Z5��]7��`9��b:��b:��g=��f<��d;��a:��^8��Y5��W5���m��p�ܝr�Ϙu�x���z���}���������{���v��wr��on��hi��`e��������耍�܀��t���gz��[l��N^�����m��Vj����~Yp�~i��}Kb�}Lb�}Oc�}Vd�}ag�}rm�}�u�}X@�~qH�~�R�~�_�~v:��Y�g=��P���cÀ�x�^F��eQ��j[��ne��oo��px��o�Łn�Ɂn�ˁm�ʁn�ǁo���p���q���r���r��qw�������ҀIJ��������~��md�ح���m���~Òw~�wl~���}���}���}u|�}cq�}Wj�}Pf�}Ld�}Kc�}i��}Yp�~���~Vj�m�����N^��[l��gz��t�������܀��耦�����`e��hi��on��wr���v���{�����������}���z�x�Ϙu�ܝr��p���m��W5��Y5��^8��a:��d;��f<��g=��j?��i>��g=��e<��a9��\7��Y7���p��q��s�ԛu�Ǖx���z���|���~����z���u��wp��nl������������ꀖ�����Ԁ}�ƀp���dv��Xi��L[�����i��Sg�}��~Wm�~h��}Lb�}Nb�}Sc�}\f�}lj�}�r�}U>�~oG�~�R�~�`�~|:��G��i��G���\ŀ�r�kD��vP��~\���h���tʁ�Ձ��ށ��偁����~���偀�݁��ҁ��Ł�����������������ws���ƀἧ�ȡ����n��kT�ߣz�vQ�]Cʕw~�wk~���}���}���}ox�}^n�}Th�}Ne�}Lc�}h��}Wm�~}��~Sg�i�����L[��Xi��dv��p���}�ƀ��Ԁ������ꀰ���������nl��wp���u���z������~���|���z�Ǖx�ԛu��s��q���p��Y7��\7��a9��e<��g=��i>��j?��m@��l@��j?��g=��c;��_8��[8��X9���r��t�؝u�ʖw���x���z���{��~|��x}����������������逞�����ր��ˀx���l}��`q��Td�����{��e{�Pc�y��~Tj�~g��}Mb�}Pb�}Wd�}eg�}{n�}�x�}hD�~�O�~�^�~}9��F��X��?���TĀ�k�yB���O���\���jρ�xၣ�������PP��NV��L[��J`��Jb��Jd��Kd�������Ё������������������n��r]��Ę�ۤz���^��gE�ߗ^�wM�]Cƒu~�sh~ٷ�}���}��}gs�}Yj�}Qf�}Md�}g��}Tj�~y��~Pc�e{�{�����Td��`q��l}��x�����ˀ��ր������逺������������������x}��~|���{���z���x�ʖw�؝u��t���r��X9��[8��_8��c;��g=��j?��l@��m@��oA��nA��l?��i>��e<��`9��]9��Y9���r��s�ڝt�˖u���v���w���w��{x��vx�������������逵�䀦�݀��Հ��ˀ���s���gw��\k��P_�����u��`u�M^�t��~Rf�~f��}Na�}Sb�}]e�}oj�}�r�}]@�~~J�~�Y�~w7��D��U��6���K���c�?���M���\Ɂ�k��{��cF��cN��bV��_^��\e��Zl��Wq��Vt��Wv��Yw��\v��_s�����������м��˭����|���h��wU��dD��j���O��`7�ߕY�tK���~��p~�jd~¨�}���}rx�}_m�}Tg�}Od�}f��}Rf�~t��~M^�`v�u�����P_��\k��gw��s��������ˀ��Հ��݀�����������������vx��{x���w���w���v�˖u�ڝt��s���r��Y9��]9��`9��e<��i>��l?��nA��oA��oA��nA��l@��i>��e<��a9��]9��Z9���q��r�ڜr�ʔr���r���s��s��xs��rs�������������܀��׀��р��ɀ����y���m|��bq��We��������o��[o�IY�n��~Ob�~e~�}Oa�}Vb�}cf�}zl�}�w�}mE�~�R�~�d�~�?��P��3���A���Y瀈:���I���Yс�j��p>��uG��xQ��x[��ud��qn��mv��i~��f���e���e���h���l���q���v���������ځ�߾��Τ�캋�ۥt�ŏ`��yM��c<��Z��v@��\3�ӍT�jG�x~�yi~伾}���}~�}ep�}Wh�}Pd�}e��}Ob�~n��~IY�[o�o��������We��bq��m|��y���������ɀ��р��׀��܀���������倆rs��xs��s���s���r�ʔr�ڜr��r���q��Z9��]9��a9��e<��i>��l@��nA��oA��oA��nA��l@��i>��e<��a9��]8��Y8���p��o�ؚo�Ȓo���n���n��{n��tm��nm�����րǺӀ��π��ɀ��À����~���r~��gt��\i��R_�����{��h}�Vh����~i��~K^�~c{�}Q`�}Yb�}jg�}�o�}Z>�~~I�~�Y�~~8��H��]��<���MԀ�4���C���Tс�f��|=���G���R���]���hł�s�~Ղ�ڂz�܂v�ۂt�u�тx�ǂ}�����������������{���k��x\��mN��aA��k�ΏV��uC��]3�ݏI��n:���_�}M�]A��o~�ib~���}���}mt�}[j�}Rd�}d}�}K^�~i��~���~Vh�h}�{�����R_��\i��gt��r~��~���������À��ɀ��πǺӀ��ր���nm��tm��{n���n���n�Ȓo�ؚo��o���p��Y8��]8��a9��e<��i>��l@��nA��oA��n@��m@��k?��h=��d;��_8��[7��X7���m��l�Ԗk�Ďj���j��~i��wh��pg���̀��ˀѻȀ��ŀ����������������v��ku��`l��Vb��������s��at�Pa����~cz�~HY�~ax�}R`�}]b�}qh�}�r�}eA�~�N�~�a�~�>��Q��5���E���Y���;���Lȁ�_�:���E���P���\Ƃ�iՂ�u႞�나�������������삈�ႎ�҂����������������w���f��}V��pH��a;��_�ˈJ��l9��S*�ȀA��a4�ېT�jEٛu~�se~Ӱ�}���}tx�}^k�}Sd�}bz�}HZ�~cz�~���~Pa�at�s��������Vb��`l��ku��v��������������������ŀѻȀ��ˀ��̀�pg��wh��~i���j�Ďj�Ԗk��l���m��X7��[7��_8��d;��h=��k?��m@��n@��k?��j>��h=��e<��b:��]7��Y6���k��i�ޚh�Βg���f���d��yc��qb��ja�����ۻ��ǰ������������������z~��nu��cl��Yc��������{��j~�Zl�JZ�x��~]r�~DU�~`t�}S_�}`b�}vi�}�t�}nD�~�R�~s4��D��Y��;���M�2���B���T���5���@���L���Xʂ�f݂�s킶���XH��UO��QV��M[��J`��Id��If��������肧�Ղ������������ç����o���]��}N��m@��\3��Q��z>��^.��H��m9���[�vI��y~�}h~缹}���}z{�}bl�}Td�}`w�}EU�~]s�~x��~JZ�Zl�j~�{��������Yc��cl��nu��z~������������������ǰ��ۻ�������ja��qb��yc���d���f�Βg�ޚh��i���k��Y6��]7��b:��e<��h=��j>��k?��h=��g=��e<��b:��_8��Z6��V4���g��e�֔d�njb���`��{_��s]��l\��ɵ�弲�а������������������}}��qt��fl��\c�����������q��as�Sc����~o��~Vk�~���}]q�}T^�}bb�}{i�}�v�}vE�~�V�~}7��H��0���@���S쀙6���GŁ�[���9���E���Qł�_ۂ�m��d>��cF��`M��\U��W\��Sc��Ph��Nl��On��Qo������������ʷ�����Ե��ҧv�ʘc���S��vD��e7���V�φB��h2���M��x=��X0��M�\?��j~�ź}���}}�}dm�}Ud�}^t�}���}Wk�~o��~���~Sc�as�q�����������\c��fl��qt��}}������������������а��弲��ɵ��l\��s]��{_���`�njb�֔d��e���g��V4��Z6��_8��b:��e<��g=��h=��d;��c:��a9��^8��[6��W3���d��b�ܖ`�͎^���]��}[��uY��mW��eU�ァ�ذ��ã���������������{��tr��hj��������������v��gx�Yi�KZ�~��~f}�~Pc�~{��}[m�}T]�}ca�}~i�}�v�}|F�~�X�~�9��K��2���C���X���9���KЁ~0���;���H���Uς�c��r��jA��iI��eQ��aY��[a��Wg��Tm��Rq��St��Ut��Yt�������ׂ�վ��ʦ�ྏ�ްz�֠g�ȏV��}F��j9��X-�܍E��n4��T(��?��]1�ˆO�`@��k~�f]~���}�~�}em�}Uc�}\p�}{��}Pd�~f}�~~��~KZ�Yi�gx�v��������������hj��tr���{��������������ã��ذ��ァ��eU��mW��uY��}[���]�͎^�ܖ`��b���d��W3��[6��^8��a9��c:��d;��_8��^7��\6��Z5��V3���b��_�ޖ]�ю[�Y��~W��vU��nS��fQ�����ᰚ�ʣ���������������y��vp�����������������y��kz�]l�Q_����~r��~^r�~J\�~s��}Xi�}S[�}c`�}h�}�v�}~G�~�X�~�:��M��3���D���-���;���MՁ�1���<���I���Vӂ�e�k:��lB��kJ��gR��bZ��]b��Xi��Uo��Ss��Tu��Vv��[v�������ق�����Ψ����{�ۣh�͒V��G��m9��Z-��F��q5��W)�͂@��_2�щO�b@Ìk~�f]~���}�~�}el�}Tb�}Ym�}t��}K\�~^s�~r��~���~Q_�]l�kz�y�����������������vp���y��������������ʣ��ᰚ������fQ��nS��vU��~W�Y�ю[�ޖ]��_���b��V3��Z5��\6��^7��_8��Y5��Y4��W3���d���a��]�ޔZ�эX�ĆU��~S��vQ��nN��fL��_J�诐�Ѣ���������������w}�������������������{��my�`m�Ta����~|��~h~�~Ui�~EU�~l��}Uf�}RZ�}a^�}}f�}�t�}|F�~�W�~�9��L��3���D���Y���:���LӁ�0���;���H���Uт�c��r��kA��iI��fQ��aY��\`��Wg��Sm��Rq��Rt��Uu��Zt�������Ղ�ս��˥�⿎��y�١f�ːT��~E��k8��Y,���E��p4��V)�ˁ?��^2�ψN�a?��i~�e[~���}�|�}cj�}S`�}Vi�}m��}EU�~Ui�~h~�~|��~���~Ta�`m�my�{���������������������w}�������������Ѣ��诐��_J��fL��nN��vQ��~S�ĆU�эX�ޔZ��]���a���d��W3��Y4��Y5���c���b���`��^��[�ڑW�ϊT�ÄR��|O��uM��mK��fH��^F�����֡�������{��~w��tt�������ķ����������|��nw�bl�Va����~���~o��~^r�~N_�~~��}e}�}Rb�}OX�}^\�}yd�}�q�}xD�~�U�~�7��I��1���A���V�8���Iʁ�\���9���D���Qǂ�^ނ�l�f>��eE��aM��\U��W\��Sb��Oh��Nl��Nn��Qo�����������˂�˳���ض��֩s�Ϛ`�P��xB��g5��U*�։B��k2��R'��|=��[0�ǃL�]=��f~�IJ}���}}x�}ag�}Q^�}Re�}f�}��}N`�~^r�~o��~���~���~Va�bl�nw�|�����������ķ��������tt��~w���{����֡�������^F��fH��mK��uM��|O�ÄR�ϊT�ڑW��[��^���`���b���c��\��[��Y�ےW�ӍT�ɆP���N��zL��sI��lG��dD��]B���ڠ{�ēw���s��|o��rk�������Ʊ����������|�ot�bj�W`����~���~t��~dw�~Ug�~GW�~t��}_v�}N^�}MV�}ZY�}s`�}�m�}pA�~�P�~x4��E��[��=���P〓4���C���U灆4���?���J���W͂�d߂�q��ZG��UN��QU��LZ��I_��Hc��Hf������ェ�Ђ�û�����IJ��Ǩ|�Ɯi���Y��J��o=��_1��N��=��c/��I��s9��T-��zH��u~�~b~캬}���}wt�}\d�}N[�}Na�}_w�}t��}GW�~Ug�~dw�~t��~���~���~W`�bj�ot�|����������Ʊ��������rk��|o���s�ēw�ڠ{����]B��dD��lG��sI��zL���N�ɆP�ӍT�ےW��Y��[��\�ԍT�ҌT�ΉR�ɆP���M��{J��uH��oE��iC��bA��\>��x�s�Ƒo���k��zg��pc��;⼷Ȭ����������|z�np�bg����~���~���~w��~gz�~Yk�~L]�~���}j��}Xn�}JZ�}IS�}UV�}l]�}�h�}g=�~�K�~�`�~�?��S��7���H̀�/���<���Lρ�]���8���B���M���Yǂ�eՂ�q���~邘����������傅�ق��ʂ������������������n���^��O��qB��c6���X�؍G��r7��Y+�؉C��g5��S�nC�n~�t]~�}���}on�}W`�}JX�}K]�}Xp�}k��}���}L]�~Yk�~gz�~w��~���~���~���~bg�np�|z����������Ȭ�⼷�;�pc��zg���k�Ƒo�s��x��\>��bA��iC��oE��uH��{J���M�ɆP�ΉR�ҌT�ԍT���M��L��}K��yI��uG��pD��jA��e?��_=��Y;��q�ښl�Ǝh���c��w_��m[��Ȱ㷩ʧ����������|u�nl����~���~���~���~x��~iy�~\l�~O_�~���}t��}b{�}Rg�}FW�}FQ�}PS�}cY�}�c�}�r�}�E�~�W�~�8��J��1���?���R倐4���B���Qց�a���9���C���M���W���b���mɂ�xς|�҂u�ӂp�҂n�͂o�Ƃr���y����������������o���_��xQ��mD��b9���^�ےM��z>��b1��K��w<��Z/�˅L�a=ɍf~�hX~���}�|�}fh�}R\�}FU�}GY�}Ri�}b{�}t��}���}O_�~\l�~iy�~x��~���~���~���~���~nl�|u����������ʧ�㷩�Ȱ�m[��w_���c�Ǝh�ښl��q��Y;��_=��e?��jA��pD��uG��yI��}K��L���M��sF��rE��pD��mB��i@��e=��`;��[9���n��j�Օe�Êa��]��tY��jU��aQ�䲛ʢ��������{����~���~���~���~���~���~w��~iw�~]k�~Q`�~���}z��}i��}Yq�}La�}BS�}BN�}JP�}ZU�}u]�}�j�}q?�~�N�~�c�~�@��S��6���E���X�7���D���QЁ�`�s8��w@��yI��wR��r[��md��gl��at��^z��\��\���_���d���k��������ԁ�乁�נ��Lj���s��`�ЏO��zA��f4���S�ʂA��d4��S�qC�o~�{^~}���}yr�}]a�}LW�}���|CU�}Mb�}Yr�}i��}z��}���}Q`�~]k�~iw�~w��~���~���~���~���~���~���~�{�������ʢ�䲛�aQ��jU��tY��]�Êa�Օe��j���n��[9��`;��e=��i@��mB��pD��rE��sF��g?��f>��d=��a;��^9��Z7���j��g�ޘc�Ύ_���Z��zV��pR��gO����㬏ɝ������}�vw���~���~���~���~���~���~v~�~hs�~\h�~Q^�~���}}��}m��}_w�}Ri�}G[�}?P�}>L�}EM�}QQ�}gW�}�b�}�r�}�E�~�V�~�7��F��Z��9���Iƀ�Z�7���B���N���Zԁ�h��u��_B��\I��XP��SW��N]��Kb��Jf��Jh��������끬�ׁ��������ɸ��ͭ��̡o�œ^���N��sA��c5���W�͆E��j7���X�}H�^;Ȍd~�iV~Ƞ�}�~�}jh�}���|���|}��|?Q�}G\�}Ri�}_x�}m��}}��}���}Q^�~\h�~hs�~v~�~���~���~���~���~���~���~�vw��}���ɝ�㬏����gO��pR��zV���Z�Ύ_�ޘc��g���j��Z7��^9��a;��d=��f>��g?��[8��Z7��X6��V5���g��b�ߗ_�ҏ[�ĆX��~T��uP��lM��cI����ߦ�Ǘ~��x�}r�qm���~ּ�~���~���~���~���~sx�~fn�~[e�~Q\�~���}~��}p��}bz�}Vm�}Ka�}BV�}w��|u��|@J�}IM�}ZR�}uZ�}�f�}m<�~�J�~�\�~�:��I��\��:���H���W�z4���=���G���Q���\���gˁ�rӁ�~ف��܁z�ށu�܁s�ׁt�Ёx�Ł~�����������������v���f��}W��sJ��g>��Z4��V�ÁF��i9���[ƃJ�e>ݙh~�tY~属}���}yp�}���|���|���|v��|w��|BW�}Ka�}Vm�}bz�}p��}~��}���}Q\�~[e�~fn�~sx�~���~���~���~���~ּ�~���~�qm�}r��xǗ~ߦ�����cI��lM��uP��~T�ĆX�ҏ[�ߗ_��b���g��V5��X6��Z7��[8��c��b��`���^�ؒ[�W�ÄT��}Q��vN��nJ��fG��^C��ٟzt��n�xi�md�ſ~ӳ�~���~���~���~�}�~qr�~di�~Y`�~���}���}~��}p��}cz�}Xo�}Nd�}FZ�}>Q�}p��|o��|v��|BJ�}OM�}bS�}�\�}�j�}v?�~�L�~�^�~�:��H��[��8���C���Pɀ�^��l��p>��rF��pN��lW��g_��ag��\n��Yt��Wx��X{��Z|��_|�����������̀�ٴ��̝���s�לa�ĉQ��vD��c8��\��J�f>�j~�z[~���}���}�w�}���|���|���|w��|o��|q��|>R�}FZ�}Nd�}Xo�}cz�}p��}~��}���}���}Y`�~di�~qr�~�}�~���~���~���~ӳ�~�ſ~�md�xi��ntٟz��^C��fG��nJ��vN��}Q�ÄT�W�ؒ[���^��`��b��c�͊W�ˉV�LJU�S��~P��yM��sJ��mG��fD��`A���}�vіq��k�~f�r`�h\뼯~ϫ�~���~���~���~}v�~nl�~���}���}���}���}{��}o��}cx�}Yn�}Pe�}G\�}@T�}t��|k��|i��|n��|x��|EI�}SM�}iT�}�^�}�l�}z@�~�M�~�]�~�9��F��U�w3���<���F���Q���\ɀ�h׀�t„�뀖�����������������者�܀��������������������u���e���W��sJ��e?���jדX�yI�a=ߛh~�zZ~�aP~���}�|�}���|���|���|z��|o��|i��|k��|u��|@T�}H\�}Pe�}Yn�}cx�}o��}{��}���}���}���}���}nl�~}v�~���~���~���~ϫ�~뼯~�h\�r`�~f��kіq�v��}�`A��fD��mG��sJ��yM��~P�S�LJU�ˉV�͊W��wL��vK��tJ��qH��mF��hC��cA��^>���x�rٙmƍh��b�w]�lY�cT䳠~ʣ�~���~���~�z�~���}���}���}���}���}���}x��}l~�}bu�}Xl�}Pd�}H\�}BU�}w��|n��|f��|d��|g��|n��|z��|GH�}VM�}mT�}�]�}�k�}w>�~�J�~�X�~x5��@��L��Y��g�p;��tC��uK��tS��p\��kd��el��`t��]y��[~��\���^���c���i������������֭�Ȗ���ޥpʒ`�~R�kE��v~̐d~�uX~���}���}�}�}���|���|���||��|o��|h��|d��|f��|n��|x��|BU�}H\�}Pd�}Xl�}bu�}l~�}x��}���}���}���}���}���}���}�z�~���~���~ʣ�~䳠~�cT�lY�w]��bƍhٙm�r��x�^>��cA��hC��mF��qH��tJ��vK��wL��fB��eA��c@��a?��]=��Y;���q�mٗhɍd��_�yZ�oV�fR���~۩�~�~���~�~�ty~���}���}���}���}���}���}u��}ix�}_p�}Vh�}Oa�}H[�}BU�}y��|o��|g��|a��|_��|a��|f��|n��|{��|HG�}WL�}lR�}�[�}�g�}n;�~�E�~�Q�~�`�~u8��A��K��U��_��k��v�����������������������������������������~��n��a�tT�gI��~Ԛn~��`~�jS~簖}���}�z�}���|���|���|}��|o��|f��|b��|_��|a��|g��|o��|y��|BU�}H[�}Oa�}Vh�}_p�}ix�}u��}���}���}���}���}���}���}�ty~�~���~�~۩�~���~�fR�oV�yZ��_ɍdٗh�m��q�Y;��]=��a?��c@��eA��fB���r��q��o�m�jܘfБbĉ_��[�xW�pS�gO�_K讎~П�~���~��z~�xt~�mo~���}ɶ�}���}���}���}~��}qz�}fr�}\k�}Td�}M^�}GX�}AS�}x��|p��|h��|b��|]�|[|�|\|�|_}�|d~�|m��|z��|���|TJ�}gO�}W�}�a�}�m�}t?�~�I�~�T�~�_�~�l�~h=�lD�mK�lS�iZ�eb�`i�\o�Yt�Wx�X{�Z|�^{�cy����~���~���~�η~���~ܲ�~�~��q~�d~�nY~���}ɞ�}���}�s{}���|���|���||��|n��|e��|`�|\}�|[}�|]�|b��|h��|p��|x��|AS�}GX�}M^�}Td�}\k�}fr�}qz�}~��}���}���}���}ɶ�}���}�mo~�xt~��z~���~П�~讎~�_K�gO�pS�xW��[ĉ_Бbܘf�j�m��o��q��rӒbёa͎`Ȋ^��[��X�zU�tR�mO�fK�_H~١�~Ô|~��v~�|p~�qk~���}ۼ�}¬�}���}���}���}y|�}mt�}bl�}Ye�}Q_�}KZ�}EU�}��|w��|o��|h��|b��|]�|Yz�|Wx�|Xx�|Zx�|]y�|b{�|j}�|v��|���|OG�}^L�}qR�}�Z�}�e�}�q�}k@�~xG�~�O�~�X�~�a�~�j�~�t�~�~�~���~���~|��~x��~w��~w��~z��~��~���~���~���~���~���~��z~�{n~�qc~�̳}ⶣ}Š�}���}�x|}���|ú�|���|���|y��|l��|c�|]|�|Zz�|Xy�|Wy�|Yz�|]�|b��|h��|o��|w��|��|EU�}KZ�}Q_�}Ye�}bl�}mt�}y|�}���}���}���}¬�}ۼ�}���}�qk~�|p~��v~Ô|~١�~~�_H�fK�mO�tR�zU��X��[Ȋ^͎`ёaӒb�zT�yT�wR�tQ�pO�lL�gJ�aG���~���~ڠ}~ǔw~��r~�~l~�sg~�ic~���}а�}���}���}���}�~�}tu�}hm�}^f�}V`�}N[�}���|���||��|t��|m��|g��|a��|]~�|Yz�|Uv�|Tt�|Tt�|Ut�|Wu�|Zv�|_w�|fy�|q}�|��|���|SG�}aL�}pS�}�[�}�d�}�m�}�w�}\A�~_G�~aM�~`S�~^Y�~[^�~Wd�~Ti�~Rm�~Qp�~Qr�~Sr�~Vr�~Zp�~���}���}���}���}ǹ�}���}���}���}���}�w~}���|ɼ�|���|���|���|s��|h��|`|�|[x�|Wv�|Uu�|Tu�|Tu�|Uv�|Yz�|]~�|a��|g��|m��|t��||��|���|���|N[�}V`�}^f�}hm�}tu�}�~�}���}���}���}а�}���}�ic~�sg~�~l~��r~ǔw~ڠ}~���~���~�aG�gJ�lL�pO�tQ�wR�yT�zT�fH�eH�cG�aF�^D���~�~�{~Ӛv~Đr~��m~�}h~�sd~�j_~�ö}۴�}ĥ�}���}���}���}|w�}on�}dg�}Za�}���|���|���|���|x��|p��|j��|d��|`��|[|�|Xx�|Uu�|Rr�|Qq�|Qq�|Rq�|Sq�|Tq�|Wr�|[s�|au�|ix�|t{�|���|���|RG�}\L�}eQ�}oW�}w]�}}d�}�k�}�r�}�y�}���}|��}x��}u��}s��}q��}r��}t��}w��}{��}���}���}���}���}���}�}�}{u�}���|���|���|���|���|���|v��|k��|c{�|\w�|Xu�|Us�|Sr�|Rq�|Qq�|Qq�|Rr�|Uu�|Xx�|[|�|`��|d��|j��|p��|x��|���|���|���|���|Za�}dg�}on�}|w�}���}���}���}ĥ�}۴�}�ö}�j_~�sd~�}h~��m~Đr~Ӛv~�{~�~���~�^D�aF�cG�eH�fH�|~�{~�z~ߡx~u~ϖq~ďn~��k~��g~�yc~�q_~�i[~�ï}ᴨ}˦�}���}���}���}�y�}vp�}jh�}���|���|���|���|���|{��|s��|l��|f��|b��|]|�|Zy�|Vv�|Ts�|Qp�|On�|Nm�|Nm�|Nm�|Om�|Pm�|Qn�|To�|Wp�|\q�|bs�|iu�|qx�||~�|���|���|OI�}TM�}XQ�}ZU�}[Y�}[]�}Za�}Xf�}Vi�}Tm�}Sp�}Rr�}Ss�}Ts�}Us�}Xq�}Zp�}\m�}^j�}^g�}���|���|���|���|���|���|��|t��|k~�|cz�|]v�|Xs�|Tq�|Ro�|Pn�|On�|Nm�|Nm�|Nm�|On�|Qp�|Ts�|Vv�|Zy�|]|�|b��|f��|l��|s��|{��|���|���|���|���|���|jh�}vp�}�y�}���}���}���}˦�}ᴨ}�ï}�i[~�q_~�yc~��g~��k~ďn~ϖq~u~ߡx~�z~�{~�|~��k~��j~��i~��g~��e~�|b~�w`~�q]~�kZ~�eW~���}ౠ}ͤ�}���}���}���}�y�}{q�}���|���|���|���|���|���|��|v��|o��|h��|c�|^{�|Zx�|Wu�|Tr�|Rp�|Pn�|Nl�|Lj�|Lj�|Lj�|Lj�|Lj�|Lj�|Mj�|Nj�|Pk�|Sl�|Vm�|Zn�|^p�|es�|kw�|r{�|x�|~��|���|���|���|CL�}CN�}BP�}AS�}@U�}?V�}?W�}?X�}@X�}AX�}���|���|���|���|���|���|���|���|{��|t��|m��|f{�|`v�|[s�|Wp�|Sn�|Qm�|Ol�|Mk�|Lj�|Lj�|Lj�|Lj�|Lj�|Lj�|Nl�|Pn�|Rp�|Tr�|Wu�|Zx�|^{�|c�|h��|o��|v��|��|���|���|���|���|���|���|{q�}�y�}���}���}���}ͤ�}ౠ}���}�eW~�kZ~�q]~�w`~�|b~��e~��g~��i~��j~��k~�s\~�r\~�p[~�nY~�kX~�gU~�cS~���}糝}ש�}ǟ�}���}���}���}�y�}���|���|���|���|���|���|���|���|y��|q��|j��|d}�|_z�|[v�|Wt�|Tq�|Ro�|Pm�|Nk�|Lj�|Kh�|Jg�|If�|If�|If�|If�|If�|Jf�|Jg�|Kg�|Mg�|Nh�|Ph�|Si�|Vk�|Zn�|^p�|as�|du�|gx�|i{�|j~�|j��|j��|i��|h��|g��|g��|f��|g��|g��|h��|i��|j��|k��|k��|k��|j��|h��|f}�|cy�|_v�|[s�|Wp�|Sm�|Qk�|Oj�|Mi�|Lh�|Kg�|Jg�|If�|If�|If�|If�|If�|Jg�|Kh�|Lj�|Nk�|Pm�|Ro�|Tq�|Wt�|[v�|_z�|d}�|j��|q��|y��|���|���|���|���|���|���|���|���|�y�}���}���}���}ǟ�}ש�}糝}���}�cS~�gU~�kX~�nY~�p[~�r\~�s\~���}���}�}���}汙}ݫ�}Ҥ�}ǝ�}���}���}���}�~~}�vz}���|���|���|���|���|���|���|���||��|s��|l��|e{�|`x�|[t�|Wr�|To�|Rm�|Ok�|Mi�|Lh�|Jg�|Ie�|Hd�|Gd�|Gc�|Gc�|Gc�|Gc�|Gc�|Gc�|Gc�|Hc�|Hc�|Id�|Jd�|Ke�|Mf�|Og�|Qi�|Sj�|Ul�|Wm�|Xo�|Yq�|Ys�|Yt�|Yv�|Xw�|Xx�|Xy�|Xz�|Xz�|Xz�|Xz�|Yy�|Yy�|Zw�|Zv�|Yu�|Ys�|Xq�|Vo�|Tn�|Rl�|Pj�|Nh�|Lf�|Je�|Ie�|Hd�|Hd�|Gc�|Gc�|Gc�|Gc�|Gc�|Gc�|Gc�|Gd�|Hd�|Ie�|Jg�|Lh�|Mi�|Ok�|Rm�|To�|Wr�|[t�|`x�|e{�|l��|s��||��|���|���|���|���|���|���|���|���|�vz}�~~}���}���}���}ǝ�}Ҥ�}ݫ�}汙}���}�}���}���}ȝ�}Ǜ�}ę�}���}���}���}���}��~}�}{}�wx}�qu}���|���|ҿ�|���|���|���|���|���|��|v��|n~�|gz�|av�|\r�|Xo�|Tm�|Qk�|Oi�|Mg�|Kf�|Ie�|Hd�|Gc�|Fb�|Ea�|E`�|D`�|D`�|D`�|D`�|D`�|D`�|E`�|E`�|E`�|E`�|F`�|Ga�|Ha�|Ib�|Jc�|Kd�|Le�|Mf�|Ng�|Nh�|Ni�|Oj�|Ok�|Ol�|Nl�|Nm�|Nm�|Nm�|Nm�|Om�|Om�|Ol�|Ol�|Ok�|Oj�|Ni�|Mh�|Lg�|Kf�|Je�|Ic�|Hb�|Ga�|Fa�|Fa�|E`�|E`�|E`�|D`�|D`�|D`�|D`�|D`�|D`�|E`�|Ea�|Fb�|Gc�|Hd�|Ie�|Kf�|Mg�|Oi�|Qk�|Tm�|Xo�|\r�|av�|gz�|n~�|v��|��|���|���|���|���|���|ҿ�|���|���|�qu}�wx}�}{}��~}���}���}���}���}ę�}Ǜ�}ȝ�}��{}��z}�z}�}x}�zw}�wu}�ss}�np}���|���|���|˷�|���|���|���|���|���|���|w��|o|�|hx�|at�|\p�|Xm�|Tk�|Qh�|Nf�|Le�|Jc�|Hb�|Ga�|F`�|E_�|D_�|C^�|C^�|B]�|B]�|B]�|B]�|B]�|B]�|B]�|B]�|B]�|B]�|C]�|C]�|C]�|D^�|D^�|E_�|F_�|F`�|G`�|Ga�|Hb�|Hb�|Hc�|Hc�|Hd�|Hd�|He�|He�|He�|He�|He�|Hd�|Hd�|Hd�|Hc�|Hc�|Gb�|Ga�|Fa�|F`�|E_�|D_�|D^�|C]�|C]�|C]�|B]�|B]�|B]�|B]�|B]�|B]�|B]�|B]�|B]�|B]�|C^�|C^�|D_�|E_�|F`�|Ga�|Hb�|Jc�|Le�|Nf�|Qh�|Tk�|Xm�|\p�|at�|hx�|o|�|w��|���|���|���|���|���|���|˷�|���|���|���|�np}�ss}�wu}�zw}�}x}�z}��z}��{}�lm}�lm}���|���|���|���|���|ջ�|ʴ�|���|���|���|���|���|���|��|w�|oz�|hv�|br�|\n�|Xk�|Th�|Pf�|Md�|Kb�|Ia�|G`�|F_�|D^�|D]�|C\�|B\�|A[�|A[�|AZ�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|AZ�|A[�|A[�|B[�|B\�|C\�|C\�|C]�|C]�|C^�|C^�|D^�|D^�|D_�|D_�|D_�|D_�|D_�|D^�|D^�|C^�|C^�|C]�|C]�|C\�|B\�|B\�|B[�|A[�|AZ�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|AZ�|A[�|A[�|B\�|C\�|D]�|D^�|F_�|G`�|Ia�|Kb�|Md�|Pf�|Th�|Xk�|\n�|br�|hv�|oz�|w�|��|���|���|���|���|���|���|ʴ�|ջ�|���|���|���|���|���|�lm}�lm}з�|϶�|̴�|ȱ�|î�|���|���|���|���|���|���|���|���||��|u{�|mw�|gs�|ao�|\l�|Wi�|Sf�|Pd�|Mb�|J`�|H^�|F]�|D\�|C[�|BZ�|AZ�|AY�|@Y�|?X�|?X�|?X�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|?X�|?X�|?X�|?X�|@Y�|@Y�|@Y�|@Y�|@Y�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Z�|@Y�|@Y�|@Y�|@Y�|?Y�|?X�|?X�|?X�|?X�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|>W�|?X�|?X�|?X�|@Y�|AY�|AZ�|BZ�|C[�|D\�|F]�|H^�|J`�|Mb�|Pd�|Sf�|Wi�|\l�|ao�|gs�|mw�|u{�||��|���|���|���|���|���|���|���|���|î�|ȱ�|̴�|϶�|з�|���|���|���|���|���|���|���|���|���|���|}�|v{�|pw�|js�|eo�|_l�|[i�|Vf�|Rd�|Oa�|L_�|I^�|G\�|E[�|CZ�|BY�|AX�|@W�|?W�|>V�|>V�|=U�|=U�|=U�|<U�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<U�|=U�|=U�|=U�|=U�|=U�|=V�|=V�|=V�|=V�|=V�|=V�|=V�|=V�|=V�|=V�|=V�|=V�|=V�|=V�|=U�|=U�|=U�|=U�|=U�|<U�|<U�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<T�|<U�|=U�|=U�|=U�|>V�|>V�|?W�|@W�|AX�|BY�|CZ�|E[�|G\�|I^�|L_�|Oa�|Rd�|Vf�|[i�|_l�|eo�|js�|pw�|v{�|}�|���|���|���|���|���|���|���|���|���|���|���|���|���|���|���|��||}�|xz�|sw�|ot�|jq�|en�|ak�|\h�|Xf�|Tc�|Qa�|M_�|J]�|H[�|FZ�|DX�|BW�|AV�|?V�|>U�|>T�|=T�|<S�|<S�|;S�|;R�|;R�|;R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|;R�|;R�|;R�|;R�|;S�|;S�|;S�|;S�|;S�|;S�|;S�|;S�|;S�|;S�|;S�|;S�|;R�|;R�|;R�|;R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|:R�|;R�|;R�|;R�|;S�|<S�|<S�|=T�|>T�|>U�|?V�|AV�|BW�|DX�|FZ�|H[�|J]�|M_�|Qa�|Tc�|Xf�|\h�|ak�|en�|jq�|ot�|sw�|xz�||}�|��|���|���|���|���|���|tv�|su�|ru�|pt�|nr�|lq�|io�|fm�|bk�|_h�|[f�|Xd�|Ub�|Q`�|N^�|K\�|IZ�|FY�|DW�|BV�|AU�|?T�|>S�|=R�|<R�|;Q�|;Q�|:Q�|:P�|:P�|9P�|9P�|9O�|9O�|9O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|9O�|9O�|9O�|9P�|9P�|9P�|9P�|9P�|9P�|9P�|9P�|9P�|9P�|9P�|9P�|9P�|9P�|9P�|9P�|9O�|9O�|9O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|8O�|9O�|9O�|9O�|9P�|9P�|:P�|:P�|:Q�|;Q�|;Q�|<R�|=R�|>S�|?T�|AU�|BV�|DW�|FY�|IZ�|K\�|N^�|Q`�|Ub�|Xd�|[f�|_h�|bk�|fm�|io�|lq�|nr�|pt�|ru�|su�|tv�|bi�|ah�|`h�|_g�|^f�|\e�|Zd�|Wb�|Ua�|S_�|P]�|M\�|KZ�|IY�|FW�|DV�|BU�|AS�|~��{|��{y��{w��{u��{t��{s��{r��{q��{p��{o��{o��{n��{n��{n��{n��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{n��{n��{n��{n��{n��{n��{n��{n��{n��{n��{n��{n��{n��{n��{n��{n��{n��{n��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{m��{n��{n��{n��{n��{o��{o��{p��{q��{r��{s��{t��{u��{w��{y��{|��{~��{AS�|BU�|DV�|FW�|IY�|KZ�|M\�|P]�|S_�|Ua�|Wb�|Zd�|\e�|^f�|_g�|`h�|ah�|bi�|T^�|S^�|S^�|R]�|Q]�|P\�|N[�|MZ�|KY�|���{���{���{���{���{���{~��{{��{x��{v��{t��{s��{q��{p��{o��{n��{m��{l��{l��{k��{k��{k��{k��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{j��{k��{k��{k��{k��{l��{l��{m��{n��{o��{p��{q��{s��{t��{v��{x��{{��{~��{���{���{���{���{���{���{KY�|MZ�|N[�|P\�|Q]�|R]�|S^�|S^�|T^�|���{���{���{���{���{���{���{���{���{���{���{~��{|��{y��{w��{u��{s��{q��{p��{n��{m��{l��{k��{j��{j��{i��{i��{h��{h��{h��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{g��{h��{h��{h��{i��{i��{j��{j��{k��{l��{m��{n��{p��{q��{s��{u��{w��{y��{|��{~��{���{���{���{���{���{���{���{���{���{���{���{���{���{���{���{���{��{}��{|��{z��{x��{v��{t��{s��{q��{o��{n��{l��{k��{j��{i��{h��{g��{g��{f��{f��{e��{e��{e��{e��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{d��{e��{e��{e��{e��{f��{f��{g��{g��{h��{i��{j��{k��{l��{n��{o��{q��{s��{t��{v��{x��{z��{|��{}��{��{���{���{���{���{���{w��{w��{v��{v��{u��{t��{s��{r��{p��{o��{n��{m��{k��{j��{i��{h��{g��{f��{e��{e��{d��{d��{c��{c��{c��{b��{b��{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��{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��{a��{a��{a��{a��{a��{a��{a��{a��{b��{b��{b��{b��{b��{c��{c��{c��{d��{d��{e��{e��{f��{g��{h��{i��{j��{k��{m��{n��{o��{p��{r��{s��{t��{u��{v��{v��{w��{w��{n��{m��{m��{m��{l��{l��{k��{j��{i��{h��{h��{g��{f��{e��{d��{c��{c��{b��{b��{a��{a��{`��{`��{`��{`��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{_��{`��{`��{`��{`��{a��{a��{b��{b��{c��{c��{d��{e��{f��{g��{h��{h��{i��{j��{k��{l��{l��{m��{m��{m��{n��{g��{g��{f��{f��{f��{e��{e��{d��{d��{c��{b��{b��{a��{a��{`��{`��{_��{_��{^��{^��{^��{^��{]��{]��{]��{]��{]��{]��{]��{]��{]��{]��{]��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{\��{]��{]��{]��{]��{]��{]��{]��{]��{]��{]��{]��{^��{^��{^��{^��{_��{_��{`��{`��{a��{a��{b��{b��{c��{d��{d��{e��{e��{f��{f��{f��{g��{g��{a��{a��{a��{a��{a��{`��{`��{`��{_��{_��{^��{^��{^��{]��{]��{]��{\��{\��{\��{\�{[�{[�{[�{[�{[�{[�{[�{[�{[�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{Z�{[�{[�{[�{[�{[�{[�{[�{[�{[�{\�{\��{\��{\��{]��{]��{]��{^��{^��{^��{_��{_��{`��{`��{`��{a��{a��{a��{a��{a��{]�{]�{]�{]�{]�{]�{\�{\~�{\~�{\~�{[~�{[~�{[}�{Z}�{Z}�{Z}�{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|�{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|�{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|�{Y|�{Y|�{Y|�{Y|�{Y|�{Y|�{Y}�{Y}�{Z}�{Z}�{Z}�{Z}�{Z}�{[}�{[~�{[~�{\~�{\~�{\~�{\�{]�{]�{]�{]�{]�{]�{Z|�{Z|�{Z|�{Z|�{Z|�{Z{�{Y{�{Y{�{Y{�{Y{�{Y{�{Y{�{X{�{X{�{Xz�{Xz�{Xz�{Xz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Wz�{Xz�{Xz�{Xz�{Xz�{X{�{X{�{Y{�{Y{�{Y{�{Y{�{Y{�{Y{�{Z{�{Z|�{Z|�{Z|�{Z|�{Z|�{Xy�{Xy�{Wy�{Wy�{Wy�{Wy�{Wy�{Wy�{Wy�{Wy�{Wy�{Wx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Ux�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Vx�{Wx�{Wy�{Wy�{Wy�{Wy�{Wy�{Wy�{Wy�{Wy�{Wy�{Xy�{Xy�{Vw�{Vw�{Vw�{Vw�{Vw�{Uw�{Uw�{Uw�{Uw�{Uw�{Uw�{Uw�{Uv�{Uv�{Uv�{Uv�{Uv�{Uv�{Uv�{Uv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Tv�{Uv�{Uv�{Uv�{Uv�{Uv�{Uv�{Uv�{Uv�{Uw�{Uw�{Uw�{Uw�{Uw�{Uw�{Uw�{Vw�{Vw�{Vw�{Vw�{Vw�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Su�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{Tu�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{St�{Ss�{Ss�{Ss�{Ss�{Ss�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Ss�{Ss�{Ss�{Ss�{Ss�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{Rs�{\ No newline at end of filediff --git a/scripts/audit-mcp-manifests.mjs b/scripts/audit-mcp-manifests.mjsindex 5a03ec26c..29391962f 100644--- a/scripts/audit-mcp-manifests.mjs+++ b/scripts/audit-mcp-manifests.mjs@@ -31,6 +31,7 @@ const PACKAGE_MANIFESTS = ['packages/avatar-agent-mcp/server.json','packages/threews-avatar-mcp/server.json','packages/three-token-mcp/server.json',+ 'packages/omniology-mcp/server.json',];// Remote manifests are every server*.json at the repo root.diff --git a/scripts/test-mcp-all.mjs b/scripts/test-mcp-all.mjsindex facc9398f..e593bddd0 100644--- a/scripts/test-mcp-all.mjs+++ b/scripts/test-mcp-all.mjs@@ -25,6 +25,7 @@ const PACKAGES = ['packages/avatar-agent-mcp','packages/threews-avatar-mcp','packages/three-token-mcp',+ 'packages/omniology-mcp','mcp-bridge',];diff --git a/src/game/arena/entry-desk.js b/src/game/arena/entry-desk.jsnew file mode 100644index 000000000..d7d9e927a--- /dev/null+++ b/src/game/arena/entry-desk.js@@ -0,0 +1,833 @@+// Entry Desk — the in-world kiosk where a player submits a contest entry to+// Omniology with a real USDC-on-Solana x402 payment.+//+// Walk up to the desk (or tap it), press E, compose an entry, and confirm. The+// desk validates the entry locally FIRST (so a doomed entry is never charged),+// then hands { url, method, body } from the adapter's submitEntryRequest() to+// `POST /api/x402-pay` — the same server-side universal x402 payer the agent+// commerce flow uses (api/x402-pay.js → runExternalFlow). The payment lifecycle+// streams back as Server-Sent Events (challenge → built → settled → result) and+// drives a live stepper: every stage is a REAL event from the server, never a+// setTimeout fake. On success the new entry is pushed to the in-world screens+// (onSubmitted → screen.pushEntry) so it hits the ticker immediately.+//+// Two submission paths, selected by the adapter (entryFeeMode()), never a+// hardcoded flag here:+// - paid/auto: stream through /api/x402-pay (auto-probes; a free endpoint just+// resolves with free:true and moves no funds).+// - free: POST the submit URL directly, skipping the payment stepper.+//+// Contract: docs/omniology-arena/CONTRACTS.md §2.3. No mocks, no fake data: when+// Omniology is unconfigured the desk shows a designed "not live yet" state and+// charges nothing.++import {+ Group, Mesh, MeshBasicMaterial, MeshStandardMaterial,+ BoxGeometry, PlaneGeometry, RingGeometry, CylinderGeometry,+ CanvasTexture, SRGBColorSpace, DoubleSide, PointLight, Vector3,+} from 'three';+import { payX402Stream } from '../../agent-x402-pay.js';+import {+ omniologyBase, submitEntryRequest, validateEntry, normalizeEntry,+ ENTRY_FIELDS, entryFeeMode, readEntryConfirmation,+} from './omniology-adapter.js';+import { log } from '../../shared/log.js';++const INTERACT_RANGE = 4.5; // metres: how close to show the prompt / allow E+const SERVICE_LABEL = 'Omniology';+const CELEBRATE_MS_S = 1.1; // celebration light/accent decay window, in seconds++// The x402 lifecycle, keyed to the SSE events /api/x402-pay's external flow emits+// (challenge → built → settled → result). Mirrors the agent-commerce stepper.+const STAGES = [+ { id: 'challenge', label: 'Fee' },+ { id: 'built', label: 'Sign' },+ { id: 'settled', label: 'Settle' },+ { id: 'done', label: 'Confirmed' },+];++const escHtml = (s) => String(s ?? '').replace(/[&<>"']/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[c]));+const fmtUsd = (n) => {+ const v = Number(n) || 0;+ return '$' + (v >= 0.01 || v === 0 ? v.toFixed(2) : v.toFixed(4));+};+const fmtUsdc = (micro) => `${((Number(micro) || 0) / 1e6).toFixed(4)} USDC`;+const shortAddr = (a) => (a ? `${String(a).slice(0, 6)}…${String(a).slice(-4)}` : '—');++// Small DOM factory (mirrors play-systems.el) so the compose UI stays+// dependency-free and is built from real nodes, never innerHTML of user input.+function el(tag, props = {}, kids = []) {+ const n = document.createElement(tag);+ for (const [k, v] of Object.entries(props)) {+ if (k === 'class') n.className = v;+ else if (k === 'text') n.textContent = v;+ else if (k === 'html') n.innerHTML = v;+ else if (k === 'hidden') n.hidden = !!v;+ else if (k.startsWith('on') && typeof v === 'function') n.addEventListener(k.slice(2), v);+ else if (v != null) n.setAttribute(k, v);+ }+ for (const c of [].concat(kids)) if (c) n.appendChild(c);+ return n;+}++const prefersReducedMotion = () =>+ typeof window !== 'undefined' && window.matchMedia+ ? window.matchMedia('(prefers-reduced-motion: reduce)').matches+ : false;++function toVec(position) {+ if (!position) return { x: 0, y: 0, z: 0 };+ if (Array.isArray(position)) return { x: position[0] || 0, y: position[1] || 0, z: position[2] || 0 };+ if (position.isVector3) return { x: position.x, y: position.y, z: position.z };+ return { x: position.x || 0, y: position.y || 0, z: position.z || 0 };+}++/**+ * Build the entry desk and add it to the scene (CONTRACTS §2.3).+ *+ * @param {import('three').Scene} scene+ * @param {object} opts+ * @param {[number,number,number]|import('three').Vector3} opts.position desk anchor (anchors.desk.pos)+ * @param {number} [opts.rotationY] desk facing (anchors.desk.yaw)+ * @param {() => (string|null)} opts.getAgentId current player's paying agent id+ * @param {() => (string|null)} opts.getContestId current contest id (from the adapter feed)+ * @param {() => Promise<object|null>} [opts.buildEntry] opens the compose UI; resolves the entry, or null if cancelled. Defaults to the desk's built-in compose form.+ * @param {(info:{entryId:string|null, agent:string|null, payment:object|null}) => void} [opts.onSubmitted] wired to screen.pushEntry+ * @param {() => ({x:number,z:number})} [opts.getPlayer] local player pose, for proximity (optional)+ * @param {() => (string|null)} [opts.getAgentName] paying agent's display name (optional)+ * @param {{toast?:(msg:string,tone?:string)=>void}} [opts.ui] toast surface (optional)+ * @returns {{ group:import('three').Group, update:(dt:number)=>void, interact:()=>void, dispose:()=>void }}+ */+export function createEntryDesk(scene, opts = {}) {+ const desk = new EntryDesk(scene, opts);+ return {+ group: desk.group,+ update: (dt) => desk.update(dt),+ interact: () => desk.interact(),+ dispose: () => desk.dispose(),+ };+}++class EntryDesk {+ constructor(scene, opts) {+ this.scene = scene;+ this.pos = toVec(opts.position);+ this.rotationY = Number(opts.rotationY) || 0;+ this.getAgentId = typeof opts.getAgentId === 'function' ? opts.getAgentId : () => null;+ this.getContestId = typeof opts.getContestId === 'function' ? opts.getContestId : () => null;+ this.getAgentName = typeof opts.getAgentName === 'function' ? opts.getAgentName : () => null;+ this.getPlayer = typeof opts.getPlayer === 'function' ? opts.getPlayer : null;+ this.onSubmitted = typeof opts.onSubmitted === 'function' ? opts.onSubmitted : () => {};+ this.buildEntry = typeof opts.buildEntry === 'function' ? opts.buildEntry : () => this._composeDefault();+ this.ui = opts.ui || null;++ this.busy = false; // a submission flow is in flight+ this.composeOpen = false; // the compose modal is open+ this._near = !this.getPlayer; // no player accessor → always interactable (bootstrap gates E)+ this._t = 0;+ this._ringT = 0;+ this._celebrateT = 0;+ this._submitted = new Set(); // contestIds already entered this session (one entry per round)+ this._amount = null;++ this._injectStyles();+ this._buildMesh();+ this._buildDom();+ this._onKey = (e) => this._handleKey(e);+ window.addEventListener('keydown', this._onKey);+ }++ // ── world mesh ────────────────────────────────────────────────────────────+ _buildMesh() {+ const group = new Group();+ group.position.set(this.pos.x, this.pos.y, this.pos.z);+ group.rotation.y = this.rotationY;+ this.group = group;++ const metal = new MeshStandardMaterial({ color: 0x16161a, roughness: 0.42, metalness: 0.72 });+ const base = new Mesh(new BoxGeometry(1.7, 1.0, 0.72), metal);+ base.position.y = 0.5;+ base.castShadow = true; base.receiveShadow = true;+ group.add(base);++ const top = new Mesh(new BoxGeometry(1.84, 0.09, 0.84), new MeshStandardMaterial({ color: 0x202028, roughness: 0.3, metalness: 0.8 }));+ top.position.y = 1.05;+ top.castShadow = true;+ group.add(top);++ // Front accent strip — the surface that pulses on a successful submission.+ this.accent = new Mesh(+ new BoxGeometry(1.62, 0.06, 0.02),+ new MeshBasicMaterial({ color: 0xffffff, transparent: true, opacity: 0.5 }),+ );+ this.accent.position.set(0, 0.78, 0.37);+ group.add(this.accent);++ // Angled kiosk screen showing the call-to-action, painted on a canvas.+ this._screenCanvas = document.createElement('canvas');+ this._screenCanvas.width = 512; this._screenCanvas.height = 320;+ this._screenTex = new CanvasTexture(this._screenCanvas);+ this._screenTex.colorSpace = SRGBColorSpace;+ const screen = new Mesh(+ new PlaneGeometry(1.18, 0.74),+ new MeshBasicMaterial({ map: this._screenTex, transparent: true, side: DoubleSide }),+ );+ screen.position.set(0, 1.5, 0.18);+ screen.rotation.x = -0.32;+ group.add(screen);+ this._paintScreen('Enter the contest');++ // Riser holding the screen up off the counter.+ const riser = new Mesh(new CylinderGeometry(0.05, 0.05, 0.5, 12), metal);+ riser.position.set(0, 1.28, 0.05);+ riser.rotation.x = -0.32;+ group.add(riser);++ // Pulsing ground ring marks the desk as an interactable from across the room.+ this.ring = new Mesh(+ new RingGeometry(1.25, 1.55, 56),+ new MeshBasicMaterial({ color: 0xffffff, transparent: true, opacity: 0.18, side: DoubleSide }),+ );+ this.ring.rotation.x = -Math.PI / 2;+ this.ring.position.y = 0.03;+ group.add(this.ring);++ // Real light for the celebration pulse (off until a submission lands).+ this.celebrateLight = new PointLight(0xffffff, 0, 6, 2);+ this.celebrateLight.position.set(0, 1.7, 0.4);+ group.add(this.celebrateLight);++ scene.add(group);+ }++ _paintScreen(headline, sub) {+ const c = this._screenCanvas;+ const x = c.getContext('2d');+ x.clearRect(0, 0, c.width, c.height);+ const g = x.createLinearGradient(0, 0, 0, c.height);+ g.addColorStop(0, '#121216'); g.addColorStop(1, '#0a0a0c');+ x.fillStyle = g; x.fillRect(0, 0, c.width, c.height);+ x.strokeStyle = 'rgba(255,255,255,0.14)'; x.lineWidth = 3;+ x.strokeRect(8, 8, c.width - 16, c.height - 16);+ x.textAlign = 'center';+ x.fillStyle = 'rgba(255,255,255,0.55)';+ x.font = '700 26px Inter, system-ui, sans-serif';+ x.fillText('OMNIOLOGY', c.width / 2, 78);+ x.fillStyle = '#ffffff';+ x.font = '800 44px Inter, system-ui, sans-serif';+ x.fillText(headline, c.width / 2, 158);+ x.fillStyle = 'rgba(255,255,255,0.62)';+ x.font = '600 24px Inter, system-ui, sans-serif';+ x.fillText(sub || 'Press E to submit your entry', c.width / 2, 232);+ // Key cap.+ x.fillStyle = '#ffffff';+ const kw = 46, kh = 46, kx = c.width / 2 - kw / 2, ky = 256;+ x.fillRect(kx, ky, kw, kh);+ x.fillStyle = '#060607';+ x.font = '800 26px Inter, system-ui, sans-serif';+ x.fillText('E', c.width / 2, ky + 32);+ this._screenTex.needsUpdate = true;+ }++ // ── HUD DOM (prompt, compose modal, payment panel) ──────────────────────────+ _buildDom() {+ this.actionBtn = el('button', {+ class: 'ed-action', type: 'button', hidden: true,+ onclick: () => this.interact(),+ }, [el('span', { class: 'ed-action-key', text: 'E' }), el('span', { class: 'ed-action-label', text: 'Enter contest' })]);++ this.modalRoot = el('div', { class: 'ed-modal', hidden: true, role: 'dialog', 'aria-modal': 'true', 'aria-label': 'Submit a contest entry' });+ this.panel = el('div', { class: 'ed-panel', hidden: true, role: 'status', 'aria-live': 'polite' });++ this.root = el('div', { class: 'ed-root' }, [this.actionBtn, this.modalRoot, this.panel]);+ document.body.appendChild(this.root);+ }++ _injectStyles() {+ if (document.getElementById('ed-styles')) return;+ const s = document.createElement('style');+ s.id = 'ed-styles';+ s.textContent = `+ .ed-root { font-family: Inter, system-ui, sans-serif; }+ .ed-action {+ position: fixed; left: 50%; bottom: 118px; transform: translateX(-50%);+ z-index: 26; display: inline-flex; align-items: center; gap: 9px;+ padding: 11px 18px; border-radius: 999px; cursor: pointer;+ background: var(--cc-panel-solid, #0c0c0e); color: var(--cc-text, #f5f5f6);+ border: 1px solid var(--cc-edge, rgba(255,255,255,0.16));+ box-shadow: var(--cc-shadow, 0 10px 34px rgba(0,0,0,0.6));+ font-size: 13px; font-weight: 700; letter-spacing: 0.03em;+ transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;+ }+ .ed-action:hover { transform: translateX(-50%) translateY(-2px); border-color: rgba(255,255,255,0.5); }+ .ed-action:active { transform: translateX(-50%) translateY(0); }+ .ed-action:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }+ .ed-action[disabled] { opacity: 0.55; cursor: default; pointer-events: none; }+ .ed-action-key {+ display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;+ background: #fff; color: var(--cc-ink, #060607); border-radius: 4px; font-weight: 800; font-size: 11px;+ }++ .ed-modal {+ position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;+ padding: 16px; background: rgba(4,4,6,0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);+ opacity: 0; transition: opacity 0.2s ease;+ }+ .ed-modal.ed-show { opacity: 1; }+ .ed-card {+ width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;+ background: var(--cc-panel-solid, #0c0c0e); color: var(--cc-text, #f5f5f6);+ border: 1px solid var(--cc-edge, rgba(255,255,255,0.14)); border-radius: 12px;+ box-shadow: 0 24px 70px rgba(0,0,0,0.75);+ transform: translateY(8px) scale(0.99); transition: transform 0.2s ease;+ }+ .ed-modal.ed-show .ed-card { transform: none; }+ .ed-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 16px 6px; }+ .ed-card-title { font-size: 15px; font-weight: 800; letter-spacing: 0.01em; }+ .ed-card-meta { margin-top: 3px; font-size: 11.5px; color: var(--cc-dim, #8c8c92); }+ .ed-x { background: none; border: none; color: var(--cc-dim, #8c8c92); font-size: 18px; line-height: 1; cursor: pointer; padding: 4px; border-radius: 6px; }+ .ed-x:hover { color: #fff; background: rgba(255,255,255,0.08); }+ .ed-x:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }+ .ed-form { padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 13px; }+ .ed-field { display: flex; flex-direction: column; gap: 5px; }+ .ed-field-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }+ .ed-label { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }+ .ed-req { color: var(--cc-dim, #8c8c92); font-weight: 600; }+ .ed-count { font-size: 11px; color: var(--cc-faint, #5a5a60); font-variant-numeric: tabular-nums; }+ .ed-count.ed-over { color: #e06c75; }+ .ed-input, .ed-textarea {+ width: 100%; box-sizing: border-box; background: rgba(255,255,255,0.04);+ border: 1px solid var(--cc-edge, rgba(255,255,255,0.14)); border-radius: 8px;+ color: var(--cc-text, #f5f5f6); font: inherit; font-size: 13px; padding: 9px 11px;+ transition: border-color 0.15s ease, box-shadow 0.15s ease;+ }+ .ed-textarea { resize: vertical; min-height: 84px; line-height: 1.45; }+ .ed-input::placeholder, .ed-textarea::placeholder { color: var(--cc-faint, #5a5a60); }+ .ed-input:hover, .ed-textarea:hover { border-color: rgba(255,255,255,0.28); }+ .ed-input:focus, .ed-textarea:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.12); }+ .ed-field.ed-invalid .ed-input, .ed-field.ed-invalid .ed-textarea { border-color: #e06c75; }+ .ed-hint { font-size: 11px; color: var(--cc-faint, #5a5a60); }+ .ed-error { font-size: 11.5px; color: #e06c75; min-height: 0; }+ .ed-form-error { font-size: 12px; color: #e06c75; padding: 0 16px; }+ .ed-actions { display: flex; gap: 9px; justify-content: flex-end; padding: 4px 16px 16px; }+ .ed-btn {+ padding: 9px 16px; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;+ border: 1px solid var(--cc-edge, rgba(255,255,255,0.16)); background: transparent; color: var(--cc-text, #f5f5f6);+ transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease, opacity 0.14s ease;+ }+ .ed-btn:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-1px); }+ .ed-btn:active { transform: translateY(0); }+ .ed-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }+ .ed-btn-primary { background: #fff; color: var(--cc-ink, #060607); border-color: #fff; }+ .ed-btn-primary:hover { background: #ededed; }+ .ed-btn[disabled] { opacity: 0.5; cursor: default; pointer-events: none; }+ .ed-empty { padding: 18px 16px 20px; text-align: center; color: var(--cc-dim, #8c8c92); font-size: 13px; line-height: 1.5; }+ .ed-empty b { color: var(--cc-text, #f5f5f6); }++ .ed-panel {+ position: fixed; left: 50%; top: 84px; transform: translateX(-50%) translateY(-8px);+ z-index: 28; width: min(440px, calc(100vw - 28px));+ background: var(--cc-panel, rgba(12,12,14,0.94)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);+ border: 1px solid var(--cc-edge, rgba(255,255,255,0.14)); border-radius: 10px;+ box-shadow: 0 18px 56px rgba(0,0,0,0.72); color: var(--cc-text, #f5f5f6);+ padding: 13px 15px; opacity: 0; pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease;+ }+ .ed-panel.ed-show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }+ .ed-ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }+ .ed-pt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cc-dim, #8c8c92); }+ .ed-pt b { color: var(--cc-text, #f5f5f6); }+ .ed-fee { font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }+ .ed-steps { display: flex; gap: 6px; }+ .ed-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cc-faint, #5a5a60); }+ .ed-step .ed-dot { width: 100%; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.08); transition: background 0.2s ease; }+ .ed-step.is-active { color: var(--cc-dim, #8c8c92); }+ .ed-step.is-active .ed-dot { background: rgba(255,255,255,0.5); animation: ed-pulse 1s ease-in-out infinite; }+ .ed-step.is-done { color: var(--cc-text, #f5f5f6); }+ .ed-step.is-done .ed-dot { background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.6); }+ .ed-step.is-err .ed-dot { background: #e06c75; box-shadow: 0 0 8px rgba(224,108,117,0.6); }+ @keyframes ed-pulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }+ .ed-sub { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--cc-dim, #8c8c92); }+ .ed-sub b { color: var(--cc-text, #f5f5f6); }+ .ed-receipt { margin-top: 11px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12px; }+ .ed-rrow { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; color: var(--cc-dim, #8c8c92); }+ .ed-rrow .ed-v { color: var(--cc-text, #f5f5f6); font-variant-numeric: tabular-nums; }+ .ed-rrow a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }+ .ed-rrow a:hover { border-bottom-color: #fff; }+ .ed-err-msg { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--cc-text, #f5f5f6); }+ .ed-err-msg .ed-warn { color: #e0b46c; font-weight: 700; }+ @media (prefers-reduced-motion: reduce) {+ .ed-modal, .ed-card, .ed-panel, .ed-action, .ed-btn { transition: none !important; }+ .ed-step.is-active .ed-dot { animation: none !important; }+ }+ @media (max-width: 560px) { .ed-action { bottom: 150px; } }+ `;+ document.head.appendChild(s);+ }++ // ── proximity + per-frame ───────────────────────────────────────────────────+ _playerNear() {+ if (!this.getPlayer) return true;+ const p = this.getPlayer();+ if (!p) return false;+ return Math.hypot((p.x ?? 0) - this.pos.x, (p.z ?? 0) - this.pos.z) <= INTERACT_RANGE;+ }++ update(dt) {+ this._t += dt;+ const reduced = prefersReducedMotion();++ // Ground-ring breathing, brighter when the player is in range.+ this._near = this._playerNear();+ if (this.ring) {+ const base = this._near ? 0.34 : 0.16;+ this.ring.material.opacity = reduced ? base : base + 0.12 * (0.5 + 0.5 * Math.sin(this._t * 2));+ }++ // Celebration light decay.+ if (this._celebrateT > 0) {+ this._celebrateT = Math.max(0, this._celebrateT - dt);+ const k = this._celebrateT / CELEBRATE_MS_S;+ if (this.celebrateLight) this.celebrateLight.intensity = reduced ? (this._celebrateT > 0 ? 1.4 : 0) : 6 * k;+ if (this.accent) this.accent.material.opacity = 0.5 + 0.5 * k;+ }++ this._syncActionButton();+ }++ _syncActionButton() {+ const show = this._near && !this.busy && !this.composeOpen;+ const btn = this.actionBtn;+ if (!show) { if (!btn.hidden) btn.hidden = true; return; }+ const contestId = this.getContestId();+ const already = contestId && this._submitted.has(String(contestId));+ btn.hidden = false;+ btn.toggleAttribute('disabled', !!already);+ const label = btn.querySelector('.ed-action-label');+ const key = btn.querySelector('.ed-action-key');+ if (already) {+ if (key) key.hidden = true;+ if (label) label.textContent = 'Entered ✓';+ this._paintScreen('Entry submitted', 'You’re in this round');+ } else {+ if (key) key.hidden = false;+ if (label) label.textContent = 'Enter contest';+ this._paintScreen('Enter the contest');+ }+ }++ _handleKey(e) {+ if (e.key !== 'e' && e.key !== 'E') return;+ if (e.metaKey || e.ctrlKey || e.altKey) return;+ const t = e.target;+ if (t && (t.tagName === 'INPUT' || t.tagName === 'TEXTAREA' || t.isContentEditable)) return;+ if (!this._near || this.busy || this.composeOpen) return;+ e.preventDefault();+ this.interact();+ }++ // ── interaction → compose → submit ──────────────────────────────────────────+ interact() {+ if (this.busy || this.composeOpen) return;+ if (this.getPlayer && !this._playerNear()) return;++ if (!omniologyBase()) {+ this._toast('Omniology contests aren’t live here yet — check back soon.', 'info');+ return;+ }+ const contestId = this.getContestId();+ if (!contestId) {+ this._toast('No contest is open right now. Watch the screens for the next round.', 'info');+ return;+ }+ if (this._submitted.has(String(contestId))) {+ this._toast('You’ve already entered this round — one entry per round.', 'info');+ return;+ }+ this._run(contestId).catch((err) => log.warn('[entry-desk] submit failed:', err?.message));+ }++ async _run(contestId) {+ this.composeOpen = true;+ this.actionBtn.hidden = true;+ let entry;+ try {+ entry = await this.buildEntry();+ } finally {+ this.composeOpen = false;+ }+ if (!entry) return; // cancelled++ // Final guard: never submit (or pay) an entry that fails local validation.+ const v = validateEntry(entry);+ if (!v.ok) {+ this._toast('That entry isn’t valid yet — please fix the highlighted fields.', 'warn');+ return;+ }+ // The contest could have rolled over while the form was open.+ const liveContest = this.getContestId() || contestId;+ if (this._submitted.has(String(liveContest))) {+ this._toast('You’ve already entered this round.', 'info');+ return;+ }++ let request;+ try {+ request = submitEntryRequest(liveContest, normalizeEntry(entry), this.getAgentName());+ } catch (err) {+ this._toast(err?.message || 'Could not prepare the entry.', 'warn');+ return;+ }++ this.busy = true;+ try {+ const mode = entryFeeMode();+ const result = mode === 'free'+ ? await this._submitFree(request)+ : await this._submitPaid(request);+ this._onSuccess(liveContest, result, request);+ } catch (err) {+ this._renderError(err);+ } finally {+ this.busy = false;+ }+ }++ // Free path: POST the submit URL directly, no x402, no stepper (CONTRACTS §1.2).+ async _submitFree(request) {+ this._renderPanel({ stage: null, free: true });+ this.panel.classList.add('ed-show');+ let res;+ try {+ res = await fetch(request.url, {+ method: request.method,+ headers: { 'content-type': 'application/json', accept: 'application/json' },+ body: JSON.stringify(request.body),+ });+ } catch (err) {+ throw Object.assign(new Error('Could not reach Omniology to submit your entry.'), { code: 'endpoint_unreachable' });+ }+ let body = null;+ try { body = await res.json(); } catch { body = null; }+ if (!res.ok) {+ const msg = (body && (body.error_description || body.error)) || `Omniology rejected the entry (HTTP ${res.status}).`;+ throw Object.assign(new Error(msg), { code: body?.code || 'submit_rejected', status: res.status });+ }+ return { ok: true, free: true, result: body, payment: null };+ }++ // Paid/auto path: stream the real x402 lifecycle from /api/x402-pay. Every+ // stepper stage below is driven by a genuine SSE event — no fake progress.+ async _submitPaid(request) {+ const agentId = this.getAgentId();+ if (!agentId) {+ throw Object.assign(+ new Error('Connect a paying agent wallet to enter — entries settle from your agent’s Solana USDC.'),+ { code: 'agent_required' },+ );+ }+ this._amount = null;+ this._renderPanel({ stage: 'challenge', active: true });+ this.panel.classList.add('ed-show');++ const onEvent = (event, data) => {+ if (event === 'challenge') {+ if (data?.amount != null) this._amount = data.amount;+ this._renderPanel({ stage: 'built', active: true, sub: 'Fee · awaiting signature' });+ } else if (event === 'built') {+ this._renderPanel({ stage: 'settled', active: true, sub: 'Signed · settling on Solana' });+ } else if (event === 'settled') {+ this._explorer = data?.explorer || (data?.tx ? `https://solscan.io/tx/${data.tx}` : null);+ this._renderPanel({ stage: 'done', active: true, sub: 'Settled on Solana', explorer: this._explorer });+ }+ // 'result'/'error' are handled by payX402Stream's resolve/throw below.+ };++ return payX402Stream(+ { agentId, url: request.url, method: request.method, body: request.body, serviceLabel: SERVICE_LABEL },+ onEvent,+ );+ }++ _onSuccess(contestId, result, request) {+ this._submitted.add(String(contestId));+ const agentName = this.getAgentName();+ const confirmation = readEntryConfirmation(result);+ const payment = result?.payment || null;++ // Push to the in-world screens immediately (optimistic), then the next poll+ // reconciles it with Omniology's authoritative feed.+ try {+ this.onSubmitted({ entryId: confirmation.entryId, agent: agentName, payment });+ } catch (err) {+ log.warn('[entry-desk] onSubmitted handler threw:', err?.message);+ }++ this._celebrate();+ this._renderReceipt(confirmation, payment, !!result?.free);+ this._scheduleHide(11000);+ }++ // ── compose UI (default buildEntry) ─────────────────────────────────────────+ _composeDefault() {+ return new Promise((resolve) => {+ const root = this.modalRoot;+ root.replaceChildren();+ root.hidden = false;++ let settled = false;+ const finish = (val) => {+ if (settled) return; settled = true;+ root.classList.remove('ed-show');+ window.removeEventListener('keydown', onEsc, true);+ setTimeout(() => { root.hidden = true; root.replaceChildren(); }, 200);+ resolve(val);+ };+ const onEsc = (e) => { if (e.key === 'Escape') { e.preventDefault(); finish(null); } };+ window.addEventListener('keydown', onEsc, true);++ const card = el('div', { class: 'ed-card' });+ root.appendChild(card);+ root.onclick = (e) => { if (e.target === root) finish(null); };++ const contestId = this.getContestId();+ const agentId = this.getAgentId();+ const mode = entryFeeMode();++ const head = el('div', { class: 'ed-card-head' }, [+ el('div', {}, [+ el('div', { class: 'ed-card-title', text: 'Submit your entry' }),+ el('div', { class: 'ed-card-meta', text: contestId ? `Round contest · ${mode === 'free' ? 'free entry' : 'pays an entry fee in USDC'}` : 'No live contest' }),+ ]),+ el('button', { class: 'ed-x', type: 'button', 'aria-label': 'Close', text: '✕', onclick: () => finish(null) }),+ ]);+ card.appendChild(head);++ // Designed empty/blocked state: a paid round with no paying agent connected.+ if (mode !== 'free' && !agentId) {+ card.appendChild(el('div', { class: 'ed-empty', html: 'Entries settle from <b>your agent’s Solana wallet</b>. Connect or create a paying agent, then come back to the desk to enter.' }));+ card.appendChild(el('div', { class: 'ed-actions' }, [+ el('button', { class: 'ed-btn', type: 'button', text: 'Close', onclick: () => finish(null) }),+ ]));+ requestAnimationFrame(() => root.classList.add('ed-show'));+ return;+ }++ const form = el('form', { class: 'ed-form', novalidate: 'novalidate' });+ const controls = new Map();+ for (const f of ENTRY_FIELDS) {+ const id = `ed-f-${f.key}`;+ const counter = f.max ? el('span', { class: 'ed-count', text: `0/${f.max}` }) : null;+ const top = el('div', { class: 'ed-field-top' }, [+ el('label', { class: 'ed-label', for: id, html: `${escHtml(f.label)}${f.required ? '' : ' <span class="ed-req">(optional)</span>'}` }),+ counter,+ ]);+ const input = f.type === 'textarea'+ ? el('textarea', { class: 'ed-textarea', id, placeholder: f.placeholder || '', 'aria-required': String(!!f.required), rows: '3' })+ : el('input', { class: 'ed-input', id, type: f.type === 'url' ? 'url' : 'text', placeholder: f.placeholder || '', 'aria-required': String(!!f.required), inputmode: f.type === 'url' ? 'url' : 'text' });+ const err = el('div', { class: 'ed-error', id: `${id}-err`, role: 'alert' });+ const field = el('div', { class: 'ed-field' }, [+ top, input,+ f.hint ? el('div', { class: 'ed-hint', text: f.hint }) : null,+ err,+ ]);+ const sync = () => {+ if (counter) {+ const n = input.value.length;+ counter.textContent = `${n}/${f.max}`;+ counter.classList.toggle('ed-over', n > f.max);+ }+ };+ input.addEventListener('input', () => { sync(); field.classList.remove('ed-invalid'); err.textContent = ''; });+ controls.set(f.key, { input, err, field });+ form.appendChild(field);+ }+ card.appendChild(form);++ const formError = el('div', { class: 'ed-form-error', role: 'alert' });+ card.appendChild(formError);++ const submitBtn = el('button', { class: 'ed-btn ed-btn-primary', type: 'submit', text: mode === 'free' ? 'Submit entry' : 'Review & pay' });+ const actions = el('div', { class: 'ed-actions' }, [+ el('button', { class: 'ed-btn', type: 'button', text: 'Cancel', onclick: () => finish(null) }),+ submitBtn,+ ]);+ card.appendChild(actions);++ form.addEventListener('submit', (e) => {+ e.preventDefault();+ const values = {};+ for (const [key, c] of controls) values[key] = c.input.value;+ const result = validateEntry(values);+ if (!result.ok) {+ formError.textContent = 'Please fix the highlighted fields before submitting.';+ let firstBad = null;+ for (const [key, c] of controls) {+ const msg = result.errors[key];+ c.field.classList.toggle('ed-invalid', !!msg);+ c.err.textContent = msg || '';+ if (msg && !firstBad) firstBad = c.input;+ }+ firstBad?.focus();+ return;+ }+ finish(normalizeEntry(values));+ });++ requestAnimationFrame(() => {+ root.classList.add('ed-show');+ controls.get(ENTRY_FIELDS[0].key)?.input.focus();+ });+ });+ }++ // ── payment panel rendering ─────────────────────────────────────────────────+ _renderPanel({ stage, active = false, sub = null, explorer = null, free = false }) {+ if (free) {+ this.panel.innerHTML =+ '<div class="ed-ph"><span class="ed-pt">Submitting to <b>Omniology</b></span><span class="ed-fee">Free entry</span></div>' ++ '<div class="ed-sub">Sending your entry…</div>';+ return;+ }+ const activeIdx = STAGES.findIndex((s) => s.id === stage);+ const steps = STAGES.map((s, i) => {+ const cls = i < activeIdx ? 'is-done' : (i === activeIdx && active ? 'is-active' : (i === activeIdx ? 'is-done' : ''));+ return `<div class="ed-step ${cls}"><span class="ed-dot"></span>${escHtml(s.label)}</div>`;+ }).join('');+ const feeTxt = this._amount != null ? escHtml(fmtUsdc(this._amount)) : '— USDC';+ let subHtml = '';+ if (sub) {+ subHtml = `<div class="ed-sub">${escHtml(sub)}`;+ if (explorer) subHtml += ` · <a href="${escHtml(explorer)}" target="_blank" rel="noopener">Solscan ↗</a>`;+ subHtml += '</div>';+ }+ this.panel.innerHTML =+ `<div class="ed-ph"><span class="ed-pt">Entering <b>Omniology</b> contest</span><span class="ed-fee">${feeTxt}</span></div>` ++ `<div class="ed-steps">${steps}</div>${subHtml}`;+ }++ _renderReceipt(confirmation, payment, free) {+ // Stepper fully done.+ if (!free) {+ this._renderPanel({ stage: 'done', active: false, sub: 'Entry accepted' });+ this.panel.querySelectorAll('.ed-step').forEach((node) => { node.classList.remove('is-active'); node.classList.add('is-done'); });+ } else {+ this.panel.innerHTML =+ '<div class="ed-ph"><span class="ed-pt">Submitted to <b>Omniology</b></span><span class="ed-fee">Free entry</span></div>';+ }++ const rows = [];+ const pos = confirmation.position;+ const round = confirmation.round;+ if (round != null) rows.push(['Round', String(round)]);+ if (pos != null) rows.push(['Position', `#${pos}`]);+ if (confirmation.entryId) rows.push(['Entry', shortAddr(confirmation.entryId)]);++ const receipt = el('div', { class: 'ed-receipt' });+ const head = el('div', { class: 'ed-sub', html: '<b>You’re in.</b> Your entry just hit the live ticker.' });+ receipt.appendChild(head);+ for (const [k, val] of rows) {+ receipt.appendChild(el('div', { class: 'ed-rrow' }, [el('span', { text: k }), el('span', { class: 'ed-v', text: val })]));+ }+ if (payment) {+ const amount = payment.amount ? fmtUsdc(payment.amount) : '— USDC';+ receipt.appendChild(el('div', { class: 'ed-rrow' }, [el('span', { text: 'Paid · network' }), el('span', { class: 'ed-v', text: `${amount} · Solana` })]));+ const tx = payment.tx;+ if (tx) {+ const link = el('a', { href: payment.explorer || `https://solscan.io/tx/${tx}`, target: '_blank', rel: 'noopener', text: `${String(tx).slice(0, 8)}…${String(tx).slice(-6)} ↗` });+ receipt.appendChild(el('div', { class: 'ed-rrow' }, [el('span', { text: 'Transaction' }), el('span', { class: 'ed-v' }, [link])]));+ }+ }+ this.panel.appendChild(receipt);+ this.panel.classList.add('ed-show');+ }++ // Designed, honest error. The charging note is derived from the failure code so+ // we never imply funds were untouched after settlement was uncertain.+ _renderError(err) {+ const code = err?.code || '';+ const movedNoFunds = ['agent_required', 'endpoint_unreachable', 'invalid_challenge', 'blocked_url', 'no_solana_accept', 'missing_fee_payer', 'payment_required', 'submit_rejected', 'unsupported_asset'].includes(code);+ const uncertain = code === 'settle_uncertain';++ this.panel.classList.add('ed-show');+ // Mark the current stepper stage as errored if a stepper is showing.+ const steps = this.panel.querySelectorAll('.ed-step');+ if (steps.length) {+ let lastActive = -1;+ steps.forEach((n, i) => { if (n.classList.contains('is-active')) lastActive = i; });+ const idx = lastActive >= 0 ? lastActive : 0;+ steps.forEach((n, i) => { n.classList.remove('is-active'); if (i === idx) n.classList.add('is-err'); });+ } else {+ this.panel.innerHTML = '<div class="ed-ph"><span class="ed-pt">Entry not submitted</span></div>';+ }++ const note = uncertain+ ? '<span class="ed-warn">⚠ Payment status couldn’t be confirmed.</span> Check your agent’s activity before retrying so you don’t pay twice.'+ : movedNoFunds+ ? 'No payment was made — your wallet is unchanged. You can try again.'+ : 'Something went wrong. No entry was recorded; try again in a moment.';+ const msg = el('div', { class: 'ed-err-msg', html: `${escHtml(err?.message || 'Submission failed.')}<br>${note}` });+ this.panel.appendChild(msg);+ this._scheduleHide(uncertain ? 14000 : 8000);+ }++ _scheduleHide(ms) {+ clearTimeout(this._hideTimer);+ this._hideTimer = setTimeout(() => { this.panel.classList.remove('ed-show'); }, ms);+ }++ // ── celebration (sound + light pulse, reduced-motion gated) ──────────────────+ _celebrate() {+ this._celebrateT = CELEBRATE_MS_S;+ if (!prefersReducedMotion()) this._chime();+ }++ _chime() {+ try {+ const Ctx = window.AudioContext || window.webkitAudioContext;+ if (!Ctx) return;+ const ctx = this._audio || (this._audio = new Ctx());+ if (ctx.state === 'suspended') ctx.resume().catch(() => {});+ const now = ctx.currentTime;+ const notes = [523.25, 783.99]; // C5 → G5, a soft confirming two-note+ notes.forEach((freq, i) => {+ const osc = ctx.createOscillator();+ const gain = ctx.createGain();+ osc.type = 'sine';+ osc.frequency.value = freq;+ const t = now + i * 0.11;+ gain.gain.setValueAtTime(0.0001, t);+ gain.gain.exponentialRampToValueAtTime(0.12, t + 0.02);+ gain.gain.exponentialRampToValueAtTime(0.0001, t + 0.32);+ osc.connect(gain).connect(ctx.destination);+ osc.start(t);+ osc.stop(t + 0.34);+ });+ } catch (err) {+ log.warn('[entry-desk] chime failed:', err?.message);+ }+ }++ _toast(msg, tone) {+ if (this.ui?.toast) this.ui.toast(msg, tone);+ else log.info(`[entry-desk] ${msg}`);+ }++ dispose() {+ window.removeEventListener('keydown', this._onKey);+ clearTimeout(this._hideTimer);+ if (this.group) {+ this.scene.remove(this.group);+ this.group.traverse((n) => {+ if (n.isMesh) {+ n.geometry?.dispose?.();+ const mats = Array.isArray(n.material) ? n.material : [n.material];+ mats.forEach((m) => { m?.map?.dispose?.(); m?.dispose?.(); });+ }+ });+ this.group = null;+ }+ this._screenTex?.dispose?.();+ this.root?.remove();+ if (this._audio && this._audio.state !== 'closed') this._audio.close().catch(() => {});+ }+}diff --git a/src/game/arena/omniology.js b/src/game/arena/omniology.jsindex 311e984b0..4d22fd813 100644--- a/src/game/arena/omniology.js+++ b/src/game/arena/omniology.js@@ -16,6 +16,7 @@ import { Group } from 'three';import { OmniologyArena, REMOTE_LERP, RUN_TIMESCALE } from './arena.js';import { AnimationManager } from '../../animation-manager.js';import { CommunityNet } from '../community-net.js';+import { mountContestScreens } from './contest-screens.js';import {resolveAvatarUrl, buildAvatar, loadManifest, CLIP_IDLE, CLIP_WALK,} from '../avatar-rig.js';diff --git a/vite.config.js b/vite.config.jsindex 837dbcd97..33a36a2f2 100644--- a/vite.config.js+++ b/vite.config.js@@ -1692,20 +1692,26 @@ support: resolve(__dirname, 'pages/support.html'),.split('/').pop();if (EMBED_FILES.has(filename)) return [];+ // Inline the dependency-free source directly as a classic+ // (non-module) script. Two failure modes this avoids:+ // 1. A `type=module` inline script gets externalized by Vite+ // into a `?html-proxy` request that 404s to the SPA HTML+ // fallback for repo-root dir-index pages (e.g. /docs).+ // 2. A dynamic `import('/src/view-transitions.js')` is rewritten+ // by the prod build into `import('data:text/javascript;…')`,+ // which the site CSP (no `data:` in script-src) blocks — the+ // transition wiring then silently never runs.+ // Inlining the actual source sidesteps both: it runs under the+ // existing `'unsafe-inline'` allowance with no extra fetch. The+ // file stays the single source of truth (dev imports it directly).+ const vtSource = readFileSync(+ resolve(__dirname, 'src/view-transitions.js'),+ 'utf8',+ ).replace(/^export\s+function/m, 'function');return [{tag: 'script',- // Classic (non-module) inline script on purpose: a `type=module`- // inline script gets externalized by Vite into a `?html-proxy`- // request that fails to resolve for repo-root dir-index pages- // (e.g. /docs → docs/index.html), where the proxy URL falls- // through to the SPA HTML fallback and the browser throws- // "Failed to load module script … MIME type text/html". A classic- // script keeps the dynamic import inline; /src/view-transitions.js- // is dependency-free browser ESM that Vite serves directly in dev- // and the copy-src-to-dist plugin mirrors into dist/ for prod, so- // it resolves in both — no html-proxy needed.- children: `import('/src/view-transitions.js').then(m=>m.enableViewTransitions()).catch(()=>{});`,+ children: `(function(){${vtSource}\ntry{enableViewTransitions();}catch(e){}})();`,injectTo: 'head',},];