From 626ce9e9fc1422b6eb3d356e252265adb8e4da9c Mon Sep 17 00:00:00 2001 From: github-actions-bot Date: Sat, 2 Mar 2024 16:51:23 +0000 Subject: [PATCH] Updates --- asset-manifest.json | 32 ++++----- index.html | 2 +- static/js/main.43c2eb61.js | 3 + static/js/main.43c2eb61.js.LICENSE.txt | 92 ++++++++++++++++++++++++++ static/js/main.43c2eb61.js.map | 1 + 5 files changed, 113 insertions(+), 17 deletions(-) create mode 100644 static/js/main.43c2eb61.js create mode 100644 static/js/main.43c2eb61.js.LICENSE.txt create mode 100644 static/js/main.43c2eb61.js.map diff --git a/asset-manifest.json b/asset-manifest.json index ea2168c..1c600a2 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,22 +1,22 @@ { "files": { - "main.js": "/postgsail/static/js/main.1f478784.js", - "static/media/timelapse.png": "/postgsail/static/media/timelapse.ce6208c83b8bed24a815.png", - "static/media/demo.mp4": "/postgsail/static/media/demo.129abcade2a4fd793dff.mp4", - "static/media/monitoring.png": "/postgsail/static/media/monitoring.c3474b2b05f71e2dc913.png", - "static/media/article-page-example.png": "/postgsail/static/media/article-page-example.70d6bd57ede0ada106fa.png", - "static/media/stats.png": "/postgsail/static/media/stats.cc978ab82b50bc15aa41.png", - "static/media/pokemon.png": "/postgsail/static/media/pokemon.ac632dd7fdb5aa28556b.png", - "static/media/logs.png": "/postgsail/static/media/logs.d1605a06ac0989f3158a.png", - "static/media/webinaire.png": "/postgsail/static/media/webinaire.0fb29383820e122217ca.png", - "static/media/data-visualisation.png": "/postgsail/static/media/data-visualisation.c147fb3b112f51f096a2.png", - "static/media/kubernetes.png": "/postgsail/static/media/kubernetes.52ea2430dfac2c2b029c.png", - "static/media/discord-mark-blue.png": "/postgsail/static/media/discord-mark-blue.667df059ddf407979d68.png", - "static/media/PostgsailLogo.svg": "/postgsail/static/media/PostgsailLogo.132516ec587bf04cd61e19103b9c54f8.svg", - "index.html": "/postgsail/index.html", - "main.1f478784.js.map": "/postgsail/static/js/main.1f478784.js.map" + "main.js": "./static/js/main.43c2eb61.js", + "static/media/timelapse.png": "./static/media/timelapse.ce6208c83b8bed24a815.png", + "static/media/demo.mp4": "./static/media/demo.129abcade2a4fd793dff.mp4", + "static/media/monitoring.png": "./static/media/monitoring.c3474b2b05f71e2dc913.png", + "static/media/article-page-example.png": "./static/media/article-page-example.70d6bd57ede0ada106fa.png", + "static/media/stats.png": "./static/media/stats.cc978ab82b50bc15aa41.png", + "static/media/pokemon.png": "./static/media/pokemon.ac632dd7fdb5aa28556b.png", + "static/media/logs.png": "./static/media/logs.d1605a06ac0989f3158a.png", + "static/media/webinaire.png": "./static/media/webinaire.0fb29383820e122217ca.png", + "static/media/data-visualisation.png": "./static/media/data-visualisation.c147fb3b112f51f096a2.png", + "static/media/kubernetes.png": "./static/media/kubernetes.52ea2430dfac2c2b029c.png", + "static/media/discord-mark-blue.png": "./static/media/discord-mark-blue.667df059ddf407979d68.png", + "static/media/PostgsailLogo.svg": "./static/media/PostgsailLogo.132516ec587bf04cd61e19103b9c54f8.svg", + "index.html": "./index.html", + "main.43c2eb61.js.map": "./static/js/main.43c2eb61.js.map" }, "entrypoints": [ - "static/js/main.1f478784.js" + "static/js/main.43c2eb61.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index db66767..6fb0da6 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -PostgSail
\ No newline at end of file +PostgSail
\ No newline at end of file diff --git a/static/js/main.43c2eb61.js b/static/js/main.43c2eb61.js new file mode 100644 index 0000000..2715bf0 --- /dev/null +++ b/static/js/main.43c2eb61.js @@ -0,0 +1,3 @@ +/*! For license information please see main.43c2eb61.js.LICENSE.txt */ +(()=>{var e={5513:(e,t,n)=>{"use strict";n.d(t,{A:()=>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?c(x,--y):0,v--,10===b&&(v=1,m--),b}function A(){return b=y2||_(b)>3?"":" "}function R(e,t){for(;--t&&A()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return P(e,C()+(t<6&&32==E()&&32==A()))}function L(e){for(;A();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&L(b);break;case 40:41===e&&L(e);break;case 92:A()}return y}function I(e,t){for(;A()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+P(t,y-1)+"*"+i(47===e?e:A())}function D(e){for(;!_(E());)A();return P(e,y)}var F="-ms-",z="-moz-",N="-webkit-",B="comm",H="rule",W="decl",V="@keyframes";function U(e,t){for(var n="",r=p(e),o=0;o0&&f(z)-g&&h(b>32?Y(z+";",r,n,g-1):Y(s(z," ","")+";",r,n,g-2),p);break;case 59:z+=";";default:if(h(F=K(z,t,n,m,v,o,d,O,j=[],L=[],g),a),123===_)if(0===v)$(z,t,F,F,j,a,g,d,L);else switch(99===y&&110===c(z,3)?100:y){case 100:case 108:case 109:case 115:$(e,F,F,r&&h(K(e,F,F,0,0,o,d,O,o,j=[],g),L),o,L,g,d,r?j:L);break;default:$(z,F,F,F,[""],L,0,d,L)}}m=v=b=0,w=P=1,O=z="",g=l;break;case 58:g=1+f(z),b=x;default:if(w<1)if(123==_)--w;else if(125==_&&0==w++&&125==k())continue;switch(z+=i(_),_*w){case 38:P=v>0?1:(z+="\f",-1);break;case 44:d[m++]=(f(z)-1)*P,P=1;break;case 64:45===E()&&(z+=T(A())),y=E(),v=g=f(O=z+=D(C())),_++;break;case 45:45===x&&2==f(z)&&(w=0)}}return a}function K(e,t,n,r,i,a,u,c,f,h,m){for(var v=i-1,g=0===i?a:[""],y=p(g),b=0,x=0,S=0;b0?g[k]+" "+A:s(A,/&\f/g,g[k])))&&(f[S++]=E);return w(e,t,n,0===i?H:c,f,h,m)}function X(e,t,n){return w(e,t,n,B,i(b),d(e,2,-2),0)}function Y(e,t,n,r){return w(e,t,n,W,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),!_(o);)A();return P(e,y)},Z=function(e,t){return j(function(e,t){var n=-1,r=44;do{switch(_(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=Q(y-1,t,n);break;case 2:e[n]+=T(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=A());return e}(O(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=Z(t,o),a=n.props,l=0,s=0;l6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+z+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?ne(s(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,f(e)-3-(~u(e,"!important")&&10))){case 107:return s(e,":",":"+N)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+N+(45===c(e,14)?"inline-":"")+"box$3$1"+N+"$2$3$1"+F+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return N+e+F+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return N+e+F+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return N+e+F+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return N+e+F+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=ne(e.value,e.length);break;case V:return U([S(e,{value:s(e.value,"@","@"+N)})],r);case H: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([S(e,{props:[s(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([S(e,{props:[s(t,/:(plac\w+)/,":"+N+"input-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,F+"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,l={},s=[];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,{A:()=>r})},5025:(e,t,n)=>{"use strict";n.d(t,{C:()=>l,T:()=>c,_:()=>s,i:()=>i,w:()=>u});var r=n(5043),o=n(5513),i=(n(2830),n(9436),!0),a=r.createContext("undefined"!==typeof HTMLElement?(0,o.A)({key:"css"}):null);var l=a.Provider,s=function(){return(0,r.useContext)(a)},u=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(a);return e(t,o,n)}))};i||(u=function(e){return function(t){var n=(0,r.useContext)(a);return null===n?(n=(0,o.A)({key:"css"}),r.createElement(a.Provider,{value:n},e(t,n))):e(t,n)}});var c=r.createContext({})},3290:(e,t,n)=>{"use strict";n.d(t,{AH:()=>u,i7:()=>c,mL:()=>s});var r=n(5025),o=n(5043),i=n(1722),a=n(9436),l=n(2830),s=(n(5513),n(219),(0,r.w)((function(e,t){var n=e.styles,s=(0,l.J)([n],void 0,o.useContext(r.T));if(!r.i){for(var u,c=s.name,d=s.styles,f=s.next;void 0!==f;)c+=" "+f.name,d+=f.styles,f=f.next;var p=!0===t.compat,h=t.insert("",{name:c,styles:d},t.sheet,p);return p?null:o.createElement("style",((u={})["data-emotion"]=t.key+"-global "+c,u.dangerouslySetInnerHTML={__html:h},u.nonce=t.sheet.nonce,u))}var m=o.useRef();return(0,a.i)((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,o=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),m.current=[n,r],function(){n.flush()}}),[t]),(0,a.i)((function(){var e=m.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==s.next&&(0,i.sk)(t,s.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",s,n,!1)}}),[t,s.name]),null})));function u(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{J:()=>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(918),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},s=function(e){return null!=e&&"boolean"!==typeof e},u=(0,o.A)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),c=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(a,(function(e,t,n){return f={name:t,styles:n,next:f},t}))}return 1===r[e]||l(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 f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},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)+s;return{name:u,styles:o,next:f}}},9436:(e,t,n)=>{"use strict";var r;n.d(t,{i:()=>l,s:()=>a});var o=n(5043),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},1722:(e,t,n)=>{"use strict";n.d(t,{Rk:()=>r,SF:()=>o,sk:()=>i});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)}}},5990:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(5043),o=n(7950),i=n(7042),a=n(3844),l=n(9184),s=n(579);const u=r.forwardRef((function(e,t){const{children:n,container:u,disablePortal:c=!1}=e,[d,f]=r.useState(null),p=(0,i.A)(r.isValidElement(n)?n.ref:null,t);if((0,a.A)((()=>{c||f(function(e){return"function"===typeof e?e():e}(u)||document.body)}),[u,c]),(0,a.A)((()=>{if(d&&!c)return(0,l.A)(t,d),()=>{(0,l.A)(t,null)}}),[t,d,c]),c){if(r.isValidElement(n)){const e={ref:p};return r.cloneElement(n,e)}return(0,s.jsx)(r.Fragment,{children:n})}return(0,s.jsx)(r.Fragment,{children:d?o.createPortal(n,d):d})}))},2205:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(8168),o=n(540);function i(e,t,n){return void 0===e||(0,o.g)(e)?t:(0,r.A)({},t,{ownerState:(0,r.A)({},t.ownerState,n)})}},9279:(e,t,n)=>{"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];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}n.d(t,{h:()=>r})},540:(e,t,n)=>{"use strict";function r(e){return"string"===typeof e}n.d(t,{g:()=>r})},7061:(e,t,n)=>{"use strict";n.d(t,{Q:()=>d});var r=n(8168),o=n(8587),i=n(7042),a=n(2205),l=n(8387),s=n(9279);function u(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}const c=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function d(e){var t;const{elementType:n,externalSlotProps:d,ownerState:f,skipResolvingSlotProps:p=!1}=e,h=(0,o.A)(e,c),m=p?{}:function(e,t,n){return"function"===typeof e?e(t,n):e}(d,f),{props:v,internalRef:g}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:o,externalForwardedProps:i,className:a}=e;if(!t){const e=(0,l.A)(null==n?void 0:n.className,a,null==i?void 0:i.className,null==o?void 0:o.className),t=(0,r.A)({},null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),s=(0,r.A)({},n,i,o);return e.length>0&&(s.className=e),Object.keys(t).length>0&&(s.style=t),{props:s,internalRef:void 0}}const c=(0,s.h)((0,r.A)({},i,o)),d=u(o),f=u(i),p=t(c),h=(0,l.A)(null==p?void 0:p.className,null==n?void 0:n.className,a,null==i?void 0:i.className,null==o?void 0:o.className),m=(0,r.A)({},null==p?void 0:p.style,null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),v=(0,r.A)({},p,n,f,d);return h.length>0&&(v.className=h),Object.keys(m).length>0&&(v.style=m),{props:v,internalRef:p.ref}}((0,r.A)({},h,{externalSlotProps:m})),y=(0,i.A)(g,null==m?void 0:m.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,a.X)(n,(0,r.A)({},v,{ref:y}),f)}},8855:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos")},2497:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIos")},3608:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward")},4423:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("circle",{cx:"12",cy:"12",r:"10"}),"Brightness1Rounded")},9307:(e,t,n)=>{"use strict";var r=n(2613);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(579);t.default=(0,o.default)((0,i.jsx)("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6"}),"Brightness4")},8094:(e,t,n)=>{"use strict";var r=n(2613);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(579);t.default=(0,o.default)((0,i.jsx)("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6m0-10c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4"}),"Brightness7")},5382:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.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")},813:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"M2 15.5v2h20v-2zm0-5v2h20v-2zm0-5v2h20v-2z"}),"Dehaze")},1337:(e,t,n)=>{"use strict";var r=n(2613);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(579);t.default=(0,o.default)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},6312:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"M6 7h2.5L5 3.5 1.5 7H4v10H1.5L5 20.5 8.5 17H6zm4-2v2h12V5zm0 14h12v-2H10zm0-6h12v-2H10z"}),"FormatLineSpacing")},4536:(e,t,n)=>{"use strict";var r=n(2613);t.A=void 0;var o=r(n(39)),i=n(579);t.A=(0,o.default)((0,i.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown")},3513:(e,t,n)=>{"use strict";var r=n(2613);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(579);t.default=(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 2m-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 2zm6.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.39"}),"Public")},39:(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(8167)},9195:(e,t,n)=>{"use strict";n.r(t),n.d(t,{buttonClasses:()=>g,default:()=>C,getButtonUtilityClass:()=>v});var r=n(8587),o=n(8168),i=n(5043),a=n(8387),l=n(2018),s=n(8606),u=n(3650),c=n(6671),d=n(1070),f=n(3383),p=n(6803),h=n(7056),m=n(2400);function v(e){return(0,m.Ay)("MuiButton",e)}const g=(0,h.A)("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 y=i.createContext({});const b=i.createContext(void 0);var x=n(579);const w=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],S=e=>(0,o.A)({},"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}}),k=(0,c.Ay)(f.A,{shouldForwardProp:e=>(0,c.ep)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,p.A)(n.color))],t["size".concat((0,p.A)(n.size))],t["".concat(n.variant,"Size").concat((0,p.A)(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((e=>{let{theme:t,ownerState:n}=e;var r,i;const a="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],l="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return(0,o.A)({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":(0,o.A)({textDecoration:"none",backgroundColor:t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,u.X4)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===n.variant&&"inherit"!==n.color&&{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,u.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===n.variant&&"inherit"!==n.color&&{border:"1px solid ".concat((t.vars||t).palette[n.color].main),backgroundColor:t.vars?"rgba(".concat(t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,u.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===n.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===n.variant&&"inherit"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[n.color].main}}),"&:active":(0,o.A)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[8]}),["&.".concat(g.focusVisible)]:(0,o.A)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[6]}),["&.".concat(g.disabled)]:(0,o.A)({color:(t.vars||t).palette.action.disabled},"outlined"===n.variant&&{border:"1px solid ".concat((t.vars||t).palette.action.disabledBackground)},"contained"===n.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===n.variant&&{padding:"6px 8px"},"text"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].main},"outlined"===n.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].main,border:t.vars?"1px solid rgba(".concat(t.vars.palette[n.color].mainChannel," / 0.5)"):"1px solid ".concat((0,u.X4)(t.palette[n.color].main,.5))},"contained"===n.variant&&{color:t.vars?t.vars.palette.text.primary:null==(r=(i=t.palette).getContrastText)?void 0:r.call(i,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:a,boxShadow:(t.vars||t).shadows[2]},"contained"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].contrastText,backgroundColor:(t.vars||t).palette[n.color].main},"inherit"===n.color&&{color:"inherit",borderColor:"currentColor"},"small"===n.size&&"text"===n.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"text"===n.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===n.size&&"outlined"===n.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"outlined"===n.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===n.size&&"contained"===n.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"contained"===n.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},n.fullWidth&&{width:"100%"})}),(e=>{let{ownerState:t}=e;return t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},["&.".concat(g.focusVisible)]:{boxShadow:"none"},"&:active":{boxShadow:"none"},["&.".concat(g.disabled)]:{boxShadow:"none"}}})),A=(0,c.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t["iconSize".concat((0,p.A)(n.size))]]}})((e=>{let{ownerState:t}=e;return(0,o.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},S(t))})),E=(0,c.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t["iconSize".concat((0,p.A)(n.size))]]}})((e=>{let{ownerState:t}=e;return(0,o.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},S(t))})),C=i.forwardRef((function(e,t){const n=i.useContext(y),u=i.useContext(b),c=(0,l.A)(n,e),f=(0,d.A)({props:c,name:"MuiButton"}),{children:h,color:m="primary",component:g="button",className:S,disabled:C=!1,disableElevation:P=!1,disableFocusRipple:_=!1,endIcon:O,focusVisibleClassName:j,fullWidth:T=!1,size:M="medium",startIcon:R,type:L,variant:I="text"}=f,D=(0,r.A)(f,w),F=(0,o.A)({},f,{color:m,component:g,disabled:C,disableElevation:P,disableFocusRipple:_,fullWidth:T,size:M,type:L,variant:I}),z=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,classes:l}=e,u={root:["root",a,"".concat(a).concat((0,p.A)(t)),"size".concat((0,p.A)(i)),"".concat(a,"Size").concat((0,p.A)(i)),"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat((0,p.A)(i))],endIcon:["endIcon","iconSize".concat((0,p.A)(i))]},c=(0,s.A)(u,v,l);return(0,o.A)({},l,c)})(F),N=R&&(0,x.jsx)(A,{className:z.startIcon,ownerState:F,children:R}),B=O&&(0,x.jsx)(E,{className:z.endIcon,ownerState:F,children:O}),H=u||"";return(0,x.jsxs)(k,(0,o.A)({ownerState:F,className:(0,a.A)(n.className,z.root,S,H),component:g,disabled:C,focusRipple:!_,focusVisibleClassName:(0,a.A)(z.focusVisible,j),ref:t,type:L},D,{classes:z,children:[N,h,B]}))}))},3383:(e,t,n)=>{"use strict";n.d(t,{A:()=>K});var r=n(8168),o=n(8587),i=n(5043),a=n(8387),l=n(8606),s=n(6671),u=n(1070),c=n(5849),d=n(3319),f=n(2191);function p(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var h=n(5540),m=n(8726);function v(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),n}function g(e,t,n){return null!=n[t]?n[t]:e.props[t]}function y(e,t,n){var r=v(e.children),o=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 l={};for(var s in t){if(o[s])for(r=0;r{if(!u&&null!=c){const e=setTimeout(c,d);return()=>{clearTimeout(e)}}}),[c,u,d]),(0,A.jsx)("span",{className:h,style:m,children:(0,A.jsx)("span",{className:v})})};var C=n(7056);const P=(0,C.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);var _,O,j,T;const M=["center","classes","className"];let R,L,I,D;const F=(0,S.i7)(R||(R=_||(_=p(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])))),z=(0,S.i7)(L||(L=O||(O=p(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"])))),N=(0,S.i7)(I||(I=j||(j=p(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"])))),B=(0,s.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),H=(0,s.Ay)(E,{name:"MuiTouchRipple",slot:"Ripple"})(D||(D=T||(T=p(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]))),P.rippleVisible,F,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),P.ripplePulsate,(e=>{let{theme:t}=e;return t.transitions.duration.shorter}),P.child,P.childLeaving,z,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),P.childPulsate,N,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut})),W=i.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiTouchRipple"}),{center:l=!1,classes:s={},className:c}=n,d=(0,o.A)(n,M),[f,p]=i.useState([]),h=i.useRef(0),m=i.useRef(null);i.useEffect((()=>{m.current&&(m.current(),m.current=null)}),[f]);const v=i.useRef(!1),g=(0,k.A)(),y=i.useRef(null),b=i.useRef(null),x=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;p((e=>[...e,(0,A.jsx)(H,{classes:{ripple:(0,a.A)(s.ripple,P.ripple),rippleVisible:(0,a.A)(s.rippleVisible,P.rippleVisible),ripplePulsate:(0,a.A)(s.ripplePulsate,P.ripplePulsate),child:(0,a.A)(s.child,P.child),childLeaving:(0,a.A)(s.childLeaving,P.childLeaving),childPulsate:(0,a.A)(s.childPulsate,P.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)])),h.current+=1,m.current=i}),[s]),S=i.useCallback((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};const{pulsate:r=!1,center:o=l||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&v.current)return void(v.current=!1);"touchstart"===(null==e?void 0:e.type)&&(v.current=!0);const a=i?null:b.current,s=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,d;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(o)d=Math.sqrt((2*s.width**2+s.height**2)/3),d%2===0&&(d+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-c),c)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===y.current&&(y.current=()=>{x({pulsate:r,rippleX:u,rippleY:c,rippleSize:d,cb:n})},g.start(80,(()=>{y.current&&(y.current(),y.current=null)}))):x({pulsate:r,rippleX:u,rippleY:c,rippleSize:d,cb:n})}),[l,x,g]),E=i.useCallback((()=>{S({},{pulsate:!0})}),[S]),C=i.useCallback(((e,t)=>{if(g.clear(),"touchend"===(null==e?void 0:e.type)&&y.current)return y.current(),y.current=null,void g.start(0,(()=>{C(e,t)}));y.current=null,p((e=>e.length>0?e.slice(1):e)),m.current=t}),[g]);return i.useImperativeHandle(t,(()=>({pulsate:E,start:S,stop:C})),[E,S,C]),(0,A.jsx)(B,(0,r.A)({className:(0,a.A)(P.root,s.root,c),ref:b},d,{children:(0,A.jsx)(w,{component:null,exit:!0,children:f})}))}));var V=n(2400);function U(e){return(0,V.Ay)("MuiButtonBase",e)}const q=(0,C.A)("MuiButtonBase",["root","disabled","focusVisible"]),G=["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"],$=(0,s.Ay)("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"},["&.".concat(q.disabled)]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),K=i.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiButtonBase"}),{action:s,centerRipple:p=!1,children:h,className:m,component:v="button",disabled:g=!1,disableRipple:y=!1,disableTouchRipple:b=!1,focusRipple:x=!1,LinkComponent:w="a",onBlur:S,onClick:k,onContextMenu:E,onDragLeave:C,onFocus:P,onFocusVisible:_,onKeyDown:O,onKeyUp:j,onMouseDown:T,onMouseLeave:M,onMouseUp:R,onTouchEnd:L,onTouchMove:I,onTouchStart:D,tabIndex:F=0,TouchRippleProps:z,touchRippleRef:N,type:B}=n,H=(0,o.A)(n,G),V=i.useRef(null),q=i.useRef(null),K=(0,c.A)(q,N),{isFocusVisibleRef:X,onFocus:Y,onBlur:Q,ref:Z}=(0,f.A)(),[J,ee]=i.useState(!1);g&&J&&ee(!1),i.useImperativeHandle(s,(()=>({focusVisible:()=>{ee(!0),V.current.focus()}})),[]);const[te,ne]=i.useState(!1);i.useEffect((()=>{ne(!0)}),[]);const re=te&&!y&&!g;function oe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;return(0,d.A)((r=>{t&&t(r);return!n&&q.current&&q.current[e](r),!0}))}i.useEffect((()=>{J&&x&&!y&&te&&q.current.pulsate()}),[y,x,J,te]);const ie=oe("start",T),ae=oe("stop",E),le=oe("stop",C),se=oe("stop",R),ue=oe("stop",(e=>{J&&e.preventDefault(),M&&M(e)})),ce=oe("start",D),de=oe("stop",L),fe=oe("stop",I),pe=oe("stop",(e=>{Q(e),!1===X.current&&ee(!1),S&&S(e)}),!1),he=(0,d.A)((e=>{V.current||(V.current=e.currentTarget),Y(e),!0===X.current&&(ee(!0),_&&_(e)),P&&P(e)})),me=()=>{const e=V.current;return v&&"button"!==v&&!("A"===e.tagName&&e.href)},ve=i.useRef(!1),ge=(0,d.A)((e=>{x&&!ve.current&&J&&q.current&&" "===e.key&&(ve.current=!0,q.current.stop(e,(()=>{q.current.start(e)}))),e.target===e.currentTarget&&me()&&" "===e.key&&e.preventDefault(),O&&O(e),e.target===e.currentTarget&&me()&&"Enter"===e.key&&!g&&(e.preventDefault(),k&&k(e))})),ye=(0,d.A)((e=>{x&&" "===e.key&&q.current&&J&&!e.defaultPrevented&&(ve.current=!1,q.current.stop(e,(()=>{q.current.pulsate(e)}))),j&&j(e),k&&e.target===e.currentTarget&&me()&&" "===e.key&&!e.defaultPrevented&&k(e)}));let be=v;"button"===be&&(H.href||H.to)&&(be=w);const xe={};"button"===be?(xe.type=void 0===B?"button":B,xe.disabled=g):(H.href||H.to||(xe.role="button"),g&&(xe["aria-disabled"]=g));const we=(0,c.A)(t,Z,V);const Se=(0,r.A)({},n,{centerRipple:p,component:v,disabled:g,disableRipple:y,disableTouchRipple:b,focusRipple:x,tabIndex:F,focusVisible:J}),ke=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,l.A)(i,U,o);return n&&r&&(a.root+=" ".concat(r)),a})(Se);return(0,A.jsxs)($,(0,r.A)({as:be,className:(0,a.A)(ke.root,m),ownerState:Se,onBlur:pe,onClick:k,onContextMenu:ae,onFocus:he,onKeyDown:ge,onKeyUp:ye,onMouseDown:ie,onMouseLeave:ue,onMouseUp:se,onDragLeave:le,onTouchEnd:de,onTouchMove:fe,onTouchStart:ce,ref:we,tabIndex:g?-1:F,type:B},xe,H,{children:[h,re?(0,A.jsx)(W,(0,r.A)({ref:K,center:p},z)):null]}))}))},3572:(e,t,n)=>{"use strict";n.d(t,{rf:()=>h,Ay:()=>m,qy:()=>p});var r=n(8168),o=n(5043),i=n(1070),a=n(869),l=n(5527),s=n(579);const u=function(e){let{styles:t,themeId:n,defaultTheme:r={}}=e;const o=(0,l.A)(r),i="function"===typeof t?t(n&&o[n]||o):t;return(0,s.jsx)(a.A,{styles:i})};var c=n(5170),d=n(3375);const f=function(e){return(0,s.jsx)(u,(0,r.A)({},e,{defaultTheme:c.A,themeId:d.A}))},p=(e,t)=>(0,r.A)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),h=e=>(0,r.A)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});const m=function(e){const t=(0,i.A)({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:a=!1}=t;return(0,s.jsxs)(o.Fragment,{children:[(0,s.jsx)(f,{styles:e=>function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var n;const o={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((t=>{let[n,r]=t;var i;o[e.getColorSchemeSelector(n).replace(/\s*&/,"")]={colorScheme:null==(i=r.palette)?void 0:i.mode}}));let i=(0,r.A)({html:p(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,r.A)({margin:0},h(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},o);const a=null==(n=e.components)||null==(n=n.MuiCssBaseline)?void 0:n.styleOverrides;return a&&(i=[i,a]),i}(e,a)}),n]})}},4732:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Ay});var r=n(3572)},6328:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(8168),o=n(8587),i=n(5043),a=n(1140),l=n(9998),s=n(6240),u=n(653),c=n(5849),d=n(579);const f=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function p(e){return"scale(".concat(e,", ").concat(e**2,")")}const h={entering:{opacity:1,transform:p(1)},entered:{opacity:1,transform:"none"}},m="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),v=i.forwardRef((function(e,t){const{addEndListener:n,appear:v=!0,children:g,easing:y,in:b,onEnter:x,onEntered:w,onEntering:S,onExit:k,onExited:A,onExiting:E,style:C,timeout:P="auto",TransitionComponent:_=l.Ay}=e,O=(0,o.A)(e,f),j=(0,a.A)(),T=i.useRef(),M=(0,s.A)(),R=i.useRef(null),L=(0,c.A)(R,g.ref,t),I=e=>t=>{if(e){const n=R.current;void 0===t?e(n):e(n,t)}},D=I(S),F=I(((e,t)=>{(0,u.q)(e);const{duration:n,delay:r,easing:o}=(0,u.c)({style:C,timeout:P,easing:y},{mode:"enter"});let i;"auto"===P?(i=M.transitions.getAutoHeightDuration(e.clientHeight),T.current=i):i=n,e.style.transition=[M.transitions.create("opacity",{duration:i,delay:r}),M.transitions.create("transform",{duration:m?i:.666*i,delay:r,easing:o})].join(","),x&&x(e,t)})),z=I(w),N=I(E),B=I((e=>{const{duration:t,delay:n,easing:r}=(0,u.c)({style:C,timeout:P,easing:y},{mode:"exit"});let o;"auto"===P?(o=M.transitions.getAutoHeightDuration(e.clientHeight),T.current=o):o=t,e.style.transition=[M.transitions.create("opacity",{duration:o,delay:n}),M.transitions.create("transform",{duration:m?o:.666*o,delay:m?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=p(.75),k&&k(e)})),H=I(A);return(0,d.jsx)(_,(0,r.A)({appear:v,in:b,nodeRef:R,onEnter:F,onEntered:z,onEntering:D,onExit:B,onExited:H,onExiting:N,addEndListener:e=>{"auto"===P&&j.start(T.current||0,e),n&&n(R.current,e)},timeout:"auto"===P?null:P},O,{children:(e,t)=>i.cloneElement(g,(0,r.A)({style:(0,r.A)({opacity:0,transform:p(.75),visibility:"exited"!==e||b?void 0:"hidden"},h[e],C,g.props.style),ref:L},t))}))}));v.muiSupportAuto=!0;const g=v},4938:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x,getIconButtonUtilityClass:()=>m,iconButtonClasses:()=>v});var r=n(8587),o=n(8168),i=n(5043),a=n(8387),l=n(8606),s=n(3650),u=n(6671),c=n(1070),d=n(3383),f=n(6803),p=n(7056),h=n(2400);function m(e){return(0,h.Ay)("MuiIconButton",e)}const v=(0,p.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var g=n(579);const y=["edge","children","className","color","disabled","disableFocusRipple","size"],b=(0,u.Ay)(d.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t["color".concat((0,f.A)(n.color))],n.edge&&t["edge".concat((0,f.A)(n.edge))],t["size".concat((0,f.A)(n.size))]]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,s.X4)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(e=>{let{theme:t,ownerState:n}=e;var r;const i=null==(r=(t.vars||t).palette)?void 0:r[n.color];return(0,o.A)({},"inherit"===n.color&&{color:"inherit"},"inherit"!==n.color&&"default"!==n.color&&(0,o.A)({color:null==i?void 0:i.main},!n.disableRipple&&{"&:hover":(0,o.A)({},i&&{backgroundColor:t.vars?"rgba(".concat(i.mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,s.X4)(i.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===n.size&&{padding:5,fontSize:t.typography.pxToRem(18)},"large"===n.size&&{padding:12,fontSize:t.typography.pxToRem(28)},{["&.".concat(v.disabled)]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})})),x=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiIconButton"}),{edge:i=!1,children:s,className:u,color:d="default",disabled:p=!1,disableFocusRipple:h=!1,size:v="medium"}=n,x=(0,r.A)(n,y),w=(0,o.A)({},n,{edge:i,color:d,disabled:p,disableFocusRipple:h,size:v}),S=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled","default"!==r&&"color".concat((0,f.A)(r)),o&&"edge".concat((0,f.A)(o)),"size".concat((0,f.A)(i))]};return(0,l.A)(a,m,t)})(w);return(0,g.jsx)(b,(0,o.A)({className:(0,a.A)(S.root,u),centerRipple:!0,focusRipple:!h,disabled:p,ref:t,ownerState:w},x,{children:s}))}))},1347:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(5043).createContext({})},1428:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Ne,getMenuUtilityClass:()=>je,menuClasses:()=>Te});var r=n(8168),o=n(8587),i=n(5043),a=(n(805),n(8387)),l=n(8606),s=n(7061),u=n(2427),c=n(6671),d=n(1070),f=n(1347),p=n(7056),h=n(2400);function m(e){return(0,h.Ay)("MuiList",e)}(0,p.A)("MuiList",["root","padding","dense","subheader"]);var v=n(579);const g=["children","className","component","dense","disablePadding","subheader"],y=(0,c.Ay)("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]}})((e=>{let{ownerState:t}=e;return(0,r.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),b=i.forwardRef((function(e,t){const n=(0,d.A)({props:e,name:"MuiList"}),{children:s,className:u,component:c="ul",dense:p=!1,disablePadding:h=!1,subheader:b}=n,x=(0,o.A)(n,g),w=i.useMemo((()=>({dense:p})),[p]),S=(0,r.A)({},n,{component:c,dense:p,disablePadding:h}),k=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e,i={root:["root",!n&&"padding",r&&"dense",o&&"subheader"]};return(0,l.A)(i,m,t)})(S);return(0,v.jsx)(f.A.Provider,{value:w,children:(0,v.jsxs)(y,(0,r.A)({as:c,className:(0,a.A)(k.root,u),ref:t,ownerState:S},x,{children:[b,s]}))})}));function x(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const w=x;var S=n(5849),k=n(5013);const A=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function E(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function C(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function P(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 _(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&P(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const O=i.forwardRef((function(e,t){const{actions:n,autoFocus:a=!1,autoFocusItem:l=!1,children:s,className:c,disabledItemsFocusable:d=!1,disableListWrap:f=!1,onKeyDown:p,variant:h="selectedMenu"}=e,m=(0,o.A)(e,A),g=i.useRef(null),y=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,k.A)((()=>{a&&g.current.focus()}),[a]),i.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!g.current.style.width;if(e.clientHeight{i.isValidElement(e)?(e.props.disabled||("selectedMenu"===h&&e.props.selected||-1===O)&&(O=t),O===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(O+=1,O>=s.length&&(O=-1))):O===t&&(O+=1,O>=s.length&&(O=-1))}));const j=i.Children.map(s,((e,t)=>{if(t===O){const t={};return l&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===h&&(t.tabIndex=0),i.cloneElement(e,t)}return e}));return(0,v.jsx)(b,(0,r.A)({role:"menu",ref:x,className:c,onKeyDown:e=>{const t=g.current,n=e.key,r=(0,u.A)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),_(t,r,f,d,E);else if("ArrowUp"===n)e.preventDefault(),_(t,r,f,d,C);else if("Home"===n)e.preventDefault(),_(t,null,f,d,E);else if("End"===n)e.preventDefault(),_(t,null,f,d,C);else if(1===n.length){const o=y.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 l=r&&!o.repeating&&P(r,o);o.previousKeyMatched&&(l||_(t,r,!1,d,E,o))?e.preventDefault():o.previousKeyMatched=!1}p&&p(e)},tabIndex:a?0:-1},m,{children:j}))}));var j=n(540),T=n(7220),M=n(6078),R=n(6328),L=n(7042),I=n(2144),D=n(4626),F=n(4708),z=n(9279),N=n(6288);function B(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function H(e){return parseInt((0,N.A)(e).getComputedStyle(e).paddingRight,10)||0}function W(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&&B(e,o)}))}function V(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function U(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,I.A)(e);return t.body===e?(0,N.A)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=x((0,I.A)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(H(r)+e,"px");const t=(0,I.A)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight="".concat(H(t)+e,"px")}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,I.A)(r).body;else{const t=r.parentElement,n=(0,N.A)(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((e=>{let{value:t,el:n,property:r}=e;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}const q=new class{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&&B(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);W(t,e.mount,e.modalRef,r,!0);const o=V(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=V(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=U(r,t))}remove(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=this.modals.indexOf(e);if(-1===n)return n;const r=V(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&&B(e.modalRef,t),W(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&&B(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function G(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:a=q,closeAfterTransition:l=!1,onTransitionEnter:s,onTransitionExited:u,children:c,onClose:d,open:f,rootRef:p}=e,h=i.useRef({}),m=i.useRef(null),v=i.useRef(null),g=(0,L.A)(v,p),[y,b]=i.useState(!f),x=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let w=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(w=!1);const S=()=>(h.current.modalRef=v.current,h.current.mount=m.current,h.current),k=()=>{a.mount(S(),{disableScrollLock:o}),v.current&&(v.current.scrollTop=0)},A=(0,D.A)((()=>{const e=function(e){return"function"===typeof e?e():e}(t)||(0,I.A)(m.current).body;a.add(S(),e),v.current&&k()})),E=i.useCallback((()=>a.isTopModal(S())),[a]),C=(0,D.A)((e=>{m.current=e,e&&(f&&E()?k():v.current&&B(v.current,w))})),P=i.useCallback((()=>{a.remove(S(),w)}),[w,a]);i.useEffect((()=>()=>{P()}),[P]),i.useEffect((()=>{f?A():x&&l||P()}),[f,P,x,l,A]);const _=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&E()&&(n||(t.stopPropagation(),d&&d(t,"escapeKeyDown")))},O=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&d&&d(t,"backdropClick")};return{getRootProps:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=(0,z.h)(e);delete n.onTransitionEnter,delete n.onTransitionExited;const o=(0,r.A)({},n,t);return(0,r.A)({role:"presentation"},o,{onKeyDown:_(o),ref:g})},getBackdropProps:function(){const e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.A)({"aria-hidden":!0},e,{onClick:O(e),open:f})},getTransitionProps:()=>({onEnter:(0,F.A)((()=>{b(!1),s&&s()}),null==c?void 0:c.props.onEnter),onExited:(0,F.A)((()=>{b(!0),u&&u(),l&&P()}),null==c?void 0:c.props.onExited)}),rootRef:g,portalRef:C,isTopModal:E,exited:y,hasTransition:x}}const $=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function K(e){const t=[],n=[];return Array.from(e.querySelectorAll($)).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"]'.concat(t));let n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(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 X(){return!0}function Y(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=K,isEnabled:l=X,open:s}=e,u=i.useRef(!1),c=i.useRef(null),d=i.useRef(null),f=i.useRef(null),p=i.useRef(null),h=i.useRef(!1),m=i.useRef(null),g=(0,L.A)(t.ref,m),y=i.useRef(null);i.useEffect((()=>{s&&m.current&&(h.current=!n)}),[n,s]),i.useEffect((()=>{if(!s||!m.current)return;const e=(0,I.A)(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),h.current&&m.current.focus()),()=>{o||(f.current&&f.current.focus&&(u.current=!0,f.current.focus()),f.current=null)}}),[s]),i.useEffect((()=>{if(!s||!m.current)return;const e=(0,I.A)(m.current),t=t=>{y.current=t,!r&&l()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(u.current=!0,d.current&&d.current.focus())},n=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!l()||u.current)return void(u.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==c.current&&e.activeElement!==d.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!h.current)return;let n=[];if(e.activeElement!==c.current&&e.activeElement!==d.current||(n=a(m.current)),n.length>0){var o,i;const e=Boolean((null==(o=y.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=y.current)?void 0:i.key)),t=n[0],r=n[n.length-1];"string"!==typeof t&&"string"!==typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,r,o,l,s,a]);const b=e=>{null===f.current&&(f.current=e.relatedTarget),h.current=!0};return(0,v.jsxs)(i.Fragment,{children:[(0,v.jsx)("div",{tabIndex:s?0:-1,onFocus:b,ref:c,"data-testid":"sentinelStart"}),i.cloneElement(t,{ref:g,onFocus:e=>{null===f.current&&(f.current=e.relatedTarget),h.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,v.jsx)("div",{tabIndex:s?0:-1,onFocus:b,ref:d,"data-testid":"sentinelEnd"})]})}var Q=n(5990),Z=n(9998),J=n(6240),ee=n(653);const te=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ne={entering:{opacity:1},entered:{opacity:1}},re=i.forwardRef((function(e,t){const n=(0,J.A)(),a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:l,appear:s=!0,children:u,easing:c,in:d,onEnter:f,onEntered:p,onEntering:h,onExit:m,onExited:g,onExiting:y,style:b,timeout:x=a,TransitionComponent:w=Z.Ay}=e,k=(0,o.A)(e,te),A=i.useRef(null),E=(0,S.A)(A,u.ref,t),C=e=>t=>{if(e){const n=A.current;void 0===t?e(n):e(n,t)}},P=C(h),_=C(((e,t)=>{(0,ee.q)(e);const r=(0,ee.c)({style:b,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)})),O=C(p),j=C(y),T=C((e=>{const t=(0,ee.c)({style:b,timeout:x,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),m&&m(e)})),M=C(g);return(0,v.jsx)(w,(0,r.A)({appear:s,in:d,nodeRef:A,onEnter:_,onEntered:O,onEntering:P,onExit:T,onExited:M,onExiting:j,addEndListener:e=>{l&&l(A.current,e)},timeout:x},k,{children:(e,t)=>i.cloneElement(u,(0,r.A)({style:(0,r.A)({opacity:0,visibility:"exited"!==e||d?void 0:"hidden"},ne[e],b,u.props.style),ref:E},t))}))}));function oe(e){return(0,h.Ay)("MuiBackdrop",e)}(0,p.A)("MuiBackdrop",["root","invisible"]);const ie=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],ae=(0,c.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((e=>{let{ownerState:t}=e;return(0,r.A)({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"},t.invisible&&{backgroundColor:"transparent"})})),le=i.forwardRef((function(e,t){var n,i,s;const u=(0,d.A)({props:e,name:"MuiBackdrop"}),{children:c,className:f,component:p="div",components:h={},componentsProps:m={},invisible:g=!1,open:y,slotProps:b={},slots:x={},TransitionComponent:w=re,transitionDuration:S}=u,k=(0,o.A)(u,ie),A=(0,r.A)({},u,{component:p,invisible:g}),E=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,l.A)(r,oe,t)})(A),C=null!=(n=b.root)?n:m.root;return(0,v.jsx)(w,(0,r.A)({in:y,timeout:S},k,{children:(0,v.jsx)(ae,(0,r.A)({"aria-hidden":!0},C,{as:null!=(i=null!=(s=x.root)?s:h.Root)?i:p,className:(0,a.A)(E.root,f,null==C?void 0:C.className),ownerState:(0,r.A)({},A,null==C?void 0:C.ownerState),classes:E,ref:t,children:c}))}))}));function se(e){return(0,h.Ay)("MuiModal",e)}(0,p.A)("MuiModal",["root","hidden","backdrop"]);const ue=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],ce=(0,c.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((e=>{let{theme:t,ownerState:n}=e;return(0,r.A)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),de=(0,c.Ay)(le,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),fe=i.forwardRef((function(e,t){var n,u,c,f,p,h;const m=(0,d.A)({name:"MuiModal",props:e}),{BackdropComponent:g=de,BackdropProps:y,className:b,closeAfterTransition:x=!1,children:w,container:S,component:k,components:A={},componentsProps:E={},disableAutoFocus:C=!1,disableEnforceFocus:P=!1,disableEscapeKeyDown:_=!1,disablePortal:O=!1,disableRestoreFocus:j=!1,disableScrollLock:T=!1,hideBackdrop:M=!1,keepMounted:R=!1,onBackdropClick:L,open:I,slotProps:D,slots:F}=m,z=(0,o.A)(m,ue),N=(0,r.A)({},m,{closeAfterTransition:x,disableAutoFocus:C,disableEnforceFocus:P,disableEscapeKeyDown:_,disablePortal:O,disableRestoreFocus:j,disableScrollLock:T,hideBackdrop:M,keepMounted:R}),{getRootProps:B,getBackdropProps:H,getTransitionProps:W,portalRef:V,isTopModal:U,exited:q,hasTransition:$}=G((0,r.A)({},N,{rootRef:t})),K=(0,r.A)({},N,{exited:q}),X=(e=>{const{open:t,exited:n,classes:r}=e,o={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,l.A)(o,se,r)})(K),Z={};if(void 0===w.props.tabIndex&&(Z.tabIndex="-1"),$){const{onEnter:e,onExited:t}=W();Z.onEnter=e,Z.onExited=t}const J=null!=(n=null!=(u=null==F?void 0:F.root)?u:A.Root)?n:ce,ee=null!=(c=null!=(f=null==F?void 0:F.backdrop)?f:A.Backdrop)?c:g,te=null!=(p=null==D?void 0:D.root)?p:E.root,ne=null!=(h=null==D?void 0:D.backdrop)?h:E.backdrop,re=(0,s.Q)({elementType:J,externalSlotProps:te,externalForwardedProps:z,getSlotProps:B,additionalProps:{ref:t,as:k},ownerState:K,className:(0,a.A)(b,null==te?void 0:te.className,null==X?void 0:X.root,!K.open&&K.exited&&(null==X?void 0:X.hidden))}),oe=(0,s.Q)({elementType:ee,externalSlotProps:ne,additionalProps:y,getSlotProps:e=>H((0,r.A)({},e,{onClick:t=>{L&&L(t),null!=e&&e.onClick&&e.onClick(t)}})),className:(0,a.A)(null==ne?void 0:ne.className,null==y?void 0:y.className,null==X?void 0:X.backdrop),ownerState:K});return R||I||$&&!q?(0,v.jsx)(Q.Z,{ref:V,container:S,disablePortal:O,children:(0,v.jsxs)(J,(0,r.A)({},re,{children:[!M&&g?(0,v.jsx)(ee,(0,r.A)({},oe)):null,(0,v.jsx)(Y,{disableEnforceFocus:P,disableAutoFocus:C,disableRestoreFocus:j,isEnabled:U,open:I,children:i.cloneElement(w,Z)})]}))}):null}));var pe=n(3650),he=n(3582);function me(e){return(0,h.Ay)("MuiPaper",e)}(0,p.A)("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 ve=["className","component","elevation","square","variant"],ge=(0,c.Ay)("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".concat(n.elevation)]]}})((e=>{let{theme:t,ownerState:n}=e;var o;return(0,r.A)({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!n.square&&{borderRadius:t.shape.borderRadius},"outlined"===n.variant&&{border:"1px solid ".concat((t.vars||t).palette.divider)},"elevation"===n.variant&&(0,r.A)({boxShadow:(t.vars||t).shadows[n.elevation]},!t.vars&&"dark"===t.palette.mode&&{backgroundImage:"linear-gradient(".concat((0,pe.X4)("#fff",(0,he.A)(n.elevation)),", ").concat((0,pe.X4)("#fff",(0,he.A)(n.elevation)),")")},t.vars&&{backgroundImage:null==(o=t.vars.overlays)?void 0:o[n.elevation]}))})),ye=i.forwardRef((function(e,t){const n=(0,d.A)({props:e,name:"MuiPaper"}),{className:i,component:s="div",elevation:u=1,square:c=!1,variant:f="elevation"}=n,p=(0,o.A)(n,ve),h=(0,r.A)({},n,{component:s,elevation:u,square:c,variant:f}),m=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]};return(0,l.A)(i,me,o)})(h);return(0,v.jsx)(ge,(0,r.A)({as:s,ownerState:h,className:(0,a.A)(m.root,i),ref:t},p))}));function be(e){return(0,h.Ay)("MuiPopover",e)}(0,p.A)("MuiPopover",["root","paper"]);const xe=["onEntering"],we=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Se=["slotProps"];function ke(e,t){let n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Ae(e,t){let n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Ee(e){return[e.horizontal,e.vertical].map((e=>"number"===typeof e?"".concat(e,"px"):e)).join(" ")}function Ce(e){return"function"===typeof e?e():e}const Pe=(0,c.Ay)(fe,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_e=(0,c.Ay)(ye,{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}),Oe=i.forwardRef((function(e,t){var n,c,f;const p=(0,d.A)({props:e,name:"MuiPopover"}),{action:h,anchorEl:m,anchorOrigin:g={vertical:"top",horizontal:"left"},anchorPosition:y,anchorReference:b="anchorEl",children:x,className:w,container:k,elevation:A=8,marginThreshold:E=16,open:C,PaperProps:P={},slots:_,slotProps:O,transformOrigin:L={vertical:"top",horizontal:"left"},TransitionComponent:I=R.A,transitionDuration:D="auto",TransitionProps:{onEntering:F}={},disableScrollLock:z=!1}=p,N=(0,o.A)(p.TransitionProps,xe),B=(0,o.A)(p,we),H=null!=(n=null==O?void 0:O.paper)?n:P,W=i.useRef(),V=(0,S.A)(W,H.ref),U=(0,r.A)({},p,{anchorOrigin:g,anchorReference:b,elevation:A,marginThreshold:E,externalPaperSlotProps:H,transformOrigin:L,TransitionComponent:I,transitionDuration:D,TransitionProps:N}),q=(e=>{const{classes:t}=e;return(0,l.A)({root:["root"],paper:["paper"]},be,t)})(U),G=i.useCallback((()=>{if("anchorPosition"===b)return y;const e=Ce(m),t=(e&&1===e.nodeType?e:(0,u.A)(W.current).body).getBoundingClientRect();return{top:t.top+ke(t,g.vertical),left:t.left+Ae(t,g.horizontal)}}),[m,g.horizontal,g.vertical,y,b]),$=i.useCallback((e=>({vertical:ke(e,L.vertical),horizontal:Ae(e,L.horizontal)})),[L.horizontal,L.vertical]),K=i.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=$(t);if("none"===b)return{top:null,left:null,transformOrigin:Ee(n)};const r=G();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,l=i+t.width,s=(0,M.A)(Ce(m)),u=s.innerHeight-E,c=s.innerWidth-E;if(null!==E&&ou){const e=a-u;o-=e,n.vertical+=e}if(null!==E&&ic){const e=l-c;i-=e,n.horizontal+=e}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:Ee(n)}}),[m,b,G,$,E]),[X,Y]=i.useState(C),Q=i.useCallback((()=>{const e=W.current;if(!e)return;const t=K(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,Y(!0)}),[K]);i.useEffect((()=>(z&&window.addEventListener("scroll",Q),()=>window.removeEventListener("scroll",Q))),[m,z,Q]);i.useEffect((()=>{C&&Q()})),i.useImperativeHandle(h,(()=>C?{updatePosition:()=>{Q()}}:null),[C,Q]),i.useEffect((()=>{if(!C)return;const e=(0,T.A)((()=>{Q()})),t=(0,M.A)(m);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[m,C,Q]);let Z=D;"auto"!==D||I.muiSupportAuto||(Z=void 0);const J=k||(m?(0,u.A)(Ce(m)).body:void 0),ee=null!=(c=null==_?void 0:_.root)?c:Pe,te=null!=(f=null==_?void 0:_.paper)?f:_e,ne=(0,s.Q)({elementType:te,externalSlotProps:(0,r.A)({},H,{style:X?H.style:(0,r.A)({},H.style,{opacity:0})}),additionalProps:{elevation:A,ref:V},ownerState:U,className:(0,a.A)(q.paper,null==H?void 0:H.className)}),re=(0,s.Q)({elementType:ee,externalSlotProps:(null==O?void 0:O.root)||{},externalForwardedProps:B,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:J,open:C},ownerState:U,className:(0,a.A)(q.root,w)}),{slotProps:oe}=re,ie=(0,o.A)(re,Se);return(0,v.jsx)(ee,(0,r.A)({},ie,!(0,j.g)(ee)&&{slotProps:oe,disableScrollLock:z},{children:(0,v.jsx)(I,(0,r.A)({appear:!0,in:C,onEntering:(e,t)=>{F&&F(e,t),Q()},onExited:()=>{Y(!1)},timeout:Z},N,{children:(0,v.jsx)(te,(0,r.A)({},ne,{children:x}))}))}))}));function je(e){return(0,h.Ay)("MuiMenu",e)}const Te=(0,p.A)("MuiMenu",["root","paper","list"]),Me=["onEntering"],Re=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Le={vertical:"top",horizontal:"right"},Ie={vertical:"top",horizontal:"left"},De=(0,c.Ay)(Oe,{shouldForwardProp:e=>(0,c.ep)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Fe=(0,c.Ay)(_e,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),ze=(0,c.Ay)(O,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Ne=i.forwardRef((function(e,t){var n,u;const c=(0,d.A)({props:e,name:"MuiMenu"}),{autoFocus:f=!0,children:p,className:h,disableAutoFocusItem:m=!1,MenuListProps:g={},onClose:y,open:b,PaperProps:x={},PopoverClasses:w,transitionDuration:S="auto",TransitionProps:{onEntering:k}={},variant:A="selectedMenu",slots:E={},slotProps:C={}}=c,P=(0,o.A)(c.TransitionProps,Me),_=(0,o.A)(c,Re),O=(0,J.A)(),j="rtl"===O.direction,T=(0,r.A)({},c,{autoFocus:f,disableAutoFocusItem:m,MenuListProps:g,onEntering:k,PaperProps:x,transitionDuration:S,TransitionProps:P,variant:A}),M=(e=>{const{classes:t}=e;return(0,l.A)({root:["root"],paper:["paper"],list:["list"]},je,t)})(T),R=f&&!m&&b,L=i.useRef(null);let I=-1;i.Children.map(p,((e,t)=>{i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===A&&e.props.selected||-1===I)&&(I=t))}));const D=null!=(n=E.paper)?n:Fe,F=null!=(u=C.paper)?u:x,z=(0,s.Q)({elementType:E.root,externalSlotProps:C.root,ownerState:T,className:[M.root,h]}),N=(0,s.Q)({elementType:D,externalSlotProps:F,ownerState:T,className:M.paper});return(0,v.jsx)(De,(0,r.A)({onClose:y,anchorOrigin:{vertical:"bottom",horizontal:j?"right":"left"},transformOrigin:j?Le:Ie,slots:{paper:D,root:E.root},slotProps:{root:z,paper:N},open:b,ref:t,transitionDuration:S,TransitionProps:(0,r.A)({onEntering:(e,t)=>{L.current&&L.current.adjustStyleForScrollbar(e,O),k&&k(e,t)}},P),ownerState:T},_,{classes:w,children:(0,v.jsx)(ze,(0,r.A)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),y&&y(e,"tabKeyDown"))},actions:L,autoFocus:f&&(-1===I||m),autoFocusItem:R,variant:A},g,{className:(0,a.A)(M.list,g.className),children:p}))}))}))},4645:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E,getMenuItemUtilityClass:()=>x,menuItemClasses:()=>w});var r=n(8587),o=n(8168),i=n(5043),a=n(8387),l=n(8606),s=n(3650),u=n(6671),c=n(1070),d=n(1347),f=n(3383),p=n(5013),h=n(5849),m=n(7056);const v=(0,m.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const g=(0,m.A)("MuiListItemIcon",["root","alignItemsFlexStart"]);const y=(0,m.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);var b=n(2400);function x(e){return(0,b.Ay)("MuiMenuItem",e)}const w=(0,m.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var S=n(579);const k=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],A=(0,u.Ay)(f.A,{shouldForwardProp:e=>(0,u.ep)(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]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.divider&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(w.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,s.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(w.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,s.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(w.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,s.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,s.X4)(t.palette.primary.main,t.palette.action.selectedOpacity)}},["&.".concat(w.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(w.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity},["& + .".concat(v.root)]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},["& + .".concat(v.inset)]:{marginLeft:52},["& .".concat(y.root)]:{marginTop:0,marginBottom:0},["& .".concat(y.inset)]:{paddingLeft:36},["& .".concat(g.root)]:{minWidth:36}},!n.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},n.dense&&(0,o.A)({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{["& .".concat(g.root," svg")]:{fontSize:"1.25rem"}}))})),E=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiMenuItem"}),{autoFocus:s=!1,component:u="li",dense:f=!1,divider:m=!1,disableGutters:v=!1,focusVisibleClassName:g,role:y="menuitem",tabIndex:b,className:w}=n,E=(0,r.A)(n,k),C=i.useContext(d.A),P=i.useMemo((()=>({dense:f||C.dense||!1,disableGutters:v})),[C.dense,f,v]),_=i.useRef(null);(0,p.A)((()=>{s&&_.current&&_.current.focus()}),[s]);const O=(0,o.A)({},n,{dense:P.dense,divider:m,disableGutters:v}),j=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:a,classes:s}=e,u={root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",a&&"selected"]},c=(0,l.A)(u,x,s);return(0,o.A)({},s,c)})(n),T=(0,h.A)(_,t);let M;return n.disabled||(M=void 0!==b?b:-1),(0,S.jsx)(d.A.Provider,{value:P,children:(0,S.jsx)(A,(0,o.A)({ref:T,role:y,tabIndex:M,component:u,focusVisibleClassName:(0,a.A)(j.focusVisible,g),className:(0,a.A)(j.root,w)},E,{ownerState:O,classes:j}))})}))},9040:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y,getScopedCssBaselineUtilityClass:()=>p,scopedCssBaselineClasses:()=>h});var r=n(8587),o=n(8168),i=n(5043),a=n(8387),l=n(8606),s=n(1070),u=n(6671),c=n(3572),d=n(7056),f=n(2400);function p(e){return(0,f.Ay)("MuiScopedCssBaseline",e)}const h=(0,d.A)("MuiScopedCssBaseline",["root"]);var m=n(579);const v=["className","component","enableColorScheme"],g=(0,u.Ay)("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t,ownerState:n}=e;const r={};return n.enableColorScheme&&t.colorSchemes&&Object.entries(t.colorSchemes).forEach((e=>{let[n,o]=e;var i;r["&".concat(t.getColorSchemeSelector(n).replace(/\s*&/,""))]={colorScheme:null==(i=o.palette)?void 0:i.mode}})),(0,o.A)({},(0,c.qy)(t,n.enableColorScheme),(0,c.rf)(t),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:t.typography.fontWeightBold}},r)})),y=i.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiScopedCssBaseline"}),{className:i,component:u="div"}=n,c=(0,r.A)(n,v),d=(0,o.A)({},n,{component:u}),f=(e=>{const{classes:t}=e;return(0,l.A)({root:["root"]},p,t)})(d);return(0,m.jsx)(g,(0,o.A)({as:u,className:(0,a.A)(f.root,i),ref:t,ownerState:d},c))}))},2472:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(8168),o=n(8587),i=n(5043),a=n(8387),l=n(8606),s=n(6803),u=n(1070),c=n(6671),d=n(90),f=n(579);const p=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],h=(0,c.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t["color".concat((0,s.A)(n.color))],t["fontSize".concat((0,s.A)(n.fontSize))]]}})((e=>{let{theme:t,ownerState:n}=e;var r,o,i,a,l,s,u,c,d,f,p,h,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:n.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=t.transitions)||null==(o=r.create)?void 0:o.call(r,"fill",{duration:null==(i=t.transitions)||null==(i=i.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=t.typography)||null==(l=a.pxToRem)?void 0:l.call(a,20))||"1.25rem",medium:(null==(s=t.typography)||null==(u=s.pxToRem)?void 0:u.call(s,24))||"1.5rem",large:(null==(c=t.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875rem"}[n.fontSize],color:null!=(f=null==(p=(t.vars||t).palette)||null==(p=p[n.color])?void 0:p.main)?f:{action:null==(h=(t.vars||t).palette)||null==(h=h.action)?void 0:h.active,disabled:null==(m=(t.vars||t).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0}[n.color]}})),m=i.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiSvgIcon"}),{children:c,className:m,color:v="inherit",component:g="svg",fontSize:y="medium",htmlColor:b,inheritViewBox:x=!1,titleAccess:w,viewBox:S="0 0 24 24"}=n,k=(0,o.A)(n,p),A=i.isValidElement(c)&&"svg"===c.type,E=(0,r.A)({},n,{color:v,component:g,fontSize:y,instanceFontSize:e.fontSize,inheritViewBox:x,viewBox:S,hasSvgAsChild:A}),C={};x||(C.viewBox=S);const P=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&"color".concat((0,s.A)(t)),"fontSize".concat((0,s.A)(n))]};return(0,l.A)(o,d.E,r)})(E);return(0,f.jsxs)(h,(0,r.A)({as:g,className:(0,a.A)(P.root,m),focusable:"false",color:b,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:t},C,k,A&&c.props,{ownerState:E,children:[A?c.props.children:c,w?(0,f.jsx)("title",{children:w}):null]}))}));m.muiName="SvgIcon";const v=m},1027:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,getSvgIconUtilityClass:()=>o.E,svgIconClasses:()=>o.A});var r=n(2472),o=n(90)},90:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,E:()=>i});var r=n(7056),o=n(2400);function i(e){return(0,o.Ay)("MuiSvgIcon",e)}const a=(0,r.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"])},7547:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>yt,getTooltipUtilityClass:()=>lt,tooltipClasses:()=>st});var r=n(8587),o=n(8168),i=n(5043),a=n(8387),l=n(1140),s=n(8606),u=n(2205),c=n(3650),d=n(6671),f=n(6240),p=n(1070),h=n(6803),m=n(6328),v=n(7042),g=n(3844),y=n(2144);function b(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function x(e){return e instanceof b(e).Element||e instanceof Element}function w(e){return e instanceof b(e).HTMLElement||e instanceof HTMLElement}function S(e){return"undefined"!==typeof ShadowRoot&&(e instanceof b(e).ShadowRoot||e instanceof ShadowRoot)}var k=Math.max,A=Math.min,E=Math.round;function C(){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 P(){return!/^((?!chrome|android).)*safari/i.test(C())}function _(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&w(e)&&(o=e.offsetWidth>0&&E(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&E(r.height)/e.offsetHeight||1);var a=(x(e)?b(e):window).visualViewport,l=!P()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,u=(r.top+(l&&a?a.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function O(e){var t=b(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function j(e){return e?(e.nodeName||"").toLowerCase():null}function T(e){return((x(e)?e.ownerDocument:e.document)||window.document).documentElement}function M(e){return _(T(e)).left+O(e).scrollLeft}function R(e){return b(e).getComputedStyle(e)}function L(e){var t=R(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function I(e,t,n){void 0===n&&(n=!1);var r=w(t),o=w(t)&&function(e){var t=e.getBoundingClientRect(),n=E(t.width)/e.offsetWidth||1,r=E(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=T(t),a=_(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==j(t)||L(i))&&(l=function(e){return e!==b(e)&&w(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:O(e);var t}(t)),w(t)?((s=_(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=M(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function D(e){var t=_(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 F(e){return"html"===j(e)?e:e.assignedSlot||e.parentNode||(S(e)?e.host:null)||T(e)}function z(e){return["html","body","#document"].indexOf(j(e))>=0?e.ownerDocument.body:w(e)&&L(e)?e:z(F(e))}function N(e,t){var n;void 0===t&&(t=[]);var r=z(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=b(r),a=o?[i].concat(i.visualViewport||[],L(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(N(F(a)))}function B(e){return["table","td","th"].indexOf(j(e))>=0}function H(e){return w(e)&&"fixed"!==R(e).position?e.offsetParent:null}function W(e){for(var t=b(e),n=H(e);n&&B(n)&&"static"===R(n).position;)n=H(n);return n&&("html"===j(n)||"body"===j(n)&&"static"===R(n).position)?t:n||function(e){var t=/firefox/i.test(C());if(/Trident/i.test(C())&&w(e)&&"fixed"===R(e).position)return null;var n=F(e);for(S(n)&&(n=n.host);w(n)&&["html","body"].indexOf(j(n))<0;){var r=R(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 V="top",U="bottom",q="right",G="left",$="auto",K=[V,U,q,G],X="start",Y="end",Q="clippingParents",Z="viewport",J="popper",ee="reference",te=K.reduce((function(e,t){return e.concat([t+"-"+X,t+"-"+Y])}),[]),ne=[].concat(K,[$]).reduce((function(e,t){return e.concat([t,t+"-"+X,t+"-"+Y])}),[]),re=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function oe(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}function ie(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var ae={placement:"bottom",modifiers:[],strategy:"absolute"};function le(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function pe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?ce(o):null,a=o?de(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case V:t={x:l,y:n.y-r.height};break;case U:t={x:l,y:n.y+n.height};break;case q:t={x:n.x+n.width,y:s};break;case G:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?fe(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case X:t[u]=t[u]-(n[c]/2-r[c]/2);break;case Y:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var he={top:"auto",right:"auto",bottom:"auto",left:"auto"};function me(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,v="function"===typeof c?c({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),x=G,w=V,S=window;if(u){var k=W(n),A="clientHeight",C="clientWidth";if(k===b(n)&&"static"!==R(k=T(n)).position&&"absolute"===l&&(A="scrollHeight",C="scrollWidth"),o===V||(o===G||o===q)&&i===Y)w=U,m-=(d&&k===S&&S.visualViewport?S.visualViewport.height:k[A])-r.height,m*=s?1:-1;if(o===G||(o===V||o===U)&&i===Y)x=q,p-=(d&&k===S&&S.visualViewport?S.visualViewport.width:k[C])-r.width,p*=s?1:-1}var P,_=Object.assign({position:l},u&&he),O=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:E(n*o)/o||0,y:E(r*o)/o||0}}({x:p,y:m},b(n)):{x:p,y:m};return p=O.x,m=O.y,s?Object.assign({},_,((P={})[w]=y?"0":"",P[x]=g?"0":"",P.transform=(S.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",P)):Object.assign({},_,((t={})[w]=y?m+"px":"",t[x]=g?p+"px":"",t.transform="",t))}const ve={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=ne.reduce((function(e,n){return e[n]=function(e,t,n){var r=ce(e),o=[G,V].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[G,q].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var ge={left:"right",right:"left",bottom:"top",top:"bottom"};function ye(e){return e.replace(/left|right|bottom|top/g,(function(e){return ge[e]}))}var be={start:"end",end:"start"};function xe(e){return e.replace(/start|end/g,(function(e){return be[e]}))}function we(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&S(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Se(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ke(e,t,n){return t===Z?Se(function(e,t){var n=b(e),r=T(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var u=P();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+M(e),y:s}}(e,n)):x(t)?function(e,t){var n=_(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):Se(function(e){var t,n=T(e),r=O(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=k(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=k(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+M(e),s=-r.scrollTop;return"rtl"===R(o||n).direction&&(l+=k(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(T(e)))}function Ae(e,t,n,r){var o="clippingParents"===t?function(e){var t=N(F(e)),n=["absolute","fixed"].indexOf(R(e).position)>=0&&w(e)?W(e):e;return x(n)?t.filter((function(e){return x(e)&&we(e,n)&&"body"!==j(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=ke(e,n,r);return t.top=k(o.top,t.top),t.right=A(o.right,t.right),t.bottom=A(o.bottom,t.bottom),t.left=k(o.left,t.left),t}),ke(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Ee(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ce(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Pe(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,l=n.boundary,s=void 0===l?Q:l,u=n.rootBoundary,c=void 0===u?Z:u,d=n.elementContext,f=void 0===d?J:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,v=void 0===m?0:m,g=Ee("number"!==typeof v?v:Ce(v,K)),y=f===J?ee:J,b=e.rects.popper,w=e.elements[h?y:f],S=Ae(x(w)?w:w.contextElement||T(e.elements.popper),s,c,a),k=_(e.elements.reference),A=pe({reference:k,element:b,strategy:"absolute",placement:o}),E=Se(Object.assign({},b,A)),C=f===J?E:k,P={top:S.top-C.top+g.top,bottom:C.bottom-S.bottom+g.bottom,left:S.left-C.left+g.left,right:C.right-S.right+g.right},O=e.modifiersData.offset;if(f===J&&O){var j=O[o];Object.keys(P).forEach((function(e){var t=[q,U].indexOf(e)>=0?1:-1,n=[V,U].indexOf(e)>=0?"y":"x";P[e]+=j[n]*t}))}return P}function _e(e,t,n){return k(e,A(t,n))}const Oe={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,l=void 0!==a&&a,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,v=Pe(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),g=ce(t.placement),y=de(t.placement),b=!y,x=fe(g),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,E=t.rects.reference,C=t.rects.popper,P="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,_="number"===typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(S){if(i){var T,M="y"===x?V:G,R="y"===x?U:q,L="y"===x?"height":"width",I=S[x],F=I+v[M],z=I-v[R],N=p?-C[L]/2:0,B=y===X?E[L]:C[L],H=y===X?-C[L]:-E[L],$=t.elements.arrow,K=p&&$?D($):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Q=Y[M],Z=Y[R],J=_e(0,E[L],K[L]),ee=b?E[L]/2-N-J-Q-_.mainAxis:B-J-Q-_.mainAxis,te=b?-E[L]/2+N+J+Z+_.mainAxis:H+J+Z+_.mainAxis,ne=t.elements.arrow&&W(t.elements.arrow),re=ne?"y"===x?ne.clientTop||0:ne.clientLeft||0:0,oe=null!=(T=null==O?void 0:O[x])?T:0,ie=I+te-oe,ae=_e(p?A(F,I+ee-oe-re):F,I,p?k(z,ie):z);S[x]=ae,j[x]=ae-I}if(l){var le,se="x"===x?V:G,ue="x"===x?U:q,pe=S[w],he="y"===w?"height":"width",me=pe+v[se],ve=pe-v[ue],ge=-1!==[V,G].indexOf(g),ye=null!=(le=null==O?void 0:O[w])?le:0,be=ge?me:pe-E[he]-C[he]-ye+_.altAxis,xe=ge?pe+E[he]+C[he]-ye-_.altAxis:ve,we=p&&ge?function(e,t,n){var r=_e(e,t,n);return r>n?n:r}(be,pe,xe):_e(p?be:me,pe,p?xe:ve);S[w]=we,j[w]=we-pe}t.modifiersData[r]=j}},requiresIfExists:["offset"]};const je={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,l=ce(n.placement),s=fe(l),u=[G,q].indexOf(l)>=0?"height":"width";if(i&&a){var c=function(e,t){return Ee("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ce(e,K))}(o.padding,n),d=D(i),f="y"===s?V:G,p="y"===s?U:q,h=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],m=a[s]-n.rects.reference[s],v=W(i),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=c[f],x=g-d[u]-c[p],w=g/2-d[u]/2+y,S=_e(b,w,x),k=s;n.modifiersData[r]=((t={})[k]=S,t.centerOffset=S-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)))&&we(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Te(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 Me(e){return[V,q,U,G].some((function(t){return e[t]>=0}))}var Re=se({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,l=void 0===a||a,s=b(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,ue)})),l&&s.addEventListener("resize",n.update,ue),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ue)})),l&&s.removeEventListener("resize",n.update,ue)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=pe({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,l=n.roundOffsets,s=void 0===l||l,u={placement:ce(t.placement),variation:de(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,me(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,me(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),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];w(o)&&j(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}),{});w(r)&&j(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},ve,{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,l=void 0===a||a,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=ce(v),y=s||(g===v||!h?[ye(v)]:function(e){if(ce(e)===$)return[];var t=ye(e);return[xe(e),t,xe(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(ce(n)===$?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?ne:s,c=de(r),d=c?l?te:te.filter((function(e){return de(e)===c})):K,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Pe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[ce(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,k=!0,A=b[0],E=0;E=0,j=O?"width":"height",T=Pe(t,{placement:C,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),M=O?_?q:G:_?U:V;x[j]>w[j]&&(M=ye(M));var R=ye(M),L=[];if(i&&L.push(T[P]<=0),l&&L.push(T[M]<=0,T[R]<=0),L.every((function(e){return e}))){A=C,k=!1;break}S.set(C,L)}if(k)for(var I=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},D=h?3:1;D>0;D--){if("break"===I(D))break}t.placement!==A&&(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Oe,je,{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=Pe(t,{elementContext:"reference"}),l=Pe(t,{altBoundary:!0}),s=Te(a,r),u=Te(l,o,i),c=Me(s),d=Me(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}),Le=n(5990),Ie=n(2400);const De="base";function Fe(e,t){const n=Ie.li[t];return n?(r=n,"".concat(De,"--").concat(r)):function(e,t){return"".concat(De,"-").concat(e,"-").concat(t)}(e,t);var r}const ze="Popper";function Ne(e){return Fe(ze,e)}!function(e,t){const n={};t.forEach((t=>{n[t]=Fe(e,t)}))}(ze,["root"]);var Be=n(7061),He=n(579);const We={disableDefaultClasses:!1},Ve=i.createContext(We);const Ue=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],qe=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Ge(e){return"function"===typeof e?e():e}function $e(e){return void 0!==e.nodeType}const Ke=()=>(0,s.A)({root:["root"]},function(e){const{disableDefaultClasses:t}=i.useContext(Ve);return n=>t?"":e(n)}(Ne)),Xe={},Ye=i.forwardRef((function(e,t){var n;const{anchorEl:a,children:l,direction:s,disablePortal:u,modifiers:c,open:d,placement:f,popperOptions:p,popperRef:h,slotProps:m={},slots:y={},TransitionProps:b}=e,x=(0,r.A)(e,Ue),w=i.useRef(null),S=(0,v.A)(w,t),k=i.useRef(null),A=(0,v.A)(k,h),E=i.useRef(A);(0,g.A)((()=>{E.current=A}),[A]),i.useImperativeHandle(h,(()=>k.current),[]);const C=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}}(f,s),[P,_]=i.useState(C),[O,j]=i.useState(Ge(a));i.useEffect((()=>{k.current&&k.current.forceUpdate()})),i.useEffect((()=>{a&&j(Ge(a))}),[a]),(0,g.A)((()=>{if(!O||!d)return;let e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:e=>{let{state:t}=e;_(t.placement)}}];null!=c&&(e=e.concat(c)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=Re(O,w.current,(0,o.A)({placement:C},p,{modifiers:e}));return E.current(t),()=>{t.destroy(),E.current(null)}}),[O,u,c,d,p,C]);const T={placement:P};null!==b&&(T.TransitionProps=b);const M=Ke(),R=null!=(n=y.root)?n:"div",L=(0,Be.Q)({elementType:R,externalSlotProps:m.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:S},ownerState:e,className:M.root});return(0,He.jsx)(R,(0,o.A)({},L,{children:"function"===typeof l?l(T):l}))})),Qe=i.forwardRef((function(e,t){const{anchorEl:n,children:a,container:l,direction:s="ltr",disablePortal:u=!1,keepMounted:c=!1,modifiers:d,open:f,placement:p="bottom",popperOptions:h=Xe,popperRef:m,style:v,transition:g=!1,slotProps:b={},slots:x={}}=e,w=(0,r.A)(e,qe),[S,k]=i.useState(!0);if(!c&&!f&&(!g||S))return null;let A;if(l)A=l;else if(n){const e=Ge(n);A=e&&$e(e)?(0,y.A)(e).body:(0,y.A)(null).body}const E=f||!c||g&&!S?void 0:"none",C=g?{in:f,onEnter:()=>{k(!1)},onExited:()=>{k(!0)}}:void 0;return(0,He.jsx)(Le.Z,{disablePortal:u,container:A,children:(0,He.jsx)(Ye,(0,o.A)({anchorEl:n,direction:s,disablePortal:u,modifiers:d,ref:t,open:g?!S:f,placement:p,popperOptions:h,popperRef:m,slotProps:b,slots:x},w,{style:(0,o.A)({position:"fixed",top:0,left:0,display:E},v),TransitionProps:C,children:a}))})}));var Ze=n(7082);const Je=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],et=(0,d.Ay)(Qe,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),tt=i.forwardRef((function(e,t){var n;const i=(0,Ze.A)(),a=(0,p.A)({props:e,name:"MuiPopper"}),{anchorEl:l,component:s,components:u,componentsProps:c,container:d,disablePortal:f,keepMounted:h,modifiers:m,open:v,placement:g,popperOptions:y,popperRef:b,transition:x,slots:w,slotProps:S}=a,k=(0,r.A)(a,Je),A=null!=(n=null==w?void 0:w.root)?n:null==u?void 0:u.Root,E=(0,o.A)({anchorEl:l,container:d,disablePortal:f,keepMounted:h,modifiers:m,open:v,placement:g,popperOptions:y,popperRef:b,transition:x},k);return(0,He.jsx)(et,(0,o.A)({as:s,direction:null==i?void 0:i.direction,slots:{root:A},slotProps:null!=S?S:c},E,{ref:t}))}));var nt=n(3319),rt=n(5849),ot=n(5047),it=n(2191),at=n(5242);function lt(e){return(0,Ie.Ay)("MuiTooltip",e)}const st=(0,n(7056).A)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),ut=["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 ct=(0,d.Ay)(tt,{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]}})((e=>{let{theme:t,ownerState:n,open:r}=e;return(0,o.A)({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!n.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},n.arrow&&{['&[data-popper-placement*="bottom"] .'.concat(st.arrow)]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},['&[data-popper-placement*="top"] .'.concat(st.arrow)]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},['&[data-popper-placement*="right"] .'.concat(st.arrow)]:(0,o.A)({},n.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),['&[data-popper-placement*="left"] .'.concat(st.arrow)]:(0,o.A)({},n.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})})),dt=(0,d.Ay)("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".concat((0,h.A)(n.placement.split("-")[0]))]]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.A)({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:(0,c.X4)(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},n.arrow&&{position:"relative",margin:0},n.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:"".concat((r=16/14,Math.round(1e5*r)/1e5),"em"),fontWeight:t.typography.fontWeightRegular},{[".".concat(st.popper,'[data-popper-placement*="left"] &')]:(0,o.A)({transformOrigin:"right center"},n.isRtl?(0,o.A)({marginLeft:"14px"},n.touch&&{marginLeft:"24px"}):(0,o.A)({marginRight:"14px"},n.touch&&{marginRight:"24px"})),[".".concat(st.popper,'[data-popper-placement*="right"] &')]:(0,o.A)({transformOrigin:"left center"},n.isRtl?(0,o.A)({marginRight:"14px"},n.touch&&{marginRight:"24px"}):(0,o.A)({marginLeft:"14px"},n.touch&&{marginLeft:"24px"})),[".".concat(st.popper,'[data-popper-placement*="top"] &')]:(0,o.A)({transformOrigin:"center bottom",marginBottom:"14px"},n.touch&&{marginBottom:"24px"}),[".".concat(st.popper,'[data-popper-placement*="bottom"] &')]:(0,o.A)({transformOrigin:"center top",marginTop:"14px"},n.touch&&{marginTop:"24px"})});var r})),ft=(0,d.Ay)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((e=>{let{theme:t}=e;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:(0,c.X4)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}}));let pt=!1;const ht=new l.E;let mt={x:0,y:0};function vt(e,t){return n=>{t&&t(n),e(n)}}const gt=i.forwardRef((function(e,t){var n,c,d,v,g,y,b,x,w,S,k,A,E,C,P,_,O,j,T;const M=(0,p.A)({props:e,name:"MuiTooltip"}),{arrow:R=!1,children:L,components:I={},componentsProps:D={},describeChild:F=!1,disableFocusListener:z=!1,disableHoverListener:N=!1,disableInteractive:B=!1,disableTouchListener:H=!1,enterDelay:W=100,enterNextDelay:V=0,enterTouchDelay:U=700,followCursor:q=!1,id:G,leaveDelay:$=0,leaveTouchDelay:K=1500,onClose:X,onOpen:Y,open:Q,placement:Z="bottom",PopperComponent:J,PopperProps:ee={},slotProps:te={},slots:ne={},title:re,TransitionComponent:oe=m.A,TransitionProps:ie}=M,ae=(0,r.A)(M,ut),le=i.isValidElement(L)?L:(0,He.jsx)("span",{children:L}),se=(0,f.A)(),ue="rtl"===se.direction,[ce,de]=i.useState(),[fe,pe]=i.useState(null),he=i.useRef(!1),me=B||q,ve=(0,l.A)(),ge=(0,l.A)(),ye=(0,l.A)(),be=(0,l.A)(),[xe,we]=(0,at.A)({controlled:Q,default:!1,name:"Tooltip",state:"open"});let Se=xe;const ke=(0,ot.A)(G),Ae=i.useRef(),Ee=(0,nt.A)((()=>{void 0!==Ae.current&&(document.body.style.WebkitUserSelect=Ae.current,Ae.current=void 0),be.clear()}));i.useEffect((()=>Ee),[Ee]);const Ce=e=>{ht.clear(),pt=!0,we(!0),Y&&!Se&&Y(e)},Pe=(0,nt.A)((e=>{ht.start(800+$,(()=>{pt=!1})),we(!1),X&&Se&&X(e),ve.start(se.transitions.duration.shortest,(()=>{he.current=!1}))})),_e=e=>{he.current&&"touchstart"!==e.type||(ce&&ce.removeAttribute("title"),ge.clear(),ye.clear(),W||pt&&V?ge.start(pt?V:W,(()=>{Ce(e)})):Ce(e))},Oe=e=>{ge.clear(),ye.start($,(()=>{Pe(e)}))},{isFocusVisibleRef:je,onBlur:Te,onFocus:Me,ref:Re}=(0,it.A)(),[,Le]=i.useState(!1),Ie=e=>{Te(e),!1===je.current&&(Le(!1),Oe(e))},De=e=>{ce||de(e.currentTarget),Me(e),!0===je.current&&(Le(!0),_e(e))},Fe=e=>{he.current=!0;const t=le.props;t.onTouchStart&&t.onTouchStart(e)},ze=_e,Ne=Oe,Be=e=>{Fe(e),ye.clear(),ve.clear(),Ee(),Ae.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.start(U,(()=>{document.body.style.WebkitUserSelect=Ae.current,_e(e)}))},We=e=>{le.props.onTouchEnd&&le.props.onTouchEnd(e),Ee(),ye.start(K,(()=>{Pe(e)}))};i.useEffect((()=>{if(Se)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Pe(e)}}),[Pe,Se]);const Ve=(0,rt.A)(le.ref,Re,de,t);re||0===re||(Se=!1);const Ue=i.useRef(),qe={},Ge="string"===typeof re;F?(qe.title=Se||!Ge||N?null:re,qe["aria-describedby"]=Se?ke:null):(qe["aria-label"]=Ge?re:null,qe["aria-labelledby"]=Se&&!Ge?ke:null);const $e=(0,o.A)({},qe,ae,le.props,{className:(0,a.A)(ae.className,le.props.className),onTouchStart:Fe,ref:Ve},q?{onMouseMove:e=>{const t=le.props;t.onMouseMove&&t.onMouseMove(e),mt={x:e.clientX,y:e.clientY},Ue.current&&Ue.current.update()}}:{});const Ke={};H||($e.onTouchStart=Be,$e.onTouchEnd=We),N||($e.onMouseOver=vt(ze,$e.onMouseOver),$e.onMouseLeave=vt(Ne,$e.onMouseLeave),me||(Ke.onMouseOver=ze,Ke.onMouseLeave=Ne)),z||($e.onFocus=vt(De,$e.onFocus),$e.onBlur=vt(Ie,$e.onBlur),me||(Ke.onFocus=De,Ke.onBlur=Ie));const Xe=i.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(fe),options:{element:fe,padding:4}}];return null!=(e=ee.popperOptions)&&e.modifiers&&(t=t.concat(ee.popperOptions.modifiers)),(0,o.A)({},ee.popperOptions,{modifiers:t})}),[fe,ee]),Ye=(0,o.A)({},M,{isRtl:ue,arrow:R,disableInteractive:me,placement:Z,PopperComponentProp:J,touch:he.current}),Qe=(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".concat((0,h.A)(i.split("-")[0]))],arrow:["arrow"]};return(0,s.A)(a,lt,t)})(Ye),Ze=null!=(n=null!=(c=ne.popper)?c:I.Popper)?n:ct,Je=null!=(d=null!=(v=null!=(g=ne.transition)?g:I.Transition)?v:oe)?d:m.A,et=null!=(y=null!=(b=ne.tooltip)?b:I.Tooltip)?y:dt,st=null!=(x=null!=(w=ne.arrow)?w:I.Arrow)?x:ft,gt=(0,u.X)(Ze,(0,o.A)({},ee,null!=(S=te.popper)?S:D.popper,{className:(0,a.A)(Qe.popper,null==ee?void 0:ee.className,null==(k=null!=(A=te.popper)?A:D.popper)?void 0:k.className)}),Ye),yt=(0,u.X)(Je,(0,o.A)({},ie,null!=(E=te.transition)?E:D.transition),Ye),bt=(0,u.X)(et,(0,o.A)({},null!=(C=te.tooltip)?C:D.tooltip,{className:(0,a.A)(Qe.tooltip,null==(P=null!=(_=te.tooltip)?_:D.tooltip)?void 0:P.className)}),Ye),xt=(0,u.X)(st,(0,o.A)({},null!=(O=te.arrow)?O:D.arrow,{className:(0,a.A)(Qe.arrow,null==(j=null!=(T=te.arrow)?T:D.arrow)?void 0:j.className)}),Ye);return(0,He.jsxs)(i.Fragment,{children:[i.cloneElement(le,$e),(0,He.jsx)(Ze,(0,o.A)({as:null!=J?J:tt,placement:Z,anchorEl:q?{getBoundingClientRect:()=>({top:mt.y,left:mt.x,right:mt.x,bottom:mt.y,width:0,height:0})}:ce,popperRef:Ue,open:!!ce&&Se,id:ke,transition:!0},Ke,gt,{popperOptions:Xe,children:e=>{let{TransitionProps:t}=e;return(0,He.jsx)(Je,(0,o.A)({timeout:se.transitions.duration.shorter},t,yt,{children:(0,He.jsxs)(et,(0,o.A)({},bt,{children:[re,R?(0,He.jsx)(st,(0,o.A)({},xt,{ref:pe})):null]}))}))}}))]})})),yt=gt},5881:(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"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case m:case h:case s:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},805:(e,t,n)=>{"use strict";n(5881)},4994:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8168);function o(e,t){return(0,r.A)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}},2949:(e,t,n)=>{"use strict";n.d(t,{D:()=>M,A:()=>R});var r=n(8168),o=n(8587),i=n(6632),a=n(3216),l=n(8519),s=n(7758),u=n(8812),c=n(4994),d=n(3650);const f={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"},h={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"},m={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"},v={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"},y={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"},x=["mode","contrastThreshold","tonalOffset"],w={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:f.white,default:f.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}},S={text:{primary:f.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:f.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,d.a)(e.main,o):"dark"===t&&(e.dark=(0,d.e$)(e.main,i)))}function A(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:l=.2}=e,s=(0,o.A)(e,x),u=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(t),c=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[200],light:h[50],dark:h[400]}:{main:h[500],light:h[300],dark:h[700]}}(t),A=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[500],light:m[300],dark:m[700]}:{main:m[700],light:m[400],dark:m[800]}}(t),E=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(t),C=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[800],light:b[500],dark:b[900]}}(t),P=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[400],light:v[300],dark:v[700]}:{main:"#ed6c02",light:v[500],dark:v[900]}}(t);function _(e){return(0,d.eM)(e,S.text.primary)>=n?S.text.primary:w.text.primary}const O=e=>{let{color:t,name:n,mainShade:o=500,lightShade:a=300,darkShade:s=700}=e;if(t=(0,r.A)({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error((0,i.A)(11,n?" (".concat(n,")"):"",o));if("string"!==typeof t.main)throw new Error((0,i.A)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return k(t,"light",a,l),k(t,"dark",s,l),t.contrastText||(t.contrastText=_(t.main)),t},j={dark:S,light:w};return(0,a.A)((0,r.A)({common:(0,r.A)({},f),mode:t,primary:O({color:u,name:"primary"}),secondary:O({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:O({color:A,name:"error"}),warning:O({color:P,name:"warning"}),info:O({color:E,name:"info"}),success:O({color:C,name:"success"}),grey:p,contrastThreshold:n,getContrastText:_,augmentColor:O,tonalOffset:l},j[t]),s)}var E=n(137);function C(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}const P=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)];var _=n(4318);const O={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},j=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function T(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:t={},palette:n={},transitions:d={},typography:f={}}=e,p=(0,o.A)(e,j);if(e.vars)throw new Error((0,i.A)(18));const h=A(n),m=(0,l.A)(e);let v=(0,a.A)(m,{mixins:(0,c.A)(m.breakpoints,t),palette:h,shadows:P.slice(),typography:(0,E.A)(h,f),transitions:(0,_.Ay)(d),zIndex:(0,r.A)({},O)});v=(0,a.A)(v,p);for(var g=arguments.length,y=new Array(g>1?g-1:0),b=1;b(0,a.A)(e,t)),v),v.unstable_sxConfig=(0,r.A)({},s.A,null==p?void 0:p.unstable_sxConfig),v.unstable_sx=function(e){return(0,u.A)({sx:e,theme:this})},v}function M(){return T(...arguments)}const R=T},4318:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,cz:()=>a,p0:()=>l});var r=n(8587),o=n(8168);const i=["duration","easing","delay"],a={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)"},l={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function s(e){return"".concat(Math.round(e),"ms")}function u(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function c(e){const t=(0,o.A)({},a,e.easing),n=(0,o.A)({},l,e.duration);return(0,o.A)({getAutoHeightDuration:u,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:a=n.standard,easing:l=t.easeInOut,delay:u=0}=o;(0,r.A)(o,i);return(Array.isArray(e)?e:[e]).map((e=>"".concat(e," ").concat("string"===typeof a?a:s(a)," ").concat(l," ").concat("string"===typeof u?u:s(u)))).join(",")}},e,{easing:t,duration:n})}},137:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(8168),o=n(8587),i=n(3216);const a=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const l={textTransform:"uppercase"},s='"Roboto", "Helvetica", "Arial", sans-serif';function u(e,t){const n="function"===typeof t?t(e):t,{fontFamily:u=s,fontSize:c=14,fontWeightLight:d=300,fontWeightRegular:f=400,fontWeightMedium:p=500,fontWeightBold:h=700,htmlFontSize:m=16,allVariants:v,pxToRem:g}=n,y=(0,o.A)(n,a);const b=c/14,x=g||(e=>"".concat(e/m*b,"rem")),w=(e,t,n,o,i)=>{return(0,r.A)({fontFamily:u,fontWeight:e,fontSize:x(t),lineHeight:n},u===s?{letterSpacing:"".concat((a=o/t,Math.round(1e5*a)/1e5),"em")}:{},i,v);var a},S={h1:w(d,96,1.167,-1.5),h2:w(d,60,1.2,-.5),h3:w(f,48,1.167,0),h4:w(f,34,1.235,.25),h5:w(f,24,1.334,0),h6:w(p,20,1.6,.15),subtitle1:w(f,16,1.75,.15),subtitle2:w(p,14,1.57,.1),body1:w(f,16,1.5,.15),body2:w(f,14,1.43,.15),button:w(p,14,1.75,.4,l),caption:w(f,12,1.66,.4),overline:w(f,12,2.66,1,l),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,i.A)((0,r.A)({htmlFontSize:m,pxToRem:x,fontFamily:u,fontSize:c,fontWeightLight:d,fontWeightRegular:f,fontWeightMedium:p,fontWeightBold:h},S),y,{clone:!1})}},5170:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(2949).A)()},3582:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)}},3375:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="$$material"},4554:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Experimental_CssVarsProvider:()=>Ce,StyledEngineProvider:()=>V,THEME_ID:()=>o.A,ThemeProvider:()=>B,adaptV4Theme:()=>d,alpha:()=>f.X4,createMuiTheme:()=>h.D,createStyles:()=>y,createTheme:()=>h.A,css:()=>p.AH,darken:()=>f.e$,decomposeColor:()=>f.rP,duration:()=>A.p0,easing:()=>A.cz,emphasize:()=>f.tL,experimentalStyled:()=>P.Ay,experimental_extendTheme:()=>Se,experimental_sx:()=>je,getContrastRatio:()=>f.eM,getInitColorSchemeScript:()=>_e,getLuminance:()=>f.J1,getOverlayAlpha:()=>pe.A,hexToRgb:()=>f.E2,hslToRgb:()=>f.YL,keyframes:()=>p.i7,lighten:()=>f.a,makeStyles:()=>U,private_createMixins:()=>Oe.A,private_createTypography:()=>ke.A,private_excludeVariablesFromRoot:()=>Ae,recomposeColor:()=>f.X0,responsiveFontSizes:()=>k,rgbToHex:()=>f.Ob,shouldSkipGeneratingVar:()=>fe,styled:()=>P.Ay,unstable_createMuiStrictModeTheme:()=>v,unstable_getUnit:()=>x,unstable_toUnitless:()=>w,useColorScheme:()=>Pe,useTheme:()=>E.A,useThemeProps:()=>C.A,withStyles:()=>q,withTheme:()=>G});var r=n(6632),o=n(3375),i=n(8168),a=n(8587),l=n(3964),s=n(4853);const u=["defaultProps","mixins","overrides","palette","props","styleOverrides"],c=["type","mode"];function d(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:d={},styleOverrides:f={}}=e,p=(0,a.A)(e,u),h=(0,i.A)({},p,{components:{}});Object.keys(t).forEach((e=>{const n=h.components[e]||{};n.defaultProps=t[e],h.components[e]=n})),Object.keys(d).forEach((e=>{const t=h.components[e]||{};t.defaultProps=d[e],h.components[e]=t})),Object.keys(f).forEach((e=>{const t=h.components[e]||{};t.styleOverrides=f[e],h.components[e]=t})),Object.keys(r).forEach((e=>{const t=h.components[e]||{};t.styleOverrides=r[e],h.components[e]=t})),h.spacing=(0,l.A)(e.spacing);const m=(0,s.A)(e.breakpoints||{}),v=h.spacing;h.mixins=(0,i.A)({gutters:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.A)({paddingLeft:v(2),paddingRight:v(2)},e,{[m.up("sm")]:(0,i.A)({paddingLeft:v(3),paddingRight:v(3)},e[m.up("sm")])})}},n);const{type:g,mode:y}=o,b=(0,a.A)(o,c),x=y||g||"light";return h.palette=(0,i.A)({text:{hint:"dark"===x?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:x,type:x},b),h}var f=n(3650),p=n(3290),h=n(2949),m=n(3216);function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{};const{breakpoints:n=["sm","md","lg"],disableAlign:o=!1,factor:a=2,variants:l=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,s=(0,i.A)({},e);s.typography=(0,i.A)({},s.typography);const u=s.typography,c=(d=u.htmlFontSize,(e,t)=>{const n=x(e);if(n===t)return e;let r=w(e);"px"!==n&&("em"===n||"rem"===n)&&(r=w(e)*w(d));let o=r;if("px"!==t)if("em"===t)o=r/w(d);else{if("rem"!==t)return e;o=r/w(d)}return parseFloat(o.toFixed(5))+t});var d;const f=n.map((e=>s.breakpoints.values[e]));return l.forEach((e=>{const t=u[e],n=parseFloat(c(t.fontSize,"rem"));if(n<=1)return;const l=n,s=1+(l-1)/a;let{lineHeight:d}=t;if(!b(d)&&!o)throw new Error((0,r.A)(6));b(d)||(d=parseFloat(c(d,"rem"))/parseFloat(n));let p=null;o||(p=e=>function(e){let{size:t,grid:n}=e;const r=t-t%n,o=r+n;return t-r{let r=n+s*e;null!==a&&(r=a(r)),l["@media (min-width:".concat(e,"px)")]={[t]:"".concat(Math.round(1e4*r)/1e4).concat(o)}})),l}({cssProperty:"fontSize",min:s,max:l,unit:"rem",breakpoints:f,transform:p}))})),s}var A=n(4318),E=n(6240),C=n(1070),P=n(6671),_=n(5043);const O=_.createContext(null);function j(){return _.useContext(O)}const T="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var M=n(579);const R=function(e){const{children:t,theme:n}=e,r=j(),o=_.useMemo((()=>{const e=null===r?n:function(e,t){if("function"===typeof t)return t(e);return(0,i.A)({},e,t)}(r,n);return null!=e&&(e[T]=null!==r),e}),[n,r]);return(0,M.jsx)(O.Provider,{value:o,children:t})};var L=n(5025),I=n(7082);const D={};function F(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return _.useMemo((()=>{const o=e&&t[e]||t;if("function"===typeof n){const a=n(o),l=e?(0,i.A)({},t,{[e]:a}):a;return r?()=>l:l}return e?(0,i.A)({},t,{[e]:n}):(0,i.A)({},t,n)}),[e,t,n,r])}const z=function(e){const{children:t,theme:n,themeId:r}=e,o=(0,I.A)(D),i=j()||D,a=F(r,o,n),l=F(r,i,n,!0);return(0,M.jsx)(R,{theme:l,children:(0,M.jsx)(L.T.Provider,{value:a,children:t})})},N=["theme"];function B(e){let{theme:t}=e,n=(0,a.A)(e,N);const r=t[o.A];return(0,M.jsx)(z,(0,i.A)({},n,{themeId:r?o.A:void 0,theme:r||t}))}var H=n(5513);let W;function V(e){const{injectFirst:t,children:n}=e;return t&&W?(0,M.jsx)(L.C,{value:W,children:n}):n}function U(){throw new Error((0,r.A)(14))}function q(){throw new Error((0,r.A)(15))}function G(){throw new Error((0,r.A)(16))}"object"===typeof document&&(W=(0,H.A)({key:"css",prepend:!0}));var $=n(869);const K="mode",X="color-scheme",Y="data-color-scheme";function Q(e){if("undefined"!==typeof window&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function Z(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function J(e,t){if("undefined"===typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(r){}return n||t}function ee(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:a=K,colorSchemeStorageKey:l=X,storageWindow:s=("undefined"===typeof window?void 0:window)}=e,u=o.join(","),[c,d]=_.useState((()=>{const e=J(a,t),o=J("".concat(l,"-light"),n),i=J("".concat(l,"-dark"),r);return{mode:e,systemMode:Q(e),lightColorScheme:o,darkColorScheme:i}})),f=function(e){return Z(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(c),p=_.useCallback((e=>{d((n=>{if(e===n.mode)return n;const r=e||t;try{localStorage.setItem(a,r)}catch(o){}return(0,i.A)({},n,{mode:r,systemMode:Q(r)})}))}),[a,t]),h=_.useCallback((e=>{e?"string"===typeof e?e&&!u.includes(e)?console.error("`".concat(e,"` does not exist in `theme.colorSchemes`.")):d((t=>{const n=(0,i.A)({},t);return Z(t,(t=>{try{localStorage.setItem("".concat(l,"-").concat(t),e)}catch(r){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):d((t=>{const o=(0,i.A)({},t),a=null===e.light?n:e.light,s=null===e.dark?r:e.dark;if(a)if(u.includes(a)){o.lightColorScheme=a;try{localStorage.setItem("".concat(l,"-light"),a)}catch(c){}}else console.error("`".concat(a,"` does not exist in `theme.colorSchemes`."));if(s)if(u.includes(s)){o.darkColorScheme=s;try{localStorage.setItem("".concat(l,"-dark"),s)}catch(c){}}else console.error("`".concat(s,"` does not exist in `theme.colorSchemes`."));return o})):d((e=>{try{localStorage.setItem("".concat(l,"-light"),n),localStorage.setItem("".concat(l,"-dark"),r)}catch(t){}return(0,i.A)({},e,{lightColorScheme:n,darkColorScheme:r})}))}),[u,l,n,r]),m=_.useCallback((e=>{"system"===c.mode&&d((t=>(0,i.A)({},t,{systemMode:null!=e&&e.matches?"dark":"light"})))}),[c.mode]),v=_.useRef(m);return v.current=m,_.useEffect((()=>{const e=function(){return v.current(...arguments)},t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>t.removeListener(e)}),[]),_.useEffect((()=>{const e=e=>{const n=e.newValue;"string"!==typeof e.key||!e.key.startsWith(l)||n&&!u.match(n)||(e.key.endsWith("light")&&h({light:n}),e.key.endsWith("dark")&&h({dark:n})),e.key!==a||n&&!["light","dark","system"].includes(n)||p(n||t)};if(s)return s.addEventListener("storage",e),()=>s.removeEventListener("storage",e)}),[h,p,a,l,u,t,s]),(0,i.A)({},c,{colorScheme:f,setMode:p,setColorScheme:h})}const te=["colorSchemes","components","generateCssVars","cssVarPrefix"];var ne=n(8812);function re(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";function t(){for(var n=arguments.length,r=new Array(n),o=0;o1?r-1:0),i=1;i3&&void 0!==arguments[3]?arguments[3]:[],o=e;t.forEach(((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"===typeof o&&(o[e]=n):o&&"object"===typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))},ie=(e,t,n)=>{!function e(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];Object.entries(r).forEach((r=>{let[a,l]=r;(!n||n&&!n([...o,a]))&&void 0!==l&&null!==l&&("object"===typeof l&&Object.keys(l).length>0?e(l,[...o,a],Array.isArray(l)?[...i,a]:i):t([...o,a],l,i))}))}(e)},ae=(e,t)=>{if("number"===typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:"".concat(t,"px")}return t};function le(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return ie(e,((e,t,l)=>{if(("string"===typeof t||"number"===typeof t)&&(!r||!r(e,t))){const r="--".concat(n?"".concat(n,"-"):"").concat(e.join("-"));Object.assign(o,{[r]:ae(e,t)}),oe(i,e,"var(".concat(r,")"),l),oe(a,e,"var(".concat(r,", ").concat(t,")"),l)}}),(e=>"vars"===e[0])),{css:o,vars:i,varsWithDefaults:a}}const se=["colorSchemes","components"],ue=["light"];const ce=function(e,t){const{colorSchemes:n={}}=e,r=(0,a.A)(e,se),{vars:o,css:l,varsWithDefaults:s}=le(r,t);let u=s;const c={},{light:d}=n,f=(0,a.A)(n,ue);if(Object.entries(f||{}).forEach((e=>{let[n,r]=e;const{vars:o,css:i,varsWithDefaults:a}=le(r,t);u=(0,m.A)(u,a),c[n]={css:i,vars:o}})),d){const{css:e,vars:n,varsWithDefaults:r}=le(d,t);u=(0,m.A)(u,r),c.light={css:e,vars:n}}return{vars:u,generateCssVars:e=>e?{css:(0,i.A)({},c[e].css),vars:c[e].vars}:{css:(0,i.A)({},l),vars:o}}};var de=n(7758);function fe(e){var t;return!!e[0].match(/(cssVarPrefix|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!(null==(t=e[1])||!t.match(/(mode|contrastThreshold|tonalOffset)/))}var pe=n(3582);const he=["colorSchemes","cssVarPrefix","shouldSkipGeneratingVar"],me=["palette"],ve=[...Array(25)].map(((e,t)=>{if(0===t)return;const n=(0,pe.A)(t);return"linear-gradient(rgba(255 255 255 / ".concat(n,"), rgba(255 255 255 / ").concat(n,"))")}));function ge(e,t,n){!e[t]&&n&&(e[t]=n)}function ye(e){return e&&e.startsWith("hsl")?(0,f.YL)(e):e}function be(e,t){"".concat(t,"Channel")in e||(e["".concat(t,"Channel")]=(0,f.Me)(ye(e[t]),"MUI: Can't create `palette.".concat(t,"Channel` because `palette.").concat(t,"` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().")+"\n"+"To suppress this warning, you need to explicitly provide the `palette.".concat(t,'Channel` as a string (in rgb format, e.g. "12 12 12") or undefined if you want to remove the channel token.')))}const xe=e=>{try{return e()}catch(t){}},we=function(){return re(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mui")};function Se(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t,n,r,o,l,s;const{colorSchemes:u={},cssVarPrefix:c="mui",shouldSkipGeneratingVar:d=fe}=e,p=(0,a.A)(e,he),v=we(c),g=(0,h.A)((0,i.A)({},p,u.light&&{palette:null==(t=u.light)?void 0:t.palette})),{palette:y}=g,b=(0,a.A)(g,me),{palette:x}=(0,h.A)({palette:(0,i.A)({mode:"dark"},null==(n=u.dark)?void 0:n.palette)});let w=(0,i.A)({},b,{cssVarPrefix:c,getCssVar:v,colorSchemes:(0,i.A)({},u,{light:(0,i.A)({},u.light,{palette:y,opacity:(0,i.A)({inputPlaceholder:.42,inputUnderline:.42,switchTrackDisabled:.12,switchTrack:.38},null==(r=u.light)?void 0:r.opacity),overlays:(null==(o=u.light)?void 0:o.overlays)||[]}),dark:(0,i.A)({},u.dark,{palette:x,opacity:(0,i.A)({inputPlaceholder:.5,inputUnderline:.7,switchTrackDisabled:.2,switchTrack:.3},null==(l=u.dark)?void 0:l.opacity),overlays:(null==(s=u.dark)?void 0:s.overlays)||ve})})});Object.keys(w.colorSchemes).forEach((e=>{const t=w.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return v(e,t[r][o])};var r;if("light"===e?(ge(t.common,"background","#fff"),ge(t.common,"onBackground","#000")):(ge(t.common,"background","#000"),ge(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach((e=>{r[e]||(r[e]={})})),"light"===e){ge(t.Alert,"errorColor",(0,f.Nd)(t.error.light,.6)),ge(t.Alert,"infoColor",(0,f.Nd)(t.info.light,.6)),ge(t.Alert,"successColor",(0,f.Nd)(t.success.light,.6)),ge(t.Alert,"warningColor",(0,f.Nd)(t.warning.light,.6)),ge(t.Alert,"errorFilledBg",n("palette-error-main")),ge(t.Alert,"infoFilledBg",n("palette-info-main")),ge(t.Alert,"successFilledBg",n("palette-success-main")),ge(t.Alert,"warningFilledBg",n("palette-warning-main")),ge(t.Alert,"errorFilledColor",xe((()=>y.getContrastText(t.error.main)))),ge(t.Alert,"infoFilledColor",xe((()=>y.getContrastText(t.info.main)))),ge(t.Alert,"successFilledColor",xe((()=>y.getContrastText(t.success.main)))),ge(t.Alert,"warningFilledColor",xe((()=>y.getContrastText(t.warning.main)))),ge(t.Alert,"errorStandardBg",(0,f.j4)(t.error.light,.9)),ge(t.Alert,"infoStandardBg",(0,f.j4)(t.info.light,.9)),ge(t.Alert,"successStandardBg",(0,f.j4)(t.success.light,.9)),ge(t.Alert,"warningStandardBg",(0,f.j4)(t.warning.light,.9)),ge(t.Alert,"errorIconColor",n("palette-error-main")),ge(t.Alert,"infoIconColor",n("palette-info-main")),ge(t.Alert,"successIconColor",n("palette-success-main")),ge(t.Alert,"warningIconColor",n("palette-warning-main")),ge(t.AppBar,"defaultBg",n("palette-grey-100")),ge(t.Avatar,"defaultBg",n("palette-grey-400")),ge(t.Button,"inheritContainedBg",n("palette-grey-300")),ge(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),ge(t.Chip,"defaultBorder",n("palette-grey-400")),ge(t.Chip,"defaultAvatarColor",n("palette-grey-700")),ge(t.Chip,"defaultIconColor",n("palette-grey-700")),ge(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ge(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ge(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ge(t.LinearProgress,"primaryBg",(0,f.j4)(t.primary.main,.62)),ge(t.LinearProgress,"secondaryBg",(0,f.j4)(t.secondary.main,.62)),ge(t.LinearProgress,"errorBg",(0,f.j4)(t.error.main,.62)),ge(t.LinearProgress,"infoBg",(0,f.j4)(t.info.main,.62)),ge(t.LinearProgress,"successBg",(0,f.j4)(t.success.main,.62)),ge(t.LinearProgress,"warningBg",(0,f.j4)(t.warning.main,.62)),ge(t.Skeleton,"bg","rgba(".concat(n("palette-text-primaryChannel")," / 0.11)")),ge(t.Slider,"primaryTrack",(0,f.j4)(t.primary.main,.62)),ge(t.Slider,"secondaryTrack",(0,f.j4)(t.secondary.main,.62)),ge(t.Slider,"errorTrack",(0,f.j4)(t.error.main,.62)),ge(t.Slider,"infoTrack",(0,f.j4)(t.info.main,.62)),ge(t.Slider,"successTrack",(0,f.j4)(t.success.main,.62)),ge(t.Slider,"warningTrack",(0,f.j4)(t.warning.main,.62));const e=(0,f.Y9)(t.background.default,.8);ge(t.SnackbarContent,"bg",e),ge(t.SnackbarContent,"color",xe((()=>y.getContrastText(e)))),ge(t.SpeedDialAction,"fabHoverBg",(0,f.Y9)(t.background.paper,.15)),ge(t.StepConnector,"border",n("palette-grey-400")),ge(t.StepContent,"border",n("palette-grey-400")),ge(t.Switch,"defaultColor",n("palette-common-white")),ge(t.Switch,"defaultDisabledColor",n("palette-grey-100")),ge(t.Switch,"primaryDisabledColor",(0,f.j4)(t.primary.main,.62)),ge(t.Switch,"secondaryDisabledColor",(0,f.j4)(t.secondary.main,.62)),ge(t.Switch,"errorDisabledColor",(0,f.j4)(t.error.main,.62)),ge(t.Switch,"infoDisabledColor",(0,f.j4)(t.info.main,.62)),ge(t.Switch,"successDisabledColor",(0,f.j4)(t.success.main,.62)),ge(t.Switch,"warningDisabledColor",(0,f.j4)(t.warning.main,.62)),ge(t.TableCell,"border",(0,f.j4)((0,f.Cg)(t.divider,1),.88)),ge(t.Tooltip,"bg",(0,f.Cg)(t.grey[700],.92))}else{ge(t.Alert,"errorColor",(0,f.j4)(t.error.light,.6)),ge(t.Alert,"infoColor",(0,f.j4)(t.info.light,.6)),ge(t.Alert,"successColor",(0,f.j4)(t.success.light,.6)),ge(t.Alert,"warningColor",(0,f.j4)(t.warning.light,.6)),ge(t.Alert,"errorFilledBg",n("palette-error-dark")),ge(t.Alert,"infoFilledBg",n("palette-info-dark")),ge(t.Alert,"successFilledBg",n("palette-success-dark")),ge(t.Alert,"warningFilledBg",n("palette-warning-dark")),ge(t.Alert,"errorFilledColor",xe((()=>x.getContrastText(t.error.dark)))),ge(t.Alert,"infoFilledColor",xe((()=>x.getContrastText(t.info.dark)))),ge(t.Alert,"successFilledColor",xe((()=>x.getContrastText(t.success.dark)))),ge(t.Alert,"warningFilledColor",xe((()=>x.getContrastText(t.warning.dark)))),ge(t.Alert,"errorStandardBg",(0,f.Nd)(t.error.light,.9)),ge(t.Alert,"infoStandardBg",(0,f.Nd)(t.info.light,.9)),ge(t.Alert,"successStandardBg",(0,f.Nd)(t.success.light,.9)),ge(t.Alert,"warningStandardBg",(0,f.Nd)(t.warning.light,.9)),ge(t.Alert,"errorIconColor",n("palette-error-main")),ge(t.Alert,"infoIconColor",n("palette-info-main")),ge(t.Alert,"successIconColor",n("palette-success-main")),ge(t.Alert,"warningIconColor",n("palette-warning-main")),ge(t.AppBar,"defaultBg",n("palette-grey-900")),ge(t.AppBar,"darkBg",n("palette-background-paper")),ge(t.AppBar,"darkColor",n("palette-text-primary")),ge(t.Avatar,"defaultBg",n("palette-grey-600")),ge(t.Button,"inheritContainedBg",n("palette-grey-800")),ge(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),ge(t.Chip,"defaultBorder",n("palette-grey-700")),ge(t.Chip,"defaultAvatarColor",n("palette-grey-300")),ge(t.Chip,"defaultIconColor",n("palette-grey-300")),ge(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ge(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ge(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ge(t.LinearProgress,"primaryBg",(0,f.Nd)(t.primary.main,.5)),ge(t.LinearProgress,"secondaryBg",(0,f.Nd)(t.secondary.main,.5)),ge(t.LinearProgress,"errorBg",(0,f.Nd)(t.error.main,.5)),ge(t.LinearProgress,"infoBg",(0,f.Nd)(t.info.main,.5)),ge(t.LinearProgress,"successBg",(0,f.Nd)(t.success.main,.5)),ge(t.LinearProgress,"warningBg",(0,f.Nd)(t.warning.main,.5)),ge(t.Skeleton,"bg","rgba(".concat(n("palette-text-primaryChannel")," / 0.13)")),ge(t.Slider,"primaryTrack",(0,f.Nd)(t.primary.main,.5)),ge(t.Slider,"secondaryTrack",(0,f.Nd)(t.secondary.main,.5)),ge(t.Slider,"errorTrack",(0,f.Nd)(t.error.main,.5)),ge(t.Slider,"infoTrack",(0,f.Nd)(t.info.main,.5)),ge(t.Slider,"successTrack",(0,f.Nd)(t.success.main,.5)),ge(t.Slider,"warningTrack",(0,f.Nd)(t.warning.main,.5));const e=(0,f.Y9)(t.background.default,.98);ge(t.SnackbarContent,"bg",e),ge(t.SnackbarContent,"color",xe((()=>x.getContrastText(e)))),ge(t.SpeedDialAction,"fabHoverBg",(0,f.Y9)(t.background.paper,.15)),ge(t.StepConnector,"border",n("palette-grey-600")),ge(t.StepContent,"border",n("palette-grey-600")),ge(t.Switch,"defaultColor",n("palette-grey-300")),ge(t.Switch,"defaultDisabledColor",n("palette-grey-600")),ge(t.Switch,"primaryDisabledColor",(0,f.Nd)(t.primary.main,.55)),ge(t.Switch,"secondaryDisabledColor",(0,f.Nd)(t.secondary.main,.55)),ge(t.Switch,"errorDisabledColor",(0,f.Nd)(t.error.main,.55)),ge(t.Switch,"infoDisabledColor",(0,f.Nd)(t.info.main,.55)),ge(t.Switch,"successDisabledColor",(0,f.Nd)(t.success.main,.55)),ge(t.Switch,"warningDisabledColor",(0,f.Nd)(t.warning.main,.55)),ge(t.TableCell,"border",(0,f.Nd)((0,f.Cg)(t.divider,1),.68)),ge(t.Tooltip,"bg",(0,f.Cg)(t.grey[700],.92))}be(t.background,"default"),be(t.common,"background"),be(t.common,"onBackground"),be(t,"divider"),Object.keys(t).forEach((e=>{const n=t[e];n&&"object"===typeof n&&(n.main&&ge(t[e],"mainChannel",(0,f.Me)(ye(n.main))),n.light&&ge(t[e],"lightChannel",(0,f.Me)(ye(n.light))),n.dark&&ge(t[e],"darkChannel",(0,f.Me)(ye(n.dark))),n.contrastText&&ge(t[e],"contrastTextChannel",(0,f.Me)(ye(n.contrastText))),"text"===e&&(be(t[e],"primary"),be(t[e],"secondary")),"action"===e&&(n.active&&be(t[e],"active"),n.selected&&be(t[e],"selected")))}))}));for(var S=arguments.length,k=new Array(S>1?S-1:0),A=1;A(0,m.A)(e,t)),w);const E={prefix:c,shouldSkipGeneratingVar:d},{vars:C,generateCssVars:P}=ce(w,E);return w.vars=C,w.generateCssVars=P,w.shouldSkipGeneratingVar=d,w.unstable_sxConfig=(0,i.A)({},de.A,null==p?void 0:p.unstable_sxConfig),w.unstable_sx=function(e){return(0,ne.A)({sx:e,theme:this})},w}var ke=n(137);const Ae=e=>[...[...Array(24)].map(((t,n)=>"--".concat(e?"".concat(e,"-"):"","overlays-").concat(n+1))),"--".concat(e?"".concat(e,"-"):"","palette-AppBar-darkBg"),"--".concat(e?"".concat(e,"-"):"","palette-AppBar-darkColor")],Ee=Se(),{CssVarsProvider:Ce,useColorScheme:Pe,getInitColorSchemeScript:_e}=function(e){const{themeId:t,theme:n={},attribute:o=Y,modeStorageKey:l=K,colorSchemeStorageKey:s=X,defaultMode:u="light",defaultColorScheme:c,disableTransitionOnChange:d=!1,resolveTheme:f,excludeVariablesFromRoot:p}=e;(!n.colorSchemes||"string"===typeof c&&!n.colorSchemes[c]||"object"===typeof c&&!n.colorSchemes[null==c?void 0:c.light]||"object"===typeof c&&!n.colorSchemes[null==c?void 0:c.dark])&&console.error("MUI: `".concat(c,"` does not exist in `theme.colorSchemes`."));const h=_.createContext(void 0),v="string"===typeof c?c:c.light,g="string"===typeof c?c:c.dark;return{CssVarsProvider:function(e){let{children:r,theme:v=n,modeStorageKey:g=l,colorSchemeStorageKey:y=s,attribute:b=o,defaultMode:x=u,defaultColorScheme:w=c,disableTransitionOnChange:S=d,storageWindow:k=("undefined"===typeof window?void 0:window),documentNode:A=("undefined"===typeof document?void 0:document),colorSchemeNode:E=("undefined"===typeof document?void 0:document.documentElement),colorSchemeSelector:C=":root",disableNestedContext:P=!1,disableStyleSheetGeneration:O=!1}=e;const T=_.useRef(!1),R=j(),L=_.useContext(h),I=!!L&&!P,D=v[t],F=D||v,{colorSchemes:N={},components:B={},generateCssVars:H=(()=>({vars:{},css:{}})),cssVarPrefix:W}=F,V=(0,a.A)(F,te),U=Object.keys(N),q="string"===typeof w?w:w.light,G="string"===typeof w?w:w.dark,{mode:K,setMode:X,systemMode:Y,lightColorScheme:Q,darkColorScheme:Z,colorScheme:J,setColorScheme:ne}=ee({supportedColorSchemes:U,defaultLightColorScheme:q,defaultDarkColorScheme:G,modeStorageKey:g,colorSchemeStorageKey:y,defaultMode:x,storageWindow:k});let re=K,oe=J;I&&(re=L.mode,oe=L.colorScheme);const ie=oe||("dark"===(re||("system"===x?u:x))?G:q),{css:ae,vars:le}=H(),se=(0,i.A)({},V,{components:B,colorSchemes:N,cssVarPrefix:W,vars:le,getColorSchemeSelector:e=>"[".concat(b,'="').concat(e,'"] &')}),ue={},ce={};Object.entries(N).forEach((e=>{let[t,n]=e;const{css:r,vars:o}=H(t);se.vars=(0,m.A)(se.vars,o),t===ie&&(Object.keys(n).forEach((e=>{n[e]&&"object"===typeof n[e]?se[e]=(0,i.A)({},se[e],n[e]):se[e]=n[e]})),se.palette&&(se.palette.colorScheme=t));if(t===("string"===typeof w?w:"dark"===x?w.dark:w.light)){if(p){const e={};p(W).forEach((t=>{e[t]=r[t],delete r[t]})),ue["[".concat(b,'="').concat(t,'"]')]=e}ue["".concat(C,", [").concat(b,'="').concat(t,'"]')]=r}else ce["".concat(":root"===C?"":C,"[").concat(b,'="').concat(t,'"]')]=r})),se.vars=(0,m.A)(se.vars,le),_.useEffect((()=>{oe&&E&&E.setAttribute(b,oe)}),[oe,b,E]),_.useEffect((()=>{let e;if(S&&T.current&&A){const t=A.createElement("style");t.appendChild(A.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),A.head.appendChild(t),window.getComputedStyle(A.body),e=setTimeout((()=>{A.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[oe,S,A]),_.useEffect((()=>(T.current=!0,()=>{T.current=!1})),[]);const de=_.useMemo((()=>({mode:re,systemMode:Y,setMode:X,lightColorScheme:Q,darkColorScheme:Z,colorScheme:oe,setColorScheme:ne,allColorSchemes:U})),[U,oe,Z,Q,re,ne,X,Y]);let fe=!0;(O||I&&(null==R?void 0:R.cssVarPrefix)===W)&&(fe=!1);const pe=(0,M.jsxs)(_.Fragment,{children:[fe&&(0,M.jsxs)(_.Fragment,{children:[(0,M.jsx)($.A,{styles:{[C]:ae}}),(0,M.jsx)($.A,{styles:ue}),(0,M.jsx)($.A,{styles:ce})]}),(0,M.jsx)(z,{themeId:D?t:void 0,theme:f?f(se):se,children:r})]});return I?pe:(0,M.jsx)(h.Provider,{value:de,children:pe})},useColorScheme:()=>{const e=_.useContext(h);if(!e)throw new Error((0,r.A)(19));return e},getInitColorSchemeScript:e=>function(e){const{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=K,colorSchemeStorageKey:i=X,attribute:a=Y,colorSchemeNode:l="document.documentElement"}=e||{};return(0,M.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function() {\ntry {\n var mode = localStorage.getItem('".concat(o,"') || '").concat(t,"';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('").concat(i,"-dark') || '").concat(r,"';\n } else {\n colorScheme = localStorage.getItem('").concat(i,"-light') || '").concat(n,"';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('").concat(i,"-light') || '").concat(n,"';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('").concat(i,"-dark') || '").concat(r,"';\n }\n if (colorScheme) {\n ").concat(l,".setAttribute('").concat(a,"', colorScheme);\n }\n} catch(e){}})();")}},"mui-color-scheme-init")}((0,i.A)({attribute:o,colorSchemeStorageKey:s,defaultMode:u,defaultLightColorScheme:v,defaultDarkColorScheme:g,modeStorageKey:l},e))}}({themeId:o.A,theme:Ee,attribute:"data-mui-color-scheme",modeStorageKey:"mui-mode",colorSchemeStorageKey:"mui-color-scheme",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{const t=(0,i.A)({},e,{typography:(0,ke.A)(e.palette,e.typography)});return t.unstable_sx=function(e){return(0,ne.A)({sx:e,theme:this})},t},excludeVariablesFromRoot:Ae});var Oe=n(4994);function je(){throw new Error((0,r.A)(20))}},6671:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>I,ep:()=>R});var r=n(8168),o=n(8587),i=n(5043),a=n(918),l=/^((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,a.A)((function(e){return l.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),u=n(5025),c=n(1722),d=n(2830),f=n(9436),p=s,h=function(e){return"theme"!==e},m=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?p:h},v=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.SF)(t,n,r),(0,f.s)((function(){return(0,c.sk)(t,n,r)})),null},y=function e(t,n){var o,a,l=t.__emotion_real===t,s=l&&t.__emotion_base||t;void 0!==n&&(o=n.label,a=n.target);var f=v(t,n,l),p=f||m(s),h=!p("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var x=y.length,w=1;we?e.charAt(0).toLowerCase()+e.slice(1):e;function _(e){let{defaultTheme:t,theme:n,themeId:r}=e;return o=n,0===Object.keys(o).length?t:n[r]||n;var o}function O(e){return e?(t,n)=>n[e]:null}function j(e,t){let{ownerState:n}=t,i=(0,o.A)(t,S);const a="function"===typeof e?e((0,r.A)({ownerState:n},i)):e;if(Array.isArray(a))return a.flatMap((e=>j(e,(0,r.A)({ownerState:n},i))));if(a&&"object"===typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,o.A)(a,k);return e.forEach((e=>{let o=!0;"function"===typeof e.props?o=e.props((0,r.A)({ownerState:n},i)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&i[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,r.A)({ownerState:n},i)):e.style))})),t}return a}var T=n(5170),M=n(3375);const R=e=>E(e)&&"classes"!==e,L=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:n=C,rootShouldForwardProp:i=E,slotShouldForwardProp:a=E}=e,l=e=>(0,w.A)((0,r.A)({},e,{theme:_((0,r.A)({},e,{defaultTheme:n,themeId:t}))}));return l.__mui_systemSx=!0,function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:u,slot:c,skipVariantsResolver:d,skipSx:f,overridesResolver:p=O(P(c))}=s,h=(0,o.A)(s,A),m=void 0!==d?d:c&&"Root"!==c&&"root"!==c||!1,v=f||!1;let g=E;"Root"===c||"root"===c?g=i:c?g=a:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const x=function(e,t){return y(e,t)}(e,(0,r.A)({shouldForwardProp:g,label:undefined},h)),w=e=>"function"===typeof e&&e.__emotion_real!==e||(0,b.Q)(e)?o=>j(e,(0,r.A)({},o,{theme:_({theme:o.theme,defaultTheme:n,themeId:t})})):e,S=function(o){let i=w(o);for(var a=arguments.length,s=new Array(a>1?a-1:0),c=1;c{const o=_((0,r.A)({},e,{defaultTheme:n,themeId:t}));if(!o.components||!o.components[u]||!o.components[u].styleOverrides)return null;const i=o.components[u].styleOverrides,a={};return Object.entries(i).forEach((t=>{let[n,i]=t;a[n]=j(i,(0,r.A)({},e,{theme:o}))})),p(e,a)})),u&&!m&&d.push((e=>{var o;const i=_((0,r.A)({},e,{defaultTheme:n,themeId:t}));return j({variants:null==i||null==(o=i.components)||null==(o=o[u])?void 0:o.variants},(0,r.A)({},e,{theme:i}))})),v||d.push(l);const f=d.length-s.length;if(Array.isArray(o)&&f>0){const e=new Array(f).fill("");i=[...o,...e],i.raw=[...o.raw,...e]}const h=x(i,...d);return e.muiName&&(h.muiName=e.muiName),h};return x.withConfig&&(S.withConfig=x.withConfig),S}}({themeId:M.A,defaultTheme:T.A,rootShouldForwardProp:R}),I=L},6240:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(5043);var r=n(5527),o=n(5170),i=n(3375);function a(){const e=(0,r.A)(o.A);return e[i.A]||e}},1070:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(2018);var o=n(5527);function i(e){let{props:t,name:n,defaultTheme:i,themeId:a}=e,l=(0,o.A)(i);a&&(l=l[a]||l);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.A)(t.components[n].defaultProps,o):o}({theme:l,name:n,props:t});return s}var a=n(5170),l=n(3375);function s(e){let{props:t,name:n}=e;return i({props:t,name:n,defaultTheme:a.A,themeId:l.A})}},653:(e,t,n)=>{"use strict";n.d(t,{c:()=>o,q:()=>r});const r=e=>e.scrollTop;function o(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}}},6803:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(410).A},7220:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i{e.apply(this,o)}),n)}return r.clear=()=>{clearTimeout(t)},r}},8167:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>o.A,createChainedFunction:()=>i,createSvgIcon:()=>c,debounce:()=>d.A,deprecatedPropType:()=>f,isMuiElement:()=>p,ownerDocument:()=>h.A,ownerWindow:()=>m.A,requirePropFactory:()=>v,setRef:()=>g,unstable_ClassNameGenerator:()=>E,unstable_useEnhancedEffect:()=>y.A,unstable_useId:()=>b.A,unsupportedProp:()=>x,useControlled:()=>w.A,useEventCallback:()=>S.A,useForkRef:()=>k.A,useIsFocusVisible:()=>A.A});var r=n(5430),o=n(6803);const i=n(4708).A;var a=n(8168),l=n(5043),s=n(2472),u=n(579);function c(e,t){function n(n,r){return(0,u.jsx)(s.A,(0,a.A)({"data-testid":"".concat(t,"Icon"),ref:r},n,{children:e}))}return n.muiName=s.A.muiName,l.memo(l.forwardRef(n))}var d=n(7220);const f=function(e,t){return()=>null};const p=function(e,t){var n,r;return l.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(r=e.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)};var h=n(2427),m=n(6078);const v=function(e,t){return()=>null};const g=n(9184).A;var y=n(5013),b=n(5047);const x=function(e,t,n,r,o){return null};var w=n(5242),S=n(3319),k=n(5849),A=n(2191);const E={configure:e=>{r.A.configure(e)}}},2427:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(2144).A},6078:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(6288).A},5242:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(5043);const o=function(e){let{controlled:t,default:n,name:o,state:i="value"}=e;const{current:a}=r.useRef(void 0!==t),[l,s]=r.useState(n);return[a?t:l,r.useCallback((e=>{a||s(e)}),[])]}},5013:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(3844).A},3319:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(4626).A},5849:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(7042).A},5047:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(5043);let o=0;const i=n.t(r,2)["useId".toString()];const a=function(e){if(void 0!==i){const t=i();return null!=e?e:t}return function(e){const[t,n]=r.useState(e),i=e||t;return r.useEffect((()=>{null==t&&(o+=1,n("mui-".concat(o)))}),[t]),i}(e)}},2191:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(5043),o=n(1140);let i=!0,a=!1;const l=new o.E,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 u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function d(){"hidden"===this.visibilityState&&a&&(i=!0)}function f(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",u,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",d,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!f(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,l.start(100,(()=>{a=!1})),t.current=!1,!0)},ref:e}}},869:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(5043);var r=n(3290),o=n(579);function i(e){const{styles:t,defaultTheme:n={}}=e,i="function"===typeof t?e=>{return t(void 0===(r=e)||null===r||0===Object.keys(r).length?n:e);var r}:t;return(0,o.jsx)(r.mL,{styles:i})}},9751:(e,t,n)=>{"use strict";n.d(t,{EU:()=>a,NI:()=>i,vf:()=>l,zu:()=>r});const r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>"@media (min-width:".concat(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(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function l(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}},3650:(e,t,n)=>{"use strict";n.d(t,{X4:()=>h,e$:()=>v,rP:()=>l,tL:()=>x,eM:()=>p,J1:()=>f,E2:()=>a,YL:()=>d,a:()=>y,Cg:()=>m,Me:()=>s,Nd:()=>g,Y9:()=>w,j4:()=>b,X0:()=>u,Ob:()=>c});var r=n(6632);const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_SAFE_INTEGER,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,n))};function i(e){return o(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)}function a(e){e=e.slice(1);const t=new RegExp(".{1,".concat(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".concat(4===n.length?"a":"","(").concat(n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", "),")"):""}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(a(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.A)(9,e));let o,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),o=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.A)(10,o))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:o}}const s=(e,t)=>{try{return(e=>{const t=l(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?"".concat(e,"%"):e)).join(" ")})(e)}catch(n){return e}};function u(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]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function c(e){if(0===e.indexOf("#"))return e;const{values:t}=l(e);return"#".concat(t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?"0".concat(t):t}(3===t?Math.round(255*e):e))).join(""))}function d(e){e=l(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)};let s="rgb";const c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),u({type:s,values:c})}function f(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(d(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 p(e,t){const n=f(e),r=f(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function h(e,t){return e=l(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,u(e)}function m(e,t,n){try{return h(e,t)}catch(r){return e}}function v(e,t){if(e=l(e),t=i(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 u(e)}function g(e,t,n){try{return v(e,t)}catch(r){return e}}function y(e,t){if(e=l(e),t=i(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 u(e)}function b(e,t,n){try{return y(e,t)}catch(r){return e}}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return f(e)>.5?v(e,t):y(e,t)}function w(e,t,n){try{return w(e,t)}catch(r){return e}}},4853:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(8587),o=n(8168);const i=["values","unit","step"],a=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,o.A)({},e,{[t.key]:t.val})),{})};function l(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:l=5}=e,s=(0,r.A)(e,i),u=a(t),c=Object.keys(u);function d(e){const r="number"===typeof t[e]?t[e]:e;return"@media (min-width:".concat(r).concat(n,")")}function f(e){const r="number"===typeof t[e]?t[e]:e;return"@media (max-width:".concat(r-l/100).concat(n,")")}function p(e,r){const o=c.indexOf(r);return"@media (min-width:".concat("number"===typeof t[e]?t[e]:e).concat(n,") and ")+"(max-width:".concat((-1!==o&&"number"===typeof t[c[o]]?t[c[o]]:r)-l/100).concat(n,")")}return(0,o.A)({keys:c,values:u,up:d,down:f,between:p,only:function(e){return c.indexOf(e)+1{"use strict";n.d(t,{A:()=>o});var r=n(8604);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=(0,r.LX)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r{const n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}},8519:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(8168),o=n(8587),i=n(3216),a=n(4853);const l={borderRadius:4};var s=n(3964),u=n(8812),c=n(7758);function d(e,t){const n=this;if(n.vars&&"function"===typeof n.getColorSchemeSelector){return{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return n.palette.mode===e?t:{}}const f=["breakpoints","palette","spacing","shape"];const p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:n={},spacing:p,shape:h={}}=e,m=(0,o.A)(e,f),v=(0,a.A)(t),g=(0,s.A)(p);let y=(0,i.A)({breakpoints:v,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},n),spacing:g,shape:(0,r.A)({},l,h)},m);y.applyStyles=d;for(var b=arguments.length,x=new Array(b>1?b-1:0),w=1;w(0,i.A)(e,t)),y),y.unstable_sxConfig=(0,r.A)({},c.A,null==m?void 0:m.unstable_sxConfig),y.unstable_sx=function(e){return(0,u.A)({sx:e,theme:this})},y}},3815:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3216);const o=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},8604:(e,t,n)=>{"use strict";n.d(t,{LX:()=>h,MA:()=>p,_W:()=>m,Lc:()=>y,Ms:()=>b});var r=n(9751),o=n(7162),i=n(3815);const a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}const[t,n]=e.split(""),r=a[t],o=l[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),c=["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"],f=[...c,...d];function p(e,t,n,r){var i;const a=null!=(i=(0,o.Yn)(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 p(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:"-".concat(n)}function v(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)),{})}(u(n),o),a=e[n];return(0,r.NI)(e,a,i)}function g(e,t){const n=h(e.theme);return Object.keys(e).map((r=>v(e,t,r,n))).reduce(i.A,{})}function y(e){return g(e,c)}function b(e){return g(e,d)}function x(e){return g(e,f)}y.propTypes={},y.filterProps=c,b.propTypes={},b.filterProps=d,x.propTypes={},x.filterProps=f},7162:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,BO:()=>a,Yn:()=>i});var r=n(410),o=n(9751);function i(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){const n="vars.".concat(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){let r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:i(e,n)||o,t&&(r=t(r,o,e)),r}const l=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:l,transform:s}=e,u=e=>{if(null==e[t])return null;const u=e[t],c=i(e.theme,l)||{};return(0,o.NI)(e,u,(e=>{let o=a(c,s,e);return e===o&&"string"===typeof e&&(o=a(c,s,"".concat(t).concat("default"===e?"":(0,r.A)(e)),e)),!1===n?o:{[n]:o}}))};return u.propTypes={},u.filterProps=[t],u}},7758:(e,t,n)=>{"use strict";n.d(t,{A:()=>L});var r=n(8604),o=n(7162),i=n(3815);const a=function(){for(var e=arguments.length,t=new Array(e),n=0;n(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),o=e=>Object.keys(e).reduce(((t,n)=>r[n]?(0,i.A)(t,r[n](e)):t),{});return o.propTypes={},o.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),o};var l=n(9751);function s(e){return"number"!==typeof e?e:"".concat(e,"px solid")}function u(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const c=u("border",s),d=u("borderTop",s),f=u("borderRight",s),p=u("borderBottom",s),h=u("borderLeft",s),m=u("borderColor"),v=u("borderTopColor"),g=u("borderRightColor"),y=u("borderBottomColor"),b=u("borderLeftColor"),x=u("outline",s),w=u("outlineColor"),S=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r._W)(t,e)});return(0,l.NI)(e,e.borderRadius,n)}return null};S.propTypes={},S.filterProps=["borderRadius"];a(c,d,f,p,h,m,v,g,y,b,S,x,w);const k=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.MA)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r._W)(t,e)});return(0,l.NI)(e,e.gap,n)}return null};k.propTypes={},k.filterProps=["gap"];const A=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.MA)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r._W)(t,e)});return(0,l.NI)(e,e.columnGap,n)}return null};A.propTypes={},A.filterProps=["columnGap"];const E=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.MA)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r._W)(t,e)});return(0,l.NI)(e,e.rowGap,n)}return null};E.propTypes={},E.filterProps=["rowGap"];a(k,A,E,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"}));function C(e,t){return"grey"===t?t:e}a((0,o.Ay)({prop:"color",themeKey:"palette",transform:C}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:C}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:C}));function P(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}const _=(0,o.Ay)({prop:"width",transform:P}),O=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])||l.zu[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:"".concat(o).concat(e.theme.breakpoints.unit)}:{maxWidth:o}:{maxWidth:P(t)}};return(0,l.NI)(e,e.maxWidth,t)}return null};O.filterProps=["maxWidth"];const j=(0,o.Ay)({prop:"minWidth",transform:P}),T=(0,o.Ay)({prop:"height",transform:P}),M=(0,o.Ay)({prop:"maxHeight",transform:P}),R=(0,o.Ay)({prop:"minHeight",transform:P}),L=((0,o.Ay)({prop:"size",cssProperty:"width",transform:P}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:P}),a(_,O,j,T,M,R,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:s},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S},color:{themeKey:"palette",transform:C},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:C},backgroundColor:{themeKey:"palette",transform:C},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.Lc},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:k},rowGap:{style:E},columnGap:{style:A},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:P},maxWidth:{style:O},minWidth:{transform:P},height:{transform:P},maxHeight:{transform:P},minHeight:{transform:P},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},8812:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(410),o=n(3815),i=n(7162),a=n(9751),l=n(7758);const s=function(){function e(e,t,n,o){const l={[e]:t,theme:n},s=o[e];if(!s)return{[e]:t};const{cssProperty:u=e,themeKey:c,transform:d,style:f}=s;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};const p=(0,i.Yn)(n,c)||{};if(f)return f(l);return(0,a.NI)(l,t,(t=>{let n=(0,i.BO)(p,d,t);return t===n&&"string"===typeof t&&(n=(0,i.BO)(p,d,"".concat(e).concat("default"===t?"":(0,r.A)(t)),t)),!1===u?n:{[u]:n}}))}return function t(n){var r;const{sx:i,theme:s={}}=n||{};if(!i)return null;const u=null!=(r=s.unstable_sxConfig)?r:l.A;function c(n){let r=n;if("function"===typeof n)r=n(s);else if("object"!==typeof n)return n;if(!r)return null;const i=(0,a.EU)(s.breakpoints),l=Object.keys(i);let c=i;return Object.keys(r).forEach((n=>{const i=(l=r[n],d=s,"function"===typeof l?l(d):l);var l,d;if(null!==i&&void 0!==i)if("object"===typeof i)if(u[n])c=(0,o.A)(c,e(n,i,s,u));else{const e=(0,a.NI)({theme:s},i,(e=>({[n]:e})));!function(){for(var e=arguments.length,t=new Array(e),n=0;ne.concat(Object.keys(t))),[]),o=new Set(r);return t.every((e=>o.size===Object.keys(e).length))}(e,i)?c=(0,o.A)(c,e):c[n]=t({sx:i,theme:s})}else c=(0,o.A)(c,e(n,i,s,u))})),(0,a.vf)(l,c)}return Array.isArray(i)?i.map(c):c(i)}}();s.filterProps=["sx"];const u=s},5527:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(8519),o=n(7082);const i=(0,r.A)();const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.A)(e)}},7082:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5043),o=n(5025);const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=r.useContext(o.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},5430:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=e=>e,o=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},410:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6632);function o(e){if("string"!==typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},8606:(e,t,n)=>{"use strict";function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]: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,{A:()=>r})},4708:(e,t,n)=>{"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;nnull==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o{}))}n.d(t,{A:()=>r})},3216:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,Q:()=>o});var r=n(8168);function o(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function 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){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0};const l=n.clone?(0,r.A)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?l[r]=a(e[r],t[r],n):n.clone?l[r]=o(t[r])?i(t[r]):t[r]:l[r]=t[r])})),l}},6632:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nr})},2400:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i,li:()=>o});var r=n(5430);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){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const i=o[t];return i?"".concat(n,"-").concat(i):"".concat(r.A.generate(e),"-").concat(t)}},7056:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2400);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const o={};return t.forEach((t=>{o[t]=(0,r.Ay)(e,t,n)})),o}},2144:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},6288:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2144);function o(e){return(0,r.A)(e).defaultView||window}},2018:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8168);function o(e,t){const n=(0,r.A)({},t);return Object.keys(e).forEach((i=>{if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.A)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},l=t[i];n[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(n[i]=(0,r.A)({},l),Object.keys(a).forEach((e=>{n[i][e]=o(a[e],l[e])}))):n[i]=l:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},9184:(e,t,n)=>{"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},3844:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(5043);const o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect},4626:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5043),o=n(3844);const i=function(e){const t=r.useRef(e);return(0,o.A)((()=>{t.current=e})),r.useRef((function(){return(0,t.current)(...arguments)})).current}},7042:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5043),o=n(9184);function i(){for(var e=arguments.length,t=new Array(e),n=0;nt.every((e=>null==e))?null:e=>{t.forEach((t=>{(0,o.A)(t,e)}))}),t)}},1140:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,A:()=>l});var r=n(5043);const o={};const i=[];class a{constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=0,t()}),e)}}function l(){const e=function(e,t){const n=r.useRef(o);return n.current===o&&(n.current=e(t)),n}(a.create).current;var t;return t=e.disposeEffect,r.useEffect(t,i),e}},1760:e=>{"use strict";e.exports=function(e){if(e)throw e}},3532:(e,t,n)=>{var r=n(5884),o={};for(var i in r)r.hasOwnProperty(i)&&(o[r[i]]=i);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var l in a)if(a.hasOwnProperty(l)){if(!("channels"in a[l]))throw new Error("missing channels property: "+l);if(!("labels"in a[l]))throw new Error("missing channel labels property: "+l);if(a[l].labels.length!==a[l].channels)throw new Error("channel and label counts mismatch: "+l);var s=a[l].channels,u=a[l].labels;delete a[l].channels,delete a[l].labels,Object.defineProperty(a[l],"channels",{value:s}),Object.defineProperty(a[l],"labels",{value:u})}a.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,a=Math.min(r,o,i),l=Math.max(r,o,i),s=l-a;return l===a?t=0:r===l?t=(o-i)/s:o===l?t=2+(i-r)/s:i===l&&(t=4+(r-o)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+l)/2,[t,100*(l===a?0:n<=.5?s/(l+a):s/(2-l-a)),100*n]},a.rgb.hsv=function(e){var t,n,r,o,i,a=e[0]/255,l=e[1]/255,s=e[2]/255,u=Math.max(a,l,s),c=u-Math.min(a,l,s),d=function(e){return(u-e)/6/c+.5};return 0===c?o=i=0:(i=c/u,t=d(a),n=d(l),r=d(s),a===u?o=r-n:l===u?o=1/3+t-r:s===u&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*u]},a.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[a.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=o[e];if(t)return t;var n,i,a,l=1/0;for(var s in r)if(r.hasOwnProperty(s)){var u=r[s],c=(i=e,a=u,Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2)+Math.pow(i[2]-a[2],2));c.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],r=t[1],o=t[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},a.hsl.rgb=function(e){var t,n,r,o,i,a=e[0]/360,l=e[1]/100,s=e[2]/100;if(0===l)return[i=255*s,i,i];t=2*s-(n=s<.5?s*(1+l):s+l-s*l),o=[0,0,0];for(var u=0;u<3;u++)(r=a+1/3*-(u-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[u]=255*i;return o},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),a=255*r*(1-n),l=255*r*(1-n*i),s=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,s,a];case 1:return[l,r,a];case 2:return[a,r,s];case 3:return[a,l,r];case 4:return[s,a,r];case 5:return[r,a,l]}},a.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,a=e[2]/100,l=Math.max(a,.01);return r=(2-i)*a,n=i*l,[o,100*(n=(n/=(t=(2-i)*l)<=1?t:2-t)||0),100*(r/=2)]},a.hwb.rgb=function(e){var t,n,r,o,i,a,l,s=e[0]/360,u=e[1]/100,c=e[2]/100,d=u+c;switch(d>1&&(u/=d,c/=d),r=6*s-(t=Math.floor(6*s)),0!==(1&t)&&(r=1-r),o=u+r*((n=1-c)-u),t){default:case 6:case 0:i=n,a=o,l=u;break;case 1:i=o,a=n,l=u;break;case 2:i=u,a=n,l=o;break;case 3:i=u,a=o,l=n;break;case 4:i=o,a=u,l=n;break;case 5:i=n,a=u,l=o}return[255*i,255*a,255*l]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},a.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,a=e[2]/100;return n=-.9689*o+1.8758*i+.0415*a,r=.0557*o+-.204*i+1.057*a,t=(t=3.2406*o+-1.5372*i+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),a=Math.pow(t,3),l=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=l>.008856?l:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},a.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},a.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],o=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var i=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(i+=60),i},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,i=Math.max(Math.max(n,r),o),a=Math.min(Math.min(n,r),o),l=i-a;return t=l<=0?0:i===n?(r-o)/l%6:i===r?2+(o-n)/l:4+(n-r)/l+4,t/=6,[360*(t%=1),100*l,100*(l<1?a/(1-l):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],a=t%1*6,l=a%1,s=1-l;switch(Math.floor(a)){case 0:i[0]=1,i[1]=l,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=l;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=l,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},53:(e,t,n)=>{var r=n(3532),o=n(444),i={};Object.keys(r).forEach((function(e){i[e]={},Object.defineProperty(i[e],"channels",{value:r[e].channels}),Object.defineProperty(i[e],"labels",{value:r[e].labels});var t=o(e);Object.keys(t).forEach((function(n){var r=t[n];i[e][n]=function(e){var t=function(t){if(void 0===t||null===t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"===typeof n)for(var r=n.length,o=0;o1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))})),e.exports=i},5884:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},444:(e,t,n)=>{var r=n(3532);function o(e){var t=function(){for(var e={},t=Object.keys(r),n=t.length,o=0;o{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},1139:(e,t,n)=>{var r=n(8301),o=n(9849),i=Object.hasOwnProperty,a=Object.create(null);for(var l in r)i.call(r,l)&&(a[r[l]]=l);var s=e.exports={to:{},get:{}};function u(e,t,n){return Math.min(Math.max(t,e),n)}function c(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),n="hsl";break;case"hwb":t=s.get.hwb(e),n="hwb";break;default:t=s.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,n,o,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=t[2],t=t[1],n=0;n<3;n++){var l=2*n;a[n]=parseInt(t.slice(l,l+2),16)}o&&(a[3]=parseInt(o,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(o=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);o&&(a[3]=parseInt(o+o,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:i.call(r,t[1])?((a=r[t[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=u(a[n],0,255);return a[3]=u(a[3],0,1),a},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},s.to.hex=function(){var e=o(arguments);return"#"+c(e[0])+c(e[1])+c(e[2])+(e[3]<1?c(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=o(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=o(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},s.to.hsl=function(){var e=o(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},s.to.hwb=function(){var e=o(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return a[e.slice(0,3)]}},2995:(e,t,n)=>{"use strict";var r=n(1139),o=n(53),i=[].slice,a=["keyword","gray","hex"],l={};Object.keys(o).forEach((function(e){l[i.call(o[e].labels).sort().join("")]=e}));var s={};function u(e,t){if(!(this instanceof u))return new u(e,t);if(t&&t in a&&(t=null),t&&!(t in o))throw new Error("Unknown model: "+t);var n,c;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof u)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"===typeof e){var d=r.get(e);if(null===d)throw new Error("Unable to parse color from string: "+e);this.model=d.model,c=o[this.model].channels,this.color=d.value.slice(0,c),this.valpha="number"===typeof d.value[c]?d.value[c]:1}else if(e.length){this.model=t||"rgb",c=o[this.model].channels;var p=i.call(e,0,c);this.color=f(p,c),this.valpha="number"===typeof e[c]?e[c]:1}else if("number"===typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var h=Object.keys(e);"alpha"in e&&(h.splice(h.indexOf("alpha"),1),this.valpha="number"===typeof e.alpha?e.alpha:0);var m=h.sort().join("");if(!(m in l))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=l[m];var v=o[this.model].labels,g=[];for(n=0;nn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return u.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n=(n+e)%360)<0?360+n:n,t.color[0]=n,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);var n=e.rgb(),r=this.rgb(),o=void 0===t?.5:t,i=2*o-1,a=n.alpha()-r.alpha(),l=((i*a===-1?i:(i+a)/(1+i*a))+1)/2,s=1-l;return u.rgb(l*n.red()+s*r.red(),l*n.green()+s*r.green(),l*n.blue()+s*r.blue(),n.alpha()*o+r.alpha()*(1-o))}},Object.keys(o).forEach((function(e){if(-1===a.indexOf(e)){var t=o[e].channels;u.prototype[e]=function(){if(this.model===e)return new u(this);if(arguments.length)return new u(arguments,e);var n,r="number"===typeof arguments[t]?t:this.valpha;return new u((n=o[this.model][e].raw(this.color),Array.isArray(n)?n:[n]).concat(r),e)},u[e]=function(n){return"number"===typeof n&&(n=f(i.call(arguments),t)),new u(n,e)}}})),e.exports=u},2168:(e,t)=>{"use strict";var n=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,r=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,o=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,i=/\\([\u000b\u0020-\u00ff])/g,a=/([\\"])/g,l=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function s(e){var t=String(e);if(o.test(t))return t;if(t.length>0&&!r.test(t))throw new TypeError("invalid parameter value");return'"'+t.replace(a,"\\$1")+'"'}function u(e){this.parameters=Object.create(null),this.type=e}t.q=function(e){if(!e)throw new TypeError("argument string is required");var t="object"===typeof e?function(e){var t;"function"===typeof e.getHeader?t=e.getHeader("content-type"):"object"===typeof e.headers&&(t=e.headers&&e.headers["content-type"]);if("string"!==typeof t)throw new TypeError("content-type header is missing from object");return t}(e):e;if("string"!==typeof t)throw new TypeError("argument string is required to be a string");var r=t.indexOf(";"),o=-1!==r?t.slice(0,r).trim():t.trim();if(!l.test(o))throw new TypeError("invalid media type");var a=new u(o.toLowerCase());if(-1!==r){var s,c,d;for(n.lastIndex=r;c=n.exec(t);){if(c.index!==r)throw new TypeError("invalid parameter format");r+=c[0].length,s=c[1].toLowerCase(),34===(d=c[2]).charCodeAt(0)&&-1!==(d=d.slice(1,-1)).indexOf("\\")&&(d=d.replace(i,"$1")),a.parameters[s]=d}if(r!==t.length)throw new TypeError("invalid parameter format")}return a}},8276:(e,t,n)=>{"use strict";var r=n(992),o=n(872),i=n(1311),a=n(9733),l=n(3423);(e.exports=function(e,t){var n,o,s,u,c;return arguments.length<2||"string"!==typeof e?(u=t,t=e,e=null):u=arguments[2],r(e)?(n=l.call(e,"c"),o=l.call(e,"e"),s=l.call(e,"w")):(n=s=!0,o=!1),c={value:t,configurable:n,enumerable:o,writable:s},u?i(a(u),c):c}).gs=function(e,t,n){var s,u,c,d;return"string"!==typeof e?(c=n,n=t,t=e,e=null):c=arguments[3],r(t)?o(t)?r(n)?o(n)||(c=n,n=void 0):n=void 0:(c=t,t=n=void 0):t=void 0,r(e)?(s=l.call(e,"c"),u=l.call(e,"e")):(s=!0,u=!1),d={get:t,set:n,configurable:s,enumerable:u},c?i(a(c),d):d}},1697:(e,t,n)=>{"use strict";var r=n(4593);e.exports=function(e){if("function"!==typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!==typeof e.length)return!1;if("function"!==typeof e.call)return!1;if("function"!==typeof e.apply)return!1}catch(t){return!1}return!r(e)}},5776:(e,t,n)=>{"use strict";var r=n(992),o={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(o,typeof e)}},872:(e,t,n)=>{"use strict";var r=n(1697),o=/^\s*class[\s{/}]/,i=Function.prototype.toString;e.exports=function(e){return!!r(e)&&!o.test(i.call(e))}},4593:(e,t,n)=>{"use strict";var r=n(5776);e.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}}},992:e=>{"use strict";e.exports=function(e){return undefined!==e&&null!==e}},4189:(e,t,n)=>{"use strict";var r=n(2008),o=n(9818),i=n(9047),a=Array.prototype.indexOf,l=Object.prototype.hasOwnProperty,s=Math.abs,u=Math.floor;e.exports=function(e){var t,n,c,d;if(!r(e))return a.apply(this,arguments);for(n=o(i(this).length),c=arguments[1],t=c=isNaN(c)?0:c>=0?u(c):o(this.length)-u(s(c));t{"use strict";e.exports=n(2659)()?Array.from:n(7011)},2659:e=>{"use strict";e.exports=function(){var e,t,n=Array.from;return"function"===typeof n&&(t=n(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}},7011:(e,t,n)=>{"use strict";var r=n(9565).iterator,o=n(6697),i=n(7901),a=n(9818),l=n(2028),s=n(9047),u=n(6297),c=n(5417),d=Array.isArray,f=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},h=Object.defineProperty;e.exports=function(e){var t,n,m,v,g,y,b,x,w,S,k=arguments[1],A=arguments[2];if(e=Object(s(e)),u(k)&&l(k),this&&this!==Array&&i(this))t=this;else{if(!k){if(o(e))return 1!==(g=e.length)?Array.apply(null,e):((v=new Array(1))[0]=e[0],v);if(d(e)){for(v=new Array(g=e.length),n=0;n=55296&&y<=56319&&(S+=e[++n]),S=k?f.call(k,A,S,m):S,t?(p.value=S,h(v,m,p)):v[m]=S,++m;g=m}if(void 0===g)for(g=a(e.length),t&&(v=new t(g)),n=0;n{"use strict";var r=n(4428),o=Array.isArray;e.exports=function(e){return o(e)?e:r(e)}},9429:(e,t,n)=>{"use strict";var r=n(1311),o=n(1737),i=n(6297),a=Error.captureStackTrace;e.exports=function(t){var n=new Error(t),l=arguments[1],s=arguments[2];return i(s)||o(l)&&(s=l,l=null),i(s)&&r(n,s),i(l)&&(n.code=l),a&&a(n,e.exports),n}},7989:(e,t,n)=>{"use strict";var r,o,i,a,l=n(9818),s=function(e,t){return t};try{Object.defineProperty(s,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(u){}1===s.length?(r={configurable:!0,writable:!1,enumerable:!1},o=Object.defineProperty,e.exports=function(e,t){return t=l(t),e.length===t?e:(r.value=t,o(e,"length",r))}):(a=n(2139),i=function(){var e=[];return function(t){var n,r=0;if(e[t])return e[t];for(n=[];t--;)n.push("a"+(++r).toString(36));return new Function("fn","return function ("+n.join(", ")+") { return fn.apply(this, arguments); };")}}(),e.exports=function(e,t){var n;if(t=l(t),e.length===t)return e;n=i(t)(e);try{a(n,e)}catch(u){}return n})},6697:e=>{"use strict";var t=Object.prototype.toString,n=t.call(function(){return arguments}());e.exports=function(e){return t.call(e)===n}},7901:e=>{"use strict";var t=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);e.exports=function(e){return"function"===typeof e&&n(t.call(e))}},3116:e=>{"use strict";e.exports=function(){}},2884:(e,t,n)=>{"use strict";e.exports=n(6267)()?Math.sign:n(3432)},6267:e=>{"use strict";e.exports=function(){var e=Math.sign;return"function"===typeof e&&(1===e(10)&&-1===e(-20))}},3432:e=>{"use strict";e.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}},2008:(e,t,n)=>{"use strict";e.exports=n(3183)()?Number.isNaN:n(7591)},3183:e=>{"use strict";e.exports=function(){var e=Number.isNaN;return"function"===typeof e&&(!e({})&&e(NaN)&&!e(34))}},7591:e=>{"use strict";e.exports=function(e){return e!==e}},4449:(e,t,n)=>{"use strict";var r=n(2884),o=Math.abs,i=Math.floor;e.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*i(o(e)):e}},9818:(e,t,n)=>{"use strict";var r=n(4449),o=Math.max;e.exports=function(e){return o(0,r(e))}},9628:(e,t,n)=>{"use strict";var r=n(2028),o=n(9047),i=Function.prototype.bind,a=Function.prototype.call,l=Object.keys,s=Object.prototype.propertyIsEnumerable;e.exports=function(e,t){return function(n,u){var c,d=arguments[2],f=arguments[3];return n=Object(o(n)),r(u),c=l(n),f&&c.sort("function"===typeof f?i.call(f,n):void 0),"function"!==typeof e&&(e=c[e]),a.call(e,c,(function(e,r){return s.call(n,e)?a.call(u,d,n[e],e,n,r):t}))}}},1311:(e,t,n)=>{"use strict";e.exports=n(7366)()?Object.assign:n(4734)},7366:e=>{"use strict";e.exports=function(){var e,t=Object.assign;return"function"===typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},4734:(e,t,n)=>{"use strict";var r=n(6706),o=n(9047),i=Math.max;e.exports=function(e,t){var n,a,l,s=i(arguments.length,2);for(e=Object(o(e)),l=function(r){try{e[r]=t[r]}catch(o){n||(n=o)}},a=1;a{"use strict";e.exports=n(9628)("forEach")},5422:e=>{"use strict";e.exports=function(e){return"function"===typeof e}},1737:(e,t,n)=>{"use strict";var r=n(6297),o={function:!0,object:!0};e.exports=function(e){return r(e)&&o[typeof e]||!1}},6297:(e,t,n)=>{"use strict";var r=n(3116)();e.exports=function(e){return e!==r&&null!==e}},6706:(e,t,n)=>{"use strict";e.exports=n(4777)()?Object.keys:n(8213)},4777:e=>{"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},8213:(e,t,n)=>{"use strict";var r=n(6297),o=Object.keys;e.exports=function(e){return o(r(e)?Object(e):e)}},731:(e,t,n)=>{"use strict";var r=n(2028),o=n(6462),i=Function.prototype.call;e.exports=function(e,t){var n={},a=arguments[2];return r(t),o(e,(function(e,r,o,l){n[r]=i.call(t,a,e,r,o,l)})),n}},2139:(e,t,n)=>{"use strict";var r=n(9047),o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols;e.exports=function(e,t){var n,s=Object(r(t));if(e=Object(r(e)),a(s).forEach((function(r){try{o(e,r,i(t,r))}catch(a){n=a}})),"function"===typeof l&&l(s).forEach((function(r){try{o(e,r,i(t,r))}catch(a){n=a}})),void 0!==n)throw n;return e}},9733:(e,t,n)=>{"use strict";var r=n(6297),o=Array.prototype.forEach,i=Object.create;e.exports=function(e){var t=i(null);return o.call(arguments,(function(e){r(e)&&function(e,t){var n;for(n in e)t[n]=e[n]}(Object(e),t)})),t}},3169:e=>{"use strict";var t=Array.prototype.forEach,n=Object.create;e.exports=function(e){var r=n(null);return t.call(arguments,(function(e){r[e]=!0})),r}},2028:e=>{"use strict";e.exports=function(e){if("function"!==typeof e)throw new TypeError(e+" is not a function");return e}},9047:(e,t,n)=>{"use strict";var r=n(6297);e.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}},4515:(e,t,n)=>{"use strict";var r=n(9047),o=n(9767);e.exports=function(e){return o(r(e))}},9767:(e,t,n)=>{"use strict";var r=n(5422);e.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(t){throw new TypeError("Passed argument cannot be stringifed")}}},4104:(e,t,n)=>{"use strict";var r=n(5422);e.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(t){return""}}},3423:(e,t,n)=>{"use strict";e.exports=n(5398)()?String.prototype.contains:n(8382)},5398:e=>{"use strict";var t="razdwatrzy";e.exports=function(){return"function"===typeof t.contains&&(!0===t.contains("dwa")&&!1===t.contains("foo"))}},8382:e=>{"use strict";var t=String.prototype.indexOf;e.exports=function(e){return t.call(this,e,arguments[1])>-1}},5417:e=>{"use strict";var t=Object.prototype.toString,n=t.call("");e.exports=function(e){return"string"===typeof e||e&&"object"===typeof e&&(e instanceof String||t.call(e)===n)||!1}},7743:(e,t,n)=>{"use strict";var r=n(4104),o=/[\n\r\u2028\u2029]/g;e.exports=function(e){var t=r(e);return t.length>100&&(t=t.slice(0,99)+"\u2026"),t=t.replace(o,(function(e){return JSON.stringify(e).slice(1,-1)}))}},9565:(e,t,n)=>{"use strict";e.exports=n(5860)()?n(6230).Symbol:n(5482)},5860:(e,t,n)=>{"use strict";var r=n(6230),o={object:!0,symbol:!0};e.exports=function(){var e,t=r.Symbol;if("function"!==typeof t)return!1;e=t("test symbol");try{String(e)}catch(n){return!1}return!!o[typeof t.iterator]&&(!!o[typeof t.toPrimitive]&&!!o[typeof t.toStringTag])}},6322:e=>{"use strict";e.exports=function(e){return!!e&&("symbol"===typeof e||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}},172:(e,t,n)=>{"use strict";var r=n(8276),o=Object.create,i=Object.defineProperty,a=Object.prototype,l=o(null);e.exports=function(e){for(var t,n,o=0;l[e+(o||"")];)++o;return l[e+=o||""]=!0,i(a,t="@@"+e,r.gs(null,(function(e){n||(n=!0,i(this,t,r(e)),n=!1)}))),t}},9546:(e,t,n)=>{"use strict";var r=n(8276),o=n(6230).Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",o&&o.hasInstance||e("hasInstance")),isConcatSpreadable:r("",o&&o.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",o&&o.iterator||e("iterator")),match:r("",o&&o.match||e("match")),replace:r("",o&&o.replace||e("replace")),search:r("",o&&o.search||e("search")),species:r("",o&&o.species||e("species")),split:r("",o&&o.split||e("split")),toPrimitive:r("",o&&o.toPrimitive||e("toPrimitive")),toStringTag:r("",o&&o.toStringTag||e("toStringTag")),unscopables:r("",o&&o.unscopables||e("unscopables"))})}},4111:(e,t,n)=>{"use strict";var r=n(8276),o=n(2132),i=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:r((function(t){return i[t]?i[t]:i[t]=e(String(t))})),keyFor:r((function(e){var t;for(t in o(e),i)if(i[t]===e)return t}))})}},5482:(e,t,n)=>{"use strict";var r,o,i,a=n(8276),l=n(2132),s=n(6230).Symbol,u=n(172),c=n(9546),d=n(4111),f=Object.create,p=Object.defineProperties,h=Object.defineProperty;if("function"===typeof s)try{String(s()),i=!0}catch(m){}else s=null;o=function(e){if(this instanceof o)throw new TypeError("Symbol is not a constructor");return r(e)},e.exports=r=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return i?s(t):(n=f(o.prototype),t=void 0===t?"":String(t),p(n,{__description__:a("",t),__name__:a("",u(t))}))},c(r),d(r),p(o.prototype,{constructor:a(r),toString:a("",(function(){return this.__name__}))}),p(r.prototype,{toString:a((function(){return"Symbol ("+l(this).__description__+")"})),valueOf:a((function(){return l(this)}))}),h(r.prototype,r.toPrimitive,a("",(function(){var e=l(this);return"symbol"===typeof e?e:e.toString()}))),h(r.prototype,r.toStringTag,a("c","Symbol")),h(o.prototype,r.toStringTag,a("c",r.prototype[r.toStringTag])),h(o.prototype,r.toPrimitive,a("c",r.prototype[r.toPrimitive]))},2132:(e,t,n)=>{"use strict";var r=n(6322);e.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}},6555:(e,t,n)=>{"use strict";var r,o,i,a,l,s,u,c=n(8276),d=n(2028),f=Function.prototype.apply,p=Function.prototype.call,h=Object.create,m=Object.defineProperty,v=Object.defineProperties,g=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};o=function(e,t){var n,o;return d(t),o=this,r.call(this,e,n=function(){i.call(o,e,n),f.call(t,this,arguments)}),n.__eeOnceListener__=t,this},l={on:r=function(e,t){var n;return d(t),g.call(this,"__ee__")?n=this.__ee__:(n=y.value=h(null),m(this,"__ee__",y),y.value=null),n[e]?"object"===typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},once:o,off:i=function(e,t){var n,r,o,i;if(d(t),!g.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"===typeof(r=n[e]))for(i=0;o=r[i];++i)o!==t&&o.__eeOnceListener__!==t||(2===r.length?n[e]=r[i?0:1]:r.splice(i,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},emit:a=function(e){var t,n,r,o,i;if(g.call(this,"__ee__")&&(o=this.__ee__[e]))if("object"===typeof o){for(n=arguments.length,i=new Array(n-1),t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRerenderOnStateChange=t.useEvt=void 0;var r=n(1076);Object.defineProperty(t,"useEvt",{enumerable:!0,get:function(){return r.useEvt}});var o=n(7812);Object.defineProperty(t,"useRerenderOnStateChange",{enumerable:!0,get:function(){return o.useRerenderOnStateChange}})},1076: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useEvt=void 0;var a=n(8493),l=i(n(5043)).useEffect;t.useEvt=function(e,t){l((function(){var t=a.Evt.newCtx();return e(t),function(){t.done()}}),t)}},7812: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useRerenderOnStateChange=void 0;var l=n(1076),s=i(n(5043)).useState;t.useRerenderOnStateChange=function(e){var t=a(s((function(){return e.state})),2)[1];(0,l.useEvt)((function(n){return e.attach(n,(function(e){return t((function(){return e}))}))}),[e])}},5696:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Ctx=void 0;var i=n(1438),a=n(9632),l=n(2719),s=n(4521),u=n(5586),c=n(3502),d=n(7695),f=function(){function e(){this.lazyEvtAttach=new u.LazyEvt,this.lazyEvtDetach=new u.LazyEvt,this.lazyEvtDoneOrAborted=new u.LazyEvt,this.handlers=new i.Polyfill,this.evtByHandler=new a.Polyfill}return Object.defineProperty(e.prototype,"evtDoneOrAborted",{get:function(){return this.lazyEvtDoneOrAborted.evt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"evtAttach",{get:function(){return this.lazyEvtAttach.evt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"evtDetach",{get:function(){return this.lazyEvtDetach.evt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"completionStatus",{get:function(){return this.__completionStatus},enumerable:!1,configurable:!0}),e.prototype.onDoneOrAborted=function(e){this.__completionStatus=e,this.lazyEvtDoneOrAborted.post(e)},e.prototype.waitFor=function(e){var t=this;return this.evtDoneOrAborted.waitFor(e).then((function(e){if("ABORTED"===e.type)throw e.error;return e.result}),(function(e){throw t.abort(e),e}))},e.prototype.abort=function(e){return this.__done(e)},e.prototype.done=function(e){return this.__done(void 0,e)},e.prototype.__done=function(e,t){var n,i,a=[];try{for(var l=o(this.handlers.values()),s=l.next();!s.done;s=l.next()){var u=s.value,c=this.evtByHandler.get(u);u.detach()&&a.push({handler:u,evt:c})}}catch(d){n={error:d}}finally{try{s&&!s.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return this.onDoneOrAborted(r(r({},e?{type:"ABORTED",error:e}:{type:"DONE",result:t}),{handlers:a})),a},e.prototype.getHandlers=function(){var e=this;return Array.from(this.handlers.values()).map((function(t){return{handler:t,evt:e.evtByHandler.get(t)}}))},e.prototype.zz__addHandler=function(e,t){(0,l.assert)(e.ctx===this),(0,l.assert)((0,s.is)(e)),void 0===this.completionStatus?(this.handlers.add(e),this.evtByHandler.set(e,t),this.lazyEvtAttach.post({handler:e,evt:t})):e.detach()},e.prototype.zz__removeHandler=function(e){(0,l.assert)(e.ctx===this),(0,l.assert)((0,s.is)(e)),this.lazyEvtDetach.post({handler:e,evt:this.evtByHandler.get(e)}),this.handlers.delete(e)},e}();t.Ctx=f;try{(0,d.overwriteReadonlyProp)(t.Ctx,"name","Ctx")}catch(p){}c.importProxy.Ctx=t.Ctx},9115:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asNonPostable=void 0,t.asNonPostable=function(e){return e}},8942:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asPostable=void 0,t.asPostable=function(e){return e}},5062:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function l(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(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:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=void 0;var r=n(3502);t.create=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.factorize=void 0,t.factorize=function(e){return e}},4736: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.from=void 0;var l=n(6428),s=n(2719),u=n(9288),c=n(9374),d=n(3502),f=i(n(909)).EventTargetLike;function p(e,t,n,r){var o,i;if(o=t,!f.canBe(o)){if("then"in t){var a=new d.importProxy.Evt,u=function(){var t=function(){return null===e||void 0===e?void 0:e.evtDoneOrAborted.postCount},n=t();return function(){return n!==t()}}();return t.then((function(e){u()||a.post(e)})),a}return(0,c.mergeImpl)(e,Array.from(t).map((function(t){return p(e,t,n,r)})))}if(f.HasEventTargetAddRemove.match(t))i={on:function(e,n,r){return t.addEventListener(n,e,r)},off:function(e,n,r){return t.removeEventListener(n,e,r)}};else if(f.NodeStyleEventEmitter.match(t))i={on:function(e,n){return t.addListener(n,e)},off:function(e,n){return t.removeListener(n,e)}};else if(f.JQueryStyleEventEmitter.match(t))i={on:function(e,n){return t.on(n,e)},off:function(e,n){return t.off(n,e)}};else if(f.RxJSSubject.match(t)){var h;i={on:function(e){return h=t.subscribe((function(t){return e(t)}))},off:function(){return h.unsubscribe()}}}else(0,l.id)(t),(0,s.assert)(!1);var m=new d.importProxy.Evt,v=function(e){return m.post(e)};return null===e||void 0===e||e.evtDoneOrAborted.attachOnce((function(){return i.off(v,n,r)})),i.on(v,n,r),m}function h(e,t,n){var r=d.importProxy.Evt.create(),o=new t((function(e){var t=a(e,1)[0];return r.post(t)}));return o.observe(n),null===e||void 0===e||e.evtDoneOrAborted.attachOnce((function(){return o.disconnect()})),r}t.from=function(e,t,n,r){return"evtDoneOrAborted"in e?((0,s.assert)((0,u.typeGuard)(t,!0)&&(0,u.typeGuard)(n,!0)&&(0,u.typeGuard)(r,!0)),"function"===typeof t?((0,s.assert)((0,u.typeGuard)(n,!0)&&(0,u.typeGuard)(r,!0)),h(e,t,n)):((0,s.assert)((0,u.typeGuard)(n,!0)),p(e,t,n,r))):((0,s.assert)((0,u.typeGuard)(e,!0)&&(0,u.typeGuard)(t,!0)&&(0,u.typeGuard)(n,!0)),"function"===typeof e?((0,s.assert)((0,u.typeGuard)(t,!0)&&(0,u.typeGuard)(n,!0)),h(void 0,e,t)):((0,s.assert)((0,u.typeGuard)(t,!0)),p(void 0,e,t,n)))}},9493:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCtxFactory=void 0;var r=n(9632),o=n(3502);t.getCtxFactory=function(){var e=new r.Polyfill;return function(t){var n=e.get(t);return void 0===n&&(n=new o.importProxy.Ctx,e.set(t,n)),n}}},8624:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},c=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Evt=t.onAddHandlerByEvt=void 0,n(3538);var f=n(428),p=n(9632),h=n(3502),m=n(3516),v=n(9493),g=n(4157),y=n(9374),b=n(4736),x=n(8942),w=n(5062),S=n(9115),k=n(8614),A=n(4007),E=n(5586),C=a(n(289)),P=n(7695),_=n(9288),O=n(2922),j=n(7468),T=n(4631),M=n(1091),R=n(2786),L=a(n(4158)),I=n(7629),D=function(e){return e()},F=L.CtxLike,z=function(){function e(){this.lazyEvtAttach=new E.LazyEvt,this.lazyEvtDetach=new E.LazyEvt,this.__maxHandlers=void 0,this.postCount=0,this.traceId=null,this.handlers=[],this.handlerTriggers=new f.Polyfill,this.__currentChronologyMark=0,this.asyncHandlerCount=0}return e.setDefaultMaxHandlers=function(e){this.__defaultMaxHandlers=isFinite(e)?e:0},e.prototype.toStateful=function(e,t){var n=F.match(e),r=n?void 0:e,o=t||(n?e:void 0),i=new h.importProxy.StatefulEvt(r),a=function(e){return i.post(e)};return o?this.attach(o,a):this.attach(a),i},Object.defineProperty(e.prototype,"evtAttach",{get:function(){return this.lazyEvtAttach.evt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"evtDetach",{get:function(){return this.lazyEvtDetach.evt},enumerable:!1,configurable:!0}),e.prototype.setMaxHandlers=function(e){return this.__maxHandlers=isFinite(e)?e:0,this},e.prototype.enableTrace=function(e){var t=e.id,n=e.formatter,r=e.log;this.traceId=t,this.traceFormatter=n||function(e){try{return JSON.stringify(e,null,2)}catch(t){return"".concat(e)}},this.log=void 0===r?function(){for(var e=[],t=0;t1?"s":"",", ")}null===(t=this.log)||void 0===t||t.call(this,r+this.traceFormatter(e))}},e.prototype.postSync=function(e){var t,n,r=[],o=function(e){return[e,Promise.all(r).then((function(){}))]};try{for(var i=d(c([],u(this.handlers),!1)),a=i.next();!a.done;a=i.next()){var l=a.value,s=l.async,f=l.op,p=l.extract;if(!s){var h=this.handlerTriggers.get(l),m=this.getInvocableOp(f)(e,D);if(null!==m&&h){var v=h(m);if(void 0!==v&&r.push(v),p)return o(!0)}}}}catch(g){t={error:g}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o(!1)},e.prototype.postAsyncFactory=function(){var e=this;return C.buildMethodCb((function(t,n,r){var o,i;if(0!==e.asyncHandlerCount){var a,l=[];Promise.resolve().then((function(){return a=e.getChronologyMark()}));var s=function(r){if(!r.async)return"continue";var o=e.getInvocableOp(r.op)(t,D);if(null===o)return"continue";var i=e.handlerTriggers.get(r);return i&&function(){var t=e.asyncHandlerChronologyMark.get(r);if(n>t)return!0;var o=e.asyncHandlerChronologyExceptionRange.get(r);return void 0!==o&&o.lowerMarko.upperMark}()?(l.push(new Promise((function(e){return r.promise.then((function(){return e()})).catch((function(){return e()}))}))),void i(o)):"continue"};try{for(var f=d(c([],u(e.handlers),!1)),p=f.next();!p.done;p=f.next()){s(p.value)}}catch(m){o={error:m}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}if(0!==l.length){var h=c([],u(e.handlers),!1);Promise.all(l).then((function(){var t,o;try{for(var i=d(e.handlers),l=i.next();!l.done;l=i.next()){var s=l.value;s.async&&(h.indexOf(s)>=0||e.asyncHandlerChronologyExceptionRange.set(s,{lowerMark:n,upperMark:a}))}}catch(u){t={error:u}}finally{try{l&&!l.done&&(o=i.return)&&o.call(i)}finally{if(t)throw t.error}}r()}))}else r()}else r()}))},e.prototype.isHandled=function(e){var t=this;return!!this.getHandlers().find((function(n){var r=n.op;return t.isHandledByOp(r,e)}))},e.prototype.getHandlers=function(){return c([],u(this.handlers),!1)},e.prototype.detach=function(e){var t,n,r=[];try{for(var o=d(this.getHandlers()),i=o.next();!i.done;i=o.next()){var a=i.value;if(void 0===e||a.ctx===e)a.detach()&&r.push(a)}}catch(l){t={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r},e.prototype.pipe=function(){for(var t=[],n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loosenType=void 0,t.loosenType=function(e){return e}},9374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=t.mergeImpl=void 0;var r=n(3502);function o(e,t){var n=new r.importProxy.Evt,o=function(e){return n.post(e)};return t.forEach((function(t){void 0===e?t.attach(o):t.attach(e,o)})),n}t.mergeImpl=o,t.merge=function(e,t){return"length"in e?o(void 0,e):o(e,t)}},4007:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.newCtx=void 0;var r=n(3502);t.newCtx=function(){return new r.importProxy.Ctx}},8614:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LazyEvt=void 0;var r=n(7695),o=n(3502),i=function(){function e(){this.initialPostCount=0}return Object.defineProperty(e.prototype,"evt",{get:function(){return void 0===this.__evt&&(this.__evt=new o.importProxy.Evt,(0,r.overwriteReadonlyProp)(this.__evt,"postCount",this.initialPostCount)),this.__evt},enumerable:!1,configurable:!0}),e.prototype.__post=function(e,t){return void 0===this.__evt?++this.initialPostCount:this.__evt[t?"postAndWait":"post"](e)},e.prototype.post=function(e){return this.__post(e,!1)},e.prototype.postAndWait=function(e){return this.__post(e,!0)},e}();t.LazyEvt=i},7658:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LazyStatefulEvt=void 0;var r=n(7695),o=n(3502),i=function(){function e(e){this.initialPostCount=0,this.initialState=e}return Object.defineProperty(e.prototype,"evt",{get:function(){return void 0===this.__evt&&(this.__evt=new o.importProxy.StatefulEvt(this.initialState),this.initialState=null,(0,r.overwriteReadonlyProp)(this.__evt,"postCount",this.initialPostCount)),this.__evt},enumerable:!1,configurable:!0}),e.prototype.__post=function(e,t){return void 0===this.__evt?(this.initialState=e,++this.initialPostCount):this.__evt[t?"postAndWait":"post"](e)},e.prototype.post=function(e){return this.__post(e,!1)},e.prototype.postAndWait=function(e){return this.__post(e,!0)},e}();t.LazyStatefulEvt=i},9880:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=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])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.importProxy=void 0,t.importProxy={}},8493: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.distinct=t.nonNullable=t.throttleTime=t.to=t.StatefulEvt=t.Evt=t.Ctx=void 0,o(n(1051),t),o(n(6502),t);var i=n(5696);Object.defineProperty(t,"Ctx",{enumerable:!0,get:function(){return i.Ctx}});var a=n(8624);Object.defineProperty(t,"Evt",{enumerable:!0,get:function(){return a.Evt}});var l=n(9880);Object.defineProperty(t,"StatefulEvt",{enumerable:!0,get:function(){return l.StatefulEvt}});var s=n(7458);Object.defineProperty(t,"to",{enumerable:!0,get:function(){return s.to}});var u=n(4766);Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return u.throttleTime}});var c=n(5085);Object.defineProperty(t,"nonNullable",{enumerable:!0,get:function(){return c.nonNullable}});var d=n(4719);Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return d.distinct}})},909:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventTargetLike=void 0;var r=n(9288);!function(e){var t,n,o,i;!function(e){e.match=function(e){return(0,r.typeGuard)(e,!0)&&e instanceof Object&&"function"===typeof e.subscribe}}(t=e.RxJSSubject||(e.RxJSSubject={})),function(e){e.match=function(e){return(0,r.typeGuard)(e,!0)&&e instanceof Object&&"function"===typeof e.addListener&&"function"===typeof e.removeListener}}(n=e.NodeStyleEventEmitter||(e.NodeStyleEventEmitter={})),function(e){e.match=function(e){return(0,r.typeGuard)(e,!0)&&e instanceof Object&&"function"===typeof e.on&&"function"===typeof e.off}}(o=e.JQueryStyleEventEmitter||(e.JQueryStyleEventEmitter={})),function(e){e.match=function(e){return(0,r.typeGuard)(e,!0)&&e instanceof Object&&"function"===typeof e.addEventListener&&"function"===typeof e.removeEventListener}}(i=e.HasEventTargetAddRemove||(e.HasEventTargetAddRemove={})),e.canBe=function(e){try{return i.match(e)||n.match(e)||o.match(e)||t.match(e)}catch(r){return!1}}}(t.EventTargetLike||(t.EventTargetLike={}))},2786:function(e,t){"use strict";var n=this&&this.__extends||function(){var e=function(t,n){return e=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])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.DetachedEvtError=t.TimeoutEvtError=void 0;var r=function(e){function t(t){var n=this.constructor,r=e.call(this,"Evt timeout after ".concat(t,"ms"))||this;return r.timeout=t,Object.setPrototypeOf(r,n.prototype),r}return n(t,e),t}(Error);t.TimeoutEvtError=r;var o=function(e){function t(){var t=this.constructor,n=e.call(this,"Evt handler detached")||this;return Object.setPrototypeOf(n,t.prototype),n}return n(t,e),t}(Error);t.DetachedEvtError=o},3031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1051: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.dom=void 0,i(n(280),t),i(n(4808),t),t.dom=a(n(5930)),i(n(909),t),i(n(2786),t),i(n(3031),t)},4158:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CtxLike=void 0;var r=n(9288);!function(e){e.match=function(e){return(0,r.typeGuard)(e,!0)&&e instanceof Object&&"function"===typeof e.done&&"function"===typeof e.abort&&"function"===typeof e.zz__addHandler&&"function"===typeof e.zz__removeHandler}}(t.CtxLike||(t.CtxLike={}))},4808: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}),o(n(4158),t)},5930:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__hack=void 0,t.__hack="NOT TYPE ONLY"},578:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["convertOperatorToStatelessF\u03bb"]=void 0,t["convertOperatorToStatelessF\u03bb"]=function(e){return"function"!==typeof e?function(e){var t=e[1];return function(n,r){var o=e[0](n,t,r);return null!==o&&r((function(){return t=o[0]})),o}}(e):function(e){return function(t,n){var r=e(t,n);return r instanceof Object&&!("input"in r)&&1===r.length?r:r?[t]:null}}(e)}},6502:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compose=void 0;var r=n(578);Object.defineProperty(t,"compose",{enumerable:!0,get:function(){return r.compose}})},4719:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonNullable=void 0;var n=function(e){return void 0===(t=e)||null===t?null:[e];var t};t.nonNullable=function(){return n}},4766:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttleTime=void 0;var r=n(578);t.throttleTime=function(e){return(0,r.compose)([function(t,n){var r=n.lastClick,o=Date.now();return o-r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.to=void 0;var n=new Map;t.to=function(e){var r;return null!==(r=n.get(e))&&void 0!==r?r:(n.set(e,(function(t){return t[0]!==e?null:[t[1]]})),(0,t.to)(e))}},2922:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=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])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.VoidDeferred=t.Deferred=void 0;var o=n(7695),i=function(){var e,t,n=this;this.isPending=!0,this.pr=new Promise((function(r,i){e=function(e){(0,o.overwriteReadonlyProp)(n,"isPending",!1),r(e)},t=function(e){(0,o.overwriteReadonlyProp)(n,"isPending",!1),i(e)}})),this.resolve=e,this.reject=t};t.Deferred=i;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(i);t.VoidDeferred=a},9840:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.contains=t.arrContains=void 0;var o=n(6919);function i(e,t){var n,o;try{for(var i=r(e),a=i.next();!a.done;a=i.next()){if(t(a.value))return!0}}catch(l){n={error:l}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return!1}t.arrContains=i,t.contains=function(e){return(0,o.toReduceArguments)(i,e)}},8484:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.every=t.arrEvery=void 0;var r=n(6919);function o(e,t){return void 0===t&&(t=function(e){return!!e}),e.map((function(e){return t(e)})).reduce((function(e,t){return t&&e}),!0)}t.arrEvery=o,t.every=function(e){return(0,r.toReduceArguments)(o,e)}},6919:function(e,t){"use strict";var n=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.safeClearTimeout=t.safeSetTimeout=void 0;t.safeSetTimeout=function(e,t){return setTimeout(e,t)};t.safeClearTimeout=function(e){return clearTimeout(e)}},4286:e=>{var t=function(){if("object"===typeof self&&self)return self;if("object"===typeof window&&window)return window;throw new Error("Unable to resolve global `this`")};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return t()}try{return __global__||t()}finally{delete Object.prototype.__global__}}()},6230:(e,t,n)=>{"use strict";e.exports=n(3853)()?globalThis:n(4286)},3853:e=>{"use strict";e.exports=function(){return"object"===typeof globalThis&&(!!globalThis&&globalThis.Array===Array)}},3240:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"===typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});f{"use strict";n.d(t,{A:()=>o});var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|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)-.*))$/;const o=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},8968:(e,t,n)=>{"use strict";n.r(t),n.d(t,{render:()=>O});var r=window.document,o=window.Math,i=window.HTMLElement,a=window.XMLHttpRequest,l=function(e,t){for(var n=0,r=e.length;n'}}},download:{heights:{16:{width:16,path:''}}},eye:{heights:{16:{width:16,path:''}}},heart:{heights:{16:{width:16,path:''}}},"issue-opened":{heights:{16:{width:16,path:''}}},"mark-github":{heights:{16:{width:16,path:''}}},package:{heights:{16:{width:16,path:''}}},play:{heights:{16:{width:16,path:''}}},"repo-forked":{heights:{16:{width:16,path:''}}},"repo-template":{heights:{16:{width:16,path:''}}},star:{heights:{16:{width:16,path:''}}}},S=function(e,t){e=d(e).replace(/^octicon-/,""),c(w,e)||(e="mark-github");var n=t>=24&&24 in w[e].heights?24:16,r=w[e].heights[n];return'"},k={},A=function(e,t){var n=k[e]||(k[e]=[]);if(!(n.push(t)>1)){var r=function(e){var t;return function(){t||(t=1,e.apply(this,arguments))}}((function(){for(delete k[e];t=n.shift();)t.apply(null,arguments)}));if(h){var o=new a;v(o,"abort",r),v(o,"error",r),v(o,"load",(function(){var e;try{e=JSON.parse(this.responseText)}catch(t){return void r(t)}r(200!==this.status,e)})),o.open("GET",e),o.send()}else{var i=this||window;i._=function(e){i._=null,r(200!==e.meta.status,e.data)};var l=s(i.document)("script",{async:!0,src:e+(-1!==e.indexOf("?")?"&":"?")+"callback=_"}),u=function(){i._&&i._({meta:{}})};v(l,"load",u),v(l,"error",u),function(e,t,n){if(null!=e.readyState){var r="readystatechange",o=function(){if(t.test(e.readyState))return g(e,r,o),n.apply(this,arguments)};v(e,r,o)}}(l,/de|m/,u),i.document.getElementsByTagName("head")[0].appendChild(l)}}},E=function(e,t,n){var r=s(e.ownerDocument),o=e.appendChild(r("style",{type:"text/css"})),i="body{margin:0}a{text-decoration:none;outline:0}.widget{display:inline-block;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;font-size:0;line-height:0;white-space:nowrap}.btn,.social-count{position:relative;display:inline-block;display:inline-flex;height:14px;padding:2px 5px;font-size:11px;font-weight:600;line-height:14px;vertical-align:bottom;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-repeat:repeat-x;background-position:-1px -1px;background-size:110% 110%;border:1px solid}.btn{border-radius:.25em}.btn:not(:last-child){border-radius:.25em 0 0 .25em}.social-count{border-left:0;border-radius:0 .25em .25em 0}.widget-lg .btn,.widget-lg .social-count{height:16px;padding:5px 10px;font-size:12px;line-height:16px}.octicon{display:inline-block;vertical-align:text-top;fill:currentColor;overflow:visible}"+x(t["data-color-scheme"]);o.styleSheet?o.styleSheet.cssText=i:o.appendChild(e.ownerDocument.createTextNode(i));var a="large"===d(t["data-size"]),l=r("a",{className:"btn",href:t.href,rel:"noopener",target:"_blank",title:t.title||void 0,"aria-label":t["aria-label"]||void 0,innerHTML:S(t["data-icon"],a?16:14)+" "},[r("span",{},[t["data-text"]||""])]),u=e.appendChild(r("div",{className:"widget"+(a?" widget-lg":"")},[l])),c=l.hostname.replace(/\.$/,"");if(("."+c).substring(c.length-10)!=="."+f)return l.removeAttribute("href"),void n(u);var h=(" /"+l.pathname).split(/\/+/);if(((c===f||c==="gist."+f)&&"archive"===h[3]||c===f&&"releases"===h[3]&&("download"===h[4]||"latest"===h[4]&&"download"===h[5])||c==="codeload."+f)&&(l.target="_top"),"true"===d(t["data-show-count"])&&c===f&&"marketplace"!==h[1]&&"sponsors"!==h[1]&&"orgs"!==h[1]&&"users"!==h[1]&&"-"!==h[1]){var m,v;if(!h[2]&&h[1])v="followers",m="?tab=followers";else if(!h[3]&&h[2])v="stargazers_count",m="/stargazers";else if(h[4]||"subscription"!==h[3])if(h[4]||"fork"!==h[3]){if("issues"!==h[3])return void n(u);v="open_issues_count",m="/issues"}else v="forks_count",m="/forks";else v="subscribers_count",m="/watchers";var g=h[2]?"/repos/"+h[1]+"/"+h[2]:"/users/"+h[1];A.call(this,p+g,(function(e,t){if(!e){var o=t[v];u.appendChild(r("a",{className:"social-count",href:t.html_url+m,rel:"noopener",target:"_blank","aria-label":o+" "+v.replace(/_count$/,"").replace("_"," ").slice(0,o<2?-1:void 0)+" on GitHub"},[(""+o).replace(/\B(?=(\d{3})+(?!\d))/g,",")]))}n(u)}))}else n(u)},C=window.devicePixelRatio||1,P=function(e){return(C>1?o.ceil(o.round(e*C)/C*2)/2:o.ceil(e))||0},_=function(e,t){e.style.width=t[0]+"px",e.style.height=t[1]+"px"},O=function(e,t){if(null!=e&&null!=t)if(e.getAttribute&&(e=function(e){var t={href:e.href,title:e.title,"aria-label":e.getAttribute("aria-label")};return l(["icon","color-scheme","text","size","show-count"],(function(n){var r="data-"+n;t[r]=e.getAttribute(r)})),null==t["data-text"]&&(t["data-text"]=e.textContent||e.innerText),t}(e)),m){var n=u("span");E(n.attachShadow({mode:"closed"}),e,(function(){t(n)}))}else{var i=u("iframe",{src:"javascript:0",title:e.title||void 0,allowtransparency:!0,scrolling:"no",frameBorder:0});_(i,[0,0]),i.style.border="none";var a=function(){var n,l=i.contentWindow;try{n=l.document.body}catch(s){return void r.body.appendChild(i.parentNode.removeChild(i))}g(i,"load",a),E.call(l,n,e,(function(n){var r=function(e){var t=e.offsetWidth,n=e.offsetHeight;if(e.getBoundingClientRect){var r=e.getBoundingClientRect();t=o.max(t,P(r.width)),n=o.max(n,P(r.height))}return[t,n]}(n);i.parentNode.removeChild(i),function(e,t,n){var r=function(){return g(e,t,r),n.apply(this,arguments)};v(e,t,r)}(i,"load",(function(){_(i,r)})),i.src="https://unpkg.com/github-buttons@2.27.0/dist/buttons.html#"+(i.name=function(e,t,n,r){null==t&&(t="&"),null==n&&(n="="),null==r&&(r=window.encodeURIComponent);var o=[];for(var i in e){var a=e[i];null!=a&&o.push(r(i)+n+r(a))}return o.join(t)}(e)),t(i)}))};v(i,"load",a),r.body.appendChild(i)}}},7611:(e,t,n)=>{"use strict";t.G=void 0;var r=n(5922);Object.defineProperty(t,"G",{enumerable:!0,get:function(){return r.makeThisModuleAnExecutableRouteLister}})},5922:function(e,t){"use strict";var n=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o{"use strict";var r=n(2086),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},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var l=s(t),m=s(n),v=0;v{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResolveLocalizedStringFactory=void 0;const r=n(2719),o=n(4521),i=n(1860);t.createResolveLocalizedStringFactory=function(e){const{createJsxElement:t}=e;return{createResolveLocalizedString:function(e){const{currentLanguage:n,fallbackLanguage:a,labelWhenMismatchingLanguage:l=!1}=e;function s(e){var t;if("string"===typeof e){const{ifStringAssumeLanguage:t}="object"===typeof l?l:{ifStringAssumeLanguage:a};return n===t?{str:e,langAttrValue:void 0}:{str:e,langAttrValue:t}}{const t=(e=(0,i.noUndefined)(e))[n];if("string"===typeof t)return{str:t,langAttrValue:void 0}}{const t=e[a];if("string"===typeof t)return{str:t,langAttrValue:a}}const[s,u]=null!==(t=Object.entries(e)[0])&&void 0!==t?t:[];return(0,r.assert)("string"===typeof u,"Must contain at least one value"),(0,r.assert)((0,o.is)(s)),{str:u,langAttrValue:s}}return{resolveLocalizedString:function(e){const{str:n,langAttrValue:r}=s(e);return!1!==l?t({text:n,lang:r}):n},resolveLocalizedStringDetailed:s}}}}},5731:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResolveLocalizedString=void 0;const r=n(579),o=n(4175);t.createResolveLocalizedString=(0,o.createResolveLocalizedStringFactory)({createJsxElement:e=>{let{text:t,lang:n}=e;return void 0===n?(0,r.jsx)(r.Fragment,{children:t}):(0,r.jsx)("span",Object.assign({lang:n},{children:t}))}}).createResolveLocalizedString},188:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createI18nApiFactory=void 0;const r=n(5731),o=n(8092),i=n(2748),a=n(2719),l=n(1450),s=n(8125),u=n(8251);t.createI18nApiFactory=function(e){const{createUseLang:t}=e;return{createI18nApi:function(){return function(e,n){const{languages:c,fallbackLanguage:d}=e,{useLang:f,$lang:p,withLang:h}=(()=>{const e=t({languages:c,fallbackLanguage:d}),{useLang:n,$lang:r}=e,{withLang:o}=e;return{useLang:n,$lang:r,withLang:o}})(),m={},v=Object.fromEntries(Object.entries(n).filter((e=>{let[,t]=e;return"function"!==typeof t}))),g=(0,s.createStatefulObservable)((()=>!0));const y=(0,s.createStatefulObservable)((()=>0));e:{if(void 0!==h)break e;const e=t=>{if(void 0!==v[t]||void 0!==m[t])return;const r=n[t];(0,a.assert)("function"===typeof r),g.current=!0;const o=r();m[t]=o,o.then((n=>{m[t]=void 0,v[t]=n,y.current++;const r=()=>{0===(0,l.objectKeys)(m).map((e=>m[e])).filter((0,u.exclude)(void 0)).length&&(g.current=!1)};t!==d&&void 0===v[d]&&(0,l.objectKeys)(n).map((e=>n[e])).map((e=>(0,l.objectKeys)(e).map((t=>e[t])).includes(void 0))).flat().includes(!0)?e(d):r()}))};e(p.current),p.subscribe(e)}function b(e){const{componentName:t,getLang:n}=e;return{t:(e,r)=>{const o=n();if(void 0===v[o])return"";const i=n=>{const r=v[n];return void 0===r?"":r[t][e]};let a=i(o);return void 0===a&&(a=i(d)),void 0===r?a:a(r)}}}const x={useLang:f,useTranslation:function(e){const{lang:t}=f();(0,s.useRerenderOnChange)(y);const n=(0,i.symToStr)(e),{t:r}=(0,o.useGuaranteedMemo)((()=>b({getLang:()=>t,componentName:n})),[t,n,y.current]);return{t:r}},useResolveLocalizedString:function(e){const{labelWhenMismatchingLanguage:t}=null!==e&&void 0!==e?e:{},{lang:n}=f(),{resolveLocalizedString:i,resolveLocalizedStringDetailed:a}=(0,o.useGuaranteedMemo)((()=>{const{resolveLocalizedString:e,resolveLocalizedStringDetailed:o}=(0,r.createResolveLocalizedString)({currentLanguage:n,fallbackLanguage:d,labelWhenMismatchingLanguage:t});return{resolveLocalizedString:e,resolveLocalizedStringDetailed:o}}),[n,"object"===typeof t?t.ifStringAssumeLanguage:t]);return{resolveLocalizedString:i,resolveLocalizedStringDetailed:a}},resolveLocalizedString:function(e,t){const{labelWhenMismatchingLanguage:n}=null!==t&&void 0!==t?t:{},{resolveLocalizedString:o}=(0,r.createResolveLocalizedString)({currentLanguage:p.current,fallbackLanguage:d,labelWhenMismatchingLanguage:n});return o(e)},$lang:p,useIsI18nFetching:function(){return(0,s.useRerenderOnChange)(g),g.current},getTranslation:function(e){const{t:t}=b({componentName:e,getLang:()=>p.current});return{t:t}}};return Object.assign(Object.assign({},x),{withLang:h})}}}}},4463:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.declareComponentKeys=void 0;const r=n(9820);t.declareComponentKeys=function(){return function(e){return{i18n:(0,r.Reflect)()}}}},3716:(e,t,n)=>{"use strict";t.Jj=t.io=void 0;var r=n(4463);Object.defineProperty(t,"io",{enumerable:!0,get:function(){return r.declareComponentKeys}});var o=n(5731);var i=n(9562);Object.defineProperty(t,"Jj",{enumerable:!0,get:function(){return i.createI18nApi}})},8759:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStatefulObservable=void 0,t.createStatefulObservable=function(e){var t=[],n=function(){var n=void 0;return{get:function(){return void 0===n&&(n=[e()]),n[0]},set:function(e){n=[e],t.forEach((function(t){return t(e)}))}}}(),r=n.get,o=n.set;return Object.defineProperty({current:null,subscribe:function(e){return t.push(e),{unsubscribe:function(){return t.splice(t.indexOf(e),1)}}}},"current",{enumerable:!0,get:r,set:o})}},5490: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}),o(n(464),t),o(n(3909),t)},464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useObservable=void 0;var r=n(5043);t.useObservable=function(e,t){(0,r.useEffect)((function(){var t=[];return e({registerSubscription:function(e){return t.push(e)}}),function(){t.forEach((function(e){return e.unsubscribe()})),t.length=0}}),t)}},3909:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useRerenderOnChange=void 0;var o=n(464),i=n(5043);t.useRerenderOnChange=function(e){var t=r((0,i.useState)((function(){return e.current})),2)[1];(0,o.useObservable)((function(n){var r=n.registerSubscription,o=function(e){return t((function(){return e}))};o(e.current),r(e.subscribe(o))}),[e])}},8125: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}),o(n(8759),t),o(n(5490),t)},2641:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=void 0,t.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},847:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.memoize0=void 0,t.memoize0=function(e){var t=void 0;return function(){return void 0===t&&(t=[e()]),t[0]}}},940:function(e,t){"use strict";var n=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function r(e){var t=e.url,r=e.prefix,o=e.doLeavePrefixInResults,i=n(t.split("?"),2),a=i[0],l=i[1],s=void 0===l?"":l,u={},c=function(){var e=s.replace(/^\?/,"").split("&").map((function(e){return e.split("=")})).filter((function(e){var t=n(e,2),i=t[0],a=t[1];return!i.startsWith(r)||(u[o?i:i.substring(r.length)]=decodeURIComponent(a),!1)})).map((function(e){return e.join("=")})).join("&");return{newLocationSearch:e=""===e?"":"?".concat(e)}}().newLocationSearch;return{newUrl:"".concat(a).concat(c),values:u}}function o(e){var t=e.url,n=e.name,o=r({url:t,prefix:n,doLeavePrefixInResults:!0}),i=o.newUrl,a=o.values;return n in a?{wasPresent:!0,newUrl:i,value:a[n]}:{wasPresent:!1}}Object.defineProperty(t,"__esModule",{value:!0}),t.updateSearchBarUrl=t.retrieveParamFromUrl=t.retrieveAllParamStartingWithPrefixFromUrl=t.addParamToUrl=void 0,t.addParamToUrl=function(e){var t=e.url,n=e.name,r=e.value,i=t,a=o({url:t,name:n});return a.wasPresent&&(i=a.newUrl),{newUrl:i+="".concat(i.includes("?")?"&":i.endsWith("?")?"":"?").concat(n,"=").concat(encodeURIComponent(r))}},t.retrieveAllParamStartingWithPrefixFromUrl=r,t.retrieveParamFromUrl=o,t.updateSearchBarUrl=function(e){window.history.replaceState("","",e)}},82:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUseGlobalState=t.injectGlobalStatesInSearchParams=t.globalStates=void 0;var r=n(5043),o=n(82),i=n(7695),a=n(9288),l=n(2641),s=n(847),u=n(940),c=n(8125),d=function(){var e=r.createContext,t=e.__powerhooks_useGlobalState_context;return void 0===t&&(t={globalStates:{},persistedGlobalStateNames:new Set},Object.defineProperty(e,"__powerhooks_useGlobalState_context",{configurable:!1,enumerable:!1,writable:!1,value:t})),t}(),f=d.globalStates,p=d.persistedGlobalStateNames;function h(e){return JSON.stringify([e])}function m(e){return JSON.parse(e)[0]}t.globalStates=f;var v="powerhooks_useGlobalState_",g=function(){var e=(0,s.memoize0)((function(){var e=(0,u.retrieveAllParamStartingWithPrefixFromUrl)({url:window.location.href,prefix:v,doLeavePrefixInResults:!1}),t=e.newUrl,n=e.values;return setTimeout((function(){(0,u.updateSearchBarUrl)(t)}),0),{unparsedStates:n}}));return{injectGlobalStatesInSearchParams:function(e){var t=e;return Object.keys(f).filter((function(e){return p.has(e)})).forEach((function(e){return t=(0,u.addParamToUrl)({url:t,name:"".concat(v).concat(e),value:h(f[e])}).newUrl})),t},getStatesFromUrlSearchParams:function(t){var n=t.name,r=e().unparsedStates;return n in r?{wasPresent:!0,state:m(r[n])}:{wasPresent:!1}}}}(),y=g.injectGlobalStatesInSearchParams,b=g.getStatesFromUrlSearchParams;t.injectGlobalStatesInSearchParams=y,t.createUseGlobalState=function(e){var t,n=e.name,r=e.initialState,u=e.doPersistAcrossReloads;u&&p.add(n);var d=b({name:n}),g=(0,s.memoize0)((function(){var e="".concat(v).concat(n),t=u?function(t){return localStorage.setItem(e,h(t))}:void 0,o=(0,c.createStatefulObservable)(function(){var n=function(){if(d.wasPresent){var n=d.state;return null===t||void 0===t||t(n),n}if(u){var o=localStorage.getItem(e);if(null!==o)return m(o)}return(0,a.typeGuard)(r,"function"===typeof r)?r():r}();return function(){return n}}());return void 0!==t&&o.subscribe(t),o}));function y(){var e,t=g();return(0,c.useRerenderOnChange)(t),(e={})[n]=t.current,e["set".concat((0,l.capitalize)(n))]=(0,o.useConstCallback)((function(e){return t.current=(0,a.typeGuard)(e,"function"===typeof e)?e(t.current):e})),e}return Object.defineProperty(f,n,{enumerable:!0,get:function(){return g().current}}),(0,i.overwriteReadonlyProp)(y,"name","use".concat((0,l.capitalize)(n))),Object.defineProperty(((t={})[y.name]=y,t),"$".concat(n),{enumerable:!0,get:function(){return g()}})}},8092:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=0)&&(n.current={v:e(),prevDeps:o([],r(t),!1)}),n.current.v}},9562:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createI18nApi=void 0;const r=n(188),o=n(906);t.createI18nApi=(0,r.createI18nApiFactory)({createUseLang:o.createUseLang}).createI18nApi},906:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUseLang=void 0;const r=n(9750),o=n(940),i=n(6428),a=n(2748),l=n(9288);t.createUseLang=function(e){const{languages:t,fallbackLanguage:n}=e,s="lang",{useLang:u,$lang:c}=(0,r.createUseGlobalState)({name:s,initialState:(()=>{const e=function(e){const{languages:t,languageLike:n}=e;{const e=t.find((e=>e.toLowerCase()===n.toLowerCase()));if(void 0!==e)return e}{const e=n.split("-")[0].toLowerCase(),r=t.find((t=>t.toLowerCase().includes(e)));if(void 0!==r)return r}return}({languageLike:navigator.language,languages:t});return void 0===e?n:e})(),doPersistAcrossReloads:!0});{const e=e=>document.documentElement.setAttribute(s,e);e(c.current),c.subscribe(e)}e:{const e=(0,o.retrieveParamFromUrl)({url:window.location.href,name:s});if(e.wasPresent){if((0,o.updateSearchBarUrl)(e.newUrl),!(0,l.typeGuard)(e.value,(0,i.id)(t).includes(e.value)))break e;c.current=e.value}}return[...t,void 0].forEach((e=>{const t=document.createElement("link");t.rel="alternate",t.hreflang=void 0===e?"x-default":e,t.href=void 0===e?window.location.href:(0,o.addParamToUrl)({url:window.location.href,name:s,value:e}).newUrl,document.getElementsByTagName("head")[0].appendChild(t)})),{useLang:u,[(0,a.symToStr)({$lang:c})]:(0,i.id)(c)}}},5837:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},8313:e=>{"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},8772:e=>{function t(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}e.exports=t,e.exports.default=t},1283:(e,t,n)=>{"use strict";var r=n(9818),o=Object.create,i=Object.prototype.hasOwnProperty;e.exports=function(e){var t,n=0,a=1,l=o(null),s=o(null),u=0;return e=r(e),{hit:function(r){var o=s[r],c=++u;if(l[c]=r,s[r]=c,!o){if(++n<=e)return;return r=l[a],t(r),r}if(delete l[o],a===o)for(;!i.call(l,++a);)continue},delete:t=function(e){var t=s[e];if(t&&(delete l[t],delete s[e],--n,a===t)){if(!n)return u=0,void(a=1);for(;!i.call(l,++a);)continue}},clear:function(){n=0,a=1,l=o(null),s=o(null),u=0}}}},5694:(e,t,n)=>{var r=n(5950);e.exports=function(){return function(e){return r(e,"list",(function(e,t){var n,r,o=0;for(n=0,r=t.length;n{"use strict";e.exports=function(e,t,n){"string"!==typeof t&&(n=t,t=void 0);return function(e){var t=e||{},n=function(e,t){var n=-1;for(;++n-1&&(F.call(this,e),z.call(this,e))}function B(){h("atHardBreak",!0)}function H(){var e=this.resume();this.stack[this.stack.length-1].value=e}function W(){var e=this.resume();this.stack[this.stack.length-1].value=e}function V(){var e=this.resume();this.stack[this.stack.length-1].value=e}function U(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),h("referenceType")}function q(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),h("referenceType")}function G(e){this.stack[this.stack.length-2].identifier=a(this.sliceSerialize(e)).toLowerCase()}function $(){var e=this.stack[this.stack.length-1],t=this.resume();this.stack[this.stack.length-1].label=t,h("inReference",!0),"link"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1].children=e.children:this.stack[this.stack.length-1].alt=t}function K(){var e=this.resume();this.stack[this.stack.length-1].url=e}function X(){var e=this.resume();this.stack[this.stack.length-1].title=e}function Y(){h("inReference")}function Q(){h("referenceType","collapsed")}function Z(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=a(this.sliceSerialize(e)).toLowerCase(),h("referenceType","full")}function J(e){h("characterReferenceType",e.type)}function ee(e){var t,n,r=this.sliceSerialize(e),o=m("characterReferenceType");o?(t=l(r,"characterReferenceMarkerNumeric"===o?10:16),h("characterReferenceType")):t=d(r),(n=this.stack.pop()).value+=t,n.position.end=v(e.end)}function te(e){z.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function ne(e){z.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function re(){return{type:"blockquote",children:[]}}function oe(){return{type:"code",lang:null,meta:null,value:""}}function ie(){return{type:"inlineCode",value:""}}function ae(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function le(){return{type:"emphasis",children:[]}}function se(){return{type:"heading",depth:void 0,children:[]}}function ue(){return{type:"break"}}function ce(){return{type:"html",value:""}}function de(){return{type:"image",title:null,url:"",alt:null}}function fe(){return{type:"link",title:null,url:"",children:[]}}function pe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function he(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function ve(){return{type:"strong",children:[]}}function ge(){return{type:"text",value:""}}function ye(){return{type:"thematicBreak"}}}(n)(c(s(n).document().write(u()(e,t,!0))))};var r=n(6642),o=n(9206),i=n(1458),a=n(3526),l=n(6563),s=n(2853),u=n(4782),c=n(1105),d=n(6909),f=n(4744);function p(e,t){var n,r;for(n in t)r=i.call(e,n)?e[n]:e[n]={},"canContainEols"===n||"transforms"===n?e[n]=[].concat(r,t[n]):Object.assign(r,t[n])}},3689:(e,t,n)=>{"use strict";e.exports=n(3746)},6642:e=>{"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&n(e.children)||"length"in e&&n(e))||""}function n(e){for(var n=[],r=-1;++r{"use strict";var r=n(4428),o=n(731),i=n(2139),a=n(7989),l=n(2793),s=Array.prototype.slice,u=Function.prototype.apply,c=Object.create;n(3910).async=function(e,t){var n,d,f,p=c(null),h=c(null),m=t.memoized,v=t.original;t.memoized=a((function(e){var t=arguments,r=t[t.length-1];return"function"===typeof r&&(n=r,t=s.call(t,0,-1)),m.apply(d=this,f=t)}),m);try{i(t.memoized,m)}catch(g){}t.on("get",(function(e){var r,o,i;if(n){if(p[e])return"function"===typeof p[e]?p[e]=[p[e],n]:p[e].push(n),void(n=null);r=n,o=d,i=f,n=d=f=null,l((function(){var a;hasOwnProperty.call(h,e)?(a=h[e],t.emit("getasync",e,i,o),u.call(r,a.context,a.args)):(n=r,d=o,f=i,m.apply(o,i))}))}})),t.original=function(){var e,o,i,a;return n?(e=r(arguments),o=function e(n){var o,i,s=e.id;if(null!=s){if(delete e.id,o=p[s],delete p[s],o)return i=r(arguments),t.has(s)&&(n?t.delete(s):(h[s]={context:this,args:i},t.emit("setasync",s,"function"===typeof o?1:o.length))),"function"===typeof o?a=u.call(o,this,i):o.forEach((function(e){a=u.call(e,this,i)}),this),a}else l(u.bind(e,this,arguments))},i=n,n=d=f=null,e.push(o),a=u.call(v,this,e),o.cb=i,n=o,a):u.call(v,this,arguments)},t.on("set",(function(e){n?(p[e]?"function"===typeof p[e]?p[e]=[p[e],n.cb]:p[e].push(n.cb):p[e]=n.cb,delete n.cb,n.id=e,n=null):t.delete(e)})),t.on("delete",(function(e){var n;hasOwnProperty.call(p,e)||h[e]&&(n=h[e],delete h[e],t.emit("deleteasync",e,s.call(n.args,1)))})),t.on("clear",(function(){var e=h;h=c(null),t.emit("clearasync",o(e,(function(e){return s.call(e.args,1)})))}))}},5162:(e,t,n)=>{"use strict";var r=n(2028),o=n(6462),i=n(3910),a=Function.prototype.apply;i.dispose=function(e,t,n){var l;if(r(e),n.async&&i.async||n.promise&&i.promise)return t.on("deleteasync",l=function(t,n){a.call(e,null,n)}),void t.on("clearasync",(function(e){o(e,(function(e,t){l(t,e)}))}));t.on("delete",l=function(t,n){e(n)}),t.on("clear",(function(e){o(e,(function(e,t){l(t,e)}))}))}},4687:(e,t,n)=>{"use strict";var r=n(4428),o=n(6462),i=n(2793),a=n(8772),l=n(2972),s=n(3910),u=Function.prototype,c=Math.max,d=Math.min,f=Object.create;s.maxAge=function(e,t,n){var p,h,m,v;(e=l(e))&&(p=f(null),h=n.async&&s.async||n.promise&&s.promise?"async":"",t.on("set"+h,(function(n){p[n]=setTimeout((function(){t.delete(n)}),e),"function"===typeof p[n].unref&&p[n].unref(),v&&(v[n]&&"nextTick"!==v[n]&&clearTimeout(v[n]),v[n]=setTimeout((function(){delete v[n]}),m),"function"===typeof v[n].unref&&v[n].unref())})),t.on("delete"+h,(function(e){clearTimeout(p[e]),delete p[e],v&&("nextTick"!==v[e]&&clearTimeout(v[e]),delete v[e])})),n.preFetch&&(m=!0===n.preFetch||isNaN(n.preFetch)?.333:c(d(Number(n.preFetch),1),0))&&(v={},m=(1-m)*e,t.on("get"+h,(function(e,o,l){v[e]||(v[e]="nextTick",i((function(){var i;"nextTick"===v[e]&&(delete v[e],t.delete(e),n.async&&(o=r(o)).push(u),i=t.memoized.apply(l,o),n.promise&&a(i)&&("function"===typeof i.done?i.done(u,u):i.then(u,u)))})))}))),t.on("clear"+h,(function(){o(p,(function(e){clearTimeout(e)})),p={},v&&(o(v,(function(e){"nextTick"!==e&&clearTimeout(e)})),v={})})))}},2617:(e,t,n)=>{"use strict";var r=n(9818),o=n(1283),i=n(3910);i.max=function(e,t,n){var a,l,s;(e=r(e))&&(l=o(e),a=n.async&&i.async||n.promise&&i.promise?"async":"",t.on("set"+a,s=function(e){void 0!==(e=l.hit(e))&&t.delete(e)}),t.on("get"+a,s),t.on("delete"+a,l.delete),t.on("clear"+a,l.clear))}},9442:(e,t,n)=>{"use strict";var r=n(731),o=n(3169),i=n(4515),a=n(7743),l=n(8772),s=n(2793),u=Object.create,c=o("then","then:finally","done","done:finally");n(3910).promise=function(e,t){var n=u(null),o=u(null),d=u(null);if(!0===e)e=null;else if(e=i(e),!c[e])throw new TypeError("'"+a(e)+"' is not valid promise mode");t.on("set",(function(r,i,a){var u=!1;if(!l(a))return o[r]=a,void t.emit("setasync",r,1);n[r]=1,d[r]=a;var c=function(e){var i=n[r];if(u)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");i&&(delete n[r],o[r]=e,t.emit("setasync",r,i))},f=function(){u=!0,n[r]&&(delete n[r],delete d[r],t.delete(r))},p=e;if(p||(p="then"),"then"===p){var h=function(){s(f)};"function"===typeof(a=a.then((function(e){s(c.bind(this,e))}),h)).finally&&a.finally(h)}else if("done"===p){if("function"!==typeof a.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");a.done(c,f)}else if("done:finally"===p){if("function"!==typeof a.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!==typeof a.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");a.done(c),a.finally(f)}})),t.on("get",(function(e,r,o){var i;if(n[e])++n[e];else{i=d[e];var a=function(){t.emit("getasync",e,r,o)};l(i)?"function"===typeof i.done?i.done(a):i.then((function(){s(a)})):a()}})),t.on("delete",(function(e){if(delete d[e],n[e])delete n[e];else if(hasOwnProperty.call(o,e)){var r=o[e];delete o[e],t.emit("deleteasync",e,[r])}})),t.on("clear",(function(){var e=o;o=u(null),n=u(null),d=u(null),t.emit("clearasync",r(e,(function(e){return[e]})))}))}},6595:(e,t,n)=>{"use strict";var r=n(8276),o=n(3910),i=Object.create,a=Object.defineProperties;o.refCounter=function(e,t,n){var l,s;l=i(null),s=n.async&&o.async||n.promise&&o.promise?"async":"",t.on("set"+s,(function(e,t){l[e]=t||1})),t.on("get"+s,(function(e){++l[e]})),t.on("delete"+s,(function(e){delete l[e]})),t.on("clear"+s,(function(){l={}})),a(t.memoized,{deleteRef:r((function(){var e=t.get(arguments);return null===e?null:l[e]?! --l[e]&&(t.delete(e),!0):null})),getRefCount:r((function(){var e=t.get(arguments);return null===e?0:l[e]?l[e]:0}))})}},7831:(e,t,n)=>{"use strict";var r=n(9733),o=n(9860),i=n(8735);e.exports=function(e){var t,a=r(arguments[1]);return a.normalizer||0!==(t=a.length=o(a.length,e.length,a.async))&&(a.primitive?!1===t?a.normalizer=n(2565):t>1&&(a.normalizer=n(6783)(t)):a.normalizer=!1===t?n(792)():1===t?n(6306)():n(7835)(t)),a.async&&n(8827),a.promise&&n(9442),a.dispose&&n(5162),a.maxAge&&n(4687),a.max&&n(2617),a.refCounter&&n(6595),i(e,a)}},8692:(e,t,n)=>{"use strict";var r=n(9429),o=n(7989),i=n(8276),a=n(6555).methods,l=n(7266),s=n(3245),u=Function.prototype.apply,c=Function.prototype.call,d=Object.create,f=Object.defineProperties,p=a.on,h=a.emit;e.exports=function(e,t,n){var a,m,v,g,y,b,x,w,S,k,A,E,C,P,_,O=d(null);return m=!1!==t?t:isNaN(e.length)?1:e.length,n.normalizer&&(k=s(n.normalizer),v=k.get,g=k.set,y=k.delete,b=k.clear),null!=n.resolvers&&(_=l(n.resolvers)),P=v?o((function(t){var n,o,i=arguments;if(_&&(i=_(i)),null!==(n=v(i))&&hasOwnProperty.call(O,n))return A&&a.emit("get",n,i,this),O[n];if(o=1===i.length?c.call(e,this,i[0]):u.call(e,this,i),null===n){if(null!==(n=v(i)))throw r("Circular invocation","CIRCULAR_INVOCATION");n=g(i)}else if(hasOwnProperty.call(O,n))throw r("Circular invocation","CIRCULAR_INVOCATION");return O[n]=o,E&&a.emit("set",n,null,o),o}),m):0===t?function(){var t;if(hasOwnProperty.call(O,"data"))return A&&a.emit("get","data",arguments,this),O.data;if(t=arguments.length?u.call(e,this,arguments):c.call(e,this),hasOwnProperty.call(O,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return O.data=t,E&&a.emit("set","data",null,t),t}:function(t){var n,o,i=arguments;if(_&&(i=_(arguments)),o=String(i[0]),hasOwnProperty.call(O,o))return A&&a.emit("get",o,i,this),O[o];if(n=1===i.length?c.call(e,this,i[0]):u.call(e,this,i),hasOwnProperty.call(O,o))throw r("Circular invocation","CIRCULAR_INVOCATION");return O[o]=n,E&&a.emit("set",o,null,n),n},a={original:e,memoized:P,profileName:n.profileName,get:function(e){return _&&(e=_(e)),v?v(e):String(e[0])},has:function(e){return hasOwnProperty.call(O,e)},delete:function(e){var t;hasOwnProperty.call(O,e)&&(y&&y(e),t=O[e],delete O[e],C&&a.emit("delete",e,t))},clear:function(){var e=O;b&&b(),O=d(null),a.emit("clear",e)},on:function(e,t){return"get"===e?A=!0:"set"===e?E=!0:"delete"===e&&(C=!0),p.call(this,e,t)},emit:h,updateEnv:function(){e=a.original}},x=v?o((function(e){var t,n=arguments;_&&(n=_(n)),null!==(t=v(n))&&a.delete(t)}),m):0===t?function(){return a.delete("data")}:function(e){return _&&(e=_(arguments)[0]),a.delete(e)},w=o((function(){var e,n=arguments;return 0===t?O.data:(_&&(n=_(n)),e=v?v(n):String(n[0]),O[e])})),S=o((function(){var e,n=arguments;return 0===t?a.has("data"):(_&&(n=_(n)),null!==(e=v?v(n):String(n[0]))&&a.has(e))})),f(P,{__memoized__:i(!0),delete:i(x),clear:i(a.clear),_get:i(w),_has:i(S)}),a}},3910:()=>{},9860:(e,t,n)=>{"use strict";var r=n(9818);e.exports=function(e,t,n){var o;return isNaN(e)?(o=t)>=0?n&&o?o-1:o:1:!1!==e&&r(e)}},3245:(e,t,n)=>{"use strict";var r=n(2028);e.exports=function(e){var t;return"function"===typeof e?{set:e,get:e}:(t={get:r(e.get)},void 0!==e.set?(t.set=r(e.set),e.delete&&(t.delete=r(e.delete)),e.clear&&(t.clear=r(e.clear)),t):(t.set=t.get,t))}},7266:(e,t,n)=>{"use strict";var r,o=n(6174),i=n(6297),a=n(2028),l=Array.prototype.slice;r=function(e){return this.map((function(t,n){return t?t(e[n]):e[n]})).concat(l.call(e,this.length))},e.exports=function(e){return(e=o(e)).forEach((function(e){i(e)&&a(e)})),r.bind(e)}},6306:(e,t,n)=>{"use strict";var r=n(4189);e.exports=function(){var e=0,t=[],n=[];return{get:function(e){var o=r.call(t,e[0]);return-1===o?null:n[o]},set:function(r){return t.push(r[0]),n.push(++e),e},delete:function(e){var o=r.call(n,e);-1!==o&&(t.splice(o,1),n.splice(o,1))},clear:function(){t=[],n=[]}}}},7835:(e,t,n)=>{"use strict";var r=n(4189),o=Object.create;e.exports=function(e){var t=0,n=[[],[]],i=o(null);return{get:function(t){for(var o,i=0,a=n;i{"use strict";e.exports=function(e){return e?function(t){for(var n=String(t[0]),r=0,o=e;--o;)n+="\x01"+t[++r];return n}:function(){return""}}},792:(e,t,n)=>{"use strict";var r=n(4189),o=Object.create;e.exports=function(){var e=0,t=[],n=o(null);return{get:function(e){var n,o=0,i=t,a=e.length;if(0===a)return i[a]||null;if(i=i[a]){for(;o{"use strict";e.exports=function(e){var t,n,r=e.length;if(!r)return"\x02";for(t=String(e[n=0]);--r;)t+="\x01"+e[++n];return t}},8735:(e,t,n)=>{"use strict";var r=n(2028),o=n(6462),i=n(3910),a=n(8692),l=n(9860);e.exports=function e(t){var n,s,u;if(r(t),(n=Object(arguments[1])).async&&n.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!n.force?t:(s=l(n.length,t.length,n.async&&i.async),u=a(t,s,n),o(i,(function(e,t){n[t]&&e(n[t],u,n)})),e.__profiler__&&e.__profiler__(u),u.updateEnv(),u.memoized)}},9176:(e,t,n)=>{"use strict";var r=n(173)(/[A-Za-z]/);e.exports=r},8945:(e,t,n)=>{"use strict";var r=n(173)(/[\dA-Za-z]/);e.exports=r},8136:(e,t,n)=>{"use strict";var r=n(173)(/[#-'*+\--9=?A-Z^-~]/);e.exports=r},5329:e=>{"use strict";e.exports=function(e){return e<32||127===e}},8793:(e,t,n)=>{"use strict";var r=n(173)(/\d/);e.exports=r},393:(e,t,n)=>{"use strict";var r=n(173)(/[\dA-Fa-f]/);e.exports=r},3724:(e,t,n)=>{"use strict";var r=n(173)(/[!-/:-@[-`{-~]/);e.exports=r},8117:e=>{"use strict";e.exports=function(e){return e<0||32===e}},8034:e=>{"use strict";e.exports=function(e){return e<-2}},3354:e=>{"use strict";e.exports=function(e){return-2===e||-1===e||32===e}},7048:(e,t,n)=>{"use strict";var r=n(3623),o=n(173)(r);e.exports=o},1635:(e,t,n)=>{"use strict";var r=n(173)(/\s/);e.exports=r},9206:e=>{"use strict";var t=Object.assign;e.exports=t},2140:e=>{"use strict";var t=String.fromCharCode;e.exports=t},1458:e=>{"use strict";var t={}.hasOwnProperty;e.exports=t},2543: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"]},1796:e=>{"use strict";e.exports=["pre","script","style","textarea"]},1691:e=>{"use strict";var t=[].splice;e.exports=t},3623:e=>{"use strict";e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},2258:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8086),o=n(9332),i=n(9775),a=n(1270),l=n(2897),s=n(5253),u=n(1713),c=n(5965),d=n(2121),f=n(4817),p=n(2600),h=n(1834),m=n(698),v=n(1997),g=n(1436),y=n(9589),b=n(298),x=n(6652),w=n(3840),S=n(8410),k=n(7689),A={42:w,43:w,45:w,48:w,49:w,50:w,51:w,52:w,53:w,54:w,55:w,56:w,57:w,62:a},E={91:f},C={"-2":c,"-1":c,32:c},P={35:h,42:k,45:[S,k],60:m,61:S,95:k,96:u,126:u},_={38:s,92:l},O={"-5":x,"-4":x,"-3":x,33:y,38:s,42:o,60:[i,v],91:b,92:[p,l],93:g,95:o,96:d},j={null:[o,r.resolver]};t.contentInitial=E,t.disable={null:[]},t.document=A,t.flow=P,t.flowInitial=C,t.insideSpan=j,t.string=_,t.text=O},1620:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8034),o=n(4591),i=function(e){var t,n=e.attempt(this.parser.constructs.contentInitial,(function(t){if(null===t)return void e.consume(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o(e,n,"linePrefix")}),(function(t){return e.enter("paragraph"),i(t)}));return n;function i(n){var r=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=r),t=r,a(n)}function a(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):r(t)?(e.consume(t),e.exit("chunkText"),i):(e.consume(t),a)}};t.tokenize=i},2912:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8034),o=n(4591),i=n(5412),a=function(e){var t,n,o,a=this,u=[],c=0,d={tokenize:function(e,r){var o=0;return t={},c;function c(r){return ot;)a.containerState=u[i][1],u[i][0].exit.call(a,e);u.length=t}},l={tokenize:function(e,t,n){return o(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},s={tokenize:function(e,t,n){return o(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=a},10:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1043),o=n(4591),i=n(5412),a=function(e){var t=this,n=e.attempt(i,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,a,o(e,e.attempt(this.parser.constructs.flow,a,e.attempt(r,a)),"linePrefix")));return n;function a(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}};t.tokenize=a},8086:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9206),o=n(5303),i=s("text"),a=s("string"),l={resolveAll:u()};function s(e){return{tokenize:function(t){var n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return s(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),l;t.consume(e)}function l(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),l)}function s(e){var t=r[e],o=-1;if(null===e)return!0;if(t)for(;++o{"use strict";var r=n(1620),o=n(2912),i=n(10),a=n(8086),l=n(7565),s=n(2947),u=n(1827),c=n(2258);e.exports=function(e){var t={defined:[],constructs:l([c].concat(u((e||{}).extensions))),content:n(r),document:n(o),flow:n(i),string:n(a.string),text:n(a.text)};return t;function n(e){return function(n){return s(t,e,n)}}}},1105:(e,t,n)=>{"use strict";var r=n(4360);e.exports=function(e){for(;!r(e););return e}},4782:e=>{"use strict";var t=/[\0\t\n\r]/g;e.exports=function(){var e,n=!0,r=1,o="";return function(i,a,l){var s,u,c,d,f,p=[];i=o+i.toString(a),c=0,o="",n&&(65279===i.charCodeAt(0)&&c++,n=void 0);for(;c{"use strict";var r=n(5160),o=n(7844),i=n(2003),a=n(8701),l=n(5741),s=n(5303),u={name:"attention",tokenize:function(e,t){var n,r=i(this.previous);return function(t){return e.enter("attentionSequence"),n=t,o(t)};function o(a){var l,s,u,c;return a===n?(e.consume(a),o):(l=e.exit("attentionSequence"),u=!(s=i(a))||2===s&&r,c=!r||2===r&&s,l._open=42===n?u:u&&(r||!c),l._close=42===n?c:c&&(s||!u),t(a))}},resolveAll:function(e,t){var n,i,u,c,d,f,p,h,m=-1;for(;++m1&&e[m][1].end.offset-e[m][1].start.offset>1?2:1)>1?"strongSequence":"emphasisSequence",start:a(s(e[n][1].end),-f),end:s(e[n][1].end)},d={type:f>1?"strongSequence":"emphasisSequence",start:s(e[m][1].start),end:a(s(e[m][1].start),f)},u={type:f>1?"strongText":"emphasisText",start:s(e[n][1].end),end:s(e[m][1].start)},i={type:f>1?"strong":"emphasis",start:s(c.start),end:s(d.end)},e[n][1].end=s(c.start),e[m][1].start=s(d.end),p=[],e[n][1].end.offset-e[n][1].start.offset&&(p=r(p,[["enter",e[n][1],t],["exit",e[n][1],t]])),p=r(p,[["enter",i,t],["enter",c,t],["exit",c,t],["enter",u,t]]),p=r(p,l(t.parser.constructs.insideSpan.null,e.slice(n+1,m),t)),p=r(p,[["exit",u,t],["enter",d,t],["exit",d,t],["exit",i,t]]),e[m][1].end.offset-e[m][1].start.offset?(h=2,p=r(p,[["enter",e[m][1],t],["exit",e[m][1],t]])):h=0,o(e,n-1,m-n+3,p),m=n+p.length-h-2;break}m=-1;for(;++m{"use strict";var r=n(9176),o=n(8945),i=n(8136),a=n(5329),l={name:"autolink",tokenize:function(e,t,n){var l=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s};function s(t){return r(t)?(e.consume(t),u):i(t)?f(t):n(t)}function u(e){return 43===e||45===e||46===e||o(e)?c(e):f(e)}function c(t){return 58===t?(e.consume(t),d):(43===t||45===t||46===t||o(t))&&l++<32?(e.consume(t),c):f(t)}function d(t){return 62===t?(e.exit("autolinkProtocol"),v(t)):32===t||60===t||a(t)?n(t):(e.consume(t),d)}function f(t){return 64===t?(e.consume(t),l=0,p):i(t)?(e.consume(t),f):n(t)}function p(e){return o(e)?h(e):n(e)}function h(t){return 46===t?(e.consume(t),l=0,p):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",v(t)):m(t)}function m(t){return(45===t||o(t))&&l++<63?(e.consume(t),45===t?m:h):n(t)}function v(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};e.exports=l},1270:(e,t,n)=>{"use strict";var r=n(3354),o=n(4591),i={name:"blockQuote",tokenize:function(e,t,n){var o=this;return function(t){if(62===t)return o.containerState.open||(e.enter("blockQuote",{_container:!0}),o.containerState.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i;return n(t)};function i(n){return r(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return o(e,e.attempt(i,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},exit:function(e){e.exit("blockQuote")}};e.exports=i},2897:(e,t,n)=>{"use strict";var r=n(3724),o={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),o};function o(o){return r(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}};e.exports=o},5253:(e,t,n)=>{"use strict";var r=n(6909),o=n(8945),i=n(8793),a=n(393);function l(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var s=l(r),u={name:"characterReference",tokenize:function(e,t,n){var r,l,u=this,c=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),d};function d(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),r=31,l=o,p(t))}function f(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,l=a,p):(e.enter("characterReferenceValue"),r=7,l=i,p(t))}function p(i){var a;return 59===i&&c?(a=e.exit("characterReferenceValue"),l!==o||s.default(u.sliceSerialize(a))?(e.enter("characterReferenceMarker"),e.consume(i),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(i)):l(i)&&c++{"use strict";var r=n(8034),o=n(8117),i=n(8273),a=n(4591),l={name:"codeFenced",tokenize:function(e,t,n){var l,s=this,u={tokenize:function(e,t,n){var o=0;return a(e,i,"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4);function i(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}function s(t){return t===l?(e.consume(t),o++,s):o{"use strict";var r=n(8034),o=n(7844),i=n(8273),a=n(4591),l={name:"codeIndented",tokenize:function(e,t,n){return e.attempt(s,o,n);function o(n){return null===n?t(n):r(n)?e.attempt(s,o,t)(n):(e.enter("codeFlowValue"),i(n))}function i(t){return null===t||r(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),i)}},resolve:function(e,t){var n={type:"codeIndented",start:e[0][1].start,end:e[e.length-1][1].end};return o(e,0,0,[["enter",n,t]]),o(e,e.length,0,[["exit",n,t]]),e}},s={tokenize:function(e,t,n){var o=this;return a(e,(function l(s){if(r(s))return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a(e,l,"linePrefix",5);return i(o.events,"linePrefix")<4?n(s):t(s)}),"linePrefix",5)},partial:!0};e.exports=l},2121:(e,t,n)=>{"use strict";var r=n(8034),o={name:"codeText",tokenize:function(e,t,n){var o,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),l(t)};function l(t){return 96===t?(e.consume(t),a++,l):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):96===t?(i=e.enter("codeTextSequence"),o=0,c(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),u(t))}function u(t){return null===t||32===t||96===t||r(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),u)}function c(n){return 96===n?(e.consume(n),o++,c):o===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",u(n))}},resolve:function(e){var t,n,r=e.length-4,o=3;if(("lineEnding"===e[o][1].type||"space"===e[o][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type))for(t=o;++t{"use strict";var r=n(8034),o=n(8273),i=n(4360),a=n(4591),l={tokenize:function(e,t){var n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),o(t)};function o(t){return null===t?i(t):r(t)?e.check(s,a,i)(t):(e.consume(t),o)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n=n.next=e.enter("chunkContent",{contentType:"content",previous:n}),o}},resolve:function(e){return i(e),e},interruptible:!0,lazy:!0},s={tokenize:function(e,t,n){var i=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a(e,l,"linePrefix")};function l(a){return null===a||r(a)?n(a):i.parser.constructs.disable.null.indexOf("codeIndented")>-1||o(i.events,"linePrefix")<4?e.interrupt(i.parser.constructs.flow,n,t)(a):t(a)}},partial:!0};e.exports=l},4817:(e,t,n)=>{"use strict";var r=n(8034),o=n(8117),i=n(3526),a=n(9997),l=n(6579),s=n(4591),u=n(3788),c=n(6775),d={name:"definition",tokenize:function(e,t,n){var o,c=this;return function(t){return e.enter("definition"),l.call(c,e,d,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function d(t){return o=i(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),u(e,a(e,e.attempt(f,s(e,p,"whitespace"),s(e,p,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function p(i){return null===i||r(i)?(e.exit("definition"),c.parser.defined.indexOf(o)<0&&c.parser.defined.push(o),t(i)):n(i)}}},f={tokenize:function(e,t,n){return function(t){return o(t)?u(e,i)(t):n(t)};function i(t){return 34===t||39===t||40===t?c(e,s(e,a,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function a(e){return null===e||r(e)?t(e):n(e)}},partial:!0};e.exports=d},9997:(e,t,n)=>{"use strict";var r=n(5329),o=n(8117),i=n(8034);e.exports=function(e,t,n,a,l,s,u,c,d){var f=d||1/0,p=0;return function(t){if(60===t)return e.enter(a),e.enter(l),e.enter(s),e.consume(t),e.exit(s),h;if(r(t)||41===t)return n(t);return e.enter(a),e.enter(u),e.enter(c),e.enter("chunkString",{contentType:"string"}),g(t)};function h(n){return 62===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(l),e.exit(a),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),m(n))}function m(t){return 62===t?(e.exit("chunkString"),e.exit(c),h(t)):null===t||60===t||i(t)?n(t):(e.consume(t),92===t?v:m)}function v(t){return 60===t||62===t||92===t?(e.consume(t),m):m(t)}function g(i){return 40===i?++p>f?n(i):(e.consume(i),g):41===i?p--?(e.consume(i),g):(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(a),t(i)):null===i||o(i)?p?n(i):(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(a),t(i)):r(i)?n(i):(e.consume(i),92===i?y:g)}function y(t){return 40===t||41===t||92===t?(e.consume(t),g):g(t)}}},6579:(e,t,n)=>{"use strict";var r=n(8034),o=n(3354);e.exports=function(e,t,n,i,a,l){var s,u=this,c=0;return function(t){return e.enter(i),e.enter(a),e.consume(t),e.exit(a),e.enter(l),d};function d(o){return null===o||91===o||93===o&&!s||94===o&&!c&&"_hiddenFootnoteSupport"in u.parser.constructs||c>999?n(o):93===o?(e.exit(l),e.enter(a),e.consume(o),e.exit(a),e.exit(i),t):r(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),f(o))}function f(t){return null===t||91===t||93===t||r(t)||c++>999?(e.exit("chunkString"),d(t)):(e.consume(t),s=s||!o(t),92===t?p:f)}function p(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}}},4591:(e,t,n)=>{"use strict";var r=n(3354);e.exports=function(e,t,n,o){var i=o?o-1:1/0,a=0;return function(o){if(r(o))return e.enter(n),l(o);return t(o)};function l(o){return r(o)&&a++{"use strict";var r=n(8034),o=n(4591);e.exports=function(e,t,n,i,a,l){var s;return function(t){return e.enter(i),e.enter(a),e.consume(t),e.exit(a),s=40===t?41:t,u};function u(n){return n===s?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),t):(e.enter(l),c(n))}function c(t){return t===s?(e.exit(l),u(s)):null===t?n(t):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return t===s||null===t||r(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?f:d)}function f(t){return t===s||92===t?(e.consume(t),d):d(t)}}},3788:(e,t,n)=>{"use strict";var r=n(8034),o=n(3354),i=n(4591);e.exports=function(e,t){var n;return function a(l){if(r(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n=!0,a;if(o(l))return i(e,a,n?"linePrefix":"lineSuffix")(l);return t(l)}}},2600:(e,t,n)=>{"use strict";var r=n(8034),o={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),o};function o(o){return r(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):n(o)}}};e.exports=o},1834:(e,t,n)=>{"use strict";var r=n(8034),o=n(8117),i=n(3354),a=n(7844),l=n(4591),s={name:"headingAtx",tokenize:function(e,t,n){var a=this,s=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),u(t)};function u(r){return 35===r&&s++<6?(e.consume(r),u):null===r||o(r)?(e.exit("atxHeadingSequence"),a.interrupt?t(r):c(r)):n(r)}function c(n){return 35===n?(e.enter("atxHeadingSequence"),d(n)):null===n||r(n)?(e.exit("atxHeading"),t(n)):i(n)?l(e,c,"whitespace")(n):(e.enter("atxHeadingText"),f(n))}function d(t){return 35===t?(e.consume(t),d):(e.exit("atxHeadingSequence"),c(t))}function f(t){return null===t||35===t||o(t)?(e.exit("atxHeadingText"),c(t)):(e.consume(t),f)}},resolve:function(e,t){var n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},a(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};e.exports=s},698:(e,t,n)=>{"use strict";var r=n(9176),o=n(8945),i=n(8034),a=n(8117),l=n(3354),s=n(2140),u=n(2543),c=n(1796),d=n(5412),f={name:"htmlFlow",tokenize:function(e,t,n){var d,f,h,m,v,g=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),y};function y(o){return 33===o?(e.consume(o),b):47===o?(e.consume(o),S):63===o?(e.consume(o),d=3,g.interrupt?t:W):r(o)?(e.consume(o),h=s(o),f=!0,k):n(o)}function b(o){return 45===o?(e.consume(o),d=2,x):91===o?(e.consume(o),d=5,h="CDATA[",m=0,w):r(o)?(e.consume(o),d=4,g.interrupt?t:W):n(o)}function x(r){return 45===r?(e.consume(r),g.interrupt?t:W):n(r)}function w(r){return r===h.charCodeAt(m++)?(e.consume(r),m===h.length?g.interrupt?t:I:w):n(r)}function S(t){return r(t)?(e.consume(t),h=s(t),k):n(t)}function k(r){return null===r||47===r||62===r||a(r)?47!==r&&f&&c.indexOf(h.toLowerCase())>-1?(d=1,g.interrupt?t(r):I(r)):u.indexOf(h.toLowerCase())>-1?(d=6,47===r?(e.consume(r),A):g.interrupt?t(r):I(r)):(d=7,g.interrupt?n(r):f?C(r):E(r)):45===r||o(r)?(e.consume(r),h+=s(r),k):n(r)}function A(r){return 62===r?(e.consume(r),g.interrupt?t:I):n(r)}function E(t){return l(t)?(e.consume(t),E):R(t)}function C(t){return 47===t?(e.consume(t),R):58===t||95===t||r(t)?(e.consume(t),P):l(t)?(e.consume(t),C):R(t)}function P(t){return 45===t||46===t||58===t||95===t||o(t)?(e.consume(t),P):_(t)}function _(t){return 61===t?(e.consume(t),O):l(t)?(e.consume(t),_):C(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),v=t,j):l(t)?(e.consume(t),O):(v=void 0,T(t))}function j(t){return t===v?(e.consume(t),M):null===t||i(t)?n(t):(e.consume(t),j)}function T(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||a(t)?_(t):(e.consume(t),T)}function M(e){return 47===e||62===e||l(e)?C(e):n(e)}function R(t){return 62===t?(e.consume(t),L):n(t)}function L(t){return l(t)?(e.consume(t),L):null===t||i(t)?I(t):n(t)}function I(t){return 45===t&&2===d?(e.consume(t),z):60===t&&1===d?(e.consume(t),N):62===t&&4===d?(e.consume(t),V):63===t&&3===d?(e.consume(t),W):93===t&&5===d?(e.consume(t),H):!i(t)||6!==d&&7!==d?null===t||i(t)?D(t):(e.consume(t),I):e.check(p,V,D)(t)}function D(t){return e.exit("htmlFlowData"),F(t)}function F(t){return null===t?U(t):i(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F):(e.enter("htmlFlowData"),I(t))}function z(t){return 45===t?(e.consume(t),W):I(t)}function N(t){return 47===t?(e.consume(t),h="",B):I(t)}function B(t){return 62===t&&c.indexOf(h.toLowerCase())>-1?(e.consume(t),V):r(t)&&h.length<8?(e.consume(t),h+=s(t),B):I(t)}function H(t){return 93===t?(e.consume(t),W):I(t)}function W(t){return 62===t?(e.consume(t),V):I(t)}function V(t){return null===t||i(t)?(e.exit("htmlFlowData"),U(t)):(e.consume(t),V)}function U(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){var t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},p={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(d,t,n)}},partial:!0};e.exports=f},1997:(e,t,n)=>{"use strict";var r=n(9176),o=n(8945),i=n(8034),a=n(8117),l=n(3354),s=n(4591),u={name:"htmlText",tokenize:function(e,t,n){var u,c,d,f,p=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),h};function h(t){return 33===t?(e.consume(t),m):47===t?(e.consume(t),_):63===t?(e.consume(t),C):r(t)?(e.consume(t),T):n(t)}function m(t){return 45===t?(e.consume(t),v):91===t?(e.consume(t),c="CDATA[",d=0,w):r(t)?(e.consume(t),E):n(t)}function v(t){return 45===t?(e.consume(t),g):n(t)}function g(t){return null===t||62===t?n(t):45===t?(e.consume(t),y):b(t)}function y(e){return null===e||62===e?n(e):b(e)}function b(t){return null===t?n(t):45===t?(e.consume(t),x):i(t)?(f=b,N(t)):(e.consume(t),b)}function x(t){return 45===t?(e.consume(t),H):b(t)}function w(t){return t===c.charCodeAt(d++)?(e.consume(t),d===c.length?S:w):n(t)}function S(t){return null===t?n(t):93===t?(e.consume(t),k):i(t)?(f=S,N(t)):(e.consume(t),S)}function k(t){return 93===t?(e.consume(t),A):S(t)}function A(t){return 62===t?H(t):93===t?(e.consume(t),A):S(t)}function E(t){return null===t||62===t?H(t):i(t)?(f=E,N(t)):(e.consume(t),E)}function C(t){return null===t?n(t):63===t?(e.consume(t),P):i(t)?(f=C,N(t)):(e.consume(t),C)}function P(e){return 62===e?H(e):C(e)}function _(t){return r(t)?(e.consume(t),O):n(t)}function O(t){return 45===t||o(t)?(e.consume(t),O):j(t)}function j(t){return i(t)?(f=j,N(t)):l(t)?(e.consume(t),j):H(t)}function T(t){return 45===t||o(t)?(e.consume(t),T):47===t||62===t||a(t)?M(t):n(t)}function M(t){return 47===t?(e.consume(t),H):58===t||95===t||r(t)?(e.consume(t),R):i(t)?(f=M,N(t)):l(t)?(e.consume(t),M):H(t)}function R(t){return 45===t||46===t||58===t||95===t||o(t)?(e.consume(t),R):L(t)}function L(t){return 61===t?(e.consume(t),I):i(t)?(f=L,N(t)):l(t)?(e.consume(t),L):M(t)}function I(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,D):i(t)?(f=I,N(t)):l(t)?(e.consume(t),I):(e.consume(t),u=void 0,z)}function D(t){return t===u?(e.consume(t),F):null===t?n(t):i(t)?(f=D,N(t)):(e.consume(t),D)}function F(e){return 62===e||47===e||a(e)?M(e):n(e)}function z(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||a(t)?M(t):(e.consume(t),z)}function N(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s(e,B,"linePrefix",p.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}function B(t){return e.enter("htmlTextData"),f(t)}function H(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};e.exports=u},1436:(e,t,n)=>{"use strict";var r=n(8117),o=n(5160),i=n(7844),a=n(3526),l=n(5741),s=n(5303),u=n(9997),c=n(6579),d=n(6775),f=n(3788),p={name:"labelEnd",tokenize:function(e,t,n){var r,o,i=this,l=i.events.length;for(;l--;)if(("labelImage"===i.events[l][1].type||"labelLink"===i.events[l][1].type)&&!i.events[l][1]._balanced){r=i.events[l][1];break}return function(t){if(!r)return n(t);return r._inactive?u(t):(o=i.parser.defined.indexOf(a(i.sliceSerialize({start:r.end,end:i.now()})))>-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(n){return 40===n?e.attempt(h,t,o?t:u)(n):91===n?e.attempt(m,t,o?e.attempt(v,t,u):u)(n):o?t(n):u(n)}function u(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){var n,r,a,u,c,d,f,p=e.length,h=0;for(;p--;)if(u=e[p][1],c){if("link"===u.type||"labelLink"===u.type&&u._inactive)break;"enter"===e[p][0]&&"labelLink"===u.type&&(u._inactive=!0)}else if(d){if("enter"===e[p][0]&&("labelImage"===u.type||"labelLink"===u.type)&&!u._balanced&&(c=p,"labelLink"!==u.type)){h=2;break}}else"labelEnd"===u.type&&(d=p);return n={type:"labelLink"===e[c][1].type?"link":"image",start:s(e[c][1].start),end:s(e[e.length-1][1].end)},r={type:"label",start:s(e[c][1].start),end:s(e[d][1].end)},a={type:"labelText",start:s(e[c+h+2][1].end),end:s(e[d-2][1].start)},f=o(f=[["enter",n,t],["enter",r,t]],e.slice(c+1,c+h+3)),f=o(f,[["enter",a,t]]),f=o(f,l(t.parser.constructs.insideSpan.null,e.slice(c+h+4,d-3),t)),f=o(f,[["exit",a,t],e[d-2],e[d-1],["exit",r,t]]),f=o(f,e.slice(d+1)),f=o(f,[["exit",n,t]]),i(e,c,e.length,f),e},resolveAll:function(e){var t,n=-1;for(;++n{"use strict";var r={name:"labelStartImage",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:n(1436).resolveAll};e.exports=r},298:(e,t,n)=>{"use strict";var r={name:"labelStartLink",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:n(1436).resolveAll};e.exports=r},6652:(e,t,n)=>{"use strict";var r=n(4591),o={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),r(e,t,"linePrefix")}}};e.exports=o},3840:(e,t,n)=>{"use strict";var r=n(8793),o=n(3354),i=n(8273),a=n(8101),l=n(4591),s=n(5412),u=n(7689),c={name:"list",tokenize:function(e,t,n){var l=this,c=i(l.events,"linePrefix"),f=0;return function(t){var o=l.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!l.containerState.marker||t===l.containerState.marker:r(t)){if(l.containerState.type||(l.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(u,n,h)(t):h(t);if(!l.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),p(t)}return n(t)};function p(t){return r(t)&&++f<10?(e.consume(t),p):(!l.interrupt||f<2)&&(l.containerState.marker?t===l.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),h(t)):n(t)}function h(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),l.containerState.marker=l.containerState.marker||t,e.check(s,l.interrupt?n:m,e.attempt(d,g,v))}function m(e){return l.containerState.initialBlankLine=!0,c++,g(e)}function v(t){return o(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),g):n(t)}function g(n){return l.containerState.size=c+a(l.sliceStream(e.exit("listItemPrefix"))),t(n)}},continuation:{tokenize:function(e,t,n){var r=this;return r.containerState._closeFlow=void 0,e.check(s,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,l(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){if(r.containerState.furtherBlankLines||!o(n))return r.containerState.furtherBlankLines=r.containerState.initialBlankLine=void 0,i(n);return r.containerState.furtherBlankLines=r.containerState.initialBlankLine=void 0,e.attempt(f,t,i)(n)}));function i(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,l(e,e.attempt(c,t,n),"linePrefix",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},d={tokenize:function(e,t,n){var r=this;return l(e,(function(e){return o(e)||!i(r.events,"listItemPrefixWhitespace")?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},f={tokenize:function(e,t,n){var r=this;return l(e,(function(e){return i(r.events,"listItemIndent")===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};e.exports=c},5412:(e,t,n)=>{"use strict";var r=n(8034),o=n(4591),i={tokenize:function(e,t,n){return o(e,(function(e){return null===e||r(e)?t(e):n(e)}),"linePrefix")},partial:!0};e.exports=i},8410:(e,t,n)=>{"use strict";var r=n(8034),o=n(5303),i=n(4591),a={name:"setextUnderline",tokenize:function(e,t,n){var o,a,l=this,s=l.events.length;for(;s--;)if("lineEnding"!==l.events[s][1].type&&"linePrefix"!==l.events[s][1].type&&"content"!==l.events[s][1].type){a="paragraph"===l.events[s][1].type;break}return function(t){if(!l.lazy&&(l.interrupt||a))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=t,u(t);return n(t)};function u(t){return t===o?(e.consume(t),u):(e.exit("setextHeadingLineSequence"),i(e,c,"lineSuffix")(t))}function c(o){return null===o||r(o)?(e.exit("setextHeadingLine"),t(o)):n(o)}},resolveTo:function(e,t){var n,r,i,a,l=e.length;for(;l--;)if("enter"===e[l][0]){if("content"===e[l][1].type){n=l;break}"paragraph"===e[l][1].type&&(r=l)}else"content"===e[l][1].type&&e.splice(l,1),i||"definition"!==e[l][1].type||(i=l);a={type:"setextHeading",start:o(e[r][1].start),end:o(e[e.length-1][1].end)},e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=o(e[i][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};e.exports=a},7689:(e,t,n)=>{"use strict";var r=n(8034),o=n(3354),i=n(4591),a={name:"thematicBreak",tokenize:function(e,t,n){var a,l=0;return function(t){return e.enter("thematicBreak"),a=t,s(t)};function s(c){return c===a?(e.enter("thematicBreakSequence"),u(c)):o(c)?i(e,s,"whitespace")(c):l<3||null!==c&&!r(c)?n(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===a?(e.consume(t),l++,u):(e.exit("thematicBreakSequence"),s(t))}}};e.exports=a},5160:(e,t,n)=>{"use strict";var r=n(7844);e.exports=function(e,t){return e.length?(r(e,e.length,0,t),e):t}},7844:(e,t,n)=>{"use strict";var r=n(1691);e.exports=function(e,t,n,o){var i,a=e.length,l=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,o.length<1e4)(i=Array.from(o)).unshift(t,n),r.apply(e,i);else for(n&&r.apply(e,[t,n]);l{"use strict";var r=n(8117),o=n(7048),i=n(1635);e.exports=function(e){return null===e||r(e)||i(e)?1:o(e)?2:void 0}},7565:(e,t,n)=>{"use strict";var r=n(1458),o=n(7844),i=n(1827);function a(e,t){var n,o,a,s;for(n in t)for(s in o=r.call(e,n)?e[n]:e[n]={},a=t[n])o[s]=l(i(a[s]),r.call(o,s)?o[s]:[])}function l(e,t){for(var n=-1,r=[];++n{"use strict";var r=n(9206),o=n(8034),i=n(5160),a=n(7844),l=n(1827),s=n(5741),u=n(8008),c=n(5303),d=n(7676);e.exports=function(e,t,n){var f=n?c(n):{line:1,column:1,offset:0},p={},h=[],m=[],v=[],g={consume:function(e){o(e)?(f.line++,f.column=1,f.offset+=-3===e?2:1,P()):-1!==e&&(f.column++,f.offset++);f._bufferIndex<0?f._index++:(f._bufferIndex++,f._bufferIndex===m[f._index].length&&(f._bufferIndex=-1,f._index++));y.previous=e},enter:function(e,t){var n=t||{};return n.type=e,n.start=w(),y.events.push(["enter",n,y]),v.push(n),n},exit:function(e){var t=v.pop();return t.end=w(),y.events.push(["exit",t,y]),t},attempt:E((function(e,t){C(e,t.from)})),check:E(A),interrupt:E(A,{interrupt:!0}),lazy:E(A,{lazy:!0})},y={previous:null,events:[],parser:e,sliceStream:x,sliceSerialize:function(e){return u(x(e))},now:w,defineSkip:function(e){p[e.line]=e.column,P()},write:function(e){if(m=i(m,e),S(),null!==m[m.length-1])return[];return C(t,0),y.events=s(h,y.events,y),y.events}},b=t.tokenize.call(y,g);return t.resolveAll&&h.push(t),f._index=0,f._bufferIndex=-1,y;function x(e){return d(m,e)}function w(){return c(f)}function S(){for(var e,t;f._index-1)return m();return e.tokenize.call(t?r({},y,t):y,g,h,m)(n)}}function h(t){return e(u,c),o}function m(e){return c.restore(),++s{"use strict";e.exports=function(e){return null===e||void 0===e?[]:"length"in e?e:[e]}},8701:e=>{"use strict";e.exports=function(e,t){return e.column+=t,e.offset+=t,e._bufferIndex+=t,e}},3526:e=>{"use strict";e.exports=function(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},8273:(e,t,n)=>{"use strict";var r=n(8101);e.exports=function(e,t){var n=e[e.length-1];return n&&n[1].type===t?r(n[2].sliceStream(n[1])):0}},173:(e,t,n)=>{"use strict";var r=n(2140);e.exports=function(e){return function(t){return e.test(r(t))}}},5741:e=>{"use strict";e.exports=function(e,t,n){for(var r,o=[],i=-1;++i{"use strict";var r=n(2140);e.exports=function(e,t){var n=parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":r(n)}},8008:(e,t,n)=>{"use strict";var r=n(2140);e.exports=function(e){for(var t,n,o,i=-1,a=[];++i{"use strict";var r=n(9206);e.exports=function(e){return r({},e)}},8101:e=>{"use strict";e.exports=function(e){for(var t=-1,n=0;++t{"use strict";e.exports=function(e,t){var n,r=t.start._index,o=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;return r===i?n=[e[r].slice(o,a)]:(n=e.slice(r,i),o>-1&&(n[0]=n[0].slice(o)),a>0&&n.push(e[i].slice(0,a))),n}},4360:(e,t,n)=>{"use strict";var r=n(9206),o=n(7844),i=n(5303);function a(e,t){for(var n,r,i,a,l,s,u=e[t][1],c=e[t][2],d=t-1,f=[],p=u._tokenizer||c.parser[u.contentType](u.start),h=p.events,m=[],v={};u;){for(;e[++d][1]!==u;);f.push(d),u._tokenizer||(n=c.sliceStream(u),u.next||n.push(null),r&&p.defineSkip(u.start),u.isInFirstContentOfListItem&&(p._gfmTasklistFirstContentOfListItem=!0),p.write(n),u.isInFirstContentOfListItem&&(p._gfmTasklistFirstContentOfListItem=void 0)),r=u,u=u.next}for(u=r,i=h.length;i--;)"enter"===h[i][0]?a=!0:a&&h[i][1].type===h[i-1][1].type&&h[i][1].start.line!==h[i][1].end.line&&(g(h.slice(i+1,l)),u._tokenizer=u.next=void 0,u=u.previous,l=i+1);for(p.events=u._tokenizer=u.next=void 0,g(h.slice(0,l)),i=-1,s=0;++i{"use strict";t.__esModule=!0,Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!==typeof e)throw new TypeError("predicate must be a function");for(var r=arguments[1],o=0;o{"use strict";t.__esModule=!0,t.Polyfill=t.LightMapImpl=void 0;var n=function(){function e(){this.record=[]}return e.prototype.has=function(e){return this.record.map((function(e){return e[0]})).indexOf(e)>=0},e.prototype.get=function(e){var t=this.record.filter((function(t){return t[0]===e}))[0];if(void 0!==t)return t[1]},e.prototype.set=function(e,t){var n=this.record.filter((function(t){return t[0]===e}))[0];return void 0===n?this.record.push([e,t]):n[1]=t,this},e.prototype.delete=function(e){var t=this.record.map((function(e){return e[0]})).indexOf(e);return!(t<0)&&(this.record.splice(t,1),!0)},e.prototype.keys=function(){return this.record.map((function(e){return e[0]}))},e}();t.LightMapImpl=n,t.Polyfill="undefined"!==typeof Map?Map:n},2437:(e,t)=>{"use strict";t.__esModule=!0,Object.fromEntries||Object.defineProperty(Object,"fromEntries",{value:function(e){if(!e||!e[Symbol.iterator])throw new Error("Object.fromEntries() requires a single iterable argument");var t={};return Object.keys(e).forEach((function(n){var r=e[n],o=r[0],i=r[1];t[o]=i})),t}})},2405:(e,t)=>{"use strict";t.__esModule=!0,Object.is||(Object.is=function(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t})},1438:(e,t,n)=>{"use strict";t.__esModule=!0,t.Polyfill=t.LightSetImpl=void 0;var r=n(428),o=function(){function e(e){if(this.map=new r.Polyfill,void 0!==e)for(var t=0,n=e;t{"use strict";t.__esModule=!0,t.Polyfill=void 0;var r=n(428);t.Polyfill="undefined"!==typeof WeakMap?WeakMap:r.Polyfill},2793:e=>{"use strict";var t=function(e){if("function"!==typeof e)throw new TypeError(e+" is not a function");return e},n=function(e){var n,r,o=document.createTextNode(""),i=0;return new e((function(){var e;if(n)r&&(n=r.concat(n));else{if(!r)return;n=r}if(r=n,n=null,"function"===typeof r)return e=r,r=null,void e();for(o.data=i=++i%2;r;)e=r.shift(),r.length||(r=null),e()})).observe(o,{characterData:!0}),function(e){t(e),n?"function"===typeof n?n=[n,e]:n.push(e):(n=e,o.data=i=++i%2)}};e.exports=function(){if("object"===typeof process&&process&&"function"===typeof process.nextTick)return process.nextTick;if("function"===typeof queueMicrotask)return function(e){queueMicrotask(t(e))};if("object"===typeof document&&document){if("function"===typeof MutationObserver)return n(MutationObserver);if("function"===typeof WebKitMutationObserver)return n(WebKitMutationObserver)}return"function"===typeof setImmediate?function(e){setImmediate(t(e))}:"function"===typeof setTimeout||"object"===typeof setTimeout?function(e){setTimeout(t(e),0)}:null}()},7571:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createButton=void 0;var f=n(579),p=n(5043),h=n(811),m=n(6428),v=n(5364),g=d(n(9195)),y=n(2227),b=n(3737),x=n(6155),w=n(9454),S=n(8815),k=n(4125),A=a(n(289));t.createButton=function(e){var t=this,n=(null!==e&&void 0!==e?e:{Icon:(0,m.id)((function(){return(0,f.jsx)(f.Fragment,{})}))}).Icon,o=(0,p.memo)((0,p.forwardRef)((function(e,o){var a=e.className,d=e.variant,h=void 0===d?"primary":d,m=e.disabled,x=void 0!==m&&m,w=e.children,S=e.startIcon,E=e.endIcon,C=e.autoFocus,P=void 0!==C&&C,_=e.tabIndex,O=e.name,j=e.htmlId,T=e["aria-label"],M=u(e,["className","variant","disabled","children","startIcon","endIcon","autoFocus","tabIndex","name","htmlId","aria-label"]),R=c((0,p.useState)(!1),2),L=R[0],I=R[1],D=(0,k.useCallbackFactory)(A.build((function(e){var n=c(e,1)[0];return l(t,void 0,void 0,(function(){return s(this,(function(e){switch(e.label){case 0:switch(n){case"in":return[3,1];case"out":return[3,2]}return[3,4];case 1:return I(!0),[2];case 2:return[4,new Promise((function(e){return setTimeout(e,400)}))];case 3:e.sent(),I(!1),e.label=4;case 4:return[2]}}))}))}))),F=i({variant:h,disabled:x,isMouseIn:L}),z=F.classes,N=F.cx,B=(0,v.useGuaranteedMemo)((function(){return function(e){return(0,f.jsx)(n,{iconId:e.iconId,className:z.icon,size:"default"})}}),[x,z.icon]);return(0,f.jsx)(g.default,r({onMouseEnter:D("in"),onMouseLeave:D("out"),ref:o,className:N(z.root,a),disabled:x,startIcon:void 0===S?void 0:(0,f.jsx)(B,{iconId:S}),endIcon:void 0===E?void 0:(0,f.jsx)(B,{iconId:E}),autoFocus:P,tabIndex:_,name:O,id:j,"aria-label":T},function(){if("type"in M){var e=M.type,t=u(M,["type"]);return(0,b.assert)(),r({type:e},t)}var n=M.onClick,o=M.href,i=M.doOpenNewTabIfHref,a=void 0===i?void 0!==o:i,l=u(M,["onClick","href","doOpenNewTabIfHref"]);return r({onClick:n,href:o,target:a?"_blank":void 0},l)}(),{children:"string"===typeof w?(0,y.capitalize)(w):w}))}))),i=(0,h.makeStyles)({name:{Button:o}})((function(e,t){var n=t.variant,o=t.disabled,i=t.isMouseIn,a=e.colors.useCases.typography[o?"textDisabled":function(){switch(n){case"primary":return"textFocus";case"secondary":case"ternary":return"textPrimary"}}()],l=function(){switch(e.isDarkModeEnabled){case!0:return e.colors.palette[function(){switch(n){case"primary":return"light";case"secondary":case"ternary":return"dark"}}()].main;case!1:return e.colors.palette.light.main}}();return{root:function(){var t=e.colors.useCases.buttons[function(){switch(n){case"primary":return"actionHoverPrimary";case"secondary":case"ternary":return"actionHoverSecondary"}}()],s=function(){switch(n){case"primary":case"secondary":return 2;case"ternary":return 0}}(),u=2*e.spacing(2)+2*s+(0,S.pxToNumber)(e.typography.variants[w.variantNameUsedForMuiButton].style.lineHeight);return r(r(r({textTransform:"unset",backgroundColor:o?e.colors.useCases.buttons.actionDisabledBackground:function(){switch(n){case"primary":case"secondary":return"transparent";case"ternary":return e.colors.useCases.surfaces.background}}(),borderRadius:u/2,borderWidth:s,borderStyle:"solid",borderColor:o?"transparent":t},e.spacing.topBottom("padding",2)),e.spacing.rightLeft("padding",e.windowInnerWidth>=x.breakpointsValues.xl?3:4)),{"&.MuiButton-text":{color:a},position:i?"relative":"unset","& .MuiTouchRipple-root":{display:i?"unset":"none"},"&:hover":{backgroundColor:t,"& .MuiSvgIcon-root":{color:l},"&.MuiButton-text":{color:l}}})}(),icon:{color:a}}}));return{Button:o}}},5620:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DarkModeSwitch=void 0;var o=n(579),i=n(5043),a=n(8826),l=n(5811),s=r(n(9307)),u=r(n(8094)),c=n(570),d=n(9054),f=n(811),p=(0,c.createIcon)({darkModeIcon:s.default,lightModeIcon:u.default}).Icon,h=(0,d.createIconButton)({Icon:p}).IconButton;t.DarkModeSwitch=(0,i.memo)((function(e){var t=e.className,n=e.size,r=(0,l.useIsDarkModeEnabled)(),i=r.isDarkModeEnabled,s=r.setIsDarkModeEnabled,u=(0,a.useConstCallback)((function(){s(!i)})),c=m(),d=c.classes,f=c.cx;return(0,o.jsx)(h,{className:f(d.root,t),onClick:u,size:n,iconId:i?"lightModeIcon":"darkModeIcon","aria-label":"Dark mode switch"})}));var m=(0,f.makeStyles)({name:{DarkModeIcon:s.default}})((function(e){return{root:{transition:"transform 500ms",transform:"rotate(".concat(e.isDarkModeEnabled?180:0,"deg)"),transitionTimingFunction:"cubic-bezier(.34,1.27,1,1)"}}}))},570:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createIconButton=void 0;var f=n(579),p=n(5043),h=n(4125),m=a(n(289)),v=n(811),g=n(5043),y=d(n(4938)),b=n(6428),x=n(2719);t.createIconButton=function(e){var t=this,n=(null!==e&&void 0!==e?e:{Icon:(0,b.id)((function(){return(0,f.jsx)(f.Fragment,{})}))}).Icon,o=(0,g.memo)((0,g.forwardRef)((function(e,o){var a=e.className,d=e.iconClassName,v=e.iconId,g=e.size,b=e.disabled,w=void 0!==b&&b,S=e.autoFocus,k=void 0!==S&&S,A=e.tabIndex,E=e.name,C=e.id,P=e["aria-label"],_=u(e,["className","iconClassName","iconId","size","disabled","autoFocus","tabIndex","name","id","aria-label"]),O=c((0,p.useState)(!1),2),j=O[0],T=O[1],M=(0,h.useCallbackFactory)(m.build((function(e){var n=c(e,1)[0];return l(t,void 0,void 0,(function(){return s(this,(function(e){switch(e.label){case 0:switch(n){case"in":return[3,1];case"out":return[3,2]}return[3,4];case 1:return T(!0),[2];case 2:return[4,new Promise((function(e){return setTimeout(e,400)}))];case 3:e.sent(),T(!1),e.label=4;case 4:return[2]}}))}))}))),R=i({disabled:w,isMouseIn:j}),L=R.classes,I=R.cx;return(0,f.jsx)(y.default,r({onMouseEnter:M("in"),onMouseLeave:M("out"),ref:o,className:I(L.root,a),disabled:w,"aria-label":null!==P&&void 0!==P?P:void 0,autoFocus:k,tabIndex:A,name:E,id:C},function(){if("onClick"in _){var e=_.onClick,t=_.href,n=u(_,["onClick","href"]);return(0,x.assert)(),r({onClick:e,href:t},n)}if("href"in _){t=_.href;var o=_.doOpenNewTabIfHref,i=void 0===o||o;n=u(_,["href","doOpenNewTabIfHref"]);return(0,x.assert)(),r({href:t,target:i?"_blank":void 0},n)}if("type"in _){var a=_.type;n=u(_,["type"]);return(0,x.assert)(),r({type:a},n)}}(),{children:(0,f.jsx)(n,{iconId:v,className:I(L.icon,d),size:g})}))}))),i=(0,v.makeStyles)({name:{IconButton:o}})((function(e,t){var n=t.disabled,r=t.isMouseIn;return{root:{padding:e.spacing(2),"&:hover":{backgroundColor:"unset","& svg":{color:e.colors.useCases.buttons.actionHoverPrimary}},position:r?"relative":"unset","& .MuiTouchRipple-root":{display:r?"unset":"none"}},icon:{color:e.colors.useCases.typography[n?"textDisabled":"textPrimary"]}}}));return{IconButton:o}}},5973:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createLanguageSelect=void 0;var a=n(579),l=n(5043),s=n(4125),u=n(8826),c=n(811),d=n(570),f=n(221),p=n(3440),h=n(4992),m=i(n(9195)),v=i(n(1428)),g=i(n(4645)),y=n(1450),b=i(n(3513)),x=i(n(1337)),w=(0,d.createIcon)({public:b.default,expandMore:x.default}).Icon,S="language-menu";t.createLanguageSelect=function(e){var t=e.languagesPrettyPrint,n=(0,l.memo)((function(e){var n=e.className,c=e.doShowIcon,d=void 0===c||c,b=e.variant,x=e.changeLanguageText,k=e.language,A=e.onLanguageChange,E=(0,p.useDomRect)(),C=E.ref,P=E.domRect.width,_=i({buttonWidth:P,variant:b}),O=_.classes,j=_.theme,T=_.cx,M=_.css,R=o((0,l.useState)(void 0),2),L=R[0],I=R[1],D=(0,u.useConstCallback)((function(e){return I(e.currentTarget)})),F=(0,u.useConstCallback)((function(){return I(void 0)})),z=(0,s.useCallbackFactory)((function(e){var t=o(e,1)[0];A(t),F()}));return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.Tooltip,r({title:x,enterDelay:300},{children:(0,a.jsxs)(m.default,r({className:T(O.button,n),ref:C,"aria-owns":L?S:void 0,"aria-haspopup":"true","aria-label":null!==x&&void 0!==x?x:"change language",onClick:D,"data-ga-event-category":"header","data-ga-event-action":"language"},{children:[d&&(0,a.jsx)(w,{iconId:"public",className:O.icon,size:function(){switch(b){case"big":return"default";case"small":return"extra small"}}()}),(0,a.jsx)(f.Text,r({typo:function(){switch(b){case"big":return"label 1";case"small":return"body 2"}}(),className:M({marginLeft:j.spacing(2),textTransform:"capitalize"})},{children:t[k]})),"big"===b&&(0,a.jsx)(w,{className:O.icon,iconId:"expandMore"})]}))})),(0,a.jsx)(v.default,r({id:S,anchorEl:L,open:void 0!==L,className:O.menu,onClose:F},{children:(0,y.objectKeys)(t).sort((function(e,t){return e===k?-1:t===k?1:0})).map((function(e){return(0,a.jsx)(g.default,r({component:"a","data-no-link":"true",selected:k===e,onClick:z(e),lang:e},{children:t[e]}),e)}))}))]})})),i=(0,c.makeStyles)({name:{LanguageSelect:n}})((function(e,t){var n=t.buttonWidth,r=t.variant;return{button:{padding:function(){switch(r){case"big":return;case"small":return 0}}()},menu:{"& .Mui-selected":{backgroundColor:e.colors.useCases.surfaces.surface1},"& .MuiPaper-root":{backgroundColor:e.colors.useCases.surfaces.background,width:function(){switch(r){case"big":return n;case"small":return}}()},"& a":{color:e.colors.useCases.typography.textPrimary}},icon:{color:e.colors.useCases.typography.textPrimary}}}));return{LanguageSelect:n}}},8572:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Text=void 0;var r=n(811),o=n(8572);t.Text=(0,o.createText)({useTheme:function(){return(0,r.useStyles)().theme}}).Text},5283: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}),o(n(8572),t)},4992:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createOnyxiaSplashScreenLogo=t.createSplashScreen=t.useSplashScreen=void 0;var f=n(579),p=n(5043),h=d(n(2995)),m=n(6090),v=n(1214),g=n(8826),y=n(8938),b=n(8493),x=n(6428),w=n(5364),S=l(n(289)),k=n(7907),A=n(3865),E=n(8698),C=n(52),P=700,_=1e3,O=function(){var e=b.Evt.create({count:1,isTransparencyEnabled:!1,prevTime:0,onHiddens:(0,x.id)([])}),t=function(){var t=function(){var e=(0,v.createUseGlobalState)({name:"lastDelayedTime",initialState:0,doPersistAcrossReloads:!0}).$lastDelayedTime,t=(0,C.statefulObservableToStatefulEvt)({statefulObservable:e});return{getDoUseDelay:function(){var e=Date.now()-t.state>3e4;return e&&(t.state=Date.now()),e}}}().getDoUseDelay,n=S.build((function(){return s(void 0,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return t()?[4,new Promise((function(e){return setTimeout(e,_)}))]:[3,2];case 1:n.sent(),n.label=2;case 2:return e.state=o(o({},e.state),{prevTime:Date.now()}),[2]}}))}))}));return{globalHideSplashScreen:function(){return s(this,void 0,void 0,(function(){return u(this,(function(t){return e.state.count=Math.max(e.state.count-1,0),S.isRunning(n)||n(),[2]}))}))}}}().globalHideSplashScreen;function n(){(0,m.useRerenderOnStateChange)(e);var t=(0,w.useGuaranteedMemo)((function(){return{isSplashScreenShown:e.state.count>0,isTransparencyEnabled:e.state.isTransparencyEnabled}}),[e.state]);return{isSplashScreenShown:t.isSplashScreenShown,isTransparencyEnabled:t.isTransparencyEnabled}}return{useSplashScreen:function(r){void 0!==(null===r||void 0===r?void 0:r.fadeOutDuration)&&(P=r.fadeOutDuration),void 0!==(null===r||void 0===r?void 0:r.minimumDisplayDuration)&&(_=r.minimumDisplayDuration);var o=(0,p.useContext)(R);(0,p.useEffect)((function(){var t=(null!==r&&void 0!==r?r:{}).onHidden;void 0!==t&&(o?e.state.onHiddens.push(t):t())}),[]);var i=function(){var n=this,r=(0,p.useRef)(0),o=(0,g.useConstCallback)((function(t){var n=t.enableTransparency;r.current++,function(t){e.state={count:e.state.count+1,isTransparencyEnabled:t.enableTransparency,prevTime:Date.now(),onHiddens:[]}}({enableTransparency:n})})),i=(0,g.useConstCallback)((function(){return s(n,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return 0===r.current?[2]:(r.current--,[4,t()]);case 1:return e.sent(),[2]}}))}))}));return{showSplashScreen:o,hideSplashScreen:i}}(),a=i.showSplashScreen,l=i.hideSplashScreen,c=n();return{isSplashScreenShown:c.isSplashScreenShown,isTransparencyEnabled:c.isTransparencyEnabled,hideRootSplashScreen:t,showSplashScreen:a,hideSplashScreen:l}},useSplashScreenStatus:function(){var t=this,r=n(),o=r.isSplashScreenShown,i=r.isTransparencyEnabled;return(0,p.useEffect)((function(){var n;if(!o){var r,i=null!==(n=[P-(Date.now()-e.state.prevTime)].filter((function(e){return e>0}))[0])&&void 0!==n?n:0;return s(t,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return[4,new Promise((function(e){return r=setTimeout(e,i)}))];case 1:return t.sent(),e.state.onHiddens.forEach((function(e){return e()})),e.state.onHiddens=[],[2]}}))})),function(){return clearTimeout(r)}}}),[o]),{isSplashScreenShown:o,isTransparencyEnabled:i}}}}(),j=O.useSplashScreen,T=O.useSplashScreenStatus;t.useSplashScreen=j;var M,R=(0,p.createContext)(!1);t.createSplashScreen=function(e){var t=e.useTheme;function n(e){var t=this,n=e.children,i=e.Logo;void 0!==(null===e||void 0===e?void 0:e.fadeOutDuration)&&(P=e.fadeOutDuration),void 0!==(null===e||void 0===e?void 0:e.minimumDisplayDuration)&&(_=e.minimumDisplayDuration);var a=T(),l=a.isSplashScreenShown,d=a.isTransparencyEnabled,h=(0,A.useConst)((function(){return document.body.style.overflow}));(0,p.useEffect)((function(){document.body.style.overflow=l?"hidden":h}),[l]);var m=c((0,p.useState)(!1),2),v=m[0],g=m[1],y=c((0,p.useState)(!0),2),b=y[0],x=y[1],w=void 0!==(0,E.useViewPortState)().viewPortState,S=r({isVisible:b,isFadingOut:v,isTransparencyEnabled:d,isViewPortAdapterEnabled:w}).classes;return(0,p.useEffect)((function(){var e=setTimeout((function(){}),0);return s(t,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return l?(g(!1),x(!0),[3,3]):[3,1];case 1:return g(!0),[4,new Promise((function(t){return e=setTimeout(t,P)}))];case 2:t.sent(),g(!1),x(!1),t.label=3;case 3:return[2]}}))})),function(){return clearTimeout(e)}}),[l]),(0,f.jsxs)(R.Provider,o({value:!0},{children:[(0,f.jsx)("div",o({className:S.root},{children:(0,f.jsx)(i,{})})),n]}))}var r=(0,(0,y.createMakeStyles)({useTheme:t}).makeStyles)({name:{SplashScreen:n}})((function(e,t){var n=t.isVisible,r=t.isFadingOut,o=t.isTransparencyEnabled;return{root:{width:"100%",height:t.isViewPortAdapterEnabled?"100%":"100vh",position:"fixed",top:0,left:0,zIndex:10,backgroundColor:function(){var t=new h.default(e.colors.useCases.surfaces.background).rgb();return t.alpha(o?.6:t.valpha).string()}(),backdropFilter:o?"blur(10px)":void 0,display:"flex",alignItems:"center",justifyContent:"center",visibility:n?"visible":"hidden",opacity:r?0:1,transition:"opacity ease-in-out ".concat(P,"ms")}}}));return{SplashScreen:n}},t.createOnyxiaSplashScreenLogo=function(e){var t=e.useTheme,n=(0,y.createMakeStyles)({useTheme:t}).makeStyles,o=(0,p.memo)((function(){var e=i().classes;return(0,f.jsx)(k.OnyxiaLogoSvg,{className:e.root})})),i=n({name:{OnyxiaSplashScreenLogo:o}})((function(e){return{root:{height:"20%",fill:e.colors.useCases.typography.textFocus,"& g":{opacity:0,animation:"".concat((0,y.keyframes)(M||(M=r(["\n 60%, 100% {\n opacity: 0;\n }\n 0% {\n opacity: 0;\n }\n 40% {\n opacity: 1;\n }\n "],["\n 60%, 100% {\n opacity: 0;\n }\n 0% {\n opacity: 0;\n }\n 40% {\n opacity: 1;\n }\n "])))," 3.5s infinite ease-in-out"),"&:nth-of-type(1)":{animationDelay:".4s"},"&:nth-of-type(2)":{animationDelay:".8s"},"&:nth-of-type(3)":{animationDelay:"1.2s"}}}}}));return{OnyxiaSplashScreenLogo:o}}},811:function(e,t,n){"use strict";var r,o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n'))}),[i]);var d=void 0!==(0,l.useContext)(T),f=(0,P.useGuaranteedMemo)((function(){return d?function(e){var t=e.children;return(0,a.jsx)(u.default,{children:t})}:function(e){var t=e.children;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.default,{}),t]})}}),[d]),p=(0,P.useGuaranteedMemo)((function(){return void 0===t?function(e){var t=e.children;return(0,a.jsx)(a.Fragment,{children:t})}:function(e){var n=e.children;return(0,a.jsx)(B,o({},t,{children:n}))}}),[t]);return(0,a.jsx)(j.Provider,o({value:r},{children:(0,a.jsx)(c.ThemeProvider,o({theme:r.muiTheme},{children:(0,a.jsx)(f,{children:(0,a.jsx)(p,{children:n})})}))}))}return{ThemeProvider:function(t){var n=t.getViewPortConfig,r=t.children,i=t.splashScreen,l=(0,P.useGuaranteedMemo)((function(){return void 0===n?function(e){var t=e.children;return(0,a.jsx)(a.Fragment,{children:t})}:function(e){var t=e.children;return(0,a.jsx)(S.ViewPortAdapter,o({getConfig:n},{children:t}))}}),[n]);return(0,a.jsx)(l,{children:(0,a.jsx)(e,o({splashScreen:i},{children:r}))})}}}().ThemeProvider;return{ThemeProvider:H,useTheme:N,StoryProvider:function(e){var t=e.dark,n=void 0!==t&&t,r=e.children;return(0,l.useEffect)((function(){_.evtIsDarkModeEnabled.state=n}),[n]),(0,a.jsx)(T.Provider,o({value:n},{children:(0,a.jsx)(H,{children:r})}))}}}},6155:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.breakpointsValues=t.getIsPortraitOrientation=void 0;var r=n(8698);Object.defineProperty(t,"getIsPortraitOrientation",{enumerable:!0,get:function(){return r.getIsPortraitOrientation}}),t.breakpointsValues={sm:600,md:960,lg:1280,xl:1920}},5348:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIconSizesInPxByName=t.defaultGetIconSizeInPx=t.iconSizeNames=void 0;var r=n(6155);t.iconSizeNames=["extra small","small","default","medium","large"];t.defaultGetIconSizeInPx=function(e){var t=e.sizeName,n=e.windowInnerWidth;return e.rootFontSizePx*function(){switch(t){case"extra small":return 1;case"small":return n>=r.breakpointsValues.lg?1.25:1;case"default":return n>=r.breakpointsValues.lg?1.5:1.25;case"medium":return n>=r.breakpointsValues.lg?2:1.25;case"large":return n>=r.breakpointsValues.xl?2.5:n>=r.breakpointsValues.lg?2:1.5}}()},t.getIconSizesInPxByName=function(e){var n=e.getIconSizeInPx,r=e.windowInnerWidth,o=e.rootFontSizePx,i={};return t.iconSizeNames.forEach((function(e){return i[e]=n({windowInnerWidth:r,rootFontSizePx:o,sizeName:e})})),i}},5811: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.pxToNumber=t.ViewPortOutOfRangeError=t.useBrowserFontSizeFactor=t.useWindowInnerSize=t.useDomRect=t.createThemeProvider=t.useSplashScreen=t.defaultGetIconSizeInPx=t.defaultSpacingConfig=t.getIsPortraitOrientation=t.breakpointsValues=t.chromeFontSizesFactors=t.defaultGetTypographyDesc=t.evtIsDarkModeEnabled=t.useIsDarkModeEnabled=t.getIsDarkModeEnabledOsDefault=t.changeColorOpacity=t.createDefaultColorUseCases=t.ultravioletPalette=t.francePalette=t.defaultPalette=void 0;var i=n(5348);Object.defineProperty(t,"defaultPalette",{enumerable:!0,get:function(){return i.defaultPalette}}),Object.defineProperty(t,"francePalette",{enumerable:!0,get:function(){return i.francePalette}}),Object.defineProperty(t,"ultravioletPalette",{enumerable:!0,get:function(){return i.ultravioletPalette}}),Object.defineProperty(t,"createDefaultColorUseCases",{enumerable:!0,get:function(){return i.createDefaultColorUseCases}}),Object.defineProperty(t,"changeColorOpacity",{enumerable:!0,get:function(){return i.changeColorOpacity}}),Object.defineProperty(t,"getIsDarkModeEnabledOsDefault",{enumerable:!0,get:function(){return i.getIsDarkModeEnabledOsDefault}});var a=n(5986);Object.defineProperty(t,"useIsDarkModeEnabled",{enumerable:!0,get:function(){return a.useIsDarkModeEnabled}}),Object.defineProperty(t,"evtIsDarkModeEnabled",{enumerable:!0,get:function(){return a.evtIsDarkModeEnabled}});var l=n(9454);Object.defineProperty(t,"defaultGetTypographyDesc",{enumerable:!0,get:function(){return l.defaultGetTypographyDesc}}),Object.defineProperty(t,"chromeFontSizesFactors",{enumerable:!0,get:function(){return l.chromeFontSizesFactors}}),o(n(6155),t);var s=n(6155);Object.defineProperty(t,"breakpointsValues",{enumerable:!0,get:function(){return s.breakpointsValues}}),Object.defineProperty(t,"getIsPortraitOrientation",{enumerable:!0,get:function(){return s.getIsPortraitOrientation}});var u=n(4466);Object.defineProperty(t,"defaultSpacingConfig",{enumerable:!0,get:function(){return u.defaultSpacingConfig}});var c=n(4586);Object.defineProperty(t,"defaultGetIconSizeInPx",{enumerable:!0,get:function(){return c.defaultGetIconSizeInPx}});var d=n(6520);Object.defineProperty(t,"useSplashScreen",{enumerable:!0,get:function(){return d.useSplashScreen}});var f=n(811);Object.defineProperty(t,"createThemeProvider",{enumerable:!0,get:function(){return f.createThemeProvider}}),Object.defineProperty(t,"useDomRect",{enumerable:!0,get:function(){return f.useDomRect}}),Object.defineProperty(t,"useWindowInnerSize",{enumerable:!0,get:function(){return f.useWindowInnerSize}}),Object.defineProperty(t,"useBrowserFontSizeFactor",{enumerable:!0,get:function(){return f.useBrowserFontSizeFactor}}),Object.defineProperty(t,"ViewPortOutOfRangeError",{enumerable:!0,get:function(){return f.ViewPortOutOfRangeError}});var p=n(8815);Object.defineProperty(t,"pxToNumber",{enumerable:!0,get:function(){return p.pxToNumber}})},9110:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shadows=void 0,t.shadows=["none","0px 6px 10px 0px rgba(0,0,0,0.07)","0px 4px 4px 0px rgba(0,0,0,0.1)","6px 0px 16px 0px rgba(0,0,0,0.15)","4px 0px 10px 0px rgba(0,0,0,0.07)","-4px 0px 10px 0px rgba(0,0,0,0.07)","0px 6px 10px 0px rgba(0,0,0,0.14)","0px 8px 10px -7px rgba(0,0,0,0.07)"]},4466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultSpacingConfig=void 0;var r=n(6155),o=n(2719);t.defaultSpacingConfig=function(e){var t=e.factorOrExplicitNumberOfPx,n=e.windowInnerWidth,i=e.rootFontSizePx;if("string"===typeof t){var a=t.match(/^([+-]?([0-9]*[.])?[0-9]+)px$/);return(0,o.assert)(null!==a,"".concat(t," don't match \\d+px")),Number.parseFloat(a[1])}return i*function e(t){if((0,o.assert)(t>=0,"factor must be positive"),!Number.isInteger(t))return(e(Math.floor(t))+e(Math.floor(t)+1))/2;if(0===t)return 0;if(t>6)return(t-5)*e(6);if(n>=r.breakpointsValues.xl)switch(t){case 1:return.25;case 2:return.5;case 3:return 1;case 4:return 1.5;case 5:return 2;case 6:return 2.5}if(n>=r.breakpointsValues.lg)switch(t){case 1:return.25;case 2:return.5;case 3:case 4:return 1;case 5:return 1.5;case 6:return 2}switch(t){case 1:case 2:return.25;case 3:return.5;case 4:case 5:return 1;case 6:return 1.5}(0,o.assert)(!1)}(t)}},9454:function(e,t,n){"use strict";var r,o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=a.breakpointsValues.xl?{fontSizeRem:2.8,lineHeightRem:3.25}:t>=a.breakpointsValues.lg?{fontSizeRem:2.25,lineHeightRem:2.5}:{fontSizeRem:1.75,lineHeightRem:2.5}),"page heading":o({htmlComponent:"h2",fontWeight:(0,i.id)("bold")},t>=a.breakpointsValues.xl?{fontSizeRem:2.25,lineHeightRem:2.5}:t>=a.breakpointsValues.lg?{fontSizeRem:1.75,lineHeightRem:2.25}:{fontSizeRem:1.125,lineHeightRem:1.25}),subtitle:o({htmlComponent:"h3",fontWeight:(0,i.id)("normal")},t>=a.breakpointsValues.xl?{fontSizeRem:1.75,lineHeightRem:2.25}:t>=a.breakpointsValues.lg?{fontSizeRem:1.5,lineHeightRem:2}:{fontSizeRem:1,lineHeightRem:1.475}),"section heading":o({htmlComponent:"h4",fontWeight:(0,i.id)("bold")},t>=a.breakpointsValues.xl?{fontSizeRem:1.5,lineHeightRem:2}:t>=a.breakpointsValues.lg?{fontSizeRem:1.25,lineHeightRem:1.7}:{fontSizeRem:.875,lineHeightRem:1.28}),"object heading":o({htmlComponent:"h5",fontWeight:(0,i.id)(600)},t>=a.breakpointsValues.xl?{fontSizeRem:1.25,lineHeightRem:1.7}:t>=a.breakpointsValues.lg?{fontSizeRem:1.125,lineHeightRem:1.25}:{fontSizeRem:.875,lineHeightRem:1.28}),"navigation label":o({htmlComponent:"h5",fontWeight:(0,i.id)(500)},t>=a.breakpointsValues.xl?{fontSizeRem:1.25,lineHeightRem:1.7}:t>=a.breakpointsValues.lg?{fontSizeRem:1.125,lineHeightRem:1.25}:{fontSizeRem:.875,lineHeightRem:1.28}),"label 1":o({htmlComponent:"h6",fontWeight:(0,i.id)(500)},t>=a.breakpointsValues.xl?{fontSizeRem:1,lineHeightRem:1.475}:t>=a.breakpointsValues.lg?{fontSizeRem:.875,lineHeightRem:1.28}:{fontSizeRem:.75,lineHeightRem:1}),"label 2":o({htmlComponent:"h6",fontWeight:(0,i.id)(500)},t>=a.breakpointsValues.xl?{fontSizeRem:.875,lineHeightRem:1.28}:t>=a.breakpointsValues.lg?{fontSizeRem:.75,lineHeightRem:1}:{fontSizeRem:.625,lineHeightRem:.69}),"body 1":o({htmlComponent:"p",fontWeight:(0,i.id)("normal")},t>=a.breakpointsValues.xl?{fontSizeRem:1,lineHeightRem:1.475}:t>=a.breakpointsValues.lg?{fontSizeRem:.875,lineHeightRem:1.28}:{fontSizeRem:.75,lineHeightRem:1}),"body 2":o({htmlComponent:"p",fontWeight:(0,i.id)("normal")},t>=a.breakpointsValues.xl?{fontSizeRem:.875,lineHeightRem:1.28}:t>=a.breakpointsValues.lg?{fontSizeRem:.75,lineHeightRem:1}:{fontSizeRem:.625,lineHeightRem:.69}),"body 3":o({htmlComponent:"p",fontWeight:"normal"},t>=a.breakpointsValues.xl?{fontSizeRem:.875,lineHeightRem:1.28}:t>=a.breakpointsValues.lg?{fontSizeRem:.75,lineHeightRem:1}:{fontSizeRem:.625,lineHeightRem:.69}),caption:o({htmlComponent:"p",fontWeight:(0,i.id)("normal")},t>=a.breakpointsValues.xl?{fontSizeRem:.75,lineHeightRem:1}:t>=a.breakpointsValues.lg?{fontSizeRem:.625,lineHeightRem:.69}:{fontSizeRem:.45,lineHeightRem:.75})}}},t.variantNameUsedForMuiButton="label 1",t.createMuiTypographyOptions=(r=function(){function e(e){var t=e.typographyDesc,n=t.fontFamily,r=t.rootFontSizePx,o=t.variants;return{getTypographyVariantStyle:function(e){var t=e.variantName,i=o[t],a=i.fontSizeRem,l=i.lineHeightRem,s=i.fontWeight,u=i.fontFamily;return{fontFamily:null!==u&&void 0!==u?u:n,fontWeight:s,fontSize:"".concat(a*r,"px"),lineHeight:"".concat(l*r,"px")}}}}return{createMuiTypographyOptions:function(n){var r=n.typographyDesc,o=e({typographyDesc:r}).getTypographyVariantStyle;return{fontFamily:r.fontFamily,fontWeightRegular:"normal",fontWeightMedium:500,h1:o({variantName:"display heading"}),h2:o({variantName:"page heading"}),h3:o({variantName:"subtitle"}),h4:o({variantName:"section heading"}),h5:o({variantName:"object heading"}),h6:o({variantName:"navigation label"}),subtitle1:o({variantName:"label 1"}),subtitle2:o({variantName:"body 2"}),body1:o({variantName:"body 1"}),body2:o({variantName:"body 2"}),caption:o({variantName:"caption"}),button:o({variantName:t.variantNameUsedForMuiButton})}},getComputedTypography:function(t){var n=t.typographyDesc,r=e({typographyDesc:n}).getTypographyVariantStyle,o={rootFontSizePx:n.rootFontSizePx,fontFamily:n.fontFamily,variants:{}};return(0,l.objectKeys)(n.variants).forEach((function(e){return o.variants[e]={style:r({variantName:e}),htmlComponent:n.variants[e].htmlComponent}})),o}}}()).createMuiTypographyOptions,t.getComputedTypography=r.getComputedTypography},5986:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.evtIsDarkModeEnabled=t.useIsDarkModeEnabled=void 0;var r=n(1214),o=n(2260),i=n(52),a=(0,r.createUseGlobalState)({name:"isDarkModeEnabled",initialState:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,doPersistAcrossReloads:!0}),l=a.useIsDarkModeEnabled,s=a.$isDarkModeEnabled;t.useIsDarkModeEnabled=l,t.evtIsDarkModeEnabled=(0,i.statefulObservableToStatefulEvt)({statefulObservable:s}),function(){var e=(0,o.retrieveParamFromUrl)({url:window.location.href,name:"theme"});if(e.wasPresent){(0,o.updateSearchBarUrl)(e.newUrl);var n=function(){switch(e.value){case"dark":return!0;case"light":return!1;default:return}}();void 0!==n&&(t.evtIsDarkModeEnabled.state=n)}}(),t.evtIsDarkModeEnabled.attach((function(e){var t="root-color-scheme",n=document.getElementById(t);null!==n&&n.remove();var r=document.createElement("style");r.id=t,r.innerHTML="\n\t\t\t\t:root {\n\t\t\t\t\tcolor-scheme: ".concat(e?"dark":"light","\n\t\t\t\t}\n\t\t"),document.getElementsByTagName("head")[0].appendChild(r)}))},1455:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.changeColorOpacity=void 0;var o=r(n(2995));t.changeColorOpacity=function(e){var t=e.color,n=e.opacity;return new o.default(t).rgb().alpha(n).string()}},8815:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pxToNumber=void 0,t.pxToNumber=function(e){return Number.parseFloat(e.split("px")[0])}},6909:e=>{"use strict";var t;e.exports=function(e){var n,r="&"+e+";";if((t=t||document.createElement("i")).innerHTML=r,59===(n=t.textContent).charCodeAt(n.length-1)&&"semi"!==e)return!1;return n!==r&&n}},8698:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=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])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollableParent=void 0;var r=n(2719);t.getScrollableParent=function e(t){var n=t.element,o=t.doReturnElementIfScrollable;if(n===document.documentElement){var i={addEventListener:function(e,t){return window.addEventListener(e,t)},removeEventListener:function(e,t){return window.removeEventListener(e,t)},getBoundingClientRect:function(){return document.documentElement.getBoundingClientRect()},scrollTop:NaN,clientHeight:NaN,scrollHeight:NaN,scrollTo:window.scrollTo.bind(window),style:document.body.style,isWindow:!0};return Object.defineProperties(i,{scrollTop:{get:function(){return window.scrollY}},clientHeight:{get:function(){return document.documentElement.clientHeight}},scrollHeight:{get:function(){return document.documentElement.scrollHeight}}}),i}if(o&&function(e){return["auto","scroll"].includes(getComputedStyle(e).overflow)}(n))return n;var a=n.parentElement;return(0,r.assert)(null!==a),e({element:a,doReturnElementIfScrollable:!0})}},6411: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}),o(n(3260),t),o(n(4125),t),o(n(4998),t),o(n(8826),t),o(n(3440),t),o(n(1214),t),o(n(5364),t),o(n(9850),t),o(n(7802),t),o(n(227),t),o(n(2956),t),o(n(417),t),o(n(8463),t),o(n(7176),t),o(n(8698),t),o(n(6857),t),o(n(3865),t),o(n(4364),t),o(n(7786),t)},5001:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResizeObserverPolyfill=void 0,t.ResizeObserverPolyfill=n(5820).default,t.default=t.ResizeObserverPolyfill},7132:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStatefulObservable=void 0,t.createStatefulObservable=function(e){var t=[],n=function(){var n=void 0;return{get:function(){return void 0===n&&(n=[e()]),n[0]},set:function(e){n=[e],t.forEach((function(t){return t(e)}))}}}(),r=n.get,o=n.set;return Object.defineProperty({current:null,subscribe:function(e){return t.push(e),{unsubscribe:function(){return t.splice(t.indexOf(e),1)}}}},"current",{enumerable:!0,get:r,set:o})}},1882: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}),o(n(3064),t),o(n(7277),t)},3064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useObservable=void 0;var r=n(5043);t.useObservable=function(e,t){(0,r.useEffect)((function(){var t=[];return e({registerSubscription:function(e){return t.push(e)}}),function(){t.forEach((function(e){return e.unsubscribe()})),t.length=0}}),t)}},7277:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useRerenderOnChange=void 0;var o=n(3064),i=n(5043);t.useRerenderOnChange=function(e){var t=r((0,i.useState)((function(){return e.current})),2)[1];(0,o.useObservable)((function(n){(0,n.registerSubscription)(e.subscribe((function(e){return t((function(){return e}))})))}),[e])}},4069: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}),o(n(7132),t),o(n(1882),t)},52:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statefulObservableToStatefulEvt=void 0;var r=n(8493);t.statefulObservableToStatefulEvt=function(e){var t=e.statefulObservable,n=e.ctx,o=void 0===n?r.Evt.newCtx():n,i=r.Evt.create(t.current),a=!1;i.attach(o,(function(e){a=!0,t.current=e,a=!1}));var l=t.subscribe((function(e){a||(i.state=e)})).unsubscribe;return o.evtDoneOrAborted.attach((function(){return l()})),i}},9017:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=void 0,t.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},3495:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.memoize0=void 0,t.memoize0=function(e){var t=void 0;return function(){return void 0===t&&(t=[e()]),t[0]}}},2870:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pick=void 0,t.pick=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n}},2260:function(e,t){"use strict";var n=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function r(e){var t=e.url,r=e.prefix,o=e.doLeavePrefixInResults,i=n(t.split("?"),2),a=i[0],l=i[1],s=void 0===l?"":l,u={},c=function(){var e=s.replace(/^\?/,"").split("&").map((function(e){return e.split("=")})).filter((function(e){var t=n(e,2),i=t[0],a=t[1];return!i.startsWith(r)||(u[o?i:i.substring(r.length)]=decodeURI(a),!1)})).map((function(e){return e.join("=")})).join("&");return{newLocationSearch:e=""===e?"":"?".concat(e)}}().newLocationSearch;return{newUrl:"".concat(a).concat(c),values:u}}function o(e){var t=e.url,n=e.name,o=r({url:t,prefix:n,doLeavePrefixInResults:!0}),i=o.newUrl,a=o.values;return n in a?{wasPresent:!0,newUrl:i,value:a[n]}:{wasPresent:!1}}Object.defineProperty(t,"__esModule",{value:!0}),t.updateSearchBarUrl=t.retrieveParamFromUrl=t.retrieveAllParamStartingWithPrefixFromUrl=t.addParamToUrl=void 0,t.addParamToUrl=function(e){var t=e.url,n=e.name,r=e.value,i=t,a=o({url:t,name:n});return a.wasPresent&&(i=a.newUrl),{newUrl:i+="".concat(i.includes("?")?"&":i.endsWith("?")?"":"?").concat(n,"=").concat(encodeURI(r))}},t.retrieveAllParamStartingWithPrefixFromUrl=r,t.retrieveParamFromUrl=o,t.updateSearchBarUrl=function(e){window.history.replaceState("","",e)}},1949:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useBrowserFontSizeFactor=t.getBrowserFontSizeFactor=void 0;var i=n(6090),a=n(5043),l=n(8493),s=o(n(7831));t.getBrowserFontSizeFactor=(0,s.default)((function(){var e=document.querySelector("html"),t=e.style.fontSize;e.style.fontSize="100%";var n=parseInt(window.getComputedStyle(e,null).getPropertyValue("font-size").replace(/px$/,""))/16;return e.style.fontSize=t,n})),t.useBrowserFontSizeFactor=function(){var e=r((0,a.useState)((function(){return t.getBrowserFontSizeFactor.clear(),(0,t.getBrowserFontSizeFactor)()})),2),n=e[0],o=e[1];return(0,i.useEvt)((function(e){return l.Evt.from(e,window,"focus").attach((function(){t.getBrowserFontSizeFactor.clear(),o((0,t.getBrowserFontSizeFactor)())}))}),[]),{browserFontSizeFactor:n}}},7460:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function l(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(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:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useDomRect=t.domRectKeys=void 0;var l=n(5043),s=n(8493),u=a(n(5001)),c=a(n(7831)),d=n(8826),f=n(6090),p=n(7786);t.domRectKeys=["bottom","right","top","left","height","width"],t.useDomRect=function(e){var t,n=function(){var e=i((0,l.useState)((function(){return(0,c.default)((function(e,t,n,r,o,i){return{bottom:e,right:t,top:n,left:r,height:o,width:i}}),{max:1})})),1)[0],t=i((0,l.useState)((function(){return e(0,0,0,0,0,0)})),2),n=t[0],r=t[1],o=(0,d.useConstCallback)((function(t){var n=t.getBoundingClientRect(),o=n.bottom,i=n.right,a=n.top,l=n.left,s=n.height,u=n.width;r(e(o,i,a,l,s,u))}));return{domRect:n,updateDomRect:o}}(),a=n.domRect,h=n.updateDomRect,m=i((0,l.useState)((function(){return s.Evt.create()})),1)[0],v=(0,d.useConstCallback)((function(){return m.post()})),g=(0,p.useStateRef)(null),y=null!==(t=null===e||void 0===e?void 0:e.ref)&&void 0!==t?t:g;return(0,f.useEvt)((function(e){var t=y.current;null!==t&&(e.evtDoneOrAborted.setMaxHandlers(1/0),s.Evt.merge([s.Evt.from(e,u.default,t),m.pipe(e)]).toStateful().attach((function(){return function n(i){return r(this,void 0,void 0,(function(){var r,a,l;return o(this,(function(o){switch(o.label){case 0:return a=new Promise((function(e){return r=setTimeout(e,50)})),l=s.Evt.newCtx(),e.evtDoneOrAborted.attachOnce(l,(function(){return clearTimeout(r)})),[4,a];case 1:return o.sent(),l.done(),h(t),i<6?(n(i+1),[2]):[2]}}))}))}(0)})))}),[y.current]),(0,l.useEffect)((function(){var e=y.current;null!==e&&h(e)})),{ref:y,domRect:a,checkIfDomRectUpdated:v}}},3642:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useWindowInnerSize=void 0;var o=n(5043),i=n(8493),a=n(1076);t.useWindowInnerSize=function(){var e=r((0,o.useState)((function(){return{windowInnerWidth:window.innerWidth,windowInnerHeight:window.innerHeight}})),2),t=e[0],n=e[1];return(0,a.useEvt)((function(e){return i.Evt.from(e,window,"resize").attach((function(){return n({windowInnerWidth:window.innerWidth,windowInnerHeight:window.innerHeight})}))}),[]),t}},3260:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBrowserFontSizeFactor=void 0;var r=n(1949),o=n(8698);t.useBrowserFontSizeFactor=function(){var e=(0,o.useViewPortState)().viewPortState,t=(0,r.useBrowserFontSizeFactor)().browserFontSizeFactor;return{browserFontSizeFactor:void 0!==e?e.targetBrowserFontSizeFactor:t}}},4125:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o0)&&!(r=i.next()).done;)a.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useClick=void 0;var i=n(5043),a=n(8493),l=n(6090),s=n(6428),u=n(8826),c=o(n(7831)).default;t.useClick=function(e){var t=e.doubleClickDelayMs,n=(0,u.useConstCallback)(e.callback),o=r((0,i.useState)((function(){var e=a.Evt.create();return{evtMouseUpOrDown:e,getOnMouseProps:c((function(t){return{onMouseDown:(0,s.id)((function(n){e.post({type:"down",mouseEvent:n,extraArg:t})})),onMouseUp:(0,s.id)((function(n){e.post({type:"up",mouseEvent:n,extraArg:t})}))}}))}})),1)[0],d=o.evtMouseUpOrDown,f=o.getOnMouseProps;return(0,l.useEvt)((function(e){var r=a.Evt.create();d.pipe(e,(function(e){var t=e.type,n=e.mouseEvent,r=e.extraArg;return"down"!==t?null:[{now:Date.now(),mouseEvent:n,extraArg:r}]})).pipe([function(e,n){var r=e.mouseEvent,o=e.now,i=e.extraArg;return[{now:o,isPendingDouble:o-n.now{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickAway=void 0;var r=n(6090),o=n(8493),i=n(8826),a=n(7786);t.useClickAway=function(e){var t,n=e.onClickAway,l=(0,a.useStateRef)(null),s=null!==(t=null===e||void 0===e?void 0:e.ref)&&void 0!==t?t:l,u=(0,i.useConstCallback)(n);return(0,r.useEvt)((function(e){return o.Evt.from(e,document,"mousedown").attach((function(e){var t,n=e.target;return!(null===(t=s.current)||void 0===t?void 0:t.contains(n))}),u)}),[]),{ref:s}}},3865:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useConst=void 0;var o=n(5043);t.useConst=function(e){return r((0,o.useState)(e),1)[0]}},8826:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDomRect=void 0;var r=n(5043),o=n(7460),i=n(2870),a=n(8698),l=n(7786),s=n(6428);t.useDomRect=function(e){var t,n=(0,l.useStateRef)(null),u=null!==(t=null===e||void 0===e?void 0:e.ref)&&void 0!==t?t:n,c=(0,o.useDomRect)({ref:u}),d=c.domRect,f=c.checkIfDomRectUpdated,p=function(){var e=(0,a.useViewPortState)().viewPortState;return{zoomFactor:(null!==e&&void 0!==e?e:{}).zoomFactor}}().zoomFactor;return(0,r.useEffect)((function(){f()}),[null!==p&&void 0!==p?p:Object]),{ref:u,domRect:(0,r.useMemo)((function(){var e=(0,i.pick)(d,o.domRectKeys);return void 0!==p&&o.domRectKeys.forEach((function(t){return e[t]/=p})),(0,s.id)(e)}),[d,null!==p&&void 0!==p?p:Object])}}},7802: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.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useEffectIf=void 0;var a=n(3642),l=i(n(5043)),s=n(2719),u=l.useEffect;t.useEffectIf=function e(t,n){var r=(0,a.useEffectRunConditionToDependencyArray)({effectRunCondition:n,hookName:e.name}),o=r.deps,i=r.doSkipEffectRun;u((function(){if(!i)return(0,s.assert)(!1!==n),t({deps:!0===n?[]:n})}),o)}},1214:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUseGlobalState=t.injectGlobalStatesInSearchParams=t.globalStates=void 0;var r=n(5043),o=n(8826),i=n(7695),a=n(9288),l=n(9017),s=n(3495),u=n(2260),c=n(4069),d=function(){var e=r.createContext,t=e.__powerhooks_useGlobalState_context;return void 0===t&&(t={globalStates:{},persistedGlobalStateNames:new Set},Object.defineProperty(e,"__powerhooks_useGlobalState_context",{configurable:!1,enumerable:!1,writable:!1,value:t})),t}(),f=d.globalStates,p=d.persistedGlobalStateNames;function h(e){return JSON.stringify([e])}function m(e){return JSON.parse(e)[0]}t.globalStates=f;var v="powerhooks_useGlobalState_",g=function(){var e=(0,s.memoize0)((function(){var e=(0,u.retrieveAllParamStartingWithPrefixFromUrl)({url:window.location.href,prefix:v,doLeavePrefixInResults:!1}),t=e.newUrl,n=e.values;return(0,u.updateSearchBarUrl)(t),{unparsedStates:n}}));return{injectGlobalStatesInSearchParams:function(e){var t=e;return Object.keys(f).filter((function(e){return p.has(e)})).forEach((function(e){return t=(0,u.addParamToUrl)({url:t,name:"".concat(v).concat(e),value:h(f[e])}).newUrl})),t},getStatesFromUrlSearchParams:function(t){var n=t.name,r=e().unparsedStates;return n in r?{wasPresent:!0,state:m(r[n])}:{wasPresent:!1}}}}(),y=g.injectGlobalStatesInSearchParams,b=g.getStatesFromUrlSearchParams;t.injectGlobalStatesInSearchParams=y,t.createUseGlobalState=function(e){var t,n=e.name,r=e.initialState,u=e.doPersistAcrossReloads;u&&p.add(n);var d=b({name:n}),g=(0,s.memoize0)((function(){var e="".concat(v).concat(n),t=u?function(t){return localStorage.setItem(e,h(t))}:void 0,o=(0,c.createStatefulObservable)(function(){var n=function(){if(d.wasPresent){var n=d.state;return null===t||void 0===t||t(n),n}if(u){var o=localStorage.getItem(e);if(null!==o)return m(o)}return(0,a.typeGuard)(r,"function"===typeof r)?r():r}();return function(){return n}}());return void 0!==t&&o.subscribe(t),o}));function y(){var e,t=g();return(0,c.useRerenderOnChange)(t),(e={})[n]=t.current,e["set".concat((0,l.capitalize)(n))]=(0,o.useConstCallback)((function(e){return t.current=(0,a.typeGuard)(e,"function"===typeof e)?e(t.current):e})),e}return Object.defineProperty(f,n,{enumerable:!0,get:function(){return g().current}}),(0,i.overwriteReadonlyProp)(y,"name","use".concat((0,l.capitalize)(n))),Object.defineProperty(((t={})[y.name]=y,t),"$".concat(n),{enumerable:!0,get:function(){return g()}})}},5364:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=0)&&(n.current={v:e(),prevDeps:o([],r(t),!1)}),n.current.v}},9850:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useNamedState=void 0;var o=n(5043),i=n(9017);t.useNamedState=function(e,t){var n,a=r((0,o.useState)(t),2),l=a[0],s=a[1];return(n={})[e]=l,n["set".concat((0,i.capitalize)(e))]=s,n}},8463:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"));return t};(0,s.overwriteReadonlyProp)(c,"name","use".concat((0,a.capitalize)(e)));var d=function(n){var a=n.children,s=n.initialState,c=(0,l.useNamedState)(e,void 0!==s?s:t),d=(0,i.useMemo)((function(){return c}),[c[e]]);return(0,o.jsx)(u.Provider,r({value:d},{children:a}))};return(0,s.overwriteReadonlyProp)(d,"name","".concat((0,a.capitalize)(e),"Provider")),(n={})[c.name]=c,n[d.name]=d,n}},7786:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStateRef=void 0;var r=n(3865),o=n(8493),i=n(7812);t.useStateRef=function(e){var t=(0,r.useConst)((function(){return o.Evt.create(e)}));return(0,i.useRerenderOnStateChange)(t),(0,r.useConst)((function(){var e={};return Object.defineProperty(e,"current",{get:function(){return t.state},set:function(e){return t.state=e}}),{ref:e}})).ref}},4364:function(e,t,n){"use strict";var r=this&&this.__read||function(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(l){o={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.useStickyTop=void 0;var o=n(5043),i=n(2719),a=n(3440),l=n(1510),s=n(7786);t.useStickyTop=function(e){var t,n=(0,s.useStateRef)(null),u=null!==(t=null===e||void 0===e?void 0:e.ref)&&void 0!==t?t:n,c=(0,a.useDomRect)({ref:u}).domRect.top,d=r((0,o.useState)(void 0),2),f=d[0],p=d[1];return(0,o.useEffect)((function(){if(0!==c){var e=u.current;(0,i.assert)(null!==e);var t=(0,l.getScrollableParent)({element:e,doReturnElementIfScrollable:!1}).getBoundingClientRect().top;p(c-t)}}),[c]),{top:f,ref:u}}},227:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useWindowInnerSize=void 0;var r=n(7511),o=n(8698);t.useWindowInnerSize=function(){var e=(0,o.useViewPortState)().viewPortState,t=(0,r.useWindowInnerSize)(),n=t.windowInnerWidth,i=t.windowInnerHeight;return void 0!==e?{windowInnerWidth:e.targetWindowInnerWidth,windowInnerHeight:e.targetWindowInnerHeight}:{windowInnerWidth:n,windowInnerHeight:i}}},2956:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useWithProps=void 0;var r=n(5364),o=n(1450),i=n(417);t.useWithProps=function(e,t){return(0,r.useGuaranteedMemo)((function(){return(0,i.withProps)(e,t)}),(0,o.objectKeys)(t).map((function(e){return t[e]})))}},417:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";var r=n(3218);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5173:(e,t,n)=>{e.exports=n(1497)()},3218:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2730:(e,t,n)=>{"use strict";var r=n(5043),o=n(8853);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n