import{aq as n,ar as t,f as i}from"./index-d052b22f-1780912037814v=1.0.0.js";var e;const o="undefined"!=typeof window,r=n=>"string"==typeof n,a=()=>{};function u(i){return!!n()&&(t(i),!0)}function s(n,t=200,e={}){return function(n,t){return function(...i){n((()=>t.apply(this,i)),{fn:t,thisArg:this,args:i})}}(function(n,t={}){let e,o;return r=>{const a=i(n),u=i(t.maxWait);if(e&&clearTimeout(e),a<=0||void 0!==u&&u<=0)return o&&(clearTimeout(o),o=null),r();u&&!o&&(o=setTimeout((()=>{e&&clearTimeout(e),o=null,r()}),u)),e=setTimeout((()=>{o&&clearTimeout(o),o=null,r()}),a)}}(t,e),n)}o&&(null==(e=null==window?void 0:window.navigator)?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);export{r as a,o as i,a as n,u as t,s as u};
