import{R as g,T as p,U as y,ap as b,aq as h,E as x,V as C,a0 as A,G as E,aj as S,a6 as d,a8 as k,ar as l,K as w,as as T,at as _,I as n,ag as R,au as m,v as j,u,av as P,aw as U,ax as z,ay as D,az as F,aA as M,aB as N,aC as O}from"./CQR64lqe.js";import{h as $,m as q,u as B}from"./CQ5FELDc.js";function X(e,a,...r){var s=e,t=E,o;g(()=>{t!==(t=a())&&(o&&(S(o),o=null),o=A(()=>t(s,...r)))},C),p&&(s=d)}function G(e){return(a,...r)=>{var s=e(...r),t;if(p)t=d,y();else{var o=s.render().trim(),c=b(o);t=k(c),a.before(t)}const i=s.setup?.(t);h(t,t),typeof i=="function"&&x(i)}}function I(){return _===null&&T(),(_.ac??=new AbortController).signal}function v(e){n===null&&l(),j&&n.l!==null?f(n).m.push(e):w(()=>{const a=u(e);if(typeof a=="function")return a})}function K(e){n===null&&l(),v(()=>()=>u(e))}function V(e,a,{bubbles:r=!1,cancelable:s=!1}={}){return new CustomEvent(e,{detail:a,bubbles:r,cancelable:s})}function H(){const e=n;return e===null&&l(),(a,r,s)=>{const t=e.s.$$events?.[a];if(t){const o=R(t)?t.slice():[t],c=V(a,r,s);for(const i of o)i.call(e.x,c);return!c.defaultPrevented}return!0}}function J(e){n===null&&l(),n.l===null&&m(),f(n).b.push(e)}function L(e){n===null&&l(),n.l===null&&m(),f(n).a.push(e)}function f(e){var a=e.l;return a.u??={a:[],b:[],m:[]}}const Y=Object.freeze(Object.defineProperty({__proto__:null,afterUpdate:L,beforeUpdate:J,createContext:P,createEventDispatcher:H,createRawSnippet:G,flushSync:U,getAbortSignal:I,getAllContexts:z,getContext:D,hasContext:F,hydrate:$,mount:q,onDestroy:K,onMount:v,setContext:M,settled:N,tick:O,unmount:B,untrack:u},Symbol.toStringTag,{value:"Module"}));export{K as a,Y as b,v as o,X as s};