1import{t as P,n as C,i as ee,w as te,a as Y,b as ne,u as oe,c as re,d as se,e as F,f as le,p as G,g as ie}from"./BmnoBIir.js";import{w as k,p as ae,k as V,z as W,b as ue,l as E,n as ce,h as fe,r as U,y as de,E as ve,a as pe}from"./wfKCG5F8.js";const T=ee?window:void 0;function D(e){var t;const n=E(e);return(t=n?.$el)!=null?t:n}function H(...e){const t=[],n=()=>{t.forEach(o=>o()),t.length=0},v=(o,a,r,u)=>(o.addEventListener(a,r,u),()=>o.removeEventListener(a,r,u)),g=V(()=>{const o=F(E(e[0])).filter(a=>a!=null);return o.every(a=>typeof a!="string")?o:void 0}),w=te(()=>{var o,a;return[(a=(o=g.value)==null?void 0:o.map(r=>D(r)))!=null?a:[T].filter(r=>r!=null),F(E(g.value?e[1]:e[0])),F(de(g.value?e[2]:e[1])),E(g.value?e[3]:e[2])]},([o,a,r,u])=>{if(n(),!o?.length||!a?.length||!r?.length)return;const l=se(u)?{...u}:u;t.push(...o.flatMap(d=>a.flatMap(b=>r.map(p=>v(d,b,p,l)))))},{flush:"post"}),f=()=>{w(),n()};return Y(n),f}function he(){const e=W(!1),t=pe();return t&&ve(()=>{e.value=!0},t),e}function B(e){const t=he();return V(()=>(t.value,!!e()))}const me=Symbol("vueuse-ssr-width");function we(){const e=fe()?re(me,null):null;return typeof e=="number"?e:void 0}function be(e,t={}){const{window:n=T,ssrWidth:v=we()}=t,g=B(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),w=W(typeof v=="number"),f=W(),o=W(!1),a=r=>{o.value=r.matches};return ae(()=>{if(w.value){w.value=!g.value;const r=E(e).split(",");o.value=r.some(u=>{const l=u.includes("not all"),d=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),b=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(d||b);return d&&p&&(p=v>=G(d[1])),b&&p&&(p=v<=G(b[1])),l?!p:p});return}g.value&&(f.value=n.matchMedia(E(e)),o.value=f.value.matches)}),H(f,"change",a,{passive:!0}),V(()=>o.value)}const R=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},j="__vueuse_ssr_handlers__",ge=Se();function Se(){return j in R||(R[j]=R[j]||{}),R[j]}function ye(e,t){return ge[e]||t}function Ee(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Oe={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Z="vueuse-storage";function Me(e,t,n,v={}){var g;const{flush:w="pre",deep:f=!0,listenToStorageChanges:o=!0,writeDefaults:a=!0,mergeDefaults:r=!1,shallow:u,window:l=T,eventFilter:d,onError:b=s=>{console.error(s)},initOnMounted:p}=v,O=(u?W:ue)(typeof t=="function"?t():t),y=V(()=>E(e));if(!n)try{n=ye("getDefaultStorage",()=>{var s;return(s=T)==null?void 0:s.localStorage})()}catch(s){b(s)}if(!n)return O;const h=E(t),M=Ee(h),I=(g=v.serializer)!=null?g:Oe[M],{pause:J,resume:x}=ne(O,()=>i(O.value),{flush:w,deep:f,eventFilter:d});k(y,()=>S(),{flush:w}),l&&o&&P(()=>{n instanceof Storage?H(l,"storage",S,{passive:!0}):H(l,Z,z),p&&S()}),p||S();function L(s,m){if(l){const c={key:y.value,oldValue:s,newValue:m,storageArea:n};l.dispatchEvent(n instanceof Storage?new StorageEvent("storage",c):new CustomEvent(Z,{detail:c}))}}function i(s){try{const m=n.getItem(y.value);if(s==null)L(m,null),n.removeItem(y.value);else{const c=I.write(s);m!==c&&(n.setItem(y.value,c),L(m,c))}}catch(m){b(m)}}function _(s){const m=s?s.newValue:n.getItem(y.value);if(m==null)return a&&h!=null&&n.setItem(y.value,I.write(h)),h;if(!s&&r){const c=I.read(m);return typeof r=="function"?r(c,h):M==="object"&&!Array.isArray(c)?{...h,...c}:c}else return typeof m!="string"?m:I.read(m)}function S(s){if(!(s&&s.storageArea!==n)){if(s&&s.key==null){O.value=h;return}if(!(s&&s.key!==y.value)){J();try{s?.newValue!==I.write(O.value)&&(O.value=_(s))}catch(m){b(m)}finally{s?ce(x):x()}}}}function z(s){S(s.detail)}return O}function Ie(e,t,n={}){const{window:v=T,...g}=n;let w;const f=B(()=>v&&"ResizeObserver"in v),o=()=>{w&&(w.disconnect(),w=void 0)},a=V(()=>{const l=E(e);return Array.isArray(l)?l.map(d=>D(d)):[D(l)]}),r=k(a,l=>{if(o(),f.value&&v){w=new ResizeObserver(t);for(const d of l)d&&w.observe(d,g)}},{immediate:!0,flush:"post"}),u=()=>{o(),r()};return Y(u),{isSupported:f,stop:u}}function Ne(e,t,n={}){const{root:v,rootMargin:g="0px",threshold:w=0,window:f=T,immediate:o=!0}=n,a=B(()=>f&&"IntersectionObserver"in f),r=V(()=>{const p=E(e);return F(p).map(D).filter(ie)});let u=C;const l=W(o),d=a.value?k(()=>[r.value,D(v),l.value],([p,O])=>
1{if(u(),!l.value||!p.length)return;const y=new IntersectionObserver(t,{root:D(O),rootMargin:g,threshold:w});p.forEach(h=>h&&y.observe(h)),u=()=>{y.disconnect(),u=C}},{immediate:o,flush:"post"}):C,b=()=>{u(),d(),l.value=!1};return Y(b),{isSupported:a,isActive:l,pause(){u(),l.value=!1},resume(){l.value=!0},stop:b}}const q=1;function We(e,t={}){const{throttle:n=0,idle:v=200,onStop:g=C,onScroll:w=C,offset:f={left:0,right:0,top:0,bottom:0},eventListenerOptions:o={capture:!1,passive:!0},behavior:a="auto",window:r=T,onError:u=i=>{console.error(i)}}=t,l=W(0),d=W(0),b=V({get(){return l.value},set(i){O(i,void 0)}}),p=V({get(){return d.value},set(i){O(void 0,i)}});function O(i,_){var S,z,s,m;if(!r)return;const c=E(e);if(!c)return;(s=c instanceof Document?r.document.body:c)==null||s.scrollTo({top:(S=E(_))!=null?S:p.value,left:(z=E(i))!=null?z:b.value,behavior:E(a)});const N=((m=c?.document)==null?void 0:m.documentElement)||c?.documentElement||c;b!=null&&(l.value=N.scrollLeft),p!=null&&(d.value=N.scrollTop)}const y=W(!1),h=U({left:!0,right:!1,top:!0,bottom:!1}),M=U({left:!1,right:!1,top:!1,bottom:!1}),I=i=>{y.value&&(y.value=!1,M.left=!1,M.right=!1,M.top=!1,M.bottom=!1,g(i))},J=le(I,n+v),x=i=>{var _;if(!r)return;const S=((_=i?.document)==null?void 0:_.documentElement)||i?.documentElement||D(i),{display:z,flexDirection:s,direction:m}=getComputedStyle(S),c=m==="rtl"?-1:1,N=S.scrollLeft;M.left=N<l.value,M.right=N>l.value;const Q=Math.abs(N*c)<=(f.left||0),X=Math.abs(N*c)+S.clientWidth>=S.scrollWidth-(f.right||0)-q;z==="flex"&&s==="row-reverse"?(h.left=X,h.right=Q):(h.left=Q,h.right=X),l.value=N;let A=S.scrollTop;i===r.document&&!A&&(A=r.document.body.scrollTop),M.top=A<d.value,M.bottom=A>d.value;const K=Math.abs(A)<=(f.top||0),$=Math.abs(A)+S.clientHeight>=S.scrollHeight-(f.bottom||0)-q;z==="flex"&&s==="column-reverse"?(h.top=$,h.bottom=K):(h.top=K,h.bottom=$),d.value=A},L=i=>{var _;if(!r)return;const S=(_=i.target.documentElement)!=null?_:i.target;x(S),y.value=!0,J(i),w(i)};return H(e,"scroll",n?oe(L,n,!0,!1):L,o),P(()=>{try{const i=E(e);if(!i)return;x(i)}catch(i){u(i)}}),H(e,"scrollend",I,o),{x:b,y:p,isScrolling:y,arrivedState:h,directions:M,measure(){const i=E(e);r&&i&&x(i)}}}function Ve(e,t,n={}){const{window:v=T}=n;return Me(e,t,v?.localStorage,n)}function ze(e={}){const{window:t=T,...n}=e;return We(t,n)}function Ae(e={}){const{window:t=T,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:v=Number.POSITIVE_INFINITY,listenOrientation:g=!0,includeScrollbar:w=!0,type:f="inner"}=e,o=W(n),a=W(v),r=()=>{if(t)if(f==="outer")o.value=t.outerWidth,a.value=t.outerHeight;else if(f==="visual"&&t.visualViewport){const{width:l,height:d,scale:b}=t.visualViewport;o.value=Math.round(l*b),a.value=Math.round(d*b)}else w?(o.value=t.innerWidth,a.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight)};r(),P(r);const u={passive:!0};if(H("resize",r,u),t&&f==="visual"&&t.visualViewport&&H(t.visualViewport,"resize",r,u),g){const l=be("(orientation: portrait)");k(l,()=>r())}return{width:o,height:a}}export{Ve as a,Ne as b,be as c,ze as d,Ie as e,H as f,We as g,Ae 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.