stable env for modular

This commit is contained in:
2025-08-25 21:57:52 +03:30
parent ff0cd9ddd2
commit 408ed277bb
390 changed files with 6113 additions and 6138 deletions
+1
View File
@@ -0,0 +1 @@
import{r as s,I as c,bh as o,a2 as d,aJ as g}from"./LXNkq-sH.js";function m(l,n){const{defaultValue:u,value:a=s()}=n||{};let t=typeof l=="function"?l():l;a.value!==void 0&&(t=c(a)),u!==void 0&&(t=typeof u=="function"?u():u);const r=s(t),f=s(t);o(()=>{let e=a.value!==void 0?a.value:r.value;n.postState&&(e=n.postState(e)),f.value=e});function i(e){const v=f.value;r.value=e,g(f.value)!==e&&n.onChange&&n.onChange(e,v)}return d(a,()=>{r.value=a.value}),[f,i]}export{m as u};