System.register(["./index-legacy-e17b48ce.js"],(function(e,t){"use strict";var r,n,o,l,u,i;return{setters:[e=>{r=e.r,n=e.bw,o=e.bx,l=e.by,u=e.bz,i=e.w}],execute:function(){function t(e){return!!n()&&(o(e),!0)}function a(e){return"function"==typeof e?e():l(e)}e({a:function({window:e=w}={}){if(!e)return{x:r(0),y:r(0)};const t=r(e.scrollX),n=r(e.scrollY);return A(e,"scroll",(()=>{t.value=e.scrollX,n.value=e.scrollY}),{capture:!1,passive:!0}),{x:t,y:n}},b:function(e=1e3,n={}){const{controls:o=!1,immediate:l=!0,callback:s}=n,f=r(0),v=()=>f.value+=1,y=()=>{f.value=0},p=function(e,n=1e3,o={}){const{immediate:l=!0,immediateCallback:s=!1}=o;let f=null;const v=r(!1);function y(){f&&(clearInterval(f),f=null)}function p(){v.value=!1,y()}function m(){const t=a(n);t<=0||(v.value=!0,s&&e(),y(),f=setInterval(e,t))}return l&&c&&m(),(u(n)||"function"==typeof n)&&t(i(n,(()=>{v.value&&c&&m()}))),t(p),{isActive:v,pause:p,resume:m}}(s?()=>{v(),s(f.value)}:v,e,{immediate:l});return o?b({counter:f,reset:y},p):f},u:A});const c="undefined"!=typeof window,s=()=>{};var f=Object.defineProperty,v=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&m(e,r,t[r]);if(v)for(var r of v(t))p.call(t,r)&&m(e,r,t[r]);return e};function d(e){var t;const r=a(e);return null!=(t=null==r?void 0:r.$el)?t:r}const w=c?window:void 0;function A(...e){let r,n,o,l;if("string"==typeof e[0]||Array.isArray(e[0])?([n,o,l]=e,r=w):[r,n,o,l]=e,!r)return s;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const u=[],c=()=>{u.forEach((e=>e())),u.length=0},f=i((()=>[d(r),a(l)]),(([e,t])=>{c(),e&&u.push(...n.flatMap((r=>o.map((n=>((e,t,r,n)=>(e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)))(e,r,n,t))))))}),{immediate:!0,flush:"post"}),v=()=>{f(),c()};return t(v),v}}}}));
