vestige/apps/dashboard/build/_app/immutable/chunks/CFefTDKL.js
Sam Valladares 488252d19d release: v2.3.0 — Cognitive Observatory + Zero-Knowledge Sync
Version bumps across all 9 manifests (incl. the mcpb manifest stale at
2.2.0 since v2.2.1) + Cargo.lock + rebuilt embedded dashboard. Full
changelog for the 42 audit fixes (#139/#140/#141), the consolidation
opt-out (#142, thanks @Vrakoss), the WebGPU Cognitive Observatory, and
the zero-knowledge cloud-sync client.

Gates: cargo test 1580/0, clippy clean, svelte-check 937/0/0, build green.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-25 21:58:03 +08:00

1 line
999 B
JavaScript

import{y as k,z as f,Q as m,R as t,S as _,v as b,G as y}from"./CW7md74C.js";function S(e,a,v=a){var c=new WeakSet;k(e,"input",async r=>{var l=r?e.defaultValue:e.value;if(l=o(e)?u(l):l,v(l),f!==null&&c.add(f),await m(),l!==(l=a())){var h=e.selectionStart,d=e.selectionEnd,n=e.value.length;if(e.value=l??"",d!==null){var s=e.value.length;h===d&&d===n&&s>n?(e.selectionStart=s,e.selectionEnd=s):(e.selectionStart=h,e.selectionEnd=Math.min(d,s))}}}),(b&&e.defaultValue!==e.value||t(a)==null&&e.value)&&(v(o(e)?u(e.value):e.value),f!==null&&c.add(f)),_(()=>{var r=a();if(e===document.activeElement){var l=y??f;if(c.has(l))return}o(e)&&r===u(e.value)||e.type==="date"&&!r&&!e.value||r!==e.value&&(e.value=r??"")})}function E(e,a,v=a){k(e,"change",c=>{var r=c?e.defaultChecked:e.checked;v(r)}),(b&&e.defaultChecked!==e.checked||t(a)==null)&&v(e.checked),_(()=>{var c=a();e.checked=!!c})}function o(e){var a=e.type;return a==="number"||a==="range"}function u(e){return e===""?null:+e}export{E as a,S as b};