Download index.html from Snapkitty/infrastructure-and-tools: direct link, hf CLI and curl.
- Browser
- Download file 23.1 kB
-
https://huggingface.co/spaces/Snapkitty/infrastructure-and-tools/resolve/main/index.html
- Command line
-
hf download hf://spaces/Snapkitty/infrastructure-and-tools/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Snapkitty/infrastructure-and-tools/resolve/main/index.html
23.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Infrastructure and Tools · SnapKitty</title> | |
| <meta name="description" content="MCP servers, IDEs, browsers, harnesses and the developer tooling that runs the collective."> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap" rel="stylesheet"> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> | |
| <body> | |
| <header class="topbar"><a class="brand" href="https://huggingface.co/spaces/Snapkitty/README">🐈 SnapKitty</a><a class="back" href="https://huggingface.co/Snapkitty">All collections</a></header> | |
| <main class="wrap"> | |
| <section class="hero"> | |
| <div class="eyebrow">🔧 Collection</div> | |
| <h1>Infrastructure and Tools</h1> | |
| <p class="lede">MCP servers, IDEs, browsers, harnesses and the developer tooling that runs the collective.</p> | |
| </section> | |
| <div class="toolbar"> | |
| <input id="q" type="search" placeholder="Search 25 repositories" aria-label="Search repositories"> | |
| <div class="chips"><button class="chip" data-mode="all" aria-pressed="true">All</button><button class="chip" data-mode="model" aria-pressed="false">Models</button><button class="chip" data-mode="dataset" aria-pressed="false">Datasets</button></div> | |
| <span id="count" class="count"></span> | |
| </div> | |
| <section class="grid"> | |
| <article class="card" data-kind="model" data-new="true" data-search="kotlin-command-center talk to your ollama agents and administer your server from your phone, with no inbound firewall port. kotlin model agpl-3.0"> | |
| <div class="card-top"><span class="badge new">New</span><span class="badge kind">model</span><span class="badge lic">AGPL-3.0</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/kotlin-command-center">kotlin-command-center</a></h3> | |
| <p>Talk to your Ollama agents and administer your server from your phone, with no inbound firewall port.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">kotlin</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/kotlin-command-center">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/kotlin-command-center">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="true" data-search="snapkitty-regex thompson nfa regular-expression engine in c: under 700 lines, zero dependencies, no exponential backtracking. c model agpl-3.0"> | |
| <div class="card-top"><span class="badge new">New</span><span class="badge kind">model</span><span class="badge lic">AGPL-3.0</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/snapkitty-regex">snapkitty-regex</a></h3> | |
| <p>Thompson NFA regular-expression engine in C: under 700 lines, zero dependencies, no exponential backtracking.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">c</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/snapkitty-regex">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/snapkitty-regex">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="abzu-sovereign-ide abzu checkpoint ide for sovereign development. context management across sessions. python model sovereign source"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">Sovereign Source</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/abzu-sovereign-ide">abzu-sovereign-ide</a></h3> | |
| <p>ABZU checkpoint IDE for sovereign development. Context management across sessions.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">python</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/abzu-sovereign-ide">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/abzu-sovereign-ide">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="claudes-harness harness integration for claude with sovereign verification and sealed interaction receipts. python model sovereign source"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">Sovereign Source</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/claudes-harness">claudes-harness</a></h3> | |
| <p>Harness integration for Claude with sovereign verification and sealed interaction receipts.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">python</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/claudes-harness">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/claudes-harness">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="dataset" data-new="false" data-search="devflow-finance-twin devflow finance: ibm i banking-as-a-service ledger twin with db2, rpgle, cobol and c#. c# cobol rpgle dataset fsl-1.1"> | |
| <div class="card-top"><span class="badge kind">dataset</span><span class="badge lic">FSL-1.1</span></div> | |
| <h3><a href="https://huggingface.co/datasets/Snapkitty/devflow-finance-twin">devflow-finance-twin</a></h3> | |
| <p>DevFlow Finance: IBM i banking-as-a-service ledger twin with DB2, RPGLE, COBOL and C#.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">c#</span><span class="tag">cobol</span><span class="tag">rpgle</span></div><div class="links"><a class="link" href="https://huggingface.co/datasets/Snapkitty/devflow-finance-twin">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/devflow-finance-twin">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="dataset" data-new="false" data-search="forge-code built by an agent and verified by a tournament: the forge code corpus. python dataset agpl-3.0"> | |
| <div class="card-top"><span class="badge kind">dataset</span><span class="badge lic">AGPL-3.0</span></div> | |
| <h3><a href="https://huggingface.co/datasets/Snapkitty/forge-code">forge-code</a></h3> | |
| <p>Built by an agent and verified by a tournament: the Forge code corpus.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">python</span></div><div class="links"><a class="link" href="https://huggingface.co/datasets/Snapkitty/forge-code">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/forge-code">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="git-command-center visual git operations dashboard for managing sovereign repository fleet. javascript model sovereign source"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">Sovereign Source</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/git-command-center">git-command-center</a></h3> | |
| <p>Visual git operations dashboard for managing sovereign repository fleet.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">javascript</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/git-command-center">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/git-command-center">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="gitworld visual git world explorer with cinematic asset pipeline. javascript model agpl-3.0"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">AGPL-3.0</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/gitworld">gitworld</a></h3> | |
| <p>Visual git world explorer with cinematic asset pipeline.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">javascript</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/gitworld">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/gitworld">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="hyperkitty-chromium hyperkitty chromium: the snapkitty browser architecture built on chromium. c++ model sl-agpl3-001 covenant"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">SL-AGPL3-001</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/hyperkitty-chromium">hyperkitty-chromium</a></h3> | |
| <p>HyperKitty Chromium: the SnapKitty browser architecture built on Chromium.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">c++</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/hyperkitty-chromium">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/hyperkitty-chromium">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="kittybrowse sovereign web browser with built-in verification and sealed browsing receipts. python model sovereign source"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">Sovereign Source</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/kittybrowse">kittybrowse</a></h3> | |
| <p>Sovereign web browser with built-in verification and sealed browsing receipts.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">python</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/kittybrowse">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/kittybrowse">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="ledge ledger infrastructure for sovereign record keeping and audit trails. python model agpl-3.0"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">AGPL-3.0</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/ledge">ledge</a></h3> | |
| <p>Ledger infrastructure for sovereign record keeping and audit trails.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">python</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/ledge">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/ledge">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="market-scope market analysis and scoping tool for sovereign ai positioning. python model tri-license"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">Tri-License</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/market-scope">market-scope</a></h3> | |
| <p>Market analysis and scoping tool for sovereign AI positioning.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">python</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/market-scope">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/market-scope">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="myapplication application scaffold for sovereign mobile and desktop deployment. kotlin model sovereign source"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">Sovereign Source</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/myapplication">myapplication</a></h3> | |
| <p>Application scaffold for sovereign mobile and desktop deployment.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">kotlin</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/myapplication">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/myapplication">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="ortho32-mcp mcp interface for ortho-32-t deterministic compute fabric. python model tri-license"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">Tri-License</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/ortho32-mcp">ortho32-mcp</a></h3> | |
| <p>MCP interface for ORTHO-32-T deterministic compute fabric.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">python</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/ortho32-mcp">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/ortho32-mcp">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="ortho32-sdk-java java sdk for ortho-32-t fabric integration and deterministic execution. java model tri-license"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">Tri-License</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/ortho32-sdk-java">ortho32-sdk-java</a></h3> | |
| <p>Java SDK for ORTHO-32-T fabric integration and deterministic execution.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">java</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/ortho32-sdk-java">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/ortho32-sdk-java">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="rowm-polymorphic-notebook polymorphic notebook format: code, proofs, and prose in a single sealed document. python model agpl-3.0"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">AGPL-3.0</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/rowm-polymorphic-notebook">rowm-polymorphic-notebook</a></h3> | |
| <p>Polymorphic notebook format: code, proofs, and prose in a single sealed document.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">python</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/rowm-polymorphic-notebook">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/rowm-polymorphic-notebook">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="snapkit tools catalog for the snapkitty ecosystem. index of all available utilities. markdown model sovereign source"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">Sovereign Source</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/SNAPKIT">SNAPKIT</a></h3> | |
| <p>Tools catalog for the SnapKitty ecosystem. Index of all available utilities.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">markdown</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/SNAPKIT">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/SNAPKIT">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="snapkitty-harness core snapkitty execution harness with deterministic pipeline and worm audit chain. python model nvidia community"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">NVIDIA Community</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/snapkitty-harness">snapkitty-harness</a></h3> | |
| <p>Core SnapKitty execution harness with deterministic pipeline and WORM audit chain.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">python</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/snapkitty-harness">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/snapkitty-harness">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="snapkitty-mcp mcp server exposing snapkitty core: worm sealing, agent building, ada contracts, ssm injection. typescript model sovereign source"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">Sovereign Source</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/snapkitty-mcp">snapkitty-mcp</a></h3> | |
| <p>MCP server exposing SnapKitty core: WORM sealing, agent building, Ada contracts, SSM injection.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">typescript</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/snapkitty-mcp">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/snapkitty-mcp">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="snapkitty-ocr android ocr app: handwritten notebooks into the book digital corpus. sha-256 sealing. kotlin android model agpl-3.0"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">AGPL-3.0</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/snapkitty-ocr">snapkitty-ocr</a></h3> | |
| <p>Android OCR app: handwritten notebooks into THE BOOK digital corpus. SHA-256 sealing.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">kotlin</span><span class="tag">android</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/snapkitty-ocr">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/snapkitty-ocr">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="sovereign-context-tools three-component digital masonry: edualc linter, abzu garbage collector, bifrost state packet. python model sovereign source"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">Sovereign Source</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/sovereign-context-tools">sovereign-context-tools</a></h3> | |
| <p>Three-component digital masonry: EDUALC linter, ABZU garbage collector, Bifrost state packet.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">python</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/sovereign-context-tools">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/sovereign-context-tools">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="sovereign-harness unified entry point for sovereign ai stack. one-line bash/powershell installer, browser-first ui. python bash model agpl-3.0"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">AGPL-3.0</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/sovereign-harness">sovereign-harness</a></h3> | |
| <p>Unified entry point for sovereign AI stack. One-line bash/PowerShell installer, browser-first UI.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">python</span><span class="tag">bash</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/sovereign-harness">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/sovereign-harness">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="sovereign-ide 16-layer fortran 2018 starter kit for sovereign ide with quantum engines and wasm browser deployment. fortran wasm model agpl-3.0"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">AGPL-3.0</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/sovereign-ide">sovereign-ide</a></h3> | |
| <p>16-layer Fortran 2018 starter kit for sovereign IDE with quantum engines and WASM browser deployment.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">fortran</span><span class="tag">wasm</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/sovereign-ide">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/sovereign-ide">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="sovereign-ide-extensions vs code extensions for magma protocol governance, code sealing, worm chain status. typescript model sovereign source"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">Sovereign Source</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/sovereign-ide-extensions">sovereign-ide-extensions</a></h3> | |
| <p>VS Code extensions for MAGMA protocol governance, code sealing, WORM chain status.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">typescript</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/sovereign-ide-extensions">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/sovereign-ide-extensions">GitHub</a></div></div> | |
| </article> | |
| <article class="card" data-kind="model" data-new="false" data-search="sovereign-mcp provider-independent model context protocol. ere verification gates, ed25519 signing, worm receipts. python model fsl-1.1"> | |
| <div class="card-top"><span class="badge kind">model</span><span class="badge lic">FSL-1.1</span></div> | |
| <h3><a href="https://huggingface.co/Snapkitty/sovereign-mcp">sovereign-mcp</a></h3> | |
| <p>Provider-independent Model Context Protocol. ERE verification gates, Ed25519 signing, WORM receipts.</p> | |
| <div class="card-foot"><div class="tags"><span class="tag">python</span></div><div class="links"><a class="link" href="https://huggingface.co/Snapkitty/sovereign-mcp">Hugging Face</a><a class="link" href="https://github.com/SNAPKITTYWEST/sovereign-mcp">GitHub</a></div></div> | |
| </article> | |
| </section> | |
| <section class="commercial"> | |
| <div> | |
| <h2>Commercial license</h2> | |
| <p>SnapKitty code is free and open under AGPL-3.0 for open-source use. Building a commercial product or service? A proprietary commercial license from Snapkitty Collective LLC lets you ship SnapKitty code without the AGPL's source-sharing and network-use obligations.</p> | |
| </div> | |
| <a class="btn" href="mailto:A.parr@belespritdaccord.uk?subject=SnapKitty%20commercial%20license">Get a commercial license</a> | |
| </section> | |
| </main> | |
| <footer class="footer"> | |
| <span>© 2026 Snapkitty Collective LLC</span> | |
| <span><a href="https://huggingface.co/Snapkitty">huggingface.co/Snapkitty</a> · <a href="mailto:A.parr@belespritdaccord.uk">A.parr@belespritdaccord.uk</a></span> | |
| </footer> | |
| <script> | |
| (() => { | |
| const q = document.getElementById('q'), chips = [...document.querySelectorAll('.chip')], cards = [...document.querySelectorAll('.card')]; | |
| const count = document.getElementById('count'); let mode = 'all'; | |
| function apply() { | |
| const term = (q.value || '').trim().toLowerCase(); let n = 0; | |
| for (const c of cards) { | |
| const okMode = mode === 'all' || (mode === 'new' ? c.dataset.new === 'true' : c.dataset.kind === mode); | |
| const ok = okMode && (!term || c.dataset.search.includes(term)); | |
| c.hidden = !ok; if (ok) n++; | |
| } | |
| count.textContent = n + (n === 1 ? ' repository' : ' repositories'); | |
| } | |
| q.addEventListener('input', apply); | |
| chips.forEach(ch => ch.addEventListener('click', () => { chips.forEach(x => x.setAttribute('aria-pressed', 'false')); ch.setAttribute('aria-pressed', 'true'); mode = ch.dataset.mode; apply(); })); | |
| apply(); | |
| })(); | |
| </script> | |
| </body> | |
| </html> | |