| 210 | } |
| 211 | const Y = Object.getPrototypeOf(structuredClone({})); |
| 212 | function X(e, t) { |
| 213 | if (e === t) return !0; |
| 214 | if (e && t && "object" == typeof e && "object" == typeof t) { |
| 215 | if (e.constructor.name !== t.constructor.name) return !1; |
| 216 | let n, i; |
| 217 | if (Array.isArray(e)) { |
| 218 | if (((n = e.length), n != t.length)) return !1; |
| 219 | for (i = n; 0 != i--; ) if (!X(e[i], t[i])) return !1; |
| 220 | return !0; |
| 221 | } |
| 222 | if (e instanceof Map && t instanceof Map) { |
| 223 | if (e.size !== t.size) return !1; |
| 224 | for (const n of e.entries()) if (!t.has(n[0])) return !1; |
| 225 | for (const n of e.entries()) if (!X(n[1], t.get(n[0]))) return !1; |
| 226 | return !0; |
| 227 | } |
| 228 | if (e instanceof Set && t instanceof Set) { |
| 229 | if (e.size !== t.size) return !1; |
| 230 | for (const n of e.entries()) if (!t.has(n[0])) return !1; |
| 231 | return !0; |
| 232 | } |
| 233 | if (ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) { |
| 234 | if (((n = e.length), n != t.length)) return !1; |
| 235 | for (i = n; 0 != i--; ) if (e[i] !== t[i]) return !1; |
| 236 | return !0; |
| 237 | } |
| 238 | if (e.constructor === RegExp) |
| 239 | return e.source === t.source && e.flags === t.flags; |
| 240 | if (e.valueOf !== Object.prototype.valueOf && e.valueOf !== Y.valueOf) |
| 241 | return e.valueOf() === t.valueOf(); |
| 242 | if (e.toString !== Object.prototype.toString && e.toString !== Y.toString) |
| 243 | return e.toString() === t.toString(); |
| 244 | const r = Object.keys(e); |
| 245 | if (((n = r.length), n !== Object.keys(t).length)) return !1; |
| 246 | for (i = n; 0 != i--; ) |
| 247 | if (!Object.prototype.hasOwnProperty.call(t, r[i])) return !1; |
| 248 | for (i = n; 0 != i--; ) { |
| 249 | const n = r[i]; |
| 250 | if (!X(e[n], t[n])) return !1; |
| 251 | } |
| 252 | return !0; |
| 253 | } |
| 254 | return e != e && t != t; |
| 255 | } |
| 256 | function Q(e) { |
| 257 | const t = []; |
| 258 | return (function e(n) { |