%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /mnt/bigblue/static/js/
Upload File :
Create Path :
Current File : //mnt/bigblue/static/js/main.1878bbab.js

/*! For license information please see main.1878bbab.js.LICENSE.txt */
!function(){"use strict";var e={110:function(e,t,n){var r=n(309),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?o:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var a=h(n);a&&a!==p&&e(t,a,r)}var o=c(n);f&&(o=o.concat(f(n)));for(var l=s(t),m=s(n),g=0;g<o.length;++g){var v=o[g];if(!i[v]&&(!r||!r[v])&&(!m||!m[v])&&(!l||!l[v])){var b=d(n,v);try{u(t,v,b)}catch(y){}}}}return t}},746:function(e,t){var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case i:case l:case o:case h:return e;default:switch(e=e&&e.$$typeof){case u:case d:case g:case m:case s:return e;default:return t}}case a:return t}}}function E(e){return x(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=a,t.Profiler=l,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return E(e)||x(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===l},t.isStrictMode=function(e){return x(e)===o},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===f||e===l||e===o||e===h||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===v)},t.typeOf=x},309:function(e,t,n){e.exports=n(746)},725:function(e){var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.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 t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,i){for(var o,l,s=a(e),u=1;u<arguments.length;u++){for(var c in o=Object(arguments[u]))n.call(o,c)&&(s[c]=o[c]);if(t){l=t(o);for(var f=0;f<l.length;f++)r.call(o,l[f])&&(s[l[f]]=o[l[f]])}}return s}},463:function(e,t,n){var r=n(791),a=n(725),i=n(296);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(o(227));var l=new Set,s={};function u(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)l.add(t[e])}var f=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof 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]*$/,h=Object.prototype.hasOwnProperty,p={},m={};function g(e,t,n,r,a,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[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){v[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function w(e,t,n,r){var a=v.hasOwnProperty(t)?v[t]:null;(null!==a?0===a.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!h.call(m,e)||!h.call(p,e)&&(d.test(e)?m[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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 t=e.replace(b,y);v[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,y);v[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,y);v[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=60103,k=60106,S=60107,T=60108,j=60114,N=60109,O=60110,_=60112,M=60113,C=60120,P=60115,L=60116,D=60121,R=60128,I=60129,A=60130,H=60131;if("function"===typeof Symbol&&Symbol.for){var B=Symbol.for;E=B("react.element"),k=B("react.portal"),S=B("react.fragment"),T=B("react.strict_mode"),j=B("react.profiler"),N=B("react.provider"),O=B("react.context"),_=B("react.forward_ref"),M=B("react.suspense"),C=B("react.suspense_list"),P=B("react.memo"),L=B("react.lazy"),D=B("react.block"),B("react.scope"),R=B("react.opaque.id"),I=B("react.debug_trace_mode"),A=B("react.offscreen"),H=B("react.legacy_hidden")}var F,U="function"===typeof Symbol&&Symbol.iterator;function z(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=U&&e[U]||e["@@iterator"])?e:null}function V(e){if(void 0===F)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);F=t&&t[1]||""}return"\n"+F+e}var G=!1;function W(e,t){if(!e||G)return"";G=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var a=s.stack.split("\n"),i=r.stack.split("\n"),o=a.length-1,l=i.length-1;1<=o&&0<=l&&a[o]!==i[l];)l--;for(;1<=o&&0<=l;o--,l--)if(a[o]!==i[l]){if(1!==o||1!==l)do{if(o--,0>--l||a[o]!==i[l])return"\n"+a[o].replace(" at new "," at ")}while(1<=o&&0<=l);break}}}finally{G=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?V(e):""}function $(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("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 K(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 k:return"Portal";case j:return"Profiler";case T:return"StrictMode";case M:return"Suspense";case C:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case N:return(e._context.displayName||"Context")+".Provider";case _:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case P:return K(e.type);case D:return K(e._render);case L:t=e._payload,e=e._init;try{return K(e(t))}catch(n){}}return null}function Q(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function X(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=X(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Y(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=X(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Z(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=Q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ae(e,t.type,n):t.hasOwnProperty("defaultValue")&&ae(e,t.type,Q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ae(e,t,n){"number"===t&&Z(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function oe(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Q(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function le(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function se(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Q(n)}}function ue(e,t){var n=Q(t.value),r=Q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml",de="http://www.w3.org/2000/svg";function he(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 pe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?he(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,ge,ve=(ge=function(e,t){if(e.namespaceURI!==de||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function be(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}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 xe(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function Ee(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=xe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(ye).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var ke=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,t){if(t){if(ke[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function Te(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.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 je(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ne=null,Oe=null,_e=null;function Me(e){if(e=ra(e)){if("function"!==typeof Ne)throw Error(o(280));var t=e.stateNode;t&&(t=ia(t),Ne(e.stateNode,e.type,t))}}function Ce(e){Oe?_e?_e.push(e):_e=[e]:Oe=e}function Pe(){if(Oe){var e=Oe,t=_e;if(_e=Oe=null,Me(e),t)for(e=0;e<t.length;e++)Me(t[e])}}function Le(e,t){return e(t)}function De(e,t,n,r,a){return e(t,n,r,a)}function Re(){}var Ie=Le,Ae=!1,He=!1;function Be(){null===Oe&&null===_e||(Re(),Pe())}function Fe(e,t){var n=e.stateNode;if(null===n)return null;var r=ia(n);if(null===r)return null;n=r[t];e:switch(t){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(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var Ue=!1;if(f)try{var ze={};Object.defineProperty(ze,"passive",{get:function(){Ue=!0}}),window.addEventListener("test",ze,ze),window.removeEventListener("test",ze,ze)}catch(ge){Ue=!1}function Ve(e,t,n,r,a,i,o,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ge=!1,We=null,$e=!1,Ke=null,Qe={onError:function(e){Ge=!0,We=e}};function Xe(e,t,n,r,a,i,o,l,s){Ge=!1,We=null,Ve.apply(Qe,arguments)}function qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ye(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ze(e){if(qe(e)!==e)throw Error(o(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=qe(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return Ze(a),e;if(i===r)return Ze(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=i;break}if(s===r){l=!0,r=a,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=a;break}if(s===r){l=!0,r=i,n=a;break}s=s.sibling}if(!l)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,at,it=!1,ot=[],lt=null,st=null,ut=null,ct=new Map,ft=new Map,dt=[],ht="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 pt(e,t,n,r,a){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:a,targetContainers:[r]}}function mt(e,t){switch(e){case"focusin":case"focusout":lt=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":ut=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ft.delete(t.pointerId)}}function gt(e,t,n,r,a,i){return null===e||e.nativeEvent!==i?(e=pt(t,n,r,a,i),null!==t&&(null!==(t=ra(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function vt(e){var t=na(e.target);if(null!==t){var n=qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ye(n)))return e.blockedOn=t,void at(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function bt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ra(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function yt(e,t,n){bt(e)&&n.delete(t)}function wt(){for(it=!1;0<ot.length;){var e=ot[0];if(null!==e.blockedOn){null!==(e=ra(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&ot.shift()}null!==lt&&bt(lt)&&(lt=null),null!==st&&bt(st)&&(st=null),null!==ut&&bt(ut)&&(ut=null),ct.forEach(yt),ft.forEach(yt)}function xt(e,t){e.blockedOn===t&&(e.blockedOn=null,it||(it=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,wt)))}function Et(e){function t(t){return xt(t,e)}if(0<ot.length){xt(ot[0],e);for(var n=1;n<ot.length;n++){var r=ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==lt&&xt(lt,e),null!==st&&xt(st,e),null!==ut&&xt(ut,e),ct.forEach(t),ft.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)vt(n),null===n.blockedOn&&dt.shift()}function kt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var St={animationend:kt("Animation","AnimationEnd"),animationiteration:kt("Animation","AnimationIteration"),animationstart:kt("Animation","AnimationStart"),transitionend:kt("Transition","TransitionEnd")},Tt={},jt={};function Nt(e){if(Tt[e])return Tt[e];if(!St[e])return e;var t,n=St[e];for(t in n)if(n.hasOwnProperty(t)&&t in jt)return Tt[e]=n[t];return e}f&&(jt=document.createElement("div").style,"AnimationEvent"in window||(delete St.animationend.animation,delete St.animationiteration.animation,delete St.animationstart.animation),"TransitionEvent"in window||delete St.transitionend.transition);var Ot=Nt("animationend"),_t=Nt("animationiteration"),Mt=Nt("animationstart"),Ct=Nt("transitionend"),Pt=new Map,Lt=new Map,Dt=["abort","abort",Ot,"animationEnd",_t,"animationIteration",Mt,"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",Ct,"transitionEnd","waiting","waiting"];function Rt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1];a="on"+(a[0].toUpperCase()+a.slice(1)),Lt.set(r,t),Pt.set(r,a),u(a,[r])}}(0,i.unstable_now)();var It=8;function At(e){if(0!==(1&e))return It=15,1;if(0!==(2&e))return It=14,2;if(0!==(4&e))return It=13,4;var t=24&e;return 0!==t?(It=12,t):0!==(32&e)?(It=11,32):0!==(t=192&e)?(It=10,t):0!==(256&e)?(It=9,256):0!==(t=3584&e)?(It=8,t):0!==(4096&e)?(It=7,4096):0!==(t=4186112&e)?(It=6,t):0!==(t=62914560&e)?(It=5,t):67108864&e?(It=4,67108864):0!==(134217728&e)?(It=3,134217728):0!==(t=805306368&e)?(It=2,t):0!==(1073741824&e)?(It=1,1073741824):(It=8,e)}function Ht(e,t){var n=e.pendingLanes;if(0===n)return It=0;var r=0,a=0,i=e.expiredLanes,o=e.suspendedLanes,l=e.pingedLanes;if(0!==i)r=i,a=It=15;else if(0!==(i=134217727&n)){var s=i&~o;0!==s?(r=At(s),a=It):0!==(l&=i)&&(r=At(l),a=It)}else 0!==(i=n&~o)?(r=At(i),a=It):0!==l&&(r=At(l),a=It);if(0===r)return 0;if(r=n&((0>(r=31-Gt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0===(t&o)){if(At(t),a<=It)return t;It=a}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-Gt(t)),r|=e[n],t&=~a;return r}function Bt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ft(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Ut(24&~t))?Ft(10,t):e;case 10:return 0===(e=Ut(192&~t))?Ft(8,t):e;case 8:return 0===(e=Ut(3584&~t))&&(0===(e=Ut(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Ut(805306368&~t))&&(t=268435456),t}throw Error(o(358,e))}function Ut(e){return e&-e}function zt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Vt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Gt(t)]=n}var Gt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Wt(e)/$t|0)|0},Wt=Math.log,$t=Math.LN2;var Kt=i.unstable_UserBlockingPriority,Qt=i.unstable_runWithPriority,Xt=!0;function qt(e,t,n,r){Ae||Re();var a=Zt,i=Ae;Ae=!0;try{De(a,e,t,n,r)}finally{(Ae=i)||Be()}}function Yt(e,t,n,r){Qt(Kt,Zt.bind(null,e,t,n,r))}function Zt(e,t,n,r){var a;if(Xt)if((a=0===(4&t))&&0<ot.length&&-1<ht.indexOf(e))e=pt(null,e,t,n,r),ot.push(e);else{var i=Jt(e,t,n,r);if(null===i)a&&mt(e,r);else{if(a){if(-1<ht.indexOf(e))return e=pt(i,e,t,n,r),void ot.push(e);if(function(e,t,n,r,a){switch(t){case"focusin":return lt=gt(lt,e,t,n,r,a),!0;case"dragenter":return st=gt(st,e,t,n,r,a),!0;case"mouseover":return ut=gt(ut,e,t,n,r,a),!0;case"pointerover":var i=a.pointerId;return ct.set(i,gt(ct.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":return i=a.pointerId,ft.set(i,gt(ft.get(i)||null,e,t,n,r,a)),!0}return!1}(i,e,t,n,r))return;mt(e,r)}Rr(e,t,r,null,n)}}}function Jt(e,t,n,r){var a=je(r);if(null!==(a=na(a))){var i=qe(a);if(null===i)a=null;else{var o=i.tag;if(13===o){if(null!==(a=Ye(i)))return a;a=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;a=null}else i!==a&&(a=null)}}return Rr(e,t,r,a,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,a="value"in en?en.value:en.textContent,i=a.length;for(e=0;e<r&&n[e]===a[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===a[i-t];t++);return nn=a.slice(e,1<t?1-t:void 0)}function an(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function ln(){return!1}function sn(e){function t(t,n,r,a,i){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(a):a[o]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?on:ln,this.isPropagationStopped=ln,this}return a(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var un,cn,fn,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hn=sn(dn),pn=a({},dn,{view:0,detail:0}),mn=sn(pn),gn=a({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:On,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!==fn&&(fn&&"mousemove"===e.type?(un=e.screenX-fn.screenX,cn=e.screenY-fn.screenY):cn=un=0,fn=e),un)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),vn=sn(gn),bn=sn(a({},gn,{dataTransfer:0})),yn=sn(a({},pn,{relatedTarget:0})),wn=sn(a({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),xn=a({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),En=sn(xn),kn=sn(a({},dn,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Tn={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"},jn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Nn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=jn[e])&&!!t[e]}function On(){return Nn}var _n=a({},pn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=an(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Tn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:On,charCode:function(e){return"keypress"===e.type?an(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?an(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Mn=sn(_n),Cn=sn(a({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=sn(a({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:On})),Ln=sn(a({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Dn=a({},gn,{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}),Rn=sn(Dn),In=[9,13,27,32],An=f&&"CompositionEvent"in window,Hn=null;f&&"documentMode"in document&&(Hn=document.documentMode);var Bn=f&&"TextEvent"in window&&!Hn,Fn=f&&(!An||Hn&&8<Hn&&11>=Hn),Un=String.fromCharCode(32),zn=!1;function Vn(e,t){switch(e){case"keyup":return-1!==In.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1;var $n={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 Kn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function Qn(e,t,n,r){Ce(r),0<(t=Ar(t,"onChange")).length&&(n=new hn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Xn=null,qn=null;function Yn(e){_r(e,0)}function Zn(e){if(Y(aa(e)))return e}function Jn(e,t){if("change"===e)return t}var er=!1;if(f){var tr;if(f){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"===typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function ar(){Xn&&(Xn.detachEvent("onpropertychange",ir),qn=Xn=null)}function ir(e){if("value"===e.propertyName&&Zn(qn)){var t=[];if(Qn(t,qn,e,je(e)),e=Yn,Ae)e(t);else{Ae=!0;try{Le(e,t)}finally{Ae=!1,Be()}}}}function or(e,t,n){"focusin"===e?(ar(),qn=n,(Xn=t).attachEvent("onpropertychange",ir)):"focusout"===e&&ar()}function lr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zn(qn)}function sr(e,t){if("click"===e)return Zn(t)}function ur(e,t){if("input"===e||"change"===e)return Zn(t)}var cr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},fr=Object.prototype.hasOwnProperty;function dr(e,t){if(cr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!fr.call(t,n[r])||!cr(e[n[r]],t[n[r]]))return!1;return!0}function hr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pr(e,t){var n,r=hr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=hr(r)}}function mr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?mr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function gr(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Z((e=t.contentWindow).document)}return t}function vr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var br=f&&"documentMode"in document&&11>=document.documentMode,yr=null,wr=null,xr=null,Er=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Er||null==yr||yr!==Z(r)||("selectionStart"in(r=yr)&&vr(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},xr&&dr(xr,r)||(xr=r,0<(r=Ar(wr,"onSelect")).length&&(t=new hn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)))}Rt("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),Rt("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),Rt(Dt,2);for(var Sr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Tr=0;Tr<Sr.length;Tr++)Lt.set(Sr[Tr],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(jr));function Or(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,l,s,u){if(Xe.apply(this,arguments),Ge){if(!Ge)throw Error(o(198));var c=We;Ge=!1,We=null,$e||($e=!0,Ke=c)}}(r,t,void 0,e),e.currentTarget=null}function _r(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var l=r[o],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&a.isPropagationStopped())break e;Or(a,l,u),i=s}else for(o=0;o<r.length;o++){if(s=(l=r[o]).instance,u=l.currentTarget,l=l.listener,s!==i&&a.isPropagationStopped())break e;Or(a,l,u),i=s}}}if($e)throw e=Ke,$e=!1,Ke=null,e}function Mr(e,t){var n=oa(t),r=e+"__bubble";n.has(r)||(Dr(t,e,2,!1),n.add(r))}var Cr="_reactListening"+Math.random().toString(36).slice(2);function Pr(e){e[Cr]||(e[Cr]=!0,l.forEach((function(t){Nr.has(t)||Lr(t,!1,e,null),Lr(t,!0,e,null)})))}function Lr(e,t,n,r){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Nr.has(e)){if("scroll"!==e)return;a|=2,i=r}var o=oa(i),l=e+"__"+(t?"capture":"bubble");o.has(l)||(t&&(a|=4),Dr(i,e,a,t),o.add(l))}function Dr(e,t,n,r){var a=Lt.get(t);switch(void 0===a?2:a){case 0:a=qt;break;case 1:a=Yt;break;default:a=Zt}n=a.bind(null,t,n,e),a=void 0,!Ue||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Rr(e,t,n,r,a){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===o)for(o=r.return;null!==o;){var s=o.tag;if((3===s||4===s)&&((s=o.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;o=o.return}for(;null!==l;){if(null===(o=na(l)))return;if(5===(s=o.tag)||6===s){r=i=o;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(He)return e(t,n);He=!0;try{Ie(e,t,n)}finally{He=!1,Be()}}((function(){var r=i,a=je(n),o=[];e:{var l=Pt.get(e);if(void 0!==l){var s=hn,u=e;switch(e){case"keypress":if(0===an(n))break e;case"keydown":case"keyup":s=Mn;break;case"focusin":u="focus",s=yn;break;case"focusout":u="blur",s=yn;break;case"beforeblur":case"afterblur":s=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=vn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=bn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Pn;break;case Ot:case _t:case Mt:s=wn;break;case Ct:s=Ln;break;case"scroll":s=mn;break;case"wheel":s=Rn;break;case"copy":case"cut":case"paste":s=En;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Cn}var c=0!==(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var h,p=r;null!==p;){var m=(h=p).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==d&&(null!=(m=Fe(p,d))&&c.push(Ir(p,m,h)))),f)break;p=p.return}0<c.length&&(l=new s(l,u,null,n,a),o.push({event:l,listeners:c}))}}if(0===(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!==(16&t)||!(u=n.relatedTarget||n.fromElement)||!na(u)&&!u[ea])&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?na(u):null)&&(u!==(f=qe(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=vn,m="onMouseLeave",d="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=Cn,m="onPointerLeave",d="onPointerEnter",p="pointer"),f=null==s?l:aa(s),h=null==u?l:aa(u),(l=new c(m,p+"leave",s,n,a)).target=f,l.relatedTarget=h,m=null,na(a)===r&&((c=new c(d,p+"enter",u,n,a)).target=h,c.relatedTarget=f,m=c),f=m,s&&u)e:{for(d=u,p=0,h=c=s;h;h=Hr(h))p++;for(h=0,m=d;m;m=Hr(m))h++;for(;0<p-h;)c=Hr(c),p--;for(;0<h-p;)d=Hr(d),h--;for(;p--;){if(c===d||null!==d&&c===d.alternate)break e;c=Hr(c),d=Hr(d)}c=null}else c=null;null!==s&&Br(o,l,s,c,!1),null!==u&&null!==f&&Br(o,f,u,c,!0)}if("select"===(s=(l=r?aa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Jn;else if(Kn(l))if(er)g=ur;else{g=lr;var v=or}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=sr);switch(g&&(g=g(e,r))?Qn(o,g,n,a):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&ae(l,"number",l.value)),v=r?aa(r):window,e){case"focusin":(Kn(v)||"true"===v.contentEditable)&&(yr=v,wr=r,xr=null);break;case"focusout":xr=wr=yr=null;break;case"mousedown":Er=!0;break;case"contextmenu":case"mouseup":case"dragend":Er=!1,kr(o,n,a);break;case"selectionchange":if(br)break;case"keydown":case"keyup":kr(o,n,a)}var b;if(An)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 Wn?Vn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Fn&&"ko"!==n.locale&&(Wn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Wn&&(b=rn()):(tn="value"in(en=a)?en.value:en.textContent,Wn=!0)),0<(v=Ar(r,y)).length&&(y=new kn(y,e,null,n,a),o.push({event:y,listeners:v}),b?y.data=b:null!==(b=Gn(n))&&(y.data=b))),(b=Bn?function(e,t){switch(e){case"compositionend":return Gn(t);case"keypress":return 32!==t.which?null:(zn=!0,Un);case"textInput":return(e=t.data)===Un&&zn?null:e;default:return null}}(e,n):function(e,t){if(Wn)return"compositionend"===e||!An&&Vn(e,t)?(e=rn(),nn=tn=en=null,Wn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Ar(r,"onBeforeInput")).length&&(a=new kn("onBeforeInput","beforeinput",null,n,a),o.push({event:a,listeners:r}),a.data=b))}_r(o,t)}))}function Ir(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ar(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,i=a.stateNode;5===a.tag&&null!==i&&(a=i,null!=(i=Fe(e,n))&&r.unshift(Ir(e,i,a)),null!=(i=Fe(e,t))&&r.push(Ir(e,i,a))),e=e.return}return r}function Hr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Br(e,t,n,r,a){for(var i=t._reactName,o=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,a?null!=(s=Fe(n,i))&&o.unshift(Ir(n,s,l)):a||null!=(s=Fe(n,i))&&o.push(Ir(n,s,l))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}function Fr(){}var Ur=null,zr=null;function Vr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Gr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Wr="function"===typeof setTimeout?setTimeout:void 0,$r="function"===typeof clearTimeout?clearTimeout:void 0;function Kr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Qr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Xr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var qr=0;var Yr=Math.random().toString(36).slice(2),Zr="__reactFiber$"+Yr,Jr="__reactProps$"+Yr,ea="__reactContainer$"+Yr,ta="__reactEvents$"+Yr;function na(e){var t=e[Zr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ea]||n[Zr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Xr(e);null!==e;){if(n=e[Zr])return n;e=Xr(e)}return t}n=(e=n).parentNode}return null}function ra(e){return!(e=e[Zr]||e[ea])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function aa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ia(e){return e[Jr]||null}function oa(e){var t=e[ta];return void 0===t&&(t=e[ta]=new Set),t}var la=[],sa=-1;function ua(e){return{current:e}}function ca(e){0>sa||(e.current=la[sa],la[sa]=null,sa--)}function fa(e,t){sa++,la[sa]=e.current,e.current=t}var da={},ha=ua(da),pa=ua(!1),ma=da;function ga(e,t){var n=e.type.contextTypes;if(!n)return da;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,i={};for(a in n)i[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function va(e){return null!==(e=e.childContextTypes)&&void 0!==e}function ba(){ca(pa),ca(ha)}function ya(e,t,n){if(ha.current!==da)throw Error(o(168));fa(ha,t),fa(pa,n)}function wa(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(o(108,K(t)||"Unknown",i));return a({},n,r)}function xa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||da,ma=ha.current,fa(ha,e),fa(pa,pa.current),!0}function Ea(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=wa(e,t,ma),r.__reactInternalMemoizedMergedChildContext=e,ca(pa),ca(ha),fa(ha,e)):ca(pa),fa(pa,n)}var ka=null,Sa=null,Ta=i.unstable_runWithPriority,ja=i.unstable_scheduleCallback,Na=i.unstable_cancelCallback,Oa=i.unstable_shouldYield,_a=i.unstable_requestPaint,Ma=i.unstable_now,Ca=i.unstable_getCurrentPriorityLevel,Pa=i.unstable_ImmediatePriority,La=i.unstable_UserBlockingPriority,Da=i.unstable_NormalPriority,Ra=i.unstable_LowPriority,Ia=i.unstable_IdlePriority,Aa={},Ha=void 0!==_a?_a:function(){},Ba=null,Fa=null,Ua=!1,za=Ma(),Va=1e4>za?Ma:function(){return Ma()-za};function Ga(){switch(Ca()){case Pa:return 99;case La:return 98;case Da:return 97;case Ra:return 96;case Ia:return 95;default:throw Error(o(332))}}function Wa(e){switch(e){case 99:return Pa;case 98:return La;case 97:return Da;case 96:return Ra;case 95:return Ia;default:throw Error(o(332))}}function $a(e,t){return e=Wa(e),Ta(e,t)}function Ka(e,t,n){return e=Wa(e),ja(e,t,n)}function Qa(){if(null!==Fa){var e=Fa;Fa=null,Na(e)}Xa()}function Xa(){if(!Ua&&null!==Ba){Ua=!0;var e=0;try{var t=Ba;$a(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ba=null}catch(n){throw null!==Ba&&(Ba=Ba.slice(e+1)),ja(Pa,Qa),n}finally{Ua=!1}}}var qa=x.ReactCurrentBatchConfig;function Ya(e,t){if(e&&e.defaultProps){for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Za=ua(null),Ja=null,ei=null,ti=null;function ni(){ti=ei=Ja=null}function ri(e){var t=Za.current;ca(Za),e.type._context._currentValue=t}function ai(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ii(e,t){Ja=e,ti=ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(Ao=!0),e.firstContext=null)}function oi(e,t){if(ti!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(ti=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ei){if(null===Ja)throw Error(o(308));ei=t,Ja.dependencies={lanes:0,firstContext:t,responders:null}}else ei=ei.next=t;return e._currentValue}var li=!1;function si(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ui(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ci(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fi(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function di(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?a=i=o:i=i.next=o,n=n.next}while(null!==n);null===i?a=i=t:i=i.next=t}else a=i=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function hi(e,t,n,r){var i=e.updateQueue;li=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var u=s,c=u.next;u.next=null,null===l?o=c:l.next=c,l=u;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==l&&(null===d?f.firstBaseUpdate=c:d.next=c,f.lastBaseUpdate=u)}}if(null!==o){for(d=i.baseState,l=0,f=c=u=null;;){s=o.lane;var h=o.eventTime;if((r&s)===s){null!==f&&(f=f.next={eventTime:h,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var p=e,m=o;switch(s=t,h=n,m.tag){case 1:if("function"===typeof(p=m.payload)){d=p.call(h,d,s);break e}d=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null===(s="function"===typeof(p=m.payload)?p.call(h,d,s):p)||void 0===s)break e;d=a({},d,s);break e;case 2:li=!0}}null!==o.callback&&(e.flags|=32,null===(s=i.effects)?i.effects=[o]:s.push(o))}else h={eventTime:h,lane:s,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===f?(c=f=h,u=d):f=f.next=h,l|=s;if(null===(o=o.next)){if(null===(s=i.shared.pending))break;o=s.next,s.next=null,i.lastBaseUpdate=s,i.shared.pending=null}}null===f&&(u=d),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=f,Ul|=l,e.lanes=l,e.memoizedState=d}}function pi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!==typeof a)throw Error(o(191,a));a.call(r)}}}var mi=(new r.Component).refs;function gi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:a({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var vi={isMounted:function(e){return!!(e=e._reactInternals)&&qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ds(),a=hs(e),i=ci(r,a);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),fi(e,i),ps(e,a,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ds(),a=hs(e),i=ci(r,a);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),fi(e,i),ps(e,a,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ds(),r=hs(e),a=ci(n,r);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),fi(e,a),ps(e,r,n)}};function bi(e,t,n,r,a,i,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,o):!t.prototype||!t.prototype.isPureReactComponent||(!dr(n,r)||!dr(a,i))}function yi(e,t,n){var r=!1,a=da,i=t.contextType;return"object"===typeof i&&null!==i?i=oi(i):(a=va(t)?ma:ha.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?ga(e,a):da),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=i),t}function wi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vi.enqueueReplaceState(t,t.state,null)}function xi(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=mi,si(e);var i=t.contextType;"object"===typeof i&&null!==i?a.context=oi(i):(i=va(t)?ma:ha.current,a.context=ga(e,i)),hi(e,n,a,r),a.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(gi(e,t,i,n),a.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(t=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&vi.enqueueReplaceState(a,a.state,null),hi(e,n,a,r),a.state=e.memoizedState),"function"===typeof a.componentDidMount&&(e.flags|=4)}var Ei=Array.isArray;function ki(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=r.refs;t===mi&&(t=r.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Si(e,t){if("textarea"!==e.type)throw Error(o(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ti(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=$s(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function l(t){return e&&null===t.alternate&&(t.flags=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=qs(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=ki(e,t,n),r.return=e,r):((r=Ks(n.type,n.key,n.props,null,e.mode,r)).ref=ki(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ys(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Qs(n,e.mode,r,i)).return=e,t):((t=a(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=qs(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case E:return(n=Ks(t.type,t.key,t.props,null,e.mode,n)).ref=ki(e,null,t),n.return=e,n;case k:return(t=Ys(t,e.mode,n)).return=e,t}if(Ei(t)||z(t))return(t=Qs(t,e.mode,n,null)).return=e,t;Si(e,t)}return null}function h(e,t,n,r){var a=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==a?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===a?n.type===S?f(e,t,n.props.children,r,a):u(e,t,n,r):null;case k:return n.key===a?c(e,t,n,r):null}if(Ei(n)||z(n))return null!==a?null:f(e,t,n,r,null);Si(e,n)}return null}function p(e,t,n,r,a){if("string"===typeof r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"===typeof r&&null!==r){switch(r.$$typeof){case E:return e=e.get(null===r.key?n:r.key)||null,r.type===S?f(t,e,r.props.children,a,r.key):u(t,e,r,a);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(Ei(r)||z(r))return f(t,e=e.get(n)||null,r,a,null);Si(t,r)}return null}function m(a,o,l,s){for(var u=null,c=null,f=o,m=o=0,g=null;null!==f&&m<l.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var v=h(a,f,l[m],s);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(a,f),o=i(v,o,m),null===c?u=v:c.sibling=v,c=v,f=g}if(m===l.length)return n(a,f),u;if(null===f){for(;m<l.length;m++)null!==(f=d(a,l[m],s))&&(o=i(f,o,m),null===c?u=f:c.sibling=f,c=f);return u}for(f=r(a,f);m<l.length;m++)null!==(g=p(f,a,m,l[m],s))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),o=i(g,o,m),null===c?u=g:c.sibling=g,c=g);return e&&f.forEach((function(e){return t(a,e)})),u}function g(a,l,s,u){var c=z(s);if("function"!==typeof c)throw Error(o(150));if(null==(s=c.call(s)))throw Error(o(151));for(var f=c=null,m=l,g=l=0,v=null,b=s.next();null!==m&&!b.done;g++,b=s.next()){m.index>g?(v=m,m=null):v=m.sibling;var y=h(a,m,b.value,u);if(null===y){null===m&&(m=v);break}e&&m&&null===y.alternate&&t(a,m),l=i(y,l,g),null===f?c=y:f.sibling=y,f=y,m=v}if(b.done)return n(a,m),c;if(null===m){for(;!b.done;g++,b=s.next())null!==(b=d(a,b.value,u))&&(l=i(b,l,g),null===f?c=b:f.sibling=b,f=b);return c}for(m=r(a,m);!b.done;g++,b=s.next())null!==(b=p(m,a,g,b.value,u))&&(e&&null!==b.alternate&&m.delete(null===b.key?g:b.key),l=i(b,l,g),null===f?c=b:f.sibling=b,f=b);return e&&m.forEach((function(e){return t(a,e)})),c}return function(e,r,i,s){var u="object"===typeof i&&null!==i&&i.type===S&&null===i.key;u&&(i=i.props.children);var c="object"===typeof i&&null!==i;if(c)switch(i.$$typeof){case E:e:{for(c=i.key,u=r;null!==u;){if(u.key===c){if(7===u.tag){if(i.type===S){n(e,u.sibling),(r=a(u,i.props.children)).return=e,e=r;break e}}else if(u.elementType===i.type){n(e,u.sibling),(r=a(u,i.props)).ref=ki(e,u,i),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}i.type===S?((r=Qs(i.props.children,e.mode,s,i.key)).return=e,e=r):((s=Ks(i.type,i.key,i.props,null,e.mode,s)).ref=ki(e,r,i),s.return=e,e=s)}return l(e);case k:e:{for(u=i.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=a(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Ys(i,e.mode,s)).return=e,e=r}return l(e)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,i)).return=e,e=r):(n(e,r),(r=qs(i,e.mode,s)).return=e,e=r),l(e);if(Ei(i))return m(e,r,i,s);if(z(i))return g(e,r,i,s);if(c&&Si(e,i),"undefined"===typeof i&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(o(152,K(e.type)||"Component"))}return n(e,r)}}var ji=Ti(!0),Ni=Ti(!1),Oi={},_i=ua(Oi),Mi=ua(Oi),Ci=ua(Oi);function Pi(e){if(e===Oi)throw Error(o(174));return e}function Li(e,t){switch(fa(Ci,t),fa(Mi,e),fa(_i,Oi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pe(null,"");break;default:t=pe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ca(_i),fa(_i,t)}function Di(){ca(_i),ca(Mi),ca(Ci)}function Ri(e){Pi(Ci.current);var t=Pi(_i.current),n=pe(t,e.type);t!==n&&(fa(Mi,e),fa(_i,n))}function Ii(e){Mi.current===e&&(ca(_i),ca(Mi))}var Ai=ua(0);function Hi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(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 null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Bi=null,Fi=null,Ui=!1;function zi(e,t){var n=Gs(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Vi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Gi(e){if(Ui){var t=Fi;if(t){var n=t;if(!Vi(e,t)){if(!(t=Qr(n.nextSibling))||!Vi(e,t))return e.flags=-1025&e.flags|2,Ui=!1,void(Bi=e);zi(Bi,n)}Bi=e,Fi=Qr(t.firstChild)}else e.flags=-1025&e.flags|2,Ui=!1,Bi=e}}function Wi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Bi=e}function $i(e){if(e!==Bi)return!1;if(!Ui)return Wi(e),Ui=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Gr(t,e.memoizedProps))for(t=Fi;t;)zi(e,t),t=Qr(t.nextSibling);if(Wi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Fi=Qr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Fi=null}}else Fi=Bi?Qr(e.stateNode.nextSibling):null;return!0}function Ki(){Fi=Bi=null,Ui=!1}var Qi=[];function Xi(){for(var e=0;e<Qi.length;e++)Qi[e]._workInProgressVersionPrimary=null;Qi.length=0}var qi=x.ReactCurrentDispatcher,Yi=x.ReactCurrentBatchConfig,Zi=0,Ji=null,eo=null,to=null,no=!1,ro=!1;function ao(){throw Error(o(321))}function io(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!cr(e[n],t[n]))return!1;return!0}function oo(e,t,n,r,a,i){if(Zi=i,Ji=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,qi.current=null===e||null===e.memoizedState?Lo:Do,e=n(r,a),ro){i=0;do{if(ro=!1,!(25>i))throw Error(o(301));i+=1,to=eo=null,t.updateQueue=null,qi.current=Ro,e=n(r,a)}while(ro)}if(qi.current=Po,t=null!==eo&&null!==eo.next,Zi=0,to=eo=Ji=null,no=!1,t)throw Error(o(300));return e}function lo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===to?Ji.memoizedState=to=e:to=to.next=e,to}function so(){if(null===eo){var e=Ji.alternate;e=null!==e?e.memoizedState:null}else e=eo.next;var t=null===to?Ji.memoizedState:to.next;if(null!==t)to=t,eo=e;else{if(null===e)throw Error(o(310));e={memoizedState:(eo=e).memoizedState,baseState:eo.baseState,baseQueue:eo.baseQueue,queue:eo.queue,next:null},null===to?Ji.memoizedState=to=e:to=to.next=e}return to}function uo(e,t){return"function"===typeof t?t(e):t}function co(e){var t=so(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=eo,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}r.baseQueue=a=i,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var s=l=i=null,u=a;do{var c=u.lane;if((Zi&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===s?(l=s=f,i=r):s=s.next=f,Ji.lanes|=c,Ul|=c}u=u.next}while(null!==u&&u!==a);null===s?i=r:s.next=l,cr(r,t.memoizedState)||(Ao=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function fo(e){var t=so(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);cr(i,t.memoizedState)||(Ao=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ho(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(null!==a?e=a===r:(e=e.mutableReadLanes,(e=(Zi&e)===e)&&(t._workInProgressVersionPrimary=r,Qi.push(t))),e)return n(t._source);throw Qi.push(t),Error(o(350))}function po(e,t,n,r){var a=Ll;if(null===a)throw Error(o(349));var i=t._getVersion,l=i(t._source),s=qi.current,u=s.useState((function(){return ho(a,t,n)})),c=u[1],f=u[0];u=to;var d=e.memoizedState,h=d.refs,p=h.getSnapshot,m=d.source;d=d.subscribe;var g=Ji;return e.memoizedState={refs:h,source:t,subscribe:r},s.useEffect((function(){h.getSnapshot=n,h.setSnapshot=c;var e=i(t._source);if(!cr(l,e)){e=n(t._source),cr(f,e)||(c(e),e=hs(g),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,o=e;0<o;){var s=31-Gt(o),u=1<<s;r[s]|=e,o&=~u}}}),[n,t,r]),s.useEffect((function(){return r(t._source,(function(){var e=h.getSnapshot,n=h.setSnapshot;try{n(e(t._source));var r=hs(g);a.mutableReadLanes|=r&a.pendingLanes}catch(i){n((function(){throw i}))}}))}),[t,r]),cr(p,n)&&cr(m,t)&&cr(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:uo,lastRenderedState:f}).dispatch=c=Co.bind(null,Ji,e),u.queue=e,u.baseQueue=null,f=ho(a,t,n),u.memoizedState=u.baseState=f),f}function mo(e,t,n){return po(so(),e,t,n)}function go(e){var t=lo();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:uo,lastRenderedState:e}).dispatch=Co.bind(null,Ji,e),[t.memoizedState,e]}function vo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ji.updateQueue)?(t={lastEffect:null},Ji.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function bo(e){return e={current:e},lo().memoizedState=e}function yo(){return so().memoizedState}function wo(e,t,n,r){var a=lo();Ji.flags|=e,a.memoizedState=vo(1|t,n,void 0,void 0===r?null:r)}function xo(e,t,n,r){var a=so();r=void 0===r?null:r;var i=void 0;if(null!==eo){var o=eo.memoizedState;if(i=o.destroy,null!==r&&io(r,o.deps))return void vo(t,n,i,r)}Ji.flags|=e,a.memoizedState=vo(1|t,n,i,r)}function Eo(e,t){return wo(516,4,e,t)}function ko(e,t){return xo(516,4,e,t)}function So(e,t){return xo(4,2,e,t)}function To(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function jo(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,xo(4,2,To.bind(null,t,e),n)}function No(){}function Oo(e,t){var n=so();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&io(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _o(e,t){var n=so();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&io(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Mo(e,t){var n=Ga();$a(98>n?98:n,(function(){e(!0)})),$a(97<n?97:n,(function(){var n=Yi.transition;Yi.transition=1;try{e(!1),t()}finally{Yi.transition=n}}))}function Co(e,t,n){var r=ds(),a=hs(e),i={lane:a,action:n,eagerReducer:null,eagerState:null,next:null},o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===Ji||null!==o&&o===Ji)ro=no=!0;else{if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=o(l,n);if(i.eagerReducer=o,i.eagerState=s,cr(s,l))return}catch(u){}ps(e,a,r)}}var Po={readContext:oi,useCallback:ao,useContext:ao,useEffect:ao,useImperativeHandle:ao,useLayoutEffect:ao,useMemo:ao,useReducer:ao,useRef:ao,useState:ao,useDebugValue:ao,useDeferredValue:ao,useTransition:ao,useMutableSource:ao,useOpaqueIdentifier:ao,unstable_isNewReconciler:!1},Lo={readContext:oi,useCallback:function(e,t){return lo().memoizedState=[e,void 0===t?null:t],e},useContext:oi,useEffect:Eo,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,wo(4,2,To.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wo(4,2,e,t)},useMemo:function(e,t){var n=lo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=lo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Co.bind(null,Ji,e),[r.memoizedState,e]},useRef:bo,useState:go,useDebugValue:No,useDeferredValue:function(e){var t=go(e),n=t[0],r=t[1];return Eo((function(){var t=Yi.transition;Yi.transition=1;try{r(e)}finally{Yi.transition=t}}),[e]),n},useTransition:function(){var e=go(!1),t=e[0];return bo(e=Mo.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=lo();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},po(r,e,t,n)},useOpaqueIdentifier:function(){if(Ui){var e=!1,t=function(e){return{$$typeof:R,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(qr++).toString(36))),Error(o(355))})),n=go(t)[1];return 0===(2&Ji.mode)&&(Ji.flags|=516,vo(5,(function(){n("r:"+(qr++).toString(36))}),void 0,null)),t}return go(t="r:"+(qr++).toString(36)),t},unstable_isNewReconciler:!1},Do={readContext:oi,useCallback:Oo,useContext:oi,useEffect:ko,useImperativeHandle:jo,useLayoutEffect:So,useMemo:_o,useReducer:co,useRef:yo,useState:function(){return co(uo)},useDebugValue:No,useDeferredValue:function(e){var t=co(uo),n=t[0],r=t[1];return ko((function(){var t=Yi.transition;Yi.transition=1;try{r(e)}finally{Yi.transition=t}}),[e]),n},useTransition:function(){var e=co(uo)[0];return[yo().current,e]},useMutableSource:mo,useOpaqueIdentifier:function(){return co(uo)[0]},unstable_isNewReconciler:!1},Ro={readContext:oi,useCallback:Oo,useContext:oi,useEffect:ko,useImperativeHandle:jo,useLayoutEffect:So,useMemo:_o,useReducer:fo,useRef:yo,useState:function(){return fo(uo)},useDebugValue:No,useDeferredValue:function(e){var t=fo(uo),n=t[0],r=t[1];return ko((function(){var t=Yi.transition;Yi.transition=1;try{r(e)}finally{Yi.transition=t}}),[e]),n},useTransition:function(){var e=fo(uo)[0];return[yo().current,e]},useMutableSource:mo,useOpaqueIdentifier:function(){return fo(uo)[0]},unstable_isNewReconciler:!1},Io=x.ReactCurrentOwner,Ao=!1;function Ho(e,t,n,r){t.child=null===e?Ni(t,null,n,r):ji(t,e.child,n,r)}function Bo(e,t,n,r,a){n=n.render;var i=t.ref;return ii(t,a),r=oo(e,t,n,r,i,a),null===e||Ao?(t.flags|=1,Ho(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,il(e,t,a))}function Fo(e,t,n,r,a,i){if(null===e){var o=n.type;return"function"!==typeof o||Ws(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ks(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Uo(e,t,o,r,a,i))}return o=e.child,0===(a&i)&&(a=o.memoizedProps,(n=null!==(n=n.compare)?n:dr)(a,r)&&e.ref===t.ref)?il(e,t,i):(t.flags|=1,(e=$s(o,r)).ref=t.ref,e.return=t,t.child=e)}function Uo(e,t,n,r,a,i){if(null!==e&&dr(e.memoizedProps,r)&&e.ref===t.ref){if(Ao=!1,0===(i&a))return t.lanes=e.lanes,il(e,t,i);0!==(16384&e.flags)&&(Ao=!0)}return Go(e,t,n,r,i)}function zo(e,t,n){var r=t.pendingProps,a=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},Es(t,n);else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Es(t,e),null;t.memoizedState={baseLanes:0},Es(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Es(t,r);return Ho(e,t,a,n),t.child}function Vo(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Go(e,t,n,r,a){var i=va(n)?ma:ha.current;return i=ga(t,i),ii(t,a),n=oo(e,t,n,r,i,a),null===e||Ao?(t.flags|=1,Ho(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,il(e,t,a))}function Wo(e,t,n,r,a){if(va(n)){var i=!0;xa(t)}else i=!1;if(ii(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),yi(t,n,r),xi(t,n,r,a),r=!0;else if(null===e){var o=t.stateNode,l=t.memoizedProps;o.props=l;var s=o.context,u=n.contextType;"object"===typeof u&&null!==u?u=oi(u):u=ga(t,u=va(n)?ma:ha.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof o.getSnapshotBeforeUpdate;f||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(l!==r||s!==u)&&wi(t,o,r,u),li=!1;var d=t.memoizedState;o.state=d,hi(t,r,o,a),s=t.memoizedState,l!==r||d!==s||pa.current||li?("function"===typeof c&&(gi(t,n,c,r),s=t.memoizedState),(l=li||bi(t,n,l,r,d,s,u))?(f||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||("function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"===typeof o.componentDidMount&&(t.flags|=4)):("function"===typeof o.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=u,r=l):("function"===typeof o.componentDidMount&&(t.flags|=4),r=!1)}else{o=t.stateNode,ui(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Ya(t.type,l),o.props=u,f=t.pendingProps,d=o.context,"object"===typeof(s=n.contextType)&&null!==s?s=oi(s):s=ga(t,s=va(n)?ma:ha.current);var h=n.getDerivedStateFromProps;(c="function"===typeof h||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(l!==f||d!==s)&&wi(t,o,r,s),li=!1,d=t.memoizedState,o.state=d,hi(t,r,o,a);var p=t.memoizedState;l!==f||d!==p||pa.current||li?("function"===typeof h&&(gi(t,n,h,r),p=t.memoizedState),(u=li||bi(t,n,u,r,d,p,s))?(c||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,s),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,s)),"function"===typeof o.componentDidUpdate&&(t.flags|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!==typeof o.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=s,r=u):("function"!==typeof o.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return $o(e,t,n,r,i,a)}function $o(e,t,n,r,a,i){Vo(e,t);var o=0!==(64&t.flags);if(!r&&!o)return a&&Ea(t,n,!1),il(e,t,i);r=t.stateNode,Io.current=t;var l=o&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=ji(t,e.child,null,i),t.child=ji(t,null,l,i)):Ho(e,t,l,i),t.memoizedState=r.state,a&&Ea(t,n,!0),t.child}function Ko(e){var t=e.stateNode;t.pendingContext?ya(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ya(0,t.context,!1),Li(e,t.containerInfo)}var Qo,Xo,qo,Yo={dehydrated:null,retryLane:0};function Zo(e,t,n){var r,a=t.pendingProps,i=Ai.current,o=!1;return(r=0!==(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(o=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(i|=1),fa(Ai,1&i),null===e?(void 0!==a.fallback&&Gi(t),e=a.children,i=a.fallback,o?(e=Jo(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Yo,e):"number"===typeof a.unstable_expectedLoadTime?(e=Jo(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Yo,t.lanes=33554432,e):((n=Xs({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,o?(a=tl(e,t,a.children,a.fallback,n),o=t.child,i=e.child.memoizedState,o.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=Yo,a):(n=el(e,t,a.children,n),t.memoizedState=null,n))}function Jo(e,t,n,r){var a=e.mode,i=e.child;return t={mode:"hidden",children:t},0===(2&a)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Xs(t,a,0,null),n=Qs(n,a,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function el(e,t,n,r){var a=e.child;return e=a.sibling,n=$s(a,{mode:"visible",children:n}),0===(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function tl(e,t,n,r,a){var i=t.mode,o=e.child;e=o.sibling;var l={mode:"hidden",children:n};return 0===(2&i)&&t.child!==o?((n=t.child).childLanes=0,n.pendingProps=l,null!==(o=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):n=$s(o,l),null!==e?r=$s(e,r):(r=Qs(r,i,a,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function nl(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ai(e.return,t)}function rl(e,t,n,r,a,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,lastEffect:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a,o.lastEffect=i)}function al(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;if(Ho(e,t,r.children,n),0!==(2&(r=Ai.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nl(e,n);else if(19===e.tag)nl(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(fa(Ai,r),0===(2&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===Hi(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),rl(t,!1,a,n,i,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===Hi(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}rl(t,!0,n,null,i,t.lastEffect);break;case"together":rl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function il(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ul|=t.lanes,0!==(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=$s(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=$s(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ol(e,t){if(!Ui)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ll(e,t,n){var r=t.pendingProps;switch(t.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:case 17:return va(t.type)&&ba(),null;case 3:return Di(),ca(pa),ca(ha),Xi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||($i(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ii(t);var i=Pi(Ci.current);if(n=t.type,null!==e&&null!=t.stateNode)Xo(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(o(166));return null}if(e=Pi(_i.current),$i(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[Zr]=t,r[Jr]=l,n){case"dialog":Mr("cancel",r),Mr("close",r);break;case"iframe":case"object":case"embed":Mr("load",r);break;case"video":case"audio":for(e=0;e<jr.length;e++)Mr(jr[e],r);break;case"source":Mr("error",r);break;case"img":case"image":case"link":Mr("error",r),Mr("load",r);break;case"details":Mr("toggle",r);break;case"input":ee(r,l),Mr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Mr("invalid",r);break;case"textarea":se(r,l),Mr("invalid",r)}for(var u in Se(n,l),e=null,l)l.hasOwnProperty(u)&&(i=l[u],"children"===u?"string"===typeof i?r.textContent!==i&&(e=["children",i]):"number"===typeof i&&r.textContent!==""+i&&(e=["children",""+i]):s.hasOwnProperty(u)&&null!=i&&"onScroll"===u&&Mr("scroll",r));switch(n){case"input":q(r),re(r,l,!0);break;case"textarea":q(r),ce(r);break;case"select":case"option":break;default:"function"===typeof l.onClick&&(r.onclick=Fr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(u=9===i.nodeType?i:i.ownerDocument,e===fe&&(e=he(n)),e===fe?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[Zr]=t,e[Jr]=r,Qo(e,t),t.stateNode=e,u=Te(n,r),n){case"dialog":Mr("cancel",e),Mr("close",e),i=r;break;case"iframe":case"object":case"embed":Mr("load",e),i=r;break;case"video":case"audio":for(i=0;i<jr.length;i++)Mr(jr[i],e);i=r;break;case"source":Mr("error",e),i=r;break;case"img":case"image":case"link":Mr("error",e),Mr("load",e),i=r;break;case"details":Mr("toggle",e),i=r;break;case"input":ee(e,r),i=J(e,r),Mr("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=a({},r,{value:void 0}),Mr("invalid",e);break;case"textarea":se(e,r),i=le(e,r),Mr("invalid",e);break;default:i=r}Se(n,i);var c=i;for(l in c)if(c.hasOwnProperty(l)){var f=c[l];"style"===l?Ee(e,f):"dangerouslySetInnerHTML"===l?null!=(f=f?f.__html:void 0)&&ve(e,f):"children"===l?"string"===typeof f?("textarea"!==n||""!==f)&&be(e,f):"number"===typeof f&&be(e,""+f):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?null!=f&&"onScroll"===l&&Mr("scroll",e):null!=f&&w(e,l,f,u))}switch(n){case"input":q(e),re(e,r,!1);break;case"textarea":q(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?oe(e,!!r.multiple,l,!1):null!=r.defaultValue&&oe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=Fr)}Vr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)qo(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));n=Pi(Ci.current),Pi(_i.current),$i(t)?(r=t.stateNode,n=t.memoizedProps,r[Zr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Zr]=t,t.stateNode=r)}return null;case 13:return ca(Ai),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&$i(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Ai.current)?0===Hl&&(Hl=3):(0!==Hl&&3!==Hl||(Hl=4),null===Ll||0===(134217727&Ul)&&0===(134217727&zl)||bs(Ll,Rl))),(r||n)&&(t.flags|=4),null);case 4:return Di(),null===e&&Pr(t.stateNode.containerInfo),null;case 10:return ri(t),null;case 19:if(ca(Ai),null===(r=t.memoizedState))return null;if(l=0!==(64&t.flags),null===(u=r.rendering))if(l)ol(r,!1);else{if(0!==Hl||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(null!==(u=Hi(e))){for(t.flags|=64,ol(r,!1),null!==(l=u.updateQueue)&&(t.updateQueue=l,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=2,l.nextEffect=null,l.firstEffect=null,l.lastEffect=null,null===(u=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,e=u.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return fa(Ai,1&Ai.current|2),t.child}e=e.sibling}null!==r.tail&&Va()>$l&&(t.flags|=64,l=!0,ol(r,!1),t.lanes=33554432)}else{if(!l)if(null!==(e=Hi(u))){if(t.flags|=64,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ol(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate&&!Ui)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Va()-r.renderingStartTime>$l&&1073741824!==n&&(t.flags|=64,l=!0,ol(r,!1),t.lanes=33554432);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Va(),n.sibling=null,t=Ai.current,fa(Ai,l?1&t|2:1&t),n):null;case 23:case 24:return ks(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(o(156,t.tag))}function sl(e){switch(e.tag){case 1:va(e.type)&&ba();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Di(),ca(pa),ca(ha),Xi(),0!==(64&(t=e.flags)))throw Error(o(285));return e.flags=-4097&t|64,e;case 5:return Ii(e),null;case 13:return ca(Ai),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ca(Ai),null;case 4:return Di(),null;case 10:return ri(e),null;case 23:case 24:return ks(),null;default:return null}}function ul(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var a=n}catch(i){a="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:a}}function cl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Qo=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Xo=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Pi(_i.current);var o,l=null;switch(n){case"input":i=J(e,i),r=J(e,r),l=[];break;case"option":i=ie(e,i),r=ie(e,r),l=[];break;case"select":i=a({},i,{value:void 0}),r=a({},r,{value:void 0}),l=[];break;case"textarea":i=le(e,i),r=le(e,r),l=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=Fr)}for(f in Se(n,r),n=null,i)if(!r.hasOwnProperty(f)&&i.hasOwnProperty(f)&&null!=i[f])if("style"===f){var u=i[f];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(s.hasOwnProperty(f)?l||(l=[]):(l=l||[]).push(f,null));for(f in r){var c=r[f];if(u=null!=i?i[f]:void 0,r.hasOwnProperty(f)&&c!==u&&(null!=c||null!=u))if("style"===f)if(u){for(o in u)!u.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&u[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(l||(l=[]),l.push(f,n)),n=c;else"dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(l=l||[]).push(f,c)):"children"===f?"string"!==typeof c&&"number"!==typeof c||(l=l||[]).push(f,""+c):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(s.hasOwnProperty(f)?(null!=c&&"onScroll"===f&&Mr("scroll",e),l||u===c||(l=[])):"object"===typeof c&&null!==c&&c.$$typeof===R?c.toString():(l=l||[]).push(f,c))}n&&(l=l||[]).push("style",n);var f=l;(t.updateQueue=f)&&(t.flags|=4)}},qo=function(e,t,n,r){n!==r&&(t.flags|=4)};var fl="function"===typeof WeakMap?WeakMap:Map;function dl(e,t,n){(n=ci(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ql||(ql=!0,Yl=r),cl(0,t)},n}function hl(e,t,n){(n=ci(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return cl(0,t),r(a)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Zl?Zl=new Set([this]):Zl.add(this),cl(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var pl="function"===typeof WeakSet?WeakSet:Set;function ml(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){Fs(e,n)}else t.current=null}function gl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ya(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Kr(t.stateNode.containerInfo))}throw Error(o(163))}function vl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var a=e;r=a.next,0!==(4&(a=a.tag))&&0!==(1&a)&&(As(n,e),Is(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Ya(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&pi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}pi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Vr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Et(n)))))}throw Error(o(163))}function bl(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var a=n.memoizedProps.style;a=void 0!==a&&null!==a&&a.hasOwnProperty("display")?a.display:null,r.style.display=xe("display",a)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&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;n=n.return}n.sibling.return=n.return,n=n.sibling}}function yl(e,t){if(Sa&&"function"===typeof Sa.onCommitFiberUnmount)try{Sa.onCommitFiberUnmount(ka,t)}catch(i){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,void 0!==a)if(0!==(4&r))As(t,n);else{r=t;try{a()}catch(i){Fs(r,i)}}n=n.next}while(n!==e)}break;case 1:if(ml(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(i){Fs(t,i)}break;case 5:ml(t);break;case 4:Tl(e,t)}}function wl(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 xl(e){return 5===e.tag||3===e.tag||4===e.tag}function El(e){e:{for(var t=e.return;null!==t;){if(xl(t))break e;t=t.return}throw Error(o(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(o(161))}16&n.flags&&(be(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||xl(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?kl(e,n,t):Sl(e,n,t)}function kl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Fr));else if(4!==r&&null!==(e=e.child))for(kl(e,t,n),e=e.sibling;null!==e;)kl(e,t,n),e=e.sibling}function Sl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Sl(e,t,n),e=e.sibling;null!==e;)Sl(e,t,n),e=e.sibling}function Tl(e,t){for(var n,r,a=t,i=!1;;){if(!i){i=a.return;e:for(;;){if(null===i)throw Error(o(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===a.tag||6===a.tag){e:for(var l=e,s=a,u=s;;)if(yl(l,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===s)break e;for(;null===u.sibling;){if(null===u.return||u.return===s)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(l=n,s=a.stateNode,8===l.nodeType?l.parentNode.removeChild(s):l.removeChild(s)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(yl(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(i=!1)}a.sibling.return=a.return,a=a.sibling}}function jl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var a=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Te(e,a),t=Te(e,r),a=0;a<i.length;a+=2){var l=i[a],s=i[a+1];"style"===l?Ee(n,s):"dangerouslySetInnerHTML"===l?ve(n,s):"children"===l?be(n,s):w(n,l,s,t)}switch(e){case"input":ne(n,r);break;case"textarea":ue(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?oe(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?oe(n,!!r.multiple,r.defaultValue,!0):oe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(o(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Et(n.containerInfo)));case 13:return null!==t.memoizedState&&(Wl=Va(),bl(t.child,!0)),void Nl(t);case 19:return void Nl(t);case 23:case 24:return void bl(t,null!==t.memoizedState)}throw Error(o(163))}function Nl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new pl),t.forEach((function(t){var r=zs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Ol(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var _l=Math.ceil,Ml=x.ReactCurrentDispatcher,Cl=x.ReactCurrentOwner,Pl=0,Ll=null,Dl=null,Rl=0,Il=0,Al=ua(0),Hl=0,Bl=null,Fl=0,Ul=0,zl=0,Vl=0,Gl=null,Wl=0,$l=1/0;function Kl(){$l=Va()+500}var Ql,Xl=null,ql=!1,Yl=null,Zl=null,Jl=!1,es=null,ts=90,ns=[],rs=[],as=null,is=0,os=null,ls=-1,ss=0,us=0,cs=null,fs=!1;function ds(){return 0!==(48&Pl)?Va():-1!==ls?ls:ls=Va()}function hs(e){if(0===(2&(e=e.mode)))return 1;if(0===(4&e))return 99===Ga()?1:2;if(0===ss&&(ss=Fl),0!==qa.transition){0!==us&&(us=null!==Gl?Gl.pendingLanes:0),e=ss;var t=4186112&~us;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Ga(),0!==(4&Pl)&&98===e?e=Ft(12,ss):e=Ft(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),ss),e}function ps(e,t,n){if(50<is)throw is=0,os=null,Error(o(185));if(null===(e=ms(e,t)))return null;Vt(e,t,n),e===Ll&&(zl|=t,4===Hl&&bs(e,Rl));var r=Ga();1===t?0!==(8&Pl)&&0===(48&Pl)?ys(e):(gs(e,n),0===Pl&&(Kl(),Qa())):(0===(4&Pl)||98!==r&&99!==r||(null===as?as=new Set([e]):as.add(e)),gs(e,n)),Gl=e}function ms(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function gs(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,l=e.pendingLanes;0<l;){var s=31-Gt(l),u=1<<s,c=i[s];if(-1===c){if(0===(u&r)||0!==(u&a)){c=t,At(u);var f=It;i[s]=10<=f?c+250:6<=f?c+5e3:-1}}else c<=t&&(e.expiredLanes|=u);l&=~u}if(r=Ht(e,e===Ll?Rl:0),t=It,0===r)null!==n&&(n!==Aa&&Na(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Aa&&Na(n)}15===t?(n=ys.bind(null,e),null===Ba?(Ba=[n],Fa=ja(Pa,Xa)):Ba.push(n),n=Aa):14===t?n=Ka(99,ys.bind(null,e)):(n=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(o(358,e))}}(t),n=Ka(n,vs.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function vs(e){if(ls=-1,us=ss=0,0!==(48&Pl))throw Error(o(327));var t=e.callbackNode;if(Rs()&&e.callbackNode!==t)return null;var n=Ht(e,e===Ll?Rl:0);if(0===n)return null;var r=n,a=Pl;Pl|=16;var i=js();for(Ll===e&&Rl===r||(Kl(),Ss(e,r));;)try{_s();break}catch(s){Ts(e,s)}if(ni(),Ml.current=i,Pl=a,null!==Dl?r=0:(Ll=null,Rl=0,r=Hl),0!==(Fl&zl))Ss(e,0);else if(0!==r){if(2===r&&(Pl|=64,e.hydrate&&(e.hydrate=!1,Kr(e.containerInfo)),0!==(n=Bt(e))&&(r=Ns(e,n))),1===r)throw t=Bl,Ss(e,0),bs(e,n),gs(e,Va()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(o(345));case 2:case 5:Ps(e);break;case 3:if(bs(e,n),(62914560&n)===n&&10<(r=Wl+500-Va())){if(0!==Ht(e,0))break;if(((a=e.suspendedLanes)&n)!==n){ds(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Wr(Ps.bind(null,e),r);break}Ps(e);break;case 4:if(bs(e,n),(4186112&n)===n)break;for(r=e.eventTimes,a=-1;0<n;){var l=31-Gt(n);i=1<<l,(l=r[l])>a&&(a=l),n&=~i}if(n=a,10<(n=(120>(n=Va()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*_l(n/1960))-n)){e.timeoutHandle=Wr(Ps.bind(null,e),n);break}Ps(e);break;default:throw Error(o(329))}}return gs(e,Va()),e.callbackNode===t?vs.bind(null,e):null}function bs(e,t){for(t&=~Vl,t&=~zl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Gt(t),r=1<<n;e[n]=-1,t&=~r}}function ys(e){if(0!==(48&Pl))throw Error(o(327));if(Rs(),e===Ll&&0!==(e.expiredLanes&Rl)){var t=Rl,n=Ns(e,t);0!==(Fl&zl)&&(n=Ns(e,t=Ht(e,t)))}else n=Ns(e,t=Ht(e,0));if(0!==e.tag&&2===n&&(Pl|=64,e.hydrate&&(e.hydrate=!1,Kr(e.containerInfo)),0!==(t=Bt(e))&&(n=Ns(e,t))),1===n)throw n=Bl,Ss(e,0),bs(e,t),gs(e,Va()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ps(e),gs(e,Va()),null}function ws(e,t){var n=Pl;Pl|=1;try{return e(t)}finally{0===(Pl=n)&&(Kl(),Qa())}}function xs(e,t){var n=Pl;Pl&=-2,Pl|=8;try{return e(t)}finally{0===(Pl=n)&&(Kl(),Qa())}}function Es(e,t){fa(Al,Il),Il|=t,Fl|=t}function ks(){Il=Al.current,ca(Al)}function Ss(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,$r(n)),null!==Dl)for(n=Dl.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&ba();break;case 3:Di(),ca(pa),ca(ha),Xi();break;case 5:Ii(r);break;case 4:Di();break;case 13:case 19:ca(Ai);break;case 10:ri(r);break;case 23:case 24:ks()}n=n.return}Ll=e,Dl=$s(e.current,null),Rl=Il=Fl=t,Hl=0,Bl=null,Vl=zl=Ul=0}function Ts(e,t){for(;;){var n=Dl;try{if(ni(),qi.current=Po,no){for(var r=Ji.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}no=!1}if(Zi=0,to=eo=Ji=null,ro=!1,Cl.current=null,null===n||null===n.return){Hl=1,Bl=t,Dl=null;break}e:{var i=e,o=n.return,l=n,s=t;if(t=Rl,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var u=s;if(0===(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=0!==(1&Ai.current),d=o;do{var h;if(h=13===d.tag){var p=d.memoizedState;if(null!==p)h=null!==p.dehydrated;else{var m=d.memoizedProps;h=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!f)}}if(h){var g=d.updateQueue;if(null===g){var v=new Set;v.add(u),d.updateQueue=v}else g.add(u);if(0===(2&d.mode)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var b=ci(-1,1);b.tag=2,fi(l,b)}l.lanes|=1;break e}s=void 0,l=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new fl,s=new Set,y.set(u,s)):void 0===(s=y.get(u))&&(s=new Set,y.set(u,s)),!s.has(l)){s.add(l);var w=Us.bind(null,i,u,l);u.then(w,w)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);s=Error((K(l.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!==Hl&&(Hl=2),s=ul(s,l),d=o;do{switch(d.tag){case 3:i=s,d.flags|=4096,t&=-t,d.lanes|=t,di(d,dl(0,i,t));break e;case 1:i=s;var x=d.type,E=d.stateNode;if(0===(64&d.flags)&&("function"===typeof x.getDerivedStateFromError||null!==E&&"function"===typeof E.componentDidCatch&&(null===Zl||!Zl.has(E)))){d.flags|=4096,t&=-t,d.lanes|=t,di(d,hl(d,i,t));break e}}d=d.return}while(null!==d)}Cs(n)}catch(k){t=k,Dl===n&&null!==n&&(Dl=n=n.return);continue}break}}function js(){var e=Ml.current;return Ml.current=Po,null===e?Po:e}function Ns(e,t){var n=Pl;Pl|=16;var r=js();for(Ll===e&&Rl===t||Ss(e,t);;)try{Os();break}catch(a){Ts(e,a)}if(ni(),Pl=n,Ml.current=r,null!==Dl)throw Error(o(261));return Ll=null,Rl=0,Hl}function Os(){for(;null!==Dl;)Ms(Dl)}function _s(){for(;null!==Dl&&!Oa();)Ms(Dl)}function Ms(e){var t=Ql(e.alternate,e,Il);e.memoizedProps=e.pendingProps,null===t?Cs(e):Dl=t,Cl.current=null}function Cs(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=ll(n,t,Il)))return void(Dl=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Il)||0===(4&n.mode)){for(var r=0,a=n.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=sl(t)))return n.flags&=2047,void(Dl=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Dl=t);Dl=t=e}while(null!==t);0===Hl&&(Hl=5)}function Ps(e){var t=Ga();return $a(99,Ls.bind(null,e,t)),null}function Ls(e,t){do{Rs()}while(null!==es);if(0!==(48&Pl))throw Error(o(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null;var r=n.lanes|n.childLanes,a=r,i=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 l=e.eventTimes,s=e.expirationTimes;0<i;){var u=31-Gt(i),c=1<<u;a[u]=0,l[u]=-1,s[u]=-1,i&=~c}if(null!==as&&0===(24&r)&&as.has(e)&&as.delete(e),e===Ll&&(Dl=Ll=null,Rl=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(a=Pl,Pl|=32,Cl.current=null,Ur=Xt,vr(l=gr())){if("selectionStart"in l)s={start:l.selectionStart,end:l.selectionEnd};else e:if(s=(s=l.ownerDocument)&&s.defaultView||window,(c=s.getSelection&&s.getSelection())&&0!==c.rangeCount){s=c.anchorNode,i=c.anchorOffset,u=c.focusNode,c=c.focusOffset;try{s.nodeType,u.nodeType}catch(j){s=null;break e}var f=0,d=-1,h=-1,p=0,m=0,g=l,v=null;t:for(;;){for(var b;g!==s||0!==i&&3!==g.nodeType||(d=f+i),g!==u||0!==c&&3!==g.nodeType||(h=f+c),3===g.nodeType&&(f+=g.nodeValue.length),null!==(b=g.firstChild);)v=g,g=b;for(;;){if(g===l)break t;if(v===s&&++p===i&&(d=f),v===u&&++m===c&&(h=f),null!==(b=g.nextSibling))break;v=(g=v).parentNode}g=b}s=-1===d||-1===h?null:{start:d,end:h}}else s=null;s=s||{start:0,end:0}}else s=null;zr={focusedElem:l,selectionRange:s},Xt=!1,cs=null,fs=!1,Xl=r;do{try{Ds()}catch(j){if(null===Xl)throw Error(o(330));Fs(Xl,j),Xl=Xl.nextEffect}}while(null!==Xl);cs=null,Xl=r;do{try{for(l=e;null!==Xl;){var y=Xl.flags;if(16&y&&be(Xl.stateNode,""),128&y){var w=Xl.alternate;if(null!==w){var x=w.ref;null!==x&&("function"===typeof x?x(null):x.current=null)}}switch(1038&y){case 2:El(Xl),Xl.flags&=-3;break;case 6:El(Xl),Xl.flags&=-3,jl(Xl.alternate,Xl);break;case 1024:Xl.flags&=-1025;break;case 1028:Xl.flags&=-1025,jl(Xl.alternate,Xl);break;case 4:jl(Xl.alternate,Xl);break;case 8:Tl(l,s=Xl);var E=s.alternate;wl(s),null!==E&&wl(E)}Xl=Xl.nextEffect}}catch(j){if(null===Xl)throw Error(o(330));Fs(Xl,j),Xl=Xl.nextEffect}}while(null!==Xl);if(x=zr,w=gr(),y=x.focusedElem,l=x.selectionRange,w!==y&&y&&y.ownerDocument&&mr(y.ownerDocument.documentElement,y)){null!==l&&vr(y)&&(w=l.start,void 0===(x=l.end)&&(x=w),"selectionStart"in y?(y.selectionStart=w,y.selectionEnd=Math.min(x,y.value.length)):(x=(w=y.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),s=y.textContent.length,E=Math.min(l.start,s),l=void 0===l.end?E:Math.min(l.end,s),!x.extend&&E>l&&(s=l,l=E,E=s),s=pr(y,E),i=pr(y,l),s&&i&&(1!==x.rangeCount||x.anchorNode!==s.node||x.anchorOffset!==s.offset||x.focusNode!==i.node||x.focusOffset!==i.offset)&&((w=w.createRange()).setStart(s.node,s.offset),x.removeAllRanges(),E>l?(x.addRange(w),x.extend(i.node,i.offset)):(w.setEnd(i.node,i.offset),x.addRange(w))))),w=[];for(x=y;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"===typeof y.focus&&y.focus(),y=0;y<w.length;y++)(x=w[y]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Xt=!!Ur,zr=Ur=null,e.current=n,Xl=r;do{try{for(y=e;null!==Xl;){var k=Xl.flags;if(36&k&&vl(y,Xl.alternate,Xl),128&k){w=void 0;var S=Xl.ref;if(null!==S){var T=Xl.stateNode;Xl.tag,w=T,"function"===typeof S?S(w):S.current=w}}Xl=Xl.nextEffect}}catch(j){if(null===Xl)throw Error(o(330));Fs(Xl,j),Xl=Xl.nextEffect}}while(null!==Xl);Xl=null,Ha(),Pl=a}else e.current=n;if(Jl)Jl=!1,es=e,ts=t;else for(Xl=r;null!==Xl;)t=Xl.nextEffect,Xl.nextEffect=null,8&Xl.flags&&((k=Xl).sibling=null,k.stateNode=null),Xl=t;if(0===(r=e.pendingLanes)&&(Zl=null),1===r?e===os?is++:(is=0,os=e):is=0,n=n.stateNode,Sa&&"function"===typeof Sa.onCommitFiberRoot)try{Sa.onCommitFiberRoot(ka,n,void 0,64===(64&n.current.flags))}catch(j){}if(gs(e,Va()),ql)throw ql=!1,e=Yl,Yl=null,e;return 0!==(8&Pl)||Qa(),null}function Ds(){for(;null!==Xl;){var e=Xl.alternate;fs||null===cs||(0!==(8&Xl.flags)?et(Xl,cs)&&(fs=!0):13===Xl.tag&&Ol(e,Xl)&&et(Xl,cs)&&(fs=!0));var t=Xl.flags;0!==(256&t)&&gl(e,Xl),0===(512&t)||Jl||(Jl=!0,Ka(97,(function(){return Rs(),null}))),Xl=Xl.nextEffect}}function Rs(){if(90!==ts){var e=97<ts?97:ts;return ts=90,$a(e,Hs)}return!1}function Is(e,t){ns.push(t,e),Jl||(Jl=!0,Ka(97,(function(){return Rs(),null})))}function As(e,t){rs.push(t,e),Jl||(Jl=!0,Ka(97,(function(){return Rs(),null})))}function Hs(){if(null===es)return!1;var e=es;if(es=null,0!==(48&Pl))throw Error(o(331));var t=Pl;Pl|=32;var n=rs;rs=[];for(var r=0;r<n.length;r+=2){var a=n[r],i=n[r+1],l=a.destroy;if(a.destroy=void 0,"function"===typeof l)try{l()}catch(u){if(null===i)throw Error(o(330));Fs(i,u)}}for(n=ns,ns=[],r=0;r<n.length;r+=2){a=n[r],i=n[r+1];try{var s=a.create;a.destroy=s()}catch(u){if(null===i)throw Error(o(330));Fs(i,u)}}for(s=e.current.firstEffect;null!==s;)e=s.nextEffect,s.nextEffect=null,8&s.flags&&(s.sibling=null,s.stateNode=null),s=e;return Pl=t,Qa(),!0}function Bs(e,t,n){fi(e,t=dl(0,t=ul(n,t),1)),t=ds(),null!==(e=ms(e,1))&&(Vt(e,1,t),gs(e,t))}function Fs(e,t){if(3===e.tag)Bs(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Bs(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Zl||!Zl.has(r))){var a=hl(n,e=ul(t,e),1);if(fi(n,a),a=ds(),null!==(n=ms(n,1)))Vt(n,1,a),gs(n,a);else if("function"===typeof r.componentDidCatch&&(null===Zl||!Zl.has(r)))try{r.componentDidCatch(t,e)}catch(i){}break}}n=n.return}}function Us(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ds(),e.pingedLanes|=e.suspendedLanes&n,Ll===e&&(Rl&n)===n&&(4===Hl||3===Hl&&(62914560&Rl)===Rl&&500>Va()-Wl?Ss(e,0):Vl|=n),gs(e,t)}function zs(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Ga()?1:2:(0===ss&&(ss=Fl),0===(t=Ut(62914560&~ss))&&(t=4194304))),n=ds(),null!==(e=ms(e,t))&&(Vt(e,t,n),gs(e,n))}function Vs(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,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 Gs(e,t,n,r){return new Vs(e,t,n,r)}function Ws(e){return!(!(e=e.prototype)||!e.isReactComponent)}function $s(e,t){var n=e.alternate;return null===n?((n=Gs(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ks(e,t,n,r,a,i){var l=2;if(r=e,"function"===typeof e)Ws(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case S:return Qs(n.children,a,i,t);case I:l=8,a|=16;break;case T:l=8,a|=1;break;case j:return(e=Gs(12,n,t,8|a)).elementType=j,e.type=j,e.lanes=i,e;case M:return(e=Gs(13,n,t,a)).type=M,e.elementType=M,e.lanes=i,e;case C:return(e=Gs(19,n,t,a)).elementType=C,e.lanes=i,e;case A:return Xs(n,a,i,t);case H:return(e=Gs(24,n,t,a)).elementType=H,e.lanes=i,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case N:l=10;break e;case O:l=9;break e;case _:l=11;break e;case P:l=14;break e;case L:l=16,r=null;break e;case D:l=22;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Gs(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Qs(e,t,n,r){return(e=Gs(7,e,r,t)).lanes=n,e}function Xs(e,t,n,r){return(e=Gs(23,e,r,t)).elementType=A,e.lanes=n,e}function qs(e,t,n){return(e=Gs(6,e,null,t)).lanes=n,e}function Ys(e,t,n){return(t=Gs(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zs(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=zt(0),this.expirationTimes=zt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zt(0),this.mutableSourceEagerHydrationData=null}function Js(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function eu(e,t,n,r){var a=t.current,i=ds(),l=hs(a);e:if(n){t:{if(qe(n=n._reactInternals)!==n||1!==n.tag)throw Error(o(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(va(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(o(171))}if(1===n.tag){var u=n.type;if(va(u)){n=wa(n,u,s);break e}}n=s}else n=da;return null===t.context?t.context=n:t.pendingContext=n,(t=ci(i,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),fi(a,t),ps(a,l,i),l}function tu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function nu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ru(e,t){nu(e,t),(e=e.alternate)&&nu(e,t)}function au(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Zs(e,t,null!=n&&!0===n.hydrate),t=Gs(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,si(t),e[ea]=n.current,Pr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var a=(t=r[e])._getVersion;a=a(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,a]:n.mutableSourceEagerHydrationData.push(t,a)}this._internalRoot=n}function iu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ou(e,t,n,r,a){var i=n._reactRootContainer;if(i){var o=i._internalRoot;if("function"===typeof a){var l=a;a=function(){var e=tu(o);l.call(e)}}eu(t,o,e,a)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new au(e,0,t?{hydrate:!0}:void 0)}(n,r),o=i._internalRoot,"function"===typeof a){var s=a;a=function(){var e=tu(o);s.call(e)}}xs((function(){eu(t,o,e,a)}))}return tu(o)}function lu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!iu(t))throw Error(o(200));return Js(e,t,null,n)}Ql=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||pa.current)Ao=!0;else{if(0===(n&r)){switch(Ao=!1,t.tag){case 3:Ko(t),Ki();break;case 5:Ri(t);break;case 1:va(t.type)&&xa(t);break;case 4:Li(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var a=t.type._context;fa(Za,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(n&t.child.childLanes)?Zo(e,t,n):(fa(Ai,1&Ai.current),null!==(t=il(e,t,n))?t.sibling:null);fa(Ai,1&Ai.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(64&e.flags)){if(r)return al(e,t,n);t.flags|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),fa(Ai,Ai.current),r)break;return null;case 23:case 24:return t.lanes=0,zo(e,t,n)}return il(e,t,n)}Ao=0!==(16384&e.flags)}else Ao=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=ga(t,ha.current),ii(t,n),a=oo(null,t,r,e,a,n),t.flags|=1,"object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,va(r)){var i=!0;xa(t)}else i=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,si(t);var l=r.getDerivedStateFromProps;"function"===typeof l&&gi(t,r,l,e),a.updater=vi,t.stateNode=a,a._reactInternals=t,xi(t,r,e,n),t=$o(null,t,r,!0,i,n)}else t.tag=0,Ho(null,t,a,n),t=t.child;return t;case 16:a=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=(i=a._init)(a._payload),t.type=a,i=t.tag=function(e){if("function"===typeof e)return Ws(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===_)return 11;if(e===P)return 14}return 2}(a),e=Ya(a,e),i){case 0:t=Go(null,t,a,e,n);break e;case 1:t=Wo(null,t,a,e,n);break e;case 11:t=Bo(null,t,a,e,n);break e;case 14:t=Fo(null,t,a,Ya(a.type,e),r,n);break e}throw Error(o(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,Go(e,t,r,a=t.elementType===r?a:Ya(r,a),n);case 1:return r=t.type,a=t.pendingProps,Wo(e,t,r,a=t.elementType===r?a:Ya(r,a),n);case 3:if(Ko(t),r=t.updateQueue,null===e||null===r)throw Error(o(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,ui(e,t),hi(t,r,null,n),(r=t.memoizedState.element)===a)Ki(),t=il(e,t,n);else{if((i=(a=t.stateNode).hydrate)&&(Fi=Qr(t.stateNode.containerInfo.firstChild),Bi=t,i=Ui=!0),i){if(null!=(e=a.mutableSourceEagerHydrationData))for(a=0;a<e.length;a+=2)(i=e[a])._workInProgressVersionPrimary=e[a+1],Qi.push(i);for(n=Ni(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Ho(e,t,r,n),Ki();t=t.child}return t;case 5:return Ri(t),null===e&&Gi(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,Gr(r,a)?l=null:null!==i&&Gr(r,i)&&(t.flags|=16),Vo(e,t),Ho(e,t,l,n),t.child;case 6:return null===e&&Gi(t),null;case 13:return Zo(e,t,n);case 4:return Li(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ji(t,null,r,n):Ho(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Bo(e,t,r,a=t.elementType===r?a:Ya(r,a),n);case 7:return Ho(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ho(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,l=t.memoizedProps,i=a.value;var s=t.type._context;if(fa(Za,s._currentValue),s._currentValue=i,null!==l)if(s=l.value,0===(i=cr(s,i)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(s,i):1073741823))){if(l.children===a.children&&!pa.current){t=il(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var u=s.dependencies;if(null!==u){l=s.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!==(c.observedBits&i)){1===s.tag&&((c=ci(-1,n&-n)).tag=2,fi(s,c)),s.lanes|=n,null!==(c=s.alternate)&&(c.lanes|=n),ai(s.return,n),u.lanes|=n;break}c=c.next}}else l=10===s.tag&&s.type===t.type?null:s.child;if(null!==l)l.return=s;else for(l=s;null!==l;){if(l===t){l=null;break}if(null!==(s=l.sibling)){s.return=l.return,l=s;break}l=l.return}s=l}Ho(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(i=t.pendingProps).children,ii(t,n),r=r(a=oi(a,i.unstable_observedBits)),t.flags|=1,Ho(e,t,r,n),t.child;case 14:return i=Ya(a=t.type,t.pendingProps),Fo(e,t,a,i=Ya(a.type,i),r,n);case 15:return Uo(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ya(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,va(r)?(e=!0,xa(t)):e=!1,ii(t,n),yi(t,r,a),xi(t,r,a,n),$o(null,t,r,!0,e,n);case 19:return al(e,t,n);case 23:case 24:return zo(e,t,n)}throw Error(o(156,t.tag))},au.prototype.render=function(e){eu(e,this._internalRoot,null,null)},au.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;eu(null,e,null,(function(){t[ea]=null}))},tt=function(e){13===e.tag&&(ps(e,4,ds()),ru(e,4))},nt=function(e){13===e.tag&&(ps(e,67108864,ds()),ru(e,67108864))},rt=function(e){if(13===e.tag){var t=ds(),n=hs(e);ps(e,n,t),ru(e,n)}},at=function(e,t){return t()},Ne=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=ia(r);if(!a)throw Error(o(90));Y(r),ne(r,a)}}}break;case"textarea":ue(e,n);break;case"select":null!=(t=n.value)&&oe(e,!!n.multiple,t,!1)}},Le=ws,De=function(e,t,n,r,a){var i=Pl;Pl|=4;try{return $a(98,e.bind(null,t,n,r,a))}finally{0===(Pl=i)&&(Kl(),Qa())}},Re=function(){0===(49&Pl)&&(function(){if(null!==as){var e=as;as=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,gs(e,Va())}))}Qa()}(),Rs())},Ie=function(e,t){var n=Pl;Pl|=2;try{return e(t)}finally{0===(Pl=n)&&(Kl(),Qa())}};var su={Events:[ra,aa,ia,Ce,Pe,Rs,{current:!1}]},uu={findFiberByHostInstance:na,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},cu={bundleType:uu.bundleType,version:uu.version,rendererPackageName:uu.rendererPackageName,rendererConfig:uu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:uu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var fu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fu.isDisabled&&fu.supportsFiber)try{ka=fu.inject(cu),Sa=fu}catch(ge){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=su,t.createPortal=lu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw Error(o(268,Object.keys(e)))}return e=null===(e=Je(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Pl;if(0!==(48&n))return e(t);Pl|=1;try{if(e)return $a(99,e.bind(null,t))}finally{Pl=n,Qa()}},t.hydrate=function(e,t,n){if(!iu(t))throw Error(o(200));return ou(null,e,t,!0,n)},t.render=function(e,t,n){if(!iu(t))throw Error(o(200));return ou(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!iu(e))throw Error(o(40));return!!e._reactRootContainer&&(xs((function(){ou(null,null,e,!1,(function(){e._reactRootContainer=null,e[ea]=null}))})),!0)},t.unstable_batchedUpdates=ws,t.unstable_createPortal=function(e,t){return lu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!iu(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ou(e,t,n,!1,r)},t.version="17.0.2"},164:function(e,t,n){!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(463)},374:function(e,t,n){n(725);var r=n(791),a=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var i=Symbol.for;a=i("react.element"),t.Fragment=i("react.fragment")}var o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)l.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:i,_owner:o.current}}t.jsx=u,t.jsxs=u},117:function(e,t,n){var r=n(725),a=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,l=60110,s=60112;t.Suspense=60113;var u=60115,c=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;a=f("react.element"),i=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),o=f("react.provider"),l=f("react.context"),s=f("react.forward_ref"),t.Suspense=f("react.suspense"),u=f("react.memo"),c=f("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(h(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=g.prototype;var y=b.prototype=new v;y.constructor=b,r(y,g.prototype),y.isPureReactComponent=!0;var w={current:null},x=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,n){var r,i={},o=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(o=""+t.key),t)x.call(t,r)&&!E.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:a,type:e,key:o,ref:l,props:i,_owner:w.current}}function S(e){return"object"===typeof e&&null!==e&&e.$$typeof===a}var T=/\/+/g;function j(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function N(e,t,n,r,o){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case a:case i:s=!0}}if(s)return o=o(s=e),e=""===r?"."+j(s,0):r,Array.isArray(o)?(n="",null!=e&&(n=e.replace(T,"$&/")+"/"),N(o,t,n,"",(function(e){return e}))):null!=o&&(S(o)&&(o=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(T,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=""===r?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=r+j(l=e[u],u);s+=N(l,t,n,c,o)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=N(l=l.value,t,n,c=r+j(l,u++),o);else if("object"===l)throw t=""+e,Error(h(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return s}function O(e,t,n){if(null==e)return e;var r=[],a=0;return N(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function _(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var M={current:null};function C(){var e=M.current;if(null===e)throw Error(h(321));return e}var P={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error(h(143));return e}},t.Component=g,t.PureComponent=b,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(h(267,e));var i=r({},e.props),o=e.key,l=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,s=w.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)x.call(t,c)&&!E.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){u=Array(c);for(var f=0;f<c;f++)u[f]=arguments[f+2];i.children=u}return{$$typeof:a,type:e.type,key:o,ref:l,props:i,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:l,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:_}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return C().useCallback(e,t)},t.useContext=function(e,t){return C().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return C().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return C().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return C().useLayoutEffect(e,t)},t.useMemo=function(e,t){return C().useMemo(e,t)},t.useReducer=function(e,t,n){return C().useReducer(e,t,n)},t.useRef=function(e){return C().useRef(e)},t.useState=function(e){return C().useState(e)},t.version="17.0.2"},791:function(e,t,n){e.exports=n(117)},184:function(e,t,n){e.exports=n(374)},813:function(e,t){var n,r,a,i;if("object"===typeof performance&&"function"===typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var u=null,c=null,f=function e(){if(null!==u)try{var n=t.unstable_now();u(!0,n),u=null}catch(r){throw setTimeout(e,0),r}};n=function(e){null!==u?setTimeout(n,0,e):(u=e,setTimeout(f,0))},r=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,h=window.clearTimeout;if("undefined"!==typeof console){var p=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 p&&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 m=!1,g=null,v=-1,b=5,y=0;t.unstable_shouldYield=function(){return t.unstable_now()>=y},i=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"):b=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,x=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();y=e+b;try{g(!0,e)?x.postMessage(null):(m=!1,g=null)}catch(n){throw x.postMessage(null),n}}else m=!1},n=function(e){g=e,m||(m=!0,x.postMessage(null))},r=function(e,n){v=d((function(){e(t.unstable_now())}),n)},a=function(){h(v),v=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<T(a,t)))break e;e[r]=t,e[n]=a,n=r}}function k(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var i=2*(r+1)-1,o=e[i],l=i+1,s=e[l];if(void 0!==o&&0>T(o,n))void 0!==s&&0>T(s,o)?(e[r]=s,e[l]=n,r=l):(e[r]=o,e[i]=n,r=i);else{if(!(void 0!==s&&0>T(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var j=[],N=[],O=1,_=null,M=3,C=!1,P=!1,L=!1;function D(e){for(var t=k(N);null!==t;){if(null===t.callback)S(N);else{if(!(t.startTime<=e))break;S(N),t.sortIndex=t.expirationTime,E(j,t)}t=k(N)}}function R(e){if(L=!1,D(e),!P)if(null!==k(j))P=!0,n(I);else{var t=k(N);null!==t&&r(R,t.startTime-e)}}function I(e,n){P=!1,L&&(L=!1,a()),C=!0;var i=M;try{for(D(n),_=k(j);null!==_&&(!(_.expirationTime>n)||e&&!t.unstable_shouldYield());){var o=_.callback;if("function"===typeof o){_.callback=null,M=_.priorityLevel;var l=o(_.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?_.callback=l:_===k(j)&&S(j),D(n)}else S(j);_=k(j)}if(null!==_)var s=!0;else{var u=k(N);null!==u&&r(R,u.startTime-n),s=!1}return s}finally{_=null,M=i,C=!1}}var A=i;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(){P||C||(P=!0,n(I))},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_getFirstCallbackNode=function(){return k(j)},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=A,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},t.unstable_scheduleCallback=function(e,i,o){var l=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?l+o:l:o=l,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:O++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>l?(e.sortIndex=o,E(N,e),null===k(j)&&e===k(N)&&(L?a():L=!0,r(R,o-l))):(e.sortIndex=s,E(j,e),P||C||(P=!0,n(I))),e},t.unstable_wrapCallback=function(e){var t=M;return function(){var n=M;M=t;try{return e.apply(this,arguments)}finally{M=n}}}},296:function(e,t,n){e.exports=n(813)}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+".13feef5e.chunk.js"},n.miniCssF=function(e){},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="learning-analytics-dashboard:";n.l=function(r,a,i,o){if(e[r])e[r].push(a);else{var l,s;if(void 0!==i)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var f=u[c];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+i){l=f;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+i),l.src=r),e[r]=[a];var d=function(t,n){l.onerror=l.onload=null,clearTimeout(h);var a=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((function(e){return e(n)})),t)return t(n)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),s&&document.head.appendChild(l)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/learning-analytics-dashboard/",function(){var e={179:0};n.f.j=function(t,r){var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var i=new Promise((function(n,r){a=e[t]=[n,r]}));r.push(a[2]=i);var o=n.p+n.u(t),l=new Error;n.l(o,(function(r){if(n.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",l.name="ChunkLoadError",l.type=i,l.request=o,a[1](l)}}),"chunk-"+t,t)}};var t=function(t,r){var a,i,o=r[0],l=r[1],s=r[2],u=0;if(o.some((function(t){return 0!==e[t]}))){for(a in l)n.o(l,a)&&(n.m[a]=l[a]);if(s)s(n)}for(t&&t(r);u<o.length;u++)i=o[u],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunklearning_analytics_dashboard=self.webpackChunklearning_analytics_dashboard||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){if(t&&("object"===l(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function c(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=o(e);if(t){var a=o(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u(this,n)}}var f=n(791),d=n(164),h=function(e,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},h(e,t)};function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m=function(){return m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},m.apply(this,arguments)};function g(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}Object.create;function v(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;var b=n(110),y=n.n(b);var w,x,E;function k(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function S(e){return e.type===x.literal}function T(e){return e.type===x.argument}function j(e){return e.type===x.number}function N(e){return e.type===x.date}function O(e){return e.type===x.time}function _(e){return e.type===x.select}function M(e){return e.type===x.plural}function C(e){return e.type===x.pound}function P(e){return e.type===x.tag}function L(e){return!(!e||"object"!==typeof e||e.type!==E.number)}function D(e){return!(!e||"object"!==typeof e||e.type!==E.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(w||(w={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(x||(x={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(E||(E={}));var R=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,I=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function A(e){var t={};return e.replace(I,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var H=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var B=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,F=/^(@+)?(\+|#+)?[rs]?$/g,U=/(\*)(0+)|(#+)(0+)|(0+)/g,z=/^(0+)$/;function V(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(F,(function(e,n,r){return"string"!==typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"===typeof r?r.length:0)),""})),t}function G(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function W(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!z.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function $(e){var t=G(e);return t||{}}function K(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=a.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=m(m(m({},t),{notation:"scientific"}),a.options.reduce((function(e,t){return m(m({},e),$(t))}),{}));continue;case"engineering":t=m(m(m({},t),{notation:"engineering"}),a.options.reduce((function(e,t){return m(m({},e),$(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(U,(function(e,n,r,a,i,o){if(n)t.minimumIntegerDigits=r.length;else{if(a&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(z.test(a.stem))t.minimumIntegerDigits=a.stem.length;else if(B.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(B,(function(e,n,r,a,i,o){return"*"===r?t.minimumFractionDigits=n.length:a&&"#"===a[0]?t.maximumFractionDigits=a.length:i&&o?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var i=a.options[0];"w"===i?t=m(m({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=m(m({},t),V(i)))}else if(F.test(a.stem))t=m(m({},t),V(a.stem));else{var o=G(a.stem);o&&(t=m(m({},t),o));var l=W(a.stem);l&&(t=m(m({},t),l))}}return t}var Q,X={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function q(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(X[n||""]||X[r||""]||X["".concat(r,"-001")]||X["001"])[0]}var Y=new RegExp("^".concat(R.source,"*")),Z=new RegExp("".concat(R.source,"*$"));function J(e,t){return{start:e,end:t}}var ee=!!String.prototype.startsWith,te=!!String.fromCodePoint,ne=!!Object.fromEntries,re=!!String.prototype.codePointAt,ae=!!String.prototype.trimStart,ie=!!String.prototype.trimEnd,oe=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},le=!0;try{le="a"===(null===(Q=me("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Q?void 0:Q[0])}catch(Bn){le=!1}var se,ue=ee?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},ce=te?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",a=e.length,i=0;a>i;){if((n=e[i++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},fe=ne?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n],i=a[0],o=a[1];t[i]=o}return t},de=re?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,a=e.charCodeAt(t);return a<55296||a>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?a:r-56320+(a-55296<<10)+65536}},he=ae?function(e){return e.trimStart()}:function(e){return e.replace(Y,"")},pe=ie?function(e){return e.trimEnd()}:function(e){return e.replace(Z,"")};function me(e,t){return new RegExp(e,t)}if(le){var ge=me("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");se=function(e,t){var n;return ge.lastIndex=t,null!==(n=ge.exec(e)[1])&&void 0!==n?n:""}}else se=function(e,t){for(var n=[];;){var r=de(e,t);if(void 0===r||ye(r)||we(r))break;n.push(r),t+=r>=65536?2:1}return ce.apply(void 0,n)};var ve=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a=this.char();if(123===a){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125===a&&e>0)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(w.UNMATCHED_CLOSING_TAG,J(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&be(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{var o=this.clonePosition();this.bump(),r.push({type:x.pound,location:J(o,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:x.literal,value:"<".concat(r,"/>"),location:J(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var i=a.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!be(this.char()))return this.error(w.INVALID_TAG,J(o,this.clonePosition()));var l=this.clonePosition();return r!==this.parseTagName()?this.error(w.UNMATCHED_CLOSING_TAG,J(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:x.tag,value:r,children:i,location:J(n,this.clonePosition())},err:null}:this.error(w.INVALID_TAG,J(o,this.clonePosition())))}return this.error(w.UNCLOSED_TAG,J(n,this.clonePosition()))}return this.error(w.INVALID_TAG,J(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var a=this.tryParseQuote(t);if(a)r+=a;else{var i=this.tryParseUnquoted(e,t);if(i)r+=i;else{var o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}var l=J(n,this.clonePosition());return{val:{type:x.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(be(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return ce.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),ce(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,J(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(w.EMPTY_ARGUMENT,J(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(w.MALFORMED_ARGUMENT,J(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,J(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:x.argument,value:r,location:J(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,J(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(w.MALFORMED_ARGUMENT,J(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=se(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:J(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var a,i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(w.EXPECT_ARGUMENT_TYPE,J(i,l));case"number":case"date":case"time":this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((b=this.parseSimpleArgStyleIfPossible()).err)return b;if(0===(h=pe(b.val)).length)return this.error(w.EXPECT_ARGUMENT_STYLE,J(this.clonePosition(),this.clonePosition()));s={style:h,styleLocation:J(u,this.clonePosition())}}if((y=this.tryParseArgumentClose(r)).err)return y;var c=J(r,this.clonePosition());if(s&&ue(null===s||void 0===s?void 0:s.style,"::",0)){var f=he(s.style.slice(2));if("number"===o)return(b=this.parseNumberSkeletonFromString(f,s.styleLocation)).err?b:{val:{type:x.number,value:n,location:c,style:b.val},err:null};if(0===f.length)return this.error(w.EXPECT_DATE_TIME_SKELETON,c);var d=f;this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if("j"===a){for(var i=0;r+1<e.length&&e.charAt(r+1)===a;)i++,r++;var o=1+(1&i),l=i<2?1:3+(i>>1),s=q(t);for("H"!=s&&"k"!=s||(l=0);l-- >0;)n+="a";for(;o-- >0;)n=s+n}else n+="J"===a?"H":a}return n}(f,this.locale));var h={type:E.dateTime,pattern:d,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?A(d):{}};return{val:{type:"date"===o?x.date:x.time,value:n,location:c,style:h},err:null}}return{val:{type:"number"===o?x.number:"date"===o?x.date:x.time,value:n,location:c,style:null!==(a=null===s||void 0===s?void 0:s.style)&&void 0!==a?a:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS,J(p,m({},p)));this.bumpSpace();var g=this.parseIdentifierIfPossible(),v=0;if("select"!==o&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,J(this.clonePosition(),this.clonePosition()));var b;if(this.bumpSpace(),(b=this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return b;this.bumpSpace(),g=this.parseIdentifierIfPossible(),v=b.val}var y,k=this.tryParsePluralOrSelectOptions(e,o,t,g);if(k.err)return k;if((y=this.tryParseArgumentClose(r)).err)return y;var S=J(r,this.clonePosition());return"select"===o?{val:{type:x.select,value:n,options:fe(k.val),location:S},err:null}:{val:{type:x.plural,value:n,options:fe(k.val),offset:v,pluralType:"plural"===o?"cardinal":"ordinal",location:S},err:null};default:return this.error(w.INVALID_ARGUMENT_TYPE,J(i,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,J(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,J(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(H).filter((function(e){return e.length>0}));n<r.length;n++){var a=r[n].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var i=a[0],o=a.slice(1),l=0,s=o;l<s.length;l++)if(0===s[l].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(r){return this.error(w.INVALID_NUMBER_SKELETON,t)}return{val:{type:E.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?K(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var a,i=!1,o=[],l=new Set,s=r.value,u=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR,w.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=J(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(l.has(s))return this.error("select"===t?w.DUPLICATE_SELECT_ARGUMENT_SELECTOR:w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===s&&(i=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,J(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,n);if(h.err)return h;var p=this.tryParseArgumentClose(d);if(p.err)return p;o.push([s,{value:h.val,location:J(d,this.clonePosition())}]),l.add(s),this.bumpSpace(),s=(a=this.parseIdentifierIfPossible()).value,u=a.location}return 0===o.length?this.error("select"===t?w.EXPECT_SELECT_ARGUMENT_SELECTOR:w.EXPECT_PLURAL_ARGUMENT_SELECTOR,J(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(w.MISSING_OTHER_CLAUSE,J(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,i=0;!this.isEOF();){var o=this.char();if(!(o>=48&&o<=57))break;a=!0,i=10*i+(o-48),this.bump()}var l=J(r,this.clonePosition());return a?oe(i*=n)?{val:i,err:null}:this.error(t,l):this.error(e,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=de(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(ue(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ye(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!==n&&void 0!==n?n:null},e}();function be(e){return e>=97&&e<=122||e>=65&&e<=90}function ye(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function we(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function xe(e){e.forEach((function(e){if(delete e.location,_(e)||M(e))for(var t in e.options)delete e.options[t].location,xe(e.options[t].value);else j(e)&&L(e.style)||(N(e)||O(e))&&D(e.style)?delete e.style.location:P(e)&&xe(e.children)}))}function Ee(e,t){void 0===t&&(t={}),t=m({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ve(e,t).parse();if(n.err){var r=SyntaxError(w[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null===t||void 0===t?void 0:t.captureLocation)||xe(n.val),n.val}function ke(e,t){var n=t&&t.cache?t.cache:Ce,r=t&&t.serializer?t.serializer:Oe;return(t&&t.strategy?t.strategy:Ne)(e,{cache:n,serializer:r})}function Se(e,t,n,r){var a,i=null==(a=r)||"number"===typeof a||"boolean"===typeof a?r:n(r),o=t.get(i);return"undefined"===typeof o&&(o=e.call(this,r),t.set(i,o)),o}function Te(e,t,n){var r=Array.prototype.slice.call(arguments,3),a=n(r),i=t.get(a);return"undefined"===typeof i&&(i=e.apply(this,r),t.set(a,i)),i}function je(e,t,n,r,a){return n.bind(t,e,r,a)}function Ne(e,t){return je(e,this,1===e.length?Se:Te,t.cache.create(),t.serializer)}var Oe=function(){return JSON.stringify(arguments)};function _e(){this.cache=Object.create(null)}_e.prototype.get=function(e){return this.cache[e]},_e.prototype.set=function(e,t){this.cache[e]=t};var Me,Ce={create:function(){return new _e}},Pe={variadic:function(e,t){return je(e,this,Te,t.cache.create(),t.serializer)},monadic:function(e,t){return je(e,this,Se,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Me||(Me={}));var Le,De=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.code=n,a.originalMessage=r,a}return p(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Re=function(e){function t(t,n,r,a){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Me.INVALID_VALUE,a)||this}return p(t,e),t}(De),Ie=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Me.INVALID_VALUE,r)||this}return p(t,e),t}(De),Ae=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Me.MISSING_VALUE,n)||this}return p(t,e),t}(De);function He(e){return"function"===typeof e}function Be(e,t,n,r,a,i,o){if(1===e.length&&S(e[0]))return[{type:Le.literal,value:e[0].value}];for(var l=[],s=0,u=e;s<u.length;s++){var c=u[s];if(S(c))l.push({type:Le.literal,value:c.value});else if(C(c))"number"===typeof i&&l.push({type:Le.literal,value:n.getNumberFormat(t).format(i)});else{var f=c.value;if(!a||!(f in a))throw new Ae(f,o);var d=a[f];if(T(c))d&&"string"!==typeof d&&"number"!==typeof d||(d="string"===typeof d||"number"===typeof d?String(d):""),l.push({type:"string"===typeof d?Le.literal:Le.object,value:d});else if(N(c)){var h="string"===typeof c.style?r.date[c.style]:D(c.style)?c.style.parsedOptions:void 0;l.push({type:Le.literal,value:n.getDateTimeFormat(t,h).format(d)})}else if(O(c)){h="string"===typeof c.style?r.time[c.style]:D(c.style)?c.style.parsedOptions:r.time.medium;l.push({type:Le.literal,value:n.getDateTimeFormat(t,h).format(d)})}else if(j(c)){(h="string"===typeof c.style?r.number[c.style]:L(c.style)?c.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),l.push({type:Le.literal,value:n.getNumberFormat(t,h).format(d)})}else{if(P(c)){var p=c.children,m=c.value,g=a[m];if(!He(g))throw new Ie(m,"function",o);var v=g(Be(p,t,n,r,a,i).map((function(e){return e.value})));Array.isArray(v)||(v=[v]),l.push.apply(l,v.map((function(e){return{type:"string"===typeof e?Le.literal:Le.object,value:e}})))}if(_(c)){if(!(b=c.options[d]||c.options.other))throw new Re(c.value,d,Object.keys(c.options),o);l.push.apply(l,Be(b.value,t,n,r,a))}else if(M(c)){var b;if(!(b=c.options["=".concat(d)])){if(!Intl.PluralRules)throw new De('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Me.MISSING_INTL_API,o);var y=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));b=c.options[y]||c.options.other}if(!b)throw new Re(c.value,d,Object.keys(c.options),o);l.push.apply(l,Be(b.value,t,n,r,a,d-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===Le.literal&&t.type===Le.literal?n.value+=t.value:e.push(t),e}),[])}(l)}function Fe(e,t){return t?Object.keys(e).reduce((function(n,r){var a,i;return n[r]=(a=e[r],(i=t[r])?m(m(m({},a||{}),i||{}),Object.keys(a).reduce((function(e,t){return e[t]=m(m({},a[t]),i[t]||{}),e}),{})):a),n}),m({},e)):e}function Ue(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Le||(Le={}));var ze,Ve=function(){function e(t,n,r,a){var i,o=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Le.literal&&"string"===typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Be(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"===typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null===a||void 0===a?void 0:a.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Fe(e.formats,r),this.formatters=a&&a.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ke((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,v([void 0],t,!1)))}),{cache:Ue(i.number),strategy:Pe.variadic}),getDateTimeFormat:ke((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,v([void 0],t,!1)))}),{cache:Ue(i.dateTime),strategy:Pe.variadic}),getPluralRules:ke((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,v([void 0],t,!1)))}),{cache:Ue(i.pluralRules),strategy:Pe.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"===typeof e?e:e[0])},e.__parse=Ee,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(ze||(ze={}));var Ge=function(e){function t(n,r,a){var i=this,o=a?a instanceof Error?a:new Error(String(a)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r," \n").concat(o?"\n".concat(o.message,"\n").concat(o.stack):""))||this).code=n,"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return p(t,e),t}(Error),We=function(e){function t(t,n){return e.call(this,ze.UNSUPPORTED_FORMATTER,t,n)||this}return p(t,e),t}(Ge),$e=function(e){function t(t,n){return e.call(this,ze.INVALID_CONFIG,t,n)||this}return p(t,e),t}(Ge),Ke=function(e){function t(t,n){return e.call(this,ze.MISSING_DATA,t,n)||this}return p(t,e),t}(Ge),Qe=function(e){function t(t,n,r){return e.call(this,ze.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(n,"\n"),r)||this}return p(t,e),t}(Ge),Xe=function(e){function t(t,n,r,a){var i=e.call(this,"".concat(t," \nMessageID: ").concat(null===r||void 0===r?void 0:r.id,"\nDefault Message: ").concat(null===r||void 0===r?void 0:r.defaultMessage,"\nDescription: ").concat(null===r||void 0===r?void 0:r.description," \n"),n,a)||this;return i.descriptor=r,i}return p(t,e),t}(Qe),qe=function(e){function t(t,n){var r=e.call(this,ze.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message":"id"," as fallback."))||this;return r.descriptor=t,r}return p(t,e),t}(Ge);function Ye(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t}),{})}var Ze={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function Je(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function et(e,t,n,r){var a,i=e&&e[t];if(i&&(a=i[n]),a)return a;r(new We("No ".concat(t," format named: ").concat(n)))}function tt(e){k(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var nt=m(m({},Ze),{textComponent:f.Fragment});function rt(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),a=n.length;if(r.length!==a)return!1;for(var i=0;i<a;i++){var o=n[i];if(e[o]!==t[o]||!Object.prototype.hasOwnProperty.call(t,o))return!1}return!0}var at=f.createContext(null),it=at.Consumer,ot=at.Provider,lt=at;function st(e,t){var n,r=t||{},a=r.intlPropName,i=void 0===a?"intl":a,o=r.forwardRef,l=void 0!==o&&o,s=r.enforceContext,u=void 0===s||s,c=function(t){return f.createElement(it,null,(function(n){var r;u&&tt(n);var a=((r={})[i]=n,r);return f.createElement(e,m({},t,a,{ref:l?t.forwardedRef:null}))}))};return c.displayName="injectIntl(".concat((n=e).displayName||n.name||"Component",")"),c.WrappedComponent=e,l?y()(f.forwardRef((function(e,t){return f.createElement(c,m({},e,{forwardedRef:t}))})),e):y()(c,e)}function ut(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=m({timeZone:t},e[r]),n}),{})}function ct(e,t){return Object.keys(m(m({},e),t)).reduce((function(n,r){return n[r]=m(m({},e[r]||{}),t[r]||{}),n}),{})}function ft(e,t){if(!t)return e;var n=Ve.formats;return m(m(m({},n),e),{date:ct(ut(n.date,t),ut(e.date||{},t)),time:ct(ut(n.time,t),ut(e.time||{},t))})}function dt(e,t,n,r,a){var i=e.locale,o=e.formats,l=e.messages,s=e.defaultLocale,u=e.defaultFormats,c=e.fallbackOnEmptyString,f=e.onError,d=e.timeZone,h=e.defaultRichTextElements;void 0===n&&(n={id:""});var p=n.id,g=n.defaultMessage;k(!!p,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var v=String(p),b=l&&Object.prototype.hasOwnProperty.call(l,v)&&l[v];if(Array.isArray(b)&&1===b.length&&b[0].type===x.literal)return b[0].value;if(!r&&b&&"string"===typeof b&&!h)return b.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=m(m({},h),r||{}),o=ft(o,d),u=ft(u,d),!b){if(!1===c&&""===b)return b;if((!g||i&&i.toLowerCase()!==s.toLowerCase())&&f(new qe(n,i)),g)try{return t.getMessageFormat(g,s,u,a).format(r)}catch(y){return f(new Xe('Error formatting default message for: "'.concat(v,'", rendering default message verbatim'),i,n,y)),"string"===typeof g?g:v}return v}try{return t.getMessageFormat(b,i,o,m({formatters:t},a||{})).format(r)}catch(y){f(new Xe('Error formatting message: "'.concat(v,'", using ').concat(g?"default message":"id"," as fallback."),i,n,y))}if(g)try{return t.getMessageFormat(g,s,u,a).format(r)}catch(y){f(new Xe('Error formatting the default message for: "'.concat(v,'", rendering message verbatim'),i,n,y))}return"string"===typeof b?b:"string"===typeof g?g:v}var ht=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function pt(e,t,n){var r=e.locale,a=e.formats,i=e.onError;void 0===n&&(n={});var o=n.format,l=o&&et(a,"number",o,i)||{};return t(r,Ye(n,ht,l))}function mt(e,t,n,r){void 0===r&&(r={});try{return pt(e,t,r).format(n)}catch(a){e.onError(new Ge(ze.FORMAT_ERROR,"Error formatting number.",a))}return String(n)}function gt(e,t,n,r){void 0===r&&(r={});try{return pt(e,t,r).formatToParts(n)}catch(a){e.onError(new Ge(ze.FORMAT_ERROR,"Error formatting number.",a))}return[]}var vt=["numeric","style"];function bt(e,t,n,r,a){void 0===a&&(a={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new De('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Me.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale,a=e.formats,i=e.onError;void 0===n&&(n={});var o=n.format,l=!!o&&et(a,"relative",o,i)||{};return t(r,Ye(n,vt,l))}(e,t,a).format(n,r)}catch(i){e.onError(new Qe("Error formatting relative time.",e.locale,i))}return String(n)}var yt=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function wt(e,t,n,r){var a=e.locale,i=e.formats,o=e.onError,l=e.timeZone;void 0===r&&(r={});var s=r.format,u=m(m({},l&&{timeZone:l}),s&&et(i,t,s,o)),c=Ye(r,yt,u);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=m(m({},c),{hour:"numeric",minute:"numeric"})),n(a,c)}function xt(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=n[0],i=n[1],o=void 0===i?{}:i,l="string"===typeof a?new Date(a||0):a;try{return wt(e,"date",t,o).format(l)}catch(s){e.onError(new Ge(ze.FORMAT_ERROR,"Error formatting date.",s))}return String(l)}function Et(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=n[0],i=n[1],o=void 0===i?{}:i,l="string"===typeof a?new Date(a||0):a;try{return wt(e,"time",t,o).format(l)}catch(s){e.onError(new Ge(ze.FORMAT_ERROR,"Error formatting time.",s))}return String(l)}function kt(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=n[0],i=n[1],o=n[2],l=void 0===o?{}:o,s=e.timeZone,u=e.locale,c=e.onError,f=Ye(l,yt,s?{timeZone:s}:{});try{return t(u,f).formatRange(a,i)}catch(d){c(new Ge(ze.FORMAT_ERROR,"Error formatting date time range.",d))}return String(a)}function St(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=n[0],i=n[1],o=void 0===i?{}:i,l="string"===typeof a?new Date(a||0):a;try{return wt(e,"date",t,o).formatToParts(l)}catch(s){e.onError(new Ge(ze.FORMAT_ERROR,"Error formatting date.",s))}return[]}function Tt(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=n[0],i=n[1],o=void 0===i?{}:i,l="string"===typeof a?new Date(a||0):a;try{return wt(e,"time",t,o).formatToParts(l)}catch(s){e.onError(new Ge(ze.FORMAT_ERROR,"Error formatting time.",s))}return[]}var jt=["localeMatcher","type"];function Nt(e,t,n,r){var a=e.locale,i=e.onError;void 0===r&&(r={}),Intl.PluralRules||i(new De('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Me.MISSING_INTL_API));var o=Ye(r,jt);try{return t(a,o).select(n)}catch(l){i(new Qe("Error formatting plural.",a,l))}return"other"}var Ot=["localeMatcher","type","style"],_t=Date.now();function Mt(e,t,n,r){void 0===r&&(r={});var a=Ct(e,t,n,r).reduce((function(e,t){var n=t.value;return"string"!==typeof n?e.push(n):"string"===typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[]);return 1===a.length?a[0]:a}function Ct(e,t,n,r){var a=e.locale,i=e.onError;void 0===r&&(r={}),Intl.ListFormat||i(new De('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Me.MISSING_INTL_API));var o=Ye(r,Ot);try{var l={},s=n.map((function(e,t){if("object"===typeof e){var n=function(e){return"".concat(_t,"_").concat(e,"_").concat(_t)}(t);return l[n]=e,n}return String(e)}));return t(a,o).formatToParts(s).map((function(e){return"literal"===e.type?e:m(m({},e),{value:l[e.value]||e.value})}))}catch(u){i(new Ge(ze.FORMAT_ERROR,"Error formatting list.",u))}return n}var Pt=["localeMatcher","style","type","fallback"];function Lt(e,t,n,r){var a=e.locale,i=e.onError;Intl.DisplayNames||i(new De('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Me.MISSING_INTL_API));var o=Ye(r,Pt);try{return t(a,o).of(n)}catch(l){i(new Ge(ze.FORMAT_ERROR,"Error formatting display name.",l))}}function Dt(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"===typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}function Rt(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,a=ke((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,v([void 0],t,!1)))}),{cache:Je(e.dateTime),strategy:Pe.variadic}),i=ke((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,v([void 0],t,!1)))}),{cache:Je(e.number),strategy:Pe.variadic}),o=ke((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,v([void 0],t,!1)))}),{cache:Je(e.pluralRules),strategy:Pe.variadic});return{getDateTimeFormat:a,getNumberFormat:i,getMessageFormat:ke((function(e,t,n,r){return new Ve(e,t,n,m({formatters:{getNumberFormat:i,getDateTimeFormat:a,getPluralRules:o}},r||{}))}),{cache:Je(e.message),strategy:Pe.variadic}),getRelativeTimeFormat:ke((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,v([void 0],e,!1)))}),{cache:Je(e.relativeTime),strategy:Pe.variadic}),getPluralRules:o,getListFormat:ke((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,v([void 0],e,!1)))}),{cache:Je(e.list),strategy:Pe.variadic}),getDisplayNames:ke((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,v([void 0],e,!1)))}),{cache:Je(e.displayNames),strategy:Pe.variadic})}}(t),r=m(m({},Ze),e),a=r.locale,i=r.defaultLocale,o=r.onError;return a?!Intl.NumberFormat.supportedLocalesOf(a).length&&o?o(new Ke('Missing locale data for locale: "'.concat(a,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(a).length&&o&&o(new Ke('Missing locale data for locale: "'.concat(a,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(o&&o(new $e('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),Dt(r),m(m({},r),{formatters:n,formatNumber:mt.bind(null,r,n.getNumberFormat),formatNumberToParts:gt.bind(null,r,n.getNumberFormat),formatRelativeTime:bt.bind(null,r,n.getRelativeTimeFormat),formatDate:xt.bind(null,r,n.getDateTimeFormat),formatDateToParts:St.bind(null,r,n.getDateTimeFormat),formatTime:Et.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:kt.bind(null,r,n.getDateTimeFormat),formatTimeToParts:Tt.bind(null,r,n.getDateTimeFormat),formatPlural:Nt.bind(null,r,n.getPluralRules),formatMessage:dt.bind(null,r,n),$t:dt.bind(null,r,n),formatList:Mt.bind(null,r,n.getListFormat),formatListToParts:Ct.bind(null,r,n.getListFormat),formatDisplayName:Lt.bind(null,r,n.getDisplayNames)})}function It(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function At(e){return e?Object.keys(e).reduce((function(t,n){var r,a=e[n];return t[n]=He(a)?(r=a,function(e){return r(f.Children.toArray(e))}):a,t}),{}):e}var Ht,Bt,Ft=function(e,t,n,r){for(var a=[],i=4;i<arguments.length;i++)a[i-4]=arguments[i];var o=At(r),l=dt.apply(void 0,v([e,t,n,o],a,!1));return Array.isArray(l)?f.Children.toArray(l):l},Ut=function(e,t){var n=e.defaultRichTextElements,r=g(e,["defaultRichTextElements"]),a=At(n),i=Rt(m(m(m({},nt),r),{defaultRichTextElements:a}),t);return m(m({},i),{formatMessage:Ft.bind(null,{locale:i.locale,timeZone:i.timeZone,fallbackOnEmptyString:i.fallbackOnEmptyString,formats:i.formats,defaultLocale:i.defaultLocale,defaultFormats:i.defaultFormats,messages:i.messages,onError:i.onError,defaultRichTextElements:a},i.formatters)})},zt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:Ut(It(t.props),t.cache),prevConfig:It(t.props)},t}return p(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,a=It(e);return rt(n,a)?null:{intl:Ut(a,r),prevConfig:a}},t.prototype.render=function(){return tt(this.state.intl),f.createElement(ot,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=nt,t}(f.PureComponent),Vt=zt;function Gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wt(e,t){if(e){if("string"===typeof e)return Gt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gt(e,t):void 0}}function $t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(s){l=!0,a=s}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||Wt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kt(e){return function(e){if(Array.isArray(e))return Gt(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Wt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qt(){var e=f.useContext(lt);return tt(e),e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Ht||(Ht={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(Bt||(Bt={}));var Xt=function(e){var t=Qt(),n=e.value,r=e.children,a=g(e,["value","children"]);return r(t.formatNumberToParts(n,a))};Xt.displayName="FormattedNumberParts";function qt(e){var t=function(t){var n=Qt(),r=t.value,a=t.children,i=g(t,["value","children"]),o="string"===typeof r?new Date(r||0):r;return a("formatDate"===e?n.formatDateToParts(o,i):n.formatTimeToParts(o,i))};return t.displayName=Bt[e],t}function Yt(e){var t=function(t){var n=Qt(),r=t.value,a=t.children,i=g(t,["value","children"]),o=n[e](r,i);if("function"===typeof a)return a(o);var l=n.textComponent||f.Fragment;return f.createElement(l,null,o)};return t.displayName=Ht[e],t}Xt.displayName="FormattedNumberParts";var Zt=Yt("formatDate"),Jt=Yt("formatTime"),en=Yt("formatNumber");Yt("formatList"),Yt("formatDisplayName"),qt("formatDate"),qt("formatTime");function tn(e){var t=Qt(),n=t.formatMessage,r=t.textComponent,a=void 0===r?f.Fragment:r,i=e.id,o=e.description,l=e.defaultMessage,s=e.values,u=e.children,c=e.tagName,d=void 0===c?a:c,h=n({id:i,description:o,defaultMessage:l},s,{ignoreTag:e.ignoreTag});return"function"===typeof u?u(Array.isArray(h)?h:[h]):d?f.createElement(d,null,f.Children.toArray(h)):f.createElement(f.Fragment,null,h)}tn.displayName="FormattedMessage";var nn=f.memo(tn,(function(e,t){var n=e.values,r=g(e,["values"]),a=t.values,i=g(t,["values"]);return rt(a,n)&&rt(r,i)}));nn.displayName="MemoizedFormattedMessage";var rn=nn,an={away:{icon:"icon-bbb-time",intlId:"app.actionsBar.emojiMenu.awayLabel",defaultMessage:"Away"},neutral:{icon:"icon-bbb-undecided",intlId:"app.actionsBar.emojiMenu.neutralLabel",defaultMessage:"Undecided"},confused:{icon:"icon-bbb-confused",intlId:"app.actionsBar.emojiMenu.confusedLabel",defaultMessage:"Confused"},sad:{icon:"icon-bbb-sad",intlId:"app.actionsBar.emojiMenu.sadLabel",defaultMessage:"Sad"},happy:{icon:"icon-bbb-happy",intlId:"app.actionsBar.emojiMenu.happyLabel",defaultMessage:"Happy"},applause:{icon:"icon-bbb-applause",intlId:"app.actionsBar.emojiMenu.applauseLabel",defaultMessage:"Applaud"},thumbsUp:{icon:"icon-bbb-thumbs_up",intlId:"app.actionsBar.emojiMenu.thumbsUpLabel",defaultMessage:"Thumbs up"},thumbsDown:{icon:"icon-bbb-thumbs_down",intlId:"app.actionsBar.emojiMenu.thumbsDownLabel",defaultMessage:"Thumbs down"},raiseHand:{icon:"icon-bbb-hand",intlId:"app.actionsBar.emojiMenu.raiseHandLabel",defaultMessage:"Raise hand"}};function on(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=[];return e.emojis.forEach((function(e){"undefined"!==typeof an[e.name]&&(null!=t&&t.split(",").indexOf(e.name)>-1||null!=n&&e.sentOn<n||null!=r&&e.sentOn>r||a.push(e))})),a}var ln=n(184);var sn=function(e){var t,n=e.number,r=e.name,a=e.children,i=e.iconClass,o=e.cardClass;try{f.Children.only(a),t=(0,ln.jsx)("div",{className:"p-2 rounded-full ".concat(i||"text-orange-500"),children:a})}catch(l){t=(0,ln.jsx)("div",{className:"flex",children:f.Children.map(a,(function(e,t){var n=4/(t+1);return n=t===f.Children.count(a)-1?0:n,(0,ln.jsx)("div",{className:"flex justify-center transform translate-x-".concat(n," border-2 border-white p-2 rounded-full z-").concat(10*t," ").concat(i||"text-orange-500"),children:e})}))})}return(0,ln.jsxs)("div",{className:"flex items-start justify-between p-3 bg-white rounded shadow border-l-4"+" ".concat(o),children:[(0,ln.jsxs)("div",{className:"w-70",children:[(0,ln.jsx)("p",{className:"text-lg font-semibold text-gray-700",children:n}),(0,ln.jsx)("p",{className:"mb-2 text-sm font-medium text-gray-600",children:r})]}),t]})};function un(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cn(e,t,n){if(e.isModerator)return 0;var r=Object.values(t||{}).filter((function(e){return!e.isModerator})),a=0,i=r.map((function(e){return e.talk.totalTime})),o=Math.max.apply(Math,Kt(i));o>0&&(a+=e.talk.totalTime/o*2);var l=r.map((function(e){return e.totalOfMessages})),s=Math.max.apply(Math,Kt(l));s>0&&(a+=e.totalOfMessages/s*2);var u=r.map((function(e){return e.emojis.filter((function(e){return"raiseHand"===e.name})).length})),c=Math.max.apply(Math,Kt(u)),f=e.emojis.filter((function(e){return"raiseHand"===e.name})).length;c>0&&(a+=f/c*2);var d=r.map((function(e){return e.emojis.filter((function(e){return"raiseHand"!==e.name})).length})),h=Math.max.apply(Math,Kt(d)),p=e.emojis.filter((function(e){return"raiseHand"!==e.name})).length;return h>0&&(a+=p/h*2),n>0&&(a+=Object.values(e.answers||{}).length/n*2),a}function fn(e){return e.reduce((function(e,t){return(t.stoppedOn||t.leftOn)>0?e+((t.stoppedOn||t.leftOn)-(t.startedOn||t.registeredOn)):e+((new Date).getTime()-(t.startedOn||t.registeredOn))}),0)}function dn(e){return e.reduce((function(e,t){return t.leftOn>e?t.leftOn:e}),0)}function hn(e){return new Date(e).toISOString().substr(11,8)}var pn=[{id:"name",defaultMessage:"Name"},{id:"moderator",defaultMessage:"Moderator"},{id:"activityScore",defaultMessage:"Activity Score"},{id:"colTalk",defaultMessage:"Talk Time"},{id:"colWebcam",defaultMessage:"Webcam Time"},{id:"colMessages",defaultMessage:"Messages"},{id:"colEmojis",defaultMessage:"Emojis"},{id:"pollVotes",defaultMessage:"Poll Votes"},{id:"colRaiseHands",defaultMessage:"Raise Hands"},{id:"join",defaultMessage:"Join"},{id:"left",defaultMessage:"Left"},{id:"duration",defaultMessage:"Duration"}];var mn=function(e){var t=e.user;return(0,ln.jsx)("div",{className:"border-2 border-gray-800 items-center ".concat(t.isModerator?"rounded-md":"rounded-full"),children:(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-full w-full p-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t.isDialIn?(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"}):(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})})})},gn=f.createContext(),vn=function(e){var t=e.children,n=$t((0,f.useReducer)((function(e,t){switch(t.type){case"changeUser":return{user:t.user,isOpen:!0};case"closeModal":return{user:null,isOpen:!1};default:throw new Error}}),{user:null,isOpen:!1}),2),r=n[0],a=n[1];return(0,ln.jsx)(gn.Provider,{value:{user:r.user,isOpen:r.isOpen,dispatch:a},children:t})};function bn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"asc";return(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 inline",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"asc"===e?"M7 11l5-5m0 0l5 5m-5-5v12":"M17 13l-5 5m0 0l-5-5m5 5V6"})})}var yn=function(t){i(a,t);var n=c(a);function a(t){var r;return e(this,a),(r=n.call(this,t)).state={userOrder:"asc",onlineTimeOrder:"desc",talkTimeOrder:"desc",webcamTimeOrder:"desc",activityscoreOrder:"desc",lastFieldClicked:"userOrder"},r.openUserModal=r.openUserModal.bind(s(r)),r}return r(a,[{key:"toggleOrder",value:function(e){var t=this.state[e],n=this.props.tab;"asc"===t?this.setState(un({},e,"desc")):this.setState(un({},e,"asc")),"overview"===n&&this.setState({lastFieldClicked:e})}},{key:"openUserModal",value:function(e){(0,this.context.dispatch)({type:"changeUser",user:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.allUsers,r=t.totalOfActivityTime,a=t.totalOfPolls,i=t.tab,o=this.state,l=o.activityscoreOrder,s=o.userOrder,u=o.onlineTimeOrder,c=o.talkTimeOrder,f=o.webcamTimeOrder,d=o.lastFieldClicked,h={};Object.values(n||{}).forEach((function(e){h[e.userKey]=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a={};return e.emojis.forEach((function(e){"undefined"!==typeof an[e.name]&&(null!=t&&t.split(",").indexOf(e.name)>-1||null!=n&&e.sentOn<n||null!=r&&e.sentOn>r||("undefined"===typeof a[e.name]&&(a[e.name]=0),a[e.name]+=1))})),a}(e,"raiseHand")}));var p={};Object.values(n||{}).forEach((function(e){p[e.userKey]=cn(e,n,a)}));var m={userOrder:function(e,t){return e.name.toLowerCase()<t.name.toLowerCase()?"desc"===s?1:-1:e.name.toLowerCase()>t.name.toLowerCase()?"desc"===s?-1:1:0},onlineTimeOrder:function(e,t){var n=Object.values(e.intIds).reduce((function(e,t){return e+((t.leftOn>0?t.leftOn:(new Date).getTime())-t.registeredOn)}),0),r=Object.values(t.intIds).reduce((function(e,t){return e+((t.leftOn>0?t.leftOn:(new Date).getTime())-t.registeredOn)}),0);return n<r?"desc"===u?1:-1:n>r?"desc"===u?-1:1:0},talkTimeOrder:function(e,t){var n=e.talk.totalTime,r=t.talk.totalTime;return n<r?"desc"===c?1:-1:n>r?"desc"===c?-1:1:0},webcamTimeOrder:function(e,t){var n=fn(e.webcams),r=fn(t.webcams);return n<r?"desc"===f?1:-1:n>r?"desc"===f?-1:1:0},activityscoreOrder:function(e,t){return p[e.userKey]<p[t.userKey]?"desc"===l?1:-1:p[e.userKey]>p[t.userKey]?"desc"===l?-1:1:!1===e.isModerator&&!0===t.isModerator?1:!0===e.isModerator&&!1===t.isModerator?-1:0}};return(0,ln.jsxs)("table",{className:"w-full",children:[(0,ln.jsx)("thead",{children:(0,ln.jsxs)("tr",{className:"text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b bg-gray-100",children:[(0,ln.jsxs)("th",{className:"px-3.5 2xl:px-4 py-3 col-text-left ".concat("overview"===i?"cursor-pointer":""),onClick:function(){"overview"===i&&e.toggleOrder("userOrder")},children:[(0,ln.jsx)(rn,{id:"app.learningDashboard.user",defaultMessage:"User"}),"overview"===i&&"userOrder"===d?bn(s):null]}),(0,ln.jsxs)("th",{className:"px-3.5 2xl:px-4 py-3 text-center ".concat("overview"===i?"cursor-pointer":""),onClick:function(){"overview"===i&&e.toggleOrder("onlineTimeOrder")},children:[(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.colOnline",defaultMessage:"Online time"}),"overview"===i&&"onlineTimeOrder"===d?bn(u):null]}),(0,ln.jsxs)("th",{className:"px-3.5 2xl:px-4 py-3 text-center ".concat("overview"===i?"cursor-pointer":""),onClick:function(){"overview"===i&&e.toggleOrder("talkTimeOrder")},children:[(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.colTalk",defaultMessage:"Talk time"}),"overview"===i&&"talkTimeOrder"===d?bn(c):null]}),(0,ln.jsxs)("th",{className:"px-3.5 2xl:px-4 py-3 text-center ".concat("overview"===i?"cursor-pointer":""),onClick:function(){"overview"===i&&e.toggleOrder("webcamTimeOrder")},children:[(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.colWebcam",defaultMessage:"Webcam Time"}),"overview"===i&&"webcamTimeOrder"===d?bn(f):null]}),(0,ln.jsx)("th",{className:"px-3.5 2xl:px-4 py-3 text-center",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.colMessages",defaultMessage:"Messages"})}),(0,ln.jsx)("th",{className:"px-3.5 2xl:px-4 py-3 col-text-left",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.colEmojis",defaultMessage:"Emojis"})}),(0,ln.jsx)("th",{className:"px-3.5 2xl:px-4 py-3 text-center",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.colRaiseHands",defaultMessage:"Raise Hand"})}),(0,ln.jsxs)("th",{className:"px-3.5 2xl:px-4 py-3 text-center ".concat("overview_activityscore"===i?"cursor-pointer":""),onClick:function(){"overview_activityscore"===i&&e.toggleOrder("activityscoreOrder")},children:[(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.colActivityScore",defaultMessage:"Activity Score"}),"overview_activityscore"===i?bn(l):null]}),(0,ln.jsx)("th",{className:"px-3.5 2xl:px-4 py-3 text-center",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.colStatus",defaultMessage:"Status"})})]})}),(0,ln.jsx)("tbody",{className:"bg-white divide-y whitespace-nowrap",children:"object"===typeof n&&Object.values(n||{}).length>0?Object.values(n||{}).sort("overview"===i?m[d]:m.activityscoreOrder).map((function(t){var n=t.leftOn>0?"opacity-75":"";return(0,ln.jsxs)("tr",{className:"text-gray-700",children:[(0,ln.jsxs)("td",{className:"flex items-center px-4 py-3 col-text-left text-sm ".concat(n),children:[(0,ln.jsxs)("div",{className:"inline-block relative w-8 h-8 rounded-full",children:[(0,ln.jsx)(mn,{user:t}),(0,ln.jsx)("div",{className:"absolute inset-0 rounded-full shadow-inner","aria-hidden":"true"})]}),"\xa0\xa0\xa0",(0,ln.jsxs)("div",{className:"inline-block",children:[(0,ln.jsx)("button",{className:"leading-none border-0 p-0 m-0 bg-none font-semibold truncate xl:max-w-sm max-w-xs cursor-pointer focus:rounded focus:outline-none focus:ring ring-offset-0 focus:ring-gray-500 focus:ring-opacity-50 underline decoration-dotted decoration-from-font hover:opacity-75 focus:no-underline active:opacity-95",type:"button",onClick:function(){return e.openUserModal(t)},"aria-label":"Open user details modal - ".concat(t.name),children:t.name}),Object.values(t.intIds||{}).map((function(e,n){return(0,ln.jsxs)(ln.Fragment,{children:[(0,ln.jsxs)("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:[(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 inline",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"})}),(0,ln.jsx)(Zt,{value:e.registeredOn,month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"})]}),e.leftOn>0?(0,ln.jsxs)("p",{className:"text-xs text-gray-600 dark:text-gray-400",children:[(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 inline",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"})}),(0,ln.jsx)(Zt,{value:e.leftOn,month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"})]}):null,n===Object.values(t.intIds).length-1?null:(0,ln.jsx)("hr",{className:"my-1"})]})}))]})]}),(0,ln.jsxs)("td",{className:"px-4 py-3 text-sm text-center items-center ".concat(n),children:[(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 inline",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M5.636 18.364a9 9 0 010-12.728m12.728 0a9 9 0 010 12.728m-9.9-2.829a5 5 0 010-7.07m7.072 0a5 5 0 010 7.07M13 12a1 1 0 11-2 0 1 1 0 012 0z"})}),"\xa0",hn(Object.values(t.intIds).reduce((function(e,t){return e+((t.leftOn>0?t.leftOn:(new Date).getTime())-t.registeredOn)}),0)),(0,ln.jsx)("br",{}),function(){var e=t.intIds,n=Object.values(e||{}).reduce((function(e,t){return e+function(e,t){var n=(t>0?t:(new Date).getTime())-e;return Math.ceil(n/r*100)}(t.registeredOn,t.leftOn)}),0);return(0,ln.jsx)("div",{className:"bg-gray-200 transition-colors duration-500 rounded-full overflow-hidden",title:"".concat(n.toString(),"%"),children:(0,ln.jsx)("div",{"aria-label":" ",className:"bg-gradient-to-br from-green-100 to-green-600 transition-colors duration-900 h-1.5",style:{width:"".concat(n.toString(),"%")},role:"progressbar"})})}()]}),(0,ln.jsx)("td",{className:"px-4 py-3 text-sm text-center items-center ".concat(n),children:t.talk.totalTime>0?(0,ln.jsxs)("span",{className:"text-center",children:[(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 inline",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})}),"\xa0",hn(t.talk.totalTime)]}):null}),(0,ln.jsx)("td",{className:"px-4 py-3 text-sm text-center ".concat(n),children:fn(t.webcams)>0?(0,ln.jsxs)("span",{className:"text-center",children:[(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 inline",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"})}),"\xa0",hn(fn(t.webcams))]}):null}),(0,ln.jsx)("td",{className:"px-4 py-3 text-sm text-center ".concat(n),children:t.totalOfMessages>0?(0,ln.jsxs)("span",{children:[(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 inline",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})}),"\xa0",t.totalOfMessages]}):null}),(0,ln.jsx)("td",{className:"px-4 py-3 text-sm col-text-left ".concat(n),children:Object.keys(h[t.userKey]||{}).map((function(e){return(0,ln.jsxs)("div",{className:"text-xs whitespace-nowrap",children:[(0,ln.jsx)("i",{className:"".concat(an[e].icon," text-sm")}),"\xa0",h[t.userKey][e],"\xa0",(0,ln.jsx)(rn,{id:an[e].intlId,defaultMessage:an[e].defaultMessage})]})}))}),(0,ln.jsx)("td",{className:"px-4 py-3 text-sm text-center ".concat(n),children:t.emojis.filter((function(e){return"raiseHand"===e.name})).length>0?(0,ln.jsxs)("span",{children:[(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 inline",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M7 11.5V14m0-2.5v-6a1.5 1.5 0 113 0m-3 6a1.5 1.5 0 00-3 0v2a7.5 7.5 0 0015 0v-5a1.5 1.5 0 00-3 0m-6-3V11m0-5.5v-1a1.5 1.5 0 013 0v1m0 0V11m0-5.5a1.5 1.5 0 013 0v3m0 0V11"})}),"\xa0",t.emojis.filter((function(e){return"raiseHand"===e.name})).length]}):null}),t.isModerator?(0,ln.jsx)("td",{className:"px-4 py-3 text-sm text-center",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.notAvailable",defaultMessage:"N/A"})}):(0,ln.jsxs)("td",{className:"px-4 py-3 text-sm text-center items ".concat(n),children:[(0,ln.jsxs)("svg",{viewBox:"0 0 82 12",width:"82",height:"12",className:"flex-none m-auto inline",children:[(0,ln.jsx)("rect",{width:"12",height:"12",fill:p[t.userKey]>0?"#A7F3D0":"#e4e4e7"}),(0,ln.jsx)("rect",{width:"12",height:"12",x:"14",fill:p[t.userKey]>2?"#6EE7B7":"#e4e4e7"}),(0,ln.jsx)("rect",{width:"12",height:"12",x:"28",fill:p[t.userKey]>4?"#34D399":"#e4e4e7"}),(0,ln.jsx)("rect",{width:"12",height:"12",x:"42",fill:p[t.userKey]>6?"#10B981":"#e4e4e7"}),(0,ln.jsx)("rect",{width:"12",height:"12",x:"56",fill:p[t.userKey]>8?"#059669":"#e4e4e7"}),(0,ln.jsx)("rect",{width:"12",height:"12",x:"70",fill:10===p[t.userKey]?"#047857":"#e4e4e7"})]}),"\xa0",(0,ln.jsx)("span",{className:"text-xs bg-gray-200 rounded-full px-2",children:(0,ln.jsx)(en,{value:p[t.userKey],minimumFractionDigits:"0",maximumFractionDigits:"1"})})]}),(0,ln.jsx)("td",{className:"px-3.5 2xl:px-4 py-3 text-xs text-center",children:Object.values(t.intIds)[Object.values(t.intIds).length-1].leftOn>0?(0,ln.jsx)("span",{className:"px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.userStatusOffline",defaultMessage:"Offline"})}):(0,ln.jsx)("span",{className:"px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.userStatusOnline",defaultMessage:"Online"})})})]},t)})):(0,ln.jsx)("tr",{className:"text-gray-700",children:(0,ln.jsx)("td",{colSpan:"8",className:"px-3.5 2xl:px-4 py-3 text-sm text-center",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.noUsers",defaultMessage:"No users"})})})})]})}}]),a}(f.Component);yn.contextType=gn;var wn=st(yn);function xn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function En(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xn(Object(n),!0).forEach((function(t){un(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var kn=function(e){var t=(0,f.useRef)(null);return(0,f.useEffect)((function(){t.current=e})),t.current};function Sn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(" "),n=(t=t.filter((function(e){return""!==e}))).shift().toLowerCase();return n+(t=t.map((function(e){return e[0].toUpperCase()+e.substring(1)}))).join("")}var Tn=function(e){var t=e.isOpen,n=e.dispatch,r=e.user,a=e.dataJson,i=e.intl;if(!t)return null;var o=(0,f.useRef)(),l=(0,f.useRef)(),s=kn(t);(0,f.useEffect)((function(){var e=function(e){"Escape"===e.code&&n({type:"closeModal"})},t=function(){o.current&&document.activeElement&&(o.current.contains(document.activeElement)||l.current.focus())};return window.addEventListener("keydown",e),window.addEventListener("focus",t,!0),function(){window.removeEventListener("keydown",e),window.removeEventListener("focus",t,!0)}}),[]),(0,f.useEffect)((function(){var e;s||null===(e=l.current)||void 0===e||e.focus()}));var u=a.createdOn,c=a.endedOn,d=a.polls,h=a.users,p=function(){return(new Date).getTime()},m=Object.values(r.intIds).map((function(e){return e.registeredOn})),g=Object.values(r.intIds).map((function(e){return e.leftOn})),v=Math.min.apply(Math,Kt(m)),b=Math.max.apply(Math,Kt(g)),y=Object.values(r.intIds).some((function(e){return 0===e.leftOn})),w=(c||p())-u,x=100*(v-u)/w,E=y?0:100*((c||p())-b)/w,k=Object.values(h||{}).filter((function(e){return!e.isModerator})),S=Object.keys(d||{}).reduce((function(e,t){var n=En({},e);return n[t]={},d[t].anonymous?(d[t].anonymousAnswers.forEach((function(e){var r=e.toLowerCase();void 0===n[t][r]?n[t][r]=1:n[t][r]+=1})),n):(k.forEach((function(e){void 0!==e.answers[t]&&(Array.isArray(e.answers[t])?e.answers[t]:[e.answers[t]]).forEach((function(e){var r=e.toLowerCase();void 0===n[t][r]?n[t][r]=1:n[t][r]+=1}))})),n)}),{}),T=k.map((function(e){return e.talk.totalTime})),j=k.map((function(e){return e.totalOfMessages})),N=k.map((function(e){return e.emojis.filter((function(e){return"raiseHand"!==e.name})).length})),O=k.map((function(e){return e.emojis.filter((function(e){return"raiseHand"===e.name})).length})),_=k.map((function(e){return Object.values(e.answers||{}).length})),M=Object.values(d||{}).length;var C=T.reduce((function(e,t){return e+t}),0)/(k.length||1),P=j.reduce((function(e,t){return e+t}),0)/(k.length||1),L=N.reduce((function(e,t){return e+t}),0)/(k.length||1),D=O.reduce((function(e,t){return e+t}),0)/(k.length||1),R=_.reduce((function(e,t){return e+t}),0)/(k.length||1),I={"Talk Time":function(e){var t=Math.max.apply(Math,Kt(T));return t>0?e.talk.totalTime/t*2:0},Messages:function(e){var t=Math.max.apply(Math,Kt(j));return t>0?e.totalOfMessages/t*2:0},Emojis:function(e){var t=Math.max.apply(Math,Kt(N)),n=e.emojis.filter((function(e){return"raiseHand"!==e.name})).length;return t>0?n/t*2:0},"Raise Hands":function(e){var t=Math.max.apply(Math,Kt(O)),n=e.emojis.filter((function(e){return"raiseHand"===e.name})).length;return t>0?n/t*2:0},"Poll Votes":function(e){return M>0?Object.values(e.answers||{}).length/M*2:0}},A={"Talk Time":C,Messages:P,Emojis:L,"Raise Hands":D,"Poll Votes":R};return(0,ln.jsxs)("div",{className:"fixed inset-0 flex flex-row z-50",children:[(0,ln.jsx)("div",{className:"bg-black grow opacity-50",role:"none",onClick:function(){return n({type:"closeModal"})}}),(0,ln.jsxs)("div",{ref:o,className:"overflow-auto w-full md:w-2/4 bg-gray-100 p-6",children:[(0,ln.jsx)("div",{className:"text-right rtl:text-left",children:(0,ln.jsx)("button",{onClick:function(){return n({type:"closeModal"})},type:"button","aria-label":"Close user details modal",ref:l,className:"focus:rounded-md focus:outline-none focus:ring focus:ring-gray-500 focus:ring-opacity-50 hover:text-black/50 active:text-black/75",children:(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})}),(0,ln.jsxs)("div",{className:"flex flex-col items-center p-10",children:[(0,ln.jsxs)("div",{className:"inline-block relative w-8 h-8 rounded-full",children:[(0,ln.jsx)(mn,{user:r}),(0,ln.jsx)("div",{className:"absolute inset-0 rounded-full shadow-inner","aria-hidden":"true"})]}),(0,ln.jsx)("p",{className:"break-words text-center",children:r.name})]}),(0,ln.jsxs)("div",{className:"bg-white shadow rounded mb-4",children:[(0,ln.jsxs)("div",{className:"p-6 text-lg flex items-center",children:[(0,ln.jsx)("div",{className:"p-2 rounded-full bg-pink-50 text-pink-500",children:(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})})}),(0,ln.jsx)("p",{className:"ltr:ml-2 rtl:mr-2",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.title",defaultMessage:"Overview"})})]}),(0,ln.jsxs)("div",{className:"p-6 m-px bg-gray-100",children:[(0,ln.jsxs)("div",{className:"h-6 relative before:bg-gray-500 before:absolute before:w-[10px] before:h-[10px] before:rounded-full before:left-0 before:top-[calc(50%-5px)] after:bg-gray-500 after:absolute after:w-[10px] after:h-[10px] after:rounded-full after:right-0 after:top-[calc(50%-5px)]",children:[(0,ln.jsx)("div",{className:"bg-gray-500 [--line-height:2px] h-[var(--line-height)] absolute top-[calc(50%-var(--line-height)/2)] left-[10px] right-[10px] rounded-2xl"}),(0,ln.jsx)("div",{className:"ltr:bg-gradient-to-br rtl:bg-gradient-to-bl from-green-100 to-green-600 absolute h-full rounded-2xl text-right rtl:text-left text-ellipsis overflow-hidden",style:{right:"calc(".concat("ltr"===document.dir?E:x,"% + 10px)"),left:"calc(".concat("ltr"===document.dir?x:E,"% + 10px)")},children:(0,ln.jsx)("div",{className:"mx-3 inline-block text-white",children:new Date(fn(Object.values(r.intIds))).toISOString().substring(11,19)})})]}),(0,ln.jsxs)("div",{className:"flex flex-row justify-between font-light text-gray-700",children:[(0,ln.jsxs)("div",{children:[(0,ln.jsx)("div",{children:(0,ln.jsx)(rn,{id:"app.learningDashboard.userDetails.startTime",defaultMessage:"Start Time"})}),(0,ln.jsx)("div",{children:(0,ln.jsx)(Jt,{value:u})})]}),(0,ln.jsxs)("div",{className:"ltr:text-right rtl:text-left",children:[(0,ln.jsx)("div",{children:(0,ln.jsx)(rn,{id:"app.learningDashboard.userDetails.endTime",defaultMessage:"End Time"})}),(0,ln.jsx)("div",{children:0===c?(0,ln.jsx)("span",{className:"px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.indicators.meetingStatusActive",defaultMessage:"Active"})}):(0,ln.jsx)(Jt,{value:c})})]})]})]}),(0,ln.jsxs)("div",{className:"p-6 flex flex-row justify-between text-gray-700",children:[(0,ln.jsxs)("div",{children:[(0,ln.jsx)("div",{className:"text-gray-900 font-medium",children:new Date(fn(Object.values(r.intIds))).toISOString().substring(11,19)}),(0,ln.jsx)("div",{children:(0,ln.jsx)(rn,{id:"app.learningDashboard.indicators.duration",defaultMessage:"Duration"})})]}),(0,ln.jsxs)("div",{children:[(0,ln.jsx)("div",{className:"font-medium",children:(0,ln.jsx)(Jt,{value:v})}),(0,ln.jsx)("div",{children:(0,ln.jsx)(rn,{id:"app.learningDashboard.userDetails.joined",defaultMessage:"Joined"})})]}),(0,ln.jsxs)("div",{children:[(0,ln.jsx)("div",{className:"font-medium",children:y?(0,ln.jsx)("span",{className:"px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.indicators.userStatusOnline",defaultMessage:"Online"})}):(0,ln.jsx)(Jt,{value:b})}),(0,ln.jsx)("div",{className:"px-2",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.left",defaultMessage:"Left"})})]})]})]}),!r.isModerator&&(0,ln.jsxs)(ln.Fragment,{children:[(0,ln.jsxs)("div",{className:"bg-white shadow rounded mb-4 table w-full",children:[(0,ln.jsxs)("div",{className:"p-6 text-lg flex items-center",children:[(0,ln.jsx)("div",{className:"p-2 rounded-full bg-green-200 text-green-500",children:(0,ln.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"}),(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"})]})}),(0,ln.jsxs)("p",{className:"ltr:ml-2 rtl:mr-2",children:[(0,ln.jsx)(rn,{id:"app.learningDashboard.indicators.activityScore",defaultMessage:"Activity Score"}),":\xa0",(0,ln.jsx)("span",{className:"font-bold",children:(0,ln.jsx)(en,{value:cn(r,h,M),minimumFractionDigits:"0",maximumFractionDigits:"1"})})]})]}),(0,ln.jsxs)("div",{className:"p-6 py-2 m-px bg-gray-200 flex flex-row justify-between text-xs text-gray-700",children:[(0,ln.jsx)("div",{className:"min-w-[20%] text-ellipsis",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.userDetails.category",defaultMessage:"Category"})}),(0,ln.jsx)("div",{className:"grow text-center",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.userDetails.average",defaultMessage:"Average"})}),(0,ln.jsx)("div",{className:"min-w-[20%] text-ellipsis text-right rtl:text-left",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.userDetails.activityPoints",defaultMessage:"Activity Points"})})]}),["Talk Time","Messages","Emojis","Raise Hands","Poll Votes"].map((function(e){var t=0;switch(e){case"Talk Time":t=r.talk.totalTime;break;case"Messages":t=r.totalOfMessages;break;case"Emojis":t=r.emojis.filter((function(e){return"raiseHand"!==e.name})).length;break;case"Raise Hands":t=r.emojis.filter((function(e){return"raiseHand"===e.name})).length;break;case"Poll Votes":t=Object.values(r.answers).length}return function(e,t,n,r){return(0,ln.jsxs)("div",{className:"p-6 flex flex-row justify-between items-end",children:[(0,ln.jsx)("div",{className:"min-w-[20%] text-ellipsis overflow-hidden",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.userDetails.".concat(Sn(e)),defaultMessage:e})}),(0,ln.jsxs)("div",{className:"min-w-[60%] grow text-center text-sm",children:[(0,ln.jsx)("div",{className:"mb-2",children:t>=0&&"Talk Time"===e?hn(t):t>=0&&"Talk Time"!==e?(0,ln.jsx)(en,{value:t,minimumFractionDigits:"0",maximumFractionDigits:"1"}):(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.notAvailable",defaultMessage:"N/A"})}),(0,ln.jsx)("div",{className:"rounded-2xl bg-gray-200 before:bg-gray-500 h-4 relative before:absolute before:top-[-50%] before:bottom-[-50%] before:w-[2px] before:left-[calc(50%-1px)] before:z-10",children:(0,ln.jsx)("div",{className:"flex justify-end items-center text-white rounded-2xl ltr:bg-gradient-to-br rtl:bg-gradient-to-bl from-green-100 to-green-600 absolute inset-0",style:{width:"".concat(n/2*100,"%")},children:r>0?(0,ln.jsx)("span",{className:"ltr:mr-4 rtl:ml-4",children:"Talk Time"===e?hn(r):r}):null})})]}),(0,ln.jsx)("div",{className:"min-w-[20%] text-sm text-ellipsis overflow-hidden text-right rtl:text-left",children:n>=0?(0,ln.jsx)(en,{value:n,minimumFractionDigits:"0",maximumFractionDigits:"1"}):(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.notAvailable",defaultMessage:"N/A"})})]})}(e,A[e],I[e](r),t)}))]}),(0,ln.jsxs)("div",{className:"bg-white shadow rounded",children:[(0,ln.jsxs)("div",{className:"p-6 text-lg flex items-center",children:[(0,ln.jsx)("div",{className:"p-2 rounded-full bg-blue-100 text-blue-500",children:(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"})})}),(0,ln.jsx)("p",{className:"ltr:ml-2 rtl:mr-2",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.indicators.polls",defaultMessage:"Polls"})})]}),(0,ln.jsxs)("div",{className:"p-6 py-2 m-px bg-gray-200 flex flex-row justify-between text-xs text-gray-700",children:[(0,ln.jsx)("div",{className:"min-w-[40%] text-ellipsis",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.userDetails.poll",defaultMessage:"Poll"})}),(0,ln.jsx)("div",{className:"grow text-center",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.userDetails.response",defaultMessage:"Response"})}),(0,ln.jsx)("div",{className:"min-w-[40%] text-ellipsis text-center",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.userDetails.mostCommonAnswer",defaultMessage:"Most Common Answer"})})]}),Object.values(d||{}).map((function(e){return function(e,t){var n,r,a,o=e.anonymous,l=e.question,s=e.pollId,u=Object.entries(S[s]).sort((function(e,t){var n=$t(e,2)[1];return $t(t,2)[1]-n})),c=null===(n=u[0])||void 0===n?void 0:n[0],f=null===(r=u[0])||void 0===r?void 0:r[1];c&&f&&(null===(a=u[1])||void 0===a?void 0:a[1])===f&&(c=null);var d=function(e){return String.fromCharCode(e.charCodeAt(0)-32)+e.substring(1)};return(0,ln.jsxs)("div",{className:"p-6 flex flex-row justify-between items-center",children:[(0,ln.jsx)("div",{className:"min-w-[40%] text-ellipsis",children:l}),o?(0,ln.jsx)("div",{className:"min-w-[20%] grow text-center mx-3",children:(0,ln.jsx)("span",{title:i.formatMessage({id:"app.learningDashboard.userDetails.anonymousAnswer",defaultMessage:"Anonymous Poll"}),children:(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 inline",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})})}):(0,ln.jsx)("div",{className:"min-w-[20%] grow text-center mx-3",children:t.map((function(e){return(0,ln.jsx)("p",{title:e,className:"overflow-hidden text-ellipsis",children:e})}))}),(0,ln.jsx)("div",{className:"min-w-[40%] text-ellipsis text-center overflow-hidden",title:c?d(c):null,children:c?d(c):i.formatMessage({id:"app.learningDashboard.usersTable.notAvailable",defaultMessage:"N/A"})})]})}(e,function(e){return"undefined"!==typeof r.answers[e.pollId]?Array.isArray(r.answers[e.pollId])?r.answers[e.pollId]:[r.answers[e.pollId]]:[]}(e))}))]})]})]})]})},jn=st((function(e){var t=(0,f.useContext)(gn),n=t.isOpen,r=t.dispatch,a=t.user;return d.createPortal((0,ln.jsx)(Tn,En({},En(En({},e),{},{isOpen:n,dispatch:r,user:a}))),document.getElementById("modal-container"))})),Nn=function(t){i(a,t);var n=c(a);function a(){return e(this,a),n.apply(this,arguments)}return r(a,[{key:"componentDidMount",value:function(){for(var e=document.getElementsByClassName("timeline-emoji"),t=0;t<e.length;t+=1){var n=window.getComputedStyle(e[t]);Number(n.left.replace(/px/g,"").trim())<0&&(e[t].style.left="0")}}},{key:"componentDidUpdate",value:function(){for(var e=document.getElementsByClassName("timeline-emoji"),t=0;t<e.length;t+=1){var n=window.getComputedStyle(e[t]);Number(n.left.replace(/px/g,"").trim())<0&&(e[t].style.left="0")}}},{key:"render",value:function(){var e=this.props,t=e.allUsers,n=e.slides,r=e.meetingId,a=e.intl;function i(e){return new Date(e).toISOString().substr(11,8)}var o={};Object.values(t||{}).forEach((function(e){o[e.userKey]=[],Object.values(e.intIds||{}).forEach((function(t,n,r){var a=t.leftOn,i=r[n+1];i&&Math.abs(a-i.registeredOn)<=3e4&&(a=i.leftOn,r.splice(n+1,1)),o[e.userKey].push({registeredOn:t.registeredOn,leftOn:a})}))}));var l=Object.values(t||{}).map((function(e){return Object.values(e.intIds).map((function(e){return e.registeredOn}))})).flat(),s=Object.values(t||{}).map((function(e){return Object.values(e.intIds).map((function(e){return 0===e.leftOn?(new Date).getTime():e.leftOn}))})).flat(),u=Math.min.apply(Math,Kt(l)),c=Math.max.apply(Math,Kt(s)),f=[],d=!1;if(n&&Array.isArray(n)&&n.length>0){var h=n.filter((function(e){return""!==e.presentationId}));h.length>0&&(d=!0,u<h[0].setOn&&f.push({start:u,end:h[0].setOn-1}),h.forEach((function(e,t,n){var r;f.push({slide:e,start:e.setOn,end:(null===(r=n[t+1])||void 0===r?void 0:r.setOn)-1||c})})))}else f.push({start:u,end:c});var p="rtl"===document.dir;function m(e,t){var n=e.registeredOn,r=e.leftOn,a=t.start,i=t.end,o=t.end-t.start,l=n>=a&&n<=i?"rounded-l":"",s=r>=a&&r<=i?"rounded-r":"",u=0,c=0;n>=a&&n<=i&&(u=100*(n-a)/o),r>=a&&r<=i&&(c=100*(i-r)/o);var f="";if(0===u&&c>=99&&(f="w-1.5"),0===c&&u>=99&&(f="w-1.5"),u&&c){var d=u-c;d>-1&&d<1&&(f="w-1.5")}if(p){var h=s;s=""!==l?"rounded-r":"",l=""!==h?"rounded-l":""}return(0,ln.jsx)("div",{className:"h-1.5 bg-gray-200 absolute inset-x-0 z-10"+" ".concat(f," ").concat(l," ").concat(s),style:{top:"calc(50% - ".concat("(0.375rem / 2)",")"),left:"".concat(p?c:u,"%"),right:"".concat(p?u:c,"%")}})}return(0,ln.jsxs)("table",{className:"w-full",children:[(0,ln.jsx)("thead",{children:(0,ln.jsxs)("tr",{className:"text-xs font-semibold tracking-wide text-gray-500 uppercase border-b bg-gray-100",children:[(0,ln.jsx)("th",{className:"z-30 bg-inherit px-4 py-3 col-text-left sticky ".concat(p?"right-0":"left-0"),children:(0,ln.jsx)(rn,{id:"app.learningDashboard.user",defaultMessage:"User"})}),(0,ln.jsx)("th",{className:"bg-inherit",colSpan:f.length,children:(0,ln.jsx)("span",{className:"invisible","aria-label":a.formatMessage({id:"app.learningDashboard.indicators.timeline",defaultMessage:"Timeline"}),children:(0,ln.jsx)(rn,{id:"app.learningDashboard.indicators.timeline",defaultMessage:"Timeline"})})})]})}),(0,ln.jsxs)("tbody",{className:"bg-white divide-y whitespace-nowrap",children:[d?(0,ln.jsxs)("tr",{className:"bg-inherit",children:[(0,ln.jsx)("td",{className:"bg-inherit z-30 sticky ".concat(p?"right-0":"left-0")}),f.map((function(e){var t=e.slide,n=e.start,o=e.end,l=p?"paddingLeft":"paddingRight",s="/bigbluebutton/presentation/".concat(r,"/").concat(r),u=t||{},c=u.presentationId,d=u.pageNum;return(0,ln.jsx)("td",{style:un({},l,"".concat((o-n)/1e3,"px")),children:t&&(0,ln.jsx)("div",{className:"flex",children:(0,ln.jsxs)("div",{className:"my-4","aria-label":i(n-f[0].start),children:[(0,ln.jsx)("a",{href:"".concat(s,"/").concat(c,"/svg/").concat(d),className:"block border-2 border-gray-300",target:"_blank",rel:"noreferrer",children:(0,ln.jsx)("img",{src:"".concat(s,"/").concat(c,"/thumbnail/").concat(d),alt:a.formatMessage({id:"app.learningDashboard.statusTimelineTable.thumbnail",defaultMessage:"Presentation thumbnail"}),style:{maxWidth:"150px",width:"150px",height:"auto"}})}),(0,ln.jsx)("div",{className:"text-xs text-center mt-1 text-gray-500",children:i(t.setOn-f[0].start)})]})})})}))]}):null,"object"===typeof t&&Object.values(t||{}).length>0?Object.values(t||{}).sort((function(e,t){return!1===e.isModerator&&!0===t.isModerator?1:!0===e.isModerator&&!1===t.isModerator||e.name.toLowerCase()<t.name.toLowerCase()?-1:e.name.toLowerCase()>t.name.toLowerCase()?1:0})).map((function(e){return(0,ln.jsxs)("tr",{className:"text-gray-700 bg-inherit",children:[(0,ln.jsx)("td",{className:"z-30 px-4 py-3 bg-inherit sticky ".concat(p?"right-0":"left-0"),children:(0,ln.jsxs)("div",{className:"flex items-center text-sm",children:[(0,ln.jsx)("div",{className:"relative hidden w-8 h-8 rounded-full md:block",children:(0,ln.jsx)(mn,{user:e})}),"\xa0\xa0",(0,ln.jsx)("div",{children:(0,ln.jsx)("p",{className:"font-semibold truncate xl:max-w-sm max-w-xs",children:e.name})})]})}),f.map((function(t){var n=t.start,r=t.end,i=t.end-t.start;return(0,ln.jsx)("td",{className:"relative px-3.5 2xl:px-4 py-3 text-sm col-text-left",children:o[e.userKey].length>0?o[e.userKey].map((function(o){var l=o.registeredOn,s=o.leftOn,u=on(e,null,l>=n&&l<=r?l:n,s>=n&&s<=r?s:r);return(0,ln.jsxs)(ln.Fragment,{children:[l>=n&&l<=r||s>=n&&s<=r||n>l&&r<s||n>=l&&0===s?m(o,t):null,u.map((function(e){var n=100*(e.sentOn-t.start)/i,r=p?"right":"left",o="(0.875rem / 2 + 0.25rem + 2px)";return(0,ln.jsx)("div",{className:"flex absolute p-1 border-white border-2 rounded-full text-sm z-20 bg-purple-500 text-purple-200 timeline-emoji",role:"status",style:un({top:"calc(50% - ".concat(o,")")},r,"calc(".concat(n,"% - ").concat(o,")")),title:a.formatMessage({id:an[e.name].intlId,defaultMessage:an[e.name].defaultMessage}),children:(0,ln.jsx)("i",{className:"text-sm bbb-icon-timeline"+" ".concat(an[e.name].icon)})})}))]})})):null})}))]})})).flat():null]})]})}}]),a}(f.Component),On=st(Nn),_n=function(t){i(a,t);var n=c(a);function a(){return e(this,a),n.apply(this,arguments)}return r(a,[{key:"render",value:function(){var e=this.props,t=e.allUsers,n=e.polls,r=this.props.intl;function a(e,t){return"undefined"!==typeof e.answers[t.pollId]?Array.isArray(e.answers[t.pollId])?e.answers[t.pollId]:[e.answers[t.pollId]]:[]}return"object"===typeof n&&0===Object.values(n).length?(0,ln.jsxs)("div",{className:"flex flex-col items-center py-24 bg-white",children:[(0,ln.jsx)("div",{className:"mb-1 p-3 rounded-full bg-blue-100 text-blue-500",children:(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"})})}),(0,ln.jsx)("p",{className:"text-lg font-semibold text-gray-700",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.pollsTable.noPollsCreatedHeading",defaultMessage:"No polls have been created"})}),(0,ln.jsx)("p",{className:"mb-2 text-sm font-medium text-gray-600",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.pollsTable.noPollsCreatedMessage",defaultMessage:"Once a poll has been sent to users, their results will appear in this list."})})]}):(0,ln.jsxs)("table",{className:"w-full",children:[(0,ln.jsx)("thead",{children:(0,ln.jsxs)("tr",{className:"text-xs font-semibold tracking-wide col-text-left text-gray-500 uppercase border-b bg-gray-100",children:[(0,ln.jsxs)("th",{className:"px-3.5 2xl:px-4 py-3",children:[(0,ln.jsx)(rn,{id:"app.learningDashboard.user",defaultMessage:"User"}),(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 inline",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M17 13l-5 5m0 0l-5-5m5 5V6"})})]}),"object"===typeof n&&Object.values(n||{}).length>0?Object.values(n||{}).sort((function(e,t){return e.createdOn>t.createdOn?1:-1})).map((function(e,t){return(0,ln.jsx)("th",{className:"px-3.5 2xl:px-4 py-3 text-center",children:e.question||"Poll ".concat(t+1)})})):null]})}),(0,ln.jsxs)("tbody",{className:"bg-white divide-y whitespace-nowrap",children:["object"===typeof t&&Object.values(t||{}).length>0?Object.values(t||{}).filter((function(e){return Object.values(e.answers).length>0})).sort((function(e,t){return!1===e.isModerator&&!0===t.isModerator?1:!0===e.isModerator&&!1===t.isModerator||e.name.toLowerCase()<t.name.toLowerCase()?-1:e.name.toLowerCase()>t.name.toLowerCase()?1:0})).map((function(e){return(0,ln.jsxs)("tr",{className:"text-gray-700",children:[(0,ln.jsx)("td",{className:"px-3.5 2xl:px-4 py-3",children:(0,ln.jsxs)("div",{className:"flex items-center text-sm",children:[(0,ln.jsx)("div",{className:"relative hidden w-8 h-8 rounded-full md:block",children:(0,ln.jsx)(mn,{user:e})}),"\xa0\xa0",(0,ln.jsx)("div",{children:(0,ln.jsx)("p",{className:"font-semibold truncate xl:max-w-sm max-w-xs",children:e.name})})]})}),"object"===typeof n&&Object.values(n||{}).length>0?Object.values(n||{}).sort((function(e,t){return e.createdOn>t.createdOn?1:-1})).map((function(t){return(0,ln.jsxs)("td",{className:"px-4 py-3 text-sm text-center",children:[a(e,t).map((function(e){return(0,ln.jsx)("p",{children:e})})),t.anonymous?(0,ln.jsx)("span",{title:r.formatMessage({id:"app.learningDashboard.pollsTable.anonymousAnswer",defaultMessage:"Anonymous Poll (answers in the last row)"}),children:(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 inline",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}):null]})})):null]})})):null,"object"===typeof n&&Object.values(n||{}).length>0&&Object.values(n).reduce((function(e,t){return[].concat(Kt(e),Kt(t.anonymousAnswers))}),[]).length>0?(0,ln.jsxs)("tr",{className:"text-gray-700",children:[(0,ln.jsx)("td",{className:"px-3.5 2xl:px-4 py-3",children:(0,ln.jsxs)("div",{className:"flex items-center text-sm",children:[(0,ln.jsxs)("div",{className:"relative hidden w-8 h-8 mr-3 rounded-full md:block",children:[(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"relative hidden w-8 h-8 mr-3 rounded-full md:block",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,ln.jsx)("div",{className:"absolute inset-0 rounded-full shadow-inner","aria-hidden":"true"})]}),(0,ln.jsx)("div",{children:(0,ln.jsx)("p",{className:"font-semibold",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.pollsTable.anonymousRowName",defaultMessage:"Anonymous"})})})]})}),Object.values(n||{}).sort((function(e,t){return e.createdOn>t.createdOn?1:-1})).map((function(e){return(0,ln.jsx)("td",{className:"px-3.5 2xl:px-4 py-3 text-sm text-center",children:e.anonymousAnswers.map((function(e){return(0,ln.jsx)("p",{children:e})}))})}))]}):null]})]})}}]),a}(f.Component),Mn=st(_n);var Cn=function(e){var t=e.message;return(0,ln.jsxs)("div",{className:"container flex flex-col items-center px-6 mx-auto",children:[(0,ln.jsx)("svg",{className:"w-12 h-12 my-8 text-gray-700",fill:"currentColor",viewBox:"0 0 20 20",children:(0,ln.jsx)("path",{fillRule:"evenodd",d:"M13.477 14.89A6 6 0 015.11 6.524l8.367 8.368zm1.414-1.414L6.524 5.11a6 6 0 018.367 8.367zM18 10a8 8 0 11-16 0 8 8 0 0116 0z",clipRule:"evenodd"})}),(0,ln.jsx)("h1",{className:"text-xl font-semibold text-gray-700 dark:text-gray-200",children:t})]})},Pn=function(t){i(a,t);var n=c(a);function a(t){var r;return e(this,a),(r=n.call(this,t)).state={loading:!0,invalidSessionCount:0,activitiesJson:{},tab:"overview",meetingId:"",learningDashboardAccessToken:"",ldAccessTokenCopied:!1,sessionToken:"",lastUpdated:null},r}return r(a,[{key:"componentDidMount",value:function(){var e=this;this.setDashboardParams((function(){e.fetchActivitiesJson()}))}},{key:"handleSaveSessionData",value:function(e){var t=e.target,n=this.props.intl,r=this.state.activitiesJson,a=r.name,i=r.createdOn,o=r.users,l=r.polls,s=document.createElement("a"),u=function(e,t,n){for(var r={},a=Object.values(e||{}),i=Object.values(t||{}),o=Object.keys(an).filter((function(e){return"raiseHand"!==e})).join(","),l=0;l<a.length;l+=1){for(var s=a[l],u=fn(s.webcams),c=fn(Object.values(s.intIds)),f=Object.values(s.intIds).reduce((function(e,t){return 0===e||t.registeredOn<e?t.registeredOn:e}),0),d=dn(Object.values(s.intIds)),h={name:s.name,moderator:s.isModerator.toString().toUpperCase(),activityScore:n.formatNumber(cn(s,a,Object.values(t||{}).length),{minimumFractionDigits:0,maximumFractionDigits:1}),talk:s.talk.totalTime>0?hn(s.talk.totalTime):"-",webcam:u>0?hn(u):"-",messages:s.totalOfMessages,raiseHand:on(s,"raiseHand").length,answers:Object.keys(s.answers).length,emojis:on(s,o).length,registeredOn:n.formatDate(f,{year:"numeric",month:"numeric",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}),leftOn:d>0?n.formatDate(d,{year:"numeric",month:"numeric",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}):"-",duration:hn(c)},p=0;p<i.length;p+=1)h["Poll_".concat(p)]=s.answers[i[p].pollId]||"-";var m=Object.values(h).map((function(e){return'"'.concat(e,'"')}));r[s.userKey]=m.join(",")}for(var g=pn.map((function(e){var t=e.id,r=e.defaultMessage;return n.formatMessage({id:"app.learningDashboard.usersTable.".concat(t),defaultMessage:r})})).join(","),v='"'.concat(n.formatMessage({id:"app.learningDashboard.pollsTable.anonymousRowName",defaultMessage:"Anonymous"}),'"'),b=0;b<g.split(",").length-1;b+=1)v+=',""';for(var y=0;y<i.length;y+=1)g+=",".concat(i[y].question||"Poll ".concat(y+1)),v+=',"'.concat(i[y].anonymousAnswers.join("\r\n"),'"');return r.Anonymous=v,[g,Object.values(r).join("\r\n")].join("\r\n")}(o,l,n),c="LearningDashboard_".concat(a,"_").concat(new Date(i).toISOString().substr(0,10),".csv").replace(/ /g,"-");t.setAttribute("disabled","true"),t.style.cursor="not-allowed",s.setAttribute("href","data:text/csv;charset=UTF-8,".concat(encodeURIComponent(u))),s.setAttribute("download",c),s.style.display="none",document.body.appendChild(s),s.click(),t.innerHTML=n.formatMessage({id:"app.learningDashboard.sessionDataDownloadedLabel",defaultMessage:"Downloaded!"}),setTimeout((function(){t.innerHTML=n.formatMessage({id:"app.learningDashboard.downloadSessionDataLabel",defaultMessage:"Download Session Data"}),t.removeAttribute("disabled"),t.style.cursor="pointer",t.focus()}),3e3),document.body.removeChild(s)}},{key:"setDashboardParams",value:function(e){var t="",n="",r="",a=new URLSearchParams(window.location.search),i=Object.fromEntries(a.entries());if("undefined"!==typeof i.meeting&&(n=i.meeting),"undefined"!==typeof i.sessionToken&&(r=i.sessionToken),"undefined"!==typeof i.report)t=i.report;else{var o="ld-".concat(i.meeting);if(decodeURIComponent(document.cookie).split("; ").forEach((function(e){0===e.indexOf("".concat(o,"="))&&(t=e.substring("".concat(o,"=").length))})),""!==t){var l=new Date;l.setTime(l.getTime()+6048e5);var s="ld-".concat(n,"=").concat(t,";"),u="expires=".concat(l.toGMTString(),";");document.cookie="".concat(s," ").concat(u," ").concat("path=/;SameSite=None;Secure")}}this.setState({learningDashboardAccessToken:t,meetingId:n,sessionToken:r},(function(){"function"===typeof e&&e()}))}},{key:"fetchMostUsedEmojis",value:function(){var e=this.state.activitiesJson;if(!e)return[];var t=Kt(Object.keys(an)),n={};t.forEach((function(e){n[e]=(0,ln.jsx)("i",{className:"".concat(an[e].icon," bbb-icon-card")})}));var r={};return t.forEach((function(e){r[e]=0})),Object.values(e.users||{}).map((function(e){return e.emojis||[]})).flat(1).forEach((function(e){r[e.name]+=1})),Object.entries(r).filter((function(e){return $t(e,2)[1]})).sort((function(e,t){return $t(e,2)[1]-$t(t,2)[1]})).reverse().slice(0,3).map((function(e){var t=$t(e,1)[0];return n[t]}))}},{key:"updateModalUser",value:function(){var e=this.context,t=e.user,n=e.dispatch,r=e.isOpen,a=this.state.activitiesJson.users;r&&a[t.userKey]&&n({type:"changeUser",user:a[t.userKey]})}},{key:"fetchActivitiesJson",value:function(){var e=this,t=this.state,n=t.learningDashboardAccessToken,r=t.meetingId,a=t.sessionToken,i=t.invalidSessionCount;if(""!==n)fetch("".concat(r,"/").concat(n,"/learning_dashboard_data.json")).then((function(e){return e.json()})).then((function(t){e.setState({activitiesJson:t,loading:!1,invalidSessionCount:0,lastUpdated:Date.now()}),document.title="Learning Dashboard - ".concat(t.name),e.updateModalUser()})).catch((function(){e.setState({loading:!1,invalidSessionCount:i+1})}));else if(""!==a){var o=new URL("/bigbluebutton/api/learningDashboard",window.location);fetch("".concat(o,"?sessionToken=").concat(a)).then((function(e){return e.json()})).then((function(t){if("SUCCESS"===t.response.returncode){var n=JSON.parse(t.response.data);e.setState({activitiesJson:n,loading:!1,invalidSessionCount:0,lastUpdated:Date.now()}),document.title="Learning Dashboard - ".concat(n.name),e.updateModalUser()}else e.setDashboardParams(),e.setState({loading:!1,invalidSessionCount:i+1})})).catch((function(){e.setState({loading:!1,invalidSessionCount:i+1})}))}else this.setState({loading:!1});setTimeout((function(){e.fetchActivitiesJson()}),1e4*Math.pow(2,i))}},{key:"render",value:function(){var e=this,t=this.state,n=t.activitiesJson,r=t.tab,a=t.sessionToken,i=t.loading,o=t.lastUpdated,l=t.learningDashboardAccessToken,s=t.ldAccessTokenCopied,u=this.props.intl;function c(){var e=Object.values(n.users||{}).reduce((function(e,t){return[].concat(Kt(e),Kt(Object.values(t.intIds)))}),[]),t=Object.values(e||{}).reduce((function(e,t){return 0===e||t.registeredOn<e?t.registeredOn:e}),0);return Object.values(e||{}).reduce((function(e,t){return 0===t.leftOn?(new Date).getTime():t.leftOn>e?t.leftOn:e}),0)-t}function f(){return""===l&&""===a?u.formatMessage({id:"app.learningDashboard.errors.invalidToken",defaultMessage:"Invalid session token"}):n==={}||"undefined"===typeof n.name?u.formatMessage({id:"app.learningDashboard.errors.dataUnavailable",defaultMessage:"Data is no longer available"}):""}return document.title="".concat(u.formatMessage({id:"app.learningDashboard.dashboardTitle",defaultMessage:"Learning Dashboard"})," - ").concat(n.name),!1===i&&""!==f()?(0,ln.jsx)(Cn,{message:f()}):(0,ln.jsxs)("div",{className:"mx-10",children:[(0,ln.jsxs)("div",{className:"flex flex-col sm:flex-row items-start justify-between pb-3",children:[(0,ln.jsxs)("h1",{className:"mt-3 text-2xl font-semibold whitespace-nowrap inline-block",children:[(0,ln.jsx)(rn,{id:"app.learningDashboard.dashboardTitle",defaultMessage:"Learning Dashboard"}),!0===s?(0,ln.jsx)("span",{className:"text-xs text-gray-500 font-normal ml-2",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.linkCopied",defaultMessage:"Link successfully copied!"})}):null,(0,ln.jsx)("br",{}),(0,ln.jsx)("span",{className:"text-sm font-medium",children:n.name||""})]}),(0,ln.jsxs)("div",{className:"mt-3 col-text-right py-1 text-gray-500 inline-block",children:[(0,ln.jsxs)("p",{className:"font-bold",children:[(0,ln.jsx)("div",{className:"inline",children:(0,ln.jsx)(Zt,{value:n.createdOn,year:"numeric",month:"short",day:"numeric"})}),"\xa0\xa0",n.endedOn>0?(0,ln.jsx)("span",{className:"px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.indicators.meetingStatusEnded",defaultMessage:"Ended"})}):null,0===n.endedOn?(0,ln.jsx)("span",{className:"px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full",children:(0,ln.jsx)(rn,{id:"app.learningDashboard.indicators.meetingStatusActive",defaultMessage:"Active"})}):null]}),(0,ln.jsxs)("p",{children:[(0,ln.jsx)(rn,{id:"app.learningDashboard.indicators.duration",defaultMessage:"Duration"}),":\xa0",hn(c())]})]})]}),(0,ln.jsxs)("div",{className:"grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4",children:[(0,ln.jsx)("div",{"aria-hidden":"true",className:"cursor-pointer",onClick:function(){e.setState({tab:"overview"})},children:(0,ln.jsx)(sn,{name:0===n.endedOn?u.formatMessage({id:"app.learningDashboard.indicators.usersOnline",defaultMessage:"Active Users"}):u.formatMessage({id:"app.learningDashboard.indicators.usersTotal",defaultMessage:"Total Number Of Users"}),number:Object.values(n.users||{}).filter((function(e){return n.endedOn>0||0===Object.values(e.intIds)[Object.values(e.intIds).length-1].leftOn})).length,cardClass:"overview"===r?"border-pink-500":"hover:border-pink-500 border-white",iconClass:"bg-pink-50 text-pink-500",onClick:function(){e.setState({tab:"overview"})},children:(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"})})})}),(0,ln.jsx)("div",{"aria-hidden":"true",className:"cursor-pointer",onClick:function(){e.setState({tab:"overview_activityscore"})},children:(0,ln.jsx)(sn,{name:u.formatMessage({id:"app.learningDashboard.indicators.activityScore",defaultMessage:"Activity Score"}),number:u.formatNumber(function(){var e=0,t=Object.values(n.users||{}).filter((function(e){return!e.isModerator})),r=t.length;if(0===r)return e;var a=t.map((function(e){return e.talk.totalTime})),i=Math.max.apply(Math,Kt(a)),o=a.reduce((function(e,t){return e+t}),0);o>0&&(e+=o/r/i*2);var l=t.map((function(e){return e.totalOfMessages})),s=Math.max.apply(Math,Kt(l)),u=l.reduce((function(e,t){return e+t}),0);s>0&&(e+=u/r/s*2);var c=t.map((function(e){return e.emojis.filter((function(e){return"raiseHand"===e.name})).length})),f=Math.max.apply(Math,Kt(c)),d=c.reduce((function(e,t){return e+t}),0);f>0&&(e+=d/r/f*2);var h=t.map((function(e){return e.emojis.filter((function(e){return"raiseHand"!==e.name})).length})),p=Math.max.apply(Math,Kt(h)),m=h.reduce((function(e,t){return e+t}),0);p>0&&(e+=m/r/p*2);var g=Object.values(n.polls||{}).length;return g>0&&(e+=t.reduce((function(e,t){return e+Object.values(t.answers||{}).length}),0)/r/g*2),e}()||0,{minimumFractionDigits:0,maximumFractionDigits:1}),cardClass:"overview_activityscore"===r?"border-green-500":"hover:border-green-500 border-white",iconClass:"bg-green-200 text-green-500",children:(0,ln.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"}),(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"})]})})}),(0,ln.jsx)("div",{"aria-hidden":"true",className:"cursor-pointer",onClick:function(){e.setState({tab:"status_timeline"})},children:(0,ln.jsx)(sn,{name:u.formatMessage({id:"app.learningDashboard.indicators.timeline",defaultMessage:"Timeline"}),number:n&&n.users?Object.values(n.users).reduce((function(e,t){return e+t.emojis.length}),0):0,cardClass:"status_timeline"===r?"border-purple-500":"hover:border-purple-500 border-white",iconClass:"bg-purple-200 text-purple-500",children:this.fetchMostUsedEmojis()})}),(0,ln.jsx)("div",{"aria-hidden":"true",className:"cursor-pointer",onClick:function(){e.setState({tab:"polling"})},children:(0,ln.jsx)(sn,{name:u.formatMessage({id:"app.learningDashboard.indicators.polls",defaultMessage:"Polls"}),number:Object.values(n.polls||{}).length,cardClass:"polling"===r?"border-blue-500":"hover:border-blue-500 border-white",iconClass:"bg-blue-100 text-blue-500",children:(0,ln.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,ln.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"})})})})]}),(0,ln.jsxs)("h1",{className:"block my-2 pr-2 text-xl font-semibold",children:["overview"===r||"overview_activityscore"===r?(0,ln.jsx)(rn,{id:"app.learningDashboard.usersTable.title",defaultMessage:"Overview"}):null,"status_timeline"===r?(0,ln.jsx)(rn,{id:"app.learningDashboard.statusTimelineTable.title",defaultMessage:"Timeline"}):null,"polling"===r?(0,ln.jsx)(rn,{id:"app.learningDashboard.pollsTable.title",defaultMessage:"Polls"}):null]}),(0,ln.jsx)("div",{className:"w-full overflow-hidden rounded-md shadow-xs border-2 border-gray-100",children:(0,ln.jsxs)("div",{className:"w-full overflow-x-auto",children:["overview"===r||"overview_activityscore"===r?(0,ln.jsx)(wn,{allUsers:n.users,totalOfActivityTime:c(),totalOfPolls:Object.values(n.polls||{}).length,tab:r}):null,"status_timeline"===r?(0,ln.jsx)(On,{allUsers:n.users,slides:n.presentationSlides,meetingId:n.intId}):null,"polling"===r?(0,ln.jsx)(Mn,{polls:n.polls,allUsers:n.users}):null,(0,ln.jsx)(jn,{dataJson:n})]})}),(0,ln.jsx)("hr",{className:"my-8"}),(0,ln.jsxs)("div",{className:"flex justify-between pb-8 text-xs text-gray-700 dark:text-gray-400 whitespace-nowrap flex-col sm:flex-row",children:[(0,ln.jsx)("div",{className:"flex flex-col justify-center mb-4 sm:mb-0",children:(0,ln.jsx)("p",{children:o&&(0,ln.jsxs)(ln.Fragment,{children:[(0,ln.jsx)(rn,{id:"app.learningDashboard.lastUpdatedLabel",defaultMessage:"Last updated at"}),"\xa0",(0,ln.jsx)(Jt,{value:o}),"\xa0",(0,ln.jsx)(Zt,{value:o,year:"numeric",month:"long",day:"numeric"})]})})}),(0,ln.jsx)("button",{type:"button",className:"border-2 border-gray-200 rounded-md px-4 py-2 bg-white focus:outline-none focus:ring ring-offset-2 focus:ring-gray-500 focus:ring-opacity-50",onClick:this.handleSaveSessionData.bind(this),children:(0,ln.jsx)(rn,{id:"app.learningDashboard.downloadSessionDataLabel",defaultMessage:"Download Session Data"})})]})]})}}]),a}(f.Component);Pn.contextType=gn;var Ln=st(Pn),Dn=function(e){e&&e instanceof Function&&n.e(787).then(n.bind(n,787)).then((function(t){var n=t.getCLS,r=t.getFID,a=t.getFCP,i=t.getLCP,o=t.getTTFB;n(e),r(e),a(e),i(e),o(e)}))},Rn=["ar","dv","fa","he"];function In(){var e=navigator.language,t=new URLSearchParams(window.location.search),n=Object.fromEntries(t.entries());return"undefined"!==typeof n.lang&&(e=n.lang),e}var An=function(t){i(a,t);var n=c(a);function a(t){var r;return e(this,a),(r=n.call(this,t)).state={intlMessages:{},intlLocale:In()},r.setMessages(),r.setRtl(),r}return r(a,[{key:"setMessages",value:function(){var e=this,t=function(e){return new Promise((function(t,n){var r="/html5client/locales/".concat(e.replace("-","_"),".json");fetch(r).then((function(e){return e.ok?t(e.json()):n()}))}))};Promise.all([t("en"),t(In())]).then((function(t){var n={};t[0]&&(n=Object.assign(n,t[0])),t[1]&&(n=Object.assign(n,t[1])),e.setState({intlMessages:n})})).catch((function(){}))}},{key:"setRtl",value:function(){var e=this.state.intlLocale;Rn.includes(e.substring(0,2))?document.body.parentNode.setAttribute("dir","rtl"):document.body.parentNode.setAttribute("dir","ltr")}},{key:"render",value:function(){var e=this.state,t=e.intlLocale,n=e.intlMessages;return(0,ln.jsx)(vn,{children:(0,ln.jsx)(Vt,{defaultLocale:"en",locale:t,messages:n,children:(0,ln.jsx)(Ln,{})})})}}]),a}(f.Component),Hn=document.getElementById("root");d.render((0,ln.jsx)(An,{}),Hn),Dn()}()}();
//# sourceMappingURL=main.1878bbab.js.map

Zerion Mini Shell 1.0