import{R as b}from"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c19.js";const i=t=>Symbol.iterator in t,c=t=>"entries"in t,f=(t,e)=>{const n=t instanceof Map?t:new Map(t.entries()),r=e instanceof Map?e:new Map(e.entries());if(n.size!==r.size)return!1;for(const[o,s]of n)if(!r.has(o)||!Object.is(s,r.get(o)))return!1;return!0},p=(t,e)=>{const n=t[Symbol.iterator](),r=e[Symbol.iterator]();let o=n.next(),s=r.next();for(;!o.done&&!s.done;){if(!Object.is(o.value,s.value))return!1;o=n.next(),s=r.next()}return!!o.done&&!!s.done};function a(t,e){return Object.is(t,e)?!0:typeof t!="object"||t===null||typeof e!="object"||e===null||Object.getPrototypeOf(t)!==Object.getPrototypeOf(e)?!1:i(t)&&i(e)?c(t)&&c(e)?f(t,e):p(t,e):f({entries:()=>Object.entries(t)},{entries:()=>Object.entries(e)})}function m(t){const e=b.useRef(void 0);return n=>{const r=t(n);return a(e.current,r)?e.current:e.current=r}}export{a as s,m as u};
