import{a as w,r as O}from"./v_7_4_3_25_2ff64573-14a6-4762-a634-9cd350f14f77.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,f=e?Symbol.for("react.profiler"):60114,a=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,g=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 f:case c:case d:return r;default:switch(r=r&&r.$$typeof,r){case S:case v:case s:case m:case a:return r;default:return i}}case u:return i}}}function _(r){return o(r)===l}return t.AsyncMode=$,t.ConcurrentMode=l,t.ContextConsumer=S,t.ContextProvider=a,t.Element=n,t.ForwardRef=v,t.Fragment=p,t.Lazy=s,t.Memo=m,t.Portal=u,t.Profiler=f,t.StrictMode=c,t.Suspense=d,t.isAsyncMode=function(r){return _(r)||o(r)===$},t.isConcurrentMode=_,t.isContextConsumer=function(r){return o(r)===S},t.isContextProvider=function(r){return o(r)===a},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)===f},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===f||r===c||r===d||r===g||typeof r=="object"&&r!==null&&(r.$$typeof===s||r.$$typeof===m||r.$$typeof===a||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},f={};f[e.ForwardRef]=p,f[e.Memo]=c;function a(s){return e.isMemo(s)?c:f[s.$$typeof]||n}var S=Object.defineProperty,$=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,v=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,g=Object.prototype;function m(s,y,P){if(typeof y!="string"){if(g){var R=d(y);R&&R!==g&&m(s,R,P)}var b=$(y);l&&(b=b.concat(l(y)));for(var o=a(s),_=a(y),r=0;r<b.length;++r){var i=b[r];if(!u[i]&&!(P&&P[i])&&!(_&&_[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),f=p.current||!!(n&&c.current.inputs&&q(n,c.current.inputs)),a=f?c.current:{inputs:n,result:e()};return O.useEffect(function(){p.current=!1,c.current=a},[a]),a.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};
