var Ke=typeof global=="object"&&global&&global.Object===Object&&global;const ue=Ke;var Je=typeof self=="object"&&self&&self.Object===Object&&self,Xe=ue||Je||Function("return this")();const $=Xe;var Ye=$.Symbol;const C=Ye;var oe=Object.prototype,qe=oe.hasOwnProperty,Qe=oe.toString,H=C?C.toStringTag:void 0;function Ve(r){var e=qe.call(r,H),n=r[H];try{r[H]=void 0;var t=!0}catch{}var a=Qe.call(r);return t&&(e?r[H]=n:delete r[H]),a}var ke=Object.prototype,rn=ke.toString;function en(r){return rn.call(r)}var nn="[object Null]",tn="[object Undefined]",Sr=C?C.toStringTag:void 0;function M(r){return r==null?r===void 0?tn:nn:Sr&&Sr in Object(r)?Ve(r):en(r)}function E(r){return r!=null&&typeof r=="object"}var an="[object Symbol]";function rr(r){return typeof r=="symbol"||E(r)&&M(r)==an}function fe(r,e){for(var n=-1,t=r==null?0:r.length,a=Array(t);++n0){if(++e>=Hn)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function Zn(r){return function(){return r}}var Kn=function(){try{var r=U(Object,"defineProperty");return r({},"",{}),r}catch{}}();const Y=Kn;var Jn=Y?function(r,e){return Y(r,"toString",{configurable:!0,enumerable:!1,value:Zn(e),writable:!0})}:vr;const Xn=Jn;var Yn=Wn(Xn);const qn=Yn;var Qn=9007199254740991,Vn=/^(?:0|[1-9]\d*)$/;function yr(r,e){var n=typeof r;return e=e??Qn,!!e&&(n=="number"||n!="symbol"&&Vn.test(r))&&r>-1&&r%1==0&&r-1&&r%1==0&&r<=it}function j(r){return r!=null&&_r(r.length)&&!br(r)}function ut(r,e,n){if(!_(n))return!1;var t=typeof e;return(t=="number"?j(n)&&yr(e,n.length):t=="string"&&e in n)?Z(n[e],r):!1}function ot(r){return at(function(e,n){var t=-1,a=n.length,i=a>1?n[a-1]:void 0,o=a>2?n[2]:void 0;for(i=r.length>3&&typeof i=="function"?(a--,i):void 0,o&&ut(n[0],n[1],o)&&(i=a<3?void 0:i,a=1),e=Object(e);++t-1}function ma(r,e){var n=this.__data__,t=er(n,r);return t<0?(++this.size,n.push([r,e])):n[t][1]=e,this}function A(r){var e=-1,n=r==null?0:r.length;for(this.clear();++ea?0:a+e),n=n>a?a:n,n<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(a);++t=t?r:Ya(r,e,n)}var Qa="\\ud800-\\udfff",Va="\\u0300-\\u036f",ka="\\ufe20-\\ufe2f",ri="\\u20d0-\\u20ff",ei=Va+ka+ri,ni="\\ufe0e\\ufe0f",ti="\\u200d",ai=RegExp("["+ti+Qa+ei+ni+"]");function _e(r){return ai.test(r)}function ii(r){return r.split("")}var $e="\\ud800-\\udfff",ui="\\u0300-\\u036f",oi="\\ufe20-\\ufe2f",fi="\\u20d0-\\u20ff",si=ui+oi+fi,ci="\\ufe0e\\ufe0f",di="["+$e+"]",sr="["+si+"]",cr="\\ud83c[\\udffb-\\udfff]",li="(?:"+sr+"|"+cr+")",Te="[^"+$e+"]",Oe="(?:\\ud83c[\\udde6-\\uddff]){2}",me="[\\ud800-\\udbff][\\udc00-\\udfff]",pi="\\u200d",Ae=li+"?",we="["+ci+"]?",gi="(?:"+pi+"(?:"+[Te,Oe,me].join("|")+")"+we+Ae+")*",hi=we+Ae+gi,vi="(?:"+[Te+sr+"?",sr,Oe,me,di].join("|")+")",bi=RegExp(cr+"(?="+cr+")|"+vi+hi,"g");function yi(r){return r.match(bi)||[]}function xi(r){return _e(r)?yi(r):ii(r)}function _i(r){return function(e){e=F(e);var n=_e(e)?xi(e):void 0,t=n?n[0]:e.charAt(0),a=n?qa(n,1).join(""):e.slice(1);return t[r]()+a}}var $i=_i("toUpperCase");const rf=$i;function Ti(r,e,n,t){var a=-1,i=r==null?0:r.length;for(t&&i&&(n=r[++a]);++au))return!1;var s=i.get(r),c=i.get(e);if(s&&c)return s==e&&c==r;var l=-1,d=!0,h=n&Yu?new k:void 0;for(i.set(r,e),i.set(e,r);++l=e||S<0||l&&G>=i}function y(){var g=or();if(T(g))return O(g);u=setTimeout(y,b(g))}function O(g){return u=void 0,d&&t?h(g):(t=a=void 0,o)}function K(){u!==void 0&&clearTimeout(u),s=0,t=f=a=u=void 0}function N(){return u===void 0?o:O(or())}function P(){var g=or(),S=T(g);if(t=arguments,a=this,f=g,S){if(u===void 0)return v(f);if(l)return clearTimeout(u),u=setTimeout(y,e),h(f)}return u===void 0&&(u=setTimeout(y,e)),o}return P.cancel=K,P.flush=N,P}function gr(r,e,n){(n!==void 0&&!Z(r[e],n)||n===void 0&&!(e in r))&&xr(r,e,n)}function Ko(r){return E(r)&&j(r)}function hr(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function Jo(r){return nt(r,he(r))}function Xo(r,e,n,t,a,i,o){var u=hr(r,n),f=hr(e,n),s=o.get(f);if(s){gr(r,n,s);return}var c=i?i(u,f,n+"",r,e,o):void 0,l=c===void 0;if(l){var d=x(f),h=!d&&Q(f),v=!d&&!h&&Tr(f);c=f,d||h||v?x(u)?c=u:Ko(u)?c=Gn(u):h?(l=!1,c=Tu(f,!0)):v?(l=!1,c=Hu(f,!0)):c=[]:Xa(f)||q(f)?(c=u,q(u)?c=Jo(u):(!_(u)||br(u))&&(c=zu(f))):l=!1}l&&(o.set(f,c),a(c,f,t,i,o),o.delete(f)),gr(r,n,c)}function Ze(r,e,n,t,a){r!==e&&We(e,function(i,o){if(a||(a=new m),_(i))Xo(r,e,o,n,Ze,t,a);else{var u=t?t(hr(r,o),i,o+"",r,e,a):void 0;u===void 0&&(u=i),gr(r,o,u)}},he)}function Yo(r,e){var n=-1,t=j(r)?Array(r.length):[];return Go(r,function(a,i,o){t[++n]=e(a,i,o)}),t}function ef(r,e){var n=x(r)?fe:Yo;return n(r,Lo(e))}var qo=du(function(r,e,n){return r+(n?"-":"")+e.toLowerCase()});const nf=qo;var Qo=ot(function(r,e,n){Ze(r,e,n)});const tf=Qo;var Vo=gu("round");const af=Vo;var ko="Expected a function";function uf(r,e,n){var t=!0,a=!0;if(typeof r!="function")throw new TypeError(ko);return _(n)&&(t="leading"in n?!!n.leading:t,a="trailing"in n?!!n.trailing:a),Zo(r,e,{leading:t,maxWait:e,trailing:a})}export{ef as a,Ga as g,nf as k,tf as m,af as r,uf as t,rf as u};