import{k as i,o as y,v as T,Q as f,R as l,z as m,y as p,A as d,S as A,T as R}from"./CcSQ4gIZ.mjs";import{B as g}from"./Bqtw3-M2.mjs";function N(_,h,e){var s;i&&(s=R,y());var r=new g(_);T(()=>{var o;var a=(o=h())!=null?o:null;if(i){var c=l(s),u=c===A,v=a!==null;if(u!==v){var t=m();p(t),r.anchor=t,d(!1),r.ensure(a,a&&(n=>e(n,a))),d(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},f)}export{N as c};
