react-next-toast
Version:
A premium, modern toast notification system for React applications
24 lines (18 loc) • 484 kB
JavaScript
"use strict";(()=>{var x3=Object.create;var nb=Object.defineProperty;var w3=Object.getOwnPropertyDescriptor;var b3=Object.getOwnPropertyNames;var k3=Object.getPrototypeOf,_3=Object.prototype.hasOwnProperty;var Nr=(n,r)=>()=>(r||n((r={exports:{}}).exports,r),r.exports);var D3=(n,r,l,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(let c of b3(r))!_3.call(n,c)&&c!==l&&nb(n,c,{get:()=>r[c],enumerable:!(u=w3(r,c))||u.enumerable});return n};var yr=(n,r,l)=>(l=n!=null?x3(k3(n)):{},D3(r||!n||!n.__esModule?nb(l,"default",{value:n,enumerable:!0}):l,n));var pb=Nr(je=>{"use strict";var Df=Symbol.for("react.element"),O3=Symbol.for("react.portal"),L3=Symbol.for("react.fragment"),M3=Symbol.for("react.strict_mode"),N3=Symbol.for("react.profiler"),z3=Symbol.for("react.provider"),U3=Symbol.for("react.context"),A3=Symbol.for("react.forward_ref"),F3=Symbol.for("react.suspense"),H3=Symbol.for("react.memo"),P3=Symbol.for("react.lazy"),rb=Symbol.iterator;function j3(n){return n===null||typeof n!="object"?null:(n=rb&&n[rb]||n["@@iterator"],typeof n=="function"?n:null)}var lb={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ob=Object.assign,ub={};function is(n,r,l){this.props=n,this.context=r,this.refs=ub,this.updater=l||lb}is.prototype.isReactComponent={};is.prototype.setState=function(n,r){if(typeof n!="object"&&typeof n!="function"&&n!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,n,r,"setState")};is.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function sb(){}sb.prototype=is.prototype;function C0(n,r,l){this.props=n,this.context=r,this.refs=ub,this.updater=l||lb}var T0=C0.prototype=new sb;T0.constructor=C0;ob(T0,is.prototype);T0.isPureReactComponent=!0;var ab=Array.isArray,cb=Object.prototype.hasOwnProperty,R0={current:null},fb={key:!0,ref:!0,__self:!0,__source:!0};function db(n,r,l){var u,c={},p=null,d=null;if(r!=null)for(u in r.ref!==void 0&&(d=r.ref),r.key!==void 0&&(p=""+r.key),r)cb.call(r,u)&&!fb.hasOwnProperty(u)&&(c[u]=r[u]);var g=arguments.length-2;if(g===1)c.children=l;else if(1<g){for(var E=Array(g),C=0;C<g;C++)E[C]=arguments[C+2];c.children=E}if(n&&n.defaultProps)for(u in g=n.defaultProps,g)c[u]===void 0&&(c[u]=g[u]);return{$$typeof:Df,type:n,key:p,ref:d,props:c,_owner:R0.current}}function V3(n,r){return{$$typeof:Df,type:n.type,key:r,ref:n.ref,props:n.props,_owner:n._owner}}function x0(n){return typeof n=="object"&&n!==null&&n.$$typeof===Df}function B3(n){var r={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(l){return r[l]})}var ib=/\/+/g;function E0(n,r){return typeof n=="object"&&n!==null&&n.key!=null?B3(""+n.key):r.toString(36)}function Pv(n,r,l,u,c){var p=typeof n;(p==="undefined"||p==="boolean")&&(n=null);var d=!1;if(n===null)d=!0;else switch(p){case"string":case"number":d=!0;break;case"object":switch(n.$$typeof){case Df:case O3:d=!0}}if(d)return d=n,c=c(d),n=u===""?"."+E0(d,0):u,ab(c)?(l="",n!=null&&(l=n.replace(ib,"$&/")+"/"),Pv(c,r,l,"",function(C){return C})):c!=null&&(x0(c)&&(c=V3(c,l+(!c.key||d&&d.key===c.key?"":(""+c.key).replace(ib,"$&/")+"/")+n)),r.push(c)),1;if(d=0,u=u===""?".":u+":",ab(n))for(var g=0;g<n.length;g++){p=n[g];var E=u+E0(p,g);d+=Pv(p,r,l,E,c)}else if(E=j3(n),typeof E=="function")for(n=E.call(n),g=0;!(p=n.next()).done;)p=p.value,E=u+E0(p,g++),d+=Pv(p,r,l,E,c);else if(p==="object")throw r=String(n),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return d}function Hv(n,r,l){if(n==null)return n;var u=[],c=0;return Pv(n,u,"","",function(p){return r.call(l,p,c++)}),u}function I3(n){if(n._status===-1){var r=n._result;r=r(),r.then(function(l){(n._status===0||n._status===-1)&&(n._status=1,n._result=l)},function(l){(n._status===0||n._status===-1)&&(n._status=2,n._result=l)}),n._status===-1&&(n._status=0,n._result=r)}if(n._status===1)return n._result.default;throw n._result}var rr={current:null},jv={transition:null},$3={ReactCurrentDispatcher:rr,ReactCurrentBatchConfig:jv,ReactCurrentOwner:R0};je.Children={map:Hv,forEach:function(n,r,l){Hv(n,function(){r.apply(this,arguments)},l)},count:function(n){var r=0;return Hv(n,function(){r++}),r},toArray:function(n){return Hv(n,function(r){return r})||[]},only:function(n){if(!x0(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};je.Component=is;je.Fragment=L3;je.Profiler=N3;je.PureComponent=C0;je.StrictMode=M3;je.Suspense=F3;je.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$3;je.cloneElement=function(n,r,l){if(n==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+n+".");var u=ob({},n.props),c=n.key,p=n.ref,d=n._owner;if(r!=null){if(r.ref!==void 0&&(p=r.ref,d=R0.current),r.key!==void 0&&(c=""+r.key),n.type&&n.type.defaultProps)var g=n.type.defaultProps;for(E in r)cb.call(r,E)&&!fb.hasOwnProperty(E)&&(u[E]=r[E]===void 0&&g!==void 0?g[E]:r[E])}var E=arguments.length-2;if(E===1)u.children=l;else if(1<E){g=Array(E);for(var C=0;C<E;C++)g[C]=arguments[C+2];u.children=g}return{$$typeof:Df,type:n.type,key:c,ref:p,props:u,_owner:d}};je.createContext=function(n){return n={$$typeof:U3,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},n.Provider={$$typeof:z3,_context:n},n.Consumer=n};je.createElement=db;je.createFactory=function(n){var r=db.bind(null,n);return r.type=n,r};je.createRef=function(){return{current:null}};je.forwardRef=function(n){return{$$typeof:A3,render:n}};je.isValidElement=x0;je.lazy=function(n){return{$$typeof:P3,_payload:{_status:-1,_result:n},_init:I3}};je.memo=function(n,r){return{$$typeof:H3,type:n,compare:r===void 0?null:r}};je.startTransition=function(n){var r=jv.transition;jv.transition={};try{n()}finally{jv.transition=r}};je.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};je.useCallback=function(n,r){return rr.current.useCallback(n,r)};je.useContext=function(n){return rr.current.useContext(n)};je.useDebugValue=function(){};je.useDeferredValue=function(n){return rr.current.useDeferredValue(n)};je.useEffect=function(n,r){return rr.current.useEffect(n,r)};je.useId=function(){return rr.current.useId()};je.useImperativeHandle=function(n,r,l){return rr.current.useImperativeHandle(n,r,l)};je.useInsertionEffect=function(n,r){return rr.current.useInsertionEffect(n,r)};je.useLayoutEffect=function(n,r){return rr.current.useLayoutEffect(n,r)};je.useMemo=function(n,r){return rr.current.useMemo(n,r)};je.useReducer=function(n,r,l){return rr.current.useReducer(n,r,l)};je.useRef=function(n){return rr.current.useRef(n)};je.useState=function(n){return rr.current.useState(n)};je.useSyncExternalStore=function(n,r,l){return rr.current.useSyncExternalStore(n,r,l)};je.useTransition=function(){return rr.current.useTransition()};je.version="18.2.0"});var vb=Nr((Ve,Vv)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n="18.2.0",r=Symbol.for("react.element"),l=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),g=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),H=Symbol.for("react.offscreen"),$=Symbol.iterator,J="@@iterator";function Be(m){if(m===null||typeof m!="object")return null;var T=$&&m[$]||m[J];return typeof T=="function"?T:null}var _={current:null},R={transition:null},w={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},I={current:null},Q={},ne=null;function q(m){ne=m}Q.setExtraStackFrame=function(m){ne=m},Q.getCurrentStack=null,Q.getStackAddendum=function(){var m="";ne&&(m+=ne);var T=Q.getCurrentStack;return T&&(m+=T()||""),m};var fe=!1,Me=!1,Se=!1,at=!1,tt=!1,Te={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:R,ReactCurrentOwner:I};Te.ReactDebugCurrentFrame=Q,Te.ReactCurrentActQueue=w;function dt(m){{for(var T=arguments.length,z=new Array(T>1?T-1:0),P=1;P<T;P++)z[P-1]=arguments[P];Yn("warn",m,z)}}function Ce(m){{for(var T=arguments.length,z=new Array(T>1?T-1:0),P=1;P<T;P++)z[P-1]=arguments[P];Yn("error",m,z)}}function Yn(m,T,z){{var P=Te.ReactDebugCurrentFrame,X=P.getStackAddendum();X!==""&&(T+="%s",z=z.concat([X]));var me=z.map(function(se){return String(se)});me.unshift("Warning: "+T),Function.prototype.apply.call(console[m],console,me)}}var Ba={};function fn(m,T){{var z=m.constructor,P=z&&(z.displayName||z.name)||"ReactClass",X=P+"."+T;if(Ba[X])return;Ce("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",T,P),Ba[X]=!0}}var fa={isMounted:function(m){return!1},enqueueForceUpdate:function(m,T,z){fn(m,"forceUpdate")},enqueueReplaceState:function(m,T,z,P){fn(m,"replaceState")},enqueueSetState:function(m,T,z,P){fn(m,"setState")}},Dn=Object.assign,Vr={};Object.freeze(Vr);function On(m,T,z){this.props=m,this.context=T,this.refs=Vr,this.updater=z||fa}On.prototype.isReactComponent={},On.prototype.setState=function(m,T){if(typeof m!="object"&&typeof m!="function"&&m!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,m,T,"setState")},On.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};{var or={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Ki=function(m,T){Object.defineProperty(On.prototype,m,{get:function(){dt("%s(...) is deprecated in plain JavaScript React classes. %s",T[0],T[1])}})};for(var Ia in or)or.hasOwnProperty(Ia)&&Ki(Ia,or[Ia])}function Br(){}Br.prototype=On.prototype;function da(m,T,z){this.props=m,this.context=T,this.refs=Vr,this.updater=z||fa}var Rr=da.prototype=new Br;Rr.constructor=da,Dn(Rr,On.prototype),Rr.isPureReactComponent=!0;function Wn(){var m={current:null};return Object.seal(m),m}var Ir=Array.isArray;function Ln(m){return Ir(m)}function xr(m){{var T=typeof Symbol=="function"&&Symbol.toStringTag,z=T&&m[Symbol.toStringTag]||m.constructor.name||"Object";return z}}function dn(m){try{return pn(m),!1}catch{return!0}}function pn(m){return""+m}function Nt(m){if(dn(m))return Ce("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xr(m)),pn(m)}function vn(m,T,z){var P=m.displayName;if(P)return P;var X=T.displayName||T.name||"";return X!==""?z+"("+X+")":z}function hn(m){return m.displayName||"Context"}function At(m){if(m==null)return null;if(typeof m.tag=="number"&&Ce("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case u:return"Fragment";case l:return"Portal";case p:return"Profiler";case c:return"StrictMode";case C:return"Suspense";case F:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case g:var T=m;return hn(T)+".Consumer";case d:var z=m;return hn(z._context)+".Provider";case E:return vn(m,m.render,"ForwardRef");case D:var P=m.displayName||null;return P!==null?P:At(m.type)||"Memo";case N:{var X=m,me=X._payload,se=X._init;try{return At(se(me))}catch{return null}}}return null}var Qn=Object.prototype.hasOwnProperty,Zi={key:!0,ref:!0,__self:!0,__source:!0},Ji,$r,Mn;Mn={};function Yr(m){if(Qn.call(m,"ref")){var T=Object.getOwnPropertyDescriptor(m,"ref").get;if(T&&T.isReactWarning)return!1}return m.ref!==void 0}function Gn(m){if(Qn.call(m,"key")){var T=Object.getOwnPropertyDescriptor(m,"key").get;if(T&&T.isReactWarning)return!1}return m.key!==void 0}function Wr(m,T){var z=function(){Ji||(Ji=!0,Ce("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",T))};z.isReactWarning=!0,Object.defineProperty(m,"key",{get:z,configurable:!0})}function Ft(m,T){var z=function(){$r||($r=!0,Ce("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",T))};z.isReactWarning=!0,Object.defineProperty(m,"ref",{get:z,configurable:!0})}function Qr(m){if(typeof m.ref=="string"&&I.current&&m.__self&&I.current.stateNode!==m.__self){var T=At(I.current.type);Mn[T]||(Ce('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',T,m.ref),Mn[T]=!0)}}var pa=function(m,T,z,P,X,me,se){var be={$$typeof:r,type:m,key:T,ref:z,props:se,_owner:me};return be._store={},Object.defineProperty(be._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(be,"_self",{configurable:!1,enumerable:!1,writable:!1,value:P}),Object.defineProperty(be,"_source",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.freeze&&(Object.freeze(be.props),Object.freeze(be)),be};function di(m,T,z){var P,X={},me=null,se=null,be=null,He=null;if(T!=null){Yr(T)&&(se=T.ref,Qr(T)),Gn(T)&&(Nt(T.key),me=""+T.key),be=T.__self===void 0?null:T.__self,He=T.__source===void 0?null:T.__source;for(P in T)Qn.call(T,P)&&!Zi.hasOwnProperty(P)&&(X[P]=T[P])}var Ke=arguments.length-2;if(Ke===1)X.children=z;else if(Ke>1){for(var ut=Array(Ke),st=0;st<Ke;st++)ut[st]=arguments[st+2];Object.freeze&&Object.freeze(ut),X.children=ut}if(m&&m.defaultProps){var vt=m.defaultProps;for(P in vt)X[P]===void 0&&(X[P]=vt[P])}if(me||se){var wt=typeof m=="function"?m.displayName||m.name||"Unknown":m;me&&Wr(X,wt),se&&Ft(X,wt)}return pa(m,me,se,be,He,I.current,X)}function ee(m,T){var z=pa(m.type,T,m.ref,m._self,m._source,m._owner,m.props);return z}function de(m,T,z){if(m==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+m+".");var P,X=Dn({},m.props),me=m.key,se=m.ref,be=m._self,He=m._source,Ke=m._owner;if(T!=null){Yr(T)&&(se=T.ref,Ke=I.current),Gn(T)&&(Nt(T.key),me=""+T.key);var ut;m.type&&m.type.defaultProps&&(ut=m.type.defaultProps);for(P in T)Qn.call(T,P)&&!Zi.hasOwnProperty(P)&&(T[P]===void 0&&ut!==void 0?X[P]=ut[P]:X[P]=T[P])}var st=arguments.length-2;if(st===1)X.children=z;else if(st>1){for(var vt=Array(st),wt=0;wt<st;wt++)vt[wt]=arguments[wt+2];X.children=vt}return pa(m.type,me,se,be,He,Ke,X)}function ke(m){return typeof m=="object"&&m!==null&&m.$$typeof===r}var Ge=".",it=":";function nn(m){var T=/[=:]/g,z={"=":"=0",":":"=2"},P=m.replace(T,function(X){return z[X]});return"$"+P}var Ot=!1,ur=/\/+/g;function lt(m){return m.replace(ur,"$&/")}function Xn(m,T){return typeof m=="object"&&m!==null&&m.key!=null?(Nt(m.key),nn(""+m.key)):T.toString(36)}function ot(m,T,z,P,X){var me=typeof m;(me==="undefined"||me==="boolean")&&(m=null);var se=!1;if(m===null)se=!0;else switch(me){case"string":case"number":se=!0;break;case"object":switch(m.$$typeof){case r:case l:se=!0}}if(se){var be=m,He=X(be),Ke=P===""?Ge+Xn(be,0):P;if(Ln(He)){var ut="";Ke!=null&&(ut=lt(Ke)+"/"),ot(He,T,ut,"",function(ec){return ec})}else He!=null&&(ke(He)&&(He.key&&(!be||be.key!==He.key)&&Nt(He.key),He=ee(He,z+(He.key&&(!be||be.key!==He.key)?lt(""+He.key)+"/":"")+Ke)),T.push(He));return 1}var st,vt,wt=0,$t=P===""?Ge:P+it;if(Ln(m))for(var fu=0;fu<m.length;fu++)st=m[fu],vt=$t+Xn(st,fu),wt+=ot(st,T,z,vt,X);else{var Yt=Be(m);if(typeof Yt=="function"){var du=m;Yt===du.entries&&(Ot||dt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ot=!0);for(var Hd=Yt.call(du),Js,gm=0;!(Js=Hd.next()).done;)st=Js.value,vt=$t+Xn(st,gm++),wt+=ot(st,T,z,vt,X)}else if(me==="object"){var mi=String(m);throw new Error("Objects are not valid as a React child (found: "+(mi==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":mi)+"). If you meant to render a collection of children, use an array instead.")}}return wt}function pt(m,T,z){if(m==null)return m;var P=[],X=0;return ot(m,P,"","",function(me){return T.call(z,me,X++)}),P}function no(m){var T=0;return pt(m,function(){T++}),T}function el(m,T,z){pt(m,function(){T.apply(this,arguments)},z)}function ro(m){return pt(m,function(T){return T})||[]}function Jo(m){if(!ke(m))throw new Error("React.Children.only expected to receive a single React element child.");return m}function js(m){var T={$$typeof:g,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};T.Provider={$$typeof:d,_context:T};var z=!1,P=!1,X=!1;{var me={$$typeof:g,_context:T};Object.defineProperties(me,{Provider:{get:function(){return P||(P=!0,Ce("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),T.Provider},set:function(se){T.Provider=se}},_currentValue:{get:function(){return T._currentValue},set:function(se){T._currentValue=se}},_currentValue2:{get:function(){return T._currentValue2},set:function(se){T._currentValue2=se}},_threadCount:{get:function(){return T._threadCount},set:function(se){T._threadCount=se}},Consumer:{get:function(){return z||(z=!0,Ce("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),T.Consumer}},displayName:{get:function(){return T.displayName},set:function(se){X||(dt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",se),X=!0)}}}),T.Consumer=me}return T._currentRenderer=null,T._currentRenderer2=null,T}var va=-1,pi=0,eu=1,tu=2;function tl(m){if(m._status===va){var T=m._result,z=T();if(z.then(function(me){if(m._status===pi||m._status===va){var se=m;se._status=eu,se._result=me}},function(me){if(m._status===pi||m._status===va){var se=m;se._status=tu,se._result=me}}),m._status===va){var P=m;P._status=pi,P._result=z}}if(m._status===eu){var X=m._result;return X===void 0&&Ce(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`,X),"default"in X||Ce(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,X),X.default}else throw m._result}function $a(m){var T={_status:va,_result:m},z={$$typeof:N,_payload:T,_init:tl};{var P,X;Object.defineProperties(z,{defaultProps:{configurable:!0,get:function(){return P},set:function(me){Ce("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),P=me,Object.defineProperty(z,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return X},set:function(me){Ce("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),X=me,Object.defineProperty(z,"propTypes",{enumerable:!0})}}})}return z}function ha(m){m!=null&&m.$$typeof===D?Ce("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof m!="function"?Ce("forwardRef requires a render function but was given %s.",m===null?"null":typeof m):m.length!==0&&m.length!==2&&Ce("forwardRef render functions accept exactly two parameters: props and ref. %s",m.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),m!=null&&(m.defaultProps!=null||m.propTypes!=null)&&Ce("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var T={$$typeof:E,render:m};{var z;Object.defineProperty(T,"displayName",{enumerable:!1,configurable:!0,get:function(){return z},set:function(P){z=P,!m.name&&!m.displayName&&(m.displayName=P)}})}return T}var ma;ma=Symbol.for("react.module.reference");function nl(m){return!!(typeof m=="string"||typeof m=="function"||m===u||m===p||tt||m===c||m===C||m===F||at||m===H||fe||Me||Se||typeof m=="object"&&m!==null&&(m.$$typeof===N||m.$$typeof===D||m.$$typeof===d||m.$$typeof===g||m.$$typeof===E||m.$$typeof===ma||m.getModuleId!==void 0))}function x(m,T){nl(m)||Ce("memo: The first argument must be a component. Instead received: %s",m===null?"null":typeof m);var z={$$typeof:D,type:m,compare:T===void 0?null:T};{var P;Object.defineProperty(z,"displayName",{enumerable:!1,configurable:!0,get:function(){return P},set:function(X){P=X,!m.name&&!m.displayName&&(m.displayName=X)}})}return z}function B(){var m=_.current;return m===null&&Ce(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),m}function Z(m){var T=B();if(m._context!==void 0){var z=m._context;z.Consumer===m?Ce("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):z.Provider===m&&Ce("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return T.useContext(m)}function ve(m){var T=B();return T.useState(m)}function Ue(m,T,z){var P=B();return P.useReducer(m,T,z)}function Ie(m){var T=B();return T.useRef(m)}function Oe(m,T){var z=B();return z.useEffect(m,T)}function he(m,T){var z=B();return z.useInsertionEffect(m,T)}function It(m,T){var z=B();return z.useLayoutEffect(m,T)}function gt(m,T){var z=B();return z.useCallback(m,T)}function St(m,T){var z=B();return z.useMemo(m,T)}function Nn(m,T,z){var P=B();return P.useImperativeHandle(m,T,z)}function Ya(m,T){{var z=B();return z.useDebugValue(m,T)}}function nu(){var m=B();return m.useTransition()}function sr(m){var T=B();return T.useDeferredValue(m)}function fm(){var m=B();return m.useId()}function vi(m,T,z){var P=B();return P.useSyncExternalStore(m,T,z)}var Le=0,rl,Vs,Bs,Is,$s,Ys,Ws;function Qs(){}Qs.__reactDisabledLog=!0;function Dd(){{if(Le===0){rl=console.log,Vs=console.info,Bs=console.warn,Is=console.error,$s=console.group,Ys=console.groupCollapsed,Ws=console.groupEnd;var m={configurable:!0,enumerable:!0,value:Qs,writable:!0};Object.defineProperties(console,{info:m,log:m,warn:m,error:m,group:m,groupCollapsed:m,groupEnd:m})}Le++}}function dm(){{if(Le--,Le===0){var m={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Dn({},m,{value:rl}),info:Dn({},m,{value:Vs}),warn:Dn({},m,{value:Bs}),error:Dn({},m,{value:Is}),group:Dn({},m,{value:$s}),groupCollapsed:Dn({},m,{value:Ys}),groupEnd:Dn({},m,{value:Ws})})}Le<0&&Ce("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Gs=Te.ReactCurrentDispatcher,ao;function al(m,T,z){{if(ao===void 0)try{throw Error()}catch(X){var P=X.stack.trim().match(/\n( *(at )?)/);ao=P&&P[1]||""}return`
`+ao+m}}var Gr=!1,il;{var ru=typeof WeakMap=="function"?WeakMap:Map;il=new ru}function Od(m,T){if(!m||Gr)return"";{var z=il.get(m);if(z!==void 0)return z}var P;Gr=!0;var X=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var me;me=Gs.current,Gs.current=null,Dd();try{if(T){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch($t){P=$t}Reflect.construct(m,[],se)}else{try{se.call()}catch($t){P=$t}m.call(se.prototype)}}else{try{throw Error()}catch($t){P=$t}m()}}catch($t){if($t&&P&&typeof $t.stack=="string"){for(var be=$t.stack.split(`
`),He=P.stack.split(`
`),Ke=be.length-1,ut=He.length-1;Ke>=1&&ut>=0&&be[Ke]!==He[ut];)ut--;for(;Ke>=1&&ut>=0;Ke--,ut--)if(be[Ke]!==He[ut]){if(Ke!==1||ut!==1)do if(Ke--,ut--,ut<0||be[Ke]!==He[ut]){var st=`
`+be[Ke].replace(" at new "," at ");return m.displayName&&st.includes("<anonymous>")&&(st=st.replace("<anonymous>",m.displayName)),typeof m=="function"&&il.set(m,st),st}while(Ke>=1&&ut>=0);break}}}finally{Gr=!1,Gs.current=me,dm(),Error.prepareStackTrace=X}var vt=m?m.displayName||m.name:"",wt=vt?al(vt):"";return typeof m=="function"&&il.set(m,wt),wt}function Xs(m,T,z){return Od(m,!1)}function pm(m){var T=m.prototype;return!!(T&&T.isReactComponent)}function ll(m,T,z){if(m==null)return"";if(typeof m=="function")return Od(m,pm(m));if(typeof m=="string")return al(m);switch(m){case C:return al("Suspense");case F:return al("SuspenseList")}if(typeof m=="object")switch(m.$$typeof){case E:return Xs(m.render);case D:return ll(m.type,T,z);case N:{var P=m,X=P._payload,me=P._init;try{return ll(me(X),T,z)}catch{}}}return""}var Ld={},au=Te.ReactDebugCurrentFrame;function iu(m){if(m){var T=m._owner,z=ll(m.type,m._source,T?T.type:null);au.setExtraStackFrame(z)}else au.setExtraStackFrame(null)}function Md(m,T,z,P,X){{var me=Function.call.bind(Qn);for(var se in m)if(me(m,se)){var be=void 0;try{if(typeof m[se]!="function"){var He=Error((P||"React class")+": "+z+" type `"+se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof m[se]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw He.name="Invariant Violation",He}be=m[se](T,se,P,z,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ke){be=Ke}be&&!(be instanceof Error)&&(iu(X),Ce("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",P||"React class",z,se,typeof be),iu(null)),be instanceof Error&&!(be.message in Ld)&&(Ld[be.message]=!0,iu(X),Ce("Failed %s type: %s",z,be.message),iu(null))}}}function ol(m){if(m){var T=m._owner,z=ll(m.type,m._source,T?T.type:null);q(z)}else q(null)}var lu;lu=!1;function nt(){if(I.current){var m=At(I.current.type);if(m)return`
Check the render method of \``+m+"`."}return""}function vm(m){if(m!==void 0){var T=m.fileName.replace(/^.*[\\\/]/,""),z=m.lineNumber;return`
Check your code at `+T+":"+z+"."}return""}function Nd(m){return m!=null?vm(m.__source):""}var _e={};function zd(m){var T=nt();if(!T){var z=typeof m=="string"?m:m.displayName||m.name;z&&(T=`
Check the top-level render call using <`+z+">.")}return T}function zn(m,T){if(!(!m._store||m._store.validated||m.key!=null)){m._store.validated=!0;var z=zd(T);if(!_e[z]){_e[z]=!0;var P="";m&&m._owner&&m._owner!==I.current&&(P=" It was passed a child from "+At(m._owner.type)+"."),ol(m),Ce('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',z,P),ol(null)}}}function ul(m,T){if(typeof m=="object"){if(Ln(m))for(var z=0;z<m.length;z++){var P=m[z];ke(P)&&zn(P,T)}else if(ke(m))m._store&&(m._store.validated=!0);else if(m){var X=Be(m);if(typeof X=="function"&&X!==m.entries)for(var me=X.call(m),se;!(se=me.next()).done;)ke(se.value)&&zn(se.value,T)}}}function sl(m){{var T=m.type;if(T==null||typeof T=="string")return;var z;if(typeof T=="function")z=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===E||T.$$typeof===D))z=T.propTypes;else return;if(z){var P=At(T);Md(z,m.props,"prop",P,m)}else if(T.PropTypes!==void 0&&!lu){lu=!0;var X=At(T);Ce("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",X||"Unknown")}typeof T.getDefaultProps=="function"&&!T.getDefaultProps.isReactClassApproved&&Ce("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function hm(m){{for(var T=Object.keys(m.props),z=0;z<T.length;z++){var P=T[z];if(P!=="children"&&P!=="key"){ol(m),Ce("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",P),ol(null);break}}m.ref!==null&&(ol(m),Ce("Invalid attribute `ref` supplied to `React.Fragment`."),ol(null))}}function rn(m,T,z){var P=nl(m);if(!P){var X="";(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(X+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var me=Nd(T);me?X+=me:X+=nt();var se;m===null?se="null":Ln(m)?se="array":m!==void 0&&m.$$typeof===r?(se="<"+(At(m.type)||"Unknown")+" />",X=" Did you accidentally export a JSX literal instead of a component?"):se=typeof m,Ce("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",se,X)}var be=di.apply(this,arguments);if(be==null)return be;if(P)for(var He=2;He<arguments.length;He++)ul(arguments[He],m);return m===u?hm(be):sl(be),be}var Rt=!1;function mm(m){var T=rn.bind(null,m);return T.type=m,Rt||(Rt=!0,dt("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(T,"type",{enumerable:!1,get:function(){return dt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:m}),m}}),T}function Xr(m,T,z){for(var P=de.apply(this,arguments),X=2;X<arguments.length;X++)ul(arguments[X],P.type);return sl(P),P}function cr(m,T){var z=R.transition;R.transition={};var P=R.transition;R.transition._updatedFibers=new Set;try{m()}finally{if(R.transition=z,z===null&&P._updatedFibers){var X=P._updatedFibers.size;X>10&&dt("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),P._updatedFibers.clear()}}}var ya=!1,ou=null;function qs(m){if(ou===null)try{var T=("require"+Math.random()).slice(0,7),z=Vv&&Vv[T];ou=z.call(Vv,"timers").setImmediate}catch{ou=function(X){ya===!1&&(ya=!0,typeof MessageChannel>"u"&&Ce("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var me=new MessageChannel;me.port1.onmessage=X,me.port2.postMessage(void 0)}}return ou(m)}var hi=0,Ks=!1;function ym(m){{var T=hi;hi++,w.current===null&&(w.current=[]);var z=w.isBatchingLegacy,P;try{if(w.isBatchingLegacy=!0,P=m(),!z&&w.didScheduleLegacyUpdate){var X=w.current;X!==null&&(w.didScheduleLegacyUpdate=!1,su(X))}}catch(vt){throw uu(T),vt}finally{w.isBatchingLegacy=z}if(P!==null&&typeof P=="object"&&typeof P.then=="function"){var me=P,se=!1,be={then:function(vt,wt){se=!0,me.then(function($t){uu(T),hi===0?Zs($t,vt,wt):vt($t)},function($t){uu(T),wt($t)})}};return!Ks&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){se||(Ks=!0,Ce("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),be}else{var He=P;if(uu(T),hi===0){var Ke=w.current;Ke!==null&&(su(Ke),w.current=null);var ut={then:function(vt,wt){w.current===null?(w.current=[],Zs(He,vt,wt)):vt(He)}};return ut}else{var st={then:function(vt,wt){vt(He)}};return st}}}}function uu(m){m!==hi-1&&Ce("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),hi=m}function Zs(m,T,z){{var P=w.current;if(P!==null)try{su(P),qs(function(){P.length===0?(w.current=null,T(m)):Zs(m,T,z)})}catch(X){z(X)}else T(m)}}var cl=!1;function su(m){if(!cl){cl=!0;var T=0;try{for(;T<m.length;T++){var z=m[T];do z=z(!0);while(z!==null)}m.length=0}catch(P){throw m=m.slice(T+1),P}finally{cl=!1}}}var cu=rn,Ud=Xr,Ad=mm,Fd={map:pt,forEach:el,count:no,toArray:ro,only:Jo};Ve.Children=Fd,Ve.Component=On,Ve.Fragment=u,Ve.Profiler=p,Ve.PureComponent=da,Ve.StrictMode=c,Ve.Suspense=C,Ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Te,Ve.cloneElement=Ud,Ve.createContext=js,Ve.createElement=cu,Ve.createFactory=Ad,Ve.createRef=Wn,Ve.forwardRef=ha,Ve.isValidElement=ke,Ve.lazy=$a,Ve.memo=x,Ve.startTransition=cr,Ve.unstable_act=ym,Ve.useCallback=gt,Ve.useContext=Z,Ve.useDebugValue=Ya,Ve.useDeferredValue=sr,Ve.useEffect=Oe,Ve.useId=fm,Ve.useImperativeHandle=Nn,Ve.useInsertionEffect=he,Ve.useLayoutEffect=It,Ve.useMemo=St,Ve.useReducer=Ue,Ve.useRef=Ie,Ve.useState=ve,Ve.useSyncExternalStore=vi,Ve.useTransition=nu,Ve.version=n,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var zl=Nr((hP,w0)=>{"use strict";process.env.NODE_ENV==="production"?w0.exports=pb():w0.exports=vb()});var xb=Nr(mt=>{"use strict";function D0(n,r){var l=n.length;n.push(r);e:for(;0<l;){var u=l-1>>>1,c=n[u];if(0<Bv(c,r))n[u]=r,n[l]=c,l=u;else break e}}function Ma(n){return n.length===0?null:n[0]}function $v(n){if(n.length===0)return null;var r=n[0],l=n.pop();if(l!==r){n[0]=l;e:for(var u=0,c=n.length,p=c>>>1;u<p;){var d=2*(u+1)-1,g=n[d],E=d+1,C=n[E];if(0>Bv(g,l))E<c&&0>Bv(C,g)?(n[u]=C,n[E]=l,u=E):(n[u]=g,n[d]=l,u=d);else if(E<c&&0>Bv(C,l))n[u]=C,n[E]=l,u=E;else break e}}return r}function Bv(n,r){var l=n.sortIndex-r.sortIndex;return l!==0?l:n.id-r.id}typeof performance=="object"&&typeof performance.now=="function"?(hb=performance,mt.unstable_now=function(){return hb.now()}):(b0=Date,mb=b0.now(),mt.unstable_now=function(){return b0.now()-mb});var hb,b0,mb,ii=[],Ul=[],Y3=1,ra=null,jn=3,Yv=!1,Ao=!1,Lf=!1,Sb=typeof setTimeout=="function"?setTimeout:null,Eb=typeof clearTimeout=="function"?clearTimeout:null,yb=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O0(n){for(var r=Ma(Ul);r!==null;){if(r.callback===null)$v(Ul);else if(r.startTime<=n)$v(Ul),r.sortIndex=r.expirationTime,D0(ii,r);else break;r=Ma(Ul)}}function L0(n){if(Lf=!1,O0(n),!Ao)if(Ma(ii)!==null)Ao=!0,N0(M0);else{var r=Ma(Ul);r!==null&&z0(L0,r.startTime-n)}}function M0(n,r){Ao=!1,Lf&&(Lf=!1,Eb(Mf),Mf=-1),Yv=!0;var l=jn;try{for(O0(r),ra=Ma(ii);ra!==null&&(!(ra.expirationTime>r)||n&&!Rb());){var u=ra.callback;if(typeof u=="function"){ra.callback=null,jn=ra.priorityLevel;var c=u(ra.expirationTime<=r);r=mt.unstable_now(),typeof c=="function"?ra.callback=c:ra===Ma(ii)&&$v(ii),O0(r)}else $v(ii);ra=Ma(ii)}if(ra!==null)var p=!0;else{var d=Ma(Ul);d!==null&&z0(L0,d.startTime-r),p=!1}return p}finally{ra=null,jn=l,Yv=!1}}var Wv=!1,Iv=null,Mf=-1,Cb=5,Tb=-1;function Rb(){return!(mt.unstable_now()-Tb<Cb)}function k0(){if(Iv!==null){var n=mt.unstable_now();Tb=n;var r=!0;try{r=Iv(!0,n)}finally{r?Of():(Wv=!1,Iv=null)}}else Wv=!1}var Of;typeof yb=="function"?Of=function(){yb(k0)}:typeof MessageChannel<"u"?(_0=new MessageChannel,gb=_0.port2,_0.port1.onmessage=k0,Of=function(){gb.postMessage(null)}):Of=function(){Sb(k0,0)};var _0,gb;function N0(n){Iv=n,Wv||(Wv=!0,Of())}function z0(n,r){Mf=Sb(function(){n(mt.unstable_now())},r)}mt.unstable_IdlePriority=5;mt.unstable_ImmediatePriority=1;mt.unstable_LowPriority=4;mt.unstable_NormalPriority=3;mt.unstable_Profiling=null;mt.unstable_UserBlockingPriority=2;mt.unstable_cancelCallback=function(n){n.callback=null};mt.unstable_continueExecution=function(){Ao||Yv||(Ao=!0,N0(M0))};mt.unstable_forceFrameRate=function(n){0>n||125<n?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Cb=0<n?Math.floor(1e3/n):5};mt.unstable_getCurrentPriorityLevel=function(){return jn};mt.unstable_getFirstCallbackNode=function(){return Ma(ii)};mt.unstable_next=function(n){switch(jn){case 1:case 2:case 3:var r=3;break;default:r=jn}var l=jn;jn=r;try{return n()}finally{jn=l}};mt.unstable_pauseExecution=function(){};mt.unstable_requestPaint=function(){};mt.unstable_runWithPriority=function(n,r){switch(n){case 1:case 2:case 3:case 4:case 5:break;default:n=3}var l=jn;jn=n;try{return r()}finally{jn=l}};mt.unstable_scheduleCallback=function(n,r,l){var u=mt.unstable_now();switch(typeof l=="object"&&l!==null?(l=l.delay,l=typeof l=="number"&&0<l?u+l:u):l=u,n){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return c=l+c,n={id:Y3++,callback:r,priorityLevel:n,startTime:l,expirationTime:c,sortIndex:-1},l>u?(n.sortIndex=l,D0(Ul,n),Ma(ii)===null&&n===Ma(Ul)&&(Lf?(Eb(Mf),Mf=-1):Lf=!0,z0(L0,l-u))):(n.sortIndex=c,D0(ii,n),Ao||Yv||(Ao=!0,N0(M0))),n};mt.unstable_shouldYield=Rb;mt.unstable_wrapCallback=function(n){var r=jn;return function(){var l=jn;jn=r;try{return n.apply(this,arguments)}finally{jn=l}}}});var wb=Nr(ft=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=!1,r=!1,l=5;function u(ee,de){var ke=ee.length;ee.push(de),d(ee,de,ke)}function c(ee){return ee.length===0?null:ee[0]}function p(ee){if(ee.length===0)return null;var de=ee[0],ke=ee.pop();return ke!==de&&(ee[0]=ke,g(ee,ke,0)),de}function d(ee,de,ke){for(var Ge=ke;Ge>0;){var it=Ge-1>>>1,nn=ee[it];if(E(nn,de)>0)ee[it]=de,ee[Ge]=nn,Ge=it;else return}}function g(ee,de,ke){for(var Ge=ke,it=ee.length,nn=it>>>1;Ge<nn;){var Ot=(Ge+1)*2-1,ur=ee[Ot],lt=Ot+1,Xn=ee[lt];if(E(ur,de)<0)lt<it&&E(Xn,ur)<0?(ee[Ge]=Xn,ee[lt]=de,Ge=lt):(ee[Ge]=ur,ee[Ot]=de,Ge=Ot);else if(lt<it&&E(Xn,de)<0)ee[Ge]=Xn,ee[lt]=de,Ge=lt;else return}}function E(ee,de){var ke=ee.sortIndex-de.sortIndex;return ke!==0?ke:ee.id-de.id}var C=1,F=2,D=3,N=4,H=5;function $(ee,de){}var J=typeof performance=="object"&&typeof performance.now=="function";if(J){var Be=performance;ft.unstable_now=function(){return Be.now()}}else{var _=Date,R=_.now();ft.unstable_now=function(){return _.now()-R}}var w=1073741823,I=-1,Q=250,ne=5e3,q=1e4,fe=w,Me=[],Se=[],at=1,tt=null,Te=D,dt=!1,Ce=!1,Yn=!1,Ba=typeof setTimeout=="function"?setTimeout:null,fn=typeof clearTimeout=="function"?clearTimeout:null,fa=typeof setImmediate<"u"?setImmediate:null,Dn=typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function Vr(ee){for(var de=c(Se);de!==null;){if(de.callback===null)p(Se);else if(de.startTime<=ee)p(Se),de.sortIndex=de.expirationTime,u(Me,de);else return;de=c(Se)}}function On(ee){if(Yn=!1,Vr(ee),!Ce)if(c(Me)!==null)Ce=!0,Wr(or);else{var de=c(Se);de!==null&&Ft(On,de.startTime-ee)}}function or(ee,de){Ce=!1,Yn&&(Yn=!1,Qr()),dt=!0;var ke=Te;try{if(r)try{return Ki(ee,de)}catch(it){if(tt!==null){var Ge=ft.unstable_now();tt.isQueued=!1}throw it}else return Ki(ee,de)}finally{tt=null,Te=ke,dt=!1}}function Ki(ee,de){var ke=de;for(Vr(ke),tt=c(Me);tt!==null&&!n&&!(tt.expirationTime>ke&&(!ee||Qn()));){var Ge=tt.callback;if(typeof Ge=="function"){tt.callback=null,Te=tt.priorityLevel;var it=tt.expirationTime<=ke,nn=Ge(it);ke=ft.unstable_now(),typeof nn=="function"?tt.callback=nn:tt===c(Me)&&p(Me),Vr(ke)}else p(Me);tt=c(Me)}if(tt!==null)return!0;var Ot=c(Se);return Ot!==null&&Ft(On,Ot.startTime-ke),!1}function Ia(ee,de){switch(ee){case C:case F:case D:case N:case H:break;default:ee=D}var ke=Te;Te=ee;try{return de()}finally{Te=ke}}function Br(ee){var de;switch(Te){case C:case F:case D:de=D;break;default:de=Te;break}var ke=Te;Te=de;try{return ee()}finally{Te=ke}}function da(ee){var de=Te;return function(){var ke=Te;Te=de;try{return ee.apply(this,arguments)}finally{Te=ke}}}function Rr(ee,de,ke){var Ge=ft.unstable_now(),it;if(typeof ke=="object"&&ke!==null){var nn=ke.delay;typeof nn=="number"&&nn>0?it=Ge+nn:it=Ge}else it=Ge;var Ot;switch(ee){case C:Ot=I;break;case F:Ot=Q;break;case H:Ot=fe;break;case N:Ot=q;break;case D:default:Ot=ne;break}var ur=it+Ot,lt={id:at++,callback:de,priorityLevel:ee,startTime:it,expirationTime:ur,sortIndex:-1};return it>Ge?(lt.sortIndex=it,u(Se,lt),c(Me)===null&<===c(Se)&&(Yn?Qr():Yn=!0,Ft(On,it-Ge))):(lt.sortIndex=ur,u(Me,lt),!Ce&&!dt&&(Ce=!0,Wr(or))),lt}function Wn(){}function Ir(){!Ce&&!dt&&(Ce=!0,Wr(or))}function Ln(){return c(Me)}function xr(ee){ee.callback=null}function dn(){return Te}var pn=!1,Nt=null,vn=-1,hn=l,At=-1;function Qn(){var ee=ft.unstable_now()-At;return!(ee<hn)}function Zi(){}function Ji(ee){if(ee<0||ee>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}ee>0?hn=Math.floor(1e3/ee):hn=l}var $r=function(){if(Nt!==null){var ee=ft.unstable_now();At=ee;var de=!0,ke=!0;try{ke=Nt(de,ee)}finally{ke?Mn():(pn=!1,Nt=null)}}else pn=!1},Mn;if(typeof fa=="function")Mn=function(){fa($r)};else if(typeof MessageChannel<"u"){var Yr=new MessageChannel,Gn=Yr.port2;Yr.port1.onmessage=$r,Mn=function(){Gn.postMessage(null)}}else Mn=function(){Ba($r,0)};function Wr(ee){Nt=ee,pn||(pn=!0,Mn())}function Ft(ee,de){vn=Ba(function(){ee(ft.unstable_now())},de)}function Qr(){fn(vn),vn=-1}var pa=Zi,di=null;ft.unstable_IdlePriority=H,ft.unstable_ImmediatePriority=C,ft.unstable_LowPriority=N,ft.unstable_NormalPriority=D,ft.unstable_Profiling=di,ft.unstable_UserBlockingPriority=F,ft.unstable_cancelCallback=xr,ft.unstable_continueExecution=Ir,ft.unstable_forceFrameRate=Ji,ft.unstable_getCurrentPriorityLevel=dn,ft.unstable_getFirstCallbackNode=Ln,ft.unstable_next=Br,ft.unstable_pauseExecution=Wn,ft.unstable_requestPaint=pa,ft.unstable_runWithPriority=Ia,ft.unstable_scheduleCallback=Rr,ft.unstable_shouldYield=Qn,ft.unstable_wrapCallback=da,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var A0=Nr((gP,U0)=>{"use strict";process.env.NODE_ENV==="production"?U0.exports=xb():U0.exports=wb()});var LD=Nr(Pr=>{"use strict";var Mk=zl(),Fr=A0();function G(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Nk=new Set,ed={};function Xo(n,r){bs(n,r),bs(n+"Capture",r)}function bs(n,r){for(ed[n]=r,n=0;n<r.length;n++)Nk.add(r[n])}var $i=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),iE=Object.prototype.hasOwnProperty,W3=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,bb={},kb={};function Q3(n){return iE.call(kb,n)?!0:iE.call(bb,n)?!1:W3.test(n)?kb[n]=!0:(bb[n]=!0,!1)}function G3(n,r,l,u){if(l!==null&&l.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return u?!1:l!==null?!l.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function X3(n,r,l,u){if(r===null||typeof r>"u"||G3(n,r,l,u))return!0;if(u)return!1;if(l!==null)switch(l.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function lr(n,r,l,u,c,p,d){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=u,this.attributeNamespace=c,this.mustUseProperty=l,this.propertyName=n,this.type=r,this.sanitizeURL=p,this.removeEmptyString=d}var _n={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){_n[n]=new lr(n,0,!1,n,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];_n[r]=new lr(r,1,!1,n[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){_n[n]=new lr(n,2,!1,n.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){_n[n]=new lr(n,2,!1,n,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){_n[n]=new lr(n,3,!1,n.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(n){_n[n]=new lr(n,3,!0,n,null,!1,!1)});["capture","download"].forEach(function(n){_n[n]=new lr(n,4,!1,n,null,!1,!1)});["cols","rows","size","span"].forEach(function(n){_n[n]=new lr(n,6,!1,n,null,!1,!1)});["rowSpan","start"].forEach(function(n){_n[n]=new lr(n,5,!1,n.toLowerCase(),null,!1,!1)});var KE=/[\-:]([a-z])/g;function ZE(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(KE,ZE);_n[r]=new lr(r,1,!1,n,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(KE,ZE);_n[r]=new lr(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(KE,ZE);_n[r]=new lr(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(n){_n[n]=new lr(n,1,!1,n.toLowerCase(),null,!1,!1)});_n.xlinkHref=new lr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(n){_n[n]=new lr(n,1,!1,n.toLowerCase(),null,!0,!0)});function JE(n,r,l,u){var c=_n.hasOwnProperty(r)?_n[r]:null;(c!==null?c.type!==0:u||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(X3(r,l,c,u)&&(l=null),u||c===null?Q3(r)&&(l===null?n.removeAttribute(r):n.setAttribute(r,""+l)):c.mustUseProperty?n[c.propertyName]=l===null?c.type===3?!1:"":l:(r=c.attributeName,u=c.attributeNamespace,l===null?n.removeAttribute(r):(c=c.type,l=c===3||c===4&&l===!0?"":""+l,u?n.setAttributeNS(u,r,l):n.setAttribute(r,l))))}var Gi=Mk.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Qv=Symbol.for("react.element"),us=Symbol.for("react.portal"),ss=Symbol.for("react.fragment"),eC=Symbol.for("react.strict_mode"),lE=Symbol.for("react.profiler"),zk=Symbol.for("react.provider"),Uk=Symbol.for("react.context"),tC=Symbol.for("react.forward_ref"),oE=Symbol.for("react.suspense"),uE=Symbol.for("react.suspense_list"),nC=Symbol.for("react.memo"),Fl=Symbol.for("react.lazy"),Ak=Symbol.for("react.offscreen"),_b=Symbol.iterator;function Nf(n){return n===null||typeof n!="object"?null:(n=_b&&n[_b]||n["@@iterator"],typeof n=="function"?n:null)}var Dt=Object.assign,F0;function Vf(n){if(F0===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);F0=r&&r[1]||""}return`
`+F0+n}var H0=!1;function P0(n,r){if(!n||H0)return"";H0=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object