diff --git a/src/mmt-api/resources/mmt-web/stex/mmt-viewer/3rdpartylicenses.txt b/src/mmt-api/resources/mmt-web/stex/mmt-viewer/3rdpartylicenses.txt index 714ed463d..d879b4675 100644 --- a/src/mmt-api/resources/mmt-web/stex/mmt-viewer/3rdpartylicenses.txt +++ b/src/mmt-api/resources/mmt-web/stex/mmt-viewer/3rdpartylicenses.txt @@ -1138,6 +1138,33 @@ For more information on this, and how to apply and follow the GNU AGPL, see . +@tweenjs/tween.js +MIT +The MIT License + +Copyright (c) 2010-2012 Tween.js authors. + +Easing equations Copyright (c) 2001 Robert Penner http://robertpenner.com/easing/ + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + axios MIT # Copyright (c) 2014-present Matt Zabriskie & Collaborators @@ -1549,6 +1576,30 @@ SOFTWARE. react-property MIT +react-slideshow-image +MIT +MIT License + +Copyright (c) 2022 Femi Oladeji + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + react-transition-group BSD-3-Clause BSD 3-Clause License @@ -1583,6 +1634,31 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +resize-observer-polyfill +MIT +The MIT License (MIT) + +Copyright (c) 2016 Denis Rul + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + rxjs Apache-2.0 Apache License diff --git a/src/mmt-api/resources/mmt-web/stex/mmt-viewer/index.html b/src/mmt-api/resources/mmt-web/stex/mmt-viewer/index.html index 1db16e6a6..d0e4a6c13 100644 --- a/src/mmt-api/resources/mmt-web/stex/mmt-viewer/index.html +++ b/src/mmt-api/resources/mmt-web/stex/mmt-viewer/index.html @@ -26,7 +26,7 @@ sTeX Viewer - + @@ -39,6 +39,6 @@
- + diff --git a/src/mmt-api/resources/mmt-web/stex/mmt-viewer/main.21964b7300104c91.js b/src/mmt-api/resources/mmt-web/stex/mmt-viewer/main.21964b7300104c91.js deleted file mode 100644 index 6bcfd2f3a..000000000 --- a/src/mmt-api/resources/mmt-web/stex/mmt-viewer/main.21964b7300104c91.js +++ /dev/null @@ -1,154 +0,0 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[179],{7560:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})},8283:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},4859:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},5920:(e,t,n)=>{"use strict";n.d(t,{Z:()=>oe});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?u(x,--b):0,g--,10===y&&(g=1,m--),y}function C(){return y=b2||A(y)>3?"":" "}function j(e,t){for(;--t&&C()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return T(e,_()+(t<6&&32==E()&&32==C()))}function I(e){for(;C();)switch(y){case e:return b;case 34:case 39:34!==e&&39!==e&&I(y);break;case 40:41===e&&I(e);break;case 92:C()}return b}function O(e,t){for(;C()&&e+y!==57&&(e+y!==84||47!==E()););return"/*"+T(t,b-1)+"*"+i(47===e?e:C())}function L(e){for(;!A(E());)C();return T(e,b)}var M="-ms-",D="-moz-",F="-webkit-",z="comm",B="rule",q="decl",$="@keyframes";function U(e,t){for(var n="",r=f(e),o=0;o0&&p(D)-v&&h(y>32?X(D+";",r,n,v-1):X(l(D," ","")+";",r,n,v-2),f);break;case 59:D+=";";default:if(h(M=G(D,t,n,m,g,o,d,R,N=[],I=[],v),a),123===A)if(0===g)W(D,t,M,M,N,a,v,d,I);else switch(99===b&&110===u(D,3)?100:b){case 100:case 108:case 109:case 115:W(e,M,M,r&&h(G(e,M,M,0,0,o,d,R,o,N=[],v),I),o,I,v,d,r?N:I);break;default:W(D,M,M,M,[""],I,0,d,I)}}m=g=y=0,w=T=1,R=D="",v=s;break;case 58:v=1+p(D),y=x;default:if(w<1)if(123==A)--w;else if(125==A&&0==w++&&125==S())continue;switch(D+=i(A),A*w){case 38:T=g>0?1:(D+="\f",-1);break;case 44:d[m++]=(p(D)-1)*T,T=1;break;case 64:45===E()&&(D+=Z(C())),b=E(),g=v=p(R=D+=L(_())),A++;break;case 45:45===x&&2==p(D)&&(w=0)}}return a}function G(e,t,n,r,i,a,c,u,p,h,m){for(var g=i-1,v=0===i?a:[""],b=f(v),y=0,x=0,k=0;y0?v[S]+" "+C:l(C,/&\f/g,v[S])))&&(p[k++]=E);return w(e,t,n,0===i?B:u,p,h,m)}function K(e,t,n){return w(e,t,n,z,i(y),d(e,2,-2),0)}function X(e,t,n,r){return w(e,t,n,q,d(e,0,r),d(e,r+1,-1),r)}var Q=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!A(o);)C();return T(e,b)},Y=function(e,t){return N(function(e,t){var n=-1,r=44;do{switch(A(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=Q(b-1,t,n);break;case 2:e[n]+=Z(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=C());return e}(R(e),t))},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],i=Y(t,o),a=n.props,s=0,l=0;s6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+D+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,p(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+F)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(45===u(e,14)?"inline-":"")+"box$3$1"+F+"$2$3$1"+M+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return F+e+M+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+M+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+M+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+M+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case q:e.return=ne(e.value,e.length);break;case $:return U([k(e,{value:l(e.value,"@","@"+F)})],r);case B:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return U([k(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([k(e,{props:[l(t,/:(plac\w+)/,":"+F+"input-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,M+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,s={},l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:()=>r})},9396:(e,t,n)=>{"use strict";n.d(t,{T:()=>l,i:()=>i,w:()=>s});var r=n(2784),o=n(5920),i=(n(653),n(2668),!0),a=r.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null);a.Provider;var s=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(a);return e(t,o,n)}))};i||(s=function(e){return function(t){var n=(0,r.useContext)(a);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(a.Provider,{value:n},e(t,n))):e(t,n)}});var l=r.createContext({})},653:(e,t,n)=>{"use strict";n.d(t,{O:()=>h});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(6894),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=(0,o.Z)((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===r[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:p}}},2668:(e,t,n)=>{"use strict";var r;n.d(t,{L:()=>a,j:()=>s});var o=n(2784),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},2792:(e,t,n)=>{"use strict";n.d(t,{My:()=>i,fp:()=>r,hC:()=>o});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},3553:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");t.Z=a},1963:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-8-2h2v-4h4v-2h-4V7h-2v4H7v2h4z"}),"AddBoxOutlined");t.Z=a},8893:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM17 11h-4v4h-2v-4H7V9h4V5h2v4h4v2z"}),"AddComment");t.Z=a},5413:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"}),"Article");t.Z=a},8114:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"}),"Block");t.Z=a},1500:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"}),"ChatBubble");t.Z=a},2713:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");t.Z=a},2499:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank");t.Z=a},2679:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");t.Z=a},6163:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.Z=a},9754:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=a},9910:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61z"}),"FilterAlt");t.Z=a},6772:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}),"Folder");t.Z=a},3602:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"}),"FolderOpen");t.Z=a},5738:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5zm0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5zM7 19h14v-2H7v2zm0-6h14v-2H7v2zm0-8v2h14V5H7z"}),"FormatListBulleted");t.Z=a},9169:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 11h10v2H7z"}),"IndeterminateCheckBoxOutlined");t.Z=a},9208:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=a},7249:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-.14 0-.27.01-.4.04-.39.08-.74.28-1.01.55-.18.18-.33.4-.43.64-.1.23-.16.49-.16.77v14c0 .27.06.54.16.78s.25.45.43.64c.27.27.62.47 1.01.55.13.02.26.03.4.03h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 11.17-1.41 1.42L6 12l3.59-3.59L11 9.83 8.83 12 11 14.17zm1-9.92c-.41 0-.75-.34-.75-.75s.34-.75.75-.75.75.34.75.75-.34.75-.75.75zm2.41 11.34L13 14.17 15.17 12 13 9.83l1.41-1.42L18 12l-3.59 3.59z"}),"IntegrationInstructions");t.Z=a},4506:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");t.Z=a},2874:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"}),"List");t.Z=a},5927:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"}),"Lock");t.Z=a},985:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert");t.Z=a},7283:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore");t.Z=a},8781:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");t.Z=a},9526:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}),"OpenInNew");t.Z=a},4324:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)([(0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"},"0"),(0,i.jsx)("circle",{cx:"7",cy:"12",r:"1.5"},"1"),(0,i.jsx)("circle",{cx:"12",cy:"12",r:"1.5"},"2"),(0,i.jsx)("circle",{cx:"17",cy:"12",r:"1.5"},"3")],"PendingOutlined");t.Z=a},1559:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");t.Z=a},6788:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;!function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r)}(n(2784));var o=r(n(8671)),i=n(2322);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var s=(0,o.default)((0,i.jsx)("path",{transform:"scale(0.5, 0.5)",d:"M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm-4 29V15l12 9-12 9z"}),"PlayCircleFilledWhite");t.Z=s},9666:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"}),"Public");t.Z=a},2658:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}),"Refresh");t.Z=a},3079:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M19 13H5v-2h14v2z"}),"Remove");t.Z=a},6815:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"}),"Reply");t.Z=a},5207:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)([(0,i.jsx)("path",{d:"M6 6.39v4.7c0 4 2.55 7.7 6 8.83 3.45-1.13 6-4.82 6-8.83v-4.7l-6-2.25-6 2.25z",opacity:".3"},"0"),(0,i.jsx)("path",{d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7z"},"1")],"ShieldTwoTone");t.Z=a},2905:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"m20.41 8.41-4.83-4.83c-.37-.37-.88-.58-1.41-.58H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.42zM7 7h7v2H7V7zm10 10H7v-2h10v2zm0-4H7v-2h10v2z"}),"TextSnippet");t.Z=a},537:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"}),"Textsms");t.Z=a},7100:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)([(0,i.jsx)("path",{d:"M16.58 1.41 15.16 0l-3.17 3.17L8.82 0 7.41 1.41 11.99 6z"},"0"),(0,i.jsx)("path",{d:"M16.58 6.41 15.16 5l-3.17 3.17L8.82 5 7.41 6.41 11.99 11zM7.42 17.59 8.84 19l3.17-3.17L15.18 19l1.41-1.41L12.01 13z"},"1"),(0,i.jsx)("path",{d:"M7.42 22.59 8.84 24l3.17-3.17L15.18 24l1.41-1.41L12.01 18z"},"2")],"UnfoldLessDouble");t.Z=a},8918:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M12 7.83 15.17 11l1.41-1.41L12 5 7.41 9.59 8.83 11 12 7.83zm0-5L15.17 6l1.41-1.41L12 0 7.41 4.59 8.83 6 12 2.83zm0 18.34L8.83 18l-1.41 1.41L12 24l4.59-4.59L15.17 18 12 21.17zm0-5L8.83 13l-1.41 1.41L12 19l4.59-4.59L15.17 13 12 16.17z"}),"UnfoldMoreDouble");t.Z=a},6436:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=a},8203:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");t.Z=a},7620:(e,t,n)=>{"use strict";var r=n(4859);t.Z=void 0;var o=r(n(8671)),i=n(2322),a=(0,o.default)((0,i.jsx)("path",{d:"M1 11h4v11H1zm15-7.75C16.65 2.49 17.66 2 18.7 2 20.55 2 22 3.45 22 5.3c0 2.27-2.91 4.9-6 7.7-3.09-2.81-6-5.44-6-7.7C10 3.45 11.45 2 13.3 2c1.04 0 2.05.49 2.7 1.25zM20 17h-7l-2.09-.73.33-.94L13 16h2.82c.65 0 1.18-.53 1.18-1.18 0-.49-.31-.93-.77-1.11L8.97 11H7v9.02L14 22l8.01-3c-.01-1.1-.9-2-2.01-2z"}),"VolunteerActivism");t.Z=a},8671:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(1708)},5645:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case p:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},1649:(e,t,n)=>{"use strict";n(5645)},6770:(e,t,n)=>{"use strict";n.d(t,{Z:()=>F});var r=n(7560),o=n(8283),i=n(1512),a=n(8970),s=n(2423),l=n(766),c=n(7450);var u=n(7591);const d={black:"#000",white:"#fff"},p={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},f={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},h={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},v={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},b={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},y=["mode","contrastThreshold","tonalOffset"],x={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.white,default:d.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:d.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function k(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,u.$n)(e.main,o):"dark"===t&&(e.dark=(0,u._j)(e.main,i)))}function S(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:s=.2}=e,l=(0,o.Z)(e,y),c=e.primary||function(e="light"){return"dark"===e?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(t),S=e.secondary||function(e="light"){return"dark"===e?{main:f[200],light:f[50],dark:f[400]}:{main:f[500],light:f[300],dark:f[700]}}(t),C=e.error||function(e="light"){return"dark"===e?{main:h[500],light:h[300],dark:h[700]}:{main:h[700],light:h[400],dark:h[800]}}(t),E=e.info||function(e="light"){return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[700],light:v[500],dark:v[900]}}(t),_=e.success||function(e="light"){return"dark"===e?{main:b[400],light:b[300],dark:b[700]}:{main:b[800],light:b[500],dark:b[900]}}(t),T=e.warning||function(e="light"){return"dark"===e?{main:m[400],light:m[300],dark:m[700]}:{main:"#ed6c02",light:m[500],dark:m[900]}}(t);function A(e){return(0,u.mi)(e,w.text.primary)>=n?w.text.primary:x.text.primary}const R=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,i.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,i.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return k(e,"light",o,s),k(e,"dark",a,s),e.contrastText||(e.contrastText=A(e.main)),e},N={dark:w,light:x};return(0,a.Z)((0,r.Z)({common:(0,r.Z)({},d),mode:t,primary:R({color:c,name:"primary"}),secondary:R({color:S,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:R({color:C,name:"error"}),warning:R({color:T,name:"warning"}),info:R({color:E,name:"info"}),success:R({color:_,name:"success"}),grey:p,contrastThreshold:n,getContrastText:A,augmentColor:R,tonalOffset:s},N[t]),l)}const C=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const E={textTransform:"uppercase"},_='"Roboto", "Helvetica", "Arial", sans-serif';function T(e,t){const n="function"==typeof t?t(e):t,{fontFamily:i=_,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:d=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,o.Z)(n,C);const g=s/14,v=h||(e=>e/p*g+"rem"),b=(e,t,n,o,a)=>{return(0,r.Z)({fontFamily:i,fontWeight:e,fontSize:v(t),lineHeight:n},i===_?{letterSpacing:(s=o/t,Math.round(1e5*s)/1e5)+"em"}:{},a,f);var s},y={h1:b(l,96,1.167,-1.5),h2:b(l,60,1.2,-.5),h3:b(c,48,1.167,0),h4:b(c,34,1.235,.25),h5:b(c,24,1.334,0),h6:b(u,20,1.6,.15),subtitle1:b(c,16,1.75,.15),subtitle2:b(u,14,1.57,.1),body1:b(c,16,1.5,.15),body2:b(c,14,1.43,.15),button:b(u,14,1.75,.4,E),caption:b(c,12,1.66,.4),overline:b(c,12,2.66,1,E),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,r.Z)({htmlFontSize:p,pxToRem:v,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:d},y),m,{clone:!1})}function A(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const R=["none",A(0,2,1,-1,0,1,1,0,0,1,3,0),A(0,3,1,-2,0,2,2,0,0,1,5,0),A(0,3,3,-2,0,3,4,0,0,1,8,0),A(0,2,4,-1,0,4,5,0,0,1,10,0),A(0,3,5,-1,0,5,8,0,0,1,14,0),A(0,3,5,-1,0,6,10,0,0,1,18,0),A(0,4,5,-2,0,7,10,1,0,2,16,1),A(0,5,5,-3,0,8,10,1,0,3,14,2),A(0,5,6,-3,0,9,12,1,0,3,16,2),A(0,6,6,-3,0,10,14,1,0,4,18,3),A(0,6,7,-4,0,11,15,1,0,4,20,3),A(0,7,8,-4,0,12,17,2,0,5,22,4),A(0,7,8,-4,0,13,19,2,0,5,24,4),A(0,7,9,-4,0,14,21,2,0,5,26,4),A(0,8,9,-5,0,15,22,2,0,6,28,5),A(0,8,10,-5,0,16,24,2,0,6,30,5),A(0,8,11,-5,0,17,26,2,0,6,32,5),A(0,9,11,-5,0,18,28,2,0,7,34,6),A(0,9,12,-6,0,19,29,2,0,7,36,6),A(0,10,13,-6,0,20,31,3,0,8,38,7),A(0,10,13,-6,0,21,33,3,0,8,40,7),A(0,10,14,-6,0,22,35,3,0,8,42,7),A(0,11,14,-7,0,23,36,3,0,9,44,8),A(0,11,15,-7,0,24,38,3,0,9,46,8)],N=["duration","easing","delay"],Z={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},P={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function j(e){return`${Math.round(e)}ms`}function I(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function O(e){const t=(0,r.Z)({},Z,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:I,create:(e=["all"],r={})=>{const{duration:i=n.standard,easing:a=t.easeInOut,delay:s=0}=r;(0,o.Z)(r,N);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof i?i:j(i)} ${a} ${"string"==typeof s?s:j(s)}`)).join(",")}},e,{easing:t,duration:n})}const L={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},M=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function D(e={},...t){const{mixins:n={},palette:u={},transitions:d={},typography:p={}}=e,f=(0,o.Z)(e,M);if(e.vars)throw new Error((0,i.Z)(18));const h=S(u),m=(0,s.Z)(e);let g=(0,a.Z)(m,{mixins:(v=m.breakpoints,b=n,(0,r.Z)({toolbar:{minHeight:56,[v.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[v.up("sm")]:{minHeight:64}}},b)),palette:h,shadows:R.slice(),typography:T(h,p),transitions:O(d),zIndex:(0,r.Z)({},L)});var v,b;return g=(0,a.Z)(g,f),g=t.reduce(((e,t)=>(0,a.Z)(e,t)),g),g.unstable_sxConfig=(0,r.Z)({},l.Z,null==f?void 0:f.unstable_sxConfig),g.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},g}const F=D},9957:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(6770).Z)()},6912:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="$$material"},916:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>T,FO:()=>C,Dz:()=>E});var r=n(8283),o=n(7560),i=n(5165),a=n(8970),s=n(2423),l=n(2651);const c=["variant"];function u(e){return 0===e.length}function d(e){const{variant:t}=e,n=(0,r.Z)(e,c);let o=t||"";return Object.keys(n).sort().forEach((t=>{o+="color"===t?u(o)?e[t]:(0,l.Z)(e[t]):`${u(o)?t:(0,l.Z)(t)}${(0,l.Z)(e[t].toString())}`})),o}var p=n(7450);const f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];const h=e=>{const t={};return e&&e.forEach((e=>{const n=d(e.props);t[n]=e.style})),t},m=(e,t,n)=>{const{ownerState:r={}}=e,o=[];return n&&n.forEach((n=>{let i=!0;Object.keys(n.props).forEach((t=>{r[t]!==n.props[t]&&e[t]!==n.props[t]&&(i=!1)})),i&&o.push(t[d(n.props)])})),o};function g(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const v=(0,s.Z)(),b=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function x(e){return e?(t,n)=>n[e]:null}const w=({styledArg:e,props:t,defaultTheme:n,themeId:r})=>{const i=e((0,o.Z)({},t,{theme:y((0,o.Z)({},t,{defaultTheme:n,themeId:r}))}));let a;if(i&&i.variants&&(a=i.variants,delete i.variants),a){return[i,...m(t,h(a),a)]}return i};var k=n(9957),S=n(6912);const C=e=>g(e)&&"classes"!==e,E=g,_=function(e={}){const{themeId:t,defaultTheme:n=v,rootShouldForwardProp:s=g,slotShouldForwardProp:l=g}=e,c=e=>(0,p.Z)((0,o.Z)({},e,{theme:y((0,o.Z)({},e,{defaultTheme:n,themeId:t}))}));return c.__mui_systemSx=!0,(e,u={})=>{(0,i.Co)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:d,slot:p,skipVariantsResolver:v,skipSx:k,overridesResolver:S=x(b(p))}=u,C=(0,r.Z)(u,f),E=void 0!==v?v:p&&"Root"!==p&&"root"!==p||!1,_=k||!1;let T=g;"Root"===p||"root"===p?T=s:p?T=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(T=void 0);const A=(0,i.ZP)(e,(0,o.Z)({shouldForwardProp:T,label:undefined},C)),R=(r,...i)=>{const s=i?i.map((e=>{if("function"==typeof e&&e.__emotion_real!==e)return r=>w({styledArg:e,props:r,defaultTheme:n,themeId:t});if((0,a.P)(e)){let t,n=e;return e&&e.variants&&(t=e.variants,delete n.variants,n=n=>{let r=e;return m(n,h(t),t).forEach((e=>{r=(0,a.Z)(r,e)})),r}),n}return e})):[];let l=r;if((0,a.P)(r)){let e;r&&r.variants&&(e=r.variants,delete l.variants,l=t=>{let n=r;return m(t,h(e),e).forEach((e=>{n=(0,a.Z)(n,e)})),n})}else"function"==typeof r&&r.__emotion_real!==r&&(l=e=>w({styledArg:r,props:e,defaultTheme:n,themeId:t}));d&&S&&s.push((e=>{const r=y((0,o.Z)({},e,{defaultTheme:n,themeId:t})),i=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(d,r);if(i){const t={};return Object.entries(i).forEach((([n,i])=>{t[n]="function"==typeof i?i((0,o.Z)({},e,{theme:r})):i})),S(e,t)}return null})),d&&!E&&s.push((e=>{const r=y((0,o.Z)({},e,{defaultTheme:n,themeId:t}));return((e,t,n,r)=>{var o;const i=null==n||null==(o=n.components)||null==(o=o[r])?void 0:o.variants;return m(e,t,i)})(e,((e,t)=>{let n=[];return t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants),h(n)})(d,r),r,d)})),_||s.push(c);const u=s.length-i.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");l=[...r,...e],l.raw=[...r.raw,...e]}const p=A(l,...s);return e.muiName&&(p.muiName=e.muiName),p};return A.withConfig&&(R.withConfig=A.withConfig),R}}({themeId:S.Z,defaultTheme:k.Z,rootShouldForwardProp:C}),T=_},9723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3022);var o=n(6933);function i({props:e,name:t,defaultTheme:n,themeId:i}){let a=(0,o.Z)(n);i&&(a=a[i]||a);const s=function(e){const{theme:t,name:n,props:o}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}({theme:a,name:t,props:e});return s}var a=n(9957),s=n(6912);function l({props:e,name:t}){return i({props:e,name:t,defaultTheme:a.Z,themeId:s.Z})}},7342:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(2651).Z},5209:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(8419).Z},9798:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(7560),o=n(2784),i=n(8283),a=n(6277),s=n(9075),l=n(7342),c=n(9723),u=n(916),d=n(9222),p=n(5672);function f(e){return(0,p.Z)("MuiSvgIcon",e)}(0,d.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(2322);const m=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],g=(0,u.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,l.Z)(n.color)}`],t[`fontSize${(0,l.Z)(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,v,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(i=o.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=e.typography)||null==(s=a.pxToRem)?void 0:s.call(a,20))||"1.25rem",medium:(null==(l=e.typography)||null==(c=l.pxToRem)?void 0:c.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(d=u.pxToRem)?void 0:d.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(p=null==(f=(e.vars||e).palette)||null==(h=f[t.color])?void 0:h.main)?p:{action:null==(m=(e.vars||e).palette)||null==(g=m.action)?void 0:g.active,disabled:null==(v=(e.vars||e).palette)||null==(b=v.action)?void 0:b.disabled,inherit:void 0}[t.color]}})),v=o.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiSvgIcon"}),{children:u,className:d,color:p="inherit",component:v="svg",fontSize:b="medium",htmlColor:y,inheritViewBox:x=!1,titleAccess:w,viewBox:k="0 0 24 24"}=n,S=(0,i.Z)(n,m),C=o.isValidElement(u)&&"svg"===u.type,E=(0,r.Z)({},n,{color:p,component:v,fontSize:b,instanceFontSize:e.fontSize,inheritViewBox:x,viewBox:k,hasSvgAsChild:C}),_={};x||(_.viewBox=k);const T=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,l.Z)(t)}`,`fontSize${(0,l.Z)(n)}`]};return(0,s.Z)(o,f,r)})(E);return(0,h.jsxs)(g,(0,r.Z)({as:v,className:(0,a.Z)(T.root,d),focusable:"false",color:y,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:t},_,S,C&&u.props,{ownerState:E,children:[C?u.props.children:u,w?(0,h.jsx)("title",{children:w}):null]}))}));v.muiName="SvgIcon";const b=v;function y(e,t){function n(n,o){return(0,h.jsx)(b,(0,r.Z)({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return n.muiName=b.muiName,o.memo(o.forwardRef(n))}},9673:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(3286).Z},1708:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>o.Z,createChainedFunction:()=>i.Z,createSvgIcon:()=>a.Z,debounce:()=>s.Z,deprecatedPropType:()=>l,isMuiElement:()=>c.Z,ownerDocument:()=>u.Z,ownerWindow:()=>d.Z,requirePropFactory:()=>p,setRef:()=>f,unstable_ClassNameGenerator:()=>w,unstable_useEnhancedEffect:()=>h.Z,unstable_useId:()=>m.Z,unsupportedProp:()=>g,useControlled:()=>v.Z,useEventCallback:()=>b.Z,useForkRef:()=>y.Z,useIsFocusVisible:()=>x.Z});var r=n(8542),o=n(7342),i=n(5209),a=n(9798),s=n(9673);const l=function(e,t){return()=>null};var c=n(9763),u=n(6425),d=n(8043);n(7560);const p=function(e,t){return()=>null};const f=n(5377).Z;var h=n(5691),m=n(5954);const g=function(e,t,n,r,o){return null};var v=n(3838),b=n(8647),y=n(8659),x=n(1211);const w={configure:e=>{r.Z.configure(e)}}},9763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(2784);const o=function(e,t){var n,o;return r.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}},6425:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(5161).Z},8043:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(2817).Z},3838:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(2784);const o=function({controlled:e,default:t,name:n,state:o="value"}){const{current:i}=r.useRef(void 0!==e),[a,s]=r.useState(t);return[i?e:a,r.useCallback((e=>{i||s(e)}),[])]}},5691:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(3806).Z},8647:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(9983).Z},8659:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(3640).Z},5954:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(2358).Z},1211:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(2784);let o,i=!0,a=!1;const s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function u(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!s[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}const p=function(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",l,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",u,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(o),o=window.setTimeout((()=>{a=!1}),100),t.current=!1,!0)},ref:e}}},5165:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>b,Co:()=>y});var r=n(7560),o=n(2784),i=n(6894),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,i.Z)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=n(9396),c=n(2792),u=n(653),d=n(2668),p=s,f=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?p:f},m=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},g=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.hC)(t,n,r),(0,d.L)((function(){return(0,c.My)(t,n,r)})),null},v=(function e(t,n){var i,a,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var p=m(t,n,s),f=p||h(d),v=!f("as");return function(){var b=arguments,y=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&y.push("label:"+i+";"),null==b[0]||void 0===b[0].raw)y.push.apply(y,b);else{0,y.push(b[0][0]);for(var x=b.length,w=1;w{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},9929:(e,t,n)=>{"use strict";n.d(t,{L7:()=>s,VO:()=>r,W8:()=>a,k9:()=>i});const r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${r[e]}px)`};function i(e,t,n){const i=e.theme||{};if(Array.isArray(t)){const e=i.breakpoints||o;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=i.breakpoints||o;return Object.keys(t).reduce(((o,i)=>{if(-1!==Object.keys(e.values||r).indexOf(i)){o[e.up(i)]=n(t[i],i)}else{const e=i;o[e]=t[e]}return o}),{})}return n(t)}function a(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function s(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}},7591:(e,t,n)=>{"use strict";n.d(t,{$n:()=>d,Fq:()=>c,_4:()=>p,_j:()=>u,mi:()=>l});var r=n(1512);function o(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));let o,a=e.substring(t+1,e.length-1);if("color"===n){if(a=a.split(" "),o=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.Z)(10,o))}else a=a.split(",");return a=a.map((e=>parseFloat(e))),{type:n,values:a,colorSpace:o}}function a(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function s(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){e=i(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,s=r*Math.min(o,1-o),l=(e,t=(e+n/30)%12)=>o-s*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),a({type:c,values:u})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l(e,t){const n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,a(e)}function u(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return a(e)}function p(e,t=.15){return s(e)>.5?u(e,t):d(e,t)}},2423:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7560),o=n(8283),i=n(8970);const a=["values","unit","step"],s=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,r.Z)({},e,{[t.key]:t.val})),{})};const l={borderRadius:4};var c=n(8862);var u=n(7450),d=n(766);const p=["breakpoints","palette","spacing","shape"];const f=function(e={},...t){const{breakpoints:n={},palette:f={},spacing:h,shape:m={}}=e,g=(0,o.Z)(e,p),v=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=e,l=(0,o.Z)(e,a),c=s(t),u=Object.keys(c);function d(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function p(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-i/100}${n})`}function f(e,r){const o=u.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:r)-i/100}${n})`}return(0,r.Z)({keys:u,values:c,up:d,down:p,between:f,only:function(e){return u.indexOf(e)+1(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(h);let y=(0,i.Z)({breakpoints:v,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},f),spacing:b,shape:(0,r.Z)({},l,m)},g);return y=t.reduce(((e,t)=>(0,i.Z)(e,t)),y),y.unstable_sxConfig=(0,r.Z)({},d.Z,null==g?void 0:g.unstable_sxConfig),y.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},y}},8329:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(8970);const o=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},8862:(e,t,n)=>{"use strict";n.d(t,{hB:()=>h,eI:()=>f,NA:()=>m,e6:()=>b,o3:()=>y});var r=n(9929),o=n(2818),i=n(8329);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,n]=e.split(""),r=a[t],o=s[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...u,...d];function f(e,t,n,r){var i;const a=null!=(i=(0,o.DW)(e,t,!1))?i:n;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function h(e){return f(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function g(e,t,n,o){if(-1===t.indexOf(n))return null;const i=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=m(t,n),e)),{})}(c(n),o),a=e[n];return(0,r.k9)(e,a,i)}function v(e,t){const n=h(e.theme);return Object.keys(e).map((r=>g(e,t,r,n))).reduce(i.Z,{})}function b(e){return v(e,u)}function y(e){return v(e,d)}function x(e){return v(e,p)}b.propTypes={},b.filterProps=u,y.propTypes={},y.filterProps=d,x.propTypes={},x.filterProps=p},2818:(e,t,n)=>{"use strict";n.d(t,{DW:()=>i,Jq:()=>a,ZP:()=>s});var r=n(2651),o=n(9929);function i(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:i(e,n)||r,t&&(o=t(o,r,e)),o}const s=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.k9)(e,c,(e=>{let o=a(u,l,e);return e===o&&"string"==typeof e&&(o=a(u,l,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===n?o:{[n]:o}}))};return c.propTypes={},c.filterProps=[t],c}},766:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Z});var r=n(8862),o=n(2818),i=n(8329);const a=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?(0,i.Z)(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n};var s=n(9929);function l(e){return"number"!=typeof e?e:`${e}px solid`}const c=(0,o.ZP)({prop:"border",themeKey:"borders",transform:l}),u=(0,o.ZP)({prop:"borderTop",themeKey:"borders",transform:l}),d=(0,o.ZP)({prop:"borderRight",themeKey:"borders",transform:l}),p=(0,o.ZP)({prop:"borderBottom",themeKey:"borders",transform:l}),f=(0,o.ZP)({prop:"borderLeft",themeKey:"borders",transform:l}),h=(0,o.ZP)({prop:"borderColor",themeKey:"palette"}),m=(0,o.ZP)({prop:"borderTopColor",themeKey:"palette"}),g=(0,o.ZP)({prop:"borderRightColor",themeKey:"palette"}),v=(0,o.ZP)({prop:"borderBottomColor",themeKey:"palette"}),b=(0,o.ZP)({prop:"borderLeftColor",themeKey:"palette"}),y=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.eI)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r.NA)(t,e)});return(0,s.k9)(e,e.borderRadius,n)}return null};y.propTypes={},y.filterProps=["borderRadius"];a(c,u,d,p,f,h,m,g,v,b,y);const x=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.eI)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r.NA)(t,e)});return(0,s.k9)(e,e.gap,n)}return null};x.propTypes={},x.filterProps=["gap"];const w=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.eI)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r.NA)(t,e)});return(0,s.k9)(e,e.columnGap,n)}return null};w.propTypes={},w.filterProps=["columnGap"];const k=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.eI)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r.NA)(t,e)});return(0,s.k9)(e,e.rowGap,n)}return null};k.propTypes={},k.filterProps=["rowGap"];a(x,w,k,(0,o.ZP)({prop:"gridColumn"}),(0,o.ZP)({prop:"gridRow"}),(0,o.ZP)({prop:"gridAutoFlow"}),(0,o.ZP)({prop:"gridAutoColumns"}),(0,o.ZP)({prop:"gridAutoRows"}),(0,o.ZP)({prop:"gridTemplateColumns"}),(0,o.ZP)({prop:"gridTemplateRows"}),(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"}));function S(e,t){return"grey"===t?t:e}a((0,o.ZP)({prop:"color",themeKey:"palette",transform:S}),(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:S}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:S}));function C(e){return e<=1&&0!==e?100*e+"%":e}const E=(0,o.ZP)({prop:"width",transform:C}),_=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||s.VO[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:C(t)}};return(0,s.k9)(e,e.maxWidth,t)}return null};_.filterProps=["maxWidth"];const T=(0,o.ZP)({prop:"minWidth",transform:C}),A=(0,o.ZP)({prop:"height",transform:C}),R=(0,o.ZP)({prop:"maxHeight",transform:C}),N=(0,o.ZP)({prop:"minHeight",transform:C}),Z=((0,o.ZP)({prop:"size",cssProperty:"width",transform:C}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:C}),a(E,_,T,A,R,N,(0,o.ZP)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:y},color:{themeKey:"palette",transform:S},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:S},backgroundColor:{themeKey:"palette",transform:S},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:x},rowGap:{style:k},columnGap:{style:w},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:C},maxWidth:{style:_},minWidth:{transform:C},height:{transform:C},maxHeight:{transform:C},minHeight:{transform:C},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},7450:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(2651),o=n(8329),i=n(2818),a=n(9929),s=n(766);const l=function(){function e(e,t,n,o){const s={[e]:t,theme:n},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:p}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,i.DW)(n,u)||{};if(p)return p(s);return(0,a.k9)(s,t,(t=>{let n=(0,i.Jq)(f,d,t);return t===n&&"string"==typeof t&&(n=(0,i.Jq)(f,d,`${e}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===c?n:{[c]:n}}))}return function t(n){var r;const{sx:i,theme:l={}}=n||{};if(!i)return null;const c=null!=(r=l.unstable_sxConfig)?r:s.Z;function u(n){let r=n;if("function"==typeof n)r=n(l);else if("object"!=typeof n)return n;if(!r)return null;const i=(0,a.W8)(l.breakpoints),s=Object.keys(i);let u=i;return Object.keys(r).forEach((n=>{const i=(s=r[n],d=l,"function"==typeof s?s(d):s);var s,d;if(null!=i)if("object"==typeof i)if(c[n])u=(0,o.Z)(u,e(n,i,l,c));else{const e=(0,a.k9)({theme:l},i,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,i)?u=(0,o.Z)(u,e):u[n]=t({sx:i,theme:l})}else u=(0,o.Z)(u,e(n,i,l,c))})),(0,a.L7)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}();l.filterProps=["sx"];const c=l},6933:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(2423),o=n(8457);const i=(0,r.Z)();const a=function(e=i){return(0,o.Z)(e)}},8457:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(2784),o=n(9396);const i=function(e=null){const t=r.useContext(o.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},8542:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=e=>e,o=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},2651:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1512);function o(e){if("string"!=typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},9075:(e,t,n)=>{"use strict";function r(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{Z:()=>r})},8419:(e,t,n)=>{"use strict";function r(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}n.d(t,{Z:()=>r})},3286:(e,t,n)=>{"use strict";function r(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}n.d(t,{Z:()=>r})},8970:(e,t,n)=>{"use strict";n.d(t,{P:()=>o,Z:()=>a});var r=n(7560);function o(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function i(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=i(e[n])})),t}function a(e,t,n={clone:!0}){const s=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?s[r]=a(e[r],t[r],n):n.clone?s[r]=o(t[r])?i(t[r]):t[r]:s[r]=t[r])})),s}},1512:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nr})},5672:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(8542);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t,n="Mui"){const i=o[t];return i?`${n}-${i}`:`${r.Z.generate(e)}-${t}`}},9222:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(5672);function o(e,t,n="Mui"){const o={};return t.forEach((t=>{o[t]=(0,r.Z)(e,t,n)})),o}},5161:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:()=>r})},2817:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(5161);function o(e){return(0,r.Z)(e).defaultView||window}},3022:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7560);function o(e,t){const n=(0,r.Z)({},t);return Object.keys(e).forEach((i=>{if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.Z)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},s=t[i];n[i]={},s&&Object.keys(s)?a&&Object.keys(a)?(n[i]=(0,r.Z)({},s),Object.keys(a).forEach((e=>{n[i][e]=o(a[e],s[e])}))):n[i]=s:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},5377:(e,t,n)=>{"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:()=>r})},3806:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(2784);const o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},9983:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(2784),o=n(3806);const i=function(e){const t=r.useRef(e);return(0,o.Z)((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}},3640:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(2784),o=n(5377);function i(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,o.Z)(e,t)}))}),e)}},2358:(e,t,n)=>{"use strict";var r;n.d(t,{Z:()=>s});var o=n(2784);let i=0;const a=(r||(r=n.t(o,2)))["useId".toString()];function s(e){if(void 0!==a){const t=a();return null!=e?e:t}return function(e){const[t,n]=o.useState(e),r=e||t;return o.useEffect((()=>{null==t&&(i+=1,n(`mui-${i}`))}),[t]),r}(e)}},3861:(e,t,n)=>{"use strict";var r=n(2784),o=n(7029),i=n(2322);const a=(0,r.createContext)(void 0),s="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js";let l;const c=({children:e})=>{const t=(0,r.useContext)(a);if(void 0!==(null==t?void 0:t.version))throw Error("Nested MathJaxContexts");const n=(0,r.useRef)(t);return void 0===n.current&&(void 0===l&&"undefined"!=typeof document&&(l=new Promise((function(e,t){const n=document.createElement("script");n.type="text/javascript",n.src=s,n.async=!1,n.addEventListener("load",(()=>{const t=window.MathJax;e(t)})),n.addEventListener("error",(e=>t(e))),document.getElementsByTagName("head")[0].appendChild(n)})),l.catch((e=>{throw Error(`Failed to download MathJax version 3 from '${s}' due to: ${e}`)}))),n.current={version:3,promise:l}),(0,i.jsx)(a.Provider,{value:n.current,children:e})};var u=n(8283),d=n(7560),p=n(6277),f=n(9075),h=n(9396),m=n(2792),g=n(2668),v=n(653),b=(n(5920),n(3463),(0,h.w)((function(e,t){var n=e.styles,o=(0,v.O)([n],void 0,r.useContext(h.T));if(!h.i){for(var i,a=o.name,s=o.styles,l=o.next;void 0!==l;)a+=" "+l.name,s+=l.styles,l=l.next;var c=!0===t.compat,u=t.insert("",{name:a,styles:s},t.sheet,c);return c?null:r.createElement("style",((i={})["data-emotion"]=t.key+"-global "+a,i.dangerouslySetInnerHTML={__html:u},i.nonce=t.sheet.nonce,i))}var d=r.useRef();return(0,g.j)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),d.current=[n,r],function(){n.flush()}}),[t]),(0,g.j)((function(){var e=d.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&(0,m.My)(t,o.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",o,n,!1)}}),[t,o.name]),null})));function y(){for(var e=arguments.length,t=new Array(e),n=0;ne;const j=44,I=x(A||(A=P` - 0% { - transform: rotate(0deg); - } - - 100% { - transform: rotate(360deg); - } -`)),O=x(R||(R=P` - 0% { - stroke-dasharray: 1px, 200px; - stroke-dashoffset: 0; - } - - 50% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -15px; - } - - 100% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -125px; - } -`)),L=(0,S.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${(0,w.Z)(n.color)}`]]}})((({ownerState:e,theme:t})=>(0,d.Z)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&y(N||(N=P` - animation: ${0} 1.4s linear infinite; - `),I))),M=(0,S.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),D=(0,S.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,w.Z)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,d.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&y(Z||(Z=P` - animation: ${0} 1.4s ease-in-out infinite; - `),O))),F=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:h=0,variant:m="indeterminate"}=n,g=(0,u.Z)(n,T),v=(0,d.Z)({},n,{color:o,disableShrink:a,size:s,thickness:c,value:h,variant:m}),b=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${(0,w.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,w.Z)(n)}`,o&&"circleDisableShrink"]};return(0,f.Z)(i,_,t)})(v),y={},x={},S={};if("determinate"===m){const e=2*Math.PI*((j-c)/2);y.strokeDasharray=e.toFixed(3),S["aria-valuenow"]=Math.round(h),y.strokeDashoffset=`${((100-h)/100*e).toFixed(3)}px`,x.transform="rotate(-90deg)"}return(0,i.jsx)(L,(0,d.Z)({className:(0,p.Z)(b.root,r),style:(0,d.Z)({width:s,height:s},x,l),ownerState:v,ref:t,role:"progressbar"},S,g,{children:(0,i.jsx)(M,{className:b.svg,ownerState:v,viewBox:"22 22 44 44",children:(0,i.jsx)(D,{className:b.circle,style:y,ownerState:v,cx:j,cy:j,r:(j-c)/2,fill:"none",strokeWidth:c})})}))}));function z(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:H.Z;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function G(e){const{sx:t}=e,n=(0,u.Z)(e,V),{systemProps:r,otherProps:o}=W(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,U.P)(n)?(0,d.Z)({},r,n):r}:(0,d.Z)({},r,t),(0,d.Z)({},o,{sx:i})}var K=n(6933);const X=["className","component"];var Q=n(8542),Y=n(6770),J=n(6912);const ee=(0,Y.Z)(),te=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:a}=e,s=(0,q.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})($.Z);return r.forwardRef((function(e,r){const l=(0,K.Z)(n),c=G(e),{className:p,component:f="div"}=c,h=(0,u.Z)(c,X);return(0,i.jsx)(s,(0,d.Z)({as:f,ref:r,className:B(p,a?a(o):o),theme:t&&l[t]||l},h))}))}({themeId:J.Z,defaultTheme:ee,defaultClassName:"MuiBox-root",generateClassName:Q.Z.generate}),ne=te,re=["yp70uzyj","yn06uhoc","ub59asib","do45qahi","ym23eqaw","co39hywa","yp68abes","oc45ujef","bu93bufa","iv93baik",..."production"!=={NX_CLI_SET:"true",NX_LOAD_DOT_ENV_FILES:"true",NX_WORKSPACE_ROOT:"/home/jazzpirate/work/Software/sTeX/sTeX-React",NX_TERMINAL_OUTPUT_PATH:"/home/jazzpirate/work/Software/sTeX/sTeX-React/.nx/cache/terminalOutputs/364326067327848463",NX_STREAM_OUTPUT:"true",NX_TASK_TARGET_PROJECT:"mmt-viewer",NX_TASK_TARGET_TARGET:"build",NX_TASK_TARGET_CONFIGURATION:"production",NX_TASK_HASH:"364326067327848463"}.NEXT_PUBLIC_SITE_VERSION?["fake_joy"]:[]];let oe=function(e){return e.UNHIDDEN="UNHIDDEN",e.SPAM="SPAM",e.INCORRECT="INCORRECT",e.IRRELEVANT="IRRELEVANT",e.ABUSE="ABUSE",e.OTHER="OTHER",e}({}),ie=function(e){return e.QUESTION="QUESTION",e.REMARK="REMARK",e.OTHER="OTHER",e}({}),ae=function(e){return e.UNANSWERED="UNANSWERED",e.ANSWERED="ANSWERED",e.ACCEPTED="ACCEPTED",e.OTHER="OTHER",e}({});function se(e){return!!e&&![oe.UNHIDDEN,oe.SPAM].includes(e)}function le(e){return e===oe.SPAM}function ce(e){return!!e&&re.includes(e)}function ue(e,t){return function(){return e.apply(t,arguments)}}const{toString:de}=Object.prototype,{getPrototypeOf:pe}=Object,fe=(he=Object.create(null),e=>{const t=de.call(e);return he[t]||(he[t]=t.slice(8,-1).toLowerCase())});var he;const me=e=>(e=e.toLowerCase(),t=>fe(t)===e),ge=e=>t=>typeof t===e,{isArray:ve}=Array,be=ge("undefined");const ye=me("ArrayBuffer");const xe=ge("string"),we=ge("function"),ke=ge("number"),Se=e=>null!==e&&"object"==typeof e,Ce=e=>{if("object"!==fe(e))return!1;const t=pe(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},Ee=me("Date"),_e=me("File"),Te=me("Blob"),Ae=me("FileList"),Re=me("URLSearchParams");function Ne(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),ve(e))for(r=0,o=e.length;r0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Pe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,je=e=>!be(e)&&e!==Pe;const Ie=(Oe="undefined"!=typeof Uint8Array&&pe(Uint8Array),e=>Oe&&e instanceof Oe);var Oe;const Le=me("HTMLFormElement"),Me=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),De=me("RegExp"),Fe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ne(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},ze="abcdefghijklmnopqrstuvwxyz",Be="0123456789",qe={DIGIT:Be,ALPHA:ze,ALPHA_DIGIT:ze+ze.toUpperCase()+Be};const $e=me("AsyncFunction"),Ue={isArray:ve,isArrayBuffer:ye,isBuffer:function(e){return null!==e&&!be(e)&&null!==e.constructor&&!be(e.constructor)&&we(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||we(e.append)&&("formdata"===(t=fe(e))||"object"===t&&we(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ye(e.buffer),t},isString:xe,isNumber:ke,isBoolean:e=>!0===e||!1===e,isObject:Se,isPlainObject:Ce,isUndefined:be,isDate:Ee,isFile:_e,isBlob:Te,isRegExp:De,isFunction:we,isStream:e=>Se(e)&&we(e.pipe),isURLSearchParams:Re,isTypedArray:Ie,isFileList:Ae,forEach:Ne,merge:function e(){const{caseless:t}=je(this)&&this||{},n={},r=(r,o)=>{const i=t&&Ze(n,o)||o;Ce(n[i])&&Ce(r)?n[i]=e(n[i],r):Ce(r)?n[i]=e({},r):ve(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o(Ne(t,((t,r)=>{n&&we(t)?e[r]=ue(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&pe(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:fe,kindOfTest:me,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(ve(e))return e;let t=e.length;if(!ke(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Le,hasOwnProperty:Me,hasOwnProp:Me,reduceDescriptors:Fe,freezeMethods:e=>{Fe(e,((t,n)=>{if(we(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];we(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return ve(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:Ze,global:Pe,isContextDefined:je,ALPHABET:qe,generateString:(e=16,t=qe.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&we(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Se(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=ve(e)?[]:{};return Ne(e,((e,t)=>{const i=n(e,r+1);!be(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:$e,isThenable:e=>e&&(Se(e)||we(e))&&we(e.then)&&we(e.catch)};function He(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}Ue.inherits(He,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ue.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ve=He.prototype,We={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{We[e]={value:e}})),Object.defineProperties(He,We),Object.defineProperty(Ve,"isAxiosError",{value:!0}),He.from=(e,t,n,r,o,i)=>{const a=Object.create(Ve);return Ue.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),He.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const Ge=He;function Ke(e){return Ue.isPlainObject(e)||Ue.isArray(e)}function Xe(e){return Ue.endsWith(e,"[]")?e.slice(0,-2):e}function Qe(e,t,n){return e?e.concat(t).map((function(e,t){return e=Xe(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Ye=Ue.toFlatObject(Ue,{},null,(function(e){return/^is[A-Z]/.test(e)}));const Je=function(e,t,n){if(!Ue.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Ue.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Ue.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Ue.isSpecCompliantForm(t);if(!Ue.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Ue.isDate(e))return e.toISOString();if(!s&&Ue.isBlob(e))throw new Ge("Blob is not supported. Use a Buffer instead.");return Ue.isArrayBuffer(e)||Ue.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(Ue.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Ue.isArray(e)&&function(e){return Ue.isArray(e)&&!e.some(Ke)}(e)||(Ue.isFileList(e)||Ue.endsWith(n,"[]"))&&(s=Ue.toArray(e)))return n=Xe(n),s.forEach((function(e,r){!Ue.isUndefined(e)&&null!==e&&t.append(!0===a?Qe([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!Ke(e)||(t.append(Qe(o,n,i),l(e)),!1)}const u=[],d=Object.assign(Ye,{defaultVisitor:c,convertValue:l,isVisitable:Ke});if(!Ue.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Ue.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Ue.forEach(n,(function(n,i){!0===(!(Ue.isUndefined(n)||null===n)&&o.call(t,n,Ue.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function et(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function tt(e,t){this._pairs=[],e&&Je(e,this,t)}const nt=tt.prototype;nt.append=function(e,t){this._pairs.push([e,t])},nt.toString=function(e){const t=e?function(t){return e.call(this,t,et)}:et;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const rt=tt;function ot(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function it(e,t,n){if(!t)return e;const r=n&&n.encode||ot,o=n&&n.serialize;let i;if(i=o?o(t,n):Ue.isURLSearchParams(t)?t.toString():new rt(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const at=class InterceptorManager{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Ue.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},st={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:rt,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!=typeof window&&"undefined"!=typeof document)})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};const ct=function(e){function t(e,n,r,o){let i=e[o++];const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&Ue.isArray(r)?r.length:i,s)return Ue.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&Ue.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&Ue.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r{t(function(e){return Ue.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const ut={transitional:st,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Ue.isObject(e);o&&Ue.isHTMLForm(e)&&(e=new FormData(e));if(Ue.isFormData(e))return r&&r?JSON.stringify(ct(e)):e;if(Ue.isArrayBuffer(e)||Ue.isBuffer(e)||Ue.isStream(e)||Ue.isFile(e)||Ue.isBlob(e))return e;if(Ue.isArrayBufferView(e))return e.buffer;if(Ue.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Je(e,new lt.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return lt.isNode&&Ue.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Ue.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Je(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Ue.isString(e))try{return(t||JSON.parse)(e),Ue.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ut.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&Ue.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(n){if("SyntaxError"===o.name)throw Ge.from(o,Ge.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lt.classes.FormData,Blob:lt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ue.forEach(["delete","get","head","post","put","patch"],(e=>{ut.headers[e]={}}));const dt=ut,pt=Ue.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ft=Symbol("internals");function ht(e){return e&&String(e).trim().toLowerCase()}function mt(e){return!1===e||null==e?e:Ue.isArray(e)?e.map(mt):String(e)}function gt(e,t,n,r,o){return Ue.isFunction(r)?r.call(this,t,n):(o&&(t=n),Ue.isString(t)?Ue.isString(r)?-1!==t.indexOf(r):Ue.isRegExp(r)?r.test(t):void 0:void 0)}class AxiosHeaders{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=ht(t);if(!o)throw new Error("header name must be a non-empty string");const i=Ue.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=mt(e))}const i=(e,t)=>Ue.forEach(e,((e,n)=>o(e,n,t)));return Ue.isPlainObject(e)||e instanceof this.constructor?i(e,t):Ue.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&pt[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&o(t,e,n),this}get(e,t){if(e=ht(e)){const n=Ue.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Ue.isFunction(t))return t.call(this,e,n);if(Ue.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ht(e)){const n=Ue.findKey(this,e);return!(!n||void 0===this[n]||t&&!gt(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=ht(e)){const o=Ue.findKey(n,e);!o||t&&!gt(0,n[o],o,t)||(delete n[o],r=!0)}}return Ue.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!gt(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Ue.forEach(this,((r,o)=>{const i=Ue.findKey(n,o);if(i)return t[i]=mt(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=mt(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Ue.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Ue.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[ft]=this[ft]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=ht(e);t[r]||(!function(e,t){const n=Ue.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Ue.isArray(e)?e.forEach(r):r(e),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ue.reduceDescriptors(AxiosHeaders.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Ue.freezeMethods(AxiosHeaders);const vt=AxiosHeaders;function bt(e,t){const n=this||dt,r=t||n,o=vt.from(r.headers);let i=r.data;return Ue.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function yt(e){return!(!e||!e.__CANCEL__)}function xt(e,t,n){Ge.call(this,e??"canceled",Ge.ERR_CANCELED,t,n),this.name="CanceledError"}Ue.inherits(xt,Ge,{__CANCEL__:!0});const wt=xt;const kt=lt.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){const a=[];a.push(e+"="+encodeURIComponent(t)),Ue.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Ue.isString(r)&&a.push("path="+r),Ue.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function St(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Ct=lt.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=Ue.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};const Et=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,l=r(s);n=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const Tt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const o=vt.from(e.headers).normalize(),i=e.responseType;let a,s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}Ue.isFormData(r)&&(lt.isStandardBrowserEnv||lt.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.getContentType(/^\s*multipart\/form-data/)?Ue.isString(s=o.getContentType())&&o.setContentType(s.replace(/^\s*(multipart\/form-data);+/,"$1")):o.setContentType("multipart/form-data"));let c=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+n))}const u=St(e.baseURL,e.url);function d(){if(!c)return;const r=vt.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Ge("Request failed with status code "+n.status,[Ge.ERR_BAD_REQUEST,Ge.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),l()}),(function(e){n(e),l()}),{data:i&&"text"!==i&&"json"!==i?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c}),c=null}if(c.open(e.method.toUpperCase(),it(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(d)},c.onabort=function(){c&&(n(new Ge("Request aborted",Ge.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new Ge("Network Error",Ge.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||st;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new Ge(t,r.clarifyTimeoutError?Ge.ETIMEDOUT:Ge.ECONNABORTED,e,c)),c=null},lt.isStandardBrowserEnv){const t=Ct(u)&&e.xsrfCookieName&&kt.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===r&&o.setContentType(null),"setRequestHeader"in c&&Ue.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),Ue.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),i&&"json"!==i&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",_t(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",_t(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{c&&(n(!t||t.type?new wt(null,e,c):t),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const p=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(u);p&&-1===lt.protocols.indexOf(p)?n(new Ge("Unsupported protocol "+p+":",Ge.ERR_BAD_REQUEST,e)):c.send(r||null)}))},At={http:null,xhr:Tt};Ue.forEach(At,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const Rt=e=>`- ${e}`,Nt=e=>Ue.isFunction(e)||null===e||!1===e,Zt=e=>{e=Ue.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(Rt).join("\n"):" "+Rt(e[0]):"as no adapter specified";throw new Ge("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Pt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new wt(null,e)}function jt(e){Pt(e),e.headers=vt.from(e.headers),e.data=bt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Zt(e.adapter||dt.adapter)(e).then((function(t){return Pt(e),t.data=bt.call(e,e.transformResponse,t),t.headers=vt.from(t.headers),t}),(function(t){return yt(t)||(Pt(e),t&&t.response&&(t.response.data=bt.call(e,e.transformResponse,t.response),t.response.headers=vt.from(t.response.headers))),Promise.reject(t)}))}const It=e=>e instanceof vt?e.toJSON():e;function Ot(e,t){t=t||{};const n={};function r(e,t,n){return Ue.isPlainObject(e)&&Ue.isPlainObject(t)?Ue.merge.call({caseless:n},e,t):Ue.isPlainObject(t)?Ue.merge({},t):Ue.isArray(t)?t.slice():t}function o(e,t,n){return Ue.isUndefined(t)?Ue.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!Ue.isUndefined(t))return r(void 0,t)}function a(e,t){return Ue.isUndefined(t)?Ue.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(It(e),It(t),!0)};return Ue.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);Ue.isUndefined(a)&&i!==s||(n[r]=a)})),n}const Lt="1.6.0",Mt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Mt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Dt={};Mt.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Ge(r(o," has been removed"+(t?" in "+t:"")),Ge.ERR_DEPRECATED);return t&&!Dt[o]&&(Dt[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};const Ft={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Ge("options must be an object",Ge.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Ge("option "+i+" must be "+n,Ge.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Ge("Unknown option "+i,Ge.ERR_BAD_OPTION)}},validators:Mt},zt=Ft.validators;class Axios{constructor(e){this.defaults=e,this.interceptors={request:new at,response:new at}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ot(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Ft.assertOptions(n,{silentJSONParsing:zt.transitional(zt.boolean),forcedJSONParsing:zt.transitional(zt.boolean),clarifyTimeoutError:zt.transitional(zt.boolean)},!1),null!=r&&(Ue.isFunction(r)?t.paramsSerializer={serialize:r}:Ft.assertOptions(r,{encode:zt.function,serialize:zt.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Ue.merge(o.common,o[t.method]);o&&Ue.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=vt.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[jt.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new wt(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new CancelToken((function(t){e=t})),cancel:e}}}const qt=CancelToken;const $t={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($t).forEach((([e,t])=>{$t[t]=e}));const Ut=$t;const Ht=function e(t){const n=new Bt(t),r=ue(Bt.prototype.request,n);return Ue.extend(r,Bt.prototype,n,{allOwnKeys:!0}),Ue.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ot(t,n))},r}(dt);Ht.Axios=Bt,Ht.CanceledError=wt,Ht.CancelToken=qt,Ht.isCancel=yt,Ht.VERSION=Lt,Ht.toFormData=Je,Ht.AxiosError=Ge,Ht.Cancel=Ht.CanceledError,Ht.all=function(e){return Promise.all(e)},Ht.spread=function(e){return function(t){return e.apply(null,t)}},Ht.isAxiosError=function(e){return Ue.isObject(e)&&!0===e.isAxiosError},Ht.mergeConfig=Ot,Ht.AxiosHeaders=vt,Ht.formToJSON=e=>ct(Ue.isHTMLForm(e)?new FormData(e):e),Ht.getAdapter=Zt,Ht.HttpStatusCode=Ut,Ht.default=Ht;const Vt=Ht;var Wt;!function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(Wt||(Wt={}));const Gt=Wt.Root,Kt=Wt.Text,Xt=Wt.Directive,Qt=Wt.Comment,Yt=Wt.Script,Jt=Wt.Style,en=Wt.Tag,tn=Wt.CDATA,nn=Wt.Doctype;class Node{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return cn(this,e)}}class DataNode extends Node{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class node_Text extends DataNode{constructor(){super(...arguments),this.type=Wt.Text}get nodeType(){return 3}}class node_Comment extends DataNode{constructor(){super(...arguments),this.type=Wt.Comment}get nodeType(){return 8}}class ProcessingInstruction extends DataNode{constructor(e,t){super(t),this.name=e,this.type=Wt.Directive}get nodeType(){return 1}}class NodeWithChildren extends Node{constructor(e){super(),this.children=e}get firstChild(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class node_CDATA extends NodeWithChildren{constructor(){super(...arguments),this.type=Wt.CDATA}get nodeType(){return 4}}class Document extends NodeWithChildren{constructor(){super(...arguments),this.type=Wt.Root}get nodeType(){return 9}}class node_Element extends NodeWithChildren{constructor(e,t,n=[],r=("script"===e?Wt.Script:"style"===e?Wt.Style:Wt.Tag)){super(n),this.name=e,this.attribs=t,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map((e=>{var t,n;return{name:e,value:this.attribs[e],namespace:null===(t=this["x-attribsNamespace"])||void 0===t?void 0:t[e],prefix:null===(n=this["x-attribsPrefix"])||void 0===n?void 0:n[e]}}))}}function rn(e){return(t=e).type===Wt.Tag||t.type===Wt.Script||t.type===Wt.Style;var t}function on(e){return e.type===Wt.CDATA}function an(e){return e.type===Wt.Text}function sn(e){return e.type===Wt.Comment}function ln(e){return Object.prototype.hasOwnProperty.call(e,"children")}function cn(e,t=!1){let n;if(an(e))n=new node_Text(e.data);else if(sn(e))n=new node_Comment(e.data);else if(rn(e)){const r=t?un(e.children):[],o=new node_Element(e.name,{...e.attribs},r);r.forEach((e=>e.parent=o)),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=o}else if(on(e)){const r=t?un(e.children):[],o=new node_CDATA(r);r.forEach((e=>e.parent=o)),n=o}else if(function(e){return e.type===Wt.Root}(e)){const r=t?un(e.children):[],o=new Document(r);r.forEach((e=>e.parent=o)),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),n=o}else{if(!function(e){return e.type===Wt.Directive}(e))throw new Error(`Not implemented yet: ${e.type}`);{const t=new ProcessingInstruction(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),n=t}}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function un(e){const t=e.map((e=>cn(e,!0)));for(let n=1;n\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\ud835\udd0a;\u62d9pf;\uc000\ud835\udd3eeater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\ud835\udca2;\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\ud835\udd40a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\ud835\udd0dpf;\uc000\ud835\udd41\u01e3\u07c7\0\u07ccr;\uc000\ud835\udca5rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\ud835\udd0epf;\uc000\ud835\udd42cr;\uc000\ud835\udca6\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\ud835\udd0f\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\ud835\udd43er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\ud835\udd10nusPlus;\u6213pf;\uc000\ud835\udd44c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\ud835\udd11\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\ud835\udca9ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\ud835\udd12rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\ud835\udd46enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\ud835\udcaaash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\ud835\udd13i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\ud835\udcab;\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\ud835\udd14pf;\u611acr;\uc000\ud835\udcac\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\ud835\udd16ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\ud835\udd4a\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\ud835\udcaear;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\ud835\udd17\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\ud835\udd4bipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\ud835\udcafrok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;\uc000\ud835\udd18rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\ud835\udd4c\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\ud835\udcb0ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\ud835\udd19pf;\uc000\ud835\udd4dcr;\uc000\ud835\udcb1dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\ud835\udd1apf;\uc000\ud835\udd4ecr;\uc000\ud835\udcb2\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\ud835\udd1b;\u439epf;\uc000\ud835\udd4fcr;\uc000\ud835\udcb3\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\ud835\udd1cpf;\uc000\ud835\udd50cr;\uc000\ud835\udcb4ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\ud835\udcb5\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\ud835\udd1erave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\ud835\udd52\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\ud835\udcb6;\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\ud835\udd1fg\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\ud835\udd53\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\ud835\udcb7mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\ud835\udd20\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\ud835\udd54o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\ud835\udcb8\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\ud835\udd21ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\ud835\udd55\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\ud835\udcb9;\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\ud835\udd22\u0180;rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\ud835\udd56\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\ud835\udd23lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\ud835\udd57\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\ud835\udcbb\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\ud835\udd24\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\ud835\udd58\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\ud835\udd25s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\ud835\udd59bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\ud835\udcbdas\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\ud835\udd26rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\ud835\udd5aa;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\ud835\udcben\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\ud835\udd27ath;\u4237pf;\uc000\ud835\udd5b\u01e3\u23ec\0\u23f1r;\uc000\ud835\udcbfrcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\ud835\udd28reen;\u4138cy;\u4445cy;\u445cpf;\uc000\ud835\udd5ccr;\uc000\ud835\udcc0\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\ud835\udd29\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\ud835\udd5dus;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\ud835\udcc1m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\ud835\udd2ao;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\ud835\udd5e\u0100ct\u28f8\u28fdr;\uc000\ud835\udcc2pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\ud835\udd2b\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\ud835\udd5f\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\ud835\udcc3ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\ud835\udd2c\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\ud835\udd60\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\ud835\udd2d\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\ud835\udd61nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0eec\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\ud835\udcc5;\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\ud835\udd2epf;\uc000\ud835\udd62rime;\u6057cr;\uc000\ud835\udcc6\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\ud835\udd2f\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\ud835\udd63us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\ud835\udcc7\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\ud835\udd30\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\ud835\udd64a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\ud835\udcc8tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\ud835\udd31\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\ud835\udd65rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\ud835\udcc9;\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\ud835\udd32rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\ud835\udd66\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\ud835\udcca\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\ud835\udd33tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\ud835\udd67ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\ud835\udccb\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\ud835\udd34pf;\uc000\ud835\udd68\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\ud835\udccc\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\ud835\udd35\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\ud835\udd69im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\ud835\udccd\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\ud835\udd36cy;\u4457pf;\uc000\ud835\udd6acr;\uc000\ud835\udcce\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\ud835\udd37cy;\u4436grarr;\u61ddpf;\uc000\ud835\udd6bcr;\uc000\ud835\udccf\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map((e=>e.charCodeAt(0)))),fn=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map((e=>e.charCodeAt(0))));var hn;const mn=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),gn=null!==(hn=String.fromCodePoint)&&void 0!==hn?hn:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};function vn(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=mn.get(e))&&void 0!==t?t:e}var bn;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(bn||(bn={}));var yn,xn,wn;function kn(e){return e>=bn.ZERO&&e<=bn.NINE}function Sn(e){return e===bn.EQUALS||function(e){return e>=bn.UPPER_A&&e<=bn.UPPER_Z||e>=bn.LOWER_A&&e<=bn.LOWER_Z||kn(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(yn||(yn={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(xn||(xn={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(wn||(wn={}));class EntityDecoder{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=xn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=wn.Strict}startEntity(e){this.decodeMode=e,this.state=xn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case xn.EntityStart:return e.charCodeAt(t)===bn.NUM?(this.state=xn.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=xn.NamedEntity,this.stateNamedEntity(e,t));case xn.NumericStart:return this.stateNumericStart(e,t);case xn.NumericDecimal:return this.stateNumericDecimal(e,t);case xn.NumericHex:return this.stateNumericHex(e,t);case xn.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===bn.LOWER_X?(this.state=xn.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=xn.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const o=n-t;this.result=this.result*Math.pow(r,o)+parseInt(e.substr(t,o),r),this.consumed+=o}}stateNumericHex(e,t){const n=t;for(;t=bn.UPPER_A&&r<=bn.UPPER_F||r>=bn.LOWER_A&&r<=bn.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(o,3);t+=1}var r;return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t>14;for(;t>14,0!==o){if(i===bn.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==wn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&yn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~yn.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case xn.NamedEntity:return 0===this.result||this.decodeMode===wn.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case xn.NumericDecimal:return this.emitNumericEntity(0,2);case xn.NumericHex:return this.emitNumericEntity(0,3);case xn.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case xn.EntityStart:return 0}}}function Cn(e){let t="";const n=new EntityDecoder(e,(e=>t+=gn(e)));return function(e,r){let o=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(o,i),n.startEntity(r);const a=n.write(e,i+1);if(a<0){o=i+n.end();break}o=i+a,i=0===a?o+1:o}const a=t+e.slice(o);return t="",a}}function En(e,t,n,r){const o=(t&yn.BRANCH_LENGTH)>>7,i=t&yn.JUMP_TABLE;if(0===o)return 0!==i&&r===i?n:-1;if(i){const t=r-i;return t<0||t>=o?-1:e[n+t]-1}let a=n,s=a+o-1;for(;a<=s;){const t=a+s>>>1,n=e[t];if(nr))return e[t+o];s=t-1}}return-1}Cn(pn),Cn(fn);function _n(e){for(let t=1;t$\x80-\uFFFF]/g,An=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Rn=null!=String.prototype.codePointAt?(e,t)=>e.codePointAt(t):(e,t)=>55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function Nn(e){let t,n="",r=0;for(;null!==(t=Tn.exec(e));){const o=t.index,i=e.charCodeAt(o),a=An.get(i);void 0!==a?(n+=e.substring(r,o)+a,r=o+1):(n+=`${e.substring(r,o)}&#x${Rn(e,o).toString(16)};`,r=Tn.lastIndex+=Number(55296==(64512&i)))}return n+e.substr(r)}function Zn(e,t){return function(n){let r,o=0,i="";for(;r=e.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=t.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}Zn(/[&<>'"]/g,An);const Pn=Zn(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),jn=Zn(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var In,On;!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(In||(In={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(On||(On={}));const Ln=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e]))),Mn=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),Dn=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Fn(e){return e.replace(/"/g,""")}const zn=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Bn(e,t={}){const n="length"in e?e:[e];let r="";for(let o=0;o`;case Qt:return function(e){return`\x3c!--${e.data}--\x3e`}(e);case tn:return function(e){return``}(e);case Yt:case Jt:case en:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=Ln.get(e.name))&&void 0!==n?n:e.name,e.parent&&Un.has(e.parent.name)&&(t={...t,xmlMode:!1}));!t.xmlMode&&Hn.has(e.name)&&(t={...t,xmlMode:"foreign"});let r=`<${e.name}`;const o=function(e,t){var n;if(!e)return;const r=!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)?Fn:t.xmlMode||"utf8"!==t.encodeEntities?Nn:Pn;return Object.keys(e).map((n=>{var o,i;const a=null!==(o=e[n])&&void 0!==o?o:"";return"foreign"===t.xmlMode&&(n=null!==(i=Mn.get(n))&&void 0!==i?i:n),t.emptyAttrs||t.xmlMode||""!==a?`${n}="${r(a)}"`:n})).join(" ")}(e.attribs,t);o&&(r+=` ${o}`);0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&zn.has(e.name))?(t.xmlMode||(r+=" "),r+="/>"):(r+=">",e.children.length>0&&(r+=Bn(e.children,t)),!t.xmlMode&&zn.has(e.name)||(r+=``));return r}(e,t);case Kt:return function(e,t){var n;let r=e.data||"";!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)||!t.xmlMode&&e.parent&&Dn.has(e.parent.name)||(r=t.xmlMode||"utf8"!==t.encodeEntities?Nn(r):jn(r));return r}(e,t)}}const Un=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Hn=new Set(["svg","math"]);function Vn(e,t){return qn(e,t)}function Wn(e){return Array.isArray(e)?e.map(Wn).join(""):ln(e)&&!sn(e)?Wn(e.children):an(e)?e.data:""}var Gn;!function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(Gn||(Gn={}));const Kn="hsl(210, 20%, 98%)",Xn="undefined"==typeof window,Qn=Xn?void 0:localStorage,Yn=Xn?void 0:window,Jn=!Xn&&void 0!==window.SHOW_FILE_BROWSER,er="#203360",tr="#8c9fb1",nr="__mmt-custom-";function rr(e){return e||(e=null==Yn?void 0:Yn.innerWidth),!e||e<800}function or(e){if(Xn||!e)return e;const t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}function ir(e){e||(e="");const t=/archive=([^&]+)&filepath=([^&]+)/g.exec(e),n=(null==t?void 0:t[1])||"",r=(null==t?void 0:t[2])||"",o=cr(n,r.replace("xhtml","tex"));return{url:e.replace("/document?","/fulldocument?"),archive:n,filepath:r,source:o}}function ar(e){const t=ir(e);if(!t)return"";const{archive:n,filepath:r}=t;return`&contextArchive=${n}&contextFilepath=${r}`}function sr(e){if(null==e||!e.length)return"0";let t=0;for(let n=0;n{r.set(e.URI,jr(e.values))})),e.map((e=>r.get(e)||jr({})))}async function Lr(e,t){if(null==e||!e.length)return new Map;const n=await Pr("lms/output/multiple","POST",null,{URIs:e,"special-output":"5StepLikertSmileys"},t),r=new Map;if(null==n||!n.model)return r;return n.model.forEach((e=>{r.set(e.URI,Ir(e.values))})),e.map((e=>{r.has(e)||r.set(e,Ir({}))})),r}async function Mr(e){return await Pr("lms/input/events","POST",{},e)}let Dr;async function Fr(){if(!Dr){const e=await Pr("getuserinfo","GET",void 0);if(!e)return;Dr={userId:e.user_id,givenName:e.given_name,sn:e.sn,fullName:`${e.given_name} ${e.sn}`}}return Dr}async function zr(e,t,n){const r=Zr();try{return("POST"===t?await Vt.post(e,n,{headers:r}):await Vt.get(e,{headers:r})).data}catch(i){const e=i;var o;if(Vt.isAxiosError(e))401===(null==(o=e.response)?void 0:o.status)&&Nr();throw i}}var Br=function(e,t){return Br=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Br(e,t)};function qr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Br(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function $r(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function Ur(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Vr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Wr(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof Gr?Promise.resolve(e.value.v).then(l,c):u(i[0][2],e)}(o[e](t))}catch(n){u(i[0][3],n)}}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function Xr(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Hr(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}Object.create;"function"==typeof SuppressedError&&SuppressedError;function Qr(e){return"function"==typeof e}function Yr(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Jr=Yr((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function eo(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var to=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=Hr(i),s=a.next();!s.done;s=a.next()){s.value.remove(this)}}catch(f){e={error:f}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);var l=this.initialTeardown;if(Qr(l))try{l()}catch(h){o=h instanceof Jr?h.errors:[h]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=Hr(c),d=u.next();!d.done;d=u.next()){var p=d.value;try{oo(p)}catch(m){o=null!=o?o:[],m instanceof Jr?o=Wr(Wr([],Vr(o)),Vr(m.errors)):o.push(m)}}}catch(g){n={error:g}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(o)throw new Jr(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)oo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&eo(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&eo(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),no=to.EMPTY;function ro(e){return e instanceof to||e&&"closed"in e&&Qr(e.remove)&&Qr(e.add)&&Qr(e.unsubscribe)}function oo(e){Qr(e)?e():e.unsubscribe()}var io={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ao={setTimeout:function(e,t){for(var n=[],r=2;r0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,o=n.isStopped,i=n.observers;return r||o?no:(this.currentObservers=null,i.push(e),new to((function(){t.currentObservers=null,eo(i,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,o=t.isStopped;n?e.error(r):o&&e.complete()},t.prototype.asObservable=function(){var e=new Eo;return e.source=this,e},t.create=function(e,t){return new Ro(e,t)},t}(Eo),Ro=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return qr(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:no},t}(Ao);function No(e){return e[e.length-1]}function Zo(e){return(t=No(e))&&Qr(t.schedule)?e.pop():void 0;var t}var Po=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function jo(e){return Qr(null==e?void 0:e.then)}function Io(e){return Qr(e[ko])}function Oo(e){return Symbol.asyncIterator&&Qr(null==e?void 0:e[Symbol.asyncIterator])}function Lo(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var Mo="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function Do(e){return Qr(null==e?void 0:e[Mo])}function Fo(e){return Kr(this,arguments,(function(){var t,n,r;return Ur(this,(function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,Gr(t.read())];case 3:return n=o.sent(),r=n.value,n.done?[4,Gr(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,Gr(r)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))}function zo(e){return Qr(null==e?void 0:e.getReader)}function Bo(e){if(e instanceof Eo)return e;if(null!=e){if(Io(e))return o=e,new Eo((function(e){var t=o[ko]();if(Qr(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if(Po(e))return r=e,new Eo((function(e){for(var t=0;tfi(e)))}function pi(e,t,n){if(null==Qn||!Qn.getItem("section-quiz"))return!1;const r=ci(e,t,n);return!(null==r||!r.length)&&(!!di(r[r.length-1])&&r.filter(fi).length<=2)}function fi(e){return!function(e){return!(!e.archive||!e.filepath)}(e)}function hi(e){if(e)for(const n of e){var t;if(null!=(t=n.link)&&t.includes("xhtml")){const e=/archive=([^&]+)&filepath=([^"]+xhtml)/g.exec(n.link);n.archive=null==e?void 0:e[1],n.filepath=null==e?void 0:e[2]}n.children&&hi(n.children)}}let mi;async function gi(e){if(null==e)return[];if(!mi){const t=await Vt.get(`${e}/:sTeX/browser?menu`);mi=t.data,hi(mi)}return mi}async function vi(e){return Sr}let bi=function(e){return e.HELPFUL_COMMENT="HELPFUL_COMMENT",e.ASKED_QUESTION="ASKED_QUESTION",e.RESPONDED_TO_QUESTION="RESPONDED_TO_QUESTION",e.ANSWERED_CORRECTLY="ANSWERED_CORRECTLY",e.REPORTED_ERROR="REPORTED_ERROR",e.OTHER="OTHER",e}({});const yi=new Map([[bi.HELPFUL_COMMENT,3],[bi.ASKED_QUESTION,1],[bi.RESPONDED_TO_QUESTION,1],[bi.ANSWERED_CORRECTLY,5],[bi.REPORTED_ERROR,2]]);let xi=function(e){return e.TRUE="TRUE",e.FALSE="FALSE",e.UNKNOWN="UNKNOWN",e}({}),wi=function(e){return e.MCQ="MCQ",e.SCQ="SCQ",e.FILL_IN="FILL_IN",e}({});const ki={useRouter:()=>{}};let Si=function(e){return e[e.SECTION=0]="SECTION",e[e.FILE=1]="FILE",e}({});const Ci=".";var Ei=n(7591);const _i=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Ti(e){return(0,E.Z)("MuiPaper",e)}(0,C.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Ai=["className","component","elevation","square","variant"],Ri=(0,S.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return(0,d.Z)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,d.Z)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,Ei.Fq)("#fff",_i(t.elevation))}, ${(0,Ei.Fq)("#fff",_i(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),Ni=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:a=1,square:s=!1,variant:l="elevation"}=n,c=(0,u.Z)(n,Ai),h=(0,d.Z)({},n,{component:o,elevation:a,square:s,variant:l}),m=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,f.Z)(i,Ti,o)})(h);return(0,i.jsx)(Ri,(0,d.Z)({as:o,ownerState:h,className:(0,p.Z)(m.root,r),ref:t},c))}));const Zi=r.createContext();function Pi(e){return(0,E.Z)("MuiTable",e)}(0,C.Z)("MuiTable",["root","stickyHeader"]);const ji=["className","component","padding","size","stickyHeader"],Ii=(0,S.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>(0,d.Z)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,d.Z)({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"}))),Oi="table",Li=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiTable"}),{className:o,component:a=Oi,padding:s="normal",size:l="medium",stickyHeader:c=!1}=n,h=(0,u.Z)(n,ji),m=(0,d.Z)({},n,{component:a,padding:s,size:l,stickyHeader:c}),g=(e=>{const{classes:t,stickyHeader:n}=e,r={root:["root",n&&"stickyHeader"]};return(0,f.Z)(r,Pi,t)})(m),v=r.useMemo((()=>({padding:s,size:l,stickyHeader:c})),[s,l,c]);return(0,i.jsx)(Zi.Provider,{value:v,children:(0,i.jsx)(Ii,(0,d.Z)({as:a,role:a===Oi?null:"table",ref:t,className:(0,p.Z)(g.root,o),ownerState:m},h))})}));const Mi=r.createContext();function Di(e){return(0,E.Z)("MuiTableBody",e)}(0,C.Z)("MuiTableBody",["root"]);const Fi=["className","component"],zi=(0,S.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),Bi={variant:"body"},qi="tbody",$i=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiTableBody"}),{className:r,component:o=qi}=n,a=(0,u.Z)(n,Fi),s=(0,d.Z)({},n,{component:o}),l=(e=>{const{classes:t}=e;return(0,f.Z)({root:["root"]},Di,t)})(s);return(0,i.jsx)(Mi.Provider,{value:Bi,children:(0,i.jsx)(zi,(0,d.Z)({className:(0,p.Z)(l.root,r),as:o,ref:t,role:o===qi?null:"rowgroup",ownerState:s},a))})}));function Ui(e){return(0,E.Z)("MuiTableCell",e)}const Hi=(0,C.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Vi=["align","className","component","padding","scope","size","sortDirection","variant"],Wi=(0,S.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,w.Z)(n.size)}`],"normal"!==n.padding&&t[`padding${(0,w.Z)(n.padding)}`],"inherit"!==n.align&&t[`align${(0,w.Z)(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>(0,d.Z)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?(0,Ei.$n)((0,Ei.Fq)(e.palette.divider,1),.88):(0,Ei._j)((0,Ei.Fq)(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:(e.vars||e).palette.text.primary},"footer"===t.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${Hi.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}))),Gi=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiTableCell"}),{align:o="inherit",className:a,component:s,padding:l,scope:c,size:h,sortDirection:m,variant:g}=n,v=(0,u.Z)(n,Vi),b=r.useContext(Zi),y=r.useContext(Mi),x=y&&"head"===y.variant;let S;S=s||(x?"th":"td");let C=c;"td"===S?C=void 0:!C&&x&&(C="col");const E=g||y&&y.variant,_=(0,d.Z)({},n,{align:o,component:S,padding:l||(b&&b.padding?b.padding:"normal"),size:h||(b&&b.size?b.size:"medium"),sortDirection:m,stickyHeader:"head"===E&&b&&b.stickyHeader,variant:E}),T=(e=>{const{classes:t,variant:n,align:r,padding:o,size:i,stickyHeader:a}=e,s={root:["root",n,a&&"stickyHeader","inherit"!==r&&`align${(0,w.Z)(r)}`,"normal"!==o&&`padding${(0,w.Z)(o)}`,`size${(0,w.Z)(i)}`]};return(0,f.Z)(s,Ui,t)})(_);let A=null;return m&&(A="asc"===m?"ascending":"descending"),(0,i.jsx)(Wi,(0,d.Z)({as:S,ref:t,className:(0,p.Z)(T.root,a),"aria-sort":A,scope:C,ownerState:_},v))})),Ki=Gi;function Xi(e){return(0,E.Z)("MuiTableContainer",e)}(0,C.Z)("MuiTableContainer",["root"]);const Qi=["className","component"],Yi=(0,S.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),Ji=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiTableContainer"}),{className:r,component:o="div"}=n,a=(0,u.Z)(n,Qi),s=(0,d.Z)({},n,{component:o}),l=(e=>{const{classes:t}=e;return(0,f.Z)({root:["root"]},Xi,t)})(s);return(0,i.jsx)(Yi,(0,d.Z)({ref:t,as:o,className:(0,p.Z)(l.root,r),ownerState:s},a))}));function ea(e){return(0,E.Z)("MuiTableHead",e)}(0,C.Z)("MuiTableHead",["root"]);const ta=["className","component"],na=(0,S.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),ra={variant:"head"},oa="thead",ia=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiTableHead"}),{className:r,component:o=oa}=n,a=(0,u.Z)(n,ta),s=(0,d.Z)({},n,{component:o}),l=(e=>{const{classes:t}=e;return(0,f.Z)({root:["root"]},ea,t)})(s);return(0,i.jsx)(Mi.Provider,{value:ra,children:(0,i.jsx)(na,(0,d.Z)({as:o,className:(0,p.Z)(l.root,r),ref:t,role:o===oa?null:"rowgroup",ownerState:s},a))})}));function aa(e){return(0,E.Z)("MuiTableRow",e)}const sa=(0,C.Z)("MuiTableRow",["root","selected","hover","head","footer"]),la=["className","component","hover","selected"],ca=(0,S.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${sa.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${sa.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Ei.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Ei.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),ua="tr",da=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiTableRow"}),{className:o,component:a=ua,hover:s=!1,selected:l=!1}=n,c=(0,u.Z)(n,la),h=r.useContext(Mi),m=(0,d.Z)({},n,{component:a,hover:s,selected:l,head:h&&"head"===h.variant,footer:h&&"footer"===h.variant}),g=(e=>{const{classes:t,selected:n,hover:r,head:o,footer:i}=e,a={root:["root",n&&"selected",r&&"hover",o&&"head",i&&"footer"]};return(0,f.Z)(a,aa,t)})(m);return(0,i.jsx)(ca,(0,d.Z)({as:a,ref:t,className:(0,p.Z)(g.root,o),role:a===ua?null:"row",ownerState:m},c))})),pa=da;function fa(e){return"string"==typeof e}function ha(e,t,n){return void 0===e||fa(e)?t:(0,d.Z)({},t,{ownerState:(0,d.Z)({},t.ownerState,n)})}var ma=n(9957);function ga(){const e=(0,K.Z)(ma.Z);return e[J.Z]||e}function va(e,t){return va=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},va(e,t)}function ba(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,va(e,t)}var ya=n(8316);const xa=!1,wa=r.createContext(null);var ka="unmounted",Sa="exited",Ca="entering",Ea="entered",_a="exiting",Ta=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Sa,r.appearStatus=Ca):o=Ea:o=t.unmountOnExit||t.mountOnEnter?ka:Sa,r.state={status:o},r.nextCallback=null,r}ba(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===ka?{status:Sa}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Ca&&n!==Ea&&(t=Ca):n!==Ca&&n!==Ea||(t=_a)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ca){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:ya.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Sa&&this.setState({status:ka})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[ya.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||xa?this.safeSetState({status:Ea},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Ca},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Ea},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:ya.findDOMNode(this);t&&!xa?(this.props.onExit(r),this.safeSetState({status:_a},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Sa},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Sa},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:ya.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===ka)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,u.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.createElement(wa.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},t}(r.Component);function Aa(){}Ta.contextType=wa,Ta.propTypes={},Ta.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Aa,onEntering:Aa,onEntered:Aa,onExit:Aa,onExiting:Aa,onExited:Aa},Ta.UNMOUNTED=ka,Ta.EXITED=Sa,Ta.ENTERING=Ca,Ta.ENTERED=Ea,Ta.EXITING=_a;const Ra=Ta,Na=e=>e.scrollTop;function Za(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}var Pa=n(8659);const ja=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ia(e){return`scale(${e}, ${e**2})`}const Oa={entering:{opacity:1,transform:Ia(1)},entered:{opacity:1,transform:"none"}},La="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Ma=r.forwardRef((function(e,t){const{addEndListener:n,appear:o=!0,children:a,easing:s,in:l,onEnter:c,onEntered:p,onEntering:f,onExit:h,onExited:m,onExiting:g,style:v,timeout:b="auto",TransitionComponent:y=Ra}=e,x=(0,u.Z)(e,ja),w=r.useRef(),k=r.useRef(),S=ga(),C=r.useRef(null),E=(0,Pa.Z)(C,a.ref,t),_=e=>t=>{if(e){const n=C.current;void 0===t?e(n):e(n,t)}},T=_(f),A=_(((e,t)=>{Na(e);const{duration:n,delay:r,easing:o}=Za({style:v,timeout:b,easing:s},{mode:"enter"});let i;"auto"===b?(i=S.transitions.getAutoHeightDuration(e.clientHeight),k.current=i):i=n,e.style.transition=[S.transitions.create("opacity",{duration:i,delay:r}),S.transitions.create("transform",{duration:La?i:.666*i,delay:r,easing:o})].join(","),c&&c(e,t)})),R=_(p),N=_(g),Z=_((e=>{const{duration:t,delay:n,easing:r}=Za({style:v,timeout:b,easing:s},{mode:"exit"});let o;"auto"===b?(o=S.transitions.getAutoHeightDuration(e.clientHeight),k.current=o):o=t,e.style.transition=[S.transitions.create("opacity",{duration:o,delay:n}),S.transitions.create("transform",{duration:La?o:.666*o,delay:La?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Ia(.75),h&&h(e)})),P=_(m);return r.useEffect((()=>()=>{clearTimeout(w.current)}),[]),(0,i.jsx)(y,(0,d.Z)({appear:o,in:l,nodeRef:C,onEnter:A,onEntered:R,onEntering:T,onExit:Z,onExited:P,onExiting:N,addEndListener:e=>{"auto"===b&&(w.current=setTimeout(e,k.current||0)),n&&n(C.current,e)},timeout:"auto"===b?null:b},x,{children:(e,t)=>r.cloneElement(a,(0,d.Z)({style:(0,d.Z)({opacity:0,transform:Ia(.75),visibility:"exited"!==e||l?void 0:"hidden"},Oa[e],v,a.props.style),ref:E},t))}))}));Ma.muiSupportAuto=!0;const Da=Ma;var Fa=n(3640),za=n(3806),Ba=n(5161);function qa(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $a(e){return e instanceof qa(e).Element||e instanceof Element}function Ua(e){return e instanceof qa(e).HTMLElement||e instanceof HTMLElement}function Ha(e){return"undefined"!=typeof ShadowRoot&&(e instanceof qa(e).ShadowRoot||e instanceof ShadowRoot)}var Va=Math.max,Wa=Math.min,Ga=Math.round;function Ka(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Xa(){return!/^((?!chrome|android).)*safari/i.test(Ka())}function Qa(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Ua(e)&&(o=e.offsetWidth>0&&Ga(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Ga(r.height)/e.offsetHeight||1);var a=($a(e)?qa(e):window).visualViewport,s=!Xa()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,c=(r.top+(s&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Ya(e){var t=qa(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ja(e){return e?(e.nodeName||"").toLowerCase():null}function es(e){return(($a(e)?e.ownerDocument:e.document)||window.document).documentElement}function ts(e){return Qa(es(e)).left+Ya(e).scrollLeft}function ns(e){return qa(e).getComputedStyle(e)}function rs(e){var t=ns(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function os(e,t,n){void 0===n&&(n=!1);var r,o,i=Ua(t),a=Ua(t)&&function(e){var t=e.getBoundingClientRect(),n=Ga(t.width)/e.offsetWidth||1,r=Ga(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=es(t),l=Qa(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==Ja(t)||rs(s))&&(c=(r=t)!==qa(r)&&Ua(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Ya(r)),Ua(t)?((u=Qa(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=ts(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function is(e){var t=Qa(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function as(e){return"html"===Ja(e)?e:e.assignedSlot||e.parentNode||(Ha(e)?e.host:null)||es(e)}function ss(e){return["html","body","#document"].indexOf(Ja(e))>=0?e.ownerDocument.body:Ua(e)&&rs(e)?e:ss(as(e))}function ls(e,t){var n;void 0===t&&(t=[]);var r=ss(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=qa(r),a=o?[i].concat(i.visualViewport||[],rs(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ls(as(a)))}function cs(e){return["table","td","th"].indexOf(Ja(e))>=0}function us(e){return Ua(e)&&"fixed"!==ns(e).position?e.offsetParent:null}function ds(e){for(var t=qa(e),n=us(e);n&&cs(n)&&"static"===ns(n).position;)n=us(n);return n&&("html"===Ja(n)||"body"===Ja(n)&&"static"===ns(n).position)?t:n||function(e){var t=/firefox/i.test(Ka());if(/Trident/i.test(Ka())&&Ua(e)&&"fixed"===ns(e).position)return null;var n=as(e);for(Ha(n)&&(n=n.host);Ua(n)&&["html","body"].indexOf(Ja(n))<0;){var r=ns(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var ps="top",fs="bottom",hs="right",ms="left",gs="auto",vs=[ps,fs,hs,ms],bs="start",ys="end",xs="clippingParents",ws="viewport",ks="popper",Ss="reference",Cs=vs.reduce((function(e,t){return e.concat([t+"-"+bs,t+"-"+ys])}),[]),Es=[].concat(vs,[gs]).reduce((function(e,t){return e.concat([t,t+"-"+bs,t+"-"+ys])}),[]),_s=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ts(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var As={placement:"bottom",modifiers:[],strategy:"absolute"};function Rs(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function Os(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Ps(o):null,a=o?js(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case ps:t={x:s,y:n.y-r.height};break;case fs:t={x:s,y:n.y+n.height};break;case hs:t={x:n.x+n.width,y:l};break;case ms:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?Is(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case bs:t[c]=t[c]-(n[u]/2-r[u]/2);break;case ys:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Ls={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ms(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=ms,x=ps,w=window;if(c){var k=ds(n),S="clientHeight",C="clientWidth";if(k===qa(n)&&"static"!==ns(k=es(n)).position&&"absolute"===s&&(S="scrollHeight",C="scrollWidth"),o===ps||(o===ms||o===hs)&&i===ys)x=fs,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-r.height,m*=l?1:-1;if(o===ms||(o===ps||o===fs)&&i===ys)y=hs,f-=(d&&k===w&&w.visualViewport?w.visualViewport.width:k[C])-r.width,f*=l?1:-1}var E,_=Object.assign({position:s},c&&Ls),T=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Ga(n*o)/o||0,y:Ga(r*o)/o||0}}({x:f,y:m},qa(n)):{x:f,y:m};return f=T.x,m=T.y,l?Object.assign({},_,((E={})[x]=b?"0":"",E[y]=v?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",E)):Object.assign({},_,((t={})[x]=b?m+"px":"",t[y]=v?f+"px":"",t.transform="",t))}const Ds={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Es.reduce((function(e,n){return e[n]=function(e,t,n){var r=Ps(e),o=[ms,ps].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[ms,hs].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var Fs={left:"right",right:"left",bottom:"top",top:"bottom"};function zs(e){return e.replace(/left|right|bottom|top/g,(function(e){return Fs[e]}))}var Bs={start:"end",end:"start"};function qs(e){return e.replace(/start|end/g,(function(e){return Bs[e]}))}function $s(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ha(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Us(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Hs(e,t,n){return t===ws?Us(function(e,t){var n=qa(e),r=es(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=Xa();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+ts(e),y:l}}(e,n)):$a(t)?function(e,t){var n=Qa(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Us(function(e){var t,n=es(e),r=Ya(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Va(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Va(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+ts(e),l=-r.scrollTop;return"rtl"===ns(o||n).direction&&(s+=Va(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(es(e)))}function Vs(e,t,n,r){var o="clippingParents"===t?function(e){var t=ls(as(e)),n=["absolute","fixed"].indexOf(ns(e).position)>=0&&Ua(e)?ds(e):e;return $a(n)?t.filter((function(e){return $a(e)&&$s(e,n)&&"body"!==Ja(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=Hs(e,n,r);return t.top=Va(o.top,t.top),t.right=Wa(o.right,t.right),t.bottom=Wa(o.bottom,t.bottom),t.left=Va(o.left,t.left),t}),Hs(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Ws(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Gs(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Ks(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?xs:s,c=n.rootBoundary,u=void 0===c?ws:c,d=n.elementContext,p=void 0===d?ks:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,v=Ws("number"!=typeof g?g:Gs(g,vs)),b=p===ks?Ss:ks,y=e.rects.popper,x=e.elements[h?b:p],w=Vs($a(x)?x:x.contextElement||es(e.elements.popper),l,u,a),k=Qa(e.elements.reference),S=Os({reference:k,element:y,strategy:"absolute",placement:o}),C=Us(Object.assign({},y,S)),E=p===ks?C:k,_={top:w.top-E.top+v.top,bottom:E.bottom-w.bottom+v.bottom,left:w.left-E.left+v.left,right:E.right-w.right+v.right},T=e.modifiersData.offset;if(p===ks&&T){var A=T[o];Object.keys(_).forEach((function(e){var t=[hs,fs].indexOf(e)>=0?1:-1,n=[ps,fs].indexOf(e)>=0?"y":"x";_[e]+=A[n]*t}))}return _}function Xs(e,t,n){return Va(e,Wa(t,n))}const Qs={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=Ks(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=Ps(t.placement),b=js(t.placement),y=!b,x=Is(v),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,C=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,_="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(k){if(i){var R,N="y"===x?ps:ms,Z="y"===x?fs:hs,P="y"===x?"height":"width",j=k[x],I=j+g[N],O=j-g[Z],L=f?-C[P]/2:0,M=b===bs?S[P]:C[P],D=b===bs?-C[P]:-S[P],F=t.elements.arrow,z=f&&F?is(F):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},q=B[N],$=B[Z],U=Xs(0,S[P],z[P]),H=y?S[P]/2-L-U-q-_.mainAxis:M-U-q-_.mainAxis,V=y?-S[P]/2+L+U+$+_.mainAxis:D+U+$+_.mainAxis,W=t.elements.arrow&&ds(t.elements.arrow),G=W?"y"===x?W.clientTop||0:W.clientLeft||0:0,K=null!=(R=null==T?void 0:T[x])?R:0,X=j+V-K,Q=Xs(f?Wa(I,j+H-K-G):I,j,f?Va(O,X):O);k[x]=Q,A[x]=Q-j}if(s){var Y,J="x"===x?ps:ms,ee="x"===x?fs:hs,te=k[w],ne="y"===w?"height":"width",re=te+g[J],oe=te-g[ee],ie=-1!==[ps,ms].indexOf(v),ae=null!=(Y=null==T?void 0:T[w])?Y:0,se=ie?re:te-S[ne]-C[ne]-ae+_.altAxis,le=ie?te+S[ne]+C[ne]-ae-_.altAxis:oe,ce=f&&ie?function(e,t,n){var r=Xs(e,t,n);return r>n?n:r}(se,te,le):Xs(f?se:re,te,f?le:oe);k[w]=ce,A[w]=ce-te}t.modifiersData[r]=A}},requiresIfExists:["offset"]};const Ys={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Ps(n.placement),l=Is(s),c=[ms,hs].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return Ws("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Gs(e,vs))}(o.padding,n),d=is(i),p="y"===l?ps:ms,f="y"===l?fs:hs,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=ds(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=h/2-m/2,y=u[p],x=v-d[c]-u[f],w=v/2-d[c]/2+b,k=Xs(y,w,x),S=l;n.modifiersData[r]=((t={})[S]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&$s(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Js(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function el(e){return[ps,hs,fs,ms].some((function(t){return e[t]>=0}))}var tl=Ns({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=qa(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,Zs)})),s&&l.addEventListener("resize",n.update,Zs),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Zs)})),s&&l.removeEventListener("resize",n.update,Zs)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Os({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:Ps(t.placement),variation:js(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ms(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ms(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Ua(o)&&Ja(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ua(r)&&Ja(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},Ds,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=Ps(g),b=l||(v===g||!h?[zs(g)]:function(e){if(Ps(e)===gs)return[];var t=zs(e);return[qs(e),t,qs(t)]}(g)),y=[g].concat(b).reduce((function(e,n){return e.concat(Ps(n)===gs?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Es:l,u=js(r),d=u?s?Cs:Cs.filter((function(e){return js(e)===u})):vs,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=Ks(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Ps(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,k=new Map,S=!0,C=y[0],E=0;E=0,N=R?"width":"height",Z=Ks(t,{placement:_,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),P=R?A?hs:ms:A?fs:ps;x[N]>w[N]&&(P=zs(P));var j=zs(P),I=[];if(i&&I.push(Z[T]<=0),s&&I.push(Z[P]<=0,Z[j]<=0),I.every((function(e){return e}))){C=_,S=!1;break}k.set(_,I)}if(S)for(var O=function(e){var t=y.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},L=h?3:1;L>0;L--){if("break"===O(L))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Qs,Ys,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ks(t,{elementContext:"reference"}),s=Ks(t,{altBoundary:!0}),l=Js(a,r),c=Js(s,o,i),u=el(l),d=el(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),nl=n(5377);const rl=r.forwardRef((function(e,t){const{children:n,container:o,disablePortal:a=!1}=e,[s,l]=r.useState(null),c=(0,Fa.Z)(r.isValidElement(n)?n.ref:null,t);if((0,za.Z)((()=>{a||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,a]),(0,za.Z)((()=>{if(s&&!a)return(0,nl.Z)(t,s),()=>{(0,nl.Z)(t,null)}}),[t,s,a]),a){if(r.isValidElement(n)){const e={ref:c};return r.cloneElement(n,e)}return(0,i.jsx)(r.Fragment,{children:n})}return(0,i.jsx)(r.Fragment,{children:s?ya.createPortal(n,s):s})}));function ol(e){return(0,E.Z)("MuiPopper",e)}(0,C.Z)("MuiPopper",["root"]);function il(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function al(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function sl(e,t,n){return"function"==typeof e?e(t,n):e}const ll=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function cl(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=(0,u.Z)(e,ll),s=i?{}:sl(r,o),{props:l,internalRef:c}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=(0,p.Z)(null==o?void 0:o.className,null==r?void 0:r.className,i,null==n?void 0:n.className),t=(0,d.Z)({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=(0,d.Z)({},n,o,r);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=il((0,d.Z)({},o,r)),s=al(r),l=al(o),c=t(a),u=(0,p.Z)(null==c?void 0:c.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),f=(0,d.Z)({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),h=(0,d.Z)({},c,n,l,s);return u.length>0&&(h.className=u),Object.keys(f).length>0&&(h.style=f),{props:h,internalRef:c.ref}}((0,d.Z)({},a,{externalSlotProps:s})),f=(0,Fa.Z)(c,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref);return ha(n,(0,d.Z)({},l,{ref:f}),o)}const ul={disableDefaultClasses:!1},dl=r.createContext(ul);function pl(e){const{disableDefaultClasses:t}=r.useContext(dl);return n=>t?"":e(n)}const fl=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],hl=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function ml(e){return"function"==typeof e?e():e}function gl(e){return void 0!==e.nodeType}const vl={},bl=r.forwardRef((function(e,t){var n;const{anchorEl:o,children:a,direction:s,disablePortal:l,modifiers:c,open:p,placement:h,popperOptions:m,popperRef:g,slotProps:v={},slots:b={},TransitionProps:y}=e,x=(0,u.Z)(e,fl),w=r.useRef(null),k=(0,Fa.Z)(w,t),S=r.useRef(null),C=(0,Fa.Z)(S,g),E=r.useRef(C);(0,za.Z)((()=>{E.current=C}),[C]),r.useImperativeHandle(g,(()=>S.current),[]);const _=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(h,s),[T,A]=r.useState(_),[R,N]=r.useState(ml(o));r.useEffect((()=>{S.current&&S.current.forceUpdate()})),r.useEffect((()=>{o&&N(ml(o))}),[o]),(0,za.Z)((()=>{if(!R||!p)return;let e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{A(e.placement)}}];null!=c&&(e=e.concat(c)),m&&null!=m.modifiers&&(e=e.concat(m.modifiers));const t=tl(R,w.current,(0,d.Z)({placement:_},m,{modifiers:e}));return E.current(t),()=>{t.destroy(),E.current(null)}}),[R,l,c,p,m,_]);const Z={placement:T};null!==y&&(Z.TransitionProps=y);const P=(0,f.Z)({root:["root"]},pl(ol)),j=null!=(n=b.root)?n:"div",I=cl({elementType:j,externalSlotProps:v.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:k},ownerState:e,className:P.root});return(0,i.jsx)(j,(0,d.Z)({},I,{children:"function"==typeof a?a(Z):a}))})),yl=r.forwardRef((function(e,t){const{anchorEl:n,children:o,container:a,direction:s="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:p,open:f,placement:h="bottom",popperOptions:m=vl,popperRef:g,style:v,transition:b=!1,slotProps:y={},slots:x={}}=e,w=(0,u.Z)(e,hl),[k,S]=r.useState(!0);if(!c&&!f&&(!b||k))return null;let C;if(a)C=a;else if(n){const e=ml(n);C=e&&gl(e)?(0,Ba.Z)(e).body:(0,Ba.Z)(null).body}const E=f||!c||b&&!k?void 0:"none",_=b?{in:f,onEnter:()=>{S(!1)},onExited:()=>{S(!0)}}:void 0;return(0,i.jsx)(rl,{disablePortal:l,container:C,children:(0,i.jsx)(bl,(0,d.Z)({anchorEl:n,direction:s,disablePortal:l,modifiers:p,ref:t,open:b?!k:f,placement:h,popperOptions:m,popperRef:g,slotProps:y,slots:x},w,{style:(0,d.Z)({position:"fixed",top:0,left:0,display:E},v),TransitionProps:_,children:o}))})}));var xl=n(8457);const wl=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],kl=(0,S.ZP)(yl,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Sl=r.forwardRef((function(e,t){var n;const r=(0,xl.Z)(),o=(0,k.Z)({props:e,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:p,disablePortal:f,keepMounted:h,modifiers:m,open:g,placement:v,popperOptions:b,popperRef:y,transition:x,slots:w,slotProps:S}=o,C=(0,u.Z)(o,wl),E=null!=(n=null==w?void 0:w.root)?n:null==l?void 0:l.Root,_=(0,d.Z)({anchorEl:a,container:p,disablePortal:f,keepMounted:h,modifiers:m,open:g,placement:v,popperOptions:b,popperRef:y,transition:x},C);return(0,i.jsx)(kl,(0,d.Z)({as:s,direction:null==r?void 0:r.direction,slots:{root:E},slotProps:null!=S?S:c},_,{ref:t}))}));var Cl=n(8647),El=n(5954),_l=n(1211),Tl=n(3838);function Al(e){return(0,E.Z)("MuiTooltip",e)}const Rl=(0,C.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Nl=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const Zl=(0,S.ZP)(Sl,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>(0,d.Z)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Rl.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Rl.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Rl.arrow}`]:(0,d.Z)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Rl.arrow}`]:(0,d.Z)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Pl=(0,S.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,w.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return(0,d.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,Ei.Fq)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${Rl.popper}[data-popper-placement*="left"] &`]:(0,d.Z)({transformOrigin:"right center"},t.isRtl?(0,d.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,d.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Rl.popper}[data-popper-placement*="right"] &`]:(0,d.Z)({transformOrigin:"left center"},t.isRtl?(0,d.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,d.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Rl.popper}[data-popper-placement*="top"] &`]:(0,d.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Rl.popper}[data-popper-placement*="bottom"] &`]:(0,d.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),jl=(0,S.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,Ei.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Il=!1,Ol=null,Ll={x:0,y:0};function Ml(e,t){return n=>{t&&t(n),e(n)}}const Dl=r.forwardRef((function(e,t){var n,o,a,s,l,c,h,m,g,v,b,y,x,S,C,E,_,T,A;const R=(0,k.Z)({props:e,name:"MuiTooltip"}),{arrow:N=!1,children:Z,components:P={},componentsProps:j={},describeChild:I=!1,disableFocusListener:O=!1,disableHoverListener:L=!1,disableInteractive:M=!1,disableTouchListener:D=!1,enterDelay:F=100,enterNextDelay:z=0,enterTouchDelay:B=700,followCursor:q=!1,id:$,leaveDelay:U=0,leaveTouchDelay:H=1500,onClose:V,onOpen:W,open:G,placement:K="bottom",PopperComponent:X,PopperProps:Q={},slotProps:Y={},slots:J={},title:ee,TransitionComponent:te=Da,TransitionProps:ne}=R,re=(0,u.Z)(R,Nl),oe=r.isValidElement(Z)?Z:(0,i.jsx)("span",{children:Z}),ie=ga(),ae="rtl"===ie.direction,[se,le]=r.useState(),[ce,ue]=r.useState(null),de=r.useRef(!1),pe=M||q,fe=r.useRef(),he=r.useRef(),me=r.useRef(),ge=r.useRef(),[ve,be]=(0,Tl.Z)({controlled:G,default:!1,name:"Tooltip",state:"open"});let ye=ve;const xe=(0,El.Z)($),we=r.useRef(),ke=r.useCallback((()=>{void 0!==we.current&&(document.body.style.WebkitUserSelect=we.current,we.current=void 0),clearTimeout(ge.current)}),[]);r.useEffect((()=>()=>{clearTimeout(fe.current),clearTimeout(he.current),clearTimeout(me.current),ke()}),[ke]);const Se=e=>{clearTimeout(Ol),Il=!0,be(!0),W&&!ye&&W(e)},Ce=(0,Cl.Z)((e=>{clearTimeout(Ol),Ol=setTimeout((()=>{Il=!1}),800+U),be(!1),V&&ye&&V(e),clearTimeout(fe.current),fe.current=setTimeout((()=>{de.current=!1}),ie.transitions.duration.shortest)})),Ee=e=>{de.current&&"touchstart"!==e.type||(se&&se.removeAttribute("title"),clearTimeout(he.current),clearTimeout(me.current),F||Il&&z?he.current=setTimeout((()=>{Se(e)}),Il?z:F):Se(e))},_e=e=>{clearTimeout(he.current),clearTimeout(me.current),me.current=setTimeout((()=>{Ce(e)}),U)},{isFocusVisibleRef:Te,onBlur:Ae,onFocus:Re,ref:Ne}=(0,_l.Z)(),[,Ze]=r.useState(!1),Pe=e=>{Ae(e),!1===Te.current&&(Ze(!1),_e(e))},je=e=>{se||le(e.currentTarget),Re(e),!0===Te.current&&(Ze(!0),Ee(e))},Ie=e=>{de.current=!0;const t=oe.props;t.onTouchStart&&t.onTouchStart(e)},Oe=Ee,Le=_e,Me=e=>{Ie(e),clearTimeout(me.current),clearTimeout(fe.current),ke(),we.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ge.current=setTimeout((()=>{document.body.style.WebkitUserSelect=we.current,Ee(e)}),B)},De=e=>{oe.props.onTouchEnd&&oe.props.onTouchEnd(e),ke(),clearTimeout(me.current),me.current=setTimeout((()=>{Ce(e)}),H)};r.useEffect((()=>{if(ye)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Ce(e)}}),[Ce,ye]);const Fe=(0,Pa.Z)(oe.ref,Ne,le,t);ee||0===ee||(ye=!1);const ze=r.useRef(),Be={},qe="string"==typeof ee;I?(Be.title=ye||!qe||L?null:ee,Be["aria-describedby"]=ye?xe:null):(Be["aria-label"]=qe?ee:null,Be["aria-labelledby"]=ye&&!qe?xe:null);const $e=(0,d.Z)({},Be,re,oe.props,{className:(0,p.Z)(re.className,oe.props.className),onTouchStart:Ie,ref:Fe},q?{onMouseMove:e=>{const t=oe.props;t.onMouseMove&&t.onMouseMove(e),Ll={x:e.clientX,y:e.clientY},ze.current&&ze.current.update()}}:{});const Ue={};D||($e.onTouchStart=Me,$e.onTouchEnd=De),L||($e.onMouseOver=Ml(Oe,$e.onMouseOver),$e.onMouseLeave=Ml(Le,$e.onMouseLeave),pe||(Ue.onMouseOver=Oe,Ue.onMouseLeave=Le)),O||($e.onFocus=Ml(je,$e.onFocus),$e.onBlur=Ml(Pe,$e.onBlur),pe||(Ue.onFocus=je,Ue.onBlur=Pe));const He=r.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(ce),options:{element:ce,padding:4}}];return null!=(e=Q.popperOptions)&&e.modifiers&&(t=t.concat(Q.popperOptions.modifiers)),(0,d.Z)({},Q.popperOptions,{modifiers:t})}),[ce,Q]),Ve=(0,d.Z)({},R,{isRtl:ae,arrow:N,disableInteractive:pe,placement:K,PopperComponentProp:X,touch:de.current}),We=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${(0,w.Z)(i.split("-")[0])}`],arrow:["arrow"]};return(0,f.Z)(a,Al,t)})(Ve),Ge=null!=(n=null!=(o=J.popper)?o:P.Popper)?n:Zl,Ke=null!=(a=null!=(s=null!=(l=J.transition)?l:P.Transition)?s:te)?a:Da,Xe=null!=(c=null!=(h=J.tooltip)?h:P.Tooltip)?c:Pl,Qe=null!=(m=null!=(g=J.arrow)?g:P.Arrow)?m:jl,Ye=ha(Ge,(0,d.Z)({},Q,null!=(v=Y.popper)?v:j.popper,{className:(0,p.Z)(We.popper,null==Q?void 0:Q.className,null==(b=null!=(y=Y.popper)?y:j.popper)?void 0:b.className)}),Ve),Je=ha(Ke,(0,d.Z)({},ne,null!=(x=Y.transition)?x:j.transition),Ve),et=ha(Xe,(0,d.Z)({},null!=(S=Y.tooltip)?S:j.tooltip,{className:(0,p.Z)(We.tooltip,null==(C=null!=(E=Y.tooltip)?E:j.tooltip)?void 0:C.className)}),Ve),tt=ha(Qe,(0,d.Z)({},null!=(_=Y.arrow)?_:j.arrow,{className:(0,p.Z)(We.arrow,null==(T=null!=(A=Y.arrow)?A:j.arrow)?void 0:T.className)}),Ve);return(0,i.jsxs)(r.Fragment,{children:[r.cloneElement(oe,$e),(0,i.jsx)(Ge,(0,d.Z)({as:null!=X?X:Sl,placement:K,anchorEl:q?{getBoundingClientRect:()=>({top:Ll.y,left:Ll.x,right:Ll.x,bottom:Ll.y,width:0,height:0})}:se,popperRef:ze,open:!!se&&ye,id:xe,transition:!0},Ue,Ye,{popperOptions:He,children:({TransitionProps:e})=>(0,i.jsx)(Ke,(0,d.Z)({timeout:ie.transitions.duration.shorter},e,Je,{children:(0,i.jsxs)(Xe,(0,d.Z)({},et,{children:[ee,N?(0,i.jsx)(Qe,(0,d.Z)({},tt,{ref:ue})):null]}))}))}))]})})),Fl=Dl;var zl=n(4324);function Bl(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function ql(e,t,n){return null!=n[t]?n[t]:e.props[t]}function $l(e,t,n){var o=Bl(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r{if(!c&&null!=u){const e=setTimeout(u,d);return()=>{clearTimeout(e)}}}),[u,c,d]),(0,i.jsx)("span",{className:m,style:g,children:(0,i.jsx)("span",{className:v})})};const Gl=(0,C.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Kl=["center","classes","className"];let Xl,Ql,Yl,Jl,ec=e=>e;const tc=x(Xl||(Xl=ec` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),nc=x(Ql||(Ql=ec` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),rc=x(Yl||(Yl=ec` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),oc=(0,S.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ic=(0,S.ZP)(Wl,{name:"MuiTouchRipple",slot:"Ripple"})(Jl||(Jl=ec` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),Gl.rippleVisible,tc,550,(({theme:e})=>e.transitions.easing.easeInOut),Gl.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Gl.child,Gl.childLeaving,nc,550,(({theme:e})=>e.transitions.easing.easeInOut),Gl.childPulsate,rc,(({theme:e})=>e.transitions.easing.easeInOut)),ac=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:s}=n,l=(0,u.Z)(n,Kl),[c,f]=r.useState([]),h=r.useRef(0),m=r.useRef(null);r.useEffect((()=>{m.current&&(m.current(),m.current=null)}),[c]);const g=r.useRef(!1),v=r.useRef(0),b=r.useRef(null),y=r.useRef(null);r.useEffect((()=>()=>{v.current&&clearTimeout(v.current)}),[]);const x=r.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:s}=e;f((e=>[...e,(0,i.jsx)(ic,{classes:{ripple:(0,p.Z)(a.ripple,Gl.ripple),rippleVisible:(0,p.Z)(a.rippleVisible,Gl.rippleVisible),ripplePulsate:(0,p.Z)(a.ripplePulsate,Gl.ripplePulsate),child:(0,p.Z)(a.child,Gl.child),childLeaving:(0,p.Z)(a.childLeaving,Gl.childLeaving),childPulsate:(0,p.Z)(a.childPulsate,Gl.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)])),h.current+=1,m.current=s}),[a]),w=r.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:r=!1,center:i=o||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&g.current)return void(g.current=!1);"touchstart"===(null==e?void 0:e.type)&&(g.current=!0);const s=a?null:y.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(i)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===b.current&&(b.current=()=>{x({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})},v.current=setTimeout((()=>{b.current&&(b.current(),b.current=null)}),80)):x({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[o,x]),S=r.useCallback((()=>{w({},{pulsate:!0})}),[w]),C=r.useCallback(((e,t)=>{if(clearTimeout(v.current),"touchend"===(null==e?void 0:e.type)&&b.current)return b.current(),b.current=null,void(v.current=setTimeout((()=>{C(e,t)})));b.current=null,f((e=>e.length>0?e.slice(1):e)),m.current=t}),[]);return r.useImperativeHandle(t,(()=>({pulsate:S,start:w,stop:C})),[S,w,C]),(0,i.jsx)(oc,(0,d.Z)({className:(0,p.Z)(Gl.root,a.root,s),ref:y},l,{children:(0,i.jsx)(Vl,{component:null,exit:!0,children:c})}))})),sc=ac;function lc(e){return(0,E.Z)("MuiButtonBase",e)}const cc=(0,C.Z)("MuiButtonBase",["root","disabled","focusVisible"]),uc=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],dc=(0,S.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${cc.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),pc=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiButtonBase"}),{action:o,centerRipple:a=!1,children:s,className:l,component:c="button",disabled:h=!1,disableRipple:m=!1,disableTouchRipple:g=!1,focusRipple:v=!1,LinkComponent:b="a",onBlur:y,onClick:x,onContextMenu:w,onDragLeave:S,onFocus:C,onFocusVisible:E,onKeyDown:_,onKeyUp:T,onMouseDown:A,onMouseLeave:R,onMouseUp:N,onTouchEnd:Z,onTouchMove:P,onTouchStart:j,tabIndex:I=0,TouchRippleProps:O,touchRippleRef:L,type:M}=n,D=(0,u.Z)(n,uc),F=r.useRef(null),z=r.useRef(null),B=(0,Pa.Z)(z,L),{isFocusVisibleRef:q,onFocus:$,onBlur:U,ref:H}=(0,_l.Z)(),[V,W]=r.useState(!1);h&&V&&W(!1),r.useImperativeHandle(o,(()=>({focusVisible:()=>{W(!0),F.current.focus()}})),[]);const[G,K]=r.useState(!1);r.useEffect((()=>{K(!0)}),[]);const X=G&&!m&&!h;function Q(e,t,n=g){return(0,Cl.Z)((r=>{t&&t(r);return!n&&z.current&&z.current[e](r),!0}))}r.useEffect((()=>{V&&v&&!m&&G&&z.current.pulsate()}),[m,v,V,G]);const Y=Q("start",A),J=Q("stop",w),ee=Q("stop",S),te=Q("stop",N),ne=Q("stop",(e=>{V&&e.preventDefault(),R&&R(e)})),re=Q("start",j),oe=Q("stop",Z),ie=Q("stop",P),ae=Q("stop",(e=>{U(e),!1===q.current&&W(!1),y&&y(e)}),!1),se=(0,Cl.Z)((e=>{F.current||(F.current=e.currentTarget),$(e),!0===q.current&&(W(!0),E&&E(e)),C&&C(e)})),le=()=>{const e=F.current;return c&&"button"!==c&&!("A"===e.tagName&&e.href)},ce=r.useRef(!1),ue=(0,Cl.Z)((e=>{v&&!ce.current&&V&&z.current&&" "===e.key&&(ce.current=!0,z.current.stop(e,(()=>{z.current.start(e)}))),e.target===e.currentTarget&&le()&&" "===e.key&&e.preventDefault(),_&&_(e),e.target===e.currentTarget&&le()&&"Enter"===e.key&&!h&&(e.preventDefault(),x&&x(e))})),de=(0,Cl.Z)((e=>{v&&" "===e.key&&z.current&&V&&!e.defaultPrevented&&(ce.current=!1,z.current.stop(e,(()=>{z.current.pulsate(e)}))),T&&T(e),x&&e.target===e.currentTarget&&le()&&" "===e.key&&!e.defaultPrevented&&x(e)}));let pe=c;"button"===pe&&(D.href||D.to)&&(pe=b);const fe={};"button"===pe?(fe.type=void 0===M?"button":M,fe.disabled=h):(D.href||D.to||(fe.role="button"),h&&(fe["aria-disabled"]=h));const he=(0,Pa.Z)(t,H,F);const me=(0,d.Z)({},n,{centerRipple:a,component:c,disabled:h,disableRipple:m,disableTouchRipple:g,focusRipple:v,tabIndex:I,focusVisible:V}),ge=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,f.Z)(i,lc,o);return n&&r&&(a.root+=` ${r}`),a})(me);return(0,i.jsxs)(dc,(0,d.Z)({as:pe,className:(0,p.Z)(ge.root,l),ownerState:me,onBlur:ae,onClick:x,onContextMenu:J,onFocus:se,onKeyDown:ue,onKeyUp:de,onMouseDown:Y,onMouseLeave:ne,onMouseUp:te,onDragLeave:ee,onTouchEnd:oe,onTouchMove:ie,onTouchStart:re,ref:he,tabIndex:h?-1:I,type:M},fe,D,{children:[s,X?(0,i.jsx)(sc,(0,d.Z)({ref:B,center:a},O)):null]}))})),fc=pc;function hc(e){return(0,E.Z)("MuiIconButton",e)}const mc=(0,C.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),gc=["edge","children","className","color","disabled","disableFocusRipple","size"],vc=(0,S.ZP)(fc,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,w.Z)(n.color)}`],n.edge&&t[`edge${(0,w.Z)(n.edge)}`],t[`size${(0,w.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,d.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ei.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return(0,d.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,d.Z)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,d.Z)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ei.Fq)(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${mc.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),bc=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:h="medium"}=n,m=(0,u.Z)(n,gc),g=(0,d.Z)({},n,{edge:r,color:s,disabled:l,disableFocusRipple:c,size:h}),v=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled","default"!==r&&`color${(0,w.Z)(r)}`,o&&`edge${(0,w.Z)(o)}`,`size${(0,w.Z)(i)}`]};return(0,f.Z)(a,hc,t)})(g);return(0,i.jsx)(vc,(0,d.Z)({className:(0,p.Z)(v.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:t,ownerState:g},m,{children:o}))}));var yc=n(2358),xc=n(9983),wc=n(8419),kc=n(2817);function Sc(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Cc(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ec(e){return parseInt((0,kc.Z)(e).getComputedStyle(e).paddingRight,10)||0}function _c(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Cc(e,o)}))}function Tc(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function Ac(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,Ba.Z)(e);return t.body===e?(0,kc.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Sc((0,Ba.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Ec(r)+e}px`;const t=(0,Ba.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Ec(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,Ba.Z)(r).body;else{const t=r.parentElement,n=(0,kc.Z)(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}const Rc=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Nc(e){const t=[],n=[];return Array.from(e.querySelectorAll(Rc)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Zc(){return!0}const Pc=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:a=!1,getTabbable:s=Nc,isEnabled:l=Zc,open:c}=e,u=r.useRef(!1),d=r.useRef(null),p=r.useRef(null),f=r.useRef(null),h=r.useRef(null),m=r.useRef(!1),g=r.useRef(null),v=(0,Fa.Z)(t.ref,g),b=r.useRef(null);r.useEffect((()=>{c&&g.current&&(m.current=!n)}),[n,c]),r.useEffect((()=>{if(!c||!g.current)return;const e=(0,Ba.Z)(g.current);return g.current.contains(e.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),m.current&&g.current.focus()),()=>{a||(f.current&&f.current.focus&&(u.current=!0,f.current.focus()),f.current=null)}}),[c]),r.useEffect((()=>{if(!c||!g.current)return;const e=(0,Ba.Z)(g.current),t=t=>{const{current:n}=g;if(null!==n)if(e.hasFocus()&&!o&&l()&&!u.current){if(!n.contains(e.activeElement)){if(t&&h.current!==t.target||e.activeElement!==h.current)h.current=null;else if(null!==h.current)return;if(!m.current)return;let o=[];if(e.activeElement!==d.current&&e.activeElement!==p.current||(o=s(g.current)),o.length>0){var r,i;const e=Boolean((null==(r=b.current)?void 0:r.shiftKey)&&"Tab"===(null==(i=b.current)?void 0:i.key)),t=o[0],n=o[o.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else n.focus()}}else u.current=!1},n=t=>{b.current=t,!o&&l()&&"Tab"===t.key&&e.activeElement===g.current&&t.shiftKey&&(u.current=!0,p.current&&p.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[n,o,a,l,c,s]);const y=e=>{null===f.current&&(f.current=e.relatedTarget),m.current=!0};return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)("div",{tabIndex:c?0:-1,onFocus:y,ref:d,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:v,onFocus:e=>{null===f.current&&(f.current=e.relatedTarget),m.current=!0,h.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,i.jsx)("div",{tabIndex:c?0:-1,onFocus:y,ref:p,"data-testid":"sentinelEnd"})]})};function jc(e){return(0,E.Z)("MuiModal",e)}(0,C.Z)("MuiModal",["root","hidden","backdrop"]);const Ic=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"];const Oc=new class ModalManager{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Cc(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);_c(t,e.mount,e.modalRef,r,!0);const o=Tc(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=Tc(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=Ac(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Tc(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Cc(e.modalRef,t),_c(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Cc(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},Lc=r.forwardRef((function(e,t){var n,o;const{children:a,closeAfterTransition:s=!1,container:l,disableAutoFocus:c=!1,disableEnforceFocus:p=!1,disableEscapeKeyDown:h=!1,disablePortal:m=!1,disableRestoreFocus:g=!1,disableScrollLock:v=!1,hideBackdrop:b=!1,keepMounted:y=!1,manager:x=Oc,onBackdropClick:w,onClose:k,onKeyDown:S,open:C,onTransitionEnter:E,onTransitionExited:_,slotProps:T={},slots:A={}}=e,R=(0,u.Z)(e,Ic),N=x,[Z,P]=r.useState(!C),j=r.useRef({}),I=r.useRef(null),O=r.useRef(null),L=(0,Fa.Z)(O,t),M=function(e){return!!e&&e.props.hasOwnProperty("in")}(a),D=null==(n=e["aria-hidden"])||n,F=()=>(j.current.modalRef=O.current,j.current.mountNode=I.current,j.current),z=()=>{N.mount(F(),{disableScrollLock:v}),O.current&&(O.current.scrollTop=0)},B=(0,xc.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(l)||(0,Ba.Z)(I.current).body;N.add(F(),e),O.current&&z()})),q=r.useCallback((()=>N.isTopModal(F())),[N]),$=(0,xc.Z)((e=>{I.current=e,e&&O.current&&(C&&q()?z():Cc(O.current,D))})),U=r.useCallback((()=>{N.remove(F(),D)}),[N,D]);r.useEffect((()=>()=>{U()}),[U]),r.useEffect((()=>{C?B():M&&s||U()}),[C,U,M,s,B]);const H=(0,d.Z)({},e,{closeAfterTransition:s,disableAutoFocus:c,disableEnforceFocus:p,disableEscapeKeyDown:h,disablePortal:m,disableRestoreFocus:g,disableScrollLock:v,exited:Z,hideBackdrop:b,keepMounted:y}),V=(e=>{const{open:t,exited:n}=e,r={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,f.Z)(r,pl(jc))})(H),W=()=>{P(!1),E&&E()},G=()=>{P(!0),_&&_(),s&&U()},K={};void 0===a.props.tabIndex&&(K.tabIndex="-1"),M&&(K.onEnter=(0,wc.Z)(W,a.props.onEnter),K.onExited=(0,wc.Z)(G,a.props.onExited));const X=null!=(o=A.root)?o:"div",Q=cl({elementType:X,externalSlotProps:T.root,externalForwardedProps:R,additionalProps:{ref:L,role:"presentation",onKeyDown:e=>{S&&S(e),"Escape"===e.key&&q()&&(h||(e.stopPropagation(),k&&k(e,"escapeKeyDown")))}},className:V.root,ownerState:H}),Y=A.backdrop,J=cl({elementType:Y,externalSlotProps:T.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(w&&w(e),k&&k(e,"backdropClick"))},open:C},className:V.backdrop,ownerState:H});return y||C||M&&!Z?(0,i.jsx)(rl,{ref:$,container:l,disablePortal:m,children:(0,i.jsxs)(X,(0,d.Z)({},Q,{children:[!b&&Y?(0,i.jsx)(Y,(0,d.Z)({},J)):null,(0,i.jsx)(Pc,{disableEnforceFocus:p,disableAutoFocus:c,disableRestoreFocus:g,isEnabled:q,open:C,children:r.cloneElement(a,K)})]}))}):null})),Mc=Lc,Dc=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Fc={entering:{opacity:1},entered:{opacity:1}},zc=r.forwardRef((function(e,t){const n=ga(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,easing:c,in:p,onEnter:f,onEntered:h,onEntering:m,onExit:g,onExited:v,onExiting:b,style:y,timeout:x=o,TransitionComponent:w=Ra}=e,k=(0,u.Z)(e,Dc),S=r.useRef(null),C=(0,Pa.Z)(S,l.ref,t),E=e=>t=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},_=E(m),T=E(((e,t)=>{Na(e);const r=Za({style:y,timeout:x,easing:c},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),f&&f(e,t)})),A=E(h),R=E(b),N=E((e=>{const t=Za({style:y,timeout:x,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),g&&g(e)})),Z=E(v);return(0,i.jsx)(w,(0,d.Z)({appear:s,in:p,nodeRef:S,onEnter:T,onEntered:A,onEntering:_,onExit:N,onExited:Z,onExiting:R,addEndListener:e=>{a&&a(S.current,e)},timeout:x},k,{children:(e,t)=>r.cloneElement(l,(0,d.Z)({style:(0,d.Z)({opacity:0,visibility:"exited"!==e||p?void 0:"hidden"},Fc[e],y,l.props.style),ref:C},t))}))}));function Bc(e){return(0,E.Z)("MuiBackdrop",e)}(0,C.Z)("MuiBackdrop",["root","invisible"]);const qc=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],$c=(0,S.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,d.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),Uc=r.forwardRef((function(e,t){var n,r,o;const a=(0,k.Z)({props:e,name:"MuiBackdrop"}),{children:s,className:l,component:c="div",components:h={},componentsProps:m={},invisible:g=!1,open:v,slotProps:b={},slots:y={},TransitionComponent:x=zc,transitionDuration:w}=a,S=(0,u.Z)(a,qc),C=(0,d.Z)({},a,{component:c,invisible:g}),E=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,f.Z)(r,Bc,t)})(C),_=null!=(n=b.root)?n:m.root;return(0,i.jsx)(x,(0,d.Z)({in:v,timeout:w},S,{children:(0,i.jsx)($c,(0,d.Z)({"aria-hidden":!0},_,{as:null!=(r=null!=(o=y.root)?o:h.Root)?r:c,className:(0,p.Z)(E.root,l,null==_?void 0:_.className),ownerState:(0,d.Z)({},C,null==_?void 0:_.ownerState),classes:E,ref:t,children:s}))}))})),Hc=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],Vc=(0,S.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,d.Z)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),Wc=(0,S.ZP)(Uc,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Gc=r.forwardRef((function(e,t){var n,o,a,s,l,c;const f=(0,k.Z)({name:"MuiModal",props:e}),{BackdropComponent:h=Wc,BackdropProps:m,classes:g,className:v,closeAfterTransition:b=!1,children:y,container:x,component:w,components:S={},componentsProps:C={},disableAutoFocus:E=!1,disableEnforceFocus:_=!1,disableEscapeKeyDown:T=!1,disablePortal:A=!1,disableRestoreFocus:R=!1,disableScrollLock:N=!1,hideBackdrop:Z=!1,keepMounted:P=!1,onBackdropClick:j,onClose:I,open:O,slotProps:L,slots:M,theme:D}=f,F=(0,u.Z)(f,Hc),[z,B]=r.useState(!0),q={container:x,closeAfterTransition:b,disableAutoFocus:E,disableEnforceFocus:_,disableEscapeKeyDown:T,disablePortal:A,disableRestoreFocus:R,disableScrollLock:N,hideBackdrop:Z,keepMounted:P,onBackdropClick:j,onClose:I,open:O},$=(0,d.Z)({},f,q,{exited:z}),U=null!=(n=null!=(o=null==M?void 0:M.root)?o:S.Root)?n:Vc,H=null!=(a=null!=(s=null==M?void 0:M.backdrop)?s:S.Backdrop)?a:h,V=null!=(l=null==L?void 0:L.root)?l:C.root,W=null!=(c=null==L?void 0:L.backdrop)?c:C.backdrop;return(0,i.jsx)(Mc,(0,d.Z)({slots:{root:U,backdrop:H},slotProps:{root:()=>(0,d.Z)({},sl(V,$),!fa(U)&&{as:w,theme:D},{className:(0,p.Z)(v,null==V?void 0:V.className,null==g?void 0:g.root,!$.open&&$.exited&&(null==g?void 0:g.hidden))}),backdrop:()=>(0,d.Z)({},m,sl(W,$),{className:(0,p.Z)(null==W?void 0:W.className,null==m?void 0:m.className,null==g?void 0:g.backdrop)})},onTransitionEnter:()=>B(!1),onTransitionExited:()=>B(!0),ref:t},F,q,{children:y}))}));function Kc(e){return(0,E.Z)("MuiDialog",e)}const Xc=(0,C.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);const Qc=r.createContext({}),Yc=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],Jc=(0,S.ZP)(Uc,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),eu=(0,S.ZP)(Gc,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),tu=(0,S.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${(0,w.Z)(n.scroll)}`]]}})((({ownerState:e})=>(0,d.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),nu=(0,S.ZP)(Ni,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${(0,w.Z)(n.scroll)}`],t[`paperWidth${(0,w.Z)(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((({theme:e,ownerState:t})=>(0,d.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===t.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===t.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===t.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${Xc.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&"xs"!==t.maxWidth&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${Xc.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${Xc.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),ru=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiDialog"}),o=ga(),a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":s,"aria-labelledby":l,BackdropComponent:c,BackdropProps:h,children:m,className:g,disableEscapeKeyDown:v=!1,fullScreen:b=!1,fullWidth:y=!1,maxWidth:x="sm",onBackdropClick:S,onClose:C,open:E,PaperComponent:_=Ni,PaperProps:T={},scroll:A="paper",TransitionComponent:R=zc,transitionDuration:N=a,TransitionProps:Z}=n,P=(0,u.Z)(n,Yc),j=(0,d.Z)({},n,{disableEscapeKeyDown:v,fullScreen:b,fullWidth:y,maxWidth:x,scroll:A}),I=(e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:i}=e,a={root:["root"],container:["container",`scroll${(0,w.Z)(n)}`],paper:["paper",`paperScroll${(0,w.Z)(n)}`,`paperWidth${(0,w.Z)(String(r))}`,o&&"paperFullWidth",i&&"paperFullScreen"]};return(0,f.Z)(a,Kc,t)})(j),O=r.useRef(),L=(0,yc.Z)(l),M=r.useMemo((()=>({titleId:L})),[L]);return(0,i.jsx)(eu,(0,d.Z)({className:(0,p.Z)(I.root,g),closeAfterTransition:!0,components:{Backdrop:Jc},componentsProps:{backdrop:(0,d.Z)({transitionDuration:N,as:c},h)},disableEscapeKeyDown:v,onClose:C,open:E,ref:t,onClick:e=>{O.current&&(O.current=null,S&&S(e),C&&C(e,"backdropClick"))},ownerState:j},P,{children:(0,i.jsx)(R,(0,d.Z)({appear:!0,in:E,timeout:N,role:"presentation"},Z,{children:(0,i.jsx)(tu,{className:(0,p.Z)(I.container),onMouseDown:e=>{O.current=e.target===e.currentTarget},ownerState:j,children:(0,i.jsx)(nu,(0,d.Z)({as:_,elevation:24,role:"dialog","aria-describedby":s,"aria-labelledby":L},T,{className:(0,p.Z)(I.paper,T.className),ownerState:j,children:(0,i.jsx)(Qc.Provider,{value:M,children:m})}))})}))}))})),ou={expandCollapseAll:"Alles anzeigen/Minimieren",search:"Suchen Inhaltsverzeichnis",sectionFoldingOn:"Abschnitte einklappen",sectionFoldingOff:"Abschnitte ausklappen",copySectionLink:"Link zum Abschnitt kopieren",viewSource:"Quelltext anzeigen",linkCopied:"Link in die Zwischenablage kopiert",openArticle:"Artikel \xf6ffnen",selectArticle:"W\xe4hlen Sie einen Artikel f\xfcr die Vorschau aus",close:"Schlie\xdfen",hover:"Schwebt ein/aus",guidedTour:"Guided Tour",hide:"Ausblenden",needs:"Bed\xfcrfnisse",details:"Einzelheiten",concepts:"Konzepte",smileyTooltips:{Remember:{2:"Ich kann mich komplett daran erinnern",1:"Ich kann mich gr\xf6\xdftenteils daran erinnern",0:"Ich bin mir nicht sicher, ob ich mich daran erinnern kann","-1":"Ich kann mich kaum daran erinnern","-2":"Ich kann mich \xfcberhaupt nicht daran erinnern"},Understand:{2:"Ich verstehe es komplett",1:"Ich verstehe es gr\xf6\xdftenteils",0:"Ich bin mir nicht sicher, ob ich es verstehe","-1":"Ich verstehe es kaum","-2":"Ich verstehe es \xfcberhaupt nicht"}},enableDisableFilter:"Klicken Sie zum Aktivieren/Deaktivieren von Filtern.",iconHovers:{Remember:"Ich erinnere mich ",Understand:"Ich verstehe es",Apply:"Ich kann es anwenden",Analyse:"Ich kann analysieren",Evaluate:"Ich kann bewerten",Create:"Ich kann Neues erstellen"},quiz:{youScored:"Sie haben $1 von $2 Punkten erreicht.",feedbackAwaited:"Quiz eingereicht. R\xfcckmeldung erwartet.",of:"von",problem:"Aufgabe",finish:"Beenden",prev:"Vorherige",next:"N\xe4chste",didntAnswer:"Sie haben $1 Aufgaben nicht beantwortet. ",sureFinish:"Sind Sie sicher, dass Sie den Vorgang abschlie\xdfen m\xf6chten?",checkSolution:"L\xf6sung pr\xfcfen"}},iu={expandCollapseAll:"Expand/collapse all",search:"Search TOC",sectionFoldingOn:"Turn On Section Folding",sectionFoldingOff:"Turn Off Section Folding",copySectionLink:"Copy Section Link",viewSource:"View Source",linkCopied:"Link Copied to Clipboard",openArticle:"Open Article",selectArticle:"Select an article for preview",close:"Close",hover:"Hovers On/Off",guidedTour:"Guided Tour",hide:"Hide",needs:"Needs",details:"Details",concepts:"Concepts",smileyTooltips:{Remember:{2:"I am absolutely able to recall",1:"I am mostly able to recall",0:"I am not sure if I can recall","-1":"I am mostly unable to recall","-2":"I am not able to recall at all"},Understand:{2:"I fully understand",1:"I understand for the most part",0:"I am not sure","-1":"I do not understand major parts","-2":"I don't understand anything"}},enableDisableFilter:"Click to enable/disable filter.",iconHovers:{Remember:"I remember",Understand:"I understand",Apply:"I can apply",Analyse:"I can analyse",Evaluate:"I can evaluate",Create:"I can create"},quiz:{youScored:"You scored $1 out of $2.",feedbackAwaited:"Quiz Submitted. Feedback awaited.",of:"of",problem:"Problem",finish:"Finish",prev:"Prev",next:"Next",didntAnswer:"You didn't answer $1 problems. ",sureFinish:"Are you sure you want to finish?",checkSolution:"Check Solution"}};function au(e){var t;return"de"===(null!=(t=null==e?void 0:e.locale)?t:null==Yn?void 0:Yn.LANGUAGE)?ou:iu}var su,lu,cu,uu=n(6788);function du(e){return e===su.Space||e===su.NewLine||e===su.Tab||e===su.FormFeed||e===su.CarriageReturn}function pu(e){return e===su.Slash||e===su.Gt||du(e)}function fu(e){return e>=su.Zero&&e<=su.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(su||(su={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(lu||(lu={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(cu||(cu={}));const hu={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};class Tokenizer{constructor({xmlMode:e=!1,decodeEntities:t=!0},n){this.cbs=n,this.state=lu.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=lu.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=e,this.decodeEntities=t,this.entityTrie=e?fn:pn}reset(){this.state=lu.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=lu.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=lu.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===su.Amp&&(this.state=lu.BeforeEntity)}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?pu(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=lu.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===su.Gt||du(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart=su.LowerA&&e<=su.LowerZ||e>=su.UpperA&&e<=su.UpperZ}(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=lu.SpecialStartSequence}stateBeforeTagName(e){if(e===su.ExclamationMark)this.state=lu.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===su.Questionmark)this.state=lu.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){const t=32|e;this.sectionStart=this.index,this.xmlMode||t!==hu.TitleEnd[2]?this.state=this.xmlMode||t!==hu.ScriptEnd[2]?lu.InTagName:lu.BeforeSpecialS:this.startSpecial(hu.TitleEnd,3)}else e===su.Slash?this.state=lu.BeforeClosingTagName:(this.state=lu.Text,this.stateText(e))}stateInTagName(e){pu(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=lu.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){du(e)||(e===su.Gt?this.state=lu.Text:(this.state=this.isTagStartChar(e)?lu.InClosingTagName:lu.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===su.Gt||du(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=lu.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===su.Gt||this.fastForwardTo(su.Gt))&&(this.state=lu.Text,this.baseState=lu.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===su.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=lu.InSpecialTag,this.sequenceIndex=0):this.state=lu.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===su.Slash?this.state=lu.InSelfClosingTag:du(e)||(this.state=lu.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===su.Gt?(this.cbs.onselfclosingtag(this.index),this.state=lu.Text,this.baseState=lu.Text,this.sectionStart=this.index+1,this.isSpecial=!1):du(e)||(this.state=lu.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===su.Eq||pu(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=lu.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===su.Eq?this.state=lu.BeforeAttributeValue:e===su.Slash||e===su.Gt?(this.cbs.onattribend(cu.NoValue,this.index),this.state=lu.BeforeAttributeName,this.stateBeforeAttributeName(e)):du(e)||(this.cbs.onattribend(cu.NoValue,this.index),this.state=lu.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===su.DoubleQuote?(this.state=lu.InAttributeValueDq,this.sectionStart=this.index+1):e===su.SingleQuote?(this.state=lu.InAttributeValueSq,this.sectionStart=this.index+1):du(e)||(this.sectionStart=this.index,this.state=lu.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===su.DoubleQuote?cu.Double:cu.Single,this.index),this.state=lu.BeforeAttributeName):this.decodeEntities&&e===su.Amp&&(this.baseState=this.state,this.state=lu.BeforeEntity)}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,su.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,su.SingleQuote)}stateInAttributeValueNoQuotes(e){du(e)||e===su.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(cu.Unquoted,this.index),this.state=lu.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===su.Amp&&(this.baseState=this.state,this.state=lu.BeforeEntity)}stateBeforeDeclaration(e){e===su.OpeningSquareBracket?(this.state=lu.CDATASequence,this.sequenceIndex=0):this.state=e===su.Dash?lu.BeforeComment:lu.InDeclaration}stateInDeclaration(e){(e===su.Gt||this.fastForwardTo(su.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=lu.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===su.Gt||this.fastForwardTo(su.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=lu.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===su.Dash?(this.state=lu.InCommentLike,this.currentSequence=hu.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=lu.InDeclaration}stateInSpecialComment(e){(e===su.Gt||this.fastForwardTo(su.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=lu.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const t=32|e;t===hu.ScriptEnd[3]?this.startSpecial(hu.ScriptEnd,4):t===hu.StyleEnd[3]?this.startSpecial(hu.StyleEnd,4):(this.state=lu.InTagName,this.stateInTagName(e))}stateBeforeEntity(e){this.entityExcess=1,this.entityResult=0,e===su.Number?this.state=lu.BeforeNumericEntity:e===su.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=lu.InNamedEntity,this.stateInNamedEntity(e))}stateInNamedEntity(e){if(this.entityExcess+=1,this.trieIndex=En(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];const t=this.trieCurrent&yn.VALUE_LENGTH;if(t){const n=(t>>14)-1;if(this.allowLegacyEntity()||e===su.Semi){const e=this.index-this.entityExcess+1;e>this.sectionStart&&this.emitPartial(this.sectionStart,e),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}}emitNamedEntity(){if(this.state=this.baseState,0===this.entityResult)return;switch((this.entityTrie[this.entityResult]&yn.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~yn.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}stateBeforeNumericEntity(e){(32|e)===su.LowerX?(this.entityExcess++,this.state=lu.InHexEntity):(this.state=lu.InNumericEntity,this.stateInNumericEntity(e))}emitNumericEntity(e){const t=this.index-this.entityExcess-1;t+2+Number(this.state===lu.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint(vn(this.entityResult))),this.state=this.baseState}stateInNumericEntity(e){e===su.Semi?this.emitNumericEntity(!0):fu(e)?(this.entityResult=10*this.entityResult+(e-su.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}stateInHexEntity(e){e===su.Semi?this.emitNumericEntity(!0):fu(e)?(this.entityResult=16*this.entityResult+(e-su.Zero),this.entityExcess++):!function(e){return e>=su.UpperA&&e<=su.UpperF||e>=su.LowerA&&e<=su.LowerF}(e)?(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--):(this.entityResult=16*this.entityResult+((32|e)-su.LowerA+10),this.entityExcess++)}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===lu.Text||this.baseState===lu.InSpecialTag)}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===lu.Text||this.state===lu.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==lu.InAttributeValueDq&&this.state!==lu.InAttributeValueSq&&this.state!==lu.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index0&&i.has(this.stack[this.stack.length-1]);){const e=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,e,!0)}this.isVoidElement(e)||(this.stack.push(e),ku.has(e)?this.foreignContext.push(!0):Su.has(e)&&this.foreignContext.push(!1)),null===(o=(r=this.cbs).onopentagname)||void 0===o||o.call(r,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var n,r,o,i,a,s;this.endIndex=t;let l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(ku.has(l)||Su.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null===(r=(n=this.cbs).onopentagname)||void 0===r||r.call(n,"br"),null===(i=(o=this.cbs).onopentag)||void 0===i||i.call(o,"br",{},!0),null===(s=(a=this.cbs).onclosetag)||void 0===s||s.call(a,"br",!1));else{const e=this.stack.lastIndexOf(l);if(-1!==e)if(this.cbs.onclosetag){let t=this.stack.length-e;for(;t--;)this.cbs.onclosetag(this.stack.pop(),0!==t)}else this.stack.length=e;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,n;const r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,r,!e),this.stack.pop())}onattribname(e,t){this.startIndex=e;const n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=gn(e)}onattribend(e,t){var n,r;this.endIndex=t,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,e===cu.Double?'"':e===cu.Single?"'":e===cu.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){const t=e.search(Cu);let n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(e,t){this.endIndex=t;const n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${e}`,`!${n}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;const n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${e}`,`?${n}`)}this.startIndex=t+1}oncomment(e,t,n){var r,o,i,a;this.endIndex=t,null===(o=(r=this.cbs).oncomment)||void 0===o||o.call(r,this.getSlice(e,t-n)),null===(a=(i=this.cbs).oncommentend)||void 0===a||a.call(i),this.startIndex=t+1}oncdata(e,t,n){var r,o,i,a,s,l,c,u,d,p;this.endIndex=t;const f=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null===(o=(r=this.cbs).oncdatastart)||void 0===o||o.call(r),null===(a=(i=this.cbs).ontext)||void 0===a||a.call(i,f),null===(l=(s=this.cbs).oncdataend)||void 0===l||l.call(s)):(null===(u=(c=this.cbs).oncomment)||void 0===u||u.call(c,`[CDATA[${f}]]`),null===(p=(d=this.cbs).oncommentend)||void 0===p||p.call(d)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=this.stack.length;e>0;this.cbs.onclosetag(this.stack[--e],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)}reset(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))}end(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex{var r;const o=null!=(r=_u[t])?r:wi.FILL_IN,i=function(e){return["data-problem-scb-inline","data-problem-fillInSol-inline"].some((t=>"true"===e.attribs[t]))}(e);if(e.attribs.id=nr+`${n}`,[wi.MCQ,wi.SCQ].includes(o)){const t=function(e,t){const n=t===wi.MCQ?"data-problem-mc":"data-problem-sc",r=n+"-solution";return Ru(e,[n]).map((({node:e,attrVal:t},n)=>Zu(e,r,t,n)))}(e,o);return{type:o,options:t,inline:i}}return{type:o,fillInSolution:Wn(e),inline:i}}))}function ju(e,t){var n,r,o,i;const a=Eu(e),s=null==(l=Ru(a,["data-problem"]))||null==(l=l[0])?void 0:l.node;var l;s.attribs[Tu]="true";const c=function(e){var t;const n=null==e||null==(t=e.attribs)?void 0:t["data-problem-points"];if(!n)return 1;const r=parseFloat(n);return isNaN(r)||r<.001?1:r}(s),u=function(e){var t;const n=null==(t=Ru(e,["data-problem-title"]))||null==(t=t[0])?void 0:t.node;return n?Vn(n):""}(s);if(!s)return{header:"",objectives:"",preconditions:"",inputs:[],points:0,statement:{outerHTML:`Not found: ${t}`}};Nu(s,["data-problem-title","data-problem-solution","data-problem-g-note","data-problem-minutes"]);const d=Pu(s);return{header:u,objectives:null!=(n=null==s||null==(r=s.attribs)?void 0:r["data-problem-objectives"])?n:"",preconditions:null!=(o=null==s||null==(i=s.attribs)?void 0:i["data-problem-preconditions"])?o:"",statement:{outerHTML:Vn(s)},inputs:d,points:c}}function Iu(e){return e?e.replace("Problem 0.1","").replace("Aufgabe 0.1",""):e}const Ou=["data-problem-sc","data-problem-mc"],Lu=["data-overlay-link-click","data-overlay-link-hover","data-highlight-parent"],Mu=["data-problem-sc-solution","data-problem-mc-solution"],Du=["data-problem-fillinsol"];var Fu=n(2670),zu=Fu.domToReact,Bu=(Fu.htmlToDOM,Fu.attributesToProps,Fu.Comment,Fu.Element);Fu.ProcessingInstruction,Fu.Text;const qu=Fu;function $u(e){return(0,E.Z)("MuiLinearProgress",e)}(0,C.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Uu=["className","color","value","valueBuffer","variant"];let Hu,Vu,Wu,Gu,Ku,Xu,Qu=e=>e;const Yu=x(Hu||(Hu=Qu` - 0% { - left: -35%; - right: 100%; - } - - 60% { - left: 100%; - right: -90%; - } - - 100% { - left: 100%; - right: -90%; - } -`)),Ju=x(Vu||(Vu=Qu` - 0% { - left: -200%; - right: 100%; - } - - 60% { - left: 107%; - right: -8%; - } - - 100% { - left: 107%; - right: -8%; - } -`)),ed=x(Wu||(Wu=Qu` - 0% { - opacity: 1; - background-position: 0 -23px; - } - - 60% { - opacity: 0; - background-position: 0 -23px; - } - - 100% { - opacity: 1; - background-position: -200px -23px; - } -`)),td=(e,t)=>"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,Ei.$n)(e.palette[t].main,.62):(0,Ei._j)(e.palette[t].main,.5),nd=(0,S.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,w.Z)(n.color)}`],t[n.variant]]}})((({ownerState:e,theme:t})=>(0,d.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:td(t,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"}))),rd=(0,S.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${(0,w.Z)(n.color)}`]]}})((({ownerState:e,theme:t})=>{const n=td(t,e.color);return(0,d.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),y(Gu||(Gu=Qu` - animation: ${0} 3s infinite linear; - `),ed)),od=(0,S.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,w.Z)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})((({ownerState:e,theme:t})=>(0,d.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&y(Ku||(Ku=Qu` - width: auto; - animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; - `),Yu))),id=(0,S.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,w.Z)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})((({ownerState:e,theme:t})=>(0,d.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:td(t,e.color),transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&y(Xu||(Xu=Qu` - width: auto; - animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; - `),Ju))),ad=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiLinearProgress"}),{className:r,color:o="primary",value:a,valueBuffer:s,variant:l="indeterminate"}=n,c=(0,u.Z)(n,Uu),h=(0,d.Z)({},n,{color:o,variant:l}),m=(e=>{const{classes:t,variant:n,color:r}=e,o={root:["root",`color${(0,w.Z)(r)}`,n],dashed:["dashed",`dashedColor${(0,w.Z)(r)}`],bar1:["bar",`barColor${(0,w.Z)(r)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&`barColor${(0,w.Z)(r)}`,"buffer"===n&&`color${(0,w.Z)(r)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return(0,f.Z)(o,$u,t)})(h),g=ga(),v={},b={bar1:{},bar2:{}};if("determinate"===l||"buffer"===l)if(void 0!==a){v["aria-valuenow"]=Math.round(a),v["aria-valuemin"]=0,v["aria-valuemax"]=100;let e=a-100;"rtl"===g.direction&&(e=-e),b.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===l)if(void 0!==s){let e=(s||0)-100;"rtl"===g.direction&&(e=-e),b.bar2.transform=`translateX(${e}%)`}else 0;return(0,i.jsxs)(nd,(0,d.Z)({className:(0,p.Z)(m.root,r),ownerState:h,role:"progressbar"},v,{ref:t},c,{children:["buffer"===l?(0,i.jsx)(rd,{className:m.dashed,ownerState:h}):null,(0,i.jsx)(od,{className:m.bar1,ownerState:h,style:b.bar1}),"determinate"===l?null:(0,i.jsx)(id,{className:m.bar2,ownerState:h,style:b.bar2})]}))})),sd=(0,r.memo)((({mmtHtml:e,modifyRendered:t,renderWrapperParams:n={}})=>{const[o,a]=(0,r.useState)((0,i.jsx)(i.Fragment,{})),[s,l]=(0,r.useState)(""),c=(0,r.useMemo)((()=>({highlightedParentId:s,setHighlightedParentId:l})),[s]);return(0,r.useEffect)((()=>{let n=Hy(e);t&&(n=t(n)),a(n)}),[e,t]),(0,i.jsx)(My.Provider,{value:c,children:(0,i.jsx)("div",Object.assign({},n,{children:o}))})})),ld=(0,r.createContext)({topLevelDocUrl:""}),cd=(0,r.memo)((({url:e,modifyRendered:t,topLevelDocUrl:n,minLoadingHeight:o})=>{const[a,s]=(0,r.useState)(void 0),{mmtUrl:l}=(0,r.useContext)(dw);if((0,r.useEffect)((()=>{if(null==e||!e.length)return;const t=null!=l&&l.length?`${l}/${e}`:e;Vt.get(t).catch((e=>(console.log(e),null))).then((t=>{let n=`Error loading: ${e}`;null!=t&&t.data&&(n=t.data),s(n.trim())}))}),[l,e]),void 0===a)return(0,i.jsxs)(ne,{minHeight:o,children:[(0,i.jsx)("span",{style:{fontSize:"smaller"},children:e}),(0,i.jsx)(ad,{})]});const c=(0,i.jsx)(sd,{mmtHtml:a,modifyRendered:t,renderWrapperParams:{"section-url":e}});return n?(0,i.jsx)(ld.Provider,{value:{topLevelDocUrl:n},children:c}):c}));class ErrorBoundary extends r.Component{constructor(e){super(e),this.state={error:null,errorInfo:null}}componentDidCatch(e,t){this.setState({error:e,errorInfo:t})}render(){return this.state.errorInfo?this.props.hidden?(0,i.jsx)(i.Fragment,{}):(0,i.jsxs)("div",{children:[(0,i.jsx)("h2",{children:"Something went wrong."}),(0,i.jsxs)("details",{style:{whiteSpace:"pre-wrap"},children:[this.state.error&&this.state.error.toString(),(0,i.jsx)("br",{}),this.state.errorInfo.componentStack]})]}):this.props.children}}var ud=n(1963),dd=n(9169),pd=n(3022);function fd(e){return(0,E.Z)("MuiButton",e)}const hd=(0,C.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);const md=r.createContext({}),gd=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],vd=e=>(0,d.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),bd=(0,S.ZP)(fc,{shouldForwardProp:e=>(0,S.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,w.Z)(n.color)}`],t[`size${(0,w.Z)(n.size)}`],t[`${n.variant}Size${(0,w.Z)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,d.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,d.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ei.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ei.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ei.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,d.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${hd.focusVisible}`]:(0,d.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${hd.disabled}`]:(0,d.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,Ei.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${hd.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${hd.disabled}`]:{boxShadow:"none"}})),yd=(0,S.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,w.Z)(n.size)}`]]}})((({ownerState:e})=>(0,d.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},vd(e)))),xd=(0,S.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,w.Z)(n.size)}`]]}})((({ownerState:e})=>(0,d.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},vd(e)))),wd=r.forwardRef((function(e,t){const n=r.useContext(md),o=(0,pd.Z)(n,e),a=(0,k.Z)({props:o,name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:h,disabled:m=!1,disableElevation:g=!1,disableFocusRipple:v=!1,endIcon:b,focusVisibleClassName:y,fullWidth:x=!1,size:S="medium",startIcon:C,type:E,variant:_="text"}=a,T=(0,u.Z)(a,gd),A=(0,d.Z)({},a,{color:l,component:c,disabled:m,disableElevation:g,disableFocusRipple:v,fullWidth:x,size:S,type:E,variant:_}),R=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${(0,w.Z)(t)}`,`size${(0,w.Z)(o)}`,`${i}Size${(0,w.Z)(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,w.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,w.Z)(o)}`]},l=(0,f.Z)(s,fd,a);return(0,d.Z)({},a,l)})(A),N=C&&(0,i.jsx)(yd,{className:R.startIcon,ownerState:A,children:C}),Z=b&&(0,i.jsx)(xd,{className:R.endIcon,ownerState:A,children:b});return(0,i.jsxs)(bd,(0,d.Z)({ownerState:A,className:(0,p.Z)(n.className,R.root,h),component:c,disabled:m,focusRipple:!v,focusVisibleClassName:(0,p.Z)(R.focusVisible,y),ref:t,type:E},T,{classes:R,children:[N,s,Z]}))}));function kd(e){return(0,E.Z)("MuiTypography",e)}(0,C.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Sd=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Cd=(0,S.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${(0,w.Z)(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>(0,d.Z)({margin:0},t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),Ed={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},_d={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Td=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiTypography"}),r=(e=>_d[e]||e)(n.color),o=G((0,d.Z)({},n,{color:r})),{align:a="inherit",className:s,component:l,gutterBottom:c=!1,noWrap:h=!1,paragraph:m=!1,variant:g="body1",variantMapping:v=Ed}=o,b=(0,u.Z)(o,Sd),y=(0,d.Z)({},o,{align:a,color:r,className:s,component:l,gutterBottom:c,noWrap:h,paragraph:m,variant:g,variantMapping:v}),x=l||(m?"p":v[g]||Ed[g])||"span",S=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,"inherit"!==e.align&&`align${(0,w.Z)(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,f.Z)(s,kd,a)})(y);return(0,i.jsx)(Cd,(0,d.Z)({as:x,ref:t,ownerState:y,className:(0,p.Z)(S.root,s)},b))}));function Ad(e){return(0,E.Z)("MuiDialogTitle",e)}const Rd=(0,C.Z)("MuiDialogTitle",["root"]),Nd=["className","id"],Zd=(0,S.ZP)(Td,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),Pd=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiDialogTitle"}),{className:o,id:a}=n,s=(0,u.Z)(n,Nd),l=n,c=(e=>{const{classes:t}=e;return(0,f.Z)({root:["root"]},Ad,t)})(l),{titleId:h=a}=r.useContext(Qc);return(0,i.jsx)(Zd,(0,d.Z)({component:"h2",className:(0,p.Z)(c.root,o),ownerState:l,ref:t,variant:"h6",id:null!=a?a:h},s))}));function jd(e){return(0,E.Z)("MuiDialogContent",e)}(0,C.Z)("MuiDialogContent",["root","dividers"]);const Id=["className","dividers"],Od=(0,S.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})((({theme:e,ownerState:t})=>(0,d.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${Rd.root} + &`]:{paddingTop:0}}))),Ld=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiDialogContent"}),{className:r,dividers:o=!1}=n,a=(0,u.Z)(n,Id),s=(0,d.Z)({},n,{dividers:o}),l=(e=>{const{classes:t,dividers:n}=e,r={root:["root",n&&"dividers"]};return(0,f.Z)(r,jd,t)})(s);return(0,i.jsx)(Od,(0,d.Z)({className:(0,p.Z)(l.root,r),ownerState:s,ref:t},a))}));function Md(e){return(0,E.Z)("MuiDialogContentText",e)}(0,C.Z)("MuiDialogContentText",["root"]);const Dd=["children","className"],Fd=(0,S.ZP)(Td,{shouldForwardProp:e=>(0,S.FO)(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zd=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiDialogContentText"}),{className:r}=n,o=(0,u.Z)(n,Dd),a=(e=>{const{classes:t}=e,n=(0,f.Z)({root:["root"]},Md,t);return(0,d.Z)({},t,n)})(o);return(0,i.jsx)(Fd,(0,d.Z)({component:"p",variant:"body1",color:"text.secondary",ref:t,ownerState:o,className:(0,p.Z)(a.root,r)},n,{classes:a}))}));function Bd(e){return(0,E.Z)("MuiDialogActions",e)}(0,C.Z)("MuiDialogActions",["root","spacing"]);const qd=["className","disableSpacing"],$d=(0,S.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>(0,d.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),Ud=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiDialogActions"}),{className:r,disableSpacing:o=!1}=n,a=(0,u.Z)(n,qd),s=(0,d.Z)({},n,{disableSpacing:o}),l=(e=>{const{classes:t,disableSpacing:n}=e,r={root:["root",!n&&"spacing"]};return(0,f.Z)(r,Bd,t)})(s);return(0,i.jsx)($d,(0,d.Z)({className:(0,p.Z)(l.root,r),ownerState:s,ref:t},a))})),Hd={dash_outer_box:"stex-react-renderer_dash_outer_box__uEa2E",dash_inner_box:"stex-react-renderer_dash_inner_box__CPxd9",dash_scroll_area_box:"stex-react-renderer_dash_scroll_area_box__aPJp0",dashboard_item:"stex-react-renderer_dashboard_item__IX0FV",level0_dashboard_item:"stex-react-renderer_level0_dashboard_item__f6-Fo","indicator-container":"stex-react-renderer_indicator-container__I6t09",border:"stex-react-renderer_border__cyjOc","tri-right":"stex-react-renderer_tri-right__Mb9nU","btm-left-in":"stex-react-renderer_btm-left-in__i2l9V"},Vd=(0,r.createContext)({renderOptions:{allowFolding:!1,noFrills:!1},setRenderOptions:e=>{}});function Wd({dim:e,val:t}){const n=120*t;return(0,i.jsx)(Fl,{title:`${e}: ${(100*t).toFixed(1)}%`,children:(0,i.jsx)(ad,{sx:{backgroundColor:`hsl(${n}, 100%, 90%)`,"& .MuiLinearProgress-bar":{backgroundColor:`hsl(${n}, 100%, 50%)`}},variant:"determinate",value:Math.round(100*t)})})}const Gd=({contentUrl:e})=>{const[t,n]=(0,r.useState)(null),[o,a]=(0,r.useState)(!1),[s,l]=(0,r.useState)(null),{archive:c,filepath:u}=ir(e),{mmtUrl:d}=(0,r.useContext)(dw),{renderOptions:p}=(0,r.useContext)(Vd),[f,h]=(0,r.useState)([]),m=au((0,ki.useRouter)());(0,r.useEffect)((()=>{Rr()&&async function(e,t,n){return(await Vt.get(`${e}/:sTeX/definienda?archive=${t}&filepath=${n}`)).data}(d,c,u).then(l)}),[c,u,d]),(0,r.useEffect)((()=>{if(!s)return;const e=[...new Set(s.flatMap((e=>e.symbols)))];h(e),Or(e).then((e=>n(e)))}),[s]);const g=null!=t&&t.length?t.reduce(((e,t)=>{var n;return e+(null!=(n=t.Remember)?n:0)}),0)/t.length:0,v=null!=t&&t.length?t.reduce(((e,t)=>{var n;return e+(null!=(n=t.Understand)?n:0)}),0)/t.length:0;return null==s||!s.length||p.noFrills?null:(0,i.jsxs)(ne,{className:`${Hd["indicator-container"]} ${Hd["tri-right"]} ${Hd.border} ${Hd["btm-left-in"]}`,children:[t&&(0,i.jsxs)(ne,{display:"flex",justifyContent:"space-around",borderRadius:"3px",marginBottom:"5px",gap:"15px",alignItems:"center",p:"5px",children:[(0,i.jsxs)(ne,{flexGrow:1,maxWidth:"10vw",children:[(0,i.jsx)(Ky,{dim:Tr.Remember,white:!1,showTitle:!0}),(0,i.jsx)(Wd,{dim:Tr.Remember,val:g})]}),(0,i.jsxs)(ne,{flexGrow:1,maxWidth:"10vw",children:[(0,i.jsx)(Ky,{dim:Tr.Understand,white:!1,showTitle:!0}),(0,i.jsx)(Wd,{dim:Tr.Understand,val:v})]}),(0,i.jsx)(wd,{sx:{flexGrow:0},variant:"contained",style:{height:"40px"},onClick:()=>a(!0),children:m.details})]}),(0,i.jsxs)(ru,{open:o,onClose:()=>a(!1),fullWidth:!0,maxWidth:"lg",children:[(0,i.jsx)(Pd,{children:(0,i.jsx)("b",{children:m.details})}),(0,i.jsx)(Ld,{children:t?(0,i.jsx)(zd,{children:(0,i.jsx)(nx,{URIs:f,competencyData:t,dimensions:[Tr.Remember,Tr.Understand],onValueUpdate:function(){null!=f&&f.length&&Or(f).then((e=>n(e)))}})}):null}),(0,i.jsx)(Ud,{style:{justifyContent:"center"},children:(0,i.jsx)(wd,{onClick:()=>a(!1),color:"primary",variant:"contained",children:m.close})})]})]})};var Kd=n(4506),Xd=n(985),Qd=n(7249),Yd=n(9526);function Jd(e){return e.substring(2).toLowerCase()}const ep=function(e){const{children:t,disableReactTree:n=!1,mouseEvent:o="onClick",onClickAway:a,touchEvent:s="onTouchEnd"}=e,l=r.useRef(!1),c=r.useRef(null),u=r.useRef(!1),d=r.useRef(!1);r.useEffect((()=>(setTimeout((()=>{u.current=!0}),0),()=>{u.current=!1})),[]);const p=(0,Fa.Z)(t.ref,c),f=(0,xc.Z)((e=>{const t=d.current;d.current=!1;const r=(0,Ba.Z)(c.current);if(!u.current||!c.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth-1:!r.documentElement.contains(e.target)||c.current.contains(e.target),o||!n&&t||a(e)})),h=e=>n=>{d.current=!0;const r=t.props[e];r&&r(n)},m={ref:p};return!1!==s&&(m[s]=h(s)),r.useEffect((()=>{if(!1!==s){const e=Jd(s),t=(0,Ba.Z)(c.current),n=()=>{l.current=!0};return t.addEventListener(e,f),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,f),t.removeEventListener("touchmove",n)}}}),[f,s]),!1!==o&&(m[o]=h(o)),r.useEffect((()=>{if(!1!==o){const e=Jd(o),t=(0,Ba.Z)(c.current);return t.addEventListener(e,f),()=>{t.removeEventListener(e,f)}}}),[f,o]),(0,i.jsx)(r.Fragment,{children:r.cloneElement(t,m)})};function tp(e){return(0,E.Z)("MuiSnackbarContent",e)}(0,C.Z)("MuiSnackbarContent",["root","message","action"]);const np=["action","className","message","role"],rp=(0,S.ZP)(Ni,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t="light"===e.palette.mode?.8:.98,n=(0,Ei._4)(e.palette.background.default,t);return(0,d.Z)({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})})),op=(0,S.ZP)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),ip=(0,S.ZP)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),ap=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiSnackbarContent"}),{action:r,className:o,message:a,role:s="alert"}=n,l=(0,u.Z)(n,np),c=n,h=(e=>{const{classes:t}=e;return(0,f.Z)({root:["root"],action:["action"],message:["message"]},tp,t)})(c);return(0,i.jsxs)(rp,(0,d.Z)({role:s,square:!0,elevation:6,className:(0,p.Z)(h.root,o),ownerState:c,ref:t},l,{children:[(0,i.jsx)(op,{className:h.message,ownerState:c,children:a}),r?(0,i.jsx)(ip,{className:h.action,ownerState:c,children:r}):null]}))}));function sp(e){return(0,E.Z)("MuiSnackbar",e)}(0,C.Z)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const lp=["onEnter","onExited"],cp=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],up=(0,S.ZP)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${(0,w.Z)(n.anchorOrigin.vertical)}${(0,w.Z)(n.anchorOrigin.horizontal)}`]]}})((({theme:e,ownerState:t})=>(0,d.Z)({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===t.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===t.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===t.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:(0,d.Z)({},"top"===t.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===t.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===t.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===t.anchorOrigin.horizontal&&{right:24,left:"auto"})}))),dp=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiSnackbar"}),o=ga(),a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{action:s,anchorOrigin:{vertical:l,horizontal:c}={vertical:"bottom",horizontal:"left"},autoHideDuration:p=null,children:h,className:m,ClickAwayListenerProps:g,ContentProps:v,disableWindowBlurListener:b=!1,message:y,open:x,TransitionComponent:S=Da,transitionDuration:C=a,TransitionProps:{onEnter:E,onExited:_}={}}=n,T=(0,u.Z)(n.TransitionProps,lp),A=(0,u.Z)(n,cp),R=(0,d.Z)({},n,{anchorOrigin:{vertical:l,horizontal:c},autoHideDuration:p,disableWindowBlurListener:b,TransitionComponent:S,transitionDuration:C}),N=(e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${(0,w.Z)(n.vertical)}${(0,w.Z)(n.horizontal)}`]};return(0,f.Z)(r,sp,t)})(R),{getRootProps:Z,onClickAway:P}=function(e){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:o,open:i,resumeHideDuration:a}=e,s=r.useRef();r.useEffect((()=>{if(i)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"!==e.key&&"Esc"!==e.key||null==o||o(e,"escapeKeyDown")}}),[i,o]);const l=(0,xc.Z)(((e,t)=>{null==o||o(e,t)})),c=(0,xc.Z)((e=>{o&&null!=e&&(clearTimeout(s.current),s.current=setTimeout((()=>{l(null,"timeout")}),e))}));r.useEffect((()=>(i&&c(t),()=>{clearTimeout(s.current)})),[i,t,c]);const u=()=>{clearTimeout(s.current)},p=r.useCallback((()=>{null!=t&&c(null!=a?a:.5*t)}),[t,a,c]),f=e=>t=>{const n=e.onBlur;null==n||n(t),p()},h=e=>t=>{const n=e.onFocus;null==n||n(t),u()},m=e=>t=>{const n=e.onMouseEnter;null==n||n(t),u()},g=e=>t=>{const n=e.onMouseLeave;null==n||n(t),p()};return r.useEffect((()=>{if(!n&&i)return window.addEventListener("focus",p),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",p),window.removeEventListener("blur",u)}}),[n,p,i]),{getRootProps:(t={})=>{const n=il(e),r=(0,d.Z)({},n,t);return(0,d.Z)({role:"presentation"},r,{onBlur:f(r),onFocus:h(r),onMouseEnter:m(r),onMouseLeave:g(r)})},onClickAway:e=>{null==o||o(e,"clickaway")}}}((0,d.Z)({},R)),[j,I]=r.useState(!0),O=cl({elementType:up,getSlotProps:Z,externalForwardedProps:A,ownerState:R,additionalProps:{ref:t},className:[N.root,m]});return!x&&j?null:(0,i.jsx)(ep,(0,d.Z)({onClickAway:P},g,{children:(0,i.jsx)(up,(0,d.Z)({},O,{children:(0,i.jsx)(S,(0,d.Z)({appear:!0,in:x,timeout:C,direction:"top"===l?"down":"up",onEnter:(e,t)=>{I(!1),E&&E(e,t)},onExited:e=>{I(!0),_&&_(e)}},T,{children:h||(0,i.jsx)(ap,(0,d.Z)({message:y,action:s},v))}))}))}))}));n(1649);var pp=n(6425);const fp=r.createContext({});function hp(e){return(0,E.Z)("MuiList",e)}(0,C.Z)("MuiList",["root","padding","dense","subheader"]);const mp=["children","className","component","dense","disablePadding","subheader"],gp=(0,S.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>(0,d.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),vp=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiList"}),{children:o,className:a,component:s="ul",dense:l=!1,disablePadding:c=!1,subheader:h}=n,m=(0,u.Z)(n,mp),g=r.useMemo((()=>({dense:l})),[l]),v=(0,d.Z)({},n,{component:s,dense:l,disablePadding:c}),b=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e,i={root:["root",!n&&"padding",r&&"dense",o&&"subheader"]};return(0,f.Z)(i,hp,t)})(v);return(0,i.jsx)(fp.Provider,{value:g,children:(0,i.jsxs)(gp,(0,d.Z)({as:s,className:(0,p.Z)(b.root,a),ref:t,ownerState:v},m,{children:[h,o]}))})})),bp=vp,yp=Sc;var xp=n(5691);const wp=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function kp(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Sp(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Cp(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Ep(e,t,n,r,o,i){let a=!1,s=o(e,t,!!t&&n);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Cp(s,i)&&!t)return s.focus(),!0;s=o(e,s,n)}return!1}const _p=r.forwardRef((function(e,t){const{actions:n,autoFocus:o=!1,autoFocusItem:a=!1,children:s,className:l,disabledItemsFocusable:c=!1,disableListWrap:p=!1,onKeyDown:f,variant:h="selectedMenu"}=e,m=(0,u.Z)(e,wp),g=r.useRef(null),v=r.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,xp.Z)((()=>{o&&g.current.focus()}),[o]),r.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!g.current.style.width;if(e.clientHeight{r.isValidElement(e)?(e.props.disabled||("selectedMenu"===h&&e.props.selected||-1===y)&&(y=t),y===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(y+=1,y>=s.length&&(y=-1))):y===t&&(y+=1,y>=s.length&&(y=-1))}));const x=r.Children.map(s,((e,t)=>{if(t===y){const t={};return a&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===h&&(t.tabIndex=0),r.cloneElement(e,t)}return e}));return(0,i.jsx)(bp,(0,d.Z)({role:"menu",ref:b,className:l,onKeyDown:e=>{const t=g.current,n=e.key,r=(0,pp.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Ep(t,r,p,c,kp);else if("ArrowUp"===n)e.preventDefault(),Ep(t,r,p,c,Sp);else if("Home"===n)e.preventDefault(),Ep(t,null,p,c,kp);else if("End"===n)e.preventDefault(),Ep(t,null,p,c,Sp);else if(1===n.length){const o=v.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=r&&!o.repeating&&Cp(r,o);o.previousKeyMatched&&(s||Ep(t,r,!1,c,kp,o))?e.preventDefault():o.previousKeyMatched=!1}f&&f(e)},tabIndex:o?0:-1},m,{children:x}))}));var Tp=n(9673),Ap=n(8043);function Rp(e){return(0,E.Z)("MuiPopover",e)}(0,C.Z)("MuiPopover",["root","paper"]);const Np=["onEntering"],Zp=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"],Pp=["slotProps"];function jp(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Ip(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Op(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Lp(e){return"function"==typeof e?e():e}const Mp=(0,S.ZP)(Gc,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Dp=(0,S.ZP)(Ni,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Fp=r.forwardRef((function(e,t){var n,o,a;const s=(0,k.Z)({props:e,name:"MuiPopover"}),{action:l,anchorEl:c,anchorOrigin:h={vertical:"top",horizontal:"left"},anchorPosition:m,anchorReference:g="anchorEl",children:v,className:b,container:y,elevation:x=8,marginThreshold:w=16,open:S,PaperProps:C={},slots:E,slotProps:_,transformOrigin:T={vertical:"top",horizontal:"left"},TransitionComponent:A=Da,transitionDuration:R="auto",TransitionProps:{onEntering:N}={}}=s,Z=(0,u.Z)(s.TransitionProps,Np),P=(0,u.Z)(s,Zp),j=null!=(n=null==_?void 0:_.paper)?n:C,I=r.useRef(),O=(0,Pa.Z)(I,j.ref),L=(0,d.Z)({},s,{anchorOrigin:h,anchorReference:g,elevation:x,marginThreshold:w,externalPaperSlotProps:j,transformOrigin:T,TransitionComponent:A,transitionDuration:R,TransitionProps:Z}),M=(e=>{const{classes:t}=e;return(0,f.Z)({root:["root"],paper:["paper"]},Rp,t)})(L),D=r.useCallback((()=>{if("anchorPosition"===g)return m;const e=Lp(c),t=(e&&1===e.nodeType?e:(0,pp.Z)(I.current).body).getBoundingClientRect();return{top:t.top+jp(t,h.vertical),left:t.left+Ip(t,h.horizontal)}}),[c,h.horizontal,h.vertical,m,g]),F=r.useCallback((e=>({vertical:jp(e,T.vertical),horizontal:Ip(e,T.horizontal)})),[T.horizontal,T.vertical]),z=r.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=F(t);if("none"===g)return{top:null,left:null,transformOrigin:Op(n)};const r=D();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,s=i+t.width,l=(0,Ap.Z)(Lp(c)),u=l.innerHeight-w,d=l.innerWidth-w;if(ou){const e=a-u;o-=e,n.vertical+=e}if(id){const e=s-d;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Op(n)}}),[c,g,D,F,w]),[B,q]=r.useState(S),$=r.useCallback((()=>{const e=I.current;if(!e)return;const t=z(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,q(!0)}),[z]);r.useEffect((()=>{S&&$()})),r.useImperativeHandle(l,(()=>S?{updatePosition:()=>{$()}}:null),[S,$]),r.useEffect((()=>{if(!S)return;const e=(0,Tp.Z)((()=>{$()})),t=(0,Ap.Z)(c);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[c,S,$]);let U=R;"auto"!==R||A.muiSupportAuto||(U=void 0);const H=y||(c?(0,pp.Z)(Lp(c)).body:void 0),V=null!=(o=null==E?void 0:E.root)?o:Mp,W=null!=(a=null==E?void 0:E.paper)?a:Dp,G=cl({elementType:W,externalSlotProps:(0,d.Z)({},j,{style:B?j.style:(0,d.Z)({},j.style,{opacity:0})}),additionalProps:{elevation:x,ref:O},ownerState:L,className:(0,p.Z)(M.paper,null==j?void 0:j.className)}),K=cl({elementType:V,externalSlotProps:(null==_?void 0:_.root)||{},externalForwardedProps:P,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:H,open:S},ownerState:L,className:(0,p.Z)(M.root,b)}),{slotProps:X}=K,Q=(0,u.Z)(K,Pp);return(0,i.jsx)(V,(0,d.Z)({},Q,!fa(V)&&{slotProps:X},{children:(0,i.jsx)(A,(0,d.Z)({appear:!0,in:S,onEntering:(e,t)=>{N&&N(e,t),$()},onExited:()=>{q(!1)},timeout:U},Z,{children:(0,i.jsx)(W,(0,d.Z)({},G,{children:v}))}))}))})),zp=Fp;function Bp(e){return(0,E.Z)("MuiMenu",e)}(0,C.Z)("MuiMenu",["root","paper","list"]);const qp=["onEntering"],$p=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],Up={vertical:"top",horizontal:"right"},Hp={vertical:"top",horizontal:"left"},Vp=(0,S.ZP)(zp,{shouldForwardProp:e=>(0,S.FO)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Wp=(0,S.ZP)(Dp,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Gp=(0,S.ZP)(_p,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Kp=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiMenu"}),{autoFocus:o=!0,children:a,disableAutoFocusItem:s=!1,MenuListProps:l={},onClose:c,open:h,PaperProps:m={},PopoverClasses:g,transitionDuration:v="auto",TransitionProps:{onEntering:b}={},variant:y="selectedMenu"}=n,x=(0,u.Z)(n.TransitionProps,qp),w=(0,u.Z)(n,$p),S=ga(),C="rtl"===S.direction,E=(0,d.Z)({},n,{autoFocus:o,disableAutoFocusItem:s,MenuListProps:l,onEntering:b,PaperProps:m,transitionDuration:v,TransitionProps:x,variant:y}),_=(e=>{const{classes:t}=e;return(0,f.Z)({root:["root"],paper:["paper"],list:["list"]},Bp,t)})(E),T=o&&!s&&h,A=r.useRef(null);let R=-1;return r.Children.map(a,((e,t)=>{r.isValidElement(e)&&(e.props.disabled||("selectedMenu"===y&&e.props.selected||-1===R)&&(R=t))})),(0,i.jsx)(Vp,(0,d.Z)({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?Up:Hp,slots:{paper:Wp},slotProps:{paper:(0,d.Z)({},m,{classes:(0,d.Z)({},m.classes,{root:_.paper})})},className:_.root,open:h,ref:t,transitionDuration:v,TransitionProps:(0,d.Z)({onEntering:(e,t)=>{A.current&&A.current.adjustStyleForScrollbar(e,S),b&&b(e,t)}},x),ownerState:E},w,{classes:g,children:(0,i.jsx)(Gp,(0,d.Z)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))},actions:A,autoFocus:o&&(-1===R||s),autoFocusItem:T,variant:y},l,{className:(0,p.Z)(_.list,l.className),children:a}))}))}));function Xp(e){return(0,E.Z)("MuiDivider",e)}const Qp=(0,C.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const Yp=(0,C.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);function Jp(e){return(0,E.Z)("MuiListItemText",e)}const ef=(0,C.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function tf(e){return(0,E.Z)("MuiMenuItem",e)}const nf=(0,C.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),rf=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],of=(0,S.ZP)(fc,{shouldForwardProp:e=>(0,S.FO)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,d.Z)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${nf.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Ei.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${nf.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Ei.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${nf.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Ei.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Ei.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${nf.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${nf.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Qp.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Qp.inset}`]:{marginLeft:52},[`& .${ef.root}`]:{marginTop:0,marginBottom:0},[`& .${ef.inset}`]:{paddingLeft:36},[`& .${Yp.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,d.Z)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Yp.root} svg`]:{fontSize:"1.25rem"}})))),af=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiMenuItem"}),{autoFocus:o=!1,component:a="li",dense:s=!1,divider:l=!1,disableGutters:c=!1,focusVisibleClassName:h,role:m="menuitem",tabIndex:g,className:v}=n,b=(0,u.Z)(n,rf),y=r.useContext(fp),x=r.useMemo((()=>({dense:s||y.dense||!1,disableGutters:c})),[y.dense,s,c]),w=r.useRef(null);(0,xp.Z)((()=>{o&&w.current&&w.current.focus()}),[o]);const S=(0,d.Z)({},n,{dense:x.dense,divider:l,disableGutters:c}),C=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e,s={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},l=(0,f.Z)(s,tf,a);return(0,d.Z)({},a,l)})(n),E=(0,Pa.Z)(w,t);let _;return n.disabled||(_=void 0!==g?g:-1),(0,i.jsx)(fp.Provider,{value:x,children:(0,i.jsx)(of,(0,d.Z)({ref:E,role:m,tabIndex:_,component:a,focusVisibleClassName:(0,p.Z)(C.focusVisible,h),className:(0,p.Z)(C.root,v)},b,{ownerState:S,classes:C}))})})),sf=af;function lf({sectionLink:e,contentUrl:t}){const n=au((0,ki.useRouter)()),[o,a]=(0,r.useState)(null),s=Boolean(o),l=()=>{a(null)},{renderOptions:{noFrills:c}}=(0,r.useContext)(Vd),[u,d]=(0,r.useState)(!1),p=ir(t).source;return c?null:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(bc,{size:"small",onClick:e=>{e.stopPropagation(),a(e.currentTarget)},sx:{zIndex:"1",color:"#0004",border:"1px solid transparent","&:hover":{backgroundColor:"#FFF",color:"black",border:"1px solid #CCC",boxShadow:"#0005 0px 8px 15px"}},children:(0,i.jsx)(Xd.Z,{})}),(0,i.jsx)(dp,{open:u,autoHideDuration:4e3,onClose:()=>d(!1),message:n.linkCopied}),(0,i.jsxs)(Kp,{id:"comment-menu",anchorEl:o,open:s,onClose:l,MenuListProps:{"aria-labelledby":"basic-button"},children:[e&&(0,i.jsxs)(sf,{onClick:t=>{t.stopPropagation(),navigator.clipboard.writeText(e),d(!0),l()},children:[(0,i.jsx)(Kd.Z,{}),"\xa0",n.copySectionLink]}),(0,i.jsx)(sf,{onClick:e=>{e.stopPropagation(),l()},sx:{p:"0"},children:(0,i.jsxs)("a",{href:p,target:"_blank",rel:"noreferrer",style:{display:"flex",padding:"6px 16px",width:"100%"},children:[(0,i.jsx)(Qd.Z,{}),"\xa0",n.viewSource,"\xa0",(0,i.jsx)(Yd.Z,{sx:{fontSize:"14px"},fontSize:"small"})]})})]})]})}var cf=n(8893),uf=n(1500),df=n(5738),pf=n(3286);const ff=["onChange","maxRows","minRows","style","value"];function hf(e){return parseInt(e,10)||0}const mf={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function gf(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const vf=r.forwardRef((function(e,t){const{onChange:n,maxRows:o,minRows:a=1,style:s,value:l}=e,c=(0,u.Z)(e,ff),{current:p}=r.useRef(null!=l),f=r.useRef(null),h=(0,Fa.Z)(t,f),m=r.useRef(null),g=r.useRef(0),[v,b]=r.useState({outerHeightStyle:0}),y=r.useCallback((()=>{const t=f.current,n=(0,kc.Z)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};const r=m.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const i=n.boxSizing,s=hf(n.paddingBottom)+hf(n.paddingTop),l=hf(n.borderBottomWidth)+hf(n.borderTopWidth),c=r.scrollHeight;r.value="x";const u=r.scrollHeight;let d=c;a&&(d=Math.max(Number(a)*u,d)),o&&(d=Math.min(Number(o)*u,d)),d=Math.max(d,u);return{outerHeightStyle:d+("border-box"===i?s+l:0),overflow:Math.abs(d-c)<=1}}),[o,a,e.placeholder]),x=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return g.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(g.current+=1,{overflow:r,outerHeightStyle:n}):e},w=r.useCallback((()=>{const e=y();gf(e)||b((t=>x(t,e)))}),[y]);r.useEffect((()=>{const e=(0,pf.Z)((()=>{g.current=0,f.current&&(()=>{const e=y();gf(e)||ya.flushSync((()=>{b((t=>x(t,e)))}))})()}));let t;const n=f.current,r=(0,kc.Z)(n);return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),t.observe(n)),()=>{e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}})),(0,za.Z)((()=>{w()})),r.useEffect((()=>{g.current=0}),[l]);return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)("textarea",(0,d.Z)({value:l,onChange:e=>{g.current=0,p||w(),n&&n(e)},ref:h,rows:a,style:(0,d.Z)({height:v.outerHeightStyle,overflow:v.overflow?"hidden":void 0},s)},c)),(0,i.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:m,tabIndex:-1,style:(0,d.Z)({},mf,s,{paddingTop:0,paddingBottom:0})})]})})),bf={showPreview:"VORSCHAU ZEIGEN",hidePreview:"VORSCHAU AUSBLENDEN"},yf={showPreview:"SHOW PREVIEW",hidePreview:"HIDE PREVIEW"};const xf={grey_border:"markdown_grey_border__5oslE",textarea:"markdown_textarea__9+Grc",edit_preview:"markdown_edit_preview__R5cMW",md_parent:"markdown_md_parent__f+-CM","modest-no-decoration":"markdown_modest-no-decoration__s2+a9","modest-p":"markdown_modest-p__wIS3Z","modest-h1":"markdown_modest-h1__P6SjD","modest-h2":"markdown_modest-h2__ji2qc","modest-h3":"markdown_modest-h3__1vTiI","modest-h4":"markdown_modest-h4__MqnaF","modest-h5":"markdown_modest-h5__akz2B","modest-h6":"markdown_modest-h6__BKupc","modest-small":"markdown_modest-small__n18-B"};function wf(e,t){return{fontWeight:"bold",color:e,display:t?"block":void 0}}function kf({displayMode:e=!1,latex:t,equationInput:n}){const o=(0,r.useContext)(a),[{renderedHtml:s,error:l},c]=(0,r.useState)({});return(0,r.useEffect)((()=>{o&&async function(e,t,n){if(!e)return{error:"MathJax missing"};const r=await e.promise;await r.startup.promise;try{return r?{renderedHtml:r.tex2chtml(t,{em:12,ex:6,display:n}).outerHTML}:{error:"MathJax missing"}}catch(o){return console.log(o.message),console.log(r),{error:"!"+t+"!"}}}(o,t,e).then((async e=>{c(e);const t=await o.promise;t.startup.document.clear(),t.startup.document.updateDocument()}))}),[t,e]),e?n?(0,i.jsxs)("section",{className:"eqno",children:[s&&(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:s}}),l&&(0,i.jsx)("span",{style:wf("salmon"),children:l}),(0,i.jsxs)("span",{children:["(",n,")"]})]}):(0,i.jsxs)(i.Fragment,{children:[s&&(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:s}}),l&&(0,i.jsx)("span",{style:wf("red"),children:l})]}):(0,i.jsxs)(i.Fragment,{children:[s&&(0,i.jsx)("div",{style:{display:"inline-block"},dangerouslySetInnerHTML:{__html:s}}),l&&(0,i.jsx)("span",{style:wf("blue",!0),children:l})]})}function Sf(e){return e||""}function Cf(e){return e.attributes.href}function Ef(e){return!(1===e.children.length&&"image"===e.children[0].type)}function _f({nodes:e}){return e?(0,i.jsx)(i.Fragment,{children:e.map((e=>function(e){switch(e.type){case"em":return(0,i.jsx)("em",{children:Tf(e)},e.key);case"inline":return(0,i.jsx)("span",{style:{display:"inline"},children:Tf(e)},e.key);case"html_inline":case"paragraph":return(0,i.jsx)("span",{children:Tf(e)},e.key);case"strong":return(0,i.jsx)("strong",{children:Tf(e)},e.key);case"softbreak":return(0,i.jsx)("span",{children:"\xa0"},e.key);case"delete":return(0,i.jsx)("del",{children:Tf(e)},e.key);case"code_inline":return(0,i.jsx)("code",{children:Sf(e.content)},e.key);case"sub":return(0,i.jsx)("sub",{children:Tf(e)},e.key);case"sup":return(0,i.jsx)("sup",{children:Tf(e)},e.key);case"s":return(0,i.jsx)("s",{children:Tf(e)},e.key);case"text":return(0,i.jsx)("span",{children:Sf(e.content)},e.key);case"hardbreak":return(0,i.jsx)("br",{});case"link":return(0,i.jsxs)("a",{href:Cf(e),target:"_blank",rel:"noreferrer",children:[(0,i.jsx)("span",{style:{marginRight:"3px"},children:Tf(e)}),Ef(e)&&(0,i.jsx)(Yd.Z,{sx:{verticalAlign:"text-bottom"},fontSize:"inherit"})]},e.key);case"image":return(0,i.jsx)("img",{src:e.attributes.src,title:Sf(e.attributes.title),alt:Sf(e.attributes.alt)},e.key);case"math_inline":return(0,i.jsx)(kf,{latex:e.content,displayMode:!1},e.key);case"math_block":return(0,i.jsx)(kf,{latex:e.content,displayMode:!0},e.key);case"math_block_eqno":return(0,i.jsx)(kf,{latex:e.content,equationInput:e.sourceInfo,displayMode:!0},e.key);case"table":return Rf(e);default:return(0,i.jsxs)("b",{children:["unhandled-inline [",e.type,"]"]})}}(e)))}):null}function Tf(e){return(0,i.jsx)(_f,{nodes:e.children})}function Af(e){return(0,i.jsx)(Nf,{nodes:e.children})}function Rf(e){return(0,i.jsxs)("table",{children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:e.children[0].children[0].children.map((e=>(0,i.jsx)("th",{children:Tf(e)},e.key)))})}),(0,i.jsx)("tbody",{children:e.children[1].children.map((e=>(0,i.jsx)("tr",{children:e.children.map((e=>(0,i.jsx)("td",{children:Tf(e)},e.key)))},e.key)))})]},e.key)}function Nf({nodes:e}){return e?(0,i.jsx)(i.Fragment,{children:e.map((e=>function(e){switch(e.type){case"heading1":return(0,i.jsx)("h1",{children:Tf(e)},e.key);case"heading2":return(0,i.jsx)("h2",{children:Tf(e)},e.key);case"heading3":return(0,i.jsx)("h3",{children:Tf(e)},e.key);case"heading4":return(0,i.jsx)("h4",{children:Tf(e)},e.key);case"heading5":return(0,i.jsx)("h5",{children:Tf(e)},e.key);case"heading6":return(0,i.jsx)("h6",{children:Tf(e)},e.key);case"paragraph":return(0,i.jsx)("p",{children:Tf(e)},e.key);case"inline_paragraph":return(0,i.jsx)("span",{children:Tf(e)},e.key);case"bullet_list":return(0,i.jsx)("ul",{children:e.children.map((e=>(0,i.jsx)("li",{children:Af(e)},e.key)))},e.key);case"ordered_list":return(0,i.jsx)("ol",{children:e.children.map((e=>(0,i.jsx)("li",{children:Af(e)},e.key)))},e.key);case"code_block":case"fence":return(0,i.jsx)("pre",{children:(0,i.jsx)("code",{children:e.content})},e.key);case"hr":return(0,i.jsx)("hr",{});case"blockquote":return(0,i.jsx)("blockquote",{children:Af(e)},e.key);case"leftAligned":return(0,i.jsx)("span",{style:{textAlign:"left"},children:Af(e)},e.key);case"centerAligned":return(0,i.jsx)("span",{style:{textAlign:"center"},children:Af(e)},e.key);case"rightAligned":return(0,i.jsx)("span",{style:{textAlign:"right"},children:Af(e)},e.key);case"table":return Rf(e);default:return`unhandled-block [${e.type}]`}}(e)))}):null}var Zf=n(3054),Pf=n.n(Zf);const jf=/_open|_close/g;let If=(new Date).getTime();function Of(e,t){const n=function(e){let t="unknown";e.type&&(t=e.type.replace(jf,"")),"heading"===t&&(t=`${t}${e.tag.substr(1)}`);return t}(e);let r={};return e.attrs&&(r=e.attrs.reduce(((e,t)=>{const[n,r]=t;return Object.assign({},e,{[n]:r})}),{})),{type:n,sourceType:e.type,sourceInfo:e.info,sourceMeta:e.meta,block:e.block,markup:e.markup,key:(If++,`mdnode_${If.toString(16)}`),content:e.content,tokenIndex:t,index:0,attributes:r,children:Lf(e.children)}}function Lf(e){const t=[];let n=[];if(!e||0===e.length)return[];for(let r=0;rfunction(t,n){const r=t.pos,o=t.src,i=o.startsWith(e.tag,e.rex.lastIndex=r)&&(!e.pre||e.pre(o,r))&&e.rex.exec(o),a=i&&e.rex.lastIndex-1;if(i&&(!e.post||e.post(o,a))){if(!n){const n=t.push(e.name,"math",0);n.content=i[1].replace(/([^\\])\\\n/g,"$1\n"),n.markup=e.tag,"math_block_eqno"===e.name&&(n.info=i[i.length-1])}t.pos=e.rex.lastIndex}return e.rex.lastIndex=0,i},Mf.$_pre=(e,t)=>{const n=t>0&&e[t-1].charCodeAt(0);return!n||92!==n&&(n<48||n>57)},Mf.$_post=(e,t)=>{const n=e[t+1]&&e[t+1].charCodeAt(0);return!n||n<48||n>57},Mf.rules={inline:[{name:"math_block_eqno",rex:/^\s*\$\$([^$]+?)\$\$\s*?\(([^)\s]+?)\)$/gmy,tag:"$$"},{name:"math_block",rex:/\$\$(\S|\S[^]*?[^\s\\])\$\$/gy,tag:"$$",pre:Mf.$_pre,post:Mf.$_post},{name:"math_inline",rex:/\$(\S|\S[^]*?[^\s\\])\$/gy,tag:"$",pre:Mf.$_pre,post:Mf.$_post}]};const Df=new(Pf())({html:!0,linkify:!0,typographer:!0}).use(Mf);function Ff({content:e}){const[t,n]=(0,r.useState)([]),[,o]=(0,r.useReducer)((e=>e+1),0);return(0,r.useEffect)((()=>{const t=(r=e,Lf(Df.parse(r,void 0)));var r;n(t),o()}),[e]),(0,i.jsx)("div",{style:{display:"inherit"},className:xf.md_parent,children:(0,i.jsx)(Nf,{nodes:t})})}const zf=/[#$()_+[\]{}|~*<>=]/;function Bf({name:e,minRows:t=2,placeholder:n="",editingEnabled:o=!0,value:a,onValueChange:s}){const l=(c=(0,ki.useRouter)(),"de"===(null!=(u=null==c?void 0:c.locale)?u:null==Yn?void 0:Yn.LANGUAGE)?bf:yf);var c,u;const[d,p]=(0,r.useState)(!1),[f,h]=(0,r.useState)(void 0);const m=f||void 0===f&&d;return(0,i.jsxs)(i.Fragment,{children:[o&&(0,i.jsx)("div",{children:(0,i.jsx)(vf,{minRows:t,placeholder:n,name:e,className:xf.textarea,value:a,onChange:e=>{const t=e.target.value;var n;n=t,d||p(zf.test(n)),s(t)}})}),d&&(0,i.jsx)("span",{onClick:e=>h(!m),style:{cursor:"pointer",userSelect:"none",fontSize:"12px"},children:m?l.hidePreview:l.showPreview}),(m||!o)&&(0,i.jsx)("div",{className:o?xf.edit_preview:"",children:(0,i.jsx)(Ff,{content:a})})]})}function qf(e){const t=new Map;for(const o of e)t.set(o.commentId,structuredClone(o));const n=new Map;n.set(0,[]),t.forEach(((e,t)=>{var r;const o=e.parentCommentId||0;n.has(o)||n.set(o,[]),null==(r=n.get(o))||r.push(t)}));const r=[];return t.forEach((e=>{var t;-1!==(null==(t=n.get(0))?void 0:t.indexOf(e.commentId))&&r.push(e)})),r.sort(((e,t)=>(t.postedTimestampSec||0)-(e.postedTimestampSec||0))),r.forEach((e=>$f(e,n,t))),r}function $f(e,t,n){var r;const o=e.commentId,i=t.get(o)||[];for(const a of i){const r=n.get(a);r?(e.childComments||(e.childComments=[]),e.childComments.push(r),$f(r,t,n)):console.log("Should not happen!")}null==(r=e.childComments)||r.sort(((e,t)=>(e.postedTimestampSec||0)-(t.postedTimestampSec||0)))}function Uf(e){return e?e.map((e=>Uf(e.childComments)+(e.isDeleted?0:1))).reduce(((e,t)=>e+t),0):0}const Hf="DRAFT";function Vf(e,t){const n=[Hf,dr(e)];return t&&n.push(t.toString()),n.join(":")}function Wf(e,t){const n=Vf(e,t);localStorage.removeItem(n)}let Gf;function Kf(){if(Gf)return Gf;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Gf="reverse",e.scrollLeft>0?Gf="default":(e.scrollLeft=1,0===e.scrollLeft&&(Gf="negative")),document.body.removeChild(e),Gf}function Xf(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(Kf()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function Qf(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const Yf=["onChange"],Jf={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var eh=n(9798);const th=(0,eh.Z)((0,i.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),nh=(0,eh.Z)((0,i.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function rh(e){return(0,E.Z)("MuiTabScrollButton",e)}const oh=(0,C.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),ih=["className","slots","slotProps","direction","orientation","disabled"],ah=(0,S.ZP)(fc,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>(0,d.Z)({width:40,flexShrink:0,opacity:.8,[`&.${oh.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}}))),sh=r.forwardRef((function(e,t){var n,r;const o=(0,k.Z)({props:e,name:"MuiTabScrollButton"}),{className:a,slots:s={},slotProps:l={},direction:c}=o,h=(0,u.Z)(o,ih),m="rtl"===ga().direction,g=(0,d.Z)({isRtl:m},o),v=(e=>{const{classes:t,orientation:n,disabled:r}=e,o={root:["root",n,r&&"disabled"]};return(0,f.Z)(o,rh,t)})(g),b=null!=(n=s.StartScrollButtonIcon)?n:th,y=null!=(r=s.EndScrollButtonIcon)?r:nh,x=cl({elementType:b,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g}),w=cl({elementType:y,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g});return(0,i.jsx)(ah,(0,d.Z)({component:"div",className:(0,p.Z)(v.root,a),ref:t,role:null,ownerState:g,tabIndex:null},h,{children:"left"===c?(0,i.jsx)(b,(0,d.Z)({},x)):(0,i.jsx)(y,(0,d.Z)({},w))}))}));function lh(e){return(0,E.Z)("MuiTabs",e)}const ch=(0,C.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),uh=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],dh=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,ph=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,fh=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const t=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!t)return void o.focus();o=n(e,o)}},hh=(0,S.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ch.scrollButtons}`]:t.scrollButtons},{[`& .${ch.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>(0,d.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${ch.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),mh=(0,S.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((({ownerState:e})=>(0,d.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),gh=(0,S.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((({ownerState:e})=>(0,d.Z)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),vh=(0,S.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>(0,d.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),bh=(0,S.ZP)((function(e){const{onChange:t}=e,n=(0,u.Z)(e,Yf),o=r.useRef(),a=r.useRef(null),s=()=>{o.current=a.current.offsetHeight-a.current.clientHeight};return(0,xp.Z)((()=>{const e=(0,Tp.Z)((()=>{const e=o.current;s(),e!==o.current&&t(o.current)})),n=(0,Ap.Z)(a.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),r.useEffect((()=>{s(),t(o.current)}),[t]),(0,i.jsx)("div",(0,d.Z)({style:Jf,ref:a},n))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),yh={};const xh=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiTabs"}),o=ga(),a="rtl"===o.direction,{"aria-label":s,"aria-labelledby":l,action:c,centered:h=!1,children:m,className:g,component:v="div",allowScrollButtonsMobile:b=!1,indicatorColor:y="primary",onChange:x,orientation:w="horizontal",ScrollButtonComponent:S=sh,scrollButtons:C="auto",selectionFollowsFocus:E,slots:_={},slotProps:T={},TabIndicatorProps:A={},TabScrollButtonProps:R={},textColor:N="primary",value:Z,variant:P="standard",visibleScrollbar:j=!1}=n,I=(0,u.Z)(n,uh),O="scrollable"===P,L="vertical"===w,M=L?"scrollTop":"scrollLeft",D=L?"top":"left",F=L?"bottom":"right",z=L?"clientHeight":"clientWidth",B=L?"height":"width",q=(0,d.Z)({},n,{component:v,allowScrollButtonsMobile:b,indicatorColor:y,orientation:w,vertical:L,scrollButtons:C,textColor:N,variant:P,visibleScrollbar:j,fixed:!O,hideScrollbar:O&&!j,scrollableX:O&&!L,scrollableY:O&&L,centered:h&&!O,scrollButtonsHideMobile:!b}),$=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:l}=e,c={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,f.Z)(c,lh,l)})(q),U=cl({elementType:_.StartScrollButtonIcon,externalSlotProps:T.startScrollButtonIcon,ownerState:q}),H=cl({elementType:_.EndScrollButtonIcon,externalSlotProps:T.endScrollButtonIcon,ownerState:q});const[V,W]=r.useState(!1),[G,K]=r.useState(yh),[X,Q]=r.useState({start:!1,end:!1}),[Y,J]=r.useState({overflow:"hidden",scrollbarWidth:0}),ee=new Map,te=r.useRef(null),ne=r.useRef(null),re=()=>{const e=te.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:Xf(e,o.direction),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==Z){const e=ne.current.children;if(e.length>0){const t=e[ee.get(Z)];0,n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},oe=(0,Cl.Z)((()=>{const{tabsMeta:e,tabMeta:t}=re();let n,r=0;if(L)n="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(n=a?"right":"left",t&&e){const o=a?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(a?-1:1)*(t[n]-e[n]+o)}const o={[n]:r,[B]:t?t[B]:0};if(isNaN(G[n])||isNaN(G[B]))K(o);else{const e=Math.abs(G[n]-o[n]),t=Math.abs(G[B]-o[B]);(e>=1||t>=1)&&K(o)}})),ie=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},o=(()=>{})){const{ease:i=Qf,duration:a=300}=r;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},d=r=>{if(c)return void o(new Error("Animation cancelled"));null===s&&(s=r);const u=Math.min(1,(r-s)/a);t[e]=i(u)*(n-l)+l,u>=1?requestAnimationFrame((()=>{o(null)})):requestAnimationFrame(d)};l===n?o(new Error("Element already at target position")):requestAnimationFrame(d)}(M,te.current,e,{duration:o.transitions.duration.standard}):te.current[M]=e},ae=e=>{let t=te.current[M];L?t+=e:(t+=e*(a?-1:1),t*=a&&"reverse"===Kf()?-1:1),ie(t)},se=()=>{const e=te.current[z];let t=0;const n=Array.from(ne.current.children);for(let r=0;re){0===r&&(t=e);break}t+=o[z]}return t},le=()=>{ae(-1*se())},ce=()=>{ae(se())},ue=r.useCallback((e=>{J({overflow:null,scrollbarWidth:e})}),[]),de=(0,Cl.Z)((e=>{const{tabsMeta:t,tabMeta:n}=re();if(n&&t)if(n[D]t[F]){const r=t[M]+(n[F]-t[F]);ie(r,{animation:e})}})),pe=(0,Cl.Z)((()=>{if(O&&!1!==C){const{scrollTop:e,scrollHeight:t,clientHeight:n,scrollWidth:r,clientWidth:i}=te.current;let s,l;if(L)s=e>1,l=e1,l=a?e>1:e{const e=(0,Tp.Z)((()=>{te.current&&(oe(),pe())})),t=(0,Ap.Z)(te.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),Array.from(ne.current.children).forEach((e=>{n.observe(e)}))),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}}),[oe,pe]);const fe=r.useMemo((()=>(0,Tp.Z)((()=>{pe()}))),[pe]);r.useEffect((()=>()=>{fe.clear()}),[fe]),r.useEffect((()=>{W(!0)}),[]),r.useEffect((()=>{oe(),pe()})),r.useEffect((()=>{de(yh!==G)}),[de,G]),r.useImperativeHandle(c,(()=>({updateIndicator:oe,updateScrollButtons:pe})),[oe,pe]);const he=(0,i.jsx)(vh,(0,d.Z)({},A,{className:(0,p.Z)($.indicator,A.className),ownerState:q,style:(0,d.Z)({},G,A.style)}));let me=0;const ge=r.Children.map(m,(e=>{if(!r.isValidElement(e))return null;const t=void 0===e.props.value?me:e.props.value;ee.set(t,me);const n=t===Z;return me+=1,r.cloneElement(e,(0,d.Z)({fullWidth:"fullWidth"===P,indicator:n&&!V&&he,selected:n,selectionFollowsFocus:E,onChange:x,textColor:N,value:t},1!==me||!1!==Z||e.props.tabIndex?{}:{tabIndex:0}))})),ve=(()=>{const e={};e.scrollbarSizeListener=O?(0,i.jsx)(bh,{onChange:ue,className:(0,p.Z)($.scrollableX,$.hideScrollbar)}):null;const t=X.start||X.end,n=O&&("auto"===C&&t||!0===C);return e.scrollButtonStart=n?(0,i.jsx)(S,(0,d.Z)({slots:{StartScrollButtonIcon:_.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:U},orientation:w,direction:a?"right":"left",onClick:le,disabled:!X.start},R,{className:(0,p.Z)($.scrollButtons,R.className)})):null,e.scrollButtonEnd=n?(0,i.jsx)(S,(0,d.Z)({slots:{EndScrollButtonIcon:_.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:H},orientation:w,direction:a?"left":"right",onClick:ce,disabled:!X.end},R,{className:(0,p.Z)($.scrollButtons,R.className)})):null,e})();return(0,i.jsxs)(hh,(0,d.Z)({className:(0,p.Z)($.root,g),ownerState:q,ref:t,as:v},I,{children:[ve.scrollButtonStart,ve.scrollbarSizeListener,(0,i.jsxs)(mh,{className:$.scroller,ownerState:q,style:{overflow:Y.overflow,[L?"margin"+(a?"Left":"Right"):"marginBottom"]:j?void 0:-Y.scrollbarWidth},ref:te,onScroll:fe,children:[(0,i.jsx)(gh,{"aria-label":s,"aria-labelledby":l,"aria-orientation":"vertical"===w?"vertical":null,className:$.flexContainer,ownerState:q,onKeyDown:e=>{const t=ne.current,n=(0,pp.Z)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===w?"ArrowLeft":"ArrowUp",o="horizontal"===w?"ArrowRight":"ArrowDown";switch("horizontal"===w&&a&&(r="ArrowRight",o="ArrowLeft"),e.key){case r:e.preventDefault(),fh(t,n,ph);break;case o:e.preventDefault(),fh(t,n,dh);break;case"Home":e.preventDefault(),fh(t,null,dh);break;case"End":e.preventDefault(),fh(t,null,ph)}},ref:ne,role:"tablist",children:ge}),V&&he]}),ve.scrollButtonEnd]}))})),wh=xh;function kh(e){return(0,E.Z)("MuiTab",e)}const Sh=(0,C.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Ch=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Eh=(0,S.ZP)(fc,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${(0,w.Z)(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((({theme:e,ownerState:t})=>(0,d.Z)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${Sh.iconWrapper}`]:(0,d.Z)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${Sh.selected}`]:{opacity:1},[`&.${Sh.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${Sh.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${Sh.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${Sh.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${Sh.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)}))),_h=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiTab"}),{className:o,disabled:a=!1,disableFocusRipple:s=!1,fullWidth:l,icon:c,iconPosition:h="top",indicator:m,label:g,onChange:v,onClick:b,onFocus:y,selected:x,selectionFollowsFocus:S,textColor:C="inherit",value:E,wrapped:_=!1}=n,T=(0,u.Z)(n,Ch),A=(0,d.Z)({},n,{disabled:a,disableFocusRipple:s,selected:x,icon:!!c,iconPosition:h,label:!!g,fullWidth:l,textColor:C,wrapped:_}),R=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:s,disabled:l}=e,c={root:["root",i&&a&&"labelIcon",`textColor${(0,w.Z)(n)}`,r&&"fullWidth",o&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return(0,f.Z)(c,kh,t)})(A),N=c&&g&&r.isValidElement(c)?r.cloneElement(c,{className:(0,p.Z)(R.iconWrapper,c.props.className)}):c;return(0,i.jsxs)(Eh,(0,d.Z)({focusRipple:!s,className:(0,p.Z)(R.root,o),ref:t,role:"tab","aria-selected":x,disabled:a,onClick:e=>{!x&&v&&v(e,E),b&&b(e)},onFocus:e=>{S&&!x&&v&&v(e,E),y&&y(e)},ownerState:A,tabIndex:x?0:-1},T,{children:["top"===h||"start"===h?(0,i.jsxs)(r.Fragment,{children:[N,g]}):(0,i.jsxs)(r.Fragment,{children:[g,N]}),m]}))}));var Th=n(9666),Ah=n(1559),Rh=n(5927),Nh=n(2713),Zh=n(2499),Ph=n(9910);class CommentFilters{constructor(e,t=!1,n=!1){this.onResetNeeded=e,this.showHidden=t,this.showSpam=n}onShowHidden(){this.showHidden=!this.showHidden,this.showHidden||(this.showSpam=!1),this.onResetNeeded()}onShowSpam(){this.showSpam=!this.showSpam,this.showSpam&&(this.showHidden=!0),this.onResetNeeded()}filterHidden(e){var t,n;e.childComments=null==(t=e.childComments)?void 0:t.filter((e=>this.isCommentVisible(e))),null==(n=e.childComments)||n.forEach((e=>this.filterHidden(e)))}isCommentVisible(e){return!!e&&(!(!this.showSpam&&le(e.hiddenStatus))&&!(!this.showHidden&&!this.showSpam&&se(e.hiddenStatus)))}}class CommentStore{constructor(e){this.storedPublicComments=void 0,this.storedPrivateNotes=void 0,this.fileLoc=e}setComments(e){this.storedPublicComments=qf(e.filter((e=>!e.isPrivate))),this.storedPrivateNotes=e.filter((e=>e.isPrivate))}getPublicCommentTrees(){return this.storedPublicComments}getPrivateNotes(){return this.storedPrivateNotes}}var jh=Yr((function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}}));function Ih(e,t){var n="object"==typeof t;return new Promise((function(r,o){var i,a=!1;e.subscribe({next:function(e){i=e,a=!0},error:o,complete:function(){a?r(i):n?r(t.defaultValue):o(new jh)}})}))}const Oh=new Map,Lh=new class RequestAggregator{constructor(e,t,n,r,o,i){var a,s;this.nextAggCallIndex=1,this.queuedRequests=new Set,this.inFlightAggCalls=[],this.addedToQueue$=new Ao,this.completedAggCallIndex$=new Ao,this.individualRequestComparator=t,this.individualRequestToStr=n,this.addedToQueue$.pipe((a=50,void 0===s&&(s=oi),Uo((function(e,t){var n=null,r=null,o=null,i=function(){if(n){n.unsubscribe(),n=null;var e=r;r=null,t.next(e)}};function l(){var e=o+a,r=s.now();if(r{0===this.queuedRequests.size&&Yo(null);const n=this.nextAggCallIndex;this.nextAggCallIndex++;const i=Array.from(this.queuedRequests).map((e=>r(e)));return this.queuedRequests.clear(),this.inFlightAggCalls.push(new InFlightAggCall(n,i)),o.call(e,i).pipe(si((e=>(console.log("Error fetching aggregate call: "+e.message),console.log(i),Yo(null)))),ii((e=>new AggResponseWithIndex(e,n,i))))}))).subscribe((t=>{t&&(this.inFlightAggCalls=this.inFlightAggCalls.filter((e=>e.index!=t.index)),i.call(e,t.aggResponse,t.individualRequests),this.completedAggCallIndex$.next(t.index))}))}informWhenReady(e){let t=this.getInFlightIndex(e);return t||(this.addIndividualRequests(e),t=this.nextAggCallIndex),this.completedAggCallIndex$.pipe((r=e=>e!==t,Uo((function(e,t){var n=!1,o=0;e.subscribe(Ho(t,(function(e){return(n||(n=!r(e,o++)))&&t.next(e)})))}))),(n=1)<=0?function(){return li}:Uo((function(e,t){var r=0;e.subscribe(Ho(t,(function(e){++r<=n&&(t.next(e),n<=r&&t.complete())})))})));var n,r}addIndividualRequests(e){e.forEach((e=>this.queuedRequests.add(this.individualRequestToStr(e)))),this.addedToQueue$.next("")}getInFlightIndex(e){for(const t of this.inFlightAggCalls){if(e.every((e=>t.individualRequests.some((t=>this.individualRequestComparator(t,e))))))return t.index}return null}}(void 0,fr,dr,pr,(e=>Qo(async function(e){return await zr("/api/get-comments","POST",{files:e})}(e))),((e,t)=>{for(const n of t){const t=(e||[]).filter((e=>e.archive===n.archive&&e.filepath===n.filepath));Dh(n).setComments(t)}}));function Mh(e){return Oh.get(dr(e))}function Dh(e){const t=Mh(e);if(t)return t;const n=new CommentStore(e);return function(e,t){Oh.set(dr(e),t)}(e,n),n}async function Fh(){const e=[];Oh.forEach(((t,n)=>e.push(pr(n)))),await Ih(Lh.informWhenReady(e))}async function zh(e){var t;Oh.size>500&&Oh.clear();const n=null==(t=Mh(e))?void 0:t.getPublicCommentTrees();return n||await Ih(Lh.informWhenReady([e]).pipe(ii((t=>{var n;return(null==(n=Mh(e))?void 0:n.getPublicCommentTrees())||[]}))))}async function Bh(e){var t;const n=null==(t=Mh(e))?void 0:t.getPrivateNotes();return n||await Ih(Lh.informWhenReady([e]).pipe(ii((t=>{var n;return(null==(n=Mh(e))?void 0:n.getPrivateNotes())||[]}))))}var qh=n(2905),$h=n(537);const Uh=r.createContext(void 0);function Hh(){return r.useContext(Uh)}function Vh(e){return(0,E.Z)("MuiFormControlLabel",e)}const Wh=(0,C.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function Gh({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}const Kh=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],Xh=(0,S.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Wh.label}`]:t.label},t.root,t[`labelPlacement${(0,w.Z)(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>(0,d.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Wh.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${Wh.label}`]:{[`&.${Wh.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),Qh=(0,S.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${Wh.error}`]:{color:(e.vars||e).palette.error.main}}))),Yh=r.forwardRef((function(e,t){var n,o;const a=(0,k.Z)({props:e,name:"MuiFormControlLabel"}),{className:s,componentsProps:l={},control:c,disabled:h,disableTypography:m,label:g,labelPlacement:v="end",required:b,slotProps:y={}}=a,x=(0,u.Z)(a,Kh),S=Hh(),C=null!=(n=null!=h?h:c.props.disabled)?n:null==S?void 0:S.disabled,E=null!=b?b:c.props.required,_={disabled:C,required:E};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===c.props[e]&&void 0!==a[e]&&(_[e]=a[e])}));const T=Gh({props:a,muiFormControl:S,states:["error"]}),A=(0,d.Z)({},a,{disabled:C,labelPlacement:v,required:E,error:T.error}),R=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e,a={root:["root",n&&"disabled",`labelPlacement${(0,w.Z)(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,f.Z)(a,Vh,t)})(A),N=null!=(o=y.typography)?o:l.typography;let Z=g;return null==Z||Z.type===Td||m||(Z=(0,i.jsx)(Td,(0,d.Z)({component:"span"},N,{className:(0,p.Z)(R.label,null==N?void 0:N.className),children:Z}))),(0,i.jsxs)(Xh,(0,d.Z)({className:(0,p.Z)(R.root,s),ownerState:A,ref:t},x,{children:[r.cloneElement(c,_),Z,E&&(0,i.jsxs)(Qh,{ownerState:A,"aria-hidden":!0,className:R.asterisk,children:["\u2009","*"]})]}))}));function Jh(e){return(0,E.Z)("PrivateSwitchBase",e)}(0,C.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const em=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],tm=(0,S.ZP)(fc)((({ownerState:e})=>(0,d.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),nm=(0,S.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),rm=r.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:a,defaultChecked:s,disabled:l,disableFocusRipple:c=!1,edge:h=!1,icon:m,id:g,inputProps:v,inputRef:b,name:y,onBlur:x,onChange:k,onFocus:S,readOnly:C,required:E=!1,tabIndex:_,type:T,value:A}=e,R=(0,u.Z)(e,em),[N,Z]=(0,Tl.Z)({controlled:r,default:Boolean(s),name:"SwitchBase",state:"checked"}),P=Hh();let j=l;P&&void 0===j&&(j=P.disabled);const I="checkbox"===T||"radio"===T,O=(0,d.Z)({},e,{checked:N,disabled:j,disableFocusRipple:c,edge:h}),L=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,w.Z)(o)}`],input:["input"]};return(0,f.Z)(i,Jh,t)})(O);return(0,i.jsxs)(tm,(0,d.Z)({component:"span",className:(0,p.Z)(L.root,a),centerRipple:!0,focusRipple:!c,disabled:j,tabIndex:null,role:void 0,onFocus:e=>{S&&S(e),P&&P.onFocus&&P.onFocus(e)},onBlur:e=>{x&&x(e),P&&P.onBlur&&P.onBlur(e)},ownerState:O,ref:t},R,{children:[(0,i.jsx)(nm,(0,d.Z)({autoFocus:n,checked:r,defaultChecked:s,className:L.input,disabled:j,id:I?g:void 0,name:y,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;Z(t),k&&k(e,t)},readOnly:C,ref:b,required:E,ownerState:O,tabIndex:_,type:T},"checkbox"===T&&void 0===A?{}:{value:A},v)),N?o:m]}))})),om=(0,eh.Z)((0,i.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),im=(0,eh.Z)((0,i.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),am=(0,eh.Z)((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function sm(e){return(0,E.Z)("MuiCheckbox",e)}const lm=(0,C.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),cm=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],um=(0,S.ZP)(rm,{shouldForwardProp:e=>(0,S.FO)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t[`color${(0,w.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,d.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ei.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${lm.checked}, &.${lm.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${lm.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),dm=(0,i.jsx)(im,{}),pm=(0,i.jsx)(om,{}),fm=(0,i.jsx)(am,{}),hm=r.forwardRef((function(e,t){var n,o;const a=(0,k.Z)({props:e,name:"MuiCheckbox"}),{checkedIcon:s=dm,color:l="primary",icon:c=pm,indeterminate:h=!1,indeterminateIcon:m=fm,inputProps:g,size:v="medium",className:b}=a,y=(0,u.Z)(a,cm),x=h?m:c,S=h?m:s,C=(0,d.Z)({},a,{color:l,indeterminate:h,size:v}),E=(e=>{const{classes:t,indeterminate:n,color:r}=e,o={root:["root",n&&"indeterminate",`color${(0,w.Z)(r)}`]},i=(0,f.Z)(o,sm,t);return(0,d.Z)({},t,i)})(C);return(0,i.jsx)(um,(0,d.Z)({type:"checkbox",inputProps:(0,d.Z)({"data-indeterminate":h},g),icon:r.cloneElement(x,{fontSize:null!=(n=x.props.fontSize)?n:v}),checkedIcon:r.cloneElement(S,{fontSize:null!=(o=S.props.fontSize)?o:v}),ownerState:C,ref:t,className:(0,p.Z)(E.root,b)},y,{classes:E}))})),mm={addToSlide:"F\xfcgen Sie dieser Folie einen Kommentar hinzu",selectionSuggestion:"Die Auswahl eines Ausschnitts erm\xf6glicht Kommentare, die direkt zu diesem Ausschnitt geh\xf6ren",andMore:"\u2026und mehr",close:"Schlie\xdfen",myNotes:"Meine Notizen",comments:"Kommentare",startDiscussion:"Starten Sie die Diskussion",joinDiscussion:"Beteiligen Sie sich an der Diskussion",showHidden:"Ausgeblendete Kommentare anzeigen",showSpam:"Spam anzeigen",edited:"bearbeitet",reply:"Antwort",wasDeleted:"Dieser Kommentar wurde gel\xf6scht.",deleteFailure:"Kommentar konnte nicht gel\xf6scht werden",updateFailure:"Kommentar konnte nicht aktualisiert werden",edit:"Bearbeiten",delete:"L\xf6schen",deletePrompt:"M\xf6chten Sie diesen Kommentar wirklich l\xf6schen?",deleteTitle:"Kommentar l\xf6schen",hideBelow:"Ausblenden",unhide:"Einblenden",spam:"Spam",points:"Punkte",anonymous:"Anonym",hideIdentity:"Identit\xe4t verbergen",cancel:"Abbrechen",update:"Aktualisieren",save:"Speichern",post:"Posten",requestResponse:"Antwort anfordern",markSpam:"Spam markieren",unhideComment:"Kommentar einblenden",hideComment:"Kommentar verbergen",cause:"Ursache",justification:"Begr\xfcndung (optional)",abusive:"Gewaltverherrlichend",incorrect:"Fehler/Irrtum/Missverst\xe4ndnis",irrelevant:"Irrelevante Diskussion",other:"Andere",grantPoints:"Punkte gew\xe4hren",HELPFUL_COMMENT:"Hilfreicher Kommentar abgegeben",ASKED_QUESTION:"Eine Frage gestellt",RESPONDED_TO_QUESTION:"Auf eine Frage geantwortet",ANSWERED_CORRECTLY:"Die Frage richtig beantwortet",REPORTED_ERROR:"Einen Fehler gemeldet",OTHER:"Sonstiges",createPrivate:"Erstellen Sie hier eine private Notiz\u2026",loginForNotes:"Bitte einloggen, um Notizen zu speichern"},gm={addToSlide:"Add a comment to this slide",selectionSuggestion:"Selecting a region allows comments localized to the region",andMore:"\u2026and more",close:"Close",myNotes:"My Notes",comments:"Comments",startDiscussion:"Start the discussion",joinDiscussion:"Join the discussion",showHidden:"Show hidden comments",showSpam:"Show spam",edited:"edited",reply:"Reply",wasDeleted:"This comment was deleted.",deleteFailure:"Failed to delete comment",updateFailure:"Failed to update comment",edit:"Edit",delete:"Delete",deletePrompt:"Are you sure you want to delete this comment?",deleteTitle:"Delete Comment",hideBelow:"Hide Below",unhide:"Unhide",spam:"Spam",points:"Points",anonymous:"Anonymous",hideIdentity:"Hide Identity",cancel:"Cancel",update:"Update",save:"Save",post:"Post",requestResponse:"Request response",markSpam:"Mark Spam",unhideComment:"Unhide Comment",hideComment:"Hide Comment",cause:"Cause",justification:"Justification (optional)",abusive:"Abusive",incorrect:"Mistake/Error/Misunderstanding",irrelevant:"Irrelevant discussion",other:"Other",grantPoints:"Grant points",HELPFUL_COMMENT:"Made Helpful Comment",ASKED_QUESTION:"Asked a question",RESPONDED_TO_QUESTION:"Responded to a question",ANSWERED_CORRECTLY:"Answered the question correctly",REPORTED_ERROR:"Reported an error",OTHER:"Other",createPrivate:"Create a private note here\u2026",loginForNotes:"Please login to save notes"};function vm(e){var t;return"de"===(null!=(t=null==e?void 0:e.locale)?t:null==Yn?void 0:Yn.LANGUAGE)?mm:gm}function bm({file:e,isPrivateNote:t,postAnonymously:n=!1,selectedText:o,parentId:a=0,existingComment:s,placeholder:l="",hidden:c=!1,onCancel:u,onUpdate:d}){const p=(0,ki.useRouter)(),[f,h]=(0,r.useState)(!1),[m,g]=(0,r.useState)(void 0),[v,b]=(0,r.useState)((null==s?void 0:s.statement)||""),[y,x]=(0,r.useState)(void 0),[w,k]=(0,r.useState)(!0),S=vm(p),C=p.query.courseId;(0,r.useEffect)((()=>{Fr().then((e=>{x(null==e?void 0:e.fullName)}))}),[]),(0,r.useEffect)((()=>{if(s)return;const t=function(e,t){const n=Vf(e,t);return localStorage.getItem(n)}(e,a);b(t||"")}),[e,a,s]);const E=async()=>{h(!0);try{s?await async function(e,t){const n={commentId:e,statement:t};await zr("/api/edit-comment","POST",n)}(s.commentId,v):await async function(e){return(await zr("/api/add-comment","POST",e)).newCommentId}(function(){const r=C?wr:void 0,i=w&&!a&&!t;return{commentId:-1,archive:null==e?void 0:e.archive,filepath:null==e?void 0:e.filepath,parentCommentId:a,courseId:C,courseTerm:r,statement:v,isPrivate:t,isAnonymous:n,commentType:i?ie.QUESTION:ie.REMARK,questionStatus:i?ae.UNANSWERED:void 0,selectedText:o,userName:y}}()),d()}catch(r){return h(!1),g(r),void alert(S.updateFailure)}Wf(e,a),h(!1),s||b("")};return(0,i.jsxs)("fieldset",{hidden:c,disabled:f,style:{border:0,margin:0,padding:0},children:[(0,i.jsxs)("div",{style:{marginBottom:"5px"},children:[(0,i.jsx)(Bf,{name:"comment-edit",placeholder:l,value:v,onValueChange:t=>{b(t),function(e,t,n){const r=Vf(e,t);localStorage.setItem(r,n)}(e,a,t)}}),s||a||t?null:(0,i.jsx)(Yh,{control:(0,i.jsx)(hm,{checked:w,onChange:e=>k(e.target.checked)}),label:S.requestResponse})]}),(0,i.jsxs)(ne,{textAlign:"right",mb:"10px",children:[u&&(0,i.jsx)(wd,{variant:"contained",disabled:f,hidden:c,onClick:e=>u&&u(),sx:{mr:"10px"},children:S.cancel}),(0,i.jsx)(wd,{variant:"contained",type:"submit",disabled:!v||f,hidden:c,onClick:e=>E(),children:s?S.update:t?S.save:S.post})]})]})}const ym={header:"comments_header__dwQoS",stretchy_div:"comments_stretchy_div__Ack8i",guest_form_input:"comments_guest_form_input__4lzqs",guest_caption:"comments_guest_caption__TJ06g",avatar_container:"comments_avatar_container__r8sp4",stub_indicator:"comments_stub_indicator__btgs4",vertical_line:"comments_vertical_line__kI+F9",vertical_line_div:"comments_vertical_line_div__-A0mS",vertical_line_div_truncated:"comments_vertical_line_div_truncated__L539B",deleted_message:"comments_deleted_message__GsVEH",user_link:"comments_user_link__oMP3B",small_horz_margin:"comments_small_horz_margin__LWoRb",action_button_div:"comments_action_button_div__3eWAG",disable_gray:"comments_disable_gray__YvEvB",action_button:"comments_action_button__e1Igt",action_button_down:"comments_action_button_down__C+KPM",fake_link:"comments_fake_link__2D8oY",comment_status:"comments_comment_status__nKmaO",hidden_status:"comments_hidden_status__t5RYT",spam_status:"comments_spam_status__qUmIp"};function xm({text:e}){if(!e)return null;const t=function(e){return e.length<60?e:e.substring(0,40)+"\u2026"+e.slice(-15)}(e);return(0,i.jsx)(Fl,{title:e,children:(0,i.jsx)(ne,{children:(0,i.jsx)("span",{style:{borderRadius:"5px",marginBottom:"-2px",padding:"2px 5px ",color:"gray",background:"#EEE",display:"inline",userSelect:"none"},children:t})})})}function wm({file:e,isPrivateNote:t,parentId:n=0,placeholder:o="",selectedText:a,selectedElement:s,hidden:l=!1,onCancel:c,onUpdate:u}){const d=vm((0,ki.useRouter)()),[p,f]=(0,r.useState)(void 0);(0,r.useEffect)((()=>{Fr().then((e=>{f(null==e?void 0:e.fullName)}))}),[]);const[h,m]=(0,r.useState)(!1),g=t?null:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:ym.user_link,style:{marginRight:"20px"},children:h?(0,i.jsx)("i",{children:d.anonymous}):p}),(0,i.jsx)(Yh,{control:(0,i.jsx)(hm,{sx:{p:0},checked:h,onChange:e=>m(e.target.checked)}),label:d.hideIdentity})]});return(0,i.jsxs)(ne,{hidden:l,display:l?"none":"flex",alignItems:"stretch",children:[t?(0,i.jsx)(qh.Z,{fontSize:"large",color:"secondary"}):(0,i.jsx)($h.Z,{fontSize:"large",color:"secondary"}),(0,i.jsxs)("div",{className:ym.stretchy_div,children:[g,(0,i.jsx)(xm,{text:a}),(0,i.jsx)(bm,{parentId:n,file:e,isPrivateNote:t,postAnonymously:h,selectedText:a,placeholder:o,onCancel:c,onUpdate:u})]})]})}var km=n(6815),Sm=n(5207);const Cm={ok:"OK",cancel:"Abbrechen",fewSecondsAgo:"vor ein paar Sekunden",aMinuteAgo:"vor einer Minute",xMinutesAgo:"vor $1 Minuten",anHourAgo:"vor einer Stunde",xHoursAgo:"vor $1 Stunden",aDayAgo:"vor einem Tag",xDaysAgo:"vor $1 Tagen",aMonthAgo:"vor einem Monat",xMonthsAgo:"vor $1 Monaten",aYearAgo:"vor einem Jahr",xYearsAgo:"vor $1 Jahren"},Em={ok:"OK",cancel:"Cancel",fewSecondsAgo:"a few seconds ago",aMinuteAgo:"a minute ago",xMinutesAgo:"$1 minutes ago",anHourAgo:"an hour ago",xHoursAgo:"$1 hours ago",aDayAgo:"a day ago",xDaysAgo:"$1 days ago",aMonthAgo:"a month ago",xMonthsAgo:"$1 months ago",aYearAgo:"a year ago",xYearsAgo:"$1 years ago"};function _m(e){var t;return"de"===(null!=(t=null==e?void 0:e.locale)?t:null==Yn?void 0:Yn.LANGUAGE)?Cm:Em}function Tm({title:e,textContent:t,okText:n,cancelText:r,onClose:o}){const a=_m((0,ki.useRouter)());return(0,i.jsxs)(i.Fragment,{children:[e&&(0,i.jsx)(Pd,{id:"alert-dialog-title",children:e}),(0,i.jsx)(Ld,{children:(0,i.jsx)(zd,{id:"alert-dialog-description",children:t})}),(0,i.jsxs)(Ud,{children:[(0,i.jsx)(wd,{onClick:()=>o(!1),children:null!=r?r:a.cancel}),(0,i.jsx)(wd,{onClick:()=>o(!0),autoFocus:!0,children:null!=n?n:a.ok})]})]})}const Am=1e3,Rm=60*Am,Nm=60*Rm,Zm=24*Nm,Pm=30.416*Zm,jm=365*Zm;function Im(e,t){return e.replace("$1",t.toString())}function Om(e){return 1e3*((t=e)e+1),0),o=Math.round(Math.abs((new Date).getTime()-e)),a=_m((0,ki.useRouter)()),s=new Date(e),l=function(e,t){const n=new Date,r=Math.round(Math.abs(n.getTime()-e.getTime()));return Number.isNaN(r)?"":r<=45*Am?t.fewSecondsAgo:r<=90*Am?t.aMinuteAgo:r<=45*Rm?Im(t.xMinutesAgo,Math.round(r/Rm)):r<=90*Rm?t.anHourAgo:r<=22*Nm?Im(t.xHoursAgo,Math.round(r/Nm)):r<=36*Nm?t.aDayAgo:r<=25*Zm?Im(t.xDaysAgo,Math.round(r/Zm)):r<=45*Zm?t.aMonthAgo:r<=345*Zm?Im(t.xMonthsAgo,Math.round(r/Pm)):r<=545?t.aYearAgo:Im(t.xYearsAgo,Math.round(r/jm))}(s,a),c=s.toLocaleTimeString("en-us",{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1});return(0,r.useEffect)((()=>{const e=setInterval((e=>n()),Om(o));return()=>clearInterval(e)}),[o]),(0,i.jsx)("span",{title:c,style:t||{display:"inline",fontSize:"12px",color:"grey"},children:l})}var Mm=n(8114),Dm=n(6163),Fm=n(9754),zm=n(6436),Bm=n(8203),qm=n(7620);function $m(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Um(e,t=!1){return e&&($m(e.value)&&""!==e.value||t&&$m(e.defaultValue)&&""!==e.defaultValue)}var Hm=n(9763);function Vm(e){return(0,E.Z)("MuiFormControl",e)}(0,C.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Wm=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],Gm=(0,S.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,d.Z)({},t.root,t[`margin${(0,w.Z)(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>(0,d.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),Km=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiFormControl"}),{children:o,className:a,color:s="primary",component:l="div",disabled:c=!1,error:h=!1,focused:m,fullWidth:g=!1,hiddenLabel:v=!1,margin:b="none",required:y=!1,size:x="medium",variant:S="outlined"}=n,C=(0,u.Z)(n,Wm),E=(0,d.Z)({},n,{color:s,component:l,disabled:c,error:h,fullWidth:g,hiddenLabel:v,margin:b,required:y,size:x,variant:S}),_=(e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root","none"!==n&&`margin${(0,w.Z)(n)}`,r&&"fullWidth"]};return(0,f.Z)(o,Vm,t)})(E),[T,A]=r.useState((()=>{let e=!1;return o&&r.Children.forEach(o,(t=>{if(!(0,Hm.Z)(t,["Input","Select"]))return;const n=(0,Hm.Z)(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)})),e})),[R,N]=r.useState((()=>{let e=!1;return o&&r.Children.forEach(o,(t=>{(0,Hm.Z)(t,["Input","Select"])&&(Um(t.props,!0)||Um(t.props.inputProps,!0))&&(e=!0)})),e})),[Z,P]=r.useState(!1);c&&Z&&P(!1);const j=void 0===m||c?Z:m;let I;const O=r.useMemo((()=>({adornedStart:T,setAdornedStart:A,color:s,disabled:c,error:h,filled:R,focused:j,fullWidth:g,hiddenLabel:v,size:x,onBlur:()=>{P(!1)},onEmpty:()=>{N(!1)},onFilled:()=>{N(!0)},onFocus:()=>{P(!0)},registerEffect:I,required:y,variant:S})),[T,s,c,h,R,j,g,v,I,y,x,S]);return(0,i.jsx)(Uh.Provider,{value:O,children:(0,i.jsx)(Gm,(0,d.Z)({as:l,ownerState:E,className:(0,p.Z)(_.root,a),ref:t},C,{children:o}))})}));function Xm(e){return(0,E.Z)("MuiFormLabel",e)}const Qm=(0,C.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Ym=["children","className","color","component","disabled","error","filled","focused","required"],Jm=(0,S.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,d.Z)({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>(0,d.Z)({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Qm.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Qm.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Qm.error}`]:{color:(e.vars||e).palette.error.main}}))),eg=(0,S.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${Qm.error}`]:{color:(e.vars||e).palette.error.main}}))),tg=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiFormLabel"}),{children:r,className:o,component:a="label"}=n,s=(0,u.Z)(n,Ym),l=Gh({props:n,muiFormControl:Hh(),states:["color","required","focused","disabled","error","filled"]}),c=(0,d.Z)({},n,{color:l.color||"primary",component:a,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),h=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:s}=e,l={root:["root",`color${(0,w.Z)(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]};return(0,f.Z)(l,Xm,t)})(c);return(0,i.jsxs)(Jm,(0,d.Z)({as:a,ownerState:c,className:(0,p.Z)(h.root,o),ref:t},s,{children:[r,l.required&&(0,i.jsxs)(eg,{ownerState:c,"aria-hidden":!0,className:h.asterisk,children:["\u2009","*"]})]}))}));function ng(e){return(0,E.Z)("MuiInputLabel",e)}(0,C.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const rg=["disableAnimation","margin","shrink","variant","className"],og=(0,S.ZP)(tg,{shouldForwardProp:e=>(0,S.FO)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Qm.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,d.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&(0,d.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&(0,d.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&(0,d.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),ig=r.forwardRef((function(e,t){const n=(0,k.Z)({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,shrink:o,className:a}=n,s=(0,u.Z)(n,rg),l=Hh();let c=o;void 0===c&&l&&(c=l.filled||l.focused||l.adornedStart);const h=Gh({props:n,muiFormControl:l,states:["size","variant","required"]}),m=(0,d.Z)({},n,{disableAnimation:r,formControl:l,shrink:c,size:h.size,variant:h.variant,required:h.required}),g=(e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:a,required:s}=e,l={root:["root",n&&"formControl",!i&&"animated",o&&"shrink","small"===r&&"sizeSmall",a],asterisk:[s&&"asterisk"]},c=(0,f.Z)(l,ng,t);return(0,d.Z)({},t,c)})(m);return(0,i.jsx)(og,(0,d.Z)({"data-shrink":c,ownerState:m,ref:t,className:(0,p.Z)(g.root,a)},s,{classes:g}))}));var ag=n(1512);function sg(e){return(0,E.Z)("MuiNativeSelect",e)}const lg=(0,C.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),cg=["className","disabled","error","IconComponent","inputRef","variant"],ug=({ownerState:e,theme:t})=>(0,d.Z)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,d.Z)({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${lg.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),dg=(0,S.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:S.FO,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${lg.multiple}`]:t.multiple}]}})(ug),pg=({ownerState:e,theme:t})=>(0,d.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${lg.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),fg=(0,S.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,w.Z)(n.variant)}`],n.open&&t.iconOpen]}})(pg),hg=r.forwardRef((function(e,t){const{className:n,disabled:o,error:a,IconComponent:s,inputRef:l,variant:c="standard"}=e,h=(0,u.Z)(e,cg),m=(0,d.Z)({},e,{disabled:o,variant:c,error:a}),g=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,s={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${(0,w.Z)(n)}`,i&&"iconOpen",r&&"disabled"]};return(0,f.Z)(s,sg,t)})(m);return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)(dg,(0,d.Z)({ownerState:m,className:(0,p.Z)(g.select,n),disabled:o,ref:l||t},h)),e.multiple?null:(0,i.jsx)(fg,{as:s,ownerState:m,className:g.icon})]})}));function mg(e){return(0,E.Z)("MuiSelect",e)}const gg=(0,C.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var vg;const bg=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],yg=(0,S.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${gg.select}`]:t.select},{[`&.${gg.select}`]:t[n.variant]},{[`&.${gg.error}`]:t.error},{[`&.${gg.multiple}`]:t.multiple}]}})(ug,{[`&.${gg.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),xg=(0,S.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,w.Z)(n.variant)}`],n.open&&t.iconOpen]}})(pg),wg=(0,S.ZP)("input",{shouldForwardProp:e=>(0,S.Dz)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function kg(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Sg(e){return null==e||"string"==typeof e&&!e.trim()}const Cg=r.forwardRef((function(e,t){const{"aria-describedby":n,"aria-label":o,autoFocus:a,autoWidth:s,children:l,className:c,defaultOpen:h,defaultValue:m,disabled:g,displayEmpty:v,error:b=!1,IconComponent:y,inputRef:x,labelId:k,MenuProps:S={},multiple:C,name:E,onBlur:_,onChange:T,onClose:A,onFocus:R,onOpen:N,open:Z,readOnly:P,renderValue:j,SelectDisplayProps:I={},tabIndex:O,value:L,variant:M="standard"}=e,D=(0,u.Z)(e,bg),[F,z]=(0,Tl.Z)({controlled:L,default:m,name:"Select"}),[B,q]=(0,Tl.Z)({controlled:Z,default:h,name:"Select"}),$=r.useRef(null),U=r.useRef(null),[H,V]=r.useState(null),{current:W}=r.useRef(null!=Z),[G,K]=r.useState(),X=(0,Pa.Z)(t,x),Q=r.useCallback((e=>{U.current=e,e&&V(e)}),[]),Y=null==H?void 0:H.parentNode;r.useImperativeHandle(X,(()=>({focus:()=>{U.current.focus()},node:$.current,value:F})),[F]),r.useEffect((()=>{h&&B&&H&&!W&&(K(s?null:Y.clientWidth),U.current.focus())}),[H,s]),r.useEffect((()=>{a&&U.current.focus()}),[a]),r.useEffect((()=>{if(!k)return;const e=(0,pp.Z)(U.current).getElementById(k);if(e){const t=()=>{getSelection().isCollapsed&&U.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[k]);const J=(e,t)=>{e?N&&N(t):A&&A(t),W||(K(s?null:Y.clientWidth),q(e))},ee=r.Children.toArray(l),te=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(C){n=Array.isArray(F)?F.slice():[];const t=F.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),F!==n&&(z(n),T)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:E}}),T(o,e)}C||J(!1,t)}},ne=null!==H&&B;let re,oe;delete D["aria-invalid"];const ie=[];let ae=!1,se=!1;(Um({value:F})||v)&&(j?re=j(F):ae=!0);const le=ee.map((e=>{if(!r.isValidElement(e))return null;let t;if(C){if(!Array.isArray(F))throw new Error((0,ag.Z)(2));t=F.some((t=>kg(t,e.props.value))),t&&ae&&ie.push(e.props.children)}else t=kg(F,e.props.value),t&&ae&&(oe=e.props.children);return t&&(se=!0),r.cloneElement(e,{"aria-selected":t?"true":"false",onClick:te(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));ae&&(re=C?0===ie.length?null:ie.reduce(((e,t,n)=>(e.push(t),n{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,s={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${(0,w.Z)(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,f.Z)(s,mg,t)})(pe);return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)(yg,(0,d.Z)({ref:Q,tabIndex:ce,role:"button","aria-disabled":g?"true":void 0,"aria-expanded":ne?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[k,de].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!P){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),J(!0,e))}},onMouseDown:g||P?null:e=>{0===e.button&&(e.preventDefault(),U.current.focus(),J(!0,e))},onBlur:e=>{!ne&&_&&(Object.defineProperty(e,"target",{writable:!0,value:{value:F,name:E}}),_(e))},onFocus:R},I,{ownerState:pe,className:(0,p.Z)(I.className,fe.select,c),id:de,children:Sg(re)?vg||(vg=(0,i.jsx)("span",{className:"notranslate",children:"\u200b"})):re})),(0,i.jsx)(wg,(0,d.Z)({"aria-invalid":b,value:Array.isArray(F)?F.join(","):F,name:E,ref:$,"aria-hidden":!0,onChange:e=>{const t=ee.find((t=>t.props.value===e.target.value));void 0!==t&&(z(t.props.value),T&&T(e,t))},tabIndex:-1,disabled:g,className:fe.nativeInput,autoFocus:a,ownerState:pe},D)),(0,i.jsx)(xg,{as:y,className:fe.icon,ownerState:pe}),(0,i.jsx)(Kp,(0,d.Z)({id:`menu-${E||""}`,anchorEl:Y,open:ne,onClose:e=>{J(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},S,{MenuListProps:(0,d.Z)({"aria-labelledby":k,role:"listbox",disableListWrap:!0},S.MenuListProps),PaperProps:(0,d.Z)({},S.PaperProps,{style:(0,d.Z)({minWidth:ue},null!=S.PaperProps?S.PaperProps.style:null)}),children:le}))]})})),Eg=(0,eh.Z)((0,i.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function _g(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,i.jsx)(b,{styles:r})}const Tg=function({styles:e,themeId:t,defaultTheme:n={}}){const r=(0,K.Z)(n),o="function"==typeof e?e(t&&r[t]||r):e;return(0,i.jsx)(_g,{styles:o})};const Ag=function(e){return(0,i.jsx)(Tg,(0,d.Z)({},e,{defaultTheme:ma.Z,themeId:J.Z}))};function Rg(e){return(0,E.Z)("MuiInputBase",e)}const Ng=(0,C.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Zg=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Pg=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${(0,w.Z)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},jg=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Ig=(0,S.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Pg})((({theme:e,ownerState:t})=>(0,d.Z)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Ng.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,d.Z)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Og=(0,S.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:jg})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=(0,d.Z)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return(0,d.Z)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Ng.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Ng.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),Lg=(0,i.jsx)(Ag,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Mg=r.forwardRef((function(e,t){var n;const o=(0,k.Z)({props:e,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:s,autoFocus:l,className:c,components:h={},componentsProps:m={},defaultValue:g,disabled:v,disableInjectingGlobalStyles:b,endAdornment:y,fullWidth:x=!1,id:S,inputComponent:C="input",inputProps:E={},inputRef:_,maxRows:T,minRows:A,multiline:R=!1,name:N,onBlur:Z,onChange:P,onClick:j,onFocus:I,onKeyDown:O,onKeyUp:L,placeholder:M,readOnly:D,renderSuffix:F,rows:z,slotProps:B={},slots:q={},startAdornment:$,type:U="text",value:H}=o,V=(0,u.Z)(o,Zg),W=null!=E.value?E.value:H,{current:G}=r.useRef(null!=W),K=r.useRef(),X=r.useCallback((e=>{0}),[]),Q=(0,Pa.Z)(K,_,E.ref,X),[Y,J]=r.useState(!1),ee=Hh();const te=Gh({props:o,muiFormControl:ee,states:["color","disabled","error","hiddenLabel","size","required","filled"]});te.focused=ee?ee.focused:Y,r.useEffect((()=>{!ee&&v&&Y&&(J(!1),Z&&Z())}),[ee,v,Y,Z]);const ne=ee&&ee.onFilled,re=ee&&ee.onEmpty,oe=r.useCallback((e=>{Um(e)?ne&&ne():re&&re()}),[ne,re]);(0,xp.Z)((()=>{G&&oe({value:W})}),[W,oe,G]);r.useEffect((()=>{oe(K.current)}),[]);let ie=C,ae=E;R&&"input"===ie&&(ae=z?(0,d.Z)({type:void 0,minRows:z,maxRows:z},ae):(0,d.Z)({type:void 0,maxRows:T,minRows:A},ae),ie=vf);r.useEffect((()=>{ee&&ee.setAdornedStart(Boolean($))}),[ee,$]);const se=(0,d.Z)({},o,{color:te.color||"primary",disabled:te.disabled,endAdornment:y,error:te.error,focused:te.focused,formControl:ee,fullWidth:x,hiddenLabel:te.hiddenLabel,multiline:R,size:te.size,startAdornment:$,type:U}),le=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:h,type:m}=e,g={root:["root",`color${(0,w.Z)(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl","small"===p&&"sizeSmall",u&&"multiline",h&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]};return(0,f.Z)(g,Rg,t)})(se),ce=q.root||h.Root||Ig,ue=B.root||m.root||{},de=q.input||h.Input||Og;return ae=(0,d.Z)({},ae,null!=(n=B.input)?n:m.input),(0,i.jsxs)(r.Fragment,{children:[!b&&Lg,(0,i.jsxs)(ce,(0,d.Z)({},ue,!fa(ce)&&{ownerState:(0,d.Z)({},se,ue.ownerState)},{ref:t,onClick:e=>{K.current&&e.currentTarget===e.target&&K.current.focus(),j&&!te.disabled&&j(e)}},V,{className:(0,p.Z)(le.root,ue.className,c,D&&"MuiInputBase-readOnly"),children:[$,(0,i.jsx)(Uh.Provider,{value:null,children:(0,i.jsx)(de,(0,d.Z)({ownerState:se,"aria-invalid":te.error,"aria-describedby":a,autoComplete:s,autoFocus:l,defaultValue:g,disabled:te.disabled,id:S,onAnimationStart:e=>{oe("mui-auto-fill-cancel"===e.animationName?K.current:{value:"x"})},name:N,placeholder:M,readOnly:D,required:te.required,rows:z,value:W,onKeyDown:O,onKeyUp:L,type:U},ae,!fa(de)&&{as:ie,ownerState:(0,d.Z)({},se,ae.ownerState)},{ref:Q,className:(0,p.Z)(le.input,ae.className,D&&"MuiInputBase-readOnly"),onBlur:e=>{Z&&Z(e),E.onBlur&&E.onBlur(e),ee&&ee.onBlur?ee.onBlur(e):J(!1)},onChange:(e,...t)=>{if(!G){const t=e.target||K.current;if(null==t)throw new Error((0,ag.Z)(1));oe({value:t.value})}E.onChange&&E.onChange(e,...t),P&&P(e,...t)},onFocus:e=>{te.disabled?e.stopPropagation():(I&&I(e),E.onFocus&&E.onFocus(e),ee&&ee.onFocus?ee.onFocus(e):J(!0))}}))}),y,F?F((0,d.Z)({},te,{startAdornment:$})):null]}))]})})),Dg=Mg;function Fg(e){return(0,E.Z)("MuiInput",e)}const zg=(0,d.Z)({},Ng,(0,C.Z)("MuiInput",["root","underline","input"])),Bg=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],qg=(0,S.ZP)(Ig,{shouldForwardProp:e=>(0,S.FO)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Pg(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),(0,d.Z)({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${zg.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${zg.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${zg.disabled}, .${zg.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${zg.disabled}:before`]:{borderBottomStyle:"dotted"}})})),$g=(0,S.ZP)(Og,{name:"MuiInput",slot:"Input",overridesResolver:jg})({}),Ug=r.forwardRef((function(e,t){var n,r,o,a;const s=(0,k.Z)({props:e,name:"MuiInput"}),{disableUnderline:l,components:c={},componentsProps:p,fullWidth:h=!1,inputComponent:m="input",multiline:g=!1,slotProps:v,slots:b={},type:y="text"}=s,x=(0,u.Z)(s,Bg),w=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},o=(0,f.Z)(r,Fg,t);return(0,d.Z)({},t,o)})(s),S={root:{ownerState:{disableUnderline:l}}},C=(null!=v?v:p)?(0,U.Z)(null!=v?v:p,S):S,E=null!=(n=null!=(r=b.root)?r:c.Root)?n:qg,_=null!=(o=null!=(a=b.input)?a:c.Input)?o:$g;return(0,i.jsx)(Dg,(0,d.Z)({slots:{root:E,input:_},slotProps:C,fullWidth:h,inputComponent:m,multiline:g,ref:t,type:y},x,{classes:w}))}));Ug.muiName="Input";const Hg=Ug;function Vg(e){return(0,E.Z)("MuiFilledInput",e)}const Wg=(0,d.Z)({},Ng,(0,C.Z)("MuiFilledInput",["root","underline","input"])),Gg=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],Kg=(0,S.ZP)(Ig,{shouldForwardProp:e=>(0,S.FO)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Pg(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var n;const r="light"===e.palette.mode,o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,d.Z)({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Wg.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Wg.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${null==(n=(e.vars||e).palette[t.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Wg.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Wg.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Wg.disabled}, .${Wg.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Wg.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&(0,d.Z)({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),Xg=(0,S.ZP)(Og,{name:"MuiFilledInput",slot:"Input",overridesResolver:jg})((({theme:e,ownerState:t})=>(0,d.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))),Qg=r.forwardRef((function(e,t){var n,r,o,a;const s=(0,k.Z)({props:e,name:"MuiFilledInput"}),{components:l={},componentsProps:c,fullWidth:p=!1,inputComponent:h="input",multiline:m=!1,slotProps:g,slots:v={},type:b="text"}=s,y=(0,u.Z)(s,Gg),x=(0,d.Z)({},s,{fullWidth:p,inputComponent:h,multiline:m,type:b}),w=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},o=(0,f.Z)(r,Vg,t);return(0,d.Z)({},t,o)})(s),S={root:{ownerState:x},input:{ownerState:x}},C=(null!=g?g:c)?(0,U.Z)(null!=g?g:c,S):S,E=null!=(n=null!=(r=v.root)?r:l.Root)?n:Kg,_=null!=(o=null!=(a=v.input)?a:l.Input)?o:Xg;return(0,i.jsx)(Dg,(0,d.Z)({slots:{root:E,input:_},componentsProps:C,fullWidth:p,inputComponent:h,multiline:m,ref:t,type:b},y,{classes:w}))}));Qg.muiName="Input";const Yg=Qg;var Jg;const ev=["children","classes","className","label","notched"],tv=(0,S.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),nv=(0,S.ZP)("legend")((({ownerState:e,theme:t})=>(0,d.Z)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&(0,d.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function rv(e){return(0,E.Z)("MuiOutlinedInput",e)}const ov=(0,d.Z)({},Ng,(0,C.Z)("MuiOutlinedInput",["root","notchedOutline","input"])),iv=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],av=(0,S.ZP)(Ig,{shouldForwardProp:e=>(0,S.FO)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Pg})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,d.Z)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${ov.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${ov.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${ov.focused} .${ov.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${ov.error} .${ov.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${ov.disabled} .${ov.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,d.Z)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),sv=(0,S.ZP)((function(e){const{className:t,label:n,notched:r}=e,o=(0,u.Z)(e,ev),a=null!=n&&""!==n,s=(0,d.Z)({},e,{notched:r,withLabel:a});return(0,i.jsx)(tv,(0,d.Z)({"aria-hidden":!0,className:t,ownerState:s},o,{children:(0,i.jsx)(nv,{ownerState:s,children:a?(0,i.jsx)("span",{children:n}):Jg||(Jg=(0,i.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),lv=(0,S.ZP)(Og,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:jg})((({theme:e,ownerState:t})=>(0,d.Z)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),cv=r.forwardRef((function(e,t){var n,o,a,s,l;const c=(0,k.Z)({props:e,name:"MuiOutlinedInput"}),{components:p={},fullWidth:h=!1,inputComponent:m="input",label:g,multiline:v=!1,notched:b,slots:y={},type:x="text"}=c,w=(0,u.Z)(c,iv),S=(e=>{const{classes:t}=e,n=(0,f.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},rv,t);return(0,d.Z)({},t,n)})(c),C=Hh(),E=Gh({props:c,muiFormControl:C,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),_=(0,d.Z)({},c,{color:E.color||"primary",disabled:E.disabled,error:E.error,focused:E.focused,formControl:C,fullWidth:h,hiddenLabel:E.hiddenLabel,multiline:v,size:E.size,type:x}),T=null!=(n=null!=(o=y.root)?o:p.Root)?n:av,A=null!=(a=null!=(s=y.input)?s:p.Input)?a:lv;return(0,i.jsx)(Dg,(0,d.Z)({slots:{root:T,input:A},renderSuffix:e=>(0,i.jsx)(sv,{ownerState:_,className:S.notchedOutline,label:null!=g&&""!==g&&E.required?l||(l=(0,i.jsxs)(r.Fragment,{children:[g,"\u2009","*"]})):g,notched:void 0!==b?b:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:h,inputComponent:m,multiline:v,ref:t,type:x},w,{classes:(0,d.Z)({},S,{notchedOutline:null})}))}));cv.muiName="Input";const uv=cv,dv=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],pv={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,S.FO)(e)&&"variant"!==e,slot:"Root"},fv=(0,S.ZP)(Hg,pv)(""),hv=(0,S.ZP)(uv,pv)(""),mv=(0,S.ZP)(Yg,pv)(""),gv=r.forwardRef((function(e,t){const n=(0,k.Z)({name:"MuiSelect",props:e}),{autoWidth:o=!1,children:a,classes:s={},className:l,defaultOpen:c=!1,displayEmpty:f=!1,IconComponent:h=Eg,id:m,input:g,inputProps:v,label:b,labelId:y,MenuProps:x,multiple:w=!1,native:S=!1,onClose:C,onOpen:E,open:_,renderValue:T,SelectDisplayProps:A,variant:R="outlined"}=n,N=(0,u.Z)(n,dv),Z=S?hg:Cg,P=Gh({props:n,muiFormControl:Hh(),states:["variant","error"]}),j=P.variant||R,I=(0,d.Z)({},n,{variant:j,classes:s}),O=(e=>{const{classes:t}=e;return t})(I),L=g||{standard:(0,i.jsx)(fv,{ownerState:I}),outlined:(0,i.jsx)(hv,{label:b,ownerState:I}),filled:(0,i.jsx)(mv,{ownerState:I})}[j],M=(0,Pa.Z)(t,L.ref);return(0,i.jsx)(r.Fragment,{children:r.cloneElement(L,(0,d.Z)({inputComponent:Z,inputProps:(0,d.Z)({children:a,error:P.error,IconComponent:h,variant:j,type:void 0,multiple:w},S?{id:m}:{autoWidth:o,defaultOpen:c,displayEmpty:f,labelId:y,MenuProps:x,onClose:C,onOpen:E,open:_,renderValue:T,SelectDisplayProps:(0,d.Z)({id:m},A)},v,{classes:v?(0,U.Z)(O,v.classes):O},g?g.props.inputProps:{})},w&&S&&"outlined"===j?{notched:!0}:{},{ref:M,className:(0,p.Z)(L.props.className,l)},!g&&{variant:j},N))})}));gv.muiName="Select";const vv=gv;function bv(e){return(0,E.Z)("MuiFormHelperText",e)}const yv=(0,C.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var xv;const wv=["children","className","component","disabled","error","filled","focused","margin","required","variant"],kv=(0,S.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${(0,w.Z)(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})((({theme:e,ownerState:t})=>(0,d.Z)({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${yv.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${yv.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14}))),Sv=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiFormHelperText"}),{children:r,className:o,component:a="p"}=n,s=(0,u.Z)(n,wv),l=Gh({props:n,muiFormControl:Hh(),states:["variant","size","disabled","error","filled","focused","required"]}),c=(0,d.Z)({},n,{component:a,contained:"filled"===l.variant||"outlined"===l.variant,variant:l.variant,size:l.size,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),h=(e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:s,required:l}=e,c={root:["root",o&&"disabled",i&&"error",r&&`size${(0,w.Z)(r)}`,n&&"contained",s&&"focused",a&&"filled",l&&"required"]};return(0,f.Z)(c,bv,t)})(c);return(0,i.jsx)(kv,(0,d.Z)({as:a,ownerState:c,className:(0,p.Z)(h.root,o),ref:t},s,{children:" "===r?xv||(xv=(0,i.jsx)("span",{className:"notranslate",children:"\u200b"})):r}))}));function Cv(e){return(0,E.Z)("MuiTextField",e)}(0,C.Z)("MuiTextField",["root"]);const Ev=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],_v={standard:Hg,filled:Yg,outlined:uv},Tv=(0,S.ZP)(Km,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Av=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiTextField"}),{autoComplete:r,autoFocus:o=!1,children:a,className:s,color:l="primary",defaultValue:c,disabled:h=!1,error:m=!1,FormHelperTextProps:g,fullWidth:v=!1,helperText:b,id:y,InputLabelProps:x,inputProps:w,InputProps:S,inputRef:C,label:E,maxRows:_,minRows:T,multiline:A=!1,name:R,onBlur:N,onChange:Z,onClick:P,onFocus:j,placeholder:I,required:O=!1,rows:L,select:M=!1,SelectProps:D,type:F,value:z,variant:B="outlined"}=n,q=(0,u.Z)(n,Ev),$=(0,d.Z)({},n,{autoFocus:o,color:l,disabled:h,error:m,fullWidth:v,multiline:A,required:O,select:M,variant:B}),U=(e=>{const{classes:t}=e;return(0,f.Z)({root:["root"]},Cv,t)})($);const H={};"outlined"===B&&(x&&void 0!==x.shrink&&(H.notched=x.shrink),H.label=E),M&&(D&&D.native||(H.id=void 0),H["aria-describedby"]=void 0);const V=(0,yc.Z)(y),W=b&&V?`${V}-helper-text`:void 0,G=E&&V?`${V}-label`:void 0,K=_v[B],X=(0,i.jsx)(K,(0,d.Z)({"aria-describedby":W,autoComplete:r,autoFocus:o,defaultValue:c,fullWidth:v,multiline:A,name:R,rows:L,maxRows:_,minRows:T,type:F,value:z,id:V,inputRef:C,onBlur:N,onChange:Z,onFocus:j,onClick:P,placeholder:I,inputProps:w},H,S));return(0,i.jsxs)(Tv,(0,d.Z)({className:(0,p.Z)(U.root,s),disabled:h,error:m,fullWidth:v,ref:t,required:O,color:l,variant:B,ownerState:$},q,{children:[null!=E&&""!==E&&(0,i.jsx)(ig,(0,d.Z)({htmlFor:V,id:G},x,{children:E})),M?(0,i.jsx)(vv,(0,d.Z)({"aria-describedby":W,id:V,labelId:G,value:z,input:X},D,{children:a})):X,b&&(0,i.jsx)(Sv,(0,d.Z)({id:W},g,{children:b}))]}))})),Rv=[oe.ABUSE,oe.INCORRECT,oe.IRRELEVANT,oe.OTHER];function Nv(e,t){switch(e){case oe.ABUSE:return t.abusive;case oe.INCORRECT:return t.incorrect;case oe.IRRELEVANT:return t.irrelevant;case oe.OTHER:default:return t.other}}function Zv({forSpam:e,forUnhide:t,onClose:n}){const o=vm((0,ki.useRouter)()),[a,s]=(0,r.useState)(""),[l,c]=(0,r.useState)(""),u=e?o.markSpam:t?o.unhideComment:o.hideComment;function d(){if(e)return{hiddenStatus:oe.SPAM,hiddenJustification:l};if(t)return{hiddenStatus:oe.UNHIDDEN,hiddenJustification:l};const n=oe[a];return n?{hiddenStatus:n,hiddenJustification:l}:void 0}return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Pd,{children:u}),(0,i.jsx)(Ld,{sx:{minWidth:"200px",pt:"6px !important"},children:(0,i.jsxs)(zd,{id:"alert-dialog-description",children:[!e&&!t&&(0,i.jsxs)(Km,{fullWidth:!0,children:[(0,i.jsx)(ig,{id:"cause-select-label",children:o.cause}),(0,i.jsx)(vv,{labelId:"cause-select-label",id:"simple-select",value:a,label:o.cause,onChange:e=>s(e.target.value),children:Rv.map((e=>(0,i.jsx)(sf,{value:oe[e],children:Nv(e,o)},e)))})]}),(0,i.jsx)(Av,{fullWidth:!0,sx:{mt:"10px"},value:l,onChange:e=>c(e.target.value),id:"outlined-basic",label:o.justification,variant:"outlined"})]})}),(0,i.jsxs)(Ud,{children:[(0,i.jsx)(wd,{onClick:()=>n&&n(),children:o.cancel}),(0,i.jsx)(wd,{disabled:!d(),onClick:()=>n&&n(d()),autoFocus:!0,children:u})]})]})}function Pv({onClose:e}){const t=vm((0,ki.useRouter)()),[n,o]=(0,r.useState)(bi.HELPFUL_COMMENT),[a,s]=(0,r.useState)(3);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Pd,{children:t.grantPoints}),(0,i.jsx)(Ld,{sx:{minWidth:"200px",pt:"6px !important"},children:(0,i.jsxs)(zd,{id:"alert-dialog-description",children:[(0,i.jsxs)(Km,{fullWidth:!0,children:[(0,i.jsx)(ig,{id:"cause-select-label",children:t.cause}),(0,i.jsx)(vv,{labelId:"cause-select-label",id:"reason-selec",value:n,label:t.cause,onChange:e=>{var t;const n=e.target.value;o(n),s(null!=(t=yi.get(n))?t:1)},children:Object.values(bi).map((e=>(0,i.jsx)(sf,{value:e,children:t[e]},e)))})]}),(0,i.jsx)(Av,{fullWidth:!0,sx:{mt:"10px"},value:a,onChange:e=>s(+e.target.value),label:t.points,type:"number",id:"num-points",variant:"outlined"})]})}),(0,i.jsxs)(Ud,{children:[(0,i.jsx)(wd,{onClick:()=>e&&e(),children:"Cancel"}),(0,i.jsx)(wd,{onClick:()=>e&&e({reason:n,numPoints:a}),autoFocus:!0,children:t.grantPoints})]})]})}function jv({menuContent:e,dialogContentCreator:t,onClose:n}){const[o,a]=(0,r.useState)(!1);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(sf,{onClick:()=>a(!0),children:e}),(0,i.jsx)(ru,{onClose:()=>{a(!1),n(null)},open:o,onKeyDown:e=>e.stopPropagation(),onKeyUp:e=>e.stopPropagation(),children:t((e=>{a(!1),n(e)}))})]})}function Iv({comment:e,canModerate:t,canEditComment:n,setEditingComment:o,onUpdate:a}){const s=vm((0,ki.useRouter)()),[l,c]=(0,r.useState)(null),u=Boolean(l),d=()=>{c(null)},p=se(e.hiddenStatus)||le(e.hiddenStatus),f=t&&!p,h=t&&p;function m(t){t&&async function(e){await zr(`/api/delete-comment/${e}`,"POST")}(e.commentId).then((e=>{a()}),(e=>alert(s.deleteFailure)))}function g(t,n){t&&async function(e,t,n){const r={commentId:e,hiddenStatus:t,hiddenJustification:n};await zr("/api/update-comment-state","POST",r)}(e.commentId,t.hiddenStatus,t.hiddenJustification).then((e=>{n()}),(e=>alert(s.updateFailure)))}function v(t,n){t&&async function(e,t,n){const r=Zr();return await Vt.post("/api/grant-points",{commentId:e,reason:n,points:t},{headers:r})}(e.commentId,t.numPoints,t.reason).then((e=>{n()}),(e=>alert(s.updateFailure)))}const b=t?(0,i.jsx)("sup",{children:(0,i.jsx)(Sm.Z,{sx:{fontSize:"14px"}})}):null;return(0,i.jsxs)("div",{style:{display:"inline",float:"right"},children:[(0,i.jsx)(bc,{id:"options-menu",sx:{p:"0px 12px"},onClick:e=>{e.stopPropagation(),c(e.currentTarget)},size:"small",children:(0,i.jsx)(Xd.Z,{fontSize:"small"})}),(0,i.jsxs)(Kp,{id:"comment-menu",anchorEl:l,open:u,onClose:d,MenuListProps:{"aria-labelledby":"basic-button"},children:[n&&(0,i.jsxs)(sf,{onClick:()=>{o(!0),d()},children:[(0,i.jsx)(Fm.Z,{}),"\xa0",s.edit]}),n&&(0,i.jsx)(jv,{menuContent:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Dm.Z,{}),"\xa0",s.delete]}),dialogContentCreator:e=>(0,i.jsx)(Tm,{textContent:s.deletePrompt,title:s.deleteTitle,okText:s.delete,onClose:e}),onClose:e=>{d(),m(e)}}),f&&(0,i.jsx)(jv,{menuContent:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Bm.Z,{}),"\xa0",s.hideBelow,b]}),dialogContentCreator:e=>(0,i.jsx)(Zv,{forSpam:!1,forUnhide:!1,onClose:e}),onClose:e=>{d(),g(e,a)}}),h&&(0,i.jsx)(jv,{menuContent:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(zm.Z,{}),"\xa0",s.unhide,b]}),dialogContentCreator:e=>(0,i.jsx)(Zv,{forSpam:!1,forUnhide:!0,onClose:e}),onClose:e=>{d(),g(e,a)}}),f&&(0,i.jsx)(jv,{menuContent:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Mm.Z,{}),"\xa0",s.spam,b]}),dialogContentCreator:e=>(0,i.jsx)(Zv,{forSpam:!0,forUnhide:!1,onClose:e}),onClose:e=>{d(),g(e,a)}}),t&&(0,i.jsx)(jv,{menuContent:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(qm.Z,{}),"\xa0",s.points,b]}),dialogContentCreator:e=>(0,i.jsx)(Pv,{onClose:e}),onClose:e=>{d(),v(e,a)}})]})]})}const Ov=6;function Lv({totalPoints:e,newPoints:t}){if(!e)return null;const n=(r=e)?r<5?1:r<15?2:r<30?3:r<100?4:r<300?5:6:0;var r;const o=360/Ov*((n+1)%Ov),a=`hsl(${o}deg 100% 30%)`,s=`hsl(${o}deg 42% 79%)`;return(0,i.jsx)(Fl,{title:(0,i.jsxs)(ne,{fontSize:"medium",children:[!!t&&(0,i.jsxs)(i.Fragment,{children:["Gained ",(0,i.jsxs)("b",{children:["+",t]}),"\xa0"]}),"Total karma: ",(0,i.jsx)("b",{style:{color:s},children:e})]}),children:(0,i.jsxs)("span",{style:{display:"inline-flex"},children:[(0,i.jsx)(Sm.Z,{sx:{color:a}}),(0,i.jsx)("span",{style:{color:a,fontSize:"13px",position:"absolute",top:"2px",left:"50%",transform:"translateX(-50%)",width:"max-content"},children:n})]})})}function Mv({comment:e,setEditingComment:t,setOpenReply:n,onUpdate:o}){const[a,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)(!1),[u,d]=(0,r.useState)(!1),p=vm((0,ki.useRouter)()),f=!(null==e||!e.isPrivate),h=null==e?void 0:e.hiddenStatus,m=!f&&(le(h)||se(h)),g=le(h)?"spam_status":"hidden_status";return(0,r.useEffect)((()=>{Fr().then((t=>{const n=null==t?void 0:t.userId,r=!!n;d(r),s(r&&n===(null==e?void 0:e.userId)),c(ce(n))}),(()=>s(!1)))}),[null==e?void 0:e.userId]),e.isDeleted?(0,i.jsx)("i",{className:ym.deleted_message,children:p.wasDeleted}):(0,i.jsxs)(ne,{display:"flex",justifyContent:"space-between",alignItems:"center",onClick:e=>e.stopPropagation(),children:[(0,i.jsxs)(ne,{display:"flex",alignItems:"center",children:[!f&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:ym.user_link,children:e.isAnonymous?(0,i.jsx)("i",{children:"Anonymous"}):e.userName}),(0,i.jsx)(Lv,{totalPoints:e.totalPoints,newPoints:e.pointsGranted}),"\xa0"]}),(0,i.jsx)(Lm,{timestampMs:1e3*(e.postedTimestampSec||0)}),e.isEdited&&(0,i.jsxs)("span",{style:{display:"inline",fontSize:"12px",color:"grey"},children:["\xa0\u2022 ",p.edited]}),u&&!f&&(0,i.jsxs)(i.Fragment,{children:["\xa0 \xa0",(0,i.jsxs)(wd,{onClick:()=>n(!0),size:"small",sx:{p:"0"},children:[(0,i.jsx)(km.Z,{}),"\xa0",p.reply]})]}),m&&(0,i.jsx)(Fl,{title:e.hiddenJustification,children:(0,i.jsx)("span",{className:ym[g],children:h})})]}),(0,i.jsx)(ne,{children:(l||a)&&(0,i.jsx)(Iv,{comment:e,canModerate:l,canEditComment:a,setEditingComment:t,onUpdate:o})})]})}function Dv({comment:e,onUpdate:t}){const[n,o]=(0,r.useState)(!1),[a,s]=(0,r.useState)(!1);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Mv,{comment:e,setEditingComment:s,setOpenReply:o,onUpdate:t}),(0,i.jsx)("div",{style:{display:"flex"},children:(0,i.jsx)("div",{className:ym.stretchy_div,children:!e.isDeleted&&(0,i.jsxs)("div",{children:[(0,i.jsx)(xm,{text:e.selectedText}),!a&&(0,i.jsx)("div",{style:{margin:"-1em 0 0"},children:(0,i.jsx)(Ff,{content:e.statement||""})}),(0,i.jsx)(bm,{hidden:!a,parentId:e.commentId,isPrivateNote:!!e.isPrivate,postAnonymously:e.isAnonymous,file:{archive:e.archive||"",filepath:e.filepath||""},existingComment:e,onCancel:()=>s(!1),onUpdate:()=>{s(!1),t&&t()}}),(0,i.jsx)(wm,{hidden:!n,parentId:e.commentId,isPrivateNote:!!e.isPrivate,file:{archive:e.archive||"",filepath:e.filepath||""},onCancel:()=>{o(!1);let{archive:t,filepath:n}=e;t=t||"",n=n||"",Wf({archive:t,filepath:n},e.commentId)},onUpdate:()=>{o(!1),t&&t()}})]})})})]})}const Fv=(0,eh.Z)((0,i.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}),"Refresh");function zv({comment:e,file:t,refreshComments:n}){return(0,i.jsxs)(i.Fragment,{children:[e&&(0,i.jsx)(Dv,{comment:e,onUpdate:n}),(0,i.jsx)(ne,{pl:"7px",ml:"3px",sx:{borderLeft:"2px solid #CCC"},children:(e.childComments||[]).map((e=>(0,i.jsx)(zv,{comment:e,file:t,refreshComments:n},e.commentId)))})]})}function Bv({comments:e,file:t,refreshComments:n}){return(0,i.jsx)(i.Fragment,{children:e.map((e=>(0,i.jsx)(zv,{comment:e,file:t,refreshComments:n},e.commentId)))})}function qv(e){return e?e.childComments?e.childComments.reduce(((e,t)=>e+qv(t)),1):1:0}function $v({file:e,startDisplay:t=!0,selectedText:n,selectedElement:o,allCommentsMode:a=!1}){const[,s]=(0,r.useReducer)((e=>e+1),0),l=vm((0,ki.useRouter)()),[c,u]=(0,r.useState)(null),d=Boolean(c),p=()=>{u(null)};function f(e){return()=>{p(),e()}}const h=(0,r.useRef)(new CommentFilters(s,a,a)).current,[m,g]=(0,r.useState)([]),[v,b]=(0,r.useState)(!1),[y,x]=(0,r.useState)(!1),[w,k]=(0,r.useState)(!1),S=function(e,t){if(!e)return[];const n={commentId:-1,isAnonymous:!1,isPrivate:!1};return n.childComments=e.map((e=>structuredClone(e))),t.filterHidden(n),n.childComments}(m,h),C=S.reduce(((e,t)=>e+qv(t)),0);(0,r.useEffect)((()=>{Fr().then((e=>{const t=null==e?void 0:e.userId;b(!!t),x(ce(t))}))}),[]),(0,r.useEffect)((()=>{zh(e).then((e=>g(e)))}),[null==e?void 0:e.archive,null==e?void 0:e.filepath,h]);const E=async()=>{k(!0);try{await Fh(),zh(e).then((e=>{g(e),k(!1)}))}catch(t){console.log(t),k(!1)}};return null==m&&t?(0,i.jsx)(F,{size:40}):(0,i.jsxs)("div",{hidden:null==m||!t,children:[(0,i.jsxs)("div",{className:ym.header,children:[(0,i.jsxs)("span",{style:{marginBottom:"2px"},children:[C," comments"]}),(0,i.jsxs)(ne,{children:[(0,i.jsx)(bc,{disabled:w,onClick:()=>E(),children:(0,i.jsx)(Fv,{})}),(0,i.jsx)(bc,{onClick:e=>{u(e.currentTarget)},sx:{p:"2px"},children:(0,i.jsx)(Ph.Z,{})})]})]}),(0,i.jsx)("hr",{style:{margin:"0 0 10px"}}),v&&!a&&(0,i.jsx)(wm,{placeholder:C?l.joinDiscussion:l.startDiscussion,parentId:0,file:e,isPrivateNote:!1,selectedText:n,selectedElement:o,onUpdate:()=>E(),onCancel:void 0}),(0,i.jsx)(Bv,{comments:S,file:e,refreshComments:()=>E()}),(0,i.jsxs)(Kp,{id:"filter-menu",anchorEl:c,open:d,onClose:p,children:[(0,i.jsxs)(sf,{onClick:f((()=>h.onShowHidden())),children:[h.showHidden?(0,i.jsx)(Nh.Z,{}):(0,i.jsx)(Zh.Z,{}),"\xa0",l.showHidden]}),y&&(0,i.jsxs)(sf,{onClick:f((()=>h.onShowSpam())),children:[h.showSpam?(0,i.jsx)(Nh.Z,{}):(0,i.jsx)(Zh.Z,{}),"\xa0",l.showSpam]})]})]})}function Uv({file:e,selectedText:t,selectedElement:n,allNotesMode:o=!1}){const a=vm((0,ki.useRouter)()),[s,l]=(0,r.useState)(void 0),[c,u]=(0,r.useState)([]),d=()=>{Fh().then((t=>{Bh(e).then((e=>u(e)))}))};return(0,r.useEffect)((()=>{Fr().then((e=>l(null==e?void 0:e.userId)))}),[]),(0,r.useEffect)((()=>{s&&Bh(e).then((e=>u(e)))}),[null==e?void 0:e.archive,null==e?void 0:e.filepath,s]),s?(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:ym.header,children:[(0,i.jsxs)("span",{style:{marginBottom:"2px"},children:[c.length," notes"]}),(0,i.jsx)(ne,{children:(0,i.jsx)(bc,{onClick:()=>d(),children:(0,i.jsx)(Fv,{})})})]}),(0,i.jsx)("hr",{style:{margin:"0 0 15px"}}),!o&&(0,i.jsx)(wm,{placeholder:a.createPrivate,parentId:0,file:e,isPrivateNote:!0,selectedText:t,selectedElement:n,onUpdate:()=>d(),onCancel:void 0}),c.map((e=>(0,i.jsx)(Dv,{comment:e,onUpdate:()=>d()},e.commentId)))]}):(0,i.jsx)(ne,{m:"10px",children:(0,i.jsx)("i",{children:(0,i.jsx)("a",{href:"/login?target="+encodeURIComponent(window.location.href),style:{textDecoration:"underline"},children:(0,i.jsx)("b",{children:a.loginForNotes})})})})}const Hv=["children","value","index"];function Vv(e){const{children:t,value:n,index:r}=e,o=(0,u.Z)(e,Hv);return(0,i.jsx)("div",Object.assign({role:"tabpanel",hidden:n!==r},o,{children:n===r&&(0,i.jsx)(ne,{p:"0 15px 0",children:(0,i.jsx)(Td,{children:t})})}))}function Wv({file:e,defaultPrivate:t,selectedText:n,selectedElement:o,allNotesMode:a=!1,extraPanel:s}){const l=vm((0,ki.useRouter)()),[c,u]=(0,r.useState)(s?2:t?0:1);return(0,i.jsxs)(ne,{children:[(0,i.jsx)(ne,{children:(0,i.jsxs)(wh,{value:c,onChange:(e,t)=>{u(t)},sx:{"& .MuiTab-root":{fontWeight:"bold",":hover":{background:"#DDD"},background:"#DDD",borderRadius:"10px 10px 0 0",borderBottom:`2px solid ${er}`,borderTop:"2px solid #AAA",borderLeft:"2px solid #AAA",borderRight:"2px solid #AAA"},"& .MuiTabs-indicator":{backgroundColor:"#FFFFFF00 !important"},"& .Mui-selected":{background:"white !important",borderTop:`2px solid ${er} !important`,borderLeft:`2px solid ${er} !important`,borderRight:`2px solid ${er} !important`,borderBottom:"2px solid white !important"}},children:[(0,i.jsx)(_h,{sx:{flexGrow:"1"},label:(0,i.jsxs)(ne,{display:"flex",alignItems:"center",children:[(0,i.jsx)(Ah.Z,{sx:{fontSize:"28px"}}),(0,i.jsx)("sup",{style:{margin:"-5px 5px 0 -7px"},children:(0,i.jsx)(Rh.Z,{sx:{fontSize:"11px"}})}),l.myNotes]})}),(0,i.jsx)(_h,{sx:{flexGrow:"1"},label:(0,i.jsxs)(ne,{display:"flex",alignItems:"center",children:[(0,i.jsx)(Th.Z,{sx:{mr:"5px"}}),l.comments]})}),s&&(0,i.jsx)(_h,{sx:{flexGrow:"1"},label:s.label})]})}),(0,i.jsx)(Vv,{value:c,index:0,children:(0,i.jsx)(Uv,{file:e,selectedText:n,selectedElement:o,allNotesMode:a})}),(0,i.jsx)(Vv,{value:c,index:1,children:(0,i.jsx)($v,{file:e,selectedText:n,selectedElement:o,allCommentsMode:a})}),s&&(0,i.jsx)(Vv,{value:c,index:2,children:s.panelContent})]})}function Gv(e){return{zIndex:"1",color:"grey",backgroundColor:e,mb:"3px","&:hover":{backgroundColor:e,boxShadow:"#0005 0px 3px 7px"}}}function Kv({numNotes:e}){return(0,i.jsxs)("span",{children:[(0,i.jsx)(df.Z,{sx:{color:"white"},fontSize:"small"}),(0,i.jsx)("span",{style:{color:"#4d97dd",fontSize:"10px",position:"absolute",background:"white",borderRadius:"20px",padding:"1px",top:"-2px",right:"-4px"},children:e<10?(0,i.jsxs)(i.Fragment,{children:["\xa0",e,"\xa0"]}):e})]})}function Xv({numComments:e}){return(0,i.jsxs)("span",{style:{display:"inline-flex"},children:[(0,i.jsx)(uf.Z,{sx:{color:"white"},fontSize:"small"}),(0,i.jsx)("span",{style:{color:"#4d97dd",fontSize:"10px",position:"absolute",top:"3px",left:"50%",transform:"translateX(-50%)",width:"max-content"},children:e})]})}function Qv({url:e=""}){const{archive:t,filepath:n}=ir(e),[o,a]=(0,r.useState)(0),[s,l]=(0,r.useState)(0),[c,u]=(0,r.useState)(!1),[d,p]=(0,r.useState)(!0),[f,h]=(0,r.useState)(void 0),[m,g]=(0,r.useState)(void 0),v=vm((0,ki.useRouter)());return(0,r.useEffect)((()=>{t&&n?(zh({archive:t,filepath:n}).then((e=>{a(Uf(e)),h(null==e?void 0:e[0])})),Bh({archive:t,filepath:n}).then((e=>{l(Uf(e)),g(null==e?void 0:e[0])}))):a(0)}),[t,n,c]),t&&n?(0,i.jsxs)(ne,{children:[s>0&&(0,i.jsx)(Fl,{title:(0,i.jsxs)(ne,{children:[(0,i.jsx)(Ff,{content:(null==m?void 0:m.statement)||""}),s>1?"..and more":""]}),placement:"left-start",children:(0,i.jsx)(bc,{onClick:()=>{p(!0),u(!0)},sx:Gv("#4d97dd"),children:(0,i.jsx)(Kv,{numNotes:s})})}),(!s||o>0)&&(0,i.jsx)(Fl,{title:o>0?(0,i.jsxs)(ne,{children:[(0,i.jsx)("b",{children:null==f?void 0:f.userName}),"\xa0",(0,i.jsx)("i",{children:"says:"}),(0,i.jsx)(Ff,{content:(null==f?void 0:f.statement)||""}),o>1?v.andMore:""]}):(0,i.jsxs)("span",{children:[v.addToSlide,(0,i.jsx)("br",{}),v.selectionSuggestion]}),placement:"left-start",children:(0,i.jsx)(bc,{onClick:()=>{p(!1),u(!0)},sx:Gv(o>0?"#4d97dd":"white"),children:o>0?(0,i.jsx)(Xv,{numComments:o}):(0,i.jsx)(cf.Z,{fontSize:"small"})})}),c&&(0,i.jsxs)(ru,{onClose:()=>u(!1),open:c,maxWidth:"lg",children:[(0,i.jsx)(Wv,{defaultPrivate:d,file:{archive:t,filepath:n}}),(0,i.jsx)(Ud,{sx:{p:"0"},children:(0,i.jsx)(wd,{onClick:()=>u(!1),children:v.close})})]})]}):null}const Yv=(0,r.createContext)({docFragManager:void 0,sectionLocs:{},addSectionLoc:e=>{}});function Jv({contentUrl:e,topOffset:t,sectionLocs:n}){return(0,i.jsxs)(ne,{width:"40px",position:"relative",children:[(0,i.jsx)(Qv,{url:e}),Object.entries(n||{}).map((e=>(0,i.jsx)(ne,{position:"absolute",top:e[1]-t+"px",children:(0,i.jsx)(Qv,{url:e[0]})},e[0])))]})}function eb(e){const[t,n]=(0,r.useState)(!1),o=new IntersectionObserver((([e])=>n(e.isIntersecting)));return(0,r.useEffect)((()=>{if(null!=e&&e.current)return o.observe(e.current),()=>{o.disconnect()}}),[]),t}var tb=n(9208);function nb(e){return(0,E.Z)("MuiCard",e)}(0,C.Z)("MuiCard",["root"]);const rb=["className","raised"],ob=(0,S.ZP)(Ni,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({overflow:"hidden"}))),ib=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiCard"}),{className:r,raised:o=!1}=n,a=(0,u.Z)(n,rb),s=(0,d.Z)({},n,{raised:o}),l=(e=>{const{classes:t}=e;return(0,f.Z)({root:["root"]},nb,t)})(s);return(0,i.jsx)(ob,(0,d.Z)({className:(0,p.Z)(l.root,r),elevation:o?8:void 0,ref:t,ownerState:s},a))})),ab=(0,eh.Z)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),sb=(0,eh.Z)((0,i.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),lb=(0,S.ZP)("span")({position:"relative",display:"flex"}),cb=(0,S.ZP)(ab)({transform:"scale(1)"}),ub=(0,S.ZP)(sb)((({theme:e,ownerState:t})=>(0,d.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));const db=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=(0,d.Z)({},e,{checked:t});return(0,i.jsxs)(lb,{className:n.root,ownerState:o,children:[(0,i.jsx)(cb,{fontSize:r,className:n.background,ownerState:o}),(0,i.jsx)(ub,{fontSize:r,className:n.dot,ownerState:o})]})};var pb=n(5209);const fb=r.createContext(void 0);function hb(e){return(0,E.Z)("MuiRadio",e)}const mb=(0,C.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),gb=["checked","checkedIcon","color","icon","name","onChange","size","className"],vb=(0,S.ZP)(rm,{shouldForwardProp:e=>(0,S.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,w.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,d.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ei.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${mb.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${mb.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const bb=(0,i.jsx)(db,{checked:!0}),yb=(0,i.jsx)(db,{}),xb=r.forwardRef((function(e,t){var n,o;const a=(0,k.Z)({props:e,name:"MuiRadio"}),{checked:s,checkedIcon:l=bb,color:c="primary",icon:h=yb,name:m,onChange:g,size:v="medium",className:b}=a,y=(0,u.Z)(a,gb),x=(0,d.Z)({},a,{color:c,size:v}),S=(e=>{const{classes:t,color:n}=e,r={root:["root",`color${(0,w.Z)(n)}`]};return(0,d.Z)({},t,(0,f.Z)(r,hb,t))})(x),C=r.useContext(fb);let E=s;const _=(0,pb.Z)(g,C&&C.onChange);let T=m;var A,R;return C&&(void 0===E&&(A=C.value,E="object"==typeof(R=a.value)&&null!==R?A===R:String(A)===String(R)),void 0===T&&(T=C.name)),(0,i.jsx)(vb,(0,d.Z)({type:"radio",icon:r.cloneElement(h,{fontSize:null!=(n=yb.props.fontSize)?n:v}),checkedIcon:r.cloneElement(l,{fontSize:null!=(o=bb.props.fontSize)?o:v}),ownerState:x,classes:S,name:T,checked:E,onChange:_,ref:t,className:(0,p.Z)(S.root,b)},y))}));function wb(e){return(0,E.Z)("MuiFormGroup",e)}(0,C.Z)("MuiFormGroup",["root","row","error"]);const kb=["className","row"],Sb=(0,S.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})((({ownerState:e})=>(0,d.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),Cb=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiFormGroup"}),{className:r,row:o=!1}=n,a=(0,u.Z)(n,kb),s=Gh({props:n,muiFormControl:Hh(),states:["error"]}),l=(0,d.Z)({},n,{row:o,error:s.error}),c=(e=>{const{classes:t,row:n,error:r}=e,o={root:["root",n&&"row",r&&"error"]};return(0,f.Z)(o,wb,t)})(l);return(0,i.jsx)(Sb,(0,d.Z)({className:(0,p.Z)(c.root,r),ownerState:l,ref:t},a))})),Eb=["actions","children","defaultValue","name","onChange","value"],_b=r.forwardRef((function(e,t){const{actions:n,children:o,defaultValue:a,name:s,onChange:l,value:c}=e,p=(0,u.Z)(e,Eb),f=r.useRef(null),[h,m]=(0,Tl.Z)({controlled:c,default:a,name:"RadioGroup"});r.useImperativeHandle(n,(()=>({focus:()=>{let e=f.current.querySelector("input:not(:disabled):checked");e||(e=f.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const g=(0,Pa.Z)(t,f),v=(0,El.Z)(s),b=r.useMemo((()=>({name:v,onChange(e){m(e.target.value),l&&l(e,e.target.value)},value:h})),[v,l,m,h]);return(0,i.jsx)(fb.Provider,{value:b,children:(0,i.jsx)(Cb,(0,d.Z)({role:"radiogroup",ref:g},p,{children:o}))})})),Tb={option:"quiz_option__-+RmH",option_unsubmitted_selected:"quiz_option_unsubmitted_selected__TRVzN",option_relevant:"quiz_option_relevant__imYN9",option_not_relevant:"quiz_option_not_relevant__L2wPj",correct:"quiz_correct__-zvSY",incorrect:"quiz_incorrect__ifAG+",got_right:"quiz_got_right__L0mT8",missed:"quiz_missed__CJgU1"};function Ab({children:e,forceWidthUpdate:t}){const[n,o]=(0,r.useState)(600),a=(0,r.useRef)(null);return(0,r.useEffect)((()=>{function e(){var e;const t=null==a||null==(e=a.current)?void 0:e.clientWidth;if(!t)return;o(Math.min(t-10,900))}return e(),null==Yn||Yn.addEventListener("resize",e),()=>null==Yn?void 0:Yn.removeEventListener("resize",e)}),[t]),(0,i.jsx)(ne,{ref:a,style:{"--document-width":`${n}px`},children:e})}function Rb(e){return(0,i.jsx)(xb,Object.assign({disableRipple:!0,color:"default"},e))}function Nb(e,t){return t?e:function(e){const t=new esm_DomHandler,n=new Parser_Parser(t);n.write(e),n.end();const r=e=>{var t;if(e.attribs){for(const n of Mu)if(e.attribs[n])return null;const t=e.attribs.class;null!=t&&t.includes("symcomp")&&(e.attribs.class=t.replace("symcomp"," "));for(const n of Ou)e.attribs[n]&&(e.attribs[n]="REDACTED");for(const n of Lu)e.attribs[n]&&delete e.attribs[n]}return Du.some((t=>{var n;return null==(n=e.attribs)?void 0:n[t]}))?(e.children=[],e):(e.children=null==(t=e.children)?void 0:t.map(r).filter(Boolean),e)};return Vn(t.dom.map((e=>r(e))))}(e)}function Zb(e,t,n){let r=Tb.option;const o=n===xi.TRUE;r+=" "+(e||t&&!e&&o?Tb.option_relevant:Tb.option_not_relevant);const i=n===xi.UNKNOWN;return t?i||(o?(r+=" "+Tb.correct,r+=" "+(e?Tb.got_right:Tb.missed)):e&&(r+=" "+Tb.missed),e&&!o&&(r+=" "+Tb.incorrect)):e&&(r+=" "+Tb.option_unsubmitted_selected),r}function Pb(e,t,n){if(!t||n===xi.UNKNOWN)return"";if(n===xi.TRUE){return Tb.correct+" "+(e?Tb.got_right:Tb.missed)}return e?Tb.incorrect:""}function jb(e,t,n){if(e)switch(t.type){case wi.FILL_IN:return function(e,t){const n=e.fillInSolution;if(!n)return{isCorrect:xi.UNKNOWN,feedbackHtml:""};const r=Au(n,t.filledInAnswer)===xi.TRUE,o=r?"Correct!":`The correct answer is ${n}`;return{isCorrect:r?xi.TRUE:xi.FALSE,feedbackHtml:o}}(t,n);case wi.SCQ:return function(e,t){var n;const{singleOptionIdx:r}=t,o=(e.options||[]).find((e=>e.optionId===r));if(!o)return{isCorrect:xi.FALSE,feedbackHtml:"Wrong!"};const i=o.shouldSelect;if(i===xi.UNKNOWN)return{isCorrect:i,feedbackHtml:""};let a=null==o?void 0:o.feedbackHtml;return!o||null!=(n=a)&&n.length||(a=i===xi.TRUE?"Correct!":"Wrong!"),{isCorrect:i,feedbackHtml:a}}(t,n);case wi.MCQ:default:return}}function Ib({points:e}){return(0,i.jsx)(Td,{variant:"h6",sx:{display:"flex",justifyContent:"flex-end"},children:(0,i.jsxs)("b",{children:[e," pt"]})})}function Ob({isCorrect:e,feedbackHtml:t}){return e===xi.UNKNOWN?null:(0,i.jsx)(ne,{display:"block",padding:"3px 10px",mb:"5px",bgcolor:e===xi.TRUE?"#a3e9a0":"#f39797",borderRadius:"10px",children:(0,i.jsx)("span",{style:{display:"inline",textAlign:"center",fontSize:"20px"},children:Hy(t)})})}function Lb({inline:e,info:t}){if(!t)return null;const{isCorrect:n,feedbackHtml:r}=t;return n===xi.UNKNOWN?null:e?(0,i.jsx)(Ay,{title:(0,i.jsx)(Ob,{isCorrect:n,feedbackHtml:r}),children:(0,i.jsx)(tb.Z,{})}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(Ob,{isCorrect:n,feedbackHtml:r})})}function Mb({problem:e,isFrozen:t,r:n,showPoints:r=!0,onResponseUpdate:o,onFreezeResponse:a}){var s;const l=au((0,ki.useRouter)()).quiz;if(!e)return(0,i.jsx)(F,{});const c=e.inputs.map(((e,r)=>function({input:e,response:t,isFrozen:n,onUpdate:r}){const{type:o,inline:a}=e,s=jb(n,e,t);var l,c;if(o===wi.SCQ)return a?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(vv,{name:"customized-select",value:t.singleOptionIdx||"-1",onChange:e=>{r({type:wi.SCQ,singleOptionIdx:e.target.value})},children:[(0,i.jsx)(sf,{value:"-1",disabled:!0,children:(0,i.jsx)("i",{style:{color:"gray"},children:"Choose"})},"-1"),(e.options||[]).map((({optionId:e,value:r,shouldSelect:o})=>(0,i.jsx)(sf,{value:e,children:(0,i.jsx)(ne,{display:"inline",className:Pb(t.singleOptionIdx===e,n,o),children:r.outerHTML?Hy(Nb(r.outerHTML,n)):r.textContent})},e)))]}),(0,i.jsx)(Lb,{inline:a,info:s})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(_b,{name:"customized-radios",value:null!=(l=t.singleOptionIdx)?l:"",onChange:e=>{n||r({type:wi.SCQ,singleOptionIdx:e.target.value})},children:(e.options||[]).map((({optionId:e,shouldSelect:r,value:o})=>(0,i.jsx)(Yh,{value:e,control:(0,i.jsx)(Rb,{}),className:Zb(t.singleOptionIdx===e,n,r),label:(0,i.jsx)(ne,{display:"inline",children:o.outerHTML?Hy(Nb(o.outerHTML,n)):o.textContent})},e)))}),(0,i.jsx)(Lb,{inline:a,info:s})]});if(o===wi.FILL_IN){const o=n&&e.fillInSolution?null!=s&&s.isCorrect?"green":"red":void 0;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Av,{label:"Answer",value:t.filledInAnswer,onChange:e=>r({type:wi.FILL_IN,filledInAnswer:e.target.value}),disabled:n,sx:{color:o,display:a?void 0:"block",mb:!a&&n?"10px":void 0,minWidth:"250px"},variant:"outlined",fullWidth:!a}),(0,i.jsx)(Lb,{inline:a,info:s})]})}return o===wi.MCQ?(0,i.jsxs)(ne,{display:"inline-flex",flexDirection:"column",width:"100%",children:[null==(c=e.options)?void 0:c.map((({optionId:e,value:o,shouldSelect:a})=>{var s,l,c,u;return(0,i.jsx)(Yh,{className:Zb(null!=(s=null==(l=t.multipleOptionIdxs)?void 0:l[e])&&s,n,a),control:(0,i.jsx)(hm,{checked:null!=(c=null==(u=t.multipleOptionIdxs)?void 0:u[e])&&c,onChange:n=>{t.multipleOptionIdxs||(console.error("Error: multipleOptionIdxs is undefined"),t.multipleOptionIdxs={}),t.multipleOptionIdxs[e]=n.target.checked,r({type:wi.MCQ,multipleOptionIdxs:t.multipleOptionIdxs})}}),label:(0,i.jsx)(ne,{display:"inline",children:o.outerHTML?Hy(Nb(o.outerHTML,n)):o.textContent})},e)})),(0,i.jsx)(Lb,{inline:a,info:s})]}):void 0}({input:e,response:n.responses[r],isFrozen:t,onUpdate:e=>{t||(n.responses[r]=e,o(Object.assign({},n)))}}))),u=Object.assign(c),d=Nb(null!=(s=e.statement.outerHTML)?s:"",t);return(0,i.jsx)(ib,{sx:{backgroundColor:"hsl(210, 20%, 95%)",border:"1px solid #CCC",p:"10px",userSelect:"none"},children:(0,i.jsxs)(ne,{fontSize:"20px",children:[r&&(0,i.jsx)(Ib,{points:e.points}),(0,i.jsx)(Ty.Provider,{value:{items:u},children:(0,i.jsx)(Ab,{children:Hy(d)})}),a&&!t&&(0,i.jsx)(wd,{onClick:()=>a(),variant:"contained",children:l.checkSolution})]})})}function Db(e){const{type:t}=e;switch(t){case wi.FILL_IN:return{type:t,filledInAnswer:""};case wi.MCQ:return{type:t,multipleOptionIdxs:{}};case wi.SCQ:return{type:t,singleOptionIdx:""}}return{type:t}}function Fb(e){var t;if(null==e||null==(t=e.inputs)||!t.length)return{responses:[]};const n=[];for(const r of e.inputs)n.push(Db(r));return{responses:n}}function zb({problem:e}){const[t,n]=(0,r.useState)(!1),[o,a]=(0,r.useState)(Fb(e));return(0,r.useEffect)((()=>{a(Fb(e))}),[e,null==e?void 0:e.inputs]),(0,i.jsx)(Mb,{problem:e,isFrozen:t,r:o,showPoints:!1,onResponseUpdate:a,onFreezeResponse:()=>n(!0)})}var Bb=n(7283),qb=n(8781);var $b=n(2874);const Ub=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Hb(e,t,n){var r;const o=function(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),i=(0,Ap.Z)(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const e=i.getComputedStyle(t);a=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"==typeof a){const e=a.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?o?`translateX(${o.right+s-r.left}px)`:`translateX(${i.innerWidth+s-r.left}px)`:"right"===e?o?`translateX(-${r.right-o.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:"up"===e?o?`translateY(${o.bottom+l-r.top}px)`:`translateY(${i.innerHeight+l-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}(e,t,"function"==typeof(r=n)?r():r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const Vb=r.forwardRef((function(e,t){const n=ga(),o={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:s,appear:l=!0,children:c,container:p,direction:f="down",easing:h=o,in:m,onEnter:g,onEntered:v,onEntering:b,onExit:y,onExited:x,onExiting:w,style:k,timeout:S=a,TransitionComponent:C=Ra}=e,E=(0,u.Z)(e,Ub),_=r.useRef(null),T=(0,Pa.Z)(c.ref,_,t),A=e=>t=>{e&&(void 0===t?e(_.current):e(_.current,t))},R=A(((e,t)=>{Hb(f,e,p),Na(e),g&&g(e,t)})),N=A(((e,t)=>{const r=Za({timeout:S,style:k,easing:h},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",(0,d.Z)({},r)),e.style.transition=n.transitions.create("transform",(0,d.Z)({},r)),e.style.webkitTransform="none",e.style.transform="none",b&&b(e,t)})),Z=A(v),P=A(w),j=A((e=>{const t=Za({timeout:S,style:k,easing:h},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),Hb(f,e,p),y&&y(e)})),I=A((e=>{e.style.webkitTransition="",e.style.transition="",x&&x(e)})),O=r.useCallback((()=>{_.current&&Hb(f,_.current,p)}),[f,p]);return r.useEffect((()=>{if(m||"down"===f||"right"===f)return;const e=(0,Tp.Z)((()=>{_.current&&Hb(f,_.current,p)})),t=(0,Ap.Z)(_.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[f,m,p]),r.useEffect((()=>{m||O()}),[m,O]),(0,i.jsx)(C,(0,d.Z)({nodeRef:_,onEnter:R,onEntered:Z,onEntering:N,onExit:j,onExited:I,onExiting:P,addEndListener:e=>{s&&s(_.current,e)},appear:l,in:m,timeout:S},E,{children:(e,t)=>r.cloneElement(c,(0,d.Z)({ref:T,style:(0,d.Z)({visibility:"exited"!==e||m?void 0:"hidden"},k,c.props.style)},t))}))}));function Wb(e){return(0,E.Z)("MuiDrawer",e)}(0,C.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const Gb=["BackdropProps"],Kb=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Xb=(e,t)=>{const{ownerState:n}=e;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]},Qb=(0,S.ZP)(Gc,{name:"MuiDrawer",slot:"Root",overridesResolver:Xb})((({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),Yb=(0,S.ZP)("div",{shouldForwardProp:S.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Xb})({flex:"0 0 auto"}),Jb=(0,S.ZP)(Ni,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${(0,w.Z)(n.anchor)}`],"temporary"!==n.variant&&t[`paperAnchorDocked${(0,w.Z)(n.anchor)}`]]}})((({theme:e,ownerState:t})=>(0,d.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===t.anchor&&{left:0},"top"===t.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===t.anchor&&{right:0},"bottom"===t.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===t.anchor&&"temporary"!==t.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===t.anchor&&"temporary"!==t.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===t.anchor&&"temporary"!==t.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===t.anchor&&"temporary"!==t.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`}))),ey={left:"right",right:"left",top:"down",bottom:"up"};const ty=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiDrawer"}),o=ga(),a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:l,children:c,className:h,elevation:m=16,hideBackdrop:g=!1,ModalProps:{BackdropProps:v}={},onClose:b,open:y=!1,PaperProps:x={},SlideProps:S,TransitionComponent:C=Vb,transitionDuration:E=a,variant:_="temporary"}=n,T=(0,u.Z)(n.ModalProps,Gb),A=(0,u.Z)(n,Kb),R=r.useRef(!1);r.useEffect((()=>{R.current=!0}),[]);const N=function(e,t){return"rtl"===e.direction&&function(e){return-1!==["left","right"].indexOf(e)}(t)?ey[t]:t}(o,s),Z=s,P=(0,d.Z)({},n,{anchor:Z,elevation:m,open:y,variant:_},A),j=(e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,w.Z)(n)}`,"temporary"!==r&&`paperAnchorDocked${(0,w.Z)(n)}`]};return(0,f.Z)(o,Wb,t)})(P),I=(0,i.jsx)(Jb,(0,d.Z)({elevation:"temporary"===_?m:0,square:!0},x,{className:(0,p.Z)(j.paper,x.className),ownerState:P,children:c}));if("permanent"===_)return(0,i.jsx)(Yb,(0,d.Z)({className:(0,p.Z)(j.root,j.docked,h),ownerState:P,ref:t},A,{children:I}));const O=(0,i.jsx)(C,(0,d.Z)({in:y,direction:ey[N],timeout:E,appear:R.current},S,{children:I}));return"persistent"===_?(0,i.jsx)(Yb,(0,d.Z)({className:(0,p.Z)(j.root,j.docked,h),ownerState:P,ref:t},A,{children:O})):(0,i.jsx)(Qb,(0,d.Z)({BackdropProps:(0,d.Z)({},l,v,{transitionDuration:E}),className:(0,p.Z)(j.root,j.modal,h),open:y,ownerState:P,onClose:b,hideBackdrop:g,ref:t},A,T,{children:O}))})),ny=(0,r.createContext)({offset:0,inDrawer:!1}),ry="300px";function oy({staticContent:e,children:t}){const{offset:n,inDrawer:o}=(0,r.useContext)(ny),a=(0,i.jsx)(ne,{sx:{border:"2px solid #CCC",fontFamily:"Open Sans,Verdana,sans-serif"},children:e}),s=(0,i.jsxs)(i.Fragment,{children:[t,(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{})]});return o?(0,i.jsxs)(ne,{maxHeight:"100vh",maxWidth:"400px",display:"flex",flexDirection:"column",children:[a,(0,i.jsx)(ne,{sx:{overflowY:"scroll",overflowX:"hidden"},children:s})]}):(0,i.jsx)(ne,{className:Hd.dash_outer_box,children:(0,i.jsxs)(ne,{className:Hd.dash_inner_box,mt:`${n}px`,children:[a,(0,i.jsx)(ne,{className:Hd.dash_scroll_area_box,children:(0,i.jsx)(ne,{sx:{overflowX:"hidden"},children:s})})]})})}function iy({menu:e,children:t,showDashboard:n,setShowDashboard:o,topOffset:a,drawerAnchor:s="left",noFrills:l=!1}){const[c,u]=(0,r.useState)(0),[d,p]=(0,r.useState)(a);(0,r.useEffect)((()=>{const e=()=>p(Math.max(a-((null==Yn?void 0:Yn.pageYOffset)||0),0));return window.removeEventListener("scroll",e),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)}),[a]),(0,r.useEffect)((()=>{u((null==Yn?void 0:Yn.innerWidth)||0),null==Yn||Yn.addEventListener("resize",(function(){u((null==Yn?void 0:Yn.innerWidth)||0)}))}),[]);const f=rr(c);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ty,{anchor:s,open:f&&n,onClose:()=>o(!1),children:(0,i.jsx)(ny.Provider,{value:{offset:d,inDrawer:!0},children:e})}),!n&&!l&&(0,i.jsx)(ne,{sx:{position:"fixed",top:f?void 0:`${d+10}px`,bottom:f?"20px":void 0,left:"left"===s?"5px":void 0,right:"right"===s?"5px":void 0,zIndex:1e3},children:(0,i.jsx)(bc,{sx:{border:`2px solid ${er}`,borderRadius:"500px",color:er,backgroundColor:"white",boxShadow:"0px 8px 15px rgba(0, 0, 0, 0.5)",transition:"all 0.3s ease 0s",":hover":{boxShadow:"0px 15px 20px rgba(0, 0, 0, 0.4)",transform:"translateY(1px)",backgroundColor:"white"}},onClick:()=>o(!0),children:(0,i.jsx)($b.Z,{})})}),(0,i.jsxs)(ne,{display:"flex",flexDirection:"left"===s?"row":"row-reverse",children:[!f&&n&&(0,i.jsx)(ne,{width:ry,minWidth:ry,sx:{overflowY:"auto"},children:(0,i.jsx)(ny.Provider,{value:{offset:d,inDrawer:!1},children:e})}),(0,i.jsx)(ne,{flex:1,width:!f&&n?`calc(100% - ${ry})`:"100%",sx:{backgroundColor:Kn},margin:"0 5px",children:t})]})]})}function ay({idx:e,listSize:t,onChange:n}){const{quiz:r}=au((0,ki.useRouter)());return t<=1?null:(0,i.jsxs)(ne,{children:[(0,i.jsxs)(wd,{onClick:()=>n(e-1),disabled:e<=0,size:"small",variant:"contained",sx:{mr:"10px"},children:[(0,i.jsx)(Bb.Z,{}),r.prev]}),(0,i.jsxs)(wd,{onClick:()=>n(e+1),disabled:e>=t-1,size:"small",variant:"contained",children:[r.next,(0,i.jsx)(qb.Z,{})]})]})}function sy({archive:e,filepath:t}){const n=au((0,ki.useRouter)()).quiz,{mmtUrl:o}=(0,r.useContext)(dw),[a,s]=(0,r.useState)([]),[l,c]=(0,r.useState)([]),[u,d]=(0,r.useState)(0),[p,f]=(0,r.useState)([]),[,h]=(0,r.useReducer)((e=>e+1),0),[m,g]=(0,r.useState)(!1),{renderOptions:v}=(0,r.useContext)(Vd);if((0,r.useEffect)((()=>{e&&t&&!v.noFrills&&async function(e,t,n){const r=`${e}/:sTeX/query/problems?archive=${t}&filepath=${n}`,o=(await Vt.get(r)).data;if(null==o||!o.length)return[];const i=new Set;for(const{problems:a}of o)a.forEach(i.add,i);return[...i]}(o,e,t).then((async e=>{console.log("problemsUrl",e);const t=e.map((e=>async function(e,t){const n=`${e}/:sTeX/loraw?${t}`;return(await Vt.get(n)).data}(o,e))),n=await Promise.all(t);console.log("problems loaded",n.length);const r=n.map((e=>ju(Iu(e),"")));s(r),c(r.map((e=>Fb(e)))),f(r.map((()=>!1)))}),console.error)}),[e,t,o,v.noFrills]),!a.length||v.noFrills)return null;const b=a[u],y=l[u];return m?(0,i.jsxs)(ne,{px:"10px",maxWidth:"800px",m:"auto",bgcolor:"white",border:"1px solid #CCC",borderRadius:"5px",children:[(0,i.jsx)(ne,{display:"flex",justifyContent:"space-between",alignItems:"center",children:(0,i.jsxs)("h2",{children:[n.problem," ",u+1," ",n.of," ",a.length,"\xa0",b.header&&(0,i.jsxs)(i.Fragment,{children:["(",Hy(b.header),")"]})]})}),(0,i.jsx)(ay,{idx:u,listSize:a.length,onChange:e=>d(e)}),(0,i.jsx)(ne,{my:"10px",children:(0,i.jsx)(Mb,{r:y,problem:b,isFrozen:p[u],onResponseUpdate:e=>{h(),c((t=>(t[u]=e,t)))},onFreezeResponse:()=>f((e=>(e[u]=!0,[...e])))})})]}):(0,i.jsxs)(wd,{onClick:()=>g(!0),variant:"contained",children:["Quiz Questions For Above Section (",a.length," problems)"]})}const ly=(0,r.createContext)([]),cy="STOP_EXPANSION";function uy(e){return"undefined"==typeof window?"":window.location.origin+window.location.pathname+"?inDocPath="+e.join(Ci)}function dy({contentUrl:e,staticContent:t,defaultOpen:n=!1,title:o,htmlTitle:a,noFurtherExpansion:s=!1}){const l=hr(ir(e||"")),[c,u]=(0,r.useState)(n),[d,p]=(0,r.useState)(n),f=(0,r.useContext)(ly),h=[...f,l];s&&h.push(cy);const m=(g=a)?or(Vn(g)):"";var g;const v=!s&&(!m||m.startsWith("http")),{renderOptions:{allowFolding:b}}=(0,r.useContext)(Vd),{docFragManager:y,addSectionLoc:x}=(0,r.useContext)(Yv),{archive:w,filepath:k}=ir(null!=e?e:""),S=di(ui(w,k,null==y?void 0:y.docSections)),C=(0,r.useRef)(),E=(e=>{const[t,n]=(0,r.useState)(),o=()=>{var t;return n(null==(t=e.current)?void 0:t.getBoundingClientRect())},i=(e,t)=>{(0,r.useEffect)((()=>(o(),window.addEventListener(e,o,t),()=>window.removeEventListener(e,o,t))),[])};return i("resize"),i("scroll",!0),t})(C),_=eb(C);(0,r.useEffect)((()=>{if(_&&!c){if(null!=y&&y.skipExpandLoc(e))return void console.log("skipping due to scroll: "+e);p(!0),u(!0)}}),[c,_,null==y?void 0:y.isScrolling]),(0,r.useEffect)((()=>{e&&(null==y||y.reportLoadedFragment(e,c,null==C?void 0:C.current))}),[h,c,null==C?void 0:C.current]);const T=e=>{e.stopPropagation(),u(!0),p((e=>!e))},A=E&&!Xn?E.top+window.scrollY:void 0;return(0,r.useEffect)((()=>{e&&A&&x({contentUrl:e,positionFromTop:A})}),[e,A,x]),f.includes(cy)?null:v&&!t?(0,i.jsx)(ErrorBoundary,{hidden:!1,children:(0,i.jsx)(ne,{ref:C,children:(0,i.jsx)(cd,{url:null!=e?e:"",modifyRendered:ur,minLoadingHeight:"1000px"})})}):(0,i.jsx)(ErrorBoundary,{hidden:!1,children:(0,i.jsxs)(ne,{m:"4px 0",ref:C,minHeight:c?void 0:"1000px",children:[b||t?(0,i.jsxs)(ne,{display:"flex",justifyContent:"space-between",children:[(0,i.jsxs)(ne,{display:"flex",alignItems:"center",sx:{cursor:"pointer"},onClick:T,children:[(0,i.jsx)(bc,{sx:{color:"gray",p:"0"},onClick:T,children:d?(0,i.jsx)(dd.Z,{sx:{fontSize:"20px"}}):(0,i.jsx)(ud.Z,{sx:{fontSize:"20px"}})}),(0,i.jsx)(ne,{sx:{"& > *:hover":{background:"#DDD"},width:"fit-content",px:"4px",ml:"-2px",borderRadius:"5px"},children:e?(0,i.jsx)("b",{style:{fontSize:"large"},children:o}):o})]}),e&&(0,i.jsx)(lf,{sectionLink:uy(h),contentUrl:e})]}):e&&(0,i.jsx)(ne,{position:"absolute",right:"10px",children:(0,i.jsx)(lf,{sectionLink:uy(h),contentUrl:e})}),c?(0,i.jsxs)(ne,{display:d?"flex":"none",children:[(0,i.jsx)(ne,{minWidth:"20px",display:b||t?void 0:"none",sx:{cursor:"pointer","&:hover *":{borderLeft:"1px solid #333"}},onClick:T,children:(0,i.jsx)(ne,{width:"0",m:"auto",borderLeft:"1px solid #CCC",height:"100%",children:"\xa0"})}),(0,i.jsx)(ne,{overflow:"visible",children:e?(0,i.jsxs)(ly.Provider,{value:h,children:[S&&(0,i.jsx)(Gd,{contentUrl:e}),(0,i.jsx)(cd,{url:e,modifyRendered:ur,minLoadingHeight:"800px"}),(null==y?void 0:y.docSections)&&pi(w,k,null==y?void 0:y.docSections)&&(0,i.jsx)(sy,{archive:w,filepath:k})]}):t})]}):(0,i.jsx)(i.Fragment,{children:"Loading..."})]})})}const py=({children:e})=>{const t=(0,r.useRef)(null),n=(0,r.useContext)(a),o=(0,r.useRef)(!1),s=(0,r.useRef)(!1),l=()=>{o.current||(o.current=!0),s.current=!1};return(0,r.useEffect)((()=>{if(!o.current&&!s.current&&null!==t.current){if(!n)throw Error("MathJax not loaded, forgot MathJaxContext?");s.current=!0,n.promise.then((e=>{e.startup.promise.then((()=>(e.typesetClear([t.current]),e.typesetPromise([t.current])))).then(l).catch((e=>{l(),console.log(`TypesettingFailed : ${(null==e?void 0:e.message)||(null==e?void 0:e.toString())}`)}))})).catch((e=>{l(),console.log(`TypesettingFailed : ${(null==e?void 0:e.message)||(null==e?void 0:e.toString())}`)}))}})),(0,i.jsx)(ErrorBoundary,{hidden:!0,children:(0,i.jsx)("span",{style:{display:"none"},ref:t,children:e})})};function fy({mathMLDomNode:e}){const[t,n]=(0,r.useState)((0,i.jsx)("span",{className:"blink",children:"\u2026"})),o=(0,r.useContext)(a),s=e=>console.log(`TypesettingFailed : ${(null==e?void 0:e.message)||(null==e?void 0:e.toString())}`);return(0,r.useEffect)((()=>{if(!o)throw Error("MathJax not loaded, forgot MathJaxContext?");o.promise.then((t=>{t.startup.promise.then((()=>{window.MathJax.mathml2chtmlPromise(Vn(e)).then((e=>n(Hy(e.outerHTML)))).catch(s)})).catch(s)})).catch(s)}),[e,o]),(0,i.jsx)(i.Fragment,{children:t})}const hy=(0,eh.Z)((0,i.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}),"OpenInNew");function my(e){return(0,E.Z)("MuiSwitch",e)}const gy=(0,C.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),vy=["className","color","edge","size","sx"],by=(0,S.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${(0,w.Z)(n.edge)}`],t[`size${(0,w.Z)(n.size)}`]]}})((({ownerState:e})=>(0,d.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===e.edge&&{marginLeft:-8},"end"===e.edge&&{marginRight:-8},"small"===e.size&&{width:40,height:24,padding:7,[`& .${gy.thumb}`]:{width:16,height:16},[`& .${gy.switchBase}`]:{padding:4,[`&.${gy.checked}`]:{transform:"translateX(16px)"}}}))),yy=(0,S.ZP)(rm,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${gy.input}`]:t.input},"default"!==n.color&&t[`color${(0,w.Z)(n.color)}`]]}})((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${gy.checked}`]:{transform:"translateX(20px)"},[`&.${gy.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${gy.checked} + .${gy.track}`]:{opacity:.5},[`&.${gy.disabled} + .${gy.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${gy.input}`]:{left:"-100%",width:"300%"}})),(({theme:e,ownerState:t})=>(0,d.Z)({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ei.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${gy.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ei.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${gy.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${"light"===e.palette.mode?(0,Ei.$n)(e.palette[t.color].main,.62):(0,Ei._j)(e.palette[t.color].main,.55)}`}},[`&.${gy.checked} + .${gy.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}}))),xy=(0,S.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)}))),wy=(0,S.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),ky=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiSwitch"}),{className:r,color:o="primary",edge:a=!1,size:s="medium",sx:l}=n,c=(0,u.Z)(n,vy),h=(0,d.Z)({},n,{color:o,edge:a,size:s}),m=(e=>{const{classes:t,edge:n,size:r,color:o,checked:i,disabled:a}=e,s={root:["root",n&&`edge${(0,w.Z)(n)}`,`size${(0,w.Z)(r)}`],switchBase:["switchBase",`color${(0,w.Z)(o)}`,i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=(0,f.Z)(s,my,t);return(0,d.Z)({},t,l)})(h),g=(0,i.jsx)(wy,{className:m.thumb,ownerState:h});return(0,i.jsxs)(by,{className:(0,p.Z)(m.root,r),sx:l,ownerState:h,children:[(0,i.jsx)(yy,(0,d.Z)({type:"checkbox",icon:g,checkedIcon:g,ref:t,ownerState:h},c,{classes:(0,d.Z)({},m,{root:m.switchBase})})),(0,i.jsx)(xy,{className:m.track,ownerState:h})]})})),Sy="hoverSwitch";function Cy(){return"false"!==(null==Qn?void 0:Qn.getItem(Sy))}function Ey({contentUrl:e,displayNode:t,isMath:n}){const o=au((0,ki.useRouter)()),[a,s]=(0,r.useState)(!1),{mmtUrl:l}=(0,r.useContext)(dw),{topLevelDocUrl:c}=(0,r.useContext)(ld),u=ar(c),d=t(c);return(0,i.jsxs)(ErrorBoundary,{hidden:!1,children:[n?(0,i.jsx)("mrow",{style:{display:"inline"},onClick:()=>s(!0),children:d}):(0,i.jsx)("span",{style:{display:"inline"},onClick:()=>s(!0),children:d}),(0,i.jsx)(ru,{onClose:()=>s(!1),open:a,maxWidth:"lg",children:(0,i.jsxs)(ne,{display:"flex",flexDirection:"column",m:"5px",maxWidth:"800px",children:[(0,i.jsx)(ne,{display:"flex",children:(0,i.jsxs)(ne,{marginLeft:"auto",display:"flex",alignItems:"center",children:[(0,i.jsx)(Fl,{title:o.hover,placement:"top",children:(0,i.jsx)(ky,{checked:Cy(),onChange:()=>{var e;e=!Cy(),null==Qn||Qn.setItem(Sy,String(e)),window.location.reload()}})}),(0,i.jsx)("a",{style:{marginLeft:"auto"},href:`${l}/${e}${u}`.replace(":sTeX/declaration",":sTeX/symbol"),target:"_blank",rel:"noreferrer",children:(0,i.jsx)(bc,{children:(0,i.jsx)(hy,{})})})]})}),(0,i.jsx)(cd,{topLevelDocUrl:c,url:`${e}${u}`,modifyRendered:ur}),(0,i.jsx)(Ud,{sx:{p:"0"},children:(0,i.jsx)(wd,{onClick:()=>s(!1),children:o.close})})]})})]})}const _y=["className"],Ty=(0,r.createContext)({items:{}}),Ay=(0,S.ZP)((e=>{let{className:t}=e,n=(0,u.Z)(e,_y);return(0,i.jsx)(Fl,Object.assign({},n,{classes:{popper:t}}))}))({[`& .${Rl.tooltip}`]:{maxWidth:"none",margin:"0",padding:"0",backgroundColor:"white"}});function Ry(e){const t=e.type;if([en,Yt,Jt].includes(t))return e}function Ny(e,t){if("object"==typeof e)return e[t]&&delete e[t],e;if(!e||!e.indexOf||!t)return e;const n=e.indexOf(t);if(-1===n)return e;const r=e.indexOf(";",n+1);return-1===r?e:e.substring(0,n)+e.substring(r+1)}function Zy(e,t){if("object"==typeof e)return e&&e[t]&&delete e[t],"";if(!e||!e.indexOf||!t)return"";const n=e.indexOf(t);if(-1===n)return e;const r=e.indexOf(";",n+1);return-1===r?e:e.substring(n+t.length+1,r).trim()}function Py(e){var t,n;const r=null==e||null==(t=e.props)||null==(t=t.children)?void 0:t[1];return null==r||null==(n=r.props)?void 0:n.children}function jy(e){return!(null==e||!e.length)&&(e.startsWith("/:sTeX")||e.toLowerCase().startsWith("/stex"))}function Iy(e){return"img"===e.name&&jy(e.attribs.src)}function Oy({d:e}){const{mmtUrl:t}=(0,r.useContext)(dw);return jy(e.attribs.href)&&(e.attribs.href=t+e.attribs.href),(0,i.jsx)(i.Fragment,{children:zu([e],{replace:Uy})})}function Ly(e){var t;if(!e)return!1;const n=null==(t=e.attribs)?void 0:t.xmlns;return"http://www.w3.org/1999/xhtml"!==n&&("http://www.w3.org/1998/Math/MathML"===n||("math"===e.name||Ly(e.parent)))}const My=(0,r.createContext)({highlightedParentId:"",setHighlightedParentId:e=>{}});function Dy({highlightId:e,domNode:t}){const n=Ly(t),{highlightedParentId:o,setHighlightedParentId:a}=(0,r.useContext)(My),s=o===e?"yellow":"unset";var l,c;return t.attribs&&(t.attribs.style=(l=t.attribs.style,c=s,"string"!=typeof l?l:(l&&(l=Ny(Ny(l,"background-color"),"cursor")),(l||"")+` background-color: ${c}; cursor: pointer;`))),n?(0,i.jsx)("mrow",{onMouseOver:()=>a(e),onMouseOut:()=>a(""),style:{backgroundColor:s,cursor:"pointer"},children:zu([t],{replace:Uy})}):(0,i.jsx)("span",{onMouseOver:()=>a(e),onMouseOut:()=>a(""),style:{backgroundColor:s,cursor:"pointer"},children:zu([t],{replace:Uy})})}function Fy(e,t=0){const n=Ry(e);if(n)if("mtext"===n.name){var r,o;const e=n,i=null==(r=e.children)?void 0:r[0];if("http://www.w3.org/1999/xhtml"===(null==i||null==(o=i.attribs)?void 0:o.xmlns)){const n=new Bu("semantics",{},[new Bu("annotation-xml",{encoding:"application/xhtml+xml"},e.childNodes)]);e.parent&&(e.parent.children[t]=n)}}else for(const[i,a]of n.children.entries())Fy(a,i)}function zy({clipId:e}){const[t,n]=(0,r.useState)(!1);return t?(0,i.jsx)(ne,{width:"95%",m:"auto",children:(0,i.jsx)(ne,{position:"relative",pb:"56.25%",my:"5px",children:(0,i.jsx)("iframe",{src:`https://www.fau.tv/clip/multistream/${e}`,frameBorder:"0",allowFullScreen:!0,style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},title:`Clip ${e}`})})}):(0,i.jsx)(bc,{onClick:()=>n(!0),children:(0,i.jsx)(uu.Z,{})})}function By({href:e}){const t=e.substring(23);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{href:e,target:"_blank",rel:"noreferrer",className:"monospaced",children:e}),(0,i.jsx)(zy,{clipId:t})]})}function qy({d:e}){const{mmtUrl:t}=(0,r.useContext)(dw);return Iy(e)&&(e.attribs.src=t+e.attribs.src),(0,i.jsx)(i.Fragment,{children:zu([e],{replace:Uy})})}function $y({tag:e}){const{items:t}=(0,r.useContext)(Ty);return t[e]?t[e]:(0,i.jsxs)(i.Fragment,{children:["Tag [",e,"] not found"]})}const Uy=e=>{var t,n,o,a,s,l,c,u,d;const p=Ry(e);if(!p)return;if("a"===p.name){const e=p.attribs.href;if(null!=e&&e.startsWith("https://fau.tv/clip/id/"))return(0,i.jsx)(By,{href:e})}if(Iy(p)&&!Jn)return(0,i.jsx)(qy,{d:p});const f=function(e){if(null!=e&&e.startsWith(nr))return e.substring(nr.length)}(null==(t=p.attribs)?void 0:t.id);if(f)return(0,i.jsx)($y,{tag:f});if(!Jn&&3===p.childNodes.length&&"hbox"===p.attribs.class&&"text"===(null==(n=p.childNodes[1].childNodes)||null==(n=n[0])?void 0:n.type)&&"1"===(null==(o=p.childNodes[1].childNodes)||null==(o=o[0])?void 0:o.data))return(0,i.jsx)("span",{children:"\xa0\xa0\xa0\u2015\xa0\xa0\xa0"});if(Jn||8!==p.childNodes.length||"HFill"!==(null==(a=p.childNodes[4].attribs)?void 0:a.class)||"HFill"!==(null==(s=p.childNodes[6].attribs)?void 0:s.class)||"text"!==p.childNodes[5].type||(p.childNodes[5].data=""),!function(e){var t,n;if("text"===(null==e?void 0:e.type)&&0===(null==e||null==(t=e.data)?void 0:t.trim().length))return!1;const r=null==e||null==(n=e.attribs)?void 0:n["stex:visible"];return e&&"false"!==r}(p))return(0,i.jsx)(i.Fragment,{});const h="true"===(null==(l=p.attribs)?void 0:l["data-problem"]),m=null==(c=p.attribs)?void 0:c[Tu];if(h&&!m){const e=ju(Iu(Vn(p)),"");return(0,i.jsx)(zb,{problem:e})}if("head"===p.name||"iframe"===p.name||"script"===p.name)return(0,i.jsx)(i.Fragment,{});if(!(Jn||null!=Qn&&Qn.getItem("no-responsive"))){var g,v;const e=null==(g=p.attribs)?void 0:g.style;if("paragraph"===(null==(v=p.attribs)?void 0:v.class)&&e){const t=Zy(e,"margin-right"),n=Zy(e,"margin-left");if(null!=n&&n.endsWith("px")&&n===t){const t=Zy(e,"width");if(null!=t&&t.endsWith("%")){const t=`;width: calc(100% - ${2*+n.slice(0,-2)}px)`;p.attribs.style=Ny(e,"width")+t}}}}const b=!!Cy()&&p.attribs["data-overlay-link-hover"],y=p.attribs["data-overlay-link-click"],x=p.attribs["data-highlight-parent"];if((b||y)&&!p.attribs.processed){p.attribs.processed="first";const e=Ly(p),t=(0,r.forwardRef)(((t,n)=>e?(0,i.jsx)("mrow",Object.assign({},t,{style:{display:"inline",cursor:"pointer"},ref:n,children:(0,i.jsx)(Dy,{domNode:p,highlightId:x})})):(0,i.jsx)("div",Object.assign({},t,{style:{display:"inline",cursor:"pointer"},ref:n,children:(0,i.jsx)(Dy,{domNode:p,highlightId:x})}))));return(0,i.jsx)(Ey,{contentUrl:y,isMath:e,displayNode:e=>(0,i.jsx)(Ay,{title:b?(0,i.jsx)(ne,{maxWidth:"600px",color:"black",border:"1px solid #CCC",p:"5px",borderRadius:"5px",boxShadow:"2px 7px 31px 8px rgba(0,0,0,0.33)",children:(0,i.jsx)(cd,{topLevelDocUrl:e,url:b+ar(e),modifyRendered:Py})}):(0,i.jsx)(i.Fragment,{}),children:x?(0,i.jsx)(t,{}):zu([p],{replace:Uy})})})}if(x&&!p.attribs.processed)return p.attribs.processed="second",(0,i.jsx)(Dy,{domNode:p,highlightId:x});const w=function(e){if(!Jn&&null!=e&&e.startsWith("/:vollki?path=")){const t=e.substring(14);return`/guided-tour/${encodeURIComponent(t)}`}}(null==(u=p.attribs)?void 0:u.href);if(w)return void(p.attribs.href=w);if(function(e){return jy(e.attribs.href)}(p)&&!Jn)return(0,i.jsx)(Oy,{d:p});if("inputref"===(null==(d=p.attribs)?void 0:d.class)){const e=p.attribs["data-inputref-url"];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(dy,{htmlTitle:p,contentUrl:e,title:zu(p.children,{replace:Uy})}),"\xa0"]})}if("math"===p.name){var k;if("function"==typeof MathMLElement&&(null==Qn||!Qn.getItem("forceMathJax")))return;if("mjx-assistive-mml"===(null==(k=p.parent)?void 0:k.name))return(0,i.jsx)(i.Fragment,{});if(!p.attribs.processed)return p.attribs.processed="true",Fy(p),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ErrorBoundary,{hidden:!1,children:(0,i.jsx)(fy,{mathMLDomNode:p})}),(0,i.jsx)(py,{children:zu([p])})]})}const S=p.attribs["data-collapsible"];if(S){const e="true"===S,t=p.children.filter((e=>{var t;return!(null==(t=e.attribs)||!t["data-collapse-title"])})),n=p.children.filter((e=>{var t;return!(null==(t=e.attribs)||!t["data-collapse-body"])}));return(0,i.jsx)(dy,{htmlTitle:t,title:zu(t,{replace:Uy}),defaultOpen:e,staticContent:zu(n,{replace:Uy})})}};function Hy(e){return qu(e,{replace:e=>Uy(e)})}const Vy=["className"],Wy=33,Gy=(0,S.ZP)((e=>{let{className:t}=e,n=(0,u.Z)(e,Vy);return(0,i.jsx)(Fl,Object.assign({},n,{classes:{popper:t}}))}))({[`& .${Rl.tooltip}`]:{maxWidth:"none",margin:"0",padding:"0",backgroundColor:"#ffffff00"}});function Ky({dim:e,white:t,showTitle:n=!0}){const r=au((0,ki.useRouter)());return(0,i.jsx)("img",{width:Wy,height:Wy,title:n?r.iconHovers[e]:void 0,src:`/bloom-dimensions/${e}${t?"_white":""}.svg`,alt:e})}function Xy({level:e,highlighted:t}){return void 0===e?(0,i.jsx)(zl.Z,{sx:{fontSize:`${Wy}px`},color:"disabled"}):(0,i.jsx)("img",{width:Wy,height:Wy,src:`/likert-icons/${e}${t?"color":""}.svg`,alt:`${e}`,style:{borderRadius:"500px"}})}function Qy({dims:e,uri:t,smileys:n,htmlName:r,dimText:o=!0,onValueUpdate:a}){return(0,i.jsx)(ne,{sx:{background:tr,border:`1px solid ${er}`,userSelect:"none"},p:"5px 3px",borderRadius:"5px",children:e.map(((e,s)=>(0,i.jsx)(ne,{mt:s?"5px":"0",children:(0,i.jsx)(Yy,{dim:e,uri:t,htmlName:r,selectedLevel:_r(null==n?void 0:n[e]),dimText:o,onValueUpdate:a})},e)))})}function Yy({dim:e,uri:t,htmlName:n,dimText:r,selectedLevel:o,onValueUpdate:a}){const s=au((0,ki.useRouter)());return(0,i.jsxs)(ne,{display:"flex",children:[(0,i.jsx)(Ky,{dim:e,white:!0}),(0,i.jsxs)(ne,{children:[r&&(0,i.jsxs)("span",{style:{color:"white",fontWeight:"bold",fontSize:"14px",textAlign:"left",marginLeft:"5px"},children:["I ",e.toLowerCase()," ",(0,i.jsx)(ne,{sx:{mr:"5px",display:"inline","& *":{display:"inline!important"}},children:Hy(n)})]}),Er.map((n=>{var r;return(0,i.jsx)(Fl,{title:(null==(r=s.smileyTooltips[e])?void 0:r[n])||`Level ${n}`,children:(0,i.jsx)(bc,{sx:{p:"0"},onClick:async()=>{await Mr({type:"self-assessment-5StepLikertSmileys",URI:t,values:{[e]:`smiley${n}`}}),a()},children:(0,i.jsx)(Xy,{level:n,highlighted:n===o})})},n)}))]})]})}function Jy({dims:e,uri:t,htmlName:n,onUpdate:o}){const[a,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)(void 0);function u(){Lr([t]).then((e=>{c(e.get(t)),o&&o(e.get(t))}))}return(0,r.useEffect)((()=>{c(void 0),u()}),[t]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Gy,{disableFocusListener:!0,title:(0,i.jsx)(ne,{sx:{boxShadow:"2px 7px 31px 8px rgba(0,0,0,0.75)"},children:(0,i.jsx)(Qy,{dims:e,uri:t,smileys:l,htmlName:n,onValueUpdate:()=>u()})}),children:(0,i.jsx)(ne,{display:"flex",p:"0",border:"1px solid #AAA",borderRadius:"10px",width:"fit-content",bgcolor:Kn,sx:{cursor:"pointer"},onClick:()=>s(!0),children:e.map((e=>(0,i.jsxs)(ne,{display:"flex",flexDirection:"column",alignItems:"center",children:[(0,i.jsx)(Ky,{dim:e,white:!1}),(0,i.jsx)(Xy,{level:_r(null==l?void 0:l[e]),highlighted:!0})]},e)))})}),(0,i.jsx)(ru,{onClose:()=>s(!1),open:a,children:(0,i.jsx)(Qy,{dims:e,uri:t,smileys:l,htmlName:n,onValueUpdate:()=>u()})})]})}const ex=e=>{if(!e)return e;const t=e.split("?");return t[t.length-1]};function tx(e){const t=ex(e),n=`/:sTeX/fragment?${e}`;return`${t}`}const nx=function({URIs:e,competencyData:t,dimensions:n,onValueUpdate:r}){const o=au((0,ki.useRouter)());return null!=e&&e.length&&null!=t&&t.length?(0,i.jsx)(Ji,{component:Ni,children:(0,i.jsxs)(Li,{sx:{textAlign:"center"},children:[(0,i.jsx)(ia,{children:(0,i.jsxs)(pa,{children:[(0,i.jsx)(Ki,{children:(0,i.jsx)("b",{children:o.concepts})}),(n||Ar).map((e=>(0,i.jsx)(Ki,{children:(0,i.jsx)("b",{children:e})},e)))]})}),(0,i.jsx)($i,{children:t.map(((t,o)=>(0,i.jsxs)(pa,{children:[(0,i.jsx)(Ki,{children:Hy(tx(e[o]))}),(n||Ar).map((n=>{return(0,i.jsx)(Ki,{children:r?(0,i.jsx)(Fl,{title:(0,i.jsx)(Yy,{htmlName:ex(e[o]),dim:n,uri:e[o],dimText:!1,selectedLevel:(a=Number(t[n]),a<.2?-2:a<.4?-1:a<.6?0:a<.8?1:2),onValueUpdate:r}),children:(0,i.jsx)("span",{style:{cursor:"pointer"},children:Number(t[n]).toFixed(2)})}):(0,i.jsx)("span",{children:Number(t[n]).toFixed(2)})},n);var a}))]},o)))})]})}):(0,i.jsx)("p",{children:"Loading data... "})};var rx=n(2679),ox=n(7100),ix=n(8918);function ax(e,t){if(t){if(!e.tocNode)return;e.tocNode.isCovered=!0}const n=e.parentNode;if(!n)return;const r=n.children.findIndex((t=>t.tocNode.id===e.tocNode.id));if(-1===r)return console.log(e.tocNode.id),console.log(n.children.map((e=>e.tocNode.id))),void console.log("oh ohhh");for(const o of n.children){if(o.tocNode.id===e.tocNode.id)break;ax(o,!0)}ax(n,t&&r===n.children.length-1)}function sx(e,t){var n;if(!e)return;if(or(null==(n=e.tocNode)?void 0:n.title)!==t){if(e.children)for(const r of e.children)sx(r,t)}else ax(e,!0)}function lx(e,t){if(e.type===Si.SECTION){const n=[],r={tocNode:e,children:n,parentNode:t};for(const t of e.childNodes.values()){const e=lx(t,r);e&&(Array.isArray(e)?n.push(...e):n.push(e))}return r}{const n=[];for(const r of e.childNodes.values()){const e=lx(r,t);e&&(Array.isArray(e)?n.push(...e):n.push(e))}return n}}function cx(e,t){if(!e||null==t||!t.length)return e;const n=[];for(const o of e.children){const e=cx(o,t);e&&n.push(e)}const r=t.some((t=>e.tocNode.title.toLowerCase().includes(t)));return 0!==n.length||r?{parentNode:e.parentNode,children:n,tocNode:e.tocNode}:void 0}function ux(e,t){return e&&null!=t&&t.length?e.map((e=>cx(e,t))).filter((e=>e)):e}function dx({node:e,level:t,defaultOpen:n,selectedSection:o,onSectionClick:a}){const s=(0,ki.useRouter)(),[l,c]=(0,r.useState)(n);(0,r.useEffect)((()=>{c(n)}),[n]);const u=0===t?Hd.level0_dashboard_item:Hd.dashboard_item,d=o===e.tocNode.id;return(0,i.jsxs)(ne,{sx:{py:"6px",backgroundColor:e.tocNode.isCovered?"#FFB":void 0},children:[(0,i.jsxs)(ne,{display:"flex",ml:e.children.length>0?void 0:"23px",fontWeight:d?"bold":void 0,children:[e.children.length>0&&(0,i.jsx)(bc,{sx:{color:"gray",p:"0",mr:"3px"},onClick:()=>c((e=>!e)),children:l?(0,i.jsx)(dd.Z,{sx:{fontSize:"20px"}}):(0,i.jsx)(ud.Z,{sx:{fontSize:"20px"}})}),(0,i.jsx)("span",{className:u,style:{cursor:"pointer",color:d?"black":void 0},onClick:t=>{if(t.stopPropagation(),a)return void a(e.tocNode.id);const n=[];let r=e.tocNode;for(;null!=(o=r)&&o.parentNode;){var o,i;const e=null==(i=r)?void 0:i.hash;e&&n.push(e),r=r.parentNode}if(s){const t=n.reverse().join(".")+"~"+e.tocNode.id,r=s.query.id||s.query.courseId;null==Qn||Qn.setItem(`inDocPath-${r}`,t);const o=Object.assign({},s.query,{inDocPath:t});s.push({query:o},void 0,{scroll:!1})}},children:or(e.tocNode.title)})]}),l&&e.children.length>0&&(0,i.jsxs)(ne,{display:"flex",ml:"3px",children:[(0,i.jsx)(ne,{minWidth:"12px",sx:{cursor:"pointer","&:hover *":{borderLeft:"1px solid #333"}},onClick:()=>c((e=>!e)),children:(0,i.jsx)(ne,{width:"0",m:"auto",borderLeft:"1px solid #CCC",height:"100%",children:"\xa0"})}),(0,i.jsx)(ne,{children:(e.children||[]).map((e=>(0,i.jsx)(dx,{node:e,level:t+1,defaultOpen:n,selectedSection:o,onSectionClick:a},e.tocNode.id)))})]})]},e.tocNode.id)}function px(e,t){const{children:n,archive:r,filepath:o,id:i,title:a}=e,s=r&&o;let l;const c=new Map;if(s){const e=hr({archive:r,filepath:o});l={type:Si.FILE,parentNode:t,childNodes:c,hash:e,archive:r,filepath:o}}else l={type:Si.SECTION,parentNode:t,childNodes:c,id:i,title:a};return(n||[]).forEach((e=>{const t=px(e,l);c.set(t.id||t.hash,t)})),l}function fx({contentUrl:e,docSections:t,selectedSection:n,onClose:o,onSectionClick:a}){const s=au((0,ki.useRouter)()),[l,c]=(0,r.useState)(""),[u,d]=(0,r.useState)(!0),{mmtUrl:p}=(0,r.useContext)(dw),[f,h]=(0,r.useState)(""),[m,g]=(0,r.useState)(void 0),[v,b]=(0,r.useState)({}),y=t?px(t,void 0):void 0,x=(null==y?void 0:y.type)!==Si.FILE?void 0:y;(0,r.useEffect)((()=>{p&&vi().then(b)}),[p]),(0,r.useEffect)((()=>{Fr().then((t=>{if(null==t||!t.userId||!ce(t.userId))return void g(void 0);const{archive:n,filepath:r}=ir(e);for(const e of Object.keys(v)){const{notesArchive:t,notesFilepath:o}=v[e];n===t&&r===o&&g(`/coverage-update?courseId=${e}`)}}))}),[e,v]),(0,r.useEffect)((()=>{!async function(){var t;const n=await async function(e,{archive:t,filepath:n}){const r=await vi();for(const[o,i]of Object.entries(r))if(t===i.notesArchive&&n===i.notesFilepath)return o}(0,ir(e));if(!n)return;const r=null==(t=(await Vt.get("/api/get-coverage-timeline")).data)?void 0:t[n];null!=r&&r.length&&h(r[r.length-1].sectionName)}()}),[p,e]);const w={children:[],tocNode:void 0},k=x&&ux(lx(x,w),l.toLowerCase().split(" ").map((e=>e.trim())).filter((e=>!(null==e||!e.length))));return k&&(w.children=k),null!=f&&f.length&&sx(w,f),(0,i.jsx)(oy,{staticContent:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(ne,{display:"flex",alignItems:"center",sx:{m:"5px"},children:[(0,i.jsx)(bc,{sx:{m:"2px"},onClick:()=>o(),children:(0,i.jsx)(rx.Z,{})}),(0,i.jsx)(Av,{id:"tree-filter-string",label:s.search,value:l,onChange:e=>c(e.target.value),sx:{mx:"5px",width:"100%"},size:"small"})]}),(0,i.jsxs)(ne,{display:"flex",justifyContent:"space-between",m:"5px 10px",children:[(0,i.jsx)(Fl,{title:s.expandCollapseAll,children:(0,i.jsx)(bc,{onClick:()=>d((e=>!e)),sx:{border:"1px solid #CCC",borderRadius:"40px"},children:u?(0,i.jsx)(ox.Z,{}):(0,i.jsx)(ix.Z,{})})}),(null==m?void 0:m.length)&&(0,i.jsx)("a",{href:m,target:"_blank",rel:"noreferrer",children:(0,i.jsx)(bc,{children:(0,i.jsx)(Fm.Z,{})})})," "]})]}),children:(k||[]).map((e=>(0,i.jsx)(dx,{node:e,level:0,defaultOpen:u,onSectionClick:a,selectedSection:n},e.tocNode.id)))})}var hx=n(3553),mx=n(5413),gx=n(6772),vx=n(3602),bx=n(2658),yx=n(3079);function xx({node:e,selectedFile:t,onSelectedFile:n,searchTerms:o}){var a;const[s,l]=(0,r.useState)(e.autoOpen);(0,r.useEffect)((()=>{l(e.autoOpen)}),[e.autoOpen]);const{archive:c,filepath:u}=e;if(c&&u){const r=c===t.archive&&u===t.filepath,o=e.autoOpen||r?"bold":void 0,a=r?"#CCC":void 0,s=e.autoOpen?"black":void 0;return(0,i.jsxs)(ne,{display:"flex",alignItems:"center",ml:"18px",sx:{cursor:"pointer",fontWeight:o,backgroundColor:a},onClick:()=>n({archive:c,filepath:u}),children:[(0,i.jsx)(mx.Z,{}),(0,i.jsx)("span",{className:Hd.dashboard_item,style:{color:s,display:"inline"},children:e.label})]})}return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(ne,{onClick:()=>l((e=>!e)),display:"flex",alignItems:"center",sx:{cursor:"pointer"},children:[s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(yx.Z,{fontSize:"small"}),(0,i.jsx)(vx.Z,{fontSize:"small",sx:{color:"#eeae4a"}})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(hx.Z,{fontSize:"small"}),(0,i.jsx)(gx.Z,{fontSize:"small",sx:{color:"#eeae4a"}})]}),(0,i.jsx)("span",{className:Hd.dashboard_item,style:{display:"inline"},children:e.label})]}),s&&(0,i.jsx)(ne,{marginLeft:"18px",children:(0,i.jsx)(wx,{nodes:null!=(a=e.children)?a:[],selectedFile:t,onSelectedFile:n,searchTerms:o})})]})}function wx({nodes:e,selectedFile:t,onSelectedFile:n,searchTerms:r}){return(0,i.jsx)(i.Fragment,{children:e.map((e=>(0,i.jsx)(xx,{node:e,selectedFile:t,onSelectedFile:n,searchTerms:r},e.label+(e.archive?"file":"dir"))))})}function kx(e,t){if(e)for(const r of e){var n;kx(r.children,t);const e=(null==t?void 0:t.length)&&t.some((e=>r.label.toLowerCase().includes(e)));r.autoOpen=e||(null==(n=r.children)?void 0:n.some((e=>e.autoOpen)))}}function Sx({defaultRootNodes:e,selectedFile:t,onSelectedFile:n,onClose:o}){const a=au((0,ki.useRouter)()),[s,l]=(0,r.useState)(e),[c,u]=(0,r.useState)(""),[d,p]=(0,r.useState)(!1),{mmtUrl:f}=(0,r.useContext)(dw),h=c.toLowerCase().split(" ").map((e=>e.trim())).filter((e=>!(null==e||!e.length)));function m(){p(!0),gi(f).then((e=>{p(!1),l(e)}))}return kx(s,h),(0,r.useEffect)((()=>{null!=e&&e.length||d||m()}),[e]),(0,i.jsxs)(oy,{staticContent:(0,i.jsxs)(ne,{display:"flex",alignItems:"center",children:[(0,i.jsx)(bc,{sx:{m:"2px"},onClick:()=>o(),children:(0,i.jsx)(rx.Z,{})}),(0,i.jsx)(Av,{id:"tree-filter-string",label:a.search,value:c,onChange:e=>u(e.target.value),sx:{m:"3px"},size:"small"}),(0,i.jsx)(bc,{onClick:()=>m(),disabled:d,children:(0,i.jsx)(bx.Z,{})})]}),children:[d&&(0,i.jsx)(ad,{}),(0,i.jsx)(wx,{nodes:s,selectedFile:t,onSelectedFile:n,searchTerms:h})]})}function Cx({defaultRootNodes:e,topOffset:t,standaloneLink:n}){const o=au((0,ki.useRouter)()),[a,s]=(0,r.useState)(!rr()),[l,c]=(0,r.useState)(""),[u,d]=(0,r.useState)("");return(0,i.jsx)(iy,{topOffset:t,showDashboard:a,setShowDashboard:s,menu:(0,i.jsx)(Sx,{defaultRootNodes:e,selectedFile:{archive:l,filepath:u},onSelectedFile:e=>{c(e.archive),d(e.filepath)},onClose:()=>s(!1)}),children:(0,i.jsx)(ne,{width:"100%",sx:{backgroundColor:Kn},children:(0,i.jsx)(ne,{maxWidth:Jn?void 0:"650px",p:"10px",m:"auto",children:l&&u?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{href:n({archive:l,filepath:u}),target:"_blank",rel:"noreferrer",children:(0,i.jsxs)(wd,{children:[o.openArticle,(0,i.jsx)(Yd.Z,{})]})}),(0,i.jsx)("a",{href:cr(l,(p=u,p.slice(0,-5)+"tex")),target:"_blank",rel:"noreferrer",children:(0,i.jsxs)(wd,{children:[o.viewSource,(0,i.jsx)(Yd.Z,{})]})}),(0,i.jsx)("hr",{style:{width:"90%"}}),(0,i.jsx)(cd,{topLevelDocUrl:lr({archive:l,filepath:u}),url:lr({archive:l,filepath:u}),modifyRendered:ur})]}):(0,i.jsx)("i",{children:o.selectArticle})})})});var p}const Ex=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],_x=(0,S.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>(0,d.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,Ei.Fq)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>(0,d.Z)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>(0,d.Z)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>(0,d.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>(0,d.Z)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),Tx=(0,S.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>(0,d.Z)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),Ax=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:a,component:s=(o?"div":"hr"),flexItem:l=!1,light:c=!1,orientation:h="horizontal",role:m=("hr"!==s?"separator":void 0),textAlign:g="center",variant:v="fullWidth"}=n,b=(0,u.Z)(n,Ex),y=(0,d.Z)({},n,{absolute:r,component:s,flexItem:l,light:c,orientation:h,role:m,textAlign:g,variant:v}),x=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e,c={root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,f.Z)(c,Xp,r)})(y);return(0,i.jsx)(_x,(0,d.Z)({as:s,className:(0,p.Z)(x.root,a),role:m,ref:t,ownerState:y},b,{children:o?(0,i.jsx)(Tx,{className:x.wrapper,ownerState:y,children:o}):null}))}));function Rx(e){return(0,E.Z)("MuiListItem",e)}const Nx=(0,C.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);const Zx=(0,C.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Px(e){return(0,E.Z)("MuiListItemSecondaryAction",e)}(0,C.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);const jx=["className"],Ix=(0,S.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>(0,d.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),Ox=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=n,a=(0,u.Z)(n,jx),s=r.useContext(fp),l=(0,d.Z)({},n,{disableGutters:s.disableGutters}),c=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,f.Z)(r,Px,n)})(l);return(0,i.jsx)(Ix,(0,d.Z)({className:(0,p.Z)(c.root,o),ownerState:l,ref:t},a))}));Ox.muiName="ListItemSecondaryAction";const Lx=Ox,Mx=["className"],Dx=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Fx=(0,S.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>(0,d.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,d.Z)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Zx.root}`]:{paddingRight:48}},{[`&.${Nx.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Nx.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Ei.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Nx.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Ei.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Nx.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Nx.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Ei.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Ei.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),zx=(0,S.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Bx=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiListItem"}),{alignItems:o="center",autoFocus:a=!1,button:s=!1,children:l,className:c,component:h,components:m={},componentsProps:g={},ContainerComponent:v="li",ContainerProps:{className:b}={},dense:y=!1,disabled:x=!1,disableGutters:w=!1,disablePadding:S=!1,divider:C=!1,focusVisibleClassName:E,secondaryAction:_,selected:T=!1,slotProps:A={},slots:R={}}=n,N=(0,u.Z)(n.ContainerProps,Mx),Z=(0,u.Z)(n,Dx),P=r.useContext(fp),j=r.useMemo((()=>({dense:y||P.dense||!1,alignItems:o,disableGutters:w})),[o,P.dense,y,w]),I=r.useRef(null);(0,xp.Z)((()=>{a&&I.current&&I.current.focus()}),[a]);const O=r.Children.toArray(l),L=O.length&&(0,Hm.Z)(O[O.length-1],["ListItemSecondaryAction"]),M=(0,d.Z)({},n,{alignItems:o,autoFocus:a,button:s,dense:j.dense,disabled:x,disableGutters:w,disablePadding:S,divider:C,hasSecondaryAction:L,selected:T}),D=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:c,selected:u}=e,d={root:["root",o&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]};return(0,f.Z)(d,Rx,r)})(M),F=(0,Pa.Z)(I,t),z=R.root||m.Root||Fx,B=A.root||g.root||{},q=(0,d.Z)({className:(0,p.Z)(D.root,B.className,c),disabled:x},Z);let $=h||"li";return s&&(q.component=h||"div",q.focusVisibleClassName=(0,p.Z)(Nx.focusVisible,E),$=fc),L?($=q.component||h?$:"div","li"===v&&("li"===$?$="div":"li"===q.component&&(q.component="div")),(0,i.jsx)(fp.Provider,{value:j,children:(0,i.jsxs)(zx,(0,d.Z)({as:v,className:(0,p.Z)(D.container,b),ref:F,ownerState:M},N,{children:[(0,i.jsx)(z,(0,d.Z)({},B,!fa(z)&&{as:$,ownerState:(0,d.Z)({},M,B.ownerState)},q,{children:O})),O.pop()]}))})):(0,i.jsx)(fp.Provider,{value:j,children:(0,i.jsxs)(z,(0,d.Z)({},B,{as:$,ref:F},!fa(z)&&{ownerState:(0,d.Z)({},M,B.ownerState)},q,{children:[O,_&&(0,i.jsx)(Lx,{children:_})]}))})})),qx=Bx,$x=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],Ux=(0,S.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ef.primary}`]:t.primary},{[`& .${ef.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((({ownerState:e})=>(0,d.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56}))),Hx=r.forwardRef((function(e,t){const n=(0,k.Z)({props:e,name:"MuiListItemText"}),{children:o,className:a,disableTypography:s=!1,inset:l=!1,primary:c,primaryTypographyProps:h,secondary:m,secondaryTypographyProps:g}=n,v=(0,u.Z)(n,$x),{dense:b}=r.useContext(fp);let y=null!=c?c:o,x=m;const w=(0,d.Z)({},n,{disableTypography:s,inset:l,primary:!!y,secondary:!!x,dense:b}),S=(e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e,a={root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,f.Z)(a,Jp,t)})(w);return null==y||y.type===Td||s||(y=(0,i.jsx)(Td,(0,d.Z)({variant:b?"body2":"body1",className:S.primary,component:null!=h&&h.variant?void 0:"span",display:"block"},h,{children:y}))),null==x||x.type===Td||s||(x=(0,i.jsx)(Td,(0,d.Z)({variant:"body2",className:S.secondary,color:"text.secondary",display:"block"},g,{children:x}))),(0,i.jsxs)(Ux,(0,d.Z)({className:(0,p.Z)(S.root,a),ownerState:w,ref:t},v,{children:[y,x]}))})),Vx={steps:"tour-display_steps__lO5F9","steps-blur":"tour-display_steps-blur__z3kw1"},Wx="list-container",Gx="expansion-box";function Kx(e){return`nav-${e.hash}`}function Xx(e){return`expand-${e.hash}`}function Qx(e){const t=document.getElementById(Xx(e));null==t||t.scrollIntoView()}const Yx=(0,r.memo)((({html:e})=>(0,i.jsx)(i.Fragment,{children:Hy(e)})));function Jx(e){const t=_r(null==e?void 0:e.Remember),n=_r(null==e?void 0:e.Understand);return!!t&&!!n&&t>=1&&n>=1}function ew({item:e,allItemsMap:t,addToTempShowUri:n}){const r=au((0,ki.useRouter)()),o=function(e,t){const n=[];let r=e;for(;r;){var o;n.push(r.uri),r=t.get(null==(o=r.successors)?void 0:o[0])}return n}(e,t);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("ul",{className:Vx.steps,children:[(0,i.jsx)(ne,{className:Vx["steps-blur"]}),o.map((e=>{const n=t.get(e);return n?(0,i.jsx)("li",{onClick:()=>Qx(n),children:(0,i.jsx)("a",{children:(0,i.jsx)(Yx,{html:n.header})})},e):null}))]}),!!e.dependencies.length&&(0,i.jsxs)(ne,{display:"flex",alignItems:"center",flexWrap:"wrap",children:[r.needs,":\xa0",e.dependencies.map((e=>{const r=t.get(e);return r?(0,i.jsx)(wd,{size:"small",variant:"outlined",sx:{m:"0 2px 2px 4px",textTransform:"none",p:"0px 8px"},onClick:()=>{n(e),Qx(r)},children:(0,i.jsx)(Yx,{html:r.header})},e):null}))]})]})}function tw({item:e,allItemsMap:t,isTempShow:n,lang:o="en",visibilityUpdate:a,onUnderstood:s,onHideTemp:l,addToTempShowUri:c}){const u=au((0,ki.useRouter)()),d=(0,r.useRef)(),p=eb(d);return(0,r.useEffect)((()=>{a(p)}),[p]),(0,i.jsxs)(ne,{id:Xx(e),maxWidth:Jn?void 0:"600px",width:"100%",ref:d,children:[(0,i.jsxs)(ne,{display:"flex",alignItems:"start",mt:"15px",mb:"5px",justifyContent:"space-between",children:[(0,i.jsx)("h3",{style:{margin:0},children:(0,i.jsx)(Yx,{html:e.header})}),(0,i.jsx)(ne,{mx:"10px",height:"30px",sx:{whiteSpace:"nowrap"},children:(0,i.jsxs)(ne,{display:"flex",alignItems:"center",gap:"5px",zIndex:10,children:[n&&(0,i.jsx)(wd,{size:"small",onClick:()=>l(),variant:"outlined",sx:{mr:"10px"},children:u.hide}),!Jn&&(0,i.jsx)(Jy,{dims:[Tr.Remember,Tr.Understand],uri:e.uri,htmlName:e.header,onUpdate:e=>{Jx(e)&&s()}})]})})]}),(0,i.jsx)(ew,{item:e,allItemsMap:t,addToTempShowUri:c}),(0,i.jsx)(ne,{sx:{mt:"20px"},children:(0,i.jsx)(cd,{url:`/:vollki/frag?path=${e.uri}&lang=${o}`,modifyRendered:ur})}),(0,i.jsx)(Ax,{})]})}function nw(e,t,n,r,o,i,a){var s;const l=(null==(s=e.get(r))?void 0:s.dependencies)||[];if(i.some((e=>e.uri===r)))return;const c=t.includes(r);for(const u of l)nw(e,t,n,u,o+1,i,a||c);if(!c&&!a||n.includes(r)){const t=e.get(r);if(!t)return void console.log("Not possible");t.level=o,i.push(t)}}function rw(e,t,n){const r=Array.from(e.values()).find((e=>{var t;return!(null!=(t=e.successors)&&t.length)}));if(!r)return[];if(t.includes(r.uri))return[r];const o=[];return nw(e,t,n,r.uri,0,o,!1),o}function ow(e,t){const n=t?"bold":void 0;return(0,i.jsx)(ne,{children:(0,i.jsx)("span",{style:{fontWeight:n},children:(0,i.jsx)(Yx,{html:e.header})})})}function iw({children:e,level:t}){return(0,i.jsxs)(ne,{display:"flex",children:[Array(t).fill(0).map(((e,t)=>(0,i.jsx)(ne,{display:"inline",sx:{ml:"10px",borderLeft:"1px solid #BBB"}},t))),(0,i.jsxs)(ne,{display:"flex",p:"0",alignItems:"center",children:[(0,i.jsx)("span",{style:{color:"#BBB",fontSize:"10px",whiteSpace:"nowrap",marginRight:"1px",display:"inline"},children:0!==t&&"--"}),(0,i.jsx)(ne,{sx:{px:"4px",py:"2px",mb:"4px",border:"1px solid #BBB",borderRadius:"5px"},children:e})]})]})}function aw({items:e,itemVisibility:t,onClose:n}){const o=au((0,ki.useRouter)());return(0,r.useEffect)((()=>{sw(e,t)}),[e]),(0,i.jsx)(oy,{staticContent:(0,i.jsxs)(ne,{display:"flex",alignItems:"center",children:[(0,i.jsx)(bc,{sx:{m:"2px"},onClick:()=>n(),children:(0,i.jsx)(rx.Z,{})}),o.guidedTour]}),children:(0,i.jsx)(bp,{id:Wx,children:e.map((e=>(0,i.jsx)(qx,{disablePadding:!0,id:Kx(e),sx:{cursor:"pointer"},onClick:()=>Qx(e),children:(0,i.jsx)(ne,{sx:{mx:"10px"},children:(0,i.jsx)(iw,{level:e.level,children:(0,i.jsx)(Hx,{sx:{m:"0"},primary:ow(e,t[e.hash])})})})},e.hash)))})})}function sw(e,t){const n=e.findIndex((e=>t[e.hash]));if(n<0)return;const r=document.getElementById(Wx),o=document.getElementById(Kx(e[n>0?n-1:n]));r&&o&&(r.scrollTop=o.offsetTop)}function lw({tourId:e,language:t="en",getUriWeights:n=(e=>Promise.resolve(new Array(e.length).fill(0))),reportEvent:o=(e=>Promise.resolve()),topOffset:a}){const[s,l]=(0,r.useState)(new Map),[c,u]=(0,r.useState)([]),[d,p]=(0,r.useState)({}),[f,h]=(0,r.useState)(!rr()),[m,g]=(0,r.useState)(!1),[v,b]=(0,r.useState)([]),[y,x]=(0,r.useState)([]),{mmtUrl:w}=(0,r.useContext)(dw);function k(e){x((t=>t.includes(e)?t:[...t,e]))}return(0,r.useEffect)((()=>{if(null==e||!e.length)return;const n=`${w}/:vollki/tour?path=${e}&user=nulluser&lang=${t}`;g(!0),Vt.get(n).then((e=>{g(!1);const t=e.data,n=t.map((e=>e.id));Lr(n).then((e=>{const r=[];for(const t of n)Jx(e.get(t))&&r.push(t);b(r),l(function(e,t){const n=new Map;for(const o of e)n.set(o.id,{uri:o.id,header:o.title,hash:sr(o.id),dependencies:[],successors:o.successors,level:0,understood:Jx(t.get(o.id))});for(const o of e)for(const e of o.successors){var r;null==(r=n.get(e))||null==(r=r.dependencies)||r.push(o.id)}return n}(t,e))}))}))}),[e,t,w]),(0,r.useEffect)((()=>{u(rw(s,v,y))}),[s,v,y]),(0,r.useEffect)((()=>{sw(c,d)}),[d]),m?(0,i.jsx)(F,{}):null!=c&&c.length?(0,i.jsx)(iy,{topOffset:a,menu:(0,i.jsx)(aw,{items:c,itemVisibility:d,onClose:()=>h(!1)}),showDashboard:f,setShowDashboard:h,children:(0,i.jsx)(ne,{id:Gx,sx:{overflowY:"auto"},flexGrow:1,flexBasis:"600px",children:(0,i.jsx)(ne,{mx:"10px",children:c.map((e=>(0,i.jsx)(tw,{item:e,allItemsMap:s,lang:t,isTempShow:y.includes(e.uri),onUnderstood:()=>function(e){b((t=>t.includes(e)?t:[...t,e]));const t=s.get(e);t&&(t.understood=!0)}(e.uri),onHideTemp:()=>{return t=e.uri,void x((e=>e.filter((e=>e!==t))));var t},addToTempShowUri:k,visibilityUpdate:t=>{p((n=>{const r=Object.assign({},n);return r[e.hash]=t,r}))}},e.hash)))})})}):null}var cw=function(e){return e[e.NOT_LOADED=0]="NOT_LOADED",e[e.PLACEHOLDER=1]="PLACEHOLDER",e[e.TO_BE_SHOWN=2]="TO_BE_SHOWN",e}(cw||{});function uw(e,t,n=[]){if(t.id===e)return n;for(const r of t.children){const o=[...n];t.archive&&t.filepath&&o.push({archive:t.archive,filepath:t.filepath});const i=uw(e,r,o);if(i)return i}}class DocFragManager{constructor(){this.docSections=void 0,this.fileLocElementMap=new Map,this.docFragDisplayStatus=new Map,this.scrollFileLocHierarchy=[],this.toScrollSectionId=void 0}scrollReset(){console.log("scroll reset"),this.scrollFileLocHierarchy=[],this.toScrollSectionId=void 0}scrollToSection(e){null!=e&&e.length?(console.log("start scroll: ",e),this.toScrollSectionId=e,this.createFileLocHeirarchy()):this.scrollReset()}createFileLocHeirarchy(){var e;this.toScrollSectionId&&this.docSections&&(this.scrollFileLocHierarchy=null!=(e=uw(this.toScrollSectionId,this.docSections))?e:[],console.log("fileLocHierarchy",this.scrollFileLocHierarchy),this.scrollFileLocHierarchy.length?this.scrollIfNeeded():this.scrollReset())}get isScrolling(){return void 0!==this.toScrollSectionId}skipExpandLoc(e){if(!this.toScrollSectionId||!e)return!1;const t=ir(e);if(!t)return!1;const n=!this.scrollFileLocHierarchy.some((e=>fr(e,t)));return console.log((n?"reject: ":"accept: ")+e),n}findNextFileLocToScrollTo(){if(this.scrollFileLocHierarchy.length)for(const e of this.scrollFileLocHierarchy.slice(1)){const t=this.docFragDisplayStatus.get(dr(e));if(!t||t!==cw.TO_BE_SHOWN)return e}}scrollIfNeeded(){if(!this.toScrollSectionId)return;const e=document.getElementById(this.toScrollSectionId||"");if(e)return e.scrollIntoView({behavior:"instant",block:"start"}),this.scrollReset(),void console.log("Scroll finished!");const t=this.findNextFileLocToScrollTo();if(!t)return;console.log("Want to scroll to: "+dr(t));const n=this.fileLocElementMap.get(dr(t));n?n.scrollIntoView({behavior:"instant"}):console.log("ref not found for: "+dr(t))}setDocSections(e){this.docSections=e,this.createFileLocHeirarchy()}reportLoadedFragment(e,t,n){if(!n)return;const r=ir(e);this.fileLocElementMap.set(dr(r),n),this.docFragDisplayStatus.set(dr(r),t?cw.TO_BE_SHOWN:cw.PLACEHOLDER),this.scrollIfNeeded()}}const dw=(0,r.createContext)({mmtUrl:"",lmsUrl:""});function pw({contentUrl:e,topOffset:t=0,noFrills:n=!1}){const o=(0,ki.useRouter)(),[a,s]=(0,r.useState)(!rr()&&!Jn),[l,c]=(0,r.useState)({allowFolding:"true"===((null==Qn?void 0:Qn.getItem("sectionFolding"))||"false"),noFrills:n}),[u,d]=(0,r.useState)({}),p=(0,r.useRef)(null),[f,h]=(0,r.useState)(600),[m,g]=(0,r.useState)(new DocFragManager),[,v]=(0,r.useReducer)((e=>e+1),0),{mmtUrl:b}=(0,r.useContext)(dw);return(0,r.useEffect)((()=>{d({})}),[e]),(0,r.useEffect)((()=>{function e(){var e;const t=null==p||null==(e=p.current)?void 0:e.clientWidth;if(!t)return;h(Math.min(t-70,900))}return e(),null==Yn||Yn.addEventListener("resize",e),()=>null==Yn?void 0:Yn.removeEventListener("resize",e)}),[]),(0,r.useEffect)((()=>{var e;if(null==o||!o.isReady)return;const t=null==o||null==(e=o.query)?void 0:e.inDocPath;if(!t&&o){const e=o.query.id||o.query.courseId;return o.query.inDocPath=(null==Qn?void 0:Qn.getItem(`inDocPath-${e}`))||"0",void o.replace({pathname:o.pathname,query:o.query})}m.scrollToSection(function(e){if(null==e||!e.length)return{fileHashes:[]};const t=e.split("~");let n,r=[];return t.length>=1&&(r=t[0].split(".")),t.length>=2&&(n=t[1]),{fileHashes:r,sectionId:n}}(t).sectionId)}),[o,null==o?void 0:o.isReady,null==o?void 0:o.query]),(0,r.useEffect)((()=>{const{archive:t,filepath:n}=ir(e);(async function(e,t,n){return(await Vt.get(`${e}/:sTeX/sections?archive=${t}&filepath=${n}`)).data})(b,t,n).then((e=>{m.setDocSections(e),v()}))}),[b,e]),m.docSections?(0,i.jsx)(Yv.Provider,{value:{docFragManager:m,sectionLocs:u,addSectionLoc:e=>{const{contentUrl:t,positionFromTop:n}=e;t in u&&Math.abs(n-u[t])<1||d((e=>Object.assign({},e,{[t]:n})))}},children:(0,i.jsx)(Vd.Provider,{value:{renderOptions:l,setRenderOptions:e=>{null==Qn||Qn.setItem("sectionFolding",e.allowFolding.toString()),c(e)}},children:(0,i.jsx)(iy,{menu:(0,i.jsx)(fx,{docSections:m.docSections,onClose:()=>s(!1),contentUrl:e,selectedSection:""}),topOffset:t,showDashboard:a,setShowDashboard:s,noFrills:n,children:(0,i.jsx)(ne,{px:"10px",bgcolor:Kn,ref:p,children:(0,i.jsxs)(ne,{sx:{overflowWrap:"anywhere",textAlign:"left"},width:"max-content",style:{"--document-width":`${f}px`},children:[!n&&(0,i.jsx)(ne,{position:"absolute",right:"40px",children:(0,i.jsx)(lf,{contentUrl:e})}),(0,i.jsxs)(ne,{display:"flex",justifyContent:"space-around",textAlign:"left",children:[(0,i.jsx)(ne,{width:`${f}px`,children:(0,i.jsx)(cd,{topLevelDocUrl:e,url:e,modifyRendered:ur})}),!Jn&&(0,i.jsx)(Jv,{contentUrl:e,topOffset:t,sectionLocs:u})]})]})})})})}):(0,i.jsx)(F,{})}const fw=function(){var e;const t=window,n=t.BASE_URL,r=t.CONTENT_URL,o=t.TOUR_ID,a=t.LANGUAGE,s="true"===t.SHOW_FILE_BROWSER.toLowerCase(),l="true"===t.NO_FRILLS.toLowerCase(),u="true"===t.USE_EMBEDDED.toLowerCase(),d=null==(e=document.getElementById("embedding"))?void 0:e.outerHTML,p=s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h2",{style:{textAlign:"center",margin:"10px"},children:"sTeX Browser"}),(0,i.jsx)("hr",{style:{width:"98%"}}),(0,i.jsx)(Cx,{defaultRootNodes:[],topOffset:48,standaloneLink:({archive:e,filepath:t})=>`${n}/:sTeX/browser/fulldocument?archive=${e}&filepath=${t}`})]}):u&&d?(0,i.jsx)(sd,{mmtHtml:d,renderWrapperParams:{"section-url":"TOP-LEVEL"}}):null!=r&&r.length?(0,i.jsx)(pw,{contentUrl:r,noFrills:l}):(0,i.jsx)(lw,{tourId:o,language:a,topOffset:0});return(0,i.jsx)(dw.Provider,{value:{mmtUrl:n,lmsUrl:""},children:(0,i.jsx)(c,{children:p})})};o.s(document.getElementById("root")).render((0,i.jsx)(r.StrictMode,{children:(0,i.jsx)(fw,{})}))},6277:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to});const o=function(){for(var e,t,n=0,o="";n{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},9959:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(4821),a=n(5538);o(n(5538),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},5538:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=p;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(p);t.CDATA=f;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(p);t.Document=h;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(p);function g(e){return(0,a.isTag)(e)}function v(e){return e.type===a.ElementType.CDATA}function b(e){return e.type===a.ElementType.Text}function y(e){return e.type===a.ElementType.Comment}function x(e){return e.type===a.ElementType.Directive}function w(e){return e.type===a.ElementType.Root}function k(e,t){var n;if(void 0===t&&(t=!1),b(e))n=new c(e.data);else if(y(e))n=new u(e.data);else if(g(e)){var r=t?S(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(v(e)){r=t?S(e.children):[];var a=new f(r);r.forEach((function(e){return e.parent=a})),n=a}else if(w(e)){r=t?S(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!x(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function S(e){for(var t=e.map((function(e){return k(e,!0)})),n=1;n{"use strict";var r=n(3887),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function k(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===y||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},3887:(e,t,n)=>{"use strict";e.exports=n(3459)},8401:(e,t)=>{t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]},8166:e=>{var t="html",n="head",r="body",o=/<([a-zA-Z]+[0-9]?)/,i=//i,a=//i,s=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},l=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"==typeof window&&window.DOMParser;if("function"==typeof c){var u=new c;s=l=function(e,t){return t&&(e="<"+t+">"+e+""),u.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var d=document.implementation.createHTMLDocument();s=function(e,t){return t?(d.documentElement.querySelector(t).innerHTML=e,d):(d.documentElement.innerHTML=e,d)}}var p,f="object"==typeof document?document.createElement("template"):{};f.content&&(p=function(e){return f.innerHTML=e,f.content.childNodes}),e.exports=function(e){var c,u,d,f,h=e.match(o);switch(h&&h[1]&&(c=h[1].toLowerCase()),c){case t:return u=l(e),i.test(e)||(d=u.querySelector(n))&&d.parentNode.removeChild(d),a.test(e)||(d=u.querySelector(r))&&d.parentNode.removeChild(d),u.querySelectorAll(t);case n:case r:return f=(u=s(e)).querySelectorAll(c),a.test(e)&&i.test(e)?f[0].parentNode.childNodes:f;default:return p?p(e):(d=s(e,r).querySelector(r)).childNodes}}},307:(e,t,n)=>{var r=n(8166),o=n(1594).formatDOM,i=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(i);return n&&n[1]&&(t=n[1]),o(r(e),null,t)}},1594:(e,t,n)=>{for(var r,o=n(9959),i=n(8401).CASE_SENSITIVE_TAG_NAMES,a=o.Comment,s=o.Element,l=o.ProcessingInstruction,c=o.Text,u={},d=0,p=i.length;d{var r=n(9959),o=n(307),i=n(3683),a=n(9239);o="function"==typeof o.default?o.default:o;var s={lowerCaseAttributeNames:!1};function l(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:a(o(e,(t=t||{}).htmlparser2||s),t)}l.domToReact=a,l.htmlToDOM=o,l.attributesToProps=i,l.Comment=r.Comment,l.Element=r.Element,l.ProcessingInstruction=r.ProcessingInstruction,l.Text=r.Text,e.exports=l,l.default=l},3683:(e,t,n)=>{var r=n(8701),o=n(4848),i=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}e.exports=function(e,t){var n,c,u,d,p,f={},h=(e=e||{}).type&&s[e.type];for(n in e)if(u=e[n],r.isCustomAttribute(n))f[n]=u;else if(d=l(c=n.toLowerCase()))switch(p=r.getPropertyInfo(d),-1===i.indexOf(d)||-1===a.indexOf(t)||h||(d=l("default"+c)),f[d]=u,p&&p.type){case r.BOOLEAN:f[d]=!0;break;case r.OVERLOADED_BOOLEAN:""===u&&(f[d]=!0)}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(f[n]=u);return o.setStyleProp(e.style,f),f}},9239:(e,t,n)=>{var r=n(2784),o=n(3683),i=n(4848),a=i.setStyleProp,s=i.canTextBeChildOfNode;function l(e){return i.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&i.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var i,c,u,d,p,f=(n=n||{}).library||r,h=f.cloneElement,m=f.createElement,g=f.isValidElement,v=[],b="function"==typeof n.replace,y=n.trim,x=0,w=t.length;x1&&(u=h(u,{key:u.key||x})),v.push(u);else if("text"!==i.type){switch(d=i.attribs,l(i)?a(d.style,d):d&&(d=o(d,i.name)),p=null,i.type){case"script":case"style":i.children[0]&&(d.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?d.defaultValue=i.children[0].data:i.children&&i.children.length&&(p=e(i.children,n));break;default:continue}w>1&&(d.key=x),v.push(m(i.name,d,p))}else{if((c=!i.data.trim().length)&&i.parent&&!s(i.parent))continue;if(y&&c)continue;v.push(i.data)}return 1===v.length?v[0]:v}},4848:(e,t,n)=>{var r=n(2784),o=n(1618).default;var i={reactCompat:!0};var a=r.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,r,o="function"==typeof t,i={},a={};for(n in e)r=e[n],o&&(i=t(n,r))&&2===i.length?a[i[0]]=i[1]:"string"==typeof r&&(a[r]=n);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"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}},setStyleProp:function(e,t){if(null!=e)try{t.style=o(e,i)}catch(n){t.style={}}},canTextBeChildOfNode:function(e){return!s.has(e.name)},elementsWithNoTextChildren:s}},6299:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,p=1;function f(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");p=~r?e.length-r:p+e.length}function h(){var e={line:d,column:p};return function(t){return t.position=new m(e),y(),t}}function m(e){this.start=e,this.end={line:d,column:p},this.source=l.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(l.source+":"+d+":"+p+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=p,n.source=e,!l.silent)throw n;g.push(n)}function b(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function y(){b(r)}function x(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;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return p+=2,f(r),e=e.slice(n),p+=2,t({type:"comment",comment:r})}}function k(){var e=h(),n=b(o);if(n){if(w(),!b(i))return v("property missing ':'");var r=b(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return b(s),l}}return y(),function(){var e,t=[];for(x(t);e=k();)!1!==e&&(t.push(e),x(t));return t}()}},251:(e,t,n)=>{"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function d(e){var t=e.re=n(7998)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push(c),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===o(n))return!function(e){return"[object RegExp]"===o(e)}(n.validate)?i(n.validate)?r.validate=n.validate:u(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(i(n.normalize)?r.normalize=n.normalize:n.normalize?u(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(n)?u(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var d=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+d+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+d+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function f(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function h(e,t){if(!(this instanceof h))return new h(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},d(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,d(this),this},h.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,i,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},h.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(f(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},h.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,f(this,0)):null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),d(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,d(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},7998:(e,t,n)=>{"use strict";e.exports=function(e){var t={};e=e||{},t.src_Any=n(3530).source,t.src_Cc=n(6889).source,t.src_Z=n(8442).source,t.src_P=n(7062).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var r="[><\uff5c]";return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},3054:(e,t,n)=>{"use strict";e.exports=n(1671)},3906:(e,t,n)=>{"use strict";e.exports=n(549)},5373:e=>{"use strict";e.exports=["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","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},9372:e=>{"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+t+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),o=new RegExp("^(?:"+t+"|"+n+")");e.exports.n=r,e.exports.q=o},5292:(e,t,n)=>{"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return r.call(e,t)}function i(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(3906);var d=/[&<>"]/,p=/[&<>"]/g,f={"&":"&","<":"<",">":">",'"':"""};function h(e){return f[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var g=n(7062);t.lib={},t.lib.mdurl=n(4976),t.lib.ucmicro=n(8579),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return o(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&i(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)}))},t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=function(e){return d.test(e)?e.replace(p,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}},4960:(e,t,n)=>{"use strict";t.parseLinkLabel=n(1519),t.parseLinkDestination=n(5361),t.parseLinkTitle=n(5477)},5361:(e,t,n)=>{"use strict";var r=n(5292).unescapeAll;e.exports=function(e,t,n){var o,i,a=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t32)return s;if(41===o){if(0===i)break;i--}t++}return a===t||0!==i||(s.str=r(e.slice(a,t)),s.lines=0,s.pos=t,s.ok=!0),s}},1519:e=>{"use strict";e.exports=function(e,t,n){var r,o,i,a,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos{"use strict";var r=n(5292).unescapeAll;e.exports=function(e,t,n){var o,i,a=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return l;for(t++,40===i&&(i=41);t{"use strict";var r=n(5292),o=n(4960),i=n(3931),a=n(8777),s=n(9101),l=n(4197),c=n(251),u=n(4976),d=n(8058),p={default:n(1602),zero:n(8373),commonmark:n(5112)},f=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!f.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=d.toASCII(t.hostname)}catch(n){}return u.encode(u.format(t))}function b(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=d.toUnicode(t.hostname)}catch(n){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function y(e,t){if(!(this instanceof y))return new y(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new a,this.renderer=new i,this.linkify=new c,this.validateLink=m,this.normalizeLink=v,this.normalizeLinkText=b,this.utils=r,this.helpers=r.assign({},o),this.options={},this.configure(e),t&&this.set(t)}y.prototype.set=function(e){return r.assign(this.options,e),this},y.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=p[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},y.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},y.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y},9101:(e,t,n)=>{"use strict";var r=n(1390),o=[["table",n(3031),["paragraph","reference"]],["code",n(1094)],["fence",n(5883),["paragraph","reference","blockquote","list"]],["blockquote",n(4261),["paragraph","reference","blockquote","list"]],["hr",n(1208),["paragraph","reference","blockquote","list"]],["list",n(1551),["paragraph","reference","blockquote"]],["reference",n(4600)],["html_block",n(5231),["paragraph","reference","blockquote"]],["heading",n(4758),["paragraph","reference","blockquote"]],["lheading",n(8971)],["paragraph",n(2248)]];function i(){this.ruler=new r;for(var e=0;e=n))&&!(e.sCount[a]=l){e.line=n;break}for(r=0;r{"use strict";var r=n(1390),o=[["normalize",n(7244)],["block",n(2304)],["inline",n(4059)],["linkify",n(9357)],["replacements",n(8919)],["smartquotes",n(2508)],["text_join",n(6499)]];function i(){this.ruler=new r;for(var e=0;e{"use strict";var r=n(1390),o=[["text",n(1414)],["linkify",n(1817)],["newline",n(4537)],["escape",n(8199)],["backticks",n(8706)],["strikethrough",n(338).w],["emphasis",n(7147).w],["link",n(6267)],["image",n(2641)],["autolink",n(1858)],["html_inline",n(3095)],["entity",n(5796)]],i=[["balance_pairs",n(2877)],["strikethrough",n(338).g],["emphasis",n(7147).g],["fragments_join",n(3976)]];function a(){var e;for(this.ruler=new r,e=0;e=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var o,i,a,s=new this.State(e,t,n,r);for(this.tokenize(s),a=(i=this.ruler2.getRules("")).length,o=0;o{"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},1602:e=>{"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},8373:e=>{"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}}},3931:(e,t,n)=>{"use strict";var r=n(5292).assign,o=n(5292).unescapeAll,i=n(5292).escapeHtml,a={};function s(){this.rules=r({},a)}a.code_inline=function(e,t,n,r,o){var a=e[t];return""+i(e[t].content)+""},a.code_block=function(e,t,n,r,o){var a=e[t];return""+i(e[t].content)+"\n"},a.fence=function(e,t,n,r,a){var s,l,c,u,d,p=e[t],f=p.info?o(p.info).trim():"",h="",m="";return f&&(h=(c=f.split(/(\s+)/g))[0],m=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(p.content,h,m)||i(p.content)).indexOf(""+s+"\n"):"
"+s+"
\n"},a.image=function(e,t,n,r,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},a.text=function(e,t){return i(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,o="",i=this.rules,a=0,s=e.length;a{"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t{"use strict";var r=n(5292).isSpace;e.exports=function(e,t,n,o){var i,a,s,l,c,u,d,p,f,h,m,g,v,b,y,x,w,k,S,C,E=e.lineMax,_=e.bMarks[t]+e.tShift[t],T=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(_++))return!1;if(o)return!0;for(l=f=e.sCount[t]+1,32===e.src.charCodeAt(_)?(_++,l++,f++,i=!1,x=!0):9===e.src.charCodeAt(_)?(x=!0,(e.bsCount[t]+f)%4==3?(_++,l++,f++,i=!1):i=!0):x=!1,h=[e.bMarks[t]],e.bMarks[t]=_;_=T,b=[e.sCount[t]],e.sCount[t]=f-l,y=[e.tShift[t]],e.tShift[t]=_-e.bMarks[t],k=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",p=t+1;p=(T=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(_++)||C){if(u)break;for(w=!1,s=0,c=k.length;s=T,m.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(x?1:0),b.push(e.sCount[p]),e.sCount[p]=f-l,y.push(e.tShift[p]),e.tShift[p]=_-e.bMarks[p]}for(g=e.blkIndent,e.blkIndent=0,(S=e.push("blockquote_open","blockquote",1)).markup=">",S.map=d=[t,0],e.md.block.tokenize(e,t,p),(S=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=v,d[1]=e.line,s=0;s{"use strict";e.exports=function(e,t,n){var r,o,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=r=t+1;r=4))break;o=++r}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}},5883:e=>{"use strict";e.exports=function(e,t,n,r){var o,i,a,s,l,c,u,d=!1,p=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(p+3>f)return!1;if(126!==(o=e.src.charCodeAt(p))&&96!==o)return!1;if(l=p,(i=(p=e.skipChars(p,o))-l)<3)return!1;if(u=e.src.slice(l,p),a=e.src.slice(p,f),96===o&&a.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((p=l=e.bMarks[s]+e.tShift[s])<(f=e.eMarks[s])&&e.sCount[s]=4||(p=e.skipChars(p,o))-l{"use strict";var r=n(5292).isSpace;e.exports=function(e,t,n,o){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(i=e.src.charCodeAt(c))||c>=u)return!1;for(a=1,i=e.src.charCodeAt(++c);35===i&&c6||cc&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a)),!0)}},1208:(e,t,n)=>{"use strict";var r=n(5292).isSpace;e.exports=function(e,t,n,o){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(c++))&&45!==i&&95!==i)return!1;for(a=1;c{"use strict";var r=n(5373),o=n(9372).q,i=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var o,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),o=0;o{"use strict";e.exports=function(e,t,n){var r,o,i,a,s,l,c,u,d,p,f=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType="paragraph";f3)){if(e.sCount[f]>=e.blkIndent&&(l=e.bMarks[f]+e.tShift[f])<(c=e.eMarks[f])&&(45===(d=e.src.charCodeAt(l))||61===d)&&(l=e.skipChars(l,d),(l=e.skipSpaces(l))>=c)){u=61===d?1:2;break}if(!(e.sCount[f]<0)){for(o=!1,i=0,a=h.length;i{"use strict";var r=n(5292).isSpace;function o(e,t){var n,o,i,a;return o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(n=e.src.charCodeAt(o++))&&45!==n&&43!==n||o=a)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=a)return-1;if(!((n=e.src.charCodeAt(i++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-o>=10)return-1}return i=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(I=!0),(A=i(e,t))>=0){if(p=!0,N=e.bMarks[t]+e.tShift[t],b=Number(e.src.slice(N,A-1)),I&&1!==b)return!1}else{if(!((A=o(e,t))>=0))return!1;p=!1}if(I&&e.skipSpaces(A)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(A-1),r)return!0;for(g=e.tokens.length,p?(j=e.push("ordered_list_open","ol",1),1!==b&&(j.attrs=[["start",b]])):j=e.push("bullet_list_open","ul",1),j.map=m=[t,0],j.markup=String.fromCharCode(v),x=t,R=!1,P=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";x=y?1:w-d)>4&&(u=1),c=d+u,(j=e.push("list_item_open","li",1)).markup=String.fromCharCode(v),j.map=f=[t,0],p&&(j.info=e.src.slice(N,A-1)),_=e.tight,E=e.tShift[t],C=e.sCount[t],k=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=w,s>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!R||(O=!1),R=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=k,e.tShift[t]=E,e.sCount[t]=C,e.tight=_,(j=e.push("list_item_close","li",-1)).markup=String.fromCharCode(v),x=t=e.line,f[1]=x,s=e.bMarks[t],x>=n)break;if(e.sCount[x]=4)break;for(Z=!1,l=0,h=P.length;l{"use strict";e.exports=function(e,t){var n,r,o,i,a,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l3||e.sCount[l]<0)){for(r=!1,o=0,i=c.length;o{"use strict";var r=n(5292).normalizeReference,o=n(5292).isSpace;e.exports=function(e,t,n,i){var a,s,l,c,u,d,p,f,h,m,g,v,b,y,x,w,k=0,S=e.bMarks[t]+e.tShift[t],C=e.eMarks[t],E=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(S))return!1;for(;++S3||e.sCount[E]<0)){for(y=!1,d=0,p=x.length;d{"use strict";var r=n(9147),o=n(5292).isSpace;function i(e,t,n,r){var i,a,s,l,c,u,d,p;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",p=!1,s=l=u=d=0,c=(a=this.src).length;l0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,d,p=e;if(e>=t)return"";for(u=new Array(t-e),i=0;pn?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},i.prototype.Token=r,e.exports=i},3031:(e,t,n)=>{"use strict";var r=n(5292).isSpace;function o(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function i(e){var t,n=[],r=0,o=e.length,i=!1,a=0,s="";for(t=e.charCodeAt(r);rn)return!1;if(p=t+1,e.sCount[p]=4)return!1;if((c=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(S=e.src.charCodeAt(c++))&&45!==S&&58!==S)return!1;if(c>=e.eMarks[p])return!1;if(124!==(C=e.src.charCodeAt(c++))&&45!==C&&58!==C&&!r(C))return!1;if(45===S&&r(C))return!1;for(;c=4)return!1;if((f=i(l)).length&&""===f[0]&&f.shift(),f.length&&""===f[f.length-1]&&f.pop(),0===(h=f.length)||h!==g.length)return!1;if(a)return!0;for(x=e.parentType,e.parentType="table",k=e.md.block.ruler.getRules("blockquote"),(m=e.push("table_open","table",1)).map=b=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u=4)break;for((f=i(l)).length&&""===f[0]&&f.shift(),f.length&&""===f[f.length-1]&&f.pop(),p===t+2&&((m=e.push("tbody_open","tbody",1)).map=y=[t+2,0]),(m=e.push("tr_open","tr",1)).map=[p,p+1],u=0;u{"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},4059:e=>{"use strict";e.exports=function(e){var t,n,r,o=e.tokens;for(n=0,r=o.length;n{"use strict";var r=n(5292).arrayReplaceAt;function o(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,i,a,s,l,c,u,d,p,f,h,m,g,v,b,y,x,w=e.tokens;if(e.md.options.linkify)for(n=0,i=w.length;n=0;t--)if("link_close"!==(l=a[t]).type){if("html_inline"===l.type&&(x=l.content,/^\s]/i.test(x)&&m>0&&m--,o(l.content)&&m++),!(m>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(d=l.content,y=e.md.linkify.match(d),c=[],h=l.level,f=0,y.length>0&&0===y[0].index&&t>0&&"text_special"===a[t-1].type&&(y=y.slice(1)),u=0;uf&&((s=new e.Token("text","",0)).content=d.slice(f,p),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",v]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=b,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),f=y[u].lastIndex);f{"use strict";var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,"\n")).replace(n,"\ufffd"),e.src=r}},8919:e=>{"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r)\)/i,r=/\((c|tm|r)\)/gi,o={c:"\xa9",r:"\xae",tm:"\u2122"};function i(e,t){return o[t.toLowerCase()]}function a(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||o||(n.content=n.content.replace(r,i)),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}function s(e){var n,r,o=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||o||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&a(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}},2508:(e,t,n)=>{"use strict";var r=n(5292).isWhiteSpace,o=n(5292).isPunctChar,i=n(5292).isMdAsciiPunct,a=/['"]/,s=/['"]/g;function l(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function c(e,t){var n,a,c,u,d,p,f,h,m,g,v,b,y,x,w,k,S,C,E,_,T;for(E=[],n=0;n=0&&!(E[S].level<=f);S--);if(E.length=S+1,"text"===a.type){d=0,p=(c=a.content).length;e:for(;d=0)m=c.charCodeAt(u.index-1);else for(S=n-1;S>=0&&("softbreak"!==e[S].type&&"hardbreak"!==e[S].type);S--)if(e[S].content){m=e[S].content.charCodeAt(e[S].content.length-1);break}if(g=32,d=48&&m<=57&&(k=w=!1),w&&k&&(w=v,k=b),w||k){if(k)for(S=E.length-1;S>=0&&(h=E[S],!(E[S].level=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},7811:(e,t,n)=>{"use strict";var r=n(9147);function o(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=r,e.exports=o},6499:e=>{"use strict";e.exports=function(e){var t,n,r,o,i,a,s=e.tokens;for(t=0,n=s.length;t{"use strict";var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,r){var o,i,a,s,l,c,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(l=e.pos,c=e.posMax;;){if(++u>=c)return!1;if(60===(s=e.src.charCodeAt(u)))return!1;if(62===s)break}return o=e.src.slice(l+1,u),n.test(o)?(i=e.md.normalizeLink(o),!!e.md.validateLink(i)&&(r||((a=e.push("link_open","a",1)).attrs=[["href",i]],a.markup="autolink",a.info="auto",(a=e.push("text","",0)).content=e.md.normalizeLinkText(o),(a=e.push("link_close","a",-1)).markup="autolink",a.info="auto"),e.pos+=o.length+2,!0)):!!t.test(o)&&(i=e.md.normalizeLink("mailto:"+o),!!e.md.validateLink(i)&&(r||((a=e.push("link_open","a",1)).attrs=[["href",i]],a.markup="autolink",a.info="auto",(a=e.push("text","",0)).content=e.md.normalizeLinkText(o),(a=e.push("link_close","a",-1)).markup="autolink",a.info="auto"),e.pos+=o.length+2,!0))}},8706:e=>{"use strict";e.exports=function(e,t){var n,r,o,i,a,s,l,c,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u{"use strict";function t(e,t){var n,r,o,i,a,s,l,c,u={},d=t.length;if(d){var p=0,f=-2,h=[];for(n=0;na;r-=h[r]+1)if((i=t[r]).marker===o.marker&&i.open&&i.end<0&&(l=!1,(i.close||o.open)&&(i.length+o.length)%3==0&&(i.length%3==0&&o.length%3==0||(l=!0)),!l)){c=r>0&&!t[r-1].open?h[r-1]+1:0,h[n]=n-r+c,h[r]=c,o.open=!1,i.end=n,i.close=!1,s=-1,f=-2;break}-1!==s&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=s)}}}e.exports=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n{"use strict";function t(e,t){var n,r,o,i,a,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(o=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===o.token+1,a=String.fromCharCode(r.marker),(i=e.tokens[r.token]).type=s?"strong_open":"em_open",i.tag=s?"strong":"em",i.nesting=1,i.markup=s?a+a:a,i.content="",(i=e.tokens[o.token]).type=s?"strong_close":"em_close",i.tag=s?"strong":"em",i.nesting=-1,i.markup=s?a+a:a,i.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(r=e.scanDelims(e.pos,42===i),n=0;n{"use strict";var r=n(3906),o=n(5292).has,i=n(5292).isValidEntityCode,a=n(5292).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u,d=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(d))return!1;if(d+1>=p)return!1;if(35===e.src.charCodeAt(d+1)){if(c=e.src.slice(d).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),(u=e.push("text_special","",0)).content=i(n)?a(n):a(65533),u.markup=c[0],u.info="entity"),e.pos+=c[0].length,!0}else if((c=e.src.slice(d).match(l))&&o(r,c[1]))return t||((u=e.push("text_special","",0)).content=r[c[1]],u.markup=c[0],u.info="entity"),e.pos+=c[0].length,!0;return!1}},8199:(e,t,n)=>{"use strict";for(var r=n(5292).isSpace,o=[],i=0;i<256;i++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){o[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,i,a,s,l,c=e.pos,u=e.posMax;if(92!==e.src.charCodeAt(c))return!1;if(++c>=u)return!1;if(10===(n=e.src.charCodeAt(c))){for(t||e.push("hardbreak","br",0),c++;c=55296&&n<=56319&&c+1=56320&&i<=57343&&(s+=e.src[c+1],c++),a="\\"+s,t||(l=e.push("text_special","",0),n<256&&0!==o[n]?l.content=s:l.content=a,l.markup=a,l.info="escape"),e.pos=c+1,!0}},3976:e=>{"use strict";e.exports=function(e){var t,n,r=0,o=e.tokens,i=e.tokens.length;for(t=n=0;t0&&r++,"text"===o[t].type&&t+1{"use strict";var r=n(9372).n;e.exports=function(e,t){var n,o,i,a,s,l=e.pos;return!!e.md.options.html&&(i=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=i)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(o=e.src.slice(l).match(r))&&(t||((a=e.push("html_inline","",0)).content=e.src.slice(l,l+o[0].length),s=a.content,/^\s]/i.test(s)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(a.content)&&e.linkLevel--),e.pos+=o[0].length,!0))))}},2641:(e,t,n)=>{"use strict";var r=n(5292).normalizeReference,o=n(5292).isSpace;e.exports=function(e,t){var n,i,a,s,l,c,u,d,p,f,h,m,g,v="",b=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)=y)return!1;for(g=u,(p=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(v=e.md.normalizeLink(p.str),e.md.validateLink(v)?u=p.pos:v=""),g=u;u=y||41!==e.src.charCodeAt(u))return e.pos=b,!1;u++}else{if(void 0===e.env.references)return!1;if(u=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(d=e.env.references[r(s)]))return e.pos=b,!1;v=d.href,f=d.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push("image","img",0)).attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,f&&n.push(["title",f])),e.pos=u,e.posMax=y,!0}},6267:(e,t,n)=>{"use strict";var r=n(5292).normalizeReference,o=n(5292).isSpace;e.exports=function(e,t){var n,i,a,s,l,c,u,d,p="",f="",h=e.pos,m=e.posMax,g=e.pos,v=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)=m)return!1;if(g=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(p=e.md.normalizeLink(u.str),e.md.validateLink(p)?c=u.pos:p="",g=c;c=m||41!==e.src.charCodeAt(c))&&(v=!0),c++}if(v){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(g,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(d=e.env.references[r(a)]))return e.pos=h,!1;p=d.href,f=d.title}return t||(e.pos=l,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",p]],f&&n.push(["title",f]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)),e.pos=c,e.posMax=m,!0}},1817:e=>{"use strict";var t=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;e.exports=function(e,n){var r,o,i,a,s,l,c;return!!e.md.options.linkify&&(!(e.linkLevel>0)&&(!((r=e.pos)+3>e.posMax)&&(58===e.src.charCodeAt(r)&&(47===e.src.charCodeAt(r+1)&&(47===e.src.charCodeAt(r+2)&&(!!(o=e.pending.match(t))&&(i=o[1],!!(a=e.md.linkify.matchAtStart(e.src.slice(r-i.length)))&&(s=(s=a.url).replace(/\*+$/,""),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(n||(e.pending=e.pending.slice(0,-i.length),(c=e.push("link_open","a",1)).attrs=[["href",l]],c.markup="linkify",c.info="auto",(c=e.push("text","",0)).content=e.md.normalizeLinkText(s),(c=e.push("link_close","a",-1)).markup="linkify",c.info="auto"),e.pos+=s.length-i.length,!0)))))))))}},4537:(e,t,n)=>{"use strict";var r=n(5292).isSpace;e.exports=function(e,t){var n,o,i,a=e.pos;if(10!==e.src.charCodeAt(a))return!1;if(n=e.pending.length-1,o=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(i=n-1;i>=1&&32===e.pending.charCodeAt(i-1);)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(a++;a{"use strict";var r=n(9147),o=n(5292).isWhiteSpace,i=n(5292).isPunctChar,a=n(5292).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var o=new r(e,t,n),i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),o.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(i),o},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,d,p,f,h=e,m=!0,g=!0,v=this.posMax,b=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h{"use strict";function t(e,t){var n,r,o,i,a,s=[],l=t.length;for(n=0;n{"use strict";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r{"use strict";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},3771:e=>{"use strict";var t={};function n(e,r){var o;return"string"!=typeof r&&(r=n.defaultChars),o=function(e){var n,r,o=t[e];if(o)return o;for(o=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),o.push(r);for(n=0;n=55296&&l<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(l),t+=6):240==(248&r)&&t+91114111?c+="\ufffd\ufffd\ufffd\ufffd":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="\ufffd";return c}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},1737:e=>{"use strict";var t={};function n(e,r,o){var i,a,s,l,c,u="";for("string"!=typeof r&&(o=r,r=n.defaultChars),void 0===o&&(o=!0),c=function(e){var n,r,o=t[e];if(o)return o;for(o=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1=56320&&l<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},5024:e=>{"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},4976:(e,t,n)=>{"use strict";e.exports.encode=n(1737),e.exports.decode=n(3771),e.exports.format=n(5024),e.exports.parse=n(2084)},2084:e=>{"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),a=["'"].concat(i),s=["%","/","?",";","#"].concat(a),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,i,a,f,h,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=o.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var v=n.exec(m);if(v&&(a=(v=v[0]).toLowerCase(),this.protocol=v,m=m.substr(v.length)),(t||v||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(h="//"===m.substr(0,2))||v&&d[v]||(m=m.substr(2),this.slashes=!0)),!d[v]&&(h||v&&!p[v])){var b,y,x=-1;for(r=0;r127?E+="x":E+=C[_];if(!E.match(c)){var A=S.slice(0,r),R=S.slice(r+1),N=C.match(u);N&&(A.push(N[1]),R.unshift(N[2])),R.length&&(m=R.join(".")+m),this.hostname=A.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var Z=m.indexOf("#");-1!==Z&&(this.hash=m.substr(Z),m=m.slice(0,Z));var P=m.indexOf("?");return-1!==P&&(this.search=m.substr(P),m=m.slice(0,P)),m&&(this.pathname=m),p[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},8058:(e,t,n)=>{"use strict";n.r(t),n.d(t,{decode:()=>v,default:()=>w,encode:()=>b,toASCII:()=>x,toUnicode:()=>y,ucs2decode:()=>f,ucs2encode:()=>h});const r=2147483647,o=36,i=/^xn--/,a=/[^\0-\x7F]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function d(e){throw new RangeError(l[e])}function p(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const o=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+o}function f(e){const t=[];let n=0;const r=e.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...e),m=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=o)e=c(e/35);return c(r+36*e/(e+38))},v=function(e){const t=[],n=e.length;let i=0,a=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let r=0;r=128&&d("not-basic"),t.push(e.charCodeAt(r));for(let p=l>0?l+1:0;p=n&&d("invalid-input");const l=(u=e.charCodeAt(p++))>=48&&u<58?u-48+26:u>=65&&u<91?u-65:u>=97&&u<123?u-97:o;l>=o&&d("invalid-input"),l>c((r-i)/t)&&d("overflow"),i+=l*t;const f=a<=s?1:a>=s+26?26:a-s;if(lc(r/h)&&d("overflow"),t*=h}const f=t.length+1;s=g(i-l,f,0==l),c(i/f)>r-a&&d("overflow"),a+=c(i/f),i%=f,t.splice(i++,0,a)}var u;return String.fromCodePoint(...t)},b=function(e){const t=[],n=(e=f(e)).length;let i=128,a=0,s=72;for(const r of e)r<128&&t.push(u(r));const l=t.length;let p=l;for(l&&t.push("-");p=i&&tc((r-a)/f)&&d("overflow"),a+=(n-i)*f,i=n;for(const h of e)if(hr&&d("overflow"),h===i){let e=a;for(let n=o;;n+=o){const r=n<=s?1:n>=s+26?26:n-s;if(e{"use strict";var r=n(2784),o=n(4616);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n