function S(t,...n){return t.call(this,...n)}const u=Symbol("Unset"),b=Symbol("IsSetTracked"),m=Symbol("GetModKeys"),y=(t={},n={},e=void 0,i=void 0)=>{if(e&&!e[b])throw new Error("SetTracked parent must be SetTracked");const d=Object.assign(()=>{},n??{}),f=Object.keys(d),r=new Proxy(d,{get(c,s){switch(s){case u:return!(e!=null&&e[m].includes(i));case m:return f;case b:return!0;case"toJSON":return()=>({...c});case"toString":case"toPrimitive":case Symbol.toPrimitive:return r[u]?i&&i in t?()=>t[i]:()=>"":n.toString.bind(n);default:return s in c||(c[s]=y(t,void 0,r,s)),c[s]}},set(c,s,o){return f.push(s),typeof o=="object"&&(o=y(t,o,r,s)),c[s]=o,!0}});return r},h=(t,...n)=>n.some(e=>e==null?void 0:e[u]);export{h,S as p,y as s};