1import{g as E,B as x,C as M,R as F,S as P,a_ as g,bc as j,aZ as V,P as m,r as W,p as v,ba as y,x as N,f as C}from"./D8PiJXAC.js";import{B as L}from"./D7GBweQ6.js";function B(t){return F()?(P(t),!0):!1}const w=new WeakMap,z=(...t)=>{var e;const n=t[0],i=(e=g())==null?void 0:e.proxy;if(i==null&&!j())throw new Error("injectLocal must be called in setup");return i&&w.has(i)&&n in w.get(i)?w.get(i)[n]:V(...t)},A=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const H=Object.prototype.toString,R=t=>H.call(t)==="[object Object]",O=()=>{};function k(t,e){function n(...i){return new Promise((s,l)=>{Promise.resolve(t(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})).then(s).catch(l)})}return n}const D=t=>t();function G(t,e={}){let n,i,s=O;const l=o=>{clearTimeout(o),s(),s=O};let c;return o=>{const u=m(t),a=m(e.maxWait);return n&&l(n),u<=0||a!==void 0&&a<=0?(i&&(l(i),i=null),Promise.resolve(o())):new Promise((d,f)=>{s=e.rejectOnCancel?f:d,c=o,a&&!i&&(i=setTimeout(()=>{n&&l(n),i=null,d(c())},a)),n=setTimeout(()=>{i&&l(i),i=null,d(o())},u)})}}function T(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function Q(t){return g()}function b(t){return Array.isArray(t)?t:[t]}function Y(t,e,n={}){const{eventFilter:i=D,...s}=n;return M(t,k(i,e),s)}function K(t,e=!0,n){Q()?E(t,n):e?t():x(t)}function it(t,e,n={}){const{debounce:i=0,maxWait:s=void 0,...l}=n;return Y(t,e,{...l,eventFilter:G(i,{maxWait:s})})}function Z(t,e,n){return M(t,e,{...n,immediate:!0})}const I=A?window:void 0;function _(t){var e;const n=m(t);return(e=n==null?void 0:n.$el)!=null?e:n}function S(...t){const e=[],n=()=>{e.forEach(r=>r()),e.length=0},i=(r,o,u,a)=>(r.addEventListener(o,u,a),()=>r.removeEventListener(o,u,a)),s=v(()=>{const r=b(m(t[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0}),l=Z(()=>{var r,o;return[(o=(r=s.value)==null?void 0:r.map(u=>_(u)))!=null?o:[I].filter(u=>u!=null),b(m(s.value?t[1]:t[0])),b(C(s.value?t[2]:t[1])),m(s.value?t[3]:t[2])]},([r,o,u,a])=>{if(n(),!(r!=null&&r.length)||!(o!=null&&o.length)||!(u!=null&&u.length))return;const d=R(a)?{...a}:a;e.push(...r.flatMap(f=>o.flatMap(h=>u.map(p=>i(f,h,p,d)))))},{flush:"post"}),c=()=>{l(),n()};return B(n),c}function $(){const t=y(!1),e=g();return e&&E(()=>{t.value=!0},e),t}function J(t){const e=$();return v(()=>(e.value,!!t()))}const U=Symbol("vueuse-ssr-width");function X(){const t=j()?z(U,null):null;return typeof t=="number"?t:void 0}function q(t,e={}){const{window:n=I,ssrWidth:i=X()}=e,s=J(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),l=W(typeof i=="number"),c=y(),r=y(!1),o=u=>{r.value=u.matches};return N(()=>{if(l.value){l.value=!s.value;const u=m(t).split(",");r.value=u.some(a=>{const d=a.includes("not all"),f=a.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=a.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||h);return f&&p&&(p=i>=T(f[1])),h&&p&&(p=i<=T(h[1])),d?!p:p});return}s.value&&(c.value=n.matchMedia(m(t)),r.value=c.value.matches)}),S(c,"change",o,{passive:!0}),v(()=>r.value)}function tt(t={}){const{window:e=I,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:l=!0,type:c="inner"}=t,r=W(n),o=W(i),u=()=>{if(e)if(c==="outer")r.value=e.outerWidth,o.value=e.outerHeight;else if(c==="visual"&&e.visualViewport){const{width:d,height:f,scale:h}
1=e.visualViewport;r.value=Math.round(d*h),o.value=Math.round(f*h)}else l?(r.value=e.innerWidth,o.value=e.innerHeight):(r.value=e.document.documentElement.clientWidth,o.value=e.document.documentElement.clientHeight)};u(),K(u);const a={passive:!0};if(S("resize",u,a),e&&c==="visual"&&e.visualViewport&&S(e.visualViewport,"resize",u,a),s){const d=q("(orientation: portrait)");M(d,()=>u())}return{width:r,height:o}}function ot(){const{width:t}=tt(),e=v(()=>t.value<=L);return{windowWidth:t,isMobile:e}}export{ot as u,it 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.