import{t as s}from"./chunk-DZLz74EQ.js";import{t as E}from"./react-BcIddLXZ.js";var x=s((a=>{var e=E();function f(t,n){return t===n&&(t!==0||1/t==1/n)||t!==t&&n!==n}var v=typeof Object.is=="function"?Object.is:f,l=e.useState,S=e.useEffect,d=e.useLayoutEffect,p=e.useDebugValue;function m(t,n){var o=n(),c=l({inst:{value:o,getSnapshot:n}}),r=c[0].inst,i=c[1];return d(function(){r.value=o,r.getSnapshot=n,u(r)&&i({inst:r})},[t,o,n]),S(function(){return u(r)&&i({inst:r}),t(function(){u(r)&&i({inst:r})})},[t]),p(o),o}function u(t){var n=t.getSnapshot;t=t.value;try{var o=n();return!v(t,o)}catch{return!0}}function y(t,n){return n()}var w=typeof window>"u"||window.document===void 0||window.document.createElement===void 0?y:m;a.useSyncExternalStore=e.useSyncExternalStore===void 0?w:e.useSyncExternalStore})),g=s(((a,e)=>{e.exports=x()}));export{g as t};
