1import{A as e,Ct as t,Dt as n,F as r,G as i,N as a,P as o,St as s,Tt as c,_t as l,at as u,bt as d,dt as f,ft as p,ht as m,lt as h,yt as g,z as _}from"./BnoOFvFM.js";p(),o();function v(e){return f()?(l(e),!0):!1}var y=new WeakMap,b=(...t)=>{let n=t[0],i=e()?.proxy;if(i==null&&!a())throw Error(`injectLocal must be called in setup`);return i&&y.has(i)&&n in y.get(i)?y.get(i)[n]:r(...t)},x=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var S=e=>e!=null,C=Object.prototype.toString,w=e=>C.call(e)===`[object Object]`,T=()=>+Date.now(),E=()=>{};function D(...e){if(e.length!==1)return c(...e);let t=e[0];return typeof t==`function`?g(h(()=>({get:t,set:E}))):d(t)}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 r,i,a=E,o=e=>{clearTimeout(e),a(),a=E},s;return c=>{let l=n(e),u=n(t.maxWait);return r&&o(r),l<=0||u!==void 0&&u<=0?(i&&=(o(i),void 0),Promise.resolve(c())):new Promise((e,n)=>{a=t.rejectOnCancel?n:e,s=c,u&&!i&&(i=setTimeout(()=>{r&&o(r),i=void 0,e(s())},u)),r=setTimeout(()=>{i&&o(i),i=void 0,e(c())},l)})}}function j(...e){let t=0,r,i=!0,a=E,o,s,c,l,u;!m(e[0])&&typeof e[0]==`object`?{delay:s,trailing:c=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[s,c=!0,l=!0,u=!1]=e;let d=()=>{r&&(clearTimeout(r),r=void 0,a(),a=E)};return e=>{let f=n(s),p=Date.now()-t,m=()=>o=e();return d(),f<=0?(t=Date.now(),m()):(p>f&&(l||!i)?(t=Date.now(),m()):c&&(o=new Promise((e,n)=>{a=u?n:e,r=setTimeout(()=>{t=Date.now(),i=!0,e(m()),d()},Math.max(0,f-p))})),!l&&!r&&(r=setTimeout(()=>i=!0,f)),i=!1,o)}}function M(e=k,t={}){let{initialState:n=`active`}=t,r=D(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:g(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function N(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{setTimeout(t?()=>i(n):r,e)})}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(t){return t||e()}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 u(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,n={}){let{flush:r=`sync`,deep:i=!1,immediate:a=!0}=n,o=I(t);return u(e,e=>o.forEach(t=>t.value=e),{flush:r,deep:i,immediate:a})}function U(e,t=!0,n){L(n)?i(e,n):t?e():_(e)}function W(e,t=!1){function r(r,{flush:i=`sync`,deep:a=!1,timeout:o,throwOnTimeout:s}={}){let c=null,l=[new Promise(n=>{c=u(e,e=>{r(e)!==t&&(c?c():_(()=>c?.()),n(e))},{flush:i,deep:a,immediate:!0})})];return o!=null&&l.push(N(o,s).then(()=>n(e)).finally(()=>c?.())),Promise.race(l)}function i(i,a){if(!m(i))return r(e=>e===i,a);let{flush:o=`sync`,deep:s=!1,timeout:c,throwOnTimeout:l}=a??{},d=null,f=[new Promise(n=>{d=u([e,i],([e,r])=>{t!==(e===r)&&(d?d():_(()=>d?.()),n(e))},{flush:o,deep:s,immediate:!0})})];return c!=null&&f.push(N(c,l).then(()=>n(e)).finally(()=>(d?.(),n(e)))),Promise.race(f)}function a(e){return r(e=>!!e,e)}function o(e){return i(null,e)}function s(e){return i(void 0,e)}function c(e){return r(Number.isNaN,e)}function l(e,t){return r(t=>{let r=Array.from(t);return r.includes(e)||r.includes(n(e))},t)}function d(e){return f(1,e)}function f(e=1,t){let n=-1;return r(()=>(n+=1,n>=e),t)}return Array.isArray(n(e))?{toMatch:r,toContains:l,changed:d,changedTimes:f,get not(){return W(e,!t)}}:{toMatch:r,toBe:i,toBeTruthy:a,toBeNull:o,toBeNaN:c,toBeUndefined:s,changed:d,changedTimes:f,get not(){return W(e,!t)}}}function G(e){return W(e)}function K(e,r,i={}){let{immediate:a=!0,immediateCallback:o=!1}=i,c=t(!1),l;function u(){l&&=(clearTimeout(l),void 0)}function d(){c.value=!1,u()}
1function f(...t){o&&e(),u(),c.value=!0,l=setTimeout(()=>{c.value=!1,l=void 0,e(...t)},n(r))}return a&&(c.value=!0,x&&f()),v(d),{isPending:s(c),start:f,stop:d}}function q(e,t,n){return u(e,t,{...n,immediate:!0})}export{V as S,G as _,w as a,K as b,N as c,j as d,T as f,v as g,U as h,x as i,F as l,D as m,P as n,E as o,I as p,b as r,S as s,O as t,H as u,R as v,q as x,z 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.