import{e as S,r as c,u as h,q as k,S as q}from"./runtime.DLHUW5tL.js";function u(r,i){var t;var f=r&&((t=r[q])==null?void 0:t.t);return r===i||f===i}function T(r,i,f,t){S(()=>{var a,s;return c(()=>{a=s,s=[],h(()=>{r!==f(...s)&&(i(r,...s),a&&u(f(...a),r)&&i(null,...a))})}),()=>{k(()=>{s&&u(f(...s),r)&&i(null,...s)})}})}export{T as b};
