import{F as ee,v as ae,G as Q,H as M,j as C,I as re,k as ne,g as B,i as ie,J as fe,K as F,L as k,y as H,M as le,N as U,x as W,w as se,O as D,P as Z,Q as ue,R as G,S as b,T as J,V as y,W as te,X as K,Y as ve,Z as de,_ as _e,$ as oe,a0 as ce,C as he,a1 as Ee,a2 as pe}from"./c625DOTJ.js";function me(l,e){return e}function Te(l,e,a,u){for(var v=[],_=e.length,t=0;t<_;t++)_e(e[t].e,v,!0);var o=_>0&&v.length===0&&a!==null;if(o){var T=a.parentNode;oe(T),T.append(a),u.clear(),m(l,e[0].prev,e[_-1].next)}ce(v,()=>{for(var h=0;h<_;h++){var d=e[h];o||(u.delete(d.k),m(l,d.prev,d.next)),he(d.e,!o)}})}function Ce(l,e,a,u,v,_=null){var t=l,o={flags:e,items:new Map,first:null},T=(e&Q)!==0;if(T){var h=l;t=C?M(re(h)):h.appendChild(ee())}C&&ne();var d=null,w=!1,i=ie(()=>{var s=a();return ve(s)?s:s==null?[]:Z(s)});ae(()=>{var s=B(i),r=s.length;if(w&&r===0)return;w=r===0;let I=!1;if(C){var E=t.data===fe;E!==(r===0)&&(t=F(),M(t),k(!1),I=!0)}if(C){for(var p=null,A,c=0;c0&&M(F())}C||Ae(s,o,t,v,e,u,a),_!==null&&(r===0?d?U(d):d=W(()=>_(t)):d!==null&&se(d,()=>{d=null})),I&&k(!0),B(i)}),C&&(t=H)}function Ae(l,e,a,u,v,_,t){var O,V,Y,q;var o=(v&de)!==0,T=(v&(b|y))!==0,h=l.length,d=e.items,w=e.first,i=w,s,r=null,I,E=[],p=[],A,c,n,f;if(o)for(f=0;f0){var j=v&Q&&h===0?a:null;if(o){for(f=0;f{var X;if(I!==void 0)for(n of I)(X=n.a)==null||X.apply()}),G.first=e.first&&e.first.e,G.last=r&&r.e}function Ie(l,e,a,u){u&b&&J(l.v,e),u&y?J(l.i,a):l.i=a}function $(l,e,a,u,v,_,t,o,T,h){var d=(T&b)!==0,w=(T&Ee)===0,i=d?w?te(v):K(v):v,s=T&y?K(t):t,r={i:s,v:i,k:_,a:null,e:null,prev:a,next:u};try{return r.e=W(()=>o(l,i,s,h),C),r.e.prev=a&&a.e,r.e.next=u&&u.e,a===null?e.first=r:(a.next=r,a.e.next=r.e),u!==null&&(u.prev=r,u.e.prev=r.e),r}finally{}}function P(l,e,a){for(var u=l.next?l.next.e.nodes_start:a,v=e?e.e.nodes_start:a,_=l.e.nodes_start;_!==u;){var t=pe(_);v.before(_),_=t}}function m(l,e,a){e===null?l.first=a:(e.next=a,e.e.next=a&&a.e),a!==null&&(a.prev=e,a.e.prev=e&&e.e)}export{Ce as e,me as i};