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
chore: changelog + features + nav + sitemap and page-index build updates
nirholas9b31a442a43f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex e49776e3b..6626ad1fd 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -4,6 +4,10 @@Public history for [three.ws](https://three.ws), newest first. New pages come from `added` dates in data/pages.json; everything else is curated in data/changelog.json. Also available as [JSON](https://three.ws/changelog.json) and [RSS](https://three.ws/changelog.xml), live at [three.ws/changelog](https://three.ws/changelog).+## 2026-06-13++- **The full page directory is now one click away — and instantly filterable** — three.ws has grown past 140 pages, so the sitemap directory got a real upgrade. A new "All pages" link in the Discover menu takes you straight to it, and the page itself now has an instant filter — press / and type to narrow every page by name, path, or description, with live per-section counts. Filtered views are shareable links, so you can send someone exactly the slice of the platform you mean. (`/sitemap`) `[improvement]`+## 2026-06-12- **Agent Launches** (`/launches`) — Live public feed of every coin launched by a three.ws agent — market caps, graduation status, and the agent behind each launch.diff --git a/data/changelog.json b/data/changelog.jsonindex f88724773..096388593 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,15 @@{"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-06-13",+ "title": "The full page directory is now one click away — and instantly filterable",+ "summary": "three.ws has grown past 140 pages, so the sitemap directory got a real upgrade. A new \"All pages\" link in the Discover menu takes you straight to it, and the page itself now has an instant filter — press / and type to narrow every page by name, path, or description, with live per-section counts. Filtered views are shareable links, so you can send someone exactly the slice of the platform you mean.",+ "tags": [+ "improvement"+ ],+ "link": "/sitemap"+ },{"date": "2026-06-12","title": "Every three.ws npm package got a polish pass and a new release",diff --git a/public/changelog.json b/public/changelog.jsonindex 3cf955dd7..d5d8c6d08 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,11 +1,21 @@{- "generated_at": "2026-06-12T23:55:42.563Z",+ "generated_at": "2026-06-13T00:21:38.872Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws","url": "https://three.ws"},"entries": [+ {+ "date": "2026-06-13",+ "type": "update",+ "title": "The full page directory is now one click away — and instantly filterable",+ "summary": "three.ws has grown past 140 pages, so the sitemap directory got a real upgrade. A new \"All pages\" link in the Discover menu takes you straight to it, and the page itself now has an instant filter — press / and type to narrow every page by name, path, or description, with live per-section counts. Filtered views are shareable links, so you can send someone exactly the slice of the platform you mean.",+ "link": "/sitemap",+ "tags": [+ "improvement"+ ]+ },{"date": "2026-06-12","type": "launch",diff --git a/public/changelog.xml b/public/changelog.xmlindex 235397479..22bc9db95 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -6,6 +6,14 @@<atom:link href="https://three.ws/changelog.xml" rel="self" type="application/rss+xml"/><description>What's new on three.ws — features, improvements, and releases, newest first.</description><language>en</language>+ <item>+ <title>The full page directory is now one click away — and instantly filterable</title>+ <link>https://three.ws/sitemap</link>+ <guid isPermaLink="false">2026-06-13:The full page directory is now one click away — and instantly filterable</guid>+ <pubDate>Sat, 13 Jun 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>three.ws has grown past 140 pages, so the sitemap directory got a real upgrade. A new "All pages" link in the Discover menu takes you straight to it, and the page itself now has an instant filter — press / and type to narrow every page by name, path, or description, with live per-section counts. Filtered views are shareable links, so you can send someone exactly the slice of the platform you mean.</description>+ </item><item><title>Agent Launches</title><link>https://three.ws/launches</link>diff --git a/public/features.json b/public/features.jsonindex 0d02224c1..3a282340c 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-12T23:45:01.997Z",+ "generated_at": "2026-06-13T00:21:38.856Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/public/nav-data.js b/public/nav-data.jsindex b175653bd..4026d9f85 100644--- a/public/nav-data.js+++ b/public/nav-data.js@@ -135,6 +135,11 @@ export const NAV_GROUPS = [badge: 'New',desc: 'Hidden gems — fact-checker, tutor, lipsync & more',},+ {+ title: 'All pages',+ href: '/sitemap',+ desc: 'The full directory — every page on three.ws, filterable',+ },],},{diff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex 7e519e9c4..a25cb9670 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -21,6 +21,20 @@.sm-formats a { padding: 6px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #d8d8ee; text-decoration: none; font-size: 13px; background: rgba(255,255,255,.02); transition: background .15s, border-color .15s; }.sm-formats a:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.24); }.sm-formats code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #9ad4ff; }+ .sm-filter { position: sticky; top: 12px; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(9,9,22,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); margin-bottom: 12px; transition: border-color .15s, box-shadow .15s; }+ .sm-filter:focus-within { border-color: rgba(150,170,255,.45); box-shadow: 0 0 0 3px rgba(120,140,255,.12); }+ .sm-filter svg { width: 16px; height: 16px; color: #7a85a8; flex-shrink: 0; }+ .sm-filter input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #e7e7f5; font: inherit; font-size: 15px; }+ .sm-filter input::placeholder { color: #5b5b78; }+ .sm-filter input::-webkit-search-cancel-button { cursor: pointer; }+ .sm-filter kbd { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #7a85a8; }+ .sm-filter-count { color: #9b9bb7; font-size: 13px; margin: 0 0 20px; min-height: 18px; padding: 0 4px; }+ .sm-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 64px 24px; border: 1px dashed rgba(255,255,255,.12); border-radius: 16px; text-align: center; }+ .sm-empty p { margin: 0; color: #b6b6cf; font-size: 15px; }+ .sm-empty .sm-empty-hint { color: #7a85a8; font-size: 13px; }+ .sm-empty kbd { display: inline-flex; align-items: center; height: 18px; padding: 0 5px; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #9ad4ff; }+ .sm-count { display: inline-flex; align-items: center; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.06); color: #9b9bb7; font-size: 12px; font-weight: 600; vertical-align: 3px; }+ @media (max-width: 640px) { .sm-filter kbd { display: none; } }.sm-toc { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.02); margin-bottom: 56px; }.sm-toc a { color: #cfd0e8; text-decoration: none; font-size: 13px; padding: 4px 10px; border-radius: 999px; }.sm-toc a:hover { background: rgba(255,255,255,.06); color: #fff; }@@ -51,7 +65,7 @@<main class="sm-wrap"><div class="sm-hero"><h1>Sitemap</h1>- <p>Every public page on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>+ <p>All 247 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p><div class="sm-formats"><a href="/sitemap.xml"><code>sitemap.xml</code> · for search engines</a><a href="/llms.txt"><code>llms.txt</code> · for AI agents</a>@@ -61,6 +75,12 @@<a href="/openapi.json"><code>openapi.json</code> · HTTP API</a></div></div>+ <div class="sm-filter">+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>+ <input id="sm-filter-input" type="search" placeholder="Filter 247 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />+ <kbd aria-hidden="true">/</kbd>+ </div>+ <p class="sm-filter-count" id="sm-filter-count" role="status" aria-live="polite"></p><nav class="sm-toc" aria-label="Sections"><a href="#main">Main</a><a href="#build">Build</a>@@ -76,7 +96,7 @@</nav><section class="sm-section" id="main"><header>- <h2>Main</h2>+ <h2>Main<span class="sm-count" data-count>10</span></h2><p class="sm-section-desc">Entry points into the product.</p></header><ul class="sm-list">@@ -155,7 +175,7 @@<section class="sm-section" id="build"><header>- <h2>Build</h2>+ <h2>Build<span class="sm-count" data-count>26</span></h2><p class="sm-section-desc">Create and customize an agent.</p></header><ul class="sm-list">@@ -346,7 +366,7 @@<section class="sm-section" id="labs"><header>- <h2>Labs</h2>+ <h2>Labs<span class="sm-count" data-count>7</span></h2><p class="sm-section-desc">Experimental features actively shipping. Expect fast iteration.</p></header><ul class="sm-list">@@ -404,7 +424,7 @@<section class="sm-section" id="crypto"><header>- <h2>Crypto</h2>+ <h2>Crypto<span class="sm-count" data-count>23</span></h2><p class="sm-section-desc">On-chain features: pay-per-call, token launches, vanity wallets.</p></header><ul class="sm-list">@@ -574,7 +594,7 @@<section class="sm-section" id="agent-tools"><header>- <h2>Agent Tools</h2>+ <h2>Agent Tools<span class="sm-count" data-count>5</span></h2><p class="sm-section-desc">Manage, talk to, and deploy individual agents.</p></header><ul class="sm-list">@@ -618,7 +638,7 @@<section class="sm-section" id="account"><header>- <h2>Account</h2>+ <h2>Account<span class="sm-count" data-count>8</span></h2><p class="sm-section-desc">Sign-in, dashboard, billing.</p></header><ul class="sm-list">@@ -683,7 +703,7 @@<section class="sm-section" id="learn"><header>- <h2>Learn</h2>+ <h2>Learn<span class="sm-count" data-count>22</span></h2><p class="sm-section-desc">Docs, tutorials, and reference.</p></header><ul class="sm-list">@@ -846,7 +866,7 @@<section class="sm-section" id="blog"><header>- <h2>Blog</h2>+ <h2>Blog<span class="sm-count" data-count>28</span></h2><p class="sm-section-desc">Long-form announcements, launches, and writing from three.ws.</p></header><ul class="sm-list">@@ -1051,7 +1071,7 @@<section class="sm-section" id="legal"><header>- <h2>Legal</h2>+ <h2>Legal<span class="sm-count" data-count>2</span></h2></header><ul class="sm-list">@@ -1074,7 +1094,7 @@<section class="sm-section" id="machine"><header>- <h2>Machine-readable</h2>+ <h2>Machine-readable<span class="sm-count" data-count>9</span></h2><p class="sm-section-desc">Indexes and well-known files for crawlers and AI agents.</p></header><ul class="sm-list">@@ -1146,7 +1166,7 @@<section class="sm-section" id="news"><header>- <h2>News</h2>+ <h2>News<span class="sm-count" data-count>107</span></h2><p class="sm-section-desc">Product launches, integrations, and announcements from three.ws.</p></header><ul class="sm-list">@@ -1901,9 +1921,77 @@</li></ul></section>+ <div class="sm-empty" id="sm-empty" hidden>+ <p>No pages match “<span id="sm-empty-q"></span>”.</p>+ <p class="sm-empty-hint">Clear the filter, or press <kbd>⌘K</kbd> for global search — it covers agents, coins, and skills too.</p>+ </div></main><div id="footer-container"></div><script type="module" src="/nav.js"></script><script type="module" src="/footer.js"></script>+ <script>+ (function () {+ var input = document.getElementById('sm-filter-input');+ var countEl = document.getElementById('sm-filter-count');+ var empty = document.getElementById('sm-empty');+ var emptyQ = document.getElementById('sm-empty-q');+ var groups = Array.prototype.map.call(document.querySelectorAll('.sm-section'), function (sec) {+ return {+ sec: sec,+ toc: document.querySelector('.sm-toc a[href="#' + sec.id + '"]'),+ count: sec.querySelector('[data-count]'),+ items: Array.prototype.map.call(sec.querySelectorAll('.sm-list > li'), function (li) {+ return { li: li, text: li.textContent.toLowerCase() };+ }),+ };+ });+ var total = groups.reduce(function (n, g) { return n + g.items.length; }, 0);+ countEl.textContent = total + ' pages \u00b7 ' + groups.length + ' sections';++ function apply(q) {+ q = q.trim().toLowerCase();+ var shown = 0;+ groups.forEach(function (g) {+ var visible = 0;+ g.items.forEach(function (it) {+ var hit = !q || it.text.indexOf(q) !== -1;+ it.li.hidden = !hit;+ if (hit) visible++;+ });+ g.sec.hidden = visible === 0;+ if (g.toc) g.toc.hidden = visible === 0;+ if (g.count) g.count.textContent = visible;+ shown += visible;+ });+ countEl.textContent = q+ ? shown + ' of ' + total + ' pages match'+ : total + ' pages \u00b7 ' + groups.length + ' sections';+ emptyQ.textContent = q;+ empty.hidden = !q || shown > 0;+ var url = new URL(location.href);+ if (q) url.searchParams.set('q', q); else url.searchParams.delete('q');+ history.replaceState(null, '', url);+ }++ input.addEventListener('input', function () { apply(input.value); });+ input.addEventListener('keydown', function (e) {+ if (e.key === 'Escape' && input.value) {+ e.stopPropagation();+ input.value = '';+ apply('');+ }+ });+ document.addEventListener('keydown', function (e) {+ if (e.key !== '/' || e.metaKey || e.ctrlKey || e.altKey) return;+ var t = e.target;+ if (t && (t.tagName === 'INPUT' || t.tagName === 'TEXTAREA' || t.isContentEditable)) return;+ e.preventDefault();+ input.focus();+ });++ var initial = new URLSearchParams(location.search).get('q');+ if (initial) { input.value = initial; apply(initial); }+ })();+ </script></body></html>diff --git a/scripts/build-page-index.mjs b/scripts/build-page-index.mjsindex 0971b3331..c683c4384 100644--- a/scripts/build-page-index.mjs+++ b/scripts/build-page-index.mjs@@ -160,6 +160,7 @@ function buildLlmsFull() {// /sitemap HTML page (human-readable)// ────────────────────────────────────────────────────────────────────────function buildSitemapHtml() {+ const totalPages = sections.reduce((n, s) => n + s.pages.length, 0);const sectionHtml = sections.map((section) => {const items = section.pages@@ -179,7 +180,7 @@ function buildSitemapHtml() {.join('\n');return `\t\t<section class="sm-section" id="${escapeHtml(section.id)}">\t\t\t<header>-\t\t\t\t<h2>${escapeHtml(section.title)}</h2>+\t\t\t\t<h2>${escapeHtml(section.title)}<span class="sm-count" data-count>${section.pages.length}</span></h2>\t\t\t\t${section.description ? `<p class="sm-section-desc">${escapeHtml(section.description)}</p>` : ''}\t\t\t</header>\t\t\t<ul class="sm-list">@@ -216,6 +217,20 @@ ${items}\t.sm-formats a { padding: 6px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #d8d8ee; text-decoration: none; font-size: 13px; background: rgba(255,255,255,.02); transition: background .15s, border-color .15s; }\t.sm-formats a:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.24); }\t.sm-formats code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #9ad4ff; }+\t.sm-filter { position: sticky; top: 12px; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(9,9,22,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); margin-bottom: 12px; transition: border-color .15s, box-shadow .15s; }+\t.sm-filter:focus-within { border-color: rgba(150,170,255,.45); box-shadow: 0 0 0 3px rgba(120,140,255,.12); }+\t.sm-filter svg { width: 16px; height: 16px; color: #7a85a8; flex-shrink: 0; }+\t.sm-filter input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #e7e7f5; font: inherit; font-size: 15px; }+\t.sm-filter input::placeholder { color: #5b5b78; }+\t.sm-filter input::-webkit-search-cancel-button { cursor: pointer; }+\t.sm-filter kbd { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #7a85a8; }+\t.sm-filter-count { color: #9b9bb7; font-size: 13px; margin: 0 0 20px; min-height: 18px; padding: 0 4px; }+\t.sm-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 64px 24px; border: 1px dashed rgba(255,255,255,.12); border-radius: 16px; text-align: center; }+\t.sm-empty p { margin: 0; color: #b6b6cf; font-size: 15px; }+\t.sm-empty .sm-empty-hint { color: #7a85a8; font-size: 13px; }+\t.sm-empty kbd { display: inline-flex; align-items: center; height: 18px; padding: 0 5px; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #9ad4ff; }+\t.sm-count { display: inline-flex; align-items: center; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.06); color: #9b9bb7; font-size: 12px; font-weight: 600; vertical-align: 3px; }+\t@media (max-width: 640px) { .sm-filter kbd { display: none; } }\t.sm-toc { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.02); margin-bottom: 56px; }\t.sm-toc a { color: #cfd0e8; text-decoration: none; font-size: 13px; padding: 4px 10px; border-radius: 999px; }\t.sm-toc a:hover { background: rgba(255,255,255,.06); color: #fff; }@@ -246,7 +261,7 @@ ${items}\t<main class="sm-wrap">\t\t<div class="sm-hero">\t\t\t<h1>Sitemap</h1>-\t\t\t<p>Every public page on ${escapeHtml(site.name)}, grouped by purpose. Looking for the machine-readable versions?</p>+\t\t\t<p>All ${totalPages} pages on ${escapeHtml(site.name)}, grouped by purpose. Looking for the machine-readable versions?</p>\t\t\t<div class="sm-formats">\t\t\t\t<a href="/sitemap.xml"><code>sitemap.xml</code> · for search engines</a>\t\t\t\t<a href="/llms.txt"><code>llms.txt</code> · for AI agents</a>@@ -256,14 +271,88 @@ ${items}\t\t\t\t<a href="/openapi.json"><code>openapi.json</code> · HTTP API</a>\t\t\t</div>\t\t</div>+\t\t<div class="sm-filter">+\t\t\t<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>+\t\t\t<input id="sm-filter-input" type="search" placeholder="Filter ${totalPages} pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />+\t\t\t<kbd aria-hidden="true">/</kbd>+\t\t</div>+\t\t<p class="sm-filter-count" id="sm-filter-count" role="status" aria-live="polite"></p>\t\t<nav class="sm-toc" aria-label="Sections">${tocHtml}\t\t</nav>${sectionHtml}+\t\t<div class="sm-empty" id="sm-empty" hidden>+\t\t\t<p>No pages match “<span id="sm-empty-q"></span>”.</p>+\t\t\t<p class="sm-empty-hint">Clear the filter, or press <kbd>⌘K</kbd> for global search — it covers agents, coins, and skills too.</p>+\t\t</div>\t</main>\t<div id="footer-container"></div>\t<script type="module" src="/nav.js"></script>\t<script type="module" src="/footer.js"></script>+\t<script>+\t(function () {+\t\tvar input = document.getElementById('sm-filter-input');+\t\tvar countEl = document.getElementById('sm-filter-count');+\t\tvar empty = document.getElementById('sm-empty');+\t\tvar emptyQ = document.getElementById('sm-empty-q');+\t\tvar groups = Array.prototype.map.call(document.querySelectorAll('.sm-section'), function (sec) {+\t\t\treturn {+\t\t\t\tsec: sec,+\t\t\t\ttoc: document.querySelector('.sm-toc a[href="#' + sec.id + '"]'),+\t\t\t\tcount: sec.querySelector('[data-count]'),+\t\t\t\titems: Array.prototype.map.call(sec.querySelectorAll('.sm-list > li'), function (li) {+\t\t\t\t\treturn { li: li, text: li.textContent.toLowerCase() };+\t\t\t\t}),+\t\t\t};+\t\t});+\t\tvar total = groups.reduce(function (n, g) { return n + g.items.length; }, 0);+\t\tcountEl.textContent = total + ' pages \\u00b7 ' + groups.length + ' sections';++\t\tfunction apply(q) {+\t\t\tq = q.trim().toLowerCase();+\t\t\tvar shown = 0;+\t\t\tgroups.forEach(function (g) {+\t\t\t\tvar visible = 0;+\t\t\t\tg.items.forEach(function (it) {+\t\t\t\t\tvar hit = !q || it.text.indexOf(q) !== -1;+\t\t\t\t\tit.li.hidden = !hit;+\t\t\t\t\tif (hit) visible++;+\t\t\t\t});+\t\t\t\tg.sec.hidden = visible === 0;+\t\t\t\tif (g.toc) g.toc.hidden = visible === 0;+\t\t\t\tif (g.count) g.count.textContent = visible;+\t\t\t\tshown += visible;+\t\t\t});+\t\t\tcountEl.textContent = q+\t\t\t\t? shown + ' of ' + total + ' pages match'+\t\t\t\t: total + ' pages \\u00b7 ' + groups.length + ' sections';+\t\t\temptyQ.textContent = q;+\t\t\tempty.hidden = !q || shown > 0;+\t\t\tvar url = new URL(location.href);+\t\t\tif (q) url.searchParams.set('q', q); else url.searchParams.delete('q');+\t\t\thistory.replaceState(null, '', url);+\t\t}++\t\tinput.addEventListener('input', function () { apply(input.value); });+\t\tinput.addEventListener('keydown', function (e) {+\t\t\tif (e.key === 'Escape' && input.value) {+\t\t\t\te.stopPropagation();+\t\t\t\tinput.value = '';+\t\t\t\tapply('');+\t\t\t}+\t\t});+\t\tdocument.addEventListener('keydown', function (e) {+\t\t\tif (e.key !== '/' || e.metaKey || e.ctrlKey || e.altKey) return;+\t\t\tvar t = e.target;+\t\t\tif (t && (t.tagName === 'INPUT' || t.tagName === 'TEXTAREA' || t.isContentEditable)) return;+\t\t\te.preventDefault();+\t\t\tinput.focus();+\t\t});++\t\tvar initial = new URLSearchParams(location.search).get('q');+\t\tif (initial) { input.value = initial; apply(initial); }+\t})();+\t</script></body></html>`;