import{ac as c,ad as l,H as o,I as b,ae as g,af as p,ag as v,aa as f,ah as m}from"./custom-element.js";import{B as y}from"./branches.js";function k(d,h,_=!1){var n;o&&(n=m,b());var s=new y(d),u=_?l:0;function t(a,r){if(o){var e=g(n);if(a!==parseInt(e.substring(1))){var i=p();v(i),s.anchor=i,f(!1),s.ensure(a,r),f(!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{k as i};
//# sourceMappingURL=if.js.map
