import{J as o,A as _,K as c,L as d,O as T,P as b,Q as p,R as y,S as f}from"./BRMnbBOX.js";import{B as A}from"./CB3MYTwM.js";function g(t,i,u=!1){_&&c();var e=new A(t),h=u?d:0;function n(a,r){if(_){const l=T(t)===b;if(a===l){var s=p();y(s),e.anchor=s,f(!1),e.ensure(a,r),f(!0);return}}e.ensure(a,r)}o(()=>{var a=!1;i((r,s=!0)=>{a=!0,n(s,r)}),a||n(!1,null)},h)}export{g as i};
