function h(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function A(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function d(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const w="[object RegExp]",S="[object String]",U="[object Number]",B="[object Boolean]",O="[object Arguments]",I="[object Symbol]",N="[object Date]",P="[object Map]",x="[object Set]",z="[object Array]",L="[object Function]",F="[object ArrayBuffer]",b="[object Object]",K="[object Error]",v="[object DataView]",C="[object Uint8Array]",D="[object Uint8ClampedArray]",E="[object Uint16Array]",M="[object Uint32Array]",W="[object BigUint64Array]",R="[object Int8Array]",Z="[object Int16Array]",q="[object Int32Array]",G="[object BigInt64Array]",H="[object Float32Array]",J="[object Float64Array]";function T(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function Q(e,t,r){return g(e,t,void 0,void 0,void 0,void 0,r)}function g(e,t,r,o,c,a,f){const j=f(e,t,r,o,c,a);if(j!==void 0)return j;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return y(e,t,a,f)}return y(e,t,a,f)}function y(e,t,r,o){if(Object.is(e,t))return!0;let c=d(e),a=d(t);if(c===O&&(c=b),a===O&&(a=b),c!==a)return!1;switch(c){case S:return e.toString()===t.toString();case U:{const n=e.valueOf(),s=t.valueOf();return h(n,s)}case B:case N:case I:return Object.is(e.valueOf(),t.valueOf());case w:return e.source===t.source&&e.flags===t.flags;case L:return e===t}r=r??new Map;const f=r.get(e),j=r.get(t);if(f!=null&&j!=null)return f===t;r.set(e,t),r.set(t,e);try{switch(c){case P:{if(e.size!==t.size)return!1;for(const[n,s]of e.entries())if(!t.has(n)||!g(s,t.get(n),n,e,t,r,o))return!1;return!0}case x:{if(e.size!==t.size)return!1;const n=Array.from(e.values()),s=Array.from(t.values());for(let u=0;u<n.length;u++){const l=n[u],i=s.findIndex(p=>g(l,p,void 0,e,t,r,o));if(i===-1)return!1;s.splice(i,1)}return!0}case z:case C:case D:case E:case M:case W:case R:case Z:case q:case G:case H:case J:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!g(e[n],t[n],n,e,t,r,o))return!1;return!0}case F:return e.byteLength!==t.byteLength?!1:y(new Uint8Array(e),new Uint8Array(t),r,o);case v:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:y(new Uint8Array(e),new Uint8Array(t),r,o);case K:return e.name===t.name&&e.message===t.message;case b:{if(!(y(e.constructor,t.constructor,r,o)||T(e)&&T(t)))return!1;const s=[...Object.keys(e),...A(e)],u=[...Object.keys(t),...A(t)];if(s.length!==u.length)return!1;for(let l=0;l<s.length;l++){const i=s[l],p=e[i];if(!Object.hasOwn(t,i))return!1;const m=t[i];if(!g(p,m,i,e,t,r,o))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}function X(){}function Y(e,t){return Q(e,t,X)}export{Y as A,d as a,E as b,D as c,C as d,S as e,x as f,A as g,q as h,h as i,Z as j,R as k,J as l,P as m,U as n,b as o,H as p,N as q,w as r,I as s,B as t,M as u,v,F as w,z as x,O as y,T as z};
//# sourceMappingURL=isEqual-DWjmKQqT.js.map
