1import{aL as S,K as O,aM as k,af as W,S as x,k as F,as as V,r as E,aN as B,aO as y,aP as H,aQ as C,aR as $,aS as z,T as U,aT as D}from"./CD5ytW8R.js";const A=W?window:void 0,j=W?window.document:void 0;function g(t){var e;const o=y(t);return(e=o?.$el)!=null?e:o}function M(...t){let e,o,i,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([o,i,a]=t,e=A):[e,o,i,a]=t,!e)return S;Array.isArray(o)||(o=[o]),Array.isArray(i)||(i=[i]);const r=[],l=()=>{r.forEach(f=>f()),r.length=0},u=(f,n,c,d)=>(f.addEventListener(n,c,d),()=>f.removeEventListener(n,c,d)),p=O(()=>[g(e),y(a)],([f,n])=>{if(l(),!f)return;const c=z(n)?{...n}:n;r.push(...o.flatMap(d=>i.map(m=>u(f,d,m,c))))},{immediate:!0,flush:"post"}),h=()=>{p(),l()};return k(h),h}let R=!1;function Z(t,e,o={}){const{window:i=A,ignore:a=[],capture:r=!0,detectIframe:l=!1}=o;if(!i)return S;B&&!R&&(R=!0,Array.from(i.document.body.children).forEach(s=>s.addEventListener("click",S)),i.document.documentElement.addEventListener("click",S));let u=!0;const p=s=>y(a).some(v=>{if(typeof v=="string")return Array.from(i.document.querySelectorAll(v)).some(w=>w===s.target||s.composedPath().includes(w));{const w=g(v);return w&&(s.target===w||s.composedPath().includes(w))}});function h(s){const v=y(s);return v&&v.$.subTree.shapeFlag===16}function f(s,v){const w=y(s),I=w.$.subTree&&w.$.subTree.children;return I==null||!Array.isArray(I)?!1:I.some(b=>b.el===v.target||v.composedPath().includes(b.el))}const n=s=>{const v=g(t);if(s.target!=null&&!(!(v instanceof Element)&&h(t)&&f(t,s))&&!(!v||v===s.target||s.composedPath().includes(v))){if(s.detail===0&&(u=!p(s)),!u){u=!0;return}e(s)}};let c=!1;const d=[M(i,"click",s=>{c||(c=!0,setTimeout(()=>{c=!1},0),n(s))},{passive:!0,capture:r}),M(i,"pointerdown",s=>{const v=g(t);u=!p(s)&&!!(v&&!s.composedPath().includes(v))},{passive:!0}),l&&M(i,"blur",s=>{setTimeout(()=>{var v;const w=g(t);((v=i.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!w?.contains(i.document.activeElement)&&e(s)},0)})].filter(Boolean);return()=>d.forEach(s=>s())}function J(){const t=E(!1),e=V();return e&&F(()=>{t.value=!0},e),t}function _(t){const e=J();return x(()=>(e.value,!!t()))}function ee(t,e,o={}){const{window:i=A,...a}=o;let r;const l=_(()=>i&&"MutationObserver"in i),u=()=>{r&&(r.disconnect(),r=void 0)},p=x(()=>{const c=y(t),d=(Array.isArray(c)?c:[c]).map(g).filter(D);return new Set(d)}),h=O(()=>p.value,c=>{u(),l.value&&c.size&&(r=new MutationObserver(e),c.forEach(d=>r.observe(d,a)))},{immediate:!0,flush:"post"}),f=()=>r?.takeRecords(),n=()=>{h(),u()};return k(n),{isSupported:l,stop:n,takeRecords:f}}function Q(t,e={}){const{window:o=A}=e,i=_(()=>o&&"matchMedia"in o&&typeof o.matchMedia=="function");let a;const r=E(!1),l=h=>{r.value=h.matches},u=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",l):a.removeListener(l))},p=$(()=>{i.value&&(u(),a=o.matchMedia(y(t)),"addEventListener"in a?a.addEventListener("change",l):a.addListener(l),r.value=a.matches)});return k(()=>{p(),u(),a=void 0}),r}function K(t){return JSON.parse(JSON.stringify(t))}function te(t={}){const{document:e=j}=t;if(!e)return E("visible");const o=E(e.visibilityState);return M(e,"visibilitychange",()=>{o.value=e.visibilityState}),o}function Y(t,e,o={}){const{window:i=A,...a}=o;let r;const l=_(()=>i&&"ResizeObserver"in i),u=()=>{r&&(r.disconnect(),r=void 0)},p=x(()=>{const n=y(t);return Array.isArray(n)?n.map(c=>g(c)):[g(n)]}),h=O(p,n=>{if(u(),l.value&&i){r=new ResizeObserver(e);for(const c of n)c&&r.observe(c,a)}},{immediate:!0,flush:"post"}),f=()=>{u(),h()};return k(f),{isSupported:l,stop:f}}function ne(t,e={width:0,height:0},o={}){const{window:i=A,box:a="content-box"}=o,r=x(()=>{var n,c;return(c=(n=g(t))==null?void 0:n.namespaceURI)==null?void 0:c.includes("svg")}),l=E(e.width),u=E(e.height),{stop:p}=Y(t,([n])=>{const c=a==="border-box"?n.borderBoxSize:a==="content-box"?n.contentBoxSize:n.devicePixelContentBoxSize;if(i&&r.value){const d=g(t);if(d){const m=d.getBoundingClientRect();l.value=m.width,u.value=m.height}}else if(c){const d=Array.isArray(c)?c:[c];l.value=d.reduce((m,{inlineSize:s})=>m+s,0),u.value=d.reduce((m,{blockSize:s})=>m+s,0)}else l.value=n.contentRect.width,u.value=n.contentRect.height},o);C(()=>{const n=g(t);n&&(l.value="offsetWidth"in n?n.offsetWidth:e.width,u.value="offsetHeight"in n?n.offsetHeight:e.height)});
1const h=O(()=>g(t),n=>{l.value=n?e.width:0,u.value=n?e.height:0});function f(){p(),h()}return{width:l,height:u,stop:f}}function oe(t,e,o={}){const{root:i,rootMargin:a="0px",threshold:r=0,window:l=A,immediate:u=!0}=o,p=_(()=>l&&"IntersectionObserver"in l),h=x(()=>{const m=y(t);return(Array.isArray(m)?m:[m]).map(g).filter(D)});let f=S;const n=E(u),c=p.value?O(()=>[h.value,g(i),n.value],([m,s])=>{if(f(),!n.value||!m.length)return;const v=new IntersectionObserver(e,{root:g(s),rootMargin:a,threshold:r});m.forEach(w=>w&&v.observe(w)),f=()=>{v.disconnect(),f=S}},{immediate:u,flush:"post"}):S,d=()=>{f(),c(),n.value=!1};return k(d),{isSupported:p,isActive:n,pause(){f(),n.value=!1},resume(){n.value=!0},stop:d}}function se(t,e,o,i={}){var a,r,l;const{clone:u=!1,passive:p=!1,eventName:h,deep:f=!1,defaultValue:n,shouldEmit:c}=i,d=V(),m=d?.emit||((a=d?.$emit)==null?void 0:a.bind(d))||((l=(r=d?.proxy)==null?void 0:r.$emit)==null?void 0:l.bind(d?.proxy));let s=h;s=s||`update:${e.toString()}`;const v=b=>u?typeof u=="function"?u(b):K(b):b,w=()=>H(t[e])?v(t[e]):n,I=b=>{c?c(b)&&m(s,b):m(s,b)};if(p){const b=w(),L=E(b);let N=!1;return O(()=>t[e],T=>{N||(N=!0,L.value=v(T),U(()=>N=!1))}),O(L,T=>{!N&&(T!==t[e]||f)&&I(T)},{deep:f}),L}else return x({get(){return w()},set(b){I(b)}})}function ie(t={}){const{window:e=A}=t;if(!e)return E(!1);const o=E(e.document.hasFocus());return M(e,"blur",()=>{o.value=!1}),M(e,"focus",()=>{o.value=!0}),o}function re(t={}){const{window:e=A,initialWidth:o=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:a=!0,includeScrollbar:r=!0,type:l="inner"}=t,u=E(o),p=E(i),h=()=>{e&&(l==="outer"?(u.value=e.outerWidth,p.value=e.outerHeight):r?(u.value=e.innerWidth,p.value=e.innerHeight):(u.value=e.document.documentElement.clientWidth,p.value=e.document.documentElement.clientHeight))};if(h(),C(h),M("resize",h,{passive:!0}),a){const f=Q("(orientation: portrait)");O(f,()=>h())}return{width:u,height:p}}const ue=()=>W&&/firefox/i.test(window.navigator.userAgent),q=()=>W&&/android/i.test(window.navigator.userAgent),P={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},ae=(t,e,{checkForDefaultPrevented:o=!0}={})=>a=>{const r=t?.(a);if(o===!1||!r)return e?.(a)},ce=t=>e=>e.pointerType==="mouse"?t(e):void 0,le=t=>{if(t.code&&t.code!=="Unidentified")return t.code;const e=G(t);return e?Object.values(P).includes(e)?e:e===" "?P.space:"":""},G=t=>{let e=t.key&&t.key!=="Unidentified"?t.key:"";if(!e&&t.type==="keyup"&&q()){const o=t.target;e=o.value.charAt(o.selectionStart-1)}return e};export{P as E,Y as a,g as b,ee as c,ae as d,se as e,te as f,le as g,ie as h,ue as i,ne as j,G as k,oe as l,re as m,Z as o,M as u,ce as w};
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.