// ==UserScript==
// @name 微信阅读挂机
// @namespace npm/vite-plugin-monkey
// @version 1.1.1
// @author cuihao777
// @description 微信读书刷时长脚本。
// @license MIT
// @icon https://weread.qq.com/favicon.ico
// @match https://weread.qq.com/web/reader/*
// @grant GM_addStyle
// @grant GM_deleteValue
// @grant GM_getValue
// @grant GM_setValue
// @run-at document-start
// ==/UserScript==
(o=>{if(typeof GM_addStyle=="function"){GM_addStyle(o);return}const i=document.createElement("style");i.textContent=o,document.head.append(i)})(" div._root_w5oiy_1{margin-left:0;margin-right:550px;left:initial;right:50%}div._root_w5oiy_1>._button_w5oiy_7{cursor:pointer;color:#8c8c8e;font-weight:700}div._root_w5oiy_1>._button_w5oiy_7:hover{color:#fff}div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15>._button_w5oiy_7{cursor:pointer;color:#8c8c8e;font-weight:700}div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15>._button_w5oiy_7:hover{color:#fff}div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15 ._timer-control-panel-mask_w5oiy_23{background:#0000004d;position:fixed;top:0;right:-9999px;bottom:auto;left:auto;z-index:90;width:100%;height:100%;animation-duration:.25s;animation-timing-function:ease-out;opacity:0}div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15 ._timer-control-panel-mask_w5oiy_23._show_w5oiy_37{right:0;animation-name:_showMask_w5oiy_1;animation-fill-mode:both}div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15 ._timer-control-panel-content_w5oiy_42{position:absolute;z-index:110;background-color:#262628;transition:background-color .2s ease-in-out;width:360px;box-sizing:border-box;padding:24px 16px;border-radius:16px;bottom:0;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;box-shadow:0 10px 50px #000;max-height:100vh;left:99px;display:none}div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15 ._timer-control-panel-content_w5oiy_42._show_w5oiy_37{display:initial}div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15 ._timer-control-panel-content_w5oiy_42>._timer-control-panel-content-inner_w5oiy_64{display:flex;flex-wrap:wrap;gap:10px}div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15 ._timer-control-panel-content_w5oiy_42>._timer-control-panel-content-inner_w5oiy_64>._timer-item_w5oiy_69{position:relative;width:calc(50% - 5px);height:44px;padding:0 12px;background-color:#f0f0f21a;box-sizing:border-box;border-radius:8px;cursor:pointer;line-height:22px;font-size:14px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;color:#eef0f4}div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15 ._timer-control-panel-content_w5oiy_42>._timer-control-panel-content-inner_w5oiy_64>._timer-item_w5oiy_69._selected_w5oiy_86{background:#383e45;color:#0097ff;border:1px solid #0097ff;padding:0 11px}.wr_whiteTheme div._root_w5oiy_1>._button_w5oiy_7:hover{color:#000}.wr_whiteTheme div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15>._button_w5oiy_7:hover{color:#000}.wr_whiteTheme div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15 ._timer-control-panel-mask_w5oiy_23{background:#00000012}.wr_whiteTheme div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15 ._timer-control-panel-content_w5oiy_42{box-shadow:0 10px 50px #0000001a;background-color:#f4f5f7}.wr_whiteTheme div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15 ._timer-control-panel-content_w5oiy_42>._timer-control-panel-content-inner_w5oiy_64>._timer-item_w5oiy_69{background-color:#fff;color:#212832}.wr_whiteTheme div._root_w5oiy_1 ._timer-control-panel-wrapper_w5oiy_15 ._timer-control-panel-content_w5oiy_42>._timer-control-panel-content-inner_w5oiy_64>._timer-item_w5oiy_69._selected_w5oiy_86{background:#f4f9fe;color:#1b88ee;border-color:#1b88ee}@media (max-width: 1365px){div._root_w5oiy_1{margin-right:430px}}@media (max-width: 1023px){div._root_w5oiy_1{margin-right:318px}}@keyframes _showMask_w5oiy_1{0%{opacity:0}to{opacity:1}} ");
(function () {
'use strict';
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t={exports:{}},r={},l={exports:{}},a={},o=Symbol.for("react.element"),u=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.iterator;var y={isMounted:function(){return !1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,w={};function k(e,n,t){this.props=e,this.context=n,this.refs=w,this.updater=t||y;}function S(){}function x(e,n,t){this.props=e,this.context=n,this.refs=w,this.updater=t||y;}k.prototype.isReactComponent={},k.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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");},k.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate");},S.prototype=k.prototype;var E=x.prototype=new S;E.constructor=x,b(E,k.prototype),E.isPureReactComponent=!0;var _=Array.isArray,C=Object.prototype.hasOwnProperty,N={current:null},P={key:!0,ref:!0,__self:!0,__source:!0};function z(e,n,t){var r,l={},a=null,u=null;if(null!=n)for(r in void 0!==n.ref&&(u=n.ref),void 0!==n.key&&(a=""+n.key),n)C.call(n,r)&&!P.hasOwnProperty(r)&&(l[r]=n[r]);var i=arguments.length-2;if(1===i)l.children=t;else if(1<i){for(var s=Array(i),c=0;c<i;c++)s[c]=arguments[c+2];l.children=s;}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===l[r]&&(l[r]=i[r]);return {$$typeof:o,type:e,key:a,ref:u,props:l,_owner:N.current}}function T(e){return "object"==typeof e&&null!==e&&e.$$typeof===o}var L=/\/+/g;function R(e,n){return "object"==typeof e&&null!==e&&null!=e.key?function(e){var n={"=":"=0",":":"=2"};return "$"+e.replace(/[=:]/g,(function(e){return n[e]}))}(""+e.key):n.toString(36)}function M(e,n,t,r,l){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var i=!1;if(null===e)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case o:case u:i=!0;}}if(i)return l=l(i=e),e=""===r?"."+R(i,0):r,_(l)?(t="",null!=e&&(t=e.replace(L,"$&/")+"/"),M(l,n,t,"",(function(e){return e}))):null!=l&&(T(l)&&(l=function(e,n){return {$$typeof:o,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(l,t+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(L,"$&/")+"/")+e)),n.push(l)),1;if(i=0,r=""===r?".":r+":",_(e))for(var s=0;s<e.length;s++){var c=r+R(a=e[s],s);i+=M(a,n,t,c,l);}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=g&&e[g]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),s=0;!(a=e.next()).done;)i+=M(a=a.value,n,t,c=r+R(a,s++),l);else if("object"===a)throw n=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return i}function O(e,n,t){if(null==e)return e;var r=[],l=0;return M(e,r,"","",(function(e){return n.call(t,e,l++)})),r}function F(e){if(-1===e._status){var n=e._result;(n=n()).then((function(n){0!==e._status&&-1!==e._status||(e._status=1,e._result=n);}),(function(n){0!==e._status&&-1!==e._status||(e._status=2,e._result=n);})),-1===e._status&&(e._status=0,e._result=n);}if(1===e._status)return e._result.default;throw e._result}var I={current:null},D={transition:null},U={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:D,ReactCurrentOwner:N};function j(){throw Error("act(...) is not supported in production builds of React.")}a.Children={map:O,forEach:function(e,n,t){O(e,(function(){n.apply(this,arguments);}),t);},count:function(e){var n=0;return O(e,(function(){n++;})),n},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},a.Component=k,a.Fragment=i,a.Profiler=c,a.PureComponent=x,a.StrictMode=s,a.Suspense=m,a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,a.act=j,a.cloneElement=function(e,n,t){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=b({},e.props),l=e.key,a=e.ref,u=e._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,u=N.current),void 0!==n.key&&(l=""+n.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(s in n)C.call(n,s)&&!P.hasOwnProperty(s)&&(r[s]=void 0===n[s]&&void 0!==i?i[s]:n[s]);}var s=arguments.length-2;if(1===s)r.children=t;else if(1<s){i=Array(s);for(var c=0;c<s;c++)i[c]=arguments[c+2];r.children=i;}return {$$typeof:o,type:e.type,key:l,ref:a,props:r,_owner:u}},a.createContext=function(e){return (e={$$typeof:d,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:f,_context:e},e.Consumer=e},a.createElement=z,a.createFactory=function(e){var n=z.bind(null,e);return n.type=e,n},a.createRef=function(){return {current:null}},a.forwardRef=function(e){return {$$typeof:p,render:e}},a.isValidElement=T,a.lazy=function(e){return {$$typeof:v,_payload:{_status:-1,_result:e},_init:F}},a.memo=function(e,n){return {$$typeof:h,type:e,compare:void 0===n?null:n}},a.startTransition=function(e){var n=D.transition;D.transition={};try{e();}finally{D.transition=n;}},a.unstable_act=j,a.useCallback=function(e,n){return I.current.useCallback(e,n)},a.useContext=function(e){return I.current.useContext(e)},a.useDebugValue=function(){},a.useDeferredValue=function(e){return I.current.useDeferredValue(e)},a.useEffect=function(e,n){return I.current.useEffect(e,n)},a.useId=function(){return I.current.useId()},a.useImperativeHandle=function(e,n,t){return I.current.useImperativeHandle(e,n,t)},a.useInsertionEffect=function(e,n){return I.current.useInsertionEffect(e,n)},a.useLayoutEffect=function(e,n){return I.current.useLayoutEffect(e,n)},a.useMemo=function(e,n){return I.current.useMemo(e,n)},a.useReducer=function(e,n,t){return I.current.useReducer(e,n,t)},a.useRef=function(e){return I.current.useRef(e)},a.useState=function(e){return I.current.useState(e)},a.useSyncExternalStore=function(e,n,t){return I.current.useSyncExternalStore(e,n,t)},a.useTransition=function(){return I.current.useTransition()},a.version="18.3.1",l.exports=a;var A=l.exports;const V=n(A);
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var $=A,B=Symbol.for("react.element"),W=Symbol.for("react.fragment"),H=Object.prototype.hasOwnProperty,Q=$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,q={key:!0,ref:!0,__self:!0,__source:!0};function K(e,n,t){var r,l={},a=null,o=null;for(r in void 0!==t&&(a=""+t),void 0!==n.key&&(a=""+n.key),void 0!==n.ref&&(o=n.ref),n)H.call(n,r)&&!q.hasOwnProperty(r)&&(l[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===l[r]&&(l[r]=n[r]);return {$$typeof:B,type:e,key:a,ref:o,props:l,_owner:Q.current}}r.Fragment=W,r.jsx=K,r.jsxs=K,t.exports=r;var Y=t.exports,X={},G={exports:{}},Z={},J={exports:{}},ee={};
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
!function(e){function n(e,n){var t=e.length;e.push(n);e:for(;0<t;){var r=t-1>>>1,a=e[r];if(!(0<l(a,n)))break e;e[r]=n,e[t]=a,t=r;}}function t(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,a=e.length,o=a>>>1;r<o;){var u=2*(r+1)-1,i=e[u],s=u+1,c=e[s];if(0>l(i,t))s<a&&0>l(c,i)?(e[r]=c,e[s]=t,r=s):(e[r]=i,e[u]=t,r=u);else {if(!(s<a&&0>l(c,t)))break e;e[r]=c,e[s]=t,r=s;}}}return n}function l(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()};}else {var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u};}var i=[],s=[],c=1,f=null,d=3,p=!1,m=!1,h=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var l=t(s);null!==l;){if(null===l.callback)r(s);else {if(!(l.startTime<=e))break;r(s),l.sortIndex=l.expirationTime,n(i,l);}l=t(s);}}function w(e){if(h=!1,b(e),!m)if(null!==t(i))m=!0,R(k);else {var n=t(s);null!==n&&M(w,n.startTime-e);}}function k(n,l){m=!1,h&&(h=!1,g(_),_=-1),p=!0;var a=d;try{for(b(l),f=t(i);null!==f&&(!(f.expirationTime>l)||n&&!P());){var o=f.callback;if("function"==typeof o){f.callback=null,d=f.priorityLevel;var u=o(f.expirationTime<=l);l=e.unstable_now(),"function"==typeof u?f.callback=u:f===t(i)&&r(i),b(l);}else r(i);f=t(i);}if(null!==f)var c=!0;else {var v=t(s);null!==v&&M(w,v.startTime-l),c=!1;}return c}finally{f=null,d=a,p=!1;}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,x=!1,E=null,_=-1,C=5,N=-1;function P(){return !(e.unstable_now()-N<C)}function z(){if(null!==E){var n=e.unstable_now();N=n;var t=!0;try{t=E(!0,n);}finally{t?S():(x=!1,E=null);}}else x=!1;}if("function"==typeof y)S=function(){y(z);};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,L=T.port2;T.port1.onmessage=z,S=function(){L.postMessage(null);};}else S=function(){v(z,0);};function R(e){E=e,x||(x=!0,S());}function M(n,t){_=v((function(){n(e.unstable_now());}),t);}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(e){e.callback=null;},e.unstable_continueExecution=function(){m||p||(m=!0,R(k));},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5;},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return t(i)},e.unstable_next=function(e){switch(d){case 1:case 2:case 3:var n=3;break;default:n=d;}var t=d;d=n;try{return e()}finally{d=t;}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3;}var t=d;d=e;try{return n()}finally{d=t;}},e.unstable_scheduleCallback=function(r,l,a){var o=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?o+a:o:a=o,r){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3;}return r={id:c++,callback:l,priorityLevel:r,startTime:a,expirationTime:u=a+u,sortIndex:-1},a>o?(r.sortIndex=a,n(s,r),null===t(i)&&r===t(s)&&(h?(g(_),_=-1):h=!0,M(w,a-o))):(r.sortIndex=u,n(i,r),m||p||(m=!0,R(k))),r},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(e){var n=d;return function(){var t=d;d=n;try{return e.apply(this,arguments)}finally{d=t;}}};}(ee),J.exports=ee;var ne=J.exports,te=A,re=ne;
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function le(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 ae=new Set,oe={};function ue(e,n){ie(e,n),ie(e+"Capture",n);}function ie(e,n){for(oe[e]=n,e=0;e<n.length;e++)ae.add(n[e]);}var se=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ce=Object.prototype.hasOwnProperty,fe=/^[: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]*$/,de={},pe={};function me(e,n,t,r,l,a,o){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=a,this.removeEmptyString=o;}var he={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){he[e]=new me(e,0,!1,e,null,!1,!1);})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var n=e[0];he[n]=new me(n,1,!1,e[1],null,!1,!1);})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){he[e]=new me(e,2,!1,e.toLowerCase(),null,!1,!1);})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){he[e]=new me(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){he[e]=new me(e,3,!1,e.toLowerCase(),null,!1,!1);})),["checked","multiple","muted","selected"].forEach((function(e){he[e]=new me(e,3,!0,e,null,!1,!1);})),["capture","download"].forEach((function(e){he[e]=new me(e,4,!1,e,null,!1,!1);})),["cols","rows","size","span"].forEach((function(e){he[e]=new me(e,6,!1,e,null,!1,!1);})),["rowSpan","start"].forEach((function(e){he[e]=new me(e,5,!1,e.toLowerCase(),null,!1,!1);}));var ve=/[\-:]([a-z])/g;function ge(e){return e[1].toUpperCase()}function ye(e,n,t,r){var l=he.hasOwnProperty(n)?he[n]:null;(null!==l?0!==l.type:r||!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&(function(e,n,t,r){if(null==n||function(e,n,t,r){if(null!==t&&0===t.type)return !1;switch(typeof n){case"function":case"symbol":return !0;case"boolean":return !r&&(null!==t?!t.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return !1}}(e,n,t,r))return !0;if(r)return !1;if(null!==t)switch(t.type){case 3:return !n;case 4:return !1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return !1}(n,t,l,r)&&(t=null),r||null===l?function(e){return !!ce.call(pe,e)||!ce.call(de,e)&&(fe.test(e)?pe[e]=!0:(de[e]=!0,!1))}(n)&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=null===t?3!==l.type&&"":t:(n=l.attributeName,r=l.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(l=l.type)||4===l&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))));}"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(ve,ge);he[n]=new me(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(ve,ge);he[n]=new me(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(ve,ge);he[n]=new me(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1);})),["tabIndex","crossOrigin"].forEach((function(e){he[e]=new me(e,1,!1,e.toLowerCase(),null,!1,!1);})),he.xlinkHref=new me("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){he[e]=new me(e,1,!1,e.toLowerCase(),null,!0,!0);}));var be=te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,we=Symbol.for("react.element"),ke=Symbol.for("react.portal"),Se=Symbol.for("react.fragment"),xe=Symbol.for("react.strict_mode"),Ee=Symbol.for("react.profiler"),_e=Symbol.for("react.provider"),Ce=Symbol.for("react.context"),Ne=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),ze=Symbol.for("react.suspense_list"),Te=Symbol.for("react.memo"),Le=Symbol.for("react.lazy"),Re=Symbol.for("react.offscreen"),Me=Symbol.iterator;function Oe(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Me&&e[Me]||e["@@iterator"])?e:null}var Fe,Ie=Object.assign;function De(e){if(void 0===Fe)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);Fe=n&&n[1]||"";}return "\n"+Fe+e}var Ue=!1;function je(e,n){if(!e||Ue)return "";Ue=!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()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[]);}catch(s){var r=s;}Reflect.construct(e,[],n);}else {try{n.call();}catch(s){r=s;}e.call(n.prototype);}else {try{throw Error()}catch(s){r=s;}e();}}catch(s){if(s&&r&&"string"==typeof s.stack){for(var l=s.stack.split("\n"),a=r.stack.split("\n"),o=l.length-1,u=a.length-1;1<=o&&0<=u&&l[o]!==a[u];)u--;for(;1<=o&&0<=u;o--,u--)if(l[o]!==a[u]){if(1!==o||1!==u)do{if(o--,0>--u||l[o]!==a[u]){var i="\n"+l[o].replace(" at new "," at ");return e.displayName&&i.includes("<anonymous>")&&(i=i.replace("<anonymous>",e.displayName)),i}}while(1<=o&&0<=u);break}}}finally{Ue=!1,Error.prepareStackTrace=t;}return (e=e?e.displayName||e.name:"")?De(e):""}function Ae(e){switch(e.tag){case 5:return De(e.type);case 16:return De("Lazy");case 13:return De("Suspense");case 19:return De("SuspenseList");case 0:case 2:case 15:return e=je(e.type,!1);case 11:return e=je(e.type.render,!1);case 1:return e=je(e.type,!0);default:return ""}}function Ve(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Se:return "Fragment";case ke:return "Portal";case Ee:return "Profiler";case xe:return "StrictMode";case Pe:return "Suspense";case ze:return "SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Ce:return (e.displayName||"Context")+".Consumer";case _e:return (e._context.displayName||"Context")+".Provider";case Ne:var n=e.render;return (e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Te:return null!==(n=e.displayName||null)?n:Ve(e.type)||"Memo";case Le:n=e._payload,e=e._init;try{return Ve(e(n))}catch(t){}}return null}function $e(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=(e=n.render).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 Ve(n);case 8:return n===xe?"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("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n}return null}function Be(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return ""}}function We(e){var n=e.type;return (e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function He(e){e._valueTracker||(e._valueTracker=function(e){var n=We(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&void 0!==t&&"function"==typeof t.get&&"function"==typeof t.set){var l=t.get,a=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e);}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e;},stopTracking:function(){e._valueTracker=null,delete e[n];}}}}(e));}function Qe(e){if(!e)return !1;var n=e._valueTracker;if(!n)return !0;var t=n.getValue(),r="";return e&&(r=We(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function qe(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function Ke(e,n){var t=n.checked;return Ie({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function Ye(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=Be(null!=n.value?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value};}function Xe(e,n){null!=(n=n.checked)&&ye(e,"checked",n,!1);}function Ge(e,n){Xe(e,n);var t=Be(n.value),r=n.type;if(null!=t)"number"===r?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");n.hasOwnProperty("value")?Je(e,n.type,t):n.hasOwnProperty("defaultValue")&&Je(e,n.type,Be(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked);}function Ze(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!("submit"!==r&&"reset"!==r||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n;}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t);}function Je(e,n,t){"number"===n&&qe(e.ownerDocument)===e||(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t));}var en=Array.isArray;function nn(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=""+Be(t),n=null,l=0;l<e.length;l++){if(e[l].value===t)return e[l].selected=!0,void(r&&(e[l].defaultSelected=!0));null!==n||e[l].disabled||(n=e[l]);}null!==n&&(n.selected=!0);}}function tn(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(le(91));return Ie({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function rn(e,n){var t=n.value;if(null==t){if(t=n.children,n=n.defaultValue,null!=t){if(null!=n)throw Error(le(92));if(en(t)){if(1<t.length)throw Error(le(93));t=t[0];}n=t;}null==n&&(n=""),t=n;}e._wrapperState={initialValue:Be(t)};}function ln(e,n){var t=Be(n.value),r=Be(n.defaultValue);null!=t&&((t=""+t)!==e.value&&(e.value=t),null==n.defaultValue&&e.defaultValue!==t&&(e.defaultValue=t)),null!=r&&(e.defaultValue=""+r);}function an(e){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n);}function on(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 un(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?on(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}var sn,cn,fn=(cn=function(e,n){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=n;else {for((sn=sn||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=sn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,r){MSApp.execUnsafeLocalFunction((function(){return cn(e,n)}));}:cn);function dn(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType)return void(t.nodeValue=n)}e.textContent=n;}var pn={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},mn=["Webkit","ms","Moz","O"];function hn(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||pn.hasOwnProperty(e)&&pn[e]?(""+n).trim():n+"px"}function vn(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),l=hn(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l;}}Object.keys(pn).forEach((function(e){mn.forEach((function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),pn[n]=pn[e];}));}));var gn=Ie({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 yn(e,n){if(n){if(gn[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(le(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(le(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(le(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(le(62))}}function bn(e,n){if(-1===e.indexOf("-"))return "string"==typeof n.is;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 wn=null;function kn(e){return (e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Sn=null,xn=null,En=null;function _n(e){if(e=ya(e)){if("function"!=typeof Sn)throw Error(le(280));var n=e.stateNode;n&&(n=wa(n),Sn(e.stateNode,e.type,n));}}function Cn(e){xn?En?En.push(e):En=[e]:xn=e;}function Nn(){if(xn){var e=xn,n=En;if(En=xn=null,_n(e),n)for(e=0;e<n.length;e++)_n(n[e]);}}function Pn(e,n){return e(n)}function zn(){}var Tn=!1;function Ln(e,n,t){if(Tn)return e(n,t);Tn=!0;try{return Pn(e,n,t)}finally{Tn=!1,(null!==xn||null!==En)&&(zn(),Nn());}}function Rn(e,n){var t=e.stateNode;if(null===t)return null;var r=wa(t);if(null===r)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)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1;}if(e)return null;if(t&&"function"!=typeof t)throw Error(le(231,n,typeof t));return t}var Mn=!1;if(se)try{var On={};Object.defineProperty(On,"passive",{get:function(){Mn=!0;}}),window.addEventListener("test",On,On),window.removeEventListener("test",On,On);}catch(cn){Mn=!1;}function Fn(e,n,t,r,l,a,o,u,i){var s=Array.prototype.slice.call(arguments,3);try{n.apply(t,s);}catch(c){this.onError(c);}}var In=!1,Dn=null,Un=!1,jn=null,An={onError:function(e){In=!0,Dn=e;}};function Vn(e,n,t,r,l,a,o,u,i){In=!1,Dn=null,Fn.apply(An,arguments);}function $n(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else {e=n;do{!!(4098&(n=e).flags)&&(t=n.return),e=n.return;}while(e)}return 3===n.tag?t:null}function Bn(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&(null!==(e=e.alternate)&&(n=e.memoizedState)),null!==n)return n.dehydrated}return null}function Wn(e){if($n(e)!==e)throw Error(le(188))}function Hn(e){return null!==(e=function(e){var n=e.alternate;if(!n){if(null===(n=$n(e)))throw Error(le(188));return n!==e?null:e}for(var t=e,r=n;;){var l=t.return;if(null===l)break;var a=l.alternate;if(null===a){if(null!==(r=l.return)){t=r;continue}break}if(l.child===a.child){for(a=l.child;a;){if(a===t)return Wn(l),e;if(a===r)return Wn(l),n;a=a.sibling;}throw Error(le(188))}if(t.return!==r.return)t=l,r=a;else {for(var o=!1,u=l.child;u;){if(u===t){o=!0,t=l,r=a;break}if(u===r){o=!0,r=l,t=a;break}u=u.sibling;}if(!o){for(u=a.child;u;){if(u===t){o=!0,t=a,r=l;break}if(u===r){o=!0,r=a,t=l;break}u=u.sibling;}if(!o)throw Error(le(189))}}if(t.alternate!==r)throw Error(le(190))}if(3!==t.tag)throw Error(le(188));return t.stateNode.current===t?e:n}(e))?Qn(e):null}function Qn(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var n=Qn(e);if(null!==n)return n;e=e.sibling;}return null}var qn=re.unstable_scheduleCallback,Kn=re.unstable_cancelCallback,Yn=re.unstable_shouldYield,Xn=re.unstable_requestPaint,Gn=re.unstable_now,Zn=re.unstable_getCurrentPriorityLevel,Jn=re.unstable_ImmediatePriority,et=re.unstable_UserBlockingPriority,nt=re.unstable_NormalPriority,tt=re.unstable_LowPriority,rt=re.unstable_IdlePriority,lt=null,at=null;var ot=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ut(e)/it|0)|0},ut=Math.log,it=Math.LN2;var st=64,ct=4194304;function ft(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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,n){var t=e.pendingLanes;if(0===t)return 0;var r=0,l=e.suspendedLanes,a=e.pingedLanes,o=268435455&t;if(0!==o){var u=o&~l;0!==u?r=ft(u):0!==(a&=o)&&(r=ft(a));}else 0!==(o=t&~l)?r=ft(o):0!==a&&(r=ft(a));if(0===r)return 0;if(0!==n&&n!==r&&!(n&l)&&((l=r&-r)>=(a=n&-n)||16===l&&4194240&a))return n;if(4&r&&(r|=16&t),0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)l=1<<(t=31-ot(n)),r|=e[t],n&=~l;return r}function pt(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;default:return -1}}function mt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=st;return !(4194240&(st<<=1))&&(st=64),e}function vt(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function gt(e,n,t){e.pendingLanes|=n,536870912!==n&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[n=31-ot(n)]=t;}function yt(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-ot(t),l=1<<r;l&n|e[r]&n&&(e[r]|=n),t&=~l;}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var kt,St,xt,Et,_t,Ct=!1,Nt=[],Pt=null,zt=null,Tt=null,Lt=new Map,Rt=new Map,Mt=[],Ot="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 Ft(e,n){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":zt=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":Lt.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(n.pointerId);}}function It(e,n,t,r,l,a){return null===e||e.nativeEvent!==a?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:a,targetContainers:[l]},null!==n&&(null!==(n=ya(n))&&St(n)),e):(e.eventSystemFlags|=r,n=e.targetContainers,null!==l&&-1===n.indexOf(l)&&n.push(l),e)}function Dt(e){var n=ga(e.target);if(null!==n){var t=$n(n);if(null!==t)if(13===(n=t.tag)){if(null!==(n=Bn(t)))return e.blockedOn=n,void _t(e.priority,(function(){xt(t);}))}else if(3===n&&t.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}e.blockedOn=null;}function Ut(e){if(null!==e.blockedOn)return !1;for(var n=e.targetContainers;0<n.length;){var t=Yt(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=ya(t))&&St(n),e.blockedOn=t,!1;var r=new(t=e.nativeEvent).constructor(t.type,t);wn=r,t.target.dispatchEvent(r),wn=null,n.shift();}return !0}function jt(e,n,t){Ut(e)&&t.delete(n);}function At(){Ct=!1,null!==Pt&&Ut(Pt)&&(Pt=null),null!==zt&&Ut(zt)&&(zt=null),null!==Tt&&Ut(Tt)&&(Tt=null),Lt.forEach(jt),Rt.forEach(jt);}function Vt(e,n){e.blockedOn===n&&(e.blockedOn=null,Ct||(Ct=!0,re.unstable_scheduleCallback(re.unstable_NormalPriority,At)));}function $t(e){function n(n){return Vt(n,e)}if(0<Nt.length){Vt(Nt[0],e);for(var t=1;t<Nt.length;t++){var r=Nt[t];r.blockedOn===e&&(r.blockedOn=null);}}for(null!==Pt&&Vt(Pt,e),null!==zt&&Vt(zt,e),null!==Tt&&Vt(Tt,e),Lt.forEach(n),Rt.forEach(n),t=0;t<Mt.length;t++)(r=Mt[t]).blockedOn===e&&(r.blockedOn=null);for(;0<Mt.length&&null===(t=Mt[0]).blockedOn;)Dt(t),null===t.blockedOn&&Mt.shift();}var Bt=be.ReactCurrentBatchConfig,Wt=!0;function Ht(e,n,t,r){var l=bt,a=Bt.transition;Bt.transition=null;try{bt=1,qt(e,n,t,r);}finally{bt=l,Bt.transition=a;}}function Qt(e,n,t,r){var l=bt,a=Bt.transition;Bt.transition=null;try{bt=4,qt(e,n,t,r);}finally{bt=l,Bt.transition=a;}}function qt(e,n,t,r){if(Wt){var l=Yt(e,n,t,r);if(null===l)Bl(e,n,r,Kt,t),Ft(e,r);else if(function(e,n,t,r,l){switch(n){case"focusin":return Pt=It(Pt,e,n,t,r,l),!0;case"dragenter":return zt=It(zt,e,n,t,r,l),!0;case"mouseover":return Tt=It(Tt,e,n,t,r,l),!0;case"pointerover":var a=l.pointerId;return Lt.set(a,It(Lt.get(a)||null,e,n,t,r,l)),!0;case"gotpointercapture":return a=l.pointerId,Rt.set(a,It(Rt.get(a)||null,e,n,t,r,l)),!0}return !1}(l,e,n,t,r))r.stopPropagation();else if(Ft(e,r),4&n&&-1<Ot.indexOf(e)){for(;null!==l;){var a=ya(l);if(null!==a&&kt(a),null===(a=Yt(e,n,t,r))&&Bl(e,n,r,Kt,t),a===l)break;l=a;}null!==l&&r.stopPropagation();}else Bl(e,n,r,null,t);}}var Kt=null;function Yt(e,n,t,r){if(Kt=null,null!==(e=ga(e=kn(r))))if(null===(n=$n(e)))e=null;else if(13===(t=n.tag)){if(null!==(e=Bn(n)))return e;e=null;}else if(3===t){if(n.stateNode.current.memoizedState.isDehydrated)return 3===n.tag?n.stateNode.containerInfo:null;e=null;}else n!==e&&(e=null);return Kt=e,null}function Xt(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(Zn()){case Jn:return 1;case et:return 4;case nt:case tt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Gt=null,Zt=null,Jt=null;function er(){if(Jt)return Jt;var e,n,t=Zt,r=t.length,l="value"in Gt?Gt.value:Gt.textContent,a=l.length;for(e=0;e<r&&t[e]===l[e];e++);var o=r-e;for(n=1;n<=o&&t[r-n]===l[a-n];n++);return Jt=l.slice(e,1<n?1-n:void 0)}function nr(e){var n=e.keyCode;return "charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}function tr(){return !0}function rr(){return !1}function lr(e){function n(n,t,r,l,a){for(var o in this._reactName=n,this._targetInst=r,this.type=t,this.nativeEvent=l,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(n=e[o],this[o]=n?n(l):l[o]);return this.isDefaultPrevented=(null!=l.defaultPrevented?l.defaultPrevented:!1===l.returnValue)?tr:rr,this.isPropagationStopped=rr,this}return Ie(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tr);},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tr);},persist:function(){},isPersistent:tr}),n}var ar,or,ur,ir={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sr=lr(ir),cr=Ie({},ir,{view:0,detail:0}),fr=lr(cr),dr=Ie({},cr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Er,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return "movementX"in e?e.movementX:(e!==ur&&(ur&&"mousemove"===e.type?(ar=e.screenX-ur.screenX,or=e.screenY-ur.screenY):or=ar=0,ur=e),ar)},movementY:function(e){return "movementY"in e?e.movementY:or}}),pr=lr(dr),mr=lr(Ie({},dr,{dataTransfer:0})),hr=lr(Ie({},cr,{relatedTarget:0})),vr=lr(Ie({},ir,{animationName:0,elapsedTime:0,pseudoElement:0})),gr=Ie({},ir,{clipboardData:function(e){return "clipboardData"in e?e.clipboardData:window.clipboardData}}),yr=lr(gr),br=lr(Ie({},ir,{data:0})),wr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kr={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"},Sr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xr(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=Sr[e])&&!!n[e]}function Er(){return xr}var _r=Ie({},cr,{key:function(e){if(e.key){var n=wr[e.key]||e.key;if("Unidentified"!==n)return n}return "keypress"===e.type?13===(e=nr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Er,charCode:function(e){return "keypress"===e.type?nr(e):0},keyCode:function(e){return "keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return "keypress"===e.type?nr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cr=lr(_r),Nr=lr(Ie({},dr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pr=lr(Ie({},cr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Er})),zr=lr(Ie({},ir,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tr=Ie({},dr,{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}),Lr=lr(Tr),Rr=[9,13,27,32],Mr=se&&"CompositionEvent"in window,Or=null;se&&"documentMode"in document&&(Or=document.documentMode);var Fr=se&&"TextEvent"in window&&!Or,Ir=se&&(!Mr||Or&&8<Or&&11>=Or),Dr=String.fromCharCode(32),Ur=!1;function jr(e,n){switch(e){case"keyup":return -1!==Rr.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return !0;default:return !1}}function Ar(e){return "object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Vr=!1;var $r={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 Br(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return "input"===n?!!$r[e.type]:"textarea"===n}function Wr(e,n,t,r){Cn(r),0<(n=Hl(n,"onChange")).length&&(t=new sr("onChange","change",null,t,r),e.push({event:t,listeners:n}));}var Hr=null,Qr=null;function qr(e){Dl(e,0);}function Kr(e){if(Qe(ba(e)))return e}function Yr(e,n){if("change"===e)return n}var Xr=!1;if(se){var Gr;if(se){var Zr="oninput"in document;if(!Zr){var Jr=document.createElement("div");Jr.setAttribute("oninput","return;"),Zr="function"==typeof Jr.oninput;}Gr=Zr;}else Gr=!1;Xr=Gr&&(!document.documentMode||9<document.documentMode);}function el(){Hr&&(Hr.detachEvent("onpropertychange",nl),Qr=Hr=null);}function nl(e){if("value"===e.propertyName&&Kr(Qr)){var n=[];Wr(n,Qr,e,kn(e)),Ln(qr,n);}}function tl(e,n,t){"focusin"===e?(el(),Qr=t,(Hr=n).attachEvent("onpropertychange",nl)):"focusout"===e&&el();}function rl(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kr(Qr)}function ll(e,n){if("click"===e)return Kr(n)}function al(e,n){if("input"===e||"change"===e)return Kr(n)}var ol="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n};function ul(e,n){if(ol(e,n))return !0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)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(!ce.call(n,l)||!ol(e[l],n[l]))return !1}return !0}function il(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sl(e,n){var t,r=il(e);for(e=0;r;){if(3===r.nodeType){if(t=e+r.textContent.length,e<=n&&t>=n)return {node:r,offset:n-e};e=t;}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode;}r=void 0;}r=il(r);}}function cl(e,n){return !(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?cl(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function fl(){for(var e=window,n=qe();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href;}catch(r){t=!1;}if(!t)break;n=qe((e=n.contentWindow).document);}return n}function dl(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}function pl(e){var n=fl(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&cl(t.ownerDocument.documentElement,t)){if(null!==r&&dl(t))if(n=r.start,void 0===(e=r.end)&&(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).getSelection){e=e.getSelection();var l=t.textContent.length,a=Math.min(r.start,l);r=void 0===r.end?a:Math.min(r.end,l),!e.extend&&a>r&&(l=r,r=a,a=l),l=sl(t,a);var o=sl(t,r);l&&o&&(1!==e.rangeCount||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((n=n.createRange()).setStart(l.node,l.offset),e.removeAllRanges(),a>r?(e.addRange(n),e.extend(o.node,o.offset)):(n.setEnd(o.node,o.offset),e.addRange(n)));}for(n=[],e=t;e=e.parentNode;)1===e.nodeType&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<n.length;t++)(e=n[t]).element.scrollLeft=e.left,e.element.scrollTop=e.top;}}var ml=se&&"documentMode"in document&&11>=document.documentMode,hl=null,vl=null,gl=null,yl=!1;function bl(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;yl||null==hl||hl!==qe(r)||("selectionStart"in(r=hl)&&dl(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gl&&ul(gl,r)||(gl=r,0<(r=Hl(vl,"onSelect")).length&&(n=new sr("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=hl)));}function wl(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var kl={animationend:wl("Animation","AnimationEnd"),animationiteration:wl("Animation","AnimationIteration"),animationstart:wl("Animation","AnimationStart"),transitionend:wl("Transition","TransitionEnd")},Sl={},xl={};function El(e){if(Sl[e])return Sl[e];if(!kl[e])return e;var n,t=kl[e];for(n in t)if(t.hasOwnProperty(n)&&n in xl)return Sl[e]=t[n];return e}se&&(xl=document.createElement("div").style,"AnimationEvent"in window||(delete kl.animationend.animation,delete kl.animationiteration.animation,delete kl.animationstart.animation),"TransitionEvent"in window||delete kl.transitionend.transition);var _l=El("animationend"),Cl=El("animationiteration"),Nl=El("animationstart"),Pl=El("transitionend"),zl=new Map,Tl="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 Ll(e,n){zl.set(e,n),ue(n,[e]);}for(var Rl=0;Rl<Tl.length;Rl++){var Ml=Tl[Rl];Ll(Ml.toLowerCase(),"on"+(Ml[0].toUpperCase()+Ml.slice(1)));}Ll(_l,"onAnimationEnd"),Ll(Cl,"onAnimationIteration"),Ll(Nl,"onAnimationStart"),Ll("dblclick","onDoubleClick"),Ll("focusin","onFocus"),Ll("focusout","onBlur"),Ll(Pl,"onTransitionEnd"),ie("onMouseEnter",["mouseout","mouseover"]),ie("onMouseLeave",["mouseout","mouseover"]),ie("onPointerEnter",["pointerout","pointerover"]),ie("onPointerLeave",["pointerout","pointerover"]),ue("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ue("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ue("onBeforeInput",["compositionend","keypress","textInput","paste"]),ue("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ue("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ue("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ol="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(" "),Fl=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ol));function Il(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,function(e,n,t,r,l,a,o,u,i){if(Vn.apply(this,arguments),In){if(!In)throw Error(le(198));var s=Dn;In=!1,Dn=null,Un||(Un=!0,jn=s);}}(r,n,void 0,e),e.currentTarget=null;}function Dl(e,n){n=!!(4&n);for(var t=0;t<e.length;t++){var r=e[t],l=r.event;r=r.listeners;e:{var a=void 0;if(n)for(var o=r.length-1;0<=o;o--){var u=r[o],i=u.instance,s=u.currentTarget;if(u=u.listener,i!==a&&l.isPropagationStopped())break e;Il(l,u,s),a=i;}else for(o=0;o<r.length;o++){if(i=(u=r[o]).instance,s=u.currentTarget,u=u.listener,i!==a&&l.isPropagationStopped())break e;Il(l,u,s),a=i;}}}if(Un)throw e=jn,Un=!1,jn=null,e}function Ul(e,n){var t=n[ma];void 0===t&&(t=n[ma]=new Set);var r=e+"__bubble";t.has(r)||($l(n,e,2,!1),t.add(r));}function jl(e,n,t){var r=0;n&&(r|=4),$l(t,e,r,n);}var Al="_reactListening"+Math.random().toString(36).slice(2);function Vl(e){if(!e[Al]){e[Al]=!0,ae.forEach((function(n){"selectionchange"!==n&&(Fl.has(n)||jl(n,!1,e),jl(n,!0,e));}));var n=9===e.nodeType?e:e.ownerDocument;null===n||n[Al]||(n[Al]=!0,jl("selectionchange",!1,n));}}function $l(e,n,t,r){switch(Xt(n)){case 1:var l=Ht;break;case 4:l=Qt;break;default:l=qt;}t=l.bind(null,n,t,e),l=void 0,!Mn||"touchstart"!==n&&"touchmove"!==n&&"wheel"!==n||(l=!0),r?void 0!==l?e.addEventListener(n,t,{capture:!0,passive:l}):e.addEventListener(n,t,!0):void 0!==l?e.addEventListener(n,t,{passive:l}):e.addEventListener(n,t,!1);}function Bl(e,n,t,r,l){var a=r;if(!(1&n||2&n||null===r))e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var u=r.stateNode.containerInfo;if(u===l||8===u.nodeType&&u.parentNode===l)break;if(4===o)for(o=r.return;null!==o;){var i=o.tag;if((3===i||4===i)&&((i=o.stateNode.containerInfo)===l||8===i.nodeType&&i.parentNode===l))return;o=o.return;}for(;null!==u;){if(null===(o=ga(u)))return;if(5===(i=o.tag)||6===i){r=a=o;continue e}u=u.parentNode;}}r=r.return;}Ln((function(){var r=a,l=kn(t),o=[];e:{var u=zl.get(e);if(void 0!==u){var i=sr,s=e;switch(e){case"keypress":if(0===nr(t))break e;case"keydown":case"keyup":i=Cr;break;case"focusin":s="focus",i=hr;break;case"focusout":s="blur",i=hr;break;case"beforeblur":case"afterblur":i=hr;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":i=pr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":i=mr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":i=Pr;break;case _l:case Cl:case Nl:i=vr;break;case Pl:i=zr;break;case"scroll":i=fr;break;case"wheel":i=Lr;break;case"copy":case"cut":case"paste":i=yr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":i=Nr;}var c=!!(4&n),f=!c&&"scroll"===e,d=c?null!==u?u+"Capture":null:u;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==d&&(null!=(h=Rn(m,d))&&c.push(Wl(m,h,p)))),f)break;m=m.return;}0<c.length&&(u=new i(u,s,null,t,l),o.push({event:u,listeners:c}));}}if(!(7&n)){if(i="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||t===wn||!(s=t.relatedTarget||t.fromElement)||!ga(s)&&!s[pa])&&(i||u)&&(u=l.window===l?l:(u=l.ownerDocument)?u.defaultView||u.parentWindow:window,i?(i=r,null!==(s=(s=t.relatedTarget||t.toElement)?ga(s):null)&&(s!==(f=$n(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(i=null,s=r),i!==s)){if(c=pr,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nr,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==i?u:ba(i),p=null==s?u:ba(s),(u=new c(h,m+"leave",i,t,l)).target=f,u.relatedTarget=p,h=null,ga(l)===r&&((c=new c(d,m+"enter",s,t,l)).target=p,c.relatedTarget=f,h=c),f=h,i&&s)e:{for(d=s,m=0,p=c=i;p;p=Ql(p))m++;for(p=0,h=d;h;h=Ql(h))p++;for(;0<m-p;)c=Ql(c),m--;for(;0<p-m;)d=Ql(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=Ql(c),d=Ql(d);}c=null;}else c=null;null!==i&&ql(o,u,i,c,!1),null!==s&&null!==f&&ql(o,f,s,c,!0);}if("select"===(i=(u=r?ba(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===i&&"file"===u.type)var v=Yr;else if(Br(u))if(Xr)v=al;else {v=rl;var g=tl;}else (i=u.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(v=ll);switch(v&&(v=v(e,r))?Wr(o,v,t,l):(g&&g(e,u,r),"focusout"===e&&(g=u._wrapperState)&&g.controlled&&"number"===u.type&&Je(u,"number",u.value)),g=r?ba(r):window,e){case"focusin":(Br(g)||"true"===g.contentEditable)&&(hl=g,vl=r,gl=null);break;case"focusout":gl=vl=hl=null;break;case"mousedown":yl=!0;break;case"contextmenu":case"mouseup":case"dragend":yl=!1,bl(o,t,l);break;case"selectionchange":if(ml)break;case"keydown":case"keyup":bl(o,t,l);}var y;if(Mr)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0;}else Vr?jr(e,t)&&(b="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(b="onCompositionStart");b&&(Ir&&"ko"!==t.locale&&(Vr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vr&&(y=er()):(Zt="value"in(Gt=l)?Gt.value:Gt.textContent,Vr=!0)),0<(g=Hl(r,b)).length&&(b=new br(b,e,null,t,l),o.push({event:b,listeners:g}),y?b.data=y:null!==(y=Ar(t))&&(b.data=y))),(y=Fr?function(e,n){switch(e){case"compositionend":return Ar(n);case"keypress":return 32!==n.which?null:(Ur=!0,Dr);case"textInput":return (e=n.data)===Dr&&Ur?null:e;default:return null}}(e,t):function(e,n){if(Vr)return "compositionend"===e||!Mr&&jr(e,n)?(e=er(),Jt=Zt=Gt=null,Vr=!1,e):null;switch(e){case"paste":default: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 Ir&&"ko"!==n.locale?null:n.data}}(e,t))&&(0<(r=Hl(r,"onBeforeInput")).length&&(l=new br("onBeforeInput","beforeinput",null,t,l),o.push({event:l,listeners:r}),l.data=y));}Dl(o,n);}));}function Wl(e,n,t){return {instance:e,listener:n,currentTarget:t}}function Hl(e,n){for(var t=n+"Capture",r=[];null!==e;){var l=e,a=l.stateNode;5===l.tag&&null!==a&&(l=a,null!=(a=Rn(e,t))&&r.unshift(Wl(e,a,l)),null!=(a=Rn(e,n))&&r.push(Wl(e,a,l))),e=e.return;}return r}function Ql(e){if(null===e)return null;do{e=e.return;}while(e&&5!==e.tag);return e||null}function ql(e,n,t,r,l){for(var a=n._reactName,o=[];null!==t&&t!==r;){var u=t,i=u.alternate,s=u.stateNode;if(null!==i&&i===r)break;5===u.tag&&null!==s&&(u=s,l?null!=(i=Rn(t,a))&&o.unshift(Wl(t,i,u)):l||null!=(i=Rn(t,a))&&o.push(Wl(t,i,u))),t=t.return;}0!==o.length&&e.push({event:n,listeners:o});}var Kl=/\r\n?/g,Yl=/\u0000|\uFFFD/g;function Xl(e){return ("string"==typeof e?e:""+e).replace(Kl,"\n").replace(Yl,"")}function Gl(e,n,t){if(n=Xl(n),Xl(e)!==n&&t)throw Error(le(425))}function Zl(){}var Jl=null,ea=null;function na(e,n){return "textarea"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}var ta="function"==typeof setTimeout?setTimeout:void 0,ra="function"==typeof clearTimeout?clearTimeout:void 0,la="function"==typeof Promise?Promise:void 0,aa="function"==typeof queueMicrotask?queueMicrotask:void 0!==la?function(e){return la.resolve(null).then(e).catch(oa)}:ta;function oa(e){setTimeout((function(){throw e}));}function ua(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&8===l.nodeType)if("/$"===(t=l.data)){if(0===r)return e.removeChild(l),void $t(n);r--;}else "$"!==t&&"$?"!==t&&"$!"!==t||r++;t=l;}while(t);$t(n);}function ia(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break;if(8===n){if("$"===(n=e.data)||"$!"===n||"$?"===n)break;if("/$"===n)return null}}return e}function sa(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===n)return e;n--;}else "/$"===t&&n++;}e=e.previousSibling;}return null}var ca=Math.random().toString(36).slice(2),fa="__reactFiber$"+ca,da="__reactProps$"+ca,pa="__reactContainer$"+ca,ma="__reactEvents$"+ca,ha="__reactListeners$"+ca,va="__reactHandles$"+ca;function ga(e){var n=e[fa];if(n)return n;for(var t=e.parentNode;t;){if(n=t[pa]||t[fa]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=sa(e);null!==e;){if(t=e[fa])return t;e=sa(e);}return n}t=(e=t).parentNode;}return null}function ya(e){return !(e=e[fa]||e[pa])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ba(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(le(33))}function wa(e){return e[da]||null}var ka=[],Sa=-1;function xa(e){return {current:e}}function Ea(e){0>Sa||(e.current=ka[Sa],ka[Sa]=null,Sa--);}function _a(e,n){Sa++,ka[Sa]=e.current,e.current=n;}var Ca={},Na=xa(Ca),Pa=xa(!1),za=Ca;function Ta(e,n){var t=e.type.contextTypes;if(!t)return Ca;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l,a={};for(l in t)a[l]=n[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function La(e){return null!=(e=e.childContextTypes)}function Ra(){Ea(Pa),Ea(Na);}function Ma(e,n,t){if(Na.current!==Ca)throw Error(le(168));_a(Na,n),_a(Pa,t);}function Oa(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,"function"!=typeof r.getChildContext)return t;for(var l in r=r.getChildContext())if(!(l in n))throw Error(le(108,$e(e)||"Unknown",l));return Ie({},t,r)}function Fa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ca,za=Na.current,_a(Na,e),_a(Pa,Pa.current),!0}function Ia(e,n,t){var r=e.stateNode;if(!r)throw Error(le(169));t?(e=Oa(e,n,za),r.__reactInternalMemoizedMergedChildContext=e,Ea(Pa),Ea(Na),_a(Na,e)):Ea(Pa),_a(Pa,t);}var Da=null,Ua=!1,ja=!1;function Aa(e){null===Da?Da=[e]:Da.push(e);}function Va(){if(!ja&&null!==Da){ja=!0;var e=0,n=bt;try{var t=Da;for(bt=1;e<t.length;e++){var r=t[e];do{r=r(!0);}while(null!==r)}Da=null,Ua=!1;}catch(l){throw null!==Da&&(Da=Da.slice(e+1)),qn(Jn,Va),l}finally{bt=n,ja=!1;}}return null}var $a=[],Ba=0,Wa=null,Ha=0,Qa=[],qa=0,Ka=null,Ya=1,Xa="";function Ga(e,n){$a[Ba++]=Ha,$a[Ba++]=Wa,Wa=e,Ha=n;}function Za(e,n,t){Qa[qa++]=Ya,Qa[qa++]=Xa,Qa[qa++]=Ka,Ka=e;var r=Ya;e=Xa;var l=32-ot(r)-1;r&=~(1<<l),t+=1;var a=32-ot(n)+l;if(30<a){var o=l-l%5;a=(r&(1<<o)-1).toString(32),r>>=o,l-=o,Ya=1<<32-ot(n)+l|t<<l|r,Xa=a+e;}else Ya=1<<a|t<<l|r,Xa=e;}function Ja(e){null!==e.return&&(Ga(e,1),Za(e,1,0));}function eo(e){for(;e===Wa;)Wa=$a[--Ba],$a[Ba]=null,Ha=$a[--Ba],$a[Ba]=null;for(;e===Ka;)Ka=Qa[--qa],Qa[qa]=null,Xa=Qa[--qa],Qa[qa]=null,Ya=Qa[--qa],Qa[qa]=null;}var no=null,to=null,ro=!1,lo=null;function ao(e,n){var t=Tc(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,null===(n=e.deletions)?(e.deletions=[t],e.flags|=16):n.push(t);}function oo(e,n){switch(e.tag){case 5:var t=e.type;return null!==(n=1!==n.nodeType||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n)&&(e.stateNode=n,no=e,to=ia(n.firstChild),!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,no=e,to=null,!0);case 13:return null!==(n=8!==n.nodeType?null:n)&&(t=null!==Ka?{id:Ya,overflow:Xa}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},(t=Tc(18,null,null,0)).stateNode=n,t.return=e,e.child=t,no=e,to=null,!0);default:return !1}}function uo(e){return !(!(1&e.mode)||128&e.flags)}function io(e){if(ro){var n=to;if(n){var t=n;if(!oo(e,n)){if(uo(e))throw Error(le(418));n=ia(t.nextSibling);var r=no;n&&oo(e,n)?ao(r,t):(e.flags=-4097&e.flags|2,ro=!1,no=e);}}else {if(uo(e))throw Error(le(418));e.flags=-4097&e.flags|2,ro=!1,no=e;}}}function so(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e;}function co(e){if(e!==no)return !1;if(!ro)return so(e),ro=!0,!1;var n;if((n=3!==e.tag)&&!(n=5!==e.tag)&&(n="head"!==(n=e.type)&&"body"!==n&&!na(e.type,e.memoizedProps)),n&&(n=to)){if(uo(e))throw fo(),Error(le(418));for(;n;)ao(e,n),n=ia(n.nextSibling);}if(so(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(le(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType){var t=e.data;if("/$"===t){if(0===n){to=ia(e.nextSibling);break e}n--;}else "$"!==t&&"$!"!==t&&"$?"!==t||n++;}e=e.nextSibling;}to=null;}}else to=no?ia(e.stateNode.nextSibling):null;return !0}function fo(){for(var e=to;e;)e=ia(e.nextSibling);}function po(){to=no=null,ro=!1;}function mo(e){null===lo?lo=[e]:lo.push(e);}var ho=be.ReactCurrentBatchConfig;function vo(e,n,t){if(null!==(e=t.ref)&&"function"!=typeof e&&"object"!=typeof e){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(le(309));var r=t.stateNode;}if(!r)throw Error(le(147,e));var l=r,a=""+e;return null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===a?n.ref:((n=function(e){var n=l.refs;null===e?delete n[a]:n[a]=e;})._stringRef=a,n)}if("string"!=typeof e)throw Error(le(284));if(!t._owner)throw Error(le(290,e))}return e}function go(e,n){throw e=Object.prototype.toString.call(n),Error(le(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function yo(e){return (0, e._init)(e._payload)}function bo(e){function n(n,t){if(e){var r=n.deletions;null===r?(n.deletions=[t],n.flags|=16):r.push(t);}}function t(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function r(e,n){for(e=new Map;null!==n;)null!==n.key?e.set(n.key,n):e.set(n.index,n),n=n.sibling;return e}function l(e,n){return (e=Rc(e,n)).index=0,e.sibling=null,e}function a(n,t,r){return n.index=r,e?null!==(r=n.alternate)?(r=r.index)<t?(n.flags|=2,t):r:(n.flags|=2,t):(n.flags|=1048576,t)}function o(n){return e&&null===n.alternate&&(n.flags|=2),n}function u(e,n,t,r){return null===n||6!==n.tag?((n=Ic(t,e.mode,r)).return=e,n):((n=l(n,t)).return=e,n)}function i(e,n,t,r){var a=t.type;return a===Se?c(e,n,t.props.children,r,t.key):null!==n&&(n.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===Le&&yo(a)===n.type)?((r=l(n,t.props)).ref=vo(e,n,t),r.return=e,r):((r=Mc(t.type,t.key,t.props,null,e.mode,r)).ref=vo(e,n,t),r.return=e,r)}function s(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=Dc(t,e.mode,r)).return=e,n):((n=l(n,t.children||[])).return=e,n)}function c(e,n,t,r,a){return null===n||7!==n.tag?((n=Oc(t,e.mode,r,a)).return=e,n):((n=l(n,t)).return=e,n)}function f(e,n,t){if("string"==typeof n&&""!==n||"number"==typeof n)return (n=Ic(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case we:return (t=Mc(n.type,n.key,n.props,null,e.mode,t)).ref=vo(e,null,n),t.return=e,t;case ke:return (n=Dc(n,e.mode,t)).return=e,n;case Le:return f(e,(0, n._init)(n._payload),t)}if(en(n)||Oe(n))return (n=Oc(n,e.mode,t,null)).return=e,n;go(e,n);}return null}function d(e,n,t,r){var l=null!==n?n.key:null;if("string"==typeof t&&""!==t||"number"==typeof t)return null!==l?null:u(e,n,""+t,r);if("object"==typeof t&&null!==t){switch(t.$$typeof){case we:return t.key===l?i(e,n,t,r):null;case ke:return t.key===l?s(e,n,t,r):null;case Le:return d(e,n,(l=t._init)(t._payload),r)}if(en(t)||Oe(t))return null!==l?null:c(e,n,t,r,null);go(e,t);}return null}function p(e,n,t,r,l){if("string"==typeof r&&""!==r||"number"==typeof r)return u(n,e=e.get(t)||null,""+r,l);if("object"==typeof r&&null!==r){switch(r.$$typeof){case we:return i(n,e=e.get(null===r.key?t:r.key)||null,r,l);case ke:return s(n,e=e.get(null===r.key?t:r.key)||null,r,l);case Le:return p(e,n,t,(0, r._init)(r._payload),l)}if(en(r)||Oe(r))return c(n,e=e.get(t)||null,r,l,null);go(n,r);}return null}return function u(i,s,c,m){if("object"==typeof c&&null!==c&&c.type===Se&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case we:e:{for(var h=c.key,v=s;null!==v;){if(v.key===h){if((h=c.type)===Se){if(7===v.tag){t(i,v.sibling),(s=l(v,c.props.children)).return=i,i=s;break e}}else if(v.elementType===h||"object"==typeof h&&null!==h&&h.$$typeof===Le&&yo(h)===v.type){t(i,v.sibling),(s=l(v,c.props)).ref=vo(i,v,c),s.return=i,i=s;break e}t(i,v);break}n(i,v),v=v.sibling;}c.type===Se?((s=Oc(c.props.children,i.mode,m,c.key)).return=i,i=s):((m=Mc(c.type,c.key,c.props,null,i.mode,m)).ref=vo(i,s,c),m.return=i,i=m);}return o(i);case ke:e:{for(v=c.key;null!==s;){if(s.key===v){if(4===s.tag&&s.stateNode.containerInfo===c.containerInfo&&s.stateNode.implementation===c.implementation){t(i,s.sibling),(s=l(s,c.children||[])).return=i,i=s;break e}t(i,s);break}n(i,s),s=s.sibling;}(s=Dc(c,i.mode,m)).return=i,i=s;}return o(i);case Le:return u(i,s,(v=c._init)(c._payload),m)}if(en(c))return function(l,o,u,i){for(var s=null,c=null,m=o,h=o=0,v=null;null!==m&&h<u.length;h++){m.index>h?(v=m,m=null):v=m.sibling;var g=d(l,m,u[h],i);if(null===g){null===m&&(m=v);break}e&&m&&null===g.alternate&&n(l,m),o=a(g,o,h),null===c?s=g:c.sibling=g,c=g,m=v;}if(h===u.length)return t(l,m),ro&&Ga(l,h),s;if(null===m){for(;h<u.length;h++)null!==(m=f(l,u[h],i))&&(o=a(m,o,h),null===c?s=m:c.sibling=m,c=m);return ro&&Ga(l,h),s}for(m=r(l,m);h<u.length;h++)null!==(v=p(m,l,h,u[h],i))&&(e&&null!==v.alternate&&m.delete(null===v.key?h:v.key),o=a(v,o,h),null===c?s=v:c.sibling=v,c=v);return e&&m.forEach((function(e){return n(l,e)})),ro&&Ga(l,h),s}(i,s,c,m);if(Oe(c))return function(l,o,u,i){var s=Oe(u);if("function"!=typeof s)throw Error(le(150));if(null==(u=s.call(u)))throw Error(le(151));for(var c=s=null,m=o,h=o=0,v=null,g=u.next();null!==m&&!g.done;h++,g=u.next()){m.index>h?(v=m,m=null):v=m.sibling;var y=d(l,m,g.value,i);if(null===y){null===m&&(m=v);break}e&&m&&null===y.alternate&&n(l,m),o=a(y,o,h),null===c?s=y:c.sibling=y,c=y,m=v;}if(g.done)return t(l,m),ro&&Ga(l,h),s;if(null===m){for(;!g.done;h++,g=u.next())null!==(g=f(l,g.value,i))&&(o=a(g,o,h),null===c?s=g:c.sibling=g,c=g);return ro&&Ga(l,h),s}for(m=r(l,m);!g.done;h++,g=u.next())null!==(g=p(m,l,h,g.value,i))&&(e&&null!==g.alternate&&m.delete(null===g.key?h:g.key),o=a(g,o,h),null===c?s=g:c.sibling=g,c=g);return e&&m.forEach((function(e){return n(l,e)})),ro&&Ga(l,h),s}(i,s,c,m);go(i,c);}return "string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==s&&6===s.tag?(t(i,s.sibling),(s=l(s,c)).return=i,i=s):(t(i,s),(s=Ic(c,i.mode,m)).return=i,i=s),o(i)):t(i,s)}}var wo=bo(!0),ko=bo(!1),So=xa(null),xo=null,Eo=null,_o=null;function Co(){_o=Eo=xo=null;}function No(e){var n=So.current;Ea(So),e._currentValue=n;}function Po(e,n,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,null!==r&&(r.childLanes|=n)):null!==r&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return;}}function zo(e,n){xo=e,_o=Eo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&n)&&(yi=!0),e.firstContext=null);}function To(e){var n=e._currentValue;if(_o!==e)if(e={context:e,memoizedValue:n,next:null},null===Eo){if(null===xo)throw Error(le(308));Eo=e,xo.dependencies={lanes:0,firstContext:e};}else Eo=Eo.next=e;return n}var Lo=null;function Ro(e){null===Lo?Lo=[e]:Lo.push(e);}function Mo(e,n,t,r){var l=n.interleaved;return null===l?(t.next=t,Ro(n)):(t.next=l.next,l.next=t),n.interleaved=t,Oo(e,r)}function Oo(e,n){e.lanes|=n;var t=e.alternate;for(null!==t&&(t.lanes|=n),t=e,e=e.return;null!==e;)e.childLanes|=n,null!==(t=e.alternate)&&(t.childLanes|=n),t=e,e=e.return;return 3===t.tag?t.stateNode:null}var Fo=!1;function Io(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null};}function Do(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 Uo(e,n){return {eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function jo(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ns){var l=r.pending;return null===l?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Oo(e,t)}return null===(l=r.interleaved)?(n.next=n,Ro(r)):(n.next=l.next,l.next=n),r.interleaved=n,Oo(e,t)}function Ao(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,4194240&t)){var r=n.lanes;t|=r&=e.pendingLanes,n.lanes=t,yt(e,t);}}function Vo(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var l=null,a=null;if(null!==(t=t.firstBaseUpdate)){do{var o={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===a?l=a=o:a=a.next=o,t=t.next;}while(null!==t);null===a?l=a=n:a=a.next=n;}else l=a=n;return t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=t)}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n;}function $o(e,n,t,r){var l=e.updateQueue;Fo=!1;var a=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(null!==u){l.shared.pending=null;var i=u,s=i.next;i.next=null,null===o?a=s:o.next=s,o=i;var c=e.alternate;null!==c&&((u=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===u?c.firstBaseUpdate=s:u.next=s,c.lastBaseUpdate=i));}if(null!==a){var f=l.baseState;for(o=0,c=s=i=null,u=a;;){var d=u.lane,p=u.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var m=e,h=u;switch(d=n,p=t,h.tag){case 1:if("function"==typeof(m=h.payload)){f=m.call(p,f,d);break e}f=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(d="function"==typeof(m=h.payload)?m.call(p,f,d):m))break e;f=Ie({},f,d);break e;case 2:Fo=!0;}}null!==u.callback&&0!==u.lane&&(e.flags|=64,null===(d=l.effects)?l.effects=[u]:d.push(u));}else p={eventTime:p,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},null===c?(s=c=p,i=f):c=c.next=p,o|=d;if(null===(u=u.next)){if(null===(u=l.shared.pending))break;u=(d=u).next,d.next=null,l.lastBaseUpdate=d,l.shared.pending=null;}}if(null===c&&(i=f),l.baseState=i,l.firstBaseUpdate=s,l.lastBaseUpdate=c,null!==(n=l.shared.interleaved)){l=n;do{o|=l.lane,l=l.next;}while(l!==n)}else null===a&&(l.shared.lanes=0);Fs|=o,e.lanes=o,e.memoizedState=f;}}function Bo(e,n,t){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var r=e[n],l=r.callback;if(null!==l){if(r.callback=null,r=t,"function"!=typeof l)throw Error(le(191,l));l.call(r);}}}var Wo={},Ho=xa(Wo),Qo=xa(Wo),qo=xa(Wo);function Ko(e){if(e===Wo)throw Error(le(174));return e}function Yo(e,n){switch(_a(qo,n),_a(Qo,e),_a(Ho,Wo),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:un(null,"");break;default:n=un(n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName);}Ea(Ho),_a(Ho,n);}function Xo(){Ea(Ho),Ea(Qo),Ea(qo);}function Go(e){Ko(qo.current);var n=Ko(Ho.current),t=un(n,e.type);n!==t&&(_a(Qo,e),_a(Ho,t));}function Zo(e){Qo.current===e&&(Ea(Ho),Ea(Qo));}var Jo=xa(0);function eu(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(128&n.flags)return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return;}n.sibling.return=n.return,n=n.sibling;}return null}var nu=[];function tu(){for(var e=0;e<nu.length;e++)nu[e]._workInProgressVersionPrimary=null;nu.length=0;}var ru=be.ReactCurrentDispatcher,lu=be.ReactCurrentBatchConfig,au=0,ou=null,uu=null,iu=null,su=!1,cu=!1,fu=0,du=0;function pu(){throw Error(le(321))}function mu(e,n){if(null===n)return !1;for(var t=0;t<n.length&&t<e.length;t++)if(!ol(e[t],n[t]))return !1;return !0}function hu(e,n,t,r,l,a){if(au=a,ou=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,ru.current=null===e||null===e.memoizedState?Zu:Ju,e=t(r,l),cu){a=0;do{if(cu=!1,fu=0,25<=a)throw Error(le(301));a+=1,iu=uu=null,n.updateQueue=null,ru.current=ei,e=t(r,l);}while(cu)}if(ru.current=Gu,n=null!==uu&&null!==uu.next,au=0,iu=uu=ou=null,su=!1,n)throw Error(le(300));return e}function vu(){var e=0!==fu;return fu=0,e}function gu(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===iu?ou.memoizedState=iu=e:iu=iu.next=e,iu}function yu(){if(null===uu){var e=ou.alternate;e=null!==e?e.memoizedState:null;}else e=uu.next;var n=null===iu?ou.memoizedState:iu.next;if(null!==n)iu=n,uu=e;else {if(null===e)throw Error(le(310));e={memoizedState:(uu=e).memoizedState,baseState:uu.baseState,baseQueue:uu.baseQueue,queue:uu.queue,next:null},null===iu?ou.memoizedState=iu=e:iu=iu.next=e;}return iu}function bu(e,n){return "function"==typeof n?n(e):n}function wu(e){var n=yu(),t=n.queue;if(null===t)throw Error(le(311));t.lastRenderedReducer=e;var r=uu,l=r.baseQueue,a=t.pending;if(null!==a){if(null!==l){var o=l.next;l.next=a.next,a.next=o;}r.baseQueue=l=a,t.pending=null;}if(null!==l){a=l.next,r=r.baseState;var u=o=null,i=null,s=a;do{var c=s.lane;if((au&c)===c)null!==i&&(i=i.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else {var f={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===i?(u=i=f,o=r):i=i.next=f,ou.lanes|=c,Fs|=c;}s=s.next;}while(null!==s&&s!==a);null===i?o=r:i.next=u,ol(r,n.memoizedState)||(yi=!0),n.memoizedState=r,n.baseState=o,n.baseQueue=i,t.lastRenderedState=r;}if(null!==(e=t.interleaved)){l=e;do{a=l.lane,ou.lanes|=a,Fs|=a,l=l.next;}while(l!==e)}else null===l&&(t.lanes=0);return [n.memoizedState,t.dispatch]}function ku(e){var n=yu(),t=n.queue;if(null===t)throw Error(le(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,a=n.memoizedState;if(null!==l){t.pending=null;var o=l=l.next;do{a=e(a,o.action),o=o.next;}while(o!==l);ol(a,n.memoizedState)||(yi=!0),n.memoizedState=a,null===n.baseQueue&&(n.baseState=a),t.lastRenderedState=a;}return [a,r]}function Su(){}function xu(e,n){var t=ou,r=yu(),l=n(),a=!ol(r.memoizedState,l);if(a&&(r.memoizedState=l,yi=!0),r=r.queue,Fu(Cu.bind(null,t,r,e),[e]),r.getSnapshot!==n||a||null!==iu&&1&iu.memoizedState.tag){if(t.flags|=2048,Tu(9,_u.bind(null,t,r,l,n),void 0,null),null===Ps)throw Error(le(349));30&au||Eu(t,n,l);}return l}function Eu(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},null===(n=ou.updateQueue)?(n={lastEffect:null,stores:null},ou.updateQueue=n,n.stores=[e]):null===(t=n.stores)?n.stores=[e]:t.push(e);}function _u(e,n,t,r){n.value=t,n.getSnapshot=r,Nu(n)&&Pu(e);}function Cu(e,n,t){return t((function(){Nu(n)&&Pu(e);}))}function Nu(e){var n=e.getSnapshot;e=e.value;try{var t=n();return !ol(e,t)}catch(r){return !0}}function Pu(e){var n=Oo(e,1);null!==n&&nc(n,e,1,-1);}function zu(e){var n=gu();return "function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:bu,lastRenderedState:e},n.queue=e,e=e.dispatch=qu.bind(null,ou,e),[n.memoizedState,e]}function Tu(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=ou.updateQueue)?(n={lastEffect:null,stores:null},ou.updateQueue=n,n.lastEffect=e.next=e):null===(t=n.lastEffect)?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e),e}function Lu(){return yu().memoizedState}function Ru(e,n,t,r){var l=gu();ou.flags|=e,l.memoizedState=Tu(1|n,t,void 0,void 0===r?null:r);}function Mu(e,n,t,r){var l=yu();r=void 0===r?null:r;var a=void 0;if(null!==uu){var o=uu.memoizedState;if(a=o.destroy,null!==r&&mu(r,o.deps))return void(l.memoizedState=Tu(n,t,a,r))}ou.flags|=e,l.memoizedState=Tu(1|n,t,a,r);}function Ou(e,n){return Ru(8390656,8,e,n)}function Fu(e,n){return Mu(2048,8,e,n)}function Iu(e,n){return Mu(4,2,e,n)}function Du(e,n){return Mu(4,4,e,n)}function Uu(e,n){return "function"==typeof n?(e=e(),n(e),function(){n(null);}):null!=n?(e=e(),n.current=e,function(){n.current=null;}):void 0}function ju(e,n,t){return t=null!=t?t.concat([e]):null,Mu(4,4,Uu.bind(null,n,e),t)}function Au(){}function Vu(e,n){var t=yu();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&mu(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function $u(e,n){var t=yu();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&mu(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Bu(e,n,t){return 21&au?(ol(t,n)||(t=ht(),ou.lanes|=t,Fs|=t,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,yi=!0),e.memoizedState=t)}function Wu(e,n){var t=bt;bt=0!==t&&4>t?t:4,e(!0);var r=lu.transition;lu.transition={};try{e(!1),n();}finally{bt=t,lu.transition=r;}}function Hu(){return yu().memoizedState}function Qu(e,n,t){var r=ec(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Ku(e))Yu(n,t);else if(null!==(t=Mo(e,n,t,r))){nc(t,e,r,Js()),Xu(t,n,r);}}function qu(e,n,t){var r=ec(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Ku(e))Yu(n,l);else {var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=n.lastRenderedReducer))try{var o=n.lastRenderedState,u=a(o,t);if(l.hasEagerState=!0,l.eagerState=u,ol(u,o)){var i=n.interleaved;return null===i?(l.next=l,Ro(n)):(l.next=i.next,i.next=l),void(n.interleaved=l)}}catch(s){}null!==(t=Mo(e,n,l,r))&&(nc(t,e,r,l=Js()),Xu(t,n,r));}}function Ku(e){var n=e.alternate;return e===ou||null!==n&&n===ou}function Yu(e,n){cu=su=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n;}function Xu(e,n,t){if(4194240&t){var r=n.lanes;t|=r&=e.pendingLanes,n.lanes=t,yt(e,t);}}var Gu={readContext:To,useCallback:pu,useContext:pu,useEffect:pu,useImperativeHandle:pu,useInsertionEffect:pu,useLayoutEffect:pu,useMemo:pu,useReducer:pu,useRef:pu,useState:pu,useDebugValue:pu,useDeferredValue:pu,useTransition:pu,useMutableSource:pu,useSyncExternalStore:pu,useId:pu,unstable_isNewReconciler:!1},Zu={readContext:To,useCallback:function(e,n){return gu().memoizedState=[e,void 0===n?null:n],e},useContext:To,useEffect:Ou,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,Ru(4194308,4,Uu.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Ru(4194308,4,e,n)},useInsertionEffect:function(e,n){return Ru(4,2,e,n)},useMemo:function(e,n){var t=gu();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=gu();return n=void 0!==t?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=Qu.bind(null,ou,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},gu().memoizedState=e},useState:zu,useDebugValue:Au,useDeferredValue:function(e){return gu().memoizedState=e},useTransition:function(){var e=zu(!1),n=e[0];return e=Wu.bind(null,e[1]),gu().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=ou,l=gu();if(ro){if(void 0===t)throw Error(le(407));t=t();}else {if(t=n(),null===Ps)throw Error(le(349));30&au||Eu(r,n,t);}l.memoizedState=t;var a={value:t,getSnapshot:n};return l.queue=a,Ou(Cu.bind(null,r,a,e),[e]),r.flags|=2048,Tu(9,_u.bind(null,r,a,t,n),void 0,null),t},useId:function(){var e=gu(),n=Ps.identifierPrefix;if(ro){var t=Xa;n=":"+n+"R"+(t=(Ya&~(1<<32-ot(Ya)-1)).toString(32)+t),0<(t=fu++)&&(n+="H"+t.toString(32)),n+=":";}else n=":"+n+"r"+(t=du++).toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},Ju={readContext:To,useCallback:Vu,useContext:To,useEffect:Fu,useImperativeHandle:ju,useInsertionEffect:Iu,useLayoutEffect:Du,useMemo:$u,useReducer:wu,useRef:Lu,useState:function(){return wu(bu)},useDebugValue:Au,useDeferredValue:function(e){return Bu(yu(),uu.memoizedState,e)},useTransition:function(){return [wu(bu)[0],yu().memoizedState]},useMutableSource:Su,useSyncExternalStore:xu,useId:Hu,unstable_isNewReconciler:!1},ei={readContext:To,useCallback:Vu,useContext:To,useEffect:Fu,useImperativeHandle:ju,useInsertionEffect:Iu,useLayoutEffect:Du,useMemo:$u,useReducer:ku,useRef:Lu,useState:function(){return ku(bu)},useDebugValue:Au,useDeferredValue:function(e){var n=yu();return null===uu?n.memoizedState=e:Bu(n,uu.memoizedState,e)},useTransition:function(){return [ku(bu)[0],yu().memoizedState]},useMutableSource:Su,useSyncExternalStore:xu,useId:Hu,unstable_isNewReconciler:!1};function ni(e,n){if(e&&e.defaultProps){for(var t in n=Ie({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}return n}function ti(e,n,t,r){t=null==(t=t(r,n=e.memoizedState))?n:Ie({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t);}var ri={isMounted:function(e){return !!(e=e._reactInternals)&&$n(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=Js(),l=ec(e),a=Uo(r,l);a.payload=n,null!=t&&(a.callback=t),null!==(n=jo(e,a,l))&&(nc(n,e,l,r),Ao(n,e,l));},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=Js(),l=ec(e),a=Uo(r,l);a.tag=1,a.payload=n,null!=t&&(a.callback=t),null!==(n=jo(e,a,l))&&(nc(n,e,l,r),Ao(n,e,l));},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=Js(),r=ec(e),l=Uo(t,r);l.tag=2,null!=n&&(l.callback=n),null!==(n=jo(e,l,r))&&(nc(n,e,r,t),Ao(n,e,r));}};function li(e,n,t,r,l,a,o){return "function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!n.prototype||!n.prototype.isPureReactComponent||(!ul(t,r)||!ul(l,a))}function ai(e,n,t){var r=!1,l=Ca,a=n.contextType;return "object"==typeof a&&null!==a?a=To(a):(l=La(n)?za:Na.current,a=(r=null!=(r=n.contextTypes))?Ta(e,l):Ca),n=new n(t,a),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=ri,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=a),n}function oi(e,n,t,r){e=n.state,"function"==typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,r),"function"==typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&ri.enqueueReplaceState(n,n.state,null);}function ui(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs={},Io(e);var a=n.contextType;"object"==typeof a&&null!==a?l.context=To(a):(a=La(n)?za:Na.current,l.context=Ta(e,a)),l.state=e.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(ti(e,n,a,t),l.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||(n=l.state,"function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),n!==l.state&&ri.enqueueReplaceState(l,l.state,null),$o(e,t,l,r),l.state=e.memoizedState),"function"==typeof l.componentDidMount&&(e.flags|=4194308);}function ii(e,n){try{var t="",r=n;do{t+=Ae(r),r=r.return;}while(r);var l=t;}catch(a){l="\nError generating stack: "+a.message+"\n"+a.stack;}return {value:e,source:n,stack:l,digest:null}}function si(e,n,t){return {value:e,source:null,stack:null!=t?t:null,digest:null!=n?n:null}}function ci(e,n){try{console.error(n.value);}catch(t){setTimeout((function(){throw t}));}}var fi="function"==typeof WeakMap?WeakMap:Map;function di(e,n,t){(t=Uo(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Bs||(Bs=!0,Ws=r),ci(0,n);},t}function pi(e,n,t){(t=Uo(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){ci(0,n);};}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(t.callback=function(){ci(0,n),"function"!=typeof r&&(null===Hs?Hs=new Set([this]):Hs.add(this));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""});}),t}function mi(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new fi;var l=new Set;r.set(n,l);}else void 0===(l=r.get(n))&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=Ec.bind(null,e,n,t),n.then(e,e));}function hi(e){do{var n;if((n=13===e.tag)&&(n=null===(n=e.memoizedState)||null!==n.dehydrated),n)return e;e=e.return;}while(null!==e);return null}function vi(e,n,t,r,l){return 1&e.mode?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((n=Uo(-1,1)).tag=2,jo(t,n,1))),t.lanes|=1),e)}var gi=be.ReactCurrentOwner,yi=!1;function bi(e,n,t,r){n.child=null===e?ko(n,null,t,r):wo(n,e.child,t,r);}function wi(e,n,t,r,l){t=t.render;var a=n.ref;return zo(n,l),r=hu(e,n,t,r,a,l),t=vu(),null===e||yi?(ro&&t&&Ja(n),n.flags|=1,bi(e,n,r,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Bi(e,n,l))}function ki(e,n,t,r,l){if(null===e){var a=t.type;return "function"!=typeof a||Lc(a)||void 0!==a.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=Mc(t.type,null,r,n,n.mode,l)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=a,Si(e,n,a,r,l))}if(a=e.child,!(e.lanes&l)){var o=a.memoizedProps;if((t=null!==(t=t.compare)?t:ul)(o,r)&&e.ref===n.ref)return Bi(e,n,l)}return n.flags|=1,(e=Rc(a,r)).ref=n.ref,e.return=n,n.child=e}function Si(e,n,t,r,l){if(null!==e){var a=e.memoizedProps;if(ul(a,r)&&e.ref===n.ref){if(yi=!1,n.pendingProps=r=a,!(e.lanes&l))return n.lanes=e.lanes,Bi(e,n,l);131072&e.flags&&(yi=!0);}}return _i(e,n,t,r,l)}function xi(e,n,t){var r=n.pendingProps,l=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&n.mode){if(!(1073741824&t))return e=null!==a?a.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,_a(Rs,Ls),Ls|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:t,_a(Rs,Ls),Ls|=r;}else n.memoizedState={baseLanes:0,cachePool:null,transitions:null},_a(Rs,Ls),Ls|=t;else null!==a?(r=a.baseLanes|t,n.memoizedState=null):r=t,_a(Rs,Ls),Ls|=r;return bi(e,n,l,t),n.child}function Ei(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152);}function _i(e,n,t,r,l){var a=La(t)?za:Na.current;return a=Ta(n,a),zo(n,l),t=hu(e,n,t,r,a,l),r=vu(),null===e||yi?(ro&&r&&Ja(n),n.flags|=1,bi(e,n,t,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Bi(e,n,l))}function Ci(e,n,t,r,l){if(La(t)){var a=!0;Fa(n);}else a=!1;if(zo(n,l),null===n.stateNode)$i(e,n),ai(n,t,r),ui(n,t,r,l),r=!0;else if(null===e){var o=n.stateNode,u=n.memoizedProps;o.props=u;var i=o.context,s=t.contextType;"object"==typeof s&&null!==s?s=To(s):s=Ta(n,s=La(t)?za:Na.current);var c=t.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;f||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==r||i!==s)&&oi(n,o,r,s),Fo=!1;var d=n.memoizedState;o.state=d,$o(n,r,o,l),i=n.memoizedState,u!==r||d!==i||Pa.current||Fo?("function"==typeof c&&(ti(n,t,c,r),i=n.memoizedState),(u=Fo||li(n,t,u,r,d,i,s))?(f||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(n.flags|=4194308)):("function"==typeof o.componentDidMount&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=i),o.props=r,o.state=i,o.context=s,r=u):("function"==typeof o.componentDidMount&&(n.flags|=4194308),r=!1);}else {o=n.stateNode,Do(e,n),u=n.memoizedProps,s=n.type===n.elementType?u:ni(n.type,u),o.props=s,f=n.pendingProps,d=o.context,"object"==typeof(i=t.contextType)&&null!==i?i=To(i):i=Ta(n,i=La(t)?za:Na.current);var p=t.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==f||d!==i)&&oi(n,o,r,i),Fo=!1,d=n.memoizedState,o.state=d,$o(n,r,o,l);var m=n.memoizedState;u!==f||d!==m||Pa.current||Fo?("function"==typeof p&&(ti(n,t,p,r),m=n.memoizedState),(s=Fo||li(n,t,s,r,d,m,i)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,m,i),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,m,i)),"function"==typeof o.componentDidUpdate&&(n.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(n.flags|=1024)):("function"!=typeof o.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=m),o.props=r,o.state=m,o.context=i,r=s):("function"!=typeof o.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),r=!1);}return Ni(e,n,t,r,a,l)}function Ni(e,n,t,r,l,a){Ei(e,n);var o=!!(128&n.flags);if(!r&&!o)return l&&Ia(n,t,!1),Bi(e,n,a);r=n.stateNode,gi.current=n;var u=o&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&o?(n.child=wo(n,e.child,null,a),n.child=wo(n,null,u,a)):bi(e,n,u,a),n.memoizedState=r.state,l&&Ia(n,t,!0),n.child}function Pi(e){var n=e.stateNode;n.pendingContext?Ma(0,n.pendingContext,n.pendingContext!==n.context):n.context&&Ma(0,n.context,!1),Yo(e,n.containerInfo);}function zi(e,n,t,r,l){return po(),mo(l),n.flags|=256,bi(e,n,t,r),n.child}var Ti,Li,Ri,Mi,Oi={dehydrated:null,treeContext:null,retryLane:0};function Fi(e){return {baseLanes:e,cachePool:null,transitions:null}}function Ii(e,n,t){var r,l=n.pendingProps,a=Jo.current,o=!1,u=!!(128&n.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(o=!0,n.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),_a(Jo,1&a),null===e)return io(n),null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)?(1&n.mode?"$!"===e.data?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(u=l.children,e=l.fallback,o?(l=n.mode,o=n.child,u={mode:"hidden",children:u},1&l||null===o?o=Fc(u,l,0,null):(o.childLanes=0,o.pendingProps=u),e=Oc(e,l,t,null),o.return=n,e.return=n,o.sibling=e,n.child=o,n.child.memoizedState=Fi(t),n.memoizedState=Oi,e):Di(n,u));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,n,t,r,l,a,o){if(t)return 256&n.flags?(n.flags&=-257,Ui(e,n,o,r=si(Error(le(422))))):null!==n.memoizedState?(n.child=e.child,n.flags|=128,null):(a=r.fallback,l=n.mode,r=Fc({mode:"visible",children:r.children},l,0,null),(a=Oc(a,l,o,null)).flags|=2,r.return=n,a.return=n,r.sibling=a,n.child=r,1&n.mode&&wo(n,e.child,null,o),n.child.memoizedState=Fi(o),n.memoizedState=Oi,a);if(!(1&n.mode))return Ui(e,n,o,null);if("$!"===l.data){if(r=l.nextSibling&&l.nextSibling.dataset)var u=r.dgst;return r=u,Ui(e,n,o,r=si(a=Error(le(419)),r,void 0))}if(u=!!(o&e.childLanes),yi||u){if(null!==(r=Ps)){switch(o&-o){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;}0!==(l=l&(r.suspendedLanes|o)?0:l)&&l!==a.retryLane&&(a.retryLane=l,Oo(e,l),nc(r,e,l,-1));}return mc(),Ui(e,n,o,r=si(Error(le(421))))}return "$?"===l.data?(n.flags|=128,n.child=e.child,n=Cc.bind(null,e),l._reactRetry=n,null):(e=a.treeContext,to=ia(l.nextSibling),no=n,ro=!0,lo=null,null!==e&&(Qa[qa++]=Ya,Qa[qa++]=Xa,Qa[qa++]=Ka,Ya=e.id,Xa=e.overflow,Ka=n),n=Di(n,r.children),n.flags|=4096,n)}(e,n,u,l,r,a,t);if(o){o=l.fallback,u=n.mode,r=(a=e.child).sibling;var i={mode:"hidden",children:l.children};return 1&u||n.child===a?(l=Rc(a,i)).subtreeFlags=14680064&a.subtreeFlags:((l=n.child).childLanes=0,l.pendingProps=i,n.deletions=null),null!==r?o=Rc(r,o):(o=Oc(o,u,t,null)).flags|=2,o.return=n,l.return=n,l.sibling=o,n.child=l,l=o,o=n.child,u=null===(u=e.child.memoizedState)?Fi(t):{baseLanes:u.baseLanes|t,cachePool:null,transitions:u.transitions},o.memoizedState=u,o.childLanes=e.childLanes&~t,n.memoizedState=Oi,l}return e=(o=e.child).sibling,l=Rc(o,{mode:"visible",children:l.children}),!(1&n.mode)&&(l.lanes=t),l.return=n,l.sibling=null,null!==e&&(null===(t=n.deletions)?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=l,n.memoizedState=null,l}function Di(e,n){return (n=Fc({mode:"visible",children:n},e.mode,0,null)).return=e,e.child=n}function Ui(e,n,t,r){return null!==r&&mo(r),wo(n,e.child,null,t),(e=Di(n,n.pendingProps.children)).flags|=2,n.memoizedState=null,e}function ji(e,n,t){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n),Po(e.return,n,t);}function Ai(e,n,t,r,l){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(a.isBackwards=n,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=t,a.tailMode=l);}function Vi(e,n,t){var r=n.pendingProps,l=r.revealOrder,a=r.tail;if(bi(e,n,r.children,t),2&(r=Jo.current))r=1&r|2,n.flags|=128;else {if(null!==e&&128&e.flags)e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ji(e,t,n);else if(19===e.tag)ji(e,t,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return;}e.sibling.return=e.return,e=e.sibling;}r&=1;}if(_a(Jo,r),1&n.mode)switch(l){case"forwards":for(t=n.child,l=null;null!==t;)null!==(e=t.alternate)&&null===eu(e)&&(l=t),t=t.sibling;null===(t=l)?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Ai(n,!1,l,t,a);break;case"backwards":for(t=null,l=n.child,n.child=null;null!==l;){if(null!==(e=l.alternate)&&null===eu(e)){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e;}Ai(n,!0,t,null,a);break;case"together":Ai(n,!1,null,null,void 0);break;default:n.memoizedState=null;}else n.memoizedState=null;return n.child}function $i(e,n){!(1&n.mode)&&null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2);}function Bi(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),Fs|=n.lanes,!(t&n.childLanes))return null;if(null!==e&&n.child!==e.child)throw Error(le(153));if(null!==n.child){for(t=Rc(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=Rc(e,e.pendingProps)).return=n;t.sibling=null;}return n.child}function Wi(e,n){if(!ro)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?n||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;}}function Hi(e){var n=null!==e.alternate&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=14680064&l.subtreeFlags,r|=14680064&l.flags,l.return=e,l=l.sibling;else for(l=e.child;null!==l;)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 Qi(e,n,t){var r=n.pendingProps;switch(eo(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Hi(n),null;case 1:case 17:return La(n.type)&&Ra(),Hi(n),null;case 3:return r=n.stateNode,Xo(),Ea(Pa),Ea(Na),tu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(co(n)?n.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&n.flags)||(n.flags|=1024,null!==lo&&(ac(lo),lo=null))),Li(e,n),Hi(n),null;case 5:Zo(n);var l=Ko(qo.current);if(t=n.type,null!==e&&null!=n.stateNode)Ri(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else {if(!r){if(null===n.stateNode)throw Error(le(166));return Hi(n),null}if(e=Ko(Ho.current),co(n)){r=n.stateNode,t=n.type;var a=n.memoizedProps;switch(r[fa]=n,r[da]=a,e=!!(1&n.mode),t){case"dialog":Ul("cancel",r),Ul("close",r);break;case"iframe":case"object":case"embed":Ul("load",r);break;case"video":case"audio":for(l=0;l<Ol.length;l++)Ul(Ol[l],r);break;case"source":Ul("error",r);break;case"img":case"image":case"link":Ul("error",r),Ul("load",r);break;case"details":Ul("toggle",r);break;case"input":Ye(r,a),Ul("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Ul("invalid",r);break;case"textarea":rn(r,a),Ul("invalid",r);}for(var o in yn(t,a),l=null,a)if(a.hasOwnProperty(o)){var u=a[o];"children"===o?"string"==typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Gl(r.textContent,u,e),l=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Gl(r.textContent,u,e),l=["children",""+u]):oe.hasOwnProperty(o)&&null!=u&&"onScroll"===o&&Ul("scroll",r);}switch(t){case"input":He(r),Ze(r,a,!0);break;case"textarea":He(r),an(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Zl);}r=l,n.updateQueue=r,null!==r&&(n.flags|=4);}else {o=9===l.nodeType?l:l.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=on(t)),"http://www.w3.org/1999/xhtml"===e?"script"===t?((e=o.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=o.createElement(t,{is:r.is}):(e=o.createElement(t),"select"===t&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,t),e[fa]=n,e[da]=r,Ti(e,n,!1,!1),n.stateNode=e;e:{switch(o=bn(t,r),t){case"dialog":Ul("cancel",e),Ul("close",e),l=r;break;case"iframe":case"object":case"embed":Ul("load",e),l=r;break;case"video":case"audio":for(l=0;l<Ol.length;l++)Ul(Ol[l],e);l=r;break;case"source":Ul("error",e),l=r;break;case"img":case"image":case"link":Ul("error",e),Ul("load",e),l=r;break;case"details":Ul("toggle",e),l=r;break;case"input":Ye(e,r),l=Ke(e,r),Ul("invalid",e);break;case"option":default:l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=Ie({},r,{value:void 0}),Ul("invalid",e);break;case"textarea":rn(e,r),l=tn(e,r),Ul("invalid",e);}for(a in yn(t,l),u=l)if(u.hasOwnProperty(a)){var i=u[a];"style"===a?vn(e,i):"dangerouslySetInnerHTML"===a?null!=(i=i?i.__html:void 0)&&fn(e,i):"children"===a?"string"==typeof i?("textarea"!==t||""!==i)&&dn(e,i):"number"==typeof i&&dn(e,""+i):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(oe.hasOwnProperty(a)?null!=i&&"onScroll"===a&&Ul("scroll",e):null!=i&&ye(e,a,i,o));}switch(t){case"input":He(e),Ze(e,r,!1);break;case"textarea":He(e),an(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Be(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?nn(e,!!r.multiple,a,!1):null!=r.defaultValue&&nn(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=Zl);}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);}null!==n.ref&&(n.flags|=512,n.flags|=2097152);}return Hi(n),null;case 6:if(e&&null!=n.stateNode)Mi(e,n,e.memoizedProps,r);else {if("string"!=typeof r&&null===n.stateNode)throw Error(le(166));if(t=Ko(qo.current),Ko(Ho.current),co(n)){if(r=n.stateNode,t=n.memoizedProps,r[fa]=n,(a=r.nodeValue!==t)&&null!==(e=no))switch(e.tag){case 3:Gl(r.nodeValue,t,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Gl(r.nodeValue,t,!!(1&e.mode));}a&&(n.flags|=4);}else (r=(9===t.nodeType?t:t.ownerDocument).createTextNode(r))[fa]=n,n.stateNode=r;}return Hi(n),null;case 13:if(Ea(Jo),r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ro&&null!==to&&1&n.mode&&!(128&n.flags))fo(),po(),n.flags|=98560,a=!1;else if(a=co(n),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(le(318));if(!(a=null!==(a=n.memoizedState)?a.dehydrated:null))throw Error(le(317));a[fa]=n;}else po(),!(128&n.flags)&&(n.memoizedState=null),n.flags|=4;Hi(n),a=!1;}else null!==lo&&(ac(lo),lo=null),a=!0;if(!a)return 65536&n.flags?n:null}return 128&n.flags?(n.lanes=t,n):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(n.child.flags|=8192,1&n.mode&&(null===e||1&Jo.current?0===Ms&&(Ms=3):mc())),null!==n.updateQueue&&(n.flags|=4),Hi(n),null);case 4:return Xo(),Li(e,n),null===e&&Vl(n.stateNode.containerInfo),Hi(n),null;case 10:return No(n.type._context),Hi(n),null;case 19:if(Ea(Jo),null===(a=n.memoizedState))return Hi(n),null;if(r=!!(128&n.flags),null===(o=a.rendering))if(r)Wi(a,!1);else {if(0!==Ms||null!==e&&128&e.flags)for(e=n.child;null!==e;){if(null!==(o=eu(e))){for(n.flags|=128,Wi(a,!1),null!==(r=o.updateQueue)&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;null!==t;)e=r,(a=t).flags&=14680066,null===(o=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,e=o.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return _a(Jo,1&Jo.current|2),n.child}e=e.sibling;}null!==a.tail&&Gn()>Vs&&(n.flags|=128,r=!0,Wi(a,!1),n.lanes=4194304);}else {if(!r)if(null!==(e=eu(o))){if(n.flags|=128,r=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.flags|=4),Wi(a,!0),null===a.tail&&"hidden"===a.tailMode&&!o.alternate&&!ro)return Hi(n),null}else 2*Gn()-a.renderingStartTime>Vs&&1073741824!==t&&(n.flags|=128,r=!0,Wi(a,!1),n.lanes=4194304);a.isBackwards?(o.sibling=n.child,n.child=o):(null!==(t=a.last)?t.sibling=o:n.child=o,a.last=o);}return null!==a.tail?(n=a.tail,a.rendering=n,a.tail=n.sibling,a.renderingStartTime=Gn(),n.sibling=null,t=Jo.current,_a(Jo,r?1&t|2:1&t),n):(Hi(n),null);case 22:case 23:return cc(),r=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==r&&(n.flags|=8192),r&&1&n.mode?!!(1073741824&Ls)&&(Hi(n),6&n.subtreeFlags&&(n.flags|=8192)):Hi(n),null;case 24:case 25:return null}throw Error(le(156,n.tag))}function qi(e,n){switch(eo(n),n.tag){case 1:return La(n.type)&&Ra(),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return Xo(),Ea(Pa),Ea(Na),tu(),65536&(e=n.flags)&&!(128&e)?(n.flags=-65537&e|128,n):null;case 5:return Zo(n),null;case 13:if(Ea(Jo),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(le(340));po();}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return Ea(Jo),null;case 4:return Xo(),null;case 10:return No(n.type._context),null;case 22:case 23:return cc(),null;default:return null}}Ti=function(e,n){for(var t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return;}t.sibling.return=t.return,t=t.sibling;}},Li=function(){},Ri=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,Ko(Ho.current);var a,o=null;switch(t){case"input":l=Ke(e,l),r=Ke(e,r),o=[];break;case"select":l=Ie({},l,{value:void 0}),r=Ie({},r,{value:void 0}),o=[];break;case"textarea":l=tn(e,l),r=tn(e,r),o=[];break;default:"function"!=typeof l.onClick&&"function"==typeof r.onClick&&(e.onclick=Zl);}for(s in yn(t,r),t=null,l)if(!r.hasOwnProperty(s)&&l.hasOwnProperty(s)&&null!=l[s])if("style"===s){var u=l[s];for(a in u)u.hasOwnProperty(a)&&(t||(t={}),t[a]="");}else "dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(oe.hasOwnProperty(s)?o||(o=[]):(o=o||[]).push(s,null));for(s in r){var i=r[s];if(u=null!=l?l[s]:void 0,r.hasOwnProperty(s)&&i!==u&&(null!=i||null!=u))if("style"===s)if(u){for(a in u)!u.hasOwnProperty(a)||i&&i.hasOwnProperty(a)||(t||(t={}),t[a]="");for(a in i)i.hasOwnProperty(a)&&u[a]!==i[a]&&(t||(t={}),t[a]=i[a]);}else t||(o||(o=[]),o.push(s,t)),t=i;else "dangerouslySetInnerHTML"===s?(i=i?i.__html:void 0,u=u?u.__html:void 0,null!=i&&u!==i&&(o=o||[]).push(s,i)):"children"===s?"string"!=typeof i&&"number"!=typeof i||(o=o||[]).push(s,""+i):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(oe.hasOwnProperty(s)?(null!=i&&"onScroll"===s&&Ul("scroll",e),o||u===i||(o=[])):(o=o||[]).push(s,i));}t&&(o=o||[]).push("style",t);var s=o;(n.updateQueue=s)&&(n.flags|=4);}},Mi=function(e,n,t,r){t!==r&&(n.flags|=4);};var Ki=!1,Yi=!1,Xi="function"==typeof WeakSet?WeakSet:Set,Gi=null;function Zi(e,n){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null);}catch(r){xc(e,n,r);}else t.current=null;}function Ji(e,n,t){try{t();}catch(r){xc(e,n,r);}}var es=!1;function ns(e,n,t){var r=n.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l=r=r.next;do{if((l.tag&e)===e){var a=l.destroy;l.destroy=void 0,void 0!==a&&Ji(n,t,a);}l=l.next;}while(l!==r)}}function ts(e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect: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 rs(e){var n=e.ref;if(null!==n){var t=e.stateNode;e.tag,e=t,"function"==typeof n?n(e):n.current=e;}}function ls(e){var n=e.alternate;null!==n&&(e.alternate=null,ls(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(n=e.stateNode)&&(delete n[fa],delete n[da],delete n[ma],delete n[ha],delete n[va])),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 as(e){return 5===e.tag||3===e.tag||4===e.tag}function os(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||as(e.return))return null;e=e.return;}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child;}if(!(2&e.flags))return e.stateNode}}function us(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?8===t.nodeType?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(8===t.nodeType?(n=t.parentNode).insertBefore(e,t):(n=t).appendChild(e),null!=(t=t._reactRootContainer)||null!==n.onclick||(n.onclick=Zl));else if(4!==r&&null!==(e=e.child))for(us(e,n,t),e=e.sibling;null!==e;)us(e,n,t),e=e.sibling;}function is(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(4!==r&&null!==(e=e.child))for(is(e,n,t),e=e.sibling;null!==e;)is(e,n,t),e=e.sibling;}var ss=null,cs=!1;function fs(e,n,t){for(t=t.child;null!==t;)ds(e,n,t),t=t.sibling;}function ds(e,n,t){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(lt,t);}catch(u){}switch(t.tag){case 5:Yi||Zi(t,n);case 6:var r=ss,l=cs;ss=null,fs(e,n,t),cs=l,null!==(ss=r)&&(cs?(e=ss,t=t.stateNode,8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)):ss.removeChild(t.stateNode));break;case 18:null!==ss&&(cs?(e=ss,t=t.stateNode,8===e.nodeType?ua(e.parentNode,t):1===e.nodeType&&ua(e,t),$t(e)):ua(ss,t.stateNode));break;case 4:r=ss,l=cs,ss=t.stateNode.containerInfo,cs=!0,fs(e,n,t),ss=r,cs=l;break;case 0:case 11:case 14:case 15:if(!Yi&&(null!==(r=t.updateQueue)&&null!==(r=r.lastEffect))){l=r=r.next;do{var a=l,o=a.destroy;a=a.tag,void 0!==o&&(2&a||4&a)&&Ji(t,n,o),l=l.next;}while(l!==r)}fs(e,n,t);break;case 1:if(!Yi&&(Zi(t,n),"function"==typeof(r=t.stateNode).componentWillUnmount))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount();}catch(u){xc(t,n,u);}fs(e,n,t);break;case 21:fs(e,n,t);break;case 22:1&t.mode?(Yi=(r=Yi)||null!==t.memoizedState,fs(e,n,t),Yi=r):fs(e,n,t);break;default:fs(e,n,t);}}function ps(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new Xi),n.forEach((function(n){var r=Nc.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r));}));}}function ms(e,n){var t=n.deletions;if(null!==t)for(var r=0;r<t.length;r++){var l=t[r];try{var a=e,o=n,u=o;e:for(;null!==u;){switch(u.tag){case 5:ss=u.stateNode,cs=!1;break e;case 3:case 4:ss=u.stateNode.containerInfo,cs=!0;break e}u=u.return;}if(null===ss)throw Error(le(160));ds(a,o,l),ss=null,cs=!1;var i=l.alternate;null!==i&&(i.return=null),l.return=null;}catch(s){xc(l,n,s);}}if(12854&n.subtreeFlags)for(n=n.child;null!==n;)hs(n,e),n=n.sibling;}function hs(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ms(n,e),vs(e),4&r){try{ns(3,e,e.return),ts(3,e);}catch(h){xc(e,e.return,h);}try{ns(5,e,e.return);}catch(h){xc(e,e.return,h);}}break;case 1:ms(n,e),vs(e),512&r&&null!==t&&Zi(t,t.return);break;case 5:if(ms(n,e),vs(e),512&r&&null!==t&&Zi(t,t.return),32&e.flags){var l=e.stateNode;try{dn(l,"");}catch(h){xc(e,e.return,h);}}if(4&r&&null!=(l=e.stateNode)){var a=e.memoizedProps,o=null!==t?t.memoizedProps:a,u=e.type,i=e.updateQueue;if(e.updateQueue=null,null!==i)try{"input"===u&&"radio"===a.type&&null!=a.name&&Xe(l,a),bn(u,o);var s=bn(u,a);for(o=0;o<i.length;o+=2){var c=i[o],f=i[o+1];"style"===c?vn(l,f):"dangerouslySetInnerHTML"===c?fn(l,f):"children"===c?dn(l,f):ye(l,c,f,s);}switch(u){case"input":Ge(l,a);break;case"textarea":ln(l,a);break;case"select":var d=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?nn(l,!!a.multiple,p,!1):d!==!!a.multiple&&(null!=a.defaultValue?nn(l,!!a.multiple,a.defaultValue,!0):nn(l,!!a.multiple,a.multiple?[]:"",!1));}l[da]=a;}catch(h){xc(e,e.return,h);}}break;case 6:if(ms(n,e),vs(e),4&r){if(null===e.stateNode)throw Error(le(162));l=e.stateNode,a=e.memoizedProps;try{l.nodeValue=a;}catch(h){xc(e,e.return,h);}}break;case 3:if(ms(n,e),vs(e),4&r&&null!==t&&t.memoizedState.isDehydrated)try{$t(n.containerInfo);}catch(h){xc(e,e.return,h);}break;case 4:default:ms(n,e),vs(e);break;case 13:ms(n,e),vs(e),8192&(l=e.child).flags&&(a=null!==l.memoizedState,l.stateNode.isHidden=a,!a||null!==l.alternate&&null!==l.alternate.memoizedState||(As=Gn())),4&r&&ps(e);break;case 22:if(c=null!==t&&null!==t.memoizedState,1&e.mode?(Yi=(s=Yi)||c,ms(n,e),Yi=s):ms(n,e),vs(e),8192&r){if(s=null!==e.memoizedState,(e.stateNode.isHidden=s)&&!c&&1&e.mode)for(Gi=e,c=e.child;null!==c;){for(f=Gi=c;null!==Gi;){switch(p=(d=Gi).child,d.tag){case 0:case 11:case 14:case 15:ns(4,d,d.return);break;case 1:Zi(d,d.return);var m=d.stateNode;if("function"==typeof m.componentWillUnmount){r=d,t=d.return;try{n=r,m.props=n.memoizedProps,m.state=n.memoizedState,m.componentWillUnmount();}catch(h){xc(r,t,h);}}break;case 5:Zi(d,d.return);break;case 22:if(null!==d.memoizedState){ws(f);continue}}null!==p?(p.return=d,Gi=p):ws(f);}c=c.sibling;}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{l=f.stateNode,s?"function"==typeof(a=l.style).setProperty?a.setProperty("display","none","important"):a.display="none":(u=f.stateNode,o=null!=(i=f.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,u.style.display=hn("display",o));}catch(h){xc(e,e.return,h);}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=s?"":f.memoizedProps;}catch(h){xc(e,e.return,h);}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return;}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling;}}break;case 19:ms(n,e),vs(e),4&r&&ps(e);case 21:}}function vs(e){var n=e.flags;if(2&n){try{e:{for(var t=e.return;null!==t;){if(as(t)){var r=t;break e}t=t.return;}throw Error(le(160))}switch(r.tag){case 5:var l=r.stateNode;32&r.flags&&(dn(l,""),r.flags&=-33),is(e,os(e),l);break;case 3:case 4:var a=r.stateNode.containerInfo;us(e,os(e),a);break;default:throw Error(le(161))}}catch(o){xc(e,e.return,o);}e.flags&=-3;}4096&n&&(e.flags&=-4097);}function gs(e,n,t){Gi=e,ys(e);}function ys(e,n,t){for(var r=!!(1&e.mode);null!==Gi;){var l=Gi,a=l.child;if(22===l.tag&&r){var o=null!==l.memoizedState||Ki;if(!o){var u=l.alternate,i=null!==u&&null!==u.memoizedState||Yi;u=Ki;var s=Yi;if(Ki=o,(Yi=i)&&!s)for(Gi=l;null!==Gi;)i=(o=Gi).child,22===o.tag&&null!==o.memoizedState?ks(l):null!==i?(i.return=o,Gi=i):ks(l);for(;null!==a;)Gi=a,ys(a),a=a.sibling;Gi=l,Ki=u,Yi=s;}bs(e);}else 8772&l.subtreeFlags&&null!==a?(a.return=l,Gi=a):bs(e);}}function bs(e){for(;null!==Gi;){var n=Gi;if(8772&n.flags){var t=n.alternate;try{if(8772&n.flags)switch(n.tag){case 0:case 11:case 15:Yi||ts(5,n);break;case 1:var r=n.stateNode;if(4&n.flags&&!Yi)if(null===t)r.componentDidMount();else {var l=n.elementType===n.type?t.memoizedProps:ni(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate);}var a=n.updateQueue;null!==a&&Bo(n,a,r);break;case 3:var o=n.updateQueue;if(null!==o){if(t=null,null!==n.child)switch(n.child.tag){case 5:case 1:t=n.child.stateNode;}Bo(n,o,t);}break;case 5:var u=n.stateNode;if(null===t&&4&n.flags){t=u;var i=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":i.autoFocus&&t.focus();break;case"img":i.src&&(t.src=i.src);}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===n.memoizedState){var s=n.alternate;if(null!==s){var c=s.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&$t(f);}}}break;default:throw Error(le(163))}Yi||512&n.flags&&rs(n);}catch(d){xc(n,n.return,d);}}if(n===e){Gi=null;break}if(null!==(t=n.sibling)){t.return=n.return,Gi=t;break}Gi=n.return;}}function ws(e){for(;null!==Gi;){var n=Gi;if(n===e){Gi=null;break}var t=n.sibling;if(null!==t){t.return=n.return,Gi=t;break}Gi=n.return;}}function ks(e){for(;null!==Gi;){var n=Gi;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{ts(4,n);}catch(i){xc(n,t,i);}break;case 1:var r=n.stateNode;if("function"==typeof r.componentDidMount){var l=n.return;try{r.componentDidMount();}catch(i){xc(n,l,i);}}var a=n.return;try{rs(n);}catch(i){xc(n,a,i);}break;case 5:var o=n.return;try{rs(n);}catch(i){xc(n,o,i);}}}catch(i){xc(n,n.return,i);}if(n===e){Gi=null;break}var u=n.sibling;if(null!==u){u.return=n.return,Gi=u;break}Gi=n.return;}}var Ss,xs=Math.ceil,Es=be.ReactCurrentDispatcher,_s=be.ReactCurrentOwner,Cs=be.ReactCurrentBatchConfig,Ns=0,Ps=null,zs=null,Ts=0,Ls=0,Rs=xa(0),Ms=0,Os=null,Fs=0,Is=0,Ds=0,Us=null,js=null,As=0,Vs=1/0,$s=null,Bs=!1,Ws=null,Hs=null,Qs=!1,qs=null,Ks=0,Ys=0,Xs=null,Gs=-1,Zs=0;function Js(){return 6&Ns?Gn():-1!==Gs?Gs:Gs=Gn()}function ec(e){return 1&e.mode?2&Ns&&0!==Ts?Ts&-Ts:null!==ho.transition?(0===Zs&&(Zs=ht()),Zs):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type):1}function nc(e,n,t,r){if(50<Ys)throw Ys=0,Xs=null,Error(le(185));gt(e,t,r),2&Ns&&e===Ps||(e===Ps&&(!(2&Ns)&&(Is|=t),4===Ms&&oc(e,Ts)),tc(e,r),1===t&&0===Ns&&!(1&n.mode)&&(Vs=Gn()+500,Ua&&Va()));}function tc(e,n){var t=e.callbackNode;!function(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-ot(a),u=1<<o,i=l[o];-1===i?u&t&&!(u&r)||(l[o]=pt(u,n)):i<=n&&(e.expiredLanes|=u),a&=~u;}}(e,n);var r=dt(e,e===Ps?Ts:0);if(0===r)null!==t&&Kn(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(null!=t&&Kn(t),1===n)0===e.tag?function(e){Ua=!0,Aa(e);}(uc.bind(null,e)):Aa(uc.bind(null,e)),aa((function(){!(6&Ns)&&Va();})),t=null;else {switch(wt(r)){case 1:t=Jn;break;case 4:t=et;break;case 16:default:t=nt;break;case 536870912:t=rt;}t=Pc(t,rc.bind(null,e));}e.callbackPriority=n,e.callbackNode=t;}}function rc(e,n){if(Gs=-1,Zs=0,6&Ns)throw Error(le(327));var t=e.callbackNode;if(kc()&&e.callbackNode!==t)return null;var r=dt(e,e===Ps?Ts:0);if(0===r)return null;if(30&r||r&e.expiredLanes||n)n=hc(e,r);else {n=r;var l=Ns;Ns|=2;var a=pc();for(Ps===e&&Ts===n||($s=null,Vs=Gn()+500,fc(e,n));;)try{gc();break}catch(u){dc(e,u);}Co(),Es.current=a,Ns=l,null!==zs?n=0:(Ps=null,Ts=0,n=Ms);}if(0!==n){if(2===n&&(0!==(l=mt(e))&&(r=l,n=lc(e,l))),1===n)throw t=Os,fc(e,0),oc(e,r),tc(e,Gn()),t;if(6===n)oc(e,r);else {if(l=e.current.alternate,!(30&r||function(e){for(var n=e;;){if(16384&n.flags){var t=n.updateQueue;if(null!==t&&null!==(t=t.stores))for(var r=0;r<t.length;r++){var l=t[r],a=l.getSnapshot;l=l.value;try{if(!ol(a(),l))return !1}catch(o){return !1}}}if(t=n.child,16384&n.subtreeFlags&&null!==t)t.return=n,n=t;else {if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return !0;n=n.return;}n.sibling.return=n.return,n=n.sibling;}}return !0}(l)||(n=hc(e,r),2===n&&(a=mt(e),0!==a&&(r=a,n=lc(e,a))),1!==n)))throw t=Os,fc(e,0),oc(e,r),tc(e,Gn()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(le(345));case 2:case 5:wc(e,js,$s);break;case 3:if(oc(e,r),(130023424&r)===r&&10<(n=As+500-Gn())){if(0!==dt(e,0))break;if(((l=e.suspendedLanes)&r)!==r){Js(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=ta(wc.bind(null,e,js,$s),n);break}wc(e,js,$s);break;case 4:if(oc(e,r),(4194240&r)===r)break;for(n=e.eventTimes,l=-1;0<r;){var o=31-ot(r);a=1<<o,(o=n[o])>l&&(l=o),r&=~a;}if(r=l,10<(r=(120>(r=Gn()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xs(r/1960))-r)){e.timeoutHandle=ta(wc.bind(null,e,js,$s),r);break}wc(e,js,$s);break;default:throw Error(le(329))}}}return tc(e,Gn()),e.callbackNode===t?rc.bind(null,e):null}function lc(e,n){var t=Us;return e.current.memoizedState.isDehydrated&&(fc(e,n).flags|=256),2!==(e=hc(e,n))&&(n=js,js=t,null!==n&&ac(n)),e}function ac(e){null===js?js=e:js.push.apply(js,e);}function oc(e,n){for(n&=~Ds,n&=~Is,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-ot(n),r=1<<t;e[t]=-1,n&=~r;}}function uc(e){if(6&Ns)throw Error(le(327));kc();var n=dt(e,0);if(!(1&n))return tc(e,Gn()),null;var t=hc(e,n);if(0!==e.tag&&2===t){var r=mt(e);0!==r&&(n=r,t=lc(e,r));}if(1===t)throw t=Os,fc(e,0),oc(e,n),tc(e,Gn()),t;if(6===t)throw Error(le(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,wc(e,js,$s),tc(e,Gn()),null}function ic(e,n){var t=Ns;Ns|=1;try{return e(n)}finally{0===(Ns=t)&&(Vs=Gn()+500,Ua&&Va());}}function sc(e){null!==qs&&0===qs.tag&&!(6&Ns)&&kc();var n=Ns;Ns|=1;var t=Cs.transition,r=bt;try{if(Cs.transition=null,bt=1,e)return e()}finally{bt=r,Cs.transition=t,!(6&(Ns=n))&&Va();}}function cc(){Ls=Rs.current,Ea(Rs);}function fc(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,ra(t)),null!==zs)for(t=zs.return;null!==t;){var r=t;switch(eo(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ra();break;case 3:Xo(),Ea(Pa),Ea(Na),tu();break;case 5:Zo(r);break;case 4:Xo();break;case 13:case 19:Ea(Jo);break;case 10:No(r.type._context);break;case 22:case 23:cc();}t=t.return;}if(Ps=e,zs=e=Rc(e.current,null),Ts=Ls=n,Ms=0,Os=null,Ds=Is=Fs=0,js=Us=null,null!==Lo){for(n=0;n<Lo.length;n++)if(null!==(r=(t=Lo[n]).interleaved)){t.interleaved=null;var l=r.next,a=t.pending;if(null!==a){var o=a.next;a.next=l,r.next=o;}t.pending=r;}Lo=null;}return e}function dc(e,n){for(;;){var t=zs;try{if(Co(),ru.current=Gu,su){for(var r=ou.memoizedState;null!==r;){var l=r.queue;null!==l&&(l.pending=null),r=r.next;}su=!1;}if(au=0,iu=uu=ou=null,cu=!1,fu=0,_s.current=null,null===t||null===t.return){Ms=1,Os=n,zs=null;break}e:{var a=e,o=t.return,u=t,i=n;if(n=Ts,u.flags|=32768,null!==i&&"object"==typeof i&&"function"==typeof i.then){var s=i,c=u,f=c.tag;if(!(1&c.mode||0!==f&&11!==f&&15!==f)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null);}var p=hi(o);if(null!==p){p.flags&=-257,vi(p,o,u,0,n),1&p.mode&&mi(a,s,n),i=s;var m=(n=p).updateQueue;if(null===m){var h=new Set;h.add(i),n.updateQueue=h;}else m.add(i);break e}if(!(1&n)){mi(a,s,n),mc();break e}i=Error(le(426));}else if(ro&&1&u.mode){var v=hi(o);if(null!==v){!(65536&v.flags)&&(v.flags|=256),vi(v,o,u,0,n),mo(ii(i,u));break e}}a=i=ii(i,u),4!==Ms&&(Ms=2),null===Us?Us=[a]:Us.push(a),a=o;do{switch(a.tag){case 3:a.flags|=65536,n&=-n,a.lanes|=n,Vo(a,di(0,i,n));break e;case 1:u=i;var g=a.type,y=a.stateNode;if(!(128&a.flags||"function"!=typeof g.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==Hs&&Hs.has(y)))){a.flags|=65536,n&=-n,a.lanes|=n,Vo(a,pi(a,u,n));break e}}a=a.return;}while(null!==a)}bc(t);}catch(b){n=b,zs===t&&null!==t&&(zs=t=t.return);continue}break}}function pc(){var e=Es.current;return Es.current=Gu,null===e?Gu:e}function mc(){0!==Ms&&3!==Ms&&2!==Ms||(Ms=4),null===Ps||!(268435455&Fs)&&!(268435455&Is)||oc(Ps,Ts);}function hc(e,n){var t=Ns;Ns|=2;var r=pc();for(Ps===e&&Ts===n||($s=null,fc(e,n));;)try{vc();break}catch(l){dc(e,l);}if(Co(),Ns=t,Es.current=r,null!==zs)throw Error(le(261));return Ps=null,Ts=0,Ms}function vc(){for(;null!==zs;)yc(zs);}function gc(){for(;null!==zs&&!Yn();)yc(zs);}function yc(e){var n=Ss(e.alternate,e,Ls);e.memoizedProps=e.pendingProps,null===n?bc(e):zs=n,_s.current=null;}function bc(e){var n=e;do{var t=n.alternate;if(e=n.return,32768&n.flags){if(null!==(t=qi(t,n)))return t.flags&=32767,void(zs=t);if(null===e)return Ms=6,void(zs=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null;}else if(null!==(t=Qi(t,n,Ls)))return void(zs=t);if(null!==(n=n.sibling))return void(zs=n);zs=n=e;}while(null!==n);0===Ms&&(Ms=5);}function wc(e,n,t){var r=bt,l=Cs.transition;try{Cs.transition=null,bt=1,function(e,n,t,r){do{kc();}while(null!==qs);if(6&Ns)throw Error(le(327));t=e.finishedWork;var l=e.finishedLanes;if(null===t)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(le(177));e.callbackNode=null,e.callbackPriority=0;var a=t.lanes|t.childLanes;if(function(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-ot(t),a=1<<l;n[l]=0,r[l]=-1,e[l]=-1,t&=~a;}}(e,a),e===Ps&&(zs=Ps=null,Ts=0),!(2064&t.subtreeFlags)&&!(2064&t.flags)||Qs||(Qs=!0,Pc(nt,(function(){return kc(),null}))),a=!!(15990&t.flags),!!(15990&t.subtreeFlags)||a){a=Cs.transition,Cs.transition=null;var o=bt;bt=1;var u=Ns;Ns|=4,_s.current=null,function(e,n){if(Jl=Wt,dl(e=fl())){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(r&&0!==r.rangeCount){t=r.anchorNode;var l=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{t.nodeType,a.nodeType;}catch(w){t=null;break e}var o=0,u=-1,i=-1,s=0,c=0,f=e,d=null;n:for(;;){for(var p;f!==t||0!==l&&3!==f.nodeType||(u=o+l),f!==a||0!==r&&3!==f.nodeType||(i=o+r),3===f.nodeType&&(o+=f.nodeValue.length),null!==(p=f.firstChild);)d=f,f=p;for(;;){if(f===e)break n;if(d===t&&++s===l&&(u=o),d===a&&++c===r&&(i=o),null!==(p=f.nextSibling))break;d=(f=d).parentNode;}f=p;}t=-1===u||-1===i?null:{start:u,end:i};}else t=null;}t=t||{start:0,end:0};}else t=null;for(ea={focusedElem:e,selectionRange:t},Wt=!1,Gi=n;null!==Gi;)if(e=(n=Gi).child,1028&n.subtreeFlags&&null!==e)e.return=n,Gi=e;else for(;null!==Gi;){n=Gi;try{var m=n.alternate;if(1024&n.flags)switch(n.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var h=m.memoizedProps,v=m.memoizedState,g=n.stateNode,y=g.getSnapshotBeforeUpdate(n.elementType===n.type?h:ni(n.type,h),v);g.__reactInternalSnapshotBeforeUpdate=y;}break;case 3:var b=n.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(le(163))}}catch(w){xc(n,n.return,w);}if(null!==(e=n.sibling)){e.return=n.return,Gi=e;break}Gi=n.return;}m=es,es=!1;}(e,t),hs(t,e),pl(ea),Wt=!!Jl,ea=Jl=null,e.current=t,gs(t),Xn(),Ns=u,bt=o,Cs.transition=a;}else e.current=t;if(Qs&&(Qs=!1,qs=e,Ks=l),a=e.pendingLanes,0===a&&(Hs=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(lt,e,void 0,!(128&~e.current.flags));}catch(n){}}(t.stateNode),tc(e,Gn()),null!==n)for(r=e.onRecoverableError,t=0;t<n.length;t++)l=n[t],r(l.value,{componentStack:l.stack,digest:l.digest});if(Bs)throw Bs=!1,e=Ws,Ws=null,e;!!(1&Ks)&&0!==e.tag&&kc(),a=e.pendingLanes,1&a?e===Xs?Ys++:(Ys=0,Xs=e):Ys=0,Va();}(e,n,t,r);}finally{Cs.transition=l,bt=r;}return null}function kc(){if(null!==qs){var e=wt(Ks),n=Cs.transition,t=bt;try{if(Cs.transition=null,bt=16>e?16:e,null===qs)var r=!1;else {if(e=qs,qs=null,Ks=0,6&Ns)throw Error(le(331));var l=Ns;for(Ns|=4,Gi=e.current;null!==Gi;){var a=Gi,o=a.child;if(16&Gi.flags){var u=a.deletions;if(null!==u){for(var i=0;i<u.length;i++){var s=u[i];for(Gi=s;null!==Gi;){var c=Gi;switch(c.tag){case 0:case 11:case 15:ns(8,c,a);}var f=c.child;if(null!==f)f.return=c,Gi=f;else for(;null!==Gi;){var d=(c=Gi).sibling,p=c.return;if(ls(c),c===s){Gi=null;break}if(null!==d){d.return=p,Gi=d;break}Gi=p;}}}var m=a.alternate;if(null!==m){var h=m.child;if(null!==h){m.child=null;do{var v=h.sibling;h.sibling=null,h=v;}while(null!==h)}}Gi=a;}}if(2064&a.subtreeFlags&&null!==o)o.return=a,Gi=o;else e:for(;null!==Gi;){if(2048&(a=Gi).flags)switch(a.tag){case 0:case 11:case 15:ns(9,a,a.return);}var g=a.sibling;if(null!==g){g.return=a.return,Gi=g;break e}Gi=a.return;}}var y=e.current;for(Gi=y;null!==Gi;){var b=(o=Gi).child;if(2064&o.subtreeFlags&&null!==b)b.return=o,Gi=b;else e:for(o=y;null!==Gi;){if(2048&(u=Gi).flags)try{switch(u.tag){case 0:case 11:case 15:ts(9,u);}}catch(k){xc(u,u.return,k);}if(u===o){Gi=null;break e}var w=u.sibling;if(null!==w){w.return=u.return,Gi=w;break e}Gi=u.return;}}if(Ns=l,Va(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(lt,e);}catch(k){}r=!0;}return r}finally{bt=t,Cs.transition=n;}}return !1}function Sc(e,n,t){e=jo(e,n=di(0,n=ii(t,n),1),1),n=Js(),null!==e&&(gt(e,1,n),tc(e,n));}function xc(e,n,t){if(3===e.tag)Sc(e,e,t);else for(;null!==n;){if(3===n.tag){Sc(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Hs||!Hs.has(r))){n=jo(n,e=pi(n,e=ii(t,e),1),1),e=Js(),null!==n&&(gt(n,1,e),tc(n,e));break}}n=n.return;}}function Ec(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=Js(),e.pingedLanes|=e.suspendedLanes&t,Ps===e&&(Ts&t)===t&&(4===Ms||3===Ms&&(130023424&Ts)===Ts&&500>Gn()-As?fc(e,0):Ds|=t),tc(e,n);}function _c(e,n){0===n&&(1&e.mode?(n=ct,!(130023424&(ct<<=1))&&(ct=4194304)):n=1);var t=Js();null!==(e=Oo(e,n))&&(gt(e,n,t),tc(e,t));}function Cc(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),_c(e,t);}function Nc(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(le(314))}null!==r&&r.delete(n),_c(e,t);}function Pc(e,n){return qn(e,n)}function zc(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 Tc(e,n,t,r){return new zc(e,n,t,r)}function Lc(e){return !(!(e=e.prototype)||!e.isReactComponent)}function Rc(e,n){var t=e.alternate;return null===t?((t=Tc(e.tag,n,e.key,e.mode)).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=14680064&e.flags,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=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Mc(e,n,t,r,l,a){var o=2;if(r=e,"function"==typeof e)Lc(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case Se:return Oc(t.children,l,a,n);case xe:o=8,l|=8;break;case Ee:return (e=Tc(12,t,n,2|l)).elementType=Ee,e.lanes=a,e;case Pe:return (e=Tc(13,t,n,l)).elementType=Pe,e.lanes=a,e;case ze:return (e=Tc(19,t,n,l)).elementType=ze,e.lanes=a,e;case Re:return Fc(t,l,a,n);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _e:o=10;break e;case Ce:o=9;break e;case Ne:o=11;break e;case Te:o=14;break e;case Le:o=16,r=null;break e}throw Error(le(130,null==e?e:typeof e,""))}return (n=Tc(o,t,n,l)).elementType=e,n.type=r,n.lanes=a,n}function Oc(e,n,t,r){return (e=Tc(7,e,r,n)).lanes=t,e}function Fc(e,n,t,r){return (e=Tc(22,e,r,n)).elementType=Re,e.lanes=t,e.stateNode={isHidden:!1},e}function Ic(e,n,t){return (e=Tc(6,e,null,n)).lanes=t,e}function Dc(e,n,t){return (n=Tc(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Uc(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=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null;}function jc(e,n,t,r,l,a,o,u,i){return e=new Uc(e,n,t,u,i),1===n?(n=1,!0===a&&(n|=8)):n=0,a=Tc(3,null,null,n),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Io(a),e}function Ac(e){if(!e)return Ca;e:{if($n(e=e._reactInternals)!==e||1!==e.tag)throw Error(le(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(La(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return;}while(null!==n);throw Error(le(171))}if(1===e.tag){var t=e.type;if(La(t))return Oa(e,t,n)}return n}function Vc(e,n,t,r,l,a,o,u,i){return (e=jc(t,r,!0,e,0,a,0,u,i)).context=Ac(null),t=e.current,(a=Uo(r=Js(),l=ec(t))).callback=null!=n?n:null,jo(t,a,l),e.current.lanes=l,gt(e,l,r),tc(e,r),e}function $c(e,n,t,r){var l=n.current,a=Js(),o=ec(l);return t=Ac(t),null===n.context?n.context=t:n.pendingContext=t,(n=Uo(a,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),null!==(e=jo(l,n,o))&&(nc(e,l,o,a),Ao(e,l,o)),o}function Bc(e){return (e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wc(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n;}}function Hc(e,n){Wc(e,n),(e=e.alternate)&&Wc(e,n);}Ss=function(e,n,t){if(null!==e)if(e.memoizedProps!==n.pendingProps||Pa.current)yi=!0;else {if(!(e.lanes&t||128&n.flags))return yi=!1,function(e,n,t){switch(n.tag){case 3:Pi(n),po();break;case 5:Go(n);break;case 1:La(n.type)&&Fa(n);break;case 4:Yo(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;_a(So,r._currentValue),r._currentValue=l;break;case 13:if(null!==(r=n.memoizedState))return null!==r.dehydrated?(_a(Jo,1&Jo.current),n.flags|=128,null):t&n.child.childLanes?Ii(e,n,t):(_a(Jo,1&Jo.current),null!==(e=Bi(e,n,t))?e.sibling:null);_a(Jo,1&Jo.current);break;case 19:if(r=!!(t&n.childLanes),128&e.flags){if(r)return Vi(e,n,t);n.flags|=128;}if(null!==(l=n.memoizedState)&&(l.rendering=null,l.tail=null,l.lastEffect=null),_a(Jo,Jo.current),r)break;return null;case 22:case 23:return n.lanes=0,xi(e,n,t)}return Bi(e,n,t)}(e,n,t);yi=!!(131072&e.flags);}else yi=!1,ro&&1048576&n.flags&&Za(n,Ha,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;$i(e,n),e=n.pendingProps;var l=Ta(n,Na.current);zo(n,t),l=hu(null,n,r,e,l,t);var a=vu();return n.flags|=1,"object"==typeof l&&null!==l&&"function"==typeof l.render&&void 0===l.$$typeof?(n.tag=1,n.memoizedState=null,n.updateQueue=null,La(r)?(a=!0,Fa(n)):a=!1,n.memoizedState=null!==l.state&&void 0!==l.state?l.state:null,Io(n),l.updater=ri,n.stateNode=l,l._reactInternals=n,ui(n,r,e,t),n=Ni(null,n,r,!0,a,t)):(n.tag=0,ro&&a&&Ja(n),bi(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch($i(e,n),e=n.pendingProps,r=(l=r._init)(r._payload),n.type=r,l=n.tag=function(e){if("function"==typeof e)return Lc(e)?1:0;if(null!=e){if((e=e.$$typeof)===Ne)return 11;if(e===Te)return 14}return 2}(r),e=ni(r,e),l){case 0:n=_i(null,n,r,e,t);break e;case 1:n=Ci(null,n,r,e,t);break e;case 11:n=wi(null,n,r,e,t);break e;case 14:n=ki(null,n,r,ni(r.type,e),t);break e}throw Error(le(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,_i(e,n,r,l=n.elementType===r?l:ni(r,l),t);case 1:return r=n.type,l=n.pendingProps,Ci(e,n,r,l=n.elementType===r?l:ni(r,l),t);case 3:e:{if(Pi(n),null===e)throw Error(le(387));r=n.pendingProps,l=(a=n.memoizedState).element,Do(e,n),$o(n,r,null,t);var o=n.memoizedState;if(r=o.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},n.updateQueue.baseState=a,n.memoizedState=a,256&n.flags){n=zi(e,n,r,t,l=ii(Error(le(423)),n));break e}if(r!==l){n=zi(e,n,r,t,l=ii(Error(le(424)),n));break e}for(to=ia(n.stateNode.containerInfo.firstChild),no=n,ro=!0,lo=null,t=ko(n,null,r,t),n.child=t;t;)t.flags=-3&t.flags|4096,t=t.sibling;}else {if(po(),r===l){n=Bi(e,n,t);break e}bi(e,n,r,t);}n=n.child;}return n;case 5:return Go(n),null===e&&io(n),r=n.type,l=n.pendingProps,a=null!==e?e.memoizedProps:null,o=l.children,na(r,l)?o=null:null!==a&&na(r,a)&&(n.flags|=32),Ei(e,n),bi(e,n,o,t),n.child;case 6:return null===e&&io(n),null;case 13:return Ii(e,n,t);case 4:return Yo(n,n.stateNode.containerInfo),r=n.pendingProps,null===e?n.child=wo(n,null,r,t):bi(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,wi(e,n,r,l=n.elementType===r?l:ni(r,l),t);case 7:return bi(e,n,n.pendingProps,t),n.child;case 8:case 12:return bi(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,a=n.memoizedProps,o=l.value,_a(So,r._currentValue),r._currentValue=o,null!==a)if(ol(a.value,o)){if(a.children===l.children&&!Pa.current){n=Bi(e,n,t);break e}}else for(null!==(a=n.child)&&(a.return=n);null!==a;){var u=a.dependencies;if(null!==u){o=a.child;for(var i=u.firstContext;null!==i;){if(i.context===r){if(1===a.tag){(i=Uo(-1,t&-t)).tag=2;var s=a.updateQueue;if(null!==s){var c=(s=s.shared).pending;null===c?i.next=i:(i.next=c.next,c.next=i),s.pending=i;}}a.lanes|=t,null!==(i=a.alternate)&&(i.lanes|=t),Po(a.return,t,n),u.lanes|=t;break}i=i.next;}}else if(10===a.tag)o=a.type===n.type?null:a.child;else if(18===a.tag){if(null===(o=a.return))throw Error(le(341));o.lanes|=t,null!==(u=o.alternate)&&(u.lanes|=t),Po(o,t,n),o=a.sibling;}else o=a.child;if(null!==o)o.return=a;else for(o=a;null!==o;){if(o===n){o=null;break}if(null!==(a=o.sibling)){a.return=o.return,o=a;break}o=o.return;}a=o;}bi(e,n,l.children,t),n=n.child;}return n;case 9:return l=n.type,r=n.pendingProps.children,zo(n,t),r=r(l=To(l)),n.flags|=1,bi(e,n,r,t),n.child;case 14:return l=ni(r=n.type,n.pendingProps),ki(e,n,r,l=ni(r.type,l),t);case 15:return Si(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ni(r,l),$i(e,n),n.tag=1,La(r)?(e=!0,Fa(n)):e=!1,zo(n,t),ai(n,r,l),ui(n,r,l,t),Ni(null,n,r,!0,e,t);case 19:return Vi(e,n,t);case 22:return xi(e,n,t)}throw Error(le(156,n.tag))};var Qc="function"==typeof reportError?reportError:function(e){console.error(e);};function qc(e){this._internalRoot=e;}function Kc(e){this._internalRoot=e;}function Yc(e){return !(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xc(e){return !(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Gc(){}function Zc(e,n,t,r,l){var a=t._reactRootContainer;if(a){var o=a;if("function"==typeof l){var u=l;l=function(){var e=Bc(o);u.call(e);};}$c(n,o,e,l);}else o=function(e,n,t,r,l){if(l){if("function"==typeof r){var a=r;r=function(){var e=Bc(o);a.call(e);};}var o=Vc(n,r,e,0,null,!1,0,"",Gc);return e._reactRootContainer=o,e[pa]=o.current,Vl(8===e.nodeType?e.parentNode:e),sc(),o}for(;l=e.lastChild;)e.removeChild(l);if("function"==typeof r){var u=r;r=function(){var e=Bc(i);u.call(e);};}var i=jc(e,0,!1,null,0,!1,0,"",Gc);return e._reactRootContainer=i,e[pa]=i.current,Vl(8===e.nodeType?e.parentNode:e),sc((function(){$c(n,i,t,r);})),i}(t,n,e,l,r);return Bc(o)}Kc.prototype.render=qc.prototype.render=function(e){var n=this._internalRoot;if(null===n)throw Error(le(409));$c(e,n,null,null);},Kc.prototype.unmount=qc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var n=e.containerInfo;sc((function(){$c(null,e,null,null);})),n[pa]=null;}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var n=Et();e={blockedOn:null,target:e,priority:n};for(var t=0;t<Mt.length&&0!==n&&n<Mt[t].priority;t++);Mt.splice(t,0,e),0===t&&Dt(e);}},kt=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=ft(n.pendingLanes);0!==t&&(yt(n,1|t),tc(n,Gn()),!(6&Ns)&&(Vs=Gn()+500,Va()));}break;case 13:sc((function(){var n=Oo(e,1);if(null!==n){var t=Js();nc(n,e,1,t);}})),Hc(e,1);}},St=function(e){if(13===e.tag){var n=Oo(e,134217728);if(null!==n)nc(n,e,134217728,Js());Hc(e,134217728);}},xt=function(e){if(13===e.tag){var n=ec(e),t=Oo(e,n);if(null!==t)nc(t,e,n,Js());Hc(e,n);}},Et=function(){return bt},_t=function(e,n){var t=bt;try{return bt=e,n()}finally{bt=t;}},Sn=function(e,n,t){switch(n){case"input":if(Ge(e,t),n=t.name,"radio"===t.type&&null!=n){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=wa(r);if(!l)throw Error(le(90));Qe(r),Ge(r,l);}}}break;case"textarea":ln(e,t);break;case"select":null!=(n=t.value)&&nn(e,!!t.multiple,n,!1);}},Pn=ic,zn=sc;var Jc={usingClientEntryPoint:!1,Events:[ya,ba,wa,Cn,Nn,ic]},ef={findFiberByHostInstance:ga,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nf={bundleType:ef.bundleType,version:ef.version,rendererPackageName:ef.rendererPackageName,rendererConfig:ef.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:be.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Hn(e))?null:e.stateNode},findFiberByHostInstance:ef.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var tf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tf.isDisabled&&tf.supportsFiber)try{lt=tf.inject(nf),at=tf;}catch(cn){}}Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jc,Z.createPortal=function(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yc(n))throw Error(le(200));return function(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return {$$typeof:ke,key:null==r?null:""+r,children:e,containerInfo:n,implementation:t}}(e,n,null,t)},Z.createRoot=function(e,n){if(!Yc(e))throw Error(le(299));var t=!1,r="",l=Qc;return null!=n&&(!0===n.unstable_strictMode&&(t=!0),void 0!==n.identifierPrefix&&(r=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),n=jc(e,1,!1,null,0,t,0,r,l),e[pa]=n.current,Vl(8===e.nodeType?e.parentNode:e),new qc(n)},Z.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternals;if(void 0===n){if("function"==typeof e.render)throw Error(le(188));throw e=Object.keys(e).join(","),Error(le(268,e))}return e=null===(e=Hn(n))?null:e.stateNode},Z.flushSync=function(e){return sc(e)},Z.hydrate=function(e,n,t){if(!Xc(n))throw Error(le(200));return Zc(null,e,n,!0,t)},Z.hydrateRoot=function(e,n,t){if(!Yc(e))throw Error(le(405));var r=null!=t&&t.hydratedSources||null,l=!1,a="",o=Qc;if(null!=t&&(!0===t.unstable_strictMode&&(l=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),n=Vc(n,null,e,1,null!=t?t:null,l,0,a,o),e[pa]=n.current,Vl(e),r)for(e=0;e<r.length;e++)l=(l=(t=r[e])._getVersion)(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l);return new Kc(n)},Z.render=function(e,n,t){if(!Xc(n))throw Error(le(200));return Zc(null,e,n,!1,t)},Z.unmountComponentAtNode=function(e){if(!Xc(e))throw Error(le(40));return !!e._reactRootContainer&&(sc((function(){Zc(null,null,e,!1,(function(){e._reactRootContainer=null,e[pa]=null;}));})),!0)},Z.unstable_batchedUpdates=ic,Z.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!Xc(t))throw Error(le(200));if(null==e||void 0===e._reactInternals)throw Error(le(38));return Zc(e,n,t,!1,r)},Z.version="18.3.1-next-f1338f8080-20240426",function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);}catch(n){console.error(n);}}(),G.exports=Z;var rf=G.exports;X.createRoot=rf.createRoot,X.hydrateRoot=rf.hydrateRoot;var lf,af={exports:{}};
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/lf=af,function(){var e={}.hasOwnProperty;function n(){for(var e="",n=0;n<arguments.length;n++){var l=arguments[n];l&&(e=r(e,t(l)));}return e}function t(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return "";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var l="";for(var a in t)e.call(t,a)&&t[a]&&(l=r(l,a));return l}function r(e,n){return n?e?e+" "+n:e+n:e}lf.exports?(n.default=n,lf.exports=n):window.classNames=n;}();const of=n(af.exports);"function"==typeof SuppressedError&&SuppressedError;function uf(e){var n=A.useRef(e);n.current=A.useMemo((function(){return e}),[e]);var t=A.useRef();return t.current||(t.current=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.current.apply(this,e)}),t.current}function sf(e,n){if(e===n)return !0;for(var t=0;t<e.length;t++)if(!Object.is(e[t],n[t]))return !1;return !0}function cf(e){var n=A.useRef(e);return n.current=e,n}var ff=function(e){var n=cf(e);A.useEffect((function(){return function(){n.current();}}),[]);};var df=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)},pf="object"==typeof e&&e&&e.Object===Object&&e,mf="object"==typeof self&&self&&self.Object===Object&&self,hf=pf||mf||Function("return this")(),vf=hf,gf=function(){return vf.Date.now()},yf=/\s/;var bf=function(e){for(var n=e.length;n--&&yf.test(e.charAt(n)););return n},wf=/^\s+/;var kf=function(e){return e?e.slice(0,bf(e)+1).replace(wf,""):e},Sf=hf.Symbol,xf=Sf,Ef=Object.prototype,_f=Ef.hasOwnProperty,Cf=Ef.toString,Nf=xf?xf.toStringTag:void 0;var Pf=function(e){var n=_f.call(e,Nf),t=e[Nf];try{e[Nf]=void 0;var r=!0;}catch(a){}var l=Cf.call(e);return r&&(n?e[Nf]=t:delete e[Nf]),l},zf=Object.prototype.toString;var Tf=Pf,Lf=function(e){return zf.call(e)},Rf=Sf?Sf.toStringTag:void 0;var Mf=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Rf&&Rf in Object(e)?Tf(e):Lf(e)},Of=function(e){return null!=e&&"object"==typeof e};var Ff=kf,If=df,Df=function(e){return "symbol"==typeof e||Of(e)&&"[object Symbol]"==Mf(e)},Uf=/^[-+]0x[0-9a-f]+$/i,jf=/^0b[01]+$/i,Af=/^0o[0-7]+$/i,Vf=parseInt;var $f=df,Bf=gf,Wf=function(e){if("number"==typeof e)return e;if(Df(e))return NaN;if(If(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=If(n)?n+"":n;}if("string"!=typeof e)return 0===e?e:+e;e=Ff(e);var t=jf.test(e);return t||Af.test(e)?Vf(e.slice(2),t?2:8):Uf.test(e)?NaN:+e},Hf=Math.max,Qf=Math.min;var qf=function(e,n,t){var r,l,a,o,u,i,s=0,c=!1,f=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(n){var t=r,a=l;return r=l=void 0,s=n,o=e.apply(a,t)}function m(e){var t=e-i;return void 0===i||t>=n||t<0||f&&e-s>=a}function h(){var e=Bf();if(m(e))return v(e);u=setTimeout(h,function(e){var t=n-(e-i);return f?Qf(t,a-(e-s)):t}(e));}function v(e){return u=void 0,d&&r?p(e):(r=l=void 0,o)}function g(){var e=Bf(),t=m(e);if(r=arguments,l=this,i=e,t){if(void 0===u)return function(e){return s=e,u=setTimeout(h,n),c?p(e):o}(i);if(f)return clearTimeout(u),u=setTimeout(h,n),p(i)}return void 0===u&&(u=setTimeout(h,n)),o}return n=Wf(n)||0,$f(t)&&(c=!!t.leading,a=(f="maxWait"in t)?Hf(Wf(t.maxWait)||0,n):a,d="trailing"in t?!!t.trailing:d),g.cancel=function(){void 0!==u&&clearTimeout(u),s=0,r=i=l=u=void 0;},g.flush=function(){return void 0===u?o:v(Bf())},g},Kf=!("undefined"==typeof window||!window.document||!window.document.createElement),Yf=qf,Xf=df;const Gf=n((function(e,n,t){var r=!0,l=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Xf(t)&&(r="leading"in t?!!t.leading:r,l="trailing"in t?!!t.trailing:l),Yf(e,n,{leading:r,maxWait:n,trailing:l})}));function Zf(e,n){if(Kf)return e?"function"==typeof e?e():"current"in e?e.current:e:n}var Jf,ed=function(e){if(!e||!document.getRootNode)return document;var n,t=Array.isArray(e)?e:[e];return function(e){return e.every((function(e){var n=Zf(e);return !!n&&n.getRootNode()instanceof ShadowRoot}))}(t)&&(n=Zf(t[0]))?n.getRootNode():document},nd=(Jf=A.useEffect,function(e,n,t){var r=A.useRef(!1),l=A.useRef([]),a=A.useRef([]),o=A.useRef();Jf((function(){var u,i=(Array.isArray(t)?t:[t]).map((function(e){return Zf(e)}));if(!r.current)return r.current=!0,l.current=i,a.current=n,void(o.current=e());i.length===l.current.length&&sf(l.current,i)&&sf(a.current,n)||(null===(u=o.current)||void 0===u||u.call(o),l.current=i,a.current=n,o.current=e());})),ff((function(){var e;null===(e=o.current)||void 0===e||e.call(o),r.current=!1;}));});function td(e,n){var t,r=cf(e),l=null!==(t=null==n?void 0:n.wait)&&void 0!==t?t:1e3,a=A.useMemo((function(){return Gf((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return r.current.apply(r,function(e,n,t){if(2===arguments.length)for(var r,l=0,a=n.length;l<a;l++)!r&&l in n||(r||(r=Array.prototype.slice.call(n,0,l)),r[l]=n[l]);return e.concat(r||Array.prototype.slice.call(n))}([],function(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,l,a=t.call(e),o=[];try{for(;(void 0===n||n-- >0)&&!(r=a.next()).done;)o.push(r.value);}catch(u){l={error:u};}finally{try{r&&!r.done&&(t=a.return)&&t.call(a);}finally{if(l)throw l.error}}return o}(e),!1))}),l,n)}),[]);return ff((function(){a.cancel();})),{run:a,cancel:a.cancel,flush:a.flush}}var rd=(()=>"undefined"!=typeof GM_deleteValue?GM_deleteValue:void 0)(),ld=(()=>"undefined"!=typeof GM_getValue?GM_getValue:void 0)(),ad=(()=>"undefined"!=typeof GM_setValue?GM_setValue:void 0)();const od={get:(e,n=0)=>ld(e,n),set(e,n){ad(e,n);},del(e){rd(e);}},ud={getItems:()=>[{id:0,label:"不限时",value:0,message:""},{id:1,label:"15 分钟",value:15,message:"15分钟已到期,挂机结束!"},{id:2,label:"30 分钟",value:30,message:"30分钟已到期,挂机结束!"},{id:3,label:"1 小时",value:60,message:"1小时已到期,挂机结束!"},{id:4,label:"2 小时",value:120,message:"2小时已到期,挂机结束!"},{id:5,label:"3 小时",value:180,message:"3小时已到期,挂机结束!"}],select(e){od.set("timer",e);},getCurrentId(){const e=this.getItems(),n=od.get("timer",0);return n>e.length-1?e[0].id:e[n].id},getCurrentValue(){const e=this.getItems(),n=od.get("timer",0);return n>e.length-1?e[0].value:e[n].value},getCurrentMessage(){const e=this.getItems(),n=od.get("timer",0);return n>e.length-1?e[0].message:e[n].message}};function id(e,n){let t=null,r=function(){let e=null;return {start:()=>{const n=new window.AudioContext;e=n.createOscillator(),e.frequency.setValueAtTime(2e4,n.currentTime),e.connect(n.destination),e.start();},stop:()=>{null==e||e.stop();}}}(),l=!1;return {start:()=>{t=function(){const t=`setInterval(() => postMessage(0), ${n});`,r=new Worker(URL.createObjectURL(new Blob([t])));return r.onmessage=e,r}(),r.start(),l=!0;},stop:()=>{null==t||t.terminate(),r.stop(),l=!1;},isRunning:()=>l}}const sd="Timer is not initialized. Please use it after the component has been mounted.";function cd(e){const n=A.useRef(),t=function(e,n){const t=A.useRef(null),r=A.useRef(e),l=A.useRef(!1),[,a]=A.useState(!1);return r.current=e,A.useEffect((()=>(t.current=id((()=>r.current()),n),l.current&&t.current.start(),()=>{var e;return null==(e=t.current)?void 0:e.stop()})),[n]),{start:()=>{if(!t.current)throw new Error(sd);t.current.start(),l.current=!0,a(!0);},stop:()=>{if(!t.current)throw new Error(sd);t.current.stop(),l.current=!1,a(!1);},isRunning:()=>!!t.current&&t.current.isRunning()}}((()=>{window.scrollBy(0,1),r(),window.scrollY===n.current&&l(),n.current=window.scrollY;}),[40,20,10][e-1]),r=uf((()=>{const e=new MouseEvent("mousemove",{clientX:100,clientY:100,screenX:2367,screenY:640,movementX:-10,movementY:-5});document.dispatchEvent(e);})),{run:l}=td((()=>{const e=new KeyboardEvent("keydown",{key:"ArrowRight",keyCode:39});document.dispatchEvent(e);}),{wait:1e4,trailing:!1});return t}const fd="_root_w5oiy_1",dd="_button_w5oiy_7",pd="_timer-control-panel-wrapper_w5oiy_15",md="_timer-control-panel-mask_w5oiy_23",hd="_show_w5oiy_37",vd="_timer-control-panel-content_w5oiy_42",gd="_timer-control-panel-content-inner_w5oiy_64",yd="_timer-item_w5oiy_69",bd="_selected_w5oiy_86",wd=({speed:e=1})=>{const n=cd(e),t=A.useRef(null),r=uf((()=>{var e;if(n.isRunning())return n.stop(),void(null==(e=t.current)||e.stop());n.start();const r=ud.getCurrentValue(),l=ud.getCurrentMessage();t.current=id((()=>{var e;n.isRunning()&&(n.stop(),null==(e=t.current)||e.stop(),alert(l));}),60*r*1e3),0!==r&&t.current.start();}));return Y.jsx("button",{className:of("readerControls_item",dd),onClick:r,title:"自动播放",children:n.isRunning()?"挂机中":"挂机"})},kd=({speed:e,onChange:n})=>{const t=uf((()=>{n(e%3+1);}));return Y.jsxs("button",{className:"readerControls_item "+dd,onClick:t,title:"滚动速度",children:[e,"档"]})},Sd=()=>{const[e,n]=A.useState(!1),[t,r]=A.useState(0),l=A.useRef(null),a=A.useRef(null),o=e?" "+hd:"";var u;u=()=>{r(ud.getCurrentId());},A.useEffect((function(){null==u||u();}),[]),function(e,n,t){void 0===t&&(t="click");var r=cf(e);nd((function(){var e=function(e){(Array.isArray(n)?n:[n]).some((function(n){var t=Zf(n);return !t||t.contains(e.target)}))||r.current(e);},l=ed(n),a=Array.isArray(t)?t:[t];return a.forEach((function(n){return l.addEventListener(n,e)})),function(){a.forEach((function(n){return l.removeEventListener(n,e)}));}}),Array.isArray(t)?t:[t],n);}((()=>{n(!1);}),[l,a]);const i=uf((()=>{n(!0);})),s=uf((e=>{r(e),ud.select(e);}));return Y.jsxs("div",{className:pd,children:[Y.jsx("div",{className:of(md,o)}),Y.jsx("button",{className:of("readerControls_item",dd),onClick:i,ref:a,children:"定时"}),Y.jsx("div",{className:of(vd,o),ref:l,children:Y.jsx("div",{className:gd,children:ud.getItems().map((e=>{const n=t===e.id?" "+bd:"",r=of(yd,n);return Y.jsx("div",{className:r,onClick:()=>s(e.id),children:e.label},e.id)}))})})]})};function xd(){const[e,n]=A.useState(1),[t,r]=A.useState(!1);return A.useEffect((()=>{null===document.querySelector(".wr_horizontalReader")&&r(!0);}),[]),t?Y.jsxs(V.Fragment,{children:[Y.jsx(Sd,{}),Y.jsx(kd,{speed:e,onChange:n}),Y.jsx(wd,{speed:e})]}):null}function Ed(){const e=document.createElement("div");e.className=of("readerControls",fd),document.body.append(e),X.createRoot(e).render(Y.jsx(V.StrictMode,{children:Y.jsx(xd,{})}));}"loading"===document.readyState?(!function(){const e=document.addEventListener;document.addEventListener=function(n,t,r){["visibilitychange","blur","focus","contextmenu"].includes(n)||e.call(this,n,t,r);};}(),document.addEventListener("DOMContentLoaded",Ed)):Ed();
})();