import{a as Y,n as x,r as Z,t as s}from"./isObject-DvLSfCY5.js";import{S as P,_ as $,b as rr,c as tr,d as nr,f as A,g as b,m as g,n as S,o as er,p as T,r as or,s as ar,t as ur,v as cr,x as D}from"./_baseFor-DKD1r8uL.js";var F=Object.create,ir=(function(){function r(){}return function(t){if(!s(t))return{};if(F)return F(t);r.prototype=t;var n=new r;return r.prototype=void 0,n}})();function fr(r,t,n){switch(n.length){case 0:return r.call(t);case 1:return r.call(t,n[0]);case 2:return r.call(t,n[0],n[1]);case 3:return r.call(t,n[0],n[1],n[2])}return r.apply(t,n)}var vr=fr;function sr(r,t){var n=-1,e=r.length;for(t||(t=Array(e));++n<e;)t[n]=r[n];return t}var L=sr,lr=800,pr=16,yr=Date.now;function dr(r){var t=0,n=0;return function(){var e=yr(),a=pr-(e-n);if(n=e,a>0){if(++t>=lr)return arguments[0]}else t=0;return r.apply(void 0,arguments)}}var br=dr;function gr(r){return function(){return r}}var M=gr,l=(function(){try{var r=cr(Object,"defineProperty");return r({},"",{}),r}catch{}})(),k=br(l?function(r,t){return l(r,"toString",{configurable:!0,enumerable:!1,value:M(t),writable:!0})}:D);function hr(r,t,n){t=="__proto__"&&l?l(r,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):r[t]=n}var p=hr,mr=Object.prototype.hasOwnProperty;function Or(r,t,n){var e=r[t];(!(mr.call(r,t)&&b(e,n))||n===void 0&&!(t in r))&&p(r,t,n)}var B=Or;function jr(r,t,n,e){var a=!n;n||(n={});for(var u=-1,i=t.length;++u<i;){var o=t[u],c=e?e(n[o],r[o],o,n,r):void 0;c===void 0&&(c=r[o]),a?p(n,o,c):B(n,o,c)}return n}var C=jr,E=Math.max;function wr(r,t,n){return t=E(t===void 0?r.length-1:t,0),function(){for(var e=arguments,a=-1,u=E(e.length-t,0),i=Array(u);++a<u;)i[a]=e[t+a];a=-1;for(var o=Array(t+1);++a<t;)o[a]=e[a];return o[t]=n(i),vr(r,this,o)}}var I=wr;function _r(r,t){return k(I(r,t,D),r+"")}var N=_r;function xr(r,t,n){if(!s(n))return!1;var e=typeof t;return(e=="number"?g(n)&&$(t,n.length):e=="string"&&t in n)?b(n[t],r):!1}var U=xr;function Pr(r){return N(function(t,n){var e=-1,a=n.length,u=a>1?n[a-1]:void 0,i=a>2?n[2]:void 0;for(u=r.length>3&&typeof u=="function"?(a--,u):void 0,i&&U(n[0],n[1],i)&&(u=a<3?void 0:u,a=1),t=Object(t);++e<a;){var o=n[e];o&&r(t,o,e,u)}return t})}var Ar=Pr;function Sr(r){var t=[];if(r!=null)for(var n in Object(r))t.push(n);return t}var Tr=Sr,Dr=Object.prototype.hasOwnProperty;function Fr(r){if(!s(r))return Tr(r);var t=T(r),n=[];for(var e in r)e=="constructor"&&(t||!Dr.call(r,e))||n.push(e);return n}var Lr=Fr;function Mr(r){return g(r)?ar(r,!0):Lr(r)}var h=Mr,m=er(Object.getPrototypeOf,Object),kr="[object Object]",Br=Function.prototype,Cr=Object.prototype,q=Br.toString,Er=Cr.hasOwnProperty,Ir=q.call(Object);function Nr(r){if(!x(r)||Z(r)!=kr)return!1;var t=m(r);if(t===null)return!0;var n=Er.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&q.call(n)==Ir}var Ur=Nr,z=typeof exports=="object"&&exports&&!exports.nodeType&&exports,G=z&&typeof module=="object"&&module&&!module.nodeType&&module,H=G&&G.exports===z?Y.Buffer:void 0,J=H?H.allocUnsafe:void 0;function qr(r,t){if(t)return r.slice();var n=r.length,e=J?J(n):new r.constructor(n);return r.copy(e),e}var K=qr;function zr(r){var t=new r.constructor(r.byteLength);return new S(t).set(new S(r)),t}var Q=zr;function Gr(r,t){var n=t?Q(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.length)}var R=Gr;function Hr(r){return typeof r.constructor=="function"&&!T(r)?ir(m(r)):{}}var V=Hr;function Jr(r,t,n){(n!==void 0&&!b(r[t],n)||n===void 0&&!(t in r))&&p(r,t,n)}var O=Jr;function Kr(r){return x(r)&&g(r)}var W=Kr;function Qr(r,t){if(!(t==="constructor"&&typeof r[t]=="function")&&t!="__proto__")return r[t]}var j=Qr;function Rr(r){return C(r,h(r))}var Vr=Rr;function Wr(r,t,n,e,a,u,i){var o=j(r,n),c=j(t,n),w=i.get(c);if(w){O(r,n,w);return}var f=u?u(o,c,n+"",r,t,i):void 0,v=f===void 0;if(v){var y=P(c),d=!y&&nr(c),_=!y&&!d&&tr(c);f=c,y||d||_?P(o)?f=o:W(o)?f=L(o):d?(v=!1,f=K(c,!0)):_?(v=!1,f=R(c,!0)):f=[]:Ur(c)||A(c)?(f=o,A(o)?f=Vr(o):(!s(o)||rr(o))&&(f=V(c))):v=!1}v&&(i.set(c,f),a(f,c,e,u,i),i.delete(c)),O(r,n,f)}var Xr=Wr;function X(r,t,n,e,a){r!==t&&ur(t,function(u,i){if(a||(a=new or),s(u))Xr(r,t,i,n,X,e,a);else{var o=e?e(j(r,i),u,i+"",r,t,a):void 0;o===void 0&&(o=u),O(r,i,o)}},h)}var Yr=X,Zr=Ar(function(r,t,n){Yr(r,t,n)});export{L as _,Q as a,h as c,I as d,C as f,M as g,k as h,R as i,U as l,p as m,W as n,K as o,B as p,V as r,m as s,Zr as t,N as u};
