var $=t=>{throw TypeError(t)};var m=(t,e,s)=>e.has(t)||$("Cannot "+s);var n=(t,e,s)=>(m(t,e,"read from private field"),s?s.call(t):e.get(t)),h=(t,e,s)=>e.has(t)?$("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s),_=(t,e,s,c)=>(m(t,e,"write to private field"),c?c.call(t,s):e.set(t,s),s);import{z as d,L as g,A as y,q as v,B as b,C as x,l as R,i as C,o as E,D as k,E as P,F as Y,G as A,H as B,M as D}from"./M0Oc_jcV.js";import{h as M,m as O,u as S}from"./BudljjWB.js";function L(t){return class extends j{constructor(e){super({component:t,...e})}}}var o,f;class j{constructor(e){h(this,o);h(this,f);var l;var s=new Map,c=(r,a)=>{var i=x(a,!1,!1);return s.set(r,i),i};const u=new Proxy({...e.props||{},$$events:{}},{get(r,a){return y(s.get(a)??c(a,Reflect.get(r,a)))},has(r,a){return a===g?!0:(y(s.get(a)??c(a,Reflect.get(r,a))),Reflect.has(r,a))},set(r,a,i){return d(s.get(a)??c(a,i),i),Reflect.set(r,a,i)}});_(this,f,(e.hydrate?M:O)(e.component,{target:e.target,anchor:e.anchor,props:u,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError})),(!((l=e==null?void 0:e.props)!=null&&l.$$host)||e.sync===!1)&&v(),_(this,o,u.$$events);for(const r of Object.keys(n(this,f)))r==="$set"||r==="$destroy"||r==="$on"||b(this,r,{get(){return n(this,f)[r]},set(a){n(this,f)[r]=a},enumerable:!0});n(this,f).$set=r=>{Object.assign(u,r)},n(this,f).$destroy=()=>{S(n(this,f))}}$set(e){n(this,f).$set(e)}$on(e,s){n(this,o)[e]=n(this,o)[e]||[];const c=(...u)=>s.call(this,...u);return n(this,o)[e].push(c),()=>{n(this,o)[e]=n(this,o)[e].filter(u=>u!==c)}}$destroy(){n(this,f).$destroy()}}o=new WeakMap,f=new WeakMap;function T(t){k(()=>{t();var e=P;(e.f&Y)!==0&&(A(),B(e,D))})}function q(){const t=C;return t===null&&R(),e=>s=>{var u;const c=(u=t.s.$$events)==null?void 0:u[e];if(c){const l=E(c)?c.slice():[c];for(const r of l)r.call(t.x,s);return!s.defaultPrevented}return!0}}export{L as a,q as c,T as r};