1import{t as T,w as z,n as x,i as W,a as L,b as $,c as F,u as H,d as M,e as C,f as G}from"./C2OlVCKA.js";import{w as k,aF as g,aG as A,e as N,k as E,o as V,aH as j,a0 as D}from"./4cegC6SF.js";const O=L?window:void 0;function b(n){var i;const m=A(n);return(i=m?.$el)!=null?i:m}function R(...n){const i=[],m=()=>{i.forEach(e=>e()),i.length=0},l=(e,t,u,p)=>(e.addEventListener(t,u,p),()=>e.removeEventListener(t,u,p)),f=E(()=>{const e=F(A(n[0])).filter(t=>t!=null);return e.every(t=>typeof t!="string")?e:void 0}),d=z(()=>{var e,t;return[(t=(e=f.value)==null?void 0:e.map(u=>b(u)))!=null?t:[O].filter(u=>u!=null),F(A(f.value?n[1]:n[0])),F(N(f.value?n[2]:n[1])),A(f.value?n[3]:n[2])]},([e,t,u,p])=>{if(m(),!e?.length||!t?.length||!u?.length)return;const s=$(p)?{...p}:p;i.push(...e.flatMap(c=>t.flatMap(v=>u.map(w=>l(c,v,w,s)))))},{flush:"post"}),r=()=>{d(),m()};return M(m),r}let I=!1;function X(n,i,m={}){const{window:l=O,ignore:f=[],capture:d=!0,detectIframe:r=!1,controls:e=!1}=m;if(!l)return e?{stop:x,cancel:x,trigger:x}:x;if(W&&!I){I=!0;const o={passive:!0};Array.from(l.document.body.children).forEach(a=>R(a,"click",x,o)),R(l.document.documentElement,"click",x,o)}let t=!0;const u=o=>A(f).some(a=>{if(typeof a=="string")return Array.from(l.document.querySelectorAll(a)).some(h=>h===o.target||o.composedPath().includes(h));{const h=b(a);return h&&(o.target===h||o.composedPath().includes(h))}});function p(o){const a=A(o);return a&&a.$.subTree.shapeFlag===16}function s(o,a){const h=A(o),S=h.$.subTree&&h.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(B=>B.el===a.target||a.composedPath().includes(B.el))}const c=o=>{const a=b(n);if(o.target!=null&&!(!(a instanceof Element)&&p(n)&&s(n,o))&&!(!a||a===o.target||o.composedPath().includes(a))){if("detail"in o&&o.detail===0&&(t=!u(o)),!t){t=!0;return}i(o)}};let v=!1;const w=[R(l,"click",o=>{v||(v=!0,setTimeout(()=>{v=!1},0),c(o))},{passive:!0,capture:d}),R(l,"pointerdown",o=>{const a=b(n);t=!u(o)&&!!(a&&!o.composedPath().includes(a))},{passive:!0}),r&&R(l,"blur",o=>{setTimeout(()=>{var a;const h=b(n);((a=l.document.activeElement)==null?void 0:a.tagName)==="IFRAME"&&!h?.contains(l.document.activeElement)&&i(o)},0)},{passive:!0})].filter(Boolean),y=()=>w.forEach(o=>o());return e?{stop:y,cancel:()=>{t=!1},trigger:o=>{t=!0,c(o),t=!1}}:y}function U(){const n=g(!1),i=j();return i&&V(()=>{n.value=!0},i),n}function P(n){const i=U();return E(()=>(i.value,!!n()))}function _(n,i,m={}){const{window:l=O,...f}=m;let d;const r=P(()=>l&&"MutationObserver"in l),e=()=>{d&&(d.disconnect(),d=void 0)},t=E(()=>{const c=A(n),v=F(c).map(b).filter(G);return new Set(v)}),u=k(()=>t.value,c=>{e(),r.value&&c.size&&(d=new MutationObserver(i),c.forEach(v=>d.observe(v,f)))},{immediate:!0,flush:"post"}),p=()=>d?.takeRecords(),s=()=>{u(),e()};return M(s),{isSupported:r,stop:s,takeRecords:p}}function J(n,i={}){const{immediate:m=!0,fpsLimit:l=void 0,window:f=O,once:d=!1}=i,r=g(!1),e=E(()=>l?1e3/A(l):null);let t=0,u=null;function p(v){if(!r.value||!f)return;t||(t=v);const w=v-t;if(e.value&&w<e.value){u=f.requestAnimationFrame(p);return}if(t=v,n({delta:w,timestamp:v}),d){r.value=!1,u=null;return}u=f.requestAnimationFrame(p)}function s(){!r.value&&f&&(r.value=!0,t=0,u=f.requestAnimationFrame(p))}function c(){r.value=!1,u!=null&&f&&(f.cancelAnimationFrame(u),u=null)}return m&&s(),M(c),{isActive:D(r),pause:c,resume:s}}function q(n,i,m={}){const{window:l=O,...f}=m;let d;const r=P(()=>l&&"ResizeObserver"in l),e=()=>{d&&(d.disconnect(),d=void 0)},t=E(()=>{const s=A(n);return Array.isArray(s)?s.map(c=>b(c)):[b(s)]}),u=k(t,s=>{if(e(),r.value&&l){d=new ResizeObserver(i);for(const c of s)c&&d.observe(c,f)}},{immediate:!0,flush:"post"}),p=()=>{e(),u()};return M(p),{isSupported:r,stop:p}}function Y(n,i={}){const{reset:m=!0,windowResize:l=!0,windowScroll:f=!0,immediate:d=!0,updateTiming:r="sync"}=i,e=g(0),t=g(0),u=g(0),p=g(0),s=g(0),c=g(0),v=g(0),w=g(0);function y(){const a=b(n);if(!a){m&&(e.value=0,t.value=0,u.value=0,p.value=0,s.value=0,c.value=0,v.value=0,w.value=0);return}const h=a.getBoundingClientRect();e.value=h.height,t.value=h.bottom,u.value=h.left,p.value=h.right,s.value=h.top,c.value=h.width,v.value=h.x,w.value=h.y}function o(){r==="sync"?y():r==="next-frame"&&requestAnimationFrame(()=>y())}return q(n,o),k(()=>b(n),a=>!a&&o()),_(n,o,{attributeFilter:["style","class"]}),f&&R("scroll",o,{capture:!0,passive:!0}),l&&R("resize",o,{passive:!0}),T(()=>{d&&o()}),{height:e,bottom:t,left:u,right:p,top:s,width:c,x:v,y:w,update:o}}function Z(n,i={width:0,height:0},m={}){const{window:l=O,box:f="content-box"}=m,d=E(()=>{var s,c;return(c=(s=b(n))==null?void 0:s.namespaceURI)==null?void 0:c.includes("svg")}
1),r=g(i.width),e=g(i.height),{stop:t}=q(n,([s])=>{const c=f==="border-box"?s.borderBoxSize:f==="content-box"?s.contentBoxSize:s.devicePixelContentBoxSize;if(l&&d.value){const v=b(n);if(v){const w=v.getBoundingClientRect();r.value=w.width,e.value=w.height}}else if(c){const v=F(c);r.value=v.reduce((w,{inlineSize:y})=>w+y,0),e.value=v.reduce((w,{blockSize:y})=>w+y,0)}else r.value=s.contentRect.width,e.value=s.contentRect.height},m);T(()=>{const s=b(n);s&&(r.value="offsetWidth"in s?s.offsetWidth:i.width,e.value="offsetHeight"in s?s.offsetHeight:i.height)});const u=k(()=>b(n),s=>{r.value=s?i.width:0,e.value=s?i.height:0});function p(){t(),u()}return{width:r,height:e,stop:p}}function ee(n={}){const{controls:i=!1,offset:m=0,immediate:l=!0,interval:f="requestAnimationFrame",callback:d}=n,r=g(C()+m),e=()=>r.value=C()+m,t=d?()=>{e(),d(r.value)}:e,u=f==="requestAnimationFrame"?J(t,{immediate:l}):H(t,f,{immediate:l});return i?{timestamp:r,...u}:r}export{R as a,ee as b,Z as c,X as o,Y 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.