1import{x as J,N as K,z as Q,ag as U,ah as Z,G as ee,ai as p,aj as te,ak as R,m as F,al as X,p as oe}from"./BSq6QxpG.js";function ne(e){return U()?(Z(e),!0):!1}const B=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const le=Object.prototype.toString,re=e=>le.call(e)==="[object Object]",T=()=>{},ie=se();function se(){var e,n;return B&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Y(e,n){function o(...l){return new Promise((f,m)=>{Promise.resolve(e(()=>n.apply(this,l),{fn:n,thisArg:this,args:l})).then(f).catch(m)})}return o}function ue(e,n={}){let o,l,f=T;const m=r=>{clearTimeout(r),f(),f=T};let v;return r=>{const u=p(e),d=p(n.maxWait);return o&&m(o),u<=0||d!==void 0&&d<=0?(l&&(m(l),l=null),Promise.resolve(r())):new Promise((h,g)=>{f=n.rejectOnCancel?g:h,v=r,d&&!l&&(l=setTimeout(()=>{o&&m(o),l=null,h(v())},d)),o=setTimeout(()=>{l&&m(l),l=null,h(r())},u)})}}function ce(...e){let n=0,o,l=!0,f=T,m,v,c,r,u;!ee(e[0])&&typeof e[0]=="object"?{delay:v,trailing:c=!0,leading:r=!0,rejectOnCancel:u=!1}=e[0]:[v,c=!0,r=!0,u=!1]=e;const d=()=>{o&&(clearTimeout(o),o=void 0,f(),f=T)};return g=>{const w=p(v),E=Date.now()-n,S=()=>m=g();return d(),w<=0?(n=Date.now(),S()):(E>w&&(r||!l)?(n=Date.now(),S()):c&&(m=new Promise((t,i)=>{f=u?i:t,o=setTimeout(()=>{n=Date.now(),l=!0,t(S()),d()},Math.max(0,w-E))})),!r&&!o&&(o=setTimeout(()=>l=!0,w)),l=!1,m)}}function ae(e){return te()}function W(e){return Array.isArray(e)?e:[e]}function fe(e,n=200,o={}){return Y(ue(n,o),e)}function de(e,n=200,o=!1,l=!0,f=!1){return Y(ce(n,o,l,f),e)}function me(e,n=!0,o){ae()?J(e,o):n?e():K(e)}function pe(e,n,o){return Q(e,n,{...o,immediate:!0})}const I=B?window:void 0;function D(e){var n;const o=p(e);return(n=o==null?void 0:o.$el)!=null?n:o}function O(...e){const n=[],o=()=>{n.forEach(c=>c()),n.length=0},l=(c,r,u,d)=>(c.addEventListener(r,u,d),()=>c.removeEventListener(r,u,d)),f=F(()=>{const c=W(p(e[0])).filter(r=>r!=null);return c.every(r=>typeof r!="string")?c:void 0}),m=pe(()=>{var c,r;return[(r=(c=f.value)==null?void 0:c.map(u=>D(u)))!=null?r:[I].filter(u=>u!=null),W(p(f.value?e[1]:e[0])),W(oe(f.value?e[2]:e[1])),p(f.value?e[3]:e[2])]},([c,r,u,d])=>{if(o(),!(c!=null&&c.length)||!(r!=null&&r.length)||!(u!=null&&u.length))return;const h=re(d)?{...d}:d;n.push(...c.flatMap(g=>r.flatMap(w=>u.map(E=>l(g,w,E,h)))))},{flush:"post"}),v=()=>{m(),o()};return ne(o),v}let q=!1;function ge(e,n,o={}){const{window:l=I,ignore:f=[],capture:m=!0,detectIframe:v=!1,controls:c=!1}=o;if(!l)return c?{stop:T,cancel:T,trigger:T}:T;if(ie&&!q){q=!0;const t={passive:!0};Array.from(l.document.body.children).forEach(i=>O(i,"click",T,t)),O(l.document.documentElement,"click",T,t)}let r=!0;const u=t=>p(f).some(i=>{if(typeof i=="string")return Array.from(l.document.querySelectorAll(i)).some(a=>a===t.target||t.composedPath().includes(a));{const a=D(i);return a&&(t.target===a||t.composedPath().includes(a))}});function d(t){const i=p(t);return i&&i.$.subTree.shapeFlag===16}function h(t,i){const a=p(t),x=a.$.subTree&&a.$.subTree.children;return x==null||!Array.isArray(x)?!1:x.some(k=>k.el===i.target||i.composedPath().includes(k.el))}const g=t=>{const i=D(e);if(t.target!=null&&!(!(i instanceof Element)&&d(e)&&h(e,t))&&!(!i||i===t.target||t.composedPath().includes(i))){if("detail"in t&&t.detail===0&&(r=!u(t)),!r){r=!0;return}n(t)}};let w=!1;const E=[O(l,"click",t=>{w||(w=!0,setTimeout(()=>{w=!1},0),g(t))},{passive:!0,capture:m}),O(l,"pointerdown",t=>{const i=D(e);r=!u(t)&&!!(i&&!t.composedPath().includes(i))},{passive:!0}),v&&O(l,"blur",t=>{setTimeout(()=>{var i;const a=D(e);((i=l.document.activeElement)==null?void 0:i.tagName)==="IFRAME"&&!(a!=null&&a.contains(l.document.activeElement))&&n(t)},0)},{passive:!0})].filter(Boolean),S=()=>E.forEach(t=>t());return c?{stop:S,cancel:()=>{r=!1},trigger:t=>{r=!0,g(t),r=!1}}:S}const z=1;function ve(e,n={}){const{throttle:o=0,idle:l=200,onStop:f=T,onScroll:m=T,offset:v={left:0,right:0,top:0,bottom:0},eventListenerOptions:c={capture:!1,passive:!0},behavior:r="auto",window:u=I,onError:d=s=>{console.error(s)}}=n,h=R(0),g=R(0),w=F({get(){return h.value},set(s){S(s,void 0)}}),E=F({get(){return g.value},set(s){S(void 0,s)}});function S(s,P){var b,L,_,C;if(!u)return;const y=p(e);if(!y)return;(_=y instanceof Document?u.document.body:y)==null||_.scrollTo({top:(b=p(P))!=null?b:E.value,left:(L=p(s))!=null?L:w.value,behavior:p(r)});const A=((C=y==null?void 0:y.document)==null?void 0:C.documentElement)||(y==null?void 0:y.documentElement)||y;w!=null&&(h.value=A.scrollLeft),E!=null&&(g.value=A.scrollTop)}const t=R(!1),i=X({left:!0,right:!1,top:!0,bottom:!1}),a=X({left:!1,right:!1,top:!1,bottom:!1}),x=s=>
1{t.value&&(t.value=!1,a.left=!1,a.right=!1,a.top=!1,a.bottom=!1,f(s))},k=fe(x,o+l),j=s=>{var P;if(!u)return;const b=((P=s==null?void 0:s.document)==null?void 0:P.documentElement)||(s==null?void 0:s.documentElement)||D(s),{display:L,flexDirection:_,direction:C}=getComputedStyle(b),y=C==="rtl"?-1:1,A=b.scrollLeft;a.left=A<h.value,a.right=A>h.value;const $=Math.abs(A*y)<=(v.left||0),G=Math.abs(A*y)+b.clientWidth>=b.scrollWidth-(v.right||0)-z;L==="flex"&&_==="row-reverse"?(i.left=G,i.right=$):(i.left=$,i.right=G),h.value=A;let M=b.scrollTop;s===u.document&&!M&&(M=u.document.body.scrollTop),a.top=M<g.value,a.bottom=M>g.value;const V=Math.abs(M)<=(v.top||0),N=Math.abs(M)+b.clientHeight>=b.scrollHeight-(v.bottom||0)-z;L==="flex"&&_==="column-reverse"?(i.top=N,i.bottom=V):(i.top=V,i.bottom=N),g.value=M},H=s=>{var P;if(!u)return;const b=(P=s.target.documentElement)!=null?P:s.target;j(b),t.value=!0,k(s),m(s)};return O(e,"scroll",o?de(H,o,!0,!1):H,c),me(()=>{try{const s=p(e);if(!s)return;j(s)}catch(s){d(s)}}),O(e,"scrollend",x,c),{x:w,y:E,isScrolling:t,arrivedState:i,directions:a,measure(){const s=p(e);u&&s&&j(s)}}}function we(e={}){const{window:n=I,...o}=e;return ve(n,o)}export{ge as o,we as u};
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.