diff --git a/frontend/NovelPlus-frontend b/frontend/NovelPlus-frontend
index ca04f86..e806125 160000
--- a/frontend/NovelPlus-frontend
+++ b/frontend/NovelPlus-frontend
@@ -1 +1 @@
-Subproject commit ca04f86bfe1c03ea508206cd8e42b00dfef8456c
+Subproject commit e806125eb9d712203ae5c4986d323d9d050636ec
diff --git a/frontend/static/frontend/js/main.b6f3d3d9.js b/frontend/static/frontend/js/main.b6f3d3d9.js
deleted file mode 100644
index 7ba5175..0000000
--- a/frontend/static/frontend/js/main.b6f3d3d9.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/*! For license information please see main.b6f3d3d9.js.LICENSE.txt */
-(()=>{var e={744:()=>{if("VKIDSDK"in window){const n=window.VKIDSDK;n.Config.init({app:52316017,redirectUrl:"https://novelplus.ru/users/vk-login/",source:n.ConfigSource.LOWCODE});(new n.OneTap).render({container:document.currentScript.parentElement,scheme:"dark",showAlternativeLogin:!0,styles:{width:360},oauthList:["ok_ru","mail_ru"]}).on(n.WidgetEvents.ERROR,t).on(n.OneTapInternalEvents.LOGIN_SUCCESS,(function(r){const l=r.code,o=r.device_id;n.Auth.exchangeCode(l,o).then(e).catch(t)}))}function e(e){}function t(e){}},240:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,l=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},i=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,l=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!l&&!o)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(l)return l(e,n).value}return e[n]};e.exports=function e(){var t,n,r,l,s,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"===typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});d
{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,l=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g,s="";function c(e){return e?e.replace(u,s):s}e.exports=function(e,u){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var f=1,d=1;function p(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=u.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(u.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=f,n.column=d,n.source=e,!u.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){v(r)}function k(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;s!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,s===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function w(){var e=h(),n=v(l);if(n){if(x(),!v(o))return y("property missing ':'");var r=v(i),u=e({type:"declaration",property:c(n[0].replace(t,s)),value:r?c(r[0].replace(t,s)):s});return v(a),u}}return b(),function(){var e,t=[];for(k(t);e=w();)!1!==e&&(t.push(e),k(t));return t}()}},730:(e,t,n)=>{"use strict";var r=n(43),l=n(853);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}(t,n,l,r)&&(n=null),r||null===l?function(e){return!!f.call(h,e)||!f.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=null===n?3!==l.type&&"":n:(t=l.attributeName,r=l.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(l=l.type)||4===l&&!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,v);g[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,v);g[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,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),w=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),_=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),L=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var O=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function j(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=R&&e[R]||e["@@iterator"])?e:null}var D,M=Object.assign;function F(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var A=!1;function U(e,t){if(!e||A)return"";A=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var l=s.stack.split("\n"),o=r.stack.split("\n"),i=l.length-1,a=o.length-1;1<=i&&0<=a&&l[i]!==o[a];)a--;for(;1<=i&&0<=a;i--,a--)if(l[i]!==o[a]){if(1!==i||1!==a)do{if(i--,0>--a||l[i]!==o[a]){var u="\n"+l[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}}while(1<=i&&0<=a);break}}}finally{A=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function B(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case S:return"Fragment";case w:return"Portal";case C:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case z:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case P:return(e._context.displayName||"Context")+".Provider";case N:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case I:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case L:t=e._payload,e=e._init;try{return H(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 H(t);case 8:return t===E?"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 $(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=W(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 l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,o.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 Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(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 Y(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 X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=$(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 J(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){J(e,t);var n=$(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,$(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function G(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&&K(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 l=0;l"+t.valueOf().toString()+"",t=se.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 de(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 ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),l=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}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 ve(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(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 ke=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,Se=null,Ee=null;function Ce(e){if(e=bl(e)){if("function"!==typeof we)throw Error(o(280));var t=e.stateNode;t&&(t=xl(t),we(e.stateNode,e.type,t))}}function Pe(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function _e(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e>>=0,0===e?32:31-(at(e)/ut|0)|0},at=Math.log,ut=Math.LN2;var st=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var a=i&~l;0!==a?r=ft(a):0!==(o&=i)&&(r=ft(o))}else 0!==(i=n&~l)?r=ft(i):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&l)&&((l=r&-r)>=(o=t&-t)||16===l&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;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-it(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),l=1<=jn),Fn=String.fromCharCode(32),An=!1;function Un(e,t){switch(e){case"keyup":return-1!==On.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!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 $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function Wn(e,t,n,r){Pe(r),0<(t=qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Qn=null;function Kn(e){Fr(e,0)}function Yn(e){if(Q(kl(e)))return e}function Xn(e,t){if("change"===e)return t}var Jn=!1;if(c){var Zn;if(c){var Gn="oninput"in document;if(!Gn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Gn="function"===typeof er.oninput}Zn=Gn}else Zn=!1;Jn=Zn&&(!document.documentMode||9=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=sr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((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=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(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 l=n.textContent.length,o=Math.min(r.start,l);r=void 0===r.end?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=cr(n,o);var i=cr(n,r);l&&i&&(1!==e.rangeCount||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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=document.documentMode,gr=null,yr=null,vr=null,br=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==K(r)||("selectionStart"in(r=gr)&&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},vr&&ur(vr,r)||(vr=r,0<(r=qr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!wr[e])return e;var t,n=wr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),"TransitionEvent"in window||delete wr.transitionend.transition);var Pr=Cr("animationend"),_r=Cr("animationiteration"),Nr=Cr("animationstart"),Tr=Cr("transitionend"),zr=new Map,Ir="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 Lr(e,t){zr.set(e,t),u(t,[e])}for(var Or=0;OrSl||(e.current=wl[Sl],wl[Sl]=null,Sl--)}function Pl(e,t){Sl++,wl[Sl]=e.current,e.current=t}var _l={},Nl=El(_l),Tl=El(!1),zl=_l;function Il(e,t){var n=e.type.contextTypes;if(!n)return _l;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l,o={};for(l in n)o[l]=t[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ll(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ol(){Cl(Tl),Cl(Nl)}function Rl(e,t,n){if(Nl.current!==_l)throw Error(o(168));Pl(Nl,t),Pl(Tl,n)}function jl(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var l in r=r.getChildContext())if(!(l in t))throw Error(o(108,V(e)||"Unknown",l));return M({},n,r)}function Dl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_l,zl=Nl.current,Pl(Nl,e),Pl(Tl,Tl.current),!0}function Ml(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=jl(e,t,zl),r.__reactInternalMemoizedMergedChildContext=e,Cl(Tl),Cl(Nl),Pl(Nl,e)):Cl(Tl),Pl(Tl,n)}var Fl=null,Al=!1,Ul=!1;function Bl(e){null===Fl?Fl=[e]:Fl.push(e)}function Hl(){if(!Ul&&null!==Fl){Ul=!0;var e=0,t=bt;try{var n=Fl;for(bt=1;e>=i,l-=i,Xl=1<<32-it(t)+l|n<m?(g=f,f=null):g=f.sibling;var y=p(l,f,a[m],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(l,f),o=i(y,o,m),null===c?s=y:c.sibling=y,c=y,f=g}if(m===a.length)return n(l,f),lo&&Zl(l,m),s;if(null===f){for(;mg?(y=m,m=null):y=m.sibling;var b=p(l,m,v.value,s);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(l,m),a=i(b,a,g),null===f?c=b:f.sibling=b,f=b,m=y}if(v.done)return n(l,m),lo&&Zl(l,g),c;if(null===m){for(;!v.done;g++,v=u.next())null!==(v=d(l,v.value,s))&&(a=i(v,a,g),null===f?c=v:f.sibling=v,f=v);return lo&&Zl(l,g),c}for(m=r(l,m);!v.done;g++,v=u.next())null!==(v=h(m,l,g,v.value,s))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),a=i(v,a,g),null===f?c=v:f.sibling=v,f=v);return e&&m.forEach((function(e){return t(l,e)})),lo&&Zl(l,g),c}return function e(r,o,i,u){if("object"===typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"===typeof i&&null!==i){switch(i.$$typeof){case x:e:{for(var s=i.key,c=o;null!==c;){if(c.key===s){if((s=i.type)===S){if(7===c.tag){n(r,c.sibling),(o=l(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===L&&bo(s)===c.type){n(r,c.sibling),(o=l(c,i.props)).ref=yo(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((o=js(i.props.children,r.mode,u,i.key)).return=r,r=o):((u=Rs(i.type,i.key,i.props,null,r.mode,u)).ref=yo(r,o,i),u.return=r,r=u)}return a(r);case w:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=l(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Fs(i,r.mode,u)).return=r,r=o}return a(r);case L:return e(r,o,(c=i._init)(i._payload),u)}if(te(i))return m(r,o,i,u);if(j(i))return g(r,o,i,u);vo(r,i)}return"string"===typeof i&&""!==i||"number"===typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=l(o,i)).return=r,r=o):(n(r,o),(o=Ms(i,r.mode,u)).return=r,r=o),a(r)):n(r,o)}}var xo=ko(!0),wo=ko(!1),So=El(null),Eo=null,Co=null,Po=null;function _o(){Po=Co=Eo=null}function No(e){var t=So.current;Cl(So),e._currentValue=t}function To(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 zo(e,t){Eo=e,Po=Co=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ba=!0),e.firstContext=null)}function Io(e){var t=e._currentValue;if(Po!==e)if(e={context:e,memoizedValue:t,next:null},null===Co){if(null===Eo)throw Error(o(308));Co=e,Eo.dependencies={lanes:0,firstContext:e}}else Co=Co.next=e;return t}var Lo=null;function Oo(e){null===Lo?Lo=[e]:Lo.push(e)}function Ro(e,t,n,r){var l=t.interleaved;return null===l?(n.next=n,Oo(t)):(n.next=l.next,l.next=n),t.interleaved=n,jo(e,r)}function jo(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 Do=!1;function Mo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fo(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 Ao(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Uo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Nu)){var l=r.pending;return null===l?t.next=t:(t.next=l.next,l.next=t),r.pending=t,jo(e,n)}return null===(l=r.interleaved)?(t.next=t,Oo(r)):(t.next=l.next,l.next=t),r.interleaved=t,jo(e,n)}function Bo(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,vt(e,n)}}function Ho(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var l=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?l=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?l=o=t:o=o.next=t}else l=o=t;return n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Vo(e,t,n,r){var l=e.updateQueue;Do=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,a=l.shared.pending;if(null!==a){l.shared.pending=null;var u=a,s=u.next;u.next=null,null===i?o=s:i.next=s,i=u;var c=e.alternate;null!==c&&((a=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===a?c.firstBaseUpdate=s:a.next=s,c.lastBaseUpdate=u))}if(null!==o){var f=l.baseState;for(i=0,c=s=u=null,a=o;;){var d=a.lane,p=a.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,m=a;switch(d=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(d="function"===typeof(h=m.payload)?h.call(p,f,d):h)||void 0===d)break e;f=M({},f,d);break e;case 2:Do=!0}}null!==a.callback&&0!==a.lane&&(e.flags|=64,null===(d=l.effects)?l.effects=[a]:d.push(a))}else p={eventTime:p,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(s=c=p,u=f):c=c.next=p,i|=d;if(null===(a=a.next)){if(null===(a=l.shared.pending))break;a=(d=a).next,d.next=null,l.lastBaseUpdate=d,l.shared.pending=null}}if(null===c&&(u=f),l.baseState=u,l.firstBaseUpdate=s,l.lastBaseUpdate=c,null!==(t=l.shared.interleaved)){l=t;do{i|=l.lane,l=l.next}while(l!==t)}else null===o&&(l.shared.lanes=0);Du|=i,e.lanes=i,e.memoizedState=f}}function $o(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tn?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{bt=n,oi.transition=r}}function qi(){return bi().memoizedState}function Qi(e,t,n){var r=ts(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yi(e))Xi(t,n);else if(null!==(n=Ro(e,t,n,r))){ns(n,e,r,es()),Ji(n,t,r)}}function Ki(e,t,n){var r=ts(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yi(e))Xi(t,l);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,a=o(i,n);if(l.hasEagerState=!0,l.eagerState=a,ar(a,i)){var u=t.interleaved;return null===u?(l.next=l,Oo(t)):(l.next=u.next,u.next=l),void(t.interleaved=l)}}catch(s){}null!==(n=Ro(e,t,l,r))&&(ns(n,e,r,l=es()),Ji(n,t,r))}}function Yi(e){var t=e.alternate;return e===ai||null!==t&&t===ai}function Xi(e,t){fi=ci=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ji(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Zi={readContext:Io,useCallback:hi,useContext:hi,useEffect:hi,useImperativeHandle:hi,useInsertionEffect:hi,useLayoutEffect:hi,useMemo:hi,useReducer:hi,useRef:hi,useState:hi,useDebugValue:hi,useDeferredValue:hi,useTransition:hi,useMutableSource:hi,useSyncExternalStore:hi,useId:hi,unstable_isNewReconciler:!1},Gi={readContext:Io,useCallback:function(e,t){return vi().memoizedState=[e,void 0===t?null:t],e},useContext:Io,useEffect:ji,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Oi(4194308,4,Ai.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Oi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Oi(4,2,e,t)},useMemo:function(e,t){var n=vi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vi();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=Qi.bind(null,ai,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},vi().memoizedState=e},useState:zi,useDebugValue:Bi,useDeferredValue:function(e){return vi().memoizedState=e},useTransition:function(){var e=zi(!1),t=e[0];return e=Wi.bind(null,e[1]),vi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ai,l=vi();if(lo){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Tu)throw Error(o(349));0!==(30&ii)||Ci(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,ji(_i.bind(null,r,i,e),[e]),r.flags|=2048,Ii(9,Pi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=vi(),t=Tu.identifierPrefix;if(lo){var n=Jl;t=":"+t+"R"+(n=(Xl&~(1<<32-it(Xl)-1)).toString(32)+n),0<(n=di++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ea={readContext:Io,useCallback:Hi,useContext:Io,useEffect:Di,useImperativeHandle:Ui,useInsertionEffect:Mi,useLayoutEffect:Fi,useMemo:Vi,useReducer:xi,useRef:Li,useState:function(){return xi(ki)},useDebugValue:Bi,useDeferredValue:function(e){return $i(bi(),ui.memoizedState,e)},useTransition:function(){return[xi(ki)[0],bi().memoizedState]},useMutableSource:Si,useSyncExternalStore:Ei,useId:qi,unstable_isNewReconciler:!1},ta={readContext:Io,useCallback:Hi,useContext:Io,useEffect:Di,useImperativeHandle:Ui,useInsertionEffect:Mi,useLayoutEffect:Fi,useMemo:Vi,useReducer:wi,useRef:Li,useState:function(){return wi(ki)},useDebugValue:Bi,useDeferredValue:function(e){var t=bi();return null===ui?t.memoizedState=e:$i(t,ui.memoizedState,e)},useTransition:function(){return[wi(ki)[0],bi().memoizedState]},useMutableSource:Si,useSyncExternalStore:Ei,useId:qi,unstable_isNewReconciler:!1};function na(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}function ra(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 la={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=es(),l=ts(e),o=Ao(r,l);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Uo(e,o,l))&&(ns(t,e,l,r),Bo(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=es(),l=ts(e),o=Ao(r,l);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Uo(e,o,l))&&(ns(t,e,l,r),Bo(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=es(),r=ts(e),l=Ao(n,r);l.tag=2,void 0!==t&&null!==t&&(l.callback=t),null!==(t=Uo(e,l,r))&&(ns(t,e,r,n),Bo(t,e,r))}};function oa(e,t,n,r,l,o,i){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(l,o))}function ia(e,t,n){var r=!1,l=_l,o=t.contextType;return"object"===typeof o&&null!==o?o=Io(o):(l=Ll(t)?zl:Nl.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Il(e,l):_l),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=la,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),t}function aa(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&&la.enqueueReplaceState(t,t.state,null)}function ua(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Mo(e);var o=t.contextType;"object"===typeof o&&null!==o?l.context=Io(o):(o=Ll(t)?zl:Nl.current,l.context=Il(e,o)),l.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(ra(e,t,o,n),l.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof l.getSnapshotBeforeUpdate||"function"!==typeof l.UNSAFE_componentWillMount&&"function"!==typeof l.componentWillMount||(t=l.state,"function"===typeof l.componentWillMount&&l.componentWillMount(),"function"===typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),t!==l.state&&la.enqueueReplaceState(l,l.state,null),Vo(e,n,l,r),l.state=e.memoizedState),"function"===typeof l.componentDidMount&&(e.flags|=4194308)}function sa(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var l=n}catch(o){l="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:l,digest:null}}function ca(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fa(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var da="function"===typeof WeakMap?WeakMap:Map;function pa(e,t,n){(n=Ao(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$u||($u=!0,Wu=r),fa(0,t)},n}function ha(e,t,n){(n=Ao(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){fa(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){fa(0,t),"function"!==typeof r&&(null===qu?qu=new Set([this]):qu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ma(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new da;var l=new Set;r.set(t,l)}else void 0===(l=r.get(t))&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Cs.bind(null,e,t,n),t.then(e,e))}function ga(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 ya(e,t,n,r,l){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=Ao(-1,1)).tag=2,Uo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var va=k.ReactCurrentOwner,ba=!1;function ka(e,t,n,r){t.child=null===e?wo(t,null,n,r):xo(t,e.child,n,r)}function xa(e,t,n,r,l){n=n.render;var o=t.ref;return zo(t,l),r=gi(e,t,n,r,o,l),n=yi(),null===e||ba?(lo&&n&&eo(t),t.flags|=1,ka(e,t,r,l),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,$a(e,t,l))}function wa(e,t,n,r,l){if(null===e){var o=n.type;return"function"!==typeof o||Ls(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Rs(n.type,null,r,t,t.mode,l)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Sa(e,t,o,r,l))}if(o=e.child,0===(e.lanes&l)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(i,r)&&e.ref===t.ref)return $a(e,t,l)}return t.flags|=1,(e=Os(o,r)).ref=t.ref,e.return=t,t.child=e}function Sa(e,t,n,r,l){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(ba=!1,t.pendingProps=r=o,0===(e.lanes&l))return t.lanes=e.lanes,$a(e,t,l);0!==(131072&e.flags)&&(ba=!0)}}return Pa(e,t,n,r,l)}function Ea(e,t,n){var r=t.pendingProps,l=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Pl(Ou,Lu),Lu|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Pl(Ou,Lu),Lu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Pl(Ou,Lu),Lu|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Pl(Ou,Lu),Lu|=r;return ka(e,t,l,n),t.child}function Ca(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pa(e,t,n,r,l){var o=Ll(n)?zl:Nl.current;return o=Il(t,o),zo(t,l),n=gi(e,t,n,r,o,l),r=yi(),null===e||ba?(lo&&r&&eo(t),t.flags|=1,ka(e,t,n,l),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,$a(e,t,l))}function _a(e,t,n,r,l){if(Ll(n)){var o=!0;Dl(t)}else o=!1;if(zo(t,l),null===t.stateNode)Va(e,t),ia(t,n,r),ua(t,n,r,l),r=!0;else if(null===e){var i=t.stateNode,a=t.memoizedProps;i.props=a;var u=i.context,s=n.contextType;"object"===typeof s&&null!==s?s=Io(s):s=Il(t,s=Ll(n)?zl:Nl.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof i.getSnapshotBeforeUpdate;f||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(a!==r||u!==s)&&aa(t,i,r,s),Do=!1;var d=t.memoizedState;i.state=d,Vo(t,r,i,l),u=t.memoizedState,a!==r||d!==u||Tl.current||Do?("function"===typeof c&&(ra(t,n,c,r),u=t.memoizedState),(a=Do||oa(t,n,a,r,d,u,s))?(f||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.flags|=4194308)):("function"===typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=a):("function"===typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Fo(e,t),a=t.memoizedProps,s=t.type===t.elementType?a:na(t.type,a),i.props=s,f=t.pendingProps,d=i.context,"object"===typeof(u=n.contextType)&&null!==u?u=Io(u):u=Il(t,u=Ll(n)?zl:Nl.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(a!==f||d!==u)&&aa(t,i,r,u),Do=!1,d=t.memoizedState,i.state=d,Vo(t,r,i,l);var h=t.memoizedState;a!==f||d!==h||Tl.current||Do?("function"===typeof p&&(ra(t,n,p,r),h=t.memoizedState),(s=Do||oa(t,n,s,r,d,h,u)||!1)?(c||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,u),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,u)),"function"===typeof i.componentDidUpdate&&(t.flags|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof i.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=u,r=s):("function"!==typeof i.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Na(e,t,n,r,o,l)}function Na(e,t,n,r,l,o){Ca(e,t);var i=0!==(128&t.flags);if(!r&&!i)return l&&Ml(t,n,!1),$a(e,t,o);r=t.stateNode,va.current=t;var a=i&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=xo(t,e.child,null,o),t.child=xo(t,null,a,o)):ka(e,t,a,o),t.memoizedState=r.state,l&&Ml(t,n,!0),t.child}function Ta(e){var t=e.stateNode;t.pendingContext?Rl(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Rl(0,t.context,!1),Xo(e,t.containerInfo)}function za(e,t,n,r,l){return ho(),mo(l),t.flags|=256,ka(e,t,n,r),t.child}var Ia,La,Oa,Ra,ja={dehydrated:null,treeContext:null,retryLane:0};function Da(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ma(e,t,n){var r,l=t.pendingProps,i=ei.current,a=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Pl(ei,1&i),null===e)return so(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):(u=l.children,e=l.fallback,a?(l=t.mode,a=t.child,u={mode:"hidden",children:u},0===(1&l)&&null!==a?(a.childLanes=0,a.pendingProps=u):a=Ds(u,l,0,null),e=js(e,l,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Da(n),t.memoizedState=ja,e):Fa(t,u));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,l,i,a){if(n)return 256&t.flags?(t.flags&=-257,Aa(e,t,a,r=ca(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=Ds({mode:"visible",children:r.children},l,0,null),(i=js(i,l,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!==(1&t.mode)&&xo(t,e.child,null,a),t.child.memoizedState=Da(a),t.memoizedState=ja,i);if(0===(1&t.mode))return Aa(e,t,a,null);if("$!"===l.data){if(r=l.nextSibling&&l.nextSibling.dataset)var u=r.dgst;return r=u,Aa(e,t,a,r=ca(i=Error(o(419)),r,void 0))}if(u=0!==(a&e.childLanes),ba||u){if(null!==(r=Tu)){switch(a&-a){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}0!==(l=0!==(l&(r.suspendedLanes|a))?0:l)&&l!==i.retryLane&&(i.retryLane=l,jo(e,l),ns(r,e,l,-1))}return ms(),Aa(e,t,a,r=ca(Error(o(421))))}return"$?"===l.data?(t.flags|=128,t.child=e.child,t=_s.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,ro=sl(l.nextSibling),no=t,lo=!0,oo=null,null!==e&&(Ql[Kl++]=Xl,Ql[Kl++]=Jl,Ql[Kl++]=Yl,Xl=e.id,Jl=e.overflow,Yl=t),t=Fa(t,r.children),t.flags|=4096,t)}(e,t,u,l,r,i,n);if(a){a=l.fallback,u=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:l.children};return 0===(1&u)&&t.child!==i?((l=t.child).childLanes=0,l.pendingProps=s,t.deletions=null):(l=Os(i,s)).subtreeFlags=14680064&i.subtreeFlags,null!==r?a=Os(r,a):(a=js(a,u,n,null)).flags|=2,a.return=t,l.return=t,l.sibling=a,t.child=l,l=a,a=t.child,u=null===(u=e.child.memoizedState)?Da(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},a.memoizedState=u,a.childLanes=e.childLanes&~n,t.memoizedState=ja,l}return e=(a=e.child).sibling,l=Os(a,{mode:"visible",children:l.children}),0===(1&t.mode)&&(l.lanes=n),l.return=t,l.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=l,t.memoizedState=null,l}function Fa(e,t){return(t=Ds({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Aa(e,t,n,r){return null!==r&&mo(r),xo(t,e.child,null,n),(e=Fa(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ua(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),To(e.return,t,n)}function Ba(e,t,n,r,l){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l)}function Ha(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(ka(e,t,r.children,n),0!==(2&(r=ei.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&&Ua(e,n,t);else if(19===e.tag)Ua(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(Pl(ei,r),0===(1&t.mode))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;null!==n;)null!==(e=n.alternate)&&null===ti(e)&&(l=n),n=n.sibling;null===(n=l)?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Ba(t,!1,l,n,o);break;case"backwards":for(n=null,l=t.child,t.child=null;null!==l;){if(null!==(e=l.alternate)&&null===ti(e)){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Ba(t,!0,n,null,o);break;case"together":Ba(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Va(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $a(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Du|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Os(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Os(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wa(e,t){if(!lo)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 qa(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;null!==l;)n|=l.lanes|l.childLanes,r|=14680064&l.subtreeFlags,r|=14680064&l.flags,l.return=e,l=l.sibling;else for(l=e.child;null!==l;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Qa(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qa(t),null;case 1:case 17:return Ll(t.type)&&Ol(),qa(t),null;case 3:return r=t.stateNode,Jo(),Cl(Tl),Cl(Nl),ri(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(is(oo),oo=null))),La(e,t),qa(t),null;case 5:Go(t);var l=Yo(Ko.current);if(n=t.type,null!==e&&null!=t.stateNode)Oa(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return qa(t),null}if(e=Yo(qo.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[dl]=t,r[pl]=i,e=0!==(1&t.mode),n){case"dialog":Ar("cancel",r),Ar("close",r);break;case"iframe":case"object":case"embed":Ar("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[dl]=t,e[pl]=r,Ia(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Ar("cancel",e),Ar("close",e),l=r;break;case"iframe":case"object":case"embed":Ar("load",e),l=r;break;case"video":case"audio":for(l=0;lHu&&(t.flags|=128,r=!0,Wa(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ti(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wa(i,!0),null===i.tail&&"hidden"===i.tailMode&&!u.alternate&&!lo)return qa(t),null}else 2*Je()-i.renderingStartTime>Hu&&1073741824!==n&&(t.flags|=128,r=!0,Wa(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=i.last)?n.sibling=u:t.child=u,i.last=u)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Je(),t.sibling=null,n=ei.current,Pl(ei,r?1&n|2:1&n),t):(qa(t),null);case 22:case 23:return fs(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Lu)&&(qa(t),6&t.subtreeFlags&&(t.flags|=8192)):qa(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ka(e,t){switch(to(t),t.tag){case 1:return Ll(t.type)&&Ol(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Jo(),Cl(Tl),Cl(Nl),ri(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Go(t),null;case 13:if(Cl(ei),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Cl(ei),null;case 4:return Jo(),null;case 10:return No(t.type._context),null;case 22:case 23:return fs(),null;default:return null}}Ia=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}},La=function(){},Oa=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Yo(qo.current);var o,i=null;switch(n){case"input":l=Y(e,l),r=Y(e,r),i=[];break;case"select":l=M({},l,{value:void 0}),r=M({},r,{value:void 0}),i=[];break;case"textarea":l=re(e,l),r=re(e,r),i=[];break;default:"function"!==typeof l.onClick&&"function"===typeof r.onClick&&(e.onclick=Gr)}for(c in ve(n,r),n=null,l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&null!=l[c])if("style"===c){var u=l[c];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(a.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=l?l[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(o in u)!u.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&u[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(i||(i=[]),i.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(i=i||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(i=i||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(a.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Ar("scroll",e),i||u===s||(i=[])):(i=i||[]).push(c,s))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Ra=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ya=!1,Xa=!1,Ja="function"===typeof WeakSet?WeakSet:Set,Za=null;function Ga(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Es(e,t,r)}else n.current=null}function eu(e,t,n){try{n()}catch(r){Es(e,t,r)}}var tu=!1;function nu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,void 0!==o&&eu(t,n,o)}l=l.next}while(l!==r)}}function ru(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 lu(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 ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[dl],delete t[pl],delete t[ml],delete t[gl],delete t[yl])),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 iu(e){return 5===e.tag||3===e.tag||4===e.tag}function au(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iu(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 uu(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=Gr));else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}function su(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(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}var cu=null,fu=!1;function du(e,t,n){for(n=n.child;null!==n;)pu(e,t,n),n=n.sibling}function pu(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(lt,n)}catch(a){}switch(n.tag){case 5:Xa||Ga(n,t);case 6:var r=cu,l=fu;cu=null,du(e,t,n),fu=l,null!==(cu=r)&&(fu?(e=cu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cu.removeChild(n.stateNode));break;case 18:null!==cu&&(fu?(e=cu,n=n.stateNode,8===e.nodeType?ul(e.parentNode,n):1===e.nodeType&&ul(e,n),Ht(e)):ul(cu,n.stateNode));break;case 4:r=cu,l=fu,cu=n.stateNode.containerInfo,fu=!0,du(e,t,n),cu=r,fu=l;break;case 0:case 11:case 14:case 15:if(!Xa&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,void 0!==i&&(0!==(2&o)||0!==(4&o))&&eu(n,t,i),l=l.next}while(l!==r)}du(e,t,n);break;case 1:if(!Xa&&(Ga(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Es(n,t,a)}du(e,t,n);break;case 21:du(e,t,n);break;case 22:1&n.mode?(Xa=(r=Xa)||null!==n.memoizedState,du(e,t,n),Xa=r):du(e,t,n);break;default:du(e,t,n)}}function hu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ja),t.forEach((function(t){var r=Ns.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function mu(e,t){var n=t.deletions;if(null!==n)for(var r=0;rl&&(l=a),r&=~i}if(r=l,10<(r=(120>(r=Je()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Eu(r/1960))-r)){e.timeoutHandle=rl(xs.bind(null,e,Uu,Vu),r);break}xs(e,Uu,Vu);break;default:throw Error(o(329))}}}return rs(e,Je()),e.callbackNode===n?ls.bind(null,e):null}function os(e,t){var n=Au;return e.current.memoizedState.isDehydrated&&(ds(e,t).flags|=256),2!==(e=gs(e,t))&&(t=Uu,Uu=n,null!==t&&is(t)),e}function is(e){null===Uu?Uu=e:Uu.push.apply(Uu,e)}function as(e,t){for(t&=~Fu,t&=~Mu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===Ku)var r=!1;else{if(e=Ku,Ku=null,Yu=0,0!==(6&Nu))throw Error(o(331));var l=Nu;for(Nu|=4,Za=e.current;null!==Za;){var i=Za,a=i.child;if(0!==(16&Za.flags)){var u=i.deletions;if(null!==u){for(var s=0;sJe()-Bu?ds(e,0):Fu|=n),rs(e,t)}function Ps(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=es();null!==(e=jo(e,t))&&(yt(e,t,n),rs(e,n))}function _s(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ps(e,n)}function Ns(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Ps(e,n)}function Ts(e,t){return Qe(e,t)}function zs(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 Is(e,t,n,r){return new zs(e,t,n,r)}function Ls(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Os(e,t){var n=e.alternate;return null===n?((n=Is(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 Rs(e,t,n,r,l,i){var a=2;if(r=e,"function"===typeof e)Ls(e)&&(a=1);else if("string"===typeof e)a=5;else e:switch(e){case S:return js(n.children,l,i,t);case E:a=8,l|=8;break;case C:return(e=Is(12,n,t,2|l)).elementType=C,e.lanes=i,e;case T:return(e=Is(13,n,t,l)).elementType=T,e.lanes=i,e;case z:return(e=Is(19,n,t,l)).elementType=z,e.lanes=i,e;case O:return Ds(n,l,i,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case P:a=10;break e;case _:a=9;break e;case N:a=11;break e;case I:a=14;break e;case L:a=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Is(a,n,t,l)).elementType=e,t.type=r,t.lanes=i,t}function js(e,t,n,r){return(e=Is(7,e,r,t)).lanes=n,e}function Ds(e,t,n,r){return(e=Is(22,e,r,t)).elementType=O,e.lanes=n,e.stateNode={isHidden:!1},e}function Ms(e,t,n){return(e=Is(6,e,null,t)).lanes=n,e}function Fs(e,t,n){return(t=Is(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function As(e,t,n,r,l){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=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Us(e,t,n,r,l,o,i,a,u){return e=new As(e,t,n,a,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Is(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mo(o),e}function Bs(e){if(!e)return _l;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ll(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ll(n))return jl(e,n,t)}return t}function Hs(e,t,n,r,l,o,i,a,u){return(e=Us(n,r,!0,e,0,o,0,a,u)).context=Bs(null),n=e.current,(o=Ao(r=es(),l=ts(n))).callback=void 0!==t&&null!==t?t:null,Uo(n,o,l),e.current.lanes=l,yt(e,l,r),rs(e,r),e}function Vs(e,t,n,r){var l=t.current,o=es(),i=ts(l);return n=Bs(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ao(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Uo(l,t,i))&&(ns(e,l,i,o),Bo(e,l,i)),i}function $s(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ws(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n{"use strict";var r=n(950);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},950:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(730)},153:(e,t,n)=>{"use strict";var r=n(43),l=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,o={},s=null,c=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!u.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:l,type:e,key:s,ref:c,props:o,_owner:a.current}}t.Fragment=o,t.jsx=s,t.jsxs=s},202:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,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")},v.prototype=y.prototype;var k=b.prototype=new v;k.constructor=b,m(k,y.prototype),k.isPureReactComponent=!0;var x=Array.isArray,w=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var l,o={},i=null,a=null;if(null!=t)for(l in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,l)&&!E.hasOwnProperty(l)&&(o[l]=t[l]);var u=arguments.length-2;if(1===u)o.children=r;else if(1{"use strict";e.exports=n(202)},579:(e,t,n)=>{"use strict";e.exports=n(153)},234:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0>>1,l=e[r];if(!(0>>1;ro(u,n))so(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[a]=n,r=a);else{if(!(so(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function o(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 i=performance;t.unstable_now=function(){return i.now()}}else{var a=Date,u=a.now();t.unstable_now=function(){return a.now()-u}}var s=[],c=[],f=1,d=null,p=3,h=!1,m=!1,g=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function k(e){for(var t=r(c);null!==t;){if(null===t.callback)l(c);else{if(!(t.startTime<=e))break;l(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function x(e){if(g=!1,k(e),!m)if(null!==r(s))m=!0,O(w);else{var t=r(c);null!==t&&R(x,t.startTime-e)}}function w(e,n){m=!1,g&&(g=!1,v(P),P=-1),h=!0;var o=p;try{for(k(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!T());){var i=d.callback;if("function"===typeof i){d.callback=null,p=d.priorityLevel;var a=i(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof a?d.callback=a:d===r(s)&&l(s),k(n)}else l(s);d=r(s)}if(null!==d)var u=!0;else{var f=r(c);null!==f&&R(x,f.startTime-n),u=!1}return u}finally{d=null,p=o,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,C=null,P=-1,_=5,N=-1;function T(){return!(t.unstable_now()-N<_)}function z(){if(null!==C){var e=t.unstable_now();N=e;var n=!0;try{n=C(!0,e)}finally{n?S():(E=!1,C=null)}}else E=!1}if("function"===typeof b)S=function(){b(z)};else if("undefined"!==typeof MessageChannel){var I=new MessageChannel,L=I.port2;I.port1.onmessage=z,S=function(){L.postMessage(null)}}else S=function(){y(z,0)};function O(e){C=e,E||(E=!0,S())}function R(e,n){P=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,O(w))},t.unstable_forceFrameRate=function(e){0>e||125i?(e.sortIndex=o,n(c,e),null===r(s)&&e===r(c)&&(g?(v(P),P=-1):g=!0,R(x,o-i))):(e.sortIndex=a,n(s,e),m||h||(m=!0,O(w))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},853:(e,t,n)=>{"use strict";e.exports=n(234)},222:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!==typeof e)return n;var r=(0,l.default)(e),o="function"===typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,l=e.value;o?t(r,l,e):l&&((n=n||{})[r]=l)}})),n};var l=r(n(403))}},t={};function n(r){var l=t[r];if(void 0!==l)return l.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,l){if(1&l&&(r=this(r)),8&l)return r;if("object"===typeof r&&r){if(4&l&&r.__esModule)return r;if(16&l&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&l&&r;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,n.d(o,i),o}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",(()=>{"use strict";var e={};n.r(e),n.d(e,{boolean:()=>Je,booleanish:()=>Ze,commaOrSpaceSeparated:()=>rt,commaSeparated:()=>nt,number:()=>et,overloadedBoolean:()=>Ge,spaceSeparated:()=>tt});var t={};n.r(t),n.d(t,{attentionMarkers:()=>Mr,contentInitial:()=>Ir,disable:()=>Fr,document:()=>zr,flow:()=>Or,flowInitial:()=>Lr,insideSpan:()=>Dr,string:()=>Rr,text:()=>jr});var r,l=n(43),o=n.t(l,2),i=n(391),a=n(950),u=n.t(a,2);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function y(e,t,n,l){void 0===l&&(l={});let{window:o=document.defaultView,v5Compat:i=!1}=l,a=o.history,u=r.Pop,d=null,g=y();function y(){return(a.state||{idx:null}).idx}function v(){u=r.Pop;let e=y(),t=null==e?null:e-g;g=e,d&&d({action:u,location:k.location,delta:t})}function b(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,n="string"===typeof e?e:m(e);return n=n.replace(/ $/,"%20"),f(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,a.replaceState(s({},a.state,{idx:g}),""));let k={get action(){return u},get location(){return e(o,a)},listen(e){if(d)throw new Error("A history only accepts one active listener");return o.addEventListener(c,v),d=e,()=>{o.removeEventListener(c,v),d=null}},createHref:e=>t(o,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){u=r.Push;let l=h(k.location,e,t);n&&n(l,e),g=y()+1;let s=p(l,g),c=k.createHref(l);try{a.pushState(s,"",c)}catch(f){if(f instanceof DOMException&&"DataCloneError"===f.name)throw f;o.location.assign(c)}i&&d&&d({action:u,location:k.location,delta:1})},replace:function(e,t){u=r.Replace;let l=h(k.location,e,t);n&&n(l,e),g=y();let o=p(l,g),s=k.createHref(l);a.replaceState(o,"",s),i&&d&&d({action:u,location:k.location,delta:0})},go:e=>a.go(e)};return k}var v;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(v||(v={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function b(e,t,n){return void 0===n&&(n="/"),k(e,t,n,!1)}function k(e,t,n,r){let l=R(("string"===typeof t?g(t):t).pathname||"/",n);if(null==l)return null;let o=x(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let i=null;for(let a=0;null==i&&a{let i={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:l,route:e};i.relativePath.startsWith("/")&&(f(i.relativePath.startsWith(r),'Absolute route path "'+i.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(r.length));let a=j([r,i.relativePath]),u=n.concat(i);e.children&&e.children.length>0&&(f(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+a+'".'),x(e.children,t,u,a)),(null!=e.path||e.index)&&t.push({path:a,score:z(a,e.index),routesMeta:u})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of w(e.path))l(e,t,r);else l(e,t)})),t}function w(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return l?[o,""]:[o];let i=w(r.join("/")),a=[];return a.push(...i.map((e=>""===e?o:[o,e].join("/")))),l&&a.push(...i),a.map((t=>e.startsWith("/")&&""===t?"/":t))}const S=/^:[\w-]+$/,E=3,C=2,P=1,_=10,N=-2,T=e=>"*"===e;function z(e,t){let n=e.split("/"),r=n.length;return n.some(T)&&(r+=N),t&&(r+=C),n.filter((e=>!T(e))).reduce(((e,t)=>e+(S.test(t)?E:""===t?P:_)),r)}function I(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,l={},o="/",i=[];for(let a=0;a(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),l+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":""!==e&&"/"!==e&&(l+="(?:(?=\\/|$))");let o=new RegExp(l,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),l=t.match(n);if(!l)return null;let o=l[0],i=o.replace(/(.)\/+$/,"$1"),a=l.slice(1),u=r.reduce(((e,t,n)=>{let{paramName:r,isOptional:l}=t;if("*"===r){let e=a[n]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const u=a[n];return e[r]=l&&!u?void 0:(u||"").replace(/%2F/g,"/"),e}),{});return{params:u,pathname:o,pathnameBase:i,pattern:e}}function O(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return d(!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 R(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}const j=e=>e.join("/").replace(/\/\/+/g,"/"),D=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");Error;function M(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const F=["post","put","patch","delete"],A=(new Set(F),["get",...F]);new Set(A),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},e,{params:Object.assign({},s,e.params),pathname:j([c,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:j([c,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),a,n,o);return t&&k?l.createElement($.Provider,{value:{location:U({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:r.Pop}},k):k}function X(){let e=function(){var e;let t=l.useContext(q),n=ne(te.UseRouteError),r=re(te.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=M(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r};return l.createElement(l.Fragment,null,l.createElement("h2",null,"Unexpected Application Error!"),l.createElement("h3",{style:{fontStyle:"italic"}},t),n?l.createElement("pre",{style:o},n):null,null)}const J=l.createElement(X,null);class Z extends l.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?l.createElement(W.Provider,{value:this.props.routeContext},l.createElement(q.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function G(e){let{routeContext:t,match:n,children:r}=e,o=l.useContext(B);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),l.createElement(W.Provider,{value:t},r)}function ee(e,t,n,r){var o;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===r&&(r=null),null==e){var i;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(i=r)&&i.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let a=e,u=null==(o=n)?void 0:o.errors;if(null!=u){let e=a.findIndex((e=>e.route.id&&void 0!==(null==u?void 0:u[e.route.id])));e>=0||f(!1),a=a.slice(0,Math.min(a.length,e+1))}let s=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let l=0;l=0?a.slice(0,c+1):[a[0]];break}}}return a.reduceRight(((e,r,o)=>{let i,f=!1,d=null,p=null;var h;n&&(i=u&&r.route.id?u[r.route.id]:void 0,d=r.route.errorElement||J,s&&(c<0&&0===o?(h="route-fallback",!1||le[h]||(le[h]=!0),f=!0,p=null):c===o&&(f=!0,p=r.route.hydrateFallbackElement||null)));let m=t.concat(a.slice(0,o+1)),g=()=>{let t;return t=i?d:f?p:r.route.Component?l.createElement(r.route.Component,null):r.route.element?r.route.element:e,l.createElement(G,{match:r,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?l.createElement(Z,{location:n.location,revalidation:n.revalidation,component:d,error:i,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()}),null)}var te=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(te||{});function ne(e){let t=l.useContext(H);return t||f(!1),t}function re(e){let t=function(){let e=l.useContext(W);return e||f(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||f(!1),n.route.id}const le={};o.startTransition;function oe(e){f(!1)}function ie(e){let{basename:t="/",children:n=null,location:o,navigationType:i=r.Pop,navigator:a,static:u=!1,future:s}=e;Q()&&f(!1);let c=t.replace(/^\/*/,"/"),d=l.useMemo((()=>({basename:c,navigator:a,static:u,future:U({v7_relativeSplatPath:!1},s)})),[c,s,a,u]);"string"===typeof o&&(o=g(o));let{pathname:p="/",search:h="",hash:m="",state:y=null,key:v="default"}=o,b=l.useMemo((()=>{let e=R(p,c);return null==e?null:{location:{pathname:e,search:h,hash:m,state:y,key:v},navigationType:i}}),[c,p,h,m,y,v,i]);return null==b?null:l.createElement(V.Provider,{value:d},l.createElement($.Provider,{children:n,value:b}))}function ae(e){let{children:t,location:n}=e;return Y(ue(t),n)}new Promise((()=>{}));l.Component;function ue(e,t){void 0===t&&(t=[]);let n=[];return l.Children.forEach(e,((e,r)=>{if(!l.isValidElement(e))return;let o=[...t,r];if(e.type===l.Fragment)return void n.push.apply(n,ue(e.props.children,o));e.type!==oe&&f(!1),e.props.index&&e.props.children&&f(!1);let i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=ue(e.props.children,o)),n.push(i)})),n}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(go){}new Map;const se=o.startTransition;u.flushSync,o.useId;function ce(e){let{basename:t,children:n,future:r,window:o}=e,i=l.useRef();var a;null==i.current&&(i.current=(void 0===(a={window:o,v5Compat:!0})&&(a={}),y((function(e,t){let{pathname:n,search:r,hash:l}=e.location;return h("",{pathname:n,search:r,hash:l},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:m(t)}),null,a)));let u=i.current,[s,c]=l.useState({action:u.action,location:u.location}),{v7_startTransition:f}=r||{},d=l.useCallback((e=>{f&&se?se((()=>c(e))):c(e)}),[c,f]);return l.useLayoutEffect((()=>u.listen(d)),[u,d]),l.createElement(ie,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:u,future:r})}"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var fe,de;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(fe||(fe={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(de||(de={}));const pe=n.p+"static/media/IconTitle.8c1197cb53cdb26ecdd7df17ac1107b5.svg";const he=n.p+"static/media/avatar.e6a82bfc54b2a0b85cec8ec36a4db6d0.svg",me={username:"",password:""},ge={username:"Anonymous",firstname:"\u0413\u043e\u0441\u0442\u044c",lastName:"",isAuthenticated:!1},ye=!1,ve=ye?"http://localhost:8000":"";let be=ge;async function ke(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{const n=await fetch(ve+e,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});return n.ok?(console.log(n),await n.json()):(console.error("Error fetching:","Network response was not ok"),null)}catch(n){return console.error("Error fetching:",n),null}}async function xe(){const e=await ke("/users/logout/");null!==e&&(be=e,window.location.reload())}const we="store",Se={store:"game",vacancy:"developer"};function Ee(){let{page:e,subpage:t}=function(){let{matches:e}=l.useContext(W),t=e[e.length-1];return t?t.params:{}}();e||(e=we);let n="";return t?n=t:"store"===e?n=Se.store:"vacancy"===e&&(n=Se.vacancy),{page:e,subpage:n}}function Ce(){const[e,t]=(0,l.useState)(null);(0,l.useEffect)((()=>{null===e&&async function(){const e=await ke("/users/get-me/");if(null!==e){const t=e;return be=t,t.isAuthenticated&&ye&&t.avatar&&(t.avatar=ve+t.avatar),t}return ge}().then((e=>{null!==e&&t(e)}))}),[e])}function Pe(){let{page:e,subpage:t}=Ee();const[n,r]=(0,l.useState)(null);return(0,l.useEffect)((()=>{null===n&&async function(e,t){const n=await ke(["/api/get-collection",e,t].join("/"));if(null!==n){const e=n;for(let t=0;t{null!==e&&r(e)}))}),[n,e,t]),{items:n,collection:t}}function _e(){let{page:e,subpage:t}=Ee();const[n,r]=(0,l.useState)(null);return(0,l.useEffect)((()=>{null===n&&async function(e,t){const n=await ke(["/api/get-item",e,t].join("/"));if(null!==n){const e=n;return e.image=ve+e.image,e}return null}(e,t||"").then((e=>{null!==e&&r(e)}))}),[n,e,t]),n}var Ne=n(744),Te=n.n(Ne),ze=n(579);function Ie(){return(0,ze.jsxs)("div",{children:[(0,ze.jsx)("script",{src:"https://unpkg.com/@vkid/sdk@<3.0.0/dist-sdk/umd/index.js"}),(0,ze.jsx)("script",{src:Te()})]})}function Le(){const[e,t]=(0,l.useState)(!0),[n,r]=(0,l.useState)(me);const o=e=>{const{name:t,value:l,type:o,checked:i}=e.target;r({...n,[t]:"checkbox"===o?i:l})};function i(){return n.password.length>8}return(0,ze.jsxs)("div",{className:"login-from-menu vertical-box",children:[(0,ze.jsx)("button",{onClick:function(){t(!e)},children:e?"\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f":"\u0412\u043e\u0439\u0442\u0438"}),(0,ze.jsx)("br",{}),(0,ze.jsx)("label",{htmlFor:"login",children:"\u0418\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f"}),(0,ze.jsx)("input",{id:"login",type:"text",name:"username",autoFocus:!0,autoComplete:e?"username":void 0,maxLength:40,required:!0,onChange:o}),(0,ze.jsx)("label",{htmlFor:"password",children:"\u041f\u0430\u0440\u043e\u043b\u044c"}),(0,ze.jsx)("input",{id:"password",type:"password",name:"password",autoComplete:e?"current-password":"new-password",required:!0,onChange:o}),e&&(0,ze.jsxs)("div",{children:[(0,ze.jsx)("label",{htmlFor:"password2",children:"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u0430\u0440\u043e\u043b\u044f"}),(0,ze.jsx)("input",{id:"password2",type:"password",name:"password2",autoComplete:"new-password",required:!0,onChange:o})]}),(0,ze.jsx)("input",{type:"submit",onClick:async function(){i()&&await async function(e){const t=await ke("/users/login/",e);return null!==t&&(be=t,be.isAuthenticated&&ye&&be.avatar&&(be.avatar=ve+be.avatar),window.location.reload()),null}(n)},value:"\u0412\u043e\u0439\u0442\u0438"}),(0,ze.jsx)(Ie,{})]})}function Oe(){let{page:e,subpage:t}=Ee();const[n,r]=(0,l.useState)(!1),o=()=>{r(!n)};Ce();const i="store"===e?(0,ze.jsxs)("div",{className:"horizontal-box navigation",children:[(0,ze.jsx)("a",{href:"/store/game",className:"primary small"+("game"===t?" selected":""),children:"\u0418\u0433\u0440\u044b"}),(0,ze.jsx)("a",{href:"/store/sprite",className:"primary small"+("sprite"===t?" selected":""),children:"\u0421\u043f\u0440\u0430\u0439\u0442\u044b"})]}):"vacancy"===e?(0,ze.jsxs)("div",{className:"horizontal-box navigation",children:[(0,ze.jsx)("a",{href:"/vacancy/developer",className:"primary small"+("developer"===t?" selected":""),children:"\u0418\u0449\u0443 \u0440\u0430\u0431\u043e\u0442\u043d\u0438\u043a\u0430"}),(0,ze.jsx)("a",{href:"/vacancy/project",className:"primary small"+("project"===t?" selected":""),children:"\u0418\u0449\u0443 \u043f\u0440\u043e\u0435\u043a\u0442"})]}):null;return(0,ze.jsxs)("header",{className:"header",children:[(0,ze.jsxs)("div",{className:"content-box stretched-box align-center",children:[(0,ze.jsxs)("div",{className:"align-center upper-menu",children:[(0,ze.jsx)("img",{className:"icon",alt:"icon",src:pe||""}),(0,ze.jsxs)("div",{className:"horizontal-box navigation",children:[(0,ze.jsx)("a",{href:"/store",className:"primary small"+("store"===e?" selected":""),children:"\u0418\u0433\u0440\u044b \u0438 \u0430\u0441\u0441\u0435\u0442\u044b"}),(0,ze.jsx)("a",{href:"/vacancy",className:"primary small"+("vacancy"===e?" selected":""),children:"\u0412\u0430\u043a\u0430\u043d\u0441\u0438\u0438"})]})]}),(0,ze.jsxs)("div",{className:"dropdown-menu",children:[(0,ze.jsx)("button",{className:"menu-button",onClick:o,children:(0,ze.jsx)("img",{className:"avatar",alt:"Avatar",src:(null===be||void 0===be?void 0:be.avatar)||he||""})}),n&&(0,ze.jsx)("div",{className:"menu-click-area",children:(0,ze.jsxs)("div",{className:"vertical-box align-end",children:[(0,ze.jsx)("div",{className:"avatar",onClick:o}),(0,ze.jsxs)("div",{className:"menu-content",children:[be.isAdmin&&(0,ze.jsx)("a",{href:"/admin/",children:"\u0410\u0434\u043c\u0438\u043d \u0447\u0430\u0441\u0442\u044c"}),null!==be&&void 0!==be&&be.isAuthenticated?(0,ze.jsx)("button",{onClick:xe,children:"\u0412\u044b\u0439\u0442\u0438"}):(0,ze.jsx)(Le,{})]})]})})]})]}),i?(0,ze.jsx)("div",{className:"content-box align-end bottom-menu vertical-box",children:i}):null]})}function Re(e){let{item:t,collection:n}=e;return(0,ze.jsx)("a",{href:"/"+n+"/"+t.id,className:"card",style:{backgroundImage:"url("+t.preview+")"},children:(0,ze.jsx)("div",{className:"horizontal-box align-end",children:(0,ze.jsx)("div",{className:"body-text",children:t.title})})})}function je(){const{items:e,collection:t}=Pe();return(0,ze.jsx)("div",{className:"store section",children:e?e.length>0?e.map((e=>(0,ze.jsx)(Re,{item:e,collection:t},e.id))):"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e":"\u0418\u0434\u0451\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430..."})}function De(){return(0,ze.jsxs)("div",{className:"section content-box body-text",children:[(0,ze.jsx)("h1",{children:"\u041e \u043f\u0440\u043e\u0435\u043a\u0442\u0435"}),"NovelPlus \u2013 \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u0438\u0433\u0440\u043e\u043a\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u0439\u0442\u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043d\u043e\u0432\u0435\u043b\u043b\u044b \u0441\u0435\u0431\u0435 \u043f\u043e \u0432\u043a\u0443\u0441\u0443, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043e\u0442 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0441\u0442\u0443\u0434\u0438\u0439.",(0,ze.jsx)("br",{}),"\u042d\u0442\u043e \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u043e\u0442\u044b\u0441\u043a\u0430\u0442\u044c \u0442\u0430\u043b\u0430\u043d\u0442\u043b\u0438\u0432\u044b\u0445 \u043b\u044e\u0434\u0435\u0439 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438 \u0432\u043c\u0435\u0441\u0442\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u0435\u043b\u043b\u044b.",(0,ze.jsx)("br",{}),"\u0410 \u0442\u0430\u043a\u0436\u0435 \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u043b\u044e\u0434\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0430\u0441\u0441\u0435\u0442\u044b: \u0441\u043f\u0440\u0430\u0439\u0442\u044b, \u0444\u043e\u043d\u044b, \u043c\u0443\u0437\u044b\u043a\u0443, \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0438 \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435.",(0,ze.jsx)("br",{}),(0,ze.jsx)("br",{}),(0,ze.jsx)("h2",{children:"\u041f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u043e\u0435\u043a\u0442\u0443"}),"\u041d\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u0437\u0430\u0434\u0443\u043c\u0430\u043d\u043d\u043e\u0435 \u0432 \u043f\u043e\u043b\u043d\u043e\u0439 \u043c\u0435\u0440\u0435, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u0430 \u0432\u0430\u0448\u0430 \u043f\u043e\u043c\u043e\u0449\u044c!",(0,ze.jsx)("br",{}),"\u0421\u0435\u0439\u0447\u0430\u0441 \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0442\u0430\u0434\u0438\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0441\u0442\u0430\u0440\u0430\u0435\u043c\u0441\u044f \u043f\u0440\u0438\u0432\u043b\u0435\u0447\u044c \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u0440\u0435\u0430\u0442\u043e\u0440\u043e\u0432. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043d\u0443\u0436\u0434\u0430\u0435\u043c\u0441\u044f \u0432 \u043b\u044e\u0431\u043e\u0439 \u043f\u043e\u043c\u043e\u0449\u0438!",(0,ze.jsx)("br",{}),"\u041c\u044b \u0438\u0449\u0435\u043c:",(0,ze.jsxs)("ul",{children:[(0,ze.jsx)("li",{children:"\u0414\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u043e\u0432 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u0430;"}),(0,ze.jsx)("li",{children:"\u0424\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u0443\u044e \u043f\u043e\u043c\u043e\u0449\u044c \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0441\u0430\u0439\u0442\u0430 \u0438 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430;"}),(0,ze.jsx)("li",{children:"\u0418\u0433\u0440\u044b \u0438 \u0430\u0441\u0441\u0435\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u0430\u0439\u0442;"}),(0,ze.jsx)("li",{children:"\u0412\u0430\u0448\u0438 \u0438\u0434\u0435\u0438 \u0438 \u043a\u0440\u0438\u0442\u0438\u043a\u0443: \u0447\u0435\u0433\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0434\u043b\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430."})]}),(0,ze.jsx)("h2",{children:"\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b:"}),"\u0414\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430 \u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a:",(0,ze.jsx)("ul",{children:(0,ze.jsx)("li",{children:"\u041f\u043e\u0447\u0442\u0430 - support@novelplus.ru;"})}),(0,ze.jsxs)("div",{className:"vertical-box align-left button-list",children:[(0,ze.jsx)("a",{href:"https://vk.com/novelplus",target:"_blank",rel:"noreferrer",className:"primary medium",children:"\u041d\u0430\u0448\u0430 \u0433\u0440\u0443\u043f\u043f\u0430 \u0412\u041a"}),(0,ze.jsx)("a",{href:"https://t.me/NovelPlusNews",target:"_blank",rel:"noreferrer",className:"primary medium",children:"\u041d\u0430\u0448 \u043a\u0430\u043d\u0430\u043b Telegram"}),(0,ze.jsx)("a",{href:"https://www.tinkoff.ru/cf/7hqDRjNZvBR",target:"_blank",rel:"noreferrer",className:"primary medium",children:"\u0421\u0431\u043e\u0440 \u0434\u043e\u043d\u0430\u0442\u043e\u0432 (\u0422\u0438\u043d\u044c\u043a\u043e\u0444\u0444)"}),(0,ze.jsx)("a",{href:"https://boosty.to/mikan-ds/donate",target:"_blank",rel:"noreferrer",className:"primary medium",children:"\u0421\u0431\u043e\u0440 \u0434\u043e\u043d\u0430\u0442\u043e\u0432 (Boosty)"})]})]})}function Me(){return(0,ze.jsx)("footer",{className:"footer",children:(0,ze.jsx)("a",{href:"/about",children:"\u041e \u041f\u0420\u041e\u0415\u041a\u0422\u0415"})})}function Fe(e){let{item:t,collection:n}=e;return(0,ze.jsxs)("a",{href:"/"+n+"/"+t.id,className:"mini-card horizontal-box",children:[(0,ze.jsx)("img",{src:t.preview,alt:t.title}),(0,ze.jsxs)("div",{className:"vertical-box fill-width",children:[(0,ze.jsxs)("div",{className:"horizontal-box stretched-box",children:[(0,ze.jsxs)("div",{className:"vertical-box",children:[(0,ze.jsx)("h2",{children:t.title}),(0,ze.jsxs)("div",{children:["\u0421\u0442\u0430\u0442\u0443\u0441: ",t.status]})]}),(0,ze.jsxs)("div",{children:["\u0414\u0430\u0442\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f: ",new Date(t.updateAt).toLocaleString()]})]}),(0,ze.jsx)("div",{children:t.shortDescription})]})]})}function Ae(){const{items:e,collection:t}=Pe();return(0,ze.jsx)("div",{className:"section vacancy content-box body-text vertical-box",children:e?e.length>0?e.map((e=>(0,ze.jsx)(Fe,{item:e,collection:t},e.id))):"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e":"\u0418\u0434\u0451\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430..."})}const Ue=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Be=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,He={};function Ve(e,t){return((t||He).jsx?Be:Ue).test(e)}const $e=/[ \t\n\f\r]/g;function We(e){return""===e.replace($e,"")}class qe{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function Qe(e,t){const n={},r={};let l=-1;for(;++l"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ft=st({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function dt(e,t){return t in e?e[t]:t}function pt(e,t){return dt(e,t.toLowerCase())}const ht=st({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:pt,properties:{xmlns:null,xmlnsXLink:null}}),mt=st({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Ze,ariaAutoComplete:null,ariaBusy:Ze,ariaChecked:Ze,ariaColCount:et,ariaColIndex:et,ariaColSpan:et,ariaControls:tt,ariaCurrent:null,ariaDescribedBy:tt,ariaDetails:null,ariaDisabled:Ze,ariaDropEffect:tt,ariaErrorMessage:null,ariaExpanded:Ze,ariaFlowTo:tt,ariaGrabbed:Ze,ariaHasPopup:null,ariaHidden:Ze,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:tt,ariaLevel:et,ariaLive:null,ariaModal:Ze,ariaMultiLine:Ze,ariaMultiSelectable:Ze,ariaOrientation:null,ariaOwns:tt,ariaPlaceholder:null,ariaPosInSet:et,ariaPressed:Ze,ariaReadOnly:Ze,ariaRelevant:null,ariaRequired:Ze,ariaRoleDescription:tt,ariaRowCount:et,ariaRowIndex:et,ariaRowSpan:et,ariaSelected:Ze,ariaSetSize:et,ariaSort:null,ariaValueMax:et,ariaValueMin:et,ariaValueNow:et,ariaValueText:null,role:null}}),gt=st({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:pt,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nt,acceptCharset:tt,accessKey:tt,action:null,allow:null,allowFullScreen:Je,allowPaymentRequest:Je,allowUserMedia:Je,alt:null,as:null,async:Je,autoCapitalize:null,autoComplete:tt,autoFocus:Je,autoPlay:Je,blocking:tt,capture:null,charSet:null,checked:Je,cite:null,className:tt,cols:et,colSpan:null,content:null,contentEditable:Ze,controls:Je,controlsList:tt,coords:et|nt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Je,defer:Je,dir:null,dirName:null,disabled:Je,download:Ge,draggable:Ze,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Je,formTarget:null,headers:tt,height:et,hidden:Je,high:et,href:null,hrefLang:null,htmlFor:tt,httpEquiv:tt,id:null,imageSizes:null,imageSrcSet:null,inert:Je,inputMode:null,integrity:null,is:null,isMap:Je,itemId:null,itemProp:tt,itemRef:tt,itemScope:Je,itemType:tt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Je,low:et,manifest:null,max:null,maxLength:et,media:null,method:null,min:null,minLength:et,multiple:Je,muted:Je,name:null,nonce:null,noModule:Je,noValidate:Je,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Je,optimum:et,pattern:null,ping:tt,placeholder:null,playsInline:Je,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Je,referrerPolicy:null,rel:tt,required:Je,reversed:Je,rows:et,rowSpan:et,sandbox:tt,scope:null,scoped:Je,seamless:Je,selected:Je,shadowRootClonable:Je,shadowRootDelegatesFocus:Je,shadowRootMode:null,shape:null,size:et,sizes:null,slot:null,span:et,spellCheck:Ze,src:null,srcDoc:null,srcLang:null,srcSet:null,start:et,step:null,style:null,tabIndex:et,target:null,title:null,translate:null,type:null,typeMustMatch:Je,useMap:null,value:Ze,width:et,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:tt,axis:null,background:null,bgColor:null,border:et,borderColor:null,bottomMargin:et,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Je,declare:Je,event:null,face:null,frame:null,frameBorder:null,hSpace:et,leftMargin:et,link:null,longDesc:null,lowSrc:null,marginHeight:et,marginWidth:et,noResize:Je,noHref:Je,noShade:Je,noWrap:Je,object:null,profile:null,prompt:null,rev:null,rightMargin:et,rules:null,scheme:null,scrolling:Ze,standby:null,summary:null,text:null,topMargin:et,valueType:null,version:null,vAlign:null,vLink:null,vSpace:et,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Je,disableRemotePlayback:Je,prefix:null,property:null,results:et,security:null,unselectable:null}}),yt=st({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:dt,properties:{about:rt,accentHeight:et,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:et,amplitude:et,arabicForm:null,ascent:et,attributeName:null,attributeType:null,azimuth:et,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:et,by:null,calcMode:null,capHeight:et,className:tt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:et,diffuseConstant:et,direction:null,display:null,dur:null,divisor:et,dominantBaseline:null,download:Je,dx:null,dy:null,edgeMode:null,editable:null,elevation:et,enableBackground:null,end:null,event:null,exponent:et,externalResourcesRequired:null,fill:null,fillOpacity:et,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:nt,g2:nt,glyphName:nt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:et,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:et,horizOriginX:et,horizOriginY:et,id:null,ideographic:et,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:et,k:et,k1:et,k2:et,k3:et,k4:et,kernelMatrix:rt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:et,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:et,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:et,overlineThickness:et,paintOrder:null,panose1:null,path:null,pathLength:et,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:tt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:et,pointsAtY:et,pointsAtZ:et,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:rt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:rt,rev:rt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:rt,requiredFeatures:rt,requiredFonts:rt,requiredFormats:rt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:et,specularExponent:et,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:et,strikethroughThickness:et,string:null,stroke:null,strokeDashArray:rt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:et,strokeOpacity:et,strokeWidth:null,style:null,surfaceScale:et,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:rt,tabIndex:et,tableValues:null,target:null,targetX:et,targetY:et,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:rt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:et,underlineThickness:et,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:et,values:null,vAlphabetic:et,vMathematical:et,vectorEffect:null,vHanging:et,vIdeographic:et,version:null,vertAdvY:et,vertOriginX:et,vertOriginY:et,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:et,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),vt=Qe([ft,ct,ht,mt,gt],"html"),bt=Qe([ft,ct,ht,mt,yt],"svg"),kt=/^data[-\w.:]+$/i,xt=/-[a-z]/g,wt=/[A-Z]/g;function St(e){return"-"+e.toLowerCase()}function Et(e){return e.charAt(1).toUpperCase()}const Ct={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Pt=n(222);const _t=Pt.default||Pt,Nt=zt("end"),Tt=zt("start");function zt(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"===typeof n.line&&n.line>0&&"number"===typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"===typeof n.offset&&n.offset>-1?n.offset:void 0}}}function It(e){return e&&"object"===typeof e?"position"in e||"type"in e?Ot(e.position):"start"in e||"end"in e?Ot(e):"line"in e||"column"in e?Lt(e):"":""}function Lt(e){return Rt(e&&e.line)+":"+Rt(e&&e.column)}function Ot(e){return Lt(e&&e.start)+"-"+Lt(e&&e.end)}function Rt(e){return e&&"number"===typeof e?e:1}class jt extends Error{constructor(e,t,n){super(),"string"===typeof t&&(n=t,t=void 0);let r="",l={},o=!1;if(t&&(l="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"===typeof e?r=e:!l.cause&&e&&(o=!0,r=e.message,l.cause=e),!l.ruleId&&!l.source&&"string"===typeof n){const e=n.indexOf(":");-1===e?l.ruleId=n:(l.source=n.slice(0,e),l.ruleId=n.slice(e+1))}if(!l.place&&l.ancestors&&l.ancestors){const e=l.ancestors[l.ancestors.length-1];e&&(l.place=e.position)}const i=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=i?i.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=i?i.line:void 0,this.name=It(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=o&&l.cause&&"string"===typeof l.cause.stack?l.cause.stack:"",this.actual,this.expected,this.note,this.url}}jt.prototype.file="",jt.prototype.name="",jt.prototype.reason="",jt.prototype.message="",jt.prototype.stack="",jt.prototype.column=void 0,jt.prototype.line=void 0,jt.prototype.ancestors=void 0,jt.prototype.cause=void 0,jt.prototype.fatal=void 0,jt.prototype.place=void 0,jt.prototype.ruleId=void 0,jt.prototype.source=void 0;const Dt={}.hasOwnProperty,Mt=new Map,Ft=/[A-Z]/g,At=/-([a-z])/g,Ut=new Set(["table","tbody","thead","tfoot","tr"]),Bt=new Set(["td","th"]),Ht="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Vt(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!==typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,l,o){const i=Array.isArray(l.children),a=Tt(n);return t(r,l,o,i,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!==typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!==typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,l,o){const i=Array.isArray(l.children)?n:t;return o?i(r,l,o):i(r,l)}}(0,t.jsx,t.jsxs)}const l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?bt:vt,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},o=$t(l,e,void 0);return o&&"string"!==typeof o?o:l.create(e,l.Fragment,{children:o||void 0},void 0)}function $t(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let l=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(l=bt,e.schema=l);e.ancestors.push(t);const o=Yt(e,t.tagName,!1),i=function(e,t){const n={};let r,l;for(l in t.properties)if("children"!==l&&Dt.call(t.properties,l)){const o=Kt(e,l,t.properties[l]);if(o){const[l,i]=o;e.tableCellAlignToStyle&&"align"===l&&"string"===typeof i&&Bt.has(t.tagName)?r=i:n[l]=i}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let a=Qt(e,t);Ut.has(t.tagName)&&(a=a.filter((function(e){return"string"!==typeof e||!("object"===typeof(t=e)?"text"===t.type&&We(t.value):We(t));var t})));return Wt(e,i,o,t),qt(i,a),e.ancestors.pop(),e.schema=r,e.create(t,o,i,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}Xt(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let l=r;"svg"===t.name&&"html"===r.space&&(l=bt,e.schema=l);e.ancestors.push(t);const o=null===t.name?e.Fragment:Yt(e,t.name,!0),i=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const l=t.expression;l.type;const o=l.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else Xt(e,t.position);else{const l=r.name;let o;if(r.value&&"object"===typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,o=e.evaluater.evaluateExpression(t.expression)}else Xt(e,t.position);else o=null===r.value||r.value;n[l]=o}return n}(e,t),a=Qt(e,t);return Wt(e,i,o,t),qt(i,a),e.ancestors.pop(),e.schema=r,e.create(t,o,i,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Xt(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return qt(r,Qt(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function Wt(e,t,n,r){"string"!==typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function qt(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Qt(e,t){const n=[];let r=-1;const l=e.passKeys?new Map:Mt;for(;++r4&&"data"===n.slice(0,4)&&kt.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(xt,Et);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!xt.test(e)){let n=e.replace(wt,St);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}l=it}return new l(r,t)}(e.schema,t);if(!(null===n||void 0===n||"number"===typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"===typeof n?n:function(e,t){const n={};try{_t(t,r)}catch(l){if(!e.ignoreInvalidStyle){const t=l,n=new jt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Ht+"#cannot-parse-style-attribute",n}}return n;function r(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(At,Zt)),n[r]=t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)Dt.call(e,n)&&(t[Jt(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?Ct[r.property]||r.property:r.attribute,n]}}function Yt(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,l=-1;for(;++ll?0:l+t:t>l?l:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i0?(ln(e,e.length,0,t),e):t}class an{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const l=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&un(this.left,n),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),un(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),un(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e-1&&e.test(String.fromCharCode(t))}}function _n(e,t,n,r){const l=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(Sn(r))return e.enter(n),i(r);return t(r)};function i(r){return Sn(r)&&o++o))return;const n=t.events.length;let l,a,u=n;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(l){a=t.events[u][1].end;break}l=!0}for(y(i),e=n;er;){const r=n[l];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),l=void 0,r=void 0,t.containerState._closeFlow=void 0}}},zn={tokenize:function(e,t,n){return _n(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const In={tokenize:function(e,t,n){return function(t){return Sn(t)?_n(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||xn(e)?t(e):n(e)}},partial:!0};const Ln={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?l(t):xn(t)?e.check(On,o,l)(t):(e.consume(t),r)}function l(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return sn(e),e}},On={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),_n(e,l,"linePrefix")};function l(l){if(null===l||xn(l))return n(l);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}},partial:!0};const Rn={tokenize:function(e){const t=this,n=e.attempt(In,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,_n(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Ln,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const jn={resolveAll:An()},Dn=Fn("string"),Mn=Fn("text");function Fn(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],l=t.attempt(r,o,i);return o;function o(e){return u(e)?l(e):i(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return u(e)?(t.exit("data"),l(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;const t=r[e];let l=-1;if(t)for(;++l-1){const e=i[0];"string"===typeof e?i[0]=e.slice(r):i.shift()}o>0&&i.push(e[l].slice(0,o))}return i}(i,e)}function h(){const{line:e,column:t,offset:n,_index:l,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:l,_bufferIndex:o}}function m(){let e;for(;r._index=3&&(null===o||xn(o))?(e.exit("thematicBreak"),t(o)):n(o)}function i(t){return t===r?(e.consume(t),l++,i):(e.exit("thematicBreakSequence"),Sn(t)?_n(e,o,"whitespace")(t):o(t))}}};const $n={name:"list",tokenize:function(e,t,n){const r=this,l=r.events[r.events.length-1];let o=l&&"linePrefix"===l[1].type?l[2].sliceSerialize(l[1],!0).length:0,i=0;return function(t){const l=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===l?!r.containerState.marker||t===r.containerState.marker:vn(t)){if(r.containerState.type||(r.containerState.type=l,e.enter(l,{_container:!0})),"listUnordered"===l)return e.enter("listItemPrefix"),42===t||45===t?e.check(Vn,n,u)(t):u(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return vn(t)&&++i<10?(e.consume(t),a):(!r.interrupt||i<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),u(t)):n(t)}function u(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(In,r.interrupt?n:s,e.attempt(Wn,f,c))}function s(e){return r.containerState.initialBlankLine=!0,o++,f(e)}function c(t){return Sn(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(In,l,o);function l(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,_n(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){return r.containerState.furtherBlankLines||!Sn(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(qn,t,i)(n))}function i(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,_n(e,e.attempt($n,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}},exit:function(e){e.exit(this.containerState.type)}},Wn={tokenize:function(e,t,n){const r=this;return _n(e,(function(e){const l=r.events[r.events.length-1];return!Sn(e)&&l&&"listItemPrefixWhitespace"===l[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},qn={tokenize:function(e,t,n){const r=this;return _n(e,(function(e){const l=r.events[r.events.length-1];return l&&"listItemIndent"===l[1].type&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const Qn={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),l}return n(t)};function l(n){return Sn(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(Sn(t))return _n(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return l(t)};function l(r){return e.attempt(Qn,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function Kn(e,t,n,r,l,o,i,a,u){const s=u||Number.POSITIVE_INFINITY;let c=0;return function(t){if(60===t)return e.enter(r),e.enter(l),e.enter(o),e.consume(t),e.exit(o),f;if(null===t||32===t||41===t||yn(t))return n(t);return e.enter(r),e.enter(i),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(t)};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(l),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||xn(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function h(l){return c||null!==l&&41!==l&&!wn(l)?c999||null===f||91===f||93===f&&!a||94===f&&!u&&"_hiddenFootnoteSupport"in i.parser.constructs?n(f):93===f?(e.exit(o),e.enter(l),e.consume(f),e.exit(l),e.exit(r),t):xn(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||xn(t)||u++>999?(e.exit("chunkString"),s(t)):(e.consume(t),a||(a=!Sn(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function Xn(e,t,n,r,l,o){let i;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(l),e.consume(t),e.exit(l),i=40===t?41:t,a;return n(t)};function a(n){return n===i?(e.enter(l),e.consume(n),e.exit(l),e.exit(r),t):(e.enter(o),u(n))}function u(t){return t===i?(e.exit(o),a(i)):null===t?n(t):xn(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),_n(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===i||null===t||xn(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:s)}function c(t){return t===i||92===t?(e.consume(t),s):s(t)}}function Jn(e,t){let n;return function r(l){if(xn(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n=!0,r;if(Sn(l))return _n(e,r,n?"linePrefix":"lineSuffix")(l);return t(l)}}function Zn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Gn={name:"definition",tokenize:function(e,t,n){const r=this;let l;return function(t){return e.enter("definition"),function(t){return Yn.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return l=Zn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){return wn(t)?Jn(e,a)(t):a(t)}function a(t){return Kn(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(er,s,s)(t)}function s(t){return Sn(t)?_n(e,c,"whitespace")(t):c(t)}function c(o){return null===o||xn(o)?(e.exit("definition"),r.parser.defined.push(l),t(o)):n(o)}}},er={tokenize:function(e,t,n){return function(t){return wn(t)?Jn(e,r)(t):n(t)};function r(t){return Xn(e,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function l(t){return Sn(t)?_n(e,o,"whitespace")(t):o(t)}function o(e){return null===e||xn(e)?t(e):n(e)}},partial:!0};const tr={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),_n(e,l,"linePrefix",5)(t)};function l(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?a(t):xn(t)?e.attempt(nr,o,a)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||xn(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),i)}function a(n){return e.exit("codeIndented"),t(n)}}},nr={tokenize:function(e,t,n){const r=this;return l;function l(t){return r.parser.lazy[r.now().line]?n(t):xn(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):_n(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):xn(e)?l(e):n(e)}},partial:!0};const rr={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),l(t)}(t)};function l(t){return 35===t&&r++<6?(e.consume(t),l):null===t||wn(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),i(n)):null===n||xn(n)?(e.exit("atxHeading"),t(n)):Sn(n)?_n(e,o,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),o(t))}function a(t){return null===t||35===t||wn(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),a)}},resolve:function(e,t){let n,r,l=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);l-2>o&&"whitespace"===e[l][1].type&&(l-=2);"atxHeadingSequence"===e[l][1].type&&(o===l-1||l-4>o&&"whitespace"===e[l-2][1].type)&&(l-=o+1===l?2:4);l>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[l][1].end},r={type:"chunkText",start:e[o][1].start,end:e[l][1].end,contentType:"text"},ln(e,o,l-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const lr={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let l;return function(t){let i,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){i="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),l=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t);return n(t)};function o(t){return t===l?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),Sn(t)?_n(e,i,"lineSuffix")(t):i(t))}function i(r){return null===r||xn(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,l,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),l||"definition"!==e[o][1].type||(l=o);const i={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",l?(e.splice(r,0,["enter",i,t]),e.splice(l+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[l][1].end)):e[n][1]=i;return e.push(["exit",i,t]),e}};const or=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ir=["pre","script","style","textarea"],ar={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let l,o,i,a,u;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),s}(t)};function s(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),o=!0,p):63===a?(e.consume(a),l=3,r.interrupt?t:R):hn(a)?(e.consume(a),i=String.fromCharCode(a),h):n(a)}function c(o){return 45===o?(e.consume(o),l=2,f):91===o?(e.consume(o),l=5,a=0,d):hn(o)?(e.consume(o),l=4,r.interrupt?t:R):n(o)}function f(l){return 45===l?(e.consume(l),r.interrupt?t:R):n(l)}function d(l){const o="CDATA[";return l===o.charCodeAt(a++)?(e.consume(l),6===a?r.interrupt?t:P:d):n(l)}function p(t){return hn(t)?(e.consume(t),i=String.fromCharCode(t),h):n(t)}function h(a){if(null===a||47===a||62===a||wn(a)){const u=47===a,s=i.toLowerCase();return u||o||!ir.includes(s)?or.includes(i.toLowerCase())?(l=6,u?(e.consume(a),m):r.interrupt?t(a):P(a)):(l=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):o?g(a):y(a)):(l=1,r.interrupt?t(a):P(a))}return 45===a||mn(a)?(e.consume(a),i+=String.fromCharCode(a),h):n(a)}function m(l){return 62===l?(e.consume(l),r.interrupt?t:P):n(l)}function g(t){return Sn(t)?(e.consume(t),g):E(t)}function y(t){return 47===t?(e.consume(t),E):58===t||95===t||hn(t)?(e.consume(t),v):Sn(t)?(e.consume(t),y):E(t)}function v(t){return 45===t||46===t||58===t||95===t||mn(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),k):Sn(t)?(e.consume(t),b):y(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,x):Sn(t)?(e.consume(t),k):w(t)}function x(t){return t===u?(e.consume(t),u=null,S):null===t||xn(t)?n(t):(e.consume(t),x)}function w(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||wn(t)?b(t):(e.consume(t),w)}function S(e){return 47===e||62===e||Sn(e)?y(e):n(e)}function E(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||xn(t)?P(t):Sn(t)?(e.consume(t),C):n(t)}function P(t){return 45===t&&2===l?(e.consume(t),z):60===t&&1===l?(e.consume(t),I):62===t&&4===l?(e.consume(t),j):63===t&&3===l?(e.consume(t),R):93===t&&5===l?(e.consume(t),O):!xn(t)||6!==l&&7!==l?null===t||xn(t)?(e.exit("htmlFlowData"),_(t)):(e.consume(t),P):(e.exit("htmlFlowData"),e.check(ur,D,_)(t))}function _(t){return e.check(sr,N,D)(t)}function N(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),T}function T(t){return null===t||xn(t)?_(t):(e.enter("htmlFlowData"),P(t))}function z(t){return 45===t?(e.consume(t),R):P(t)}function I(t){return 47===t?(e.consume(t),i="",L):P(t)}function L(t){if(62===t){const n=i.toLowerCase();return ir.includes(n)?(e.consume(t),j):P(t)}return hn(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),L):P(t)}function O(t){return 93===t?(e.consume(t),R):P(t)}function R(t){return 62===t?(e.consume(t),j):45===t&&2===l?(e.consume(t),R):P(t)}function j(t){return null===t||xn(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),j)}function D(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},ur={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(In,t,n)}},partial:!0},sr={tokenize:function(e,t,n){const r=this;return function(t){if(xn(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l;return n(t)};function l(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const cr={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l};function l(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},fr={name:"codeFenced",tokenize:function(e,t,n){const r=this,l={tokenize:function(e,t,n){let l=0;return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u}function u(t){return e.enter("codeFencedFence"),Sn(t)?_n(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===o?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===o?(l++,e.consume(t),c):l>=a?(e.exit("codeFencedFenceSequence"),Sn(t)?_n(e,f,"whitespace")(t):f(t)):n(t)}function f(r){return null===r||xn(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let o,i=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return i=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(t)}(t)};function u(t){return t===o?(a++,e.consume(t),u):a<3?n(t):(e.exit("codeFencedFenceSequence"),Sn(t)?_n(e,s,"whitespace")(t):s(t))}function s(n){return null===n||xn(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(cr,p,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||xn(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(t)):Sn(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),_n(e,f,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),c)}function f(t){return null===t||xn(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||xn(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(t)):96===t&&t===o?n(t):(e.consume(t),d)}function p(t){return e.attempt(l,v,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return i>0&&Sn(t)?_n(e,g,"linePrefix",i+1)(t):g(t)}function g(t){return null===t||xn(t)?e.check(cr,p,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||xn(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const dr=document.createElement("i");function pr(e){const t="&"+e+";";dr.innerHTML=t;const n=dr.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const hr={name:"characterReference",tokenize:function(e,t,n){const r=this;let l,o,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),l=31,o=mn,s(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,o=bn,s):(e.enter("characterReferenceValue"),l=7,o=vn,s(t))}function s(a){if(59===a&&i){const l=e.exit("characterReferenceValue");return o!==mn||pr(r.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return o(a)&&i++1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[c][1].start);Er(f,-a),Er(d,a),o={type:a>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},i={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:d},l={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},i.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},i.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=on(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=on(u,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",l,t]]),u=on(u,Bn(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=on(u,[["exit",l,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,u=on(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):s=0,ln(e,n-1,c-n+3,u),c=n+u.length-s-2;break}c=-1;for(;++c13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCodePoint(n)}const Hr=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Vr(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return Br(n.slice(t?2:1),t?16:10)}return pr(n)||e}const $r={}.hasOwnProperty;function Wr(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(te),autolinkProtocol:C,autolinkEmail:C,atxHeading:o(J),blockQuote:o(q),characterEscape:C,characterReference:C,codeFenced:o(Q),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:o(Q,i),codeText:o(K,i),codeTextData:C,data:C,codeFlowValue:C,definition:o(Y),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:o(X),hardBreakEscape:o(Z),hardBreakTrailing:o(Z),htmlFlow:o(G,i),htmlFlowData:C,htmlText:o(G,i),htmlTextData:C,image:o(ee),label:i,link:o(te),listItem:o(re),listItemValue:d,listOrdered:o(ne,f),listUnordered:o(ne),paragraph:o(le),reference:A,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:o(J),strong:o(oe),thematicBreak:o(ae)},exit:{atxHeading:u(),atxHeadingSequence:x,autolink:u(),autolinkEmail:W,autolinkProtocol:$,blockQuote:u(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:B,characterReferenceMarkerNumeric:B,characterReferenceValue:H,characterReference:V,codeFenced:u(g),codeFencedFence:m,codeFencedFenceInfo:p,codeFencedFenceMeta:h,codeFlowValue:P,codeIndented:u(y),codeText:u(I),codeTextData:P,data:P,definition:u(),definitionDestinationString:k,definitionLabelString:v,definitionTitleString:b,emphasis:u(),hardBreakEscape:u(N),hardBreakTrailing:u(N),htmlFlow:u(T),htmlFlowData:P,htmlText:u(z),htmlTextData:P,image:u(O),label:j,labelText:R,lineEnding:_,link:u(L),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:U,resourceDestinationString:D,resourceTitleString:M,resource:F,setextHeading:u(E),setextHeadingLineSequence:S,setextHeadingText:w,strong:u(),thematicBreak:u()}};Qr(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const o={stack:[r],tokenStack:[],config:t,enter:a,exit:s,buffer:i,resume:c,data:n},u=[];let f=-1;for(;++f0){const e=o.tokenStack[o.tokenStack.length-1];(e[1]||Yr).call(o,void 0,e[0])}for(r.position={start:qr(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:qr(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=l=>{if(e.has(l))return e.get(l);const[o,i]=t[l];switch(o){case 0:case-1:return n(i,l);case 1:{const e=n([],l);for(const t of i)e.push(r(t));return e}case 2:{const e=n({},l);for(const[t,n]of i)e[r(t)]=r(n);return e}case 3:return n(new Date(i),l);case 4:{const{source:e,flags:t}=i;return n(new RegExp(e,t),l)}case 5:{const e=n(new Map,l);for(const[t,n]of i)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,l);for(const t of i)e.add(r(t));return e}case 7:{const{name:e,message:t}=i;return n(new Jr[e](t),l)}case 8:return n(BigInt(i),l);case"BigInt":return n(Object(BigInt(i)),l)}return n(new Jr[o](i),l)};return r})(new Map,e)(0),Gr="",{toString:el}={},{keys:tl}=Object,nl=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=el.call(e).slice(8,-1);switch(n){case"Array":return[1,Gr];case"Object":return[2,Gr];case"Date":return[3,Gr];case"RegExp":return[4,Gr];case"Map":return[5,Gr];case"Set":return[6,Gr]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},rl=e=>{let[t,n]=e;return 0===t&&("function"===n||"symbol"===n)},ll=function(e){let{json:t,lossy:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[];return((e,t,n,r)=>{const l=(e,t)=>{const l=r.push(e)-1;return n.set(t,l),l},o=r=>{if(n.has(r))return n.get(r);let[i,a]=nl(r);switch(i){case 0:{let t=r;switch(a){case"bigint":i=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return l([-1],r)}return l([i,t],r)}case 1:{if(a)return l([a,[...r]],r);const e=[],t=l([i,e],r);for(const n of r)e.push(o(n));return t}case 2:{if(a)switch(a){case"BigInt":return l([a,r.toString()],r);case"Boolean":case"Number":case"String":return l([a,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());const n=[],u=l([i,n],r);for(const t of tl(r))!e&&rl(nl(r[t]))||n.push([o(t),o(r[t])]);return u}case 3:return l([i,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return l([i,{source:e,flags:t}],r)}case 5:{const t=[],n=l([i,t],r);for(const[l,i]of r)(e||!rl(nl(l))&&!rl(nl(i)))&&t.push([o(l),o(i)]);return n}case 6:{const t=[],n=l([i,t],r);for(const l of r)!e&&rl(nl(l))||t.push(o(l));return n}}const{message:u}=r;return l([i,{name:a,message:u}],r)};return o})(!(t||n),!!t,new Map,r)(e),r},ol="function"===typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Zr(ll(e,t)):structuredClone(e):(e,t)=>Zr(ll(e,t));function il(e){const t=[];let n=-1,r=0,l=0;for(;++n55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(i=String.fromCharCode(o,t),l=1):i="\ufffd"}else i=String.fromCharCode(o);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+l+1,i=""),l&&(n+=l,l=0)}return t.join("")+e.slice(r)}function al(e,t){const n=[{type:"text",value:"\u21a9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function ul(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const sl=function(e){if(null===e||void 0===e)return fl;if("function"===typeof e)return cl(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n":"")+")"})}return c;function c(){let s,c,f,d=pl;if((!t||o(l,a,u[u.length-1]||void 0))&&(d=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[hl,e];return null===e||void 0===e?pl:[e]}(n(l,u)),d[0]===ml))return d;if("children"in l&&l.children){const t=l;if(t.children&&d[0]!==gl)for(c=(r?t.children.length:-1)+i,f=u.concat(t);c>-1&&c1:t}const xl=9,wl=32;function Sl(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),l=0;const o=[];for(;r;)o.push(El(t.slice(l,r.index),l>0,!0),r[0]),l=r.index+r[0].length,r=n.exec(t);return o.push(El(t.slice(l),l>0,!1)),o.join("")}function El(e,t,n){let r=0,l=e.length;if(t){let t=e.codePointAt(r);for(;t===xl||t===wl;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(l-1);for(;t===xl||t===wl;)l--,t=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}const Cl={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let l={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(l.data={meta:t.meta}),e.patch(t,l),l=e.applyData(t,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(t,l),l},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"===typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),l=il(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let i,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=o+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+l,id:n+"fnref-"+l+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,u);const s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,s),e.applyData(t,s)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return bl(e,t);const l={src:il(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(l.title=r.title);const o={type:"element",tagName:"img",properties:l,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:il(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return bl(e,t);const l={href:il(r.url||"")};null!==r.title&&void 0!==r.title&&(l.title=r.title);const o={type:"element",tagName:"a",properties:l,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:il(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),l=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Tt(t.children[1]),i=Nt(t.children[t.children.length-1]);o&&i&&(r.position={start:o,end:i}),l.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,l=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,i=o?o.length:t.children.length;let a=-1;const u=[];for(;++a0&&n.push({type:"text",value:"\n"}),n}function Ol(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function Rl(e,t){const n=function(e,t){const n=t||Nl,r=new Map,l=new Map,o=new Map,i={...Cl,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r0&&f.push({type:"text",value:" "});let e="string"===typeof n?n:n(u,c);"string"===typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+s+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"===typeof r?r:r(u,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=o[o.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...f)}else o.push(...f);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+s},children:e.wrap(o,!0)};e.patch(l,h),a.push(h)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...ol(i),id:"footnote-label"},children:[{type:"text",value:l}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return l&&o.children.push({type:"text",value:"\n"},l),o}function jl(e,t){return e&&"run"in e?async function(n,r){const l=Rl(n,{file:r,...t});await e.run(l,r)}:function(n,r){return Rl(n,{file:r,...t||e})}}function Dl(e){if(e)throw e}var Ml=n(240);function Fl(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Al(){const e=[],t={run:function(){for(var t=arguments.length,n=new Array(t),r=0;r1?u-1:0),c=1;cl.length;let s;u&&l.push(o);try{s=e.apply(this,l)}catch(r){if(u&&n)throw r;return o(r)}u||(s&&s.then&&"function"===typeof s.then?s.then(i,o):s instanceof Error?o(s):i(s))}function o(e){if(!n){n=!0;for(var r=arguments.length,l=new Array(r>1?r-1:0),o=1;oe.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else l<0&&(n=!0,l=o+1);return l<0?"":e.slice(r,l)}if(t===e)return"";let i=-1,a=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1),a>-1&&(e.codePointAt(o)===t.codePointAt(a--)?a<0&&(l=o):(a=-1,l=i));r===l?l=i:l<0&&(l=e.length);return e.slice(r,l)},dirname:function(e){if(Bl(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){Bl(e);let t,n=e.length,r=-1,l=0,o=-1,i=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?o<0?o=n:1!==i&&(i=1):o>-1&&(i=-1);else if(t){l=n+1;break}}if(o<0||r<0||0===i||1===i&&o===r-1&&o===l+1)return"";return e.slice(o,r)},join:function(){let e,t=-1;for(var n=arguments.length,r=new Array(n),l=0;l2){if(r=l.lastIndexOf("/"),r!==l.length-1){r<0?(l="",o=0):(l=l.slice(0,r),o=l.length-1-l.lastIndexOf("/")),i=u,a=0;continue}}else if(l.length>0){l="",o=0,i=u,a=0;continue}t&&(l=l.length>0?l+"/..":"..",o=2)}else l.length>0?l+="/"+e.slice(i+1,u):l=e.slice(i+1,u),o=u-i-1;i=u,a=0}else 46===n&&a>-1?a++:a=-1}return l}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(e)},sep:"/"};function Bl(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Hl={cwd:function(){return"/"}};function Vl(e){return Boolean(null!==e&&"object"===typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function $l(e){if("string"===typeof e)e=new URL(e);else if(!Vl(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n1?r-1:0),o=1;o0){let[r,...o]=n;const i=t[l][1];Fl(i)&&Fl(r)&&(r=Ml(!0,i,r)),t[l]=[e,r,...o]}}}}const Gl=(new Zl).freeze();function eo(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function to(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function no(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ro(e){if(!Fl(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function lo(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function oo(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new ql(e)}const io=[],ao={allowDangerousHtml:!0},uo=/^(https?|ircs?|mailto|xmpp)$/i,so=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function co(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",l=e.className,o=e.components,i=e.disallowedElements,a=e.rehypePlugins||io,u=e.remarkPlugins||io,s=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ao}:ao,c=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||fo,p=Gl().use(Xr).use(u).use(jl,s).use(a),h=new ql;"string"===typeof r&&(h.value=r);for(const y of so)Object.hasOwn(e,y.from)&&(y.from,y.to&&y.to,y.id);const m=p.parse(h);let g=p.runSync(m,h);return l&&(g={type:"element",tagName:"div",properties:{className:l},children:"root"===g.type?g.children:[g]}),vl(g,(function(e,r,l){if("raw"===e.type&&l&&"number"===typeof r)return c?l.children.splice(r,1):l.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in en)if(Object.hasOwn(en,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=en[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=d(String(n||""),t,e))}}if("element"===e.type){let o=t?!t.includes(e.tagName):!!i&&i.includes(e.tagName);if(!o&&n&&"number"===typeof r&&(o=!n(e,r,l)),o&&l&&"number"===typeof r)return f&&e.children?l.children.splice(r,1,...e.children):l.children.splice(r,1),r}})),Vt(g,{Fragment:ze.Fragment,components:o,ignoreInvalidStyle:!0,jsx:ze.jsx,jsxs:ze.jsxs,passKeys:!0,passNode:!0})}function fo(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),l=e.indexOf("/");return t<0||l>-1&&t>l||n>-1&&t>n||r>-1&&t>r||uo.test(e.slice(0,t))?e:""}function po(){const e=_e();return e?(0,ze.jsxs)("div",{className:"section body-text content-box vertical-box item",children:[(0,ze.jsxs)("div",{className:"horizontal-box preview",children:[(0,ze.jsx)("img",{src:e.image,alt:e.title}),(0,ze.jsxs)("div",{children:[(0,ze.jsx)("h1",{children:e.title}),e.shortDescription]})]}),(0,ze.jsx)(co,{children:e.description})]}):(0,ze.jsxs)("div",{className:"section body-text content-box",children:[(0,ze.jsx)("h1",{children:"404: \u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e."}),(0,ze.jsx)("a",{href:"/",children:"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"})]})}function ho(){const{page:e}=Ee();return(0,ze.jsxs)("div",{children:[(0,ze.jsx)(Oe,{}),"about"===e?(0,ze.jsx)(De,{}):"store"===e?(0,ze.jsx)(je,{}):"vacancy"===e?(0,ze.jsx)(Ae,{}):(0,ze.jsx)(po,{}),(0,ze.jsx)(Me,{})]})}function mo(){return(0,ze.jsx)("div",{className:"App",children:(0,ze.jsx)(ce,{children:(0,ze.jsx)(ae,{children:(0,ze.jsx)(oe,{path:":page?/:subpage?",element:(0,ze.jsx)(ho,{})})})})})}i.createRoot(document.getElementById("root")).render((0,ze.jsx)(l.StrictMode,{children:(0,ze.jsx)(mo,{})}))})()})();
-//# sourceMappingURL=main.b6f3d3d9.js.map
\ No newline at end of file
diff --git a/frontend/static/frontend/js/main.e268e01a.js b/frontend/static/frontend/js/main.e268e01a.js
new file mode 100644
index 0000000..93097d0
--- /dev/null
+++ b/frontend/static/frontend/js/main.e268e01a.js
@@ -0,0 +1,3 @@
+/*! For license information please see main.e268e01a.js.LICENSE.txt */
+(()=>{var e={488:function(e,t,n){e.exports=function(){var e=e||function(e,t){var r;if("undefined"!==typeof window&&window.crypto&&(r=window.crypto),"undefined"!==typeof self&&self.crypto&&(r=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!==typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!==typeof n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(477)}catch(g){}var o=function(){if(r){if("function"===typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"===typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(g){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},l=a.lib={},s=l.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=l.WordArray=s.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var l=0;l>>2]=n[l>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new u.init(n,t/2)}},f=c.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new u.init(n,t)}},p=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},h=l.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,l=i/(4*a),s=(l=t?e.ceil(l):e.max((0|l)-this._minBufferSize,0))*a,c=e.min(4*s,i);if(s){for(var d=0;d>>6-a%4*2;o[i>>>2]|=l<<24-i%4*8,i++}return n.create(o,i)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,l=0;l<4&&i+.75*l>>6*(3-l)&63));var s=r.charAt(64);if(s)for(;o.length%4;)o.push(s);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i>>7)^(h<<14|h>>>18)^h>>>3,g=u[p-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;u[p]=m+u[p-7]+v+u[p-16]}var y=r&o^r&i^o&i,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),k=f+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&c^~l&d)+s[p]+u[p];f=d,d=c,c=l,l=a+k|0,a=i,i=o,o=r,r=k+(b+y)|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+l|0,n[5]=n[5]+c|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(c),n.HmacSHA256=i._createHmacHelper(c)}(Math),t.SHA256)}()},240:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"===typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});f{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(s,u):u}e.exports=function(e,s){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var d=1,f=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:d,column:f};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:d,column:f},this.source=s.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(s.source+":"+d+":"+f+": "+t);if(n.reason=t,n.filename=s.source,n.line=d,n.column=f,n.source=e,!s.silent)throw n;g.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){y(r)}function k(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function S(){var e=h(),n=y(o);if(n){if(w(),!y(i))return v("property missing ':'");var r=y(a),s=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return y(l),s}}return b(),function(){var e,t=[];for(k(t);e=S();)!1!==e&&(t.push(e),k(t));return t}()}},730:(e,t,n)=>{"use strict";var r=n(43),o=n(853);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}(t,n,o,r)&&(n=null),r||null===o?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)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!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(v,y);g[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(v,y);g[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(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),S=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),I=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),R=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 D(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=L&&e[L]||e["@@iterator"])?e:null}var M,z=Object.assign;function F(e){if(void 0===M)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var j=!1;function U(e,t){if(!e||j)return"";j=!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 o=u.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{j=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function V(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function B(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 x:return"Fragment";case S:return"Portal";case E:return"Profiler";case _:return"StrictMode";case P:return"Suspense";case N:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case I:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case O:return null!==(t=e.displayName||null)?t:B(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return B(e(t))}catch(n){}}return null}function $(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 B(t);case 8:return t===_?"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 K(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=K(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.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 q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=K(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(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 Q(e,t){var n=t.checked;return z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Z(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)&&b(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&&G(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 o=0;o"+t.valueOf().toString()+"",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 ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=z({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 ye(e,t){if(t){if(ve[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 be(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 ke=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,xe=null,_e=null;function Ee(e){if(e=ko(e)){if("function"!==typeof Se)throw Error(i(280));var t=e.stateNode;t&&(t=So(t),Se(e.stateNode,e.type,t))}}function Ce(e){xe?_e?_e.push(e):_e=[e]:xe=e}function Ie(){if(xe){var e=xe,t=_e;if(_e=xe=null,Ee(e),t)for(e=0;e>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=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,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=dt(l):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<=Dn),Fn=String.fromCharCode(32),jn=!1;function Un(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 Vn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1;var $n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function Kn(e,t,n,r){Ce(r),0<(t=Wr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,qn=null;function Gn(e){Fr(e,0)}function Qn(e){if(q(wo(e)))return e}function Zn(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=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=G();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=G((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 o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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=document.documentMode,gr=null,vr=null,yr=null,br=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==G(r)||("selectionStart"in(r=gr)&&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},yr&&sr(yr,r)||(yr=r,0<(r=Wr(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},xr={},_r={};function Er(e){if(xr[e])return xr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return xr[e]=n[t];return e}c&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Cr=Er("animationend"),Ir=Er("animationiteration"),Tr=Er("animationstart"),Pr=Er("transitionend"),Nr=new Map,Or="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 Rr(e,t){Nr.set(e,t),s(t,[e])}for(var Ar=0;Ar_o||(e.current=xo[_o],xo[_o]=null,_o--)}function Io(e,t){_o++,xo[_o]=e.current,e.current=t}var To={},Po=Eo(To),No=Eo(!1),Oo=To;function Ro(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ao(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Lo(){Co(No),Co(Po)}function Do(e,t,n){if(Po.current!==To)throw Error(i(168));Io(Po,t),Io(No,n)}function Mo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,$(e)||"Unknown",o));return z({},n,r)}function zo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Oo=Po.current,Io(Po,e),Io(No,No.current),!0}function Fo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Mo(e,t,Oo),r.__reactInternalMemoizedMergedChildContext=e,Co(No),Co(Po),Io(Po,e)):Co(No),Io(No,n)}var jo=null,Uo=!1,Vo=!1;function Bo(e){null===jo?jo=[e]:jo.push(e)}function $o(){if(!Vo&&null!==jo){Vo=!0;var e=0,t=bt;try{var n=jo;for(bt=1;e>=a,o-=a,Yo=1<<32-at(t)+o|n<m?(g=d,d=null):g=d.sibling;var v=p(o,d,l[m],s);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===l.length)return n(o,d),ii&&Jo(o,m),u;if(null===d){for(;mg?(v=m,m=null):v=m.sibling;var b=p(o,m,y.value,u);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),l=a(b,l,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return n(o,m),ii&&Jo(o,g),c;if(null===m){for(;!y.done;g++,y=s.next())null!==(y=f(o,y.value,u))&&(l=a(y,l,g),null===d?c=y:d.sibling=y,d=y);return ii&&Jo(o,g),c}for(m=r(o,m);!y.done;g++,y=s.next())null!==(y=h(m,o,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),l=a(y,l,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),ii&&Jo(o,g),c}return function e(r,i,a,s){if("object"===typeof a&&null!==a&&a.type===x&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===x){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===R&&bi(u)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=vi(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===x?((i=Du(a.props.children,r.mode,s,a.key)).return=r,r=i):((s=Lu(a.type,a.key,a.props,null,r.mode,s)).ref=vi(r,i,a),s.return=r,r=s)}return l(r);case S:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Fu(a,r.mode,s)).return=r,r=i}return l(r);case R:return e(r,i,(c=a._init)(a._payload),s)}if(te(a))return m(r,i,a,s);if(D(a))return g(r,i,a,s);yi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=zu(a,r.mode,s)).return=r,r=i),l(r)):n(r,i)}}var wi=ki(!0),Si=ki(!1),xi=Eo(null),_i=null,Ei=null,Ci=null;function Ii(){Ci=Ei=_i=null}function Ti(e){var t=xi.current;Co(xi),e._currentValue=t}function Pi(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 Ni(e,t){_i=e,Ci=Ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bl=!0),e.firstContext=null)}function Oi(e){var t=e._currentValue;if(Ci!==e)if(e={context:e,memoizedValue:t,next:null},null===Ei){if(null===_i)throw Error(i(308));Ei=e,_i.dependencies={lanes:0,firstContext:e}}else Ei=Ei.next=e;return t}var Ri=null;function Ai(e){null===Ri?Ri=[e]:Ri.push(e)}function Li(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ai(t)):(n.next=o.next,o.next=n),t.interleaved=n,Di(e,r)}function Di(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 Mi=!1;function zi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fi(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 ji(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ui(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Ts)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Di(e,n)}return null===(o=r.interleaved)?(t.next=t,Ai(r)):(t.next=o.next,o.next=t),r.interleaved=t,Di(e,n)}function Vi(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,yt(e,n)}}function Bi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,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 $i(e,t,n,r){var o=e.updateQueue;Mi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,c=u=s=null,l=i;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;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=z({},d,f);break e;case 2:Mi=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ms|=a,e.lanes=a,e.memoizedState=d}}function Hi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tn?n:4,e(!0);var r=ia.transition;ia.transition={};try{e(!1),t()}finally{bt=n,ia.transition=r}}function Wa(){return ba().memoizedState}function qa(e,t,n){var r=tu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qa(e))Za(t,n);else if(null!==(n=Li(e,t,n,r))){nu(n,e,r,eu()),Ya(n,t,r)}}function Ga(e,t,n){var r=tu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qa(e))Za(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,a)){var s=t.interleaved;return null===s?(o.next=o,Ai(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(u){}null!==(n=Li(e,t,o,r))&&(nu(n,e,r,o=eu()),Ya(n,t,r))}}function Qa(e){var t=e.alternate;return e===la||null!==t&&t===la}function Za(e,t){da=ca=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ya(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var Xa={readContext:Oi,useCallback:ha,useContext:ha,useEffect:ha,useImperativeHandle:ha,useInsertionEffect:ha,useLayoutEffect:ha,useMemo:ha,useReducer:ha,useRef:ha,useState:ha,useDebugValue:ha,useDeferredValue:ha,useTransition:ha,useMutableSource:ha,useSyncExternalStore:ha,useId:ha,unstable_isNewReconciler:!1},Ja={readContext:Oi,useCallback:function(e,t){return ya().memoizedState=[e,void 0===t?null:t],e},useContext:Oi,useEffect:Da,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Aa(4194308,4,ja.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Aa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Aa(4,2,e,t)},useMemo:function(e,t){var n=ya();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ya();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=qa.bind(null,la,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ya().memoizedState=e},useState:Na,useDebugValue:Va,useDeferredValue:function(e){return ya().memoizedState=e},useTransition:function(){var e=Na(!1),t=e[0];return e=Ka.bind(null,e[1]),ya().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=la,o=ya();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Ps)throw Error(i(349));0!==(30&aa)||Ea(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Da(Ia.bind(null,r,a,e),[e]),r.flags|=2048,Oa(9,Ca.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ya(),t=Ps.identifierPrefix;if(ii){var n=Xo;t=":"+t+"R"+(n=(Yo&~(1<<32-at(Yo)-1)).toString(32)+n),0<(n=fa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},el={readContext:Oi,useCallback:Ba,useContext:Oi,useEffect:Ma,useImperativeHandle:Ua,useInsertionEffect:za,useLayoutEffect:Fa,useMemo:$a,useReducer:wa,useRef:Ra,useState:function(){return wa(ka)},useDebugValue:Va,useDeferredValue:function(e){return Ha(ba(),sa.memoizedState,e)},useTransition:function(){return[wa(ka)[0],ba().memoizedState]},useMutableSource:xa,useSyncExternalStore:_a,useId:Wa,unstable_isNewReconciler:!1},tl={readContext:Oi,useCallback:Ba,useContext:Oi,useEffect:Ma,useImperativeHandle:Ua,useInsertionEffect:za,useLayoutEffect:Fa,useMemo:$a,useReducer:Sa,useRef:Ra,useState:function(){return Sa(ka)},useDebugValue:Va,useDeferredValue:function(e){var t=ba();return null===sa?t.memoizedState=e:Ha(t,sa.memoizedState,e)},useTransition:function(){return[Sa(ka)[0],ba().memoizedState]},useMutableSource:xa,useSyncExternalStore:_a,useId:Wa,unstable_isNewReconciler:!1};function nl(e,t){if(e&&e.defaultProps){for(var n in t=z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rl(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ol={isMounted:function(e){return!!(e=e._reactInternals)&&Be(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=ji(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ui(e,i,o))&&(nu(t,e,o,r),Vi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=ji(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ui(e,i,o))&&(nu(t,e,o,r),Vi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),o=ji(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Ui(e,o,r))&&(nu(t,e,r,n),Vi(t,e,r))}};function il(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,i))}function al(e,t,n){var r=!1,o=To,i=t.contextType;return"object"===typeof i&&null!==i?i=Oi(i):(o=Ao(t)?Oo:Po.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ro(e,o):To),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ol,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ll(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&&ol.enqueueReplaceState(t,t.state,null)}function sl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},zi(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Oi(i):(i=Ao(t)?Oo:Po.current,o.context=Ro(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(rl(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ol.enqueueReplaceState(o,o.state,null),$i(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function ul(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function cl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fl="function"===typeof WeakMap?WeakMap:Map;function pl(e,t,n){(n=ji(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,Ks=r),dl(0,t)},n}function hl(e,t,n){(n=ji(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){dl(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){dl(0,t),"function"!==typeof r&&(null===Ws?Ws=new Set([this]):Ws.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ml(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Eu.bind(null,e,t,n),t.then(e,e))}function gl(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 vl(e,t,n,r,o){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=ji(-1,1)).tag=2,Ui(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var yl=k.ReactCurrentOwner,bl=!1;function kl(e,t,n,r){t.child=null===e?Si(t,null,n,r):wi(t,e.child,n,r)}function wl(e,t,n,r,o){n=n.render;var i=t.ref;return Ni(t,o),r=ga(e,t,n,r,i,o),n=va(),null===e||bl?(ii&&n&&ti(t),t.flags|=1,kl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Sl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Ru(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Lu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,xl(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(a,r)&&e.ref===t.ref)return Hl(e,t,o)}return t.flags|=1,(e=Au(i,r)).ref=t.ref,e.return=t,t.child=e}function xl(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(sr(i,r)&&e.ref===t.ref){if(bl=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Hl(e,t,o);0!==(131072&e.flags)&&(bl=!0)}}return Cl(e,t,n,r,o)}function _l(e,t,n){var r=t.pendingProps,o=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},Io(As,Rs),Rs|=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,Io(As,Rs),Rs|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Io(As,Rs),Rs|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Io(As,Rs),Rs|=r;return kl(e,t,o,n),t.child}function El(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cl(e,t,n,r,o){var i=Ao(n)?Oo:Po.current;return i=Ro(t,i),Ni(t,o),n=ga(e,t,n,r,i,o),r=va(),null===e||bl?(ii&&r&&ti(t),t.flags|=1,kl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Il(e,t,n,r,o){if(Ao(n)){var i=!0;zo(t)}else i=!1;if(Ni(t,o),null===t.stateNode)$l(e,t),al(t,n,r),sl(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"===typeof u&&null!==u?u=Oi(u):u=Ro(t,u=Ao(n)?Oo:Po.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==r||s!==u)&&ll(t,a,r,u),Mi=!1;var f=t.memoizedState;a.state=f,$i(t,r,a,o),s=t.memoizedState,l!==r||f!==s||No.current||Mi?("function"===typeof c&&(rl(t,n,c,r),s=t.memoizedState),(l=Mi||il(t,n,l,r,f,s,u))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Fi(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:nl(t.type,l),a.props=u,d=t.pendingProps,f=a.context,"object"===typeof(s=n.contextType)&&null!==s?s=Oi(s):s=Ro(t,s=Ao(n)?Oo:Po.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==d||f!==s)&&ll(t,a,r,s),Mi=!1,f=t.memoizedState,a.state=f,$i(t,r,a,o);var h=t.memoizedState;l!==d||f!==h||No.current||Mi?("function"===typeof p&&(rl(t,n,p,r),h=t.memoizedState),(u=Mi||il(t,n,u,r,f,h,s)||!1)?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Tl(e,t,n,r,i,o)}function Tl(e,t,n,r,o,i){El(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&Fo(t,n,!1),Hl(e,t,i);r=t.stateNode,yl.current=t;var l=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=wi(t,e.child,null,i),t.child=wi(t,null,l,i)):kl(e,t,l,i),t.memoizedState=r.state,o&&Fo(t,n,!0),t.child}function Pl(e){var t=e.stateNode;t.pendingContext?Do(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Do(0,t.context,!1),Zi(e,t.containerInfo)}function Nl(e,t,n,r,o){return hi(),mi(o),t.flags|=256,kl(e,t,n,r),t.child}var Ol,Rl,Al,Ll,Dl={dehydrated:null,treeContext:null,retryLane:0};function Ml(e){return{baseLanes:e,cachePool:null,transitions:null}}function zl(e,t,n){var r,o=t.pendingProps,a=ea.current,l=!1,s=0!==(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Io(ea,1&a),null===e)return ci(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):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0===(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Mu(s,o,0,null),e=Du(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Ml(n),t.memoizedState=Dl,e):Fl(t,s));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,l){if(n)return 256&t.flags?(t.flags&=-257,jl(e,t,l,r=cl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Mu({mode:"visible",children:r.children},o,0,null),(a=Du(a,o,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&wi(t,e.child,null,l),t.child.memoizedState=Ml(l),t.memoizedState=Dl,a);if(0===(1&t.mode))return jl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,jl(e,t,l,r=cl(a=Error(i(419)),r,void 0))}if(s=0!==(l&e.childLanes),bl||s){if(null!==(r=Ps)){switch(l&-l){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Di(e,o),nu(r,e,o,-1))}return mu(),jl(e,t,l,r=cl(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Iu.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=uo(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Go[Qo++]=Yo,Go[Qo++]=Xo,Go[Qo++]=Zo,Yo=e.id,Xo=e.overflow,Zo=t),t=Fl(t,r.children),t.flags|=4096,t)}(e,t,s,o,r,a,n);if(l){l=o.fallback,s=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 0===(1&s)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=Au(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?l=Au(r,l):(l=Du(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Ml(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Dl,o}return e=(l=e.child).sibling,o=Au(l,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Fl(e,t){return(t=Mu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function jl(e,t,n,r){return null!==r&&mi(r),wi(t,e.child,null,n),(e=Fl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ul(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Pi(e.return,t,n)}function Vl(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Bl(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(kl(e,t,r.children,n),0!==(2&(r=ea.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&&Ul(e,n,t);else if(19===e.tag)Ul(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(Io(ea,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Vl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Vl(t,!0,n,null,i);break;case"together":Vl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function $l(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ms|=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 Kl(e,t){if(!ii)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 Wl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ql(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Wl(t),null;case 1:case 17:return Ao(t.type)&&Lo(),Wl(t),null;case 3:return r=t.stateNode,Yi(),Co(No),Co(Po),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(au(ai),ai=null))),Rl(e,t),Wl(t),null;case 5:Ji(t);var o=Qi(Gi.current);if(n=t.type,null!==e&&null!=t.stateNode)Al(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Wl(t),null}if(e=Qi(Wi.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":jr("cancel",r),jr("close",r);break;case"iframe":case"object":case"embed":jr("load",r);break;case"video":case"audio":for(o=0;o<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[po]=t,e[ho]=r,Ol(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(n,r),n){case"dialog":jr("cancel",e),jr("close",e),o=r;break;case"iframe":case"object":case"embed":jr("load",e),o=r;break;case"video":case"audio":for(o=0;oBs&&(t.flags|=128,r=!0,Kl(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Kl(a,!0),null===a.tail&&"hidden"===a.tailMode&&!s.alternate&&!ii)return Wl(t),null}else 2*Ye()-a.renderingStartTime>Bs&&1073741824!==n&&(t.flags|=128,r=!0,Kl(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=a.last)?n.sibling=s:t.child=s,a.last=s)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ye(),t.sibling=null,n=ea.current,Io(ea,r?1&n|2:1&n),t):(Wl(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&Rs)&&(Wl(t),6&t.subtreeFlags&&(t.flags|=8192)):Wl(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Gl(e,t){switch(ni(t),t.tag){case 1:return Ao(t.type)&&Lo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Yi(),Co(No),Co(Po),ra(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ji(t),null;case 13:if(Co(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Co(ea),null;case 4:return Yi(),null;case 10:return Ti(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Ol=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}},Rl=function(){},Al=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Qi(Wi.current);var i,a=null;switch(n){case"input":o=Q(e,o),r=Q(e,r),a=[];break;case"select":o=z({},o,{value:void 0}),r=z({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ye(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&jr("scroll",e),a||s===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Ll=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ql=!1,Zl=!1,Yl="function"===typeof WeakSet?WeakSet:Set,Xl=null;function Jl(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){_u(e,t,r)}else n.current=null}function es(e,t,n){try{n()}catch(r){_u(e,t,r)}}var ts=!1;function ns(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&es(t,n,i)}o=o.next}while(o!==r)}}function rs(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 os(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 is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[go],delete t[vo],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function as(e){return 5===e.tag||3===e.tag||4===e.tag}function ls(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||as(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ss(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(ss(e,t,n),e=e.sibling;null!==e;)ss(e,t,n),e=e.sibling}function us(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(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var cs=null,ds=!1;function fs(e,t,n){for(n=n.child;null!==n;)ps(e,t,n),n=n.sibling}function ps(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(l){}switch(n.tag){case 5:Zl||Jl(n,t);case 6:var r=cs,o=ds;cs=null,fs(e,t,n),ds=o,null!==(cs=r)&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cs.removeChild(n.stateNode));break;case 18:null!==cs&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Bt(e)):so(cs,n.stateNode));break;case 4:r=cs,o=ds,cs=n.stateNode.containerInfo,ds=!0,fs(e,t,n),cs=r,ds=o;break;case 0:case 11:case 14:case 15:if(!Zl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&es(n,t,a),o=o.next}while(o!==r)}fs(e,t,n);break;case 1:if(!Zl&&(Jl(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){_u(n,t,l)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Zl=(r=Zl)||null!==n.memoizedState,fs(e,t,n),Zl=r):fs(e,t,n);break;default:fs(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Yl),t.forEach((function(t){var r=Tu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ms(e,t){var n=t.deletions;if(null!==n)for(var r=0;ro&&(o=l),r&=~a}if(r=o,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_s(r/1960))-r)){e.timeoutHandle=ro(wu.bind(null,e,Us,$s),r);break}wu(e,Us,$s);break;default:throw Error(i(329))}}}return ru(e,Ye()),e.callbackNode===n?ou.bind(null,e):null}function iu(e,t){var n=js;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Us,Us=n,null!==t&&au(t)),e}function au(e){null===Us?Us=e:Us.push.apply(Us,e)}function lu(e,t){for(t&=~Fs,t&=~zs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===Gs)var r=!1;else{if(e=Gs,Gs=null,Qs=0,0!==(6&Ts))throw Error(i(331));var o=Ts;for(Ts|=4,Xl=e.current;null!==Xl;){var a=Xl,l=a.child;if(0!==(16&Xl.flags)){var s=a.deletions;if(null!==s){for(var u=0;uYe()-Vs?fu(e,0):Fs|=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=Di(e,t))&&(vt(e,t,n),ru(e,n))}function Iu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cu(e,n)}function Tu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Cu(e,n)}function Pu(e,t){return qe(e,t)}function Nu(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 Ou(e,t,n,r){return new Nu(e,t,n,r)}function Ru(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Au(e,t){var n=e.alternate;return null===n?((n=Ou(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,o,a){var l=2;if(r=e,"function"===typeof e)Ru(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case x:return Du(n.children,o,a,t);case _:l=8,o|=8;break;case E:return(e=Ou(12,n,t,2|o)).elementType=E,e.lanes=a,e;case P:return(e=Ou(13,n,t,o)).elementType=P,e.lanes=a,e;case N:return(e=Ou(19,n,t,o)).elementType=N,e.lanes=a,e;case A:return Mu(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case C:l=10;break e;case I:l=9;break e;case T:l=11;break e;case O:l=14;break e;case R:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Ou(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Du(e,t,n,r){return(e=Ou(7,e,r,t)).lanes=n,e}function Mu(e,t,n,r){return(e=Ou(22,e,r,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function zu(e,t,n){return(e=Ou(6,e,null,t)).lanes=n,e}function Fu(e,t,n){return(t=Ou(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ju(e,t,n,r,o){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=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uu(e,t,n,r,o,i,a,l,s){return e=new ju(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Ou(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},zi(i),e}function Vu(e){if(!e)return To;e:{if(Be(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(Ao(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(Ao(n))return Mo(e,n,t)}return t}function Bu(e,t,n,r,o,i,a,l,s){return(e=Uu(n,r,!0,e,0,i,0,l,s)).context=Vu(null),n=e.current,(i=ji(r=eu(),o=tu(n))).callback=void 0!==t&&null!==t?t:null,Ui(n,i,o),e.current.lanes=o,vt(e,o,r),ru(e,r),e}function $u(e,t,n,r){var o=t.current,i=eu(),a=tu(o);return n=Vu(n),null===t.context?t.context=n:t.pendingContext=n,(t=ji(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ui(o,t,a))&&(nu(e,o,a,i),Vi(e,o,a)),a}function Hu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ku(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n{"use strict";var r=n(950);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},950:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(730)},153:(e,t,n)=>{"use strict";var r=n(43),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:l.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},202:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=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,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}v.prototype.isReactComponent={},v.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")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var k=b.prototype=new y;k.constructor=b,m(k,v.prototype),k.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,x={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var o,i={},a=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,o)&&!_.hasOwnProperty(o)&&(i[o]=t[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1{"use strict";e.exports=n(202)},579:(e,t,n)=>{"use strict";e.exports=n(153)},234:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0>>1,o=e[r];if(!(0>>1;ri(s,n))ui(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(ui(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 a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function k(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function w(e){if(g=!1,k(e),!m)if(null!==r(u))m=!0,A(S);else{var t=r(c);null!==t&&L(w,t.startTime-e)}}function S(e,n){m=!1,g&&(g=!1,y(C),C=-1),h=!0;var i=p;try{for(k(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!P());){var a=f.callback;if("function"===typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?f.callback=l:f===r(u)&&o(u),k(n)}else o(u);f=r(u)}if(null!==f)var s=!0;else{var d=r(c);null!==d&&L(w,d.startTime-n),s=!1}return s}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 x,_=!1,E=null,C=-1,I=5,T=-1;function P(){return!(t.unstable_now()-Te||125a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(g?(y(C),C=-1):g=!0,L(w,i-a))):(e.sortIndex=l,n(u,e),m||h||(m=!0,A(S))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},853:(e,t,n)=>{"use strict";e.exports=n(234)},222:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!==typeof e)return n;var r=(0,o.default)(e),i="function"===typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}})),n};var o=r(n(403))},477:()=>{}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&o&&r;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,n.d(i,a),i}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",(()=>{"use strict";var e={};n.r(e),n.d(e,{boolean:()=>vr,booleanish:()=>yr,commaOrSpaceSeparated:()=>xr,commaSeparated:()=>Sr,number:()=>kr,overloadedBoolean:()=>br,spaceSeparated:()=>wr});var t={};n.r(t),n.d(t,{attentionMarkers:()=>ra,contentInitial:()=>Yi,disable:()=>oa,document:()=>Zi,flow:()=>Ji,flowInitial:()=>Xi,insideSpan:()=>na,string:()=>ea,text:()=>ta});var r,o=n(43),i=n.t(o,2),a=n(391),l=n(950),s=n.t(l,2);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function v(e,t,n,o){void 0===o&&(o={});let{window:i=document.defaultView,v5Compat:a=!1}=o,l=i.history,s=r.Pop,f=null,g=v();function v(){return(l.state||{idx:null}).idx}function y(){s=r.Pop;let e=v(),t=null==e?null:e-g;g=e,f&&f({action:s,location:k.location,delta:t})}function b(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,n="string"===typeof e?e:m(e);return n=n.replace(/ $/,"%20"),d(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,l.replaceState(u({},l.state,{idx:g}),""));let k={get action(){return s},get location(){return e(i,l)},listen(e){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(c,y),f=e,()=>{i.removeEventListener(c,y),f=null}},createHref:e=>t(i,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=r.Push;let o=h(k.location,e,t);n&&n(o,e),g=v()+1;let u=p(o,g),c=k.createHref(o);try{l.pushState(u,"",c)}catch(d){if(d instanceof DOMException&&"DataCloneError"===d.name)throw d;i.location.assign(c)}a&&f&&f({action:s,location:k.location,delta:1})},replace:function(e,t){s=r.Replace;let o=h(k.location,e,t);n&&n(o,e),g=v();let i=p(o,g),u=k.createHref(o);l.replaceState(i,"",u),a&&f&&f({action:s,location:k.location,delta:0})},go:e=>l.go(e)};return k}var y;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(y||(y={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function b(e,t,n){return void 0===n&&(n="/"),k(e,t,n,!1)}function k(e,t,n,r){let o=L(("string"===typeof t?g(t):t).pathname||"/",n);if(null==o)return null;let i=w(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let l=0;null==a&&l{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(d(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let l=D([r,a.relativePath]),s=n.concat(a);e.children&&e.children.length>0&&(d(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),w(e.children,t,s,l)),(null!=e.path||e.index)&&t.push({path:l,score:N(l,e.index),routesMeta:s})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of S(e.path))o(e,t,r);else o(e,t)})),t}function S(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let a=S(r.join("/")),l=[];return l.push(...a.map((e=>""===e?i:[i,e].join("/")))),o&&l.push(...a),l.map((t=>e.startsWith("/")&&""===t?"/":t))}const x=/^:[\w-]+$/,_=3,E=2,C=1,I=10,T=-2,P=e=>"*"===e;function N(e,t){let n=e.split("/"),r=n.length;return n.some(P)&&(r+=T),t&&(r+=E),n.filter((e=>!P(e))).reduce(((e,t)=>e+(x.test(t)?_:""===t?C:I)),r)}function O(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,o={},i="/",a=[];for(let l=0;l(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),l=o.slice(1),s=r.reduce(((e,t,n)=>{let{paramName:r,isOptional:o}=t;if("*"===r){let e=l[n]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const s=l[n];return e[r]=o&&!s?void 0:(s||"").replace(/%2F/g,"/"),e}),{});return{params:s,pathname:i,pathnameBase:a,pattern:e}}function A(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return f(!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 L(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}const D=e=>e.join("/").replace(/\/\/+/g,"/"),M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");Error;function z(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const F=["post","put","patch","delete"],j=(new Set(F),["get",...F]);new Set(j),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},e,{params:Object.assign({},u,e.params),pathname:D([c,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:D([c,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,n,i);return t&&k?o.createElement(H.Provider,{value:{location:U({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:r.Pop}},k):k}function Z(){let e=function(){var e;let t=o.useContext(W),n=ne(te.UseRouteError),r=re(te.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=z(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r};return o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),n?o.createElement("pre",{style:i},n):null,null)}const Y=o.createElement(Z,null);class X extends o.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?o.createElement(K.Provider,{value:this.props.routeContext},o.createElement(W.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function J(e){let{routeContext:t,match:n,children:r}=e,i=o.useContext(V);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),o.createElement(K.Provider,{value:t},r)}function ee(e,t,n,r){var i;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===r&&(r=null),null==e){var a;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(a=r)&&a.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let l=e,s=null==(i=n)?void 0:i.errors;if(null!=s){let e=l.findIndex((e=>e.route.id&&void 0!==(null==s?void 0:s[e.route.id])));e>=0||d(!1),l=l.slice(0,Math.min(l.length,e+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let o=0;o=0?l.slice(0,c+1):[l[0]];break}}}return l.reduceRight(((e,r,i)=>{let a,d=!1,f=null,p=null;var h;n&&(a=s&&r.route.id?s[r.route.id]:void 0,f=r.route.errorElement||Y,u&&(c<0&&0===i?(h="route-fallback",!1||oe[h]||(oe[h]=!0),d=!0,p=null):c===i&&(d=!0,p=r.route.hydrateFallbackElement||null)));let m=t.concat(l.slice(0,i+1)),g=()=>{let t;return t=a?f:d?p:r.route.Component?o.createElement(r.route.Component,null):r.route.element?r.route.element:e,o.createElement(J,{match:r,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===i)?o.createElement(X,{location:n.location,revalidation:n.revalidation,component:f,error:a,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()}),null)}var te=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(te||{});function ne(e){let t=o.useContext(B);return t||d(!1),t}function re(e){let t=function(){let e=o.useContext(K);return e||d(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||d(!1),n.route.id}const oe={};i.startTransition;function ie(e){d(!1)}function ae(e){let{basename:t="/",children:n=null,location:i,navigationType:a=r.Pop,navigator:l,static:s=!1,future:u}=e;q()&&d(!1);let c=t.replace(/^\/*/,"/"),f=o.useMemo((()=>({basename:c,navigator:l,static:s,future:U({v7_relativeSplatPath:!1},u)})),[c,u,l,s]);"string"===typeof i&&(i=g(i));let{pathname:p="/",search:h="",hash:m="",state:v=null,key:y="default"}=i,b=o.useMemo((()=>{let e=L(p,c);return null==e?null:{location:{pathname:e,search:h,hash:m,state:v,key:y},navigationType:a}}),[c,p,h,m,v,y,a]);return null==b?null:o.createElement($.Provider,{value:f},o.createElement(H.Provider,{children:n,value:b}))}function le(e){let{children:t,location:n}=e;return Q(se(t),n)}new Promise((()=>{}));o.Component;function se(e,t){void 0===t&&(t=[]);let n=[];return o.Children.forEach(e,((e,r)=>{if(!o.isValidElement(e))return;let i=[...t,r];if(e.type===o.Fragment)return void n.push.apply(n,se(e.props.children,i));e.type!==ie&&d(!1),e.props.index&&e.props.children&&d(!1);let a={id:e.props.id||i.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=se(e.props.children,i)),n.push(a)})),n}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(Dl){}new Map;const ue=i.startTransition;s.flushSync,i.useId;function ce(e){let{basename:t,children:n,future:r,window:i}=e,a=o.useRef();var l;null==a.current&&(a.current=(void 0===(l={window:i,v5Compat:!0})&&(l={}),v((function(e,t){let{pathname:n,search:r,hash:o}=e.location;return h("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:m(t)}),null,l)));let s=a.current,[u,c]=o.useState({action:s.action,location:s.location}),{v7_startTransition:d}=r||{},f=o.useCallback((e=>{d&&ue?ue((()=>c(e))):c(e)}),[c,d]);return o.useLayoutEffect((()=>s.listen(f)),[s,f]),o.createElement(ae,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:s,future:r})}"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var de,fe;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(de||(de={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(fe||(fe={}));const pe=n.p+"static/media/IconTitle.8c1197cb53cdb26ecdd7df17ac1107b5.svg";const he=n.p+"static/media/avatar.e6a82bfc54b2a0b85cec8ec36a4db6d0.svg",me={username:"",password:""},ge={username:"Anonymous",firstname:"\u0413\u043e\u0441\u0442\u044c",lastName:"",isAuthenticated:!1},ve=!1,ye=ve?"http://localhost:8000":"";let be=ge;async function ke(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{const n=await fetch(ye+e,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});return n.ok?(console.log(n),await n.json()):(console.error("Error fetching:","Network response was not ok"),null)}catch(n){return console.error("Error fetching:",n),null}}async function we(){const e=await ke("/users/logout/");null!==e&&(be=e,window.location.reload())}const Se="store",xe={store:"game",vacancy:"developer"};function _e(){let{page:e,subpage:t}=function(){let{matches:e}=o.useContext(K),t=e[e.length-1];return t?t.params:{}}();e||(e=Se);let n="";return t?n=t:"store"===e?n=xe.store:"vacancy"===e&&(n=xe.vacancy),{page:e,subpage:n}}function Ee(){const[e,t]=(0,o.useState)(null);(0,o.useEffect)((()=>{null===e&&async function(){const e=await ke("/users/get-me/");if(null!==e){const t=e;return be=t,t.isAuthenticated&&ve&&t.avatar&&(t.avatar=ye+t.avatar),t}return ge}().then((e=>{null!==e&&t(e)}))}),[e])}function Ce(){let{page:e,subpage:t}=_e();const[n,r]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null===n&&async function(e,t){const n=await ke(["/api/get-collection",e,t].join("/"));if(null!==n){const e=n;for(let t=0;t{null!==e&&r(e)}))}),[n,e,t]),{items:n,collection:t}}function Ie(){let{page:e,subpage:t}=_e();const[n,r]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null===n&&async function(e,t){const n=await ke(["/api/get-item",e,t].join("/"));if(null!==n){const e=n;return e.image=ye+e.image,e}return null}(e,t||"").then((e=>{null!==e&&r(e)}))}),[n,e,t]),n}function Te(e){return Te="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},Te(e)}function Pe(e){var t=function(e,t){if("object"!==Te(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Te(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Te(t)?t:String(t)}function Ne(e,t,n){return(t=Pe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oe(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}var Re,Ae,Le,De={parse:function(e){if("string"!==typeof e)return{};if(!(e=e.trim().replace(/^[?#&]/,"")))return{};var t=/\?(.+)$/gi.exec(e);return(t?t[1]:e).split("&").reduce((function(e,t){var n=t.split("=");return n[1]&&(e[n[0]]=decodeURIComponent(n[1])),e}),{})},stringify:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==Te(e)||null===e)return"";t=function(e){for(var t=1;t{const n=(e=>Object.keys(e).map((t=>{let n=e[t];return t=encodeURIComponent(t||""),n=encodeURIComponent(void 0===n?"":n),`${t}=${n}`})).join("&"))(t);return fetch(e,{method:"POST",body:n,mode:"cors",credentials:"include",headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((e=>e.json()))};class He{static MAX_INT32=2147483647;timeoutId=null;lastEvent;config;stackEvents=[];constructor(e){this.config=e}getIntId(){return Math.floor(Math.random()*He.MAX_INT32)}getCurrentTime(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=Date.now().toString(10);return e?t+"000":t}sendStats(e){return this.stackEvents.push(e),this.timeoutId&&window.clearTimeout(this.timeoutId),new Promise(((e,t)=>{this.timeoutId=window.setTimeout((()=>{const n={events:JSON.stringify(this.stackEvents),sak_version:ze};this.stackEvents=[];const r=((e,t)=>{const{__vkidDomain:n,app:r}=t.get();return`https://${n}/${e}?app_id=${r}&v=5.207`})("stat_events_vkid_sdk",this.config);$e(r,n).then(e).catch(t)}),0)}))}getBaseEvent(e){return{id:this.getIntId(),prev_event_id:this.lastEvent?.id||0,prev_nav_id:0,timestamp:this.getCurrentTime(),url:window.location.href,screen:e}}logEvent(e){return this.lastEvent=e,this.sendStats(e)}}class Ke{productStatsCollector;constructor(e){this.productStatsCollector=e}logEvent(e){const t={...this.productStatsCollector.getBaseEvent(e.screen),type:Re.TYPE_ACTION,[Re.TYPE_ACTION]:e.event};return this.productStatsCollector.logEvent(t)}}class We{registrationStatsCollector;uniqueSessionId;constructor(e){const t=new He(e),n=new Ke(t);this.registrationStatsCollector=new Me(n)}setUniqueSessionId(e){this.uniqueSessionId=e}getFields(){const e=[{name:"sdk_type",value:"vkid"}];return this.uniqueSessionId&&e.push({name:"unique_session_id",value:this.uniqueSessionId}),e}sendCustomAuthStart(e){const t=this.getFields();return e&&t.push({name:"oauth_service",value:e}),this.registrationStatsCollector.logEvent(Le.NOWHERE,{event_type:"custom_auth_start",fields:t})}}class qe{promise;callback;resolve;reject;constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}setCallback=e=>{this.callback=e};removeCallback=()=>{this.callback=null};sendSuccess=e=>{this.resolve(e),this.callback&&this.callback()};sendError=e=>{this.reject(e),this.callback&&this.callback()};get value(){return this.promise}}function Ge(e,t){try{const n=new Date((new Date).getTime()+(t.expires||Be)).toUTCString(),r=location.host.split(".").slice(-2).join(".");document.cookie=[`vkid_sdk:${e}=${encodeURIComponent(t.value||"")}`,`expires=${n}`,"path=/",`domain=.${r}`,"SameSite=Strict","Secure"].join("; ")}catch(Dl){}}function Qe(e){const t=location.host.split(".").slice(-2).join(".");try{document.cookie=[`vkid_sdk:${e}=`,"expires=Thu, 01 Jan 1970 00:00:00 UTC","path=/","SameSite=Strict","Secure",`domain=.${t}`].join("; ")}catch(Dl){}}function Ze(e,t){if(t.value)return Ge(e,t),t.value;let n;return n=function(e){try{let t=document.cookie.match(new RegExp("(?:^|; )"+("vkid_sdk:"+e).replace(/([.$?*|{}()\[\]\\\/+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}catch(Dl){return}}(e),n||(n=function(){let e="",t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;for(;t--;)e+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return e}(48),Ge(e,{...t,value:n})),n}const Ye=e=>Ze("state",{value:e}),Xe=e=>Ze("codeVerifier",{value:e}),Je=()=>Qe("state");var et,tt;!function(e){e.AUTH="from_custom_auth",e.BUTTON_ONE_TAP="from_one_tap",e.FLOATING_ONE_TAP="from_floating_one_tap",e.MULTIBRANDING="from_multibranding"}(et||(et={})),function(e){e[e.EventNotSupported=100]="EventNotSupported",e[e.CannotCreateNewTab=101]="CannotCreateNewTab",e[e.NewTabHasBeenClosed=102]="NewTabHasBeenClosed",e[e.AuthorizationFailed=103]="AuthorizationFailed",e[e.StateMismatch=104]="StateMismatch"}(tt||(tt={}));const nt={[tt.EventNotSupported]:"Event is not supported",[tt.CannotCreateNewTab]:"Cannot create new tab. Try checking your browser settings",[tt.NewTabHasBeenClosed]:"New tab has been closed",[tt.AuthorizationFailed]:"Authorization failed with an error",[tt.StateMismatch]:"The received state does not match the expected state"};class rt extends qe{state=(()=>Ye())();sendSuccessData=e=>{this.sendSuccess({type:e.type,code:e.code,state:e.state,device_id:e.device_id,expires_in:e.expires_in,ext_id:e.ext_id})};sendNewTabHasBeenClosed=()=>{this.sendError({code:tt.NewTabHasBeenClosed,error:nt[tt.NewTabHasBeenClosed],state:this.state})};sendAuthorizationFailed=e=>{this.sendError({code:tt.AuthorizationFailed,error:nt[tt.AuthorizationFailed],error_description:JSON.stringify(e),state:this.state})};sendEventNotSupported=()=>{this.sendError({code:tt.EventNotSupported,error:nt[tt.EventNotSupported],state:this.state})};sendCannotCreateNewTab=()=>{this.sendError({code:tt.CannotCreateNewTab,error:nt[tt.CannotCreateNewTab],state:this.state})};sendStateMismatchError=()=>{this.sendError({code:tt.StateMismatch,error:nt[tt.StateMismatch],state:this.state})}}var ot,it,at;!function(e){e.Redirect="redirect",e.InNewTab="new_tab",e.InNewWindow="new_window"}(ot||(ot={})),function(e){e.Redirect="redirect",e.Callback="callback"}(it||(it={})),function(e){e.Default="",e.None="none",e.Login="login",e.Consent="consent",e.SelectAccount="select_account"}(at||(at={}));const lt=[".vk.com",".vk.ru"];var st=n(523),ut=n.n(st),ct=n(368),dt=n.n(ct);const ft=e=>{const t=dt()(e);return ut().stringify(t).replace(/=*$/g,"").replace(/\+/g,"-").replace(/\//g,"_")},pt=(e,t,n)=>{const r={...t,v:ze,sdk_type:"vkid",app_id:n.app,redirect_uri:n.redirectUrl,debug:n.__debug?1:null,localhost:n.__localhost?1:null},o=De.stringify(r,{skipNull:!0});return`https://${n.__vkidDomain}/${e}?${o}`},ht=(e,t)=>{const n=t.get().redirectUrl,r=n.includes("?");return`${n}${r?"&":"?"}${Object.keys(e).map((t=>encodeURIComponent(t)+"="+encodeURIComponent(e[t]))).join("&")}`},mt=e=>{if(Object.values(e).filter(Boolean).length)return btoa(JSON.stringify(e))},gt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return function(){let n="",r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t;for(;r--;)n+=e[Math.random()*e.length|0];return n}}("qazwsxedcrfvtgbyhnujmikol",6);var vt,yt;!function(e){e.OK="ok_ru",e.MAIL="mail_ru",e.VK="vkid"}(vt||(vt={})),function(e){e[e.OK=vt.OK]="OK",e[e.MAIL=vt.MAIL]="MAIL"}(yt||(yt={}));class bt{static config;dataService;opener;interval;id=(()=>gt())();analytics;state;constructor(){this.analytics=new We(bt.config)}close=()=>{this.opener&&this.opener.close()};handleMessage=e=>{let{origin:t,source:n,data:r}=e;if(n===this.opener&&this.opener&&(e=>!!lt.find((t=>e.endsWith(t))))(t))if(this.unsubscribe(),r.payload.error)this.dataService.sendAuthorizationFailed(r.payload.error);else if(r.action!=="oauth2_authorize_response"+this.state)this.dataService.sendEventNotSupported();else if(this.state!==r.payload.state)this.dataService.sendStateMismatchError();else{!function(e){if(e)try{const t=new Date((new Date).getTime()+31536e6).toUTCString(),n=location.host.split(".").slice(-2).join(".");document.cookie=[`vkidExtId=${encodeURIComponent(e||"")}`,`expires=${t}`,"path=/",`domain=.${n}`,"SameSite=Strict","Secure"].join("; ")}catch(Dl){}}(r.payload.ext_id),delete r.payload.ext_id,Je(),this.state="";const{responseMode:e}=bt.config.get();e===it.Redirect?(this.redirectWithPayload(r.payload),this.close()):this.dataService.sendSuccessData(r.payload)}};handleInterval=()=>{this.opener?.closed&&(this.unsubscribe(),this.dataService.sendNewTabHasBeenClosed())};subscribe=()=>{this.interval=window.setInterval(this.handleInterval,1e3),window.addEventListener("message",this.handleMessage),this.dataService.removeCallback()};unsubscribe=()=>{window.removeEventListener("message",this.handleMessage),clearInterval(this.interval),this.dataService.setCallback(this.close)};loginInNewTab=e=>{const t=window.open(e,"_blank");return this.handleWindowOpen(t)};loginInNewWindow=e=>{const t=`top=${screen.height/2-400},left=${screen.width/2-400},width=800,height=800,location`,n=window.open(e,"_blank",t);return this.handleWindowOpen(n)};handleWindowOpen=e=>(this.dataService=new rt,this.opener=e,this.opener?this.subscribe():this.dataService.sendCannotCreateNewTab(),this.dataService.value);loginByRedirect=e=>(location.assign(e),Promise.resolve());login=e=>{const t=bt.config.get(),{scope:n,app:r,codeChallenge:o,prompt:i}=t,a=e?.statsFlowSource||et.AUTH,l=e?.uniqueSessionId||this.id;a===et.AUTH&&this.analytics.setUniqueSessionId(l),Xe(t.codeVerifier),this.state=Ye(t.state);const s=[...i];Object.values(yt).includes(e?.provider)&&s.unshift(at.Login);const u={lang_id:e?.lang,scheme:e?.scheme,code_challenge:o||ft(Xe()),code_challenge_method:"s256",client_id:r,response_type:"code",scope:n,state:this.state,provider:e?.provider,prompt:s.join(" ").trim(),stats_info:mt({flow_source:a,session_id:l})};t.mode!==ot.Redirect&&(a===et.AUTH&&this.analytics.sendCustomAuthStart(e?.provider),u.origin=location.protocol+"//"+location.hostname);let c=pt("authorize",u,t);switch(e?.screen&&(Object.assign(u,{oauth_version:2,screen:e?.screen,redirect_state:this.state}),c=pt("auth",u,t)),t.mode){case ot.InNewWindow:return this.loginInNewWindow(c);case ot.InNewTab:return this.loginInNewTab(c);default:return a===et.AUTH?this.analytics.sendCustomAuthStart(e?.provider).finally((()=>{this.loginByRedirect(c)})):this.loginByRedirect(c)}};checkState(e){if(this.state!==e)return{code:tt.StateMismatch,error:nt[tt.StateMismatch],state:e};Je(),this.state=""}exchangeCode(e,t){const n=bt.config.get();this.state=Ye(n.state);const r={grant_type:"authorization_code",redirect_uri:n.redirectUrl,client_id:n.app,code_verifier:Xe(),state:this.state,device_id:t},o=De.stringify(r);return fetch(`https://${n.__vkidDomain}/oauth2/auth?${o}`,{method:"POST",body:new URLSearchParams({code:e})}).then((e=>this.oauthSectionFetchHandler(e))).then((e=>{const t=this.checkState(e.state);if(t)throw t;return Qe("codeVerifier"),e}))}refreshToken(e,t){const n=bt.config.get();this.state=Ye(n.state);const r={grant_type:"refresh_token",redirect_uri:n.redirectUrl,client_id:n.app,device_id:t,state:this.state},o=De.stringify(r);return fetch(`https://${n.__vkidDomain}/oauth2/auth?${o}`,{method:"POST",body:new URLSearchParams({refresh_token:e})}).then((e=>this.oauthSectionFetchHandler(e))).then((e=>{const t=this.checkState(e.state);if(t)throw t;return bt.config.update({state:n.state}),e}))}logout(e){const t=bt.config.get(),n={client_id:t.app},r=De.stringify(n);return fetch(`https://${t.__vkidDomain}/oauth2/logout?${r}`,{method:"POST",body:new URLSearchParams({access_token:e})}).then((e=>this.oauthSectionFetchHandler(e)))}userInfo(e){const t=bt.config.get(),n={client_id:t.app},r=De.stringify(n);return fetch(`https://${t.__vkidDomain}/oauth2/user_info?${r}`,{method:"POST",body:new URLSearchParams({access_token:e})}).then((e=>this.oauthSectionFetchHandler(e)))}publicInfo(e){const t=bt.config.get(),n={client_id:t.app},r=De.stringify(n);return fetch(`https://${t.__vkidDomain}/oauth2/public_info?${r}`,{method:"POST",body:new URLSearchParams({id_token:e})}).then((e=>this.oauthSectionFetchHandler(e)))}oauthSectionFetchHandler(e){return e.json().then((e=>{if("error"in e)throw e;return e}))}redirectWithPayload(e){location.assign(ht(e,bt.config))}}class kt{actionStatsCollector;constructor(e){this.actionStatsCollector=e}logEvent(e){const t={type:Ae.TYPE_SAK_SESSION_EVENT_ITEM,[Ae.TYPE_SAK_SESSION_EVENT_ITEM]:e};return this.actionStatsCollector.logEvent({screen:Le.NOWHERE,event:t})}sendSdkInit(){this.logEvent({step:"vkid_sdk_init"})}}const wt=e=>(t,n,r)=>{const o=r.value;r.value=function(t){const n=Object.keys(e);for(let r of n){const n=e[r];n?.forEach((e=>{const{result:n,makeError:o}=e(t[r]);if(!n)throw new Error(o(r))}))}return o?.apply(this,arguments)}},St=e=>{let t=!0;return("string"===typeof e&&""===e.trim()||void 0===e||null==e)&&(t=!1),{result:t,makeError:e=>`${e} is required parameter`}},xt=e=>({result:["number","string"].includes(typeof e)&&!isNaN(parseInt(e)),makeError:e=>`${e} should be number`});class _t{sakSessionStatsCollector;store=(()=>({app:0,redirectUrl:"",mode:ot.InNewTab,responseMode:it.Redirect,codeVerifier:"",state:"",prompt:[at.Default],__loginDomain:je,__oauthDomain:Ue,__vkidDomain:Ve}))();constructor(){const e=new He(this),t=new Ke(e);this.sakSessionStatsCollector=new kt(t)}init(e){return this.set(e),this.sakSessionStatsCollector.sendSdkInit(),this}update(e){return this.set(e)}set(e){return this.store={...this.store,...e},this}get(){return this.store}}!function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);i>3&&a&&Object.defineProperty(t,n,a)}([wt({app:[St,xt],redirectUrl:[St]})],_t.prototype,"init",null);class Et{events=(()=>{return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}};var e})();on(e,t){return this.events.on(e,t),this}off(e,t){return this.events.off(e,t),this}}var Ct;!function(e){e.MESSAGE="message",e.UNSUPPORTED_MESSAGE="unsupported_message"}(Ct||(Ct={}));const It="vk-sak-sdk";class Tt extends Et{config;constructor(e){super(),this.config=e,this.handleMessage=this.handleMessage.bind(this),window.addEventListener("message",this.handleMessage)}destroy(){delete this.config,window.removeEventListener("message",this.handleMessage)}sendMessage(e){this.config.iframe.contentWindow?.postMessage({type:It,...e},this.config.origin)}handleMessage(e){this.config.origin&&e.origin===this.config.origin&&e.source===this.config.iframe.contentWindow&&e.data?.type===It?this.events.emit(Ct.MESSAGE,e.data):this.events.emit(Ct.UNSUPPORTED_MESSAGE,e.data)}}var Pt,Nt,Ot;!function(e){e.LOGIN_SUCCESS="onetap: success login",e.SHOW_FULL_AUTH="onetap: show full auth",e.START_AUTHORIZE="onetap: start authorize",e.NOT_AUTHORIZED="onetap: not authorized",e.AUTHENTICATION_INFO="onetap: authentication_info"}(Pt||(Pt={})),function(e){e.LOADING="loading",e.LOADED="loaded",e.NOT_LOADED="not_loaded"}(Nt||(Nt={})),function(e){e[e.TimeoutExceeded=0]="TimeoutExceeded",e[e.InternalError=1]="InternalError",e[e.AuthError=2]="AuthError"}(Ot||(Ot={}));const Rt={[Ot.TimeoutExceeded]:"timeout",[Ot.InternalError]:"internal error",[Ot.AuthError]:"auth error"};var At;!function(e){e.START_LOAD="common: start load",e.LOAD="common: load",e.SHOW="common: show",e.HIDE="common: hide",e.CLOSE="common: close",e.ERROR="common: error",e.RESIZE="common: resize"}(At||(At={}));const Lt=e=>`\n\n `;class Dt extends Et{static config;static auth;id=(()=>gt())();lang;scheme;vkidAppName="";config;timeoutTimer;bridge;container;templateRenderer=(()=>Lt)();elements;constructor(){super(),this.config=Dt.config}render(e){const{container:t,...n}=e;return this.container=t,this.renderTemplate(),this.registerElements(),"fastAuthDisabled"in e&&e.fastAuthDisabled?(this.setState(Nt.NOT_LOADED),this):(this.loadWidgetFrame(n),this)}close(){clearTimeout(this.timeoutTimer),this.elements?.root?.remove(),this.bridge?.destroy(),this.events.emit(At.CLOSE)}show(){return this.elements.root&&(this.elements.root.style.display="block",this.events.emit(At.SHOW)),this}hide(){return this.elements.root&&(this.elements.root.style.display="none",this.events.emit(At.HIDE)),this}onStartLoadHandler(){this.setState(Nt.LOADING),this.timeoutTimer=setTimeout((()=>{this.onErrorHandler({code:Ot.TimeoutExceeded,text:Rt[Ot.TimeoutExceeded]})}),5e3),this.events.emit(At.START_LOAD)}onLoadHandler(){clearTimeout(this.timeoutTimer),setTimeout((()=>{this.setState(Nt.LOADED)}),300),this.events.emit(At.LOAD)}onErrorHandler(e){clearTimeout(this.timeoutTimer),this.setState(Nt.NOT_LOADED),this.events.emit(Pt.AUTHENTICATION_INFO,{is_online:!1}),this.events.emit(At.ERROR,e),this.elements?.iframe?.remove()}onBridgeMessageHandler(e){switch(e.handler){case At.LOAD:this.onLoadHandler();break;case At.CLOSE:this.close();break;case At.ERROR:this.onErrorHandler({code:Ot.InternalError,text:Rt[Ot.InternalError],details:e.params});break;case At.RESIZE:this.elements.root.style.height=`${e.params.height}px`}}renderTemplate(){this.container.insertAdjacentHTML("beforeend",this.templateRenderer(this.id))}loadWidgetFrame(e){this.onStartLoadHandler(),this.bridge=new Tt({iframe:this.elements.iframe,origin:`https://${this.config.get().__vkidDomain}`}),this.bridge.on(Ct.MESSAGE,(e=>this.onBridgeMessageHandler(e))),this.elements.iframe.src=this.getWidgetFrameSrc(this.config.get(),e)}getWidgetFrameSrc(e,t){const n={...t,origin:location.protocol+"//"+location.host,oauth_version:2};return pt(this.vkidAppName,n,e)}setState(e){this.elements.root.setAttribute("data-state",e)}registerElements(){const e=document.getElementById(this.id);this.elements={root:e,iframe:e.querySelector("iframe")}}redirectWithPayload(e){location.assign(ht(e,Dt.config))}}!function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);i>3&&a&&Object.defineProperty(t,n,a)}([wt({container:[St]})],Dt.prototype,"render",null);const Mt=new _t;bt.config=Mt;const zt=new bt;var Ft,jt;Dt.config=Mt,Dt.auth=zt,function(e){e[e.RUS=0]="RUS",e[e.UKR=1]="UKR",e[e.ENG=3]="ENG",e[e.SPA=4]="SPA",e[e.GERMAN=6]="GERMAN",e[e.POL=15]="POL",e[e.FRA=16]="FRA",e[e.UZB=65]="UZB",e[e.TURKEY=82]="TURKEY",e[e.KAZ=97]="KAZ",e[e.BEL=114]="BEL"}(Ft||(Ft={})),function(e){e.LIGHT="light",e.DARK="dark"}(jt||(jt={}));const Ut=e=>null===e||void 0===e;class Vt{registrationStatsCollector;uniqueSessionId;constructor(e){const t=new He(e),n=new Ke(t);this.registrationStatsCollector=new Me(n)}setUniqueSessionId(e){this.uniqueSessionId=e}getFields(){const e=[{name:"sdk_type",value:"vkid"}];return this.uniqueSessionId&&e.push({name:"unique_session_id",value:this.uniqueSessionId}),e}sendMultibrandingOauthAdded(e){let{screen:t,fields:n}=e;this.registrationStatsCollector.logEvent(t,{event_type:"multibranding_oauth_added",fields:[...this.getFields(),...n]})}sendOkButtonShow(e){let{screen:t,isIcon:n}=e;this.registrationStatsCollector.logEvent(t,{event_type:"ok_button_show",fields:[...this.getFields(),{name:"button_type",value:n?"icon":"default"}]})}sendVkButtonShow(e){let{screen:t,isIcon:n}=e;this.registrationStatsCollector.logEvent(t,{event_type:"vk_button_show",fields:[...this.getFields(),{name:"button_type",value:n?"icon":"default"}]})}sendMailButtonShow(e){let{screen:t,isIcon:n}=e;this.registrationStatsCollector.logEvent(t,{event_type:"mail_button_show",fields:[...this.getFields(),{name:"button_type",value:n?"icon":"default"}]})}sendVkButtonTap(e){let{screen:t,isIcon:n}=e;return this.registrationStatsCollector.logEvent(t,{event_type:"vk_button_tap",fields:[...this.getFields(),{name:"button_type",value:n?"icon":"default"}]})}sendOkButtonTap(e){let{screen:t,isIcon:n}=e;return this.registrationStatsCollector.logEvent(t,{event_type:"ok_button_tap",fields:[...this.getFields(),{name:"button_type",value:n?"icon":"default"}]})}sendMailButtonTap(e){let{screen:t,isIcon:n}=e;return this.registrationStatsCollector.logEvent(t,{event_type:"mail_button_tap",fields:[...this.getFields(),{name:"button_type",value:n?"icon":"default"}]})}}var Bt,$t;!function(e){e.VK="vk",e.OK="ok_ru",e.MAIL="mail_ru"}(Bt||(Bt={})),function(e){e.LOGIN_SUCCESS="oauthlist: success login"}($t||($t={}));const Ht={[vt.OK]:"OK",[vt.MAIL]:"Mail",[vt.VK]:"VK ID"},Kt={[Ft.RUS]:"\u0438\u043b\u0438 \u0432\u043e\u0439\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 VK\xa0ID\xa0\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437\xa0\u0441\u0435\u0440\u0432\u0438\u0441\u0430",[Ft.UKR]:"\u0430\u0431\u043e \u0443\u0432\u0456\u0439\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 VK\xa0ID\xa0\u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c \u0434\u0430\u043d\u0438\u0445 \u0456\u0437\xa0\u0441\u0435\u0440\u0432\u0456\u0441\u0443",[Ft.BEL]:"\u0446\u0456 \u045e\u0432\u0430\u0439\u0441\u0446\u0456 \u043f\u0440\u0430\u0437 VK\xa0ID\xa0\u0437 \u0432\u044b\u043a\u0430\u0440\u044b\u0441\u0442\u0430\u043d\u043d\u0435\u043c \u0434\u0430\u043d\u044b\u0445 \u0437\xa0\u0441\u044d\u0440\u0432\u0456\u0441\u0443",[Ft.KAZ]:"\u0441\u0435\u0440\u0432\u0438\u0441\u0442\u0435\u0433\u0456 \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440\u0434\u0456 \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u044b\u043f VK\xa0ID \u0430\u0440\u049b\u044b\u043b\u044b \u043a\u0456\u0440\u0443",[Ft.UZB]:"yoki xizmatning\xa0ma\u02bclumotlaridan\xa0foydalangan holda VK\xa0ID\xa0orqali kirish",[Ft.ENG]:"or\xa0sign\xa0in with VK\xa0ID\xa0using information from a\xa0service",[Ft.SPA]:"o\xa0iniciar sesi\xf3n con\xa0VK\xa0ID utilizando la informaci\xf3n de\xa0un\xa0servicio",[Ft.GERMAN]:"oder melden Sie sich mit\xa0Ihrer\xa0VK-ID an, indem Sie Informationen aus dem\xa0Dienst verwenden",[Ft.POL]:"lub wejd\u017a poprzez VK\xa0ID\xa0przy u\u017cyciu danych z\xa0serwisu",[Ft.FRA]:"ou se connecter avec VK\xa0ID\xa0en utilisant les\xa0informations d'un\xa0service",[Ft.TURKEY]:"Ya\xa0da hizmetteki verileri kullanarak\xa0VK\xa0ID hizmeti yard\u0131m\u0131yla gir"},Wt={[Ft.RUS]:{[vt.OK]:"\u0412\u043e\u0439\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 OK",[vt.MAIL]:"\u0412\u043e\u0439\u0442\u0438 \u0441 \u041f\u043e\u0447\u0442\u043e\u0439 Mail",[vt.VK]:"\u0412\u043e\u0439\u0442\u0438 \u0441 VK ID"},[Ft.UKR]:"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 {provider}",[Ft.BEL]:"\u0423\u0432\u0430\u0439\u0441\u0446\u0456 \u0437 {provider}",[Ft.KAZ]:"{provider} \u043a\u0456\u0440\u0443",[Ft.UZB]:"{provider} orqali kirish",[Ft.ENG]:"Sign in with {provider}",[Ft.SPA]:"Iniciar sesi\xf3n con {provider}",[Ft.GERMAN]:"Mit {provider} anmelden",[Ft.POL]:"Zaloguj si\u0119 z {provider}",[Ft.FRA]:"Se connecter avec {provider}",[Ft.TURKEY]:"{provider}'den gir"},qt={[vt.VK]:e=>`\n\n `,[vt.OK]:e=>`\n\n `,[vt.MAIL]:e=>`\n\n `},Gt=44,Qt=8;class Zt extends Dt{analytics;providers;flowSource;uniqueSessionId;constructor(){super(),this.analytics=new Vt(this.config)}sendStartAnalytics(){const e=new Set(this.providers);this.analytics.sendMultibrandingOauthAdded({screen:this.flowSource,fields:[{name:Bt.VK,value:(+e.has(vt.VK)).toString()},{name:Bt.OK,value:(+e.has(vt.OK)).toString()},{name:Bt.MAIL,value:(+e.has(vt.MAIL)).toString()}]}),e.has(vt.VK)&&this.analytics.sendVkButtonShow({screen:this.flowSource,isIcon:e.size>1}),e.has(vt.OK)&&this.analytics.sendOkButtonShow({screen:this.flowSource,isIcon:e.size>1}),e.has(vt.MAIL)&&this.analytics.sendMailButtonShow({screen:this.flowSource,isIcon:e.size>1})}render(e){return this.lang=e?.lang||Ft.RUS,this.scheme=e?.scheme||jt.LIGHT,this.providers=e.oauthList,this.flowSource=e?.flowSource||Le.MULTIBRANDING,this.uniqueSessionId=e?.uniqueSessionId||this.id,this.analytics.setUniqueSessionId(this.uniqueSessionId),this.templateRenderer=(e=>t=>{const n=e.lang||Ft.RUS,r=e.scheme||"light",o=Ut(e.borderRadius)?Qt:e.borderRadius,i=e.height||Gt,a=i<40?24:28,l=i<40?6:i<48?8:12,s=e.oauthList.map((e=>{const t=n===Ft.RUS?Wt[n][e]:`${Wt[n].replace("{provider}",Ht[e])}`;return`\n \n `})).join(""),u=()=>{const e=document.querySelector(`#${t} .VkIdSdk_oauth_button_text`),n=document.querySelector(`#${t} .VkIdSdk_oauth_item`);e&&n&&e.clientWidth>=n.clientWidth-2*a-32-2*l&&document.querySelector(`#${t} .VkIdSdk_oauth_list`)?.removeAttribute("data-single-mode")};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",u):setTimeout(u,0);const c=1===e.oauthList.length?"data-single-mode":"";return`\n \n \n
\n
${Kt[n]}
\n
${s}
\n
\n `})({lang:this.lang,oauthList:e.oauthList,height:e.styles?.height,borderRadius:e.styles?.borderRadius,scheme:this.scheme}),this.container=e.container,this.renderTemplate(),this.registerElements(),this.setState(Nt.LOADED),this.sendStartAnalytics(),this.elements.root.addEventListener("click",this.handleClick.bind(this)),this}handleClick(e){const t=e.target.closest("[data-oauth]");if(!t)return;const n=t.getAttribute("data-oauth"),r={lang:this.lang,scheme:this.scheme,provider:n,statsFlowSource:et.MULTIBRANDING,uniqueSessionId:this.uniqueSessionId};let o;switch(n){case vt.VK:o=this.analytics.sendVkButtonTap.bind(this.analytics);break;case vt.OK:o=this.analytics.sendOkButtonTap.bind(this.analytics);break;case vt.MAIL:o=this.analytics.sendMailButtonTap.bind(this.analytics)}const i=()=>{Zt.auth.login(r).then((e=>{this.events.emit($t.LOGIN_SUCCESS,e)})).catch((e=>{this.events.emit(At.ERROR,{code:Ot.AuthError,text:e.error})}))},a={screen:this.flowSource,isIcon:this.providers.length>1};this.config.get().mode===ot.Redirect?o(a).finally(i):(o(a),i())}}var Yt,Xt;!function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);i>3&&a&&Object.defineProperty(t,n,a)}([wt({oauthList:[e=>({result:e?.length&&e.length>=1,makeError:()=>"OAuth list can't be empty"})]})],Zt.prototype,"render",null),function(e){e.Primary="primary",e.Secondary="secondary"}(Yt||(Yt={})),function(e){e[e.SIGN_IN=0]="SIGN_IN",e[e.SIGN_UP=1]="SIGN_UP",e[e.GET=2]="GET",e[e.OPEN=3]="OPEN",e[e.CALCULATE=4]="CALCULATE",e[e.ORDER=5]="ORDER",e[e.PLACE_ORDER=6]="PLACE_ORDER",e[e.SUBMIT_REQUEST=7]="SUBMIT_REQUEST",e[e.PARTICIPATE=8]="PARTICIPATE"}(Xt||(Xt={}));const Jt={[Xt.SIGN_IN]:"default",[Xt.SIGN_UP]:"appoint",[Xt.GET]:"receive",[Xt.OPEN]:"open",[Xt.CALCULATE]:"calculate",[Xt.ORDER]:"order",[Xt.PLACE_ORDER]:"service_order_placing",[Xt.SUBMIT_REQUEST]:"request",[Xt.PARTICIPATE]:"take_part"};class en{registrationStatsCollector;uniqueSessionId;constructor(e){const t=new He(e),n=new Ke(t);this.registrationStatsCollector=new Me(n)}setUniqueSessionId(e){this.uniqueSessionId=e}getFields(){const e=[{name:"sdk_type",value:"vkid"}];return this.uniqueSessionId&&e.push({name:"unique_session_id",value:this.uniqueSessionId}),e}sendFrameLoadingFailed(){this.registrationStatsCollector.logEvent(Le.NOWHERE,{event_type:"iframe_loading_failed",fields:this.getFields()})}sendNoSessionFound(){this.registrationStatsCollector.logEvent(Le.NOWHERE,{event_type:"no_session_found",fields:this.getFields()})}sendOneTapButtonNoUserShow(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";this.registrationStatsCollector.logEvent(Le.NOWHERE,{event_type:"onetap_button_no_user_show",fields:[...this.getFields(),{name:"button_type",value:e}]})}sendOneTapButtonNoUserTap(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return this.registrationStatsCollector.logEvent(Le.NOWHERE,{event_type:"onetap_button_no_user_tap",fields:[...this.getFields(),{name:"button_type",value:e}]})}sendScreenProceed(e){this.registrationStatsCollector.logEvent(Le.NOWHERE,{event_type:"screen_proceed",fields:[...this.getFields(),{name:"theme_type",value:e.scheme},{name:"style_type",value:e.skin},{name:"language",value:e.lang.toString()},{name:"text_type",value:Jt[e.contentId]}]})}}var tn=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){nn&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ln?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){nn&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;an.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),un=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),wn="undefined"!==typeof WeakMap?new WeakMap:new tn,Sn=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=sn.getInstance(),r=new kn(t,n,this);wn.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){Sn.prototype[e]=function(){var t;return(t=wn.get(this))[e].apply(t,arguments)}}));var xn="undefined"!==typeof rn.ResizeObserver?rn.ResizeObserver:Sn;const _n={[Ft.RUS]:"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c",[Ft.UKR]:"\u041f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438",[Ft.BEL]:"\u041f\u0440\u0430\u0446\u044f\u0433\u043d\u0443\u0446\u044c",[Ft.KAZ]:"\u0416\u0430\u043b\u0493\u0430\u0441\u0442\u044b\u0440\u0443",[Ft.UZB]:"Davom etish",[Ft.ENG]:"Continue",[Ft.SPA]:"Continuar",[Ft.GERMAN]:"Fortfahren",[Ft.POL]:"Kontynuuj",[Ft.FRA]:"Continuer",[Ft.TURKEY]:"Devam"},En={[Ft.RUS]:"\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f",[Ft.UKR]:"\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u0438\u0441\u044f",[Ft.BEL]:"\u0417\u0430\u043f\u0456\u0441\u0430\u0446\u0446\u0430",[Ft.KAZ]:"\u0416\u0430\u0437\u044b\u043b\u0443",[Ft.UZB]:"Yozilish",[Ft.ENG]:"Sign up",[Ft.SPA]:"Registrarse",[Ft.GERMAN]:"Anmelden",[Ft.POL]:"Zapisz si\u0119",[Ft.FRA]:"Prendre RDV",[Ft.TURKEY]:"Kaydol"},Cn={[Ft.RUS]:"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c",[Ft.UKR]:"\u041e\u0442\u0440\u0438\u043c\u0430\u0442\u0438",[Ft.BEL]:"\u0410\u0442\u0440\u044b\u043c\u0430\u0446\u044c",[Ft.KAZ]:"\u0410\u043b\u0443",[Ft.UZB]:"Olish",[Ft.ENG]:"Get",[Ft.SPA]:"Obtener",[Ft.GERMAN]:"Erhalten",[Ft.POL]:"Otrzymaj",[Ft.FRA]:"Obtenir",[Ft.TURKEY]:"Al"},In={[Ft.RUS]:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c",[Ft.UKR]:"\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0438",[Ft.BEL]:"\u0410\u0434\u043a\u0440\u044b\u0446\u044c",[Ft.KAZ]:"\u0410\u0448\u0443",[Ft.UZB]:"Ochish",[Ft.ENG]:"Open",[Ft.SPA]:"Abrir",[Ft.GERMAN]:"\xd6ffnen",[Ft.POL]:"Otw\xf3rz",[Ft.FRA]:"Ouvrir",[Ft.TURKEY]:"A\xe7"},Tn={[Ft.RUS]:"\u0420\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044c",[Ft.UKR]:"\u0420\u043e\u0437\u0440\u0430\u0445\u0443\u0432\u0430\u0442\u0438",[Ft.BEL]:"\u0420\u0430\u0437\u043b\u0456\u0447\u044b\u0446\u044c",[Ft.KAZ]:"\u0415\u0441\u0435\u043f\u0442\u0435\u0443",[Ft.UZB]:"Hisoblash",[Ft.ENG]:"Calculate",[Ft.SPA]:"Calcular",[Ft.GERMAN]:"Berechnen",[Ft.POL]:"Oblicz",[Ft.FRA]:"Calculer",[Ft.TURKEY]:"Hesapla"},Pn={[Ft.RUS]:"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c",[Ft.UKR]:"\u0417\u0430\u043c\u043e\u0432\u0438\u0442\u0438",[Ft.BEL]:"\u0417\u0430\u043a\u0430\u0437\u0430\u0446\u044c",[Ft.KAZ]:"\u0422\u0430\u043f\u0441\u044b\u0440\u044b\u0441 \u0431\u0435\u0440\u0443",[Ft.UZB]:"Buyurtma berish",[Ft.ENG]:"Order",[Ft.SPA]:"Pedir",[Ft.GERMAN]:"Bestellen",[Ft.POL]:"Zam\xf3w",[Ft.FRA]:"Commander",[Ft.TURKEY]:"Sipari\u015f ver"},Nn={[Ft.RUS]:"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0437\u0430\u043a\u0430\u0437",[Ft.UKR]:"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u0438 \u0437\u0430\u043c\u043e\u0432\u043b\u0435\u043d\u043d\u044f",[Ft.BEL]:"\u0410\u0444\u043e\u0440\u043c\u0456\u0446\u044c \u0437\u0430\u043a\u0430\u0437",[Ft.KAZ]:"\u0422\u0430\u043f\u0441\u044b\u0440\u044b\u0441\u0442\u044b \u0440\u04d9\u0441\u0456\u043c\u0434\u0435\u0443",[Ft.UZB]:"Buyurtmani shakllantirish",[Ft.ENG]:"Place order",[Ft.SPA]:"Hacer pedido",[Ft.GERMAN]:"Bestellung aufgeben",[Ft.POL]:"Wype\u0142nij zam\xf3wienie",[Ft.FRA]:"Passer commande",[Ft.TURKEY]:"Sipari\u015fi tamamlar"},On={[Ft.RUS]:"\u041e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u044f\u0432\u043a\u0443",[Ft.UKR]:"\u0417\u0430\u043b\u0438\u0448\u0438\u0442\u0438 \u0437\u0430\u043f\u0438\u0442",[Ft.BEL]:"\u041f\u0430\u043a\u0456\u043d\u0443\u0446\u044c \u0437\u0430\u044f\u045e\u043a\u0443",[Ft.KAZ]:"\u04e8\u0442\u0456\u043d\u0456\u043c \u049b\u0430\u043b\u0434\u044b\u0440\u0443",[Ft.UZB]:"Talabnoma qoldirish",[Ft.ENG]:"Send request",[Ft.SPA]:"Enviar solicitud",[Ft.GERMAN]:"Anfrage stellen",[Ft.POL]:"Pozostaw wniosek",[Ft.FRA]:"Envoyer demande",[Ft.TURKEY]:"Ba\u015fvuru b\u0131rak"},Rn={[Ft.RUS]:"\u0423\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c",[Ft.UKR]:"\u0411\u0440\u0430\u0442\u0438 \u0443\u0447\u0430\u0441\u0442\u044c",[Ft.BEL]:"\u0423\u0434\u0437\u0435\u043b\u044c\u043d\u0456\u0447\u0430\u0446\u044c",[Ft.KAZ]:"\u049a\u0430\u0442\u044b\u0441\u0443",[Ft.UZB]:"Ishtirok etish",[Ft.ENG]:"Participate",[Ft.SPA]:"Participar",[Ft.GERMAN]:"Teilnehmen",[Ft.POL]:"Uczestnicz",[Ft.FRA]:"Participer",[Ft.TURKEY]:"Kat\u0131l"},An={[Xt.SIGN_IN]:_n,[Xt.SIGN_UP]:En,[Xt.GET]:Cn,[Xt.OPEN]:In,[Xt.CALCULATE]:Tn,[Xt.ORDER]:Pn,[Xt.PLACE_ORDER]:Nn,[Xt.SUBMIT_REQUEST]:On,[Xt.PARTICIPATE]:Rn},Ln={[Ft.RUS]:"\u0412\u043e\u0439\u0442\u0438 c VK ID",[Ft.UKR]:"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 VK ID",[Ft.BEL]:"\u0423\u0432\u0430\u0439\u0441\u0446\u0456 \u0437 V\u041a ID",[Ft.KAZ]:"VK ID \u0430\u0440\u049b\u044b\u043b\u044b \u043a\u0456\u0440\u0443",[Ft.UZB]:"VK ID dan kirish",[Ft.ENG]:"Sign in with VK ID",[Ft.SPA]:"Iniciar sesi\xf3n con VK ID",[Ft.GERMAN]:"Mit VK-ID anmelden",[Ft.POL]:"Wejd\u017a z VK ID",[Ft.FRA]:"Se connecter avec VK ID",[Ft.TURKEY]:"VK ID arac\u0131l\u0131\u011f\u0131yla gir"},Dn={[Ft.RUS]:"\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0441 VK ID",[Ft.UKR]:"\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u0438\u0441\u044f \u0437 VK ID",[Ft.BEL]:"\u0417\u0430\u043f\u0456\u0441\u0430\u0446\u0446\u0430 \u0437 VK ID",[Ft.KAZ]:"VK ID \u0430\u0440\u049b\u044b\u043b\u044b \u0436\u0430\u0437\u044b\u043b\u0443",[Ft.UZB]:"VK ID bilan yozilish",[Ft.ENG]:"Sign up with VK ID",[Ft.SPA]:"Registrarse con VK ID",[Ft.GERMAN]:"Mit VK ID anmelden",[Ft.POL]:"Zapisz si\u0119 z VK ID",[Ft.FRA]:"Prendre RDV avec VK ID",[Ft.TURKEY]:"VK ID ile kaydol"},Mn={[Ft.RUS]:"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441 VK ID",[Ft.UKR]:"\u041e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0437 VK ID",[Ft.BEL]:"\u0410\u0442\u0440\u044b\u043c\u0430\u0446\u044c \u0437 VK ID",[Ft.KAZ]:"VK ID \u0430\u0440\u049b\u044b\u043b\u044b \u0430\u043b\u0443",[Ft.UZB]:"VK ID bilan olish",[Ft.ENG]:"Get with VK ID",[Ft.SPA]:"Obtener con VK ID",[Ft.GERMAN]:"Mit VK ID erhalten",[Ft.POL]:"Otrzymaj z VK ID",[Ft.FRA]:"Obtenir avec VK ID",[Ft.TURKEY]:"VK ID ile al"},zn={[Ft.RUS]:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0441 VK ID",[Ft.UKR]:"\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0437 VK ID",[Ft.BEL]:"\u0410\u0434\u043a\u0440\u044b\u0446\u044c \u0437 VK ID",[Ft.KAZ]:"VK ID \u0430\u0440\u049b\u044b\u043b\u044b \u0430\u0448\u0443",[Ft.UZB]:"VK ID bilan ochish",[Ft.ENG]:"Open with VK ID",[Ft.SPA]:"Abrir con VK ID",[Ft.GERMAN]:"Mit VK ID \xf6ffnen",[Ft.POL]:"Otw\xf3rz z VK ID",[Ft.FRA]:"Ouvrir avec VK ID",[Ft.TURKEY]:"VK ID ile a\xe7"},Fn={[Ft.RUS]:"\u0420\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0441 VK ID",[Ft.UKR]:"\u0420\u043e\u0437\u0440\u0430\u0445\u0443\u0432\u0430\u0442\u0438 \u0437 VK ID",[Ft.BEL]:"\u0420\u0430\u0437\u043b\u0456\u0447\u044b\u0446\u044c \u0437 VK ID",[Ft.KAZ]:"VK ID \u0430\u0440\u049b\u044b\u043b\u044b \u0435\u0441\u0435\u043f\u0442\u0435\u0443",[Ft.UZB]:"VK ID yordamida hisoblash",[Ft.ENG]:"Calculate with VK ID",[Ft.SPA]:"Calcular con VK ID",[Ft.GERMAN]:"Mit VK ID berechnen",[Ft.POL]:"Oblicz z VK ID",[Ft.FRA]:"Calculer avec VK ID",[Ft.TURKEY]:"VK ID ile hesapla"},jn={[Ft.RUS]:"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0441 VK ID",[Ft.UKR]:"\u0417\u0430\u043c\u043e\u0432\u0438\u0442\u0438 \u0437 VK ID",[Ft.BEL]:"\u0417\u0430\u043a\u0430\u0437\u0430\u0446\u044c \u0437 VK ID",[Ft.KAZ]:"VK ID \u0430\u0440\u049b\u044b\u043b\u044b \u0442\u0430\u043f\u0441\u044b\u0440\u044b\u0441 \u0431\u0435\u0440\u0443",[Ft.UZB]:"VK ID bilan buyurtma berish",[Ft.ENG]:"Order with VK ID",[Ft.SPA]:"Pedir con VK ID",[Ft.GERMAN]:"Mit VK ID bestellen",[Ft.POL]:"Zam\xf3w z VK ID",[Ft.FRA]:"Commander avec VK ID",[Ft.TURKEY]:"VK ID ile sipari\u015f ver"},Un={[Ft.RUS]:"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0441 VK ID",[Ft.UKR]:"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u0438 \u0437 VK ID",[Ft.BEL]:"\u0410\u0444\u043e\u0440\u043c\u0456\u0446\u044c \u0437 VK ID",[Ft.KAZ]:"VK ID \u0430\u0440\u049b\u044b\u043b\u044b \u0440\u04d9\u0441\u0456\u043c\u0434\u0435\u0443",[Ft.UZB]:"VK ID bilan shakllantirish",[Ft.ENG]:"Order with VK ID",[Ft.SPA]:"Pedir con VK ID",[Ft.GERMAN]:"Mit VK ID Bestellung aufgeben",[Ft.POL]:"Wype\u0142nij z VK ID",[Ft.FRA]:"Commander avec VK ID",[Ft.TURKEY]:"VK ID ile yap"},Vn={[Ft.RUS]:"\u041e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u044f\u0432\u043a\u0443 \u0441 VK ID",[Ft.UKR]:"\u0417\u0430\u043b\u0438\u0448\u0438\u0442\u0438 \u0437\u0430\u043f\u0438\u0442 \u0437 VK ID",[Ft.BEL]:"\u041f\u0430\u043a\u0456\u043d\u0443\u0446\u044c \u0437\u0430\u044f\u045e\u043a\u0443 \u0437 VK ID",[Ft.KAZ]:"VK ID \u0430\u0440\u049b\u044b\u043b\u044b \u04e9\u0442\u0456\u043d\u0456\u043c \u049b\u0430\u043b\u0434\u044b\u0440\u0443",[Ft.UZB]:"VK ID bilan talabnoma qoldirish",[Ft.ENG]:"Send request with VK ID",[Ft.SPA]:"Enviar solicitud con VK ID",[Ft.GERMAN]:"Mit VK ID Anfrage stellen",[Ft.POL]:"Zostaw wniosek z VK ID",[Ft.FRA]:"Envoyer demande avec VK ID",[Ft.TURKEY]:"VK ID ile ba\u015fvuru yap"},Bn={[Ft.RUS]:"\u0423\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441 VK ID",[Ft.UKR]:"\u0411\u0440\u0430\u0442\u0438 \u0443\u0447\u0430\u0441\u0442\u044c \u0437 VK ID",[Ft.BEL]:"\u0423\u0434\u0437\u0435\u043b\u044c\u043d\u0456\u0447\u0430\u0446\u044c \u0437 VK ID",[Ft.KAZ]:"VK ID \u0430\u0440\u049b\u044b\u043b\u044b \u049b\u0430\u0442\u044b\u0441\u0443",[Ft.UZB]:"VK ID ilan ishtirok etish",[Ft.ENG]:"Participate with VK ID",[Ft.SPA]:"Participar con VK ID",[Ft.GERMAN]:"Mit VK ID teilnehmen",[Ft.POL]:"Uczestnicz z VK ID",[Ft.FRA]:"Participer avec VK ID",[Ft.TURKEY]:"VK ID ile kat\u0131l"},$n={[Xt.SIGN_IN]:Ln,[Xt.SIGN_UP]:Dn,[Xt.GET]:Mn,[Xt.OPEN]:zn,[Xt.CALCULATE]:Fn,[Xt.ORDER]:jn,[Xt.PLACE_ORDER]:Un,[Xt.SUBMIT_REQUEST]:Vn,[Xt.PARTICIPATE]:Bn},Hn=e=>{let{width:t,height:n,iframeHeight:r,borderRadius:o,login:i,skin:a,scheme:l,contentId:s,lang:u,renderOAuthList:c,providers:d,setStatsButtonType:f}=e;return e=>{let p=0,h=0,m=0,g=0;const v=((e,t)=>{const n=An[e]||An[Xt.SIGN_IN];return n[t]||n[Ft.RUS]})(s,u),y=((e,t)=>{const n=$n[e]||$n[Xt.SIGN_IN];return n[t]||n[Ft.RUS]})(s,u),b=(e=>{const t=(e-30)/2+3;return e<40?t:t-2})(n),k=(e=>e<40?14:e>47?17:16)(n),w=(e=>e<40?24:28)(n),S=document.createElement("div"),x=document.createElement("button");setTimeout((()=>{x.classList.add(`VkIdWebSdk__button_animation_${e}`)}),100),x.classList.add(`VkIdWebSdk__button_${e}`),x.classList.add(`VkIdWebSdk__button_reset_${e}`),i&&(x.onclick=i);const _=document.createElement("span");_.classList.add(`VkIdWebSdk__button_in_${e}`);const E=document.createElement("span");E.classList.add(`VkIdWebSdk__button_content_${e}`);const C=document.createElement("span");C.classList.add(`VkIdWebSdk__button_logo_${e}`),C.innerHTML='\n \n';const I=document.createElement("span");I.classList.add(`VkIdWebSdk__button_text_${e}`);const T=document.createElement("span");T.innerText=v;const P=document.createElement("span");P.innerText=y;const N=document.createElement("span");N.innerText="VK ID";const O=document.createElement("span");O.classList.add(`VkIdWebSdk__button_spinner_${e}`),O.innerHTML='\n \n';const R=document.createElement("div");R.classList.add(`VkIdWebSdk__oauthList_container_${e}`);const A=e=>e+16+2*b+2*w,L=()=>{let t=0,r=!1;const i=()=>{const e=E.contains(I),i=I.contains(N),a=I.contains(P),s=S.clientWidth;e&&s=p&&(x.removeAttribute("style"),E.appendChild(I),E.appendChild(O)),!i&&s{P.remove(),I.appendChild(N)}),t)),!a&&s>=h&&(I.style.width=`${g}px`,N.dataset.active="",P.dataset.active="true",setTimeout((()=>{N.remove(),I.appendChild(P)}),t),d?.length&&!S.contains(R)&&(S.appendChild(R),!r&&c({lang:u,scheme:l,container:R,oauthList:d,styles:{borderRadius:o,height:n}}),r=!0)),f("default")};new xn(function(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window,i=function(){return e.apply(o,r)};return function(){for(var e=arguments.length,o=new Array(e),a=0;a\n \n \n\n `}};const Kn=0,Wn=44,qn=8;class Gn extends Dt{analytics;vkidAppName="button_one_tap_auth";statsBtnType;fastAuthDisabled;constructor(){super(),this.analytics=new en(Gn.config)}setStatsButtonType=e=>{this.statsBtnType||(this.statsBtnType=e,this.fastAuthDisabled&&this.statsBtnType&&this.analytics.sendOneTapButtonNoUserShow(this.statsBtnType))};sendSuccessLoginEvent=e=>{this.events.emit(Pt.LOGIN_SUCCESS,e)};onBridgeMessageHandler(e){switch(e.handler){case Pt.SHOW_FULL_AUTH:{const t=e.params,n={};t.screen&&(n.screen=t.screen),t.sdk_oauth&&(n.provider=t.sdk_oauth,n.statsFlowSource=et.MULTIBRANDING),this.openFullAuth(n);break}case Pt.NOT_AUTHORIZED:this.analytics.sendNoSessionFound(),this.setState(Nt.NOT_LOADED),clearTimeout(this.timeoutTimer),this.elements?.iframe?.remove();break;case Pt.AUTHENTICATION_INFO:this.events.emit(Pt.AUTHENTICATION_INFO,e.params);break;default:super.onBridgeMessageHandler(e)}}onErrorHandler(e){this.analytics.sendFrameLoadingFailed(),this.analytics.sendOneTapButtonNoUserShow(this.statsBtnType),super.onErrorHandler(e)}openFullAuth(e){const t={statsFlowSource:et.BUTTON_ONE_TAP,...e,uniqueSessionId:this.id,lang:this.lang,scheme:this.scheme};Gn.auth.login(t).then(this.sendSuccessLoginEvent).catch((e=>{this.events.emit(At.ERROR,{code:Ot.AuthError,text:e.error})}))}login(e){this.config.get().mode===ot.Redirect?this.analytics.sendOneTapButtonNoUserTap(this.statsBtnType).finally((()=>{this.openFullAuth(e)})):(this.analytics.sendOneTapButtonNoUserTap(this.statsBtnType),this.openFullAuth(e))}renderOAuthList(e){if(!e.oauthList.length)return;(new Zt).on($t.LOGIN_SUCCESS,this.sendSuccessLoginEvent).render({...e,flowSource:Le.NOWHERE,uniqueSessionId:this.id})}render(e){this.lang=e?.lang||Ft.RUS,this.scheme=e?.scheme||jt.LIGHT,this.fastAuthDisabled=!1===e.fastAuthEnabled;const t=(e.oauthList||[]).filter((e=>e!==vt.VK)),n={style_height:e.styles?.height||Wn,style_border_radius:Ut(e.styles?.borderRadius)?qn:e.styles?.borderRadius,show_alternative_login:e?.showAlternativeLogin?1:0,button_skin:e.skin||Yt.Primary,content_id:e?.contentId||Xt.SIGN_IN,scheme:this.scheme,lang_id:this.lang,providers:t.join(","),uuid:this.id};return this.analytics.setUniqueSessionId(this.id),this.templateRenderer=Hn({width:e.styles?.width||Kn,iframeHeight:n.show_alternative_login?2*n.style_height+12:n.style_height,height:n.style_height,borderRadius:n.style_border_radius,login:this.login.bind(this),skin:n.button_skin,scheme:n.scheme,lang:n.lang_id,contentId:n.content_id,renderOAuthList:this.renderOAuthList.bind(this),providers:t,setStatsButtonType:this.setStatsButtonType.bind(this)}),this.analytics.sendScreenProceed({scheme:this.scheme,lang:this.lang,skin:n.button_skin,contentId:n.content_id}),this.fastAuthDisabled&&(n.fastAuthDisabled=!0),super.render({container:e.container,...n})}}!function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);i>3&&a&&Object.defineProperty(t,n,a)}([wt({styles:[e=>({result:void 0!==e&&void 0!==e.height&&xt(e.height)&&e.height<57&&e.height>31||void 0===e||void 0===e.height,makeError:()=>"The height should correspond to the range from 32 to 56"})]})],Gn.prototype,"render",null);var Qn=n(579);let Zn=!0;function Yn(){function e(){}return(0,o.useEffect)((()=>{if(Zn){Mt.init({app:52316017,redirectUrl:"https://novelplus.ru/users/vk-login/"});const t=new Gn,n=document.getElementById("VkIdSdkOneTap");n&&t.render({container:n,scheme:jt.LIGHT,lang:Ft.RUS}).on(At.ERROR,e),Zn=!1}}),[]),(0,Qn.jsxs)("div",{children:[(0,Qn.jsx)("script",{src:"https://unpkg.com/@vkid/sdk@<3.0.0/dist-sdk/umd/index.js"}),(0,Qn.jsx)("div",{id:"VkIdSdkOneTap"})]})}function Xn(){const[e,t]=(0,o.useState)(!0),[n,r]=(0,o.useState)(me);const i=e=>{const{name:t,value:o,type:i,checked:a}=e.target;r({...n,[t]:"checkbox"===i?a:o})};function a(){return n.password.length>8}return(0,Qn.jsxs)("div",{className:"login-from-menu vertical-box",children:[(0,Qn.jsx)("button",{onClick:function(){t(!e)},children:e?"\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f":"\u0412\u043e\u0439\u0442\u0438"}),(0,Qn.jsx)("br",{}),(0,Qn.jsx)("label",{htmlFor:"login",children:"\u0418\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f"}),(0,Qn.jsx)("input",{id:"login",type:"text",name:"username",autoFocus:!0,autoComplete:e?"username":void 0,maxLength:40,required:!0,onChange:i}),(0,Qn.jsx)("label",{htmlFor:"password",children:"\u041f\u0430\u0440\u043e\u043b\u044c"}),(0,Qn.jsx)("input",{id:"password",type:"password",name:"password",autoComplete:e?"current-password":"new-password",required:!0,onChange:i}),e&&(0,Qn.jsxs)("div",{children:[(0,Qn.jsx)("label",{htmlFor:"password2",children:"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u0430\u0440\u043e\u043b\u044f"}),(0,Qn.jsx)("input",{id:"password2",type:"password",name:"password2",autoComplete:"new-password",required:!0,onChange:i})]}),(0,Qn.jsx)("input",{type:"submit",onClick:async function(){a()&&await async function(e){const t=await ke("/users/login/",e);return null!==t&&(be=t,be.isAuthenticated&&ve&&be.avatar&&(be.avatar=ye+be.avatar),window.location.reload()),null}(n)},value:"\u0412\u043e\u0439\u0442\u0438"}),!ve&&(0,Qn.jsx)(Yn,{})]})}function Jn(){let{page:e,subpage:t}=_e();const[n,r]=(0,o.useState)(!1),i=()=>{r(!n)};Ee();const a="store"===e?(0,Qn.jsxs)("div",{className:"horizontal-box navigation",children:[(0,Qn.jsx)("a",{href:"/store/game",className:"primary small"+("game"===t?" selected":""),children:"\u0418\u0433\u0440\u044b"}),(0,Qn.jsx)("a",{href:"/store/sprite",className:"primary small"+("sprite"===t?" selected":""),children:"\u0421\u043f\u0440\u0430\u0439\u0442\u044b"})]}):"vacancy"===e?(0,Qn.jsxs)("div",{className:"horizontal-box navigation",children:[(0,Qn.jsx)("a",{href:"/vacancy/developer",className:"primary small"+("developer"===t?" selected":""),children:"\u0418\u0449\u0443 \u0440\u0430\u0431\u043e\u0442\u043d\u0438\u043a\u0430"}),(0,Qn.jsx)("a",{href:"/vacancy/project",className:"primary small"+("project"===t?" selected":""),children:"\u0418\u0449\u0443 \u043f\u0440\u043e\u0435\u043a\u0442"})]}):null;return(0,Qn.jsxs)("header",{className:"header",children:[(0,Qn.jsxs)("div",{className:"content-box stretched-box align-center",children:[(0,Qn.jsxs)("div",{className:"align-center upper-menu",children:[(0,Qn.jsx)("img",{className:"icon",alt:"icon",src:pe||""}),(0,Qn.jsxs)("div",{className:"horizontal-box navigation",children:[(0,Qn.jsx)("a",{href:"/store",className:"primary small"+("store"===e?" selected":""),children:"\u0418\u0433\u0440\u044b \u0438 \u0430\u0441\u0441\u0435\u0442\u044b"}),(0,Qn.jsx)("a",{href:"/vacancy",className:"primary small"+("vacancy"===e?" selected":""),children:"\u0412\u0430\u043a\u0430\u043d\u0441\u0438\u0438"})]})]}),(0,Qn.jsxs)("div",{className:"dropdown-menu",children:[(0,Qn.jsx)("button",{className:"menu-button",onClick:i,children:(0,Qn.jsx)("img",{className:"avatar",alt:"Avatar",src:(null===be||void 0===be?void 0:be.avatar)||he||""})}),n&&(0,Qn.jsx)("div",{className:"menu-click-area",children:(0,Qn.jsxs)("div",{className:"vertical-box align-end",children:[(0,Qn.jsx)("div",{className:"avatar",onClick:i}),(0,Qn.jsxs)("div",{className:"menu-content",children:[be.isAdmin&&(0,Qn.jsx)("a",{href:"/admin/",children:"\u0410\u0434\u043c\u0438\u043d \u0447\u0430\u0441\u0442\u044c"}),null!==be&&void 0!==be&&be.isAuthenticated?(0,Qn.jsx)("button",{onClick:we,children:"\u0412\u044b\u0439\u0442\u0438"}):(0,Qn.jsx)(Xn,{})]})]})})]})]}),a?(0,Qn.jsx)("div",{className:"content-box align-end bottom-menu vertical-box",children:a}):null]})}function er(e){let{item:t,collection:n}=e;return(0,Qn.jsx)("a",{href:"/"+n+"/"+t.id,className:"card",style:{backgroundImage:"url("+t.preview+")"},children:(0,Qn.jsx)("div",{className:"horizontal-box align-end",children:(0,Qn.jsx)("div",{className:"body-text",children:t.title})})})}function tr(){const{items:e,collection:t}=Ce();return(0,Qn.jsx)("div",{className:"store section",children:e?e.length>0?e.map((e=>(0,Qn.jsx)(er,{item:e,collection:t},e.id))):"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e":"\u0418\u0434\u0451\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430..."})}function nr(){return(0,Qn.jsxs)("div",{className:"section content-box body-text",children:[(0,Qn.jsx)("h1",{children:"\u041e \u043f\u0440\u043e\u0435\u043a\u0442\u0435"}),"NovelPlus \u2013 \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u0438\u0433\u0440\u043e\u043a\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u0439\u0442\u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043d\u043e\u0432\u0435\u043b\u043b\u044b \u0441\u0435\u0431\u0435 \u043f\u043e \u0432\u043a\u0443\u0441\u0443, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043e\u0442 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0441\u0442\u0443\u0434\u0438\u0439.",(0,Qn.jsx)("br",{}),"\u042d\u0442\u043e \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u043e\u0442\u044b\u0441\u043a\u0430\u0442\u044c \u0442\u0430\u043b\u0430\u043d\u0442\u043b\u0438\u0432\u044b\u0445 \u043b\u044e\u0434\u0435\u0439 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438 \u0432\u043c\u0435\u0441\u0442\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u0435\u043b\u043b\u044b.",(0,Qn.jsx)("br",{}),"\u0410 \u0442\u0430\u043a\u0436\u0435 \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u043b\u044e\u0434\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0430\u0441\u0441\u0435\u0442\u044b: \u0441\u043f\u0440\u0430\u0439\u0442\u044b, \u0444\u043e\u043d\u044b, \u043c\u0443\u0437\u044b\u043a\u0443, \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0438 \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435.",(0,Qn.jsx)("br",{}),(0,Qn.jsx)("br",{}),(0,Qn.jsx)("h2",{children:"\u041f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u043e\u0435\u043a\u0442\u0443"}),"\u041d\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u0437\u0430\u0434\u0443\u043c\u0430\u043d\u043d\u043e\u0435 \u0432 \u043f\u043e\u043b\u043d\u043e\u0439 \u043c\u0435\u0440\u0435, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u0430 \u0432\u0430\u0448\u0430 \u043f\u043e\u043c\u043e\u0449\u044c!",(0,Qn.jsx)("br",{}),"\u0421\u0435\u0439\u0447\u0430\u0441 \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0442\u0430\u0434\u0438\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0441\u0442\u0430\u0440\u0430\u0435\u043c\u0441\u044f \u043f\u0440\u0438\u0432\u043b\u0435\u0447\u044c \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u0440\u0435\u0430\u0442\u043e\u0440\u043e\u0432. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043d\u0443\u0436\u0434\u0430\u0435\u043c\u0441\u044f \u0432 \u043b\u044e\u0431\u043e\u0439 \u043f\u043e\u043c\u043e\u0449\u0438!",(0,Qn.jsx)("br",{}),"\u041c\u044b \u0438\u0449\u0435\u043c:",(0,Qn.jsxs)("ul",{children:[(0,Qn.jsx)("li",{children:"\u0414\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u043e\u0432 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u0430;"}),(0,Qn.jsx)("li",{children:"\u0424\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u0443\u044e \u043f\u043e\u043c\u043e\u0449\u044c \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0441\u0430\u0439\u0442\u0430 \u0438 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430;"}),(0,Qn.jsx)("li",{children:"\u0418\u0433\u0440\u044b \u0438 \u0430\u0441\u0441\u0435\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u0430\u0439\u0442;"}),(0,Qn.jsx)("li",{children:"\u0412\u0430\u0448\u0438 \u0438\u0434\u0435\u0438 \u0438 \u043a\u0440\u0438\u0442\u0438\u043a\u0443: \u0447\u0435\u0433\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0434\u043b\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430."})]}),(0,Qn.jsx)("h2",{children:"\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b:"}),"\u0414\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430 \u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a:",(0,Qn.jsx)("ul",{children:(0,Qn.jsx)("li",{children:"\u041f\u043e\u0447\u0442\u0430 - support@novelplus.ru;"})}),(0,Qn.jsxs)("div",{className:"vertical-box align-left button-list",children:[(0,Qn.jsx)("a",{href:"https://vk.com/novelplus",target:"_blank",rel:"noreferrer",className:"primary medium",children:"\u041d\u0430\u0448\u0430 \u0433\u0440\u0443\u043f\u043f\u0430 \u0412\u041a"}),(0,Qn.jsx)("a",{href:"https://t.me/NovelPlusNews",target:"_blank",rel:"noreferrer",className:"primary medium",children:"\u041d\u0430\u0448 \u043a\u0430\u043d\u0430\u043b Telegram"}),(0,Qn.jsx)("a",{href:"https://www.tinkoff.ru/cf/7hqDRjNZvBR",target:"_blank",rel:"noreferrer",className:"primary medium",children:"\u0421\u0431\u043e\u0440 \u0434\u043e\u043d\u0430\u0442\u043e\u0432 (\u0422\u0438\u043d\u044c\u043a\u043e\u0444\u0444)"}),(0,Qn.jsx)("a",{href:"https://boosty.to/mikan-ds/donate",target:"_blank",rel:"noreferrer",className:"primary medium",children:"\u0421\u0431\u043e\u0440 \u0434\u043e\u043d\u0430\u0442\u043e\u0432 (Boosty)"})]})]})}function rr(){return(0,Qn.jsx)("footer",{className:"footer",children:(0,Qn.jsx)("a",{href:"/about",children:"\u041e \u041f\u0420\u041e\u0415\u041a\u0422\u0415"})})}function or(e){let{item:t,collection:n}=e;return(0,Qn.jsxs)("a",{href:"/"+n+"/"+t.id,className:"mini-card horizontal-box",children:[(0,Qn.jsx)("img",{src:t.preview,alt:t.title}),(0,Qn.jsxs)("div",{className:"vertical-box fill-width",children:[(0,Qn.jsxs)("div",{className:"horizontal-box stretched-box",children:[(0,Qn.jsxs)("div",{className:"vertical-box",children:[(0,Qn.jsx)("h2",{children:t.title}),(0,Qn.jsxs)("div",{children:["\u0421\u0442\u0430\u0442\u0443\u0441: ",t.status]})]}),(0,Qn.jsxs)("div",{children:["\u0414\u0430\u0442\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f: ",new Date(t.updateAt).toLocaleString()]})]}),(0,Qn.jsx)("div",{children:t.shortDescription})]})]})}function ir(){const{items:e,collection:t}=Ce();return(0,Qn.jsx)("div",{className:"section vacancy content-box body-text vertical-box",children:e?e.length>0?e.map((e=>(0,Qn.jsx)(or,{item:e,collection:t},e.id))):"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e":"\u0418\u0434\u0451\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430..."})}const ar=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,lr=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,sr={};function ur(e,t){return((t||sr).jsx?lr:ar).test(e)}const cr=/[ \t\n\f\r]/g;function dr(e){return""===e.replace(cr,"")}class fr{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function pr(e,t){const n={},r={};let o=-1;for(;++o"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Or=Pr({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Rr(e,t){return t in e?e[t]:t}function Ar(e,t){return Rr(e,t.toLowerCase())}const Lr=Pr({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ar,properties:{xmlns:null,xmlnsXLink:null}}),Dr=Pr({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:yr,ariaAutoComplete:null,ariaBusy:yr,ariaChecked:yr,ariaColCount:kr,ariaColIndex:kr,ariaColSpan:kr,ariaControls:wr,ariaCurrent:null,ariaDescribedBy:wr,ariaDetails:null,ariaDisabled:yr,ariaDropEffect:wr,ariaErrorMessage:null,ariaExpanded:yr,ariaFlowTo:wr,ariaGrabbed:yr,ariaHasPopup:null,ariaHidden:yr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:wr,ariaLevel:kr,ariaLive:null,ariaModal:yr,ariaMultiLine:yr,ariaMultiSelectable:yr,ariaOrientation:null,ariaOwns:wr,ariaPlaceholder:null,ariaPosInSet:kr,ariaPressed:yr,ariaReadOnly:yr,ariaRelevant:null,ariaRequired:yr,ariaRoleDescription:wr,ariaRowCount:kr,ariaRowIndex:kr,ariaRowSpan:kr,ariaSelected:yr,ariaSetSize:kr,ariaSort:null,ariaValueMax:kr,ariaValueMin:kr,ariaValueNow:kr,ariaValueText:null,role:null}}),Mr=Pr({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ar,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Sr,acceptCharset:wr,accessKey:wr,action:null,allow:null,allowFullScreen:vr,allowPaymentRequest:vr,allowUserMedia:vr,alt:null,as:null,async:vr,autoCapitalize:null,autoComplete:wr,autoFocus:vr,autoPlay:vr,blocking:wr,capture:null,charSet:null,checked:vr,cite:null,className:wr,cols:kr,colSpan:null,content:null,contentEditable:yr,controls:vr,controlsList:wr,coords:kr|Sr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:vr,defer:vr,dir:null,dirName:null,disabled:vr,download:br,draggable:yr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:vr,formTarget:null,headers:wr,height:kr,hidden:vr,high:kr,href:null,hrefLang:null,htmlFor:wr,httpEquiv:wr,id:null,imageSizes:null,imageSrcSet:null,inert:vr,inputMode:null,integrity:null,is:null,isMap:vr,itemId:null,itemProp:wr,itemRef:wr,itemScope:vr,itemType:wr,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:vr,low:kr,manifest:null,max:null,maxLength:kr,media:null,method:null,min:null,minLength:kr,multiple:vr,muted:vr,name:null,nonce:null,noModule:vr,noValidate:vr,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:vr,optimum:kr,pattern:null,ping:wr,placeholder:null,playsInline:vr,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:vr,referrerPolicy:null,rel:wr,required:vr,reversed:vr,rows:kr,rowSpan:kr,sandbox:wr,scope:null,scoped:vr,seamless:vr,selected:vr,shadowRootClonable:vr,shadowRootDelegatesFocus:vr,shadowRootMode:null,shape:null,size:kr,sizes:null,slot:null,span:kr,spellCheck:yr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:kr,step:null,style:null,tabIndex:kr,target:null,title:null,translate:null,type:null,typeMustMatch:vr,useMap:null,value:yr,width:kr,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:wr,axis:null,background:null,bgColor:null,border:kr,borderColor:null,bottomMargin:kr,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:vr,declare:vr,event:null,face:null,frame:null,frameBorder:null,hSpace:kr,leftMargin:kr,link:null,longDesc:null,lowSrc:null,marginHeight:kr,marginWidth:kr,noResize:vr,noHref:vr,noShade:vr,noWrap:vr,object:null,profile:null,prompt:null,rev:null,rightMargin:kr,rules:null,scheme:null,scrolling:yr,standby:null,summary:null,text:null,topMargin:kr,valueType:null,version:null,vAlign:null,vLink:null,vSpace:kr,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:vr,disableRemotePlayback:vr,prefix:null,property:null,results:kr,security:null,unselectable:null}}),zr=Pr({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Rr,properties:{about:xr,accentHeight:kr,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:kr,amplitude:kr,arabicForm:null,ascent:kr,attributeName:null,attributeType:null,azimuth:kr,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:kr,by:null,calcMode:null,capHeight:kr,className:wr,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:kr,diffuseConstant:kr,direction:null,display:null,dur:null,divisor:kr,dominantBaseline:null,download:vr,dx:null,dy:null,edgeMode:null,editable:null,elevation:kr,enableBackground:null,end:null,event:null,exponent:kr,externalResourcesRequired:null,fill:null,fillOpacity:kr,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Sr,g2:Sr,glyphName:Sr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:kr,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:kr,horizOriginX:kr,horizOriginY:kr,id:null,ideographic:kr,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:kr,k:kr,k1:kr,k2:kr,k3:kr,k4:kr,kernelMatrix:xr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:kr,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:kr,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:kr,overlineThickness:kr,paintOrder:null,panose1:null,path:null,pathLength:kr,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:wr,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:kr,pointsAtY:kr,pointsAtZ:kr,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:xr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:xr,rev:xr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:xr,requiredFeatures:xr,requiredFonts:xr,requiredFormats:xr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:kr,specularExponent:kr,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:kr,strikethroughThickness:kr,string:null,stroke:null,strokeDashArray:xr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:kr,strokeOpacity:kr,strokeWidth:null,style:null,surfaceScale:kr,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:xr,tabIndex:kr,tableValues:null,target:null,targetX:kr,targetY:kr,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:xr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:kr,underlineThickness:kr,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:kr,values:null,vAlphabetic:kr,vMathematical:kr,vectorEffect:null,vHanging:kr,vIdeographic:kr,version:null,vertAdvY:kr,vertOriginX:kr,vertOriginY:kr,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:kr,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Fr=pr([Or,Nr,Lr,Dr,Mr],"html"),jr=pr([Or,Nr,Lr,Dr,zr],"svg"),Ur=/^data[-\w.:]+$/i,Vr=/-[a-z]/g,Br=/[A-Z]/g;function $r(e){return"-"+e.toLowerCase()}function Hr(e){return e.charAt(1).toUpperCase()}const Kr={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Wr=n(222);const qr=Wr.default||Wr,Gr=Zr("end"),Qr=Zr("start");function Zr(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"===typeof n.line&&n.line>0&&"number"===typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"===typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Yr(e){return e&&"object"===typeof e?"position"in e||"type"in e?Jr(e.position):"start"in e||"end"in e?Jr(e):"line"in e||"column"in e?Xr(e):"":""}function Xr(e){return eo(e&&e.line)+":"+eo(e&&e.column)}function Jr(e){return Xr(e&&e.start)+"-"+Xr(e&&e.end)}function eo(e){return e&&"number"===typeof e?e:1}class to extends Error{constructor(e,t,n){super(),"string"===typeof t&&(n=t,t=void 0);let r="",o={},i=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"===typeof e?r=e:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"===typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=Yr(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"===typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}to.prototype.file="",to.prototype.name="",to.prototype.reason="",to.prototype.message="",to.prototype.stack="",to.prototype.column=void 0,to.prototype.line=void 0,to.prototype.ancestors=void 0,to.prototype.cause=void 0,to.prototype.fatal=void 0,to.prototype.place=void 0,to.prototype.ruleId=void 0,to.prototype.source=void 0;const no={}.hasOwnProperty,ro=new Map,oo=/[A-Z]/g,io=/-([a-z])/g,ao=new Set(["table","tbody","thead","tfoot","tr"]),lo=new Set(["td","th"]),so="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function uo(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!==typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,i){const a=Array.isArray(o.children),l=Qr(n);return t(r,o,i,a,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!==typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!==typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,i){const a=Array.isArray(o.children)?n:t;return i?a(r,o,i):a(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?jr:Fr,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=co(o,e,void 0);return i&&"string"!==typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function co(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=jr,e.schema=o);e.ancestors.push(t);const i=go(e,t.tagName,!1),a=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&no.call(t.properties,o)){const i=mo(e,o,t.properties[o]);if(i){const[o,a]=i;e.tableCellAlignToStyle&&"align"===o&&"string"===typeof a&&lo.has(t.tagName)?r=a:n[o]=a}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let l=ho(e,t);ao.has(t.tagName)&&(l=l.filter((function(e){return"string"!==typeof e||!("object"===typeof(t=e)?"text"===t.type&&dr(t.value):dr(t));var t})));return fo(e,a,i,t),po(a,l),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}vo(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=jr,e.schema=o);e.ancestors.push(t);const i=null===t.name?e.Fragment:go(e,t.name,!0),a=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const o=t.expression;o.type;const i=o.properties[0];i.type,Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else vo(e,t.position);else{const o=r.name;let i;if(r.value&&"object"===typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else vo(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),l=ho(e,t);return fo(e,a,i,t),po(a,l),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);vo(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return po(r,ho(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function fo(e,t,n,r){"string"!==typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function po(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function ho(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:ro;for(;++r4&&"data"===n.slice(0,4)&&Ur.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Vr,Hr);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Vr.test(e)){let n=e.replace(Br,$r);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=Cr}return new o(r,t)}(e.schema,t);if(!(null===n||void 0===n||"number"===typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"===typeof n?n:function(e,t){const n={};try{qr(t,r)}catch(o){if(!e.ignoreInvalidStyle){const t=o,n=new to("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=so+"#cannot-parse-style-attribute",n}}return n;function r(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(io,bo)),n[r]=t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)no.call(e,n)&&(t[yo(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?Kr[r.property]||r.property:r.attribute,n]}}function go(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++oo?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a0?(Eo(e,e.length,0,t),e):t}class Io{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&To(this.left,n),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),To(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),To(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e-1&&e.test(String.fromCharCode(t))}}function qo(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if($o(r))return e.enter(n),a(r);return t(r)};function a(r){return $o(r)&&i++i))return;const n=t.events.length;let o,l,s=n;for(;s--;)if("exit"===t.events[s][0]&&"chunkFlow"===t.events[s][1].type){if(o){l=t.events[s][1].end;break}o=!0}for(v(a),e=n;er;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function y(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Zo={tokenize:function(e,t,n){return qo(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const Yo={tokenize:function(e,t,n){return function(t){return $o(t)?qo(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Vo(e)?t(e):n(e)}},partial:!0};const Xo={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):Vo(t)?e.check(Jo,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Po(e),e}},Jo={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),qo(e,o,"linePrefix")};function o(o){if(null===o||Vo(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};const ei={tokenize:function(e){const t=this,n=e.attempt(Yo,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,qo(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Xo,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const ti={resolveAll:ii()},ni=oi("string"),ri=oi("text");function oi(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return s(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),l;t.consume(e)}function l(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o-1){const e=a[0];"string"===typeof e?a[0]=e.slice(r):a.shift()}i>0&&a.push(e[o].slice(0,i))}return a}(a,e)}function h(){const{line:e,column:t,offset:n,_index:o,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:i}}function m(){let e;for(;r._index=3&&(null===i||Vo(i))?(e.exit("thematicBreak"),t(i)):n(i)}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),$o(t)?qo(e,i,"whitespace")(t):i(t))}}};const ci={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Fo(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(ui,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(t)}return n(t)};function l(t){return Fo(t)&&++a<10?(e.consume(t),l):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),s(t)):n(t)}function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Yo,r.interrupt?n:u,e.attempt(di,d,c))}function u(e){return r.containerState.initialBlankLine=!0,i++,d(e)}function c(t){return $o(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Yo,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,qo(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!$o(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(fi,t,a)(n))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,qo(e,e.attempt(ci,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},di={tokenize:function(e,t,n){const r=this;return qo(e,(function(e){const o=r.events[r.events.length-1];return!$o(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},fi={tokenize:function(e,t,n){const r=this;return qo(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const pi={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return $o(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if($o(t))return qo(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(pi,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function hi(e,t,n,r,o,i,a,l,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),d;if(null===t||32===t||41===t||zo(t))return n(t);return e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t)};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||Vo(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(o){return c||null!==o&&41!==o&&!Bo(o)?c999||null===d||91===d||93===d&&!l||94===d&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(i),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):Vo(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||Vo(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),l||(l=!$o(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function gi(e,t,n,r,o,i){let a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,l;return n(t)};function l(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),s(n))}function s(t){return t===a?(e.exit(i),l(a)):null===t?n(t):Vo(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),qo(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||Vo(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function vi(e,t){let n;return function r(o){if(Vo(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if($o(o))return qo(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function yi(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const bi={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return mi.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=yi(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return Bo(t)?vi(e,l)(t):l(t)}function l(t){return hi(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(ki,u,u)(t)}function u(t){return $o(t)?qo(e,c,"whitespace")(t):c(t)}function c(i){return null===i||Vo(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},ki={tokenize:function(e,t,n){return function(t){return Bo(t)?vi(e,r)(t):n(t)};function r(t){return gi(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return $o(t)?qo(e,i,"whitespace")(t):i(t)}function i(e){return null===e||Vo(e)?t(e):n(e)}},partial:!0};const wi={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),qo(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?l(t):Vo(t)?e.attempt(Si,i,l)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||Vo(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}function l(n){return e.exit("codeIndented"),t(n)}}},Si={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Vo(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):qo(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):Vo(e)?o(e):n(e)}},partial:!0};const xi={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||Bo(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||Vo(n)?(e.exit("atxHeading"),t(n)):$o(n)?qo(e,i,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),i(t))}function l(t){return null===t||35===t||Bo(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),l)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},Eo(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const _i={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let a,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){a="paragraph"===r.events[l][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),$o(t)?qo(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||Vo(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const Ei=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ci=["pre","script","style","textarea"],Ii={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,a,l,s;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u}(t)};function u(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),i=!0,p):63===l?(e.consume(l),o=3,r.interrupt?t:L):Lo(l)?(e.consume(l),a=String.fromCharCode(l),h):n(l)}function c(i){return 45===i?(e.consume(i),o=2,d):91===i?(e.consume(i),o=5,l=0,f):Lo(i)?(e.consume(i),o=4,r.interrupt?t:L):n(i)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:L):n(o)}function f(o){const i="CDATA[";return o===i.charCodeAt(l++)?(e.consume(o),6===l?r.interrupt?t:C:f):n(o)}function p(t){return Lo(t)?(e.consume(t),a=String.fromCharCode(t),h):n(t)}function h(l){if(null===l||47===l||62===l||Bo(l)){const s=47===l,u=a.toLowerCase();return s||i||!Ci.includes(u)?Ei.includes(a.toLowerCase())?(o=6,s?(e.consume(l),m):r.interrupt?t(l):C(l)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(l):i?g(l):v(l)):(o=1,r.interrupt?t(l):C(l))}return 45===l||Do(l)?(e.consume(l),a+=String.fromCharCode(l),h):n(l)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:C):n(o)}function g(t){return $o(t)?(e.consume(t),g):_(t)}function v(t){return 47===t?(e.consume(t),_):58===t||95===t||Lo(t)?(e.consume(t),y):$o(t)?(e.consume(t),v):_(t)}function y(t){return 45===t||46===t||58===t||95===t||Do(t)?(e.consume(t),y):b(t)}function b(t){return 61===t?(e.consume(t),k):$o(t)?(e.consume(t),b):v(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,w):$o(t)?(e.consume(t),k):S(t)}function w(t){return t===s?(e.consume(t),s=null,x):null===t||Vo(t)?n(t):(e.consume(t),w)}function S(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Bo(t)?b(t):(e.consume(t),S)}function x(e){return 47===e||62===e||$o(e)?v(e):n(e)}function _(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return null===t||Vo(t)?C(t):$o(t)?(e.consume(t),E):n(t)}function C(t){return 45===t&&2===o?(e.consume(t),N):60===t&&1===o?(e.consume(t),O):62===t&&4===o?(e.consume(t),D):63===t&&3===o?(e.consume(t),L):93===t&&5===o?(e.consume(t),A):!Vo(t)||6!==o&&7!==o?null===t||Vo(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),C):(e.exit("htmlFlowData"),e.check(Ti,M,I)(t))}function I(t){return e.check(Pi,T,M)(t)}function T(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return null===t||Vo(t)?I(t):(e.enter("htmlFlowData"),C(t))}function N(t){return 45===t?(e.consume(t),L):C(t)}function O(t){return 47===t?(e.consume(t),a="",R):C(t)}function R(t){if(62===t){const n=a.toLowerCase();return Ci.includes(n)?(e.consume(t),D):C(t)}return Lo(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),R):C(t)}function A(t){return 93===t?(e.consume(t),L):C(t)}function L(t){return 62===t?(e.consume(t),D):45===t&&2===o?(e.consume(t),L):C(t)}function D(t){return null===t||Vo(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),D)}function M(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Ti={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Yo,t,n)}},partial:!0},Pi={tokenize:function(e,t,n){const r=this;return function(t){if(Vo(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Ni={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},Oi={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s}function s(t){return e.enter("codeFencedFence"),$o(t)?qo(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===i?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===i?(o++,e.consume(t),c):o>=l?(e.exit("codeFencedFenceSequence"),$o(t)?qo(e,d,"whitespace")(t):d(t)):n(t)}function d(r){return null===r||Vo(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,a=0,l=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}(t)};function s(t){return t===i?(l++,e.consume(t),s):l<3?n(t):(e.exit("codeFencedFenceSequence"),$o(t)?qo(e,u,"whitespace")(t):u(t))}function u(n){return null===n||Vo(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Ni,p,y)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||Vo(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(t)):$o(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),qo(e,d,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),c)}function d(t){return null===t||Vo(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||Vo(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(t)):96===t&&t===i?n(t):(e.consume(t),f)}function p(t){return e.attempt(o,y,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&$o(t)?qo(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||Vo(t)?e.check(Ni,p,y)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||Vo(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}function y(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Ri=document.createElement("i");function Ai(e){const t="&"+e+";";Ri.innerHTML=t;const n=Ri.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Li={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,i=Do,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=jo,u):(e.enter("characterReferenceValue"),o=7,i=Fo,u(t))}function u(l){if(59===l&&a){const o=e.exit("characterReferenceValue");return i!==Do||Ai(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return i(l)&&a++1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),f=Object.assign({},e[c][1].start);Hi(d,-l),Hi(f,l),i={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:f},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},a.end),s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=Co(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=Co(s,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),s=Co(s,li(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),s=Co(s,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,s=Co(s,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,Eo(e,n-1,c-n+3,s),c=n+s.length-u-2;break}c=-1;for(;++c13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCodePoint(n)}const sa=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ua(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return la(n.slice(t?2:1),t?16:10)}return Ai(n)||e}const ca={}.hasOwnProperty;function da(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(te),autolinkProtocol:E,autolinkEmail:E,atxHeading:i(Y),blockQuote:i(W),characterEscape:E,characterReference:E,codeFenced:i(q),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(q,a),codeText:i(G,a),codeTextData:E,data:E,codeFlowValue:E,definition:i(Q),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(Z),hardBreakEscape:i(X),hardBreakTrailing:i(X),htmlFlow:i(J,a),htmlFlowData:E,htmlText:i(J,a),htmlTextData:E,image:i(ee),label:a,link:i(te),listItem:i(re),listItemValue:f,listOrdered:i(ne,d),listUnordered:i(ne),paragraph:i(oe),reference:j,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(Y),strong:i(ie),thematicBreak:i(le)},exit:{atxHeading:s(),atxHeadingSequence:w,autolink:s(),autolinkEmail:K,autolinkProtocol:H,blockQuote:s(),characterEscapeValue:C,characterReferenceMarkerHexadecimal:V,characterReferenceMarkerNumeric:V,characterReferenceValue:B,characterReference:$,codeFenced:s(g),codeFencedFence:m,codeFencedFenceInfo:p,codeFencedFenceMeta:h,codeFlowValue:C,codeIndented:s(v),codeText:s(O),codeTextData:C,data:C,definition:s(),definitionDestinationString:k,definitionLabelString:y,definitionTitleString:b,emphasis:s(),hardBreakEscape:s(T),hardBreakTrailing:s(T),htmlFlow:s(P),htmlFlowData:C,htmlText:s(N),htmlTextData:C,image:s(A),label:D,labelText:L,lineEnding:I,link:s(R),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:U,resourceDestinationString:M,resourceTitleString:z,resource:F,setextHeading:s(_),setextHeadingLineSequence:x,setextHeadingText:S,strong:s(),thematicBreak:s()}};pa(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const i={stack:[r],tokenStack:[],config:t,enter:l,exit:u,buffer:a,resume:c,data:n},s=[];let d=-1;for(;++d0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||ma).call(i,void 0,e[0])}for(r.position={start:fa(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:fa(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,a]=t[o];switch(i){case 0:case-1:return n(a,o);case 1:{const e=n([],o);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),o);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n(new va[e](t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o)}return n(new va[i](a),o)};return r})(new Map,e)(0),ba="",{toString:ka}={},{keys:wa}=Object,Sa=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=ka.call(e).slice(8,-1);switch(n){case"Array":return[1,ba];case"Object":return[2,ba];case"Date":return[3,ba];case"RegExp":return[4,ba];case"Map":return[5,ba];case"Set":return[6,ba]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},xa=e=>{let[t,n]=e;return 0===t&&("function"===n||"symbol"===n)},_a=function(e){let{json:t,lossy:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[a,l]=Sa(r);switch(a){case 0:{let t=r;switch(l){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);t=null;break;case"undefined":return o([-1],r)}return o([a,t],r)}case 1:{if(l)return o([l,[...r]],r);const e=[],t=o([a,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(l)switch(l){case"BigInt":return o([l,r.toString()],r);case"Boolean":case"Number":case"String":return o([l,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],s=o([a,n],r);for(const t of wa(r))!e&&xa(Sa(r[t]))||n.push([i(t),i(r[t])]);return s}case 3:return o([a,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([a,{source:e,flags:t}],r)}case 5:{const t=[],n=o([a,t],r);for(const[o,a]of r)(e||!xa(Sa(o))&&!xa(Sa(a)))&&t.push([i(o),i(a)]);return n}case 6:{const t=[],n=o([a,t],r);for(const o of r)!e&&xa(Sa(o))||t.push(i(o));return n}}const{message:s}=r;return o([a,{name:l,message:s}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},Ea="function"===typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?ya(_a(e,t)):structuredClone(e):(e,t)=>ya(_a(e,t));function Ca(e){const t=[];let n=-1,r=0,o=0;for(;++n55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="\ufffd"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Ia(e,t){const n=[{type:"text",value:"\u21a9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Ta(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Pa=function(e){if(null===e||void 0===e)return Oa;if("function"===typeof e)return Na(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n":"")+")"})}return c;function c(){let u,c,d,f=Aa;if((!t||i(o,l,s[s.length-1]||void 0))&&(f=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[La,e];return null===e||void 0===e?Aa:[e]}(n(o,s)),f[0]===Da))return f;if("children"in o&&o.children){const t=o;if(t.children&&f[0]!==Ma)for(c=(r?t.children.length:-1)+a,d=s.concat(t);c>-1&&c1:t}const Va=9,Ba=32;function $a(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Ha(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Ha(t.slice(o),o>0,!1)),i.join("")}function Ha(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===Va||t===Ba;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===Va||t===Ba;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Ka={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"===typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=Ca(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,l=e.footnoteCounts.get(r);void 0===l?(l=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,l+=1,e.footnoteCounts.set(r,l);const s={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,s);const u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ja(e,t);const o={src:Ca(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:Ca(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ja(e,t);const o={href:Ca(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:Ca(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let l=-1;for(;++l0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=Qr(t.children[1]),a=Gr(t.children[t.children.length-1]);i&&a&&(r.position={start:i,end:a}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,a=i?i.length:t.children.length;let l=-1;const s=[];for(;++l0&&n.push({type:"text",value:"\n"}),n}function Ja(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function el(e,t){const n=function(e,t){const n=t||Ga,r=new Map,o=new Map,i=new Map,a={...Ka,...n.handlers},l={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r0&&d.push({type:"text",value:" "});let e="string"===typeof n?n:n(s,c);"string"===typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"===typeof r?r:r(s,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=i[i.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else i.push(...d);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(i,!0)};e.patch(o,h),l.push(h)}if(0!==l.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Ea(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function tl(e,t){return e&&"run"in e?async function(n,r){const o=el(n,{file:r,...t});await e.run(o,r)}:function(n,r){return el(n,{file:r,...t||e})}}function nl(e){if(e)throw e}var rl=n(240);function ol(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function il(){const e=[],t={run:function(){for(var t=arguments.length,n=new Array(t),r=0;r1?s-1:0),c=1;co.length;let u;s&&o.push(i);try{u=e.apply(this,o)}catch(r){if(s&&n)throw r;return i(r)}s||(u&&u.then&&"function"===typeof u.then?u.then(a,i):u instanceof Error?i(u):a(u))}function i(e){if(!n){n=!0;for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;ie.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let a=-1,l=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),l>-1&&(e.codePointAt(i)===t.codePointAt(l--)?l<0&&(o=i):(l=-1,o=a));r===o?o=a:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(ll(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){ll(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const l=e.codePointAt(n);if(47!==l)r<0&&(t=!0,r=n+1),46===l?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===a||1===a&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(){let e,t=-1;for(var n=arguments.length,r=new Array(n),o=0;o2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),a=s,l=0;continue}}else if(o.length>0){o="",i=0,a=s,l=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,s):o=e.slice(a+1,s),i=s-a-1;a=s,l=0}else 46===n&&l>-1?l++:l=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(e)},sep:"/"};function ll(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const sl={cwd:function(){return"/"}};function ul(e){return Boolean(null!==e&&"object"===typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function cl(e){if("string"===typeof e)e=new URL(e);else if(!ul(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n1?r-1:0),i=1;i0){let[r,...i]=n;const a=t[o][1];ol(a)&&ol(r)&&(r=rl(!0,a,r)),t[o]=[e,r,...i]}}}}const bl=(new yl).freeze();function kl(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function wl(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Sl(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function xl(e){if(!ol(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function _l(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function El(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new fl(e)}const Cl=[],Il={allowDangerousHtml:!0},Tl=/^(https?|ircs?|mailto|xmpp)$/i,Pl=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Nl(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,i=e.components,a=e.disallowedElements,l=e.rehypePlugins||Cl,s=e.remarkPlugins||Cl,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Il}:Il,c=e.skipHtml,d=e.unwrapDisallowed,f=e.urlTransform||Ol,p=bl().use(ga).use(s).use(tl,u).use(l),h=new fl;"string"===typeof r&&(h.value=r);for(const v of Pl)Object.hasOwn(e,v.from)&&(v.from,v.to&&v.to,v.id);const m=p.parse(h);let g=p.runSync(m,h);return o&&(g={type:"element",tagName:"div",properties:{className:o},children:"root"===g.type?g.children:[g]}),Fa(g,(function(e,r,o){if("raw"===e.type&&o&&"number"===typeof r)return c?o.children.splice(r,1):o.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in wo)if(Object.hasOwn(wo,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=wo[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=f(String(n||""),t,e))}}if("element"===e.type){let i=t?!t.includes(e.tagName):!!a&&a.includes(e.tagName);if(!i&&n&&"number"===typeof r&&(i=!n(e,r,o)),i&&o&&"number"===typeof r)return d&&e.children?o.children.splice(r,1,...e.children):o.children.splice(r,1),r}})),uo(g,{Fragment:Qn.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Qn.jsx,jsxs:Qn.jsxs,passKeys:!0,passNode:!0})}function Ol(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return t<0||o>-1&&t>o||n>-1&&t>n||r>-1&&t>r||Tl.test(e.slice(0,t))?e:""}function Rl(){const e=Ie();return e?(0,Qn.jsxs)("div",{className:"section body-text content-box vertical-box item",children:[(0,Qn.jsxs)("div",{className:"horizontal-box preview",children:[(0,Qn.jsx)("img",{src:e.image,alt:e.title}),(0,Qn.jsxs)("div",{children:[(0,Qn.jsx)("h1",{children:e.title}),e.shortDescription]})]}),(0,Qn.jsx)(Nl,{children:e.description})]}):(0,Qn.jsxs)("div",{className:"section body-text content-box",children:[(0,Qn.jsx)("h1",{children:"404: \u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e."}),(0,Qn.jsx)("a",{href:"/",children:"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"})]})}function Al(){const{page:e}=_e();return(0,Qn.jsxs)("div",{children:[(0,Qn.jsx)(Jn,{}),"about"===e?(0,Qn.jsx)(nr,{}):"store"===e?(0,Qn.jsx)(tr,{}):"vacancy"===e?(0,Qn.jsx)(ir,{}):(0,Qn.jsx)(Rl,{}),(0,Qn.jsx)(rr,{})]})}function Ll(){return(0,Qn.jsx)("div",{className:"App",children:(0,Qn.jsx)(ce,{children:(0,Qn.jsx)(le,{children:(0,Qn.jsx)(ie,{path:":page?/:subpage?",element:(0,Qn.jsx)(Al,{})})})})})}a.createRoot(document.getElementById("root")).render((0,Qn.jsx)(o.StrictMode,{children:(0,Qn.jsx)(Ll,{})}))})()})();
+//# sourceMappingURL=main.e268e01a.js.map
\ No newline at end of file
diff --git a/frontend/templates/frontend/app.html b/frontend/templates/frontend/app.html
index 9cf7e89..af92aba 100644
--- a/frontend/templates/frontend/app.html
+++ b/frontend/templates/frontend/app.html
@@ -5,7 +5,7 @@
NovelPlus
-
+