| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240 |
- function JD(l,u){for(var f=0;f<u.length;f++){const p=u[f];if(typeof p!="string"&&!Array.isArray(p)){for(const v in p)if(v!=="default"&&!(v in l)){const h=Object.getOwnPropertyDescriptor(p,v);h&&Object.defineProperty(l,v,h.get?h:{enumerable:!0,get:()=>p[v]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const v of document.querySelectorAll('link[rel="modulepreload"]'))p(v);new MutationObserver(v=>{for(const h of v)if(h.type==="childList")for(const s of h.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&p(s)}).observe(document,{childList:!0,subtree:!0});function f(v){const h={};return v.integrity&&(h.integrity=v.integrity),v.referrerPolicy&&(h.referrerPolicy=v.referrerPolicy),v.crossOrigin==="use-credentials"?h.credentials="include":v.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function p(v){if(v.ep)return;v.ep=!0;const h=f(v);fetch(v.href,h)}})();function XD(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var rC={exports:{}},vh={},iC={exports:{}},$f={exports:{}};$f.exports;(function(l,u){/**
- * @license React
- * react.development.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.
- */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var f="18.3.1",p=Symbol.for("react.element"),v=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),S=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),Q=Symbol.for("react.offscreen"),J=Symbol.iterator,q="@@iterator";function z(m){if(m===null||typeof m!="object")return null;var C=J&&m[J]||m[q];return typeof C=="function"?C:null}var P={current:null},K={transition:null},Z={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},me={current:null},ce={},Ke=null;function He(m){Ke=m}ce.setExtraStackFrame=function(m){Ke=m},ce.getCurrentStack=null,ce.getStackAddendum=function(){var m="";Ke&&(m+=Ke);var C=ce.getCurrentStack;return C&&(m+=C()||""),m};var Pe=!1,rt=!1,Xe=!1,I=!1,_e=!1,$e={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:K,ReactCurrentOwner:me};$e.ReactDebugCurrentFrame=ce,$e.ReactCurrentActQueue=Z;function Ie(m){{for(var C=arguments.length,A=new Array(C>1?C-1:0),j=1;j<C;j++)A[j-1]=arguments[j];vn("warn",m,A)}}function Ne(m){{for(var C=arguments.length,A=new Array(C>1?C-1:0),j=1;j<C;j++)A[j-1]=arguments[j];vn("error",m,A)}}function vn(m,C,A){{var j=$e.ReactDebugCurrentFrame,X=j.getStackAddendum();X!==""&&(C+="%s",A=A.concat([X]));var ge=A.map(function(se){return String(se)});ge.unshift("Warning: "+C),Function.prototype.apply.call(console[m],console,ge)}}var ba={};function Gn(m,C){{var A=m.constructor,j=A&&(A.displayName||A.name)||"ReactClass",X=j+"."+C;if(ba[X])return;Ne("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.",C,j),ba[X]=!0}}var la={isMounted:function(m){return!1},enqueueForceUpdate:function(m,C,A){Gn(m,"forceUpdate")},enqueueReplaceState:function(m,C,A,j){Gn(m,"replaceState")},enqueueSetState:function(m,C,A,j){Gn(m,"setState")}},Pt=Object.assign,Ea={};Object.freeze(Ea);function wn(m,C,A){this.props=m,this.context=C,this.refs=Ea,this.updater=A||la}wn.prototype.isReactComponent={},wn.prototype.setState=function(m,C){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,C,"setState")},wn.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};{var fr={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)."]},Ia=function(m,C){Object.defineProperty(wn.prototype,m,{get:function(){Ie("%s(...) is deprecated in plain JavaScript React classes. %s",C[0],C[1])}})};for(var Xt in fr)fr.hasOwnProperty(Xt)&&Ia(Xt,fr[Xt])}function Wn(){}Wn.prototype=wn.prototype;function Zt(m,C,A){this.props=m,this.context=C,this.refs=Ea,this.updater=A||la}var en=Zt.prototype=new Wn;en.constructor=Zt,Pt(en,wn.prototype),en.isPureReactComponent=!0;function tn(){var m={current:null};return Object.seal(m),m}var jn=Array.isArray;function $t(m){return jn(m)}function Tn(m){{var C=typeof Symbol=="function"&&Symbol.toStringTag,A=C&&m[Symbol.toStringTag]||m.constructor.name||"Object";return A}}function It(m){try{return Yt(m),!1}catch{return!0}}function Yt(m){return""+m}function oa(m){if(It(m))return Ne("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Tn(m)),Yt(m)}function dr(m,C,A){var j=m.displayName;if(j)return j;var X=C.displayName||C.name||"";return X!==""?A+"("+X+")":A}function Sa(m){return m.displayName||"Context"}function Bn(m){if(m==null)return null;if(typeof m.tag=="number"&&Ne("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 h:return"Fragment";case v:return"Portal";case E:return"Profiler";case s:return"StrictMode";case D:return"Suspense";case w:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case S:var C=m;return Sa(C)+".Consumer";case b:var A=m;return Sa(A._context)+".Provider";case _:return dr(m,m.render,"ForwardRef");case O:var j=m.displayName||null;return j!==null?j:Bn(m.type)||"Memo";case H:{var X=m,ge=X._payload,se=X._init;try{return Bn(se(ge))}catch{return null}}}return null}var mn=Object.prototype.hasOwnProperty,nn={key:!0,ref:!0,__self:!0,__source:!0},Nn,Ya,Ut;Ut={};function xn(m){if(mn.call(m,"ref")){var C=Object.getOwnPropertyDescriptor(m,"ref").get;if(C&&C.isReactWarning)return!1}return m.ref!==void 0}function Vn(m){if(mn.call(m,"key")){var C=Object.getOwnPropertyDescriptor(m,"key").get;if(C&&C.isReactWarning)return!1}return m.key!==void 0}function Fr(m,C){var A=function(){Nn||(Nn=!0,Ne("%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)",C))};A.isReactWarning=!0,Object.defineProperty(m,"key",{get:A,configurable:!0})}function pr(m,C){var A=function(){Ya||(Ya=!0,Ne("%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)",C))};A.isReactWarning=!0,Object.defineProperty(m,"ref",{get:A,configurable:!0})}function te(m){if(typeof m.ref=="string"&&me.current&&m.__self&&me.current.stateNode!==m.__self){var C=Bn(me.current.type);Ut[C]||(Ne('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',C,m.ref),Ut[C]=!0)}}var de=function(m,C,A,j,X,ge,se){var we={$$typeof:p,type:m,key:C,ref:A,props:se,_owner:ge};return we._store={},Object.defineProperty(we._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(we,"_self",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.defineProperty(we,"_source",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.freeze&&(Object.freeze(we.props),Object.freeze(we)),we};function ke(m,C,A){var j,X={},ge=null,se=null,we=null,je=null;if(C!=null){xn(C)&&(se=C.ref,te(C)),Vn(C)&&(oa(C.key),ge=""+C.key),we=C.__self===void 0?null:C.__self,je=C.__source===void 0?null:C.__source;for(j in C)mn.call(C,j)&&!nn.hasOwnProperty(j)&&(X[j]=C[j])}var et=arguments.length-2;if(et===1)X.children=A;else if(et>1){for(var ot=Array(et),ut=0;ut<et;ut++)ot[ut]=arguments[ut+2];Object.freeze&&Object.freeze(ot),X.children=ot}if(m&&m.defaultProps){var Ae=m.defaultProps;for(j in Ae)X[j]===void 0&&(X[j]=Ae[j])}if(ge||se){var mt=typeof m=="function"?m.displayName||m.name||"Unknown":m;ge&&Fr(X,mt),se&&pr(X,mt)}return de(m,ge,se,we,je,me.current,X)}function Ze(m,C){var A=de(m.type,C,m.ref,m._self,m._source,m._owner,m.props);return A}function ct(m,C,A){if(m==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+m+".");var j,X=Pt({},m.props),ge=m.key,se=m.ref,we=m._self,je=m._source,et=m._owner;if(C!=null){xn(C)&&(se=C.ref,et=me.current),Vn(C)&&(oa(C.key),ge=""+C.key);var ot;m.type&&m.type.defaultProps&&(ot=m.type.defaultProps);for(j in C)mn.call(C,j)&&!nn.hasOwnProperty(j)&&(C[j]===void 0&&ot!==void 0?X[j]=ot[j]:X[j]=C[j])}var ut=arguments.length-2;if(ut===1)X.children=A;else if(ut>1){for(var Ae=Array(ut),mt=0;mt<ut;mt++)Ae[mt]=arguments[mt+2];X.children=Ae}return de(m.type,ge,se,we,je,et,X)}function ht(m){return typeof m=="object"&&m!==null&&m.$$typeof===p}var yt=".",hn=":";function Et(m){var C=/[=:]/g,A={"=":"=0",":":"=2"},j=m.replace(C,function(X){return A[X]});return"$"+j}var it=!1,St=/\/+/g;function Ca(m){return m.replace(St,"$&/")}function Ra(m,C){return typeof m=="object"&&m!==null&&m.key!=null?(oa(m.key),Et(""+m.key)):C.toString(36)}function ua(m,C,A,j,X){var ge=typeof m;(ge==="undefined"||ge==="boolean")&&(m=null);var se=!1;if(m===null)se=!0;else switch(ge){case"string":case"number":se=!0;break;case"object":switch(m.$$typeof){case p:case v:se=!0}}if(se){var we=m,je=X(we),et=j===""?yt+Ra(we,0):j;if($t(je)){var ot="";et!=null&&(ot=Ca(et)+"/"),ua(je,C,ot,"",function(rd){return rd})}else je!=null&&(ht(je)&&(je.key&&(!we||we.key!==je.key)&&oa(je.key),je=Ze(je,A+(je.key&&(!we||we.key!==je.key)?Ca(""+je.key)+"/":"")+et)),C.push(je));return 1}var ut,Ae,mt=0,Tt=j===""?yt:j+hn;if($t(m))for(var Ui=0;Ui<m.length;Ui++)ut=m[Ui],Ae=Tt+Ra(ut,Ui),mt+=ua(ut,C,A,Ae,X);else{var Mo=z(m);if(typeof Mo=="function"){var yr=m;Mo===yr.entries&&(it||Ie("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),it=!0);for(var zo=Mo.call(yr),jo,ad=0;!(jo=zo.next()).done;)ut=jo.value,Ae=Tt+Ra(ut,ad++),mt+=ua(ut,C,A,Ae,X)}else if(ge==="object"){var zs=String(m);throw new Error("Objects are not valid as a React child (found: "+(zs==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":zs)+"). If you meant to render a collection of children, use an array instead.")}}return mt}function vr(m,C,A){if(m==null)return m;var j=[],X=0;return ua(m,j,"","",function(ge){return C.call(A,ge,X++)}),j}function Eo(m){var C=0;return vr(m,function(){C++}),C}function Ei(m,C,A){vr(m,function(){C.apply(this,arguments)},A)}function ol(m){return vr(m,function(C){return C})||[]}function ul(m){if(!ht(m))throw new Error("React.Children.only expected to receive a single React element child.");return m}function Si(m){var C={$$typeof:S,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};C.Provider={$$typeof:b,_context:C};var A=!1,j=!1,X=!1;{var ge={$$typeof:S,_context:C};Object.defineProperties(ge,{Provider:{get:function(){return j||(j=!0,Ne("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),C.Provider},set:function(se){C.Provider=se}},_currentValue:{get:function(){return C._currentValue},set:function(se){C._currentValue=se}},_currentValue2:{get:function(){return C._currentValue2},set:function(se){C._currentValue2=se}},_threadCount:{get:function(){return C._threadCount},set:function(se){C._threadCount=se}},Consumer:{get:function(){return A||(A=!0,Ne("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),C.Consumer}},displayName:{get:function(){return C.displayName},set:function(se){X||(Ie("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",se),X=!0)}}}),C.Consumer=ge}return C._currentRenderer=null,C._currentRenderer2=null,C}var wa=-1,sa=0,Qn=1,qa=2;function Ci(m){if(m._status===wa){var C=m._result,A=C();if(A.then(function(ge){if(m._status===sa||m._status===wa){var se=m;se._status=Qn,se._result=ge}},function(ge){if(m._status===sa||m._status===wa){var se=m;se._status=qa,se._result=ge}}),m._status===wa){var j=m;j._status=sa,j._result=A}}if(m._status===Qn){var X=m._result;return X===void 0&&Ne(`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||Ne(`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 R(m){var C={_status:wa,_result:m},A={$$typeof:H,_payload:C,_init:Ci};{var j,X;Object.defineProperties(A,{defaultProps:{configurable:!0,get:function(){return j},set:function(ge){Ne("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."),j=ge,Object.defineProperty(A,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return X},set:function(ge){Ne("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=ge,Object.defineProperty(A,"propTypes",{enumerable:!0})}}})}return A}function G(m){m!=null&&m.$$typeof===O?Ne("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof m!="function"?Ne("forwardRef requires a render function but was given %s.",m===null?"null":typeof m):m.length!==0&&m.length!==2&&Ne("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)&&Ne("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var C={$$typeof:_,render:m};{var A;Object.defineProperty(C,"displayName",{enumerable:!1,configurable:!0,get:function(){return A},set:function(j){A=j,!m.name&&!m.displayName&&(m.displayName=j)}})}return C}var ne;ne=Symbol.for("react.module.reference");function pe(m){return!!(typeof m=="string"||typeof m=="function"||m===h||m===E||_e||m===s||m===D||m===w||I||m===Q||Pe||rt||Xe||typeof m=="object"&&m!==null&&(m.$$typeof===H||m.$$typeof===O||m.$$typeof===b||m.$$typeof===S||m.$$typeof===_||m.$$typeof===ne||m.getModuleId!==void 0))}function ze(m,C){pe(m)||Ne("memo: The first argument must be a component. Instead received: %s",m===null?"null":typeof m);var A={$$typeof:O,type:m,compare:C===void 0?null:C};{var j;Object.defineProperty(A,"displayName",{enumerable:!1,configurable:!0,get:function(){return j},set:function(X){j=X,!m.name&&!m.displayName&&(m.displayName=X)}})}return A}function Se(){var m=P.current;return m===null&&Ne(`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 De(m){var C=Se();if(m._context!==void 0){var A=m._context;A.Consumer===m?Ne("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?"):A.Provider===m&&Ne("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return C.useContext(m)}function he(m){var C=Se();return C.useState(m)}function kt(m,C,A){var j=Se();return j.useReducer(m,C,A)}function ft(m){var C=Se();return C.useRef(m)}function dt(m,C){var A=Se();return A.useEffect(m,C)}function yn(m,C){var A=Se();return A.useInsertionEffect(m,C)}function Ga(m,C){var A=Se();return A.useLayoutEffect(m,C)}function Ta(m,C){var A=Se();return A.useCallback(m,C)}function Ot(m,C){var A=Se();return A.useMemo(m,C)}function Ri(m,C,A){var j=Se();return j.useImperativeHandle(m,C,A)}function Na(m,C){{var A=Se();return A.useDebugValue(m,C)}}function Oe(){var m=Se();return m.useTransition()}function wi(m){var C=Se();return C.useDeferredValue(m)}function Ts(){var m=Se();return m.useId()}function Ns(m,C,A){var j=Se();return j.useSyncExternalStore(m,C,A)}var Hr=0,So,Co,Ro,wo,To,xs,_s;function sl(){}sl.__reactDisabledLog=!0;function No(){{if(Hr===0){So=console.log,Co=console.info,Ro=console.warn,wo=console.error,To=console.group,xs=console.groupCollapsed,_s=console.groupEnd;var m={configurable:!0,enumerable:!0,value:sl,writable:!0};Object.defineProperties(console,{info:m,log:m,warn:m,error:m,group:m,groupCollapsed:m,groupEnd:m})}Hr++}}function Wa(){{if(Hr--,Hr===0){var m={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Pt({},m,{value:So}),info:Pt({},m,{value:Co}),warn:Pt({},m,{value:Ro}),error:Pt({},m,{value:wo}),group:Pt({},m,{value:To}),groupCollapsed:Pt({},m,{value:xs}),groupEnd:Pt({},m,{value:_s})})}Hr<0&&Ne("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ti=$e.ReactCurrentDispatcher,Pr;function cl(m,C,A){{if(Pr===void 0)try{throw Error()}catch(X){var j=X.stack.trim().match(/\n( *(at )?)/);Pr=j&&j[1]||""}return`
- `+Pr+m}}var Ni=!1,fl;{var xo=typeof WeakMap=="function"?WeakMap:Map;fl=new xo}function Ds(m,C){if(!m||Ni)return"";{var A=fl.get(m);if(A!==void 0)return A}var j;Ni=!0;var X=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ge;ge=Ti.current,Ti.current=null,No();try{if(C){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(Tt){j=Tt}Reflect.construct(m,[],se)}else{try{se.call()}catch(Tt){j=Tt}m.call(se.prototype)}}else{try{throw Error()}catch(Tt){j=Tt}m()}}catch(Tt){if(Tt&&j&&typeof Tt.stack=="string"){for(var we=Tt.stack.split(`
- `),je=j.stack.split(`
- `),et=we.length-1,ot=je.length-1;et>=1&&ot>=0&&we[et]!==je[ot];)ot--;for(;et>=1&&ot>=0;et--,ot--)if(we[et]!==je[ot]){if(et!==1||ot!==1)do if(et--,ot--,ot<0||we[et]!==je[ot]){var ut=`
- `+we[et].replace(" at new "," at ");return m.displayName&&ut.includes("<anonymous>")&&(ut=ut.replace("<anonymous>",m.displayName)),typeof m=="function"&&fl.set(m,ut),ut}while(et>=1&&ot>=0);break}}}finally{Ni=!1,Ti.current=ge,Wa(),Error.prepareStackTrace=X}var Ae=m?m.displayName||m.name:"",mt=Ae?cl(Ae):"";return typeof m=="function"&&fl.set(m,mt),mt}function _o(m,C,A){return Ds(m,!1)}function Xf(m){var C=m.prototype;return!!(C&&C.isReactComponent)}function xi(m,C,A){if(m==null)return"";if(typeof m=="function")return Ds(m,Xf(m));if(typeof m=="string")return cl(m);switch(m){case D:return cl("Suspense");case w:return cl("SuspenseList")}if(typeof m=="object")switch(m.$$typeof){case _:return _o(m.render);case O:return xi(m.type,C,A);case H:{var j=m,X=j._payload,ge=j._init;try{return xi(ge(X),C,A)}catch{}}}return""}var Us={},Do=$e.ReactDebugCurrentFrame;function Ge(m){if(m){var C=m._owner,A=xi(m.type,m._source,C?C.type:null);Do.setExtraStackFrame(A)}else Do.setExtraStackFrame(null)}function Zf(m,C,A,j,X){{var ge=Function.call.bind(mn);for(var se in m)if(ge(m,se)){var we=void 0;try{if(typeof m[se]!="function"){var je=Error((j||"React class")+": "+A+" 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 je.name="Invariant Violation",je}we=m[se](C,se,j,A,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(et){we=et}we&&!(we instanceof Error)&&(Ge(X),Ne("%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).",j||"React class",A,se,typeof we),Ge(null)),we instanceof Error&&!(we.message in Us)&&(Us[we.message]=!0,Ge(X),Ne("Failed %s type: %s",A,we.message),Ge(null))}}}function mr(m){if(m){var C=m._owner,A=xi(m.type,m._source,C?C.type:null);He(A)}else He(null)}var xe;xe=!1;function Uo(){if(me.current){var m=Bn(me.current.type);if(m)return`
- Check the render method of \``+m+"`."}return""}function _n(m){if(m!==void 0){var C=m.fileName.replace(/^.*[\\\/]/,""),A=m.lineNumber;return`
- Check your code at `+C+":"+A+"."}return""}function _i(m){return m!=null?_n(m.__source):""}var $r={};function ed(m){var C=Uo();if(!C){var A=typeof m=="string"?m:m.displayName||m.name;A&&(C=`
- Check the top-level render call using <`+A+">.")}return C}function qt(m,C){if(!(!m._store||m._store.validated||m.key!=null)){m._store.validated=!0;var A=ed(C);if(!$r[A]){$r[A]=!0;var j="";m&&m._owner&&m._owner!==me.current&&(j=" It was passed a child from "+Bn(m._owner.type)+"."),mr(m),Ne('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',A,j),mr(null)}}}function vt(m,C){if(typeof m=="object"){if($t(m))for(var A=0;A<m.length;A++){var j=m[A];ht(j)&&qt(j,C)}else if(ht(m))m._store&&(m._store.validated=!0);else if(m){var X=z(m);if(typeof X=="function"&&X!==m.entries)for(var ge=X.call(m),se;!(se=ge.next()).done;)ht(se.value)&&qt(se.value,C)}}}function ks(m){{var C=m.type;if(C==null||typeof C=="string")return;var A;if(typeof C=="function")A=C.propTypes;else if(typeof C=="object"&&(C.$$typeof===_||C.$$typeof===O))A=C.propTypes;else return;if(A){var j=Bn(C);Zf(A,m.props,"prop",j,m)}else if(C.PropTypes!==void 0&&!xe){xe=!0;var X=Bn(C);Ne("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",X||"Unknown")}typeof C.getDefaultProps=="function"&&!C.getDefaultProps.isReactClassApproved&&Ne("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ca(m){{for(var C=Object.keys(m.props),A=0;A<C.length;A++){var j=C[A];if(j!=="children"&&j!=="key"){mr(m),Ne("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",j),mr(null);break}}m.ref!==null&&(mr(m),Ne("Invalid attribute `ref` supplied to `React.Fragment`."),mr(null))}}function Dn(m,C,A){var j=pe(m);if(!j){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 ge=_i(C);ge?X+=ge:X+=Uo();var se;m===null?se="null":$t(m)?se="array":m!==void 0&&m.$$typeof===p?(se="<"+(Bn(m.type)||"Unknown")+" />",X=" Did you accidentally export a JSX literal instead of a component?"):se=typeof m,Ne("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 we=ke.apply(this,arguments);if(we==null)return we;if(j)for(var je=2;je<arguments.length;je++)vt(arguments[je],m);return m===h?ca(we):ks(we),we}var xa=!1;function td(m){var C=Dn.bind(null,m);return C.type=m,xa||(xa=!0,Ie("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(C,"type",{enumerable:!1,get:function(){return Ie("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:m}),m}}),C}function ko(m,C,A){for(var j=ct.apply(this,arguments),X=2;X<arguments.length;X++)vt(arguments[X],j.type);return ks(j),j}function Os(m,C){var A=K.transition;K.transition={};var j=K.transition;K.transition._updatedFibers=new Set;try{m()}finally{if(K.transition=A,A===null&&j._updatedFibers){var X=j._updatedFibers.size;X>10&&Ie("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."),j._updatedFibers.clear()}}}var Oo=!1,dl=null;function nd(m){if(dl===null)try{var C=("require"+Math.random()).slice(0,7),A=l&&l[C];dl=A.call(l,"timers").setImmediate}catch{dl=function(X){Oo===!1&&(Oo=!0,typeof MessageChannel>"u"&&Ne("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 ge=new MessageChannel;ge.port1.onmessage=X,ge.port2.postMessage(void 0)}}return dl(m)}var Ir=0,Di=!1;function Lo(m){{var C=Ir;Ir++,Z.current===null&&(Z.current=[]);var A=Z.isBatchingLegacy,j;try{if(Z.isBatchingLegacy=!0,j=m(),!A&&Z.didScheduleLegacyUpdate){var X=Z.current;X!==null&&(Z.didScheduleLegacyUpdate=!1,ml(X))}}catch(Ae){throw hr(C),Ae}finally{Z.isBatchingLegacy=A}if(j!==null&&typeof j=="object"&&typeof j.then=="function"){var ge=j,se=!1,we={then:function(Ae,mt){se=!0,ge.then(function(Tt){hr(C),Ir===0?pl(Tt,Ae,mt):Ae(Tt)},function(Tt){hr(C),mt(Tt)})}};return!Di&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){se||(Di=!0,Ne("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 () => ...);"))}),we}else{var je=j;if(hr(C),Ir===0){var et=Z.current;et!==null&&(ml(et),Z.current=null);var ot={then:function(Ae,mt){Z.current===null?(Z.current=[],pl(je,Ae,mt)):Ae(je)}};return ot}else{var ut={then:function(Ae,mt){Ae(je)}};return ut}}}}function hr(m){m!==Ir-1&&Ne("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ir=m}function pl(m,C,A){{var j=Z.current;if(j!==null)try{ml(j),nd(function(){j.length===0?(Z.current=null,C(m)):pl(m,C,A)})}catch(X){A(X)}else C(m)}}var vl=!1;function ml(m){if(!vl){vl=!0;var C=0;try{for(;C<m.length;C++){var A=m[C];do A=A(!0);while(A!==null)}m.length=0}catch(j){throw m=m.slice(C+1),j}finally{vl=!1}}}var Ls=Dn,As=ko,Ao=td,Ms={map:vr,forEach:Ei,count:Eo,toArray:ol,only:ul};u.Children=Ms,u.Component=wn,u.Fragment=h,u.Profiler=E,u.PureComponent=Zt,u.StrictMode=s,u.Suspense=D,u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$e,u.act=Lo,u.cloneElement=As,u.createContext=Si,u.createElement=Ls,u.createFactory=Ao,u.createRef=tn,u.forwardRef=G,u.isValidElement=ht,u.lazy=R,u.memo=ze,u.startTransition=Os,u.unstable_act=Lo,u.useCallback=Ta,u.useContext=De,u.useDebugValue=Na,u.useDeferredValue=wi,u.useEffect=dt,u.useId=Ts,u.useImperativeHandle=Ri,u.useInsertionEffect=yn,u.useLayoutEffect=Ga,u.useMemo=Ot,u.useReducer=kt,u.useRef=ft,u.useState=he,u.useSyncExternalStore=Ns,u.useTransition=Oe,u.version=f,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})($f,$f.exports);var ZD=$f.exports;iC.exports=ZD;var B=iC.exports;const lC=XD(B),eU=JD({__proto__:null,default:lC},[B]);/**
- * @license React
- * react-jsx-dev-runtime.development.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.
- */(function(){var l=B,u=Symbol.for("react.element"),f=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),E=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),H=Symbol.iterator,Q="@@iterator";function J(R){if(R===null||typeof R!="object")return null;var G=H&&R[H]||R[Q];return typeof G=="function"?G:null}var q=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function z(R){{for(var G=arguments.length,ne=new Array(G>1?G-1:0),pe=1;pe<G;pe++)ne[pe-1]=arguments[pe];P("error",R,ne)}}function P(R,G,ne){{var pe=q.ReactDebugCurrentFrame,ze=pe.getStackAddendum();ze!==""&&(G+="%s",ne=ne.concat([ze]));var Se=ne.map(function(De){return String(De)});Se.unshift("Warning: "+G),Function.prototype.apply.call(console[R],console,Se)}}var K=!1,Z=!1,me=!1,ce=!1,Ke=!1,He;He=Symbol.for("react.module.reference");function Pe(R){return!!(typeof R=="string"||typeof R=="function"||R===p||R===h||Ke||R===v||R===S||R===_||ce||R===O||K||Z||me||typeof R=="object"&&R!==null&&(R.$$typeof===w||R.$$typeof===D||R.$$typeof===s||R.$$typeof===E||R.$$typeof===b||R.$$typeof===He||R.getModuleId!==void 0))}function rt(R,G,ne){var pe=R.displayName;if(pe)return pe;var ze=G.displayName||G.name||"";return ze!==""?ne+"("+ze+")":ne}function Xe(R){return R.displayName||"Context"}function I(R){if(R==null)return null;if(typeof R.tag=="number"&&z("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof R=="function")return R.displayName||R.name||null;if(typeof R=="string")return R;switch(R){case p:return"Fragment";case f:return"Portal";case h:return"Profiler";case v:return"StrictMode";case S:return"Suspense";case _:return"SuspenseList"}if(typeof R=="object")switch(R.$$typeof){case E:var G=R;return Xe(G)+".Consumer";case s:var ne=R;return Xe(ne._context)+".Provider";case b:return rt(R,R.render,"ForwardRef");case D:var pe=R.displayName||null;return pe!==null?pe:I(R.type)||"Memo";case w:{var ze=R,Se=ze._payload,De=ze._init;try{return I(De(Se))}catch{return null}}}return null}var _e=Object.assign,$e=0,Ie,Ne,vn,ba,Gn,la,Pt;function Ea(){}Ea.__reactDisabledLog=!0;function wn(){{if($e===0){Ie=console.log,Ne=console.info,vn=console.warn,ba=console.error,Gn=console.group,la=console.groupCollapsed,Pt=console.groupEnd;var R={configurable:!0,enumerable:!0,value:Ea,writable:!0};Object.defineProperties(console,{info:R,log:R,warn:R,error:R,group:R,groupCollapsed:R,groupEnd:R})}$e++}}function fr(){{if($e--,$e===0){var R={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:_e({},R,{value:Ie}),info:_e({},R,{value:Ne}),warn:_e({},R,{value:vn}),error:_e({},R,{value:ba}),group:_e({},R,{value:Gn}),groupCollapsed:_e({},R,{value:la}),groupEnd:_e({},R,{value:Pt})})}$e<0&&z("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ia=q.ReactCurrentDispatcher,Xt;function Wn(R,G,ne){{if(Xt===void 0)try{throw Error()}catch(ze){var pe=ze.stack.trim().match(/\n( *(at )?)/);Xt=pe&&pe[1]||""}return`
- `+Xt+R}}var Zt=!1,en;{var tn=typeof WeakMap=="function"?WeakMap:Map;en=new tn}function jn(R,G){if(!R||Zt)return"";{var ne=en.get(R);if(ne!==void 0)return ne}var pe;Zt=!0;var ze=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Se;Se=Ia.current,Ia.current=null,wn();try{if(G){var De=function(){throw Error()};if(Object.defineProperty(De.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(De,[])}catch(Ot){pe=Ot}Reflect.construct(R,[],De)}else{try{De.call()}catch(Ot){pe=Ot}R.call(De.prototype)}}else{try{throw Error()}catch(Ot){pe=Ot}R()}}catch(Ot){if(Ot&&pe&&typeof Ot.stack=="string"){for(var he=Ot.stack.split(`
- `),kt=pe.stack.split(`
- `),ft=he.length-1,dt=kt.length-1;ft>=1&&dt>=0&&he[ft]!==kt[dt];)dt--;for(;ft>=1&&dt>=0;ft--,dt--)if(he[ft]!==kt[dt]){if(ft!==1||dt!==1)do if(ft--,dt--,dt<0||he[ft]!==kt[dt]){var yn=`
- `+he[ft].replace(" at new "," at ");return R.displayName&&yn.includes("<anonymous>")&&(yn=yn.replace("<anonymous>",R.displayName)),typeof R=="function"&&en.set(R,yn),yn}while(ft>=1&&dt>=0);break}}}finally{Zt=!1,Ia.current=Se,fr(),Error.prepareStackTrace=ze}var Ga=R?R.displayName||R.name:"",Ta=Ga?Wn(Ga):"";return typeof R=="function"&&en.set(R,Ta),Ta}function $t(R,G,ne){return jn(R,!1)}function Tn(R){var G=R.prototype;return!!(G&&G.isReactComponent)}function It(R,G,ne){if(R==null)return"";if(typeof R=="function")return jn(R,Tn(R));if(typeof R=="string")return Wn(R);switch(R){case S:return Wn("Suspense");case _:return Wn("SuspenseList")}if(typeof R=="object")switch(R.$$typeof){case b:return $t(R.render);case D:return It(R.type,G,ne);case w:{var pe=R,ze=pe._payload,Se=pe._init;try{return It(Se(ze),G,ne)}catch{}}}return""}var Yt=Object.prototype.hasOwnProperty,oa={},dr=q.ReactDebugCurrentFrame;function Sa(R){if(R){var G=R._owner,ne=It(R.type,R._source,G?G.type:null);dr.setExtraStackFrame(ne)}else dr.setExtraStackFrame(null)}function Bn(R,G,ne,pe,ze){{var Se=Function.call.bind(Yt);for(var De in R)if(Se(R,De)){var he=void 0;try{if(typeof R[De]!="function"){var kt=Error((pe||"React class")+": "+ne+" type `"+De+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof R[De]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw kt.name="Invariant Violation",kt}he=R[De](G,De,pe,ne,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ft){he=ft}he&&!(he instanceof Error)&&(Sa(ze),z("%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).",pe||"React class",ne,De,typeof he),Sa(null)),he instanceof Error&&!(he.message in oa)&&(oa[he.message]=!0,Sa(ze),z("Failed %s type: %s",ne,he.message),Sa(null))}}}var mn=Array.isArray;function nn(R){return mn(R)}function Nn(R){{var G=typeof Symbol=="function"&&Symbol.toStringTag,ne=G&&R[Symbol.toStringTag]||R.constructor.name||"Object";return ne}}function Ya(R){try{return Ut(R),!1}catch{return!0}}function Ut(R){return""+R}function xn(R){if(Ya(R))return z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Nn(R)),Ut(R)}var Vn=q.ReactCurrentOwner,Fr={key:!0,ref:!0,__self:!0,__source:!0},pr,te,de;de={};function ke(R){if(Yt.call(R,"ref")){var G=Object.getOwnPropertyDescriptor(R,"ref").get;if(G&&G.isReactWarning)return!1}return R.ref!==void 0}function Ze(R){if(Yt.call(R,"key")){var G=Object.getOwnPropertyDescriptor(R,"key").get;if(G&&G.isReactWarning)return!1}return R.key!==void 0}function ct(R,G){if(typeof R.ref=="string"&&Vn.current&&G&&Vn.current.stateNode!==G){var ne=I(Vn.current.type);de[ne]||(z('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',I(Vn.current.type),R.ref),de[ne]=!0)}}function ht(R,G){{var ne=function(){pr||(pr=!0,z("%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)",G))};ne.isReactWarning=!0,Object.defineProperty(R,"key",{get:ne,configurable:!0})}}function yt(R,G){{var ne=function(){te||(te=!0,z("%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)",G))};ne.isReactWarning=!0,Object.defineProperty(R,"ref",{get:ne,configurable:!0})}}var hn=function(R,G,ne,pe,ze,Se,De){var he={$$typeof:u,type:R,key:G,ref:ne,props:De,_owner:Se};return he._store={},Object.defineProperty(he._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(he,"_self",{configurable:!1,enumerable:!1,writable:!1,value:pe}),Object.defineProperty(he,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ze}),Object.freeze&&(Object.freeze(he.props),Object.freeze(he)),he};function Et(R,G,ne,pe,ze){{var Se,De={},he=null,kt=null;ne!==void 0&&(xn(ne),he=""+ne),Ze(G)&&(xn(G.key),he=""+G.key),ke(G)&&(kt=G.ref,ct(G,ze));for(Se in G)Yt.call(G,Se)&&!Fr.hasOwnProperty(Se)&&(De[Se]=G[Se]);if(R&&R.defaultProps){var ft=R.defaultProps;for(Se in ft)De[Se]===void 0&&(De[Se]=ft[Se])}if(he||kt){var dt=typeof R=="function"?R.displayName||R.name||"Unknown":R;he&&ht(De,dt),kt&&yt(De,dt)}return hn(R,he,kt,ze,pe,Vn.current,De)}}var it=q.ReactCurrentOwner,St=q.ReactDebugCurrentFrame;function Ca(R){if(R){var G=R._owner,ne=It(R.type,R._source,G?G.type:null);St.setExtraStackFrame(ne)}else St.setExtraStackFrame(null)}var Ra;Ra=!1;function ua(R){return typeof R=="object"&&R!==null&&R.$$typeof===u}function vr(){{if(it.current){var R=I(it.current.type);if(R)return`
- Check the render method of \``+R+"`."}return""}}function Eo(R){{if(R!==void 0){var G=R.fileName.replace(/^.*[\\\/]/,""),ne=R.lineNumber;return`
- Check your code at `+G+":"+ne+"."}return""}}var Ei={};function ol(R){{var G=vr();if(!G){var ne=typeof R=="string"?R:R.displayName||R.name;ne&&(G=`
- Check the top-level render call using <`+ne+">.")}return G}}function ul(R,G){{if(!R._store||R._store.validated||R.key!=null)return;R._store.validated=!0;var ne=ol(G);if(Ei[ne])return;Ei[ne]=!0;var pe="";R&&R._owner&&R._owner!==it.current&&(pe=" It was passed a child from "+I(R._owner.type)+"."),Ca(R),z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ne,pe),Ca(null)}}function Si(R,G){{if(typeof R!="object")return;if(nn(R))for(var ne=0;ne<R.length;ne++){var pe=R[ne];ua(pe)&&ul(pe,G)}else if(ua(R))R._store&&(R._store.validated=!0);else if(R){var ze=J(R);if(typeof ze=="function"&&ze!==R.entries)for(var Se=ze.call(R),De;!(De=Se.next()).done;)ua(De.value)&&ul(De.value,G)}}}function wa(R){{var G=R.type;if(G==null||typeof G=="string")return;var ne;if(typeof G=="function")ne=G.propTypes;else if(typeof G=="object"&&(G.$$typeof===b||G.$$typeof===D))ne=G.propTypes;else return;if(ne){var pe=I(G);Bn(ne,R.props,"prop",pe,R)}else if(G.PropTypes!==void 0&&!Ra){Ra=!0;var ze=I(G);z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ze||"Unknown")}typeof G.getDefaultProps=="function"&&!G.getDefaultProps.isReactClassApproved&&z("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sa(R){{for(var G=Object.keys(R.props),ne=0;ne<G.length;ne++){var pe=G[ne];if(pe!=="children"&&pe!=="key"){Ca(R),z("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",pe),Ca(null);break}}R.ref!==null&&(Ca(R),z("Invalid attribute `ref` supplied to `React.Fragment`."),Ca(null))}}var Qn={};function qa(R,G,ne,pe,ze,Se){{var De=Pe(R);if(!De){var he="";(R===void 0||typeof R=="object"&&R!==null&&Object.keys(R).length===0)&&(he+=" 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 kt=Eo(ze);kt?he+=kt:he+=vr();var ft;R===null?ft="null":nn(R)?ft="array":R!==void 0&&R.$$typeof===u?(ft="<"+(I(R.type)||"Unknown")+" />",he=" Did you accidentally export a JSX literal instead of a component?"):ft=typeof R,z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ft,he)}var dt=Et(R,G,ne,ze,Se);if(dt==null)return dt;if(De){var yn=G.children;if(yn!==void 0)if(pe)if(nn(yn)){for(var Ga=0;Ga<yn.length;Ga++)Si(yn[Ga],R);Object.freeze&&Object.freeze(yn)}else z("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Si(yn,R)}if(Yt.call(G,"key")){var Ta=I(R),Ot=Object.keys(G).filter(function(Oe){return Oe!=="key"}),Ri=Ot.length>0?"{key: someKey, "+Ot.join(": ..., ")+": ...}":"{key: someKey}";if(!Qn[Ta+Ri]){var Na=Ot.length>0?"{"+Ot.join(": ..., ")+": ...}":"{}";z(`A props object containing a "key" prop is being spread into JSX:
- let props = %s;
- <%s {...props} />
- React keys must be passed directly to JSX without using spread:
- let props = %s;
- <%s key={someKey} {...props} />`,Ri,Ta,Na,Ta),Qn[Ta+Ri]=!0}}return R===p?sa(dt):wa(dt),dt}}var Ci=qa;vh.Fragment=p,vh.jsxDEV=Ci})();rC.exports=vh;var x=rC.exports,mh={},oC={exports:{}},ra={},uC={exports:{}},sC={};(function(l){/**
- * @license React
- * scheduler.development.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.
- */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var u=!1,f=5;function p(te,de){var ke=te.length;te.push(de),s(te,de,ke)}function v(te){return te.length===0?null:te[0]}function h(te){if(te.length===0)return null;var de=te[0],ke=te.pop();return ke!==de&&(te[0]=ke,E(te,ke,0)),de}function s(te,de,ke){for(var Ze=ke;Ze>0;){var ct=Ze-1>>>1,ht=te[ct];if(b(ht,de)>0)te[ct]=de,te[Ze]=ht,Ze=ct;else return}}function E(te,de,ke){for(var Ze=ke,ct=te.length,ht=ct>>>1;Ze<ht;){var yt=(Ze+1)*2-1,hn=te[yt],Et=yt+1,it=te[Et];if(b(hn,de)<0)Et<ct&&b(it,hn)<0?(te[Ze]=it,te[Et]=de,Ze=Et):(te[Ze]=hn,te[yt]=de,Ze=yt);else if(Et<ct&&b(it,de)<0)te[Ze]=it,te[Et]=de,Ze=Et;else return}}function b(te,de){var ke=te.sortIndex-de.sortIndex;return ke!==0?ke:te.id-de.id}var S=1,_=2,D=3,w=4,O=5;function H(te,de){}var Q=typeof performance=="object"&&typeof performance.now=="function";if(Q){var J=performance;l.unstable_now=function(){return J.now()}}else{var q=Date,z=q.now();l.unstable_now=function(){return q.now()-z}}var P=1073741823,K=-1,Z=250,me=5e3,ce=1e4,Ke=P,He=[],Pe=[],rt=1,Xe=null,I=D,_e=!1,$e=!1,Ie=!1,Ne=typeof setTimeout=="function"?setTimeout:null,vn=typeof clearTimeout=="function"?clearTimeout:null,ba=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Gn(te){for(var de=v(Pe);de!==null;){if(de.callback===null)h(Pe);else if(de.startTime<=te)h(Pe),de.sortIndex=de.expirationTime,p(He,de);else return;de=v(Pe)}}function la(te){if(Ie=!1,Gn(te),!$e)if(v(He)!==null)$e=!0,Ut(Pt);else{var de=v(Pe);de!==null&&xn(la,de.startTime-te)}}function Pt(te,de){$e=!1,Ie&&(Ie=!1,Vn()),_e=!0;var ke=I;try{var Ze;if(!u)return Ea(te,de)}finally{Xe=null,I=ke,_e=!1}}function Ea(te,de){var ke=de;for(Gn(ke),Xe=v(He);Xe!==null&&!(Xe.expirationTime>ke&&(!te||dr()));){var Ze=Xe.callback;if(typeof Ze=="function"){Xe.callback=null,I=Xe.priorityLevel;var ct=Xe.expirationTime<=ke,ht=Ze(ct);ke=l.unstable_now(),typeof ht=="function"?Xe.callback=ht:Xe===v(He)&&h(He),Gn(ke)}else h(He);Xe=v(He)}if(Xe!==null)return!0;var yt=v(Pe);return yt!==null&&xn(la,yt.startTime-ke),!1}function wn(te,de){switch(te){case S:case _:case D:case w:case O:break;default:te=D}var ke=I;I=te;try{return de()}finally{I=ke}}function fr(te){var de;switch(I){case S:case _:case D:de=D;break;default:de=I;break}var ke=I;I=de;try{return te()}finally{I=ke}}function Ia(te){var de=I;return function(){var ke=I;I=de;try{return te.apply(this,arguments)}finally{I=ke}}}function Xt(te,de,ke){var Ze=l.unstable_now(),ct;if(typeof ke=="object"&&ke!==null){var ht=ke.delay;typeof ht=="number"&&ht>0?ct=Ze+ht:ct=Ze}else ct=Ze;var yt;switch(te){case S:yt=K;break;case _:yt=Z;break;case O:yt=Ke;break;case w:yt=ce;break;case D:default:yt=me;break}var hn=ct+yt,Et={id:rt++,callback:de,priorityLevel:te,startTime:ct,expirationTime:hn,sortIndex:-1};return ct>Ze?(Et.sortIndex=ct,p(Pe,Et),v(He)===null&&Et===v(Pe)&&(Ie?Vn():Ie=!0,xn(la,ct-Ze))):(Et.sortIndex=hn,p(He,Et),!$e&&!_e&&($e=!0,Ut(Pt))),Et}function Wn(){}function Zt(){!$e&&!_e&&($e=!0,Ut(Pt))}function en(){return v(He)}function tn(te){te.callback=null}function jn(){return I}var $t=!1,Tn=null,It=-1,Yt=f,oa=-1;function dr(){var te=l.unstable_now()-oa;return!(te<Yt)}function Sa(){}function Bn(te){if(te<0||te>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}te>0?Yt=Math.floor(1e3/te):Yt=f}var mn=function(){if(Tn!==null){var te=l.unstable_now();oa=te;var de=!0,ke=!0;try{ke=Tn(de,te)}finally{ke?nn():($t=!1,Tn=null)}}else $t=!1},nn;if(typeof ba=="function")nn=function(){ba(mn)};else if(typeof MessageChannel<"u"){var Nn=new MessageChannel,Ya=Nn.port2;Nn.port1.onmessage=mn,nn=function(){Ya.postMessage(null)}}else nn=function(){Ne(mn,0)};function Ut(te){Tn=te,$t||($t=!0,nn())}function xn(te,de){It=Ne(function(){te(l.unstable_now())},de)}function Vn(){vn(It),It=-1}var Fr=Sa,pr=null;l.unstable_IdlePriority=O,l.unstable_ImmediatePriority=S,l.unstable_LowPriority=w,l.unstable_NormalPriority=D,l.unstable_Profiling=pr,l.unstable_UserBlockingPriority=_,l.unstable_cancelCallback=tn,l.unstable_continueExecution=Zt,l.unstable_forceFrameRate=Bn,l.unstable_getCurrentPriorityLevel=jn,l.unstable_getFirstCallbackNode=en,l.unstable_next=fr,l.unstable_pauseExecution=Wn,l.unstable_requestPaint=Fr,l.unstable_runWithPriority=wn,l.unstable_scheduleCallback=Xt,l.unstable_shouldYield=dr,l.unstable_wrapCallback=Ia,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})(sC);uC.exports=sC;var tU=uC.exports;/**
- * @license React
- * react-dom.development.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.
- */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var l=B,u=tU,f=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,p=!1;function v(e){p=e}function h(e){if(!p){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];E("warn",e,n)}}function s(e){if(!p){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];E("error",e,n)}}function E(e,t,n){{var a=f.ReactDebugCurrentFrame,r=a.getStackAddendum();r!==""&&(t+="%s",n=n.concat([r]));var i=n.map(function(o){return String(o)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}}var b=0,S=1,_=2,D=3,w=4,O=5,H=6,Q=7,J=8,q=9,z=10,P=11,K=12,Z=13,me=14,ce=15,Ke=16,He=17,Pe=18,rt=19,Xe=21,I=22,_e=23,$e=24,Ie=25,Ne=!0,vn=!1,ba=!1,Gn=!1,la=!1,Pt=!0,Ea=!0,wn=!0,fr=!0,Ia=new Set,Xt={},Wn={};function Zt(e,t){en(e,t),en(e+"Capture",t)}function en(e,t){Xt[e]&&s("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Xt[e]=t;{var n=e.toLowerCase();Wn[n]=e,e==="onDoubleClick"&&(Wn.ondblclick=e)}for(var a=0;a<t.length;a++)Ia.add(t[a])}var tn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",jn=Object.prototype.hasOwnProperty;function $t(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function Tn(e){try{return It(e),!1}catch{return!0}}function It(e){return""+e}function Yt(e,t){if(Tn(e))return s("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,$t(e)),It(e)}function oa(e){if(Tn(e))return s("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",$t(e)),It(e)}function dr(e,t){if(Tn(e))return s("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,$t(e)),It(e)}function Sa(e,t){if(Tn(e))return s("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,$t(e)),It(e)}function Bn(e){if(Tn(e))return s("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",$t(e)),It(e)}function mn(e){if(Tn(e))return s("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",$t(e)),It(e)}var nn=0,Nn=1,Ya=2,Ut=3,xn=4,Vn=5,Fr=6,pr=":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",te=pr+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",de=new RegExp("^["+pr+"]["+te+"]*$"),ke={},Ze={};function ct(e){return jn.call(Ze,e)?!0:jn.call(ke,e)?!1:de.test(e)?(Ze[e]=!0,!0):(ke[e]=!0,s("Invalid attribute name: `%s`",e),!1)}function ht(e,t,n){return t!==null?t.type===nn:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function yt(e,t,n,a){if(n!==null&&n.type===nn)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(n!==null)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return r!=="data-"&&r!=="aria-"}default:return!1}}function hn(e,t,n,a){if(t===null||typeof t>"u"||yt(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case Ut:return!t;case xn:return t===!1;case Vn:return isNaN(t);case Fr:return isNaN(t)||t<1}return!1}function Et(e){return St.hasOwnProperty(e)?St[e]:null}function it(e,t,n,a,r,i,o){this.acceptsBooleans=t===Ya||t===Ut||t===xn,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var St={},Ca=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ca.forEach(function(e){St[e]=new it(e,nn,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];St[t]=new it(t,Nn,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){St[e]=new it(e,Ya,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){St[e]=new it(e,Ya,!1,e,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"].forEach(function(e){St[e]=new it(e,Ut,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){St[e]=new it(e,Ut,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){St[e]=new it(e,xn,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){St[e]=new it(e,Fr,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){St[e]=new it(e,Vn,!1,e.toLowerCase(),null,!1,!1)});var Ra=/[\-\:]([a-z])/g,ua=function(e){return e[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"].forEach(function(e){var t=e.replace(Ra,ua);St[t]=new it(t,Nn,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Ra,ua);St[t]=new it(t,Nn,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ra,ua);St[t]=new it(t,Nn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){St[e]=new it(e,Nn,!1,e.toLowerCase(),null,!1,!1)});var vr="xlinkHref";St[vr]=new it("xlinkHref",Nn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){St[e]=new it(e,Nn,!1,e.toLowerCase(),null,!0,!0)});var Eo=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Ei=!1;function ol(e){!Ei&&Eo.test(e)&&(Ei=!0,s("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function ul(e,t,n,a){if(a.mustUseProperty){var r=a.propertyName;return e[r]}else{Yt(n,t),a.sanitizeURL&&ol(""+n);var i=a.attributeName,o=null;if(a.type===xn){if(e.hasAttribute(i)){var c=e.getAttribute(i);return c===""?!0:hn(t,n,a,!1)?c:c===""+n?n:c}}else if(e.hasAttribute(i)){if(hn(t,n,a,!1))return e.getAttribute(i);if(a.type===Ut)return n;o=e.getAttribute(i)}return hn(t,n,a,!1)?o===null?n:o:o===""+n?n:o}}function Si(e,t,n,a){{if(!ct(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var r=e.getAttribute(t);return Yt(n,t),r===""+n?n:r}}function wa(e,t,n,a){var r=Et(t);if(!ht(t,r,a)){if(hn(t,n,r,a)&&(n=null),a||r===null){if(ct(t)){var i=t;n===null?e.removeAttribute(i):(Yt(n,t),e.setAttribute(i,""+n))}return}var o=r.mustUseProperty;if(o){var c=r.propertyName;if(n===null){var d=r.type;e[c]=d===Ut?!1:""}else e[c]=n;return}var y=r.attributeName,g=r.attributeNamespace;if(n===null)e.removeAttribute(y);else{var N=r.type,T;N===Ut||N===xn&&n===!0?T="":(Yt(n,y),T=""+n,r.sanitizeURL&&ol(T.toString())),g?e.setAttributeNS(g,y,T):e.setAttribute(y,T)}}}var sa=Symbol.for("react.element"),Qn=Symbol.for("react.portal"),qa=Symbol.for("react.fragment"),Ci=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),G=Symbol.for("react.provider"),ne=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),ze=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),De=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),kt=Symbol.for("react.scope"),ft=Symbol.for("react.debug_trace_mode"),dt=Symbol.for("react.offscreen"),yn=Symbol.for("react.legacy_hidden"),Ga=Symbol.for("react.cache"),Ta=Symbol.for("react.tracing_marker"),Ot=Symbol.iterator,Ri="@@iterator";function Na(e){if(e===null||typeof e!="object")return null;var t=Ot&&e[Ot]||e[Ri];return typeof t=="function"?t:null}var Oe=Object.assign,wi=0,Ts,Ns,Hr,So,Co,Ro,wo;function To(){}To.__reactDisabledLog=!0;function xs(){{if(wi===0){Ts=console.log,Ns=console.info,Hr=console.warn,So=console.error,Co=console.group,Ro=console.groupCollapsed,wo=console.groupEnd;var e={configurable:!0,enumerable:!0,value:To,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}wi++}}function _s(){{if(wi--,wi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Oe({},e,{value:Ts}),info:Oe({},e,{value:Ns}),warn:Oe({},e,{value:Hr}),error:Oe({},e,{value:So}),group:Oe({},e,{value:Co}),groupCollapsed:Oe({},e,{value:Ro}),groupEnd:Oe({},e,{value:wo})})}wi<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var sl=f.ReactCurrentDispatcher,No;function Wa(e,t,n){{if(No===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);No=a&&a[1]||""}return`
- `+No+e}}var Ti=!1,Pr;{var cl=typeof WeakMap=="function"?WeakMap:Map;Pr=new cl}function Ni(e,t){if(!e||Ti)return"";{var n=Pr.get(e);if(n!==void 0)return n}var a;Ti=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=sl.current,sl.current=null,xs();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(M){a=M}Reflect.construct(e,[],o)}else{try{o.call()}catch(M){a=M}e.call(o.prototype)}}else{try{throw Error()}catch(M){a=M}e()}}catch(M){if(M&&a&&typeof M.stack=="string"){for(var c=M.stack.split(`
- `),d=a.stack.split(`
- `),y=c.length-1,g=d.length-1;y>=1&&g>=0&&c[y]!==d[g];)g--;for(;y>=1&&g>=0;y--,g--)if(c[y]!==d[g]){if(y!==1||g!==1)do if(y--,g--,g<0||c[y]!==d[g]){var N=`
- `+c[y].replace(" at new "," at ");return e.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",e.displayName)),typeof e=="function"&&Pr.set(e,N),N}while(y>=1&&g>=0);break}}}finally{Ti=!1,sl.current=i,_s(),Error.prepareStackTrace=r}var T=e?e.displayName||e.name:"",L=T?Wa(T):"";return typeof e=="function"&&Pr.set(e,L),L}function fl(e,t,n){return Ni(e,!0)}function xo(e,t,n){return Ni(e,!1)}function Ds(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function _o(e,t,n){if(e==null)return"";if(typeof e=="function")return Ni(e,Ds(e));if(typeof e=="string")return Wa(e);switch(e){case ze:return Wa("Suspense");case Se:return Wa("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case pe:return xo(e.render);case De:return _o(e.type,t,n);case he:{var a=e,r=a._payload,i=a._init;try{return _o(i(r),t,n)}catch{}}}return""}function Xf(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case O:return Wa(e.type);case Ke:return Wa("Lazy");case Z:return Wa("Suspense");case rt:return Wa("SuspenseList");case b:case _:case ce:return xo(e.type);case P:return xo(e.type.render);case S:return fl(e.type);default:return""}}function xi(e){try{var t="",n=e;do t+=Xf(n),n=n.return;while(n);return t}catch(a){return`
- Error generating stack: `+a.message+`
- `+a.stack}}function Us(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return r!==""?n+"("+r+")":n}function Do(e){return e.displayName||"Context"}function Ge(e){if(e==null)return null;if(typeof e.tag=="number"&&s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case qa:return"Fragment";case Qn:return"Portal";case R:return"Profiler";case Ci:return"StrictMode";case ze:return"Suspense";case Se:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ne:var t=e;return Do(t)+".Consumer";case G:var n=e;return Do(n._context)+".Provider";case pe:return Us(e,e.render,"ForwardRef");case De:var a=e.displayName||null;return a!==null?a:Ge(e.type)||"Memo";case he:{var r=e,i=r._payload,o=r._init;try{return Ge(o(i))}catch{return null}}}return null}function Zf(e,t,n){var a=t.displayName||t.name||"";return e.displayName||(a!==""?n+"("+a+")":n)}function mr(e){return e.displayName||"Context"}function xe(e){var t=e.tag,n=e.type;switch(t){case $e:return"Cache";case q:var a=n;return mr(a)+".Consumer";case z:var r=n;return mr(r._context)+".Provider";case Pe:return"DehydratedFragment";case P:return Zf(n,n.render,"ForwardRef");case Q:return"Fragment";case O:return n;case w:return"Portal";case D:return"Root";case H:return"Text";case Ke:return Ge(n);case J:return n===Ci?"StrictMode":"Mode";case I:return"Offscreen";case K:return"Profiler";case Xe:return"Scope";case Z:return"Suspense";case rt:return"SuspenseList";case Ie:return"TracingMarker";case S:case b:case He:case _:case me:case ce:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var Uo=f.ReactDebugCurrentFrame,_n=null,_i=!1;function $r(){{if(_n===null)return null;var e=_n._debugOwner;if(e!==null&&typeof e<"u")return xe(e)}return null}function ed(){return _n===null?"":xi(_n)}function qt(){Uo.getCurrentStack=null,_n=null,_i=!1}function vt(e){Uo.getCurrentStack=e===null?null:ed,_n=e,_i=!1}function ks(){return _n}function ca(e){_i=e}function Dn(e){return""+e}function xa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return mn(e),e;default:return""}}var td={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function ko(e,t){td[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||s("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||s("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Os(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Oo(e){return e._valueTracker}function dl(e){e._valueTracker=null}function nd(e){var t="";return e&&(Os(e)?t=e.checked?"true":"false":t=e.value),t}function Ir(e){var t=Os(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);mn(e[t]);var a=""+e[t];if(!(e.hasOwnProperty(t)||typeof n>"u"||typeof n.get!="function"||typeof n.set!="function")){var r=n.get,i=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(c){mn(c),a=""+c,i.call(this,c)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var o={getValue:function(){return a},setValue:function(c){mn(c),a=""+c},stopTracking:function(){dl(e),delete e[t]}};return o}}function Di(e){Oo(e)||(e._valueTracker=Ir(e))}function Lo(e){if(!e)return!1;var t=Oo(e);if(!t)return!0;var n=t.getValue(),a=nd(e);return a!==n?(t.setValue(a),!0):!1}function hr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var pl=!1,vl=!1,ml=!1,Ls=!1;function As(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function Ao(e,t){var n=e,a=t.checked,r=Oe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??n._wrapperState.initialChecked});return r}function Ms(e,t){ko("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!vl&&(s("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",$r()||"A component",t.type),vl=!0),t.value!==void 0&&t.defaultValue!==void 0&&!pl&&(s("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",$r()||"A component",t.type),pl=!0);var n=e,a=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:xa(t.value!=null?t.value:a),controlled:As(t)}}function m(e,t){var n=e,a=t.checked;a!=null&&wa(n,"checked",a,!1)}function C(e,t){var n=e;{var a=As(t);!n._wrapperState.controlled&&a&&!Ls&&(s("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Ls=!0),n._wrapperState.controlled&&!a&&!ml&&(s("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),ml=!0)}m(e,t);var r=xa(t.value),i=t.type;if(r!=null)i==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=Dn(r)):n.value!==Dn(r)&&(n.value=Dn(r));else if(i==="submit"||i==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?ge(n,t.type,r):t.hasOwnProperty("defaultValue")&&ge(n,t.type,xa(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function A(e,t,n){var a=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type,i=r==="submit"||r==="reset";if(i&&(t.value===void 0||t.value===null))return;var o=Dn(a._wrapperState.initialValue);n||o!==a.value&&(a.value=o),a.defaultValue=o}var c=a.name;c!==""&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,c!==""&&(a.name=c)}function j(e,t){var n=e;C(n,t),X(n,t)}function X(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var a=e;a.parentNode;)a=a.parentNode;Yt(n,"name");for(var r=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i<r.length;i++){var o=r[i];if(!(o===e||o.form!==e.form)){var c=Sc(o);if(!c)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Lo(o),C(o,c)}}}}function ge(e,t,n){(t!=="number"||hr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=Dn(e._wrapperState.initialValue):e.defaultValue!==Dn(n)&&(e.defaultValue=Dn(n)))}var se=!1,we=!1,je=!1;function et(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?l.Children.forEach(t.children,function(n){n!=null&&(typeof n=="string"||typeof n=="number"||we||(we=!0,s("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(je||(je=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!se&&(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),se=!0)}function ot(e,t){t.value!=null&&e.setAttribute("value",Dn(xa(t.value)))}var ut=Array.isArray;function Ae(e){return ut(e)}var mt;mt=!1;function Tt(){var e=$r();return e?`
- Check the render method of \``+e+"`.":""}var Ui=["value","defaultValue"];function Mo(e){{ko("select",e);for(var t=0;t<Ui.length;t++){var n=Ui[t];if(e[n]!=null){var a=Ae(e[n]);e.multiple&&!a?s("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Tt()):!e.multiple&&a&&s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Tt())}}}}function yr(e,t,n,a){var r=e.options;if(t){for(var i=n,o={},c=0;c<i.length;c++)o["$"+i[c]]=!0;for(var d=0;d<r.length;d++){var y=o.hasOwnProperty("$"+r[d].value);r[d].selected!==y&&(r[d].selected=y),y&&a&&(r[d].defaultSelected=!0)}}else{for(var g=Dn(xa(n)),N=null,T=0;T<r.length;T++){if(r[T].value===g){r[T].selected=!0,a&&(r[T].defaultSelected=!0);return}N===null&&!r[T].disabled&&(N=r[T])}N!==null&&(N.selected=!0)}}function zo(e,t){return Oe({},t,{value:void 0})}function jo(e,t){var n=e;Mo(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!mt&&(s("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),mt=!0)}function ad(e,t){var n=e;n.multiple=!!t.multiple;var a=t.value;a!=null?yr(n,!!t.multiple,a,!1):t.defaultValue!=null&&yr(n,!!t.multiple,t.defaultValue,!0)}function zs(e,t){var n=e,a=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var r=t.value;r!=null?yr(n,!!t.multiple,r,!1):a!==!!t.multiple&&(t.defaultValue!=null?yr(n,!!t.multiple,t.defaultValue,!0):yr(n,!!t.multiple,t.multiple?[]:"",!1))}function rd(e,t){var n=e,a=t.value;a!=null&&yr(n,!!t.multiple,a,!1)}var Mh=!1;function id(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=Oe({},t,{value:void 0,defaultValue:void 0,children:Dn(n._wrapperState.initialValue)});return a}function zh(e,t){var n=e;ko("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Mh&&(s("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",$r()||"A component"),Mh=!0);var a=t.value;if(a==null){var r=t.children,i=t.defaultValue;if(r!=null){s("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(i!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ae(r)){if(r.length>1)throw new Error("<textarea> can only have at most one child.");r=r[0]}i=r}}i==null&&(i=""),a=i}n._wrapperState={initialValue:xa(a)}}function jh(e,t){var n=e,a=xa(t.value),r=xa(t.defaultValue);if(a!=null){var i=Dn(a);i!==n.value&&(n.value=i),t.defaultValue==null&&n.defaultValue!==i&&(n.defaultValue=i)}r!=null&&(n.defaultValue=Dn(r))}function Bh(e,t){var n=e,a=n.textContent;a===n._wrapperState.initialValue&&a!==""&&a!==null&&(n.value=a)}function BC(e,t){jh(e,t)}var gr="http://www.w3.org/1999/xhtml",VC="http://www.w3.org/1998/Math/MathML",ld="http://www.w3.org/2000/svg";function od(e){switch(e){case"svg":return ld;case"math":return VC;default:return gr}}function ud(e,t){return e==null||e===gr?od(t):e===ld&&t==="foreignObject"?gr:e}var FC=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,a,r)})}:e},js,Vh=FC(function(e,t){if(e.namespaceURI===ld&&!("innerHTML"in e)){js=js||document.createElement("div"),js.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=js.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),Fn=1,br=3,Nt=8,Er=9,sd=11,Bs=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===br){n.nodeValue=t;return}}e.textContent=t},HC={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Bo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function PC(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var $C=["Webkit","ms","Moz","O"];Object.keys(Bo).forEach(function(e){$C.forEach(function(t){Bo[PC(t,e)]=Bo[e]})});function cd(e,t,n){var a=t==null||typeof t=="boolean"||t==="";return a?"":!n&&typeof t=="number"&&t!==0&&!(Bo.hasOwnProperty(e)&&Bo[e])?t+"px":(Sa(t,e),(""+t).trim())}var IC=/([A-Z])/g,YC=/^ms-/;function qC(e){return e.replace(IC,"-$1").toLowerCase().replace(YC,"-ms-")}var Fh=function(){};{var GC=/^(?:webkit|moz|o)[A-Z]/,WC=/^-ms-/,QC=/-(.)/g,Hh=/;\s*$/,hl={},fd={},Ph=!1,$h=!1,KC=function(e){return e.replace(QC,function(t,n){return n.toUpperCase()})},JC=function(e){hl.hasOwnProperty(e)&&hl[e]||(hl[e]=!0,s("Unsupported style property %s. Did you mean %s?",e,KC(e.replace(WC,"ms-"))))},XC=function(e){hl.hasOwnProperty(e)&&hl[e]||(hl[e]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},ZC=function(e,t){fd.hasOwnProperty(t)&&fd[t]||(fd[t]=!0,s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Hh,"")))},e0=function(e,t){Ph||(Ph=!0,s("`NaN` is an invalid value for the `%s` css style property.",e))},t0=function(e,t){$h||($h=!0,s("`Infinity` is an invalid value for the `%s` css style property.",e))};Fh=function(e,t){e.indexOf("-")>-1?JC(e):GC.test(e)?XC(e):Hh.test(t)&&ZC(e,t),typeof t=="number"&&(isNaN(t)?e0(e,t):isFinite(t)||t0(e,t))}}var n0=Fh;function a0(e){{var t="",n="";for(var a in e)if(e.hasOwnProperty(a)){var r=e[a];if(r!=null){var i=a.indexOf("--")===0;t+=n+(i?a:qC(a))+":",t+=cd(a,r,i),n=";"}}return t||null}}function Ih(e,t){var n=e.style;for(var a in t)if(t.hasOwnProperty(a)){var r=a.indexOf("--")===0;r||n0(a,t[a]);var i=cd(a,t[a],r);a==="float"&&(a="cssFloat"),r?n.setProperty(a,i):n[a]=i}}function r0(e){return e==null||typeof e=="boolean"||e===""}function Yh(e){var t={};for(var n in e)for(var a=HC[n]||[n],r=0;r<a.length;r++)t[a[r]]=n;return t}function i0(e,t){{if(!t)return;var n=Yh(e),a=Yh(t),r={};for(var i in n){var o=n[i],c=a[i];if(c&&o!==c){var d=o+","+c;if(r[d])continue;r[d]=!0,s("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",r0(e[o])?"Removing":"Updating",o,c)}}}}var l0={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},o0=Oe({menuitem:!0},l0),u0="__html";function dd(e,t){if(t){if(o0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(u0 in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&s("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function ki(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Vs={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},qh={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},yl={},s0=new RegExp("^(aria)-["+te+"]*$"),c0=new RegExp("^(aria)[A-Z]["+te+"]*$");function f0(e,t){{if(jn.call(yl,t)&&yl[t])return!0;if(c0.test(t)){var n="aria-"+t.slice(4).toLowerCase(),a=qh.hasOwnProperty(n)?n:null;if(a==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),yl[t]=!0,!0;if(t!==a)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),yl[t]=!0,!0}if(s0.test(t)){var r=t.toLowerCase(),i=qh.hasOwnProperty(r)?r:null;if(i==null)return yl[t]=!0,!1;if(t!==i)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),yl[t]=!0,!0}}return!0}function d0(e,t){{var n=[];for(var a in t){var r=f0(e,a);r||n.push(a)}var i=n.map(function(o){return"`"+o+"`"}).join(", ");n.length===1?s("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",i,e):n.length>1&&s("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",i,e)}}function p0(e,t){ki(e,t)||d0(e,t)}var Gh=!1;function v0(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Gh&&(Gh=!0,e==="select"&&t.multiple?s("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):s("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Wh=function(){};{var Un={},Qh=/^on./,m0=/^on[^A-Z]/,h0=new RegExp("^(aria)-["+te+"]*$"),y0=new RegExp("^(aria)[A-Z]["+te+"]*$");Wh=function(e,t,n,a){if(jn.call(Un,t)&&Un[t])return!0;var r=t.toLowerCase();if(r==="onfocusin"||r==="onfocusout")return s("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Un[t]=!0,!0;if(a!=null){var i=a.registrationNameDependencies,o=a.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var c=o.hasOwnProperty(r)?o[r]:null;if(c!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",t,c),Un[t]=!0,!0;if(Qh.test(t))return s("Unknown event handler property `%s`. It will be ignored.",t),Un[t]=!0,!0}else if(Qh.test(t))return m0.test(t)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Un[t]=!0,!0;if(h0.test(t)||y0.test(t))return!0;if(r==="innerhtml")return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Un[t]=!0,!0;if(r==="aria")return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Un[t]=!0,!0;if(r==="is"&&n!==null&&n!==void 0&&typeof n!="string")return s("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Un[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return s("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Un[t]=!0,!0;var d=Et(t),y=d!==null&&d.type===nn;if(Vs.hasOwnProperty(r)){var g=Vs[r];if(g!==t)return s("Invalid DOM property `%s`. Did you mean `%s`?",t,g),Un[t]=!0,!0}else if(!y&&t!==r)return s("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,r),Un[t]=!0,!0;return typeof n=="boolean"&&yt(t,n,d,!1)?(n?s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Un[t]=!0,!0):y?!0:yt(t,n,d,!1)?(Un[t]=!0,!1):((n==="false"||n==="true")&&d!==null&&d.type===Ut&&(s("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Un[t]=!0),!0)}}var g0=function(e,t,n){{var a=[];for(var r in t){var i=Wh(e,r,t[r],n);i||a.push(r)}var o=a.map(function(c){return"`"+c+"`"}).join(", ");a.length===1?s("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",o,e):a.length>1&&s("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",o,e)}};function b0(e,t,n){ki(e,t)||g0(e,t,n)}var Kh=1,pd=2,Vo=4,E0=Kh|pd|Vo,Fo=null;function S0(e){Fo!==null&&s("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Fo=e}function C0(){Fo===null&&s("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Fo=null}function R0(e){return e===Fo}function vd(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===br?t.parentNode:t}var md=null,gl=null,bl=null;function Jh(e){var t=Zr(e);if(t){if(typeof md!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var a=Sc(n);md(t.stateNode,t.type,a)}}}function w0(e){md=e}function Xh(e){gl?bl?bl.push(e):bl=[e]:gl=e}function T0(){return gl!==null||bl!==null}function Zh(){if(gl){var e=gl,t=bl;if(gl=null,bl=null,Jh(e),t)for(var n=0;n<t.length;n++)Jh(t[n])}}var ey=function(e,t){return e(t)},ty=function(){},hd=!1;function N0(){var e=T0();e&&(ty(),Zh())}function ny(e,t,n){if(hd)return e(t,n);hd=!0;try{return ey(e,t,n)}finally{hd=!1,N0()}}function x0(e,t,n){ey=e,ty=n}function _0(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function D0(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(n.disabled&&_0(t));default:return!1}}function Ho(e,t){var n=e.stateNode;if(n===null)return null;var a=Sc(n);if(a===null)return null;var r=a[t];if(D0(t,e.type,a))return null;if(r&&typeof r!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof r+"` type.");return r}var yd=!1;if(tn)try{var Po={};Object.defineProperty(Po,"passive",{get:function(){yd=!0}}),window.addEventListener("test",Po,Po),window.removeEventListener("test",Po,Po)}catch{yd=!1}function ay(e,t,n,a,r,i,o,c,d){var y=Array.prototype.slice.call(arguments,3);try{t.apply(n,y)}catch(g){this.onError(g)}}var ry=ay;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var gd=document.createElement("react");ry=function(t,n,a,r,i,o,c,d,y){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var g=document.createEvent("Event"),N=!1,T=!0,L=window.event,M=Object.getOwnPropertyDescriptor(window,"event");function V(){gd.removeEventListener(F,ve,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=L)}var ae=Array.prototype.slice.call(arguments,3);function ve(){N=!0,V(),n.apply(a,ae),T=!1}var fe,Fe=!1,Me=!1;function U(k){if(fe=k.error,Fe=!0,fe===null&&k.colno===0&&k.lineno===0&&(Me=!0),k.defaultPrevented&&fe!=null&&typeof fe=="object")try{fe._suppressLogging=!0}catch{}}var F="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",U),gd.addEventListener(F,ve,!1),g.initEvent(F,!1,!1),gd.dispatchEvent(g),M&&Object.defineProperty(window,"event",M),N&&T&&(Fe?Me&&(fe=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):fe=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(fe)),window.removeEventListener("error",U),!N)return V(),ay.apply(this,arguments)}}var U0=ry,El=!1,Fs=null,Hs=!1,bd=null,k0={onError:function(e){El=!0,Fs=e}};function Ed(e,t,n,a,r,i,o,c,d){El=!1,Fs=null,U0.apply(k0,arguments)}function O0(e,t,n,a,r,i,o,c,d){if(Ed.apply(this,arguments),El){var y=Sd();Hs||(Hs=!0,bd=y)}}function L0(){if(Hs){var e=bd;throw Hs=!1,bd=null,e}}function A0(){return El}function Sd(){if(El){var e=Fs;return El=!1,Fs=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Sl(e){return e._reactInternals}function M0(e){return e._reactInternals!==void 0}function z0(e,t){e._reactInternals=t}var be=0,Cl=1,xt=2,We=4,Oi=16,$o=32,iy=64,Qe=128,Sr=256,Li=512,Rl=1024,Yr=2048,Cr=4096,Ai=8192,Cd=16384,j0=32767,Ps=32768,kn=65536,Rd=131072,ly=1048576,wd=2097152,Mi=4194304,Td=8388608,qr=16777216,Nd=33554432,xd=We|Rl|0,_d=xt|We|Oi|$o|Li|Cr|Ai,Io=We|iy|Li|Ai,wl=Yr|Oi,Rr=Mi|Td|wd,B0=f.ReactCurrentOwner;function zi(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var a=t;do t=a,(t.flags&(xt|Cr))!==be&&(n=t.return),a=t.return;while(a)}return t.tag===D?n:null}function oy(e){if(e.tag===Z){var t=e.memoizedState;if(t===null){var n=e.alternate;n!==null&&(t=n.memoizedState)}if(t!==null)return t.dehydrated}return null}function uy(e){return e.tag===D?e.stateNode.containerInfo:null}function V0(e){return zi(e)===e}function F0(e){{var t=B0.current;if(t!==null&&t.tag===S){var n=t,a=n.stateNode;a._warnedAboutRefsInRender||s("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",xe(n)||"A component"),a._warnedAboutRefsInRender=!0}}var r=Sl(e);return r?zi(r)===r:!1}function sy(e){if(zi(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function cy(e){var t=e.alternate;if(!t){var n=zi(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var a=e,r=t;;){var i=a.return;if(i===null)break;var o=i.alternate;if(o===null){var c=i.return;if(c!==null){a=r=c;continue}break}if(i.child===o.child){for(var d=i.child;d;){if(d===a)return sy(i),e;if(d===r)return sy(i),t;d=d.sibling}throw new Error("Unable to find node on an unmounted component.")}if(a.return!==r.return)a=i,r=o;else{for(var y=!1,g=i.child;g;){if(g===a){y=!0,a=i,r=o;break}if(g===r){y=!0,r=i,a=o;break}g=g.sibling}if(!y){for(g=o.child;g;){if(g===a){y=!0,a=o,r=i;break}if(g===r){y=!0,r=o,a=i;break}g=g.sibling}if(!y)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==r)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==D)throw new Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function fy(e){var t=cy(e);return t!==null?dy(t):null}function dy(e){if(e.tag===O||e.tag===H)return e;for(var t=e.child;t!==null;){var n=dy(t);if(n!==null)return n;t=t.sibling}return null}function H0(e){var t=cy(e);return t!==null?py(t):null}function py(e){if(e.tag===O||e.tag===H)return e;for(var t=e.child;t!==null;){if(t.tag!==w){var n=py(t);if(n!==null)return n}t=t.sibling}return null}var vy=u.unstable_scheduleCallback,P0=u.unstable_cancelCallback,$0=u.unstable_shouldYield,I0=u.unstable_requestPaint,Gt=u.unstable_now,Y0=u.unstable_getCurrentPriorityLevel,$s=u.unstable_ImmediatePriority,Dd=u.unstable_UserBlockingPriority,ji=u.unstable_NormalPriority,q0=u.unstable_LowPriority,Ud=u.unstable_IdlePriority,G0=u.unstable_yieldValue,W0=u.unstable_setDisableYieldValue,Tl=null,gn=null,ie=null,Qa=!1,_a=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Q0(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return s("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Ea&&(e=Oe({},e,{getLaneLabelMap:tR,injectProfilingHooks:eR})),Tl=t.inject(e),gn=t}catch(n){s("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function K0(e,t){if(gn&&typeof gn.onScheduleFiberRoot=="function")try{gn.onScheduleFiberRoot(Tl,e,t)}catch(n){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",n))}}function J0(e,t){if(gn&&typeof gn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Qe)===Qe;if(wn){var a;switch(t){case Xn:a=$s;break;case Tr:a=Dd;break;case Nr:a=ji;break;case Ks:a=Ud;break;default:a=ji;break}gn.onCommitFiberRoot(Tl,e,a,n)}}catch(r){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",r))}}function X0(e){if(gn&&typeof gn.onPostCommitFiberRoot=="function")try{gn.onPostCommitFiberRoot(Tl,e)}catch(t){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",t))}}function Z0(e){if(gn&&typeof gn.onCommitFiberUnmount=="function")try{gn.onCommitFiberUnmount(Tl,e)}catch(t){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",t))}}function Wt(e){if(typeof G0=="function"&&(W0(e),v(e)),gn&&typeof gn.setStrictMode=="function")try{gn.setStrictMode(Tl,e)}catch(t){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",t))}}function eR(e){ie=e}function tR(){{for(var e=new Map,t=1,n=0;n<Od;n++){var a=SR(t);e.set(t,a),t*=2}return e}}function nR(e){ie!==null&&typeof ie.markCommitStarted=="function"&&ie.markCommitStarted(e)}function my(){ie!==null&&typeof ie.markCommitStopped=="function"&&ie.markCommitStopped()}function Yo(e){ie!==null&&typeof ie.markComponentRenderStarted=="function"&&ie.markComponentRenderStarted(e)}function Nl(){ie!==null&&typeof ie.markComponentRenderStopped=="function"&&ie.markComponentRenderStopped()}function aR(e){ie!==null&&typeof ie.markComponentPassiveEffectMountStarted=="function"&&ie.markComponentPassiveEffectMountStarted(e)}function rR(){ie!==null&&typeof ie.markComponentPassiveEffectMountStopped=="function"&&ie.markComponentPassiveEffectMountStopped()}function iR(e){ie!==null&&typeof ie.markComponentPassiveEffectUnmountStarted=="function"&&ie.markComponentPassiveEffectUnmountStarted(e)}function lR(){ie!==null&&typeof ie.markComponentPassiveEffectUnmountStopped=="function"&&ie.markComponentPassiveEffectUnmountStopped()}function oR(e){ie!==null&&typeof ie.markComponentLayoutEffectMountStarted=="function"&&ie.markComponentLayoutEffectMountStarted(e)}function uR(){ie!==null&&typeof ie.markComponentLayoutEffectMountStopped=="function"&&ie.markComponentLayoutEffectMountStopped()}function hy(e){ie!==null&&typeof ie.markComponentLayoutEffectUnmountStarted=="function"&&ie.markComponentLayoutEffectUnmountStarted(e)}function yy(){ie!==null&&typeof ie.markComponentLayoutEffectUnmountStopped=="function"&&ie.markComponentLayoutEffectUnmountStopped()}function sR(e,t,n){ie!==null&&typeof ie.markComponentErrored=="function"&&ie.markComponentErrored(e,t,n)}function cR(e,t,n){ie!==null&&typeof ie.markComponentSuspended=="function"&&ie.markComponentSuspended(e,t,n)}function fR(e){ie!==null&&typeof ie.markLayoutEffectsStarted=="function"&&ie.markLayoutEffectsStarted(e)}function dR(){ie!==null&&typeof ie.markLayoutEffectsStopped=="function"&&ie.markLayoutEffectsStopped()}function pR(e){ie!==null&&typeof ie.markPassiveEffectsStarted=="function"&&ie.markPassiveEffectsStarted(e)}function vR(){ie!==null&&typeof ie.markPassiveEffectsStopped=="function"&&ie.markPassiveEffectsStopped()}function gy(e){ie!==null&&typeof ie.markRenderStarted=="function"&&ie.markRenderStarted(e)}function mR(){ie!==null&&typeof ie.markRenderYielded=="function"&&ie.markRenderYielded()}function by(){ie!==null&&typeof ie.markRenderStopped=="function"&&ie.markRenderStopped()}function hR(e){ie!==null&&typeof ie.markRenderScheduled=="function"&&ie.markRenderScheduled(e)}function yR(e,t){ie!==null&&typeof ie.markForceUpdateScheduled=="function"&&ie.markForceUpdateScheduled(e,t)}function kd(e,t){ie!==null&&typeof ie.markStateUpdateScheduled=="function"&&ie.markStateUpdateScheduled(e,t)}var ye=0,Be=1,tt=2,Ct=8,Ka=16,Ey=Math.clz32?Math.clz32:ER,gR=Math.log,bR=Math.LN2;function ER(e){var t=e>>>0;return t===0?32:31-(gR(t)/bR|0)|0}var Od=31,Y=0,Qt=0,Ce=1,xl=2,wr=4,Bi=8,Ja=16,qo=32,_l=4194240,Go=64,Ld=128,Ad=256,Md=512,zd=1024,jd=2048,Bd=4096,Vd=8192,Fd=16384,Hd=32768,Pd=65536,$d=131072,Id=262144,Yd=524288,qd=1048576,Gd=2097152,Is=130023424,Dl=4194304,Wd=8388608,Qd=16777216,Kd=33554432,Jd=67108864,Sy=Dl,Wo=134217728,Cy=268435455,Qo=268435456,Vi=536870912,Kn=1073741824;function SR(e){{if(e&Ce)return"Sync";if(e&xl)return"InputContinuousHydration";if(e&wr)return"InputContinuous";if(e&Bi)return"DefaultHydration";if(e&Ja)return"Default";if(e&qo)return"TransitionHydration";if(e&_l)return"Transition";if(e&Is)return"Retry";if(e&Wo)return"SelectiveHydration";if(e&Qo)return"IdleHydration";if(e&Vi)return"Idle";if(e&Kn)return"Offscreen"}}var st=-1,Ys=Go,qs=Dl;function Ko(e){switch(Fi(e)){case Ce:return Ce;case xl:return xl;case wr:return wr;case Bi:return Bi;case Ja:return Ja;case qo:return qo;case Go:case Ld:case Ad:case Md:case zd:case jd:case Bd:case Vd:case Fd:case Hd:case Pd:case $d:case Id:case Yd:case qd:case Gd:return e&_l;case Dl:case Wd:case Qd:case Kd:case Jd:return e&Is;case Wo:return Wo;case Qo:return Qo;case Vi:return Vi;case Kn:return Kn;default:return s("Should have found matching lanes. This is a bug in React."),e}}function Gs(e,t){var n=e.pendingLanes;if(n===Y)return Y;var a=Y,r=e.suspendedLanes,i=e.pingedLanes,o=n&Cy;if(o!==Y){var c=o&~r;if(c!==Y)a=Ko(c);else{var d=o&i;d!==Y&&(a=Ko(d))}}else{var y=n&~r;y!==Y?a=Ko(y):i!==Y&&(a=Ko(i))}if(a===Y)return Y;if(t!==Y&&t!==a&&(t&r)===Y){var g=Fi(a),N=Fi(t);if(g>=N||g===Ja&&(N&_l)!==Y)return t}(a&wr)!==Y&&(a|=n&Ja);var T=e.entangledLanes;if(T!==Y)for(var L=e.entanglements,M=a&T;M>0;){var V=Hi(M),ae=1<<V;a|=L[V],M&=~ae}return a}function CR(e,t){for(var n=e.eventTimes,a=st;t>0;){var r=Hi(t),i=1<<r,o=n[r];o>a&&(a=o),t&=~i}return a}function RR(e,t){switch(e){case Ce:case xl:case wr:return t+250;case Bi:case Ja:case qo:case Go:case Ld:case Ad:case Md:case zd:case jd:case Bd:case Vd:case Fd:case Hd:case Pd:case $d:case Id:case Yd:case qd:case Gd:return t+5e3;case Dl:case Wd:case Qd:case Kd:case Jd:return st;case Wo:case Qo:case Vi:case Kn:return st;default:return s("Should have found matching lanes. This is a bug in React."),st}}function wR(e,t){for(var n=e.pendingLanes,a=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=n;o>0;){var c=Hi(o),d=1<<c,y=i[c];y===st?((d&a)===Y||(d&r)!==Y)&&(i[c]=RR(d,t)):y<=t&&(e.expiredLanes|=d),o&=~d}}function TR(e){return Ko(e.pendingLanes)}function Xd(e){var t=e.pendingLanes&~Kn;return t!==Y?t:t&Kn?Kn:Y}function NR(e){return(e&Ce)!==Y}function Zd(e){return(e&Cy)!==Y}function Ry(e){return(e&Is)===e}function xR(e){var t=Ce|wr|Ja;return(e&t)===Y}function _R(e){return(e&_l)===e}function Ws(e,t){var n=xl|wr|Bi|Ja;return(t&n)!==Y}function DR(e,t){return(t&e.expiredLanes)!==Y}function wy(e){return(e&_l)!==Y}function Ty(){var e=Ys;return Ys<<=1,(Ys&_l)===Y&&(Ys=Go),e}function UR(){var e=qs;return qs<<=1,(qs&Is)===Y&&(qs=Dl),e}function Fi(e){return e&-e}function Jo(e){return Fi(e)}function Hi(e){return 31-Ey(e)}function ep(e){return Hi(e)}function Jn(e,t){return(e&t)!==Y}function Ul(e,t){return(e&t)===t}function Ue(e,t){return e|t}function Qs(e,t){return e&~t}function Ny(e,t){return e&t}function aM(e){return e}function kR(e,t){return e!==Qt&&e<t?e:t}function tp(e){for(var t=[],n=0;n<Od;n++)t.push(e);return t}function Xo(e,t,n){e.pendingLanes|=t,t!==Vi&&(e.suspendedLanes=Y,e.pingedLanes=Y);var a=e.eventTimes,r=ep(t);a[r]=n}function OR(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,a=t;a>0;){var r=Hi(a),i=1<<r;n[r]=st,a&=~i}}function xy(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function LR(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Y,e.pingedLanes=Y,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var a=e.entanglements,r=e.eventTimes,i=e.expirationTimes,o=n;o>0;){var c=Hi(o),d=1<<c;a[c]=Y,r[c]=st,i[c]=st,o&=~d}}function np(e,t){for(var n=e.entangledLanes|=t,a=e.entanglements,r=n;r;){var i=Hi(r),o=1<<i;o&t|a[i]&t&&(a[i]|=t),r&=~o}}function AR(e,t){var n=Fi(t),a;switch(n){case wr:a=xl;break;case Ja:a=Bi;break;case Go:case Ld:case Ad:case Md:case zd:case jd:case Bd:case Vd:case Fd:case Hd:case Pd:case $d:case Id:case Yd:case qd:case Gd:case Dl:case Wd:case Qd:case Kd:case Jd:a=qo;break;case Vi:a=Qo;break;default:a=Qt;break}return(a&(e.suspendedLanes|t))!==Qt?Qt:a}function _y(e,t,n){if(_a)for(var a=e.pendingUpdatersLaneMap;n>0;){var r=ep(n),i=1<<r,o=a[r];o.add(t),n&=~i}}function Dy(e,t){if(_a)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;t>0;){var r=ep(t),i=1<<r,o=n[r];o.size>0&&(o.forEach(function(c){var d=c.alternate;(d===null||!a.has(d))&&a.add(c)}),o.clear()),t&=~i}}function Uy(e,t){return null}var Xn=Ce,Tr=wr,Nr=Ja,Ks=Vi,Zo=Qt;function Da(){return Zo}function Kt(e){Zo=e}function MR(e,t){var n=Zo;try{return Zo=e,t()}finally{Zo=n}}function zR(e,t){return e!==0&&e<t?e:t}function jR(e,t){return e>t?e:t}function ap(e,t){return e!==0&&e<t}function ky(e){var t=Fi(e);return ap(Xn,t)?ap(Tr,t)?Zd(t)?Nr:Ks:Tr:Xn}function Js(e){var t=e.current.memoizedState;return t.isDehydrated}var Oy;function BR(e){Oy=e}function VR(e){Oy(e)}var rp;function FR(e){rp=e}var Ly;function HR(e){Ly=e}var Ay;function PR(e){Ay=e}var My;function $R(e){My=e}var ip=!1,Xs=[],Gr=null,Wr=null,Qr=null,eu=new Map,tu=new Map,Kr=[],IR=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function YR(e){return IR.indexOf(e)>-1}function qR(e,t,n,a,r){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:r,targetContainers:[a]}}function zy(e,t){switch(e){case"focusin":case"focusout":Gr=null;break;case"dragenter":case"dragleave":Wr=null;break;case"mouseover":case"mouseout":Qr=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;eu.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var a=t.pointerId;tu.delete(a);break}}}function nu(e,t,n,a,r,i){if(e===null||e.nativeEvent!==i){var o=qR(t,n,a,r,i);if(t!==null){var c=Zr(t);c!==null&&rp(c)}return o}e.eventSystemFlags|=a;var d=e.targetContainers;return r!==null&&d.indexOf(r)===-1&&d.push(r),e}function GR(e,t,n,a,r){switch(t){case"focusin":{var i=r;return Gr=nu(Gr,e,t,n,a,i),!0}case"dragenter":{var o=r;return Wr=nu(Wr,e,t,n,a,o),!0}case"mouseover":{var c=r;return Qr=nu(Qr,e,t,n,a,c),!0}case"pointerover":{var d=r,y=d.pointerId;return eu.set(y,nu(eu.get(y)||null,e,t,n,a,d)),!0}case"gotpointercapture":{var g=r,N=g.pointerId;return tu.set(N,nu(tu.get(N)||null,e,t,n,a,g)),!0}}return!1}function jy(e){var t=Ii(e.target);if(t!==null){var n=zi(t);if(n!==null){var a=n.tag;if(a===Z){var r=oy(n);if(r!==null){e.blockedOn=r,My(e.priority,function(){Ly(n)});return}}else if(a===D){var i=n.stateNode;if(Js(i)){e.blockedOn=uy(n);return}}}}e.blockedOn=null}function WR(e){for(var t=Ay(),n={blockedOn:null,target:e,priority:t},a=0;a<Kr.length&&ap(t,Kr[a].priority);a++);Kr.splice(a,0,n),a===0&&jy(n)}function Zs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],a=up(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(a===null){var r=e.nativeEvent,i=new r.constructor(r.type,r);S0(i),r.target.dispatchEvent(i),C0()}else{var o=Zr(a);return o!==null&&rp(o),e.blockedOn=a,!1}t.shift()}return!0}function By(e,t,n){Zs(e)&&n.delete(t)}function QR(){ip=!1,Gr!==null&&Zs(Gr)&&(Gr=null),Wr!==null&&Zs(Wr)&&(Wr=null),Qr!==null&&Zs(Qr)&&(Qr=null),eu.forEach(By),tu.forEach(By)}function au(e,t){e.blockedOn===t&&(e.blockedOn=null,ip||(ip=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,QR)))}function ru(e){if(Xs.length>0){au(Xs[0],e);for(var t=1;t<Xs.length;t++){var n=Xs[t];n.blockedOn===e&&(n.blockedOn=null)}}Gr!==null&&au(Gr,e),Wr!==null&&au(Wr,e),Qr!==null&&au(Qr,e);var a=function(c){return au(c,e)};eu.forEach(a),tu.forEach(a);for(var r=0;r<Kr.length;r++){var i=Kr[r];i.blockedOn===e&&(i.blockedOn=null)}for(;Kr.length>0;){var o=Kr[0];if(o.blockedOn!==null)break;jy(o),o.blockedOn===null&&Kr.shift()}}var kl=f.ReactCurrentBatchConfig,lp=!0;function Vy(e){lp=!!e}function KR(){return lp}function JR(e,t,n){var a=Fy(t),r;switch(a){case Xn:r=XR;break;case Tr:r=ZR;break;case Nr:default:r=op;break}return r.bind(null,t,n,e)}function XR(e,t,n,a){var r=Da(),i=kl.transition;kl.transition=null;try{Kt(Xn),op(e,t,n,a)}finally{Kt(r),kl.transition=i}}function ZR(e,t,n,a){var r=Da(),i=kl.transition;kl.transition=null;try{Kt(Tr),op(e,t,n,a)}finally{Kt(r),kl.transition=i}}function op(e,t,n,a){lp&&ew(e,t,n,a)}function ew(e,t,n,a){var r=up(e,t,n,a);if(r===null){Cp(e,t,a,ec,n),zy(e,a);return}if(GR(r,e,t,n,a)){a.stopPropagation();return}if(zy(e,a),t&Vo&&YR(e)){for(;r!==null;){var i=Zr(r);i!==null&&VR(i);var o=up(e,t,n,a);if(o===null&&Cp(e,t,a,ec,n),o===r)break;r=o}r!==null&&a.stopPropagation();return}Cp(e,t,a,null,n)}var ec=null;function up(e,t,n,a){ec=null;var r=vd(a),i=Ii(r);if(i!==null){var o=zi(i);if(o===null)i=null;else{var c=o.tag;if(c===Z){var d=oy(o);if(d!==null)return d;i=null}else if(c===D){var y=o.stateNode;if(Js(y))return uy(o);i=null}else o!==i&&(i=null)}}return ec=i,null}function Fy(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Xn;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Tr;case"message":{var t=Y0();switch(t){case $s:return Xn;case Dd:return Tr;case ji:case q0:return Nr;case Ud:return Ks;default:return Nr}}default:return Nr}}function tw(e,t,n){return e.addEventListener(t,n,!1),n}function nw(e,t,n){return e.addEventListener(t,n,!0),n}function aw(e,t,n,a){return e.addEventListener(t,n,{capture:!0,passive:a}),n}function rw(e,t,n,a){return e.addEventListener(t,n,{passive:a}),n}var iu=null,sp=null,lu=null;function iw(e){return iu=e,sp=Py(),!0}function lw(){iu=null,sp=null,lu=null}function Hy(){if(lu)return lu;var e,t=sp,n=t.length,a,r=Py(),i=r.length;for(e=0;e<n&&t[e]===r[e];e++);var o=n-e;for(a=1;a<=o&&t[n-a]===r[i-a];a++);var c=a>1?1-a:void 0;return lu=r.slice(e,c),lu}function Py(){return"value"in iu?iu.value:iu.textContent}function tc(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),t>=32||t===13?t:0}function nc(){return!0}function $y(){return!1}function Zn(e){function t(n,a,r,i,o){this._reactName=n,this._targetInst=r,this.type=a,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var c in e)if(e.hasOwnProperty(c)){var d=e[c];d?this[c]=d(i):this[c]=i[c]}var y=i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1;return y?this.isDefaultPrevented=nc:this.isDefaultPrevented=$y,this.isPropagationStopped=$y,this}return Oe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=nc)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=nc)},persist:function(){},isPersistent:nc}),t}var Ol={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cp=Zn(Ol),ou=Oe({},Ol,{view:0,detail:0}),ow=Zn(ou),fp,dp,uu;function uw(e){e!==uu&&(uu&&e.type==="mousemove"?(fp=e.screenX-uu.screenX,dp=e.screenY-uu.screenY):(fp=0,dp=0),uu=e)}var ac=Oe({},ou,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vp,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(uw(e),fp)},movementY:function(e){return"movementY"in e?e.movementY:dp}}),Iy=Zn(ac),sw=Oe({},ac,{dataTransfer:0}),cw=Zn(sw),fw=Oe({},ou,{relatedTarget:0}),pp=Zn(fw),dw=Oe({},Ol,{animationName:0,elapsedTime:0,pseudoElement:0}),pw=Zn(dw),vw=Oe({},Ol,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mw=Zn(vw),hw=Oe({},Ol,{data:0}),Yy=Zn(hw),yw=Yy,gw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bw={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function Ew(e){if(e.key){var t=gw[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=tc(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?bw[e.keyCode]||"Unidentified":""}var Sw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cw(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var a=Sw[e];return a?!!n[a]:!1}function vp(e){return Cw}var Rw=Oe({},ou,{key:Ew,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vp,charCode:function(e){return e.type==="keypress"?tc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?tc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ww=Zn(Rw),Tw=Oe({},ac,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qy=Zn(Tw),Nw=Oe({},ou,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vp}),xw=Zn(Nw),_w=Oe({},Ol,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dw=Zn(_w),Uw=Oe({},ac,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),kw=Zn(Uw),Ow=[9,13,27,32],Gy=229,mp=tn&&"CompositionEvent"in window,su=null;tn&&"documentMode"in document&&(su=document.documentMode);var Lw=tn&&"TextEvent"in window&&!su,Wy=tn&&(!mp||su&&su>8&&su<=11),Qy=32,Ky=String.fromCharCode(Qy);function Aw(){Zt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Zt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Zt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Zt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Jy=!1;function Mw(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function zw(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function jw(e,t){return e==="keydown"&&t.keyCode===Gy}function Xy(e,t){switch(e){case"keyup":return Ow.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Gy;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zy(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function eg(e){return e.locale==="ko"}var Ll=!1;function Bw(e,t,n,a,r){var i,o;if(mp?i=zw(t):Ll?Xy(t,a)&&(i="onCompositionEnd"):jw(t,a)&&(i="onCompositionStart"),!i)return null;Wy&&!eg(a)&&(!Ll&&i==="onCompositionStart"?Ll=iw(r):i==="onCompositionEnd"&&Ll&&(o=Hy()));var c=uc(n,i);if(c.length>0){var d=new Yy(i,t,null,a,r);if(e.push({event:d,listeners:c}),o)d.data=o;else{var y=Zy(a);y!==null&&(d.data=y)}}}function Vw(e,t){switch(e){case"compositionend":return Zy(t);case"keypress":var n=t.which;return n!==Qy?null:(Jy=!0,Ky);case"textInput":var a=t.data;return a===Ky&&Jy?null:a;default:return null}}function Fw(e,t){if(Ll){if(e==="compositionend"||!mp&&Xy(e,t)){var n=Hy();return lw(),Ll=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!Mw(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Wy&&!eg(t)?null:t.data;default:return null}}function Hw(e,t,n,a,r){var i;if(Lw?i=Vw(t,a):i=Fw(t,a),!i)return null;var o=uc(n,"onBeforeInput");if(o.length>0){var c=new yw("onBeforeInput","beforeinput",null,a,r);e.push({event:c,listeners:o}),c.data=i}}function Pw(e,t,n,a,r,i,o){Bw(e,t,n,a,r),Hw(e,t,n,a,r)}var $w={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function tg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$w[e.type]:t==="textarea"}/**
- * Checks if an event is supported in the current execution environment.
- *
- * NOTE: This will not work correctly for non-generic events such as `change`,
- * `reset`, `load`, `error`, and `select`.
- *
- * Borrows from Modernizr.
- *
- * @param {string} eventNameSuffix Event name, e.g. "click".
- * @return {boolean} True if the event is supported.
- * @internal
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
- */function Iw(e){if(!tn)return!1;var t="on"+e,n=t in document;if(!n){var a=document.createElement("div");a.setAttribute(t,"return;"),n=typeof a[t]=="function"}return n}function Yw(){Zt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function ng(e,t,n,a){Xh(a);var r=uc(t,"onChange");if(r.length>0){var i=new cp("onChange","change",null,n,a);e.push({event:i,listeners:r})}}var cu=null,fu=null;function qw(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function Gw(e){var t=[];ng(t,fu,e,vd(e)),ny(Ww,t)}function Ww(e){Eg(e,0)}function rc(e){var t=Vl(e);if(Lo(t))return e}function Qw(e,t){if(e==="change")return t}var ag=!1;tn&&(ag=Iw("input")&&(!document.documentMode||document.documentMode>9));function Kw(e,t){cu=e,fu=t,cu.attachEvent("onpropertychange",ig)}function rg(){cu&&(cu.detachEvent("onpropertychange",ig),cu=null,fu=null)}function ig(e){e.propertyName==="value"&&rc(fu)&&Gw(e)}function Jw(e,t,n){e==="focusin"?(rg(),Kw(t,n)):e==="focusout"&&rg()}function Xw(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return rc(fu)}function Zw(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function eT(e,t){if(e==="click")return rc(t)}function tT(e,t){if(e==="input"||e==="change")return rc(t)}function nT(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||ge(e,"number",e.value)}function aT(e,t,n,a,r,i,o){var c=n?Vl(n):window,d,y;if(qw(c)?d=Qw:tg(c)?ag?d=tT:(d=Xw,y=Jw):Zw(c)&&(d=eT),d){var g=d(t,n);if(g){ng(e,g,a,r);return}}y&&y(t,c,n),t==="focusout"&&nT(c)}function rT(){en("onMouseEnter",["mouseout","mouseover"]),en("onMouseLeave",["mouseout","mouseover"]),en("onPointerEnter",["pointerout","pointerover"]),en("onPointerLeave",["pointerout","pointerover"])}function iT(e,t,n,a,r,i,o){var c=t==="mouseover"||t==="pointerover",d=t==="mouseout"||t==="pointerout";if(c&&!R0(a)){var y=a.relatedTarget||a.fromElement;if(y&&(Ii(y)||Nu(y)))return}if(!(!d&&!c)){var g;if(r.window===r)g=r;else{var N=r.ownerDocument;N?g=N.defaultView||N.parentWindow:g=window}var T,L;if(d){var M=a.relatedTarget||a.toElement;if(T=n,L=M?Ii(M):null,L!==null){var V=zi(L);(L!==V||L.tag!==O&&L.tag!==H)&&(L=null)}}else T=null,L=n;if(T!==L){var ae=Iy,ve="onMouseLeave",fe="onMouseEnter",Fe="mouse";(t==="pointerout"||t==="pointerover")&&(ae=qy,ve="onPointerLeave",fe="onPointerEnter",Fe="pointer");var Me=T==null?g:Vl(T),U=L==null?g:Vl(L),F=new ae(ve,Fe+"leave",T,a,r);F.target=Me,F.relatedTarget=U;var k=null,W=Ii(r);if(W===n){var oe=new ae(fe,Fe+"enter",L,a,r);oe.target=U,oe.relatedTarget=Me,k=oe}DT(e,F,k,T,L)}}}function lT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ea=typeof Object.is=="function"?Object.is:lT;function du(e,t){if(ea(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var r=0;r<n.length;r++){var i=n[r];if(!jn.call(t,i)||!ea(e[i],t[i]))return!1}return!0}function lg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function oT(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function og(e,t){for(var n=lg(e),a=0,r=0;n;){if(n.nodeType===br){if(r=a+n.textContent.length,a<=t&&r>=t)return{node:n,offset:t-a};a=r}n=lg(oT(n))}}function uT(e){var t=e.ownerDocument,n=t&&t.defaultView||window,a=n.getSelection&&n.getSelection();if(!a||a.rangeCount===0)return null;var r=a.anchorNode,i=a.anchorOffset,o=a.focusNode,c=a.focusOffset;try{r.nodeType,o.nodeType}catch{return null}return sT(e,r,i,o,c)}function sT(e,t,n,a,r){var i=0,o=-1,c=-1,d=0,y=0,g=e,N=null;e:for(;;){for(var T=null;g===t&&(n===0||g.nodeType===br)&&(o=i+n),g===a&&(r===0||g.nodeType===br)&&(c=i+r),g.nodeType===br&&(i+=g.nodeValue.length),(T=g.firstChild)!==null;)N=g,g=T;for(;;){if(g===e)break e;if(N===t&&++d===n&&(o=i),N===a&&++y===r&&(c=i),(T=g.nextSibling)!==null)break;g=N,N=g.parentNode}g=T}return o===-1||c===-1?null:{start:o,end:c}}function cT(e,t){var n=e.ownerDocument||document,a=n&&n.defaultView||window;if(a.getSelection){var r=a.getSelection(),i=e.textContent.length,o=Math.min(t.start,i),c=t.end===void 0?o:Math.min(t.end,i);if(!r.extend&&o>c){var d=c;c=o,o=d}var y=og(e,o),g=og(e,c);if(y&&g){if(r.rangeCount===1&&r.anchorNode===y.node&&r.anchorOffset===y.offset&&r.focusNode===g.node&&r.focusOffset===g.offset)return;var N=n.createRange();N.setStart(y.node,y.offset),r.removeAllRanges(),o>c?(r.addRange(N),r.extend(g.node,g.offset)):(N.setEnd(g.node,g.offset),r.addRange(N))}}}function ug(e){return e&&e.nodeType===br}function sg(e,t){return!e||!t?!1:e===t?!0:ug(e)?!1:ug(t)?sg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function fT(e){return e&&e.ownerDocument&&sg(e.ownerDocument.documentElement,e)}function dT(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function cg(){for(var e=window,t=hr();t instanceof e.HTMLIFrameElement;){if(dT(t))e=t.contentWindow;else return t;t=hr(e.document)}return t}function hp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function pT(){var e=cg();return{focusedElem:e,selectionRange:hp(e)?mT(e):null}}function vT(e){var t=cg(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&fT(n)){a!==null&&hp(n)&&hT(n,a);for(var r=[],i=n;i=i.parentNode;)i.nodeType===Fn&&r.push({element:i,left:i.scrollLeft,top:i.scrollTop});typeof n.focus=="function"&&n.focus();for(var o=0;o<r.length;o++){var c=r[o];c.element.scrollLeft=c.left,c.element.scrollTop=c.top}}}function mT(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=uT(e),t||{start:0,end:0}}function hT(e,t){var n=t.start,a=t.end;a===void 0&&(a=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(a,e.value.length)):cT(e,t)}var yT=tn&&"documentMode"in document&&document.documentMode<=11;function gT(){Zt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Al=null,yp=null,pu=null,gp=!1;function bT(e){if("selectionStart"in e&&hp(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,n=t.getSelection();return{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}}function ET(e){return e.window===e?e.document:e.nodeType===Er?e:e.ownerDocument}function fg(e,t,n){var a=ET(n);if(!(gp||Al==null||Al!==hr(a))){var r=bT(Al);if(!pu||!du(pu,r)){pu=r;var i=uc(yp,"onSelect");if(i.length>0){var o=new cp("onSelect","select",null,t,n);e.push({event:o,listeners:i}),o.target=Al}}}}function ST(e,t,n,a,r,i,o){var c=n?Vl(n):window;switch(t){case"focusin":(tg(c)||c.contentEditable==="true")&&(Al=c,yp=n,pu=null);break;case"focusout":Al=null,yp=null,pu=null;break;case"mousedown":gp=!0;break;case"contextmenu":case"mouseup":case"dragend":gp=!1,fg(e,a,r);break;case"selectionchange":if(yT)break;case"keydown":case"keyup":fg(e,a,r)}}function ic(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ml={animationend:ic("Animation","AnimationEnd"),animationiteration:ic("Animation","AnimationIteration"),animationstart:ic("Animation","AnimationStart"),transitionend:ic("Transition","TransitionEnd")},bp={},dg={};tn&&(dg=document.createElement("div").style,"AnimationEvent"in window||(delete Ml.animationend.animation,delete Ml.animationiteration.animation,delete Ml.animationstart.animation),"TransitionEvent"in window||delete Ml.transitionend.transition);function lc(e){if(bp[e])return bp[e];if(!Ml[e])return e;var t=Ml[e];for(var n in t)if(t.hasOwnProperty(n)&&n in dg)return bp[e]=t[n];return e}var pg=lc("animationend"),vg=lc("animationiteration"),mg=lc("animationstart"),hg=lc("transitionend"),yg=new Map,gg=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Jr(e,t){yg.set(e,t),Zt(t,[e])}function CT(){for(var e=0;e<gg.length;e++){var t=gg[e],n=t.toLowerCase(),a=t[0].toUpperCase()+t.slice(1);Jr(n,"on"+a)}Jr(pg,"onAnimationEnd"),Jr(vg,"onAnimationIteration"),Jr(mg,"onAnimationStart"),Jr("dblclick","onDoubleClick"),Jr("focusin","onFocus"),Jr("focusout","onBlur"),Jr(hg,"onTransitionEnd")}function RT(e,t,n,a,r,i,o){var c=yg.get(t);if(c!==void 0){var d=cp,y=t;switch(t){case"keypress":if(tc(a)===0)return;case"keydown":case"keyup":d=ww;break;case"focusin":y="focus",d=pp;break;case"focusout":y="blur",d=pp;break;case"beforeblur":case"afterblur":d=pp;break;case"click":if(a.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=Iy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=cw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=xw;break;case pg:case vg:case mg:d=pw;break;case hg:d=Dw;break;case"scroll":d=ow;break;case"wheel":d=kw;break;case"copy":case"cut":case"paste":d=mw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=qy;break}var g=(i&Vo)!==0;{var N=!g&&t==="scroll",T=xT(n,c,a.type,g,N);if(T.length>0){var L=new d(c,y,null,a,r);e.push({event:L,listeners:T})}}}}CT(),rT(),Yw(),gT(),Aw();function wT(e,t,n,a,r,i,o){RT(e,t,n,a,r,i);var c=(i&E0)===0;c&&(iT(e,t,n,a,r),aT(e,t,n,a,r),ST(e,t,n,a,r),Pw(e,t,n,a,r))}var vu=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Ep=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(vu));function bg(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,O0(a,t,void 0,e),e.currentTarget=null}function TT(e,t,n){var a;if(n)for(var r=t.length-1;r>=0;r--){var i=t[r],o=i.instance,c=i.currentTarget,d=i.listener;if(o!==a&&e.isPropagationStopped())return;bg(e,d,c),a=o}else for(var y=0;y<t.length;y++){var g=t[y],N=g.instance,T=g.currentTarget,L=g.listener;if(N!==a&&e.isPropagationStopped())return;bg(e,L,T),a=N}}function Eg(e,t){for(var n=(t&Vo)!==0,a=0;a<e.length;a++){var r=e[a],i=r.event,o=r.listeners;TT(i,o,n)}L0()}function NT(e,t,n,a,r){var i=vd(n),o=[];wT(o,e,a,n,i,t),Eg(o,t)}function pt(e,t){Ep.has(e)||s('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,a=nx(t),r=UT(e);a.has(r)||(Sg(t,e,pd,n),a.add(r))}function Sp(e,t,n){Ep.has(e)&&!t&&s('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=Vo),Sg(n,e,a,t)}var oc="_reactListening"+Math.random().toString(36).slice(2);function mu(e){if(!e[oc]){e[oc]=!0,Ia.forEach(function(n){n!=="selectionchange"&&(Ep.has(n)||Sp(n,!1,e),Sp(n,!0,e))});var t=e.nodeType===Er?e:e.ownerDocument;t!==null&&(t[oc]||(t[oc]=!0,Sp("selectionchange",!1,t)))}}function Sg(e,t,n,a,r){var i=JR(e,t,n),o=void 0;yd&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(o=!0),e=e,a?o!==void 0?aw(e,t,i,o):nw(e,t,i):o!==void 0?rw(e,t,i,o):tw(e,t,i)}function Cg(e,t){return e===t||e.nodeType===Nt&&e.parentNode===t}function Cp(e,t,n,a,r){var i=a;if(!(t&Kh)&&!(t&pd)){var o=r;if(a!==null){var c=a;e:for(;;){if(c===null)return;var d=c.tag;if(d===D||d===w){var y=c.stateNode.containerInfo;if(Cg(y,o))break;if(d===w)for(var g=c.return;g!==null;){var N=g.tag;if(N===D||N===w){var T=g.stateNode.containerInfo;if(Cg(T,o))return}g=g.return}for(;y!==null;){var L=Ii(y);if(L===null)return;var M=L.tag;if(M===O||M===H){c=i=L;continue e}y=y.parentNode}}c=c.return}}}ny(function(){return NT(e,t,n,i)})}function hu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function xT(e,t,n,a,r,i){for(var o=t!==null?t+"Capture":null,c=a?o:t,d=[],y=e,g=null;y!==null;){var N=y,T=N.stateNode,L=N.tag;if(L===O&&T!==null&&(g=T,c!==null)){var M=Ho(y,c);M!=null&&d.push(hu(y,M,g))}if(r)break;y=y.return}return d}function uc(e,t){for(var n=t+"Capture",a=[],r=e;r!==null;){var i=r,o=i.stateNode,c=i.tag;if(c===O&&o!==null){var d=o,y=Ho(r,n);y!=null&&a.unshift(hu(r,y,d));var g=Ho(r,t);g!=null&&a.push(hu(r,g,d))}r=r.return}return a}function zl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==O);return e||null}function _T(e,t){for(var n=e,a=t,r=0,i=n;i;i=zl(i))r++;for(var o=0,c=a;c;c=zl(c))o++;for(;r-o>0;)n=zl(n),r--;for(;o-r>0;)a=zl(a),o--;for(var d=r;d--;){if(n===a||a!==null&&n===a.alternate)return n;n=zl(n),a=zl(a)}return null}function Rg(e,t,n,a,r){for(var i=t._reactName,o=[],c=n;c!==null&&c!==a;){var d=c,y=d.alternate,g=d.stateNode,N=d.tag;if(y!==null&&y===a)break;if(N===O&&g!==null){var T=g;if(r){var L=Ho(c,i);L!=null&&o.unshift(hu(c,L,T))}else if(!r){var M=Ho(c,i);M!=null&&o.push(hu(c,M,T))}}c=c.return}o.length!==0&&e.push({event:t,listeners:o})}function DT(e,t,n,a,r){var i=a&&r?_T(a,r):null;a!==null&&Rg(e,t,a,i,!1),r!==null&&n!==null&&Rg(e,n,r,i,!0)}function UT(e,t){return e+"__bubble"}var Hn=!1,yu="dangerouslySetInnerHTML",sc="suppressContentEditableWarning",Xr="suppressHydrationWarning",wg="autoFocus",Pi="children",$i="style",cc="__html",Rp,fc,gu,Tg,dc,Ng,xg;Rp={dialog:!0,webview:!0},fc=function(e,t){p0(e,t),v0(e,t),b0(e,t,{registrationNameDependencies:Xt,possibleRegistrationNames:Wn})},Ng=tn&&!document.documentMode,gu=function(e,t,n){if(!Hn){var a=pc(n),r=pc(t);r!==a&&(Hn=!0,s("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(r),JSON.stringify(a)))}},Tg=function(e){if(!Hn){Hn=!0;var t=[];e.forEach(function(n){t.push(n)}),s("Extra attributes from the server: %s",t)}},dc=function(e,t){t===!1?s("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):s("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},xg=function(e,t){var n=e.namespaceURI===gr?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var kT=/\r\n?/g,OT=/\u0000|\uFFFD/g;function pc(e){Bn(e);var t=typeof e=="string"?e:""+e;return t.replace(kT,`
- `).replace(OT,"")}function vc(e,t,n,a){var r=pc(t),i=pc(e);if(i!==r&&(a&&(Hn||(Hn=!0,s('Text content did not match. Server: "%s" Client: "%s"',i,r))),n&&Ne))throw new Error("Text content does not match server-rendered HTML.")}function _g(e){return e.nodeType===Er?e:e.ownerDocument}function LT(){}function mc(e){e.onclick=LT}function AT(e,t,n,a,r){for(var i in a)if(a.hasOwnProperty(i)){var o=a[i];if(i===$i)o&&Object.freeze(o),Ih(t,o);else if(i===yu){var c=o?o[cc]:void 0;c!=null&&Vh(t,c)}else if(i===Pi)if(typeof o=="string"){var d=e!=="textarea"||o!=="";d&&Bs(t,o)}else typeof o=="number"&&Bs(t,""+o);else i===sc||i===Xr||i===wg||(Xt.hasOwnProperty(i)?o!=null&&(typeof o!="function"&&dc(i,o),i==="onScroll"&&pt("scroll",t)):o!=null&&wa(t,i,o,r))}}function MT(e,t,n,a){for(var r=0;r<t.length;r+=2){var i=t[r],o=t[r+1];i===$i?Ih(e,o):i===yu?Vh(e,o):i===Pi?Bs(e,o):wa(e,i,o,a)}}function zT(e,t,n,a){var r,i=_g(n),o,c=a;if(c===gr&&(c=od(e)),c===gr){if(r=ki(e,t),!r&&e!==e.toLowerCase()&&s("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var d=i.createElement("div");d.innerHTML="<script><\/script>";var y=d.firstChild;o=d.removeChild(y)}else if(typeof t.is=="string")o=i.createElement(e,{is:t.is});else if(o=i.createElement(e),e==="select"){var g=o;t.multiple?g.multiple=!0:t.size&&(g.size=t.size)}}else o=i.createElementNS(c,e);return c===gr&&!r&&Object.prototype.toString.call(o)==="[object HTMLUnknownElement]"&&!jn.call(Rp,e)&&(Rp[e]=!0,s("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),o}function jT(e,t){return _g(t).createTextNode(e)}function BT(e,t,n,a){var r=ki(t,n);fc(t,n);var i;switch(t){case"dialog":pt("cancel",e),pt("close",e),i=n;break;case"iframe":case"object":case"embed":pt("load",e),i=n;break;case"video":case"audio":for(var o=0;o<vu.length;o++)pt(vu[o],e);i=n;break;case"source":pt("error",e),i=n;break;case"img":case"image":case"link":pt("error",e),pt("load",e),i=n;break;case"details":pt("toggle",e),i=n;break;case"input":Ms(e,n),i=Ao(e,n),pt("invalid",e);break;case"option":et(e,n),i=n;break;case"select":jo(e,n),i=zo(e,n),pt("invalid",e);break;case"textarea":zh(e,n),i=id(e,n),pt("invalid",e);break;default:i=n}switch(dd(t,i),AT(t,e,a,i,r),t){case"input":Di(e),A(e,n,!1);break;case"textarea":Di(e),Bh(e);break;case"option":ot(e,n);break;case"select":ad(e,n);break;default:typeof i.onClick=="function"&&mc(e);break}}function VT(e,t,n,a,r){fc(t,a);var i=null,o,c;switch(t){case"input":o=Ao(e,n),c=Ao(e,a),i=[];break;case"select":o=zo(e,n),c=zo(e,a),i=[];break;case"textarea":o=id(e,n),c=id(e,a),i=[];break;default:o=n,c=a,typeof o.onClick!="function"&&typeof c.onClick=="function"&&mc(e);break}dd(t,c);var d,y,g=null;for(d in o)if(!(c.hasOwnProperty(d)||!o.hasOwnProperty(d)||o[d]==null))if(d===$i){var N=o[d];for(y in N)N.hasOwnProperty(y)&&(g||(g={}),g[y]="")}else d===yu||d===Pi||d===sc||d===Xr||d===wg||(Xt.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in c){var T=c[d],L=o!=null?o[d]:void 0;if(!(!c.hasOwnProperty(d)||T===L||T==null&&L==null))if(d===$i)if(T&&Object.freeze(T),L){for(y in L)L.hasOwnProperty(y)&&(!T||!T.hasOwnProperty(y))&&(g||(g={}),g[y]="");for(y in T)T.hasOwnProperty(y)&&L[y]!==T[y]&&(g||(g={}),g[y]=T[y])}else g||(i||(i=[]),i.push(d,g)),g=T;else if(d===yu){var M=T?T[cc]:void 0,V=L?L[cc]:void 0;M!=null&&V!==M&&(i=i||[]).push(d,M)}else d===Pi?(typeof T=="string"||typeof T=="number")&&(i=i||[]).push(d,""+T):d===sc||d===Xr||(Xt.hasOwnProperty(d)?(T!=null&&(typeof T!="function"&&dc(d,T),d==="onScroll"&&pt("scroll",e)),!i&&L!==T&&(i=[])):(i=i||[]).push(d,T))}return g&&(i0(g,c[$i]),(i=i||[]).push($i,g)),i}function FT(e,t,n,a,r){n==="input"&&r.type==="radio"&&r.name!=null&&m(e,r);var i=ki(n,a),o=ki(n,r);switch(MT(e,t,i,o),n){case"input":C(e,r);break;case"textarea":jh(e,r);break;case"select":zs(e,r);break}}function HT(e){{var t=e.toLowerCase();return Vs.hasOwnProperty(t)&&Vs[t]||null}}function PT(e,t,n,a,r,i,o){var c,d;switch(c=ki(t,n),fc(t,n),t){case"dialog":pt("cancel",e),pt("close",e);break;case"iframe":case"object":case"embed":pt("load",e);break;case"video":case"audio":for(var y=0;y<vu.length;y++)pt(vu[y],e);break;case"source":pt("error",e);break;case"img":case"image":case"link":pt("error",e),pt("load",e);break;case"details":pt("toggle",e);break;case"input":Ms(e,n),pt("invalid",e);break;case"option":et(e,n);break;case"select":jo(e,n),pt("invalid",e);break;case"textarea":zh(e,n),pt("invalid",e);break}dd(t,n);{d=new Set;for(var g=e.attributes,N=0;N<g.length;N++){var T=g[N].name.toLowerCase();switch(T){case"value":break;case"checked":break;case"selected":break;default:d.add(g[N].name)}}}var L=null;for(var M in n)if(n.hasOwnProperty(M)){var V=n[M];if(M===Pi)typeof V=="string"?e.textContent!==V&&(n[Xr]!==!0&&vc(e.textContent,V,i,o),L=[Pi,V]):typeof V=="number"&&e.textContent!==""+V&&(n[Xr]!==!0&&vc(e.textContent,V,i,o),L=[Pi,""+V]);else if(Xt.hasOwnProperty(M))V!=null&&(typeof V!="function"&&dc(M,V),M==="onScroll"&&pt("scroll",e));else if(o&&typeof c=="boolean"){var ae=void 0,ve=Et(M);if(n[Xr]!==!0){if(!(M===sc||M===Xr||M==="value"||M==="checked"||M==="selected")){if(M===yu){var fe=e.innerHTML,Fe=V?V[cc]:void 0;if(Fe!=null){var Me=xg(e,Fe);Me!==fe&&gu(M,fe,Me)}}else if(M===$i){if(d.delete(M),Ng){var U=a0(V);ae=e.getAttribute("style"),U!==ae&&gu(M,ae,U)}}else if(c&&!la)d.delete(M.toLowerCase()),ae=Si(e,M,V),V!==ae&&gu(M,ae,V);else if(!ht(M,ve,c)&&!hn(M,V,ve,c)){var F=!1;if(ve!==null)d.delete(ve.attributeName),ae=ul(e,M,V,ve);else{var k=a;if(k===gr&&(k=od(t)),k===gr)d.delete(M.toLowerCase());else{var W=HT(M);W!==null&&W!==M&&(F=!0,d.delete(W)),d.delete(M)}ae=Si(e,M,V)}var oe=la;!oe&&V!==ae&&!F&&gu(M,ae,V)}}}}}switch(o&&d.size>0&&n[Xr]!==!0&&Tg(d),t){case"input":Di(e),A(e,n,!0);break;case"textarea":Di(e),Bh(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&mc(e);break}return L}function $T(e,t,n){var a=e.nodeValue!==t;return a}function wp(e,t){{if(Hn)return;Hn=!0,s("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Tp(e,t){{if(Hn)return;Hn=!0,s('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Np(e,t,n){{if(Hn)return;Hn=!0,s("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function xp(e,t){{if(t===""||Hn)return;Hn=!0,s('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function IT(e,t,n){switch(t){case"input":j(e,n);return;case"textarea":BC(e,n);return;case"select":rd(e,n);return}}var bu=function(){},Eu=function(){};{var YT=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Dg=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],qT=Dg.concat(["button"]),GT=["dd","dt","li","option","optgroup","p","rp","rt"],Ug={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Eu=function(e,t){var n=Oe({},e||Ug),a={tag:t};return Dg.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),qT.indexOf(t)!==-1&&(n.pTagInButtonScope=null),YT.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=a,t==="form"&&(n.formTag=a),t==="a"&&(n.aTagInScope=a),t==="button"&&(n.buttonTagInScope=a),t==="nobr"&&(n.nobrTagInScope=a),t==="p"&&(n.pTagInButtonScope=a),t==="li"&&(n.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=a),n};var WT=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return GT.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},QT=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},kg={};bu=function(e,t,n){n=n||Ug;var a=n.current,r=a&&a.tag;t!=null&&(e!=null&&s("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=WT(e,r)?null:a,o=i?null:QT(e,n),c=i||o;if(c){var d=c.tag,y=!!i+"|"+e+"|"+d;if(!kg[y]){kg[y]=!0;var g=e,N="";if(e==="#text"?/\S/.test(t)?g="Text nodes":(g="Whitespace text nodes",N=" Make sure you don't have any extra whitespace between tags on each line of your source code."):g="<"+e+">",i){var T="";d==="table"&&e==="tr"&&(T+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),s("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",g,d,N,T)}else s("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",g,d)}}}}var hc="suppressHydrationWarning",yc="$",gc="/$",Su="$?",Cu="$!",KT="style",_p=null,Dp=null;function JT(e){var t,n,a=e.nodeType;switch(a){case Er:case sd:{t=a===Er?"#document":"#fragment";var r=e.documentElement;n=r?r.namespaceURI:ud(null,"");break}default:{var i=a===Nt?e.parentNode:e,o=i.namespaceURI||null;t=i.tagName,n=ud(o,t);break}}{var c=t.toLowerCase(),d=Eu(null,c);return{namespace:n,ancestorInfo:d}}}function XT(e,t,n){{var a=e,r=ud(a.namespace,t),i=Eu(a.ancestorInfo,t);return{namespace:r,ancestorInfo:i}}}function rM(e){return e}function ZT(e){_p=KR(),Dp=pT();var t=null;return Vy(!1),t}function eN(e){vT(Dp),Vy(_p),_p=null,Dp=null}function tN(e,t,n,a,r){var i;{var o=a;if(bu(e,null,o.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var c=""+t.children,d=Eu(o.ancestorInfo,e);bu(null,c,d)}i=o.namespace}var y=zT(e,t,n,i);return Tu(r,y),jp(y,t),y}function nN(e,t){e.appendChild(t)}function aN(e,t,n,a,r){switch(BT(e,t,n,a),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function rN(e,t,n,a,r,i){{var o=i;if(typeof a.children!=typeof n.children&&(typeof a.children=="string"||typeof a.children=="number")){var c=""+a.children,d=Eu(o.ancestorInfo,t);bu(null,c,d)}}return VT(e,t,n,a)}function Up(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function iN(e,t,n,a){{var r=n;bu(null,e,r.ancestorInfo)}var i=jT(e,t);return Tu(a,i),i}function lN(){var e=window.event;return e===void 0?Nr:Fy(e.type)}var kp=typeof setTimeout=="function"?setTimeout:void 0,oN=typeof clearTimeout=="function"?clearTimeout:void 0,Op=-1,Og=typeof Promise=="function"?Promise:void 0,uN=typeof queueMicrotask=="function"?queueMicrotask:typeof Og<"u"?function(e){return Og.resolve(null).then(e).catch(sN)}:kp;function sN(e){setTimeout(function(){throw e})}function cN(e,t,n,a){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();return;case"img":{n.src&&(e.src=n.src);return}}}function fN(e,t,n,a,r,i){FT(e,t,n,a,r),jp(e,r)}function Lg(e){Bs(e,"")}function dN(e,t,n){e.nodeValue=n}function pN(e,t){e.appendChild(t)}function vN(e,t){var n;e.nodeType===Nt?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var a=e._reactRootContainer;a==null&&n.onclick===null&&mc(n)}function mN(e,t,n){e.insertBefore(t,n)}function hN(e,t,n){e.nodeType===Nt?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function yN(e,t){e.removeChild(t)}function gN(e,t){e.nodeType===Nt?e.parentNode.removeChild(t):e.removeChild(t)}function Lp(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===Nt){var i=r.data;if(i===gc)if(a===0){e.removeChild(r),ru(t);return}else a--;else(i===yc||i===Su||i===Cu)&&a++}n=r}while(n);ru(t)}function bN(e,t){e.nodeType===Nt?Lp(e.parentNode,t):e.nodeType===Fn&&Lp(e,t),ru(e)}function EN(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function SN(e){e.nodeValue=""}function CN(e,t){e=e;var n=t[KT],a=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=cd("display",a)}function RN(e,t){e.nodeValue=t}function wN(e){e.nodeType===Fn?e.textContent="":e.nodeType===Er&&e.documentElement&&e.removeChild(e.documentElement)}function TN(e,t,n){return e.nodeType!==Fn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function NN(e,t){return t===""||e.nodeType!==br?null:e}function xN(e){return e.nodeType!==Nt?null:e}function Ag(e){return e.data===Su}function Ap(e){return e.data===Cu}function _N(e){var t=e.nextSibling&&e.nextSibling.dataset,n,a,r;return t&&(n=t.dgst,a=t.msg,r=t.stck),{message:a,digest:n,stack:r}}function DN(e,t){e._reactRetry=t}function bc(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Fn||t===br)break;if(t===Nt){var n=e.data;if(n===yc||n===Cu||n===Su)break;if(n===gc)return null}}return e}function Ru(e){return bc(e.nextSibling)}function UN(e){return bc(e.firstChild)}function kN(e){return bc(e.firstChild)}function ON(e){return bc(e.nextSibling)}function LN(e,t,n,a,r,i,o){Tu(i,e),jp(e,n);var c;{var d=r;c=d.namespace}var y=(i.mode&Be)!==ye;return PT(e,t,n,c,a,y,o)}function AN(e,t,n,a){return Tu(n,e),n.mode&Be,$T(e,t)}function MN(e,t){Tu(t,e)}function zN(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Nt){var a=t.data;if(a===gc){if(n===0)return Ru(t);n--}else(a===yc||a===Cu||a===Su)&&n++}t=t.nextSibling}return null}function Mg(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Nt){var a=t.data;if(a===yc||a===Cu||a===Su){if(n===0)return t;n--}else a===gc&&n++}t=t.previousSibling}return null}function jN(e){ru(e)}function BN(e){ru(e)}function VN(e){return e!=="head"&&e!=="body"}function FN(e,t,n,a){var r=!0;vc(t.nodeValue,n,a,r)}function HN(e,t,n,a,r,i){if(t[hc]!==!0){var o=!0;vc(a.nodeValue,r,i,o)}}function PN(e,t){t.nodeType===Fn?wp(e,t):t.nodeType===Nt||Tp(e,t)}function $N(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===Fn?wp(n,t):t.nodeType===Nt||Tp(n,t))}}function IN(e,t,n,a,r){(r||t[hc]!==!0)&&(a.nodeType===Fn?wp(n,a):a.nodeType===Nt||Tp(n,a))}function YN(e,t,n){Np(e,t)}function qN(e,t){xp(e,t)}function GN(e,t,n){{var a=e.parentNode;a!==null&&Np(a,t)}}function WN(e,t){{var n=e.parentNode;n!==null&&xp(n,t)}}function QN(e,t,n,a,r,i){(i||t[hc]!==!0)&&Np(n,a)}function KN(e,t,n,a,r){(r||t[hc]!==!0)&&xp(n,a)}function JN(e){s("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function XN(e){mu(e)}var jl=Math.random().toString(36).slice(2),Bl="__reactFiber$"+jl,Mp="__reactProps$"+jl,wu="__reactContainer$"+jl,zp="__reactEvents$"+jl,ZN="__reactListeners$"+jl,ex="__reactHandles$"+jl;function tx(e){delete e[Bl],delete e[Mp],delete e[zp],delete e[ZN],delete e[ex]}function Tu(e,t){t[Bl]=e}function Ec(e,t){t[wu]=e}function zg(e){e[wu]=null}function Nu(e){return!!e[wu]}function Ii(e){var t=e[Bl];if(t)return t;for(var n=e.parentNode;n;){if(t=n[wu]||n[Bl],t){var a=t.alternate;if(t.child!==null||a!==null&&a.child!==null)for(var r=Mg(e);r!==null;){var i=r[Bl];if(i)return i;r=Mg(r)}return t}e=n,n=e.parentNode}return null}function Zr(e){var t=e[Bl]||e[wu];return t&&(t.tag===O||t.tag===H||t.tag===Z||t.tag===D)?t:null}function Vl(e){if(e.tag===O||e.tag===H)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Sc(e){return e[Mp]||null}function jp(e,t){e[Mp]=t}function nx(e){var t=e[zp];return t===void 0&&(t=e[zp]=new Set),t}var jg={},Bg=f.ReactDebugCurrentFrame;function Cc(e){if(e){var t=e._owner,n=_o(e.type,e._source,t?t.type:null);Bg.setExtraStackFrame(n)}else Bg.setExtraStackFrame(null)}function Ua(e,t,n,a,r){{var i=Function.call.bind(jn);for(var o in e)if(i(e,o)){var c=void 0;try{if(typeof e[o]!="function"){var d=Error((a||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}c=e[o](t,o,a,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(y){c=y}c&&!(c instanceof Error)&&(Cc(r),s("%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).",a||"React class",n,o,typeof c),Cc(null)),c instanceof Error&&!(c.message in jg)&&(jg[c.message]=!0,Cc(r),s("Failed %s type: %s",n,c.message),Cc(null))}}}var Bp=[],Rc;Rc=[];var xr=-1;function ei(e){return{current:e}}function bn(e,t){if(xr<0){s("Unexpected pop.");return}t!==Rc[xr]&&s("Unexpected Fiber popped."),e.current=Bp[xr],Bp[xr]=null,Rc[xr]=null,xr--}function En(e,t,n){xr++,Bp[xr]=e.current,Rc[xr]=n,e.current=t}var Vp;Vp={};var ta={};Object.freeze(ta);var _r=ei(ta),Xa=ei(!1),Fp=ta;function Fl(e,t,n){return n&&Za(t)?Fp:_r.current}function Vg(e,t,n){{var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=n}}function Hl(e,t){{var n=e.type,a=n.contextTypes;if(!a)return ta;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={};for(var o in a)i[o]=t[o];{var c=xe(e)||"Unknown";Ua(a,i,"context",c)}return r&&Vg(e,t,i),i}}function wc(){return Xa.current}function Za(e){{var t=e.childContextTypes;return t!=null}}function Tc(e){bn(Xa,e),bn(_r,e)}function Hp(e){bn(Xa,e),bn(_r,e)}function Fg(e,t,n){{if(_r.current!==ta)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");En(_r,t,e),En(Xa,n,e)}}function Hg(e,t,n){{var a=e.stateNode,r=t.childContextTypes;if(typeof a.getChildContext!="function"){{var i=xe(e)||"Unknown";Vp[i]||(Vp[i]=!0,s("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",i,i))}return n}var o=a.getChildContext();for(var c in o)if(!(c in r))throw new Error((xe(e)||"Unknown")+'.getChildContext(): key "'+c+'" is not defined in childContextTypes.');{var d=xe(e)||"Unknown";Ua(r,o,"child context",d)}return Oe({},n,o)}}function Nc(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||ta;return Fp=_r.current,En(_r,n,e),En(Xa,Xa.current,e),!0}}function Pg(e,t,n){{var a=e.stateNode;if(!a)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var r=Hg(e,t,Fp);a.__reactInternalMemoizedMergedChildContext=r,bn(Xa,e),bn(_r,e),En(_r,r,e),En(Xa,n,e)}else bn(Xa,e),En(Xa,n,e)}}function ax(e){{if(!V0(e)||e.tag!==S)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case D:return t.stateNode.context;case S:{var n=t.type;if(Za(n))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var ti=0,xc=1,Dr=null,Pp=!1,$p=!1;function $g(e){Dr===null?Dr=[e]:Dr.push(e)}function rx(e){Pp=!0,$g(e)}function Ig(){Pp&&ni()}function ni(){if(!$p&&Dr!==null){$p=!0;var e=0,t=Da();try{var n=!0,a=Dr;for(Kt(Xn);e<a.length;e++){var r=a[e];do r=r(n);while(r!==null)}Dr=null,Pp=!1}catch(i){throw Dr!==null&&(Dr=Dr.slice(e+1)),vy($s,ni),i}finally{Kt(t),$p=!1}}return null}var Pl=[],$l=0,_c=null,Dc=0,fa=[],da=0,Yi=null,Ur=1,kr="";function ix(e){return Gi(),(e.flags&ly)!==be}function lx(e){return Gi(),Dc}function ox(){var e=kr,t=Ur,n=t&~ux(t);return n.toString(32)+e}function qi(e,t){Gi(),Pl[$l++]=Dc,Pl[$l++]=_c,_c=e,Dc=t}function Yg(e,t,n){Gi(),fa[da++]=Ur,fa[da++]=kr,fa[da++]=Yi,Yi=e;var a=Ur,r=kr,i=Uc(a)-1,o=a&~(1<<i),c=n+1,d=Uc(t)+i;if(d>30){var y=i-i%5,g=(1<<y)-1,N=(o&g).toString(32),T=o>>y,L=i-y,M=Uc(t)+L,V=c<<L,ae=V|T,ve=N+r;Ur=1<<M|ae,kr=ve}else{var fe=c<<i,Fe=fe|o,Me=r;Ur=1<<d|Fe,kr=Me}}function Ip(e){Gi();var t=e.return;if(t!==null){var n=1,a=0;qi(e,n),Yg(e,n,a)}}function Uc(e){return 32-Ey(e)}function ux(e){return 1<<Uc(e)-1}function Yp(e){for(;e===_c;)_c=Pl[--$l],Pl[$l]=null,Dc=Pl[--$l],Pl[$l]=null;for(;e===Yi;)Yi=fa[--da],fa[da]=null,kr=fa[--da],fa[da]=null,Ur=fa[--da],fa[da]=null}function sx(){return Gi(),Yi!==null?{id:Ur,overflow:kr}:null}function cx(e,t){Gi(),fa[da++]=Ur,fa[da++]=kr,fa[da++]=Yi,Ur=t.id,kr=t.overflow,Yi=e}function Gi(){rn()||s("Expected to be hydrating. This is a bug in React. Please file an issue.")}var an=null,pa=null,ka=!1,Wi=!1,ai=null;function fx(){ka&&s("We should not be hydrating here. This is a bug in React. Please file a bug.")}function qg(){Wi=!0}function dx(){return Wi}function px(e){var t=e.stateNode.containerInfo;return pa=kN(t),an=e,ka=!0,ai=null,Wi=!1,!0}function vx(e,t,n){return pa=ON(t),an=e,ka=!0,ai=null,Wi=!1,n!==null&&cx(e,n),!0}function Gg(e,t){switch(e.tag){case D:{PN(e.stateNode.containerInfo,t);break}case O:{var n=(e.mode&Be)!==ye;IN(e.type,e.memoizedProps,e.stateNode,t,n);break}case Z:{var a=e.memoizedState;a.dehydrated!==null&&$N(a.dehydrated,t);break}}}function Wg(e,t){Gg(e,t);var n=gD();n.stateNode=t,n.return=e;var a=e.deletions;a===null?(e.deletions=[n],e.flags|=Oi):a.push(n)}function qp(e,t){{if(Wi)return;switch(e.tag){case D:{var n=e.stateNode.containerInfo;switch(t.tag){case O:var a=t.type;t.pendingProps,YN(n,a);break;case H:var r=t.pendingProps;qN(n,r);break}break}case O:{var i=e.type,o=e.memoizedProps,c=e.stateNode;switch(t.tag){case O:{var d=t.type,y=t.pendingProps,g=(e.mode&Be)!==ye;QN(i,o,c,d,y,g);break}case H:{var N=t.pendingProps,T=(e.mode&Be)!==ye;KN(i,o,c,N,T);break}}break}case Z:{var L=e.memoizedState,M=L.dehydrated;if(M!==null)switch(t.tag){case O:var V=t.type;t.pendingProps,GN(M,V);break;case H:var ae=t.pendingProps;WN(M,ae);break}break}default:return}}}function Qg(e,t){t.flags=t.flags&~Cr|xt,qp(e,t)}function Kg(e,t){switch(e.tag){case O:{var n=e.type;e.pendingProps;var a=TN(t,n);return a!==null?(e.stateNode=a,an=e,pa=UN(a),!0):!1}case H:{var r=e.pendingProps,i=NN(t,r);return i!==null?(e.stateNode=i,an=e,pa=null,!0):!1}case Z:{var o=xN(t);if(o!==null){var c={dehydrated:o,treeContext:sx(),retryLane:Kn};e.memoizedState=c;var d=bD(o);return d.return=e,e.child=d,an=e,pa=null,!0}return!1}default:return!1}}function Gp(e){return(e.mode&Be)!==ye&&(e.flags&Qe)===be}function Wp(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Qp(e){if(ka){var t=pa;if(!t){Gp(e)&&(qp(an,e),Wp()),Qg(an,e),ka=!1,an=e;return}var n=t;if(!Kg(e,t)){Gp(e)&&(qp(an,e),Wp()),t=Ru(n);var a=an;if(!t||!Kg(e,t)){Qg(an,e),ka=!1,an=e;return}Wg(a,n)}}}function mx(e,t,n){var a=e.stateNode,r=!Wi,i=LN(a,e.type,e.memoizedProps,t,n,e,r);return e.updateQueue=i,i!==null}function hx(e){var t=e.stateNode,n=e.memoizedProps,a=AN(t,n,e);if(a){var r=an;if(r!==null)switch(r.tag){case D:{var i=r.stateNode.containerInfo,o=(r.mode&Be)!==ye;FN(i,t,n,o);break}case O:{var c=r.type,d=r.memoizedProps,y=r.stateNode,g=(r.mode&Be)!==ye;HN(c,d,y,t,n,g);break}}}return a}function yx(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");MN(n,e)}function gx(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return zN(n)}function Jg(e){for(var t=e.return;t!==null&&t.tag!==O&&t.tag!==D&&t.tag!==Z;)t=t.return;an=t}function kc(e){if(e!==an)return!1;if(!ka)return Jg(e),ka=!0,!1;if(e.tag!==D&&(e.tag!==O||VN(e.type)&&!Up(e.type,e.memoizedProps))){var t=pa;if(t)if(Gp(e))Xg(e),Wp();else for(;t;)Wg(e,t),t=Ru(t)}return Jg(e),e.tag===Z?pa=gx(e):pa=an?Ru(e.stateNode):null,!0}function bx(){return ka&&pa!==null}function Xg(e){for(var t=pa;t;)Gg(e,t),t=Ru(t)}function Il(){an=null,pa=null,ka=!1,Wi=!1}function Zg(){ai!==null&&(qE(ai),ai=null)}function rn(){return ka}function Kp(e){ai===null?ai=[e]:ai.push(e)}var Ex=f.ReactCurrentBatchConfig,Sx=null;function Cx(){return Ex.transition}var Oa={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var Rx=function(e){for(var t=null,n=e;n!==null;)n.mode&Ct&&(t=n),n=n.return;return t},Qi=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},xu=[],_u=[],Du=[],Uu=[],ku=[],Ou=[],Ki=new Set;Oa.recordUnsafeLifecycleWarnings=function(e,t){Ki.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&xu.push(e),e.mode&Ct&&typeof t.UNSAFE_componentWillMount=="function"&&_u.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Du.push(e),e.mode&Ct&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Uu.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ku.push(e),e.mode&Ct&&typeof t.UNSAFE_componentWillUpdate=="function"&&Ou.push(e))},Oa.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;xu.length>0&&(xu.forEach(function(T){e.add(xe(T)||"Component"),Ki.add(T.type)}),xu=[]);var t=new Set;_u.length>0&&(_u.forEach(function(T){t.add(xe(T)||"Component"),Ki.add(T.type)}),_u=[]);var n=new Set;Du.length>0&&(Du.forEach(function(T){n.add(xe(T)||"Component"),Ki.add(T.type)}),Du=[]);var a=new Set;Uu.length>0&&(Uu.forEach(function(T){a.add(xe(T)||"Component"),Ki.add(T.type)}),Uu=[]);var r=new Set;ku.length>0&&(ku.forEach(function(T){r.add(xe(T)||"Component"),Ki.add(T.type)}),ku=[]);var i=new Set;if(Ou.length>0&&(Ou.forEach(function(T){i.add(xe(T)||"Component"),Ki.add(T.type)}),Ou=[]),t.size>0){var o=Qi(t);s(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
- Please update the following components: %s`,o)}if(a.size>0){var c=Qi(a);s(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- * Move data fetching code or side effects to componentDidUpdate.
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
- Please update the following components: %s`,c)}if(i.size>0){var d=Qi(i);s(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- * Move data fetching code or side effects to componentDidUpdate.
- Please update the following components: %s`,d)}if(e.size>0){var y=Qi(e);h(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
- * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
- Please update the following components: %s`,y)}if(n.size>0){var g=Qi(n);h(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- * Move data fetching code or side effects to componentDidUpdate.
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
- * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
- Please update the following components: %s`,g)}if(r.size>0){var N=Qi(r);h(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- * Move data fetching code or side effects to componentDidUpdate.
- * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
- Please update the following components: %s`,N)}};var Oc=new Map,eb=new Set;Oa.recordLegacyContextWarning=function(e,t){var n=Rx(e);if(n===null){s("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!eb.has(e.type)){var a=Oc.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Oc.set(n,a)),a.push(e))}},Oa.flushLegacyContextWarning=function(){Oc.forEach(function(e,t){if(e.length!==0){var n=e[0],a=new Set;e.forEach(function(i){a.add(xe(i)||"Component"),eb.add(i.type)});var r=Qi(a);try{vt(n),s(`Legacy context API has been detected within a strict-mode tree.
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
- Please update the following components: %s
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)}finally{qt()}}})},Oa.discardPendingWarnings=function(){xu=[],_u=[],Du=[],Uu=[],ku=[],Ou=[],Oc=new Map}}var Jp,Xp,Zp,ev,tv,tb=function(e,t){};Jp=!1,Xp=!1,Zp={},ev={},tv={},tb=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=xe(t)||"Component";ev[n]||(ev[n]=!0,s('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function wx(e){return e.prototype&&e.prototype.isReactComponent}function Lu(e,t,n){var a=n.ref;if(a!==null&&typeof a!="function"&&typeof a!="object"){if((e.mode&Ct||Pt)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==S)&&!(typeof n.type=="function"&&!wx(n.type))&&n._owner){var r=xe(e)||"Component";Zp[r]||(s('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',r,a),Zp[r]=!0)}if(n._owner){var i=n._owner,o;if(i){var c=i;if(c.tag!==S)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");o=c.stateNode}if(!o)throw new Error("Missing owner for string ref "+a+". This error is likely caused by a bug in React. Please file an issue.");var d=o;dr(a,"ref");var y=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===y)return t.ref;var g=function(N){var T=d.refs;N===null?delete T[y]:T[y]=N};return g._stringRef=y,g}else{if(typeof a!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+a+`) but no owner was set. This could happen for one of the following reasons:
- 1. You may be adding a ref to a function component
- 2. You may be adding a ref to a component that was not created inside a component's render method
- 3. You have multiple copies of React loaded
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return a}function Lc(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Ac(e){{var t=xe(e)||"Component";if(tv[t])return;tv[t]=!0,s("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function nb(e){var t=e._payload,n=e._init;return n(t)}function ab(e){function t(U,F){if(e){var k=U.deletions;k===null?(U.deletions=[F],U.flags|=Oi):k.push(F)}}function n(U,F){if(!e)return null;for(var k=F;k!==null;)t(U,k),k=k.sibling;return null}function a(U,F){for(var k=new Map,W=F;W!==null;)W.key!==null?k.set(W.key,W):k.set(W.index,W),W=W.sibling;return k}function r(U,F){var k=il(U,F);return k.index=0,k.sibling=null,k}function i(U,F,k){if(U.index=k,!e)return U.flags|=ly,F;var W=U.alternate;if(W!==null){var oe=W.index;return oe<F?(U.flags|=xt,F):oe}else return U.flags|=xt,F}function o(U){return e&&U.alternate===null&&(U.flags|=xt),U}function c(U,F,k,W){if(F===null||F.tag!==H){var oe=Km(k,U.mode,W);return oe.return=U,oe}else{var re=r(F,k);return re.return=U,re}}function d(U,F,k,W){var oe=k.type;if(oe===qa)return g(U,F,k.props.children,W,k.key);if(F!==null&&(F.elementType===oe||uS(F,k)||typeof oe=="object"&&oe!==null&&oe.$$typeof===he&&nb(oe)===F.type)){var re=r(F,k.props);return re.ref=Lu(U,F,k),re.return=U,re._debugSource=k._source,re._debugOwner=k._owner,re}var Ee=Qm(k,U.mode,W);return Ee.ref=Lu(U,F,k),Ee.return=U,Ee}function y(U,F,k,W){if(F===null||F.tag!==w||F.stateNode.containerInfo!==k.containerInfo||F.stateNode.implementation!==k.implementation){var oe=Jm(k,U.mode,W);return oe.return=U,oe}else{var re=r(F,k.children||[]);return re.return=U,re}}function g(U,F,k,W,oe){if(F===null||F.tag!==Q){var re=vi(k,U.mode,W,oe);return re.return=U,re}else{var Ee=r(F,k);return Ee.return=U,Ee}}function N(U,F,k){if(typeof F=="string"&&F!==""||typeof F=="number"){var W=Km(""+F,U.mode,k);return W.return=U,W}if(typeof F=="object"&&F!==null){switch(F.$$typeof){case sa:{var oe=Qm(F,U.mode,k);return oe.ref=Lu(U,null,F),oe.return=U,oe}case Qn:{var re=Jm(F,U.mode,k);return re.return=U,re}case he:{var Ee=F._payload,Te=F._init;return N(U,Te(Ee),k)}}if(Ae(F)||Na(F)){var at=vi(F,U.mode,k,null);return at.return=U,at}Lc(U,F)}return typeof F=="function"&&Ac(U),null}function T(U,F,k,W){var oe=F!==null?F.key:null;if(typeof k=="string"&&k!==""||typeof k=="number")return oe!==null?null:c(U,F,""+k,W);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case sa:return k.key===oe?d(U,F,k,W):null;case Qn:return k.key===oe?y(U,F,k,W):null;case he:{var re=k._payload,Ee=k._init;return T(U,F,Ee(re),W)}}if(Ae(k)||Na(k))return oe!==null?null:g(U,F,k,W,null);Lc(U,k)}return typeof k=="function"&&Ac(U),null}function L(U,F,k,W,oe){if(typeof W=="string"&&W!==""||typeof W=="number"){var re=U.get(k)||null;return c(F,re,""+W,oe)}if(typeof W=="object"&&W!==null){switch(W.$$typeof){case sa:{var Ee=U.get(W.key===null?k:W.key)||null;return d(F,Ee,W,oe)}case Qn:{var Te=U.get(W.key===null?k:W.key)||null;return y(F,Te,W,oe)}case he:var at=W._payload,Ye=W._init;return L(U,F,k,Ye(at),oe)}if(Ae(W)||Na(W)){var wt=U.get(k)||null;return g(F,wt,W,oe,null)}Lc(F,W)}return typeof W=="function"&&Ac(F),null}function M(U,F,k){{if(typeof U!="object"||U===null)return F;switch(U.$$typeof){case sa:case Qn:tb(U,k);var W=U.key;if(typeof W!="string")break;if(F===null){F=new Set,F.add(W);break}if(!F.has(W)){F.add(W);break}s("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",W);break;case he:var oe=U._payload,re=U._init;M(re(oe),F,k);break}}return F}function V(U,F,k,W){for(var oe=null,re=0;re<k.length;re++){var Ee=k[re];oe=M(Ee,oe,U)}for(var Te=null,at=null,Ye=F,wt=0,qe=0,Rt=null;Ye!==null&&qe<k.length;qe++){Ye.index>qe?(Rt=Ye,Ye=null):Rt=Ye.sibling;var Cn=T(U,Ye,k[qe],W);if(Cn===null){Ye===null&&(Ye=Rt);break}e&&Ye&&Cn.alternate===null&&t(U,Ye),wt=i(Cn,wt,qe),at===null?Te=Cn:at.sibling=Cn,at=Cn,Ye=Rt}if(qe===k.length){if(n(U,Ye),rn()){var dn=qe;qi(U,dn)}return Te}if(Ye===null){for(;qe<k.length;qe++){var aa=N(U,k[qe],W);aa!==null&&(wt=i(aa,wt,qe),at===null?Te=aa:at.sibling=aa,at=aa)}if(rn()){var Mn=qe;qi(U,Mn)}return Te}for(var zn=a(U,Ye);qe<k.length;qe++){var Rn=L(zn,U,qe,k[qe],W);Rn!==null&&(e&&Rn.alternate!==null&&zn.delete(Rn.key===null?qe:Rn.key),wt=i(Rn,wt,qe),at===null?Te=Rn:at.sibling=Rn,at=Rn)}if(e&&zn.forEach(function(so){return t(U,so)}),rn()){var Br=qe;qi(U,Br)}return Te}function ae(U,F,k,W){var oe=Na(k);if(typeof oe!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&k[Symbol.toStringTag]==="Generator"&&(Xp||s("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Xp=!0),k.entries===oe&&(Jp||s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Jp=!0);var re=oe.call(k);if(re)for(var Ee=null,Te=re.next();!Te.done;Te=re.next()){var at=Te.value;Ee=M(at,Ee,U)}}var Ye=oe.call(k);if(Ye==null)throw new Error("An iterable object provided no iterator.");for(var wt=null,qe=null,Rt=F,Cn=0,dn=0,aa=null,Mn=Ye.next();Rt!==null&&!Mn.done;dn++,Mn=Ye.next()){Rt.index>dn?(aa=Rt,Rt=null):aa=Rt.sibling;var zn=T(U,Rt,Mn.value,W);if(zn===null){Rt===null&&(Rt=aa);break}e&&Rt&&zn.alternate===null&&t(U,Rt),Cn=i(zn,Cn,dn),qe===null?wt=zn:qe.sibling=zn,qe=zn,Rt=aa}if(Mn.done){if(n(U,Rt),rn()){var Rn=dn;qi(U,Rn)}return wt}if(Rt===null){for(;!Mn.done;dn++,Mn=Ye.next()){var Br=N(U,Mn.value,W);Br!==null&&(Cn=i(Br,Cn,dn),qe===null?wt=Br:qe.sibling=Br,qe=Br)}if(rn()){var so=dn;qi(U,so)}return wt}for(var fs=a(U,Rt);!Mn.done;dn++,Mn=Ye.next()){var or=L(fs,U,dn,Mn.value,W);or!==null&&(e&&or.alternate!==null&&fs.delete(or.key===null?dn:or.key),Cn=i(or,Cn,dn),qe===null?wt=or:qe.sibling=or,qe=or)}if(e&&fs.forEach(function(KD){return t(U,KD)}),rn()){var QD=dn;qi(U,QD)}return wt}function ve(U,F,k,W){if(F!==null&&F.tag===H){n(U,F.sibling);var oe=r(F,k);return oe.return=U,oe}n(U,F);var re=Km(k,U.mode,W);return re.return=U,re}function fe(U,F,k,W){for(var oe=k.key,re=F;re!==null;){if(re.key===oe){var Ee=k.type;if(Ee===qa){if(re.tag===Q){n(U,re.sibling);var Te=r(re,k.props.children);return Te.return=U,Te._debugSource=k._source,Te._debugOwner=k._owner,Te}}else if(re.elementType===Ee||uS(re,k)||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===he&&nb(Ee)===re.type){n(U,re.sibling);var at=r(re,k.props);return at.ref=Lu(U,re,k),at.return=U,at._debugSource=k._source,at._debugOwner=k._owner,at}n(U,re);break}else t(U,re);re=re.sibling}if(k.type===qa){var Ye=vi(k.props.children,U.mode,W,k.key);return Ye.return=U,Ye}else{var wt=Qm(k,U.mode,W);return wt.ref=Lu(U,F,k),wt.return=U,wt}}function Fe(U,F,k,W){for(var oe=k.key,re=F;re!==null;){if(re.key===oe)if(re.tag===w&&re.stateNode.containerInfo===k.containerInfo&&re.stateNode.implementation===k.implementation){n(U,re.sibling);var Ee=r(re,k.children||[]);return Ee.return=U,Ee}else{n(U,re);break}else t(U,re);re=re.sibling}var Te=Jm(k,U.mode,W);return Te.return=U,Te}function Me(U,F,k,W){var oe=typeof k=="object"&&k!==null&&k.type===qa&&k.key===null;if(oe&&(k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case sa:return o(fe(U,F,k,W));case Qn:return o(Fe(U,F,k,W));case he:var re=k._payload,Ee=k._init;return Me(U,F,Ee(re),W)}if(Ae(k))return V(U,F,k,W);if(Na(k))return ae(U,F,k,W);Lc(U,k)}return typeof k=="string"&&k!==""||typeof k=="number"?o(ve(U,F,""+k,W)):(typeof k=="function"&&Ac(U),n(U,F))}return Me}var Yl=ab(!0),rb=ab(!1);function Tx(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var n=t.child,a=il(n,n.pendingProps);for(t.child=a,a.return=t;n.sibling!==null;)n=n.sibling,a=a.sibling=il(n,n.pendingProps),a.return=t;a.sibling=null}}function Nx(e,t){for(var n=e.child;n!==null;)pD(n,t),n=n.sibling}var nv=ei(null),av;av={};var Mc=null,ql=null,rv=null,zc=!1;function jc(){Mc=null,ql=null,rv=null,zc=!1}function ib(){zc=!0}function lb(){zc=!1}function ob(e,t,n){En(nv,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==av&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=av}function iv(e,t){var n=nv.current;bn(nv,t),e._currentValue=n}function lv(e,t,n){for(var a=e;a!==null;){var r=a.alternate;if(Ul(a.childLanes,t)?r!==null&&!Ul(r.childLanes,t)&&(r.childLanes=Ue(r.childLanes,t)):(a.childLanes=Ue(a.childLanes,t),r!==null&&(r.childLanes=Ue(r.childLanes,t))),a===n)break;a=a.return}a!==n&&s("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function xx(e,t,n){_x(e,t,n)}function _x(e,t,n){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var r=void 0,i=a.dependencies;if(i!==null){r=a.child;for(var o=i.firstContext;o!==null;){if(o.context===t){if(a.tag===S){var c=Jo(n),d=Or(st,c);d.tag=Vc;var y=a.updateQueue;if(y!==null){var g=y.shared,N=g.pending;N===null?d.next=d:(d.next=N.next,N.next=d),g.pending=d}}a.lanes=Ue(a.lanes,n);var T=a.alternate;T!==null&&(T.lanes=Ue(T.lanes,n)),lv(a.return,n,e),i.lanes=Ue(i.lanes,n);break}o=o.next}}else if(a.tag===z)r=a.type===e.type?null:a.child;else if(a.tag===Pe){var L=a.return;if(L===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");L.lanes=Ue(L.lanes,n);var M=L.alternate;M!==null&&(M.lanes=Ue(M.lanes,n)),lv(L,n,e),r=a.sibling}else r=a.child;if(r!==null)r.return=a;else for(r=a;r!==null;){if(r===e){r=null;break}var V=r.sibling;if(V!==null){V.return=r.return,r=V;break}r=r.return}a=r}}function Gl(e,t){Mc=e,ql=null,rv=null;var n=e.dependencies;if(n!==null){var a=n.firstContext;a!==null&&(Jn(n.lanes,t)&&Wu(),n.firstContext=null)}}function _t(e){zc&&s("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(rv!==e){var n={context:e,memoizedValue:t,next:null};if(ql===null){if(Mc===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");ql=n,Mc.dependencies={lanes:Y,firstContext:n}}else ql=ql.next=n}return t}var Ji=null;function ov(e){Ji===null?Ji=[e]:Ji.push(e)}function Dx(){if(Ji!==null){for(var e=0;e<Ji.length;e++){var t=Ji[e],n=t.interleaved;if(n!==null){t.interleaved=null;var a=n.next,r=t.pending;if(r!==null){var i=r.next;r.next=a,n.next=i}t.pending=n}}Ji=null}}function ub(e,t,n,a){var r=t.interleaved;return r===null?(n.next=n,ov(t)):(n.next=r.next,r.next=n),t.interleaved=n,Bc(e,a)}function Ux(e,t,n,a){var r=t.interleaved;r===null?(n.next=n,ov(t)):(n.next=r.next,r.next=n),t.interleaved=n}function kx(e,t,n,a){var r=t.interleaved;return r===null?(n.next=n,ov(t)):(n.next=r.next,r.next=n),t.interleaved=n,Bc(e,a)}function Pn(e,t){return Bc(e,t)}var Ox=Bc;function Bc(e,t){e.lanes=Ue(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=Ue(n.lanes,t)),n===null&&(e.flags&(xt|Cr))!==be&&rS(e);for(var a=e,r=e.return;r!==null;)r.childLanes=Ue(r.childLanes,t),n=r.alternate,n!==null?n.childLanes=Ue(n.childLanes,t):(r.flags&(xt|Cr))!==be&&rS(e),a=r,r=r.return;if(a.tag===D){var i=a.stateNode;return i}else return null}var sb=0,cb=1,Vc=2,uv=3,Fc=!1,sv,Hc;sv=!1,Hc=null;function cv(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Y},effects:null};e.updateQueue=t}function fb(e,t){var n=t.updateQueue,a=e.updateQueue;if(n===a){var r={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects};t.updateQueue=r}}function Or(e,t){var n={eventTime:e,lane:t,tag:sb,payload:null,callback:null,next:null};return n}function ri(e,t,n){var a=e.updateQueue;if(a===null)return null;var r=a.shared;if(Hc===r&&!sv&&(s("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),sv=!0),U_()){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ox(e,n)}else return kx(e,r,t,n)}function Pc(e,t,n){var a=t.updateQueue;if(a!==null){var r=a.shared;if(wy(n)){var i=r.lanes;i=Ny(i,e.pendingLanes);var o=Ue(i,n);r.lanes=o,np(e,o)}}}function fv(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null){var r=a.updateQueue;if(n===r){var i=null,o=null,c=n.firstBaseUpdate;if(c!==null){var d=c;do{var y={eventTime:d.eventTime,lane:d.lane,tag:d.tag,payload:d.payload,callback:d.callback,next:null};o===null?i=o=y:(o.next=y,o=y),d=d.next}while(d!==null);o===null?i=o=t:(o.next=t,o=t)}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}}var g=n.lastBaseUpdate;g===null?n.firstBaseUpdate=t:g.next=t,n.lastBaseUpdate=t}function Lx(e,t,n,a,r,i){switch(n.tag){case cb:{var o=n.payload;if(typeof o=="function"){ib();var c=o.call(i,a,r);{if(e.mode&Ct){Wt(!0);try{o.call(i,a,r)}finally{Wt(!1)}}lb()}return c}return o}case uv:e.flags=e.flags&~kn|Qe;case sb:{var d=n.payload,y;if(typeof d=="function"){ib(),y=d.call(i,a,r);{if(e.mode&Ct){Wt(!0);try{d.call(i,a,r)}finally{Wt(!1)}}lb()}}else y=d;return y==null?a:Oe({},a,y)}case Vc:return Fc=!0,a}return a}function $c(e,t,n,a){var r=e.updateQueue;Fc=!1,Hc=r.shared;var i=r.firstBaseUpdate,o=r.lastBaseUpdate,c=r.shared.pending;if(c!==null){r.shared.pending=null;var d=c,y=d.next;d.next=null,o===null?i=y:o.next=y,o=d;var g=e.alternate;if(g!==null){var N=g.updateQueue,T=N.lastBaseUpdate;T!==o&&(T===null?N.firstBaseUpdate=y:T.next=y,N.lastBaseUpdate=d)}}if(i!==null){var L=r.baseState,M=Y,V=null,ae=null,ve=null,fe=i;do{var Fe=fe.lane,Me=fe.eventTime;if(Ul(a,Fe)){if(ve!==null){var F={eventTime:Me,lane:Qt,tag:fe.tag,payload:fe.payload,callback:fe.callback,next:null};ve=ve.next=F}L=Lx(e,r,fe,L,t,n);var k=fe.callback;if(k!==null&&fe.lane!==Qt){e.flags|=iy;var W=r.effects;W===null?r.effects=[fe]:W.push(fe)}}else{var U={eventTime:Me,lane:Fe,tag:fe.tag,payload:fe.payload,callback:fe.callback,next:null};ve===null?(ae=ve=U,V=L):ve=ve.next=U,M=Ue(M,Fe)}if(fe=fe.next,fe===null){if(c=r.shared.pending,c===null)break;var oe=c,re=oe.next;oe.next=null,fe=re,r.lastBaseUpdate=oe,r.shared.pending=null}}while(!0);ve===null&&(V=L),r.baseState=V,r.firstBaseUpdate=ae,r.lastBaseUpdate=ve;var Ee=r.shared.interleaved;if(Ee!==null){var Te=Ee;do M=Ue(M,Te.lane),Te=Te.next;while(Te!==Ee)}else i===null&&(r.shared.lanes=Y);ls(M),e.lanes=M,e.memoizedState=L}Hc=null}function Ax(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function db(){Fc=!1}function Ic(){return Fc}function pb(e,t,n){var a=t.effects;if(t.effects=null,a!==null)for(var r=0;r<a.length;r++){var i=a[r],o=i.callback;o!==null&&(i.callback=null,Ax(o,n))}}var Au={},ii=ei(Au),Mu=ei(Au),Yc=ei(Au);function qc(e){if(e===Au)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function vb(){var e=qc(Yc.current);return e}function dv(e,t){En(Yc,t,e),En(Mu,e,e),En(ii,Au,e);var n=JT(t);bn(ii,e),En(ii,n,e)}function Wl(e){bn(ii,e),bn(Mu,e),bn(Yc,e)}function pv(){var e=qc(ii.current);return e}function mb(e){qc(Yc.current);var t=qc(ii.current),n=XT(t,e.type);t!==n&&(En(Mu,e,e),En(ii,n,e))}function vv(e){Mu.current===e&&(bn(ii,e),bn(Mu,e))}var Mx=0,hb=1,yb=1,zu=2,La=ei(Mx);function mv(e,t){return(e&t)!==0}function Ql(e){return e&hb}function hv(e,t){return e&hb|t}function zx(e,t){return e|t}function li(e,t){En(La,t,e)}function Kl(e){bn(La,e)}function jx(e,t){var n=e.memoizedState;return n!==null?n.dehydrated!==null:(e.memoizedProps,!0)}function Gc(e){for(var t=e;t!==null;){if(t.tag===Z){var n=t.memoizedState;if(n!==null){var a=n.dehydrated;if(a===null||Ag(a)||Ap(a))return t}}else if(t.tag===rt&&t.memoizedProps.revealOrder!==void 0){var r=(t.flags&Qe)!==be;if(r)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var $n=0,Lt=1,er=2,At=4,ln=8,yv=[];function gv(){for(var e=0;e<yv.length;e++){var t=yv[e];t._workInProgressVersionPrimary=null}yv.length=0}function Bx(e,t){var n=t._getVersion,a=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,a]:e.mutableSourceEagerHydrationData.push(t,a)}var le=f.ReactCurrentDispatcher,ju=f.ReactCurrentBatchConfig,bv,Jl;bv=new Set;var Xi=Y,nt=null,Mt=null,zt=null,Wc=!1,Bu=!1,Vu=0,Vx=0,Fx=25,$=null,va=null,oi=-1,Ev=!1;function Je(){{var e=$;va===null?va=[e]:va.push(e)}}function ee(){{var e=$;va!==null&&(oi++,va[oi]!==e&&Hx(e))}}function Xl(e){e!=null&&!Ae(e)&&s("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",$,typeof e)}function Hx(e){{var t=xe(nt);if(!bv.has(t)&&(bv.add(t),va!==null)){for(var n="",a=30,r=0;r<=oi;r++){for(var i=va[r],o=r===oi?e:i,c=r+1+". "+i;c.length<a;)c+=" ";c+=o+`
- `,n+=c}s(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
- Previous render Next render
- ------------------------------------------------------
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- `,t,n)}}}function Sn(){throw new Error(`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.`)}function Sv(e,t){if(Ev)return!1;if(t===null)return s("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",$),!1;e.length!==t.length&&s(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
- Previous: %s
- Incoming: %s`,$,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!ea(e[n],t[n]))return!1;return!0}function Zl(e,t,n,a,r,i){Xi=i,nt=t,va=e!==null?e._debugHookTypes:null,oi=-1,Ev=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Y,e!==null&&e.memoizedState!==null?le.current=Vb:va!==null?le.current=Bb:le.current=jb;var o=n(a,r);if(Bu){var c=0;do{if(Bu=!1,Vu=0,c>=Fx)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");c+=1,Ev=!1,Mt=null,zt=null,t.updateQueue=null,oi=-1,le.current=Fb,o=n(a,r)}while(Bu)}le.current=uf,t._debugHookTypes=va;var d=Mt!==null&&Mt.next!==null;if(Xi=Y,nt=null,Mt=null,zt=null,$=null,va=null,oi=-1,e!==null&&(e.flags&Rr)!==(t.flags&Rr)&&(e.mode&Be)!==ye&&s("Internal React error: Expected static flag was missing. Please notify the React team."),Wc=!1,d)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return o}function eo(){var e=Vu!==0;return Vu=0,e}function gb(e,t,n){t.updateQueue=e.updateQueue,(t.mode&Ka)!==ye?t.flags&=-50333701:t.flags&=-2053,e.lanes=Qs(e.lanes,n)}function bb(){if(le.current=uf,Wc){for(var e=nt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Wc=!1}Xi=Y,nt=null,Mt=null,zt=null,va=null,oi=-1,$=null,Ob=!1,Bu=!1,Vu=0}function tr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return zt===null?nt.memoizedState=zt=e:zt=zt.next=e,zt}function ma(){var e;if(Mt===null){var t=nt.alternate;t!==null?e=t.memoizedState:e=null}else e=Mt.next;var n;if(zt===null?n=nt.memoizedState:n=zt.next,n!==null)zt=n,n=zt.next,Mt=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Mt=e;var a={memoizedState:Mt.memoizedState,baseState:Mt.baseState,baseQueue:Mt.baseQueue,queue:Mt.queue,next:null};zt===null?nt.memoizedState=zt=a:zt=zt.next=a}return zt}function Eb(){return{lastEffect:null,stores:null}}function Cv(e,t){return typeof t=="function"?t(e):t}function Rv(e,t,n){var a=tr(),r;n!==void 0?r=n(t):r=t,a.memoizedState=a.baseState=r;var i={pending:null,interleaved:null,lanes:Y,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};a.queue=i;var o=i.dispatch=Yx.bind(null,nt,i);return[a.memoizedState,o]}function wv(e,t,n){var a=ma(),r=a.queue;if(r===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var i=Mt,o=i.baseQueue,c=r.pending;if(c!==null){if(o!==null){var d=o.next,y=c.next;o.next=y,c.next=d}i.baseQueue!==o&&s("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=o=c,r.pending=null}if(o!==null){var g=o.next,N=i.baseState,T=null,L=null,M=null,V=g;do{var ae=V.lane;if(Ul(Xi,ae)){if(M!==null){var fe={lane:Qt,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};M=M.next=fe}if(V.hasEagerState)N=V.eagerState;else{var Fe=V.action;N=e(N,Fe)}}else{var ve={lane:ae,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};M===null?(L=M=ve,T=N):M=M.next=ve,nt.lanes=Ue(nt.lanes,ae),ls(ae)}V=V.next}while(V!==null&&V!==g);M===null?T=N:M.next=L,ea(N,a.memoizedState)||Wu(),a.memoizedState=N,a.baseState=T,a.baseQueue=M,r.lastRenderedState=N}var Me=r.interleaved;if(Me!==null){var U=Me;do{var F=U.lane;nt.lanes=Ue(nt.lanes,F),ls(F),U=U.next}while(U!==Me)}else o===null&&(r.lanes=Y);var k=r.dispatch;return[a.memoizedState,k]}function Tv(e,t,n){var a=ma(),r=a.queue;if(r===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var i=r.dispatch,o=r.pending,c=a.memoizedState;if(o!==null){r.pending=null;var d=o.next,y=d;do{var g=y.action;c=e(c,g),y=y.next}while(y!==d);ea(c,a.memoizedState)||Wu(),a.memoizedState=c,a.baseQueue===null&&(a.baseState=c),r.lastRenderedState=c}return[c,i]}function iM(e,t,n){}function lM(e,t,n){}function Nv(e,t,n){var a=nt,r=tr(),i,o=rn();if(o){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");i=n(),Jl||i!==n()&&(s("The result of getServerSnapshot should be cached to avoid an infinite loop"),Jl=!0)}else{if(i=t(),!Jl){var c=t();ea(i,c)||(s("The result of getSnapshot should be cached to avoid an infinite loop"),Jl=!0)}var d=xf();if(d===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ws(d,Xi)||Sb(a,t,i)}r.memoizedState=i;var y={value:i,getSnapshot:t};return r.queue=y,Zc(Rb.bind(null,a,y,e),[e]),a.flags|=Yr,Fu(Lt|ln,Cb.bind(null,a,y,i,t),void 0,null),i}function Qc(e,t,n){var a=nt,r=ma(),i=t();if(!Jl){var o=t();ea(i,o)||(s("The result of getSnapshot should be cached to avoid an infinite loop"),Jl=!0)}var c=r.memoizedState,d=!ea(c,i);d&&(r.memoizedState=i,Wu());var y=r.queue;if(Pu(Rb.bind(null,a,y,e),[e]),y.getSnapshot!==t||d||zt!==null&&zt.memoizedState.tag&Lt){a.flags|=Yr,Fu(Lt|ln,Cb.bind(null,a,y,i,t),void 0,null);var g=xf();if(g===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ws(g,Xi)||Sb(a,t,i)}return i}function Sb(e,t,n){e.flags|=Cd;var a={getSnapshot:t,value:n},r=nt.updateQueue;if(r===null)r=Eb(),nt.updateQueue=r,r.stores=[a];else{var i=r.stores;i===null?r.stores=[a]:i.push(a)}}function Cb(e,t,n,a){t.value=n,t.getSnapshot=a,wb(t)&&Tb(e)}function Rb(e,t,n){var a=function(){wb(t)&&Tb(e)};return n(a)}function wb(e){var t=e.getSnapshot,n=e.value;try{var a=t();return!ea(n,a)}catch{return!0}}function Tb(e){var t=Pn(e,Ce);t!==null&&Ft(t,e,Ce,st)}function Kc(e){var t=tr();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:Y,dispatch:null,lastRenderedReducer:Cv,lastRenderedState:e};t.queue=n;var a=n.dispatch=qx.bind(null,nt,n);return[t.memoizedState,a]}function xv(e){return wv(Cv)}function _v(e){return Tv(Cv)}function Fu(e,t,n,a){var r={tag:e,create:t,destroy:n,deps:a,next:null},i=nt.updateQueue;if(i===null)i=Eb(),nt.updateQueue=i,i.lastEffect=r.next=r;else{var o=i.lastEffect;if(o===null)i.lastEffect=r.next=r;else{var c=o.next;o.next=r,r.next=c,i.lastEffect=r}}return r}function Dv(e){var t=tr();{var n={current:e};return t.memoizedState=n,n}}function Jc(e){var t=ma();return t.memoizedState}function Hu(e,t,n,a){var r=tr(),i=a===void 0?null:a;nt.flags|=e,r.memoizedState=Fu(Lt|t,n,void 0,i)}function Xc(e,t,n,a){var r=ma(),i=a===void 0?null:a,o=void 0;if(Mt!==null){var c=Mt.memoizedState;if(o=c.destroy,i!==null){var d=c.deps;if(Sv(i,d)){r.memoizedState=Fu(t,n,o,i);return}}}nt.flags|=e,r.memoizedState=Fu(Lt|t,n,o,i)}function Zc(e,t){return(nt.mode&Ka)!==ye?Hu(Nd|Yr|Td,ln,e,t):Hu(Yr|Td,ln,e,t)}function Pu(e,t){return Xc(Yr,ln,e,t)}function Uv(e,t){return Hu(We,er,e,t)}function ef(e,t){return Xc(We,er,e,t)}function kv(e,t){var n=We;return n|=Mi,(nt.mode&Ka)!==ye&&(n|=qr),Hu(n,At,e,t)}function tf(e,t){return Xc(We,At,e,t)}function Nb(e,t){if(typeof t=="function"){var n=t,a=e();return n(a),function(){n(null)}}else if(t!=null){var r=t;r.hasOwnProperty("current")||s("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(r).join(", ")+"}");var i=e();return r.current=i,function(){r.current=null}}}function Ov(e,t,n){typeof t!="function"&&s("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=n!=null?n.concat([e]):null,r=We;return r|=Mi,(nt.mode&Ka)!==ye&&(r|=qr),Hu(r,At,Nb.bind(null,t,e),a)}function nf(e,t,n){typeof t!="function"&&s("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=n!=null?n.concat([e]):null;return Xc(We,At,Nb.bind(null,t,e),a)}function Px(e,t){}var af=Px;function Lv(e,t){var n=tr(),a=t===void 0?null:t;return n.memoizedState=[e,a],e}function rf(e,t){var n=ma(),a=t===void 0?null:t,r=n.memoizedState;if(r!==null&&a!==null){var i=r[1];if(Sv(a,i))return r[0]}return n.memoizedState=[e,a],e}function Av(e,t){var n=tr(),a=t===void 0?null:t,r=e();return n.memoizedState=[r,a],r}function lf(e,t){var n=ma(),a=t===void 0?null:t,r=n.memoizedState;if(r!==null&&a!==null){var i=r[1];if(Sv(a,i))return r[0]}var o=e();return n.memoizedState=[o,a],o}function Mv(e){var t=tr();return t.memoizedState=e,e}function xb(e){var t=ma(),n=Mt,a=n.memoizedState;return Db(t,a,e)}function _b(e){var t=ma();if(Mt===null)return t.memoizedState=e,e;var n=Mt.memoizedState;return Db(t,n,e)}function Db(e,t,n){var a=!xR(Xi);if(a){if(!ea(n,t)){var r=Ty();nt.lanes=Ue(nt.lanes,r),ls(r),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Wu()),e.memoizedState=n,n}function $x(e,t,n){var a=Da();Kt(zR(a,Tr)),e(!0);var r=ju.transition;ju.transition={};var i=ju.transition;ju.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Kt(a),ju.transition=r,r===null&&i._updatedFibers){var o=i._updatedFibers.size;o>10&&h("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."),i._updatedFibers.clear()}}}function zv(){var e=Kc(!1),t=e[0],n=e[1],a=$x.bind(null,n),r=tr();return r.memoizedState=a,[t,a]}function Ub(){var e=xv(),t=e[0],n=ma(),a=n.memoizedState;return[t,a]}function kb(){var e=_v(),t=e[0],n=ma(),a=n.memoizedState;return[t,a]}var Ob=!1;function Ix(){return Ob}function jv(){var e=tr(),t=xf(),n=t.identifierPrefix,a;if(rn()){var r=ox();a=":"+n+"R"+r;var i=Vu++;i>0&&(a+="H"+i.toString(32)),a+=":"}else{var o=Vx++;a=":"+n+"r"+o.toString(32)+":"}return e.memoizedState=a,a}function of(){var e=ma(),t=e.memoizedState;return t}function Yx(e,t,n){typeof arguments[3]=="function"&&s("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var a=di(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Lb(e))Ab(t,r);else{var i=ub(e,t,r,a);if(i!==null){var o=An();Ft(i,e,a,o),Mb(i,t,a)}}zb(e,a)}function qx(e,t,n){typeof arguments[3]=="function"&&s("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var a=di(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Lb(e))Ab(t,r);else{var i=e.alternate;if(e.lanes===Y&&(i===null||i.lanes===Y)){var o=t.lastRenderedReducer;if(o!==null){var c;c=le.current,le.current=Aa;try{var d=t.lastRenderedState,y=o(d,n);if(r.hasEagerState=!0,r.eagerState=y,ea(y,d)){Ux(e,t,r,a);return}}catch{}finally{le.current=c}}}var g=ub(e,t,r,a);if(g!==null){var N=An();Ft(g,e,a,N),Mb(g,t,a)}}zb(e,a)}function Lb(e){var t=e.alternate;return e===nt||t!==null&&t===nt}function Ab(e,t){Bu=Wc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Mb(e,t,n){if(wy(n)){var a=t.lanes;a=Ny(a,e.pendingLanes);var r=Ue(a,n);t.lanes=r,np(e,r)}}function zb(e,t,n){kd(e,t)}var uf={readContext:_t,useCallback:Sn,useContext:Sn,useEffect:Sn,useImperativeHandle:Sn,useInsertionEffect:Sn,useLayoutEffect:Sn,useMemo:Sn,useReducer:Sn,useRef:Sn,useState:Sn,useDebugValue:Sn,useDeferredValue:Sn,useTransition:Sn,useMutableSource:Sn,useSyncExternalStore:Sn,useId:Sn,unstable_isNewReconciler:vn},jb=null,Bb=null,Vb=null,Fb=null,nr=null,Aa=null,sf=null;{var Bv=function(){s("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Re=function(){s("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};jb={readContext:function(e){return _t(e)},useCallback:function(e,t){return $="useCallback",Je(),Xl(t),Lv(e,t)},useContext:function(e){return $="useContext",Je(),_t(e)},useEffect:function(e,t){return $="useEffect",Je(),Xl(t),Zc(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Je(),Xl(n),Ov(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Je(),Xl(t),Uv(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Je(),Xl(t),kv(e,t)},useMemo:function(e,t){$="useMemo",Je(),Xl(t);var n=le.current;le.current=nr;try{return Av(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",Je();var a=le.current;le.current=nr;try{return Rv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",Je(),Dv(e)},useState:function(e){$="useState",Je();var t=le.current;le.current=nr;try{return Kc(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Je(),void 0},useDeferredValue:function(e){return $="useDeferredValue",Je(),Mv(e)},useTransition:function(){return $="useTransition",Je(),zv()},useMutableSource:function(e,t,n){return $="useMutableSource",Je(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Je(),Nv(e,t,n)},useId:function(){return $="useId",Je(),jv()},unstable_isNewReconciler:vn},Bb={readContext:function(e){return _t(e)},useCallback:function(e,t){return $="useCallback",ee(),Lv(e,t)},useContext:function(e){return $="useContext",ee(),_t(e)},useEffect:function(e,t){return $="useEffect",ee(),Zc(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",ee(),Ov(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",ee(),Uv(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",ee(),kv(e,t)},useMemo:function(e,t){$="useMemo",ee();var n=le.current;le.current=nr;try{return Av(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",ee();var a=le.current;le.current=nr;try{return Rv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",ee(),Dv(e)},useState:function(e){$="useState",ee();var t=le.current;le.current=nr;try{return Kc(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",ee(),void 0},useDeferredValue:function(e){return $="useDeferredValue",ee(),Mv(e)},useTransition:function(){return $="useTransition",ee(),zv()},useMutableSource:function(e,t,n){return $="useMutableSource",ee(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",ee(),Nv(e,t,n)},useId:function(){return $="useId",ee(),jv()},unstable_isNewReconciler:vn},Vb={readContext:function(e){return _t(e)},useCallback:function(e,t){return $="useCallback",ee(),rf(e,t)},useContext:function(e){return $="useContext",ee(),_t(e)},useEffect:function(e,t){return $="useEffect",ee(),Pu(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",ee(),nf(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",ee(),ef(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",ee(),tf(e,t)},useMemo:function(e,t){$="useMemo",ee();var n=le.current;le.current=Aa;try{return lf(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",ee();var a=le.current;le.current=Aa;try{return wv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",ee(),Jc()},useState:function(e){$="useState",ee();var t=le.current;le.current=Aa;try{return xv(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",ee(),af()},useDeferredValue:function(e){return $="useDeferredValue",ee(),xb(e)},useTransition:function(){return $="useTransition",ee(),Ub()},useMutableSource:function(e,t,n){return $="useMutableSource",ee(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",ee(),Qc(e,t)},useId:function(){return $="useId",ee(),of()},unstable_isNewReconciler:vn},Fb={readContext:function(e){return _t(e)},useCallback:function(e,t){return $="useCallback",ee(),rf(e,t)},useContext:function(e){return $="useContext",ee(),_t(e)},useEffect:function(e,t){return $="useEffect",ee(),Pu(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",ee(),nf(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",ee(),ef(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",ee(),tf(e,t)},useMemo:function(e,t){$="useMemo",ee();var n=le.current;le.current=sf;try{return lf(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",ee();var a=le.current;le.current=sf;try{return Tv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",ee(),Jc()},useState:function(e){$="useState",ee();var t=le.current;le.current=sf;try{return _v(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",ee(),af()},useDeferredValue:function(e){return $="useDeferredValue",ee(),_b(e)},useTransition:function(){return $="useTransition",ee(),kb()},useMutableSource:function(e,t,n){return $="useMutableSource",ee(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",ee(),Qc(e,t)},useId:function(){return $="useId",ee(),of()},unstable_isNewReconciler:vn},nr={readContext:function(e){return Bv(),_t(e)},useCallback:function(e,t){return $="useCallback",Re(),Je(),Lv(e,t)},useContext:function(e){return $="useContext",Re(),Je(),_t(e)},useEffect:function(e,t){return $="useEffect",Re(),Je(),Zc(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Re(),Je(),Ov(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Re(),Je(),Uv(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Re(),Je(),kv(e,t)},useMemo:function(e,t){$="useMemo",Re(),Je();var n=le.current;le.current=nr;try{return Av(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",Re(),Je();var a=le.current;le.current=nr;try{return Rv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",Re(),Je(),Dv(e)},useState:function(e){$="useState",Re(),Je();var t=le.current;le.current=nr;try{return Kc(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Re(),Je(),void 0},useDeferredValue:function(e){return $="useDeferredValue",Re(),Je(),Mv(e)},useTransition:function(){return $="useTransition",Re(),Je(),zv()},useMutableSource:function(e,t,n){return $="useMutableSource",Re(),Je(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Re(),Je(),Nv(e,t,n)},useId:function(){return $="useId",Re(),Je(),jv()},unstable_isNewReconciler:vn},Aa={readContext:function(e){return Bv(),_t(e)},useCallback:function(e,t){return $="useCallback",Re(),ee(),rf(e,t)},useContext:function(e){return $="useContext",Re(),ee(),_t(e)},useEffect:function(e,t){return $="useEffect",Re(),ee(),Pu(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Re(),ee(),nf(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Re(),ee(),ef(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Re(),ee(),tf(e,t)},useMemo:function(e,t){$="useMemo",Re(),ee();var n=le.current;le.current=Aa;try{return lf(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",Re(),ee();var a=le.current;le.current=Aa;try{return wv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",Re(),ee(),Jc()},useState:function(e){$="useState",Re(),ee();var t=le.current;le.current=Aa;try{return xv(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Re(),ee(),af()},useDeferredValue:function(e){return $="useDeferredValue",Re(),ee(),xb(e)},useTransition:function(){return $="useTransition",Re(),ee(),Ub()},useMutableSource:function(e,t,n){return $="useMutableSource",Re(),ee(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Re(),ee(),Qc(e,t)},useId:function(){return $="useId",Re(),ee(),of()},unstable_isNewReconciler:vn},sf={readContext:function(e){return Bv(),_t(e)},useCallback:function(e,t){return $="useCallback",Re(),ee(),rf(e,t)},useContext:function(e){return $="useContext",Re(),ee(),_t(e)},useEffect:function(e,t){return $="useEffect",Re(),ee(),Pu(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Re(),ee(),nf(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Re(),ee(),ef(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Re(),ee(),tf(e,t)},useMemo:function(e,t){$="useMemo",Re(),ee();var n=le.current;le.current=Aa;try{return lf(e,t)}finally{le.current=n}},useReducer:function(e,t,n){$="useReducer",Re(),ee();var a=le.current;le.current=Aa;try{return Tv(e,t,n)}finally{le.current=a}},useRef:function(e){return $="useRef",Re(),ee(),Jc()},useState:function(e){$="useState",Re(),ee();var t=le.current;le.current=Aa;try{return _v(e)}finally{le.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Re(),ee(),af()},useDeferredValue:function(e){return $="useDeferredValue",Re(),ee(),_b(e)},useTransition:function(){return $="useTransition",Re(),ee(),kb()},useMutableSource:function(e,t,n){return $="useMutableSource",Re(),ee(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Re(),ee(),Qc(e,t)},useId:function(){return $="useId",Re(),ee(),of()},unstable_isNewReconciler:vn}}var ui=u.unstable_now,Hb=0,cf=-1,$u=-1,ff=-1,Vv=!1,df=!1;function Pb(){return Vv}function Gx(){df=!0}function Wx(){Vv=!1,df=!1}function Qx(){Vv=df,df=!1}function $b(){return Hb}function Ib(){Hb=ui()}function Fv(e){$u=ui(),e.actualStartTime<0&&(e.actualStartTime=ui())}function Yb(e){$u=-1}function pf(e,t){if($u>=0){var n=ui()-$u;e.actualDuration+=n,t&&(e.selfBaseDuration=n),$u=-1}}function ar(e){if(cf>=0){var t=ui()-cf;cf=-1;for(var n=e.return;n!==null;){switch(n.tag){case D:var a=n.stateNode;a.effectDuration+=t;return;case K:var r=n.stateNode;r.effectDuration+=t;return}n=n.return}}}function Hv(e){if(ff>=0){var t=ui()-ff;ff=-1;for(var n=e.return;n!==null;){switch(n.tag){case D:var a=n.stateNode;a!==null&&(a.passiveEffectDuration+=t);return;case K:var r=n.stateNode;r!==null&&(r.passiveEffectDuration+=t);return}n=n.return}}}function rr(){cf=ui()}function Pv(){ff=ui()}function $v(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ma(e,t){if(e&&e.defaultProps){var n=Oe({},t),a=e.defaultProps;for(var r in a)n[r]===void 0&&(n[r]=a[r]);return n}return t}var Iv={},Yv,qv,Gv,Wv,Qv,qb,vf,Kv,Jv,Xv,Iu;{Yv=new Set,qv=new Set,Gv=new Set,Wv=new Set,Kv=new Set,Qv=new Set,Jv=new Set,Xv=new Set,Iu=new Set;var Gb=new Set;vf=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;Gb.has(n)||(Gb.add(n),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},qb=function(e,t){if(t===void 0){var n=Ge(e)||"Component";Qv.has(n)||(Qv.add(n),s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Iv,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Iv)}function Zv(e,t,n,a){var r=e.memoizedState,i=n(a,r);{if(e.mode&Ct){Wt(!0);try{i=n(a,r)}finally{Wt(!1)}}qb(t,i)}var o=i==null?r:Oe({},r,i);if(e.memoizedState=o,e.lanes===Y){var c=e.updateQueue;c.baseState=o}}var em={isMounted:F0,enqueueSetState:function(e,t,n){var a=Sl(e),r=An(),i=di(a),o=Or(r,i);o.payload=t,n!=null&&(vf(n,"setState"),o.callback=n);var c=ri(a,o,i);c!==null&&(Ft(c,a,i,r),Pc(c,a,i)),kd(a,i)},enqueueReplaceState:function(e,t,n){var a=Sl(e),r=An(),i=di(a),o=Or(r,i);o.tag=cb,o.payload=t,n!=null&&(vf(n,"replaceState"),o.callback=n);var c=ri(a,o,i);c!==null&&(Ft(c,a,i,r),Pc(c,a,i)),kd(a,i)},enqueueForceUpdate:function(e,t){var n=Sl(e),a=An(),r=di(n),i=Or(a,r);i.tag=Vc,t!=null&&(vf(t,"forceUpdate"),i.callback=t);var o=ri(n,i,r);o!==null&&(Ft(o,n,r,a),Pc(o,n,r)),yR(n,r)}};function Wb(e,t,n,a,r,i,o){var c=e.stateNode;if(typeof c.shouldComponentUpdate=="function"){var d=c.shouldComponentUpdate(a,i,o);{if(e.mode&Ct){Wt(!0);try{d=c.shouldComponentUpdate(a,i,o)}finally{Wt(!1)}}d===void 0&&s("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Ge(t)||"Component")}return d}return t.prototype&&t.prototype.isPureReactComponent?!du(n,a)||!du(r,i):!0}function Kx(e,t,n){var a=e.stateNode;{var r=Ge(t)||"Component",i=a.render;i||(t.prototype&&typeof t.prototype.render=="function"?s("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",r):s("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",r)),a.getInitialState&&!a.getInitialState.isReactClassApproved&&!a.state&&s("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",r),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&s("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",r),a.propTypes&&s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",r),a.contextType&&s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",r),t.childContextTypes&&!Iu.has(t)&&(e.mode&Ct)===ye&&(Iu.add(t),s(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
- .Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)),t.contextTypes&&!Iu.has(t)&&(e.mode&Ct)===ye&&(Iu.add(t),s(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)),a.contextTypes&&s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",r),t.contextType&&t.contextTypes&&!Jv.has(t)&&(Jv.add(t),s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",r)),typeof a.componentShouldUpdate=="function"&&s("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",r),t.prototype&&t.prototype.isPureReactComponent&&typeof a.shouldComponentUpdate<"u"&&s("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Ge(t)||"A pure component"),typeof a.componentDidUnmount=="function"&&s("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",r),typeof a.componentDidReceiveProps=="function"&&s("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",r),typeof a.componentWillRecieveProps=="function"&&s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",r),typeof a.UNSAFE_componentWillRecieveProps=="function"&&s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",r);var o=a.props!==n;a.props!==void 0&&o&&s("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",r,r),a.defaultProps&&s("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",r,r),typeof a.getSnapshotBeforeUpdate=="function"&&typeof a.componentDidUpdate!="function"&&!Gv.has(t)&&(Gv.add(t),s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ge(t))),typeof a.getDerivedStateFromProps=="function"&&s("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof a.getDerivedStateFromError=="function"&&s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof t.getSnapshotBeforeUpdate=="function"&&s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",r);var c=a.state;c&&(typeof c!="object"||Ae(c))&&s("%s.state: must be set to an object or null",r),typeof a.getChildContext=="function"&&typeof t.childContextTypes!="object"&&s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",r)}}function Qb(e,t){t.updater=em,e.stateNode=t,z0(t,e),t._reactInternalInstance=Iv}function Kb(e,t,n){var a=!1,r=ta,i=ta,o=t.contextType;if("contextType"in t){var c=o===null||o!==void 0&&o.$$typeof===ne&&o._context===void 0;if(!c&&!Xv.has(t)){Xv.add(t);var d="";o===void 0?d=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof o!="object"?d=" However, it is set to a "+typeof o+".":o.$$typeof===G?d=" Did you accidentally pass the Context.Provider instead?":o._context!==void 0?d=" Did you accidentally pass the Context.Consumer instead?":d=" However, it is set to an object with keys {"+Object.keys(o).join(", ")+"}.",s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Ge(t)||"Component",d)}}if(typeof o=="object"&&o!==null)i=_t(o);else{r=Fl(e,t,!0);var y=t.contextTypes;a=y!=null,i=a?Hl(e,r):ta}var g=new t(n,i);if(e.mode&Ct){Wt(!0);try{g=new t(n,i)}finally{Wt(!1)}}var N=e.memoizedState=g.state!==null&&g.state!==void 0?g.state:null;Qb(e,g);{if(typeof t.getDerivedStateFromProps=="function"&&N===null){var T=Ge(t)||"Component";qv.has(T)||(qv.add(T),s("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",T,g.state===null?"null":"undefined",T))}if(typeof t.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"){var L=null,M=null,V=null;if(typeof g.componentWillMount=="function"&&g.componentWillMount.__suppressDeprecationWarning!==!0?L="componentWillMount":typeof g.UNSAFE_componentWillMount=="function"&&(L="UNSAFE_componentWillMount"),typeof g.componentWillReceiveProps=="function"&&g.componentWillReceiveProps.__suppressDeprecationWarning!==!0?M="componentWillReceiveProps":typeof g.UNSAFE_componentWillReceiveProps=="function"&&(M="UNSAFE_componentWillReceiveProps"),typeof g.componentWillUpdate=="function"&&g.componentWillUpdate.__suppressDeprecationWarning!==!0?V="componentWillUpdate":typeof g.UNSAFE_componentWillUpdate=="function"&&(V="UNSAFE_componentWillUpdate"),L!==null||M!==null||V!==null){var ae=Ge(t)||"Component",ve=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Wv.has(ae)||(Wv.add(ae),s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
- The above lifecycles should be removed. Learn more about this warning here:
- https://reactjs.org/link/unsafe-component-lifecycles`,ae,ve,L!==null?`
- `+L:"",M!==null?`
- `+M:"",V!==null?`
- `+V:""))}}}return a&&Vg(e,r,i),g}function Jx(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(s("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",xe(e)||"Component"),em.enqueueReplaceState(t,t.state,null))}function Jb(e,t,n,a){var r=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==r){{var i=xe(e)||"Component";Yv.has(i)||(Yv.add(i),s("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i))}em.enqueueReplaceState(t,t.state,null)}}function tm(e,t,n,a){Kx(e,t,n);var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},cv(e);var i=t.contextType;if(typeof i=="object"&&i!==null)r.context=_t(i);else{var o=Fl(e,t,!0);r.context=Hl(e,o)}{if(r.state===n){var c=Ge(t)||"Component";Kv.has(c)||(Kv.add(c),s("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",c))}e.mode&Ct&&Oa.recordLegacyContextWarning(e,r),Oa.recordUnsafeLifecycleWarnings(e,r)}r.state=e.memoizedState;var d=t.getDerivedStateFromProps;if(typeof d=="function"&&(Zv(e,t,d,n),r.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof r.getSnapshotBeforeUpdate!="function"&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(Jx(e,r),$c(e,n,r,a),r.state=e.memoizedState),typeof r.componentDidMount=="function"){var y=We;y|=Mi,(e.mode&Ka)!==ye&&(y|=qr),e.flags|=y}}function Xx(e,t,n,a){var r=e.stateNode,i=e.memoizedProps;r.props=i;var o=r.context,c=t.contextType,d=ta;if(typeof c=="object"&&c!==null)d=_t(c);else{var y=Fl(e,t,!0);d=Hl(e,y)}var g=t.getDerivedStateFromProps,N=typeof g=="function"||typeof r.getSnapshotBeforeUpdate=="function";!N&&(typeof r.UNSAFE_componentWillReceiveProps=="function"||typeof r.componentWillReceiveProps=="function")&&(i!==n||o!==d)&&Jb(e,r,n,d),db();var T=e.memoizedState,L=r.state=T;if($c(e,n,r,a),L=e.memoizedState,i===n&&T===L&&!wc()&&!Ic()){if(typeof r.componentDidMount=="function"){var M=We;M|=Mi,(e.mode&Ka)!==ye&&(M|=qr),e.flags|=M}return!1}typeof g=="function"&&(Zv(e,t,g,n),L=e.memoizedState);var V=Ic()||Wb(e,t,i,n,T,L,d);if(V){if(!N&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"){var ae=We;ae|=Mi,(e.mode&Ka)!==ye&&(ae|=qr),e.flags|=ae}}else{if(typeof r.componentDidMount=="function"){var ve=We;ve|=Mi,(e.mode&Ka)!==ye&&(ve|=qr),e.flags|=ve}e.memoizedProps=n,e.memoizedState=L}return r.props=n,r.state=L,r.context=d,V}function Zx(e,t,n,a,r){var i=t.stateNode;fb(e,t);var o=t.memoizedProps,c=t.type===t.elementType?o:Ma(t.type,o);i.props=c;var d=t.pendingProps,y=i.context,g=n.contextType,N=ta;if(typeof g=="object"&&g!==null)N=_t(g);else{var T=Fl(t,n,!0);N=Hl(t,T)}var L=n.getDerivedStateFromProps,M=typeof L=="function"||typeof i.getSnapshotBeforeUpdate=="function";!M&&(typeof i.UNSAFE_componentWillReceiveProps=="function"||typeof i.componentWillReceiveProps=="function")&&(o!==d||y!==N)&&Jb(t,i,a,N),db();var V=t.memoizedState,ae=i.state=V;if($c(t,a,i,r),ae=t.memoizedState,o===d&&V===ae&&!wc()&&!Ic()&&!ba)return typeof i.componentDidUpdate=="function"&&(o!==e.memoizedProps||V!==e.memoizedState)&&(t.flags|=We),typeof i.getSnapshotBeforeUpdate=="function"&&(o!==e.memoizedProps||V!==e.memoizedState)&&(t.flags|=Rl),!1;typeof L=="function"&&(Zv(t,n,L,a),ae=t.memoizedState);var ve=Ic()||Wb(t,n,c,a,V,ae,N)||ba;return ve?(!M&&(typeof i.UNSAFE_componentWillUpdate=="function"||typeof i.componentWillUpdate=="function")&&(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,ae,N),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,ae,N)),typeof i.componentDidUpdate=="function"&&(t.flags|=We),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=Rl)):(typeof i.componentDidUpdate=="function"&&(o!==e.memoizedProps||V!==e.memoizedState)&&(t.flags|=We),typeof i.getSnapshotBeforeUpdate=="function"&&(o!==e.memoizedProps||V!==e.memoizedState)&&(t.flags|=Rl),t.memoizedProps=a,t.memoizedState=ae),i.props=a,i.state=ae,i.context=N,ve}function Zi(e,t){return{value:e,source:t,stack:xi(t),digest:null}}function nm(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function e1(e,t){return!0}function am(e,t){try{var n=e1(e,t);if(n===!1)return;var a=t.value,r=t.source,i=t.stack,o=i!==null?i:"";if(a!=null&&a._suppressLogging){if(e.tag===S)return;console.error(a)}var c=r?xe(r):null,d=c?"The above error occurred in the <"+c+"> component:":"The above error occurred in one of your React components:",y;if(e.tag===D)y=`Consider adding an error boundary to your tree to customize error handling behavior.
- Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var g=xe(e)||"Anonymous";y="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+g+".")}var N=d+`
- `+o+`
- `+(""+y);console.error(N)}catch(T){setTimeout(function(){throw T})}}var t1=typeof WeakMap=="function"?WeakMap:Map;function Xb(e,t,n){var a=Or(st,n);a.tag=uv,a.payload={element:null};var r=t.value;return a.callback=function(){G_(r),am(e,t)},a}function rm(e,t,n){var a=Or(st,n);a.tag=uv;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;a.payload=function(){return r(i)},a.callback=function(){sS(e),am(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(a.callback=function(){sS(e),am(e,t),typeof r!="function"&&Y_(this);var d=t.value,y=t.stack;this.componentDidCatch(d,{componentStack:y!==null?y:""}),typeof r!="function"&&(Jn(e.lanes,Ce)||s("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",xe(e)||"Unknown"))}),a}function Zb(e,t,n){var a=e.pingCache,r;if(a===null?(a=e.pingCache=new t1,r=new Set,a.set(t,r)):(r=a.get(t),r===void 0&&(r=new Set,a.set(t,r))),!r.has(n)){r.add(n);var i=W_.bind(null,e,t,n);_a&&os(e,n),t.then(i,i)}}function n1(e,t,n,a){var r=e.updateQueue;if(r===null){var i=new Set;i.add(n),e.updateQueue=i}else r.add(n)}function a1(e,t){var n=e.tag;if((e.mode&Be)===ye&&(n===b||n===P||n===ce)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function eE(e){var t=e;do{if(t.tag===Z&&jx(t))return t;t=t.return}while(t!==null);return null}function tE(e,t,n,a,r){if((e.mode&Be)===ye){if(e===t)e.flags|=kn;else{if(e.flags|=Qe,n.flags|=Rd,n.flags&=-52805,n.tag===S){var i=n.alternate;if(i===null)n.tag=He;else{var o=Or(st,Ce);o.tag=Vc,ri(n,o,Ce)}}n.lanes=Ue(n.lanes,Ce)}return e}return e.flags|=kn,e.lanes=r,e}function r1(e,t,n,a,r){if(n.flags|=Ps,_a&&os(e,r),a!==null&&typeof a=="object"&&typeof a.then=="function"){var i=a;a1(n),rn()&&n.mode&Be&&qg();var o=eE(t);if(o!==null){o.flags&=~Sr,tE(o,t,n,e,r),o.mode&Be&&Zb(e,i,r),n1(o,e,i);return}else{if(!NR(r)){Zb(e,i,r),jm();return}var c=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");a=c}}else if(rn()&&n.mode&Be){qg();var d=eE(t);if(d!==null){(d.flags&kn)===be&&(d.flags|=Sr),tE(d,t,n,e,r),Kp(Zi(a,n));return}}a=Zi(a,n),j_(a);var y=t;do{switch(y.tag){case D:{var g=a;y.flags|=kn;var N=Jo(r);y.lanes=Ue(y.lanes,N);var T=Xb(y,g,N);fv(y,T);return}case S:var L=a,M=y.type,V=y.stateNode;if((y.flags&Qe)===be&&(typeof M.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&!eS(V))){y.flags|=kn;var ae=Jo(r);y.lanes=Ue(y.lanes,ae);var ve=rm(y,L,ae);fv(y,ve);return}break}y=y.return}while(y!==null)}function i1(){return null}var Yu=f.ReactCurrentOwner,za=!1,im,qu,lm,om,um,el,sm,mf,Gu;im={},qu={},lm={},om={},um={},el=!1,sm={},mf={},Gu={};function On(e,t,n,a){e===null?t.child=rb(t,null,n,a):t.child=Yl(t,e.child,n,a)}function l1(e,t,n,a){t.child=Yl(t,e.child,null,a),t.child=Yl(t,null,n,a)}function nE(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Ua(i,a,"prop",Ge(n))}var o=n.render,c=t.ref,d,y;Gl(t,r),Yo(t);{if(Yu.current=t,ca(!0),d=Zl(e,t,o,a,c,r),y=eo(),t.mode&Ct){Wt(!0);try{d=Zl(e,t,o,a,c,r),y=eo()}finally{Wt(!1)}}ca(!1)}return Nl(),e!==null&&!za?(gb(e,t,r),Lr(e,t,r)):(rn()&&y&&Ip(t),t.flags|=Cl,On(e,t,d,r),t.child)}function aE(e,t,n,a,r){if(e===null){var i=n.type;if(fD(i)&&n.compare===null&&n.defaultProps===void 0){var o=i;return o=uo(i),t.tag=ce,t.type=o,dm(t,i),rE(e,t,o,a,r)}{var c=i.propTypes;if(c&&Ua(c,a,"prop",Ge(i)),n.defaultProps!==void 0){var d=Ge(i)||"Unknown";Gu[d]||(s("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",d),Gu[d]=!0)}}var y=Wm(n.type,null,a,t,t.mode,r);return y.ref=t.ref,y.return=t,t.child=y,y}{var g=n.type,N=g.propTypes;N&&Ua(N,a,"prop",Ge(g))}var T=e.child,L=gm(e,r);if(!L){var M=T.memoizedProps,V=n.compare;if(V=V!==null?V:du,V(M,a)&&e.ref===t.ref)return Lr(e,t,r)}t.flags|=Cl;var ae=il(T,a);return ae.ref=t.ref,ae.return=t,t.child=ae,ae}function rE(e,t,n,a,r){if(t.type!==t.elementType){var i=t.elementType;if(i.$$typeof===he){var o=i,c=o._payload,d=o._init;try{i=d(c)}catch{i=null}var y=i&&i.propTypes;y&&Ua(y,a,"prop",Ge(i))}}if(e!==null){var g=e.memoizedProps;if(du(g,a)&&e.ref===t.ref&&t.type===e.type)if(za=!1,t.pendingProps=a=g,gm(e,r))(e.flags&Rd)!==be&&(za=!0);else return t.lanes=e.lanes,Lr(e,t,r)}return cm(e,t,n,a,r)}function iE(e,t,n){var a=t.pendingProps,r=a.children,i=e!==null?e.memoizedState:null;if(a.mode==="hidden"||Gn)if((t.mode&Be)===ye){var o={baseLanes:Y,cachePool:null,transitions:null};t.memoizedState=o,_f(t,n)}else if(Jn(n,Kn)){var N={baseLanes:Y,cachePool:null,transitions:null};t.memoizedState=N;var T=i!==null?i.baseLanes:n;_f(t,T)}else{var c=null,d;if(i!==null){var y=i.baseLanes;d=Ue(y,n)}else d=n;t.lanes=t.childLanes=Kn;var g={baseLanes:d,cachePool:c,transitions:null};return t.memoizedState=g,t.updateQueue=null,_f(t,d),null}else{var L;i!==null?(L=Ue(i.baseLanes,n),t.memoizedState=null):L=n,_f(t,L)}return On(e,t,r,n),t.child}function o1(e,t,n){var a=t.pendingProps;return On(e,t,a,n),t.child}function u1(e,t,n){var a=t.pendingProps.children;return On(e,t,a,n),t.child}function s1(e,t,n){{t.flags|=We;{var a=t.stateNode;a.effectDuration=0,a.passiveEffectDuration=0}}var r=t.pendingProps,i=r.children;return On(e,t,i,n),t.child}function lE(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Li,t.flags|=wd)}function cm(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Ua(i,a,"prop",Ge(n))}var o;{var c=Fl(t,n,!0);o=Hl(t,c)}var d,y;Gl(t,r),Yo(t);{if(Yu.current=t,ca(!0),d=Zl(e,t,n,a,o,r),y=eo(),t.mode&Ct){Wt(!0);try{d=Zl(e,t,n,a,o,r),y=eo()}finally{Wt(!1)}}ca(!1)}return Nl(),e!==null&&!za?(gb(e,t,r),Lr(e,t,r)):(rn()&&y&&Ip(t),t.flags|=Cl,On(e,t,d,r),t.child)}function oE(e,t,n,a,r){{switch(ND(t)){case!1:{var i=t.stateNode,o=t.type,c=new o(t.memoizedProps,i.context),d=c.state;i.updater.enqueueSetState(i,d,null);break}case!0:{t.flags|=Qe,t.flags|=kn;var y=new Error("Simulated error coming from DevTools"),g=Jo(r);t.lanes=Ue(t.lanes,g);var N=rm(t,Zi(y,t),g);fv(t,N);break}}if(t.type!==t.elementType){var T=n.propTypes;T&&Ua(T,a,"prop",Ge(n))}}var L;Za(n)?(L=!0,Nc(t)):L=!1,Gl(t,r);var M=t.stateNode,V;M===null?(yf(e,t),Kb(t,n,a),tm(t,n,a,r),V=!0):e===null?V=Xx(t,n,a,r):V=Zx(e,t,n,a,r);var ae=fm(e,t,n,V,L,r);{var ve=t.stateNode;V&&ve.props!==a&&(el||s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",xe(t)||"a component"),el=!0)}return ae}function fm(e,t,n,a,r,i){lE(e,t);var o=(t.flags&Qe)!==be;if(!a&&!o)return r&&Pg(t,n,!1),Lr(e,t,i);var c=t.stateNode;Yu.current=t;var d;if(o&&typeof n.getDerivedStateFromError!="function")d=null,Yb();else{Yo(t);{if(ca(!0),d=c.render(),t.mode&Ct){Wt(!0);try{c.render()}finally{Wt(!1)}}ca(!1)}Nl()}return t.flags|=Cl,e!==null&&o?l1(e,t,d,i):On(e,t,d,i),t.memoizedState=c.state,r&&Pg(t,n,!0),t.child}function uE(e){var t=e.stateNode;t.pendingContext?Fg(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Fg(e,t.context,!1),dv(e,t.containerInfo)}function c1(e,t,n){if(uE(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var a=t.pendingProps,r=t.memoizedState,i=r.element;fb(e,t),$c(t,a,null,n);var o=t.memoizedState;t.stateNode;var c=o.element;if(r.isDehydrated){var d={element:c,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},y=t.updateQueue;if(y.baseState=d,t.memoizedState=d,t.flags&Sr){var g=Zi(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return sE(e,t,c,n,g)}else if(c!==i){var N=Zi(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return sE(e,t,c,n,N)}else{px(t);var T=rb(t,null,c,n);t.child=T;for(var L=T;L;)L.flags=L.flags&~xt|Cr,L=L.sibling}}else{if(Il(),c===i)return Lr(e,t,n);On(e,t,c,n)}return t.child}function sE(e,t,n,a,r){return Il(),Kp(r),t.flags|=Sr,On(e,t,n,a),t.child}function f1(e,t,n){mb(t),e===null&&Qp(t);var a=t.type,r=t.pendingProps,i=e!==null?e.memoizedProps:null,o=r.children,c=Up(a,r);return c?o=null:i!==null&&Up(a,i)&&(t.flags|=$o),lE(e,t),On(e,t,o,n),t.child}function d1(e,t){return e===null&&Qp(t),null}function p1(e,t,n,a){yf(e,t);var r=t.pendingProps,i=n,o=i._payload,c=i._init,d=c(o);t.type=d;var y=t.tag=dD(d),g=Ma(d,r),N;switch(y){case b:return dm(t,d),t.type=d=uo(d),N=cm(null,t,d,g,a),N;case S:return t.type=d=Pm(d),N=oE(null,t,d,g,a),N;case P:return t.type=d=$m(d),N=nE(null,t,d,g,a),N;case me:{if(t.type!==t.elementType){var T=d.propTypes;T&&Ua(T,g,"prop",Ge(d))}return N=aE(null,t,d,Ma(d.type,g),a),N}}var L="";throw d!==null&&typeof d=="object"&&d.$$typeof===he&&(L=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+d+". "+("Lazy element type must resolve to a class or function."+L))}function v1(e,t,n,a,r){yf(e,t),t.tag=S;var i;return Za(n)?(i=!0,Nc(t)):i=!1,Gl(t,r),Kb(t,n,a),tm(t,n,a,r),fm(null,t,n,!0,i,r)}function m1(e,t,n,a){yf(e,t);var r=t.pendingProps,i;{var o=Fl(t,n,!1);i=Hl(t,o)}Gl(t,a);var c,d;Yo(t);{if(n.prototype&&typeof n.prototype.render=="function"){var y=Ge(n)||"Unknown";im[y]||(s("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",y,y),im[y]=!0)}t.mode&Ct&&Oa.recordLegacyContextWarning(t,null),ca(!0),Yu.current=t,c=Zl(null,t,n,r,i,a),d=eo(),ca(!1)}if(Nl(),t.flags|=Cl,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0){var g=Ge(n)||"Unknown";qu[g]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",g,g,g),qu[g]=!0)}if(typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0){{var N=Ge(n)||"Unknown";qu[N]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",N,N,N),qu[N]=!0)}t.tag=S,t.memoizedState=null,t.updateQueue=null;var T=!1;return Za(n)?(T=!0,Nc(t)):T=!1,t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,cv(t),Qb(t,c),tm(t,n,r,a),fm(null,t,n,!0,T,a)}else{if(t.tag=b,t.mode&Ct){Wt(!0);try{c=Zl(null,t,n,r,i,a),d=eo()}finally{Wt(!1)}}return rn()&&d&&Ip(t),On(null,t,c,a),dm(t,n),t.child}}function dm(e,t){{if(t&&t.childContextTypes&&s("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",a=$r();a&&(n+=`
- Check the render method of \``+a+"`.");var r=a||"",i=e._debugSource;i&&(r=i.fileName+":"+i.lineNumber),um[r]||(um[r]=!0,s("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(t.defaultProps!==void 0){var o=Ge(t)||"Unknown";Gu[o]||(s("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",o),Gu[o]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var c=Ge(t)||"Unknown";om[c]||(s("%s: Function components do not support getDerivedStateFromProps.",c),om[c]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var d=Ge(t)||"Unknown";lm[d]||(s("%s: Function components do not support contextType.",d),lm[d]=!0)}}}var pm={dehydrated:null,treeContext:null,retryLane:Qt};function vm(e){return{baseLanes:e,cachePool:i1(),transitions:null}}function h1(e,t){var n=null;return{baseLanes:Ue(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function y1(e,t,n,a){if(t!==null){var r=t.memoizedState;if(r===null)return!1}return mv(e,zu)}function g1(e,t){return Qs(e.childLanes,t)}function cE(e,t,n){var a=t.pendingProps;xD(t)&&(t.flags|=Qe);var r=La.current,i=!1,o=(t.flags&Qe)!==be;if(o||y1(r,e)?(i=!0,t.flags&=~Qe):(e===null||e.memoizedState!==null)&&(r=zx(r,yb)),r=Ql(r),li(t,r),e===null){Qp(t);var c=t.memoizedState;if(c!==null){var d=c.dehydrated;if(d!==null)return R1(t,d)}var y=a.children,g=a.fallback;if(i){var N=b1(t,y,g,n),T=t.child;return T.memoizedState=vm(n),t.memoizedState=pm,N}else return mm(t,y)}else{var L=e.memoizedState;if(L!==null){var M=L.dehydrated;if(M!==null)return w1(e,t,o,a,M,L,n)}if(i){var V=a.fallback,ae=a.children,ve=S1(e,t,ae,V,n),fe=t.child,Fe=e.child.memoizedState;return fe.memoizedState=Fe===null?vm(n):h1(Fe,n),fe.childLanes=g1(e,n),t.memoizedState=pm,ve}else{var Me=a.children,U=E1(e,t,Me,n);return t.memoizedState=null,U}}}function mm(e,t,n){var a=e.mode,r={mode:"visible",children:t},i=hm(r,a);return i.return=e,e.child=i,i}function b1(e,t,n,a){var r=e.mode,i=e.child,o={mode:"hidden",children:t},c,d;return(r&Be)===ye&&i!==null?(c=i,c.childLanes=Y,c.pendingProps=o,e.mode&tt&&(c.actualDuration=0,c.actualStartTime=-1,c.selfBaseDuration=0,c.treeBaseDuration=0),d=vi(n,r,a,null)):(c=hm(o,r),d=vi(n,r,a,null)),c.return=e,d.return=e,c.sibling=d,e.child=c,d}function hm(e,t,n){return fS(e,t,Y,null)}function fE(e,t){return il(e,t)}function E1(e,t,n,a){var r=e.child,i=r.sibling,o=fE(r,{mode:"visible",children:n});if((t.mode&Be)===ye&&(o.lanes=a),o.return=t,o.sibling=null,i!==null){var c=t.deletions;c===null?(t.deletions=[i],t.flags|=Oi):c.push(i)}return t.child=o,o}function S1(e,t,n,a,r){var i=t.mode,o=e.child,c=o.sibling,d={mode:"hidden",children:n},y;if((i&Be)===ye&&t.child!==o){var g=t.child;y=g,y.childLanes=Y,y.pendingProps=d,t.mode&tt&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=o.selfBaseDuration,y.treeBaseDuration=o.treeBaseDuration),t.deletions=null}else y=fE(o,d),y.subtreeFlags=o.subtreeFlags&Rr;var N;return c!==null?N=il(c,a):(N=vi(a,i,r,null),N.flags|=xt),N.return=t,y.return=t,y.sibling=N,t.child=y,N}function hf(e,t,n,a){a!==null&&Kp(a),Yl(t,e.child,null,n);var r=t.pendingProps,i=r.children,o=mm(t,i);return o.flags|=xt,t.memoizedState=null,o}function C1(e,t,n,a,r){var i=t.mode,o={mode:"visible",children:n},c=hm(o,i),d=vi(a,i,r,null);return d.flags|=xt,c.return=t,d.return=t,c.sibling=d,t.child=c,(t.mode&Be)!==ye&&Yl(t,e.child,null,r),d}function R1(e,t,n){return(e.mode&Be)===ye?(s("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=Ce):Ap(t)?e.lanes=Bi:e.lanes=Kn,null}function w1(e,t,n,a,r,i,o){if(n)if(t.flags&Sr){t.flags&=~Sr;var U=nm(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return hf(e,t,o,U)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Qe,null;var F=a.children,k=a.fallback,W=C1(e,t,F,k,o),oe=t.child;return oe.memoizedState=vm(o),t.memoizedState=pm,W}else{if(fx(),(t.mode&Be)===ye)return hf(e,t,o,null);if(Ap(r)){var c,d,y;{var g=_N(r);c=g.digest,d=g.message,y=g.stack}var N;d?N=new Error(d):N=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var T=nm(N,c,y);return hf(e,t,o,T)}var L=Jn(o,e.childLanes);if(za||L){var M=xf();if(M!==null){var V=AR(M,o);if(V!==Qt&&V!==i.retryLane){i.retryLane=V;var ae=st;Pn(e,V),Ft(M,e,V,ae)}}jm();var ve=nm(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return hf(e,t,o,ve)}else if(Ag(r)){t.flags|=Qe,t.child=e.child;var fe=Q_.bind(null,e);return DN(r,fe),null}else{vx(t,r,i.treeContext);var Fe=a.children,Me=mm(t,Fe);return Me.flags|=Cr,Me}}}function dE(e,t,n){e.lanes=Ue(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=Ue(a.lanes,t)),lv(e.return,t,n)}function T1(e,t,n){for(var a=t;a!==null;){if(a.tag===Z){var r=a.memoizedState;r!==null&&dE(a,n,e)}else if(a.tag===rt)dE(a,n,e);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}}function N1(e){for(var t=e,n=null;t!==null;){var a=t.alternate;a!==null&&Gc(a)===null&&(n=t),t=t.sibling}return n}function x1(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!sm[e])if(sm[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{s('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{s('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:s('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else s('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function _1(e,t){e!==void 0&&!mf[e]&&(e!=="collapsed"&&e!=="hidden"?(mf[e]=!0,s('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(mf[e]=!0,s('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function pE(e,t){{var n=Ae(e),a=!n&&typeof Na(e)=="function";if(n||a){var r=n?"array":"iterable";return s("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",r,t,r),!1}}return!0}function D1(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Ae(e)){for(var n=0;n<e.length;n++)if(!pE(e[n],n))return}else{var a=Na(e);if(typeof a=="function"){var r=a.call(e);if(r)for(var i=r.next(),o=0;!i.done;i=r.next()){if(!pE(i.value,o))return;o++}}else s('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function ym(e,t,n,a,r){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=n,i.tailMode=r)}function vE(e,t,n){var a=t.pendingProps,r=a.revealOrder,i=a.tail,o=a.children;x1(r),_1(i,r),D1(o,r),On(e,t,o,n);var c=La.current,d=mv(c,zu);if(d)c=hv(c,zu),t.flags|=Qe;else{var y=e!==null&&(e.flags&Qe)!==be;y&&T1(t,t.child,n),c=Ql(c)}if(li(t,c),(t.mode&Be)===ye)t.memoizedState=null;else switch(r){case"forwards":{var g=N1(t.child),N;g===null?(N=t.child,t.child=null):(N=g.sibling,g.sibling=null),ym(t,!1,N,g,i);break}case"backwards":{var T=null,L=t.child;for(t.child=null;L!==null;){var M=L.alternate;if(M!==null&&Gc(M)===null){t.child=L;break}var V=L.sibling;L.sibling=T,T=L,L=V}ym(t,!0,T,null,i);break}case"together":{ym(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function U1(e,t,n){dv(t,t.stateNode.containerInfo);var a=t.pendingProps;return e===null?t.child=Yl(t,null,a,n):On(e,t,a,n),t.child}var mE=!1;function k1(e,t,n){var a=t.type,r=a._context,i=t.pendingProps,o=t.memoizedProps,c=i.value;{"value"in i||mE||(mE=!0,s("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var d=t.type.propTypes;d&&Ua(d,i,"prop","Context.Provider")}if(ob(t,r,c),o!==null){var y=o.value;if(ea(y,c)){if(o.children===i.children&&!wc())return Lr(e,t,n)}else xx(t,r,n)}var g=i.children;return On(e,t,g,n),t.child}var hE=!1;function O1(e,t,n){var a=t.type;a._context===void 0?a!==a.Consumer&&(hE||(hE=!0,s("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):a=a._context;var r=t.pendingProps,i=r.children;typeof i!="function"&&s("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Gl(t,n);var o=_t(a);Yo(t);var c;return Yu.current=t,ca(!0),c=i(o),ca(!1),Nl(),t.flags|=Cl,On(e,t,c,n),t.child}function Wu(){za=!0}function yf(e,t){(t.mode&Be)===ye&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=xt)}function Lr(e,t,n){return e!==null&&(t.dependencies=e.dependencies),Yb(),ls(t.lanes),Jn(n,t.childLanes)?(Tx(e,t),t.child):null}function L1(e,t,n){{var a=t.return;if(a===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===a.child)a.child=n;else{var r=a.child;if(r===null)throw new Error("Expected parent to have a child.");for(;r.sibling!==t;)if(r=r.sibling,r===null)throw new Error("Expected to find the previous sibling.");r.sibling=n}var i=a.deletions;return i===null?(a.deletions=[e],a.flags|=Oi):i.push(e),n.flags|=xt,n}}function gm(e,t){var n=e.lanes;return!!Jn(n,t)}function A1(e,t,n){switch(t.tag){case D:uE(t),t.stateNode,Il();break;case O:mb(t);break;case S:{var a=t.type;Za(a)&&Nc(t);break}case w:dv(t,t.stateNode.containerInfo);break;case z:{var r=t.memoizedProps.value,i=t.type._context;ob(t,i,r);break}case K:{var o=Jn(n,t.childLanes);o&&(t.flags|=We);{var c=t.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}}break;case Z:{var d=t.memoizedState;if(d!==null){if(d.dehydrated!==null)return li(t,Ql(La.current)),t.flags|=Qe,null;var y=t.child,g=y.childLanes;if(Jn(n,g))return cE(e,t,n);li(t,Ql(La.current));var N=Lr(e,t,n);return N!==null?N.sibling:null}else li(t,Ql(La.current));break}case rt:{var T=(e.flags&Qe)!==be,L=Jn(n,t.childLanes);if(T){if(L)return vE(e,t,n);t.flags|=Qe}var M=t.memoizedState;if(M!==null&&(M.rendering=null,M.tail=null,M.lastEffect=null),li(t,La.current),L)break;return null}case I:case _e:return t.lanes=Y,iE(e,t,n)}return Lr(e,t,n)}function yE(e,t,n){if(t._debugNeedsRemount&&e!==null)return L1(e,t,Wm(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var a=e.memoizedProps,r=t.pendingProps;if(a!==r||wc()||t.type!==e.type)za=!0;else{var i=gm(e,n);if(!i&&(t.flags&Qe)===be)return za=!1,A1(e,t,n);(e.flags&Rd)!==be?za=!0:za=!1}}else if(za=!1,rn()&&ix(t)){var o=t.index,c=lx();Yg(t,c,o)}switch(t.lanes=Y,t.tag){case _:return m1(e,t,t.type,n);case Ke:{var d=t.elementType;return p1(e,t,d,n)}case b:{var y=t.type,g=t.pendingProps,N=t.elementType===y?g:Ma(y,g);return cm(e,t,y,N,n)}case S:{var T=t.type,L=t.pendingProps,M=t.elementType===T?L:Ma(T,L);return oE(e,t,T,M,n)}case D:return c1(e,t,n);case O:return f1(e,t,n);case H:return d1(e,t);case Z:return cE(e,t,n);case w:return U1(e,t,n);case P:{var V=t.type,ae=t.pendingProps,ve=t.elementType===V?ae:Ma(V,ae);return nE(e,t,V,ve,n)}case Q:return o1(e,t,n);case J:return u1(e,t,n);case K:return s1(e,t,n);case z:return k1(e,t,n);case q:return O1(e,t,n);case me:{var fe=t.type,Fe=t.pendingProps,Me=Ma(fe,Fe);if(t.type!==t.elementType){var U=fe.propTypes;U&&Ua(U,Me,"prop",Ge(fe))}return Me=Ma(fe.type,Me),aE(e,t,fe,Me,n)}case ce:return rE(e,t,t.type,t.pendingProps,n);case He:{var F=t.type,k=t.pendingProps,W=t.elementType===F?k:Ma(F,k);return v1(e,t,F,W,n)}case rt:return vE(e,t,n);case Xe:break;case I:return iE(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function to(e){e.flags|=We}function gE(e){e.flags|=Li,e.flags|=wd}var bE,bm,EE,SE;bE=function(e,t,n,a){for(var r=t.child;r!==null;){if(r.tag===O||r.tag===H)nN(e,r.stateNode);else if(r.tag!==w){if(r.child!==null){r.child.return=r,r=r.child;continue}}if(r===t)return;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},bm=function(e,t){},EE=function(e,t,n,a,r){var i=e.memoizedProps;if(i!==a){var o=t.stateNode,c=pv(),d=rN(o,n,i,a,r,c);t.updateQueue=d,d&&to(t)}},SE=function(e,t,n,a){n!==a&&to(t)};function Qu(e,t){if(!rn())switch(e.tailMode){case"hidden":{for(var n=e.tail,a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?e.tail=null:a.sibling=null;break}case"collapsed":{for(var r=e.tail,i=null;r!==null;)r.alternate!==null&&(i=r),r=r.sibling;i===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:i.sibling=null;break}}}function on(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=Y,a=be;if(t){if((e.mode&tt)!==ye){for(var d=e.selfBaseDuration,y=e.child;y!==null;)n=Ue(n,Ue(y.lanes,y.childLanes)),a|=y.subtreeFlags&Rr,a|=y.flags&Rr,d+=y.treeBaseDuration,y=y.sibling;e.treeBaseDuration=d}else for(var g=e.child;g!==null;)n=Ue(n,Ue(g.lanes,g.childLanes)),a|=g.subtreeFlags&Rr,a|=g.flags&Rr,g.return=e,g=g.sibling;e.subtreeFlags|=a}else{if((e.mode&tt)!==ye){for(var r=e.actualDuration,i=e.selfBaseDuration,o=e.child;o!==null;)n=Ue(n,Ue(o.lanes,o.childLanes)),a|=o.subtreeFlags,a|=o.flags,r+=o.actualDuration,i+=o.treeBaseDuration,o=o.sibling;e.actualDuration=r,e.treeBaseDuration=i}else for(var c=e.child;c!==null;)n=Ue(n,Ue(c.lanes,c.childLanes)),a|=c.subtreeFlags,a|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=a}return e.childLanes=n,t}function M1(e,t,n){if(bx()&&(t.mode&Be)!==ye&&(t.flags&Qe)===be)return Xg(t),Il(),t.flags|=Sr|Ps|kn,!1;var a=kc(t);if(n!==null&&n.dehydrated!==null)if(e===null){if(!a)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(yx(t),on(t),(t.mode&tt)!==ye){var r=n!==null;if(r){var i=t.child;i!==null&&(t.treeBaseDuration-=i.treeBaseDuration)}}return!1}else{if(Il(),(t.flags&Qe)===be&&(t.memoizedState=null),t.flags|=We,on(t),(t.mode&tt)!==ye){var o=n!==null;if(o){var c=t.child;c!==null&&(t.treeBaseDuration-=c.treeBaseDuration)}}return!1}else return Zg(),!0}function CE(e,t,n){var a=t.pendingProps;switch(Yp(t),t.tag){case _:case Ke:case ce:case b:case P:case Q:case J:case K:case q:case me:return on(t),null;case S:{var r=t.type;return Za(r)&&Tc(t),on(t),null}case D:{var i=t.stateNode;if(Wl(t),Hp(t),gv(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),e===null||e.child===null){var o=kc(t);if(o)to(t);else if(e!==null){var c=e.memoizedState;(!c.isDehydrated||(t.flags&Sr)!==be)&&(t.flags|=Rl,Zg())}}return bm(e,t),on(t),null}case O:{vv(t);var d=vb(),y=t.type;if(e!==null&&t.stateNode!=null)EE(e,t,y,a,d),e.ref!==t.ref&&gE(t);else{if(!a){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return on(t),null}var g=pv(),N=kc(t);if(N)mx(t,d,g)&&to(t);else{var T=tN(y,a,d,g,t);bE(T,t,!1,!1),t.stateNode=T,aN(T,y,a,d)&&to(t)}t.ref!==null&&gE(t)}return on(t),null}case H:{var L=a;if(e&&t.stateNode!=null){var M=e.memoizedProps;SE(e,t,M,L)}else{if(typeof L!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var V=vb(),ae=pv(),ve=kc(t);ve?hx(t)&&to(t):t.stateNode=iN(L,V,ae,t)}return on(t),null}case Z:{Kl(t);var fe=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Fe=M1(e,t,fe);if(!Fe)return t.flags&kn?t:null}if((t.flags&Qe)!==be)return t.lanes=n,(t.mode&tt)!==ye&&$v(t),t;var Me=fe!==null,U=e!==null&&e.memoizedState!==null;if(Me!==U&&Me){var F=t.child;if(F.flags|=Ai,(t.mode&Be)!==ye){var k=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);k||mv(La.current,yb)?z_():jm()}}var W=t.updateQueue;if(W!==null&&(t.flags|=We),on(t),(t.mode&tt)!==ye&&Me){var oe=t.child;oe!==null&&(t.treeBaseDuration-=oe.treeBaseDuration)}return null}case w:return Wl(t),bm(e,t),e===null&&XN(t.stateNode.containerInfo),on(t),null;case z:var re=t.type._context;return iv(re,t),on(t),null;case He:{var Ee=t.type;return Za(Ee)&&Tc(t),on(t),null}case rt:{Kl(t);var Te=t.memoizedState;if(Te===null)return on(t),null;var at=(t.flags&Qe)!==be,Ye=Te.rendering;if(Ye===null)if(at)Qu(Te,!1);else{var wt=B_()&&(e===null||(e.flags&Qe)===be);if(!wt)for(var qe=t.child;qe!==null;){var Rt=Gc(qe);if(Rt!==null){at=!0,t.flags|=Qe,Qu(Te,!1);var Cn=Rt.updateQueue;return Cn!==null&&(t.updateQueue=Cn,t.flags|=We),t.subtreeFlags=be,Nx(t,n),li(t,hv(La.current,zu)),t.child}qe=qe.sibling}Te.tail!==null&&Gt()>$E()&&(t.flags|=Qe,at=!0,Qu(Te,!1),t.lanes=Sy)}else{if(!at){var dn=Gc(Ye);if(dn!==null){t.flags|=Qe,at=!0;var aa=dn.updateQueue;if(aa!==null&&(t.updateQueue=aa,t.flags|=We),Qu(Te,!0),Te.tail===null&&Te.tailMode==="hidden"&&!Ye.alternate&&!rn())return on(t),null}else Gt()*2-Te.renderingStartTime>$E()&&n!==Kn&&(t.flags|=Qe,at=!0,Qu(Te,!1),t.lanes=Sy)}if(Te.isBackwards)Ye.sibling=t.child,t.child=Ye;else{var Mn=Te.last;Mn!==null?Mn.sibling=Ye:t.child=Ye,Te.last=Ye}}if(Te.tail!==null){var zn=Te.tail;Te.rendering=zn,Te.tail=zn.sibling,Te.renderingStartTime=Gt(),zn.sibling=null;var Rn=La.current;return at?Rn=hv(Rn,zu):Rn=Ql(Rn),li(t,Rn),zn}return on(t),null}case Xe:break;case I:case _e:{zm(t);var Br=t.memoizedState,so=Br!==null;if(e!==null){var fs=e.memoizedState,or=fs!==null;or!==so&&!Gn&&(t.flags|=Ai)}return!so||(t.mode&Be)===ye?on(t):Jn(lr,Kn)&&(on(t),t.subtreeFlags&(xt|We)&&(t.flags|=Ai)),null}case $e:return null;case Ie:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function z1(e,t,n){switch(Yp(t),t.tag){case S:{var a=t.type;Za(a)&&Tc(t);var r=t.flags;return r&kn?(t.flags=r&~kn|Qe,(t.mode&tt)!==ye&&$v(t),t):null}case D:{t.stateNode,Wl(t),Hp(t),gv();var i=t.flags;return(i&kn)!==be&&(i&Qe)===be?(t.flags=i&~kn|Qe,t):null}case O:return vv(t),null;case Z:{Kl(t);var o=t.memoizedState;if(o!==null&&o.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Il()}var c=t.flags;return c&kn?(t.flags=c&~kn|Qe,(t.mode&tt)!==ye&&$v(t),t):null}case rt:return Kl(t),null;case w:return Wl(t),null;case z:var d=t.type._context;return iv(d,t),null;case I:case _e:return zm(t),null;case $e:return null;default:return null}}function RE(e,t,n){switch(Yp(t),t.tag){case S:{var a=t.type.childContextTypes;a!=null&&Tc(t);break}case D:{t.stateNode,Wl(t),Hp(t),gv();break}case O:{vv(t);break}case w:Wl(t);break;case Z:Kl(t);break;case rt:Kl(t);break;case z:var r=t.type._context;iv(r,t);break;case I:case _e:zm(t);break}}var wE=null;wE=new Set;var gf=!1,un=!1,j1=typeof WeakSet=="function"?WeakSet:Set,ue=null,no=null,ao=null;function B1(e){Ed(null,function(){throw e}),Sd()}var V1=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&tt)try{rr(),t.componentWillUnmount()}finally{ar(e)}else t.componentWillUnmount()};function TE(e,t){try{si(At,e)}catch(n){lt(e,t,n)}}function Em(e,t,n){try{V1(e,n)}catch(a){lt(e,t,a)}}function F1(e,t,n){try{n.componentDidMount()}catch(a){lt(e,t,a)}}function NE(e,t){try{_E(e)}catch(n){lt(e,t,n)}}function ro(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var a;try{if(wn&&fr&&e.mode&tt)try{rr(),a=n(null)}finally{ar(e)}else a=n(null)}catch(r){lt(e,t,r)}typeof a=="function"&&s("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",xe(e))}else n.current=null}function bf(e,t,n){try{n()}catch(a){lt(e,t,a)}}var xE=!1;function H1(e,t){ZT(e.containerInfo),ue=t,P1();var n=xE;return xE=!1,n}function P1(){for(;ue!==null;){var e=ue,t=e.child;(e.subtreeFlags&xd)!==be&&t!==null?(t.return=e,ue=t):$1()}}function $1(){for(;ue!==null;){var e=ue;vt(e);try{I1(e)}catch(n){lt(e,e.return,n)}qt();var t=e.sibling;if(t!==null){t.return=e.return,ue=t;return}ue=e.return}}function I1(e){var t=e.alternate,n=e.flags;if((n&Rl)!==be){switch(vt(e),e.tag){case b:case P:case ce:break;case S:{if(t!==null){var a=t.memoizedProps,r=t.memoizedState,i=e.stateNode;e.type===e.elementType&&!el&&(i.props!==e.memoizedProps&&s("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",xe(e)||"instance"),i.state!==e.memoizedState&&s("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",xe(e)||"instance"));var o=i.getSnapshotBeforeUpdate(e.elementType===e.type?a:Ma(e.type,a),r);{var c=wE;o===void 0&&!c.has(e.type)&&(c.add(e.type),s("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",xe(e)))}i.__reactInternalSnapshotBeforeUpdate=o}break}case D:{{var d=e.stateNode;wN(d.containerInfo)}break}case O:case H:case w:case He:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}qt()}}function ja(e,t,n){var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var i=r.next,o=i;do{if((o.tag&e)===e){var c=o.destroy;o.destroy=void 0,c!==void 0&&((e&ln)!==$n?iR(t):(e&At)!==$n&&hy(t),(e&er)!==$n&&us(!0),bf(t,n,c),(e&er)!==$n&&us(!1),(e&ln)!==$n?lR():(e&At)!==$n&&yy())}o=o.next}while(o!==i)}}function si(e,t){var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var r=a.next,i=r;do{if((i.tag&e)===e){(e&ln)!==$n?aR(t):(e&At)!==$n&&oR(t);var o=i.create;(e&er)!==$n&&us(!0),i.destroy=o(),(e&er)!==$n&&us(!1),(e&ln)!==$n?rR():(e&At)!==$n&&uR();{var c=i.destroy;if(c!==void 0&&typeof c!="function"){var d=void 0;(i.tag&At)!==be?d="useLayoutEffect":(i.tag&er)!==be?d="useInsertionEffect":d="useEffect";var y=void 0;c===null?y=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof c.then=="function"?y=`
- It looks like you wrote `+d+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
- `+d+`(() => {
- async function fetchData() {
- // You can await here
- const response = await MyAPI.getData(someId);
- // ...
- }
- fetchData();
- }, [someId]); // Or [] if effect doesn't need props or state
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:y=" You returned: "+c,s("%s must not return anything besides a function, which is used for clean-up.%s",d,y)}}}i=i.next}while(i!==r)}}function Y1(e,t){if((t.flags&We)!==be)switch(t.tag){case K:{var n=t.stateNode.passiveEffectDuration,a=t.memoizedProps,r=a.id,i=a.onPostCommit,o=$b(),c=t.alternate===null?"mount":"update";Pb()&&(c="nested-update"),typeof i=="function"&&i(r,c,n,o);var d=t.return;e:for(;d!==null;){switch(d.tag){case D:var y=d.stateNode;y.passiveEffectDuration+=n;break e;case K:var g=d.stateNode;g.passiveEffectDuration+=n;break e}d=d.return}break}}}function q1(e,t,n,a){if((n.flags&Io)!==be)switch(n.tag){case b:case P:case ce:{if(!un)if(n.mode&tt)try{rr(),si(At|Lt,n)}finally{ar(n)}else si(At|Lt,n);break}case S:{var r=n.stateNode;if(n.flags&We&&!un)if(t===null)if(n.type===n.elementType&&!el&&(r.props!==n.memoizedProps&&s("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",xe(n)||"instance"),r.state!==n.memoizedState&&s("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",xe(n)||"instance")),n.mode&tt)try{rr(),r.componentDidMount()}finally{ar(n)}else r.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:Ma(n.type,t.memoizedProps),o=t.memoizedState;if(n.type===n.elementType&&!el&&(r.props!==n.memoizedProps&&s("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",xe(n)||"instance"),r.state!==n.memoizedState&&s("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",xe(n)||"instance")),n.mode&tt)try{rr(),r.componentDidUpdate(i,o,r.__reactInternalSnapshotBeforeUpdate)}finally{ar(n)}else r.componentDidUpdate(i,o,r.__reactInternalSnapshotBeforeUpdate)}var c=n.updateQueue;c!==null&&(n.type===n.elementType&&!el&&(r.props!==n.memoizedProps&&s("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",xe(n)||"instance"),r.state!==n.memoizedState&&s("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",xe(n)||"instance")),pb(n,c,r));break}case D:{var d=n.updateQueue;if(d!==null){var y=null;if(n.child!==null)switch(n.child.tag){case O:y=n.child.stateNode;break;case S:y=n.child.stateNode;break}pb(n,d,y)}break}case O:{var g=n.stateNode;if(t===null&&n.flags&We){var N=n.type,T=n.memoizedProps;cN(g,N,T)}break}case H:break;case w:break;case K:{{var L=n.memoizedProps,M=L.onCommit,V=L.onRender,ae=n.stateNode.effectDuration,ve=$b(),fe=t===null?"mount":"update";Pb()&&(fe="nested-update"),typeof V=="function"&&V(n.memoizedProps.id,fe,n.actualDuration,n.treeBaseDuration,n.actualStartTime,ve);{typeof M=="function"&&M(n.memoizedProps.id,fe,ae,ve),$_(n);var Fe=n.return;e:for(;Fe!==null;){switch(Fe.tag){case D:var Me=Fe.stateNode;Me.effectDuration+=ae;break e;case K:var U=Fe.stateNode;U.effectDuration+=ae;break e}Fe=Fe.return}}}break}case Z:{e_(e,n);break}case rt:case He:case Xe:case I:case _e:case Ie:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}un||n.flags&Li&&_E(n)}function G1(e){switch(e.tag){case b:case P:case ce:{if(e.mode&tt)try{rr(),TE(e,e.return)}finally{ar(e)}else TE(e,e.return);break}case S:{var t=e.stateNode;typeof t.componentDidMount=="function"&&F1(e,e.return,t),NE(e,e.return);break}case O:{NE(e,e.return);break}}}function W1(e,t){for(var n=null,a=e;;){if(a.tag===O){if(n===null){n=a;try{var r=a.stateNode;t?EN(r):CN(a.stateNode,a.memoizedProps)}catch(o){lt(e,e.return,o)}}}else if(a.tag===H){if(n===null)try{var i=a.stateNode;t?SN(i):RN(i,a.memoizedProps)}catch(o){lt(e,e.return,o)}}else if(!((a.tag===I||a.tag===_e)&&a.memoizedState!==null&&a!==e)){if(a.child!==null){a.child.return=a,a=a.child;continue}}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;n===a&&(n=null),a=a.return}n===a&&(n=null),a.sibling.return=a.return,a=a.sibling}}function _E(e){var t=e.ref;if(t!==null){var n=e.stateNode,a;switch(e.tag){case O:a=n;break;default:a=n}if(typeof t=="function"){var r;if(e.mode&tt)try{rr(),r=t(a)}finally{ar(e)}else r=t(a);typeof r=="function"&&s("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",xe(e))}else t.hasOwnProperty("current")||s("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",xe(e)),t.current=a}}function Q1(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function DE(e){var t=e.alternate;t!==null&&(e.alternate=null,DE(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===O){var n=e.stateNode;n!==null&&tx(n)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function K1(e){for(var t=e.return;t!==null;){if(UE(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function UE(e){return e.tag===O||e.tag===D||e.tag===w}function kE(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||UE(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==O&&t.tag!==H&&t.tag!==Pe;){if(t.flags&xt||t.child===null||t.tag===w)continue e;t.child.return=t,t=t.child}if(!(t.flags&xt))return t.stateNode}}function J1(e){var t=K1(e);switch(t.tag){case O:{var n=t.stateNode;t.flags&$o&&(Lg(n),t.flags&=~$o);var a=kE(e);Cm(e,a,n);break}case D:case w:{var r=t.stateNode.containerInfo,i=kE(e);Sm(e,i,r);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Sm(e,t,n){var a=e.tag,r=a===O||a===H;if(r){var i=e.stateNode;t?hN(n,i,t):vN(n,i)}else if(a!==w){var o=e.child;if(o!==null){Sm(o,t,n);for(var c=o.sibling;c!==null;)Sm(c,t,n),c=c.sibling}}}function Cm(e,t,n){var a=e.tag,r=a===O||a===H;if(r){var i=e.stateNode;t?mN(n,i,t):pN(n,i)}else if(a!==w){var o=e.child;if(o!==null){Cm(o,t,n);for(var c=o.sibling;c!==null;)Cm(c,t,n),c=c.sibling}}}var sn=null,Ba=!1;function X1(e,t,n){{var a=t;e:for(;a!==null;){switch(a.tag){case O:{sn=a.stateNode,Ba=!1;break e}case D:{sn=a.stateNode.containerInfo,Ba=!0;break e}case w:{sn=a.stateNode.containerInfo,Ba=!0;break e}}a=a.return}if(sn===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");OE(e,t,n),sn=null,Ba=!1}Q1(n)}function ci(e,t,n){for(var a=n.child;a!==null;)OE(e,t,a),a=a.sibling}function OE(e,t,n){switch(Z0(n),n.tag){case O:un||ro(n,t);case H:{{var a=sn,r=Ba;sn=null,ci(e,t,n),sn=a,Ba=r,sn!==null&&(Ba?gN(sn,n.stateNode):yN(sn,n.stateNode))}return}case Pe:{sn!==null&&(Ba?bN(sn,n.stateNode):Lp(sn,n.stateNode));return}case w:{{var i=sn,o=Ba;sn=n.stateNode.containerInfo,Ba=!0,ci(e,t,n),sn=i,Ba=o}return}case b:case P:case me:case ce:{if(!un){var c=n.updateQueue;if(c!==null){var d=c.lastEffect;if(d!==null){var y=d.next,g=y;do{var N=g,T=N.destroy,L=N.tag;T!==void 0&&((L&er)!==$n?bf(n,t,T):(L&At)!==$n&&(hy(n),n.mode&tt?(rr(),bf(n,t,T),ar(n)):bf(n,t,T),yy())),g=g.next}while(g!==y)}}}ci(e,t,n);return}case S:{if(!un){ro(n,t);var M=n.stateNode;typeof M.componentWillUnmount=="function"&&Em(n,t,M)}ci(e,t,n);return}case Xe:{ci(e,t,n);return}case I:{if(n.mode&Be){var V=un;un=V||n.memoizedState!==null,ci(e,t,n),un=V}else ci(e,t,n);break}default:{ci(e,t,n);return}}}function Z1(e){e.memoizedState}function e_(e,t){var n=t.memoizedState;if(n===null){var a=t.alternate;if(a!==null){var r=a.memoizedState;if(r!==null){var i=r.dehydrated;i!==null&&BN(i)}}}}function LE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new j1),t.forEach(function(a){var r=K_.bind(null,e,a);if(!n.has(a)){if(n.add(a),_a)if(no!==null&&ao!==null)os(ao,no);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");a.then(r,r)}})}}function t_(e,t,n){no=n,ao=e,vt(t),AE(t,e),vt(t),no=null,ao=null}function Va(e,t,n){var a=t.deletions;if(a!==null)for(var r=0;r<a.length;r++){var i=a[r];try{X1(e,t,i)}catch(d){lt(i,t,d)}}var o=ks();if(t.subtreeFlags&_d)for(var c=t.child;c!==null;)vt(c),AE(c,e),c=c.sibling;vt(o)}function AE(e,t,n){var a=e.alternate,r=e.flags;switch(e.tag){case b:case P:case me:case ce:{if(Va(t,e),ir(e),r&We){try{ja(er|Lt,e,e.return),si(er|Lt,e)}catch(Ee){lt(e,e.return,Ee)}if(e.mode&tt){try{rr(),ja(At|Lt,e,e.return)}catch(Ee){lt(e,e.return,Ee)}ar(e)}else try{ja(At|Lt,e,e.return)}catch(Ee){lt(e,e.return,Ee)}}return}case S:{Va(t,e),ir(e),r&Li&&a!==null&&ro(a,a.return);return}case O:{Va(t,e),ir(e),r&Li&&a!==null&&ro(a,a.return);{if(e.flags&$o){var i=e.stateNode;try{Lg(i)}catch(Ee){lt(e,e.return,Ee)}}if(r&We){var o=e.stateNode;if(o!=null){var c=e.memoizedProps,d=a!==null?a.memoizedProps:c,y=e.type,g=e.updateQueue;if(e.updateQueue=null,g!==null)try{fN(o,g,y,d,c,e)}catch(Ee){lt(e,e.return,Ee)}}}}return}case H:{if(Va(t,e),ir(e),r&We){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var N=e.stateNode,T=e.memoizedProps,L=a!==null?a.memoizedProps:T;try{dN(N,L,T)}catch(Ee){lt(e,e.return,Ee)}}return}case D:{if(Va(t,e),ir(e),r&We&&a!==null){var M=a.memoizedState;if(M.isDehydrated)try{jN(t.containerInfo)}catch(Ee){lt(e,e.return,Ee)}}return}case w:{Va(t,e),ir(e);return}case Z:{Va(t,e),ir(e);var V=e.child;if(V.flags&Ai){var ae=V.stateNode,ve=V.memoizedState,fe=ve!==null;if(ae.isHidden=fe,fe){var Fe=V.alternate!==null&&V.alternate.memoizedState!==null;Fe||M_()}}if(r&We){try{Z1(e)}catch(Ee){lt(e,e.return,Ee)}LE(e)}return}case I:{var Me=a!==null&&a.memoizedState!==null;if(e.mode&Be){var U=un;un=U||Me,Va(t,e),un=U}else Va(t,e);if(ir(e),r&Ai){var F=e.stateNode,k=e.memoizedState,W=k!==null,oe=e;if(F.isHidden=W,W&&!Me&&(oe.mode&Be)!==ye){ue=oe;for(var re=oe.child;re!==null;)ue=re,a_(re),re=re.sibling}W1(oe,W)}return}case rt:{Va(t,e),ir(e),r&We&&LE(e);return}case Xe:return;default:{Va(t,e),ir(e);return}}}function ir(e){var t=e.flags;if(t&xt){try{J1(e)}catch(n){lt(e,e.return,n)}e.flags&=~xt}t&Cr&&(e.flags&=~Cr)}function n_(e,t,n){no=n,ao=t,ue=e,ME(e,t,n),no=null,ao=null}function ME(e,t,n){for(var a=(e.mode&Be)!==ye;ue!==null;){var r=ue,i=r.child;if(r.tag===I&&a){var o=r.memoizedState!==null,c=o||gf;if(c){Rm(e,t,n);continue}else{var d=r.alternate,y=d!==null&&d.memoizedState!==null,g=y||un,N=gf,T=un;gf=c,un=g,un&&!T&&(ue=r,r_(r));for(var L=i;L!==null;)ue=L,ME(L,t,n),L=L.sibling;ue=r,gf=N,un=T,Rm(e,t,n);continue}}(r.subtreeFlags&Io)!==be&&i!==null?(i.return=r,ue=i):Rm(e,t,n)}}function Rm(e,t,n){for(;ue!==null;){var a=ue;if((a.flags&Io)!==be){var r=a.alternate;vt(a);try{q1(t,r,a,n)}catch(o){lt(a,a.return,o)}qt()}if(a===e){ue=null;return}var i=a.sibling;if(i!==null){i.return=a.return,ue=i;return}ue=a.return}}function a_(e){for(;ue!==null;){var t=ue,n=t.child;switch(t.tag){case b:case P:case me:case ce:{if(t.mode&tt)try{rr(),ja(At,t,t.return)}finally{ar(t)}else ja(At,t,t.return);break}case S:{ro(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Em(t,t.return,a);break}case O:{ro(t,t.return);break}case I:{var r=t.memoizedState!==null;if(r){zE(e);continue}break}}n!==null?(n.return=t,ue=n):zE(e)}}function zE(e){for(;ue!==null;){var t=ue;if(t===e){ue=null;return}var n=t.sibling;if(n!==null){n.return=t.return,ue=n;return}ue=t.return}}function r_(e){for(;ue!==null;){var t=ue,n=t.child;if(t.tag===I){var a=t.memoizedState!==null;if(a){jE(e);continue}}n!==null?(n.return=t,ue=n):jE(e)}}function jE(e){for(;ue!==null;){var t=ue;vt(t);try{G1(t)}catch(a){lt(t,t.return,a)}if(qt(),t===e){ue=null;return}var n=t.sibling;if(n!==null){n.return=t.return,ue=n;return}ue=t.return}}function i_(e,t,n,a){ue=t,l_(t,e,n,a)}function l_(e,t,n,a){for(;ue!==null;){var r=ue,i=r.child;(r.subtreeFlags&wl)!==be&&i!==null?(i.return=r,ue=i):o_(e,t,n,a)}}function o_(e,t,n,a){for(;ue!==null;){var r=ue;if((r.flags&Yr)!==be){vt(r);try{u_(t,r,n,a)}catch(o){lt(r,r.return,o)}qt()}if(r===e){ue=null;return}var i=r.sibling;if(i!==null){i.return=r.return,ue=i;return}ue=r.return}}function u_(e,t,n,a){switch(t.tag){case b:case P:case ce:{if(t.mode&tt){Pv();try{si(ln|Lt,t)}finally{Hv(t)}}else si(ln|Lt,t);break}}}function s_(e){ue=e,c_()}function c_(){for(;ue!==null;){var e=ue,t=e.child;if((ue.flags&Oi)!==be){var n=e.deletions;if(n!==null){for(var a=0;a<n.length;a++){var r=n[a];ue=r,p_(r,e)}{var i=e.alternate;if(i!==null){var o=i.child;if(o!==null){i.child=null;do{var c=o.sibling;o.sibling=null,o=c}while(o!==null)}}}ue=e}}(e.subtreeFlags&wl)!==be&&t!==null?(t.return=e,ue=t):f_()}}function f_(){for(;ue!==null;){var e=ue;(e.flags&Yr)!==be&&(vt(e),d_(e),qt());var t=e.sibling;if(t!==null){t.return=e.return,ue=t;return}ue=e.return}}function d_(e){switch(e.tag){case b:case P:case ce:{e.mode&tt?(Pv(),ja(ln|Lt,e,e.return),Hv(e)):ja(ln|Lt,e,e.return);break}}}function p_(e,t){for(;ue!==null;){var n=ue;vt(n),m_(n,t),qt();var a=n.child;a!==null?(a.return=n,ue=a):v_(e)}}function v_(e){for(;ue!==null;){var t=ue,n=t.sibling,a=t.return;if(DE(t),t===e){ue=null;return}if(n!==null){n.return=a,ue=n;return}ue=a}}function m_(e,t){switch(e.tag){case b:case P:case ce:{e.mode&tt?(Pv(),ja(ln,e,t),Hv(e)):ja(ln,e,t);break}}}function h_(e){switch(e.tag){case b:case P:case ce:{try{si(At|Lt,e)}catch(n){lt(e,e.return,n)}break}case S:{var t=e.stateNode;try{t.componentDidMount()}catch(n){lt(e,e.return,n)}break}}}function y_(e){switch(e.tag){case b:case P:case ce:{try{si(ln|Lt,e)}catch(t){lt(e,e.return,t)}break}}}function g_(e){switch(e.tag){case b:case P:case ce:{try{ja(At|Lt,e,e.return)}catch(n){lt(e,e.return,n)}break}case S:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Em(e,e.return,t);break}}}function b_(e){switch(e.tag){case b:case P:case ce:try{ja(ln|Lt,e,e.return)}catch(t){lt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Ku=Symbol.for;Ku("selector.component"),Ku("selector.has_pseudo_class"),Ku("selector.role"),Ku("selector.test_id"),Ku("selector.text")}var E_=[];function S_(){E_.forEach(function(e){return e()})}var C_=f.ReactCurrentActQueue;function R_(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest<"u";return n&&t!==!1}}function BE(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&C_.current!==null&&s("The current testing environment is not configured to support act(...)"),e}}var w_=Math.ceil,wm=f.ReactCurrentDispatcher,Tm=f.ReactCurrentOwner,cn=f.ReactCurrentBatchConfig,Fa=f.ReactCurrentActQueue,jt=0,VE=1,fn=2,ha=4,Ar=0,Ju=1,tl=2,Ef=3,Xu=4,FE=5,Nm=6,Ve=jt,Ln=null,gt=null,Bt=Y,lr=Y,xm=ei(Y),Vt=Ar,Zu=null,Sf=Y,es=Y,Cf=Y,ts=null,In=null,_m=0,HE=500,PE=1/0,T_=500,Mr=null;function ns(){PE=Gt()+T_}function $E(){return PE}var Rf=!1,Dm=null,io=null,nl=!1,fi=null,as=Y,Um=[],km=null,N_=50,rs=0,Om=null,Lm=!1,wf=!1,x_=50,lo=0,Tf=null,is=st,Nf=Y,IE=!1;function xf(){return Ln}function An(){return(Ve&(fn|ha))!==jt?Gt():(is!==st||(is=Gt()),is)}function di(e){var t=e.mode;if((t&Be)===ye)return Ce;if((Ve&fn)!==jt&&Bt!==Y)return Jo(Bt);var n=Cx()!==Sx;if(n){if(cn.transition!==null){var a=cn.transition;a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e)}return Nf===Qt&&(Nf=Ty()),Nf}var r=Da();if(r!==Qt)return r;var i=lN();return i}function __(e){var t=e.mode;return(t&Be)===ye?Ce:UR()}function Ft(e,t,n,a){X_(),IE&&s("useInsertionEffect must not schedule updates."),Lm&&(wf=!0),Xo(e,n,a),(Ve&fn)!==Y&&e===Ln?tD(t):(_a&&_y(e,t,n),nD(t),e===Ln&&((Ve&fn)===jt&&(es=Ue(es,n)),Vt===Xu&&pi(e,Bt)),Yn(e,a),n===Ce&&Ve===jt&&(t.mode&Be)===ye&&!Fa.isBatchingLegacy&&(ns(),Ig()))}function D_(e,t,n){var a=e.current;a.lanes=t,Xo(e,t,n),Yn(e,n)}function U_(e){return(Ve&fn)!==jt}function Yn(e,t){var n=e.callbackNode;wR(e,t);var a=Gs(e,e===Ln?Bt:Y);if(a===Y){n!==null&&lS(n),e.callbackNode=null,e.callbackPriority=Qt;return}var r=Fi(a),i=e.callbackPriority;if(i===r&&!(Fa.current!==null&&n!==Fm)){n==null&&i!==Ce&&s("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&lS(n);var o;if(r===Ce)e.tag===ti?(Fa.isBatchingLegacy!==null&&(Fa.didScheduleLegacyUpdate=!0),rx(GE.bind(null,e))):$g(GE.bind(null,e)),Fa.current!==null?Fa.current.push(ni):uN(function(){(Ve&(fn|ha))===jt&&ni()}),o=null;else{var c;switch(ky(a)){case Xn:c=$s;break;case Tr:c=Dd;break;case Nr:c=ji;break;case Ks:c=Ud;break;default:c=ji;break}o=Hm(c,YE.bind(null,e))}e.callbackPriority=r,e.callbackNode=o}function YE(e,t){if(Wx(),is=st,Nf=Y,(Ve&(fn|ha))!==jt)throw new Error("Should not already be working.");var n=e.callbackNode,a=jr();if(a&&e.callbackNode!==n)return null;var r=Gs(e,e===Ln?Bt:Y);if(r===Y)return null;var i=!Ws(e,r)&&!DR(e,r)&&!t,o=i?F_(e,r):Df(e,r);if(o!==Ar){if(o===tl){var c=Xd(e);c!==Y&&(r=c,o=Am(e,c))}if(o===Ju){var d=Zu;throw al(e,Y),pi(e,r),Yn(e,Gt()),d}if(o===Nm)pi(e,r);else{var y=!Ws(e,r),g=e.current.alternate;if(y&&!O_(g)){if(o=Df(e,r),o===tl){var N=Xd(e);N!==Y&&(r=N,o=Am(e,N))}if(o===Ju){var T=Zu;throw al(e,Y),pi(e,r),Yn(e,Gt()),T}}e.finishedWork=g,e.finishedLanes=r,k_(e,o,r)}}return Yn(e,Gt()),e.callbackNode===n?YE.bind(null,e):null}function Am(e,t){var n=ts;if(Js(e)){var a=al(e,t);a.flags|=Sr,JN(e.containerInfo)}var r=Df(e,t);if(r!==tl){var i=In;In=n,i!==null&&qE(i)}return r}function qE(e){In===null?In=e:In.push.apply(In,e)}function k_(e,t,n){switch(t){case Ar:case Ju:throw new Error("Root did not complete. This is a bug in React.");case tl:{rl(e,In,Mr);break}case Ef:{if(pi(e,n),Ry(n)&&!oS()){var a=_m+HE-Gt();if(a>10){var r=Gs(e,Y);if(r!==Y)break;var i=e.suspendedLanes;if(!Ul(i,n)){An(),xy(e,i);break}e.timeoutHandle=kp(rl.bind(null,e,In,Mr),a);break}}rl(e,In,Mr);break}case Xu:{if(pi(e,n),_R(n))break;if(!oS()){var o=CR(e,n),c=o,d=Gt()-c,y=J_(d)-d;if(y>10){e.timeoutHandle=kp(rl.bind(null,e,In,Mr),y);break}}rl(e,In,Mr);break}case FE:{rl(e,In,Mr);break}default:throw new Error("Unknown root exit status.")}}function O_(e){for(var t=e;;){if(t.flags&Cd){var n=t.updateQueue;if(n!==null){var a=n.stores;if(a!==null)for(var r=0;r<a.length;r++){var i=a[r],o=i.getSnapshot,c=i.value;try{if(!ea(o(),c))return!1}catch{return!1}}}}var d=t.child;if(t.subtreeFlags&Cd&&d!==null){d.return=t,t=d;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function pi(e,t){t=Qs(t,Cf),t=Qs(t,es),OR(e,t)}function GE(e){if(Qx(),(Ve&(fn|ha))!==jt)throw new Error("Should not already be working.");jr();var t=Gs(e,Y);if(!Jn(t,Ce))return Yn(e,Gt()),null;var n=Df(e,t);if(e.tag!==ti&&n===tl){var a=Xd(e);a!==Y&&(t=a,n=Am(e,a))}if(n===Ju){var r=Zu;throw al(e,Y),pi(e,t),Yn(e,Gt()),r}if(n===Nm)throw new Error("Root did not complete. This is a bug in React.");var i=e.current.alternate;return e.finishedWork=i,e.finishedLanes=t,rl(e,In,Mr),Yn(e,Gt()),null}function L_(e,t){t!==Y&&(np(e,Ue(t,Ce)),Yn(e,Gt()),(Ve&(fn|ha))===jt&&(ns(),ni()))}function Mm(e,t){var n=Ve;Ve|=VE;try{return e(t)}finally{Ve=n,Ve===jt&&!Fa.isBatchingLegacy&&(ns(),Ig())}}function A_(e,t,n,a,r){var i=Da(),o=cn.transition;try{return cn.transition=null,Kt(Xn),e(t,n,a,r)}finally{Kt(i),cn.transition=o,Ve===jt&&ns()}}function zr(e){fi!==null&&fi.tag===ti&&(Ve&(fn|ha))===jt&&jr();var t=Ve;Ve|=VE;var n=cn.transition,a=Da();try{return cn.transition=null,Kt(Xn),e?e():void 0}finally{Kt(a),cn.transition=n,Ve=t,(Ve&(fn|ha))===jt&&ni()}}function WE(){return(Ve&(fn|ha))!==jt}function _f(e,t){En(xm,lr,e),lr=Ue(lr,t)}function zm(e){lr=xm.current,bn(xm,e)}function al(e,t){e.finishedWork=null,e.finishedLanes=Y;var n=e.timeoutHandle;if(n!==Op&&(e.timeoutHandle=Op,oN(n)),gt!==null)for(var a=gt.return;a!==null;){var r=a.alternate;RE(r,a),a=a.return}Ln=e;var i=il(e.current,null);return gt=i,Bt=lr=t,Vt=Ar,Zu=null,Sf=Y,es=Y,Cf=Y,ts=null,In=null,Dx(),Oa.discardPendingWarnings(),i}function QE(e,t){do{var n=gt;try{if(jc(),bb(),qt(),Tm.current=null,n===null||n.return===null){Vt=Ju,Zu=t,gt=null;return}if(wn&&n.mode&tt&&pf(n,!0),Ea)if(Nl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;cR(n,a,Bt)}else sR(n,t,Bt);r1(e,n.return,n,t,Bt),ZE(n)}catch(r){t=r,gt===n&&n!==null?(n=n.return,gt=n):n=gt;continue}return}while(!0)}function KE(){var e=wm.current;return wm.current=uf,e===null?uf:e}function JE(e){wm.current=e}function M_(){_m=Gt()}function ls(e){Sf=Ue(e,Sf)}function z_(){Vt===Ar&&(Vt=Ef)}function jm(){(Vt===Ar||Vt===Ef||Vt===tl)&&(Vt=Xu),Ln!==null&&(Zd(Sf)||Zd(es))&&pi(Ln,Bt)}function j_(e){Vt!==Xu&&(Vt=tl),ts===null?ts=[e]:ts.push(e)}function B_(){return Vt===Ar}function Df(e,t){var n=Ve;Ve|=fn;var a=KE();if(Ln!==e||Bt!==t){if(_a){var r=e.memoizedUpdaters;r.size>0&&(os(e,Bt),r.clear()),Dy(e,t)}Mr=Uy(),al(e,t)}gy(t);do try{V_();break}catch(i){QE(e,i)}while(!0);if(jc(),Ve=n,JE(a),gt!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return by(),Ln=null,Bt=Y,Vt}function V_(){for(;gt!==null;)XE(gt)}function F_(e,t){var n=Ve;Ve|=fn;var a=KE();if(Ln!==e||Bt!==t){if(_a){var r=e.memoizedUpdaters;r.size>0&&(os(e,Bt),r.clear()),Dy(e,t)}Mr=Uy(),ns(),al(e,t)}gy(t);do try{H_();break}catch(i){QE(e,i)}while(!0);return jc(),JE(a),Ve=n,gt!==null?(mR(),Ar):(by(),Ln=null,Bt=Y,Vt)}function H_(){for(;gt!==null&&!$0();)XE(gt)}function XE(e){var t=e.alternate;vt(e);var n;(e.mode&tt)!==ye?(Fv(e),n=Bm(t,e,lr),pf(e,!0)):n=Bm(t,e,lr),qt(),e.memoizedProps=e.pendingProps,n===null?ZE(e):gt=n,Tm.current=null}function ZE(e){var t=e;do{var n=t.alternate,a=t.return;if((t.flags&Ps)===be){vt(t);var r=void 0;if((t.mode&tt)===ye?r=CE(n,t,lr):(Fv(t),r=CE(n,t,lr),pf(t,!1)),qt(),r!==null){gt=r;return}}else{var i=z1(n,t);if(i!==null){i.flags&=j0,gt=i;return}if((t.mode&tt)!==ye){pf(t,!1);for(var o=t.actualDuration,c=t.child;c!==null;)o+=c.actualDuration,c=c.sibling;t.actualDuration=o}if(a!==null)a.flags|=Ps,a.subtreeFlags=be,a.deletions=null;else{Vt=Nm,gt=null;return}}var d=t.sibling;if(d!==null){gt=d;return}t=a,gt=t}while(t!==null);Vt===Ar&&(Vt=FE)}function rl(e,t,n){var a=Da(),r=cn.transition;try{cn.transition=null,Kt(Xn),P_(e,t,n,a)}finally{cn.transition=r,Kt(a)}return null}function P_(e,t,n,a){do jr();while(fi!==null);if(Z_(),(Ve&(fn|ha))!==jt)throw new Error("Should not already be working.");var r=e.finishedWork,i=e.finishedLanes;if(nR(i),r===null)return my(),null;if(i===Y&&s("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Y,r===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Qt;var o=Ue(r.lanes,r.childLanes);LR(e,o),e===Ln&&(Ln=null,gt=null,Bt=Y),((r.subtreeFlags&wl)!==be||(r.flags&wl)!==be)&&(nl||(nl=!0,km=n,Hm(ji,function(){return jr(),null})));var c=(r.subtreeFlags&(xd|_d|Io|wl))!==be,d=(r.flags&(xd|_d|Io|wl))!==be;if(c||d){var y=cn.transition;cn.transition=null;var g=Da();Kt(Xn);var N=Ve;Ve|=ha,Tm.current=null,H1(e,r),Ib(),t_(e,r,i),eN(e.containerInfo),e.current=r,fR(i),n_(r,e,i),dR(),I0(),Ve=N,Kt(g),cn.transition=y}else e.current=r,Ib();var T=nl;if(nl?(nl=!1,fi=e,as=i):(lo=0,Tf=null),o=e.pendingLanes,o===Y&&(io=null),T||aS(e.current,!1),J0(r.stateNode,a),_a&&e.memoizedUpdaters.clear(),S_(),Yn(e,Gt()),t!==null)for(var L=e.onRecoverableError,M=0;M<t.length;M++){var V=t[M],ae=V.stack,ve=V.digest;L(V.value,{componentStack:ae,digest:ve})}if(Rf){Rf=!1;var fe=Dm;throw Dm=null,fe}return Jn(as,Ce)&&e.tag!==ti&&jr(),o=e.pendingLanes,Jn(o,Ce)?(Gx(),e===Om?rs++:(rs=0,Om=e)):rs=0,ni(),my(),null}function jr(){if(fi!==null){var e=ky(as),t=jR(Nr,e),n=cn.transition,a=Da();try{return cn.transition=null,Kt(t),I_()}finally{Kt(a),cn.transition=n}}return!1}function $_(e){Um.push(e),nl||(nl=!0,Hm(ji,function(){return jr(),null}))}function I_(){if(fi===null)return!1;var e=km;km=null;var t=fi,n=as;if(fi=null,as=Y,(Ve&(fn|ha))!==jt)throw new Error("Cannot flush passive effects while already rendering.");Lm=!0,wf=!1,pR(n);var a=Ve;Ve|=ha,s_(t.current),i_(t,t.current,n,e);{var r=Um;Um=[];for(var i=0;i<r.length;i++){var o=r[i];Y1(t,o)}}vR(),aS(t.current,!0),Ve=a,ni(),wf?t===Tf?lo++:(lo=0,Tf=t):lo=0,Lm=!1,wf=!1,X0(t);{var c=t.current.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}return!0}function eS(e){return io!==null&&io.has(e)}function Y_(e){io===null?io=new Set([e]):io.add(e)}function q_(e){Rf||(Rf=!0,Dm=e)}var G_=q_;function tS(e,t,n){var a=Zi(n,t),r=Xb(e,a,Ce),i=ri(e,r,Ce),o=An();i!==null&&(Xo(i,Ce,o),Yn(i,o))}function lt(e,t,n){if(B1(n),us(!1),e.tag===D){tS(e,e,n);return}var a=null;for(a=t;a!==null;){if(a.tag===D){tS(a,e,n);return}else if(a.tag===S){var r=a.type,i=a.stateNode;if(typeof r.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&!eS(i)){var o=Zi(n,e),c=rm(a,o,Ce),d=ri(a,c,Ce),y=An();d!==null&&(Xo(d,Ce,y),Yn(d,y));return}}a=a.return}s(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
- Error message:
- %s`,n)}function W_(e,t,n){var a=e.pingCache;a!==null&&a.delete(t);var r=An();xy(e,n),aD(e),Ln===e&&Ul(Bt,n)&&(Vt===Xu||Vt===Ef&&Ry(Bt)&&Gt()-_m<HE?al(e,Y):Cf=Ue(Cf,n)),Yn(e,r)}function nS(e,t){t===Qt&&(t=__(e));var n=An(),a=Pn(e,t);a!==null&&(Xo(a,t,n),Yn(a,n))}function Q_(e){var t=e.memoizedState,n=Qt;t!==null&&(n=t.retryLane),nS(e,n)}function K_(e,t){var n=Qt,a;switch(e.tag){case Z:a=e.stateNode;var r=e.memoizedState;r!==null&&(n=r.retryLane);break;case rt:a=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),nS(e,n)}function J_(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:w_(e/1960)*1960}function X_(){if(rs>N_)throw rs=0,Om=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");lo>x_&&(lo=0,Tf=null,s("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function Z_(){Oa.flushLegacyContextWarning(),Oa.flushPendingUnsafeLifecycleWarnings()}function aS(e,t){vt(e),Uf(e,qr,g_),t&&Uf(e,Nd,b_),Uf(e,qr,h_),t&&Uf(e,Nd,y_),qt()}function Uf(e,t,n){for(var a=e,r=null;a!==null;){var i=a.subtreeFlags&t;a!==r&&a.child!==null&&i!==be?a=a.child:((a.flags&t)!==be&&n(a),a.sibling!==null?a=a.sibling:a=r=a.return)}}var kf=null;function rS(e){{if((Ve&fn)!==jt||!(e.mode&Be))return;var t=e.tag;if(t!==_&&t!==D&&t!==S&&t!==b&&t!==P&&t!==me&&t!==ce)return;var n=xe(e)||"ReactComponent";if(kf!==null){if(kf.has(n))return;kf.add(n)}else kf=new Set([n]);var a=_n;try{vt(e),s("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{a?vt(e):qt()}}}var Bm;{var eD=null;Bm=function(e,t,n){var a=dS(eD,t);try{return yE(e,t,n)}catch(i){if(dx()||i!==null&&typeof i=="object"&&typeof i.then=="function")throw i;if(jc(),bb(),RE(e,t),dS(t,a),t.mode&tt&&Fv(t),Ed(null,yE,null,e,t,n),A0()){var r=Sd();typeof r=="object"&&r!==null&&r._suppressLogging&&typeof i=="object"&&i!==null&&!i._suppressLogging&&(i._suppressLogging=!0)}throw i}}}var iS=!1,Vm;Vm=new Set;function tD(e){if(_i&&!Ix())switch(e.tag){case b:case P:case ce:{var t=gt&&xe(gt)||"Unknown",n=t;if(!Vm.has(n)){Vm.add(n);var a=xe(e)||"Unknown";s("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",a,t,t)}break}case S:{iS||(s("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),iS=!0);break}}}function os(e,t){if(_a){var n=e.memoizedUpdaters;n.forEach(function(a){_y(e,a,t)})}}var Fm={};function Hm(e,t){{var n=Fa.current;return n!==null?(n.push(t),Fm):vy(e,t)}}function lS(e){if(e!==Fm)return P0(e)}function oS(){return Fa.current!==null}function nD(e){{if(e.mode&Be){if(!BE())return}else if(!R_()||Ve!==jt||e.tag!==b&&e.tag!==P&&e.tag!==ce)return;if(Fa.current===null){var t=_n;try{vt(e),s(`An update to %s inside a test was not wrapped in act(...).
- When testing, code that causes React state updates should be wrapped into act(...):
- act(() => {
- /* fire events that update state */
- });
- /* assert on the output */
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,xe(e))}finally{t?vt(e):qt()}}}}function aD(e){e.tag!==ti&&BE()&&Fa.current===null&&s(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
- When testing, code that resolves suspended data should be wrapped into act(...):
- act(() => {
- /* finish loading suspended data */
- });
- /* assert on the output */
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function us(e){IE=e}var ya=null,oo=null,rD=function(e){ya=e};function uo(e){{if(ya===null)return e;var t=ya(e);return t===void 0?e:t.current}}function Pm(e){return uo(e)}function $m(e){{if(ya===null)return e;var t=ya(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=uo(e.render);if(e.render!==n){var a={$$typeof:pe,render:n};return e.displayName!==void 0&&(a.displayName=e.displayName),a}}return e}return t.current}}function uS(e,t){{if(ya===null)return!1;var n=e.elementType,a=t.type,r=!1,i=typeof a=="object"&&a!==null?a.$$typeof:null;switch(e.tag){case S:{typeof a=="function"&&(r=!0);break}case b:{(typeof a=="function"||i===he)&&(r=!0);break}case P:{(i===pe||i===he)&&(r=!0);break}case me:case ce:{(i===De||i===he)&&(r=!0);break}default:return!1}if(r){var o=ya(n);if(o!==void 0&&o===ya(a))return!0}return!1}}function sS(e){{if(ya===null||typeof WeakSet!="function")return;oo===null&&(oo=new WeakSet),oo.add(e)}}var iD=function(e,t){{if(ya===null)return;var n=t.staleFamilies,a=t.updatedFamilies;jr(),zr(function(){Im(e.current,a,n)})}},lD=function(e,t){{if(e.context!==ta)return;jr(),zr(function(){ss(t,e,null,null)})}};function Im(e,t,n){{var a=e.alternate,r=e.child,i=e.sibling,o=e.tag,c=e.type,d=null;switch(o){case b:case ce:case S:d=c;break;case P:d=c.render;break}if(ya===null)throw new Error("Expected resolveFamily to be set during hot reload.");var y=!1,g=!1;if(d!==null){var N=ya(d);N!==void 0&&(n.has(N)?g=!0:t.has(N)&&(o===S?g=!0:y=!0))}if(oo!==null&&(oo.has(e)||a!==null&&oo.has(a))&&(g=!0),g&&(e._debugNeedsRemount=!0),g||y){var T=Pn(e,Ce);T!==null&&Ft(T,e,Ce,st)}r!==null&&!g&&Im(r,t,n),i!==null&&Im(i,t,n)}}var oD=function(e,t){{var n=new Set,a=new Set(t.map(function(r){return r.current}));return Ym(e.current,a,n),n}};function Ym(e,t,n){{var a=e.child,r=e.sibling,i=e.tag,o=e.type,c=null;switch(i){case b:case ce:case S:c=o;break;case P:c=o.render;break}var d=!1;c!==null&&t.has(c)&&(d=!0),d?uD(e,n):a!==null&&Ym(a,t,n),r!==null&&Ym(r,t,n)}}function uD(e,t){{var n=sD(e,t);if(n)return;for(var a=e;;){switch(a.tag){case O:t.add(a.stateNode);return;case w:t.add(a.stateNode.containerInfo);return;case D:t.add(a.stateNode.containerInfo);return}if(a.return===null)throw new Error("Expected to reach root first.");a=a.return}}}function sD(e,t){for(var n=e,a=!1;;){if(n.tag===O)a=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return a;for(;n.sibling===null;){if(n.return===null||n.return===e)return a;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var qm;{qm=!1;try{var cS=Object.preventExtensions({})}catch{qm=!0}}function cD(e,t,n,a){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=a,this.flags=be,this.subtreeFlags=be,this.deletions=null,this.lanes=Y,this.childLanes=Y,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!qm&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var na=function(e,t,n,a){return new cD(e,t,n,a)};function Gm(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function fD(e){return typeof e=="function"&&!Gm(e)&&e.defaultProps===void 0}function dD(e){if(typeof e=="function")return Gm(e)?S:b;if(e!=null){var t=e.$$typeof;if(t===pe)return P;if(t===De)return me}return _}function il(e,t){var n=e.alternate;n===null?(n=na(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=be,n.subtreeFlags=be,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Rr,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var a=e.dependencies;switch(n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case _:case b:case ce:n.type=uo(e.type);break;case S:n.type=Pm(e.type);break;case P:n.type=$m(e.type);break}return n}function pD(e,t){e.flags&=Rr|xt;var n=e.alternate;if(n===null)e.childLanes=Y,e.lanes=t,e.child=null,e.subtreeFlags=be,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=be,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var a=n.dependencies;e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function vD(e,t,n){var a;return e===xc?(a=Be,t===!0&&(a|=Ct,a|=Ka)):a=ye,_a&&(a|=tt),na(D,null,null,a)}function Wm(e,t,n,a,r,i){var o=_,c=e;if(typeof e=="function")Gm(e)?(o=S,c=Pm(c)):c=uo(c);else if(typeof e=="string")o=O;else e:switch(e){case qa:return vi(n.children,r,i,t);case Ci:o=J,r|=Ct,(r&Be)!==ye&&(r|=Ka);break;case R:return mD(n,r,i,t);case ze:return hD(n,r,i,t);case Se:return yD(n,r,i,t);case dt:return fS(n,r,i,t);case yn:case kt:case Ga:case Ta:case ft:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case G:o=z;break e;case ne:o=q;break e;case pe:o=P,c=$m(c);break e;case De:o=me;break e;case he:o=Ke,c=null;break e}var d="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(d+=" 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 y=a?xe(a):null;y&&(d+=`
- Check the render method of \``+y+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+d))}}var g=na(o,n,t,r);return g.elementType=e,g.type=c,g.lanes=i,g._debugOwner=a,g}function Qm(e,t,n){var a=null;a=e._owner;var r=e.type,i=e.key,o=e.props,c=Wm(r,i,o,a,t,n);return c._debugSource=e._source,c._debugOwner=e._owner,c}function vi(e,t,n,a){var r=na(Q,e,a,t);return r.lanes=n,r}function mD(e,t,n,a){typeof e.id!="string"&&s('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var r=na(K,e,a,t|tt);return r.elementType=R,r.lanes=n,r.stateNode={effectDuration:0,passiveEffectDuration:0},r}function hD(e,t,n,a){var r=na(Z,e,a,t);return r.elementType=ze,r.lanes=n,r}function yD(e,t,n,a){var r=na(rt,e,a,t);return r.elementType=Se,r.lanes=n,r}function fS(e,t,n,a){var r=na(I,e,a,t);r.elementType=dt,r.lanes=n;var i={isHidden:!1};return r.stateNode=i,r}function Km(e,t,n){var a=na(H,e,null,t);return a.lanes=n,a}function gD(){var e=na(O,null,null,ye);return e.elementType="DELETED",e}function bD(e){var t=na(Pe,null,null,ye);return t.stateNode=e,t}function Jm(e,t,n){var a=e.children!==null?e.children:[],r=na(w,a,e.key,t);return r.lanes=n,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function dS(e,t){return e===null&&(e=na(_,null,null,ye)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function ED(e,t,n,a,r){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Op,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Qt,this.eventTimes=tp(Y),this.expirationTimes=tp(st),this.pendingLanes=Y,this.suspendedLanes=Y,this.pingedLanes=Y,this.expiredLanes=Y,this.mutableReadLanes=Y,this.finishedLanes=Y,this.entangledLanes=Y,this.entanglements=tp(Y),this.identifierPrefix=a,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var i=this.pendingUpdatersLaneMap=[],o=0;o<Od;o++)i.push(new Set)}switch(t){case xc:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case ti:this._debugRootType=n?"hydrate()":"render()";break}}function pS(e,t,n,a,r,i,o,c,d,y){var g=new ED(e,t,n,c,d),N=vD(t,i);g.current=N,N.stateNode=g;{var T={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};N.memoizedState=T}return cv(N),g}var Xm="18.3.1";function SD(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return oa(a),{$$typeof:Qn,key:a==null?null:""+a,children:e,containerInfo:t,implementation:n}}var Zm,eh;Zm=!1,eh={};function vS(e){if(!e)return ta;var t=Sl(e),n=ax(t);if(t.tag===S){var a=t.type;if(Za(a))return Hg(t,a,n)}return n}function CD(e,t){{var n=Sl(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var a=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+a)}var r=fy(n);if(r===null)return null;if(r.mode&Ct){var i=xe(n)||"Component";if(!eh[i]){eh[i]=!0;var o=_n;try{vt(r),n.mode&Ct?s("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):s("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{o?vt(o):qt()}}}return r.stateNode}}function mS(e,t,n,a,r,i,o,c){var d=!1,y=null;return pS(e,t,d,y,n,a,r,i,o)}function hS(e,t,n,a,r,i,o,c,d,y){var g=!0,N=pS(n,a,g,e,r,i,o,c,d);N.context=vS(null);var T=N.current,L=An(),M=di(T),V=Or(L,M);return V.callback=t??null,ri(T,V,M),D_(N,M,L),N}function ss(e,t,n,a){K0(t,e);var r=t.current,i=An(),o=di(r);hR(o);var c=vS(n);t.context===null?t.context=c:t.pendingContext=c,_i&&_n!==null&&!Zm&&(Zm=!0,s(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
- Check the render method of %s.`,xe(_n)||"Unknown"));var d=Or(i,o);d.payload={element:e},a=a===void 0?null:a,a!==null&&(typeof a!="function"&&s("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),d.callback=a);var y=ri(r,d,o);return y!==null&&(Ft(y,r,o,i),Pc(y,r,o)),o}function Of(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case O:return t.child.stateNode;default:return t.child.stateNode}}function RD(e){switch(e.tag){case D:{var t=e.stateNode;if(Js(t)){var n=TR(t);L_(t,n)}break}case Z:{zr(function(){var r=Pn(e,Ce);if(r!==null){var i=An();Ft(r,e,Ce,i)}});var a=Ce;th(e,a);break}}}function yS(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=kR(n.retryLane,t))}function th(e,t){yS(e,t);var n=e.alternate;n&&yS(n,t)}function wD(e){if(e.tag===Z){var t=Wo,n=Pn(e,t);if(n!==null){var a=An();Ft(n,e,t,a)}th(e,t)}}function TD(e){if(e.tag===Z){var t=di(e),n=Pn(e,t);if(n!==null){var a=An();Ft(n,e,t,a)}th(e,t)}}function gS(e){var t=H0(e);return t===null?null:t.stateNode}var bS=function(e){return null};function ND(e){return bS(e)}var ES=function(e){return!1};function xD(e){return ES(e)}var SS=null,CS=null,RS=null,wS=null,TS=null,NS=null,xS=null,_S=null,DS=null;{var US=function(e,t,n){var a=t[n],r=Ae(e)?e.slice():Oe({},e);return n+1===t.length?(Ae(r)?r.splice(a,1):delete r[a],r):(r[a]=US(e[a],t,n+1),r)},kS=function(e,t){return US(e,t,0)},OS=function(e,t,n,a){var r=t[a],i=Ae(e)?e.slice():Oe({},e);if(a+1===t.length){var o=n[a];i[o]=i[r],Ae(i)?i.splice(r,1):delete i[r]}else i[r]=OS(e[r],t,n,a+1);return i},LS=function(e,t,n){if(t.length!==n.length){h("copyWithRename() expects paths of the same length");return}else for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){h("copyWithRename() expects paths to be the same except for the deepest key");return}return OS(e,t,n,0)},AS=function(e,t,n,a){if(n>=t.length)return a;var r=t[n],i=Ae(e)?e.slice():Oe({},e);return i[r]=AS(e[r],t,n+1,a),i},MS=function(e,t,n){return AS(e,t,0,n)},nh=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};SS=function(e,t,n,a){var r=nh(e,t);if(r!==null){var i=MS(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=Oe({},e.memoizedProps);var o=Pn(e,Ce);o!==null&&Ft(o,e,Ce,st)}},CS=function(e,t,n){var a=nh(e,t);if(a!==null){var r=kS(a.memoizedState,n);a.memoizedState=r,a.baseState=r,e.memoizedProps=Oe({},e.memoizedProps);var i=Pn(e,Ce);i!==null&&Ft(i,e,Ce,st)}},RS=function(e,t,n,a){var r=nh(e,t);if(r!==null){var i=LS(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=Oe({},e.memoizedProps);var o=Pn(e,Ce);o!==null&&Ft(o,e,Ce,st)}},wS=function(e,t,n){e.pendingProps=MS(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Pn(e,Ce);a!==null&&Ft(a,e,Ce,st)},TS=function(e,t){e.pendingProps=kS(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=Pn(e,Ce);n!==null&&Ft(n,e,Ce,st)},NS=function(e,t,n){e.pendingProps=LS(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Pn(e,Ce);a!==null&&Ft(a,e,Ce,st)},xS=function(e){var t=Pn(e,Ce);t!==null&&Ft(t,e,Ce,st)},_S=function(e){bS=e},DS=function(e){ES=e}}function _D(e){var t=fy(e);return t===null?null:t.stateNode}function DD(e){return null}function UD(){return _n}function kD(e){var t=e.findFiberByHostInstance,n=f.ReactCurrentDispatcher;return Q0({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:SS,overrideHookStateDeletePath:CS,overrideHookStateRenamePath:RS,overrideProps:wS,overridePropsDeletePath:TS,overridePropsRenamePath:NS,setErrorHandler:_S,setSuspenseHandler:DS,scheduleUpdate:xS,currentDispatcherRef:n,findHostInstanceByFiber:_D,findFiberByHostInstance:t||DD,findHostInstancesForRefresh:oD,scheduleRefresh:iD,scheduleRoot:lD,setRefreshHandler:rD,getCurrentFiber:UD,reconcilerVersion:Xm})}var zS=typeof reportError=="function"?reportError:function(e){console.error(e)};function ah(e){this._internalRoot=e}Lf.prototype.render=ah.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?s("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Af(arguments[1])?s("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&s("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==Nt){var a=gS(t.current);a&&a.parentNode!==n&&s("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}ss(e,t,null,null)},Lf.prototype.unmount=ah.prototype.unmount=function(){typeof arguments[0]=="function"&&s("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;WE()&&s("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),zr(function(){ss(null,e,null,null)}),zg(t)}};function OD(e,t){if(!Af(e))throw new Error("createRoot(...): Target container is not a DOM element.");jS(e);var n=!1,a=!1,r="",i=zS;t!=null&&(t.hydrate?h("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===sa&&s(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
- let root = createRoot(domContainer);
- root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var o=mS(e,xc,null,n,a,r,i);Ec(o.current,e);var c=e.nodeType===Nt?e.parentNode:e;return mu(c),new ah(o)}function Lf(e){this._internalRoot=e}function LD(e){e&&WR(e)}Lf.prototype.unstable_scheduleHydration=LD;function AD(e,t,n){if(!Af(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");jS(e),t===void 0&&s("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=n??null,r=n!=null&&n.hydratedSources||null,i=!1,o=!1,c="",d=zS;n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(c=n.identifierPrefix),n.onRecoverableError!==void 0&&(d=n.onRecoverableError));var y=hS(t,null,e,xc,a,i,o,c,d);if(Ec(y.current,e),mu(e),r)for(var g=0;g<r.length;g++){var N=r[g];Bx(y,N)}return new Lf(y)}function Af(e){return!!(e&&(e.nodeType===Fn||e.nodeType===Er||e.nodeType===sd))}function cs(e){return!!(e&&(e.nodeType===Fn||e.nodeType===Er||e.nodeType===sd||e.nodeType===Nt&&e.nodeValue===" react-mount-point-unstable "))}function jS(e){e.nodeType===Fn&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&s("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Nu(e)&&(e._reactRootContainer?s("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):s("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var MD=f.ReactCurrentOwner,BS;BS=function(e){if(e._reactRootContainer&&e.nodeType!==Nt){var t=gS(e._reactRootContainer.current);t&&t.parentNode!==e&&s("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,a=rh(e),r=!!(a&&Zr(a));r&&!n&&s("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Fn&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&s("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function rh(e){return e?e.nodeType===Er?e.documentElement:e.firstChild:null}function VS(){}function zD(e,t,n,a,r){if(r){if(typeof a=="function"){var i=a;a=function(){var T=Of(o);i.call(T)}}var o=hS(t,a,e,ti,null,!1,!1,"",VS);e._reactRootContainer=o,Ec(o.current,e);var c=e.nodeType===Nt?e.parentNode:e;return mu(c),zr(),o}else{for(var d;d=e.lastChild;)e.removeChild(d);if(typeof a=="function"){var y=a;a=function(){var T=Of(g);y.call(T)}}var g=mS(e,ti,null,!1,!1,"",VS);e._reactRootContainer=g,Ec(g.current,e);var N=e.nodeType===Nt?e.parentNode:e;return mu(N),zr(function(){ss(t,g,n,a)}),g}}function jD(e,t){e!==null&&typeof e!="function"&&s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Mf(e,t,n,a,r){BS(n),jD(r===void 0?null:r,"render");var i=n._reactRootContainer,o;if(!i)o=zD(n,t,e,r,a);else{if(o=i,typeof r=="function"){var c=r;r=function(){var d=Of(o);c.call(d)}}ss(t,o,e,r)}return Of(o)}var FS=!1;function BD(e){{FS||(FS=!0,s("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=MD.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||s("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ge(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Fn?e:CD(e,"findDOMNode")}function VD(e,t,n){if(s("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!cs(t))throw new Error("Target container is not a DOM element.");{var a=Nu(t)&&t._reactRootContainer===void 0;a&&s("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Mf(null,e,t,!0,n)}function FD(e,t,n){if(s("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!cs(t))throw new Error("Target container is not a DOM element.");{var a=Nu(t)&&t._reactRootContainer===void 0;a&&s("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Mf(null,e,t,!1,n)}function HD(e,t,n,a){if(s("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!cs(n))throw new Error("Target container is not a DOM element.");if(e==null||!M0(e))throw new Error("parentComponent must be a valid React Component");return Mf(e,t,n,!1,a)}var HS=!1;function PD(e){if(HS||(HS=!0,s("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!cs(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Nu(e)&&e._reactRootContainer===void 0;t&&s("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var n=rh(e),a=n&&!Zr(n);a&&s("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return zr(function(){Mf(null,null,e,!1,function(){e._reactRootContainer=null,zg(e)})}),!0}else{{var r=rh(e),i=!!(r&&Zr(r)),o=e.nodeType===Fn&&cs(e.parentNode)&&!!e.parentNode._reactRootContainer;i&&s("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",o?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}BR(RD),FR(wD),HR(TD),PR(Da),$R(MR),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&s("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),w0(IT),x0(Mm,A_,zr);function $D(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Af(t))throw new Error("Target container is not a DOM element.");return SD(e,t,null,n)}function ID(e,t,n,a){return HD(e,t,n,a)}var ih={usingClientEntryPoint:!1,Events:[Zr,Vl,Sc,Xh,Zh,Mm]};function YD(e,t){return ih.usingClientEntryPoint||s('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),OD(e,t)}function qD(e,t,n){return ih.usingClientEntryPoint||s('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),AD(e,t,n)}function GD(e){return WE()&&s("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),zr(e)}var WD=kD({findFiberByHostInstance:Ii,bundleType:1,version:Xm,rendererPackageName:"react-dom"});if(!WD&&tn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var PS=window.location.protocol;/^(https?|file):$/.test(PS)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(PS==="file:"?`
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}ra.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ih,ra.createPortal=$D,ra.createRoot=YD,ra.findDOMNode=BD,ra.flushSync=GD,ra.hydrate=VD,ra.hydrateRoot=qD,ra.render=FD,ra.unmountComponentAtNode=PD,ra.unstable_batchedUpdates=Mm,ra.unstable_renderSubtreeIntoContainer=ID,ra.version=Xm,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();oC.exports=ra;var nU=oC.exports,lh=nU;{var zf=lh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;mh.createRoot=function(l,u){zf.usingClientEntryPoint=!0;try{return lh.createRoot(l,u)}finally{zf.usingClientEntryPoint=!1}},mh.hydrateRoot=function(l,u,f){zf.usingClientEntryPoint=!0;try{return lh.hydrateRoot(l,u,f)}finally{zf.usingClientEntryPoint=!1}}}/**
- * @remix-run/router v1.23.3
- *
- * Copyright (c) Remix Software Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE.md file in the root directory of this source tree.
- *
- * @license MIT
- */function vs(){return vs=Object.assign?Object.assign.bind():function(l){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var p in f)({}).hasOwnProperty.call(f,p)&&(l[p]=f[p])}return l},vs.apply(null,arguments)}var hi;(function(l){l.Pop="POP",l.Push="PUSH",l.Replace="REPLACE"})(hi||(hi={}));const $S="popstate";function aU(l){l===void 0&&(l={});function u(p,v){let{pathname:h,search:s,hash:E}=p.location;return hh("",{pathname:h,search:s,hash:E},v.state&&v.state.usr||null,v.state&&v.state.key||"default")}function f(p,v){return typeof v=="string"?v:ms(v)}return iU(u,f,null,l)}function bt(l,u){if(l===!1||l===null||typeof l>"u")throw new Error(u)}function Pa(l,u){if(!l){typeof console<"u"&&console.warn(u);try{throw new Error(u)}catch{}}}function rU(){return Math.random().toString(36).substr(2,8)}function IS(l,u){return{usr:l.state,key:l.key,idx:u}}function hh(l,u,f,p){return f===void 0&&(f=null),vs({pathname:typeof l=="string"?l:l.pathname,search:"",hash:""},typeof u=="string"?bo(u):u,{state:f,key:u&&u.key||p||rU()})}function ms(l){let{pathname:u="/",search:f="",hash:p=""}=l;return f&&f!=="?"&&(u+=f.charAt(0)==="?"?f:"?"+f),p&&p!=="#"&&(u+=p.charAt(0)==="#"?p:"#"+p),u}function bo(l){let u={};if(l){let f=l.indexOf("#");f>=0&&(u.hash=l.substr(f),l=l.substr(0,f));let p=l.indexOf("?");p>=0&&(u.search=l.substr(p),l=l.substr(0,p)),l&&(u.pathname=l)}return u}function iU(l,u,f,p){p===void 0&&(p={});let{window:v=document.defaultView,v5Compat:h=!1}=p,s=v.history,E=hi.Pop,b=null,S=_();S==null&&(S=0,s.replaceState(vs({},s.state,{idx:S}),""));function _(){return(s.state||{idx:null}).idx}function D(){E=hi.Pop;let J=_(),q=J==null?null:J-S;S=J,b&&b({action:E,location:Q.location,delta:q})}function w(J,q){E=hi.Push;let z=hh(Q.location,J,q);S=_()+1;let P=IS(z,S),K=Q.createHref(z);try{s.pushState(P,"",K)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;v.location.assign(K)}h&&b&&b({action:E,location:Q.location,delta:1})}function O(J,q){E=hi.Replace;let z=hh(Q.location,J,q);S=_();let P=IS(z,S),K=Q.createHref(z);s.replaceState(P,"",K),h&&b&&b({action:E,location:Q.location,delta:0})}function H(J){let q=v.location.origin!=="null"?v.location.origin:v.location.href,z=typeof J=="string"?J:ms(J);return z=z.replace(/ $/,"%20"),bt(q,"No window.location.(origin|href) available to create URL for href: "+z),new URL(z,q)}let Q={get action(){return E},get location(){return l(v,s)},listen(J){if(b)throw new Error("A history only accepts one active listener");return v.addEventListener($S,D),b=J,()=>{v.removeEventListener($S,D),b=null}},createHref(J){return u(v,J)},createURL:H,encodeLocation(J){let q=H(J);return{pathname:q.pathname,search:q.search,hash:q.hash}},push:w,replace:O,go(J){return s.go(J)}};return Q}var YS;(function(l){l.data="data",l.deferred="deferred",l.redirect="redirect",l.error="error"})(YS||(YS={}));function lU(l,u,f){return f===void 0&&(f="/"),oU(l,u,f)}function oU(l,u,f,p){let v=typeof u=="string"?bo(u):u,h=gi(v.pathname||"/",f);if(h==null)return null;let s=cC(l);uU(s);let E=null,b=bU(h);for(let S=0;E==null&&S<s.length;++S)E=yU(s[S],b);return E}function cC(l,u,f,p){u===void 0&&(u=[]),f===void 0&&(f=[]),p===void 0&&(p="");let v=(h,s,E)=>{let b={relativePath:E===void 0?h.path||"":E,caseSensitive:h.caseSensitive===!0,childrenIndex:s,route:h};b.relativePath.startsWith("/")&&(bt(b.relativePath.startsWith(p),'Absolute route path "'+b.relativePath+'" nested under path '+('"'+p+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),b.relativePath=b.relativePath.slice(p.length));let S=Vr([p,b.relativePath]),_=f.concat(b);h.children&&h.children.length>0&&(bt(h.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+S+'".')),cC(h.children,u,_,S)),!(h.path==null&&!h.index)&&u.push({path:S,score:mU(S,h.index),routesMeta:_})};return l.forEach((h,s)=>{var E;if(h.path===""||!((E=h.path)!=null&&E.includes("?")))v(h,s);else for(let b of fC(h.path))v(h,s,b)}),u}function fC(l){let u=l.split("/");if(u.length===0)return[];let[f,...p]=u,v=f.endsWith("?"),h=f.replace(/\?$/,"");if(p.length===0)return v?[h,""]:[h];let s=fC(p.join("/")),E=[];return E.push(...s.map(b=>b===""?h:[h,b].join("/"))),v&&E.push(...s),E.map(b=>l.startsWith("/")&&b===""?"/":b)}function uU(l){l.sort((u,f)=>u.score!==f.score?f.score-u.score:hU(u.routesMeta.map(p=>p.childrenIndex),f.routesMeta.map(p=>p.childrenIndex)))}const sU=/^:[\w-]+$/,cU=3,fU=2,dU=1,pU=10,vU=-2,qS=l=>l==="*";function mU(l,u){let f=l.split("/"),p=f.length;return f.some(qS)&&(p+=vU),u&&(p+=fU),f.filter(v=>!qS(v)).reduce((v,h)=>v+(sU.test(h)?cU:h===""?dU:pU),p)}function hU(l,u){return l.length===u.length&&l.slice(0,-1).every((p,v)=>p===u[v])?l[l.length-1]-u[u.length-1]:0}function yU(l,u,f){let{routesMeta:p}=l,v={},h="/",s=[];for(let E=0;E<p.length;++E){let b=p[E],S=E===p.length-1,_=h==="/"?u:u.slice(h.length)||"/",D=yh({path:b.relativePath,caseSensitive:b.caseSensitive,end:S},_),w=b.route;if(!D)return null;Object.assign(v,D.params),s.push({params:v,pathname:Vr([h,D.pathname]),pathnameBase:wU(Vr([h,D.pathnameBase])),route:w}),D.pathnameBase!=="/"&&(h=Vr([h,D.pathnameBase]))}return s}function yh(l,u){typeof l=="string"&&(l={path:l,caseSensitive:!1,end:!0});let[f,p]=gU(l.path,l.caseSensitive,l.end),v=u.match(f);if(!v)return null;let h=v[0],s=h.replace(/(.)\/+$/,"$1"),E=v.slice(1);return{params:p.reduce((S,_,D)=>{let{paramName:w,isOptional:O}=_;if(w==="*"){let Q=E[D]||"";s=h.slice(0,h.length-Q.length).replace(/(.)\/+$/,"$1")}const H=E[D];return O&&!H?S[w]=void 0:S[w]=(H||"").replace(/%2F/g,"/"),S},{}),pathname:h,pathnameBase:s,pattern:l}}function gU(l,u,f){u===void 0&&(u=!1),f===void 0&&(f=!0),Pa(l==="*"||!l.endsWith("*")||l.endsWith("/*"),'Route path "'+l+'" will be treated as if it were '+('"'+l.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+l.replace(/\*$/,"/*")+'".'));let p=[],v="^"+l.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,E,b)=>(p.push({paramName:E,isOptional:b!=null}),b?"/?([^\\/]+)?":"/([^\\/]+)"));return l.endsWith("*")?(p.push({paramName:"*"}),v+=l==="*"||l==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):f?v+="\\/*$":l!==""&&l!=="/"&&(v+="(?:(?=\\/|$))"),[new RegExp(v,u?void 0:"i"),p]}function bU(l){try{return l.split("/").map(u=>decodeURIComponent(u).replace(/\//g,"%2F")).join("/")}catch(u){return Pa(!1,'The URL path "'+l+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+u+").")),l}}function gi(l,u){if(u==="/")return l;if(!l.toLowerCase().startsWith(u.toLowerCase()))return null;let f=u.endsWith("/")?u.length-1:u.length,p=l.charAt(f);return p&&p!=="/"?null:l.slice(f)||"/"}const EU=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,SU=l=>EU.test(l);function CU(l,u){u===void 0&&(u="/");let{pathname:f,search:p="",hash:v=""}=typeof l=="string"?bo(l):l,h;if(f)if(SU(f))h=f;else{if(f.includes("//")){let s=f;f=vC(f),Pa(!1,"Pathnames cannot have embedded double slashes - normalizing "+(s+" -> "+f))}f.startsWith("/")?h=GS(f.substring(1),"/"):h=GS(f,u)}else h=u;return{pathname:h,search:TU(p),hash:NU(v)}}function GS(l,u){let f=u.replace(/\/+$/,"").split("/");return l.split("/").forEach(v=>{v===".."?f.length>1&&f.pop():v!=="."&&f.push(v)}),f.length>1?f.join("/"):"/"}function oh(l,u,f,p){return"Cannot include a '"+l+"' character in a manually specified "+("`to."+u+"` field ["+JSON.stringify(p)+"]. Please separate it out to the ")+("`to."+f+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function RU(l){return l.filter((u,f)=>f===0||u.route.path&&u.route.path.length>0)}function dC(l,u){let f=RU(l);return u?f.map((p,v)=>v===f.length-1?p.pathname:p.pathnameBase):f.map(p=>p.pathnameBase)}function pC(l,u,f,p){p===void 0&&(p=!1);let v;typeof l=="string"?v=bo(l):(v=vs({},l),bt(!v.pathname||!v.pathname.includes("?"),oh("?","pathname","search",v)),bt(!v.pathname||!v.pathname.includes("#"),oh("#","pathname","hash",v)),bt(!v.search||!v.search.includes("#"),oh("#","search","hash",v)));let h=l===""||v.pathname==="",s=h?"/":v.pathname,E;if(s==null)E=f;else{let D=u.length-1;if(!p&&s.startsWith("..")){let w=s.split("/");for(;w[0]==="..";)w.shift(),D-=1;v.pathname=w.join("/")}E=D>=0?u[D]:"/"}let b=CU(v,E),S=s&&s!=="/"&&s.endsWith("/"),_=(h||s===".")&&f.endsWith("/");return!b.pathname.endsWith("/")&&(S||_)&&(b.pathname+="/"),b}const vC=l=>l.replace(/\/\/+/g,"/"),Vr=l=>vC(l.join("/")),wU=l=>l.replace(/\/+$/,"").replace(/^\/*/,"/"),TU=l=>!l||l==="?"?"":l.startsWith("?")?l:"?"+l,NU=l=>!l||l==="#"?"":l.startsWith("#")?l:"#"+l;function xU(l){return l!=null&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.internal=="boolean"&&"data"in l}const mC=["post","put","patch","delete"];new Set(mC);const _U=["get",...mC];new Set(_U);/**
- * React Router v6.30.4
- *
- * Copyright (c) Remix Software Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE.md file in the root directory of this source tree.
- *
- * @license MIT
- */function hs(){return hs=Object.assign?Object.assign.bind():function(l){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var p in f)({}).hasOwnProperty.call(f,p)&&(l[p]=f[p])}return l},hs.apply(null,arguments)}const bs=B.createContext(null);bs.displayName="DataRouter";const wh=B.createContext(null);wh.displayName="DataRouterState";const DU=B.createContext(null);DU.displayName="Await";const $a=B.createContext(null);$a.displayName="Navigation";const Es=B.createContext(null);Es.displayName="Location";const sr=B.createContext({outlet:null,matches:[],isDataRoute:!1});sr.displayName="Route";const Th=B.createContext(null);Th.displayName="RouteError";function UU(l,u){let{relative:f}=u===void 0?{}:u;Ss()||bt(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:p,navigator:v}=B.useContext($a),{hash:h,pathname:s,search:E}=Cs(l,{relative:f}),b=s;return p!=="/"&&(b=s==="/"?p:Vr([p,s])),v.createHref({pathname:b,search:E,hash:h})}function Ss(){return B.useContext(Es)!=null}function ll(){return Ss()||bt(!1,"useLocation() may be used only in the context of a <Router> component."),B.useContext(Es).location}const hC="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function yC(l){B.useContext($a).static||B.useLayoutEffect(l)}function Nh(){let{isDataRoute:l}=B.useContext(sr);return l?YU():kU()}function kU(){Ss()||bt(!1,"useNavigate() may be used only in the context of a <Router> component.");let l=B.useContext(bs),{basename:u,future:f,navigator:p}=B.useContext($a),{matches:v}=B.useContext(sr),{pathname:h}=ll(),s=JSON.stringify(dC(v,f.v7_relativeSplatPath)),E=B.useRef(!1);return yC(()=>{E.current=!0}),B.useCallback(function(S,_){if(_===void 0&&(_={}),Pa(E.current,hC),!E.current)return;if(typeof S=="number"){p.go(S);return}let D=pC(S,JSON.parse(s),h,_.relative==="path");l==null&&u!=="/"&&(D.pathname=D.pathname==="/"?u:Vr([u,D.pathname])),(_.replace?p.replace:p.push)(D,_.state,_)},[u,p,s,h,l])}function OU(){let{matches:l}=B.useContext(sr),u=l[l.length-1];return u?u.params:{}}function Cs(l,u){let{relative:f}=u===void 0?{}:u,{future:p}=B.useContext($a),{matches:v}=B.useContext(sr),{pathname:h}=ll(),s=JSON.stringify(dC(v,p.v7_relativeSplatPath));return B.useMemo(()=>pC(l,JSON.parse(s),h,f==="path"),[l,s,h,f])}function LU(l,u){return AU(l,u)}function AU(l,u,f,p){Ss()||bt(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:v}=B.useContext($a),{matches:h}=B.useContext(sr),s=h[h.length-1],E=s?s.params:{},b=s?s.pathname:"/",S=s?s.pathnameBase:"/",_=s&&s.route;{let z=_&&_.path||"";bC(b,!_||z.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+b+'" (under <Route path="'+z+'">) but the ')+`parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
- `+('Please change the parent <Route path="'+z+'"> to <Route ')+('path="'+(z==="/"?"*":z+"/*")+'">.'))}let D=ll(),w;if(u){var O;let z=typeof u=="string"?bo(u):u;S==="/"||(O=z.pathname)!=null&&O.startsWith(S)||bt(!1,"When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was "+('matched by all parent routes. The current pathname base is "'+S+'" ')+('but pathname "'+z.pathname+'" was given in the `location` prop.')),w=z}else w=D;let H=w.pathname||"/",Q=H;if(S!=="/"){let z=S.replace(/^\//,"").split("/");Q="/"+H.replace(/^\//,"").split("/").slice(z.length).join("/")}let J=lU(l,{pathname:Q});Pa(_||J!=null,'No routes matched location "'+w.pathname+w.search+w.hash+'" '),Pa(J==null||J[J.length-1].route.element!==void 0||J[J.length-1].route.Component!==void 0||J[J.length-1].route.lazy!==void 0,'Matched leaf route at location "'+w.pathname+w.search+w.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let q=VU(J&&J.map(z=>Object.assign({},z,{params:Object.assign({},E,z.params),pathname:Vr([S,v.encodeLocation?v.encodeLocation(z.pathname).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?S:Vr([S,v.encodeLocation?v.encodeLocation(z.pathnameBase).pathname:z.pathnameBase])})),h,f,p);return u&&q?B.createElement(Es.Provider,{value:{location:hs({pathname:"/",search:"",hash:"",state:null,key:"default"},w),navigationType:hi.Pop}},q):q}function MU(){let l=IU(),u=xU(l)?l.status+" "+l.statusText:l instanceof Error?l.message:JSON.stringify(l),f=l instanceof Error?l.stack:null,p="rgba(200,200,200, 0.5)",v={padding:"0.5rem",backgroundColor:p},h={padding:"2px 4px",backgroundColor:p},s=null;return console.error("Error handled by React Router default ErrorBoundary:",l),s=B.createElement(B.Fragment,null,B.createElement("p",null,"💿 Hey developer 👋"),B.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",B.createElement("code",{style:h},"ErrorBoundary")," or"," ",B.createElement("code",{style:h},"errorElement")," prop on your route.")),B.createElement(B.Fragment,null,B.createElement("h2",null,"Unexpected Application Error!"),B.createElement("h3",{style:{fontStyle:"italic"}},u),f?B.createElement("pre",{style:v},f):null,s)}const zU=B.createElement(MU,null);class jU extends B.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,f){return f.location!==u.location||f.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:f.error,location:f.location,revalidation:u.revalidation||f.revalidation}}componentDidCatch(u,f){console.error("React Router caught the following error during render",u,f)}render(){return this.state.error!==void 0?B.createElement(sr.Provider,{value:this.props.routeContext},B.createElement(Th.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function BU(l){let{routeContext:u,match:f,children:p}=l,v=B.useContext(bs);return v&&v.static&&v.staticContext&&(f.route.errorElement||f.route.ErrorBoundary)&&(v.staticContext._deepestRenderedBoundaryId=f.route.id),B.createElement(sr.Provider,{value:u},p)}function VU(l,u,f,p){var v;if(u===void 0&&(u=[]),f===void 0&&(f=null),p===void 0&&(p=null),l==null){var h;if(!f)return null;if(f.errors)l=f.matches;else if((h=p)!=null&&h.v7_partialHydration&&u.length===0&&!f.initialized&&f.matches.length>0)l=f.matches;else return null}let s=l,E=(v=f)==null?void 0:v.errors;if(E!=null){let _=s.findIndex(D=>D.route.id&&(E==null?void 0:E[D.route.id])!==void 0);_>=0||bt(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(E).join(",")),s=s.slice(0,Math.min(s.length,_+1))}let b=!1,S=-1;if(f&&p&&p.v7_partialHydration)for(let _=0;_<s.length;_++){let D=s[_];if((D.route.HydrateFallback||D.route.hydrateFallbackElement)&&(S=_),D.route.id){let{loaderData:w,errors:O}=f,H=D.route.loader&&w[D.route.id]===void 0&&(!O||O[D.route.id]===void 0);if(D.route.lazy||H){b=!0,S>=0?s=s.slice(0,S+1):s=[s[0]];break}}}return s.reduceRight((_,D,w)=>{let O,H=!1,Q=null,J=null;f&&(O=E&&D.route.id?E[D.route.id]:void 0,Q=D.route.errorElement||zU,b&&(S<0&&w===0?(bC("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),H=!0,J=null):S===w&&(H=!0,J=D.route.hydrateFallbackElement||null)));let q=u.concat(s.slice(0,w+1)),z=()=>{let P;return O?P=Q:H?P=J:D.route.Component?P=B.createElement(D.route.Component,null):D.route.element?P=D.route.element:P=_,B.createElement(BU,{match:D,routeContext:{outlet:_,matches:q,isDataRoute:f!=null},children:P})};return f&&(D.route.ErrorBoundary||D.route.errorElement||w===0)?B.createElement(jU,{location:f.location,revalidation:f.revalidation,component:Q,error:O,children:z(),routeContext:{outlet:null,matches:q,isDataRoute:!0}}):z()},null)}var gC=function(l){return l.UseBlocker="useBlocker",l.UseRevalidator="useRevalidator",l.UseNavigateStable="useNavigate",l}(gC||{}),ys=function(l){return l.UseBlocker="useBlocker",l.UseLoaderData="useLoaderData",l.UseActionData="useActionData",l.UseRouteError="useRouteError",l.UseNavigation="useNavigation",l.UseRouteLoaderData="useRouteLoaderData",l.UseMatches="useMatches",l.UseRevalidator="useRevalidator",l.UseNavigateStable="useNavigate",l.UseRouteId="useRouteId",l}(ys||{});function xh(l){return l+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function FU(l){let u=B.useContext(bs);return u||bt(!1,xh(l)),u}function HU(l){let u=B.useContext(wh);return u||bt(!1,xh(l)),u}function PU(l){let u=B.useContext(sr);return u||bt(!1,xh(l)),u}function _h(l){let u=PU(l),f=u.matches[u.matches.length-1];return f.route.id||bt(!1,l+' can only be used on routes that contain a unique "id"'),f.route.id}function $U(){return _h(ys.UseRouteId)}function IU(){var l;let u=B.useContext(Th),f=HU(ys.UseRouteError),p=_h(ys.UseRouteError);return u!==void 0?u:(l=f.errors)==null?void 0:l[p]}function YU(){let{router:l}=FU(gC.UseNavigateStable),u=_h(ys.UseNavigateStable),f=B.useRef(!1);return yC(()=>{f.current=!0}),B.useCallback(function(v,h){h===void 0&&(h={}),Pa(f.current,hC),f.current&&(typeof v=="number"?l.navigate(v):l.navigate(v,hs({fromRouteId:u},h)))},[l,u])}const WS={};function bC(l,u,f){!u&&!WS[l]&&(WS[l]=!0,Pa(!1,f))}const QS={};function qU(l,u){QS[u]||(QS[u]=!0,console.warn(u))}const KS=(l,u,f)=>qU(l,"⚠️ React Router Future Flag Warning: "+u+". "+("You can use the `"+l+"` future flag to opt-in early. ")+("For more information, see "+f+"."));function GU(l,u){(l==null?void 0:l.v7_startTransition)===void 0&&KS("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(l==null?void 0:l.v7_relativeSplatPath)===void 0&&KS("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function Ff(l){bt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function WU(l){let{basename:u="/",children:f=null,location:p,navigationType:v=hi.Pop,navigator:h,static:s=!1,future:E}=l;Ss()&&bt(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let b=u.replace(/^\/*/,"/"),S=B.useMemo(()=>({basename:b,navigator:h,static:s,future:hs({v7_relativeSplatPath:!1},E)}),[b,E,h,s]);typeof p=="string"&&(p=bo(p));let{pathname:_="/",search:D="",hash:w="",state:O=null,key:H="default"}=p,Q=B.useMemo(()=>{let J=gi(_,b);return J==null?null:{location:{pathname:J,search:D,hash:w,state:O,key:H},navigationType:v}},[b,_,D,w,O,H,v]);return Pa(Q!=null,'<Router basename="'+b+'"> is not able to match the URL '+('"'+_+D+w+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),Q==null?null:B.createElement($a.Provider,{value:S},B.createElement(Es.Provider,{children:f,value:Q}))}function QU(l){let{children:u,location:f}=l;return LU(gh(u),f)}new Promise(()=>{});function gh(l,u){u===void 0&&(u=[]);let f=[];return B.Children.forEach(l,(p,v)=>{if(!B.isValidElement(p))return;let h=[...u,v];if(p.type===B.Fragment){f.push.apply(f,gh(p.props.children,h));return}p.type!==Ff&&bt(!1,"["+(typeof p.type=="string"?p.type:p.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!p.props.index||!p.props.children||bt(!1,"An index route cannot have child routes.");let s={id:p.props.id||h.join("-"),caseSensitive:p.props.caseSensitive,element:p.props.element,Component:p.props.Component,index:p.props.index,path:p.props.path,loader:p.props.loader,action:p.props.action,errorElement:p.props.errorElement,ErrorBoundary:p.props.ErrorBoundary,hasErrorBoundary:p.props.ErrorBoundary!=null||p.props.errorElement!=null,shouldRevalidate:p.props.shouldRevalidate,handle:p.props.handle,lazy:p.props.lazy};p.props.children&&(s.children=gh(p.props.children,h)),f.push(s)}),f}/**
- * React Router DOM v6.30.4
- *
- * Copyright (c) Remix Software Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE.md file in the root directory of this source tree.
- *
- * @license MIT
- */function po(){return po=Object.assign?Object.assign.bind():function(l){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var p in f)({}).hasOwnProperty.call(f,p)&&(l[p]=f[p])}return l},po.apply(null,arguments)}function Dh(l,u){if(l==null)return{};var f={};for(var p in l)if({}.hasOwnProperty.call(l,p)){if(u.indexOf(p)!==-1)continue;f[p]=l[p]}return f}const Hf="get",Pf="application/x-www-form-urlencoded";function Gf(l){return l!=null&&typeof l.tagName=="string"}function KU(l){return Gf(l)&&l.tagName.toLowerCase()==="button"}function JU(l){return Gf(l)&&l.tagName.toLowerCase()==="form"}function XU(l){return Gf(l)&&l.tagName.toLowerCase()==="input"}function ZU(l){return!!(l.metaKey||l.altKey||l.ctrlKey||l.shiftKey)}function ek(l,u){return l.button===0&&(!u||u==="_self")&&!ZU(l)}let jf=null;function tk(){if(jf===null)try{new FormData(document.createElement("form"),0),jf=!1}catch{jf=!0}return jf}const nk=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function uh(l){return l!=null&&!nk.has(l)?(Pa(!1,'"'+l+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+Pf+'"')),null):l}function ak(l,u){let f,p,v,h,s;if(JU(l)){let E=l.getAttribute("action");p=E?gi(E,u):null,f=l.getAttribute("method")||Hf,v=uh(l.getAttribute("enctype"))||Pf,h=new FormData(l)}else if(KU(l)||XU(l)&&(l.type==="submit"||l.type==="image")){let E=l.form;if(E==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let b=l.getAttribute("formaction")||E.getAttribute("action");if(p=b?gi(b,u):null,f=l.getAttribute("formmethod")||E.getAttribute("method")||Hf,v=uh(l.getAttribute("formenctype"))||uh(E.getAttribute("enctype"))||Pf,h=new FormData(E,l),!tk()){let{name:S,type:_,value:D}=l;if(_==="image"){let w=S?S+".":"";h.append(w+"x","0"),h.append(w+"y","0")}else S&&h.append(S,D)}}else{if(Gf(l))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');f=Hf,p=null,v=Pf,s=l}return h&&v==="text/plain"&&(s=h,h=void 0),{action:p,method:f.toLowerCase(),encType:v,formData:h,body:s}}const rk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ik=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],lk=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],ok="6";try{window.__reactRouterVersion=ok}catch{}const EC=B.createContext({isTransitioning:!1});EC.displayName="ViewTransition";const uk=B.createContext(new Map);uk.displayName="Fetchers";const sk="startTransition",JS=eU[sk];function ck(l){let{basename:u,children:f,future:p,window:v}=l,h=B.useRef();h.current==null&&(h.current=aU({window:v,v5Compat:!0}));let s=h.current,[E,b]=B.useState({action:s.action,location:s.location}),{v7_startTransition:S}=p||{},_=B.useCallback(D=>{S&&JS?JS(()=>b(D)):b(D)},[b,S]);return B.useLayoutEffect(()=>s.listen(_),[s,_]),B.useEffect(()=>GU(p),[p]),B.createElement(WU,{basename:u,children:f,location:E.location,navigationType:E.action,navigator:s,future:p})}const fk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",dk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vo=B.forwardRef(function(u,f){let{onClick:p,relative:v,reloadDocument:h,replace:s,state:E,target:b,to:S,preventScrollReset:_,viewTransition:D}=u,w=Dh(u,rk),{basename:O}=B.useContext($a),H,Q=!1;if(typeof S=="string"&&dk.test(S)&&(H=S,fk))try{let P=new URL(window.location.href),K=S.startsWith("//")?new URL(P.protocol+S):new URL(S),Z=gi(K.pathname,O);K.origin===P.origin&&Z!=null?S=Z+K.search+K.hash:Q=!0}catch{Pa(!1,'<Link to="'+S+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let J=UU(S,{relative:v}),q=hk(S,{replace:s,state:E,target:b,preventScrollReset:_,relative:v,viewTransition:D});function z(P){p&&p(P),P.defaultPrevented||q(P)}return B.createElement("a",po({},w,{href:H||J,onClick:Q||h?p:z,ref:f,target:b}))});vo.displayName="Link";const pk=B.forwardRef(function(u,f){let{"aria-current":p="page",caseSensitive:v=!1,className:h="",end:s=!1,style:E,to:b,viewTransition:S,children:_}=u,D=Dh(u,ik),w=Cs(b,{relative:D.relative}),O=ll(),H=B.useContext(wh),{navigator:Q,basename:J}=B.useContext($a),q=H!=null&&Ck(w)&&S===!0,z=Q.encodeLocation?Q.encodeLocation(w).pathname:w.pathname,P=O.pathname,K=H&&H.navigation&&H.navigation.location?H.navigation.location.pathname:null;v||(P=P.toLowerCase(),K=K?K.toLowerCase():null,z=z.toLowerCase()),K&&J&&(K=gi(K,J)||K);const Z=z!=="/"&&z.endsWith("/")?z.length-1:z.length;let me=P===z||!s&&P.startsWith(z)&&P.charAt(Z)==="/",ce=K!=null&&(K===z||!s&&K.startsWith(z)&&K.charAt(z.length)==="/"),Ke={isActive:me,isPending:ce,isTransitioning:q},He=me?p:void 0,Pe;typeof h=="function"?Pe=h(Ke):Pe=[h,me?"active":null,ce?"pending":null,q?"transitioning":null].filter(Boolean).join(" ");let rt=typeof E=="function"?E(Ke):E;return B.createElement(vo,po({},D,{"aria-current":He,className:Pe,ref:f,style:rt,to:b,viewTransition:S}),typeof _=="function"?_(Ke):_)});pk.displayName="NavLink";const vk=B.forwardRef((l,u)=>{let{fetcherKey:f,navigate:p,reloadDocument:v,replace:h,state:s,method:E=Hf,action:b,onSubmit:S,relative:_,preventScrollReset:D,viewTransition:w}=l,O=Dh(l,lk),H=Ek(),Q=Sk(b,{relative:_}),J=E.toLowerCase()==="get"?"get":"post",q=z=>{if(S&&S(z),z.defaultPrevented)return;z.preventDefault();let P=z.nativeEvent.submitter,K=(P==null?void 0:P.getAttribute("formmethod"))||E;H(P||z.currentTarget,{fetcherKey:f,method:K,navigate:p,replace:h,state:s,relative:_,preventScrollReset:D,viewTransition:w})};return B.createElement("form",po({ref:u,method:J,action:Q,onSubmit:v?S:q},O))});vk.displayName="Form";var If;(function(l){l.UseScrollRestoration="useScrollRestoration",l.UseSubmit="useSubmit",l.UseSubmitFetcher="useSubmitFetcher",l.UseFetcher="useFetcher",l.useViewTransitionState="useViewTransitionState"})(If||(If={}));var XS;(function(l){l.UseFetcher="useFetcher",l.UseFetchers="useFetchers",l.UseScrollRestoration="useScrollRestoration"})(XS||(XS={}));function mk(l){return l+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function SC(l){let u=B.useContext(bs);return u||bt(!1,mk(l)),u}function hk(l,u){let{target:f,replace:p,state:v,preventScrollReset:h,relative:s,viewTransition:E}=u===void 0?{}:u,b=Nh(),S=ll(),_=Cs(l,{relative:s});return B.useCallback(D=>{if(ek(D,f)){D.preventDefault();let w=p!==void 0?p:ms(S)===ms(_);b(l,{replace:w,state:v,preventScrollReset:h,relative:s,viewTransition:E})}},[S,b,_,p,v,f,l,h,s,E])}function yk(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let gk=0,bk=()=>"__"+String(++gk)+"__";function Ek(){let{router:l}=SC(If.UseSubmit),{basename:u}=B.useContext($a),f=$U();return B.useCallback(function(p,v){v===void 0&&(v={}),yk();let{action:h,method:s,encType:E,formData:b,body:S}=ak(p,u);if(v.navigate===!1){let _=v.fetcherKey||bk();l.fetch(_,f,v.action||h,{preventScrollReset:v.preventScrollReset,formData:b,body:S,formMethod:v.method||s,formEncType:v.encType||E,flushSync:v.flushSync})}else l.navigate(v.action||h,{preventScrollReset:v.preventScrollReset,formData:b,body:S,formMethod:v.method||s,formEncType:v.encType||E,replace:v.replace,state:v.state,fromRouteId:f,flushSync:v.flushSync,viewTransition:v.viewTransition})},[l,u,f])}function Sk(l,u){let{relative:f}=u===void 0?{}:u,{basename:p}=B.useContext($a),v=B.useContext(sr);v||bt(!1,"useFormAction must be used inside a RouteContext");let[h]=v.matches.slice(-1),s=po({},Cs(l||".",{relative:f})),E=ll();if(l==null){s.search=E.search;let b=new URLSearchParams(s.search),S=b.getAll("index");if(S.some(D=>D==="")){b.delete("index"),S.filter(w=>w).forEach(w=>b.append("index",w));let D=b.toString();s.search=D?"?"+D:""}}return(!l||l===".")&&h.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),p!=="/"&&(s.pathname=s.pathname==="/"?p:Vr([p,s.pathname])),ms(s)}function Ck(l,u){u===void 0&&(u={});let f=B.useContext(EC);f==null&&bt(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:p}=SC(If.useViewTransitionState),v=Cs(l,{relative:u.relative});if(!f.isTransitioning)return!1;let h=gi(f.currentLocation.pathname,p)||f.currentLocation.pathname,s=gi(f.nextLocation.pathname,p)||f.nextLocation.pathname;return yh(v.pathname,s)!=null||yh(v.pathname,h)!=null}const Rk="_wrapper_divff_1",wk="_header_divff_7",Tk="_headerInner_divff_19",Nk="_logo_divff_28",xk="_newBtn_divff_34",_k="_main_divff_48",co={wrapper:Rk,header:wk,headerInner:Tk,logo:Nk,newBtn:xk,main:_k};function Dk({children:l}){const f=ll().pathname==="/";return x.jsxDEV("div",{className:co.wrapper,children:[x.jsxDEV("header",{className:co.header,children:x.jsxDEV("div",{className:co.headerInner,children:[x.jsxDEV(vo,{to:"/",className:co.logo,children:"Playable Ads"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:13,columnNumber:11},this),f&&x.jsxDEV(vo,{to:"/creatives/new",className:co.newBtn,children:"+ 新建创意"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:17,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:12,columnNumber:9},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:11,columnNumber:7},this),x.jsxDEV("main",{className:co.main,children:l},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:23,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/Layout.tsx",lineNumber:10,columnNumber:5},this)}const bh="/ads/api/v1".replace(/\/+$/,"");async function qn(l,u){var p;const f=await fetch(`${bh}${l}`,{headers:{"Content-Type":"application/json"},...u});if(!f.ok){const v=await f.json().catch(()=>({}));throw new Error(((p=v.error)==null?void 0:p.message)||`HTTP ${f.status}`)}return f.json()}const pn={getTemplates:()=>qn("/templates"),getTemplate:l=>qn(`/templates/${l}`),getCreatives:l=>{const u=l?"?"+new URLSearchParams(l).toString():"";return qn(`/creatives${u}`)},createCreative:l=>qn("/creatives",{method:"POST",body:JSON.stringify(l)}),getCreative:l=>qn(`/creatives/${l}`),updateCreative:(l,u)=>qn(`/creatives/${l}`,{method:"PATCH",body:JSON.stringify(u)}),deleteCreative:l=>qn(`/creatives/${l}`,{method:"DELETE"}),uploadAssets:(l,u)=>{const f=new FormData;return f.append("file",u),fetch(`${bh}/creatives/${l}/assets/upload`,{method:"POST",body:f}).then(p=>p.ok?p.json():p.json().then(v=>{var h;throw new Error((h=v.error)==null?void 0:h.message)}))},importFromUrl:(l,u)=>qn(`/creatives/${l}/assets/upload`,{method:"POST",body:JSON.stringify({url:u})}),uploadAssetFile:(l,u,f)=>{const p=new FormData;return p.append("file",f),fetch(`${bh}/creatives/${l}/assets/${u}`,{method:"POST",body:p}).then(v=>v.ok?v.json():v.json().then(h=>{var s;throw new Error((s=h.error)==null?void 0:s.message)}))},clearAssets:l=>qn(`/creatives/${l}/assets`,{method:"DELETE"}),startPreview:(l,u)=>qn(`/creatives/${l}/preview/start`,{method:"POST",body:u?JSON.stringify({theme:u}):void 0}),stopPreview:l=>qn(`/creatives/${l}/preview/stop`,{method:"POST"}),triggerBuild:(l,u)=>qn(`/creatives/${l}/builds`,{method:"POST",body:JSON.stringify(u)}),getBuilds:l=>qn(`/creatives/${l}/builds`),getBuildStatus:l=>qn(`/builds/${l}/status`)},Uk="_grid_stzwd_1",kk="_card_stzwd_7",Ok="_cardTitle_stzwd_21",Lk="_cardMeta_stzwd_27",Ak="_status_stzwd_35",Mk="_cardTime_stzwd_39",zk="_state_stzwd_44",jk="_empty_stzwd_50",Bk="_emptyTitle_stzwd_55",Vk="_emptyDesc_stzwd_61",Fk="_emptyBtn_stzwd_66",ga={grid:Uk,card:kk,cardTitle:Ok,cardMeta:Lk,status:Ak,cardTime:Mk,state:zk,empty:jk,emptyTitle:Bk,emptyDesc:Vk,emptyBtn:Fk};function Hk(){const[l,u]=B.useState([]),[f,p]=B.useState(!0),[v,h]=B.useState("");B.useEffect(()=>{pn.getCreatives().then(b=>u(b.data)).catch(b=>h(b.message)).finally(()=>p(!1))},[]);const s={draft:"草稿",assets_ready:"素材已就绪",building:"构建中",built:"已构建",failed:"失败"},E={draft:"#86868b",assets_ready:"#0071e3",building:"#ff9500",built:"#34c759",failed:"#ff3b30"};return f?x.jsxDEV("div",{className:ga.state,children:"加载中…"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:37,columnNumber:12},this):v?x.jsxDEV("div",{className:ga.state,children:["加载失败:",v]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:41,columnNumber:12},this):l.length===0?x.jsxDEV("div",{className:ga.empty,children:[x.jsxDEV("p",{className:ga.emptyTitle,children:"暂无创意"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:47,columnNumber:9},this),x.jsxDEV("p",{className:ga.emptyDesc,children:'点击"新建创意"开始制作 Playable 广告'},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:48,columnNumber:9},this),x.jsxDEV(vo,{to:"/creatives/new",className:ga.emptyBtn,children:"新建创意"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:49,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:46,columnNumber:7},this):x.jsxDEV("div",{className:ga.grid,children:l.map(b=>x.jsxDEV(vo,{to:`/creatives/${b.id}`,className:ga.card,children:[x.jsxDEV("h3",{className:ga.cardTitle,children:b.name},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:60,columnNumber:11},this),x.jsxDEV("div",{className:ga.cardMeta,children:[x.jsxDEV("span",{children:["模板:",b.templateName]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:62,columnNumber:13},this),x.jsxDEV("span",{className:ga.status,style:{color:E[b.status]},children:["● ",s[b.status]||b.status]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:63,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:61,columnNumber:11},this),x.jsxDEV("div",{className:ga.cardTime,children:["更新于 ",new Date(b.updatedAt).toLocaleString("zh-CN")]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:70,columnNumber:11},this)]},b.id,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:59,columnNumber:9},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:57,columnNumber:5},this)}const Pk="_container_3l872_1",$k="_back_3l872_5",Ik="_title_3l872_14",Yk="_form_3l872_20",qk="_section_3l872_26",Gk="_label_3l872_32",Wk="_input_3l872_38",Qk="_templateList_3l872_51",Kk="_templateCard_3l872_57",Jk="_selected_3l872_68",Xk="_templateInfo_3l872_77",Zk="_templateDesc_3l872_83",eO="_templateMeta_3l872_88",tO="_error_3l872_93",nO="_actions_3l872_98",aO="_cancelBtn_3l872_104",rO="_submitBtn_3l872_112",Ht={container:Pk,back:$k,title:Ik,form:Yk,section:qk,label:Gk,input:Wk,templateList:Qk,templateCard:Kk,selected:Jk,templateInfo:Xk,templateDesc:Zk,templateMeta:eO,error:tO,actions:nO,cancelBtn:aO,submitBtn:rO};function iO(){const l=Nh(),[u,f]=B.useState([]),[p,v]=B.useState("coloring"),[h,s]=B.useState(""),[E,b]=B.useState(!1),[S,_]=B.useState("");B.useEffect(()=>{pn.getTemplates().then(w=>{f(w.data),w.data.length>0&&v(w.data[0].id)}).catch(w=>_(w.message))},[]);async function D(w){if(w.preventDefault(),!!h.trim()){b(!0),_("");try{const O=await pn.createCreative({name:h.trim(),templateId:p});l(`/creatives/${O.data.id}`)}catch(O){_(O.message)}finally{b(!1)}}}return x.jsxDEV("div",{className:Ht.container,children:[x.jsxDEV("button",{onClick:()=>l(-1),className:Ht.back,children:"← 返回"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:47,columnNumber:7},this),x.jsxDEV("h2",{className:Ht.title,children:"新建创意"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:51,columnNumber:7},this),x.jsxDEV("form",{onSubmit:D,className:Ht.form,children:[x.jsxDEV("div",{className:Ht.section,children:[x.jsxDEV("label",{className:Ht.label,children:"选择模板"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:55,columnNumber:11},this),x.jsxDEV("div",{className:Ht.templateList,children:u.map(w=>x.jsxDEV("label",{className:`${Ht.templateCard} ${p===w.id?Ht.selected:""}`,children:[x.jsxDEV("input",{type:"radio",name:"template",value:w.id,checked:p===w.id,onChange:()=>v(w.id)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:64,columnNumber:17},this),x.jsxDEV("div",{className:Ht.templateInfo,children:[x.jsxDEV("strong",{children:w.name},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:72,columnNumber:19},this),x.jsxDEV("span",{className:Ht.templateDesc,children:w.description},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:73,columnNumber:19},this),x.jsxDEV("span",{className:Ht.templateMeta,children:["必填素材 ",w.assetCount.required," 项 · 可选 ",w.assetCount.optional," 项 ·"," ","支持 ",w.platforms.length," 个平台"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:74,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:71,columnNumber:17},this)]},w.id,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:58,columnNumber:15},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:56,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:54,columnNumber:9},this),x.jsxDEV("div",{className:Ht.section,children:[x.jsxDEV("label",{className:Ht.label,htmlFor:"name",children:"创意名称"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:85,columnNumber:11},this),x.jsxDEV("input",{id:"name",type:"text",className:Ht.input,placeholder:"例如:萌宠填色-谷歌渠道",value:h,onChange:w=>s(w.target.value),maxLength:100,required:!0},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:88,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:84,columnNumber:9},this),S&&x.jsxDEV("p",{className:Ht.error,children:S},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:100,columnNumber:19},this),x.jsxDEV("div",{className:Ht.actions,children:[x.jsxDEV("button",{type:"button",className:Ht.cancelBtn,onClick:()=>l(-1),children:"取消"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:103,columnNumber:11},this),x.jsxDEV("button",{type:"submit",className:Ht.submitBtn,disabled:!h.trim()||E,children:E?"创建中…":"创建"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:110,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:102,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:53,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:46,columnNumber:5},this)}const lO="_wrapper_1ycl5_1",oO="_tabs_1ycl5_8",uO="_tab_1ycl5_8",sO="_tabActive_1ycl5_31",cO="_urlRow_1ycl5_37",fO="_urlInput_1ycl5_42",dO="_urlBtn_1ycl5_56",pO="_dropZone_1ycl5_72",vO="_fileInput_1ycl5_90",mO="_dropIcon_1ycl5_94",hO="_dropText_1ycl5_98",yO="_dropHint_1ycl5_103",gO="_fileList_1ycl5_108",bO="_fileListHeader_1ycl5_114",EO="_clearBtn_1ycl5_125",SO="_fileItem_1ycl5_132",CO="_fileItemClickable_1ycl5_140",RO="_thumbLoading_1ycl5_151",wO="_replaceHint_1ycl5_161",TO="_divider_1ycl5_166",NO="_sectionLabel_1ycl5_171",xO="_thumb_1ycl5_151",_O="_fileOk_1ycl5_189",DO="_fileMissing_1ycl5_190",UO="_fileName_1ycl5_192",kO="_fileLabel_1ycl5_200",OO="_fileSize_1ycl5_206",LO="_warnings_1ycl5_211",AO="_error_1ycl5_224",MO="_hint_1ycl5_229",Le={wrapper:lO,tabs:oO,tab:uO,tabActive:sO,urlRow:cO,urlInput:fO,urlBtn:dO,dropZone:pO,fileInput:vO,dropIcon:mO,dropText:hO,dropHint:yO,fileList:gO,fileListHeader:bO,clearBtn:EO,fileItem:SO,fileItemClickable:CO,thumbLoading:RO,replaceHint:wO,divider:TO,sectionLabel:NO,thumb:xO,fileOk:_O,fileMissing:DO,fileName:UO,fileLabel:kO,fileSize:OO,warnings:LO,error:AO,hint:MO},ZS="/ads/api/v1".replace(/\/+$/,""),zO=new Set([".png",".jpg",".jpeg",".gif",".webp",".svg"]);function eC(l){const u=l.substring(l.lastIndexOf(".")).toLowerCase();return zO.has(u)}function jO({creativeId:l,assets:u,assetDefs:f,onUpdated:p}){const[v,h]=B.useState("file"),[s,E]=B.useState(!1),[b,S]=B.useState(null),[_,D]=B.useState(""),[w,O]=B.useState(null),[H,Q]=B.useState(""),J=B.useRef({});async function q(I){var $e;const _e=($e=I.target.files)==null?void 0:$e[0];if(_e){E(!0),Q(""),O(null);try{const Ie=await pn.uploadAssets(l,_e);O(Ie.data),p()}catch(Ie){Q(Ie.message)}finally{E(!1),I.target.value=""}}}async function z(){if(_.trim()){E(!0),Q(""),O(null);try{const I=await pn.importFromUrl(l,_.trim());O(I.data),p()}catch(I){Q(I.message)}finally{E(!1)}}}function P(I){var _e;(_e=J.current[I])==null||_e.click()}async function K(I,_e){var Ie;const $e=(Ie=_e.target.files)==null?void 0:Ie[0];if($e){S(I),Q("");try{await pn.uploadAssetFile(l,I,$e),p()}catch(Ne){Q(Ne.message)}finally{S(null),_e.target.value=""}}}async function Z(){if(confirm("确认清除所有素材?"))try{await pn.clearAssets(l),O(null),D(""),p()}catch(I){Q(I.message)}}const me=[...f.required,...f.optional],ce=f.required.every(I=>u.some(_e=>_e.key===I.key)),Ke=new Set(["special"]),He=f.optional.filter(I=>eC(I.file)&&!Ke.has(I.key)),Pe=new Set(He.map(I=>I.key)),rt=me.filter(I=>!Pe.has(I.key)),Xe=me.filter(I=>Pe.has(I.key));return x.jsxDEV("div",{className:Le.wrapper,children:[x.jsxDEV("div",{className:Le.tabs,children:[x.jsxDEV("button",{className:`${Le.tab} ${v==="file"?Le.tabActive:""}`,onClick:()=>h("file"),children:"上传 ZIP"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:129,columnNumber:9},this),x.jsxDEV("button",{className:`${Le.tab} ${v==="url"?Le.tabActive:""}`,onClick:()=>h("url"),children:"素材 URL"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:135,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:128,columnNumber:7},this),v==="file"&&x.jsxDEV("label",{className:Le.dropZone,children:[x.jsxDEV("input",{type:"file",accept:".zip",onChange:q,disabled:s,className:Le.fileInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:146,columnNumber:11},this),x.jsxDEV("span",{className:Le.dropIcon,children:"📦"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:153,columnNumber:11},this),x.jsxDEV("span",{className:Le.dropText,children:s?"解压中…":"拖拽或点击上传素材 zip"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:154,columnNumber:11},this),x.jsxDEV("span",{className:Le.dropHint,children:"包含 config.json + page.png + map.png ± special.jpeg"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:157,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:145,columnNumber:9},this),v==="url"&&x.jsxDEV("div",{className:Le.urlRow,children:[x.jsxDEV("input",{type:"url",className:Le.urlInput,placeholder:"https://color2.jccytech.cn/app/zh/pages/detail/6a15...",value:_,onChange:I=>D(I.target.value),disabled:s},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:166,columnNumber:11},this),x.jsxDEV("button",{onClick:z,disabled:!_.trim()||s,className:Le.urlBtn,children:s?"获取中…":"导入"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:174,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:165,columnNumber:9},this),w&&w.warnings.length>0&&x.jsxDEV("div",{className:Le.warnings,children:w.warnings.map((I,_e)=>x.jsxDEV("p",{children:["⚠️ ",I]},_e,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:188,columnNumber:13},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:186,columnNumber:9},this),H&&x.jsxDEV("p",{className:Le.error,children:H},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:193,columnNumber:17},this),x.jsxDEV("div",{className:Le.fileList,children:[x.jsxDEV("div",{className:Le.fileListHeader,children:[x.jsxDEV("span",{children:"素材文件"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:198,columnNumber:11},this),u.length>0&&x.jsxDEV("button",{onClick:Z,className:Le.clearBtn,children:"清除素材"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:200,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:197,columnNumber:9},this),x.jsxDEV("div",{className:Le.sectionLabel,children:"填色素材"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:207,columnNumber:9},this),rt.map(I=>{const _e=u.find(Ne=>Ne.key===I.key),$e=f.required.some(Ne=>Ne.key===I.key),Ie=_e&&eC(I.file);return x.jsxDEV("div",{className:Le.fileItem,children:[Ie?x.jsxDEV("img",{className:Le.thumb,src:`${ZS}/creatives/${l}/assets/${I.key}`,alt:I.label},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:216,columnNumber:17},this):x.jsxDEV("span",{className:_e?Le.fileOk:Le.fileMissing,children:_e?"✅":$e?"❌":"⬜"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:222,columnNumber:17},this),x.jsxDEV("span",{className:Le.fileName,children:I.file},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:226,columnNumber:15},this),x.jsxDEV("span",{className:Le.fileLabel,children:[I.label," ",!$e&&!_e?"(无)":$e?"":"(选填)"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:227,columnNumber:15},this),_e&&x.jsxDEV("span",{className:Le.fileSize,children:[(_e.fileSize/1024).toFixed(0)," KB"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:231,columnNumber:17},this)]},I.key,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:214,columnNumber:13},this)}),Xe.length>0&&x.jsxDEV(x.Fragment,{children:[x.jsxDEV("div",{className:Le.divider},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:242,columnNumber:13},this),x.jsxDEV("div",{className:Le.sectionLabel,children:"品牌素材 · 点击可替换"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:243,columnNumber:13},this),Xe.map(I=>{const _e=u.find(Ie=>Ie.key===I.key),$e=b===I.key;return x.jsxDEV("div",{className:`${Le.fileItem} ${Le.fileItemClickable}`,onClick:()=>P(I.key),title:"点击上传替换",children:[x.jsxDEV("input",{type:"file",accept:I.accept||".png,.jpg,.jpeg",ref:Ie=>{J.current[I.key]=Ie},onChange:Ie=>K(I.key,Ie),className:Le.fileInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:255,columnNumber:19},this),$e?x.jsxDEV("span",{className:Le.thumbLoading,children:"⏳"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:264,columnNumber:21},this):x.jsxDEV("img",{className:Le.thumb,src:`${ZS}/creatives/${l}/assets/${I.key}`,alt:I.label},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:266,columnNumber:21},this),x.jsxDEV("span",{className:Le.fileName,children:I.file},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:272,columnNumber:19},this),x.jsxDEV("span",{className:Le.fileLabel,children:[I.label,_e&&x.jsxDEV("span",{className:Le.replaceHint,children:" 🔄"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:275,columnNumber:31},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:273,columnNumber:19},this),_e&&x.jsxDEV("span",{className:Le.fileSize,children:[(_e.fileSize/1024).toFixed(0)," KB"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:278,columnNumber:21},this)]},I.key,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:249,columnNumber:17},this)})]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:241,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:196,columnNumber:7},this),!ce&&x.jsxDEV("p",{className:Le.hint,children:"请上传包含所有必填文件的 zip 包"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:290,columnNumber:9},this),!ce&&u.length>0&&x.jsxDEV("p",{className:Le.hint,children:"请上传包含所有必填文件的 zip 包"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:294,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:126,columnNumber:5},this)}const BO="_wrapper_ymyhm_1",VO="_preview_ymyhm_7",FO="_stops_ymyhm_14",HO="_stopItem_ymyhm_20",PO="_colorPicker_ymyhm_26",$O="_stopLabel_ymyhm_45",IO="_rawInput_ymyhm_51",YO="_fallback_ymyhm_65",mi={wrapper:BO,preview:VO,stops:FO,stopItem:HO,colorPicker:PO,stopLabel:$O,rawInput:IO,fallback:YO};function qO(l){const u=l.match(/linear-gradient\(([^,]+),\s*(.+)\)/);if(!u)return null;const f=u[1].trim(),p=u[2],v=[],h=p.split(/,(?![^(]*\))/);for(const s of h){const E=s.trim(),b=E.match(/^(.+?)\s+(\d+%)$/);b?v.push({color:b[1].trim(),position:b[2]}):v.push({color:E,position:""})}return{direction:f,stops:v}}function GO(l,u){const f=u.map(p=>p.position?`${p.color} ${p.position}`:p.color).join(", ");return`linear-gradient(${l}, ${f})`}function WO({value:l,onChange:u}){const f=B.useMemo(()=>qO(l),[l]);if(!f)return x.jsxDEV("input",{type:"text",value:l,onChange:v=>u(v.target.value),className:mi.fallback},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:56,columnNumber:7},this);function p(v,h){const s=f.stops.map((E,b)=>b===v?{...E,color:h}:E);u(GO(f.direction,s))}return x.jsxDEV("div",{className:mi.wrapper,children:[x.jsxDEV("div",{className:mi.preview,style:{background:l},title:l},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:75,columnNumber:7},this),x.jsxDEV("div",{className:mi.stops,children:f.stops.map((v,h)=>x.jsxDEV("div",{className:mi.stopItem,children:[x.jsxDEV("input",{type:"color",value:v.color,onChange:s=>p(h,s.target.value),className:mi.colorPicker},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:85,columnNumber:13},this),x.jsxDEV("span",{className:mi.stopLabel,children:[v.color,v.position&&` ${v.position}`]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:91,columnNumber:13},this)]},h,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:84,columnNumber:11},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:82,columnNumber:7},this),x.jsxDEV("input",{type:"text",value:l,onChange:v=>u(v.target.value),className:mi.rawInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:100,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:73,columnNumber:5},this)}const QO="_wrapper_1p2kt_1",KO="_empty_1p2kt_7",JO="_field_1p2kt_12",XO="_label_1p2kt_18",ZO="_textInput_1p2kt_24",eL="_colorRow_1p2kt_36",tL="_colorInput_1p2kt_42",nL="_colorValue_1p2kt_51",aL="_saveBtn_1p2kt_57",ur={wrapper:QO,empty:KO,field:JO,label:XO,textInput:ZO,colorRow:eL,colorInput:tL,colorValue:nL,saveBtn:aL};function rL({creativeId:l,theme:u,themeProps:f,onUpdated:p}){const[v,h]=B.useState({}),[s,E]=B.useState(!1),[b,S]=B.useState(!1);if(B.useEffect(()=>{const w={};for(const O of f)w[O.key]=u[O.key]??O.default;h(w)},[u,f]),f.length===0)return x.jsxDEV("p",{className:ur.empty,children:"此模板无可配置的主题参数。"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:29,columnNumber:12},this);const _=JSON.stringify(v)!==JSON.stringify(Object.fromEntries(f.map(w=>[w.key,u[w.key]??w.default])));async function D(){E(!0);try{await pn.updateCreative(l,{theme:v}),S(!0),setTimeout(()=>S(!1),2e3),p()}catch{}finally{E(!1)}}return x.jsxDEV("div",{className:ur.wrapper,children:[f.map(w=>x.jsxDEV("div",{className:ur.field,children:[x.jsxDEV("label",{className:ur.label,children:w.label},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:56,columnNumber:11},this),w.type==="color"?x.jsxDEV("div",{className:ur.colorRow,children:[x.jsxDEV("input",{type:"color",value:v[w.key]||w.default,onChange:O=>h(H=>({...H,[w.key]:O.target.value})),className:ur.colorInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:59,columnNumber:15},this),x.jsxDEV("span",{className:ur.colorValue,children:v[w.key]||w.default},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:67,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:58,columnNumber:13},this):w.type==="text"?x.jsxDEV("input",{type:"text",value:v[w.key]||"",maxLength:w.maxLength,onChange:O=>h(H=>({...H,[w.key]:O.target.value})),className:ur.textInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:72,columnNumber:13},this):w.type==="css-gradient"?x.jsxDEV(WO,{value:v[w.key]||w.default,onChange:O=>h(H=>({...H,[w.key]:O}))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:82,columnNumber:13},this):x.jsxDEV("input",{type:"text",value:v[w.key]||w.default,onChange:O=>h(H=>({...H,[w.key]:O.target.value})),className:ur.textInput,placeholder:w.default},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:89,columnNumber:13},this)]},w.key,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:55,columnNumber:9},this)),x.jsxDEV("button",{onClick:D,disabled:!_||s,className:ur.saveBtn,children:s?"保存中…":b?"已保存 ✓":"保存主题"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:102,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:53,columnNumber:5},this)}const iL="_wrapper_1olln_1",lL="_label_1olln_9",oL="_chip_1olln_16",uL="_on_1olln_29",sL="_checkbox_1olln_35",ds={wrapper:iL,label:lL,chip:oL,on:uL,checkbox:sL};function cL({platforms:l,selected:u,onChange:f}){const p=new Set(u);function v(h){p.has(h)?f(u.filter(s=>s!==h)):f([...u,h])}return x.jsxDEV("div",{className:ds.wrapper,children:[x.jsxDEV("span",{className:ds.label,children:"目标平台:"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PlatformSelector.tsx",lineNumber:22,columnNumber:7},this),l.map(h=>x.jsxDEV("label",{className:`${ds.chip} ${p.has(h)?ds.on:""}`,children:[x.jsxDEV("input",{type:"checkbox",checked:p.has(h),onChange:()=>v(h),className:ds.checkbox},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PlatformSelector.tsx",lineNumber:28,columnNumber:11},this),h]},h,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PlatformSelector.tsx",lineNumber:24,columnNumber:9},this))]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PlatformSelector.tsx",lineNumber:21,columnNumber:5},this)}const fL="_wrapper_ta51n_1",dL="_buildBtn_ta51n_8",pL="_spinner_ta51n_31",vL="_hint_ta51n_44",mL="_error_ta51n_49",hL="_success_ta51n_54",fo={wrapper:fL,buildBtn:dL,spinner:pL,hint:vL,error:mL,success:hL};function yL({creativeId:l,creativeStatus:u,selectedPlatforms:f,theme:p,themeProps:v,onBuildComplete:h}){const[s,E]=B.useState(!1),[b,S]=B.useState(null),[_,D]=B.useState(""),w=u==="assets_ready"||u==="built";async function O(){if(f.length===0){D("请至少选择一个目标平台");return}E(!0),D(""),S(null);try{const Q={};for(const z of v)Q[z.key]=p[z.key]??z.default;const q=(await pn.triggerBuild(l,{platforms:f,theme:Q})).data.id;S(q),await H(q),h()}catch(Q){D(Q.message)}finally{E(!1)}}async function H(Q){return new Promise((J,q)=>{const z=setInterval(async()=>{try{const P=await pn.getBuildStatus(Q);P.data.status==="completed"?(clearInterval(z),J()):P.data.status==="failed"&&(clearInterval(z),q(new Error(P.data.errorLog||"构建失败")))}catch(P){clearInterval(z),q(P)}},2e3);setTimeout(()=>{clearInterval(z),q(new Error("构建超时,请刷新查看状态"))},12e4)})}return x.jsxDEV("div",{className:fo.wrapper,children:[x.jsxDEV("button",{onClick:O,disabled:!w||s,className:fo.buildBtn,children:s?x.jsxDEV(x.Fragment,{children:[x.jsxDEV("span",{className:fo.spinner},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:99,columnNumber:13},this)," 构建中…"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:98,columnNumber:11},this):"🚀 开始构建"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:92,columnNumber:7},this),!w&&x.jsxDEV("p",{className:fo.hint,children:"请先上传素材后再构建"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:107,columnNumber:9},this),_&&x.jsxDEV("p",{className:fo.error,children:["构建失败:",_]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:110,columnNumber:22},this),b&&!s&&!_&&x.jsxDEV("p",{className:fo.success,children:"构建完成!请在下方下载产物。"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:113,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:91,columnNumber:5},this)}var Rs={},gL=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},CC={},ia={};let Uh;const bL=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];ia.getSymbolSize=function(u){if(!u)throw new Error('"version" cannot be null or undefined');if(u<1||u>40)throw new Error('"version" should be in range from 1 to 40');return u*4+17};ia.getSymbolTotalCodewords=function(u){return bL[u]};ia.getBCHDigit=function(l){let u=0;for(;l!==0;)u++,l>>>=1;return u};ia.setToSJISFunction=function(u){if(typeof u!="function")throw new Error('"toSJISFunc" is not a valid function.');Uh=u};ia.isKanjiModeEnabled=function(){return typeof Uh<"u"};ia.toSJIS=function(u){return Uh(u)};var Wf={};(function(l){l.L={bit:1},l.M={bit:0},l.Q={bit:3},l.H={bit:2};function u(f){if(typeof f!="string")throw new Error("Param is not a string");switch(f.toLowerCase()){case"l":case"low":return l.L;case"m":case"medium":return l.M;case"q":case"quartile":return l.Q;case"h":case"high":return l.H;default:throw new Error("Unknown EC Level: "+f)}}l.isValid=function(p){return p&&typeof p.bit<"u"&&p.bit>=0&&p.bit<4},l.from=function(p,v){if(l.isValid(p))return p;try{return u(p)}catch{return v}}})(Wf);function RC(){this.buffer=[],this.length=0}RC.prototype={get:function(l){const u=Math.floor(l/8);return(this.buffer[u]>>>7-l%8&1)===1},put:function(l,u){for(let f=0;f<u;f++)this.putBit((l>>>u-f-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(l){const u=Math.floor(this.length/8);this.buffer.length<=u&&this.buffer.push(0),l&&(this.buffer[u]|=128>>>this.length%8),this.length++}};var EL=RC;function ws(l){if(!l||l<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=l,this.data=new Uint8Array(l*l),this.reservedBit=new Uint8Array(l*l)}ws.prototype.set=function(l,u,f,p){const v=l*this.size+u;this.data[v]=f,p&&(this.reservedBit[v]=!0)};ws.prototype.get=function(l,u){return this.data[l*this.size+u]};ws.prototype.xor=function(l,u,f){this.data[l*this.size+u]^=f};ws.prototype.isReserved=function(l,u){return this.reservedBit[l*this.size+u]};var SL=ws,wC={};(function(l){const u=ia.getSymbolSize;l.getRowColCoords=function(p){if(p===1)return[];const v=Math.floor(p/7)+2,h=u(p),s=h===145?26:Math.ceil((h-13)/(2*v-2))*2,E=[h-7];for(let b=1;b<v-1;b++)E[b]=E[b-1]-s;return E.push(6),E.reverse()},l.getPositions=function(p){const v=[],h=l.getRowColCoords(p),s=h.length;for(let E=0;E<s;E++)for(let b=0;b<s;b++)E===0&&b===0||E===0&&b===s-1||E===s-1&&b===0||v.push([h[E],h[b]]);return v}})(wC);var TC={};const CL=ia.getSymbolSize,tC=7;TC.getPositions=function(u){const f=CL(u);return[[0,0],[f-tC,0],[0,f-tC]]};var NC={};(function(l){l.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const u={N1:3,N2:3,N3:40,N4:10};l.isValid=function(v){return v!=null&&v!==""&&!isNaN(v)&&v>=0&&v<=7},l.from=function(v){return l.isValid(v)?parseInt(v,10):void 0},l.getPenaltyN1=function(v){const h=v.size;let s=0,E=0,b=0,S=null,_=null;for(let D=0;D<h;D++){E=b=0,S=_=null;for(let w=0;w<h;w++){let O=v.get(D,w);O===S?E++:(E>=5&&(s+=u.N1+(E-5)),S=O,E=1),O=v.get(w,D),O===_?b++:(b>=5&&(s+=u.N1+(b-5)),_=O,b=1)}E>=5&&(s+=u.N1+(E-5)),b>=5&&(s+=u.N1+(b-5))}return s},l.getPenaltyN2=function(v){const h=v.size;let s=0;for(let E=0;E<h-1;E++)for(let b=0;b<h-1;b++){const S=v.get(E,b)+v.get(E,b+1)+v.get(E+1,b)+v.get(E+1,b+1);(S===4||S===0)&&s++}return s*u.N2},l.getPenaltyN3=function(v){const h=v.size;let s=0,E=0,b=0;for(let S=0;S<h;S++){E=b=0;for(let _=0;_<h;_++)E=E<<1&2047|v.get(S,_),_>=10&&(E===1488||E===93)&&s++,b=b<<1&2047|v.get(_,S),_>=10&&(b===1488||b===93)&&s++}return s*u.N3},l.getPenaltyN4=function(v){let h=0;const s=v.data.length;for(let b=0;b<s;b++)h+=v.data[b];return Math.abs(Math.ceil(h*100/s/5)-10)*u.N4};function f(p,v,h){switch(p){case l.Patterns.PATTERN000:return(v+h)%2===0;case l.Patterns.PATTERN001:return v%2===0;case l.Patterns.PATTERN010:return h%3===0;case l.Patterns.PATTERN011:return(v+h)%3===0;case l.Patterns.PATTERN100:return(Math.floor(v/2)+Math.floor(h/3))%2===0;case l.Patterns.PATTERN101:return v*h%2+v*h%3===0;case l.Patterns.PATTERN110:return(v*h%2+v*h%3)%2===0;case l.Patterns.PATTERN111:return(v*h%3+(v+h)%2)%2===0;default:throw new Error("bad maskPattern:"+p)}}l.applyMask=function(v,h){const s=h.size;for(let E=0;E<s;E++)for(let b=0;b<s;b++)h.isReserved(b,E)||h.xor(b,E,f(v,b,E))},l.getBestMask=function(v,h){const s=Object.keys(l.Patterns).length;let E=0,b=1/0;for(let S=0;S<s;S++){h(S),l.applyMask(S,v);const _=l.getPenaltyN1(v)+l.getPenaltyN2(v)+l.getPenaltyN3(v)+l.getPenaltyN4(v);l.applyMask(S,v),_<b&&(b=_,E=S)}return E}})(NC);var Qf={};const yi=Wf,Bf=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Vf=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];Qf.getBlocksCount=function(u,f){switch(f){case yi.L:return Bf[(u-1)*4+0];case yi.M:return Bf[(u-1)*4+1];case yi.Q:return Bf[(u-1)*4+2];case yi.H:return Bf[(u-1)*4+3];default:return}};Qf.getTotalCodewordsCount=function(u,f){switch(f){case yi.L:return Vf[(u-1)*4+0];case yi.M:return Vf[(u-1)*4+1];case yi.Q:return Vf[(u-1)*4+2];case yi.H:return Vf[(u-1)*4+3];default:return}};var xC={},Kf={};const ps=new Uint8Array(512),Yf=new Uint8Array(256);(function(){let u=1;for(let f=0;f<255;f++)ps[f]=u,Yf[u]=f,u<<=1,u&256&&(u^=285);for(let f=255;f<512;f++)ps[f]=ps[f-255]})();Kf.log=function(u){if(u<1)throw new Error("log("+u+")");return Yf[u]};Kf.exp=function(u){return ps[u]};Kf.mul=function(u,f){return u===0||f===0?0:ps[Yf[u]+Yf[f]]};(function(l){const u=Kf;l.mul=function(p,v){const h=new Uint8Array(p.length+v.length-1);for(let s=0;s<p.length;s++)for(let E=0;E<v.length;E++)h[s+E]^=u.mul(p[s],v[E]);return h},l.mod=function(p,v){let h=new Uint8Array(p);for(;h.length-v.length>=0;){const s=h[0];for(let b=0;b<v.length;b++)h[b]^=u.mul(v[b],s);let E=0;for(;E<h.length&&h[E]===0;)E++;h=h.slice(E)}return h},l.generateECPolynomial=function(p){let v=new Uint8Array([1]);for(let h=0;h<p;h++)v=l.mul(v,new Uint8Array([1,u.exp(h)]));return v}})(xC);const _C=xC;function kh(l){this.genPoly=void 0,this.degree=l,this.degree&&this.initialize(this.degree)}kh.prototype.initialize=function(u){this.degree=u,this.genPoly=_C.generateECPolynomial(this.degree)};kh.prototype.encode=function(u){if(!this.genPoly)throw new Error("Encoder not initialized");const f=new Uint8Array(u.length+this.degree);f.set(u);const p=_C.mod(f,this.genPoly),v=this.degree-p.length;if(v>0){const h=new Uint8Array(this.degree);return h.set(p,v),h}return p};var RL=kh,DC={},bi={},Oh={};Oh.isValid=function(u){return!isNaN(u)&&u>=1&&u<=40};var cr={};const UC="[0-9]+",wL="[A-Z $%*+\\-./:]+";let gs="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";gs=gs.replace(/u/g,"\\u");const TL="(?:(?![A-Z0-9 $%*+\\-./:]|"+gs+`)(?:.|[\r
- ]))+`;cr.KANJI=new RegExp(gs,"g");cr.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");cr.BYTE=new RegExp(TL,"g");cr.NUMERIC=new RegExp(UC,"g");cr.ALPHANUMERIC=new RegExp(wL,"g");const NL=new RegExp("^"+gs+"$"),xL=new RegExp("^"+UC+"$"),_L=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");cr.testKanji=function(u){return NL.test(u)};cr.testNumeric=function(u){return xL.test(u)};cr.testAlphanumeric=function(u){return _L.test(u)};(function(l){const u=Oh,f=cr;l.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},l.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},l.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},l.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},l.MIXED={bit:-1},l.getCharCountIndicator=function(h,s){if(!h.ccBits)throw new Error("Invalid mode: "+h);if(!u.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?h.ccBits[0]:s<27?h.ccBits[1]:h.ccBits[2]},l.getBestModeForData=function(h){return f.testNumeric(h)?l.NUMERIC:f.testAlphanumeric(h)?l.ALPHANUMERIC:f.testKanji(h)?l.KANJI:l.BYTE},l.toString=function(h){if(h&&h.id)return h.id;throw new Error("Invalid mode")},l.isValid=function(h){return h&&h.bit&&h.ccBits};function p(v){if(typeof v!="string")throw new Error("Param is not a string");switch(v.toLowerCase()){case"numeric":return l.NUMERIC;case"alphanumeric":return l.ALPHANUMERIC;case"kanji":return l.KANJI;case"byte":return l.BYTE;default:throw new Error("Unknown mode: "+v)}}l.from=function(h,s){if(l.isValid(h))return h;try{return p(h)}catch{return s}}})(bi);(function(l){const u=ia,f=Qf,p=Wf,v=bi,h=Oh,s=7973,E=u.getBCHDigit(s);function b(w,O,H){for(let Q=1;Q<=40;Q++)if(O<=l.getCapacity(Q,H,w))return Q}function S(w,O){return v.getCharCountIndicator(w,O)+4}function _(w,O){let H=0;return w.forEach(function(Q){const J=S(Q.mode,O);H+=J+Q.getBitsLength()}),H}function D(w,O){for(let H=1;H<=40;H++)if(_(w,H)<=l.getCapacity(H,O,v.MIXED))return H}l.from=function(O,H){return h.isValid(O)?parseInt(O,10):H},l.getCapacity=function(O,H,Q){if(!h.isValid(O))throw new Error("Invalid QR Code version");typeof Q>"u"&&(Q=v.BYTE);const J=u.getSymbolTotalCodewords(O),q=f.getTotalCodewordsCount(O,H),z=(J-q)*8;if(Q===v.MIXED)return z;const P=z-S(Q,O);switch(Q){case v.NUMERIC:return Math.floor(P/10*3);case v.ALPHANUMERIC:return Math.floor(P/11*2);case v.KANJI:return Math.floor(P/13);case v.BYTE:default:return Math.floor(P/8)}},l.getBestVersionForData=function(O,H){let Q;const J=p.from(H,p.M);if(Array.isArray(O)){if(O.length>1)return D(O,J);if(O.length===0)return 1;Q=O[0]}else Q=O;return b(Q.mode,Q.getLength(),J)},l.getEncodedBits=function(O){if(!h.isValid(O)||O<7)throw new Error("Invalid QR Code version");let H=O<<12;for(;u.getBCHDigit(H)-E>=0;)H^=s<<u.getBCHDigit(H)-E;return O<<12|H}})(DC);var kC={};const Eh=ia,OC=1335,DL=21522,nC=Eh.getBCHDigit(OC);kC.getEncodedBits=function(u,f){const p=u.bit<<3|f;let v=p<<10;for(;Eh.getBCHDigit(v)-nC>=0;)v^=OC<<Eh.getBCHDigit(v)-nC;return(p<<10|v)^DL};var LC={};const UL=bi;function mo(l){this.mode=UL.NUMERIC,this.data=l.toString()}mo.getBitsLength=function(u){return 10*Math.floor(u/3)+(u%3?u%3*3+1:0)};mo.prototype.getLength=function(){return this.data.length};mo.prototype.getBitsLength=function(){return mo.getBitsLength(this.data.length)};mo.prototype.write=function(u){let f,p,v;for(f=0;f+3<=this.data.length;f+=3)p=this.data.substr(f,3),v=parseInt(p,10),u.put(v,10);const h=this.data.length-f;h>0&&(p=this.data.substr(f),v=parseInt(p,10),u.put(v,h*3+1))};var kL=mo;const OL=bi,sh=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function ho(l){this.mode=OL.ALPHANUMERIC,this.data=l}ho.getBitsLength=function(u){return 11*Math.floor(u/2)+6*(u%2)};ho.prototype.getLength=function(){return this.data.length};ho.prototype.getBitsLength=function(){return ho.getBitsLength(this.data.length)};ho.prototype.write=function(u){let f;for(f=0;f+2<=this.data.length;f+=2){let p=sh.indexOf(this.data[f])*45;p+=sh.indexOf(this.data[f+1]),u.put(p,11)}this.data.length%2&&u.put(sh.indexOf(this.data[f]),6)};var LL=ho;const AL=bi;function yo(l){this.mode=AL.BYTE,typeof l=="string"?this.data=new TextEncoder().encode(l):this.data=new Uint8Array(l)}yo.getBitsLength=function(u){return u*8};yo.prototype.getLength=function(){return this.data.length};yo.prototype.getBitsLength=function(){return yo.getBitsLength(this.data.length)};yo.prototype.write=function(l){for(let u=0,f=this.data.length;u<f;u++)l.put(this.data[u],8)};var ML=yo;const zL=bi,jL=ia;function go(l){this.mode=zL.KANJI,this.data=l}go.getBitsLength=function(u){return u*13};go.prototype.getLength=function(){return this.data.length};go.prototype.getBitsLength=function(){return go.getBitsLength(this.data.length)};go.prototype.write=function(l){let u;for(u=0;u<this.data.length;u++){let f=jL.toSJIS(this.data[u]);if(f>=33088&&f<=40956)f-=33088;else if(f>=57408&&f<=60351)f-=49472;else throw new Error("Invalid SJIS character: "+this.data[u]+`
- Make sure your charset is UTF-8`);f=(f>>>8&255)*192+(f&255),l.put(f,13)}};var BL=go,AC={exports:{}};(function(l){var u={single_source_shortest_paths:function(f,p,v){var h={},s={};s[p]=0;var E=u.PriorityQueue.make();E.push(p,0);for(var b,S,_,D,w,O,H,Q,J;!E.empty();){b=E.pop(),S=b.value,D=b.cost,w=f[S]||{};for(_ in w)w.hasOwnProperty(_)&&(O=w[_],H=D+O,Q=s[_],J=typeof s[_]>"u",(J||Q>H)&&(s[_]=H,E.push(_,H),h[_]=S))}if(typeof v<"u"&&typeof s[v]>"u"){var q=["Could not find a path from ",p," to ",v,"."].join("");throw new Error(q)}return h},extract_shortest_path_from_predecessor_list:function(f,p){for(var v=[],h=p;h;)v.push(h),f[h],h=f[h];return v.reverse(),v},find_path:function(f,p,v){var h=u.single_source_shortest_paths(f,p,v);return u.extract_shortest_path_from_predecessor_list(h,v)},PriorityQueue:{make:function(f){var p=u.PriorityQueue,v={},h;f=f||{};for(h in p)p.hasOwnProperty(h)&&(v[h]=p[h]);return v.queue=[],v.sorter=f.sorter||p.default_sorter,v},default_sorter:function(f,p){return f.cost-p.cost},push:function(f,p){var v={value:f,cost:p};this.queue.push(v),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};l.exports=u})(AC);var VL=AC.exports;(function(l){const u=bi,f=kL,p=LL,v=ML,h=BL,s=cr,E=ia,b=VL;function S(q){return unescape(encodeURIComponent(q)).length}function _(q,z,P){const K=[];let Z;for(;(Z=q.exec(P))!==null;)K.push({data:Z[0],index:Z.index,mode:z,length:Z[0].length});return K}function D(q){const z=_(s.NUMERIC,u.NUMERIC,q),P=_(s.ALPHANUMERIC,u.ALPHANUMERIC,q);let K,Z;return E.isKanjiModeEnabled()?(K=_(s.BYTE,u.BYTE,q),Z=_(s.KANJI,u.KANJI,q)):(K=_(s.BYTE_KANJI,u.BYTE,q),Z=[]),z.concat(P,K,Z).sort(function(ce,Ke){return ce.index-Ke.index}).map(function(ce){return{data:ce.data,mode:ce.mode,length:ce.length}})}function w(q,z){switch(z){case u.NUMERIC:return f.getBitsLength(q);case u.ALPHANUMERIC:return p.getBitsLength(q);case u.KANJI:return h.getBitsLength(q);case u.BYTE:return v.getBitsLength(q)}}function O(q){return q.reduce(function(z,P){const K=z.length-1>=0?z[z.length-1]:null;return K&&K.mode===P.mode?(z[z.length-1].data+=P.data,z):(z.push(P),z)},[])}function H(q){const z=[];for(let P=0;P<q.length;P++){const K=q[P];switch(K.mode){case u.NUMERIC:z.push([K,{data:K.data,mode:u.ALPHANUMERIC,length:K.length},{data:K.data,mode:u.BYTE,length:K.length}]);break;case u.ALPHANUMERIC:z.push([K,{data:K.data,mode:u.BYTE,length:K.length}]);break;case u.KANJI:z.push([K,{data:K.data,mode:u.BYTE,length:S(K.data)}]);break;case u.BYTE:z.push([{data:K.data,mode:u.BYTE,length:S(K.data)}])}}return z}function Q(q,z){const P={},K={start:{}};let Z=["start"];for(let me=0;me<q.length;me++){const ce=q[me],Ke=[];for(let He=0;He<ce.length;He++){const Pe=ce[He],rt=""+me+He;Ke.push(rt),P[rt]={node:Pe,lastCount:0},K[rt]={};for(let Xe=0;Xe<Z.length;Xe++){const I=Z[Xe];P[I]&&P[I].node.mode===Pe.mode?(K[I][rt]=w(P[I].lastCount+Pe.length,Pe.mode)-w(P[I].lastCount,Pe.mode),P[I].lastCount+=Pe.length):(P[I]&&(P[I].lastCount=Pe.length),K[I][rt]=w(Pe.length,Pe.mode)+4+u.getCharCountIndicator(Pe.mode,z))}}Z=Ke}for(let me=0;me<Z.length;me++)K[Z[me]].end=0;return{map:K,table:P}}function J(q,z){let P;const K=u.getBestModeForData(q);if(P=u.from(z,K),P!==u.BYTE&&P.bit<K.bit)throw new Error('"'+q+'" cannot be encoded with mode '+u.toString(P)+`.
- Suggested mode is: `+u.toString(K));switch(P===u.KANJI&&!E.isKanjiModeEnabled()&&(P=u.BYTE),P){case u.NUMERIC:return new f(q);case u.ALPHANUMERIC:return new p(q);case u.KANJI:return new h(q);case u.BYTE:return new v(q)}}l.fromArray=function(z){return z.reduce(function(P,K){return typeof K=="string"?P.push(J(K,null)):K.data&&P.push(J(K.data,K.mode)),P},[])},l.fromString=function(z,P){const K=D(z,E.isKanjiModeEnabled()),Z=H(K),me=Q(Z,P),ce=b.find_path(me.map,"start","end"),Ke=[];for(let He=1;He<ce.length-1;He++)Ke.push(me.table[ce[He]].node);return l.fromArray(O(Ke))},l.rawSplit=function(z){return l.fromArray(D(z,E.isKanjiModeEnabled()))}})(LC);const Jf=ia,ch=Wf,FL=EL,HL=SL,PL=wC,$L=TC,Sh=NC,Ch=Qf,IL=RL,qf=DC,YL=kC,qL=bi,fh=LC;function GL(l,u){const f=l.size,p=$L.getPositions(u);for(let v=0;v<p.length;v++){const h=p[v][0],s=p[v][1];for(let E=-1;E<=7;E++)if(!(h+E<=-1||f<=h+E))for(let b=-1;b<=7;b++)s+b<=-1||f<=s+b||(E>=0&&E<=6&&(b===0||b===6)||b>=0&&b<=6&&(E===0||E===6)||E>=2&&E<=4&&b>=2&&b<=4?l.set(h+E,s+b,!0,!0):l.set(h+E,s+b,!1,!0))}}function WL(l){const u=l.size;for(let f=8;f<u-8;f++){const p=f%2===0;l.set(f,6,p,!0),l.set(6,f,p,!0)}}function QL(l,u){const f=PL.getPositions(u);for(let p=0;p<f.length;p++){const v=f[p][0],h=f[p][1];for(let s=-2;s<=2;s++)for(let E=-2;E<=2;E++)s===-2||s===2||E===-2||E===2||s===0&&E===0?l.set(v+s,h+E,!0,!0):l.set(v+s,h+E,!1,!0)}}function KL(l,u){const f=l.size,p=qf.getEncodedBits(u);let v,h,s;for(let E=0;E<18;E++)v=Math.floor(E/3),h=E%3+f-8-3,s=(p>>E&1)===1,l.set(v,h,s,!0),l.set(h,v,s,!0)}function dh(l,u,f){const p=l.size,v=YL.getEncodedBits(u,f);let h,s;for(h=0;h<15;h++)s=(v>>h&1)===1,h<6?l.set(h,8,s,!0):h<8?l.set(h+1,8,s,!0):l.set(p-15+h,8,s,!0),h<8?l.set(8,p-h-1,s,!0):h<9?l.set(8,15-h-1+1,s,!0):l.set(8,15-h-1,s,!0);l.set(p-8,8,1,!0)}function JL(l,u){const f=l.size;let p=-1,v=f-1,h=7,s=0;for(let E=f-1;E>0;E-=2)for(E===6&&E--;;){for(let b=0;b<2;b++)if(!l.isReserved(v,E-b)){let S=!1;s<u.length&&(S=(u[s]>>>h&1)===1),l.set(v,E-b,S),h--,h===-1&&(s++,h=7)}if(v+=p,v<0||f<=v){v-=p,p=-p;break}}}function XL(l,u,f){const p=new FL;f.forEach(function(b){p.put(b.mode.bit,4),p.put(b.getLength(),qL.getCharCountIndicator(b.mode,l)),b.write(p)});const v=Jf.getSymbolTotalCodewords(l),h=Ch.getTotalCodewordsCount(l,u),s=(v-h)*8;for(p.getLengthInBits()+4<=s&&p.put(0,4);p.getLengthInBits()%8!==0;)p.putBit(0);const E=(s-p.getLengthInBits())/8;for(let b=0;b<E;b++)p.put(b%2?17:236,8);return ZL(p,l,u)}function ZL(l,u,f){const p=Jf.getSymbolTotalCodewords(u),v=Ch.getTotalCodewordsCount(u,f),h=p-v,s=Ch.getBlocksCount(u,f),E=p%s,b=s-E,S=Math.floor(p/s),_=Math.floor(h/s),D=_+1,w=S-_,O=new IL(w);let H=0;const Q=new Array(s),J=new Array(s);let q=0;const z=new Uint8Array(l.buffer);for(let ce=0;ce<s;ce++){const Ke=ce<b?_:D;Q[ce]=z.slice(H,H+Ke),J[ce]=O.encode(Q[ce]),H+=Ke,q=Math.max(q,Ke)}const P=new Uint8Array(p);let K=0,Z,me;for(Z=0;Z<q;Z++)for(me=0;me<s;me++)Z<Q[me].length&&(P[K++]=Q[me][Z]);for(Z=0;Z<w;Z++)for(me=0;me<s;me++)P[K++]=J[me][Z];return P}function eA(l,u,f,p){let v;if(Array.isArray(l))v=fh.fromArray(l);else if(typeof l=="string"){let S=u;if(!S){const _=fh.rawSplit(l);S=qf.getBestVersionForData(_,f)}v=fh.fromString(l,S||40)}else throw new Error("Invalid data");const h=qf.getBestVersionForData(v,f);if(!h)throw new Error("The amount of data is too big to be stored in a QR Code");if(!u)u=h;else if(u<h)throw new Error(`
- The chosen QR Code version cannot contain this amount of data.
- Minimum version required to store current data is: `+h+`.
- `);const s=XL(u,f,v),E=Jf.getSymbolSize(u),b=new HL(E);return GL(b,u),WL(b),QL(b,u),dh(b,f,0),u>=7&&KL(b,u),JL(b,s),isNaN(p)&&(p=Sh.getBestMask(b,dh.bind(null,b,f))),Sh.applyMask(p,b),dh(b,f,p),{modules:b,version:u,errorCorrectionLevel:f,maskPattern:p,segments:v}}CC.create=function(u,f){if(typeof u>"u"||u==="")throw new Error("No input text");let p=ch.M,v,h;return typeof f<"u"&&(p=ch.from(f.errorCorrectionLevel,ch.M),v=qf.from(f.version),h=Sh.from(f.maskPattern),f.toSJISFunc&&Jf.setToSJISFunction(f.toSJISFunc)),eA(u,v,p,h)};var MC={},Lh={};(function(l){function u(f){if(typeof f=="number"&&(f=f.toString()),typeof f!="string")throw new Error("Color should be defined as hex string");let p=f.slice().replace("#","").split("");if(p.length<3||p.length===5||p.length>8)throw new Error("Invalid hex color: "+f);(p.length===3||p.length===4)&&(p=Array.prototype.concat.apply([],p.map(function(h){return[h,h]}))),p.length===6&&p.push("F","F");const v=parseInt(p.join(""),16);return{r:v>>24&255,g:v>>16&255,b:v>>8&255,a:v&255,hex:"#"+p.slice(0,6).join("")}}l.getOptions=function(p){p||(p={}),p.color||(p.color={});const v=typeof p.margin>"u"||p.margin===null||p.margin<0?4:p.margin,h=p.width&&p.width>=21?p.width:void 0,s=p.scale||4;return{width:h,scale:h?4:s,margin:v,color:{dark:u(p.color.dark||"#000000ff"),light:u(p.color.light||"#ffffffff")},type:p.type,rendererOpts:p.rendererOpts||{}}},l.getScale=function(p,v){return v.width&&v.width>=p+v.margin*2?v.width/(p+v.margin*2):v.scale},l.getImageWidth=function(p,v){const h=l.getScale(p,v);return Math.floor((p+v.margin*2)*h)},l.qrToImageData=function(p,v,h){const s=v.modules.size,E=v.modules.data,b=l.getScale(s,h),S=Math.floor((s+h.margin*2)*b),_=h.margin*b,D=[h.color.light,h.color.dark];for(let w=0;w<S;w++)for(let O=0;O<S;O++){let H=(w*S+O)*4,Q=h.color.light;if(w>=_&&O>=_&&w<S-_&&O<S-_){const J=Math.floor((w-_)/b),q=Math.floor((O-_)/b);Q=D[E[J*s+q]?1:0]}p[H++]=Q.r,p[H++]=Q.g,p[H++]=Q.b,p[H]=Q.a}}})(Lh);(function(l){const u=Lh;function f(v,h,s){v.clearRect(0,0,h.width,h.height),h.style||(h.style={}),h.height=s,h.width=s,h.style.height=s+"px",h.style.width=s+"px"}function p(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}l.render=function(h,s,E){let b=E,S=s;typeof b>"u"&&(!s||!s.getContext)&&(b=s,s=void 0),s||(S=p()),b=u.getOptions(b);const _=u.getImageWidth(h.modules.size,b),D=S.getContext("2d"),w=D.createImageData(_,_);return u.qrToImageData(w.data,h,b),f(D,S,_),D.putImageData(w,0,0),S},l.renderToDataURL=function(h,s,E){let b=E;typeof b>"u"&&(!s||!s.getContext)&&(b=s,s=void 0),b||(b={});const S=l.render(h,s,b),_=b.type||"image/png",D=b.rendererOpts||{};return S.toDataURL(_,D.quality)}})(MC);var zC={};const tA=Lh;function aC(l,u){const f=l.a/255,p=u+'="'+l.hex+'"';return f<1?p+" "+u+'-opacity="'+f.toFixed(2).slice(1)+'"':p}function ph(l,u,f){let p=l+u;return typeof f<"u"&&(p+=" "+f),p}function nA(l,u,f){let p="",v=0,h=!1,s=0;for(let E=0;E<l.length;E++){const b=Math.floor(E%u),S=Math.floor(E/u);!b&&!h&&(h=!0),l[E]?(s++,E>0&&b>0&&l[E-1]||(p+=h?ph("M",b+f,.5+S+f):ph("m",v,0),v=0,h=!1),b+1<u&&l[E+1]||(p+=ph("h",s),s=0)):v++}return p}zC.render=function(u,f,p){const v=tA.getOptions(f),h=u.modules.size,s=u.modules.data,E=h+v.margin*2,b=v.color.light.a?"<path "+aC(v.color.light,"fill")+' d="M0 0h'+E+"v"+E+'H0z"/>':"",S="<path "+aC(v.color.dark,"stroke")+' d="'+nA(s,h,v.margin)+'"/>',_='viewBox="0 0 '+E+" "+E+'"',w='<svg xmlns="http://www.w3.org/2000/svg" '+(v.width?'width="'+v.width+'" height="'+v.width+'" ':"")+_+' shape-rendering="crispEdges">'+b+S+`</svg>
- `;return typeof p=="function"&&p(null,w),w};const aA=gL,Rh=CC,jC=MC,rA=zC;function Ah(l,u,f,p,v){const h=[].slice.call(arguments,1),s=h.length,E=typeof h[s-1]=="function";if(!E&&!aA())throw new Error("Callback required as last argument");if(E){if(s<2)throw new Error("Too few arguments provided");s===2?(v=f,f=u,u=p=void 0):s===3&&(u.getContext&&typeof v>"u"?(v=p,p=void 0):(v=p,p=f,f=u,u=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(f=u,u=p=void 0):s===2&&!u.getContext&&(p=f,f=u,u=void 0),new Promise(function(b,S){try{const _=Rh.create(f,p);b(l(_,u,p))}catch(_){S(_)}})}try{const b=Rh.create(f,p);v(null,l(b,u,p))}catch(b){v(b)}}Rs.create=Rh.create;Rs.toCanvas=Ah.bind(null,jC.render);Rs.toDataURL=Ah.bind(null,jC.renderToDataURL);Rs.toString=Ah.bind(null,function(l,u,f){return rA.render(l,f)});const iA="_wrapper_1900w_1",lA="_title_1900w_5",oA="_empty_1900w_12",uA="_list_1900w_18",sA="_item_1900w_24",cA="_itemInfo_1900w_31",fA="_status_1900w_39",dA="_platforms_1900w_43",pA="_platformTag_1900w_48",vA="_time_1900w_57",mA="_downloads_1900w_63",hA="_downloadLink_1900w_70",yA="_downloadAll_1900w_85",gA="_errorLog_1900w_93",bA="_qrSection_1900w_100",EA="_qrLabel_1900w_106",SA="_qrRow_1900w_113",CA="_qrCode_1900w_119",RA="_qrLoading_1900w_127",wA="_qrUrl_1900w_140",Dt={wrapper:iA,title:lA,empty:oA,list:uA,item:sA,itemInfo:cA,status:fA,platforms:dA,platformTag:pA,time:vA,downloads:mA,downloadLink:hA,downloadAll:yA,errorLog:gA,qrSection:bA,qrLabel:EA,qrRow:SA,qrCode:CA,qrLoading:RA,qrUrl:wA};function TA({creativeId:l,builds:u,onUpdated:f}){const[p,v]=B.useState(u),[h,s]=B.useState({});B.useEffect(()=>{v(u)},[u]),B.useEffect(()=>{if(!p.some(D=>D.status==="building"||D.status==="pending"))return;const _=setInterval(()=>{pn.getBuilds(l).then(D=>{v(D.data),f()})},5e3);return()=>clearInterval(_)},[p,l,f]),B.useEffect(()=>{p.forEach(S=>{if(S.status==="completed"&&S.previewUrl&&!h[S.id]){const _=window.location.origin+S.previewUrl;Rs.toDataURL(_,{width:160,margin:1,color:{dark:"#000",light:"#fff"}}).then(D=>s(w=>({...w,[S.id]:D}))).catch(()=>{})}})},[p,h]);const E={pending:"等待中",building:"构建中",completed:"完成",failed:"失败"},b={pending:"⏳",building:"🔄",completed:"✅",failed:"❌"};return p.length===0?x.jsxDEV("p",{className:Dt.empty,children:"暂无构建记录"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:67,columnNumber:12},this):x.jsxDEV("div",{className:Dt.wrapper,children:[x.jsxDEV("h3",{className:Dt.title,children:"构建历史"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:72,columnNumber:7},this),x.jsxDEV("div",{className:Dt.list,children:p.map(S=>x.jsxDEV("div",{className:Dt.item,children:[x.jsxDEV("div",{className:Dt.itemInfo,children:[x.jsxDEV("span",{className:Dt.status,children:[b[S.status]," ",E[S.status]]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:77,columnNumber:15},this),x.jsxDEV("span",{className:Dt.platforms,children:S.platforms.map(_=>x.jsxDEV("span",{className:Dt.platformTag,children:_},_,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:82,columnNumber:19},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:80,columnNumber:15},this),x.jsxDEV("span",{className:Dt.time,children:new Date(S.createdAt).toLocaleString("zh-CN")},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:85,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:76,columnNumber:13},this),S.status==="completed"&&x.jsxDEV(x.Fragment,{children:[S.previewUrl&&x.jsxDEV("div",{className:Dt.qrSection,children:[x.jsxDEV("div",{className:Dt.qrLabel,children:"📱 真机扫码预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:95,columnNumber:21},this),x.jsxDEV("div",{className:Dt.qrRow,children:[h[S.id]?x.jsxDEV("img",{className:Dt.qrCode,src:h[S.id],alt:"扫码预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:98,columnNumber:25},this):x.jsxDEV("div",{className:Dt.qrLoading,children:"生成中…"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:104,columnNumber:25},this),x.jsxDEV("div",{className:Dt.qrUrl,children:x.jsxDEV("code",{children:[window.location.origin,S.previewUrl]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:107,columnNumber:25},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:106,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:96,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:94,columnNumber:19},this),S.results&&x.jsxDEV("div",{className:Dt.downloads,children:[S.results.map(_=>x.jsxDEV("a",{href:`/ads/api/v1/builds/${S.id}/download/${_.platform}`,className:Dt.downloadLink,download:!0,children:[_.platform," ↓ (",(_.fileSize/1024).toFixed(0)," KB)"]},_.platform,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:117,columnNumber:23},this)),x.jsxDEV("a",{href:`/ads/api/v1/builds/${S.id}/download/all`,className:Dt.downloadAll,download:!0,children:"全部 ZIP ↓"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:126,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:115,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:91,columnNumber:15},this),S.status==="failed"&&S.errorLog&&x.jsxDEV("p",{className:Dt.errorLog,children:S.errorLog},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:139,columnNumber:15},this)]},S.id,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:75,columnNumber:11},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:73,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:71,columnNumber:5},this)}const NA="_wrapper_1fdka_1",xA="_header_1fdka_8",_A="_title_1fdka_15",DA="_startBtn_1fdka_20",UA="_stopBtn_1fdka_35",kA="_hint_1fdka_44",OA="_error_1fdka_51",LA="_loadingBox_1fdka_56",AA="_spinner_1fdka_68",MA="_frameWrap_1fdka_81",zA="_frame_1fdka_81",Ha={wrapper:NA,header:xA,title:_A,startBtn:DA,stopBtn:UA,hint:kA,error:OA,loadingBox:LA,spinner:AA,frameWrap:MA,frame:zA};function jA({creativeId:l,creativeStatus:u,theme:f}){const[p,v]=B.useState(null),[h,s]=B.useState(!1),[E,b]=B.useState(""),[S,_]=B.useState(!1),D=u==="assets_ready"||u==="built"||u==="building";B.useEffect(()=>{if(!p||S)return;const H=setTimeout(()=>{S||b("预览加载超时,请检查控制台或重试")},1e4);return()=>clearTimeout(H)},[p,S]),B.useEffect(()=>()=>{p&&pn.stopPreview(l).catch(()=>{})},[]);async function w(){s(!0),b(""),_(!1);try{const H=await pn.startPreview(l,f);v(H.data.url)}catch(H){b(H.message)}finally{s(!1)}}async function O(){try{await pn.stopPreview(l)}catch{}v(null),_(!1),b("")}return x.jsxDEV("div",{className:Ha.wrapper,children:[x.jsxDEV("div",{className:Ha.header,children:[x.jsxDEV("h3",{className:Ha.title,children:"实时预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:63,columnNumber:9},this),p?x.jsxDEV("button",{onClick:O,className:Ha.stopBtn,children:"关闭预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:73,columnNumber:11},this):x.jsxDEV("button",{onClick:w,disabled:!D||h,className:Ha.startBtn,children:h?"启动中…":"▶ 开始预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:65,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:62,columnNumber:7},this),!D&&!p&&x.jsxDEV("p",{className:Ha.hint,children:"上传素材后即可预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:80,columnNumber:9},this),E&&x.jsxDEV("p",{className:Ha.error,children:E},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:83,columnNumber:17},this),h&&x.jsxDEV("div",{className:Ha.loadingBox,children:[x.jsxDEV("span",{className:Ha.spinner},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:87,columnNumber:11},this),x.jsxDEV("span",{children:"Vite 开发服务器启动中,请稍候…"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:88,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:86,columnNumber:9},this),p&&x.jsxDEV("div",{className:Ha.frameWrap,children:x.jsxDEV("iframe",{src:p,className:Ha.frame,title:"广告预览",onLoad:()=>_(!0)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:94,columnNumber:11},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:93,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:61,columnNumber:5},this)}const BA="_container_171ey_1",VA="_state_171ey_7",FA="_topBar_171ey_14",HA="_back_171ey_20",PA="_topInfo_171ey_28",$A="_title_171ey_35",IA="_statusDot_171ey_40",YA="_draft_171ey_45",qA="_assets_ready_171ey_46",GA="_building_171ey_47",WA="_built_171ey_48",QA="_failed_171ey_49",KA="_deleteBtn_171ey_51",JA="_workspace_171ey_61",XA="_section_171ey_73",ZA="_sectionTitle_171ey_80",eM="_buildSection_171ey_88",Jt={container:BA,state:VA,topBar:FA,back:HA,topInfo:PA,title:$A,statusDot:IA,draft:YA,assets_ready:qA,building:GA,built:WA,failed:QA,deleteBtn:KA,workspace:JA,section:XA,sectionTitle:ZA,buildSection:eM};function tM(){var Q;const{id:l}=OU(),u=Nh(),[f,p]=B.useState(null),[v,h]=B.useState(null),[s,E]=B.useState(!0),[b,S]=B.useState(""),[_,D]=B.useState(["google","applovin"]),w=B.useCallback(()=>{l&&(S(""),pn.getCreative(l).then(async J=>{var z,P;p(J.data);const q=await pn.getTemplate(J.data.templateId);h(q.data),_.length===0&&((z=q.data.platforms)!=null&&z.available)&&D(((P=q.data.platforms)==null?void 0:P.defaults)??q.data.platforms.available.slice(0,2))}).catch(J=>S(J.message)).finally(()=>E(!1)))},[l]);B.useEffect(()=>{w()},[w]);async function O(){if(!(!l||!confirm("确认删除此创意?所有素材和构建产物将被永久删除。")))try{await pn.deleteCreative(l),u("/")}catch(J){S(J.message)}}const H={draft:"草稿",assets_ready:"素材已就绪",building:"构建中",built:"已构建",failed:"失败"};return s?x.jsxDEV("div",{className:Jt.state,children:"加载中…"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:68,columnNumber:23},this):b?x.jsxDEV("div",{className:Jt.state,children:["加载失败:",b]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:69,columnNumber:21},this):!f||!v?x.jsxDEV("div",{className:Jt.state,children:"创意不存在"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:70,columnNumber:38},this):x.jsxDEV("div",{className:Jt.container,children:[x.jsxDEV("div",{className:Jt.topBar,children:[x.jsxDEV("button",{onClick:()=>u(-1),className:Jt.back,children:"← 返回"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:76,columnNumber:9},this),x.jsxDEV("div",{className:Jt.topInfo,children:[x.jsxDEV("h1",{className:Jt.title,children:f.name},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:80,columnNumber:11},this),x.jsxDEV("span",{className:`${Jt.statusDot} ${Jt[f.status]}`,children:["● ",H[f.status]]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:81,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:79,columnNumber:9},this),x.jsxDEV("button",{onClick:O,className:Jt.deleteBtn,children:"删除"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:85,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:75,columnNumber:7},this),x.jsxDEV("div",{className:Jt.workspace,children:[x.jsxDEV("section",{className:Jt.section,children:[x.jsxDEV("h2",{className:Jt.sectionTitle,children:"素材"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:94,columnNumber:11},this),x.jsxDEV(jO,{creativeId:f.id,assets:f.assets??[],assetDefs:v.assets,onUpdated:w},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:95,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:93,columnNumber:9},this),x.jsxDEV("section",{className:Jt.section,children:[x.jsxDEV("h2",{className:Jt.sectionTitle,children:"主题配置"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:105,columnNumber:11},this),x.jsxDEV(rL,{creativeId:f.id,theme:f.theme??{},themeProps:v.theme.properties,onUpdated:w},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:106,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:104,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:91,columnNumber:7},this),x.jsxDEV(jA,{creativeId:f.id,creativeStatus:f.status,theme:f.theme??{}},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:116,columnNumber:7},this),x.jsxDEV("section",{className:Jt.buildSection,children:[x.jsxDEV("h2",{className:Jt.sectionTitle,children:"构建"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:124,columnNumber:9},this),x.jsxDEV(cL,{platforms:((Q=v.platforms)==null?void 0:Q.available)??[],selected:_,onChange:D},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:125,columnNumber:9},this),x.jsxDEV(yL,{creativeId:f.id,creativeStatus:f.status,selectedPlatforms:_,theme:f.theme??{},themeProps:v.theme.properties,onBuildComplete:w},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:130,columnNumber:9},this),x.jsxDEV(TA,{creativeId:f.id,builds:f.recentBuilds??[],onUpdated:w},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:138,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:123,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:73,columnNumber:5},this)}function nM(){return x.jsxDEV(Dk,{children:x.jsxDEV(QU,{children:[x.jsxDEV(Ff,{path:"/",element:x.jsxDEV(Hk,{},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:11,columnNumber:34},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:11,columnNumber:9},this),x.jsxDEV(Ff,{path:"/creatives/new",element:x.jsxDEV(iO,{},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:12,columnNumber:47},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:12,columnNumber:9},this),x.jsxDEV(Ff,{path:"/creatives/:id",element:x.jsxDEV(tM,{},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:13,columnNumber:47},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:13,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:10,columnNumber:7},this)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/App.tsx",lineNumber:9,columnNumber:5},this)}mh.createRoot(document.getElementById("root")).render(x.jsxDEV(lC.StrictMode,{children:x.jsxDEV(ck,{basename:"/ads/".replace(/\/$/,""),children:x.jsxDEV(nM,{},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/main.tsx",lineNumber:10,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/main.tsx",lineNumber:9,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/main.tsx",lineNumber:8,columnNumber:3},void 0));
|