| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240 |
- function QD(o,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 o)){const h=Object.getOwnPropertyDescriptor(p,v);h&&Object.defineProperty(o,v,h.get?h:{enumerable:!0,get:()=>p[v]})}}}return Object.freeze(Object.defineProperty(o,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 KD(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var tC={exports:{}},vh={},nC={exports:{}},$f={exports:{}};$f.exports;(function(o,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"),g=Symbol.for("react.provider"),S=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),Q=Symbol.for("react.offscreen"),J=Symbol.iterator,q="@@iterator";function j(m){if(m===null||typeof m!="object")return null;var C=J&&m[J]||m[q];return typeof C=="function"?C:null}var z={current:null},I={transition:null},K={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},fe={current:null},se={},Ge=null;function Ve(m){Ge=m}se.setExtraStackFrame=function(m){Ge=m},se.getCurrentStack=null,se.getStackAddendum=function(){var m="";Ge&&(m+=Ge);var C=se.getCurrentStack;return C&&(m+=C()||""),m};var Pe=!1,et=!1,Ze=!1,me=!1,Ct=!1,ft={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:I,ReactCurrentOwner:fe};ft.ReactDebugCurrentFrame=se,ft.ReactCurrentActQueue=K;function Dt(m){{for(var C=arguments.length,A=new Array(C>1?C-1:0),B=1;B<C;B++)A[B-1]=arguments[B];pn("warn",m,A)}}function Ue(m){{for(var C=arguments.length,A=new Array(C>1?C-1:0),B=1;B<C;B++)A[B-1]=arguments[B];pn("error",m,A)}}function pn(m,C,A){{var B=ft.ReactDebugCurrentFrame,X=B.getStackAddendum();X!==""&&(C+="%s",A=A.concat([X]));var ge=A.map(function(ue){return String(ue)});ge.unshift("Warning: "+C),Function.prototype.apply.call(console[m],console,ge)}}var ba={};function Gn(m,C){{var A=m.constructor,B=A&&(A.displayName||A.name)||"ReactClass",X=B+"."+C;if(ba[X])return;Ue("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,B),ba[X]=!0}}var oa={isMounted:function(m){return!1},enqueueForceUpdate:function(m,C,A){Gn(m,"forceUpdate")},enqueueReplaceState:function(m,C,A,B){Gn(m,"replaceState")},enqueueSetState:function(m,C,A,B){Gn(m,"setState")}},Pt=Object.assign,Ea={};Object.freeze(Ea);function Tn(m,C,A){this.props=m,this.context=C,this.refs=Ea,this.updater=A||oa}Tn.prototype.isReactComponent={},Tn.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")},Tn.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(Tn.prototype,m,{get:function(){Dt("%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=Tn.prototype;function Zt(m,C,A){this.props=m,this.context=C,this.refs=Ea,this.updater=A||oa}var en=Zt.prototype=new Wn;en.constructor=Zt,Pt(en,Tn.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 wn(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 la(m){if(It(m))return Ue("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",wn(m)),Yt(m)}function dr(m,C,A){var B=m.displayName;if(B)return B;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"&&Ue("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 N:return"Suspense";case w:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case S:var C=m;return Sa(C)+".Consumer";case g:var A=m;return Sa(A._context)+".Provider";case _:return dr(m,m.render,"ForwardRef");case O:var B=m.displayName||null;return B!==null?B:Bn(m.type)||"Memo";case P:{var X=m,ge=X._payload,ue=X._init;try{return Bn(ue(ge))}catch{return null}}}return null}var vn=Object.prototype.hasOwnProperty,nn={key:!0,ref:!0,__self:!0,__source:!0},xn,Ya,Ut;Ut={};function Nn(m){if(vn.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(vn.call(m,"key")){var C=Object.getOwnPropertyDescriptor(m,"key").get;if(C&&C.isReactWarning)return!1}return m.key!==void 0}function Hr(m,C){var A=function(){xn||(xn=!0,Ue("%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,Ue("%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 ee(m){if(typeof m.ref=="string"&&fe.current&&m.__self&&fe.current.stateNode!==m.__self){var C=Bn(fe.current.type);Ut[C]||(Ue('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,B,X,ge,ue){var Te={$$typeof:p,type:m,key:C,ref:A,props:ue,_owner:ge};return Te._store={},Object.defineProperty(Te._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Te,"_self",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.defineProperty(Te,"_source",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.freeze&&(Object.freeze(Te.props),Object.freeze(Te)),Te};function De(m,C,A){var B,X={},ge=null,ue=null,Te=null,Me=null;if(C!=null){Nn(C)&&(ue=C.ref,ee(C)),Vn(C)&&(la(C.key),ge=""+C.key),Te=C.__self===void 0?null:C.__self,Me=C.__source===void 0?null:C.__source;for(B in C)vn.call(C,B)&&!nn.hasOwnProperty(B)&&(X[B]=C[B])}var Qe=arguments.length-2;if(Qe===1)X.children=A;else if(Qe>1){for(var rt=Array(Qe),it=0;it<Qe;it++)rt[it]=arguments[it+2];Object.freeze&&Object.freeze(rt),X.children=rt}if(m&&m.defaultProps){var Oe=m.defaultProps;for(B in Oe)X[B]===void 0&&(X[B]=Oe[B])}if(ge||ue){var pt=typeof m=="function"?m.displayName||m.name||"Unknown":m;ge&&Hr(X,pt),ue&&pr(X,pt)}return de(m,ge,ue,Te,Me,fe.current,X)}function We(m,C){var A=de(m.type,C,m.ref,m._self,m._source,m._owner,m.props);return A}function lt(m,C,A){if(m==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+m+".");var B,X=Pt({},m.props),ge=m.key,ue=m.ref,Te=m._self,Me=m._source,Qe=m._owner;if(C!=null){Nn(C)&&(ue=C.ref,Qe=fe.current),Vn(C)&&(la(C.key),ge=""+C.key);var rt;m.type&&m.type.defaultProps&&(rt=m.type.defaultProps);for(B in C)vn.call(C,B)&&!nn.hasOwnProperty(B)&&(C[B]===void 0&&rt!==void 0?X[B]=rt[B]:X[B]=C[B])}var it=arguments.length-2;if(it===1)X.children=A;else if(it>1){for(var Oe=Array(it),pt=0;pt<it;pt++)Oe[pt]=arguments[pt+2];X.children=Oe}return de(m.type,ge,ue,Te,Me,Qe,X)}function vt(m){return typeof m=="object"&&m!==null&&m.$$typeof===p}var mt=".",mn=":";function gt(m){var C=/[=:]/g,A={"=":"=0",":":"=2"},B=m.replace(C,function(X){return A[X]});return"$"+B}var tt=!1,bt=/\/+/g;function Ca(m){return m.replace(bt,"$&/")}function Ra(m,C){return typeof m=="object"&&m!==null&&m.key!=null?(la(m.key),gt(""+m.key)):C.toString(36)}function ua(m,C,A,B,X){var ge=typeof m;(ge==="undefined"||ge==="boolean")&&(m=null);var ue=!1;if(m===null)ue=!0;else switch(ge){case"string":case"number":ue=!0;break;case"object":switch(m.$$typeof){case p:case v:ue=!0}}if(ue){var Te=m,Me=X(Te),Qe=B===""?mt+Ra(Te,0):B;if($t(Me)){var rt="";Qe!=null&&(rt=Ca(Qe)+"/"),ua(Me,C,rt,"",function(rd){return rd})}else Me!=null&&(vt(Me)&&(Me.key&&(!Te||Te.key!==Me.key)&&la(Me.key),Me=We(Me,A+(Me.key&&(!Te||Te.key!==Me.key)?Ca(""+Me.key)+"/":"")+Qe)),C.push(Me));return 1}var it,Oe,pt=0,Tt=B===""?mt:B+mn;if($t(m))for(var Ui=0;Ui<m.length;Ui++)it=m[Ui],Oe=Tt+Ra(it,Ui),pt+=ua(it,C,A,Oe,X);else{var Ml=j(m);if(typeof Ml=="function"){var yr=m;Ml===yr.entries&&(tt||Dt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),tt=!0);for(var zl=Ml.call(yr),jl,ad=0;!(jl=zl.next()).done;)it=jl.value,Oe=Tt+Ra(it,ad++),pt+=ua(it,C,A,Oe,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 pt}function vr(m,C,A){if(m==null)return m;var B=[],X=0;return ua(m,B,"","",function(ge){return C.call(A,ge,X++)}),B}function El(m){var C=0;return vr(m,function(){C++}),C}function Ei(m,C,A){vr(m,function(){C.apply(this,arguments)},A)}function lo(m){return vr(m,function(C){return C})||[]}function uo(m){if(!vt(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:g,_context:C};var A=!1,B=!1,X=!1;{var ge={$$typeof:S,_context:C};Object.defineProperties(ge,{Provider:{get:function(){return B||(B=!0,Ue("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(ue){C.Provider=ue}},_currentValue:{get:function(){return C._currentValue},set:function(ue){C._currentValue=ue}},_currentValue2:{get:function(){return C._currentValue2},set:function(ue){C._currentValue2=ue}},_threadCount:{get:function(){return C._threadCount},set:function(ue){C._threadCount=ue}},Consumer:{get:function(){return A||(A=!0,Ue("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(ue){X||(Dt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",ue),X=!0)}}}),C.Consumer=ge}return C._currentRenderer=null,C._currentRenderer2=null,C}var Ta=-1,sa=0,Qn=1,qa=2;function Ci(m){if(m._status===Ta){var C=m._result,A=C();if(A.then(function(ge){if(m._status===sa||m._status===Ta){var ue=m;ue._status=Qn,ue._result=ge}},function(ge){if(m._status===sa||m._status===Ta){var ue=m;ue._status=qa,ue._result=ge}}),m._status===Ta){var B=m;B._status=sa,B._result=A}}if(m._status===Qn){var X=m._result;return X===void 0&&Ue(`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||Ue(`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:Ta,_result:m},A={$$typeof:P,_payload:C,_init:Ci};{var B,X;Object.defineProperties(A,{defaultProps:{configurable:!0,get:function(){return B},set:function(ge){Ue("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."),B=ge,Object.defineProperty(A,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return X},set:function(ge){Ue("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?Ue("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof m!="function"?Ue("forwardRef requires a render function but was given %s.",m===null?"null":typeof m):m.length!==0&&m.length!==2&&Ue("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)&&Ue("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(B){A=B,!m.name&&!m.displayName&&(m.displayName=B)}})}return C}var te;te=Symbol.for("react.module.reference");function pe(m){return!!(typeof m=="string"||typeof m=="function"||m===h||m===E||Ct||m===s||m===N||m===w||me||m===Q||Pe||et||Ze||typeof m=="object"&&m!==null&&(m.$$typeof===P||m.$$typeof===O||m.$$typeof===g||m.$$typeof===S||m.$$typeof===_||m.$$typeof===te||m.getModuleId!==void 0))}function Ae(m,C){pe(m)||Ue("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 B;Object.defineProperty(A,"displayName",{enumerable:!1,configurable:!0,get:function(){return B},set:function(X){B=X,!m.name&&!m.displayName&&(m.displayName=X)}})}return A}function Se(){var m=z.current;return m===null&&Ue(`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 Ne(m){var C=Se();if(m._context!==void 0){var A=m._context;A.Consumer===m?Ue("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&&Ue("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 B=Se();return B.useReducer(m,C,A)}function ut(m){var C=Se();return C.useRef(m)}function st(m,C){var A=Se();return A.useEffect(m,C)}function hn(m,C){var A=Se();return A.useInsertionEffect(m,C)}function Ga(m,C){var A=Se();return A.useLayoutEffect(m,C)}function wa(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 B=Se();return B.useImperativeHandle(m,C,A)}function xa(m,C){{var A=Se();return A.useDebugValue(m,C)}}function ke(){var m=Se();return m.useTransition()}function Ti(m){var C=Se();return C.useDeferredValue(m)}function ws(){var m=Se();return m.useId()}function xs(m,C,A){var B=Se();return B.useSyncExternalStore(m,C,A)}var Fr=0,Sl,Cl,Rl,Tl,wl,Ns,_s;function so(){}so.__reactDisabledLog=!0;function xl(){{if(Fr===0){Sl=console.log,Cl=console.info,Rl=console.warn,Tl=console.error,wl=console.group,Ns=console.groupCollapsed,_s=console.groupEnd;var m={configurable:!0,enumerable:!0,value:so,writable:!0};Object.defineProperties(console,{info:m,log:m,warn:m,error:m,group:m,groupCollapsed:m,groupEnd:m})}Fr++}}function Wa(){{if(Fr--,Fr===0){var m={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Pt({},m,{value:Sl}),info:Pt({},m,{value:Cl}),warn:Pt({},m,{value:Rl}),error:Pt({},m,{value:Tl}),group:Pt({},m,{value:wl}),groupCollapsed:Pt({},m,{value:Ns}),groupEnd:Pt({},m,{value:_s})})}Fr<0&&Ue("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var wi=ft.ReactCurrentDispatcher,Pr;function co(m,C,A){{if(Pr===void 0)try{throw Error()}catch(X){var B=X.stack.trim().match(/\n( *(at )?)/);Pr=B&&B[1]||""}return`
- `+Pr+m}}var xi=!1,fo;{var Nl=typeof WeakMap=="function"?WeakMap:Map;fo=new Nl}function Ds(m,C){if(!m||xi)return"";{var A=fo.get(m);if(A!==void 0)return A}var B;xi=!0;var X=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ge;ge=wi.current,wi.current=null,xl();try{if(C){var ue=function(){throw Error()};if(Object.defineProperty(ue.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ue,[])}catch(Tt){B=Tt}Reflect.construct(m,[],ue)}else{try{ue.call()}catch(Tt){B=Tt}m.call(ue.prototype)}}else{try{throw Error()}catch(Tt){B=Tt}m()}}catch(Tt){if(Tt&&B&&typeof Tt.stack=="string"){for(var Te=Tt.stack.split(`
- `),Me=B.stack.split(`
- `),Qe=Te.length-1,rt=Me.length-1;Qe>=1&&rt>=0&&Te[Qe]!==Me[rt];)rt--;for(;Qe>=1&&rt>=0;Qe--,rt--)if(Te[Qe]!==Me[rt]){if(Qe!==1||rt!==1)do if(Qe--,rt--,rt<0||Te[Qe]!==Me[rt]){var it=`
- `+Te[Qe].replace(" at new "," at ");return m.displayName&&it.includes("<anonymous>")&&(it=it.replace("<anonymous>",m.displayName)),typeof m=="function"&&fo.set(m,it),it}while(Qe>=1&&rt>=0);break}}}finally{xi=!1,wi.current=ge,Wa(),Error.prepareStackTrace=X}var Oe=m?m.displayName||m.name:"",pt=Oe?co(Oe):"";return typeof m=="function"&&fo.set(m,pt),pt}function _l(m,C,A){return Ds(m,!1)}function Xf(m){var C=m.prototype;return!!(C&&C.isReactComponent)}function Ni(m,C,A){if(m==null)return"";if(typeof m=="function")return Ds(m,Xf(m));if(typeof m=="string")return co(m);switch(m){case N:return co("Suspense");case w:return co("SuspenseList")}if(typeof m=="object")switch(m.$$typeof){case _:return _l(m.render);case O:return Ni(m.type,C,A);case P:{var B=m,X=B._payload,ge=B._init;try{return Ni(ge(X),C,A)}catch{}}}return""}var Us={},Dl=ft.ReactDebugCurrentFrame;function $e(m){if(m){var C=m._owner,A=Ni(m.type,m._source,C?C.type:null);Dl.setExtraStackFrame(A)}else Dl.setExtraStackFrame(null)}function Zf(m,C,A,B,X){{var ge=Function.call.bind(vn);for(var ue in m)if(ge(m,ue)){var Te=void 0;try{if(typeof m[ue]!="function"){var Me=Error((B||"React class")+": "+A+" type `"+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof m[ue]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Me.name="Invariant Violation",Me}Te=m[ue](C,ue,B,A,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Qe){Te=Qe}Te&&!(Te instanceof Error)&&($e(X),Ue("%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).",B||"React class",A,ue,typeof Te),$e(null)),Te instanceof Error&&!(Te.message in Us)&&(Us[Te.message]=!0,$e(X),Ue("Failed %s type: %s",A,Te.message),$e(null))}}}function mr(m){if(m){var C=m._owner,A=Ni(m.type,m._source,C?C.type:null);Ve(A)}else Ve(null)}var xe;xe=!1;function Ul(){if(fe.current){var m=Bn(fe.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=Ul();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 B="";m&&m._owner&&m._owner!==fe.current&&(B=" It was passed a child from "+Bn(m._owner.type)+"."),mr(m),Ue('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',A,B),mr(null)}}}function dt(m,C){if(typeof m=="object"){if($t(m))for(var A=0;A<m.length;A++){var B=m[A];vt(B)&&qt(B,C)}else if(vt(m))m._store&&(m._store.validated=!0);else if(m){var X=j(m);if(typeof X=="function"&&X!==m.entries)for(var ge=X.call(m),ue;!(ue=ge.next()).done;)vt(ue.value)&&qt(ue.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 B=Bn(C);Zf(A,m.props,"prop",B,m)}else if(C.PropTypes!==void 0&&!xe){xe=!0;var X=Bn(C);Ue("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",X||"Unknown")}typeof C.getDefaultProps=="function"&&!C.getDefaultProps.isReactClassApproved&&Ue("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 B=C[A];if(B!=="children"&&B!=="key"){mr(m),Ue("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B),mr(null);break}}m.ref!==null&&(mr(m),Ue("Invalid attribute `ref` supplied to `React.Fragment`."),mr(null))}}function Dn(m,C,A){var B=pe(m);if(!B){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+=Ul();var ue;m===null?ue="null":$t(m)?ue="array":m!==void 0&&m.$$typeof===p?(ue="<"+(Bn(m.type)||"Unknown")+" />",X=" Did you accidentally export a JSX literal instead of a component?"):ue=typeof m,Ue("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ue,X)}var Te=De.apply(this,arguments);if(Te==null)return Te;if(B)for(var Me=2;Me<arguments.length;Me++)dt(arguments[Me],m);return m===h?ca(Te):ks(Te),Te}var Na=!1;function td(m){var C=Dn.bind(null,m);return C.type=m,Na||(Na=!0,Dt("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(C,"type",{enumerable:!1,get:function(){return Dt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:m}),m}}),C}function kl(m,C,A){for(var B=lt.apply(this,arguments),X=2;X<arguments.length;X++)dt(arguments[X],B.type);return ks(B),B}function Os(m,C){var A=I.transition;I.transition={};var B=I.transition;I.transition._updatedFibers=new Set;try{m()}finally{if(I.transition=A,A===null&&B._updatedFibers){var X=B._updatedFibers.size;X>10&&Dt("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),B._updatedFibers.clear()}}}var Ol=!1,po=null;function nd(m){if(po===null)try{var C=("require"+Math.random()).slice(0,7),A=o&&o[C];po=A.call(o,"timers").setImmediate}catch{po=function(X){Ol===!1&&(Ol=!0,typeof MessageChannel>"u"&&Ue("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 po(m)}var Ir=0,Di=!1;function Ll(m){{var C=Ir;Ir++,K.current===null&&(K.current=[]);var A=K.isBatchingLegacy,B;try{if(K.isBatchingLegacy=!0,B=m(),!A&&K.didScheduleLegacyUpdate){var X=K.current;X!==null&&(K.didScheduleLegacyUpdate=!1,ho(X))}}catch(Oe){throw hr(C),Oe}finally{K.isBatchingLegacy=A}if(B!==null&&typeof B=="object"&&typeof B.then=="function"){var ge=B,ue=!1,Te={then:function(Oe,pt){ue=!0,ge.then(function(Tt){hr(C),Ir===0?vo(Tt,Oe,pt):Oe(Tt)},function(Tt){hr(C),pt(Tt)})}};return!Di&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){ue||(Di=!0,Ue("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 () => ...);"))}),Te}else{var Me=B;if(hr(C),Ir===0){var Qe=K.current;Qe!==null&&(ho(Qe),K.current=null);var rt={then:function(Oe,pt){K.current===null?(K.current=[],vo(Me,Oe,pt)):Oe(Me)}};return rt}else{var it={then:function(Oe,pt){Oe(Me)}};return it}}}}function hr(m){m!==Ir-1&&Ue("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 vo(m,C,A){{var B=K.current;if(B!==null)try{ho(B),nd(function(){B.length===0?(K.current=null,C(m)):vo(m,C,A)})}catch(X){A(X)}else C(m)}}var mo=!1;function ho(m){if(!mo){mo=!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(B){throw m=m.slice(C+1),B}finally{mo=!1}}}var Ls=Dn,As=kl,Al=td,Ms={map:vr,forEach:Ei,count:El,toArray:lo,only:uo};u.Children=Ms,u.Component=Tn,u.Fragment=h,u.Profiler=E,u.PureComponent=Zt,u.StrictMode=s,u.Suspense=N,u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ft,u.act=Ll,u.cloneElement=As,u.createContext=Si,u.createElement=Ls,u.createFactory=Al,u.createRef=tn,u.forwardRef=G,u.isValidElement=vt,u.lazy=R,u.memo=Ae,u.startTransition=Os,u.unstable_act=Ll,u.useCallback=wa,u.useContext=Ne,u.useDebugValue=xa,u.useDeferredValue=Ti,u.useEffect=st,u.useId=ws,u.useImperativeHandle=Ri,u.useInsertionEffect=hn,u.useLayoutEffect=Ga,u.useMemo=Ot,u.useReducer=kt,u.useRef=ut,u.useState=he,u.useSyncExternalStore=xs,u.useTransition=ke,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 JD=$f.exports;nC.exports=JD;var F=nC.exports;const aC=KD(F),XD=QD({__proto__:null,default:aC},[F]);/**
- * @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 o=F,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"),g=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),P=Symbol.iterator,Q="@@iterator";function J(R){if(R===null||typeof R!="object")return null;var G=P&&R[P]||R[Q];return typeof G=="function"?G:null}var q=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(R){{for(var G=arguments.length,te=new Array(G>1?G-1:0),pe=1;pe<G;pe++)te[pe-1]=arguments[pe];z("error",R,te)}}function z(R,G,te){{var pe=q.ReactDebugCurrentFrame,Ae=pe.getStackAddendum();Ae!==""&&(G+="%s",te=te.concat([Ae]));var Se=te.map(function(Ne){return String(Ne)});Se.unshift("Warning: "+G),Function.prototype.apply.call(console[R],console,Se)}}var I=!1,K=!1,fe=!1,se=!1,Ge=!1,Ve;Ve=Symbol.for("react.module.reference");function Pe(R){return!!(typeof R=="string"||typeof R=="function"||R===p||R===h||Ge||R===v||R===S||R===_||se||R===O||I||K||fe||typeof R=="object"&&R!==null&&(R.$$typeof===w||R.$$typeof===N||R.$$typeof===s||R.$$typeof===E||R.$$typeof===g||R.$$typeof===Ve||R.getModuleId!==void 0))}function et(R,G,te){var pe=R.displayName;if(pe)return pe;var Ae=G.displayName||G.name||"";return Ae!==""?te+"("+Ae+")":te}function Ze(R){return R.displayName||"Context"}function me(R){if(R==null)return null;if(typeof R.tag=="number"&&j("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 Ze(G)+".Consumer";case s:var te=R;return Ze(te._context)+".Provider";case g:return et(R,R.render,"ForwardRef");case N:var pe=R.displayName||null;return pe!==null?pe:me(R.type)||"Memo";case w:{var Ae=R,Se=Ae._payload,Ne=Ae._init;try{return me(Ne(Se))}catch{return null}}}return null}var Ct=Object.assign,ft=0,Dt,Ue,pn,ba,Gn,oa,Pt;function Ea(){}Ea.__reactDisabledLog=!0;function Tn(){{if(ft===0){Dt=console.log,Ue=console.info,pn=console.warn,ba=console.error,Gn=console.group,oa=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})}ft++}}function fr(){{if(ft--,ft===0){var R={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ct({},R,{value:Dt}),info:Ct({},R,{value:Ue}),warn:Ct({},R,{value:pn}),error:Ct({},R,{value:ba}),group:Ct({},R,{value:Gn}),groupCollapsed:Ct({},R,{value:oa}),groupEnd:Ct({},R,{value:Pt})})}ft<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ia=q.ReactCurrentDispatcher,Xt;function Wn(R,G,te){{if(Xt===void 0)try{throw Error()}catch(Ae){var pe=Ae.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 te=en.get(R);if(te!==void 0)return te}var pe;Zt=!0;var Ae=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Se;Se=Ia.current,Ia.current=null,Tn();try{if(G){var Ne=function(){throw Error()};if(Object.defineProperty(Ne.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ne,[])}catch(Ot){pe=Ot}Reflect.construct(R,[],Ne)}else{try{Ne.call()}catch(Ot){pe=Ot}R.call(Ne.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(`
- `),ut=he.length-1,st=kt.length-1;ut>=1&&st>=0&&he[ut]!==kt[st];)st--;for(;ut>=1&&st>=0;ut--,st--)if(he[ut]!==kt[st]){if(ut!==1||st!==1)do if(ut--,st--,st<0||he[ut]!==kt[st]){var hn=`
- `+he[ut].replace(" at new "," at ");return R.displayName&&hn.includes("<anonymous>")&&(hn=hn.replace("<anonymous>",R.displayName)),typeof R=="function"&&en.set(R,hn),hn}while(ut>=1&&st>=0);break}}}finally{Zt=!1,Ia.current=Se,fr(),Error.prepareStackTrace=Ae}var Ga=R?R.displayName||R.name:"",wa=Ga?Wn(Ga):"";return typeof R=="function"&&en.set(R,wa),wa}function $t(R,G,te){return jn(R,!1)}function wn(R){var G=R.prototype;return!!(G&&G.isReactComponent)}function It(R,G,te){if(R==null)return"";if(typeof R=="function")return jn(R,wn(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 g:return $t(R.render);case N:return It(R.type,G,te);case w:{var pe=R,Ae=pe._payload,Se=pe._init;try{return It(Se(Ae),G,te)}catch{}}}return""}var Yt=Object.prototype.hasOwnProperty,la={},dr=q.ReactDebugCurrentFrame;function Sa(R){if(R){var G=R._owner,te=It(R.type,R._source,G?G.type:null);dr.setExtraStackFrame(te)}else dr.setExtraStackFrame(null)}function Bn(R,G,te,pe,Ae){{var Se=Function.call.bind(Yt);for(var Ne in R)if(Se(R,Ne)){var he=void 0;try{if(typeof R[Ne]!="function"){var kt=Error((pe||"React class")+": "+te+" type `"+Ne+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof R[Ne]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw kt.name="Invariant Violation",kt}he=R[Ne](G,Ne,pe,te,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ut){he=ut}he&&!(he instanceof Error)&&(Sa(Ae),j("%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",te,Ne,typeof he),Sa(null)),he instanceof Error&&!(he.message in la)&&(la[he.message]=!0,Sa(Ae),j("Failed %s type: %s",te,he.message),Sa(null))}}}var vn=Array.isArray;function nn(R){return vn(R)}function xn(R){{var G=typeof Symbol=="function"&&Symbol.toStringTag,te=G&&R[Symbol.toStringTag]||R.constructor.name||"Object";return te}}function Ya(R){try{return Ut(R),!1}catch{return!0}}function Ut(R){return""+R}function Nn(R){if(Ya(R))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xn(R)),Ut(R)}var Vn=q.ReactCurrentOwner,Hr={key:!0,ref:!0,__self:!0,__source:!0},pr,ee,de;de={};function De(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 We(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 lt(R,G){if(typeof R.ref=="string"&&Vn.current&&G&&Vn.current.stateNode!==G){var te=me(Vn.current.type);de[te]||(j('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',me(Vn.current.type),R.ref),de[te]=!0)}}function vt(R,G){{var te=function(){pr||(pr=!0,j("%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))};te.isReactWarning=!0,Object.defineProperty(R,"key",{get:te,configurable:!0})}}function mt(R,G){{var te=function(){ee||(ee=!0,j("%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))};te.isReactWarning=!0,Object.defineProperty(R,"ref",{get:te,configurable:!0})}}var mn=function(R,G,te,pe,Ae,Se,Ne){var he={$$typeof:u,type:R,key:G,ref:te,props:Ne,_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:Ae}),Object.freeze&&(Object.freeze(he.props),Object.freeze(he)),he};function gt(R,G,te,pe,Ae){{var Se,Ne={},he=null,kt=null;te!==void 0&&(Nn(te),he=""+te),We(G)&&(Nn(G.key),he=""+G.key),De(G)&&(kt=G.ref,lt(G,Ae));for(Se in G)Yt.call(G,Se)&&!Hr.hasOwnProperty(Se)&&(Ne[Se]=G[Se]);if(R&&R.defaultProps){var ut=R.defaultProps;for(Se in ut)Ne[Se]===void 0&&(Ne[Se]=ut[Se])}if(he||kt){var st=typeof R=="function"?R.displayName||R.name||"Unknown":R;he&&vt(Ne,st),kt&&mt(Ne,st)}return mn(R,he,kt,Ae,pe,Vn.current,Ne)}}var tt=q.ReactCurrentOwner,bt=q.ReactDebugCurrentFrame;function Ca(R){if(R){var G=R._owner,te=It(R.type,R._source,G?G.type:null);bt.setExtraStackFrame(te)}else bt.setExtraStackFrame(null)}var Ra;Ra=!1;function ua(R){return typeof R=="object"&&R!==null&&R.$$typeof===u}function vr(){{if(tt.current){var R=me(tt.current.type);if(R)return`
- Check the render method of \``+R+"`."}return""}}function El(R){{if(R!==void 0){var G=R.fileName.replace(/^.*[\\\/]/,""),te=R.lineNumber;return`
- Check your code at `+G+":"+te+"."}return""}}var Ei={};function lo(R){{var G=vr();if(!G){var te=typeof R=="string"?R:R.displayName||R.name;te&&(G=`
- Check the top-level render call using <`+te+">.")}return G}}function uo(R,G){{if(!R._store||R._store.validated||R.key!=null)return;R._store.validated=!0;var te=lo(G);if(Ei[te])return;Ei[te]=!0;var pe="";R&&R._owner&&R._owner!==tt.current&&(pe=" It was passed a child from "+me(R._owner.type)+"."),Ca(R),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',te,pe),Ca(null)}}function Si(R,G){{if(typeof R!="object")return;if(nn(R))for(var te=0;te<R.length;te++){var pe=R[te];ua(pe)&&uo(pe,G)}else if(ua(R))R._store&&(R._store.validated=!0);else if(R){var Ae=J(R);if(typeof Ae=="function"&&Ae!==R.entries)for(var Se=Ae.call(R),Ne;!(Ne=Se.next()).done;)ua(Ne.value)&&uo(Ne.value,G)}}}function Ta(R){{var G=R.type;if(G==null||typeof G=="string")return;var te;if(typeof G=="function")te=G.propTypes;else if(typeof G=="object"&&(G.$$typeof===g||G.$$typeof===N))te=G.propTypes;else return;if(te){var pe=me(G);Bn(te,R.props,"prop",pe,R)}else if(G.PropTypes!==void 0&&!Ra){Ra=!0;var Ae=me(G);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ae||"Unknown")}typeof G.getDefaultProps=="function"&&!G.getDefaultProps.isReactClassApproved&&j("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),te=0;te<G.length;te++){var pe=G[te];if(pe!=="children"&&pe!=="key"){Ca(R),j("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),j("Invalid attribute `ref` supplied to `React.Fragment`."),Ca(null))}}var Qn={};function qa(R,G,te,pe,Ae,Se){{var Ne=Pe(R);if(!Ne){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=El(Ae);kt?he+=kt:he+=vr();var ut;R===null?ut="null":nn(R)?ut="array":R!==void 0&&R.$$typeof===u?(ut="<"+(me(R.type)||"Unknown")+" />",he=" Did you accidentally export a JSX literal instead of a component?"):ut=typeof R,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ut,he)}var st=gt(R,G,te,Ae,Se);if(st==null)return st;if(Ne){var hn=G.children;if(hn!==void 0)if(pe)if(nn(hn)){for(var Ga=0;Ga<hn.length;Ga++)Si(hn[Ga],R);Object.freeze&&Object.freeze(hn)}else j("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(hn,R)}if(Yt.call(G,"key")){var wa=me(R),Ot=Object.keys(G).filter(function(ke){return ke!=="key"}),Ri=Ot.length>0?"{key: someKey, "+Ot.join(": ..., ")+": ...}":"{key: someKey}";if(!Qn[wa+Ri]){var xa=Ot.length>0?"{"+Ot.join(": ..., ")+": ...}":"{}";j(`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,wa,xa,wa),Qn[wa+Ri]=!0}}return R===p?sa(st):Ta(st),st}}var Ci=qa;vh.Fragment=p,vh.jsxDEV=Ci})();tC.exports=vh;var D=tC.exports,mh={},rC={exports:{}},ra={},iC={exports:{}},oC={};(function(o){/**
- * @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(ee,de){var De=ee.length;ee.push(de),s(ee,de,De)}function v(ee){return ee.length===0?null:ee[0]}function h(ee){if(ee.length===0)return null;var de=ee[0],De=ee.pop();return De!==de&&(ee[0]=De,E(ee,De,0)),de}function s(ee,de,De){for(var We=De;We>0;){var lt=We-1>>>1,vt=ee[lt];if(g(vt,de)>0)ee[lt]=de,ee[We]=vt,We=lt;else return}}function E(ee,de,De){for(var We=De,lt=ee.length,vt=lt>>>1;We<vt;){var mt=(We+1)*2-1,mn=ee[mt],gt=mt+1,tt=ee[gt];if(g(mn,de)<0)gt<lt&&g(tt,mn)<0?(ee[We]=tt,ee[gt]=de,We=gt):(ee[We]=mn,ee[mt]=de,We=mt);else if(gt<lt&&g(tt,de)<0)ee[We]=tt,ee[gt]=de,We=gt;else return}}function g(ee,de){var De=ee.sortIndex-de.sortIndex;return De!==0?De:ee.id-de.id}var S=1,_=2,N=3,w=4,O=5;function P(ee,de){}var Q=typeof performance=="object"&&typeof performance.now=="function";if(Q){var J=performance;o.unstable_now=function(){return J.now()}}else{var q=Date,j=q.now();o.unstable_now=function(){return q.now()-j}}var z=1073741823,I=-1,K=250,fe=5e3,se=1e4,Ge=z,Ve=[],Pe=[],et=1,Ze=null,me=N,Ct=!1,ft=!1,Dt=!1,Ue=typeof setTimeout=="function"?setTimeout:null,pn=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(ee){for(var de=v(Pe);de!==null;){if(de.callback===null)h(Pe);else if(de.startTime<=ee)h(Pe),de.sortIndex=de.expirationTime,p(Ve,de);else return;de=v(Pe)}}function oa(ee){if(Dt=!1,Gn(ee),!ft)if(v(Ve)!==null)ft=!0,Ut(Pt);else{var de=v(Pe);de!==null&&Nn(oa,de.startTime-ee)}}function Pt(ee,de){ft=!1,Dt&&(Dt=!1,Vn()),Ct=!0;var De=me;try{var We;if(!u)return Ea(ee,de)}finally{Ze=null,me=De,Ct=!1}}function Ea(ee,de){var De=de;for(Gn(De),Ze=v(Ve);Ze!==null&&!(Ze.expirationTime>De&&(!ee||dr()));){var We=Ze.callback;if(typeof We=="function"){Ze.callback=null,me=Ze.priorityLevel;var lt=Ze.expirationTime<=De,vt=We(lt);De=o.unstable_now(),typeof vt=="function"?Ze.callback=vt:Ze===v(Ve)&&h(Ve),Gn(De)}else h(Ve);Ze=v(Ve)}if(Ze!==null)return!0;var mt=v(Pe);return mt!==null&&Nn(oa,mt.startTime-De),!1}function Tn(ee,de){switch(ee){case S:case _:case N:case w:case O:break;default:ee=N}var De=me;me=ee;try{return de()}finally{me=De}}function fr(ee){var de;switch(me){case S:case _:case N:de=N;break;default:de=me;break}var De=me;me=de;try{return ee()}finally{me=De}}function Ia(ee){var de=me;return function(){var De=me;me=de;try{return ee.apply(this,arguments)}finally{me=De}}}function Xt(ee,de,De){var We=o.unstable_now(),lt;if(typeof De=="object"&&De!==null){var vt=De.delay;typeof vt=="number"&&vt>0?lt=We+vt:lt=We}else lt=We;var mt;switch(ee){case S:mt=I;break;case _:mt=K;break;case O:mt=Ge;break;case w:mt=se;break;case N:default:mt=fe;break}var mn=lt+mt,gt={id:et++,callback:de,priorityLevel:ee,startTime:lt,expirationTime:mn,sortIndex:-1};return lt>We?(gt.sortIndex=lt,p(Pe,gt),v(Ve)===null&>===v(Pe)&&(Dt?Vn():Dt=!0,Nn(oa,lt-We))):(gt.sortIndex=mn,p(Ve,gt),!ft&&!Ct&&(ft=!0,Ut(Pt))),gt}function Wn(){}function Zt(){!ft&&!Ct&&(ft=!0,Ut(Pt))}function en(){return v(Ve)}function tn(ee){ee.callback=null}function jn(){return me}var $t=!1,wn=null,It=-1,Yt=f,la=-1;function dr(){var ee=o.unstable_now()-la;return!(ee<Yt)}function Sa(){}function Bn(ee){if(ee<0||ee>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}ee>0?Yt=Math.floor(1e3/ee):Yt=f}var vn=function(){if(wn!==null){var ee=o.unstable_now();la=ee;var de=!0,De=!0;try{De=wn(de,ee)}finally{De?nn():($t=!1,wn=null)}}else $t=!1},nn;if(typeof ba=="function")nn=function(){ba(vn)};else if(typeof MessageChannel<"u"){var xn=new MessageChannel,Ya=xn.port2;xn.port1.onmessage=vn,nn=function(){Ya.postMessage(null)}}else nn=function(){Ue(vn,0)};function Ut(ee){wn=ee,$t||($t=!0,nn())}function Nn(ee,de){It=Ue(function(){ee(o.unstable_now())},de)}function Vn(){pn(It),It=-1}var Hr=Sa,pr=null;o.unstable_IdlePriority=O,o.unstable_ImmediatePriority=S,o.unstable_LowPriority=w,o.unstable_NormalPriority=N,o.unstable_Profiling=pr,o.unstable_UserBlockingPriority=_,o.unstable_cancelCallback=tn,o.unstable_continueExecution=Zt,o.unstable_forceFrameRate=Bn,o.unstable_getCurrentPriorityLevel=jn,o.unstable_getFirstCallbackNode=en,o.unstable_next=fr,o.unstable_pauseExecution=Wn,o.unstable_requestPaint=Hr,o.unstable_runWithPriority=Tn,o.unstable_scheduleCallback=Xt,o.unstable_shouldYield=dr,o.unstable_wrapCallback=Ia,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()})(oC);iC.exports=oC;var ZD=iC.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 o=F,u=ZD,f=o.__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(l){return String(l)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}}var g=0,S=1,_=2,N=3,w=4,O=5,P=6,Q=7,J=8,q=9,j=10,z=11,I=12,K=13,fe=14,se=15,Ge=16,Ve=17,Pe=18,et=19,Ze=21,me=22,Ct=23,ft=24,Dt=25,Ue=!0,pn=!1,ba=!1,Gn=!1,oa=!1,Pt=!0,Ea=!0,Tn=!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 wn(e){try{return It(e),!1}catch{return!0}}function It(e){return""+e}function Yt(e,t){if(wn(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 la(e){if(wn(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(wn(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(wn(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(wn(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 vn(e){if(wn(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,xn=1,Ya=2,Ut=3,Nn=4,Vn=5,Hr=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",ee=pr+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",de=new RegExp("^["+pr+"]["+ee+"]*$"),De={},We={};function lt(e){return jn.call(We,e)?!0:jn.call(De,e)?!1:de.test(e)?(We[e]=!0,!0):(De[e]=!0,s("Invalid attribute name: `%s`",e),!1)}function vt(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 mt(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 mn(e,t,n,a){if(t===null||typeof t>"u"||mt(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case Ut:return!t;case Nn:return t===!1;case Vn:return isNaN(t);case Hr:return isNaN(t)||t<1}return!1}function gt(e){return bt.hasOwnProperty(e)?bt[e]:null}function tt(e,t,n,a,r,i,l){this.acceptsBooleans=t===Ya||t===Ut||t===Nn,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var bt={},Ca=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ca.forEach(function(e){bt[e]=new tt(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];bt[t]=new tt(t,xn,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){bt[e]=new tt(e,Ya,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){bt[e]=new tt(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){bt[e]=new tt(e,Ut,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){bt[e]=new tt(e,Ut,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){bt[e]=new tt(e,Nn,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){bt[e]=new tt(e,Hr,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){bt[e]=new tt(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);bt[t]=new tt(t,xn,!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);bt[t]=new tt(t,xn,!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);bt[t]=new tt(t,xn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){bt[e]=new tt(e,xn,!1,e.toLowerCase(),null,!1,!1)});var vr="xlinkHref";bt[vr]=new tt("xlinkHref",xn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){bt[e]=new tt(e,xn,!1,e.toLowerCase(),null,!0,!0)});var El=/^[\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 lo(e){!Ei&&El.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 uo(e,t,n,a){if(a.mustUseProperty){var r=a.propertyName;return e[r]}else{Yt(n,t),a.sanitizeURL&&lo(""+n);var i=a.attributeName,l=null;if(a.type===Nn){if(e.hasAttribute(i)){var c=e.getAttribute(i);return c===""?!0:mn(t,n,a,!1)?c:c===""+n?n:c}}else if(e.hasAttribute(i)){if(mn(t,n,a,!1))return e.getAttribute(i);if(a.type===Ut)return n;l=e.getAttribute(i)}return mn(t,n,a,!1)?l===null?n:l:l===""+n?n:l}}function Si(e,t,n,a){{if(!lt(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 Ta(e,t,n,a){var r=gt(t);if(!vt(t,r,a)){if(mn(t,n,r,a)&&(n=null),a||r===null){if(lt(t)){var i=t;n===null?e.removeAttribute(i):(Yt(n,t),e.setAttribute(i,""+n))}return}var l=r.mustUseProperty;if(l){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,b=r.attributeNamespace;if(n===null)e.removeAttribute(y);else{var x=r.type,T;x===Ut||x===Nn&&n===!0?T="":(Yt(n,y),T=""+n,r.sanitizeURL&&lo(T.toString())),b?e.setAttributeNS(b,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"),te=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),Ae=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),Ne=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),kt=Symbol.for("react.scope"),ut=Symbol.for("react.debug_trace_mode"),st=Symbol.for("react.offscreen"),hn=Symbol.for("react.legacy_hidden"),Ga=Symbol.for("react.cache"),wa=Symbol.for("react.tracing_marker"),Ot=Symbol.iterator,Ri="@@iterator";function xa(e){if(e===null||typeof e!="object")return null;var t=Ot&&e[Ot]||e[Ri];return typeof t=="function"?t:null}var ke=Object.assign,Ti=0,ws,xs,Fr,Sl,Cl,Rl,Tl;function wl(){}wl.__reactDisabledLog=!0;function Ns(){{if(Ti===0){ws=console.log,xs=console.info,Fr=console.warn,Sl=console.error,Cl=console.group,Rl=console.groupCollapsed,Tl=console.groupEnd;var e={configurable:!0,enumerable:!0,value:wl,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ti++}}function _s(){{if(Ti--,Ti===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ke({},e,{value:ws}),info:ke({},e,{value:xs}),warn:ke({},e,{value:Fr}),error:ke({},e,{value:Sl}),group:ke({},e,{value:Cl}),groupCollapsed:ke({},e,{value:Rl}),groupEnd:ke({},e,{value:Tl})})}Ti<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var so=f.ReactCurrentDispatcher,xl;function Wa(e,t,n){{if(xl===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);xl=a&&a[1]||""}return`
- `+xl+e}}var wi=!1,Pr;{var co=typeof WeakMap=="function"?WeakMap:Map;Pr=new co}function xi(e,t){if(!e||wi)return"";{var n=Pr.get(e);if(n!==void 0)return n}var a;wi=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=so.current,so.current=null,Ns();try{if(t){var l=function(){throw Error()};if(Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(l,[])}catch(M){a=M}Reflect.construct(e,[],l)}else{try{l.call()}catch(M){a=M}e.call(l.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,b=d.length-1;y>=1&&b>=0&&c[y]!==d[b];)b--;for(;y>=1&&b>=0;y--,b--)if(c[y]!==d[b]){if(y!==1||b!==1)do if(y--,b--,b<0||c[y]!==d[b]){var x=`
- `+c[y].replace(" at new "," at ");return e.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",e.displayName)),typeof e=="function"&&Pr.set(e,x),x}while(y>=1&&b>=0);break}}}finally{wi=!1,so.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 fo(e,t,n){return xi(e,!0)}function Nl(e,t,n){return xi(e,!1)}function Ds(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function _l(e,t,n){if(e==null)return"";if(typeof e=="function")return xi(e,Ds(e));if(typeof e=="string")return Wa(e);switch(e){case Ae:return Wa("Suspense");case Se:return Wa("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case pe:return Nl(e.render);case Ne:return _l(e.type,t,n);case he:{var a=e,r=a._payload,i=a._init;try{return _l(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 Ge:return Wa("Lazy");case K:return Wa("Suspense");case et:return Wa("SuspenseList");case g:case _:case se:return Nl(e.type);case z:return Nl(e.type.render);case S:return fo(e.type);default:return""}}function Ni(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 Dl(e){return e.displayName||"Context"}function $e(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 Ae:return"Suspense";case Se:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case te:var t=e;return Dl(t)+".Consumer";case G:var n=e;return Dl(n._context)+".Provider";case pe:return Us(e,e.render,"ForwardRef");case Ne:var a=e.displayName||null;return a!==null?a:$e(e.type)||"Memo";case he:{var r=e,i=r._payload,l=r._init;try{return $e(l(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 ft:return"Cache";case q:var a=n;return mr(a)+".Consumer";case j:var r=n;return mr(r._context)+".Provider";case Pe:return"DehydratedFragment";case z:return Zf(n,n.render,"ForwardRef");case Q:return"Fragment";case O:return n;case w:return"Portal";case N:return"Root";case P:return"Text";case Ge:return $e(n);case J:return n===Ci?"StrictMode":"Mode";case me:return"Offscreen";case I:return"Profiler";case Ze:return"Scope";case K:return"Suspense";case et:return"SuspenseList";case Dt:return"TracingMarker";case S:case g:case Ve:case _:case fe:case se:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var Ul=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?"":Ni(_n)}function qt(){Ul.getCurrentStack=null,_n=null,_i=!1}function dt(e){Ul.getCurrentStack=e===null?null:ed,_n=e,_i=!1}function ks(){return _n}function ca(e){_i=e}function Dn(e){return""+e}function Na(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return vn(e),e;default:return""}}var td={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function kl(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 Ol(e){return e._valueTracker}function po(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);vn(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){vn(c),a=""+c,i.call(this,c)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var l={getValue:function(){return a},setValue:function(c){vn(c),a=""+c},stopTracking:function(){po(e),delete e[t]}};return l}}function Di(e){Ol(e)||(e._valueTracker=Ir(e))}function Ll(e){if(!e)return!1;var t=Ol(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 vo=!1,mo=!1,ho=!1,Ls=!1;function As(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function Al(e,t){var n=e,a=t.checked,r=ke({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??n._wrapperState.initialChecked});return r}function Ms(e,t){kl("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!mo&&(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),mo=!0),t.value!==void 0&&t.defaultValue!==void 0&&!vo&&(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),vo=!0);var n=e,a=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Na(t.value!=null?t.value:a),controlled:As(t)}}function m(e,t){var n=e,a=t.checked;a!=null&&Ta(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&&!ho&&(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"),ho=!0)}m(e,t);var r=Na(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,Na(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 l=Dn(a._wrapperState.initialValue);n||l!==a.value&&(a.value=l),a.defaultValue=l}var c=a.name;c!==""&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,c!==""&&(a.name=c)}function B(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 l=r[i];if(!(l===e||l.form!==e.form)){var c=Sc(l);if(!c)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ll(l),C(l,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 ue=!1,Te=!1,Me=!1;function Qe(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?o.Children.forEach(t.children,function(n){n!=null&&(typeof n=="string"||typeof n=="number"||Te||(Te=!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&&(Me||(Me=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!ue&&(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ue=!0)}function rt(e,t){t.value!=null&&e.setAttribute("value",Dn(Na(t.value)))}var it=Array.isArray;function Oe(e){return it(e)}var pt;pt=!1;function Tt(){var e=$r();return e?`
- Check the render method of \``+e+"`.":""}var Ui=["value","defaultValue"];function Ml(e){{kl("select",e);for(var t=0;t<Ui.length;t++){var n=Ui[t];if(e[n]!=null){var a=Oe(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,l={},c=0;c<i.length;c++)l["$"+i[c]]=!0;for(var d=0;d<r.length;d++){var y=l.hasOwnProperty("$"+r[d].value);r[d].selected!==y&&(r[d].selected=y),y&&a&&(r[d].defaultSelected=!0)}}else{for(var b=Dn(Na(n)),x=null,T=0;T<r.length;T++){if(r[T].value===b){r[T].selected=!0,a&&(r[T].defaultSelected=!0);return}x===null&&!r[T].disabled&&(x=r[T])}x!==null&&(x.selected=!0)}}function zl(e,t){return ke({},t,{value:void 0})}function jl(e,t){var n=e;Ml(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!pt&&(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"),pt=!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 Ah=!1;function id(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=ke({},t,{value:void 0,defaultValue:void 0,children:Dn(n._wrapperState.initialValue)});return a}function Mh(e,t){var n=e;kl("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Ah&&(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"),Ah=!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(Oe(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:Na(a)}}function zh(e,t){var n=e,a=Na(t.value),r=Na(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 jh(e,t){var n=e,a=n.textContent;a===n._wrapperState.initialValue&&a!==""&&a!==null&&(n.value=a)}function zC(e,t){zh(e,t)}var gr="http://www.w3.org/1999/xhtml",jC="http://www.w3.org/1998/Math/MathML",od="http://www.w3.org/2000/svg";function ld(e){switch(e){case"svg":return od;case"math":return jC;default:return gr}}function ud(e,t){return e==null||e===gr?ld(t):e===od&&t==="foreignObject"?gr:e}var BC=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,a,r)})}:e},js,Bh=BC(function(e,t){if(e.namespaceURI===od&&!("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}),Hn=1,br=3,wt=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},VC={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"]},Bl={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 HC(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var FC=["Webkit","ms","Moz","O"];Object.keys(Bl).forEach(function(e){FC.forEach(function(t){Bl[HC(t,e)]=Bl[e]})});function cd(e,t,n){var a=t==null||typeof t=="boolean"||t==="";return a?"":!n&&typeof t=="number"&&t!==0&&!(Bl.hasOwnProperty(e)&&Bl[e])?t+"px":(Sa(t,e),(""+t).trim())}var PC=/([A-Z])/g,$C=/^ms-/;function IC(e){return e.replace(PC,"-$1").toLowerCase().replace($C,"-ms-")}var Vh=function(){};{var YC=/^(?:webkit|moz|o)[A-Z]/,qC=/^-ms-/,GC=/-(.)/g,Hh=/;\s*$/,yo={},fd={},Fh=!1,Ph=!1,WC=function(e){return e.replace(GC,function(t,n){return n.toUpperCase()})},QC=function(e){yo.hasOwnProperty(e)&&yo[e]||(yo[e]=!0,s("Unsupported style property %s. Did you mean %s?",e,WC(e.replace(qC,"ms-"))))},KC=function(e){yo.hasOwnProperty(e)&&yo[e]||(yo[e]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},JC=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,"")))},XC=function(e,t){Fh||(Fh=!0,s("`NaN` is an invalid value for the `%s` css style property.",e))},ZC=function(e,t){Ph||(Ph=!0,s("`Infinity` is an invalid value for the `%s` css style property.",e))};Vh=function(e,t){e.indexOf("-")>-1?QC(e):YC.test(e)?KC(e):Hh.test(t)&&JC(e,t),typeof t=="number"&&(isNaN(t)?XC(e,t):isFinite(t)||ZC(e,t))}}var e0=Vh;function t0(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:IC(a))+":",t+=cd(a,r,i),n=";"}}return t||null}}function $h(e,t){var n=e.style;for(var a in t)if(t.hasOwnProperty(a)){var r=a.indexOf("--")===0;r||e0(a,t[a]);var i=cd(a,t[a],r);a==="float"&&(a="cssFloat"),r?n.setProperty(a,i):n[a]=i}}function n0(e){return e==null||typeof e=="boolean"||e===""}function Ih(e){var t={};for(var n in e)for(var a=VC[n]||[n],r=0;r<a.length;r++)t[a[r]]=n;return t}function a0(e,t){{if(!t)return;var n=Ih(e),a=Ih(t),r={};for(var i in n){var l=n[i],c=a[i];if(c&&l!==c){var d=l+","+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.",n0(e[l])?"Removing":"Updating",l,c)}}}}var r0={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},i0=ke({menuitem:!0},r0),o0="__html";function dd(e,t){if(t){if(i0[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"||!(o0 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"},Yh={"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},go={},l0=new RegExp("^(aria)-["+ee+"]*$"),u0=new RegExp("^(aria)[A-Z]["+ee+"]*$");function s0(e,t){{if(jn.call(go,t)&&go[t])return!0;if(u0.test(t)){var n="aria-"+t.slice(4).toLowerCase(),a=Yh.hasOwnProperty(n)?n:null;if(a==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),go[t]=!0,!0;if(t!==a)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),go[t]=!0,!0}if(l0.test(t)){var r=t.toLowerCase(),i=Yh.hasOwnProperty(r)?r:null;if(i==null)return go[t]=!0,!1;if(t!==i)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),go[t]=!0,!0}}return!0}function c0(e,t){{var n=[];for(var a in t){var r=s0(e,a);r||n.push(a)}var i=n.map(function(l){return"`"+l+"`"}).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 f0(e,t){ki(e,t)||c0(e,t)}var qh=!1;function d0(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!qh&&(qh=!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 Gh=function(){};{var Un={},Wh=/^on./,p0=/^on[^A-Z]/,v0=new RegExp("^(aria)-["+ee+"]*$"),m0=new RegExp("^(aria)[A-Z]["+ee+"]*$");Gh=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,l=a.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var c=l.hasOwnProperty(r)?l[r]:null;if(c!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",t,c),Un[t]=!0,!0;if(Wh.test(t))return s("Unknown event handler property `%s`. It will be ignored.",t),Un[t]=!0,!0}else if(Wh.test(t))return p0.test(t)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Un[t]=!0,!0;if(v0.test(t)||m0.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=gt(t),y=d!==null&&d.type===nn;if(Vs.hasOwnProperty(r)){var b=Vs[r];if(b!==t)return s("Invalid DOM property `%s`. Did you mean `%s`?",t,b),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"&&mt(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:mt(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 h0=function(e,t,n){{var a=[];for(var r in t){var i=Gh(e,r,t[r],n);i||a.push(r)}var l=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 ",l,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 ",l,e)}};function y0(e,t,n){ki(e,t)||h0(e,t,n)}var Qh=1,pd=2,Vl=4,g0=Qh|pd|Vl,Hl=null;function b0(e){Hl!==null&&s("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Hl=e}function E0(){Hl===null&&s("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Hl=null}function S0(e){return e===Hl}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,bo=null,Eo=null;function Kh(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 C0(e){md=e}function Jh(e){bo?Eo?Eo.push(e):Eo=[e]:bo=e}function R0(){return bo!==null||Eo!==null}function Xh(){if(bo){var e=bo,t=Eo;if(bo=null,Eo=null,Kh(e),t)for(var n=0;n<t.length;n++)Kh(t[n])}}var Zh=function(e,t){return e(t)},ey=function(){},hd=!1;function T0(){var e=R0();e&&(ey(),Xh())}function ty(e,t,n){if(hd)return e(t,n);hd=!0;try{return Zh(e,t,n)}finally{hd=!1,T0()}}function w0(e,t,n){Zh=e,ey=n}function x0(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function N0(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&&x0(t));default:return!1}}function Fl(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(N0(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 Pl={};Object.defineProperty(Pl,"passive",{get:function(){yd=!0}}),window.addEventListener("test",Pl,Pl),window.removeEventListener("test",Pl,Pl)}catch{yd=!1}function ny(e,t,n,a,r,i,l,c,d){var y=Array.prototype.slice.call(arguments,3);try{t.apply(n,y)}catch(b){this.onError(b)}}var ay=ny;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var gd=document.createElement("react");ay=function(t,n,a,r,i,l,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 b=document.createEvent("Event"),x=!1,T=!0,L=window.event,M=Object.getOwnPropertyDescriptor(window,"event");function V(){gd.removeEventListener(H,ve,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=L)}var ne=Array.prototype.slice.call(arguments,3);function ve(){x=!0,V(),n.apply(a,ne),T=!1}var ce,Be=!1,Le=!1;function U(k){if(ce=k.error,Be=!0,ce===null&&k.colno===0&&k.lineno===0&&(Le=!0),k.defaultPrevented&&ce!=null&&typeof ce=="object")try{ce._suppressLogging=!0}catch{}}var H="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",U),gd.addEventListener(H,ve,!1),b.initEvent(H,!1,!1),gd.dispatchEvent(b),M&&Object.defineProperty(window,"event",M),x&&T&&(Be?Le&&(ce=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.")):ce=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(ce)),window.removeEventListener("error",U),!x)return V(),ny.apply(this,arguments)}}var _0=ay,So=!1,Hs=null,Fs=!1,bd=null,D0={onError:function(e){So=!0,Hs=e}};function Ed(e,t,n,a,r,i,l,c,d){So=!1,Hs=null,_0.apply(D0,arguments)}function U0(e,t,n,a,r,i,l,c,d){if(Ed.apply(this,arguments),So){var y=Sd();Fs||(Fs=!0,bd=y)}}function k0(){if(Fs){var e=bd;throw Fs=!1,bd=null,e}}function O0(){return So}function Sd(){if(So){var e=Hs;return So=!1,Hs=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 Co(e){return e._reactInternals}function L0(e){return e._reactInternals!==void 0}function A0(e,t){e._reactInternals=t}var be=0,Ro=1,xt=2,Ie=4,Oi=16,$l=32,ry=64,Ye=128,Sr=256,Li=512,To=1024,Yr=2048,Cr=4096,Ai=8192,Cd=16384,M0=32767,Ps=32768,kn=65536,Rd=131072,iy=1048576,Td=2097152,Mi=4194304,wd=8388608,qr=16777216,xd=33554432,Nd=Ie|To|0,_d=xt|Ie|Oi|$l|Li|Cr|Ai,Il=Ie|ry|Li|Ai,wo=Yr|Oi,Rr=Mi|wd|Td,z0=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===N?n:null}function oy(e){if(e.tag===K){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 ly(e){return e.tag===N?e.stateNode.containerInfo:null}function j0(e){return zi(e)===e}function B0(e){{var t=z0.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=Co(e);return r?zi(r)===r:!1}function uy(e){if(zi(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function sy(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 l=i.alternate;if(l===null){var c=i.return;if(c!==null){a=r=c;continue}break}if(i.child===l.child){for(var d=i.child;d;){if(d===a)return uy(i),e;if(d===r)return uy(i),t;d=d.sibling}throw new Error("Unable to find node on an unmounted component.")}if(a.return!==r.return)a=i,r=l;else{for(var y=!1,b=i.child;b;){if(b===a){y=!0,a=i,r=l;break}if(b===r){y=!0,r=i,a=l;break}b=b.sibling}if(!y){for(b=l.child;b;){if(b===a){y=!0,a=l,r=i;break}if(b===r){y=!0,r=l,a=i;break}b=b.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!==N)throw new Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function cy(e){var t=sy(e);return t!==null?fy(t):null}function fy(e){if(e.tag===O||e.tag===P)return e;for(var t=e.child;t!==null;){var n=fy(t);if(n!==null)return n;t=t.sibling}return null}function V0(e){var t=sy(e);return t!==null?dy(t):null}function dy(e){if(e.tag===O||e.tag===P)return e;for(var t=e.child;t!==null;){if(t.tag!==w){var n=dy(t);if(n!==null)return n}t=t.sibling}return null}var py=u.unstable_scheduleCallback,H0=u.unstable_cancelCallback,F0=u.unstable_shouldYield,P0=u.unstable_requestPaint,Gt=u.unstable_now,$0=u.unstable_getCurrentPriorityLevel,$s=u.unstable_ImmediatePriority,Dd=u.unstable_UserBlockingPriority,ji=u.unstable_NormalPriority,I0=u.unstable_LowPriority,Ud=u.unstable_IdlePriority,Y0=u.unstable_yieldValue,q0=u.unstable_setDisableYieldValue,xo=null,yn=null,re=null,Qa=!1,_a=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function G0(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=ke({},e,{getLaneLabelMap:Z0,injectProfilingHooks:X0})),xo=t.inject(e),yn=t}catch(n){s("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function W0(e,t){if(yn&&typeof yn.onScheduleFiberRoot=="function")try{yn.onScheduleFiberRoot(xo,e,t)}catch(n){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",n))}}function Q0(e,t){if(yn&&typeof yn.onCommitFiberRoot=="function")try{var n=(e.current.flags&Ye)===Ye;if(Tn){var a;switch(t){case Xn:a=$s;break;case wr:a=Dd;break;case xr:a=ji;break;case Ks:a=Ud;break;default:a=ji;break}yn.onCommitFiberRoot(xo,e,a,n)}}catch(r){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",r))}}function K0(e){if(yn&&typeof yn.onPostCommitFiberRoot=="function")try{yn.onPostCommitFiberRoot(xo,e)}catch(t){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",t))}}function J0(e){if(yn&&typeof yn.onCommitFiberUnmount=="function")try{yn.onCommitFiberUnmount(xo,e)}catch(t){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",t))}}function Wt(e){if(typeof Y0=="function"&&(q0(e),v(e)),yn&&typeof yn.setStrictMode=="function")try{yn.setStrictMode(xo,e)}catch(t){Qa||(Qa=!0,s("React instrumentation encountered an error: %s",t))}}function X0(e){re=e}function Z0(){{for(var e=new Map,t=1,n=0;n<Od;n++){var a=bR(t);e.set(t,a),t*=2}return e}}function eR(e){re!==null&&typeof re.markCommitStarted=="function"&&re.markCommitStarted(e)}function vy(){re!==null&&typeof re.markCommitStopped=="function"&&re.markCommitStopped()}function Yl(e){re!==null&&typeof re.markComponentRenderStarted=="function"&&re.markComponentRenderStarted(e)}function No(){re!==null&&typeof re.markComponentRenderStopped=="function"&&re.markComponentRenderStopped()}function tR(e){re!==null&&typeof re.markComponentPassiveEffectMountStarted=="function"&&re.markComponentPassiveEffectMountStarted(e)}function nR(){re!==null&&typeof re.markComponentPassiveEffectMountStopped=="function"&&re.markComponentPassiveEffectMountStopped()}function aR(e){re!==null&&typeof re.markComponentPassiveEffectUnmountStarted=="function"&&re.markComponentPassiveEffectUnmountStarted(e)}function rR(){re!==null&&typeof re.markComponentPassiveEffectUnmountStopped=="function"&&re.markComponentPassiveEffectUnmountStopped()}function iR(e){re!==null&&typeof re.markComponentLayoutEffectMountStarted=="function"&&re.markComponentLayoutEffectMountStarted(e)}function oR(){re!==null&&typeof re.markComponentLayoutEffectMountStopped=="function"&&re.markComponentLayoutEffectMountStopped()}function my(e){re!==null&&typeof re.markComponentLayoutEffectUnmountStarted=="function"&&re.markComponentLayoutEffectUnmountStarted(e)}function hy(){re!==null&&typeof re.markComponentLayoutEffectUnmountStopped=="function"&&re.markComponentLayoutEffectUnmountStopped()}function lR(e,t,n){re!==null&&typeof re.markComponentErrored=="function"&&re.markComponentErrored(e,t,n)}function uR(e,t,n){re!==null&&typeof re.markComponentSuspended=="function"&&re.markComponentSuspended(e,t,n)}function sR(e){re!==null&&typeof re.markLayoutEffectsStarted=="function"&&re.markLayoutEffectsStarted(e)}function cR(){re!==null&&typeof re.markLayoutEffectsStopped=="function"&&re.markLayoutEffectsStopped()}function fR(e){re!==null&&typeof re.markPassiveEffectsStarted=="function"&&re.markPassiveEffectsStarted(e)}function dR(){re!==null&&typeof re.markPassiveEffectsStopped=="function"&&re.markPassiveEffectsStopped()}function yy(e){re!==null&&typeof re.markRenderStarted=="function"&&re.markRenderStarted(e)}function pR(){re!==null&&typeof re.markRenderYielded=="function"&&re.markRenderYielded()}function gy(){re!==null&&typeof re.markRenderStopped=="function"&&re.markRenderStopped()}function vR(e){re!==null&&typeof re.markRenderScheduled=="function"&&re.markRenderScheduled(e)}function mR(e,t){re!==null&&typeof re.markForceUpdateScheduled=="function"&&re.markForceUpdateScheduled(e,t)}function kd(e,t){re!==null&&typeof re.markStateUpdateScheduled=="function"&&re.markStateUpdateScheduled(e,t)}var ye=0,ze=1,Ke=2,Et=8,Ka=16,by=Math.clz32?Math.clz32:gR,hR=Math.log,yR=Math.LN2;function gR(e){var t=e>>>0;return t===0?32:31-(hR(t)/yR|0)|0}var Od=31,Y=0,Qt=0,Ce=1,_o=2,Tr=4,Bi=8,Ja=16,ql=32,Do=4194240,Gl=64,Ld=128,Ad=256,Md=512,zd=1024,jd=2048,Bd=4096,Vd=8192,Hd=16384,Fd=32768,Pd=65536,$d=131072,Id=262144,Yd=524288,qd=1048576,Gd=2097152,Is=130023424,Uo=4194304,Wd=8388608,Qd=16777216,Kd=33554432,Jd=67108864,Ey=Uo,Wl=134217728,Sy=268435455,Ql=268435456,Vi=536870912,Kn=1073741824;function bR(e){{if(e&Ce)return"Sync";if(e&_o)return"InputContinuousHydration";if(e&Tr)return"InputContinuous";if(e&Bi)return"DefaultHydration";if(e&Ja)return"Default";if(e&ql)return"TransitionHydration";if(e&Do)return"Transition";if(e&Is)return"Retry";if(e&Wl)return"SelectiveHydration";if(e&Ql)return"IdleHydration";if(e&Vi)return"Idle";if(e&Kn)return"Offscreen"}}var ot=-1,Ys=Gl,qs=Uo;function Kl(e){switch(Hi(e)){case Ce:return Ce;case _o:return _o;case Tr:return Tr;case Bi:return Bi;case Ja:return Ja;case ql:return ql;case Gl:case Ld:case Ad:case Md:case zd:case jd:case Bd:case Vd:case Hd:case Fd:case Pd:case $d:case Id:case Yd:case qd:case Gd:return e&Do;case Uo:case Wd:case Qd:case Kd:case Jd:return e&Is;case Wl:return Wl;case Ql:return Ql;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,l=n&Sy;if(l!==Y){var c=l&~r;if(c!==Y)a=Kl(c);else{var d=l&i;d!==Y&&(a=Kl(d))}}else{var y=n&~r;y!==Y?a=Kl(y):i!==Y&&(a=Kl(i))}if(a===Y)return Y;if(t!==Y&&t!==a&&(t&r)===Y){var b=Hi(a),x=Hi(t);if(b>=x||b===Ja&&(x&Do)!==Y)return t}(a&Tr)!==Y&&(a|=n&Ja);var T=e.entangledLanes;if(T!==Y)for(var L=e.entanglements,M=a&T;M>0;){var V=Fi(M),ne=1<<V;a|=L[V],M&=~ne}return a}function ER(e,t){for(var n=e.eventTimes,a=ot;t>0;){var r=Fi(t),i=1<<r,l=n[r];l>a&&(a=l),t&=~i}return a}function SR(e,t){switch(e){case Ce:case _o:case Tr:return t+250;case Bi:case Ja:case ql:case Gl:case Ld:case Ad:case Md:case zd:case jd:case Bd:case Vd:case Hd:case Fd:case Pd:case $d:case Id:case Yd:case qd:case Gd:return t+5e3;case Uo:case Wd:case Qd:case Kd:case Jd:return ot;case Wl:case Ql:case Vi:case Kn:return ot;default:return s("Should have found matching lanes. This is a bug in React."),ot}}function CR(e,t){for(var n=e.pendingLanes,a=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,l=n;l>0;){var c=Fi(l),d=1<<c,y=i[c];y===ot?((d&a)===Y||(d&r)!==Y)&&(i[c]=SR(d,t)):y<=t&&(e.expiredLanes|=d),l&=~d}}function RR(e){return Kl(e.pendingLanes)}function Xd(e){var t=e.pendingLanes&~Kn;return t!==Y?t:t&Kn?Kn:Y}function TR(e){return(e&Ce)!==Y}function Zd(e){return(e&Sy)!==Y}function Cy(e){return(e&Is)===e}function wR(e){var t=Ce|Tr|Ja;return(e&t)===Y}function xR(e){return(e&Do)===e}function Ws(e,t){var n=_o|Tr|Bi|Ja;return(t&n)!==Y}function NR(e,t){return(t&e.expiredLanes)!==Y}function Ry(e){return(e&Do)!==Y}function Ty(){var e=Ys;return Ys<<=1,(Ys&Do)===Y&&(Ys=Gl),e}function _R(){var e=qs;return qs<<=1,(qs&Is)===Y&&(qs=Uo),e}function Hi(e){return e&-e}function Jl(e){return Hi(e)}function Fi(e){return 31-by(e)}function ep(e){return Fi(e)}function Jn(e,t){return(e&t)!==Y}function ko(e,t){return(e&t)===t}function _e(e,t){return e|t}function Qs(e,t){return e&~t}function wy(e,t){return e&t}function XA(e){return e}function DR(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 Xl(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 UR(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,a=t;a>0;){var r=Fi(a),i=1<<r;n[r]=ot,a&=~i}}function xy(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function kR(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,l=n;l>0;){var c=Fi(l),d=1<<c;a[c]=Y,r[c]=ot,i[c]=ot,l&=~d}}function np(e,t){for(var n=e.entangledLanes|=t,a=e.entanglements,r=n;r;){var i=Fi(r),l=1<<i;l&t|a[i]&t&&(a[i]|=t),r&=~l}}function OR(e,t){var n=Hi(t),a;switch(n){case Tr:a=_o;break;case Ja:a=Bi;break;case Gl:case Ld:case Ad:case Md:case zd:case jd:case Bd:case Vd:case Hd:case Fd:case Pd:case $d:case Id:case Yd:case qd:case Gd:case Uo:case Wd:case Qd:case Kd:case Jd:a=ql;break;case Vi:a=Ql;break;default:a=Qt;break}return(a&(e.suspendedLanes|t))!==Qt?Qt:a}function Ny(e,t,n){if(_a)for(var a=e.pendingUpdatersLaneMap;n>0;){var r=ep(n),i=1<<r,l=a[r];l.add(t),n&=~i}}function _y(e,t){if(_a)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;t>0;){var r=ep(t),i=1<<r,l=n[r];l.size>0&&(l.forEach(function(c){var d=c.alternate;(d===null||!a.has(d))&&a.add(c)}),l.clear()),t&=~i}}function Dy(e,t){return null}var Xn=Ce,wr=Tr,xr=Ja,Ks=Vi,Zl=Qt;function Da(){return Zl}function Kt(e){Zl=e}function LR(e,t){var n=Zl;try{return Zl=e,t()}finally{Zl=n}}function AR(e,t){return e!==0&&e<t?e:t}function MR(e,t){return e>t?e:t}function ap(e,t){return e!==0&&e<t}function Uy(e){var t=Hi(e);return ap(Xn,t)?ap(wr,t)?Zd(t)?xr:Ks:wr:Xn}function Js(e){var t=e.current.memoizedState;return t.isDehydrated}var ky;function zR(e){ky=e}function jR(e){ky(e)}var rp;function BR(e){rp=e}var Oy;function VR(e){Oy=e}var Ly;function HR(e){Ly=e}var Ay;function FR(e){Ay=e}var ip=!1,Xs=[],Gr=null,Wr=null,Qr=null,eu=new Map,tu=new Map,Kr=[],PR=["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 $R(e){return PR.indexOf(e)>-1}function IR(e,t,n,a,r){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:r,targetContainers:[a]}}function My(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 l=IR(t,n,a,r,i);if(t!==null){var c=Zr(t);c!==null&&rp(c)}return l}e.eventSystemFlags|=a;var d=e.targetContainers;return r!==null&&d.indexOf(r)===-1&&d.push(r),e}function YR(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 l=r;return Wr=nu(Wr,e,t,n,a,l),!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 b=r,x=b.pointerId;return tu.set(x,nu(tu.get(x)||null,e,t,n,a,b)),!0}}return!1}function zy(e){var t=Ii(e.target);if(t!==null){var n=zi(t);if(n!==null){var a=n.tag;if(a===K){var r=oy(n);if(r!==null){e.blockedOn=r,Ay(e.priority,function(){Oy(n)});return}}else if(a===N){var i=n.stateNode;if(Js(i)){e.blockedOn=ly(n);return}}}}e.blockedOn=null}function qR(e){for(var t=Ly(),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&&zy(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);b0(i),r.target.dispatchEvent(i),E0()}else{var l=Zr(a);return l!==null&&rp(l),e.blockedOn=a,!1}t.shift()}return!0}function jy(e,t,n){Zs(e)&&n.delete(t)}function GR(){ip=!1,Gr!==null&&Zs(Gr)&&(Gr=null),Wr!==null&&Zs(Wr)&&(Wr=null),Qr!==null&&Zs(Qr)&&(Qr=null),eu.forEach(jy),tu.forEach(jy)}function au(e,t){e.blockedOn===t&&(e.blockedOn=null,ip||(ip=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,GR)))}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 l=Kr[0];if(l.blockedOn!==null)break;zy(l),l.blockedOn===null&&Kr.shift()}}var Oo=f.ReactCurrentBatchConfig,op=!0;function By(e){op=!!e}function WR(){return op}function QR(e,t,n){var a=Vy(t),r;switch(a){case Xn:r=KR;break;case wr:r=JR;break;case xr:default:r=lp;break}return r.bind(null,t,n,e)}function KR(e,t,n,a){var r=Da(),i=Oo.transition;Oo.transition=null;try{Kt(Xn),lp(e,t,n,a)}finally{Kt(r),Oo.transition=i}}function JR(e,t,n,a){var r=Da(),i=Oo.transition;Oo.transition=null;try{Kt(wr),lp(e,t,n,a)}finally{Kt(r),Oo.transition=i}}function lp(e,t,n,a){op&&XR(e,t,n,a)}function XR(e,t,n,a){var r=up(e,t,n,a);if(r===null){Cp(e,t,a,ec,n),My(e,a);return}if(YR(r,e,t,n,a)){a.stopPropagation();return}if(My(e,a),t&Vl&&$R(e)){for(;r!==null;){var i=Zr(r);i!==null&&jR(i);var l=up(e,t,n,a);if(l===null&&Cp(e,t,a,ec,n),l===r)break;r=l}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 l=zi(i);if(l===null)i=null;else{var c=l.tag;if(c===K){var d=oy(l);if(d!==null)return d;i=null}else if(c===N){var y=l.stateNode;if(Js(y))return ly(l);i=null}else l!==i&&(i=null)}}return ec=i,null}function Vy(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 wr;case"message":{var t=$0();switch(t){case $s:return Xn;case Dd:return wr;case ji:case I0:return xr;case Ud:return Ks;default:return xr}}default:return xr}}function ZR(e,t,n){return e.addEventListener(t,n,!1),n}function eT(e,t,n){return e.addEventListener(t,n,!0),n}function tT(e,t,n,a){return e.addEventListener(t,n,{capture:!0,passive:a}),n}function nT(e,t,n,a){return e.addEventListener(t,n,{passive:a}),n}var iu=null,sp=null,ou=null;function aT(e){return iu=e,sp=Fy(),!0}function rT(){iu=null,sp=null,ou=null}function Hy(){if(ou)return ou;var e,t=sp,n=t.length,a,r=Fy(),i=r.length;for(e=0;e<n&&t[e]===r[e];e++);var l=n-e;for(a=1;a<=l&&t[n-a]===r[i-a];a++);var c=a>1?1-a:void 0;return ou=r.slice(e,c),ou}function Fy(){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 Py(){return!1}function Zn(e){function t(n,a,r,i,l){this._reactName=n,this._targetInst=r,this.type=a,this.nativeEvent=i,this.target=l,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=Py,this.isPropagationStopped=Py,this}return ke(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 Lo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cp=Zn(Lo),lu=ke({},Lo,{view:0,detail:0}),iT=Zn(lu),fp,dp,uu;function oT(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=ke({},lu,{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:(oT(e),fp)},movementY:function(e){return"movementY"in e?e.movementY:dp}}),$y=Zn(ac),lT=ke({},ac,{dataTransfer:0}),uT=Zn(lT),sT=ke({},lu,{relatedTarget:0}),pp=Zn(sT),cT=ke({},Lo,{animationName:0,elapsedTime:0,pseudoElement:0}),fT=Zn(cT),dT=ke({},Lo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),pT=Zn(dT),vT=ke({},Lo,{data:0}),Iy=Zn(vT),mT=Iy,hT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yT={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 gT(e){if(e.key){var t=hT[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"?yT[e.keyCode]||"Unidentified":""}var bT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ET(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var a=bT[e];return a?!!n[a]:!1}function vp(e){return ET}var ST=ke({},lu,{key:gT,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}}),CT=Zn(ST),RT=ke({},ac,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Yy=Zn(RT),TT=ke({},lu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vp}),wT=Zn(TT),xT=ke({},Lo,{propertyName:0,elapsedTime:0,pseudoElement:0}),NT=Zn(xT),_T=ke({},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}),DT=Zn(_T),UT=[9,13,27,32],qy=229,mp=tn&&"CompositionEvent"in window,su=null;tn&&"documentMode"in document&&(su=document.documentMode);var kT=tn&&"TextEvent"in window&&!su,Gy=tn&&(!mp||su&&su>8&&su<=11),Wy=32,Qy=String.fromCharCode(Wy);function OT(){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 Ky=!1;function LT(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function AT(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function MT(e,t){return e==="keydown"&&t.keyCode===qy}function Jy(e,t){switch(e){case"keyup":return UT.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==qy;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xy(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Zy(e){return e.locale==="ko"}var Ao=!1;function zT(e,t,n,a,r){var i,l;if(mp?i=AT(t):Ao?Jy(t,a)&&(i="onCompositionEnd"):MT(t,a)&&(i="onCompositionStart"),!i)return null;Gy&&!Zy(a)&&(!Ao&&i==="onCompositionStart"?Ao=aT(r):i==="onCompositionEnd"&&Ao&&(l=Hy()));var c=uc(n,i);if(c.length>0){var d=new Iy(i,t,null,a,r);if(e.push({event:d,listeners:c}),l)d.data=l;else{var y=Xy(a);y!==null&&(d.data=y)}}}function jT(e,t){switch(e){case"compositionend":return Xy(t);case"keypress":var n=t.which;return n!==Wy?null:(Ky=!0,Qy);case"textInput":var a=t.data;return a===Qy&&Ky?null:a;default:return null}}function BT(e,t){if(Ao){if(e==="compositionend"||!mp&&Jy(e,t)){var n=Hy();return rT(),Ao=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!LT(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Gy&&!Zy(t)?null:t.data;default:return null}}function VT(e,t,n,a,r){var i;if(kT?i=jT(t,a):i=BT(t,a),!i)return null;var l=uc(n,"onBeforeInput");if(l.length>0){var c=new mT("onBeforeInput","beforeinput",null,a,r);e.push({event:c,listeners:l}),c.data=i}}function HT(e,t,n,a,r,i,l){zT(e,t,n,a,r),VT(e,t,n,a,r)}var FT={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 eg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!FT[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 PT(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 $T(){Zt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function tg(e,t,n,a){Jh(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 IT(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function YT(e){var t=[];tg(t,fu,e,vd(e)),ty(qT,t)}function qT(e){bg(e,0)}function rc(e){var t=Ho(e);if(Ll(t))return e}function GT(e,t){if(e==="change")return t}var ng=!1;tn&&(ng=PT("input")&&(!document.documentMode||document.documentMode>9));function WT(e,t){cu=e,fu=t,cu.attachEvent("onpropertychange",rg)}function ag(){cu&&(cu.detachEvent("onpropertychange",rg),cu=null,fu=null)}function rg(e){e.propertyName==="value"&&rc(fu)&&YT(e)}function QT(e,t,n){e==="focusin"?(ag(),WT(t,n)):e==="focusout"&&ag()}function KT(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return rc(fu)}function JT(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function XT(e,t){if(e==="click")return rc(t)}function ZT(e,t){if(e==="input"||e==="change")return rc(t)}function ew(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||ge(e,"number",e.value)}function tw(e,t,n,a,r,i,l){var c=n?Ho(n):window,d,y;if(IT(c)?d=GT:eg(c)?ng?d=ZT:(d=KT,y=QT):JT(c)&&(d=XT),d){var b=d(t,n);if(b){tg(e,b,a,r);return}}y&&y(t,c,n),t==="focusout"&&ew(c)}function nw(){en("onMouseEnter",["mouseout","mouseover"]),en("onMouseLeave",["mouseout","mouseover"]),en("onPointerEnter",["pointerout","pointerover"]),en("onPointerLeave",["pointerout","pointerover"])}function aw(e,t,n,a,r,i,l){var c=t==="mouseover"||t==="pointerover",d=t==="mouseout"||t==="pointerout";if(c&&!S0(a)){var y=a.relatedTarget||a.fromElement;if(y&&(Ii(y)||xu(y)))return}if(!(!d&&!c)){var b;if(r.window===r)b=r;else{var x=r.ownerDocument;x?b=x.defaultView||x.parentWindow:b=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!==P)&&(L=null)}}else T=null,L=n;if(T!==L){var ne=$y,ve="onMouseLeave",ce="onMouseEnter",Be="mouse";(t==="pointerout"||t==="pointerover")&&(ne=Yy,ve="onPointerLeave",ce="onPointerEnter",Be="pointer");var Le=T==null?b:Ho(T),U=L==null?b:Ho(L),H=new ne(ve,Be+"leave",T,a,r);H.target=Le,H.relatedTarget=U;var k=null,W=Ii(r);if(W===n){var oe=new ne(ce,Be+"enter",L,a,r);oe.target=U,oe.relatedTarget=Le,k=oe}Nw(e,H,k,T,L)}}}function rw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ea=typeof Object.is=="function"?Object.is:rw;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 ig(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function iw(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function og(e,t){for(var n=ig(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=ig(iw(n))}}function ow(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,l=a.focusNode,c=a.focusOffset;try{r.nodeType,l.nodeType}catch{return null}return lw(e,r,i,l,c)}function lw(e,t,n,a,r){var i=0,l=-1,c=-1,d=0,y=0,b=e,x=null;e:for(;;){for(var T=null;b===t&&(n===0||b.nodeType===br)&&(l=i+n),b===a&&(r===0||b.nodeType===br)&&(c=i+r),b.nodeType===br&&(i+=b.nodeValue.length),(T=b.firstChild)!==null;)x=b,b=T;for(;;){if(b===e)break e;if(x===t&&++d===n&&(l=i),x===a&&++y===r&&(c=i),(T=b.nextSibling)!==null)break;b=x,x=b.parentNode}b=T}return l===-1||c===-1?null:{start:l,end:c}}function uw(e,t){var n=e.ownerDocument||document,a=n&&n.defaultView||window;if(a.getSelection){var r=a.getSelection(),i=e.textContent.length,l=Math.min(t.start,i),c=t.end===void 0?l:Math.min(t.end,i);if(!r.extend&&l>c){var d=c;c=l,l=d}var y=og(e,l),b=og(e,c);if(y&&b){if(r.rangeCount===1&&r.anchorNode===y.node&&r.anchorOffset===y.offset&&r.focusNode===b.node&&r.focusOffset===b.offset)return;var x=n.createRange();x.setStart(y.node,y.offset),r.removeAllRanges(),l>c?(r.addRange(x),r.extend(b.node,b.offset)):(x.setEnd(b.node,b.offset),r.addRange(x))}}}function lg(e){return e&&e.nodeType===br}function ug(e,t){return!e||!t?!1:e===t?!0:lg(e)?!1:lg(t)?ug(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function sw(e){return e&&e.ownerDocument&&ug(e.ownerDocument.documentElement,e)}function cw(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function sg(){for(var e=window,t=hr();t instanceof e.HTMLIFrameElement;){if(cw(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 fw(){var e=sg();return{focusedElem:e,selectionRange:hp(e)?pw(e):null}}function dw(e){var t=sg(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&sw(n)){a!==null&&hp(n)&&vw(n,a);for(var r=[],i=n;i=i.parentNode;)i.nodeType===Hn&&r.push({element:i,left:i.scrollLeft,top:i.scrollTop});typeof n.focus=="function"&&n.focus();for(var l=0;l<r.length;l++){var c=r[l];c.element.scrollLeft=c.left,c.element.scrollTop=c.top}}}function pw(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=ow(e),t||{start:0,end:0}}function vw(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)):uw(e,t)}var mw=tn&&"documentMode"in document&&document.documentMode<=11;function hw(){Zt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Mo=null,yp=null,pu=null,gp=!1;function yw(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 gw(e){return e.window===e?e.document:e.nodeType===Er?e:e.ownerDocument}function cg(e,t,n){var a=gw(n);if(!(gp||Mo==null||Mo!==hr(a))){var r=yw(Mo);if(!pu||!du(pu,r)){pu=r;var i=uc(yp,"onSelect");if(i.length>0){var l=new cp("onSelect","select",null,t,n);e.push({event:l,listeners:i}),l.target=Mo}}}}function bw(e,t,n,a,r,i,l){var c=n?Ho(n):window;switch(t){case"focusin":(eg(c)||c.contentEditable==="true")&&(Mo=c,yp=n,pu=null);break;case"focusout":Mo=null,yp=null,pu=null;break;case"mousedown":gp=!0;break;case"contextmenu":case"mouseup":case"dragend":gp=!1,cg(e,a,r);break;case"selectionchange":if(mw)break;case"keydown":case"keyup":cg(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 zo={animationend:ic("Animation","AnimationEnd"),animationiteration:ic("Animation","AnimationIteration"),animationstart:ic("Animation","AnimationStart"),transitionend:ic("Transition","TransitionEnd")},bp={},fg={};tn&&(fg=document.createElement("div").style,"AnimationEvent"in window||(delete zo.animationend.animation,delete zo.animationiteration.animation,delete zo.animationstart.animation),"TransitionEvent"in window||delete zo.transitionend.transition);function oc(e){if(bp[e])return bp[e];if(!zo[e])return e;var t=zo[e];for(var n in t)if(t.hasOwnProperty(n)&&n in fg)return bp[e]=t[n];return e}var dg=oc("animationend"),pg=oc("animationiteration"),vg=oc("animationstart"),mg=oc("transitionend"),hg=new Map,yg=["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){hg.set(e,t),Zt(t,[e])}function Ew(){for(var e=0;e<yg.length;e++){var t=yg[e],n=t.toLowerCase(),a=t[0].toUpperCase()+t.slice(1);Jr(n,"on"+a)}Jr(dg,"onAnimationEnd"),Jr(pg,"onAnimationIteration"),Jr(vg,"onAnimationStart"),Jr("dblclick","onDoubleClick"),Jr("focusin","onFocus"),Jr("focusout","onBlur"),Jr(mg,"onTransitionEnd")}function Sw(e,t,n,a,r,i,l){var c=hg.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=CT;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=$y;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=uT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=wT;break;case dg:case pg:case vg:d=fT;break;case mg:d=NT;break;case"scroll":d=iT;break;case"wheel":d=DT;break;case"copy":case"cut":case"paste":d=pT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=Yy;break}var b=(i&Vl)!==0;{var x=!b&&t==="scroll",T=ww(n,c,a.type,b,x);if(T.length>0){var L=new d(c,y,null,a,r);e.push({event:L,listeners:T})}}}}Ew(),nw(),$T(),hw(),OT();function Cw(e,t,n,a,r,i,l){Sw(e,t,n,a,r,i);var c=(i&g0)===0;c&&(aw(e,t,n,a,r),tw(e,t,n,a,r),bw(e,t,n,a,r),HT(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 gg(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,U0(a,t,void 0,e),e.currentTarget=null}function Rw(e,t,n){var a;if(n)for(var r=t.length-1;r>=0;r--){var i=t[r],l=i.instance,c=i.currentTarget,d=i.listener;if(l!==a&&e.isPropagationStopped())return;gg(e,d,c),a=l}else for(var y=0;y<t.length;y++){var b=t[y],x=b.instance,T=b.currentTarget,L=b.listener;if(x!==a&&e.isPropagationStopped())return;gg(e,L,T),a=x}}function bg(e,t){for(var n=(t&Vl)!==0,a=0;a<e.length;a++){var r=e[a],i=r.event,l=r.listeners;Rw(i,l,n)}k0()}function Tw(e,t,n,a,r){var i=vd(n),l=[];Cw(l,e,a,n,i,t),bg(l,t)}function ct(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=e1(t),r=_w(e);a.has(r)||(Eg(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|=Vl),Eg(n,e,a,t)}var lc="_reactListening"+Math.random().toString(36).slice(2);function mu(e){if(!e[lc]){e[lc]=!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[lc]||(t[lc]=!0,Sp("selectionchange",!1,t)))}}function Eg(e,t,n,a,r){var i=QR(e,t,n),l=void 0;yd&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(l=!0),e=e,a?l!==void 0?tT(e,t,i,l):eT(e,t,i):l!==void 0?nT(e,t,i,l):ZR(e,t,i)}function Sg(e,t){return e===t||e.nodeType===wt&&e.parentNode===t}function Cp(e,t,n,a,r){var i=a;if(!(t&Qh)&&!(t&pd)){var l=r;if(a!==null){var c=a;e:for(;;){if(c===null)return;var d=c.tag;if(d===N||d===w){var y=c.stateNode.containerInfo;if(Sg(y,l))break;if(d===w)for(var b=c.return;b!==null;){var x=b.tag;if(x===N||x===w){var T=b.stateNode.containerInfo;if(Sg(T,l))return}b=b.return}for(;y!==null;){var L=Ii(y);if(L===null)return;var M=L.tag;if(M===O||M===P){c=i=L;continue e}y=y.parentNode}}c=c.return}}}ty(function(){return Tw(e,t,n,i)})}function hu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ww(e,t,n,a,r,i){for(var l=t!==null?t+"Capture":null,c=a?l:t,d=[],y=e,b=null;y!==null;){var x=y,T=x.stateNode,L=x.tag;if(L===O&&T!==null&&(b=T,c!==null)){var M=Fl(y,c);M!=null&&d.push(hu(y,M,b))}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,l=i.stateNode,c=i.tag;if(c===O&&l!==null){var d=l,y=Fl(r,n);y!=null&&a.unshift(hu(r,y,d));var b=Fl(r,t);b!=null&&a.push(hu(r,b,d))}r=r.return}return a}function jo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==O);return e||null}function xw(e,t){for(var n=e,a=t,r=0,i=n;i;i=jo(i))r++;for(var l=0,c=a;c;c=jo(c))l++;for(;r-l>0;)n=jo(n),r--;for(;l-r>0;)a=jo(a),l--;for(var d=r;d--;){if(n===a||a!==null&&n===a.alternate)return n;n=jo(n),a=jo(a)}return null}function Cg(e,t,n,a,r){for(var i=t._reactName,l=[],c=n;c!==null&&c!==a;){var d=c,y=d.alternate,b=d.stateNode,x=d.tag;if(y!==null&&y===a)break;if(x===O&&b!==null){var T=b;if(r){var L=Fl(c,i);L!=null&&l.unshift(hu(c,L,T))}else if(!r){var M=Fl(c,i);M!=null&&l.push(hu(c,M,T))}}c=c.return}l.length!==0&&e.push({event:t,listeners:l})}function Nw(e,t,n,a,r){var i=a&&r?xw(a,r):null;a!==null&&Cg(e,t,a,i,!1),r!==null&&n!==null&&Cg(e,n,r,i,!0)}function _w(e,t){return e+"__bubble"}var Fn=!1,yu="dangerouslySetInnerHTML",sc="suppressContentEditableWarning",Xr="suppressHydrationWarning",Rg="autoFocus",Pi="children",$i="style",cc="__html",Rp,fc,gu,Tg,dc,wg,xg;Rp={dialog:!0,webview:!0},fc=function(e,t){f0(e,t),d0(e,t),y0(e,t,{registrationNameDependencies:Xt,possibleRegistrationNames:Wn})},wg=tn&&!document.documentMode,gu=function(e,t,n){if(!Fn){var a=pc(n),r=pc(t);r!==a&&(Fn=!0,s("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(r),JSON.stringify(a)))}},Tg=function(e){if(!Fn){Fn=!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 Dw=/\r\n?/g,Uw=/\u0000|\uFFFD/g;function pc(e){Bn(e);var t=typeof e=="string"?e:""+e;return t.replace(Dw,`
- `).replace(Uw,"")}function vc(e,t,n,a){var r=pc(t),i=pc(e);if(i!==r&&(a&&(Fn||(Fn=!0,s('Text content did not match. Server: "%s" Client: "%s"',i,r))),n&&Ue))throw new Error("Text content does not match server-rendered HTML.")}function Ng(e){return e.nodeType===Er?e:e.ownerDocument}function kw(){}function mc(e){e.onclick=kw}function Ow(e,t,n,a,r){for(var i in a)if(a.hasOwnProperty(i)){var l=a[i];if(i===$i)l&&Object.freeze(l),$h(t,l);else if(i===yu){var c=l?l[cc]:void 0;c!=null&&Bh(t,c)}else if(i===Pi)if(typeof l=="string"){var d=e!=="textarea"||l!=="";d&&Bs(t,l)}else typeof l=="number"&&Bs(t,""+l);else i===sc||i===Xr||i===Rg||(Xt.hasOwnProperty(i)?l!=null&&(typeof l!="function"&&dc(i,l),i==="onScroll"&&ct("scroll",t)):l!=null&&Ta(t,i,l,r))}}function Lw(e,t,n,a){for(var r=0;r<t.length;r+=2){var i=t[r],l=t[r+1];i===$i?$h(e,l):i===yu?Bh(e,l):i===Pi?Bs(e,l):Ta(e,i,l,a)}}function Aw(e,t,n,a){var r,i=Ng(n),l,c=a;if(c===gr&&(c=ld(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;l=d.removeChild(y)}else if(typeof t.is=="string")l=i.createElement(e,{is:t.is});else if(l=i.createElement(e),e==="select"){var b=l;t.multiple?b.multiple=!0:t.size&&(b.size=t.size)}}else l=i.createElementNS(c,e);return c===gr&&!r&&Object.prototype.toString.call(l)==="[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)),l}function Mw(e,t){return Ng(t).createTextNode(e)}function zw(e,t,n,a){var r=ki(t,n);fc(t,n);var i;switch(t){case"dialog":ct("cancel",e),ct("close",e),i=n;break;case"iframe":case"object":case"embed":ct("load",e),i=n;break;case"video":case"audio":for(var l=0;l<vu.length;l++)ct(vu[l],e);i=n;break;case"source":ct("error",e),i=n;break;case"img":case"image":case"link":ct("error",e),ct("load",e),i=n;break;case"details":ct("toggle",e),i=n;break;case"input":Ms(e,n),i=Al(e,n),ct("invalid",e);break;case"option":Qe(e,n),i=n;break;case"select":jl(e,n),i=zl(e,n),ct("invalid",e);break;case"textarea":Mh(e,n),i=id(e,n),ct("invalid",e);break;default:i=n}switch(dd(t,i),Ow(t,e,a,i,r),t){case"input":Di(e),A(e,n,!1);break;case"textarea":Di(e),jh(e);break;case"option":rt(e,n);break;case"select":ad(e,n);break;default:typeof i.onClick=="function"&&mc(e);break}}function jw(e,t,n,a,r){fc(t,a);var i=null,l,c;switch(t){case"input":l=Al(e,n),c=Al(e,a),i=[];break;case"select":l=zl(e,n),c=zl(e,a),i=[];break;case"textarea":l=id(e,n),c=id(e,a),i=[];break;default:l=n,c=a,typeof l.onClick!="function"&&typeof c.onClick=="function"&&mc(e);break}dd(t,c);var d,y,b=null;for(d in l)if(!(c.hasOwnProperty(d)||!l.hasOwnProperty(d)||l[d]==null))if(d===$i){var x=l[d];for(y in x)x.hasOwnProperty(y)&&(b||(b={}),b[y]="")}else d===yu||d===Pi||d===sc||d===Xr||d===Rg||(Xt.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in c){var T=c[d],L=l!=null?l[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))&&(b||(b={}),b[y]="");for(y in T)T.hasOwnProperty(y)&&L[y]!==T[y]&&(b||(b={}),b[y]=T[y])}else b||(i||(i=[]),i.push(d,b)),b=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"&&ct("scroll",e)),!i&&L!==T&&(i=[])):(i=i||[]).push(d,T))}return b&&(a0(b,c[$i]),(i=i||[]).push($i,b)),i}function Bw(e,t,n,a,r){n==="input"&&r.type==="radio"&&r.name!=null&&m(e,r);var i=ki(n,a),l=ki(n,r);switch(Lw(e,t,i,l),n){case"input":C(e,r);break;case"textarea":zh(e,r);break;case"select":zs(e,r);break}}function Vw(e){{var t=e.toLowerCase();return Vs.hasOwnProperty(t)&&Vs[t]||null}}function Hw(e,t,n,a,r,i,l){var c,d;switch(c=ki(t,n),fc(t,n),t){case"dialog":ct("cancel",e),ct("close",e);break;case"iframe":case"object":case"embed":ct("load",e);break;case"video":case"audio":for(var y=0;y<vu.length;y++)ct(vu[y],e);break;case"source":ct("error",e);break;case"img":case"image":case"link":ct("error",e),ct("load",e);break;case"details":ct("toggle",e);break;case"input":Ms(e,n),ct("invalid",e);break;case"option":Qe(e,n);break;case"select":jl(e,n),ct("invalid",e);break;case"textarea":Mh(e,n),ct("invalid",e);break}dd(t,n);{d=new Set;for(var b=e.attributes,x=0;x<b.length;x++){var T=b[x].name.toLowerCase();switch(T){case"value":break;case"checked":break;case"selected":break;default:d.add(b[x].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,l),L=[Pi,V]):typeof V=="number"&&e.textContent!==""+V&&(n[Xr]!==!0&&vc(e.textContent,V,i,l),L=[Pi,""+V]);else if(Xt.hasOwnProperty(M))V!=null&&(typeof V!="function"&&dc(M,V),M==="onScroll"&&ct("scroll",e));else if(l&&typeof c=="boolean"){var ne=void 0,ve=gt(M);if(n[Xr]!==!0){if(!(M===sc||M===Xr||M==="value"||M==="checked"||M==="selected")){if(M===yu){var ce=e.innerHTML,Be=V?V[cc]:void 0;if(Be!=null){var Le=xg(e,Be);Le!==ce&&gu(M,ce,Le)}}else if(M===$i){if(d.delete(M),wg){var U=t0(V);ne=e.getAttribute("style"),U!==ne&&gu(M,ne,U)}}else if(c&&!oa)d.delete(M.toLowerCase()),ne=Si(e,M,V),V!==ne&&gu(M,ne,V);else if(!vt(M,ve,c)&&!mn(M,V,ve,c)){var H=!1;if(ve!==null)d.delete(ve.attributeName),ne=uo(e,M,V,ve);else{var k=a;if(k===gr&&(k=ld(t)),k===gr)d.delete(M.toLowerCase());else{var W=Vw(M);W!==null&&W!==M&&(H=!0,d.delete(W)),d.delete(M)}ne=Si(e,M,V)}var oe=oa;!oe&&V!==ne&&!H&&gu(M,ne,V)}}}}}switch(l&&d.size>0&&n[Xr]!==!0&&Tg(d),t){case"input":Di(e),A(e,n,!0);break;case"textarea":Di(e),jh(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&mc(e);break}return L}function Fw(e,t,n){var a=e.nodeValue!==t;return a}function Tp(e,t){{if(Fn)return;Fn=!0,s("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function wp(e,t){{if(Fn)return;Fn=!0,s('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function xp(e,t,n){{if(Fn)return;Fn=!0,s("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Np(e,t){{if(t===""||Fn)return;Fn=!0,s('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function Pw(e,t,n){switch(t){case"input":B(e,n);return;case"textarea":zC(e,n);return;case"select":rd(e,n);return}}var bu=function(){},Eu=function(){};{var $w=["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"],_g=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Iw=_g.concat(["button"]),Yw=["dd","dt","li","option","optgroup","p","rp","rt"],Dg={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Eu=function(e,t){var n=ke({},e||Dg),a={tag:t};return _g.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),Iw.indexOf(t)!==-1&&(n.pTagInButtonScope=null),$w.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 qw=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 Yw.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},Gw=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},Ug={};bu=function(e,t,n){n=n||Dg;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=qw(e,r)?null:a,l=i?null:Gw(e,n),c=i||l;if(c){var d=c.tag,y=!!i+"|"+e+"|"+d;if(!Ug[y]){Ug[y]=!0;var b=e,x="";if(e==="#text"?/\S/.test(t)?b="Text nodes":(b="Whitespace text nodes",x=" Make sure you don't have any extra whitespace between tags on each line of your source code."):b="<"+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",b,d,x,T)}else s("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",b,d)}}}}var hc="suppressHydrationWarning",yc="$",gc="/$",Su="$?",Cu="$!",Ww="style",_p=null,Dp=null;function Qw(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===wt?e.parentNode:e,l=i.namespaceURI||null;t=i.tagName,n=ud(l,t);break}}{var c=t.toLowerCase(),d=Eu(null,c);return{namespace:n,ancestorInfo:d}}}function Kw(e,t,n){{var a=e,r=ud(a.namespace,t),i=Eu(a.ancestorInfo,t);return{namespace:r,ancestorInfo:i}}}function ZA(e){return e}function Jw(e){_p=WR(),Dp=fw();var t=null;return By(!1),t}function Xw(e){dw(Dp),By(_p),_p=null,Dp=null}function Zw(e,t,n,a,r){var i;{var l=a;if(bu(e,null,l.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var c=""+t.children,d=Eu(l.ancestorInfo,e);bu(null,c,d)}i=l.namespace}var y=Aw(e,t,n,i);return wu(r,y),jp(y,t),y}function ex(e,t){e.appendChild(t)}function tx(e,t,n,a,r){switch(zw(e,t,n,a),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function nx(e,t,n,a,r,i){{var l=i;if(typeof a.children!=typeof n.children&&(typeof a.children=="string"||typeof a.children=="number")){var c=""+a.children,d=Eu(l.ancestorInfo,t);bu(null,c,d)}}return jw(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 ax(e,t,n,a){{var r=n;bu(null,e,r.ancestorInfo)}var i=Mw(e,t);return wu(a,i),i}function rx(){var e=window.event;return e===void 0?xr:Vy(e.type)}var kp=typeof setTimeout=="function"?setTimeout:void 0,ix=typeof clearTimeout=="function"?clearTimeout:void 0,Op=-1,kg=typeof Promise=="function"?Promise:void 0,ox=typeof queueMicrotask=="function"?queueMicrotask:typeof kg<"u"?function(e){return kg.resolve(null).then(e).catch(lx)}:kp;function lx(e){setTimeout(function(){throw e})}function ux(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 sx(e,t,n,a,r,i){Bw(e,t,n,a,r),jp(e,r)}function Og(e){Bs(e,"")}function cx(e,t,n){e.nodeValue=n}function fx(e,t){e.appendChild(t)}function dx(e,t){var n;e.nodeType===wt?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var a=e._reactRootContainer;a==null&&n.onclick===null&&mc(n)}function px(e,t,n){e.insertBefore(t,n)}function vx(e,t,n){e.nodeType===wt?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function mx(e,t){e.removeChild(t)}function hx(e,t){e.nodeType===wt?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===wt){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 yx(e,t){e.nodeType===wt?Lp(e.parentNode,t):e.nodeType===Hn&&Lp(e,t),ru(e)}function gx(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function bx(e){e.nodeValue=""}function Ex(e,t){e=e;var n=t[Ww],a=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=cd("display",a)}function Sx(e,t){e.nodeValue=t}function Cx(e){e.nodeType===Hn?e.textContent="":e.nodeType===Er&&e.documentElement&&e.removeChild(e.documentElement)}function Rx(e,t,n){return e.nodeType!==Hn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Tx(e,t){return t===""||e.nodeType!==br?null:e}function wx(e){return e.nodeType!==wt?null:e}function Lg(e){return e.data===Su}function Ap(e){return e.data===Cu}function xx(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 Nx(e,t){e._reactRetry=t}function bc(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Hn||t===br)break;if(t===wt){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 _x(e){return bc(e.firstChild)}function Dx(e){return bc(e.firstChild)}function Ux(e){return bc(e.nextSibling)}function kx(e,t,n,a,r,i,l){wu(i,e),jp(e,n);var c;{var d=r;c=d.namespace}var y=(i.mode&ze)!==ye;return Hw(e,t,n,c,a,y,l)}function Ox(e,t,n,a){return wu(n,e),n.mode&ze,Fw(e,t)}function Lx(e,t){wu(t,e)}function Ax(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===wt){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 Ag(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===wt){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 Mx(e){ru(e)}function zx(e){ru(e)}function jx(e){return e!=="head"&&e!=="body"}function Bx(e,t,n,a){var r=!0;vc(t.nodeValue,n,a,r)}function Vx(e,t,n,a,r,i){if(t[hc]!==!0){var l=!0;vc(a.nodeValue,r,i,l)}}function Hx(e,t){t.nodeType===Hn?Tp(e,t):t.nodeType===wt||wp(e,t)}function Fx(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===Hn?Tp(n,t):t.nodeType===wt||wp(n,t))}}function Px(e,t,n,a,r){(r||t[hc]!==!0)&&(a.nodeType===Hn?Tp(n,a):a.nodeType===wt||wp(n,a))}function $x(e,t,n){xp(e,t)}function Ix(e,t){Np(e,t)}function Yx(e,t,n){{var a=e.parentNode;a!==null&&xp(a,t)}}function qx(e,t){{var n=e.parentNode;n!==null&&Np(n,t)}}function Gx(e,t,n,a,r,i){(i||t[hc]!==!0)&&xp(n,a)}function Wx(e,t,n,a,r){(r||t[hc]!==!0)&&Np(n,a)}function Qx(e){s("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function Kx(e){mu(e)}var Bo=Math.random().toString(36).slice(2),Vo="__reactFiber$"+Bo,Mp="__reactProps$"+Bo,Tu="__reactContainer$"+Bo,zp="__reactEvents$"+Bo,Jx="__reactListeners$"+Bo,Xx="__reactHandles$"+Bo;function Zx(e){delete e[Vo],delete e[Mp],delete e[zp],delete e[Jx],delete e[Xx]}function wu(e,t){t[Vo]=e}function Ec(e,t){t[Tu]=e}function Mg(e){e[Tu]=null}function xu(e){return!!e[Tu]}function Ii(e){var t=e[Vo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Tu]||n[Vo],t){var a=t.alternate;if(t.child!==null||a!==null&&a.child!==null)for(var r=Ag(e);r!==null;){var i=r[Vo];if(i)return i;r=Ag(r)}return t}e=n,n=e.parentNode}return null}function Zr(e){var t=e[Vo]||e[Tu];return t&&(t.tag===O||t.tag===P||t.tag===K||t.tag===N)?t:null}function Ho(e){if(e.tag===O||e.tag===P)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Sc(e){return e[Mp]||null}function jp(e,t){e[Mp]=t}function e1(e){var t=e[zp];return t===void 0&&(t=e[zp]=new Set),t}var zg={},jg=f.ReactDebugCurrentFrame;function Cc(e){if(e){var t=e._owner,n=_l(e.type,e._source,t?t.type:null);jg.setExtraStackFrame(n)}else jg.setExtraStackFrame(null)}function Ua(e,t,n,a,r){{var i=Function.call.bind(jn);for(var l in e)if(i(e,l)){var c=void 0;try{if(typeof e[l]!="function"){var d=Error((a||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}c=e[l](t,l,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,l,typeof c),Cc(null)),c instanceof Error&&!(c.message in zg)&&(zg[c.message]=!0,Cc(r),s("Failed %s type: %s",n,c.message),Cc(null))}}}var Bp=[],Rc;Rc=[];var Nr=-1;function ei(e){return{current:e}}function gn(e,t){if(Nr<0){s("Unexpected pop.");return}t!==Rc[Nr]&&s("Unexpected Fiber popped."),e.current=Bp[Nr],Bp[Nr]=null,Rc[Nr]=null,Nr--}function bn(e,t,n){Nr++,Bp[Nr]=e.current,Rc[Nr]=n,e.current=t}var Vp;Vp={};var ta={};Object.freeze(ta);var _r=ei(ta),Xa=ei(!1),Hp=ta;function Fo(e,t,n){return n&&Za(t)?Hp:_r.current}function Bg(e,t,n){{var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=n}}function Po(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 l in a)i[l]=t[l];{var c=xe(e)||"Unknown";Ua(a,i,"context",c)}return r&&Bg(e,t,i),i}}function Tc(){return Xa.current}function Za(e){{var t=e.childContextTypes;return t!=null}}function wc(e){gn(Xa,e),gn(_r,e)}function Fp(e){gn(Xa,e),gn(_r,e)}function Vg(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.");bn(_r,t,e),bn(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 l=a.getChildContext();for(var c in l)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,l,"child context",d)}return ke({},n,l)}}function xc(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||ta;return Hp=_r.current,bn(_r,n,e),bn(Xa,Xa.current,e),!0}}function Fg(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,Hp);a.__reactInternalMemoizedMergedChildContext=r,gn(Xa,e),gn(_r,e),bn(_r,r,e),bn(Xa,n,e)}else gn(Xa,e),bn(Xa,n,e)}}function t1(e){{if(!j0(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 N: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,Nc=1,Dr=null,Pp=!1,$p=!1;function Pg(e){Dr===null?Dr=[e]:Dr.push(e)}function n1(e){Pp=!0,Pg(e)}function $g(){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)),py($s,ni),i}finally{Kt(t),$p=!1}}return null}var $o=[],Io=0,_c=null,Dc=0,fa=[],da=0,Yi=null,Ur=1,kr="";function a1(e){return Gi(),(e.flags&iy)!==be}function r1(e){return Gi(),Dc}function i1(){var e=kr,t=Ur,n=t&~o1(t);return n.toString(32)+e}function qi(e,t){Gi(),$o[Io++]=Dc,$o[Io++]=_c,_c=e,Dc=t}function Ig(e,t,n){Gi(),fa[da++]=Ur,fa[da++]=kr,fa[da++]=Yi,Yi=e;var a=Ur,r=kr,i=Uc(a)-1,l=a&~(1<<i),c=n+1,d=Uc(t)+i;if(d>30){var y=i-i%5,b=(1<<y)-1,x=(l&b).toString(32),T=l>>y,L=i-y,M=Uc(t)+L,V=c<<L,ne=V|T,ve=x+r;Ur=1<<M|ne,kr=ve}else{var ce=c<<i,Be=ce|l,Le=r;Ur=1<<d|Be,kr=Le}}function Ip(e){Gi();var t=e.return;if(t!==null){var n=1,a=0;qi(e,n),Ig(e,n,a)}}function Uc(e){return 32-by(e)}function o1(e){return 1<<Uc(e)-1}function Yp(e){for(;e===_c;)_c=$o[--Io],$o[Io]=null,Dc=$o[--Io],$o[Io]=null;for(;e===Yi;)Yi=fa[--da],fa[da]=null,kr=fa[--da],fa[da]=null,Ur=fa[--da],fa[da]=null}function l1(){return Gi(),Yi!==null?{id:Ur,overflow:kr}:null}function u1(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 s1(){ka&&s("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Yg(){Wi=!0}function c1(){return Wi}function f1(e){var t=e.stateNode.containerInfo;return pa=Dx(t),an=e,ka=!0,ai=null,Wi=!1,!0}function d1(e,t,n){return pa=Ux(t),an=e,ka=!0,ai=null,Wi=!1,n!==null&&u1(e,n),!0}function qg(e,t){switch(e.tag){case N:{Hx(e.stateNode.containerInfo,t);break}case O:{var n=(e.mode&ze)!==ye;Px(e.type,e.memoizedProps,e.stateNode,t,n);break}case K:{var a=e.memoizedState;a.dehydrated!==null&&Fx(a.dehydrated,t);break}}}function Gg(e,t){qg(e,t);var n=hD();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 N:{var n=e.stateNode.containerInfo;switch(t.tag){case O:var a=t.type;t.pendingProps,$x(n,a);break;case P:var r=t.pendingProps;Ix(n,r);break}break}case O:{var i=e.type,l=e.memoizedProps,c=e.stateNode;switch(t.tag){case O:{var d=t.type,y=t.pendingProps,b=(e.mode&ze)!==ye;Gx(i,l,c,d,y,b);break}case P:{var x=t.pendingProps,T=(e.mode&ze)!==ye;Wx(i,l,c,x,T);break}}break}case K:{var L=e.memoizedState,M=L.dehydrated;if(M!==null)switch(t.tag){case O:var V=t.type;t.pendingProps,Yx(M,V);break;case P:var ne=t.pendingProps;qx(M,ne);break}break}default:return}}}function Wg(e,t){t.flags=t.flags&~Cr|xt,qp(e,t)}function Qg(e,t){switch(e.tag){case O:{var n=e.type;e.pendingProps;var a=Rx(t,n);return a!==null?(e.stateNode=a,an=e,pa=_x(a),!0):!1}case P:{var r=e.pendingProps,i=Tx(t,r);return i!==null?(e.stateNode=i,an=e,pa=null,!0):!1}case K:{var l=wx(t);if(l!==null){var c={dehydrated:l,treeContext:l1(),retryLane:Kn};e.memoizedState=c;var d=yD(l);return d.return=e,e.child=d,an=e,pa=null,!0}return!1}default:return!1}}function Gp(e){return(e.mode&ze)!==ye&&(e.flags&Ye)===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()),Wg(an,e),ka=!1,an=e;return}var n=t;if(!Qg(e,t)){Gp(e)&&(qp(an,e),Wp()),t=Ru(n);var a=an;if(!t||!Qg(e,t)){Wg(an,e),ka=!1,an=e;return}Gg(a,n)}}}function p1(e,t,n){var a=e.stateNode,r=!Wi,i=kx(a,e.type,e.memoizedProps,t,n,e,r);return e.updateQueue=i,i!==null}function v1(e){var t=e.stateNode,n=e.memoizedProps,a=Ox(t,n,e);if(a){var r=an;if(r!==null)switch(r.tag){case N:{var i=r.stateNode.containerInfo,l=(r.mode&ze)!==ye;Bx(i,t,n,l);break}case O:{var c=r.type,d=r.memoizedProps,y=r.stateNode,b=(r.mode&ze)!==ye;Vx(c,d,y,t,n,b);break}}}return a}function m1(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.");Lx(n,e)}function h1(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 Ax(n)}function Kg(e){for(var t=e.return;t!==null&&t.tag!==O&&t.tag!==N&&t.tag!==K;)t=t.return;an=t}function kc(e){if(e!==an)return!1;if(!ka)return Kg(e),ka=!0,!1;if(e.tag!==N&&(e.tag!==O||jx(e.type)&&!Up(e.type,e.memoizedProps))){var t=pa;if(t)if(Gp(e))Jg(e),Wp();else for(;t;)Gg(e,t),t=Ru(t)}return Kg(e),e.tag===K?pa=h1(e):pa=an?Ru(e.stateNode):null,!0}function y1(){return ka&&pa!==null}function Jg(e){for(var t=pa;t;)qg(e,t),t=Ru(t)}function Yo(){an=null,pa=null,ka=!1,Wi=!1}function Xg(){ai!==null&&(YE(ai),ai=null)}function rn(){return ka}function Kp(e){ai===null?ai=[e]:ai.push(e)}var g1=f.ReactCurrentBatchConfig,b1=null;function E1(){return g1.transition}var Oa={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var S1=function(e){for(var t=null,n=e;n!==null;)n.mode&Et&&(t=n),n=n.return;return t},Qi=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},Nu=[],_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&&Nu.push(e),e.mode&Et&&typeof t.UNSAFE_componentWillMount=="function"&&_u.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Du.push(e),e.mode&Et&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Uu.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ku.push(e),e.mode&Et&&typeof t.UNSAFE_componentWillUpdate=="function"&&Ou.push(e))},Oa.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Nu.length>0&&(Nu.forEach(function(T){e.add(xe(T)||"Component"),Ki.add(T.type)}),Nu=[]);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 l=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`,l)}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 b=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`,b)}if(r.size>0){var x=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`,x)}};var Oc=new Map,Zg=new Set;Oa.recordLegacyContextWarning=function(e,t){var n=S1(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(!Zg.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"),Zg.add(i.type)});var r=Qi(a);try{dt(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(){Nu=[],_u=[],Du=[],Uu=[],ku=[],Ou=[],Oc=new Map}}var Jp,Xp,Zp,ev,tv,eb=function(e,t){};Jp=!1,Xp=!1,Zp={},ev={},tv={},eb=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 C1(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&Et||Pt)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==S)&&!(typeof n.type=="function"&&!C1(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,l;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");l=c.stateNode}if(!l)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=l;dr(a,"ref");var y=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===y)return t.ref;var b=function(x){var T=d.refs;x===null?delete T[y]:T[y]=x};return b._stringRef=y,b}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 tb(e){var t=e._payload,n=e._init;return n(t)}function nb(e){function t(U,H){if(e){var k=U.deletions;k===null?(U.deletions=[H],U.flags|=Oi):k.push(H)}}function n(U,H){if(!e)return null;for(var k=H;k!==null;)t(U,k),k=k.sibling;return null}function a(U,H){for(var k=new Map,W=H;W!==null;)W.key!==null?k.set(W.key,W):k.set(W.index,W),W=W.sibling;return k}function r(U,H){var k=io(U,H);return k.index=0,k.sibling=null,k}function i(U,H,k){if(U.index=k,!e)return U.flags|=iy,H;var W=U.alternate;if(W!==null){var oe=W.index;return oe<H?(U.flags|=xt,H):oe}else return U.flags|=xt,H}function l(U){return e&&U.alternate===null&&(U.flags|=xt),U}function c(U,H,k,W){if(H===null||H.tag!==P){var oe=Km(k,U.mode,W);return oe.return=U,oe}else{var ae=r(H,k);return ae.return=U,ae}}function d(U,H,k,W){var oe=k.type;if(oe===qa)return b(U,H,k.props.children,W,k.key);if(H!==null&&(H.elementType===oe||lS(H,k)||typeof oe=="object"&&oe!==null&&oe.$$typeof===he&&tb(oe)===H.type)){var ae=r(H,k.props);return ae.ref=Lu(U,H,k),ae.return=U,ae._debugSource=k._source,ae._debugOwner=k._owner,ae}var Ee=Qm(k,U.mode,W);return Ee.ref=Lu(U,H,k),Ee.return=U,Ee}function y(U,H,k,W){if(H===null||H.tag!==w||H.stateNode.containerInfo!==k.containerInfo||H.stateNode.implementation!==k.implementation){var oe=Jm(k,U.mode,W);return oe.return=U,oe}else{var ae=r(H,k.children||[]);return ae.return=U,ae}}function b(U,H,k,W,oe){if(H===null||H.tag!==Q){var ae=vi(k,U.mode,W,oe);return ae.return=U,ae}else{var Ee=r(H,k);return Ee.return=U,Ee}}function x(U,H,k){if(typeof H=="string"&&H!==""||typeof H=="number"){var W=Km(""+H,U.mode,k);return W.return=U,W}if(typeof H=="object"&&H!==null){switch(H.$$typeof){case sa:{var oe=Qm(H,U.mode,k);return oe.ref=Lu(U,null,H),oe.return=U,oe}case Qn:{var ae=Jm(H,U.mode,k);return ae.return=U,ae}case he:{var Ee=H._payload,we=H._init;return x(U,we(Ee),k)}}if(Oe(H)||xa(H)){var Xe=vi(H,U.mode,k,null);return Xe.return=U,Xe}Lc(U,H)}return typeof H=="function"&&Ac(U),null}function T(U,H,k,W){var oe=H!==null?H.key:null;if(typeof k=="string"&&k!==""||typeof k=="number")return oe!==null?null:c(U,H,""+k,W);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case sa:return k.key===oe?d(U,H,k,W):null;case Qn:return k.key===oe?y(U,H,k,W):null;case he:{var ae=k._payload,Ee=k._init;return T(U,H,Ee(ae),W)}}if(Oe(k)||xa(k))return oe!==null?null:b(U,H,k,W,null);Lc(U,k)}return typeof k=="function"&&Ac(U),null}function L(U,H,k,W,oe){if(typeof W=="string"&&W!==""||typeof W=="number"){var ae=U.get(k)||null;return c(H,ae,""+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(H,Ee,W,oe)}case Qn:{var we=U.get(W.key===null?k:W.key)||null;return y(H,we,W,oe)}case he:var Xe=W._payload,He=W._init;return L(U,H,k,He(Xe),oe)}if(Oe(W)||xa(W)){var Rt=U.get(k)||null;return b(H,Rt,W,oe,null)}Lc(H,W)}return typeof W=="function"&&Ac(H),null}function M(U,H,k){{if(typeof U!="object"||U===null)return H;switch(U.$$typeof){case sa:case Qn:eb(U,k);var W=U.key;if(typeof W!="string")break;if(H===null){H=new Set,H.add(W);break}if(!H.has(W)){H.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,ae=U._init;M(ae(oe),H,k);break}}return H}function V(U,H,k,W){for(var oe=null,ae=0;ae<k.length;ae++){var Ee=k[ae];oe=M(Ee,oe,U)}for(var we=null,Xe=null,He=H,Rt=0,Fe=0,St=null;He!==null&&Fe<k.length;Fe++){He.index>Fe?(St=He,He=null):St=He.sibling;var Sn=T(U,He,k[Fe],W);if(Sn===null){He===null&&(He=St);break}e&&He&&Sn.alternate===null&&t(U,He),Rt=i(Sn,Rt,Fe),Xe===null?we=Sn:Xe.sibling=Sn,Xe=Sn,He=St}if(Fe===k.length){if(n(U,He),rn()){var dn=Fe;qi(U,dn)}return we}if(He===null){for(;Fe<k.length;Fe++){var aa=x(U,k[Fe],W);aa!==null&&(Rt=i(aa,Rt,Fe),Xe===null?we=aa:Xe.sibling=aa,Xe=aa)}if(rn()){var Mn=Fe;qi(U,Mn)}return we}for(var zn=a(U,He);Fe<k.length;Fe++){var Cn=L(zn,U,Fe,k[Fe],W);Cn!==null&&(e&&Cn.alternate!==null&&zn.delete(Cn.key===null?Fe:Cn.key),Rt=i(Cn,Rt,Fe),Xe===null?we=Cn:Xe.sibling=Cn,Xe=Cn)}if(e&&zn.forEach(function(cl){return t(U,cl)}),rn()){var Br=Fe;qi(U,Br)}return we}function ne(U,H,k,W){var oe=xa(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 ae=oe.call(k);if(ae)for(var Ee=null,we=ae.next();!we.done;we=ae.next()){var Xe=we.value;Ee=M(Xe,Ee,U)}}var He=oe.call(k);if(He==null)throw new Error("An iterable object provided no iterator.");for(var Rt=null,Fe=null,St=H,Sn=0,dn=0,aa=null,Mn=He.next();St!==null&&!Mn.done;dn++,Mn=He.next()){St.index>dn?(aa=St,St=null):aa=St.sibling;var zn=T(U,St,Mn.value,W);if(zn===null){St===null&&(St=aa);break}e&&St&&zn.alternate===null&&t(U,St),Sn=i(zn,Sn,dn),Fe===null?Rt=zn:Fe.sibling=zn,Fe=zn,St=aa}if(Mn.done){if(n(U,St),rn()){var Cn=dn;qi(U,Cn)}return Rt}if(St===null){for(;!Mn.done;dn++,Mn=He.next()){var Br=x(U,Mn.value,W);Br!==null&&(Sn=i(Br,Sn,dn),Fe===null?Rt=Br:Fe.sibling=Br,Fe=Br)}if(rn()){var cl=dn;qi(U,cl)}return Rt}for(var fs=a(U,St);!Mn.done;dn++,Mn=He.next()){var lr=L(fs,U,dn,Mn.value,W);lr!==null&&(e&&lr.alternate!==null&&fs.delete(lr.key===null?dn:lr.key),Sn=i(lr,Sn,dn),Fe===null?Rt=lr:Fe.sibling=lr,Fe=lr)}if(e&&fs.forEach(function(WD){return t(U,WD)}),rn()){var GD=dn;qi(U,GD)}return Rt}function ve(U,H,k,W){if(H!==null&&H.tag===P){n(U,H.sibling);var oe=r(H,k);return oe.return=U,oe}n(U,H);var ae=Km(k,U.mode,W);return ae.return=U,ae}function ce(U,H,k,W){for(var oe=k.key,ae=H;ae!==null;){if(ae.key===oe){var Ee=k.type;if(Ee===qa){if(ae.tag===Q){n(U,ae.sibling);var we=r(ae,k.props.children);return we.return=U,we._debugSource=k._source,we._debugOwner=k._owner,we}}else if(ae.elementType===Ee||lS(ae,k)||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===he&&tb(Ee)===ae.type){n(U,ae.sibling);var Xe=r(ae,k.props);return Xe.ref=Lu(U,ae,k),Xe.return=U,Xe._debugSource=k._source,Xe._debugOwner=k._owner,Xe}n(U,ae);break}else t(U,ae);ae=ae.sibling}if(k.type===qa){var He=vi(k.props.children,U.mode,W,k.key);return He.return=U,He}else{var Rt=Qm(k,U.mode,W);return Rt.ref=Lu(U,H,k),Rt.return=U,Rt}}function Be(U,H,k,W){for(var oe=k.key,ae=H;ae!==null;){if(ae.key===oe)if(ae.tag===w&&ae.stateNode.containerInfo===k.containerInfo&&ae.stateNode.implementation===k.implementation){n(U,ae.sibling);var Ee=r(ae,k.children||[]);return Ee.return=U,Ee}else{n(U,ae);break}else t(U,ae);ae=ae.sibling}var we=Jm(k,U.mode,W);return we.return=U,we}function Le(U,H,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 l(ce(U,H,k,W));case Qn:return l(Be(U,H,k,W));case he:var ae=k._payload,Ee=k._init;return Le(U,H,Ee(ae),W)}if(Oe(k))return V(U,H,k,W);if(xa(k))return ne(U,H,k,W);Lc(U,k)}return typeof k=="string"&&k!==""||typeof k=="number"?l(ve(U,H,""+k,W)):(typeof k=="function"&&Ac(U),n(U,H))}return Le}var qo=nb(!0),ab=nb(!1);function R1(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=io(n,n.pendingProps);for(t.child=a,a.return=t;n.sibling!==null;)n=n.sibling,a=a.sibling=io(n,n.pendingProps),a.return=t;a.sibling=null}}function T1(e,t){for(var n=e.child;n!==null;)fD(n,t),n=n.sibling}var nv=ei(null),av;av={};var Mc=null,Go=null,rv=null,zc=!1;function jc(){Mc=null,Go=null,rv=null,zc=!1}function rb(){zc=!0}function ib(){zc=!1}function ob(e,t,n){bn(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;gn(nv,t),e._currentValue=n}function ov(e,t,n){for(var a=e;a!==null;){var r=a.alternate;if(ko(a.childLanes,t)?r!==null&&!ko(r.childLanes,t)&&(r.childLanes=_e(r.childLanes,t)):(a.childLanes=_e(a.childLanes,t),r!==null&&(r.childLanes=_e(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 w1(e,t,n){x1(e,t,n)}function x1(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 l=i.firstContext;l!==null;){if(l.context===t){if(a.tag===S){var c=Jl(n),d=Or(ot,c);d.tag=Vc;var y=a.updateQueue;if(y!==null){var b=y.shared,x=b.pending;x===null?d.next=d:(d.next=x.next,x.next=d),b.pending=d}}a.lanes=_e(a.lanes,n);var T=a.alternate;T!==null&&(T.lanes=_e(T.lanes,n)),ov(a.return,n,e),i.lanes=_e(i.lanes,n);break}l=l.next}}else if(a.tag===j)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=_e(L.lanes,n);var M=L.alternate;M!==null&&(M.lanes=_e(M.lanes,n)),ov(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 Wo(e,t){Mc=e,Go=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 Nt(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(Go===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().");Go=n,Mc.dependencies={lanes:Y,firstContext:n}}else Go=Go.next=n}return t}var Ji=null;function lv(e){Ji===null?Ji=[e]:Ji.push(e)}function N1(){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 lb(e,t,n,a){var r=t.interleaved;return r===null?(n.next=n,lv(t)):(n.next=r.next,r.next=n),t.interleaved=n,Bc(e,a)}function _1(e,t,n,a){var r=t.interleaved;r===null?(n.next=n,lv(t)):(n.next=r.next,r.next=n),t.interleaved=n}function D1(e,t,n,a){var r=t.interleaved;return r===null?(n.next=n,lv(t)):(n.next=r.next,r.next=n),t.interleaved=n,Bc(e,a)}function Pn(e,t){return Bc(e,t)}var U1=Bc;function Bc(e,t){e.lanes=_e(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=_e(n.lanes,t)),n===null&&(e.flags&(xt|Cr))!==be&&aS(e);for(var a=e,r=e.return;r!==null;)r.childLanes=_e(r.childLanes,t),n=r.alternate,n!==null?n.childLanes=_e(n.childLanes,t):(r.flags&(xt|Cr))!==be&&aS(e),a=r,r=r.return;if(a.tag===N){var i=a.stateNode;return i}else return null}var ub=0,sb=1,Vc=2,uv=3,Hc=!1,sv,Fc;sv=!1,Fc=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 cb(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:ub,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(Fc===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),__()){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,U1(e,n)}else return D1(e,r,t,n)}function Pc(e,t,n){var a=t.updateQueue;if(a!==null){var r=a.shared;if(Ry(n)){var i=r.lanes;i=wy(i,e.pendingLanes);var l=_e(i,n);r.lanes=l,np(e,l)}}}function fv(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null){var r=a.updateQueue;if(n===r){var i=null,l=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};l===null?i=l=y:(l.next=y,l=y),d=d.next}while(d!==null);l===null?i=l=t:(l.next=t,l=t)}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}}var b=n.lastBaseUpdate;b===null?n.firstBaseUpdate=t:b.next=t,n.lastBaseUpdate=t}function k1(e,t,n,a,r,i){switch(n.tag){case sb:{var l=n.payload;if(typeof l=="function"){rb();var c=l.call(i,a,r);{if(e.mode&Et){Wt(!0);try{l.call(i,a,r)}finally{Wt(!1)}}ib()}return c}return l}case uv:e.flags=e.flags&~kn|Ye;case ub:{var d=n.payload,y;if(typeof d=="function"){rb(),y=d.call(i,a,r);{if(e.mode&Et){Wt(!0);try{d.call(i,a,r)}finally{Wt(!1)}}ib()}}else y=d;return y==null?a:ke({},a,y)}case Vc:return Hc=!0,a}return a}function $c(e,t,n,a){var r=e.updateQueue;Hc=!1,Fc=r.shared;var i=r.firstBaseUpdate,l=r.lastBaseUpdate,c=r.shared.pending;if(c!==null){r.shared.pending=null;var d=c,y=d.next;d.next=null,l===null?i=y:l.next=y,l=d;var b=e.alternate;if(b!==null){var x=b.updateQueue,T=x.lastBaseUpdate;T!==l&&(T===null?x.firstBaseUpdate=y:T.next=y,x.lastBaseUpdate=d)}}if(i!==null){var L=r.baseState,M=Y,V=null,ne=null,ve=null,ce=i;do{var Be=ce.lane,Le=ce.eventTime;if(ko(a,Be)){if(ve!==null){var H={eventTime:Le,lane:Qt,tag:ce.tag,payload:ce.payload,callback:ce.callback,next:null};ve=ve.next=H}L=k1(e,r,ce,L,t,n);var k=ce.callback;if(k!==null&&ce.lane!==Qt){e.flags|=ry;var W=r.effects;W===null?r.effects=[ce]:W.push(ce)}}else{var U={eventTime:Le,lane:Be,tag:ce.tag,payload:ce.payload,callback:ce.callback,next:null};ve===null?(ne=ve=U,V=L):ve=ve.next=U,M=_e(M,Be)}if(ce=ce.next,ce===null){if(c=r.shared.pending,c===null)break;var oe=c,ae=oe.next;oe.next=null,ce=ae,r.lastBaseUpdate=oe,r.shared.pending=null}}while(!0);ve===null&&(V=L),r.baseState=V,r.firstBaseUpdate=ne,r.lastBaseUpdate=ve;var Ee=r.shared.interleaved;if(Ee!==null){var we=Ee;do M=_e(M,we.lane),we=we.next;while(we!==Ee)}else i===null&&(r.shared.lanes=Y);os(M),e.lanes=M,e.memoizedState=L}Fc=null}function O1(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function fb(){Hc=!1}function Ic(){return Hc}function db(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],l=i.callback;l!==null&&(i.callback=null,O1(l,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 pb(){var e=qc(Yc.current);return e}function dv(e,t){bn(Yc,t,e),bn(Mu,e,e),bn(ii,Au,e);var n=Qw(t);gn(ii,e),bn(ii,n,e)}function Qo(e){gn(ii,e),gn(Mu,e),gn(Yc,e)}function pv(){var e=qc(ii.current);return e}function vb(e){qc(Yc.current);var t=qc(ii.current),n=Kw(t,e.type);t!==n&&(bn(Mu,e,e),bn(ii,n,e))}function vv(e){Mu.current===e&&(gn(ii,e),gn(Mu,e))}var L1=0,mb=1,hb=1,zu=2,La=ei(L1);function mv(e,t){return(e&t)!==0}function Ko(e){return e&mb}function hv(e,t){return e&mb|t}function A1(e,t){return e|t}function oi(e,t){bn(La,t,e)}function Jo(e){gn(La,e)}function M1(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===K){var n=t.memoizedState;if(n!==null){var a=n.dehydrated;if(a===null||Lg(a)||Ap(a))return t}}else if(t.tag===et&&t.memoizedProps.revealOrder!==void 0){var r=(t.flags&Ye)!==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,on=8,yv=[];function gv(){for(var e=0;e<yv.length;e++){var t=yv[e];t._workInProgressVersionPrimary=null}yv.length=0}function z1(e,t){var n=t._getVersion,a=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,a]:e.mutableSourceEagerHydrationData.push(t,a)}var ie=f.ReactCurrentDispatcher,ju=f.ReactCurrentBatchConfig,bv,Xo;bv=new Set;var Xi=Y,Je=null,Mt=null,zt=null,Wc=!1,Bu=!1,Vu=0,j1=0,B1=25,$=null,va=null,li=-1,Ev=!1;function qe(){{var e=$;va===null?va=[e]:va.push(e)}}function Z(){{var e=$;va!==null&&(li++,va[li]!==e&&V1(e))}}function Zo(e){e!=null&&!Oe(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 V1(e){{var t=xe(Je);if(!bv.has(t)&&(bv.add(t),va!==null)){for(var n="",a=30,r=0;r<=li;r++){for(var i=va[r],l=r===li?e:i,c=r+1+". "+i;c.length<a;)c+=" ";c+=l+`
- `,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 En(){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 el(e,t,n,a,r,i){Xi=i,Je=t,va=e!==null?e._debugHookTypes:null,li=-1,Ev=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Y,e!==null&&e.memoizedState!==null?ie.current=Bb:va!==null?ie.current=jb:ie.current=zb;var l=n(a,r);if(Bu){var c=0;do{if(Bu=!1,Vu=0,c>=B1)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,li=-1,ie.current=Vb,l=n(a,r)}while(Bu)}ie.current=uf,t._debugHookTypes=va;var d=Mt!==null&&Mt.next!==null;if(Xi=Y,Je=null,Mt=null,zt=null,$=null,va=null,li=-1,e!==null&&(e.flags&Rr)!==(t.flags&Rr)&&(e.mode&ze)!==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 l}function tl(){var e=Vu!==0;return Vu=0,e}function yb(e,t,n){t.updateQueue=e.updateQueue,(t.mode&Ka)!==ye?t.flags&=-50333701:t.flags&=-2053,e.lanes=Qs(e.lanes,n)}function gb(){if(ie.current=uf,Wc){for(var e=Je.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Wc=!1}Xi=Y,Je=null,Mt=null,zt=null,va=null,li=-1,$=null,kb=!1,Bu=!1,Vu=0}function tr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return zt===null?Je.memoizedState=zt=e:zt=zt.next=e,zt}function ma(){var e;if(Mt===null){var t=Je.alternate;t!==null?e=t.memoizedState:e=null}else e=Mt.next;var n;if(zt===null?n=Je.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?Je.memoizedState=zt=a:zt=zt.next=a}return zt}function bb(){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 l=i.dispatch=$1.bind(null,Je,i);return[a.memoizedState,l]}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=Mt,l=i.baseQueue,c=r.pending;if(c!==null){if(l!==null){var d=l.next,y=c.next;l.next=y,c.next=d}i.baseQueue!==l&&s("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=l=c,r.pending=null}if(l!==null){var b=l.next,x=i.baseState,T=null,L=null,M=null,V=b;do{var ne=V.lane;if(ko(Xi,ne)){if(M!==null){var ce={lane:Qt,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};M=M.next=ce}if(V.hasEagerState)x=V.eagerState;else{var Be=V.action;x=e(x,Be)}}else{var ve={lane:ne,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};M===null?(L=M=ve,T=x):M=M.next=ve,Je.lanes=_e(Je.lanes,ne),os(ne)}V=V.next}while(V!==null&&V!==b);M===null?T=x:M.next=L,ea(x,a.memoizedState)||Wu(),a.memoizedState=x,a.baseState=T,a.baseQueue=M,r.lastRenderedState=x}var Le=r.interleaved;if(Le!==null){var U=Le;do{var H=U.lane;Je.lanes=_e(Je.lanes,H),os(H),U=U.next}while(U!==Le)}else l===null&&(r.lanes=Y);var k=r.dispatch;return[a.memoizedState,k]}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=r.dispatch,l=r.pending,c=a.memoizedState;if(l!==null){r.pending=null;var d=l.next,y=d;do{var b=y.action;c=e(c,b),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 eM(e,t,n){}function tM(e,t,n){}function xv(e,t,n){var a=Je,r=tr(),i,l=rn();if(l){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");i=n(),Xo||i!==n()&&(s("The result of getServerSnapshot should be cached to avoid an infinite loop"),Xo=!0)}else{if(i=t(),!Xo){var c=t();ea(i,c)||(s("The result of getSnapshot should be cached to avoid an infinite loop"),Xo=!0)}var d=Nf();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)||Eb(a,t,i)}r.memoizedState=i;var y={value:i,getSnapshot:t};return r.queue=y,Zc(Cb.bind(null,a,y,e),[e]),a.flags|=Yr,Hu(Lt|on,Sb.bind(null,a,y,i,t),void 0,null),i}function Qc(e,t,n){var a=Je,r=ma(),i=t();if(!Xo){var l=t();ea(i,l)||(s("The result of getSnapshot should be cached to avoid an infinite loop"),Xo=!0)}var c=r.memoizedState,d=!ea(c,i);d&&(r.memoizedState=i,Wu());var y=r.queue;if(Pu(Cb.bind(null,a,y,e),[e]),y.getSnapshot!==t||d||zt!==null&&zt.memoizedState.tag&Lt){a.flags|=Yr,Hu(Lt|on,Sb.bind(null,a,y,i,t),void 0,null);var b=Nf();if(b===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ws(b,Xi)||Eb(a,t,i)}return i}function Eb(e,t,n){e.flags|=Cd;var a={getSnapshot:t,value:n},r=Je.updateQueue;if(r===null)r=bb(),Je.updateQueue=r,r.stores=[a];else{var i=r.stores;i===null?r.stores=[a]:i.push(a)}}function Sb(e,t,n,a){t.value=n,t.getSnapshot=a,Rb(t)&&Tb(e)}function Cb(e,t,n){var a=function(){Rb(t)&&Tb(e)};return n(a)}function Rb(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&&Ht(t,e,Ce,ot)}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=I1.bind(null,Je,n);return[t.memoizedState,a]}function Nv(e){return Tv(Cv)}function _v(e){return wv(Cv)}function Hu(e,t,n,a){var r={tag:e,create:t,destroy:n,deps:a,next:null},i=Je.updateQueue;if(i===null)i=bb(),Je.updateQueue=i,i.lastEffect=r.next=r;else{var l=i.lastEffect;if(l===null)i.lastEffect=r.next=r;else{var c=l.next;l.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 Fu(e,t,n,a){var r=tr(),i=a===void 0?null:a;Je.flags|=e,r.memoizedState=Hu(Lt|t,n,void 0,i)}function Xc(e,t,n,a){var r=ma(),i=a===void 0?null:a,l=void 0;if(Mt!==null){var c=Mt.memoizedState;if(l=c.destroy,i!==null){var d=c.deps;if(Sv(i,d)){r.memoizedState=Hu(t,n,l,i);return}}}Je.flags|=e,r.memoizedState=Hu(Lt|t,n,l,i)}function Zc(e,t){return(Je.mode&Ka)!==ye?Fu(xd|Yr|wd,on,e,t):Fu(Yr|wd,on,e,t)}function Pu(e,t){return Xc(Yr,on,e,t)}function Uv(e,t){return Fu(Ie,er,e,t)}function ef(e,t){return Xc(Ie,er,e,t)}function kv(e,t){var n=Ie;return n|=Mi,(Je.mode&Ka)!==ye&&(n|=qr),Fu(n,At,e,t)}function tf(e,t){return Xc(Ie,At,e,t)}function wb(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=Ie;return r|=Mi,(Je.mode&Ka)!==ye&&(r|=qr),Fu(r,At,wb.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(Ie,At,wb.bind(null,t,e),a)}function H1(e,t){}var af=H1;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 of(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 l=e();return n.memoizedState=[l,a],l}function Mv(e){var t=tr();return t.memoizedState=e,e}function xb(e){var t=ma(),n=Mt,a=n.memoizedState;return _b(t,a,e)}function Nb(e){var t=ma();if(Mt===null)return t.memoizedState=e,e;var n=Mt.memoizedState;return _b(t,n,e)}function _b(e,t,n){var a=!wR(Xi);if(a){if(!ea(n,t)){var r=Ty();Je.lanes=_e(Je.lanes,r),os(r),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Wu()),e.memoizedState=n,n}function F1(e,t,n){var a=Da();Kt(AR(a,wr)),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 l=i._updatedFibers.size;l>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=F1.bind(null,n),r=tr();return r.memoizedState=a,[t,a]}function Db(){var e=Nv(),t=e[0],n=ma(),a=n.memoizedState;return[t,a]}function Ub(){var e=_v(),t=e[0],n=ma(),a=n.memoizedState;return[t,a]}var kb=!1;function P1(){return kb}function jv(){var e=tr(),t=Nf(),n=t.identifierPrefix,a;if(rn()){var r=i1();a=":"+n+"R"+r;var i=Vu++;i>0&&(a+="H"+i.toString(32)),a+=":"}else{var l=j1++;a=":"+n+"r"+l.toString(32)+":"}return e.memoizedState=a,a}function lf(){var e=ma(),t=e.memoizedState;return t}function $1(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(Ob(e))Lb(t,r);else{var i=lb(e,t,r,a);if(i!==null){var l=An();Ht(i,e,a,l),Ab(i,t,a)}}Mb(e,a)}function I1(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(Ob(e))Lb(t,r);else{var i=e.alternate;if(e.lanes===Y&&(i===null||i.lanes===Y)){var l=t.lastRenderedReducer;if(l!==null){var c;c=ie.current,ie.current=Aa;try{var d=t.lastRenderedState,y=l(d,n);if(r.hasEagerState=!0,r.eagerState=y,ea(y,d)){_1(e,t,r,a);return}}catch{}finally{ie.current=c}}}var b=lb(e,t,r,a);if(b!==null){var x=An();Ht(b,e,a,x),Ab(b,t,a)}}Mb(e,a)}function Ob(e){var t=e.alternate;return e===Je||t!==null&&t===Je}function Lb(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 Ab(e,t,n){if(Ry(n)){var a=t.lanes;a=wy(a,e.pendingLanes);var r=_e(a,n);t.lanes=r,np(e,r)}}function Mb(e,t,n){kd(e,t)}var uf={readContext:Nt,useCallback:En,useContext:En,useEffect:En,useImperativeHandle:En,useInsertionEffect:En,useLayoutEffect:En,useMemo:En,useReducer:En,useRef:En,useState:En,useDebugValue:En,useDeferredValue:En,useTransition:En,useMutableSource:En,useSyncExternalStore:En,useId:En,unstable_isNewReconciler:pn},zb=null,jb=null,Bb=null,Vb=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")};zb={readContext:function(e){return Nt(e)},useCallback:function(e,t){return $="useCallback",qe(),Zo(t),Lv(e,t)},useContext:function(e){return $="useContext",qe(),Nt(e)},useEffect:function(e,t){return $="useEffect",qe(),Zo(t),Zc(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",qe(),Zo(n),Ov(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",qe(),Zo(t),Uv(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",qe(),Zo(t),kv(e,t)},useMemo:function(e,t){$="useMemo",qe(),Zo(t);var n=ie.current;ie.current=nr;try{return Av(e,t)}finally{ie.current=n}},useReducer:function(e,t,n){$="useReducer",qe();var a=ie.current;ie.current=nr;try{return Rv(e,t,n)}finally{ie.current=a}},useRef:function(e){return $="useRef",qe(),Dv(e)},useState:function(e){$="useState",qe();var t=ie.current;ie.current=nr;try{return Kc(e)}finally{ie.current=t}},useDebugValue:function(e,t){return $="useDebugValue",qe(),void 0},useDeferredValue:function(e){return $="useDeferredValue",qe(),Mv(e)},useTransition:function(){return $="useTransition",qe(),zv()},useMutableSource:function(e,t,n){return $="useMutableSource",qe(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",qe(),xv(e,t,n)},useId:function(){return $="useId",qe(),jv()},unstable_isNewReconciler:pn},jb={readContext:function(e){return Nt(e)},useCallback:function(e,t){return $="useCallback",Z(),Lv(e,t)},useContext:function(e){return $="useContext",Z(),Nt(e)},useEffect:function(e,t){return $="useEffect",Z(),Zc(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Z(),Ov(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Z(),Uv(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Z(),kv(e,t)},useMemo:function(e,t){$="useMemo",Z();var n=ie.current;ie.current=nr;try{return Av(e,t)}finally{ie.current=n}},useReducer:function(e,t,n){$="useReducer",Z();var a=ie.current;ie.current=nr;try{return Rv(e,t,n)}finally{ie.current=a}},useRef:function(e){return $="useRef",Z(),Dv(e)},useState:function(e){$="useState",Z();var t=ie.current;ie.current=nr;try{return Kc(e)}finally{ie.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Z(),void 0},useDeferredValue:function(e){return $="useDeferredValue",Z(),Mv(e)},useTransition:function(){return $="useTransition",Z(),zv()},useMutableSource:function(e,t,n){return $="useMutableSource",Z(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Z(),xv(e,t,n)},useId:function(){return $="useId",Z(),jv()},unstable_isNewReconciler:pn},Bb={readContext:function(e){return Nt(e)},useCallback:function(e,t){return $="useCallback",Z(),rf(e,t)},useContext:function(e){return $="useContext",Z(),Nt(e)},useEffect:function(e,t){return $="useEffect",Z(),Pu(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Z(),nf(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Z(),ef(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Z(),tf(e,t)},useMemo:function(e,t){$="useMemo",Z();var n=ie.current;ie.current=Aa;try{return of(e,t)}finally{ie.current=n}},useReducer:function(e,t,n){$="useReducer",Z();var a=ie.current;ie.current=Aa;try{return Tv(e,t,n)}finally{ie.current=a}},useRef:function(e){return $="useRef",Z(),Jc()},useState:function(e){$="useState",Z();var t=ie.current;ie.current=Aa;try{return Nv(e)}finally{ie.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Z(),af()},useDeferredValue:function(e){return $="useDeferredValue",Z(),xb(e)},useTransition:function(){return $="useTransition",Z(),Db()},useMutableSource:function(e,t,n){return $="useMutableSource",Z(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Z(),Qc(e,t)},useId:function(){return $="useId",Z(),lf()},unstable_isNewReconciler:pn},Vb={readContext:function(e){return Nt(e)},useCallback:function(e,t){return $="useCallback",Z(),rf(e,t)},useContext:function(e){return $="useContext",Z(),Nt(e)},useEffect:function(e,t){return $="useEffect",Z(),Pu(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Z(),nf(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Z(),ef(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Z(),tf(e,t)},useMemo:function(e,t){$="useMemo",Z();var n=ie.current;ie.current=sf;try{return of(e,t)}finally{ie.current=n}},useReducer:function(e,t,n){$="useReducer",Z();var a=ie.current;ie.current=sf;try{return wv(e,t,n)}finally{ie.current=a}},useRef:function(e){return $="useRef",Z(),Jc()},useState:function(e){$="useState",Z();var t=ie.current;ie.current=sf;try{return _v(e)}finally{ie.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Z(),af()},useDeferredValue:function(e){return $="useDeferredValue",Z(),Nb(e)},useTransition:function(){return $="useTransition",Z(),Ub()},useMutableSource:function(e,t,n){return $="useMutableSource",Z(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Z(),Qc(e,t)},useId:function(){return $="useId",Z(),lf()},unstable_isNewReconciler:pn},nr={readContext:function(e){return Bv(),Nt(e)},useCallback:function(e,t){return $="useCallback",Re(),qe(),Lv(e,t)},useContext:function(e){return $="useContext",Re(),qe(),Nt(e)},useEffect:function(e,t){return $="useEffect",Re(),qe(),Zc(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Re(),qe(),Ov(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Re(),qe(),Uv(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Re(),qe(),kv(e,t)},useMemo:function(e,t){$="useMemo",Re(),qe();var n=ie.current;ie.current=nr;try{return Av(e,t)}finally{ie.current=n}},useReducer:function(e,t,n){$="useReducer",Re(),qe();var a=ie.current;ie.current=nr;try{return Rv(e,t,n)}finally{ie.current=a}},useRef:function(e){return $="useRef",Re(),qe(),Dv(e)},useState:function(e){$="useState",Re(),qe();var t=ie.current;ie.current=nr;try{return Kc(e)}finally{ie.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Re(),qe(),void 0},useDeferredValue:function(e){return $="useDeferredValue",Re(),qe(),Mv(e)},useTransition:function(){return $="useTransition",Re(),qe(),zv()},useMutableSource:function(e,t,n){return $="useMutableSource",Re(),qe(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Re(),qe(),xv(e,t,n)},useId:function(){return $="useId",Re(),qe(),jv()},unstable_isNewReconciler:pn},Aa={readContext:function(e){return Bv(),Nt(e)},useCallback:function(e,t){return $="useCallback",Re(),Z(),rf(e,t)},useContext:function(e){return $="useContext",Re(),Z(),Nt(e)},useEffect:function(e,t){return $="useEffect",Re(),Z(),Pu(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Re(),Z(),nf(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Re(),Z(),ef(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Re(),Z(),tf(e,t)},useMemo:function(e,t){$="useMemo",Re(),Z();var n=ie.current;ie.current=Aa;try{return of(e,t)}finally{ie.current=n}},useReducer:function(e,t,n){$="useReducer",Re(),Z();var a=ie.current;ie.current=Aa;try{return Tv(e,t,n)}finally{ie.current=a}},useRef:function(e){return $="useRef",Re(),Z(),Jc()},useState:function(e){$="useState",Re(),Z();var t=ie.current;ie.current=Aa;try{return Nv(e)}finally{ie.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Re(),Z(),af()},useDeferredValue:function(e){return $="useDeferredValue",Re(),Z(),xb(e)},useTransition:function(){return $="useTransition",Re(),Z(),Db()},useMutableSource:function(e,t,n){return $="useMutableSource",Re(),Z(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Re(),Z(),Qc(e,t)},useId:function(){return $="useId",Re(),Z(),lf()},unstable_isNewReconciler:pn},sf={readContext:function(e){return Bv(),Nt(e)},useCallback:function(e,t){return $="useCallback",Re(),Z(),rf(e,t)},useContext:function(e){return $="useContext",Re(),Z(),Nt(e)},useEffect:function(e,t){return $="useEffect",Re(),Z(),Pu(e,t)},useImperativeHandle:function(e,t,n){return $="useImperativeHandle",Re(),Z(),nf(e,t,n)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Re(),Z(),ef(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Re(),Z(),tf(e,t)},useMemo:function(e,t){$="useMemo",Re(),Z();var n=ie.current;ie.current=Aa;try{return of(e,t)}finally{ie.current=n}},useReducer:function(e,t,n){$="useReducer",Re(),Z();var a=ie.current;ie.current=Aa;try{return wv(e,t,n)}finally{ie.current=a}},useRef:function(e){return $="useRef",Re(),Z(),Jc()},useState:function(e){$="useState",Re(),Z();var t=ie.current;ie.current=Aa;try{return _v(e)}finally{ie.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Re(),Z(),af()},useDeferredValue:function(e){return $="useDeferredValue",Re(),Z(),Nb(e)},useTransition:function(){return $="useTransition",Re(),Z(),Ub()},useMutableSource:function(e,t,n){return $="useMutableSource",Re(),Z(),void 0},useSyncExternalStore:function(e,t,n){return $="useSyncExternalStore",Re(),Z(),Qc(e,t)},useId:function(){return $="useId",Re(),Z(),lf()},unstable_isNewReconciler:pn}}var ui=u.unstable_now,Hb=0,cf=-1,$u=-1,ff=-1,Vv=!1,df=!1;function Fb(){return Vv}function Y1(){df=!0}function q1(){Vv=!1,df=!1}function G1(){Vv=df,df=!1}function Pb(){return Hb}function $b(){Hb=ui()}function Hv(e){$u=ui(),e.actualStartTime<0&&(e.actualStartTime=ui())}function Ib(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 N:var a=n.stateNode;a.effectDuration+=t;return;case I:var r=n.stateNode;r.effectDuration+=t;return}n=n.return}}}function Fv(e){if(ff>=0){var t=ui()-ff;ff=-1;for(var n=e.return;n!==null;){switch(n.tag){case N:var a=n.stateNode;a!==null&&(a.passiveEffectDuration+=t);return;case I: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=ke({},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,Yb,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 qb=new Set;vf=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;qb.has(n)||(qb.add(n),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Yb=function(e,t){if(t===void 0){var n=$e(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&Et){Wt(!0);try{i=n(a,r)}finally{Wt(!1)}}Yb(t,i)}var l=i==null?r:ke({},r,i);if(e.memoizedState=l,e.lanes===Y){var c=e.updateQueue;c.baseState=l}}var em={isMounted:B0,enqueueSetState:function(e,t,n){var a=Co(e),r=An(),i=di(a),l=Or(r,i);l.payload=t,n!=null&&(vf(n,"setState"),l.callback=n);var c=ri(a,l,i);c!==null&&(Ht(c,a,i,r),Pc(c,a,i)),kd(a,i)},enqueueReplaceState:function(e,t,n){var a=Co(e),r=An(),i=di(a),l=Or(r,i);l.tag=sb,l.payload=t,n!=null&&(vf(n,"replaceState"),l.callback=n);var c=ri(a,l,i);c!==null&&(Ht(c,a,i,r),Pc(c,a,i)),kd(a,i)},enqueueForceUpdate:function(e,t){var n=Co(e),a=An(),r=di(n),i=Or(a,r);i.tag=Vc,t!=null&&(vf(t,"forceUpdate"),i.callback=t);var l=ri(n,i,r);l!==null&&(Ht(l,n,r,a),Pc(l,n,r)),mR(n,r)}};function Gb(e,t,n,a,r,i,l){var c=e.stateNode;if(typeof c.shouldComponentUpdate=="function"){var d=c.shouldComponentUpdate(a,i,l);{if(e.mode&Et){Wt(!0);try{d=c.shouldComponentUpdate(a,i,l)}finally{Wt(!1)}}d===void 0&&s("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",$e(t)||"Component")}return d}return t.prototype&&t.prototype.isPureReactComponent?!du(n,a)||!du(r,i):!0}function W1(e,t,n){var a=e.stateNode;{var r=$e(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&Et)===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&Et)===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.",$e(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 l=a.props!==n;a.props!==void 0&&l&&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.",$e(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"||Oe(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 Wb(e,t){t.updater=em,e.stateNode=t,A0(t,e),t._reactInternalInstance=Iv}function Qb(e,t,n){var a=!1,r=ta,i=ta,l=t.contextType;if("contextType"in t){var c=l===null||l!==void 0&&l.$$typeof===te&&l._context===void 0;if(!c&&!Xv.has(t)){Xv.add(t);var d="";l===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 l!="object"?d=" However, it is set to a "+typeof l+".":l.$$typeof===G?d=" Did you accidentally pass the Context.Provider instead?":l._context!==void 0?d=" Did you accidentally pass the Context.Consumer instead?":d=" However, it is set to an object with keys {"+Object.keys(l).join(", ")+"}.",s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",$e(t)||"Component",d)}}if(typeof l=="object"&&l!==null)i=Nt(l);else{r=Fo(e,t,!0);var y=t.contextTypes;a=y!=null,i=a?Po(e,r):ta}var b=new t(n,i);if(e.mode&Et){Wt(!0);try{b=new t(n,i)}finally{Wt(!1)}}var x=e.memoizedState=b.state!==null&&b.state!==void 0?b.state:null;Wb(e,b);{if(typeof t.getDerivedStateFromProps=="function"&&x===null){var T=$e(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,b.state===null?"null":"undefined",T))}if(typeof t.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"){var L=null,M=null,V=null;if(typeof b.componentWillMount=="function"&&b.componentWillMount.__suppressDeprecationWarning!==!0?L="componentWillMount":typeof b.UNSAFE_componentWillMount=="function"&&(L="UNSAFE_componentWillMount"),typeof b.componentWillReceiveProps=="function"&&b.componentWillReceiveProps.__suppressDeprecationWarning!==!0?M="componentWillReceiveProps":typeof b.UNSAFE_componentWillReceiveProps=="function"&&(M="UNSAFE_componentWillReceiveProps"),typeof b.componentWillUpdate=="function"&&b.componentWillUpdate.__suppressDeprecationWarning!==!0?V="componentWillUpdate":typeof b.UNSAFE_componentWillUpdate=="function"&&(V="UNSAFE_componentWillUpdate"),L!==null||M!==null||V!==null){var ne=$e(t)||"Component",ve=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Wv.has(ne)||(Wv.add(ne),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`,ne,ve,L!==null?`
- `+L:"",M!==null?`
- `+M:"",V!==null?`
- `+V:""))}}}return a&&Bg(e,r,i),b}function Q1(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 Kb(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){W1(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=Nt(i);else{var l=Fo(e,t,!0);r.context=Po(e,l)}{if(r.state===n){var c=$e(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&Et&&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")&&(Q1(e,r),$c(e,n,r,a),r.state=e.memoizedState),typeof r.componentDidMount=="function"){var y=Ie;y|=Mi,(e.mode&Ka)!==ye&&(y|=qr),e.flags|=y}}function K1(e,t,n,a){var r=e.stateNode,i=e.memoizedProps;r.props=i;var l=r.context,c=t.contextType,d=ta;if(typeof c=="object"&&c!==null)d=Nt(c);else{var y=Fo(e,t,!0);d=Po(e,y)}var b=t.getDerivedStateFromProps,x=typeof b=="function"||typeof r.getSnapshotBeforeUpdate=="function";!x&&(typeof r.UNSAFE_componentWillReceiveProps=="function"||typeof r.componentWillReceiveProps=="function")&&(i!==n||l!==d)&&Kb(e,r,n,d),fb();var T=e.memoizedState,L=r.state=T;if($c(e,n,r,a),L=e.memoizedState,i===n&&T===L&&!Tc()&&!Ic()){if(typeof r.componentDidMount=="function"){var M=Ie;M|=Mi,(e.mode&Ka)!==ye&&(M|=qr),e.flags|=M}return!1}typeof b=="function"&&(Zv(e,t,b,n),L=e.memoizedState);var V=Ic()||Gb(e,t,i,n,T,L,d);if(V){if(!x&&(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 ne=Ie;ne|=Mi,(e.mode&Ka)!==ye&&(ne|=qr),e.flags|=ne}}else{if(typeof r.componentDidMount=="function"){var ve=Ie;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 J1(e,t,n,a,r){var i=t.stateNode;cb(e,t);var l=t.memoizedProps,c=t.type===t.elementType?l:Ma(t.type,l);i.props=c;var d=t.pendingProps,y=i.context,b=n.contextType,x=ta;if(typeof b=="object"&&b!==null)x=Nt(b);else{var T=Fo(t,n,!0);x=Po(t,T)}var L=n.getDerivedStateFromProps,M=typeof L=="function"||typeof i.getSnapshotBeforeUpdate=="function";!M&&(typeof i.UNSAFE_componentWillReceiveProps=="function"||typeof i.componentWillReceiveProps=="function")&&(l!==d||y!==x)&&Kb(t,i,a,x),fb();var V=t.memoizedState,ne=i.state=V;if($c(t,a,i,r),ne=t.memoizedState,l===d&&V===ne&&!Tc()&&!Ic()&&!ba)return typeof i.componentDidUpdate=="function"&&(l!==e.memoizedProps||V!==e.memoizedState)&&(t.flags|=Ie),typeof i.getSnapshotBeforeUpdate=="function"&&(l!==e.memoizedProps||V!==e.memoizedState)&&(t.flags|=To),!1;typeof L=="function"&&(Zv(t,n,L,a),ne=t.memoizedState);var ve=Ic()||Gb(t,n,c,a,V,ne,x)||ba;return ve?(!M&&(typeof i.UNSAFE_componentWillUpdate=="function"||typeof i.componentWillUpdate=="function")&&(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,ne,x),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,ne,x)),typeof i.componentDidUpdate=="function"&&(t.flags|=Ie),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=To)):(typeof i.componentDidUpdate=="function"&&(l!==e.memoizedProps||V!==e.memoizedState)&&(t.flags|=Ie),typeof i.getSnapshotBeforeUpdate=="function"&&(l!==e.memoizedProps||V!==e.memoizedState)&&(t.flags|=To),t.memoizedProps=a,t.memoizedState=ne),i.props=a,i.state=ne,i.context=x,ve}function Zi(e,t){return{value:e,source:t,stack:Ni(t),digest:null}}function nm(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function X1(e,t){return!0}function am(e,t){try{var n=X1(e,t);if(n===!1)return;var a=t.value,r=t.source,i=t.stack,l=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===N)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 b=xe(e)||"Anonymous";y="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+b+".")}var x=d+`
- `+l+`
- `+(""+y);console.error(x)}catch(T){setTimeout(function(){throw T})}}var Z1=typeof WeakMap=="function"?WeakMap:Map;function Jb(e,t,n){var a=Or(ot,n);a.tag=uv,a.payload={element:null};var r=t.value;return a.callback=function(){Y_(r),am(e,t)},a}function rm(e,t,n){var a=Or(ot,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(){uS(e),am(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(a.callback=function(){uS(e),am(e,t),typeof r!="function"&&$_(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 Xb(e,t,n){var a=e.pingCache,r;if(a===null?(a=e.pingCache=new Z1,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=q_.bind(null,e,t,n);_a&&ls(e,n),t.then(i,i)}}function eN(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 tN(e,t){var n=e.tag;if((e.mode&ze)===ye&&(n===g||n===z||n===se)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function Zb(e){var t=e;do{if(t.tag===K&&M1(t))return t;t=t.return}while(t!==null);return null}function eE(e,t,n,a,r){if((e.mode&ze)===ye){if(e===t)e.flags|=kn;else{if(e.flags|=Ye,n.flags|=Rd,n.flags&=-52805,n.tag===S){var i=n.alternate;if(i===null)n.tag=Ve;else{var l=Or(ot,Ce);l.tag=Vc,ri(n,l,Ce)}}n.lanes=_e(n.lanes,Ce)}return e}return e.flags|=kn,e.lanes=r,e}function nN(e,t,n,a,r){if(n.flags|=Ps,_a&&ls(e,r),a!==null&&typeof a=="object"&&typeof a.then=="function"){var i=a;tN(n),rn()&&n.mode&ze&&Yg();var l=Zb(t);if(l!==null){l.flags&=~Sr,eE(l,t,n,e,r),l.mode&ze&&Xb(e,i,r),eN(l,e,i);return}else{if(!TR(r)){Xb(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&ze){Yg();var d=Zb(t);if(d!==null){(d.flags&kn)===be&&(d.flags|=Sr),eE(d,t,n,e,r),Kp(Zi(a,n));return}}a=Zi(a,n),M_(a);var y=t;do{switch(y.tag){case N:{var b=a;y.flags|=kn;var x=Jl(r);y.lanes=_e(y.lanes,x);var T=Jb(y,b,x);fv(y,T);return}case S:var L=a,M=y.type,V=y.stateNode;if((y.flags&Ye)===be&&(typeof M.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&!ZE(V))){y.flags|=kn;var ne=Jl(r);y.lanes=_e(y.lanes,ne);var ve=rm(y,L,ne);fv(y,ve);return}break}y=y.return}while(y!==null)}function aN(){return null}var Yu=f.ReactCurrentOwner,za=!1,im,qu,om,lm,um,eo,sm,mf,Gu;im={},qu={},om={},lm={},um={},eo=!1,sm={},mf={},Gu={};function On(e,t,n,a){e===null?t.child=ab(t,null,n,a):t.child=qo(t,e.child,n,a)}function rN(e,t,n,a){t.child=qo(t,e.child,null,a),t.child=qo(t,null,n,a)}function tE(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Ua(i,a,"prop",$e(n))}var l=n.render,c=t.ref,d,y;Wo(t,r),Yl(t);{if(Yu.current=t,ca(!0),d=el(e,t,l,a,c,r),y=tl(),t.mode&Et){Wt(!0);try{d=el(e,t,l,a,c,r),y=tl()}finally{Wt(!1)}}ca(!1)}return No(),e!==null&&!za?(yb(e,t,r),Lr(e,t,r)):(rn()&&y&&Ip(t),t.flags|=Ro,On(e,t,d,r),t.child)}function nE(e,t,n,a,r){if(e===null){var i=n.type;if(sD(i)&&n.compare===null&&n.defaultProps===void 0){var l=i;return l=sl(i),t.tag=se,t.type=l,dm(t,i),aE(e,t,l,a,r)}{var c=i.propTypes;if(c&&Ua(c,a,"prop",$e(i)),n.defaultProps!==void 0){var d=$e(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 b=n.type,x=b.propTypes;x&&Ua(x,a,"prop",$e(b))}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|=Ro;var ne=io(T,a);return ne.ref=t.ref,ne.return=t,t.child=ne,ne}function aE(e,t,n,a,r){if(t.type!==t.elementType){var i=t.elementType;if(i.$$typeof===he){var l=i,c=l._payload,d=l._init;try{i=d(c)}catch{i=null}var y=i&&i.propTypes;y&&Ua(y,a,"prop",$e(i))}}if(e!==null){var b=e.memoizedProps;if(du(b,a)&&e.ref===t.ref&&t.type===e.type)if(za=!1,t.pendingProps=a=b,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 rE(e,t,n){var a=t.pendingProps,r=a.children,i=e!==null?e.memoizedState:null;if(a.mode==="hidden"||Gn)if((t.mode&ze)===ye){var l={baseLanes:Y,cachePool:null,transitions:null};t.memoizedState=l,_f(t,n)}else if(Jn(n,Kn)){var x={baseLanes:Y,cachePool:null,transitions:null};t.memoizedState=x;var T=i!==null?i.baseLanes:n;_f(t,T)}else{var c=null,d;if(i!==null){var y=i.baseLanes;d=_e(y,n)}else d=n;t.lanes=t.childLanes=Kn;var b={baseLanes:d,cachePool:c,transitions:null};return t.memoizedState=b,t.updateQueue=null,_f(t,d),null}else{var L;i!==null?(L=_e(i.baseLanes,n),t.memoizedState=null):L=n,_f(t,L)}return On(e,t,r,n),t.child}function iN(e,t,n){var a=t.pendingProps;return On(e,t,a,n),t.child}function oN(e,t,n){var a=t.pendingProps.children;return On(e,t,a,n),t.child}function lN(e,t,n){{t.flags|=Ie;{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 iE(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=Li,t.flags|=Td)}function cm(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Ua(i,a,"prop",$e(n))}var l;{var c=Fo(t,n,!0);l=Po(t,c)}var d,y;Wo(t,r),Yl(t);{if(Yu.current=t,ca(!0),d=el(e,t,n,a,l,r),y=tl(),t.mode&Et){Wt(!0);try{d=el(e,t,n,a,l,r),y=tl()}finally{Wt(!1)}}ca(!1)}return No(),e!==null&&!za?(yb(e,t,r),Lr(e,t,r)):(rn()&&y&&Ip(t),t.flags|=Ro,On(e,t,d,r),t.child)}function oE(e,t,n,a,r){{switch(TD(t)){case!1:{var i=t.stateNode,l=t.type,c=new l(t.memoizedProps,i.context),d=c.state;i.updater.enqueueSetState(i,d,null);break}case!0:{t.flags|=Ye,t.flags|=kn;var y=new Error("Simulated error coming from DevTools"),b=Jl(r);t.lanes=_e(t.lanes,b);var x=rm(t,Zi(y,t),b);fv(t,x);break}}if(t.type!==t.elementType){var T=n.propTypes;T&&Ua(T,a,"prop",$e(n))}}var L;Za(n)?(L=!0,xc(t)):L=!1,Wo(t,r);var M=t.stateNode,V;M===null?(yf(e,t),Qb(t,n,a),tm(t,n,a,r),V=!0):e===null?V=K1(t,n,a,r):V=J1(e,t,n,a,r);var ne=fm(e,t,n,V,L,r);{var ve=t.stateNode;V&&ve.props!==a&&(eo||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"),eo=!0)}return ne}function fm(e,t,n,a,r,i){iE(e,t);var l=(t.flags&Ye)!==be;if(!a&&!l)return r&&Fg(t,n,!1),Lr(e,t,i);var c=t.stateNode;Yu.current=t;var d;if(l&&typeof n.getDerivedStateFromError!="function")d=null,Ib();else{Yl(t);{if(ca(!0),d=c.render(),t.mode&Et){Wt(!0);try{c.render()}finally{Wt(!1)}}ca(!1)}No()}return t.flags|=Ro,e!==null&&l?rN(e,t,d,i):On(e,t,d,i),t.memoizedState=c.state,r&&Fg(t,n,!0),t.child}function lE(e){var t=e.stateNode;t.pendingContext?Vg(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Vg(e,t.context,!1),dv(e,t.containerInfo)}function uN(e,t,n){if(lE(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;cb(e,t),$c(t,a,null,n);var l=t.memoizedState;t.stateNode;var c=l.element;if(r.isDehydrated){var d={element:c,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},y=t.updateQueue;if(y.baseState=d,t.memoizedState=d,t.flags&Sr){var b=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 uE(e,t,c,n,b)}else if(c!==i){var x=Zi(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return uE(e,t,c,n,x)}else{f1(t);var T=ab(t,null,c,n);t.child=T;for(var L=T;L;)L.flags=L.flags&~xt|Cr,L=L.sibling}}else{if(Yo(),c===i)return Lr(e,t,n);On(e,t,c,n)}return t.child}function uE(e,t,n,a,r){return Yo(),Kp(r),t.flags|=Sr,On(e,t,n,a),t.child}function sN(e,t,n){vb(t),e===null&&Qp(t);var a=t.type,r=t.pendingProps,i=e!==null?e.memoizedProps:null,l=r.children,c=Up(a,r);return c?l=null:i!==null&&Up(a,i)&&(t.flags|=$l),iE(e,t),On(e,t,l,n),t.child}function cN(e,t){return e===null&&Qp(t),null}function fN(e,t,n,a){yf(e,t);var r=t.pendingProps,i=n,l=i._payload,c=i._init,d=c(l);t.type=d;var y=t.tag=cD(d),b=Ma(d,r),x;switch(y){case g:return dm(t,d),t.type=d=sl(d),x=cm(null,t,d,b,a),x;case S:return t.type=d=Pm(d),x=oE(null,t,d,b,a),x;case z:return t.type=d=$m(d),x=tE(null,t,d,b,a),x;case fe:{if(t.type!==t.elementType){var T=d.propTypes;T&&Ua(T,b,"prop",$e(d))}return x=nE(null,t,d,Ma(d.type,b),a),x}}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 dN(e,t,n,a,r){yf(e,t),t.tag=S;var i;return Za(n)?(i=!0,xc(t)):i=!1,Wo(t,r),Qb(t,n,a),tm(t,n,a,r),fm(null,t,n,!0,i,r)}function pN(e,t,n,a){yf(e,t);var r=t.pendingProps,i;{var l=Fo(t,n,!1);i=Po(t,l)}Wo(t,a);var c,d;Yl(t);{if(n.prototype&&typeof n.prototype.render=="function"){var y=$e(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&Et&&Oa.recordLegacyContextWarning(t,null),ca(!0),Yu.current=t,c=el(null,t,n,r,i,a),d=tl(),ca(!1)}if(No(),t.flags|=Ro,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0){var b=$e(n)||"Unknown";qu[b]||(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.",b,b,b),qu[b]=!0)}if(typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0){{var x=$e(n)||"Unknown";qu[x]||(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.",x,x,x),qu[x]=!0)}t.tag=S,t.memoizedState=null,t.updateQueue=null;var T=!1;return Za(n)?(T=!0,xc(t)):T=!1,t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,cv(t),Wb(t,c),tm(t,n,r,a),fm(null,t,n,!0,T,a)}else{if(t.tag=g,t.mode&Et){Wt(!0);try{c=el(null,t,n,r,i,a),d=tl()}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 l=$e(t)||"Unknown";Gu[l]||(s("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",l),Gu[l]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var c=$e(t)||"Unknown";lm[c]||(s("%s: Function components do not support getDerivedStateFromProps.",c),lm[c]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var d=$e(t)||"Unknown";om[d]||(s("%s: Function components do not support contextType.",d),om[d]=!0)}}}var pm={dehydrated:null,treeContext:null,retryLane:Qt};function vm(e){return{baseLanes:e,cachePool:aN(),transitions:null}}function vN(e,t){var n=null;return{baseLanes:_e(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function mN(e,t,n,a){if(t!==null){var r=t.memoizedState;if(r===null)return!1}return mv(e,zu)}function hN(e,t){return Qs(e.childLanes,t)}function sE(e,t,n){var a=t.pendingProps;wD(t)&&(t.flags|=Ye);var r=La.current,i=!1,l=(t.flags&Ye)!==be;if(l||mN(r,e)?(i=!0,t.flags&=~Ye):(e===null||e.memoizedState!==null)&&(r=A1(r,hb)),r=Ko(r),oi(t,r),e===null){Qp(t);var c=t.memoizedState;if(c!==null){var d=c.dehydrated;if(d!==null)return SN(t,d)}var y=a.children,b=a.fallback;if(i){var x=yN(t,y,b,n),T=t.child;return T.memoizedState=vm(n),t.memoizedState=pm,x}else return mm(t,y)}else{var L=e.memoizedState;if(L!==null){var M=L.dehydrated;if(M!==null)return CN(e,t,l,a,M,L,n)}if(i){var V=a.fallback,ne=a.children,ve=bN(e,t,ne,V,n),ce=t.child,Be=e.child.memoizedState;return ce.memoizedState=Be===null?vm(n):vN(Be,n),ce.childLanes=hN(e,n),t.memoizedState=pm,ve}else{var Le=a.children,U=gN(e,t,Le,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 yN(e,t,n,a){var r=e.mode,i=e.child,l={mode:"hidden",children:t},c,d;return(r&ze)===ye&&i!==null?(c=i,c.childLanes=Y,c.pendingProps=l,e.mode&Ke&&(c.actualDuration=0,c.actualStartTime=-1,c.selfBaseDuration=0,c.treeBaseDuration=0),d=vi(n,r,a,null)):(c=hm(l,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 cS(e,t,Y,null)}function cE(e,t){return io(e,t)}function gN(e,t,n,a){var r=e.child,i=r.sibling,l=cE(r,{mode:"visible",children:n});if((t.mode&ze)===ye&&(l.lanes=a),l.return=t,l.sibling=null,i!==null){var c=t.deletions;c===null?(t.deletions=[i],t.flags|=Oi):c.push(i)}return t.child=l,l}function bN(e,t,n,a,r){var i=t.mode,l=e.child,c=l.sibling,d={mode:"hidden",children:n},y;if((i&ze)===ye&&t.child!==l){var b=t.child;y=b,y.childLanes=Y,y.pendingProps=d,t.mode&Ke&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=l.selfBaseDuration,y.treeBaseDuration=l.treeBaseDuration),t.deletions=null}else y=cE(l,d),y.subtreeFlags=l.subtreeFlags&Rr;var x;return c!==null?x=io(c,a):(x=vi(a,i,r,null),x.flags|=xt),x.return=t,y.return=t,y.sibling=x,t.child=y,x}function hf(e,t,n,a){a!==null&&Kp(a),qo(t,e.child,null,n);var r=t.pendingProps,i=r.children,l=mm(t,i);return l.flags|=xt,t.memoizedState=null,l}function EN(e,t,n,a,r){var i=t.mode,l={mode:"visible",children:n},c=hm(l,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&ze)!==ye&&qo(t,e.child,null,r),d}function SN(e,t,n){return(e.mode&ze)===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 CN(e,t,n,a,r,i,l){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,l,U)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ye,null;var H=a.children,k=a.fallback,W=EN(e,t,H,k,l),oe=t.child;return oe.memoizedState=vm(l),t.memoizedState=pm,W}else{if(s1(),(t.mode&ze)===ye)return hf(e,t,l,null);if(Ap(r)){var c,d,y;{var b=xx(r);c=b.digest,d=b.message,y=b.stack}var x;d?x=new Error(d):x=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(x,c,y);return hf(e,t,l,T)}var L=Jn(l,e.childLanes);if(za||L){var M=Nf();if(M!==null){var V=OR(M,l);if(V!==Qt&&V!==i.retryLane){i.retryLane=V;var ne=ot;Pn(e,V),Ht(M,e,V,ne)}}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,l,ve)}else if(Lg(r)){t.flags|=Ye,t.child=e.child;var ce=G_.bind(null,e);return Nx(r,ce),null}else{d1(t,r,i.treeContext);var Be=a.children,Le=mm(t,Be);return Le.flags|=Cr,Le}}}function fE(e,t,n){e.lanes=_e(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=_e(a.lanes,t)),ov(e.return,t,n)}function RN(e,t,n){for(var a=t;a!==null;){if(a.tag===K){var r=a.memoizedState;r!==null&&fE(a,n,e)}else if(a.tag===et)fE(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 TN(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 wN(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 xN(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 dE(e,t){{var n=Oe(e),a=!n&&typeof xa(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 NN(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Oe(e)){for(var n=0;n<e.length;n++)if(!dE(e[n],n))return}else{var a=xa(e);if(typeof a=="function"){var r=a.call(e);if(r)for(var i=r.next(),l=0;!i.done;i=r.next()){if(!dE(i.value,l))return;l++}}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 pE(e,t,n){var a=t.pendingProps,r=a.revealOrder,i=a.tail,l=a.children;wN(r),xN(i,r),NN(l,r),On(e,t,l,n);var c=La.current,d=mv(c,zu);if(d)c=hv(c,zu),t.flags|=Ye;else{var y=e!==null&&(e.flags&Ye)!==be;y&&RN(t,t.child,n),c=Ko(c)}if(oi(t,c),(t.mode&ze)===ye)t.memoizedState=null;else switch(r){case"forwards":{var b=TN(t.child),x;b===null?(x=t.child,t.child=null):(x=b.sibling,b.sibling=null),ym(t,!1,x,b,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 _N(e,t,n){dv(t,t.stateNode.containerInfo);var a=t.pendingProps;return e===null?t.child=qo(t,null,a,n):On(e,t,a,n),t.child}var vE=!1;function DN(e,t,n){var a=t.type,r=a._context,i=t.pendingProps,l=t.memoizedProps,c=i.value;{"value"in i||vE||(vE=!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),l!==null){var y=l.value;if(ea(y,c)){if(l.children===i.children&&!Tc())return Lr(e,t,n)}else w1(t,r,n)}var b=i.children;return On(e,t,b,n),t.child}var mE=!1;function UN(e,t,n){var a=t.type;a._context===void 0?a!==a.Consumer&&(mE||(mE=!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."),Wo(t,n);var l=Nt(a);Yl(t);var c;return Yu.current=t,ca(!0),c=i(l),ca(!1),No(),t.flags|=Ro,On(e,t,c,n),t.child}function Wu(){za=!0}function yf(e,t){(t.mode&ze)===ye&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=xt)}function Lr(e,t,n){return e!==null&&(t.dependencies=e.dependencies),Ib(),os(t.lanes),Jn(n,t.childLanes)?(R1(e,t),t.child):null}function kN(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 ON(e,t,n){switch(t.tag){case N:lE(t),t.stateNode,Yo();break;case O:vb(t);break;case S:{var a=t.type;Za(a)&&xc(t);break}case w:dv(t,t.stateNode.containerInfo);break;case j:{var r=t.memoizedProps.value,i=t.type._context;ob(t,i,r);break}case I:{var l=Jn(n,t.childLanes);l&&(t.flags|=Ie);{var c=t.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}}break;case K:{var d=t.memoizedState;if(d!==null){if(d.dehydrated!==null)return oi(t,Ko(La.current)),t.flags|=Ye,null;var y=t.child,b=y.childLanes;if(Jn(n,b))return sE(e,t,n);oi(t,Ko(La.current));var x=Lr(e,t,n);return x!==null?x.sibling:null}else oi(t,Ko(La.current));break}case et:{var T=(e.flags&Ye)!==be,L=Jn(n,t.childLanes);if(T){if(L)return pE(e,t,n);t.flags|=Ye}var M=t.memoizedState;if(M!==null&&(M.rendering=null,M.tail=null,M.lastEffect=null),oi(t,La.current),L)break;return null}case me:case Ct:return t.lanes=Y,rE(e,t,n)}return Lr(e,t,n)}function hE(e,t,n){if(t._debugNeedsRemount&&e!==null)return kN(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||Tc()||t.type!==e.type)za=!0;else{var i=gm(e,n);if(!i&&(t.flags&Ye)===be)return za=!1,ON(e,t,n);(e.flags&Rd)!==be?za=!0:za=!1}}else if(za=!1,rn()&&a1(t)){var l=t.index,c=r1();Ig(t,c,l)}switch(t.lanes=Y,t.tag){case _:return pN(e,t,t.type,n);case Ge:{var d=t.elementType;return fN(e,t,d,n)}case g:{var y=t.type,b=t.pendingProps,x=t.elementType===y?b:Ma(y,b);return cm(e,t,y,x,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 N:return uN(e,t,n);case O:return sN(e,t,n);case P:return cN(e,t);case K:return sE(e,t,n);case w:return _N(e,t,n);case z:{var V=t.type,ne=t.pendingProps,ve=t.elementType===V?ne:Ma(V,ne);return tE(e,t,V,ve,n)}case Q:return iN(e,t,n);case J:return oN(e,t,n);case I:return lN(e,t,n);case j:return DN(e,t,n);case q:return UN(e,t,n);case fe:{var ce=t.type,Be=t.pendingProps,Le=Ma(ce,Be);if(t.type!==t.elementType){var U=ce.propTypes;U&&Ua(U,Le,"prop",$e(ce))}return Le=Ma(ce.type,Le),nE(e,t,ce,Le,n)}case se:return aE(e,t,t.type,t.pendingProps,n);case Ve:{var H=t.type,k=t.pendingProps,W=t.elementType===H?k:Ma(H,k);return dN(e,t,H,W,n)}case et:return pE(e,t,n);case Ze:break;case me:return rE(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 nl(e){e.flags|=Ie}function yE(e){e.flags|=Li,e.flags|=Td}var gE,bm,bE,EE;gE=function(e,t,n,a){for(var r=t.child;r!==null;){if(r.tag===O||r.tag===P)ex(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){},bE=function(e,t,n,a,r){var i=e.memoizedProps;if(i!==a){var l=t.stateNode,c=pv(),d=nx(l,n,i,a,r,c);t.updateQueue=d,d&&nl(t)}},EE=function(e,t,n,a){n!==a&&nl(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 ln(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=Y,a=be;if(t){if((e.mode&Ke)!==ye){for(var d=e.selfBaseDuration,y=e.child;y!==null;)n=_e(n,_e(y.lanes,y.childLanes)),a|=y.subtreeFlags&Rr,a|=y.flags&Rr,d+=y.treeBaseDuration,y=y.sibling;e.treeBaseDuration=d}else for(var b=e.child;b!==null;)n=_e(n,_e(b.lanes,b.childLanes)),a|=b.subtreeFlags&Rr,a|=b.flags&Rr,b.return=e,b=b.sibling;e.subtreeFlags|=a}else{if((e.mode&Ke)!==ye){for(var r=e.actualDuration,i=e.selfBaseDuration,l=e.child;l!==null;)n=_e(n,_e(l.lanes,l.childLanes)),a|=l.subtreeFlags,a|=l.flags,r+=l.actualDuration,i+=l.treeBaseDuration,l=l.sibling;e.actualDuration=r,e.treeBaseDuration=i}else for(var c=e.child;c!==null;)n=_e(n,_e(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 LN(e,t,n){if(y1()&&(t.mode&ze)!==ye&&(t.flags&Ye)===be)return Jg(t),Yo(),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(m1(t),ln(t),(t.mode&Ke)!==ye){var r=n!==null;if(r){var i=t.child;i!==null&&(t.treeBaseDuration-=i.treeBaseDuration)}}return!1}else{if(Yo(),(t.flags&Ye)===be&&(t.memoizedState=null),t.flags|=Ie,ln(t),(t.mode&Ke)!==ye){var l=n!==null;if(l){var c=t.child;c!==null&&(t.treeBaseDuration-=c.treeBaseDuration)}}return!1}else return Xg(),!0}function SE(e,t,n){var a=t.pendingProps;switch(Yp(t),t.tag){case _:case Ge:case se:case g:case z:case Q:case J:case I:case q:case fe:return ln(t),null;case S:{var r=t.type;return Za(r)&&wc(t),ln(t),null}case N:{var i=t.stateNode;if(Qo(t),Fp(t),gv(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),e===null||e.child===null){var l=kc(t);if(l)nl(t);else if(e!==null){var c=e.memoizedState;(!c.isDehydrated||(t.flags&Sr)!==be)&&(t.flags|=To,Xg())}}return bm(e,t),ln(t),null}case O:{vv(t);var d=pb(),y=t.type;if(e!==null&&t.stateNode!=null)bE(e,t,y,a,d),e.ref!==t.ref&&yE(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 ln(t),null}var b=pv(),x=kc(t);if(x)p1(t,d,b)&&nl(t);else{var T=Zw(y,a,d,b,t);gE(T,t,!1,!1),t.stateNode=T,tx(T,y,a,d)&&nl(t)}t.ref!==null&&yE(t)}return ln(t),null}case P:{var L=a;if(e&&t.stateNode!=null){var M=e.memoizedProps;EE(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=pb(),ne=pv(),ve=kc(t);ve?v1(t)&&nl(t):t.stateNode=ax(L,V,ne,t)}return ln(t),null}case K:{Jo(t);var ce=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Be=LN(e,t,ce);if(!Be)return t.flags&kn?t:null}if((t.flags&Ye)!==be)return t.lanes=n,(t.mode&Ke)!==ye&&$v(t),t;var Le=ce!==null,U=e!==null&&e.memoizedState!==null;if(Le!==U&&Le){var H=t.child;if(H.flags|=Ai,(t.mode&ze)!==ye){var k=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);k||mv(La.current,hb)?A_():jm()}}var W=t.updateQueue;if(W!==null&&(t.flags|=Ie),ln(t),(t.mode&Ke)!==ye&&Le){var oe=t.child;oe!==null&&(t.treeBaseDuration-=oe.treeBaseDuration)}return null}case w:return Qo(t),bm(e,t),e===null&&Kx(t.stateNode.containerInfo),ln(t),null;case j:var ae=t.type._context;return iv(ae,t),ln(t),null;case Ve:{var Ee=t.type;return Za(Ee)&&wc(t),ln(t),null}case et:{Jo(t);var we=t.memoizedState;if(we===null)return ln(t),null;var Xe=(t.flags&Ye)!==be,He=we.rendering;if(He===null)if(Xe)Qu(we,!1);else{var Rt=z_()&&(e===null||(e.flags&Ye)===be);if(!Rt)for(var Fe=t.child;Fe!==null;){var St=Gc(Fe);if(St!==null){Xe=!0,t.flags|=Ye,Qu(we,!1);var Sn=St.updateQueue;return Sn!==null&&(t.updateQueue=Sn,t.flags|=Ie),t.subtreeFlags=be,T1(t,n),oi(t,hv(La.current,zu)),t.child}Fe=Fe.sibling}we.tail!==null&&Gt()>PE()&&(t.flags|=Ye,Xe=!0,Qu(we,!1),t.lanes=Ey)}else{if(!Xe){var dn=Gc(He);if(dn!==null){t.flags|=Ye,Xe=!0;var aa=dn.updateQueue;if(aa!==null&&(t.updateQueue=aa,t.flags|=Ie),Qu(we,!0),we.tail===null&&we.tailMode==="hidden"&&!He.alternate&&!rn())return ln(t),null}else Gt()*2-we.renderingStartTime>PE()&&n!==Kn&&(t.flags|=Ye,Xe=!0,Qu(we,!1),t.lanes=Ey)}if(we.isBackwards)He.sibling=t.child,t.child=He;else{var Mn=we.last;Mn!==null?Mn.sibling=He:t.child=He,we.last=He}}if(we.tail!==null){var zn=we.tail;we.rendering=zn,we.tail=zn.sibling,we.renderingStartTime=Gt(),zn.sibling=null;var Cn=La.current;return Xe?Cn=hv(Cn,zu):Cn=Ko(Cn),oi(t,Cn),zn}return ln(t),null}case Ze:break;case me:case Ct:{zm(t);var Br=t.memoizedState,cl=Br!==null;if(e!==null){var fs=e.memoizedState,lr=fs!==null;lr!==cl&&!Gn&&(t.flags|=Ai)}return!cl||(t.mode&ze)===ye?ln(t):Jn(or,Kn)&&(ln(t),t.subtreeFlags&(xt|Ie)&&(t.flags|=Ai)),null}case ft:return null;case Dt: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 AN(e,t,n){switch(Yp(t),t.tag){case S:{var a=t.type;Za(a)&&wc(t);var r=t.flags;return r&kn?(t.flags=r&~kn|Ye,(t.mode&Ke)!==ye&&$v(t),t):null}case N:{t.stateNode,Qo(t),Fp(t),gv();var i=t.flags;return(i&kn)!==be&&(i&Ye)===be?(t.flags=i&~kn|Ye,t):null}case O:return vv(t),null;case K:{Jo(t);var l=t.memoizedState;if(l!==null&&l.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.");Yo()}var c=t.flags;return c&kn?(t.flags=c&~kn|Ye,(t.mode&Ke)!==ye&&$v(t),t):null}case et:return Jo(t),null;case w:return Qo(t),null;case j:var d=t.type._context;return iv(d,t),null;case me:case Ct:return zm(t),null;case ft:return null;default:return null}}function CE(e,t,n){switch(Yp(t),t.tag){case S:{var a=t.type.childContextTypes;a!=null&&wc(t);break}case N:{t.stateNode,Qo(t),Fp(t),gv();break}case O:{vv(t);break}case w:Qo(t);break;case K:Jo(t);break;case et:Jo(t);break;case j:var r=t.type._context;iv(r,t);break;case me:case Ct:zm(t);break}}var RE=null;RE=new Set;var gf=!1,un=!1,MN=typeof WeakSet=="function"?WeakSet:Set,le=null,al=null,rl=null;function zN(e){Ed(null,function(){throw e}),Sd()}var jN=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Ke)try{rr(),t.componentWillUnmount()}finally{ar(e)}else t.componentWillUnmount()};function TE(e,t){try{si(At,e)}catch(n){nt(e,t,n)}}function Em(e,t,n){try{jN(e,n)}catch(a){nt(e,t,a)}}function BN(e,t,n){try{n.componentDidMount()}catch(a){nt(e,t,a)}}function wE(e,t){try{NE(e)}catch(n){nt(e,t,n)}}function il(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var a;try{if(Tn&&fr&&e.mode&Ke)try{rr(),a=n(null)}finally{ar(e)}else a=n(null)}catch(r){nt(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){nt(e,t,a)}}var xE=!1;function VN(e,t){Jw(e.containerInfo),le=t,HN();var n=xE;return xE=!1,n}function HN(){for(;le!==null;){var e=le,t=e.child;(e.subtreeFlags&Nd)!==be&&t!==null?(t.return=e,le=t):FN()}}function FN(){for(;le!==null;){var e=le;dt(e);try{PN(e)}catch(n){nt(e,e.return,n)}qt();var t=e.sibling;if(t!==null){t.return=e.return,le=t;return}le=e.return}}function PN(e){var t=e.alternate,n=e.flags;if((n&To)!==be){switch(dt(e),e.tag){case g:case z:case se:break;case S:{if(t!==null){var a=t.memoizedProps,r=t.memoizedState,i=e.stateNode;e.type===e.elementType&&!eo&&(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 l=i.getSnapshotBeforeUpdate(e.elementType===e.type?a:Ma(e.type,a),r);{var c=RE;l===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=l}break}case N:{{var d=e.stateNode;Cx(d.containerInfo)}break}case O:case P:case w:case Ve: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,l=i;do{if((l.tag&e)===e){var c=l.destroy;l.destroy=void 0,c!==void 0&&((e&on)!==$n?aR(t):(e&At)!==$n&&my(t),(e&er)!==$n&&us(!0),bf(t,n,c),(e&er)!==$n&&us(!1),(e&on)!==$n?rR():(e&At)!==$n&&hy())}l=l.next}while(l!==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&on)!==$n?tR(t):(e&At)!==$n&&iR(t);var l=i.create;(e&er)!==$n&&us(!0),i.destroy=l(),(e&er)!==$n&&us(!1),(e&on)!==$n?nR():(e&At)!==$n&&oR();{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 $N(e,t){if((t.flags&Ie)!==be)switch(t.tag){case I:{var n=t.stateNode.passiveEffectDuration,a=t.memoizedProps,r=a.id,i=a.onPostCommit,l=Pb(),c=t.alternate===null?"mount":"update";Fb()&&(c="nested-update"),typeof i=="function"&&i(r,c,n,l);var d=t.return;e:for(;d!==null;){switch(d.tag){case N:var y=d.stateNode;y.passiveEffectDuration+=n;break e;case I:var b=d.stateNode;b.passiveEffectDuration+=n;break e}d=d.return}break}}}function IN(e,t,n,a){if((n.flags&Il)!==be)switch(n.tag){case g:case z:case se:{if(!un)if(n.mode&Ke)try{rr(),si(At|Lt,n)}finally{ar(n)}else si(At|Lt,n);break}case S:{var r=n.stateNode;if(n.flags&Ie&&!un)if(t===null)if(n.type===n.elementType&&!eo&&(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&Ke)try{rr(),r.componentDidMount()}finally{ar(n)}else r.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:Ma(n.type,t.memoizedProps),l=t.memoizedState;if(n.type===n.elementType&&!eo&&(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&Ke)try{rr(),r.componentDidUpdate(i,l,r.__reactInternalSnapshotBeforeUpdate)}finally{ar(n)}else r.componentDidUpdate(i,l,r.__reactInternalSnapshotBeforeUpdate)}var c=n.updateQueue;c!==null&&(n.type===n.elementType&&!eo&&(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")),db(n,c,r));break}case N:{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}db(n,d,y)}break}case O:{var b=n.stateNode;if(t===null&&n.flags&Ie){var x=n.type,T=n.memoizedProps;ux(b,x,T)}break}case P:break;case w:break;case I:{{var L=n.memoizedProps,M=L.onCommit,V=L.onRender,ne=n.stateNode.effectDuration,ve=Pb(),ce=t===null?"mount":"update";Fb()&&(ce="nested-update"),typeof V=="function"&&V(n.memoizedProps.id,ce,n.actualDuration,n.treeBaseDuration,n.actualStartTime,ve);{typeof M=="function"&&M(n.memoizedProps.id,ce,ne,ve),F_(n);var Be=n.return;e:for(;Be!==null;){switch(Be.tag){case N:var Le=Be.stateNode;Le.effectDuration+=ne;break e;case I:var U=Be.stateNode;U.effectDuration+=ne;break e}Be=Be.return}}}break}case K:{XN(e,n);break}case et:case Ve:case Ze:case me:case Ct:case Dt: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&&NE(n)}function YN(e){switch(e.tag){case g:case z:case se:{if(e.mode&Ke)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"&&BN(e,e.return,t),wE(e,e.return);break}case O:{wE(e,e.return);break}}}function qN(e,t){for(var n=null,a=e;;){if(a.tag===O){if(n===null){n=a;try{var r=a.stateNode;t?gx(r):Ex(a.stateNode,a.memoizedProps)}catch(l){nt(e,e.return,l)}}}else if(a.tag===P){if(n===null)try{var i=a.stateNode;t?bx(i):Sx(i,a.memoizedProps)}catch(l){nt(e,e.return,l)}}else if(!((a.tag===me||a.tag===Ct)&&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 NE(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&Ke)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 GN(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function _E(e){var t=e.alternate;t!==null&&(e.alternate=null,_E(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===O){var n=e.stateNode;n!==null&&Zx(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 WN(e){for(var t=e.return;t!==null;){if(DE(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 DE(e){return e.tag===O||e.tag===N||e.tag===w}function UE(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||DE(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==O&&t.tag!==P&&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 QN(e){var t=WN(e);switch(t.tag){case O:{var n=t.stateNode;t.flags&$l&&(Og(n),t.flags&=~$l);var a=UE(e);Cm(e,a,n);break}case N:case w:{var r=t.stateNode.containerInfo,i=UE(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===P;if(r){var i=e.stateNode;t?vx(n,i,t):dx(n,i)}else if(a!==w){var l=e.child;if(l!==null){Sm(l,t,n);for(var c=l.sibling;c!==null;)Sm(c,t,n),c=c.sibling}}}function Cm(e,t,n){var a=e.tag,r=a===O||a===P;if(r){var i=e.stateNode;t?px(n,i,t):fx(n,i)}else if(a!==w){var l=e.child;if(l!==null){Cm(l,t,n);for(var c=l.sibling;c!==null;)Cm(c,t,n),c=c.sibling}}}var sn=null,Ba=!1;function KN(e,t,n){{var a=t;e:for(;a!==null;){switch(a.tag){case O:{sn=a.stateNode,Ba=!1;break e}case N:{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.");kE(e,t,n),sn=null,Ba=!1}GN(n)}function ci(e,t,n){for(var a=n.child;a!==null;)kE(e,t,a),a=a.sibling}function kE(e,t,n){switch(J0(n),n.tag){case O:un||il(n,t);case P:{{var a=sn,r=Ba;sn=null,ci(e,t,n),sn=a,Ba=r,sn!==null&&(Ba?hx(sn,n.stateNode):mx(sn,n.stateNode))}return}case Pe:{sn!==null&&(Ba?yx(sn,n.stateNode):Lp(sn,n.stateNode));return}case w:{{var i=sn,l=Ba;sn=n.stateNode.containerInfo,Ba=!0,ci(e,t,n),sn=i,Ba=l}return}case g:case z:case fe:case se:{if(!un){var c=n.updateQueue;if(c!==null){var d=c.lastEffect;if(d!==null){var y=d.next,b=y;do{var x=b,T=x.destroy,L=x.tag;T!==void 0&&((L&er)!==$n?bf(n,t,T):(L&At)!==$n&&(my(n),n.mode&Ke?(rr(),bf(n,t,T),ar(n)):bf(n,t,T),hy())),b=b.next}while(b!==y)}}}ci(e,t,n);return}case S:{if(!un){il(n,t);var M=n.stateNode;typeof M.componentWillUnmount=="function"&&Em(n,t,M)}ci(e,t,n);return}case Ze:{ci(e,t,n);return}case me:{if(n.mode&ze){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 JN(e){e.memoizedState}function XN(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&&zx(i)}}}}function OE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new MN),t.forEach(function(a){var r=W_.bind(null,e,a);if(!n.has(a)){if(n.add(a),_a)if(al!==null&&rl!==null)ls(rl,al);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");a.then(r,r)}})}}function ZN(e,t,n){al=n,rl=e,dt(t),LE(t,e),dt(t),al=null,rl=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{KN(e,t,i)}catch(d){nt(i,t,d)}}var l=ks();if(t.subtreeFlags&_d)for(var c=t.child;c!==null;)dt(c),LE(c,e),c=c.sibling;dt(l)}function LE(e,t,n){var a=e.alternate,r=e.flags;switch(e.tag){case g:case z:case fe:case se:{if(Va(t,e),ir(e),r&Ie){try{ja(er|Lt,e,e.return),si(er|Lt,e)}catch(Ee){nt(e,e.return,Ee)}if(e.mode&Ke){try{rr(),ja(At|Lt,e,e.return)}catch(Ee){nt(e,e.return,Ee)}ar(e)}else try{ja(At|Lt,e,e.return)}catch(Ee){nt(e,e.return,Ee)}}return}case S:{Va(t,e),ir(e),r&Li&&a!==null&&il(a,a.return);return}case O:{Va(t,e),ir(e),r&Li&&a!==null&&il(a,a.return);{if(e.flags&$l){var i=e.stateNode;try{Og(i)}catch(Ee){nt(e,e.return,Ee)}}if(r&Ie){var l=e.stateNode;if(l!=null){var c=e.memoizedProps,d=a!==null?a.memoizedProps:c,y=e.type,b=e.updateQueue;if(e.updateQueue=null,b!==null)try{sx(l,b,y,d,c,e)}catch(Ee){nt(e,e.return,Ee)}}}}return}case P:{if(Va(t,e),ir(e),r&Ie){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 x=e.stateNode,T=e.memoizedProps,L=a!==null?a.memoizedProps:T;try{cx(x,L,T)}catch(Ee){nt(e,e.return,Ee)}}return}case N:{if(Va(t,e),ir(e),r&Ie&&a!==null){var M=a.memoizedState;if(M.isDehydrated)try{Mx(t.containerInfo)}catch(Ee){nt(e,e.return,Ee)}}return}case w:{Va(t,e),ir(e);return}case K:{Va(t,e),ir(e);var V=e.child;if(V.flags&Ai){var ne=V.stateNode,ve=V.memoizedState,ce=ve!==null;if(ne.isHidden=ce,ce){var Be=V.alternate!==null&&V.alternate.memoizedState!==null;Be||L_()}}if(r&Ie){try{JN(e)}catch(Ee){nt(e,e.return,Ee)}OE(e)}return}case me:{var Le=a!==null&&a.memoizedState!==null;if(e.mode&ze){var U=un;un=U||Le,Va(t,e),un=U}else Va(t,e);if(ir(e),r&Ai){var H=e.stateNode,k=e.memoizedState,W=k!==null,oe=e;if(H.isHidden=W,W&&!Le&&(oe.mode&ze)!==ye){le=oe;for(var ae=oe.child;ae!==null;)le=ae,t_(ae),ae=ae.sibling}qN(oe,W)}return}case et:{Va(t,e),ir(e),r&Ie&&OE(e);return}case Ze:return;default:{Va(t,e),ir(e);return}}}function ir(e){var t=e.flags;if(t&xt){try{QN(e)}catch(n){nt(e,e.return,n)}e.flags&=~xt}t&Cr&&(e.flags&=~Cr)}function e_(e,t,n){al=n,rl=t,le=e,AE(e,t,n),al=null,rl=null}function AE(e,t,n){for(var a=(e.mode&ze)!==ye;le!==null;){var r=le,i=r.child;if(r.tag===me&&a){var l=r.memoizedState!==null,c=l||gf;if(c){Rm(e,t,n);continue}else{var d=r.alternate,y=d!==null&&d.memoizedState!==null,b=y||un,x=gf,T=un;gf=c,un=b,un&&!T&&(le=r,n_(r));for(var L=i;L!==null;)le=L,AE(L,t,n),L=L.sibling;le=r,gf=x,un=T,Rm(e,t,n);continue}}(r.subtreeFlags&Il)!==be&&i!==null?(i.return=r,le=i):Rm(e,t,n)}}function Rm(e,t,n){for(;le!==null;){var a=le;if((a.flags&Il)!==be){var r=a.alternate;dt(a);try{IN(t,r,a,n)}catch(l){nt(a,a.return,l)}qt()}if(a===e){le=null;return}var i=a.sibling;if(i!==null){i.return=a.return,le=i;return}le=a.return}}function t_(e){for(;le!==null;){var t=le,n=t.child;switch(t.tag){case g:case z:case fe:case se:{if(t.mode&Ke)try{rr(),ja(At,t,t.return)}finally{ar(t)}else ja(At,t,t.return);break}case S:{il(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Em(t,t.return,a);break}case O:{il(t,t.return);break}case me:{var r=t.memoizedState!==null;if(r){ME(e);continue}break}}n!==null?(n.return=t,le=n):ME(e)}}function ME(e){for(;le!==null;){var t=le;if(t===e){le=null;return}var n=t.sibling;if(n!==null){n.return=t.return,le=n;return}le=t.return}}function n_(e){for(;le!==null;){var t=le,n=t.child;if(t.tag===me){var a=t.memoizedState!==null;if(a){zE(e);continue}}n!==null?(n.return=t,le=n):zE(e)}}function zE(e){for(;le!==null;){var t=le;dt(t);try{YN(t)}catch(a){nt(t,t.return,a)}if(qt(),t===e){le=null;return}var n=t.sibling;if(n!==null){n.return=t.return,le=n;return}le=t.return}}function a_(e,t,n,a){le=t,r_(t,e,n,a)}function r_(e,t,n,a){for(;le!==null;){var r=le,i=r.child;(r.subtreeFlags&wo)!==be&&i!==null?(i.return=r,le=i):i_(e,t,n,a)}}function i_(e,t,n,a){for(;le!==null;){var r=le;if((r.flags&Yr)!==be){dt(r);try{o_(t,r,n,a)}catch(l){nt(r,r.return,l)}qt()}if(r===e){le=null;return}var i=r.sibling;if(i!==null){i.return=r.return,le=i;return}le=r.return}}function o_(e,t,n,a){switch(t.tag){case g:case z:case se:{if(t.mode&Ke){Pv();try{si(on|Lt,t)}finally{Fv(t)}}else si(on|Lt,t);break}}}function l_(e){le=e,u_()}function u_(){for(;le!==null;){var e=le,t=e.child;if((le.flags&Oi)!==be){var n=e.deletions;if(n!==null){for(var a=0;a<n.length;a++){var r=n[a];le=r,f_(r,e)}{var i=e.alternate;if(i!==null){var l=i.child;if(l!==null){i.child=null;do{var c=l.sibling;l.sibling=null,l=c}while(l!==null)}}}le=e}}(e.subtreeFlags&wo)!==be&&t!==null?(t.return=e,le=t):s_()}}function s_(){for(;le!==null;){var e=le;(e.flags&Yr)!==be&&(dt(e),c_(e),qt());var t=e.sibling;if(t!==null){t.return=e.return,le=t;return}le=e.return}}function c_(e){switch(e.tag){case g:case z:case se:{e.mode&Ke?(Pv(),ja(on|Lt,e,e.return),Fv(e)):ja(on|Lt,e,e.return);break}}}function f_(e,t){for(;le!==null;){var n=le;dt(n),p_(n,t),qt();var a=n.child;a!==null?(a.return=n,le=a):d_(e)}}function d_(e){for(;le!==null;){var t=le,n=t.sibling,a=t.return;if(_E(t),t===e){le=null;return}if(n!==null){n.return=a,le=n;return}le=a}}function p_(e,t){switch(e.tag){case g:case z:case se:{e.mode&Ke?(Pv(),ja(on,e,t),Fv(e)):ja(on,e,t);break}}}function v_(e){switch(e.tag){case g:case z:case se:{try{si(At|Lt,e)}catch(n){nt(e,e.return,n)}break}case S:{var t=e.stateNode;try{t.componentDidMount()}catch(n){nt(e,e.return,n)}break}}}function m_(e){switch(e.tag){case g:case z:case se:{try{si(on|Lt,e)}catch(t){nt(e,e.return,t)}break}}}function h_(e){switch(e.tag){case g:case z:case se:{try{ja(At|Lt,e,e.return)}catch(n){nt(e,e.return,n)}break}case S:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Em(e,e.return,t);break}}}function y_(e){switch(e.tag){case g:case z:case se:try{ja(on|Lt,e,e.return)}catch(t){nt(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 g_=[];function b_(){g_.forEach(function(e){return e()})}var E_=f.ReactCurrentActQueue;function S_(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest<"u";return n&&t!==!1}}function jE(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&E_.current!==null&&s("The current testing environment is not configured to support act(...)"),e}}var C_=Math.ceil,Tm=f.ReactCurrentDispatcher,wm=f.ReactCurrentOwner,cn=f.ReactCurrentBatchConfig,Ha=f.ReactCurrentActQueue,jt=0,BE=1,fn=2,ha=4,Ar=0,Ju=1,to=2,Ef=3,Xu=4,VE=5,xm=6,je=jt,Ln=null,ht=null,Bt=Y,or=Y,Nm=ei(Y),Vt=Ar,Zu=null,Sf=Y,es=Y,Cf=Y,ts=null,In=null,_m=0,HE=500,FE=1/0,R_=500,Mr=null;function ns(){FE=Gt()+R_}function PE(){return FE}var Rf=!1,Dm=null,ol=null,no=!1,fi=null,as=Y,Um=[],km=null,T_=50,rs=0,Om=null,Lm=!1,Tf=!1,w_=50,ll=0,wf=null,is=ot,xf=Y,$E=!1;function Nf(){return Ln}function An(){return(je&(fn|ha))!==jt?Gt():(is!==ot||(is=Gt()),is)}function di(e){var t=e.mode;if((t&ze)===ye)return Ce;if((je&fn)!==jt&&Bt!==Y)return Jl(Bt);var n=E1()!==b1;if(n){if(cn.transition!==null){var a=cn.transition;a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e)}return xf===Qt&&(xf=Ty()),xf}var r=Da();if(r!==Qt)return r;var i=rx();return i}function x_(e){var t=e.mode;return(t&ze)===ye?Ce:_R()}function Ht(e,t,n,a){K_(),$E&&s("useInsertionEffect must not schedule updates."),Lm&&(Tf=!0),Xl(e,n,a),(je&fn)!==Y&&e===Ln?Z_(t):(_a&&Ny(e,t,n),eD(t),e===Ln&&((je&fn)===jt&&(es=_e(es,n)),Vt===Xu&&pi(e,Bt)),Yn(e,a),n===Ce&&je===jt&&(t.mode&ze)===ye&&!Ha.isBatchingLegacy&&(ns(),$g()))}function N_(e,t,n){var a=e.current;a.lanes=t,Xl(e,t,n),Yn(e,n)}function __(e){return(je&fn)!==jt}function Yn(e,t){var n=e.callbackNode;CR(e,t);var a=Gs(e,e===Ln?Bt:Y);if(a===Y){n!==null&&iS(n),e.callbackNode=null,e.callbackPriority=Qt;return}var r=Hi(a),i=e.callbackPriority;if(i===r&&!(Ha.current!==null&&n!==Hm)){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&&iS(n);var l;if(r===Ce)e.tag===ti?(Ha.isBatchingLegacy!==null&&(Ha.didScheduleLegacyUpdate=!0),n1(qE.bind(null,e))):Pg(qE.bind(null,e)),Ha.current!==null?Ha.current.push(ni):ox(function(){(je&(fn|ha))===jt&&ni()}),l=null;else{var c;switch(Uy(a)){case Xn:c=$s;break;case wr:c=Dd;break;case xr:c=ji;break;case Ks:c=Ud;break;default:c=ji;break}l=Fm(c,IE.bind(null,e))}e.callbackPriority=r,e.callbackNode=l}function IE(e,t){if(q1(),is=ot,xf=Y,(je&(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)&&!NR(e,r)&&!t,l=i?B_(e,r):Df(e,r);if(l!==Ar){if(l===to){var c=Xd(e);c!==Y&&(r=c,l=Am(e,c))}if(l===Ju){var d=Zu;throw ao(e,Y),pi(e,r),Yn(e,Gt()),d}if(l===xm)pi(e,r);else{var y=!Ws(e,r),b=e.current.alternate;if(y&&!U_(b)){if(l=Df(e,r),l===to){var x=Xd(e);x!==Y&&(r=x,l=Am(e,x))}if(l===Ju){var T=Zu;throw ao(e,Y),pi(e,r),Yn(e,Gt()),T}}e.finishedWork=b,e.finishedLanes=r,D_(e,l,r)}}return Yn(e,Gt()),e.callbackNode===n?IE.bind(null,e):null}function Am(e,t){var n=ts;if(Js(e)){var a=ao(e,t);a.flags|=Sr,Qx(e.containerInfo)}var r=Df(e,t);if(r!==to){var i=In;In=n,i!==null&&YE(i)}return r}function YE(e){In===null?In=e:In.push.apply(In,e)}function D_(e,t,n){switch(t){case Ar:case Ju:throw new Error("Root did not complete. This is a bug in React.");case to:{ro(e,In,Mr);break}case Ef:{if(pi(e,n),Cy(n)&&!oS()){var a=_m+HE-Gt();if(a>10){var r=Gs(e,Y);if(r!==Y)break;var i=e.suspendedLanes;if(!ko(i,n)){An(),xy(e,i);break}e.timeoutHandle=kp(ro.bind(null,e,In,Mr),a);break}}ro(e,In,Mr);break}case Xu:{if(pi(e,n),xR(n))break;if(!oS()){var l=ER(e,n),c=l,d=Gt()-c,y=Q_(d)-d;if(y>10){e.timeoutHandle=kp(ro.bind(null,e,In,Mr),y);break}}ro(e,In,Mr);break}case VE:{ro(e,In,Mr);break}default:throw new Error("Unknown root exit status.")}}function U_(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],l=i.getSnapshot,c=i.value;try{if(!ea(l(),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),UR(e,t)}function qE(e){if(G1(),(je&(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===to){var a=Xd(e);a!==Y&&(t=a,n=Am(e,a))}if(n===Ju){var r=Zu;throw ao(e,Y),pi(e,t),Yn(e,Gt()),r}if(n===xm)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,ro(e,In,Mr),Yn(e,Gt()),null}function k_(e,t){t!==Y&&(np(e,_e(t,Ce)),Yn(e,Gt()),(je&(fn|ha))===jt&&(ns(),ni()))}function Mm(e,t){var n=je;je|=BE;try{return e(t)}finally{je=n,je===jt&&!Ha.isBatchingLegacy&&(ns(),$g())}}function O_(e,t,n,a,r){var i=Da(),l=cn.transition;try{return cn.transition=null,Kt(Xn),e(t,n,a,r)}finally{Kt(i),cn.transition=l,je===jt&&ns()}}function zr(e){fi!==null&&fi.tag===ti&&(je&(fn|ha))===jt&&jr();var t=je;je|=BE;var n=cn.transition,a=Da();try{return cn.transition=null,Kt(Xn),e?e():void 0}finally{Kt(a),cn.transition=n,je=t,(je&(fn|ha))===jt&&ni()}}function GE(){return(je&(fn|ha))!==jt}function _f(e,t){bn(Nm,or,e),or=_e(or,t)}function zm(e){or=Nm.current,gn(Nm,e)}function ao(e,t){e.finishedWork=null,e.finishedLanes=Y;var n=e.timeoutHandle;if(n!==Op&&(e.timeoutHandle=Op,ix(n)),ht!==null)for(var a=ht.return;a!==null;){var r=a.alternate;CE(r,a),a=a.return}Ln=e;var i=io(e.current,null);return ht=i,Bt=or=t,Vt=Ar,Zu=null,Sf=Y,es=Y,Cf=Y,ts=null,In=null,N1(),Oa.discardPendingWarnings(),i}function WE(e,t){do{var n=ht;try{if(jc(),gb(),qt(),wm.current=null,n===null||n.return===null){Vt=Ju,Zu=t,ht=null;return}if(Tn&&n.mode&Ke&&pf(n,!0),Ea)if(No(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;uR(n,a,Bt)}else lR(n,t,Bt);nN(e,n.return,n,t,Bt),XE(n)}catch(r){t=r,ht===n&&n!==null?(n=n.return,ht=n):n=ht;continue}return}while(!0)}function QE(){var e=Tm.current;return Tm.current=uf,e===null?uf:e}function KE(e){Tm.current=e}function L_(){_m=Gt()}function os(e){Sf=_e(e,Sf)}function A_(){Vt===Ar&&(Vt=Ef)}function jm(){(Vt===Ar||Vt===Ef||Vt===to)&&(Vt=Xu),Ln!==null&&(Zd(Sf)||Zd(es))&&pi(Ln,Bt)}function M_(e){Vt!==Xu&&(Vt=to),ts===null?ts=[e]:ts.push(e)}function z_(){return Vt===Ar}function Df(e,t){var n=je;je|=fn;var a=QE();if(Ln!==e||Bt!==t){if(_a){var r=e.memoizedUpdaters;r.size>0&&(ls(e,Bt),r.clear()),_y(e,t)}Mr=Dy(),ao(e,t)}yy(t);do try{j_();break}catch(i){WE(e,i)}while(!0);if(jc(),je=n,KE(a),ht!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return gy(),Ln=null,Bt=Y,Vt}function j_(){for(;ht!==null;)JE(ht)}function B_(e,t){var n=je;je|=fn;var a=QE();if(Ln!==e||Bt!==t){if(_a){var r=e.memoizedUpdaters;r.size>0&&(ls(e,Bt),r.clear()),_y(e,t)}Mr=Dy(),ns(),ao(e,t)}yy(t);do try{V_();break}catch(i){WE(e,i)}while(!0);return jc(),KE(a),je=n,ht!==null?(pR(),Ar):(gy(),Ln=null,Bt=Y,Vt)}function V_(){for(;ht!==null&&!F0();)JE(ht)}function JE(e){var t=e.alternate;dt(e);var n;(e.mode&Ke)!==ye?(Hv(e),n=Bm(t,e,or),pf(e,!0)):n=Bm(t,e,or),qt(),e.memoizedProps=e.pendingProps,n===null?XE(e):ht=n,wm.current=null}function XE(e){var t=e;do{var n=t.alternate,a=t.return;if((t.flags&Ps)===be){dt(t);var r=void 0;if((t.mode&Ke)===ye?r=SE(n,t,or):(Hv(t),r=SE(n,t,or),pf(t,!1)),qt(),r!==null){ht=r;return}}else{var i=AN(n,t);if(i!==null){i.flags&=M0,ht=i;return}if((t.mode&Ke)!==ye){pf(t,!1);for(var l=t.actualDuration,c=t.child;c!==null;)l+=c.actualDuration,c=c.sibling;t.actualDuration=l}if(a!==null)a.flags|=Ps,a.subtreeFlags=be,a.deletions=null;else{Vt=xm,ht=null;return}}var d=t.sibling;if(d!==null){ht=d;return}t=a,ht=t}while(t!==null);Vt===Ar&&(Vt=VE)}function ro(e,t,n){var a=Da(),r=cn.transition;try{cn.transition=null,Kt(Xn),H_(e,t,n,a)}finally{cn.transition=r,Kt(a)}return null}function H_(e,t,n,a){do jr();while(fi!==null);if(J_(),(je&(fn|ha))!==jt)throw new Error("Should not already be working.");var r=e.finishedWork,i=e.finishedLanes;if(eR(i),r===null)return vy(),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 l=_e(r.lanes,r.childLanes);kR(e,l),e===Ln&&(Ln=null,ht=null,Bt=Y),((r.subtreeFlags&wo)!==be||(r.flags&wo)!==be)&&(no||(no=!0,km=n,Fm(ji,function(){return jr(),null})));var c=(r.subtreeFlags&(Nd|_d|Il|wo))!==be,d=(r.flags&(Nd|_d|Il|wo))!==be;if(c||d){var y=cn.transition;cn.transition=null;var b=Da();Kt(Xn);var x=je;je|=ha,wm.current=null,VN(e,r),$b(),ZN(e,r,i),Xw(e.containerInfo),e.current=r,sR(i),e_(r,e,i),cR(),P0(),je=x,Kt(b),cn.transition=y}else e.current=r,$b();var T=no;if(no?(no=!1,fi=e,as=i):(ll=0,wf=null),l=e.pendingLanes,l===Y&&(ol=null),T||nS(e.current,!1),Q0(r.stateNode,a),_a&&e.memoizedUpdaters.clear(),b_(),Yn(e,Gt()),t!==null)for(var L=e.onRecoverableError,M=0;M<t.length;M++){var V=t[M],ne=V.stack,ve=V.digest;L(V.value,{componentStack:ne,digest:ve})}if(Rf){Rf=!1;var ce=Dm;throw Dm=null,ce}return Jn(as,Ce)&&e.tag!==ti&&jr(),l=e.pendingLanes,Jn(l,Ce)?(Y1(),e===Om?rs++:(rs=0,Om=e)):rs=0,ni(),vy(),null}function jr(){if(fi!==null){var e=Uy(as),t=MR(xr,e),n=cn.transition,a=Da();try{return cn.transition=null,Kt(t),P_()}finally{Kt(a),cn.transition=n}}return!1}function F_(e){Um.push(e),no||(no=!0,Fm(ji,function(){return jr(),null}))}function P_(){if(fi===null)return!1;var e=km;km=null;var t=fi,n=as;if(fi=null,as=Y,(je&(fn|ha))!==jt)throw new Error("Cannot flush passive effects while already rendering.");Lm=!0,Tf=!1,fR(n);var a=je;je|=ha,l_(t.current),a_(t,t.current,n,e);{var r=Um;Um=[];for(var i=0;i<r.length;i++){var l=r[i];$N(t,l)}}dR(),nS(t.current,!0),je=a,ni(),Tf?t===wf?ll++:(ll=0,wf=t):ll=0,Lm=!1,Tf=!1,K0(t);{var c=t.current.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}return!0}function ZE(e){return ol!==null&&ol.has(e)}function $_(e){ol===null?ol=new Set([e]):ol.add(e)}function I_(e){Rf||(Rf=!0,Dm=e)}var Y_=I_;function eS(e,t,n){var a=Zi(n,t),r=Jb(e,a,Ce),i=ri(e,r,Ce),l=An();i!==null&&(Xl(i,Ce,l),Yn(i,l))}function nt(e,t,n){if(zN(n),us(!1),e.tag===N){eS(e,e,n);return}var a=null;for(a=t;a!==null;){if(a.tag===N){eS(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"&&!ZE(i)){var l=Zi(n,e),c=rm(a,l,Ce),d=ri(a,c,Ce),y=An();d!==null&&(Xl(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 q_(e,t,n){var a=e.pingCache;a!==null&&a.delete(t);var r=An();xy(e,n),tD(e),Ln===e&&ko(Bt,n)&&(Vt===Xu||Vt===Ef&&Cy(Bt)&&Gt()-_m<HE?ao(e,Y):Cf=_e(Cf,n)),Yn(e,r)}function tS(e,t){t===Qt&&(t=x_(e));var n=An(),a=Pn(e,t);a!==null&&(Xl(a,t,n),Yn(a,n))}function G_(e){var t=e.memoizedState,n=Qt;t!==null&&(n=t.retryLane),tS(e,n)}function W_(e,t){var n=Qt,a;switch(e.tag){case K:a=e.stateNode;var r=e.memoizedState;r!==null&&(n=r.retryLane);break;case et: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),tS(e,n)}function Q_(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:C_(e/1960)*1960}function K_(){if(rs>T_)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.");ll>w_&&(ll=0,wf=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 J_(){Oa.flushLegacyContextWarning(),Oa.flushPendingUnsafeLifecycleWarnings()}function nS(e,t){dt(e),Uf(e,qr,h_),t&&Uf(e,xd,y_),Uf(e,qr,v_),t&&Uf(e,xd,m_),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 aS(e){{if((je&fn)!==jt||!(e.mode&ze))return;var t=e.tag;if(t!==_&&t!==N&&t!==S&&t!==g&&t!==z&&t!==fe&&t!==se)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{dt(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?dt(e):qt()}}}var Bm;{var X_=null;Bm=function(e,t,n){var a=fS(X_,t);try{return hE(e,t,n)}catch(i){if(c1()||i!==null&&typeof i=="object"&&typeof i.then=="function")throw i;if(jc(),gb(),CE(e,t),fS(t,a),t.mode&Ke&&Hv(t),Ed(null,hE,null,e,t,n),O0()){var r=Sd();typeof r=="object"&&r!==null&&r._suppressLogging&&typeof i=="object"&&i!==null&&!i._suppressLogging&&(i._suppressLogging=!0)}throw i}}}var rS=!1,Vm;Vm=new Set;function Z_(e){if(_i&&!P1())switch(e.tag){case g:case z:case se:{var t=ht&&xe(ht)||"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:{rS||(s("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),rS=!0);break}}}function ls(e,t){if(_a){var n=e.memoizedUpdaters;n.forEach(function(a){Ny(e,a,t)})}}var Hm={};function Fm(e,t){{var n=Ha.current;return n!==null?(n.push(t),Hm):py(e,t)}}function iS(e){if(e!==Hm)return H0(e)}function oS(){return Ha.current!==null}function eD(e){{if(e.mode&ze){if(!jE())return}else if(!S_()||je!==jt||e.tag!==g&&e.tag!==z&&e.tag!==se)return;if(Ha.current===null){var t=_n;try{dt(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?dt(e):qt()}}}}function tD(e){e.tag!==ti&&jE()&&Ha.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){$E=e}var ya=null,ul=null,nD=function(e){ya=e};function sl(e){{if(ya===null)return e;var t=ya(e);return t===void 0?e:t.current}}function Pm(e){return sl(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=sl(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 lS(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 g:{(typeof a=="function"||i===he)&&(r=!0);break}case z:{(i===pe||i===he)&&(r=!0);break}case fe:case se:{(i===Ne||i===he)&&(r=!0);break}default:return!1}if(r){var l=ya(n);if(l!==void 0&&l===ya(a))return!0}return!1}}function uS(e){{if(ya===null||typeof WeakSet!="function")return;ul===null&&(ul=new WeakSet),ul.add(e)}}var aD=function(e,t){{if(ya===null)return;var n=t.staleFamilies,a=t.updatedFamilies;jr(),zr(function(){Im(e.current,a,n)})}},rD=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,l=e.tag,c=e.type,d=null;switch(l){case g:case se:case S:d=c;break;case z:d=c.render;break}if(ya===null)throw new Error("Expected resolveFamily to be set during hot reload.");var y=!1,b=!1;if(d!==null){var x=ya(d);x!==void 0&&(n.has(x)?b=!0:t.has(x)&&(l===S?b=!0:y=!0))}if(ul!==null&&(ul.has(e)||a!==null&&ul.has(a))&&(b=!0),b&&(e._debugNeedsRemount=!0),b||y){var T=Pn(e,Ce);T!==null&&Ht(T,e,Ce,ot)}r!==null&&!b&&Im(r,t,n),i!==null&&Im(i,t,n)}}var iD=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,l=e.type,c=null;switch(i){case g:case se:case S:c=l;break;case z:c=l.render;break}var d=!1;c!==null&&t.has(c)&&(d=!0),d?oD(e,n):a!==null&&Ym(a,t,n),r!==null&&Ym(r,t,n)}}function oD(e,t){{var n=lD(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 N:t.add(a.stateNode.containerInfo);return}if(a.return===null)throw new Error("Expected to reach root first.");a=a.return}}}function lD(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 sS=Object.preventExtensions({})}catch{qm=!0}}function uD(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 uD(e,t,n,a)};function Gm(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function sD(e){return typeof e=="function"&&!Gm(e)&&e.defaultProps===void 0}function cD(e){if(typeof e=="function")return Gm(e)?S:g;if(e!=null){var t=e.$$typeof;if(t===pe)return z;if(t===Ne)return fe}return _}function io(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 g:case se:n.type=sl(e.type);break;case S:n.type=Pm(e.type);break;case z:n.type=$m(e.type);break}return n}function fD(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 dD(e,t,n){var a;return e===Nc?(a=ze,t===!0&&(a|=Et,a|=Ka)):a=ye,_a&&(a|=Ke),na(N,null,null,a)}function Wm(e,t,n,a,r,i){var l=_,c=e;if(typeof e=="function")Gm(e)?(l=S,c=Pm(c)):c=sl(c);else if(typeof e=="string")l=O;else e:switch(e){case qa:return vi(n.children,r,i,t);case Ci:l=J,r|=Et,(r&ze)!==ye&&(r|=Ka);break;case R:return pD(n,r,i,t);case Ae:return vD(n,r,i,t);case Se:return mD(n,r,i,t);case st:return cS(n,r,i,t);case hn:case kt:case Ga:case wa:case ut:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case G:l=j;break e;case te:l=q;break e;case pe:l=z,c=$m(c);break e;case Ne:l=fe;break e;case he:l=Ge,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 b=na(l,n,t,r);return b.elementType=e,b.type=c,b.lanes=i,b._debugOwner=a,b}function Qm(e,t,n){var a=null;a=e._owner;var r=e.type,i=e.key,l=e.props,c=Wm(r,i,l,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 pD(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(I,e,a,t|Ke);return r.elementType=R,r.lanes=n,r.stateNode={effectDuration:0,passiveEffectDuration:0},r}function vD(e,t,n,a){var r=na(K,e,a,t);return r.elementType=Ae,r.lanes=n,r}function mD(e,t,n,a){var r=na(et,e,a,t);return r.elementType=Se,r.lanes=n,r}function cS(e,t,n,a){var r=na(me,e,a,t);r.elementType=st,r.lanes=n;var i={isHidden:!1};return r.stateNode=i,r}function Km(e,t,n){var a=na(P,e,null,t);return a.lanes=n,a}function hD(){var e=na(O,null,null,ye);return e.elementType="DELETED",e}function yD(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 fS(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 gD(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(ot),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=[],l=0;l<Od;l++)i.push(new Set)}switch(t){case Nc:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case ti:this._debugRootType=n?"hydrate()":"render()";break}}function dS(e,t,n,a,r,i,l,c,d,y){var b=new gD(e,t,n,c,d),x=dD(t,i);b.current=x,x.stateNode=b;{var T={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};x.memoizedState=T}return cv(x),b}var Xm="18.3.1";function bD(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return la(a),{$$typeof:Qn,key:a==null?null:""+a,children:e,containerInfo:t,implementation:n}}var Zm,eh;Zm=!1,eh={};function pS(e){if(!e)return ta;var t=Co(e),n=t1(t);if(t.tag===S){var a=t.type;if(Za(a))return Hg(t,a,n)}return n}function ED(e,t){{var n=Co(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=cy(n);if(r===null)return null;if(r.mode&Et){var i=xe(n)||"Component";if(!eh[i]){eh[i]=!0;var l=_n;try{dt(r),n.mode&Et?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{l?dt(l):qt()}}}return r.stateNode}}function vS(e,t,n,a,r,i,l,c){var d=!1,y=null;return dS(e,t,d,y,n,a,r,i,l)}function mS(e,t,n,a,r,i,l,c,d,y){var b=!0,x=dS(n,a,b,e,r,i,l,c,d);x.context=pS(null);var T=x.current,L=An(),M=di(T),V=Or(L,M);return V.callback=t??null,ri(T,V,M),N_(x,M,L),x}function ss(e,t,n,a){W0(t,e);var r=t.current,i=An(),l=di(r);vR(l);var c=pS(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,l);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,l);return y!==null&&(Ht(y,r,l,i),Pc(y,r,l)),l}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 SD(e){switch(e.tag){case N:{var t=e.stateNode;if(Js(t)){var n=RR(t);k_(t,n)}break}case K:{zr(function(){var r=Pn(e,Ce);if(r!==null){var i=An();Ht(r,e,Ce,i)}});var a=Ce;th(e,a);break}}}function hS(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=DR(n.retryLane,t))}function th(e,t){hS(e,t);var n=e.alternate;n&&hS(n,t)}function CD(e){if(e.tag===K){var t=Wl,n=Pn(e,t);if(n!==null){var a=An();Ht(n,e,t,a)}th(e,t)}}function RD(e){if(e.tag===K){var t=di(e),n=Pn(e,t);if(n!==null){var a=An();Ht(n,e,t,a)}th(e,t)}}function yS(e){var t=V0(e);return t===null?null:t.stateNode}var gS=function(e){return null};function TD(e){return gS(e)}var bS=function(e){return!1};function wD(e){return bS(e)}var ES=null,SS=null,CS=null,RS=null,TS=null,wS=null,xS=null,NS=null,_S=null;{var DS=function(e,t,n){var a=t[n],r=Oe(e)?e.slice():ke({},e);return n+1===t.length?(Oe(r)?r.splice(a,1):delete r[a],r):(r[a]=DS(e[a],t,n+1),r)},US=function(e,t){return DS(e,t,0)},kS=function(e,t,n,a){var r=t[a],i=Oe(e)?e.slice():ke({},e);if(a+1===t.length){var l=n[a];i[l]=i[r],Oe(i)?i.splice(r,1):delete i[r]}else i[r]=kS(e[r],t,n,a+1);return i},OS=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 kS(e,t,n,0)},LS=function(e,t,n,a){if(n>=t.length)return a;var r=t[n],i=Oe(e)?e.slice():ke({},e);return i[r]=LS(e[r],t,n+1,a),i},AS=function(e,t,n){return LS(e,t,0,n)},nh=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};ES=function(e,t,n,a){var r=nh(e,t);if(r!==null){var i=AS(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=ke({},e.memoizedProps);var l=Pn(e,Ce);l!==null&&Ht(l,e,Ce,ot)}},SS=function(e,t,n){var a=nh(e,t);if(a!==null){var r=US(a.memoizedState,n);a.memoizedState=r,a.baseState=r,e.memoizedProps=ke({},e.memoizedProps);var i=Pn(e,Ce);i!==null&&Ht(i,e,Ce,ot)}},CS=function(e,t,n,a){var r=nh(e,t);if(r!==null){var i=OS(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=ke({},e.memoizedProps);var l=Pn(e,Ce);l!==null&&Ht(l,e,Ce,ot)}},RS=function(e,t,n){e.pendingProps=AS(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Pn(e,Ce);a!==null&&Ht(a,e,Ce,ot)},TS=function(e,t){e.pendingProps=US(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=Pn(e,Ce);n!==null&&Ht(n,e,Ce,ot)},wS=function(e,t,n){e.pendingProps=OS(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Pn(e,Ce);a!==null&&Ht(a,e,Ce,ot)},xS=function(e){var t=Pn(e,Ce);t!==null&&Ht(t,e,Ce,ot)},NS=function(e){gS=e},_S=function(e){bS=e}}function xD(e){var t=cy(e);return t===null?null:t.stateNode}function ND(e){return null}function _D(){return _n}function DD(e){var t=e.findFiberByHostInstance,n=f.ReactCurrentDispatcher;return G0({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:ES,overrideHookStateDeletePath:SS,overrideHookStateRenamePath:CS,overrideProps:RS,overridePropsDeletePath:TS,overridePropsRenamePath:wS,setErrorHandler:NS,setSuspenseHandler:_S,scheduleUpdate:xS,currentDispatcherRef:n,findHostInstanceByFiber:xD,findFiberByHostInstance:t||ND,findHostInstancesForRefresh:iD,scheduleRefresh:aD,scheduleRoot:rD,setRefreshHandler:nD,getCurrentFiber:_D,reconcilerVersion:Xm})}var MS=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!==wt){var a=yS(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;GE()&&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)}),Mg(t)}};function UD(e,t){if(!Af(e))throw new Error("createRoot(...): Target container is not a DOM element.");zS(e);var n=!1,a=!1,r="",i=MS;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 l=vS(e,Nc,null,n,a,r,i);Ec(l.current,e);var c=e.nodeType===wt?e.parentNode:e;return mu(c),new ah(l)}function Lf(e){this._internalRoot=e}function kD(e){e&&qR(e)}Lf.prototype.unstable_scheduleHydration=kD;function OD(e,t,n){if(!Af(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");zS(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,l=!1,c="",d=MS;n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(c=n.identifierPrefix),n.onRecoverableError!==void 0&&(d=n.onRecoverableError));var y=mS(t,null,e,Nc,a,i,l,c,d);if(Ec(y.current,e),mu(e),r)for(var b=0;b<r.length;b++){var x=r[b];z1(y,x)}return new Lf(y)}function Af(e){return!!(e&&(e.nodeType===Hn||e.nodeType===Er||e.nodeType===sd))}function cs(e){return!!(e&&(e.nodeType===Hn||e.nodeType===Er||e.nodeType===sd||e.nodeType===wt&&e.nodeValue===" react-mount-point-unstable "))}function zS(e){e.nodeType===Hn&&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."),xu(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 LD=f.ReactCurrentOwner,jS;jS=function(e){if(e._reactRootContainer&&e.nodeType!==wt){var t=yS(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===Hn&&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 BS(){}function AD(e,t,n,a,r){if(r){if(typeof a=="function"){var i=a;a=function(){var T=Of(l);i.call(T)}}var l=mS(t,a,e,ti,null,!1,!1,"",BS);e._reactRootContainer=l,Ec(l.current,e);var c=e.nodeType===wt?e.parentNode:e;return mu(c),zr(),l}else{for(var d;d=e.lastChild;)e.removeChild(d);if(typeof a=="function"){var y=a;a=function(){var T=Of(b);y.call(T)}}var b=vS(e,ti,null,!1,!1,"",BS);e._reactRootContainer=b,Ec(b.current,e);var x=e.nodeType===wt?e.parentNode:e;return mu(x),zr(function(){ss(t,b,n,a)}),b}}function MD(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){jS(n),MD(r===void 0?null:r,"render");var i=n._reactRootContainer,l;if(!i)l=AD(n,t,e,r,a);else{if(l=i,typeof r=="function"){var c=r;r=function(){var d=Of(l);c.call(d)}}ss(t,l,e,r)}return Of(l)}var VS=!1;function zD(e){{VS||(VS=!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=LD.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.",$e(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Hn?e:ED(e,"findDOMNode")}function jD(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=xu(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 BD(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=xu(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 VD(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||!L0(e))throw new Error("parentComponent must be a valid React Component");return Mf(e,t,n,!1,a)}var HS=!1;function HD(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=xu(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,Mg(e)})}),!0}else{{var r=rh(e),i=!!(r&&Zr(r)),l=e.nodeType===Hn&&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",l?"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}}zR(SD),BR(CD),VR(RD),HR(Da),FR(LR),(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"),C0(Pw),w0(Mm,O_,zr);function FD(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 bD(e,t,null,n)}function PD(e,t,n,a){return VD(e,t,n,a)}var ih={usingClientEntryPoint:!1,Events:[Zr,Ho,Sc,Jh,Xh,Mm]};function $D(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".'),UD(e,t)}function ID(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".'),OD(e,t,n)}function YD(e){return GE()&&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 qD=DD({findFiberByHostInstance:Ii,bundleType:1,version:Xm,rendererPackageName:"react-dom"});if(!qD&&tn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var FS=window.location.protocol;/^(https?|file):$/.test(FS)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(FS==="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=FD,ra.createRoot=$D,ra.findDOMNode=zD,ra.flushSync=YD,ra.hydrate=jD,ra.hydrateRoot=ID,ra.render=BD,ra.unmountComponentAtNode=HD,ra.unstable_batchedUpdates=Mm,ra.unstable_renderSubtreeIntoContainer=PD,ra.version=Xm,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();rC.exports=ra;var eU=rC.exports,oh=eU;{var zf=oh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;mh.createRoot=function(o,u){zf.usingClientEntryPoint=!0;try{return oh.createRoot(o,u)}finally{zf.usingClientEntryPoint=!1}},mh.hydrateRoot=function(o,u,f){zf.usingClientEntryPoint=!0;try{return oh.hydrateRoot(o,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(o){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var p in f)({}).hasOwnProperty.call(f,p)&&(o[p]=f[p])}return o},vs.apply(null,arguments)}var hi;(function(o){o.Pop="POP",o.Push="PUSH",o.Replace="REPLACE"})(hi||(hi={}));const PS="popstate";function tU(o){o===void 0&&(o={});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 aU(u,f,null,o)}function yt(o,u){if(o===!1||o===null||typeof o>"u")throw new Error(u)}function Pa(o,u){if(!o){typeof console<"u"&&console.warn(u);try{throw new Error(u)}catch{}}}function nU(){return Math.random().toString(36).substr(2,8)}function $S(o,u){return{usr:o.state,key:o.key,idx:u}}function hh(o,u,f,p){return f===void 0&&(f=null),vs({pathname:typeof o=="string"?o:o.pathname,search:"",hash:""},typeof u=="string"?bl(u):u,{state:f,key:u&&u.key||p||nU()})}function ms(o){let{pathname:u="/",search:f="",hash:p=""}=o;return f&&f!=="?"&&(u+=f.charAt(0)==="?"?f:"?"+f),p&&p!=="#"&&(u+=p.charAt(0)==="#"?p:"#"+p),u}function bl(o){let u={};if(o){let f=o.indexOf("#");f>=0&&(u.hash=o.substr(f),o=o.substr(0,f));let p=o.indexOf("?");p>=0&&(u.search=o.substr(p),o=o.substr(0,p)),o&&(u.pathname=o)}return u}function aU(o,u,f,p){p===void 0&&(p={});let{window:v=document.defaultView,v5Compat:h=!1}=p,s=v.history,E=hi.Pop,g=null,S=_();S==null&&(S=0,s.replaceState(vs({},s.state,{idx:S}),""));function _(){return(s.state||{idx:null}).idx}function N(){E=hi.Pop;let J=_(),q=J==null?null:J-S;S=J,g&&g({action:E,location:Q.location,delta:q})}function w(J,q){E=hi.Push;let j=hh(Q.location,J,q);S=_()+1;let z=$S(j,S),I=Q.createHref(j);try{s.pushState(z,"",I)}catch(K){if(K instanceof DOMException&&K.name==="DataCloneError")throw K;v.location.assign(I)}h&&g&&g({action:E,location:Q.location,delta:1})}function O(J,q){E=hi.Replace;let j=hh(Q.location,J,q);S=_();let z=$S(j,S),I=Q.createHref(j);s.replaceState(z,"",I),h&&g&&g({action:E,location:Q.location,delta:0})}function P(J){let q=v.location.origin!=="null"?v.location.origin:v.location.href,j=typeof J=="string"?J:ms(J);return j=j.replace(/ $/,"%20"),yt(q,"No window.location.(origin|href) available to create URL for href: "+j),new URL(j,q)}let Q={get action(){return E},get location(){return o(v,s)},listen(J){if(g)throw new Error("A history only accepts one active listener");return v.addEventListener(PS,N),g=J,()=>{v.removeEventListener(PS,N),g=null}},createHref(J){return u(v,J)},createURL:P,encodeLocation(J){let q=P(J);return{pathname:q.pathname,search:q.search,hash:q.hash}},push:w,replace:O,go(J){return s.go(J)}};return Q}var IS;(function(o){o.data="data",o.deferred="deferred",o.redirect="redirect",o.error="error"})(IS||(IS={}));function rU(o,u,f){return f===void 0&&(f="/"),iU(o,u,f)}function iU(o,u,f,p){let v=typeof u=="string"?bl(u):u,h=gi(v.pathname||"/",f);if(h==null)return null;let s=lC(o);oU(s);let E=null,g=yU(h);for(let S=0;E==null&&S<s.length;++S)E=mU(s[S],g);return E}function lC(o,u,f,p){u===void 0&&(u=[]),f===void 0&&(f=[]),p===void 0&&(p="");let v=(h,s,E)=>{let g={relativePath:E===void 0?h.path||"":E,caseSensitive:h.caseSensitive===!0,childrenIndex:s,route:h};g.relativePath.startsWith("/")&&(yt(g.relativePath.startsWith(p),'Absolute route path "'+g.relativePath+'" nested under path '+('"'+p+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),g.relativePath=g.relativePath.slice(p.length));let S=Vr([p,g.relativePath]),_=f.concat(g);h.children&&h.children.length>0&&(yt(h.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+S+'".')),lC(h.children,u,_,S)),!(h.path==null&&!h.index)&&u.push({path:S,score:pU(S,h.index),routesMeta:_})};return o.forEach((h,s)=>{var E;if(h.path===""||!((E=h.path)!=null&&E.includes("?")))v(h,s);else for(let g of uC(h.path))v(h,s,g)}),u}function uC(o){let u=o.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=uC(p.join("/")),E=[];return E.push(...s.map(g=>g===""?h:[h,g].join("/"))),v&&E.push(...s),E.map(g=>o.startsWith("/")&&g===""?"/":g)}function oU(o){o.sort((u,f)=>u.score!==f.score?f.score-u.score:vU(u.routesMeta.map(p=>p.childrenIndex),f.routesMeta.map(p=>p.childrenIndex)))}const lU=/^:[\w-]+$/,uU=3,sU=2,cU=1,fU=10,dU=-2,YS=o=>o==="*";function pU(o,u){let f=o.split("/"),p=f.length;return f.some(YS)&&(p+=dU),u&&(p+=sU),f.filter(v=>!YS(v)).reduce((v,h)=>v+(lU.test(h)?uU:h===""?cU:fU),p)}function vU(o,u){return o.length===u.length&&o.slice(0,-1).every((p,v)=>p===u[v])?o[o.length-1]-u[u.length-1]:0}function mU(o,u,f){let{routesMeta:p}=o,v={},h="/",s=[];for(let E=0;E<p.length;++E){let g=p[E],S=E===p.length-1,_=h==="/"?u:u.slice(h.length)||"/",N=yh({path:g.relativePath,caseSensitive:g.caseSensitive,end:S},_),w=g.route;if(!N)return null;Object.assign(v,N.params),s.push({params:v,pathname:Vr([h,N.pathname]),pathnameBase:CU(Vr([h,N.pathnameBase])),route:w}),N.pathnameBase!=="/"&&(h=Vr([h,N.pathnameBase]))}return s}function yh(o,u){typeof o=="string"&&(o={path:o,caseSensitive:!1,end:!0});let[f,p]=hU(o.path,o.caseSensitive,o.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,_,N)=>{let{paramName:w,isOptional:O}=_;if(w==="*"){let Q=E[N]||"";s=h.slice(0,h.length-Q.length).replace(/(.)\/+$/,"$1")}const P=E[N];return O&&!P?S[w]=void 0:S[w]=(P||"").replace(/%2F/g,"/"),S},{}),pathname:h,pathnameBase:s,pattern:o}}function hU(o,u,f){u===void 0&&(u=!1),f===void 0&&(f=!0),Pa(o==="*"||!o.endsWith("*")||o.endsWith("/*"),'Route path "'+o+'" will be treated as if it were '+('"'+o.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+o.replace(/\*$/,"/*")+'".'));let p=[],v="^"+o.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,E,g)=>(p.push({paramName:E,isOptional:g!=null}),g?"/?([^\\/]+)?":"/([^\\/]+)"));return o.endsWith("*")?(p.push({paramName:"*"}),v+=o==="*"||o==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):f?v+="\\/*$":o!==""&&o!=="/"&&(v+="(?:(?=\\/|$))"),[new RegExp(v,u?void 0:"i"),p]}function yU(o){try{return o.split("/").map(u=>decodeURIComponent(u).replace(/\//g,"%2F")).join("/")}catch(u){return Pa(!1,'The URL path "'+o+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+u+").")),o}}function gi(o,u){if(u==="/")return o;if(!o.toLowerCase().startsWith(u.toLowerCase()))return null;let f=u.endsWith("/")?u.length-1:u.length,p=o.charAt(f);return p&&p!=="/"?null:o.slice(f)||"/"}const gU=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,bU=o=>gU.test(o);function EU(o,u){u===void 0&&(u="/");let{pathname:f,search:p="",hash:v=""}=typeof o=="string"?bl(o):o,h;if(f)if(bU(f))h=f;else{if(f.includes("//")){let s=f;f=fC(f),Pa(!1,"Pathnames cannot have embedded double slashes - normalizing "+(s+" -> "+f))}f.startsWith("/")?h=qS(f.substring(1),"/"):h=qS(f,u)}else h=u;return{pathname:h,search:RU(p),hash:TU(v)}}function qS(o,u){let f=u.replace(/\/+$/,"").split("/");return o.split("/").forEach(v=>{v===".."?f.length>1&&f.pop():v!=="."&&f.push(v)}),f.length>1?f.join("/"):"/"}function lh(o,u,f,p){return"Cannot include a '"+o+"' 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 SU(o){return o.filter((u,f)=>f===0||u.route.path&&u.route.path.length>0)}function sC(o,u){let f=SU(o);return u?f.map((p,v)=>v===f.length-1?p.pathname:p.pathnameBase):f.map(p=>p.pathnameBase)}function cC(o,u,f,p){p===void 0&&(p=!1);let v;typeof o=="string"?v=bl(o):(v=vs({},o),yt(!v.pathname||!v.pathname.includes("?"),lh("?","pathname","search",v)),yt(!v.pathname||!v.pathname.includes("#"),lh("#","pathname","hash",v)),yt(!v.search||!v.search.includes("#"),lh("#","search","hash",v)));let h=o===""||v.pathname==="",s=h?"/":v.pathname,E;if(s==null)E=f;else{let N=u.length-1;if(!p&&s.startsWith("..")){let w=s.split("/");for(;w[0]==="..";)w.shift(),N-=1;v.pathname=w.join("/")}E=N>=0?u[N]:"/"}let g=EU(v,E),S=s&&s!=="/"&&s.endsWith("/"),_=(h||s===".")&&f.endsWith("/");return!g.pathname.endsWith("/")&&(S||_)&&(g.pathname+="/"),g}const fC=o=>o.replace(/\/\/+/g,"/"),Vr=o=>fC(o.join("/")),CU=o=>o.replace(/\/+$/,"").replace(/^\/*/,"/"),RU=o=>!o||o==="?"?"":o.startsWith("?")?o:"?"+o,TU=o=>!o||o==="#"?"":o.startsWith("#")?o:"#"+o;function wU(o){return o!=null&&typeof o.status=="number"&&typeof o.statusText=="string"&&typeof o.internal=="boolean"&&"data"in o}const dC=["post","put","patch","delete"];new Set(dC);const xU=["get",...dC];new Set(xU);/**
- * 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(o){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var p in f)({}).hasOwnProperty.call(f,p)&&(o[p]=f[p])}return o},hs.apply(null,arguments)}const bs=F.createContext(null);bs.displayName="DataRouter";const Rh=F.createContext(null);Rh.displayName="DataRouterState";const NU=F.createContext(null);NU.displayName="Await";const $a=F.createContext(null);$a.displayName="Navigation";const Es=F.createContext(null);Es.displayName="Location";const sr=F.createContext({outlet:null,matches:[],isDataRoute:!1});sr.displayName="Route";const Th=F.createContext(null);Th.displayName="RouteError";function _U(o,u){let{relative:f}=u===void 0?{}:u;Ss()||yt(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:p,navigator:v}=F.useContext($a),{hash:h,pathname:s,search:E}=Cs(o,{relative:f}),g=s;return p!=="/"&&(g=s==="/"?p:Vr([p,s])),v.createHref({pathname:g,search:E,hash:h})}function Ss(){return F.useContext(Es)!=null}function oo(){return Ss()||yt(!1,"useLocation() may be used only in the context of a <Router> component."),F.useContext(Es).location}const pC="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function vC(o){F.useContext($a).static||F.useLayoutEffect(o)}function wh(){let{isDataRoute:o}=F.useContext(sr);return o?$U():DU()}function DU(){Ss()||yt(!1,"useNavigate() may be used only in the context of a <Router> component.");let o=F.useContext(bs),{basename:u,future:f,navigator:p}=F.useContext($a),{matches:v}=F.useContext(sr),{pathname:h}=oo(),s=JSON.stringify(sC(v,f.v7_relativeSplatPath)),E=F.useRef(!1);return vC(()=>{E.current=!0}),F.useCallback(function(S,_){if(_===void 0&&(_={}),Pa(E.current,pC),!E.current)return;if(typeof S=="number"){p.go(S);return}let N=cC(S,JSON.parse(s),h,_.relative==="path");o==null&&u!=="/"&&(N.pathname=N.pathname==="/"?u:Vr([u,N.pathname])),(_.replace?p.replace:p.push)(N,_.state,_)},[u,p,s,h,o])}function UU(){let{matches:o}=F.useContext(sr),u=o[o.length-1];return u?u.params:{}}function Cs(o,u){let{relative:f}=u===void 0?{}:u,{future:p}=F.useContext($a),{matches:v}=F.useContext(sr),{pathname:h}=oo(),s=JSON.stringify(sC(v,p.v7_relativeSplatPath));return F.useMemo(()=>cC(o,JSON.parse(s),h,f==="path"),[o,s,h,f])}function kU(o,u){return OU(o,u)}function OU(o,u,f,p){Ss()||yt(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:v}=F.useContext($a),{matches:h}=F.useContext(sr),s=h[h.length-1],E=s?s.params:{},g=s?s.pathname:"/",S=s?s.pathnameBase:"/",_=s&&s.route;{let j=_&&_.path||"";hC(g,!_||j.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+g+'" (under <Route path="'+j+'">) 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="'+j+'"> to <Route ')+('path="'+(j==="/"?"*":j+"/*")+'">.'))}let N=oo(),w;if(u){var O;let j=typeof u=="string"?bl(u):u;S==="/"||(O=j.pathname)!=null&&O.startsWith(S)||yt(!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 "'+j.pathname+'" was given in the `location` prop.')),w=j}else w=N;let P=w.pathname||"/",Q=P;if(S!=="/"){let j=S.replace(/^\//,"").split("/");Q="/"+P.replace(/^\//,"").split("/").slice(j.length).join("/")}let J=rU(o,{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=jU(J&&J.map(j=>Object.assign({},j,{params:Object.assign({},E,j.params),pathname:Vr([S,v.encodeLocation?v.encodeLocation(j.pathname).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?S:Vr([S,v.encodeLocation?v.encodeLocation(j.pathnameBase).pathname:j.pathnameBase])})),h,f,p);return u&&q?F.createElement(Es.Provider,{value:{location:hs({pathname:"/",search:"",hash:"",state:null,key:"default"},w),navigationType:hi.Pop}},q):q}function LU(){let o=PU(),u=wU(o)?o.status+" "+o.statusText:o instanceof Error?o.message:JSON.stringify(o),f=o instanceof Error?o.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:",o),s=F.createElement(F.Fragment,null,F.createElement("p",null,"💿 Hey developer 👋"),F.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",F.createElement("code",{style:h},"ErrorBoundary")," or"," ",F.createElement("code",{style:h},"errorElement")," prop on your route.")),F.createElement(F.Fragment,null,F.createElement("h2",null,"Unexpected Application Error!"),F.createElement("h3",{style:{fontStyle:"italic"}},u),f?F.createElement("pre",{style:v},f):null,s)}const AU=F.createElement(LU,null);class MU extends F.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?F.createElement(sr.Provider,{value:this.props.routeContext},F.createElement(Th.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function zU(o){let{routeContext:u,match:f,children:p}=o,v=F.useContext(bs);return v&&v.static&&v.staticContext&&(f.route.errorElement||f.route.ErrorBoundary)&&(v.staticContext._deepestRenderedBoundaryId=f.route.id),F.createElement(sr.Provider,{value:u},p)}function jU(o,u,f,p){var v;if(u===void 0&&(u=[]),f===void 0&&(f=null),p===void 0&&(p=null),o==null){var h;if(!f)return null;if(f.errors)o=f.matches;else if((h=p)!=null&&h.v7_partialHydration&&u.length===0&&!f.initialized&&f.matches.length>0)o=f.matches;else return null}let s=o,E=(v=f)==null?void 0:v.errors;if(E!=null){let _=s.findIndex(N=>N.route.id&&(E==null?void 0:E[N.route.id])!==void 0);_>=0||yt(!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 g=!1,S=-1;if(f&&p&&p.v7_partialHydration)for(let _=0;_<s.length;_++){let N=s[_];if((N.route.HydrateFallback||N.route.hydrateFallbackElement)&&(S=_),N.route.id){let{loaderData:w,errors:O}=f,P=N.route.loader&&w[N.route.id]===void 0&&(!O||O[N.route.id]===void 0);if(N.route.lazy||P){g=!0,S>=0?s=s.slice(0,S+1):s=[s[0]];break}}}return s.reduceRight((_,N,w)=>{let O,P=!1,Q=null,J=null;f&&(O=E&&N.route.id?E[N.route.id]:void 0,Q=N.route.errorElement||AU,g&&(S<0&&w===0?(hC("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),P=!0,J=null):S===w&&(P=!0,J=N.route.hydrateFallbackElement||null)));let q=u.concat(s.slice(0,w+1)),j=()=>{let z;return O?z=Q:P?z=J:N.route.Component?z=F.createElement(N.route.Component,null):N.route.element?z=N.route.element:z=_,F.createElement(zU,{match:N,routeContext:{outlet:_,matches:q,isDataRoute:f!=null},children:z})};return f&&(N.route.ErrorBoundary||N.route.errorElement||w===0)?F.createElement(MU,{location:f.location,revalidation:f.revalidation,component:Q,error:O,children:j(),routeContext:{outlet:null,matches:q,isDataRoute:!0}}):j()},null)}var mC=function(o){return o.UseBlocker="useBlocker",o.UseRevalidator="useRevalidator",o.UseNavigateStable="useNavigate",o}(mC||{}),ys=function(o){return o.UseBlocker="useBlocker",o.UseLoaderData="useLoaderData",o.UseActionData="useActionData",o.UseRouteError="useRouteError",o.UseNavigation="useNavigation",o.UseRouteLoaderData="useRouteLoaderData",o.UseMatches="useMatches",o.UseRevalidator="useRevalidator",o.UseNavigateStable="useNavigate",o.UseRouteId="useRouteId",o}(ys||{});function xh(o){return o+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function BU(o){let u=F.useContext(bs);return u||yt(!1,xh(o)),u}function VU(o){let u=F.useContext(Rh);return u||yt(!1,xh(o)),u}function HU(o){let u=F.useContext(sr);return u||yt(!1,xh(o)),u}function Nh(o){let u=HU(o),f=u.matches[u.matches.length-1];return f.route.id||yt(!1,o+' can only be used on routes that contain a unique "id"'),f.route.id}function FU(){return Nh(ys.UseRouteId)}function PU(){var o;let u=F.useContext(Th),f=VU(ys.UseRouteError),p=Nh(ys.UseRouteError);return u!==void 0?u:(o=f.errors)==null?void 0:o[p]}function $U(){let{router:o}=BU(mC.UseNavigateStable),u=Nh(ys.UseNavigateStable),f=F.useRef(!1);return vC(()=>{f.current=!0}),F.useCallback(function(v,h){h===void 0&&(h={}),Pa(f.current,pC),f.current&&(typeof v=="number"?o.navigate(v):o.navigate(v,hs({fromRouteId:u},h)))},[o,u])}const GS={};function hC(o,u,f){!u&&!GS[o]&&(GS[o]=!0,Pa(!1,f))}const WS={};function IU(o,u){WS[u]||(WS[u]=!0,console.warn(u))}const QS=(o,u,f)=>IU(o,"⚠️ React Router Future Flag Warning: "+u+". "+("You can use the `"+o+"` future flag to opt-in early. ")+("For more information, see "+f+"."));function YU(o,u){(o==null?void 0:o.v7_startTransition)===void 0&&QS("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(o==null?void 0:o.v7_relativeSplatPath)===void 0&&QS("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function Hf(o){yt(!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 qU(o){let{basename:u="/",children:f=null,location:p,navigationType:v=hi.Pop,navigator:h,static:s=!1,future:E}=o;Ss()&&yt(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let g=u.replace(/^\/*/,"/"),S=F.useMemo(()=>({basename:g,navigator:h,static:s,future:hs({v7_relativeSplatPath:!1},E)}),[g,E,h,s]);typeof p=="string"&&(p=bl(p));let{pathname:_="/",search:N="",hash:w="",state:O=null,key:P="default"}=p,Q=F.useMemo(()=>{let J=gi(_,g);return J==null?null:{location:{pathname:J,search:N,hash:w,state:O,key:P},navigationType:v}},[g,_,N,w,O,P,v]);return Pa(Q!=null,'<Router basename="'+g+'"> is not able to match the URL '+('"'+_+N+w+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),Q==null?null:F.createElement($a.Provider,{value:S},F.createElement(Es.Provider,{children:f,value:Q}))}function GU(o){let{children:u,location:f}=o;return kU(gh(u),f)}new Promise(()=>{});function gh(o,u){u===void 0&&(u=[]);let f=[];return F.Children.forEach(o,(p,v)=>{if(!F.isValidElement(p))return;let h=[...u,v];if(p.type===F.Fragment){f.push.apply(f,gh(p.props.children,h));return}p.type!==Hf&&yt(!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||yt(!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 pl(){return pl=Object.assign?Object.assign.bind():function(o){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var p in f)({}).hasOwnProperty.call(f,p)&&(o[p]=f[p])}return o},pl.apply(null,arguments)}function _h(o,u){if(o==null)return{};var f={};for(var p in o)if({}.hasOwnProperty.call(o,p)){if(u.indexOf(p)!==-1)continue;f[p]=o[p]}return f}const Ff="get",Pf="application/x-www-form-urlencoded";function Gf(o){return o!=null&&typeof o.tagName=="string"}function WU(o){return Gf(o)&&o.tagName.toLowerCase()==="button"}function QU(o){return Gf(o)&&o.tagName.toLowerCase()==="form"}function KU(o){return Gf(o)&&o.tagName.toLowerCase()==="input"}function JU(o){return!!(o.metaKey||o.altKey||o.ctrlKey||o.shiftKey)}function XU(o,u){return o.button===0&&(!u||u==="_self")&&!JU(o)}let jf=null;function ZU(){if(jf===null)try{new FormData(document.createElement("form"),0),jf=!1}catch{jf=!0}return jf}const ek=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function uh(o){return o!=null&&!ek.has(o)?(Pa(!1,'"'+o+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+Pf+'"')),null):o}function tk(o,u){let f,p,v,h,s;if(QU(o)){let E=o.getAttribute("action");p=E?gi(E,u):null,f=o.getAttribute("method")||Ff,v=uh(o.getAttribute("enctype"))||Pf,h=new FormData(o)}else if(WU(o)||KU(o)&&(o.type==="submit"||o.type==="image")){let E=o.form;if(E==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=o.getAttribute("formaction")||E.getAttribute("action");if(p=g?gi(g,u):null,f=o.getAttribute("formmethod")||E.getAttribute("method")||Ff,v=uh(o.getAttribute("formenctype"))||uh(E.getAttribute("enctype"))||Pf,h=new FormData(E,o),!ZU()){let{name:S,type:_,value:N}=o;if(_==="image"){let w=S?S+".":"";h.append(w+"x","0"),h.append(w+"y","0")}else S&&h.append(S,N)}}else{if(Gf(o))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');f=Ff,p=null,v=Pf,s=o}return h&&v==="text/plain"&&(s=h,h=void 0),{action:p,method:f.toLowerCase(),encType:v,formData:h,body:s}}const nk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ak=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],rk=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],ik="6";try{window.__reactRouterVersion=ik}catch{}const yC=F.createContext({isTransitioning:!1});yC.displayName="ViewTransition";const ok=F.createContext(new Map);ok.displayName="Fetchers";const lk="startTransition",KS=XD[lk];function uk(o){let{basename:u,children:f,future:p,window:v}=o,h=F.useRef();h.current==null&&(h.current=tU({window:v,v5Compat:!0}));let s=h.current,[E,g]=F.useState({action:s.action,location:s.location}),{v7_startTransition:S}=p||{},_=F.useCallback(N=>{S&&KS?KS(()=>g(N)):g(N)},[g,S]);return F.useLayoutEffect(()=>s.listen(_),[s,_]),F.useEffect(()=>YU(p),[p]),F.createElement(qU,{basename:u,children:f,location:E.location,navigationType:E.action,navigator:s,future:p})}const sk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ck=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vl=F.forwardRef(function(u,f){let{onClick:p,relative:v,reloadDocument:h,replace:s,state:E,target:g,to:S,preventScrollReset:_,viewTransition:N}=u,w=_h(u,nk),{basename:O}=F.useContext($a),P,Q=!1;if(typeof S=="string"&&ck.test(S)&&(P=S,sk))try{let z=new URL(window.location.href),I=S.startsWith("//")?new URL(z.protocol+S):new URL(S),K=gi(I.pathname,O);I.origin===z.origin&&K!=null?S=K+I.search+I.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=_U(S,{relative:v}),q=vk(S,{replace:s,state:E,target:g,preventScrollReset:_,relative:v,viewTransition:N});function j(z){p&&p(z),z.defaultPrevented||q(z)}return F.createElement("a",pl({},w,{href:P||J,onClick:Q||h?p:j,ref:f,target:g}))});vl.displayName="Link";const fk=F.forwardRef(function(u,f){let{"aria-current":p="page",caseSensitive:v=!1,className:h="",end:s=!1,style:E,to:g,viewTransition:S,children:_}=u,N=_h(u,ak),w=Cs(g,{relative:N.relative}),O=oo(),P=F.useContext(Rh),{navigator:Q,basename:J}=F.useContext($a),q=P!=null&&Ek(w)&&S===!0,j=Q.encodeLocation?Q.encodeLocation(w).pathname:w.pathname,z=O.pathname,I=P&&P.navigation&&P.navigation.location?P.navigation.location.pathname:null;v||(z=z.toLowerCase(),I=I?I.toLowerCase():null,j=j.toLowerCase()),I&&J&&(I=gi(I,J)||I);const K=j!=="/"&&j.endsWith("/")?j.length-1:j.length;let fe=z===j||!s&&z.startsWith(j)&&z.charAt(K)==="/",se=I!=null&&(I===j||!s&&I.startsWith(j)&&I.charAt(j.length)==="/"),Ge={isActive:fe,isPending:se,isTransitioning:q},Ve=fe?p:void 0,Pe;typeof h=="function"?Pe=h(Ge):Pe=[h,fe?"active":null,se?"pending":null,q?"transitioning":null].filter(Boolean).join(" ");let et=typeof E=="function"?E(Ge):E;return F.createElement(vl,pl({},N,{"aria-current":Ve,className:Pe,ref:f,style:et,to:g,viewTransition:S}),typeof _=="function"?_(Ge):_)});fk.displayName="NavLink";const dk=F.forwardRef((o,u)=>{let{fetcherKey:f,navigate:p,reloadDocument:v,replace:h,state:s,method:E=Ff,action:g,onSubmit:S,relative:_,preventScrollReset:N,viewTransition:w}=o,O=_h(o,rk),P=gk(),Q=bk(g,{relative:_}),J=E.toLowerCase()==="get"?"get":"post",q=j=>{if(S&&S(j),j.defaultPrevented)return;j.preventDefault();let z=j.nativeEvent.submitter,I=(z==null?void 0:z.getAttribute("formmethod"))||E;P(z||j.currentTarget,{fetcherKey:f,method:I,navigate:p,replace:h,state:s,relative:_,preventScrollReset:N,viewTransition:w})};return F.createElement("form",pl({ref:u,method:J,action:Q,onSubmit:v?S:q},O))});dk.displayName="Form";var If;(function(o){o.UseScrollRestoration="useScrollRestoration",o.UseSubmit="useSubmit",o.UseSubmitFetcher="useSubmitFetcher",o.UseFetcher="useFetcher",o.useViewTransitionState="useViewTransitionState"})(If||(If={}));var JS;(function(o){o.UseFetcher="useFetcher",o.UseFetchers="useFetchers",o.UseScrollRestoration="useScrollRestoration"})(JS||(JS={}));function pk(o){return o+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function gC(o){let u=F.useContext(bs);return u||yt(!1,pk(o)),u}function vk(o,u){let{target:f,replace:p,state:v,preventScrollReset:h,relative:s,viewTransition:E}=u===void 0?{}:u,g=wh(),S=oo(),_=Cs(o,{relative:s});return F.useCallback(N=>{if(XU(N,f)){N.preventDefault();let w=p!==void 0?p:ms(S)===ms(_);g(o,{replace:w,state:v,preventScrollReset:h,relative:s,viewTransition:E})}},[S,g,_,p,v,f,o,h,s,E])}function mk(){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 hk=0,yk=()=>"__"+String(++hk)+"__";function gk(){let{router:o}=gC(If.UseSubmit),{basename:u}=F.useContext($a),f=FU();return F.useCallback(function(p,v){v===void 0&&(v={}),mk();let{action:h,method:s,encType:E,formData:g,body:S}=tk(p,u);if(v.navigate===!1){let _=v.fetcherKey||yk();o.fetch(_,f,v.action||h,{preventScrollReset:v.preventScrollReset,formData:g,body:S,formMethod:v.method||s,formEncType:v.encType||E,flushSync:v.flushSync})}else o.navigate(v.action||h,{preventScrollReset:v.preventScrollReset,formData:g,body:S,formMethod:v.method||s,formEncType:v.encType||E,replace:v.replace,state:v.state,fromRouteId:f,flushSync:v.flushSync,viewTransition:v.viewTransition})},[o,u,f])}function bk(o,u){let{relative:f}=u===void 0?{}:u,{basename:p}=F.useContext($a),v=F.useContext(sr);v||yt(!1,"useFormAction must be used inside a RouteContext");let[h]=v.matches.slice(-1),s=pl({},Cs(o||".",{relative:f})),E=oo();if(o==null){s.search=E.search;let g=new URLSearchParams(s.search),S=g.getAll("index");if(S.some(N=>N==="")){g.delete("index"),S.filter(w=>w).forEach(w=>g.append("index",w));let N=g.toString();s.search=N?"?"+N:""}}return(!o||o===".")&&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 Ek(o,u){u===void 0&&(u={});let f=F.useContext(yC);f==null&&yt(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:p}=gC(If.useViewTransitionState),v=Cs(o,{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 Sk="_wrapper_divff_1",Ck="_header_divff_7",Rk="_headerInner_divff_19",Tk="_logo_divff_28",wk="_newBtn_divff_34",xk="_main_divff_48",fl={wrapper:Sk,header:Ck,headerInner:Rk,logo:Tk,newBtn:wk,main:xk};function Nk({children:o}){const f=oo().pathname==="/";return D.jsxDEV("div",{className:fl.wrapper,children:[D.jsxDEV("header",{className:fl.header,children:D.jsxDEV("div",{className:fl.headerInner,children:[D.jsxDEV(vl,{to:"/",className:fl.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&&D.jsxDEV(vl,{to:"/creatives/new",className:fl.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),D.jsxDEV("main",{className:fl.main,children:o},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 bC="/ads/api/v1".replace(/\/+$/,"");async function qn(o,u){var p;const f=await fetch(`${bC}${o}`,{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 Rn={getTemplates:()=>qn("/templates"),getTemplate:o=>qn(`/templates/${o}`),getCreatives:o=>{const u=o?"?"+new URLSearchParams(o).toString():"";return qn(`/creatives${u}`)},createCreative:o=>qn("/creatives",{method:"POST",body:JSON.stringify(o)}),getCreative:o=>qn(`/creatives/${o}`),updateCreative:(o,u)=>qn(`/creatives/${o}`,{method:"PATCH",body:JSON.stringify(u)}),deleteCreative:o=>qn(`/creatives/${o}`,{method:"DELETE"}),uploadAssets:(o,u)=>{const f=new FormData;return f.append("file",u),fetch(`${bC}/creatives/${o}/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:(o,u)=>qn(`/creatives/${o}/assets/upload`,{method:"POST",body:JSON.stringify({url:u})}),clearAssets:o=>qn(`/creatives/${o}/assets`,{method:"DELETE"}),startPreview:(o,u)=>qn(`/creatives/${o}/preview/start`,{method:"POST",body:u?JSON.stringify({theme:u}):void 0}),stopPreview:o=>qn(`/creatives/${o}/preview/stop`,{method:"POST"}),triggerBuild:(o,u)=>qn(`/creatives/${o}/builds`,{method:"POST",body:JSON.stringify(u)}),getBuilds:o=>qn(`/creatives/${o}/builds`),getBuildStatus:o=>qn(`/builds/${o}/status`)},_k="_grid_stzwd_1",Dk="_card_stzwd_7",Uk="_cardTitle_stzwd_21",kk="_cardMeta_stzwd_27",Ok="_status_stzwd_35",Lk="_cardTime_stzwd_39",Ak="_state_stzwd_44",Mk="_empty_stzwd_50",zk="_emptyTitle_stzwd_55",jk="_emptyDesc_stzwd_61",Bk="_emptyBtn_stzwd_66",ga={grid:_k,card:Dk,cardTitle:Uk,cardMeta:kk,status:Ok,cardTime:Lk,state:Ak,empty:Mk,emptyTitle:zk,emptyDesc:jk,emptyBtn:Bk};function Vk(){const[o,u]=F.useState([]),[f,p]=F.useState(!0),[v,h]=F.useState("");F.useEffect(()=>{Rn.getCreatives().then(g=>u(g.data)).catch(g=>h(g.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?D.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?D.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):o.length===0?D.jsxDEV("div",{className:ga.empty,children:[D.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),D.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),D.jsxDEV(vl,{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):D.jsxDEV("div",{className:ga.grid,children:o.map(g=>D.jsxDEV(vl,{to:`/creatives/${g.id}`,className:ga.card,children:[D.jsxDEV("h3",{className:ga.cardTitle,children:g.name},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:60,columnNumber:11},this),D.jsxDEV("div",{className:ga.cardMeta,children:[D.jsxDEV("span",{children:["模板:",g.templateName]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:62,columnNumber:13},this),D.jsxDEV("span",{className:ga.status,style:{color:E[g.status]},children:["● ",s[g.status]||g.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),D.jsxDEV("div",{className:ga.cardTime,children:["更新于 ",new Date(g.updatedAt).toLocaleString("zh-CN")]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/Dashboard.tsx",lineNumber:70,columnNumber:11},this)]},g.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 Hk="_container_3l872_1",Fk="_back_3l872_5",Pk="_title_3l872_14",$k="_form_3l872_20",Ik="_section_3l872_26",Yk="_label_3l872_32",qk="_input_3l872_38",Gk="_templateList_3l872_51",Wk="_templateCard_3l872_57",Qk="_selected_3l872_68",Kk="_templateInfo_3l872_77",Jk="_templateDesc_3l872_83",Xk="_templateMeta_3l872_88",Zk="_error_3l872_93",eO="_actions_3l872_98",tO="_cancelBtn_3l872_104",nO="_submitBtn_3l872_112",Ft={container:Hk,back:Fk,title:Pk,form:$k,section:Ik,label:Yk,input:qk,templateList:Gk,templateCard:Wk,selected:Qk,templateInfo:Kk,templateDesc:Jk,templateMeta:Xk,error:Zk,actions:eO,cancelBtn:tO,submitBtn:nO};function aO(){const o=wh(),[u,f]=F.useState([]),[p,v]=F.useState("coloring"),[h,s]=F.useState(""),[E,g]=F.useState(!1),[S,_]=F.useState("");F.useEffect(()=>{Rn.getTemplates().then(w=>{f(w.data),w.data.length>0&&v(w.data[0].id)}).catch(w=>_(w.message))},[]);async function N(w){if(w.preventDefault(),!!h.trim()){g(!0),_("");try{const O=await Rn.createCreative({name:h.trim(),templateId:p});o(`/creatives/${O.data.id}`)}catch(O){_(O.message)}finally{g(!1)}}}return D.jsxDEV("div",{className:Ft.container,children:[D.jsxDEV("button",{onClick:()=>o(-1),className:Ft.back,children:"← 返回"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:47,columnNumber:7},this),D.jsxDEV("h2",{className:Ft.title,children:"新建创意"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:51,columnNumber:7},this),D.jsxDEV("form",{onSubmit:N,className:Ft.form,children:[D.jsxDEV("div",{className:Ft.section,children:[D.jsxDEV("label",{className:Ft.label,children:"选择模板"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:55,columnNumber:11},this),D.jsxDEV("div",{className:Ft.templateList,children:u.map(w=>D.jsxDEV("label",{className:`${Ft.templateCard} ${p===w.id?Ft.selected:""}`,children:[D.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),D.jsxDEV("div",{className:Ft.templateInfo,children:[D.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),D.jsxDEV("span",{className:Ft.templateDesc,children:w.description},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:73,columnNumber:19},this),D.jsxDEV("span",{className:Ft.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),D.jsxDEV("div",{className:Ft.section,children:[D.jsxDEV("label",{className:Ft.label,htmlFor:"name",children:"创意名称"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:85,columnNumber:11},this),D.jsxDEV("input",{id:"name",type:"text",className:Ft.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&&D.jsxDEV("p",{className:Ft.error,children:S},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:100,columnNumber:19},this),D.jsxDEV("div",{className:Ft.actions,children:[D.jsxDEV("button",{type:"button",className:Ft.cancelBtn,onClick:()=>o(-1),children:"取消"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/NewCreative.tsx",lineNumber:103,columnNumber:11},this),D.jsxDEV("button",{type:"submit",className:Ft.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 rO="_wrapper_133gx_1",iO="_tabs_133gx_8",oO="_tab_133gx_8",lO="_tabActive_133gx_31",uO="_urlRow_133gx_37",sO="_urlInput_133gx_42",cO="_urlBtn_133gx_56",fO="_dropZone_133gx_72",dO="_fileInput_133gx_90",pO="_dropIcon_133gx_94",vO="_dropText_133gx_98",mO="_dropHint_133gx_103",hO="_fileList_133gx_108",yO="_fileListHeader_133gx_114",gO="_clearBtn_133gx_125",bO="_fileItem_133gx_132",EO="_thumb_133gx_140",SO="_fileOk_133gx_149",CO="_fileMissing_133gx_150",RO="_fileName_133gx_152",TO="_fileLabel_133gx_160",wO="_fileSize_133gx_166",xO="_warnings_133gx_171",NO="_error_133gx_184",_O="_hint_133gx_189",at={wrapper:rO,tabs:iO,tab:oO,tabActive:lO,urlRow:uO,urlInput:sO,urlBtn:cO,dropZone:fO,fileInput:dO,dropIcon:pO,dropText:vO,dropHint:mO,fileList:hO,fileListHeader:yO,clearBtn:gO,fileItem:bO,thumb:EO,fileOk:SO,fileMissing:CO,fileName:RO,fileLabel:TO,fileSize:wO,warnings:xO,error:NO,hint:_O},DO="/ads/api/v1".replace(/\/+$/,""),UO=new Set([".png",".jpg",".jpeg",".gif",".webp",".svg"]);function kO(o){const u=o.substring(o.lastIndexOf(".")).toLowerCase();return UO.has(u)}function OO({creativeId:o,assets:u,assetDefs:f,onUpdated:p}){const[v,h]=F.useState("file"),[s,E]=F.useState(!1),[g,S]=F.useState(""),[_,N]=F.useState(null),[w,O]=F.useState("");async function P(z){var K;const I=(K=z.target.files)==null?void 0:K[0];if(I){E(!0),O(""),N(null);try{const fe=await Rn.uploadAssets(o,I);N(fe.data),p()}catch(fe){O(fe.message)}finally{E(!1),z.target.value=""}}}async function Q(){if(g.trim()){E(!0),O(""),N(null);try{const z=await Rn.importFromUrl(o,g.trim());N(z.data),p()}catch(z){O(z.message)}finally{E(!1)}}}async function J(){if(confirm("确认清除所有素材?"))try{await Rn.clearAssets(o),N(null),S(""),p()}catch(z){O(z.message)}}const q=[...f.required,...f.optional],j=f.required.every(z=>u.some(I=>I.key===z.key));return D.jsxDEV("div",{className:at.wrapper,children:[D.jsxDEV("div",{className:at.tabs,children:[D.jsxDEV("button",{className:`${at.tab} ${v==="file"?at.tabActive:""}`,onClick:()=>h("file"),children:"上传 ZIP"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:96,columnNumber:9},this),D.jsxDEV("button",{className:`${at.tab} ${v==="url"?at.tabActive:""}`,onClick:()=>h("url"),children:"素材 URL"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:102,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:95,columnNumber:7},this),v==="file"&&D.jsxDEV("label",{className:at.dropZone,children:[D.jsxDEV("input",{type:"file",accept:".zip",onChange:P,disabled:s,className:at.fileInput},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:113,columnNumber:11},this),D.jsxDEV("span",{className:at.dropIcon,children:"📦"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:120,columnNumber:11},this),D.jsxDEV("span",{className:at.dropText,children:s?"解压中…":"拖拽或点击上传素材 zip"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:121,columnNumber:11},this),D.jsxDEV("span",{className:at.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:124,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:112,columnNumber:9},this),v==="url"&&D.jsxDEV("div",{className:at.urlRow,children:[D.jsxDEV("input",{type:"url",className:at.urlInput,placeholder:"https://color2.jccytech.cn/app/zh/pages/detail/6a15...",value:g,onChange:z=>S(z.target.value),disabled:s},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:133,columnNumber:11},this),D.jsxDEV("button",{onClick:Q,disabled:!g.trim()||s,className:at.urlBtn,children:s?"获取中…":"导入"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:141,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:132,columnNumber:9},this),_&&_.warnings.length>0&&D.jsxDEV("div",{className:at.warnings,children:_.warnings.map((z,I)=>D.jsxDEV("p",{children:["⚠️ ",z]},I,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:155,columnNumber:13},this))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:153,columnNumber:9},this),w&&D.jsxDEV("p",{className:at.error,children:w},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:160,columnNumber:17},this),u.length>0&&D.jsxDEV("div",{className:at.fileList,children:[D.jsxDEV("div",{className:at.fileListHeader,children:[D.jsxDEV("span",{children:["已上传文件 (",u.filter(z=>z.isRequired).length,"/",f.required.length," 必填)"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:166,columnNumber:13},this),D.jsxDEV("button",{onClick:J,className:at.clearBtn,children:"清除素材"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:169,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:165,columnNumber:11},this),q.map(z=>{const I=u.find(se=>se.key===z.key),K=f.required.some(se=>se.key===z.key),fe=I&&kO(z.file);return D.jsxDEV("div",{className:at.fileItem,children:[fe?D.jsxDEV("img",{className:at.thumb,src:`${DO}/creatives/${o}/assets/${z.key}`,alt:z.label},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:180,columnNumber:19},this):D.jsxDEV("span",{className:I?at.fileOk:at.fileMissing,children:I?"✅":K?"❌":"⬜"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:186,columnNumber:19},this),D.jsxDEV("span",{className:at.fileName,children:z.file},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:190,columnNumber:17},this),D.jsxDEV("span",{className:at.fileLabel,children:[z.label," ",!K&&"(选填)"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:191,columnNumber:17},this),I&&D.jsxDEV("span",{className:at.fileSize,children:[(I.fileSize/1024).toFixed(0)," KB"]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:195,columnNumber:19},this)]},z.key,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:178,columnNumber:15},this)})]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:164,columnNumber:9},this),!j&&u.length>0&&D.jsxDEV("p",{className:at.hint,children:"请上传包含所有必填文件的 zip 包"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:206,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/AssetUploader.tsx",lineNumber:93,columnNumber:5},this)}const LO="_wrapper_ymyhm_1",AO="_preview_ymyhm_7",MO="_stops_ymyhm_14",zO="_stopItem_ymyhm_20",jO="_colorPicker_ymyhm_26",BO="_stopLabel_ymyhm_45",VO="_rawInput_ymyhm_51",HO="_fallback_ymyhm_65",mi={wrapper:LO,preview:AO,stops:MO,stopItem:zO,colorPicker:jO,stopLabel:BO,rawInput:VO,fallback:HO};function FO(o){const u=o.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(),g=E.match(/^(.+?)\s+(\d+%)$/);g?v.push({color:g[1].trim(),position:g[2]}):v.push({color:E,position:""})}return{direction:f,stops:v}}function PO(o,u){const f=u.map(p=>p.position?`${p.color} ${p.position}`:p.color).join(", ");return`linear-gradient(${o}, ${f})`}function $O({value:o,onChange:u}){const f=F.useMemo(()=>FO(o),[o]);if(!f)return D.jsxDEV("input",{type:"text",value:o,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,g)=>g===v?{...E,color:h}:E);u(PO(f.direction,s))}return D.jsxDEV("div",{className:mi.wrapper,children:[D.jsxDEV("div",{className:mi.preview,style:{background:o},title:o},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/GradientEditor.tsx",lineNumber:75,columnNumber:7},this),D.jsxDEV("div",{className:mi.stops,children:f.stops.map((v,h)=>D.jsxDEV("div",{className:mi.stopItem,children:[D.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),D.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),D.jsxDEV("input",{type:"text",value:o,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 IO="_wrapper_1p2kt_1",YO="_empty_1p2kt_7",qO="_field_1p2kt_12",GO="_label_1p2kt_18",WO="_textInput_1p2kt_24",QO="_colorRow_1p2kt_36",KO="_colorInput_1p2kt_42",JO="_colorValue_1p2kt_51",XO="_saveBtn_1p2kt_57",ur={wrapper:IO,empty:YO,field:qO,label:GO,textInput:WO,colorRow:QO,colorInput:KO,colorValue:JO,saveBtn:XO};function ZO({creativeId:o,theme:u,themeProps:f,onUpdated:p}){const[v,h]=F.useState({}),[s,E]=F.useState(!1),[g,S]=F.useState(!1);if(F.useEffect(()=>{const w={};for(const O of f)w[O.key]=u[O.key]??O.default;h(w)},[u,f]),f.length===0)return D.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 N(){E(!0);try{await Rn.updateCreative(o,{theme:v}),S(!0),setTimeout(()=>S(!1),2e3),p()}catch{}finally{E(!1)}}return D.jsxDEV("div",{className:ur.wrapper,children:[f.map(w=>D.jsxDEV("div",{className:ur.field,children:[D.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"?D.jsxDEV("div",{className:ur.colorRow,children:[D.jsxDEV("input",{type:"color",value:v[w.key]||w.default,onChange:O=>h(P=>({...P,[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),D.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"?D.jsxDEV("input",{type:"text",value:v[w.key]||"",maxLength:w.maxLength,onChange:O=>h(P=>({...P,[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"?D.jsxDEV($O,{value:v[w.key]||w.default,onChange:O=>h(P=>({...P,[w.key]:O}))},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/ThemeEditor.tsx",lineNumber:82,columnNumber:13},this):D.jsxDEV("input",{type:"text",value:v[w.key]||w.default,onChange:O=>h(P=>({...P,[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)),D.jsxDEV("button",{onClick:N,disabled:!_||s,className:ur.saveBtn,children:s?"保存中…":g?"已保存 ✓":"保存主题"},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 eL="_wrapper_1olln_1",tL="_label_1olln_9",nL="_chip_1olln_16",aL="_on_1olln_29",rL="_checkbox_1olln_35",ds={wrapper:eL,label:tL,chip:nL,on:aL,checkbox:rL};function iL({platforms:o,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 D.jsxDEV("div",{className:ds.wrapper,children:[D.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),o.map(h=>D.jsxDEV("label",{className:`${ds.chip} ${p.has(h)?ds.on:""}`,children:[D.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 oL="_wrapper_ta51n_1",lL="_buildBtn_ta51n_8",uL="_spinner_ta51n_31",sL="_hint_ta51n_44",cL="_error_ta51n_49",fL="_success_ta51n_54",dl={wrapper:oL,buildBtn:lL,spinner:uL,hint:sL,error:cL,success:fL};function dL({creativeId:o,creativeStatus:u,selectedPlatforms:f,theme:p,themeProps:v,onBuildComplete:h}){const[s,E]=F.useState(!1),[g,S]=F.useState(null),[_,N]=F.useState(""),w=u==="assets_ready"||u==="built";async function O(){if(f.length===0){N("请至少选择一个目标平台");return}E(!0),N(""),S(null);try{const Q={};for(const j of v)Q[j.key]=p[j.key]??j.default;const q=(await Rn.triggerBuild(o,{platforms:f,theme:Q})).data.id;S(q),await P(q),h()}catch(Q){N(Q.message)}finally{E(!1)}}async function P(Q){return new Promise((J,q)=>{const j=setInterval(async()=>{try{const z=await Rn.getBuildStatus(Q);z.data.status==="completed"?(clearInterval(j),J()):z.data.status==="failed"&&(clearInterval(j),q(new Error(z.data.errorLog||"构建失败")))}catch(z){clearInterval(j),q(z)}},2e3);setTimeout(()=>{clearInterval(j),q(new Error("构建超时,请刷新查看状态"))},12e4)})}return D.jsxDEV("div",{className:dl.wrapper,children:[D.jsxDEV("button",{onClick:O,disabled:!w||s,className:dl.buildBtn,children:s?D.jsxDEV(D.Fragment,{children:[D.jsxDEV("span",{className:dl.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&&D.jsxDEV("p",{className:dl.hint,children:"请先上传素材后再构建"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:107,columnNumber:9},this),_&&D.jsxDEV("p",{className:dl.error,children:["构建失败:",_]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildPanel.tsx",lineNumber:110,columnNumber:22},this),g&&!s&&!_&&D.jsxDEV("p",{className:dl.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={},pL=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},EC={},ia={};let Dh;const vL=[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 vL[u]};ia.getBCHDigit=function(o){let u=0;for(;o!==0;)u++,o>>>=1;return u};ia.setToSJISFunction=function(u){if(typeof u!="function")throw new Error('"toSJISFunc" is not a valid function.');Dh=u};ia.isKanjiModeEnabled=function(){return typeof Dh<"u"};ia.toSJIS=function(u){return Dh(u)};var Wf={};(function(o){o.L={bit:1},o.M={bit:0},o.Q={bit:3},o.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 o.L;case"m":case"medium":return o.M;case"q":case"quartile":return o.Q;case"h":case"high":return o.H;default:throw new Error("Unknown EC Level: "+f)}}o.isValid=function(p){return p&&typeof p.bit<"u"&&p.bit>=0&&p.bit<4},o.from=function(p,v){if(o.isValid(p))return p;try{return u(p)}catch{return v}}})(Wf);function SC(){this.buffer=[],this.length=0}SC.prototype={get:function(o){const u=Math.floor(o/8);return(this.buffer[u]>>>7-o%8&1)===1},put:function(o,u){for(let f=0;f<u;f++)this.putBit((o>>>u-f-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(o){const u=Math.floor(this.length/8);this.buffer.length<=u&&this.buffer.push(0),o&&(this.buffer[u]|=128>>>this.length%8),this.length++}};var mL=SC;function Ts(o){if(!o||o<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=o,this.data=new Uint8Array(o*o),this.reservedBit=new Uint8Array(o*o)}Ts.prototype.set=function(o,u,f,p){const v=o*this.size+u;this.data[v]=f,p&&(this.reservedBit[v]=!0)};Ts.prototype.get=function(o,u){return this.data[o*this.size+u]};Ts.prototype.xor=function(o,u,f){this.data[o*this.size+u]^=f};Ts.prototype.isReserved=function(o,u){return this.reservedBit[o*this.size+u]};var hL=Ts,CC={};(function(o){const u=ia.getSymbolSize;o.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 g=1;g<v-1;g++)E[g]=E[g-1]-s;return E.push(6),E.reverse()},o.getPositions=function(p){const v=[],h=o.getRowColCoords(p),s=h.length;for(let E=0;E<s;E++)for(let g=0;g<s;g++)E===0&&g===0||E===0&&g===s-1||E===s-1&&g===0||v.push([h[E],h[g]]);return v}})(CC);var RC={};const yL=ia.getSymbolSize,XS=7;RC.getPositions=function(u){const f=yL(u);return[[0,0],[f-XS,0],[0,f-XS]]};var TC={};(function(o){o.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};o.isValid=function(v){return v!=null&&v!==""&&!isNaN(v)&&v>=0&&v<=7},o.from=function(v){return o.isValid(v)?parseInt(v,10):void 0},o.getPenaltyN1=function(v){const h=v.size;let s=0,E=0,g=0,S=null,_=null;for(let N=0;N<h;N++){E=g=0,S=_=null;for(let w=0;w<h;w++){let O=v.get(N,w);O===S?E++:(E>=5&&(s+=u.N1+(E-5)),S=O,E=1),O=v.get(w,N),O===_?g++:(g>=5&&(s+=u.N1+(g-5)),_=O,g=1)}E>=5&&(s+=u.N1+(E-5)),g>=5&&(s+=u.N1+(g-5))}return s},o.getPenaltyN2=function(v){const h=v.size;let s=0;for(let E=0;E<h-1;E++)for(let g=0;g<h-1;g++){const S=v.get(E,g)+v.get(E,g+1)+v.get(E+1,g)+v.get(E+1,g+1);(S===4||S===0)&&s++}return s*u.N2},o.getPenaltyN3=function(v){const h=v.size;let s=0,E=0,g=0;for(let S=0;S<h;S++){E=g=0;for(let _=0;_<h;_++)E=E<<1&2047|v.get(S,_),_>=10&&(E===1488||E===93)&&s++,g=g<<1&2047|v.get(_,S),_>=10&&(g===1488||g===93)&&s++}return s*u.N3},o.getPenaltyN4=function(v){let h=0;const s=v.data.length;for(let g=0;g<s;g++)h+=v.data[g];return Math.abs(Math.ceil(h*100/s/5)-10)*u.N4};function f(p,v,h){switch(p){case o.Patterns.PATTERN000:return(v+h)%2===0;case o.Patterns.PATTERN001:return v%2===0;case o.Patterns.PATTERN010:return h%3===0;case o.Patterns.PATTERN011:return(v+h)%3===0;case o.Patterns.PATTERN100:return(Math.floor(v/2)+Math.floor(h/3))%2===0;case o.Patterns.PATTERN101:return v*h%2+v*h%3===0;case o.Patterns.PATTERN110:return(v*h%2+v*h%3)%2===0;case o.Patterns.PATTERN111:return(v*h%3+(v+h)%2)%2===0;default:throw new Error("bad maskPattern:"+p)}}o.applyMask=function(v,h){const s=h.size;for(let E=0;E<s;E++)for(let g=0;g<s;g++)h.isReserved(g,E)||h.xor(g,E,f(v,g,E))},o.getBestMask=function(v,h){const s=Object.keys(o.Patterns).length;let E=0,g=1/0;for(let S=0;S<s;S++){h(S),o.applyMask(S,v);const _=o.getPenaltyN1(v)+o.getPenaltyN2(v)+o.getPenaltyN3(v)+o.getPenaltyN4(v);o.applyMask(S,v),_<g&&(g=_,E=S)}return E}})(TC);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 wC={},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(o){const u=Kf;o.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},o.mod=function(p,v){let h=new Uint8Array(p);for(;h.length-v.length>=0;){const s=h[0];for(let g=0;g<v.length;g++)h[g]^=u.mul(v[g],s);let E=0;for(;E<h.length&&h[E]===0;)E++;h=h.slice(E)}return h},o.generateECPolynomial=function(p){let v=new Uint8Array([1]);for(let h=0;h<p;h++)v=o.mul(v,new Uint8Array([1,u.exp(h)]));return v}})(wC);const xC=wC;function Uh(o){this.genPoly=void 0,this.degree=o,this.degree&&this.initialize(this.degree)}Uh.prototype.initialize=function(u){this.degree=u,this.genPoly=xC.generateECPolynomial(this.degree)};Uh.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=xC.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 gL=Uh,NC={},bi={},kh={};kh.isValid=function(u){return!isNaN(u)&&u>=1&&u<=40};var cr={};const _C="[0-9]+",bL="[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 EL="(?:(?![A-Z0-9 $%*+\\-./:]|"+gs+`)(?:.|[\r
- ]))+`;cr.KANJI=new RegExp(gs,"g");cr.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");cr.BYTE=new RegExp(EL,"g");cr.NUMERIC=new RegExp(_C,"g");cr.ALPHANUMERIC=new RegExp(bL,"g");const SL=new RegExp("^"+gs+"$"),CL=new RegExp("^"+_C+"$"),RL=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");cr.testKanji=function(u){return SL.test(u)};cr.testNumeric=function(u){return CL.test(u)};cr.testAlphanumeric=function(u){return RL.test(u)};(function(o){const u=kh,f=cr;o.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},o.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},o.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},o.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},o.MIXED={bit:-1},o.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]},o.getBestModeForData=function(h){return f.testNumeric(h)?o.NUMERIC:f.testAlphanumeric(h)?o.ALPHANUMERIC:f.testKanji(h)?o.KANJI:o.BYTE},o.toString=function(h){if(h&&h.id)return h.id;throw new Error("Invalid mode")},o.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 o.NUMERIC;case"alphanumeric":return o.ALPHANUMERIC;case"kanji":return o.KANJI;case"byte":return o.BYTE;default:throw new Error("Unknown mode: "+v)}}o.from=function(h,s){if(o.isValid(h))return h;try{return p(h)}catch{return s}}})(bi);(function(o){const u=ia,f=Qf,p=Wf,v=bi,h=kh,s=7973,E=u.getBCHDigit(s);function g(w,O,P){for(let Q=1;Q<=40;Q++)if(O<=o.getCapacity(Q,P,w))return Q}function S(w,O){return v.getCharCountIndicator(w,O)+4}function _(w,O){let P=0;return w.forEach(function(Q){const J=S(Q.mode,O);P+=J+Q.getBitsLength()}),P}function N(w,O){for(let P=1;P<=40;P++)if(_(w,P)<=o.getCapacity(P,O,v.MIXED))return P}o.from=function(O,P){return h.isValid(O)?parseInt(O,10):P},o.getCapacity=function(O,P,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,P),j=(J-q)*8;if(Q===v.MIXED)return j;const z=j-S(Q,O);switch(Q){case v.NUMERIC:return Math.floor(z/10*3);case v.ALPHANUMERIC:return Math.floor(z/11*2);case v.KANJI:return Math.floor(z/13);case v.BYTE:default:return Math.floor(z/8)}},o.getBestVersionForData=function(O,P){let Q;const J=p.from(P,p.M);if(Array.isArray(O)){if(O.length>1)return N(O,J);if(O.length===0)return 1;Q=O[0]}else Q=O;return g(Q.mode,Q.getLength(),J)},o.getEncodedBits=function(O){if(!h.isValid(O)||O<7)throw new Error("Invalid QR Code version");let P=O<<12;for(;u.getBCHDigit(P)-E>=0;)P^=s<<u.getBCHDigit(P)-E;return O<<12|P}})(NC);var DC={};const bh=ia,UC=1335,TL=21522,ZS=bh.getBCHDigit(UC);DC.getEncodedBits=function(u,f){const p=u.bit<<3|f;let v=p<<10;for(;bh.getBCHDigit(v)-ZS>=0;)v^=UC<<bh.getBCHDigit(v)-ZS;return(p<<10|v)^TL};var kC={};const wL=bi;function ml(o){this.mode=wL.NUMERIC,this.data=o.toString()}ml.getBitsLength=function(u){return 10*Math.floor(u/3)+(u%3?u%3*3+1:0)};ml.prototype.getLength=function(){return this.data.length};ml.prototype.getBitsLength=function(){return ml.getBitsLength(this.data.length)};ml.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 xL=ml;const NL=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 hl(o){this.mode=NL.ALPHANUMERIC,this.data=o}hl.getBitsLength=function(u){return 11*Math.floor(u/2)+6*(u%2)};hl.prototype.getLength=function(){return this.data.length};hl.prototype.getBitsLength=function(){return hl.getBitsLength(this.data.length)};hl.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 _L=hl;const DL=bi;function yl(o){this.mode=DL.BYTE,typeof o=="string"?this.data=new TextEncoder().encode(o):this.data=new Uint8Array(o)}yl.getBitsLength=function(u){return u*8};yl.prototype.getLength=function(){return this.data.length};yl.prototype.getBitsLength=function(){return yl.getBitsLength(this.data.length)};yl.prototype.write=function(o){for(let u=0,f=this.data.length;u<f;u++)o.put(this.data[u],8)};var UL=yl;const kL=bi,OL=ia;function gl(o){this.mode=kL.KANJI,this.data=o}gl.getBitsLength=function(u){return u*13};gl.prototype.getLength=function(){return this.data.length};gl.prototype.getBitsLength=function(){return gl.getBitsLength(this.data.length)};gl.prototype.write=function(o){let u;for(u=0;u<this.data.length;u++){let f=OL.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),o.put(f,13)}};var LL=gl,OC={exports:{}};(function(o){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 g,S,_,N,w,O,P,Q,J;!E.empty();){g=E.pop(),S=g.value,N=g.cost,w=f[S]||{};for(_ in w)w.hasOwnProperty(_)&&(O=w[_],P=N+O,Q=s[_],J=typeof s[_]>"u",(J||Q>P)&&(s[_]=P,E.push(_,P),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}}};o.exports=u})(OC);var AL=OC.exports;(function(o){const u=bi,f=xL,p=_L,v=UL,h=LL,s=cr,E=ia,g=AL;function S(q){return unescape(encodeURIComponent(q)).length}function _(q,j,z){const I=[];let K;for(;(K=q.exec(z))!==null;)I.push({data:K[0],index:K.index,mode:j,length:K[0].length});return I}function N(q){const j=_(s.NUMERIC,u.NUMERIC,q),z=_(s.ALPHANUMERIC,u.ALPHANUMERIC,q);let I,K;return E.isKanjiModeEnabled()?(I=_(s.BYTE,u.BYTE,q),K=_(s.KANJI,u.KANJI,q)):(I=_(s.BYTE_KANJI,u.BYTE,q),K=[]),j.concat(z,I,K).sort(function(se,Ge){return se.index-Ge.index}).map(function(se){return{data:se.data,mode:se.mode,length:se.length}})}function w(q,j){switch(j){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(j,z){const I=j.length-1>=0?j[j.length-1]:null;return I&&I.mode===z.mode?(j[j.length-1].data+=z.data,j):(j.push(z),j)},[])}function P(q){const j=[];for(let z=0;z<q.length;z++){const I=q[z];switch(I.mode){case u.NUMERIC:j.push([I,{data:I.data,mode:u.ALPHANUMERIC,length:I.length},{data:I.data,mode:u.BYTE,length:I.length}]);break;case u.ALPHANUMERIC:j.push([I,{data:I.data,mode:u.BYTE,length:I.length}]);break;case u.KANJI:j.push([I,{data:I.data,mode:u.BYTE,length:S(I.data)}]);break;case u.BYTE:j.push([{data:I.data,mode:u.BYTE,length:S(I.data)}])}}return j}function Q(q,j){const z={},I={start:{}};let K=["start"];for(let fe=0;fe<q.length;fe++){const se=q[fe],Ge=[];for(let Ve=0;Ve<se.length;Ve++){const Pe=se[Ve],et=""+fe+Ve;Ge.push(et),z[et]={node:Pe,lastCount:0},I[et]={};for(let Ze=0;Ze<K.length;Ze++){const me=K[Ze];z[me]&&z[me].node.mode===Pe.mode?(I[me][et]=w(z[me].lastCount+Pe.length,Pe.mode)-w(z[me].lastCount,Pe.mode),z[me].lastCount+=Pe.length):(z[me]&&(z[me].lastCount=Pe.length),I[me][et]=w(Pe.length,Pe.mode)+4+u.getCharCountIndicator(Pe.mode,j))}}K=Ge}for(let fe=0;fe<K.length;fe++)I[K[fe]].end=0;return{map:I,table:z}}function J(q,j){let z;const I=u.getBestModeForData(q);if(z=u.from(j,I),z!==u.BYTE&&z.bit<I.bit)throw new Error('"'+q+'" cannot be encoded with mode '+u.toString(z)+`.
- Suggested mode is: `+u.toString(I));switch(z===u.KANJI&&!E.isKanjiModeEnabled()&&(z=u.BYTE),z){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)}}o.fromArray=function(j){return j.reduce(function(z,I){return typeof I=="string"?z.push(J(I,null)):I.data&&z.push(J(I.data,I.mode)),z},[])},o.fromString=function(j,z){const I=N(j,E.isKanjiModeEnabled()),K=P(I),fe=Q(K,z),se=g.find_path(fe.map,"start","end"),Ge=[];for(let Ve=1;Ve<se.length-1;Ve++)Ge.push(fe.table[se[Ve]].node);return o.fromArray(O(Ge))},o.rawSplit=function(j){return o.fromArray(N(j,E.isKanjiModeEnabled()))}})(kC);const Jf=ia,ch=Wf,ML=mL,zL=hL,jL=CC,BL=RC,Eh=TC,Sh=Qf,VL=gL,qf=NC,HL=DC,FL=bi,fh=kC;function PL(o,u){const f=o.size,p=BL.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 g=-1;g<=7;g++)s+g<=-1||f<=s+g||(E>=0&&E<=6&&(g===0||g===6)||g>=0&&g<=6&&(E===0||E===6)||E>=2&&E<=4&&g>=2&&g<=4?o.set(h+E,s+g,!0,!0):o.set(h+E,s+g,!1,!0))}}function $L(o){const u=o.size;for(let f=8;f<u-8;f++){const p=f%2===0;o.set(f,6,p,!0),o.set(6,f,p,!0)}}function IL(o,u){const f=jL.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?o.set(v+s,h+E,!0,!0):o.set(v+s,h+E,!1,!0)}}function YL(o,u){const f=o.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,o.set(v,h,s,!0),o.set(h,v,s,!0)}function dh(o,u,f){const p=o.size,v=HL.getEncodedBits(u,f);let h,s;for(h=0;h<15;h++)s=(v>>h&1)===1,h<6?o.set(h,8,s,!0):h<8?o.set(h+1,8,s,!0):o.set(p-15+h,8,s,!0),h<8?o.set(8,p-h-1,s,!0):h<9?o.set(8,15-h-1+1,s,!0):o.set(8,15-h-1,s,!0);o.set(p-8,8,1,!0)}function qL(o,u){const f=o.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 g=0;g<2;g++)if(!o.isReserved(v,E-g)){let S=!1;s<u.length&&(S=(u[s]>>>h&1)===1),o.set(v,E-g,S),h--,h===-1&&(s++,h=7)}if(v+=p,v<0||f<=v){v-=p,p=-p;break}}}function GL(o,u,f){const p=new ML;f.forEach(function(g){p.put(g.mode.bit,4),p.put(g.getLength(),FL.getCharCountIndicator(g.mode,o)),g.write(p)});const v=Jf.getSymbolTotalCodewords(o),h=Sh.getTotalCodewordsCount(o,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 g=0;g<E;g++)p.put(g%2?17:236,8);return WL(p,o,u)}function WL(o,u,f){const p=Jf.getSymbolTotalCodewords(u),v=Sh.getTotalCodewordsCount(u,f),h=p-v,s=Sh.getBlocksCount(u,f),E=p%s,g=s-E,S=Math.floor(p/s),_=Math.floor(h/s),N=_+1,w=S-_,O=new VL(w);let P=0;const Q=new Array(s),J=new Array(s);let q=0;const j=new Uint8Array(o.buffer);for(let se=0;se<s;se++){const Ge=se<g?_:N;Q[se]=j.slice(P,P+Ge),J[se]=O.encode(Q[se]),P+=Ge,q=Math.max(q,Ge)}const z=new Uint8Array(p);let I=0,K,fe;for(K=0;K<q;K++)for(fe=0;fe<s;fe++)K<Q[fe].length&&(z[I++]=Q[fe][K]);for(K=0;K<w;K++)for(fe=0;fe<s;fe++)z[I++]=J[fe][K];return z}function QL(o,u,f,p){let v;if(Array.isArray(o))v=fh.fromArray(o);else if(typeof o=="string"){let S=u;if(!S){const _=fh.rawSplit(o);S=qf.getBestVersionForData(_,f)}v=fh.fromString(o,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=GL(u,f,v),E=Jf.getSymbolSize(u),g=new zL(E);return PL(g,u),$L(g),IL(g,u),dh(g,f,0),u>=7&&YL(g,u),qL(g,s),isNaN(p)&&(p=Eh.getBestMask(g,dh.bind(null,g,f))),Eh.applyMask(p,g),dh(g,f,p),{modules:g,version:u,errorCorrectionLevel:f,maskPattern:p,segments:v}}EC.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=Eh.from(f.maskPattern),f.toSJISFunc&&Jf.setToSJISFunction(f.toSJISFunc)),QL(u,v,p,h)};var LC={},Oh={};(function(o){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("")}}o.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||{}}},o.getScale=function(p,v){return v.width&&v.width>=p+v.margin*2?v.width/(p+v.margin*2):v.scale},o.getImageWidth=function(p,v){const h=o.getScale(p,v);return Math.floor((p+v.margin*2)*h)},o.qrToImageData=function(p,v,h){const s=v.modules.size,E=v.modules.data,g=o.getScale(s,h),S=Math.floor((s+h.margin*2)*g),_=h.margin*g,N=[h.color.light,h.color.dark];for(let w=0;w<S;w++)for(let O=0;O<S;O++){let P=(w*S+O)*4,Q=h.color.light;if(w>=_&&O>=_&&w<S-_&&O<S-_){const J=Math.floor((w-_)/g),q=Math.floor((O-_)/g);Q=N[E[J*s+q]?1:0]}p[P++]=Q.r,p[P++]=Q.g,p[P++]=Q.b,p[P]=Q.a}}})(Oh);(function(o){const u=Oh;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")}}o.render=function(h,s,E){let g=E,S=s;typeof g>"u"&&(!s||!s.getContext)&&(g=s,s=void 0),s||(S=p()),g=u.getOptions(g);const _=u.getImageWidth(h.modules.size,g),N=S.getContext("2d"),w=N.createImageData(_,_);return u.qrToImageData(w.data,h,g),f(N,S,_),N.putImageData(w,0,0),S},o.renderToDataURL=function(h,s,E){let g=E;typeof g>"u"&&(!s||!s.getContext)&&(g=s,s=void 0),g||(g={});const S=o.render(h,s,g),_=g.type||"image/png",N=g.rendererOpts||{};return S.toDataURL(_,N.quality)}})(LC);var AC={};const KL=Oh;function eC(o,u){const f=o.a/255,p=u+'="'+o.hex+'"';return f<1?p+" "+u+'-opacity="'+f.toFixed(2).slice(1)+'"':p}function ph(o,u,f){let p=o+u;return typeof f<"u"&&(p+=" "+f),p}function JL(o,u,f){let p="",v=0,h=!1,s=0;for(let E=0;E<o.length;E++){const g=Math.floor(E%u),S=Math.floor(E/u);!g&&!h&&(h=!0),o[E]?(s++,E>0&&g>0&&o[E-1]||(p+=h?ph("M",g+f,.5+S+f):ph("m",v,0),v=0,h=!1),g+1<u&&o[E+1]||(p+=ph("h",s),s=0)):v++}return p}AC.render=function(u,f,p){const v=KL.getOptions(f),h=u.modules.size,s=u.modules.data,E=h+v.margin*2,g=v.color.light.a?"<path "+eC(v.color.light,"fill")+' d="M0 0h'+E+"v"+E+'H0z"/>':"",S="<path "+eC(v.color.dark,"stroke")+' d="'+JL(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">'+g+S+`</svg>
- `;return typeof p=="function"&&p(null,w),w};const XL=pL,Ch=EC,MC=LC,ZL=AC;function Lh(o,u,f,p,v){const h=[].slice.call(arguments,1),s=h.length,E=typeof h[s-1]=="function";if(!E&&!XL())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(g,S){try{const _=Ch.create(f,p);g(o(_,u,p))}catch(_){S(_)}})}try{const g=Ch.create(f,p);v(null,o(g,u,p))}catch(g){v(g)}}Rs.create=Ch.create;Rs.toCanvas=Lh.bind(null,MC.render);Rs.toDataURL=Lh.bind(null,MC.renderToDataURL);Rs.toString=Lh.bind(null,function(o,u,f){return ZL.render(o,f)});const eA="_wrapper_1900w_1",tA="_title_1900w_5",nA="_empty_1900w_12",aA="_list_1900w_18",rA="_item_1900w_24",iA="_itemInfo_1900w_31",oA="_status_1900w_39",lA="_platforms_1900w_43",uA="_platformTag_1900w_48",sA="_time_1900w_57",cA="_downloads_1900w_63",fA="_downloadLink_1900w_70",dA="_downloadAll_1900w_85",pA="_errorLog_1900w_93",vA="_qrSection_1900w_100",mA="_qrLabel_1900w_106",hA="_qrRow_1900w_113",yA="_qrCode_1900w_119",gA="_qrLoading_1900w_127",bA="_qrUrl_1900w_140",_t={wrapper:eA,title:tA,empty:nA,list:aA,item:rA,itemInfo:iA,status:oA,platforms:lA,platformTag:uA,time:sA,downloads:cA,downloadLink:fA,downloadAll:dA,errorLog:pA,qrSection:vA,qrLabel:mA,qrRow:hA,qrCode:yA,qrLoading:gA,qrUrl:bA};function EA({creativeId:o,builds:u,onUpdated:f}){const[p,v]=F.useState(u),[h,s]=F.useState({});F.useEffect(()=>{v(u)},[u]),F.useEffect(()=>{if(!p.some(N=>N.status==="building"||N.status==="pending"))return;const _=setInterval(()=>{Rn.getBuilds(o).then(N=>{v(N.data),f()})},5e3);return()=>clearInterval(_)},[p,o,f]),F.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(N=>s(w=>({...w,[S.id]:N}))).catch(()=>{})}})},[p,h]);const E={pending:"等待中",building:"构建中",completed:"完成",failed:"失败"},g={pending:"⏳",building:"🔄",completed:"✅",failed:"❌"};return p.length===0?D.jsxDEV("p",{className:_t.empty,children:"暂无构建记录"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:67,columnNumber:12},this):D.jsxDEV("div",{className:_t.wrapper,children:[D.jsxDEV("h3",{className:_t.title,children:"构建历史"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:72,columnNumber:7},this),D.jsxDEV("div",{className:_t.list,children:p.map(S=>D.jsxDEV("div",{className:_t.item,children:[D.jsxDEV("div",{className:_t.itemInfo,children:[D.jsxDEV("span",{className:_t.status,children:[g[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),D.jsxDEV("span",{className:_t.platforms,children:S.platforms.map(_=>D.jsxDEV("span",{className:_t.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),D.jsxDEV("span",{className:_t.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"&&D.jsxDEV(D.Fragment,{children:[S.previewUrl&&D.jsxDEV("div",{className:_t.qrSection,children:[D.jsxDEV("div",{className:_t.qrLabel,children:"📱 真机扫码预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:95,columnNumber:21},this),D.jsxDEV("div",{className:_t.qrRow,children:[h[S.id]?D.jsxDEV("img",{className:_t.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):D.jsxDEV("div",{className:_t.qrLoading,children:"生成中…"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/BuildHistory.tsx",lineNumber:104,columnNumber:25},this),D.jsxDEV("div",{className:_t.qrUrl,children:D.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&&D.jsxDEV("div",{className:_t.downloads,children:[S.results.map(_=>D.jsxDEV("a",{href:`/ads/api/v1/builds/${S.id}/download/${_.platform}`,className:_t.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)),D.jsxDEV("a",{href:`/ads/api/v1/builds/${S.id}/download/all`,className:_t.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&&D.jsxDEV("p",{className:_t.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 SA="_wrapper_1fdka_1",CA="_header_1fdka_8",RA="_title_1fdka_15",TA="_startBtn_1fdka_20",wA="_stopBtn_1fdka_35",xA="_hint_1fdka_44",NA="_error_1fdka_51",_A="_loadingBox_1fdka_56",DA="_spinner_1fdka_68",UA="_frameWrap_1fdka_81",kA="_frame_1fdka_81",Fa={wrapper:SA,header:CA,title:RA,startBtn:TA,stopBtn:wA,hint:xA,error:NA,loadingBox:_A,spinner:DA,frameWrap:UA,frame:kA};function OA({creativeId:o,creativeStatus:u,theme:f}){const[p,v]=F.useState(null),[h,s]=F.useState(!1),[E,g]=F.useState(""),[S,_]=F.useState(!1),N=u==="assets_ready"||u==="built"||u==="building";F.useEffect(()=>{if(!p||S)return;const P=setTimeout(()=>{S||g("预览加载超时,请检查控制台或重试")},1e4);return()=>clearTimeout(P)},[p,S]),F.useEffect(()=>()=>{p&&Rn.stopPreview(o).catch(()=>{})},[]);async function w(){s(!0),g(""),_(!1);try{const P=await Rn.startPreview(o,f);v(P.data.url)}catch(P){g(P.message)}finally{s(!1)}}async function O(){try{await Rn.stopPreview(o)}catch{}v(null),_(!1),g("")}return D.jsxDEV("div",{className:Fa.wrapper,children:[D.jsxDEV("div",{className:Fa.header,children:[D.jsxDEV("h3",{className:Fa.title,children:"实时预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:63,columnNumber:9},this),p?D.jsxDEV("button",{onClick:O,className:Fa.stopBtn,children:"关闭预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:73,columnNumber:11},this):D.jsxDEV("button",{onClick:w,disabled:!N||h,className:Fa.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),!N&&!p&&D.jsxDEV("p",{className:Fa.hint,children:"上传素材后即可预览"},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:80,columnNumber:9},this),E&&D.jsxDEV("p",{className:Fa.error,children:E},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:83,columnNumber:17},this),h&&D.jsxDEV("div",{className:Fa.loadingBox,children:[D.jsxDEV("span",{className:Fa.spinner},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/components/PreviewPanel.tsx",lineNumber:87,columnNumber:11},this),D.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&&D.jsxDEV("div",{className:Fa.frameWrap,children:D.jsxDEV("iframe",{src:p,className:Fa.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 LA="_container_171ey_1",AA="_state_171ey_7",MA="_topBar_171ey_14",zA="_back_171ey_20",jA="_topInfo_171ey_28",BA="_title_171ey_35",VA="_statusDot_171ey_40",HA="_draft_171ey_45",FA="_assets_ready_171ey_46",PA="_building_171ey_47",$A="_built_171ey_48",IA="_failed_171ey_49",YA="_deleteBtn_171ey_51",qA="_workspace_171ey_61",GA="_section_171ey_73",WA="_sectionTitle_171ey_80",QA="_buildSection_171ey_88",Jt={container:LA,state:AA,topBar:MA,back:zA,topInfo:jA,title:BA,statusDot:VA,draft:HA,assets_ready:FA,building:PA,built:$A,failed:IA,deleteBtn:YA,workspace:qA,section:GA,sectionTitle:WA,buildSection:QA};function KA(){var Q;const{id:o}=UU(),u=wh(),[f,p]=F.useState(null),[v,h]=F.useState(null),[s,E]=F.useState(!0),[g,S]=F.useState(""),[_,N]=F.useState(["google","applovin"]),w=F.useCallback(()=>{o&&(S(""),Rn.getCreative(o).then(async J=>{var j,z;p(J.data);const q=await Rn.getTemplate(J.data.templateId);h(q.data),_.length===0&&((j=q.data.platforms)!=null&&j.available)&&N(((z=q.data.platforms)==null?void 0:z.defaults)??q.data.platforms.available.slice(0,2))}).catch(J=>S(J.message)).finally(()=>E(!1)))},[o]);F.useEffect(()=>{w()},[w]);async function O(){if(!(!o||!confirm("确认删除此创意?所有素材和构建产物将被永久删除。")))try{await Rn.deleteCreative(o),u("/")}catch(J){S(J.message)}}const P={draft:"草稿",assets_ready:"素材已就绪",building:"构建中",built:"已构建",failed:"失败"};return s?D.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):g?D.jsxDEV("div",{className:Jt.state,children:["加载失败:",g]},void 0,!0,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:69,columnNumber:21},this):!f||!v?D.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):D.jsxDEV("div",{className:Jt.container,children:[D.jsxDEV("div",{className:Jt.topBar,children:[D.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),D.jsxDEV("div",{className:Jt.topInfo,children:[D.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),D.jsxDEV("span",{className:`${Jt.statusDot} ${Jt[f.status]}`,children:["● ",P[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),D.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),D.jsxDEV("div",{className:Jt.workspace,children:[D.jsxDEV("section",{className:Jt.section,children:[D.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),D.jsxDEV(OO,{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),D.jsxDEV("section",{className:Jt.section,children:[D.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),D.jsxDEV(ZO,{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),D.jsxDEV(OA,{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),D.jsxDEV("section",{className:Jt.buildSection,children:[D.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),D.jsxDEV(iL,{platforms:((Q=v.platforms)==null?void 0:Q.available)??[],selected:_,onChange:N},void 0,!1,{fileName:"/Users/guoziyun/work/playableads-platform/platform/client/src/pages/CreativeDetail.tsx",lineNumber:125,columnNumber:9},this),D.jsxDEV(dL,{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),D.jsxDEV(EA,{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 JA(){return D.jsxDEV(Nk,{children:D.jsxDEV(GU,{children:[D.jsxDEV(Hf,{path:"/",element:D.jsxDEV(Vk,{},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),D.jsxDEV(Hf,{path:"/creatives/new",element:D.jsxDEV(aO,{},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),D.jsxDEV(Hf,{path:"/creatives/:id",element:D.jsxDEV(KA,{},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(D.jsxDEV(aC.StrictMode,{children:D.jsxDEV(uk,{basename:"/ads/".replace(/\/$/,""),children:D.jsxDEV(JA,{},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));
|