-
Notifications
You must be signed in to change notification settings - Fork 210
/
Copy pathtests.js
35 lines (35 loc) · 167 KB
/
tests.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
!function(e,n,t,r,a){var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},l="function"==typeof o.parcelRequire9b95&&o.parcelRequire9b95,u=l.cache||{},i="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function s(n,t){if(!u[n]){if(!e[n]){var r="function"==typeof o.parcelRequire9b95&&o.parcelRequire9b95;if(!t&&r)return r(n,!0);if(l)return l(n,!0);if(i&&"string"==typeof n)return i(n);var a=new Error("Cannot find module '"+n+"'");throw a.code="MODULE_NOT_FOUND",a}f.resolve=function(t){return e[n][1][t]||t},f.cache={};var c=u[n]=new s.Module(n);e[n][0].call(c.exports,f,c,c.exports,this)}return u[n].exports;function f(e){return s(f.resolve(e))}}s.isParcelRequire=!0,s.Module=function(e){this.id=e,this.bundle=s,this.exports={}},s.modules=e,s.cache=u,s.parent=l,s.register=function(n,t){e[n]=[function(e,n){n.exports=t},{}]},Object.defineProperty(s,"root",{get:function(){return o.parcelRequire9b95}}),o.parcelRequire9b95=s;for(var c=0;c<n.length;c++)s(n[c]);var f=s(t);"object"==typeof exports&&"undefined"!=typeof module?module.exports=f:"function"==typeof define&&define.amd&&define((function(){return f}))}({"56quE":[function(e,n,t){var r=e("../core/types"),a=e("react-dom"),o=e("@parcel/transformer-js/lib/esmodule-helpers.js"),l=o.interopDefault(a),u=e("react"),i=o.interopDefault(u),s=e("bundle-text:./water.css"),c=o.interopDefault(s),f=e("../core/validators"),d=o.interopDefault(f),p=e("./components/Heading"),m=e("./components/TestsSelect"),h=e("./components/TestRunner"),g=e("./components/AllTestsRunner"),b=e("./hooks/useTestResults");const v=[{exerciseNumber:"0A",funcName:"soma",inputsNames:["num1","num2"],inputType:r.INPUT_TYPES.FUNCTION_ARGS,testCases:[{inputs:[1,2],output:3},{inputs:[4,5],output:9}],validator:d.default.strictCompare},{exerciseNumber:"0B",funcName:"imprimeMensagem",inputsNames:["mensagem"],inputType:r.INPUT_TYPES.PROMPT,testCases:[{inputs:["olá mundo!"],output:"olá mundo!"},{inputs:["bananinha"],output:"bananinha"}],validator:d.default.strictCompare},{exerciseNumber:"1",funcName:"calculaAreaRetangulo",inputsNames:["altura","largura"],inputType:r.INPUT_TYPES.PROMPT,testCases:[{inputs:[3,5],output:15},{inputs:[2,6],output:12}],validator:d.default.strictCompare},{exerciseNumber:"2",funcName:"imprimeIdade",inputsNames:["ano atual","ano de nascimento"],inputType:r.INPUT_TYPES.PROMPT,testCases:[{inputs:[2020,1990],output:30},{inputs:[2021,1967],output:54}],validator:d.default.strictCompare},{exerciseNumber:"3",funcName:"calculaIMC",inputsNames:["peso","altura"],inputType:r.INPUT_TYPES.FUNCTION_ARGS,testCases:[{inputs:[85,1.8],output:26.2},{inputs:[70,1.65],output:25.7}],validator:d.default.approximateCompare(.1)},{exerciseNumber:"4",funcName:"imprimeInformacoesUsuario",inputsNames:["nome","idade","email"],inputType:r.INPUT_TYPES.PROMPT,testCases:[{inputs:["Alice",28,"alice@gmail.com"],output:"Meu nome é Alice, tenho 28 anos, e o meu email é alice@gmail.com."},{inputs:["João",25,"joao@gmail.com"],output:"Meu nome é João, tenho 25 anos, e o meu email é joao@gmail.com."}],validator:d.default.strictCompare},{exerciseNumber:"5",funcName:"imprimeTresCoresFavoritas",inputsNames:["cor1","cor2","cor3"],inputType:r.INPUT_TYPES.PROMPT,testCases:[{inputs:["Azul","Amarelo","Vermelho"],output:["Azul","Amarelo","Vermelho"]},{inputs:["Laranja","Roxo","Preto"],output:["Laranja","Roxo","Preto"]}],validator:d.default.arrayCompare},{exerciseNumber:"6",funcName:"retornaStringEmMaiuscula",inputsNames:["string"],inputType:r.INPUT_TYPES.FUNCTION_ARGS,testCases:[{inputs:["oi"],output:"OI"},{inputs:["bAnAnA"],output:"BANANA"}],validator:d.default.strictCompare},{exerciseNumber:"7",funcName:"calculaIngressosEspetaculo",inputsNames:["custo","valor de cada ingresso"],inputType:r.INPUT_TYPES.FUNCTION_ARGS,testCases:[{inputs:[3e3,100],output:30},{inputs:[5500,50],output:110}],validator:d.default.strictCompare},{exerciseNumber:"8",funcName:"checaStringsMesmoTamanho",inputsNames:["string1","string2"],inputType:r.INPUT_TYPES.FUNCTION_ARGS,testCases:[{inputs:["Ola","abc"],output:!0},{inputs:["Teste","porta"],output:!0},{inputs:["abc","Abcd"],output:!1}],validator:d.default.strictCompare},{exerciseNumber:"9",funcName:"retornaPrimeiroElemento",inputsNames:["array"],inputType:r.INPUT_TYPES.FUNCTION_ARGS,testCases:[{inputs:[["ola","abc"]],output:"ola"},{inputs:[["teste","porta","batata"]],output:"teste"},{inputs:[[1,2,3,4]],output:1}],validator:d.default.strictCompare},{exerciseNumber:"10",funcName:"retornaUltimoElemento",inputsNames:["array"],inputType:r.INPUT_TYPES.FUNCTION_ARGS,testCases:[{inputs:[["ola","abc"]],output:"abc"},{inputs:[["teste","porta","batata"]],output:"batata"},{inputs:[[1,2,3,4]],output:4}],validator:d.default.strictCompare},{exerciseNumber:"11",funcName:"trocaPrimeiroEUltimo",inputsNames:["array"],inputType:r.INPUT_TYPES.FUNCTION_ARGS,testCases:[{inputs:[["ola","abc"]],output:["abc","ola"]},{inputs:[["teste","porta","batata"]],output:["batata","porta","teste"]},{inputs:[[1,2,3,4]],output:[4,2,3,1]}],validator:d.default.arrayCompare},{exerciseNumber:"12",funcName:"checaIgualdadeDesconsiderandoCase",inputsNames:["string1","string2"],inputType:r.INPUT_TYPES.FUNCTION_ARGS,testCases:[{inputs:["Ola","olA"],output:!0},{inputs:["bananinha","BANANINHA"],output:!0},{inputs:["banana","BANANINHA"],output:!1},{inputs:["cAsA","MeSA"],output:!1}],validator:d.default.strictCompare},{exerciseNumber:"13",funcName:"checaRenovacaoRG",inputsNames:["ano atual","ano de nascimento","ano de emissao do RG"],inputType:r.INPUT_TYPES.PROMPT,testCases:[{inputs:[2020,2e3,2015],output:!0},{inputs:[2020,2e3,2016],output:!1},{inputs:[2020,1990,2015],output:!1},{inputs:[2020,1990,2009],output:!0},{inputs:[2010,1959,2e3],output:!1},{inputs:[2010,1959,1990],output:!0}],validator:d.default.strictCompare},{exerciseNumber:"14",funcName:"checaAnoBissexto",inputsNames:["ano"],inputType:r.INPUT_TYPES.FUNCTION_ARGS,testCases:[{inputs:[2e3],output:!0},{inputs:[2012],output:!0},{inputs:[1900],output:!1},{inputs:[2001],output:!1}],validator:d.default.strictCompare},{exerciseNumber:"15",funcName:"checaValidadeInscricaoLabenu",inputsNames:["tem mais de 18?","tem ensino médio completo?","tem disponibilidade de horários?"],inputType:r.INPUT_TYPES.PROMPT,testCases:[{inputs:["sim","sim","sim"],output:!0},{inputs:["nao","sim","sim"],output:!1},{inputs:["sim","nao","sim"],output:!1},{inputs:["sim","sim","nao"],output:!1},{inputs:["nao","nao","nao"],output:!1}],validator:d.default.strictCompare}],y=()=>{const{getTestResult:e,setTestResult:n}=b.useTestResults(),[t,r]=u.useState(null);return i.default.createElement("div",null,i.default.createElement(p.Heading,null),i.default.createElement("hr",null),i.default.createElement("div",{style:{display:"flex"}},i.default.createElement(m.TestsSelect,{tests:v,selectedTest:t,setSelectedTest:r,getTestResult:e})),t?i.default.createElement(h.TestRunner,{test:t,setTestResultGlobal:n}):i.default.createElement(g.AllTestsRunner,{tests:v}))},w=document.createElement("style");w.textContent=c.default,document.querySelector("head").appendChild(w),l.default.render(i.default.createElement(y,null),document.getElementById("root"))},{"../core/types":"4XE9t","react-dom":"1FapN",react:"3lC58","bundle-text:./water.css":"6xekz","../core/validators":"4w5y8","./components/Heading":"PT9Wn","./components/TestsSelect":"4sjzY","./components/TestRunner":"3swYc","./components/AllTestsRunner":"5sFQ0","./hooks/useTestResults":"5bxix","@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8"}],"4XE9t":[function(e,n,t){var r=e("@parcel/transformer-js/lib/esmodule-helpers.js");let a;r.defineInteropFlag(t),r.export(t,"INPUT_TYPES",(function(){return a})),function(e){e.FUNCTION_ARGS="FUNCTION_ARGS",e.PROMPT="PROMPT"}(a||(a={}))},{"@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8"}],"1rdR8":[function(e,n,t){"use strict";t.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},t.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.exportAll=function(e,n){return Object.keys(e).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in n&&n[t]===e[t]||Object.defineProperty(n,t,{enumerable:!0,get:function(){return e[t]}}))})),n},t.export=function(e,n,t){Object.defineProperty(e,n,{enumerable:!0,get:t})}},{}],"1FapN":[function(e,n,t){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),n.exports=e("./cjs/react-dom.production.min.js")},{"./cjs/react-dom.production.min.js":"7q6tI"}],"7q6tI":[function(e,n,t){
/** @license React v17.0.2
* 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.
*/
"use strict";var r=e("react"),a=e("object-assign"),o=e("scheduler");function l(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."}if(!r)throw Error(l(227));var u=new Set,i={};function s(e,n){c(e,n),c(e+"Capture",n)}function c(e,n){for(i[e]=n,e=0;e<n.length;e++)u.add(n[e])}var f=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=/^[: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]*$/,p=Object.prototype.hasOwnProperty,m={},h={};function g(e,n,t,r,a,o,l){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=l}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){b[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var n=e[0];b[n]=new g(n,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){b[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){b[e]=new g(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){b[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){b[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){b[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){b[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){b[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function w(e,n,t,r){var a=b.hasOwnProperty(n)?b[n]:null;(null!==a?0===a.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,a,r)&&(t=null),r||null===a?function(e){return!!p.call(h,e)||!p.call(m,e)&&(d.test(e)?h[e]=!0:(m[e]=!0,!1))}(n)&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t)):a.mustUseProperty?e[a.propertyName]=null===t?3!==a.type&&"":t:(n=a.attributeName,r=a.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(a=a.type)||4===a&&!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(v,y);b[n]=new g(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(v,y);b[n]=new g(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(v,y);b[n]=new g(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){b[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),b.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){b[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=60103,E=60106,S=60107,_=60108,C=60114,N=60109,T=60110,P=60112,O=60113,R=60120,z=60115,j=60116,L=60121,I=60128,M=60129,F=60130,U=60131;if("function"==typeof Symbol&&Symbol.for){var A=Symbol.for;x=A("react.element"),E=A("react.portal"),S=A("react.fragment"),_=A("react.strict_mode"),C=A("react.profiler"),N=A("react.provider"),T=A("react.context"),P=A("react.forward_ref"),O=A("react.suspense"),R=A("react.suspense_list"),z=A("react.memo"),j=A("react.lazy"),L=A("react.block"),A("react.scope"),I=A("react.opaque.id"),M=A("react.debug_trace_mode"),F=A("react.offscreen"),U=A("react.legacy_hidden")}var D,V="function"==typeof Symbol&&Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=V&&e[V]||e["@@iterator"])?e:null}function $(e){if(void 0===D)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);D=n&&n[1]||""}return"\n"+D+e}var H=!1;function W(e,n){if(!e||H)return"";H=!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(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var a=e.stack.split("\n"),o=r.stack.split("\n"),l=a.length-1,u=o.length-1;1<=l&&0<=u&&a[l]!==o[u];)u--;for(;1<=l&&0<=u;l--,u--)if(a[l]!==o[u]){if(1!==l||1!==u)do{if(l--,0>--u||a[l]!==o[u])return"\n"+a[l].replace(" at new "," at ")}while(1<=l&&0<=u);break}}}finally{H=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?$(e):""}function q(e){switch(e.tag){case 5:return $(e.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return e=W(e.type,!1);case 11:return e=W(e.type.render,!1);case 22:return e=W(e.type._render,!1);case 1:return e=W(e.type,!0);default:return""}}function Q(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 S:return"Fragment";case E:return"Portal";case C:return"Profiler";case _:return"StrictMode";case O:return"Suspense";case R:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case N:return(e._context.displayName||"Context")+".Provider";case P:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(""!==n?"ForwardRef("+n+")":"ForwardRef");case z:return Q(e.type);case L:return Q(e._render);case j:n=e._payload,e=e._init;try{return Q(e(n))}catch(e){}}return null}function Y(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function K(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function G(e){e._valueTracker||(e._valueTracker=function(e){var n=K(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 a=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.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 X(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=K(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function J(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 Z(e,n){var t=n.checked;return a({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function ee(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=Y(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 ne(e,n){null!=(n=n.checked)&&w(e,"checked",n,!1)}function te(e,n){ne(e,n);var t=Y(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")?ae(e,n.type,t):n.hasOwnProperty("defaultValue")&&ae(e,n.type,Y(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function re(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 ae(e,n,t){"number"===n&&J(e.ownerDocument)===e||(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function oe(e,n){return e=a({children:void 0},n),(n=function(e){var n="";return r.Children.forEach(e,(function(e){null!=e&&(n+=e)})),n}(n.children))&&(e.children=n),e}function le(e,n,t,r){if(e=e.options,n){n={};for(var a=0;a<t.length;a++)n["$"+t[a]]=!0;for(t=0;t<e.length;t++)a=n.hasOwnProperty("$"+e[t].value),e[t].selected!==a&&(e[t].selected=a),a&&r&&(e[t].defaultSelected=!0)}else{for(t=""+Y(t),n=null,a=0;a<e.length;a++){if(e[a].value===t)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==n||e[a].disabled||(n=e[a])}null!==n&&(n.selected=!0)}}function ue(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(l(91));return a({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,n){var t=n.value;if(null==t){if(t=n.children,n=n.defaultValue,null!=t){if(null!=n)throw Error(l(92));if(Array.isArray(t)){if(!(1>=t.length))throw Error(l(93));t=t[0]}n=t}null==n&&(n=""),t=n}e._wrapperState={initialValue:Y(t)}}function se(e,n){var t=Y(n.value),r=Y(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 ce(e){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}var fe="http://www.w3.org/1999/xhtml",de="http://www.w3.org/2000/svg";function pe(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 me(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}var he,ge,be=(ge=function(e,n){if(e.namespaceURI!==de||"innerHTML"in e)e.innerHTML=n;else{for((he=he||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=he.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 ge(e,n)}))}:ge);function ve(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 ye={animationIterationCount:!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},we=["Webkit","ms","Moz","O"];function ke(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||ye.hasOwnProperty(e)&&ye[e]?(""+n).trim():n+"px"}function xe(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),a=ke(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,a):e[t]=a}}Object.keys(ye).forEach((function(e){we.forEach((function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),ye[n]=ye[e]}))}));var Ee=a({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 Se(e,n){if(n){if(Ee[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(l(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(l(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(l(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(l(62))}}function _e(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}}function Ce(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ne=null,Te=null,Pe=null;function Oe(e){if(e=ea(e)){if("function"!=typeof Ne)throw Error(l(280));var n=e.stateNode;n&&(n=ta(n),Ne(e.stateNode,e.type,n))}}function Re(e){Te?Pe?Pe.push(e):Pe=[e]:Te=e}function ze(){if(Te){var e=Te,n=Pe;if(Pe=Te=null,Oe(e),n)for(e=0;e<n.length;e++)Oe(n[e])}}function je(e,n){return e(n)}function Le(e,n,t,r,a){return e(n,t,r,a)}function Ie(){}var Me=je,Fe=!1,Ue=!1;function Ae(){null===Te&&null===Pe||(Ie(),ze())}function De(e,n){var t=e.stateNode;if(null===t)return null;var r=ta(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(l(231,n,typeof t));return t}var Ve=!1;if(f)try{var Be={};Object.defineProperty(Be,"passive",{get:function(){Ve=!0}}),window.addEventListener("test",Be,Be),window.removeEventListener("test",Be,Be)}catch(ge){Ve=!1}function $e(e,n,t,r,a,o,l,u,i){var s=Array.prototype.slice.call(arguments,3);try{n.apply(t,s)}catch(e){this.onError(e)}}var He=!1,We=null,qe=!1,Qe=null,Ye={onError:function(e){He=!0,We=e}};function Ke(e,n,t,r,a,o,l,u,i){He=!1,We=null,$e.apply(Ye,arguments)}function Ge(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do{0!=(1026&(n=e).flags)&&(t=n.return),e=n.return}while(e)}return 3===n.tag?t:null}function Xe(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 Je(e){if(Ge(e)!==e)throw Error(l(188))}function Ze(e){if(!(e=function(e){var n=e.alternate;if(!n){if(null===(n=Ge(e)))throw Error(l(188));return n!==e?null:e}for(var t=e,r=n;;){var a=t.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){t=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===t)return Je(a),e;if(o===r)return Je(a),n;o=o.sibling}throw Error(l(188))}if(t.return!==r.return)t=a,r=o;else{for(var u=!1,i=a.child;i;){if(i===t){u=!0,t=a,r=o;break}if(i===r){u=!0,r=a,t=o;break}i=i.sibling}if(!u){for(i=o.child;i;){if(i===t){u=!0,t=o,r=a;break}if(i===r){u=!0,r=o,t=a;break}i=i.sibling}if(!u)throw Error(l(189))}}if(t.alternate!==r)throw Error(l(190))}if(3!==t.tag)throw Error(l(188));return t.stateNode.current===t?e:n}(e)))return null;for(var n=e;;){if(5===n.tag||6===n.tag)return n;if(n.child)n.child.return=n,n=n.child;else{if(n===e)break;for(;!n.sibling;){if(!n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}function en(e,n){for(var t=e.alternate;null!==n;){if(n===e||n===t)return!0;n=n.return}return!1}var nn,tn,rn,an,on=!1,ln=[],un=null,sn=null,cn=null,fn=new Map,dn=new Map,pn=[],mn="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 hn(e,n,t,r,a){return{blockedOn:e,domEventName:n,eventSystemFlags:16|t,nativeEvent:a,targetContainers:[r]}}function gn(e,n){switch(e){case"focusin":case"focusout":un=null;break;case"dragenter":case"dragleave":sn=null;break;case"mouseover":case"mouseout":cn=null;break;case"pointerover":case"pointerout":fn.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":dn.delete(n.pointerId)}}function bn(e,n,t,r,a,o){return null===e||e.nativeEvent!==o?(e=hn(n,t,r,a,o),null!==n&&(null!==(n=ea(n))&&tn(n)),e):(e.eventSystemFlags|=r,n=e.targetContainers,null!==a&&-1===n.indexOf(a)&&n.push(a),e)}function vn(e){var n=Zr(e.target);if(null!==n){var t=Ge(n);if(null!==t)if(13===(n=t.tag)){if(null!==(n=Xe(t)))return e.blockedOn=n,void an(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){rn(t)}))}))}else if(3===n&&t.stateNode.hydrate)return void(e.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}e.blockedOn=null}function yn(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=et(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=ea(t))&&tn(n),e.blockedOn=t,!1;n.shift()}return!0}function wn(e,n,t){yn(e)&&t.delete(n)}function kn(){for(on=!1;0<ln.length;){var e=ln[0];if(null!==e.blockedOn){null!==(e=ea(e.blockedOn))&&nn(e);break}for(var n=e.targetContainers;0<n.length;){var t=et(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t){e.blockedOn=t;break}n.shift()}null===e.blockedOn&&ln.shift()}null!==un&&yn(un)&&(un=null),null!==sn&&yn(sn)&&(sn=null),null!==cn&&yn(cn)&&(cn=null),fn.forEach(wn),dn.forEach(wn)}function xn(e,n){e.blockedOn===n&&(e.blockedOn=null,on||(on=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,kn)))}function En(e){function n(n){return xn(n,e)}if(0<ln.length){xn(ln[0],e);for(var t=1;t<ln.length;t++){var r=ln[t];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==un&&xn(un,e),null!==sn&&xn(sn,e),null!==cn&&xn(cn,e),fn.forEach(n),dn.forEach(n),t=0;t<pn.length;t++)(r=pn[t]).blockedOn===e&&(r.blockedOn=null);for(;0<pn.length&&null===(t=pn[0]).blockedOn;)vn(t),null===t.blockedOn&&pn.shift()}function Sn(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var _n={animationend:Sn("Animation","AnimationEnd"),animationiteration:Sn("Animation","AnimationIteration"),animationstart:Sn("Animation","AnimationStart"),transitionend:Sn("Transition","TransitionEnd")},Cn={},Nn={};function Tn(e){if(Cn[e])return Cn[e];if(!_n[e])return e;var n,t=_n[e];for(n in t)if(t.hasOwnProperty(n)&&n in Nn)return Cn[e]=t[n];return e}f&&(Nn=document.createElement("div").style,"AnimationEvent"in window||(delete _n.animationend.animation,delete _n.animationiteration.animation,delete _n.animationstart.animation),"TransitionEvent"in window||delete _n.transitionend.transition);var Pn=Tn("animationend"),On=Tn("animationiteration"),Rn=Tn("animationstart"),zn=Tn("transitionend"),jn=new Map,Ln=new Map,In=["abort","abort",Pn,"animationEnd",On,"animationIteration",Rn,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",zn,"transitionEnd","waiting","waiting"];function Mn(e,n){for(var t=0;t<e.length;t+=2){var r=e[t],a=e[t+1];a="on"+(a[0].toUpperCase()+a.slice(1)),Ln.set(r,n),jn.set(r,a),s(a,[r])}}(0,o.unstable_now)();var Fn=8;function Un(e){if(0!=(1&e))return Fn=15,1;if(0!=(2&e))return Fn=14,2;if(0!=(4&e))return Fn=13,4;var n=24&e;return 0!==n?(Fn=12,n):0!=(32&e)?(Fn=11,32):0!==(n=192&e)?(Fn=10,n):0!=(256&e)?(Fn=9,256):0!==(n=3584&e)?(Fn=8,n):0!=(4096&e)?(Fn=7,4096):0!==(n=4186112&e)?(Fn=6,n):0!==(n=62914560&e)?(Fn=5,n):67108864&e?(Fn=4,67108864):0!=(134217728&e)?(Fn=3,134217728):0!==(n=805306368&e)?(Fn=2,n):0!=(1073741824&e)?(Fn=1,1073741824):(Fn=8,e)}function An(e,n){var t=e.pendingLanes;if(0===t)return Fn=0;var r=0,a=0,o=e.expiredLanes,l=e.suspendedLanes,u=e.pingedLanes;if(0!==o)r=o,a=Fn=15;else if(0!==(o=134217727&t)){var i=o&~l;0!==i?(r=Un(i),a=Fn):0!==(u&=o)&&(r=Un(u),a=Fn)}else 0!==(o=t&~l)?(r=Un(o),a=Fn):0!==u&&(r=Un(u),a=Fn);if(0===r)return 0;if(r=t&((0>(r=31-Wn(r))?0:1<<r)<<1)-1,0!==n&&n!==r&&0==(n&l)){if(Un(n),a<=Fn)return n;Fn=a}if(0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)a=1<<(t=31-Wn(n)),r|=e[t],n&=~a;return r}function Dn(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Vn(e,n){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Bn(24&~n))?Vn(10,n):e;case 10:return 0===(e=Bn(192&~n))?Vn(8,n):e;case 8:return 0===(e=Bn(3584&~n))&&(0===(e=Bn(4186112&~n))&&(e=512)),e;case 2:return 0===(n=Bn(805306368&~n))&&(n=268435456),n}throw Error(l(358,e))}function Bn(e){return e&-e}function $n(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function Hn(e,n,t){e.pendingLanes|=n;var r=n-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[n=31-Wn(n)]=t}var Wn=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(qn(e)/Qn|0)|0},qn=Math.log,Qn=Math.LN2;var Yn=o.unstable_UserBlockingPriority,Kn=o.unstable_runWithPriority,Gn=!0;function Xn(e,n,t,r){Fe||Ie();var a=Zn,o=Fe;Fe=!0;try{Le(a,e,n,t,r)}finally{(Fe=o)||Ae()}}function Jn(e,n,t,r){Kn(Yn,Zn.bind(null,e,n,t,r))}function Zn(e,n,t,r){var a;if(Gn)if((a=0==(4&n))&&0<ln.length&&-1<mn.indexOf(e))e=hn(null,e,n,t,r),ln.push(e);else{var o=et(e,n,t,r);if(null===o)a&&gn(e,r);else{if(a){if(-1<mn.indexOf(e))return e=hn(o,e,n,t,r),void ln.push(e);if(function(e,n,t,r,a){switch(n){case"focusin":return un=bn(un,e,n,t,r,a),!0;case"dragenter":return sn=bn(sn,e,n,t,r,a),!0;case"mouseover":return cn=bn(cn,e,n,t,r,a),!0;case"pointerover":var o=a.pointerId;return fn.set(o,bn(fn.get(o)||null,e,n,t,r,a)),!0;case"gotpointercapture":return o=a.pointerId,dn.set(o,bn(dn.get(o)||null,e,n,t,r,a)),!0}return!1}(o,e,n,t,r))return;gn(e,r)}zr(e,n,r,null,t)}}}function et(e,n,t,r){var a=Ce(r);if(null!==(a=Zr(a))){var o=Ge(a);if(null===o)a=null;else{var l=o.tag;if(13===l){if(null!==(a=Xe(o)))return a;a=null}else if(3===l){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null)}}return zr(e,n,r,a,t),null}var nt=null,tt=null,rt=null;function at(){if(rt)return rt;var e,n,t=tt,r=t.length,a="value"in nt?nt.value:nt.textContent,o=a.length;for(e=0;e<r&&t[e]===a[e];e++);var l=r-e;for(n=1;n<=l&&t[r-n]===a[o-n];n++);return rt=a.slice(e,1<n?1-n:void 0)}function ot(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 lt(){return!0}function ut(){return!1}function it(e){function n(n,t,r,a,o){for(var l in this._reactName=n,this._targetInst=r,this.type=t,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(a):a[l]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?lt:ut,this.isPropagationStopped=ut,this}return a(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=lt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=lt)},persist:function(){},isPersistent:lt}),n}var st,ct,ft,dt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pt=it(dt),mt=a({},dt,{view:0,detail:0}),ht=it(mt),gt=a({},mt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nt,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!==ft&&(ft&&"mousemove"===e.type?(st=e.screenX-ft.screenX,ct=e.screenY-ft.screenY):ct=st=0,ft=e),st)},movementY:function(e){return"movementY"in e?e.movementY:ct}}),bt=it(gt),vt=it(a({},gt,{dataTransfer:0})),yt=it(a({},mt,{relatedTarget:0})),wt=it(a({},dt,{animationName:0,elapsedTime:0,pseudoElement:0})),kt=it(a({},dt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),xt=it(a({},dt,{data:0})),Et={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},St={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"},_t={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ct(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=_t[e])&&!!n[e]}function Nt(){return Ct}var Tt=it(a({},mt,{key:function(e){if(e.key){var n=Et[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=ot(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?St[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nt,charCode:function(e){return"keypress"===e.type?ot(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ot(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Pt=it(a({},gt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ot=it(a({},mt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nt})),Rt=it(a({},dt,{propertyName:0,elapsedTime:0,pseudoElement:0})),zt=it(a({},gt,{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})),jt=[9,13,27,32],Lt=f&&"CompositionEvent"in window,It=null;f&&"documentMode"in document&&(It=document.documentMode);var Mt=f&&"TextEvent"in window&&!It,Ft=f&&(!Lt||It&&8<It&&11>=It),Ut=String.fromCharCode(32),At=!1;function Dt(e,n){switch(e){case"keyup":return-1!==jt.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vt(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Bt=!1;var $t={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 Ht(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!$t[e.type]:"textarea"===n}function Wt(e,n,t,r){Re(r),0<(n=Lr(n,"onChange")).length&&(t=new pt("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var qt=null,Qt=null;function Yt(e){Cr(e,0)}function Kt(e){if(X(na(e)))return e}function Gt(e,n){if("change"===e)return n}var Xt=!1;if(f){var Jt;if(f){var Zt="oninput"in document;if(!Zt){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zt="function"==typeof er.oninput}Jt=Zt}else Jt=!1;Xt=Jt&&(!document.documentMode||9<document.documentMode)}function nr(){qt&&(qt.detachEvent("onpropertychange",tr),Qt=qt=null)}function tr(e){if("value"===e.propertyName&&Kt(Qt)){var n=[];if(Wt(n,Qt,e,Ce(e)),e=Yt,Fe)e(n);else{Fe=!0;try{je(e,n)}finally{Fe=!1,Ae()}}}}function rr(e,n,t){"focusin"===e?(nr(),Qt=t,(qt=n).attachEvent("onpropertychange",tr)):"focusout"===e&&nr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kt(Qt)}function or(e,n){if("click"===e)return Kt(n)}function lr(e,n){if("input"===e||"change"===e)return Kt(n)}var ur="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n},ir=Object.prototype.hasOwnProperty;function sr(e,n){if(ur(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++)if(!ir.call(n,t[r])||!ur(e[t[r]],n[t[r]]))return!1;return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fr(e,n){var t,r=cr(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=cr(r)}}function dr(e,n){return!(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?dr(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function pr(){for(var e=window,n=J();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(e){t=!1}if(!t)break;n=J((e=n.contentWindow).document)}return n}function mr(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)}var hr=f&&"documentMode"in document&&11>=document.documentMode,gr=null,br=null,vr=null,yr=!1;function wr(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;yr||null==gr||gr!==J(r)||("selectionStart"in(r=gr)&&mr(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},vr&&sr(vr,r)||(vr=r,0<(r=Lr(br,"onSelect")).length&&(n=new pt("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=gr)))}Mn("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Mn("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Mn(In,2);for(var kr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),xr=0;xr<kr.length;xr++)Ln.set(kr[xr],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Er="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Sr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Er));function _r(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,function(e,n,t,r,a,o,u,i,s){if(Ke.apply(this,arguments),He){if(!He)throw Error(l(198));var c=We;He=!1,We=null,qe||(qe=!0,Qe=c)}}(r,n,void 0,e),e.currentTarget=null}function Cr(e,n){n=0!=(4&n);for(var t=0;t<e.length;t++){var r=e[t],a=r.event;r=r.listeners;e:{var o=void 0;if(n)for(var l=r.length-1;0<=l;l--){var u=r[l],i=u.instance,s=u.currentTarget;if(u=u.listener,i!==o&&a.isPropagationStopped())break e;_r(a,u,s),o=i}else for(l=0;l<r.length;l++){if(i=(u=r[l]).instance,s=u.currentTarget,u=u.listener,i!==o&&a.isPropagationStopped())break e;_r(a,u,s),o=i}}}if(qe)throw e=Qe,qe=!1,Qe=null,e}function Nr(e,n){var t=ra(n),r=e+"__bubble";t.has(r)||(Rr(n,e,2,!1),t.add(r))}var Tr="_reactListening"+Math.random().toString(36).slice(2);function Pr(e){e[Tr]||(e[Tr]=!0,u.forEach((function(n){Sr.has(n)||Or(n,!1,e,null),Or(n,!0,e,null)})))}function Or(e,n,t,r){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=t;if("selectionchange"===e&&9!==t.nodeType&&(o=t.ownerDocument),null!==r&&!n&&Sr.has(e)){if("scroll"!==e)return;a|=2,o=r}var l=ra(o),u=e+"__"+(n?"capture":"bubble");l.has(u)||(n&&(a|=4),Rr(o,e,a,n),l.add(u))}function Rr(e,n,t,r){var a=Ln.get(n);switch(void 0===a?2:a){case 0:a=Xn;break;case 1:a=Jn;break;default:a=Zn}t=a.bind(null,n,t,e),a=void 0,!Ve||"touchstart"!==n&&"touchmove"!==n&&"wheel"!==n||(a=!0),r?void 0!==a?e.addEventListener(n,t,{capture:!0,passive:a}):e.addEventListener(n,t,!0):void 0!==a?e.addEventListener(n,t,{passive:a}):e.addEventListener(n,t,!1)}function zr(e,n,t,r,a){var o=r;if(0==(1&n)&&0==(2&n)&&null!==r)e:for(;;){if(null===r)return;var l=r.tag;if(3===l||4===l){var u=r.stateNode.containerInfo;if(u===a||8===u.nodeType&&u.parentNode===a)break;if(4===l)for(l=r.return;null!==l;){var i=l.tag;if((3===i||4===i)&&((i=l.stateNode.containerInfo)===a||8===i.nodeType&&i.parentNode===a))return;l=l.return}for(;null!==u;){if(null===(l=Zr(u)))return;if(5===(i=l.tag)||6===i){r=o=l;continue e}u=u.parentNode}}r=r.return}!function(e,n,t){if(Ue)return e(n,t);Ue=!0;try{Me(e,n,t)}finally{Ue=!1,Ae()}}((function(){var r=o,a=Ce(t),l=[];e:{var u=jn.get(e);if(void 0!==u){var i=pt,s=e;switch(e){case"keypress":if(0===ot(t))break e;case"keydown":case"keyup":i=Tt;break;case"focusin":s="focus",i=yt;break;case"focusout":s="blur",i=yt;break;case"beforeblur":case"afterblur":i=yt;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=bt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":i=vt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":i=Ot;break;case Pn:case On:case Rn:i=wt;break;case zn:i=Rt;break;case"scroll":i=ht;break;case"wheel":i=zt;break;case"copy":case"cut":case"paste":i=kt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":i=Pt}var c=0!=(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=De(m,d))&&c.push(jr(m,h,p)))),f)break;m=m.return}0<c.length&&(u=new i(u,s,null,t,a),l.push({event:u,listeners:c}))}}if(0==(7&n)){if(i="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||0!=(16&n)||!(s=t.relatedTarget||t.fromElement)||!Zr(s)&&!s[Xr])&&(i||u)&&(u=a.window===a?a:(u=a.ownerDocument)?u.defaultView||u.parentWindow:window,i?(i=r,null!==(s=(s=t.relatedTarget||t.toElement)?Zr(s):null)&&(s!==(f=Ge(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(i=null,s=r),i!==s)){if(c=bt,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Pt,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==i?u:na(i),p=null==s?u:na(s),(u=new c(h,m+"leave",i,t,a)).target=f,u.relatedTarget=p,h=null,Zr(a)===r&&((c=new c(d,m+"enter",s,t,a)).target=p,c.relatedTarget=f,h=c),f=h,i&&s)e:{for(d=s,m=0,p=c=i;p;p=Ir(p))m++;for(p=0,h=d;h;h=Ir(h))p++;for(;0<m-p;)c=Ir(c),m--;for(;0<p-m;)d=Ir(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=Ir(c),d=Ir(d)}c=null}else c=null;null!==i&&Mr(l,u,i,c,!1),null!==s&&null!==f&&Mr(l,f,s,c,!0)}if("select"===(i=(u=r?na(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===i&&"file"===u.type)var g=Gt;else if(Ht(u))if(Xt)g=lr;else{g=ar;var b=rr}else(i=u.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(g=or);switch(g&&(g=g(e,r))?Wt(l,g,t,a):(b&&b(e,u,r),"focusout"===e&&(b=u._wrapperState)&&b.controlled&&"number"===u.type&&ae(u,"number",u.value)),b=r?na(r):window,e){case"focusin":(Ht(b)||"true"===b.contentEditable)&&(gr=b,br=r,vr=null);break;case"focusout":vr=br=gr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,wr(l,t,a);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":wr(l,t,a)}var v;if(Lt)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Bt?Dt(e,t)&&(y="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(y="onCompositionStart");y&&(Ft&&"ko"!==t.locale&&(Bt||"onCompositionStart"!==y?"onCompositionEnd"===y&&Bt&&(v=at()):(tt="value"in(nt=a)?nt.value:nt.textContent,Bt=!0)),0<(b=Lr(r,y)).length&&(y=new xt(y,e,null,t,a),l.push({event:y,listeners:b}),v?y.data=v:null!==(v=Vt(t))&&(y.data=v))),(v=Mt?function(e,n){switch(e){case"compositionend":return Vt(n);case"keypress":return 32!==n.which?null:(At=!0,Ut);case"textInput":return(e=n.data)===Ut&&At?null:e;default:return null}}(e,t):function(e,n){if(Bt)return"compositionend"===e||!Lt&&Dt(e,n)?(e=at(),rt=tt=nt=null,Bt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Ft&&"ko"!==n.locale?null:n.data;default:return null}}(e,t))&&(0<(r=Lr(r,"onBeforeInput")).length&&(a=new xt("onBeforeInput","beforeinput",null,t,a),l.push({event:a,listeners:r}),a.data=v))}Cr(l,n)}))}function jr(e,n,t){return{instance:e,listener:n,currentTarget:t}}function Lr(e,n){for(var t=n+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=De(e,t))&&r.unshift(jr(e,o,a)),null!=(o=De(e,n))&&r.push(jr(e,o,a))),e=e.return}return r}function Ir(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Mr(e,n,t,r,a){for(var o=n._reactName,l=[];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,a?null!=(i=De(t,o))&&l.unshift(jr(t,i,u)):a||null!=(i=De(t,o))&&l.push(jr(t,i,u))),t=t.return}0!==l.length&&e.push({event:n,listeners:l})}function Fr(){}var Ur=null,Ar=null;function Dr(e,n){switch(e){case"button":case"input":case"select":case"textarea":return!!n.autoFocus}return!1}function Vr(e,n){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}var Br="function"==typeof setTimeout?setTimeout:void 0,$r="function"==typeof clearTimeout?clearTimeout:void 0;function Hr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Wr(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break}return e}function qr(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 Qr=0;var Yr=Math.random().toString(36).slice(2),Kr="__reactFiber$"+Yr,Gr="__reactProps$"+Yr,Xr="__reactContainer$"+Yr,Jr="__reactEvents$"+Yr;function Zr(e){var n=e[Kr];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Xr]||t[Kr]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=qr(e);null!==e;){if(t=e[Kr])return t;e=qr(e)}return n}t=(e=t).parentNode}return null}function ea(e){return!(e=e[Kr]||e[Xr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function na(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(l(33))}function ta(e){return e[Gr]||null}function ra(e){var n=e[Jr];return void 0===n&&(n=e[Jr]=new Set),n}var aa=[],oa=-1;function la(e){return{current:e}}function ua(e){0>oa||(e.current=aa[oa],aa[oa]=null,oa--)}function ia(e,n){oa++,aa[oa]=e.current,e.current=n}var sa={},ca=la(sa),fa=la(!1),da=sa;function pa(e,n){var t=e.type.contextTypes;if(!t)return sa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in t)o[a]=n[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=o),o}function ma(e){return null!=(e=e.childContextTypes)}function ha(){ua(fa),ua(ca)}function ga(e,n,t){if(ca.current!==sa)throw Error(l(168));ia(ca,n),ia(fa,t)}function ba(e,n,t){var r=e.stateNode;if(e=n.childContextTypes,"function"!=typeof r.getChildContext)return t;for(var o in r=r.getChildContext())if(!(o in e))throw Error(l(108,Q(n)||"Unknown",o));return a({},t,r)}function va(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sa,da=ca.current,ia(ca,e),ia(fa,fa.current),!0}function ya(e,n,t){var r=e.stateNode;if(!r)throw Error(l(169));t?(e=ba(e,n,da),r.__reactInternalMemoizedMergedChildContext=e,ua(fa),ua(ca),ia(ca,e)):ua(fa),ia(fa,t)}var wa=null,ka=null,xa=o.unstable_runWithPriority,Ea=o.unstable_scheduleCallback,Sa=o.unstable_cancelCallback,_a=o.unstable_shouldYield,Ca=o.unstable_requestPaint,Na=o.unstable_now,Ta=o.unstable_getCurrentPriorityLevel,Pa=o.unstable_ImmediatePriority,Oa=o.unstable_UserBlockingPriority,Ra=o.unstable_NormalPriority,za=o.unstable_LowPriority,ja=o.unstable_IdlePriority,La={},Ia=void 0!==Ca?Ca:function(){},Ma=null,Fa=null,Ua=!1,Aa=Na(),Da=1e4>Aa?Na:function(){return Na()-Aa};function Va(){switch(Ta()){case Pa:return 99;case Oa:return 98;case Ra:return 97;case za:return 96;case ja:return 95;default:throw Error(l(332))}}function Ba(e){switch(e){case 99:return Pa;case 98:return Oa;case 97:return Ra;case 96:return za;case 95:return ja;default:throw Error(l(332))}}function $a(e,n){return e=Ba(e),xa(e,n)}function Ha(e,n,t){return e=Ba(e),Ea(e,n,t)}function Wa(){if(null!==Fa){var e=Fa;Fa=null,Sa(e)}qa()}function qa(){if(!Ua&&null!==Ma){Ua=!0;var e=0;try{var n=Ma;$a(99,(function(){for(;e<n.length;e++){var t=n[e];do{t=t(!0)}while(null!==t)}})),Ma=null}catch(n){throw null!==Ma&&(Ma=Ma.slice(e+1)),Ea(Pa,Wa),n}finally{Ua=!1}}}var Qa=k.ReactCurrentBatchConfig;function Ya(e,n){if(e&&e.defaultProps){for(var t in n=a({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}return n}var Ka=la(null),Ga=null,Xa=null,Ja=null;function Za(){Ja=Xa=Ga=null}function eo(e){var n=Ka.current;ua(Ka),e.type._context._currentValue=n}function no(e,n){for(;null!==e;){var t=e.alternate;if((e.childLanes&n)===n){if(null===t||(t.childLanes&n)===n)break;t.childLanes|=n}else e.childLanes|=n,null!==t&&(t.childLanes|=n);e=e.return}}function to(e,n){Ga=e,Ja=Xa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&n)&&(Ll=!0),e.firstContext=null)}function ro(e,n){if(Ja!==e&&!1!==n&&0!==n)if("number"==typeof n&&1073741823!==n||(Ja=e,n=1073741823),n={context:e,observedBits:n,next:null},null===Xa){if(null===Ga)throw Error(l(308));Xa=n,Ga.dependencies={lanes:0,firstContext:n,responders:null}}else Xa=Xa.next=n;return e._currentValue}var ao=!1;function oo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function lo(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 io(e,n){if(null!==(e=e.updateQueue)){var t=(e=e.shared).pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}}function so(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var a=null,o=null;if(null!==(t=t.firstBaseUpdate)){do{var l={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===o?a=o=l:o=o.next=l,t=t.next}while(null!==t);null===o?a=o=n:o=o.next=n}else a=o=n;return t={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=t)}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function co(e,n,t,r){var o=e.updateQueue;ao=!1;var l=o.firstBaseUpdate,u=o.lastBaseUpdate,i=o.shared.pending;if(null!==i){o.shared.pending=null;var s=i,c=s.next;s.next=null,null===u?l=c:u.next=c,u=s;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==u&&(null===d?f.firstBaseUpdate=c:d.next=c,f.lastBaseUpdate=s)}}if(null!==l){for(d=o.baseState,u=0,f=c=s=null;;){i=l.lane;var p=l.eventTime;if((r&i)===i){null!==f&&(f=f.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,h=l;switch(i=n,p=t,h.tag){case 1:if("function"==typeof(m=h.payload)){d=m.call(p,d,i);break e}d=m;break e;case 3:m.flags=-4097&m.flags|64;case 0:if(null==(i="function"==typeof(m=h.payload)?m.call(p,d,i):m))break e;d=a({},d,i);break e;case 2:ao=!0}}null!==l.callback&&(e.flags|=32,null===(i=o.effects)?o.effects=[l]:i.push(l))}else p={eventTime:p,lane:i,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===f?(c=f=p,s=d):f=f.next=p,u|=i;if(null===(l=l.next)){if(null===(i=o.shared.pending))break;l=i.next,i.next=null,o.lastBaseUpdate=i,o.shared.pending=null}}null===f&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=f,Uu|=u,e.lanes=u,e.memoizedState=d}}function fo(e,n,t){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var r=e[n],a=r.callback;if(null!==a){if(r.callback=null,r=t,"function"!=typeof a)throw Error(l(191,a));a.call(r)}}}var po=(new r.Component).refs;function mo(e,n,t,r){t=null==(t=t(r,n=e.memoizedState))?n:a({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}var ho={isMounted:function(e){return!!(e=e._reactInternals)&&Ge(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=si(),a=ci(e),o=uo(r,a);o.payload=n,null!=t&&(o.callback=t),io(e,o),fi(e,a,r)},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=si(),a=ci(e),o=uo(r,a);o.tag=1,o.payload=n,null!=t&&(o.callback=t),io(e,o),fi(e,a,r)},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=si(),r=ci(e),a=uo(t,r);a.tag=2,null!=n&&(a.callback=n),io(e,a),fi(e,r,t)}};function go(e,n,t,r,a,o,l){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,l):!n.prototype||!n.prototype.isPureReactComponent||(!sr(t,r)||!sr(a,o))}function bo(e,n,t){var r=!1,a=sa,o=n.contextType;return"object"==typeof o&&null!==o?o=ro(o):(a=ma(n)?da:ca.current,o=(r=null!=(r=n.contextTypes))?pa(e,a):sa),n=new n(t,o),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=ho,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),n}function vo(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&&ho.enqueueReplaceState(n,n.state,null)}function yo(e,n,t,r){var a=e.stateNode;a.props=t,a.state=e.memoizedState,a.refs=po,oo(e);var o=n.contextType;"object"==typeof o&&null!==o?a.context=ro(o):(o=ma(n)?da:ca.current,a.context=pa(e,o)),co(e,t,a,r),a.state=e.memoizedState,"function"==typeof(o=n.getDerivedStateFromProps)&&(mo(e,n,o,t),a.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(n=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),n!==a.state&&ho.enqueueReplaceState(a,a.state,null),co(e,t,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4)}var wo=Array.isArray;function ko(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(l(309));var r=t.stateNode}if(!r)throw Error(l(147,e));var a=""+e;return null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===a?n.ref:((n=function(e){var n=r.refs;n===po&&(n=r.refs={}),null===e?delete n[a]:n[a]=e})._stringRef=a,n)}if("string"!=typeof e)throw Error(l(284));if(!t._owner)throw Error(l(290,e))}return e}function xo(e,n){if("textarea"!==e.type)throw Error(l(31,"[object Object]"===Object.prototype.toString.call(n)?"object with keys {"+Object.keys(n).join(", ")+"}":n))}function Eo(e){function n(n,t){if(e){var r=n.lastEffect;null!==r?(r.nextEffect=t,n.lastEffect=t):n.firstEffect=n.lastEffect=t,t.nextEffect=null,t.flags=8}}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 a(e,n){return(e=$i(e,n)).index=0,e.sibling=null,e}function o(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):t}function u(n){return e&&null===n.alternate&&(n.flags=2),n}function i(e,n,t,r){return null===n||6!==n.tag?((n=Qi(t,e.mode,r)).return=e,n):((n=a(n,t)).return=e,n)}function s(e,n,t,r){return null!==n&&n.elementType===t.type?((r=a(n,t.props)).ref=ko(e,n,t),r.return=e,r):((r=Hi(t.type,t.key,t.props,null,e.mode,r)).ref=ko(e,n,t),r.return=e,r)}function c(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=Yi(t,e.mode,r)).return=e,n):((n=a(n,t.children||[])).return=e,n)}function f(e,n,t,r,o){return null===n||7!==n.tag?((n=Wi(t,e.mode,r,o)).return=e,n):((n=a(n,t)).return=e,n)}function d(e,n,t){if("string"==typeof n||"number"==typeof n)return(n=Qi(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return(t=Hi(n.type,n.key,n.props,null,e.mode,t)).ref=ko(e,null,n),t.return=e,t;case E:return(n=Yi(n,e.mode,t)).return=e,n}if(wo(n)||B(n))return(n=Wi(n,e.mode,t,null)).return=e,n;xo(e,n)}return null}function p(e,n,t,r){var a=null!==n?n.key:null;if("string"==typeof t||"number"==typeof t)return null!==a?null:i(e,n,""+t,r);if("object"==typeof t&&null!==t){switch(t.$$typeof){case x:return t.key===a?t.type===S?f(e,n,t.props.children,r,a):s(e,n,t,r):null;case E:return t.key===a?c(e,n,t,r):null}if(wo(t)||B(t))return null!==a?null:f(e,n,t,r,null);xo(e,t)}return null}function m(e,n,t,r,a){if("string"==typeof r||"number"==typeof r)return i(n,e=e.get(t)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return e=e.get(null===r.key?t:r.key)||null,r.type===S?f(n,e,r.props.children,a,r.key):s(n,e,r,a);case E:return c(n,e=e.get(null===r.key?t:r.key)||null,r,a)}if(wo(r)||B(r))return f(n,e=e.get(t)||null,r,a,null);xo(n,r)}return null}function h(a,l,u,i){for(var s=null,c=null,f=l,h=l=0,g=null;null!==f&&h<u.length;h++){f.index>h?(g=f,f=null):g=f.sibling;var b=p(a,f,u[h],i);if(null===b){null===f&&(f=g);break}e&&f&&null===b.alternate&&n(a,f),l=o(b,l,h),null===c?s=b:c.sibling=b,c=b,f=g}if(h===u.length)return t(a,f),s;if(null===f){for(;h<u.length;h++)null!==(f=d(a,u[h],i))&&(l=o(f,l,h),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(a,f);h<u.length;h++)null!==(g=m(f,a,h,u[h],i))&&(e&&null!==g.alternate&&f.delete(null===g.key?h:g.key),l=o(g,l,h),null===c?s=g:c.sibling=g,c=g);return e&&f.forEach((function(e){return n(a,e)})),s}function g(a,u,i,s){var c=B(i);if("function"!=typeof c)throw Error(l(150));if(null==(i=c.call(i)))throw Error(l(151));for(var f=c=null,h=u,g=u=0,b=null,v=i.next();null!==h&&!v.done;g++,v=i.next()){h.index>g?(b=h,h=null):b=h.sibling;var y=p(a,h,v.value,s);if(null===y){null===h&&(h=b);break}e&&h&&null===y.alternate&&n(a,h),u=o(y,u,g),null===f?c=y:f.sibling=y,f=y,h=b}if(v.done)return t(a,h),c;if(null===h){for(;!v.done;g++,v=i.next())null!==(v=d(a,v.value,s))&&(u=o(v,u,g),null===f?c=v:f.sibling=v,f=v);return c}for(h=r(a,h);!v.done;g++,v=i.next())null!==(v=m(h,a,g,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?g:v.key),u=o(v,u,g),null===f?c=v:f.sibling=v,f=v);return e&&h.forEach((function(e){return n(a,e)})),c}return function(e,r,o,i){var s="object"==typeof o&&null!==o&&o.type===S&&null===o.key;s&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case x:e:{for(c=o.key,s=r;null!==s;){if(s.key===c){switch(s.tag){case 7:if(o.type===S){t(e,s.sibling),(r=a(s,o.props.children)).return=e,e=r;break e}break;default:if(s.elementType===o.type){t(e,s.sibling),(r=a(s,o.props)).ref=ko(e,s,o),r.return=e,e=r;break e}}t(e,s);break}n(e,s),s=s.sibling}o.type===S?((r=Wi(o.props.children,e.mode,i,o.key)).return=e,e=r):((i=Hi(o.type,o.key,o.props,null,e.mode,i)).ref=ko(e,r,o),i.return=e,e=i)}return u(e);case E:e:{for(s=o.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){t(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}t(e,r);break}n(e,r),r=r.sibling}(r=Yi(o,e.mode,i)).return=e,e=r}return u(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(t(e,r.sibling),(r=a(r,o)).return=e,e=r):(t(e,r),(r=Qi(o,e.mode,i)).return=e,e=r),u(e);if(wo(o))return h(e,r,o,i);if(B(o))return g(e,r,o,i);if(c&&xo(e,o),void 0===o&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(l(152,Q(e.type)||"Component"))}return t(e,r)}}var So=Eo(!0),_o=Eo(!1),Co={},No=la(Co),To=la(Co),Po=la(Co);function Oo(e){if(e===Co)throw Error(l(174));return e}function Ro(e,n){switch(ia(Po,n),ia(To,e),ia(No,Co),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:me(null,"");break;default:n=me(n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName)}ua(No),ia(No,n)}function zo(){ua(No),ua(To),ua(Po)}function jo(e){Oo(Po.current);var n=Oo(No.current),t=me(n,e.type);n!==t&&(ia(To,e),ia(No,t))}function Lo(e){To.current===e&&(ua(No),ua(To))}var Io=la(0);function Mo(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(0!=(64&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 Fo=null,Uo=null,Ao=!1;function Do(e,n){var t=Vi(5,null,null,0);t.elementType="DELETED",t.type="DELETED",t.stateNode=n,t.return=e,t.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=t,e.lastEffect=t):e.firstEffect=e.lastEffect=t}function Vo(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,!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,!0);case 13:default:return!1}}function Bo(e){if(Ao){var n=Uo;if(n){var t=n;if(!Vo(e,n)){if(!(n=Wr(t.nextSibling))||!Vo(e,n))return e.flags=-1025&e.flags|2,Ao=!1,void(Fo=e);Do(Fo,t)}Fo=e,Uo=Wr(n.firstChild)}else e.flags=-1025&e.flags|2,Ao=!1,Fo=e}}function $o(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Fo=e}function Ho(e){if(e!==Fo)return!1;if(!Ao)return $o(e),Ao=!0,!1;var n=e.type;if(5!==e.tag||"head"!==n&&"body"!==n&&!Vr(n,e.memoizedProps))for(n=Uo;n;)Do(e,n),n=Wr(n.nextSibling);if($o(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType){var t=e.data;if("/$"===t){if(0===n){Uo=Wr(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++}e=e.nextSibling}Uo=null}}else Uo=Fo?Wr(e.stateNode.nextSibling):null;return!0}function Wo(){Uo=Fo=null,Ao=!1}var qo=[];function Qo(){for(var e=0;e<qo.length;e++)qo[e]._workInProgressVersionPrimary=null;qo.length=0}var Yo=k.ReactCurrentDispatcher,Ko=k.ReactCurrentBatchConfig,Go=0,Xo=null,Jo=null,Zo=null,el=!1,nl=!1;function tl(){throw Error(l(321))}function rl(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!ur(e[t],n[t]))return!1;return!0}function al(e,n,t,r,a,o){if(Go=o,Xo=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Yo.current=null===e||null===e.memoizedState?Ol:Rl,e=t(r,a),nl){o=0;do{if(nl=!1,!(25>o))throw Error(l(301));o+=1,Zo=Jo=null,n.updateQueue=null,Yo.current=zl,e=t(r,a)}while(nl)}if(Yo.current=Pl,n=null!==Jo&&null!==Jo.next,Go=0,Zo=Jo=Xo=null,el=!1,n)throw Error(l(300));return e}function ol(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Zo?Xo.memoizedState=Zo=e:Zo=Zo.next=e,Zo}function ll(){if(null===Jo){var e=Xo.alternate;e=null!==e?e.memoizedState:null}else e=Jo.next;var n=null===Zo?Xo.memoizedState:Zo.next;if(null!==n)Zo=n,Jo=e;else{if(null===e)throw Error(l(310));e={memoizedState:(Jo=e).memoizedState,baseState:Jo.baseState,baseQueue:Jo.baseQueue,queue:Jo.queue,next:null},null===Zo?Xo.memoizedState=Zo=e:Zo=Zo.next=e}return Zo}function ul(e,n){return"function"==typeof n?n(e):n}function il(e){var n=ll(),t=n.queue;if(null===t)throw Error(l(311));t.lastRenderedReducer=e;var r=Jo,a=r.baseQueue,o=t.pending;if(null!==o){if(null!==a){var u=a.next;a.next=o.next,o.next=u}r.baseQueue=a=o,t.pending=null}if(null!==a){a=a.next,r=r.baseState;var i=u=o=null,s=a;do{var c=s.lane;if((Go&c)===c)null!==i&&(i=i.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===i?(u=i=f,o=r):i=i.next=f,Xo.lanes|=c,Uu|=c}s=s.next}while(null!==s&&s!==a);null===i?o=r:i.next=u,ur(r,n.memoizedState)||(Ll=!0),n.memoizedState=r,n.baseState=o,n.baseQueue=i,t.lastRenderedState=r}return[n.memoizedState,t.dispatch]}function sl(e){var n=ll(),t=n.queue;if(null===t)throw Error(l(311));t.lastRenderedReducer=e;var r=t.dispatch,a=t.pending,o=n.memoizedState;if(null!==a){t.pending=null;var u=a=a.next;do{o=e(o,u.action),u=u.next}while(u!==a);ur(o,n.memoizedState)||(Ll=!0),n.memoizedState=o,null===n.baseQueue&&(n.baseState=o),t.lastRenderedState=o}return[o,r]}function cl(e,n,t){var r=n._getVersion;r=r(n._source);var a=n._workInProgressVersionPrimary;if(null!==a?e=a===r:(e=e.mutableReadLanes,(e=(Go&e)===e)&&(n._workInProgressVersionPrimary=r,qo.push(n))),e)return t(n._source);throw qo.push(n),Error(l(350))}function fl(e,n,t,r){var a=Ou;if(null===a)throw Error(l(349));var o=n._getVersion,u=o(n._source),i=Yo.current,s=i.useState((function(){return cl(a,n,t)})),c=s[1],f=s[0];s=Zo;var d=e.memoizedState,p=d.refs,m=p.getSnapshot,h=d.source;d=d.subscribe;var g=Xo;return e.memoizedState={refs:p,source:n,subscribe:r},i.useEffect((function(){p.getSnapshot=t,p.setSnapshot=c;var e=o(n._source);if(!ur(u,e)){e=t(n._source),ur(f,e)||(c(e),e=ci(g),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,l=e;0<l;){var i=31-Wn(l),s=1<<i;r[i]|=e,l&=~s}}}),[t,n,r]),i.useEffect((function(){return r(n._source,(function(){var e=p.getSnapshot,t=p.setSnapshot;try{t(e(n._source));var r=ci(g);a.mutableReadLanes|=r&a.pendingLanes}catch(e){t((function(){throw e}))}}))}),[n,r]),ur(m,t)&&ur(h,n)&&ur(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ul,lastRenderedState:f}).dispatch=c=Tl.bind(null,Xo,e),s.queue=e,s.baseQueue=null,f=cl(a,n,t),s.memoizedState=s.baseState=f),f}function dl(e,n,t){return fl(ll(),e,n,t)}function pl(e){var n=ol();return"function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e,e=(e=n.queue={pending:null,dispatch:null,lastRenderedReducer:ul,lastRenderedState:e}).dispatch=Tl.bind(null,Xo,e),[n.memoizedState,e]}function ml(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=Xo.updateQueue)?(n={lastEffect:null},Xo.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 hl(e){return e={current:e},ol().memoizedState=e}function gl(){return ll().memoizedState}function bl(e,n,t,r){var a=ol();Xo.flags|=e,a.memoizedState=ml(1|n,t,void 0,void 0===r?null:r)}function vl(e,n,t,r){var a=ll();r=void 0===r?null:r;var o=void 0;if(null!==Jo){var l=Jo.memoizedState;if(o=l.destroy,null!==r&&rl(r,l.deps))return void ml(n,t,o,r)}Xo.flags|=e,a.memoizedState=ml(1|n,t,o,r)}function yl(e,n){return bl(516,4,e,n)}function wl(e,n){return vl(516,4,e,n)}function kl(e,n){return vl(4,2,e,n)}function xl(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 El(e,n,t){return t=null!=t?t.concat([e]):null,vl(4,2,xl.bind(null,n,e),t)}function Sl(){}function _l(e,n){var t=ll();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&rl(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Cl(e,n){var t=ll();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&rl(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Nl(e,n){var t=Va();$a(98>t?98:t,(function(){e(!0)})),$a(97<t?97:t,(function(){var t=Ko.transition;Ko.transition=1;try{e(!1),n()}finally{Ko.transition=t}}))}function Tl(e,n,t){var r=si(),a=ci(e),o={lane:a,action:t,eagerReducer:null,eagerState:null,next:null},l=n.pending;if(null===l?o.next=o:(o.next=l.next,l.next=o),n.pending=o,l=e.alternate,e===Xo||null!==l&&l===Xo)nl=el=!0;else{if(0===e.lanes&&(null===l||0===l.lanes)&&null!==(l=n.lastRenderedReducer))try{var u=n.lastRenderedState,i=l(u,t);if(o.eagerReducer=l,o.eagerState=i,ur(i,u))return}catch(e){}fi(e,a,r)}}var Pl={readContext:ro,useCallback:tl,useContext:tl,useEffect:tl,useImperativeHandle:tl,useLayoutEffect:tl,useMemo:tl,useReducer:tl,useRef:tl,useState:tl,useDebugValue:tl,useDeferredValue:tl,useTransition:tl,useMutableSource:tl,useOpaqueIdentifier:tl,unstable_isNewReconciler:!1},Ol={readContext:ro,useCallback:function(e,n){return ol().memoizedState=[e,void 0===n?null:n],e},useContext:ro,useEffect:yl,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,bl(4,2,xl.bind(null,n,e),t)},useLayoutEffect:function(e,n){return bl(4,2,e,n)},useMemo:function(e,n){var t=ol();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=ol();return n=void 0!==t?t(n):n,r.memoizedState=r.baseState=n,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:n}).dispatch=Tl.bind(null,Xo,e),[r.memoizedState,e]},useRef:hl,useState:pl,useDebugValue:Sl,useDeferredValue:function(e){var n=pl(e),t=n[0],r=n[1];return yl((function(){var n=Ko.transition;Ko.transition=1;try{r(e)}finally{Ko.transition=n}}),[e]),t},useTransition:function(){var e=pl(!1),n=e[0];return hl(e=Nl.bind(null,e[1])),[e,n]},useMutableSource:function(e,n,t){var r=ol();return r.memoizedState={refs:{getSnapshot:n,setSnapshot:null},source:e,subscribe:t},fl(r,e,n,t)},useOpaqueIdentifier:function(){if(Ao){var e=!1,n=function(e){return{$$typeof:I,toString:e,valueOf:e}}((function(){throw e||(e=!0,t("r:"+(Qr++).toString(36))),Error(l(355))})),t=pl(n)[1];return 0==(2&Xo.mode)&&(Xo.flags|=516,ml(5,(function(){t("r:"+(Qr++).toString(36))}),void 0,null)),n}return pl(n="r:"+(Qr++).toString(36)),n},unstable_isNewReconciler:!1},Rl={readContext:ro,useCallback:_l,useContext:ro,useEffect:wl,useImperativeHandle:El,useLayoutEffect:kl,useMemo:Cl,useReducer:il,useRef:gl,useState:function(){return il(ul)},useDebugValue:Sl,useDeferredValue:function(e){var n=il(ul),t=n[0],r=n[1];return wl((function(){var n=Ko.transition;Ko.transition=1;try{r(e)}finally{Ko.transition=n}}),[e]),t},useTransition:function(){var e=il(ul)[0];return[gl().current,e]},useMutableSource:dl,useOpaqueIdentifier:function(){return il(ul)[0]},unstable_isNewReconciler:!1},zl={readContext:ro,useCallback:_l,useContext:ro,useEffect:wl,useImperativeHandle:El,useLayoutEffect:kl,useMemo:Cl,useReducer:sl,useRef:gl,useState:function(){return sl(ul)},useDebugValue:Sl,useDeferredValue:function(e){var n=sl(ul),t=n[0],r=n[1];return wl((function(){var n=Ko.transition;Ko.transition=1;try{r(e)}finally{Ko.transition=n}}),[e]),t},useTransition:function(){var e=sl(ul)[0];return[gl().current,e]},useMutableSource:dl,useOpaqueIdentifier:function(){return sl(ul)[0]},unstable_isNewReconciler:!1},jl=k.ReactCurrentOwner,Ll=!1;function Il(e,n,t,r){n.child=null===e?_o(n,null,t,r):So(n,e.child,t,r)}function Ml(e,n,t,r,a){t=t.render;var o=n.ref;return to(n,a),r=al(e,n,t,r,o,a),null===e||Ll?(n.flags|=1,Il(e,n,r,a),n.child):(n.updateQueue=e.updateQueue,n.flags&=-517,e.lanes&=~a,tu(e,n,a))}function Fl(e,n,t,r,a,o){if(null===e){var l=t.type;return"function"!=typeof l||Bi(l)||void 0!==l.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=Hi(t.type,null,r,n,n.mode,o)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=l,Ul(e,n,l,r,a,o))}return l=e.child,0==(a&o)&&(a=l.memoizedProps,(t=null!==(t=t.compare)?t:sr)(a,r)&&e.ref===n.ref)?tu(e,n,o):(n.flags|=1,(e=$i(l,r)).ref=n.ref,e.return=n,n.child=e)}function Ul(e,n,t,r,a,o){if(null!==e&&sr(e.memoizedProps,r)&&e.ref===n.ref){if(Ll=!1,0==(o&a))return n.lanes=e.lanes,tu(e,n,o);0!=(16384&e.flags)&&(Ll=!0)}return Vl(e,n,t,r,o)}function Al(e,n,t){var r=n.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&n.mode))n.memoizedState={baseLanes:0},yi(n,t);else{if(0==(1073741824&t))return e=null!==o?o.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e},yi(n,e),null;n.memoizedState={baseLanes:0},yi(n,null!==o?o.baseLanes:t)}else null!==o?(r=o.baseLanes|t,n.memoizedState=null):r=t,yi(n,r);return Il(e,n,a,t),n.child}function Dl(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=128)}function Vl(e,n,t,r,a){var o=ma(t)?da:ca.current;return o=pa(n,o),to(n,a),t=al(e,n,t,r,o,a),null===e||Ll?(n.flags|=1,Il(e,n,t,a),n.child):(n.updateQueue=e.updateQueue,n.flags&=-517,e.lanes&=~a,tu(e,n,a))}function Bl(e,n,t,r,a){if(ma(t)){var o=!0;va(n)}else o=!1;if(to(n,a),null===n.stateNode)null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2),bo(n,t,r),yo(n,t,r,a),r=!0;else if(null===e){var l=n.stateNode,u=n.memoizedProps;l.props=u;var i=l.context,s=t.contextType;"object"==typeof s&&null!==s?s=ro(s):s=pa(n,s=ma(t)?da:ca.current);var c=t.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof l.getSnapshotBeforeUpdate;f||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(u!==r||i!==s)&&vo(n,l,r,s),ao=!1;var d=n.memoizedState;l.state=d,co(n,r,l,a),i=n.memoizedState,u!==r||d!==i||fa.current||ao?("function"==typeof c&&(mo(n,t,c,r),i=n.memoizedState),(u=ao||go(n,t,u,r,d,i,s))?(f||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(n.flags|=4)):("function"==typeof l.componentDidMount&&(n.flags|=4),n.memoizedProps=r,n.memoizedState=i),l.props=r,l.state=i,l.context=s,r=u):("function"==typeof l.componentDidMount&&(n.flags|=4),r=!1)}else{l=n.stateNode,lo(e,n),u=n.memoizedProps,s=n.type===n.elementType?u:Ya(n.type,u),l.props=s,f=n.pendingProps,d=l.context,"object"==typeof(i=t.contextType)&&null!==i?i=ro(i):i=pa(n,i=ma(t)?da:ca.current);var p=t.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(u!==f||d!==i)&&vo(n,l,r,i),ao=!1,d=n.memoizedState,l.state=d,co(n,r,l,a);var m=n.memoizedState;u!==f||d!==m||fa.current||ao?("function"==typeof p&&(mo(n,t,p,r),m=n.memoizedState),(s=ao||go(n,t,s,r,d,m,i))?(c||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(r,m,i),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,m,i)),"function"==typeof l.componentDidUpdate&&(n.flags|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(n.flags|=256)):("function"!=typeof l.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=256),n.memoizedProps=r,n.memoizedState=m),l.props=r,l.state=m,l.context=i,r=s):("function"!=typeof l.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=256),r=!1)}return $l(e,n,t,r,o,a)}function $l(e,n,t,r,a,o){Dl(e,n);var l=0!=(64&n.flags);if(!r&&!l)return a&&ya(n,t,!1),tu(e,n,o);r=n.stateNode,jl.current=n;var u=l&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&l?(n.child=So(n,e.child,null,o),n.child=So(n,null,u,o)):Il(e,n,u,o),n.memoizedState=r.state,a&&ya(n,t,!0),n.child}function Hl(e){var n=e.stateNode;n.pendingContext?ga(0,n.pendingContext,n.pendingContext!==n.context):n.context&&ga(0,n.context,!1),Ro(e,n.containerInfo)}var Wl,ql,Ql,Yl={dehydrated:null,retryLane:0};function Kl(e,n,t){var r,a=n.pendingProps,o=Io.current,l=!1;return(r=0!=(64&n.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(l=!0,n.flags&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(o|=1),ia(Io,1&o),null===e?(void 0!==a.fallback&&Bo(n),e=a.children,o=a.fallback,l?(e=Gl(n,e,o,t),n.child.memoizedState={baseLanes:t},n.memoizedState=Yl,e):"number"==typeof a.unstable_expectedLoadTime?(e=Gl(n,e,o,t),n.child.memoizedState={baseLanes:t},n.memoizedState=Yl,n.lanes=33554432,e):((t=qi({mode:"visible",children:e},n.mode,t,null)).return=n,n.child=t)):(e.memoizedState,l?(a=Jl(e,n,a.children,a.fallback,t),l=n.child,o=e.child.memoizedState,l.memoizedState=null===o?{baseLanes:t}:{baseLanes:o.baseLanes|t},l.childLanes=e.childLanes&~t,n.memoizedState=Yl,a):(t=Xl(e,n,a.children,t),n.memoizedState=null,t))}function Gl(e,n,t,r){var a=e.mode,o=e.child;return n={mode:"hidden",children:n},0==(2&a)&&null!==o?(o.childLanes=0,o.pendingProps=n):o=qi(n,a,0,null),t=Wi(t,a,r,null),o.return=e,t.return=e,o.sibling=t,e.child=o,t}function Xl(e,n,t,r){var a=e.child;return e=a.sibling,t=$i(a,{mode:"visible",children:t}),0==(2&n.mode)&&(t.lanes=r),t.return=n,t.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,n.firstEffect=n.lastEffect=e),n.child=t}function Jl(e,n,t,r,a){var o=n.mode,l=e.child;e=l.sibling;var u={mode:"hidden",children:t};return 0==(2&o)&&n.child!==l?((t=n.child).childLanes=0,t.pendingProps=u,null!==(l=t.lastEffect)?(n.firstEffect=t.firstEffect,n.lastEffect=l,l.nextEffect=null):n.firstEffect=n.lastEffect=null):t=$i(l,u),null!==e?r=$i(e,r):(r=Wi(r,o,a,null)).flags|=2,r.return=n,t.return=n,t.sibling=r,n.child=t,r}function Zl(e,n){e.lanes|=n;var t=e.alternate;null!==t&&(t.lanes|=n),no(e.return,n)}function eu(e,n,t,r,a,o){var l=e.memoizedState;null===l?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:a,lastEffect:o}:(l.isBackwards=n,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=t,l.tailMode=a,l.lastEffect=o)}function nu(e,n,t){var r=n.pendingProps,a=r.revealOrder,o=r.tail;if(Il(e,n,r.children,t),0!=(2&(r=Io.current)))r=1&r|2,n.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Zl(e,t);else if(19===e.tag)Zl(e,t);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(ia(Io,r),0==(2&n.mode))n.memoizedState=null;else switch(a){case"forwards":for(t=n.child,a=null;null!==t;)null!==(e=t.alternate)&&null===Mo(e)&&(a=t),t=t.sibling;null===(t=a)?(a=n.child,n.child=null):(a=t.sibling,t.sibling=null),eu(n,!1,a,t,o,n.lastEffect);break;case"backwards":for(t=null,a=n.child,n.child=null;null!==a;){if(null!==(e=a.alternate)&&null===Mo(e)){n.child=a;break}e=a.sibling,a.sibling=t,t=a,a=e}eu(n,!0,t,null,o,n.lastEffect);break;case"together":eu(n,!1,null,null,void 0,n.lastEffect);break;default:n.memoizedState=null}return n.child}function tu(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),Uu|=n.lanes,0!=(t&n.childLanes)){if(null!==e&&n.child!==e.child)throw Error(l(153));if(null!==n.child){for(t=$i(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=$i(e,e.pendingProps)).return=n;t.sibling=null}return n.child}return null}function ru(e,n){if(!Ao)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 au(e,n,t){var r=n.pendingProps;switch(n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return ma(n.type)&&ha(),null;case 3:return zo(),ua(fa),ua(ca),Qo(),(r=n.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ho(n)?n.flags|=4:r.hydrate||(n.flags|=256)),null;case 5:Lo(n);var o=Oo(Po.current);if(t=n.type,null!==e&&null!=n.stateNode)ql(e,n,t,r),e.ref!==n.ref&&(n.flags|=128);else{if(!r){if(null===n.stateNode)throw Error(l(166));return null}if(e=Oo(No.current),Ho(n)){r=n.stateNode,t=n.type;var u=n.memoizedProps;switch(r[Kr]=n,r[Gr]=u,t){case"dialog":Nr("cancel",r),Nr("close",r);break;case"iframe":case"object":case"embed":Nr("load",r);break;case"video":case"audio":for(e=0;e<Er.length;e++)Nr(Er[e],r);break;case"source":Nr("error",r);break;case"img":case"image":case"link":Nr("error",r),Nr("load",r);break;case"details":Nr("toggle",r);break;case"input":ee(r,u),Nr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},Nr("invalid",r);break;case"textarea":ie(r,u),Nr("invalid",r)}for(var s in Se(t,u),e=null,u)u.hasOwnProperty(s)&&(o=u[s],"children"===s?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):i.hasOwnProperty(s)&&null!=o&&"onScroll"===s&&Nr("scroll",r));switch(t){case"input":G(r),re(r,u,!0);break;case"textarea":G(r),ce(r);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(r.onclick=Fr)}r=e,n.updateQueue=r,null!==r&&(n.flags|=4)}else{switch(s=9===o.nodeType?o:o.ownerDocument,e===fe&&(e=pe(t)),e===fe?"script"===t?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(t,{is:r.is}):(e=s.createElement(t),"select"===t&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,t),e[Kr]=n,e[Gr]=r,Wl(e,n),n.stateNode=e,s=_e(t,r),t){case"dialog":Nr("cancel",e),Nr("close",e),o=r;break;case"iframe":case"object":case"embed":Nr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Er.length;o++)Nr(Er[o],e);o=r;break;case"source":Nr("error",e),o=r;break;case"img":case"image":case"link":Nr("error",e),Nr("load",e),o=r;break;case"details":Nr("toggle",e),o=r;break;case"input":ee(e,r),o=Z(e,r),Nr("invalid",e);break;case"option":o=oe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=a({},r,{value:void 0}),Nr("invalid",e);break;case"textarea":ie(e,r),o=ue(e,r),Nr("invalid",e);break;default:o=r}Se(t,o);var c=o;for(u in c)if(c.hasOwnProperty(u)){var f=c[u];"style"===u?xe(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&be(e,f):"children"===u?"string"==typeof f?("textarea"!==t||""!==f)&&ve(e,f):"number"==typeof f&&ve(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(i.hasOwnProperty(u)?null!=f&&"onScroll"===u&&Nr("scroll",e):null!=f&&w(e,u,f,s))}switch(t){case"input":G(e),re(e,r,!1);break;case"textarea":G(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Y(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?le(e,!!r.multiple,u,!1):null!=r.defaultValue&&le(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Fr)}Dr(t,r)&&(n.flags|=4)}null!==n.ref&&(n.flags|=128)}return null;case 6:if(e&&null!=n.stateNode)Ql(0,n,e.memoizedProps,r);else{if("string"!=typeof r&&null===n.stateNode)throw Error(l(166));t=Oo(Po.current),Oo(No.current),Ho(n)?(r=n.stateNode,t=n.memoizedProps,r[Kr]=n,r.nodeValue!==t&&(n.flags|=4)):((r=(9===t.nodeType?t:t.ownerDocument).createTextNode(r))[Kr]=n,n.stateNode=r)}return null;case 13:return ua(Io),r=n.memoizedState,0!=(64&n.flags)?(n.lanes=t,n):(r=null!==r,t=!1,null===e?void 0!==n.memoizedProps.fallback&&Ho(n):t=null!==e.memoizedState,r&&!t&&0!=(2&n.mode)&&(null===e&&!0!==n.memoizedProps.unstable_avoidThisFallback||0!=(1&Io.current)?0===Iu&&(Iu=3):(0!==Iu&&3!==Iu||(Iu=4),null===Ou||0==(134217727&Uu)&&0==(134217727&Au)||hi(Ou,zu))),(r||t)&&(n.flags|=4),null);case 4:return zo(),null===e&&Pr(n.stateNode.containerInfo),null;case 10:return eo(n),null;case 17:return ma(n.type)&&ha(),null;case 19:if(ua(Io),null===(r=n.memoizedState))return null;if(u=0!=(64&n.flags),null===(s=r.rendering))if(u)ru(r,!1);else{if(0!==Iu||null!==e&&0!=(64&e.flags))for(e=n.child;null!==e;){if(null!==(s=Mo(e))){for(n.flags|=64,ru(r,!1),null!==(u=s.updateQueue)&&(n.updateQueue=u,n.flags|=4),null===r.lastEffect&&(n.firstEffect=null),n.lastEffect=r.lastEffect,r=t,t=n.child;null!==t;)e=r,(u=t).flags&=2,u.nextEffect=null,u.firstEffect=null,u.lastEffect=null,null===(s=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=s.childLanes,u.lanes=s.lanes,u.child=s.child,u.memoizedProps=s.memoizedProps,u.memoizedState=s.memoizedState,u.updateQueue=s.updateQueue,u.type=s.type,e=s.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return ia(Io,1&Io.current|2),n.child}e=e.sibling}null!==r.tail&&Da()>$u&&(n.flags|=64,u=!0,ru(r,!1),n.lanes=33554432)}else{if(!u)if(null!==(e=Mo(s))){if(n.flags|=64,u=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.flags|=4),ru(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!Ao)return null!==(n=n.lastEffect=r.lastEffect)&&(n.nextEffect=null),null}else 2*Da()-r.renderingStartTime>$u&&1073741824!==t&&(n.flags|=64,u=!0,ru(r,!1),n.lanes=33554432);r.isBackwards?(s.sibling=n.child,n.child=s):(null!==(t=r.last)?t.sibling=s:n.child=s,r.last=s)}return null!==r.tail?(t=r.tail,r.rendering=t,r.tail=t.sibling,r.lastEffect=n.lastEffect,r.renderingStartTime=Da(),t.sibling=null,n=Io.current,ia(Io,u?1&n|2:1&n),t):null;case 23:case 24:return wi(),null!==e&&null!==e.memoizedState!=(null!==n.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(n.flags|=4),null}throw Error(l(156,n.tag))}function ou(e){switch(e.tag){case 1:ma(e.type)&&ha();var n=e.flags;return 4096&n?(e.flags=-4097&n|64,e):null;case 3:if(zo(),ua(fa),ua(ca),Qo(),0!=(64&(n=e.flags)))throw Error(l(285));return e.flags=-4097&n|64,e;case 5:return Lo(e),null;case 13:return ua(Io),4096&(n=e.flags)?(e.flags=-4097&n|64,e):null;case 19:return ua(Io),null;case 4:return zo(),null;case 10:return eo(e),null;case 23:case 24:return wi(),null;default:return null}}function lu(e,n){try{var t="",r=n;do{t+=q(r),r=r.return}while(r);var a=t}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:n,stack:a}}function uu(e,n){try{console.error(n.value)}catch(e){setTimeout((function(){throw e}))}}Wl=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}},ql=function(e,n,t,r){var o=e.memoizedProps;if(o!==r){e=n.stateNode,Oo(No.current);var l,u=null;switch(t){case"input":o=Z(e,o),r=Z(e,r),u=[];break;case"option":o=oe(e,o),r=oe(e,r),u=[];break;case"select":o=a({},o,{value:void 0}),r=a({},r,{value:void 0}),u=[];break;case"textarea":o=ue(e,o),r=ue(e,r),u=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Fr)}for(f in Se(t,r),t=null,o)if(!r.hasOwnProperty(f)&&o.hasOwnProperty(f)&&null!=o[f])if("style"===f){var s=o[f];for(l in s)s.hasOwnProperty(l)&&(t||(t={}),t[l]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(i.hasOwnProperty(f)?u||(u=[]):(u=u||[]).push(f,null));for(f in r){var c=r[f];if(s=null!=o?o[f]:void 0,r.hasOwnProperty(f)&&c!==s&&(null!=c||null!=s))if("style"===f)if(s){for(l in s)!s.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(t||(t={}),t[l]="");for(l in c)c.hasOwnProperty(l)&&s[l]!==c[l]&&(t||(t={}),t[l]=c[l])}else t||(u||(u=[]),u.push(f,t)),t=c;else"dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(u=u||[]).push(f,c)):"children"===f?"string"!=typeof c&&"number"!=typeof c||(u=u||[]).push(f,""+c):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(i.hasOwnProperty(f)?(null!=c&&"onScroll"===f&&Nr("scroll",e),u||s===c||(u=[])):"object"==typeof c&&null!==c&&c.$$typeof===I?c.toString():(u=u||[]).push(f,c))}t&&(u=u||[]).push("style",t);var f=u;(n.updateQueue=f)&&(n.flags|=4)}},Ql=function(e,n,t,r){t!==r&&(n.flags|=4)};var iu="function"==typeof WeakMap?WeakMap:Map;function su(e,n,t){(t=uo(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Qu||(Qu=!0,Yu=r),uu(0,n)},t}function cu(e,n,t){(t=uo(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=n.value;t.payload=function(){return uu(0,n),r(a)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(t.callback=function(){"function"!=typeof r&&(null===Ku?Ku=new Set([this]):Ku.add(this),uu(0,n));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""})}),t}var fu="function"==typeof WeakSet?WeakSet:Set;function du(e){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Fi(e,n)}else n.current=null}function pu(e,n){switch(n.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&n.flags&&null!==e){var t=e.memoizedProps,r=e.memoizedState;n=(e=n.stateNode).getSnapshotBeforeUpdate(n.elementType===n.type?t:Ya(n.type,t),r),e.__reactInternalSnapshotBeforeUpdate=n}return;case 3:return void(256&n.flags&&Hr(n.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(l(163))}function mu(e,n,t){switch(t.tag){case 0:case 11:case 15:case 22:if(null!==(n=null!==(n=t.updateQueue)?n.lastEffect:null)){e=n=n.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==n)}if(null!==(n=null!==(n=t.updateQueue)?n.lastEffect:null)){e=n=n.next;do{var a=e;r=a.next,0!=(4&(a=a.tag))&&0!=(1&a)&&(Li(t,e),ji(t,e)),e=r}while(e!==n)}return;case 1:return e=t.stateNode,4&t.flags&&(null===n?e.componentDidMount():(r=t.elementType===t.type?n.memoizedProps:Ya(t.type,n.memoizedProps),e.componentDidUpdate(r,n.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(n=t.updateQueue)&&fo(t,n,e));case 3:if(null!==(n=t.updateQueue)){if(e=null,null!==t.child)switch(t.child.tag){case 5:e=t.child.stateNode;break;case 1:e=t.child.stateNode}fo(t,n,e)}return;case 5:return e=t.stateNode,void(null===n&&4&t.flags&&Dr(t.type,t.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===t.memoizedState&&(t=t.alternate,null!==t&&(t=t.memoizedState,null!==t&&(t=t.dehydrated,null!==t&&En(t)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(l(163))}function hu(e,n){for(var t=e;;){if(5===t.tag){var r=t.stateNode;if(n)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=t.stateNode;var a=t.memoizedProps.style;a=null!=a&&a.hasOwnProperty("display")?a.display:null,r.style.display=ke("display",a)}}else if(6===t.tag)t.stateNode.nodeValue=n?"":t.memoizedProps;else if((23!==t.tag&&24!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}}function gu(e,n){if(ka&&"function"==typeof ka.onCommitFiberUnmount)try{ka.onCommitFiberUnmount(wa,n)}catch(e){}switch(n.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=n.updateQueue)&&null!==(e=e.lastEffect)){var t=e=e.next;do{var r=t,a=r.destroy;if(r=r.tag,void 0!==a)if(0!=(4&r))Li(n,t);else{r=n;try{a()}catch(e){Fi(r,e)}}t=t.next}while(t!==e)}break;case 1:if(du(n),"function"==typeof(e=n.stateNode).componentWillUnmount)try{e.props=n.memoizedProps,e.state=n.memoizedState,e.componentWillUnmount()}catch(e){Fi(n,e)}break;case 5:du(n);break;case 4:xu(e,n)}}function bu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function vu(e){return 5===e.tag||3===e.tag||4===e.tag}function yu(e){e:{for(var n=e.return;null!==n;){if(vu(n))break e;n=n.return}throw Error(l(160))}var t=n;switch(n=t.stateNode,t.tag){case 5:var r=!1;break;case 3:case 4:n=n.containerInfo,r=!0;break;default:throw Error(l(161))}16&t.flags&&(ve(n,""),t.flags&=-17);e:n:for(t=e;;){for(;null===t.sibling;){if(null===t.return||vu(t.return)){t=null;break e}t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&18!==t.tag;){if(2&t.flags)continue n;if(null===t.child||4===t.tag)continue n;t.child.return=t,t=t.child}if(!(2&t.flags)){t=t.stateNode;break e}}r?wu(e,t,n):ku(e,t,n)}function wu(e,n,t){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,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=Fr));else if(4!==r&&null!==(e=e.child))for(wu(e,n,t),e=e.sibling;null!==e;)wu(e,n,t),e=e.sibling}function ku(e,n,t){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,n?t.insertBefore(e,n):t.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ku(e,n,t),e=e.sibling;null!==e;)ku(e,n,t),e=e.sibling}function xu(e,n){for(var t,r,a=n,o=!1;;){if(!o){o=a.return;e:for(;;){if(null===o)throw Error(l(160));switch(t=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:t=t.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===a.tag||6===a.tag){e:for(var u=e,i=a,s=i;;)if(gu(u,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===i)break e;for(;null===s.sibling;){if(null===s.return||s.return===i)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(u=t,i=a.stateNode,8===u.nodeType?u.parentNode.removeChild(i):u.removeChild(i)):t.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){t=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(gu(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===n)break;for(;null===a.sibling;){if(null===a.return||a.return===n)return;4===(a=a.return).tag&&(o=!1)}a.sibling.return=a.return,a=a.sibling}}function Eu(e,n){switch(n.tag){case 0:case 11:case 14:case 15:case 22:var t=n.updateQueue;if(null!==(t=null!==t?t.lastEffect:null)){var r=t=t.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==t)}return;case 1:return;case 5:if(null!=(t=n.stateNode)){r=n.memoizedProps;var a=null!==e?e.memoizedProps:r;e=n.type;var o=n.updateQueue;if(n.updateQueue=null,null!==o){for(t[Gr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ne(t,r),_e(e,a),n=_e(e,r),a=0;a<o.length;a+=2){var u=o[a],i=o[a+1];"style"===u?xe(t,i):"dangerouslySetInnerHTML"===u?be(t,i):"children"===u?ve(t,i):w(t,u,i,n)}switch(e){case"input":te(t,r);break;case"textarea":se(t,r);break;case"select":e=t._wrapperState.wasMultiple,t._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?le(t,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?le(t,!!r.multiple,r.defaultValue,!0):le(t,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===n.stateNode)throw Error(l(162));return void(n.stateNode.nodeValue=n.memoizedProps);case 3:return void((t=n.stateNode).hydrate&&(t.hydrate=!1,En(t.containerInfo)));case 12:return;case 13:return null!==n.memoizedState&&(Bu=Da(),hu(n.child,!0)),void Su(n);case 19:return void Su(n);case 17:return;case 23:case 24:return void hu(n,null!==n.memoizedState)}throw Error(l(163))}function Su(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new fu),n.forEach((function(n){var r=Ai.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))}))}}function _u(e,n){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(n=n.memoizedState)&&null===n.dehydrated)}var Cu=Math.ceil,Nu=k.ReactCurrentDispatcher,Tu=k.ReactCurrentOwner,Pu=0,Ou=null,Ru=null,zu=0,ju=0,Lu=la(0),Iu=0,Mu=null,Fu=0,Uu=0,Au=0,Du=0,Vu=null,Bu=0,$u=1/0;function Hu(){$u=Da()+500}var Wu,qu=null,Qu=!1,Yu=null,Ku=null,Gu=!1,Xu=null,Ju=90,Zu=[],ei=[],ni=null,ti=0,ri=null,ai=-1,oi=0,li=0,ui=null,ii=!1;function si(){return 0!=(48&Pu)?Da():-1!==ai?ai:ai=Da()}function ci(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Va()?1:2;if(0===oi&&(oi=Fu),0!==Qa.transition){0!==li&&(li=null!==Vu?Vu.pendingLanes:0),e=oi;var n=4186112&~li;return 0===(n&=-n)&&(0===(n=(e=4186112&~e)&-e)&&(n=8192)),n}return e=Va(),0!=(4&Pu)&&98===e?e=Vn(12,oi):e=Vn(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),oi),e}function fi(e,n,t){if(50<ti)throw ti=0,ri=null,Error(l(185));if(null===(e=di(e,n)))return null;Hn(e,n,t),e===Ou&&(Au|=n,4===Iu&&hi(e,zu));var r=Va();1===n?0!=(8&Pu)&&0==(48&Pu)?gi(e):(pi(e,t),0===Pu&&(Hu(),Wa())):(0==(4&Pu)||98!==r&&99!==r||(null===ni?ni=new Set([e]):ni.add(e)),pi(e,t)),Vu=e}function di(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}function pi(e,n){for(var t=e.callbackNode,r=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,u=e.pendingLanes;0<u;){var i=31-Wn(u),s=1<<i,c=o[i];if(-1===c){if(0==(s&r)||0!=(s&a)){c=n,Un(s);var f=Fn;o[i]=10<=f?c+250:6<=f?c+5e3:-1}}else c<=n&&(e.expiredLanes|=s);u&=~s}if(r=An(e,e===Ou?zu:0),n=Fn,0===r)null!==t&&(t!==La&&Sa(t),e.callbackNode=null,e.callbackPriority=0);else{if(null!==t){if(e.callbackPriority===n)return;t!==La&&Sa(t)}15===n?(t=gi.bind(null,e),null===Ma?(Ma=[t],Fa=Ea(Pa,qa)):Ma.push(t),t=La):14===n?t=Ha(99,gi.bind(null,e)):t=Ha(t=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(l(358,e))}}(n),mi.bind(null,e)),e.callbackPriority=n,e.callbackNode=t}}function mi(e){if(ai=-1,li=oi=0,0!=(48&Pu))throw Error(l(327));var n=e.callbackNode;if(zi()&&e.callbackNode!==n)return null;var t=An(e,e===Ou?zu:0);if(0===t)return null;var r=t,a=Pu;Pu|=16;var o=Ei();for(Ou===e&&zu===r||(Hu(),ki(e,r));;)try{Ci();break}catch(n){xi(e,n)}if(Za(),Nu.current=o,Pu=a,null!==Ru?r=0:(Ou=null,zu=0,r=Iu),0!=(Fu&Au))ki(e,0);else if(0!==r){if(2===r&&(Pu|=64,e.hydrate&&(e.hydrate=!1,Hr(e.containerInfo)),0!==(t=Dn(e))&&(r=Si(e,t))),1===r)throw n=Mu,ki(e,0),hi(e,t),pi(e,Da()),n;switch(e.finishedWork=e.current.alternate,e.finishedLanes=t,r){case 0:case 1:throw Error(l(345));case 2:Pi(e);break;case 3:if(hi(e,t),(62914560&t)===t&&10<(r=Bu+500-Da())){if(0!==An(e,0))break;if(((a=e.suspendedLanes)&t)!==t){si(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Br(Pi.bind(null,e),r);break}Pi(e);break;case 4:if(hi(e,t),(4186112&t)===t)break;for(r=e.eventTimes,a=-1;0<t;){var u=31-Wn(t);o=1<<u,(u=r[u])>a&&(a=u),t&=~o}if(t=a,10<(t=(120>(t=Da()-t)?120:480>t?480:1080>t?1080:1920>t?1920:3e3>t?3e3:4320>t?4320:1960*Cu(t/1960))-t)){e.timeoutHandle=Br(Pi.bind(null,e),t);break}Pi(e);break;case 5:Pi(e);break;default:throw Error(l(329))}}return pi(e,Da()),e.callbackNode===n?mi.bind(null,e):null}function hi(e,n){for(n&=~Du,n&=~Au,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-Wn(n),r=1<<t;e[t]=-1,n&=~r}}function gi(e){if(0!=(48&Pu))throw Error(l(327));if(zi(),e===Ou&&0!=(e.expiredLanes&zu)){var n=zu,t=Si(e,n);0!=(Fu&Au)&&(t=Si(e,n=An(e,n)))}else t=Si(e,n=An(e,0));if(0!==e.tag&&2===t&&(Pu|=64,e.hydrate&&(e.hydrate=!1,Hr(e.containerInfo)),0!==(n=Dn(e))&&(t=Si(e,n))),1===t)throw t=Mu,ki(e,0),hi(e,n),pi(e,Da()),t;return e.finishedWork=e.current.alternate,e.finishedLanes=n,Pi(e),pi(e,Da()),null}function bi(e,n){var t=Pu;Pu|=1;try{return e(n)}finally{0===(Pu=t)&&(Hu(),Wa())}}function vi(e,n){var t=Pu;Pu&=-2,Pu|=8;try{return e(n)}finally{0===(Pu=t)&&(Hu(),Wa())}}function yi(e,n){ia(Lu,ju),ju|=n,Fu|=n}function wi(){ju=Lu.current,ua(Lu)}function ki(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,$r(t)),null!==Ru)for(t=Ru.return;null!==t;){var r=t;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ha();break;case 3:zo(),ua(fa),ua(ca),Qo();break;case 5:Lo(r);break;case 4:zo();break;case 13:case 19:ua(Io);break;case 10:eo(r);break;case 23:case 24:wi()}t=t.return}Ou=e,Ru=$i(e.current,null),zu=ju=Fu=n,Iu=0,Mu=null,Du=Au=Uu=0}function xi(e,n){for(;;){var t=Ru;try{if(Za(),Yo.current=Pl,el){for(var r=Xo.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}el=!1}if(Go=0,Zo=Jo=Xo=null,nl=!1,Tu.current=null,null===t||null===t.return){Iu=1,Mu=n,Ru=null;break}e:{var o=e,l=t.return,u=t,i=n;if(n=zu,u.flags|=2048,u.firstEffect=u.lastEffect=null,null!==i&&"object"==typeof i&&"function"==typeof i.then){var s=i;if(0==(2&u.mode)){var c=u.alternate;c?(u.updateQueue=c.updateQueue,u.memoizedState=c.memoizedState,u.lanes=c.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=0!=(1&Io.current),d=l;do{var p;if(p=13===d.tag){var m=d.memoizedState;if(null!==m)p=null!==m.dehydrated;else{var h=d.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!f)}}if(p){var g=d.updateQueue;if(null===g){var b=new Set;b.add(s),d.updateQueue=b}else g.add(s);if(0==(2&d.mode)){if(d.flags|=64,u.flags|=16384,u.flags&=-2981,1===u.tag)if(null===u.alternate)u.tag=17;else{var v=uo(-1,1);v.tag=2,io(u,v)}u.lanes|=1;break e}i=void 0,u=n;var y=o.pingCache;if(null===y?(y=o.pingCache=new iu,i=new Set,y.set(s,i)):void 0===(i=y.get(s))&&(i=new Set,y.set(s,i)),!i.has(u)){i.add(u);var w=Ui.bind(null,o,s,u);s.then(w,w)}d.flags|=4096,d.lanes=n;break e}d=d.return}while(null!==d);i=Error((Q(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Iu&&(Iu=2),i=lu(i,u),d=l;do{switch(d.tag){case 3:o=i,d.flags|=4096,n&=-n,d.lanes|=n,so(d,su(0,o,n));break e;case 1:o=i;var k=d.type,x=d.stateNode;if(0==(64&d.flags)&&("function"==typeof k.getDerivedStateFromError||null!==x&&"function"==typeof x.componentDidCatch&&(null===Ku||!Ku.has(x)))){d.flags|=4096,n&=-n,d.lanes|=n,so(d,cu(d,o,n));break e}}d=d.return}while(null!==d)}Ti(t)}catch(e){n=e,Ru===t&&null!==t&&(Ru=t=t.return);continue}break}}function Ei(){var e=Nu.current;return Nu.current=Pl,null===e?Pl:e}function Si(e,n){var t=Pu;Pu|=16;var r=Ei();for(Ou===e&&zu===n||ki(e,n);;)try{_i();break}catch(n){xi(e,n)}if(Za(),Pu=t,Nu.current=r,null!==Ru)throw Error(l(261));return Ou=null,zu=0,Iu}function _i(){for(;null!==Ru;)Ni(Ru)}function Ci(){for(;null!==Ru&&!_a();)Ni(Ru)}function Ni(e){var n=Wu(e.alternate,e,ju);e.memoizedProps=e.pendingProps,null===n?Ti(e):Ru=n,Tu.current=null}function Ti(e){var n=e;do{var t=n.alternate;if(e=n.return,0==(2048&n.flags)){if(null!==(t=au(t,n,ju)))return void(Ru=t);if(24!==(t=n).tag&&23!==t.tag||null===t.memoizedState||0!=(1073741824&ju)||0==(4&t.mode)){for(var r=0,a=t.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;t.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=n.firstEffect),null!==n.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=n.firstEffect),e.lastEffect=n.lastEffect),1<n.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=n:e.firstEffect=n,e.lastEffect=n))}else{if(null!==(t=ou(n)))return t.flags&=2047,void(Ru=t);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(n=n.sibling))return void(Ru=n);Ru=n=e}while(null!==n);0===Iu&&(Iu=5)}function Pi(e){var n=Va();return $a(99,Oi.bind(null,e,n)),null}function Oi(e,n){do{zi()}while(null!==Xu);if(0!=(48&Pu))throw Error(l(327));var t=e.finishedWork;if(null===t)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(l(177));e.callbackNode=null;var r=t.lanes|t.childLanes,a=r,o=e.pendingLanes&~a;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=a,e.mutableReadLanes&=a,e.entangledLanes&=a,a=e.entanglements;for(var u=e.eventTimes,i=e.expirationTimes;0<o;){var s=31-Wn(o),c=1<<s;a[s]=0,u[s]=-1,i[s]=-1,o&=~c}if(null!==ni&&0==(24&r)&&ni.has(e)&&ni.delete(e),e===Ou&&(Ru=Ou=null,zu=0),1<t.flags?null!==t.lastEffect?(t.lastEffect.nextEffect=t,r=t.firstEffect):r=t:r=t.firstEffect,null!==r){if(a=Pu,Pu|=32,Tu.current=null,Ur=Gn,mr(u=pr())){if("selectionStart"in u)i={start:u.selectionStart,end:u.selectionEnd};else e:if(i=(i=u.ownerDocument)&&i.defaultView||window,(c=i.getSelection&&i.getSelection())&&0!==c.rangeCount){i=c.anchorNode,o=c.anchorOffset,s=c.focusNode,c=c.focusOffset;try{i.nodeType,s.nodeType}catch(e){i=null;break e}var f=0,d=-1,p=-1,m=0,h=0,g=u,b=null;n:for(;;){for(var v;g!==i||0!==o&&3!==g.nodeType||(d=f+o),g!==s||0!==c&&3!==g.nodeType||(p=f+c),3===g.nodeType&&(f+=g.nodeValue.length),null!==(v=g.firstChild);)b=g,g=v;for(;;){if(g===u)break n;if(b===i&&++m===o&&(d=f),b===s&&++h===c&&(p=f),null!==(v=g.nextSibling))break;b=(g=b).parentNode}g=v}i=-1===d||-1===p?null:{start:d,end:p}}else i=null;i=i||{start:0,end:0}}else i=null;Ar={focusedElem:u,selectionRange:i},Gn=!1,ui=null,ii=!1,qu=r;do{try{Ri()}catch(e){if(null===qu)throw Error(l(330));Fi(qu,e),qu=qu.nextEffect}}while(null!==qu);ui=null,qu=r;do{try{for(u=e;null!==qu;){var y=qu.flags;if(16&y&&ve(qu.stateNode,""),128&y){var w=qu.alternate;if(null!==w){var k=w.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&y){case 2:yu(qu),qu.flags&=-3;break;case 6:yu(qu),qu.flags&=-3,Eu(qu.alternate,qu);break;case 1024:qu.flags&=-1025;break;case 1028:qu.flags&=-1025,Eu(qu.alternate,qu);break;case 4:Eu(qu.alternate,qu);break;case 8:xu(u,i=qu);var x=i.alternate;bu(i),null!==x&&bu(x)}qu=qu.nextEffect}}catch(e){if(null===qu)throw Error(l(330));Fi(qu,e),qu=qu.nextEffect}}while(null!==qu);if(k=Ar,w=pr(),y=k.focusedElem,u=k.selectionRange,w!==y&&y&&y.ownerDocument&&dr(y.ownerDocument.documentElement,y)){null!==u&&mr(y)&&(w=u.start,void 0===(k=u.end)&&(k=w),"selectionStart"in y?(y.selectionStart=w,y.selectionEnd=Math.min(k,y.value.length)):(k=(w=y.ownerDocument||document)&&w.defaultView||window).getSelection&&(k=k.getSelection(),i=y.textContent.length,x=Math.min(u.start,i),u=void 0===u.end?x:Math.min(u.end,i),!k.extend&&x>u&&(i=u,u=x,x=i),i=fr(y,x),o=fr(y,u),i&&o&&(1!==k.rangeCount||k.anchorNode!==i.node||k.anchorOffset!==i.offset||k.focusNode!==o.node||k.focusOffset!==o.offset)&&((w=w.createRange()).setStart(i.node,i.offset),k.removeAllRanges(),x>u?(k.addRange(w),k.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),k.addRange(w))))),w=[];for(k=y;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<w.length;y++)(k=w[y]).element.scrollLeft=k.left,k.element.scrollTop=k.top}Gn=!!Ur,Ar=Ur=null,e.current=t,qu=r;do{try{for(y=e;null!==qu;){var E=qu.flags;if(36&E&&mu(y,qu.alternate,qu),128&E){w=void 0;var S=qu.ref;if(null!==S){var _=qu.stateNode;switch(qu.tag){case 5:w=_;break;default:w=_}"function"==typeof S?S(w):S.current=w}}qu=qu.nextEffect}}catch(e){if(null===qu)throw Error(l(330));Fi(qu,e),qu=qu.nextEffect}}while(null!==qu);qu=null,Ia(),Pu=a}else e.current=t;if(Gu)Gu=!1,Xu=e,Ju=n;else for(qu=r;null!==qu;)n=qu.nextEffect,qu.nextEffect=null,8&qu.flags&&((E=qu).sibling=null,E.stateNode=null),qu=n;if(0===(r=e.pendingLanes)&&(Ku=null),1===r?e===ri?ti++:(ti=0,ri=e):ti=0,t=t.stateNode,ka&&"function"==typeof ka.onCommitFiberRoot)try{ka.onCommitFiberRoot(wa,t,void 0,64==(64&t.current.flags))}catch(e){}if(pi(e,Da()),Qu)throw Qu=!1,e=Yu,Yu=null,e;return 0!=(8&Pu)||Wa(),null}function Ri(){for(;null!==qu;){var e=qu.alternate;ii||null===ui||(0!=(8&qu.flags)?en(qu,ui)&&(ii=!0):13===qu.tag&&_u(e,qu)&&en(qu,ui)&&(ii=!0));var n=qu.flags;0!=(256&n)&&pu(e,qu),0==(512&n)||Gu||(Gu=!0,Ha(97,(function(){return zi(),null}))),qu=qu.nextEffect}}function zi(){if(90!==Ju){var e=97<Ju?97:Ju;return Ju=90,$a(e,Ii)}return!1}function ji(e,n){Zu.push(n,e),Gu||(Gu=!0,Ha(97,(function(){return zi(),null})))}function Li(e,n){ei.push(n,e),Gu||(Gu=!0,Ha(97,(function(){return zi(),null})))}function Ii(){if(null===Xu)return!1;var e=Xu;if(Xu=null,0!=(48&Pu))throw Error(l(331));var n=Pu;Pu|=32;var t=ei;ei=[];for(var r=0;r<t.length;r+=2){var a=t[r],o=t[r+1],u=a.destroy;if(a.destroy=void 0,"function"==typeof u)try{u()}catch(e){if(null===o)throw Error(l(330));Fi(o,e)}}for(t=Zu,Zu=[],r=0;r<t.length;r+=2){a=t[r],o=t[r+1];try{var i=a.create;a.destroy=i()}catch(e){if(null===o)throw Error(l(330));Fi(o,e)}}for(i=e.current.firstEffect;null!==i;)e=i.nextEffect,i.nextEffect=null,8&i.flags&&(i.sibling=null,i.stateNode=null),i=e;return Pu=n,Wa(),!0}function Mi(e,n,t){io(e,n=su(0,n=lu(t,n),1)),n=si(),null!==(e=di(e,1))&&(Hn(e,1,n),pi(e,n))}function Fi(e,n){if(3===e.tag)Mi(e,e,n);else for(var t=e.return;null!==t;){if(3===t.tag){Mi(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ku||!Ku.has(r))){var a=cu(t,e=lu(n,e),1);if(io(t,a),a=si(),null!==(t=di(t,1)))Hn(t,1,a),pi(t,a);else if("function"==typeof r.componentDidCatch&&(null===Ku||!Ku.has(r)))try{r.componentDidCatch(n,e)}catch(e){}break}}t=t.return}}function Ui(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=si(),e.pingedLanes|=e.suspendedLanes&t,Ou===e&&(zu&t)===t&&(4===Iu||3===Iu&&(62914560&zu)===zu&&500>Da()-Bu?ki(e,0):Du|=t),pi(e,n)}function Ai(e,n){var t=e.stateNode;null!==t&&t.delete(n),0===(n=0)&&(0==(2&(n=e.mode))?n=1:0==(4&n)?n=99===Va()?1:2:(0===oi&&(oi=Fu),0===(n=Bn(62914560&~oi))&&(n=4194304))),t=si(),null!==(e=di(e,n))&&(Hn(e,n,t),pi(e,t))}function Di(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Vi(e,n,t,r){return new Di(e,n,t,r)}function Bi(e){return!(!(e=e.prototype)||!e.isReactComponent)}function $i(e,n){var t=e.alternate;return null===t?((t=Vi(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.nextEffect=null,t.firstEffect=null,t.lastEffect=null),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 Hi(e,n,t,r,a,o){var u=2;if(r=e,"function"==typeof e)Bi(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case S:return Wi(t.children,a,o,n);case M:u=8,a|=16;break;case _:u=8,a|=1;break;case C:return(e=Vi(12,t,n,8|a)).elementType=C,e.type=C,e.lanes=o,e;case O:return(e=Vi(13,t,n,a)).type=O,e.elementType=O,e.lanes=o,e;case R:return(e=Vi(19,t,n,a)).elementType=R,e.lanes=o,e;case F:return qi(t,a,o,n);case U:return(e=Vi(24,t,n,a)).elementType=U,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case N:u=10;break e;case T:u=9;break e;case P:u=11;break e;case z:u=14;break e;case j:u=16,r=null;break e;case L:u=22;break e}throw Error(l(130,null==e?e:typeof e,""))}return(n=Vi(u,t,n,a)).elementType=e,n.type=r,n.lanes=o,n}function Wi(e,n,t,r){return(e=Vi(7,e,r,n)).lanes=t,e}function qi(e,n,t,r){return(e=Vi(23,e,r,n)).elementType=F,e.lanes=t,e}function Qi(e,n,t){return(e=Vi(6,e,null,n)).lanes=t,e}function Yi(e,n,t){return(n=Vi(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Ki(e,n,t){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=t,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=$n(0),this.expirationTimes=$n(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$n(0),this.mutableSourceEagerHydrationData=null}function Gi(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:n,implementation:t}}function Xi(e,n,t,r){var a=n.current,o=si(),u=ci(a);e:if(t){n:{if(Ge(t=t._reactInternals)!==t||1!==t.tag)throw Error(l(170));var i=t;do{switch(i.tag){case 3:i=i.stateNode.context;break n;case 1:if(ma(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break n}}i=i.return}while(null!==i);throw Error(l(171))}if(1===t.tag){var s=t.type;if(ma(s)){t=ba(t,s,i);break e}}t=i}else t=sa;return null===n.context?n.context=t:n.pendingContext=t,(n=uo(o,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),io(a,n),fi(a,u,o),u}function Ji(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Zi(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function es(e,n){Zi(e,n),(e=e.alternate)&&Zi(e,n)}function ns(e,n,t){var r=null!=t&&null!=t.hydrationOptions&&t.hydrationOptions.mutableSources||null;if(t=new Ki(e,n,null!=t&&!0===t.hydrate),n=Vi(3,null,null,2===n?7:1===n?3:0),t.current=n,n.stateNode=t,oo(n),e[Xr]=t.current,Pr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var a=(n=r[e])._getVersion;a=a(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a)}this._internalRoot=t}function ts(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function rs(e,n,t,r,a){var o=t._reactRootContainer;if(o){var l=o._internalRoot;if("function"==typeof a){var u=a;a=function(){var e=Ji(l);u.call(e)}}Xi(n,l,e,a)}else{if(o=t._reactRootContainer=function(e,n){if(n||(n=!(!(n=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==n.nodeType||!n.hasAttribute("data-reactroot"))),!n)for(var t;t=e.lastChild;)e.removeChild(t);return new ns(e,0,n?{hydrate:!0}:void 0)}(t,r),l=o._internalRoot,"function"==typeof a){var i=a;a=function(){var e=Ji(l);i.call(e)}}vi((function(){Xi(n,l,e,a)}))}return Ji(l)}function as(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ts(n))throw Error(l(200));return Gi(e,n,null,t)}Wu=function(e,n,t){var r=n.lanes;if(null!==e)if(e.memoizedProps!==n.pendingProps||fa.current)Ll=!0;else{if(0==(t&r)){switch(Ll=!1,n.tag){case 3:Hl(n),Wo();break;case 5:jo(n);break;case 1:ma(n.type)&&va(n);break;case 4:Ro(n,n.stateNode.containerInfo);break;case 10:r=n.memoizedProps.value;var a=n.type._context;ia(Ka,a._currentValue),a._currentValue=r;break;case 13:if(null!==n.memoizedState)return 0!=(t&n.child.childLanes)?Kl(e,n,t):(ia(Io,1&Io.current),null!==(n=tu(e,n,t))?n.sibling:null);ia(Io,1&Io.current);break;case 19:if(r=0!=(t&n.childLanes),0!=(64&e.flags)){if(r)return nu(e,n,t);n.flags|=64}if(null!==(a=n.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),ia(Io,Io.current),r)break;return null;case 23:case 24:return n.lanes=0,Al(e,n,t)}return tu(e,n,t)}Ll=0!=(16384&e.flags)}else Ll=!1;switch(n.lanes=0,n.tag){case 2:if(r=n.type,null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2),e=n.pendingProps,a=pa(n,ca.current),to(n,t),a=al(null,n,r,e,a,t),n.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(n.tag=1,n.memoizedState=null,n.updateQueue=null,ma(r)){var o=!0;va(n)}else o=!1;n.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,oo(n);var u=r.getDerivedStateFromProps;"function"==typeof u&&mo(n,r,u,e),a.updater=ho,n.stateNode=a,a._reactInternals=n,yo(n,r,e,t),n=$l(null,n,r,!0,o,t)}else n.tag=0,Il(null,n,a,t),n=n.child;return n;case 16:a=n.elementType;e:{switch(null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2),e=n.pendingProps,a=(o=a._init)(a._payload),n.type=a,o=n.tag=function(e){if("function"==typeof e)return Bi(e)?1:0;if(null!=e){if((e=e.$$typeof)===P)return 11;if(e===z)return 14}return 2}(a),e=Ya(a,e),o){case 0:n=Vl(null,n,a,e,t);break e;case 1:n=Bl(null,n,a,e,t);break e;case 11:n=Ml(null,n,a,e,t);break e;case 14:n=Fl(null,n,a,Ya(a.type,e),r,t);break e}throw Error(l(306,a,""))}return n;case 0:return r=n.type,a=n.pendingProps,Vl(e,n,r,a=n.elementType===r?a:Ya(r,a),t);case 1:return r=n.type,a=n.pendingProps,Bl(e,n,r,a=n.elementType===r?a:Ya(r,a),t);case 3:if(Hl(n),r=n.updateQueue,null===e||null===r)throw Error(l(282));if(r=n.pendingProps,a=null!==(a=n.memoizedState)?a.element:null,lo(e,n),co(n,r,null,t),(r=n.memoizedState.element)===a)Wo(),n=tu(e,n,t);else{if((o=(a=n.stateNode).hydrate)&&(Uo=Wr(n.stateNode.containerInfo.firstChild),Fo=n,o=Ao=!0),o){if(null!=(e=a.mutableSourceEagerHydrationData))for(a=0;a<e.length;a+=2)(o=e[a])._workInProgressVersionPrimary=e[a+1],qo.push(o);for(t=_o(n,null,r,t),n.child=t;t;)t.flags=-3&t.flags|1024,t=t.sibling}else Il(e,n,r,t),Wo();n=n.child}return n;case 5:return jo(n),null===e&&Bo(n),r=n.type,a=n.pendingProps,o=null!==e?e.memoizedProps:null,u=a.children,Vr(r,a)?u=null:null!==o&&Vr(r,o)&&(n.flags|=16),Dl(e,n),Il(e,n,u,t),n.child;case 6:return null===e&&Bo(n),null;case 13:return Kl(e,n,t);case 4:return Ro(n,n.stateNode.containerInfo),r=n.pendingProps,null===e?n.child=So(n,null,r,t):Il(e,n,r,t),n.child;case 11:return r=n.type,a=n.pendingProps,Ml(e,n,r,a=n.elementType===r?a:Ya(r,a),t);case 7:return Il(e,n,n.pendingProps,t),n.child;case 8:case 12:return Il(e,n,n.pendingProps.children,t),n.child;case 10:e:{r=n.type._context,a=n.pendingProps,u=n.memoizedProps,o=a.value;var i=n.type._context;if(ia(Ka,i._currentValue),i._currentValue=o,null!==u)if(i=u.value,0===(o=ur(i,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(i,o):1073741823))){if(u.children===a.children&&!fa.current){n=tu(e,n,t);break e}}else for(null!==(i=n.child)&&(i.return=n);null!==i;){var s=i.dependencies;if(null!==s){u=i.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===i.tag&&((c=uo(-1,t&-t)).tag=2,io(i,c)),i.lanes|=t,null!==(c=i.alternate)&&(c.lanes|=t),no(i.return,t),s.lanes|=t;break}c=c.next}}else u=10===i.tag&&i.type===n.type?null:i.child;if(null!==u)u.return=i;else for(u=i;null!==u;){if(u===n){u=null;break}if(null!==(i=u.sibling)){i.return=u.return,u=i;break}u=u.return}i=u}Il(e,n,a.children,t),n=n.child}return n;case 9:return a=n.type,r=(o=n.pendingProps).children,to(n,t),r=r(a=ro(a,o.unstable_observedBits)),n.flags|=1,Il(e,n,r,t),n.child;case 14:return o=Ya(a=n.type,n.pendingProps),Fl(e,n,a,o=Ya(a.type,o),r,t);case 15:return Ul(e,n,n.type,n.pendingProps,r,t);case 17:return r=n.type,a=n.pendingProps,a=n.elementType===r?a:Ya(r,a),null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2),n.tag=1,ma(r)?(e=!0,va(n)):e=!1,to(n,t),bo(n,r,a),yo(n,r,a,t),$l(null,n,r,!0,e,t);case 19:return nu(e,n,t);case 23:case 24:return Al(e,n,t)}throw Error(l(156,n.tag))},ns.prototype.render=function(e){Xi(e,this._internalRoot,null,null)},ns.prototype.unmount=function(){var e=this._internalRoot,n=e.containerInfo;Xi(null,e,null,(function(){n[Xr]=null}))},nn=function(e){13===e.tag&&(fi(e,4,si()),es(e,4))},tn=function(e){13===e.tag&&(fi(e,67108864,si()),es(e,67108864))},rn=function(e){if(13===e.tag){var n=si(),t=ci(e);fi(e,t,n),es(e,t)}},an=function(e,n){return n()},Ne=function(e,n,t){switch(n){case"input":if(te(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 a=ta(r);if(!a)throw Error(l(90));X(r),te(r,a)}}}break;case"textarea":se(e,t);break;case"select":null!=(n=t.value)&&le(e,!!t.multiple,n,!1)}},je=bi,Le=function(e,n,t,r,a){var o=Pu;Pu|=4;try{return $a(98,e.bind(null,n,t,r,a))}finally{0===(Pu=o)&&(Hu(),Wa())}},Ie=function(){0==(49&Pu)&&(function(){if(null!==ni){var e=ni;ni=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,pi(e,Da())}))}Wa()}(),zi())},Me=function(e,n){var t=Pu;Pu|=2;try{return e(n)}finally{0===(Pu=t)&&(Hu(),Wa())}};var os={Events:[ea,na,ta,Re,ze,zi,{current:!1}]},ls={findFiberByHostInstance:Zr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},us={bundleType:ls.bundleType,version:ls.version,rendererPackageName:ls.rendererPackageName,rendererConfig:ls.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ze(e))?null:e.stateNode},findFiberByHostInstance:ls.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var is=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!is.isDisabled&&is.supportsFiber)try{wa=is.inject(us),ka=is}catch(ge){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=os,t.createPortal=as,t.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(l(188));throw Error(l(268,Object.keys(e)))}return e=null===(e=Ze(n))?null:e.stateNode},t.flushSync=function(e,n){var t=Pu;if(0!=(48&t))return e(n);Pu|=1;try{if(e)return $a(99,e.bind(null,n))}finally{Pu=t,Wa()}},t.hydrate=function(e,n,t){if(!ts(n))throw Error(l(200));return rs(null,e,n,!0,t)},t.render=function(e,n,t){if(!ts(n))throw Error(l(200));return rs(null,e,n,!1,t)},t.unmountComponentAtNode=function(e){if(!ts(e))throw Error(l(40));return!!e._reactRootContainer&&(vi((function(){rs(null,null,e,!1,(function(){e._reactRootContainer=null,e[Xr]=null}))})),!0)},t.unstable_batchedUpdates=bi,t.unstable_createPortal=function(e,n){return as(e,n,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!ts(t))throw Error(l(200));if(null==e||void 0===e._reactInternals)throw Error(l(38));return rs(e,n,t,!1,r)},t.version="17.0.2"},{react:"3lC58","object-assign":"6zYED",scheduler:"137zm"}],"3lC58":[function(e,n,t){"use strict";n.exports=e("./cjs/react.production.min.js")},{"./cjs/react.production.min.js":"6c8YO"}],"6c8YO":[function(e,n,t){
/** @license React v17.0.2
* react.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.
*/
"use strict";var r=e("object-assign"),a=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var l=60109,u=60110,i=60112;t.Suspense=60113;var s=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;a=f("react.element"),o=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),l=f("react.provider"),u=f("react.context"),i=f("react.forward_ref"),t.Suspense=f("react.suspense"),s=f("react.memo"),c=f("react.lazy")}var d="function"==typeof Symbol&&Symbol.iterator;function p(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 m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h={};function g(e,n,t){this.props=e,this.context=n,this.refs=h,this.updater=t||m}function b(){}function v(e,n,t){this.props=e,this.context=n,this.refs=h,this.updater=t||m}g.prototype.isReactComponent={},g.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,n,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var y=v.prototype=new b;y.constructor=v,r(y,g.prototype),y.isPureReactComponent=!0;var w={current:null},k=Object.prototype.hasOwnProperty,x={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,t){var r,o={},l=null,u=null;if(null!=n)for(r in void 0!==n.ref&&(u=n.ref),void 0!==n.key&&(l=""+n.key),n)k.call(n,r)&&!x.hasOwnProperty(r)&&(o[r]=n[r]);var i=arguments.length-2;if(1===i)o.children=t;else if(1<i){for(var s=Array(i),c=0;c<i;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===o[r]&&(o[r]=i[r]);return{$$typeof:a,type:e,key:l,ref:u,props:o,_owner:w.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var _=/\/+/g;function C(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 N(e,n,t,r,l){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var i=!1;if(null===e)i=!0;else switch(u){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case a:case o:i=!0}}if(i)return l=l(i=e),e=""===r?"."+C(i,0):r,Array.isArray(l)?(t="",null!=e&&(t=e.replace(_,"$&/")+"/"),N(l,n,t,"",(function(e){return e}))):null!=l&&(S(l)&&(l=function(e,n){return{$$typeof:a,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(_,"$&/")+"/")+e)),n.push(l)),1;if(i=0,r=""===r?".":r+":",Array.isArray(e))for(var s=0;s<e.length;s++){var c=r+C(u=e[s],s);i+=N(u,n,t,c,l)}else if("function"==typeof(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e)))for(e=c.call(e),s=0;!(u=e.next()).done;)i+=N(u=u.value,n,t,c=r+C(u,s++),l);else if("object"===u)throw n=""+e,Error(p(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n));return i}function T(e,n,t){if(null==e)return e;var r=[],a=0;return N(e,r,"","",(function(e){return n.call(t,e,a++)})),r}function P(e){if(-1===e._status){var n=e._result;n=n(),e._status=0,e._result=n,n.then((function(n){0===e._status&&(n=n.default,e._status=1,e._result=n)}),(function(n){0===e._status&&(e._status=2,e._result=n)}))}if(1===e._status)return e._result;throw e._result}var O={current:null};function R(){var e=O.current;if(null===e)throw Error(p(321));return e}var z={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:T,forEach:function(e,n,t){T(e,(function(){n.apply(this,arguments)}),t)},count:function(e){var n=0;return T(e,(function(){n++})),n},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error(p(143));return e}},t.Component=g,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,t.cloneElement=function(e,n,t){if(null==e)throw Error(p(267,e));var o=r({},e.props),l=e.key,u=e.ref,i=e._owner;if(null!=n){if(void 0!==n.ref&&(u=n.ref,i=w.current),void 0!==n.key&&(l=""+n.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in n)k.call(n,c)&&!x.hasOwnProperty(c)&&(o[c]=void 0===n[c]&&void 0!==s?s[c]:n[c])}var c=arguments.length-2;if(1===c)o.children=t;else if(1<c){s=Array(c);for(var f=0;f<c;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:a,type:e.type,key:l,ref:u,props:o,_owner:i}},t.createContext=function(e,n){return void 0===n&&(n=null),(e={$$typeof:u,_calculateChangedBits:n,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var n=E.bind(null,e);return n.type=e,n},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:i,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,n){return{$$typeof:s,type:e,compare:void 0===n?null:n}},t.useCallback=function(e,n){return R().useCallback(e,n)},t.useContext=function(e,n){return R().useContext(e,n)},t.useDebugValue=function(){},t.useEffect=function(e,n){return R().useEffect(e,n)},t.useImperativeHandle=function(e,n,t){return R().useImperativeHandle(e,n,t)},t.useLayoutEffect=function(e,n){return R().useLayoutEffect(e,n)},t.useMemo=function(e,n){return R().useMemo(e,n)},t.useReducer=function(e,n,t){return R().useReducer(e,n,t)},t.useRef=function(e){return R().useRef(e)},t.useState=function(e){return R().useState(e)},t.version="17.0.2"},{"object-assign":"6zYED"}],"6zYED":[function(e,n,t){
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
"use strict";var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function l(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}n.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(e){return n[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,n){for(var t,u,i=l(e),s=1;s<arguments.length;s++){for(var c in t=Object(arguments[s]))a.call(t,c)&&(i[c]=t[c]);if(r){u=r(t);for(var f=0;f<u.length;f++)o.call(t,u[f])&&(i[u[f]]=t[u[f]])}}return i}},{}],"137zm":[function(e,n,t){"use strict";n.exports=e("./cjs/scheduler.production.min.js")},{"./cjs/scheduler.production.min.js":"IUNpP"}],IUNpP:[function(e,n,t){
/** @license React v0.20.2
* 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.
*/
"use strict";var r,a,o,l;if("object"==typeof performance&&"function"==typeof performance.now){var u=performance;t.unstable_now=function(){return u.now()}}else{var i=Date,s=i.now();t.unstable_now=function(){return i.now()-s}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,f=null,d=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(d,0),e}};r=function(e){null!==c?setTimeout(r,0,e):(c=e,setTimeout(d,0))},a=function(e,n){f=setTimeout(e,n)},o=function(){clearTimeout(f)},t.unstable_shouldYield=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,b=null,v=-1,y=5,w=0;t.unstable_shouldYield=function(){return t.unstable_now()>=w},l=function(){},t.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"):y=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,x=k.port2;k.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();w=e+y;try{b(!0,e)?x.postMessage(null):(g=!1,b=null)}catch(e){throw x.postMessage(null),e}}else g=!1},r=function(e){b=e,g||(g=!0,x.postMessage(null))},a=function(e,n){v=p((function(){e(t.unstable_now())}),n)},o=function(){m(v),v=-1}}function E(e,n){var t=e.length;e.push(n);e:for(;;){var r=t-1>>>1,a=e[r];if(!(void 0!==a&&0<C(a,n)))break e;e[r]=n,e[t]=a,t=r}}function S(e){return void 0===(e=e[0])?null:e}function _(e){var n=e[0];if(void 0!==n){var t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,l=e[o],u=o+1,i=e[u];if(void 0!==l&&0>C(l,t))void 0!==i&&0>C(i,l)?(e[r]=i,e[u]=t,r=u):(e[r]=l,e[o]=t,r=o);else{if(!(void 0!==i&&0>C(i,t)))break e;e[r]=i,e[u]=t,r=u}}}return n}return null}function C(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}var N=[],T=[],P=1,O=null,R=3,z=!1,j=!1,L=!1;function I(e){for(var n=S(T);null!==n;){if(null===n.callback)_(T);else{if(!(n.startTime<=e))break;_(T),n.sortIndex=n.expirationTime,E(N,n)}n=S(T)}}function M(e){if(L=!1,I(e),!j)if(null!==S(N))j=!0,r(F);else{var n=S(T);null!==n&&a(M,n.startTime-e)}}function F(e,n){j=!1,L&&(L=!1,o()),z=!0;var r=R;try{for(I(n),O=S(N);null!==O&&(!(O.expirationTime>n)||e&&!t.unstable_shouldYield());){var l=O.callback;if("function"==typeof l){O.callback=null,R=O.priorityLevel;var u=l(O.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?O.callback=u:O===S(N)&&_(N),I(n)}else _(N);O=S(N)}if(null!==O)var i=!0;else{var s=S(T);null!==s&&a(M,s.startTime-n),i=!1}return i}finally{O=null,R=r,z=!1}}var U=l;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){j||z||(j=!0,r(F))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return S(N)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var n=3;break;default:n=R}var t=R;R=n;try{return e()}finally{R=t}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=U,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=R;R=e;try{return n()}finally{R=t}},t.unstable_scheduleCallback=function(e,n,l){var u=t.unstable_now();switch("object"==typeof l&&null!==l?l="number"==typeof(l=l.delay)&&0<l?u+l:u:l=u,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return e={id:P++,callback:n,priorityLevel:e,startTime:l,expirationTime:i=l+i,sortIndex:-1},l>u?(e.sortIndex=l,E(T,e),null===S(N)&&e===S(T)&&(L?o():L=!0,a(M,l-u))):(e.sortIndex=i,E(N,e),j||z||(j=!0,r(F))),e},t.unstable_wrapCallback=function(e){var n=R;return function(){var t=R;R=n;try{return e.apply(this,arguments)}finally{R=t}}}},{}],"6xekz":[function(e,n,t){n.exports="/**\n * Forced light theme version\n */\n\n :root {\n --background-body: #fff;\n --background: #efefef;\n --background-alt: #f7f7f7;\n --selection: #9e9e9e;\n --text-main: #363636;\n --text-bright: #000;\n --text-muted: #70777f;\n --links: #0076d1;\n --focus: #0096bfab;\n --border: #dbdbdb;\n --code: #000;\n --animation-duration: 0.1s;\n --button-hover: #ddd;\n --scrollbar-thumb: rgb(213, 213, 213);\n --scrollbar-thumb-hover: rgb(196, 196, 196);\n --form-placeholder: #949494;\n --form-text: #000;\n --variable: #39a33c;\n --highlight: #ff0;\n --select-arrow: url(\"data:image/svg+xml;charset=utf-8,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='62.5' width='116.9' fill='%23161f27'%3E %3Cpath d='M115.3,1.6 C113.7,0 111.1,0 109.5,1.6 L58.5,52.7 L7.4,1.6 C5.8,0 3.2,0 1.6,1.6 C0,3.2 0,5.8 1.6,7.4 L55.5,61.3 C56.3,62.1 57.3,62.5 58.4,62.5 C59.4,62.5 60.5,62.1 61.3,61.3 L115.2,7.4 C116.9,5.8 116.9,3.2 115.3,1.6Z'/%3E %3C/svg%3E\");\n}\n\n html {\n scrollbar-color: rgb(213, 213, 213) #fff;\n scrollbar-color: var(--scrollbar-thumb) var(--background-body);\n scrollbar-width: thin;\n}\n\n body {\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;\n line-height: 1.4;\n max-width: 800px;\n margin: 20px auto;\n padding: 0 10px;\n word-wrap: break-word;\n color: #363636;\n color: var(--text-main);\n background: #fff;\n background: var(--background-body);\n text-rendering: optimizeLegibility;\n}\n\n button {\n transition:\n background-color 0.1s linear,\n border-color 0.1s linear,\n color 0.1s linear,\n box-shadow 0.1s linear,\n transform 0.1s ease;\n transition:\n background-color var(--animation-duration) linear,\n border-color var(--animation-duration) linear,\n color var(--animation-duration) linear,\n box-shadow var(--animation-duration) linear,\n transform var(--animation-duration) ease;\n}\n\n input {\n transition:\n background-color 0.1s linear,\n border-color 0.1s linear,\n color 0.1s linear,\n box-shadow 0.1s linear,\n transform 0.1s ease;\n transition:\n background-color var(--animation-duration) linear,\n border-color var(--animation-duration) linear,\n color var(--animation-duration) linear,\n box-shadow var(--animation-duration) linear,\n transform var(--animation-duration) ease;\n}\n\n textarea {\n transition:\n background-color 0.1s linear,\n border-color 0.1s linear,\n color 0.1s linear,\n box-shadow 0.1s linear,\n transform 0.1s ease;\n transition:\n background-color var(--animation-duration) linear,\n border-color var(--animation-duration) linear,\n color var(--animation-duration) linear,\n box-shadow var(--animation-duration) linear,\n transform var(--animation-duration) ease;\n}\n\n h1 {\n font-size: 2.2em;\n margin-top: 0;\n}\n\n h1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin-bottom: 12px;\n margin-top: 24px;\n}\n\n h1 {\n color: #000;\n color: var(--text-bright);\n}\n\n h2 {\n color: #000;\n color: var(--text-bright);\n}\n\n h3 {\n color: #000;\n color: var(--text-bright);\n}\n\n h4 {\n color: #000;\n color: var(--text-bright);\n}\n\n h5 {\n color: #000;\n color: var(--text-bright);\n}\n\n h6 {\n color: #000;\n color: var(--text-bright);\n}\n\n strong {\n color: #000;\n color: var(--text-bright);\n}\n\n h1,\nh2,\nh3,\nh4,\nh5,\nh6,\nb,\nstrong,\nth {\n font-weight: 600;\n}\n\n q::before {\n content: none;\n}\n\n q::after {\n content: none;\n}\n\n blockquote {\n border-left: 4px solid #0096bfab;\n border-left: 4px solid var(--focus);\n margin: 1.5em 0;\n padding: 0.5em 1em;\n font-style: italic;\n}\n\n q {\n border-left: 4px solid #0096bfab;\n border-left: 4px solid var(--focus);\n margin: 1.5em 0;\n padding: 0.5em 1em;\n font-style: italic;\n}\n\n blockquote > footer {\n font-style: normal;\n border: 0;\n}\n\n blockquote cite {\n font-style: normal;\n}\n\n address {\n font-style: normal;\n}\n\n a[href^='mailto\\:']::before {\n content: '📧 ';\n}\n\n a[href^='tel\\:']::before {\n content: '📞 ';\n}\n\n a[href^='sms\\:']::before {\n content: '💬 ';\n}\n\n mark {\n background-color: #ff0;\n background-color: var(--highlight);\n border-radius: 2px;\n padding: 0 2px 0 2px;\n color: #000;\n}\n\n button,\nselect,\ninput[type='submit'],\ninput[type='button'],\ninput[type='checkbox'],\ninput[type='range'],\ninput[type='radio'] {\n cursor: pointer;\n}\n\n input:not([type='checkbox']):not([type='radio']),\nselect {\n display: block;\n}\n\n input {\n color: #000;\n color: var(--form-text);\n background-color: #efefef;\n background-color: var(--background);\n font-family: inherit;\n font-size: inherit;\n margin-right: 6px;\n margin-bottom: 6px;\n padding: 10px;\n border: none;\n border-radius: 6px;\n outline: none;\n}\n\n button {\n color: #000;\n color: var(--form-text);\n background-color: #efefef;\n background-color: var(--background);\n font-family: inherit;\n font-size: inherit;\n margin-right: 6px;\n margin-bottom: 6px;\n padding: 10px;\n border: none;\n border-radius: 6px;\n outline: none;\n}\n\n textarea {\n color: #000;\n color: var(--form-text);\n background-color: #efefef;\n background-color: var(--background);\n font-family: inherit;\n font-size: inherit;\n margin-right: 6px;\n margin-bottom: 6px;\n padding: 10px;\n border: none;\n border-radius: 6px;\n outline: none;\n}\n\n select {\n color: #000;\n color: var(--form-text);\n background-color: #efefef;\n background-color: var(--background);\n font-family: inherit;\n font-size: inherit;\n margin-right: 6px;\n margin-bottom: 6px;\n padding: 10px;\n border: none;\n border-radius: 6px;\n outline: none;\n}\n\n input[type='checkbox'],\ninput[type='radio'] {\n height: 1em;\n width: 1em;\n}\n\n input[type='radio'] {\n border-radius: 100%;\n}\n\n input {\n vertical-align: top;\n}\n\n label {\n vertical-align: middle;\n margin-bottom: 4px;\n display: inline-block;\n}\n\n input:not([type='checkbox']):not([type='radio']),\ninput[type='range'],\nselect,\nbutton,\ntextarea {\n -webkit-appearance: none;\n}\n\n textarea {\n display: block;\n margin-right: 0;\n box-sizing: border-box;\n resize: vertical;\n}\n\n textarea:not([cols]) {\n width: 100%;\n}\n\n textarea:not([rows]) {\n min-height: 40px;\n height: 140px;\n}\n\n select {\n background: #efefef url(\"data:image/svg+xml;charset=utf-8,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='62.5' width='116.9' fill='%23161f27'%3E %3Cpath d='M115.3,1.6 C113.7,0 111.1,0 109.5,1.6 L58.5,52.7 L7.4,1.6 C5.8,0 3.2,0 1.6,1.6 C0,3.2 0,5.8 1.6,7.4 L55.5,61.3 C56.3,62.1 57.3,62.5 58.4,62.5 C59.4,62.5 60.5,62.1 61.3,61.3 L115.2,7.4 C116.9,5.8 116.9,3.2 115.3,1.6Z'/%3E %3C/svg%3E\") calc(100% - 12px) 50% / 12px no-repeat;\n background: var(--background) var(--select-arrow) calc(100% - 12px) 50% / 12px no-repeat;\n padding-right: 35px;\n}\n\n select::-ms-expand {\n display: none;\n}\n\n select[multiple] {\n padding-right: 10px;\n background-image: none;\n overflow-y: auto;\n}\n\n button,\ninput[type='submit'],\ninput[type='button'] {\n padding-right: 30px;\n padding-left: 30px;\n}\n\n button:hover {\n background: #ddd;\n background: var(--button-hover);\n}\n\n input[type='submit']:hover {\n background: #ddd;\n background: var(--button-hover);\n}\n\n input[type='button']:hover {\n background: #ddd;\n background: var(--button-hover);\n}\n\n input:focus {\n box-shadow: 0 0 0 2px #0096bfab;\n box-shadow: 0 0 0 2px var(--focus);\n}\n\n select:focus {\n box-shadow: 0 0 0 2px #0096bfab;\n box-shadow: 0 0 0 2px var(--focus);\n}\n\n button:focus {\n box-shadow: 0 0 0 2px #0096bfab;\n box-shadow: 0 0 0 2px var(--focus);\n}\n\n textarea:focus {\n box-shadow: 0 0 0 2px #0096bfab;\n box-shadow: 0 0 0 2px var(--focus);\n}\n\n input[type='checkbox']:active,\ninput[type='radio']:active,\ninput[type='submit']:active,\ninput[type='button']:active,\ninput[type='range']:active,\nbutton:active {\n transform: translateY(2px);\n}\n\n input:disabled,\nselect:disabled,\nbutton:disabled,\ntextarea:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n\n ::-moz-placeholder {\n color: #949494;\n color: var(--form-placeholder);\n}\n\n :-ms-input-placeholder {\n color: #949494;\n color: var(--form-placeholder);\n}\n\n ::-ms-input-placeholder {\n color: #949494;\n color: var(--form-placeholder);\n}\n\n ::placeholder {\n color: #949494;\n color: var(--form-placeholder);\n}\n\n fieldset {\n border: 1px #0096bfab solid;\n border: 1px var(--focus) solid;\n border-radius: 6px;\n margin: 0;\n margin-bottom: 12px;\n padding: 10px;\n}\n\n legend {\n font-size: 0.9em;\n font-weight: 600;\n}\n\n input[type='range'] {\n margin: 10px 0;\n padding: 10px 0;\n background: transparent;\n}\n\n input[type='range']:focus {\n outline: none;\n}\n\n input[type='range']::-webkit-slider-runnable-track {\n width: 100%;\n height: 9.5px;\n -webkit-transition: 0.2s;\n transition: 0.2s;\n background: #efefef;\n background: var(--background);\n border-radius: 3px;\n}\n\n input[type='range']::-webkit-slider-thumb {\n box-shadow: 0 1px 1px #000, 0 0 1px #0d0d0d;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: #dbdbdb;\n background: var(--border);\n -webkit-appearance: none;\n margin-top: -7px;\n}\n\n input[type='range']:focus::-webkit-slider-runnable-track {\n background: #efefef;\n background: var(--background);\n}\n\n input[type='range']::-moz-range-track {\n width: 100%;\n height: 9.5px;\n -moz-transition: 0.2s;\n transition: 0.2s;\n background: #efefef;\n background: var(--background);\n border-radius: 3px;\n}\n\n input[type='range']::-moz-range-thumb {\n box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: #dbdbdb;\n background: var(--border);\n}\n\n input[type='range']::-ms-track {\n width: 100%;\n height: 9.5px;\n background: transparent;\n border-color: transparent;\n border-width: 16px 0;\n color: transparent;\n}\n\n input[type='range']::-ms-fill-lower {\n background: #efefef;\n background: var(--background);\n border: 0.2px solid #010101;\n border-radius: 3px;\n box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;\n}\n\n input[type='range']::-ms-fill-upper {\n background: #efefef;\n background: var(--background);\n border: 0.2px solid #010101;\n border-radius: 3px;\n box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;\n}\n\n input[type='range']::-ms-thumb {\n box-shadow: 1px 1px 1px #000, 0 0 1px #0d0d0d;\n border: 1px solid #000;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: #dbdbdb;\n background: var(--border);\n}\n\n input[type='range']:focus::-ms-fill-lower {\n background: #efefef;\n background: var(--background);\n}\n\n input[type='range']:focus::-ms-fill-upper {\n background: #efefef;\n background: var(--background);\n}\n\n a {\n text-decoration: none;\n color: #0076d1;\n color: var(--links);\n}\n\n a:hover {\n text-decoration: underline;\n}\n\n code {\n background: #efefef;\n background: var(--background);\n color: #000;\n color: var(--code);\n padding: 2.5px 5px;\n border-radius: 6px;\n font-size: 1em;\n}\n\n samp {\n background: #efefef;\n background: var(--background);\n color: #000;\n color: var(--code);\n padding: 2.5px 5px;\n border-radius: 6px;\n font-size: 1em;\n}\n\n time {\n background: #efefef;\n background: var(--background);\n color: #000;\n color: var(--code);\n padding: 2.5px 5px;\n border-radius: 6px;\n font-size: 1em;\n}\n\n pre > code {\n padding: 10px;\n display: block;\n overflow-x: auto;\n}\n\n var {\n color: #39a33c;\n color: var(--variable);\n font-style: normal;\n font-family: monospace;\n}\n\n kbd {\n background: #efefef;\n background: var(--background);\n border: 1px solid #dbdbdb;\n border: 1px solid var(--border);\n border-radius: 2px;\n color: #363636;\n color: var(--text-main);\n padding: 2px 4px 2px 4px;\n}\n\n img,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n hr {\n border: none;\n border-top: 1px solid #dbdbdb;\n border-top: 1px solid var(--border);\n}\n\n table {\n border-collapse: collapse;\n margin-bottom: 10px;\n width: 100%;\n table-layout: fixed;\n}\n\n table caption {\n text-align: left;\n}\n\n td,\nth {\n padding: 6px;\n text-align: left;\n vertical-align: top;\n word-wrap: break-word;\n}\n\n thead {\n border-bottom: 1px solid #dbdbdb;\n border-bottom: 1px solid var(--border);\n}\n\n tfoot {\n border-top: 1px solid #dbdbdb;\n border-top: 1px solid var(--border);\n}\n\n tbody tr:nth-child(even) {\n background-color: #f7f7f7;\n background-color: var(--background-alt);\n}\n\n ::-webkit-scrollbar {\n height: 10px;\n width: 10px;\n}\n\n ::-webkit-scrollbar-track {\n background: #efefef;\n background: var(--background);\n border-radius: 6px;\n}\n\n ::-webkit-scrollbar-thumb {\n background: rgb(213, 213, 213);\n background: var(--scrollbar-thumb);\n border-radius: 6px;\n}\n\n ::-webkit-scrollbar-thumb:hover {\n background: rgb(196, 196, 196);\n background: var(--scrollbar-thumb-hover);\n}\n\n ::-moz-selection {\n background-color: #9e9e9e;\n background-color: var(--selection);\n color: #000;\n color: var(--text-bright);\n}\n\n ::selection {\n background-color: #9e9e9e;\n background-color: var(--selection);\n color: #000;\n color: var(--text-bright);\n}\n\n details {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background-color: #f7f7f7;\n background-color: var(--background-alt);\n padding: 10px 10px 0;\n margin: 1em 0;\n border-radius: 6px;\n overflow: hidden;\n}\n\n details[open] {\n padding: 10px;\n}\n\n details > :last-child {\n margin-bottom: 0;\n}\n\n details[open] summary {\n margin-bottom: 10px;\n}\n\n summary {\n display: list-item;\n background-color: #efefef;\n background-color: var(--background);\n padding: 10px;\n margin: -10px -10px 0;\n cursor: pointer;\n outline: none;\n}\n\n summary:hover,\nsummary:focus {\n text-decoration: underline;\n}\n\n details > :not(summary) {\n margin-top: 0;\n}\n\n summary::-webkit-details-marker {\n color: #363636;\n color: var(--text-main);\n}\n\n footer {\n border-top: 1px solid #dbdbdb;\n border-top: 1px solid var(--border);\n padding-top: 10px;\n color: #70777f;\n color: var(--text-muted);\n}\n\n body > footer {\n margin-top: 40px;\n}\n\n @media print {\n body,\n pre,\n code,\n summary,\n details,\n button,\n input,\n textarea {\n background-color: #fff;\n }\n\n button,\n input,\n textarea {\n border: 1px solid #000;\n }\n\n body,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n pre,\n code,\n button,\n input,\n textarea,\n footer,\n summary,\n strong {\n color: #000;\n }\n\n summary::marker {\n color: #000;\n }\n\n summary::-webkit-details-marker {\n color: #000;\n }\n\n tbody tr:nth-child(even) {\n background-color: #f2f2f2;\n }\n\n a {\n color: #00f;\n text-decoration: underline;\n }\n}\n\n"},{}],"4w5y8":[function(e,n,t){e("@parcel/transformer-js/lib/esmodule-helpers.js").defineInteropFlag(t);const r=(e,n)=>{if(!e||!n)return!1;if(Object.keys(e).length!==Object.keys(n).length)return!1;for(let t in e){if(Array.isArray(e[t]))return a(e[t],n[t]);if(e[t]!==n[t])return!1}return!0},a=(e,n)=>{if(!e||!n)return!1;if(e.length!==n.length)return!1;for(let a=0;a<e.length;a++){if("object"==typeof(t=e[a])&&null!==t&&!Array.isArray(t))return r(e[a],n[a]);if(e[a]!==n[a])return!1}var t;return!0};t.default={strictCompare:(e,n)=>e===n,objectCompare:r,arrayCompare:a,approximateCompare:e=>(n,t)=>Math.abs(n-t)<e}},{"@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8"}],PT9Wn:[function(e,n,t){var r=e("@parcel/transformer-js/lib/esmodule-helpers.js");r.defineInteropFlag(t),r.export(t,"Heading",(function(){return l}));var a=e("react"),o=r.interopDefault(a);const l=()=>o.default.createElement(o.default.Fragment,null,o.default.createElement("h1",null,"Lista de exercícios - Introdução a Javascript"),o.default.createElement("p",null,"Seja bem vindo(a) a lista de exercícios de Introdução a Javascript!"),o.default.createElement("p",null,'Nessa página, você pode selecionar a função que deseja testar no seletor abaixo, e depois clicar em "Executar" para verificar seu funcionamento. Você também pode selecionar a primeira opção para executar todos os testes de uma vez e ter uma visão geral de quais exercícios acertou ou errou.'))},{react:"3lC58","@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8"}],"4sjzY":[function(e,n,t){var r=e("@parcel/transformer-js/lib/esmodule-helpers.js");r.defineInteropFlag(t),r.export(t,"TestsSelect",(function(){return l}));var a=e("react"),o=r.interopDefault(a);const l=({tests:e,setSelectedTest:n,selectedTest:t,getTestResult:r})=>{const[l,u]=a.useState((()=>{const e=localStorage.getItem("selectedTest");return null===e?"":e}));return a.useEffect((()=>{t?.funcName!==e[l]?.funcName&&n(e[l])}),[l]),a.useEffect((()=>{l&&localStorage.setItem("selectedTest",l)}),[l]),o.default.createElement("select",{value:l,onChange:e=>u(e.target.value)},o.default.createElement("option",null,"Executar todos"),e.map(((e,n)=>{const t=r(e);return o.default.createElement("option",{key:e.funcName,value:n,style:{color:null!==t&&(t?"green":"red")}},e.exerciseNumber," - ",e.funcName)})))}},{react:"3lC58","@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8"}],"3swYc":[function(e,n,t){var r=e("@parcel/transformer-js/lib/esmodule-helpers.js");r.defineInteropFlag(t),r.export(t,"TestRunner",(function(){return s}));var a=e("react"),o=r.interopDefault(a),l=e("../../core"),u=e("./TestError"),i=e("./TestSuccess");const s=({test:e,setTestResultGlobal:n})=>{const[t,r]=a.useState(null);return o.default.createElement("div",null,o.default.createElement("h3",null,"Questão ",e.exerciseNumber," - ",e.funcName),o.default.createElement("button",{onClick:()=>{const t=l.executeTest(e);n(e,t),r(t)}},"Executar"),t&&(t.success?o.default.createElement(i.TestSuccess,{testCasesPassed:e.testCases.length}):o.default.createElement(u.TestErrorComponent,{failedCase:t.failedCase,test:e})))}},{react:"3lC58","../../core":"4jtqg","./TestError":"VrsB3","./TestSuccess":"4HHt3","@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8"}],"4jtqg":[function(e,n,t){var r=e("@parcel/transformer-js/lib/esmodule-helpers.js");r.defineInteropFlag(t),r.export(t,"executeTest",(function(){return l})),r.export(t,"executeTestCase",(function(){return u})),r.export(t,"wrapWithConsoleReturn",(function(){return i})),r.export(t,"wrapWithPromptInputs",(function(){return s}));var a=e("./types"),o=e("lodash.clonedeep");const l=e=>{let n=window[e.funcName];e.inputType===a.INPUT_TYPES.PROMPT&&(n=i(s(n)));const t=e.testCases.map((t=>u(t,n,e.validator))),r=t.findIndex((e=>!e.success));if(-1!==r){const e=t[r];return{success:!1,failedCase:{caseNumber:r,expectedValue:e.expectedValue,realValue:e.realValue}}}return{success:!0}},u=(e,n,t)=>{const r=n(...o(e.inputs));return t(e.output,r)?{success:!0}:{success:!1,expectedValue:e.output,realValue:r}},i=e=>(...n)=>{const t=console.log;let r;return console.log=(...e)=>{r=e[0],t(...e)},e(...n),console.log=t,r},s=e=>{let n=0;return(...t)=>{const r=window.prompt;window.prompt=()=>String(t[n++]);const a=e();return window.prompt=r,n=0,a}}},{"./types":"4XE9t","@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8","lodash.clonedeep":"2BE5L"}],"2BE5L":[function(e,n,t){var r=arguments[3],a=200,o="__lodash_hash_undefined__",l=9007199254740991,u="[object Arguments]",i="[object Array]",s="[object Boolean]",c="[object Date]",f="[object Error]",d="[object Function]",p="[object GeneratorFunction]",m="[object Map]",h="[object Number]",g="[object Object]",b="[object Promise]",v="[object RegExp]",y="[object Set]",w="[object String]",k="[object Symbol]",x="[object WeakMap]",E="[object ArrayBuffer]",S="[object DataView]",_="[object Float32Array]",C="[object Float64Array]",N="[object Int8Array]",T="[object Int16Array]",P="[object Int32Array]",O="[object Uint8Array]",R="[object Uint8ClampedArray]",z="[object Uint16Array]",j="[object Uint32Array]",L=/[\\^$.*+?()[\]{}|]/g,I=/\w*$/,M=/^\[object .+?Constructor\]$/,F=/^(?:0|[1-9]\d*)$/,U={};U[u]=U[i]=U[E]=U[S]=U[s]=U[c]=U[_]=U[C]=U[N]=U[T]=U[P]=U[m]=U[h]=U[g]=U[v]=U[y]=U[w]=U[k]=U[O]=U[R]=U[z]=U[j]=!0,U[f]=U[d]=U[x]=!1;var A="object"==typeof r&&r&&r.Object===Object&&r,D="object"==typeof self&&self&&self.Object===Object&&self,V=A||D||Function("return this")(),B="object"==typeof t&&t&&!t.nodeType&&t,$=B&&"object"==typeof n&&n&&!n.nodeType&&n,H=$&&$.exports===B;function W(e,n){return e.set(n[0],n[1]),e}function q(e,n){return e.add(n),e}function Q(e,n){for(var t=-1,r=e?e.length:0;++t<r&&!1!==n(e[t],t,e););return e}function Y(e,n){for(var t=-1,r=n.length,a=e.length;++t<r;)e[a+t]=n[t];return e}function K(e,n,t,r){var a=-1,o=e?e.length:0;for(r&&o&&(t=e[++a]);++a<o;)t=n(t,e[a],a,e);return t}function G(e,n){for(var t=-1,r=Array(e);++t<e;)r[t]=n(t);return r}function X(e,n){return null==e?void 0:e[n]}function J(e){var n=!1;if(null!=e&&"function"!=typeof e.toString)try{n=!!(e+"")}catch(e){}return n}function Z(e){var n=-1,t=Array(e.size);return e.forEach((function(e,r){t[++n]=[r,e]})),t}function ee(e,n){return function(t){return e(n(t))}}function ne(e){var n=-1,t=Array(e.size);return e.forEach((function(e){t[++n]=e})),t}var te,re=Array.prototype,ae=Function.prototype,oe=Object.prototype,le=V["__core-js_shared__"],ue=(te=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||""))?"Symbol(src)_1."+te:"",ie=ae.toString,se=oe.hasOwnProperty,ce=oe.toString,fe=RegExp("^"+ie.call(se).replace(L,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),de=H?V.Buffer:void 0,pe=V.Symbol,me=V.Uint8Array,he=ee(Object.getPrototypeOf,Object),ge=Object.create,be=oe.propertyIsEnumerable,ve=re.splice,ye=Object.getOwnPropertySymbols,we=de?de.isBuffer:void 0,ke=ee(Object.keys,Object),xe=Pn(V,"DataView"),Ee=Pn(V,"Map"),Se=Pn(V,"Promise"),_e=Pn(V,"Set"),Ce=Pn(V,"WeakMap"),Ne=Pn(Object,"create"),Te=An(xe),Pe=An(Ee),Oe=An(Se),Re=An(_e),ze=An(Ce),je=pe?pe.prototype:void 0,Le=je?je.valueOf:void 0;function Ie(e){var n=-1,t=e?e.length:0;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}function Me(){this.__data__=Ne?Ne(null):{}}function Fe(e){return this.has(e)&&delete this.__data__[e]}function Ue(e){var n=this.__data__;if(Ne){var t=n[e];return t===o?void 0:t}return se.call(n,e)?n[e]:void 0}function Ae(e){var n=this.__data__;return Ne?void 0!==n[e]:se.call(n,e)}function De(e,n){return this.__data__[e]=Ne&&void 0===n?o:n,this}function Ve(e){var n=-1,t=e?e.length:0;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}function Be(){this.__data__=[]}function $e(e){var n=this.__data__,t=un(n,e);return!(t<0)&&(t==n.length-1?n.pop():ve.call(n,t,1),!0)}function He(e){var n=this.__data__,t=un(n,e);return t<0?void 0:n[t][1]}function We(e){return un(this.__data__,e)>-1}function qe(e,n){var t=this.__data__,r=un(t,e);return r<0?t.push([e,n]):t[r][1]=n,this}function Qe(e){var n=-1,t=e?e.length:0;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}function Ye(){this.__data__={hash:new Ie,map:new(Ee||Ve),string:new Ie}}function Ke(e){return Tn(this,e).delete(e)}function Ge(e){return Tn(this,e).get(e)}function Xe(e){return Tn(this,e).has(e)}function Je(e,n){return Tn(this,e).set(e,n),this}function Ze(e){this.__data__=new Ve(e)}function en(){this.__data__=new Ve}function nn(e){return this.__data__.delete(e)}function tn(e){return this.__data__.get(e)}function rn(e){return this.__data__.has(e)}function an(e,n){var t=this.__data__;if(t instanceof Ve){var r=t.__data__;if(!Ee||r.length<a-1)return r.push([e,n]),this;t=this.__data__=new Qe(r)}return t.set(e,n),this}function on(e,n){var t=$n(e)||Bn(e)?G(e.length,String):[],r=t.length,a=!!r;for(var o in e)!n&&!se.call(e,o)||a&&("length"==o||In(o,r))||t.push(o);return t}function ln(e,n,t){var r=e[n];se.call(e,n)&&Vn(r,t)&&(void 0!==t||n in e)||(e[n]=t)}function un(e,n){for(var t=e.length;t--;)if(Vn(e[t][0],n))return t;return-1}function sn(e,n){return e&&_n(n,Xn(n),e)}function cn(e,n,t,r,a,o,l){var i;if(r&&(i=o?r(e,a,o,l):r(e)),void 0!==i)return i;if(!Kn(e))return e;var s=$n(e);if(s){if(i=zn(e),!n)return Sn(e,i)}else{var c=Rn(e),f=c==d||c==p;if(qn(e))return gn(e,n);if(c==g||c==u||f&&!o){if(J(e))return o?e:{};if(i=jn(f?{}:e),!n)return Cn(e,sn(i,e))}else{if(!U[c])return o?e:{};i=Ln(e,c,cn,n)}}l||(l=new Ze);var m=l.get(e);if(m)return m;if(l.set(e,i),!s)var h=t?Nn(e):Xn(e);return Q(h||e,(function(a,o){h&&(a=e[o=a]),ln(i,o,cn(a,n,t,r,o,e,l))})),i}function fn(e){return Kn(e)?ge(e):{}}function dn(e,n,t){var r=n(e);return $n(e)?r:Y(r,t(e))}function pn(e){return ce.call(e)}function mn(e){return!(!Kn(e)||Fn(e))&&(Qn(e)||J(e)?fe:M).test(An(e))}function hn(e){if(!Un(e))return ke(e);var n=[];for(var t in Object(e))se.call(e,t)&&"constructor"!=t&&n.push(t);return n}function gn(e,n){if(n)return e.slice();var t=new e.constructor(e.length);return e.copy(t),t}function bn(e){var n=new e.constructor(e.byteLength);return new me(n).set(new me(e)),n}function vn(e,n){var t=n?bn(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}function yn(e,n,t){return K(n?t(Z(e),!0):Z(e),W,new e.constructor)}function wn(e){var n=new e.constructor(e.source,I.exec(e));return n.lastIndex=e.lastIndex,n}function kn(e,n,t){return K(n?t(ne(e),!0):ne(e),q,new e.constructor)}function xn(e){return Le?Object(Le.call(e)):{}}function En(e,n){var t=n?bn(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function Sn(e,n){var t=-1,r=e.length;for(n||(n=Array(r));++t<r;)n[t]=e[t];return n}function _n(e,n,t,r){t||(t={});for(var a=-1,o=n.length;++a<o;){var l=n[a],u=r?r(t[l],e[l],l,t,e):void 0;ln(t,l,void 0===u?e[l]:u)}return t}function Cn(e,n){return _n(e,On(e),n)}function Nn(e){return dn(e,Xn,On)}function Tn(e,n){var t=e.__data__;return Mn(n)?t["string"==typeof n?"string":"hash"]:t.map}function Pn(e,n){var t=X(e,n);return mn(t)?t:void 0}Ie.prototype.clear=Me,Ie.prototype.delete=Fe,Ie.prototype.get=Ue,Ie.prototype.has=Ae,Ie.prototype.set=De,Ve.prototype.clear=Be,Ve.prototype.delete=$e,Ve.prototype.get=He,Ve.prototype.has=We,Ve.prototype.set=qe,Qe.prototype.clear=Ye,Qe.prototype.delete=Ke,Qe.prototype.get=Ge,Qe.prototype.has=Xe,Qe.prototype.set=Je,Ze.prototype.clear=en,Ze.prototype.delete=nn,Ze.prototype.get=tn,Ze.prototype.has=rn,Ze.prototype.set=an;var On=ye?ee(ye,Object):Jn,Rn=pn;function zn(e){var n=e.length,t=e.constructor(n);return n&&"string"==typeof e[0]&&se.call(e,"index")&&(t.index=e.index,t.input=e.input),t}function jn(e){return"function"!=typeof e.constructor||Un(e)?{}:fn(he(e))}function Ln(e,n,t,r){var a=e.constructor;switch(n){case E:return bn(e);case s:case c:return new a(+e);case S:return vn(e,r);case _:case C:case N:case T:case P:case O:case R:case z:case j:return En(e,r);case m:return yn(e,r,t);case h:case w:return new a(e);case v:return wn(e);case y:return kn(e,r,t);case k:return xn(e)}}function In(e,n){return!!(n=null==n?l:n)&&("number"==typeof e||F.test(e))&&e>-1&&e%1==0&&e<n}function Mn(e){var n=typeof e;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==e:null===e}function Fn(e){return!!ue&&ue in e}function Un(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||oe)}function An(e){if(null!=e){try{return ie.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Dn(e){return cn(e,!0,!0)}function Vn(e,n){return e===n||e!=e&&n!=n}function Bn(e){return Wn(e)&&se.call(e,"callee")&&(!be.call(e,"callee")||ce.call(e)==u)}(xe&&Rn(new xe(new ArrayBuffer(1)))!=S||Ee&&Rn(new Ee)!=m||Se&&Rn(Se.resolve())!=b||_e&&Rn(new _e)!=y||Ce&&Rn(new Ce)!=x)&&(Rn=function(e){var n=ce.call(e),t=n==g?e.constructor:void 0,r=t?An(t):void 0;if(r)switch(r){case Te:return S;case Pe:return m;case Oe:return b;case Re:return y;case ze:return x}return n});var $n=Array.isArray;function Hn(e){return null!=e&&Yn(e.length)&&!Qn(e)}function Wn(e){return Gn(e)&&Hn(e)}var qn=we||Zn;function Qn(e){var n=Kn(e)?ce.call(e):"";return n==d||n==p}function Yn(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function Kn(e){var n=typeof e;return!!e&&("object"==n||"function"==n)}function Gn(e){return!!e&&"object"==typeof e}function Xn(e){return Hn(e)?on(e):hn(e)}function Jn(){return[]}function Zn(){return!1}n.exports=Dn},{}],VrsB3:[function(e,n,t){var r=e("@parcel/transformer-js/lib/esmodule-helpers.js");r.defineInteropFlag(t),r.export(t,"TestErrorComponent",(function(){return l}));var a=e("react"),o=r.interopDefault(a);const l=({failedCase:e,test:n})=>o.default.createElement("div",null,o.default.createElement("h4",{style:{color:"red"}},"Caso de teste: ",e.caseNumber+1),o.default.createElement("p",null,o.default.createElement("strong",{style:{color:"red"}},"Entradas:")),o.default.createElement("ul",{style:{color:"red"}},n.inputsNames.map(((t,r)=>o.default.createElement("li",{style:{color:"red"}},o.default.createElement("strong",{style:{color:"red"}},t,":")," ",JSON.stringify(n.testCases[e.caseNumber].inputs[r]))))),o.default.createElement("p",{style:{color:"red"}},o.default.createElement("strong",{style:{color:"red"}},"Saídas:")),o.default.createElement("ul",{style:{color:"red"}},o.default.createElement("li",{style:{color:"red"}},o.default.createElement("strong",{style:{color:"red"}},"Esperada: "),JSON.stringify(e.expectedValue)),o.default.createElement("li",{style:{color:"red"}},o.default.createElement("strong",{style:{color:"red"}},"Real: "),JSON.stringify(e.realValue))))},{react:"3lC58","@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8"}],"4HHt3":[function(e,n,t){var r=e("@parcel/transformer-js/lib/esmodule-helpers.js");r.defineInteropFlag(t),r.export(t,"TestSuccess",(function(){return l}));var a=e("react"),o=r.interopDefault(a);const l=({testCasesPassed:e})=>o.default.createElement("div",null,o.default.createElement("h4",{style:{color:"green"}},"Todos os ",e," casos de teste passaram!"))},{react:"3lC58","@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8"}],"5sFQ0":[function(e,n,t){var r=e("@parcel/transformer-js/lib/esmodule-helpers.js");r.defineInteropFlag(t),r.export(t,"AllTestsRunner",(function(){return u}));var a=e("react"),o=r.interopDefault(a),l=e("../../core");const u=({tests:e})=>{const[n,t]=a.useState([]);return o.default.createElement("div",null,o.default.createElement("h3",null,"Resultado de todos os testes"),o.default.createElement("button",{onClick:()=>{t(e.map(l.executeTest))}},"Executar todos os testes"),n.map(((n,t)=>o.default.createElement("p",{style:{color:n.success?"green":"red"}},"Questão ",e[t].exerciseNumber,": ",n.success?"Funciona":"Não funciona"))))}},{react:"3lC58","../../core":"4jtqg","@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8"}],"5bxix":[function(e,n,t){var r=e("@parcel/transformer-js/lib/esmodule-helpers.js");r.defineInteropFlag(t),r.export(t,"useTestResults",(function(){return o}));var a=e("react");const o=()=>{const[e,n]=a.useState({});return((e,n)=>{const t=a.useRef(!1);a.useEffect((()=>{t.current&&e(),t.current=!0}),n)})((()=>{localStorage.setItem("testResults",JSON.stringify(e))}),[e]),a.useEffect((()=>{const e=localStorage.getItem("testResults");e&&n(JSON.parse(e))}),[]),{getTestResult:n=>n.funcName in e?e[n.funcName]:null,setTestResult:(e,t)=>{n((n=>({...n,[e.funcName]:t.success})))}}}},{react:"3lC58","@parcel/transformer-js/lib/esmodule-helpers.js":"1rdR8"}]},["56quE"],"56quE");
//# sourceMappingURL=tests.js.map