1import{Et as e,Ft as t,I as n,It as r,J as i,Nt as a,Ot as o,Rt as s,Ut as c,Vt as l,W as u,jt as d,nt as f,tt as p,xt as m,z as h,zt as g}from"./DidYC9GO.js";function _(e,t){return o()?(a(e,t),!0):!1}var v=new WeakMap,y=(...e)=>{let t=e[0],r=n()?.proxy??o();if(r==null&&!h())throw Error(`injectLocal must be called in setup`);return r&&v.has(r)&&t in v.get(r)?v.get(r)[t]:u(...e)},b=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var x=e=>e!=null,S=Object.prototype.toString,C=e=>S.call(e)===`[object Object]`,w=()=>{},T=E();function E(){var e,t;return b&&!!((e=window)!=null&&(e=e.navigator)!=null&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function D(...n){if(n.length!==1)return l(...n);let i=n[0];return typeof i==`function`?t(e(()=>({get:i,set:w}))):r(i)}function O(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var k=e=>e();function A(e,t={}){let n,r,i=w,a=e=>{clearTimeout(e),i(),i=w},o;return s=>{let l=c(e),u=c(t.maxWait);return n&&a(n),l<=0||u!==void 0&&u<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,c)=>{i=t.rejectOnCancel?c:e,o=s,u&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},u)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},l)})}}function j(...e){let t=0,n,r=!0,i=w,a,o,s,l,u;!d(e[0])&&typeof e[0]==`object`?{delay:o,trailing:s=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[o,s=!0,l=!0,u=!1]=e;let f=()=>{n&&(clearTimeout(n),n=void 0,i(),i=w)};return e=>{let d=c(o),p=Date.now()-t,m=()=>a=e();return f(),d<=0?(t=Date.now(),m()):(p>d?(t=Date.now(),(l||!r)&&m()):s&&(a=new Promise((e,a)=>{i=u?a:e,n=setTimeout(()=>{t=Date.now(),r=!0,e(m()),f()},Math.max(0,d-p))})),!l&&!n&&(n=setTimeout(()=>r=!0,d)),r=!1,a)}}function M(e=k,n={}){let{initialState:r=`active`}=n,i=D(r===`active`);function a(){i.value=!1}function o(){i.value=!0}return{isActive:t(i),pause:a,resume:o,eventFilter:(...t)=>{i.value&&e(...t)}}}function N(e){let t;function n(){return t||=e(),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function P(e,t){if(typeof e==`number`)return e+t;let n=e.match(/^-?\d+\.?\d*/)?.[0]||``,r=e.slice(n.length),i=Number.parseFloat(n)+t;return Number.isNaN(i)?e:i+r}function F(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function I(e){return Array.isArray(e)?e:[e]}function L(e){return e||n()}function R(e,t=200,n={}){return O(A(t,n),e)}function z(e,t=200,n=!1,r=!0,i=!1){return O(j(t,n,r,i),e)}function B(e,t,n={}){let{eventFilter:r=k,...i}=n;return m(e,O(r,t),i)}function V(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=M(r,{initialState:i});return{stop:B(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function H(e,t=!0,n){L(n)?p(e,n):t?e():i(e)}function U(e,t){L(t)&&f(e,t)}function W(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=g(!1),o;function l(){o&&=(clearTimeout(o),void 0)}function u(){a.value=!1,l()}function d(...n){i&&e(),l(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},c(t))}return r&&(a.value=!0,b&&d()),_(u),{isPending:s(a),start:d,stop:u}}function G(e,t,n){return m(e,t,{...n,immediate:!0})}function K(e,t,n){return m(e,t,{...n,once:!0})}function q(e,t,n){let r=m(e,(e,a,o)=>{e&&(n?.once&&i(()=>r()),t(e,a,o))},{...n,once:!1});return r}export{W as _,T as a,V as b,x as c,D as d,H as f,z as g,R as h,b as i,F as l,U as m,P as n,C as o,_ as p,y as r,w as s,N as t,I as u,G as v,q as x,K as y};
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.