import{x as H,y as K,g as S,M as h,u as x,e as F,U as I,h as D,S as L,j as q,i as M}from"./isArrayLikeObject.a4a9229a.js";import{b as J,g as $}from"./_getTag.915d77ee.js";function Q(n){return H(n)?K(n):J(n)}function X(n,e){for(var r=-1,i=e.length,f=n.length;++r<i;)n[f+r]=e[r];return n}function Y(n,e){for(var r=-1,i=n==null?0:n.length,f=0,a=[];++r<i;){var s=n[r];e(s,r,n)&&(a[f++]=s)}return a}function Z(){return[]}var W=Object.prototype,z=W.propertyIsEnumerable,b=Object.getOwnPropertySymbols,V=b?function(n){return n==null?[]:(n=Object(n),Y(b(n),function(e){return z.call(n,e)}))}:Z,j=V;function k(n,e,r){var i=e(n);return S(n)?i:X(i,r(n))}function m(n){return k(n,Q,j)}var nn="__lodash_hash_undefined__";function en(n){return this.__data__.set(n,nn),this}function rn(n){return this.__data__.has(n)}function w(n){var e=-1,r=n==null?0:n.length;for(this.__data__=new h;++e<r;)this.add(n[e])}w.prototype.add=w.prototype.push=en;w.prototype.has=rn;function an(n,e){for(var r=-1,i=n==null?0:n.length;++r<i;)if(e(n[r],r,n))return!0;return!1}function fn(n,e){return n.has(e)}var sn=1,tn=2;function N(n,e,r,i,f,a){var s=r&sn,l=n.length,u=e.length;if(l!=u&&!(s&&u>l))return!1;var g=a.get(n),A=a.get(e);if(g&&A)return g==e&&A==n;var p=-1,t=!0,y=r&tn?new w:void 0;for(a.set(n,e),a.set(e,n);++p<l;){var _=n[p],v=e[p];if(i)var d=s?i(v,_,p,e,n,a):i(_,v,p,n,e,a);if(d!==void 0){if(d)continue;t=!1;break}if(y){if(!an(e,function(o,O){if(!fn(y,O)&&(_===o||f(_,o,r,i,a)))return y.push(O)})){t=!1;break}}else if(!(_===v||f(_,v,r,i,a))){t=!1;break}}return a.delete(n),a.delete(e),t}function un(n){var e=-1,r=Array(n.size);return n.forEach(function(i,f){r[++e]=[f,i]}),r}function ln(n){var e=-1,r=Array(n.size);return n.forEach(function(i){r[++e]=i}),r}var gn=1,pn=2,_n="[object Boolean]",vn="[object Date]",An="[object Error]",yn="[object Map]",dn="[object Number]",on="[object RegExp]",On="[object Set]",Tn="[object String]",Pn="[object Symbol]",cn="[object ArrayBuffer]",wn="[object DataView]",G=x?x.prototype:void 0,E=G?G.valueOf:void 0;function Ln(n,e,r,i,f,a,s){switch(r){case wn:if(n.byteLength!=e.byteLength||n.byteOffset!=e.byteOffset)return!1;n=n.buffer,e=e.buffer;case cn:return!(n.byteLength!=e.byteLength||!a(new I(n),new I(e)));case _n:case vn:case dn:return F(+n,+e);case An:return n.name==e.name&&n.message==e.message;case on:case Tn:return n==e+"";case yn:var l=un;case On:var u=i&gn;if(l||(l=ln),n.size!=e.size&&!u)return!1;var g=s.get(n);if(g)return g==e;i|=pn,s.set(n,e);var A=N(l(n),l(e),i,f,a,s);return s.delete(n),A;case Pn:if(E)return E.call(n)==E.call(e)}return!1}var En=1,Sn=Object.prototype,Rn=Sn.hasOwnProperty;function xn(n,e,r,i,f,a){var s=r&En,l=m(n),u=l.length,g=m(e),A=g.length;if(u!=A&&!s)return!1;for(var p=u;p--;){var t=l[p];if(!(s?t in e:Rn.call(e,t)))return!1}var y=a.get(n),_=a.get(e);if(y&&_)return y==e&&_==n;var v=!0;a.set(n,e),a.set(e,n);for(var d=s;++p<u;){t=l[p];var o=n[t],O=e[t];if(i)var R=s?i(O,o,t,e,n,a):i(o,O,t,n,e,a);if(!(R===void 0?o===O||f(o,O,r,i,a):R)){v=!1;break}d||(d=t=="constructor")}if(v&&!d){var T=n.constructor,P=e.constructor;T!=P&&"constructor"in n&&"constructor"in e&&!(typeof T=="function"&&T instanceof T&&typeof P=="function"&&P instanceof P)&&(v=!1)}return a.delete(n),a.delete(e),v}var In=1,U="[object Arguments]",B="[object Array]",c="[object Object]",Dn=Object.prototype,C=Dn.hasOwnProperty;function Mn(n,e,r,i,f,a){var s=S(n),l=S(e),u=s?B:$(n),g=l?B:$(e);u=u==U?c:u,g=g==U?c:g;var A=u==c,p=g==c,t=u==g;if(t&&D(n)){if(!D(e))return!1;s=!0,A=!1}if(t&&!A)return a||(a=new L),s||q(n)?N(n,e,r,i,f,a):Ln(n,e,u,r,i,f,a);if(!(r&In)){var y=A&&C.call(n,"__wrapped__"),_=p&&C.call(e,"__wrapped__");if(y||_){var v=y?n.value():n,d=_?e.value():e;return a||(a=new L),f(v,d,r,i,a)}}return t?(a||(a=new L),xn(n,e,r,i,f,a)):!1}function $n(n,e,r,i,f){return n===e?!0:n==null||e==null||!M(n)&&!M(e)?n!==n&&e!==e:Mn(n,e,r,i,$n,f)}export{w as S,X as a,$n as b,Y as c,fn as d,Q as k,ln as s};
