This commit is contained in:
2026-02-22 13:08:08 +01:00
parent a65cb57ef2
commit ce20ca6b35
34 changed files with 65 additions and 48 deletions

View File

@@ -0,0 +1 @@
import{u as c,v as p}from"./a9_IrBSG.js";const e=[];function h(n,b=c){let i=null;const o=new Set;function r(t){if(p(n,t)&&(n=t,i)){const u=!e.length;for(const s of o)s[1](),e.push(s,n);if(u){for(let s=0;s<e.length;s+=2)e[s][0](e[s+1]);e.length=0}}}function f(t){r(t(n))}function l(t,u=c){const s=[t,u];return o.add(s),o.size===1&&(i=b(r,f)||c),t(n),()=>{o.delete(s),o.size===0&&i&&(i(),i=null)}}return{set:r,update:f,subscribe:l}}export{h as w};