import{g as F}from"./index-BP8_t0zE.js";import{A as M,e as h,B as C,a as T,l as x,m as B,C as G,D,b as m,E as I,F as S}from"./assertThisInitialized-ClXgY4BW.js";import{_ as V,a as w,b as E,c as L,d as q,e as R}from"./_copyObject-Dr_k0OJK.js";import{i as H}from"./isArrayLikeObject-WBq23Ido.js";import{k as y}from"./identity-B2iMGpmP.js";import{_ as J,a as K}from"./_isIterateeCall-D0xvKagp.js";var N=M,Q=h;function U(e,r,a){(a!==void 0&&!Q(e[r],a)||a===void 0&&!(r in e))&&N(e,r,a)}var A=U;function W(e){return function(r,a,l){for(var s=-1,t=Object(r),f=l(r),n=f.length;n--;){var i=f[e?n:++s];if(a(t[i],i,t)===!1)break}return r}}var X=W,Y=X,Z=Y(),z=Z,k=C,ee=V,re=T,ae="[object Object]",ne=Function.prototype,te=Object.prototype,$=ne.toString,ie=te.hasOwnProperty,se=$.call(Object);function fe(e){if(!re(e)||k(e)!=ae)return!1;var r=ee(e);if(r===null)return!0;var a=ie.call(r,"constructor")&&r.constructor;return typeof a=="function"&&a instanceof a&&$.call(a)==se}var oe=fe;function le(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}var j=le,ue=w,ge=y;function ce(e){return ue(e,ge(e))}var _e=ce,b=A,pe=E,be=L,ve=q,de=R,v=x,d=B,Oe=H,me=G,ye=D,Ae=m,$e=oe,je=I,O=j,Pe=_e;function Fe(e,r,a,l,s,t,f){var n=O(e,a),i=O(r,a),_=f.get(i);if(_){b(e,a,_);return}var o=t?t(n,i,a+"",e,r,f):void 0,u=o===void 0;if(u){var g=d(i),c=!g&&me(i),p=!g&&!c&&je(i);o=i,g||c||p?d(n)?o=n:Oe(n)?o=ve(n):c?(u=!1,o=pe(i,!0)):p?(u=!1,o=be(i,!0)):o=[]:$e(i)||v(i)?(o=n,v(n)?o=Pe(n):(!Ae(n)||ye(n))&&(o=de(i))):u=!1}u&&(f.set(i,o),s(o,i,l,t,f),f.delete(i)),b(e,a,o)}var Me=Fe,he=S,Ce=A,Te=z,xe=Me,Be=m,Ge=y,De=j;function P(e,r,a,l,s){e!==r&&Te(r,function(t,f){if(s||(s=new he),Be(t))xe(e,r,f,a,P,l,s);else{var n=l?l(De(e,f),t,f+"",e,r,s):void 0;n===void 0&&(n=t),Ce(e,f,n)}},Ge)}var Ie=P,Se=J,Ve=K;function we(e){return Se(function(r,a){var l=-1,s=a.length,t=s>1?a[s-1]:void 0,f=s>2?a[2]:void 0;for(t=e.length>3&&typeof t=="function"?(s--,t):void 0,f&&Ve(a[0],a[1],f)&&(t=s<3?void 0:t,s=1),r=Object(r);++l<s;){var n=a[l];n&&e(r,n,l,t)}return r})}var Ee=we,Le=Ie,qe=Ee,Re=qe(function(e,r,a){Le(e,r,a)}),He=Re;const Xe=F(He);export{Xe as m};
