mirror of
https://github.com/bakhirev/assayo.git
synced 2024-11-17 00:31:20 +00:00
3 lines
466 KiB
JavaScript
3 lines
466 KiB
JavaScript
/*! For license information please see main.0fc28d3c.js.LICENSE.txt */
|
|
(function(){"use strict";var __webpack_modules__={806:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{C:function(){return getShowDropZone},a:function(){return getOnDrop}});var C_work_git_parse_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(433),C_work_git_parse_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(439);function evalCsvFile(e,t){var n={};e.split("\n").forEach((function(e){var t=e.split("|"),r=(0,C_work_git_parse_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__.Z)(t,4),a=r[0],i=r[1],o=r[2],s=r[3]?o:"";n[a]={type:i,scope:s}})),t("meta",{byTaskId:n})}function evalJsFile(text,onChange){var temp=window.report;window.report=[];try{eval(text)}catch(e){return void(window.report=temp)}onChange("dump",window.report)}function getOnDrop(e,t){return function(n){var r;n.preventDefault(),n.stopPropagation();var a=(0,C_work_git_parse_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)((null===n||void 0===n||null===(r=n.dataTransfer)||void 0===r?void 0:r.items)||[]).map((function(e){return"file"===e.kind?null===e||void 0===e?void 0:e.getAsFile():null})).filter((function(e){return e}));e(!1),a.length&&Promise.all(a.map((function(e){return e.text()}))).then((function(e){evalJsFile(e.filter((function(e){return e})).map((function(e){return{key:e.substring(13,32),text:e}})).sort((function(e,t){return(e.key||"").localeCompare(t.key||"")})).map((function(e){return e.text})).join("\n"),t)}))}}function getShowDropZone(e){return function(t){t.preventDefault(),t.stopPropagation(),e(!0)}}},463:function(e,t,n){var r=n(791),a=n(296);function i(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 o=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)o.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(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 m(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 m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(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 m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function _(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!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[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(y,g);v[t]=new m(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(y,g);v[t]=new m(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(y,g);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),N=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var A=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var L=Symbol.iterator;function R(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=L&&e[L]||e["@@iterator"])?e:null}var I,M=Object.assign;function B(e){if(void 0===I)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var z=!1;function F(e,t){if(!e||z)return"";z=!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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var a=u.stack.split("\n"),i=r.stack.split("\n"),o=a.length-1,s=i.length-1;1<=o&&0<=s&&a[o]!==i[s];)s--;for(;1<=o&&0<=s;o--,s--)if(a[o]!==i[s]){if(1!==o||1!==s)do{if(o--,0>--s||a[o]!==i[s]){var l="\n"+a[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=o&&0<=s);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?B(e):""}function U(e){switch(e.tag){case 5:return B(e.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return e=F(e.type,!1);case 11:return e=F(e.type.render,!1);case 1:return e=F(e.type,!0);default:return""}}function W(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 w:return"Fragment";case x:return"Portal";case S:return"Profiler";case j:return"StrictMode";case O:return"Suspense";case T:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case N:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case E:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case D:t=e._payload,e=e._init;try{return W(e(t))}catch(n){}}return null}function V(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===j?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var t=G(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 $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function q(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 K(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(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 Y(e,t){null!=(t=t.checked)&&_(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=H(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")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(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 ee(e,t,n){"number"===t&&q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(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=""+H(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 re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ie(e,t){var n=H(t.value),r=H(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 oe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(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 le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.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 ce(e,t)}))}:ce);function fe(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 pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=M({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 ge(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function _e(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}}var be=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,we=null,je=null;function Se(e){if(e=_a(e)){if("function"!==typeof xe)throw Error(i(280));var t=e.stateNode;t&&(t=ka(t),xe(e.stateNode,e.type,t))}}function Ce(e){we?je?je.push(e):je=[e]:we=e}function Ne(){if(we){var e=we,t=je;if(je=we=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Ee(e,t){return e(t)}function Oe(){}var Te=!1;function Pe(e,t,n){if(Te)return e(t,n);Te=!0;try{return Ee(e,t,n)}finally{Te=!1,(null!==we||null!==je)&&(Oe(),Ne())}}function De(e,t){var n=e.stateNode;if(null===n)return null;var r=ka(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(i(231,t,typeof n));return n}var Ae=!1;if(c)try{var Le={};Object.defineProperty(Le,"passive",{get:function(){Ae=!0}}),window.addEventListener("test",Le,Le),window.removeEventListener("test",Le,Le)}catch(ce){Ae=!1}function Re(e,t,n,r,a,i,o,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ie=!1,Me=null,Be=!1,ze=null,Fe={onError:function(e){Ie=!0,Me=e}};function Ue(e,t,n,r,a,i,o,s,l){Ie=!1,Me=null,Re.apply(Fe,arguments)}function We(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ve(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 He(e){if(We(e)!==e)throw Error(i(188))}function Ge(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=We(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return He(a),e;if(o===r)return He(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var s=!1,l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ze(e):null}function Ze(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ze(e);if(null!==t)return t;e=e.sibling}return null}var $e=a.unstable_scheduleCallback,qe=a.unstable_cancelCallback,Ke=a.unstable_shouldYield,Qe=a.unstable_requestPaint,Ye=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,it=null;var ot=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,i=e.pingedLanes,o=268435455&n;if(0!==o){var s=o&~a;0!==s?r=dt(s):0!==(i&=o)&&(r=dt(i))}else 0!==(o=n&~a)?r=dt(o):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(i=t&-t)||16===a&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-ot(t)),r|=e[n],t&=~a;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0===(4194240&(ut<<=1))&&(ut=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ot(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var _t=0;function bt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var kt,xt,wt,jt,St,Ct=!1,Nt=[],Et=null,Ot=null,Tt=null,Pt=new Map,Dt=new Map,At=[],Lt="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 Rt(e,t){switch(e){case"focusin":case"focusout":Et=null;break;case"dragenter":case"dragleave":Ot=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dt.delete(t.pointerId)}}function It(e,t,n,r,a,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[a]},null!==t&&(null!==(t=_a(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Mt(e){var t=ga(e.target);if(null!==t){var n=We(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ve(n)))return e.blockedOn=t,void St(e.priority,(function(){wt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)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=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=_a(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);be=r,n.target.dispatchEvent(r),be=null,t.shift()}return!0}function zt(e,t,n){Bt(e)&&n.delete(t)}function Ft(){Ct=!1,null!==Et&&Bt(Et)&&(Et=null),null!==Ot&&Bt(Ot)&&(Ot=null),null!==Tt&&Bt(Tt)&&(Tt=null),Pt.forEach(zt),Dt.forEach(zt)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Ft)))}function Wt(e){function t(t){return Ut(t,e)}if(0<Nt.length){Ut(Nt[0],e);for(var n=1;n<Nt.length;n++){var r=Nt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Et&&Ut(Et,e),null!==Ot&&Ut(Ot,e),null!==Tt&&Ut(Tt,e),Pt.forEach(t),Dt.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)Mt(n),null===n.blockedOn&&At.shift()}var Vt=b.ReactCurrentBatchConfig,Ht=!0;function Gt(e,t,n,r){var a=_t,i=Vt.transition;Vt.transition=null;try{_t=1,$t(e,t,n,r)}finally{_t=a,Vt.transition=i}}function Zt(e,t,n,r){var a=_t,i=Vt.transition;Vt.transition=null;try{_t=4,$t(e,t,n,r)}finally{_t=a,Vt.transition=i}}function $t(e,t,n,r){if(Ht){var a=Kt(e,t,n,r);if(null===a)Hr(e,t,r,qt,n),Rt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Et=It(Et,e,t,n,r,a),!0;case"dragenter":return Ot=It(Ot,e,t,n,r,a),!0;case"mouseover":return Tt=It(Tt,e,t,n,r,a),!0;case"pointerover":var i=a.pointerId;return Pt.set(i,It(Pt.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":return i=a.pointerId,Dt.set(i,It(Dt.get(i)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Rt(e,r),4&t&&-1<Lt.indexOf(e)){for(;null!==a;){var i=_a(a);if(null!==i&&kt(i),null===(i=Kt(e,t,n,r))&&Hr(e,t,r,qt,n),i===a)break;a=i}null!==a&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var qt=null;function Kt(e,t,n,r){if(qt=null,null!==(e=ga(e=ke(r))))if(null===(t=We(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ve(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return qt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,a="value"in Yt?Yt.value:Yt.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 Jt=a.slice(e,1<t?1-t:void 0)}function tn(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 nn(){return!0}function rn(){return!1}function an(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)?nn:rn,this.isPropagationStopped=rn,this}return M(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=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(un),dn=M({},un,{view:0,detail:0}),fn=an(dn),pn=M({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sn,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!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=on=0,ln=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=an(pn),mn=an(M({},pn,{dataTransfer:0})),vn=an(M({},dn,{relatedTarget:0})),yn=an(M({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=M({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_n=an(gn),bn=an(M({},un,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={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"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function Sn(){return jn}var Cn=M({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Nn=an(Cn),En=an(M({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=an(M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sn})),Tn=an(M({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=M({},pn,{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}),Dn=an(Pn),An=[9,13,27,32],Ln=c&&"CompositionEvent"in window,Rn=null;c&&"documentMode"in document&&(Rn=document.documentMode);var In=c&&"TextEvent"in window&&!Rn,Mn=c&&(!Ln||Rn&&8<Rn&&11>=Rn),Bn=String.fromCharCode(32),zn=!1;function Fn(e,t){switch(e){case"keyup":return-1!==An.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1;var Vn={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 Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function Gn(e,t,n,r){Ce(r),0<(t=Zr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Zn=null,$n=null;function qn(e){Br(e,0)}function Kn(e){if($(ba(e)))return e}function Qn(e,t){if("change"===e)return t}var Yn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Xn=Jn}else Xn=!1;Yn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Zn&&(Zn.detachEvent("onpropertychange",nr),$n=Zn=null)}function nr(e){if("value"===e.propertyName&&Kn($n)){var t=[];Gn(t,$n,e,ke(e)),Pe(qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),$n=n,(Zn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn($n)}function ir(e,t){if("click"===e)return Kn(t)}function or(e,t){if("input"===e||"change"===e)return Kn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(sr(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++){var a=n[r];if(!d.call(t,a)||!sr(e[a],t[a]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(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=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=q();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=q((e=t.contentWindow).document)}return t}function pr(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)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,i=Math.min(r.start,a);r=void 0===r.end?i:Math.min(r.end,a),!e.extend&&i>r&&(a=r,r=i,i=a),a=cr(n,i);var o=cr(n,r);a&&o&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,vr=null,yr=null,gr=null,_r=!1;function br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;_r||null==vr||vr!==q(r)||("selectionStart"in(r=vr)&&pr(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},gr&&lr(gr,r)||(gr=r,0<(r=Zr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},wr={},jr={};function Sr(e){if(wr[e])return wr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in jr)return wr[e]=n[t];return e}c&&(jr=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Cr=Sr("animationend"),Nr=Sr("animationiteration"),Er=Sr("animationstart"),Or=Sr("transitionend"),Tr=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Dr(e,t){Tr.set(e,t),l(t,[e])}for(var Ar=0;Ar<Pr.length;Ar++){var Lr=Pr[Ar];Dr(Lr.toLowerCase(),"on"+(Lr[0].toUpperCase()+Lr.slice(1)))}Dr(Cr,"onAnimationEnd"),Dr(Nr,"onAnimationIteration"),Dr(Er,"onAnimationStart"),Dr("dblclick","onDoubleClick"),Dr("focusin","onFocus"),Dr("focusout","onBlur"),Dr(Or,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rr));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,o,s,l,u){if(Ue.apply(this,arguments),Ie){if(!Ie)throw Error(i(198));var c=Me;Ie=!1,Me=null,Be||(Be=!0,ze=c)}}(r,t,void 0,e),e.currentTarget=null}function Br(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 s=r[o],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&a.isPropagationStopped())break e;Mr(a,s,u),i=l}else for(o=0;o<r.length;o++){if(l=(s=r[o]).instance,u=s.currentTarget,s=s.listener,l!==i&&a.isPropagationStopped())break e;Mr(a,s,u),i=l}}}if(Be)throw e=ze,Be=!1,ze=null,e}function zr(e,t){var n=t[ma];void 0===n&&(n=t[ma]=new Set);var r=e+"__bubble";n.has(r)||(Vr(t,e,2,!1),n.add(r))}function Fr(e,t,n){var r=0;t&&(r|=4),Vr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function Wr(e){if(!e[Ur]){e[Ur]=!0,o.forEach((function(t){"selectionchange"!==t&&(Ir.has(t)||Fr(t,!1,e),Fr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,Fr("selectionchange",!1,t))}}function Vr(e,t,n,r){switch(Qt(t)){case 1:var a=Gt;break;case 4:a=Zt;break;default:a=$t}n=a.bind(null,t,n,e),a=void 0,!Ae||"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 Hr(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 s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===o)for(o=r.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;o=o.return}for(;null!==s;){if(null===(o=ga(s)))return;if(5===(l=o.tag)||6===l){r=i=o;continue e}s=s.parentNode}}r=r.return}Pe((function(){var r=i,a=ke(n),o=[];e:{var s=Tr.get(e);if(void 0!==s){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Nn;break;case"focusin":u="focus",l=vn;break;case"focusout":u="blur",l=vn;break;case"beforeblur":case"afterblur":l=vn;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":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=On;break;case Cr:case Nr:case Er:l=yn;break;case Or:l=Tn;break;case"scroll":l=fn;break;case"wheel":l=Dn;break;case"copy":case"cut":case"paste":l=_n;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=En}var c=0!==(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=De(h,f))&&c.push(Gr(h,m,p)))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,a),o.push({event:s,listeners:c}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===be||!(u=n.relatedTarget||n.fromElement)||!ga(u)&&!u[ha])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?ga(u):null)&&(u!==(d=We(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=En,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:ba(l),p=null==u?s:ba(u),(s=new c(m,h+"leave",l,n,a)).target=d,s.relatedTarget=p,m=null,ga(a)===r&&((c=new c(f,h+"enter",u,n,a)).target=p,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(f=u,h=0,p=c=l;p;p=$r(p))h++;for(p=0,m=f;m;m=$r(m))p++;for(;0<h-p;)c=$r(c),h--;for(;0<p-h;)f=$r(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=$r(c),f=$r(f)}c=null}else c=null;null!==l&&qr(o,s,l,c,!1),null!==u&&null!==d&&qr(o,d,u,c,!0)}if("select"===(l=(s=r?ba(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var v=Qn;else if(Hn(s))if(Yn)v=or;else{v=ar;var y=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(v=ir);switch(v&&(v=v(e,r))?Gn(o,v,n,a):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?ba(r):window,e){case"focusin":(Hn(y)||"true"===y.contentEditable)&&(vr=y,yr=r,gr=null);break;case"focusout":gr=yr=vr=null;break;case"mousedown":_r=!0;break;case"contextmenu":case"mouseup":case"dragend":_r=!1,br(o,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":br(o,n,a)}var g;if(Ln)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else Wn?Fn(e,n)&&(_="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(_="onCompositionStart");_&&(Mn&&"ko"!==n.locale&&(Wn||"onCompositionStart"!==_?"onCompositionEnd"===_&&Wn&&(g=en()):(Xt="value"in(Yt=a)?Yt.value:Yt.textContent,Wn=!0)),0<(y=Zr(r,_)).length&&(_=new bn(_,e,null,n,a),o.push({event:_,listeners:y}),g?_.data=g:null!==(g=Un(n))&&(_.data=g))),(g=In?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(zn=!0,Bn);case"textInput":return(e=t.data)===Bn&&zn?null:e;default:return null}}(e,n):function(e,t){if(Wn)return"compositionend"===e||!Ln&&Fn(e,t)?(e=en(),Jt=Xt=Yt=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 Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Zr(r,"onBeforeInput")).length&&(a=new bn("onBeforeInput","beforeinput",null,n,a),o.push({event:a,listeners:r}),a.data=g))}Br(o,t)}))}function Gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Zr(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=De(e,n))&&r.unshift(Gr(e,i,a)),null!=(i=De(e,t))&&r.push(Gr(e,i,a))),e=e.return}return r}function $r(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function qr(e,t,n,r,a){for(var i=t._reactName,o=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,a?null!=(l=De(n,i))&&o.unshift(Gr(n,l,s)):a||null!=(l=De(n,i))&&o.push(Gr(n,l,s))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Kr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Yr(e){return("string"===typeof e?e:""+e).replace(Kr,"\n").replace(Qr,"")}function Xr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(i(425))}function Jr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"===typeof setTimeout?setTimeout:void 0,aa="function"===typeof clearTimeout?clearTimeout:void 0,ia="function"===typeof Promise?Promise:void 0,oa="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ia?function(e){return ia.resolve(null).then(e).catch(sa)}:ra;function sa(e){setTimeout((function(){throw e}))}function la(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Wt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Wt(t)}function ua(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(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 da=Math.random().toString(36).slice(2),fa="__reactFiber$"+da,pa="__reactProps$"+da,ha="__reactContainer$"+da,ma="__reactEvents$"+da,va="__reactListeners$"+da,ya="__reactHandles$"+da;function ga(e){var t=e[fa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[fa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[fa])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function _a(e){return!(e=e[fa]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ba(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function ka(e){return e[pa]||null}var xa=[],wa=-1;function ja(e){return{current:e}}function Sa(e){0>wa||(e.current=xa[wa],xa[wa]=null,wa--)}function Ca(e,t){wa++,xa[wa]=e.current,e.current=t}var Na={},Ea=ja(Na),Oa=ja(!1),Ta=Na;function Pa(e,t){var n=e.type.contextTypes;if(!n)return Na;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 Da(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Aa(){Sa(Oa),Sa(Ea)}function La(e,t,n){if(Ea.current!==Na)throw Error(i(168));Ca(Ea,t),Ca(Oa,n)}function Ra(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(i(108,V(e)||"Unknown",a));return M({},n,r)}function Ia(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Na,Ta=Ea.current,Ca(Ea,e),Ca(Oa,Oa.current),!0}function Ma(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Ra(e,t,Ta),r.__reactInternalMemoizedMergedChildContext=e,Sa(Oa),Sa(Ea),Ca(Ea,e)):Sa(Oa),Ca(Oa,n)}var Ba=null,za=!1,Fa=!1;function Ua(e){null===Ba?Ba=[e]:Ba.push(e)}function Wa(){if(!Fa&&null!==Ba){Fa=!0;var e=0,t=_t;try{var n=Ba;for(_t=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ba=null,za=!1}catch(a){throw null!==Ba&&(Ba=Ba.slice(e+1)),$e(Je,Wa),a}finally{_t=t,Fa=!1}}return null}var Va=[],Ha=0,Ga=null,Za=0,$a=[],qa=0,Ka=null,Qa=1,Ya="";function Xa(e,t){Va[Ha++]=Za,Va[Ha++]=Ga,Ga=e,Za=t}function Ja(e,t,n){$a[qa++]=Qa,$a[qa++]=Ya,$a[qa++]=Ka,Ka=e;var r=Qa;e=Ya;var a=32-ot(r)-1;r&=~(1<<a),n+=1;var i=32-ot(t)+a;if(30<i){var o=a-a%5;i=(r&(1<<o)-1).toString(32),r>>=o,a-=o,Qa=1<<32-ot(t)+a|n<<a|r,Ya=i+e}else Qa=1<<i|n<<a|r,Ya=e}function ei(e){null!==e.return&&(Xa(e,1),Ja(e,1,0))}function ti(e){for(;e===Ga;)Ga=Va[--Ha],Va[Ha]=null,Za=Va[--Ha],Va[Ha]=null;for(;e===Ka;)Ka=$a[--qa],$a[qa]=null,Ya=$a[--qa],$a[qa]=null,Qa=$a[--qa],$a[qa]=null}var ni=null,ri=null,ai=!1,ii=null;function oi(e,t){var n=Pu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function si(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,ni=e,ri=ua(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ni=e,ri=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ka?{id:Qa,overflow:Ya}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Pu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ni=e,ri=null,!0);default:return!1}}function li(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ui(e){if(ai){var t=ri;if(t){var n=t;if(!si(e,t)){if(li(e))throw Error(i(418));t=ua(n.nextSibling);var r=ni;t&&si(e,t)?oi(r,n):(e.flags=-4097&e.flags|2,ai=!1,ni=e)}}else{if(li(e))throw Error(i(418));e.flags=-4097&e.flags|2,ai=!1,ni=e}}}function ci(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ni=e}function di(e){if(e!==ni)return!1;if(!ai)return ci(e),ai=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ri)){if(li(e))throw fi(),Error(i(418));for(;t;)oi(e,t),t=ua(t.nextSibling)}if(ci(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ri=ua(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ri=null}}else ri=ni?ua(e.stateNode.nextSibling):null;return!0}function fi(){for(var e=ri;e;)e=ua(e.nextSibling)}function pi(){ri=ni=null,ai=!1}function hi(e){null===ii?ii=[e]:ii.push(e)}var mi=b.ReactCurrentBatchConfig;function vi(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=ja(null),gi=null,_i=null,bi=null;function ki(){bi=_i=gi=null}function xi(e){var t=yi.current;Sa(yi),e._currentValue=t}function wi(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ji(e,t){gi=e,bi=_i=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Si(e){var t=e._currentValue;if(bi!==e)if(e={context:e,memoizedValue:t,next:null},null===_i){if(null===gi)throw Error(i(308));_i=e,gi.dependencies={lanes:0,firstContext:e}}else _i=_i.next=e;return t}var Ci=null;function Ni(e){null===Ci?Ci=[e]:Ci.push(e)}function Ei(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Ni(t)):(n.next=a.next,a.next=n),t.interleaved=n,Oi(e,r)}function Oi(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}var Ti=!1;function Pi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Di(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 Ai(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Li(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&El)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Oi(e,n)}return null===(a=r.interleaved)?(t.next=t,Ni(r)):(t.next=a.next,a.next=t),r.interleaved=t,Oi(e,n)}function Ri(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}function Ii(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 Mi(e,t,n,r){var a=e.updateQueue;Ti=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,u=l.next;l.next=null,null===o?i=u:o.next=u,o=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==i){var d=a.baseState;for(o=0,c=u=l=null,s=i;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(f=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(f="function"===typeof(h=m.payload)?h.call(p,d,f):h)||void 0===f)break e;d=M({},d,f);break e;case 2:Ti=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=d):c=c.next=p,o|=f;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(f=s).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===c&&(l=d),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{o|=a.lane,a=a.next}while(a!==t)}else null===i&&(a.shared.lanes=0);Il|=o,e.lanes=o,e.memoizedState=d}}function Bi(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(i(191,a));a.call(r)}}}var zi=(new r.Component).refs;function Fi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ui={isMounted:function(e){return!!(e=e._reactInternals)&&We(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),a=tu(e),i=Ai(r,a);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Li(e,i,a))&&(nu(t,e,a,r),Ri(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),a=tu(e),i=Ai(r,a);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Li(e,i,a))&&(nu(t,e,a,r),Ri(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),a=Ai(n,r);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),null!==(t=Li(e,a,r))&&(nu(t,e,r,n),Ri(t,e,r))}};function Wi(e,t,n,r,a,i,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,o):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(a,i))}function Vi(e,t,n){var r=!1,a=Na,i=t.contextType;return"object"===typeof i&&null!==i?i=Si(i):(a=Da(t)?Ta:Ea.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Pa(e,a):Na),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ui,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=i),t}function Hi(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&&Ui.enqueueReplaceState(t,t.state,null)}function Gi(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=zi,Pi(e);var i=t.contextType;"object"===typeof i&&null!==i?a.context=Si(i):(i=Da(t)?Ta:Ea.current,a.context=Pa(e,i)),a.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(Fi(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&&Ui.enqueueReplaceState(a,a.state,null),Mi(e,n,a,r),a.state=e.memoizedState),"function"===typeof a.componentDidMount&&(e.flags|=4194308)}function Zi(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(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=r,o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;t===zi&&(t=a.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function $i(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function qi(e){return(0,e._init)(e._payload)}function Ki(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}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=Au(e,t)).index=0,e.sibling=null,e}function o(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):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Mu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===w?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===D&&qi(i)===t.type)?((r=a(t,n.props)).ref=Zi(e,t,n),r.return=e,r):((r=Lu(n.type,n.key,n.props,null,e.mode,r)).ref=Zi(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=Bu(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Ru(n,e.mode,r,i)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Mu(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Lu(t.type,t.key,t.props,null,e.mode,n)).ref=Zi(e,null,t),n.return=e,n;case x:return(t=Bu(t,e.mode,n)).return=e,t;case D:return f(e,(0,t._init)(t._payload),n)}if(te(t)||R(t))return(t=Ru(t,e.mode,n,null)).return=e,t;$i(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==a?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===a?u(e,t,n,r):null;case x:return n.key===a?c(e,t,n,r):null;case D:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||R(n))return null!==a?null:d(e,t,n,r,null);$i(e,n)}return null}function h(e,t,n,r,a){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"===typeof r&&null!==r){switch(r.$$typeof){case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case D:return h(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||R(r))return d(t,e=e.get(n)||null,r,a,null);$i(t,r)}return null}function m(a,i,s,l){for(var u=null,c=null,d=i,m=i=0,v=null;null!==d&&m<s.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var y=p(a,d,s[m],l);if(null===y){null===d&&(d=v);break}e&&d&&null===y.alternate&&t(a,d),i=o(y,i,m),null===c?u=y:c.sibling=y,c=y,d=v}if(m===s.length)return n(a,d),ai&&Xa(a,m),u;if(null===d){for(;m<s.length;m++)null!==(d=f(a,s[m],l))&&(i=o(d,i,m),null===c?u=d:c.sibling=d,c=d);return ai&&Xa(a,m),u}for(d=r(a,d);m<s.length;m++)null!==(v=h(d,a,m,s[m],l))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),i=o(v,i,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(a,e)})),ai&&Xa(a,m),u}function v(a,s,l,u){var c=R(l);if("function"!==typeof c)throw Error(i(150));if(null==(l=c.call(l)))throw Error(i(151));for(var d=c=null,m=s,v=s=0,y=null,g=l.next();null!==m&&!g.done;v++,g=l.next()){m.index>v?(y=m,m=null):y=m.sibling;var _=p(a,m,g.value,u);if(null===_){null===m&&(m=y);break}e&&m&&null===_.alternate&&t(a,m),s=o(_,s,v),null===d?c=_:d.sibling=_,d=_,m=y}if(g.done)return n(a,m),ai&&Xa(a,v),c;if(null===m){for(;!g.done;v++,g=l.next())null!==(g=f(a,g.value,u))&&(s=o(g,s,v),null===d?c=g:d.sibling=g,d=g);return ai&&Xa(a,v),c}for(m=r(a,m);!g.done;v++,g=l.next())null!==(g=h(m,a,v,g.value,u))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),s=o(g,s,v),null===d?c=g:d.sibling=g,d=g);return e&&m.forEach((function(e){return t(a,e)})),ai&&Xa(a,v),c}return function e(r,i,o,l){if("object"===typeof o&&null!==o&&o.type===w&&null===o.key&&(o=o.props.children),"object"===typeof o&&null!==o){switch(o.$$typeof){case k:e:{for(var u=o.key,c=i;null!==c;){if(c.key===u){if((u=o.type)===w){if(7===c.tag){n(r,c.sibling),(i=a(c,o.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===D&&qi(u)===c.type){n(r,c.sibling),(i=a(c,o.props)).ref=Zi(r,c,o),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}o.type===w?((i=Ru(o.props.children,r.mode,l,o.key)).return=r,r=i):((l=Lu(o.type,o.key,o.props,null,r.mode,l)).ref=Zi(r,i,o),l.return=r,r=l)}return s(r);case x:e:{for(c=o.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===o.containerInfo&&i.stateNode.implementation===o.implementation){n(r,i.sibling),(i=a(i,o.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Bu(o,r.mode,l)).return=r,r=i}return s(r);case D:return e(r,i,(c=o._init)(o._payload),l)}if(te(o))return m(r,i,o,l);if(R(o))return v(r,i,o,l);$i(r,o)}return"string"===typeof o&&""!==o||"number"===typeof o?(o=""+o,null!==i&&6===i.tag?(n(r,i.sibling),(i=a(i,o)).return=r,r=i):(n(r,i),(i=Mu(o,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var Qi=Ki(!0),Yi=Ki(!1),Xi={},Ji=ja(Xi),eo=ja(Xi),to=ja(Xi);function no(e){if(e===Xi)throw Error(i(174));return e}function ro(e,t){switch(Ca(to,t),Ca(eo,e),Ca(Ji,Xi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Sa(Ji),Ca(Ji,t)}function ao(){Sa(Ji),Sa(eo),Sa(to)}function io(e){no(to.current);var t=no(Ji.current),n=le(t,e.type);t!==n&&(Ca(eo,e),Ca(Ji,n))}function oo(e){eo.current===e&&(Sa(Ji),Sa(eo))}var so=ja(0);function lo(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!==(128&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 uo=[];function co(){for(var e=0;e<uo.length;e++)uo[e]._workInProgressVersionPrimary=null;uo.length=0}var fo=b.ReactCurrentDispatcher,po=b.ReactCurrentBatchConfig,ho=0,mo=null,vo=null,yo=null,go=!1,_o=!1,bo=0,ko=0;function xo(){throw Error(i(321))}function wo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function jo(e,t,n,r,a,o){if(ho=o,mo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fo.current=null===e||null===e.memoizedState?ss:ls,e=n(r,a),_o){o=0;do{if(_o=!1,bo=0,25<=o)throw Error(i(301));o+=1,yo=vo=null,t.updateQueue=null,fo.current=us,e=n(r,a)}while(_o)}if(fo.current=os,t=null!==vo&&null!==vo.next,ho=0,yo=vo=mo=null,go=!1,t)throw Error(i(300));return e}function So(){var e=0!==bo;return bo=0,e}function Co(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===yo?mo.memoizedState=yo=e:yo=yo.next=e,yo}function No(){if(null===vo){var e=mo.alternate;e=null!==e?e.memoizedState:null}else e=vo.next;var t=null===yo?mo.memoizedState:yo.next;if(null!==t)yo=t,vo=e;else{if(null===e)throw Error(i(310));e={memoizedState:(vo=e).memoizedState,baseState:vo.baseState,baseQueue:vo.baseQueue,queue:vo.queue,next:null},null===yo?mo.memoizedState=yo=e:yo=yo.next=e}return yo}function Eo(e,t){return"function"===typeof t?t(e):t}function Oo(e){var t=No(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=vo,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var s=a.next;a.next=o.next,o.next=s}r.baseQueue=a=o,n.pending=null}if(null!==a){o=a.next,r=r.baseState;var l=s=null,u=null,c=o;do{var d=c.lane;if((ho&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=f,s=r):u=u.next=f,mo.lanes|=d,Il|=d}c=c.next}while(null!==c&&c!==o);null===u?s=r:u.next=l,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{o=a.lane,mo.lanes|=o,Il|=o,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function To(e){var t=No(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{o=e(o,s.action),s=s.next}while(s!==a);sr(o,t.memoizedState)||(bs=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Po(){}function Do(e,t){var n=mo,r=No(),a=t(),o=!sr(r.memoizedState,a);if(o&&(r.memoizedState=a,bs=!0),r=r.queue,Ho(Ro.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==yo&&1&yo.memoizedState.tag){if(n.flags|=2048,zo(9,Lo.bind(null,n,r,a,t),void 0,null),null===Ol)throw Error(i(349));0!==(30&ho)||Ao(n,t,a)}return a}function Ao(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=mo.updateQueue)?(t={lastEffect:null,stores:null},mo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Lo(e,t,n,r){t.value=n,t.getSnapshot=r,Io(t)&&Mo(e)}function Ro(e,t,n){return n((function(){Io(t)&&Mo(e)}))}function Io(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Mo(e){var t=Oi(e,1);null!==t&&nu(t,e,1,-1)}function Bo(e){var t=Co();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Eo,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,mo,e),[t.memoizedState,e]}function zo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=mo.updateQueue)?(t={lastEffect:null,stores:null},mo.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 Fo(){return No().memoizedState}function Uo(e,t,n,r){var a=Co();mo.flags|=e,a.memoizedState=zo(1|t,n,void 0,void 0===r?null:r)}function Wo(e,t,n,r){var a=No();r=void 0===r?null:r;var i=void 0;if(null!==vo){var o=vo.memoizedState;if(i=o.destroy,null!==r&&wo(r,o.deps))return void(a.memoizedState=zo(t,n,i,r))}mo.flags|=e,a.memoizedState=zo(1|t,n,i,r)}function Vo(e,t){return Uo(8390656,8,e,t)}function Ho(e,t){return Wo(2048,8,e,t)}function Go(e,t){return Wo(4,2,e,t)}function Zo(e,t){return Wo(4,4,e,t)}function $o(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 qo(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Wo(4,4,$o.bind(null,t,e),n)}function Ko(){}function Qo(e,t){var n=No();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&wo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yo(e,t){var n=No();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&wo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xo(e,t,n){return 0===(21&ho)?(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n):(sr(n,t)||(n=mt(),mo.lanes|=n,Il|=n,e.baseState=!0),t)}function Jo(e,t){var n=_t;_t=0!==n&&4>n?n:4,e(!0);var r=po.transition;po.transition={};try{e(!1),t()}finally{_t=n,po.transition=r}}function es(){return No().memoizedState}function ts(e,t,n){var r=tu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))as(t,n);else if(null!==(n=Ei(e,t,n,r))){nu(n,e,r,eu()),is(n,t,r)}}function ns(e,t,n){var r=tu(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))as(t,a);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=i(o,n);if(a.hasEagerState=!0,a.eagerState=s,sr(s,o)){var l=t.interleaved;return null===l?(a.next=a,Ni(t)):(a.next=l.next,l.next=a),void(t.interleaved=a)}}catch(u){}null!==(n=Ei(e,t,a,r))&&(nu(n,e,r,a=eu()),is(n,t,r))}}function rs(e){var t=e.alternate;return e===mo||null!==t&&t===mo}function as(e,t){_o=go=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function is(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var os={readContext:Si,useCallback:xo,useContext:xo,useEffect:xo,useImperativeHandle:xo,useInsertionEffect:xo,useLayoutEffect:xo,useMemo:xo,useReducer:xo,useRef:xo,useState:xo,useDebugValue:xo,useDeferredValue:xo,useTransition:xo,useMutableSource:xo,useSyncExternalStore:xo,useId:xo,unstable_isNewReconciler:!1},ss={readContext:Si,useCallback:function(e,t){return Co().memoizedState=[e,void 0===t?null:t],e},useContext:Si,useEffect:Vo,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Uo(4194308,4,$o.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Uo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Uo(4,2,e,t)},useMemo:function(e,t){var n=Co();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Co();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,mo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Co().memoizedState=e},useState:Bo,useDebugValue:Ko,useDeferredValue:function(e){return Co().memoizedState=e},useTransition:function(){var e=Bo(!1),t=e[0];return e=Jo.bind(null,e[1]),Co().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=mo,a=Co();if(ai){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Ol)throw Error(i(349));0!==(30&ho)||Ao(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Vo(Ro.bind(null,r,o,e),[e]),r.flags|=2048,zo(9,Lo.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Co(),t=Ol.identifierPrefix;if(ai){var n=Ya;t=":"+t+"R"+(n=(Qa&~(1<<32-ot(Qa)-1)).toString(32)+n),0<(n=bo++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ko++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:Si,useCallback:Qo,useContext:Si,useEffect:Ho,useImperativeHandle:qo,useInsertionEffect:Go,useLayoutEffect:Zo,useMemo:Yo,useReducer:Oo,useRef:Fo,useState:function(){return Oo(Eo)},useDebugValue:Ko,useDeferredValue:function(e){return Xo(No(),vo.memoizedState,e)},useTransition:function(){return[Oo(Eo)[0],No().memoizedState]},useMutableSource:Po,useSyncExternalStore:Do,useId:es,unstable_isNewReconciler:!1},us={readContext:Si,useCallback:Qo,useContext:Si,useEffect:Ho,useImperativeHandle:qo,useInsertionEffect:Go,useLayoutEffect:Zo,useMemo:Yo,useReducer:To,useRef:Fo,useState:function(){return To(Eo)},useDebugValue:Ko,useDeferredValue:function(e){var t=No();return null===vo?t.memoizedState=e:Xo(t,vo.memoizedState,e)},useTransition:function(){return[To(Eo)[0],No().memoizedState]},useMutableSource:Po,useSyncExternalStore:Do,useId:es,unstable_isNewReconciler:!1};function cs(e,t){try{var n="",r=t;do{n+=U(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,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ps="function"===typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Ai(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hl||(Hl=!0,Gl=r),fs(0,t)},n}function ms(e,t,n){(n=Ai(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){fs(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!==typeof r&&(null===Zl?Zl=new Set([this]):Zl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Su.bind(null,e,t,n),t.then(e,e))}function ys(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gs(e,t,n,r,a){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ai(-1,1)).tag=2,Li(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var _s=b.ReactCurrentOwner,bs=!1;function ks(e,t,n,r){t.child=null===e?Yi(t,null,n,r):Qi(t,e.child,n,r)}function xs(e,t,n,r,a){n=n.render;var i=t.ref;return ji(t,a),r=jo(e,t,n,r,i,a),n=So(),null===e||bs?(ai&&n&&ei(t),t.flags|=1,ks(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hs(e,t,a))}function ws(e,t,n,r,a){if(null===e){var i=n.type;return"function"!==typeof i||Du(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Lu(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,js(e,t,i,r,a))}if(i=e.child,0===(e.lanes&a)){var o=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(o,r)&&e.ref===t.ref)return Hs(e,t,a)}return t.flags|=1,(e=Au(i,r)).ref=t.ref,e.return=t,t.child=e}function js(e,t,n,r,a){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=i,0===(e.lanes&a))return t.lanes=e.lanes,Hs(e,t,a);0!==(131072&e.flags)&&(bs=!0)}}return Ns(e,t,n,r,a)}function Ss(e,t,n){var r=t.pendingProps,a=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ca(Al,Dl),Dl|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ca(Al,Dl),Dl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Ca(Al,Dl),Dl|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ca(Al,Dl),Dl|=r;return ks(e,t,a,n),t.child}function Cs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ns(e,t,n,r,a){var i=Da(n)?Ta:Ea.current;return i=Pa(t,i),ji(t,a),n=jo(e,t,n,r,i,a),r=So(),null===e||bs?(ai&&r&&ei(t),t.flags|=1,ks(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hs(e,t,a))}function Es(e,t,n,r,a){if(Da(n)){var i=!0;Ia(t)}else i=!1;if(ji(t,a),null===t.stateNode)Vs(e,t),Vi(t,n,r),Gi(t,n,r,a),r=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=n.contextType;"object"===typeof u&&null!==u?u=Si(u):u=Pa(t,u=Da(n)?Ta:Ea.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof o.getSnapshotBeforeUpdate;d||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==r||l!==u)&&Hi(t,o,r,u),Ti=!1;var f=t.memoizedState;o.state=f,Mi(t,r,o,a),l=t.memoizedState,s!==r||f!==l||Oa.current||Ti?("function"===typeof c&&(Fi(t,n,c,r),l=t.memoizedState),(s=Ti||Wi(t,n,s,r,f,l,u))?(d||"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|=4194308)):("function"===typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=s):("function"===typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Di(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:vi(t.type,s),o.props=u,d=t.pendingProps,f=o.context,"object"===typeof(l=n.contextType)&&null!==l?l=Si(l):l=Pa(t,l=Da(n)?Ta:Ea.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==d||f!==l)&&Hi(t,o,r,l),Ti=!1,f=t.memoizedState,o.state=f,Mi(t,r,o,a);var h=t.memoizedState;s!==d||f!==h||Oa.current||Ti?("function"===typeof p&&(Fi(t,n,p,r),h=t.memoizedState),(u=Ti||Wi(t,n,u,r,f,h,l)||!1)?(c||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,l),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof o.componentDidUpdate&&(t.flags|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=l,r=u):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Os(e,t,n,r,i,a)}function Os(e,t,n,r,a,i){Cs(e,t);var o=0!==(128&t.flags);if(!r&&!o)return a&&Ma(t,n,!1),Hs(e,t,i);r=t.stateNode,_s.current=t;var s=o&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=Qi(t,e.child,null,i),t.child=Qi(t,null,s,i)):ks(e,t,s,i),t.memoizedState=r.state,a&&Ma(t,n,!0),t.child}function Ts(e){var t=e.stateNode;t.pendingContext?La(0,t.pendingContext,t.pendingContext!==t.context):t.context&&La(0,t.context,!1),ro(e,t.containerInfo)}function Ps(e,t,n,r,a){return pi(),hi(a),t.flags|=256,ks(e,t,n,r),t.child}var Ds,As,Ls,Rs={dehydrated:null,treeContext:null,retryLane:0};function Is(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ms(e,t,n){var r,a=t.pendingProps,o=so.current,s=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&o)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),Ca(so,1&o),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=a.children,e=a.fallback,s?(a=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&a)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Iu(l,a,0,null),e=Ru(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Is(n),t.memoizedState=Rs,e):Bs(t,l));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,a,o,s){if(n)return 256&t.flags?(t.flags&=-257,zs(e,t,s,r=ds(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=Iu({mode:"visible",children:r.children},a,0,null),(o=Ru(o,a,s,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!==(1&t.mode)&&Qi(t,e.child,null,s),t.child.memoizedState=Is(s),t.memoizedState=Rs,o);if(0===(1&t.mode))return zs(e,t,s,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,zs(e,t,s,r=ds(o=Error(i(419)),r,void 0))}if(l=0!==(s&e.childLanes),bs||l){if(null!==(r=Ol)){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|s))?0:a)&&a!==o.retryLane&&(o.retryLane=a,Oi(e,a),nu(r,e,a,-1))}return mu(),zs(e,t,s,r=ds(Error(i(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Nu.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,ri=ua(a.nextSibling),ni=t,ai=!0,ii=null,null!==e&&($a[qa++]=Qa,$a[qa++]=Ya,$a[qa++]=Ka,Qa=e.id,Ya=e.overflow,Ka=t),t=Bs(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,o,n);if(s){s=a.fallback,l=t.mode,r=(o=e.child).sibling;var u={mode:"hidden",children:a.children};return 0===(1&l)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null):(a=Au(o,u)).subtreeFlags=14680064&o.subtreeFlags,null!==r?s=Au(r,s):(s=Ru(s,l,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,l=null===(l=e.child.memoizedState)?Is(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Rs,a}return e=(s=e.child).sibling,a=Au(s,{mode:"visible",children:a.children}),0===(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Bs(e,t){return(t=Iu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zs(e,t,n,r){return null!==r&&hi(r),Qi(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),wi(e.return,t,n)}function Us(e,t,n,r,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a)}function Ws(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;if(ks(e,t,r.children,n),0!==(2&(r=so.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fs(e,n,t);else if(19===e.tag)Fs(e,n,t);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(Ca(so,r),0===(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===lo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Us(t,!1,a,n,i);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===lo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Us(t,!0,n,null,i);break;case"together":Us(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Il|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Au(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Au(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gs(e,t){if(!ai)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 Zs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function $s(e,t,n){var r=t.pendingProps;switch(ti(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zs(t),null;case 1:case 17:return Da(t.type)&&Aa(),Zs(t),null;case 3:return r=t.stateNode,ao(),Sa(Oa),Sa(Ea),co(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ii&&(ou(ii),ii=null))),Zs(t),null;case 5:oo(t);var a=no(to.current);if(n=t.type,null!==e&&null!=t.stateNode)As(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Zs(t),null}if(e=no(Ji.current),di(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[fa]=t,r[pa]=o,e=0!==(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(a=0;a<Rr.length;a++)zr(Rr[a],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":Q(r,o),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},zr("invalid",r);break;case"textarea":ae(r,o),zr("invalid",r)}for(var l in ge(n,o),a=null,o)if(o.hasOwnProperty(l)){var u=o[l];"children"===l?"string"===typeof u?r.textContent!==u&&(!0!==o.suppressHydrationWarning&&Xr(r.textContent,u,e),a=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(!0!==o.suppressHydrationWarning&&Xr(r.textContent,u,e),a=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&zr("scroll",r)}switch(n){case"input":Z(r),J(r,o,!0);break;case"textarea":Z(r),oe(r);break;case"select":case"option":break;default:"function"===typeof o.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[fa]=t,e[pa]=r,Ds(e,t),t.stateNode=e;e:{switch(l=_e(n,r),n){case"dialog":zr("cancel",e),zr("close",e),a=r;break;case"iframe":case"object":case"embed":zr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Rr.length;a++)zr(Rr[a],e);a=r;break;case"source":zr("error",e),a=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),a=r;break;case"details":zr("toggle",e),a=r;break;case"input":Q(e,r),a=K(e,r),zr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=M({},r,{value:void 0}),zr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),zr("invalid",e)}for(o in ge(n,a),u=a)if(u.hasOwnProperty(o)){var c=u[o];"style"===o?ve(e,c):"dangerouslySetInnerHTML"===o?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===o?"string"===typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"===typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(s.hasOwnProperty(o)?null!=c&&"onScroll"===o&&zr("scroll",e):null!=c&&_(e,o,c,l))}switch(n){case"input":Z(e),J(e,r,!1);break;case"textarea":Z(e),oe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?ne(e,!!r.multiple,o,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Zs(t),null;case 6:if(e&&null!=t.stateNode)Ls(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=no(to.current),no(Ji.current),di(t)){if(r=t.stateNode,n=t.memoizedProps,r[fa]=t,(o=r.nodeValue!==n)&&null!==(e=ni))switch(e.tag){case 3:Xr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!==(1&e.mode))}o&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fa]=t,t.stateNode=r}return Zs(t),null;case 13:if(Sa(so),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ai&&null!==ri&&0!==(1&t.mode)&&0===(128&t.flags))fi(),pi(),t.flags|=98560,o=!1;else if(o=di(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(i(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(i(317));o[fa]=t}else pi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Zs(t),o=!1}else null!==ii&&(ou(ii),ii=null),o=!0;if(!o)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&so.current)?0===Ll&&(Ll=3):mu())),null!==t.updateQueue&&(t.flags|=4),Zs(t),null);case 4:return ao(),null===e&&Wr(t.stateNode.containerInfo),Zs(t),null;case 10:return xi(t.type._context),Zs(t),null;case 19:if(Sa(so),null===(o=t.memoizedState))return Zs(t),null;if(r=0!==(128&t.flags),null===(l=o.rendering))if(r)Gs(o,!1);else{if(0!==Ll||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=lo(e))){for(t.flags|=128,Gs(o,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=14680066,null===(l=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ca(so,1&so.current|2),t.child}e=e.sibling}null!==o.tail&&Ye()>Wl&&(t.flags|=128,r=!0,Gs(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=lo(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gs(o,!0),null===o.tail&&"hidden"===o.tailMode&&!l.alternate&&!ai)return Zs(t),null}else 2*Ye()-o.renderingStartTime>Wl&&1073741824!==n&&(t.flags|=128,r=!0,Gs(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=o.last)?n.sibling=l:t.child=l,o.last=l)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ye(),t.sibling=null,n=so.current,Ca(so,r?1&n|2:1&n),t):(Zs(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Dl)&&(Zs(t),6&t.subtreeFlags&&(t.flags|=8192)):Zs(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function qs(e,t){switch(ti(t),t.tag){case 1:return Da(t.type)&&Aa(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ao(),Sa(Oa),Sa(Ea),co(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return oo(t),null;case 13:if(Sa(so),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));pi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Sa(so),null;case 4:return ao(),null;case 10:return xi(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Ds=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}},As=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,no(Ji.current);var i,o=null;switch(n){case"input":a=K(e,a),r=K(e,r),o=[];break;case"select":a=M({},a,{value:void 0}),r=M({},r,{value:void 0}),o=[];break;case"textarea":a=re(e,a),r=re(e,r),o=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ge(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var l=a[c];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(i in l)!l.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&l[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(o||(o=[]),o.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(o=o||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(o=o||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),o||l===u||(o=[])):(o=o||[]).push(c,u))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}},Ls=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ks=!1,Qs=!1,Ys="function"===typeof WeakSet?WeakSet:Set,Xs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){ju(e,t,r)}else n.current=null}function el(e,t,n){try{n()}catch(r){ju(e,t,r)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,void 0!==i&&el(t,n,i)}a=a.next}while(a!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function al(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fa],delete t[pa],delete t[ma],delete t[va],delete t[ya])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ol(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ol(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,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=Jr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}var cl=null,dl=!1;function fl(e,t,n){for(n=n.child;null!==n;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(at,n)}catch(s){}switch(n.tag){case 5:Qs||Js(n,t);case 6:var r=cl,a=dl;cl=null,fl(e,t,n),dl=a,null!==(cl=r)&&(dl?(e=cl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cl.removeChild(n.stateNode));break;case 18:null!==cl&&(dl?(e=cl,n=n.stateNode,8===e.nodeType?la(e.parentNode,n):1===e.nodeType&&la(e,n),Wt(e)):la(cl,n.stateNode));break;case 4:r=cl,a=dl,cl=n.stateNode.containerInfo,dl=!0,fl(e,t,n),cl=r,dl=a;break;case 0:case 11:case 14:case 15:if(!Qs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var i=a,o=i.destroy;i=i.tag,void 0!==o&&(0!==(2&i)||0!==(4&i))&&el(n,t,o),a=a.next}while(a!==r)}fl(e,t,n);break;case 1:if(!Qs&&(Js(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ju(n,t,s)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Qs=(r=Qs)||null!==n.memoizedState,fl(e,t,n),Qs=r):fl(e,t,n);break;default:fl(e,t,n)}}function hl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ys),t.forEach((function(t){var r=Eu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var o=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:cl=l.stateNode,dl=!1;break e;case 3:case 4:cl=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===cl)throw Error(i(160));pl(o,s,a),cl=null,dl=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(c){ju(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vl(t,e),t=t.sibling}function vl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),yl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(v){ju(e,e.return,v)}try{nl(5,e,e.return)}catch(v){ju(e,e.return,v)}}break;case 1:ml(t,e),yl(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(ml(t,e),yl(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var a=e.stateNode;try{fe(a,"")}catch(v){ju(e,e.return,v)}}if(4&r&&null!=(a=e.stateNode)){var o=e.memoizedProps,s=null!==n?n.memoizedProps:o,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===o.type&&null!=o.name&&Y(a,o),_e(l,s);var c=_e(l,o);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?ve(a,f):"dangerouslySetInnerHTML"===d?de(a,f):"children"===d?fe(a,f):_(a,d,f,c)}switch(l){case"input":X(a,o);break;case"textarea":ie(a,o);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var h=o.value;null!=h?ne(a,!!o.multiple,h,!1):p!==!!o.multiple&&(null!=o.defaultValue?ne(a,!!o.multiple,o.defaultValue,!0):ne(a,!!o.multiple,o.multiple?[]:"",!1))}a[pa]=o}catch(v){ju(e,e.return,v)}}break;case 6:if(ml(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(i(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(v){ju(e,e.return,v)}}break;case 3:if(ml(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Wt(t.containerInfo)}catch(v){ju(e,e.return,v)}break;case 4:default:ml(t,e),yl(e);break;case 13:ml(t,e),yl(e),8192&(a=e.child).flags&&(o=null!==a.memoizedState,a.stateNode.isHidden=o,!o||null!==a.alternate&&null!==a.alternate.memoizedState||(Ul=Ye())),4&r&&hl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(c=Qs)||d,ml(t,e),Qs=c):ml(t,e),yl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for(Xs=e,d=e.child;null!==d;){for(f=Xs=d;null!==Xs;){switch(h=(p=Xs).child,p.tag){case 0:case 11:case 14:case 15:nl(4,p,p.return);break;case 1:Js(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(v){ju(r,n,v)}}break;case 5:Js(p,p.return);break;case 22:if(null!==p.memoizedState){kl(f);continue}}null!==h?(h.return=p,Xs=h):kl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{a=f.stateNode,c?"function"===typeof(o=a.style).setProperty?o.setProperty("display","none","important"):o.display="none":(l=f.stateNode,s=void 0!==(u=f.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,l.style.display=me("display",s))}catch(v){ju(e,e.return,v)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(v){ju(e,e.return,v)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ml(t,e),yl(e),4&r&&hl(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ol(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(fe(a,""),r.flags&=-33),ul(e,sl(e),a);break;case 3:case 4:var o=r.stateNode.containerInfo;ll(e,sl(e),o);break;default:throw Error(i(161))}}catch(s){ju(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function gl(e,t,n){Xs=e,_l(e,t,n)}function _l(e,t,n){for(var r=0!==(1&e.mode);null!==Xs;){var a=Xs,i=a.child;if(22===a.tag&&r){var o=null!==a.memoizedState||Ks;if(!o){var s=a.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Ks;var u=Qs;if(Ks=o,(Qs=l)&&!u)for(Xs=a;null!==Xs;)l=(o=Xs).child,22===o.tag&&null!==o.memoizedState?xl(a):null!==l?(l.return=o,Xs=l):xl(a);for(;null!==i;)Xs=i,_l(i,t,n),i=i.sibling;Xs=a,Ks=s,Qs=u}bl(e)}else 0!==(8772&a.subtreeFlags)&&null!==i?(i.return=a,Xs=i):bl(e)}}function bl(e){for(;null!==Xs;){var t=Xs;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Qs||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qs)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:vi(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Bi(t,o,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Bi(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Wt(f)}}}break;default:throw Error(i(163))}Qs||512&t.flags&&al(t)}catch(p){ju(t,t.return,p)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function kl(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function xl(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(l){ju(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(l){ju(t,a,l)}}var i=t.return;try{al(t)}catch(l){ju(t,i,l)}break;case 5:var o=t.return;try{al(t)}catch(l){ju(t,o,l)}}}catch(l){ju(t,t.return,l)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var wl,jl=Math.ceil,Sl=b.ReactCurrentDispatcher,Cl=b.ReactCurrentOwner,Nl=b.ReactCurrentBatchConfig,El=0,Ol=null,Tl=null,Pl=0,Dl=0,Al=ja(0),Ll=0,Rl=null,Il=0,Ml=0,Bl=0,zl=null,Fl=null,Ul=0,Wl=1/0,Vl=null,Hl=!1,Gl=null,Zl=null,$l=!1,ql=null,Kl=0,Ql=0,Yl=null,Xl=-1,Jl=0;function eu(){return 0!==(6&El)?Ye():-1!==Xl?Xl:Xl=Ye()}function tu(e){return 0===(1&e.mode)?1:0!==(2&El)&&0!==Pl?Pl&-Pl:null!==mi.transition?(0===Jl&&(Jl=mt()),Jl):0!==(e=_t)?e:e=void 0===(e=window.event)?16:Qt(e.type)}function nu(e,t,n,r){if(50<Ql)throw Ql=0,Yl=null,Error(i(185));yt(e,n,r),0!==(2&El)&&e===Ol||(e===Ol&&(0===(2&El)&&(Ml|=n),4===Ll&&su(e,Pl)),ru(e,r),1===n&&0===El&&0===(1&t.mode)&&(Wl=Ye()+500,za&&Wa()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-ot(i),s=1<<o,l=a[o];-1===l?0!==(s&n)&&0===(s&r)||(a[o]=pt(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ft(e,e===Ol?Pl:0);if(0===r)null!==n&&qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&qe(n),1===t)0===e.tag?function(e){za=!0,Ua(e)}(lu.bind(null,e)):Ua(lu.bind(null,e)),oa((function(){0===(6&El)&&Wa()})),n=null;else{switch(bt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ou(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Xl=-1,Jl=0,0!==(6&El))throw Error(i(327));var n=e.callbackNode;if(xu()&&e.callbackNode!==n)return null;var r=ft(e,e===Ol?Pl:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=vu(e,r);else{t=r;var a=El;El|=2;var o=hu();for(Ol===e&&Pl===t||(Vl=null,Wl=Ye()+500,fu(e,t));;)try{gu();break}catch(l){pu(e,l)}ki(),Sl.current=o,El=a,null!==Tl?t=0:(Ol=null,Pl=0,t=Ll)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(r=a,t=iu(e,a))),1===t)throw n=Rl,fu(e,0),su(e,r),ru(e,Ye()),n;if(6===t)su(e,r);else{if(a=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],i=a.getSnapshot;a=a.value;try{if(!sr(i(),a))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=vu(e,r))&&(0!==(o=ht(e))&&(r=o,t=iu(e,o))),1===t))throw n=Rl,fu(e,0),su(e,r),ru(e,Ye()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:ku(e,Fl,Vl);break;case 3:if(su(e,r),(130023424&r)===r&&10<(t=Ul+500-Ye())){if(0!==ft(e,0))break;if(((a=e.suspendedLanes)&r)!==r){eu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(ku.bind(null,e,Fl,Vl),t);break}ku(e,Fl,Vl);break;case 4:if(su(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var s=31-ot(r);o=1<<s,(s=t[s])>a&&(a=s),r&=~o}if(r=a,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*jl(r/1960))-r)){e.timeoutHandle=ra(ku.bind(null,e,Fl,Vl),r);break}ku(e,Fl,Vl);break;default:throw Error(i(329))}}}return ru(e,Ye()),e.callbackNode===n?au.bind(null,e):null}function iu(e,t){var n=zl;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=vu(e,t))&&(t=Fl,Fl=n,null!==t&&ou(t)),e}function ou(e){null===Fl?Fl=e:Fl.push.apply(Fl,e)}function su(e,t){for(t&=~Bl,t&=~Ml,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ot(t),r=1<<n;e[n]=-1,t&=~r}}function lu(e){if(0!==(6&El))throw Error(i(327));xu();var t=ft(e,0);if(0===(1&t))return ru(e,Ye()),null;var n=vu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Rl,fu(e,0),su(e,t),ru(e,Ye()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ku(e,Fl,Vl),ru(e,Ye()),null}function uu(e,t){var n=El;El|=1;try{return e(t)}finally{0===(El=n)&&(Wl=Ye()+500,za&&Wa())}}function cu(e){null!==ql&&0===ql.tag&&0===(6&El)&&xu();var t=El;El|=1;var n=Nl.transition,r=_t;try{if(Nl.transition=null,_t=1,e)return e()}finally{_t=r,Nl.transition=n,0===(6&(El=t))&&Wa()}}function du(){Dl=Al.current,Sa(Al)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Tl)for(n=Tl.return;null!==n;){var r=n;switch(ti(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Aa();break;case 3:ao(),Sa(Oa),Sa(Ea),co();break;case 5:oo(r);break;case 4:ao();break;case 13:case 19:Sa(so);break;case 10:xi(r.type._context);break;case 22:case 23:du()}n=n.return}if(Ol=e,Tl=e=Au(e.current,null),Pl=Dl=t,Ll=0,Rl=null,Bl=Ml=Il=0,Fl=zl=null,null!==Ci){for(t=0;t<Ci.length;t++)if(null!==(r=(n=Ci[t]).interleaved)){n.interleaved=null;var a=r.next,i=n.pending;if(null!==i){var o=i.next;i.next=a,r.next=o}n.pending=r}Ci=null}return e}function pu(e,t){for(;;){var n=Tl;try{if(ki(),fo.current=os,go){for(var r=mo.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}go=!1}if(ho=0,yo=vo=mo=null,_o=!1,bo=0,Cl.current=null,null===n||null===n.return){Ll=1,Rl=t,Tl=null;break}e:{var o=e,s=n.return,l=n,u=t;if(t=Pl,l.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u,d=l,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=ys(s);if(null!==h){h.flags&=-257,gs(h,s,l,0,t),1&h.mode&&vs(o,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(0===(1&t)){vs(o,c,t),mu();break e}u=Error(i(426))}else if(ai&&1&l.mode){var y=ys(s);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),gs(y,s,l,0,t),hi(cs(u,l));break e}}o=u=cs(u,l),4!==Ll&&(Ll=2),null===zl?zl=[o]:zl.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Ii(o,hs(0,u,t));break e;case 1:l=u;var g=o.type,_=o.stateNode;if(0===(128&o.flags)&&("function"===typeof g.getDerivedStateFromError||null!==_&&"function"===typeof _.componentDidCatch&&(null===Zl||!Zl.has(_)))){o.flags|=65536,t&=-t,o.lanes|=t,Ii(o,ms(o,l,t));break e}}o=o.return}while(null!==o)}bu(n)}catch(b){t=b,Tl===n&&null!==n&&(Tl=n=n.return);continue}break}}function hu(){var e=Sl.current;return Sl.current=os,null===e?os:e}function mu(){0!==Ll&&3!==Ll&&2!==Ll||(Ll=4),null===Ol||0===(268435455&Il)&&0===(268435455&Ml)||su(Ol,Pl)}function vu(e,t){var n=El;El|=2;var r=hu();for(Ol===e&&Pl===t||(Vl=null,fu(e,t));;)try{yu();break}catch(a){pu(e,a)}if(ki(),El=n,Sl.current=r,null!==Tl)throw Error(i(261));return Ol=null,Pl=0,Ll}function yu(){for(;null!==Tl;)_u(Tl)}function gu(){for(;null!==Tl&&!Ke();)_u(Tl)}function _u(e){var t=wl(e.alternate,e,Dl);e.memoizedProps=e.pendingProps,null===t?bu(e):Tl=t,Cl.current=null}function bu(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=$s(n,t,Dl)))return void(Tl=n)}else{if(null!==(n=qs(n,t)))return n.flags&=32767,void(Tl=n);if(null===e)return Ll=6,void(Tl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Tl=t);Tl=t=e}while(null!==t);0===Ll&&(Ll=5)}function ku(e,t,n){var r=_t,a=Nl.transition;try{Nl.transition=null,_t=1,function(e,t,n,r){do{xu()}while(null!==ql);if(0!==(6&El))throw Error(i(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-ot(n),i=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~i}}(e,o),e===Ol&&(Tl=Ol=null,Pl=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||$l||($l=!0,Ou(tt,(function(){return xu(),null}))),o=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||o){o=Nl.transition,Nl.transition=null;var s=_t;_t=1;var l=El;El|=4,Cl.current=null,function(e,t){if(ea=Ht,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(k){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==a&&3!==f.nodeType||(l=s+a),f!==o||0!==r&&3!==f.nodeType||(u=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===a&&(l=s),p===o&&++d===r&&(u=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Ht=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,y=m.memoizedState,g=t.stateNode,_=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:vi(t.type,v),y);g.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(i(163))}}catch(k){ju(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}m=tl,tl=!1}(e,n),vl(n,e),hr(ta),Ht=!!ea,ta=ea=null,e.current=n,gl(n,e,a),Qe(),El=l,_t=s,Nl.transition=o}else e.current=n;if($l&&($l=!1,ql=e,Kl=a),o=e.pendingLanes,0===o&&(Zl=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(at,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),ru(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Hl)throw Hl=!1,e=Gl,Gl=null,e;0!==(1&Kl)&&0!==e.tag&&xu(),o=e.pendingLanes,0!==(1&o)?e===Yl?Ql++:(Ql=0,Yl=e):Ql=0,Wa()}(e,t,n,r)}finally{Nl.transition=a,_t=r}return null}function xu(){if(null!==ql){var e=bt(Kl),t=Nl.transition,n=_t;try{if(Nl.transition=null,_t=16>e?16:e,null===ql)var r=!1;else{if(e=ql,ql=null,Kl=0,0!==(6&El))throw Error(i(331));var a=El;for(El|=4,Xs=e.current;null!==Xs;){var o=Xs,s=o.child;if(0!==(16&Xs.flags)){var l=o.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Xs=c;null!==Xs;){var d=Xs;switch(d.tag){case 0:case 11:case 15:nl(8,d,o)}var f=d.child;if(null!==f)f.return=d,Xs=f;else for(;null!==Xs;){var p=(d=Xs).sibling,h=d.return;if(il(d),d===c){Xs=null;break}if(null!==p){p.return=h,Xs=p;break}Xs=h}}}var m=o.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var y=v.sibling;v.sibling=null,v=y}while(null!==v)}}Xs=o}}if(0!==(2064&o.subtreeFlags)&&null!==s)s.return=o,Xs=s;else e:for(;null!==Xs;){if(0!==(2048&(o=Xs).flags))switch(o.tag){case 0:case 11:case 15:nl(9,o,o.return)}var g=o.sibling;if(null!==g){g.return=o.return,Xs=g;break e}Xs=o.return}}var _=e.current;for(Xs=_;null!==Xs;){var b=(s=Xs).child;if(0!==(2064&s.subtreeFlags)&&null!==b)b.return=s,Xs=b;else e:for(s=_;null!==Xs;){if(0!==(2048&(l=Xs).flags))try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(x){ju(l,l.return,x)}if(l===s){Xs=null;break e}var k=l.sibling;if(null!==k){k.return=l.return,Xs=k;break e}Xs=l.return}}if(El=a,Wa(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(at,e)}catch(x){}r=!0}return r}finally{_t=n,Nl.transition=t}}return!1}function wu(e,t,n){e=Li(e,t=hs(0,t=cs(n,t),1),1),t=eu(),null!==e&&(yt(e,1,t),ru(e,t))}function ju(e,t,n){if(3===e.tag)wu(e,e,n);else for(;null!==t;){if(3===t.tag){wu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Zl||!Zl.has(r))){t=Li(t,e=ms(t,e=cs(n,e),1),1),e=eu(),null!==t&&(yt(t,1,e),ru(t,e));break}}t=t.return}}function Su(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&n,Ol===e&&(Pl&n)===n&&(4===Ll||3===Ll&&(130023424&Pl)===Pl&&500>Ye()-Ul?fu(e,0):Bl|=n),ru(e,t)}function Cu(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=eu();null!==(e=Oi(e,t))&&(yt(e,t,n),ru(e,n))}function Nu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cu(e,n)}function Eu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Cu(e,n)}function Ou(e,t){return $e(e,t)}function Tu(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.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pu(e,t,n,r){return new Tu(e,t,n,r)}function Du(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Au(e,t){var n=e.alternate;return null===n?((n=Pu(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.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,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 Lu(e,t,n,r,a,o){var s=2;if(r=e,"function"===typeof e)Du(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case w:return Ru(n.children,a,o,t);case j:s=8,a|=8;break;case S:return(e=Pu(12,n,t,2|a)).elementType=S,e.lanes=o,e;case O:return(e=Pu(13,n,t,a)).elementType=O,e.lanes=o,e;case T:return(e=Pu(19,n,t,a)).elementType=T,e.lanes=o,e;case A:return Iu(n,a,o,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case N:s=9;break e;case E:s=11;break e;case P:s=14;break e;case D:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Pu(s,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function Ru(e,t,n,r){return(e=Pu(7,e,r,t)).lanes=n,e}function Iu(e,t,n,r){return(e=Pu(22,e,r,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Pu(6,e,null,t)).lanes=n,e}function Bu(e,t,n){return(t=Pu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zu(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Fu(e,t,n,r,a,i,o,s,l){return e=new zu(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Pu(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pi(i),e}function Uu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Wu(e){if(!e)return Na;e:{if(We(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Da(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Da(n))return Ra(e,n,t)}return t}function Vu(e,t,n,r,a,i,o,s,l){return(e=Fu(n,r,!0,e,0,i,0,s,l)).context=Wu(null),n=e.current,(i=Ai(r=eu(),a=tu(n))).callback=void 0!==t&&null!==t?t:null,Li(n,i,a),e.current.lanes=a,yt(e,a,r),ru(e,r),e}function Hu(e,t,n,r){var a=t.current,i=eu(),o=tu(a);return n=Wu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ai(i,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Li(a,t,o))&&(nu(e,a,o,i),Ri(e,a,o)),o}function Gu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Zu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function $u(e,t){Zu(e,t),(e=e.alternate)&&Zu(e,t)}wl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Oa.current)bs=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:Ts(t),pi();break;case 5:io(t);break;case 1:Da(t.type)&&Ia(t);break;case 4:ro(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ca(yi,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ca(so,1&so.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ms(e,t,n):(Ca(so,1&so.current),null!==(e=Hs(e,t,n))?e.sibling:null);Ca(so,1&so.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Ws(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ca(so,so.current),r)break;return null;case 22:case 23:return t.lanes=0,Ss(e,t,n)}return Hs(e,t,n)}(e,t,n);bs=0!==(131072&e.flags)}else bs=!1,ai&&0!==(1048576&t.flags)&&Ja(t,Za,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vs(e,t),e=t.pendingProps;var a=Pa(t,Ea.current);ji(t,n),a=jo(null,t,r,e,a,n);var o=So();return t.flags|=1,"object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Da(r)?(o=!0,Ia(t)):o=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Pi(t),a.updater=Ui,t.stateNode=a,a._reactInternals=t,Gi(t,r,e,n),t=Os(null,t,r,!0,o,n)):(t.tag=0,ai&&o&&ei(t),ks(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Vs(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"===typeof e)return Du(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===E)return 11;if(e===P)return 14}return 2}(r),e=vi(r,e),a){case 0:t=Ns(null,t,r,e,n);break e;case 1:t=Es(null,t,r,e,n);break e;case 11:t=xs(null,t,r,e,n);break e;case 14:t=ws(null,t,r,vi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ns(e,t,r,a=t.elementType===r?a:vi(r,a),n);case 1:return r=t.type,a=t.pendingProps,Es(e,t,r,a=t.elementType===r?a:vi(r,a),n);case 3:e:{if(Ts(t),null===e)throw Error(i(387));r=t.pendingProps,a=(o=t.memoizedState).element,Di(e,t),Mi(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Ps(e,t,r,n,a=cs(Error(i(423)),t));break e}if(r!==a){t=Ps(e,t,r,n,a=cs(Error(i(424)),t));break e}for(ri=ua(t.stateNode.containerInfo.firstChild),ni=t,ai=!0,ii=null,n=Yi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pi(),r===a){t=Hs(e,t,n);break e}ks(e,t,r,n)}t=t.child}return t;case 5:return io(t),null===e&&ui(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,s=a.children,na(r,a)?s=null:null!==o&&na(r,o)&&(t.flags|=32),Cs(e,t),ks(e,t,s,n),t.child;case 6:return null===e&&ui(t),null;case 13:return Ms(e,t,n);case 4:return ro(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Qi(t,null,r,n):ks(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,xs(e,t,r,a=t.elementType===r?a:vi(r,a),n);case 7:return ks(e,t,t.pendingProps,n),t.child;case 8:case 12:return ks(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,Ca(yi,r._currentValue),r._currentValue=s,null!==o)if(sr(o.value,s)){if(o.children===a.children&&!Oa.current){t=Hs(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){s=o.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===o.tag){(u=Ai(-1,n&-n)).tag=2;var c=o.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}o.lanes|=n,null!==(u=o.alternate)&&(u.lanes|=n),wi(o.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===o.tag)s=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(s=o.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),wi(s,n,t),s=o.sibling}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===t){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}ks(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,ji(t,n),r=r(a=Si(a)),t.flags|=1,ks(e,t,r,n),t.child;case 14:return a=vi(r=t.type,t.pendingProps),ws(e,t,r,a=vi(r.type,a),n);case 15:return js(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:vi(r,a),Vs(e,t),t.tag=1,Da(r)?(e=!0,Ia(t)):e=!1,ji(t,n),Vi(t,r,a),Gi(t,r,a,n),Os(null,t,r,!0,e,n);case 19:return Ws(e,t,n);case 22:return Ss(e,t,n)}throw Error(i(156,t.tag))};var qu="function"===typeof reportError?reportError:function(e){console.error(e)};function Ku(e){this._internalRoot=e}function Qu(e){this._internalRoot=e}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function ec(e,t,n,r,a){var i=n._reactRootContainer;if(i){var o=i;if("function"===typeof a){var s=a;a=function(){var e=Gu(o);s.call(e)}}Hu(t,o,e,a)}else o=function(e,t,n,r,a){if(a){if("function"===typeof r){var i=r;r=function(){var e=Gu(o);i.call(e)}}var o=Vu(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=o,e[ha]=o.current,Wr(8===e.nodeType?e.parentNode:e),cu(),o}for(;a=e.lastChild;)e.removeChild(a);if("function"===typeof r){var s=r;r=function(){var e=Gu(l);s.call(e)}}var l=Fu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=l,e[ha]=l.current,Wr(8===e.nodeType?e.parentNode:e),cu((function(){Hu(t,l,n,r)})),l}(n,t,e,a,r);return Gu(o)}Qu.prototype.render=Ku.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Hu(e,t,null,null)},Qu.prototype.unmount=Ku.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){Hu(null,e,null,null)})),t[ha]=null}},Qu.prototype.unstable_scheduleHydration=function(e){if(e){var t=jt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<At.length&&0!==t&&t<At[n].priority;n++);At.splice(n,0,e),0===n&&Mt(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(gt(t,1|n),ru(t,Ye()),0===(6&El)&&(Wl=Ye()+500,Wa()))}break;case 13:cu((function(){var t=Oi(e,1);if(null!==t){var n=eu();nu(t,e,1,n)}})),$u(e,1)}},xt=function(e){if(13===e.tag){var t=Oi(e,134217728);if(null!==t)nu(t,e,134217728,eu());$u(e,134217728)}},wt=function(e){if(13===e.tag){var t=tu(e),n=Oi(e,t);if(null!==n)nu(n,e,t,eu());$u(e,t)}},jt=function(){return _t},St=function(e,t){var n=_t;try{return _t=e,t()}finally{_t=n}},xe=function(e,t,n){switch(t){case"input":if(X(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=ka(r);if(!a)throw Error(i(90));$(r),X(r,a)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ee=uu,Oe=cu;var tc={usingClientEntryPoint:!1,Events:[_a,ba,ka,Ce,Ne,uu]},nc={findFiberByHostInstance:ga,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{at=ac.inject(rc),it=ac}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yu(t))throw Error(i(200));return Uu(e,t,null,n)},t.createRoot=function(e,t){if(!Yu(e))throw Error(i(299));var n=!1,r="",a=qu;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Fu(e,1,!1,null,0,n,0,r,a),e[ha]=t.current,Wr(8===e.nodeType?e.parentNode:e),new Ku(t)},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(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=Ge(t))?null:e.stateNode},t.flushSync=function(e){return cu(e)},t.hydrate=function(e,t,n){if(!Xu(t))throw Error(i(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yu(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,a=!1,o="",s=qu;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Vu(t,null,e,1,null!=n?n:null,a,0,o,s),e[ha]=t.current,Wr(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Qu(t)},t.render=function(e,t,n){if(!Xu(t))throw Error(i(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(i(40));return!!e._reactRootContainer&&(cu((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[ha]=null}))})),!0)},t.unstable_batchedUpdates=uu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xu(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},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){var r=n(791),a=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={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)o.call(t,r)&&!l.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:s.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},117:function(e,t){var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function g(){}function _(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=y.prototype;var b=_.prototype=new g;b.constructor=_,m(b,y.prototype),b.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,w={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var a,i={},o=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)x.call(t,a)&&!j.hasOwnProperty(a)&&(i[a]=t[a]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===i[a]&&(i[a]=l[a]);return{$$typeof:n,type:e,key:o,ref:s,props:i,_owner:w.current}}function C(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var N=/\/+/g;function E(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 O(e,t,a,i,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return o=o(l=e),e=""===i?"."+E(l,0):i,k(o)?(a="",null!=e&&(a=e.replace(N,"$&/")+"/"),O(o,t,a,"",(function(e){return e}))):null!=o&&(C(o)&&(o=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,a+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(N,"$&/")+"/")+e)),t.push(o)),1;if(l=0,i=""===i?".":i+":",k(e))for(var u=0;u<e.length;u++){var c=i+E(s=e[u],u);l+=O(s,t,a,c,o)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=O(s=s.value,t,a,c=i+E(s,u++),o);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function T(e,t,n){if(null==e)return e;var r=[],a=0;return O(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},A={transition:null},L={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:A,ReactCurrentOwner:w};t.Children={map:T,forEach:function(e,t,n){T(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=o,t.PureComponent=_,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),i=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=w.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)x.call(t,u)&&!j.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];a.children=l}return{$$typeof:n,type:e.type,key:i,ref:o,props:a,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=A.transition;A.transition={};try{e()}finally{A.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return D.current.useCallback(e,t)},t.useContext=function(e){return D.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return D.current.useDeferredValue(e)},t.useEffect=function(e,t){return D.current.useEffect(e,t)},t.useId=function(){return D.current.useId()},t.useImperativeHandle=function(e,t,n){return D.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return D.current.useMemo(e,t)},t.useReducer=function(e,t,n){return D.current.useReducer(e,t,n)},t.useRef=function(e){return D.current.useRef(e)},t.useState=function(e){return D.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return D.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return D.current.useTransition()},t.version="18.2.0"},791:function(e,t,n){e.exports=n(117)},184:function(e,t,n){e.exports=n(374)},813:function(e,t){function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<i(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>i(l,n))u<a&&0>i(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<a&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,v=!1,y="function"===typeof setTimeout?setTimeout:null,g="function"===typeof clearTimeout?clearTimeout:null,_="undefined"!==typeof setImmediate?setImmediate:null;function b(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(v=!1,b(e),!m)if(null!==r(u))m=!0,A(x);else{var t=r(c);null!==t&&L(k,t.startTime-e)}}function x(e,n){m=!1,v&&(v=!1,g(C),C=-1),h=!0;var i=p;try{for(b(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!O());){var o=f.callback;if("function"===typeof o){f.callback=null,p=f.priorityLevel;var s=o(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?f.callback=s:f===r(u)&&a(u),b(n)}else a(u);f=r(u)}if(null!==f)var l=!0;else{var d=r(c);null!==d&&L(k,d.startTime-n),l=!1}return l}finally{f=null,p=i,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w,j=!1,S=null,C=-1,N=5,E=-1;function O(){return!(t.unstable_now()-E<N)}function T(){if(null!==S){var e=t.unstable_now();E=e;var n=!0;try{n=S(!0,e)}finally{n?w():(j=!1,S=null)}}else j=!1}if("function"===typeof _)w=function(){_(T)};else if("undefined"!==typeof MessageChannel){var P=new MessageChannel,D=P.port2;P.port1.onmessage=T,w=function(){D.postMessage(null)}}else w=function(){y(T,0)};function A(e){S=e,j||(j=!0,w())}function L(e,n){C=y((function(){e(t.unstable_now())}),n)}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(){m||h||(m=!0,A(x))},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"):N=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,i){var o=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?o+i:o:i=o,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:d++,callback:a,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>o?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(v?(g(C),C=-1):v=!0,L(k,i-o))):(e.sortIndex=s,n(u,e),m||h||(m=!0,A(x))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},296:function(e,t,n){e.exports=n(813)},907:function(e,t,n){function r(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}n.d(t,{Z:function(){return r}})},878:function(e,t,n){function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},199:function(e,t,n){function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},267:function(e,t,n){function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},439:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(878);var a=n(181),i=n(267);function o(e,t){return(0,r.Z)(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,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(c){u=!0,a=c}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw a}}return s}}(e,t)||(0,a.Z)(e,t)||(0,i.Z)()}},433:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(907);var a=n(199),i=n(181);function o(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,a.Z)(e)||(0,i.Z)(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.")}()}},181:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(907);function a(e,t){if(e){if("string"===typeof e)return(0,r.Z)(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)?(0,r.Z)(e,t):void 0}}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.exports}!function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};__webpack_require__.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"===typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"===typeof n.then)return n}var a=Object.create(null);__webpack_require__.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var o=2&r&&n;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((function(e){i[e]=function(){return n[e]}}));return i.default=function(){return n},__webpack_require__.d(a,i),a}}(),__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};!function(){var e=__webpack_require__(791),t=__webpack_require__.t(e,2),n=__webpack_require__(439),r=__webpack_require__(433);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return i="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},i(e)}function o(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}function s(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,o(r.key),r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function c(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&&u(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function f(){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}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){if(t&&("object"===i(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function m(e){var t=f();return function(){var n,r=d(e);if(t){var a=d(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return h(this,n)}}function v(e,t,n){return v=f()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&u(a,n.prototype),a},v.apply(null,arguments)}function y(e){var t="function"===typeof Map?new Map:void 0;return y=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return v(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),u(r,e)},y(e)}var g,_=__webpack_require__(878),b=__webpack_require__(199),k=__webpack_require__(181),x=__webpack_require__(267);function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(g||(g={}));var j,S="popstate";function C(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function N(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function E(e,t){return{usr:e.state,key:e.key,idx:t}}function O(e,t,n,r){return void 0===n&&(n=null),w({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?P(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function T(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,a=void 0===r?"":r,i=e.hash,o=void 0===i?"":i;return a&&"?"!==a&&(n+="?"===a.charAt(0)?a:"?"+a),o&&"#"!==o&&(n+="#"===o.charAt(0)?o:"#"+o),n}function P(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function D(e,t,n,r){void 0===r&&(r={});var a=r,i=a.window,o=void 0===i?document.defaultView:i,s=a.v5Compat,l=void 0!==s&&s,u=o.history,c=g.Pop,d=null,f=p();function p(){return(u.state||{idx:null}).idx}function h(){c=g.Pop;var e=p(),t=null==e?null:e-f;f=e,d&&d({action:c,location:v.location,delta:t})}function m(e){var t="null"!==o.location.origin?o.location.origin:o.location.href,n="string"===typeof e?e:T(e);return C(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==f&&(f=0,u.replaceState(w({},u.state,{idx:f}),""));var v={get action(){return c},get location(){return e(o,u)},listen:function(e){if(d)throw new Error("A history only accepts one active listener");return o.addEventListener(S,h),d=e,function(){o.removeEventListener(S,h),d=null}},createHref:function(e){return t(o,e)},createURL:m,encodeLocation:function(e){var t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=g.Push;var r=O(v.location,e,t);n&&n(r,e);var a=E(r,f=p()+1),i=v.createHref(r);try{u.pushState(a,"",i)}catch(s){o.location.assign(i)}l&&d&&d({action:c,location:v.location,delta:1})},replace:function(e,t){c=g.Replace;var r=O(v.location,e,t);n&&n(r,e);var a=E(r,f=p()),i=v.createHref(r);u.replaceState(a,"",i),l&&d&&d({action:c,location:v.location,delta:0})},go:function(e){return u.go(e)}};return v}function A(e,t,n){void 0===n&&(n="/");var r=W(("string"===typeof t?P(t):t).pathname||"/",n);if(null==r)return null;var a=L(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(a);for(var i=null,o=0;null==i&&o<a.length;++o)i=z(a[o],U(r));return i}function L(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var a=function(e,a,i){var o={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};o.relativePath.startsWith("/")&&(C(o.relativePath.startsWith(r),'Absolute route path "'+o.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(r.length));var s=$([r,o.relativePath]),l=n.concat(o);e.children&&e.children.length>0&&(C(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),L(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:B(s,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,i=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,k.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}(R(e.path));try{for(i.s();!(r=i.n()).done;){var o=r.value;a(e,t,o)}}catch(s){i.e(s)}finally{i.f()}}else a(e,t)})),t}function R(e){var t=e.split("/");if(0===t.length)return[];var n,a=(n=t,(0,_.Z)(n)||(0,b.Z)(n)||(0,k.Z)(n)||(0,x.Z)()),i=a[0],o=a.slice(1),s=i.endsWith("?"),l=i.replace(/\?$/,"");if(0===o.length)return s?[l,""]:[l];var u=R(o.join("/")),c=[];return c.push.apply(c,(0,r.Z)(u.map((function(e){return""===e?l:[l,e].join("/")})))),s&&c.push.apply(c,(0,r.Z)(u)),c.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(j||(j={}));var I=/^:\w+$/,M=function(e){return"*"===e};function B(e,t){var n=e.split("/"),r=n.length;return n.some(M)&&(r+=-2),t&&(r+=2),n.filter((function(e){return!M(e)})).reduce((function(e,t){return e+(I.test(t)?3:""===t?1:10)}),r)}function z(e,t){for(var n=e.routesMeta,r={},a="/",i=[],o=0;o<n.length;++o){var s=n[o],l=o===n.length-1,u="/"===a?t:t.slice(a.length)||"/",c=F({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},u);if(!c)return null;Object.assign(r,c.params);var d=s.route;i.push({params:r,pathname:$([a,c.pathname]),pathnameBase:q($([a,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(a=$([a,c.pathnameBase]))}return i}function F(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var r=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);V("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");var i=new RegExp(a,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),a=(0,n.Z)(r,2),i=a[0],o=a[1],s=t.match(i);if(!s)return null;var l=s[0],u=l.replace(/(.)\/+$/,"$1"),c=s.slice(1);return{params:o.reduce((function(e,t,n){if("*"===t){var r=c[n]||"";u=l.slice(0,l.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return V(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(c[n]||"",t),e}),{}),pathname:l,pathnameBase:u,pattern:e}}function U(e){try{return decodeURI(e)}catch(t){return V(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function W(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function V(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function H(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function G(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function Z(e,t,n,r){var a;void 0===r&&(r=!1),"string"===typeof e?a=P(e):(C(!(a=w({},e)).pathname||!a.pathname.includes("?"),H("?","pathname","search",a)),C(!a.pathname||!a.pathname.includes("#"),H("#","pathname","hash",a)),C(!a.search||!a.search.includes("#"),H("#","search","hash",a)));var i,o=""===e||""===a.pathname,s=o?"/":a.pathname;if(r||null==s)i=n;else{var l=t.length-1;if(s.startsWith("..")){for(var u=s.split("/");".."===u[0];)u.shift(),l-=1;a.pathname=u.join("/")}i=l>=0?t[l]:"/"}var c=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?P(e):e,r=n.pathname,a=n.search,i=void 0===a?"":a,o=n.hash,s=void 0===o?"":o,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:K(i),hash:Q(s)}}(a,i),d=s&&"/"!==s&&s.endsWith("/"),f=(o||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!d&&!f||(c.pathname+="/"),c}var $=function(e){return e.join("/").replace(/\/\/+/g,"/")},q=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},K=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},Q=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},Y=function(e){c(n,e);var t=m(n);function n(){return a(this,n),t.apply(this,arguments)}return l(n)}(y(Error));function X(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var J=["post","put","patch","delete"],ee=(new Set(J),["get"].concat(J));new Set(ee),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;Symbol("deferred");function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},te.apply(this,arguments)}var ne="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},re=e.useState,ae=e.useEffect,ie=e.useLayoutEffect,oe=e.useDebugValue;function se(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!ne(n,r)}catch(a){return!0}}"undefined"===typeof window||"undefined"===typeof window.document||window.document.createElement,t.useSyncExternalStore;var le=e.createContext(null);var ue=e.createContext(null);var ce=e.createContext(null);var de=e.createContext(null);var fe=e.createContext(null);var pe=e.createContext({outlet:null,matches:[]});var he=e.createContext(null);function me(){return null!=e.useContext(fe)}function ve(){return me()||C(!1),e.useContext(fe).location}function ye(){me()||C(!1);var t=e.useContext(de),n=t.basename,r=t.navigator,a=e.useContext(pe).matches,i=ve().pathname,o=JSON.stringify(G(a).map((function(e){return e.pathnameBase}))),s=e.useRef(!1);return e.useEffect((function(){s.current=!0})),e.useCallback((function(e,t){if(void 0===t&&(t={}),s.current)if("number"!==typeof e){var a=Z(e,JSON.parse(o),i,"path"===t.relative);"/"!==n&&(a.pathname="/"===a.pathname?n:$([n,a.pathname])),(t.replace?r.replace:r.push)(a,t.state,t)}else r.go(e)}),[n,r,o,i])}function ge(){var t=e.useContext(pe).matches,n=t[t.length-1];return n?n.params:{}}function _e(t,n){var r=(void 0===n?{}:n).relative,a=e.useContext(pe).matches,i=ve().pathname,o=JSON.stringify(G(a).map((function(e){return e.pathnameBase})));return e.useMemo((function(){return Z(t,JSON.parse(o),i,"path"===r)}),[t,o,i,r])}function be(){var t=function(){var t,n=e.useContext(he),r=Ce(xe.UseRouteError),a=Ne(xe.UseRouteError);if(n)return n;return null==(t=r.errors)?void 0:t[a]}(),n=X(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,a="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:a};return e.createElement(e.Fragment,null,e.createElement("h2",null,"Unexpected Application Error!"),e.createElement("h3",{style:{fontStyle:"italic"}},n),r?e.createElement("pre",{style:i},r):null,null)}var ke,xe,we=function(t){c(r,t);var n=m(r);function r(e){var t;return a(this,r),(t=n.call(this,e)).state={location:e.location,error:e.error},t}return l(r,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?e.createElement(pe.Provider,{value:this.props.routeContext},e.createElement(he.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}}]),r}(e.Component);function je(t){var n=t.routeContext,r=t.match,a=t.children,i=e.useContext(le);return i&&i.static&&i.staticContext&&r.route.errorElement&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),e.createElement(pe.Provider,{value:n},a)}function Se(t,n,r){if(void 0===n&&(n=[]),null==t){if(null==r||!r.errors)return null;t=r.matches}var a=t,i=null==r?void 0:r.errors;if(null!=i){var o=a.findIndex((function(e){return e.route.id&&(null==i?void 0:i[e.route.id])}));o>=0||C(!1),a=a.slice(0,Math.min(a.length,o+1))}return a.reduceRight((function(t,o,s){var l=o.route.id?null==i?void 0:i[o.route.id]:null,u=r?o.route.errorElement||e.createElement(be,null):null,c=n.concat(a.slice(0,s+1)),d=function(){return e.createElement(je,{match:o,routeContext:{outlet:t,matches:c}},l?u:void 0!==o.route.element?o.route.element:t)};return r&&(o.route.errorElement||0===s)?e.createElement(we,{location:r.location,component:u,error:l,children:d(),routeContext:{outlet:null,matches:c}}):d()}),null)}function Ce(t){var n=e.useContext(ue);return n||C(!1),n}function Ne(t){var n=function(t){var n=e.useContext(pe);return n||C(!1),n}(),r=n.matches[n.matches.length-1];return r.route.id||C(!1),r.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(ke||(ke={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(xe||(xe={}));var Ee;function Oe(e){C(!1)}function Te(t){var n=t.basename,r=void 0===n?"/":n,a=t.children,i=void 0===a?null:a,o=t.location,s=t.navigationType,l=void 0===s?g.Pop:s,u=t.navigator,c=t.static,d=void 0!==c&&c;me()&&C(!1);var f=r.replace(/^\/*/,"/"),p=e.useMemo((function(){return{basename:f,navigator:u,static:d}}),[f,u,d]);"string"===typeof o&&(o=P(o));var h=o,m=h.pathname,v=void 0===m?"/":m,y=h.search,_=void 0===y?"":y,b=h.hash,k=void 0===b?"":b,x=h.state,w=void 0===x?null:x,j=h.key,S=void 0===j?"default":j,N=e.useMemo((function(){var e=W(v,f);return null==e?null:{pathname:e,search:_,hash:k,state:w,key:S}}),[f,v,_,k,w,S]);return null==N?null:e.createElement(de.Provider,{value:p},e.createElement(fe.Provider,{children:i,value:{location:N,navigationType:l}}))}function Pe(t){var n=t.children,r=t.location,a=e.useContext(le);return function(t,n){me()||C(!1);var r,a=e.useContext(de).navigator,i=e.useContext(ue),o=e.useContext(pe).matches,s=o[o.length-1],l=s?s.params:{},u=(s&&s.pathname,s?s.pathnameBase:"/"),c=(s&&s.route,ve());if(n){var d,f="string"===typeof n?P(n):n;"/"===u||(null==(d=f.pathname)?void 0:d.startsWith(u))||C(!1),r=f}else r=c;var p=r.pathname||"/",h=A(t,{pathname:"/"===u?p:p.slice(u.length)||"/"}),m=Se(h&&h.map((function(e){return Object.assign({},e,{params:Object.assign({},l,e.params),pathname:$([u,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:$([u,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),o,i||void 0);return n&&m?e.createElement(fe.Provider,{value:{location:te({pathname:"/",search:"",hash:"",state:null,key:"default"},r),navigationType:g.Pop}},m):m}(a&&!n?a.router.routes:Ae(n),r)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(Ee||(Ee={}));var De=new Promise((function(){}));e.Component;function Ae(t,n){void 0===n&&(n=[]);var a=[];return e.Children.forEach(t,(function(t,i){if(e.isValidElement(t))if(t.type!==e.Fragment){t.type!==Oe&&C(!1),t.props.index&&t.props.children&&C(!1);var o=[].concat((0,r.Z)(n),[i]),s={id:t.props.id||o.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,hasErrorBoundary:null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle};t.props.children&&(s.children=Ae(t.props.children,o)),a.push(s)}else a.push.apply(a,Ae(t.props.children,n))})),a}function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Le.apply(this,arguments)}function Re(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var Ie=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function Me(t){var r,a=t.basename,i=t.children,o=t.window,s=e.useRef();null==s.current&&(s.current=(void 0===(r={window:o,v5Compat:!0})&&(r={}),D((function(e,t){var n=P(e.location.hash.substr(1)),r=n.pathname,a=void 0===r?"/":r,i=n.search,o=void 0===i?"":i,s=n.hash;return O("",{pathname:a,search:o,hash:void 0===s?"":s},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){var n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){var a=e.location.href,i=a.indexOf("#");r=-1===i?a:a.slice(0,i)}return r+"#"+("string"===typeof t?t:T(t))}),(function(e,t){N("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),r)));var l=s.current,u=e.useState({action:l.action,location:l.location}),c=(0,n.Z)(u,2),d=c[0],f=c[1];return e.useLayoutEffect((function(){return l.listen(f)}),[l]),e.createElement(Te,{basename:a,children:i,location:d.location,navigationType:d.action,navigator:l})}var Be="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,ze=e.forwardRef((function(t,n){var r=t.onClick,a=t.relative,i=t.reloadDocument,o=t.replace,s=t.state,l=t.target,u=t.to,c=t.preventScrollReset,d=Re(t,Ie),f="string"===typeof u?u:T(u),p=/^[a-z+]+:\/\//i.test(f)||f.startsWith("//"),h=f,m=!1;if(Be&&p){var v=new URL(window.location.href),y=f.startsWith("//")?new URL(v.protocol+f):new URL(f);y.origin===v.origin?h=y.pathname+y.search+y.hash:m=!0}var g=function(t,n){var r=(void 0===n?{}:n).relative;me()||C(!1);var a=e.useContext(de),i=a.basename,o=a.navigator,s=_e(t,{relative:r}),l=s.hash,u=s.pathname,c=s.search,d=u;return"/"!==i&&(d="/"===u?i:$([i,u])),o.createHref({pathname:d,search:c,hash:l})}(h,{relative:a}),_=function(t,n){var r=void 0===n?{}:n,a=r.target,i=r.replace,o=r.state,s=r.preventScrollReset,l=r.relative,u=ye(),c=ve(),d=_e(t,{relative:l});return e.useCallback((function(e){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(e,a)){e.preventDefault();var n=void 0!==i?i:T(c)===T(d);u(t,{replace:n,state:o,preventScrollReset:s,relative:l})}}),[c,u,d,i,o,a,t,s,l])}(h,{replace:o,state:s,target:l,preventScrollReset:c,relative:a});return e.createElement("a",Le({},d,{href:p?f:g,onClick:m||i?r:function(e){r&&r(e),e.defaultPrevented||_(e)},ref:n,target:l}))}));var Fe,Ue;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Fe||(Fe={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ue||(Ue={}));var We=__webpack_require__(164);function Ve(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var He=0;function Ge(e){return"__private_"+He+++"_"+e}var Ze=Ge("addInTranslate"),$e=Ge("createPathByKey"),qe=Ge("addInObject"),Ke=function(){function e(){a(this,e),Object.defineProperty(this,qe,{value:Xe}),Object.defineProperty(this,$e,{value:Ye}),Object.defineProperty(this,Ze,{value:Qe}),this.language="ru",this.translations={}}return l(e,[{key:"get",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.translations[this.language];if(!t)return e||"";var n=t[e];if(n)return n;var r=e.split(".");n=t;for(var a=0,i=r.length;a<i;a++)if(!(n=n[r[a]]))return e||"";return n}},{key:"parse",value:function(e,t){var n=this;t.split("\xa7 ").slice(1).forEach((function(t){var r=t.indexOf("\n");r===t.length-1&&(r=t.indexOf(":"));var a=e+"."+t.slice(0,r),i=t.slice(r+1).trim();Ve(n,Ze)[Ze](a,i)}))}},{key:"add",value:function(e,t){t?Ve(this,qe)[qe](Ve(this,$e)[$e](e),t):Ve(this,qe)[qe](this.translations,e)}}]),e}();function Qe(e,t){for(var n=e.split("."),r=this.translations,a=0,i=n.length;a<i;a++)r[n[a]]=a===i-1?t:r[n[a]]||{},r=r[n[a]]}function Ye(e){for(var t=e.split("."),n=this.translations,r=0,a=t.length;r<a;r++)n[t[r]]=n[t[r]]||{},n=n[t[r]];return n}function Xe(e,t){for(var n in t)e[n]||(e[n]={}),"object"===typeof t[n]?Ve(this,qe)[qe](e[n],t[n]):e[n]=t[n]}var Je=new Ke;Je.parse("ru",'\n\xa7 sidebar.team.total: \u041e\u0431\u0449\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f\n\xa7 sidebar.team.scope: \u041e\u0446\u0435\u043d\u043a\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\n\xa7 sidebar.team.author: \u041e\u0446\u0435\u043d\u043a\u0430 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432\n\xa7 sidebar.team.type: \u0422\u0438\u043f\u044b \u0437\u0430\u0434\u0430\u0447\n\xa7 sidebar.team.sprint: \u041f\u043e \u043d\u0435\u0434\u0435\u043b\u044f\u043c\n\xa7 sidebar.team.month: \u041f\u043e \u043c\u0435\u0441\u044f\u0446\u0443\n\xa7 sidebar.team.tree: \u0410\u043d\u0430\u043b\u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432\n\xa7 sidebar.team.heatmap: \u0413\u0440\u0430\u0444\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u044b\n\xa7 sidebar.team.hours: \u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435\n\xa7 sidebar.team.timestamp: \u0412\u0441\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u044b\n\xa7 sidebar.team.changes: \u0412\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\n\xa7 sidebar.team.words: \u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0441\u043b\u043e\u0432\u0430\n\xa7 sidebar.person.total: \u041e\u0431\u0449\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f\n\xa7 sidebar.person.money: \u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b\n\xa7 sidebar.person.speed: \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c\n\xa7 sidebar.person.week: \u041f\u043e \u043d\u0435\u0434\u0435\u043b\u044f\u043c\n\xa7 sidebar.person.month: \u041f\u043e \u043c\u0435\u0441\u044f\u0446\u0430\u043c\n\xa7 sidebar.person.frequency: \u0413\u0440\u0430\u0444\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u044b\n\xa7 sidebar.person.hours: \u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435\n\xa7 sidebar.person.commits: \u0412\u0441\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u044b\n\xa7 sidebar.person.changes: \u0412\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\n\xa7 sidebar.person.words: \u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0441\u043b\u043e\u0432\u0430\n\xa7 page.team.author.types: \u0422\u0438\u043f \u0440\u0430\u0431\u043e\u0442\n\xa7 page.team.author.commits: \u041a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.team.author.commitsSmall: \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.team.author.tasks: \u0417\u0430\u0434\u0430\u0447\n\xa7 page.team.author.workedLosses: \u0414\u043d\u0438 \u0441 \u043a\u043e\u043c\u043c\u0438\u0442\u0430\u043c\u0438 \u0438 \u0431\u0435\u0437\n\xa7 page.team.author.worked: \u0440\u0430\u0431\u043e\u0442\u0430\n\xa7 page.team.author.losses: \u0434\u043d\u0438 \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.team.author.days: \u0434\u043d\u0435\u0439\n\xa7 page.team.author.daysForTask: \u0414\u043d\u0435\u0439 \u043d\u0430 \u0437\u0430\u0434\u0430\u0447\u0443\n\xa7 page.team.author.scopes: \u0424\u0438\u0447\n\xa7 page.team.author.moneyAll: \u041f\u043e\u043b\u0443\u0447\u0438\u043b\n\xa7 page.team.author.moneyWorked: \u041e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b\n\xa7 page.team.author.moneyLosses: \u041f\u0435\u0440\u0435\u043f\u043b\u0430\u0442\u0430\n\xa7 page.team.scope.scope: \u0424\u0438\u0447\u0430\n\xa7 page.team.scope.days: \u0420\u0430\u0431. \u0434\u043d\u0435\u0439\n\xa7 page.team.scope.authorsDays: \u0427\u0435\u043b\u043e\u0432\u0435\u043a\u043e-\u0434\u043d\u0435\u0439\n\xa7 page.team.scope.tasks: \u0417\u0430\u0434\u0430\u0447\n\xa7 page.team.scope.commits: \u041a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.team.scope.commitsSmall: \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.team.scope.types: \u0422\u0438\u043f \u0440\u0430\u0431\u043e\u0442\n\xa7 page.team.scope.authors: \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u043a\u043b\u0430\u0434\n\xa7 page.team.scope.cost: \u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c\n\xa7 page.team.type.type: \u0422\u0438\u043f \u0440\u0430\u0431\u043e\u0442\u044b\n\xa7 page.team.type.tasks: \u0417\u0430\u0434\u0430\u0447\n\xa7 page.team.type.days: \u0414\u043d\u0435\u0439\n\xa7 page.team.type.authorsDays: \u0427\u0435\u043b\u043e\u0432\u0435\u043a\u043e-\u0434\u043d\u0435\u0439\n\xa7 page.team.type.commits: \u041a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.team.type.commitsSmall: \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.team.type.authors: \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u043a\u043b\u0430\u0434\n\xa7 page.team.total.daysWorked.title: \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e-\u0434\u043d\u0435\u0439\n\xa7 page.team.total.daysWorked.description: \u0423\u0447\u0442\u0435\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0435\u043b\u0430\u043b\u0438\u0441\u044c \u043a\u043e\u043c\u043c\u0438\u0442\u044b\n\xa7 page.team.total.commits.title: \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.team.total.commits.description: \u0423\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0435 \u0432\u0435\u0442\u043a\u0438 \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f\n\xa7 page.team.total.daysLosses.title: \u0434\u043d\u0435\u0439 \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.team.total.daysLosses.description: \u0412\u0441\u0435 \u0434\u043d\u0438 \u043c\u0438\u043d\u0443\u0441: \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0438, \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435, \u043e\u0442\u043f\u0443\u0441\u043a, \u0434\u043d\u0438 \u0441 \u043a\u043e\u043c\u043c\u0438\u0442\u0430\u043c\u0438\n\xa7 page.team.total.employment.title: \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 / \u0443\u0432\u043e\u043b\u0438\u043b\u043e\u0441\u044c\n\xa7 page.team.total.employment.description: \u0415\u0441\u043b\u0438 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043c\u0435\u0441\u044f\u0446\u0430 \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u043b \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430, \u043e\u043d \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0443\u0432\u043e\u043b\u0435\u043d\u043d\u044b\u043c\n\xa7 page.team.total.moneyAll.title: \u043e\u0431\u0449\u0430\u044f\n\xa7 page.team.total.moneyAll.description: \u0421\u0443\u043c\u043c\u0430\u0440\u043d\u044b\u0435 \u0437\u0430\u0442\u0440\u0430\u0442\u044b \u043d\u0430 \u0437\u043f\n\xa7 page.team.total.moneyWorked.title: \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f\n\xa7 page.team.total.moneyWorked.description: \u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0435 \u0434\u043d\u0438 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0440\u0435\u0434\u043d\u044e\u044e \u0437\u043f\n\xa7 page.team.total.moneyLosses.title: \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043f\u043b\u0430\u0442\u0430\n\xa7 page.team.total.moneyLosses.description: \u041e\u043f\u043b\u0430\u0447\u0435\u043d\u043d\u044b\u0435 \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u0434\u043d\u0438, \u043a\u043e\u0433\u0434\u0430 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u043d\u0435 \u0431\u044b\u043b\u043e\n\xa7 page.team.total.weekendPayment.title: \u0440\u0430\u0431\u043e\u0442\u0430 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445\n\xa7 page.team.total.weekendPayment.description: \u0421\u0443\u043c\u043c\u0430\u0440\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043f\u043b\u0430\u0442\u0430 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0432 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u043d\u0438\n\xa7 page.team.total.workSpeed.title: \u0437\u0430\u0434\u0430\u0447 \u0432 \u0434\u0435\u043d\u044c\n\xa7 page.team.total.workSpeed.description: \u0421\u0440\u0435\u0434\u043d\u044f\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u0440\u0438 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432\n\xa7 page.team.total.moneySpeed.title: \u0432 \u043c\u0435\u0441\u044f\u0446\n\xa7 page.team.total.moneySpeed.description: \u041f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u0443\u0435\u043c\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u0432\u044b\u043f\u043b\u0430\u0442\u044b \u043d\u0430 \u0437\u043f \u043f\u0440\u0438 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u0431\u0435\u0437 \u0443\u0447\u0435\u0442\u0430 \u043d\u0430\u043b\u043e\u0433\u043e\u0432 \u0438 \u0441\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0437\u0430\u0442\u0440\u0430\u0442\n\xa7 page.team.total.titleA: \u041e\u0431\u044a\u0451\u043c \u0440\u0430\u0431\u043e\u0442\n\xa7 page.team.total.titleB: \u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c\n\xa7 page.team.tree.filters1: \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\n\xa7 page.team.tree.filters2: \u0438 \u0431\u043e\u043b\u0435\u0435 \n\xa7 page.team.tree.filters3: \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 \u0444\u0430\u0439\u043b\u0435 \u0438\u043b\u0438 \u043f\u0430\u043f\u043a\u0435\n\xa7 page.team.tree.percent: \u041f\u0440\u043e\u0446\u0435\u043d\u0442 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0438\n\xa7 page.team.tree.add: \u041a\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b\n\xa7 page.team.tree.change: \u041a\u0442\u043e \u043c\u0435\u043d\u044f\u043b\n\xa7 page.team.tree.remove: \u041a\u0442\u043e \u0443\u0434\u0430\u043b\u044f\u043b\n\xa7 page.team.tree.line: \u0441\u0442\u0440\u043e\u043a\n\xa7 page.team.tree.lineAdd: \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438\n\xa7 page.team.tree.lineRemove: \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438\n\xa7 page.team.week.commits: \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.team.week.tasks: \u0437\u0430\u0434\u0430\u0447\n\xa7 page.team.week.add: \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438\n\xa7 page.team.week.change: \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438\n\xa7 page.team.week.remove: \u0443\u0434\u0430\u043b\u0438\u043b\u0438\n\xa7 page.team.week.worked: \u0440\u0430\u0431\u043e\u0442\u0430\n\xa7 page.team.week.losses: \u0434\u043d\u0438 \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.team.week.days: \u0434\u043d\u0435\u0439\n\xa7 page.team.week.date: \u0414\u0430\u0442\u0430\n\xa7 page.team.week.numberTasks: \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u0434\u0430\u0447\n\xa7 page.team.week.people: \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\n\xa7 page.team.week.files: \u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432\n\xa7 page.team.week.days: \u0414\u043d\u0438 \u0441 \u043a\u043e\u043c\u043c\u0438\u0442\u0430\u043c\u0438 \u0438 \u0431\u0435\u0437\n\xa7 page.team.week.lossesDetails: \u041a\u0442\u043e \u043d\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u0438\u043b\n\xa7 page.person.business.days.title: \u0434\u043d\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b\n\xa7 page.person.business.days.description: \u0423\u0447\u0442\u0435\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0435\u043b\u0430\u043b\u0438\u0441\u044c \u043a\u043e\u043c\u043c\u0438\u0442\u044b\n\xa7 page.person.business.tasks.title: \u0437\u0430\u0434\u0430\u0447\n\xa7 page.person.business.tasks.description: \u0415\u0441\u043b\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b\n\xa7 page.person.business.losses.title: \u0434\u043d\u0435\u0439 \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.person.business.losses.description: \u0412\u0441\u0435 \u0434\u043d\u0438 \u043c\u0438\u043d\u0443\u0441: \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0438, \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435, \u043e\u0442\u043f\u0443\u0441\u043a, \u0434\u043d\u0438 \u0441 \u043a\u043e\u043c\u043c\u0438\u0442\u0430\u043c\u0438\n\xa7 page.person.business.commits.title: \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.person.business.commits.description: \u0423\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0435 \u0432\u0435\u0442\u043a\u0438 \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f\n\xa7 page.person.business.time.description: \u0412\u0440\u0435\u043c\u044f \u043e\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e, \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430 (\u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435, \u043d\u0435\u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u0434\u043d\u0438)\n\xa7 page.person.business.time.title: \u0414\u043d\u0435\u0439 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0435:\n\xa7 page.person.business.time.dismissed: (\u0443\u0432\u043e\u043b\u0435\u043d)\n\xa7 page.person.business.time.staff: (\u043d\u0435 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0435)\n\xa7 page.person.business.achievements: \u0414\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f\n\xa7 page.person.changes.title: \u0414\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f\n\xa7 page.person.changes.description: \n\u041f\u0440\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u0438\u0434\u0430\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f git \u043e\u0442\u043c\u0435\u0447\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0438 \u043a\u0430\u043a \xab\u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0435\xbb \u0438 \xab\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435\xbb,\n\u0445\u043e\u0442\u044f \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043e\u043d\u0438 \u0431\u044b\u043b\u0438 \xab\u0438\u0437\u043c\u0435\u043d\u0451\u043d\u044b\xbb. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u043e\u0432\u0435\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433,\ngit \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043c\u0430\u043b\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0435, \u0430 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\n\u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043c\u0435\u0447\u0435\u043d, \u043a\u0430\u043a \u0441\u043a\u0430\u0447\u043e\u043a \xab\u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445\xbb \u0438 \xab\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445\xbb \u0441\u0442\u0440\u043e\u043a.\n\xa7 page.person.changes.description: \u0421\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043d\u0438\u0445 \u0437\u0430 \u044d\u0442\u043e\u0442 \u0434\u0435\u043d\u044c:\n\xa7 page.person.commits.title: \u0421\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432:\n\xa7 page.person.money.moneyAll.title: \u043f\u043e\u043b\u0443\u0447\u0438\u043b\n\xa7 page.person.money.moneyAll.description: \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u0437\u043f \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 (\u0441\u043c. \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438)\n\xa7 page.person.money.moneyWorked.title: \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b\n\xa7 page.person.money.moneyWorked.description: \u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0435 \u0434\u043d\u0438 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0440\u0435\u0434\u043d\u044e\u044e \u0437\u043f\n\xa7 page.person.money.moneyLosses.title: \u043d\u0435 \u0434\u0435\u043b\u0430\u043b \u043a\u043e\u043c\u043c\u0438\u0442\u044b\n\xa7 page.person.money.moneyLosses.description: \u0414\u043d\u0438 \u043a\u043e\u0433\u0434\u0430 \u043c\u043e\u0433 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u043d\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0440\u0435\u0434\u043d\u044e\u044e \u0437\u043f\n\xa7 page.person.money.tasks.title: \u0437\u0430\u0434\u0430\u0447\u0430\n\xa7 page.person.money.tasks.description: \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0445 \u0437\u0430\u0434\u0430\u0447 \u043a \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u043d\u044f\n\xa7 page.person.money.commits.title: \u043a\u043e\u043c\u043c\u0438\u0442\n\xa7 page.person.money.commits.description: \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u043a \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0434\u043d\u044f\n\xa7 page.person.money.total: \u0417\u0430 \u0432\u0441\u0451 \u0432\u0440\u0435\u043c\u044f\n\xa7 page.person.money.middle: \u0421\u0440\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c\n\xa7 page.person.speed.days.title: \u0434\u043d\u0435\u0439\n\xa7 page.person.speed.days.description: \u0418\u043c\u0435\u044e\u0442\u0441\u044f \u0432\u0432\u0438\u0434\u0443 \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u0434\u043d\u0438, \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b\n\xa7 page.person.speed.commits.title: \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.person.speed.commits.description: \u041e\u0442\u0440\u0435\u0437\u0430\u043d\u044b 10% \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u0438 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439\n\xa7 page.person.speed.line.title: \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430\n\xa7 page.person.speed.line.description: \u041e\u0442\u0440\u0435\u0437\u0430\u043d\u044b 10% \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u0438 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439\n\xa7 page.person.speed.tasks.title: \u0437\u0430\u0434\u0430\u0447\n\xa7 page.person.speed.tasks.description: \u0417\u0430\u0434\u0430\u0447\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u0434\u043e\u0434\u0435\u043b\u0430\u043d\u0430, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043d\u0435\u0439 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c\n\xa7 page.person.speed.maxCommits.title: \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.person.speed.maxCommits.description: \u0417\u0430\u0434\u0430\u0447\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u0434\u043e\u0434\u0435\u043b\u0430\u043d\u0430, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043d\u0435\u0439 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c\n\xa7 page.person.speed.task: \u041e\u0434\u043d\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u044d\u0442\u043e\n\xa7 page.person.speed.max: \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u0434\u0435\u043d\u044c\n\xa7 page.person.week.date: \u0414\u0430\u0442\u0430\n\xa7 page.person.week.tasks: \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u0434\u0430\u0447\n\xa7 page.person.week.workDays: \u0420\u0430\u0431\u043e\u0447\u0438\u0435 \u0434\u043d\u0438\n\xa7 page.person.week.taskInDay: \u0417\u0430\u0434\u0430\u0447 \u0432 \u0434\u0435\u043d\u044c\n\xa7 page.person.week.commits: \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432\n\xa7 page.person.week.days: \u0434\u043d\u0435\u0439\n\xa7 page.person.week.workDay: \u0431\u0443\u0434\u043d\u0438\n\xa7 page.person.week.weekends: \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435\n\n\xa7 recommendations.title\n\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u0438 \u0444\u0430\u043a\u0442\u044b\n\n\xa7 recommendations.scope.parallelism.not.title\n\u041d\u0435\u0442 \u043f\u0430\u0440\u0430\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0442\n\n\xa7 recommendations.scope.parallelism.not.description\n\u043b\u044e\u0431\u0443\u044e \u0444\u0438\u0447\u0443 \u0432 \u043e\u0434\u0438\u043d \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u043e\u0434\u0438\u043d \u0447\u0435\u043b\u043e\u0432\u0435\u043a.\n\n# \u041c\u0435\u0442\u043e\u0434 \u0440\u0430\u0441\u0447\u0451\u0442\u0430:\n- \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e-\u0434\u043d\u0438 \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043d\u0430 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u043d\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0444\u0438\u0447\u0438;\n- \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435;\n- \u0435\u0441\u043b\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 1.3 \u0441\u0447\u0438\u0442\u0430\u0435\u043c, \u0447\u0442\u043e \u043f\u0430\u0440\u0430\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0442 \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u0444\u0438\u0447\u0435\u0439 \u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0435\u0442;\n\n\n\xa7 recommendations.scope.parallelism.has.title\n\u0427\u0430\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442 \u043f\u0430\u0440\u0430\u043b\u0435\u043b\u044c\u043d\u043e\n\n\xa7 recommendations.scope.parallelism.has.description\n\u0418\u043d\u043e\u0433\u0434\u0430 \u0444\u0438\u0447\u0443 \u0434\u0435\u043b\u0430\u044e\u0442 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a.\n\n# \u041c\u0435\u0442\u043e\u0434 \u0440\u0430\u0441\u0447\u0451\u0442\u0430:\n- \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e-\u0434\u043d\u0438 \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043d\u0430 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u043d\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0444\u0438\u0447\u0438;\n- \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435;\n- \u0435\u0441\u043b\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0442 1.3 \u0434\u043e 2.0 \u0441\u0447\u0438\u0442\u0430\u0435\u043c, \u0447\u0442\u043e \u0447\u0430\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442 \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0440\u0430\u0437\u043d\u044b\u0445 \u0444\u0438\u0447\u0435\u0439 \u0438\u043d\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u0430\u043b\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043b\u0435\u043b\u044c\u043d\u043e;\n\n\n\xa7 recommendations.scope.parallelism.every.title\n\u041f\u0430\u0440\u0430\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b\n\n\xa7 recommendations.scope.parallelism.every.description\n\u043b\u044e\u0431\u0443\u044e \u0444\u0438\u0447\u0443 \u0432 \u043e\u0434\u0438\u043d \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0434\u0435\u043b\u0430\u044e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\n\n# \u041c\u0435\u0442\u043e\u0434 \u0440\u0430\u0441\u0447\u0451\u0442\u0430:\n- \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e-\u0434\u043d\u0438 \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043d\u0430 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u043d\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0444\u0438\u0447\u0438;\n- \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435;\n- \u0435\u0441\u043b\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0432\u0443\u0445 \u0441\u0447\u0438\u0442\u0430\u0435\u043c, \u0447\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442 \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0440\u0430\u0437\u043d\u044b\u0445 \u0444\u0438\u0447\u0435\u0439 \u043e\u0431\u044b\u0447\u043d\u043e \u0434\u0435\u043b\u0430\u043b\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043b\u0435\u043b\u044c\u043d\u043e;\n\n\n\xa7 recommendations.scope.money\n\u0432 \u0442\u0430\u043a\u0443\u044e \u0441\u0443\u043c\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u043e \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443.\n\n# \u041c\u0435\u0442\u043e\u0434 \u0440\u0430\u0441\u0447\u0451\u0442\u0430:\n- \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e-\u0434\u043d\u0438 \u0437\u0430\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u044b\u0435 \u043d\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0443\u043c\u043d\u043e\u0436\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0437\u0430\u0440\u043f\u043b\u0430\u0442\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432;\n\n\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0437\u0430\u0440\u043f\u043b\u0430\u0442\u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430, \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0447\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b, \u043c\u043e\u0436\u043d\u043e \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \xab\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438\xbb\n\n\n\xa7 recommendations.scope.bus.everyHasOne.title\nBus factor = 1\n\n\xa7 recommendations.scope.bus.everyHasOne.description\n\u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0444\u0438\u0447 \u043f\u043e\u0433\u0440\u0443\u0436\u0435\u043d \u043e\u0434\u0438\u043d \u0447\u0435\u043b\u043e\u0432\u0435\u043a.\n\u041d\u0430\u0434\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043b\u044e\u0434\u0435\u0439.\n\n# \u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043f\u043b\u043e\u0445\u043e:\n- \u0435\u0441\u043b\u0438 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438 \u0431\u0443\u0434\u0443\u0442 \u0443\u0432\u043e\u043b\u044c\u043d\u044f\u0442\u0441\u044f, \u0431\u0443\u0434\u0435\u0442 \u0442\u0440\u0443\u0434\u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0438\u0445 \u0440\u0430\u0431\u043e\u0442\u0443;\n- \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0435\u0433\u043e \u043a\u043e\u0434\u0430;\n\n# \u041a\u0430\u043a \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0430:\n- \u0431\u043e\u043b\u0435\u0435 80% \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 \u0444\u0438\u0447\u0443 \u0434\u0435\u043b\u0430\u0435\u0442 \u043e\u0434\u0438\u043d \u0447\u0435\u043b\u043e\u0432\u0435\u043a;\n- \u043f\u0440\u043e\u0435\u043a\u0442 \u0438\u043c\u0435\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 60% \u0442\u0430\u043a\u0438\u0445 \u0444\u0438\u0447\u0435\u0439;\n\n\n\xa7 recommendations.scope.bus.oneMaintainer\n\u0432 \u0444\u0438\u0447\u0438 \u043f\u043e\u0433\u0440\u0443\u0436\u0435\u043d \u043e\u0434\u0438\u043d \u0447\u0435\u043b\u043e\u0432\u0435\u043a.\n\n# \u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043f\u043b\u043e\u0445\u043e:\n- \u0435\u0441\u043b\u0438 \u043e\u043d \u0443\u0432\u043e\u043b\u0438\u0442\u0441\u044f, \u0431\u0443\u0434\u0435\u0442 \u0442\u0440\u0443\u0434\u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443;\n- \u0441\u043d\u0438\u0436\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e code-review;\n- \u0442\u0440\u0443\u0434\u043d\u043e \u0437\u0430\u043f\u0430\u0440\u0430\u043b\u0435\u043b\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438;\n\n# \u041a\u0430\u043a \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0430:\n- \u0431\u043e\u043b\u0435\u0435 80% \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 \u0444\u0438\u0447\u0443 \u0441\u0434\u0435\u043b\u0430\u043b \u043e\u0434\u0438\u043d \u0447\u0435\u043b\u043e\u0432\u0435\u043a;\n\n\n\xa7 recommendations.scope.types.process.title\n\u041f\u043b\u043e\u0445\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b\n\n\xa7 recommendations.scope.types.process.description\n\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0444\u0438\u0447 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u043e\u0434\u0438\u043d \u0442\u0438\u043f \u0437\u0430\u0434\u0430\u0447.\n\n\n\xa7 recommendations.scope.types.one\n\u0444\u0438\u0447\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u043e\u0434\u0438\u043d \u0442\u0438\u043f \u0437\u0430\u0434\u0430\u0447.\n\n\xa7 recommendations.scope.types.common\n\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u0438\u043b\u0438 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0437\u0430\u0432\u043e\u0434\u0438\u0442 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u0442\u0438\u043f \u0437\u0430\u0434\u0430\u0447.\n\n# \u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u043e:\n- \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435;\n- \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u0442\u044c "\u043a\u043e\u0440\u043e\u0431\u043e\u0447\u043d\u0443\u044e" \u0432\u0435\u0440\u0441\u0438\u044e;\n- \u0441\u0438\u043b\u044c\u043d\u0430\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c \u043e\u0442 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432;\n- \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0448\u0438\u0431\u043e\u043a \u0438 \u043d\u0438\u0437\u043a\u043e\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430;\n- \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0435 \u0437\u0430\u043c\u0435\u0434\u043b\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c;\n\n# \u0412 \u0447\u0451\u043c \u043e\u0448\u0438\u0431\u043a\u0430 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430:\n- \u0432\u0437\u0433\u043b\u044f\u0434 \u043d\u0430 \u043f\u0440\u043e\u0434\u0443\u043a\u0442, \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \xab\u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u0439 \u0434\u0435\u043c\u043a\u0438\xbb;\n\n# \u0427\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c:\n- \u0442\u0435\u0441\u0442\u044b;\n- \u043e\u0448\u0438\u0431\u043a\u0438 (\u0432\u044b\u044f\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u0442\u0435\u0441\u0442\u043e\u0432);\n- \u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433 (\u0442.\u043a. \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c\u0441\u044f);\n- \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f;\n- \u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u0442\u0438\u043b\u044f (\u043a\u0430\u043a \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u043f\u0440\u043e\u0441\u0430 \u0444\u043e\u043a\u0443\u0441-\u0433\u0440\u0443\u043f\u043f\u044b);\n\n\xa7 recommendations.author.lotOfLazy\n\u043f\u0438\u0448\u0435\u0442 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u0430\u043b\u043e \u043a\u043e\u0434\u0430.\n\n# \u041c\u043e\u0436\u0435\u0442 \u0443\u0432\u043e\u043b\u0438\u0442\u044c?\n- \u043e\u043d \u0442\u0438\u043c\u043b\u0438\u0434, \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u043e\u0440, \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a?\n- \u044d\u0442\u043e \u0435\u0433\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442?\n- \u0435\u0441\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043d\u0435\u0433\u043e?\n\n# \u041f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435\u0442 \u0441\u043c\u044b\u0441\u043b\u0430 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c\n\u0421\u0443\u043c\u043c\u0430\u0440\u043d\u044b\u0435 \u0437\u0430\u0442\u0440\u0430\u0442\u044b \u043d\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0443\u0436\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c \u043f\u0440\u0438\u0431\u044b\u043b\u044c \u043e\u0442 \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b.\n\u0415\u0441\u043b\u0438 \u043c\u044b \u0441\u0447\u0438\u0442\u0430\u0435\u043c, \u0447\u0442\u043e \u043e\u0431\u044c\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u043f\u043e\u043c\u0435\u0445 \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e, \u0442\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043b\u0438\u0431\u043e \u043d\u0435 \u0445\u043e\u0447\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435, \u043b\u0438\u0431\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e.\n\u0423\u0432\u043e\u043b\u044c\u043d\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u043c\u0435\u043d\u0430 \u043d\u043e\u0432\u044b\u043c \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u043c \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043e\u043f\u0440\u0430\u0432\u0434\u0430\u043d\u043d\u044b\u043c \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u043e\u0431\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438.\n\n\xa7 recommendations.author.manyLazy\n\u043f\u0438\u0448\u0435\u0442 \u043c\u0430\u043b\u043e \u043a\u043e\u0434\u0430. \u041d\u0443\u0436\u043d\u043e \u0432\u0437\u044f\u0442\u044c \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c.\n\n# \u041a\u0430\u043a \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0430:\n- \u043d\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0445 \u0432\u044b\u0431\u043e\u0440\u043a\u0430\u0445 \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043f\u0438\u0448\u0435\u0442 \u043a\u043e\u0434 \u0431\u043e\u043b\u044c\u0448\u0435 80% \u0432\u0440\u0435\u043c\u0435\u043d\u0438;\n- \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043e\u0442 60% \u0434\u043e 80%;\n\n# \u041a\u0430\u043a \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c:\n- \u0434\u0440\u043e\u0431\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0430 1..2 \u0434\u043d\u044f;\n- \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441;\n- \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0437\u0430\u0434\u0430\u0447\u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u044b \u0438 \u0433\u043e\u0442\u043e\u0432\u044b \u043a \u043d\u0430\u0447\u0430\u043b\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438;\n- \u0443\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u0430\u0440\u043d\u043e\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c;\n\n\xa7 recommendations.author.oneTypeMans\n\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043e\u0434\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e \u0442\u0438\u043f\u0443. \u041c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u043e\u0440\u0435\u0442\u044c.\n\n# \u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u043e:\n- \u0435\u0441\u043b\u0438 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a \u0432\u044b\u0433\u043e\u0440\u0438\u0442, \u0435\u0433\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043d\u0438\u0437\u0438\u0442\u0441\u044f;\n- \u0437\u0430\u043c\u0435\u0434\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u043e\u0441\u0442;\n- \u043f\u043e\u0432\u044b\u0448\u0430\u0435\u0442\u0441\u044f \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0443\u0432\u043e\u043b\u044c\u043d\u0435\u043d\u0438\u044f;\n\n# \u041a\u0430\u043a \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0430:\n- \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u0441\u044f \u0442\u0438\u043f \u0437\u0430\u0434\u0430\u0447\u0438;\n- \u0435\u0441\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 70% \u0437\u0430\u0434\u0430\u0447 \u043e\u0434\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430, \u0437\u043d\u0430\u0447\u0438\u0442 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0434\u0435\u043b\u0430\u0435\u0442 \u043e\u0434\u043d\u043e \u0438 \u0442\u043e\u0436\u0435;\n\n\n\xa7 recommendations.author.projectType.openSource.title\n\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442\n\n\xa7 recommendations.author.projectType.openSource.description\n\u043f\u044f\u0442\u044c \u0434\u043d\u0435\u0439 \u0432 \u043d\u0435\u0434\u0435\u043b\u044e \u0442\u0443\u0442 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442.\n\n\u041f\u0440\u043e\u0435\u043a\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u043c, \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a\u043e\u0439 \u0442\u0435\u043c\u043f \u0440\u0430\u0431\u043e\u0442\u044b \u043e\u0431\u044b\u0447\u043d\u043e \u0443 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043d\u0430 GitHub.\n\n# \u041c\u0435\u0442\u043e\u0434 \u043e\u0446\u0435\u043d\u043a\u0438:\n- \u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e \u0432\u0441\u0435\u043c \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c;\n- \u043f\u043e\u0434\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u0447\u0438\u0441\u043b\u043e \u0434\u043d\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432;\n- \u0443 open-source \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0434\u043d\u0435\u0439 \u043e\u0431\u044b\u0447\u043d\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c 15..20%;\n\n# \u041f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f\n\u0414\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u0433\u0434\u0435 \u0440\u0430\u0431\u043e\u0442\u0430 \u043d\u0435 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0430, \u043d\u0435\u0442 \u0441\u043c\u044b\u0441\u043b\u0430 \u0432\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f\u0445. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432, \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0438 \u0442.\u043f. \u0431\u0443\u0434\u0443\u0442 \u0441\u043a\u0440\u044b\u0442\u044b.\n\n\u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043e\u0446\u0435\u043d\u043a\u0443 \u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0434\u0435\u043b\u0430\u044e\u0442 \u043f\u0435\u0440\u0435\u0434 \u043d\u0430\u0447\u0430\u043b\u043e\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u0432\u043e\u0435\u0439 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438. \u0421\u0430\u043c\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u0430\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0438 \u0441\u0443\u043c\u043c\u0430\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443.\n\n\n\xa7 recommendations.author.projectType.easy.title\n\u0421\u043b\u0430\u0431\u0430\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430\n\n\xa7 recommendations.author.projectType.easy.description\n\u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0434\u043d\u0435\u0439 \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432. \u041d\u0443\u0436\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u044c \u043f\u043e\u0447\u0435\u043c\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0435 \u043f\u0438\u0448\u0435\u0442 \u043a\u043e\u0434.\n\n# \u041c\u0435\u0442\u043e\u0434 \u043e\u0446\u0435\u043d\u043a\u0438:\n- \u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e \u0432\u0441\u0435\u043c \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c;\n- \u043f\u043e\u0434\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u0447\u0438\u0441\u043b\u043e \u0434\u043d\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432;\n- \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0430\u0431\u043e\u0439, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u043d\u0442 \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u043e\u0442 5% \u0434\u043e 20%;\n\n# \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u044b:\n- \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u0442 \u0437\u0430\u0434\u0430\u0447;\n- \u0437\u0430\u0434\u0430\u0447\u0438 \u0435\u0441\u0442\u044c, \u043d\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u043b\u043e\u0436\u0430\u0442\u0441\u044f \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443;\n- \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043e\u0442\u0432\u043b\u0435\u043a\u0430\u044e\u0442 \u0441\u043e\u0432\u0435\u0449\u0430\u043d\u0438\u044f\u043c\u0438;\n- \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442;\n\n# \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0440\u0435\u0448\u0435\u043d\u0438\u044f:\n- \u043e\u0431\u0441\u0443\u0434\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439;\n- \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0433\u0440\u0430\u043d\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0434\u0430\u0447, \u0447\u0442\u043e\u0431\u044b \u0437\u0430 \u0434\u0435\u043d\u044c \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0443\u0441\u043f\u0435\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0434\u043d\u0443 \u0438\u043b\u0438 \u0434\u0432\u0435 \u0437\u0430\u0434\u0430\u0447\u0438;\n- \u0432\u0432\u0435\u0441\u0442\u0438 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u044b\u0435 \u0441\u043e\u0432\u0435\u0449\u0430\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447 \u043f\u043e \u0441\u0442\u0430\u0442\u0443\u0441\u0443;\n- \u0443\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0430\u043d\u0441\u044b \u043f\u0430\u0440\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u0435\u0435;\n\n\xa7 recommendations.hour.onlyWork.title\n\u0412\u044b\u0445\u043e\u0434\u043d\u044b\u0445 \u0442\u0443\u0442 \u043d\u0435\u0442\n\n\xa7 recommendations.hour.onlyWork.description\n\u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0441\u0442\u043e\u0438\u0442 \u0443\u0432\u043e\u043b\u0438\u0442\u044c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.\n\n\n\xa7 recommendations.hour.weekends.title\n\u0420\u0430\u0431\u043e\u0442\u0430 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445\n\n\xa7 recommendations.hour.weekends.description\n\u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0441\u0442\u043e\u0438\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.\n\n\n\xa7 recommendations.hour.easy.title\n\u0411\u044b\u0432\u0430\u044e\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b\n\n\xa7 recommendations.hour.easy.description\n\u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0431\u044b\u0432\u0430\u044e\u0442 \u0437\u0430\u0432\u0430\u043b\u044b \u0438 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445.\n\n\xa7 recommendations.week.lazyDays.down.title\n\u0421\u0442\u0430\u043b\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0440\u043e\u0433\u0443\u043b\u043e\u0432\n\xa7 recommendations.week.lazyDays.down.description\n\u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0442\u0440\u0438 \u043d\u0435\u0434\u0435\u043b\u0438 \u044d\u0442\u043e\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u0443\u043f\u0430\u043b\n\n\xa7 recommendations.week.lazyDays.up.title\n\u0421\u0442\u0430\u043b\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0433\u0443\u043b\u043e\u0432\n\xa7 recommendations.week.lazyDays.up.description\n\u043d\u0435\u0442 \u0437\u0430\u0434\u0430\u0447 \u0438\u043b\u0438 \u043d\u0443\u0436\u0435\u043d \u0431\u043e\u043b\u0435\u0435 \u0436\u0435\u0441\u0442\u043a\u0438\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\n \n\xa7 recommendations.week.notWork.title\n\u0421\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u043d\u0435 \u0434\u043e\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\n\xa7 recommendations.week.notWork.description\n\u0442.\u043a. \u043a\u0430\u0436\u0434\u0443\u044e \u043d\u0435\u0434\u0435\u043b\u044e \u043f\u0438\u0448\u0435\u0442 \u043a\u043e\u0434 \u043d\u0435 100% \u0432\u0440\u0435\u043c\u0435\u043d\u0438\n\n\xa7 recommendations.week.upWork.title\n\u0421\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\n\xa7 recommendations.week.upWork.description\n\u0442.\u043a. \u043a\u0430\u0436\u0434\u0443\u044e \u043d\u0435\u0434\u0435\u043b\u044e \u043f\u0438\u0448\u0435\u0442 \u043a\u043e\u0434 \u0432 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u043d\u0438\n\n\n\xa7 recommendations.week.task.up.title\n\u0420\u0430\u0441\u0442\u0451\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\n\xa7 recommendations.week.task.up.description\n\u0438\u043b\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441\u0442\u0430\u043b\u0438 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u0435\u043b\u043a\u0438\u0435. \u041d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c. \u0415\u0441\u043b\u0438 \u0433\u0440\u0430\u043d\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0442\u0430 \u0436\u0435 - \u0437\u0430\u043a\u0440\u0435\u043f\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442.\n\n\xa7 recommendations.week.task.down.title\n\u041f\u0430\u0434\u0430\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\n\xa7 recommendations.week.task.down.description\n\u0438\u043b\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0445\u0443\u0436\u0435 \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u044e\u0442. \u041d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c. \u0415\u0441\u043b\u0438 \u0433\u0440\u0430\u043d\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0442\u0430 \u0436\u0435 - \u0432\u0437\u044f\u0442\u044c \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c.\n\n# \u041c\u0435\u0442\u043e\u0434 \u043e\u0446\u0435\u043d\u043a\u0438:\n- \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u0434\u0430\u0447 \u0432 \u0434\u0435\u043d\u044c, \u043d\u0430\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442, \u043d\u0430 \u043f\u0440\u043e\u0442\u044f\u0436\u0435\u043d\u0438\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0442\u0440\u0435\u0445 \u043d\u0435\u0434\u0435\u043b\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u043f\u0430\u0434\u0430\u0435\u0442.\n\n# \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438:\n- \u0437\u0430\u0434\u0430\u0447\u0438 \u043c\u043e\u0433\u043b\u0438 \u0431\u044b\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0447\u0435\u043c \u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c;\n- \u0437\u0430\u0434\u0430\u0447\u0438 \u043c\u043e\u0433\u043b\u0438 \u0438\u043c\u0435\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043e\u0431\u044a\u0451\u043c \u0440\u0430\u0431\u043e\u0442\u044b (\u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439, \u043f\u0430\u0434\u0430\u044e\u0442 \u043e\u043d\u0438 \u0438\u043b\u0438 \u043d\u0435\u0442 \u0437\u0430 \u044d\u0442\u043e\u0442 \u0436\u0435 \u043f\u0435\u0440\u0438\u043e\u0434)\n\n\n\xa7 recommendations.type.everyHasOne.title\n\u0423\u0437\u043a\u0430\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f\n\xa7 recommendations.type.everyHasOne.description\n\u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0442\u0438\u043f\u043e\u0432 \u0437\u0430\u0434\u0430\u0447 \u0434\u0435\u043b\u0430\u0435\u0442 \u043e\u0434\u0438\u043d \u0447\u0435\u043b\u043e\u0432\u0435\u043a.\n\n\n\xa7 recommendations.type.oneMaintainer.title\n\u0423\u0437\u043a\u0430\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f\n\xa7 recommendations.type.oneMaintainer.description\n\u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0437\u0430\u0434\u0430\u0447 \u043e\u0434\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u0434\u0435\u043b\u0430\u044e\u0442 \u043e\u0434\u043d\u0438 \u0438 \u0442\u0435 \u0436\u0435 \u043b\u044e\u0434\u0438.\n# \u0422\u0438\u043f\u044b \u0437\u0430\u0434\u0430\u0447:\n\n\xa7 recommendations.type.common\n# \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u044d\u0442\u043e \u043d\u0435 \u0442\u0430\u043a\n\n\u041d\u0443\u0436\u043d\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438 \u0432\u0435\u0440\u043d\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442 \u043a\u043e\u043c\u043c\u0438\u0442\u044b.\n\n\u0428\u0430\u0433\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c:\n- \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u0440\u0435-\u043a\u043e\u043c\u043c\u0438\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0434\u043b\u044f commit message;\n- \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0435, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0442\u0438\u043f;\n- \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432 \u043d\u043e\u0432\u044b\u0445 \u0432\u0435\u0442\u043a\u0430\u0445, \u0447\u0442\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u0443;\n\n# \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0442\u0430\u043a\n\n\u0412\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0438 \u0443\u0431\u0435\u0434\u0438\u043b\u0438\u0441\u044c \u0447\u0442\u043e \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a, \u0434\u0435\u043b\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u0442\u0438\u043f\u0430.\n\n\u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043f\u043b\u043e\u0445\u043e:\n- \u0435\u0433\u043e \u0443\u0432\u043e\u043b\u044c\u043d\u0435\u043d\u0438\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0446\u0435\u043b\u0443\u044e \u043f\u0430\u0447\u043a\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432;\n- \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u043f\u0435\u0442\u0435\u043d\u0446\u0438\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u043b\u0435\u043d\u043e\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b;\n- \u0442\u0440\u0443\u0434\u043d\u043e \u0432\u0435\u0440\u0445\u043d\u0435\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u043e \u043f\u043e\u043d\u044f\u0442\u044c \u0435\u0433\u043e \u043f\u0440\u0430\u0432\u043a\u0438;\n\n\u041a\u0430\u043a \u044d\u0442\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c:\n- \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u0442\u0438\u043f\u044b \u0437\u0430\u0434\u0430\u0447 \u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e;\n- \u043c\u0435\u043d\u044f\u0442\u044c \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b (\u0442\u0435\u0441\u0442\u044b, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f, \u043e\u0448\u0438\u0431\u043a\u0438) \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 \u0441\u043f\u0440\u0438\u043d\u0442;\n');function et(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"===typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var tt={};function nt(){return"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof __webpack_require__.g?__webpack_require__.g:"undefined"!==typeof self?self:tt}var rt=Object.assign,at=Object.getOwnPropertyDescriptor,it=Object.defineProperty,ot=Object.prototype,st=[];Object.freeze(st);var lt={};Object.freeze(lt);var ut="undefined"!==typeof Proxy,ct=Object.toString();function dt(){ut||et("Proxy not available")}function ft(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var pt=function(){};function ht(e){return"function"===typeof e}function mt(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function vt(e){return null!==e&&"object"===typeof e}function yt(e){if(!vt(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"===typeof n&&n.toString()===ct}function gt(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function _t(e,t,n){it(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function bt(e,t,n){it(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function kt(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return vt(e)&&!0===e[n]}}function xt(e){return e instanceof Map}function wt(e){return e instanceof Set}var jt="undefined"!==typeof Object.getOwnPropertySymbols;var St="undefined"!==typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:jt?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function Ct(e){return null===e?null:"object"===typeof e?""+e:e}function Nt(e,t){return ot.hasOwnProperty.call(e,t)}var Et=Object.getOwnPropertyDescriptors||function(e){var t={};return St(e).forEach((function(n){t[n]=at(e,n)})),t};function Ot(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 Tt(e,t,n){return t&&Ot(e.prototype,t),n&&Ot(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Pt(){return Pt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pt.apply(this,arguments)}function Dt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,At(e,t)}function At(e,t){return At=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},At(e,t)}function Lt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rt(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 It(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"===typeof e)return Rt(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)?Rt(e,t):void 0}}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Mt=Symbol("mobx-stored-annotations");function Bt(e){return Object.assign((function(t,n){zt(t,n,e)}),e)}function zt(e,t,n){Nt(e,Mt)||_t(e,Mt,Pt({},e[Mt])),function(e){return e.annotationType_===$t}(n)||(e[Mt][t]=n)}var Ft=Symbol("mobx administration"),Ut=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Un.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return fr(this)},t.reportChanged=function(){cr(),pr(this),dr()},t.toString=function(){return this.name_},e}(),Wt=kt("Atom",Ut);function Vt(e,t,n){void 0===t&&(t=pt),void 0===n&&(n=pt);var r,a=new Ut(e);return t!==pt&&Rr(Ar,a,t,r),n!==pt&&Lr(a,n),a}var Ht={identity:function(e,t){return e===t},structural:function(e,t){return ti(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e===1/t:e!==e&&t!==t},shallow:function(e,t){return ti(e,t,1)}};function Gt(e,t,n){return Kr(e)?e:Array.isArray(e)?jn.array(e,{name:n}):yt(e)?jn.object(e,void 0,{name:n}):xt(e)?jn.map(e,{name:n}):wt(e)?jn.set(e,{name:n}):"function"!==typeof e||Or(e)||$r(e)?e:gt(e)?Gr(e):Er(n,e)}function Zt(e){return e}var $t="override";function qt(e,t){return{annotationType_:e,options_:t,make_:Kt,extend_:Qt}}function Kt(e,t,n,r){var a;if(null!=(a=this.options_)&&a.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(Or(n.value))return 1;var i=Yt(e,this,t,n,!1);return it(r,t,i),2}function Qt(e,t,n,r){var a=Yt(e,this,t,n);return e.defineProperty_(t,a,r)}function Yt(e,t,n,r,a){var i,o,s,l,u,c,d,f;void 0===a&&(a=or.safeDescriptors),f=r,t.annotationType_,f.value;var p,h=r.value;null!=(i=t.options_)&&i.bound&&(h=h.bind(null!=(p=e.proxy_)?p:e.target_));return{value:Ln(null!=(o=null==(s=t.options_)?void 0:s.name)?o:n.toString(),h,null!=(l=null==(u=t.options_)?void 0:u.autoAction)&&l,null!=(c=t.options_)&&c.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!a||e.isPlainObject_,enumerable:!1,writable:!a}}function Xt(e,t){return{annotationType_:e,options_:t,make_:Jt,extend_:en}}function Jt(e,t,n,r){var a;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(a=this.options_)&&a.bound&&(!Nt(e.target_,t)||!$r(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if($r(n.value))return 1;var i=tn(e,this,t,n,!1,!1);return it(r,t,i),2}function en(e,t,n,r){var a,i=tn(e,this,t,n,null==(a=this.options_)?void 0:a.bound);return e.defineProperty_(t,i,r)}function tn(e,t,n,r,a,i){var o;void 0===i&&(i=or.safeDescriptors),o=r,t.annotationType_,o.value;var s,l=r.value;($r(l)||(l=Gr(l)),a)&&((l=l.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0);return{value:l,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function nn(e,t){return{annotationType_:e,options_:t,make_:rn,extend_:an}}function rn(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function an(e,t,n,r){return function(e,t,n,r){t.annotationType_,r.get;0}(0,this,0,n),e.defineComputedProperty_(t,Pt({},this.options_,{get:n.get,set:n.set}),r)}function on(e,t){return{annotationType_:e,options_:t,make_:sn,extend_:ln}}function sn(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ln(e,t,n,r){var a,i;return function(e,t,n,r){t.annotationType_;0}(0,this),e.defineObservableProperty_(t,n.value,null!=(a=null==(i=this.options_)?void 0:i.enhancer)?a:Gt,r)}var un=cn();function cn(e){return{annotationType_:"true",options_:e,make_:dn,extend_:fn}}function dn(e,t,n,r){var a,i,o,s;if(n.get)return En.make_(e,t,n,r);if(n.set){var l=Ln(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!or.safeDescriptors||e.isPlainObject_,set:l})?0:2:(it(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"===typeof n.value)return gt(n.value)?(null!=(s=this.options_)&&s.autoBind?Gr.bound:Gr).make_(e,t,n,r):(null!=(o=this.options_)&&o.autoBind?Er.bound:Er).make_(e,t,n,r);var u,c=!1===(null==(a=this.options_)?void 0:a.deep)?jn.ref:jn;"function"===typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_));return c.make_(e,t,n,r)}function fn(e,t,n,r){var a,i,o;if(n.get)return En.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!or.safeDescriptors||e.isPlainObject_,set:Ln(t.toString(),n.set)},r);"function"===typeof n.value&&null!=(a=this.options_)&&a.autoBind&&(n.value=n.value.bind(null!=(o=e.proxy_)?o:e.target_));return(!1===(null==(i=this.options_)?void 0:i.deep)?jn.ref:jn).extend_(e,t,n,r)}var pn={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function hn(e){return e||pn}Object.freeze(pn);var mn=on("observable"),vn=on("observable.ref",{enhancer:Zt}),yn=on("observable.shallow",{enhancer:function(e,t,n){return void 0===e||null===e||Ba(e)||ka(e)||Ea(e)||Pa(e)?e:Array.isArray(e)?jn.array(e,{name:n,deep:!1}):yt(e)?jn.object(e,void 0,{name:n,deep:!1}):xt(e)?jn.map(e,{name:n,deep:!1}):wt(e)?jn.set(e,{name:n,deep:!1}):void 0}}),gn=on("observable.struct",{enhancer:function(e,t){return ti(e,t)?t:e}}),_n=Bt(mn);function bn(e){return!0===e.deep?Gt:!1===e.deep?Zt:function(e){var t,n;return e&&null!=(t=null==(n=e.options_)?void 0:n.enhancer)?t:Gt}(e.defaultDecorator)}function kn(e,t,n){if(!mt(t))return Kr(e)?e:yt(e)?jn.object(e,t,n):Array.isArray(e)?jn.array(e,t):xt(e)?jn.map(e,t):wt(e)?jn.set(e,t):"object"===typeof e&&null!==e?e:jn.box(e,t);zt(e,t,mn)}Object.assign(kn,_n);var xn,wn,jn=rt(kn,{box:function(e,t){var n=hn(t);return new Fn(e,bn(n),n.name,!0,n.equals)},array:function(e,t){var n=hn(t);return(!1===or.useProxies||!1===n.proxy?Qa:fa)(e,bn(n),n.name)},map:function(e,t){var n=hn(t);return new Na(e,bn(n),n.name)},set:function(e,t){var n=hn(t);return new Ta(e,bn(n),n.name)},object:function(e,t,n){return Br(!1===or.useProxies||!1===(null==n?void 0:n.proxy)?Ra({},n):function(e,t){var n,r;return dt(),e=Ra(e,t),null!=(r=(n=e[Ft]).proxy_)?r:n.proxy_=new Proxy(e,Jr)}({},n),e,t)},ref:Bt(vn),shallow:Bt(yn),deep:_n,struct:Bt(gn)}),Sn="computed",Cn=nn(Sn),Nn=nn("computed.struct",{equals:Ht.structural}),En=function(e,t){if(mt(t))return zt(e,t,Cn);if(yt(e))return Bt(nn(Sn,e));var n=yt(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Vn(n)};Object.assign(En,Cn),En.struct=Bt(Nn);var On,Tn=0,Pn=1,Dn=null!=(xn=null==(wn=at((function(){}),"name"))?void 0:wn.configurable)&&xn,An={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ln(e,t,n,r){function a(){return Rn(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),a.isMobxAction=!0,Dn&&(An.value=e,Object.defineProperty(a,"name",An)),a}function Rn(e,t,n,r,a){var i=function(e,t,n,r){var a=!1,i=0;0;var o=or.trackingDerivation,s=!t||!o;cr();var l=or.allowStateChanges;s&&(Xn(),l=Mn(!0));var u=er(!0),c={runAsAction_:s,prevDerivation_:o,prevAllowStateChanges_:l,prevAllowStateReads_:u,notifySpy_:a,startTime_:i,actionId_:Pn++,parentActionId_:Tn};return Tn=c.actionId_,c}(0,t);try{return n.apply(r,a)}catch(o){throw i.error_=o,o}finally{!function(e){Tn!==e.actionId_&&et(30);Tn=e.parentActionId_,void 0!==e.error_&&(or.suppressReactionErrors=!0);Bn(e.prevAllowStateChanges_),tr(e.prevAllowStateReads_),dr(),e.runAsAction_&&Jn(e.prevDerivation_);0;or.suppressReactionErrors=!1}(i)}}function In(e,t){var n=Mn(e);try{return t()}finally{Bn(n)}}function Mn(e){var t=or.allowStateChanges;return or.allowStateChanges=e,t}function Bn(e){or.allowStateChanges=e}On=Symbol.toPrimitive;var zn,Fn=function(e){function t(t,n,r,a,i){var o;return void 0===r&&(r="ObservableValue"),void 0===a&&(a=!0),void 0===i&&(i=Ht.default),(o=e.call(this,r)||this).enhancer=void 0,o.name_=void 0,o.equals=void 0,o.hasUnreportedChange_=!1,o.interceptors_=void 0,o.changeListeners_=void 0,o.value_=void 0,o.dehancer=void 0,o.enhancer=n,o.name_=r,o.equals=i,o.value_=n(t,void 0,r),o}Dt(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_;if((e=this.prepareNewValue_(e))!==or.UNCHANGED){0,this.setNewValue_(e)}},n.prepareNewValue_=function(e){if(qn(this),ea(this)){var t=na(this,{object:this,type:ua,newValue:e});if(!t)return or.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?or.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),ra(this)&&ia(this,{type:ua,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return ta(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:ua,newValue:this.value_,oldValue:void 0}),aa(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return Ct(this.get())},n[On]=function(){return this.valueOf()},t}(Ut);zn=Symbol.toPrimitive;var Un,Wn,Vn=function(){function e(e){this.dependenciesState_=Un.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Un.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Gn(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Wn.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||et(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ln("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?Ht.structural:Ht.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==Un.UP_TO_DATE_)return;e.lowestObserverState_=Un.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Un.UP_TO_DATE_&&(e.dependenciesState_=Un.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing_&&et(32,this.name_,this.derivation),0!==or.inBatch||0!==this.observers_.size||this.keepAlive_){if(fr(this),$n(this)){var e=or.trackingContext;this.keepAlive_&&!e&&(or.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===Un.STALE_)return;e.lowestObserverState_=Un.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Un.POSSIBLY_STALE_?t.dependenciesState_=Un.STALE_:t.dependenciesState_===Un.UP_TO_DATE_&&(e.lowestObserverState_=Un.UP_TO_DATE_)}))}(this),or.trackingContext=e}}else $n(this)&&(this.warnAboutUntrackedRead_(),cr(),this.value_=this.computeValue_(!1),dr());var t=this.value_;if(Zn(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&et(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else et(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Un.NOT_TRACKING_,n=this.computeValue_(!0),r=t||Zn(e)||Zn(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=Mn(!1);if(e)t=Kn(this,this.derivation,this.scope_);else if(!0===or.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(r){t=new Gn(r)}return Bn(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(Qn(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,a=void 0;return Tr((function(){var i=n.get();if(!r||t){var o=Xn();e({observableKind:"computed",debugObjectName:n.name_,type:ua,object:n,newValue:i,oldValue:a}),Jn(o)}r=!1,a=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return Ct(this.get())},t[zn]=function(){return this.valueOf()},e}(),Hn=kt("ComputedValue",Vn);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(Un||(Un={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Wn||(Wn={}));var Gn=function(e){this.cause=void 0,this.cause=e};function Zn(e){return e instanceof Gn}function $n(e){switch(e.dependenciesState_){case Un.UP_TO_DATE_:return!1;case Un.NOT_TRACKING_:case Un.STALE_:return!0;case Un.POSSIBLY_STALE_:for(var t=er(!0),n=Xn(),r=e.observing_,a=r.length,i=0;i<a;i++){var o=r[i];if(Hn(o)){if(or.disableErrorBoundaries)o.get();else try{o.get()}catch(s){return Jn(n),tr(t),!0}if(e.dependenciesState_===Un.STALE_)return Jn(n),tr(t),!0}}return nr(e),Jn(n),tr(t),!1}}function qn(e){}function Kn(e,t,n){var r=er(!0);nr(e),e.newObserving_=new Array(e.observing_.length+100),e.unboundDepsCount_=0,e.runId_=++or.runId;var a,i=or.trackingDerivation;if(or.trackingDerivation=e,or.inBatch++,!0===or.disableErrorBoundaries)a=t.call(n);else try{a=t.call(n)}catch(o){a=new Gn(o)}return or.inBatch--,or.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Un.UP_TO_DATE_,a=0,i=e.unboundDepsCount_,o=0;o<i;o++){var s=n[o];0===s.diffValue_&&(s.diffValue_=1,a!==o&&(n[a]=s),a++),s.dependenciesState_>r&&(r=s.dependenciesState_)}n.length=a,e.newObserving_=null,i=t.length;for(;i--;){var l=t[i];0===l.diffValue_&&lr(l,e),l.diffValue_=0}for(;a--;){var u=n[a];1===u.diffValue_&&(u.diffValue_=0,sr(u,e))}r!==Un.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),tr(r),a}function Qn(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)lr(t[n],e);e.dependenciesState_=Un.NOT_TRACKING_}function Yn(e){var t=Xn();try{return e()}finally{Jn(t)}}function Xn(){var e=or.trackingDerivation;return or.trackingDerivation=null,e}function Jn(e){or.trackingDerivation=e}function er(e){var t=or.allowStateReads;return or.allowStateReads=e,t}function tr(e){or.allowStateReads=e}function nr(e){if(e.dependenciesState_!==Un.UP_TO_DATE_){e.dependenciesState_=Un.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Un.UP_TO_DATE_}}var rr=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},ar=!0,ir=!1,or=function(){var e=nt();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ar=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new rr).version&&(ar=!1),ar?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new rr):(setTimeout((function(){ir||et(35)}),1),new rr)}();function sr(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function lr(e,t){e.observers_.delete(t),0===e.observers_.size&&ur(e)}function ur(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,or.pendingUnobservations.push(e))}function cr(){or.inBatch++}function dr(){if(0===--or.inBatch){vr();for(var e=or.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,0===n.observers_.size&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof Vn&&n.suspend_())}or.pendingUnobservations=[]}}function fr(e){var t=or.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved_&&or.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),e.isBeingObserved_):(0===e.observers_.size&&or.inBatch>0&&ur(e),!1)}function pr(e){e.lowestObserverState_!==Un.STALE_&&(e.lowestObserverState_=Un.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Un.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Un.STALE_})))}var hr=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Un.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=Wn.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,or.pendingReactions.push(this),vr())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){cr(),this.isScheduled_=!1;var e=or.trackingContext;if(or.trackingContext=this,$n(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(t){this.reportExceptionInDerivation_(t)}}or.trackingContext=e,dr()}},t.track=function(e){if(!this.isDisposed_){cr();0,this.isRunning_=!0;var t=or.trackingContext;or.trackingContext=this;var n=Kn(this,e,void 0);or.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&Qn(this),Zn(n)&&this.reportExceptionInDerivation_(n.cause),dr()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(or.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";or.suppressReactionErrors||console.error(n,e),or.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(cr(),Qn(this),dr()))},t.getDisposer_=function(){var e=this.dispose.bind(this);return e[Ft]=this,e},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),function(){et("trace() is not available in production builds");for(var e=!1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"boolean"===typeof n[n.length-1]&&(e=n.pop());var a=Qr(n);if(!a)return et("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");a.isTracing_===Wn.NONE&&console.log("[mobx.trace] '"+a.name_+"' tracing enabled");a.isTracing_=e?Wn.BREAK:Wn.LOG}(this,e)},e}();var mr=function(e){return e()};function vr(){or.inBatch>0||or.isRunningReactions||mr(yr)}function yr(){or.isRunningReactions=!0;for(var e=or.pendingReactions,t=0;e.length>0;){100===++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,a=n.length;r<a;r++)n[r].runReaction_()}or.isRunningReactions=!1}var gr=kt("Reaction",hr);var _r="action",br="autoAction",kr="<unnamed action>",xr=qt(_r),wr=qt("action.bound",{bound:!0}),jr=qt(br,{autoAction:!0}),Sr=qt("autoAction.bound",{autoAction:!0,bound:!0});function Cr(e){return function(t,n){return ht(t)?Ln(t.name||kr,t,e):ht(n)?Ln(t,n,e):mt(n)?zt(t,n,e?jr:xr):mt(t)?Bt(qt(e?br:_r,{name:t,autoAction:e})):void 0}}var Nr=Cr(!1);Object.assign(Nr,xr);var Er=Cr(!0);function Or(e){return ht(e)&&!0===e.isMobxAction}function Tr(e,t){var n,r;void 0===t&&(t=lt);var a,i=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(!t.scheduler&&!t.delay)a=new hr(i,(function(){this.track(l)}),t.onError,t.requiresObservable);else{var o=Dr(t),s=!1;a=new hr(i,(function(){s||(s=!0,o((function(){s=!1,a.isDisposed_||a.track(l)})))}),t.onError,t.requiresObservable)}function l(){e(a)}return a.schedule_(),a.getDisposer_()}Object.assign(Er,jr),Nr.bound=Bt(wr),Er.bound=Bt(Sr);var Pr=function(e){return e()};function Dr(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Pr}var Ar="onBO";function Lr(e,t,n){return Rr("onBUO",e,t,n)}function Rr(e,t,n,r){var a="function"===typeof r?Ya(t,n):Ya(t),i=ht(r)?r:n,o=e+"L";return a[o]?a[o].add(i):a[o]=new Set([i]),function(){var e=a[o];e&&(e.delete(i),0===e.size&&delete a[o])}}var Ir="always";function Mr(e){!0===e.isolateGlobalState&&function(){if((or.pendingReactions.length||or.inBatch||or.isRunningReactions)&&et(36),ir=!0,ar){var e=nt();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),or=new rr}}();var t=e.useProxies,n=e.enforceActions;if(void 0!==t&&(or.useProxies=t===Ir||"never"!==t&&"undefined"!==typeof Proxy),"ifavailable"===t&&(or.verifyProxies=!0),void 0!==n){var r=n===Ir?Ir:"observed"===n;or.enforceActions=r,or.allowStateChanges=!0!==r&&r!==Ir}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(or[t]=!!e[t])})),or.allowStateReads=!or.observableRequiresReaction,e.reactionScheduler&&function(e){var t=mr;mr=function(n){return e((function(){return t(n)}))}}(e.reactionScheduler)}function Br(e,t,n,r){var a=Et(t),i=Ra(e,r)[Ft];cr();try{St(a).forEach((function(e){i.extend_(e,a[e],!n||(!(e in n)||n[e]))}))}finally{dr()}return e}function zr(e,t){return Fr(Ya(e,t))}function Fr(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Fr)),n}var Ur=0;function Wr(){this.message="FLOW_CANCELLED"}Wr.prototype=Object.create(Error.prototype);var Vr=Xt("flow"),Hr=Xt("flow.bound",{bound:!0}),Gr=Object.assign((function(e,t){if(mt(t))return zt(e,t,Vr);var n=e,r=n.name||"<unnamed flow>",a=function(){var e,t=this,a=arguments,i=++Ur,o=Nr(r+" - runid: "+i+" - init",n).apply(t,a),s=void 0,l=new Promise((function(t,n){var a=0;function l(e){var t;s=void 0;try{t=Nr(r+" - runid: "+i+" - yield "+a++,o.next).call(o,e)}catch(l){return n(l)}c(t)}function u(e){var t;s=void 0;try{t=Nr(r+" - runid: "+i+" - yield "+a++,o.throw).call(o,e)}catch(l){return n(l)}c(t)}function c(e){if(!ht(null==e?void 0:e.then))return e.done?t(e.value):(s=Promise.resolve(e.value)).then(l,u);e.then(c,n)}e=n,l(void 0)}));return l.cancel=Nr(r+" - runid: "+i+" - cancel",(function(){try{s&&Zr(s);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(pt,pt),Zr(n),e(new Wr)}catch(r){e(r)}})),l};return a.isMobXFlow=!0,a}),Vr);function Zr(e){ht(e.cancel)&&e.cancel()}function $r(e){return!0===(null==e?void 0:e.isMobXFlow)}function qr(e,t){return!!e&&(void 0!==t?!!Ba(e)&&e[Ft].values_.has(t):Ba(e)||!!e[Ft]||Wt(e)||gr(e)||Hn(e))}function Kr(e){return qr(e)}function Qr(e){switch(e.length){case 0:return or.trackingDerivation;case 1:return Ya(e[0]);case 2:return Ya(e[0],e[1])}}function Yr(e,t){void 0===t&&(t=void 0),cr();try{return e.apply(t)}finally{dr()}}function Xr(e){return e[Ft]}Gr.bound=Bt(Hr);var Jr={has:function(e,t){return Xr(e).has_(t)},get:function(e,t){return Xr(e).get_(t)},set:function(e,t,n){var r;return!!mt(t)&&(null==(r=Xr(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!mt(t)&&(null==(n=Xr(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=Xr(e).defineProperty_(t,n))||r},ownKeys:function(e){return Xr(e).ownKeys_()},preventExtensions:function(e){et(13)}};function ea(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function ta(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),ft((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function na(e,t){var n=Xn();try{for(var r=[].concat(e.interceptors_||[]),a=0,i=r.length;a<i&&((t=r[a](t))&&!t.type&&et(14),t);a++);return t}finally{Jn(n)}}function ra(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function aa(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),ft((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function ia(e,t){var n=Xn(),r=e.changeListeners_;if(r){for(var a=0,i=(r=r.slice()).length;a<i;a++)r[a](t);Jn(n)}}function oa(e,t,n){var r=Ra(e,n)[Ft];cr();try{0,null!=t||(t=function(e){return Nt(e,Mt)||_t(e,Mt,Pt({},e[Mt])),e[Mt]}(e)),St(t).forEach((function(e){return r.make_(e,t[e])}))}finally{dr()}return e}var sa=Symbol("mobx-keys");var la="splice",ua="update",ca={get:function(e,t){var n=e[Ft];return t===Ft?n:"length"===t?n.getArrayLength_():"string"!==typeof t||isNaN(t)?Nt(pa,t)?pa[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[Ft];return"length"===t&&r.setArrayLength_(n),"symbol"===typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){et(15)}},da=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new Ut(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return ta(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),aa(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!==typeof e||isNaN(e)||e<0)&&et("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&et(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Ka(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var a=this.values_.length;if(void 0===e?e=0:e>a?e=a:e<0&&(e=Math.max(0,a+e)),t=1===arguments.length?a-e:void 0===t||null===t?0:Math.max(0,Math.min(t,a-e)),void 0===n&&(n=st),ea(this)){var i=na(this,{object:this.proxy_,type:la,index:e,removedCount:t,added:n});if(!i)return st;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var o=n.length-t;this.updateArrayLength_(a,o)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var a=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var o=0;o<n.length;o++)this.values_[e+o]=n[o];for(var s=0;s<i.length;s++)this.values_[e+n.length+s]=i[s];return a},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,a=ra(this),i=a||r?{observableKind:"array",object:this.proxy_,type:ua,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),a&&ia(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,a=ra(this),i=a||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:la,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),a&&ia(this,i)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&et(17,e,n.length),e<n.length){this.atom_;var r=n[e];if(ea(this)){var a=na(this,{type:ua,object:this.proxy_,index:e,newValue:t});if(!a)return;t=a.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}else{for(var i=new Array(e+1-n.length),o=0;o<i.length-1;o++)i[o]=void 0;i[i.length-1]=t,this.spliceWithArray_(n.length,0,i)}},e}();function fa(e,t,n,r){void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),dt();var a=new da(n,t,r,!1);bt(a.values_,Ft,a);var i=new Proxy(a.values_,ca);if(a.proxy_=i,e&&e.length){var o=Mn(!0);a.spliceWithArray_(0,0,e),Bn(o)}return i}var pa={clear:function(){return this.splice(0)},replace:function(e){var t=this[Ft];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];var i=this[Ft];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[Ft].spliceWithArray_(e,t,n)},push:function(){for(var e=this[Ft],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[Ft].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[Ft],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return or.trackingDerivation&&et(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){or.trackingDerivation&&et(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[Ft],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function ha(e,t){"function"===typeof Array.prototype[e]&&(pa[e]=t(e))}function ma(e){return function(){var t=this[Ft];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function va(e){return function(t,n){var r=this,a=this[Ft];return a.atom_.reportObserved(),a.dehanceValues_(a.values_)[e]((function(e,a){return t.call(n,e,a,r)}))}}function ya(e){return function(){var t=this,n=this[Ft];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),a=arguments[0];return arguments[0]=function(e,n,r){return a(e,n,r,t)},r[e].apply(r,arguments)}}ha("concat",ma),ha("flat",ma),ha("includes",ma),ha("indexOf",ma),ha("join",ma),ha("lastIndexOf",ma),ha("slice",ma),ha("toString",ma),ha("toLocaleString",ma),ha("every",va),ha("filter",va),ha("find",va),ha("findIndex",va),ha("flatMap",va),ha("forEach",va),ha("map",va),ha("some",va),ha("reduce",ya),ha("reduceRight",ya);var ga,_a,ba=kt("ObservableArrayAdministration",da);function ka(e){return vt(e)&&ba(e[Ft])}var xa={},wa="add",ja="delete";ga=Symbol.iterator,_a=Symbol.toStringTag;var Sa,Ca,Na=function(){function e(e,t,n){var r=this;void 0===t&&(t=Gt),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Ft]=xa,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,ht(Map)||et(18),this.keysAtom_=Vt("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,In(!0,(function(){r.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!or.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new Fn(this.has_(e),Zt,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Lr(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(ea(this)){var r=na(this,{type:n?ua:wa,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((this.keysAtom_,ea(this))&&!na(this,{type:ja,object:this,name:e}))return!1;if(this.has_(e)){var n=ra(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:ja,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return Yr((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&ia(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==or.UNCHANGED){var r=ra(this),a=r?{observableKind:"map",debugObjectName:this.name_,type:ua,object:this,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),r&&ia(this,a)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,Yr((function(){var r,a=new Fn(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,a),t=a.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=ra(this),a=r?{observableKind:"map",debugObjectName:this.name_,type:wa,object:this,name:e,newValue:t}:null;r&&ia(this,a)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return ai({next:function(){var n=t.next(),r=n.done,a=n.value;return{done:r,value:r?void 0:e.get(a)}}})},t.entries=function(){var e=this,t=this.keys();return ai({next:function(){var n=t.next(),r=n.done,a=n.value;return{done:r,value:r?void 0:[a,e.get(a)]}}})},t[ga]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=It(this);!(n=r()).done;){var a=n.value,i=a[0],o=a[1];e.call(t,o,i,this)}},t.merge=function(e){var t=this;return Ea(e)&&(e=new Map(e)),Yr((function(){yt(e)?function(e){var t=Object.keys(e);if(!jt)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return ot.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):xt(e)?(e.constructor!==Map&&et(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!==e&&void 0!==e&&et(20,e)})),this},t.clear=function(){var e=this;Yr((function(){Yn((function(){for(var t,n=It(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return Yr((function(){for(var n,r=function(e){if(xt(e)||Ea(e))return e;if(Array.isArray(e))return new Map(e);if(yt(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return et(21,e)}(e),a=new Map,i=!1,o=It(t.data_.keys());!(n=o()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))i=!0;else{var l=t.data_.get(s);a.set(s,l)}}for(var u,c=It(r.entries());!(u=c()).done;){var d=u.value,f=d[0],p=d[1],h=t.data_.has(f);if(t.set(f,p),t.data_.has(f)){var m=t.data_.get(f);a.set(f,m),h||(i=!0)}}if(!i)if(t.data_.size!==a.size)t.keysAtom_.reportChanged();else for(var v=t.data_.keys(),y=a.keys(),g=v.next(),_=y.next();!g.done;){if(g.value!==_.value){t.keysAtom_.reportChanged();break}g=v.next(),_=y.next()}t.data_=a})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return aa(this,e)},t.intercept_=function(e){return ta(this,e)},Tt(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:_a,get:function(){return"Map"}}]),e}(),Ea=kt("ObservableMap",Na);var Oa={};Sa=Symbol.iterator,Ca=Symbol.toStringTag;var Ta=function(){function e(e,t,n){void 0===t&&(t=Gt),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[Ft]=Oa,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,ht(Set)||et(22),this.atom_=Vt(this.name_),this.enhancer_=function(e,r){return t(e,r,n)},e&&this.replace(e)}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;Yr((function(){Yn((function(){for(var t,n=It(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=It(this);!(n=r()).done;){var a=n.value;e.call(t,a,a,this)}},t.add=function(e){var t=this;if((this.atom_,ea(this))&&!na(this,{type:wa,object:this,newValue:e}))return this;if(!this.has(e)){Yr((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=!1,r=ra(this),a=r?{observableKind:"set",debugObjectName:this.name_,type:wa,object:this,newValue:e}:null;n,r&&ia(this,a)}return this},t.delete=function(e){var t=this;if(ea(this)&&!na(this,{type:ja,object:this,oldValue:e}))return!1;if(this.has(e)){var n=ra(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:ja,object:this,oldValue:e}:null;return Yr((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&ia(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return ai({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return ai({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.replace=function(e){var t=this;return Pa(e)&&(e=new Set(e)),Yr((function(){Array.isArray(e)||wt(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!==e&&void 0!==e&&et("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return aa(this,e)},t.intercept_=function(e){return ta(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Sa]=function(){return this.values()},Tt(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Ca,get:function(){return"Set"}}]),e}(),Pa=kt("ObservableSet",Ta),Da=Object.create(null),Aa="remove",La=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=un),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new Ut("ObservableObject.keys"),this.isPlainObject_=yt(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof Vn)return n.set(t),!0;if(ea(this)){var r=na(this,{type:ua,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==or.UNCHANGED){var a=ra(this),i=a?{type:ua,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),a&&ia(this,i)}return!0},t.get_=function(e){return or.trackingDerivation&&!Nt(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),Nt(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!or.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new Fn(e in this.target_,Zt,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(Fa(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[Mt])&&n[e])return;et(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==ot;){var a=at(r,e);if(a){var i=t.make_(this,e,a,r);if(0===i)return;if(1===i)break}r=Object.getPrototypeOf(r)}za(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);Fa(this,n,e);var a=n.extend_(this,e,t,r);return a&&za(this,n,e),a},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1);try{cr();var r=this.delete_(e);if(!r)return r;if(ea(this)){var a=na(this,{object:this.proxy_||this.target_,name:e,type:wa,newValue:t.value});if(!a)return null;var i=a.newValue;t.value!==i&&(t=Pt({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else it(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{dr()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1);try{cr();var a=this.delete_(e);if(!a)return a;if(ea(this)){var i=na(this,{object:this.proxy_||this.target_,name:e,type:wa,newValue:t});if(!i)return null;t=i.newValue}var o=Ma(e),s={configurable:!or.safeDescriptors||this.isPlainObject_,enumerable:!0,get:o.get,set:o.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else it(this.target_,e,s);var l=new Fn(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{dr()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1);try{cr();var r=this.delete_(e);if(!r)return r;if(ea(this))if(!na(this,{object:this.proxy_||this.target_,name:e,type:wa,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var a=Ma(e),i={configurable:!or.safeDescriptors||this.isPlainObject_,enumerable:!1,get:a.get,set:a.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else it(this.target_,e,i);this.values_.set(e,new Vn(t)),this.notifyPropertyAddition_(e,void 0)}finally{dr()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),!Nt(this.target_,e))return!0;if(ea(this)&&!na(this,{object:this.proxy_||this.target_,name:e,type:Aa}))return null;try{var n,r;cr();var a,i=ra(this),o=this.values_.get(e),s=void 0;if(!o&&i)s=null==(a=at(this.target_,e))?void 0:a.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(o&&(this.values_.delete(e),o instanceof Fn&&(s=o.value_),pr(o)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(e in this.target_),i){var l={type:Aa,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};0,i&&ia(this,l)}}finally{dr()}return!0},t.observe_=function(e,t){return aa(this,e)},t.intercept_=function(e){return ta(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r,a=ra(this);if(a){var i=a?{type:wa,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;0,a&&ia(this,i)}null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),St(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function Ra(e,t){var n;if(Nt(e,Ft))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",a=new La(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:cn(e):void 0}(t));return _t(e,Ft,a),e}var Ia=kt("ObservableObjectAdministration",La);function Ma(e){return Da[e]||(Da[e]={get:function(){return this[Ft].getObservablePropValue_(e)},set:function(t){return this[Ft].setObservablePropValue_(e,t)}})}function Ba(e){return!!vt(e)&&Ia(e[Ft])}function za(e,t,n){var r;null==(r=e.target_[Mt])||delete r[n]}function Fa(e,t,n){}var Ua,Wa,Va=$a(0),Ha=0,Ga=function(){};Ua=Ga,Wa=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Ua.prototype,Wa):void 0!==Ua.prototype.__proto__?Ua.prototype.__proto__=Wa:Ua.prototype=Wa;var Za=function(e,t,n){function r(t,n,r,a){var i;void 0===r&&(r="ObservableArray"),void 0===a&&(a=!1),i=e.call(this)||this;var o=new da(r,n,a,!0);if(o.proxy_=Lt(i),bt(Lt(i),Ft,o),t&&t.length){var s=Mn(!0);i.spliceWithArray(0,0,t),Bn(s)}return Object.defineProperty(Lt(i),"0",Va),i}Dt(r,e);var a=r.prototype;return a.concat=function(){this[Ft].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return ka(e)?e.slice():e})))},a[n]=function(){var e=this,t=0;return ai({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},Tt(r,[{key:"length",get:function(){return this[Ft].getArrayLength_()},set:function(e){this[Ft].setArrayLength_(e)}},{key:t,get:function(){return"Array"}}]),r}(Ga,Symbol.toStringTag,Symbol.iterator);function $a(e){return{enumerable:!1,configurable:!0,get:function(){return this[Ft].get_(e)},set:function(t){this[Ft].set_(e,t)}}}function qa(e){it(Za.prototype,""+e,$a(e))}function Ka(e){if(e>Ha){for(var t=Ha;t<e+100;t++)qa(t);Ha=e}}function Qa(e,t,n){return new Za(e,t,n)}function Ya(e,t){if("object"===typeof e&&null!==e){if(ka(e))return void 0!==t&&et(23),e[Ft].atom_;if(Pa(e))return e[Ft];if(Ea(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||et(25,t,Ja(e)),n}if(Ba(e)){if(!t)return et(26);var r=e[Ft].values_.get(t);return r||et(27,t,Ja(e)),r}if(Wt(e)||Hn(e)||gr(e))return e}else if(ht(e)&&gr(e[Ft]))return e[Ft];et(28)}function Xa(e,t){return e||et(29),void 0!==t?Xa(Ya(e,t)):Wt(e)||Hn(e)||gr(e)||Ea(e)||Pa(e)?e:e[Ft]?e[Ft]:void et(24,e)}function Ja(e,t){var n;if(void 0!==t)n=Ya(e,t);else{if(Or(e))return e.name;n=Ba(e)||Ea(e)||Pa(e)?Xa(e):Ya(e)}return n.name_}Object.entries(pa).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&_t(Za.prototype,t,n)})),Ka(1e3);var ei=ot.toString;function ti(e,t,n){return void 0===n&&(n=-1),ni(e,t,n)}function ni(e,t,n,r,a){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var i=typeof e;if("function"!==i&&"object"!==i&&"object"!=typeof t)return!1;var o=ei.call(e);if(o!==ei.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e===""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return"undefined"!==typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=ri(e),t=ri(t);var s="[object Array]"===o;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,u=t.constructor;if(l!==u&&!(ht(l)&&l instanceof l&&ht(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),a=a||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return a[c]===t;if(r.push(e),a.push(t),s){if((c=e.length)!==t.length)return!1;for(;c--;)if(!ni(e[c],t[c],n-1,r,a))return!1}else{var d,f=Object.keys(e);if(c=f.length,Object.keys(t).length!==c)return!1;for(;c--;)if(!Nt(t,d=f[c])||!ni(e[d],t[d],n-1,r,a))return!1}return r.pop(),a.pop(),!0}function ri(e){return ka(e)?e.slice():xt(e)||Ea(e)||wt(e)||Pa(e)?Array.from(e.entries()):e}function ai(e){return e[Symbol.iterator]=ii,e}function ii(){return this}if(["Symbol","Map","Set"].forEach((function(e){"undefined"===typeof nt()[e]&&et("MobX requires global '"+e+"' to be available or polyfilled")})),"object"===typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:Ja},$mobx:Ft}),!e.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!oa)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function oi(e){e()}function si(e){return zr(e)}var li="undefined"===typeof FinalizationRegistry?void 0:FinalizationRegistry;function ui(e){return{reaction:e,mounted:!1,changedBeforeMount:!1,cleanAt:Date.now()+ci}}var ci=1e4;var di=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};var fi=li?function(e){var t=new Map,n=1,r=new e((function(e){var n=t.get(e);n&&(n.reaction.dispose(),t.delete(e))}));return{addReactionToTrack:function(e,a,i){var o=n++;return r.register(i,o,e),e.current=ui(a),e.current.finalizationRegistryCleanupToken=o,t.set(o,e.current),e.current},recordReactionAsCommitted:function(e){r.unregister(e),e.current&&e.current.finalizationRegistryCleanupToken&&t.delete(e.current.finalizationRegistryCleanupToken)},forceCleanupTimerToRunNowForTests:function(){},resetCleanupScheduleForTests:function(){}}}(li):function(){var e,t=new Set;function n(){void 0===e&&(e=setTimeout(r,1e4))}function r(){e=void 0;var r=Date.now();t.forEach((function(e){var n=e.current;n&&r>=n.cleanAt&&(n.reaction.dispose(),e.current=null,t.delete(e))})),t.size>0&&n()}return{addReactionToTrack:function(e,r,a){var i;return e.current=ui(r),i=e,t.add(i),n(),e.current},recordReactionAsCommitted:function(e){t.delete(e)},forceCleanupTimerToRunNowForTests:function(){e&&(clearTimeout(e),r())},resetCleanupScheduleForTests:function(){var n,r;if(t.size>0){try{for(var a=di(t),i=a.next();!i.done;i=a.next()){var o=i.value,s=o.current;s&&(s.reaction.dispose(),o.current=null)}}catch(l){n={error:l}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}t.clear()}e&&(clearTimeout(e),e=void 0)}}}(),pi=fi.addReactionToTrack,hi=fi.recordReactionAsCommitted,mi=(fi.resetCleanupScheduleForTests,fi.forceCleanupTimerToRunNowForTests,!1);function vi(){return mi}var yi=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(s){a={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o};function gi(e){return"observer".concat(e)}var _i=function(){};function bi(){return new _i}function ki(t,n){if(void 0===n&&(n="observed"),vi())return t();var r=yi(e.useState(bi),1)[0],a=yi(e.useState(),2)[1],i=function(){return a([])},o=e.useRef(null);if(!o.current)var s=new hr(gi(n),(function(){l.mounted?i():l.changedBeforeMount=!0})),l=pi(o,s,r);var u,c,d=o.current.reaction;if(e.useDebugValue(d,si),e.useEffect((function(){return hi(o),o.current?(o.current.mounted=!0,o.current.changedBeforeMount&&(o.current.changedBeforeMount=!1,i())):(o.current={reaction:new hr(gi(n),(function(){i()})),mounted:!0,changedBeforeMount:!1,cleanAt:1/0},i()),function(){o.current.reaction.dispose(),o.current=null}}),[]),d.track((function(){try{u=t()}catch(e){c=e}})),c)throw c;return u}var xi="function"===typeof Symbol&&Symbol.for,wi=xi?Symbol.for("react.forward_ref"):"function"===typeof e.forwardRef&&(0,e.forwardRef)((function(e){return null})).$$typeof,ji=xi?Symbol.for("react.memo"):"function"===typeof e.memo&&(0,e.memo)((function(e){return null})).$$typeof;function Si(t,n){var r;if(ji&&t.$$typeof===ji)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(vi())return t;var a=null!==(r=null===n||void 0===n?void 0:n.forwardRef)&&void 0!==r&&r,i=t,o=t.displayName||t.name;if(wi&&t.$$typeof===wi&&(a=!0,"function"!==typeof(i=t.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s,l,u=function(e,t){return ki((function(){return i(e,t)}),o)};return""!==o&&(u.displayName=o),t.contextTypes&&(u.contextTypes=t.contextTypes),a&&(u=(0,e.forwardRef)(u)),u=(0,e.memo)(u),s=t,l=u,Object.keys(s).forEach((function(e){Ci[e]||Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(s,e))})),u}var Ci={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};!function(e){e||(e=oi),Mr({reactionScheduler:e})}(We.unstable_batchedUpdates);var Ni=l((function e(){a(this,e),this.state="WAITING",this.isInitialization=!0,function(e,t,n){if(yt(e))return Br(e,e,t,n);var r=Ra(e,n)[Ft];if(!e[sa]){var a=Object.getPrototypeOf(e),i=new Set([].concat(St(e),St(a)));i.delete("constructor"),i.delete(Ft),_t(a,sa,i)}cr();try{e[sa].forEach((function(e){return r.make_(e,!t||!(e in t)||t[e])}))}finally{dr()}}(this,{state:jn,isInitialization:jn})})),Ei=new Ni,Oi=Ge("getTotalByAuthor"),Ti=Ge("getFirstAndLast"),Pi=function(){function e(){a(this,e),Object.defineProperty(this,Ti,{value:Ai}),Object.defineProperty(this,Oi,{value:Di}),this.authors={}}return l(e,[{key:"get",value:function(e){return this.authors[e]?(0,r.Z)(this.authors[e]):[]}},{key:"updateByDataGrip",value:function(e){var t=Ve(this,Oi)[Oi](e),n=t.total,r=t.achievements,a=Ve(this,Ti)[Ti](n.nameLength);r[a.first].push("longestName"),r[a.last].push("shortestName");var i=Ve(this,Ti)[Ti](n.midMessage);r[i.first].push("everyMessageLong"),r[i.last].push("everyMessageShort"),r[Ve(this,Ti)[Ti](n.maxMessage).first].push("longestMessage");var o=Ve(this,Ti)[Ti](n.tasks);r[o.first].push("moreTasks"),r[o.last].push("lessTasks");var s=Ve(this,Ti)[Ti](n.days);r[s.first].push("moreWorkDays"),r[s.last].push("lessWorkDays");var l=Ve(this,Ti)[Ti](n.lazyDays);r[l.first].push("moreLazyDays"),r[l.last].push("lessLazyDays");var u=Ve(this,Ti)[Ti](n.allDaysInProject);r[u.first].push("moreDaysInProject"),r[u.last].push("lessDaysInProject"),this.authors=r}}]),e}();function Di(e){var t={},n={nameLength:[],maxMessage:[],midMessage:[],tasks:[],days:[],lazyDays:[],allDaysInProject:[]};return e.forEach((function(e){t[e.author]=[],n.nameLength.push([e.author,e.author.length]),n.maxMessage.push([e.author,e.messageLength[e.messageLength.length-1]]),n.midMessage.push([e.author,e.middleMessageLength]),n.tasks.push([e.author,e.tasks.length]),n.days.push([e.author,e.days]),n.lazyDays.push([e.author,e.lazyDays]),n.allDaysInProject.push([e.author,e.allDaysInProject])})),Object.keys(n).forEach((function(e){n[e].sort((function(e,t){return t[1]-e[1]}))})),{total:n,achievements:t}}function Ai(e){var t=e.shift(),n=e.pop()||t;return{first:t[0],last:n[0]}}var Li=new Pi;function Ri(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ii(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 Mi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach((function(t){Ri(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Bi=function(){function e(){a(this,e),this.commits=[],this.defaultFrom="",this.defaultTo="",this.TODAY=new Date,this.ONE_DAY=864e5,this.from="",this.to="",this.minCommits=20,this.isFullTime=!0,this.defaultSalary=18e4,this.defaultWorkDays=5,this.holidaysInYear=140,this.currency="RUB",this.salary={},this.workDays={},oa(this,{commits:jn,defaultFrom:jn,defaultTo:jn,TODAY:jn,ONE_DAY:jn,from:jn,to:jn,minCommits:jn,isFullTime:jn,defaultSalary:jn,defaultWorkDays:jn,holidaysInYear:jn,currency:jn,salary:jn,workDays:jn,updateByCommits:Nr,setFilterByDateType:Nr,updateProperty:Nr,setSalary:Nr})}return l(e,[{key:"getMiddleSalaryInMonth",value:function(e){return this.salary[e]||this.defaultSalary}},{key:"getMiddleSalaryInDay",value:function(e){var t=this.getMiddleSalaryInMonth(e),n=this.workDays[e]||this.defaultWorkDays;return t/Math.ceil(4.3*n)}},{key:"getValue",value:function(e){return e.split(".").reduce((function(e,t){return e[t]}),this)}},{key:"updateByCommits",value:function(e,t,n){this.commits=e,this.defaultFrom=t.timestamp,this.defaultTo=n.timestamp,this.TODAY=new Date(this.defaultTo),this.from=this.defaultFrom,this.to=this.defaultTo,this.minCommits=20}},{key:"setFilterByDateType",value:function(e){var t={year:365,halfYear:183,month:30,week:7,day:1}[e];this.from=t?new Date(this.TODAY.getTime()-this.ONE_DAY*t).toISOString().split("T")[0]:this.defaultFrom,this.to=this.defaultTo,this.minCommits={all:20,year:20,halfYear:10,month:2}[e]||1,ts.updateChars()}},{key:"updateProperty",value:function(e,t){this[e]=null!==t&&void 0!==t?t:null,ts.updateChars()}},{key:"setSalary",value:function(e,t){this.salary[e]=t||this.defaultSalary}}]),e}(),zi=new Bi;function Fi(e,t){if(t){if(2==e)return"\u0441\u0440\u0435\u0434\u0443";if(4==e)return"\u043f\u044f\u0442\u043d\u0438\u0446\u0443";if(5==e)return"\u0441\u0443\u0431\u0431\u043e\u0442\u0443"}return["\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0432\u0442\u043e\u0440\u043d\u0438\u043a","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043f\u044f\u0442\u043d\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043e\u0442\u0430","\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435"][e]}function Ui(e){var t=new Date(e),n=t.getDay()-1;return[t.toLocaleString("ru-RU",{day:"numeric",month:"long",year:"numeric"}),Fi(n<0?6:n)]}function Wi(e){return e<10?"0".concat(e):e}function Vi(e){return e?new Date(e).toLocaleString("ru-RU",{day:"numeric",month:"long",year:"numeric"}):""}function Hi(e,t){return(e||0).toLocaleString("ru-RU",Mi({style:"currency",currency:(null===zi||void 0===zi?void 0:zi.currency)||"USD",currencyDisplay:"symbol",maximumFractionDigits:0},t||{}))}function Gi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Hi(e,{notation:"compact",maximumFractionDigits:t})}function Zi(e){if(e===1/0||e===-1/0)return"\u2014";var t=e<15?1:0;return(e||0).toFixed(t)}function $i(e){var t,n=e.from,r=e.to;return n&&r?"".concat((t=n,t?new Date(t).toLocaleString("ru-RU",{day:"numeric",month:"long"}):"")," \u2014 ").concat(Vi(r)):"".concat(Vi(n)).concat(Vi(r))}var qi=function(){function e(){a(this,e)}return l(e,[{key:"getTotalInfo",value:function(e){var t=this;return e.author.list.reduce((function(n,r){var a=e.timestamp.statisticByAuthor[r],i=e.author.statisticByName[r],o=a.workByDay[5]+a.workByDay[6];return n[r]=[o?["".concat(o," \u0434\u043d\u0435\u0439"),"\u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445","error"]:null,i.daysLosses?["".concat(i.daysLosses," \u0434\u043d\u0435\u0439"),"\u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432, \u0434\u0430\u0436\u0435 \u0441 \u0443\u0447\u0451\u0442\u043e\u043c \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445, \u043e\u0442\u043f\u0443\u0441\u043a\u0430 \u0438 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u043e\u0432.","warning"]:null,["".concat(i.daysAll," \u0434\u043d\u0435\u0439"),"\u043e\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430 (\u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0438 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0438)","fact"],t.getFirstDay(a),t.getLastDay(a)].filter((function(e){return e})),n}),{})}},{key:"getFirstDay",value:function(e){var t=Ui(e.allCommitsByTimestamp[0].timestamp),r=(0,n.Z)(t,2),a=r[0],i=r[1];return[a,"\u0441\u0434\u0435\u043b\u0430\u043b \u043f\u0435\u0440\u0432\u044b\u0439 \u043a\u043e\u043c\u043c\u0438\u0442\n\n\u0414\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438: ".concat(i),"fact"]}},{key:"getLastDay",value:function(e){var t=Ui(e.allCommitsByTimestamp[e.allCommitsByTimestamp.length-1].timestamp),r=(0,n.Z)(t,2),a=r[0],i=r[1];return[a,"\u0441\u0434\u0435\u043b\u0430\u043b \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043a\u043e\u043c\u043c\u0438\u0442\n\n\u0414\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438: ".concat(i),"fact"]}}]),e}(),Ki=function(){function e(){a(this,e)}return l(e,[{key:"getTotalInfo",value:function(e){var t=this,n=e.week.statistic.slice(0,3);return e.author.list.reduce((function(e,r){return e[r]=[t.getLazyDays(n,r),t.getNotWork(n,r),t.getUpWork(n,r),t.getTasks(n,r)].filter((function(e){return e})),e}),{})}},{key:"getLazyDays",value:function(e,t){var n=e.map((function(e){return e.lazyDays[t]}));return n[0]<n[1]&&n[1]<n[2]?[Je.get("recommendations.week.lazyDays.down.title"),Je.get("recommendations.week.lazyDays.down.description"),"fact"]:n[0]>n[1]&&n[1]>n[2]?[Je.get("recommendations.week.lazyDays.up.title"),Je.get("recommendations.week.lazyDays.up.description"),"error"]:null}},{key:"getNotWork",value:function(e,t){var n=e.map((function(e){return e.lazyDays[t]}));return n[0]&&n[1]&&n[2]?[Je.get("recommendations.week.notWork.title"),Je.get("recommendations.week.notWork.description"),"error"]:null}},{key:"getUpWork",value:function(e,t){var n=e.map((function(e){return e.weekDays[t]}));return n[0]&&n[1]&&n[2]?[Je.get("recommendations.week.upWork.title"),Je.get("recommendations.week.upWork.description"),"error"]:null}},{key:"getTasks",value:function(e,t){var n=e.map((function(e){return e.taskInDay[t]}));return n[0]<n[1]&&n[1]<n[2]?[Je.get("recommendations.week.task.up.title"),Je.get("recommendations.week.task.up.description"),"fact"]:n[0]>n[1]&&n[1]>n[2]?[Je.get("recommendations.week.task.down.title"),Je.get("recommendations.week.task.down.description"),"error"]:null}}]),e}(),Qi=function(){function e(){a(this,e)}return l(e,[{key:"getTotalInfo",value:function(e){var t=[],n=[],r=[],a=[],i=[],o=[],s=1;return e.author.list.forEach((function(l){var u=e.author.statisticByName[l];if(u.isStaff)r.push(l);else if(u.isDismissed)n.push(l);else{t.push(l);var c=u.daysWorked/u.daysLosses;c>=0&&c<3&&a.unshift(l),c>=3&&c<5&&i.unshift(l),s*=c,100*Object.values(u.types).sort().pop()/u.commits>=70&&o.unshift(l)}})),s=Math.pow(s,1/t.length),[this.getProjectType(s),a.length?[a,Je.get("recommendations.author.lotOfLazy"),"error"]:null,i.length?[i,Je.get("recommendations.author.manyLazy"),"warning"]:null,o.length?[o,Je.get("recommendations.author.oneTypeMans"),"warning"]:null,t.length?["\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 ".concat(t.length),"\u043d\u0430\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442.\n\n# \u0421\u043e\u0441\u0442\u0430\u0432: \n- ".concat(t.join(";\n- "),";\n\n# \u041f\u043e\u0447\u0435\u043c\u0443 \u0438\u043c\u0435\u043d\u043d\u043e \u043e\u043d\u0438:\n- \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0434\u043d\u0435\u0439 \u0431\u043e\u043b\u0435\u0435 50%;\n- \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 30 \u0434\u043d\u0435\u0439;\n"),"fact"]:null,n.length?["\u0423\u0432\u043e\u043b\u0438\u043b\u043e\u0441\u044c ".concat(n.length),"\u0438\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u043a \u0432\u0440\u0435\u043c\u0435\u043d\u0438.\n\n# \u0421\u043e\u0441\u0442\u0430\u0432:\n- ".concat(n.join(";\n- "),";\n\n# \u041f\u043e\u0447\u0435\u043c\u0443 \u0438\u043c\u0435\u043d\u043d\u043e \u043e\u043d\u0438:\n- \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u0432 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0438\u0442\u043c\u0435 (\u0432\u0438\u0434\u0438\u043c\u043e, \u044d\u0442\u043e \u0438\u0445 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439);\n- \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 \u043d\u0435 \u0431\u044b\u043b\u043e \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430;\n- \u043e\u0442\u043f\u0443\u0441\u043a \u043e\u0431\u044b\u0447\u043d\u043e 14 \u0434\u043d\u0435\u0439 (\u0438\u0445 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043d\u0435 \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u043e\u0442\u043f\u0443\u0441\u043a);\n"),"fact"]:null,r.length?["\u041f\u043e\u043c\u043e\u0433\u0430\u044e\u0442 ".concat(r.length),"\u041b\u044e\u0434\u0438 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0442\u043e-\u043b\u0438\u0431\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0438\u043b\u0438.\n\n# \u0421\u043e\u0441\u0442\u0430\u0432: \n- ".concat(r.join(";\n- "),";\n\n# \u041f\u043e\u0447\u0435\u043c\u0443 \u0438\u043c\u0435\u043d\u043d\u043e \u043e\u043d\u0438:\n- \u044d\u0442\u043e \u043d\u0435 open-source \u043f\u0440\u043e\u0435\u043a\u0442;\n- \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0434\u043d\u0435\u0439 \u043c\u0435\u043d\u0435\u0435 15% \u043e\u0442 \u043e\u0431\u0449\u0435\u0433\u043e \u0447\u0438\u0441\u043b\u0430;\n- \u0438\u0437\u043c\u0435\u043d\u044f\u044e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043e\u0434\u043d\u0438 \u0438 \u0442\u0435 \u0436\u0435 \u0444\u0430\u0439\u043b\u044b;\n"),"fact"]:null].filter((function(e){return e}))}},{key:"getProjectType",value:function(e){return e<1?[Je.get("recommendations.author.projectType.openSource.title"),Je.get("recommendations.author.projectType.openSource.description"),"fact"]:e<5?[Je.get("recommendations.author.projectType.easy.title"),Je.get("recommendations.author.projectType.easy.description"),"error"]:null}}]),e}(),Yi=function(){function e(){a(this,e)}return l(e,[{key:"getTotalInfo",value:function(e){if(e.author.list.length<2)return[];var t=e.team.statistic;return[this.getWeekIsWork(t)].filter((function(e){return e}))}},{key:"getWeekIsWork",value:function(e){var t=Math.min.apply(Math,(0,r.Z)(e.commitsByDayAndHourTotal.slice(0,5))),n=Math.max.apply(Math,(0,r.Z)(e.commitsByDayAndHourTotal.slice(5,7)))/t;return n>.45?[Je.get("recommendations.hour.onlyWork.title"),Je.get("recommendations.hour.onlyWork.description"),"error"]:n>.2?[Je.get("recommendations.hour.weekends.title"),Je.get("recommendations.hour.weekends.description"),"error"]:n>0?[Je.get("recommendations.hour.easy.title"),Je.get("recommendations.hour.easy.description"),"warning"]:null}}]),e}(),Xi=function(){function e(){a(this,e)}return l(e,[{key:"getTotalInfo",value:function(e){var t=Hi(e.team.statistic.moneyWorked);return[this.getBusFactor(e),this.getManyTypes(e),this.getParallelism(e),[t,Je.get("recommendations.scope.money"),"fact"]].filter((function(e){return e}))}},{key:"getParallelism",value:function(e){if(e.author.list.length<3||e.scope.list.length<3)return null;var t=[];e.scope.statistic.forEach((function(n){var r=0;e.author.list.forEach((function(e){var t;r+=(null===(t=n.authors[e])||void 0===t?void 0:t.days)||0})),t.push(r/n.days)}));var n=t.reduce((function(e,t){return e+t}),0)/t.length;return n<1.3?[Je.get("recommendations.scope.parallelism.not.title"),Je.get("recommendations.scope.parallelism.not.description"),"fact"]:n<2?[Je.get("recommendations.scope.parallelism.has.title"),Je.get("recommendations.scope.parallelism.has.description"),"fact"]:[Je.get("recommendations.scope.parallelism.every.title"),Je.get("recommendations.scope.parallelism.every.description"),"fact"]}},{key:"getBusFactor",value:function(e){if(e.author.list.length<3||e.scope.list.length<3)return null;var t=e.scope.statistic.filter((function(t){var n=.8*t.commits;return e.author.list.some((function(e){var r;return(null===(r=t.authors[e])||void 0===r?void 0:r.commits)>=n}))})).map((function(e){return e.scope}));return t.length?t.length>.6*e.scope.statistic.length?[Je.get("recommendations.scope.bus.everyHasOne.title"),Je.get("recommendations.scope.bus.everyHasOne.description"),"warning"]:[t,Je.get("recommendations.scope.bus.oneMaintainer"),"error"]:null}},{key:"getManyTypes",value:function(e){if(e.scope.list.length<3)return null;var t=e.scope.statistic.filter((function(t){var n=.8*t.commits;return e.type.list.some((function(e){return t.types[e]>=n}))})).map((function(e){return e.scope}));return t.length>.6*e.scope.statistic.length?[Je.get("recommendations.scope.types.process.title"),[Je.get("recommendations.scope.types.process.description"),Je.get("recommendations.scope.types.common")].join("\n"),"warning"]:[t,[Je.get("recommendations.scope.types.one"),Je.get("recommendations.scope.types.common")].join("\n"),"warning"]}}]),e}(),Ji=function(){function e(){a(this,e)}return l(e,[{key:"getTotalInfo",value:function(e){if(e.author.list.length<2)return[];var t=e.timestamp.statistic,n=t.workByDay[5]+t.workByDay[6],r=t.allCommitsByTimestamp.length,a=function(e){var t=e>400?Math.trunc(e/365):0,n=(e-=365*t)>45?Math.trunc(e/30):0;return e-=30*n,"".concat(t," \u0433\u043e\u0434\u0430 ").concat(n," \u043c\u0435\u0441. ").concat(e," \u0434\u043d\u0435\u0439")}(t.allCommitsByTimestamp.length);return[n?["".concat(n," \u0434\u043d\u0435\u0439"),"\u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445\n\n# \u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043f\u043b\u043e\u0445\u043e:\n- \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a \u043f\u043b\u0430\u0442\u0438\u0442 \u0434\u0432\u043e\u0439\u043d\u0443\u044e \u0446\u0435\u043d\u0443 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0432 \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u0434\u0435\u043d\u044c;\n- \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0432\u044b\u0433\u043e\u0440\u0430\u044e\u0442;\n","error"]:null,this.getWorkOnWeek(t.allCommitsByTimestamp.length,n),[a,"(\u0438\u043b\u0438 ".concat(r," \u0434\u043d\u0435\u0439) \u043e\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430 (\u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0438 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0438)"),"fact"],this.getFirstDay(t),this.getLastDay(t)].filter((function(e){return e}))}},{key:"getWorkOnWeek",value:function(e,t){var n=100*t/e,r="\u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0441\u0442\u043e\u0438\u0442 \u0441\u043c\u0435\u043d\u0438\u0442\u044c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430 \u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u043e\u0440\u0430.\n\n# \u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043f\u043b\u043e\u0445\u043e:\n- \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a \u043f\u043b\u0430\u0442\u0438\u0442 \u0434\u0432\u043e\u0439\u043d\u0443\u044e \u0446\u0435\u043d\u0443 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0432 \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u0434\u0435\u043d\u044c;\n- \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0430\u0442\u0430, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0438\u0437\u043a\u043e\u0435;\n- \u0447\u0430\u0441\u0442\u044c \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u0443\u0432\u043e\u043b\u044c\u043d\u044f\u0435\u0442\u0441\u044f;\n- \u0438\u0437-\u0437\u0430 \u0441\u043f\u0435\u0448\u043a\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438;\n\n# \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e:\n- \u043d\u0435\u0432\u0435\u0440\u043d\u043e \u043e\u0446\u0435\u043d\u0438\u043b\u0438 \u0441\u0440\u043e\u043a\u0438 \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u0435;\n- \u0442\u0435\u0445. \u0437\u0430\u0434\u0430\u043d\u0438\u0435 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442;\n- \u0441\u043b\u0430\u0431\u0430\u044f \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430;\n- \u0441\u043b\u0430\u0431\u0430\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 (\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u043e\u0440\u0430 \u043d\u0435 \u043d\u0430\u043d\u0438\u043c\u0430\u043b\u0438, \u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u043c\u0438\u0434\u043b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432);\n- \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u0447\u0430\u043b\u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434, \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c;\n- \u043d\u0435\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438;\n";return n>13?["\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0440\u0430\u0431\u043e\u0442\u043a\u0438",r,"error"]:n>7?["\u0411\u044b\u0432\u0430\u044e\u0442 \u043f\u0435\u0440\u0435\u0440\u0430\u0431\u043e\u0442\u043a\u0438",r,"error"]:n>2?["\u041e\u0431\u044b\u0447\u043d\u043e \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0440\u0430\u0431\u043e\u0442\u043e\u043a","\u041d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u0431\u044b\u0432\u0430\u044e\u0442.\n\n# \u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043f\u043b\u043e\u0445\u043e:\n- \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a \u043f\u043b\u0430\u0442\u0438\u0442 \u0434\u0432\u043e\u0439\u043d\u0443\u044e \u0446\u0435\u043d\u0443 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0432 \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u0434\u0435\u043d\u044c;\n- \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0432\u044b\u0433\u043e\u0440\u0430\u044e\u0442;\n","fact"]:null}},{key:"getFirstDay",value:function(e){var t=Ui(e.allCommitsByTimestamp[0].timestamp),r=(0,n.Z)(t,2),a=r[0],i=r[1];return[a,"\u0431\u044b\u043b \u043f\u0435\u0440\u0432\u044b\u0439 \u043a\u043e\u043c\u043c\u0438\u0442\n\n\u0414\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438: ".concat(i),"fact"]}},{key:"getLastDay",value:function(e){var t=Ui(e.allCommitsByTimestamp[e.allCommitsByTimestamp.length-1].timestamp),r=(0,n.Z)(t,2),a=r[0],i=r[1];return[a,"\u0431\u044b\u043b \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043a\u043e\u043c\u043c\u0438\u0442\n\n\u0414\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438: ".concat(i),"fact"]}}]),e}(),eo=function(){function e(){a(this,e)}return l(e,[{key:"getTotalInfo",value:function(e){return[this.getBusFactor(e)].filter((function(e){return e}))}},{key:"getBusFactor",value:function(e){if(e.author.list.length<2)return null;var t=e.type.statistic.filter((function(t){var n=.8*t.commits;return e.author.list.some((function(e){return t.commitsByAuthors[e]>=n}))})).map((function(e){return e.type}));return t.length?t.length>.6*e.type.statistic.length?[Je.get("recommendations.type.everyHasOne.title"),[Je.get("recommendations.type.everyHasOne.description"),Je.get("recommendations.type.common")].join("\n"),"warning"]:[Je.get("recommendations.type.oneMaintainer.title"),[Je.get("recommendations.type.oneMaintainer.description"),"- ".concat(t.join(";\n- ")),Je.get("recommendations.type.common")].join("\n"),"error"]:null}}]),e}(),to=function(){function e(){a(this,e)}return l(e,[{key:"getTotalInfo",value:function(e){if(e.author.list.length<2)return[];var t=e.week.statistic.slice(0,3);return[this.getLazyDays(e,t),this.getTasks(e,t)].filter((function(e){return e}))}},{key:"getLazyDays",value:function(e,t){var n=t.map((function(e){return e.lazyDaysTotal/e.authorsLength}));return n[0]<n[1]&&n[1]<n[2]?["\u0421\u0442\u0430\u043b\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0440\u043e\u0433\u0443\u043b\u043e\u0432","\u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0442\u0440\u0438 \u043d\u0435\u0434\u0435\u043b\u0438 \u044d\u0442\u043e\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u0443\u043f\u0430\u043b","fact"]:n[0]>n[1]&&n[1]>n[2]?["\u0421\u0442\u0430\u043b\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0433\u0443\u043b\u043e\u0432","\u043d\u0435\u0442 \u0437\u0430\u0434\u0430\u0447 \u0438\u043b\u0438 \u043d\u0443\u0436\u0435\u043d \u0431\u043e\u043b\u0435\u0435 \u0436\u0435\u0441\u0442\u043a\u0438\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c","error"]:null}},{key:"getTasks",value:function(e,t){var n=t.map((function(e){return e.tasks/e.authorsLength}));return n[0]<n[1]&&n[1]<n[2]?["\u0420\u0430\u0441\u0442\u0451\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c","\u0438\u043b\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441\u0442\u0430\u043b\u0438 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u0435\u043b\u043a\u0438\u0435. \u041d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c. \u0415\u0441\u043b\u0438 \u0433\u0440\u0430\u043d\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0442\u0430 \u0436\u0435 - \u0437\u0430\u043a\u0440\u0435\u043f\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442.","fact"]:n[0]>n[1]&&n[1]>n[2]?["\u041f\u0430\u0434\u0430\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c","\u0438\u043b\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0445\u0443\u0436\u0435 \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u044e\u0442. \u041d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c. \u0415\u0441\u043b\u0438 \u0433\u0440\u0430\u043d\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0442\u0430 \u0436\u0435 - \u0432\u0437\u044f\u0442\u044c \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c.","error"]:null}},{key:"getLazyMaintainer",value:function(e,t){var n=t.map((function(e){var t;return null===(t=Object.entries(e.lazyDays).sort((function(e,t){return e[1]-t[1]})).pop())||void 0===t?void 0:t[0]}));return n[0]===n[1]===n[2]?[n[0],"\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u043b\u0438\u0434\u0435\u0440 \u043f\u043e \u043f\u0440\u043e\u0433\u0443\u043b\u0430\u043c. \u0423\u0432\u043e\u043b\u0438\u0442\u044c?","error"]:null}}]),e}(),no=function(){function e(){a(this,e),this.byScope=new Xi,this.byAuthor=new Qi,this.byType=new eo,this.byWeek=new to,this.byTimestamp=new Ji,this.byHour=new Yi,this.personByWeek=new Ki,this.personByTimestamp=new qi,this.team={},this.person={}}return l(e,[{key:"updateTotalInfo",value:function(e){this.team={byScope:this.byScope.getTotalInfo(e),byAuthor:this.byAuthor.getTotalInfo(e),byType:this.byType.getTotalInfo(e),byWeek:this.byWeek.getTotalInfo(e),byTimestamp:this.byTimestamp.getTotalInfo(e),byHour:this.byHour.getTotalInfo(e)},this.person={byWeek:this.personByWeek.getTotalInfo(e),byTimestamp:this.personByTimestamp.getTotalInfo(e)}}},{key:"clear",value:function(){this.team={},this.person={}}}]),e}(),ro=Ge("updateCommitByAuthor"),ao=Ge("addCommitByAuthor"),io=Ge("updateWordStatistics"),oo=function(){function e(){a(this,e),Object.defineProperty(this,ao,{value:lo}),Object.defineProperty(this,ro,{value:so}),this.list=[],this.commits={},this.statistic=[],this.statisticByName={},this.employment={}}return l(e,[{key:"clear",value:function(){this.list=[],this.commits={},this.statistic=[],this.statisticByName={}}},{key:"addCommit",value:function(e){this.commits[e.author]?Ve(this,ro)[ro](e):Ve(this,ao)[ao](e)}},{key:"updateTotalInfo",value:function(){var t=this,n=zi.commits[zi.commits.length-1],a=(null===n||void 0===n?void 0:n.milliseconds)-32*zi.ONE_DAY;this.employment={staff:[],dismissed:[],active:[]},this.statistic=Object.values(this.commits).sort((function(e,t){return t.commits-e.commits})).map((function(n){var r=n.firstCommit.milliseconds,i=n.lastCommit.milliseconds,o=Object.keys(n.days).length,s=Math.ceil((i-r)/zi.ONE_DAY),l=Math.floor(.6222222222222222*s-o)+1,u=zi.getMiddleSalaryInDay(n.author),c=Math.ceil(o*u),d=l>0?Math.ceil(l*u):0,f=zi.getMiddleSalaryInMonth(n.author),p=Math.ceil(s/30*f),h=Object.entries(n.tasks).filter((function(e){return e[0]})),m=h.map((function(e){return e[0]})),v=h.map((function(e){return e[1]}));n.hours.sort(),n.messageLength.sort();var y=Math.round(n.totalMessageLength/n.commits),g=Object.entries(n.wordStatistics).sort((function(e,t){return t[1]-e[1]})),_=o+(l>0?l:0),b=_<20||100*o/_<15,k=Mi(Mi({},n),{},{tasks:m,scopes:Object.keys(n.scopes).length,daysForTask:b?0:o/m.length,taskInDay:b?0:m.length/o,changesForTask:e.getMiddleValue(v),days:o,money:b?0:c,allDaysInProject:s,lazyDays:l,daysAll:s,daysLosses:l>0?l:0,daysWorked:o,daysWorkedLosses:o+(l>0?l:0),moneyAll:b?0:p,moneyLosses:b?0:d,moneyWorked:b?0:c,isDismissed:n.lastCommit.milliseconds<a,isStaff:b,middleMessageLength:y,commitsByDayAndHourTotal:e.getTotalCommitsByDayAndHour(n.commitsByDayAndHour),wordStatistics:g});return t.statisticByName[k.author]=k,k.isStaff?t.employment.staff.push(k.author):k.isDismissed?t.employment.dismissed.push(k.author):t.employment.active.push(k.author),k})),this.list=[].concat((0,r.Z)(this.employment.active),(0,r.Z)(this.employment.dismissed),(0,r.Z)(this.employment.staff)),this.statistic.sort((function(e,n){return t.list.indexOf(e.author)-t.list.indexOf(n.author)}))}}],[{key:"getDefaultCommitsByDayAndHour",value:function(){return new Array(7).fill(1).map((function(){return new Array(24).fill(0)}))}},{key:"getMiddleValue",value:function(e){var t=e.length,n=Math.round(.05*t),r=t>5?e.sort((function(e,t){return e-t})).slice(n,t-n-1):e;return Math.round(r.reduce((function(e,t){return e+t}),0)/r.length)}},{key:"getTotalCommitsByDayAndHour",value:function(e){var t=e.map((function(e){return Math.max.apply(Math,(0,r.Z)(e))}));return t.push(Math.min.apply(Math,(0,r.Z)(t))),t.push(Math.max.apply(Math,(0,r.Z)(t))),t}}]),e}();function so(e){var t=this.commits[e.author];t.commits+=1,t.lastCommit=e,t.days[e.timestamp]=!0,t.tasks[e.task]=e.added+e.changes+e.removed+(t.tasks[e.task]?t.tasks[e.task]:0),t.types[e.type]=t.types[e.type]?t.types[e.type]+1:1,t.scopes[e.scope]=t.scopes[e.scope]?t.scopes[e.scope]+1:1,t.hours.push(e.hours),t.messageLength.push(e.message.length),t.totalMessageLength+=e.message.length||0,t.commitsByDayAndHour[e.day][e.hours]+=1,t.wordStatistics=Ve(oo,io)[io](e,t.wordStatistics)}function lo(e){var t=oo.getDefaultCommitsByDayAndHour();t[e.day][e.hours]+=1,this.commits[e.author]={author:e.author,commits:1,firstCommit:e,lastCommit:e,days:Ri({},e.timestamp,!0),tasks:Ri({},e.task,e.added+e.changes+e.removed),types:Ri({},e.type,1),scopes:Ri({},e.scope,1),hours:[e.hours],commitsByDayAndHour:t,messageLength:[e.message.length||0],totalMessageLength:e.message.length||0,wordStatistics:Ve(oo,io)[io](e)}}Object.defineProperty(oo,io,{value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=2,r={for:1,fix:1};return e.message.toLowerCase().split(" ").forEach((function(e){e.length<=n||r[e]||(t[e]=t[e]?t[e]+1:1)})),t}});var uo=["commits","daysForTask","daysAll","daysLosses","daysWorked","moneyAll","moneyLosses","moneyWorked"],co=function(){function e(){a(this,e),this.statistic={}}return l(e,[{key:"clear",value:function(){this.statistic={}}},{key:"updateTotalInfo",value:function(e){var t=Mi(Mi({},Object.fromEntries(uo.map((function(e){return[e,0]})))),{},{wordStatistics:{},commitsByDayAndHour:oo.getDefaultCommitsByDayAndHour(),commitsByDayAndHourTotal:[]});e.statistic.forEach((function(e){uo.forEach((function(n){t[n]+=e[n]||0})),e.commitsByDayAndHour.forEach((function(e,n){e.forEach((function(e,r){t.commitsByDayAndHour[n][r]+=e}))})),e.wordStatistics.slice(0,45).forEach((function(e){var r=(0,n.Z)(e,2),a=r[0],i=r[1];t.wordStatistics[a]=t.wordStatistics[a]?t.wordStatistics[a]+i:i}))})),t.commitsByDayAndHourTotal=oo.getTotalCommitsByDayAndHour(t.commitsByDayAndHour),t.wordStatistics=Object.entries(t.wordStatistics).sort((function(e,t){return t[1]-e[1]})),this.statistic=t}}]),e}(),fo=Ge("updateCommitByScope"),po=Ge("addCommitByScope"),ho=Ge("getDefaultAuthorForScope"),mo=function(){function e(){a(this,e),Object.defineProperty(this,ho,{value:go}),Object.defineProperty(this,po,{value:yo}),Object.defineProperty(this,fo,{value:vo}),this.list=[],this.commits={},this.statistic=[]}return l(e,[{key:"clear",value:function(){this.list=[],this.commits={},this.statistic=[]}},{key:"addCommit",value:function(e){this.commits[e.scope]?Ve(this,fo)[fo](e):Ve(this,po)[po](e)}},{key:"updateTotalInfo",value:function(){var e={};this.statistic=Object.values(this.commits).filter((function(e){return e.commits>5})).sort((function(e,t){return t.commits-e.commits})).map((function(t){var n=0;for(var r in t.authors){var a=t.authors[r],i=Object.keys(a.days).length;e[r]=e[r]||zi.getMiddleSalaryInDay(r),n+=i*e[r],t.authors[r]=Mi(Mi({},a),{},{days:i})}return Mi(Mi({},t),{},{days:Object.keys(t.days).length,cost:n,tasks:Object.keys(t.tasks).filter((function(e){return e}))})})),this.list=this.statistic.map((function(e){return e.scope}))}}]),e}();function vo(e){var t=this.commits[e.scope];t.commits+=1,t.days[e.timestamp]=!0,t.tasks[e.task]=!0,t.types[e.type]=t.types[e.type]?t.types[e.type]+1:1;var n=t.authors[e.author];n?(n.commits+=1,n.days[e.timestamp]=!0,n.types[e.type]=n.types[e.type]?n.types[e.type]+1:1):t.authors[e.author]=Ve(this,ho)[ho](e)}function yo(e){this.commits[e.scope]={scope:e.scope,commits:1,days:Ri({},e.timestamp,!0),tasks:Ri({},e.task,!0),types:Ri({},e.type,1),authors:Ri({},e.author,Ve(this,ho)[ho](e))}}function go(e){return{commits:1,days:Ri({},e.timestamp,!0),types:Ri({},e.type,1)}}var _o=Ge("updateCommitByType"),bo=Ge("addCommitByType"),ko=function(){function e(){a(this,e),Object.defineProperty(this,bo,{value:wo}),Object.defineProperty(this,_o,{value:xo}),this.list=[],this.commits={},this.statistic=[]}return l(e,[{key:"clear",value:function(){this.list=[],this.commits={},this.statistic=[]}},{key:"addCommit",value:function(e){this.commits[e.type]?Ve(this,_o)[_o](e):Ve(this,bo)[bo](e)}},{key:"updateTotalInfo",value:function(){this.statistic=Object.values(this.commits).filter((function(e){return e.commits>5})).map((function(e){return Mi(Mi({},e),{},{tasks:Object.keys(e.tasks).length,days:Object.keys(e.days).length,daysByAuthorsTotal:Object.values(e.daysByAuthors).reduce((function(e,t){return e+Object.keys(t).length}),0)})})).sort((function(e,t){return t.days-e.days})),this.list=this.statistic.map((function(e){return e.type}))}}]),e}();function xo(e){var t=this.commits[e.type];t.commits+=1,t.days[e.timestamp]=!0,t.tasks[e.task]=!0;var n,r,a=function(e){return e?e+1:1};t.commitsByAuthors[e.author]=a(t.commitsByAuthors[e.author]),(n=t.daysByAuthors,r=e.author,n[r]||(n[r]={}),n[r])[e.timestamp]=a(t.daysByAuthors[e.author][e.timestamp])}function wo(e){this.commits[e.type]={type:e.type,commits:1,days:Ri({},e.timestamp,!0),tasks:Ri({},e.task,!0),commitsByAuthors:Ri({},e.author,1),daysByAuthors:Ri({},e.author,Ri({},e.timestamp,!0))}}var jo=function(){function e(){a(this,e),this.min=1/0,this.max=-1/0,this.minData=void 0,this.maxData=void 0}return l(e,[{key:"update",value:function(e,t){this.min>e&&(this.min=e,this.minData=t),this.max<e&&(this.max=e,this.maxData=t)}},{key:"clear",value:function(){this.min=1/0,this.max=-1/0,this.minData=void 0,this.maxData=void 0}}]),e}(),So=Ge("updateCommitByTimestamp"),Co=Ge("getDefaultCommitByTimestamp"),No=Ge("getTotalInfo"),Eo=Ge("getMiddleValue"),Oo=Ge("getWeekendPaymentByAuthor"),To=function(){function e(){a(this,e),Object.defineProperty(this,Oo,{value:Ro}),Object.defineProperty(this,Eo,{value:Lo}),Object.defineProperty(this,No,{value:Ao}),Object.defineProperty(this,Co,{value:Do}),Object.defineProperty(this,So,{value:Po}),this.commits={},this.commitsByAuthor={},this.statistic=[],this.statisticByAuthor={},this.clear()}return l(e,[{key:"clear",value:function(){this.commits={},this.commitsByAuthor={},this.statistic=[],this.statisticByAuthor={}}},{key:"addCommit",value:function(e){this.commits[e.milliseconds]?Ve(this,So)[So](e,this.commits[e.milliseconds]):this.commits[e.milliseconds]=Ve(this,Co)[Co](e),this.commitsByAuthor[e.author]||(this.commitsByAuthor[e.author]={}),this.commitsByAuthor[e.author][e.milliseconds]?Ve(this,So)[So](e,this.commitsByAuthor[e.author][e.milliseconds]):this.commitsByAuthor[e.author][e.milliseconds]=Ve(this,Co)[Co](e)}},{key:"updateTotalInfo",value:function(e){for(var t in this.statistic=Ve(this,No)[No](this.commits),this.statistic.weekendPayment=0,this.commitsByAuthor){var n=Ve(this,No)[No](this.commitsByAuthor[t]);n.weekendPayment=Ve(this,Oo)[Oo](n,e.statisticByName[t]),this.statisticByAuthor[t]=n,this.statistic.weekendPayment+=n.weekendPayment}}}]),e}();function Po(e,t){t.commits+=1,t.addedAndChanges+=e.added+e.changes,t.tasks[e.task]=t.tasks[e.task]?t.tasks[e.task]+1:1,t.tasksByAuthor[e.author]||(t.tasksByAuthor[e.author]={}),t.tasksByAuthor[e.author][e.task]?t.tasksByAuthor[e.author][e.task].push(e):t.tasksByAuthor[e.author][e.task]=[e],t.messages.push(e.message)}function Do(e){return{commits:1,day:e.day,dayInMonth:e.dayInMonth,month:e.month,year:e.year,week:e.week,timestamp:e.timestamp,milliseconds:e.milliseconds,tasks:Ri({},e.task,1),tasksByAuthor:Ri({},e.author,Ri({},e.task,[e])),addedAndChanges:e.added+e.changes,messages:[e.message]}}function Ao(e){var t=Object.values(e),n=new jo,r=new jo,a=new jo,i=new Array(7).fill(0);return t.forEach((function(e){e.tasksInDay=Object.keys(e.tasks).length,i[e.day]+=1,n.update(e.commits,e),r.update(e.addedAndChanges,e),a.update(e.tasksInDay,e)})),{allCommitsByTimestamp:t,commitsByTimestampCounter:n,changesByTimestampCounter:r,tasksByTimestampCounter:a,workByDay:i,weekendPayment:0}}function Lo(e,t){var n=e.sort((function(e,n){return n[t]-e[t]})),r=Math.floor(.05*n.length);return n.slice(r,n.length-r)}function Ro(e,t){if(t.isStaff)return 0;var n=zi.getMiddleSalaryInDay(t.author);return e.workByDay[5]*n+e.workByDay[6]*n}var Io=Ge("updateCommitByWeek"),Mo=Ge("addCommitByWeek"),Bo=function(){function e(){a(this,e),Object.defineProperty(this,Mo,{value:Fo}),Object.defineProperty(this,Io,{value:zo}),this.commits={},this.statistic=[],this.clear()}return l(e,[{key:"clear",value:function(){this.commits={},this.statistic=[]}},{key:"addCommit",value:function(e){this.commits[e.week]?Ve(this,Io)[Io](e):Ve(this,Mo)[Mo](e)}},{key:"updateTotalInfo",value:function(e){this.statistic=Object.values(this.commits).map((function(t){var n={};for(var r in t.authors)n[r]=Object.keys(t.authors[r]).filter((function(e){return e})).length;var a={},i={},o={},s=0,l=0,u=0;for(var c in t.workDays)if(!e.statisticByName[c].isStaff){u+=1,a[c]=Object.keys(t.workDays[c]).length,s+=a[c];var d=zi.workDays[c]||zi.defaultWorkDays,f=d-a[c],p=a[c]-d;i[c]=f>0?f:0,o[c]=p>0?p:0,l+=i[c]}var h={};for(var m in t.workDays)h[m]=n[m]&&a[m]?n[m]/a[m]:0;return Mi(Mi({},t),{},{tasks:Object.keys(t.tasks).filter((function(e){return e})).length,authors:n,workDays:a,lazyDays:i,weekDays:o,workDaysTotal:s,lazyDaysTotal:l,taskInDay:h,authorsLength:u,changesLength:t.changes.added+t.changes.changes+t.changes.removed})})).reverse()}}]),e}();function zo(e){var t=this.commits[e.week];t.commits+=1,t.tasks[e.task]=!0,t.timestamp.to=e.timestamp;var n=function(e){return e?e+1:1},r=function(e,t){return e[t]||(e[t]={}),e[t]};for(var a in t.changes)t.changes[a]+=e[a]||0;r(t.authors,e.author)[e.task]=!0,r(t.workDays,e.author)[e.day]=!0,r(t.typeByAuthor,e.author)[e.type]=n(t.typeByAuthor[e.author][e.type]),t.types[e.type]=n(t.types[e.type])}function Fo(e){this.commits[e.week]={commits:1,timestamp:{from:e.timestamp},tasks:Ri({},e.task,!0),types:Ri({},e.type,1),changes:{added:e.added,changes:e.changes,removed:e.removed},authors:Ri({},e.author,Ri({},e.task,!0)),workDays:Ri({},e.author,Ri({},e.day,!0)),typeByAuthor:Ri({},e.author,Ri({},e.type,1))}}var Uo=Ge("updateTotalInfo");function Wo(){this.author.updateTotalInfo(),this.team.updateTotalInfo(this.author),this.scope.updateTotalInfo(),this.type.updateTotalInfo(),this.timestamp.updateTotalInfo(this.author),this.week.updateTotalInfo(this.author),this.recommendations.updateTotalInfo(this)}var Vo=new(function(){function e(){a(this,e),Object.defineProperty(this,Uo,{value:Wo}),this.firstLastCommit=new jo,this.author=new oo,this.team=new co,this.scope=new mo,this.type=new ko,this.timestamp=new To,this.week=new Bo,this.recommendations=new no,this.initializationInfo={}}return l(e,[{key:"clear",value:function(){this.firstLastCommit.clear(),this.author.clear(),this.team.clear(),this.scope.clear(),this.type.clear(),this.timestamp.clear(),this.week.clear(),this.recommendations.clear()}},{key:"addCommit",value:function(e){"GitHub"!==e.author&&(this.firstLastCommit.update(e.milliseconds,e),this.author.addCommit(e),this.scope.addCommit(e),this.type.addCommit(e),this.timestamp.addCommit(e),this.week.addCommit(e))}},{key:"updateByInitialization",value:function(){Ve(this,Uo)[Uo](),this.initializationInfo=this.author.statistic.reduce((function(e,t){return e[t.author]=Mi({},t),e}),{})}},{key:"updateByFilters",value:function(){var e=this;this.clear(),zi.commits.forEach((function(t){var n=e.initializationInfo[t.author]||{commits:0};t.timestamp<zi.from||t.timestamp>zi.to||n.commits<zi.minCommits||e.addCommit(t)})),Ve(this,Uo)[Uo]()}}]),e}());function Ho(e){e.total={added:0,changes:0,removed:0,commits:0};var t=Object.keys(e.authors);t.forEach((function(t){e.total.added+=e.authors[t].added,e.total.changes+=e.authors[t].changes,e.total.removed+=e.authors[t].removed,e.total.commits+=e.authors[t].commits})),t.forEach((function(t){var n=e.authors[t];n.addedPercent=Math.round(100*n.added/e.total.added),n.changesPercent=Math.round(100*n.changes/e.total.changes),n.removedPercent=Math.round(100*n.removed/e.total.removed),n.commitsPercent=Math.round(100*n.commits/e.total.commits)}))}function Go(e,t){for(var n in e.lines+=t.lines,t.authors){e.authors[n]||(e.authors[n]={added:0,changes:0,removed:0,commits:0,tasks:{},types:{},scopes:{}});var r=e.authors[n],a=t.authors[n];r.added+=a.added,r.changes+=a.changes,r.removed+=a.removed,r.commits+=a.commits}}function Zo(e,t,n){var a={lines:0,authors:{}};for(var i in t.content)t.content[i].content?Zo(a,t.content[i],[].concat((0,r.Z)(n),[i])):(Go(a,t.content[i]),Ho(t.content[i]));Go(e,a),t.path=n,t.lines=a.lines,t.authors=a.authors,Ho(t)}function $o(e){return Zo({lines:0,authors:{},path:[]},e,[]),e}function qo(e){var t,r=e.split(">"),a=r.shift()||"",i=new Date(a),o=i.getDay()-1,s=a.split("T")[0],l=(null===(t=r.shift())||void 0===t?void 0:t.replace(/\./gm," "))||"",u=r.shift()||"",c=r.join(">"),d=(c.match(/(([A-Z]+-)|(#)|(gh-)|(GH-))([0-9]+)/gm)||[])[0]||"",f=function(e,t){if(e.length<2)return["",""];var r=(e.shift()||"").replace(t,"").split(/[()]/g).map((function(e){return e.trim()})),a=(0,n.Z)(r,2),i=a[0],o=a[1];return!i&&o?[o,""]:[i,o]}(c.split(":"),d),p=(0,n.Z)(f,2),h=p[0],m=p[1];return{date:a,day:o<0?6:o,dayInMonth:i.getDate(),hours:i.getHours(),minutes:i.getMinutes(),month:i.getMonth(),year:i.getUTCFullYear(),week:0,timestamp:s,milliseconds:new Date(s).getTime(),author:l,email:u,message:c,task:d,type:h||"\u043d\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d",scope:m||"\u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0430",changes:0,added:0,removed:0}}function Ko(e,t){var r;if(!/\s=>\s/gim.test(e))return e;var a=null===(r=e.match(/\{[^}]+\}/gim))||void 0===r?void 0:r.pop();a||(a=e);var i=a?a.replace(/[{}]/gim,"").split(" => "):e.split(" => "),o=(0,n.Z)(i,2),s=o[0],l=o[1],u=e.replace(a,s);s||(u=u.replace("//","/"));var c=e.replace(a,l);return t[u]?(t[c]=t[u],t[c].name=c,c):c}function Qo(e){return{id:Math.random(),name:e||"",content:{}}}function Yo(e){var t=Object.values(e),n=Qo();return t.forEach((function(e){e.name&&(e.path=e.name.split("/"),function(e,t){var n=e,r=t.path.pop()||"";t.path.forEach((function(e){n[e]&&n[e].content||(n[e]=Qo(e)),n=n[e].content})),n[r]=t}(n.content,e))})),{fileList:t,fileTree:n}}var Xo={};function Jo(e){return{id:Math.random(),value:e.defaultSalary.value,currency:e.defaultSalary.currency,workDaysInYear:e.defaultSalary.workDaysInYear,vacationDaysInYear:e.defaultSalary.vacationDaysInYear,workDaysInWeek:e.defaultSalary.workDaysInWeek,from:e.defaultFilters.from}}function es(e,t,n){return{id:Math.random(),name:e,order:n,salary:[Jo(t)]}}var ts=new(function(){function e(){a(this,e),this.commits=[],this.fileList=[],this.fileTree={},this.dataGrip=null,this.showApplication=!1,oa(this,{commits:jn,dataGrip:jn,showApplication:jn,setCommits:Nr})}return l(e,[{key:"setCommits",value:function(e){Vo.clear();var t,r,a=function(e,t){for(var r={},a=[],i=0,o=0,s=null,l=!1,u=0,c=e.length;u<c;u+=1){var d=e[u];if(d)if(l){var f=d.split("\t"),p=(0,n.Z)(f,3),h=p[0],m=p[1],v=p[2];v=Ko(v,r);var y=parseInt(h,10)||0,g=parseInt(m,10)||0,_=y-g,b=y>g?g:y;if(r[v]){var k,x,w,j,S,C,N,E,O,T=r[v];T.lines+=_,T.authors[(null===(k=s)||void 0===k?void 0:k.author)||""]||(T.authors[(null===(O=s)||void 0===O?void 0:O.author)||""]={added:0,changes:0,removed:0,commits:1,tasks:{},types:{},scopes:{}});var P=T.authors[(null===(x=s)||void 0===x?void 0:x.author)||""];P.changes=P.changes+b,_>0?P.added=P.added+_:P.removed=P.removed+-1*_,P.commits+=1,P.tasks[(null===(w=s)||void 0===w?void 0:w.task)||""]=(P.tasks[(null===(j=s)||void 0===j?void 0:j.task)||""]||0)+1,P.types[(null===(S=s)||void 0===S?void 0:S.type)||""]=(P.tasks[(null===(C=s)||void 0===C?void 0:C.type)||""]||0)+1,P.scopes[(null===(N=s)||void 0===N?void 0:N.scope)||""]=(P.tasks[(null===(E=s)||void 0===E?void 0:E.scope)||""]||0)+1,0===r[v].lines&&delete r[v]}else{var D,A,L,R;r[v]={name:v,lines:y,created:s,authors:Ri({},(null===(D=s)||void 0===D?void 0:D.author)||"",{added:y,changes:y,removed:0,commits:1,tasks:Ri({},(null===(A=s)||void 0===A?void 0:A.task)||"",1),types:Ri({},(null===(L=s)||void 0===L?void 0:L.type)||"",1),scopes:Ri({},(null===(R=s)||void 0===R?void 0:R.scope)||"",1)})}}g>y?(g-=y,b+=y,y=0):y>g?(y-=g,b+=g,g=0):y===g&&(b+=y,y=0,g=0),s&&(s.changes+=b,s.added+=y,s.removed+=g)}else{s&&t(s);var I=qo(d);I.milliseconds>o&&(i+=1,o=I.milliseconds+zi.ONE_DAY*(6-I.day)),I.week=i,s=I,a.push(s),l=!0}else l=!1}s&&t(s);var M=Yo(r);return{commits:a,fileList:M.fileList,fileTree:M.fileTree}}(e||[],(function(e){return Vo.addCommit(e)})),i=a.commits,o=a.fileList,s=a.fileTree;this.commits=i,this.fileList=o,this.fileTree=$o(s),this.showApplication=!!this.commits.length,this.showApplication&&(t=Vo.firstLastCommit.minData,r=Vo.firstLastCommit.maxData,Xo={minCommits:20,from:t.timestamp,to:r.timestamp},zi.updateByCommits(this.commits,Vo.firstLastCommit.minData,Vo.firstLastCommit.maxData)),Vo.updateByInitialization(),this.dataGrip=null,this.dataGrip=Vo,console.dir(Vo)}},{key:"updateChars",value:function(){Vo.updateByFilters(),Vo.author.list.length&&(Li.updateByDataGrip(Vo.author.statistic),this.dataGrip=null,this.dataGrip=Vo)}}]),e}()),ns=__webpack_require__(806),rs="DropZone_dropzone__avMpk",as="DropZone_dropzone_title__fnpkN",is=__webpack_require__(184);var os=function(t){var r=t.onChange,a=(0,e.useState)(!1),i=(0,n.Z)(a,2),o=i[0],s=i[1];return(0,e.useEffect)((function(){var e=(0,ns.a)(s,r),t=(0,ns.C)(s);return document.body.addEventListener("drop",e),document.body.addEventListener("dragover",t),function(){document.body.removeEventListener("drop",e),document.body.removeEventListener("dragover",t)}}),[]),o?(0,is.jsx)("div",{className:rs,children:(0,is.jsx)("p",{className:as,children:"\u041b\u043e\u0432\u043b\u044e!"})}):(0,is.jsx)(is.Fragment,{})},ss={ui_kit_common:"styles_ui_kit_common__QvIS4",wrapper:"styles_wrapper__AHv5Z",title:"styles_title__vOjxi",description:"styles_description__K4jYJ",help:"styles_help__Ay2B1",error:"styles_error__W-x-J",button:"styles_button__QH6hu",button_slim:"styles_button_slim__DosZt",button_second:"styles_button_second__p7gW-",disabled:"styles_disabled__B7lXi",ui_kit_select:"styles_ui_kit_select__U+j85",ui_kit_dialog:"styles_ui_kit_dialog__BpoEg",ui_kit_button_menu:"styles_ui_kit_button_menu__Bheo1"};function ls(e,t){var n={slim:ss.button_slim,second:ss.button_second,primary:ss.button_primary}[e||"primary"]||"";return t&&(n+=" ".concat(ss.disabled)),n}var us=function(e){var t=e.title,n=e.type,r=e.disabled,a=e.className,i=e.onClick,o=e.children,s=ls(n,r);return(0,is.jsx)("button",{title:t,className:"".concat(ss.button," ").concat(s||""," ").concat(a||""),onClick:function(){i&&i()},children:o})},cs="styles_modal_window__Y1tXM",ds="styles_modal_window_wrapper__0pPOn",fs="styles_modal_window_title__g-ZJr",ps="styles_modal_window_body__LZYvp",hs="styles_modal_window_footer__HO52Z",ms="styles_modal_window_close__gkrpx",vs=Si((function(e){var t=e.id,n=e.className,r=e.children,a=e.onClose;return(0,is.jsxs)("div",{id:"".concat(t||"","-title"),className:"".concat(fs," ").concat(n||""),children:[r,r&&a?(0,is.jsx)("img",{id:"".concat(t,"-close"),className:"".concat(ms," ").concat(n||""),onClick:function(e){e.stopPropagation(),a()}}):null]})})),ys=vs,gs=(Si((function(e){var t=e.id,n=e.className,r=e.children;return(0,is.jsx)("div",{id:"".concat(t||"","-body"),className:"".concat(ps," ").concat(n||""),children:r})})),Si((function(e){var t=e.id,n=e.className,r=e.children;return(0,is.jsx)("div",{id:"".concat(t||"","-footer"),className:"".concat(hs," ").concat(n||""),children:r})}))),_s=gs;function bs(t){var n=t.id,r=t.className,a=t.onClose,i=t.children,o=e.Children.map(i,(function(t){return e.isValidElement(t)?e.cloneElement(t,{onClose:a}):t}));return We.createPortal((0,is.jsx)("div",{id:"".concat(n,"-wrapper"),className:"".concat(ds||""," ").concat(r||""),onClick:function(e){var t;e.stopPropagation(),(null===(t=e.target)||void 0===t?void 0:t.id)==="".concat(n,"-wrapper")&&a&&a()},children:(0,is.jsx)("div",{id:n,className:"".concat(cs||""," ").concat(r||""),onClick:function(e){e.stopPropagation()},children:o})}),document.body)}bs.displayName="Modal",bs.defaultProps={id:"modal-window",className:"",onClose:void 0,children:void 0};var ks=new(function(){function e(){a(this,e),this.title="",this.yes="",this.no="",this.isOpen=!1,this.successCallback=function(){},this.cancelCallback=function(){},oa(this,{title:jn,yes:jn,no:jn,successCallback:jn,cancelCallback:jn,isOpen:jn,open:Nr,close:Nr})}return l(e,[{key:"open",value:function(e){var t=this;return this.title=(null===e||void 0===e?void 0:e.title)||e||"\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c?",this.yes=(null===e||void 0===e?void 0:e.yes)||"\u0414\u0430, \u0443\u0432\u0435\u0440\u0435\u043d",this.no=(null===e||void 0===e?void 0:e.no)||"\u041e\u0442\u043c\u0435\u043d\u0430",this.isOpen=!0,new Promise((function(e,n){t.successCallback=e,t.cancelCallback=n}))}},{key:"close",value:function(){this.isOpen=!1}},{key:"success",value:function(){this.isOpen&&(this.close(),this.successCallback())}},{key:"cancel",value:function(){this.isOpen&&(this.close(),this.cancelCallback())}}]),e}()),xs=Si((function(){return ks.isOpen?(0,is.jsxs)(bs,{children:[(0,is.jsx)(ys,{children:null===ks||void 0===ks?void 0:ks.title}),(0,is.jsxs)(_s,{children:[(0,is.jsx)(us,{onClick:function(){ks.cancel()},children:ks.no}),(0,is.jsx)(us,{type:"second",onClick:function(){ks.success()},children:ks.yes})]})]}):null})),ws="logo_logo__gGD9z",js="logo_logo_icon__DVWNb";var Ss=function(){return(0,is.jsx)("figure",{className:ws,children:(0,is.jsx)("img",{src:"./assets/logo.svg",className:js})})},Cs="switch_switch__mm5Qc",Ns="switch_switch_item__rcRVB",Es="switch_selected__QpKb3",Os="switch_switch_item_icon__VtmEh",Ts="switch_switch_item_title__znuEZ";function Ps(e){var t=e.value,n=e.options,r=e.onChange,a=n.map((function(e){return(0,is.jsxs)("div",{className:"".concat(Ns," ").concat(t===(null===e||void 0===e?void 0:e.id)?Es:""),onClick:function(){r&&r(null===e||void 0===e?void 0:e.id)},children:[(0,is.jsx)("img",{className:Os,src:(null===e||void 0===e?void 0:e.icon)||"",alt:(null===e||void 0===e?void 0:e.title)||"",title:(null===e||void 0===e?void 0:e.title)||""}),(0,is.jsx)("span",{className:Ts,children:(null===e||void 0===e?void 0:e.title)||""})]},null===e||void 0===e?void 0:e.title)}));return(0,is.jsx)("div",{className:Cs,children:a})}Ps.defaultProps={value:"",onChange:void 0};var Ds=Ps,As="sidebar_sidebar__OTL1Z",Ls="sidebar_sidebar_title__FiqOL",Rs="sidebar_sidebar_item__fjT0k",Is="sidebar_selected__UNU2k",Ms="sidebar_sidebar_item_icon__oI2yp",Bs="sidebar_sidebar_item_title__uHRSo";function zs(e){var t=e.id,n=e.link,r=e.title,a=e.icon,i=e.isSelected;return(0,is.jsxs)(ze,{className:"".concat(Rs," ").concat(i?Is:""),to:n,id:"sidebar-menu-".concat(t),children:[(0,is.jsx)("img",{className:Ms,src:a,alt:r||""}),(0,is.jsx)("figcaption",{className:Bs,children:Je.get(r)})]},t)}zs.defaultProps={title:"",icon:"",isSelected:!1};var Fs=zs;function Us(e){var t=e.title;return(0,is.jsx)("div",{className:Ls,children:Je.get(t)})}Us.defaultProps={title:""};var Ws=Us;var Vs=function(e){var t=e.page,n=ge().userId||0;return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Fs,{id:"total",link:"/person/total/".concat(n),title:"sidebar.person.total",icon:"./assets/menu/team_common.svg",isSelected:"total"===t}),(0,is.jsx)(Fs,{id:"money",link:"/person/money/".concat(n),title:"sidebar.person.money",icon:"./assets/menu/per_money.svg",isSelected:"money"===t}),(0,is.jsx)(Fs,{id:"speed",link:"/person/speed/".concat(n),title:"sidebar.person.speed",icon:"./assets/menu/per_speed.svg",isSelected:"speed"===t}),(0,is.jsx)(Ws,{}),(0,is.jsx)(Fs,{id:"week",link:"/person/week/".concat(n),title:"sidebar.person.week",icon:"./assets/menu/team_week.svg",isSelected:"week"===t}),(0,is.jsx)(Fs,{id:"month",link:"/person/month/".concat(n),title:"sidebar.person.month",icon:"./assets/menu/team_week.svg",isSelected:"month"===t}),(0,is.jsx)(Fs,{id:"year",link:"/person/year/".concat(n),title:"sidebar.person.frequency",icon:"./assets/menu/team_date_1.svg",isSelected:"year"===t}),(0,is.jsx)(Fs,{id:"hours",link:"/person/hours/".concat(n),title:"sidebar.person.hours",icon:"./assets/menu/team_date_2.svg",isSelected:"hours"===t}),(0,is.jsx)(Ws,{}),(0,is.jsx)(Fs,{id:"commits",link:"/person/commits/".concat(n),title:"sidebar.person.commits",icon:"./assets/menu/pull-request.svg",isSelected:"commits"===t}),(0,is.jsx)(Fs,{id:"changes",link:"/person/changes/".concat(n),title:"sidebar.person.changes",icon:"./assets/menu/branch.svg",isSelected:"changes"===t}),(0,is.jsx)(Fs,{id:"words",link:"/person/words/".concat(n),title:"sidebar.person.words",icon:"./assets/menu/team_words.svg",isSelected:"words"===t})]})};var Hs=function(e){var t=e.page;return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Fs,{id:"total",link:"/team/total",title:"sidebar.team.total",icon:"./assets/menu/team_common.svg",isSelected:"total"===t||!t}),(0,is.jsx)(Fs,{id:"scope",link:"/team/scope",title:"sidebar.team.scope",icon:"./assets/menu/team_feat.svg",isSelected:"scope"===t}),(0,is.jsx)(Fs,{id:"author",link:"/team/author",title:"sidebar.team.author",icon:"./assets/menu/team_work.svg",isSelected:"author"===t}),(0,is.jsx)(Fs,{id:"type",link:"/team/type",title:"sidebar.team.type",icon:"./assets/menu/team_type.svg",isSelected:"type"===t}),(0,is.jsx)(Ws,{}),(0,is.jsx)(Fs,{id:"sprint",link:"/team/sprint",title:"sidebar.team.sprint",icon:"./assets/menu/team_week.svg",isSelected:"sprint"===t}),(0,is.jsx)(Fs,{id:"month",link:"/team/month",title:"sidebar.team.month",icon:"./assets/menu/team_week.svg",isSelected:"month"===t}),(0,is.jsx)(Fs,{id:"year",link:"/team/year",title:"sidebar.team.heatmap",icon:"./assets/menu/team_date_1.svg",isSelected:"year"===t}),(0,is.jsx)(Fs,{id:"hours",link:"/team/hours",title:"sidebar.team.hours",icon:"./assets/menu/team_date_2.svg",isSelected:"hours"===t}),(0,is.jsx)(Ws,{}),(0,is.jsx)(Fs,{id:"tree",link:"/team/tree",title:"sidebar.team.tree",icon:"./assets/menu/team_files.svg",isSelected:"tree"===t}),(0,is.jsx)(Fs,{id:"timestamp",link:"/team/timestamp",title:"sidebar.team.timestamp",icon:"./assets/menu/pull-request.svg",isSelected:"timestamp"===t}),(0,is.jsx)(Fs,{id:"changes",link:"/team/changes",title:"sidebar.team.changes",icon:"./assets/menu/branch.svg",isSelected:"changes"===t}),(0,is.jsx)(Fs,{id:"words",link:"/team/words",title:"sidebar.team.words",icon:"./assets/menu/team_words.svg",isSelected:"words"===t})]})};var Gs=function(){var e=ge(),t=e.type,n=e.page,r=ye();return(0,is.jsxs)("aside",{className:As,children:[(0,is.jsx)(Ss,{}),(0,is.jsx)(Ds,{value:t||"team",options:[{id:"team",title:"\u041a\u043e\u043c\u0430\u043d\u0434\u0430",icon:"./assets/switch/team.svg"},{id:"person",title:"\u041b\u044e\u0434\u0438",icon:"./assets/switch/person.svg"}],onChange:function(e){e!==t&&r("/".concat(e,"person"===e?"/total/0":"/total"))}}),"person"!==t&&(0,is.jsx)(Hs,{page:n}),"person"===t&&(0,is.jsx)(Vs,{page:n})]})};function Zs(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n],a=r&&"object"===typeof r&&!(r instanceof Array);t[n]=a?Zs(r):r})),t}var $s={getDeepCopy:Zs,getUpdatedFormData:function(e,t,n){var r=this.getKeys(t),a=r.length-1,i=Zs(e),o=i;return r.forEach((function(e,t){t===a?o[e]=n:(o[e]||(o[e]={}),o=o[e])})),i},getKeys:function(e){return e?Array.isArray(e)?e:"".concat(e).split("."):[""]},getValueByKeys:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=this.getKeys(n);return r.length&&null!==(t=r.reduce((function(e,t){return null===e||void 0===e?void 0:e[t]}),e))&&void 0!==t?t:""}},qs=function(){function e(){a(this,e),this.isEdited=!1,this.isSuccess=!1,this.isLoading=!1,this.isLocked=!1,this.isServerError=!1,this.initState={},this.state={},this.errorMessage="",this.errors={},oa(this,{isEdited:jn,isSuccess:jn,isLoading:jn,isLocked:jn,isServerError:jn,state:jn,errorMessage:jn,errors:jn,setIsLocked:Nr,setState:Nr,setInitState:Nr,updateState:Nr,setFormError:Nr,removeFormError:Nr,clearErrorMessage:Nr,clearAllErrors:Nr,clear:Nr,getFormattedState:Nr,validation:Nr,submit:Nr})}return l(e,[{key:"setIsLocked",value:function(e){this.isLocked=e}},{key:"setInitState",value:function(e){this.initState=e||{},this.state=JSON.parse(JSON.stringify(this.initState)),this.isEdited=!1}},{key:"setState",value:function(e){this.state=e||{}}},{key:"updateState",value:function(e,t){this.state=$s.getUpdatedFormData(this.state,e,t),this.isEdited=!0}},{key:"setFormError",value:function(e,t){t?this.errors=Mi(Mi({},this.errors),{},Ri({},e,t)):this.removeFormError(e)}},{key:"removeFormError",value:function(e){if(this.errors[e]){var t=Mi({},this.errors);delete t[e],this.errors=t}}},{key:"clearErrorMessage",value:function(){this.errorMessage=""}},{key:"clearAllErrors",value:function(){this.isServerError=!1,this.errorMessage="",this.errors={}}},{key:"clear",value:function(){this.clearAllErrors(),this.state={},this.initState={}}},{key:"getFormattedState",value:function(){return Mi({},this.state)}},{key:"validation",value:function(e){return this.errors.length?Promise.reject():e?(this.clearErrorMessage(),Promise.resolve()):Promise.reject()}},{key:"submit",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.clearAllErrors(),this.isLocked?Promise.resolve():(console.log(t),this.validation(t).then(Nr((function(){n.isLoading=!0}))).then((function(){return e(t)})).then(Nr((function(e){return n.isSuccess=!0,r&&n.clear(),Promise.resolve(e)}))).catch(Nr((function(e){return(null===e||void 0===e?void 0:e.code)>204?(n.isServerError=!0,Promise.reject(e)):Promise.reject(e)}))).finally(Nr((function(){n.isLoading=!1}))))}}]),e}(),Ks=function(){var e=localStorage.getItem("settings");return e?Promise.resolve(JSON.parse(e)):Promise.resolve({defaultFilters:Mi({},Xo),filters:Mi({},Xo),defaultSalary:{value:18e4,currency:"RUB",workDaysInYear:247,vacationDaysInYear:28,workDaysInWeek:5,type:"full"},linksPrefixForTasks:"",employees:[]})},Qs=function(e){return localStorage.setItem("settings",JSON.stringify(e)),Promise.resolve()},Ys=function(e){c(n,e);var t=m(n);function n(){var e;return a(this,n),oa(p(e=t.call(this)),{save:Nr}),e}return l(n,[{key:"save",value:function(e){var t=this,n=Qs;return this.submit(n,e,!1).then((function(e){return t.setInitState(t.state),Promise.resolve(e)}))}}]),n}(qs),Xs=new Ys,Js="styles_buttons_header__MKybC",el="styles_buttons_footer__rT1Dg",tl="styles_user__18EZt",nl="styles_user_title__INMim",rl="styles_user_footer__gS6BN",al="styles_salary__pxZM6",il="styles_salary_title__ksmKS",ol="styles_salary_icons__tGQ2v",sl="styles_salary_icons_item__EjPQn",ll="styles_salary_footer__W+vbO",ul=Si((function(){return Xs.isEdited?(0,is.jsxs)("div",{className:Js,children:[(0,is.jsx)(us,{type:"second",onClick:function(){Xs.setInitState(Xs.initState)},children:"\u041e\u0442\u043c\u0435\u043d\u0430"}),(0,is.jsx)(us,{onClick:function(){Xs.save(Xs.state)},children:"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c"})]}):null})),cl="header_header__Kfx5K",dl="header_header_title__86aOo",fl="header_header_setting__FusMK",pl={team:{total:"\u041e\u0431\u0449\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f",sprint:"\u0414\u0438\u043d\u0430\u043c\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043d\u0435\u0434\u0435\u043b\u0438",month:"\u0421\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u0434\u0430\u0447 \u0437\u0430 \u043c\u0435\u0441\u044f\u0446",scope:"\u041e\u0446\u0435\u043d\u043a\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430",author:"\u041e\u0446\u0435\u043d\u043a\u0430 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432",type:"\u0422\u0438\u043f\u044b \u0437\u0430\u0434\u0430\u0447 \u0438 \u0438\u0445 \u043e\u0446\u0435\u043d\u043a\u0430",tree:"\u0410\u043d\u0430\u043b\u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432",year:"\u0413\u0440\u0430\u0444\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u044b",hours:"\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0434\u043d\u044f \u043d\u0435\u0434\u0435\u043b\u0438",commits:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",changes:"\u0412\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f",timestamp:"\u0412\u0441\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u044b",week:"\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u043f\u043e \u0434\u043d\u044f\u043c \u043d\u0435\u0434\u0435\u043b\u0438",words:"\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0441\u043b\u043e\u0432\u0430 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u043a\u043e\u043c\u043c\u0438\u0442\u0443",settings:"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438"},person:{total:"\u041e\u0431\u0449\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f",speed:"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b",money:"\u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b",week:"\u0414\u0438\u043d\u0430\u043c\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043d\u0435\u0434\u0435\u043b\u0438",month:"\u0421\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u0434\u0430\u0447 \u0437\u0430 \u043c\u0435\u0441\u044f\u0446",frequency:"\u0413\u0440\u0430\u0444\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u044b",hours:"\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0434\u043d\u044f \u043d\u0435\u0434\u0435\u043b\u0438",absolute:"\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u043f\u043e \u0434\u043d\u044f\u043c \u043d\u0435\u0434\u0435\u043b\u0438",commits:"\u0412\u0441\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u044b",changes:"\u0412\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f",words:"\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0441\u043b\u043e\u0432\u0430 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u043a\u043e\u043c\u043c\u0438\u0442\u0443",settings:"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438"}};var hl=function(){var e,t=ge(),n=t.type,r=t.page;return(0,is.jsx)("h2",{className:dl,children:(null===(e=pl[n||""])||void 0===e?void 0:e[r||""])||"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438"})},ml="filters_header_filters__5lxN3",vl="filters_header_filters_input__Fv5wM",yl="filters_header_filters_fast__0dgl6",gl="filters_header_filters_fast_button__6G842";var _l=function(e){var t=e.title,n=e.type;return(0,is.jsx)("button",{className:gl,onClick:function(){zi.setFilterByDateType(n)},children:t||""})},bl=Si((function(e){var t,n=e.type,r=e.placeholder;return(0,is.jsx)("input",{type:"date",placeholder:r||"",value:null!==(t=zi[n])&&void 0!==t?t:"",className:vl,onChange:function(e){zi.updateProperty(n,e.target.value)}})})),kl=bl;var xl=function(){return(0,is.jsxs)("div",{className:ml,children:[(0,is.jsx)(kl,{type:"from",placeholder:"\u0441"})," \u2014 ",(0,is.jsx)(kl,{type:"to",placeholder:"\u043f\u043e"}),(0,is.jsxs)("div",{className:yl,children:[(0,is.jsx)(_l,{title:"\u0432\u0441\u0451 \u0432\u0440\u0435\u043c\u044f",type:"all"}),(0,is.jsx)(_l,{title:"\u0433\u043e\u0434",type:"year"}),(0,is.jsx)(_l,{title:"\u043f\u043e\u043b \u0433\u043e\u0434\u0430",type:"halfYear"}),(0,is.jsx)(_l,{title:"\u043c\u0435\u0441\u044f\u0446",type:"month"}),(0,is.jsx)(_l,{title:"\u043d\u0435\u0434\u0435\u043b\u044f",type:"week"})]})]})},wl=Si((function(){var e=ye();return(0,is.jsxs)("header",{className:cl,children:[(0,is.jsx)(hl,{}),Xs.isEdited?(0,is.jsx)(ul,{}):(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(xl,{}),(0,is.jsx)("img",{className:fl,src:"./assets/menu/setting.svg",onClick:function(){e("/settings")}})]})]})})),jl="styles_page_wrapper__SwXbM",Sl="styles_page_wrapper_main__9Tdkf";function Cl(e){var t=e.children;return(0,is.jsxs)("div",{className:jl,children:[(0,is.jsx)(Gs,{}),(0,is.jsx)(wl,{}),(0,is.jsx)("div",{className:Sl,children:t})]})}Cl.defaultProps={selectedMenuItem:""};var Nl=Cl,El="card_card__IWzHF",Ol="card_card_icon__1WRTV",Tl="card_card_title__-hKs+",Pl="card_card_description__nhcNZ",Dl="card_card_button__pARnW";var Al=function(e){var t=e.icon,n=e.title,r=e.description,a=e.link,i=ye();return(0,is.jsxs)("figure",{className:El,children:[(0,is.jsx)("h4",{className:Tl,children:Je.get(n)}),(0,is.jsx)("img",{className:Ol,src:t}),(0,is.jsx)("figcaption",{className:Pl,children:Je.get(r)}),(0,is.jsx)(us,{className:Dl,onClick:function(){i(a)},children:"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043e\u0442\u0447\u0451\u0442"})]})},Ll="styles_main__t0CXo",Rl="styles_main_title__VWKV0",Il="styles_main_cards__Vhpem";var Ml=function(){return(0,is.jsxs)("section",{className:Ll,children:[(0,is.jsx)("h2",{className:Rl,children:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u0434\u0435\u043b \u0430\u043d\u0430\u043b\u0438\u0442\u0438"}),(0,is.jsxs)("div",{className:Il,children:[(0,is.jsx)(Al,{icon:"./assets/cards/money_lazy.png",title:"\u041a\u043e\u043c\u0430\u043d\u0434\u0430",description:"\u0421\u043e\u0431\u0440\u0430\u043d\u044b \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u0446\u0435\u043b\u043e\u043c, \u0441\u0443\u043c\u0430\u0440\u043d\u044b\u0435 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u044b\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438, \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.",link:"/team/total"}),(0,is.jsx)(Al,{icon:"./assets/cards/money_lazy.png",title:"\u0421\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a",description:"\u0414\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0443 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e. \u041b\u0438\u0447\u043d\u044b\u0435 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f, \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438, \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438.",link:"/person/total/0"})]})]})},Bl="Page_main_wrapper__-+zVr",zl="Page_main_wrapper_white__xEOGR",Fl="Page_main_wrapper_icons__Og3XS",Ul="Page_main_wrapper_item__VWK4x";var Wl=function(e){var t=e.children,n=e.template,r=n?"".concat(Bl," ").concat(zl):"".concat(Bl),a="table"===n?{paddingTop:0}:{};return(0,is.jsx)("div",{className:r,style:a,children:t})};function Vl(e){var t=e.className,n=e.onRemove,r=e.children;return(0,is.jsxs)("div",{className:"".concat(zl," ").concat(t||""),children:[(0,is.jsx)("div",{className:Fl,children:n&&(0,is.jsx)(us,{type:"second",onClick:function(){return n()},children:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c"})}),r]})}Vl.defaultProps={className:void 0};var Hl=Vl;function Gl(e){var t=e.template,n=e.children;return t?(0,is.jsx)(Hl,{className:Ul,children:n}):(0,is.jsx)("div",{className:Ul,children:n})}Gl.defaultProps={template:void 0};var Zl=Gl,$l="NothingFound_nothing_found__Hi1Q2",ql="NothingFound_nothing_found_wrapper__jt3EJ",Kl="NothingFound_nothing_found_icon__IqSmT",Ql="NothingFound_nothing_found_title__Ymf5b",Yl="NothingFound_nothing_found_text__rNA86",Xl="NothingFound_nothing_found_console__Lgk2w",Jl="NothingFound_nothing_found_link__RrWIO";var eu=function(){return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)("p",{className:Ql,children:"\u041d\u0435\u0442 \u0438\u043b\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f"}),(0,is.jsxs)("p",{className:Yl,children:['\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 "',(0,is.jsx)("a",{href:"https://www.conventionalcommits.org/en/v1.0.0/",target:"_blank",rel:"noreferrer",className:Jl,children:"Git commit message convention"}),'". \u0428\u0430\u0431\u043b\u043e\u043d:']}),(0,is.jsx)("p",{className:Xl,children:"\u041d\u043e\u043c\u0435\u0440_\u0437\u0430\u0434\u0430\u0447\u0438 \u0442\u0438\u043f(\u0444\u0438\u0447\u0430): \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u0435"}),(0,is.jsx)("p",{className:Yl,children:"\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:"}),(0,is.jsxs)("p",{className:Xl,children:["JIRA-0001 feat(profile): add user avatar",(0,is.jsx)("br",{}),"JIRA-0002 fix(profile): changed link for user web site",(0,is.jsx)("br",{}),"JIRA-0003 test(profile): added unit tests for edit phone"]})]})};function tu(e){var t=e.icon,n=e.message,r=e.children,a=e.className;return(0,is.jsx)("div",{className:"".concat(ql," ").concat(a),children:(0,is.jsxs)("div",{className:$l,children:[(0,is.jsx)("img",{src:t||"./assets/cards/nothing_found.png",className:Kl}),!r&&n&&(0,is.jsx)("p",{className:Ql,children:n}),!r&&!n&&(0,is.jsx)(eu,{}),r]})})}tu.defaultProps={children:null,icon:null,className:"",message:"",stylesConfig:{iconWidth:"483px",iconHeight:"332px",margin:"0"}};var nu=tu,ru="Loading_loading__7PW3-";function au(e){var t=e.height;return(0,is.jsx)("div",{className:ru,style:{minHeight:t?"".concat(t,"px"):"auto"},children:"..."})}au.defaultProps={height:0};var iu=au;function ou(){ou=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(O){u=function(e,t,n){return e[t]=n}}function c(e,t,n,a){var i=t&&t.prototype instanceof p?t:p,o=Object.create(i.prototype),s=new C(a||[]);return r(o,"_invoke",{value:x(e,n,s)}),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(O){return{type:"throw",arg:O}}}e.wrap=c;var f={};function p(){}function h(){}function m(){}var v={};u(v,o,(function(){return this}));var y=Object.getPrototypeOf,g=y&&y(y(N([])));g&&g!==t&&n.call(g,o)&&(v=g);var _=m.prototype=p.prototype=Object.create(v);function b(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(r,o,s,l){var u=d(e[r],e,o);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==i(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){a("next",e,s,l)}),(function(e){a("throw",e,s,l)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return a("throw",e,s,l)}))}l(u.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){a(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(a,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw i;return E()}for(n.method=a,n.arg=i;;){var o=n.delegate;if(o){var s=w(o,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function w(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var a=d(r,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,f;var i=a.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function N(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:E}}function E(){return{value:void 0,done:!0}}return h.prototype=m,r(_,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:h,configurable:!0}),h.displayName=u(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},b(k.prototype),u(k.prototype,s,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,a,i){void 0===i&&(i=Promise);var o=new k(c(t,n,r,a),i);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},b(_),u(_,l,"Generator"),u(_,o,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=N,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;S(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:N(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function su(e,t,n,r,a,i,o){try{var s=e[i](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,a)}var lu={INIT:"INIT",LOADING:"LOADING",LOADING_MORE:"LOADING_MORE",LOADING_ALL:"LOADING_ALL",LOADING_PAGE:"LOADING_PAGE",ERROR:"ERROR",SUCCESS:"SUCCESS"},uu=function(){function e(t){var n=t.loader,r=t.callback,i=t.defaultPageNumber,o=t.defaultPageSize,s=t.watch;a(this,e),this.state=lu.INIT,this.watchedValue="",this.defaultPageNumber=0,this.defaultPageSize=10,this.pageNumber=0,this.pageSize=10,this.sort=[],this.loader=function(){},this.callback=function(){},this.response=null,this.loader=n,this.callback=r,this.defaultPageNumber=i||0,this.defaultPageSize=o||10,this.watchedValue=s||"",oa(this,{state:jn,watchedValue:jn,response:jn,sort:jn,fetchData:Nr,successCallback:Nr,errorCallback:Nr,loadMore:Nr,showAll:Nr,updateSort:Nr,canSendRequest:En})}return l(e,[{key:"newSearch",value:function(){return this.fetchData(lu.LOADING,{pageNumber:this.defaultPageNumber,pageSize:this.defaultPageSize})}},{key:"updateSort",value:function(e){this.sort=e||[],this.newSearch()}},{key:"goToPage",value:function(e,t){return this.fetchData(lu.LOADING_PAGE,{pageNumber:e,pageSize:t})}},{key:"loadMore",value:function(){var e=this.pageNumber+1;return this.fetchData(lu.LOADING_MORE,{pageNumber:e,pageSize:this.pageSize})}},{key:"showAll",value:function(){var e,t;if(0===this.pageNumber&&2===(null===(e=this.response)||void 0===e?void 0:e.totalPages))return this.loadMore();var n=(null===(t=this.response)||void 0===t?void 0:t.totalElements)||100;return this.fetchData(lu.LOADING_ALL,{pageNumber:0,pageSize:n})}},{key:"canSendRequest",get:function(){return![lu.LOADING,lu.LOADING_MORE,lu.LOADING_ALL,lu.LOADING_PAGE,lu.ERROR].includes(this.state)}},{key:"fetchData",value:function(){var e,t=(e=ou().mark((function e(t){var n,r,a,i,o,s=arguments;return ou().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=s.length>1&&void 0!==s[1]?s[1]:{},this.canSendRequest){e.next=3;break}return e.abrupt("return");case 3:return this.state=t,e.prev=4,r=n.pageNumber,a=n.pageSize,this.callback&&this.callback(),e.next=9,this.loader({page:r,size:a},this.sort);case 9:i=e.sent,this.successCallback(i),e.next=19;break;case 13:return e.prev=13,e.t0=e.catch(4),e.next=17,e.t0;case 17:o=e.sent,this.errorCallback(o);case 19:case"end":return e.stop()}}),e,this,[[4,13]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){su(i,r,a,o,s,"next",e)}function s(e){su(i,r,a,o,s,"throw",e)}o(void 0)}))});return function(e){return t.apply(this,arguments)}}()},{key:"successCallback",value:function(e){var t,n,r,a;this.setResponse(e),this.pageSize=(null===(t=this.response)||void 0===t?void 0:t.size)||(null===(n=this.response)||void 0===n?void 0:n.pageSize)||10,this.pageNumber=(null===(r=this.response)||void 0===r?void 0:r.number)||(null===(a=this.response)||void 0===a?void 0:a.pageNumber)||0,this.callback&&this.callback(this.response),this.state=lu.SUCCESS}},{key:"setResponse",value:function(e){this.state===lu.LOADING_MORE?this.response=Mi(Mi({},e),{},{content:[].concat((0,r.Z)(this.response.content),(0,r.Z)(e.content))}):this.response=e}},{key:"errorCallback",value:function(e){this.state===lu.LOADING&&(this.response=e),this.state=lu.ERROR}},{key:"updateWatchedValue",value:function(e){this.watchedValue=e,this.state=lu.INIT,this.newSearch()}}]),e}();function cu(e){var t=e.response;return(0,is.jsx)("div",{className:"data-loader-error",children:(0,is.jsx)("div",{title:"\u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d",children:(0,is.jsx)("div",{children:t})})})}cu.defaultProps={response:null};var du=cu;function fu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return"response"in(null===e||void 0===e?void 0:e.props)&&"state"in(null===e||void 0===e?void 0:e.props)&&"store"in(null===e||void 0===e?void 0:e.props)||"parameterInUrl"in(null===e||void 0===e?void 0:e.props)||"pagination"in(null===e||void 0===e?void 0:e.props)}var pu=Si((function(t){var r=t.watch,a=t.children,i=t.loader,o=t.callback,s=t.to,l=t.from,u=t.height,c=t.id,d=t.className,f=t.parameterInUrl,p=t.pagination,h=new URLSearchParams(ve().search),m=(0,e.useState)(),v=(0,n.Z)(m,2),y=v[0],g=v[1],_=null!==f&&void 0!==f&&f.includes("pageNumber")&&parseInt(h.get("pageNumber")||"",10)||0,b=null!==f&&void 0!==f&&f.includes("pageSize")&&parseInt(h.get("pageSize")||"",10)||10;(0,e.useEffect)((function(){if(y instanceof uu){if(y.response)if(y.loader=i,y.callback=o,(r||y.watchedValue)&&y.watchedValue!==r)y.updateWatchedValue(r);else if(!f||y.pageNumber===_&&y.pageSize===b){if(p&&(y.pageNumber!==(null===p||void 0===p?void 0:p.page)||y.pageSize!==(null===p||void 0===p?void 0:p.size))){var e=(null===p||void 0===p?void 0:p.page)||0,t=(null===p||void 0===p?void 0:p.size)||10;y.goToPage(e,t)}}else y.goToPage(_,b)}else{var n=new uu({loader:i,callback:o,defaultPageNumber:_||(null===p||void 0===p?void 0:p.page),defaultPageSize:b||(null===p||void 0===p?void 0:p.size),watch:r});n.newSearch(),g(n)}}));var k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=lu.INIT,r=null;return e instanceof uu&&(n=e.state,[lu.SUCCESS,lu.LOADING_MORE,lu.LOADING_ALL].includes(n)&&(r=t?e.response[t]:e.response)),{state:n,response:r}}(y,l),x=k.state,w=k.response;if(x===lu.LOADING||x===lu.LOADING_PAGE)return(0,is.jsx)(iu,{height:u||80});if(x===lu.ERROR)return(0,is.jsx)(du,{response:null===y||void 0===y?void 0:y.response});var j,S=e.Children.map(a,(function(t){return e.isValidElement(t)?e.cloneElement(t,function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[""],l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{page:0,size:10};return fu(t)?{response:null===n||void 0===n?void 0:n.response,to:i,from:o,state:r,store:n,parameterInUrl:s,pagination:l}:(Ri(e={},i,a),Ri(e,"updateSort",(function(e){return null===n||void 0===n?void 0:n.updateSort(e)})),e)}(t,y,x,w,s,l,f,p)):t})),C=null===S||void 0===S?void 0:S.find((function(e){return e.type===nu}));if(x===lu.SUCCESS&&C&&(0===Object.keys(w||{}).length||0===(null===w||void 0===w||null===(j=w.content)||void 0===j?void 0:j.length)))return(0,is.jsx)(is.Fragment,{children:C});var N=null===S||void 0===S?void 0:S.filter((function(e){return e.type!==nu}));return d?(0,is.jsx)("div",{id:c||"",className:d||"",children:N}):(0,is.jsx)(is.Fragment,{children:N})})),hu=pu;var mu=function(e){var t=e.title,n=e.description,r=e.help,a=e.example,i=e.error,o=e.className,s=e.children;return(0,is.jsxs)("div",{className:"".concat(ss.wrapper," ").concat(o||""),title:r,children:[t&&(0,is.jsx)("h6",{className:ss.title,children:t}),n&&(0,is.jsx)("p",{className:ss.description,children:n}),s,r&&(0,is.jsx)("p",{className:ss.help,children:a}),i&&(0,is.jsx)("p",{className:ss.error,children:i})]})};function vu(e){var t=e.title,n=e.description,r=e.help,a=e.error,i=e.className,o=e.value,s=e.placeholder,l=e.onChange;return(0,is.jsx)(mu,{title:t,description:n,help:r,error:a,className:i,children:(0,is.jsx)("input",{type:"text",value:o,placeholder:s,className:"".concat(i," ").concat(ss.ui_kit_common," }"),onChange:function(e){l&&l(e.target.value)}})})}vu.defaultProps={placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435"};var yu=vu,gu="paginator_paginator__cELtB",_u="paginator_paginator_text__rYCct",bu="paginator_paginator_page_number__RhBa7";function ku(e){var t=e.response,n=e.state,r=e.pagination,a=e.store;if(!t)return null;var i=(null===r||void 0===r?void 0:r.size)||10,o=t.number,s=t.size,l=t.totalElements,u=Math.ceil(l/s);if(n===lu.INIT||o>u||1===u||!l)return null;var c=!(n===lu.INIT||o>=u-1);return[lu.LOADING_ALL,lu.LOADING_MORE].includes(n||"")?(0,is.jsx)(iu,{height:40}):n===lu.ERROR?(0,is.jsx)(du,{response:null===a||void 0===a?void 0:a.response}):(0,is.jsxs)("nav",{className:gu,children:[(0,is.jsx)("p",{className:_u,children:"\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430"}),(0,is.jsx)(us,{type:"second",disabled:!o,onClick:function(){a&&a.goToPage(o-1,s||i)},children:"\xab"}),(0,is.jsx)(yu,{className:bu,value:o+1,onChange:function(e){var t=parseInt(e||"1",10);t<1&&(t=1),t>=u&&(t=u),a&&a.goToPage(t-1,s||i)}}),(0,is.jsx)(us,{type:"second",disabled:o===u-1,onClick:function(){a&&a.goToPage(o+1,s||i)},children:"\xbb"}),(0,is.jsx)("p",{className:_u,children:"\u0438\u0437"}),(0,is.jsx)(us,{type:"second",onClick:function(){a&&a.goToPage(u-1,s||i)},children:u}),(0,is.jsx)("p",{className:_u,children:"\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u043f\u043e"}),(0,is.jsx)(yu,{value:s,className:bu,onChange:function(e){var t=parseInt(e||"10",10);t<1&&(t=1),t>l&&(t=l),a&&a.goToPage(0,t)}}),(0,is.jsx)("p",{className:_u,children:"\u0441\u0442\u0440\u043e\u043a."}),c&&(0,is.jsx)(us,{type:"slim",onClick:function(){a&&a.showAll()},children:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0441\u0435"})]})}ku.defaultProps={response:null,state:lu.INIT,store:null,pagination:{}};var xu=ku;function wu(e,t,n,a){var i=e||[],o=n?i.filter((function(e){return e.name.toLowerCase().includes(null===n||void 0===n?void 0:n.toLowerCase())})):i,s=a?function(e,t){function n(e,t,n){return(e[n]||"").localeCompare(t[n]||"")}function a(e,t,n){return(e[n]||0)-(t[n]||0)}function i(e,t,n){return(e[n]||0).length-(t[n]||0).length}var o=null===e||void 0===e?void 0:e[0],s=t.map((function(e){return"string"===typeof o[e.property]?n:Array.isArray(o[e.property])?i:a})),l=t.length;return(0,r.Z)(e).sort((function(e,n){for(var r=0;r<l;r++){var a=t[r],i=s[r](e,n,a.property);if(i)return i*a.direction}return 0}))}(o,a||[]):o;if(!t)return Promise.resolve({size:(null===s||void 0===s?void 0:s.length)||0,number:0,totalPages:1,totalElements:(null===s||void 0===s?void 0:s.length)||0,sort:a||[],content:s||[]});var l=t.size||10,u=t.page||0,c=l*u,d=c+l,f=s.length,p=Math.ceil(f/l);return Promise.resolve({size:l,number:u,totalPages:p,totalElements:f,sort:a||[],content:s.slice(c,d)||[]})}var ju={title:"Title_title__r1qsD"};function Su(e){var t=e.title,n=e.addPadding,r=e.className;return(0,is.jsx)("h3",{className:"".concat(ju.title," ").concat(n?ju.title_padding:""," ").concat(r||""),children:t||""})}Su.defaultProps={addPadding:!1,className:""};var Cu=Su,Nu="header_sort_up__MKa5C",Eu="header_sort_down__Mf1uj",Ou="styles_table_wrapper__S6kBR",Tu="styles_table__fuUfa",Pu="styles_table_row__GAJFv",Du="styles_table_cell__-8yU7",Au="styles_table_header_cell__XVDfy",Lu="styles_table_cell_number__znfix",Ru="styles_disabled__3Ho4a";function Iu(e){var t=e.columns,n=e.className,r=e.updateSort,a=t.map((function(e,t){var a="function"===typeof e.className?e.className("header",t):e.className;return(0,is.jsxs)("div",{className:"".concat(Au," ").concat(n," ").concat(a||""),style:{width:e.width},children:[(0,is.jsx)("span",{onClick:function(){e.isSortable&&r&&r([{property:"string"===typeof e.isSortable?e.isSortable:e.properties,direction:[1,-1][e.sortDirection||0]||0}])},children:Je.get(e.title)}),e.title&&-1===e.sortDirection&&(0,is.jsx)("div",{className:Eu}),e.title&&1===e.sortDirection&&(0,is.jsx)("div",{className:Nu})]},"".concat(e.title,"_").concat(t))}));return(0,is.jsx)("div",{className:"".concat(Pu," ").concat(n),children:a})}Iu.defaultProps={className:"",updateSort:function(){}};var Mu=Iu;function Bu(e){var t=e.column,n=e.row,r=e.className,a=e.children,i="function"===typeof t.className?t.className("body",n):t.className,o=t.onClick?function(){t.onClick&&t.onClick(n)}:void 0;return(0,is.jsx)("div",{className:"".concat(Du," ").concat(r||""," ").concat(i||""),style:{width:t.width,cursor:o?"pointer":"auto"},onClick:o,children:a},t.title)}Bu.defaultPeops={className:""};var zu=Bu;function Fu(e){var t=e.rows,n=e.disabledRow,r=e.columns,a=e.className,i=null===t||void 0===t?void 0:t.map((function(e,t){var i=r.map((function(t,n){var r,a,i=t.properties?e[t.properties]:e,o=t.formatter?t.formatter(i):i,s="function"===typeof t.template?t.template(o):"".concat(null!==(r=t.prefixes)&&void 0!==r?r:"").concat(null!==o&&void 0!==o?o:"").concat(null!==(a=t.suffixes)&&void 0!==a?a:"");return(0,is.jsx)(zu,{column:t,row:e,children:s},"".concat(t.title,"_").concat(n))})),o=n&&n(e)?Ru:"";return(0,is.jsx)("div",{className:"".concat(Pu," ").concat(o," ").concat(a),children:i},t)}));return(0,is.jsx)(is.Fragment,{children:i})}Fu.defaultProps={className:""};var Uu=Fu;var Wu,Vu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=null===n||void 0===n?void 0:n.reduce((function(e,t){return e[t.property]=t.direction,e}),{}),i=e.map((function(e){return Mi(Mi({},e),{},{sortDirection:"string"===typeof(null===e||void 0===e?void 0:e.isSortable)?a[(null===e||void 0===e?void 0:e.isSortable)||""]||0:a[(null===e||void 0===e?void 0:e.properties)||""]||0,width:e.userWidth||e.defaultWidth||t||e.width||150})})),o=Math.floor(i.length/2);return[].concat((0,r.Z)(i.filter((function(e,t){return e.isFixed&&t<=o}))),(0,r.Z)(i.filter((function(e){return!e.isFixed}))),(0,r.Z)(i.filter((function(e,t){return e.isFixed&&t>o}))))};function Hu(t){var n=t.rows,r=void 0===n?[]:n,a=t.sort,i=void 0===a?[]:a,o=t.disabledRow,s=t.updateSort,l=t.children;if(!r||!r.length)return null;var u=e.useRef(),c=function(t){return e.Children.map(t,(function(t){var n,r,a,i,o,s,l;if(!e.isValidElement(t))return null;var u=(null===t||void 0===t||null===(n=t.props)||void 0===n?void 0:n.template)||Wu.STRING,c=(null===t||void 0===t||null===(r=t.props)||void 0===r?void 0:r.className)||(a={},Ri(a,Wu.STRING,""),Ri(a,Wu.NUMBER,Lu),Ri(a,Wu.SHORT_NUMBER,Lu),a)[u||""]||"",d=(null===t||void 0===t||null===(i=t.props)||void 0===i?void 0:i.width)||(o={},Ri(o,Wu.STRING,200),Ri(o,Wu.NUMBER,110),Ri(o,Wu.SHORT_NUMBER,70),o)[u||""]||0,f=null!==t&&void 0!==t&&null!==(s=t.props)&&void 0!==s&&s.isSortable?null===t||void 0===t||null===(l=t.props)||void 0===l?void 0:l.isSortable:[Wu.STRING,Wu.NUMBER,Wu.SHORT_NUMBER].includes(u);return Mi(Mi({},t.props),{},{className:c,template:u,isSortable:f,width:void 0,userWidth:void 0,defaultWidth:d})}))}(l),d=function(e,t){var n,r;if(null===t||void 0===t||null===(n=t.current)||void 0===n||!n.offsetWidth)return 150;var a=e.filter((function(e){return e.isShow})).map((function(e){return e.userWidth||e.defaultWidth||0})),i=a.reduce((function(e,t){return e+t}),0),o=a.filter((function(e){return!e})).length,s=((null===t||void 0===t||null===(r=t.current)||void 0===r?void 0:r.offsetWidth)-i)/o;return Math.max(s,40)}(c,u),f=Vu(c,d,i);return(0,is.jsx)("div",{className:"".concat(Ou),children:(0,is.jsxs)("div",{ref:u,className:"".concat(Tu),children:[(0,is.jsx)(Mu,{columns:f,updateSort:s}),(0,is.jsx)(Uu,{rows:r,columns:f,disabledRow:o})]})})}!function(e){e.STRING="STRING",e.NUMBER="NUMBER",e.SHORT_NUMBER="SHORT_NUMBER"}(Wu||(Wu={})),Hu.defaultProps={rows:[],sort:[],updateSort:function(){}};var Gu=Hu;function Zu(e){var t=e.template,n=e.title,r=e.properties,a=e.prefixes,i=e.suffixes,o=e.formatter,s=e.className,l=e.style,u=e.isFixed,c=e.isSortable,d=e.isResizable,f=e.isDraggable,p=e.isShow,h=e.width,m=e.onClick;return(0,is.jsx)(is.Fragment,{children:{template:t,title:n,properties:r,prefixes:a,suffixes:i,formatter:o,className:s,style:l,isFixed:u,isSortable:c,isResizable:d,isDraggable:f,isShow:p,width:h,onClick:m}})}Zu.defaultProps={title:"",prefixes:[""],suffixes:[""],formatter:function(e){return e},className:"",isDisabled:!1,isFixed:!1,isSortable:!1,isResizable:!1,isDraggable:!1,isShow:!0,width:void 0,onClick:void 0};var $u=Zu;function qu(e,t){var n=0,r=0,a=[];return e.forEach((function(e){n+=e.width,r+=e.value,e.title&&a.push(e.title)})),{title:t.otherTitle,value:r,width:n,description:a.join(", ")}}function Ku(e,t){var r=Object.entries(e).sort((function(e,n){return t.order.indexOf(e[0])-t.order.indexOf(n[0])})),a=r.reduce((function(e,t){return e+t[1]}),0),i=[],o=[],s=[];return r.forEach((function(e){var r=(0,n.Z)(e,2),l=r[0],u=r[1],c=function(e,t){return Math.round(e*(100/t))}(u||0,a),d={title:l,value:u,width:c};i.push(d),c>=t.limit?o.push(d):s.push(d)})),0===s.length?o:1===s.length?i:[].concat(o,[qu(s,t)])}function Qu(e){var t=e.value,n=e.width,r=e.title,a=e.description,i=e.suffix,o=e.color,s=e.className;if(!n||n<=0)return null;var l=r||"",u=t?"".concat(n,"% (").concat(t," ").concat(i,") ").concat(a||l):"".concat(n,"% ").concat(a||l);return(0,is.jsx)("div",{className:s,style:{width:"".concat(n,"%"),color:null===o||void 0===o?void 0:o.second,padding:l?"0 0 0 4px":"0",backgroundColor:null===o||void 0===o?void 0:o.first},title:u,children:l})}Qu.defaultProps={value:0,width:0,title:"",description:"",suffix:"",color:null,className:""};var Yu=Qu,Xu="styles_line_chart__EMkm8",Ju="styles_line_chart_item__bIGrw",ec="styles_line_chart_sub_item__uqz6Q";function tc(e){var t=e.options,n=e.value,r=e.details;if(0===n)return null;var a=Math.round((null!==n&&void 0!==n?n:100)*(100/t.max));if(!r)return(0,is.jsx)("div",{className:Xu,children:(0,is.jsx)(Yu,{value:null!==n&&void 0!==n?n:100,width:a,suffix:t.suffix,className:Ju})});var i=Ku(r,t).map((function(e){return(0,is.jsx)(Yu,{title:e.title,value:e.value,width:e.width,color:t.color.get(e.title),suffix:t.suffix,description:e.description,className:ec},e.title)}));return(0,is.jsx)("div",{className:Xu,children:(0,is.jsx)("div",{className:Ju,style:{width:"".concat(a,"%")},children:i})})}tc.defaultProps={value:100,details:void 0};var nc=tc,rc=function(){function e(t){a(this,e),this.refColorByTitle={};var n=["#7F9BE0","#E9A5A1","#C2ECC1","#B6BAE9","#A18BE0","#FFC178","#75CCE0","#B2E069","#EC95B6","#E2DA84","#A7C0FF","#D7D4B1","#E0BA96","#E0BE69","#C0D79C","#B6C5C9","#9E98AD","#AACFD8","#BAB2D0","#DCBAC7"];this.refColorByTitle=Object.fromEntries(t.map((function(e,t){return[e,{first:n[t],second:"#FFFFFF"}]})))}return l(e,[{key:"get",value:function(t){return this.refColorByTitle[t]||e.DEFAULT}}]),e}();function ac(e){var t=e.order,n=e.suffix,a=e.other,i=e.max,o=e.limit;return{max:i instanceof Array?Math.max.apply(Math,(0,r.Z)(i)):i||100,order:t||[],suffix:n||"\u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",otherTitle:a||"\u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435",color:null!==t&&void 0!==t&&t.length?new rc(t):null,limit:o||15}}rc.DEFAULT="#D0D1D2";var ic="Description_description_title__19ac7",oc="Description_description_text__8ppQS",sc="Description_description_list__3ZRlh";function lc(e){var t=(e||"").split("*").map((function(e,t){return t%2?(0,is.jsx)("b",{children:e},e):(0,is.jsx)("span",{children:e},e)}));return(0,is.jsx)(is.Fragment,{children:t})}function uc(e){var t=e.text,n=e.style;return(0,is.jsx)("p",{className:sc,style:n||{},children:lc(t)})}function cc(e){var t=e.text,n=e.style;return(0,is.jsx)("h6",{className:ic,style:n||{},children:lc(t)})}function dc(e){var t=e.text,n=e.style;return(0,is.jsx)("p",{className:oc,style:n||{},children:lc(t)})}function fc(e){var t=e.text,n=e.style,r=(Array.isArray(t)?t:(t||"").trim().split(/\n+/gm)).map((function(e){var t=e.substring(0,2),r=e.substring(2);return"- "===t?(0,is.jsx)(uc,{text:r,style:n},r):"# "===t?(0,is.jsx)(cc,{text:r,style:n},r):(0,is.jsx)(dc,{text:e,style:n},r)}));return(0,is.jsx)(is.Fragment,{children:r})}fc.defaultProps={text:""};var pc=fc,hc="card_card__Nk9xa",mc="card_card_wrapper__HCLog",vc="card_card_icon__DZ5AR",yc="card_card_fact__Yo+zt",gc="card_card_warning__F5c5R",_c="card_card_error__z7Zb6",bc="card_card_title__4aVyS",kc="card_card_shortcut__b3-qK";var xc=function(e){var t,r=e.recommendation;if(!r)return null;var a=(0,n.Z)(r,3),i=a[0],o=a[1],s=a[2],l=i||"";Array.isArray(i)&&(l=i.length>1?"".concat(i[0]," +").concat(i.length-1):i[0]);var u=null!==(t={info:yc,fact:yc,warning:gc,error:_c}[s||"info"])&&void 0!==t?t:yc,c=(o||"").split("\n"),d=c.shift(),f=c.join("\n");return(0,is.jsx)("div",{className:"".concat(hc," ").concat(u),children:(0,is.jsxs)("div",{className:mc,children:[(0,is.jsxs)("h5",{className:bc,children:[(0,is.jsx)("span",{className:vc}),l]}),(0,is.jsx)(pc,{style:{color:"#12131B"},text:d||""}),(0,is.jsx)("div",{className:kc,children:(0,is.jsx)(pc,{style:{color:"#12131B"},text:f||""})})]})})},wc="styles_recommendations_short__k6Xoa",jc="styles_recommendations_full__r6cE9",Sc="styles_more__2Fdh7";var Cc=function(t){var r=t.recommendations,a=(0,e.useState)(5),i=(0,n.Z)(a,2),o=i[0],s=i[1],l=(0,e.useState)(!1),u=(0,n.Z)(l,2),c=u[0],d=u[1],f=(0,e.useRef)();(0,e.useLayoutEffect)((function(){var e,t=null===f||void 0===f||null===(e=f.current)||void 0===e?void 0:e.offsetWidth;s((t-30)/244)}),[]);var p=c?jc:wc,h=(r||[]).filter((function(e){return e})).map((function(e){return(0,is.jsx)(xc,{recommendation:e},e[1])})),m=h.slice(0,c?1/0:o);return h.length?(0,is.jsxs)("div",{ref:f,className:p,children:[c?h:m,!c&&h.length>o&&(0,is.jsx)("div",{className:Sc,onClick:function(){d(!0)},children:"\xbb"})]}):null};var Nc=function(e){var t=e.recommendations;if(!t.length)return null;var n=Je.get("recommendations.title");return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Cu,{title:n}),(0,is.jsx)(Cc,{recommendations:t})]})};function Ec(e,t,n){return Math.max.apply(Math,(0,r.Z)(e.content.map((function(e){return n?e[t][n]||0:e[t]||0}))))}function Oc(e,t){return Ec(e,t,"length")}function Tc(e){var t=e.response,n=e.updateSort;if(!t)return null;var r=Je.get("page.team.author.worked"),a=Je.get("page.team.author.losses"),i=ac({order:[r,a]}),o=ac({max:Oc(t,"tasks"),suffix:"\u0437\u0430\u0434\u0430\u0447"}),s=ac({max:Ec(t,"commits")}),l=ac({order:ts.dataGrip.type.list});return(0,is.jsxs)(Gu,{rows:t.content,sort:t.sort,updateSort:n,children:[(0,is.jsx)($u,{isFixed:!0,template:Wu.STRING,properties:"author",width:200}),(0,is.jsx)($u,{isSortable:"daysWorked",title:"page.team.author.workedLosses",width:400,template:function(e){return(0,is.jsx)(nc,{options:i,details:e})},formatter:function(e){var t;return Ri(t={},r,e.daysWorked),Ri(t,a,e.daysLosses),t}}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,properties:"tasks",formatter:function(e){return(null===e||void 0===e?void 0:e.length)||0}}),(0,is.jsx)($u,{isSortable:!0,properties:"tasks",title:"page.team.author.tasks",template:function(e){return(0,is.jsx)(nc,{options:o,value:e})},formatter:function(e){return(null===e||void 0===e?void 0:e.length)||0}}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,title:"page.team.author.daysForTask",properties:"daysForTask",formatter:Zi,width:120}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,title:"page.team.author.scopes",properties:"scopes"}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,properties:"commits"}),(0,is.jsx)($u,{isSortable:!0,title:"page.team.author.commits",properties:"commits",template:function(e){return(0,is.jsx)(nc,{options:s,value:e})}}),(0,is.jsx)($u,{title:"page.team.author.types",properties:"types",width:400,template:function(e){return(0,is.jsx)(nc,{options:l,details:e})}}),(0,is.jsx)($u,{template:Wu.NUMBER,title:"page.team.author.moneyAll",properties:"moneyAll",formatter:Hi}),(0,is.jsx)($u,{template:Wu.NUMBER,title:"page.team.author.moneyWorked",properties:"moneyWorked",formatter:Hi}),(0,is.jsx)($u,{template:Wu.NUMBER,title:"page.team.author.moneyLosses",properties:"moneyLosses",formatter:Hi})]})}Tc.defaultProps={response:void 0};var Pc=Si((function(){var e,t=ts.dataGrip.author.statistic;if(null===t||void 0===t||!t.length)return(0,is.jsx)(nu,{});var n=null===(e=ts.dataGrip.recommendations.team)||void 0===e?void 0:e.byAuthor;return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Nc,{recommendations:n}),(0,is.jsx)(Cu,{title:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e \u0444\u0438\u0447\u0430\u043c"}),(0,is.jsx)(Wl,{template:"table",children:(0,is.jsxs)(hu,{to:"response",loader:function(e,n){return wu(t,e,"",n)},children:[(0,is.jsx)(Tc,{}),(0,is.jsx)(xu,{})]})}),(0,is.jsxs)(Wl,{children:[(0,is.jsx)(Zl,{children:(0,is.jsx)(pc,{text:"*\u0427\u0430\u0441\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0442\u0438\u043a\u0438* (\u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b, \u0437\u0430\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u0435\u043d\u044c\u0433\u0438 \u0438 \u0442.\u043f.) *\u043f\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430\u043c \u0441 \u0442\u0438\u043f\u043e\u043c \u041f\u043e\u043c\u043e\u0448\u043d\u0438\u043a \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f*, \u0442.\u043a. \u044d\u0442\u043e \u044d\u043f\u0438\u0437\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0440\u043e\u043b\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0433\u0430\u0435\u043c, \u0447\u0442\u043e \u043e\u043d\u0438 \u043d\u0435 \u0432\u043b\u0438\u044f\u044e\u0442 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442, \u0430 \u0438\u0445 \u043f\u0440\u0430\u0432\u043a\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u043d\u0435\u0431\u0440\u0435\u0447\u044c \u043d\u0430 \u0444\u043e\u043d\u0435 \u043e\u0431\u0449\u0435\u0433\u043e \u043e\u0431\u044a\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b."})}),(0,is.jsx)(Zl,{children:(0,is.jsx)(pc,{text:"*\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e* \u2014 \u044d\u0442\u043e \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430 \u043f\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u0437\u0430\u0434\u0430\u0447 \u0438 \u0433\u0440\u0443\u043f\u043f\u0430\u043c (\u0442\u0435\u043a\u0443\u0449\u0438\u0435, \u0443\u0432\u043e\u043b\u0435\u043d\u043d\u044b\u0435, \u043f\u043e\u043c\u043e\u0433\u0430\u044e\u0449\u0438\u0435 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438)."})})]})]})})),Dc="BarChart_vertical_bar__6Qx6E",Ac="BarChart_vertical_bar_item__h979s";var Lc=function(e){var t=e.dots,n=e.selected,a=e.onClick,i=100/t.length+"%",o=100/Math.max.apply(Math,(0,r.Z)(t.map((function(e){return e.value})))),s=t.map((function(e,t){return(0,is.jsx)("div",{className:Ac,style:{width:i,height:"".concat((r=e.value,r*o),"%"),backgroundColor:e.meta===n?"#ED675F":""},title:e.title,onClick:function(){a&&a(e)}},"".concat(e.title,"_").concat(t));var r}));return(0,is.jsx)("div",{className:Dc,children:s})},Rc={day_info_wrapper:"DayInfo_day_info_wrapper__MS58E",day_info_author:"DayInfo_day_info_author__LWq4Z",day_info_task:"DayInfo_day_info_task__qribv",day_info_date:"DayInfo_day_info_date__+eU4V",day_info_message:"DayInfo_day_info_message__LL0fr",day_info_row:"DayInfo_day_info_row__nfnyF"};function Ic(e){var t=e.commits.map((function(e){return(0,is.jsxs)("div",{className:Rc.day_info_row,children:[(0,is.jsx)("span",{className:Rc.day_info_date,children:(t=e.date,t?new Date(t).toLocaleString("ru-RU",{hour:"numeric",minute:"numeric"}):"")}),(0,is.jsx)("span",{className:Rc.day_info_message,children:e.message})]},e.date);var t}));return(0,is.jsx)(is.Fragment,{children:t})}function Mc(e){var t=e.tasks,r=Object.entries(t).map((function(e){var t=(0,n.Z)(e,2),r=t[0],a=t[1];return(0,is.jsxs)("div",{children:[(0,is.jsx)("div",{className:Rc.day_info_task,children:r}),(0,is.jsx)(Ic,{commits:a})]},r)}));return(0,is.jsx)(is.Fragment,{children:r})}var Bc=function(e){var t=e.day,r=e.order,a=0,i=Object.entries(null===t||void 0===t?void 0:t.tasksByAuthor).sort((function(e,t){return r.indexOf(e[0])-r.indexOf(t[0])})).map((function(e){var t=(0,n.Z)(e,2),r=t[0],i=t[1];return a+=Object.keys(i).length,(0,is.jsxs)("div",{className:Rc.day_info,children:[(0,is.jsx)("h3",{className:Rc.day_info_author,children:r}),(0,is.jsx)(Mc,{tasks:i})]},r)}));return(0,is.jsx)("div",{className:Rc.day_info_wrapper,style:{columnCount:a>20?2:1},children:i})};var zc=function(t){var r=t.statistic,a=r.commitsByTimestampCounter.maxData,i=(0,e.useState)(a),o=(0,n.Z)(i,2),s=o[0],l=o[1],u=r.allCommitsByTimestamp.map((function(e){return{title:"".concat(e.timestamp," - ").concat(e.commits," \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432"),value:e.commits,meta:e}}));if(null===u||void 0===u||!u.length)return(0,is.jsx)(nu,{});var c=Ui(a.timestamp),d=(0,n.Z)(c,2),f=d[0],p=d[1],h=[[f,"(".concat(p,") \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0434\u0435\u043d\u044c \u043f\u043e \u0447\u0438\u0441\u043b\u0443 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432."),"fact"]];return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Nc,{recommendations:h}),(0,is.jsx)(Cu,{title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u043f\u043e \u0434\u043d\u044f\u043c"}),(0,is.jsx)(Wl,{template:"box",children:(0,is.jsx)(Lc,{dots:u,selected:s,onClick:function(e){l(e.meta)}})}),(0,is.jsx)("br",{}),(0,is.jsx)("br",{}),(0,is.jsx)(Cu,{title:"".concat(Vi(null===s||void 0===s?void 0:s.timestamp)," \u0441\u0434\u0435\u043b\u0430\u043d\u043e ").concat((null===s||void 0===s?void 0:s.commits)||"_"," \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432")}),(0,is.jsx)(Wl,{template:"box",children:(0,is.jsx)(Bc,{day:s,order:ts.dataGrip.author.list})})]})},Fc=Si((function(){var e=ts.dataGrip.timestamp.statistic;return(0,is.jsx)(zc,{statistic:e})}));var Uc=function(t){var r=t.statistic,a=r.changesByTimestampCounter.maxData,i=(0,e.useState)(a),o=(0,n.Z)(i,2),s=o[0],l=o[1],u=r.allCommitsByTimestamp.map((function(e){return{title:"".concat(e.timestamp," - ").concat(e.addedAndChanges," \u0441\u0442\u0440\u043e\u043a \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438"),value:e.addedAndChanges,meta:e}}));if(null===u||void 0===u||!u.length)return(0,is.jsx)(nu,{});var c=Ui(a.timestamp),d=(0,n.Z)(c,2),f=d[0],p=d[1],h=[[f," (".concat(p,") \u0431\u044b\u043b\u043e \u0432\u043b\u0438\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439."),"fact"]];return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Cu,{title:"\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u0438 \u0444\u0430\u043a\u0442\u044b"}),(0,is.jsx)(Nc,{recommendations:h}),(0,is.jsx)(Cu,{title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u0437\u043c\u0435\u043d\u0451\u043d\u043d\u044b\u0445 \u0441\u0442\u0440\u043e\u043a \u043f\u043e \u0434\u043d\u044f\u043c"}),(0,is.jsx)(Wl,{template:"box",children:(0,is.jsx)(Lc,{dots:u,selected:s,onClick:function(e){l(e.meta)}})}),(0,is.jsx)("br",{}),(0,is.jsx)("br",{}),(0,is.jsx)(Cu,{title:"".concat(Vi(null===s||void 0===s?void 0:s.timestamp)," \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438 ").concat((null===s||void 0===s?void 0:s.addedAndChanges)||"_"," \u0441\u0442\u0440\u043e\u043a")}),(0,is.jsx)(Wl,{template:"box",children:(0,is.jsx)(Bc,{day:s,order:ts.dataGrip.author.list})})]})},Wc=Si((function(){var e=ts.dataGrip.timestamp.statistic;return(0,is.jsx)(Uc,{statistic:e})})),Vc={user:"HoursChart_user__oj+ih",title:"HoursChart_title__AxeNr",data:"HoursChart_data__FxewQ",day:"HoursChart_day__hOVjf",day_time:"HoursChart_day_time__gFJoU",day_name:"HoursChart_day_name__9vjt1",hour:"HoursChart_hour__UWfNp",day_time_mm:"HoursChart_day_time_mm__965TV"};var Hc=function(){var e=new Array(25).fill(1).map((function(e,t){return t?(0,is.jsxs)("div",{className:Vc.day_time,children:[(0,is.jsx)("span",{className:Vc.day_time_hh,children:Wi(t-1)}),(0,is.jsx)("span",{className:Vc.day_time_mm,children:":00"})]},t):(0,is.jsx)("div",{className:Vc.day_name},t)}));return(0,is.jsx)(is.Fragment,{children:e})};var Gc=function(e){var t=e.week,n=e.day,r=e.max,a=t.map((function(e,t){var a=function(e,t){var n=100*(e||0)/t;return(n-n%1)/100}(e,r),i=a>.2?"#FFFFFF":"#CBCBCD",o=n>4||t<7||t>20?"237, 103, 95":"65, 98, 181";return(0,is.jsx)("div",{className:Vc.hour,style:{color:i,backgroundColor:"rgba(".concat(o,", ").concat(a,")")},children:e||""},t)}));return(0,is.jsx)(is.Fragment,{children:a})},Zc="legend_legend__moJoq",$c="legend_legend_item__uGsvT",qc="legend_legend_work__VZgTQ",Kc="legend_legend_weekend__ASKkX",Qc="legend_legend_count__7nVWu",Yc="legend_legend_title__aOxzz";var Xc=function(){return(0,is.jsxs)("div",{className:Zc,children:[(0,is.jsxs)("div",{className:$c,children:[(0,is.jsx)("div",{className:qc}),(0,is.jsx)("div",{className:Yc,children:"\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u0432\u0440\u0435\u043c\u044f (\u0431\u0443\u0434\u043d\u0438, \u0441 07:00 \u0434\u043e 20:00)"})]}),(0,is.jsxs)("div",{className:$c,children:[(0,is.jsx)("div",{className:Kc}),(0,is.jsx)("div",{className:Yc,children:"\u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u043d\u0438 \u0438\u043b\u0438 \u0432\u0440\u0435\u043c\u044f \u0434\u043e/\u043f\u043e\u0441\u043b\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0434\u043d\u044f"})]}),(0,is.jsxs)("div",{className:$c,children:[(0,is.jsx)("div",{className:Qc,children:"42"}),(0,is.jsx)("div",{className:Yc,children:"\u0441\u0443\u043c\u043c\u0430\u0440\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0437\u0430 \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0434\u0435\u043d\u044c \u0438 \u0447\u0430\u0441"})]})]})};var Jc=function(e){var t=e.statistic,n=t.commitsByDayAndHour.map((function(e,n){return(0,is.jsxs)("div",{className:Vc.day,children:[(0,is.jsx)("div",{className:Vc.day_name,children:(r=n,["\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431","\u0432\u0441"][r])}),(0,is.jsx)(Gc,{week:e,day:n,max:t.commitsByDayAndHourTotal[8]})]},n);var r}));return(0,is.jsxs)("div",{className:Vc.user,children:[(0,is.jsxs)("div",{className:Vc.data,children:[(0,is.jsx)("div",{className:Vc.day,children:(0,is.jsx)(Hc,{})}),n]}),(0,is.jsx)(Xc,{})]})},ed=Si((function(){var e,t=ts.dataGrip.team.statistic,n=null===(e=ts.dataGrip.recommendations.team)||void 0===e?void 0:e.byHour;return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Nc,{recommendations:n}),(0,is.jsx)(Cu,{title:"\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0434\u043d\u044f \u043d\u0435\u0434\u0435\u043b\u0438"}),(0,is.jsx)(Wl,{template:"table",children:(0,is.jsx)(Jc,{statistic:t})})]})})),td="CandyChart_candy__tTnA9",nd="CandyChart_candy_item__4zF83",rd="CandyChart_candy_title__vSNE5",ad="CandyChart_candy_line__OO6BP",id="CandyChart_candy_value__gZ3wa",od="CandyChart_candy_prefix__KbvS+",sd="CandyChart_candy_dot__WjihN";var ld=function(e){var t=e.dots,n=100/Math.max.apply(Math,(0,r.Z)(t.map((function(e){return e.value})))),a=t.map((function(e){return(0,is.jsxs)("div",{className:nd,children:[(0,is.jsx)("div",{className:rd,children:e.title}),(0,is.jsxs)("div",{className:ad,children:[(0,is.jsx)("div",{className:od,children:e.value}),(0,is.jsx)("div",{className:id,style:{width:"".concat((t=e.value,t*n),"%"),backgroundColor:e.color||""}}),(0,is.jsx)("div",{className:sd,style:{backgroundColor:e.color||""}})]})]},e.title);var t}));return(0,is.jsx)("div",{className:td,children:a})};var ud=function(e){var t=e.statistic.slice(0,40).map((function(e){return{title:e[0],value:e[1]}}));if(null===t||void 0===t||!t.length)return(0,is.jsx)(nu,{});var n=[[t[0].title,"\u0441\u0430\u043c\u043e\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e. \u0412\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f ".concat(t[0].value," \u0440\u0430\u0437\u0430."),"fact"]];return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Nc,{recommendations:n}),(0,is.jsx)(Cu,{title:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e \u0441\u043b\u043e\u0432\u0430\u043c"}),(0,is.jsx)(Wl,{template:"table",children:(0,is.jsx)(ld,{dots:t})})]})},cd=Si((function(){var e=ts.dataGrip.team.statistic.wordStatistics;return(0,is.jsx)(ud,{statistic:e})}));function dd(e){var t=e.response;if(!t)return null;var n=ac({order:ts.dataGrip.type.list}),r=ac({order:ts.dataGrip.author.list});return(0,is.jsxs)(Gu,{rows:t.content,children:[(0,is.jsx)($u,{isFixed:!0,template:Wu.STRING,title:"page.team.scope.scope",properties:"scope",width:200}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,title:"page.team.scope.days",properties:"days"}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,title:"page.team.scope.authorsDays",properties:"authors",formatter:function(e){return Object.keys(e).map((function(t){return e[t].days||0})).reduce((function(e,t){return e+t}),0)}}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,title:"page.team.scope.tasks",properties:"tasks",formatter:function(e){return(null===e||void 0===e?void 0:e.length)||0}}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,title:"page.team.scope.commits",properties:"commits"}),(0,is.jsx)($u,{title:"page.team.scope.types",properties:"types",width:200,template:function(e){return(0,is.jsx)(nc,{options:n,details:e})}}),(0,is.jsx)($u,{title:"page.team.scope.authors",properties:"authors",width:200,formatter:function(e){return Object.fromEntries(Object.keys(e).map((function(t){var n;return[t,(null===(n=e[t])||void 0===n?void 0:n.commits)||0]})))},template:function(e){return(0,is.jsx)(nc,{options:r,details:e})}}),(0,is.jsx)($u,{template:Wu.NUMBER,title:"page.team.scope.cost",properties:"cost",formatter:Hi})]})}dd.defaultProps={response:void 0};var fd=Si((function(){var e,t=ts.dataGrip.scope.statistic;if((null===t||void 0===t?void 0:t.length)<2)return(0,is.jsx)(nu,{});var n=null===(e=ts.dataGrip.recommendations.team)||void 0===e?void 0:e.byScope;return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Nc,{recommendations:n}),(0,is.jsx)(Cu,{title:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e \u0444\u0438\u0447\u0430\u043c"}),(0,is.jsx)(Wl,{template:"table",children:(0,is.jsxs)(hu,{to:"response",loader:function(e){return wu(t,e)},children:[(0,is.jsx)(dd,{}),(0,is.jsx)(xu,{})]})})]})}));var pd=function(e){var t=e.title,n=e.description,r=e.help,a=e.error,i=e.className,o=e.value,s=e.options,l=e.onChange,u=(s||[]).map((function(e,t){var n,r,a,i="object"!==typeof e?{id:e,title:e}:e;return(0,is.jsx)("option",{value:null!==(n=null===i||void 0===i?void 0:i.id)&&void 0!==n?n:null,selected:o===(null===i||void 0===i?void 0:i.id),children:null!==(r=null!==(a=null===i||void 0===i?void 0:i.title)&&void 0!==a?a:null===i||void 0===i?void 0:i.id)&&void 0!==r?r:""},"".concat(null===i||void 0===i?void 0:i.id,"_").concat(t))}));return(0,is.jsx)(mu,{title:t,description:n,help:r,error:a,className:i,children:(0,is.jsx)("select",{className:"".concat(ss.ui_kit_common," ").concat(ss.ui_kit_select),onChange:function(e){var t=e.target.value,n="null"!==t?parseInt(t,10)||0:null;l&&l(n,t)},children:u})})},hd="styles_tempo__md+s9",md="styles_tempo_wrapper__fROlh",vd="styles_tempo_column__qvk8C",yd="styles_tempo_column_wrapper__fvHwz",gd="styles_tempo_header__8CHlx",_d="styles_tempo_author__2+wue",bd="styles_tempo_header_title__KrXWN",kd="styles_tempo_header_day__f6v-2";var xd=function(e){var t=e.dayInfo;return(0,is.jsxs)("div",{className:gd,children:[(0,is.jsx)("p",{className:bd,children:Vi(null===t||void 0===t?void 0:t.timestamp)}),(0,is.jsx)("p",{className:kd,children:Fi(null===t||void 0===t?void 0:t.day)})]})};var wd=function(e){var t=e.name;return(0,is.jsx)("div",{className:_d,children:t||""})},jd="task_tempo_task__q8xDN",Sd="task_tempo_task_wrapper__lJ27R",Cd="task_tempo_task_header__BoJYD",Nd="task_tempo_task_link__jQLIo",Ed="task_tempo_task_value__5M-CQ",Od="task_tempo_task_title__pzoOd",Td="task_tempo_task_tag__s7QpP",Pd="task_tempo_task_tags__NOb0s",Dd="task_tempo_task_commits__OX548",Ad="task_tempo_task_hours__xy8Kz",Ld="task_tempo_task_icon__Ubc13";function Rd(e){return"".concat(Wi(e.hours),":").concat(Wi(e.minutes))}function Id(e){var t=e[0],n=e[e.length-1];return t!==n?"c ".concat(Rd(t)," \u0434\u043e ").concat(Rd(n)):"\u0434\u043e ".concat(Rd(t))}function Md(e){var t=new Set(e.map((function(e){return e.type}))),n=Array.from(t).map((function(e){return(0,is.jsx)("p",{className:Td,children:e},e)}));return(0,is.jsx)(is.Fragment,{children:n})}function Bd(e){var t=e.title,n=e.commits;return(0,is.jsxs)("div",{className:jd,children:[(0,is.jsxs)("div",{className:Cd,children:[(0,is.jsx)("p",{className:Nd,children:t}),(0,is.jsx)("div",{className:Pd,children:Md(n)})]}),(0,is.jsxs)("figure",{className:Dd,children:[(0,is.jsxs)("figure",{children:[(0,is.jsx)("img",{src:"./assets/chart/commit.svg",className:Ld}),(0,is.jsx)("figcaption",{className:Ed,children:n.length})]}),(0,is.jsx)("figcaption",{className:Od,children:"\u041a\u043e\u043c\u043c\u0438\u0442\u044b"})]}),(0,is.jsxs)("figure",{className:Ad,children:[(0,is.jsxs)("figure",{children:[(0,is.jsx)("img",{src:"./assets/chart/clock.svg",className:Ld}),(0,is.jsx)("figcaption",{className:Ed,children:Id(n)})]}),(0,is.jsx)("figcaption",{className:Od,children:"\u0410\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c"})]})]},t)}var zd=function(e){var t=e.tasks,r=Object.entries(t).map((function(e){var t=(0,n.Z)(e,2),r=t[0],a=t[1];return(0,is.jsx)(Bd,{title:r,commits:a},r)}));return(0,is.jsx)("div",{className:Sd,children:r})},Fd="chart_tempo_chart__3kfbu",Ud="chart_tempo_chart_dashboard__701iZ",Wd="chart_tempo_chart_dot__spDdi",Vd="chart_tempo_chart_legend__yxI3-",Hd="chart_tempo_chart_time__5QrGz";var Gd=function(e){var t=e.tasks,n=Object.values(t).flat(1).reduce((function(e,t){return e[t.hours]+=t.changes+t.added+t.removed,e}),new Array(24).fill(0)).map((function(e,t){if(!e)return null;var n=4.166666666666667*t,r=Math.min(80,e/1.5);return(0,is.jsx)("div",{className:"".concat(Wd),title:"".concat(e," \u0441\u0442\u0440\u043e\u043a \u0441 ").concat(Wi(t),":00 \u0434\u043e ").concat(Wi(t+1),":00"),style:{left:"".concat(n,"%"),height:"".concat(r,"%")}},t)}));return(0,is.jsxs)("div",{className:Fd,children:[(0,is.jsx)("div",{className:Ud,children:n}),(0,is.jsxs)("div",{className:Vd,children:[(0,is.jsx)("span",{className:Hd,children:"00:00"}),(0,is.jsx)("span",{className:Hd,children:"06:00"}),(0,is.jsx)("span",{className:Hd,children:"12:00"}),(0,is.jsx)("span",{className:Hd,children:"18:00"}),(0,is.jsx)("span",{className:Hd,children:"00:00"})]})]})};function Zd(e){var t=e.dayInfo,r=e.order,a=e.author,i=Object.entries((null===t||void 0===t?void 0:t.tasksByAuthor)||{}).sort((function(e,t){return r.indexOf(e[0])-r.indexOf(t[0])})).filter((function(e){var t=(0,n.Z)(e,1)[0];return!a||t===a})).map((function(e){var t=(0,n.Z)(e,2),r=t[0],a=t[1];return(0,is.jsxs)("div",{children:[(0,is.jsx)(wd,{name:r}),(0,is.jsx)(Gd,{tasks:a}),(0,is.jsx)(zd,{tasks:a})]},r)}));return(0,is.jsxs)("div",{className:vd,children:[(0,is.jsx)(xd,{dayInfo:t}),(0,is.jsx)("div",{className:yd,children:i.length?i:(0,is.jsx)(nu,{icon:"./assets/cards/commits.png",message:"\u0412 \u044d\u0442\u043e\u0442 \u0434\u0435\u043d\u044c \u0443 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435 \u0431\u044b\u043b\u043e \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430."})})]})}Zd.defaultProps={order:[],author:""};var $d=Zd;$d.defaultProps={order:[],author:""};var qd=function(t){var r=t.days,a=t.author,i=t.order,o=(0,e.useState)({}),s=(0,n.Z)(o,2),l=s[0],u=s[1],c=(0,e.useRef)();(0,e.useEffect)((function(){var e=null===c||void 0===c?void 0:c.current;(null===e||void 0===e?void 0:e.clientWidth)===(null===e||void 0===e?void 0:e.scrollWidth)&&u({overflowX:"hidden"})}),[]);var d=r.map((function(e){return(0,is.jsx)($d,{dayInfo:e,author:a,order:i||[]},null===e||void 0===e?void 0:e.timestamp)}));return(0,is.jsx)("div",{ref:c,style:l,className:md,children:(0,is.jsx)("div",{className:hd,children:d})})},Kd="filters_filter__gCwHe",Qd="filters_tempo_page_filters__hhH7S",Yd="filters_date_range__GJkBR",Xd="filters_user__GWgLB";function Jd(e){var t,n=e.response,r=e.order,a=e.user;return n?(console.log(null===(t=n.content)||void 0===t?void 0:t.length),(0,is.jsx)(qd,{days:n.content,author:a,order:r})):null}Jd.defaultProps={response:void 0};var ef=Si((function(){var t=ts.dataGrip.timestamp.statistic.allCommitsByTimestamp||[],a=ts.dataGrip.author.list||[],i=t[t.length-1],o=(0,e.useState)(i.week),s=(0,n.Z)(o,2),l=s[0],u=s[1],c=(0,e.useState)(""),d=(0,n.Z)(c,2),f=d[0],p=d[1];if(console.log(i.week),null===t||void 0===t||!t.length)return(0,is.jsx)(nu,{});var h=function(e,t){return console.log(e),t.filter((function(t){return t.week===e.week})).slice(0,7)}({week:l,user:f},t),m=h[0],v=h[h.length-1];return null!==h&&void 0!==h&&h.length?(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Cu,{title:"\u0424\u0438\u043b\u044c\u0442\u0440\u044b"}),(0,is.jsx)(Wl,{children:(0,is.jsxs)("div",{className:Qd,children:[(0,is.jsx)(us,{type:"second",disabled:1===l,onClick:function(){u(l-1)},children:"\xab"}),(0,is.jsx)("div",{className:"".concat(ss.ui_kit_common," ").concat(Yd),children:$i({from:m.timestamp,to:v.timestamp})}),(0,is.jsx)(us,{type:"second",disabled:l===i.week,onClick:function(){u(l+1)},children:"\xbb"}),(0,is.jsx)(us,{type:"second",onClick:function(){p(a[a.indexOf(f)-1])},children:"\xab"}),(0,is.jsx)(pd,{className:Xd,value:f,options:[""].concat((0,r.Z)(ts.dataGrip.author.list)),onChange:function(e,t){p(t)}}),(0,is.jsx)(us,{type:"second",onClick:function(){p(a[a.indexOf(f)+1])},children:"\xbb"})]})}),(0,is.jsx)(Wl,{template:"table",children:(0,is.jsxs)(hu,{to:"response",loader:function(){return wu(h)},watch:"".concat(l).concat(f),children:[(0,is.jsx)(Jd,{order:a,user:f}),(0,is.jsx)(xu,{})]})})]}):(0,is.jsx)(nu,{})})),tf="CardWithIcon_card_with_icon__kPNh0",nf="CardWithIcon_card_with_icon_long__mur-t",rf="CardWithIcon_card_with_icon_icon__2N5Bt",af="CardWithIcon_card_with_icon_value__dAV7z",of="CardWithIcon_card_with_icon_title__d1sH6",sf="CardWithIcon_card_with_icon_description__q8Cn2";function lf(e){var t=e.title,n=e.description,r=e.value,a=e.suffix,i=e.color,o=e.icon,s=e.long,l=void 0!==s&&s;return r||0===r?(0,is.jsxs)("figure",{className:l?nf:tf,children:[o&&(0,is.jsx)("img",{className:rf,src:o}),(0,is.jsxs)("p",{className:af,style:{color:i||""},children:[r,a||""]}),(0,is.jsx)("h4",{className:of,children:Je.get(t)}),(0,is.jsx)("figcaption",{className:sf,children:Je.get(n)})]}):null}lf.defaultProps={description:"",suffix:"",color:void 0,icon:void 0};var uf=lf,cf=Si((function(){var e=ts.dataGrip.team.statistic,t=ts.dataGrip.author.employment,n=ts.dataGrip.timestamp.statistic,r=t.active.reduce((function(e,t){return e+ts.dataGrip.author.statisticByName[t].taskInDay}),0).toFixed(1),a=t.active.reduce((function(e,t){return e+(zi.salary[t]||zi.defaultSalary)}),0);return(0,is.jsxs)(Wl,{children:[(0,is.jsxs)(Zl,{children:[(0,is.jsx)(Cu,{title:Je.get("page.team.total.titleA")}),(0,is.jsxs)("div",{children:[(0,is.jsx)(uf,{value:e.daysWorked,icon:"./assets/cards/work_days.png",title:"page.team.total.daysWorked.title",description:"page.team.total.daysWorked.description"}),(0,is.jsx)(uf,{value:e.commits,icon:"./assets/cards/commits.png",title:"page.team.total.commits.title",description:"page.team.total.commits.description"}),(0,is.jsx)(uf,{value:e.daysLosses,icon:"./assets/cards/lazy.png",title:"page.team.total.daysLosses.title",description:"page.team.total.daysLosses.description"}),(0,is.jsx)(uf,{value:"".concat(t.active.length," / ").concat(t.dismissed.length),icon:"./assets/cards/dismissal.png",title:"page.team.total.employment.title",description:"page.team.total.employment.description"}),(0,is.jsx)(uf,{long:!0,value:r,icon:"./assets/cards/tasks_month.png",title:"page.team.total.workSpeed.title",description:"page.team.total.workSpeed.description"})]}),(0,is.jsx)(pc,{text:"*\u0427\u0435\u043b\u043e\u0432\u0435\u043a\u043e-\u0434\u043d\u0438* \u2014 \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0434\u043d\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0437\u0430 \u043e\u0434\u0438\u043d \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u043d\u044b\u0439 \u0434\u0435\u043d\u044c, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0438\u0437 \u0442\u0440\u0435\u0445 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u0432\u044b\u0434\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u0442\u0440\u0438 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e-\u0434\u043d\u044f."}),(0,is.jsx)(pc,{text:"*\u0414\u043d\u044f\u043c\u0438 \u043f\u0440\u043e\u0433\u0443\u043b\u043e\u0432* \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u0434\u043d\u0438, \u043a\u043e\u0433\u0434\u0430 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u043c\u043e\u0433\u043b\u0438 \u0431\u044b \u0431\u044b\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u043d\u044b. \u0412\u044b\u0445\u043e\u0434\u043d\u044b\u0435, \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0438 \u0438 \u043e\u0442\u043f\u0443\u0441\u043a\u0430 \u0432 \u0440\u0430\u0441\u0447\u0451\u0442\u0435 \u043d\u0435 \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u044e\u0442."}),(0,is.jsx)(pc,{text:"\u041a\u0430\u0440\u0442\u043e\u0447\u043a\u0430 *\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0443\u0432\u043e\u043b\u0438\u043b\u043e\u0441\u044c* \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u043e\u0441\u0442\u0430\u0432 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u044e\u0442 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435. \u041a\u0440\u043e\u043c\u0435 \u044d\u0442\u043e\u0433\u043e, \u0435\u0441\u0442\u044c \xab\u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u0438\xbb \u2014 \u044d\u0442\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0438\u043d\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u0432 \u043f\u0440\u043e\u0435\u043a\u0442."})]}),(0,is.jsxs)(Zl,{children:[(0,is.jsx)(Cu,{title:Je.get("page.team.total.titleB")}),(0,is.jsxs)("div",{children:[(0,is.jsx)(uf,{value:Gi(e.moneyAll),icon:"./assets/cards/money_total.png",title:"page.team.total.moneyAll.title",description:"page.team.total.moneyAll.description"}),(0,is.jsx)(uf,{value:Gi(e.moneyWorked),icon:"./assets/cards/money_work.png",title:"page.team.total.moneyWorked.title",description:"page.team.total.moneyWorked.description"}),(0,is.jsx)(uf,{value:Gi(e.moneyLosses),icon:"./assets/cards/money_lazy.png",title:"page.team.total.moneyLosses.title",description:"page.team.total.moneyLosses.description"}),(0,is.jsx)(uf,{value:Gi(n.weekendPayment),icon:"./assets/cards/money_holidays.png",title:"page.team.total.weekendPayment.title",description:"page.team.total.weekendPayment.description"}),(0,is.jsx)(uf,{long:!0,value:Gi(a),icon:"./assets/cards/money_month.png",title:"page.team.total.moneySpeed.title",description:"page.team.total.moneySpeed.description"})]}),(0,is.jsx)(pc,{text:"*\u041f\u0435\u0440\u0435\u043f\u043b\u0430\u0442\u043e\u0439* \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u0434\u043d\u0438, \u043a\u043e\u0433\u0434\u0430 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u043c\u043e\u0433\u043b\u0438 \u0431\u044b \u0431\u044b\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u043d\u044b. \u0412\u044b\u0445\u043e\u0434\u043d\u044b\u0435, \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0438 \u0438 \u043e\u0442\u043f\u0443\u0441\u043a\u0430 \u0432 \u0440\u0430\u0441\u0447\u0451\u0442\u0435 \u043d\u0435 \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u044e\u0442. \u0418\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0435\u0440\u0435\u043f\u043b\u0430\u0442\u0430 + \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c != \u043e\u0431\u0449\u0435\u0439. \u0412 \u043e\u0431\u0449\u0435\u0439 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0437\u0430\u043b\u043e\u0436\u0435\u043d\u0430 \u043e\u043f\u043b\u0430\u0442\u0430 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445, \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u043e\u0432 \u0438 \u043e\u0442\u043f\u0443\u0441\u043a\u043e\u0432."}),(0,is.jsx)(pc,{text:"*\u0420\u0430\u0431\u043e\u0442\u043e\u0439 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445* \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u043a\u043e\u044d\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u0443 \u04452 \u043e\u0442 \u043e\u043f\u043b\u0430\u0442\u044b \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e \u0434\u043d\u044f. \u0412\u044b\u0448\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u043b\u0430\u0442\u0430 (\u04451), \u0442.\u043a. \u0441\u0430\u043c \u0444\u0430\u043a\u0442 \u043f\u0435\u0440\u0435\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435\u043d. \u041c\u044b \u043d\u0435 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0441\u0436\u0438\u0433\u0430\u043d\u0438\u044f \u0431\u044e\u0434\u0436\u0435\u0442\u0430. \u041c\u044b \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0435\u0440\u0435\u043f\u043b\u0430\u0442\u0443 \u043f\u0440\u0438 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b."})]})]})}));function df(e){var t=e.title,n=e.description,r=e.help,a=e.error,i=e.className,o=e.value,s=e.placeholder,l=e.onChange;return(0,is.jsx)(mu,{title:t,description:n,help:r,error:a,className:i,children:(0,is.jsx)("input",{type:"number",value:o,placeholder:s,className:ss.ui_kit_common,onChange:function(e){l&&l(parseInt(e.target.value,10)||0)}})})}df.defaultProps={placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435"};var ff=df,pf=new(function(){function e(){a(this,e),this.hash=0,this.authorId=0,this.minCommits=0,this.selectedPath=[],oa(this,{hash:jn,authorId:jn,minCommits:jn,selectedPath:jn,updateFilter:Nr})}return l(e,[{key:"updateFilter",value:function(e,t){this[e]=t,this.hash=Math.random()}}]),e}()),hf=Si((function(){var e=ts.dataGrip.author.list.map((function(e,t){return{id:t,title:e}}));return e.unshift({id:0,title:"\u0412\u0441\u0435 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438"}),(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(pd,{title:"\u0421\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a",value:pf.authorId,options:e,className:Kd,onChange:function(e){pf.updateFilter("authorId",e)}}),(0,is.jsx)(ff,{title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",help:"\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u0434\u0435\u043b\u0430\u043b \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a \u0432 \u0444\u0430\u0439\u043b\u0435",value:pf.minCommits,className:Kd,onChange:function(e){pf.updateFilter("minCommits",e)}})]})})),mf=hf;function vf(e){var t;return null!==e&&void 0!==e&&null!==(t=e.path)&&void 0!==t&&t.length?{title:"..",path:e.path.slice(0,-1)}:null}function yf(e){return{file:e,title:"\ud83d\udcc1 ".concat(e.name),path:e.path}}function gf(e){return{file:e,title:"\ud83d\udcc4 ".concat(e.name.split("/").pop()||"")}}function _f(e){var t=e.response;if(!t)return null;var n=function(e,t){return e?Object.keys(e.authors||{}).reduce((function(n,r){return n[r]=e.authors[r][t],n}),{}):{}},r=ac({order:ts.dataGrip.author.list,suffix:"\u0441\u0442\u0440\u043e\u043a"}),a=ac({order:["\u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438","\u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438"],suffix:"\u0441\u0442\u0440\u043e\u043a"});return(0,is.jsxs)(Gu,{rows:t.content,disabledRow:function(e){var t;if(".."===(null===e||void 0===e?void 0:e.title))return!1;var n=pf.minCommits||0,r=ts.dataGrip.author.list[pf.authorId||""]||"",a=null===(t=e.file)||void 0===t?void 0:t.authors[r],i=(null===a||void 0===a?void 0:a.commits)||0;return pf.authorId&&!a||i<n},children:[(0,is.jsx)($u,{isFixed:!0,template:Wu.STRING,properties:"title",width:200,onClick:function(e){pf.updateFilter("selectedPath",e.path||[])}}),(0,is.jsx)($u,{title:"\u041f\u0440\u043e\u0446\u0435\u043d\u0442 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0438 \u0441\u0442\u0440\u043e\u043a",properties:"file",width:250,template:function(e){var t,n;return(0,is.jsx)(nc,{value:e?100:0,options:a,details:{"\u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438":(null===e||void 0===e?void 0:e.lines)||0,"\u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438":((null===e||void 0===e||null===(t=e.total)||void 0===t?void 0:t.changes)||0)+((null===e||void 0===e||null===(n=e.total)||void 0===n?void 0:n.removed)||0)}})}}),(0,is.jsx)($u,{title:"\u041a\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b",properties:"file",width:200,template:function(e){var t;return(0,is.jsx)(nc,{value:null!==e&&void 0!==e&&null!==(t=e.total)&&void 0!==t&&t.added?100:0,options:r,details:n(e,"addedPercent")})}}),(0,is.jsx)($u,{title:"\u041a\u0442\u043e \u043c\u0435\u043d\u044f\u043b",properties:"file",width:200,template:function(e){var t;return(0,is.jsx)(nc,{value:null!==e&&void 0!==e&&null!==(t=e.total)&&void 0!==t&&t.changes?100:0,options:r,details:n(e,"changesPercent")})}}),(0,is.jsx)($u,{title:"\u041a\u0442\u043e \u0443\u0434\u0430\u043b\u044f\u043b",properties:"file",width:200,template:function(e){var t;return(0,is.jsx)(nc,{value:null!==e&&void 0!==e&&null!==(t=e.total)&&void 0!==t&&t.removed?100:0,options:r,details:n(e,"removedPercent")})}})]})}_f.defaultProps={response:void 0};var bf=Si((function(){var e=function(e){var t=[],n=[];for(var r in e.content){var a=e.content[r];a.content?t.push(yf(a)):n.push(gf(a))}return[vf(e)].concat(t,n).filter((function(e){return e}))}(function(e,t){var n=e||{content:[]};return(t||[]).forEach((function(e){n=n.content[e]||{content:[]}})),n}(ts.fileTree,pf.selectedPath));return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Cu,{title:"\u0424\u0438\u043b\u044c\u0442\u0440\u044b"}),(0,is.jsx)(mf,{}),(0,is.jsx)(Cu,{title:"\u0414\u0435\u0440\u0435\u0432\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u0443\u0447\u0451\u0442\u043e\u043c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432"}),(0,is.jsx)(Wl,{template:"table",children:(0,is.jsxs)(hu,{to:"response",loader:function(t){return wu(e,Mi(Mi({},t),{},{size:500}))},watch:pf.hash,children:[(0,is.jsx)(_f,{}),(0,is.jsx)(xu,{})]})})]})}));function kf(e){var t=e.response,n=e.updateSort;if(!t)return null;var r=ac({max:Oc(t,"tasks"),suffix:"\u0437\u0430\u0434\u0430\u0447"}),a=ac({max:Oc(t,"daysByAuthorsTotal"),suffix:"\u0434\u043d\u0435\u0439"}),i=ac({order:ts.dataGrip.author.list});return(0,is.jsxs)(Gu,{rows:t.content,sort:t.sort,updateSort:n,children:[(0,is.jsx)($u,{isFixed:!0,template:Wu.STRING,title:"page.team.type.type",properties:"type",width:200}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,properties:"tasks"}),(0,is.jsx)($u,{isSortable:!0,title:"page.team.type.tasks",properties:"tasks",template:function(e){return(0,is.jsx)(nc,{options:r,value:e})}}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,title:"page.team.type.days",properties:"days"}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,properties:"daysByAuthorsTotal"}),(0,is.jsx)($u,{isSortable:!0,title:"page.team.type.authorsDays",properties:"daysByAuthorsTotal",template:function(e){return(0,is.jsx)(nc,{options:a,value:e})}}),(0,is.jsx)($u,{template:Wu.NUMBER,title:"page.team.type.commits",properties:"commits"}),(0,is.jsx)($u,{title:"page.team.type.authors",properties:"commitsByAuthors",template:function(e){return(0,is.jsx)(nc,{options:i,details:e})},width:600})]})}kf.defaultProps={response:void 0};var xf=Si((function(){var e,t=ts.dataGrip.type.statistic;if(null===t||void 0===t||!t.length)return(0,is.jsx)(nu,{});var n=null===(e=ts.dataGrip.recommendations.team)||void 0===e?void 0:e.byType;return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Nc,{recommendations:n}),(0,is.jsx)(Cu,{title:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e \u0444\u0438\u0447\u0430\u043c"}),(0,is.jsx)(Wl,{template:"table",children:(0,is.jsxs)(hu,{to:"response",loader:function(e,n){return wu(t,e,"",n)},children:[(0,is.jsx)(kf,{}),(0,is.jsx)(xu,{})]})})]})}));function wf(e){var t=e.response,r=e.updateSort;if(!t)return null;var a=ac({max:Ec(t,"tasks"),order:ts.dataGrip.type.list}),i=ac({max:Ec(t,"authorsLength"),order:ts.dataGrip.author.list,suffix:"\u0437\u0430\u0434\u0430\u0447"}),o=ac({max:Ec(t,"changesLength"),order:["\u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438","\u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438","\u0443\u0434\u0430\u043b\u0438\u043b\u0438"],suffix:"\u0441\u0442\u0440\u043e\u043a"}),s=ac({order:["\u0431\u044b\u043b\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u044b","\u043d\u0435\u0431\u044b\u043b\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432"],suffix:"\u0434\u043d\u0435\u0439"}),l=ac({order:ts.dataGrip.author.list,suffix:"\u0434\u043d\u0435\u0439"});return(0,is.jsxs)(Gu,{rows:t.content,sort:t.sort,updateSort:r,children:[(0,is.jsx)($u,{isFixed:!0,template:Wu.STRING,title:"\u0414\u0430\u0442\u0430",properties:"timestamp",formatter:$i,width:260}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,properties:"tasks"}),(0,is.jsx)($u,{isSortable:"tasks",title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u0434\u0430\u0447",template:function(e){return(0,is.jsx)(nc,{options:a,value:e.tasks,details:e.types})},width:200}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,properties:"authorsLength"}),(0,is.jsx)($u,{isSortable:"authorsLength",title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a",template:function(e){return(0,is.jsx)(nc,{options:i,value:e.authorsLength,details:e.authors})},width:300}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,properties:"changesLength"}),(0,is.jsx)($u,{isSortable:"changesLength",title:"\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u043e\u043a",template:function(e){var t,n,r;return(0,is.jsx)(nc,{options:o,value:e.changesLength,details:{"\u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438":null===e||void 0===e||null===(t=e.changes)||void 0===t?void 0:t.added,"\u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438":null===e||void 0===e||null===(n=e.changes)||void 0===n?void 0:n.changes,"\u0443\u0434\u0430\u043b\u0438\u043b\u0438":null===e||void 0===e||null===(r=e.changes)||void 0===r?void 0:r.removed}})},width:200}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,properties:"workDaysTotal"}),(0,is.jsx)($u,{isSortable:"workDaysTotal",title:"\u0414\u043d\u0438 \u0441 \u043a\u043e\u043c\u043c\u0438\u0442\u0430\u043c\u0438 \u0438 \u0431\u0435\u0437",template:function(e){return(0,is.jsx)(nc,{options:s,details:{"\u0431\u044b\u043b\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u044b":null===e||void 0===e?void 0:e.workDaysTotal,"\u043d\u0435\u0431\u044b\u043b\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432":5*(null===e||void 0===e?void 0:e.authorsLength)-(null===e||void 0===e?void 0:e.workDaysTotal)}})}}),(0,is.jsx)($u,{title:"\u041a\u0442\u043e \u043d\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u0438\u043b",template:function(e){return(0,is.jsx)(nc,{options:l,details:e})},formatter:function(e){var t=Object.entries(null===e||void 0===e?void 0:e.workDays).map((function(e){var t=(0,n.Z)(e,2);return[t[0],5-t[1]]}));return Object.fromEntries(t.filter((function(e){return e[1]>0})))},width:250})]})}wf.defaultProps={response:void 0};var jf=Si((function(){var e,t=ts.dataGrip.week.statistic;if(null===t||void 0===t||!t.length)return(0,is.jsx)(nu,{});var n=null===(e=ts.dataGrip.recommendations.team)||void 0===e?void 0:e.byWeek;return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Nc,{recommendations:n}),(0,is.jsx)(Cu,{title:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e \u0444\u0438\u0447\u0430\u043c"}),(0,is.jsx)(Wl,{template:"table",children:(0,is.jsxs)(hu,{to:"response",loader:function(e,n){return wu(t,e,"",n)},children:[(0,is.jsx)(wf,{}),(0,is.jsx)(xu,{})]})})]})}));function Sf(e,t,n){return{id:"".concat(e,"-").concat(t),month:e,year:t,first:!1,last:!1,date:new Date("".concat(t,"-").concat(Wi(e+1),"-01")),firstDay:n.firstDay["".concat(e,"-").concat(t)],lastDay:n.lastDay["".concat(e,"-").concat(t)],commits:[]}}function Cf(e,t,n){var a="".concat(e.month,"-").concat(e.year);if(t[a]){t[a].commits=n;var i=[],o=[];n.forEach((function(e){i.push.apply(i,(0,r.Z)(Object.keys(e.tasks))),o.push.apply(o,(0,r.Z)(Object.keys(e.tasksByAuthor)))})),t[a].tasks=Array.from(new Set(i)).length;var s=Array.from(new Set(o));t[a].money=s.reduce((function(e,t){return e+zi.getMiddleSalaryInMonth(t)}),0)}}function Nf(e,t){var n={month:0,year:0},r=[],a=function(e,t,n){for(var r=[],a={},i=e.year;i<=t.year;i++)for(var o=i===e.year?e.month:0,s=i===t.year?t.month+1:12,l=o;l<s;l++){var u=Sf(l,i,n);r.push(u),a[u.id]=u}return r.slice(null===e||void 0===e?void 0:e.month),r.slice(r.length-(12-(null===t||void 0===t?void 0:t.month))),r[0].first=!0,r[r.length-1].last=!0,r[r.length-1].lastDay=void 0,{months:r,monthsByDate:a}}(e[0],e[e.length-1],t),i=a.months,o=a.monthsByDate;return e.forEach((function(e){e.month!==n.month||e.year!==n.year?(Cf(n,o,r),r=[e]):r.push(e),n=e})),Cf(n,o,r),i}var Ef="styles_year_chart_month__jVQQ6",Of="styles_year_chart_month_header__rLoZ0",Tf="styles_year_chart_month_header_title__E5HgD",Pf="styles_year_chart_month_body__0Zryx",Df="styles_year_chart_month_body_day__NM9Ap";var Af=function(e){var t=e.month,n=t.date.toLocaleString("ru-RU",{month:"long"}),r=t.first||t.last||!t.month;return(0,is.jsx)("div",{className:Of,children:(0,is.jsxs)("span",{className:Tf,style:{fontWeight:r?"bold":100},children:[n," ",r?t.year:""]})})};function Lf(e){var t=e.month,n=e.maxCommits,r=t.date.getDay()-1,a=[5,6,12,13,19,20,26,27,33,34,40,41],i=r+[31,28,31,30,31,30,31,31,30,31,30,31][t.month],o=new Array(42).fill(0),s=0,l=o.map((function(e,o){var l=t.commits[s];if((null===l||void 0===l?void 0:l.dayInMonth)===o-r+1){s+=1;var u=function(e,t){var n=100*(e||0)/t;return(n-n%1)/100}(l.commits,n),c=function(e,t){var n=e?["#ED675F","#EB817C","#E98E8A","#E89B99","#E7A8A7","#E7B5B6","#E6C3C4","#E4CFD3"]:["#4162B5","#617DC1","#718AC6","#8198CD","#91A6D2","#A2B3D8","#B2C1DE","#C2CEE4"];return t>=.8?n[1]:t>=.6?n[3]:t>=.4?n[5]:n[7]}(a.includes(o),u),d=function(e,t){var n,r,a=null===(n=e.firstDay)||void 0===n?void 0:n[t],i=null===(r=e.lastDay)||void 0===r?void 0:r[t];return a&&i||i||a?"./assets/chart/commit.svg":""}(t,l.dayInMonth);return(0,is.jsx)("div",{className:Df,style:{backgroundColor:c,backgroundImage:d?"url(".concat(d,")"):""}},o)}return(0,is.jsx)("div",{className:Df,style:{opacity:o<r||o>i?.3:1}},o)}));return(0,is.jsx)("div",{className:Pf,children:l})}Lf.defaultProps={rows:[]};var Rf=Lf;function If(e){var t=e.month,n=e.maxCommits;return(0,is.jsxs)("div",{className:"".concat(Ef),children:[(0,is.jsx)(Af,{month:t}),(0,is.jsx)(Rf,{month:t,maxCommits:n}),(0,is.jsxs)("p",{className:oc,children:[(0,is.jsx)("span",{title:"\u0417\u0430\u0434\u0430\u0447 \u0437\u0430 \u043c\u0435\u0441\u044f\u0446",children:"\u2611 ".concat(t.tasks)}),(0,is.jsx)("span",{title:"\u0417\u0430\u0442\u0440\u0430\u0442\u044b \u043d\u0430 \u0437\u0430\u0440\u043f\u043b\u0430\u0442\u0443 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430\u043c",children:" \u0437\u0430 ".concat(Gi(t.money||0,0))})]})]})}If.defaultProps={rows:[]};var Mf=If;function Bf(e){var t=e.maxCommits,n=void 0===t?100:t,r=e.wordDays,a=void 0===r?[]:r,i=e.authors,o=void 0===i?[]:i;if(!a||!a.length)return null;var s=function(e){var t={},n={};return e.forEach((function(e){if(!e.isStaff){var r="".concat(e.firstCommit.month,"-").concat(e.firstCommit.year);t[r]||(t[r]={}),t[r][e.firstCommit.dayInMonth]=e;var a="".concat(e.lastCommit.month,"-").concat(e.lastCommit.year);n[a]||(n[a]={}),n[a][e.lastCommit.dayInMonth]=e}})),{firstDay:t,lastDay:n}}(o),l=Nf(a,s).map((function(e){return(0,is.jsx)(Mf,{month:e,maxCommits:n},e.id)}));return(0,is.jsx)(is.Fragment,{children:l})}Bf.defaultProps={rows:[]};var zf=Bf,Ff=Si((function(){var e,t=ts.dataGrip.author.statistic,n=ts.dataGrip.timestamp.statistic,r=n.commitsByTimestampCounter.max,a=null===(e=ts.dataGrip.recommendations.team)||void 0===e?void 0:e.byTimestamp;return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Nc,{recommendations:a}),(0,is.jsx)(Cu,{title:"\u0424\u0438\u043b\u044c\u0442\u0440\u044b"}),(0,is.jsx)(Wl,{template:"table",children:(0,is.jsx)(zf,{maxCommits:r,authors:t,wordDays:n.allCommitsByTimestamp})})]})}));var Uf=function(){var e=ge(),t=e.type,n=e.page;return t&&"team"!==t?null:t?(0,is.jsxs)(is.Fragment,{children:["author"===n&&(0,is.jsx)(Pc,{}),"changes"===n&&(0,is.jsx)(Wc,{}),"timestamp"===n&&(0,is.jsx)(Fc,{}),"hours"===n&&(0,is.jsx)(ed,{}),"words"===n&&(0,is.jsx)(cd,{}),"scope"===n&&(0,is.jsx)(fd,{}),"month"===n&&(0,is.jsx)(jf,{}),"year"===n&&(0,is.jsx)(Ff,{}),"total"===n&&(0,is.jsx)(cf,{}),"tree"===n&&(0,is.jsx)(bf,{}),"type"===n&&(0,is.jsx)(xf,{}),"sprint"===n&&(0,is.jsx)(ef,{})]}):(0,is.jsx)(cf,{})},Wf="styles_user_select__56NEj",Vf="styles_user_name__yAJtO",Hf=Si((function(){var e=ge(),t=e.type,n=e.page,r=e.userId,a=ye(),i=parseInt(r||"0",10)||0,o=ts.dataGrip.author.list,s=o.map((function(e,t){return{id:t,title:e}}));return(0,is.jsxs)("div",{className:Wf,children:[(0,is.jsx)(us,{type:"second",disabled:i<=0,onClick:function(){a("/".concat(t,"/").concat(n,"/").concat(i-1))},children:"\xab"}),(0,is.jsx)(pd,{value:i,options:s,className:Vf,onChange:function(e){a("/".concat(t,"/").concat(n,"/").concat(e))}}),(0,is.jsx)(us,{type:"second",disabled:i>=o.length-1,onClick:function(){a("/".concat(t,"/").concat(n,"/").concat(i+1))},children:"\xbb"})]})})),Gf=Hf,Zf=Si((function(){var e=ge().userId,t=ts.dataGrip.author.statistic[e||0],n=ts.dataGrip.timestamp.statisticByAuthor[t.author];return(0,is.jsx)(Uc,{statistic:n})})),$f=Si((function(){var e=ge().userId,t=ts.dataGrip.author.statistic[e||0],n=ts.dataGrip.timestamp.statisticByAuthor[t.author];return(0,is.jsx)(zc,{statistic:n})})),qf=Si((function(){var e=ge().userId,t=ts.dataGrip.author.statistic[e||0];return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Cu,{title:"\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0434\u043d\u044f \u043d\u0435\u0434\u0435\u043b\u0438"}),(0,is.jsx)(Wl,{template:"table",children:(0,is.jsx)(Jc,{statistic:t})})]})}));var Kf=function(){return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)("p",{className:Ql,children:"\u041d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f"}),(0,is.jsx)("p",{className:Yl,children:"\u041e\u043d \u0432\u043d\u043e\u0441\u0438\u043b \u043f\u0440\u0430\u0432\u043a\u0438 \u043d\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0434\u0435\u043d\u044c \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0441\u0442\u0430\u0442\u0443\u0441 \u041f\u043e\u043c\u043e\u0448\u043d\u0438\u043a. \u0420\u0430\u0431\u043e\u0442\u043e\u0439 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u0441 \u0442\u0430\u043a\u0438\u043c \u0441\u0442\u0430\u0442\u0443\u0441\u043e\u043c \u043f\u043e \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u043d\u0435\u0431\u0440\u0435\u0447\u044c, \u0442.\u043a. \u0435\u0433\u043e \u0432\u043b\u0430\u0434 \u043d\u0430 \u043e\u0431\u0449\u0435\u043c \u0444\u043e\u043d\u0435 \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u0435\u043d."}),(0,is.jsx)("p",{className:Yl,children:"\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043d\u0435 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0440\u044f\u0434 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043e\u0448\u0438\u0431\u043a\u0430 \u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430 \u043d\u0430\u0434\u043e \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e, \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0435\u0433\u043e \u0442\u0438\u043f."})]})},Qf=Si((function(){var e=ge().userId,t=ts.dataGrip.author.statistic[e||0],n=ts.dataGrip.timestamp.statisticByAuthor[t.author],r=t.tasks.length;return t.isStaff?(0,is.jsx)(nu,{children:(0,is.jsx)(Kf,{})}):(0,is.jsxs)(Wl,{children:[(0,is.jsxs)(Zl,{children:[(0,is.jsx)(Cu,{title:Je.get("\u0417\u0430 \u0432\u0441\u0451 \u0432\u0440\u0435\u043c\u044f")}),(0,is.jsxs)("div",{children:[(0,is.jsx)(uf,{value:Gi(t.moneyAll),icon:"./assets/cards/money_total.png",title:"\u043f\u043e\u043b\u0443\u0447\u0438\u043b",description:"\u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u0437\u043f \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 (\u0441\u043c. \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438)"}),(0,is.jsx)(uf,{value:Gi(t.moneyWorked),icon:"./assets/cards/money_work.png",title:"\u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b",description:"\u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0435 \u0434\u043d\u0438 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0440\u0435\u0434\u043d\u044e\u044e \u0437\u043f"}),(0,is.jsx)(uf,{value:Gi(t.moneyLosses),icon:"./assets/cards/money_lazy.png",title:"\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043f\u043b\u0430\u0442\u0430",description:"\u0414\u043d\u0438 \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0440\u0435\u0434\u043d\u044e\u044e \u0437\u043f"}),(0,is.jsx)(uf,{value:Gi(n.weekendPayment),icon:"./assets/cards/money_holidays.png",title:Je.get("page.team.total.weekendPayment.title"),description:Je.get("page.team.total.weekendPayment.description")})]})]}),(0,is.jsxs)(Zl,{children:[(0,is.jsx)(Cu,{title:Je.get("\u0421\u0440\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c")}),0===r?(0,is.jsx)(nu,{}):(0,is.jsxs)("div",{children:[(0,is.jsx)(uf,{long:!0,value:r?Gi(t.moneyWorked/r,0):null,icon:"./assets/cards/money_task.png",title:"\u0437\u0430\u0434\u0430\u0447\u0430",description:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0445 \u0437\u0430\u0434\u0430\u0447 \u043a \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u043d\u044f"}),(0,is.jsx)(uf,{long:!0,value:r?Gi(t.moneyWorked/t.commits,0):null,icon:"./assets/cards/money_work.png",title:"\u043a\u043e\u043c\u043c\u0438\u0442",description:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u043a \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0434\u043d\u044f"})]})]})]})})),Yf=Si((function(){var e=ge().userId,t=ts.dataGrip.author.statistic[e||0].wordStatistics;return(0,is.jsx)(ud,{statistic:t})})),Xf=Si((function(){var e=ge().userId,t=ts.dataGrip.author.statistic[e||0],n=ts.dataGrip.timestamp.statisticByAuthor[t.author],r=t.tasks.length;return t.isStaff?(0,is.jsx)(nu,{children:(0,is.jsx)(Kf,{})}):(0,is.jsxs)(Wl,{children:[(0,is.jsxs)(Zl,{children:[(0,is.jsx)(Cu,{title:Je.get("\u041e\u0434\u043d\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u044d\u0442\u043e")}),0===r?(0,is.jsx)(nu,{}):(0,is.jsxs)("div",{children:[(0,is.jsx)(uf,{value:t.daysForTask&&r?Zi(t.daysForTask):null,icon:"./assets/cards/month.png",title:"\u0434\u043d\u0435\u0439",description:"\u0418\u043c\u0435\u044e\u0442\u0441\u044f \u0432\u0432\u0438\u0434\u0443 \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u0434\u043d\u0438,<br>\u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b"}),(0,is.jsx)(uf,{value:r?(t.commits/r).toFixed(1):null,icon:"./assets/cards/commits.png",title:"\u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",description:"\u041e\u0442\u0440\u0435\u0437\u0430\u043d\u044b 10% \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u0438 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439"}),(0,is.jsx)(uf,{value:r?t.changesForTask:null,icon:"./assets/cards/lines.png",title:"\u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430",description:"\u041e\u0442\u0440\u0435\u0437\u0430\u043d\u044b 10% \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u0438 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439"})]})]}),(0,is.jsxs)(Zl,{children:[(0,is.jsx)(Cu,{title:Je.get("\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432 \u0434\u0435\u043d\u044c")}),(0,is.jsxs)("div",{children:[(0,is.jsx)(uf,{long:!0,value:n.tasksByTimestampCounter.max,icon:"./assets/cards/tasks.png",title:"\u0437\u0430\u0434\u0430\u0447",description:"\u0417\u0430\u0434\u0430\u0447\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u0434\u043e\u0434\u0435\u043b\u0430\u043d\u0430, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043d\u0435\u0439 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c"}),(0,is.jsx)(uf,{long:!0,value:n.commitsByTimestampCounter.max,icon:"./assets/cards/commits.png",title:"\u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",description:"\u0417\u0430\u0434\u0430\u0447\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u0434\u043e\u0434\u0435\u043b\u0430\u043d\u0430, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043d\u0435\u0439 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c"})]})]})]})})),Jf=0,ep=1,tp=2,np={commitsAfter1500:["\u0421\u043e\u0432\u0430","70% \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u043f\u043e\u0441\u043b\u0435 15:00",ep],commitsBefore1500:["\u0420\u0430\u043d\u044f\u044f \u043f\u0442\u0430\u0448\u043a\u0430","70% \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0434\u043e \u043e\u0431\u0435\u0434\u0430",ep],commitsAfter1800:["\u0414\u0435\u043b\u0443 \u0432\u0440\u0435\u043c\u044f","\u043d\u0435\u0442 \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430 \u043f\u043e\u0441\u043b\u0435 18:00",Jf],userNotWork:["\u0417\u0430\u043b\u0451\u0442\u043d\u044b\u0439","\u043c\u0435\u043d\u044c\u0448\u0435 5 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0437\u0430 \u0432\u0441\u0451 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430",ep],userIsDied:["\u041c\u0451\u0440\u0442\u0432\u0430\u044f \u0434\u0443\u0448\u0430","\u043e\u0442 6 \u0434\u043e 60 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0437\u0430 \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430",ep],workEveryTime:["\u0420\u0430\u0431 \u0431\u043e\u0436\u0438\u0439","\u0435\u0441\u0442\u044c \u043a\u043e\u043c\u043c\u0438\u0442 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0447\u0430\u0441 \u0441\u0443\u0442\u043e\u043a",tp],workNotWork:["\u0421\u0442\u0440\u0435\u043b\u044c\u0431\u0430 \u0445\u043e\u043b\u043e\u0441\u0442\u044b\u043c\u0438","\u043a\u043e\u043c\u043c\u0438\u0442\u044b \u0435\u0441\u0442\u044c, \u0430 \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0445 \u0437\u0430\u0434\u0430\u0447 \u043d\u0435\u0442",tp],moreTasks:["\u0411\u0430\u0442\u044f \u0433\u0440\u0438\u0442 \u043c\u0430\u043b\u0430\u0446\u0430","\u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0445 \u0437\u0430\u0434\u0430\u0447",Jf],lessTasks:["\u0417\u0430\u0448\u0435\u043b \u0438 \u0432\u044b\u0448\u0435\u043b","\u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0445 \u0437\u0430\u0434\u0430\u0447",tp],everyMessageLong:["\u041c\u0430\u0441\u0442\u0435\u0440 \u043a\u0440\u0430\u0441\u043d\u043e\u0440\u0435\u0447\u0438\u044f","\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u0441\u0430\u043c\u044b\u0435 \u0434\u043b\u0438\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",ep],everyMessageShort:["\u0411\u043e\u043b\u0442\u0443\u043d \u043d\u0430\u0445\u043e\u0434\u043a\u0430 \u0434\u043b\u044f \u0448\u043f\u0438\u043e\u043d\u0430","\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e, \u0441\u0430\u043c\u044b\u0435 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",tp],longestMessage:["\u0410 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u043e\u0432 \u0442\u043e \u0431\u044b\u043b\u043e...","\u0441\u0430\u043c\u0430\u044f \u0434\u043b\u0438\u043d\u043d\u0430\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u044c \u043a\u043e\u043c\u043c\u0438\u0442\u0430 \u0437\u0430 \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f",ep],shortestName:["\u0420\u0430\u0437\u043c\u0435\u0440 \u043d\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435","\u0441\u0430\u043c\u043e\u0435 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0435 \u0438\u043c\u044f",ep],longestName:["\u0410\u0437\u0438\u043c \u0410\u0437\u0438\u0437 \u0418\u043b\u044c \u0410\u043c \u041a\u0430\u0434\u0438\u0440 \u0418\u043c\u0440\u0430\u043d II","\u0441\u0430\u043c\u043e\u0435 \u0434\u043b\u0438\u043d\u043d\u043e\u0435 \u0438\u043c\u044f",ep],moreCommits:["\u041c\u0430\u0441\u0442\u0435\u0440 \u0431\u0435\u043a\u0430\u043f\u043e\u0432","\u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",ep],lessCommits:["\u0420\u0435\u0434\u043a\u043e \u043d\u043e \u043c\u0435\u0442\u043a\u043e","\u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",tp],oneCommitOneTask:["\u0422\u043e\u0447\u043d\u043e \u0432 \u0446\u0435\u043b\u044c","\u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u043e\u0434\u0438\u043d \u043a\u043e\u043c\u043c\u0438\u0442 \u043d\u0430 \u0437\u0430\u0434\u0430\u0447\u0443",ep],moreLazyDays:["\u041c\u044b\u0441\u043b\u0435\u043d\u043d\u043e \u044f \u0441 \u0432\u0430\u043c\u0438","\u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0434\u043d\u0435\u0439 \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",tp],lessLazyDays:["\u041f\u0430\u043f\u0430 \u041a\u0430\u0440\u043b\u043e","\u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0434\u043d\u0435\u0439 \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",Jf],zeroLazyDays:["\u041d\u0438 \u0435\u0434\u0438\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u044b\u0432\u0430","\u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0434\u043d\u044f \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",Jf],moreWorkDays:["\u0426\u0435\u043d\u043d\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u043d\u0438\u043a","\u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0434\u043d\u0435\u0439",Jf],lessWorkDays:["\u0414\u0430\u043b\u044c\u0448\u0435 \u0431\u0435\u0437 \u043c\u0435\u043d\u044f","\u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0434\u043d\u0435\u0439",tp],moreScopes:["\u0421\u0442\u0430\u0440\u0442\u0430\u043f\u0435\u0440","\u0441\u0434\u0435\u043b\u0430\u043b \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0444\u0438\u0447\u0435\u0439",Jf],lessScopes:["\u0429\u0435\u0433\u043e\u043b","\u0441\u0434\u0435\u043b\u0430\u043b \u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0444\u0438\u0447\u0435\u0439",tp],moreDaysForTask:["\u0423\u043b\u0438\u0442\u043a\u0430 \u043d\u0430 \u0441\u043a\u043b\u043e\u043d\u0435","\u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u0437\u0430\u0434\u0430\u0447\u0430\u043c \u0438\u0434\u0451\u0442 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435 \u0447\u0435\u043c \u0443 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445",tp],more2DaysForTask:["C\u043e \u0441\u043b\u043e\u0443","\u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0432\u0443\u0445 \u0434\u043d\u0435\u0439 \u043d\u0430 \u0437\u0430\u0434\u0430\u0447\u0443",tp],moreDaysInProject:["\u0421\u0442\u0430\u0440\u043e\u0436\u0438\u043b","\u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0434\u043d\u0435\u0439 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0435",Jf],lessDaysInProject:["\u0410 \u044d\u0442\u043e \u043a\u0442\u043e?","\u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0434\u043d\u0435\u0439 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0435",ep],more90DaysInProject:["\u0414\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c","\u043d\u0435 \u0443\u0432\u043e\u043b\u0438\u043b\u0438 \u043d\u0430 \u0438\u0441\u043f\u044b\u0442\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c",Jf],lessDaysForTask:["\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u0440\u0435\u043b","\u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u0437\u0430\u0434\u0430\u0447\u0430\u043c \u0438\u0434\u0451\u0442 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0447\u0435\u043c \u0443 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445",Jf]};var rp={achievement_container:"styles_achievement_container__DauWe",achievement:"styles_achievement__FTY+o",achievement_icon_container:"styles_achievement_icon_container__wl4md",achievement_icon:"styles_achievement_icon__OQ+XB",achievement_icon_svg:"styles_achievement_icon_svg__e0HnT",achievement_title:"styles_achievement_title__nmu3u",achievement_description:"styles_achievement_description__Bq8JY",achievement_good:"styles_achievement_good__iU369",achievement_bad:"styles_achievement_bad__ndH+V"};var ap=function(e){var t=e.type;if(!np[t])return null;var r=(0,n.Z)(np[t],3),a=r[0],i=r[1],o=r[2],s=[rp.achievement_good,rp.achievement_middle,rp.achievement_bad][o];return(0,is.jsxs)("div",{className:rp.achievement,children:[(0,is.jsx)("div",{className:rp.achievement_icon_container,children:(0,is.jsx)("div",{className:"".concat(rp.achievement_icon," ").concat(s||""),children:(0,is.jsx)("img",{className:rp.achievement_icon_svg,src:"./assets/achievements/".concat(t,".svg")})})}),(0,is.jsx)("div",{className:rp.achievement_title,children:a}),(0,is.jsx)("div",{className:rp.achievement_description,children:i})]})};var ip=function(e){var t=e.list,n=null===t||void 0===t?void 0:t.map((function(e){return(0,is.jsx)(ap,{type:e},e)}));return(0,is.jsx)("div",{className:rp.achievement_container,children:n})};function op(e){var t=e.title,n=e.achievements;return n.length?(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(pc,{text:"# ".concat(t)}),(0,is.jsx)(ip,{list:n})]}):null}var sp=Si((function(){var e=ge().userId,t=ts.dataGrip.author.statistic[e||0],n=t.tasks.length,r=function(e){var t=Vo.author.statistic.find((function(t){return t.author===e}));if(t){var n=Li.get(e);return t.hours.filter((function(e){return e>=15})).length>.7*t.commits&&n.push("commitsAfter1500"),t.hours.filter((function(e){return e<=13})).length>.7*t.commits&&n.push("commitsBefore1500"),0===t.hours.filter((function(e){return e>18||e<5})).length&&n.push("commitsAfter1800"),24===new Set(t.hours).size&&n.push("workEveryTime"),t.commits<=5&&n.push("userNotWork"),t.commits>=6&&t.commits<=60&&n.push("userIsDied"),t.daysForTask<1&&n.push("lessDaysForTask"),t.daysForTask>2&&n.push("more2DaysForTask"),0===t.lazyDays&&n.push("zeroLazyDays"),t.commits>0&&0===t.tasks&&n.push("workNotWork"),t.tasks/t.commits&&n.push("oneCommitOneTask"),t.allDaysInProject>90&&n.push("more90DaysInProject"),n.reduce((function(e,t){return e[np[t][2]].push(t),e}),[[],[],[]])}}(t.author);return(0,is.jsxs)(Wl,{children:[(0,is.jsxs)(Zl,{children:[(0,is.jsx)(Cu,{title:Je.get("\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438")}),(0,is.jsxs)("div",{children:[(0,is.jsx)(uf,{value:t.daysWorked,icon:"./assets/cards/work_days.png",title:"page.team.total.daysWorked.title",description:"page.team.total.daysWorked.description"}),(0,is.jsx)(uf,{value:n||null,icon:"./assets/cards/tasks.png",title:"\u0437\u0430\u0434\u0430\u0447",description:"\u0415\u0441\u043b\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b"}),(0,is.jsx)(uf,{value:t.daysLosses,icon:"./assets/cards/lazy.png",title:"page.team.total.daysLosses.title",description:"page.team.total.daysLosses.description"}),(0,is.jsx)(uf,{value:t.commits,icon:"./assets/cards/commits.png",title:"page.team.total.commits.title",description:"page.team.total.commits.description"})]})]}),(0,is.jsxs)(Zl,{children:[(0,is.jsx)(Cu,{title:Je.get("\u0414\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f")}),(0,is.jsx)(op,{title:"\u041f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u044b\u0435",achievements:r[Jf]}),(0,is.jsx)(op,{title:"\u041d\u0435\u0439\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0435",achievements:r[ep]}),(0,is.jsx)(op,{title:"\u041d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u044b\u0435",achievements:r[tp]}),(0,is.jsx)(pc,{text:"\u0427\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a \u043d\u0430\u0431\u0440\u0430\u043b \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u0439, \u0442\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c, \u0447\u0442\u043e \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0441\u0442\u043e\u0438\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0435\u0436\u0438\u043c \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b, \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u043b\u0438 \u043e\u0442\u0447\u0451\u0442\u043d\u043e\u0441\u0442\u044c. \u0421\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u0441 \u043d\u0438\u043c \u0438 \u0443\u0437\u043d\u0430\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043c\u0435\u0448\u0430\u044e\u0442 \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0435."})]})]})})),lp=sp,up="more_load_more__lyXmd";function cp(e){var t=e.response,n=e.state,r=e.store,a=e.className,i=e.title;if(!t)return null;var o=t.number,s=t.totalPages;return n===lu.INIT||o>=s-1?null:[lu.LOADING_ALL,lu.LOADING_MORE].includes(n||"")?(0,is.jsx)(iu,{height:40}):n===lu.ERROR?(0,is.jsx)(du,{response:null===r||void 0===r?void 0:r.response}):(0,is.jsx)("div",{className:"".concat(up," ").concat(a||""),onClick:function(){r&&r.loadMore()},children:i||"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0449\u0451"})}cp.defaultProps={response:null,className:"",title:"",state:lu.INIT,store:null};var dp=cp;function fp(e){var t=e.response,r=e.name;if(!t)return null;var a=ac({max:Ec(t,"authors",r),order:ts.dataGrip.type.list}),i=ac({max:7,order:["\u0431\u0443\u0434\u043d\u0438","\u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435"],suffix:"\u0434\u043d\u0435\u0439"}),o=ac({max:Ec(t,"taskInDay",r)});return(0,is.jsxs)(Gu,{rows:t.content,children:[(0,is.jsx)($u,{isFixed:!0,template:Wu.STRING,title:"\u0414\u0430\u0442\u0430",properties:"timestamp",formatter:$i,width:200}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,properties:"authors",formatter:function(e){return e[r]||0}}),(0,is.jsx)($u,{title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u0434\u0430\u0447",template:function(e){return(0,is.jsx)(nc,{options:a,value:e.authors[r],details:e.typeByAuthor[r]})},width:200}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,properties:"workDays",formatter:function(e){return e[r]||0}}),(0,is.jsx)($u,{title:"\u0414\u043d\u0438 \u0441 \u043a\u043e\u043c\u043c\u0438\u0442\u0430\u043c\u0438",template:function(e){var t=(0,n.Z)(e,2),r=t[0],a=t[1];return(0,is.jsx)(nc,{options:i,value:r+a,details:{"\u0431\u0443\u0434\u043d\u0438":r,"\u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435":a}})},formatter:function(e){return(null===e||void 0===e?void 0:e.workDays[r])>5?[5,(null===e||void 0===e?void 0:e.workDays[r])-5]:[null===e||void 0===e?void 0:e.workDays[r],0]},width:200}),(0,is.jsx)($u,{template:Wu.SHORT_NUMBER,properties:"taskInDay",formatter:function(e){return Zi(e[r]||0)}}),(0,is.jsx)($u,{title:"\u0417\u0430\u0434\u0430\u0447 \u0432 \u0434\u0435\u043d\u044c",properties:"taskInDay",template:function(e){return(0,is.jsx)(nc,{options:o,value:e[r]})},width:200})]})}fp.defaultProps={response:void 0};var pp=Si((function(){var e,t=ge().userId,n=ts.dataGrip.author.statistic[t||0],r=ts.dataGrip.week.statistic.filter((function(e){return e.authors[n.author]}));if(null===r||void 0===r||!r.length)return(0,is.jsx)(nu,{});var a=null===(e=ts.dataGrip.recommendations.person)||void 0===e?void 0:e.byWeek[n.author];return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Nc,{recommendations:a}),(0,is.jsx)(Cu,{title:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e \u043d\u0435\u0434\u0435\u043b\u044f\u043c"}),(0,is.jsx)(Wl,{template:"table",children:(0,is.jsxs)(hu,{to:"response",loader:function(e){return wu(r,e)},children:[(0,is.jsx)(fp,{name:n.author}),(0,is.jsx)(dp,{})]})})]})})),hp=Si((function(){var e=ge().userId,t=ts.dataGrip.author.statistic[e||0],n=ts.dataGrip.timestamp.statisticByAuthor[t.author],r=n.commitsByTimestampCounter.max;return(0,is.jsx)(Wl,{template:"table",children:(0,is.jsx)(zf,{maxCommits:r,authors:[t],wordDays:n.allCommitsByTimestamp})})}));function mp(e){var t=e.response,n=e.user;return t?(0,is.jsx)(qd,{days:t.content,author:n}):null}mp.defaultProps={response:void 0};var vp=Si((function(){var t,r=ge().userId,a=ts.dataGrip.author.statistic[r||0],i=(null===(t=ts.dataGrip.timestamp.statisticByAuthor[a.author])||void 0===t?void 0:t.allCommitsByTimestamp)||[],o=i[i.length-1],s=(0,e.useState)(o.week),l=(0,n.Z)(s,2),u=l[0],c=l[1];if(null===i||void 0===i||!i.length)return(0,is.jsx)(nu,{});var d=function(e,t){return t.filter((function(t){return t.week===e.week})).slice(0,7)}({week:u,user:a.author},i),f=d[0],p=d[d.length-1];return null!==d&&void 0!==d&&d.length?(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Cu,{title:"\u0424\u0438\u043b\u044c\u0442\u0440\u044b"}),(0,is.jsx)(Wl,{children:(0,is.jsxs)("div",{className:Qd,children:[(0,is.jsx)(us,{type:"second",disabled:1===u,onClick:function(){c(u-1)},children:"\xab"}),(0,is.jsx)("div",{className:"".concat(ss.ui_kit_common," ").concat(Yd),children:$i({from:f.timestamp,to:p.timestamp})}),(0,is.jsx)(us,{type:"second",disabled:u===o.week,onClick:function(){c(u+1)},children:"\xbb"})]})}),(0,is.jsx)(Wl,{template:"table",children:(0,is.jsxs)(hu,{to:"response",loader:function(){return wu(d)},watch:u,children:[(0,is.jsx)(mp,{user:a.author}),(0,is.jsx)(xu,{})]})})]}):(0,is.jsx)(nu,{})}));var yp=function(){var e=ge(),t=e.type,n=e.page;return"person"!==t?null:(0,is.jsxs)(is.Fragment,{children:["week"!==n&&(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Cu,{title:"\u0424\u0438\u043b\u044c\u0442\u0440\u044b"}),(0,is.jsx)(Gf,{})]}),"changes"===n&&(0,is.jsx)(Zf,{}),"commits"===n&&(0,is.jsx)($f,{}),"hours"===n&&(0,is.jsx)(qf,{}),"money"===n&&(0,is.jsx)(Qf,{}),"words"===n&&(0,is.jsx)(Yf,{}),"speed"===n&&(0,is.jsx)(Xf,{}),"total"===n&&(0,is.jsx)(lp,{}),"month"===n&&(0,is.jsx)(pp,{}),"week"===n&&(0,is.jsx)(vp,{}),"year"===n&&(0,is.jsx)(hp,{})]})},gp="console_welcome_console__1jHzG",_p="console_welcome_console_header__0cCD6",bp="console_welcome_console_body__Lhmsk",kp="console_welcome_console_header_icon__VugRQ",xp="console_welcome_console_copy__i-18H";var wp=function(){return(0,is.jsxs)("div",{className:"".concat(gp),children:[(0,is.jsxs)("div",{className:"".concat(_p),children:[(0,is.jsx)("span",{className:"".concat(kp)}),(0,is.jsx)("span",{className:"".concat(kp)}),(0,is.jsx)("span",{className:"".concat(kp)})]}),(0,is.jsx)("div",{className:"".concat(bp),children:"git --no-pager log --numstat --oneline --all --no-merges --reverse --date=iso-strict --pretty=format:\"%ad>%cN>%cE>%s\" | sed -e 's/\\\\/\\\\\\\\/g' | sed -e 's/`/\"/g' | sed -e 's/^/report.push(\\`/g' | sed 's/$/\\`\\);/g' | sed 's/\\$/_/g' > dump.git\n"}),(0,is.jsx)("button",{className:"".concat(xp),children:"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c"})]})},jp="styles_welcome__vW4cb",Sp="styles_welcome_row__Kcus2",Cp="styles_welcome__title_1__9c+zP",Np="styles_welcome__title_2__8d13x",Ep="styles_welcome__description_link__8-h6E",Op="styles_welcome__description__+TY6H";var Tp=function(){return(0,is.jsx)("section",{className:"".concat(jp),children:(0,is.jsxs)("div",{className:"".concat(Sp),children:[(0,is.jsx)("h2",{className:"".concat(Cp),children:"\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0432 \u043a\u043e\u0440\u043d\u0435 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430"}),(0,is.jsx)(wp,{}),(0,is.jsxs)("p",{className:"".concat(Op),children:["Git \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u0444\u0430\u0439\u043b dump.git. \u041e\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u043e\u0442\u0447\u0451\u0442\u0430. \u0418\u043b\u0438 git shortlog -s -n -e \u0435\u0441\u043b\u0438 \u043e\u0442\u0447\u0451\u0442 \u0432\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u0435\u043d. \u0421\u043e\u0432\u0435\u0442\u0443\u044e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0444\u0430\u0439\u043b",(0,is.jsx)(ze,{className:"".concat(Ep),target:"_blank",to:"https://git-scm.com/docs/gitmailmap",children:".mailmap"}),", \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u044c\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043f\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c."]}),(0,is.jsx)("h2",{className:"".concat(Np),children:"\u041f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0444\u0430\u0439\u043b dump.git \u043d\u0430 \u044d\u0442\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"})]})})};var Pp=function(t){var r=t.title,a=t.type,i=t.disabled,o=t.className,s=t.options,l=t.onClick,u=t.children;if(null===s||void 0===s||!s.length)return null;var c=(0,e.useState)(!1),d=(0,n.Z)(c,2),f=d[0],p=d[1],h=ls(a,i),m=null===s||void 0===s?void 0:s.map((function(e){var t,n,a,i=null!==(t=null!==(n=null!==(a=null===e||void 0===e?void 0:e.title)&&void 0!==a?a:null===e||void 0===e?void 0:e.id)&&void 0!==n?n:e)&&void 0!==t?t:"";return(0,is.jsx)("button",{className:ss.ui_kit_button_menu,onClick:function(){l&&l(e),p(!1)},children:i},r)}));return(0,is.jsx)(is.Fragment,{children:(0,is.jsxs)("button",{title:r,className:"".concat(ss.button," ").concat(h||""," ").concat(o||""),style:{position:"relative"},onClick:function(){p(!f)},children:[u,f&&(0,is.jsx)("div",{className:ss.ui_kit_dialog,children:m})]})})};var Dp=function(e){var t=e.columns,n=e.className,r=e.children;return(0,is.jsx)("div",{className:"".concat(ss.wrapper," ").concat(n||""),style:{columnCount:t||2},children:r})},Ap="switch_ui_kit_switch__67zLe",Lp="switch_ui_kit_switch_item__3dQOK",Rp="switch_ui_kit_switch_item_selected__0+-IE";var Ip=function(e){var t=e.title,n=e.description,r=e.help,a=e.error,i=e.className,o=e.value,s=e.options,l=e.onChange,u=(s||[]).map((function(e,t){var n,r,a="object"!==typeof e?{id:e,title:e}:e;return(0,is.jsx)("button",{className:o===(null===a||void 0===a?void 0:a.id)?"".concat(Lp," ").concat(Rp):Lp,onClick:function(){l&&l(e)},children:null!==(n=null!==(r=null===a||void 0===a?void 0:a.title)&&void 0!==r?r:null===a||void 0===a?void 0:a.id)&&void 0!==n?n:""},"".concat(null===a||void 0===a?void 0:a.id,"_").concat(t))}));return(0,is.jsx)(mu,{title:t,description:n,help:r,error:a,className:i,children:(0,is.jsx)("div",{className:Ap,children:u})})};function Mp(e){var t=e.title,n=e.description,r=e.help,a=e.error,i=e.className,o=e.value,s=e.placeholder,l=e.onChange,u=(null===o||void 0===o?void 0:o.length)>10?o.substring(0,10):o;return(0,is.jsx)(mu,{title:t,description:n,help:r,error:a,className:i,children:(0,is.jsx)("input",{type:"date",value:u,placeholder:s,className:ss.ui_kit_common,onChange:function(e){l&&l("".concat(e.target.value,"T00:00:00.000Z"))}})})}Mp.defaultProps={placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435"};var Bp=Mp;var zp=function(t){var r=t.salary,a=t.index,i=t.onChange,o=t.onRemove,s=(0,e.useState)(!1),l=(0,n.Z)(s,2),u=l[0],c=l[1];return(0,is.jsxs)("div",{className:al,children:[(0,is.jsx)(Cu,{title:"\u0414\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a \u0442\u0440\u0443\u0434\u043e\u0432\u043e\u043c\u0443 \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0443 \u2116".concat(a),className:u?"":il}),(0,is.jsx)("div",{className:ol,children:(0,is.jsx)("img",{className:sl,src:"./assets/list/arrow.svg",onClick:function(){return c(!u)}})}),u&&(0,is.jsxs)(is.Fragment,{children:[(0,is.jsxs)(Dp,{children:[(0,is.jsx)(Bp,{title:"\u0414\u0430\u0442\u0430 \u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f",value:null===r||void 0===r?void 0:r.from,onChange:function(e){i(Mi(Mi({},r),{},{from:e}))}}),(0,is.jsx)(Ip,{title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0434\u043d\u0435\u0439 \u0432 \u043d\u0435\u0434\u0435\u043b\u044e",value:r.workDaysInWeek,options:[1,2,3,4,5,6,7],onChange:function(e){i(Mi(Mi({},r),{},{workDaysInWeek:e}))}})]}),(0,is.jsxs)(Dp,{children:[(0,is.jsx)(ff,{title:"\u0417\u0430\u0440\u043f\u043b\u0430\u0442\u0430 \u0432 \u043c\u0435\u0441\u044f\u0446",value:null===r||void 0===r?void 0:r.value,onChange:function(e){i(Mi(Mi({},r),{},{value:e}))}}),(0,is.jsx)(Ip,{title:"\u0412\u0430\u043b\u044e\u0442\u0430",value:null===r||void 0===r?void 0:r.currency,options:["RUB","USD","EUR"],onChange:function(e){i(Mi(Mi({},r),{},{currency:e}))}})]}),(0,is.jsxs)(Dp,{children:[(0,is.jsx)(ff,{title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0434\u043d\u0435\u0439 \u0432 \u0433\u043e\u0434\u0443",value:null===r||void 0===r?void 0:r.workDaysInYear,onChange:function(e){i(Mi(Mi({},r),{},{workDaysInYear:e}))}}),(0,is.jsx)(ff,{title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0434\u043d\u0435\u0439 \u043e\u0442\u043f\u0443\u0441\u043a\u0430 \u0432 \u0433\u043e\u0434",value:null===r||void 0===r?void 0:r.vacationDaysInYear,onChange:function(e){i(Mi(Mi({},r),{},{vacationDaysInYear:e}))}})]}),(0,is.jsx)("div",{className:ll,children:(0,is.jsx)(us,{type:"second",onClick:function(){return ks.open().then((function(){return o()}))},children:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c"})})]})]})};var Fp=function(e){var t=e.user,n=e.onChange,a=e.onRemove,i=t.salary.map((function(e,r){return(0,is.jsx)(zp,{index:r+1,salary:e,onChange:function(r){n(Mi(Mi({},t),{},{salary:t.salary.map((function(t){return t.id===e.id?r:t}))}))},onRemove:function(){n(Mi(Mi({},t),{},{salary:t.salary.filter((function(t){return t.id!==e.id}))}))}},t.id)}));return(0,is.jsxs)(Hl,{className:tl,onRemove:function(){return ks.open().then((function(){return a()}))},children:[(0,is.jsx)(Cu,{title:(null===t||void 0===t?void 0:t.name)||"",className:nl}),i,(0,is.jsx)("div",{className:rl,children:(0,is.jsx)(us,{type:"slim",onClick:function(){n(Mi(Mi({},t),{},{salary:[].concat((0,r.Z)(t.salary),[Jo(Xs.state)])}))},children:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0440\u0443\u0434\u043e\u0432\u043e\u0439 \u0434\u043e\u0433\u043e\u0432\u043e\u0440"})})]})},Up=Si((function(){var e=Xs.state.defaultSalary;return e?(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Cu,{title:"\u041e\u0431\u0449\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0437\u0430\u0440\u043f\u043b\u0430\u0442\u0435"}),(0,is.jsxs)(Hl,{children:[(0,is.jsx)(Ip,{title:"\u0422\u0438\u043f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c",value:e.type,options:[{id:"full",title:"\u041f\u043e\u043b\u043d\u0430\u044f \u0437\u0430\u043d\u044f\u0442\u043e\u0441\u0442\u044c"},{id:"part",title:"\u041f\u0440\u043e\u0435\u043a\u0442\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430"}],onChange:function(e){Xs.updateState("defaultSalary.type",null===e||void 0===e?void 0:e.id)}}),(0,is.jsxs)(Dp,{children:[(0,is.jsx)(ff,{title:"\u0417\u0430\u0440\u043f\u043b\u0430\u0442\u0430 \u0432 \u043c\u0435\u0441\u044f\u0446",value:e.value,onChange:function(e){Xs.updateState("defaultSalary.value",e)}}),(0,is.jsx)(Ip,{title:"\u0412\u0430\u043b\u044e\u0442\u0430",value:e.currency,options:["RUB","USD","EUR"],onChange:function(e){Xs.updateState("defaultSalary.currency",e)}})]}),(0,is.jsxs)(Dp,{children:[(0,is.jsx)(ff,{title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0434\u043d\u0435\u0439 \u0432 \u0433\u043e\u0434\u0443",value:e.workDaysInYear,onChange:function(e){Xs.updateState("defaultSalary.workDaysInYear",e)}}),(0,is.jsx)(ff,{title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0434\u043d\u0435\u0439 \u043e\u0442\u043f\u0443\u0441\u043a\u0430 \u0432 \u0433\u043e\u0434",value:e.vacationDaysInYear,onChange:function(e){Xs.updateState("defaultSalary.vacationDaysInYear",e)}})]}),(0,is.jsx)(Ip,{title:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0434\u043d\u0435\u0439 \u0432 \u043d\u0435\u0434\u0435\u043b\u044e",value:e.workDaysInWeek,options:[1,2,3,4,5,6,7],onChange:function(e){Xs.updateState("defaultSalary.workDaysInWeek",e)}})]})]}):null})),Wp=Up,Vp=Si((function(){return(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Cu,{title:"\u0414\u0440\u0443\u0433\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435"}),(0,is.jsx)(Hl,{children:(0,is.jsx)(ff,{title:"\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0442\u0430\u0441\u043a-\u0442\u0440\u0435\u043a\u0435\u0440",value:Xs.state.linksPrefixForTasks,onChange:function(e){Xs.updateState("linksPrefixForTasks",e)}})})]})})),Hp=Si((function(){var e=Xs.state.filters;return e?(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(Cu,{title:"\u0424\u0438\u043b\u044c\u0442\u0440 \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445"}),(0,is.jsxs)(Hl,{children:[(0,is.jsx)(ff,{title:"\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432",value:e.minCommits,onChange:function(e){Xs.updateState("filters.minCommits",e)}}),(0,is.jsx)(Bp,{title:"\u0414\u0430\u0442\u0430 \u043d\u0430\u0447\u0430\u043b\u0430 \u0430\u043d\u0430\u043b\u0438\u0437\u0430",value:e.from,onChange:function(e){Xs.updateState("filters.from",e)}}),(0,is.jsx)(Bp,{title:"\u0414\u0430\u0442\u0430 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430",value:e.to,onChange:function(e){Xs.updateState("filters.to",e)}})]})]}):null})),Gp=Si((function(e){var t=Xs.state.employees;if(!e||!t)return null;var n=t.map((function(e){return e.name})),a=ts.dataGrip.author.list.filter((function(e){return!n.includes(e)})).map((function(e,t){return{id:t,title:e}})),i=Xs.state.employees.map((function(e){return(0,is.jsx)(Fp,{user:e,onChange:function(n){var r=t.map((function(t){return t.id===e.id?n:t}));Xs.updateState("employees",r)},onRemove:function(){var n=t.filter((function(t){return t.id!==e.id}));Xs.updateState("employees",n)}},e.id)}));return(0,is.jsxs)(Wl,{children:[(0,is.jsxs)(Zl,{children:[(0,is.jsx)(Hp,{}),(0,is.jsx)(Wp,{}),(0,is.jsx)(Vp,{})]}),(0,is.jsxs)(Zl,{children:[(0,is.jsx)(Cu,{title:"\u0418\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438"}),t.length>0?i:(0,is.jsx)(nu,{message:"\u0418\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043d\u0435\u0442. \u0414\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0432\u0441\u0435\u043c \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430\u043c \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u043e \u043e\u0431\u0449\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c."}),a.length&&(0,is.jsx)("div",{className:el,children:(0,is.jsx)(Pp,{options:a,onClick:function(e){Xs.updateState("employees",[].concat((0,r.Z)(t),[es(null===e||void 0===e?void 0:e.title,Xs.state,null===n||void 0===n?void 0:n.length)]))},children:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f"})})]})]})})),Zp=Gp,$p=Si((function(){return(0,is.jsx)(hu,{to:"response",loader:function(){return Ks().then((function(e){return Xs.setInitState(e),Promise.resolve(e)}))},children:(0,is.jsx)(Zp,{})})})),qp=Si((function(){(0,e.useEffect)((function(){var e;ts.setCommits((null===(e=window)||void 0===e?void 0:e.report)||[])}),[]);var t=(0,is.jsx)(os,{onChange:function(e,t){"dump"===e&&ts.setCommits(t)}});return ts.showApplication?(0,is.jsxs)(is.Fragment,{children:[(0,is.jsx)(xs,{}),t,(0,is.jsxs)(Pe,{children:[(0,is.jsx)(Oe,{path:"/settings",element:(0,is.jsx)(Nl,{children:(0,is.jsx)($p,{})})}),(0,is.jsx)(Oe,{path:"/:type/:page",element:(0,is.jsx)(Nl,{children:(0,is.jsx)(Uf,{})})}),(0,is.jsx)(Oe,{path:"/:type/:page/:userId",element:(0,is.jsx)(Nl,{children:(0,is.jsx)(yp,{})})}),(0,is.jsx)(Oe,{path:"*",element:(0,is.jsx)(Ml,{})})]})]}):(0,is.jsxs)(is.Fragment,{children:[t,(0,is.jsx)(Pe,{children:(0,is.jsx)(Oe,{path:"*",element:(0,is.jsx)(Tp,{})})})]})})),Kp=qp,Qp=Si((function(){Ei.state,Ei.isInitialization;return(0,is.jsx)(Kp,{})}));console.log({}+""),(0,We.render)((0,is.jsx)(e.StrictMode,{children:(0,is.jsx)(Me,{children:(0,is.jsx)(Qp,{})})}),document.getElementById("root"))}()})();
|
|
//# sourceMappingURL=main.0fc28d3c.js.map
|