1 line
719 B
JavaScript
1 line
719 B
JavaScript
import{f as t,m as o,h as p,o as m,u as f,p as v,q as y}from"./runtime-C3rQLW--.js";function d(e){t===null&&o(),m&&t.l!==null?r(t).m.push(e):p(()=>{const n=f(e);if(typeof n=="function")return n})}function x(e){t===null&&o(),d(()=>()=>f(e))}function b(e,n,{bubbles:a=!1,cancelable:s=!1}={}){return new CustomEvent(e,{detail:n,bubbles:a,cancelable:s})}function g(){const e=t;return e===null&&o(),(n,a,s)=>{var l;const c=(l=e.s.$$events)==null?void 0:l[n];if(c){const i=v(c)?c.slice():[c],u=b(n,a,s);for(const _ of i)_.call(e.x,u);return!u.defaultPrevented}return!0}}function k(e){t===null&&o(),t.l===null&&y(),r(t).a.push(e)}function r(e){var n=e.l;return n.u??(n.u={a:[],b:[],m:[]})}export{x as a,k as b,g as c,d as o};
|