1import{$t as e,Dt as t,Gt as n,Qt as r,St as i,Wt as a,Xt as o,Yt as s,Zt as c,dt as l,jt as u,kt as d,sn as f,tn as p}from"#entry";function m(e){return o()?(r(e),!0):!1}function h(e){return typeof e==`function`?e():f(e)}var g=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var _=e=>e!=null,v=Object.prototype.toString,y=e=>v.call(e)===`[object Object]`,b=()=>{},x=S();function S(){return g&&(window==null?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(window==null?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function C(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}function w(e,t={}){let n,r,i=b,a=e=>{clearTimeout(e),i(),i=b};return o=>{let s=h(e),c=h(t.maxWait);return n&&a(n),s<=0||c!==void 0&&c<=0?(r&&=(a(r),null),Promise.resolve(o())):new Promise((e,l)=>{i=t.rejectOnCancel?l:e,c&&!r&&(r=setTimeout(()=>{n&&a(n),r=null,e(o())},c)),n=setTimeout(()=>{r&&a(r),r=null,e(o())},s)})}}function T(...e){let t=0,n,r=!0,i=b,a,o,s,l,u;!c(e[0])&&typeof e[0]==`object`?{delay:o,trailing:s=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[o,s=!0,l=!0,u=!1]=e;let d=()=>{n&&(clearTimeout(n),n=void 0,i(),i=b)};return e=>{let c=h(o),f=Date.now()-t,p=()=>a=e();return d(),c<=0?(t=Date.now(),p()):(f>c&&(l||!r)?(t=Date.now(),p()):s&&(a=new Promise((e,a)=>{i=u?a:e,n=setTimeout(()=>{t=Date.now(),r=!0,e(p()),d()},Math.max(0,c-f))})),!l&&!n&&(n=setTimeout(()=>r=!0,c)),r=!1,a)}}function E(e){return e||i()}function D(e,t=200,n={}){return C(w(t,n),e)}function O(e,t=200,n=!1,r=!0,i=!1){return C(T(t,n,r,i),e)}function k(e,n=!0,r){E()?d(e,r):n?e():t(e)}function A(e){let t=h(e);return t?.$el??t}var j=g?window:void 0;g&&window.document,g&&window.navigator,g&&window.location;function M(...e){let t,n,r,i;if(typeof e[0]==`string`||Array.isArray(e[0])?([n,r,i]=e,t=j):[t,n,r,i]=e,!t)return b;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);let o=[],s=()=>{o.forEach(e=>e()),o.length=0},c=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),l=a(()=>[A(t),h(i)],([e,t])=>{if(s(),!e)return;let i=y(t)?{...t}:t;o.push(...n.flatMap(t=>r.map(n=>c(e,t,n,i))))},{immediate:!0,flush:`post`}),u=()=>{l(),s()};return m(u),u}var N=!1;function P(e,t,n={}){let{window:r=j,ignore:i=[],capture:a=!0,detectIframe:o=!1}=n;if(!r)return b;x&&!N&&(N=!0,Array.from(r.document.body.children).forEach(e=>e.addEventListener(`click`,b)),r.document.documentElement.addEventListener(`click`,b));let s=!0,c=e=>i.some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=A(t);return n&&(e.target===n||e.composedPath().includes(n))}}),l=[M(r,`click`,n=>{let r=A(e);if(!(!r||r===n.target||n.composedPath().includes(r))){if(n.detail===0&&(s=!c(n)),!s){s=!0;return}t(n)}},{passive:!0,capture:a}),M(r,`pointerdown`,t=>{let n=A(e);s=!c(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&M(r,`blur`,n=>{setTimeout(()=>{let i=A(e);r.document.activeElement?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)})].filter(Boolean);return()=>l.forEach(e=>e())}function F(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function I(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=j,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=F(t);return M(i,a,e=>{e.repeat&&h(s)||c(e)&&n(e)},o)}function L(e,t,n={}){return I(e,t,{...n,eventName:`keydown`})}function R(e,t=null){let n=i(),r=()=>{},a=s((i,a)=>(r=a,{get(){return i(),(n?.proxy)?.$refs[e]??t},set(){}}));return k(r),u(r),a}function z(){let e=p(!1),t=i();return t&&d(()=>{e.value=!0},t),e}function B(e){let t=z();return l(()=>(t.value,!!e()))}function V(e,t={}){let{window:r=j}=t,i=B(()=>r&&`matchMedia`in r&&typeof r.matchMedia==`function`),a,o=p(!1),s=e=>{o.value=e.matches},c=()=>{a&&(`removeEventListener`in a?a.removeEventListener(`change`,s):a.removeListener(s))},l=n(()=>{i.value&&(c(),a=r.matchMedia(h(e)),`addEventListener`in a?a.addEventListener(`change`,s):a.addListener(s),o.value=a.matches)});return m(()=>{l(),c(),a=void 0}),o}function H(e,t,n={}){let{root:r,rootMargin:i=`0px`,threshold:o=.1,window:s=j,immediate:c=!0}=n,u=B(()=>s&&`IntersectionObserver`in s),d=l(()=>{let t=h(e);return(Array.isArray(t)?t:[t]).map(A).filter(_)}),f=b,g=p(c),v=u.value?a(()=>[d.value,A(r),g.value],([e,n])=>{if(f(),!g.value||!e.length)return;let r=new IntersectionObserver(t,{root:A(n),rootMargin:i,threshold:o});
1e.forEach(e=>e&&r.observe(e)),f=()=>{r.disconnect(),f=b}},{immediate:c,flush:`post`}):b,y=()=>{f(),v(),g.value=!1};return m(y),{isSupported:u,isActive:g,pause(){f(),g.value=!1},resume(){g.value=!0},stop:y}}function U(e,t={}){let{window:n=j,scrollTarget:r,threshold:i=0}=t,a=p(!1);return H(e,e=>{let t=a.value,n=0;for(let r of e)r.time>=n&&(n=r.time,t=r.isIntersecting);a.value=t},{root:r,window:n,threshold:i}),a}var W=1;function G(t,n={}){let{throttle:r=0,idle:i=200,onStop:a=b,onScroll:o=b,offset:s={left:0,right:0,top:0,bottom:0},eventListenerOptions:c={capture:!1,passive:!0},behavior:u=`auto`,window:d=j,onError:f=e=>{console.error(e)}}=n,m=p(0),g=p(0),_=l({get(){return m.value},set(e){y(e,void 0)}}),v=l({get(){return g.value},set(e){y(void 0,e)}});function y(e,n){var r;if(!d)return;let i=h(t);if(!i)return;(r=i instanceof Document?d.document.body:i)==null||r.scrollTo({top:h(n)??v.value,left:h(e)??_.value,behavior:h(u)});let a=i?.document?.documentElement||i?.documentElement||i;_!=null&&(m.value=a.scrollLeft),v!=null&&(g.value=a.scrollTop)}let x=p(!1),S=e({left:!0,right:!1,top:!0,bottom:!1}),C=e({left:!1,right:!1,top:!1,bottom:!1}),w=e=>{x.value&&(x.value=!1,C.left=!1,C.right=!1,C.top=!1,C.bottom=!1,a(e))},T=D(w,r+i),E=e=>{if(!d)return;let t=e?.document?.documentElement||e?.documentElement||A(e),{display:n,flexDirection:r}=getComputedStyle(t),i=t.scrollLeft;C.left=i<m.value,C.right=i>m.value;let a=Math.abs(i)<=(s.left||0),o=Math.abs(i)+t.clientWidth>=t.scrollWidth-(s.right||0)-W;n===`flex`&&r===`row-reverse`?(S.left=o,S.right=a):(S.left=a,S.right=o),m.value=i;let c=t.scrollTop;e===d.document&&!c&&(c=d.document.body.scrollTop),C.top=c<g.value,C.bottom=c>g.value;let l=Math.abs(c)<=(s.top||0),u=Math.abs(c)+t.clientHeight>=t.scrollHeight-(s.bottom||0)-W;n===`flex`&&r===`column-reverse`?(S.top=u,S.bottom=l):(S.top=l,S.bottom=u),g.value=c},N=e=>{d&&(E(e.target.documentElement??e.target),x.value=!0,T(e),o(e))};return M(t,`scroll`,r?O(N,r,!0,!1):N,c),k(()=>{try{let e=h(t);if(!e)return;E(e)}catch(e){f(e)}}),M(t,`scrollend`,w,c),{x:_,y:v,isScrolling:x,arrivedState:S,directions:C,measure(){let e=h(t);d&&e&&E(e)}}}function K(e){let t=V(`(prefers-reduced-motion: reduce)`,e);return l(()=>t.value?`reduce`:`no-preference`)}export{U as a,G as c,A as i,m as l,L as n,M as o,R as r,K as s,P as t}; 2//# sourceMappingURL=CJJu-8e_2.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.