import{i as r}from"./p-CK4jS9_E.js";import{d as n}from"./p-f_1nwOC8.js";import{e as t,l as u}from"./p-DTNvx8HZ.js";import{S as o}from"./p-BJQylLSL.js";import{i}from"./p-B8VKuhvH.js";import{b as a}from"./p-BgPHaiMH.js";import{i as e}from"./p-oiMYqRQ0.js";var f,s,c,v=Date.now,m=n?function(r,t){return n(r,"toString",{configurable:!0,enumerable:!1,value:(u=t,function(){return u}),writable:!0});var u}:r,p=(f=m,s=0,c=0,function(){var r=v(),n=16-(r-c);if(c=r,n>0){if(++s>=800)return arguments[0]}else s=0;return f.apply(void 0,arguments)});function l(r){return r!=r}function j(r,n){return!(null==r||!r.length)&&function(r,n){return n==n?function(r,n){for(var t=-1,u=r.length;++t<u;)if(r[t]===n)return t;return-1}(r,n):function(r,n){for(var t=r.length,u=-1;++u<t;)if(n(r[u],u,r))return u;return-1}(r,l)}(r,n)>-1}var b=Math.max;function d(n,t){return p(function(r,n,t){return n=b(void 0===n?r.length-1:n,0),function(){for(var u=arguments,o=-1,i=b(u.length-n,0),a=Array(i);++o<i;)a[o]=u[n+o];o=-1;for(var e=Array(n+1);++o<n;)e[o]=u[o];return e[n]=t(a),function(r,n,t){switch(t.length){case 0:return r.call(n);case 1:return r.call(n,t[0]);case 2:return r.call(n,t[0],t[1]);case 3:return r.call(n,t[0],t[1],t[2])}return r.apply(n,t)}(r,this,e)}}(n,t,r),n+"")}var h=o?o.isConcatSpreadable:void 0;function H(r){return i(r)||t(r)||!!(h&&r&&r[h])}function S(r,n,t,o,i){var a=-1,e=r.length;for(t||(t=H),i||(i=[]);++a<e;){var f=r[a];t(f)&&u(i,f)}return i}function g(r){return e(r)&&a(r)}export{j as a,d as b,S as c,g as i}