import{g as w,r as O}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71.js";var h={exports:{}},t={};var x;function F(){if(x)return t;x=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,u=e?Symbol.for("react.portal"):60106,p=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,S=e?Symbol.for("react.context"):60110,$=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,_=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,s=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,P=e?Symbol.for("react.fundamental"):60117,R=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function o(r){if(typeof r=="object"&&r!==null){var i=r.$$typeof;switch(i){case n:switch(r=r.type,r){case $:case l:case p:case a:case c:case d:return r;default:switch(r=r&&r.$$typeof,r){case S:case v:case s:case m:case f:return r;default:return i}}case u:return i}}}function g(r){return o(r)===l}return t.AsyncMode=$,t.ConcurrentMode=l,t.ContextConsumer=S,t.ContextProvider=f,t.Element=n,t.ForwardRef=v,t.Fragment=p,t.Lazy=s,t.Memo=m,t.Portal=u,t.Profiler=a,t.StrictMode=c,t.Suspense=d,t.isAsyncMode=function(r){return g(r)||o(r)===$},t.isConcurrentMode=g,t.isContextConsumer=function(r){return o(r)===S},t.isContextProvider=function(r){return o(r)===f},t.isElement=function(r){return typeof r=="object"&&r!==null&&r.$$typeof===n},t.isForwardRef=function(r){return o(r)===v},t.isFragment=function(r){return o(r)===p},t.isLazy=function(r){return o(r)===s},t.isMemo=function(r){return o(r)===m},t.isPortal=function(r){return o(r)===u},t.isProfiler=function(r){return o(r)===a},t.isStrictMode=function(r){return o(r)===c},t.isSuspense=function(r){return o(r)===d},t.isValidElementType=function(r){return typeof r=="string"||typeof r=="function"||r===p||r===l||r===a||r===c||r===d||r===_||typeof r=="object"&&r!==null&&(r.$$typeof===s||r.$$typeof===m||r.$$typeof===f||r.$$typeof===S||r.$$typeof===v||r.$$typeof===P||r.$$typeof===R||r.$$typeof===b||r.$$typeof===y)},t.typeOf=o,t}var j;function A(){return j||(j=1,h.exports=F()),h.exports}var T,M;function I(){if(M)return T;M=1;var e=A(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},u={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},p={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=p,a[e.Memo]=c;function f(s){return e.isMemo(s)?c:a[s.$$typeof]||n}var S=Object.defineProperty,$=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,v=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,_=Object.prototype;function m(s,y,P){if(typeof y!="string"){if(_){var R=d(y);R&&R!==_&&m(s,R,P)}var b=$(y);l&&(b=b.concat(l(y)));for(var o=f(s),g=f(y),r=0;r<b.length;++r){var i=b[r];if(!u[i]&&!(P&&P[i])&&!(g&&g[i])&&!(o&&o[i])){var N=v(y,i);try{S(s,i,N)}catch{}}}}return s}return T=m,T}var C=I();const L=w(C);function q(e,n){if(e.length!==n.length)return!1;for(var u=0;u<e.length;u++)if(e[u]!==n[u])return!1;return!0}function E(e,n){var u=O.useState(function(){return{inputs:n,result:e()}})[0],p=O.useRef(!0),c=O.useRef(u),a=p.current||!!(n&&c.current.inputs&&q(n,c.current.inputs)),f=a?c.current:{inputs:n,result:e()};return O.useEffect(function(){p.current=!1,c.current=f},[f]),f.result}function D(e,n){return E(function(){return e},n)}var W=E,B=D;export{B as a,D as b,L as h,W as u};
