|
(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function t(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=t(l);fetch(l.href,o)}})();function ic(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qu={exports:{}},el={},Ku={exports:{}},R={}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Gt=Symbol.for("react.element"),uc=Symbol.for("react.portal"),sc=Symbol.for("react.fragment"),ac=Symbol.for("react.strict_mode"),cc=Symbol.for("react.profiler"),fc=Symbol.for("react.provider"),dc=Symbol.for("react.context"),pc=Symbol.for("react.forward_ref"),mc=Symbol.for("react.suspense"),hc=Symbol.for("react.memo"),vc=Symbol.for("react.lazy"),Oi=Symbol.iterator;function yc(e){return e===null||typeof e!="object"?null:(e=Oi&&e[Oi]||e["@@iterator"],typeof e=="function"?e:null)}var Yu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Gu=Object.assign,Xu={};function it(e,n,t){this.props=e,this.context=n,this.refs=Xu,this.updater=t||Yu}it.prototype.isReactComponent={};it.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};it.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zu(){}Zu.prototype=it.prototype;function Ao(e,n,t){this.props=e,this.context=n,this.refs=Xu,this.updater=t||Yu}var $o=Ao.prototype=new Zu;$o.constructor=Ao;Gu($o,it.prototype);$o.isPureReactComponent=!0;var Di=Array.isArray,Ju=Object.prototype.hasOwnProperty,Bo={current:null},qu={key:!0,ref:!0,__self:!0,__source:!0};function bu(e,n,t){var r,l={},o=null,i=null;if(n!=null)for(r in n.ref!==void 0&&(i=n.ref),n.key!==void 0&&(o=""+n.key),n)Ju.call(n,r)&&!qu.hasOwnProperty(r)&&(l[r]=n[r]);var u=arguments.length-2;if(u===1)l.children=t;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];l.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)l[r]===void 0&&(l[r]=u[r]);return{$$typeof:Gt,type:e,key:o,ref:i,props:l,_owner:Bo.current}}function gc(e,n){return{$$typeof:Gt,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function Vo(e){return typeof e=="object"&&e!==null&&e.$$typeof===Gt}function wc(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return n[t]})}var Ii=/\/+/g;function wl(e,n){return typeof e=="object"&&e!==null&&e.key!=null?wc(""+e.key):n.toString(36)}function gr(e,n,t,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Gt:case uc:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+wl(i,0):r,Di(l)?(t="",e!=null&&(t=e.replace(Ii,"$&/")+"/"),gr(l,n,t,"",function(c){return c})):l!=null&&(Vo(l)&&(l=gc(l,t+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(Ii,"$&/")+"/")+e)),n.push(l)),1;if(i=0,r=r===""?".":r+":",Di(e))for(var u=0;u<e.length;u++){o=e[u];var s=r+wl(o,u);i+=gr(o,n,t,s,l)}else if(s=yc(e),typeof s=="function")for(e=s.call(e),u=0;!(o=e.next()).done;)o=o.value,s=r+wl(o,u++),i+=gr(o,n,t,s,l);else if(o==="object")throw n=String(e),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return i}function nr(e,n,t){if(e==null)return e;var r=[],l=0;return gr(e,r,"","",function(o){return n.call(t,o,l++)}),r}function kc(e){if(e._status===-1){var n=e._result;n=n(),n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var ce={current:null},wr={transition:null},Sc={ReactCurrentDispatcher:ce,ReactCurrentBatchConfig:wr,ReactCurrentOwner:Bo};R.Children={map:nr,forEach:function(e,n,t){nr(e,function(){n.apply(this,arguments)},t)},count:function(e){var n=0;return nr(e,function(){n++}),n},toArray:function(e){return nr(e,function(n){return n})||[]},only:function(e){if(!Vo(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};R.Component=it;R.Fragment=sc;R.Profiler=cc;R.PureComponent=Ao;R.StrictMode=ac;R.Suspense=mc;R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Sc;R.cloneElement=function(e,n,t){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Gu({},e.props),l=e.key,o=e.ref,i=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,i=Bo.current),n.key!==void 0&&(l=""+n.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in n)Ju.call(n,s)&&!qu.hasOwnProperty(s)&&(r[s]=n[s]===void 0&&u!==void 0?u[s]:n[s])}var s=arguments.length-2;if(s===1)r.children=t;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];r.children=u}return{$$typeof:Gt,type:e.type,key:l,ref:o,props:r,_owner:i}};R.createContext=function(e){return e={$$typeof:dc,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:fc,_context:e},e.Consumer=e};R.createElement=bu;R.createFactory=function(e){var n=bu.bind(null,e);return n.type=e,n};R.createRef=function(){return{current:null}};R.forwardRef=function(e){return{$$typeof:pc,render:e}};R.isValidElement=Vo;R.lazy=function(e){return{$$typeof:vc,_payload:{_status:-1,_result:e},_init:kc}};R.memo=function(e,n){return{$$typeof:hc,type:e,compare:n===void 0?null:n}};R.startTransition=function(e){var n=wr.transition;wr.transition={};try{e()}finally{wr.transition=n}};R.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};R.useCallback=function(e,n){return ce.current.useCallback(e,n)};R.useContext=function(e){return ce.current.useContext(e)};R.useDebugValue=function(){};R.useDeferredValue=function(e){return ce.current.useDeferredValue(e)};R.useEffect=function(e,n){return ce.current.useEffect(e,n)};R.useId=function(){return ce.current.useId()};R.useImperativeHandle=function(e,n,t){return ce.current.useImperativeHandle(e,n,t)};R.useInsertionEffect=function(e,n){return ce.current.useInsertionEffect(e,n)};R.useLayoutEffect=function(e,n){return ce.current.useLayoutEffect(e,n)};R.useMemo=function(e,n){return ce.current.useMemo(e,n)};R.useReducer=function(e,n,t){return ce.current.useReducer(e,n,t)};R.useRef=function(e){return ce.current.useRef(e)};R.useState=function(e){return ce.current.useState(e)};R.useSyncExternalStore=function(e,n,t){return ce.current.useSyncExternalStore(e,n,t)};R.useTransition=function(){return ce.current.useTransition()};R.version="18.2.0";Ku.exports=R;var W=Ku.exports;const xc=ic(W); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Ec=W,Cc=Symbol.for("react.element"),_c=Symbol.for("react.fragment"),Nc=Object.prototype.hasOwnProperty,Pc=Ec.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,zc={key:!0,ref:!0,__self:!0,__source:!0};function es(e,n,t){var r,l={},o=null,i=null;t!==void 0&&(o=""+t),n.key!==void 0&&(o=""+n.key),n.ref!==void 0&&(i=n.ref);for(r in n)Nc.call(n,r)&&!zc.hasOwnProperty(r)&&(l[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps,n)l[r]===void 0&&(l[r]=n[r]);return{$$typeof:Cc,type:e,key:o,ref:i,props:l,_owner:Pc.current}}el.Fragment=_c;el.jsx=es;el.jsxs=es;Qu.exports=el;var T=Qu.exports,Ql={},ns={exports:{}},Se={},ts={exports:{}},rs={}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(function(e){function n(_,z){var L=_.length;_.push(z);e:for(;0<L;){var Q=L-1>>>1,J=_[Q];if(0<l(J,z))_[Q]=z,_[L]=J,L=Q;else break e}}function t(_){return _.length===0?null:_[0]}function r(_){if(_.length===0)return null;var z=_[0],L=_.pop();if(L!==z){_[0]=L;e:for(var Q=0,J=_.length,bt=J>>>1;Q<bt;){var gn=2*(Q+1)-1,gl=_[gn],wn=gn+1,er=_[wn];if(0>l(gl,L))wn<J&&0>l(er,gl)?(_[Q]=er,_[wn]=L,Q=wn):(_[Q]=gl,_[gn]=L,Q=gn);else if(wn<J&&0>l(er,L))_[Q]=er,_[wn]=L,Q=wn;else break e}}return z}function l(_,z){var L=_.sortIndex-z.sortIndex;return L!==0?L:_.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],c=[],h=1,m=null,p=3,w=!1,g=!1,S=!1,D=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(_){for(var z=t(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=_)r(c),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(c)}}function v(_){if(S=!1,d(_),!g)if(t(s)!==null)g=!0,vl(E);else{var z=t(c);z!==null&&yl(v,z.startTime-_)}}function E(_,z){g=!1,S&&(S=!1,f(x),x=-1),w=!0;var L=p;try{for(d(z),m=t(s);m!==null&&(!(m.expirationTime>z)||_&&!Y());){var Q=m.callback;if(typeof Q=="function"){m.callback=null,p=m.priorityLevel;var J=Q(m.expirationTime<=z);z=e.unstable_now(),typeof J=="function"?m.callback=J:m===t(s)&&r(s),d(z)}else r(s);m=t(s)}if(m!==null)var bt=!0;else{var gn=t(c);gn!==null&&yl(v,gn.startTime-z),bt=!1}return bt}finally{m=null,p=L,w=!1}}var N=!1,k=null,x=-1,j=5,P=-1;function Y(){return!(e.unstable_now()-P<j)}function re(){if(k!==null){var _=e.unstable_now();P=_;var z=!0;try{z=k(!0,_)}finally{z?at():(N=!1,k=null)}}else N=!1}var at;if(typeof a=="function")at=function(){a(re)};else if(typeof MessageChannel<"u"){var Mi=new MessageChannel,oc=Mi.port2;Mi.port1.onmessage=re,at=function(){oc.postMessage(null)}}else at=function(){D(re,0)};function vl(_){k=_,N||(N=!0,at())}function yl(_,z){x=D(function(){_(e.unstable_now())},z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(_){_.callback=null},e.unstable_continueExecution=function(){g||w||(g=!0,vl(E))},e.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return t(s)},e.unstable_next=function(_){switch(p){case 1:case 2:case 3:var z=3;break;default:z=p}var L=p;p=z;try{return _()}finally{p=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,z){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var L=p;p=_;try{return z()}finally{p=L}},e.unstable_scheduleCallback=function(_,z,L){var Q=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?Q+L:Q):L=Q,_){case 1:var J=-1;break;case 2:J=250;break;case 5:J=1073741823;break;case 4:J=1e4;break;default:J=5e3}return J=L+J,_={id:h++,callback:z,priorityLevel:_,startTime:L,expirationTime:J,sortIndex:-1},L>Q?(_.sortIndex=L,n(c,_),t(s)===null&&_===t(c)&&(S?(f(x),x=-1):S=!0,yl(v,L-Q))):(_.sortIndex=J,n(s,_),g||w||(g=!0,vl(E))),_},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(_){var z=p;return function(){var L=p;p=z;try{return _.apply(this,arguments)}finally{p=L}}}})(rs);ts.exports=rs;var Lc=ts.exports; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var ls=W,ke=Lc;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var os=new Set,Rt={};function jn(e,n){bn(e,n),bn(e+"Capture",n)}function bn(e,n){for(Rt[e]=n,e=0;e<n.length;e++)os.add(n[e])}var Ke=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kl=Object.prototype.hasOwnProperty,Tc=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Fi={},Ui={};function Rc(e){return Kl.call(Ui,e)?!0:Kl.call(Fi,e)?!1:Tc.test(e)?Ui[e]=!0:(Fi[e]=!0,!1)}function jc(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Mc(e,n,t,r){if(n===null||typeof n>"u"||jc(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function fe(e,n,t,r,l,o,i){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=i}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[e]=new fe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];te[n]=new fe(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new fe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[e]=new fe(e,2,!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".split(" ").forEach(function(e){te[e]=new fe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new fe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new fe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new fe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new fe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Wo=/[\-:]([a-z])/g;function Ho(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".split(" ").forEach(function(e){var n=e.replace(Wo,Ho);te[n]=new fe(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Wo,Ho);te[n]=new fe(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Wo,Ho);te[n]=new fe(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){te[e]=new fe(e,1,!1,e.toLowerCase(),null,!1,!1)});te.xlinkHref=new fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){te[e]=new fe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Qo(e,n,t,r){var l=te.hasOwnProperty(n)?te[n]:null;(l!==null?l.type!==0:r||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(Mc(n,t,l,r)&&(t=null),r||l===null?Rc(n)&&(t===null?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=t===null?l.type===3?!1:"":t:(n=l.attributeName,r=l.attributeNamespace,t===null?e.removeAttribute(n):(l=l.type,t=l===3||l===4&&t===!0?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}var Ze=ls.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,tr=Symbol.for("react.element"),Dn=Symbol.for("react.portal"),In=Symbol.for("react.fragment"),Ko=Symbol.for("react.strict_mode"),Yl=Symbol.for("react.profiler"),is=Symbol.for("react.provider"),us=Symbol.for("react.context"),Yo=Symbol.for("react.forward_ref"),Gl=Symbol.for("react.suspense"),Xl=Symbol.for("react.suspense_list"),Go=Symbol.for("react.memo"),qe=Symbol.for("react.lazy"),ss=Symbol.for("react.offscreen"),Ai=Symbol.iterator;function ct(e){return e===null||typeof e!="object"?null:(e=Ai&&e[Ai]||e["@@iterator"],typeof e=="function"?e:null)}var V=Object.assign,kl;function gt(e){if(kl===void 0)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);kl=n&&n[1]||""}return` |
|
`+kl+e}var Sl=!1;function xl(e,n){if(!e||Sl)return"";Sl=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(c){var r=c}Reflect.construct(e,[],n)}else{try{n.call()}catch(c){r=c}e.call(n.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var l=c.stack.split(` |
|
`),o=r.stack.split(` |
|
`),i=l.length-1,u=o.length-1;1<=i&&0<=u&&l[i]!==o[u];)u--;for(;1<=i&&0<=u;i--,u--)if(l[i]!==o[u]){if(i!==1||u!==1)do if(i--,u--,0>u||l[i]!==o[u]){var s=` |
|
`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Sl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?gt(e):""}function Oc(e){switch(e.tag){case 5:return gt(e.type);case 16:return gt("Lazy");case 13:return gt("Suspense");case 19:return gt("SuspenseList");case 0:case 2:case 15:return e=xl(e.type,!1),e;case 11:return e=xl(e.type.render,!1),e;case 1:return e=xl(e.type,!0),e;default:return""}}function Zl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case In:return"Fragment";case Dn:return"Portal";case Yl:return"Profiler";case Ko:return"StrictMode";case Gl:return"Suspense";case Xl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case us:return(e.displayName||"Context")+".Consumer";case is:return(e._context.displayName||"Context")+".Provider";case Yo:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Go:return n=e.displayName||null,n!==null?n:Zl(e.type)||"Memo";case qe:n=e._payload,e=e._init;try{return Zl(e(n))}catch{}}return null}function Dc(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Zl(n);case 8:return n===Ko?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function pn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function as(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ic(e){var n=as(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function rr(e){e._valueTracker||(e._valueTracker=Ic(e))}function cs(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=as(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Tr(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}}function Jl(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function $i(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=pn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function fs(e,n){n=n.checked,n!=null&&Qo(e,"checked",n,!1)}function ql(e,n){fs(e,n);var t=pn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&bl(e,n.type,pn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Bi(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function bl(e,n,t){(n!=="number"||Tr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var wt=Array.isArray;function Yn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l<t.length;l++)n["$"+t[l]]=!0;for(t=0;t<e.length;t++)l=n.hasOwnProperty("$"+e[t].value),e[t].selected!==l&&(e[t].selected=l),l&&r&&(e[t].defaultSelected=!0)}else{for(t=""+pn(t),n=null,l=0;l<e.length;l++){if(e[l].value===t){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}n!==null||e[l].disabled||(n=e[l])}n!==null&&(n.selected=!0)}}function eo(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(y(91));return V({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Vi(e,n){var t=n.value;if(t==null){if(t=n.children,n=n.defaultValue,t!=null){if(n!=null)throw Error(y(92));if(wt(t)){if(1<t.length)throw Error(y(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:pn(t)}}function ds(e,n){var t=pn(n.value),r=pn(n.defaultValue);t!=null&&(t=""+t,t!==e.value&&(e.value=t),n.defaultValue==null&&e.defaultValue!==t&&(e.defaultValue=t)),r!=null&&(e.defaultValue=""+r)}function Wi(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function ps(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function no(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?ps(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var lr,ms=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,t,r,l){MSApp.execUnsafeLocalFunction(function(){return e(n,t,r,l)})}:e}(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(lr=lr||document.createElement("div"),lr.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=lr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function jt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var xt={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},Fc=["Webkit","ms","Moz","O"];Object.keys(xt).forEach(function(e){Fc.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),xt[n]=xt[e]})});function hs(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||xt.hasOwnProperty(e)&&xt[e]?(""+n).trim():n+"px"}function vs(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=hs(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Uc=V({menuitem:!0},{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});function to(e,n){if(n){if(Uc[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function ro(e,n){if(e.indexOf("-")===-1)return typeof n.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 lo=null;function Xo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var oo=null,Gn=null,Xn=null;function Hi(e){if(e=Jt(e)){if(typeof oo!="function")throw Error(y(280));var n=e.stateNode;n&&(n=ol(n),oo(e.stateNode,e.type,n))}}function ys(e){Gn?Xn?Xn.push(e):Xn=[e]:Gn=e}function gs(){if(Gn){var e=Gn,n=Xn;if(Xn=Gn=null,Hi(e),n)for(e=0;e<n.length;e++)Hi(n[e])}}function ws(e,n){return e(n)}function ks(){}var El=!1;function Ss(e,n,t){if(El)return e(n,t);El=!0;try{return ws(e,n,t)}finally{El=!1,(Gn!==null||Xn!==null)&&(ks(),gs())}}function Mt(e,n){var t=e.stateNode;if(t===null)return null;var r=ol(t);if(r===null)return null;t=r[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error(y(231,n,typeof t));return t}var io=!1;if(Ke)try{var ft={};Object.defineProperty(ft,"passive",{get:function(){io=!0}}),window.addEventListener("test",ft,ft),window.removeEventListener("test",ft,ft)}catch{io=!1}function Ac(e,n,t,r,l,o,i,u,s){var c=Array.prototype.slice.call(arguments,3);try{n.apply(t,c)}catch(h){this.onError(h)}}var Et=!1,Rr=null,jr=!1,uo=null,$c={onError:function(e){Et=!0,Rr=e}};function Bc(e,n,t,r,l,o,i,u,s){Et=!1,Rr=null,Ac.apply($c,arguments)}function Vc(e,n,t,r,l,o,i,u,s){if(Bc.apply(this,arguments),Et){if(Et){var c=Rr;Et=!1,Rr=null}else throw Error(y(198));jr||(jr=!0,uo=c)}}function Mn(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,n.flags&4098&&(t=n.return),e=n.return;while(e)}return n.tag===3?t:null}function xs(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function Qi(e){if(Mn(e)!==e)throw Error(y(188))}function Wc(e){var n=e.alternate;if(!n){if(n=Mn(e),n===null)throw Error(y(188));return n!==e?null:e}for(var t=e,r=n;;){var l=t.return;if(l===null)break;var o=l.alternate;if(o===null){if(r=l.return,r!==null){t=r;continue}break}if(l.child===o.child){for(o=l.child;o;){if(o===t)return Qi(l),e;if(o===r)return Qi(l),n;o=o.sibling}throw Error(y(188))}if(t.return!==r.return)t=l,r=o;else{for(var i=!1,u=l.child;u;){if(u===t){i=!0,t=l,r=o;break}if(u===r){i=!0,r=l,t=o;break}u=u.sibling}if(!i){for(u=o.child;u;){if(u===t){i=!0,t=o,r=l;break}if(u===r){i=!0,r=o,t=l;break}u=u.sibling}if(!i)throw Error(y(189))}}if(t.alternate!==r)throw Error(y(190))}if(t.tag!==3)throw Error(y(188));return t.stateNode.current===t?e:n}function Es(e){return e=Wc(e),e!==null?Cs(e):null}function Cs(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=Cs(e);if(n!==null)return n;e=e.sibling}return null}var _s=ke.unstable_scheduleCallback,Ki=ke.unstable_cancelCallback,Hc=ke.unstable_shouldYield,Qc=ke.unstable_requestPaint,K=ke.unstable_now,Kc=ke.unstable_getCurrentPriorityLevel,Zo=ke.unstable_ImmediatePriority,Ns=ke.unstable_UserBlockingPriority,Mr=ke.unstable_NormalPriority,Yc=ke.unstable_LowPriority,Ps=ke.unstable_IdlePriority,nl=null,Ae=null;function Gc(e){if(Ae&&typeof Ae.onCommitFiberRoot=="function")try{Ae.onCommitFiberRoot(nl,e,void 0,(e.current.flags&128)===128)}catch{}}var Me=Math.clz32?Math.clz32:Jc,Xc=Math.log,Zc=Math.LN2;function Jc(e){return e>>>=0,e===0?32:31-(Xc(e)/Zc|0)|0}var or=64,ir=4194304;function kt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Or(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=t&268435455;if(i!==0){var u=i&~l;u!==0?r=kt(u):(o&=i,o!==0&&(r=kt(o)))}else i=t&~l,i!==0?r=kt(i):o!==0&&(r=kt(o));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,o=n&-n,l>=o||l===16&&(o&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0<n;)t=31-Me(n),l=1<<t,r|=e[t],n&=~l;return r}function qc(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function bc(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-Me(o),u=1<<i,s=l[i];s===-1?(!(u&t)||u&r)&&(l[i]=qc(u,n)):s<=n&&(e.expiredLanes|=u),o&=~u}}function so(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function zs(){var e=or;return or<<=1,!(or&4194240)&&(or=64),e}function Cl(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function Xt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Me(n),e[n]=t}function ef(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var l=31-Me(t),o=1<<l;n[l]=0,r[l]=-1,e[l]=-1,t&=~o}}function Jo(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-Me(t),l=1<<r;l&n|e[r]&n&&(e[r]|=n),t&=~l}}var O=0;function Ls(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ts,qo,Rs,js,Ms,ao=!1,ur=[],ln=null,on=null,un=null,Ot=new Map,Dt=new Map,en=[],nf="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".split(" ");function Yi(e,n){switch(e){case"focusin":case"focusout":ln=null;break;case"dragenter":case"dragleave":on=null;break;case"mouseover":case"mouseout":un=null;break;case"pointerover":case"pointerout":Ot.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dt.delete(n.pointerId)}}function dt(e,n,t,r,l,o){return e===null||e.nativeEvent!==o?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:o,targetContainers:[l]},n!==null&&(n=Jt(n),n!==null&&qo(n)),e):(e.eventSystemFlags|=r,n=e.targetContainers,l!==null&&n.indexOf(l)===-1&&n.push(l),e)}function tf(e,n,t,r,l){switch(n){case"focusin":return ln=dt(ln,e,n,t,r,l),!0;case"dragenter":return on=dt(on,e,n,t,r,l),!0;case"mouseover":return un=dt(un,e,n,t,r,l),!0;case"pointerover":var o=l.pointerId;return Ot.set(o,dt(Ot.get(o)||null,e,n,t,r,l)),!0;case"gotpointercapture":return o=l.pointerId,Dt.set(o,dt(Dt.get(o)||null,e,n,t,r,l)),!0}return!1}function Os(e){var n=xn(e.target);if(n!==null){var t=Mn(n);if(t!==null){if(n=t.tag,n===13){if(n=xs(t),n!==null){e.blockedOn=n,Ms(e.priority,function(){Rs(t)});return}}else if(n===3&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function kr(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var t=co(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(t===null){t=e.nativeEvent;var r=new t.constructor(t.type,t);lo=r,t.target.dispatchEvent(r),lo=null}else return n=Jt(t),n!==null&&qo(n),e.blockedOn=t,!1;n.shift()}return!0}function Gi(e,n,t){kr(e)&&t.delete(n)}function rf(){ao=!1,ln!==null&&kr(ln)&&(ln=null),on!==null&&kr(on)&&(on=null),un!==null&&kr(un)&&(un=null),Ot.forEach(Gi),Dt.forEach(Gi)}function pt(e,n){e.blockedOn===n&&(e.blockedOn=null,ao||(ao=!0,ke.unstable_scheduleCallback(ke.unstable_NormalPriority,rf)))}function It(e){function n(l){return pt(l,e)}if(0<ur.length){pt(ur[0],e);for(var t=1;t<ur.length;t++){var r=ur[t];r.blockedOn===e&&(r.blockedOn=null)}}for(ln!==null&&pt(ln,e),on!==null&&pt(on,e),un!==null&&pt(un,e),Ot.forEach(n),Dt.forEach(n),t=0;t<en.length;t++)r=en[t],r.blockedOn===e&&(r.blockedOn=null);for(;0<en.length&&(t=en[0],t.blockedOn===null);)Os(t),t.blockedOn===null&&en.shift()}var Zn=Ze.ReactCurrentBatchConfig,Dr=!0;function lf(e,n,t,r){var l=O,o=Zn.transition;Zn.transition=null;try{O=1,bo(e,n,t,r)}finally{O=l,Zn.transition=o}}function of(e,n,t,r){var l=O,o=Zn.transition;Zn.transition=null;try{O=4,bo(e,n,t,r)}finally{O=l,Zn.transition=o}}function bo(e,n,t,r){if(Dr){var l=co(e,n,t,r);if(l===null)Ol(e,n,r,Ir,t),Yi(e,r);else if(tf(l,e,n,t,r))r.stopPropagation();else if(Yi(e,r),n&4&&-1<nf.indexOf(e)){for(;l!==null;){var o=Jt(l);if(o!==null&&Ts(o),o=co(e,n,t,r),o===null&&Ol(e,n,r,Ir,t),o===l)break;l=o}l!==null&&r.stopPropagation()}else Ol(e,n,r,null,t)}}var Ir=null;function co(e,n,t,r){if(Ir=null,e=Xo(r),e=xn(e),e!==null)if(n=Mn(e),n===null)e=null;else if(t=n.tag,t===13){if(e=xs(n),e!==null)return e;e=null}else if(t===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return Ir=e,null}function Ds(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 1;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 4;case"message":switch(Kc()){case Zo:return 1;case Ns:return 4;case Mr:case Yc:return 16;case Ps:return 536870912;default:return 16}default:return 16}}var tn=null,ei=null,Sr=null;function Is(){if(Sr)return Sr;var e,n=ei,t=n.length,r,l="value"in tn?tn.value:tn.textContent,o=l.length;for(e=0;e<t&&n[e]===l[e];e++);var i=t-e;for(r=1;r<=i&&n[t-r]===l[o-r];r++);return Sr=l.slice(e,1<r?1-r:void 0)}function xr(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function sr(){return!0}function Xi(){return!1}function xe(e){function n(t,r,l,o,i){this._reactName=t,this._targetInst=l,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(t=e[u],this[u]=t?t(o):o[u]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?sr:Xi,this.isPropagationStopped=Xi,this}return V(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=sr)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=sr)},persist:function(){},isPersistent:sr}),n}var ut={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ni=xe(ut),Zt=V({},ut,{view:0,detail:0}),uf=xe(Zt),_l,Nl,mt,tl=V({},Zt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ti,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:(e!==mt&&(mt&&e.type==="mousemove"?(_l=e.screenX-mt.screenX,Nl=e.screenY-mt.screenY):Nl=_l=0,mt=e),_l)},movementY:function(e){return"movementY"in e?e.movementY:Nl}}),Zi=xe(tl),sf=V({},tl,{dataTransfer:0}),af=xe(sf),cf=V({},Zt,{relatedTarget:0}),Pl=xe(cf),ff=V({},ut,{animationName:0,elapsedTime:0,pseudoElement:0}),df=xe(ff),pf=V({},ut,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mf=xe(pf),hf=V({},ut,{data:0}),Ji=xe(hf),vf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yf={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"},gf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wf(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=gf[e])?!!n[e]:!1}function ti(){return wf}var kf=V({},Zt,{key:function(e){if(e.key){var n=vf[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=xr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?yf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ti,charCode:function(e){return e.type==="keypress"?xr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Sf=xe(kf),xf=V({},tl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qi=xe(xf),Ef=V({},Zt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ti}),Cf=xe(Ef),_f=V({},ut,{propertyName:0,elapsedTime:0,pseudoElement:0}),Nf=xe(_f),Pf=V({},tl,{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}),zf=xe(Pf),Lf=[9,13,27,32],ri=Ke&&"CompositionEvent"in window,Ct=null;Ke&&"documentMode"in document&&(Ct=document.documentMode);var Tf=Ke&&"TextEvent"in window&&!Ct,Fs=Ke&&(!ri||Ct&&8<Ct&&11>=Ct),bi=" ",eu=!1;function Us(e,n){switch(e){case"keyup":return Lf.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function As(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Fn=!1;function Rf(e,n){switch(e){case"compositionend":return As(n);case"keypress":return n.which!==32?null:(eu=!0,bi);case"textInput":return e=n.data,e===bi&&eu?null:e;default:return null}}function jf(e,n){if(Fn)return e==="compositionend"||!ri&&Us(e,n)?(e=Is(),Sr=ei=tn=null,Fn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Fs&&n.locale!=="ko"?null:n.data;default:return null}}var Mf={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 nu(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Mf[e.type]:n==="textarea"}function $s(e,n,t,r){ys(r),n=Fr(n,"onChange"),0<n.length&&(t=new ni("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var _t=null,Ft=null;function Of(e){Js(e,0)}function rl(e){var n=$n(e);if(cs(n))return e}function Df(e,n){if(e==="change")return n}var Bs=!1;if(Ke){var zl;if(Ke){var Ll="oninput"in document;if(!Ll){var tu=document.createElement("div");tu.setAttribute("oninput","return;"),Ll=typeof tu.oninput=="function"}zl=Ll}else zl=!1;Bs=zl&&(!document.documentMode||9<document.documentMode)}function ru(){_t&&(_t.detachEvent("onpropertychange",Vs),Ft=_t=null)}function Vs(e){if(e.propertyName==="value"&&rl(Ft)){var n=[];$s(n,Ft,e,Xo(e)),Ss(Of,n)}}function If(e,n,t){e==="focusin"?(ru(),_t=n,Ft=t,_t.attachEvent("onpropertychange",Vs)):e==="focusout"&&ru()}function Ff(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return rl(Ft)}function Uf(e,n){if(e==="click")return rl(n)}function Af(e,n){if(e==="input"||e==="change")return rl(n)}function $f(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var De=typeof Object.is=="function"?Object.is:$f;function Ut(e,n){if(De(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var l=t[r];if(!Kl.call(n,l)||!De(e[l],n[l]))return!1}return!0}function lu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ou(e,n){var t=lu(e);e=0;for(var r;t;){if(t.nodeType===3){if(r=e+t.textContent.length,e<=n&&r>=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=lu(t)}}function Ws(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Ws(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Hs(){for(var e=window,n=Tr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Tr(e.document)}return n}function li(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Bf(e){var n=Hs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Ws(t.ownerDocument.documentElement,t)){if(r!==null&&li(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=ou(t,o);var i=ou(t,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(n),e.extend(i.node,i.offset)):(n.setEnd(i.node,i.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<n.length;t++)e=n[t],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Vf=Ke&&"documentMode"in document&&11>=document.documentMode,Un=null,fo=null,Nt=null,po=!1;function iu(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;po||Un==null||Un!==Tr(r)||(r=Un,"selectionStart"in r&&li(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Nt&&Ut(Nt,r)||(Nt=r,r=Fr(fo,"onSelect"),0<r.length&&(n=new ni("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=Un)))}function ar(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var An={animationend:ar("Animation","AnimationEnd"),animationiteration:ar("Animation","AnimationIteration"),animationstart:ar("Animation","AnimationStart"),transitionend:ar("Transition","TransitionEnd")},Tl={},Qs={};Ke&&(Qs=document.createElement("div").style,"AnimationEvent"in window||(delete An.animationend.animation,delete An.animationiteration.animation,delete An.animationstart.animation),"TransitionEvent"in window||delete An.transitionend.transition);function ll(e){if(Tl[e])return Tl[e];if(!An[e])return e;var n=An[e],t;for(t in n)if(n.hasOwnProperty(t)&&t in Qs)return Tl[e]=n[t];return e}var Ks=ll("animationend"),Ys=ll("animationiteration"),Gs=ll("animationstart"),Xs=ll("transitionend"),Zs=new Map,uu="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".split(" ");function hn(e,n){Zs.set(e,n),jn(n,[e])}for(var Rl=0;Rl<uu.length;Rl++){var jl=uu[Rl],Wf=jl.toLowerCase(),Hf=jl[0].toUpperCase()+jl.slice(1);hn(Wf,"on"+Hf)}hn(Ks,"onAnimationEnd");hn(Ys,"onAnimationIteration");hn(Gs,"onAnimationStart");hn("dblclick","onDoubleClick");hn("focusin","onFocus");hn("focusout","onBlur");hn(Xs,"onTransitionEnd");bn("onMouseEnter",["mouseout","mouseover"]);bn("onMouseLeave",["mouseout","mouseover"]);bn("onPointerEnter",["pointerout","pointerover"]);bn("onPointerLeave",["pointerout","pointerover"]);jn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));jn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));jn("onBeforeInput",["compositionend","keypress","textInput","paste"]);jn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));jn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));jn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var St="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qf=new Set("cancel close invalid load scroll toggle".split(" ").concat(St));function su(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,Vc(r,n,void 0,e),e.currentTarget=null}function Js(e,n){n=(n&4)!==0;for(var t=0;t<e.length;t++){var r=e[t],l=r.event;r=r.listeners;e:{var o=void 0;if(n)for(var i=r.length-1;0<=i;i--){var u=r[i],s=u.instance,c=u.currentTarget;if(u=u.listener,s!==o&&l.isPropagationStopped())break e;su(l,u,c),o=s}else for(i=0;i<r.length;i++){if(u=r[i],s=u.instance,c=u.currentTarget,u=u.listener,s!==o&&l.isPropagationStopped())break e;su(l,u,c),o=s}}}if(jr)throw e=uo,jr=!1,uo=null,e}function F(e,n){var t=n[go];t===void 0&&(t=n[go]=new Set);var r=e+"__bubble";t.has(r)||(qs(n,e,2,!1),t.add(r))}function Ml(e,n,t){var r=0;n&&(r|=4),qs(t,e,r,n)}var cr="_reactListening"+Math.random().toString(36).slice(2);function At(e){if(!e[cr]){e[cr]=!0,os.forEach(function(t){t!=="selectionchange"&&(Qf.has(t)||Ml(t,!1,e),Ml(t,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[cr]||(n[cr]=!0,Ml("selectionchange",!1,n))}}function qs(e,n,t,r){switch(Ds(n)){case 1:var l=lf;break;case 4:l=of;break;default:l=bo}t=l.bind(null,n,t,e),l=void 0,!io||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(n,t,{capture:!0,passive:l}):e.addEventListener(n,t,!0):l!==void 0?e.addEventListener(n,t,{passive:l}):e.addEventListener(n,t,!1)}function Ol(e,n,t,r,l){var o=r;if(!(n&1)&&!(n&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var u=r.stateNode.containerInfo;if(u===l||u.nodeType===8&&u.parentNode===l)break;if(i===4)for(i=r.return;i!==null;){var s=i.tag;if((s===3||s===4)&&(s=i.stateNode.containerInfo,s===l||s.nodeType===8&&s.parentNode===l))return;i=i.return}for(;u!==null;){if(i=xn(u),i===null)return;if(s=i.tag,s===5||s===6){r=o=i;continue e}u=u.parentNode}}r=r.return}Ss(function(){var c=o,h=Xo(t),m=[];e:{var p=Zs.get(e);if(p!==void 0){var w=ni,g=e;switch(e){case"keypress":if(xr(t)===0)break e;case"keydown":case"keyup":w=Sf;break;case"focusin":g="focus",w=Pl;break;case"focusout":g="blur",w=Pl;break;case"beforeblur":case"afterblur":w=Pl;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=Zi;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=af;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=Cf;break;case Ks:case Ys:case Gs:w=df;break;case Xs:w=Nf;break;case"scroll":w=uf;break;case"wheel":w=zf;break;case"copy":case"cut":case"paste":w=mf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=qi}var S=(n&4)!==0,D=!S&&e==="scroll",f=S?p!==null?p+"Capture":null:p;S=[];for(var a=c,d;a!==null;){d=a;var v=d.stateNode;if(d.tag===5&&v!==null&&(d=v,f!==null&&(v=Mt(a,f),v!=null&&S.push($t(a,v,d)))),D)break;a=a.return}0<S.length&&(p=new w(p,g,null,t,h),m.push({event:p,listeners:S}))}}if(!(n&7)){e:{if(p=e==="mouseover"||e==="pointerover",w=e==="mouseout"||e==="pointerout",p&&t!==lo&&(g=t.relatedTarget||t.fromElement)&&(xn(g)||g[Ye]))break e;if((w||p)&&(p=h.window===h?h:(p=h.ownerDocument)?p.defaultView||p.parentWindow:window,w?(g=t.relatedTarget||t.toElement,w=c,g=g?xn(g):null,g!==null&&(D=Mn(g),g!==D||g.tag!==5&&g.tag!==6)&&(g=null)):(w=null,g=c),w!==g)){if(S=Zi,v="onMouseLeave",f="onMouseEnter",a="mouse",(e==="pointerout"||e==="pointerover")&&(S=qi,v="onPointerLeave",f="onPointerEnter",a="pointer"),D=w==null?p:$n(w),d=g==null?p:$n(g),p=new S(v,a+"leave",w,t,h),p.target=D,p.relatedTarget=d,v=null,xn(h)===c&&(S=new S(f,a+"enter",g,t,h),S.target=d,S.relatedTarget=D,v=S),D=v,w&&g)n:{for(S=w,f=g,a=0,d=S;d;d=On(d))a++;for(d=0,v=f;v;v=On(v))d++;for(;0<a-d;)S=On(S),a--;for(;0<d-a;)f=On(f),d--;for(;a--;){if(S===f||f!==null&&S===f.alternate)break n;S=On(S),f=On(f)}S=null}else S=null;w!==null&&au(m,p,w,S,!1),g!==null&&D!==null&&au(m,D,g,S,!0)}}e:{if(p=c?$n(c):window,w=p.nodeName&&p.nodeName.toLowerCase(),w==="select"||w==="input"&&p.type==="file")var E=Df;else if(nu(p))if(Bs)E=Af;else{E=Ff;var N=If}else(w=p.nodeName)&&w.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(E=Uf);if(E&&(E=E(e,c))){$s(m,E,t,h);break e}N&&N(e,p,c),e==="focusout"&&(N=p._wrapperState)&&N.controlled&&p.type==="number"&&bl(p,"number",p.value)}switch(N=c?$n(c):window,e){case"focusin":(nu(N)||N.contentEditable==="true")&&(Un=N,fo=c,Nt=null);break;case"focusout":Nt=fo=Un=null;break;case"mousedown":po=!0;break;case"contextmenu":case"mouseup":case"dragend":po=!1,iu(m,t,h);break;case"selectionchange":if(Vf)break;case"keydown":case"keyup":iu(m,t,h)}var k;if(ri)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else Fn?Us(e,t)&&(x="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(x="onCompositionStart");x&&(Fs&&t.locale!=="ko"&&(Fn||x!=="onCompositionStart"?x==="onCompositionEnd"&&Fn&&(k=Is()):(tn=h,ei="value"in tn?tn.value:tn.textContent,Fn=!0)),N=Fr(c,x),0<N.length&&(x=new Ji(x,e,null,t,h),m.push({event:x,listeners:N}),k?x.data=k:(k=As(t),k!==null&&(x.data=k)))),(k=Tf?Rf(e,t):jf(e,t))&&(c=Fr(c,"onBeforeInput"),0<c.length&&(h=new Ji("onBeforeInput","beforeinput",null,t,h),m.push({event:h,listeners:c}),h.data=k))}Js(m,n)})}function $t(e,n,t){return{instance:e,listener:n,currentTarget:t}}function Fr(e,n){for(var t=n+"Capture",r=[];e!==null;){var l=e,o=l.stateNode;l.tag===5&&o!==null&&(l=o,o=Mt(e,t),o!=null&&r.unshift($t(e,o,l)),o=Mt(e,n),o!=null&&r.push($t(e,o,l))),e=e.return}return r}function On(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function au(e,n,t,r,l){for(var o=n._reactName,i=[];t!==null&&t!==r;){var u=t,s=u.alternate,c=u.stateNode;if(s!==null&&s===r)break;u.tag===5&&c!==null&&(u=c,l?(s=Mt(t,o),s!=null&&i.unshift($t(t,s,u))):l||(s=Mt(t,o),s!=null&&i.push($t(t,s,u)))),t=t.return}i.length!==0&&e.push({event:n,listeners:i})}var Kf=/\r\n?/g,Yf=/\u0000|\uFFFD/g;function cu(e){return(typeof e=="string"?e:""+e).replace(Kf,` |
|
`).replace(Yf,"")}function fr(e,n,t){if(n=cu(n),cu(e)!==n&&t)throw Error(y(425))}function Ur(){}var mo=null,ho=null;function vo(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var yo=typeof setTimeout=="function"?setTimeout:void 0,Gf=typeof clearTimeout=="function"?clearTimeout:void 0,fu=typeof Promise=="function"?Promise:void 0,Xf=typeof queueMicrotask=="function"?queueMicrotask:typeof fu<"u"?function(e){return fu.resolve(null).then(e).catch(Zf)}:yo;function Zf(e){setTimeout(function(){throw e})}function Dl(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&l.nodeType===8)if(t=l.data,t==="/$"){if(r===0){e.removeChild(l),It(n);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=l}while(t);It(n)}function sn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function du(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"){if(n===0)return e;n--}else t==="/$"&&n++}e=e.previousSibling}return null}var st=Math.random().toString(36).slice(2),Ue="__reactFiber$"+st,Bt="__reactProps$"+st,Ye="__reactContainer$"+st,go="__reactEvents$"+st,Jf="__reactListeners$"+st,qf="__reactHandles$"+st;function xn(e){var n=e[Ue];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Ye]||t[Ue]){if(t=n.alternate,n.child!==null||t!==null&&t.child!==null)for(e=du(e);e!==null;){if(t=e[Ue])return t;e=du(e)}return n}e=t,t=e.parentNode}return null}function Jt(e){return e=e[Ue]||e[Ye],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function $n(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(y(33))}function ol(e){return e[Bt]||null}var wo=[],Bn=-1;function vn(e){return{current:e}}function U(e){0>Bn||(e.current=wo[Bn],wo[Bn]=null,Bn--)}function I(e,n){Bn++,wo[Bn]=e.current,e.current=n}var mn={},ue=vn(mn),me=vn(!1),Pn=mn;function et(e,n){var t=e.type.contextTypes;if(!t)return mn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in t)l[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function Ar(){U(me),U(ue)}function pu(e,n,t){if(ue.current!==mn)throw Error(y(168));I(ue,n),I(me,t)}function bs(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Dc(e)||"Unknown",l));return V({},t,r)}function $r(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mn,Pn=ue.current,I(ue,e),I(me,me.current),!0}function mu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=bs(e,n,Pn),r.__reactInternalMemoizedMergedChildContext=e,U(me),U(ue),I(ue,e)):U(me),I(me,t)}var Ve=null,il=!1,Il=!1;function ea(e){Ve===null?Ve=[e]:Ve.push(e)}function bf(e){il=!0,ea(e)}function yn(){if(!Il&&Ve!==null){Il=!0;var e=0,n=O;try{var t=Ve;for(O=1;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}Ve=null,il=!1}catch(l){throw Ve!==null&&(Ve=Ve.slice(e+1)),_s(Zo,yn),l}finally{O=n,Il=!1}}return null}var Vn=[],Wn=0,Br=null,Vr=0,Ee=[],Ce=0,zn=null,We=1,He="";function kn(e,n){Vn[Wn++]=Vr,Vn[Wn++]=Br,Br=e,Vr=n}function na(e,n,t){Ee[Ce++]=We,Ee[Ce++]=He,Ee[Ce++]=zn,zn=e;var r=We;e=He;var l=32-Me(r)-1;r&=~(1<<l),t+=1;var o=32-Me(n)+l;if(30<o){var i=l-l%5;o=(r&(1<<i)-1).toString(32),r>>=i,l-=i,We=1<<32-Me(n)+l|t<<l|r,He=o+e}else We=1<<o|t<<l|r,He=e}function oi(e){e.return!==null&&(kn(e,1),na(e,1,0))}function ii(e){for(;e===Br;)Br=Vn[--Wn],Vn[Wn]=null,Vr=Vn[--Wn],Vn[Wn]=null;for(;e===zn;)zn=Ee[--Ce],Ee[Ce]=null,He=Ee[--Ce],Ee[Ce]=null,We=Ee[--Ce],Ee[Ce]=null}var we=null,ge=null,A=!1,je=null;function ta(e,n){var t=_e(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)}function hu(e,n){switch(e.tag){case 5:var t=e.type;return n=n.nodeType!==1||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,we=e,ge=sn(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,we=e,ge=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(t=zn!==null?{id:We,overflow:He}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},t=_e(18,null,null,0),t.stateNode=n,t.return=e,e.child=t,we=e,ge=null,!0):!1;default:return!1}}function ko(e){return(e.mode&1)!==0&&(e.flags&128)===0}function So(e){if(A){var n=ge;if(n){var t=n;if(!hu(e,n)){if(ko(e))throw Error(y(418));n=sn(t.nextSibling);var r=we;n&&hu(e,n)?ta(r,t):(e.flags=e.flags&-4097|2,A=!1,we=e)}}else{if(ko(e))throw Error(y(418));e.flags=e.flags&-4097|2,A=!1,we=e}}}function vu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;we=e}function dr(e){if(e!==we)return!1;if(!A)return vu(e),A=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!vo(e.type,e.memoizedProps)),n&&(n=ge)){if(ko(e))throw ra(),Error(y(418));for(;n;)ta(e,n),n=sn(n.nextSibling)}if(vu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(y(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){ge=sn(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}ge=null}}else ge=we?sn(e.stateNode.nextSibling):null;return!0}function ra(){for(var e=ge;e;)e=sn(e.nextSibling)}function nt(){ge=we=null,A=!1}function ui(e){je===null?je=[e]:je.push(e)}var ed=Ze.ReactCurrentBatchConfig;function Te(e,n){if(e&&e.defaultProps){n=V({},n),e=e.defaultProps;for(var t in e)n[t]===void 0&&(n[t]=e[t]);return n}return n}var Wr=vn(null),Hr=null,Hn=null,si=null;function ai(){si=Hn=Hr=null}function ci(e){var n=Wr.current;U(Wr),e._currentValue=n}function xo(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Jn(e,n){Hr=e,si=Hn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(pe=!0),e.firstContext=null)}function Pe(e){var n=e._currentValue;if(si!==e)if(e={context:e,memoizedValue:n,next:null},Hn===null){if(Hr===null)throw Error(y(308));Hn=e,Hr.dependencies={lanes:0,firstContext:e}}else Hn=Hn.next=e;return n}var En=null;function fi(e){En===null?En=[e]:En.push(e)}function la(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,fi(n)):(t.next=l.next,l.next=t),n.interleaved=t,Ge(e,r)}function Ge(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var be=!1;function di(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oa(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Qe(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function an(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,M&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Ge(e,t)}return l=r.interleaved,l===null?(n.next=n,fi(r)):(n.next=l.next,l.next=n),r.interleaved=n,Ge(e,t)}function Er(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Jo(e,t)}}function yu(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,o=null;if(t=t.firstBaseUpdate,t!==null){do{var i={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};o===null?l=o=i:o=o.next=i,t=t.next}while(t!==null);o===null?l=o=n:o=o.next=n}else l=o=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Qr(e,n,t,r){var l=e.updateQueue;be=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,i===null?o=c:i.next=c,i=s;var h=e.alternate;h!==null&&(h=h.updateQueue,u=h.lastBaseUpdate,u!==i&&(u===null?h.firstBaseUpdate=c:u.next=c,h.lastBaseUpdate=s))}if(o!==null){var m=l.baseState;i=0,h=c=s=null,u=o;do{var p=u.lane,w=u.eventTime;if((r&p)===p){h!==null&&(h=h.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,S=u;switch(p=n,w=t,S.tag){case 1:if(g=S.payload,typeof g=="function"){m=g.call(w,m,p);break e}m=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=S.payload,p=typeof g=="function"?g.call(w,m,p):g,p==null)break e;m=V({},m,p);break e;case 2:be=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[u]:p.push(u))}else w={eventTime:w,lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},h===null?(c=h=w,s=m):h=h.next=w,i|=p;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;p=u,u=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(h===null&&(s=m),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=h,n=l.shared.interleaved,n!==null){l=n;do i|=l.lane,l=l.next;while(l!==n)}else o===null&&(l.shared.lanes=0);Tn|=i,e.lanes=i,e.memoizedState=m}}function gu(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var r=e[n],l=r.callback;if(l!==null){if(r.callback=null,r=t,typeof l!="function")throw Error(y(191,l));l.call(r)}}}var ia=new ls.Component().refs;function Eo(e,n,t,r){n=e.memoizedState,t=t(r,n),t=t==null?n:V({},n,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var ul={isMounted:function(e){return(e=e._reactInternals)?Mn(e)===e:!1},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=ae(),l=fn(e),o=Qe(r,l);o.payload=n,t!=null&&(o.callback=t),n=an(e,o,l),n!==null&&(Oe(n,e,l,r),Er(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=ae(),l=fn(e),o=Qe(r,l);o.tag=1,o.payload=n,t!=null&&(o.callback=t),n=an(e,o,l),n!==null&&(Oe(n,e,l,r),Er(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=ae(),r=fn(e),l=Qe(t,r);l.tag=2,n!=null&&(l.callback=n),n=an(e,l,r),n!==null&&(Oe(n,e,r,t),Er(n,e,r))}};function wu(e,n,t,r,l,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,i):n.prototype&&n.prototype.isPureReactComponent?!Ut(t,r)||!Ut(l,o):!0}function ua(e,n,t){var r=!1,l=mn,o=n.contextType;return typeof o=="object"&&o!==null?o=Pe(o):(l=he(n)?Pn:ue.current,r=n.contextTypes,o=(r=r!=null)?et(e,l):mn),n=new n(t,o),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=ul,e.stateNode=n,n._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),n}function ku(e,n,t,r){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(t,r),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&ul.enqueueReplaceState(n,n.state,null)}function Co(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs=ia,di(e);var o=n.contextType;typeof o=="object"&&o!==null?l.context=Pe(o):(o=he(n)?Pn:ue.current,l.context=et(e,o)),l.state=e.memoizedState,o=n.getDerivedStateFromProps,typeof o=="function"&&(Eo(e,n,o,t),l.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(n=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),n!==l.state&&ul.enqueueReplaceState(l,l.state,null),Qr(e,t,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function ht(e,n,t){if(e=t.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(t._owner){if(t=t._owner,t){if(t.tag!==1)throw Error(y(309));var r=t.stateNode}if(!r)throw Error(y(147,e));var l=r,o=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===o?n.ref:(n=function(i){var u=l.refs;u===ia&&(u=l.refs={}),i===null?delete u[o]:u[o]=i},n._stringRef=o,n)}if(typeof e!="string")throw Error(y(284));if(!t._owner)throw Error(y(290,e))}return e}function pr(e,n){throw e=Object.prototype.toString.call(n),Error(y(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Su(e){var n=e._init;return n(e._payload)}function sa(e){function n(f,a){if(e){var d=f.deletions;d===null?(f.deletions=[a],f.flags|=16):d.push(a)}}function t(f,a){if(!e)return null;for(;a!==null;)n(f,a),a=a.sibling;return null}function r(f,a){for(f=new Map;a!==null;)a.key!==null?f.set(a.key,a):f.set(a.index,a),a=a.sibling;return f}function l(f,a){return f=dn(f,a),f.index=0,f.sibling=null,f}function o(f,a,d){return f.index=d,e?(d=f.alternate,d!==null?(d=d.index,d<a?(f.flags|=2,a):d):(f.flags|=2,a)):(f.flags|=1048576,a)}function i(f){return e&&f.alternate===null&&(f.flags|=2),f}function u(f,a,d,v){return a===null||a.tag!==6?(a=Wl(d,f.mode,v),a.return=f,a):(a=l(a,d),a.return=f,a)}function s(f,a,d,v){var E=d.type;return E===In?h(f,a,d.props.children,v,d.key):a!==null&&(a.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===qe&&Su(E)===a.type)?(v=l(a,d.props),v.ref=ht(f,a,d),v.return=f,v):(v=Lr(d.type,d.key,d.props,null,f.mode,v),v.ref=ht(f,a,d),v.return=f,v)}function c(f,a,d,v){return a===null||a.tag!==4||a.stateNode.containerInfo!==d.containerInfo||a.stateNode.implementation!==d.implementation?(a=Hl(d,f.mode,v),a.return=f,a):(a=l(a,d.children||[]),a.return=f,a)}function h(f,a,d,v,E){return a===null||a.tag!==7?(a=Nn(d,f.mode,v,E),a.return=f,a):(a=l(a,d),a.return=f,a)}function m(f,a,d){if(typeof a=="string"&&a!==""||typeof a=="number")return a=Wl(""+a,f.mode,d),a.return=f,a;if(typeof a=="object"&&a!==null){switch(a.$$typeof){case tr:return d=Lr(a.type,a.key,a.props,null,f.mode,d),d.ref=ht(f,null,a),d.return=f,d;case Dn:return a=Hl(a,f.mode,d),a.return=f,a;case qe:var v=a._init;return m(f,v(a._payload),d)}if(wt(a)||ct(a))return a=Nn(a,f.mode,d,null),a.return=f,a;pr(f,a)}return null}function p(f,a,d,v){var E=a!==null?a.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return E!==null?null:u(f,a,""+d,v);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case tr:return d.key===E?s(f,a,d,v):null;case Dn:return d.key===E?c(f,a,d,v):null;case qe:return E=d._init,p(f,a,E(d._payload),v)}if(wt(d)||ct(d))return E!==null?null:h(f,a,d,v,null);pr(f,d)}return null}function w(f,a,d,v,E){if(typeof v=="string"&&v!==""||typeof v=="number")return f=f.get(d)||null,u(a,f,""+v,E);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case tr:return f=f.get(v.key===null?d:v.key)||null,s(a,f,v,E);case Dn:return f=f.get(v.key===null?d:v.key)||null,c(a,f,v,E);case qe:var N=v._init;return w(f,a,d,N(v._payload),E)}if(wt(v)||ct(v))return f=f.get(d)||null,h(a,f,v,E,null);pr(a,v)}return null}function g(f,a,d,v){for(var E=null,N=null,k=a,x=a=0,j=null;k!==null&&x<d.length;x++){k.index>x?(j=k,k=null):j=k.sibling;var P=p(f,k,d[x],v);if(P===null){k===null&&(k=j);break}e&&k&&P.alternate===null&&n(f,k),a=o(P,a,x),N===null?E=P:N.sibling=P,N=P,k=j}if(x===d.length)return t(f,k),A&&kn(f,x),E;if(k===null){for(;x<d.length;x++)k=m(f,d[x],v),k!==null&&(a=o(k,a,x),N===null?E=k:N.sibling=k,N=k);return A&&kn(f,x),E}for(k=r(f,k);x<d.length;x++)j=w(k,f,x,d[x],v),j!==null&&(e&&j.alternate!==null&&k.delete(j.key===null?x:j.key),a=o(j,a,x),N===null?E=j:N.sibling=j,N=j);return e&&k.forEach(function(Y){return n(f,Y)}),A&&kn(f,x),E}function S(f,a,d,v){var E=ct(d);if(typeof E!="function")throw Error(y(150));if(d=E.call(d),d==null)throw Error(y(151));for(var N=E=null,k=a,x=a=0,j=null,P=d.next();k!==null&&!P.done;x++,P=d.next()){k.index>x?(j=k,k=null):j=k.sibling;var Y=p(f,k,P.value,v);if(Y===null){k===null&&(k=j);break}e&&k&&Y.alternate===null&&n(f,k),a=o(Y,a,x),N===null?E=Y:N.sibling=Y,N=Y,k=j}if(P.done)return t(f,k),A&&kn(f,x),E;if(k===null){for(;!P.done;x++,P=d.next())P=m(f,P.value,v),P!==null&&(a=o(P,a,x),N===null?E=P:N.sibling=P,N=P);return A&&kn(f,x),E}for(k=r(f,k);!P.done;x++,P=d.next())P=w(k,f,x,P.value,v),P!==null&&(e&&P.alternate!==null&&k.delete(P.key===null?x:P.key),a=o(P,a,x),N===null?E=P:N.sibling=P,N=P);return e&&k.forEach(function(re){return n(f,re)}),A&&kn(f,x),E}function D(f,a,d,v){if(typeof d=="object"&&d!==null&&d.type===In&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case tr:e:{for(var E=d.key,N=a;N!==null;){if(N.key===E){if(E=d.type,E===In){if(N.tag===7){t(f,N.sibling),a=l(N,d.props.children),a.return=f,f=a;break e}}else if(N.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===qe&&Su(E)===N.type){t(f,N.sibling),a=l(N,d.props),a.ref=ht(f,N,d),a.return=f,f=a;break e}t(f,N);break}else n(f,N);N=N.sibling}d.type===In?(a=Nn(d.props.children,f.mode,v,d.key),a.return=f,f=a):(v=Lr(d.type,d.key,d.props,null,f.mode,v),v.ref=ht(f,a,d),v.return=f,f=v)}return i(f);case Dn:e:{for(N=d.key;a!==null;){if(a.key===N)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){t(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{t(f,a);break}else n(f,a);a=a.sibling}a=Hl(d,f.mode,v),a.return=f,f=a}return i(f);case qe:return N=d._init,D(f,a,N(d._payload),v)}if(wt(d))return g(f,a,d,v);if(ct(d))return S(f,a,d,v);pr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(f,a.sibling),a=l(a,d),a.return=f,f=a):(t(f,a),a=Wl(d,f.mode,v),a.return=f,f=a),i(f)):t(f,a)}return D}var tt=sa(!0),aa=sa(!1),qt={},$e=vn(qt),Vt=vn(qt),Wt=vn(qt);function Cn(e){if(e===qt)throw Error(y(174));return e}function pi(e,n){switch(I(Wt,n),I(Vt,e),I($e,qt),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:no(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=no(n,e)}U($e),I($e,n)}function rt(){U($e),U(Vt),U(Wt)}function ca(e){Cn(Wt.current);var n=Cn($e.current),t=no(n,e.type);n!==t&&(I(Vt,e),I($e,t))}function mi(e){Vt.current===e&&(U($e),U(Vt))}var $=vn(0);function Kr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Fl=[];function hi(){for(var e=0;e<Fl.length;e++)Fl[e]._workInProgressVersionPrimary=null;Fl.length=0}var Cr=Ze.ReactCurrentDispatcher,Ul=Ze.ReactCurrentBatchConfig,Ln=0,B=null,X=null,q=null,Yr=!1,Pt=!1,Ht=0,nd=0;function le(){throw Error(y(321))}function vi(e,n){if(n===null)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!De(e[t],n[t]))return!1;return!0}function yi(e,n,t,r,l,o){if(Ln=o,B=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Cr.current=e===null||e.memoizedState===null?od:id,e=t(r,l),Pt){o=0;do{if(Pt=!1,Ht=0,25<=o)throw Error(y(301));o+=1,q=X=null,n.updateQueue=null,Cr.current=ud,e=t(r,l)}while(Pt)}if(Cr.current=Gr,n=X!==null&&X.next!==null,Ln=0,q=X=B=null,Yr=!1,n)throw Error(y(300));return e}function gi(){var e=Ht!==0;return Ht=0,e}function Fe(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return q===null?B.memoizedState=q=e:q=q.next=e,q}function ze(){if(X===null){var e=B.alternate;e=e!==null?e.memoizedState:null}else e=X.next;var n=q===null?B.memoizedState:q.next;if(n!==null)q=n,X=e;else{if(e===null)throw Error(y(310));X=e,e={memoizedState:X.memoizedState,baseState:X.baseState,baseQueue:X.baseQueue,queue:X.queue,next:null},q===null?B.memoizedState=q=e:q=q.next=e}return q}function Qt(e,n){return typeof n=="function"?n(e):n}function Al(e){var n=ze(),t=n.queue;if(t===null)throw Error(y(311));t.lastRenderedReducer=e;var r=X,l=r.baseQueue,o=t.pending;if(o!==null){if(l!==null){var i=l.next;l.next=o.next,o.next=i}r.baseQueue=l=o,t.pending=null}if(l!==null){o=l.next,r=r.baseState;var u=i=null,s=null,c=o;do{var h=c.lane;if((Ln&h)===h)s!==null&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var m={lane:h,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};s===null?(u=s=m,i=r):s=s.next=m,B.lanes|=h,Tn|=h}c=c.next}while(c!==null&&c!==o);s===null?i=r:s.next=u,De(r,n.memoizedState)||(pe=!0),n.memoizedState=r,n.baseState=i,n.baseQueue=s,t.lastRenderedState=r}if(e=t.interleaved,e!==null){l=e;do o=l.lane,B.lanes|=o,Tn|=o,l=l.next;while(l!==e)}else l===null&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function $l(e){var n=ze(),t=n.queue;if(t===null)throw Error(y(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,o=n.memoizedState;if(l!==null){t.pending=null;var i=l=l.next;do o=e(o,i.action),i=i.next;while(i!==l);De(o,n.memoizedState)||(pe=!0),n.memoizedState=o,n.baseQueue===null&&(n.baseState=o),t.lastRenderedState=o}return[o,r]}function fa(){}function da(e,n){var t=B,r=ze(),l=n(),o=!De(r.memoizedState,l);if(o&&(r.memoizedState=l,pe=!0),r=r.queue,wi(ha.bind(null,t,r,e),[e]),r.getSnapshot!==n||o||q!==null&&q.memoizedState.tag&1){if(t.flags|=2048,Kt(9,ma.bind(null,t,r,l,n),void 0,null),b===null)throw Error(y(349));Ln&30||pa(t,n,l)}return l}function pa(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},n=B.updateQueue,n===null?(n={lastEffect:null,stores:null},B.updateQueue=n,n.stores=[e]):(t=n.stores,t===null?n.stores=[e]:t.push(e))}function ma(e,n,t,r){n.value=t,n.getSnapshot=r,va(n)&&ya(e)}function ha(e,n,t){return t(function(){va(n)&&ya(e)})}function va(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!De(e,t)}catch{return!0}}function ya(e){var n=Ge(e,1);n!==null&&Oe(n,e,1,-1)}function xu(e){var n=Fe();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qt,lastRenderedState:e},n.queue=e,e=e.dispatch=ld.bind(null,B,e),[n.memoizedState,e]}function Kt(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},n=B.updateQueue,n===null?(n={lastEffect:null,stores:null},B.updateQueue=n,n.lastEffect=e.next=e):(t=n.lastEffect,t===null?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e)),e}function ga(){return ze().memoizedState}function _r(e,n,t,r){var l=Fe();B.flags|=e,l.memoizedState=Kt(1|n,t,void 0,r===void 0?null:r)}function sl(e,n,t,r){var l=ze();r=r===void 0?null:r;var o=void 0;if(X!==null){var i=X.memoizedState;if(o=i.destroy,r!==null&&vi(r,i.deps)){l.memoizedState=Kt(n,t,o,r);return}}B.flags|=e,l.memoizedState=Kt(1|n,t,o,r)}function Eu(e,n){return _r(8390656,8,e,n)}function wi(e,n){return sl(2048,8,e,n)}function wa(e,n){return sl(4,2,e,n)}function ka(e,n){return sl(4,4,e,n)}function Sa(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function xa(e,n,t){return t=t!=null?t.concat([e]):null,sl(4,4,Sa.bind(null,n,e),t)}function ki(){}function Ea(e,n){var t=ze();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&vi(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Ca(e,n){var t=ze();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&vi(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function _a(e,n,t){return Ln&21?(De(t,n)||(t=zs(),B.lanes|=t,Tn|=t,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,pe=!0),e.memoizedState=t)}function td(e,n){var t=O;O=t!==0&&4>t?t:4,e(!0);var r=Ul.transition;Ul.transition={};try{e(!1),n()}finally{O=t,Ul.transition=r}}function Na(){return ze().memoizedState}function rd(e,n,t){var r=fn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Pa(e))za(n,t);else if(t=la(e,n,t,r),t!==null){var l=ae();Oe(t,e,r,l),La(t,n,r)}}function ld(e,n,t){var r=fn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Pa(e))za(n,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=n.lastRenderedReducer,o!==null))try{var i=n.lastRenderedState,u=o(i,t);if(l.hasEagerState=!0,l.eagerState=u,De(u,i)){var s=n.interleaved;s===null?(l.next=l,fi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=la(e,n,l,r),t!==null&&(l=ae(),Oe(t,e,r,l),La(t,n,r))}}function Pa(e){var n=e.alternate;return e===B||n!==null&&n===B}function za(e,n){Pt=Yr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function La(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Jo(e,t)}}var Gr={readContext:Pe,useCallback:le,useContext:le,useEffect:le,useImperativeHandle:le,useInsertionEffect:le,useLayoutEffect:le,useMemo:le,useReducer:le,useRef:le,useState:le,useDebugValue:le,useDeferredValue:le,useTransition:le,useMutableSource:le,useSyncExternalStore:le,useId:le,unstable_isNewReconciler:!1},od={readContext:Pe,useCallback:function(e,n){return Fe().memoizedState=[e,n===void 0?null:n],e},useContext:Pe,useEffect:Eu,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,_r(4194308,4,Sa.bind(null,n,e),t)},useLayoutEffect:function(e,n){return _r(4194308,4,e,n)},useInsertionEffect:function(e,n){return _r(4,2,e,n)},useMemo:function(e,n){var t=Fe();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Fe();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=rd.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var n=Fe();return e={current:e},n.memoizedState=e},useState:xu,useDebugValue:ki,useDeferredValue:function(e){return Fe().memoizedState=e},useTransition:function(){var e=xu(!1),n=e[0];return e=td.bind(null,e[1]),Fe().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=B,l=Fe();if(A){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),b===null)throw Error(y(349));Ln&30||pa(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,Eu(ha.bind(null,r,o,e),[e]),r.flags|=2048,Kt(9,ma.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=Fe(),n=b.identifierPrefix;if(A){var t=He,r=We;t=(r&~(1<<32-Me(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Ht++,0<t&&(n+="H"+t.toString(32)),n+=":"}else t=nd++,n=":"+n+"r"+t.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},id={readContext:Pe,useCallback:Ea,useContext:Pe,useEffect:wi,useImperativeHandle:xa,useInsertionEffect:wa,useLayoutEffect:ka,useMemo:Ca,useReducer:Al,useRef:ga,useState:function(){return Al(Qt)},useDebugValue:ki,useDeferredValue:function(e){var n=ze();return _a(n,X.memoizedState,e)},useTransition:function(){var e=Al(Qt)[0],n=ze().memoizedState;return[e,n]},useMutableSource:fa,useSyncExternalStore:da,useId:Na,unstable_isNewReconciler:!1},ud={readContext:Pe,useCallback:Ea,useContext:Pe,useEffect:wi,useImperativeHandle:xa,useInsertionEffect:wa,useLayoutEffect:ka,useMemo:Ca,useReducer:$l,useRef:ga,useState:function(){return $l(Qt)},useDebugValue:ki,useDeferredValue:function(e){var n=ze();return X===null?n.memoizedState=e:_a(n,X.memoizedState,e)},useTransition:function(){var e=$l(Qt)[0],n=ze().memoizedState;return[e,n]},useMutableSource:fa,useSyncExternalStore:da,useId:Na,unstable_isNewReconciler:!1};function lt(e,n){try{var t="",r=n;do t+=Oc(r),r=r.return;while(r);var l=t}catch(o){l=` |
|
Error generating stack: `+o.message+` |
|
`+o.stack}return{value:e,source:n,stack:l,digest:null}}function Bl(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function _o(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var sd=typeof WeakMap=="function"?WeakMap:Map;function Ta(e,n,t){t=Qe(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Zr||(Zr=!0,Do=r),_o(e,n)},t}function Ra(e,n,t){t=Qe(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){_o(e,n)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){_o(e,n),typeof r!="function"&&(cn===null?cn=new Set([this]):cn.add(this));var i=n.stack;this.componentDidCatch(n.value,{componentStack:i!==null?i:""})}),t}function Cu(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new sd;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=xd.bind(null,e,n,t),n.then(e,e))}function _u(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function Nu(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=Qe(-1,1),n.tag=2,an(t,n,1))),t.lanes|=1),e)}var ad=Ze.ReactCurrentOwner,pe=!1;function se(e,n,t,r){n.child=e===null?aa(n,null,t,r):tt(n,e.child,t,r)}function Pu(e,n,t,r,l){t=t.render;var o=n.ref;return Jn(n,l),r=yi(e,n,t,r,o,l),t=gi(),e!==null&&!pe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Xe(e,n,l)):(A&&t&&oi(n),n.flags|=1,se(e,n,r,l),n.child)}function zu(e,n,t,r,l){if(e===null){var o=t.type;return typeof o=="function"&&!zi(o)&&o.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=o,ja(e,n,o,r,l)):(e=Lr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(o=e.child,!(e.lanes&l)){var i=o.memoizedProps;if(t=t.compare,t=t!==null?t:Ut,t(i,r)&&e.ref===n.ref)return Xe(e,n,l)}return n.flags|=1,e=dn(o,r),e.ref=n.ref,e.return=n,n.child=e}function ja(e,n,t,r,l){if(e!==null){var o=e.memoizedProps;if(Ut(o,r)&&e.ref===n.ref)if(pe=!1,n.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(pe=!0);else return n.lanes=e.lanes,Xe(e,n,l)}return No(e,n,t,r,l)}function Ma(e,n,t){var r=n.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},I(Kn,ye),ye|=t;else{if(!(t&1073741824))return e=o!==null?o.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,I(Kn,ye),ye|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:t,I(Kn,ye),ye|=r}else o!==null?(r=o.baseLanes|t,n.memoizedState=null):r=t,I(Kn,ye),ye|=r;return se(e,n,l,t),n.child}function Oa(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function No(e,n,t,r,l){var o=he(t)?Pn:ue.current;return o=et(n,o),Jn(n,l),t=yi(e,n,t,r,o,l),r=gi(),e!==null&&!pe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Xe(e,n,l)):(A&&r&&oi(n),n.flags|=1,se(e,n,t,l),n.child)}function Lu(e,n,t,r,l){if(he(t)){var o=!0;$r(n)}else o=!1;if(Jn(n,l),n.stateNode===null)Nr(e,n),ua(n,t,r),Co(n,t,r,l),r=!0;else if(e===null){var i=n.stateNode,u=n.memoizedProps;i.props=u;var s=i.context,c=t.contextType;typeof c=="object"&&c!==null?c=Pe(c):(c=he(t)?Pn:ue.current,c=et(n,c));var h=t.getDerivedStateFromProps,m=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function";m||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==r||s!==c)&&ku(n,i,r,c),be=!1;var p=n.memoizedState;i.state=p,Qr(n,r,i,l),s=n.memoizedState,u!==r||p!==s||me.current||be?(typeof h=="function"&&(Eo(n,t,h,r),s=n.memoizedState),(u=be||wu(n,t,u,r,p,s,c))?(m||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(n.flags|=4194308)):(typeof i.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=s),i.props=r,i.state=s,i.context=c,r=u):(typeof i.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{i=n.stateNode,oa(e,n),u=n.memoizedProps,c=n.type===n.elementType?u:Te(n.type,u),i.props=c,m=n.pendingProps,p=i.context,s=t.contextType,typeof s=="object"&&s!==null?s=Pe(s):(s=he(t)?Pn:ue.current,s=et(n,s));var w=t.getDerivedStateFromProps;(h=typeof w=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==m||p!==s)&&ku(n,i,r,s),be=!1,p=n.memoizedState,i.state=p,Qr(n,r,i,l);var g=n.memoizedState;u!==m||p!==g||me.current||be?(typeof w=="function"&&(Eo(n,t,w,r),g=n.memoizedState),(c=be||wu(n,t,c,r,p,g,s)||!1)?(h||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,g,s),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,g,s)),typeof i.componentDidUpdate=="function"&&(n.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=g),i.props=r,i.state=g,i.context=s,r=c):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),r=!1)}return Po(e,n,t,r,o,l)}function Po(e,n,t,r,l,o){Oa(e,n);var i=(n.flags&128)!==0;if(!r&&!i)return l&&mu(n,t,!1),Xe(e,n,o);r=n.stateNode,ad.current=n;var u=i&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&i?(n.child=tt(n,e.child,null,o),n.child=tt(n,null,u,o)):se(e,n,u,o),n.memoizedState=r.state,l&&mu(n,t,!0),n.child}function Da(e){var n=e.stateNode;n.pendingContext?pu(e,n.pendingContext,n.pendingContext!==n.context):n.context&&pu(e,n.context,!1),pi(e,n.containerInfo)}function Tu(e,n,t,r,l){return nt(),ui(l),n.flags|=256,se(e,n,t,r),n.child}var zo={dehydrated:null,treeContext:null,retryLane:0};function Lo(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ia(e,n,t){var r=n.pendingProps,l=$.current,o=!1,i=(n.flags&128)!==0,u;if((u=i)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(o=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),I($,l&1),e===null)return So(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(i=r.children,e=r.fallback,o?(r=n.mode,o=n.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=fl(i,r,0,null),e=Nn(e,r,t,null),o.return=n,e.return=n,o.sibling=e,n.child=o,n.child.memoizedState=Lo(t),n.memoizedState=zo,e):Si(n,i));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return cd(e,n,i,r,u,l,t);if(o){o=r.fallback,i=n.mode,l=e.child,u=l.sibling;var s={mode:"hidden",children:r.children};return!(i&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=s,n.deletions=null):(r=dn(l,s),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?o=dn(u,o):(o=Nn(o,i,t,null),o.flags|=2),o.return=n,r.return=n,r.sibling=o,n.child=r,r=o,o=n.child,i=e.child.memoizedState,i=i===null?Lo(t):{baseLanes:i.baseLanes|t,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~t,n.memoizedState=zo,r}return o=e.child,e=o.sibling,r=dn(o,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function Si(e,n){return n=fl({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function mr(e,n,t,r){return r!==null&&ui(r),tt(n,e.child,null,t),e=Si(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function cd(e,n,t,r,l,o,i){if(t)return n.flags&256?(n.flags&=-257,r=Bl(Error(y(422))),mr(e,n,i,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(o=r.fallback,l=n.mode,r=fl({mode:"visible",children:r.children},l,0,null),o=Nn(o,l,i,null),o.flags|=2,r.return=n,o.return=n,r.sibling=o,n.child=r,n.mode&1&&tt(n,e.child,null,i),n.child.memoizedState=Lo(i),n.memoizedState=zo,o);if(!(n.mode&1))return mr(e,n,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,o=Error(y(419)),r=Bl(o,r,void 0),mr(e,n,i,r)}if(u=(i&e.childLanes)!==0,pe||u){if(r=b,r!==null){switch(i&-i){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|i)?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,Ge(e,l),Oe(r,e,l,-1))}return Pi(),r=Bl(Error(y(421))),mr(e,n,i,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Ed.bind(null,e),l._reactRetry=n,null):(e=o.treeContext,ge=sn(l.nextSibling),we=n,A=!0,je=null,e!==null&&(Ee[Ce++]=We,Ee[Ce++]=He,Ee[Ce++]=zn,We=e.id,He=e.overflow,zn=n),n=Si(n,r.children),n.flags|=4096,n)}function Ru(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),xo(e.return,n,t)}function Vl(e,n,t,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(o.isBackwards=n,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=t,o.tailMode=l)}function Fa(e,n,t){var r=n.pendingProps,l=r.revealOrder,o=r.tail;if(se(e,n,r.children,t),r=$.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ru(e,t,n);else if(e.tag===19)Ru(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(I($,r),!(n.mode&1))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;t!==null;)e=t.alternate,e!==null&&Kr(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Vl(n,!1,l,t,o);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&Kr(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Vl(n,!0,t,null,o);break;case"together":Vl(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Nr(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Xe(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),Tn|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(y(153));if(n.child!==null){for(e=n.child,t=dn(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=dn(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function fd(e,n,t){switch(n.tag){case 3:Da(n),nt();break;case 5:ca(n);break;case 1:he(n.type)&&$r(n);break;case 4:pi(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;I(Wr,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(I($,$.current&1),n.flags|=128,null):t&n.child.childLanes?Ia(e,n,t):(I($,$.current&1),e=Xe(e,n,t),e!==null?e.sibling:null);I($,$.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return Fa(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),I($,$.current),r)break;return null;case 22:case 23:return n.lanes=0,Ma(e,n,t)}return Xe(e,n,t)}var Ua,To,Aa,$a;Ua=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};To=function(){};Aa=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,Cn($e.current);var o=null;switch(t){case"input":l=Jl(e,l),r=Jl(e,r),o=[];break;case"select":l=V({},l,{value:void 0}),r=V({},r,{value:void 0}),o=[];break;case"textarea":l=eo(e,l),r=eo(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ur)}to(t,r);var i;t=null;for(c in l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&l[c]!=null)if(c==="style"){var u=l[c];for(i in u)u.hasOwnProperty(i)&&(t||(t={}),t[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Rt.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var s=r[c];if(u=l!=null?l[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(s!=null||u!=null))if(c==="style")if(u){for(i in u)!u.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(t||(t={}),t[i]="");for(i in s)s.hasOwnProperty(i)&&u[i]!==s[i]&&(t||(t={}),t[i]=s[i])}else t||(o||(o=[]),o.push(c,t)),t=s;else c==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,u=u?u.__html:void 0,s!=null&&u!==s&&(o=o||[]).push(c,s)):c==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(c,""+s):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Rt.hasOwnProperty(c)?(s!=null&&c==="onScroll"&&F("scroll",e),o||u===s||(o=[])):(o=o||[]).push(c,s))}t&&(o=o||[]).push("style",t);var c=o;(n.updateQueue=c)&&(n.flags|=4)}};$a=function(e,n,t,r){t!==r&&(n.flags|=4)};function vt(e,n){if(!A)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function oe(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function dd(e,n,t){var r=n.pendingProps;switch(ii(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return oe(n),null;case 1:return he(n.type)&&Ar(),oe(n),null;case 3:return r=n.stateNode,rt(),U(me),U(ue),hi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(dr(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,je!==null&&(Uo(je),je=null))),To(e,n),oe(n),null;case 5:mi(n);var l=Cn(Wt.current);if(t=n.type,e!==null&&n.stateNode!=null)Aa(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(y(166));return oe(n),null}if(e=Cn($e.current),dr(n)){r=n.stateNode,t=n.type;var o=n.memoizedProps;switch(r[Ue]=n,r[Bt]=o,e=(n.mode&1)!==0,t){case"dialog":F("cancel",r),F("close",r);break;case"iframe":case"object":case"embed":F("load",r);break;case"video":case"audio":for(l=0;l<St.length;l++)F(St[l],r);break;case"source":F("error",r);break;case"img":case"image":case"link":F("error",r),F("load",r);break;case"details":F("toggle",r);break;case"input":$i(r,o),F("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},F("invalid",r);break;case"textarea":Vi(r,o),F("invalid",r)}to(t,o),l=null;for(var i in o)if(o.hasOwnProperty(i)){var u=o[i];i==="children"?typeof u=="string"?r.textContent!==u&&(o.suppressHydrationWarning!==!0&&fr(r.textContent,u,e),l=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(o.suppressHydrationWarning!==!0&&fr(r.textContent,u,e),l=["children",""+u]):Rt.hasOwnProperty(i)&&u!=null&&i==="onScroll"&&F("scroll",r)}switch(t){case"input":rr(r),Bi(r,o,!0);break;case"textarea":rr(r),Wi(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Ur)}r=l,n.updateQueue=r,r!==null&&(n.flags|=4)}else{i=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ps(t)),e==="http://www.w3.org/1999/xhtml"?t==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(t,{is:r.is}):(e=i.createElement(t),t==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,t),e[Ue]=n,e[Bt]=r,Ua(e,n,!1,!1),n.stateNode=e;e:{switch(i=ro(t,r),t){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;l<St.length;l++)F(St[l],e);l=r;break;case"source":F("error",e),l=r;break;case"img":case"image":case"link":F("error",e),F("load",e),l=r;break;case"details":F("toggle",e),l=r;break;case"input":$i(e,r),l=Jl(e,r),F("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=V({},r,{value:void 0}),F("invalid",e);break;case"textarea":Vi(e,r),l=eo(e,r),F("invalid",e);break;default:l=r}to(t,l),u=l;for(o in u)if(u.hasOwnProperty(o)){var s=u[o];o==="style"?vs(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&ms(e,s)):o==="children"?typeof s=="string"?(t!=="textarea"||s!=="")&&jt(e,s):typeof s=="number"&&jt(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Rt.hasOwnProperty(o)?s!=null&&o==="onScroll"&&F("scroll",e):s!=null&&Qo(e,o,s,i))}switch(t){case"input":rr(e),Bi(e,r,!1);break;case"textarea":rr(e),Wi(e);break;case"option":r.value!=null&&e.setAttribute("value",""+pn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Yn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Yn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Ur)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return oe(n),null;case 6:if(e&&n.stateNode!=null)$a(e,n,e.memoizedProps,r);else{if(typeof r!="string"&&n.stateNode===null)throw Error(y(166));if(t=Cn(Wt.current),Cn($e.current),dr(n)){if(r=n.stateNode,t=n.memoizedProps,r[Ue]=n,(o=r.nodeValue!==t)&&(e=we,e!==null))switch(e.tag){case 3:fr(r.nodeValue,t,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&fr(r.nodeValue,t,(e.mode&1)!==0)}o&&(n.flags|=4)}else r=(t.nodeType===9?t:t.ownerDocument).createTextNode(r),r[Ue]=n,n.stateNode=r}return oe(n),null;case 13:if(U($),r=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(A&&ge!==null&&n.mode&1&&!(n.flags&128))ra(),nt(),n.flags|=98560,o=!1;else if(o=dr(n),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(y(318));if(o=n.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(y(317));o[Ue]=n}else nt(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;oe(n),o=!1}else je!==null&&(Uo(je),je=null),o=!0;if(!o)return n.flags&65536?n:null}return n.flags&128?(n.lanes=t,n):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(n.child.flags|=8192,n.mode&1&&(e===null||$.current&1?Z===0&&(Z=3):Pi())),n.updateQueue!==null&&(n.flags|=4),oe(n),null);case 4:return rt(),To(e,n),e===null&&At(n.stateNode.containerInfo),oe(n),null;case 10:return ci(n.type._context),oe(n),null;case 17:return he(n.type)&&Ar(),oe(n),null;case 19:if(U($),o=n.memoizedState,o===null)return oe(n),null;if(r=(n.flags&128)!==0,i=o.rendering,i===null)if(r)vt(o,!1);else{if(Z!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(i=Kr(e),i!==null){for(n.flags|=128,vt(o,!1),r=i.updateQueue,r!==null&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;t!==null;)o=t,e=r,o.flags&=14680066,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return I($,$.current&1|2),n.child}e=e.sibling}o.tail!==null&&K()>ot&&(n.flags|=128,r=!0,vt(o,!1),n.lanes=4194304)}else{if(!r)if(e=Kr(i),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),vt(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!A)return oe(n),null}else 2*K()-o.renderingStartTime>ot&&t!==1073741824&&(n.flags|=128,r=!0,vt(o,!1),n.lanes=4194304);o.isBackwards?(i.sibling=n.child,n.child=i):(t=o.last,t!==null?t.sibling=i:n.child=i,o.last=i)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=K(),n.sibling=null,t=$.current,I($,r?t&1|2:t&1),n):(oe(n),null);case 22:case 23:return Ni(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?ye&1073741824&&(oe(n),n.subtreeFlags&6&&(n.flags|=8192)):oe(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function pd(e,n){switch(ii(n),n.tag){case 1:return he(n.type)&&Ar(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return rt(),U(me),U(ue),hi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return mi(n),null;case 13:if(U($),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));nt()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return U($),null;case 4:return rt(),null;case 10:return ci(n.type._context),null;case 22:case 23:return Ni(),null;case 24:return null;default:return null}}var hr=!1,ie=!1,md=typeof WeakSet=="function"?WeakSet:Set,C=null;function Qn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){H(e,n,r)}else t.current=null}function Ro(e,n,t){try{t()}catch(r){H(e,n,r)}}var ju=!1;function hd(e,n){if(mo=Dr,e=Hs(),li(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var i=0,u=-1,s=-1,c=0,h=0,m=e,p=null;n:for(;;){for(var w;m!==t||l!==0&&m.nodeType!==3||(u=i+l),m!==o||r!==0&&m.nodeType!==3||(s=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(w=m.firstChild)!==null;)p=m,m=w;for(;;){if(m===e)break n;if(p===t&&++c===l&&(u=i),p===o&&++h===r&&(s=i),(w=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=w}t=u===-1||s===-1?null:{start:u,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ho={focusedElem:e,selectionRange:t},Dr=!1,C=n;C!==null;)if(n=C,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,C=e;else for(;C!==null;){n=C;try{var g=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var S=g.memoizedProps,D=g.memoizedState,f=n.stateNode,a=f.getSnapshotBeforeUpdate(n.elementType===n.type?S:Te(n.type,S),D);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(v){H(n,n.return,v)}if(e=n.sibling,e!==null){e.return=n.return,C=e;break}C=n.return}return g=ju,ju=!1,g}function zt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Ro(n,t,o)}l=l.next}while(l!==r)}}function al(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function jo(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Ba(e){var n=e.alternate;n!==null&&(e.alternate=null,Ba(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ue],delete n[Bt],delete n[go],delete n[Jf],delete n[qf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Va(e){return e.tag===5||e.tag===3||e.tag===4}function Mu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Va(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Mo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Ur));else if(r!==4&&(e=e.child,e!==null))for(Mo(e,n,t),e=e.sibling;e!==null;)Mo(e,n,t),e=e.sibling}function Oo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Oo(e,n,t),e=e.sibling;e!==null;)Oo(e,n,t),e=e.sibling}var ee=null,Re=!1;function Je(e,n,t){for(t=t.child;t!==null;)Wa(e,n,t),t=t.sibling}function Wa(e,n,t){if(Ae&&typeof Ae.onCommitFiberUnmount=="function")try{Ae.onCommitFiberUnmount(nl,t)}catch{}switch(t.tag){case 5:ie||Qn(t,n);case 6:var r=ee,l=Re;ee=null,Je(e,n,t),ee=r,Re=l,ee!==null&&(Re?(e=ee,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):ee.removeChild(t.stateNode));break;case 18:ee!==null&&(Re?(e=ee,t=t.stateNode,e.nodeType===8?Dl(e.parentNode,t):e.nodeType===1&&Dl(e,t),It(e)):Dl(ee,t.stateNode));break;case 4:r=ee,l=Re,ee=t.stateNode.containerInfo,Re=!0,Je(e,n,t),ee=r,Re=l;break;case 0:case 11:case 14:case 15:if(!ie&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Ro(t,n,i),l=l.next}while(l!==r)}Je(e,n,t);break;case 1:if(!ie&&(Qn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(u){H(t,n,u)}Je(e,n,t);break;case 21:Je(e,n,t);break;case 22:t.mode&1?(ie=(r=ie)||t.memoizedState!==null,Je(e,n,t),ie=r):Je(e,n,t);break;default:Je(e,n,t)}}function Ou(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new md),n.forEach(function(r){var l=Cd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function Le(e,n){var t=n.deletions;if(t!==null)for(var r=0;r<t.length;r++){var l=t[r];try{var o=e,i=n,u=i;e:for(;u!==null;){switch(u.tag){case 5:ee=u.stateNode,Re=!1;break e;case 3:ee=u.stateNode.containerInfo,Re=!0;break e;case 4:ee=u.stateNode.containerInfo,Re=!0;break e}u=u.return}if(ee===null)throw Error(y(160));Wa(o,i,l),ee=null,Re=!1;var s=l.alternate;s!==null&&(s.return=null),l.return=null}catch(c){H(l,n,c)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Ha(n,e),n=n.sibling}function Ha(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Le(n,e),Ie(e),r&4){try{zt(3,e,e.return),al(3,e)}catch(S){H(e,e.return,S)}try{zt(5,e,e.return)}catch(S){H(e,e.return,S)}}break;case 1:Le(n,e),Ie(e),r&512&&t!==null&&Qn(t,t.return);break;case 5:if(Le(n,e),Ie(e),r&512&&t!==null&&Qn(t,t.return),e.flags&32){var l=e.stateNode;try{jt(l,"")}catch(S){H(e,e.return,S)}}if(r&4&&(l=e.stateNode,l!=null)){var o=e.memoizedProps,i=t!==null?t.memoizedProps:o,u=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{u==="input"&&o.type==="radio"&&o.name!=null&&fs(l,o),ro(u,i);var c=ro(u,o);for(i=0;i<s.length;i+=2){var h=s[i],m=s[i+1];h==="style"?vs(l,m):h==="dangerouslySetInnerHTML"?ms(l,m):h==="children"?jt(l,m):Qo(l,h,m,c)}switch(u){case"input":ql(l,o);break;case"textarea":ds(l,o);break;case"select":var p=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!o.multiple;var w=o.value;w!=null?Yn(l,!!o.multiple,w,!1):p!==!!o.multiple&&(o.defaultValue!=null?Yn(l,!!o.multiple,o.defaultValue,!0):Yn(l,!!o.multiple,o.multiple?[]:"",!1))}l[Bt]=o}catch(S){H(e,e.return,S)}}break;case 6:if(Le(n,e),Ie(e),r&4){if(e.stateNode===null)throw Error(y(162));l=e.stateNode,o=e.memoizedProps;try{l.nodeValue=o}catch(S){H(e,e.return,S)}}break;case 3:if(Le(n,e),Ie(e),r&4&&t!==null&&t.memoizedState.isDehydrated)try{It(n.containerInfo)}catch(S){H(e,e.return,S)}break;case 4:Le(n,e),Ie(e);break;case 13:Le(n,e),Ie(e),l=e.child,l.flags&8192&&(o=l.memoizedState!==null,l.stateNode.isHidden=o,!o||l.alternate!==null&&l.alternate.memoizedState!==null||(Ci=K())),r&4&&Ou(e);break;case 22:if(h=t!==null&&t.memoizedState!==null,e.mode&1?(ie=(c=ie)||h,Le(n,e),ie=c):Le(n,e),Ie(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!h&&e.mode&1)for(C=e,h=e.child;h!==null;){for(m=C=h;C!==null;){switch(p=C,w=p.child,p.tag){case 0:case 11:case 14:case 15:zt(4,p,p.return);break;case 1:Qn(p,p.return);var g=p.stateNode;if(typeof g.componentWillUnmount=="function"){r=p,t=p.return;try{n=r,g.props=n.memoizedProps,g.state=n.memoizedState,g.componentWillUnmount()}catch(S){H(r,t,S)}}break;case 5:Qn(p,p.return);break;case 22:if(p.memoizedState!==null){Iu(m);continue}}w!==null?(w.return=p,C=w):Iu(m)}h=h.sibling}e:for(h=null,m=e;;){if(m.tag===5){if(h===null){h=m;try{l=m.stateNode,c?(o=l.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(u=m.stateNode,s=m.memoizedProps.style,i=s!=null&&s.hasOwnProperty("display")?s.display:null,u.style.display=hs("display",i))}catch(S){H(e,e.return,S)}}}else if(m.tag===6){if(h===null)try{m.stateNode.nodeValue=c?"":m.memoizedProps}catch(S){H(e,e.return,S)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;h===m&&(h=null),m=m.return}h===m&&(h=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:Le(n,e),Ie(e),r&4&&Ou(e);break;case 21:break;default:Le(n,e),Ie(e)}}function Ie(e){var n=e.flags;if(n&2){try{e:{for(var t=e.return;t!==null;){if(Va(t)){var r=t;break e}t=t.return}throw Error(y(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(jt(l,""),r.flags&=-33);var o=Mu(e);Oo(e,o,l);break;case 3:case 4:var i=r.stateNode.containerInfo,u=Mu(e);Mo(e,u,i);break;default:throw Error(y(161))}}catch(s){H(e,e.return,s)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function vd(e,n,t){C=e,Qa(e)}function Qa(e,n,t){for(var r=(e.mode&1)!==0;C!==null;){var l=C,o=l.child;if(l.tag===22&&r){var i=l.memoizedState!==null||hr;if(!i){var u=l.alternate,s=u!==null&&u.memoizedState!==null||ie;u=hr;var c=ie;if(hr=i,(ie=s)&&!c)for(C=l;C!==null;)i=C,s=i.child,i.tag===22&&i.memoizedState!==null?Fu(l):s!==null?(s.return=i,C=s):Fu(l);for(;o!==null;)C=o,Qa(o),o=o.sibling;C=l,hr=u,ie=c}Du(e)}else l.subtreeFlags&8772&&o!==null?(o.return=l,C=o):Du(e)}}function Du(e){for(;C!==null;){var n=C;if(n.flags&8772){var t=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:ie||al(5,n);break;case 1:var r=n.stateNode;if(n.flags&4&&!ie)if(t===null)r.componentDidMount();else{var l=n.elementType===n.type?t.memoizedProps:Te(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=n.updateQueue;o!==null&&gu(n,o,r);break;case 3:var i=n.updateQueue;if(i!==null){if(t=null,n.child!==null)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}gu(n,i,t)}break;case 5:var u=n.stateNode;if(t===null&&n.flags&4){t=u;var s=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&t.focus();break;case"img":s.src&&(t.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var c=n.alternate;if(c!==null){var h=c.memoizedState;if(h!==null){var m=h.dehydrated;m!==null&&It(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(y(163))}ie||n.flags&512&&jo(n)}catch(p){H(n,n.return,p)}}if(n===e){C=null;break}if(t=n.sibling,t!==null){t.return=n.return,C=t;break}C=n.return}}function Iu(e){for(;C!==null;){var n=C;if(n===e){C=null;break}var t=n.sibling;if(t!==null){t.return=n.return,C=t;break}C=n.return}}function Fu(e){for(;C!==null;){var n=C;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{al(4,n)}catch(s){H(n,t,s)}break;case 1:var r=n.stateNode;if(typeof r.componentDidMount=="function"){var l=n.return;try{r.componentDidMount()}catch(s){H(n,l,s)}}var o=n.return;try{jo(n)}catch(s){H(n,o,s)}break;case 5:var i=n.return;try{jo(n)}catch(s){H(n,i,s)}}}catch(s){H(n,n.return,s)}if(n===e){C=null;break}var u=n.sibling;if(u!==null){u.return=n.return,C=u;break}C=n.return}}var yd=Math.ceil,Xr=Ze.ReactCurrentDispatcher,xi=Ze.ReactCurrentOwner,Ne=Ze.ReactCurrentBatchConfig,M=0,b=null,G=null,ne=0,ye=0,Kn=vn(0),Z=0,Yt=null,Tn=0,cl=0,Ei=0,Lt=null,de=null,Ci=0,ot=1/0,Be=null,Zr=!1,Do=null,cn=null,vr=!1,rn=null,Jr=0,Tt=0,Io=null,Pr=-1,zr=0;function ae(){return M&6?K():Pr!==-1?Pr:Pr=K()}function fn(e){return e.mode&1?M&2&&ne!==0?ne&-ne:ed.transition!==null?(zr===0&&(zr=zs()),zr):(e=O,e!==0||(e=window.event,e=e===void 0?16:Ds(e.type)),e):1}function Oe(e,n,t,r){if(50<Tt)throw Tt=0,Io=null,Error(y(185));Xt(e,t,r),(!(M&2)||e!==b)&&(e===b&&(!(M&2)&&(cl|=t),Z===4&&nn(e,ne)),ve(e,r),t===1&&M===0&&!(n.mode&1)&&(ot=K()+500,il&&yn()))}function ve(e,n){var t=e.callbackNode;bc(e,n);var r=Or(e,e===b?ne:0);if(r===0)t!==null&&Ki(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(t!=null&&Ki(t),n===1)e.tag===0?bf(Uu.bind(null,e)):ea(Uu.bind(null,e)),Xf(function(){!(M&6)&&yn()}),t=null;else{switch(Ls(r)){case 1:t=Zo;break;case 4:t=Ns;break;case 16:t=Mr;break;case 536870912:t=Ps;break;default:t=Mr}t=ba(t,Ka.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function Ka(e,n){if(Pr=-1,zr=0,M&6)throw Error(y(327));var t=e.callbackNode;if(qn()&&e.callbackNode!==t)return null;var r=Or(e,e===b?ne:0);if(r===0)return null;if(r&30||r&e.expiredLanes||n)n=qr(e,r);else{n=r;var l=M;M|=2;var o=Ga();(b!==e||ne!==n)&&(Be=null,ot=K()+500,_n(e,n));do try{kd();break}catch(u){Ya(e,u)}while(!0);ai(),Xr.current=o,M=l,G!==null?n=0:(b=null,ne=0,n=Z)}if(n!==0){if(n===2&&(l=so(e),l!==0&&(r=l,n=Fo(e,l))),n===1)throw t=Yt,_n(e,0),nn(e,r),ve(e,K()),t;if(n===6)nn(e,r);else{if(l=e.current.alternate,!(r&30)&&!gd(l)&&(n=qr(e,r),n===2&&(o=so(e),o!==0&&(r=o,n=Fo(e,o))),n===1))throw t=Yt,_n(e,0),nn(e,r),ve(e,K()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(y(345));case 2:Sn(e,de,Be);break;case 3:if(nn(e,r),(r&130023424)===r&&(n=Ci+500-K(),10<n)){if(Or(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){ae(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=yo(Sn.bind(null,e,de,Be),n);break}Sn(e,de,Be);break;case 4:if(nn(e,r),(r&4194240)===r)break;for(n=e.eventTimes,l=-1;0<r;){var i=31-Me(r);o=1<<i,i=n[i],i>l&&(l=i),r&=~o}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yd(r/1960))-r,10<r){e.timeoutHandle=yo(Sn.bind(null,e,de,Be),r);break}Sn(e,de,Be);break;case 5:Sn(e,de,Be);break;default:throw Error(y(329))}}}return ve(e,K()),e.callbackNode===t?Ka.bind(null,e):null}function Fo(e,n){var t=Lt;return e.current.memoizedState.isDehydrated&&(_n(e,n).flags|=256),e=qr(e,n),e!==2&&(n=de,de=t,n!==null&&Uo(n)),e}function Uo(e){de===null?de=e:de.push.apply(de,e)}function gd(e){for(var n=e;;){if(n.flags&16384){var t=n.updateQueue;if(t!==null&&(t=t.stores,t!==null))for(var r=0;r<t.length;r++){var l=t[r],o=l.getSnapshot;l=l.value;try{if(!De(o(),l))return!1}catch{return!1}}}if(t=n.child,n.subtreeFlags&16384&&t!==null)t.return=n,n=t;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function nn(e,n){for(n&=~Ei,n&=~cl,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-Me(n),r=1<<t;e[t]=-1,n&=~r}}function Uu(e){if(M&6)throw Error(y(327));qn();var n=Or(e,0);if(!(n&1))return ve(e,K()),null;var t=qr(e,n);if(e.tag!==0&&t===2){var r=so(e);r!==0&&(n=r,t=Fo(e,r))}if(t===1)throw t=Yt,_n(e,0),nn(e,n),ve(e,K()),t;if(t===6)throw Error(y(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,Sn(e,de,Be),ve(e,K()),null}function _i(e,n){var t=M;M|=1;try{return e(n)}finally{M=t,M===0&&(ot=K()+500,il&&yn())}}function Rn(e){rn!==null&&rn.tag===0&&!(M&6)&&qn();var n=M;M|=1;var t=Ne.transition,r=O;try{if(Ne.transition=null,O=1,e)return e()}finally{O=r,Ne.transition=t,M=n,!(M&6)&&yn()}}function Ni(){ye=Kn.current,U(Kn)}function _n(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(t!==-1&&(e.timeoutHandle=-1,Gf(t)),G!==null)for(t=G.return;t!==null;){var r=t;switch(ii(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ar();break;case 3:rt(),U(me),U(ue),hi();break;case 5:mi(r);break;case 4:rt();break;case 13:U($);break;case 19:U($);break;case 10:ci(r.type._context);break;case 22:case 23:Ni()}t=t.return}if(b=e,G=e=dn(e.current,null),ne=ye=n,Z=0,Yt=null,Ei=cl=Tn=0,de=Lt=null,En!==null){for(n=0;n<En.length;n++)if(t=En[n],r=t.interleaved,r!==null){t.interleaved=null;var l=r.next,o=t.pending;if(o!==null){var i=o.next;o.next=l,r.next=i}t.pending=r}En=null}return e}function Ya(e,n){do{var t=G;try{if(ai(),Cr.current=Gr,Yr){for(var r=B.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Yr=!1}if(Ln=0,q=X=B=null,Pt=!1,Ht=0,xi.current=null,t===null||t.return===null){Z=1,Yt=n,G=null;break}e:{var o=e,i=t.return,u=t,s=n;if(n=ne,u.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var c=s,h=u,m=h.tag;if(!(h.mode&1)&&(m===0||m===11||m===15)){var p=h.alternate;p?(h.updateQueue=p.updateQueue,h.memoizedState=p.memoizedState,h.lanes=p.lanes):(h.updateQueue=null,h.memoizedState=null)}var w=_u(i);if(w!==null){w.flags&=-257,Nu(w,i,u,o,n),w.mode&1&&Cu(o,c,n),n=w,s=c;var g=n.updateQueue;if(g===null){var S=new Set;S.add(s),n.updateQueue=S}else g.add(s);break e}else{if(!(n&1)){Cu(o,c,n),Pi();break e}s=Error(y(426))}}else if(A&&u.mode&1){var D=_u(i);if(D!==null){!(D.flags&65536)&&(D.flags|=256),Nu(D,i,u,o,n),ui(lt(s,u));break e}}o=s=lt(s,u),Z!==4&&(Z=2),Lt===null?Lt=[o]:Lt.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,n&=-n,o.lanes|=n;var f=Ta(o,s,n);yu(o,f);break e;case 1:u=s;var a=o.type,d=o.stateNode;if(!(o.flags&128)&&(typeof a.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(cn===null||!cn.has(d)))){o.flags|=65536,n&=-n,o.lanes|=n;var v=Ra(o,u,n);yu(o,v);break e}}o=o.return}while(o!==null)}Za(t)}catch(E){n=E,G===t&&t!==null&&(G=t=t.return);continue}break}while(!0)}function Ga(){var e=Xr.current;return Xr.current=Gr,e===null?Gr:e}function Pi(){(Z===0||Z===3||Z===2)&&(Z=4),b===null||!(Tn&268435455)&&!(cl&268435455)||nn(b,ne)}function qr(e,n){var t=M;M|=2;var r=Ga();(b!==e||ne!==n)&&(Be=null,_n(e,n));do try{wd();break}catch(l){Ya(e,l)}while(!0);if(ai(),M=t,Xr.current=r,G!==null)throw Error(y(261));return b=null,ne=0,Z}function wd(){for(;G!==null;)Xa(G)}function kd(){for(;G!==null&&!Hc();)Xa(G)}function Xa(e){var n=qa(e.alternate,e,ye);e.memoizedProps=e.pendingProps,n===null?Za(e):G=n,xi.current=null}function Za(e){var n=e;do{var t=n.alternate;if(e=n.return,n.flags&32768){if(t=pd(t,n),t!==null){t.flags&=32767,G=t;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Z=6,G=null;return}}else if(t=dd(t,n,ye),t!==null){G=t;return}if(n=n.sibling,n!==null){G=n;return}G=n=e}while(n!==null);Z===0&&(Z=5)}function Sn(e,n,t){var r=O,l=Ne.transition;try{Ne.transition=null,O=1,Sd(e,n,t,r)}finally{Ne.transition=l,O=r}return null}function Sd(e,n,t,r){do qn();while(rn!==null);if(M&6)throw Error(y(327));t=e.finishedWork;var l=e.finishedLanes;if(t===null)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(y(177));e.callbackNode=null,e.callbackPriority=0;var o=t.lanes|t.childLanes;if(ef(e,o),e===b&&(G=b=null,ne=0),!(t.subtreeFlags&2064)&&!(t.flags&2064)||vr||(vr=!0,ba(Mr,function(){return qn(),null})),o=(t.flags&15990)!==0,t.subtreeFlags&15990||o){o=Ne.transition,Ne.transition=null;var i=O;O=1;var u=M;M|=4,xi.current=null,hd(e,t),Ha(t,e),Bf(ho),Dr=!!mo,ho=mo=null,e.current=t,vd(t),Qc(),M=u,O=i,Ne.transition=o}else e.current=t;if(vr&&(vr=!1,rn=e,Jr=l),o=e.pendingLanes,o===0&&(cn=null),Gc(t.stateNode),ve(e,K()),n!==null)for(r=e.onRecoverableError,t=0;t<n.length;t++)l=n[t],r(l.value,{componentStack:l.stack,digest:l.digest});if(Zr)throw Zr=!1,e=Do,Do=null,e;return Jr&1&&e.tag!==0&&qn(),o=e.pendingLanes,o&1?e===Io?Tt++:(Tt=0,Io=e):Tt=0,yn(),null}function qn(){if(rn!==null){var e=Ls(Jr),n=Ne.transition,t=O;try{if(Ne.transition=null,O=16>e?16:e,rn===null)var r=!1;else{if(e=rn,rn=null,Jr=0,M&6)throw Error(y(331));var l=M;for(M|=4,C=e.current;C!==null;){var o=C,i=o.child;if(C.flags&16){var u=o.deletions;if(u!==null){for(var s=0;s<u.length;s++){var c=u[s];for(C=c;C!==null;){var h=C;switch(h.tag){case 0:case 11:case 15:zt(8,h,o)}var m=h.child;if(m!==null)m.return=h,C=m;else for(;C!==null;){h=C;var p=h.sibling,w=h.return;if(Ba(h),h===c){C=null;break}if(p!==null){p.return=w,C=p;break}C=w}}}var g=o.alternate;if(g!==null){var S=g.child;if(S!==null){g.child=null;do{var D=S.sibling;S.sibling=null,S=D}while(S!==null)}}C=o}}if(o.subtreeFlags&2064&&i!==null)i.return=o,C=i;else e:for(;C!==null;){if(o=C,o.flags&2048)switch(o.tag){case 0:case 11:case 15:zt(9,o,o.return)}var f=o.sibling;if(f!==null){f.return=o.return,C=f;break e}C=o.return}}var a=e.current;for(C=a;C!==null;){i=C;var d=i.child;if(i.subtreeFlags&2064&&d!==null)d.return=i,C=d;else e:for(i=a;C!==null;){if(u=C,u.flags&2048)try{switch(u.tag){case 0:case 11:case 15:al(9,u)}}catch(E){H(u,u.return,E)}if(u===i){C=null;break e}var v=u.sibling;if(v!==null){v.return=u.return,C=v;break e}C=u.return}}if(M=l,yn(),Ae&&typeof Ae.onPostCommitFiberRoot=="function")try{Ae.onPostCommitFiberRoot(nl,e)}catch{}r=!0}return r}finally{O=t,Ne.transition=n}}return!1}function Au(e,n,t){n=lt(t,n),n=Ta(e,n,1),e=an(e,n,1),n=ae(),e!==null&&(Xt(e,1,n),ve(e,n))}function H(e,n,t){if(e.tag===3)Au(e,e,t);else for(;n!==null;){if(n.tag===3){Au(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(cn===null||!cn.has(r))){e=lt(t,e),e=Ra(n,e,1),n=an(n,e,1),e=ae(),n!==null&&(Xt(n,1,e),ve(n,e));break}}n=n.return}}function xd(e,n,t){var r=e.pingCache;r!==null&&r.delete(n),n=ae(),e.pingedLanes|=e.suspendedLanes&t,b===e&&(ne&t)===t&&(Z===4||Z===3&&(ne&130023424)===ne&&500>K()-Ci?_n(e,0):Ei|=t),ve(e,n)}function Ja(e,n){n===0&&(e.mode&1?(n=ir,ir<<=1,!(ir&130023424)&&(ir=4194304)):n=1);var t=ae();e=Ge(e,n),e!==null&&(Xt(e,n,t),ve(e,t))}function Ed(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),Ja(e,t)}function Cd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),Ja(e,t)}var qa;qa=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||me.current)pe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return pe=!1,fd(e,n,t);pe=!!(e.flags&131072)}else pe=!1,A&&n.flags&1048576&&na(n,Vr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Nr(e,n),e=n.pendingProps;var l=et(n,ue.current);Jn(n,t),l=yi(null,n,r,e,l,t);var o=gi();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,he(r)?(o=!0,$r(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,di(n),l.updater=ul,n.stateNode=l,l._reactInternals=n,Co(n,r,e,t),n=Po(null,n,r,!0,o,t)):(n.tag=0,A&&o&&oi(n),se(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Nr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Nd(r),e=Te(r,e),l){case 0:n=No(null,n,r,e,t);break e;case 1:n=Lu(null,n,r,e,t);break e;case 11:n=Pu(null,n,r,e,t);break e;case 14:n=zu(null,n,r,Te(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),No(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),Lu(e,n,r,l,t);case 3:e:{if(Da(n),e===null)throw Error(y(387));r=n.pendingProps,o=n.memoizedState,l=o.element,oa(e,n),Qr(n,r,null,t);var i=n.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},n.updateQueue.baseState=o,n.memoizedState=o,n.flags&256){l=lt(Error(y(423)),n),n=Tu(e,n,r,t,l);break e}else if(r!==l){l=lt(Error(y(424)),n),n=Tu(e,n,r,t,l);break e}else for(ge=sn(n.stateNode.containerInfo.firstChild),we=n,A=!0,je=null,t=aa(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(nt(),r===l){n=Xe(e,n,t);break e}se(e,n,r,t)}n=n.child}return n;case 5:return ca(n),e===null&&So(n),r=n.type,l=n.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,vo(r,l)?i=null:o!==null&&vo(r,o)&&(n.flags|=32),Oa(e,n),se(e,n,i,t),n.child;case 6:return e===null&&So(n),null;case 13:return Ia(e,n,t);case 4:return pi(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=tt(n,null,r,t):se(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),Pu(e,n,r,l,t);case 7:return se(e,n,n.pendingProps,t),n.child;case 8:return se(e,n,n.pendingProps.children,t),n.child;case 12:return se(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,o=n.memoizedProps,i=l.value,I(Wr,r._currentValue),r._currentValue=i,o!==null)if(De(o.value,i)){if(o.children===l.children&&!me.current){n=Xe(e,n,t);break e}}else for(o=n.child,o!==null&&(o.return=n);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Qe(-1,t&-t),s.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var h=c.pending;h===null?s.next=s:(s.next=h.next,h.next=s),c.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),xo(o.return,t,n),u.lanes|=t;break}s=s.next}}else if(o.tag===10)i=o.type===n.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(y(341));i.lanes|=t,u=i.alternate,u!==null&&(u.lanes|=t),xo(i,t,n),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===n){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}se(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Jn(n,t),l=Pe(l),r=r(l),n.flags|=1,se(e,n,r,t),n.child;case 14:return r=n.type,l=Te(r,n.pendingProps),l=Te(r.type,l),zu(e,n,r,l,t);case 15:return ja(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),Nr(e,n),n.tag=1,he(r)?(e=!0,$r(n)):e=!1,Jn(n,t),ua(n,r,l),Co(n,r,l,t),Po(null,n,r,!0,e,t);case 19:return Fa(e,n,t);case 22:return Ma(e,n,t)}throw Error(y(156,n.tag))};function ba(e,n){return _s(e,n)}function _d(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _e(e,n,t,r){return new _d(e,n,t,r)}function zi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nd(e){if(typeof e=="function")return zi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Yo)return 11;if(e===Go)return 14}return 2}function dn(e,n){var t=e.alternate;return t===null?(t=_e(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Lr(e,n,t,r,l,o){var i=2;if(r=e,typeof e=="function")zi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case In:return Nn(t.children,l,o,n);case Ko:i=8,l|=8;break;case Yl:return e=_e(12,t,n,l|2),e.elementType=Yl,e.lanes=o,e;case Gl:return e=_e(13,t,n,l),e.elementType=Gl,e.lanes=o,e;case Xl:return e=_e(19,t,n,l),e.elementType=Xl,e.lanes=o,e;case ss:return fl(t,l,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case is:i=10;break e;case us:i=9;break e;case Yo:i=11;break e;case Go:i=14;break e;case qe:i=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=_e(i,t,n,l),n.elementType=e,n.type=r,n.lanes=o,n}function Nn(e,n,t,r){return e=_e(7,e,r,n),e.lanes=t,e}function fl(e,n,t,r){return e=_e(22,e,r,n),e.elementType=ss,e.lanes=t,e.stateNode={isHidden:!1},e}function Wl(e,n,t){return e=_e(6,e,null,n),e.lanes=t,e}function Hl(e,n,t){return n=_e(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Pd(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Cl(0),this.expirationTimes=Cl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Li(e,n,t,r,l,o,i,u,s){return e=new Pd(e,n,t,u,s),n===1?(n=1,o===!0&&(n|=8)):n=0,o=_e(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},di(o),e}function zd(e,n,t){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Dn,key:r==null?null:""+r,children:e,containerInfo:n,implementation:t}}function ec(e){if(!e)return mn;e=e._reactInternals;e:{if(Mn(e)!==e||e.tag!==1)throw Error(y(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(he(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(y(171))}if(e.tag===1){var t=e.type;if(he(t))return bs(e,t,n)}return n}function nc(e,n,t,r,l,o,i,u,s){return e=Li(t,r,!0,e,l,o,i,u,s),e.context=ec(null),t=e.current,r=ae(),l=fn(t),o=Qe(r,l),o.callback=n??null,an(t,o,l),e.current.lanes=l,Xt(e,l,r),ve(e,r),e}function dl(e,n,t,r){var l=n.current,o=ae(),i=fn(l);return t=ec(t),n.context===null?n.context=t:n.pendingContext=t,n=Qe(o,i),n.payload={element:e},r=r===void 0?null:r,r!==null&&(n.callback=r),e=an(l,n,i),e!==null&&(Oe(e,l,i,o),Er(e,l,i)),i}function br(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function $u(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<n?t:n}}function Ti(e,n){$u(e,n),(e=e.alternate)&&$u(e,n)}function Ld(){return null}var tc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ri(e){this._internalRoot=e}pl.prototype.render=Ri.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(y(409));dl(e,n,null,null)};pl.prototype.unmount=Ri.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Rn(function(){dl(null,e,null,null)}),n[Ye]=null}};function pl(e){this._internalRoot=e}pl.prototype.unstable_scheduleHydration=function(e){if(e){var n=js();e={blockedOn:null,target:e,priority:n};for(var t=0;t<en.length&&n!==0&&n<en[t].priority;t++);en.splice(t,0,e),t===0&&Os(e)}};function ji(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ml(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Bu(){}function Td(e,n,t,r,l){if(l){if(typeof r=="function"){var o=r;r=function(){var c=br(i);o.call(c)}}var i=nc(n,r,e,0,null,!1,!1,"",Bu);return e._reactRootContainer=i,e[Ye]=i.current,At(e.nodeType===8?e.parentNode:e),Rn(),i}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var u=r;r=function(){var c=br(s);u.call(c)}}var s=Li(e,0,!1,null,null,!1,!1,"",Bu);return e._reactRootContainer=s,e[Ye]=s.current,At(e.nodeType===8?e.parentNode:e),Rn(function(){dl(n,s,t,r)}),s}function hl(e,n,t,r,l){var o=t._reactRootContainer;if(o){var i=o;if(typeof l=="function"){var u=l;l=function(){var s=br(i);u.call(s)}}dl(n,i,e,l)}else i=Td(t,n,e,l,r);return br(i)}Ts=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=kt(n.pendingLanes);t!==0&&(Jo(n,t|1),ve(n,K()),!(M&6)&&(ot=K()+500,yn()))}break;case 13:Rn(function(){var r=Ge(e,1);if(r!==null){var l=ae();Oe(r,e,1,l)}}),Ti(e,1)}};qo=function(e){if(e.tag===13){var n=Ge(e,134217728);if(n!==null){var t=ae();Oe(n,e,134217728,t)}Ti(e,134217728)}};Rs=function(e){if(e.tag===13){var n=fn(e),t=Ge(e,n);if(t!==null){var r=ae();Oe(t,e,n,r)}Ti(e,n)}};js=function(){return O};Ms=function(e,n){var t=O;try{return O=e,n()}finally{O=t}};oo=function(e,n,t){switch(n){case"input":if(ql(e,t),n=t.name,t.type==="radio"&&n!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var l=ol(r);if(!l)throw Error(y(90));cs(r),ql(r,l)}}}break;case"textarea":ds(e,t);break;case"select":n=t.value,n!=null&&Yn(e,!!t.multiple,n,!1)}};ws=_i;ks=Rn;var Rd={usingClientEntryPoint:!1,Events:[Jt,$n,ol,ys,gs,_i]},yt={findFiberByHostInstance:xn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},jd={bundleType:yt.bundleType,version:yt.version,rendererPackageName:yt.rendererPackageName,rendererConfig:yt.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ze.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Es(e),e===null?null:e.stateNode},findFiberByHostInstance:yt.findFiberByHostInstance||Ld,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var yr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yr.isDisabled&&yr.supportsFiber)try{nl=yr.inject(jd),Ae=yr}catch{}}Se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rd;Se.createPortal=function(e,n){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ji(n))throw Error(y(200));return zd(e,n,null,t)};Se.createRoot=function(e,n){if(!ji(e))throw Error(y(299));var t=!1,r="",l=tc;return n!=null&&(n.unstable_strictMode===!0&&(t=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),n=Li(e,1,!1,null,null,t,!1,r,l),e[Ye]=n.current,At(e.nodeType===8?e.parentNode:e),new Ri(n)};Se.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(y(188)):(e=Object.keys(e).join(","),Error(y(268,e)));return e=Es(n),e=e===null?null:e.stateNode,e};Se.flushSync=function(e){return Rn(e)};Se.hydrate=function(e,n,t){if(!ml(n))throw Error(y(200));return hl(null,e,n,!0,t)};Se.hydrateRoot=function(e,n,t){if(!ji(e))throw Error(y(405));var r=t!=null&&t.hydratedSources||null,l=!1,o="",i=tc;if(t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),n=nc(n,null,e,1,t??null,l,!1,o,i),e[Ye]=n.current,At(e),r)for(e=0;e<r.length;e++)t=r[e],l=t._getVersion,l=l(t._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l);return new pl(n)};Se.render=function(e,n,t){if(!ml(n))throw Error(y(200));return hl(null,e,n,!1,t)};Se.unmountComponentAtNode=function(e){if(!ml(e))throw Error(y(40));return e._reactRootContainer?(Rn(function(){hl(null,null,e,!1,function(){e._reactRootContainer=null,e[Ye]=null})}),!0):!1};Se.unstable_batchedUpdates=_i;Se.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!ml(t))throw Error(y(200));if(e==null||e._reactInternals===void 0)throw Error(y(38));return hl(e,n,t,!1,r)};Se.version="18.2.0-next-9e3b772b8-20220608";function rc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(rc)}catch(e){console.error(e)}}rc(),ns.exports=Se;var Md=ns.exports,Vu=Md;Ql.createRoot=Vu.createRoot,Ql.hydrateRoot=Vu.hydrateRoot;function Od({stream:e,...n}){const t=W.useRef(null),r=W.useCallback(l=>{const o=new(window.AudioContext||window.webkitAudioContext),i=o.createMediaStreamSource(l),u=o.createAnalyser();u.fftSize=2048,i.connect(u);const s=t.current,c=s.getContext("2d"),h=u.frequencyBinCount,m=new Uint8Array(h),p=()=>{requestAnimationFrame(p),u.getByteTimeDomainData(m),c.fillStyle="rgb(255, 255, 255)",c.fillRect(0,0,s.width,s.height),c.lineWidth=2,c.strokeStyle="rgb(0, 0, 0)",c.beginPath();const w=s.width*1/h;let g=0;for(let S=0;S<h;++S){const f=m[S]/128*s.height/2;S===0?c.moveTo(g,f):c.lineTo(g,f),g+=w}c.lineTo(s.width,s.height/2),c.stroke()};p()},[]);return W.useEffect(()=>{e&&r(e)},[r,e]),T.jsx("canvas",{...n,width:720,height:240,ref:t})}function Dd(e){const n=e==0?0:Math.floor(Math.log(e)/Math.log(1024));return+(e/Math.pow(1024,n)).toFixed(2)*1+["B","kB","MB","GB","TB"][n]}function Id({text:e,percentage:n,total:t}){return n??(n=0),T.jsx("div",{className:"w-full bg-gray-100 dark:bg-gray-700 text-left rounded-lg overflow-hidden mb-0.5",children:T.jsxs("div",{className:"bg-blue-400 whitespace-nowrap px-1 text-sm",style:{width:`${n}%`},children:[e," (",n.toFixed(2),"%",isNaN(t)?"":` of ${Dd(t)}`,")"]})})}function Fd(e){return e=e.toLowerCase(),(e.match(/\w+.?/g)||[]).map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join("")}const Wu={en:"english",zh:"chinese",de:"german",es:"spanish/castilian",ru:"russian",ko:"korean",fr:"french",ja:"japanese",pt:"portuguese",tr:"turkish",pl:"polish",ca:"catalan/valencian",nl:"dutch/flemish",ar:"arabic",sv:"swedish",it:"italian",id:"indonesian",hi:"hindi",fi:"finnish",vi:"vietnamese",he:"hebrew",uk:"ukrainian",el:"greek",ms:"malay",cs:"czech",ro:"romanian/moldavian/moldovan",da:"danish",hu:"hungarian",ta:"tamil",no:"norwegian",th:"thai",ur:"urdu",hr:"croatian",bg:"bulgarian",lt:"lithuanian",la:"latin",mi:"maori",ml:"malayalam",cy:"welsh",sk:"slovak",te:"telugu",fa:"persian",lv:"latvian",bn:"bengali",sr:"serbian",az:"azerbaijani",sl:"slovenian",kn:"kannada",et:"estonian",mk:"macedonian",br:"breton",eu:"basque",is:"icelandic",hy:"armenian",ne:"nepali",mn:"mongolian",bs:"bosnian",kk:"kazakh",sq:"albanian",sw:"swahili",gl:"galician",mr:"marathi",pa:"punjabi/panjabi",si:"sinhala/sinhalese",km:"khmer",sn:"shona",yo:"yoruba",so:"somali",af:"afrikaans",oc:"occitan",ka:"georgian",be:"belarusian",tg:"tajik",sd:"sindhi",gu:"gujarati",am:"amharic",yi:"yiddish",lo:"lao",uz:"uzbek",fo:"faroese",ht:"haitian creole/haitian",ps:"pashto/pushto",tk:"turkmen",nn:"nynorsk",mt:"maltese",sa:"sanskrit",lb:"luxembourgish/letzeburgesch",my:"myanmar/burmese",bo:"tibetan",tl:"tagalog",mg:"malagasy",as:"assamese",tt:"tatar",haw:"hawaiian",ln:"lingala",ha:"hausa",ba:"bashkir",jw:"javanese",su:"sundanese"};function Ud({language:e,setLanguage:n}){const t=l=>{n(l.target.value)},r=Object.values(Wu).map(Fd);return T.jsx("select",{className:"border rounded-lg p-2 max-w-[100px]",value:e,onChange:t,children:Object.keys(Wu).map((l,o)=>T.jsx("option",{value:l,children:r[o]},l))})}const Ad=!!navigator.gpu,lc=16e3,$d=30,Hu=lc*$d;function Bd(){const e=W.useRef(null),n=W.useRef(null),[t,r]=W.useState(null),[l,o]=W.useState(""),[i,u]=W.useState([]),[s,c]=W.useState(!1),[h,m]=W.useState(""),[p,w]=W.useState(null),[g,S]=W.useState("en");W.useEffect(()=>{e.current||(e.current=new Worker(new URL("/assets/worker-CEIicWCS.js",import.meta.url),{type:"module"}));const k=x=>{var j,P;switch(x.data.status){case"loading":r("loading"),o(x.data.data);break;case"initiate":u(Y=>[...Y,x.data]);break;case"progress":u(Y=>Y.map(re=>re.file===x.data.file?{...re,...x.data}:re));break;case"done":u(Y=>Y.filter(re=>re.file!==x.data.file));break;case"ready":r("ready"),(j=n.current)==null||j.start();break;case"start":c(!0),(P=n.current)==null||P.requestData();break;case"update":{const{tps:Y}=x.data;w(Y)}break;case"complete":c(!1),m(x.data.output);break}};return e.current.addEventListener("message",k),()=>{e.current.removeEventListener("message",k)}},[]);const[D,f]=W.useState(!1),[a,d]=W.useState([]),[v,E]=W.useState(null),N=W.useRef(null);return W.useEffect(()=>{if(!n.current)return navigator.mediaDevices.getUserMedia?navigator.mediaDevices.getUserMedia({audio:!0}).then(k=>{E(k),n.current=new MediaRecorder(k),N.current=new AudioContext({sampleRate:lc}),n.current.onstart=()=>{f(!0),d([])},n.current.ondataavailable=x=>{x.data.size>0?d(j=>[...j,x.data]):setTimeout(()=>{n.current.requestData()},25)},n.current.onstop=()=>{f(!1)}}).catch(k=>console.error("The following error occurred: ",k)):console.error("getUserMedia not supported on your browser!"),()=>{var k;(k=n.current)==null||k.stop(),n.current=null}},[]),W.useEffect(()=>{var k;if(n.current&&D&&!s&&t==="ready")if(a.length>0){const x=new Blob(a,{type:n.current.mimeType}),j=new FileReader;j.onloadend=async()=>{const P=j.result;let re=(await N.current.decodeAudioData(P)).getChannelData(0);re.length>Hu&&(re=re.slice(-Hu)),e.current.postMessage({type:"generate",data:{audio:re,language:g}})},j.readAsArrayBuffer(x)}else(k=n.current)==null||k.requestData()},[t,D,s,a,g]),Ad?T.jsx("div",{className:"flex flex-col h-screen mx-auto justify-end text-gray-800 dark:text-gray-200 bg-white dark:bg-gray-900",children:T.jsxs("div",{className:"h-full overflow-auto scrollbar-thin flex justify-center items-center flex-col relative",children:[T.jsxs("div",{className:"flex flex-col items-center mb-1 max-w-[400px] text-center",children:[T.jsx("img",{src:"logo.png",width:"50%",height:"auto",className:"block"}),T.jsx("h1",{className:"text-4xl font-bold mb-1",children:"Whisper WebGPU"}),T.jsx("h2",{className:"text-xl font-semibold",children:"Real-time in-browser speech recognition"})]}),T.jsxs("div",{className:"flex flex-col items-center px-4",children:[t===null&&T.jsxs(T.Fragment,{children:[T.jsxs("p",{className:"max-w-[480px] mb-4",children:[T.jsx("br",{}),"You are about to load ",T.jsx("a",{href:"https://huggingface.co/onnx-community/whisper-base",target:"_blank",rel:"noreferrer",className:"font-medium underline",children:"whisper-base"}),", a 73 million parameter speech recognition model that is optimized for inference on the web. Once downloaded, the model (~200 MB) will be cached and reused when you revisit the page.",T.jsx("br",{}),T.jsx("br",{}),"Everything runs directly in your browser using ",T.jsx("a",{href:"https://huggingface.co/docs/transformers.js",target:"_blank",rel:"noreferrer",className:"underline",children:"🤗 Transformers.js"})," and ONNX Runtime Web, meaning no data is sent to a server. You can even disconnect from the internet after the model has loaded!"]}),T.jsx("button",{className:"border px-4 py-2 rounded-lg bg-blue-400 text-white hover:bg-blue-500 disabled:bg-blue-100 disabled:cursor-not-allowed select-none",onClick:()=>{e.current.postMessage({type:"load"}),r("loading")},disabled:t!==null,children:"Load model"})]}),T.jsxs("div",{className:"w-[500px] p-2",children:[T.jsx(Od,{className:"w-full rounded-lg",stream:v}),t==="ready"&&T.jsxs("div",{className:"relative",children:[T.jsx("p",{className:"w-full h-[80px] overflow-y-auto overflow-wrap-anywhere border rounded-lg p-2",children:h}),p&&T.jsxs("span",{className:"absolute bottom-0 right-0 px-1",children:[p.toFixed(2)," tok/s"]})]})]}),t==="ready"&&T.jsxs("div",{className:"relative w-full flex justify-center",children:[T.jsx(Ud,{language:g,setLanguage:k=>{var x,j;(x=n.current)==null||x.stop(),S(k),(j=n.current)==null||j.start()}}),T.jsx("button",{className:"border rounded-lg px-2 absolute right-2",onClick:()=>{var k,x;(k=n.current)==null||k.stop(),(x=n.current)==null||x.start()},children:"Reset"})]}),t==="loading"&&T.jsxs("div",{className:"w-full max-w-[500px] text-left mx-auto p-4",children:[T.jsx("p",{className:"text-center",children:l}),i.map(({file:k,progress:x,total:j},P)=>T.jsx(Id,{text:k,percentage:x,total:j},P))]})]})]})}):T.jsxs("div",{className:"fixed w-screen h-screen bg-black z-10 bg-opacity-[92%] text-white text-2xl font-semibold flex justify-center items-center text-center",children:["WebGPU is not supported",T.jsx("br",{}),"by this browser :("]})}Ql.createRoot(document.getElementById("root")).render(T.jsx(xc.StrictMode,{children:T.jsx(Bd,{})})); |
|
|