import{b as c,h as o,k as l,l as b,m,n as p,e as v,d,i as g}from"./CZHsSL_X.js";import{B as y}from"./r0JawsZc.js";function T(f,h,_=!1){var n;o&&(n=g,l());var s=new y(f),u=_?b:0;function t(a,r){if(o){var e=m(n);if(a!==parseInt(e.substring(1))){var i=p();v(i),s.anchor=i,d(!1),s.ensure(a,r),d(!0);return}}s.ensure(a,r)}c(()=>{var a=!1;h((r,e=0)=>{a=!0,t(e,r)}),a||t(-1,null)},u)}export{T as i};
