import{I as d,a6 as v,a7 as h,a8 as T,U as f,j as i,u as n,J as c,G as u,H as E}from"./AM9C8FsA.js";function g(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function a(e,t){var r=f;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function M(e,t){var r=(t&h)!==0,_=(t&T)!==0,s,m=!e.startsWith("<!>");return()=>{if(i)return a(n,null),n;s===void 0&&(s=g(m?e:"<!>"+e),r||(s=d(s)));var o=_||v?document.importNode(s,!0):s.cloneNode(!0);if(r){var l=d(o),p=o.lastChild;a(l,p)}else a(o,o);return o}}function b(e=""){if(!i){var t=u(e+"");return a(t,t),t}var r=n;return r.nodeType!==3&&(r.before(r=u()),E(r)),a(r,r),r}function C(){if(i)return a(n,null),n;var e=document.createDocumentFragment(),t=document.createComment(""),r=u();return e.append(t,r),a(t,r),e}function N(e,t){if(i){f.nodes_end=n,c();return}e!==null&&e.before(t)}let x=1;function A(){var e;if(i&&n&&n.nodeType===8&&((e=n.textContent)!=null&&e.startsWith("#s"))){const t=n.textContent.substring(1);return c(),t}return"c"+x++}export{N as a,b,C as c,a as d,A as p,M as t};
