1import{En as e,H as t,Ht as n,J as r,L as i,_n as a,an as o,bn as s,ct as c,ft as l,in as u,it as d,nn as f,pn as p,tt as m,un as h,vn as g,wn as _,xn as v}from"./CrzdsfCC.js";function y(e,t){return o()?(p(e,t),!0):!1}function b(e){let t=!1,n,r=u(!0);return((...i)=>(t||=(n=r.run(()=>e(...i)),!0),n))}var x=new WeakMap,S=(...e)=>{let n=e[0],a=i()?.proxy??o();if(a==null&&!t())throw Error(`injectLocal must be called in setup`);return a&&x.has(a)&&n in x.get(a)?x.get(a)[n]:r(...e)},C=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var w=e=>e!==void 0,T=e=>e!=null,E=Object.prototype.toString,D=e=>E.call(e)===`[object Object]`,O=()=>{},k=A();function A(){var e,t;return C&&!!((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 j(...e){if(e.length!==1)return _(...e);let t=e[0];return typeof t==`function`?a(f(()=>({get:t,set:O}))):g(t)}function M(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`cancel`in e&&Object.assign(n,{cancel:e.cancel,flush:e.flush,isPending:e.isPending}),n}var N=e=>e();function P(t,n={}){let r,i,a=O,o=O,c=v(!1),l=e=>{clearTimeout(e),a(),a=O},u;return Object.assign(s=>{let d=e(t),f=e(n.maxWait);return r&&l(r),d<=0||f!==void 0&&f<=0?(i&&=(l(i),void 0),c.value=!1,Promise.resolve(s())):(c.value=!0,new Promise((e,t)=>{a=n.rejectOnCancel?t:e,o=e,u=s,f&&!i&&(i=setTimeout(()=>{r&&l(r),i=void 0,c.value=!1,e(u())},f)),r=setTimeout(()=>{i&&l(i),i=void 0,c.value=!1,e(s())},d)}))},{cancel:()=>{r&&=(l(r),void 0),i&&=(l(i),void 0),c.value=!1,o=O},flush:()=>
1{if(c.value){r&&=(clearTimeout(r),void 0),i&&=(clearTimeout(i),void 0),c.value=!1;let e=o;a=O,o=O,e(u())}},isPending:s(c)})}function F(...t){let n=0,r,i=!0,a=O,o,s,c,l,u;!h(t[0])&&typeof t[0]==`object`?{delay:s,trailing:c=!0,leading:l=!0,rejectOnCancel:u=!1}=t[0]:[s,c=!0,l=!0,u=!1]=t;let d=()=>{r&&(clearTimeout(r),r=void 0,a(),a=O)};return t=>{let f=e(s),p=Date.now()-n,m=()=>o=t();return d(),f<=0?(n=Date.now(),m()):(p>f?(n=Date.now(),(l||!i)&&m()):c&&(o=new Promise((e,t)=>{a=u?t:e,r=setTimeout(()=>{n=Date.now(),i=!0,e(m()),d()},Math.max(0,f-p))})),!l&&!r&&(r=setTimeout(()=>i=!0,f)),i=!1,o)}}function I(e=N,t={}){let{initialState:n=`active`}=t,r=j(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:s(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function L(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function R(e){return Array.isArray(e)?e:[e]}function z(e){return e||i()}function B(e){if(!C)return e;let t=0,n,r,i=()=>{--t,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return((...a)=>(t+=1,r||(r=u(!0),n=r.run(()=>e(...a))),y(i),n))}function V(e,t=200,n={}){return M(P(t,n),e)}function H(e,t=200,n=!1,r=!0,i=!1){return M(F(t,n,r,i),e)}function U(e,t,r={}){let{eventFilter:i=N,...a}=r;return n(e,M(i,t),a)}function W(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=I(r,{initialState:i});return{stop:U(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function G(e,t){z(t)&&d(e,t)}function K(e,t=!0,n){z(n)?c(e,n):t?e():m(e)}function q(e,t){z(t)&&l(e,t)}function J(t,r=1e3,i={}){let{immediate:a=!0,immediateCallback:o=!1}=i,c=null,l=v(!1);function u(){c&&=(clearInterval(c),null)}function d(){l.value=!1,u()}function f(){let n=e(r);n<=0||(l.value=!0,o&&t(),u(),l.value&&(c=setInterval(t,n)))}return a&&C&&f(),(h(r)||typeof r==`function`)&&y(n(r,()=>{l.value&&C&&f()})),y(d),{isActive:s(l),pause:d,resume:f}}function Y(e,t,r){return n(e,t,{...r,immediate:!0})}function X(e,t,r){return n(e,t,{...r,once:!0})}export{J as _,w as a,X as b,O as c,R as d,G as f,V as g,q as h,C as i,T as l,y as m,B as n,k as o,K as p,S as r,D as s,b as t,L as u,H as v,W as x,Y 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.