import{g as w}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf.js";import{a as O}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf4.js";var h={exports:{}},t={};/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */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,s=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,f=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 f:case m:case s: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=s,t.Element=n,t.ForwardRef=v,t.Fragment=p,t.Lazy=f,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)===s},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)===f},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===f||r.$$typeof===m||r.$$typeof===s||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 s(f){return e.isMemo(f)?c:a[f.$$typeof]||n}var S=Object.defineProperty,$=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,v=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,_=Object.prototype;function m(f,y,P){if(typeof y!="string"){if(_){var R=d(y);R&&R!==_&&m(f,R,P)}var b=$(y);l&&(b=b.concat(l(y)));for(var o=s(f),g=s(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(f,i,N)}catch{}}}}return f}return T=m,T}var C=I();const W=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)),s=a?c.current:{inputs:n,result:e()};return O.useEffect(function(){p.current=!1,c.current=s},[s]),s.result}function D(e,n){return E(function(){return e},n)}var B=E,K=D;export{K as a,D as b,W as h,B as u};
