1import{z as y,ad as I,N as L,L as M,e as b,M as w,m,B as g,ae as W,l as O}from"./Bk_0yVAb.js";function E(e){return L()?(M(e),!0):!1}function h(e){return typeof e=="function"?e():b(e)}const N=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const T=Object.prototype.toString,A=e=>T.call(e)==="[object Object]",C=()=>{};function j(e){return w()}function k(e,t=!0,n){j()?y(e,n):t?e():I(e)}function z(e){var t;const n=h(e);return(t=n==null?void 0:n.$el)!=null?t:n}const v=N?window:void 0;function H(...e){let t,n,o,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,i]=e,t=v):[t,n,o,i]=e,!t)return C;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const s=[],r=()=>{s.forEach(c=>c()),s.length=0},u=(c,d,f,p)=>(c.addEventListener(d,f,p),()=>c.removeEventListener(d,f,p)),a=g(()=>[z(t),h(i)],([c,d])=>{if(r(),!c)return;const f=A(d)?{...d}:d;s.push(...n.flatMap(p=>o.map(S=>u(c,p,S,f))))},{immediate:!0,flush:"post"}),l=()=>{a(),r()};return E(l),l}function V(){const e=m(!1),t=w();return t&&y(()=>{e.value=!0},t),e}function _(e){const t=V();return O(()=>(t.value,!!e()))}function x(e,t={}){const{window:n=v}=t,o=_(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const s=m(!1),r=l=>{s.value=l.matches},u=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",r):i.removeListener(r))},a=W(()=>{o.value&&(u(),i=n.matchMedia(h(e)),"addEventListener"in i?i.addEventListener("change",r):i.addListener(r),s.value=i.matches)});return E(()=>{a(),u(),i=void 0}),s}function D(e={}){const{window:t=v,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:s=!0}=e,r=m(n),u=m(o),a=()=>{t&&(s?(r.value=t.innerWidth,u.value=t.innerHeight):(r.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight))};if(a(),k(a),H("resize",a,{passive:!0}),i){const l=x("(orientation: portrait)");g(l,()=>a())}return{width:r,height:u}}export{D 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.