1import{aT as w,aU as S,aV as T,G as h,au as p,ap as j,N as v}from"./Bcc8-a-q.js";function m(e){return S()?(T(e),!0):!1}function I(e){let n=0,o,t;const i=()=>{n-=1,t&&n<=0&&(t.stop(),o=void 0,t=void 0)};return(...r)=>(n+=1,t||(t=w(!0),o=t.run(()=>e(...r))),m(i),o)}const d=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const O=e=>typeof e<"u",W=e=>e!=null,D=Object.prototype.toString,x=e=>D.call(e)==="[object Object]",F=()=>+Date.now(),b=()=>{};function g(e,n){function o(...t){return new Promise((i,r)=>{Promise.resolve(e(()=>n.apply(this,t),{fn:n,thisArg:this,args:t})).then(i).catch(r)})}return o}function A(e,n={}){let o,t,i=b;const r=u=>{clearTimeout(u),i(),i=b};let a;return u=>{const c=p(e),s=p(n.maxWait);return o&&r(o),c<=0||s!==void 0&&s<=0?(t&&(r(t),t=null),Promise.resolve(u())):new Promise((f,y)=>{i=n.rejectOnCancel?y:f,a=u,s&&!t&&(t=setTimeout(()=>{o&&r(o),t=null,f(a())},s)),o=setTimeout(()=>{t&&r(t),t=null,f(u())},c)})}}function P(e){return Array.isArray(e)?e:[e]}function G(e,n=200,o={}){return g(A(n,o),e)}function R(e,n=1e3,o={}){const{immediate:t=!0,immediateCallback:i=!1}=o;let r=null;const a=j(!1);function l(){r&&(clearInterval(r),r=null)}function u(){a.value=!1,l()}function c(){const s=p(n);s<=0||(a.value=!0,i&&e(),l(),a.value&&(r=setInterval(e,s)))}if(t&&d&&c(),v(n)||typeof n=="function"){const s=h(n,()=>{a.value&&d&&c()});m(s)}return m(u),{isActive:a,pause:u,resume:c}}function V(e,n,o){return h(e,n,{...o,immediate:!0})}export{m as a,x as b,I as c,d,W as e,R as f,F as g,O as i,b as n,P as t,G as u,V 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.